ok
Direktori : /proc/self/root/home/ngwcolle/public_html/ |
Current File : //proc/self/root/home/ngwcolle/public_html/calendert.php |
<?php include "header.php"; date_default_timezone_set('Asia/Kolkata'); include "admin/includes/config.php"; $cquery=mysqli_query($con, "SELECT * from tbl_college"); $singleRow = mysqli_fetch_row($cquery); ?> <style> /* -------- Event-Table ---------- */ .table-schedule thead tr th { color: #fff; font-size: 16px; padding: 15px 25px; text-transform: uppercase; } .table-schedule > tbody > tr { background-color: #fcfcfc; } .table-schedule > tbody > tr:nth-child(2n+1) { background-color: #f9f9f9; } .table-schedule tbody tr td { border-top: 1px solid #ddd; color: #333; font-weight: 300; padding: 15px 25px; } .table-schedule tbody tr td .speaker-thumb { float: left; margin-right: 15px; margin-top: 5px; width: 55px; } .table-schedule tbody tr td .title { font-size: 15px; margin-bottom: 0; margin-top: 3px; } .table-schedule tbody tr td .name { font-size: 13px; margin: 0; } .table-schedule tbody tr td strong { font-weight: 700; } .table-schedule .toggle-content { cursor: pointer; } .table-schedule .session-details { display: none; } .bg-theme-colored { background-color: #1F386B !important; } .more { width: 400px; /* background-color: #f0f0f0; */ /* margin: 10px; */ } .morecontent span { display: none; } </style> <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">Academic Calender</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>Academic Calender</span></h1> </div> <!-- <div class="table-responsive"> --> <table class="table table-responsive" style="border-collapse:collapse;" align="center" cellspacing="0" cellpadding="0" width="100%" border="0"> <tbody> <tr style="font-size:16px;"> <th align="center" width="30">Sl.No.</th> <th align="left" width="10%">Name</th> <th align="center" width="102">From</th> <th align="center" width="176">To</th> <th align="left" width="176">Agenda</th> </tr> <?php $query=mysqli_query($con,"select * from tbl_calender order by id desc"); $cnt=1; while($row=mysqli_fetch_array($query)){ ?> <tr> <td><?php echo $cnt;?></td> <td><strong><?php echo $row['title'];?></strong></td> <td><?php echo date("d-M-Y",strtotime($row['start']));?></td> <td><?php echo date("d-M-Y",strtotime($row['end']));?></td> <td><div class="more" style="word-break: break-all;overflow-wrap: break-all;"><?php echo $row['user'];?></div></td> </tr> <?php $cnt++;}?> </tbody> </table> <!-- </div> --> <!--for department start--> <!--for department end--> </div> <?php include"sidebar.php";?> </div> </section> <?php include"footer.php";?>