Şuanki Dizin: /home/wwwdreamtechnolo/www/panel.atsevairag.com/atse/atse_admin_panel007/ |
Şuanki Dosya : /home/wwwdreamtechnolo/www/panel.atsevairag.com/atse/atse_admin_panel007/search-center.php |
<?php require_once("../lib/class/functions.php"); $db = new functions(); $current_page = ""; $center_name = ""; if(!isset($_SESSION['current_admn_email'])) { header("Location:/atse_admin_panel007/index.php"); } $center_name = ""; $dist = ""; $taluka = ""; if(isset($_POST['search_center_btn'])) { $center_name = $_POST['center_name']; $dist = $_POST['dist']; $talula = $_POST['taluka']; } ?> <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="center-reports.php" method="POST"> <select name="center_name" class="txtflds"> <?php $centres_list = array(); $centres_list = $db->get_all_added_centres(); if(!empty($centres_list)) { ?> <option value="केंद्र निवडा">केंद्र निवडा</option> <?php $count = 0; foreach($centres_list as $centre) { $id = $centres_list[$count][0]; $c_name= $centres_list[$count][1]; ?> <option value="<?php echo $c_name; ?>" <?php if($center_name==$id){ ?>selected<?php } ?>><?php echo $c_name; ?></option> <?php $count++; } } else { ?> <option value="कोणत्याही शाळेची नोंद केलेली नाही ">कोणत्याही केंद्राची नोंद केलेली नाही</option> <?php } ?> </select> <select name="dist" class="txtflds"> <?php $centres_list = array(); $centres_list = $db->get_distinct_dist(); if(!empty($centres_list)) { ?> <option value="जिल्हा निवडा">जिल्हा निवडा</option> <?php $count = 0; foreach($centres_list as $centre) { $dist = $centres_list[$count][0]; //$dist= $centres_list[$count][6]; ?> <option value="<?php echo $dist; ?>" <?php if($center_name==$id){ ?>selected<?php } ?>><?php echo $dist; ?></option> <?php $count++; } } else { ?> <option value="कोणत्याही जिल्हा नोंद केलेली नाही ">कोणत्याही जिल्हा नोंद केलेली नाही</option> <?php } ?> </select> <select name="taluka" class="txtflds"> <?php $centres_list = array(); $centres_list = $db->get_distinct_taluka(); if(!empty($centres_list)) { ?> <option value="तालुका निवडा">तालुका निवडा</option> <?php $count = 0; foreach($centres_list as $centre) { //$id = $centres_list[$count][0]; $taluka= $centres_list[$count][0]; ?> <option value="<?php echo $taluka; ?>" <?php if($center_name==$id){ ?>selected<?php } ?>><?php echo $taluka; ?></option> <?php $count++; } } else { ?> <option value="कोणत्याही तालुका नोंद केलेली नाही ">कोणत्याही तालुका नोंद केलेली नाही</option> <?php } ?> </select> <input type="submit" name="search_center_btn" value="submit"class="reg_btn_form" style="width:160px;" /> </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