cjhtml.txt 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. [!--text--]
  2. <tr bgcolor="#FFFFFF">
  3. <td height="22" valign="top"><strong>[!--enews.name--]正则:</strong><br>
  4. (<input name="textfield" type="text" id="textfield" value="[!--[!--enews.var--]--]" size="20">)</td>
  5. <td><table width="100%" border="0" cellspacing="1" cellpadding="3">
  6. <tr>
  7. <td><textarea name="add[zz_[!--enews.var--]]" cols="60" rows="10" id="textarea"><?=ehtmlspecialchars(stripSlashes($r[zz_[!--enews.var--]]))?></textarea></td>
  8. </tr>
  9. <tr>
  10. <td><input name="add[z_[!--enews.var--]]" type="text" id="add[z_[!--enews.var--]]" value="<?=stripSlashes($r[z_[!--enews.var--]])?>">
  11. (如填写这里,将为字段的值)</td>
  12. </tr>
  13. </table></td>
  14. </tr>
  15. [!--text--]
  16. [!--textarea--]
  17. <tr bgcolor="#FFFFFF">
  18. <td height="22" valign="top"><strong>[!--enews.name--]正则:</strong><br>
  19. (<input name="textfield" type="text" id="textfield" value="[!--[!--enews.var--]--]" size="20">)</td>
  20. <td><table width="100%" border="0" cellspacing="1" cellpadding="3">
  21. <tr>
  22. <td><textarea name="add[zz_[!--enews.var--]]" cols="60" rows="10" id="textarea"><?=ehtmlspecialchars(stripSlashes($r[zz_[!--enews.var--]]))?></textarea></td>
  23. </tr>
  24. <tr>
  25. <td><input name="add[z_[!--enews.var--]]" type="text" id="add[z_[!--enews.var--]]" value="<?=stripSlashes($r[z_[!--enews.var--]])?>">
  26. (如填写这里,将为字段的值)</td>
  27. </tr>
  28. </table></td>
  29. </tr>
  30. [!--textarea--]
  31. [!--img--]
  32. <tr bgcolor="#FFFFFF">
  33. <td height="22" valign="top"><strong>[!--enews.name--]正则:</strong><br>
  34. (
  35. <input name="textfield" type="text" id="textfield" value="[!--[!--enews.var--]--]" size="20">
  36. )</td>
  37. <td><table width="100%" border="0" cellspacing="1" cellpadding="3">
  38. <tr>
  39. <td>附件前缀
  40. <input name="add[qz_[!--enews.var--]]" type="text" id="add[qz_[!--enews.var--]]" value="<?=stripSlashes($r[qz_[!--enews.var--]])?>">
  41. <input name="add[save_[!--enews.var--]]" type="checkbox" id="add[save_[!--enews.var--]]" value=" checked"<?=$r[save_[!--enews.var--]]?>>
  42. 远程保存 </td>
  43. </tr>
  44. <tr>
  45. <td><textarea name="add[zz_[!--enews.var--]]" cols="60" rows="10" id="add[zz_[!--enews.var--]]"><?=ehtmlspecialchars(stripSlashes($r[zz_[!--enews.var--]]))?></textarea></td>
  46. </tr>
  47. <tr>
  48. <td><input name="add[z_[!--enews.var--]]" type="text" id="[!--enews.var--]5" value="<?=stripSlashes($r[z_[!--enews.var--]])?>">
  49. (如填写这里,这就是字段的值)</td>
  50. </tr>
  51. </table></td>
  52. </tr>
  53. [!--img--]
  54. [!--flash--]
  55. <tr bgcolor="#FFFFFF">
  56. <td height="22" valign="top"><strong>[!--enews.name--]正则:</strong><br>
  57. (
  58. <input name="textfield" type="text" id="textfield" value="[!--[!--enews.var--]--]" size="20">
  59. )</td>
  60. <td><table width="100%" border="0" cellspacing="1" cellpadding="3">
  61. <tr>
  62. <td>附件前缀
  63. <input name="add[qz_[!--enews.var--]]" type="text" id="add[qz_[!--enews.var--]]" value="<?=stripSlashes($r[qz_[!--enews.var--]])?>">
  64. <input name="add[save_[!--enews.var--]]" type="checkbox" id="add[save_[!--enews.var--]]" value=" checked"<?=$r[save_[!--enews.var--]]?>>
  65. 远程保存 </td>
  66. </tr>
  67. <tr>
  68. <td><textarea name="add[zz_[!--enews.var--]]" cols="60" rows="10" id="add[zz_[!--enews.var--]]"><?=ehtmlspecialchars(stripSlashes($r[zz_[!--enews.var--]]))?></textarea></td>
  69. </tr>
  70. <tr>
  71. <td><input name="add[z_[!--enews.var--]]" type="text" id="[!--enews.var--]5" value="<?=stripSlashes($r[z_[!--enews.var--]])?>">
  72. (如填写这里,这就是字段的值)</td>
  73. </tr>
  74. </table></td>
  75. </tr>
  76. [!--flash--]
  77. [!--file--]
  78. <tr bgcolor="#FFFFFF">
  79. <td height="22" valign="top"><strong>[!--enews.name--]正则:</strong><br>
  80. (
  81. <input name="textfield" type="text" id="textfield" value="[!--[!--enews.var--]--]" size="20">
  82. )</td>
  83. <td><table width="100%" border="0" cellspacing="1" cellpadding="3">
  84. <tr>
  85. <td>附件前缀
  86. <input name="add[qz_[!--enews.var--]]" type="text" id="add[qz_[!--enews.var--]]" value="<?=stripSlashes($r[qz_[!--enews.var--]])?>">
  87. <input name="add[save_[!--enews.var--]]" type="checkbox" id="add[save_[!--enews.var--]]" value=" checked"<?=$r[save_[!--enews.var--]]?>>
  88. 远程保存 </td>
  89. </tr>
  90. <tr>
  91. <td><textarea name="add[zz_[!--enews.var--]]" cols="60" rows="10" id="add[zz_[!--enews.var--]]"><?=ehtmlspecialchars(stripSlashes($r[zz_[!--enews.var--]]))?></textarea></td>
  92. </tr>
  93. <tr>
  94. <td><input name="add[z_[!--enews.var--]]" type="text" id="[!--enews.var--]5" value="<?=stripSlashes($r[z_[!--enews.var--]])?>">
  95. (如填写这里,这就是字段的值)</td>
  96. </tr>
  97. </table></td>
  98. </tr>
  99. [!--file--]
  100. [!--downpath--]
  101. <tr bgcolor="#FFFFFF">
  102. <td height="22" valign="top"><strong>[!--enews.name--]正则:</strong><br>
  103. (
  104. <input name="textfield" type="text" id="textfield" value="[!--ecmsdownpathurl--]" size="20">
  105. <br>
  106. <input name="textfield2" type="text" id="textfield2" value="[!--ecmsdownpathname--]" size="20">
  107. )<br>
  108. 格式:地址正则(url)[!empirecms!]名称正则(name)</td>
  109. <td><table width="100%" border="0" cellspacing="1" cellpadding="3">
  110. <tr>
  111. <td><textarea name="add[zz_[!--enews.var--]]" cols="60" rows="10" id="textarea"><?=ehtmlspecialchars(stripSlashes($r[zz_[!--enews.var--]]))?></textarea></td>
  112. </tr>
  113. <tr>
  114. <td>地址前缀:
  115. <input name="add[qz_[!--enews.var--]]" type="text" id="add[qz_[!--enews.var--]]" value="<?=stripSlashes($r[qz_[!--enews.var--]])?>">
  116. </td>
  117. </tr>
  118. </table></td>
  119. </tr>
  120. [!--downpath--]
  121. [!--onlinepath--]
  122. <tr bgcolor="#FFFFFF">
  123. <td height="22" valign="top"><strong>[!--enews.name--]正则:</strong><br>
  124. (
  125. <input name="textfield" type="text" id="textfield" value="[!--ecmsonlinepathurl--]" size="20">
  126. <br>
  127. <input name="textfield2" type="text" id="textfield2" value="[!--ecmsonlinepathname--]" size="20">
  128. )<br>
  129. 格式:地址正则(url)[!empirecms!]名称正则(name)</td>
  130. <td><table width="100%" border="0" cellspacing="1" cellpadding="3">
  131. <tr>
  132. <td><textarea name="add[zz_[!--enews.var--]]" cols="60" rows="10" id="textarea"><?=ehtmlspecialchars(stripSlashes($r[zz_[!--enews.var--]]))?></textarea></td>
  133. </tr>
  134. <tr>
  135. <td>地址前缀:
  136. <input name="add[qz_[!--enews.var--]]" type="text" id="add[qz_[!--enews.var--]]" value="<?=stripSlashes($r[qz_[!--enews.var--]])?>">
  137. </td>
  138. </tr>
  139. </table>
  140. </td>
  141. </tr>
  142. [!--onlinepath--]
  143. [!--morepic--]
  144. <tr bgcolor="#FFFFFF">
  145. <td height="22" valign="top"><strong>[!--enews.name--]正则:</strong><br>
  146. (
  147. <input name="textfield" type="text" id="textfield" value="[!--ecmsspicurl--]" size="20">
  148. <br>
  149. <input name="textfield2" type="text" id="textfield2" value="[!--ecmsbpicurl--]" size="20">
  150. <br>
  151. <input name="textfield2" type="text" id="textfield2" value="[!--ecmspicname--]" size="20">
  152. )<br>
  153. 格式:缩略图[!empirecms!]大图[!empirecms!]名称</td>
  154. <td><table width="100%" border="0" cellspacing="1" cellpadding="3">
  155. <tr>
  156. <td><textarea name="add[zz_[!--enews.var--]]" cols="60" rows="10" id="textarea"><?=ehtmlspecialchars(stripSlashes($r[zz_[!--enews.var--]]))?></textarea></td>
  157. </tr>
  158. <tr>
  159. <td>地址前缀:
  160. <input name="add[qz_[!--enews.var--]]" type="text" id="add[qz_[!--enews.var--]]" value="<?=stripSlashes($r[qz_[!--enews.var--]])?>">
  161. <input name="add[save_[!--enews.var--]]" type="checkbox" id="add[save_[!--enews.var--]]" value=" checked"<?=$r[save_[!--enews.var--]]?>>
  162. 远程保存
  163. </td>
  164. </tr>
  165. </table></td>
  166. </tr>
  167. [!--morepic--]
  168. [!--playerid--]
  169. <?php
  170. $player_sql=$empire->query("select id,player from {$dbtbpre}enewsplayer");
  171. while($player_r=$empire->fetch($player_sql))
  172. {
  173. $select_player='';
  174. if($r[z_playerid]==$player_r[id])
  175. {
  176. $select_player=' selected';
  177. }
  178. $player_class.="<option value='".$player_r[id]."'".$select_player.">".$player_r[player]."</option>";
  179. }
  180. ?>
  181. <tr bgcolor="#FFFFFF">
  182. <td height="22" valign="top"><strong>[!--enews.name--]:</strong><br>
  183. (<input name="textfield" type="text" id="textfield" value="[!--[!--enews.var--]--]" size="20">)</td>
  184. <td><select name="add[z_[!--enews.var--]]"><option value=0>自动识别</option><?=$player_class?></select></td>
  185. </tr>
  186. [!--playerid--]