<?php
@include("../../inc/header.php");

/*
		SoftName : Ebak
		Author   : wm_chief
		Copyright: Power by www.phome.net
*/

$empire->query("DROP TABLE IF EXISTS `phome_enewsf`;");
$empire->query("CREATE TABLE `phome_enewsf` (
  `fid` smallint(6) NOT NULL auto_increment,
  `f` varchar(30) NOT NULL default '',
  `fname` varchar(30) NOT NULL default '',
  `fform` varchar(20) NOT NULL default '',
  `fhtml` mediumtext NOT NULL,
  `fzs` varchar(255) NOT NULL default '',
  `isadd` tinyint(1) NOT NULL default '0',
  `isshow` tinyint(1) NOT NULL default '0',
  `iscj` tinyint(1) NOT NULL default '0',
  `cjhtml` mediumtext NOT NULL,
  `myorder` smallint(6) NOT NULL default '0',
  `ftype` varchar(30) NOT NULL default '',
  `flen` varchar(20) NOT NULL default '',
  `dotemp` tinyint(1) NOT NULL default '0',
  `tid` smallint(6) NOT NULL default '0',
  `tbname` varchar(60) NOT NULL default '',
  `savetxt` tinyint(1) NOT NULL default '0',
  `fvalue` text NOT NULL,
  `iskey` tinyint(1) NOT NULL default '0',
  `tobr` tinyint(1) NOT NULL default '0',
  `dohtml` tinyint(1) NOT NULL default '0',
  `qfhtml` mediumtext NOT NULL,
  PRIMARY KEY  (`fid`),
  KEY `tid` (`tid`)
) ENGINE=MyISAM DEFAULT CHARSET=gbk");
$empire->query("replace into `phome_enewsf` values('1','title','标题','text','<table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" cellpadding=\\\\\"3\\\\\" cellspacing=\\\\\"1\\\\\" bgcolor=\\\\\"#DBEAF5\\\\\">\r\n          <tr> \r\n            <td bgcolor=\\\\\"#FFFFFF\\\\\"> <input type=text name=title value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[title]))?>\\\\\" size=60> \r\n              <input type=\\\\\"button\\\\\" name=\\\\\"button\\\\\" value=\\\\\"图文\\\\\" onclick=\\\\\"document.add.title.value=document.add.title.value+\\\\''(图文)\\\\'';\\\\\"> \r\n            </td>\r\n          </tr>\r\n          <tr> \r\n            <td bgcolor=\\\\\"#FFFFFF\\\\\"> <table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" align=\\\\\"center\\\\\" cellpadding=\\\\\"0\\\\\" cellspacing=\\\\\"0\\\\\">\r\n                <tr> \r\n                  <td width=\\\\\"45%\\\\\">属性： \r\n                    <input name=\\\\\"titlefont[b]\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"titlefont[b]\\\\\" value=\\\\\"b\\\\\"<?=\$titlefontb?>>\r\n                    粗体 \r\n                    <input name=\\\\\"titlefont[i]\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"titlefont[i]\\\\\" value=\\\\\"i\\\\\"<?=\$titlefonti?>>\r\n                    斜体 \r\n                    <input name=\\\\\"titlefont[s]\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"titlefont[s]\\\\\" value=\\\\\"s\\\\\"<?=\$titlefonts?>>\r\n                    删除线</td>\r\n                  <td width=\\\\\"55%\\\\\">颜色： \r\n                    <input name=\\\\\"titlecolor\\\\\" type=\\\\\"text\\\\\" id=\\\\\"titlecolor\\\\\" value=\\\\\"<?=stripSlashes(\$r[titlecolor])?>\\\\\" size=\\\\\"10\\\\\"> \r\n                    <a onclick=\\\\\"foreColor();\\\\\"><img src=\\\\\"../data/images/color.gif\\\\\" width=\\\\\"21\\\\\" height=\\\\\"21\\\\\" align=\\\\\"absbottom\\\\\"></a></td>\r\n                </tr>\r\n              </table></td>\r\n          </tr>\r\n        </table>','标题','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--title--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_title]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_title]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_title]\" type=\"text\" id=\"add[z_title]\" value=\"<?=stripSlashes(\$r[z_title])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>','0','','0','1','1','news','1','','0','1','1','<input name=\\\\\"title\\\\\" type=\\\\\"text\\\\\" size=30 id=\\\\\"title\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''title\\\\'',stripSlashes(\$r[title]))?>\\\\\">');");
$empire->query("replace into `phome_enewsf` values('2','special.field','特殊属性','',' <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\"> <input name=\"isgood\" type=\"checkbox\" id=\"isgood2\" value=\"1\"<?=\$isgood?>>\r\n      推荐&nbsp;&nbsp; <input name=\"checked\" type=\"checkbox\" id=\"checked4\" value=\"1\"<?=\$checked?>>\r\n      审核&nbsp;&nbsp; <input name=\"firsttitle\" type=\"checkbox\" id=\"firsttitle2\" value=\"1\"<?=\$firsttitle?>>\r\n      头条&nbsp;&nbsp;&nbsp;<strong>&nbsp;置顶级别：</strong> <select name=\"istop\" id=\"select3\">\r\n        <option value=\"0\"<?=\$istop0?>>0级置顶</option>\r\n        <option value=\"1\"<?=\$istop1?>>1级置顶</option>\r\n        <option value=\"2\"<?=\$istop2?>>2级置顶</option>\r\n        <option value=\"3\"<?=\$istop3?>>3级置顶</option>\r\n        <option value=\"4\"<?=\$istop4?>>4级置顶</option>\r\n        <option value=\"5\"<?=\$istop5?>>5级置顶</option>\r\n        <option value=\"6\"<?=\$istop6?>>6级置顶</option>\r\n      </select> <strong>所用内容模板:</strong> <select name=\"newstempid\" id=\"select4\">\r\n        <?=\$newstemp?>\r\n      </select> </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\"><strong>权限设置:</strong> <select name=\"fh\" id=\"select5\">\r\n        <option value=\"0\"<?=\$fh0?>>&gt;=</option>\r\n        <option value=\"1\"<?=\$fh1?>>=</option>\r\n      </select> <select name=\"groupid\" id=\"select6\">\r\n        <option value=\"0\">游客</option>\r\n        <?=\$group?>\r\n      </select>\r\n      查看扣除点数: \r\n      <input name=\"userfen\" type=\"text\" id=\"userfen\" value=\"<?=\$r[userfen]?>\" size=\"6\">\r\n      (&quot;=&quot;：本级别的用户才能查看[对游客无效])</td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\">文件名前缀: <input name=\"filenameqz\" type=\"text\" id=\"filenameqz\" value=\"<?=stripSlashes(\$r[filenameqz])?>\">\r\n      (如photeshop_),<input type=checkbox name=closepl value=1<?=\$r[closepl]==1?\" checked\":\"\"?>>关闭评论</td>\r\n  </tr>\r\n</table>\r\n        <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\">签发(多个签发人员，请用&quot;,&quot;格开．不想使用签发，请留空) </td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"> <input name=\"checkuser\" type=\"text\" id=\"checkuser\" value=\"<?=stripSlashes(\$r[checkuser])?>\" size=\"66\"<?=\$checkuserreadonly?>> \r\n              <?=\$changeuser?> \r\n            </td>\r\n          </tr>\r\n          <tr>\r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"><input name=\"recheckuser\" type=\"checkbox\" id=\"recheckuser\" value=\"1\">\r\n              重新签发（稿件被退下来后重新提交给未签发的人员的操作，如修改签发人员，所有人员需重新签发）</td>\r\n          </tr>\r\n        </table>\r\n        <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\">所属专题:</td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"> \r\n              <?=\$z_class?>\r\n            </td>\r\n          </tr>\r\n        </table> <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"><strong>关键字:</strong> <input name=\"keyboard\" type=\"text\" id=\"keyboard\" size=\"43\" value=\"<?=stripSlashes(\$r[keyboard])?>\">\r\n              (多个请用&quot;,&quot;格开)</td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\">外部链接: \r\n              <input name=\"titleurl\" type=\"text\" id=\"titleurl2\" value=\"<?=stripSlashes(\$r[titleurl])?>\" size=\"42\">\r\n              (填写后标题的连接地址将是此链接)</td>\r\n          </tr>\r\n        </table>','特殊属性','0','1','0','','1','','0','0','1','news','1','','0','1','1','');");
$empire->query("replace into `phome_enewsf` values('3','titlepic','标题图片','img','<input name=\"titlepic\" type=\"text\" id=\"titlepic\" value=\"<?=stripSlashes(\$r[titlepic])?>\" size=\"56\"> \r\n        <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>(用于图片调用信息) ','标题图片','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      ( \r\n      <input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--titlepic--]\" size=\"20\">\r\n      )</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n    <tr>\r\n      <td>附件前缀 \r\n        <input name=\"add[qz_titlepic]\" type=\"text\" id=\"add[qz_titlepic]\" value=\"<?=stripSlashes(\$r[qz_titlepic])?>\"> \r\n        <input name=\"add[save_titlepic]\" type=\"checkbox\" id=\"add[save_titlepic]\" value=\" checked\"<?=\$r[save_titlepic]?>>\r\n        远程保存 </td>\r\n    </tr>\r\n    <tr> \r\n      <td><textarea name=\"add[zz_titlepic]\" cols=\"60\" rows=\"10\" id=\"add[zz_titlepic]\"><?=htmlspecialchars(stripSlashes(\$r[zz_titlepic]))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name=\"add[z_titlepic]\" type=\"text\" id=\"titlepic5\" value=\"<?=stripSlashes(\$r[z_titlepic])?>\">\r\n        (如填写这里，这就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>','2','','0','1','1','news','1','','0','1','1','<input type=\"file\" name=\"titlepicfile\">');");
$empire->query("replace into `phome_enewsf` values('4','newstime','发布时间','','<input name=\"newstime\" type=\"text\" id=\"newstime\" value=\"<?=\$r[newstime]?>\"><input type=button name=button value=\"设为当前时间\" onclick=\"document.add.newstime.value=''<?=\$todaytime?>''\">','发布时间','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--newstime--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_newstime]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_newstime]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_newstime]\" type=\"text\" id=\"add[z_newstime]\" value=\"<?=stripSlashes(\$r[z_newstime])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>','1','','0','1','1','news','1','','0','1','1','');");
$empire->query("replace into `phome_enewsf` values('5','ftitle','副标题','text','<input name=\\\\\"ftitle\\\\\" type=\\\\\"text\\\\\" size=60 id=\\\\\"ftitle\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[ftitle]))?>\\\\\">\r\n','副标题','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--ftitle--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_ftitle]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_ftitle]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_ftitle]\" type=\"text\" id=\"add[z_ftitle]\" value=\"<?=stripSlashes(\$r[z_ftitle])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','0','VARCHAR','200','1','1','news','0','','0','1','1','<input name=\\\\\"ftitle\\\\\" type=\\\\\"text\\\\\" size=30 id=\\\\\"ftitle\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''ftitle\\\\'',stripSlashes(\$r[ftitle]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('6','smalltext','内容简介','textarea','<textarea name=\\\\\"smalltext\\\\\" cols=\\\\\"80\\\\\" rows=\\\\\"10\\\\\" id=\\\\\"smalltext\\\\\"><?=htmlspecialchars(stripSlashes(\$r[smalltext]))?></textarea>\r\n','内容简介','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--smalltext--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_smalltext]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_smalltext]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_smalltext]\" type=\"text\" id=\"add[z_smalltext]\" value=\"<?=stripSlashes(\$r[z_smalltext])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','2','TEXT','','1','1','news','0','','0','1','1','<textarea name=\\\\\"smalltext\\\\\" cols=\\\\\"60\\\\\" rows=\\\\\"10\\\\\" id=\\\\\"smalltext\\\\\"><?=DoReqValue(\$tbname,\\\\''smalltext\\\\'',stripSlashes(\$r[smalltext]))?></textarea>\r\n');");
$empire->query("replace into `phome_enewsf` values('7','writer','作者','text','<input type=text name=writer value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[writer]))?>\\\\\"> \r\n        <select name=\\\\\"w_id\\\\\" id=\\\\\"select7\\\\\" onchange=\\\\\"document.add.writer.value=document.add.w_id.value\\\\\">\r\n          <option>选择作者</option>\r\n		  <?=\$w_class?>\r\n        </select>\r\n<input type=\\\\\"button\\\\\" name=\\\\\"wbutton\\\\\" value=\\\\\"增加作者\\\\\" onclick=\\\\\"window.open(\\\\''NewsSys/writer.php?addwritername=\\\\''+document.add.writer.value);\\\\\">\r\n','作者','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--writer--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_writer]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_writer]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_writer]\" type=\"text\" id=\"add[z_writer]\" value=\"<?=stripSlashes(\$r[z_writer])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','2','VARCHAR','30','1','1','news','0','','0','1','1','<input name=\\\\\"writer\\\\\" type=\\\\\"text\\\\\" size=30 id=\\\\\"writer\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''writer\\\\'',stripSlashes(\$r[writer]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('8','befrom','信息来源','text','<input type=\\\\\"text\\\\\" name=\\\\\"befrom\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[befrom]))?>\\\\\"> \r\n        <select name=\\\\\"befrom_id\\\\\" id=\\\\\"befromid\\\\\" onchange=\\\\\"document.add.befrom.value=document.add.befrom_id.value\\\\\">\r\n          <option>选择信息来源</option>\r\n          <?=\$b_class?>\r\n        </select>\r\n<input type=\\\\\"button\\\\\" name=\\\\\"wbutton\\\\\" value=\\\\\"增加来源\\\\\" onclick=\\\\\"window.open(\\\\''NewsSys/BeFrom.php?addsitename=\\\\''+document.add.befrom.value);\\\\\">\r\n','信息来源','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--befrom--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_befrom]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_befrom]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_befrom]\" type=\"text\" id=\"add[z_befrom]\" value=\"<?=stripSlashes(\$r[z_befrom])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','2','VARCHAR','60','1','1','news','0','','0','1','1','<input name=\\\\\"befrom\\\\\" type=\\\\\"text\\\\\" size=30 id=\\\\\"befrom\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''befrom\\\\'',stripSlashes(\$r[befrom]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('9','newstext','新闻正文','text','\r\n<textarea id=\"newstext\" name=\"newstext\" style=\"height: 30em; width: 100%;\"><?=stripSlashes(\$newstext)?></textarea>\r\n<table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td bgcolor=\"#FFFFFF\"> <input name=\"dokey\" type=\"checkbox\" id=\"dokey2\" value=\"1\"<?=\$dokey?>>\r\n              关键字替换&nbsp;&nbsp; <input name=\"copyimg\" type=\"checkbox\" id=\"copyimg\" value=\"1\">\r\n      <font color=\"#FF0000\">远程保存图片(\r\n      <input name=\"mark\" type=\"checkbox\" id=\"mark\" value=\"1\">\r\n      <a href=\"SetEnews.php\" target=\"_blank\">加水印</a>)</font>&nbsp;&nbsp; \r\n      <input name=\"copyflash\" type=\"checkbox\" id=\"copyflash\" value=\"1\"> \r\n              <font color=\"#FF0000\">远程保存FLASH</font>(地址前缀： \r\n              <input name=\"qz_url\" type=\"text\" id=\"qz_url\" size=\"\">\r\n              )</td>\r\n          </tr>\r\n          <tr>\r\n            <td bgcolor=\"#FFFFFF\">内容自动分页 \r\n              <input name=\"autopage\" type=\"checkbox\" id=\"autopage\" value=\"1\">\r\n              ，每 \r\n              <input name=\"autosize\" type=\"text\" id=\"autosize\" value=\"5000\" size=\"8\">\r\n              个字节为一页&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=checkbox name=getfirsttitlepic value=1>取第一张上传图作为标题图片</td>\r\n          </tr>\r\n        </table>\r\n','新闻正文','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--newstext--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_newstext]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_newstext]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_newstext]\" type=\"text\" id=\"add[z_newstext]\" value=\"<?=stripSlashes(\$r[z_newstext])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','2','MEDIUMTEXT','','1','1','news','0','','0','1','1','\r\n<textarea id=\"newstext\" name=\"newstext\" style=\"height: 30em; width: 100%;\"><?=htmlspecialchars(stripSlashes(DoReqNewstext(\$tbname,\$r[newstext])))?></textarea>\r\n');");
$empire->query("replace into `phome_enewsf` values('10','title','标题','text','<table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" cellpadding=\\\\\"3\\\\\" cellspacing=\\\\\"1\\\\\" bgcolor=\\\\\"#DBEAF5\\\\\">\r\n          <tr> \r\n            <td bgcolor=\\\\\"#FFFFFF\\\\\"> <input type=text name=title value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[title]))?>\\\\\" size=60> \r\n              <input type=\\\\\"button\\\\\" name=\\\\\"button\\\\\" value=\\\\\"图文\\\\\" onclick=\\\\\"document.add.title.value=document.add.title.value+\\\\''(图文)\\\\'';\\\\\"> \r\n            </td>\r\n          </tr>\r\n          <tr> \r\n            <td bgcolor=\\\\\"#FFFFFF\\\\\"> <table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" align=\\\\\"center\\\\\" cellpadding=\\\\\"0\\\\\" cellspacing=\\\\\"0\\\\\">\r\n                <tr> \r\n                  <td width=\\\\\"45%\\\\\">属性： \r\n                    <input name=\\\\\"titlefont[b]\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"titlefont[b]\\\\\" value=\\\\\"b\\\\\"<?=\$titlefontb?>>\r\n                    粗体 \r\n                    <input name=\\\\\"titlefont[i]\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"titlefont[i]\\\\\" value=\\\\\"i\\\\\"<?=\$titlefonti?>>\r\n                    斜体 \r\n                    <input name=\\\\\"titlefont[s]\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"titlefont[s]\\\\\" value=\\\\\"s\\\\\"<?=\$titlefonts?>>\r\n                    删除线</td>\r\n                  <td width=\\\\\"55%\\\\\">颜色： \r\n                    <input name=\\\\\"titlecolor\\\\\" type=\\\\\"text\\\\\" id=\\\\\"titlecolor\\\\\" value=\\\\\"<?=stripSlashes(\$r[titlecolor])?>\\\\\" size=\\\\\"10\\\\\"> \r\n                    <a onclick=\\\\\"foreColor();\\\\\"><img src=\\\\\"../data/images/color.gif\\\\\" width=\\\\\"21\\\\\" height=\\\\\"21\\\\\" align=\\\\\"absbottom\\\\\"></a></td>\r\n                </tr>\r\n              </table></td>\r\n          </tr>\r\n        </table>','标题','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--title--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_title]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_title]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_title]\" type=\"text\" id=\"add[z_title]\" value=\"<?=stripSlashes(\$r[z_title])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>','0','','0','1','2','download','1','','0','1','1','<input name=\\\\\"title\\\\\" type=\\\\\"text\\\\\" size=30 id=\\\\\"title\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''title\\\\'',stripSlashes(\$r[title]))?>\\\\\">');");
$empire->query("replace into `phome_enewsf` values('11','special.field','特殊属性','',' <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\"> <input name=\"isgood\" type=\"checkbox\" id=\"isgood2\" value=\"1\"<?=\$isgood?>>\r\n      推荐&nbsp;&nbsp; <input name=\"checked\" type=\"checkbox\" id=\"checked4\" value=\"1\"<?=\$checked?>>\r\n      审核&nbsp;&nbsp; <input name=\"firsttitle\" type=\"checkbox\" id=\"firsttitle2\" value=\"1\"<?=\$firsttitle?>>\r\n      头条&nbsp;&nbsp;&nbsp;<strong>&nbsp;置顶级别：</strong> <select name=\"istop\" id=\"select3\">\r\n        <option value=\"0\"<?=\$istop0?>>0级置顶</option>\r\n        <option value=\"1\"<?=\$istop1?>>1级置顶</option>\r\n        <option value=\"2\"<?=\$istop2?>>2级置顶</option>\r\n        <option value=\"3\"<?=\$istop3?>>3级置顶</option>\r\n        <option value=\"4\"<?=\$istop4?>>4级置顶</option>\r\n        <option value=\"5\"<?=\$istop5?>>5级置顶</option>\r\n        <option value=\"6\"<?=\$istop6?>>6级置顶</option>\r\n      </select> <strong>所用内容模板:</strong> <select name=\"newstempid\" id=\"select4\">\r\n        <?=\$newstemp?>\r\n      </select> </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\"><strong>权限设置:</strong> <select name=\"fh\" id=\"select5\">\r\n        <option value=\"0\"<?=\$fh0?>>&gt;=</option>\r\n        <option value=\"1\"<?=\$fh1?>>=</option>\r\n      </select> <select name=\"groupid\" id=\"select6\">\r\n        <option value=\"0\">游客</option>\r\n        <?=\$group?>\r\n      </select>\r\n      查看扣除点数: \r\n      <input name=\"userfen\" type=\"text\" id=\"userfen\" value=\"<?=\$r[userfen]?>\" size=\"6\">\r\n      (&quot;=&quot;：本级别的用户才能查看[对游客无效])</td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\">文件名前缀: <input name=\"filenameqz\" type=\"text\" id=\"filenameqz\" value=\"<?=stripSlashes(\$r[filenameqz])?>\">\r\n      (如photeshop_),<input type=checkbox name=closepl value=1<?=\$r[closepl]==1?\" checked\":\"\"?>>关闭评论</td>\r\n  </tr>\r\n</table>\r\n        <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\">签发(多个签发人员，请用&quot;,&quot;格开．不想使用签发，请留空) </td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"> <input name=\"checkuser\" type=\"text\" id=\"checkuser\" value=\"<?=stripSlashes(\$r[checkuser])?>\" size=\"66\"<?=\$checkuserreadonly?>> \r\n              <?=\$changeuser?> \r\n            </td>\r\n          </tr>\r\n          <tr>\r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"><input name=\"recheckuser\" type=\"checkbox\" id=\"recheckuser\" value=\"1\">\r\n              重新签发（稿件被退下来后重新提交给未签发的人员的操作，如修改签发人员，所有人员需重新签发）</td>\r\n          </tr>\r\n        </table>\r\n        <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\">所属专题:</td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"> \r\n              <?=\$z_class?>\r\n            </td>\r\n          </tr>\r\n        </table> <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"><strong>关键字:</strong> <input name=\"keyboard\" type=\"text\" id=\"keyboard\" size=\"43\" value=\"<?=stripSlashes(\$r[keyboard])?>\">\r\n              (多个请用&quot;,&quot;格开)</td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\">外部链接: \r\n              <input name=\"titleurl\" type=\"text\" id=\"titleurl2\" value=\"<?=stripSlashes(\$r[titleurl])?>\" size=\"42\">\r\n              (填写后标题的连接地址将是此链接)</td>\r\n          </tr>\r\n        </table>','特殊属性','0','1','0','','0','','0','0','2','download','1','','0','1','1','');");
$empire->query("replace into `phome_enewsf` values('12','titlepic','标题图片','img','<input name=\"titlepic\" type=\"text\" id=\"titlepic\" value=\"<?=stripSlashes(\$r[titlepic])?>\" size=\"56\"> \r\n        <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>(用于图片调用信息) ','标题图片','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      ( \r\n      <input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--titlepic--]\" size=\"20\">\r\n      )</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n    <tr>\r\n      <td>附件前缀 \r\n        <input name=\"add[qz_titlepic]\" type=\"text\" id=\"add[qz_titlepic]\" value=\"<?=stripSlashes(\$r[qz_titlepic])?>\"> \r\n        <input name=\"add[save_titlepic]\" type=\"checkbox\" id=\"add[save_titlepic]\" value=\" checked\"<?=\$r[save_titlepic]?>>\r\n        远程保存 </td>\r\n    </tr>\r\n    <tr> \r\n      <td><textarea name=\"add[zz_titlepic]\" cols=\"60\" rows=\"10\" id=\"add[zz_titlepic]\"><?=htmlspecialchars(stripSlashes(\$r[zz_titlepic]))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name=\"add[z_titlepic]\" type=\"text\" id=\"titlepic5\" value=\"<?=stripSlashes(\$r[z_titlepic])?>\">\r\n        (如填写这里，这就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>','1','','0','1','2','download','1','','0','1','1','<input type=\"file\" name=\"titlepicfile\">');");
$empire->query("replace into `phome_enewsf` values('13','newstime','发布时间','','<input name=\"newstime\" type=\"text\" id=\"newstime\" value=\"<?=\$r[newstime]?>\"><input type=button name=button value=\"设为当前时间\" onclick=\"document.add.newstime.value=''<?=\$todaytime?>''\">','发布时间','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--newstime--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_newstime]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_newstime]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_newstime]\" type=\"text\" id=\"add[z_newstime]\" value=\"<?=stripSlashes(\$r[z_newstime])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>','0','','0','1','2','download','1','','0','1','1','');");
$empire->query("replace into `phome_enewsf` values('14','softwriter','作者','text','<input name=\\\\\"softwriter\\\\\" type=\\\\\"text\\\\\" size=60 id=\\\\\"softwriter\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[softwriter]))?>\\\\\">\r\n','作者','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--softwriter--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_softwriter]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_softwriter]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_softwriter]\" type=\"text\" id=\"add[z_softwriter]\" value=\"<?=stripSlashes(\$r[z_softwriter])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','30','1','2','download','0','','0','1','1','<input name=\\\\\"softwriter\\\\\" type=\\\\\"text\\\\\" size=30 id=\\\\\"softwriter\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''softwriter\\\\'',stripSlashes(\$r[softwriter]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('15','homepage','官方网站','text','<input name=\\\\\"homepage\\\\\" type=\\\\\"text\\\\\" size=60 id=\\\\\"homepage\\\\\" value=\\\\\"<?=empty(\$r[homepage])?\\\\''http://\\\\'':htmlspecialchars(stripSlashes(\$r[homepage]))?>\\\\\">\r\n','官方网站','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--homepage--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_homepage]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_homepage]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_homepage]\" type=\"text\" id=\"add[z_homepage]\" value=\"<?=stripSlashes(\$r[z_homepage])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','80','1','2','download','0','','0','1','1','<input name=\\\\\"homepage\\\\\" type=\\\\\"text\\\\\" size=60 id=\\\\\"homepage\\\\\" value=\\\\\"<?=empty(\$r[homepage])?\\\\''http://\\\\'':DoReqValue(\$tbname,\\\\''homepage\\\\'',stripSlashes(\$r[homepage]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('16','demo','系统演示','text','<input name=\\\\\"demo\\\\\" type=\\\\\"text\\\\\" size=60 id=\\\\\"demo\\\\\" value=\\\\\"<?=empty(\$r[demo])?\\\\''http://\\\\'':htmlspecialchars(stripSlashes(\$r[demo]))?>\\\\\">\r\n','系统演示','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--demo--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_demo]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_demo]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_demo]\" type=\"text\" id=\"add[z_demo]\" value=\"<?=stripSlashes(\$r[z_demo])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','120','1','2','download','0','','0','1','1','<input name=\\\\\"demo\\\\\" type=\\\\\"text\\\\\" size=60 id=\\\\\"demo\\\\\" value=\\\\\"<?=empty(\$r[demo])?\\\\''http://\\\\'':DoReqValue(\$tbname,\\\\''demo\\\\'',stripSlashes(\$r[demo]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('17','softfj','运行环境','text','<input name=\\\\\"softfj\\\\\" type=\\\\\"text\\\\\" size=60 id=\\\\\"softfj\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[softfj]))?>\\\\\">\r\n','运行环境','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--softfj--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_softfj]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_softfj]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_softfj]\" type=\"text\" id=\"add[z_softfj]\" value=\"<?=stripSlashes(\$r[z_softfj])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','255','1','2','download','0','','0','1','1','<input name=\\\\\"softfj\\\\\" type=\\\\\"text\\\\\" size=60 id=\\\\\"softfj\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''softfj\\\\'',stripSlashes(\$r[softfj]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('18','language','软件语言','select','<select name=\\\\\"language\\\\\" id=\\\\\"language\\\\\">\r\n<option value=\\\\\"简体中文\\\\\"<?=\$r[language]==\\\\\"简体中文\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>简体中文</option>\r\n<option value=\\\\\"繁体中文\\\\\"<?=\$r[language]==\\\\\"繁体中文\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>繁体中文</option>\r\n<option value=\\\\\"英文\\\\\"<?=\$r[language]==\\\\\"英文\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>英文</option>\r\n<option value=\\\\\"多国语言\\\\\"<?=\$r[language]==\\\\\"多国语言\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>多国语言</option>\r\n</select>','软件语言','1','1','1','','1','VARCHAR','30','1','2','download','0','简体中文|繁体中文|英文|多国语言','0','1','1','<select name=\\\\\"language\\\\\" id=\\\\\"language\\\\\">\r\n<option value=\\\\\"简体中文\\\\\"<?=\$r[language]==\\\\\"简体中文\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>简体中文</option>\r\n<option value=\\\\\"繁体中文\\\\\"<?=\$r[language]==\\\\\"繁体中文\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>繁体中文</option>\r\n<option value=\\\\\"英文\\\\\"<?=\$r[language]==\\\\\"英文\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>英文</option>\r\n<option value=\\\\\"多国语言\\\\\"<?=\$r[language]==\\\\\"多国语言\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>多国语言</option>\r\n</select>');");
$empire->query("replace into `phome_enewsf` values('19','softtype','软件类型','select','<select name=\\\\\"softtype\\\\\" id=\\\\\"softtype\\\\\">\r\n<option value=\\\\\"国产软件\\\\\"<?=\$r[softtype]==\\\\\"国产软件\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>国产软件</option>\r\n<option value=\\\\\"汉化软件\\\\\"<?=\$r[softtype]==\\\\\"汉化软件\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>汉化软件</option>\r\n<option value=\\\\\"国外软件\\\\\"<?=\$r[softtype]==\\\\\"国外软件\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>国外软件</option>\r\n</select>','软件类型','1','1','1','','1','VARCHAR','30','1','2','download','0','国产软件|汉化软件|国外软件','0','1','1','<select name=\\\\\"softtype\\\\\" id=\\\\\"softtype\\\\\">\r\n<option value=\\\\\"国产软件\\\\\"<?=\$r[softtype]==\\\\\"国产软件\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>国产软件</option>\r\n<option value=\\\\\"汉化软件\\\\\"<?=\$r[softtype]==\\\\\"汉化软件\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>汉化软件</option>\r\n<option value=\\\\\"国外软件\\\\\"<?=\$r[softtype]==\\\\\"国外软件\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>国外软件</option>\r\n</select>');");
$empire->query("replace into `phome_enewsf` values('20','softsq','授权形式','select','<select name=\\\\\"softsq\\\\\" id=\\\\\"softsq\\\\\">\r\n<option value=\\\\\"共享软件\\\\\"<?=\$r[softsq]==\\\\\"共享软件\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>共享软件</option>\r\n<option value=\\\\\"免费软件\\\\\"<?=\$r[softsq]==\\\\\"免费软件\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>免费软件</option>\r\n<option value=\\\\\"自由软件\\\\\"<?=\$r[softsq]==\\\\\"自由软件\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>自由软件</option>\r\n<option value=\\\\\"试用软件\\\\\"<?=\$r[softsq]==\\\\\"试用软件\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>试用软件</option>\r\n<option value=\\\\\"演示软件\\\\\"<?=\$r[softsq]==\\\\\"演示软件\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>演示软件</option>\r\n<option value=\\\\\"商业软件\\\\\"<?=\$r[softsq]==\\\\\"商业软件\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>商业软件</option>\r\n</select>','授权形式','1','1','1','','1','VARCHAR','30','1','2','download','0','共享软件|免费软件|自由软件|试用软件|演示软件|商业软件','0','1','1','<select name=\\\\\"softsq\\\\\" id=\\\\\"softsq\\\\\">\r\n<option value=\\\\\"共享软件\\\\\"<?=\$r[softsq]==\\\\\"共享软件\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>共享软件</option>\r\n<option value=\\\\\"免费软件\\\\\"<?=\$r[softsq]==\\\\\"免费软件\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>免费软件</option>\r\n<option value=\\\\\"自由软件\\\\\"<?=\$r[softsq]==\\\\\"自由软件\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>自由软件</option>\r\n<option value=\\\\\"试用软件\\\\\"<?=\$r[softsq]==\\\\\"试用软件\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>试用软件</option>\r\n<option value=\\\\\"演示软件\\\\\"<?=\$r[softsq]==\\\\\"演示软件\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>演示软件</option>\r\n<option value=\\\\\"商业软件\\\\\"<?=\$r[softsq]==\\\\\"商业软件\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>商业软件</option>\r\n</select>');");
$empire->query("replace into `phome_enewsf` values('21','star','软件等级','select','<select name=\\\\\"star\\\\\" id=\\\\\"star\\\\\">\r\n<option value=\\\\\"1\\\\\"<?=\$r[star]==\\\\\"1\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>1星</option>\r\n<option value=\\\\\"2\\\\\"<?=\$r[star]==\\\\\"2\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>2星</option>\r\n<option value=\\\\\"3\\\\\"<?=\$r[star]==\\\\\"3\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>3星</option>\r\n<option value=\\\\\"4\\\\\"<?=\$r[star]==\\\\\"4\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>4星</option>\r\n<option value=\\\\\"5\\\\\"<?=\$r[star]==\\\\\"5\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>5星</option>\r\n</select>','软件等级','1','1','1','','1','TINYINT','1','1','2','download','0','1|2|3|4|5','0','1','1','<select name=\\\\\"star\\\\\" id=\\\\\"star\\\\\">\r\n<option value=\\\\\"1\\\\\"<?=\$r[star]==\\\\\"1\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>1星</option>\r\n<option value=\\\\\"2\\\\\"<?=\$r[star]==\\\\\"2\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>2星</option>\r\n<option value=\\\\\"3\\\\\"<?=\$r[star]==\\\\\"3\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>3星</option>\r\n<option value=\\\\\"4\\\\\"<?=\$r[star]==\\\\\"4\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>4星</option>\r\n<option value=\\\\\"5\\\\\"<?=\$r[star]==\\\\\"5\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>5星</option>\r\n</select>');");
$empire->query("replace into `phome_enewsf` values('22','filetype','文件类型','text','<input name=\\\\\"filetype\\\\\" type=\\\\\"text\\\\\" id=\\\\\"filetype\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[filetype]))?>\\\\\">\r\n<select name=\\\\\"select2\\\\\" onchange=\\\\\"document.add.filetype.value=this.value\\\\\">\r\n        <option value=\\\\\"\\\\\">类型</option>\r\n        <option value=\\\\\".zip\\\\\">.zip</option>\r\n        <option value=\\\\\".rar\\\\\">.rar</option>\r\n        <option value=\\\\\".exe\\\\\">.exe</option>\r\n      </select>','文件类型','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--filetype--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_filetype]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_filetype]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_filetype]\" type=\"text\" id=\"add[z_filetype]\" value=\"<?=stripSlashes(\$r[z_filetype])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','20','1','2','download','0','','0','1','1','<input name=\\\\\"filetype\\\\\" type=\\\\\"text\\\\\" size=6 id=\\\\\"filetype\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''filetype\\\\'',stripSlashes(\$r[filetype]))?>\\\\\">\r\n<select name=\\\\\"select2\\\\\" onchange=\\\\\"document.add.filetype.value=this.value\\\\\">\r\n        <option value=\\\\\"\\\\\">类型</option>\r\n        <option value=\\\\\".zip\\\\\">.zip</option>\r\n        <option value=\\\\\".rar\\\\\">.rar</option>\r\n        <option value=\\\\\".exe\\\\\">.exe</option>\r\n      </select>');");
$empire->query("replace into `phome_enewsf` values('23','filesize','文件大小','text','<input name=\\\\\"filesize\\\\\" type=\\\\\"text\\\\\" id=\\\\\"filesize\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[filesize]))?>\\\\\">\r\n<select name=\\\\\"select\\\\\" onchange=\\\\\"document.add.filesize.value+=this.value\\\\\">\r\n        <option value=\\\\\"\\\\\">单位</option>\r\n        <option value=\\\\\" MB\\\\\">MB</option>\r\n        <option value=\\\\\" KB\\\\\">KB</option>\r\n        <option value=\\\\\" GB\\\\\">GB</option>\r\n        <option value=\\\\\" BYTES\\\\\">BYTES</option>\r\n      </select>','文件大小','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--filesize--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_filesize]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_filesize]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_filesize]\" type=\"text\" id=\"add[z_filesize]\" value=\"<?=stripSlashes(\$r[z_filesize])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','30','1','2','download','0','','0','1','1','<input name=\\\\\"filesize\\\\\" type=\\\\\"text\\\\\" size=12 id=\\\\\"filesize\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''filesize\\\\'',stripSlashes(\$r[filesize]))?>\\\\\">\r\n<select name=\\\\\"select\\\\\" onchange=\\\\\"document.add.filesize.value+=this.value\\\\\">\r\n        <option value=\\\\\"\\\\\">单位</option>\r\n        <option value=\\\\\" MB\\\\\">MB</option>\r\n        <option value=\\\\\" KB\\\\\">KB</option>\r\n        <option value=\\\\\" GB\\\\\">GB</option>\r\n        <option value=\\\\\" BYTES\\\\\">BYTES</option>\r\n      </select>');");
$empire->query("replace into `phome_enewsf` values('24','downpath','下载地址','text','\r\n<script>\r\nfunction doadd()\r\n{var i;\r\nvar str=\"\";\r\nvar oldi=0;\r\nvar j=0;\r\noldi=parseInt(document.add.editnum.value);\r\nfor(i=1;i<=document.add.downnum.value;i++)\r\n{\r\nj=i+oldi;\r\nstr=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>\";\r\n}\r\nwindow.adddown.innerHTML=\"<table width=100% border=0 cellspacing=1 cellpadding=3>\"+str+\"</table>\";\r\n}\r\n</script>\r\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n  <tr>\r\n    <td height=\"25\">\r\n	<input name=\"editnum\" type=\"hidden\" id=\"editnum\" value=\"<?=\$editnum?>\">\r\n	下载地址前缀:\r\n      <input name=\"downurl_qz\" type=\"text\" size=\"32\">\r\n      <select name=\"changeurl_qz\" onchange=\"document.add.downurl_qz.value=document.add.changeurl_qz.value\">\r\n        <option value=\"\" selected>选择前缀</option>\r\n        <?=\$downurlqz?>\r\n      </select></td>\r\n  </tr>\r\n  <tr>\r\n    <td height=\"25\">选择/上传附件:\r\n      <input name=\"changedown_url\" type=\"text\" size=\"32\">\r\n      <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>\r\n  </tr>\r\n  <tr> \r\n    <td><table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n        <tr> \r\n          <td width=\"7%\"> <div align=\"center\">编号</div></td>\r\n          <td width=\"19%\"><div align=\"left\">下载名称</div></td>\r\n          <td width=\"40%\">下载地址 </td>\r\n          <td width=\"21%\"> <div align=\"center\">权限</div></td>\r\n          <td width=\"13%\"> <div align=\"center\">点数</div></td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n  <tr> \r\n    <td>\r\n      <?=\$downloadpath?>\r\n    </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\">下载地址扩展数量: \r\n      <input name=\"downnum\" type=\"text\" id=\"downnum\" value=\"1\" size=\"6\"> <input type=\"button\" name=\"Submit5\" value=\"输出地址\" onclick=\"javascript:doadd();\"></td>\r\n  </tr>\r\n  <tr> \r\n    <td id=adddown></td>\r\n  </tr>\r\n</table>\r\n','下载地址','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (\r\n      <input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--ecmsdownpathurl--]\" size=\"20\">\r\n      <br>\r\n      <input name=\"textfield2\" type=\"text\" id=\"textfield2\" value=\"[!--ecmsdownpathname--]\" size=\"20\">\r\n      )<br>\r\n      格式:地址正则(url)[!empirecms!]名称正则(name)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_downpath]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_downpath]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td>地址前缀:\r\n<input name=\"add[qz_downpath]\" type=\"text\" id=\"add[qz_downpath]\" value=\"<?=stripSlashes(\$r[qz_downpath])?>\">\r\n        </td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','MEDIUMTEXT','','1','2','download','0','','0','1','1','\r\n<input type=\"file\" name=\"downpathfile\">\r\n');");
$empire->query("replace into `phome_enewsf` values('25','softsay','软件简介','textarea','<textarea name=\\\\\"softsay\\\\\" cols=\\\\\"80\\\\\" rows=\\\\\"10\\\\\" id=\\\\\"softsay\\\\\"><?=htmlspecialchars(stripSlashes(\$r[softsay]))?></textarea>\r\n','软件简介','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--softsay--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_softsay]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_softsay]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_softsay]\" type=\"text\" id=\"add[z_softsay]\" value=\"<?=stripSlashes(\$r[z_softsay])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','MEDIUMTEXT','','1','2','download','0','','0','1','1','<textarea name=\\\\\"softsay\\\\\" cols=\\\\\"60\\\\\" rows=\\\\\"10\\\\\" id=\\\\\"softsay\\\\\"><?=DoReqValue(\$tbname,\\\\''softsay\\\\'',stripSlashes(\$r[softsay]))?></textarea>\r\n');");
$empire->query("replace into `phome_enewsf` values('26','title','标题','text','<table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td bgcolor=\"#FFFFFF\"> <input type=text name=title value=\"<?=htmlspecialchars(stripSlashes(\$r[title]))?>\" size=60> \r\n              <input type=\"button\" name=\"button\" value=\"图文\" onclick=\"document.add.title.value=document.add.title.value+''(图文)'';\"> \r\n            </td>\r\n          </tr>\r\n          <tr> \r\n            <td bgcolor=\"#FFFFFF\"> <table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n                <tr> \r\n                  <td width=\"45%\">属性： \r\n                    <input name=\"titlefont[b]\" type=\"checkbox\" id=\"titlefont[b]\" value=\"b\"<?=\$titlefontb?>>\r\n                    粗体 \r\n                    <input name=\"titlefont[i]\" type=\"checkbox\" id=\"titlefont[i]\" value=\"i\"<?=\$titlefonti?>>\r\n                    斜体 \r\n                    <input name=\"titlefont[s]\" type=\"checkbox\" id=\"titlefont[s]\" value=\"s\"<?=\$titlefonts?>>\r\n                    删除线</td>\r\n                  <td width=\"55%\">颜色： \r\n                    <input name=\"titlecolor\" type=\"text\" id=\"titlecolor\" value=\"<?=stripSlashes(\$r[titlecolor])?>\" size=\"10\"> \r\n                    <a onclick=\"foreColor();\"><img src=\"../data/images/color.gif\" width=\"21\" height=\"21\" align=\"absbottom\"></a></td>\r\n                </tr>\r\n              </table></td>\r\n          </tr>\r\n        </table>','标题','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--title--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_title]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_title]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_title]\" type=\"text\" id=\"add[z_title]\" value=\"<?=stripSlashes(\$r[z_title])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>','0','','0','1','3','photo','1','','0','1','1','<input name=\"title\" type=\"text\" id=\"title\" value=\"<?=DoReqValue(\$tbname,''title'',stripSlashes(\$r[title]))?>\">');");
$empire->query("replace into `phome_enewsf` values('27','special.field','特殊属性','',' <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\"> <input name=\"isgood\" type=\"checkbox\" id=\"isgood2\" value=\"1\"<?=\$isgood?>>\r\n      推荐&nbsp;&nbsp; <input name=\"checked\" type=\"checkbox\" id=\"checked4\" value=\"1\"<?=\$checked?>>\r\n      审核&nbsp;&nbsp; <input name=\"firsttitle\" type=\"checkbox\" id=\"firsttitle2\" value=\"1\"<?=\$firsttitle?>>\r\n      头条&nbsp;&nbsp;&nbsp;<strong>&nbsp;置顶级别：</strong> <select name=\"istop\" id=\"select3\">\r\n        <option value=\"0\"<?=\$istop0?>>0级置顶</option>\r\n        <option value=\"1\"<?=\$istop1?>>1级置顶</option>\r\n        <option value=\"2\"<?=\$istop2?>>2级置顶</option>\r\n        <option value=\"3\"<?=\$istop3?>>3级置顶</option>\r\n        <option value=\"4\"<?=\$istop4?>>4级置顶</option>\r\n        <option value=\"5\"<?=\$istop5?>>5级置顶</option>\r\n        <option value=\"6\"<?=\$istop6?>>6级置顶</option>\r\n      </select> <strong>所用内容模板:</strong> <select name=\"newstempid\" id=\"select4\">\r\n        <?=\$newstemp?>\r\n      </select> </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\"><strong>权限设置:</strong> <select name=\"fh\" id=\"select5\">\r\n        <option value=\"0\"<?=\$fh0?>>&gt;=</option>\r\n        <option value=\"1\"<?=\$fh1?>>=</option>\r\n      </select> <select name=\"groupid\" id=\"select6\">\r\n        <option value=\"0\">游客</option>\r\n        <?=\$group?>\r\n      </select>\r\n      查看扣除点数: \r\n      <input name=\"userfen\" type=\"text\" id=\"userfen\" value=\"<?=\$r[userfen]?>\" size=\"6\">\r\n      (&quot;=&quot;：本级别的用户才能查看[对游客无效])</td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\">文件名前缀: <input name=\"filenameqz\" type=\"text\" id=\"filenameqz\" value=\"<?=stripSlashes(\$r[filenameqz])?>\">\r\n      (如photeshop_),<input type=checkbox name=closepl value=1<?=\$r[closepl]==1?\" checked\":\"\"?>>关闭评论</td>\r\n  </tr>\r\n</table>\r\n        <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\">签发(多个签发人员，请用&quot;,&quot;格开．不想使用签发，请留空) </td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"> <input name=\"checkuser\" type=\"text\" id=\"checkuser\" value=\"<?=stripSlashes(\$r[checkuser])?>\" size=\"66\"<?=\$checkuserreadonly?>> \r\n              <?=\$changeuser?> \r\n            </td>\r\n          </tr>\r\n          <tr>\r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"><input name=\"recheckuser\" type=\"checkbox\" id=\"recheckuser\" value=\"1\">\r\n              重新签发（稿件被退下来后重新提交给未签发的人员的操作，如修改签发人员，所有人员需重新签发）</td>\r\n          </tr>\r\n        </table>\r\n        <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\">所属专题:</td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"> \r\n              <?=\$z_class?>\r\n            </td>\r\n          </tr>\r\n        </table> <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"><strong>关键字:</strong> <input name=\"keyboard\" type=\"text\" id=\"keyboard\" size=\"43\" value=\"<?=stripSlashes(\$r[keyboard])?>\">\r\n              (多个请用&quot;,&quot;格开)</td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\">外部链接: \r\n              <input name=\"titleurl\" type=\"text\" id=\"titleurl2\" value=\"<?=stripSlashes(\$r[titleurl])?>\" size=\"42\">\r\n              (填写后标题的连接地址将是此链接)</td>\r\n          </tr>\r\n        </table>','特殊属性','0','1','0','','0','','0','0','3','photo','1','','0','1','1','');");
$empire->query("replace into `phome_enewsf` values('28','titlepic','标题图片','img','<input name=\"titlepic\" type=\"text\" id=\"titlepic\" value=\"<?=stripSlashes(\$r[titlepic])?>\" size=\"56\"> \r\n        <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>(用于图片调用信息) ','标题图片','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      ( \r\n      <input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--titlepic--]\" size=\"20\">\r\n      )</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n    <tr>\r\n      <td>附件前缀 \r\n        <input name=\"add[qz_titlepic]\" type=\"text\" id=\"add[qz_titlepic]\" value=\"<?=stripSlashes(\$r[qz_titlepic])?>\"> \r\n        <input name=\"add[save_titlepic]\" type=\"checkbox\" id=\"add[save_titlepic]\" value=\" checked\"<?=\$r[save_titlepic]?>>\r\n        远程保存 </td>\r\n    </tr>\r\n    <tr> \r\n      <td><textarea name=\"add[zz_titlepic]\" cols=\"60\" rows=\"10\" id=\"add[zz_titlepic]\"><?=htmlspecialchars(stripSlashes(\$r[zz_titlepic]))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name=\"add[z_titlepic]\" type=\"text\" id=\"titlepic5\" value=\"<?=stripSlashes(\$r[z_titlepic])?>\">\r\n        (如填写这里，这就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>','2','','0','1','3','photo','1','','0','1','1','<input type=\"file\" name=\"titlepicfile\">');");
$empire->query("replace into `phome_enewsf` values('29','newstime','发布时间','','<input name=\"newstime\" type=\"text\" id=\"newstime\" value=\"<?=\$r[newstime]?>\"><input type=button name=button value=\"设为当前时间\" onclick=\"document.add.newstime.value=''<?=\$todaytime?>''\">','发布时间','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--newstime--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_newstime]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_newstime]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_newstime]\" type=\"text\" id=\"add[z_newstime]\" value=\"<?=stripSlashes(\$r[z_newstime])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>','0','','0','1','3','photo','1','','0','1','1','');");
$empire->query("replace into `phome_enewsf` values('30','filesize','文件大小','text','<input name=\\\\\"filesize\\\\\" type=\\\\\"text\\\\\" id=\\\\\"filesize\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[filesize]))?>\\\\\">\r\n<select name=\\\\\"select\\\\\" onchange=\\\\\"document.add.filesize.value+=this.value\\\\\">\r\n        <option value=\\\\\"\\\\\">单位</option>\r\n        <option value=\\\\\" MB\\\\\">MB</option>\r\n        <option value=\\\\\" KB\\\\\">KB</option>\r\n        <option value=\\\\\" GB\\\\\">GB</option>\r\n        <option value=\\\\\" BYTES\\\\\">BYTES</option>\r\n      </select>','文件大小','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--filesize--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_filesize]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_filesize]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_filesize]\" type=\"text\" id=\"add[z_filesize]\" value=\"<?=stripSlashes(\$r[z_filesize])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','30','1','3','photo','0','','0','1','1','<input name=\\\\\"filesize\\\\\" type=\\\\\"text\\\\\" id=\\\\\"filesize\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''filesize\\\\'',stripSlashes(\$r[filesize]))?>\\\\\">\r\n<select name=\\\\\"select\\\\\" onchange=\\\\\"document.add.filesize.value+=this.value\\\\\">\r\n        <option value=\\\\\"\\\\\">单位</option>\r\n        <option value=\\\\\" MB\\\\\">MB</option>\r\n        <option value=\\\\\" KB\\\\\">KB</option>\r\n        <option value=\\\\\" GB\\\\\">GB</option>\r\n        <option value=\\\\\" BYTES\\\\\">BYTES</option>\r\n      </select>');");
$empire->query("replace into `phome_enewsf` values('31','picsize','图片尺寸','text','\r\n<input name=\"picsize\" type=\"text\" id=\"picsize\" value=\"<?=htmlspecialchars(stripSlashes(\$r[picsize]))?>\">\r\n','图片尺寸','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--picsize--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_picsize]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_picsize]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_picsize]\" type=\"text\" id=\"add[z_picsize]\" value=\"<?=stripSlashes(\$r[z_picsize])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','30','1','3','photo','0','','0','1','1','\r\n<input name=\"picsize\" type=\"text\" id=\"picsize\" value=\"<?=DoReqValue(\$tbname,''picsize'',stripSlashes(\$r[picsize]))?>\">\r\n');");
$empire->query("replace into `phome_enewsf` values('32','picfbl','图片分辨率','text','\r\n<input name=\"picfbl\" type=\"text\" id=\"picfbl\" value=\"<?=htmlspecialchars(stripSlashes(\$r[picfbl]))?>\">\r\n','图片分辨率','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--picfbl--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_picfbl]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_picfbl]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_picfbl]\" type=\"text\" id=\"add[z_picfbl]\" value=\"<?=stripSlashes(\$r[z_picfbl])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','30','1','3','photo','0','','0','1','1','\r\n<input name=\"picfbl\" type=\"text\" id=\"picfbl\" value=\"<?=DoReqValue(\$tbname,''picfbl'',stripSlashes(\$r[picfbl]))?>\">\r\n');");
$empire->query("replace into `phome_enewsf` values('33','picfrom','来源','text','<input name=\\\\\"picfrom\\\\\" type=\\\\\"text\\\\\" size=56 id=\\\\\"picfrom\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[picfrom]))?>\\\\\">\r\n','来源','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--picfrom--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_picfrom]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_picfrom]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_picfrom]\" type=\"text\" id=\"add[z_picfrom]\" value=\"<?=stripSlashes(\$r[z_picfrom])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','120','1','3','photo','0','','0','1','1','<input name=\\\\\"picfrom\\\\\" type=\\\\\"text\\\\\" id=\\\\\"picfrom\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''picfrom\\\\'',stripSlashes(\$r[picfrom]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('34','picurl','图片大图','img','<input name=\\\\\"picurl\\\\\" type=\\\\\"text\\\\\" size=56 id=\\\\\"picurl\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[picurl]))?>\\\\\" size=\\\\\"45\\\\\">\r\n<a onclick=\\\\\"window.open(\\\\''editor/file.php?userid=<?=\$logininid?>&username=<?=\$loginin?>&rnd=<?=\$loginrnd?>&type=1&classid=<?=\$classid?>&filepass=<?=\$filepass?>&doing=1&field=picurl\\\\'',\\\\''\\\\'',\\\\''width=700,height=550,scrollbars=yes\\\\'');\\\\\" title=\\\\\"选择已上传的图片\\\\\"><img src=\\\\\"../data/images/changeimg.gif\\\\\" border=\\\\\"0\\\\\" align=\\\\\"absbottom\\\\\"></a> \r\n','图片大图','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      ( \r\n      <input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--picurl--]\" size=\"20\">\r\n      )</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n    <tr>\r\n      <td>附件前缀 \r\n        <input name=\"add[qz_picurl]\" type=\"text\" id=\"add[qz_picurl]\" value=\"<?=stripSlashes(\$r[qz_picurl])?>\"> \r\n        <input name=\"add[save_picurl]\" type=\"checkbox\" id=\"add[save_picurl]\" value=\" checked\"<?=\$r[save_picurl]?>>\r\n        远程保存 </td>\r\n    </tr>\r\n    <tr> \r\n      <td><textarea name=\"add[zz_picurl]\" cols=\"60\" rows=\"10\" id=\"add[zz_picurl]\"><?=htmlspecialchars(stripSlashes(\$r[zz_picurl]))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name=\"add[z_picurl]\" type=\"text\" id=\"picurl5\" value=\"<?=stripSlashes(\$r[z_picurl])?>\">\r\n        (如填写这里，这就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>\r\n','2','VARCHAR','255','1','3','photo','0','','0','1','1','<input type=\\\\\"file\\\\\" name=\\\\\"picurlfile\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('35','morepic','图片集','text','\r\n<script>\r\nfunction dopicadd()\r\n{var i;\r\nvar str=\"\";\r\nvar oldi=0;\r\nvar j=0;\r\noldi=parseInt(document.add.morepicnum.value);\r\nfor(i=1;i<=document.add.downmorepicnum.value;i++)\r\n{\r\nj=i+oldi;\r\nstr=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>\";\r\n}\r\nwindow.addpicdown.innerHTML=\"<table width=100% border=0 cellspacing=1 cellpadding=3>\"+str+\"</table>\";\r\n}\r\n</script>\r\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n  <tr>\r\n    <td height=\"25\">\r\n	图片地址前缀:\r\n      <input name=\"mpicurl_qz\" type=\"text\" id=\"mpicurl_qz\" size=\"32\">&nbsp;&nbsp;\r\n	  <input type=\"checkbox\" name=\"msavepic\" value=\"1\">远程保存图片\r\n </td>\r\n  </tr>\r\n  <tr> \r\n    <td><table width=100% border=0 align=center cellpadding=3 cellspacing=1>\r\n  <tr bgcolor=#DBEAF5> \r\n    <td width=7%><div align=center>编号</div></td>\r\n    <td width=33%><div align=center>缩图</div></td>\r\n    <td width=30%><div align=center>大图</div></td>\r\n    <td width=30%><div align=center>图片说明</div></td>\r\n  </tr>\r\n</table></td>\r\n  </tr>\r\n  <tr> \r\n    <td> \r\n      <?=\$morepicpath?>\r\n      <input name=\"morepicnum\" type=\"hidden\" id=\"morepicnum\" value=\"<?=\$morepicnum?>\"> \r\n    </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\">地址扩展数量: \r\n      <input name=\"downmorepicnum\" type=\"text\" value=\"1\" size=\"6\"> <input type=\"button\" name=\"Submit5\" value=\"输出地址\" onclick=\"javascript:dopicadd();\"></td>\r\n  </tr>\r\n  <tr> \r\n    <td id=addpicdown></td>\r\n  </tr>\r\n</table>\r\n','图片集','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (\r\n      <input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--ecmsspicurl--]\" size=\"20\">\r\n      <br>\r\n      <input name=\"textfield2\" type=\"text\" id=\"textfield2\" value=\"[!--ecmsbpicurl--]\" size=\"20\">\r\n	  <br>\r\n      <input name=\"textfield2\" type=\"text\" id=\"textfield2\" value=\"[!--ecmspicname--]\" size=\"20\">\r\n      )<br>\r\n      格式:缩略图[!empirecms!]大图[!empirecms!]名称</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_morepic]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_morepic]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td>地址前缀:\r\n<input name=\"add[qz_morepic]\" type=\"text\" id=\"add[qz_morepic]\" value=\"<?=stripSlashes(\$r[qz_morepic])?>\">\r\n<input name=\"add[save_morepic]\" type=\"checkbox\" id=\"add[save_morepic]\" value=\" checked\"<?=\$r[save_morepic]?>>\r\n        远程保存\r\n        </td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','2','MEDIUMTEXT','','1','3','photo','0','','0','1','1','\r\n<script>\r\nfunction dopicadd()\r\n{var i;\r\nvar str=\"\";\r\nvar oldi=0;\r\nvar j=0;\r\noldi=parseInt(document.add.morepicnum.value);\r\nfor(i=1;i<=document.add.downmorepicnum.value;i++)\r\n{\r\nj=i+oldi;\r\nstr=str+\"<tr><td width=7%><div align=center>\"+j+\"</div></td><td width=33%><div align=center><input name=msmallpic[] type=text size=28></div></td><td width=30%><div align=center><input name=mbigpic[] type=text size=28></div></td><td width=30%><div align=center><input name=mpicname[] type=text></div></td></tr>\";\r\n}\r\nwindow.addpicdown.innerHTML=\"<table width=100% border=0 cellspacing=1 cellpadding=3>\"+str+\"</table>\";\r\n}\r\n</script>\r\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n  <tr>\r\n    <td height=\"25\">\r\n	图片地址前缀:\r\n      <input name=\"mpicurl_qz\" type=\"text\" id=\"mpicurl_qz\" size=\"32\">\r\n      &nbsp;</td>\r\n  </tr>\r\n  <tr> \r\n    <td><table width=100% border=0 align=center cellpadding=3 cellspacing=1>\r\n  <tr bgcolor=#DBEAF5> \r\n    <td width=7%><div align=center>编号</div></td>\r\n    <td width=33%><div align=center>缩图</div></td>\r\n    <td width=30%><div align=center>大图</div></td>\r\n    <td width=30%><div align=center>图片说明</div></td>\r\n  </tr>\r\n</table></td>\r\n  </tr>\r\n  <tr> \r\n    <td> \r\n      <?=\$morepicpath?>\r\n      <input name=\"morepicnum\" type=\"hidden\" id=\"morepicnum\" value=\"<?=\$morepicnum?>\"> \r\n    </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\">地址扩展数量: \r\n      <input name=\"downmorepicnum\" type=\"text\" value=\"1\" size=\"6\"> <input type=\"button\" name=\"Submit5\" value=\"输出地址\" onclick=\"javascript:dopicadd();\"></td>\r\n  </tr>\r\n  <tr> \r\n    <td id=addpicdown></td>\r\n  </tr>\r\n</table>\r\n');");
$empire->query("replace into `phome_enewsf` values('36','num','每行显示条数','text','<input name=\\\\\"num\\\\\" type=\\\\\"text\\\\\" size=3 id=\\\\\"num\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[num]))?>\\\\\">\r\n','每行显示条数','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--num--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_num]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_num]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_num]\" type=\"text\" id=\"add[z_num]\" value=\"<?=stripSlashes(\$r[z_num])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','2','TINYINT','','1','3','photo','0','','0','1','1','<input name=\\\\\"num\\\\\" type=\\\\\"text\\\\\" size=3 id=\\\\\"num\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''num\\\\'',stripSlashes(\$r[num]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('37','width','缩图宽度','text','<input name=\\\\\"width\\\\\" type=\\\\\"text\\\\\" size=6 id=\\\\\"width\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[width]))?>\\\\\">\r\n','缩图宽度','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--width--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_width]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_width]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_width]\" type=\"text\" id=\"add[z_width]\" value=\"<?=stripSlashes(\$r[z_width])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','2','VARCHAR','30','1','3','photo','0','','0','1','1','<input name=\\\\\"width\\\\\" type=\\\\\"text\\\\\" size=6 id=\\\\\"width\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''width\\\\'',stripSlashes(\$r[width]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('38','height','缩图高度','text','<input name=\\\\\"height\\\\\" type=\\\\\"text\\\\\" size=6 id=\\\\\"height\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[height]))?>\\\\\">\r\n','缩图高度','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--height--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_height]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_height]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_height]\" type=\"text\" id=\"add[z_height]\" value=\"<?=stripSlashes(\$r[z_height])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','2','VARCHAR','30','1','3','photo','0','','0','1','1','<input name=\\\\\"height\\\\\" type=\\\\\"text\\\\\" size=6 id=\\\\\"height\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''height\\\\'',stripSlashes(\$r[height]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('39','picsay','图片简介','textarea','<textarea name=\\\\\"picsay\\\\\" cols=\\\\\"80\\\\\" rows=\\\\\"10\\\\\" id=\\\\\"picsay\\\\\"><?=htmlspecialchars(stripSlashes(\$r[picsay]))?></textarea>\r\n','图片简介','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--picsay--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_picsay]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_picsay]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_picsay]\" type=\"text\" id=\"add[z_picsay]\" value=\"<?=stripSlashes(\$r[z_picsay])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','2','TEXT','','1','3','photo','0','','0','1','1','<textarea name=\\\\\"picsay\\\\\" cols=\\\\\"60\\\\\" rows=\\\\\"10\\\\\" id=\\\\\"picsay\\\\\"><?=DoReqValue(\$tbname,\\\\''picsay\\\\'',stripSlashes(\$r[picsay]))?></textarea>\r\n');");
$empire->query("replace into `phome_enewsf` values('40','title','标题','text','<table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" cellpadding=\\\\\"3\\\\\" cellspacing=\\\\\"1\\\\\" bgcolor=\\\\\"#DBEAF5\\\\\">\r\n          <tr> \r\n            <td bgcolor=\\\\\"#FFFFFF\\\\\"> <input type=text name=title value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[title]))?>\\\\\" size=60> \r\n              <input type=\\\\\"button\\\\\" name=\\\\\"button\\\\\" value=\\\\\"图文\\\\\" onclick=\\\\\"document.add.title.value=document.add.title.value+\\\\''(图文)\\\\'';\\\\\"> \r\n            </td>\r\n          </tr>\r\n          <tr> \r\n            <td bgcolor=\\\\\"#FFFFFF\\\\\"> <table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" align=\\\\\"center\\\\\" cellpadding=\\\\\"0\\\\\" cellspacing=\\\\\"0\\\\\">\r\n                <tr> \r\n                  <td width=\\\\\"45%\\\\\">属性： \r\n                    <input name=\\\\\"titlefont[b]\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"titlefont[b]\\\\\" value=\\\\\"b\\\\\"<?=\$titlefontb?>>\r\n                    粗体 \r\n                    <input name=\\\\\"titlefont[i]\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"titlefont[i]\\\\\" value=\\\\\"i\\\\\"<?=\$titlefonti?>>\r\n                    斜体 \r\n                    <input name=\\\\\"titlefont[s]\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"titlefont[s]\\\\\" value=\\\\\"s\\\\\"<?=\$titlefonts?>>\r\n                    删除线</td>\r\n                  <td width=\\\\\"55%\\\\\">颜色： \r\n                    <input name=\\\\\"titlecolor\\\\\" type=\\\\\"text\\\\\" id=\\\\\"titlecolor\\\\\" value=\\\\\"<?=stripSlashes(\$r[titlecolor])?>\\\\\" size=\\\\\"10\\\\\"> \r\n                    <a onclick=\\\\\"foreColor();\\\\\"><img src=\\\\\"../data/images/color.gif\\\\\" width=\\\\\"21\\\\\" height=\\\\\"21\\\\\" align=\\\\\"absbottom\\\\\"></a></td>\r\n                </tr>\r\n              </table></td>\r\n          </tr>\r\n        </table>','标题','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--title--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_title]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_title]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_title]\" type=\"text\" id=\"add[z_title]\" value=\"<?=stripSlashes(\$r[z_title])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>','0','','0','1','4','flash','1','','0','1','1','<input name=\\\\\"title\\\\\" type=\\\\\"text\\\\\" size=30 id=\\\\\"title\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''title\\\\'',stripSlashes(\$r[title]))?>\\\\\">');");
$empire->query("replace into `phome_enewsf` values('41','special.field','特殊属性','',' <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\"> <input name=\"isgood\" type=\"checkbox\" id=\"isgood2\" value=\"1\"<?=\$isgood?>>\r\n      推荐&nbsp;&nbsp; <input name=\"checked\" type=\"checkbox\" id=\"checked4\" value=\"1\"<?=\$checked?>>\r\n      审核&nbsp;&nbsp; <input name=\"firsttitle\" type=\"checkbox\" id=\"firsttitle2\" value=\"1\"<?=\$firsttitle?>>\r\n      头条&nbsp;&nbsp;&nbsp;<strong>&nbsp;置顶级别：</strong> <select name=\"istop\" id=\"select3\">\r\n        <option value=\"0\"<?=\$istop0?>>0级置顶</option>\r\n        <option value=\"1\"<?=\$istop1?>>1级置顶</option>\r\n        <option value=\"2\"<?=\$istop2?>>2级置顶</option>\r\n        <option value=\"3\"<?=\$istop3?>>3级置顶</option>\r\n        <option value=\"4\"<?=\$istop4?>>4级置顶</option>\r\n        <option value=\"5\"<?=\$istop5?>>5级置顶</option>\r\n        <option value=\"6\"<?=\$istop6?>>6级置顶</option>\r\n      </select> <strong>所用内容模板:</strong> <select name=\"newstempid\" id=\"select4\">\r\n        <?=\$newstemp?>\r\n      </select> </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\"><strong>权限设置:</strong> <select name=\"fh\" id=\"select5\">\r\n        <option value=\"0\"<?=\$fh0?>>&gt;=</option>\r\n        <option value=\"1\"<?=\$fh1?>>=</option>\r\n      </select> <select name=\"groupid\" id=\"select6\">\r\n        <option value=\"0\">游客</option>\r\n        <?=\$group?>\r\n      </select>\r\n      查看扣除点数: \r\n      <input name=\"userfen\" type=\"text\" id=\"userfen\" value=\"<?=\$r[userfen]?>\" size=\"6\">\r\n      (&quot;=&quot;：本级别的用户才能查看[对游客无效])</td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\">文件名前缀: <input name=\"filenameqz\" type=\"text\" id=\"filenameqz\" value=\"<?=stripSlashes(\$r[filenameqz])?>\">\r\n      (如photeshop_),<input type=checkbox name=closepl value=1<?=\$r[closepl]==1?\" checked\":\"\"?>>关闭评论</td>\r\n  </tr>\r\n</table>\r\n        <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\">签发(多个签发人员，请用&quot;,&quot;格开．不想使用签发，请留空) </td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"> <input name=\"checkuser\" type=\"text\" id=\"checkuser\" value=\"<?=stripSlashes(\$r[checkuser])?>\" size=\"66\"<?=\$checkuserreadonly?>> \r\n              <?=\$changeuser?> \r\n            </td>\r\n          </tr>\r\n          <tr>\r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"><input name=\"recheckuser\" type=\"checkbox\" id=\"recheckuser\" value=\"1\">\r\n              重新签发（稿件被退下来后重新提交给未签发的人员的操作，如修改签发人员，所有人员需重新签发）</td>\r\n          </tr>\r\n        </table>\r\n        <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\">所属专题:</td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"> \r\n              <?=\$z_class?>\r\n            </td>\r\n          </tr>\r\n        </table> <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"><strong>关键字:</strong> <input name=\"keyboard\" type=\"text\" id=\"keyboard\" size=\"43\" value=\"<?=stripSlashes(\$r[keyboard])?>\">\r\n              (多个请用&quot;,&quot;格开)</td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\">外部链接: \r\n              <input name=\"titleurl\" type=\"text\" id=\"titleurl2\" value=\"<?=stripSlashes(\$r[titleurl])?>\" size=\"42\">\r\n              (填写后标题的连接地址将是此链接)</td>\r\n          </tr>\r\n        </table>','特殊属性','0','1','0','','0','','0','0','4','flash','1','','0','1','1','');");
$empire->query("replace into `phome_enewsf` values('42','titlepic','标题图片','img','<input name=\"titlepic\" type=\"text\" id=\"titlepic\" value=\"<?=stripSlashes(\$r[titlepic])?>\" size=\"56\"> \r\n        <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>(用于图片调用信息) ','标题图片','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      ( \r\n      <input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--titlepic--]\" size=\"20\">\r\n      )</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n    <tr>\r\n      <td>附件前缀 \r\n        <input name=\"add[qz_titlepic]\" type=\"text\" id=\"add[qz_titlepic]\" value=\"<?=stripSlashes(\$r[qz_titlepic])?>\"> \r\n        <input name=\"add[save_titlepic]\" type=\"checkbox\" id=\"add[save_titlepic]\" value=\" checked\"<?=\$r[save_titlepic]?>>\r\n        远程保存 </td>\r\n    </tr>\r\n    <tr> \r\n      <td><textarea name=\"add[zz_titlepic]\" cols=\"60\" rows=\"10\" id=\"add[zz_titlepic]\"><?=htmlspecialchars(stripSlashes(\$r[zz_titlepic]))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name=\"add[z_titlepic]\" type=\"text\" id=\"titlepic5\" value=\"<?=stripSlashes(\$r[z_titlepic])?>\">\r\n        (如填写这里，这就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>','1','','0','1','4','flash','1','','0','1','1','<input type=\"file\" name=\"titlepicfile\">');");
$empire->query("replace into `phome_enewsf` values('43','newstime','发布时间','','<input name=\"newstime\" type=\"text\" id=\"newstime\" value=\"<?=\$r[newstime]?>\"><input type=button name=button value=\"设为当前时间\" onclick=\"document.add.newstime.value=''<?=\$todaytime?>''\">','发布时间','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--newstime--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_newstime]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_newstime]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_newstime]\" type=\"text\" id=\"add[z_newstime]\" value=\"<?=stripSlashes(\$r[z_newstime])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>','0','','0','1','4','flash','1','','0','1','1','');");
$empire->query("replace into `phome_enewsf` values('44','flashwriter','作者','text','<input name=\\\\\"flashwriter\\\\\" type=\\\\\"text\\\\\" size=45 id=\\\\\"flashwriter\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[flashwriter]))?>\\\\\">\r\n','作者','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--flashwriter--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_flashwriter]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_flashwriter]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_flashwriter]\" type=\"text\" id=\"add[z_flashwriter]\" value=\"<?=stripSlashes(\$r[z_flashwriter])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','30','1','4','flash','0','','0','1','1','<input name=\\\\\"flashwriter\\\\\" type=\\\\\"text\\\\\" size=30 id=\\\\\"flashwriter\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''flashwriter\\\\'',stripSlashes(\$r[flashwriter]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('45','email','作者邮箱','text','<input name=\\\\\"email\\\\\" type=\\\\\"text\\\\\" size=45 id=\\\\\"email\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[email]))?>\\\\\">\r\n','作者邮箱','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--email--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_email]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_email]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_email]\" type=\"text\" id=\"add[z_email]\" value=\"<?=stripSlashes(\$r[z_email])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','80','1','4','flash','0','','0','1','1','<input name=\\\\\"email\\\\\" type=\\\\\"text\\\\\" size=30 id=\\\\\"email\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''email\\\\'',stripSlashes(\$r[email]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('46','star','作品等级','select','<select name=\\\\\"star\\\\\" id=\\\\\"star\\\\\">\r\n<option value=\\\\\"1\\\\\"<?=\$r[star]==\\\\\"1\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>1星</option>\r\n<option value=\\\\\"2\\\\\"<?=\$r[star]==\\\\\"2\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>2星</option>\r\n<option value=\\\\\"3\\\\\"<?=\$r[star]==\\\\\"3\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>3星</option>\r\n<option value=\\\\\"4\\\\\"<?=\$r[star]==\\\\\"4\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>4星</option>\r\n<option value=\\\\\"5\\\\\"<?=\$r[star]==\\\\\"5\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>5星</option>\r\n</select>','','1','1','1','','1','TINYINT','1','1','4','flash','0','1|2|3|4|5','0','1','1','<select name=\\\\\"star\\\\\" id=\\\\\"star\\\\\">\r\n<option value=\\\\\"1\\\\\"<?=\$r[star]==\\\\\"1\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>1星</option>\r\n<option value=\\\\\"2\\\\\"<?=\$r[star]==\\\\\"2\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>2星</option>\r\n<option value=\\\\\"3\\\\\"<?=\$r[star]==\\\\\"3\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>3星</option>\r\n<option value=\\\\\"4\\\\\"<?=\$r[star]==\\\\\"4\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>4星</option>\r\n<option value=\\\\\"5\\\\\"<?=\$r[star]==\\\\\"5\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>5星</option>\r\n</select>');");
$empire->query("replace into `phome_enewsf` values('47','filesize','文件大小','text','<input name=\\\\\"filesize\\\\\" type=\\\\\"text\\\\\" id=\\\\\"filesize\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[filesize]))?>\\\\\">\r\n<select name=\\\\\"select\\\\\" onchange=\\\\\"document.add.filesize.value+=this.value\\\\\">\r\n        <option value=\\\\\"\\\\\">单位</option>\r\n        <option value=\\\\\" MB\\\\\">MB</option>\r\n        <option value=\\\\\" KB\\\\\">KB</option>\r\n        <option value=\\\\\" GB\\\\\">GB</option>\r\n        <option value=\\\\\" BYTES\\\\\">BYTES</option>\r\n      </select>','文件大小','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--filesize--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_filesize]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_filesize]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_filesize]\" type=\"text\" id=\"add[z_filesize]\" value=\"<?=stripSlashes(\$r[z_filesize])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','30','1','4','flash','0','','0','1','1','<input name=\\\\\"filesize\\\\\" type=\\\\\"text\\\\\" id=\\\\\"filesize\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''filesize\\\\'',stripSlashes(\$r[filesize]))?>\\\\\">\r\n<select name=\\\\\"select\\\\\" onchange=\\\\\"document.add.filesize.value+=this.value\\\\\">\r\n        <option value=\\\\\"\\\\\">单位</option>\r\n        <option value=\\\\\" MB\\\\\">MB</option>\r\n        <option value=\\\\\" KB\\\\\">KB</option>\r\n        <option value=\\\\\" GB\\\\\">GB</option>\r\n        <option value=\\\\\" BYTES\\\\\">BYTES</option>\r\n      </select>');");
$empire->query("replace into `phome_enewsf` values('48','flashurl','Flash地址','flash','\r\n<input name=\"flashurl\" type=\"text\" id=\"flashurl\" value=\"<?=htmlspecialchars(stripSlashes(\$r[flashurl]))?>\" size=\"45\">\r\n<a onclick=\"window.open(''editor/file.php?userid=<?=\$logininid?>&username=<?=\$loginin?>&rnd=<?=\$loginrnd?>&type=2&classid=<?=\$classid?>&filepass=<?=\$filepass?>&doing=1&field=flashurl'','''',''width=700,height=550,scrollbars=yes'');\" title=\"选择已上传的FLASH\"><img src=\"../data/images/changeflash.gif\" border=\"0\" align=\"absbottom\"></a> \r\n','Flash地址','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      ( \r\n      <input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--flashurl--]\" size=\"20\">\r\n      )</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n    <tr>\r\n      <td>附件前缀 \r\n        <input name=\"add[qz_flashurl]\" type=\"text\" id=\"add[qz_flashurl]\" value=\"<?=stripSlashes(\$r[qz_flashurl])?>\"> \r\n        <input name=\"add[save_flashurl]\" type=\"checkbox\" id=\"add[save_flashurl]\" value=\" checked\"<?=\$r[save_flashurl]?>>\r\n        远程保存 </td>\r\n    </tr>\r\n    <tr> \r\n      <td><textarea name=\"add[zz_flashurl]\" cols=\"60\" rows=\"10\" id=\"add[zz_flashurl]\"><?=htmlspecialchars(stripSlashes(\$r[zz_flashurl]))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name=\"add[z_flashurl]\" type=\"text\" id=\"flashurl5\" value=\"<?=stripSlashes(\$r[z_flashurl])?>\">\r\n        (如填写这里，这就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>\r\n','1','VARCHAR','255','1','4','flash','0','','0','1','1','\r\n<input type=\"file\" name=\"flashurlfile\">\r\n');");
$empire->query("replace into `phome_enewsf` values('49','width','Flash宽度','text','<input name=\\\\\"width\\\\\" type=\\\\\"text\\\\\" size=6 id=\\\\\"width\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[width]))?>\\\\\">\r\n','Flash宽度','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--width--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_width]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_width]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_width]\" type=\"text\" id=\"add[z_width]\" value=\"<?=stripSlashes(\$r[z_width])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','20','1','4','flash','0','','0','1','1','<input name=\\\\\"width\\\\\" type=\\\\\"text\\\\\" size=6 id=\\\\\"width\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''width\\\\'',stripSlashes(\$r[width]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('50','height','Flash高度','text','<input name=\\\\\"height\\\\\" type=\\\\\"text\\\\\" size=6 id=\\\\\"height\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[height]))?>\\\\\">\r\n','Flash高度','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--height--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_height]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_height]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_height]\" type=\"text\" id=\"add[z_height]\" value=\"<?=stripSlashes(\$r[z_height])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','20','1','4','flash','0','','0','1','1','<input name=\\\\\"height\\\\\" type=\\\\\"text\\\\\" size=6 id=\\\\\"height\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''height\\\\'',stripSlashes(\$r[height]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('51','flashsay','作品简介','textarea','\r\n<textarea name=\"flashsay\" cols=\"60\" rows=\"10\" id=\"flashsay\"><?=htmlspecialchars(stripSlashes(\$r[flashsay]))?></textarea>\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--flashsay--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_flashsay]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_flashsay]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_flashsay]\" type=\"text\" id=\"add[z_flashsay]\" value=\"<?=stripSlashes(\$r[z_flashsay])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','TEXT','','1','4','flash','0','','0','1','1','\r\n<textarea name=\"flashsay\" cols=\"60\" rows=\"10\" id=\"flashsay\"><?=DoReqValue(\$tbname,''flashsay'',stripSlashes(\$r[flashsay]))?></textarea>\r\n');");
$empire->query("replace into `phome_enewsf` values('52','title','标题','text','<table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td bgcolor=\"#FFFFFF\"> <input type=text name=title value=\"<?=htmlspecialchars(stripSlashes(\$r[title]))?>\" size=60> \r\n              <input type=\"button\" name=\"button\" value=\"图文\" onclick=\"document.add.title.value=document.add.title.value+''(图文)'';\"> \r\n            </td>\r\n          </tr>\r\n          <tr> \r\n            <td bgcolor=\"#FFFFFF\"> <table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n                <tr> \r\n                  <td width=\"45%\">属性： \r\n                    <input name=\"titlefont[b]\" type=\"checkbox\" id=\"titlefont[b]\" value=\"b\"<?=\$titlefontb?>>\r\n                    粗体 \r\n                    <input name=\"titlefont[i]\" type=\"checkbox\" id=\"titlefont[i]\" value=\"i\"<?=\$titlefonti?>>\r\n                    斜体 \r\n                    <input name=\"titlefont[s]\" type=\"checkbox\" id=\"titlefont[s]\" value=\"s\"<?=\$titlefonts?>>\r\n                    删除线</td>\r\n                  <td width=\"55%\">颜色： \r\n                    <input name=\"titlecolor\" type=\"text\" id=\"titlecolor\" value=\"<?=stripSlashes(\$r[titlecolor])?>\" size=\"10\"> \r\n                    <a onclick=\"foreColor();\"><img src=\"../data/images/color.gif\" width=\"21\" height=\"21\" align=\"absbottom\"></a></td>\r\n                </tr>\r\n              </table></td>\r\n          </tr>\r\n        </table>','标题','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--title--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_title]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_title]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_title]\" type=\"text\" id=\"add[z_title]\" value=\"<?=stripSlashes(\$r[z_title])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>','0','','0','1','5','movie','1','','0','1','1','<input name=\"title\" type=\"text\" id=\"title\" value=\"<?=DoReqValue(\$tbname,''title'',stripSlashes(\$r[title]))?>\">');");
$empire->query("replace into `phome_enewsf` values('53','special.field','特殊属性','',' <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\"> <input name=\"isgood\" type=\"checkbox\" id=\"isgood2\" value=\"1\"<?=\$isgood?>>\r\n      推荐&nbsp;&nbsp; <input name=\"checked\" type=\"checkbox\" id=\"checked4\" value=\"1\"<?=\$checked?>>\r\n      审核&nbsp;&nbsp; <input name=\"firsttitle\" type=\"checkbox\" id=\"firsttitle2\" value=\"1\"<?=\$firsttitle?>>\r\n      头条&nbsp;&nbsp;&nbsp;<strong>&nbsp;置顶级别：</strong> <select name=\"istop\" id=\"select3\">\r\n        <option value=\"0\"<?=\$istop0?>>0级置顶</option>\r\n        <option value=\"1\"<?=\$istop1?>>1级置顶</option>\r\n        <option value=\"2\"<?=\$istop2?>>2级置顶</option>\r\n        <option value=\"3\"<?=\$istop3?>>3级置顶</option>\r\n        <option value=\"4\"<?=\$istop4?>>4级置顶</option>\r\n        <option value=\"5\"<?=\$istop5?>>5级置顶</option>\r\n        <option value=\"6\"<?=\$istop6?>>6级置顶</option>\r\n      </select> <strong>所用内容模板:</strong> <select name=\"newstempid\" id=\"select4\">\r\n        <?=\$newstemp?>\r\n      </select> </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\"><strong>权限设置:</strong> <select name=\"fh\" id=\"select5\">\r\n        <option value=\"0\"<?=\$fh0?>>&gt;=</option>\r\n        <option value=\"1\"<?=\$fh1?>>=</option>\r\n      </select> <select name=\"groupid\" id=\"select6\">\r\n        <option value=\"0\">游客</option>\r\n        <?=\$group?>\r\n      </select>\r\n      查看扣除点数: \r\n      <input name=\"userfen\" type=\"text\" id=\"userfen\" value=\"<?=\$r[userfen]?>\" size=\"6\">\r\n      (&quot;=&quot;：本级别的用户才能查看[对游客无效])</td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\">文件名前缀: <input name=\"filenameqz\" type=\"text\" id=\"filenameqz\" value=\"<?=stripSlashes(\$r[filenameqz])?>\">\r\n      (如photeshop_),<input type=checkbox name=closepl value=1<?=\$r[closepl]==1?\" checked\":\"\"?>>关闭评论</td>\r\n  </tr>\r\n</table>\r\n        <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\">签发(多个签发人员，请用&quot;,&quot;格开．不想使用签发，请留空) </td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"> <input name=\"checkuser\" type=\"text\" id=\"checkuser\" value=\"<?=stripSlashes(\$r[checkuser])?>\" size=\"66\"<?=\$checkuserreadonly?>> \r\n              <?=\$changeuser?> \r\n            </td>\r\n          </tr>\r\n          <tr>\r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"><input name=\"recheckuser\" type=\"checkbox\" id=\"recheckuser\" value=\"1\">\r\n              重新签发（稿件被退下来后重新提交给未签发的人员的操作，如修改签发人员，所有人员需重新签发）</td>\r\n          </tr>\r\n        </table>\r\n        <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\">所属专题:</td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"> \r\n              <?=\$z_class?>\r\n            </td>\r\n          </tr>\r\n        </table> <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"><strong>关键字:</strong> <input name=\"keyboard\" type=\"text\" id=\"keyboard\" size=\"43\" value=\"<?=stripSlashes(\$r[keyboard])?>\">\r\n              (多个请用&quot;,&quot;格开)</td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\">外部链接: \r\n              <input name=\"titleurl\" type=\"text\" id=\"titleurl2\" value=\"<?=stripSlashes(\$r[titleurl])?>\" size=\"42\">\r\n              (填写后标题的连接地址将是此链接)</td>\r\n          </tr>\r\n        </table>','特殊属性','0','1','0','','0','','0','0','5','movie','1','','0','1','1','');");
$empire->query("replace into `phome_enewsf` values('54','titlepic','标题图片','img','<input name=\"titlepic\" type=\"text\" id=\"titlepic\" value=\"<?=stripSlashes(\$r[titlepic])?>\" size=\"56\"> \r\n        <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>(用于图片调用信息) ','标题图片','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      ( \r\n      <input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--titlepic--]\" size=\"20\">\r\n      )</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n    <tr>\r\n      <td>附件前缀 \r\n        <input name=\"add[qz_titlepic]\" type=\"text\" id=\"add[qz_titlepic]\" value=\"<?=stripSlashes(\$r[qz_titlepic])?>\"> \r\n        <input name=\"add[save_titlepic]\" type=\"checkbox\" id=\"add[save_titlepic]\" value=\" checked\"<?=\$r[save_titlepic]?>>\r\n        远程保存 </td>\r\n    </tr>\r\n    <tr> \r\n      <td><textarea name=\"add[zz_titlepic]\" cols=\"60\" rows=\"10\" id=\"add[zz_titlepic]\"><?=htmlspecialchars(stripSlashes(\$r[zz_titlepic]))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name=\"add[z_titlepic]\" type=\"text\" id=\"titlepic5\" value=\"<?=stripSlashes(\$r[z_titlepic])?>\">\r\n        (如填写这里，这就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>','1','','0','1','5','movie','1','','0','1','1','<input type=\"file\" name=\"titlepicfile\">');");
$empire->query("replace into `phome_enewsf` values('55','newstime','发布时间','','<input name=\"newstime\" type=\"text\" id=\"newstime\" value=\"<?=\$r[newstime]?>\"><input type=button name=button value=\"设为当前时间\" onclick=\"document.add.newstime.value=''<?=\$todaytime?>''\">','发布时间','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--newstime--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_newstime]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_newstime]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_newstime]\" type=\"text\" id=\"add[z_newstime]\" value=\"<?=stripSlashes(\$r[z_newstime])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>','0','','0','1','5','movie','1','','0','1','1','');");
$empire->query("replace into `phome_enewsf` values('56','movietype','影片类型','select','<select name=\\\\\"movietype\\\\\" id=\\\\\"movietype\\\\\">\r\n<option value=\\\\\"港台影视\\\\\"<?=\$r[movietype]==\\\\\"港台影视\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>港台影视</option>\r\n<option value=\\\\\"海外影视\\\\\"<?=\$r[movietype]==\\\\\"海外影视\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>海外影视</option>\r\n<option value=\\\\\"大陆影视\\\\\"<?=\$r[movietype]==\\\\\"大陆影视\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>大陆影视</option>\r\n<option value=\\\\\"日韩影视\\\\\"<?=\$r[movietype]==\\\\\"日韩影视\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>日韩影视</option>\r\n</select>','','1','1','1','','1','VARCHAR','30','1','5','movie','0','港台影视|海外影视|大陆影视|日韩影视','0','1','1','<select name=\\\\\"movietype\\\\\" id=\\\\\"movietype\\\\\">\r\n<option value=\\\\\"港台影视\\\\\"<?=\$r[movietype]==\\\\\"港台影视\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>港台影视</option>\r\n<option value=\\\\\"海外影视\\\\\"<?=\$r[movietype]==\\\\\"海外影视\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>海外影视</option>\r\n<option value=\\\\\"大陆影视\\\\\"<?=\$r[movietype]==\\\\\"大陆影视\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>大陆影视</option>\r\n<option value=\\\\\"日韩影视\\\\\"<?=\$r[movietype]==\\\\\"日韩影视\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>日韩影视</option>\r\n</select>');");
$empire->query("replace into `phome_enewsf` values('57','company','出品公司','text','\r\n<input name=\"company\" type=\"text\" id=\"company\" value=\"<?=htmlspecialchars(stripSlashes(\$r[company]))?>\">\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--company--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_company]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_company]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_company]\" type=\"text\" id=\"add[z_company]\" value=\"<?=stripSlashes(\$r[z_company])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','200','1','5','movie','0','','0','1','1','\r\n<input name=\"company\" type=\"text\" id=\"company\" value=\"<?=DoReqValue(\$tbname,''company'',stripSlashes(\$r[company]))?>\">\r\n');");
$empire->query("replace into `phome_enewsf` values('58','movietime','出品时间','text','\r\n<input name=\"movietime\" type=\"text\" id=\"movietime\" value=\"<?=htmlspecialchars(stripSlashes(\$r[movietime]))?>\">\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--movietime--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_movietime]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_movietime]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_movietime]\" type=\"text\" id=\"add[z_movietime]\" value=\"<?=stripSlashes(\$r[z_movietime])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','20','1','5','movie','0','','0','1','1','\r\n<input name=\"movietime\" type=\"text\" id=\"movietime\" value=\"<?=DoReqValue(\$tbname,''movietime'',stripSlashes(\$r[movietime]))?>\">\r\n');");
$empire->query("replace into `phome_enewsf` values('59','player','主演','text','\r\n<input name=\"player\" type=\"text\" id=\"player\" value=\"<?=htmlspecialchars(stripSlashes(\$r[player]))?>\">\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--player--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_player]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_player]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_player]\" type=\"text\" id=\"add[z_player]\" value=\"<?=stripSlashes(\$r[z_player])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','255','1','5','movie','0','','0','1','1','\r\n<input name=\"player\" type=\"text\" id=\"player\" value=\"<?=DoReqValue(\$tbname,''player'',stripSlashes(\$r[player]))?>\">\r\n');");
$empire->query("replace into `phome_enewsf` values('60','playadmin','导演','text','\r\n<input name=\"playadmin\" type=\"text\" id=\"playadmin\" value=\"<?=htmlspecialchars(stripSlashes(\$r[playadmin]))?>\">\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--playadmin--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_playadmin]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_playadmin]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_playadmin]\" type=\"text\" id=\"add[z_playadmin]\" value=\"<?=stripSlashes(\$r[z_playadmin])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','255','1','5','movie','0','','0','1','1','\r\n<input name=\"playadmin\" type=\"text\" id=\"playadmin\" value=\"<?=DoReqValue(\$tbname,''playadmin'',stripSlashes(\$r[playadmin]))?>\">\r\n');");
$empire->query("replace into `phome_enewsf` values('61','filetype','影片格式','text','<input name=\\\\\"filetype\\\\\" type=\\\\\"text\\\\\" size=8 id=\\\\\"filetype\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[filetype]))?>\\\\\">\r\n<select name=\\\\\"select2\\\\\" onchange=\\\\\"document.add.filetype.value=this.value\\\\\">\r\n        <option value=\\\\\"\\\\\">类型</option>\r\n        <option value=\\\\\".rm\\\\\">.rm</option>\r\n        <option value=\\\\\".rmvb\\\\\">.rmvb</option>\r\n        <option value=\\\\\".mp3\\\\\">.mp3</option>\r\n        <option value=\\\\\".asf\\\\\">.asf</option>\r\n        <option value=\\\\\".wmv\\\\\">.wmv</option>\r\n        <option value=\\\\\".avi\\\\\">.avi</option>\r\n      </select>','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--filetype--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_filetype]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_filetype]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_filetype]\" type=\"text\" id=\"add[z_filetype]\" value=\"<?=stripSlashes(\$r[z_filetype])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','20','1','5','movie','0','','0','1','1','<input name=\\\\\"filetype\\\\\" type=\\\\\"text\\\\\" id=\\\\\"filetype\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''filetype\\\\'',stripSlashes(\$r[filetype]))?>\\\\\">\r\n<select name=\\\\\"select2\\\\\" onchange=\\\\\"document.add.filetype.value=this.value\\\\\">\r\n        <option value=\\\\\"\\\\\">类型</option>\r\n        <option value=\\\\\".rm\\\\\">.rm</option>\r\n        <option value=\\\\\".rmvb\\\\\">.rmvb</option>\r\n        <option value=\\\\\".mp3\\\\\">.mp3</option>\r\n        <option value=\\\\\".asf\\\\\">.asf</option>\r\n        <option value=\\\\\".wmv\\\\\">.wmv</option>\r\n        <option value=\\\\\".avi\\\\\">.avi</option>\r\n      </select>');");
$empire->query("replace into `phome_enewsf` values('62','filesize','影片大小','text','<input name=\\\\\"filesize\\\\\" type=\\\\\"text\\\\\" size=12 id=\\\\\"filesize\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[filesize]))?>\\\\\">\r\n<select name=\\\\\"select\\\\\" onchange=\\\\\"document.add.filesize.value+=this.value\\\\\">\r\n        <option value=\\\\\"\\\\\">单位</option>\r\n        <option value=\\\\\" MB\\\\\">MB</option>\r\n        <option value=\\\\\" KB\\\\\">KB</option>\r\n        <option value=\\\\\" GB\\\\\">GB</option>\r\n        <option value=\\\\\" BYTES\\\\\">BYTES</option>\r\n      </select>','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--filesize--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_filesize]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_filesize]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_filesize]\" type=\"text\" id=\"add[z_filesize]\" value=\"<?=stripSlashes(\$r[z_filesize])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','20','1','5','movie','0','','0','1','1','<input name=\\\\\"filesize\\\\\" type=\\\\\"text\\\\\" id=\\\\\"filesize\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''filesize\\\\'',stripSlashes(\$r[filesize]))?>\\\\\">\r\n<select name=\\\\\"select\\\\\" onchange=\\\\\"document.add.filesize.value+=this.value\\\\\">\r\n        <option value=\\\\\"\\\\\">单位</option>\r\n        <option value=\\\\\" MB\\\\\">MB</option>\r\n        <option value=\\\\\" KB\\\\\">KB</option>\r\n        <option value=\\\\\" GB\\\\\">GB</option>\r\n        <option value=\\\\\" BYTES\\\\\">BYTES</option>\r\n      </select>');");
$empire->query("replace into `phome_enewsf` values('63','star','推荐等级','select','<select name=\\\\\"star\\\\\" id=\\\\\"star\\\\\">\r\n<option value=\\\\\"1\\\\\"<?=\$r[star]==\\\\\"1\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>1星</option>\r\n<option value=\\\\\"2\\\\\"<?=\$r[star]==\\\\\"2\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>2星</option>\r\n<option value=\\\\\"3\\\\\"<?=\$r[star]==\\\\\"3\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>3星</option>\r\n<option value=\\\\\"4\\\\\"<?=\$r[star]==\\\\\"4\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>4星</option>\r\n<option value=\\\\\"5\\\\\"<?=\$r[star]==\\\\\"5\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>5星</option>\r\n</select>','','1','1','1','','1','TINYINT','1','1','5','movie','0','1|2|3|4|5','0','1','1','<select name=\\\\\"star\\\\\" id=\\\\\"star\\\\\">\r\n<option value=\\\\\"1\\\\\"<?=\$r[star]==\\\\\"1\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>1星</option>\r\n<option value=\\\\\"2\\\\\"<?=\$r[star]==\\\\\"2\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>2星</option>\r\n<option value=\\\\\"3\\\\\"<?=\$r[star]==\\\\\"3\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>3星</option>\r\n<option value=\\\\\"4\\\\\"<?=\$r[star]==\\\\\"4\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>4星</option>\r\n<option value=\\\\\"5\\\\\"<?=\$r[star]==\\\\\"5\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>5星</option>\r\n</select>');");
$empire->query("replace into `phome_enewsf` values('64','playdk','带宽要求','text','\r\n<input name=\"playdk\" type=\"text\" id=\"playdk\" value=\"<?=htmlspecialchars(stripSlashes(\$r[playdk]))?>\">\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--playdk--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_playdk]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_playdk]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_playdk]\" type=\"text\" id=\"add[z_playdk]\" value=\"<?=stripSlashes(\$r[z_playdk])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','30','1','5','movie','0','','0','1','1','\r\n<input name=\"playdk\" type=\"text\" id=\"playdk\" value=\"<?=DoReqValue(\$tbname,''playdk'',stripSlashes(\$r[playdk]))?>\">\r\n');");
$empire->query("replace into `phome_enewsf` values('65','playtime','片长','text','\r\n<input name=\"playtime\" type=\"text\" id=\"playtime\" value=\"<?=htmlspecialchars(stripSlashes(\$r[playtime]))?>\">\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--playtime--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_playtime]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_playtime]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_playtime]\" type=\"text\" id=\"add[z_playtime]\" value=\"<?=stripSlashes(\$r[z_playtime])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','VARCHAR','20','1','5','movie','0','','0','1','1','\r\n<input name=\"playtime\" type=\"text\" id=\"playtime\" value=\"<?=DoReqValue(\$tbname,''playtime'',stripSlashes(\$r[playtime]))?>\">\r\n');");
$empire->query("replace into `phome_enewsf` values('66','moviefen','扣除点数','text','\r\n<input name=\"moviefen\" type=\"text\" id=\"moviefen\" value=\"<?=htmlspecialchars(stripSlashes(\$r[moviefen]))?>\">\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--moviefen--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_moviefen]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_moviefen]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_moviefen]\" type=\"text\" id=\"add[z_moviefen]\" value=\"<?=stripSlashes(\$r[z_moviefen])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','INT','','1','5','movie','0','','0','1','1','\r\n<input name=\"moviefen\" type=\"text\" id=\"moviefen\" value=\"<?=DoReqValue(\$tbname,''moviefen'',stripSlashes(\$r[moviefen]))?>\">\r\n');");
$empire->query("replace into `phome_enewsf` values('67','downpath','下载地址','text','\r\n<script>\r\nfunction doadd()\r\n{var i;\r\nvar str=\"\";\r\nvar oldi=0;\r\nvar j=0;\r\noldi=parseInt(document.add.editnum.value);\r\nfor(i=1;i<=document.add.downnum.value;i++)\r\n{\r\nj=i+oldi;\r\nstr=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>\";\r\n}\r\nwindow.adddown.innerHTML=\"<table width=100% border=0 cellspacing=1 cellpadding=3>\"+str+\"</table>\";\r\n}\r\n</script>\r\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n  <tr>\r\n    <td height=\"25\">\r\n	<input name=\"editnum\" type=\"hidden\" id=\"editnum\" value=\"<?=\$editnum?>\">\r\n	下载地址前缀:\r\n      <input name=\"downurl_qz\" type=\"text\" size=\"32\">\r\n      <select name=\"changeurl_qz\" onchange=\"document.add.downurl_qz.value=document.add.changeurl_qz.value\">\r\n        <option value=\"\" selected>选择前缀</option>\r\n        <?=\$downurlqz?>\r\n      </select></td>\r\n  </tr>\r\n  <tr>\r\n    <td height=\"25\">选择/上传附件:\r\n      <input name=\"changedown_url\" type=\"text\" size=\"32\">\r\n      <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>\r\n  </tr>\r\n  <tr> \r\n    <td><table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n        <tr> \r\n          <td width=\"7%\"> <div align=\"center\">编号</div></td>\r\n          <td width=\"19%\"><div align=\"left\">下载名称</div></td>\r\n          <td width=\"40%\">下载地址 </td>\r\n          <td width=\"21%\"> <div align=\"center\">权限</div></td>\r\n          <td width=\"13%\"> <div align=\"center\">点数</div></td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n  <tr> \r\n    <td>\r\n      <?=\$downloadpath?>\r\n    </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\">下载地址扩展数量: \r\n      <input name=\"downnum\" type=\"text\" id=\"downnum\" value=\"1\" size=\"6\"> <input type=\"button\" name=\"Submit5\" value=\"输出地址\" onclick=\"javascript:doadd();\"></td>\r\n  </tr>\r\n  <tr> \r\n    <td id=adddown></td>\r\n  </tr>\r\n</table>\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (\r\n      <input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--ecmsdownpathurl--]\" size=\"20\">\r\n      <br>\r\n      <input name=\"textfield2\" type=\"text\" id=\"textfield2\" value=\"[!--ecmsdownpathname--]\" size=\"20\">\r\n      )<br>\r\n      格式:地址正则(url)[!empirecms!]名称正则(name)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_downpath]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_downpath]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td>地址前缀:\r\n<input name=\"add[qz_downpath]\" type=\"text\" id=\"add[qz_downpath]\" value=\"<?=stripSlashes(\$r[qz_downpath])?>\">\r\n        </td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','MEDIUMTEXT','','1','5','movie','0','','0','1','1','\r\n<input type=\"file\" name=\"downpathfile\">\r\n');");
$empire->query("replace into `phome_enewsf` values('68','onlinepath','在线观看地址','text','\r\n<script>\r\nfunction dooadd()\r\n{var i;\r\nvar str=\"\";\r\nvar oldi=0;\r\nvar j=0;\r\noldi=parseInt(document.add.oeditnum.value);\r\nfor(i=1;i<=document.add.odownnum.value;i++)\r\n{\r\nj=i+oldi;\r\nstr=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>\";\r\n}\r\nwindow.addonline.innerHTML=\"<table width=100% border=0 cellspacing=1 cellpadding=3>\"+str+\"</table>\";\r\n}\r\n</script>\r\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n  <tr>\r\n    <td height=\"25\">使用播放器:\r\n<input type=\"radio\" name=\"wplay\" value=\"0\"<?=\$wplay0?>>\r\n      RealPlayer \r\n      <input type=\"radio\" name=\"wplay\" value=\"1\"<?=\$wplay1?>>\r\n      MediaPlayer</td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\"> <input name=\"oeditnum\" type=\"hidden\" id=\"oeditnum\" value=\"<?=\$oeditnum?>\">\r\n      观看地址前缀: \r\n      <input name=\"onlineurl_qz\" type=\"text\" size=\"32\"> <select name=\"changeonlineurl_qz\" onchange=\"document.add.onlineurl_qz.value=document.add.changeonlineurl_qz.value\">\r\n        <option value=\"\" selected>选择前缀</option>\r\n        <?=\$downurlqz?>\r\n      </select></td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\">选择/上传附件: \r\n      <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>\r\n  </tr>\r\n  <tr> \r\n    <td><table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n        <tr> \r\n          <td width=\"7%\"> <div align=\"center\">编号</div></td>\r\n          <td width=\"19%\"><div align=\"left\">观看名称</div></td>\r\n          <td width=\"40%\">观看地址 </td>\r\n          <td width=\"21%\"> <div align=\"center\">权限</div></td>\r\n          <td width=\"13%\"> <div align=\"center\">点数</div></td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n  <tr> \r\n    <td> \r\n      <?=\$onlinemoviepath?>\r\n    </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\">在线地址扩展数量: \r\n      <input name=\"odownnum\" type=\"text\" id=\"odownnum\" value=\"1\" size=\"6\"> <input type=\"button\" name=\"Submit5\" value=\"输出地址\" onclick=\"javascript:dooadd();\"></td>\r\n  </tr>\r\n  <tr> \r\n    <td id=addonline></td>\r\n  </tr>\r\n</table>\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (\r\n      <input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--ecmsonlinepathurl--]\" size=\"20\">\r\n      <br>\r\n      <input name=\"textfield2\" type=\"text\" id=\"textfield2\" value=\"[!--ecmsonlinepathname--]\" size=\"20\">\r\n      )<br>\r\n      格式:地址正则(url)[!empirecms!]名称正则(name)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_onlinepath]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_onlinepath]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td>地址前缀:\r\n<input name=\"add[qz_onlinepath]\" type=\"text\" id=\"add[qz_onlinepath]\" value=\"<?=stripSlashes(\$r[qz_onlinepath])?>\">\r\n        </td>\r\n        </tr>\r\n      </table>\r\n	  <table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\"><tr><td>\r\n	  使用播放器:<input type=\"radio\" name=\"add[wplay]\" value=\"0\"<?=\$wplay0?>>\r\n      RealPlayer \r\n      <input type=\"radio\" name=\"add[wplay]\" value=\"1\"<?=\$wplay1?>>\r\n      MediaPlayer\r\n	  </td></tr></table>\r\n	  </td>\r\n  </tr>\r\n','1','MEDIUMTEXT','','1','5','movie','0','','0','1','1','\r\n<input type=\"file\" name=\"onlinepathfile\">\r\n<input type=\"hidden\" name=\"onlinepathmtfile\" value=1>\r\n');");
$empire->query("replace into `phome_enewsf` values('69','moviesay','影片简介','textarea','<textarea name=\\\\\"moviesay\\\\\" cols=\\\\\"80\\\\\" rows=\\\\\"10\\\\\" id=\\\\\"moviesay\\\\\"><?=htmlspecialchars(stripSlashes(\$r[moviesay]))?></textarea>\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--moviesay--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_moviesay]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_moviesay]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_moviesay]\" type=\"text\" id=\"add[z_moviesay]\" value=\"<?=stripSlashes(\$r[z_moviesay])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','MEDIUMTEXT','','1','5','movie','0','','0','1','1','<textarea name=\\\\\"moviesay\\\\\" cols=\\\\\"60\\\\\" rows=\\\\\"10\\\\\" id=\\\\\"moviesay\\\\\"><?=DoReqValue(\$tbname,\\\\''moviesay\\\\'',stripSlashes(\$r[moviesay]))?></textarea>\r\n');");
$empire->query("replace into `phome_enewsf` values('70','title','标题','text','<table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td bgcolor=\"#FFFFFF\"> <input type=text name=title value=\"<?=htmlspecialchars(stripSlashes(\$r[title]))?>\" size=60> \r\n              <input type=\"button\" name=\"button\" value=\"图文\" onclick=\"document.add.title.value=document.add.title.value+''(图文)'';\"> \r\n            </td>\r\n          </tr>\r\n          <tr> \r\n            <td bgcolor=\"#FFFFFF\"> <table width=\"100%\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n                <tr> \r\n                  <td width=\"45%\">属性： \r\n                    <input name=\"titlefont[b]\" type=\"checkbox\" id=\"titlefont[b]\" value=\"b\"<?=\$titlefontb?>>\r\n                    粗体 \r\n                    <input name=\"titlefont[i]\" type=\"checkbox\" id=\"titlefont[i]\" value=\"i\"<?=\$titlefonti?>>\r\n                    斜体 \r\n                    <input name=\"titlefont[s]\" type=\"checkbox\" id=\"titlefont[s]\" value=\"s\"<?=\$titlefonts?>>\r\n                    删除线</td>\r\n                  <td width=\"55%\">颜色： \r\n                    <input name=\"titlecolor\" type=\"text\" id=\"titlecolor\" value=\"<?=stripSlashes(\$r[titlecolor])?>\" size=\"10\"> \r\n                    <a onclick=\"foreColor();\"><img src=\"../data/images/color.gif\" width=\"21\" height=\"21\" align=\"absbottom\"></a></td>\r\n                </tr>\r\n              </table></td>\r\n          </tr>\r\n        </table>','标题','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--title--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_title]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_title]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_title]\" type=\"text\" id=\"add[z_title]\" value=\"<?=stripSlashes(\$r[z_title])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>','0','','0','1','6','shop','1','','0','1','1','<input name=\"title\" type=\"text\" id=\"title\" value=\"<?=DoReqValue(\$tbname,''title'',stripSlashes(\$r[title]))?>\">');");
$empire->query("replace into `phome_enewsf` values('71','special.field','特殊属性','',' <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\"> <input name=\"isgood\" type=\"checkbox\" id=\"isgood2\" value=\"1\"<?=\$isgood?>>\r\n      推荐&nbsp;&nbsp; <input name=\"checked\" type=\"checkbox\" id=\"checked4\" value=\"1\"<?=\$checked?>>\r\n      审核&nbsp;&nbsp; <input name=\"firsttitle\" type=\"checkbox\" id=\"firsttitle2\" value=\"1\"<?=\$firsttitle?>>\r\n      头条&nbsp;&nbsp;&nbsp;<strong>&nbsp;置顶级别：</strong> <select name=\"istop\" id=\"select3\">\r\n        <option value=\"0\"<?=\$istop0?>>0级置顶</option>\r\n        <option value=\"1\"<?=\$istop1?>>1级置顶</option>\r\n        <option value=\"2\"<?=\$istop2?>>2级置顶</option>\r\n        <option value=\"3\"<?=\$istop3?>>3级置顶</option>\r\n        <option value=\"4\"<?=\$istop4?>>4级置顶</option>\r\n        <option value=\"5\"<?=\$istop5?>>5级置顶</option>\r\n        <option value=\"6\"<?=\$istop6?>>6级置顶</option>\r\n      </select> <strong>所用内容模板:</strong> <select name=\"newstempid\" id=\"select4\">\r\n        <?=\$newstemp?>\r\n      </select> </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\"><strong>权限设置:</strong> <select name=\"fh\" id=\"select5\">\r\n        <option value=\"0\"<?=\$fh0?>>&gt;=</option>\r\n        <option value=\"1\"<?=\$fh1?>>=</option>\r\n      </select> <select name=\"groupid\" id=\"select6\">\r\n        <option value=\"0\">游客</option>\r\n        <?=\$group?>\r\n      </select>\r\n      查看扣除点数: \r\n      <input name=\"userfen\" type=\"text\" id=\"userfen\" value=\"<?=\$r[userfen]?>\" size=\"6\">\r\n      (&quot;=&quot;：本级别的用户才能查看[对游客无效])</td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\">文件名前缀: <input name=\"filenameqz\" type=\"text\" id=\"filenameqz\" value=\"<?=stripSlashes(\$r[filenameqz])?>\">\r\n      (如photeshop_),<input type=checkbox name=closepl value=1<?=\$r[closepl]==1?\" checked\":\"\"?>>关闭评论</td>\r\n  </tr>\r\n</table>\r\n        <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\">签发(多个签发人员，请用&quot;,&quot;格开．不想使用签发，请留空) </td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"> <input name=\"checkuser\" type=\"text\" id=\"checkuser\" value=\"<?=stripSlashes(\$r[checkuser])?>\" size=\"66\"<?=\$checkuserreadonly?>> \r\n              <?=\$changeuser?> \r\n            </td>\r\n          </tr>\r\n          <tr>\r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"><input name=\"recheckuser\" type=\"checkbox\" id=\"recheckuser\" value=\"1\">\r\n              重新签发（稿件被退下来后重新提交给未签发的人员的操作，如修改签发人员，所有人员需重新签发）</td>\r\n          </tr>\r\n        </table>\r\n        <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\">所属专题:</td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"> \r\n              <?=\$z_class?>\r\n            </td>\r\n          </tr>\r\n        </table> <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"><strong>关键字:</strong> <input name=\"keyboard\" type=\"text\" id=\"keyboard\" size=\"43\" value=\"<?=stripSlashes(\$r[keyboard])?>\">\r\n              (多个请用&quot;,&quot;格开)</td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\">外部链接: \r\n              <input name=\"titleurl\" type=\"text\" id=\"titleurl2\" value=\"<?=stripSlashes(\$r[titleurl])?>\" size=\"42\">\r\n              (填写后标题的连接地址将是此链接)</td>\r\n          </tr>\r\n        </table>','特殊属性','0','1','0','','0','','0','0','6','shop','1','','0','1','1','');");
$empire->query("replace into `phome_enewsf` values('72','titlepic','标题图片','img','<input name=\"titlepic\" type=\"text\" id=\"titlepic\" value=\"<?=stripSlashes(\$r[titlepic])?>\" size=\"56\"> \r\n        <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>(用于图片调用信息) ','标题图片','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      ( \r\n      <input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--titlepic--]\" size=\"20\">\r\n      )</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n    <tr>\r\n      <td>附件前缀 \r\n        <input name=\"add[qz_titlepic]\" type=\"text\" id=\"add[qz_titlepic]\" value=\"<?=stripSlashes(\$r[qz_titlepic])?>\"> \r\n        <input name=\"add[save_titlepic]\" type=\"checkbox\" id=\"add[save_titlepic]\" value=\" checked\"<?=\$r[save_titlepic]?>>\r\n        远程保存 </td>\r\n    </tr>\r\n    <tr> \r\n      <td><textarea name=\"add[zz_titlepic]\" cols=\"60\" rows=\"10\" id=\"add[zz_titlepic]\"><?=htmlspecialchars(stripSlashes(\$r[zz_titlepic]))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name=\"add[z_titlepic]\" type=\"text\" id=\"titlepic5\" value=\"<?=stripSlashes(\$r[z_titlepic])?>\">\r\n        (如填写这里，这就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>','1','','0','1','6','shop','1','','0','1','1','<input type=\"file\" name=\"titlepicfile\">');");
$empire->query("replace into `phome_enewsf` values('73','newstime','发布时间','','<input name=\"newstime\" type=\"text\" id=\"newstime\" value=\"<?=\$r[newstime]?>\"><input type=button name=button value=\"设为当前时间\" onclick=\"document.add.newstime.value=''<?=\$todaytime?>''\">','发布时间','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--newstime--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_newstime]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_newstime]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_newstime]\" type=\"text\" id=\"add[z_newstime]\" value=\"<?=stripSlashes(\$r[z_newstime])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>','0','','0','1','6','shop','1','','0','1','1','');");
$empire->query("replace into `phome_enewsf` values('74','productno','商品编号','text','\r\n<input name=\"productno\" type=\"text\" id=\"productno\" value=\"<?=htmlspecialchars(stripSlashes(\$r[productno]))?>\">\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--productno--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_productno]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_productno]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_productno]\" type=\"text\" id=\"add[z_productno]\" value=\"<?=stripSlashes(\$r[z_productno])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','0','VARCHAR','30','1','6','shop','0','','0','1','1','\r\n<input name=\"productno\" type=\"text\" id=\"productno\" value=\"<?=DoReqValue(\$tbname,''productno'',stripSlashes(\$r[productno]))?>\">\r\n');");
$empire->query("replace into `phome_enewsf` values('75','pbrand','品牌','text','\r\n<input name=\"pbrand\" type=\"text\" id=\"pbrand\" value=\"<?=htmlspecialchars(stripSlashes(\$r[pbrand]))?>\">\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--pbrand--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_pbrand]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_pbrand]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_pbrand]\" type=\"text\" id=\"add[z_pbrand]\" value=\"<?=stripSlashes(\$r[z_pbrand])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','0','VARCHAR','30','1','6','shop','0','','0','1','1','\r\n<input name=\"pbrand\" type=\"text\" id=\"pbrand\" value=\"<?=DoReqValue(\$tbname,''pbrand'',stripSlashes(\$r[pbrand]))?>\">\r\n');");
$empire->query("replace into `phome_enewsf` values('76','intro','简单描述','textarea','<textarea name=\\\\\"intro\\\\\" cols=\\\\\"80\\\\\" rows=\\\\\"10\\\\\" id=\\\\\"intro\\\\\"><?=htmlspecialchars(stripSlashes(\$r[intro]))?></textarea>\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--intro--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_intro]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_intro]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_intro]\" type=\"text\" id=\"add[z_intro]\" value=\"<?=stripSlashes(\$r[z_intro])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','0','TEXT','','1','6','shop','0','','0','1','1','<textarea name=\\\\\"intro\\\\\" cols=\\\\\"60\\\\\" rows=\\\\\"10\\\\\" id=\\\\\"intro\\\\\"><?=DoReqValue(\$tbname,\\\\''intro\\\\'',stripSlashes(\$r[intro]))?></textarea>\r\n');");
$empire->query("replace into `phome_enewsf` values('77','unit','计量单位','text','\r\n<input name=\"unit\" type=\"text\" id=\"unit\" value=\"<?=htmlspecialchars(stripSlashes(\$r[unit]))?>\">\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--unit--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_unit]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_unit]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_unit]\" type=\"text\" id=\"add[z_unit]\" value=\"<?=stripSlashes(\$r[z_unit])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','0','VARCHAR','16','1','6','shop','0','','0','1','1','\r\n<input name=\"unit\" type=\"text\" id=\"unit\" value=\"<?=DoReqValue(\$tbname,''unit'',stripSlashes(\$r[unit]))?>\">\r\n');");
$empire->query("replace into `phome_enewsf` values('78','weight','单位重量','text','\r\n<input name=\"weight\" type=\"text\" id=\"weight\" value=\"<?=htmlspecialchars(stripSlashes(\$r[weight]))?>\">\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--weight--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_weight]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_weight]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_weight]\" type=\"text\" id=\"add[z_weight]\" value=\"<?=stripSlashes(\$r[z_weight])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','0','VARCHAR','20','1','6','shop','0','','0','1','1','\r\n<input name=\"weight\" type=\"text\" id=\"weight\" value=\"<?=DoReqValue(\$tbname,''weight'',stripSlashes(\$r[weight]))?>\">\r\n');");
$empire->query("replace into `phome_enewsf` values('79','tprice','市场价格','text','\r\n<input name=\"tprice\" type=\"text\" id=\"tprice\" value=\"<?=htmlspecialchars(stripSlashes(\$r[tprice]))?>\">\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--tprice--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_tprice]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_tprice]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_tprice]\" type=\"text\" id=\"add[z_tprice]\" value=\"<?=stripSlashes(\$r[z_tprice])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','0','FLOAT','11,2','1','6','shop','0','','0','1','1','\r\n<input name=\"tprice\" type=\"text\" id=\"tprice\" value=\"<?=DoReqValue(\$tbname,''tprice'',stripSlashes(\$r[tprice]))?>\">\r\n');");
$empire->query("replace into `phome_enewsf` values('80','price','购买价格','text','\r\n<input name=\"price\" type=\"text\" id=\"price\" value=\"<?=htmlspecialchars(stripSlashes(\$r[price]))?>\">\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--price--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_price]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_price]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_price]\" type=\"text\" id=\"add[z_price]\" value=\"<?=stripSlashes(\$r[z_price])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','0','FLOAT','11,2','1','6','shop','0','','0','1','1','\r\n<input name=\"price\" type=\"text\" id=\"price\" value=\"<?=DoReqValue(\$tbname,''price'',stripSlashes(\$r[price]))?>\">\r\n');");
$empire->query("replace into `phome_enewsf` values('81','buyfen','积分购买','text','\r\n<input name=\"buyfen\" type=\"text\" id=\"buyfen\" value=\"<?=htmlspecialchars(stripSlashes(\$r[buyfen]))?>\">\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--buyfen--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_buyfen]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_buyfen]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_buyfen]\" type=\"text\" id=\"add[z_buyfen]\" value=\"<?=stripSlashes(\$r[z_buyfen])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','0','INT','','1','6','shop','0','','0','1','1','\r\n<input name=\"buyfen\" type=\"text\" id=\"buyfen\" value=\"<?=DoReqValue(\$tbname,''buyfen'',stripSlashes(\$r[buyfen]))?>\">\r\n');");
$empire->query("replace into `phome_enewsf` values('82','pmaxnum','库存','text','\r\n<input name=\"pmaxnum\" type=\"text\" id=\"pmaxnum\" value=\"<?=htmlspecialchars(stripSlashes(\$r[pmaxnum]))?>\">\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--pmaxnum--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_pmaxnum]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_pmaxnum]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_pmaxnum]\" type=\"text\" id=\"add[z_pmaxnum]\" value=\"<?=stripSlashes(\$r[z_pmaxnum])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','0','INT','','1','6','shop','0','','0','1','1','\r\n<input name=\"pmaxnum\" type=\"text\" id=\"pmaxnum\" value=\"<?=DoReqValue(\$tbname,''pmaxnum'',stripSlashes(\$r[pmaxnum]))?>\">\r\n');");
$empire->query("replace into `phome_enewsf` values('83','productpic','商品大图','img','<input name=\\\\\"productpic\\\\\" type=\\\\\"text\\\\\" size=56 id=\\\\\"productpic\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[productpic]))?>\\\\\" size=\\\\\"45\\\\\">\r\n<a onclick=\\\\\"window.open(\\\\''editor/file.php?userid=<?=\$logininid?>&username=<?=\$loginin?>&rnd=<?=\$loginrnd?>&type=1&classid=<?=\$classid?>&filepass=<?=\$filepass?>&doing=1&field=productpic\\\\'',\\\\''\\\\'',\\\\''width=700,height=550,scrollbars=yes\\\\'');\\\\\" title=\\\\\"选择已上传的图片\\\\\"><img src=\\\\\"../data/images/changeimg.gif\\\\\" border=\\\\\"0\\\\\" align=\\\\\"absbottom\\\\\"></a> \r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      ( \r\n      <input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--productpic--]\" size=\"20\">\r\n      )</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n    <tr>\r\n      <td>附件前缀 \r\n        <input name=\"add[qz_productpic]\" type=\"text\" id=\"add[qz_productpic]\" value=\"<?=stripSlashes(\$r[qz_productpic])?>\"> \r\n        <input name=\"add[save_productpic]\" type=\"checkbox\" id=\"add[save_productpic]\" value=\" checked\"<?=\$r[save_productpic]?>>\r\n        远程保存 </td>\r\n    </tr>\r\n    <tr> \r\n      <td><textarea name=\"add[zz_productpic]\" cols=\"60\" rows=\"10\" id=\"add[zz_productpic]\"><?=htmlspecialchars(stripSlashes(\$r[zz_productpic]))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name=\"add[z_productpic]\" type=\"text\" id=\"productpic5\" value=\"<?=stripSlashes(\$r[z_productpic])?>\">\r\n        (如填写这里，这就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>\r\n','1','VARCHAR','255','1','6','shop','0','','0','1','1','<input type=\\\\\"file\\\\\" name=\\\\\"productpicfile\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('84','newstext','商品介绍','text','\r\n<textarea id=\"newstext\" name=\"newstext\" style=\"height: 30em; width: 100%;\"><?=stripSlashes(\$newstext)?></textarea>\r\n<table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td bgcolor=\"#FFFFFF\"> <input name=\"dokey\" type=\"checkbox\" id=\"dokey2\" value=\"1\"<?=\$dokey?>>\r\n              关键字替换&nbsp;&nbsp; <input name=\"copyimg\" type=\"checkbox\" id=\"copyimg\" value=\"1\">\r\n      <font color=\"#FF0000\">远程保存图片(\r\n      <input name=\"mark\" type=\"checkbox\" id=\"mark\" value=\"1\">\r\n      <a href=\"SetEnews.php\" target=\"_blank\">加水印</a>)</font>&nbsp;&nbsp; \r\n      <input name=\"copyflash\" type=\"checkbox\" id=\"copyflash\" value=\"1\"> \r\n              <font color=\"#FF0000\">远程保存FLASH</font>(地址前缀： \r\n              <input name=\"qz_url\" type=\"text\" id=\"qz_url\" size=\"\">\r\n              )</td>\r\n          </tr>\r\n          <tr>\r\n            <td bgcolor=\"#FFFFFF\">内容自动分页 \r\n              <input name=\"autopage\" type=\"checkbox\" id=\"autopage\" value=\"1\">\r\n              ，每 \r\n              <input name=\"autosize\" type=\"text\" id=\"autosize\" value=\"5000\" size=\"8\">\r\n              个字节为一页&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=checkbox name=getfirsttitlepic value=1>取第一张上传图作为标题图片</td>\r\n          </tr>\r\n        </table>\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--newstext--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_newstext]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_newstext]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_newstext]\" type=\"text\" id=\"add[z_newstext]\" value=\"<?=stripSlashes(\$r[z_newstext])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','1','MEDIUMTEXT','','1','6','shop','0','','0','1','1','\r\n<textarea id=\"newstext\" name=\"newstext\" style=\"height: 30em; width: 100%;\"><?=htmlspecialchars(stripSlashes(DoReqNewstext(\$tbname,\$r[newstext])))?></textarea>\r\n');");
$empire->query("replace into `phome_enewsf` values('85','title','标题','text','<table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" cellpadding=\\\\\"3\\\\\" cellspacing=\\\\\"1\\\\\" bgcolor=\\\\\"#DBEAF5\\\\\">\r\n          <tr> \r\n            <td bgcolor=\\\\\"#FFFFFF\\\\\"> <input type=text name=title value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[title]))?>\\\\\" size=60> \r\n              <input type=\\\\\"button\\\\\" name=\\\\\"button\\\\\" value=\\\\\"图文\\\\\" onclick=\\\\\"document.add.title.value=document.add.title.value+\\\\''(图文)\\\\'';\\\\\"> \r\n            </td>\r\n          </tr>\r\n          <tr> \r\n            <td bgcolor=\\\\\"#FFFFFF\\\\\"> <table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" align=\\\\\"center\\\\\" cellpadding=\\\\\"0\\\\\" cellspacing=\\\\\"0\\\\\">\r\n                <tr> \r\n                  <td width=\\\\\"45%\\\\\">属性： \r\n                    <input name=\\\\\"titlefont[b]\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"titlefont[b]\\\\\" value=\\\\\"b\\\\\"<?=\$titlefontb?>>\r\n                    粗体 \r\n                    <input name=\\\\\"titlefont[i]\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"titlefont[i]\\\\\" value=\\\\\"i\\\\\"<?=\$titlefonti?>>\r\n                    斜体 \r\n                    <input name=\\\\\"titlefont[s]\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"titlefont[s]\\\\\" value=\\\\\"s\\\\\"<?=\$titlefonts?>>\r\n                    删除线</td>\r\n                  <td width=\\\\\"55%\\\\\">颜色： \r\n                    <input name=\\\\\"titlecolor\\\\\" type=\\\\\"text\\\\\" id=\\\\\"titlecolor\\\\\" value=\\\\\"<?=stripSlashes(\$r[titlecolor])?>\\\\\" size=\\\\\"10\\\\\"> \r\n                    <a onclick=\\\\\"foreColor();\\\\\"><img src=\\\\\"../data/images/color.gif\\\\\" width=\\\\\"21\\\\\" height=\\\\\"21\\\\\" align=\\\\\"absbottom\\\\\"></a></td>\r\n                </tr>\r\n              </table></td>\r\n          </tr>\r\n        </table>','标题','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--title--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_title]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_title]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_title]\" type=\"text\" id=\"add[z_title]\" value=\"<?=stripSlashes(\$r[z_title])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>','0','','0','1','7','article','1','','0','1','1','<input name=\\\\\"title\\\\\" type=\\\\\"text\\\\\" size=30 id=\\\\\"title\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''title\\\\'',stripSlashes(\$r[title]))?>\\\\\">');");
$empire->query("replace into `phome_enewsf` values('86','special.field','特殊属性','',' <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\"> <input name=\"isgood\" type=\"checkbox\" id=\"isgood2\" value=\"1\"<?=\$isgood?>>\r\n      推荐&nbsp;&nbsp; <input name=\"checked\" type=\"checkbox\" id=\"checked4\" value=\"1\"<?=\$checked?>>\r\n      审核&nbsp;&nbsp; <input name=\"firsttitle\" type=\"checkbox\" id=\"firsttitle2\" value=\"1\"<?=\$firsttitle?>>\r\n      头条&nbsp;&nbsp;&nbsp;<strong>&nbsp;置顶级别：</strong> <select name=\"istop\" id=\"select3\">\r\n        <option value=\"0\"<?=\$istop0?>>0级置顶</option>\r\n        <option value=\"1\"<?=\$istop1?>>1级置顶</option>\r\n        <option value=\"2\"<?=\$istop2?>>2级置顶</option>\r\n        <option value=\"3\"<?=\$istop3?>>3级置顶</option>\r\n        <option value=\"4\"<?=\$istop4?>>4级置顶</option>\r\n        <option value=\"5\"<?=\$istop5?>>5级置顶</option>\r\n        <option value=\"6\"<?=\$istop6?>>6级置顶</option>\r\n      </select> <strong>所用内容模板:</strong> <select name=\"newstempid\" id=\"select4\">\r\n        <?=\$newstemp?>\r\n      </select> </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\"><strong>权限设置:</strong> <select name=\"fh\" id=\"select5\">\r\n        <option value=\"0\"<?=\$fh0?>>&gt;=</option>\r\n        <option value=\"1\"<?=\$fh1?>>=</option>\r\n      </select> <select name=\"groupid\" id=\"select6\">\r\n        <option value=\"0\">游客</option>\r\n        <?=\$group?>\r\n      </select>\r\n      查看扣除点数: \r\n      <input name=\"userfen\" type=\"text\" id=\"userfen\" value=\"<?=\$r[userfen]?>\" size=\"6\">\r\n      (&quot;=&quot;：本级别的用户才能查看[对游客无效])</td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\">文件名前缀: <input name=\"filenameqz\" type=\"text\" id=\"filenameqz\" value=\"<?=stripSlashes(\$r[filenameqz])?>\">\r\n      (如photeshop_),<input type=checkbox name=closepl value=1<?=\$r[closepl]==1?\" checked\":\"\"?>>关闭评论</td>\r\n  </tr>\r\n</table>\r\n        <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\">签发(多个签发人员，请用&quot;,&quot;格开．不想使用签发，请留空) </td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"> <input name=\"checkuser\" type=\"text\" id=\"checkuser\" value=\"<?=stripSlashes(\$r[checkuser])?>\" size=\"66\"<?=\$checkuserreadonly?>> \r\n              <?=\$changeuser?> \r\n            </td>\r\n          </tr>\r\n          <tr>\r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"><input name=\"recheckuser\" type=\"checkbox\" id=\"recheckuser\" value=\"1\">\r\n              重新签发（稿件被退下来后重新提交给未签发的人员的操作，如修改签发人员，所有人员需重新签发）</td>\r\n          </tr>\r\n        </table>\r\n        <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\">所属专题:</td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"> \r\n              <?=\$z_class?>\r\n            </td>\r\n          </tr>\r\n        </table> <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"><strong>关键字:</strong> <input name=\"keyboard\" type=\"text\" id=\"keyboard\" size=\"43\" value=\"<?=stripSlashes(\$r[keyboard])?>\">\r\n              (多个请用&quot;,&quot;格开)</td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\">外部链接: \r\n              <input name=\"titleurl\" type=\"text\" id=\"titleurl2\" value=\"<?=stripSlashes(\$r[titleurl])?>\" size=\"42\">\r\n              (填写后标题的连接地址将是此链接)</td>\r\n          </tr>\r\n        </table>','特殊属性','0','1','0','','1','','0','0','7','article','1','','0','1','1','');");
$empire->query("replace into `phome_enewsf` values('87','titlepic','标题图片','img','<input name=\"titlepic\" type=\"text\" id=\"titlepic\" value=\"<?=stripSlashes(\$r[titlepic])?>\" size=\"56\"> \r\n        <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>(用于图片调用信息) ','标题图片','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      ( \r\n      <input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--titlepic--]\" size=\"20\">\r\n      )</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n    <tr>\r\n      <td>附件前缀 \r\n        <input name=\"add[qz_titlepic]\" type=\"text\" id=\"add[qz_titlepic]\" value=\"<?=stripSlashes(\$r[qz_titlepic])?>\"> \r\n        <input name=\"add[save_titlepic]\" type=\"checkbox\" id=\"add[save_titlepic]\" value=\" checked\"<?=\$r[save_titlepic]?>>\r\n        远程保存 </td>\r\n    </tr>\r\n    <tr> \r\n      <td><textarea name=\"add[zz_titlepic]\" cols=\"60\" rows=\"10\" id=\"add[zz_titlepic]\"><?=htmlspecialchars(stripSlashes(\$r[zz_titlepic]))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name=\"add[z_titlepic]\" type=\"text\" id=\"titlepic5\" value=\"<?=stripSlashes(\$r[z_titlepic])?>\">\r\n        (如填写这里，这就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>','2','','0','1','7','article','1','','0','1','1','<input type=\"file\" name=\"titlepicfile\">');");
$empire->query("replace into `phome_enewsf` values('88','newstime','发布时间','','<input name=\"newstime\" type=\"text\" id=\"newstime\" value=\"<?=\$r[newstime]?>\"><input type=button name=button value=\"设为当前时间\" onclick=\"document.add.newstime.value=''<?=\$todaytime?>''\">','发布时间','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--newstime--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_newstime]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_newstime]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_newstime]\" type=\"text\" id=\"add[z_newstime]\" value=\"<?=stripSlashes(\$r[z_newstime])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>','1','','0','1','7','article','1','','0','1','1','');");
$empire->query("replace into `phome_enewsf` values('89','ftitle','副标题','text','<input name=\\\\\"ftitle\\\\\" type=\\\\\"text\\\\\" size=60 id=\\\\\"ftitle\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[ftitle]))?>\\\\\">\r\n','副标题','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--ftitle--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_ftitle]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_ftitle]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_ftitle]\" type=\"text\" id=\"add[z_ftitle]\" value=\"<?=stripSlashes(\$r[z_ftitle])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','0','VARCHAR','200','1','7','article','0','','0','1','1','<input name=\\\\\"ftitle\\\\\" type=\\\\\"text\\\\\" size=30 id=\\\\\"ftitle\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''ftitle\\\\'',stripSlashes(\$r[ftitle]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('90','smalltext','内容简介','textarea','<textarea name=\\\\\"smalltext\\\\\" cols=\\\\\"80\\\\\" rows=\\\\\"10\\\\\" id=\\\\\"smalltext\\\\\"><?=htmlspecialchars(stripSlashes(\$r[smalltext]))?></textarea>\r\n','内容简介','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--smalltext--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_smalltext]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_smalltext]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_smalltext]\" type=\"text\" id=\"add[z_smalltext]\" value=\"<?=stripSlashes(\$r[z_smalltext])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','2','TEXT','','1','7','article','0','','0','1','1','<textarea name=\\\\\"smalltext\\\\\" cols=\\\\\"60\\\\\" rows=\\\\\"10\\\\\" id=\\\\\"smalltext\\\\\"><?=DoReqValue(\$tbname,\\\\''smalltext\\\\'',stripSlashes(\$r[smalltext]))?></textarea>\r\n');");
$empire->query("replace into `phome_enewsf` values('91','writer','作者','text','<input type=text name=writer value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[writer]))?>\\\\\"> \r\n        <select name=\\\\\"w_id\\\\\" id=\\\\\"select7\\\\\" onchange=\\\\\"document.add.writer.value=document.add.w_id.value\\\\\">\r\n          <option>选择作者</option>\r\n		  <?=\$w_class?>\r\n        </select>\r\n<input type=\\\\\"button\\\\\" name=\\\\\"wbutton\\\\\" value=\\\\\"增加作者\\\\\" onclick=\\\\\"window.open(\\\\''NewsSys/writer.php?addwritername=\\\\''+document.add.writer.value);\\\\\">\r\n','作者','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--writer--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_writer]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_writer]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_writer]\" type=\"text\" id=\"add[z_writer]\" value=\"<?=stripSlashes(\$r[z_writer])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','2','VARCHAR','30','1','7','article','0','','0','1','1','<input name=\\\\\"writer\\\\\" type=\\\\\"text\\\\\" size=30 id=\\\\\"writer\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''writer\\\\'',stripSlashes(\$r[writer]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('92','befrom','信息来源','text','<input type=\\\\\"text\\\\\" name=\\\\\"befrom\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[befrom]))?>\\\\\"> \r\n        <select name=\\\\\"befrom_id\\\\\" id=\\\\\"befromid\\\\\" onchange=\\\\\"document.add.befrom.value=document.add.befrom_id.value\\\\\">\r\n          <option>选择信息来源</option>\r\n          <?=\$b_class?>\r\n        </select>\r\n<input type=\\\\\"button\\\\\" name=\\\\\"wbutton\\\\\" value=\\\\\"增加来源\\\\\" onclick=\\\\\"window.open(\\\\''NewsSys/BeFrom.php?addsitename=\\\\''+document.add.befrom.value);\\\\\">\r\n','信息来源','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--befrom--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_befrom]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_befrom]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_befrom]\" type=\"text\" id=\"add[z_befrom]\" value=\"<?=stripSlashes(\$r[z_befrom])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','2','VARCHAR','60','1','7','article','0','','0','1','1','<input name=\\\\\"befrom\\\\\" type=\\\\\"text\\\\\" size=30 id=\\\\\"befrom\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''befrom\\\\'',stripSlashes(\$r[befrom]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('93','newstext','新闻正文','text','<textarea id=\\\\\"newstext\\\\\" name=\\\\\"newstext\\\\\" style=\\\\\"height: 30em; width: 100%;\\\\\"><?=stripSlashes(\$newstext)?></textarea>\r\n<table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" cellpadding=\\\\\"3\\\\\" cellspacing=\\\\\"1\\\\\" bgcolor=\\\\\"#DBEAF5\\\\\">\r\n          <tr> \r\n            <td bgcolor=\\\\\"#FFFFFF\\\\\"> <input name=\\\\\"dokey\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"dokey2\\\\\" value=\\\\\"1\\\\\"<?=\$dokey?>>\r\n              关键字替换&nbsp;&nbsp; <input name=\\\\\"copyimg\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"copyimg\\\\\" value=\\\\\"1\\\\\">\r\n      <font color=\\\\\"#FF0000\\\\\">远程保存图片(\r\n      <input name=\\\\\"mark\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"mark\\\\\" value=\\\\\"1\\\\\">\r\n      <a href=\\\\\"SetEnews.php\\\\\" target=\\\\\"_blank\\\\\">加水印</a>)</font>&nbsp;&nbsp; \r\n      <input name=\\\\\"copyflash\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"copyflash\\\\\" value=\\\\\"1\\\\\"> \r\n              <font color=\\\\\"#FF0000\\\\\">远程保存FLASH</font>(地址前缀： \r\n              <input name=\\\\\"qz_url\\\\\" type=\\\\\"text\\\\\" id=\\\\\"qz_url\\\\\" size=\\\\\"\\\\\">\r\n              )</td>\r\n          </tr>\r\n          <tr>\r\n            <td bgcolor=\\\\\"#FFFFFF\\\\\">内容自动分页 \r\n              <input name=\\\\\"autopage\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"autopage\\\\\" value=\\\\\"1\\\\\">\r\n              ，每 \r\n              <input name=\\\\\"autosize\\\\\" type=\\\\\"text\\\\\" id=\\\\\"autosize\\\\\" value=\\\\\"5000\\\\\" size=\\\\\"8\\\\\">\r\n              个字节为一页&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type=checkbox name=getfirsttitlepic value=1>取第一张上传图作为标题图片</td>\r\n          </tr>\r\n        </table>\r\n','新闻正文','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--newstext--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_newstext]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_newstext]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_newstext]\" type=\"text\" id=\"add[z_newstext]\" value=\"<?=stripSlashes(\$r[z_newstext])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','2','VARCHAR','50','1','7','article','1','','0','1','1','<textarea id=\\\\\"newstext\\\\\" name=\\\\\"newstext\\\\\" style=\\\\\"height: 30em; width: 100%;\\\\\"><?=htmlspecialchars(stripSlashes(DoReqNewstext(\$tbname,\$r[newstext])))?></textarea>\r\n');");
$empire->query("replace into `phome_enewsf` values('94','title','标题','text','<table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" cellpadding=\\\\\"3\\\\\" cellspacing=\\\\\"1\\\\\" bgcolor=\\\\\"#DBEAF5\\\\\">\r\n          <tr> \r\n            <td bgcolor=\\\\\"#FFFFFF\\\\\"> <input type=text name=title value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[title]))?>\\\\\" size=60> \r\n              <input type=\\\\\"button\\\\\" name=\\\\\"button\\\\\" value=\\\\\"图文\\\\\" onclick=\\\\\"document.add.title.value=document.add.title.value+\\\\''(图文)\\\\'';\\\\\"> \r\n            </td>\r\n          </tr>\r\n          <tr> \r\n            <td bgcolor=\\\\\"#FFFFFF\\\\\"> <table width=\\\\\"100%\\\\\" border=\\\\\"0\\\\\" align=\\\\\"center\\\\\" cellpadding=\\\\\"0\\\\\" cellspacing=\\\\\"0\\\\\">\r\n                <tr> \r\n                  <td width=\\\\\"45%\\\\\">属性： \r\n                    <input name=\\\\\"titlefont[b]\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"titlefont[b]\\\\\" value=\\\\\"b\\\\\"<?=\$titlefontb?>>\r\n                    粗体 \r\n                    <input name=\\\\\"titlefont[i]\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"titlefont[i]\\\\\" value=\\\\\"i\\\\\"<?=\$titlefonti?>>\r\n                    斜体 \r\n                    <input name=\\\\\"titlefont[s]\\\\\" type=\\\\\"checkbox\\\\\" id=\\\\\"titlefont[s]\\\\\" value=\\\\\"s\\\\\"<?=\$titlefonts?>>\r\n                    删除线</td>\r\n                  <td width=\\\\\"55%\\\\\">颜色： \r\n                    <input name=\\\\\"titlecolor\\\\\" type=\\\\\"text\\\\\" id=\\\\\"titlecolor\\\\\" value=\\\\\"<?=stripSlashes(\$r[titlecolor])?>\\\\\" size=\\\\\"10\\\\\"> \r\n                    <a onclick=\\\\\"foreColor();\\\\\"><img src=\\\\\"../data/images/color.gif\\\\\" width=\\\\\"21\\\\\" height=\\\\\"21\\\\\" align=\\\\\"absbottom\\\\\"></a></td>\r\n                </tr>\r\n              </table></td>\r\n          </tr>\r\n        </table>','标题','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--title--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_title]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_title]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_title]\" type=\"text\" id=\"add[z_title]\" value=\"<?=stripSlashes(\$r[z_title])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>','0','','0','1','8','info','1','','0','1','1','<input name=\\\\\"title\\\\\" type=\\\\\"text\\\\\" size=46 id=\\\\\"title\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''title\\\\'',stripSlashes(\$r[title]))?>\\\\\">');");
$empire->query("replace into `phome_enewsf` values('95','special.field','特殊属性','',' <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\"> <input name=\"isgood\" type=\"checkbox\" id=\"isgood2\" value=\"1\"<?=\$isgood?>>\r\n      推荐&nbsp;&nbsp; <input name=\"checked\" type=\"checkbox\" id=\"checked4\" value=\"1\"<?=\$checked?>>\r\n      审核&nbsp;&nbsp; <input name=\"firsttitle\" type=\"checkbox\" id=\"firsttitle2\" value=\"1\"<?=\$firsttitle?>>\r\n      头条&nbsp;&nbsp;&nbsp;<strong>&nbsp;置顶级别：</strong> <select name=\"istop\" id=\"select3\">\r\n        <option value=\"0\"<?=\$istop0?>>0级置顶</option>\r\n        <option value=\"1\"<?=\$istop1?>>1级置顶</option>\r\n        <option value=\"2\"<?=\$istop2?>>2级置顶</option>\r\n        <option value=\"3\"<?=\$istop3?>>3级置顶</option>\r\n        <option value=\"4\"<?=\$istop4?>>4级置顶</option>\r\n        <option value=\"5\"<?=\$istop5?>>5级置顶</option>\r\n        <option value=\"6\"<?=\$istop6?>>6级置顶</option>\r\n      </select> <strong>所用内容模板:</strong> <select name=\"newstempid\" id=\"select4\">\r\n        <?=\$newstemp?>\r\n      </select> </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\"><strong>权限设置:</strong> <select name=\"fh\" id=\"select5\">\r\n        <option value=\"0\"<?=\$fh0?>>&gt;=</option>\r\n        <option value=\"1\"<?=\$fh1?>>=</option>\r\n      </select> <select name=\"groupid\" id=\"select6\">\r\n        <option value=\"0\">游客</option>\r\n        <?=\$group?>\r\n      </select>\r\n      查看扣除点数: \r\n      <input name=\"userfen\" type=\"text\" id=\"userfen\" value=\"<?=\$r[userfen]?>\" size=\"6\">\r\n      (&quot;=&quot;：本级别的用户才能查看[对游客无效])</td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\"25\" bgcolor=\"#FFFFFF\">文件名前缀: <input name=\"filenameqz\" type=\"text\" id=\"filenameqz\" value=\"<?=stripSlashes(\$r[filenameqz])?>\">\r\n      (如photeshop_),<input type=checkbox name=closepl value=1<?=\$r[closepl]==1?\" checked\":\"\"?>>关闭评论</td>\r\n  </tr>\r\n</table>\r\n        <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\">签发(多个签发人员，请用&quot;,&quot;格开．不想使用签发，请留空) </td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"> <input name=\"checkuser\" type=\"text\" id=\"checkuser\" value=\"<?=stripSlashes(\$r[checkuser])?>\" size=\"66\"<?=\$checkuserreadonly?>> \r\n              <?=\$changeuser?> \r\n            </td>\r\n          </tr>\r\n          <tr>\r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"><input name=\"recheckuser\" type=\"checkbox\" id=\"recheckuser\" value=\"1\">\r\n              重新签发（稿件被退下来后重新提交给未签发的人员的操作，如修改签发人员，所有人员需重新签发）</td>\r\n          </tr>\r\n        </table>\r\n        <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\">所属专题:</td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"> \r\n              <?=\$z_class?>\r\n            </td>\r\n          </tr>\r\n        </table> <table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#DBEAF5\">\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\"><strong>关键字:</strong> <input name=\"keyboard\" type=\"text\" id=\"keyboard\" size=\"43\" value=\"<?=stripSlashes(\$r[keyboard])?>\">\r\n              (多个请用&quot;,&quot;格开)</td>\r\n          </tr>\r\n          <tr> \r\n            <td height=\"25\" bgcolor=\"#FFFFFF\">外部链接: \r\n              <input name=\"titleurl\" type=\"text\" id=\"titleurl2\" value=\"<?=stripSlashes(\$r[titleurl])?>\" size=\"42\">\r\n              (填写后标题的连接地址将是此链接)</td>\r\n          </tr>\r\n        </table>','特殊属性','0','1','0','','0','','0','0','8','info','1','','0','1','1','');");
$empire->query("replace into `phome_enewsf` values('96','titlepic','标题图片','img','<input name=\"titlepic\" type=\"text\" id=\"titlepic\" value=\"<?=stripSlashes(\$r[titlepic])?>\" size=\"56\"> \r\n        <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>(用于图片调用信息) ','标题图片','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      ( \r\n      <input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--titlepic--]\" size=\"20\">\r\n      )</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n    <tr>\r\n      <td>附件前缀 \r\n        <input name=\"add[qz_titlepic]\" type=\"text\" id=\"add[qz_titlepic]\" value=\"<?=stripSlashes(\$r[qz_titlepic])?>\"> \r\n        <input name=\"add[save_titlepic]\" type=\"checkbox\" id=\"add[save_titlepic]\" value=\" checked\"<?=\$r[save_titlepic]?>>\r\n        远程保存 </td>\r\n    </tr>\r\n    <tr> \r\n      <td><textarea name=\"add[zz_titlepic]\" cols=\"60\" rows=\"10\" id=\"add[zz_titlepic]\"><?=htmlspecialchars(stripSlashes(\$r[zz_titlepic]))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name=\"add[z_titlepic]\" type=\"text\" id=\"titlepic5\" value=\"<?=stripSlashes(\$r[z_titlepic])?>\">\r\n        (如填写这里，这就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>','1','','0','1','8','info','1','','0','1','1','<input type=\"file\" name=\"titlepicfile\">');");
$empire->query("replace into `phome_enewsf` values('97','newstime','发布时间','','<input name=\"newstime\" type=\"text\" id=\"newstime\" value=\"<?=\$r[newstime]?>\"><input type=button name=button value=\"设为当前时间\" onclick=\"document.add.newstime.value=''<?=\$todaytime?>''\">','发布时间','0','1','1','  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--newstime--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_newstime]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_newstime]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_newstime]\" type=\"text\" id=\"add[z_newstime]\" value=\"<?=stripSlashes(\$r[z_newstime])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>','0','','0','1','8','info','1','','0','1','1','');");
$empire->query("replace into `phome_enewsf` values('98','smalltext','信息内容','textarea','<textarea name=\\\\\"smalltext\\\\\" cols=\\\\\"80\\\\\" rows=\\\\\"10\\\\\" id=\\\\\"smalltext\\\\\"><?=htmlspecialchars(stripSlashes(\$r[smalltext]))?></textarea>\r\n','信息内容','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--smalltext--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_smalltext]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_smalltext]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_smalltext]\" type=\"text\" id=\"add[z_smalltext]\" value=\"<?=stripSlashes(\$r[z_smalltext])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','0','TEXT','','1','8','info','0','','0','1','1','<textarea name=\\\\\"smalltext\\\\\" cols=\\\\\"60\\\\\" rows=\\\\\"10\\\\\" id=\\\\\"smalltext\\\\\"><?=DoReqValue(\$tbname,\\\\''smalltext\\\\'',stripSlashes(\$r[smalltext]))?></textarea>\r\n');");
$empire->query("replace into `phome_enewsf` values('99','email','邮箱','text','<input name=\\\\\"email\\\\\" type=\\\\\"text\\\\\" size=46 id=\\\\\"email\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[email]))?>\\\\\">\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--email--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_email]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_email]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_email]\" type=\"text\" id=\"add[z_email]\" value=\"<?=stripSlashes(\$r[z_email])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','2','VARCHAR','80','1','8','info','0','','0','1','1','<input name=\\\\\"email\\\\\" type=\\\\\"text\\\\\" size=46 id=\\\\\"email\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''email\\\\'',stripSlashes(\$r[email]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('100','mycontact','联系方式','text','<input name=\\\\\"mycontact\\\\\" type=\\\\\"text\\\\\" size=46 id=\\\\\"mycontact\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[mycontact]))?>\\\\\">\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--mycontact--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_mycontact]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_mycontact]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_mycontact]\" type=\"text\" id=\"add[z_mycontact]\" value=\"<?=stripSlashes(\$r[z_mycontact])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','2','VARCHAR','255','1','8','info','0','','0','1','1','<input name=\\\\\"mycontact\\\\\" type=\\\\\"text\\\\\" size=46 id=\\\\\"mycontact\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''mycontact\\\\'',stripSlashes(\$r[mycontact]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('101','address','联系地址','text','<input name=\\\\\"address\\\\\" type=\\\\\"text\\\\\" size=46 id=\\\\\"address\\\\\" value=\\\\\"<?=htmlspecialchars(stripSlashes(\$r[address]))?>\\\\\">\r\n','','1','1','1','\r\n  <tr bgcolor=\"#FFFFFF\"> \r\n    <td height=\"22\" valign=\"top\"><strong>[!--enews.name--]正则：</strong><br>\r\n      (<input name=\"textfield\" type=\"text\" id=\"textfield\" value=\"[!--address--]\" size=\"20\">)</td>\r\n    <td><table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"3\">\r\n        <tr> \r\n          <td><textarea name=\"add[zz_address]\" cols=\"60\" rows=\"10\" id=\"textarea\"><?=htmlspecialchars(stripSlashes(\$r[zz_address]))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\"add[z_address]\" type=\"text\" id=\"add[z_address]\" value=\"<?=stripSlashes(\$r[z_address])?>\">\r\n            (如填写这里，将为字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n','2','VARCHAR','255','1','8','info','0','','0','1','1','<input name=\\\\\"address\\\\\" type=\\\\\"text\\\\\" size=46 id=\\\\\"address\\\\\" value=\\\\\"<?=DoReqValue(\$tbname,\\\\''address\\\\'',stripSlashes(\$r[address]))?>\\\\\">\r\n');");
$empire->query("replace into `phome_enewsf` values('102','myarea','所在地','select','<select name=\\\\\"myarea\\\\\" id=\\\\\"myarea\\\\\" size=6 style=\\\\\"width=150\\\\\"><option value=\\\\\"东城区\\\\\"<?=\$r[myarea]==\\\\\"东城区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>东城区</option><option value=\\\\\"西城区\\\\\"<?=\$r[myarea]==\\\\\"西城区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>西城区</option><option value=\\\\\"崇文区\\\\\"<?=\$r[myarea]==\\\\\"崇文区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>崇文区</option><option value=\\\\\"宣武区\\\\\"<?=\$r[myarea]==\\\\\"宣武区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>宣武区</option><option value=\\\\\"朝阳区\\\\\"<?=\$r[myarea]==\\\\\"朝阳区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>朝阳区</option><option value=\\\\\"海淀区\\\\\"<?=\$r[myarea]==\\\\\"海淀区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>海淀区</option><option value=\\\\\"丰台区\\\\\"<?=\$r[myarea]==\\\\\"丰台区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>丰台区</option><option value=\\\\\"石景山区\\\\\"<?=\$r[myarea]==\\\\\"石景山区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>石景山区</option><option value=\\\\\"通州区\\\\\"<?=\$r[myarea]==\\\\\"通州区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>通州区</option><option value=\\\\\"昌平区\\\\\"<?=\$r[myarea]==\\\\\"昌平区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>昌平区</option><option value=\\\\\"大兴区\\\\\"<?=\$r[myarea]==\\\\\"大兴区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>大兴区</option><option value=\\\\\"其它\\\\\"<?=\$r[myarea]==\\\\\"其它\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>其它</option></select>','','1','1','1','','1','VARCHAR','30','1','8','info','0','东城区|西城区|崇文区|宣武区|朝阳区|海淀区|丰台区|石景山区|通州区|昌平区|大兴区|其它','0','1','1','<select name=\\\\\"myarea\\\\\" id=\\\\\"myarea\\\\\" size=6 style=\\\\\"width=150\\\\\"><option value=\\\\\"东城区\\\\\"<?=\$r[myarea]==\\\\\"东城区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>东城区</option><option value=\\\\\"西城区\\\\\"<?=\$r[myarea]==\\\\\"西城区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>西城区</option><option value=\\\\\"崇文区\\\\\"<?=\$r[myarea]==\\\\\"崇文区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>崇文区</option><option value=\\\\\"宣武区\\\\\"<?=\$r[myarea]==\\\\\"宣武区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>宣武区</option><option value=\\\\\"朝阳区\\\\\"<?=\$r[myarea]==\\\\\"朝阳区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>朝阳区</option><option value=\\\\\"海淀区\\\\\"<?=\$r[myarea]==\\\\\"海淀区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>海淀区</option><option value=\\\\\"丰台区\\\\\"<?=\$r[myarea]==\\\\\"丰台区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>丰台区</option><option value=\\\\\"石景山区\\\\\"<?=\$r[myarea]==\\\\\"石景山区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>石景山区</option><option value=\\\\\"通州区\\\\\"<?=\$r[myarea]==\\\\\"通州区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>通州区</option><option value=\\\\\"昌平区\\\\\"<?=\$r[myarea]==\\\\\"昌平区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>昌平区</option><option value=\\\\\"大兴区\\\\\"<?=\$r[myarea]==\\\\\"大兴区\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>大兴区</option><option value=\\\\\"其它\\\\\"<?=\$r[myarea]==\\\\\"其它\\\\\"?\\\\'' selected\\\\'':\\\\''\\\\''?>>其它</option></select>');");

@include("../../inc/footer.php");
?>