<table width=100% align=center cellpadding=3 cellspacing=1 class=tableborder>
  <tr> 
    <td width=16% height=25 bgcolor=ffffff>影片名(*)</td>
    <td bgcolor=ffffff><table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
          <tr> 
            <td bgcolor="#FFFFFF"> <input type=text name=title value="<?=htmlspecialchars(stripSlashes($r[title]))?>" size=60> 
              <input type="button" name="button" value="图文" onclick="document.add.title.value=document.add.title.value+'(图文)';"> 
            </td>
          </tr>
          <tr> 
            <td bgcolor="#FFFFFF"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr> 
                  <td width="45%">属性： 
                    <input name="titlefont[b]" type="checkbox" id="titlefont[b]" value="b"<?=$titlefontb?>>
                    粗体 
                    <input name="titlefont[i]" type="checkbox" id="titlefont[i]" value="i"<?=$titlefonti?>>
                    斜体 
                    <input name="titlefont[s]" type="checkbox" id="titlefont[s]" value="s"<?=$titlefonts?>>
                    删除线</td>
                  <td width="55%">颜色： 
                    <input name="titlecolor" type="text" id="titlecolor" value="<?=stripSlashes($r[titlecolor])?>" size="10"> 
                    <a onclick="foreColor();"><img src="../data/images/color.gif" width="21" height="21" align="absbottom"></a></td>
                </tr>
              </table></td>
          </tr>
        </table></td>
  </tr>
  <tr> 
    <td width=16% height=25 bgcolor=ffffff>发布时间</td>
    <td bgcolor=ffffff><input name="newstime" type="text" id="newstime" value="<?=$r[newstime]?>"><input type=button name=button value="设为当前时间" onclick="document.add.newstime.value='<?=$todaytime?>'"></td>
  </tr>
  <tr> 
    <td width=16% height=25 bgcolor=ffffff>影片缩略图</td>
    <td bgcolor=ffffff><input name="titlepic" type="text" id="titlepic" value="<?=stripSlashes($r[titlepic])?>" size="56"> 
        <a onclick="window.open('editor/file.php?userid=<?=$logininid?>&username=<?=$loginin?>&rnd=<?=$loginrnd?>&type=1&classid=<?=$classid?>&filepass=<?=$filepass?>&doing=1&field=titlepic','','width=700,height=550,scrollbars=yes');" title="选择已上传的图片"><img src="../data/images/changeimg.gif" width="22" height="22" border="0" align="absbottom"></a>(用于图片调用信息) </td>
  </tr>
  <tr> 
    <td width=16% height=25 bgcolor=ffffff>影片类型</td>
    <td bgcolor=ffffff><select name="movietype" id="movietype">
<option value="港台影视"<?=$r[movietype]=="港台影视"?' selected':''?>>港台影视</option>
<option value="海外影视"<?=$r[movietype]=="海外影视"?' selected':''?>>海外影视</option>
<option value="大陆影视"<?=$r[movietype]=="大陆影视"?' selected':''?>>大陆影视</option>
<option value="日韩影视"<?=$r[movietype]=="日韩影视"?' selected':''?>>日韩影视</option>
</select></td>
  </tr>
  <tr> 
    <td width=16% height=25 bgcolor=ffffff>出品公司</td>
    <td bgcolor=ffffff>
<input name="company" type="text" id="company" value="<?=htmlspecialchars(stripSlashes($r[company]))?>">
，出品时间：
<input name="movietime" type="text" id="movietime" value="<?=htmlspecialchars(stripSlashes($r[movietime]))?>">
</td>
  </tr>
  <tr> 
    <td width=16% height=25 bgcolor=ffffff>主演</td>
    <td bgcolor=ffffff>
<input name="player" type="text" id="player" value="<?=htmlspecialchars(stripSlashes($r[player]))?>">
，导演：
<input name="playadmin" type="text" id="playadmin" value="<?=htmlspecialchars(stripSlashes($r[playadmin]))?>">
</td>
  </tr>
  <tr> 
    <td width=16% height=25 bgcolor=ffffff>影片文件</td>
    <td bgcolor=ffffff>影片格式：<input name="filetype" type="text" size=8 id="filetype" value="<?=htmlspecialchars(stripSlashes($r[filetype]))?>">
<select name="select2" onchange="document.add.filetype.value=this.value">
        <option value="">类型</option>
        <option value=".rm">.rm</option>
        <option value=".rmvb">.rmvb</option>
        <option value=".mp3">.mp3</option>
        <option value=".asf">.asf</option>
        <option value=".wmv">.wmv</option>
        <option value=".avi">.avi</option>
      </select>，影片大小：<input name="filesize" type="text" size=12 id="filesize" value="<?=htmlspecialchars(stripSlashes($r[filesize]))?>">
<select name="select" onchange="document.add.filesize.value+=this.value">
        <option value="">单位</option>
        <option value=" MB">MB</option>
        <option value=" KB">KB</option>
        <option value=" GB">GB</option>
        <option value=" BYTES">BYTES</option>
      </select></td>
  </tr>
  <tr> 
    <td width=16% height=25 bgcolor=ffffff>推荐等级</td>
    <td bgcolor=ffffff><select name="star" id="star">
<option value="1"<?=$r[star]=="1"?' selected':''?>>1星</option>
<option value="2"<?=$r[star]=="2"?' selected':''?>>2星</option>
<option value="3"<?=$r[star]=="3"?' selected':''?>>3星</option>
<option value="4"<?=$r[star]=="4"?' selected':''?>>4星</option>
<option value="5"<?=$r[star]=="5"?' selected':''?>>5星</option>
</select></td>
  </tr>
  <tr> 
    <td width=16% height=25 bgcolor=ffffff>影片属性</td>
    <td bgcolor=ffffff>带宽要求：
<input name="playdk" type="text" id="playdk" value="<?=htmlspecialchars(stripSlashes($r[playdk]))?>">
，片长：
<input name="playtime" type="text" id="playtime" value="<?=htmlspecialchars(stripSlashes($r[playtime]))?>">
</td>
  </tr>
  <tr> 
    <td width=16% height=25 bgcolor=ffffff>扣除点数</td>
    <td bgcolor=ffffff>
<input name="moviefen" type="text" id="moviefen" value="<?=htmlspecialchars(stripSlashes($r[moviefen]))?>">
</td>
  </tr>
  <tr> 
    <td width=16% height=25 bgcolor=ffffff>下载地址</td>
    <td bgcolor=ffffff>
<script>
function doadd()
{var i;
var str="";
var oldi=0;
var j=0;
oldi=parseInt(document.add.editnum.value);
for(i=1;i<=document.add.downnum.value;i++)
{
j=i+oldi;
str=str+"<tr><td width=7%> <div align=center>"+j+"</div></td><td width=19%><div align=left><input name=downname[] type=text id=downname[] value=下载地址"+j+" size=17></div></td><td width=40%><input name=downpath[] type=text id=downpath[] size=36><select name=thedownqz[]><option value=''>--地址前缀--</option><?=$newdownqz?></select></td><td width=21%><div align=center><select name=downuser[] id=select><option value=0>游客</option><?=$ygroup?></select></div></td><td width=13%><div align=center><input name=fen[] type=text id=fen[] value=0 size=6></div></td></tr>";
}
window.adddown.innerHTML="<table width=100% border=0 cellspacing=1 cellpadding=3>"+str+"</table>";
}
</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="25">
	<input name="editnum" type="hidden" id="editnum" value="<?=$editnum?>">
	下载地址前缀:
      <input name="downurl_qz" type="text" size="32">
      <select name="changeurl_qz" onchange="document.add.downurl_qz.value=document.add.changeurl_qz.value">
        <option value="" selected>选择前缀</option>
        <?=$downurlqz?>
      </select></td>
  </tr>
  <tr>
    <td height="25">选择/上传附件:
      <input name="changedown_url" type="text" size="32">
      <input type="button" name="Submit" value="选择" onclick="window.open('editor/file.php?userid=<?=$logininid?>&username=<?=$loginin?>&rnd=<?=$loginrnd?>&type=0&classid=<?=$classid?>&filepass=<?=$filepass?>&doing=1&field=changedown_url','','width=700,height=550,scrollbars=yes');"></td>
  </tr>
  <tr> 
    <td><table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
        <tr> 
          <td width="7%"> <div align="center">编号</div></td>
          <td width="19%"><div align="left">下载名称</div></td>
          <td width="40%">下载地址 </td>
          <td width="21%"> <div align="center">权限</div></td>
          <td width="13%"> <div align="center">点数</div></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td>
      <?=$downloadpath?>
    </td>
  </tr>
  <tr> 
    <td height="25">下载地址扩展数量: 
      <input name="downnum" type="text" id="downnum" value="1" size="6"> <input type="button" name="Submit5" value="输出地址" onclick="javascript:doadd();"></td>
  </tr>
  <tr> 
    <td id=adddown></td>
  </tr>
