ok

Mini Shell

Direktori : /home/ngwcolle/public_html/
Upload File :
Current File : /home/ngwcolle/public_html/events1.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">Events</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>Events</span></h1>
          </div>
                            
        
  <table class="table table-responsive" id="tt" width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="#ecf1f5" style="border-collapse:collapse;">
                    <thead>
                  <tr>
                    <th width="30" align="center" bgcolor="#053d6a" class="white" style="line-height:120%; color:#FFF;">S.N.</th>
                    <th width="125" align="center" bgcolor="#053d6a" class="white" style="line-height:120%; color:#FFF;">Publish Date</th>
                    <th width="906" align="left" bgcolor="#053d6a" class="white" style="color:#FFF;">Title</th>
                    <th width="60" align="center" bgcolor="#053d6a" class="white" style="color:#FFF;">Browse</th>
                  </tr>
                                               
</thead>
<?php 
$query=mysqli_query($con,"select * from tbl_event order by logdate desc");
$cnt=1;
while($row=mysqli_fetch_array($query)){
?> 	
<tbody>

  <tr>
    <td><?php echo $cnt;?></td>
    <td class="small"><?php echo date("d-M-Y",strtotime($row['dateofevent']));?></td>
    <td><?php echo $row['subject'];?></td>
    <td align="center" valign="top"><a href="upload/event/<?php echo $row['docpath'];?>" target="_blank"><img src="assets/images/link.png" style="width:20px;"></a></td>
  </tr>
 

                           <?php 
                           $cnt++;
                           } ?>
                           </tbody>
              </table>
        </div>
        <div class="col-md-3">
          <div class="title">
  <h1><span>Quick Link</span></h1>
</div>
<ul class="quick-link">
            <!-- <li class="ql-4">
              <a href="javascript:vaoid(0);">
                Life Certificate
                <img src="assets/images/rti.png" alt="eAdmission">
              </a>
            </li> -->
            <li>
              <a href="https://eadmission.riebbs.ac.in/" target="_blank">
                E-admission
                <img src="assets/images/admission.png" alt="eAdmission">
              </a>
            </li>
            <li class="ql-2">
              <a href="rajbhasha-hindi.html">
                Rajbhasha Hindi
                <img src="assets/images/hindi.png" alt="eAdmission">
              </a>
            </li>
            <li class="ql-3">
              <a href="feedback.html" >
                Feedback
                <img src="assets/images/feedback.png" alt="Feedback">
              </a>
            </li>
            
            <li class="ql-5">
              <a href="careers.html">
                Placement & Career
                <img src="assets/images/goal.png" alt="eAdmission">
              </a>
            </li>
            <li class="ql-6">
              <a href="results.html">
                Results
                <img src="assets/images/mission.png" alt="eAdmission">
              </a>
            </li>
            <li class="ql-7">
              <a href="photo-gallery.html">
                Photo Gallery
                <img src="assets/images/gallery.png" alt="eAdmission">
              </a>
            </li>
            <li class="ql-8">
              <a href="video-gallery.html">
                Video Gallery
                <img src="assets/images/video.png" alt="eAdmission">
              </a>
            </li>
            <!-- <li class="ql-9">
              <a href="javascript:vaoid(0);">
                Contacts
                <img src="assets/images/contact-info.png" alt="eAdmission">
              </a>
            </li> -->
          </ul>        </div>
    </div>
</section>
<?php
include "footer.php";
?>

<script>
//   $('#example').dataTable( {
//     // "dom": '<"top"i>rt<"bottom"flp><"clear">'
// } )

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

</script>

Zerion Mini Shell 1.0