ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/home/ngwcolle/public_html/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/home/ngwcolle/public_html/questionbank.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">Question Bank</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 mb-3">
            <h1><span>Question Bank by College Examination Section</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;">Subject</th>
                     <th width="100" align="center" bgcolor="#053d6a" class="white" style="line-height:120%; color:#FFF;">Semester</th>
					  <th width="110" align="center" bgcolor="#053d6a" class="white" style="line-height:120%; color:#FFF;">Exam Year</th>
					<th width="906" align="left" bgcolor="#053d6a" class="white" style="color:#FFF;">Question Name</th>
                    <th width="60" align="center" bgcolor="#053d6a" class="white" style="color:#FFF;">Browse</th>
                  </tr>
                                               
</thead>

<tbody>
<?php 
$query=mysqli_query($con,"select tbl_question.*,tbl_subject.subname as subname from tbl_question inner join tbl_subject on tbl_question.subject=tbl_subject.id order by tbl_question.id desc ");
$cnt=1;
while($row=mysqli_fetch_array($query)){
?>  	
  <tr>
    <td><?php echo $cnt;?></td>
    <td class="small"><?php echo $row['subname'];?></td>
    <td><?php echo $row['semester'];?></td>
	<td><?php echo $row['examyear'];?></td>
	<td><?php echo $row['quesname'];?></td>
    <td align="center" valign="top"><a href="upload/doc/<?php echo $row['docpath'];?>" target="_blank"><img src="assets/images/link.png" style="width:20px;"></a></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>

Zerion Mini Shell 1.0