📄 movie_add.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();
});
$('#title').keyup(
function (){
getmovieinfo($('#title').val(), '<?php echo $this->config['userid'];?>','<?php echo $this->config['passwd'];?>', '<?php echo $this->installdir;?>');
}
);
});
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>
<style type="text/css">
<!--
#Layer1 {
position:absolute;
width: 359px;
height:auto;
z-index:1;
border:1px solid #CCCCCC;
background-color:#F2F2F2;
display:none;
}
#Layer1 li{
padding:3px;
}
#Layer1 li:hover{
background-color:#E7FCC2;
cursor:pointer;
}
-->
</style>
<body>
<div id="Layer1"></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">
<?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=add" method="post" enctype="multipart/form-data" name="form1" id="form1">
<table cellpadding="4" cellspacing="1" class="tab">
<tr class="row">
<td width="14%" class="align-center" >*影片类型:</td>
<td width="86%"><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" id="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['id'];?>" />
<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'];?>" autocomplete="off" />
例如:1至100个字符。必填</td>
</tr>
<tr class="row">
<td class="align-center" >影片主演:</td>
<td><textarea name="actor" cols="55" 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="55" rows="2" id="director"><?php echo $this->modify['director'];?></textarea></td>
</tr>
<tr class="row">
<td class="align-center" >大海报:</td>
<td ><div style="float:left">
<input name="pic" type="text" id="pic" size="50" value="<?php echo $this->modify['pic'];?>" />
</div>
<div style="float:left; margin-left:5px;">
<iframe scrolling="no" src="<?php echo $this->installdir;?>?mod=upfile&action=index&item=pic" height="25" frameborder="0" width="320" >vodcms.com</iframe>
</div></td>
</tr>
<tr class="row">
<td class="align-center" >缩略海报:</td>
<td><div style="float:left">
<input name="otherpic" type="text" id="otherpic" size="50" value="<?php echo $this->modify['otherpic'];?>" />
</div>
<div style="float:left; margin-left:5px;">
<iframe scrolling="no" src="<?php echo $this->installdir;?>?mod=upfile&action=index&item=otherpic" height="25" frameborder="0" width="320" >vodcms.com</iframe>
</div></td>
</tr>
<tr class="row">
<td class="align-center" >BT种子:</td>
<td><div style="float:left">
<input name="bt" type="text" id="bt" size="50" value="<?php echo $this->modify['bt'];?>" />
</div>
<div style="float:left; margin-left:5px;">
<iframe scrolling="no" src="<?php echo $this->installdir;?>?mod=upfile&action=index&item=bt" height="25" frameborder="0" width="320" >vodcms.com</iframe>
</div></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="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 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="urltype" type="radio" class="radio" value="1" onClick="$('#url1').hide();$('#url2').show();" checked="checked" />
默认模式
<input name="urltype" type="radio" class="radio" value="2" onClick="$('#url2').hide();$('#url1').show();" />
无规则列表</td>
</tr>
<tbody id="url1" class="None">
<tr class="row">
<td class="align-center" >地址列表:</td>
<td><textarea name="url" cols="70" rows="6"></textarea></td>
</tr>
</tbody>
<tbody id="url2">
<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="1" id="startnum" />
至
<input name="endnum" type="text" size="5" value="1" id="endnum" />
集 后缀名
<input name="ext" type="text" size="4" value=".rmvb" id="ext"/>
<input name="Submit3" type="button" class="btns" value="生成" id="seturl" />
<br />
<div id="urldata"></div></td>
</tr>
</tbody>
<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>
</form>
</div></td>
</tr>
</table>
<?php
echo $this->render('copyright');
?>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -