| Current Path : /home/bolconlineco/public_html/aaaaaa/coordinator/ |
| Current File : /home/bolconlineco/public_html/aaaaaa/coordinator/reports.php |
<?php
ob_start();
session_start();
?>
<?php include('includes/header.php'); ?>
<?php
if(!isset($_SESSION['coordinator']) || $_SESSION['coordinatorrole'] != 2)
{
header("location:../index.php");
exit();
}
?>
<script>
$(document).ready(function () {
$("#btnExport").click(function () {
$("#tblExport").btechco_excelexport({
containerid: "tblExport"
, datatype: $datatype.Table
});
});
});
</script>
<div id="content">
<div id="frm" style="width:100%">
<h2 style="margin-top:5px;border-bottom:1px solid #c4c4c4;"> Records Management</h2>
<div id="dv">
<div id="fifth-container">
<table id="tblExport" width="1100px;" style="border:1px solid black; " >
<thead>
<tr class="heading">
<th>#</th>
<th>Roll No</th>
<th>Title</th>
<th>First Name</th>
<th>Last Name</th>
<th>Email</th>
<th>Course</th>
</tr>
</thead>
<tbody>
<?php
$StudentResult=mysql_query("select * from student") or die(mysql_error());
$sr="";
while($row=mysql_fetch_array($StudentResult))
{
$sr++;
?>
<tr>
<td><?php echo $sr; ?></td>
<td><?php echo $row['rollno']; ?></td>
<td><?php echo $row['title']; ?></td>
<td><?php echo $row['fname']; ?></td>
<td><?php echo $row['lname']; ?></td>
<td><?php echo $row['email']; ?></td>
<td><?php echo 'hi'; ?></td>
</tr>
<?php
}
?>
</tbody>
</table>
<div>
<button id="btnExport">Export to excel</button>
</div>
</div>
</div>
</div> <!-- end content -->
</div><!-- end wrapper -->
<script>
(function($){
$('#first-container').simplePagination();
$('#second-container').simplePagination({
items_per_page: 5,
number_of_visible_page_numbers: 10
});
$('#third-container').simplePagination({
items_per_page: 10
});
$('#fourth-container').simplePagination({
first_content: '<<',
previous_content: '<',
next_content: '>',
last_content: '>>'
});
$('#fifth-container').simplePagination({
use_page_count: true
});
$('#sixth-container').simplePagination({
items_per_page: 11,
items_per_page_content: {
'Six': 6,
'Eleven': 11,
'Seventeen': 17,
'Thirty-three': 33,
'Sixty-seven': 67
}
});
})(jQuery);
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-48624238-1', 'ddenhartog.github.io');
ga('send', 'pageview');
</script>
</body>
<?php include('../includes/footer.php');?>