晋太元中,武陵人捕鱼为业。缘溪行,忘路之远近。忽逢桃花林,夹岸数百步,中无杂树,芳草鲜美,落英缤纷。渔人甚异之,复前行,欲穷其林。 林尽水源,便得一山,山有小口,仿佛若有光。便舍船,从口入。初极狭,才通人。复行数十步,豁然开朗。土地平旷,屋舍俨然,有良田、美池、桑竹之属。阡陌交通,鸡犬相闻。其中往来种作,男女衣着,悉如外人。黄发垂髫,并怡然自乐。 见渔人,乃大惊,问所从来。具答之。便要还家,设酒杀鸡作食。村中闻有此人,咸来问讯。自云先世避秦时乱,率妻子邑人来此绝境,不复出焉,遂与外人间隔。问今是何世,乃不知有汉,无论魏晋。此人一一为具言所闻,皆叹惋。余人各复延至其家,皆出酒食。停数日,辞去。此中人语云:“不足为外人道也。”(间隔 一作:隔绝) 既出,得其船,便扶向路,处处志之。及郡下,诣太守,说如此。太守即遣人随其往,寻向所志,遂迷,不复得路。 南阳刘子骥,高尚士也,闻之,欣然规往。未果,寻病终。后遂无问津者。
| DIR:/home/bolconlineco/public_html/student/ |
| Current File : //home/bolconlineco/public_html/student/videos.php |
<?php
ob_start();
session_start();
?>
<?php //include('header.php');?>
<?php include('../includes/connection/func.inc.php')?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Brentwood </title>
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css"/>
<link href="../assets/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<link href="../assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="../assets/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN PAGE LEVEL PLUGIN STYLES -->
<link href="../assets/plugins/gritter/css/jquery.gritter.css" rel="stylesheet" type="text/css"/>
<link href="../assets/plugins/bootstrap-daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css"/>
<link href="../assets/plugins/fullcalendar/fullcalendar/fullcalendar.css" rel="stylesheet" type="text/css"/>
<link href="../assets/plugins/jqvmap/jqvmap/jqvmap.css" rel="stylesheet" type="text/css"/>
<link href="../assets/plugins/jquery-easy-pie-chart/jquery.easy-pie-chart.css" rel="stylesheet" type="text/css"/>
<!-- END PAGE LEVEL PLUGIN STYLES -->
<!-- BEGIN THEME STYLES -->
<link href="../assets/css/style-metronic.css" rel="stylesheet" type="text/css"/>
<link href="../assets/css/style.css" rel="stylesheet" type="text/css"/>
<link href="../assets/css/style-responsive.css" rel="stylesheet" type="text/css"/>
<link href="../assets/css/plugins.css" rel="stylesheet" type="text/css"/>
<link href="../assets/css/pages/tasks.css" rel="stylesheet" type="text/css"/>
<link href="../assets/css/themes/default.css" rel="stylesheet" type="text/css" id="style_color"/>
<link href="../assets/css/print.css" rel="stylesheet" type="text/css" media="print"/>
<link href="../assets/css/custom.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" href="../css/main.css" type="text/css" />
<script src="../js/jquery-1.10.2.min.js"></script>
<!--<script src="../tabs/jquery-1.js" type="text/javascript"></script>-->
</head>
<body>
<?php
$co=$_SESSION['studentname'];
$r=mysql_query("select * from student where email='$co'");
$rr=mysql_fetch_array($r);
$t=$rr['title'];
$fname=$rr['fname'];
$lname=$rr['lname'];
$fullname=$fname.' '.$lname;
?>
<body class="page-header-fixed">
<!-- BEGIN HEADER -->
<div class="header navbar navbar-fixed-top">
<!-- BEGIN TOP NAVIGATION BAR -->
<div class="header-inner">
<!-- BEGIN LOGO -->
<a class="navbar-brand" href="dashboard.php" class="logo_admin">
<span class="logo_first" style="color: #fff;">Brentwood</span>
</a>
<!-- END LOGO -->
<!-- BEGIN RESPONSIVE MENU TOGGLER -->
<a href="javascript:;" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<img src="../assets/img/menu-toggler.png" alt=""/>
</a>
<ul class="nav navbar-nav pull-right">
<li class="dropdown user">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" data-Hover="dropdown" data-close-others="true">
<i class="fa fa-angle-down"></i>
</a>
<ul class="dropdown-menu">
<li>
<a href="javascript:;" id="trigger_fullscreen">
<i class="fa fa-arrows"></i> Full Screen
</a>
</li>
<li>
<a href="logout.php">
<i class="fa fa-key"></i> Log Out
</a>
</li>
</ul>
</li>
</ul>
<!-- END RESPONSIVE MENU TOGGLER -->
</div>
<!-- END TOP NAVIGATION BAR -->
</div>
<!-- END HEADER -->
<div class="clearfix">
</div>
<!-- BEGIN CONTAINER -->
<div class="page-container">
<!-- BEGIN SIDEBAR -->
<?php include ("sidebar.php"); ?>
<!-- END SIDEBAR -->
<!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
<div class="page-content">
<?php
if(!isset($_SESSION['studentname']) || $_SESSION['studentrole'] != 4)
{
header("location:../index.php");
exit();
}
$rollno=$_SESSION['rollno'];
?>
<script type="text/javascript">
var html5lightbox_options = {
watermark: "http://html5box.com/images/html5boxlogo.png",
watermarklink: ""
};
</script>
<script src="../combine/html5lightbox/html5lightbox.js"></script>
<div class="row">
<div class="col-md-12">
<!-- BEGIN EXAMPLE TABLE PORTLET-->
<div class="portlet box blue">
<div class="portlet-title clearfix" style="overflow: hidden;">
<div class="caption">Videos</div>
</div>
<div class="portlet-body">
<?php
/*$q="select courseid from assigncourse where rollno='$rollno'";
$r=mysql_query($q) or die(mysql_error());
$f=mysql_fetch_array($r);*/
//$query="select * from studentassignment where AssignmentStatus=1 and rollno=$rollno";
$query="select * from tbl_studentvideos where rollno='$rollno'";
$result=mysql_query($query) or die(mysql_error());
if(mysql_num_rows($result) > 0)
{
?>
<table width="98%" border="0" cellspacing="0" style="margin:0 auto" cellpadding="0" class="tablestyle">
<tr id="title">
<th class="small">Name</th>
<th class="small-xx">View</th>
<th class="small-xx">Download</th>
</tr>
<?php
while($row=mysql_fetch_array($result))
{
$videoQuery="select * from coursevideo where id=".$row['videoId'];
$videoResult=mysql_query($videoQuery) or die(mysql_error());
$fetch=mysql_fetch_array($videoResult);
?>
<tr class="values even">
<td class="small"><?php echo $fetch['name']; ?></td>
<td class="small"><a href="../combine/coursevideos/<?php echo $fetch['videopath'];?>" class="html5lightbox">View Course Video</a></td>
<td class="small-xx"><a href="download.php?vp=<?php echo $fetch['videopath']; ?>">Download</a></td>
</tr>
<?php
}
?>
</table>
<?php
}else
{
echo "No Videos ";
}
?>
</div><!-- end row -->
</div> <!-- end content -->
</div><!-- end wrapper -->
</div>
</div>
</div>
</div>
<?php include('../includes/footer-old.php');?> |