</table>
</td>
  </tr>
  <tr> 
    <td width=16% height=25 bgcolor=ffffff>在线观看地址</td>
    <td bgcolor=ffffff>
<script>
function dooadd()
{var i;
var str="";
var oldi=0;
var j=0;
oldi=parseInt(document.add.oeditnum.value);
for(i=1;i<=document.add.odownnum.value;i++)
{
j=i+oldi;
str=str+"<tr><td width=7%> <div align=center>"+j+"</div></td><td width=19%><div align=left><input name=odownname[] type=text value="+j+" size=17></div></td><td width=40%><input name=odownpath[] type=text size=36><select name=othedownqz[]><option value=''>--地址前缀--</option><?=$newdownqz?></select></td><td width=21%><div align=center><select name=odownuser[] id=select><option value=0>游客</option><?=$ygroup?></select></div></td><td width=13%><div align=center><input name=ofen[] type=text value=0 size=6></div></td></tr>";
}
window.addonline.innerHTML="<table width=100% border=0 cellspacing=1 cellpadding=3>"+str+"</table>";
}
</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="25">使用播放器:
<input type="radio" name="wplay" value="0"<?=$wplay0?>>
      RealPlayer 
      <input type="radio" name="wplay" value="1"<?=$wplay1?>>
      MediaPlayer</td>
  </tr>
  <tr> 
    <td height="25"> <input name="oeditnum" type="hidden" id="oeditnum" value="<?=$oeditnum?>">
      观看地址前缀: 
      <input name="onlineurl_qz" type="text" size="32"> <select name="changeonlineurl_qz" onchange="document.add.onlineurl_qz.value=document.add.changeonlineurl_qz.value">
        <option value="" selected>选择前缀</option>
        <?=$downurlqz?>
      </select></td>
  </tr>
  <tr> 
    <td height="25">选择/上传附件: 
      <input name="changeonline_url" type="text" size="32"> <input type="button" name="Submit" value="选择" onclick="window.open('editor/file.php?userid=<?=$logininid?>&username=<?=$loginin?>&rnd=<?=$loginrnd?>&type=0&classid=<?=$classid?>&filepass=<?=$filepass?>&doing=1&field=changeonline_url','','width=700,height=550,scrollbars=yes');"></td>
  </tr>
  <tr> 
    <td><table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
        <tr> 
          <td width="7%"> <div align="center">编号</div></td>
          <td width="19%"><div align="left">观看名称</div></td>
          <td width="40%">观看地址 </td>
          <td width="21%"> <div align="center">权限</div></td>
          <td width="13%"> <div align="center">点数</div></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td> 
      <?=$onlinemoviepath?>
    </td>
  </tr>
  <tr> 
    <td height="25">在线地址扩展数量: 
      <input name="odownnum" type="text" id="odownnum" value="1" size="6"> <input type="button" name="Submit5" value="输出地址" onclick="javascript:dooadd();"></td>
  </tr>
  <tr> 
    <td id=addonline></td>
  </tr>
