📄 movie_modify.tpl.php
字号:
<html>
<head>
<title>系统后台</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="../../images/admin/public.css" rel="stylesheet" type="text/css" />
<link href="../../images/admin/style.css" rel="stylesheet" type="text/css" />
<script src="<?php echo $this->basedir;?>js/jquery.js"></script>
<script src="<?php echo $this->basedir;?>js/movie.js"></script>
<script type="text/javascript">
$(document).ready(function() {
// Initialise the table
var mov = new movie();
$('#catebut').click(function(){
mov.setCategory('#category');
});
$('#playerbut').click(function(){
mov.setPlayer();
});
$('#sevbut').click(function(){
mov.setServer();
});
$('#seturl').click(function(){
mov.setUrl();
});
//test.setCategory('d');
});
function setArea(area){
if ($('#area').val() == ''){
$('#area').val(area);
}else{
var txt = $('#area').val();
txt = txt.replace(area + ',', '');
txt = txt.replace(area, '');
$('#area').val( txt + ',' + area);
}
}
</script>
<body>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr align="center" valign="top">
<td width="*" align="center" valign="top">
<!-- ######### begin ######### -->
<div class="Block">
<?php if (is_array($this->message)){
echo '<div class="BlockBar">数据格式不正确</div>';
foreach ($this->message as $msg){?>
<div class="error"><ol><li><?php echo $msg;?></li></ol></div>
<?php } }?>
<div class="BlockBar">修改节目资料</div>
<form action="<?php echo $this->installdir;?>?mod=movie&action=modify" method="post" enctype="multipart/form-data" name="form1" id="form1">
<table cellpadding="4" cellspacing="1" class="tab">
<tr class="row">
<td width="12%" class="align-center">录入人员:</td>
<td><?php echo $this->modify['author'];?></td>
</tr>
<tr class="row">
<td class="align-center">添加时间:</td>
<td><?php echo date('Y-m-d H:i:s', $this->modify['addtime']);?></td>
</tr>
<tr class="row">
<td class="align-center">*影片类型:</td>
<td>
<select name="category" id="category">
<?php echo $this->CategoryOption;?>
</select>
<?php if ($this->mconf['multiplecate'] == 2){?>
<input type="button" name="Submit" value="添加分类" id="catebut"/>
<?php }?>
<?php
if (is_array($this->cate)){
foreach ($this->cate as $row){
?>
<div><strong><?php echo $row['category'];?></strong><input type="hidden" name="category[]" value="<?php echo $row['id'];?>" /> <a onClick="this.parentNode.parentNode.removeChild(this.parentNode)">删除</a></div>
<?php
}
}?> </td>
</tr>
<tr class="row">
<td class="align-center">*出产地区:</td>
<td><select name="area">
<?php echo $this->AreaOption;?>
</select></td>
</tr>
<tr class="row">
<td class="align-center">*播放器:</td>
<td><select name="player" id="player"><?php echo $this->PlayerOption;?>
</select>
<?php if ($this->mconf['multipleplayer'] ==2){?>
<input type="button" name="Submit" value="添加分类" id="playerbut"/>
<?php }?>
<?php
if (is_array($this->player)){
foreach ($this->player as $row){
?>
<div><strong><?php echo $row['name'];?></strong><input type="hidden" name="player[]" value="<?php echo $row['tag'];?>" /> <a onClick="this.parentNode.parentNode.removeChild(this.parentNode)">删除</a></div>
<?php
}
}?> </td>
</tr>
<tr class="row">
<td class="align-center">*影片语言:</td>
<td><?php echo $this->langCheckbox;?></td>
</tr>
<tr class="row">
<td class="align-center">*影片名称:</td>
<td><input name="title" type="text" id="title" size="50" value="<?php echo $this->modify['title'];?>" />
例如:1至100个字符 必填</td>
</tr>
<tr class="row">
<td class="align-center">影片主演:</td>
<td><textarea name="actor" cols="48" rows="2" id="actor"><?php echo $this->modify['actor'];?></textarea></td>
</tr>
<tr class="row">
<td class="align-center">影片导演:</td>
<td><textarea name="director" cols="48" rows="2" id="director"><?php echo $this->modify['director'];?></textarea></td>
</tr>
<tr class="row">
<td class="align-center">大海报:</td>
<td ><table width="100%" border="0" cellpadding="2" cellspacing="0">
<tr>
<td width="321"><input name="pic" type="text" id="pic" size="45" value="<?php echo $this->modify['pic'];?>" /></td>
<td width="325" ><iframe scrolling="no" src="<?php echo $this->installdir;?>?mod=upfile&action=index&item=pic" height="25" frameborder="0" width="320" >vodcms.com</iframe></td>
</tr>
</table></td>
</tr>
<tr class="row">
<td class="align-center">缩略海报:</td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td width="321"><input name="otherpic" type="text" id="otherpic" size="45" value="<?php echo $this->modify['otherpic'];?>" /></td>
<td width="325"><iframe scrolling="no" src="<?php echo $this->installdir;?>?mod=upfile&action=index&item=otherpic" height="25" frameborder="0" width="320" >vodcms.com</iframe></td>
</tr>
</table></td>
</tr>
<tr class="row">
<td class="align-center">BT种子:</td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td width="321"><input name="bt" type="text" id="bt" size="45" value="<?php echo $this->modify['bt'];?>" /></td>
<td width="325"><iframe scrolling="no" src="<?php echo $this->installdir;?>?mod=upfile&action=index&item=bt" height="25" frameborder="0" width="320" >vodcms.com</iframe></td>
</tr>
</table></td>
</tr>
<tr class="row">
<td class="align-center">观看权限:</td>
<td><select name="lookgid" id="lookgid">
<option value="0">免费片</option>
<?php echo $this->GroupOption;?>
</select> </td>
</tr>
<tr class="row">
<td class="align-center">总点击数:</td>
<td><input name="click" type="text" id="click" value="<?php echo $this->modify['click'];?>"></td>
</tr>
<tr class="row">
<td class="align-center">点播扣点:</td>
<td><input name="lookpoint" type="text" id="point" value="<?php echo $this->modify['lookpoint'];?>" />
*</td>
</tr>
<tr class="row">
<td class="align-center">上映日期:</td>
<td><input name="publish" type="text" class="time" id="publish" size="60" value="<?php echo $this->modify['publish'];?>" />
例如:2007-7或者2007年7月</td>
</tr>
<tr class="row">
<td class="align-center">开放服务:</td>
<td><input name="look" type="radio" class="radio" value="1" <?php if ($this->modify['look'] == 1) echo 'checked';?> />
开放点播
<input name="look" type="radio" class="radio" value="0" <?php if ($this->modify['look'] == 0) echo 'checked';?> />
关闭点播
<input name="down" type="radio" class="radio" value="1" <?php if ($this->modify['down'] == 1) echo 'checked';?> />
开放下载
<input name="down" type="radio" class="radio" value="0" <?php if ($this->modify['down'] == 0) echo 'checked';?> />
关闭下载</td>
</tr>
<tr class="row">
<td class="align-center">连载状态:</td>
<td><input name="serialise" type="radio" class="radio" value="0" <?php if ($this->modify['serialise'] == 0) echo 'checked';?> />
普通影片
<input name="serialise" type="radio" class="radio" value="1" <?php if ($this->modify['serialise'] == 1) echo 'checked';?> />
连载影片
<input name="serialise" type="radio" class="radio" value="2" <?php if ($this->modify['serialise'] == 2) echo 'checked';?> />
连载完结</td>
</tr>
<tr class="row">
<td class="align-center" >广告插播:</td>
<td><select name="smil" id="smil">
<option value="0">不插播广告</option>
<?php
if (is_array($this->smil))
foreach($this->smil as $row){?>
<option value="<?php echo $row['id'];?>" <?php if($this->modify['smil'] == $row['id']) echo 'selected';?>><?php echo $row['title'];?></option>
<?php }?>
</select> </td>
</tr>
<tr class="row">
<td class="align-center">影片推荐:</td>
<td><?php echo $this->recmdCheckbox;?></td>
</tr>
<tr class="row">
<td class="align-center">所属服务器:</td>
<td><select name="sid" id="sid"><?php echo $this->ServerOption;?>
</select>
<?php if ($this->mconf['multiplesid'] ==2){?>
<input type="button" name="Submit" value="添加服务器" id="sevbut"/>
<?php }?>
<?php
if (is_array($this->sid)){
foreach ($this->sid as $row){?>
<div><strong><?php echo $row['name'];?>|<?php echo $row['helixserver'];?></strong><input type="hidden" name="sid[]" value="<?php echo $row['sid'];?>" /> <a onClick="this.parentNode.parentNode.removeChild(this.parentNode)">删除</a></div>
<?php
}
}?> </td>
</tr>
<tr class="row">
<td class="align-center"> </td>
<td><input name="urlname" type="text" size="32" id="urlname" />
第
<input name="startnum" type="text" size="5" value="<?php echo (count($this->modify['url'])+1);?>" id="startnum" />
至
<input name="endnum" type="text" size="5" value="<?php echo (count($this->modify['url'])+2);?>" id="endnum" />
集 后缀名
<input name="ext" type="text" size="6" value=".rmvb" id="ext"/>
<input name="Submit3" type="button" class="btns" value="生成" id="seturl" />
<br />
<?php if(is_array($this->modify['url'])){?>
<?php foreach($this->modify['url'] as $row){?>
<div><input name="url[]" type="text" size="40" value="<?php echo $row['url'];?>" /> 标题 <input name="alt[]" type="text" size="6" value="<?php echo $row['title'];?>" /> 排序 <input name="sort[]" type="text" size="3" value="<?php echo $row['sort'];?>" /><input type="hidden" name="urlid[]" value="<?php echo $row['urlid'];?>" /> <select name="flag[]">
<option value="0" <?php if(empty($row['flag'])) echo 'selected';?> >默认</option>
<option value="1" <?php if($row['flag'] == 1) echo 'selected';?>>免费</option>
<option value="2" <?php if($row['flag'] == 2) echo 'selected';?>>收费</option>
</select> <input name="Submit4" type="button" class="btns" value="删除" onClick="this.parentNode.parentNode.removeChild(this.parentNode)" /></div>
<?php }?>
<?php }?>
<div id="urldata"></div></td>
</tr>
<tr class="row">
<td class="align-center">影片介绍:</td>
<td><?php $this->FCKeditor->Create();?></td>
</tr>
<tr class="row">
<td class="align-center"> </td>
<td><input type="submit" class="btn" value=" 修 改 " /> <input type="button" class="btn" value=" 返回上一页 " onClick="history.back()" /> <input type="button" class="btn" value=" 置顶 " onClick="window.scrollTo(0,0)" /></td>
</tr>
</table>
<input type="hidden" name="movid" value="<?php echo $this->modify['movid'];?>" />
</form>
</div>
</td>
</tr>
</table>
<?php
echo $this->render('copyright');
?>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -