caiji_movie.tpl.php

来自「a short sketch about linux syntex lines.」· PHP 代码 · 共 160 行

PHP
160
字号
<!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>
<title>秀影视频点播系统Ver6.0.4</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link type="text/css" rel="stylesheet" href="../../images/admin/public.css" />
<link type="text/css" rel="stylesheet" href="../../images/admin/style.css" />
<link href="<?php echo $this->basedir;?>js/datepicker.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->basedir;?>js/jquery.js" language="javascript"></script>
<script src="<?php echo $this->basedir;?>js/movie.js"></script>
<script src="<?php echo $this->basedir;?>js/ui.datepicker.js"></script>
<script>
<!--
$(document).ready(function()
{
     $("#ta tr").mouseover(function(){
      $(this).addClass("over");
     });
     $("#ta tr").mouseout(function(){
      $(this).removeClass("over");
     });
	 $("#ta tr:even").addClass("double");
	 $("#checkall").click(function() {
	 	$("input[@name='id[]']").each(function() {
			$(this).attr("checked", $('#checkall').attr('checked'));
		});
	});
}
)
function wclose(){
	$('#Layer').hide()
	$('#mask').hide()
	$('#type').show()
}
//-->
</script>
<body>
<div id="mask" class="None">
  <div id="msgbox" class="None"><img src="<?php echo $this->basedir;?>images/loading2.gif"></div>
</div>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
  <tr align="center" valign="top">
    <td width="*" align="center" valign="top"><!-- ######### begin ######### -->
      <div class="Block">
        <div class="BlockBar">已采集数据列表</div>
        <form id="form2" name="form2" method="GET" action="">
          <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tab">
            <tr class="row">
              <td width="8%">关键词:</td>
              <td width="92%"><select name="type" id="type">
                <option value="all">不限</option>
                <option value="1" <?php if( (int)$_GET['type'] === 1) echo 'selected';?> >已入库</option>
                <option value="0" <?php if( is_int($_GET['type']) && $_GET['type']==0) echo 'selected';?>>未入库</option>
                <option value="2" <?php if( (int)$_GET['type'] === 2) echo 'selected';?>>已重复</option>
              </select>
              <input name="keyword" type="text" id="keyword" onclick="this.value=''" value="<?php echo urldecode($_GET['keyword']);?>" />
                <input type="submit" value="检索" />
                <input type="hidden" name="mod" value="caiji" />
                <input type="hidden" name="action" value="movie" />
                (关键词留空则列出全部数据)</td>
            </tr>
          </table>
        </form>
        <form id="form1" name="form1" method="post" action="">
          <table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" class="tab" id="ta">
            <tr class="sub">
              <td width="8%" class="align-center">编号</td>
              <td width="37%" class="align-center">影片名</td>
              <td width="7%" class="align-center">分类</td>
              <td width="7%" class="align-center">地区</td>
              <td width="7%" class="align-center">播放器</td>
              <td width="9%" class="align-center">来源</td>
              <td width="6%" class="align-center">集数</td>
              <td width="7%" class="align-center">状态</td>
              <td width="12%" class="align-center">管理</td>
            </tr>
            <?php foreach( $this->rows as $row){?>
            <tr class="row">
              <td class="align-center"><?php echo $row['id'];?></td>
              <td class="align-center"><a href="#" onClick="javascript:preview(<?php echo $row['id'];?>)"><?php echo $row['name'];?></a></td>
              <td class="align-center"><?php echo $row['category'];?></td>
              <td class="align-center"><?php echo $row['area'];?></td>
              <td class="align-center"><?php echo $row['player'];?></td>
              <td class="align-center"><a href="<?php echo $row['referer'];?>" target="_blank">点击浏览</a></td>
              <td class="align-center"><?php echo $row['urlcount'];?></td>
              <td class="align-center"><?php if($row['errors']>=3){ echo '错误太多忽略';}else{echo $row['locked'] ? '已入库' : '未入库';}?></td>
              <td class="align-center"><input name="id[]" type="checkbox" class="checkbox" id="id[]" value="<?php echo $row['id'];?>" />
                <a href="?mod=caiji&action=import&id=<?php echo $row['id'];?>">入库</a> <a href="#"></a> <a href="?mod=caiji&action=delmovie&id=<?php echo $row['id'];?>" onClick="return confirm('删除后将不可恢复,确认删除规则吗?')">删除</a></td>
            </tr>
            <?php }?>
          </table>
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="76%"><?php echo $this->printpage;?> </td>
              <td width="24%">全选/取消
                <input name="checkall" type="checkbox" class="checkbox" id="checkall" />
                <input name="delete" type="submit" id="delete" value="删除选择" />
                <input name="importall" type="submit" id="importall" value="导入全部" /></td>
            </tr>
          </table>
        </form>
      </div>
      <!-- ########## end ########## -->
    </td>
  </tr>
</table>
<?php
echo $this->render('copyright');
?>
<div class="Block None" id="Layer">
  <div class="BlockBar">预览影片资料 <a href="#" onClick="wclose()"><font color="#FFFFFF">关闭层</font></a></div>
  <table border="0" cellpadding="1" cellspacing="1" class="tab" width="200">
    <tr class="row">
      <td width="17%" class="align-right">片名:</td>
      <td width="83%"><div id="movie_title"></div></td>
    </tr>
    <tr class="row">
      <td class="align-right">分类:</td>
      <td><div id="movie_type"></div></td>
    </tr>
    <tr class="row">
      <td class="align-right">主演:</td>
      <td><div id="movie_actor"></div></td>
    </tr>
    <tr class="row">
      <td class="align-right">导演:</td>
      <td><div id="movie_director"></div></td>
    </tr>
    <tr class="row">
      <td class="align-right">海报:</td>
      <td><div id="movie_pictrue"></div></td>
    </tr>
    <tr class="row">
      <td class="align-right">地区:</td>
      <td><div id="movie_area"></div></td>
    </tr>
    <tr class="row">
      <td class="align-right">播发器:</td>
      <td><div id="movie_player"></div></td>
    </tr>
    <tr class="row">
      <td class="align-right">简介:</td>
      <td><div id="movie_content" style="overflow:auto; height:200px;"></div></td>
    </tr>
    <tr class="row">
      <td class="align-right">来源:</td>
      <td><div id="movie_referer"></div></td>
    </tr>
    <tr class="row">
      <td class="align-right">状态</td>
      <td><div id="movie_locked"></div></td>
    </tr>
    <tr class="row">
      <td colspan="2"><div id="movie_url" style="overflow:auto; height:200px;float:left;width:98%"></div></td>
    </tr>
  </table>
</div>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?