</table>
</td>
  </tr>
  <tr> 
    <td width=16% height=25 bgcolor=ffffff>影片简介(*)</td>
    <td bgcolor=ffffff><textarea name="moviesay" cols="80" rows="10" id="moviesay"><?=htmlspecialchars(stripSlashes($r[moviesay]))?></textarea>
</td>
  </tr>
</table>
<table width=100% align=center cellpadding=3 cellspacing=1 class="tableborder">
  <tr>
    <td class=header>特殊属性</td>
  </tr>
  <tr>
    <td bgcolor=ffffff> <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
  <tr> 
    <td height="25" bgcolor="#FFFFFF"> <input name="isgood" type="checkbox" id="isgood2" value="1"<?=$isgood?>>
      推荐&nbsp;&nbsp; <input name="checked" type="checkbox" id="checked4" value="1"<?=$checked?>>
      审核&nbsp;&nbsp; <input name="firsttitle" type="checkbox" id="firsttitle2" value="1"<?=$firsttitle?>>
      头条&nbsp;&nbsp;&nbsp;<strong>&nbsp;置顶级别：</strong> <select name="istop" id="select3">
        <option value="0"<?=$istop0?>>0级置顶</option>
        <option value="1"<?=$istop1?>>1级置顶</option>
        <option value="2"<?=$istop2?>>2级置顶</option>
        <option value="3"<?=$istop3?>>3级置顶</option>
        <option value="4"<?=$istop4?>>4级置顶</option>
        <option value="5"<?=$istop5?>>5级置顶</option>
        <option value="6"<?=$istop6?>>6级置顶</option>
      </select> <strong>所用内容模板:</strong> <select name="newstempid" id="select4">
        <?=$newstemp?>
      </select> </td>
  </tr>
  <tr> 
    <td height="25" bgcolor="#FFFFFF"><strong>权限设置:</strong> <select name="fh" id="select5">
        <option value="0"<?=$fh0?>>&gt;=</option>
        <option value="1"<?=$fh1?>>=</option>
      </select> <select name="groupid" id="select6">
        <option value="0">游客</option>
        <?=$group?>
      </select>
      查看扣除点数: 
      <input name="userfen" type="text" id="userfen" value="<?=$r[userfen]?>" size="6">
      (&quot;=&quot;：本级别的用户才能查看[对游客无效])</td>
  </tr>
  <tr> 
    <td height="25" bgcolor="#FFFFFF">文件名前缀: <input name="filenameqz" type="text" id="filenameqz" value="<?=stripSlashes($r[filenameqz])?>">
      (如photeshop_),<input type=checkbox name=closepl value=1<?=$r[closepl]==1?" checked":""?>>关闭评论</td>
  </tr>
</table>
        <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
          <tr> 
            <td height="25">签发(多个签发人员，请用&quot;,&quot;格开．不想使用签发，请留空) </td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"> <input name="checkuser" type="text" id="checkuser" value="<?=stripSlashes($r[checkuser])?>" size="66"<?=$checkuserreadonly?>> 
              <?=$changeuser?> 
            </td>
          </tr>
          <tr>
            <td height="25" bgcolor="#FFFFFF"><input name="recheckuser" type="checkbox" id="recheckuser" value="1">
              重新签发（稿件被退下来后重新提交给未签发的人员的操作，如修改签发人员，所有人员需重新签发）</td>
          </tr>
        </table>
        <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
          <tr> 
            <td height="25">所属专题:</td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF"> 
              <?=$z_class?>
            </td>
          </tr>
        </table> <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
          <tr> 
            <td height="25" bgcolor="#FFFFFF"><strong>关键字:</strong> <input name="keyboard" type="text" id="keyboard" size="43" value="<?=stripSlashes($r[keyboard])?>">
              (多个请用&quot;,&quot;格开)</td>
          </tr>
          <tr> 
            <td height="25" bgcolor="#FFFFFF">外部链接: 
              <input name="titleurl" type="text" id="titleurl2" value="<?=stripSlashes($r[titleurl])?>" size="42">
              (填写后标题的连接地址将是此链接)</td>
          </tr>
        </table></td>
  </tr>
</table>