<?php	session_start();
if($_SESSION[admin]!=""){
	include_once("config.php");
	include_once("conn/conn.php");

$sql="select * from tb_video_type";
$ret=$conn->execute($sql);
$array=$ret->GetRows();
$smarty->assign("video_type",$array);


$smarty->display("manage_video_type.tpl");











}else{
echo "<script>alert('ÇëÕýÈ·µÇÂ¼!'); window.location.href='index.php';</script>";
}
?>