Şuanki Dizin: /home/wwwdreamtechnolo/public_html/panel.atsevairag.com/atse_admin_panel007/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/panel.atsevairag.com/atse_admin_panel007/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"); } if(isset($_GET['del_id'])) { $delete_id = $_GET['del_id']; $db->delete_fees($delete_id); } $standard_error = ""; $marathi_fees_error = ""; $semi_fees_error = ""; $flag = 0; $success_msg = 0; $standard = ""; $marathi_fees = ""; $semi_fees = ""; 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) { $check_record_exist = $db->get_standard_is_available_or_not($standard); if($check_record_exist=="") { $db->insert_new_fees_standard($standard,$marathi_fees,$semi_fees); $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"> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST"> <br /> <center><strong>परीक्षा नोंदणी फी </strong></center> <hr /> <div class="add_centre_container"> <br /> <?php if($success_msg=="1") { ?> <div class="add_centre_success"> परीक्षा फी अपडेट केली आहे. </div> <br /> <?php } ?> <select name="standard" id="standard_val" class="order_txt"> <?php if($standard!="") { ?> <option value="<?php echo $standard; ?>"><?php echo $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 $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 $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 class="fees_data_container"> <center> <table border="1" class="centre_tab"> <tr style="background-color:#EFEFEF;"> <td width="50">अ. क्र.</td> <td width="200">इयत्ता</td> <td width="120">मराठी रु.</td> <td width="100">सेमी रु.</td> <td width=""></td> <td width=""></td> </tr> <?php $fees_data = array(); $fees_data = $db->get_all_fees_details(); if(!empty($fees_data)) { $count = 0; foreach($fees_data as $data) { $id = $fees_data[$count][0]; $standard = $fees_data[$count][1]; $marathi_fees = $fees_data[$count][2]; $semi_fees = $fees_data[$count][3]; $date = $fees_data[$count][4]; $time = $fees_data[$count][5]; ?> <tr> <td width="50"><?php echo $id; ?></td> <td width="200"><?php echo $standard; ?></td> <td width="120"><?php echo $marathi_fees; ?></td> <td width=""><?php echo $semi_fees; ?> </td> <td width="60"><a href="edit-exam-fees.php?edt_id=<?php echo $id; ?>">Edit</a></td> <td width="80"><a href="<?php echo $_SERVER['PHP_SELF']."?del_id=".$id; ?>" class="delete_link_report" id="fees_delete_link">Delete</a></td> </tr> <?php $count++; } } else { ?> <tr> <td colspan="5">कोणतीही फी जतन केलेली नाही </td> </tr> <?php } ?> </table> </center> </div> </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