Şuanki Dizin: /home/wwwdreamtechnolo/www/panel.atsevairag.com/atse_admin_panel007/ |
Şuanki Dosya : /home/wwwdreamtechnolo/www/panel.atsevairag.com/atse_admin_panel007/center-reports.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"); } $center_name = ""; $dist = ""; $taluka = ""; ?> <html> <head> <meta charset="UTF-8"> <title>ATSE Vairag</title> <link rel="stylesheet" type="text/css" href="/css/stylesheet.css" /> </head> <body> <?php require_once('header.php'); ?> <div style="min-height:570px;"> <div class="admin-mid-section"> <center><strong>केंद्राची लिस्ट</strong></center> <hr /> <table class="centre_tab" border="1" cellspacing="0"> <tr style="background-color:#EFEFEF;"> <td width="50">अ. क्र.</td> <td width="50">ऍड बाय</td> <td width="180">केंद्राचे नाव</td> <td width="200">पत्ता</td> <td width="100">संपर्क व्यक्ती</td> <td width="100">संपर्क नंबर</td> <td width="80">फॅक्स नंबर</td> <td width="120">इमेल आय-डी</td> <td width="150">जिल्हा</td> <td width="150">तालुका</td> <td width="120">दिनांक</td> <td width=""></td> <td width=""></td> </tr> <?php if($_SESSION['current_login_user_type']=="Pratinidhi") { ///If PRATINIDHI $centres_list = array(); $centres_list = $db->get_all_centres_by_search(); if(!empty($centres_list)) { $count = 0; foreach($centres_list as $centre) { $id = $centres_list[$count][0]; $center_name= $centres_list[$count][1]; $address = $centres_list[$count][2]; $contact_no = $centres_list[$count][3]; $fax_number = $centres_list[$count][4]; $email_id = $centres_list[$count][5]; $jilha = $centres_list[$count][6]; $date = $centres_list[$count][7]; $time = $centres_list[$count][8]; $contact_person =$centres_list[$count][9]; $taluka = $centres_list[$count][10]; $added_by = $centres_list[$count][11]; $centres_set_or_not = $db->get_all_center_added_of_pratinidhi($pratinidhi_id,$center_id); if($centres_set_or_not!="") { ?> <tr> <td width="50"><?php echo $id; ?></td> <td width="180"><?php echo $added_by; ?></td> <td width="180"><?php echo $center_name; ?></td> <td width="250"><?php echo $address; ?></td> <td><?php echo $contact_person; ?></td> <td width="100"><?php echo $contact_no; ?></td> <td width="80"><?php echo $fax_number; ?></td> <td width="120"><?php echo $email_id; ?></td> <td width="150"><?php echo $jilha; ?></td> <td width="150"><?php echo $taluka; ?></td> <td width="120"><?php echo $date; ?></td> <td width="60"><a href="edit-center.php?edt_center_id=<?php echo $id; ?>">Edit</a></td> <td width="60"><a href="<?php echo $_SERVER['PHP_SELF']."?center_del_id=".$id; ?>" class="delete_link_report" id="center_delete_link">Delete</a></td> </tr> <?php } $count++; } } else { ?> <tr> <td colspan="10">कोणतेही केंद्र नोंद केलेले नाही</td> </tr> <?php } } else { ///If user type is not PRATINIDHI $centres_list = array(); $centres_list = $db->get_centres_by_search($center_name,$dist,$taluka); if(!empty($centres_list)) { $count = 0; foreach($centres_list as $centre) { $id = $centres_list[$count][0]; $center_name= $centres_list[$count][1]; $address = $centres_list[$count][2]; $contact_no = $centres_list[$count][3]; $fax_number = $centres_list[$count][4]; $email_id = $centres_list[$count][5]; $jilha = $centres_list[$count][6]; $date = $centres_list[$count][7]; $time = $centres_list[$count][8]; $contact_person =$centres_list[$count][9]; $taluka = $centres_list[$count][10]; $added_by = $centres_list[$count][11]; ?> <tr> <td width="50"><?php echo $id; ?></td> <td width="180"><?php echo $added_by; ?></td> <td width="180"><?php echo $center_name; ?></td> <td width="250"><?php echo $address; ?></td> <td><?php echo $contact_person; ?></td> <td width="100"><?php echo $contact_no; ?></td> <td width="80"><?php echo $fax_number; ?></td> <td width="120"><?php echo $email_id; ?></td> <td width="150"><?php echo $jilha; ?></td> <td width="150"><?php echo $taluka; ?></td> <td width="120"><?php echo $date; ?></td> <td width="60"><a href="edit-center.php?edt_center_id=<?php echo $id; ?>">Edit</a></td> <td width="60"><a href="<?php echo $_SERVER['PHP_SELF']."?center_del_id=".$id; ?>" class="delete_link_report" id="center_delete_link">Delete</a></td> </tr> <?php $count++; } } else { ?> <tr> <td colspan="10">कोणतेही केंद्र नोंद केलेले नाही</td> </tr> <?php } } ?> </table> </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