Ejemplo n.º 1
0
     break;
 case 'text': $pageName = "$langAdd $langInsertText";
     include 'insert_text.php';
     display_text_form();
     break;
 case 'link': $pageName = "$langAdd $langInsertLink";
     include 'insert_link.php';
     list_links();
     break;
 case 'lp': $pageName = "$langAdd $langLearningPath1";
     include 'insert_lp.php';
     list_lps();
     break;
 case 'video': $pageName = "$langAddV";
     include 'insert_video.php';
     list_videos();
     break;
 case 'ebook': $pageName = "$langAdd $langInsertEBook";
     include 'insert_ebook.php';
     list_ebooks();
     break;
 case 'forum': $pageName = "$langAdd $langInsertForum";
     include 'insert_forum.php';
     list_forums();
     break;
 case 'poll': $pageName = "$langAdd $langInsertPoll";
     include 'insert_poll.php';
     list_polls();
     break;
 case 'wiki': $pageName = "$langAdd $langInsertWiki";
     include 'insert_wiki.php';
Ejemplo n.º 2
0
<?php

include 'libs/checklogin.php';
require 'libs/functions.php';
?>
<html>
	<head>
		<title>Pascal 4fun | Video bài giảng</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

		<link rel="stylesheet" type="text/css" href="css/main.css">

	</head>
	
	<body>
		<header>
			<a href='index.php' class='Link'></a>
		</header>
		<div id="content">
			<h2 class="tieude">VIDEO BÀI GIẢNG</h2>
			<?php 
echo list_videos();
?>
		</div>

	</body>
</html>