ok

Mini Shell

Direktori : /proc/self/root/home/ngwcolle/public_html/
Upload File :
Current File : //proc/self/root/home/ngwcolle/public_html/tender-list.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">Tender List</li>
                    </ol>
                </nav>
            </div>
        </div>
    </div>
</section>
<section class="section-15 about-section" id="body">
    <div class="container">
      <div class="row">
        <div class="col-md-9">
          <div class="title">
            <h1><span>Tender List</span></h1>
          </div>
          <table class="table" id="tt1" style="border-collapse:collapse;" align="center" cellspacing="0" cellpadding="0" width="100%" border="0">
  
      <thead>
        <tr style="font-size:16px;">
            <th align="center" width="20">Sl.No.</th>
            <th align="left" width="30px">Order No</th>
            <th align="left" width="160">Subject</th>
            <th align="center" width="60">Open Date</th>
            <th align="center" width="60">Close Date</th>
            <th align="center" width="30"></th>
        </tr>
        </thead>
        <?php 
$query=mysqli_query($con,"select * from tbl_tender order by id desc");
$cnt=1;
while($row=mysqli_fetch_array($query)){
?>  	
  <tbody>
  <tr>
    <td><?php echo $cnt;?></td>
    <td><?php echo $row['orderno'];?></td>
    <td><?php echo $row['tsubject'];?></td>
    <td><?php echo date("d-M-Y",strtotime($row['opendate']));?></td>
    <td><?php echo date("d-M-Y",strtotime($row['closedate']));?></td>
    <td align="center" valign="top"><a href="upload/tender/<?php echo $row['docpath'];?>" target="_blank"><img src="assets/images/link.png" style="width:20px;"></a></td>
  </tr>
 

                           <?php 
                           $cnt++;
                           } ?>
       
       
      
    </tbody>
</table>		  <!--for department start-->
						<!--for department end-->
        </div>
       <?php include"sidebar.php";?>
    </div>
</section>
<?php include"footer.php";?>
<script>
//   $('#example').dataTable( {
//     // "dom": '<"top"i>rt<"bottom"flp><"clear">'
// } )

  $(document).ready(function () {
    $('#tt1').DataTable();
});

</script>

Zerion Mini Shell 1.0