[!--text--]
<input name="[!--enews.var--]" type="text" id="[!--enews.var--]" value="<?=htmlspecialchars(stripSlashes($r[[!--enews.var--]]))?>">
[!--text--]
[!--password--]
<input name="[!--enews.var--]" type="password" id="[!--enews.var--]" value="<?=htmlspecialchars(stripSlashes($r[[!--enews.var--]]))?>">
[!--password--]
[!--select--]
<select name="[!--enews.var--]" id="[!--enews.var--]">
[!--enews.select.var--]
</select>
[!--select--]
[!--radio--]
<select name="[!--enews.var--]" id="[!--enews.var--]">
[!--enews.radio.var--]
</select>
[!--radio--]
[!--textarea--]
<textarea name="[!--enews.var--]" cols="60" rows="10" id="[!--enews.var--]"><?=htmlspecialchars(stripSlashes($r[[!--enews.var--]]))?></textarea>
[!--textarea--]
[!--img--]
<input name="[!--enews.var--]" type="text" id="[!--enews.var--]" value="<?=htmlspecialchars(stripSlashes($r[[!--enews.var--]]))?>" size="45">
<a onclick="window.open('editor/file.php?userid=<?=$logininid?>&username=<?=$loginin?>&rnd=<?=$loginrnd?>&type=1&classid=<?=$classid?>&filepass=<?=$filepass?>&doing=1&field=[!--enews.var--]','','width=700,height=550,scrollbars=yes');" title="选择已上传的图片"><img src="../data/images/changeimg.gif" border="0" align="absbottom"></a> 
[!--img--]
[!--flash--]
<input name="[!--enews.var--]" type="text" id="[!--enews.var--]" value="<?=htmlspecialchars(stripSlashes($r[[!--enews.var--]]))?>" size="45">
<a onclick="window.open('editor/file.php?userid=<?=$logininid?>&username=<?=$loginin?>&rnd=<?=$loginrnd?>&type=2&classid=<?=$classid?>&filepass=<?=$filepass?>&doing=1&field=[!--enews.var--]','','width=700,height=550,scrollbars=yes');" title="选择已上传的FLASH"><img src="../data/images/changeflash.gif" border="0" align="absbottom"></a> 
[!--flash--]
[!--file--]
<input name="[!--enews.var--]" type="text" id="[!--enews.var--]" value="<?=htmlspecialchars(stripSlashes($r[[!--enews.var--]]))?>" size="45">
<a onclick="window.open('editor/file.php?userid=<?=$logininid?>&username=<?=$loginin?>&rnd=<?=$loginrnd?>&type=0&classid=<?=$classid?>&filepass=<?=$filepass?>&doing=1&field=[!--enews.var--]','','width=700,height=550,scrollbars=yes');" title="选择已上传的文件"><img src="../data/images/changefile.gif" border="0" align="absbottom"></a>
[!--file--]
[!--newstext--]
<textarea id="newstext" name="newstext" style="height: 30em; width: 100%;"><?=stripSlashes($newstext)?></textarea>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#DBEAF5">
          <tr> 
            <td bgcolor="#FFFFFF"> <input name="dokey" type="checkbox" id="dokey2" value="1"<?=$dokey?>>
              关键字替换&nbsp;&nbsp; <input name="copyimg" type="checkbox" id="copyimg" value="1">
      <font color="#FF0000">远程保存图片(
      <input name="mark" type="checkbox" id="mark" value="1">
      <a href="SetEnews.php" target="_blank">加水印</a>)</font>&nbsp;&nbsp; 
      <input name="copyflash" type="checkbox" id="copyflash" value="1"> 
              <font color="#FF0000">远程保存FLASH</font>(地址前缀： 
              <input name="qz_url" type="text" id="qz_url" size="">
              )</td>
          </tr>
          <tr>
            <td bgcolor="#FFFFFF">内容自动分页 
              <input name="autopage" type="checkbox" id="autopage" value="1">
              ，每 
              <input name="autosize" type="text" id="autosize" value="5000" size="8">
              个字节为一页&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=checkbox name=getfirsttitlepic value=1>取第一张上传图作为标题图片</td>
          </tr>
        </table>
[!--newstext--]
[!--writer--]
<input type=text name=writer value="<?=htmlspecialchars(stripSlashes($r[writer]))?>"> 
        <select name="w_id" id="select7" onchange="document.add.writer.value=document.add.w_id.value">
          <option>选择作者</option>
		  <?=$w_class?>
        </select>
<input type="button" name="wbutton" value="增加作者" onclick="window.open('NewsSys/writer.php?addwritername='+document.add.writer.value);">
[!--writer--]
[!--befrom--]
<input type="text" name="befrom" value="<?=htmlspecialchars(stripSlashes($r[befrom]))?>"> 
        <select name="befrom_id" id="befromid" onchange="document.add.befrom.value=document.add.befrom_id.value">
          <option>选择信息来源</option>
          <?=$b_class?>
        </select>
<input type="button" name="wbutton" value="增加来源" onclick="window.open('NewsSys/BeFrom.php?addsitename='+document.add.befrom.value);">
[!--befrom--]
[!--downpath--]
<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>
[!--downpath--]
[!--onlinepath--]
<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>
[!--onlinepath--]
[!--morepic--]
<script>
function dopicadd()
{var i;
var str="";
var oldi=0;
var j=0;
oldi=parseInt(document.add.morepicnum.value);
for(i=1;i<=document.add.downmorepicnum.value;i++)
{
j=i+oldi;
str=str+"<tr><td width=7%><div align=center>"+j+"</div></td><td width=33%><div align=center><input name=msmallpic[] type=text size=28><br><input type=file name=msmallpfile[] size=15></div></td><td width=30%><div align=center><input name=mbigpic[] type=text size=28><br><input type=file name=mbigpfile[] size=15></div></td><td width=30%><div align=center><input name=mpicname[] type=text></div></td></tr>";
}
window.addpicdown.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="mpicurl_qz" type="text" id="mpicurl_qz" size="32">&nbsp;&nbsp;
	  <input type="checkbox" name="msavepic" value="1">远程保存图片
 </td>
  </tr>
  <tr> 
    <td><table width=100% border=0 align=center cellpadding=3 cellspacing=1>
  <tr bgcolor=#DBEAF5> 
    <td width=7%><div align=center>编号</div></td>
    <td width=33%><div align=center>缩图</div></td>
    <td width=30%><div align=center>大图</div></td>
    <td width=30%><div align=center>图片说明</div></td>
  </tr>
</table></td>
  </tr>
  <tr> 
    <td> 
      <?=$morepicpath?>
      <input name="morepicnum" type="hidden" id="morepicnum" value="<?=$morepicnum?>"> 
    </td>
  </tr>
  <tr> 
    <td height="25">地址扩展数量: 
      <input name="downmorepicnum" type="text" value="1" size="6"> <input type="button" name="Submit5" value="输出地址" onclick="javascript:dopicadd();"></td>
  </tr>
  <tr> 
    <td id=addpicdown></td>
  </tr>
</table>
[!--morepic--]