| Current Path : /home/bolconlineco/public_html/student/ |
| Current File : /home/bolconlineco/public_html/student/suportmaterials.php |
<?php
ob_start();
session_start();
?>
<?php include('header.php');?>
<?php
if(!isset($_SESSION['studentname']) || $_SESSION['studentrole'] != 4)
{
header("location:../index.php");
exit();
}
?>
<h3 class="page-title">User Guide</h3>
<ul class="page-breadcrumb breadcrumb">
<li><i class="fa fa-home"></i> <a href="dashbord.php"> Home </a> <i class="fa fa-angle-right"></i></li>
<li class="active">User Guide</li>
</ul>
<?php
//$query="select * from studentassignment where AssignmentStatus=1 and rollno=$rollno";
$query="select * from sportmaterials where st=1";
$result=mysql_query($query) or die(mysql_error());
if(mysql_num_rows($result) > 0)
{
?>
<table class="tablestyle table table-striped table-bordered table-hover" id="sample_2">
<thead>
<tr>
<th>Title</th>
<th>Download</th>
</tr>
</thead>
<tbody>
<?php
while($row=mysql_fetch_array($result)) { ?>
<tr>
<td><?php echo $row['title']; ?></td>
<td><a href="download.php?spid=<?php echo urlencode($row['name']); ?>">Download</a></td>
</tr>
<?php } ?>
</tbody>
</table>
<?php } ?>
</div><!-- end row -->
</div>
</div>
</div>
</div> <!-- end content -->
</div><!-- end wrapper -->
<?php include('../includes/footer.php');?>