ok
Direktori : /home2/globaltriumphfou/public_html/admin_panel/ |
Current File : /home2/globaltriumphfou/public_html/admin_panel/nomination_enquiry.php |
<?php include "dbconn.php"; include "checklogin.php"; include "function.php"; include "ps_pagination.php"; $limit=100; if(isset($_POST['searchbut'])) { $search=$_POST['search']; $sqlt="select * from nomination_enquiry where CP_Email like '%$search%' or CP_Mno = '$search' order by id desc"; }else $sqlt="select * from nomination_enquiry order by id desc"; $query=mysqli_query($connection,$sqlt); $num=mysqli_num_rows($query); if($num>0) { $pager = new PS_Pagination($connection, $sqlt,$limit, 5,''); $pager->setDebug(true); $dquery = $pager->paginate(); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta name="description" content="Admin"> <!-- Twitter meta--> <meta property="twitter:card" content="summary_large_image"> <meta property="twitter:site" content="@pankaj"> <meta property="twitter:creator" content="@pankaj"> <!-- Open Graph Meta--> <meta property="og:type" content="website"> <meta property="og:site_name" content="Aaram Chairs"> <meta property="og:title" content="Aaram Chairs"> <meta property="og:description" content="Aaram Chairs Admin"> <title>Nomination-Data</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Main CSS--> <link rel="stylesheet" type="text/css" href="css/main.css"> <!-- Font-icon css--> <link rel="stylesheet" type="text/css" href="fontawesome/font-awesome.min.css"> <script type="text/javascript" src="js/sortable.js"></script> <style> .table th, .table td { padding: 3px; vertical-align: top; } .sortable th a{ color:#000; } a.btn{ color:white; } </style> </head> <body class="app sidebar-mini rtl"> <!-- Navbar--> <?php include "header.php"; ?> <!-- Sidebar menu--> <div class="app-sidebar__overlay" data-toggle="sidebar"></div> <?php $currentPage="nomination_enquiry"; include "aside.php"; ?> <main class="app-content"> <div class="app-title"> <div> <h1><i class="fa fa-user"></i> Nomination Enquiry Data</h1> </div> <ul class="app-breadcrumb breadcrumb"> <li class="breadcrumb-item"></li> </ul> </div> <div class="row"> <div class="col-md-12"> <div class="tile"> <div class="tile-body table-responsive"> <!----> <?php if($num<=0) { echo "<h5> Sorry !!! No Data Exists</h5>"; } else { ?> <table class="table"> <thead> <tr> <th> <form id="fm1" name="fm1" method="post"> <table class="table"> <tr> <td align="left" valign="middle"><input value="<?php echo $search; ?>" name="search" type="text" placeholder="Search by Sitename" class="form-control"></td> <td><input type="submit" name="searchbut" value="Search" class="btn btn-primary"></td> <td align="center" valign="middle"> <table class="table table-bordered"> <tr> <td align="center" valign="middle">Total Data = <?php echo $num; ?> <?php echo $pager->exportintoexcel(); ?></td> <td align="center" valign="middle">( <?php echo $pager->rendercount(); ?> )</td> <td align="center" valign="middle" class="first"><?php echo $pager->renderFirst(); ?></td> <td align="center" valign="middle" class="next"><?php echo $pager->renderPrev(); ?></td> <td align="center" valign="middle" class="next"><?php echo $pager->renderNext(); ?></td> <td align="center" valign="middle" class="first"><?php echo $pager->renderLast(); ?></td> </tr> </table> </td> </tr> </table> </form> </th> </tr> </thead> <tbody> <tr> <td align="left" valign="top"> <table class="table table-bordered table-striped sortable" id="anyid"> <tr> <th align="center" valign="middle" class="unsortable">S.No</th> <th>Date Time</th> <th>Nom-Category</th> <th>Org-Category</th> <th>Ind/Org</th> <th>Organization Name</th> <th>State</th> <th>City</th> <th>Name</th> <th>Mno</th> <th>Email</th> <th>Designation</th> <th>YOI</th> <th>A_T</th> <th>A_C</th> <th>Award</th> </tr> <?php $i=1; while($rows=mysqli_fetch_assoc($dquery)) { ?> <tr> <td><?php echo $i++; ?></td> <td><?php echo date('Y-m-d',strtotime($rows['create_date'])); ?></td> <td><?php echo substr($rows['Nom_Cat'],0,10); ?>..</td> <td><?php echo $rows['Cat_id']; ?></td> <td><?php echo $rows['Inv_id']; ?></td> <td><?php echo $rows['O_Name']; ?></td> <td><?php echo $rows['Con_State']; ?></td> <td><?php echo $rows['Con_City']; ?></td> <td><?php echo $rows['CP_Name']; ?></td> <td><?php echo $rows['CP_Mno']; ?></td> <td><?php echo $rows['CP_Email']; ?></td> <td><?php echo $rows['CP_Designation']; ?></td> <td><?php echo $rows['Y_O_I']; ?></td> <td><?php echo $rows['A_T']; ?></td> <td><?php echo $rows['A_C']; ?></td> <td><?php echo $rows['P_Award']; ?></td> </tr> <?php } ?> </table> </td> </tr> </tbody> </table> <?php } ?> <!----> </div> </div> </div> </div> </main> <?php include "footer.php"; ?> <!-- Essential javascripts for application to work--> <script src="js/jquery-3.2.1.min.js"></script> <script src="js/popper.min.js"></script> <script src="js/bootstrap.min.js"></script> <script src="js/main.js"></script> <!-- The javascript plugin to display page loading on top--> <script src="js/plugins/pace.min.js"></script> <!-- Page specific javascripts--> <script> $(document).ready(function(){ }); </script> </body> </html>