示例#1
0
 static function templateRedirect()
 {
     PtpVideoFunc::templateRedirect(self::$_urls);
 }
示例#2
0
$video_table = PtpVideoDB::$video_table;
$keywords = null;
$keyword = isset($_POST['keyword']) ? $_POST['keyword'] : null;
if ($keyword) {
    $keywords = "title LIKE '%{$keyword}%'";
}
$total = PtpVideoDB::allCount($video_table, "*", $keywords);
$pstart = ($page - 1) * $pagesize;
?>

<link rel='stylesheet' href="<?php 
echo PtpVideoFunc::pluginCss('video.css');
?>
" type='text/css' media='all' />
<script type="text/javascript" src="<?php 
echo PtpVideoFunc::pluginJs('video.js');
?>
"></script>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
    <tbody>
        <tr valign="top">
            <td class="content">
                <div class="clear" id="main_column">
                   <h1 class="mainbox-title float-left">视频列表</h1>
                    
                    <!--主体开始-->
                    <div class="mainbox-body">
                        <!--//搜索开始-->
                        <div class="section-border">
                          <form method="post" action="<?php 
echo $page_url;