📄 post.htm
字号:
<!--
<?php
print <<<EOT
-->
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="MainTable">
<tr>
<td width="100%" height="393" valign="top" class="Main">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="guide">
<tr>
<td>{$GuideFid[$fid]}</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" class="dragTable" id="viewarticle">
<tr>
<td class="head"> 发布视频 </td>
</tr>
<tr>
<td class="middle">
<table width="99%" border="0" cellspacing="1" cellpadding="3" id="bigtable">
<form name="FORM" method="post" action="?action=$atc" enctype="multipart/form-data">
<tr>
<td width="18%">视频名称:</td>
<td width="82%">
<input type="text" name="postdb[title]" id="atc_title" size="50" value="$rsdb[title]">
</td>
</tr>
<tr>
<td width="18%">视频分类:</td>
<td width="82%">$sort_fid</td>
</tr>
<tr>
<td width="18%">视频作者:</td>
<td width="82%">
<input type="text" name="postdb[author]" value="$rsdb[author]">
</td>
</tr>
<tr>
<td width="18%">视频缩略图:
<SCRIPT LANGUAGE="JavaScript">
<!--
function choosef(i,t){
if(t=='out'){
document.getElementById("out_url"+i).style.display='';
document.getElementById("in_url"+i).style.display='none';
}else{
document.getElementById("out_url"+i).style.display='none';
document.getElementById("in_url"+i).style.display='';
}
}
function choosev(t){
i=2;
if(t=='out'){
document.getElementById("out_url"+i).style.display='';
document.getElementById("in_url"+i).style.display='none';
document.getElementById("cc_swf").style.display='none';
}else if(t=='in'){
document.getElementById("out_url"+i).style.display='none';
document.getElementById("in_url"+i).style.display='';
document.getElementById("cc_swf").style.display='none';
}else if(t=='cc'){
document.getElementById("out_url"+i).style.display='none';
document.getElementById("in_url"+i).style.display='none';
document.getElementById("cc_swf").style.display='';
}
}
function set_ccflv(t){
document.getElementById("out_url2").value=t;
document.getElementById("playtypeid").checked=true;
alert('上传成功,请注意,不能马上播放,要等待审核后才能播放.');
}
-->
</script>
</td>
<td width="82%">
<input type="text" name="postdb[picurl]" size="40" id="out_url1" value="$rsdb[picurl]">
<input type="file" name="local_file1" id="in_url1" style="display:none;">
<input type="radio" name="ftype[1]" value="out" checked onclick="choosef(1,'out')">
网络文件 <a style="display:$none;">
<input type="radio" name="ftype[1]" value="in" onclick="choosef(1,'in')">
本地文件</a> </td>
</tr>
<tr>
<td width="18%">需要哪种类型的播放器:</td>
<td width="82%">
<input type="radio" name="postdb[playtype]" value="avi" $playtype[avi]>
avi/wmv类型
<input type="radio" name="postdb[playtype]" value="rm" $playtype[rm]>
rm类型
<input type="radio" name="postdb[playtype]" value="swf" $playtype[swf] id="playtypeid">
swf类型
<input type="radio" name="postdb[playtype]" value="flv" $playtype[flv]>
flv类型
<input type="radio" name="postdb[playtype]" value="mp3" $playtype[mp3]>
mp3/wma类型
<input type="radio" name="postdb[playtype]" value="auto" $playtype[auto] >
系统自动选择 (当无视频后缀名时,需要人工指定,否则不能播放) </td>
</tr>
<tr>
<td width="18%">视频地址:</td>
<td width="82%">
<!--
EOT;
$detail=explode(",",$webdb[group_UpMv].',3,4');
if(!in_array($groupdb['gid'],$detail))$none='none;';
print <<<EOT
-->
<input type="text" name="postdb[videourl]" size="40" id="out_url2" value="$rsdb[videourl]">
<input type="file" name="local_file2" id="in_url2" style="display:none;">
<span id="cc_swf" style="display:none;"> 请点击右边按钮即可上传/录制视频<object width='86' height='22'>
<param name='wmode' value='transparent' />
<param name='allowScriptAccess' value='always' />
<param name='movie' value='http://union.bokecc.com/flash/plugin/plugin.swf?userID=$webdb[bokecc_id]&type=php168' />
<embed src='http://union.bokecc.com/flash/plugin/plugin.swf?userID=$webdb[bokecc_id]&type=php168' type='application/x-shockwave-flash' width='86' height='22' allowFullscreen='true' allowScriptAccess='always'>
</embed>
</object>
</span>
<input type="radio" name="ftype[2]" value="out" checked onclick="choosev('out')">
网络文件 <a style="display:$none;">
<input type="radio" name="ftype[2]" value="in" onclick="choosev('in')">
本地文件</a>
<input type="radio" name="ftype[2]" value="cc" onClick="choosev('cc')">
<font color="#0000FF">CC上传/录制</font> </td>
</tr>
<tr>
<td width="18%">视频介绍:</td>
<td width="82%">
<textarea name="postdb[content]" cols="50" rows="5">$rsdb[content]</textarea>
</td>
</tr>
<tr>
<td width="18%"> </td>
<td width="82%">
<input type="submit" name="Submit" value="提 交" class='submit'>
<input type="hidden" name="id" value="$id">
</td>
</tr>
</form>
</table>
</td>
</tr>
<tr>
<td class="foot">
<h3 class="L"></h3>
<h3 class="R"></h3>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--
EOT;
?>
-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -