# --------------------------------------------------------
# 
# 帝國網站管理系統 
# 
# http://www.PHome.Net
# 
# EmpireCMS Version 8.0
# 
# --------------------------------------------------------


# --------------------------------------------------------

INSERT INTO phome_enewsf VALUES (1, 'title', '標題', 'text', '<table width=\\"100%\\" border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" bgcolor=\\"#DBEAF5\\">\r\n<tr> \r\n  <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">\r\n	<?=$tts?\\"<select name=\\\'ttid\\\'><option value=\\\'0\\\'>標題分類</option>$tts</select>\\":\\"\\"?>\r\n	<input type=text name=title value=\\"<?=ehtmlspecialchars(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 height=\\"25\\" bgcolor=\\"#FFFFFF\\">屬性: \r\n	<input name=\\"titlefont[b]\\" type=\\"checkbox\\" value=\\"b\\"<?=$titlefontb?>>粗體\r\n	<input name=\\"titlefont[i]\\" type=\\"checkbox\\" value=\\"i\\"<?=$titlefonti?>>斜體\r\n	<input name=\\"titlefont[s]\\" type=\\"checkbox\\" value=\\"s\\"<?=$titlefonts?>>刪除線\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;顏色: <input name=\\"titlecolor\\" type=\\"text\\" value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'titlecolor\\\']))?>\\" size=\\"10\\" class=\\"color\\">\r\n  </td>\r\n</tr>\r\n</table>', '標題', 0, 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="[!--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="zz_title"><?=ehtmlspecialchars(stripSlashes($r[\'zz_title\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name="add[z_title]" type="text" id="z_title" value="<?=stripSlashes($r[\'z_title\'])?>">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 0, 'CHAR', '100', 1, 1, 'news', 0, '', 0, 0, 0, '<input name=\\"title\\" type=\\"text\\" size=\\"42\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'title\\\',stripSlashes($r[\\\'title\\\']))?>\\">', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (2, 'special.field', '特殊屬性', '', '<table width=\\"100%\\" border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" bgcolor=\\"#DBEAF5\\">\r\n  <tr>\r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">信息屬性: \r\n      <input name=\\"checked\\" type=\\"checkbox\\" value=\\"1\\"<?=$r[\\\'checked\\\']?\\\' checked\\\':\\\'\\\'?>>\r\n      審核 &nbsp;&nbsp; 推薦 \r\n      <select name=\\"isgood\\" id=\\"isgood\\">\r\n        <option value=\\"0\\">不推薦</option>\r\n	<?=$ftnr[\\\'igname\\\']?>\r\n      </select>\r\n      &nbsp;&nbsp; 頭條 \r\n      <select name=\\"firsttitle\\" id=\\"firsttitle\\">\r\n        <option value=\\"0\\">非頭條</option>\r\n	<?=$ftnr[\\\'ftname\\\']?>\r\n      </select></td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">關鍵字&nbsp;&nbsp;&nbsp;: \r\n      <input name=\\"keyboard\\" type=\\"text\\" size=\\"52\\" value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'keyboard\\\']))?>\\">\r\n      <font color=\\"#666666\\">(多個請用&quot;,&quot;隔開)</font></td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">外部鏈接: \r\n      <input name=\\"titleurl\\" type=\\"text\\" value=\\"<?=stripSlashes($r[\\\'titleurl\\\'])?>\\" size=\\"52\\">\r\n      <font color=\\"#666666\\">(填寫後信息連接地址將為此鏈接)</font></td>\r\n  </tr>\r\n</table>', '特殊屬性', 0, 1, 0, '\r\n\r\n', 1, '', '', 0, 1, 'news', 0, '', 0, 0, 0, '<input name=\\"keyboard\\" type=\\"text\\" size=42 value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'keyboard\\\']))?>\\">\r\n<font color=\\"#666666\\">(多個請用&quot;,&quot;隔開)</font>', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (3, 'titlepic', '標題圖片', 'img', '<input name=\\"titlepic\\" type=\\"text\\" id=\\"titlepic\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":ehtmlspecialchars(stripSlashes($r[\\\'titlepic\\\']))?>\\" size=\\"45\\">\r\n<a onclick=\\"window.open(\\\'ecmseditor/FileMain.php?type=1&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=titlepic<?=$ecms_hashur[\\\'ehref\\\']?>\\\',\\\'\\\',\\\'width=700,height=550,scrollbars=yes\\\');\\" title=\\"選擇已上傳的圖片\\"><img src=\\"../../e/data/images/changeimg.gif\\" border=\\"0\\" align=\\"absbottom\\"></a>', '標題圖片', 0, 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="[!--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="qz_titlepic" value="<?=stripSlashes($r[\'qz_titlepic\'])?>"> \r\n        <input name="add[save_titlepic]" type="checkbox" id="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="zz_titlepic"><?=ehtmlspecialchars(stripSlashes($r[\'zz_titlepic\']))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name="add[z_titlepic]" type="text" id="z_titlepic" value="<?=stripSlashes($r[\'z_titlepic\'])?>">\r\n        (如填寫這裡，這就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>\r\n', 2, 'CHAR', '120', 1, 1, 'news', 0, '', 0, 0, 0, '<input type=\\"file\\" name=\\"titlepicfile\\" size=\\"45\\">', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (4, 'newstime', '發佈時間', 'text', '<input name=\\"newstime\\" type=\\"text\\" value=\\"<?=$r[\\\'newstime\\\']?>\\" size=\\"28\\" class=\\"Wdate\\" onClick=\\"WdatePicker({skin:\\\'default\\\',dateFmt:\\\'yyyy-MM-dd HH:mm:ss\\\'})\\"><input type=button name=button value=\\"設為當前時間\\" onclick=\\"document.add.newstime.value=\\\'<?=$todaytime?>\\\'\\">', '發佈時間', 0, 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="[!--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="zz_newstime"><?=ehtmlspecialchars(stripSlashes($r[\'zz_newstime\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name="add[z_newstime]" type="text" id="z_newstime" value="<?=stripSlashes($r[\'z_newstime\'])?>">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'INT', '11', 1, 1, 'news', 0, '', 1, 0, 0, '', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (5, 'ftitle', '副標題', 'text', '<input name=\\"ftitle\\" type=\\"text\\" size=60 id=\\"ftitle\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'ftitle\\\',stripSlashes($r[\\\'ftitle\\\']))?>\\">', '副標題', 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=\\"zz_ftitle\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_ftitle\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_ftitle]\\" type=\\"text\\" id=\\"z_ftitle\\" value=\\"<?=stripSlashes($r[\\\'z_ftitle\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 0, 'CHAR', '120', 1, 1, 'news', 0, '', 0, 0, 1, '<input name=\\"ftitle\\" type=\\"text\\" size=42 id=\\"ftitle\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'ftitle\\\',stripSlashes($r[\\\'ftitle\\\']))?>\\">\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (6, 'smalltext', '內容簡介', 'textarea', '<textarea name=\\"smalltext\\" cols=\\"80\\" rows=\\"10\\" id=\\"smalltext\\"><?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'smalltext\\\',stripSlashes($r[\\\'smalltext\\\']))?></textarea>', '內容簡介', 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=\\"zz_smalltext\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_smalltext\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_smalltext]\\" type=\\"text\\" id=\\"z_smalltext\\" value=\\"<?=stripSlashes($r[\\\'z_smalltext\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 2, 'CHAR', '255', 1, 1, 'news', 0, '', 0, 1, 1, '<textarea name=\\"smalltext\\" cols=\\"60\\" rows=\\"10\\" id=\\"smalltext\\"><?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'smalltext\\\',stripSlashes($r[\\\'smalltext\\\']))?></textarea>\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 1, '');
INSERT INTO phome_enewsf VALUES (7, 'writer', '作者', 'text', '<?php\r\n$w_class=\\\'\\\';\r\n$writer_sql=$empire->query(\\"select writer from {$dbtbpre}enewswriter\\");\r\nwhile($w_r=$empire->fetch($writer_sql))\r\n{\r\n	$w_class.=\\"<option value=\\\'\\".$w_r[\\\'writer\\\'].\\"\\\'>\\".$w_r[\\\'writer\\\'].\\"</option>\\";\r\n}\r\n?>\r\n<input type=text name=writer value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'writer\\\',stripSlashes($r[\\\'writer\\\']))?>\\" size=\\"\\"> \r\n        <select name=\\"w_id\\" id=\\"w_id\\" 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?<?=$ecms_hashur[\\\'ehref\\\']?>&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=\\"zz_writer\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_writer\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_writer]\\" type=\\"text\\" id=\\"z_writer\\" value=\\"<?=stripSlashes($r[\\\'z_writer\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 2, 'CHAR', '30', 1, 1, 'news', 0, '', 0, 0, 1, '<input name=\\"writer\\" type=\\"text\\" id=\\"writer\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'writer\\\',stripSlashes($r[\\\'writer\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (8, 'befrom', '信息來源', 'text', '<?php\r\n$b_class=\\\'\\\';\r\n$befrom_sql=$empire->query(\\"select sitename from {$dbtbpre}enewsbefrom\\");\r\nwhile($b_r=$empire->fetch($befrom_sql))\r\n{\r\n	$b_class.=\\"<option value=\\\'\\".$b_r[\\\'sitename\\\'].\\"\\\'>\\".$b_r[\\\'sitename\\\'].\\"</option>\\";\r\n}\r\n?>\r\n<input type=\\"text\\" name=\\"befrom\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'befrom\\\',stripSlashes($r[\\\'befrom\\\']))?>\\" size=\\"\\"> \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?<?=$ecms_hashur[\\\'ehref\\\']?>&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=\\"zz_befrom\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_befrom\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_befrom]\\" type=\\"text\\" id=\\"z_befrom\\" value=\\"<?=stripSlashes($r[\\\'z_befrom\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 2, 'CHAR', '60', 1, 1, 'news', 0, '', 0, 0, 1, '<input name=\\"befrom\\" type=\\"text\\" id=\\"befrom\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'befrom\\\',stripSlashes($r[\\\'befrom\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (9, 'newstext', '新聞正文', 'editor', '<?=ECMS_ShowEditorVar(\\"newstext\\",$ecmsfirstpost==1&&$usersldo==0?\\"\\":DoRehValue($modid,\\\'newstext\\\',stripSlashes($r[\\\'newstext\\\'])),\\"Default\\",\\"\\",\\"300\\",\\"100%\\")?>\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\\" value=\\"1\\"<?=$r[\\\'dokey\\\']==1?\\\' checked\\\':\\\'\\\'?>>\r\n              關鍵字替換&nbsp;&nbsp; <input name=\\"copyimg\\" type=\\"checkbox\\" id=\\"copyimg\\" value=\\"1\\">\r\n      遠程保存圖片(\r\n      <input name=\\"mark\\" type=\\"checkbox\\" id=\\"mark\\" value=\\"1\\">\r\n      <a href=\\"SetEnews.php<?=$ecms_hashur[\\\'whehref\\\']?>\\" target=\\"_blank\\">加水印</a>)&nbsp;&nbsp; \r\n      <input name=\\"copyflash\\" type=\\"checkbox\\" id=\\"copyflash\\" value=\\"1\\">\r\n      遠程保存FLASH(地址前綴： \r\n      <input name=\\"qz_url\\" type=\\"text\\" id=\\"qz_url\\" size=\\"\\">\r\n              )</td>\r\n          </tr>\r\n          <tr>\r\n            \r\n    <td bgcolor=\\"#FFFFFF\\"><input name=\\"repimgnexturl\\" type=\\"checkbox\\" id=\\"repimgnexturl\\" value=\\"1\\"> 圖片鏈接轉為下一頁&nbsp;&nbsp; <input name=\\"autopage\\" type=\\"checkbox\\" id=\\"autopage\\" value=\\"1\\">自動分頁\r\n      ,每 \r\n      <input name=\\"autosize\\" type=\\"text\\" id=\\"autosize\\" value=\\"5000\\" size=\\"5\\">\r\n      個字節為一頁&nbsp;&nbsp; 取第 \r\n      <input name=\\"getfirsttitlepic\\" type=\\"text\\" id=\\"getfirsttitlepic\\" value=\\"\\" size=\\"1\\">\r\n      張上傳圖為標題圖片( \r\n      <input name=\\"getfirsttitlespic\\" type=\\"checkbox\\" id=\\"getfirsttitlespic\\" value=\\"1\\">\r\n      縮略圖: 寬 \r\n      <input name=\\"getfirsttitlespicw\\" type=\\"text\\" id=\\"getfirsttitlespicw\\" size=\\"3\\" value=\\"<?=$public_r[\\\'spicwidth\\\']?>\\">\r\n      *高\r\n      <input name=\\"getfirsttitlespich\\" type=\\"text\\" id=\\"getfirsttitlespich\\" size=\\"3\\" value=\\"<?=$public_r[\\\'spicheight\\\']?>\\">\r\n      )</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=\\"zz_newstext\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_newstext\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_newstext]\\" type=\\"text\\" id=\\"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, '<?=ECMS_ShowEditorVar(\\"newstext\\",$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'newstext\\\',stripSlashes($r[\\\'newstext\\\'])),\\"Default\\",\\"\\",\\"300\\",\\"100%\\")?>\r\n', 0, '', 0, '', 1, 1, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (10, 'diggtop', '頂', 'text', '<input name=\\"diggtop\\" type=\\"text\\" id=\\"diggtop\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'diggtop\\\',stripSlashes($r[\\\'diggtop\\\']))?>\\" size=\\"\\">\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=\\"[!--diggtop--]\\" 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_diggtop]\\" cols=\\"60\\" rows=\\"10\\" id=\\"zz_diggtop\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_diggtop\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_diggtop]\\" type=\\"text\\" id=\\"z_diggtop\\" value=\\"<?=stripSlashes($r[\\\'z_diggtop\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 3, 'INT', '', 1, 1, 'news', 0, '', 0, 0, 1, '<input name=\\"diggtop\\" type=\\"text\\" id=\\"diggtop\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'diggtop\\\',stripSlashes($r[\\\'diggtop\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (11, 'title', '標題', 'text', '<table width=\\"100%\\" border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" bgcolor=\\"#DBEAF5\\">\r\n<tr> \r\n  <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">\r\n	<?=$tts?\\"<select name=\\\'ttid\\\'><option value=\\\'0\\\'>標題分類</option>$tts</select>\\":\\"\\"?>\r\n	<input type=text name=title value=\\"<?=ehtmlspecialchars(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 height=\\"25\\" bgcolor=\\"#FFFFFF\\">屬性: \r\n	<input name=\\"titlefont[b]\\" type=\\"checkbox\\" value=\\"b\\"<?=$titlefontb?>>粗體\r\n	<input name=\\"titlefont[i]\\" type=\\"checkbox\\" value=\\"i\\"<?=$titlefonti?>>斜體\r\n	<input name=\\"titlefont[s]\\" type=\\"checkbox\\" value=\\"s\\"<?=$titlefonts?>>刪除線\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;顏色: <input name=\\"titlecolor\\" type=\\"text\\" value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'titlecolor\\\']))?>\\" size=\\"10\\" class=\\"color\\">\r\n  </td>\r\n</tr>\r\n</table>\r\n', '標題', 0, 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="[!--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="zz_title"><?=ehtmlspecialchars(stripSlashes($r[\'zz_title\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name="add[z_title]" type="text" id="z_title" value="<?=stripSlashes($r[\'z_title\'])?>">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 0, 'CHAR', '100', 1, 2, 'download', 0, '', 0, 0, 0, '<input name=\\"title\\" type=\\"text\\" size=\\"42\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'title\\\',stripSlashes($r[\\\'title\\\']))?>\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (12, 'special.field', '特殊屬性', '', '<table width=\\"100%\\" border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" bgcolor=\\"#DBEAF5\\">\r\n  <tr>\r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">信息屬性: \r\n      <input name=\\"checked\\" type=\\"checkbox\\" value=\\"1\\"<?=$r[\\\'checked\\\']?\\\' checked\\\':\\\'\\\'?>>\r\n      審核 &nbsp;&nbsp; 推薦 \r\n      <select name=\\"isgood\\" id=\\"isgood\\">\r\n        <option value=\\"0\\">不推薦</option>\r\n	<?=$ftnr[\\\'igname\\\']?>\r\n      </select>\r\n      &nbsp;&nbsp; 頭條 \r\n      <select name=\\"firsttitle\\" id=\\"firsttitle\\">\r\n        <option value=\\"0\\">非頭條</option>\r\n	<?=$ftnr[\\\'ftname\\\']?>\r\n      </select></td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">關鍵字&nbsp;&nbsp;&nbsp;: \r\n      <input name=\\"keyboard\\" type=\\"text\\" size=\\"52\\" value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'keyboard\\\']))?>\\">\r\n      <font color=\\"#666666\\">(多個請用&quot;,&quot;隔開)</font></td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">外部鏈接: \r\n      <input name=\\"titleurl\\" type=\\"text\\" value=\\"<?=stripSlashes($r[\\\'titleurl\\\'])?>\\" size=\\"52\\">\r\n      <font color=\\"#666666\\">(填寫後信息連接地址將為此鏈接)</font></td>\r\n  </tr>\r\n</table>\r\n', '特殊屬性', 0, 1, 0, '\r\n\r\n', 0, '', '0', 0, 2, 'download', 0, '', 0, 0, 0, '<input name=\\"keyboard\\" type=\\"text\\" size=42 value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'keyboard\\\']))?>\\">\r\n<font color=\\"#666666\\">(多個請用&quot;,&quot;隔開)</font>\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (13, 'titlepic', '標題圖片', 'img', '<input name=\\"titlepic\\" type=\\"text\\" id=\\"titlepic\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":ehtmlspecialchars(stripSlashes($r[\\\'titlepic\\\']))?>\\" size=\\"45\\">\r\n<a onclick=\\"window.open(\\\'ecmseditor/FileMain.php?type=1&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=titlepic<?=$ecms_hashur[\\\'ehref\\\']?>\\\',\\\'\\\',\\\'width=700,height=550,scrollbars=yes\\\');\\" title=\\"選擇已上傳的圖片\\"><img src=\\"../../e/data/images/changeimg.gif\\" border=\\"0\\" align=\\"absbottom\\"></a> \r\n', '標題圖片', 0, 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="[!--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="qz_titlepic" value="<?=stripSlashes($r[\'qz_titlepic\'])?>"> \r\n        <input name="add[save_titlepic]" type="checkbox" id="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="zz_titlepic"><?=ehtmlspecialchars(stripSlashes($r[\'zz_titlepic\']))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name="add[z_titlepic]" type="text" id="z_titlepic" value="<?=stripSlashes($r[\'z_titlepic\'])?>">\r\n        (如填寫這裡，這就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>\r\n', 1, 'CHAR', '120', 1, 2, 'download', 0, '', 0, 0, 0, '<input type=\\"file\\" name=\\"titlepicfile\\" size=\\"45\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (14, 'newstime', '發佈時間', 'text', '<input name=\\"newstime\\" type=\\"text\\" value=\\"<?=$r[\\\'newstime\\\']?>\\" size=\\"28\\" class=\\"Wdate\\" onClick=\\"WdatePicker({skin:\\\'default\\\',dateFmt:\\\'yyyy-MM-dd HH:mm:ss\\\'})\\"><input type=button name=button value=\\"設為當前時間\\" onclick=\\"document.add.newstime.value=\\\'<?=$todaytime?>\\\'\\">\r\n', '發佈時間', 0, 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="[!--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="zz_newstime"><?=ehtmlspecialchars(stripSlashes($r[\'zz_newstime\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name="add[z_newstime]" type="text" id="z_newstime" value="<?=stripSlashes($r[\'z_newstime\'])?>">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 0, 'INT', '11', 1, 2, 'download', 0, '', 1, 0, 0, '', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (15, 'softwriter', '作者', 'text', '<input name=\\"softwriter\\" type=\\"text\\" id=\\"softwriter\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'softwriter\\\',stripSlashes($r[\\\'softwriter\\\']))?>\\" size=\\"60\\">\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=\\"zz_softwriter\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_softwriter\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_softwriter]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"softwriter\\" type=\\"text\\" id=\\"softwriter\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'softwriter\\\',stripSlashes($r[\\\'softwriter\\\']))?>\\" size=\\"42\\">\r\n', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (16, 'homepage', '官方網站', 'text', '<input name=\\"homepage\\" type=\\"text\\" id=\\"homepage\\" value=\\"<?=$ecmsfirstpost==1?\\"http://\\":DoRehValue($modid,\\\'homepage\\\',stripSlashes($r[\\\'homepage\\\']))?>\\" size=\\"60\\">\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=\\"zz_homepage\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_homepage\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_homepage]\\" type=\\"text\\" id=\\"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, 'http://', 0, 0, 1, '<input name=\\"homepage\\" type=\\"text\\" id=\\"homepage\\" value=\\"<?=$ecmsfirstpost==1?\\"http://\\":DoReqValue($mid,\\\'homepage\\\',stripSlashes($r[\\\'homepage\\\']))?>\\" size=\\"42\\">\r\n', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (17, 'demo', '系統演示', 'text', '<input name=\\"demo\\" type=\\"text\\" id=\\"demo\\" value=\\"<?=$ecmsfirstpost==1?\\"http://\\":DoRehValue($modid,\\\'demo\\\',stripSlashes($r[\\\'demo\\\']))?>\\" size=\\"60\\">\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=\\"zz_demo\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_demo\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_demo]\\" type=\\"text\\" id=\\"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, 'http://', 0, 0, 1, '<input name=\\"demo\\" type=\\"text\\" id=\\"demo\\" value=\\"<?=$ecmsfirstpost==1?\\"http://\\":DoReqValue($mid,\\\'demo\\\',stripSlashes($r[\\\'demo\\\']))?>\\" size=\\"42\\">\r\n', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (18, 'softfj', '運行環境', 'text', '<input name=\\"softfj\\" type=\\"text\\" id=\\"softfj\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'softfj\\\',stripSlashes($r[\\\'softfj\\\']))?>\\" size=\\"60\\">\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=\\"zz_softfj\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_softfj\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_softfj]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"softfj\\" type=\\"text\\" id=\\"softfj\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'softfj\\\',stripSlashes($r[\\\'softfj\\\']))?>\\" size=\\"42\\">\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (19, 'language', '軟件語言', 'select', '<select name=\\"language\\" id=\\"language\\"><option value=\\"簡體中文\\"<?=$r[\\\'language\\\']==\\"簡體中文\\"?\\\' selected\\\':\\\'\\\'?>>簡體中文</option><option value=\\"繁體中文\\"<?=$r[\\\'language\\\']==\\"繁體中文\\"?\\\' selected\\\':\\\'\\\'?>>繁體中文</option><option value=\\"英文\\"<?=$r[\\\'language\\\']==\\"英文\\"?\\\' selected\\\':\\\'\\\'?>>英文</option><option value=\\"多國語言\\"<?=$r[\\\'language\\\']==\\"多國語言\\"?\\\' selected\\\':\\\'\\\'?>>多國語言</option></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=\\"[!--language--]\\" 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_language]\\" cols=\\"60\\" rows=\\"10\\" id=\\"zz_language\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_language\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_language]\\" type=\\"text\\" id=\\"z_language\\" value=\\"<?=stripSlashes($r[\\\'z_language\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'VARCHAR', '16', 1, 2, 'download', 0, '簡體中文|繁體中文|英文|多國語言', 0, 0, 1, '<select name=\\"language\\" id=\\"language\\"><option value=\\"簡體中文\\"<?=$r[\\\'language\\\']==\\"簡體中文\\"?\\\' selected\\\':\\\'\\\'?>>簡體中文</option><option value=\\"繁體中文\\"<?=$r[\\\'language\\\']==\\"繁體中文\\"?\\\' selected\\\':\\\'\\\'?>>繁體中文</option><option value=\\"英文\\"<?=$r[\\\'language\\\']==\\"英文\\"?\\\' selected\\\':\\\'\\\'?>>英文</option><option value=\\"多國語言\\"<?=$r[\\\'language\\\']==\\"多國語言\\"?\\\' selected\\\':\\\'\\\'?>>多國語言</option></select>', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (20, 'softtype', '軟件類型', 'select', '<select name=\\"softtype\\" id=\\"softtype\\"><option value=\\"國產軟件\\"<?=$r[\\\'softtype\\\']==\\"國產軟件\\"?\\\' selected\\\':\\\'\\\'?>>國產軟件</option><option value=\\"漢化軟件\\"<?=$r[\\\'softtype\\\']==\\"漢化軟件\\"?\\\' selected\\\':\\\'\\\'?>>漢化軟件</option><option value=\\"國外軟件\\"<?=$r[\\\'softtype\\\']==\\"國外軟件\\"?\\\' selected\\\':\\\'\\\'?>>國外軟件</option></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=\\"[!--softtype--]\\" 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_softtype]\\" cols=\\"60\\" rows=\\"10\\" id=\\"zz_softtype\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_softtype\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_softtype]\\" type=\\"text\\" id=\\"z_softtype\\" value=\\"<?=stripSlashes($r[\\\'z_softtype\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'VARCHAR', '16', 1, 2, 'download', 0, '國產軟件|漢化軟件|國外軟件', 0, 0, 1, '<select name=\\"softtype\\" id=\\"softtype\\"><option value=\\"國產軟件\\"<?=$r[\\\'softtype\\\']==\\"國產軟件\\"?\\\' selected\\\':\\\'\\\'?>>國產軟件</option><option value=\\"漢化軟件\\"<?=$r[\\\'softtype\\\']==\\"漢化軟件\\"?\\\' selected\\\':\\\'\\\'?>>漢化軟件</option><option value=\\"國外軟件\\"<?=$r[\\\'softtype\\\']==\\"國外軟件\\"?\\\' selected\\\':\\\'\\\'?>>國外軟件</option></select>', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (21, 'softsq', '授權形式', 'select', '<select name=\\"softsq\\" id=\\"softsq\\"><option value=\\"共享軟件\\"<?=$r[\\\'softsq\\\']==\\"共享軟件\\"?\\\' selected\\\':\\\'\\\'?>>共享軟件</option><option value=\\"免費軟件\\"<?=$r[\\\'softsq\\\']==\\"免費軟件\\"?\\\' selected\\\':\\\'\\\'?>>免費軟件</option><option value=\\"自由軟件\\"<?=$r[\\\'softsq\\\']==\\"自由軟件\\"?\\\' selected\\\':\\\'\\\'?>>自由軟件</option><option value=\\"試用軟件\\"<?=$r[\\\'softsq\\\']==\\"試用軟件\\"?\\\' selected\\\':\\\'\\\'?>>試用軟件</option><option value=\\"演示軟件\\"<?=$r[\\\'softsq\\\']==\\"演示軟件\\"?\\\' selected\\\':\\\'\\\'?>>演示軟件</option><option value=\\"商業軟件\\"<?=$r[\\\'softsq\\\']==\\"商業軟件\\"?\\\' selected\\\':\\\'\\\'?>>商業軟件</option></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=\\"[!--softsq--]\\" 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_softsq]\\" cols=\\"60\\" rows=\\"10\\" id=\\"zz_softsq\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_softsq\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_softsq]\\" type=\\"text\\" id=\\"z_softsq\\" value=\\"<?=stripSlashes($r[\\\'z_softsq\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'VARCHAR', '16', 1, 2, 'download', 0, '共享軟件|免費軟件|自由軟件|試用軟件|演示軟件|商業軟件', 0, 0, 1, '<select name=\\"softsq\\" id=\\"softsq\\"><option value=\\"共享軟件\\"<?=$r[\\\'softsq\\\']==\\"共享軟件\\"?\\\' selected\\\':\\\'\\\'?>>共享軟件</option><option value=\\"免費軟件\\"<?=$r[\\\'softsq\\\']==\\"免費軟件\\"?\\\' selected\\\':\\\'\\\'?>>免費軟件</option><option value=\\"自由軟件\\"<?=$r[\\\'softsq\\\']==\\"自由軟件\\"?\\\' selected\\\':\\\'\\\'?>>自由軟件</option><option value=\\"試用軟件\\"<?=$r[\\\'softsq\\\']==\\"試用軟件\\"?\\\' selected\\\':\\\'\\\'?>>試用軟件</option><option value=\\"演示軟件\\"<?=$r[\\\'softsq\\\']==\\"演示軟件\\"?\\\' selected\\\':\\\'\\\'?>>演示軟件</option><option value=\\"商業軟件\\"<?=$r[\\\'softsq\\\']==\\"商業軟件\\"?\\\' selected\\\':\\\'\\\'?>>商業軟件</option></select>', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (22, 'star', '軟件等級', 'select', '<select name=\\"star\\" id=\\"star\\"><option value=\\"1\\"<?=$r[\\\'star\\\']==\\"1\\"?\\\' selected\\\':\\\'\\\'?>>1星</option><option value=\\"2\\"<?=$r[\\\'star\\\']==\\"2\\"||$ecmsfirstpost==1?\\\' selected\\\':\\\'\\\'?>>2星</option><option value=\\"3\\"<?=$r[\\\'star\\\']==\\"3\\"?\\\' selected\\\':\\\'\\\'?>>3星</option><option value=\\"4\\"<?=$r[\\\'star\\\']==\\"4\\"?\\\' selected\\\':\\\'\\\'?>>4星</option><option value=\\"5\\"<?=$r[\\\'star\\\']==\\"5\\"?\\\' selected\\\':\\\'\\\'?>>5星</option></select>', '', 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=\\"[!--star--]\\" 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_star]\\" cols=\\"60\\" rows=\\"10\\" id=\\"zz_star\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_star\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_star]\\" type=\\"text\\" id=\\"z_star\\" value=\\"<?=stripSlashes($r[\\\'z_star\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'TINYINT', '1', 1, 2, 'download', 0, '1|2:default|3|4|5', 0, 0, 1, '<select name=\\"star\\" id=\\"star\\"><option value=\\"1\\"<?=$r[\\\'star\\\']==\\"1\\"?\\\' selected\\\':\\\'\\\'?>>1星</option><option value=\\"2\\"<?=$r[\\\'star\\\']==\\"2\\"||$ecmsfirstpost==1?\\\' selected\\\':\\\'\\\'?>>2星</option><option value=\\"3\\"<?=$r[\\\'star\\\']==\\"3\\"?\\\' selected\\\':\\\'\\\'?>>3星</option><option value=\\"4\\"<?=$r[\\\'star\\\']==\\"4\\"?\\\' selected\\\':\\\'\\\'?>>4星</option><option value=\\"5\\"<?=$r[\\\'star\\\']==\\"5\\"?\\\' selected\\\':\\\'\\\'?>>5星</option></select>', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (23, 'filetype', '文件類型', 'text', '<input name=\\"filetype\\" type=\\"text\\" id=\\"filetype\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'filetype\\\',stripSlashes($r[\\\'filetype\\\']))?>\\" size=\\"\\">\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=\\"zz_filetype\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_filetype\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_filetype]\\" type=\\"text\\" id=\\"z_filetype\\" value=\\"<?=stripSlashes($r[\\\'z_filetype\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'VARCHAR', '10', 1, 2, 'download', 0, '', 0, 0, 1, '<input name=\\"filetype\\" type=\\"text\\" id=\\"filetype\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'filetype\\\',stripSlashes($r[\\\'filetype\\\']))?>\\" size=\\"10\\">\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>', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (24, 'filesize', '文件大小', 'text', '<input name=\\"filesize\\" type=\\"text\\" id=\\"filesize\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'filesize\\\',stripSlashes($r[\\\'filesize\\\']))?>\\" size=\\"\\">\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=\\"zz_filesize\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_filesize\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_filesize]\\" type=\\"text\\" id=\\"z_filesize\\" value=\\"<?=stripSlashes($r[\\\'z_filesize\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'VARCHAR', '16', 1, 2, 'download', 0, '', 0, 0, 1, '<input name=\\"filesize\\" type=\\"text\\" id=\\"filesize\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'filesize\\\',stripSlashes($r[\\\'filesize\\\']))?>\\" size=\\"10\\">\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>', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (25, 'downpath', '下載地址', 'text', '<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 size=36 id=downpath\\"+j+\\" ondblclick=SpOpenChFile(0,\\\'downpath\\"+j+\\"\\\')><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\ndocument.getElementById(\\"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\\">下載地址前綴&nbsp;:\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>\r\n	  </td>\r\n  </tr>\r\n  <tr>\r\n    <td height=\\"25\\">選擇/上傳附件:\r\n      <input name=\\"changedown_url\\" id=\\"changedown_url\\" type=\\"text\\" size=\\"32\\">\r\n      <input type=\\"button\\" name=\\"Submit\\" value=\\"選擇\\" onclick=\\"window.open(\\\'ecmseditor/FileMain.php?type=0&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=changedown_url<?=$ecms_hashur[\\\'ehref\\\']?>\\\',\\\'\\\',\\\'width=700,height=550,scrollbars=yes\\\');\\">&nbsp;\r\n	  <input type=\\"button\\" name=\\"Submit\\" value=\\"複製\\" onclick=\\"document.getElementById(\\\'changedown_url\\\').focus();document.getElementById(\\\'changedown_url\\\').select();clipboardData.setData(\\\'text\\\',document.getElementById(\\\'changedown_url\\\').value);\\"></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%\\">下載地址 <font color=\\"#666666\\">(雙擊選擇)</font></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    <?php\r\n    if($ecmsfirstpost==1)\r\n    {\r\n    ?>\r\n	<table width=\\\'100%\\\' border=0 cellspacing=1 cellpadding=3>\r\n	<?php\r\n	$editnum=3;\r\n	for($pathi=1;$pathi<=$editnum;$pathi++)\r\n	{\r\n	?>\r\n           <tr> \r\n              <td width=\\\'7%\\\'> <div align=center><?=$pathi?></div></td>\r\n              <td width=\\\'19%\\\'> <div align=left> \r\n                  <input name=downname[] type=text value=\\\'下載地址<?=$pathi?>\\\' size=17>\r\n                    </div></td>\r\n              <td width=\\\'40%\\\'>\r\n	      <input name=downpath[] type=text size=36 id=\\\'downpath<?=$pathi?>\\\' ondblclick=\\"SpOpenChFile(0,\\\'downpath<?=$pathi?>\\\');\\">\r\n	      <select name=thedownqz[]><option value=\\\'\\\'>--地址前綴--</option><?=$newdownqz?></select> \r\n                  </td>\r\n                  <td width=\\\'21%\\\'><div align=center> \r\n                      <select name=downuser[]>\r\n                        <option value=0>遊客</option>\r\n                        <?=$ygroup?>\r\n                      </select>\r\n                    </div></td>\r\n                  <td width=\\\'13%\\\'> <div align=center> \r\n                      <input name=fen[] type=text value=0 size=6>\r\n                    </div></td>\r\n            </tr>\r\n	<?php\r\n	}\r\n	?>\r\n	</table>\r\n    <?php\r\n    }\r\n    else\r\n    {\r\n	$editnum=0;\r\n	$downloadpath=\\"\\";\r\n	if($r[\\\'downpath\\\'])\r\n	{\r\n		$r[\\\'downpath\\\']=ehtmlspecialchars(stripSlashes($r[\\\'downpath\\\']));\r\n		//下載地址\r\n		$j=0;\r\n		$d_record=explode(\\"\\\\r\\\\n\\",$r[\\\'downpath\\\']);\r\n		for($i=0;$i<count($d_record);$i++)\r\n		{\r\n			$j=$i+1;\r\n			$d_field=explode(\\"::::::\\",$d_record[$i]);\r\n			//權限\r\n			$tgroup=str_replace(\\" value=\\".$d_field[2].\\">\\",\\" value=\\".$d_field[2].\\" selected>\\",$ygroup);\r\n			//地址前綴\r\n			$tnewdownqz=str_replace(\\" value=\\\'\\".$d_field[4].\\"\\\'>\\",\\" value=\\\'\\".$d_field[4].\\"\\\' selected>\\",$newdownqz);\r\n			$downloadpath.=\\"<tr><td width=\\\'7%\\\'><div align=center>\\".$j.\\"</div></td><td width=\\\'19%\\\'><div align=left><input name=downname[] type=text id=downname[] value=\\\'\\".$d_field[0].\\"\\\' size=17></div></td><td width=\\\'40%\\\'><input name=downpath[] type=text id=downpath\\".$j.\\" value=\\\'\\".$d_field[1].\\"\\\' size=36 ondblclick=\\\\\\"SpOpenChFile(0,\\\'downpath\\".$j.\\"\\\');\\\\\\"><select name=thedownqz[]><option value=\\\'\\\'>--地址前綴--</option>\\".$tnewdownqz.\\"</select><input type=hidden name=pathid[] value=\\".$j.\\"><input type=checkbox name=delpathid[] value=\\".$j.\\">刪</td><td width=\\\'21%\\\'><div align=center><select name=downuser[] id=select><option value=0>遊客</option>\\".$tgroup.\\"</select></div></td><td width=\\\'13%\\\'><div align=center><input name=fen[] type=text id=fen[] value=\\\'\\".$d_field[3].\\"\\\' size=6></div></td></tr>\\";\r\n		}\r\n		$editnum=$j;\r\n		$downloadpath=\\"<table width=\\\'100%\\\' border=0 cellspacing=1 cellpadding=3>\\".$downloadpath.\\"</table>\\";\r\n	}\r\n	echo $downloadpath;\r\n    }\r\n    ?>\r\n    </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\">下載地址擴展數量: <input name=\\"editnum\\" type=\\"hidden\\" id=\\"editnum\\" value=\\"<?=$editnum?>\\">\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=\\"zz_downpath\\"><?=ehtmlspecialchars(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=\\"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, 0, 1, '<input type=\\"file\\" name=\\"downpathfile\\" size=\\"45\\">\r\n', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (26, 'softsay', '軟件簡介', 'textarea', '<textarea name=\\"softsay\\" cols=\\"80\\" rows=\\"10\\" id=\\"softsay\\"><?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'softsay\\\',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=\\"zz_softsay\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_softsay\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_softsay]\\" type=\\"text\\" id=\\"z_softsay\\" value=\\"<?=stripSlashes($r[\\\'z_softsay\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'TEXT', '', 1, 2, 'download', 0, '', 0, 1, 1, '<textarea name=\\"softsay\\" cols=\\"60\\" rows=\\"10\\" id=\\"softsay\\"><?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'softsay\\\',stripSlashes($r[\\\'softsay\\\']))?></textarea>\r\n', 0, '', 0, '80,10', 0, 0, '', '', '', '', '', '', 0, 1, '');
INSERT INTO phome_enewsf VALUES (27, 'title', '標題', 'text', '<table width=\\"100%\\" border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" bgcolor=\\"#DBEAF5\\">\r\n<tr> \r\n  <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">\r\n	<?=$tts?\\"<select name=\\\'ttid\\\'><option value=\\\'0\\\'>標題分類</option>$tts</select>\\":\\"\\"?>\r\n	<input type=text name=title value=\\"<?=ehtmlspecialchars(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 height=\\"25\\" bgcolor=\\"#FFFFFF\\">屬性: \r\n	<input name=\\"titlefont[b]\\" type=\\"checkbox\\" value=\\"b\\"<?=$titlefontb?>>粗體\r\n	<input name=\\"titlefont[i]\\" type=\\"checkbox\\" value=\\"i\\"<?=$titlefonti?>>斜體\r\n	<input name=\\"titlefont[s]\\" type=\\"checkbox\\" value=\\"s\\"<?=$titlefonts?>>刪除線\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;顏色: <input name=\\"titlecolor\\" type=\\"text\\" value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'titlecolor\\\']))?>\\" size=\\"10\\" class=\\"color\\">\r\n  </td>\r\n</tr>\r\n</table>\r\n', '標題', 0, 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="[!--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="zz_title"><?=ehtmlspecialchars(stripSlashes($r[\'zz_title\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name="add[z_title]" type="text" id="z_title" value="<?=stripSlashes($r[\'z_title\'])?>">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 0, 'CHAR', '100', 1, 3, 'photo', 0, '', 0, 0, 0, '<input name=\\"title\\" type=\\"text\\" size=\\"42\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'title\\\',stripSlashes($r[\\\'title\\\']))?>\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (28, 'special.field', '特殊屬性', '', '<table width=\\"100%\\" border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" bgcolor=\\"#DBEAF5\\">\r\n  <tr>\r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">信息屬性: \r\n      <input name=\\"checked\\" type=\\"checkbox\\" value=\\"1\\"<?=$r[\\\'checked\\\']?\\\' checked\\\':\\\'\\\'?>>\r\n      審核 &nbsp;&nbsp; 推薦 \r\n      <select name=\\"isgood\\" id=\\"isgood\\">\r\n        <option value=\\"0\\">不推薦</option>\r\n	<?=$ftnr[\\\'igname\\\']?>\r\n      </select>\r\n      &nbsp;&nbsp; 頭條 \r\n      <select name=\\"firsttitle\\" id=\\"firsttitle\\">\r\n        <option value=\\"0\\">非頭條</option>\r\n	<?=$ftnr[\\\'ftname\\\']?>\r\n      </select></td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">關鍵字&nbsp;&nbsp;&nbsp;: \r\n      <input name=\\"keyboard\\" type=\\"text\\" size=\\"52\\" value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'keyboard\\\']))?>\\">\r\n      <font color=\\"#666666\\">(多個請用&quot;,&quot;隔開)</font></td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">外部鏈接: \r\n      <input name=\\"titleurl\\" type=\\"text\\" value=\\"<?=stripSlashes($r[\\\'titleurl\\\'])?>\\" size=\\"52\\">\r\n      <font color=\\"#666666\\">(填寫後信息連接地址將為此鏈接)</font></td>\r\n  </tr>\r\n</table>\r\n', '特殊屬性', 0, 1, 0, '\r\n\r\n', 0, '', '0', 0, 3, 'photo', 0, '', 0, 0, 0, '<input name=\\"keyboard\\" type=\\"text\\" size=42 value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'keyboard\\\']))?>\\">\r\n<font color=\\"#666666\\">(多個請用&quot;,&quot;隔開)</font>\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (29, 'titlepic', '標題圖片', 'img', '<input name=\\"titlepic\\" type=\\"text\\" id=\\"titlepic\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":ehtmlspecialchars(stripSlashes($r[\\\'titlepic\\\']))?>\\" size=\\"45\\">\r\n<a onclick=\\"window.open(\\\'ecmseditor/FileMain.php?type=1&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=titlepic<?=$ecms_hashur[\\\'ehref\\\']?>\\\',\\\'\\\',\\\'width=700,height=550,scrollbars=yes\\\');\\" title=\\"選擇已上傳的圖片\\"><img src=\\"../../e/data/images/changeimg.gif\\" border=\\"0\\" align=\\"absbottom\\"></a> \r\n', '標題圖片', 0, 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="[!--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="qz_titlepic" value="<?=stripSlashes($r[\'qz_titlepic\'])?>"> \r\n        <input name="add[save_titlepic]" type="checkbox" id="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="zz_titlepic"><?=ehtmlspecialchars(stripSlashes($r[\'zz_titlepic\']))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name="add[z_titlepic]" type="text" id="z_titlepic" value="<?=stripSlashes($r[\'z_titlepic\'])?>">\r\n        (如填寫這裡，這就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>\r\n', 2, 'CHAR', '120', 1, 3, 'photo', 0, '', 0, 0, 0, '<input type=\\"file\\" name=\\"titlepicfile\\" size=\\"45\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (30, 'newstime', '發佈時間', 'text', '<input name=\\"newstime\\" type=\\"text\\" value=\\"<?=$r[\\\'newstime\\\']?>\\" size=\\"28\\" class=\\"Wdate\\" onClick=\\"WdatePicker({skin:\\\'default\\\',dateFmt:\\\'yyyy-MM-dd HH:mm:ss\\\'})\\"><input type=button name=button value=\\"設為當前時間\\" onclick=\\"document.add.newstime.value=\\\'<?=$todaytime?>\\\'\\">\r\n', '發佈時間', 0, 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="[!--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="zz_newstime"><?=ehtmlspecialchars(stripSlashes($r[\'zz_newstime\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name="add[z_newstime]" type="text" id="z_newstime" value="<?=stripSlashes($r[\'z_newstime\'])?>">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 0, 'INT', '11', 1, 3, 'photo', 0, '', 1, 0, 0, '', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (31, 'filesize', '文件大小', 'text', '<input name=\\"filesize\\" type=\\"text\\" id=\\"filesize\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'filesize\\\',stripSlashes($r[\\\'filesize\\\']))?>\\" size=\\"60\\">\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=\\"zz_filesize\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_filesize\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_filesize]\\" type=\\"text\\" id=\\"z_filesize\\" value=\\"<?=stripSlashes($r[\\\'z_filesize\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'VARCHAR', '10', 1, 3, 'photo', 0, '', 0, 0, 1, '<input name=\\"filesize\\" type=\\"text\\" id=\\"filesize\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'filesize\\\',stripSlashes($r[\\\'filesize\\\']))?>\\" size=\\"42\\">\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>', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (32, 'picsize', '圖片尺寸', 'text', '<input name=\\"picsize\\" type=\\"text\\" id=\\"picsize\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'picsize\\\',stripSlashes($r[\\\'picsize\\\']))?>\\" size=\\"\\">\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=\\"zz_picsize\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_picsize\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_picsize]\\" type=\\"text\\" id=\\"z_picsize\\" value=\\"<?=stripSlashes($r[\\\'z_picsize\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'VARCHAR', '20', 1, 3, 'photo', 0, '', 0, 0, 1, '<input name=\\"picsize\\" type=\\"text\\" id=\\"picsize\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'picsize\\\',stripSlashes($r[\\\'picsize\\\']))?>\\" size=\\"42\\">\r\n', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (33, 'picfbl', '圖片分辨率', 'text', '<input name=\\"picfbl\\" type=\\"text\\" id=\\"picfbl\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'picfbl\\\',stripSlashes($r[\\\'picfbl\\\']))?>\\" size=\\"\\">\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=\\"zz_picfbl\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_picfbl\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_picfbl]\\" type=\\"text\\" id=\\"z_picfbl\\" value=\\"<?=stripSlashes($r[\\\'z_picfbl\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'VARCHAR', '20', 1, 3, 'photo', 0, '', 0, 0, 1, '<input name=\\"picfbl\\" type=\\"text\\" id=\\"picfbl\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'picfbl\\\',stripSlashes($r[\\\'picfbl\\\']))?>\\" size=\\"42\\">\r\n', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (34, 'picfrom', '來源', 'text', '<input name=\\"picfrom\\" type=\\"text\\" id=\\"picfrom\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'picfrom\\\',stripSlashes($r[\\\'picfrom\\\']))?>\\" size=\\"60\\">\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=\\"zz_picfrom\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_picfrom\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_picfrom]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"picfrom\\" type=\\"text\\" id=\\"picfrom\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'picfrom\\\',stripSlashes($r[\\\'picfrom\\\']))?>\\" size=\\"42\\">\r\n', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (35, 'picurl', '圖片大圖', 'img', '<input name=\\"picurl\\" type=\\"text\\" id=\\"picurl\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'picurl\\\',stripSlashes($r[\\\'picurl\\\']))?>\\" size=\\"45\\">\r\n<a onclick=\\"window.open(\\\'ecmseditor/FileMain.php?type=1&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=picurl<?=$ecms_hashur[\\\'ehref\\\']?>\\\',\\\'\\\',\\\'width=700,height=550,scrollbars=yes\\\');\\" title=\\"選擇已上傳的圖片\\"><img src=\\"../../e/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=\\"qz_picurl\\" value=\\"<?=stripSlashes($r[\\\'qz_picurl\\\'])?>\\"> \r\n        <input name=\\"add[save_picurl]\\" type=\\"checkbox\\" id=\\"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=\\"zz_picurl\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_picurl\\\']))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name=\\"add[z_picurl]\\" type=\\"text\\" id=\\"z_picurl\\" value=\\"<?=stripSlashes($r[\\\'z_picurl\\\'])?>\\">\r\n        (如填寫這裡，這就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>\r\n', 2, 'VARCHAR', '200', 1, 3, 'photo', 0, '', 0, 0, 1, '<input type=\\"file\\" name=\\"picurlfile\\" size=\\"45\\">\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (36, 'morepic', '圖片集', 'text', '<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 id=msmallpic\\"+j+\\" ondblclick=SpOpenChFile(1,\\\'msmallpic\\"+j+\\"\\\')><br><input type=file name=msmallpfile[] size=15></div></td><td width=30%><div align=center><input name=mbigpic[] type=text size=28 id=mbigpic\\"+j+\\" ondblclick=SpOpenChFile(1,\\\'mbigpic\\"+j+\\"\\\')><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\ndocument.getElementById(\\"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\\">&nbsp;&nbsp;\r\n	  <input type=\\"checkbox\\" name=\\"msavepic\\" value=\\"1\\">遠程保存&nbsp;<input type=\\"checkbox\\" name=\\"mcreatespic\\" value=\\"1\\" onclick=\\"if(this.checked){setmcreatespic.style.display=\\\'\\\';}else{setmcreatespic.style.display=\\\'none\\\';}\\">生成縮圖\r\n	  <span id=\\"setmcreatespic\\" style=\\"display:none\\">：<input type=text name=\\"mcreatespicwidth\\" size=4 value=\\"<?=$public_r[\\\'spicwidth\\\']?>\\">*<input type=text name=\\"mcreatespicheight\\" size=4 value=\\"<?=$public_r[\\\'spicheight\\\']?>\\">(寬*高)</span>\r\n<?php\r\nif(TranmoreIsOpen())\r\n{\r\n?>\r\n<input type=\\"button\\" name=\\"Submit\\" value=\\"多選上傳\\" onclick=\\"window.open(\\\'ecmseditor/tranmore/tranmore.php?type=1&classid=<?=$classid?>&filepass=<?=$filepass?>&infoid=<?=$id?>&modtype=0&sinfo=1&ecmsdo=ecmstmmorepic&tranfrom=2<?=$ecms_hashur[\\\'ehref\\\']?>&oldmorepicnum=\\\'+document.add.morepicnum.value,\\\'ecmstmpage\\\',\\\'width=700,height=550,scrollbars=yes\\\');\\">\r\n<?php\r\n}\r\n?>\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>縮圖 <font color=\\"#666666\\">(雙擊選擇)</font></div></td>\r\n    <td width=\\"30%\\"><div align=center>大圖 <font color=\\"#666666\\">(雙擊選擇)</font></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 id=defmorepicid>\r\n    <?php\r\n    if($ecmsfirstpost==1)\r\n    {\r\n	?>\r\n	<table width=\\\'100%\\\' border=0 align=center cellpadding=3 cellspacing=1>\r\n	<?php\r\n	$morepicnum=3;\r\n	for($mppathi=1;$mppathi<=$morepicnum;$mppathi++)\r\n	{\r\n	?>\r\n	<tr> \r\n		<td width=\\\'7%\\\'><div align=center><?=$mppathi?></div></td>\r\n		<td width=\\\'33%\\\'><div align=center>\r\n		<input name=msmallpic[] type=text id=\\\'msmallpic<?=$mppathi?>\\\' size=28 ondblclick=\\"SpOpenChFile(1,\\\'msmallpic<?=$mppathi?>\\\');\\">\r\n		<br><input type=file name=msmallpfile[] size=15>\r\n		</div></td>\r\n		<td width=\\\'30%\\\'><div align=center>\r\n		<input name=mbigpic[] type=text id=\\\'mbigpic<?=$mppathi?>\\\' size=28 ondblclick=\\"SpOpenChFile(1,\\\'mbigpic<?=$mppathi?>\\\');\\">\r\n		<br><input type=file name=mbigpfile[] size=15>\r\n		</div></td>\r\n		<td width=\\\'30%\\\'><div align=center>\r\n		<input name=mpicname[] type=text id=\\\'mpicname<?=$mppathi?>\\\'>\r\n		</div></td>\r\n	</tr>\r\n	<?php\r\n	}\r\n	?>\r\n	</table>\r\n	<?php\r\n    }\r\n    else\r\n    {\r\n	$morepicpath=\\"\\";\r\n	$morepicnum=0;\r\n	if($r[\\\'morepic\\\'])\r\n    	{\r\n    		$r[\\\'morepic\\\']=ehtmlspecialchars(stripSlashes($r[\\\'morepic\\\']));\r\n    		//地址\r\n    		$j=0;\r\n    		$pd_record=explode(\\"\\\\r\\\\n\\",$r[\\\'morepic\\\']);\r\n    		for($i=0;$i<count($pd_record);$i++)\r\n    		{\r\n			$j=$i+1;\r\n    			$pd_field=explode(\\"::::::\\",$pd_record[$i]);\r\n			$morepicpath.=\\"<tr> \r\n    <td width=\\\'7%\\\'><div align=center>\\".$j.\\"</div></td>\r\n    <td width=\\\'33%\\\'><div align=center>\r\n        <input name=msmallpic[] type=text value=\\\'\\".$pd_field[0].\\"\\\' size=28 id=msmallpic\\".$j.\\" ondblclick=\\\\\\"SpOpenChFile(1,\\\'msmallpic\\".$j.\\"\\\');\\\\\\">\r\n		<br><input type=file name=msmallpfile[] size=15>\r\n      </div></td>\r\n    <td width=\\\'30%\\\'><div align=center>\r\n        <input name=mbigpic[] type=text value=\\\'\\".$pd_field[1].\\"\\\' size=28 id=mbigpic\\".$j.\\" ondblclick=\\\\\\"SpOpenChFile(1,\\\'mbigpic\\".$j.\\"\\\');\\\\\\">\r\n		<br><input type=file name=mbigpfile[] size=15>\r\n      </div></td>\r\n    <td width=\\\'30%\\\'><div align=center>\r\n        <input name=mpicname[] type=text value=\\\'\\".$pd_field[2].\\"\\\'><input type=hidden name=mpicid[] value=\\".$j.\\"><input type=checkbox name=mdelpicid[] value=\\".$j.\\">刪\r\n      </div></td>\r\n  </tr>\\";\r\n    		}\r\n    		$morepicnum=$j;\r\n    		$morepicpath=\\"<table width=\\\'100%\\\' border=0 cellspacing=1 cellpadding=3>\\".$morepicpath.\\"</table>\\";\r\n    	}\r\n	echo $morepicpath;\r\n    }\r\n    ?>\r\n    </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\">地址擴展數量: <input name=\\"morepicnum\\" type=\\"hidden\\" id=\\"morepicnum\\" value=\\"<?=$morepicnum?>\\">\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=\\"zz_morepic\\"><?=ehtmlspecialchars(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=\\"qz_morepic\\" value=\\"<?=stripSlashes($r[\\\'qz_morepic\\\'])?>\\">\r\n<input name=\\"add[save_morepic]\\" type=\\"checkbox\\" id=\\"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, 0, 1, '<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 id=msmallpic\\"+j+\\"></div></td><td width=30%><div align=center><input name=mbigpic[] type=text size=28 id=mbigpic\\"+j+\\"></div></td><td width=30%><div align=center><input name=mpicname[] type=text></div></td></tr>\\";\r\n}\r\ndocument.getElementById(\\"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 id=defmorepicid> \r\n    <?php\r\n    if($ecmsfirstpost==1)\r\n    {\r\n	?>\r\n	<table width=\\\'100%\\\' border=0 align=center cellpadding=3 cellspacing=1>\r\n	<?php\r\n	$morepicnum=3;\r\n	for($mppathi=1;$mppathi<=$morepicnum;$mppathi++)\r\n	{\r\n	?>\r\n	<tr> \r\n		<td width=\\\'7%\\\'><div align=center><?=$mppathi?></div></td>\r\n		<td width=\\\'33%\\\'><div align=center>\r\n		<input name=msmallpic[] type=text id=msmallpic[] size=28>\r\n		</div></td>\r\n		<td width=\\\'30%\\\'><div align=center>\r\n		<input name=mbigpic[] type=text id=mbigpic[] size=28>\r\n		</div></td>\r\n		<td width=\\\'30%\\\'><div align=center>\r\n		<input name=mpicname[] type=text id=mpicname[]>\r\n		</div></td>\r\n	</tr>\r\n	<?php\r\n	}\r\n	?>\r\n	</table>\r\n	<?php\r\n    }\r\n    else\r\n    {\r\n	$morepicpath=\\"\\";\r\n	$morepicnum=0;\r\n	if($r[\\\'morepic\\\'])\r\n	{\r\n		$r[\\\'morepic\\\']=ehtmlspecialchars(stripSlashes($r[\\\'morepic\\\']));\r\n		//地址\r\n		$j=0;\r\n		$pd_record=explode(\\"\\\\r\\\\n\\",$r[\\\'morepic\\\']);\r\n		for($i=0;$i<count($pd_record);$i++)\r\n		{\r\n			$j=$i+1;\r\n			$pd_field=explode(\\"::::::\\",$pd_record[$i]);\r\n			$morepicpath.=\\"<tr> \r\n	<td width=\\\'7%\\\'><div align=center>\\".$j.\\"</div></td>\r\n    <td width=\\\'33%\\\'><div align=center>\r\n        <input name=msmallpic[] type=text value=\\\'\\".$pd_field[0].\\"\\\' size=28>\r\n      </div></td>\r\n    <td width=\\\'30%\\\'><div align=center>\r\n        <input name=mbigpic[] type=text value=\\\'\\".$pd_field[1].\\"\\\' size=28>\r\n      </div></td>\r\n    <td width=\\\'30%\\\'><div align=center>\r\n        <input name=mpicname[] type=text value=\\\'\\".$pd_field[2].\\"\\\'><input type=hidden name=mpicid[] value=\\".$j.\\"><input type=checkbox name=mdelpicid[] value=\\".$j.\\">刪\r\n      </div></td></tr>\\";\r\n		}\r\n		$morepicnum=$j;\r\n		$morepicpath=\\"<table width=\\\'100%\\\' border=0 cellspacing=1 cellpadding=3>\\".$morepicpath.\\"</table>\\";\r\n	}\r\n	echo $morepicpath;\r\n    }\r\n    ?>\r\n    </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\">地址擴展數量: <input name=\\"morepicnum\\" type=\\"hidden\\" id=\\"morepicnum\\" value=\\"<?=$morepicnum?>\\">\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', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (37, 'num', '每行顯示條數', 'text', '<input name=\\"num\\" type=\\"text\\" id=\\"num\\" value=\\"<?=$ecmsfirstpost==1?\\"3\\":DoRehValue($modid,\\\'num\\\',stripSlashes($r[\\\'num\\\']))?>\\" size=\\"\\">\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=\\"zz_num\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_num\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_num]\\" type=\\"text\\" id=\\"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, '3', 0, 0, 1, '<input name=\\"num\\" type=\\"text\\" id=\\"num\\" value=\\"<?=$ecmsfirstpost==1?\\"3\\":DoReqValue($mid,\\\'num\\\',stripSlashes($r[\\\'num\\\']))?>\\" size=\\"3\\">\r\n', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (38, 'width', '縮圖寬度', 'text', '<input name=\\"width\\" type=\\"text\\" id=\\"width\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'width\\\',stripSlashes($r[\\\'width\\\']))?>\\" size=\\"6\\">\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=\\"zz_width\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_width\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_width]\\" type=\\"text\\" id=\\"z_width\\" value=\\"<?=stripSlashes($r[\\\'z_width\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 2, 'VARCHAR', '12', 1, 3, 'photo', 0, '', 0, 0, 1, '<input name=\\"width\\" type=\\"text\\" id=\\"width\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'width\\\',stripSlashes($r[\\\'width\\\']))?>\\" size=\\"6\\">\r\n', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (39, 'height', '縮圖高度', 'text', '<input name=\\"height\\" type=\\"text\\" id=\\"height\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'height\\\',stripSlashes($r[\\\'height\\\']))?>\\" size=\\"6\\">\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=\\"zz_height\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_height\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_height]\\" type=\\"text\\" id=\\"z_height\\" value=\\"<?=stripSlashes($r[\\\'z_height\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 2, 'VARCHAR', '12', 1, 3, 'photo', 0, '', 0, 0, 1, '<input name=\\"height\\" type=\\"text\\" id=\\"height\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'height\\\',stripSlashes($r[\\\'height\\\']))?>\\" size=\\"6\\">\r\n', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (40, 'picsay', '圖片簡介', 'textarea', '<textarea name=\\"picsay\\" cols=\\"80\\" rows=\\"10\\" id=\\"picsay\\"><?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'picsay\\\',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=\\"zz_picsay\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_picsay\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_picsay]\\" type=\\"text\\" id=\\"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\\"><?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'picsay\\\',stripSlashes($r[\\\'picsay\\\']))?></textarea>\r\n', 0, '', 0, '80,10', 0, 0, '', '', '', '', '', '', 0, 1, '');
INSERT INTO phome_enewsf VALUES (41, 'title', '標題', 'text', '<table width=\\"100%\\" border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" bgcolor=\\"#DBEAF5\\">\r\n<tr> \r\n  <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">\r\n	<?=$tts?\\"<select name=\\\'ttid\\\'><option value=\\\'0\\\'>標題分類</option>$tts</select>\\":\\"\\"?>\r\n	<input type=text name=title value=\\"<?=ehtmlspecialchars(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 height=\\"25\\" bgcolor=\\"#FFFFFF\\">屬性: \r\n	<input name=\\"titlefont[b]\\" type=\\"checkbox\\" value=\\"b\\"<?=$titlefontb?>>粗體\r\n	<input name=\\"titlefont[i]\\" type=\\"checkbox\\" value=\\"i\\"<?=$titlefonti?>>斜體\r\n	<input name=\\"titlefont[s]\\" type=\\"checkbox\\" value=\\"s\\"<?=$titlefonts?>>刪除線\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;顏色: <input name=\\"titlecolor\\" type=\\"text\\" value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'titlecolor\\\']))?>\\" size=\\"10\\" class=\\"color\\">\r\n  </td>\r\n</tr>\r\n</table>\r\n', '標題', 0, 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="[!--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="zz_title"><?=ehtmlspecialchars(stripSlashes($r[\'zz_title\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name="add[z_title]" type="text" id="z_title" value="<?=stripSlashes($r[\'z_title\'])?>">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 0, 'CHAR', '100', 1, 4, 'flash', 0, '', 0, 0, 0, '<input name=\\"title\\" type=\\"text\\" size=\\"42\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'title\\\',stripSlashes($r[\\\'title\\\']))?>\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (42, 'special.field', '特殊屬性', '', '<table width=\\"100%\\" border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" bgcolor=\\"#DBEAF5\\">\r\n  <tr>\r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">信息屬性: \r\n      <input name=\\"checked\\" type=\\"checkbox\\" value=\\"1\\"<?=$r[\\\'checked\\\']?\\\' checked\\\':\\\'\\\'?>>\r\n      審核 &nbsp;&nbsp; 推薦 \r\n      <select name=\\"isgood\\" id=\\"isgood\\">\r\n        <option value=\\"0\\">不推薦</option>\r\n	<?=$ftnr[\\\'igname\\\']?>\r\n      </select>\r\n      &nbsp;&nbsp; 頭條 \r\n      <select name=\\"firsttitle\\" id=\\"firsttitle\\">\r\n        <option value=\\"0\\">非頭條</option>\r\n	<?=$ftnr[\\\'ftname\\\']?>\r\n      </select></td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">關鍵字&nbsp;&nbsp;&nbsp;: \r\n      <input name=\\"keyboard\\" type=\\"text\\" size=\\"52\\" value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'keyboard\\\']))?>\\">\r\n      <font color=\\"#666666\\">(多個請用&quot;,&quot;隔開)</font></td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">外部鏈接: \r\n      <input name=\\"titleurl\\" type=\\"text\\" value=\\"<?=stripSlashes($r[\\\'titleurl\\\'])?>\\" size=\\"52\\">\r\n      <font color=\\"#666666\\">(填寫後信息連接地址將為此鏈接)</font></td>\r\n  </tr>\r\n</table>\r\n', '特殊屬性', 0, 1, 0, '\r\n\r\n', 0, '', '0', 0, 4, 'flash', 0, '', 0, 0, 0, '<input name=\\"keyboard\\" type=\\"text\\" size=42 value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'keyboard\\\']))?>\\">\r\n<font color=\\"#666666\\">(多個請用&quot;,&quot;隔開)</font>\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (43, 'titlepic', '標題圖片', 'img', '<input name=\\"titlepic\\" type=\\"text\\" id=\\"titlepic\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":ehtmlspecialchars(stripSlashes($r[\\\'titlepic\\\']))?>\\" size=\\"45\\">\r\n<a onclick=\\"window.open(\\\'ecmseditor/FileMain.php?type=1&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=titlepic<?=$ecms_hashur[\\\'ehref\\\']?>\\\',\\\'\\\',\\\'width=700,height=550,scrollbars=yes\\\');\\" title=\\"選擇已上傳的圖片\\"><img src=\\"../../e/data/images/changeimg.gif\\" border=\\"0\\" align=\\"absbottom\\"></a> \r\n', '標題圖片', 0, 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="[!--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="qz_titlepic" value="<?=stripSlashes($r[\'qz_titlepic\'])?>"> \r\n        <input name="add[save_titlepic]" type="checkbox" id="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="zz_titlepic"><?=ehtmlspecialchars(stripSlashes($r[\'zz_titlepic\']))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name="add[z_titlepic]" type="text" id="z_titlepic" value="<?=stripSlashes($r[\'z_titlepic\'])?>">\r\n        (如填寫這裡，這就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>\r\n', 1, 'CHAR', '120', 1, 4, 'flash', 0, '', 0, 0, 0, '<input type=\\"file\\" name=\\"titlepicfile\\" size=\\"45\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (44, 'newstime', '發佈時間', 'text', '<input name=\\"newstime\\" type=\\"text\\" value=\\"<?=$r[\\\'newstime\\\']?>\\" size=\\"28\\" class=\\"Wdate\\" onClick=\\"WdatePicker({skin:\\\'default\\\',dateFmt:\\\'yyyy-MM-dd HH:mm:ss\\\'})\\"><input type=button name=button value=\\"設為當前時間\\" onclick=\\"document.add.newstime.value=\\\'<?=$todaytime?>\\\'\\">\r\n', '發佈時間', 0, 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="[!--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="zz_newstime"><?=ehtmlspecialchars(stripSlashes($r[\'zz_newstime\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name="add[z_newstime]" type="text" id="z_newstime" value="<?=stripSlashes($r[\'z_newstime\'])?>">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 0, 'INT', '11', 1, 4, 'flash', 0, '', 1, 0, 0, '', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (45, 'flashwriter', '作者', 'text', '<input name=\\"flashwriter\\" type=\\"text\\" id=\\"flashwriter\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'flashwriter\\\',stripSlashes($r[\\\'flashwriter\\\']))?>\\" size=\\"60\\">\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=\\"zz_flashwriter\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_flashwriter\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_flashwriter]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"flashwriter\\" type=\\"text\\" id=\\"flashwriter\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'flashwriter\\\',stripSlashes($r[\\\'flashwriter\\\']))?>\\" size=\\"42\\">\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (46, 'email', '作者郵箱', 'text', '<input name=\\"email\\" type=\\"text\\" id=\\"email\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'email\\\',stripSlashes($r[\\\'email\\\']))?>\\" size=\\"60\\">\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=\\"zz_email\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_email\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_email]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"email\\" type=\\"text\\" id=\\"email\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'email\\\',stripSlashes($r[\\\'email\\\']))?>\\" size=\\"42\\">\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (47, 'star', '作品等級', 'select', '<select name=\\"star\\" id=\\"star\\"><option value=\\"1\\"<?=$r[\\\'star\\\']==\\"1\\"?\\\' selected\\\':\\\'\\\'?>>1星</option><option value=\\"2\\"<?=$r[\\\'star\\\']==\\"2\\"||$ecmsfirstpost==1?\\\' selected\\\':\\\'\\\'?>>2星</option><option value=\\"3\\"<?=$r[\\\'star\\\']==\\"3\\"?\\\' selected\\\':\\\'\\\'?>>3星</option><option value=\\"4\\"<?=$r[\\\'star\\\']==\\"4\\"?\\\' selected\\\':\\\'\\\'?>>4星</option><option value=\\"5\\"<?=$r[\\\'star\\\']==\\"5\\"?\\\' selected\\\':\\\'\\\'?>>5星</option></select>', '', 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=\\"[!--star--]\\" 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_star]\\" cols=\\"60\\" rows=\\"10\\" id=\\"zz_star\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_star\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_star]\\" type=\\"text\\" id=\\"z_star\\" value=\\"<?=stripSlashes($r[\\\'z_star\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'TINYINT', '1', 1, 4, 'flash', 0, '1|2:default|3|4|5', 0, 0, 1, '<select name=\\"star\\" id=\\"star\\"><option value=\\"1\\"<?=$r[\\\'star\\\']==\\"1\\"?\\\' selected\\\':\\\'\\\'?>>1星</option><option value=\\"2\\"<?=$r[\\\'star\\\']==\\"2\\"||$ecmsfirstpost==1?\\\' selected\\\':\\\'\\\'?>>2星</option><option value=\\"3\\"<?=$r[\\\'star\\\']==\\"3\\"?\\\' selected\\\':\\\'\\\'?>>3星</option><option value=\\"4\\"<?=$r[\\\'star\\\']==\\"4\\"?\\\' selected\\\':\\\'\\\'?>>4星</option><option value=\\"5\\"<?=$r[\\\'star\\\']==\\"5\\"?\\\' selected\\\':\\\'\\\'?>>5星</option></select>', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (48, 'filesize', '文件大小', 'text', '<input name=\\"filesize\\" type=\\"text\\" id=\\"filesize\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'filesize\\\',stripSlashes($r[\\\'filesize\\\']))?>\\" size=\\"60\\">\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=\\"zz_filesize\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_filesize\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_filesize]\\" type=\\"text\\" id=\\"z_filesize\\" value=\\"<?=stripSlashes($r[\\\'z_filesize\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'VARCHAR', '16', 1, 4, 'flash', 0, '', 0, 0, 1, '<input name=\\"filesize\\" type=\\"text\\" id=\\"filesize\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'filesize\\\',stripSlashes($r[\\\'filesize\\\']))?>\\" size=\\"42\\">\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>', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (49, 'flashurl', 'Flash地址', 'flash', '<input name=\\"flashurl\\" type=\\"text\\" id=\\"flashurl\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'flashurl\\\',stripSlashes($r[\\\'flashurl\\\']))?>\\" size=\\"45\\">\r\n<a onclick=\\"window.open(\\\'ecmseditor/FileMain.php?type=2&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=flashurl<?=$ecms_hashur[\\\'ehref\\\']?>\\\',\\\'\\\',\\\'width=700,height=550,scrollbars=yes\\\');\\" title=\\"選擇已上傳的FLASH\\"><img src=\\"../../e/data/images/changeflash.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=\\"[!--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=\\"qz_flashurl\\" value=\\"<?=stripSlashes($r[\\\'qz_flashurl\\\'])?>\\"> \r\n        <input name=\\"add[save_flashurl]\\" type=\\"checkbox\\" id=\\"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=\\"zz_flashurl\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_flashurl\\\']))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name=\\"add[z_flashurl]\\" type=\\"text\\" id=\\"z_flashurl\\" 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, 0, 1, '<input type=\\"file\\" name=\\"flashurlfile\\" size=\\"45\\">\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (50, 'width', 'Flash寬度', 'text', '<input name=\\"width\\" type=\\"text\\" id=\\"width\\" value=\\"<?=$ecmsfirstpost==1?\\"600\\":DoRehValue($modid,\\\'width\\\',stripSlashes($r[\\\'width\\\']))?>\\" size=\\"6\\">\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=\\"zz_width\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_width\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_width]\\" type=\\"text\\" id=\\"z_width\\" value=\\"<?=stripSlashes($r[\\\'z_width\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'VARCHAR', '12', 1, 4, 'flash', 0, '600', 0, 0, 1, '<input name=\\"width\\" type=\\"text\\" id=\\"width\\" value=\\"<?=$ecmsfirstpost==1?\\"600\\":DoReqValue($mid,\\\'width\\\',stripSlashes($r[\\\'width\\\']))?>\\" size=\\"6\\">\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (51, 'height', 'Flash高度', 'text', '<input name=\\"height\\" type=\\"text\\" id=\\"height\\" value=\\"<?=$ecmsfirstpost==1?\\"450\\":DoRehValue($modid,\\\'height\\\',stripSlashes($r[\\\'height\\\']))?>\\" size=\\"6\\">\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=\\"zz_height\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_height\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_height]\\" type=\\"text\\" id=\\"z_height\\" value=\\"<?=stripSlashes($r[\\\'z_height\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'VARCHAR', '12', 1, 4, 'flash', 0, '450', 0, 0, 1, '<input name=\\"height\\" type=\\"text\\" id=\\"height\\" value=\\"<?=$ecmsfirstpost==1?\\"450\\":DoReqValue($mid,\\\'height\\\',stripSlashes($r[\\\'height\\\']))?>\\" size=\\"6\\">\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (52, 'flashsay', '作品簡介', 'textarea', '<textarea name=\\"flashsay\\" cols=\\"80\\" rows=\\"10\\" id=\\"flashsay\\"><?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'flashsay\\\',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=\\"zz_flashsay\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_flashsay\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_flashsay]\\" type=\\"text\\" id=\\"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, '<textarea name=\\"flashsay\\" cols=\\"60\\" rows=\\"10\\" id=\\"flashsay\\"><?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'flashsay\\\',stripSlashes($r[\\\'flashsay\\\']))?></textarea>\r\n', 0, '', 0, '80,10', 0, 0, '', '', '', '', '', '', 0, 1, '');
INSERT INTO phome_enewsf VALUES (53, 'title', '標題', 'text', '<table width=\\"100%\\" border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" bgcolor=\\"#DBEAF5\\">\r\n<tr> \r\n  <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">\r\n	<?=$tts?\\"<select name=\\\'ttid\\\'><option value=\\\'0\\\'>標題分類</option>$tts</select>\\":\\"\\"?>\r\n	<input type=text name=title value=\\"<?=ehtmlspecialchars(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 height=\\"25\\" bgcolor=\\"#FFFFFF\\">屬性: \r\n	<input name=\\"titlefont[b]\\" type=\\"checkbox\\" value=\\"b\\"<?=$titlefontb?>>粗體\r\n	<input name=\\"titlefont[i]\\" type=\\"checkbox\\" value=\\"i\\"<?=$titlefonti?>>斜體\r\n	<input name=\\"titlefont[s]\\" type=\\"checkbox\\" value=\\"s\\"<?=$titlefonts?>>刪除線\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;顏色: <input name=\\"titlecolor\\" type=\\"text\\" value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'titlecolor\\\']))?>\\" size=\\"10\\" class=\\"color\\">\r\n  </td>\r\n</tr>\r\n</table>\r\n', '標題', 0, 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="[!--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="zz_title"><?=ehtmlspecialchars(stripSlashes($r[\'zz_title\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name="add[z_title]" type="text" id="z_title" value="<?=stripSlashes($r[\'z_title\'])?>">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 0, 'CHAR', '100', 1, 5, 'movie', 0, '', 0, 0, 0, '<input name=\\"title\\" type=\\"text\\" size=\\"42\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'title\\\',stripSlashes($r[\\\'title\\\']))?>\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (54, 'special.field', '特殊屬性', '', '<table width=\\"100%\\" border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" bgcolor=\\"#DBEAF5\\">\r\n  <tr>\r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">信息屬性: \r\n      <input name=\\"checked\\" type=\\"checkbox\\" value=\\"1\\"<?=$r[\\\'checked\\\']?\\\' checked\\\':\\\'\\\'?>>\r\n      審核 &nbsp;&nbsp; 推薦 \r\n      <select name=\\"isgood\\" id=\\"isgood\\">\r\n        <option value=\\"0\\">不推薦</option>\r\n	<?=$ftnr[\\\'igname\\\']?>\r\n      </select>\r\n      &nbsp;&nbsp; 頭條 \r\n      <select name=\\"firsttitle\\" id=\\"firsttitle\\">\r\n        <option value=\\"0\\">非頭條</option>\r\n	<?=$ftnr[\\\'ftname\\\']?>\r\n      </select></td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">關鍵字&nbsp;&nbsp;&nbsp;: \r\n      <input name=\\"keyboard\\" type=\\"text\\" size=\\"52\\" value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'keyboard\\\']))?>\\">\r\n      <font color=\\"#666666\\">(多個請用&quot;,&quot;隔開)</font></td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">外部鏈接: \r\n      <input name=\\"titleurl\\" type=\\"text\\" value=\\"<?=stripSlashes($r[\\\'titleurl\\\'])?>\\" size=\\"52\\">\r\n      <font color=\\"#666666\\">(填寫後信息連接地址將為此鏈接)</font></td>\r\n  </tr>\r\n</table>\r\n', '特殊屬性', 0, 1, 0, '\r\n\r\n', 0, '', '0', 0, 5, 'movie', 0, '', 0, 0, 0, '<input name=\\"keyboard\\" type=\\"text\\" size=42 value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'keyboard\\\']))?>\\">\r\n<font color=\\"#666666\\">(多個請用&quot;,&quot;隔開)</font>\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (55, 'titlepic', '標題圖片', 'img', '<input name=\\"titlepic\\" type=\\"text\\" id=\\"titlepic\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":ehtmlspecialchars(stripSlashes($r[\\\'titlepic\\\']))?>\\" size=\\"45\\">\r\n<a onclick=\\"window.open(\\\'ecmseditor/FileMain.php?type=1&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=titlepic<?=$ecms_hashur[\\\'ehref\\\']?>\\\',\\\'\\\',\\\'width=700,height=550,scrollbars=yes\\\');\\" title=\\"選擇已上傳的圖片\\"><img src=\\"../../e/data/images/changeimg.gif\\" border=\\"0\\" align=\\"absbottom\\"></a> \r\n', '標題圖片', 0, 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="[!--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="qz_titlepic" value="<?=stripSlashes($r[\'qz_titlepic\'])?>"> \r\n        <input name="add[save_titlepic]" type="checkbox" id="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="zz_titlepic"><?=ehtmlspecialchars(stripSlashes($r[\'zz_titlepic\']))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name="add[z_titlepic]" type="text" id="z_titlepic" value="<?=stripSlashes($r[\'z_titlepic\'])?>">\r\n        (如填寫這裡，這就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>\r\n', 1, 'CHAR', '120', 1, 5, 'movie', 0, '', 0, 0, 0, '<input type=\\"file\\" name=\\"titlepicfile\\" size=\\"45\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (56, 'newstime', '發佈時間', 'text', '<input name=\\"newstime\\" type=\\"text\\" value=\\"<?=$r[\\\'newstime\\\']?>\\" size=\\"28\\" class=\\"Wdate\\" onClick=\\"WdatePicker({skin:\\\'default\\\',dateFmt:\\\'yyyy-MM-dd HH:mm:ss\\\'})\\"><input type=button name=button value=\\"設為當前時間\\" onclick=\\"document.add.newstime.value=\\\'<?=$todaytime?>\\\'\\">\r\n', '發佈時間', 0, 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="[!--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="zz_newstime"><?=ehtmlspecialchars(stripSlashes($r[\'zz_newstime\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name="add[z_newstime]" type="text" id="z_newstime" value="<?=stripSlashes($r[\'z_newstime\'])?>">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 0, 'INT', '11', 1, 5, 'movie', 0, '', 1, 0, 0, '', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (57, 'movietype', '影片類型', 'select', '<select name=\\"movietype\\" id=\\"movietype\\"><option value=\\"港台影視\\"<?=$r[\\\'movietype\\\']==\\"港台影視\\"?\\\' selected\\\':\\\'\\\'?>>港台影視</option><option value=\\"海外影視\\"<?=$r[\\\'movietype\\\']==\\"海外影視\\"?\\\' selected\\\':\\\'\\\'?>>海外影視</option><option value=\\"大陸影視\\"<?=$r[\\\'movietype\\\']==\\"大陸影視\\"?\\\' selected\\\':\\\'\\\'?>>大陸影視</option><option value=\\"日韓影視\\"<?=$r[\\\'movietype\\\']==\\"日韓影視\\"?\\\' selected\\\':\\\'\\\'?>>日韓影視</option></select>', '', 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=\\"[!--movietype--]\\" 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_movietype]\\" cols=\\"60\\" rows=\\"10\\" id=\\"zz_movietype\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_movietype\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_movietype]\\" type=\\"text\\" id=\\"z_movietype\\" value=\\"<?=stripSlashes($r[\\\'z_movietype\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'VARCHAR', '16', 1, 5, 'movie', 0, '港台影視|海外影視|大陸影視|日韓影視', 0, 0, 1, '<select name=\\"movietype\\" id=\\"movietype\\"><option value=\\"港台影視\\"<?=$r[\\\'movietype\\\']==\\"港台影視\\"?\\\' selected\\\':\\\'\\\'?>>港台影視</option><option value=\\"海外影視\\"<?=$r[\\\'movietype\\\']==\\"海外影視\\"?\\\' selected\\\':\\\'\\\'?>>海外影視</option><option value=\\"大陸影視\\"<?=$r[\\\'movietype\\\']==\\"大陸影視\\"?\\\' selected\\\':\\\'\\\'?>>大陸影視</option><option value=\\"日韓影視\\"<?=$r[\\\'movietype\\\']==\\"日韓影視\\"?\\\' selected\\\':\\\'\\\'?>>日韓影視</option></select>', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (58, 'company', '出品公司', 'text', '<input name=\\"company\\" type=\\"text\\" id=\\"company\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'company\\\',stripSlashes($r[\\\'company\\\']))?>\\" size=\\"\\">\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=\\"zz_company\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_company\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_company]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"company\\" type=\\"text\\" id=\\"company\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'company\\\',stripSlashes($r[\\\'company\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (59, 'movietime', '出品時間', 'text', '<input name=\\"movietime\\" type=\\"text\\" id=\\"movietime\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'movietime\\\',stripSlashes($r[\\\'movietime\\\']))?>\\" size=\\"\\">\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=\\"zz_movietime\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_movietime\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_movietime]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"movietime\\" type=\\"text\\" id=\\"movietime\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'movietime\\\',stripSlashes($r[\\\'movietime\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (60, 'player', '主演', 'text', '<input name=\\"player\\" type=\\"text\\" id=\\"player\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'player\\\',stripSlashes($r[\\\'player\\\']))?>\\" size=\\"\\">\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=\\"zz_player\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_player\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_player]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"player\\" type=\\"text\\" id=\\"player\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'player\\\',stripSlashes($r[\\\'player\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (61, 'playadmin', '導演', 'text', '<input name=\\"playadmin\\" type=\\"text\\" id=\\"playadmin\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'playadmin\\\',stripSlashes($r[\\\'playadmin\\\']))?>\\" size=\\"\\">\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=\\"zz_playadmin\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_playadmin\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_playadmin]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"playadmin\\" type=\\"text\\" id=\\"playadmin\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'playadmin\\\',stripSlashes($r[\\\'playadmin\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (62, 'filetype', '影片格式', 'text', '<input name=\\"filetype\\" type=\\"text\\" id=\\"filetype\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'filetype\\\',stripSlashes($r[\\\'filetype\\\']))?>\\" size=\\"8\\">\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=\\"zz_filetype\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_filetype\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_filetype]\\" type=\\"text\\" id=\\"z_filetype\\" value=\\"<?=stripSlashes($r[\\\'z_filetype\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'VARCHAR', '10', 1, 5, 'movie', 0, '', 0, 0, 1, '<input name=\\"filetype\\" type=\\"text\\" id=\\"filetype\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'filetype\\\',stripSlashes($r[\\\'filetype\\\']))?>\\" size=\\"\\">\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>', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (63, 'filesize', '影片大小', 'text', '<input name=\\"filesize\\" type=\\"text\\" id=\\"filesize\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'filesize\\\',stripSlashes($r[\\\'filesize\\\']))?>\\" size=\\"12\\">\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=\\"zz_filesize\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_filesize\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_filesize]\\" type=\\"text\\" id=\\"z_filesize\\" value=\\"<?=stripSlashes($r[\\\'z_filesize\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'VARCHAR', '16', 1, 5, 'movie', 0, '', 0, 0, 1, '<input name=\\"filesize\\" type=\\"text\\" id=\\"filesize\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'filesize\\\',stripSlashes($r[\\\'filesize\\\']))?>\\" size=\\"\\">\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>', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (64, 'star', '推薦等級', 'select', '<select name=\\"star\\" id=\\"star\\"><option value=\\"1\\"<?=$r[\\\'star\\\']==\\"1\\"?\\\' selected\\\':\\\'\\\'?>>1星</option><option value=\\"2\\"<?=$r[\\\'star\\\']==\\"2\\"||$ecmsfirstpost==1?\\\' selected\\\':\\\'\\\'?>>2星</option><option value=\\"3\\"<?=$r[\\\'star\\\']==\\"3\\"?\\\' selected\\\':\\\'\\\'?>>3星</option><option value=\\"4\\"<?=$r[\\\'star\\\']==\\"4\\"?\\\' selected\\\':\\\'\\\'?>>4星</option><option value=\\"5\\"<?=$r[\\\'star\\\']==\\"5\\"?\\\' selected\\\':\\\'\\\'?>>5星</option></select>', '', 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=\\"[!--star--]\\" 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_star]\\" cols=\\"60\\" rows=\\"10\\" id=\\"zz_star\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_star\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_star]\\" type=\\"text\\" id=\\"z_star\\" value=\\"<?=stripSlashes($r[\\\'z_star\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'TINYINT', '1', 1, 5, 'movie', 0, '1|2:default|3|4|5', 0, 0, 1, '<select name=\\"star\\" id=\\"star\\"><option value=\\"1\\"<?=$r[\\\'star\\\']==\\"1\\"?\\\' selected\\\':\\\'\\\'?>>1星</option><option value=\\"2\\"<?=$r[\\\'star\\\']==\\"2\\"||$ecmsfirstpost==1?\\\' selected\\\':\\\'\\\'?>>2星</option><option value=\\"3\\"<?=$r[\\\'star\\\']==\\"3\\"?\\\' selected\\\':\\\'\\\'?>>3星</option><option value=\\"4\\"<?=$r[\\\'star\\\']==\\"4\\"?\\\' selected\\\':\\\'\\\'?>>4星</option><option value=\\"5\\"<?=$r[\\\'star\\\']==\\"5\\"?\\\' selected\\\':\\\'\\\'?>>5星</option></select>', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (65, 'playdk', '帶寬要求', 'text', '<input name=\\"playdk\\" type=\\"text\\" id=\\"playdk\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'playdk\\\',stripSlashes($r[\\\'playdk\\\']))?>\\" size=\\"\\">\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=\\"zz_playdk\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_playdk\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_playdk]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"playdk\\" type=\\"text\\" id=\\"playdk\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'playdk\\\',stripSlashes($r[\\\'playdk\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (66, 'playtime', '片長', 'text', '<input name=\\"playtime\\" type=\\"text\\" id=\\"playtime\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'playtime\\\',stripSlashes($r[\\\'playtime\\\']))?>\\" size=\\"\\">\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=\\"zz_playtime\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_playtime\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_playtime]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"playtime\\" type=\\"text\\" id=\\"playtime\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'playtime\\\',stripSlashes($r[\\\'playtime\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (67, 'moviefen', '扣除點數', 'text', '<input name=\\"moviefen\\" type=\\"text\\" id=\\"moviefen\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'moviefen\\\',stripSlashes($r[\\\'moviefen\\\']))?>\\" size=\\"\\">\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=\\"zz_moviefen\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_moviefen\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_moviefen]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"moviefen\\" type=\\"text\\" id=\\"moviefen\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'moviefen\\\',stripSlashes($r[\\\'moviefen\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (68, 'downpath', '下載地址', 'text', '<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 size=36 id=downpath\\"+j+\\" ondblclick=SpOpenChFile(0,\\\'downpath\\"+j+\\"\\\')><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\ndocument.getElementById(\\"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\\">下載地址前綴&nbsp;:\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>\r\n	  </td>\r\n  </tr>\r\n  <tr>\r\n    <td height=\\"25\\">選擇/上傳附件:\r\n      <input name=\\"changedown_url\\" id=\\"changedown_url\\" type=\\"text\\" size=\\"32\\">\r\n      <input type=\\"button\\" name=\\"Submit\\" value=\\"選擇\\" onclick=\\"window.open(\\\'ecmseditor/FileMain.php?type=0&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=changedown_url<?=$ecms_hashur[\\\'ehref\\\']?>\\\',\\\'\\\',\\\'width=700,height=550,scrollbars=yes\\\');\\">&nbsp;\r\n	  <input type=\\"button\\" name=\\"Submit\\" value=\\"複製\\" onclick=\\"document.getElementById(\\\'changedown_url\\\').focus();document.getElementById(\\\'changedown_url\\\').select();clipboardData.setData(\\\'text\\\',document.getElementById(\\\'changedown_url\\\').value);\\"></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%\\">下載地址 <font color=\\"#666666\\">(雙擊選擇)</font></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    <?php\r\n    if($ecmsfirstpost==1)\r\n    {\r\n    ?>\r\n	<table width=\\\'100%\\\' border=0 cellspacing=1 cellpadding=3>\r\n	<?php\r\n	$editnum=3;\r\n	for($pathi=1;$pathi<=$editnum;$pathi++)\r\n	{\r\n	?>\r\n           <tr> \r\n              <td width=\\\'7%\\\'> <div align=center><?=$pathi?></div></td>\r\n              <td width=\\\'19%\\\'> <div align=left> \r\n                  <input name=downname[] type=text value=\\\'下載地址<?=$pathi?>\\\' size=17>\r\n                    </div></td>\r\n              <td width=\\\'40%\\\'>\r\n	      <input name=downpath[] type=text size=36 id=\\\'downpath<?=$pathi?>\\\' ondblclick=\\"SpOpenChFile(0,\\\'downpath<?=$pathi?>\\\');\\">\r\n	      <select name=thedownqz[]><option value=\\\'\\\'>--地址前綴--</option><?=$newdownqz?></select> \r\n                  </td>\r\n                  <td width=\\\'21%\\\'><div align=center> \r\n                      <select name=downuser[]>\r\n                        <option value=0>遊客</option>\r\n                        <?=$ygroup?>\r\n                      </select>\r\n                    </div></td>\r\n                  <td width=\\\'13%\\\'> <div align=center> \r\n                      <input name=fen[] type=text value=0 size=6>\r\n                    </div></td>\r\n            </tr>\r\n	<?php\r\n	}\r\n	?>\r\n	</table>\r\n    <?php\r\n    }\r\n    else\r\n    {\r\n	$editnum=0;\r\n	$downloadpath=\\"\\";\r\n	if($r[\\\'downpath\\\'])\r\n	{\r\n		$r[\\\'downpath\\\']=ehtmlspecialchars(stripSlashes($r[\\\'downpath\\\']));\r\n		//下載地址\r\n		$j=0;\r\n		$d_record=explode(\\"\\\\r\\\\n\\",$r[\\\'downpath\\\']);\r\n		for($i=0;$i<count($d_record);$i++)\r\n		{\r\n			$j=$i+1;\r\n			$d_field=explode(\\"::::::\\",$d_record[$i]);\r\n			//權限\r\n			$tgroup=str_replace(\\" value=\\".$d_field[2].\\">\\",\\" value=\\".$d_field[2].\\" selected>\\",$ygroup);\r\n			//地址前綴\r\n			$tnewdownqz=str_replace(\\" value=\\\'\\".$d_field[4].\\"\\\'>\\",\\" value=\\\'\\".$d_field[4].\\"\\\' selected>\\",$newdownqz);\r\n			$downloadpath.=\\"<tr><td width=\\\'7%\\\'><div align=center>\\".$j.\\"</div></td><td width=\\\'19%\\\'><div align=left><input name=downname[] type=text id=downname[] value=\\\'\\".$d_field[0].\\"\\\' size=17></div></td><td width=\\\'40%\\\'><input name=downpath[] type=text id=downpath\\".$j.\\" value=\\\'\\".$d_field[1].\\"\\\' size=36 ondblclick=\\\\\\"SpOpenChFile(0,\\\'downpath\\".$j.\\"\\\');\\\\\\"><select name=thedownqz[]><option value=\\\'\\\'>--地址前綴--</option>\\".$tnewdownqz.\\"</select><input type=hidden name=pathid[] value=\\".$j.\\"><input type=checkbox name=delpathid[] value=\\".$j.\\">刪</td><td width=\\\'21%\\\'><div align=center><select name=downuser[] id=select><option value=0>遊客</option>\\".$tgroup.\\"</select></div></td><td width=\\\'13%\\\'><div align=center><input name=fen[] type=text id=fen[] value=\\\'\\".$d_field[3].\\"\\\' size=6></div></td></tr>\\";\r\n		}\r\n		$editnum=$j;\r\n		$downloadpath=\\"<table width=\\\'100%\\\' border=0 cellspacing=1 cellpadding=3>\\".$downloadpath.\\"</table>\\";\r\n	}\r\n	echo $downloadpath;\r\n    }\r\n    ?>\r\n    </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\">下載地址擴展數量: <input name=\\"editnum\\" type=\\"hidden\\" id=\\"editnum\\" value=\\"<?=$editnum?>\\">\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=\\"zz_downpath\\"><?=ehtmlspecialchars(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=\\"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, 0, 1, '<input type=\\"file\\" name=\\"downpathfile\\" size=\\"45\\">\r\n', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (69, 'playerid', '播放器', 'text', '<?php\r\n$player_class=\\\'\\\';\r\n$player_sql=$empire->query(\\"select id,player from {$dbtbpre}enewsplayer\\");\r\nwhile($player_r=$empire->fetch($player_sql))\r\n{\r\n	$select_player=\\\'\\\';\r\n	if($r[\\\'playerid\\\']==$player_r[\\\'id\\\'])\r\n	{\r\n		$select_player=\\\' selected\\\';\r\n	}\r\n	$player_class.=\\"<option value=\\\'\\".$player_r[\\\'id\\\'].\\"\\\'\\".$select_player.\\">\\".$player_r[\\\'player\\\'].\\"</option>\\";\r\n}\r\n?>\r\n<select name=\\"playerid\\">\r\n<option value=0>自動識別</option>\r\n<?=$player_class?>\r\n</select>\r\n', '視頻播放器', 1, 1, 1, '\r\n<?php\r\n$player_sql=$empire->query(\\"select id,player from {$dbtbpre}enewsplayer\\");\r\nwhile($player_r=$empire->fetch($player_sql))\r\n{\r\n	$select_player=\\\'\\\';\r\n	if($r[\\\'z_playerid\\\']==$player_r[\\\'id\\\'])\r\n	{\r\n		$select_player=\\\' selected\\\';\r\n	}\r\n	$player_class.=\\"<option value=\\\'\\".$player_r[\\\'id\\\'].\\"\\\'\\".$select_player.\\">\\".$player_r[\\\'player\\\'].\\"</option>\\";\r\n}\r\n?>\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=\\"[!--playerid--]\\" size=\\"20\\">)</td>\r\n    <td><select name=\\"add[z_playerid]\\" id=\\"z_playerid\\"><option value=0>自動識別</option><?=$player_class?></select></td>\r\n  </tr>\r\n', 1, 'SMALLINT', '', 1, 5, 'movie', 0, '', 0, 0, 1, '<?php\r\n$player_class=\\\'\\\';\r\n$player_sql=$empire->query(\\"select id,player from {$dbtbpre}enewsplayer\\");\r\nwhile($player_r=$empire->fetch($player_sql))\r\n{\r\n	$select_player=\\\'\\\';\r\n	if($r[\\\'playerid\\\']==$player_r[\\\'id\\\'])\r\n	{\r\n		$select_player=\\\' selected\\\';\r\n	}\r\n	$player_class.=\\"<option value=\\\'\\".$player_r[\\\'id\\\'].\\"\\\'\\".$select_player.\\">\\".$player_r[\\\'player\\\'].\\"</option>\\";\r\n}\r\n?>\r\n<select name=\\"playerid\\">\r\n<option value=0>自動識別</option>\r\n<?=$player_class?>\r\n</select>\r\n', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (70, 'onlinepath', '在線觀看地址', 'text', '<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 id=odownpath\\"+j+\\" ondblclick=SpOpenChFile(0,\\\'odownpath\\"+j+\\"\\\')><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\ndocument.getElementById(\\"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\\">觀看地址前綴&nbsp;: \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>\r\n      </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\">選擇/上傳附件: \r\n      <input name=\\"changeonline_url\\" id=\\"changeonline_url\\" type=\\"text\\" size=\\"32\\"> <input type=\\"button\\" name=\\"Submit\\" value=\\"選擇\\" onclick=\\"window.open(\\\'ecmseditor/FileMain.php?type=0&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=changeonline_url<?=$ecms_hashur[\\\'ehref\\\']?>\\\',\\\'\\\',\\\'width=700,height=550,scrollbars=yes\\\');\\">&nbsp;\r\n	  <input type=\\"button\\" name=\\"Submit\\" value=\\"複製\\" onclick=\\"document.getElementById(\\\'changeonline_url\\\').focus();document.getElementById(\\\'changeonline_url\\\').select();clipboardData.setData(\\\'text\\\',document.getElementById(\\\'changeonline_url\\\').value);\\"></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%\\">觀看地址 <font color=\\"#666666\\">(雙擊選擇)</font></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    <?php\r\n    if($ecmsfirstpost==1)\r\n    {\r\n	?>\r\n	<table width=\\\'100%\\\' border=0 cellspacing=1 cellpadding=3>\r\n	<?php\r\n	$oeditnum=3;\r\n	for($opathi=1;$opathi<=$oeditnum;$opathi++)\r\n	{\r\n	?>\r\n		<tr> \r\n                  <td width=\\\'7%\\\'> <div align=center><?=$opathi?></div></td>\r\n                  <td width=\\\'19%\\\'> <div align=left> \r\n                      <input name=odownname[] type=text value=\\\'<?=$opathi?>\\\' size=17>\r\n                    </div></td>\r\n                  <td width=\\\'40%\\\'> \r\n		  <input name=odownpath[] type=text id=\\\'odownpath<?=$opathi?>\\\' size=36 ondblclick=\\"SpOpenChFile(0,\\\'odownpath<?=$opathi?>\\\');\\">\r\n		  <select name=othedownqz[]><option value=\\\'\\\'>--地址前綴--</option><?=$newdownqz?></select> \r\n                  </td>\r\n                  <td width=\\\'21%\\\'><div align=center> \r\n                      <select name=odownuser[] id=select>\r\n                        <option value=0>遊客</option>\r\n                        <?=$ygroup?>\r\n                      </select>\r\n                    </div></td>\r\n                  <td width=\\\'13%\\\'> <div align=center> \r\n                      <input name=ofen[] type=text id=ofen[] value=0 size=6>\r\n                    </div></td>\r\n                </tr>\r\n	<?php\r\n	}\r\n	?>\r\n	</table>\r\n	<?php\r\n    }\r\n    else\r\n    {\r\n	$oeditnum=0;\r\n	$onlinemoviepath=\\"\\";\r\n	if($r[\\\'onlinepath\\\'])\r\n	{\r\n		$r[\\\'onlinepath\\\']=ehtmlspecialchars(stripSlashes($r[\\\'onlinepath\\\']));\r\n		$j=0;\r\n		$od_record=explode(\\"\\\\r\\\\n\\",$r[\\\'onlinepath\\\']);\r\n		for($i=0;$i<count($od_record);$i++)\r\n		{\r\n			$j=$i+1;\r\n			$od_field=explode(\\"::::::\\",$od_record[$i]);\r\n			//權限\r\n			$tgroup=str_replace(\\" value=\\".$od_field[2].\\">\\",\\" value=\\".$od_field[2].\\" selected>\\",$ygroup);\r\n			//地址前綴\r\n			$tnewdownqz=str_replace(\\" value=\\\'\\".$od_field[4].\\"\\\'>\\",\\" value=\\\'\\".$od_field[4].\\"\\\' selected>\\",$newdownqz);\r\n			$onlinemoviepath.=\\"<tr><td width=\\\'7%\\\'><div align=center>\\".$j.\\"</div></td><td width=\\\'19%\\\'><div align=left><input name=odownname[] type=text value=\\\'\\".$od_field[0].\\"\\\' size=17></div></td><td width=\\\'40%\\\'><input name=odownpath[] type=text value=\\\'\\".$od_field[1].\\"\\\' size=36 id=odownpath\\".$j.\\" ondblclick=\\\\\\"SpOpenChFile(0,\\\'odownpath\\".$j.\\"\\\');\\\\\\"><select name=othedownqz[]><option value=\\\'\\\'>--地址前綴--</option>\\".$tnewdownqz.\\"</select><input type=hidden name=opathid[] value=\\".$j.\\"><input type=checkbox name=odelpathid[] value=\\".$j.\\">刪</td><td width=\\\'21%\\\'><div align=center><select name=odownuser[] id=select><option value=0>遊客</option>\\".$tgroup.\\"</select></div></td><td width=\\\'13%\\\'><div align=center><input name=ofen[] type=text value=\\\'\\".$od_field[3].\\"\\\' size=6></div></td></tr>\\";\r\n		}\r\n		$oeditnum=$j;\r\n		$onlinemoviepath=\\"<table width=\\\'100%\\\' border=0 cellspacing=1 cellpadding=3>\\".$onlinemoviepath.\\"</table>\\";\r\n	}\r\n	echo $onlinemoviepath;\r\n    }\r\n    ?>\r\n    </td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\">在線地址擴展數量: <input name=\\"oeditnum\\" type=\\"hidden\\" id=\\"oeditnum\\" value=\\"<?=$oeditnum?>\\">\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=\\"zz_onlinepath\\"><?=ehtmlspecialchars(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=\\"qz_onlinepath\\" value=\\"<?=stripSlashes($r[\\\'qz_onlinepath\\\'])?>\\">\r\n        </td>\r\n        </tr>\r\n      </table>\r\n	  </td>\r\n  </tr>\r\n', 2, 'MEDIUMTEXT', '', 1, 5, 'movie', 0, '', 0, 0, 1, '<input type=\\"file\\" name=\\"onlinepathfile\\" size=\\"45\\">\r\n<input type=\\"hidden\\" name=\\"onlinepathmtfile\\" value=1>\r\n', 0, '', 0, '', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (71, 'moviesay', '影片簡介', 'textarea', '<textarea name=\\"moviesay\\" cols=\\"80\\" rows=\\"10\\" id=\\"moviesay\\"><?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'moviesay\\\',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=\\"zz_moviesay\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_moviesay\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_moviesay]\\" type=\\"text\\" id=\\"z_moviesay\\" value=\\"<?=stripSlashes($r[\\\'z_moviesay\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 2, 'TEXT', '', 1, 5, 'movie', 0, '', 0, 1, 1, '<textarea name=\\"moviesay\\" cols=\\"60\\" rows=\\"10\\" id=\\"moviesay\\"><?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'moviesay\\\',stripSlashes($r[\\\'moviesay\\\']))?></textarea>\r\n', 0, '', 0, '80,10', 0, 0, '', '', '', '', '', '', 0, 1, '');
INSERT INTO phome_enewsf VALUES (72, 'title', '標題', 'text', '<table width=\\"100%\\" border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" bgcolor=\\"#DBEAF5\\">\r\n<tr> \r\n  <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">\r\n	<?=$tts?\\"<select name=\\\'ttid\\\'><option value=\\\'0\\\'>標題分類</option>$tts</select>\\":\\"\\"?>\r\n	<input type=text name=title value=\\"<?=ehtmlspecialchars(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 height=\\"25\\" bgcolor=\\"#FFFFFF\\">屬性: \r\n	<input name=\\"titlefont[b]\\" type=\\"checkbox\\" value=\\"b\\"<?=$titlefontb?>>粗體\r\n	<input name=\\"titlefont[i]\\" type=\\"checkbox\\" value=\\"i\\"<?=$titlefonti?>>斜體\r\n	<input name=\\"titlefont[s]\\" type=\\"checkbox\\" value=\\"s\\"<?=$titlefonts?>>刪除線\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;顏色: <input name=\\"titlecolor\\" type=\\"text\\" value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'titlecolor\\\']))?>\\" size=\\"10\\" class=\\"color\\">\r\n  </td>\r\n</tr>\r\n</table>\r\n', '標題', 0, 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="[!--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="zz_title"><?=ehtmlspecialchars(stripSlashes($r[\'zz_title\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name="add[z_title]" type="text" id="z_title" value="<?=stripSlashes($r[\'z_title\'])?>">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 0, 'CHAR', '100', 1, 6, 'shop', 0, '', 0, 0, 0, '<input name=\\"title\\" type=\\"text\\" size=\\"42\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'title\\\',stripSlashes($r[\\\'title\\\']))?>\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (73, 'special.field', '特殊屬性', '', '<table width=\\"100%\\" border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" bgcolor=\\"#DBEAF5\\">\r\n  <tr>\r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">信息屬性: \r\n      <input name=\\"checked\\" type=\\"checkbox\\" value=\\"1\\"<?=$r[\\\'checked\\\']?\\\' checked\\\':\\\'\\\'?>>\r\n      審核 &nbsp;&nbsp; 推薦 \r\n      <select name=\\"isgood\\" id=\\"isgood\\">\r\n        <option value=\\"0\\">不推薦</option>\r\n	<?=$ftnr[\\\'igname\\\']?>\r\n      </select>\r\n      &nbsp;&nbsp; 頭條 \r\n      <select name=\\"firsttitle\\" id=\\"firsttitle\\">\r\n        <option value=\\"0\\">非頭條</option>\r\n	<?=$ftnr[\\\'ftname\\\']?>\r\n      </select></td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">關鍵字&nbsp;&nbsp;&nbsp;: \r\n      <input name=\\"keyboard\\" type=\\"text\\" size=\\"52\\" value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'keyboard\\\']))?>\\">\r\n      <font color=\\"#666666\\">(多個請用&quot;,&quot;隔開)</font></td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">外部鏈接: \r\n      <input name=\\"titleurl\\" type=\\"text\\" value=\\"<?=stripSlashes($r[\\\'titleurl\\\'])?>\\" size=\\"52\\">\r\n      <font color=\\"#666666\\">(填寫後信息連接地址將為此鏈接)</font></td>\r\n  </tr>\r\n</table>\r\n', '特殊屬性', 0, 1, 0, '\r\n\r\n', 0, '', '0', 0, 6, 'shop', 0, '', 0, 0, 0, '<input name=\\"keyboard\\" type=\\"text\\" size=42 value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'keyboard\\\']))?>\\">\r\n<font color=\\"#666666\\">(多個請用&quot;,&quot;隔開)</font>\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (74, 'titlepic', '標題圖片', 'img', '<input name=\\"titlepic\\" type=\\"text\\" id=\\"titlepic\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":ehtmlspecialchars(stripSlashes($r[\\\'titlepic\\\']))?>\\" size=\\"60\\">\r\n<a onclick=\\"window.open(\\\'ecmseditor/FileMain.php?type=1&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=titlepic<?=$ecms_hashur[\\\'ehref\\\']?>\\\',\\\'\\\',\\\'width=700,height=550,scrollbars=yes\\\');\\" title=\\"選擇已上傳的圖片\\"><img src=\\"../../e/data/images/changeimg.gif\\" border=\\"0\\" align=\\"absbottom\\"></a> \r\n', '標題圖片', 0, 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="[!--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="qz_titlepic" value="<?=stripSlashes($r[\'qz_titlepic\'])?>"> \r\n        <input name="add[save_titlepic]" type="checkbox" id="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="zz_titlepic"><?=ehtmlspecialchars(stripSlashes($r[\'zz_titlepic\']))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name="add[z_titlepic]" type="text" id="z_titlepic" value="<?=stripSlashes($r[\'z_titlepic\'])?>">\r\n        (如填寫這裡，這就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>\r\n', 1, 'CHAR', '120', 1, 6, 'shop', 0, '', 0, 0, 0, '<input type=\\"file\\" name=\\"titlepicfile\\" size=\\"45\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (75, 'newstime', '發佈時間', 'text', '<input name=\\"newstime\\" type=\\"text\\" value=\\"<?=$r[\\\'newstime\\\']?>\\" size=\\"28\\" class=\\"Wdate\\" onClick=\\"WdatePicker({skin:\\\'default\\\',dateFmt:\\\'yyyy-MM-dd HH:mm:ss\\\'})\\"><input type=button name=button value=\\"設為當前時間\\" onclick=\\"document.add.newstime.value=\\\'<?=$todaytime?>\\\'\\">\r\n', '發佈時間', 0, 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="[!--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="zz_newstime"><?=ehtmlspecialchars(stripSlashes($r[\'zz_newstime\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name="add[z_newstime]" type="text" id="z_newstime" value="<?=stripSlashes($r[\'z_newstime\'])?>">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 0, 'INT', '11', 1, 6, 'shop', 0, '', 1, 0, 0, '', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (76, 'productno', '商品編號', 'text', '<input name=\\"productno\\" type=\\"text\\" id=\\"productno\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'productno\\\',stripSlashes($r[\\\'productno\\\']))?>\\" size=\\"60\\">\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=\\"zz_productno\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_productno\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_productno]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"productno\\" type=\\"text\\" id=\\"productno\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'productno\\\',stripSlashes($r[\\\'productno\\\']))?>\\" size=\\"42\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (77, 'pbrand', '品牌', 'text', '<input name=\\"pbrand\\" type=\\"text\\" id=\\"pbrand\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'pbrand\\\',stripSlashes($r[\\\'pbrand\\\']))?>\\" size=\\"60\\">\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=\\"zz_pbrand\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_pbrand\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_pbrand]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"pbrand\\" type=\\"text\\" id=\\"pbrand\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'pbrand\\\',stripSlashes($r[\\\'pbrand\\\']))?>\\" size=\\"42\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (78, 'intro', '簡單描述', 'textarea', '<textarea name=\\"intro\\" cols=\\"80\\" rows=\\"10\\" id=\\"intro\\"><?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'intro\\\',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=\\"zz_intro\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_intro\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_intro]\\" type=\\"text\\" id=\\"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\\"><?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'intro\\\',stripSlashes($r[\\\'intro\\\']))?></textarea>\r\n', 0, '', 0, '80,10', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (79, 'unit', '計量單位', 'text', '<input name=\\"unit\\" type=\\"text\\" id=\\"unit\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'unit\\\',stripSlashes($r[\\\'unit\\\']))?>\\" size=\\"60\\">\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=\\"zz_unit\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_unit\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_unit]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"unit\\" type=\\"text\\" id=\\"unit\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'unit\\\',stripSlashes($r[\\\'unit\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (80, 'weight', '單位重量', 'text', '<input name=\\"weight\\" type=\\"text\\" id=\\"weight\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'weight\\\',stripSlashes($r[\\\'weight\\\']))?>\\" size=\\"60\\">\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=\\"zz_weight\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_weight\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_weight]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"weight\\" type=\\"text\\" id=\\"weight\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'weight\\\',stripSlashes($r[\\\'weight\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (81, 'tprice', '市場價格', 'text', '<input name=\\"tprice\\" type=\\"text\\" id=\\"tprice\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'tprice\\\',stripSlashes($r[\\\'tprice\\\']))?>\\" size=\\"60\\">\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=\\"zz_tprice\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_tprice\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_tprice]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"tprice\\" type=\\"text\\" id=\\"tprice\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'tprice\\\',stripSlashes($r[\\\'tprice\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (82, 'price', '購買價格', 'text', '<input name=\\"price\\" type=\\"text\\" id=\\"price\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'price\\\',stripSlashes($r[\\\'price\\\']))?>\\" size=\\"60\\">\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=\\"zz_price\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_price\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_price]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"price\\" type=\\"text\\" id=\\"price\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'price\\\',stripSlashes($r[\\\'price\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (83, 'buyfen', '積分購買', 'text', '<input name=\\"buyfen\\" type=\\"text\\" id=\\"buyfen\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'buyfen\\\',stripSlashes($r[\\\'buyfen\\\']))?>\\" size=\\"60\\">\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=\\"zz_buyfen\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_buyfen\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_buyfen]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"buyfen\\" type=\\"text\\" id=\\"buyfen\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'buyfen\\\',stripSlashes($r[\\\'buyfen\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (84, 'pmaxnum', '庫存', 'text', '<input name=\\"pmaxnum\\" type=\\"text\\" id=\\"pmaxnum\\" value=\\"<?=$ecmsfirstpost==1?\\"100\\":DoRehValue($modid,\\\'pmaxnum\\\',stripSlashes($r[\\\'pmaxnum\\\']))?>\\" size=\\"60\\">\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=\\"zz_pmaxnum\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_pmaxnum\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_pmaxnum]\\" type=\\"text\\" id=\\"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, '100', 0, 0, 1, '<input name=\\"pmaxnum\\" type=\\"text\\" id=\\"pmaxnum\\" value=\\"<?=$ecmsfirstpost==1?\\"100\\":DoReqValue($mid,\\\'pmaxnum\\\',stripSlashes($r[\\\'pmaxnum\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (85, 'productpic', '商品大圖', 'img', '<input name=\\"productpic\\" type=\\"text\\" id=\\"productpic\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'productpic\\\',stripSlashes($r[\\\'productpic\\\']))?>\\" size=\\"60\\">\r\n<a onclick=\\"window.open(\\\'ecmseditor/FileMain.php?type=1&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=productpic<?=$ecms_hashur[\\\'ehref\\\']?>\\\',\\\'\\\',\\\'width=700,height=550,scrollbars=yes\\\');\\" title=\\"選擇已上傳的圖片\\"><img src=\\"../../e/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=\\"qz_productpic\\" value=\\"<?=stripSlashes($r[\\\'qz_productpic\\\'])?>\\"> \r\n        <input name=\\"add[save_productpic]\\" type=\\"checkbox\\" id=\\"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=\\"zz_productpic\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_productpic\\\']))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name=\\"add[z_productpic]\\" type=\\"text\\" id=\\"z_productpic\\" 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, 0, 1, '<input type=\\"file\\" name=\\"productpicfile\\" size=\\"45\\">\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (86, 'newstext', '商品介紹', 'editor', '<?=ECMS_ShowEditorVar(\\"newstext\\",$ecmsfirstpost==1&&$usersldo==0?\\"\\":DoRehValue($modid,\\\'newstext\\\',stripSlashes($r[\\\'newstext\\\'])),\\"Default\\",\\"\\",\\"300\\",\\"100%\\")?>\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\\" value=\\"1\\"<?=$r[\\\'dokey\\\']==1?\\\' checked\\\':\\\'\\\'?>>\r\n              關鍵字替換&nbsp;&nbsp; <input name=\\"copyimg\\" type=\\"checkbox\\" id=\\"copyimg\\" value=\\"1\\">\r\n      遠程保存圖片(\r\n      <input name=\\"mark\\" type=\\"checkbox\\" id=\\"mark\\" value=\\"1\\">\r\n      <a href=\\"SetEnews.php<?=$ecms_hashur[\\\'whehref\\\']?>\\" target=\\"_blank\\">加水印</a>)&nbsp;&nbsp; \r\n      <input name=\\"copyflash\\" type=\\"checkbox\\" id=\\"copyflash\\" value=\\"1\\">\r\n      遠程保存FLASH(地址前綴： \r\n      <input name=\\"qz_url\\" type=\\"text\\" id=\\"qz_url\\" size=\\"\\">\r\n              )</td>\r\n          </tr>\r\n          <tr>\r\n            \r\n    <td bgcolor=\\"#FFFFFF\\"><input name=\\"repimgnexturl\\" type=\\"checkbox\\" id=\\"repimgnexturl\\" value=\\"1\\"> 圖片鏈接轉為下一頁&nbsp;&nbsp; <input name=\\"autopage\\" type=\\"checkbox\\" id=\\"autopage\\" value=\\"1\\"> 自動分頁\r\n      ,每 \r\n      <input name=\\"autosize\\" type=\\"text\\" id=\\"autosize\\" value=\\"5000\\" size=\\"5\\">\r\n      個字節為一頁&nbsp;&nbsp; 取第 \r\n      <input name=\\"getfirsttitlepic\\" type=\\"text\\" id=\\"getfirsttitlepic\\" value=\\"\\" size=\\"1\\">\r\n      張上傳圖為標題圖片( \r\n      <input name=\\"getfirsttitlespic\\" type=\\"checkbox\\" id=\\"getfirsttitlespic\\" value=\\"1\\">\r\n      縮略圖: 寬 \r\n      <input name=\\"getfirsttitlespicw\\" type=\\"text\\" id=\\"getfirsttitlespicw\\" size=\\"3\\" value=\\"<?=$public_r[\\\'spicwidth\\\']?>\\">\r\n      *高\r\n      <input name=\\"getfirsttitlespich\\" type=\\"text\\" id=\\"getfirsttitlespich\\" size=\\"3\\" value=\\"<?=$public_r[\\\'spicheight\\\']?>\\">\r\n      )</td>\r\n          </tr>\r\n        </table>', '', 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=\\"zz_newstext\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_newstext\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_newstext]\\" type=\\"text\\" id=\\"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, '<?=ECMS_ShowEditorVar(\\"newstext\\",$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'newstext\\\',stripSlashes($r[\\\'newstext\\\'])),\\"Default\\",\\"\\",\\"300\\",\\"100%\\")?>\r\n', 0, '', 0, '', 0, 1, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (87, 'psalenum', '銷售量', 'text', '<input name=\\"psalenum\\" type=\\"text\\" id=\\"psalenum\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'psalenum\\\',stripSlashes($r[\\\'psalenum\\\']))?>\\" size=\\"60\\">\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=\\"[!--psalenum--]\\" 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_psalenum]\\" cols=\\"60\\" rows=\\"10\\" id=\\"zz_psalenum\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_psalenum\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_psalenum]\\" type=\\"text\\" id=\\"z_psalenum\\" value=\\"<?=stripSlashes($r[\\\'z_psalenum\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'INT', '', 1, 6, 'shop', 0, '', 0, 0, 1, '<input name=\\"psalenum\\" type=\\"text\\" id=\\"psalenum\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'psalenum\\\',stripSlashes($r[\\\'psalenum\\\']))?>\\" size=\\"60\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (88, 'title', '標題', 'text', '<table width=\\"100%\\" border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" bgcolor=\\"#DBEAF5\\">\r\n<tr> \r\n  <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">\r\n	<?=$tts?\\"<select name=\\\'ttid\\\'><option value=\\\'0\\\'>標題分類</option>$tts</select>\\":\\"\\"?>\r\n	<input type=text name=title value=\\"<?=ehtmlspecialchars(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 height=\\"25\\" bgcolor=\\"#FFFFFF\\">屬性: \r\n	<input name=\\"titlefont[b]\\" type=\\"checkbox\\" value=\\"b\\"<?=$titlefontb?>>粗體\r\n	<input name=\\"titlefont[i]\\" type=\\"checkbox\\" value=\\"i\\"<?=$titlefonti?>>斜體\r\n	<input name=\\"titlefont[s]\\" type=\\"checkbox\\" value=\\"s\\"<?=$titlefonts?>>刪除線\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;顏色: <input name=\\"titlecolor\\" type=\\"text\\" value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'titlecolor\\\']))?>\\" size=\\"10\\" class=\\"color\\">\r\n  </td>\r\n</tr>\r\n</table>\r\n', '標題', 0, 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="[!--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="zz_title"><?=ehtmlspecialchars(stripSlashes($r[\'zz_title\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name="add[z_title]" type="text" id="z_title" value="<?=stripSlashes($r[\'z_title\'])?>">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 0, 'CHAR', '100', 1, 7, 'article', 0, '', 0, 0, 0, '<input name=\\"title\\" type=\\"text\\" size=\\"42\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'title\\\',stripSlashes($r[\\\'title\\\']))?>\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (89, 'special.field', '特殊屬性', '', '<table width=\\"100%\\" border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" bgcolor=\\"#DBEAF5\\">\r\n  <tr>\r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">信息屬性: \r\n      <input name=\\"checked\\" type=\\"checkbox\\" value=\\"1\\"<?=$r[\\\'checked\\\']?\\\' checked\\\':\\\'\\\'?>>\r\n      審核 &nbsp;&nbsp; 推薦 \r\n      <select name=\\"isgood\\" id=\\"isgood\\">\r\n        <option value=\\"0\\">不推薦</option>\r\n	<?=$ftnr[\\\'igname\\\']?>\r\n      </select>\r\n      &nbsp;&nbsp; 頭條 \r\n      <select name=\\"firsttitle\\" id=\\"firsttitle\\">\r\n        <option value=\\"0\\">非頭條</option>\r\n	<?=$ftnr[\\\'ftname\\\']?>\r\n      </select></td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">關鍵字&nbsp;&nbsp;&nbsp;: \r\n      <input name=\\"keyboard\\" type=\\"text\\" size=\\"52\\" value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'keyboard\\\']))?>\\">\r\n      <font color=\\"#666666\\">(多個請用&quot;,&quot;隔開)</font></td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">外部鏈接: \r\n      <input name=\\"titleurl\\" type=\\"text\\" value=\\"<?=stripSlashes($r[\\\'titleurl\\\'])?>\\" size=\\"52\\">\r\n      <font color=\\"#666666\\">(填寫後信息連接地址將為此鏈接)</font></td>\r\n  </tr>\r\n</table>\r\n', '特殊屬性', 0, 1, 0, '\r\n\r\n', 1, '', '0', 0, 7, 'article', 0, '', 0, 0, 0, '<input name=\\"keyboard\\" type=\\"text\\" size=42 value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'keyboard\\\']))?>\\">\r\n<font color=\\"#666666\\">(多個請用&quot;,&quot;隔開)</font>\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (90, 'titlepic', '標題圖片', 'img', '<input name=\\"titlepic\\" type=\\"text\\" id=\\"titlepic\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":ehtmlspecialchars(stripSlashes($r[\\\'titlepic\\\']))?>\\" size=\\"45\\">\r\n<a onclick=\\"window.open(\\\'ecmseditor/FileMain.php?type=1&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=titlepic<?=$ecms_hashur[\\\'ehref\\\']?>\\\',\\\'\\\',\\\'width=700,height=550,scrollbars=yes\\\');\\" title=\\"選擇已上傳的圖片\\"><img src=\\"../../e/data/images/changeimg.gif\\" border=\\"0\\" align=\\"absbottom\\"></a> \r\n', '標題圖片', 0, 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="[!--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="qz_titlepic" value="<?=stripSlashes($r[\'qz_titlepic\'])?>"> \r\n        <input name="add[save_titlepic]" type="checkbox" id="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="zz_titlepic"><?=ehtmlspecialchars(stripSlashes($r[\'zz_titlepic\']))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name="add[z_titlepic]" type="text" id="z_titlepic" value="<?=stripSlashes($r[\'z_titlepic\'])?>">\r\n        (如填寫這裡，這就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>\r\n', 2, 'CHAR', '120', 1, 7, 'article', 0, '', 0, 0, 0, '<input type=\\"file\\" name=\\"titlepicfile\\" size=\\"45\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (91, 'newstime', '發佈時間', 'text', '<input name=\\"newstime\\" type=\\"text\\" value=\\"<?=$r[\\\'newstime\\\']?>\\" size=\\"28\\" class=\\"Wdate\\" onClick=\\"WdatePicker({skin:\\\'default\\\',dateFmt:\\\'yyyy-MM-dd HH:mm:ss\\\'})\\"><input type=button name=button value=\\"設為當前時間\\" onclick=\\"document.add.newstime.value=\\\'<?=$todaytime?>\\\'\\">\r\n', '發佈時間', 0, 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="[!--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="zz_newstime"><?=ehtmlspecialchars(stripSlashes($r[\'zz_newstime\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name="add[z_newstime]" type="text" id="z_newstime" value="<?=stripSlashes($r[\'z_newstime\'])?>">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'INT', '11', 1, 7, 'article', 0, '', 1, 0, 0, '', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (92, 'ftitle', '副標題', 'text', '<input name=\\"ftitle\\" type=\\"text\\" id=\\"ftitle\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'ftitle\\\',stripSlashes($r[\\\'ftitle\\\']))?>\\" size=\\"60\\">\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=\\"zz_ftitle\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_ftitle\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_ftitle]\\" type=\\"text\\" id=\\"z_ftitle\\" value=\\"<?=stripSlashes($r[\\\'z_ftitle\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 0, 'CHAR', '120', 1, 7, 'article', 0, '', 0, 0, 1, '<input name=\\"ftitle\\" type=\\"text\\" id=\\"ftitle\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'ftitle\\\',stripSlashes($r[\\\'ftitle\\\']))?>\\" size=\\"42\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (93, 'smalltext', '內容簡介', 'textarea', '<textarea name=\\"smalltext\\" cols=\\"80\\" rows=\\"10\\" id=\\"smalltext\\"><?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'smalltext\\\',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=\\"zz_smalltext\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_smalltext\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_smalltext]\\" type=\\"text\\" id=\\"z_smalltext\\" value=\\"<?=stripSlashes($r[\\\'z_smalltext\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 2, 'CHAR', '255', 1, 7, 'article', 0, '', 0, 1, 1, '<textarea name=\\"smalltext\\" cols=\\"60\\" rows=\\"10\\" id=\\"smalltext\\"><?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'smalltext\\\',stripSlashes($r[\\\'smalltext\\\']))?></textarea>\r\n', 0, '', 0, '80,10', 0, 0, '', '', '', '', '', '', 0, 1, '');
INSERT INTO phome_enewsf VALUES (94, 'writer', '作者', 'text', '<?php\r\n$w_class=\\\'\\\';\r\n$writer_sql=$empire->query(\\"select writer from {$dbtbpre}enewswriter\\");\r\nwhile($w_r=$empire->fetch($writer_sql))\r\n{\r\n	$w_class.=\\"<option value=\\\'\\".$w_r[\\\'writer\\\'].\\"\\\'>\\".$w_r[\\\'writer\\\'].\\"</option>\\";\r\n}\r\n?>\r\n<input type=text name=writer value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'writer\\\',stripSlashes($r[\\\'writer\\\']))?>\\" size=\\"\\"> \r\n        <select name=\\"w_id\\" id=\\"w_id\\" 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?<?=$ecms_hashur[\\\'ehref\\\']?>&addwritername=\\\'+document.add.writer.value);\\">', '', 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=\\"zz_writer\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_writer\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_writer]\\" type=\\"text\\" id=\\"z_writer\\" value=\\"<?=stripSlashes($r[\\\'z_writer\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 2, 'CHAR', '30', 1, 7, 'article', 0, '', 0, 0, 1, '<input name=\\"writer\\" type=\\"text\\" id=\\"writer\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'writer\\\',stripSlashes($r[\\\'writer\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (95, 'befrom', '信息來源', 'text', '<?php\r\n$b_class=\\\'\\\';\r\n$befrom_sql=$empire->query(\\"select sitename from {$dbtbpre}enewsbefrom\\");\r\nwhile($b_r=$empire->fetch($befrom_sql))\r\n{\r\n	$b_class.=\\"<option value=\\\'\\".$b_r[\\\'sitename\\\'].\\"\\\'>\\".$b_r[\\\'sitename\\\'].\\"</option>\\";\r\n}\r\n?>\r\n<input type=\\"text\\" name=\\"befrom\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'befrom\\\',stripSlashes($r[\\\'befrom\\\']))?>\\" size=\\"\\"> \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?<?=$ecms_hashur[\\\'ehref\\\']?>&addsitename=\\\'+document.add.befrom.value);\\">', '', 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=\\"zz_befrom\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_befrom\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_befrom]\\" type=\\"text\\" id=\\"z_befrom\\" value=\\"<?=stripSlashes($r[\\\'z_befrom\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 2, 'CHAR', '60', 1, 7, 'article', 0, '', 0, 0, 1, '<input name=\\"befrom\\" type=\\"text\\" id=\\"befrom\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'befrom\\\',stripSlashes($r[\\\'befrom\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (96, 'newstext', '新聞正文', 'editor', '<?=ECMS_ShowEditorVar(\\"newstext\\",$ecmsfirstpost==1&&$usersldo==0?\\"\\":DoRehValue($modid,\\\'newstext\\\',stripSlashes($r[\\\'newstext\\\'])),\\"Default\\",\\"\\",\\"300\\",\\"100%\\")?>\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\\" value=\\"1\\"<?=$r[\\\'dokey\\\']==1?\\\' checked\\\':\\\'\\\'?>>\r\n              關鍵字替換&nbsp;&nbsp; <input name=\\"copyimg\\" type=\\"checkbox\\" id=\\"copyimg\\" value=\\"1\\">\r\n      遠程保存圖片(\r\n      <input name=\\"mark\\" type=\\"checkbox\\" id=\\"mark\\" value=\\"1\\">\r\n      <a href=\\"SetEnews.php<?=$ecms_hashur[\\\'whehref\\\']?>\\" target=\\"_blank\\">加水印</a>)&nbsp;&nbsp; \r\n      <input name=\\"copyflash\\" type=\\"checkbox\\" id=\\"copyflash\\" value=\\"1\\">\r\n      遠程保存FLASH(地址前綴： \r\n      <input name=\\"qz_url\\" type=\\"text\\" id=\\"qz_url\\" size=\\"\\">\r\n              )</td>\r\n          </tr>\r\n          <tr>\r\n            \r\n    <td bgcolor=\\"#FFFFFF\\"><input name=\\"repimgnexturl\\" type=\\"checkbox\\" id=\\"repimgnexturl\\" value=\\"1\\"> 圖片鏈接轉為下一頁&nbsp;&nbsp; <input name=\\"autopage\\" type=\\"checkbox\\" id=\\"autopage\\" value=\\"1\\"> 自動分頁\r\n      ,每 \r\n      <input name=\\"autosize\\" type=\\"text\\" id=\\"autosize\\" value=\\"5000\\" size=\\"5\\">\r\n      個字節為一頁&nbsp;&nbsp; 取第 \r\n      <input name=\\"getfirsttitlepic\\" type=\\"text\\" id=\\"getfirsttitlepic\\" value=\\"\\" size=\\"1\\">\r\n      張上傳圖為標題圖片( \r\n      <input name=\\"getfirsttitlespic\\" type=\\"checkbox\\" id=\\"getfirsttitlespic\\" value=\\"1\\">\r\n      縮略圖: 寬 \r\n      <input name=\\"getfirsttitlespicw\\" type=\\"text\\" id=\\"getfirsttitlespicw\\" size=\\"3\\" value=\\"<?=$public_r[\\\'spicwidth\\\']?>\\">\r\n      *高\r\n      <input name=\\"getfirsttitlespich\\" type=\\"text\\" id=\\"getfirsttitlespich\\" size=\\"3\\" value=\\"<?=$public_r[\\\'spicheight\\\']?>\\">\r\n      )</td>\r\n          </tr>\r\n        </table>', '', 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=\\"zz_newstext\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_newstext\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_newstext]\\" type=\\"text\\" id=\\"z_newstext\\" value=\\"<?=stripSlashes($r[\\\'z_newstext\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 2, 'CHAR', '50', 1, 7, 'article', 1, '', 0, 1, 1, '<?=ECMS_ShowEditorVar(\\"newstext\\",$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'newstext\\\',stripSlashes($r[\\\'newstext\\\'])),\\"Default\\",\\"\\",\\"300\\",\\"100%\\")?>\r\n', 0, '', 0, '', 0, 1, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (97, 'diggtop', '頂', 'text', '<input name=\\"diggtop\\" type=\\"text\\" id=\\"diggtop\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'diggtop\\\',stripSlashes($r[\\\'diggtop\\\']))?>\\" size=\\"\\">\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=\\"[!--diggtop--]\\" 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_diggtop]\\" cols=\\"60\\" rows=\\"10\\" id=\\"zz_diggtop\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_diggtop\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_diggtop]\\" type=\\"text\\" id=\\"z_diggtop\\" value=\\"<?=stripSlashes($r[\\\'z_diggtop\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 3, 'INT', '', 1, 7, 'article', 0, '', 0, 0, 1, '<input name=\\"diggtop\\" type=\\"text\\" id=\\"diggtop\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'diggtop\\\',stripSlashes($r[\\\'diggtop\\\']))?>\\" size=\\"\\">\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (98, 'title', '標題', 'text', '<table width=\\"100%\\" border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" bgcolor=\\"#DBEAF5\\">\r\n<tr> \r\n  <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">\r\n	<?=$tts?\\"<select name=\\\'ttid\\\'><option value=\\\'0\\\'>標題分類</option>$tts</select>\\":\\"\\"?>\r\n	<input type=text name=title value=\\"<?=ehtmlspecialchars(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 height=\\"25\\" bgcolor=\\"#FFFFFF\\">屬性: \r\n	<input name=\\"titlefont[b]\\" type=\\"checkbox\\" value=\\"b\\"<?=$titlefontb?>>粗體\r\n	<input name=\\"titlefont[i]\\" type=\\"checkbox\\" value=\\"i\\"<?=$titlefonti?>>斜體\r\n	<input name=\\"titlefont[s]\\" type=\\"checkbox\\" value=\\"s\\"<?=$titlefonts?>>刪除線\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;顏色: <input name=\\"titlecolor\\" type=\\"text\\" value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'titlecolor\\\']))?>\\" size=\\"10\\" class=\\"color\\">\r\n  </td>\r\n</tr>\r\n</table>\r\n', '標題', 0, 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="[!--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="zz_title"><?=ehtmlspecialchars(stripSlashes($r[\'zz_title\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name="add[z_title]" type="text" id="z_title" value="<?=stripSlashes($r[\'z_title\'])?>">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 0, 'CHAR', '100', 1, 8, 'info', 0, '', 0, 0, 0, '<input name=\\"title\\" type=\\"text\\" size=\\"42\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'title\\\',stripSlashes($r[\\\'title\\\']))?>\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (99, 'special.field', '特殊屬性', '', '<table width=\\"100%\\" border=\\"0\\" cellpadding=\\"0\\" cellspacing=\\"0\\" bgcolor=\\"#DBEAF5\\">\r\n  <tr>\r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">信息屬性: \r\n      <input name=\\"checked\\" type=\\"checkbox\\" value=\\"1\\"<?=$r[\\\'checked\\\']?\\\' checked\\\':\\\'\\\'?>>\r\n      審核 &nbsp;&nbsp; 推薦 \r\n      <select name=\\"isgood\\" id=\\"isgood\\">\r\n        <option value=\\"0\\">不推薦</option>\r\n	<?=$ftnr[\\\'igname\\\']?>\r\n      </select>\r\n      &nbsp;&nbsp; 頭條 \r\n      <select name=\\"firsttitle\\" id=\\"firsttitle\\">\r\n        <option value=\\"0\\">非頭條</option>\r\n	<?=$ftnr[\\\'ftname\\\']?>\r\n      </select></td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">關鍵字&nbsp;&nbsp;&nbsp;: \r\n      <input name=\\"keyboard\\" type=\\"text\\" size=\\"52\\" value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'keyboard\\\']))?>\\">\r\n      <font color=\\"#666666\\">(多個請用&quot;,&quot;隔開)</font></td>\r\n  </tr>\r\n  <tr> \r\n    <td height=\\"25\\" bgcolor=\\"#FFFFFF\\">外部鏈接: \r\n      <input name=\\"titleurl\\" type=\\"text\\" value=\\"<?=stripSlashes($r[\\\'titleurl\\\'])?>\\" size=\\"52\\">\r\n      <font color=\\"#666666\\">(填寫後信息連接地址將為此鏈接)</font></td>\r\n  </tr>\r\n</table>\r\n', '特殊屬性', 0, 1, 0, '\r\n\r\n', 0, '', '0', 0, 8, 'info', 0, '', 0, 0, 0, '<input name=\\"keyboard\\" type=\\"text\\" size=42 value=\\"<?=ehtmlspecialchars(stripSlashes($r[\\\'keyboard\\\']))?>\\">\r\n<font color=\\"#666666\\">(多個請用&quot;,&quot;隔開)</font>\r\n', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (100, 'titlepic', '標題圖片', 'img', '<input name=\\"titlepic\\" type=\\"text\\" id=\\"titlepic\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":ehtmlspecialchars(stripSlashes($r[\\\'titlepic\\\']))?>\\" size=\\"45\\">\r\n<a onclick=\\"window.open(\\\'ecmseditor/FileMain.php?type=1&classid=<?=$classid?>&infoid=<?=$id?>&filepass=<?=$filepass?>&sinfo=1&doing=1&field=titlepic<?=$ecms_hashur[\\\'ehref\\\']?>\\\',\\\'\\\',\\\'width=700,height=550,scrollbars=yes\\\');\\" title=\\"選擇已上傳的圖片\\"><img src=\\"../../e/data/images/changeimg.gif\\" border=\\"0\\" align=\\"absbottom\\"></a> \r\n', '標題圖片', 0, 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="[!--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="qz_titlepic" value="<?=stripSlashes($r[\'qz_titlepic\'])?>"> \r\n        <input name="add[save_titlepic]" type="checkbox" id="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="zz_titlepic"><?=ehtmlspecialchars(stripSlashes($r[\'zz_titlepic\']))?></textarea></td>\r\n    </tr>\r\n    <tr> \r\n      <td><input name="add[z_titlepic]" type="text" id="z_titlepic" value="<?=stripSlashes($r[\'z_titlepic\'])?>">\r\n        (如填寫這裡，這就是字段的值)</td>\r\n    </tr>\r\n  </table></td>\r\n  </tr>\r\n', 1, 'CHAR', '120', 1, 8, 'info', 0, '', 0, 0, 0, '<input type=\\"file\\" name=\\"titlepicfile\\" size=\\"45\\">\r\n', 0, '', 0, '60', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (101, 'newstime', '發佈時間', 'text', '<input name=\\"newstime\\" type=\\"text\\" value=\\"<?=$r[\\\'newstime\\\']?>\\" size=\\"28\\" class=\\"Wdate\\" onClick=\\"WdatePicker({skin:\\\'default\\\',dateFmt:\\\'yyyy-MM-dd HH:mm:ss\\\'})\\"><input type=button name=button value=\\"設為當前時間\\" onclick=\\"document.add.newstime.value=\\\'<?=$todaytime?>\\\'\\">\r\n', '發佈時間', 0, 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="[!--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="zz_newstime"><?=ehtmlspecialchars(stripSlashes($r[\'zz_newstime\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name="add[z_newstime]" type="text" id="z_newstime" value="<?=stripSlashes($r[\'z_newstime\'])?>">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 0, 'INT', '11', 1, 8, 'info', 0, '', 1, 0, 0, '', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (102, 'smalltext', '信息內容', 'textarea', '<textarea name=\\"smalltext\\" cols=\\"80\\" rows=\\"10\\" id=\\"smalltext\\"><?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'smalltext\\\',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=\\"zz_smalltext\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_smalltext\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_smalltext]\\" type=\\"text\\" id=\\"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\\"><?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'smalltext\\\',stripSlashes($r[\\\'smalltext\\\']))?></textarea>\r\n', 0, '', 0, '80,10', 0, 0, '', '', '', '', '', '', 0, 1, '');
INSERT INTO phome_enewsf VALUES (103, 'myarea', '所在地', 'select', '<select name=\\"myarea\\" id=\\"myarea\\"><option value=\\"東城區\\"<?=$r[\\\'myarea\\\']==\\"東城區\\"||$ecmsfirstpost==1?\\\' 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, '\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=\\"[!--myarea--]\\" 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_myarea]\\" cols=\\"60\\" rows=\\"10\\" id=\\"zz_myarea\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_myarea\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_myarea]\\" type=\\"text\\" id=\\"z_myarea\\" value=\\"<?=stripSlashes($r[\\\'z_myarea\\\'])?>\\">\r\n            (如填寫這裡，將為字段的值)</td>\r\n        </tr>\r\n      </table></td>\r\n  </tr>\r\n', 1, 'VARCHAR', '30', 1, 8, 'info', 0, '東城區:default|西城區|崇文區|宣武區|朝陽區|海澱區|豐台區|石景山區|通州區|昌平區|大興區|其它', 0, 0, 1, '<select name=\\"myarea\\" id=\\"myarea\\"><option value=\\"東城區\\"<?=$r[\\\'myarea\\\']==\\"東城區\\"||$ecmsfirstpost==1?\\\' 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>', 0, '', 0, '', 0, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (104, 'email', '郵箱', 'text', '<input name=\\"email\\" type=\\"text\\" id=\\"email\\" value=\\"<?=$ecmsfirstpost==1?$memberinfor[\\\'email\\\']:DoRehValue($modid,\\\'email\\\',stripSlashes($r[\\\'email\\\']))?>\\" size=\\"60\\">\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=\\"zz_email\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_email\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_email]\\" type=\\"text\\" id=\\"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, '$memberinfor[\\\'email\\\']', 0, 0, 1, '<input name=\\"email\\" type=\\"text\\" id=\\"email\\" value=\\"<?=$ecmsfirstpost==1?$memberinfor[\\\'email\\\']:DoReqValue($mid,\\\'email\\\',stripSlashes($r[\\\'email\\\']))?>\\" size=\\"46\\">\r\n', 0, '', 0, '46', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (105, 'mycontact', '聯繫方式', 'text', '<input name=\\"mycontact\\" type=\\"text\\" id=\\"mycontact\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoRehValue($modid,\\\'mycontact\\\',stripSlashes($r[\\\'mycontact\\\']))?>\\" size=\\"60\\">\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=\\"zz_mycontact\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_mycontact\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_mycontact]\\" type=\\"text\\" id=\\"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, 0, 1, '<input name=\\"mycontact\\" type=\\"text\\" id=\\"mycontact\\" value=\\"<?=$ecmsfirstpost==1?\\"\\":DoReqValue($mid,\\\'mycontact\\\',stripSlashes($r[\\\'mycontact\\\']))?>\\" size=\\"46\\">\r\n', 0, '', 0, '46', 1, 0, '', '', '', '', '', '', 0, 0, '');
INSERT INTO phome_enewsf VALUES (106, 'address', '聯繫地址', 'text', '<input name=\\"address\\" type=\\"text\\" id=\\"address\\" value=\\"<?=$ecmsfirstpost==1?$memberinfor[\\\'address\\\']:DoRehValue($modid,\\\'address\\\',stripSlashes($r[\\\'address\\\']))?>\\" size=\\"60\\">\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=\\"zz_address\\"><?=ehtmlspecialchars(stripSlashes($r[\\\'zz_address\\\']))?></textarea></td>\r\n        </tr>\r\n        <tr> \r\n          <td><input name=\\"add[z_address]\\" type=\\"text\\" id=\\"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, '$memberinfor[\\\'address\\\']', 0, 0, 1, '<input name=\\"address\\" type=\\"text\\" id=\\"address\\" value=\\"<?=$ecmsfirstpost==1?$memberinfor[\\\'address\\\']:DoReqValue($mid,\\\'address\\\',stripSlashes($r[\\\'address\\\']))?>\\" size=\\"46\\">\r\n', 0, '', 0, '46', 1, 0, '', '', '', '', '', '', 0, 0, '');


INSERT INTO phome_enewsmod VALUES (1, '新聞系統模型', '<table width=\\\'100%\\\' align=center cellpadding=3 cellspacing=1 class=\\"tableborder\\"><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>標題(*)</td><td bgcolor=\\\'ffffff\\\'>[!--title--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>副標題</td><td bgcolor=\\\'ffffff\\\'>[!--ftitle--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>特殊屬性</td><td bgcolor=\\\'ffffff\\\'>[!--special.field--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>發佈時間</td><td bgcolor=\\\'ffffff\\\'>[!--newstime--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>標題圖片</td><td bgcolor=\\\'ffffff\\\'>[!--titlepic--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>內容簡介</td><td bgcolor=\\\'ffffff\\\'>[!--smalltext--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>作者</td><td bgcolor=\\\'ffffff\\\'>[!--writer--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>信息來源</td><td bgcolor=\\\'ffffff\\\'>[!--befrom--]</td></tr><tr><td height=25 colspan=2 bgcolor=\\\'ffffff\\\'><div align=left>新聞正文(*)</div></td></tr></table><div style=\\"background-color:#D0D0D0\\">[!--newstext--]</div>', '新聞系統模型', '標題<!--field--->title<!--record-->副標題<!--field--->ftitle<!--record-->發佈時間<!--field--->newstime<!--record-->標題圖片<!--field--->titlepic<!--record-->內容簡介<!--field--->smalltext<!--record-->作者<!--field--->writer<!--record-->信息來源<!--field--->befrom<!--record-->新聞正文<!--field--->newstext<!--record-->', '標題<!--field--->title<!--record-->副標題<!--field--->ftitle<!--record-->特殊屬性<!--field--->special.field<!--record-->發佈時間<!--field--->newstime<!--record-->標題圖片<!--field--->titlepic<!--record-->內容簡介<!--field--->smalltext<!--record-->作者<!--field--->writer<!--record-->信息來源<!--field--->befrom<!--record-->新聞正文<!--field--->newstext<!--record-->', '標題<!--field--->title<!--record-->副標題<!--field--->ftitle<!--record-->發佈時間<!--field--->newstime<!--record-->標題圖片<!--field--->titlepic<!--record-->內容簡介<!--field--->smalltext<!--record-->作者<!--field--->writer<!--record-->信息來源<!--field--->befrom<!--record-->新聞正文<!--field--->newstext<!--record-->頂<!--field--->diggtop<!--record-->', '|34|35|36|37|', ',title,smalltext,', 1, 'news', '標題<!--field--->title<!--record-->副標題<!--field--->ftitle<!--record-->標題圖片<!--field--->titlepic<!--record-->內容簡介<!--field--->smalltext<!--record-->作者<!--field--->writer<!--record-->信息來源<!--field--->befrom<!--record-->新聞正文<!--field--->newstext<!--record-->', ',title,newstext,', '<table width=100% align=center cellpadding=3 cellspacing=1 class=\\"tableborder\\"><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>標題(*)</td><td bgcolor=\\\'ffffff\\\'>[!--title--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>副標題</td><td bgcolor=\\\'ffffff\\\'>[!--ftitle--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>標題圖片</td><td bgcolor=\\\'ffffff\\\'>[!--titlepic--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>內容簡介</td><td bgcolor=\\\'ffffff\\\'>[!--smalltext--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>作者</td><td bgcolor=\\\'ffffff\\\'>[!--writer--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>信息來源</td><td bgcolor=\\\'ffffff\\\'>[!--befrom--]</td></tr><tr><td height=25 colspan=2 bgcolor=\\\'ffffff\\\'><div align=left>新聞正文(*)</div></td></tr></table><div style=\\"background-color:#D0D0D0\\">[!--newstext--]</div>', '', 0, '標題<!--field--->title<!--record-->副標題<!--field--->ftitle<!--record-->發佈時間<!--field--->newstime<!--record-->標題圖片<!--field--->titlepic<!--record-->內容簡介<!--field--->smalltext<!--record-->頂<!--field--->diggtop<!--record-->', '新聞', ',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,', ',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,', 0, 0, 0, 0, '', 1, '', 0, '', '', '', '');
INSERT INTO phome_enewsmod VALUES (2, '下載系統模型', '<script>\r\nfunction AddFj(str)\r\n{var r;\r\nvar a;\r\na=document.add.softfj.value;\r\nr=a.split(str);\r\nif(r.length!=1)\r\n{return true;}\r\ndocument.add.softfj.value+=\\"/\\"+str;\r\n}\r\nfunction DelFj(str)\r\n{\r\nvar a;\r\na=document.add.softfj.value;\r\ndocument.add.softfj.value=a.replace(\\"/\\"+str,\\"\\");\r\n}\r\n</script>\r\n<table width=100% align=center cellpadding=3 cellspacing=1 class=\\"tableborder\\">\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>軟件名稱(*)</td>\r\n    <td bgcolor=ffffff>[!--title--]</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>特殊屬性</td>\r\n    <td bgcolor=\\\'ffffff\\\'>[!--special.field--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>發佈時間</td>\r\n    <td bgcolor=ffffff>[!--newstime--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>軟件預覽圖</td>\r\n    <td bgcolor=ffffff>[!--titlepic--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>軟件作者</td>\r\n    <td bgcolor=ffffff>[!--softwriter--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>廠商主頁</td>\r\n    <td bgcolor=ffffff>[!--homepage--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>系統演示</td>\r\n    <td bgcolor=ffffff>[!--demo--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>運行環境</td>\r\n    <td bgcolor=ffffff>[!--softfj--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td height=25 bgcolor=ffffff>&nbsp;</td>\r\n    <td bgcolor=ffffff><input type=checkbox name=check value=\\\'Win9X/Me\\\' onclick=\\"if(this.checked){AddFj(this.value);}else{DelFj(this.value);}\\">\r\n      Win9X/Me&nbsp; <input type=checkbox name=check value=\\\'WinNT/2000/XP\\\' onclick=\\"if(this.checked){AddFj(this.value);}else{DelFj(this.value);}\\">\r\n      WinNT/2000/XP&nbsp; <input type=checkbox name=check value=\\\'Unix\\\' onclick=\\"if(this.checked){AddFj(this.value);}else{DelFj(this.value);}\\">\r\n      Unix&nbsp; <input type=checkbox name=check value=\\\'Linux\\\' onclick=\\"if(this.checked){AddFj(this.value);}else{DelFj(this.value);}\\">\r\n      Linux&nbsp; <input type=checkbox name=check value=\\\'DOS\\\' onclick=\\"if(this.checked){AddFj(this.value);}else{DelFj(this.value);}\\">\r\n      DOS&nbsp; <input type=checkbox name=check value=\\\'MAC OS\\\' onclick=\\"if(this.checked){AddFj(this.value);}else{DelFj(this.value);}\\">\r\n      MAC OS&nbsp; <input type=checkbox name=check value=\\\'Other\\\' onclick=\\"if(this.checked){AddFj(this.value);}else{DelFj(this.value);}\\">\r\n      Other</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>軟件屬性</td>\r\n    <td bgcolor=ffffff>軟件語言：[!--language--]，軟件類型：[!--softtype--]，授權形式：[!--softsq--]，軟件評價：[!--star--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>文件</td>\r\n    <td bgcolor=ffffff>文件類型：[!--filetype--]，文件大小：[!--filesize--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>下載地址(*)</td>\r\n    <td bgcolor=ffffff>[!--downpath--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>軟件簡介(*)</td>\r\n    <td bgcolor=ffffff>[!--softsay--]</td>\r\n  </tr>\r\n</table>', '', '軟件名稱<!--field--->title<!--record-->發佈時間<!--field--->newstime<!--record-->軟件預覽圖<!--field--->titlepic<!--record-->軟件作者<!--field--->softwriter<!--record-->廠商主頁<!--field--->homepage<!--record-->系統演示<!--field--->demo<!--record-->運行環境<!--field--->softfj<!--record-->軟件語言<!--field--->language<!--record-->軟件類型<!--field--->softtype<!--record-->授權形式<!--field--->softsq<!--record-->軟件評價<!--field--->star<!--record-->文件類型<!--field--->filetype<!--record-->文件大小<!--field--->filesize<!--record-->下載地址<!--field--->downpath<!--record-->軟件簡介<!--field--->softsay<!--record-->', '軟件名稱<!--field--->title<!--record-->特殊屬性<!--field--->special.field<!--record-->發佈時間<!--field--->newstime<!--record-->軟件預覽圖<!--field--->titlepic<!--record-->軟件作者<!--field--->softwriter<!--record-->廠商主頁<!--field--->homepage<!--record-->系統演示<!--field--->demo<!--record-->運行環境<!--field--->softfj<!--record-->軟件語言<!--field--->language<!--record-->軟件類型<!--field--->softtype<!--record-->授權形式<!--field--->softsq<!--record-->軟件評價<!--field--->star<!--record-->文件類型<!--field--->filetype<!--record-->文件大小<!--field--->filesize<!--record-->下載地址<!--field--->downpath<!--record-->軟件簡介<!--field--->softsay<!--record-->', '軟件名稱<!--field--->title<!--record-->發佈時間<!--field--->newstime<!--record-->軟件預覽圖<!--field--->titlepic<!--record-->軟件作者<!--field--->softwriter<!--record-->廠商主頁<!--field--->homepage<!--record-->系統演示<!--field--->demo<!--record-->運行環境<!--field--->softfj<!--record-->軟件語言<!--field--->language<!--record-->軟件類型<!--field--->softtype<!--record-->授權形式<!--field--->softsq<!--record-->軟件評價<!--field--->star<!--record-->文件類型<!--field--->filetype<!--record-->文件大小<!--field--->filesize<!--record-->下載地址<!--field--->downpath<!--record-->軟件簡介<!--field--->softsay<!--record-->', '|38|39|40|41|', ',title,softsay,', 2, 'download', '軟件名稱<!--field--->title<!--record-->軟件預覽圖<!--field--->titlepic<!--record-->軟件作者<!--field--->softwriter<!--record-->廠商主頁<!--field--->homepage<!--record-->系統演示<!--field--->demo<!--record-->運行環境<!--field--->softfj<!--record-->軟件語言<!--field--->language<!--record-->軟件類型<!--field--->softtype<!--record-->授權形式<!--field--->softsq<!--record-->文件類型<!--field--->filetype<!--record-->文件大小<!--field--->filesize<!--record-->下載地址<!--field--->downpath<!--record-->軟件簡介<!--field--->softsay<!--record-->', ',title,downpath,softsay,', '<script>\r\nfunction AddFj(str)\r\n{var r;\r\nvar a;\r\na=document.add.softfj.value;\r\nr=a.split(str);\r\nif(r.length!=1)\r\n{return true;}\r\ndocument.add.softfj.value+=\\"/\\"+str;\r\n}\r\nfunction DelFj(str)\r\n{\r\nvar a;\r\na=document.add.softfj.value;\r\ndocument.add.softfj.value=a.replace(\\"/\\"+str,\\"\\");\r\n}\r\n</script>\r\n<table width=100% align=center cellpadding=3 cellspacing=1 class=\\"tableborder\\">\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>軟件名稱(*)</td>\r\n    <td bgcolor=ffffff>[!--title--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>軟件預覽圖</td>\r\n    <td bgcolor=ffffff>[!--titlepic--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>軟件作者</td>\r\n    <td bgcolor=ffffff>[!--softwriter--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>廠商主頁</td>\r\n    <td bgcolor=ffffff>[!--homepage--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>系統演示</td>\r\n    <td bgcolor=ffffff>[!--demo--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>運行環境</td>\r\n    <td bgcolor=ffffff>[!--softfj--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td height=25 bgcolor=ffffff>&nbsp;</td>\r\n    <td bgcolor=ffffff><input type=checkbox name=check value=\\\'Win9X/Me\\\' onclick=\\"if(this.checked){AddFj(this.value);}else{DelFj(this.value);}\\">\r\n      Win9X/Me&nbsp; <input type=checkbox name=check value=\\\'WinNT/2000/XP\\\' onclick=\\"if(this.checked){AddFj(this.value);}else{DelFj(this.value);}\\">\r\n      WinNT/2000/XP&nbsp; <input type=checkbox name=check value=\\\'Unix\\\' onclick=\\"if(this.checked){AddFj(this.value);}else{DelFj(this.value);}\\">\r\n      Unix&nbsp; <input type=checkbox name=check value=\\\'Linux\\\' onclick=\\"if(this.checked){AddFj(this.value);}else{DelFj(this.value);}\\">\r\n      Linux&nbsp; <input type=checkbox name=check value=\\\'DOS\\\' onclick=\\"if(this.checked){AddFj(this.value);}else{DelFj(this.value);}\\">\r\n      DOS&nbsp; <input type=checkbox name=check value=\\\'MAC OS\\\' onclick=\\"if(this.checked){AddFj(this.value);}else{DelFj(this.value);}\\">\r\n      MAC OS&nbsp; <input type=checkbox name=check value=\\\'Other\\\' onclick=\\"if(this.checked){AddFj(this.value);}else{DelFj(this.value);}\\">\r\n      Other</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>軟件屬性</td>\r\n    <td bgcolor=ffffff>軟件語言：[!--language--]，軟件類型：[!--softtype--]，授權形式：[!--softsq--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>文件</td>\r\n    <td bgcolor=ffffff>文件類型：[!--filetype--]，文件大小：[!--filesize--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>上傳軟件(*)</td>\r\n    <td bgcolor=ffffff>[!--downpath--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>軟件簡介(*)</td>\r\n    <td bgcolor=ffffff>[!--softsay--]</td>\r\n  </tr>\r\n</table>', '', 0, '軟件名稱<!--field--->title<!--record-->發佈時間<!--field--->newstime<!--record-->軟件預覽圖<!--field--->titlepic<!--record-->運行環境<!--field--->softfj<!--record-->軟件語言<!--field--->language<!--record-->軟件類型<!--field--->softtype<!--record-->授權形式<!--field--->softsq<!--record-->軟件評價<!--field--->star<!--record-->文件類型<!--field--->filetype<!--record-->文件大小<!--field--->filesize<!--record-->軟件簡介<!--field--->softsay<!--record-->', '軟件', ',title,newstime,titlepic,softwriter,homepage,demo,softfj,language,softtype,softsq,star,filetype,filesize,downpath,softsay,', ',title,newstime,titlepic,softwriter,homepage,demo,softfj,language,softtype,softsq,star,filetype,filesize,downpath,softsay,', 0, 0, 0, 0, '', 1, '', 0, '', '', '', '');
INSERT INTO phome_enewsmod VALUES (3, '圖片系統模型', '<table width=100% align=center cellpadding=3 cellspacing=1 class=tableborder>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>圖片名稱(*)</td>\r\n    <td bgcolor=ffffff>[!--title--]</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>特殊屬性</td>\r\n    <td bgcolor=\\\'ffffff\\\'>[!--special.field--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>發佈時間</td>\r\n    <td bgcolor=ffffff>[!--newstime--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>文件大小</td>\r\n    <td bgcolor=ffffff>[!--filesize--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>單圖屬性</td>\r\n    <td bgcolor=ffffff>圖片尺寸：[!--picsize--]，圖片分辨率：[!--picfbl--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>來源</td>\r\n    <td bgcolor=ffffff>[!--picfrom--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>圖片小圖</td>\r\n    <td bgcolor=ffffff>[!--titlepic--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>圖片大圖</td>\r\n    <td bgcolor=ffffff>[!--picurl--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>圖片集</td>\r\n    <td bgcolor=ffffff>[!--morepic--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>圖集屬性</td>\r\n    <td bgcolor=ffffff>每行顯示條數：[!--num--]，縮圖大小：[!--width--]*[!--height--]<font color=\\"#666666\\">(寬*高)</font></td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>圖片簡介(*)</td>\r\n    <td bgcolor=ffffff>[!--picsay--]</td>\r\n  </tr>\r\n</table>', '', '圖片名稱<!--field--->title<!--record-->發佈時間<!--field--->newstime<!--record-->文件大小<!--field--->filesize<!--record-->圖片尺寸<!--field--->picsize<!--record-->圖片分辨率<!--field--->picfbl<!--record-->來源<!--field--->picfrom<!--record-->圖片小圖<!--field--->titlepic<!--record-->圖片大圖<!--field--->picurl<!--record-->圖片集<!--field--->morepic<!--record-->每行顯示條數<!--field--->num<!--record-->縮圖寬度<!--field--->width<!--record-->縮圖高度<!--field--->height<!--record-->圖片簡介<!--field--->picsay<!--record-->', '圖片名稱<!--field--->title<!--record-->特殊屬性<!--field--->special.field<!--record-->發佈時間<!--field--->newstime<!--record-->文件大小<!--field--->filesize<!--record-->圖片尺寸<!--field--->picsize<!--record-->圖片分辨率<!--field--->picfbl<!--record-->來源<!--field--->picfrom<!--record-->圖片小圖<!--field--->titlepic<!--record-->圖片大圖<!--field--->picurl<!--record-->圖片集<!--field--->morepic<!--record-->每行顯示條數<!--field--->num<!--record-->縮圖寬度<!--field--->width<!--record-->縮圖高度<!--field--->height<!--record-->圖片簡介<!--field--->picsay<!--record-->', '圖片名稱<!--field--->title<!--record-->發佈時間<!--field--->newstime<!--record-->文件大小<!--field--->filesize<!--record-->圖片尺寸<!--field--->picsize<!--record-->圖片分辨率<!--field--->picfbl<!--record-->來源<!--field--->picfrom<!--record-->圖片小圖<!--field--->titlepic<!--record-->圖片大圖<!--field--->picurl<!--record-->圖片集<!--field--->morepic<!--record-->每行顯示條數<!--field--->num<!--record-->縮圖寬度<!--field--->width<!--record-->縮圖高度<!--field--->height<!--record-->圖片簡介<!--field--->picsay<!--record-->', '|52|53|54|', ',title,picsay,', 3, 'photo', '圖片名稱<!--field--->title<!--record-->文件大小<!--field--->filesize<!--record-->圖片尺寸<!--field--->picsize<!--record-->圖片分辨率<!--field--->picfbl<!--record-->來源<!--field--->picfrom<!--record-->圖片小圖<!--field--->titlepic<!--record-->圖片大圖<!--field--->picurl<!--record-->圖片簡介<!--field--->picsay<!--record-->', ',title,picsay,', '<table width=100% align=center cellpadding=3 cellspacing=1 class=tableborder><tr><td width=16% height=25 bgcolor=ffffff>圖片名稱</td><td bgcolor=ffffff>[!--title--]</td></tr>\r\n<tr><td width=16% height=25 bgcolor=ffffff>文件大小</td><td bgcolor=ffffff>[!--filesize--]</td></tr><tr><td width=16% height=25 bgcolor=ffffff>圖片尺寸</td><td bgcolor=ffffff>[!--picsize--]</td></tr><tr><td width=16% height=25 bgcolor=ffffff>圖片分辨率</td><td bgcolor=ffffff>[!--picfbl--]</td></tr><tr><td width=16% height=25 bgcolor=ffffff>來源</td><td bgcolor=ffffff>[!--picfrom--]</td></tr><tr><td width=16% height=25 bgcolor=ffffff>圖片小圖</td><td bgcolor=ffffff>[!--titlepic--]</td></tr><tr><td width=16% height=25 bgcolor=ffffff>圖片大圖</td><td bgcolor=ffffff>[!--picurl--]</td></tr><tr><td width=16% height=25 bgcolor=ffffff>圖片簡介</td><td bgcolor=ffffff>[!--picsay--]</td></tr></table>', '', 0, '圖片名稱<!--field--->title<!--record-->發佈時間<!--field--->newstime<!--record-->圖片小圖<!--field--->titlepic<!--record-->圖片大圖<!--field--->picurl<!--record-->圖片簡介<!--field--->picsay<!--record-->', '圖片', ',title,newstime,filesize,picsize,picfbl,picfrom,titlepic,picurl,morepic,num,width,height,picsay,', ',title,newstime,filesize,picsize,picfbl,picfrom,titlepic,picurl,morepic,num,width,height,picsay,', 0, 0, 0, 0, '', 1, '', 0, '', '', '', '');
INSERT INTO phome_enewsmod VALUES (4, 'FLASH系統模型', '<table width=100% align=center cellpadding=3 cellspacing=1 class=tableborder>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>作品名(*)</td>\r\n    <td bgcolor=ffffff>[!--title--]</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>特殊屬性</td>\r\n    <td bgcolor=\\\'ffffff\\\'>[!--special.field--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>發佈時間</td>\r\n    <td bgcolor=ffffff>[!--newstime--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>作品預覽圖</td>\r\n    <td bgcolor=ffffff>[!--titlepic--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>作者</td>\r\n    <td bgcolor=ffffff>[!--flashwriter--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>作者郵箱</td>\r\n    <td bgcolor=ffffff>[!--email--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>作品評價</td>\r\n    <td bgcolor=ffffff>[!--star--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>文件大小</td>\r\n    <td bgcolor=ffffff>[!--filesize--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>Flash地址(*)</td>\r\n    <td bgcolor=ffffff>[!--flashurl--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>Flash規格</td>\r\n    <td bgcolor=ffffff>[!--width--]*[!--height--]<font color=\\"#666666\\">(寬度*高度)</font></td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>作品簡介(*)</td>\r\n    <td bgcolor=ffffff>[!--flashsay--]</td>\r\n  </tr>\r\n</table>', '', '作品名<!--field--->title<!--record-->發佈時間<!--field--->newstime<!--record-->作品預覽圖<!--field--->titlepic<!--record-->作者<!--field--->flashwriter<!--record-->作者郵箱<!--field--->email<!--record-->作品評價<!--field--->star<!--record-->文件大小<!--field--->filesize<!--record-->Flash地址<!--field--->flashurl<!--record-->Flash寬度<!--field--->width<!--record-->Flash高度<!--field--->height<!--record-->作品簡介<!--field--->flashsay<!--record-->', '作品名<!--field--->title<!--record-->特殊屬性<!--field--->special.field<!--record-->發佈時間<!--field--->newstime<!--record-->作品預覽圖<!--field--->titlepic<!--record-->作者<!--field--->flashwriter<!--record-->作者郵箱<!--field--->email<!--record-->作品評價<!--field--->star<!--record-->文件大小<!--field--->filesize<!--record-->Flash地址<!--field--->flashurl<!--record-->Flash寬度<!--field--->width<!--record-->Flash高度<!--field--->height<!--record-->作品簡介<!--field--->flashsay<!--record-->', '作品名<!--field--->title<!--record-->發佈時間<!--field--->newstime<!--record-->作品預覽圖<!--field--->titlepic<!--record-->作者<!--field--->flashwriter<!--record-->作者郵箱<!--field--->email<!--record-->作品評價<!--field--->star<!--record-->文件大小<!--field--->filesize<!--record-->Flash地址<!--field--->flashurl<!--record-->Flash寬度<!--field--->width<!--record-->Flash高度<!--field--->height<!--record-->作品簡介<!--field--->flashsay<!--record-->', '|50|51|', ',title,flashwriter,flashsay,', 4, 'flash', '作品名<!--field--->title<!--record-->作品預覽圖<!--field--->titlepic<!--record-->作者<!--field--->flashwriter<!--record-->作者郵箱<!--field--->email<!--record-->文件大小<!--field--->filesize<!--record-->Flash地址<!--field--->flashurl<!--record-->Flash寬度<!--field--->width<!--record-->Flash高度<!--field--->height<!--record-->作品簡介<!--field--->flashsay<!--record-->', ',title,flashurl,flashsay,', '<table width=\\\'100%\\\' align=center cellpadding=3 cellspacing=1 class=tableborder>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>作品名(*)</td>\r\n    <td bgcolor=ffffff>[!--title--]</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>作品預覽圖</td>\r\n    <td bgcolor=ffffff>[!--titlepic--]</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>作者</td>\r\n    <td bgcolor=ffffff>[!--flashwriter--]</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>作者郵箱</td>\r\n    <td bgcolor=ffffff>[!--email--]</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>文件大小</td>\r\n    <td bgcolor=ffffff>[!--filesize--]</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>上傳Flash(*)</td>\r\n    <td bgcolor=ffffff>[!--flashurl--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>Flash規格</td>\r\n    <td bgcolor=ffffff>[!--width--]*[!--height--]<font color=\\"#666666\\">(寬度*高度)</font></td>\r\n  </tr>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>作品簡介(*)</td>\r\n    <td bgcolor=ffffff>[!--flashsay--]</td>\r\n  </tr>\r\n</table>\r\n', '', 0, '作品名<!--field--->title<!--record-->發佈時間<!--field--->newstime<!--record-->作品預覽圖<!--field--->titlepic<!--record-->作者<!--field--->flashwriter<!--record-->作品評價<!--field--->star<!--record-->文件大小<!--field--->filesize<!--record-->Flash地址<!--field--->flashurl<!--record-->作品簡介<!--field--->flashsay<!--record-->', 'FLASH', ',title,newstime,titlepic,flashwriter,email,star,filesize,flashurl,width,height,flashsay,', ',title,newstime,titlepic,flashwriter,email,star,filesize,flashurl,width,height,flashsay,', 0, 0, 0, 0, '', 1, '', 0, '', '', '', '');
INSERT INTO phome_enewsmod VALUES (5, '電影系統模型', '<table width=100% align=center cellpadding=3 cellspacing=1 class=tableborder>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>影片名(*)</td>\r\n    <td bgcolor=ffffff>[!--title--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>特殊屬性</td>\r\n    <td bgcolor=\\\'ffffff\\\'>[!--special.field--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>發佈時間</td>\r\n    <td bgcolor=ffffff>[!--newstime--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>影片縮略圖</td>\r\n    <td bgcolor=ffffff>[!--titlepic--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>影片類型</td>\r\n    <td bgcolor=ffffff>[!--movietype--]，推薦等級：[!--star--]，扣除點數：[!--moviefen--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>出品公司</td>\r\n    <td bgcolor=ffffff>[!--company--]，出品時間：[!--movietime--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>主演</td>\r\n    <td bgcolor=ffffff>[!--player--]，導演&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;：[!--playadmin--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>影片文件</td>\r\n    <td bgcolor=ffffff>影片格式：[!--filetype--]，影片大小：[!--filesize--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>影片屬性</td>\r\n    <td bgcolor=ffffff>帶寬要求：[!--playdk--]，片長：[!--playtime--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>下載地址</td>\r\n    <td bgcolor=ffffff>[!--downpath--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>在線觀看播放器</td>\r\n    <td bgcolor=ffffff>[!--playerid--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>在線觀看地址</td>\r\n    <td bgcolor=ffffff>[!--onlinepath--]</td>\r\n  </tr>\r\n  <tr> \r\n    <td width=16% height=25 bgcolor=ffffff>影片簡介(*)</td>\r\n    <td bgcolor=ffffff>[!--moviesay--]</td>\r\n  </tr>\r\n</table>\r\n', '', '影片名<!--field--->title<!--record-->發佈時間<!--field--->newstime<!--record-->影片縮略圖<!--field--->titlepic<!--record-->影片類型<!--field--->movietype<!--record-->出品公司<!--field--->company<!--record-->出品時間<!--field--->movietime<!--record-->主演<!--field--->player<!--record-->導演<!--field--->playadmin<!--record-->影片格式<!--field--->filetype<!--record-->影片大小<!--field--->filesize<!--record-->推薦等級<!--field--->star<!--record-->帶寬要求<!--field--->playdk<!--record-->片長<!--field--->playtime<!--record-->扣除點數<!--field--->moviefen<!--record-->下載地址<!--field--->downpath<!--record-->播放器<!--field--->playerid<!--record-->在線觀看地址<!--field--->onlinepath<!--record-->影片簡介<!--field--->moviesay<!--record-->', '影片名<!--field--->title<!--record-->特殊屬性<!--field--->special.field<!--record-->發佈時間<!--field--->newstime<!--record-->影片縮略圖<!--field--->titlepic<!--record-->影片類型<!--field--->movietype<!--record-->出品公司<!--field--->company<!--record-->出品時間<!--field--->movietime<!--record-->主演<!--field--->player<!--record-->導演<!--field--->playadmin<!--record-->影片格式<!--field--->filetype<!--record-->影片大小<!--field--->filesize<!--record-->推薦等級<!--field--->star<!--record-->帶寬要求<!--field--->playdk<!--record-->片長<!--field--->playtime<!--record-->扣除點數<!--field--->moviefen<!--record-->下載地址<!--field--->downpath<!--record-->播放器<!--field--->playerid<!--record-->在線觀看地址<!--field--->onlinepath<!--record-->影片簡介<!--field--->moviesay<!--record-->', '影片名<!--field--->title<!--record-->發佈時間<!--field--->newstime<!--record-->影片縮略圖<!--field--->titlepic<!--record-->影片類型<!--field--->movietype<!--record-->出品公司<!--field--->company<!--record-->出品時間<!--field--->movietime<!--record-->主演<!--field--->player<!--record-->導演<!--field--->playadmin<!--record-->影片格式<!--field--->filetype<!--record-->影片大小<!--field--->filesize<!--record-->推薦等級<!--field--->star<!--record-->帶寬要求<!--field--->playdk<!--record-->片長<!--field--->playtime<!--record-->扣除點數<!--field--->moviefen<!--record-->下載地址<!--field--->downpath<!--record-->播放器<!--field--->playerid<!--record-->在線觀看地址<!--field--->onlinepath<!--record-->影片簡介<!--field--->moviesay<!--record-->', '|42|43|44|45|', ',title,movietype,company,player,playadmin,moviesay,', 5, 'movie', '', ',title,moviesay,', '<table width=100% align=center cellpadding=3 cellspacing=1 bgcolor=#DBEAF5></table>', '', 0, '影片名<!--field--->title<!--record-->發佈時間<!--field--->newstime<!--record-->影片縮略圖<!--field--->titlepic<!--record-->影片類型<!--field--->movietype<!--record-->出品公司<!--field--->company<!--record-->出品時間<!--field--->movietime<!--record-->主演<!--field--->player<!--record-->導演<!--field--->playadmin<!--record-->影片格式<!--field--->filetype<!--record-->影片大小<!--field--->filesize<!--record-->推薦等級<!--field--->star<!--record-->扣除點數<!--field--->moviefen<!--record-->影片簡介<!--field--->moviesay<!--record-->', '電影', ',title,newstime,titlepic,movietype,company,movietime,player,playadmin,filetype,filesize,star,playdk,playtime,moviefen,downpath,playerid,onlinepath,moviesay,', ',title,newstime,titlepic,movietype,company,movietime,player,playadmin,filetype,filesize,star,playdk,playtime,moviefen,downpath,playerid,onlinepath,moviesay,', 0, 0, 0, 0, '', 1, '', 0, '', '', '', '');
INSERT INTO phome_enewsmod VALUES (6, '商城系統模型', '<table width=100% align=center cellpadding=3 cellspacing=1 class=tableborder>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>商品名稱(*)</td>\r\n    <td bgcolor=ffffff>[!--title--]</td>\r\n  </tr>\r\n  <tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>特殊屬性</td><td bgcolor=\\\'ffffff\\\'>[!--special.field--]</td></tr>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>發佈時間</td>\r\n    <td bgcolor=ffffff>[!--newstime--]</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>商品編號</td>\r\n    <td bgcolor=ffffff>[!--productno--]</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>品牌</td>\r\n    <td bgcolor=ffffff>[!--pbrand--]</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>簡單描述</td>\r\n    <td bgcolor=ffffff>[!--intro--]</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>計量單位</td>\r\n    <td bgcolor=ffffff>[!--unit--]</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>單位重量</td>\r\n    <td bgcolor=ffffff>[!--weight--]</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>市場價格</td>\r\n    <td bgcolor=ffffff>[!--tprice--]元</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>購買價格</td>\r\n    <td bgcolor=ffffff>[!--price--]元</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>積分購買</td>\r\n    <td bgcolor=ffffff>[!--buyfen--]點</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>庫存</td>\r\n    <td bgcolor=ffffff>[!--pmaxnum--]</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>商品縮略片</td>\r\n    <td bgcolor=ffffff>[!--titlepic--]</td>\r\n  </tr>\r\n  <tr>\r\n    <td width=16% height=25 bgcolor=ffffff>商品大圖</td>\r\n    <td bgcolor=ffffff>[!--productpic--]</td>\r\n  </tr>\r\n  <tr>\r\n    <td height=25 colspan=2 bgcolor=ffffff><div align=left>商品介紹(*)</div></td>\r\n  </tr>\r\n</table>\r\n<div style=\\"background-color:#D0D0D0\\">[!--newstext--]</div>', '', '商品名稱<!--field--->title<!--record-->發佈時間<!--field--->newstime<!--record-->商品編號<!--field--->productno<!--record-->品牌<!--field--->pbrand<!--record-->簡單描述<!--field--->intro<!--record-->計量單位<!--field--->unit<!--record-->單位重量<!--field--->weight<!--record-->市場價格<!--field--->tprice<!--record-->購買價格<!--field--->price<!--record-->積分購買<!--field--->buyfen<!--record-->庫存<!--field--->pmaxnum<!--record-->商品縮略片<!--field--->titlepic<!--record-->商品大圖<!--field--->productpic<!--record-->商品介紹<!--field--->newstext<!--record-->', '商品名稱<!--field--->title<!--record-->特殊屬性<!--field--->special.field<!--record-->發佈時間<!--field--->newstime<!--record-->商品編號<!--field--->productno<!--record-->品牌<!--field--->pbrand<!--record-->簡單描述<!--field--->intro<!--record-->計量單位<!--field--->unit<!--record-->單位重量<!--field--->weight<!--record-->市場價格<!--field--->tprice<!--record-->購買價格<!--field--->price<!--record-->積分購買<!--field--->buyfen<!--record-->庫存<!--field--->pmaxnum<!--record-->商品縮略片<!--field--->titlepic<!--record-->商品大圖<!--field--->productpic<!--record-->商品介紹<!--field--->newstext<!--record-->', '商品名稱<!--field--->title<!--record-->發佈時間<!--field--->newstime<!--record-->商品編號<!--field--->productno<!--record-->品牌<!--field--->pbrand<!--record-->簡單描述<!--field--->intro<!--record-->計量單位<!--field--->unit<!--record-->單位重量<!--field--->weight<!--record-->市場價格<!--field--->tprice<!--record-->購買價格<!--field--->price<!--record-->積分購買<!--field--->buyfen<!--record-->庫存<!--field--->pmaxnum<!--record-->商品縮略片<!--field--->titlepic<!--record-->商品大圖<!--field--->productpic<!--record-->商品介紹<!--field--->newstext<!--record-->銷售量<!--field--->psalenum<!--record-->', '|46|47|48|49|', ',title,productno,pbrand,intro,price,newstext,', 6, 'shop', '', ',title,newstext,', '<table width=100% align=center cellpadding=3 cellspacing=1 bgcolor=#DBEAF5></table>', '', 0, '商品名稱<!--field--->title<!--record-->發佈時間<!--field--->newstime<!--record-->商品編號<!--field--->productno<!--record-->品牌<!--field--->pbrand<!--record-->簡單描述<!--field--->intro<!--record-->計量單位<!--field--->unit<!--record-->單位重量<!--field--->weight<!--record-->市場價格<!--field--->tprice<!--record-->購買價格<!--field--->price<!--record-->積分購買<!--field--->buyfen<!--record-->庫存<!--field--->pmaxnum<!--record-->商品縮略片<!--field--->titlepic<!--record-->商品大圖<!--field--->productpic<!--record-->商品介紹<!--field--->newstext<!--record-->銷售量<!--field--->psalenum<!--record-->', '商品', ',title,newstime,productno,pbrand,intro,unit,weight,tprice,price,buyfen,pmaxnum,titlepic,productpic,newstext,', ',title,newstime,productno,pbrand,intro,unit,weight,tprice,price,buyfen,pmaxnum,titlepic,productpic,newstext,', 0, 0, 0, 0, '', 1, '', 0, '', '', '', '');
INSERT INTO phome_enewsmod VALUES (7, '文章系統模型', '<table width=\\\'100%\\\' align=center cellpadding=3 cellspacing=1 class=\\"tableborder\\"><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>標題(*)</td><td bgcolor=\\\'ffffff\\\'>[!--title--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>副標題</td><td bgcolor=\\\'ffffff\\\'>[!--ftitle--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>特殊屬性</td><td bgcolor=\\\'ffffff\\\'>[!--special.field--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>發佈時間</td><td bgcolor=\\\'ffffff\\\'>[!--newstime--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>標題圖片</td><td bgcolor=\\\'ffffff\\\'>[!--titlepic--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>內容簡介</td><td bgcolor=\\\'ffffff\\\'>[!--smalltext--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>作者</td><td bgcolor=\\\'ffffff\\\'>[!--writer--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>信息來源</td><td bgcolor=\\\'ffffff\\\'>[!--befrom--]</td></tr><tr><td height=25 colspan=2 bgcolor=\\\'ffffff\\\'><div align=left>新聞正文(*)</div></td></tr></table><div style=\\"background-color:#D0D0D0\\">[!--newstext--]</div>', '', '標題<!--field--->title<!--record-->副標題<!--field--->ftitle<!--record-->發佈時間<!--field--->newstime<!--record-->標題圖片<!--field--->titlepic<!--record-->內容簡介<!--field--->smalltext<!--record-->作者<!--field--->writer<!--record-->信息來源<!--field--->befrom<!--record-->新聞正文<!--field--->newstext<!--record-->', '標題<!--field--->title<!--record-->副標題<!--field--->ftitle<!--record-->特殊屬性<!--field--->special.field<!--record-->發佈時間<!--field--->newstime<!--record-->標題圖片<!--field--->titlepic<!--record-->內容簡介<!--field--->smalltext<!--record-->作者<!--field--->writer<!--record-->信息來源<!--field--->befrom<!--record-->新聞正文<!--field--->newstext<!--record-->', '標題<!--field--->title<!--record-->副標題<!--field--->ftitle<!--record-->發佈時間<!--field--->newstime<!--record-->標題圖片<!--field--->titlepic<!--record-->內容簡介<!--field--->smalltext<!--record-->作者<!--field--->writer<!--record-->信息來源<!--field--->befrom<!--record-->新聞正文<!--field--->newstext<!--record-->頂<!--field--->diggtop<!--record-->', '|55|56|57|', ',title,smalltext,', 7, 'article', '標題<!--field--->title<!--record-->副標題<!--field--->ftitle<!--record-->標題圖片<!--field--->titlepic<!--record-->內容簡介<!--field--->smalltext<!--record-->作者<!--field--->writer<!--record-->信息來源<!--field--->befrom<!--record-->新聞正文<!--field--->newstext<!--record-->', ',title,newstext,', '<table width=100% align=center cellpadding=3 cellspacing=1 class=\\"tableborder\\"><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>標題(*)</td><td bgcolor=\\\'ffffff\\\'>[!--title--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>副標題</td><td bgcolor=\\\'ffffff\\\'>[!--ftitle--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>標題圖片</td><td bgcolor=\\\'ffffff\\\'>[!--titlepic--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>內容簡介</td><td bgcolor=\\\'ffffff\\\'>[!--smalltext--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>作者</td><td bgcolor=\\\'ffffff\\\'>[!--writer--]</td></tr><tr><td width=\\\'16%\\\' height=25 bgcolor=\\\'ffffff\\\'>信息來源</td><td bgcolor=\\\'ffffff\\\'>[!--befrom--]</td></tr><tr><td height=25 colspan=2 bgcolor=\\\'ffffff\\\'><div align=left>新聞正文(*)</div></td></tr></table><div style=\\"background-color:#D0D0D0\\">[!--newstext--]</div>', '', 0, '標題<!--field--->title<!--record-->副標題<!--field--->ftitle<!--record-->發佈時間<!--field--->newstime<!--record-->標題圖片<!--field--->titlepic<!--record-->內容簡介<!--field--->smalltext<!--record-->頂<!--field--->diggtop<!--record-->', '文章', ',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,', ',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,', 0, 0, 0, 0, '', 1, '', 0, '', '', '', '');
INSERT INTO phome_enewsmod VALUES (8, '分類信息系統模型', '<table width=100% align=center cellpadding=3 cellspacing=1 class=\\"tableborder\\"><tr><td width=16% height=25 bgcolor=ffffff>標題</td><td bgcolor=ffffff>[!--title--]</td></tr><tr><td width=16% height=25 bgcolor=ffffff>特殊屬性</td><td bgcolor=ffffff>[!--special.field--]</td></tr><tr><td width=16% height=25 bgcolor=ffffff>發佈時間</td><td bgcolor=ffffff>[!--newstime--]</td></tr><tr><td width=16% height=25 bgcolor=ffffff>信息內容</td><td bgcolor=ffffff>[!--smalltext--]</td></tr><tr><td width=16% height=25 bgcolor=ffffff>圖片</td><td bgcolor=ffffff>[!--titlepic--]</td></tr><tr><td width=16% height=25 bgcolor=ffffff>所在地</td><td bgcolor=ffffff>[!--myarea--]</td></tr><tr><td width=16% height=25 bgcolor=ffffff>聯繫郵箱</td><td bgcolor=ffffff>[!--email--]</td></tr><tr><td width=16% height=25 bgcolor=ffffff>聯繫方式</td><td bgcolor=ffffff>[!--mycontact--]</td></tr><tr><td width=16% height=25 bgcolor=ffffff>聯繫地址</td><td bgcolor=ffffff>[!--address--]</td></tr></table>', '', '標題<!--field--->title<!--record-->發佈時間<!--field--->newstime<!--record-->信息內容<!--field--->smalltext<!--record-->圖片<!--field--->titlepic<!--record-->所在地<!--field--->myarea<!--record-->聯繫郵箱<!--field--->email<!--record-->聯繫方式<!--field--->mycontact<!--record-->聯繫地址<!--field--->address<!--record-->', '標題<!--field--->title<!--record-->特殊屬性<!--field--->special.field<!--record-->發佈時間<!--field--->newstime<!--record-->信息內容<!--field--->smalltext<!--record-->圖片<!--field--->titlepic<!--record-->所在地<!--field--->myarea<!--record-->聯繫郵箱<!--field--->email<!--record-->聯繫方式<!--field--->mycontact<!--record-->聯繫地址<!--field--->address<!--record-->', '標題<!--field--->title<!--record-->發佈時間<!--field--->newstime<!--record-->信息內容<!--field--->smalltext<!--record-->圖片<!--field--->titlepic<!--record-->所在地<!--field--->myarea<!--record-->聯繫郵箱<!--field--->email<!--record-->聯繫方式<!--field--->mycontact<!--record-->聯繫地址<!--field--->address<!--record-->', '|11|12|13|14|15|16|18|19|20|21|23|24|25|26|28|29|30|31|', ',title,smalltext,myarea,', 8, 'info', '標題<!--field--->title<!--record-->信息內容<!--field--->smalltext<!--record-->圖片<!--field--->titlepic<!--record-->所在地<!--field--->myarea<!--record-->聯繫郵箱<!--field--->email<!--record-->聯繫方式<!--field--->mycontact<!--record-->聯繫地址<!--field--->address<!--record-->', ',title,smalltext,myarea,email,', '<table width=100% align=center cellpadding=3 cellspacing=1 class=\\"tableborder\\"><tr>\r\n    <td width=16% height=25 bgcolor=ffffff>信息標題(*)</td>\r\n    <td bgcolor=ffffff>[!--title--]</td></tr><tr>\r\n    <td width=16% height=25 bgcolor=ffffff>信息內容(*)</td>\r\n    <td bgcolor=ffffff>[!--smalltext--]</td></tr><tr><td width=16% height=25 bgcolor=ffffff>圖片</td><td bgcolor=ffffff>[!--titlepic--]</td></tr><tr>\r\n    <td width=16% height=25 bgcolor=ffffff>所在地(*)</td>\r\n    <td bgcolor=ffffff>[!--myarea--]</td></tr><tr>\r\n    <td width=16% height=25 bgcolor=ffffff>聯繫郵箱(*)</td>\r\n    <td bgcolor=ffffff>[!--email--]</td></tr><tr><td width=16% height=25 bgcolor=ffffff>聯繫方式</td><td bgcolor=ffffff>[!--mycontact--]</td></tr><tr><td width=16% height=25 bgcolor=ffffff>聯繫地址</td><td bgcolor=ffffff>[!--address--]</td></tr></table>', ',myarea,', 0, '標題<!--field--->title<!--record-->發佈時間<!--field--->newstime<!--record-->信息內容<!--field--->smalltext<!--record-->圖片<!--field--->titlepic<!--record-->所在地<!--field--->myarea<!--record-->', '分類信息', ',title,newstime,smalltext,titlepic,myarea,email,mycontact,address,', ',title,newstime,smalltext,titlepic,myarea,email,mycontact,address,', 0, 0, 0, 0, '', 1, '', 0, '', '', '', '');


INSERT INTO phome_enewsmodlist VALUES (1, '默認系統模型列表', 1, '默認系統模型列表', 0, '', '', '', '', '\r\n	<table width=\\"100%\\" border=\\"0\\" align=\\"center\\" cellpadding=\\"3\\" cellspacing=\\"1\\" class=\\"tableborder\\">\r\n    <tr> \r\n      <td width=\\"3%\\"><div align=\\"center\\"></div></td>\r\n      <td width=\\"6%\\" height=\\"25\\"><div align=\\"center\\">ID</div></td>\r\n      <td width=\\"36%\\" height=\\"25\\"><div align=\\"center\\">標題</div></td>\r\n      <td width=\\"12%\\" height=\\"25\\"><div align=\\"center\\">發佈者</div></td>\r\n      <td width=\\"16%\\" height=\\"25\\"> <div align=\\"center\\">發佈時間</div></td>\r\n	  <td width=\\"7%\\" height=\\"25\\"><div align=\\"center\\">點擊</div></td>\r\n      <td width=\\"6%\\"><div align=\\"center\\">評論</div></td>\r\n      <td width=\\"14%\\" height=\\"25\\"> <div align=\\"center\\">操作</div></td>\r\n    </tr>\r\n	[!--empirenews.listtemp--]\r\n    <tr bgcolor=\\"#FFFFFF\\" onmouseout=\\"this.style.backgroundColor=\\\'#ffffff\\\'\\" onmouseover=\\"this.style.backgroundColor=\\\'#C3EFFF\\\'\\"> \r\n      <td><div align=\\"center\\"> \r\n          <input name=\\"id[]\\" type=\\"checkbox\\" id=\\"id[]\\" value=\\"<?=$r[\\\'id\\\']?>\\"<?=$checked?>>\r\n		  <input name=\\"infoid[]\\" type=\\"hidden\\" value=\\"<?=$r[\\\'id\\\']?>\\">\r\n        </div></td>\r\n      <td height=\\"42\\"> <div align=\\"center\\"> \r\n          <?=$myid?>\r\n        </div></td>\r\n      <td height=\\"25\\"> <div align=\\"left\\"> \r\n          <?=$st?>\r\n          <?=$showtitlepic?>\r\n          <a href=\\"<?=$titleurl?>\\"<?=$eagotourl_onclick?> target=_blank title=\\"<?=$oldtitle?>\\">\r\n          <?=$r[\\\'title\\\']?>\r\n          </a> \r\n          <?=$qf?>\r\n          <br>\r\n          <font color=\\"#574D5C\\">欄目:<a href=\\\'<?=$liurl_class?>\\\'> \r\n          <font color=\\"#574D5C\\">\r\n          <?=$class_r[$dob][\\\'classname\\\']?>\r\n          </font> </a> > <a href=\\\'<?=$liurl_class?>\\\'> \r\n          <font color=\\"#574D5C\\">\r\n          <?=$class_r[$r[\\\'classid\\\']][\\\'classname\\\']?>\r\n          </font> </a></font></div></td>\r\n      <td height=\\"25\\"<?=$r[\\\'eckuid\\\']?\\\' title=\\"審核人UID：\\\'.$r[\\\'eckuid\\\'].\\\'\\"\\\':\\\'\\\'?>> <div align=\\"center\\"> \r\n          <?=$r[\\\'username\\\']?>\r\n        </div></td>\r\n      <td height=\\"25\\" title=\\"<?php echo\\"增加時間：\\".$truetime.\\"\\\\r\\\\n最後修改：\\".$lastdotime;?>\\"> <div align=\\"center\\">\r\n          <input name=\\"newstime[]\\" type=\\"text\\" value=\\"<?=date(\\"Y-m-d H:i:s\\",$r[\\\'newstime\\\'])?>\\" size=\\"20\\">\r\n        </div></td>\r\n      <td height=\\"25\\"> <div align=\\"center\\"><a title=\\"下載次數:<?=$r[\\\'totaldown\\\']?>\\"> \r\n          <?=$r[\\\'onclick\\\']?>\r\n          </a></div></td>\r\n      <td><div align=\\"center\\"><a href=\\"<?=$liurl_pl?>\\" target=\\"_blank\\" title=\\"管理評論\\"><u><?=$r[\\\'plnum\\\']?></u></a></div></td>\r\n      <td height=\\"25\\"> <div align=\\"center\\"><a href=\\"<?=$liurl_edit?>\\" target=\\"_blank\\">修改</a> | <a href=\\"#empirecms\\" onclick=\\"window.open(\\\'<?=$liurl_edits?>\\\',\\\'EditInfoSimple\\\',\\\'width=600,height=360,scrollbars=yes,resizable=yes\\\');\\">簡改</a> | <?=$liurl_fzhref?> | <a href=\\"<?=$liurl_del?>\\" onclick=\\"return confirm(\\\'確認要刪除？\\\');\\">刪除</a> \r\n        </div></td>\r\n    </tr>\r\n	[!--empirenews.listtemp--]\r\n	</table>\r\n	', '\r\n	<table width=\\"100%\\" border=\\"0\\" align=\\"center\\" cellpadding=\\"3\\" cellspacing=\\"1\\" class=\\"tableborder\\">\r\n    <tr> \r\n      <td width=\\"3%\\"><div align=\\"center\\"></div></td>\r\n      <td width=\\"6%\\" height=\\"25\\"><div align=\\"center\\"><a href=\\\'ListNews.php?<?=$search1?>&myorder=4\\\'><u>ID</u></a></div></td>\r\n      <td width=\\"36%\\" height=\\"25\\"> <div align=\\"center\\">標題</div></td>\r\n      <td width=\\"12%\\" height=\\"25\\"><div align=\\"center\\">發佈者</div></td>\r\n      <td width=\\"16%\\" height=\\"25\\"> <div align=\\"center\\"><a href=\\\'ListNews.php?<?=$search1?>&myorder=1\\\'><u>發佈時間</u></a></div></td>\r\n	  <td width=\\"7%\\" height=\\"25\\"><div align=\\"center\\"><a href=\\\'ListNews.php?<?=$search1?>&myorder=3\\\'><u>點擊</u></a></div></td>\r\n      <td width=\\"6%\\"><div align=\\"center\\"><a href=\\\'ListNews.php?<?=$search1?>&myorder=2\\\'><u>評論</u></a></div></td>\r\n      <td width=\\"14%\\" height=\\"25\\"> <div align=\\"center\\">操作</div></td>\r\n    </tr>\r\n	[!--empirenews.listtemp--]\r\n    <tr bgcolor=\\"#FFFFFF\\" onmouseout=\\"this.style.backgroundColor=\\\'#ffffff\\\'\\" onmouseover=\\"this.style.backgroundColor=\\\'#C3EFFF\\\'\\" id=news<?=$r[\\\'id\\\']?>> \r\n      <td><div align=\\"center\\"> \r\n          <input name=\\"id[]\\" type=\\"checkbox\\" id=\\"id[]\\" value=\\"<?=$r[\\\'id\\\']?>\\"<?=$checked?>>\r\n		  <input name=\\"infoid[]\\" type=\\"hidden\\" value=\\"<?=$r[\\\'id\\\']?>\\">\r\n        </div></td>\r\n      <td height=\\"32\\"> <div align=\\"center\\"> \r\n          <?=$myid?>\r\n        </div></td>\r\n      <td height=\\"25\\"> <div align=\\"left\\"> \r\n          <?=$st?>\r\n          <?=$showtitlepic?>\r\n          <a href=\\"<?=$titleurl?>\\"<?=$eagotourl_onclick?> target=_blank title=\\"<?=$oldtitle?>\\"> \r\n          <?=$r[\\\'title\\\']?>\r\n          </a> \r\n          <?=$qf?>\r\n        </div></td>\r\n      <td height=\\"25\\"<?=$r[\\\'eckuid\\\']?\\\' title=\\"審核人UID：\\\'.$r[\\\'eckuid\\\'].\\\'\\"\\\':\\\'\\\'?>> <div align=\\"center\\"> \r\n          <?=$r[\\\'username\\\']?>\r\n        </div></td>\r\n      <td height=\\"25\\" title=\\"<?php echo\\"增加時間：\\".$truetime.\\"\\\\r\\\\n最後修改：\\".$lastdotime;?>\\"> <div align=\\"center\\"> \r\n		  <input name=\\"newstime[]\\" type=\\"text\\" value=\\"<?=date(\\"Y-m-d H:i:s\\",$r[\\\'newstime\\\'])?>\\" size=\\"20\\">\r\n        </div></td>\r\n      <td height=\\"25\\"> <div align=\\"center\\"> <a title=\\"下載次數:<?=$r[\\\'totaldown\\\']?>\\"> \r\n          <?=$r[\\\'onclick\\\']?>\r\n          </a> </div></td>\r\n      <td><div align=\\"center\\"><a href=\\"<?=$liurl_pl?>\\" target=_blank title=\\"管理評論\\"><u> \r\n          <?=$r[\\\'plnum\\\']?>\r\n          </u></a></div></td>\r\n      <td height=\\"25\\"> <div align=\\"center\\"><a href=\\"<?=$liurl_edit?>\\">修改</a> | <a href=\\"#empirecms\\" onclick=\\"window.open(\\\'<?=$liurl_edits?>\\\',\\\'EditInfoSimple\\\',\\\'width=600,height=360,scrollbars=yes,resizable=yes\\\');\\">簡改</a> | <?=$liurl_fzhref?> | <a href=\\"<?=$liurl_del?>\\" onClick=\\"return confirm(\\\'確認要刪除？\\\');\\">刪除</a>\r\n        </div></td>\r\n    </tr>\r\n	[!--empirenews.listtemp--]\r\n	</table>\r\n	', '\r\n<table width=\\"100%\\" border=\\"0\\" align=\\"center\\" cellpadding=\\"3\\" cellspacing=\\"1\\" class=\\"tableborder\\">\r\n  <tr class=\\"header\\"> \r\n    <td width=\\"50%\\" height=\\"25\\"> <div align=\\"center\\">標題</div></td>\r\n    <td width=\\"13%\\" height=\\"25\\"> <div align=\\"center\\">發佈時間</div></td>\r\n	<td width=\\"8%\\" height=\\"25\\"> \r\n      <div align=\\"center\\">點擊</div></td>\r\n    <td width=\\"6%\\">\r\n      <div align=\\"center\\">評論</div></td>\r\n    <td width=\\"6%\\"><div align=\\"center\\">審核</div></td>\r\n    <td width=\\"17%\\" height=\\"25\\"> \r\n      <div align=\\"center\\">操作</div></td>\r\n  </tr>\r\n  [!--empirenews.listtemp--]\r\n  <tr bgcolor=\\"#FFFFFF\\" id=news<?=$r[\\\'id\\\']?>> \r\n    <td height=\\"25\\"> <div align=\\"left\\"> \r\n        <?=$st?>\r\n		<?=$showtitlepic?>\r\n        <a href=\\"<?=$titleurl?>\\" target=_blank title=\\"<?=$oldtitle?>\\"> \r\n        <strong><?=$r[\\\'title\\\']?></strong>        </a>\r\n		<br>\r\n          欄目:<a href=\\\'<?=$bclassurl?>\\\' target=\\\'_blank\\\'><?=$bclassname?></a> > <a href=\\\'<?=$classurl?>\\\' target=\\\'_blank\\\'><?=$classname?></a>\r\n      </div></td>\r\n    <td height=\\"25\\"> <div align=\\"center\\"><?=$newstime?></div></td>\r\n	<td height=\\"25\\"> <div align=\\"center\\"> <a title=\\"下載次數:<?=$r[\\\'totaldown\\\']?>\\"> \r\n        <?=$r[\\\'onclick\\\']?>\r\n        </a> </div></td>\r\n    <td><div align=\\"center\\"><a href=\\"<?=$eplurl?>\\" title=\\"查看評論\\" target=_blank><u><?=$plnum?></u></a></div></td>\r\n    <td><div align=\\"center\\">\r\n        <?=$checked?>\r\n      </div></td>\r\n    <td height=\\"25\\"><div align=\\"center\\"><a href=\\"<?=$liurl_edit?>\\">修改</a> | <a href=\\"<?=$liurl_del?>\\" onclick=\\"return confirm(\\\'確認要刪除?\\\');\\">刪除</a> \r\n      </div></td>\r\n  </tr>\r\n  [!--empirenews.listtemp--]\r\n	</table>\r\n	', '\r\n  <table width=\\"100%\\" border=\\"0\\" align=\\"center\\" cellpadding=\\"3\\" cellspacing=\\"1\\" class=\\"tableborder\\">\r\n    <tr class=\\"header\\"> \r\n      <td width=\\"7%\\" height=\\"25\\"><div align=\\"center\\"><a href=\\\'ListInfoDoc.php?<?=$search1?>&myorder=4\\\'><u>ID</u></a></div></td>\r\n      <td width=\\"47%\\" height=\\"25\\"> <div align=\\"center\\">標題</div></td>\r\n      <td width=\\"18%\\" height=\\"25\\"><div align=\\"center\\">發佈者</div></td>\r\n      <td width=\\"22%\\" height=\\"25\\"> <div align=\\"center\\"><a href=\\\'ListInfoDoc.php?<?=$search1?>&myorder=1\\\'><u>發佈時間</u></a></div></td>\r\n      <td width=\\"6%\\" height=\\"25\\"> <div align=\\"center\\">選擇</div></td>\r\n    </tr>\r\n	[!--empirenews.listtemp--]\r\n    <tr bgcolor=\\"#FFFFFF\\" id=news<?=$r[\\\'id\\\']?> onmouseout=\\"this.style.backgroundColor=\\\'#ffffff\\\'\\" onmouseover=\\"this.style.backgroundColor=\\\'#C3EFFF\\\'\\"> \r\n      <td height=\\"32\\"> <div align=\\"center\\"> \r\n          <?=$myid?>\r\n        </div></td>\r\n      <td height=\\"25\\"> <div align=\\"left\\"> \r\n          <?=$st?>\r\n          <?=$showtitlepic?>\r\n          <a href=\\"<?=$titleurl?>\\"<?=$eagotourl_onclick?> target=_blank title=\\"<?=$oldtitle?>\\"> \r\n          <?=$r[\\\'title\\\']?>\r\n          </a> \r\n          <?=$qf?>\r\n        </div></td>\r\n      <td height=\\"25\\"<?=$r[\\\'eckuid\\\']?\\\' title=\\"審核人UID：\\\'.$r[\\\'eckuid\\\'].\\\'\\"\\\':\\\'\\\'?>> <div align=\\"center\\"> \r\n          <?=$r[\\\'username\\\']?>\r\n        </div></td>\r\n      <td height=\\"25\\"> <div align=\\"center\\"> <a href=\\"#ecms\\" title=\\"<?php echo\\"增加時間：\\".$truetime.\\"\\\\r\\\\n最後修改：\\".$lastdotime;?>\\"> \r\n          <?=date(\\"Y-m-d H:i:s\\",$r[\\\'newstime\\\'])?>\r\n          </a> </div></td>\r\n      <td height=\\"25\\"> <div align=\\"center\\"> \r\n          <input name=\\"id[]\\" type=\\"checkbox\\" id=\\"id[]\\" value=\\"<?=$r[\\\'id\\\']?>\\">\r\n        </div></td>\r\n    </tr>\r\n	[!--empirenews.listtemp--]\r\n	</table>\r\n	');


INSERT INTO phome_enewstable VALUES (1, 'news', '新聞系統數據表', '新聞系統數據表', 1, ',1,', '1', 0, 1, 0);
INSERT INTO phome_enewstable VALUES (2, 'download', '下載系統數據表', '下載系統數據表', 0, ',1,', '1', 0, 2, 0);
INSERT INTO phome_enewstable VALUES (3, 'photo', '圖片系統數據表', '圖片系統數據表', 0, ',1,', '1', 0, 3, 0);
INSERT INTO phome_enewstable VALUES (4, 'flash', 'FLASH系統數據表', 'FLASH系統數據表', 0, ',1,', '1', 0, 4, 0);
INSERT INTO phome_enewstable VALUES (5, 'movie', '電影系統數據表', '電影系統數據表', 0, ',1,', '1', 0, 5, 0);
INSERT INTO phome_enewstable VALUES (6, 'shop', '商城系統數據表', '商城系統數據表', 0, ',1,', '1', 0, 6, 0);
INSERT INTO phome_enewstable VALUES (7, 'article', '文章系統數據表', '文章系統數據表(內容存文本)', 0, ',1,', '1', 0, 7, 0);
INSERT INTO phome_enewstable VALUES (8, 'info', '分類信息數據表', '分類信息數據表', 0, ',1,', '1', 0, 8, 0);



