Şuanki Dizin: /home/wwwdreamtechnolo/www/panel.atsevairag.com/atse/atse_admin_panel007/ |
Şuanki Dosya : /home/wwwdreamtechnolo/www/panel.atsevairag.com/atse/atse_admin_panel007/edit-exam-fees.php |
<?php require_once("../lib/class/functions.php"); $db = new functions(); $current_page = ""; if(!isset($_SESSION['current_admn_email'])) { header("Location:/atse_admin_panel007/index.php"); } $current_edt_id = ""; if(isset($_GET['edt_id'])) { $current_edt_id = $_GET['edt_id']; $_SESSION['edt_id'] = $current_edt_id; } else if(isset($_SESSION['edt_id'])) { $current_edt_id = $_SESSION['edt_id']; } $standard_error = ""; $marathi_fees_error = ""; $semi_fees_error = ""; $flag = 0; $success_msg = 0; if(isset($_POST['update_fees_btn'])) { $standard = $_POST['standard']; $marathi_fees = $_POST['marathi_fees']; $semi_fees = $_POST['semi_fees']; if($standard=="इयत्ता निवडा") { $standard_error = "कृपया इयत्ता निवडा"; $flag = 1; } if($marathi_fees=="") { $marathi_fees_error = "कृपया मराठीसाठी फी नोंद करा "; $flag = 1; } if($semi_fees=="") { $semi_fees_error = "कृपया सेमिसाठी फी नोंद करा "; $flag = 1; } if($flag==0) { $db->update_new_fees_standard($standard,$marathi_fees,$semi_fees,$current_edt_id); $success_msg = 1; } } ?> <html> <head> <meta charset="UTF-8"> <title>ATSE Vairag</title> <link rel="stylesheet" type="text/css" href="/css/stylesheet.css" /> <script type="text/javascript" src="/js/jquery-1.9.1.min.js"></script> <script type="text/javascript" src="/js/site.js"></script> </head> <body> <?php require_once('header.php'); ?> <div style="min-height:570px;"> <div class="admin-mid-section"> <a href="exam-fees.php" class="center_list_back_link"><< परीक्षा नोंदणी फी लिस्ट</a> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST"> <div class="add_centre_container"> <br /> <center><strong>परीक्षा नोंदणी फी अपडेट करा </strong></center> <br /> <?php if($success_msg=="1") { ?> <div class="add_centre_success"> परीक्षा फी अपडेट केली आहे. </div> <br /> <?php } ?> <?php if($current_edt_id=="") { header("Location:exam-fees.php"); break; } $data = array(); $data = $db->get_exam_fees_from_id($current_edt_id); if(!empty($data)) { $res_standard = $data[0]; $res_marathi_fees = $data[1]; $res_semi_fees = $data[2]; } ?> <select name="standard" id="standard_val" class="order_txt"> <?php if($res_standard!="") { ?> <option value="<?php echo $res_standard; ?>"><?php echo $res_standard; ?></option> <?php } ?> <option value="इयत्ता निवडा">इयत्ता निवडा</option> <option value="पहिली">पहिली</option> <option value="दुसरी">दुसरी </option> <option value="तिसरी">तिसरी </option> <option value="चौथी">चौथी</option> <option value="पाचवी">पाचवी</option> <option value="सहावी">सहावी</option> <option value="सातवी">सातवी</option> </select> <span class="error_indicator"><?php echo $standard_error; ?></span> <input type="text" id="marathi_fees" name="marathi_fees" class="txtflds" placeholder="मराठी रु." value="<?php echo $res_marathi_fees; ?>" /> <span class="error_indicator"><?php echo $marathi_fees_error; ?></span> <input type="text" id="semi_fees" name="semi_fees" class="txtflds" placeholder="सेमी रु." value="<?php echo $res_semi_fees; ?>" /> <span class="error_indicator"><?php echo $semi_fees_error; ?></span> <br /> <center><input type="submit" name="update_fees_btn" value="अपडेट करा" id="update_fees_btn" class="reg_btn_form" style="width:140px;" /></center> </div> </form> </div> </div> <?php require_once('footer.php'); ?> </body> </html>
Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4