ok
Direktori : /proc/self/root/home/ngwcolle/www/ |
Current File : //proc/self/root/home/ngwcolle/www/comm.php |
<?php include "header.php"; date_default_timezone_set('Asia/Kolkata'); include "admin/includes/config.php"; ?> <section class="inner-banner"></section> <section class="breadcrumb-sec"> <div class="container"> <div class="row"> <div class="col-md-12"> <nav aria-label="breadcrumb"> <ol class="breadcrumb"> <li class="breadcrumb-item"><a href="index.html">Home</a></li> <li><i class="fa fa-caret-right" aria-hidden="true"></i></li> <li class="breadcrumb-item">Different Committes of the College</li> </ol> </nav> </div> </div> </div> </section> <section class="section-15 about-section"> <div class="container"> <div class="row"> <div class="col-md-9"> <div class="title"> <h1><span>Different Committes of the College</span></h1> </div> <table class="table" id="tt" width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#ecf1f5" style="border-collapse:collapse;"> <tbody> <?php $query=mysqli_query($con,"select * from tbl_dept order by dept_name Asc"); $cnt=1; while($row=mysqli_fetch_array($query)){ ?> <tr> <td class="text-success" ><h5 class="text-center"><?php echo $row['dept_name'];?></h5> <table class="table" id="tt" width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#ecf1f5" style="border-collapse:collapse;" <tr> <th>#</th> <th>Name</th> <th>Designation</th> <tr> <?php $query1=mysqli_query($con,"select * from tbl_staffdept where dept='{$row['id']}' order by designation Asc"); $cntt=1; while($row1=mysqli_fetch_array($query1)){ ?> <td><?php echo $cntt;?></td> <td><?php echo $row1['empname'];?></td> <td><?php echo $row1['designation'];?></td> </tr> <?php $cntt++;}?> </tr> </table> </td> </tr> <?php $cnt++; } ?> </tbody> </table> </div> <?php include"sidebar.php";?> </div> </section> <?php include "footer.php"; ?> <script> // $('#example').dataTable( { // // "dom": '<"top"i>rt<"bottom"flp><"clear">' // } ) $(document).ready(function () { // $('#tt').DataTable(); $('#tt').dataTable( { "pageLength": 50 } ); }); </script>