SetEnews.php 116 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196
  1. <?php
  2. define('EmpireCMSAdmin','1');
  3. require("../class/connect.php");
  4. require("../class/db_sql.php");
  5. require("../class/functions.php");
  6. require("../class/t_functions.php");
  7. $link=db_connect();
  8. $empire=new mysqlquery();
  9. //验证用户
  10. $lur=is_login();
  11. $logininid=$lur['userid'];
  12. $loginin=$lur['username'];
  13. $loginrnd=$lur['rnd'];
  14. $loginlevel=$lur['groupid'];
  15. $loginadminstyleid=$lur['adminstyleid'];
  16. //ehash
  17. $ecms_hashur=hReturnEcmsHashStrAll();
  18. //验证权限
  19. CheckLevel($logininid,$loginin,$classid,"public");
  20. //参数设置
  21. function SetEnews($add,$userid,$username){
  22. global $empire,$dbtbpre;
  23. //操作权限
  24. CheckLevel($userid,$username,$classid,"public");
  25. $add[newsurl]=ehtmlspecialchars($add[newsurl],ENT_QUOTES);
  26. if(empty($add[indextype])){
  27. $add[indextype]=".html";
  28. }
  29. if(empty($add[searchtype])){
  30. $add[searchtype]=".html";
  31. }
  32. //备份目录
  33. if(empty($add[bakdbpath])){
  34. $add[bakdbpath]="bdata";
  35. }
  36. if(!file_exists("ebak/".RepPathStr($add[bakdbpath])))
  37. {
  38. printerror("NotBakDbPath","");
  39. }
  40. if(empty($add[bakdbzip])){
  41. $add[bakdbzip]="zip";
  42. }
  43. if(!file_exists("ebak/".RepPathStr($add[bakdbzip]))){
  44. printerror("NotbakZipPath","");
  45. }
  46. //函数是否存在
  47. if(!function_exists($add['listpagefun'])||!function_exists($add['textpagefun'])||!function_exists($add['listpagelistfun']))
  48. {
  49. printerror("NotPageFun","history.go(-1)");
  50. }
  51. //adfile
  52. $add['adfile']=RepFilenameQz($add['adfile']);
  53. //修改ftp密码
  54. if($add[ftppassword])
  55. {
  56. $a="ftppassword='$add[ftppassword]',";
  57. }
  58. //变量处理
  59. $add[filesize]=(int)$add[filesize];
  60. $add[hotnum]=(int)$add[hotnum];
  61. $add[newnum]=(int)$add[newnum];
  62. $add[relistnum]=(int)$add[relistnum];
  63. $add[renewsnum]=(int)$add[renewsnum];
  64. $add[min_keyboard]=(int)$add[min_keyboard];
  65. $add[max_keyboard]=(int)$add[max_keyboard];
  66. $add[search_num]=(int)$add[search_num];
  67. $add[search_pagenum]=(int)$add[search_pagenum];
  68. $add[newslink]=(int)$add[newslink];
  69. $add[checked]=(int)$add[checked];
  70. $add[searchtime]=(int)$add[searchtime];
  71. $add[loginnum]=(int)$add[loginnum];
  72. $add[logintime]=(int)$add[logintime];
  73. $add[addnews_ok]=(int)$add[addnews_ok];
  74. $add[register_ok]=(int)$add[register_ok];
  75. $add[goodlencord]=(int)$add[goodlencord];
  76. $add[goodnum]=(int)$add[goodnum];
  77. $add[exittime]=(int)$add[exittime];
  78. $add[smalltextlen]=(int)$add[smalltextlen];
  79. $add[defaultgroupid]=(int)$add[defaultgroupid];
  80. $add[phpmode]=(int)$add[phpmode];
  81. $add[install]=(int)$add[install];
  82. $add[hotplnum]=(int)$add[hotplnum];
  83. $add[dorepnum]=(int)$add[dorepnum];
  84. $add[loadtempnum]=(int)$add[loadtempnum];
  85. $add[firstnum]=(int)$add[firstnum];
  86. $add[min_userlen]=(int)$add[min_userlen];
  87. $add[max_userlen]=(int)$add[max_userlen];
  88. $add[min_passlen]=(int)$add[min_passlen];
  89. $add[max_passlen]=(int)$add[max_passlen];
  90. $add[filechmod]=(int)$add[filechmod];
  91. $add[sametitle]=(int)$add[sametitle];
  92. $add[addrehtml]=(int)$add[addrehtml];
  93. $add[loginkey_ok]=(int)$add[loginkey_ok];
  94. $add[limittype]=(int)$add[limittype];
  95. $add[redodown]=(int)$add[redodown];
  96. $add[candocode]=(int)$add[candocode];
  97. $add[opennotcj]=(int)$add[opennotcj];
  98. $add[reuserpagenum]=(int)$add[reuserpagenum];
  99. $add[revotejsnum]=(int)$add[revotejsnum];
  100. $add[readjsnum]=(int)$add[readjsnum];
  101. $add[qaddtran]=(int)$add[qaddtran];
  102. $add[qaddtransize]=(int)$add[qaddtransize];
  103. $add[ebakthisdb]=(int)$add[ebakthisdb];
  104. $add[delnewsnum]=(int)$add[delnewsnum];
  105. $add[markpos]=(int)$add[markpos];
  106. $add[adminloginkey]=(int)$add[adminloginkey];
  107. $add[php_outtime]=(int)$add[php_outtime];
  108. $add[addreinfo]=(int)$add[addreinfo];
  109. $add[rssnum]=(int)$add[rssnum];
  110. $add[rsssub]=(int)$add[rsssub];
  111. $add[dorepdlevelnum]=(int)$add[dorepdlevelnum];
  112. $add[listpagelistnum]=(int)$add[listpagelistnum];
  113. $add[infolinknum]=(int)$add[infolinknum];
  114. $add[searchgroupid]=(int)$add[searchgroupid];
  115. $add[opencopytext]=(int)$add[opencopytext];
  116. $add[reuserjsnum]=(int)$add[reuserjsnum];
  117. $add[reuserlistnum]=(int)$add[reuserlistnum];
  118. $add[opentitleurl]=(int)$add[opentitleurl];
  119. $add['qaddtranfile']=(int)$add['qaddtranfile'];
  120. $add['qaddtranfilesize']=(int)$add['qaddtranfilesize'];
  121. $add['sendmailtype']=(int)$add['sendmailtype'];
  122. $add['loginemail']=(int)$add['loginemail'];
  123. $add['feedbacktfile']=(int)$add['feedbacktfile'];
  124. $add['feedbackfilesize']=(int)$add['feedbackfilesize'];
  125. $add['searchtempvar']=(int)$add['searchtempvar'];
  126. $add['showinfolevel']=(int)$add['showinfolevel'];
  127. $add['spicwidth']=(int)$add['spicwidth'];
  128. $add['spicheight']=(int)$add['spicheight'];
  129. $add['spickill']=(int)$add['spickill'];
  130. $add['jpgquality']=(int)$add['jpgquality'];
  131. $add['markpct']=(int)$add['markpct'];
  132. $add['redoview']=(int)$add['redoview'];
  133. $add['reggetfen']=(int)$add['reggetfen'];
  134. $add['regbooktime']=(int)$add['regbooktime'];
  135. $add['revotetime']=(int)$add['revotetime'];
  136. $add['fpath']=(int)$add['fpath'];
  137. $add['openmembertranimg']=(int)$add['openmembertranimg'];
  138. $add['memberimgsize']=(int)$add['memberimgsize'];
  139. $add['openmembertranfile']=(int)$add['openmembertranfile'];
  140. $add['memberfilesize']=(int)$add['memberfilesize'];
  141. $add['openspace']=(int)$add['openspace'];
  142. $add['realltime']=(int)$add['realltime'];
  143. $add['textpagelistnum']=(int)$add['textpagelistnum'];
  144. $add['memberlistlevel']=(int)$add['memberlistlevel'];
  145. $add['ebakcanlistdb']=(int)$add['ebakcanlistdb'];
  146. $add['keytog']=(int)$add['keytog'];
  147. $add['keytime']=(int)$add['keytime'];
  148. $add['regkey_ok']=(int)$add['regkey_ok'];
  149. $add['opengetdown']=(int)$add['opengetdown'];
  150. $add['gbkey_ok']=(int)$add['gbkey_ok'];
  151. $add['fbkey_ok']=(int)$add['fbkey_ok'];
  152. $add['newaddinfotime']=(int)$add['newaddinfotime'];
  153. $add['classnavline']=(int)$add['classnavline'];
  154. $add['docnewsnum']=(int)$add['docnewsnum'];
  155. $add['dtcanbq']=(int)$add['dtcanbq'];
  156. $add['dtcachetime']=(int)$add['dtcachetime'];
  157. $add['regretime']=(int)$add['regretime'];
  158. $add['regemailonly']=(int)$add['regemailonly'];
  159. $add['repkeynum']=(int)$add['repkeynum'];
  160. $add['getpasstime']=(int)$add['getpasstime'];
  161. $add['acttime']=(int)$add['acttime'];
  162. $add['regacttype']=(int)$add['regacttype'];
  163. $add['opengetpass']=(int)$add['opengetpass'];
  164. $add['hlistinfonum']=(int)$add['hlistinfonum'];
  165. if(empty($add['hlistinfonum']))
  166. {
  167. $add['hlistinfonum']=30;
  168. }
  169. $add['qlistinfonum']=(int)$add['qlistinfonum'];
  170. if(empty($add['qlistinfonum']))
  171. {
  172. $add['qlistinfonum']=30;
  173. }
  174. $add['dtncanbq']=(int)$add['dtncanbq'];
  175. $add['dtncachetime']=(int)$add['dtncachetime'];
  176. $add['readdinfotime']=(int)$add['readdinfotime'];
  177. $add['qeditinfotime']=(int)$add['qeditinfotime'];
  178. $add['ftpmode']=(int)$add['ftpmode'];
  179. $add['ftpssl']=(int)$add['ftpssl'];
  180. $add['ftppasv']=(int)$add['ftppasv'];
  181. $add['ftpouttime']=(int)$add['ftpouttime'];
  182. $add['onclicktype']=(int)$add['onclicktype'];
  183. $add['onclickfilesize']=(int)$add['onclickfilesize'];
  184. $add['onclickfiletime']=(int)$add['onclickfiletime'];
  185. $add['closeqdt']=(int)$add['closeqdt'];
  186. $add['settop']=(int)$add['settop'];
  187. $add['qlistinfomod']=(int)$add['qlistinfomod'];
  188. $add['gb_num']=(int)$add['gb_num'];
  189. $add['member_num']=(int)$add['member_num'];
  190. $add['space_num']=(int)$add['space_num'];
  191. $add['infolday']=(int)$add['infolday'];
  192. $add['filelday']=(int)$add['filelday'];
  193. $add['baktempnum']=(int)$add['baktempnum'];
  194. $add['dorepkey']=(int)$add['dorepkey'];
  195. $add['dorepword']=(int)$add['dorepword'];
  196. $add['indexpagedt']=(int)$add['indexpagedt'];
  197. $add['closeqdtmsg']=AddAddsData($add['closeqdtmsg']);
  198. $add['openfileserver']=(int)$add['openfileserver'];
  199. $add['fieldandtop']=(int)$add['fieldandtop'];
  200. $add['fieldandclosetb']=$add['fieldandclosetb']?','.$add['fieldandclosetb'].',':'';
  201. $add['closelisttemp']=ehtmlspecialchars($add['closelisttemp'],ENT_QUOTES);
  202. $add['ipaddinfonum']=(int)$add['ipaddinfonum'];
  203. $add['ipaddinfotime']=(int)$add['ipaddinfotime'];
  204. $add['indexaddpage']=(int)$add['indexaddpage'];
  205. $add['modmemberedittran']=(int)$add['modmemberedittran'];
  206. $add['modinfoedittran']=(int)$add['modinfoedittran'];
  207. $add['php_adminouttime']=(int)$add['php_adminouttime'];
  208. $add['httptype']=(int)$add['httptype'];
  209. $add['qinfoaddfen']=(int)$add['qinfoaddfen'];
  210. $add['bakescapetype']=(int)$add['bakescapetype'];
  211. $add['hkeytime']=(int)$add['hkeytime'];
  212. $add['mhavedatedo']=(int)$add['mhavedatedo'];
  213. $add['reportkey']=(int)$add['reportkey'];
  214. $add['candocodetag']=(int)$add['candocodetag'];
  215. $add['newsurl']=hRepPostStr($add['newsurl'],0);
  216. $add['sitename']=hRepPostStr($add['sitename'],1);
  217. $add['email']=hRepPostStr($add['email'],1);
  218. $add['filetype']=hRepPostStr($add['filetype'],0);
  219. $add['indextype']=hRepPostStr($add['indextype'],1);
  220. $add['goodtype']=hRepPostStr($add['goodtype'],1);
  221. $add['searchtype']=hRepPostStr($add['searchtype'],1);
  222. $add['fileurl']=hRepPostStr($add['fileurl'],1);
  223. $add['ftphost']=hRepPostStr($add['ftphost'],1);
  224. $add['ftpport']=hRepPostStr($add['ftpport'],1);
  225. $add['ftpusername']=hRepPostStr($add['ftpusername'],0);
  226. $add['ftppassword']=hRepPostStr($add['ftppassword'],0);
  227. $add['ftppath']=hRepPostStr($add['ftppath'],1);
  228. $add['bakdbpath']=hRepPostStr($add['bakdbpath'],1);
  229. $add['bakdbzip']=hRepPostStr($add['bakdbzip'],1);
  230. $add['downpass']=hRepPostStr($add['downpass'],0);
  231. $add['markimg']=hRepPostStr($add['markimg'],1);
  232. $add['marktext']=hRepPostStr($add['marktext'],1);
  233. $add['markfontsize']=hRepPostStr($add['markfontsize'],1);
  234. $add['markfontcolor']=hRepPostStr($add['markfontcolor'],1);
  235. $add['markfont']=hRepPostStr($add['markfont'],1);
  236. $add['listpagefun']=hRepPostStr($add['listpagefun'],1);
  237. $add['textpagefun']=hRepPostStr($add['textpagefun'],1);
  238. $add['adfile']=hRepPostStr($add['adfile'],1);
  239. $add['notsaveurl']=hRepPostStr($add['notsaveurl'],0);
  240. $add['listpagelistfun']=hRepPostStr($add['listpagelistfun'],1);
  241. $add['qaddtranimgtype']=hRepPostStr($add['qaddtranimgtype'],0);
  242. $add['qaddtranfiletype']=hRepPostStr($add['qaddtranfiletype'],0);
  243. $add['smtphost']=hRepPostStr($add['smtphost'],1);
  244. $add['fromemail']=hRepPostStr($add['fromemail'],0);
  245. $add['loginemail']=hRepPostStr($add['loginemail'],0);
  246. $add['emailusername']=hRepPostStr($add['emailusername'],0);
  247. $add['emailpassword']=hRepPostStr($add['emailpassword'],0);
  248. $add['smtpport']=hRepPostStr($add['smtpport'],1);
  249. $add['emailname']=hRepPostStr($add['emailname'],0);
  250. $add['feedbackfiletype']=hRepPostStr($add['feedbackfiletype'],0);
  251. $add['filepath']=hRepPostStr($add['filepath'],0);
  252. $add['memberimgtype']=hRepPostStr($add['memberimgtype'],0);
  253. $add['memberfiletype']=hRepPostStr($add['memberfiletype'],0);
  254. $add['canposturl']=hRepPostStr($add['canposturl'],0);
  255. $add['closeip']=hRepPostStr($add['closeip'],1);
  256. $add['openip']=hRepPostStr($add['openip'],1);
  257. $add['hopenip']=hRepPostStr($add['hopenip'],1);
  258. $add['closewords']=AddAddsData($add['closewords']);
  259. $add['closewordsf']=hRepPostStr($add['closewordsf'],1);
  260. $add['keyrnd']=hRepPostStr($add['keyrnd'],0);
  261. $add['sitekey']=hRepPostStr($add['sitekey'],0);
  262. $add['siteintro']=hRepPostStr($add['siteintro'],0);
  263. $add['regclosewords']=AddAddsData($add['regclosewords']);
  264. $add['opendoip']=hRepPostStr($add['opendoip'],0);
  265. $add['closedoip']=hRepPostStr($add['closedoip'],0);
  266. $add['onclickrnd']=hRepPostStr($add['onclickrnd'],1);
  267. $add['keybgcolor']=hRepPostStr($add['keybgcolor'],1);
  268. $add['keyfontcolor']=hRepPostStr($add['keyfontcolor'],1);
  269. $add['keydistcolor']=hRepPostStr($add['keydistcolor'],1);
  270. $add['fieldandclosetb']=hRepPostStr($add['fieldandclosetb'],1);
  271. $add['hkeyrnd']=hRepPostStr($add['hkeyrnd'],0);
  272. $add['usetotalnum']=(int)$add['usetotalnum'];
  273. $spacegids=eReturnSetGroups($add['spacegid']);
  274. $add['toqjf']=hRepPostStr($add['toqjf'],1);
  275. $add['qtoqjf']=hRepPostStr($add['qtoqjf'],1);
  276. $openerns=eReturnSetGroups($add['openern'],0);
  277. $openerns=hRepPostStr($openerns,1);
  278. $ernurl=hRepPostStr2(eDoRepPostComStr($add['ernurl'],1));
  279. //提交IP
  280. $doiptypes='';
  281. $doiptype=$add['doiptype'];
  282. $doiptypecount=count($doiptype);
  283. if($doiptypecount)
  284. {
  285. $doiptypes=',';
  286. for($di=0;$di<$doiptypecount;$di++)
  287. {
  288. $doiptypes.=$doiptype[$di].',';
  289. }
  290. }
  291. $doiptypes=hRepPostStr($doiptypes,1);
  292. //关闭相关模块
  293. $closemodss='';
  294. $closemods=$add['closemods'];
  295. $closemodscount=count($closemods);
  296. if($closemodscount)
  297. {
  298. $closemodss=',';
  299. for($cmi=0;$cmi<$closemodscount;$cmi++)
  300. {
  301. $closemodss.=$closemods[$cmi].',';
  302. }
  303. }
  304. $closemodss=hRepPostStr($closemodss,1);
  305. //关闭后台菜单
  306. $closehmenus='';
  307. $closehmenu=$add['closehmenu'];
  308. $closehmenucount=count($closehmenu);
  309. if($closehmenucount)
  310. {
  311. $closehmenus=',';
  312. for($chmi=0;$chmi<$closehmenucount;$chmi++)
  313. {
  314. $closehmenus.=$closehmenu[$chmi].',';
  315. }
  316. }
  317. $closehmenus=hRepPostStr($closehmenus,1);
  318. //限制操作的时间点
  319. $timecloses='';
  320. $timeclose=$add['timeclose'];
  321. $timeclosecount=count($timeclose);
  322. if($timeclosecount)
  323. {
  324. $timecloses=',';
  325. for($tci=0;$tci<$timeclosecount;$tci++)
  326. {
  327. $timecloses.=$timeclose[$tci].',';
  328. }
  329. }
  330. $timecloses=hRepPostStr($timecloses,1);
  331. //限制使用时间的操作
  332. $timeclosedos='';
  333. $timeclosedo=$add['timeclosedo'];
  334. $timeclosedocount=count($timeclosedo);
  335. if($timeclosedocount)
  336. {
  337. $timeclosedos=',';
  338. for($tcdi=0;$tcdi<$timeclosedocount;$tcdi++)
  339. {
  340. $timeclosedos.=$timeclosedo[$tcdi].',';
  341. }
  342. }
  343. $timeclosedos=hRepPostStr($timeclosedos,1);
  344. $add[filetype]="|".$add[filetype]."|";
  345. $add[qimgtype]="|".$add['qaddtranimgtype']."|";
  346. $add[qfiletype]="|".$add['qaddtranfiletype']."|";
  347. $add[feedbackfiletype]="|".$add['feedbackfiletype']."|";
  348. $add[memberimgtype]="|".$add['memberimgtype']."|";
  349. $add[memberfiletype]="|".$add['memberfiletype']."|";
  350. $sql=$empire->query("update {$dbtbpre}enewspublic set ".$a."sitename='$add[sitename]',newsurl='$add[newsurl]',email='$add[email]',filetype='$add[filetype]',filesize=$add[filesize],hotnum=$add[hotnum],newnum=$add[newnum],relistnum=$add[relistnum],renewsnum=$add[renewsnum],min_keyboard=$add[min_keyboard],max_keyboard=$add[max_keyboard],search_num=$add[search_num],search_pagenum=$add[search_pagenum],newslink=$add[newslink],checked=$add[checked],searchtime=$add[searchtime],loginnum=$add[loginnum],logintime=$add[logintime],addnews_ok=$add[addnews_ok],register_ok=$add[register_ok],indextype='$add[indextype]',goodlencord=$add[goodlencord],goodtype='$add[goodtype]',goodnum=$add[goodnum],searchtype='$add[searchtype]',exittime=$add[exittime],smalltextlen=$add[smalltextlen],defaultgroupid=$add[defaultgroupid],fileurl='$add[fileurl]',phpmode=$add[phpmode],ftphost='$add[ftphost]',ftpport='$add[ftpport]',ftpusername='$add[ftpusername]',ftppath='$add[ftppath]',ftpmode='$add[ftpmode]',install=$add[install],hotplnum=$add[hotplnum],dorepnum=$add[dorepnum],loadtempnum=$add[loadtempnum],firstnum=$add[firstnum],bakdbpath='$add[bakdbpath]',bakdbzip='$add[bakdbzip]',downpass='$add[downpass]',min_userlen=$add[min_userlen],max_userlen=$add[max_userlen],min_passlen=$add[min_passlen],max_passlen=$add[max_passlen],filechmod=$add[filechmod],loginkey_ok=$add[loginkey_ok],limittype=$add[limittype],redodown=$add[redodown],candocode=$add[candocode],opennotcj=$add[opennotcj],reuserpagenum=$add[reuserpagenum],revotejsnum=$add[revotejsnum],readjsnum=$add[readjsnum],qaddtran=$add[qaddtran],qaddtransize=$add[qaddtransize],ebakthisdb=$add[ebakthisdb],delnewsnum=$add[delnewsnum],markpos=$add[markpos],markimg='$add[markimg]',marktext='$add[marktext]',markfontsize='$add[markfontsize]',markfontcolor='$add[markfontcolor]',markfont='$add[markfont]',adminloginkey=$add[adminloginkey],php_outtime=$add[php_outtime],listpagefun='$add[listpagefun]',textpagefun='$add[textpagefun]',adfile='$add[adfile]',notsaveurl='$add[notsaveurl]',rssnum=$add[rssnum],rsssub=$add[rsssub],dorepdlevelnum=$add[dorepdlevelnum],listpagelistfun='$add[listpagelistfun]',listpagelistnum=$add[listpagelistnum],infolinknum=$add[infolinknum],searchgroupid=$add[searchgroupid],opencopytext=$add[opencopytext],reuserjsnum=$add[reuserjsnum],reuserlistnum=$add[reuserlistnum],opentitleurl='$add[opentitleurl]',qaddtranimgtype='$add[qimgtype]',qaddtranfile=$add[qaddtranfile],qaddtranfilesize=$add[qaddtranfilesize],qaddtranfiletype='$add[qfiletype]',sendmailtype=$add[sendmailtype],smtphost='$add[smtphost]',fromemail='$add[fromemail]',loginemail=$add[loginemail],emailusername='$add[emailusername]',emailpassword='$add[emailpassword]',smtpport='$add[smtpport]',emailname='$add[emailname]',feedbacktfile=$add[feedbacktfile],feedbackfilesize=$add[feedbackfilesize],feedbackfiletype='$add[feedbackfiletype]',searchtempvar=$add[searchtempvar],showinfolevel=$add[showinfolevel],navfh='".eaddslashes($add[navfh])."',spicwidth=$add[spicwidth],spicheight=$add[spicheight],spickill=$add[spickill],jpgquality=$add[jpgquality],markpct=$add[markpct],redoview=$add[redoview],reggetfen=$add[reggetfen],regbooktime=$add[regbooktime],revotetime=$add[revotetime],fpath=$add[fpath],filepath='$add[filepath]',openmembertranimg=$add[openmembertranimg],memberimgsize=$add[memberimgsize],openmembertranfile=$add[openmembertranfile],memberfilesize=$add[memberfilesize],memberimgtype='$add[memberimgtype]',memberfiletype='$add[memberfiletype]',canposturl='$add[canposturl]',openspace='$add[openspace]',realltime=$add[realltime],closeip='$add[closeip]',openip='$add[openip]',hopenip='$add[hopenip]',closewords='$add[closewords]',closewordsf='$add[closewordsf]',textpagelistnum=$add[textpagelistnum],memberlistlevel=$add[memberlistlevel],ebakcanlistdb=$add[ebakcanlistdb],keytog='$add[keytog]',keyrnd='$add[keyrnd]',keytime='$add[keytime]',regkey_ok='$add[regkey_ok]',opengetdown='$add[opengetdown]',gbkey_ok='$add[gbkey_ok]',fbkey_ok='$add[fbkey_ok]',newaddinfotime='$add[newaddinfotime]',classnavline='$add[classnavline]',classnavfh='".eaddslashes($add[classnavfh])."',sitekey='$add[sitekey]',siteintro='$add[siteintro]',docnewsnum='$add[docnewsnum]',dtcanbq='$add[dtcanbq]',dtcachetime='$add[dtcachetime]',regretime='$add[regretime]',regclosewords='$add[regclosewords]',regemailonly='$add[regemailonly]',repkeynum='$add[repkeynum]',getpasstime='$add[getpasstime]',acttime='$add[acttime]',regacttype='$add[regacttype]',acttext='".eaddslashes($add[acttext])."',getpasstext='".eaddslashes($add[getpasstext])."',acttitle='".eaddslashes($add[acttitle])."',getpasstitle='".eaddslashes($add[getpasstitle])."',opengetpass='$add[opengetpass]',hlistinfonum='$add[hlistinfonum]',qlistinfonum='$add[qlistinfonum]',dtncanbq='$add[dtncanbq]',dtncachetime='$add[dtncachetime]',readdinfotime='$add[readdinfotime]',qeditinfotime='$add[qeditinfotime]',ftpssl='$add[ftpssl]',ftppasv='$add[ftppasv]',ftpouttime='$add[ftpouttime]',onclicktype='$add[onclicktype]',onclickfilesize='$add[onclickfilesize]',onclickfiletime='$add[onclickfiletime]',closeqdt='$add[closeqdt]',settop='$add[settop]',qlistinfomod='$add[qlistinfomod]',gb_num='$add[gb_num]',member_num='$add[member_num]',space_num='$add[space_num]',opendoip='$add[opendoip]',closedoip='$add[closedoip]',doiptype='$doiptypes',infolday='$add[infolday]',filelday='$add[filelday]',baktempnum='$add[baktempnum]',dorepkey='$add[dorepkey]',dorepword='$add[dorepword]',onclickrnd='$add[onclickrnd]',indexpagedt='$add[indexpagedt]',keybgcolor='$add[keybgcolor]',keyfontcolor='$add[keyfontcolor]',keydistcolor='$add[keydistcolor]',closeqdtmsg='$add[closeqdtmsg]',openfileserver='$add[openfileserver]',closemods='$closemodss',fieldandtop='$add[fieldandtop]',fieldandclosetb='$add[fieldandclosetb]',closelisttemp='".eaddslashes($add[closelisttemp])."',chclasscolor='".eaddslashes($add[chclasscolor])."',timeclose='".eaddslashes($timecloses)."',timeclosedo='".eaddslashes($timeclosedos)."',ipaddinfonum='$add[ipaddinfonum]',ipaddinfotime='$add[ipaddinfotime]',closehmenu='$closehmenus',indexaddpage='$add[indexaddpage]',modmemberedittran='$add[modmemberedittran]',modinfoedittran='$add[modinfoedittran]',php_adminouttime='$add[php_adminouttime]',httptype='$add[httptype]',qinfoaddfen='$add[qinfoaddfen]',bakescapetype='$add[bakescapetype]',hkeytime='$add[hkeytime]',hkeyrnd='$add[hkeyrnd]',mhavedatedo='$add[mhavedatedo]',reportkey='$add[reportkey]',usetotalnum='$add[usetotalnum]',spacegids='".eaddslashes($spacegids)."',candocodetag='$add[candocodetag]',openern='".eaddslashes($openerns)."',ernurl='".eaddslashes($ernurl)."';");
  351. //配置副表
  352. $addpsql=$empire->query("update {$dbtbpre}enewspublicadd set toqjf='$add[toqjf]',qtoqjf='$add[qtoqjf]';");
  353. DoSetFileServer($add);//远程附件更新
  354. GetConfig();
  355. //首页动态文件
  356. if($add['indexpagedt']!=$add['oldindexpagedt'])
  357. {
  358. if($add['indexpagedt'])
  359. {
  360. DelFiletext(ECMS_PATH.'index'.$add[indextype]);
  361. @copy(ECMS_PATH.'e/data/template/dtindexpage.txt',ECMS_PATH.'index.php');
  362. }
  363. else
  364. {
  365. DelFiletext(ECMS_PATH.'index.php');
  366. $indextemp=GetIndextemp();
  367. NewsBq(0,$indextemp,1,0);
  368. }
  369. }
  370. if($sql){
  371. insert_dolog("");//操作日志
  372. printerror("SetPublicSuccess","SetEnews.php".hReturnEcmsHashStrHref2(1));
  373. }
  374. else{
  375. printerror("DbError","history.go(-1)");
  376. }
  377. }
  378. //远程附件更新
  379. function DoSetFileServer($add){
  380. global $empire,$dbtbpre;
  381. $update='';
  382. if($add['fs_ftppassword'])
  383. {
  384. $update=",ftppassword='$add[fs_ftppassword]'";
  385. }
  386. $add['fs_ftpmode']=(int)$add['fs_ftpmode'];
  387. $add['fs_ftpssl']=(int)$add['fs_ftpssl'];
  388. $add['fs_ftppasv']=(int)$add['fs_ftppasv'];
  389. $add['fs_ftpouttime']=(int)$add['fs_ftpouttime'];
  390. $sql=$empire->query("update {$dbtbpre}enewspostserver set purl='$add[fs_purl]',ftphost='$add[fs_ftphost]',ftpport='$add[fs_ftpport]',ftpusername='$add[fs_ftpusername]',ftppath='$add[fs_ftppath]',ftpmode='$add[fs_ftpmode]',ftpssl='$add[fs_ftpssl]',ftppasv='$add[fs_ftppasv]',ftpouttime='$add[fs_ftpouttime]'".$update." where pid='1'");
  391. }
  392. //测试远程附件FTP
  393. function CheckFileServerFtp($add,$userid,$username){
  394. global $empire,$dbtbpre;
  395. //操作权限
  396. CheckLevel($userid,$username,$classid,"public");
  397. $ftphost=$add[fs_ftphost];
  398. $ftpport=$add[fs_ftpport];
  399. $ftpusername=$add[fs_ftpusername];
  400. if($add[fs_ftppassword])
  401. {
  402. $ftppassword=$add[fs_ftppassword];
  403. }
  404. else
  405. {
  406. $fsr=$empire->fetch1("select ftppassword from {$dbtbpre}enewspostserver where pid='1' limit 1");
  407. $ftppassword=$fsr[ftppassword];
  408. }
  409. $ftppath=$add[fs_ftppath];
  410. $tranmode=(int)$add['fs_ftpmode'];
  411. $ftpssl=(int)$add['fs_ftpssl'];
  412. $pasv=(int)$add['fs_ftppasv'];
  413. $timeout=(int)$add['fs_ftpouttime'];
  414. CheckFtpConnect($ftphost,$ftpport,$ftpusername,$ftppassword,$ftppath,$ftpssl,$pasv,$tranmode,$timeout);
  415. }
  416. //测试远程发布FTP
  417. function CheckPostServerFtp($add,$userid,$username){
  418. global $empire,$dbtbpre;
  419. //操作权限
  420. CheckLevel($userid,$username,$classid,"public");
  421. $ftphost=$add[ftphost];
  422. $ftpport=$add[ftpport];
  423. $ftpusername=$add[ftpusername];
  424. if($add[ftppassword])
  425. {
  426. $ftppassword=$add[ftppassword];
  427. }
  428. else
  429. {
  430. $fsr=$empire->fetch1("select ftppassword from {$dbtbpre}enewspublic limit 1");
  431. $ftppassword=$fsr[ftppassword];
  432. }
  433. $ftppath=$add[ftppath];
  434. $tranmode=(int)$add['ftpmode'];
  435. $ftpssl=(int)$add['ftpssl'];
  436. $pasv=(int)$add['ftppasv'];
  437. $timeout=(int)$add['ftpouttime'];
  438. CheckFtpConnect($ftphost,$ftpport,$ftpusername,$ftppassword,$ftppath,$ftpssl,$pasv,$tranmode,$timeout);
  439. }
  440. $enews=$_POST['enews'];
  441. if(empty($enews))
  442. {
  443. $enews=$_GET['enews'];
  444. }
  445. if($enews)
  446. {
  447. hCheckEcmsRHash();
  448. include LoadLang("pub/fun.php");
  449. include("../data/dbcache/class.php");
  450. include("../data/dbcache/MemberLevel.php");
  451. }
  452. if($enews=="SetEnews")//参数设置
  453. {
  454. SetEnews($_POST,$logininid,$loginin);
  455. }
  456. elseif($enews=='CheckFileServerFtp')//测试附件FTP
  457. {
  458. CheckFileServerFtp($_POST,$logininid,$loginin);
  459. }
  460. elseif($enews=='CheckPostServerFtp')//测试远程发布FTP
  461. {
  462. CheckPostServerFtp($_POST,$logininid,$loginin);
  463. }
  464. $r=$empire->fetch1("select * from {$dbtbpre}enewspublic limit 1");
  465. $addpr=$empire->fetch1("select * from {$dbtbpre}enewspublicadd limit 1");
  466. //文件类别
  467. $filetype=substr($r[filetype],1,strlen($r[filetype]));
  468. $filetype=substr($filetype,0,strlen($filetype)-1);
  469. //投稿图片扩展名
  470. $qaddimgtype=substr($r[qaddtranimgtype],1,strlen($r[qaddtranimgtype]));
  471. $qaddimgtype=substr($qaddimgtype,0,strlen($qaddimgtype)-1);
  472. //投稿附件扩展名
  473. $qaddfiletype=substr($r[qaddtranfiletype],1,strlen($r[qaddtranfiletype]));
  474. $qaddfiletype=substr($qaddfiletype,0,strlen($qaddfiletype)-1);
  475. //反馈附件
  476. $feedbackfiletype=substr($r[feedbackfiletype],1,strlen($r[feedbackfiletype])-2);
  477. //会员表单
  478. $memberimgtype=substr($r[memberimgtype],1,strlen($r[memberimgtype]));
  479. $memberimgtype=substr($memberimgtype,0,strlen($memberimgtype)-1);
  480. $memberfiletype=substr($r[memberfiletype],1,strlen($r[memberfiletype]));
  481. $memberfiletype=substr($memberfiletype,0,strlen($memberfiletype)-1);
  482. //----------会员组
  483. $mgshowline=5;//一行显示五个
  484. $mgsi=0;
  485. $sql1=$empire->query("select groupid,groupname from {$dbtbpre}enewsmembergroup order by level");
  486. while($l_r=$empire->fetch($sql1))
  487. {
  488. if($r[defaultgroupid]==$l_r[groupid])
  489. {$select=" selected";}
  490. else
  491. {$select="";}
  492. //搜索会员组
  493. if($r[searchgroupid]==$l_r[groupid])
  494. {$s_select=" selected";}
  495. else
  496. {$s_select="";}
  497. //查看资料权限
  498. if($r[showinfolevel]==$l_r[groupid])
  499. {$showinfo_select=" selected";}
  500. else
  501. {$showinfo_select="";}
  502. //会员列表查看权限
  503. if($r[memberlistlevel]==$l_r[groupid])
  504. {$memberlist_select=" selected";}
  505. else
  506. {$memberlist_select="";}
  507. $membergroup.="<option value=".$l_r[groupid].$select.">".$l_r[groupname]."</option>";
  508. $searchmembergroup.="<option value=".$l_r[groupid].$s_select.">".$l_r[groupname]."</option>";
  509. $showinfolevel.="<option value=".$l_r[groupid].$showinfo_select.">".$l_r[groupname]."</option>";
  510. $memberlistlevel.="<option value=".$l_r[groupid].$memberlist_select.">".$l_r[groupname]."</option>";
  511. //会员空间
  512. $mgsi++;
  513. $mgsbr='';
  514. if($mgsi%$mgshowline==0)
  515. {
  516. $mgsbr='<br>';
  517. }
  518. if(strstr($r['spacegids'],','.$l_r['groupid'].','))
  519. {$mgschecked=' checked';}
  520. else
  521. {$mgschecked='';}
  522. $spacegids.="<input type='checkbox' name='spacegid[]' value='$l_r[groupid]'".$mgschecked.">".$l_r[groupname]."&nbsp;".$mgsbr;
  523. }
  524. //远程附件
  525. if($r['openfileserver']==1)
  526. {
  527. $hiddenfileserver="<script>document.getElementById('setfileserver').style.display='';</script>";
  528. }
  529. else
  530. {
  531. $hiddenfileserver="<script>document.getElementById('setfileserver').style.display='none';</script>";
  532. }
  533. $fsr=$empire->fetch1("select * from {$dbtbpre}enewspostserver where pid='1' limit 1");
  534. //当前使用的模板组
  535. $thegid=GetDoTempGid();
  536. db_close();
  537. $empire=null;
  538. ?>
  539. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  540. <html>
  541. <head>
  542. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  543. <title>参数设置</title>
  544. <link href="adminstyle/<?=$loginadminstyleid?>/adminstyle.css" rel="stylesheet" type="text/css">
  545. <link id="luna-tab-style-sheet" type="text/css" rel="stylesheet" href="adminstyle/<?=$loginadminstyleid?>/tab.winclassic.css" disabled="disabled" />
  546. <!-- the id is not needed. It is used here to be able to change css file at runtime -->
  547. <style type="text/css">
  548. .dynamic-tab-pane-control .tab-page {
  549. width: 98%;
  550. }
  551. .dynamic-tab-pane-control .tab-page .dynamic-tab-pane-control .tab-page {
  552. height: 150px;
  553. }
  554. form {
  555. margin: 0;
  556. padding: 0;
  557. }
  558. /* over ride styles from webfxlayout */
  559. .dynamic-tab-pane-control h2 {
  560. font-size:12px;
  561. font-weight:normal;
  562. text-align: center;
  563. width: auto;
  564. height: 20;
  565. }
  566. .dynamic-tab-pane-control h2 a {
  567. display: inline;
  568. width: auto;
  569. }
  570. .dynamic-tab-pane-control a:hover {
  571. background: transparent;
  572. }
  573. </style>
  574. <script type="text/javascript" src="../data/images/tabpane.js"></script> <script type="text/javascript">
  575. function setLinkSrc( sStyle ) {
  576. document.getElementById( "luna-tab-style-sheet" ).disabled = sStyle != "luna";
  577. //document.documentElement.style.background = "";
  578. //document.body.style.background = sStyle == "webfx" ? "white" : "ThreeDFace";
  579. }
  580. function chgBg(obj,color){
  581. if (document.all || document.getElementById)
  582. obj.style.backgroundColor=color;
  583. else if (document.layers)
  584. obj.bgColor=color;
  585. }
  586. setLinkSrc( "luna" );
  587. function foreColor(objf)
  588. {
  589. if (!Error()) return;
  590. var arr = showModalDialog("ecmseditor/fieldfile/selcolor.html", "", "dialogWidth:296px; dialogHeight:280px; status:0");
  591. if (arr != null) objf.value=arr;
  592. else objf.focus();
  593. }
  594. </script>
  595. <script type="text/javascript" src="ecmseditor/js/jstime/WdatePicker.js"></script>
  596. <script type="text/javascript" src="ecmseditor/js/jscolor/jscolor.js"></script>
  597. </head>
  598. <body>
  599. <table width="100%%" border="0" align="center" cellpadding="3" cellspacing="1">
  600. <tr>
  601. <td>位置:<a href="SetEnews.php<?=$ecms_hashur['whehref']?>">参数设置</a></td>
  602. </tr>
  603. </table>
  604. <form name="form1" method="post" action="SetEnews.php" autocomplete="off">
  605. <div class="tab-pane" id="TabPane1"> <script type="text/javascript">
  606. tb1 = new WebFXTabPane( document.getElementById( "TabPane1" ) );
  607. </script>
  608. <div class="tab-page" id="baseinfo">
  609. <h2 class="tab">&nbsp;<font class=tabcolor>基本属性</font>&nbsp;</h2>
  610. <script type="text/javascript">tb1.addTabPage( document.getElementById( "baseinfo" ) );</script>
  611. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  612. <?=$ecms_hashur['form']?>
  613. <input type=hidden name=enews value=SetEnews>
  614. <tr class="header">
  615. <td height="25" colspan="2">基本信息设置</td>
  616. </tr>
  617. <tr>
  618. <td height="25" bgcolor="#FFFFFF">传输协议</td>
  619. <td height="25" bgcolor="#FFFFFF"><select name="httptype" id="httptype">
  620. <option value="0"<?=$r['httptype']==0?' selected':''?>>系统自动识别</option>
  621. <option value="1"<?=$r['httptype']==1?' selected':''?>>全站http://</option>
  622. <option value="2"<?=$r['httptype']==2?' selected':''?>>全站https://</option>
  623. <option value="3"<?=$r['httptype']==3?' selected':''?>>后台https,前台http</option>
  624. <option value="4"<?=$r['httptype']==4?' selected':''?>>后台http,前台https</option>
  625. </select>
  626. <font color="#666666">(一般默认即可,使用https需要服务器支持)</font></td>
  627. </tr>
  628. <tr>
  629. <td width="22%" height="25" bgcolor="#FFFFFF">站点名称</td>
  630. <td width="78%" height="25" bgcolor="#FFFFFF"> <input name="sitename" type="text" id="sitename" value="<?=$r[sitename]?>" size="38"></td>
  631. </tr>
  632. <tr>
  633. <td height="25" bgcolor="#FFFFFF">网站地址</td>
  634. <td height="25" bgcolor="#FFFFFF"> <input name="newsurl" type="text" id="newsurl4" value="<?=$r[newsurl]?>" size="38">
  635. <font color="#666666">(结尾需加“/”,如:/)</font></td>
  636. </tr>
  637. <tr>
  638. <td height="25" bgcolor="#FFFFFF">附件地址</td>
  639. <td height="25" bgcolor="#FFFFFF"><input name="fileurl" type="text" id="fileurl" value="<?=$r[fileurl]?>" size="38">
  640. <font color="#666666">(绑定域名时设置,结尾需加“/”,如:/d/file/)</font></td>
  641. </tr>
  642. <tr>
  643. <td height="25" bgcolor="#FFFFFF">管理员邮箱</td>
  644. <td height="25" bgcolor="#FFFFFF"> <input name="email" type="text" id="email" value="<?=$r[email]?>" size="38"></td>
  645. </tr>
  646. <tr>
  647. <td height="25" bgcolor="#FFFFFF">网站关键字</td>
  648. <td height="25" bgcolor="#FFFFFF"><input name="sitekey" type="text" id="sitekey" value="<?=$r[sitekey]?>" size="38"></td>
  649. </tr>
  650. <tr>
  651. <td height="25" bgcolor="#FFFFFF">网站简介</td>
  652. <td height="25" bgcolor="#FFFFFF"><textarea name="siteintro" cols="80" rows="5" id="siteintro"><?=$r[siteintro]?></textarea></td>
  653. </tr>
  654. <tr>
  655. <td height="25" bgcolor="#FFFFFF">首页文件扩展名</td>
  656. <td height="25" bgcolor="#FFFFFF"><input name="indextype" type="text" id="indextype" value="<?=$r[indextype]?>" size="38">
  657. <font color="#666666">
  658. <select name="select" onchange="document.form1.indextype.value=this.value">
  659. <option value=".html">扩展名</option>
  660. <option value=".html">.html</option>
  661. <option value=".htm">.htm</option>
  662. <option value=".php">.php</option>
  663. <option value=".shtml">.shtml</option>
  664. </select>
  665. <input name="oldindextype" type="hidden" id="oldindextype" value="<?=$r[indextype]?>">
  666. <font color="#666666"></font>(如:.html,.htm,.xml,.php)</font></td>
  667. </tr>
  668. <tr>
  669. <td height="25" bgcolor="#FFFFFF">首页模式</td>
  670. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="indexpagedt" value="0"<?=$r['indexpagedt']==0?' checked':''?>>
  671. 静态首页
  672. <input type="radio" name="indexpagedt" value="1"<?=$r['indexpagedt']==1?' checked':''?>>
  673. 动态首页
  674. <input name="oldindexpagedt" type="hidden" id="oldindexpagedt" value="<?=$r[indexpagedt]?>"></td>
  675. </tr>
  676. <tr>
  677. <td height="25" bgcolor="#FFFFFF">首页链接加文件名</td>
  678. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="indexaddpage" value="1"<?=$r['indexaddpage']==1?' checked':''?>>
  679. 增加
  680. <input type="radio" name="indexaddpage" value="0"<?=$r['indexaddpage']==0?' checked':''?>>
  681. 不增加</td>
  682. </tr>
  683. <tr>
  684. <td height="25" bgcolor="#FFFFFF">前台PHP超时时间设置</td>
  685. <td height="25" bgcolor="#FFFFFF"><input name="php_outtime" type="text" id="php_outtime" value="<?=$r[php_outtime]?>" size="38">
  686. 秒 <font color="#666666">(一般不需要设置)</font></td>
  687. </tr>
  688. <tr>
  689. <td height="25" bgcolor="#FFFFFF">后台PHP超时时间设置</td>
  690. <td height="25" bgcolor="#FFFFFF"><input name="php_adminouttime" type="text" id="php_adminouttime" value="<?=$r[php_adminouttime]?>" size="38">
  691. 秒 <font color="#666666">(一般不需要设置)</font></td>
  692. </tr>
  693. <tr>
  694. <td height="25" bgcolor="#FFFFFF">关闭前台所有动态页面</td>
  695. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="closeqdt" value="1"<?=$r[closeqdt]==1?' checked':''?>>
  696. <input type="radio" name="closeqdt" value="0"<?=$r[closeqdt]==0?' checked':''?>>
  697. 否<font color="#666666">(如果开启,前台所有动态文件都无法使用,但性能和安全性最高)</font></td>
  698. </tr>
  699. <tr>
  700. <td height="25" bgcolor="#FFFFFF">关闭动态页面提示内容</td>
  701. <td height="25" bgcolor="#FFFFFF"> <textarea name="closeqdtmsg" cols="80" rows="5" id="closeqdtmsg"><?=ehtmlspecialchars($r[closeqdtmsg])?></textarea></td>
  702. </tr>
  703. <tr>
  704. <td height="25" bgcolor="#FFFFFF">关闭前台模块相关功能</td>
  705. <td height="25" bgcolor="#FFFFFF"><input name="closemods[]" type="checkbox" id="closemods[]" value="down"<?=strstr($r['closemods'],',down,')?' checked':''?>>
  706. 下载
  707. <input name="closemods[]" type="checkbox" id="closemods[]" value="movie"<?=strstr($r['closemods'],',movie,')?' checked':''?>>
  708. 电影
  709. <input name="closemods[]" type="checkbox" id="closemods[]" value="shop"<?=strstr($r['closemods'],',shop,')?' checked':''?>>
  710. 商城
  711. <input name="closemods[]" type="checkbox" id="closemods[]" value="pay"<?=strstr($r['closemods'],',pay,')?' checked':''?>>
  712. 在线支付
  713. <input name="closemods[]" type="checkbox" id="closemods[]" value="rss"<?=strstr($r['closemods'],',rss,')?' checked':''?>>
  714. RSS
  715. <input name="closemods[]" type="checkbox" id="closemods[]" value="search"<?=strstr($r['closemods'],',search,')?' checked':''?>>
  716. 搜索
  717. <input name="closemods[]" type="checkbox" id="closemods[]" value="sch"<?=strstr($r['closemods'],',sch,')?' checked':''?>>
  718. 全站搜索
  719. <input name="closemods[]" type="checkbox" id="closemods[]" value="error"<?=strstr($r['closemods'],',error,')?' checked':''?>>
  720. 错误报告<br>
  721. <input name="closemods[]" type="checkbox" id="closemods[]" value="member"<?=strstr($r['closemods'],',member,')?' checked':''?>>
  722. 会员
  723. <input name="closemods[]" type="checkbox" id="closemods[]" value="pl"<?=strstr($r['closemods'],',pl,')?' checked':''?>>
  724. 评论
  725. <input name="closemods[]" type="checkbox" id="closemods[]" value="print"<?=strstr($r['closemods'],',print,')?' checked':''?>>
  726. 打印
  727. <input name="closemods[]" type="checkbox" id="closemods[]" value="mconnect"<?=strstr($r['closemods'],',mconnect,')?' checked':''?>>
  728. 外部登录
  729. <input name="closemods[]" type="checkbox" id="closemods[]" value="fieldand"<?=strstr($r['closemods'],',fieldand,')?' checked':''?>>
  730. 结合项
  731. <input name="closemods[]" type="checkbox" id="closemods[]" value="gb"<?=strstr($r['closemods'],',gb,')?' checked':''?>>
  732. 留言板
  733. <input name="closemods[]" type="checkbox" id="closemods[]" value="fb"<?=strstr($r['closemods'],',fb,')?' checked':''?>>
  734. 反馈
  735. <input name="closemods[]" type="checkbox" id="closemods[]" value="mlist"<?=strstr($r['closemods'],',mlist,')?' checked':''?>>
  736. 会员列表</td>
  737. </tr>
  738. <tr>
  739. <td height="25" bgcolor="#FFFFFF">不开启操作的时间点</td>
  740. <td height="25" bgcolor="#FFFFFF"><table width="500" border="0" cellspacing="1" cellpadding="3">
  741. <tr>
  742. <td><input name="timeclose[]" type="checkbox" value="0"<?=strstr($r['timeclose'],',0,')?' checked':''?>>
  743. 0点</td>
  744. <td><input name="timeclose[]" type="checkbox" value="1"<?=strstr($r['timeclose'],',1,')?' checked':''?>>
  745. 1点</td>
  746. <td><input name="timeclose[]" type="checkbox" value="2"<?=strstr($r['timeclose'],',2,')?' checked':''?>>
  747. 2点</td>
  748. <td><input name="timeclose[]" type="checkbox" value="3"<?=strstr($r['timeclose'],',3,')?' checked':''?>>
  749. 3点</td>
  750. <td><input name="timeclose[]" type="checkbox" value="4"<?=strstr($r['timeclose'],',4,')?' checked':''?>>
  751. 4点</td>
  752. <td><input name="timeclose[]" type="checkbox" value="5"<?=strstr($r['timeclose'],',5,')?' checked':''?>>
  753. 5点</td>
  754. </tr>
  755. <tr>
  756. <td><input name="timeclose[]" type="checkbox" value="6"<?=strstr($r['timeclose'],',6,')?' checked':''?>>
  757. 6点</td>
  758. <td><input name="timeclose[]" type="checkbox" value="7"<?=strstr($r['timeclose'],',7,')?' checked':''?>>
  759. 7点</td>
  760. <td><input name="timeclose[]" type="checkbox" value="8"<?=strstr($r['timeclose'],',8,')?' checked':''?>>
  761. 8点</td>
  762. <td><input name="timeclose[]" type="checkbox" value="9"<?=strstr($r['timeclose'],',9,')?' checked':''?>>
  763. 9点</td>
  764. <td><input name="timeclose[]" type="checkbox" value="10"<?=strstr($r['timeclose'],',10,')?' checked':''?>>
  765. 10点</td>
  766. <td><input name="timeclose[]" type="checkbox" value="11"<?=strstr($r['timeclose'],',11,')?' checked':''?>>
  767. 11点</td>
  768. </tr>
  769. <tr>
  770. <td><input name="timeclose[]" type="checkbox" value="12"<?=strstr($r['timeclose'],',12,')?' checked':''?>>
  771. 12点</td>
  772. <td><input name="timeclose[]" type="checkbox" value="13"<?=strstr($r['timeclose'],',13,')?' checked':''?>>
  773. 13点</td>
  774. <td><input name="timeclose[]" type="checkbox" value="14"<?=strstr($r['timeclose'],',14,')?' checked':''?>>
  775. 14点</td>
  776. <td><input name="timeclose[]" type="checkbox" value="15"<?=strstr($r['timeclose'],',15,')?' checked':''?>>
  777. 15点</td>
  778. <td><input name="timeclose[]" type="checkbox" value="16"<?=strstr($r['timeclose'],',16,')?' checked':''?>>
  779. 16点</td>
  780. <td><input name="timeclose[]" type="checkbox" value="17"<?=strstr($r['timeclose'],',17,')?' checked':''?>>
  781. 17点</td>
  782. </tr>
  783. <tr>
  784. <td><input name="timeclose[]" type="checkbox" value="18"<?=strstr($r['timeclose'],',18,')?' checked':''?>>
  785. 18点</td>
  786. <td><input name="timeclose[]" type="checkbox" value="19"<?=strstr($r['timeclose'],',19,')?' checked':''?>>
  787. 19点</td>
  788. <td><input name="timeclose[]" type="checkbox" value="20"<?=strstr($r['timeclose'],',20,')?' checked':''?>>
  789. 20点</td>
  790. <td><input name="timeclose[]" type="checkbox" value="21"<?=strstr($r['timeclose'],',21,')?' checked':''?>>
  791. 21点</td>
  792. <td><input name="timeclose[]" type="checkbox" value="22"<?=strstr($r['timeclose'],',22,')?' checked':''?>>
  793. 22点</td>
  794. <td><input name="timeclose[]" type="checkbox" value="23"<?=strstr($r['timeclose'],',23,')?' checked':''?>>
  795. 23点</td>
  796. </tr>
  797. </table></td>
  798. </tr>
  799. <tr>
  800. <td height="25" bgcolor="#FFFFFF">限定操作时间的操作</td>
  801. <td height="25" bgcolor="#FFFFFF"><input name="timeclosedo[]" type="checkbox" id="timeclosedo[]" value="reg"<?=strstr($r['timeclosedo'],',reg,')?' checked':''?>>
  802. 注册会员
  803. <input name="timeclosedo[]" type="checkbox" id="timeclosedo[]" value="info"<?=strstr($r['timeclosedo'],',info,')?' checked':''?>>
  804. 投稿
  805. <input name="timeclosedo[]" type="checkbox" id="timeclosedo[]" value="pl"<?=strstr($r['timeclosedo'],',pl,')?' checked':''?>>
  806. 评论
  807. <input name="timeclosedo[]" type="checkbox" id="timeclosedo[]" value="gbook"<?=strstr($r['timeclosedo'],',gbook,')?' checked':''?>>
  808. 留言板</td>
  809. </tr>
  810. <tr>
  811. <td height="25" valign="top" bgcolor="#FFFFFF">远程保存忽略地址<br> <br> <font color="#666666">(一行为一个地址)</font></td>
  812. <td height="25" bgcolor="#FFFFFF"><textarea name="notsaveurl" cols="80" rows="8" id="notsaveurl"><?=$r[notsaveurl]?></textarea></td>
  813. </tr>
  814. <tr>
  815. <td height="25" valign="top" bgcolor="#FFFFFF">前台允许提交的来源地址<br> <br>
  816. <font color="#666666">(一行为一个地址)</font></td>
  817. <td height="25" bgcolor="#FFFFFF"><textarea name="canposturl" cols="80" rows="8" id="canposturl"><?=$r[canposturl]?></textarea></td>
  818. </tr>
  819. <tr>
  820. <td height="25" bgcolor="#FFFFFF">验证码字符组成</td>
  821. <td height="25" bgcolor="#FFFFFF"><select name="keytog" id="keytog">
  822. <option value="0"<?=$r[keytog]==0?' selected':''?>>数字</option>
  823. <option value="1"<?=$r[keytog]==1?' selected':''?>>字母</option>
  824. <option value="2"<?=$r[keytog]==2?' selected':''?>>数字+字母</option>
  825. </select></td>
  826. </tr>
  827. <tr>
  828. <td height="25" bgcolor="#FFFFFF">后台验证码过期时间</td>
  829. <td height="25" bgcolor="#FFFFFF"><input name="hkeytime" type="text" id="hkeytime" value="<?=$r[hkeytime]?>" size="38">
  830. 秒</td>
  831. </tr>
  832. <tr>
  833. <td height="25" bgcolor="#FFFFFF">后台验证码加密字符串</td>
  834. <td height="25" bgcolor="#FFFFFF"><input name="hkeyrnd" type="text" id="hkeyrnd" value="<?=$r[hkeyrnd]?>" size="38">
  835. <font color="#666666">(10~60个任意字符,最好多种字符组合)</font></td>
  836. </tr>
  837. <tr>
  838. <td height="25" bgcolor="#FFFFFF">前台验证码过期时间</td>
  839. <td height="25" bgcolor="#FFFFFF"><input name="keytime" type="text" id="keytime" value="<?=$r[keytime]?>" size="38">
  840. 秒 </td>
  841. </tr>
  842. <tr>
  843. <td height="25" bgcolor="#FFFFFF">前台验证码加密字符串</td>
  844. <td height="25" bgcolor="#FFFFFF"><input name="keyrnd" type="text" id="keyrnd" value="<?=$r[keyrnd]?>" size="38">
  845. <font color="#666666">(10~60个任意字符,最好多种字符组合)</font></td>
  846. </tr>
  847. <tr>
  848. <td rowspan="3" bgcolor="#FFFFFF">验证码配色</td>
  849. <td height="25" bgcolor="#FFFFFF">背景颜色:
  850. <input name="keybgcolor" type="text" id="keybgcolor" value="<?=$r[keybgcolor]?>" class="color">
  851. </td>
  852. </tr>
  853. <tr>
  854. <td height="25" bgcolor="#FFFFFF">文字颜色:
  855. <input name="keyfontcolor" type="text" id="keyfontcolor" value="<?=$r[keyfontcolor]?>" class="color">
  856. </td>
  857. </tr>
  858. <tr>
  859. <td height="25" bgcolor="#FFFFFF">干扰颜色:
  860. <input name="keydistcolor" type="text" id="keydistcolor" value="<?=$r[keydistcolor]?>" class="color">
  861. </td>
  862. </tr>
  863. </table>
  864. </div>
  865. <div class="tab-page" id="login">
  866. <h2 class="tab">&nbsp;<font class="tabcolor">用户设置</font>&nbsp;</h2>
  867. <script type="text/javascript">tb1.addTabPage( document.getElementById( "login" ) );</script>
  868. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  869. <tr class="header">
  870. <td height="25" colspan="2">后台设置</td>
  871. </tr>
  872. <tr>
  873. <td height="25" bgcolor="#FFFFFF">后台登陆验证码</td>
  874. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="adminloginkey" value="0"<?=$r[adminloginkey]==0?' checked':''?>>
  875. 开启
  876. <input type="radio" name="adminloginkey" value="1"<?=$r[adminloginkey]==1?' checked':''?>>
  877. 关闭</td>
  878. </tr>
  879. <tr>
  880. <td width="22%" height="25" bgcolor="#FFFFFF">后台登录次数限制</td>
  881. <td height="25" bgcolor="#FFFFFF"><input name="loginnum" type="text" id="loginnum" value="<?=$r[loginnum]?>" size="38">
  882. 次</td>
  883. </tr>
  884. <tr>
  885. <td height="25" bgcolor="#FFFFFF">重新登录时间间隔</td>
  886. <td height="25" bgcolor="#FFFFFF"><input name="logintime" type="text" id="logintime" value="<?=$r[logintime]?>" size="38">
  887. 分钟</td>
  888. </tr>
  889. <tr>
  890. <td height="25" bgcolor="#FFFFFF">登录超时限制</td>
  891. <td height="25" bgcolor="#FFFFFF"><input name="exittime" type="text" id="exittime" value="<?=$r[exittime]?>" size="38">
  892. 分钟</td>
  893. </tr>
  894. </table>
  895. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  896. <tr class="header">
  897. <td height="24" colspan="2">前台设置</td>
  898. </tr>
  899. <tr>
  900. <td height="25" bgcolor="#FFFFFF"><p>会员注册</p></td>
  901. <td height="25" bgcolor="#FFFFFF"><p>
  902. <input type="radio" name="register_ok" value="0"<?=$r[register_ok]==0?' checked':''?>>
  903. 开启
  904. <input type="radio" name="register_ok" value="1"<?=$r[register_ok]==1?' checked':''?>>
  905. 关闭</p></td>
  906. </tr>
  907. <tr>
  908. <td width="22%" height="25" bgcolor="#FFFFFF">注册会员默认会员组</td>
  909. <td height="25" bgcolor="#FFFFFF"><select name="defaultgroupid">
  910. <?=$membergroup?>
  911. </select></td>
  912. </tr>
  913. <tr>
  914. <td height="25" bgcolor="#FFFFFF">注册赠送点数</td>
  915. <td height="25" bgcolor="#FFFFFF"><input name="reggetfen" type="text" id="reggetfen" value="<?=$r[reggetfen]?>" size="38"></td>
  916. </tr>
  917. <tr>
  918. <td width="22%" height="25" bgcolor="#FFFFFF">注册用户名限制</td>
  919. <td height="25" bgcolor="#FFFFFF"><input name="min_userlen" type="text" id="min_userlen" value="<?=$r[min_userlen]?>" size="6">
  920. ~
  921. <input name="max_userlen" type="text" id="max_userlen" value="<?=$r[max_userlen]?>" size="6">
  922. 个字节</td>
  923. </tr>
  924. <tr>
  925. <td height="25" bgcolor="#FFFFFF">注册密码限制</td>
  926. <td height="25" bgcolor="#FFFFFF"><input name="min_passlen" type="text" id="min_passlen" value="<?=$r[min_passlen]?>" size="6">
  927. ~
  928. <input name="max_passlen" type="text" id="max_passlen" value="<?=$r[max_passlen]?>" size="6">
  929. 个字节</td>
  930. </tr>
  931. <tr>
  932. <td height="25" bgcolor="#FFFFFF">会员邮箱唯一性检查:</td>
  933. <td height="25" bgcolor="#FFFFFF"><input name="regemailonly" type="radio" value="1"<?=$r[regemailonly]==1?' checked':''?>>
  934. 开启
  935. <input name="regemailonly" type="radio" value="0"<?=$r[regemailonly]==0?' checked':''?>>
  936. 关闭</td>
  937. </tr>
  938. <tr>
  939. <td height="25" bgcolor="#FFFFFF">同一IP注册间隔限制:</td>
  940. <td height="25" bgcolor="#FFFFFF"><input name="regretime" type="text" id="regretime" value="<?=$r[regretime]?>" size="38">
  941. 个小时</td>
  942. </tr>
  943. <tr>
  944. <td height="25" bgcolor="#FFFFFF">用户名保留关键字:</td>
  945. <td height="25" bgcolor="#FFFFFF"><input name="regclosewords" type="text" id="repnum3" value="<?=$r[regclosewords]?>" size="38">
  946. <font color="#666666">(禁止包含字符,多个用&quot;|&quot;号隔开,支持多字验证)</font></td>
  947. </tr>
  948. <tr>
  949. <td height="25" bgcolor="#FFFFFF">投稿功能</td>
  950. <td height="25" bgcolor="#FFFFFF"> <input type="radio" name="addnews_ok" value="0"<?=$r[addnews_ok]==0?' checked':''?>>
  951. 开启
  952. <input type="radio" name="addnews_ok" value="1"<?=$r[addnews_ok]==1?' checked':''?>>
  953. 关闭</td>
  954. </tr>
  955. <tr>
  956. <td height="25" bgcolor="#FFFFFF">会员空间</td>
  957. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="openspace" value="0"<?=$r[openspace]==0?' checked':''?>>
  958. 开启
  959. <input type="radio" name="openspace" value="1"<?=$r[openspace]==1?' checked':''?>>
  960. 关闭 </td>
  961. </tr>
  962. <tr>
  963. <td height="25" bgcolor="#FFFFFF">会员登陆验证码</td>
  964. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="loginkey_ok" value="1"<?=$r[loginkey_ok]==1?' checked':''?>>
  965. 开启
  966. <input type="radio" name="loginkey_ok" value="0"<?=$r[loginkey_ok]==0?' checked':''?>>
  967. 关闭</td>
  968. </tr>
  969. <tr>
  970. <td height="25" bgcolor="#FFFFFF">会员注册验证码</td>
  971. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="regkey_ok" value="1"<?=$r[regkey_ok]==1?' checked':''?>>
  972. 开启
  973. <input type="radio" name="regkey_ok" value="0"<?=$r[regkey_ok]==0?' checked':''?>>
  974. 关闭</td>
  975. </tr>
  976. <tr>
  977. <td height="25" bgcolor="#FFFFFF">会员列表查看权限</td>
  978. <td height="25" bgcolor="#FFFFFF"><select name="memberlistlevel" id="memberlistlevel">
  979. <option value=0>游客</option>
  980. <?=$memberlistlevel?>
  981. </select></td>
  982. </tr>
  983. <tr>
  984. <td height="25" bgcolor="#FFFFFF">查看会员资料权限</td>
  985. <td height="25" bgcolor="#FFFFFF"><select name="showinfolevel" id="showinfolevel">
  986. <option value=0>游客</option>
  987. <?=$showinfolevel?>
  988. </select></td>
  989. </tr>
  990. <tr>
  991. <td height="25" bgcolor="#FFFFFF">会员列表每页显示</td>
  992. <td height="25" bgcolor="#FFFFFF"><input name="member_num" type="text" id="member_num" value="<?=$r[member_num]?>" size="38">
  993. 个会员</td>
  994. </tr>
  995. <tr>
  996. <td height="25" bgcolor="#FFFFFF">会员空间信息每页显示</td>
  997. <td height="25" bgcolor="#FFFFFF"><input name="space_num" type="text" id="space_num" value="<?=$r[space_num]?>" size="38">
  998. 个信息</td>
  999. </tr>
  1000. <tr>
  1001. <td height="25" bgcolor="#FFFFFF">可使用会员空间的会员组<br>
  1002. <font color="#666666">(不选为不限)</font></td>
  1003. <td height="25" bgcolor="#FFFFFF"><?=$spacegids?></td>
  1004. </tr>
  1005. <tr>
  1006. <td height="25" bgcolor="#FFFFFF">会员充值有效期</td>
  1007. <td height="25" bgcolor="#FFFFFF">当已有有效期,会员组不相同时处理:
  1008. <select name="mhavedatedo" id="mhavedatedo">
  1009. <option value="0"<?=$r['mhavedatedo']==0?' selected':''?>>不让充值</option>
  1010. <option value="1"<?=$r['mhavedatedo']==1?' selected':''?>>覆盖有效期</option>
  1011. <option value="2"<?=$r['mhavedatedo']==2?' selected':''?>>可叠加有效期</option>
  1012. </select></td>
  1013. </tr>
  1014. <tr>
  1015. <td height="25" bgcolor="#FFFFFF">会员注册审核方式</td>
  1016. <td height="25" bgcolor="#FFFFFF"><input name="regacttype" type="radio" value="0"<?=$r[regacttype]==0?' checked':''?>>
  1017. <input name="regacttype" type="radio" value="1"<?=$r[regacttype]==1?' checked':''?>>
  1018. 邮件激活
  1019. <input name="regacttype" type="radio" value="2"<?=$r[regacttype]==2?' checked':''?>>
  1020. 手动审核
  1021. </td>
  1022. </tr>
  1023. <tr>
  1024. <td height="25" bgcolor="#FFFFFF">激活帐号链接有效期</td>
  1025. <td height="25" bgcolor="#FFFFFF"><input name="acttime" type="text" id="acttime" value="<?=$r[acttime]?>" size="38">
  1026. 小时</td>
  1027. </tr>
  1028. <tr>
  1029. <td height="25" valign="top" bgcolor="#FFFFFF">帐号激活邮件内容<br> <br> <font color="#666666">[!--pageurl--]:激活地址
  1030. <br>
  1031. [!--username--]:用户名<br>
  1032. [!--email--]:邮箱地址<br>
  1033. [!--date--]:发送时间<br>
  1034. [!--sitename--]:网站名称<br>
  1035. [!--news.url--]:网站地址</font></td>
  1036. <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="3">
  1037. <tr>
  1038. <td>标题:
  1039. <input name="acttitle" type="text" id="acttitle" value="<?=stripSlashes($r[acttitle])?>" size="38"></td>
  1040. </tr>
  1041. <tr>
  1042. <td><textarea name="acttext" cols="80" rows="12" style="WIDTH: 100%" id="acttext"><?=ehtmlspecialchars(stripSlashes($r[acttext]))?></textarea></td>
  1043. </tr>
  1044. </table></td>
  1045. </tr>
  1046. <tr>
  1047. <td height="25" bgcolor="#FFFFFF">开启取回密码功能</td>
  1048. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="opengetpass" value="1"<?=$r[opengetpass]==1?' checked':''?>>
  1049. 开启
  1050. <input type="radio" name="opengetpass" value="0"<?=$r[opengetpass]==0?' checked':''?>>
  1051. 关闭</td>
  1052. </tr>
  1053. <tr>
  1054. <td height="25" bgcolor="#FFFFFF">取回密码链接有效期</td>
  1055. <td height="25" bgcolor="#FFFFFF"><input name="getpasstime" type="text" id="getpasstime" value="<?=$r[getpasstime]?>" size="38">
  1056. 小时</td>
  1057. </tr>
  1058. <tr>
  1059. <td height="25" valign="top" bgcolor="#FFFFFF">取回密码邮件内容<br> <br> <font color="#666666">[!--pageurl--]:取回地址
  1060. <br>
  1061. [!--username--]:用户名<br>
  1062. [!--email--]:邮箱地址<br>
  1063. [!--date--]:发送时间<br>
  1064. [!--sitename--]:网站名称<br>
  1065. [!--news.url--]:网站地址 </font></td>
  1066. <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="3">
  1067. <tr>
  1068. <td>标题:
  1069. <input name="getpasstitle" type="text" id="getpasstitle" value="<?=stripSlashes($r[getpasstitle])?>" size="38"></td>
  1070. </tr>
  1071. <tr>
  1072. <td><textarea name="getpasstext" cols="80" rows="12" style="WIDTH: 100%" id="textarea"><?=ehtmlspecialchars(stripSlashes($r[getpasstext]))?></textarea></td>
  1073. </tr>
  1074. </table></td>
  1075. </tr>
  1076. <tr class="header">
  1077. <td height="25" colspan="2">实名设置</td>
  1078. </tr>
  1079. <tr>
  1080. <td height="25" bgcolor="#FFFFFF">需要实名的操作</td>
  1081. <td height="25" bgcolor="#FFFFFF"><input name="openern[]" type="checkbox" id="openern[]" value="info"<?=strstr($r['openern'],',info,')?' checked':''?>>
  1082. 投稿
  1083. <input name="openern[]" type="checkbox" id="openern[]" value="pl"<?=strstr($r['openern'],',pl,')?' checked':''?>>
  1084. 评论
  1085. <input name="openern[]" type="checkbox" id="openern[]" value="gb"<?=strstr($r['openern'],',gb,')?' checked':''?>>
  1086. 留言板
  1087. <input name="openern[]" type="checkbox" id="openern[]" value="msp"<?=strstr($r['openern'],',msp,')?' checked':''?>>
  1088. 会员空间
  1089. <input name="openern[]" type="checkbox" id="openern[]" value="msps"<?=strstr($r['openern'],',msps,')?' checked':''?>>
  1090. <a title="在会员空间留言或反馈">会员空间提交</a>
  1091. <input name="openern[]" type="checkbox" id="openern[]" value="fb"<?=strstr($r['openern'],',fb,')?' checked':''?>>
  1092. 反馈</td>
  1093. </tr>
  1094. <tr>
  1095. <td height="25" bgcolor="#FFFFFF">&nbsp;</td>
  1096. <td height="25" bgcolor="#FFFFFF"><font color="#666666">(说明:投稿、评论、留言板、反馈操作需要设置会员以上发布权限才有效。)</font></td>
  1097. </tr>
  1098. <tr>
  1099. <td height="25" bgcolor="#FFFFFF">实名认证地址</td>
  1100. <td height="25" bgcolor="#FFFFFF"><input name="ernurl" type="text" id="ernurl" value="<?=$r[ernurl]?>" size="38">
  1101. <font color="#666666">(提示没有实名后转向的地址。空为返回上一页。)</font></td>
  1102. </tr>
  1103. </table>
  1104. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  1105. <tr class="header">
  1106. <td height="25" colspan="2">访问控制设置</td>
  1107. </tr>
  1108. <tr>
  1109. <td width="22%" height="25" valign="top" bgcolor="#FFFFFF"> <strong>禁止
  1110. IP 访问列表:(前台及后台有效)</strong><br>
  1111. 每个 IP 一行,既可输入完整地址,也可只输入 IP 开头,例如 &quot;192.168.&quot;(不含引号) 可匹配 192.168.0.0~192.168.255.255
  1112. 范围内的所有地址,留空为不设置 <br> </td>
  1113. <td height="25" valign="top" bgcolor="#FFFFFF"> <textarea name="closeip" cols="80" rows="8" id="closeip"><?=$r[closeip]?></textarea>
  1114. </td>
  1115. </tr>
  1116. <tr>
  1117. <td height="25" valign="top" bgcolor="#FFFFFF"><strong>允许 IP 访问列表:(前台及后台有效)</strong><br>
  1118. 只有当用户处于本列表中的 IP 地址时才可以访问网站,列表以外的地址访问将视为 IP 被禁止.每个 IP 一行,既可输入完整地址,也可只输入
  1119. IP 开头,例如 &quot;192.168.&quot;(不含引号) 可匹配 192.168.0.0~192.168.255.255
  1120. 范围内的所有地址,留空为所有 IP 除明确禁止的以外均可访问<br></td>
  1121. <td height="25" valign="top" bgcolor="#FFFFFF"><textarea name="openip" cols="80" rows="8" id="textarea2"><?=$r[openip]?></textarea></td>
  1122. </tr>
  1123. <tr>
  1124. <td height="25" valign="top" bgcolor="#FFFFFF"><strong>允许后台 IP 访问列表:(后台有效)<br>
  1125. </strong>只有当管理员处于本列表中的 IP 地址时才可以访问后台,列表以外的地址访问将视为 IP 被禁止.每个 IP 一行,既可输入完整地址,也可只输入
  1126. IP 开头,例如 &quot;192.168.&quot;(不含引号) 可匹配 192.168.0.0~192.168.255.255
  1127. 范围内的所有地址,留空为所有 IP 除明确禁止的以外均可访问<strong> </strong></td>
  1128. <td height="25" valign="top" bgcolor="#FFFFFF"><textarea name="hopenip" cols="80" rows="8" id="textarea3"><?=$r[hopenip]?></textarea></td>
  1129. </tr>
  1130. <tr>
  1131. <td height="25" colspan="2" class="header">提交控制设置</td>
  1132. </tr>
  1133. <tr>
  1134. <td height="25" bgcolor="#FFFFFF">控制动作</td>
  1135. <td height="25" bgcolor="#FFFFFF">
  1136. <input name="doiptype[]" type="checkbox" id="doiptype[]" value="register"<?=strstr($r['doiptype'],',register,')?' checked':''?>>
  1137. 注册
  1138. <input name="doiptype[]" type="checkbox" id="doiptype[]" value="pl"<?=strstr($r['doiptype'],',pl,')?' checked':''?>>
  1139. 评论
  1140. <input name="doiptype[]" type="checkbox" id="doiptype[]" value="postinfo"<?=strstr($r['doiptype'],',postinfo,')?' checked':''?>>
  1141. 投稿
  1142. <input name="doiptype[]" type="checkbox" id="doiptype[]" value="gbook"<?=strstr($r['doiptype'],',gbook,')?' checked':''?>>
  1143. 留言
  1144. <input name="doiptype[]" type="checkbox" id="doiptype[]" value="downinfo"<?=strstr($r['doiptype'],',downinfo,')?' checked':''?>>
  1145. 下载
  1146. <input name="doiptype[]" type="checkbox" id="doiptype[]" value="onlineinfo"<?=strstr($r['doiptype'],',onlineinfo,')?' checked':''?>>
  1147. 在线观看
  1148. <input name="doiptype[]" type="checkbox" id="doiptype[]" value="showinfo"<?=strstr($r['doiptype'],',showinfo,')?' checked':''?>>
  1149. 查看信息</td>
  1150. </tr>
  1151. <tr>
  1152. <td height="25" valign="top" bgcolor="#FFFFFF"><strong>禁止 IP 提交列表:</strong><br>
  1153. 每个 IP 一行,既可输入完整地址,也可只输入 IP 开头,例如 &quot;192.168.&quot;(不含引号) 可匹配 192.168.0.0~192.168.255.255
  1154. 范围内的所有地址,留空为不设置</td>
  1155. <td height="25" valign="top" bgcolor="#FFFFFF"><textarea name="closedoip" cols="80" rows="8" id="closedoip"><?=$r[closedoip]?></textarea></td>
  1156. </tr>
  1157. <tr>
  1158. <td height="25" valign="top" bgcolor="#FFFFFF"><strong>允许 IP 提交列表:</strong><br>
  1159. 只有当用户处于本列表中的 IP 地址时才可以提交数据,列表以外的地址提交将视为 IP 被禁止.每个 IP 一行,既可输入完整地址,也可只输入
  1160. IP 开头,例如 &quot;192.168.&quot;(不含引号) 可匹配 192.168.0.0~192.168.255.255
  1161. 范围内的所有地址,留空为所有 IP 除明确禁止的以外均可访问</td>
  1162. <td height="25" valign="top" bgcolor="#FFFFFF"><textarea name="opendoip" cols="80" rows="8" id="opendoip"><?=$r[opendoip]?></textarea></td>
  1163. </tr>
  1164. </table>
  1165. </div>
  1166. <div class="tab-page" id="file">
  1167. <h2 class="tab">&nbsp;<font class="tabcolor">文件设置</font>&nbsp;</h2>
  1168. <script type="text/javascript">tb1.addTabPage( document.getElementById( "file" ) );</script>
  1169. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  1170. <tr class="header">
  1171. <td height="25" colspan="2">文件设置</td>
  1172. </tr>
  1173. <tr>
  1174. <td rowspan="2" valign="top" bgcolor="#FFFFFF">附件存放目录</td>
  1175. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="fpath" value="0"<?=$r[fpath]==0?' checked':''?>>
  1176. 栏目目录
  1177. <input type="radio" name="fpath" value="1"<?=$r[fpath]==1?' checked':''?>>
  1178. /d/file/p目录
  1179. <input type="radio" name="fpath" value="2"<?=$r[fpath]==2?' checked':''?>>
  1180. /d/file目录</td>
  1181. </tr>
  1182. <tr>
  1183. <td height="25" bgcolor="#FFFFFF"><input name="filepath" type="text" id="filepath" value="<?=$r[filepath]?>" size="38">
  1184. <select name="select6" onchange="document.form1.filepath.value=this.value">
  1185. <option value="Y-m-d">选择</option>
  1186. <option value="Y-m-d">2005-01-27</option>
  1187. <option value="Y/m-d">2005/01-27</option>
  1188. <option value="Y/m/d">2005/01/27</option>
  1189. <option value="Ymd">20050127</option>
  1190. <option value="">不设置目录</option>
  1191. </select> <font color="#666666">(如Y-m-d,Y/m-d,Y/m/d,Ymd等形式)</font></td>
  1192. </tr>
  1193. <tr>
  1194. <td width="22%" height="25" bgcolor="#FFFFFF">后台上传附件大小</td>
  1195. <td height="25" bgcolor="#FFFFFF"><input name="filesize" type="text" id="filesize" value="<?=$r[filesize]?>" size="38">
  1196. KB</td>
  1197. </tr>
  1198. <tr>
  1199. <td height="25" bgcolor="#FFFFFF">后台上传文件扩展名</td>
  1200. <td height="25" bgcolor="#FFFFFF"><input name="filetype" type="text" id="filetype" value="<?=$filetype?>" size="38">
  1201. <font color="#666666">(多个请用“|”格开,如:.gif|.jpg)</font></td>
  1202. </tr>
  1203. <tr>
  1204. <td rowspan="2" valign="top" bgcolor="#FFFFFF">前台投稿附件设置</td>
  1205. <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="1" cellpadding="3">
  1206. <tr>
  1207. <td><input name="qaddtran" type="checkbox" value="1"<?=$r[qaddtran]==1?' checked':''?>>
  1208. 开启上传图片,最大图片:
  1209. <input name="qaddtransize" type="text" id="qaddtransize" value="<?=$r[qaddtransize]?>" size="6">
  1210. KB </td>
  1211. </tr>
  1212. <tr>
  1213. <td>图片扩展名:
  1214. <input name="qaddtranimgtype" type="text" value="<?=$qaddimgtype?>" size="30">
  1215. <font color="#666666"> (多个用&quot;|&quot;格开) </font></td>
  1216. </tr>
  1217. </table></td>
  1218. </tr>
  1219. <tr>
  1220. <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="1" cellpadding="3">
  1221. <tr>
  1222. <td><input name="qaddtranfile" type="checkbox" value="1"<?=$r[qaddtranfile]==1?' checked':''?>>
  1223. 开启上传附件,最大附件:
  1224. <input name="qaddtranfilesize" type="text" value="<?=$r[qaddtranfilesize]?>" size="6">
  1225. KB </td>
  1226. </tr>
  1227. <tr>
  1228. <td>附件扩展名:
  1229. <input name="qaddtranfiletype" type="text" value="<?=$qaddfiletype?>" size="30">
  1230. <font color="#666666">(多个用&quot;|&quot;格开)</font></td>
  1231. </tr>
  1232. </table></td>
  1233. </tr>
  1234. <tr>
  1235. <td height="25" valign="top" bgcolor="#FFFFFF">前台反馈附件设置</td>
  1236. <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="1" cellpadding="3">
  1237. <tr>
  1238. <td><input name="feedbacktfile" type="checkbox" id="feedbacktfile" value="1"<?=$r[feedbacktfile]==1?' checked':''?>>
  1239. 开启上传附件,最大附件:
  1240. <input name="feedbackfilesize" type="text" value="<?=$r[feedbackfilesize]?>" size="6">
  1241. KB </td>
  1242. </tr>
  1243. <tr>
  1244. <td>附件扩展名:
  1245. <input name="feedbackfiletype" type="text" value="<?=$feedbackfiletype?>" size="30">
  1246. <font color="#666666">(多个用&quot;|&quot;格开)</font></td>
  1247. </tr>
  1248. </table></td>
  1249. </tr>
  1250. <tr>
  1251. <td rowspan="2" valign="top" bgcolor="#FFFFFF">会员表单附件设置</td>
  1252. <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="3">
  1253. <tr>
  1254. <td><input name="openmembertranimg" type="checkbox" id="openmembertranimg" value="1"<?=$r[openmembertranimg]==1?' checked':''?>>
  1255. 开启上传图片,最大图片:
  1256. <input name="memberimgsize" type="text" id="memberimgsize" value="<?=$r[memberimgsize]?>" size="6">
  1257. KB </td>
  1258. </tr>
  1259. <tr>
  1260. <td>图片扩展名:
  1261. <input name="memberimgtype" type="text" id="memberimgtype" value="<?=$memberimgtype?>" size="30">
  1262. <font color="#666666"> (多个用&quot;|&quot;格开) </font></td>
  1263. </tr>
  1264. </table></td>
  1265. </tr>
  1266. <tr>
  1267. <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="3">
  1268. <tr>
  1269. <td><input name="openmembertranfile" type="checkbox" id="openmembertranfile" value="1"<?=$r[openmembertranfile]==1?' checked':''?>>
  1270. 开启上传附件,最大附件:
  1271. <input name="memberfilesize" type="text" id="memberfilesize" value="<?=$r[memberfilesize]?>" size="6">
  1272. KB </td>
  1273. </tr>
  1274. <tr>
  1275. <td>附件扩展名:
  1276. <input name="memberfiletype" type="text" id="memberfiletype" value="<?=$memberfiletype?>" size="30">
  1277. <font color="#666666">(多个用&quot;|&quot;格开)</font></td>
  1278. </tr>
  1279. </table></td>
  1280. </tr>
  1281. <tr>
  1282. <td height="25" bgcolor="#FFFFFF">会员附件字段支持填写</td>
  1283. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="modmemberedittran" value="1"<?=$r[modmemberedittran]==1?' checked':''?>>是
  1284. <input type="radio" name="modmemberedittran" value="0"<?=$r[modmemberedittran]==0?' checked':''?>>否 </td>
  1285. </tr>
  1286. <tr>
  1287. <td height="25" bgcolor="#FFFFFF">投稿附件字段支持填写</td>
  1288. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="modinfoedittran" value="1"<?=$r[modinfoedittran]==1?' checked':''?>>是
  1289. <input type="radio" name="modinfoedittran" value="0"<?=$r[modinfoedittran]==0?' checked':''?>>否 </td>
  1290. </tr>
  1291. <tr>
  1292. <td height="25" bgcolor="#FFFFFF">文件生成权限</td>
  1293. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="filechmod" value="0"<?=$r[filechmod]==0?' checked':''?>>
  1294. 0777
  1295. <input type="radio" name="filechmod" value="1"<?=$r[filechmod]==1?' checked':''?>>
  1296. 不限制</td>
  1297. </tr>
  1298. <tr>
  1299. <td height="25" bgcolor="#FFFFFF">广告JS文件前缀</td>
  1300. <td height="25" bgcolor="#FFFFFF"><input name="adfile" type="text" id="adfile" value="<?=$r[adfile]?>" size="38">
  1301. <iframe name="checkftpiframe" style="display: none" src="blank.php"></iframe></td>
  1302. </tr>
  1303. <tbody id="setfileserver" style="display:none">
  1304. </tbody>
  1305. </table>
  1306. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  1307. <tr class="header">
  1308. <td height="25" colspan="2">备份设置</td>
  1309. </tr>
  1310. <tr>
  1311. <td width="22%" height="25" bgcolor="#FFFFFF">数据备份存放目录</td>
  1312. <td height="25" bgcolor="#FFFFFF">admin/ebak/
  1313. <input name="bakdbpath" type="text" id="bakdbpath" value="<?=$r[bakdbpath]?>"></td>
  1314. </tr>
  1315. <tr>
  1316. <td height="25" bgcolor="#FFFFFF">压缩包存放目录</td>
  1317. <td height="25" bgcolor="#FFFFFF">admin/ebak/
  1318. <input name="bakdbzip" type="text" id="bakdbzip" value="<?=$r[bakdbzip]?>"></td>
  1319. </tr>
  1320. <tr>
  1321. <td height="25" bgcolor="#FFFFFF">备份只选择当前数据库</td>
  1322. <td height="25" bgcolor="#FFFFFF"><input name="ebakthisdb" type="checkbox" id="ebakthisdb" value="1"<?=$r[ebakthisdb]==1?' checked':''?>>
  1323. 是</td>
  1324. </tr>
  1325. <tr>
  1326. <td height="25" bgcolor="#FFFFFF">空间不支持数据库列表</td>
  1327. <td height="25" bgcolor="#FFFFFF"><input name="ebakcanlistdb" type="checkbox" id="ebakcanlistdb" value="1"<?=$r[ebakcanlistdb]==1?' checked':''?>>
  1328. 是<font color="#666666">(如果空间不允许列出数据库,请打勾)</font></td>
  1329. </tr>
  1330. <tr>
  1331. <td height="25" bgcolor="#FFFFFF">支持MYSQL查询方式</td>
  1332. <td height="25" bgcolor="#FFFFFF"><input name="limittype" type="checkbox" id="limittype" value="1"<?=$r[limittype]==1?' checked':''?>>
  1333. 支持<font color="#666666">(即支持limit 0,-1方式,一般不用选择)</font></td>
  1334. </tr>
  1335. <tr>
  1336. <td height="25" bgcolor="#FFFFFF">导出数据处理函数</td>
  1337. <td height="25" bgcolor="#FFFFFF"><select name="bakescapetype" id="bakescapetype">
  1338. <option value="1"<?=$r['bakescapetype']==1?' selected':''?>>addslashes()</option>
  1339. <option value="2"<?=$r['bakescapetype']==2?' selected':''?>>mysql_real_escape_string()</option>
  1340. </select>
  1341. <font color="#666666">(一般按默认即可)</font></td>
  1342. </tr>
  1343. </table>
  1344. </div>
  1345. <div class="tab-page" id="dojs">
  1346. <h2 class="tab">&nbsp;<font class="tabcolor">JS设置</font>&nbsp;</h2>
  1347. <script type="text/javascript">tb1.addTabPage( document.getElementById( "dojs" ) );</script>
  1348. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  1349. <tr class="header">
  1350. <td height="25" colspan="2">信息排行设置(JS)</td>
  1351. </tr>
  1352. <tr>
  1353. <td width="22%" height="25" bgcolor="#FFFFFF">热门信息显示</td>
  1354. <td height="25" bgcolor="#FFFFFF"><input name="hotnum" type="text" id="hotnum" value="<?=$r[hotnum]?>" size="38">
  1355. 条信息</td>
  1356. </tr>
  1357. <tr>
  1358. <td height="25" bgcolor="#FFFFFF">最新信息显示</td>
  1359. <td height="25" bgcolor="#FFFFFF"><input name="newnum" type="text" id="newnum" value="<?=$r[newnum]?>" size="38">
  1360. 条信息</td>
  1361. </tr>
  1362. <tr>
  1363. <td height="25" bgcolor="#FFFFFF">推荐信息显示</td>
  1364. <td height="25" bgcolor="#FFFFFF"><input name="goodnum" type="text" id="goodnum" value="<?=$r[goodnum]?>" size="38">
  1365. 条信息</td>
  1366. </tr>
  1367. <tr>
  1368. <td height="25" bgcolor="#FFFFFF">热门评论显示</td>
  1369. <td height="25" bgcolor="#FFFFFF"><input name="hotplnum" type="text" id="hotplnum" value="<?=$r[hotplnum]?>" size="38">
  1370. 条信息</td>
  1371. </tr>
  1372. <tr>
  1373. <td height="25" bgcolor="#FFFFFF">头条信息显示</td>
  1374. <td height="25" bgcolor="#FFFFFF"><input name="firstnum" type="text" id="firstnum" value="<?=$r[firstnum]?>" size="38">
  1375. 条信息</td>
  1376. </tr>
  1377. </table>
  1378. </div>
  1379. <div class="tab-page" id="rehtml">
  1380. <h2 class="tab">&nbsp;<font class="tabcolor">分组生成</font>&nbsp;</h2>
  1381. <script type="text/javascript">tb1.addTabPage( document.getElementById( "rehtml" ) );</script>
  1382. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  1383. <tr class="header">
  1384. <td height="25" colspan="2">分组生成设置(依服务器配置设置大小)</td>
  1385. </tr>
  1386. <tr>
  1387. <td height="25" bgcolor="#FFFFFF">每组生成间隔</td>
  1388. <td height="25" bgcolor="#FFFFFF"><input name="realltime" type="text" id="realltime" value="<?=$r[realltime]?>" size="38">
  1389. 秒<font color="#666666">(0为连续生成)</font></td>
  1390. </tr>
  1391. <tr>
  1392. <td width="22%" height="25" bgcolor="#FFFFFF">栏目生成每组</td>
  1393. <td height="25" bgcolor="#FFFFFF"><input name="relistnum" type="text" id="relistnum" value="<?=$r[relistnum]?>" size="38">
  1394. 个</td>
  1395. </tr>
  1396. <tr>
  1397. <td height="25" bgcolor="#FFFFFF">信息生成每组</td>
  1398. <td height="25" bgcolor="#FFFFFF"><input name="renewsnum" type="text" id="renewsnum" value="<?=$r[renewsnum]?>" size="38">
  1399. 个</td>
  1400. </tr>
  1401. <tr>
  1402. <td height="25" bgcolor="#FFFFFF">更新相关链接每组</td>
  1403. <td height="25" bgcolor="#FFFFFF"><input name="infolinknum" type="text" id="infolinknum" value="<?=$r[infolinknum]?>" size="38">
  1404. 个</td>
  1405. </tr>
  1406. <tr>
  1407. <td height="25" bgcolor="#FFFFFF">生成自定义JS每组</td>
  1408. <td height="25" bgcolor="#FFFFFF"><input name="reuserjsnum" type="text" id="reuserjsnum" value="<?=$r[reuserjsnum]?>" size="38">
  1409. 个</td>
  1410. </tr>
  1411. <tr>
  1412. <td height="25" bgcolor="#FFFFFF">生成自定义列表每组</td>
  1413. <td height="25" bgcolor="#FFFFFF"><input name="reuserlistnum" type="text" id="reuserlistnum" value="<?=$r[reuserlistnum]?>" size="38">
  1414. 个</td>
  1415. </tr>
  1416. <tr>
  1417. <td height="25" bgcolor="#FFFFFF">自定义页面每组</td>
  1418. <td height="25" bgcolor="#FFFFFF"> <input name="reuserpagenum" type="text" id="reuserpagenum" value="<?=$r[reuserpagenum]?>" size="38">
  1419. 个</td>
  1420. </tr>
  1421. <tr>
  1422. <td height="25" bgcolor="#FFFFFF">投票JS每组</td>
  1423. <td height="25" bgcolor="#FFFFFF"><input name="revotejsnum" type="text" id="revotejsnum" value="<?=$r[revotejsnum]?>" size="38">
  1424. 个</td>
  1425. </tr>
  1426. <tr>
  1427. <td height="25" bgcolor="#FFFFFF">广告JS每组</td>
  1428. <td height="25" bgcolor="#FFFFFF"><input name="readjsnum" type="text" id="readjsnum" value="<?=$r[readjsnum]?>" size="38">
  1429. 个</td>
  1430. </tr>
  1431. <tr>
  1432. <td height="25" bgcolor="#FFFFFF">替换字段值每组</td>
  1433. <td height="25" bgcolor="#FFFFFF"><input name="dorepnum" type="text" id="dorepnum" value="<?=$r[dorepnum]?>" size="38">
  1434. 个</td>
  1435. </tr>
  1436. <tr>
  1437. <td height="25" bgcolor="#FFFFFF">替换地址权限每组</td>
  1438. <td height="25" bgcolor="#FFFFFF"><input name="dorepdlevelnum" type="text" id="dorepdlevelnum" value="<?=$r[dorepdlevelnum]?>" size="38">
  1439. 个</td>
  1440. </tr>
  1441. <tr>
  1442. <td height="25" bgcolor="#FFFFFF">批量删除信息每组</td>
  1443. <td height="25" bgcolor="#FFFFFF"><input name="delnewsnum" type="text" id="delnewsnum" value="<?=$r[delnewsnum]?>" size="38">
  1444. 个</td>
  1445. </tr>
  1446. <tr>
  1447. <td height="25" bgcolor="#FFFFFF">批量归档信息每组</td>
  1448. <td height="25" bgcolor="#FFFFFF"><input name="docnewsnum" type="text" id="docnewsnum" value="<?=$r[docnewsnum]?>" size="38">
  1449. 个</td>
  1450. </tr>
  1451. <tr>
  1452. <td height="25" bgcolor="#FFFFFF">导入栏目模板每组</td>
  1453. <td height="25" bgcolor="#FFFFFF"><input name="loadtempnum" type="text" id="loadtempnum" value="<?=$r[loadtempnum]?>" size="38">
  1454. 个</td>
  1455. </tr>
  1456. </table>
  1457. </div>
  1458. <div class="tab-page" id="setsearch">
  1459. <h2 class="tab">&nbsp;<font class="tabcolor">搜索设置</font>&nbsp;</h2>
  1460. <script type="text/javascript">tb1.addTabPage( document.getElementById( "setsearch" ) );</script>
  1461. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  1462. <tr class="header">
  1463. <td height="25" colspan="2">搜索设置</td>
  1464. </tr>
  1465. <tr>
  1466. <td height="25" bgcolor="#FFFFFF">搜索用户组</td>
  1467. <td height="25" bgcolor="#FFFFFF"><select name="searchgroupid" id="searchgroupid">
  1468. <option value=0>游客</option>
  1469. <?=$searchmembergroup?>
  1470. </select></td>
  1471. </tr>
  1472. <tr>
  1473. <td width="22%" height="25" bgcolor="#FFFFFF">搜索关键字</td>
  1474. <td height="25" bgcolor="#FFFFFF">在
  1475. <input name="min_keyboard" type="text" id="min_keyboard" value="<?=$r[min_keyboard]?>" size="6">
  1476. 个字符与
  1477. <input name="max_keyboard" type="text" id="max_keyboard" value="<?=$r[max_keyboard]?>" size="6">
  1478. 个字符之间</td>
  1479. </tr>
  1480. <tr>
  1481. <td height="25" bgcolor="#FFFFFF">搜索时间间隔</td>
  1482. <td height="25" bgcolor="#FFFFFF">在
  1483. <input name="searchtime" type="text" id="searchtime" value="<?=$r[searchtime]?>" size="6">
  1484. 秒</td>
  1485. </tr>
  1486. <tr>
  1487. <td height="25" bgcolor="#FFFFFF">页面显示</td>
  1488. <td height="25" bgcolor="#FFFFFF">每页
  1489. <input name="search_num" type="text" id="search_num" value="<?=$r[search_num]?>" size="6">
  1490. 显示条记录,
  1491. <input name="search_pagenum" type="text" id="search_pagenum" value="<?=$r[search_pagenum]?>" size="6">
  1492. 个分页链接<font color="#666666">(为0的话,系统默认25条,12个链接)</font></td>
  1493. </tr>
  1494. <tr>
  1495. <td height="25" bgcolor="#FFFFFF">支持公共模板变量</td>
  1496. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="searchtempvar" value="0"<?=$r['searchtempvar']==0?' checked':''?>>
  1497. 不支持
  1498. <input type="radio" name="searchtempvar" value="1"<?=$r['searchtempvar']==1?' checked':''?>>
  1499. 支持<font color="#666666">(搜索模板及动态页面)</font></td>
  1500. </tr>
  1501. <tr>
  1502. <td height="25" bgcolor="#FFFFFF">高级搜索页扩展名</td>
  1503. <td height="25" bgcolor="#FFFFFF"><input name="searchtype" type="text" id="searchtype" value="<?=$r[searchtype]?>" size="10">
  1504. <font color="#666666">
  1505. <select name="select2" onchange="document.form1.searchtype.value=this.value">
  1506. <option value=".html">扩展名</option>
  1507. <option value=".html">.html</option>
  1508. <option value=".htm">.htm</option>
  1509. <option value=".php">.php</option>
  1510. <option value=".shtml">.shtml</option>
  1511. </select>
  1512. (如:.html,.htm,.xml,.php)</font></td>
  1513. </tr>
  1514. </table>
  1515. </div>
  1516. <div class="tab-page" id="donews">
  1517. <h2 class="tab">&nbsp;<font class="tabcolor">信息设置</font>&nbsp;</h2>
  1518. <script type="text/javascript">tb1.addTabPage( document.getElementById( "donews" ) );</script>
  1519. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  1520. <tr class="header">
  1521. <td height="25" colspan="2">信息设置</td>
  1522. </tr>
  1523. <tr>
  1524. <td height="25" bgcolor="#FFFFFF">后台管理信息</td>
  1525. <td height="25" bgcolor="#FFFFFF">每页显示
  1526. <input name="hlistinfonum" type="text" id="hlistinfonum" value="<?=$r[hlistinfonum]?>">
  1527. 个信息</td>
  1528. </tr>
  1529. <tr>
  1530. <td height="25" bgcolor="#FFFFFF">前台结合项列表</td>
  1531. <td height="25" bgcolor="#FFFFFF">每页显示
  1532. <input name="qlistinfonum" type="text" id="qlistinfonum" value="<?=$r[qlistinfonum]?>">
  1533. 个信息</td>
  1534. </tr>
  1535. <tr>
  1536. <td height="25" bgcolor="#FFFFFF">后台信息默认显示时间范围</td>
  1537. <td height="25" bgcolor="#FFFFFF"><select name="infolday" id="infolday">
  1538. <option value="0"<?=$r['infolday']==0?' selected':''?>>全部显示</option>
  1539. <option value="86400"<?=$r['infolday']==86400?' selected':''?>>1
  1540. 天</option>
  1541. <option value="172800"<?=$r['infolday']==172800?' selected':''?>>2
  1542. 天</option>
  1543. <option value="604800"<?=$r['infolday']==604800?' selected':''?>>一周</option>
  1544. <option value="2592000"<?=$r['infolday']==2592000?' selected':''?>>1
  1545. 个月</option>
  1546. <option value="7948800"<?=$r['infolday']==7948800?' selected':''?>>3
  1547. 个月</option>
  1548. <option value="15897600"<?=$r['infolday']==15897600?' selected':''?>>6
  1549. 个月</option>
  1550. <option value="31536000"<?=$r['infolday']==31536000?' selected':''?>>1
  1551. 年</option>
  1552. </select></td>
  1553. </tr>
  1554. <tr>
  1555. <td height="25" bgcolor="#FFFFFF">后台附件默认显示时间范围</td>
  1556. <td height="25" bgcolor="#FFFFFF"><select name="filelday" id="filelday">
  1557. <option value="0"<?=$r['filelday']==0?' selected':''?>>全部显示</option>
  1558. <option value="86400"<?=$r['filelday']==86400?' selected':''?>>1
  1559. 天</option>
  1560. <option value="172800"<?=$r['filelday']==172800?' selected':''?>>2
  1561. 天</option>
  1562. <option value="604800"<?=$r['filelday']==604800?' selected':''?>>一周</option>
  1563. <option value="2592000"<?=$r['filelday']==2592000?' selected':''?>>1
  1564. 个月</option>
  1565. <option value="7948800"<?=$r['filelday']==7948800?' selected':''?>>3
  1566. 个月</option>
  1567. <option value="15897600"<?=$r['filelday']==15897600?' selected':''?>>6
  1568. 个月</option>
  1569. <option value="31536000"<?=$r['filelday']==31536000?' selected':''?>>1
  1570. 年</option>
  1571. </select></td>
  1572. </tr>
  1573. <tr>
  1574. <td height="25" bgcolor="#FFFFFF">信息置顶设置</td>
  1575. <td height="25" bgcolor="#FFFFFF"><select name="settop" id="settop">
  1576. <option value="0"<?=$r[settop]==0?' selected':''?>>不使用置顶</option>
  1577. <option value="1"<?=$r[settop]==1?' selected':''?>>栏目列表置顶</option>
  1578. <option value="2"<?=$r[settop]==2?' selected':''?>>标签调用置顶</option>
  1579. <option value="3"<?=$r[settop]==3?' selected':''?>>JS调用置顶</option>
  1580. <option value="4"<?=$r[settop]==4?' selected':''?>>栏目/标签/JS置顶</option>
  1581. <option value="5"<?=$r[settop]==5?' selected':''?>>栏目/标签置顶</option>
  1582. <option value="6"<?=$r[settop]==6?' selected':''?>>栏目/JS置顶</option>
  1583. <option value="7"<?=$r[settop]==7?' selected':''?>>标签/JS置顶</option>
  1584. </select></td>
  1585. </tr>
  1586. <tr>
  1587. <td height="25" bgcolor="#FFFFFF">&nbsp;</td>
  1588. <td height="25" bgcolor="#FFFFFF"><input name="fieldandtop" type="checkbox" id="fieldandtop" value="1"<?=$r[fieldandtop]==1?' checked':''?>>
  1589. 结合项支持置顶</td>
  1590. </tr>
  1591. <tr>
  1592. <td height="25" bgcolor="#FFFFFF">结合项不启用的表</td>
  1593. <td height="25" bgcolor="#FFFFFF"><input name="fieldandclosetb" type="text" id="fieldandclosetb" value="<?=substr($r[fieldandclosetb],1,strlen($r[fieldandclosetb])-2)?>" size="38">
  1594. <font color="#666666">(多个表名用半角逗号隔开,如:news,download)</font></td>
  1595. </tr>
  1596. <tr>
  1597. <td height="25" bgcolor="#FFFFFF">动态列表支持标签</td>
  1598. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="dtcanbq" value="0"<?=$r[dtcanbq]==0?' checked':''?>>
  1599. 不支持
  1600. <input type="radio" name="dtcanbq" value="1"<?=$r[dtcanbq]==1?' checked':''?>>
  1601. 支持</td>
  1602. </tr>
  1603. <tr>
  1604. <td height="25" bgcolor="#FFFFFF">动态列表变量缓存</td>
  1605. <td height="25" bgcolor="#FFFFFF"><input name="dtcachetime" type="text" id="dtcachetime" value="<?=$r[dtcachetime]?>" size="38">
  1606. 分钟</td>
  1607. </tr>
  1608. <tr>
  1609. <td height="25" bgcolor="#FFFFFF">动态内容页支持标签</td>
  1610. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="dtncanbq" value="0"<?=$r[dtncanbq]==0?' checked':''?>>
  1611. 不支持
  1612. <input type="radio" name="dtncanbq" value="1"<?=$r[dtncanbq]==1?' checked':''?>>
  1613. 支持</td>
  1614. </tr>
  1615. <tr>
  1616. <td height="25" bgcolor="#FFFFFF">动态内容页变量缓存</td>
  1617. <td height="25" bgcolor="#FFFFFF"><input name="dtncachetime" type="text" id="dtncachetime" value="<?=$r[dtncachetime]?>" size="38">
  1618. 分钟</td>
  1619. </tr>
  1620. <tr>
  1621. <td height="25" bgcolor="#FFFFFF">新会员投稿限制</td>
  1622. <td height="25" bgcolor="#FFFFFF">最新注册会员必须过
  1623. <input name="newaddinfotime" type="text" id="newaddinfotime" value="<?=$r[newaddinfotime]?>" size="6">
  1624. 分钟才能投稿 <font color="#666666">(0为不限制)</font></td>
  1625. </tr>
  1626. <tr>
  1627. <td height="25" bgcolor="#FFFFFF">投稿数量限制</td>
  1628. <td height="25" bgcolor="#FFFFFF">同一个IP在
  1629. <input name="ipaddinfotime" type="text" id="ipaddinfotime" value="<?=$r[ipaddinfotime]?>" size="6">
  1630. 个小时内最大只允许增加
  1631. <input name="ipaddinfonum" type="text" id="ipaddinfonum" value="<?=$r[ipaddinfonum]?>" size="6">
  1632. 个信息<font color="#666666">(0为不限,且模型要增加infoip字段)</font></td>
  1633. </tr>
  1634. <tr>
  1635. <td height="25" bgcolor="#FFFFFF">重复投稿时间限制</td>
  1636. <td height="25" bgcolor="#FFFFFF"><input name="readdinfotime" type="text" id="readdinfotime" value="<?=$r[readdinfotime]?>" size="38">
  1637. 秒</td>
  1638. </tr>
  1639. <tr>
  1640. <td height="25" bgcolor="#FFFFFF">投稿信息修改时间限制:</td>
  1641. <td height="25" bgcolor="#FFFFFF"><input name="qeditinfotime" type="text" id="qeditinfotime" value="<?=$r[qeditinfotime]?>" size="38">
  1642. 分钟<font color="#666666">(0为不限制)</font></td>
  1643. </tr>
  1644. <tr>
  1645. <td height="25" bgcolor="#FFFFFF">投稿扣点数方式</td>
  1646. <td height="25" bgcolor="#FFFFFF"><select name="qinfoaddfen" id="qinfoaddfen">
  1647. <option value="0"<?=$r['qinfoaddfen']==0?' selected':''?>>发布信息时扣除点数</option>
  1648. <option value="1"<?=$r['qinfoaddfen']==1?' selected':''?>>信息审核通过时扣除点数</option>
  1649. </select> </td>
  1650. </tr>
  1651. <tr>
  1652. <td height="25" bgcolor="#FFFFFF">投稿管理信息显示方式:</td>
  1653. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="qlistinfomod" value="0"<?=$r[qlistinfomod]==0?' checked':''?>>
  1654. 按表显示
  1655. <input type="radio" name="qlistinfomod" value="1"<?=$r[qlistinfomod]==1?' checked':''?>>
  1656. 按模型显示 <font color="#666666">(按模型显示影响效率)</font></td>
  1657. </tr>
  1658. <tr>
  1659. <td height="25" bgcolor="#FFFFFF">栏目导航分隔字符</td>
  1660. <td height="25" bgcolor="#FFFFFF"><input name="classnavfh" type="text" id="navfh3" value="<?=ehtmlspecialchars($r[classnavfh])?>" size="38"></td>
  1661. </tr>
  1662. <tr>
  1663. <td height="25" bgcolor="#FFFFFF">栏目导航显示个数</td>
  1664. <td height="25" bgcolor="#FFFFFF"><input name="classnavline" type="text" id="classnavline" value="<?=$r[classnavline]?>" size="38">
  1665. <font color="#666666">(0为不限)</font></td>
  1666. </tr>
  1667. <tr>
  1668. <td height="25" bgcolor="#FFFFFF">所在位置导航分隔字符</td>
  1669. <td height="25" bgcolor="#FFFFFF"><input name="navfh" type="text" id="navfh" value="<?=$r[navfh]?>" size="38">
  1670. <font color="#666666">(如:“首页 &gt; 新闻”中的“&gt;”)</font></td>
  1671. </tr>
  1672. <tr>
  1673. <td width="22%" height="25" bgcolor="#FFFFFF">信息简介截取</td>
  1674. <td height="25" bgcolor="#FFFFFF"> <input name="smalltextlen" type="text" id="smalltextlen" value="<?=$r[smalltextlen]?>" size="38">
  1675. 个字<font color="#666666"> (简介为空时,截取信息内容)</font></td>
  1676. </tr>
  1677. <tr>
  1678. <td height="25" bgcolor="#FFFFFF">相关链接依据</td>
  1679. <td height="25" bgcolor="#FFFFFF"><select name="newslink" id="newslink">
  1680. <option value="0"<?=$r['newslink']==0?' selected':''?>>标题包含关键字</option>
  1681. <option value="1"<?=$r['newslink']==1?' selected':''?>>关键字相同</option>
  1682. <option value="2"<?=$r['newslink']==2?' selected':''?>>标题包含与关键字相同</option>
  1683. </select> </td>
  1684. </tr>
  1685. <tr>
  1686. <td height="25" bgcolor="#FFFFFF">增加信息随机点击数范围</td>
  1687. <td height="25" bgcolor="#FFFFFF"><input name="onclickrnd" type="text" id="onclickrnd" value="<?=$r[onclickrnd]?>" size="38">
  1688. <font color="#666666">(格式:“最小数,最大数”,空表示不使用。例子:20,100)</font></td>
  1689. </tr>
  1690. <tr>
  1691. <td height="25" bgcolor="#FFFFFF">开启信息内容过滤字符替换</td>
  1692. <td height="25" bgcolor="#FFFFFF"> <input type="radio" name="dorepword" value="0"<?=$r['dorepword']==0?' checked':''?>>
  1693. 生成页面时替换
  1694. <input type="radio" name="dorepword" value="1"<?=$r['dorepword']==1?' checked':''?>>
  1695. 增加信息时替换
  1696. <input type="radio" name="dorepword" value="2"<?=$r['dorepword']==2?' checked':''?>>
  1697. 关闭替换<font color="#666666"> (关闭替换效率高)</font></td>
  1698. </tr>
  1699. <tr>
  1700. <td height="25" bgcolor="#FFFFFF">开启信息内容关键字替换</td>
  1701. <td height="25" bgcolor="#FFFFFF"> <input type="radio" name="dorepkey" value="0"<?=$r['dorepkey']==0?' checked':''?>>
  1702. 生成页面时替换
  1703. <input type="radio" name="dorepkey" value="1"<?=$r['dorepkey']==1?' checked':''?>>
  1704. 增加信息时替换
  1705. <input type="radio" name="dorepkey" value="2"<?=$r['dorepkey']==2?' checked':''?>>
  1706. 关闭替换<font color="#666666"> (关闭替换效率高)</font></td>
  1707. </tr>
  1708. <tr>
  1709. <td height="25" bgcolor="#FFFFFF">信息内容关键字重复替换</td>
  1710. <td height="25" bgcolor="#FFFFFF"><input name="repkeynum" type="text" id="repkeynum" value="<?=$r[repkeynum]?>" size="38">
  1711. 次<font color="#666666"> (0为不限,效率高;限制替换次数会影响生成效率。)</font></td>
  1712. </tr>
  1713. <tr>
  1714. <td height="25" bgcolor="#FFFFFF">反馈验证码</td>
  1715. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="fbkey_ok" value="1"<?=$r[fbkey_ok]==1?' checked':''?>>
  1716. 开启
  1717. <input type="radio" name="fbkey_ok" value="0"<?=$r[fbkey_ok]==0?' checked':''?>>
  1718. 关闭 </td>
  1719. </tr>
  1720. <tr>
  1721. <td height="25" bgcolor="#FFFFFF">错误报告验证码</td>
  1722. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="reportkey" value="1"<?=$r[reportkey]==1?' checked':''?>>
  1723. 开启
  1724. <input type="radio" name="reportkey" value="0"<?=$r[reportkey]==0?' checked':''?>>
  1725. 关闭 </td>
  1726. </tr>
  1727. <tr>
  1728. <td height="25" bgcolor="#FFFFFF">留言验证码</td>
  1729. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="gbkey_ok" value="1"<?=$r[gbkey_ok]==1?' checked':''?>>
  1730. 开启
  1731. <input type="radio" name="gbkey_ok" value="0"<?=$r[gbkey_ok]==0?' checked':''?>>
  1732. 关闭 </td>
  1733. </tr>
  1734. <tr>
  1735. <td height="25" bgcolor="#FFFFFF">重复留言时间限制</td>
  1736. <td height="25" bgcolor="#FFFFFF"><input name="regbooktime" type="text" id="regbooktime" value="<?=$r[regbooktime]?>" size="38">
  1737. 秒</td>
  1738. </tr>
  1739. <tr>
  1740. <td height="25" bgcolor="#FFFFFF">重复投票时间限制</td>
  1741. <td height="25" bgcolor="#FFFFFF"><input name="revotetime" type="text" id="revotetime" value="<?=$r[revotetime]?>" size="38">
  1742. 秒</td>
  1743. </tr>
  1744. <tr>
  1745. <td height="25" bgcolor="#FFFFFF">留言每页显示</td>
  1746. <td height="25" bgcolor="#FFFFFF"><input name="gb_num" type="text" id="gb_num" value="<?=$r[gb_num]?>" size="38">
  1747. 个留言</td>
  1748. </tr>
  1749. <tr>
  1750. <td height="25" bgcolor="#FFFFFF">模板备份记录数</td>
  1751. <td height="25" bgcolor="#FFFFFF"><input name="baktempnum" type="text" id="baktempnum" value="<?=$r[baktempnum]?>" size="38">
  1752. <font color="#666666">(0为不备份)</font></td>
  1753. </tr>
  1754. <tr>
  1755. <td height="25" bgcolor="#FFFFFF">关闭动态使用的列表模板ID</td>
  1756. <td height="25" bgcolor="#FFFFFF"><input name="closelisttemp" type="text" id="closelisttemp" value="<?=$r[closelisttemp]?>" size="38">
  1757. <input type="button" name="Submit6222" value="管理列表模板" onclick="window.open('template/ListListtemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');">
  1758. <font color="#666666">(多个ID用半角逗号“,”隔开)</font></td>
  1759. </tr>
  1760. <tr>
  1761. <td height="25" bgcolor="#FFFFFF">分页启用totalnum变量</td>
  1762. <td height="25" bgcolor="#FFFFFF"><input name="usetotalnum" type="checkbox" id="usetotalnum" value="1"<?=$r['usetotalnum']==1?' checked':''?>>
  1763. 是</td>
  1764. </tr>
  1765. <tr>
  1766. <td height="25" bgcolor="#FFFFFF">模板支持程序代码</td>
  1767. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="candocode" value="1"<?=$r[candocode]==1?' checked':''?>>
  1768. 开启
  1769. <input type="radio" name="candocode" value="0"<?=$r[candocode]==0?' checked':''?>>
  1770. 关闭</td>
  1771. </tr>
  1772. <tr>
  1773. <td height="25" bgcolor="#FFFFFF">模板支持程序代码标签</td>
  1774. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="candocodetag" value="1"<?=$r['candocodetag']==1?' checked':''?>>
  1775. 开启
  1776. <input type="radio" name="candocodetag" value="0"<?=$r['candocodetag']==0?' checked':''?>>
  1777. 关闭</td>
  1778. </tr>
  1779. <tr>
  1780. <td height="25" bgcolor="#FFFFFF">防采集</td>
  1781. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="opennotcj" value="1"<?=$r[opennotcj]==1?' checked':''?>>
  1782. 开启
  1783. <input type="radio" name="opennotcj" value="0"<?=$r[opennotcj]==0?' checked':''?>>
  1784. 关闭</td>
  1785. </tr>
  1786. <tr>
  1787. <td height="25" bgcolor="#FFFFFF">内容防复制</td>
  1788. <td height="25" bgcolor="#FFFFFF"> <input type="radio" name="opencopytext" value="1"<?=$r[opencopytext]==1?' checked':''?>>
  1789. 开启
  1790. <input type="radio" name="opencopytext" value="0"<?=$r[opencopytext]==0?' checked':''?>>
  1791. 关闭<font color="#666666"> (内容随机字符)</font></td>
  1792. </tr>
  1793. <tr>
  1794. <td height="25" bgcolor="#FFFFFF">列表分页函数(下拉)</td>
  1795. <td height="25" bgcolor="#FFFFFF"><input name="listpagefun" type="text" id="listpagefun" value="<?=$r[listpagefun]?>" size="38">
  1796. <font color="#666666"> (可加到e/class/userfun.php文件里)</font></td>
  1797. </tr>
  1798. <tr>
  1799. <td rowspan="2" valign="top" bgcolor="#FFFFFF">列表分页函数(列表)</td>
  1800. <td height="25" bgcolor="#FFFFFF"><input name="listpagelistfun" type="text" id="listpagelistfun" value="<?=$r[listpagelistfun]?>" size="38">
  1801. <font color="#666666">(可加到e/class/userfun.php文件里)</font></td>
  1802. </tr>
  1803. <tr>
  1804. <td height="25" bgcolor="#FFFFFF">每页显示
  1805. <input name="listpagelistnum" type="text" id="listpagelistnum" value="<?=$r[listpagelistnum]?>" size="6">
  1806. 个页码</td>
  1807. </tr>
  1808. <tr>
  1809. <td height="25" rowspan="2" bgcolor="#FFFFFF">内容分页函数</td>
  1810. <td height="12" bgcolor="#FFFFFF"><input name="textpagefun" type="text" id="textpagefun" value="<?=$r[textpagefun]?>" size="38">
  1811. <font color="#666666">(可加到e/class/userfun.php文件里)</font></td>
  1812. </tr>
  1813. <tr>
  1814. <td height="12" bgcolor="#FFFFFF">每页显示
  1815. <input name="textpagelistnum" type="text" id="textpagelistnum" value="<?=$r[textpagelistnum]?>" size="6">
  1816. 个页码</td>
  1817. </tr>
  1818. <tr>
  1819. <td height="25" bgcolor="#FFFFFF">RSS/XML设置</td>
  1820. <td height="25" bgcolor="#FFFFFF">显示最新
  1821. <input name="rssnum" type="text" id="rssnum" value="<?=$r[rssnum]?>" size="6">
  1822. 条记录,简介截取
  1823. <input name="rsssub" type="text" id="rsssub" value="<?=$r[rsssub]?>" size="6">
  1824. 个字</td>
  1825. </tr>
  1826. <tr>
  1827. <td height="25" bgcolor="#FFFFFF">点击统计设置</td>
  1828. <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  1829. <tr>
  1830. <td height="25">类型:
  1831. <select name="onclicktype" id="onclicktype">
  1832. <option value="0"<?=$r[onclicktype]==0?' selected':''?>>实时统计</option>
  1833. <option value="1"<?=$r[onclicktype]==1?' selected':''?>>文本缓存</option>
  1834. <option value="2"<?=$r[onclicktype]==2?' selected':''?>>不统计</option>
  1835. </select></td>
  1836. </tr>
  1837. <tr>
  1838. <td height="25">文本缓存最大文件:
  1839. <input name="onclickfilesize" type="text" id="onclickfilesize" value="<?=$r[onclickfilesize]?>" size="38">
  1840. KB</td>
  1841. </tr>
  1842. <tr>
  1843. <td height="25">文本缓存最长时间:
  1844. <input name="onclickfiletime" type="text" id="onclickfiletime" value="<?=$r[onclickfiletime]?>" size="38">
  1845. 分钟</td>
  1846. </tr>
  1847. </table></td>
  1848. </tr>
  1849. <tr>
  1850. <td height="25" bgcolor="#FFFFFF">信息外部链接设置</td>
  1851. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="opentitleurl" value="0"<?=$r[opentitleurl]==0?' checked':''?>>
  1852. 统计点击
  1853. <input type="radio" name="opentitleurl" value="1"<?=$r[opentitleurl]==1?' checked':''?>>
  1854. 显示原链接</td>
  1855. </tr>
  1856. <tr>
  1857. <td height="25" bgcolor="#FFFFFF">选择终极栏目的背景颜色</td>
  1858. <td height="25" bgcolor="#FFFFFF"><input name="chclasscolor" type="text" id="chclasscolor" value="<?=$r[chclasscolor]?>" size="38" class="color"></td>
  1859. </tr>
  1860. </table>
  1861. </div>
  1862. <div class="tab-page" id="doftp">
  1863. <h2 class="tab">&nbsp;<font class="tabcolor">FTP/EMAIL</font>&nbsp;</h2>
  1864. <script type="text/javascript">tb1.addTabPage( document.getElementById( "doftp" ) );</script>
  1865. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  1866. <tr class="header">
  1867. <td height="25" colspan="2">发送邮件设置</td>
  1868. </tr>
  1869. <tr>
  1870. <td height="25" bgcolor="#FFFFFF">邮件发送模式</td>
  1871. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="sendmailtype" value="0"<?=$r[sendmailtype]==0?' checked':''?>>
  1872. mail 函数发送
  1873. <input type="radio" name="sendmailtype" value="1"<?=$r[sendmailtype]==1?' checked':''?>>
  1874. SMTP 模块发送</td>
  1875. </tr>
  1876. <tr>
  1877. <td height="25" colspan="2" bgcolor="#FFFFFF"><strong>SMTP 模块发送设置</strong></td>
  1878. </tr>
  1879. <tr>
  1880. <td height="25" bgcolor="#FFFFFF">SMTP服务器</td>
  1881. <td height="25" bgcolor="#FFFFFF"><input name="smtphost" type="text" id="smtphost" value="<?=$r[smtphost]?>" size="38"></td>
  1882. </tr>
  1883. <tr>
  1884. <td height="25" bgcolor="#FFFFFF">SMTP端口</td>
  1885. <td height="25" bgcolor="#FFFFFF"><input name="smtpport" type="text" id="smtpport" value="<?=$r[smtpport]?>" size="38"></td>
  1886. </tr>
  1887. <tr>
  1888. <td height="25" bgcolor="#FFFFFF">发信人地址</td>
  1889. <td height="25" bgcolor="#FFFFFF"><input name="fromemail" type="text" id="fromemail" value="<?=$r[fromemail]?>" size="38"></td>
  1890. </tr>
  1891. <tr>
  1892. <td height="25" bgcolor="#FFFFFF">发信人呢称</td>
  1893. <td height="25" bgcolor="#FFFFFF"><input name="emailname" type="text" id="emailname" value="<?=$r[emailname]?>" size="38"></td>
  1894. </tr>
  1895. <tr>
  1896. <td height="25" bgcolor="#FFFFFF">是否需要登录验证</td>
  1897. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="loginemail" value="1"<?=$r[loginemail]==1?' checked':''?>>
  1898. <input type="radio" name="loginemail" value="0"<?=$r[loginemail]==0?' checked':''?>>
  1899. 否</td>
  1900. </tr>
  1901. <tr>
  1902. <td height="25" bgcolor="#FFFFFF">邮箱登录用户名</td>
  1903. <td height="25" bgcolor="#FFFFFF"><input name="emailusername" type="text" id="emailusername" value="<?=$r[emailusername]?>" size="38"></td>
  1904. </tr>
  1905. <tr>
  1906. <td height="25" bgcolor="#FFFFFF">邮箱登录密码</td>
  1907. <td height="25" bgcolor="#FFFFFF"><input name="emailpassword" type="password" id="emailpassword" value="<?=$r[emailpassword]?>" size="38"></td>
  1908. </tr>
  1909. <tr class="header">
  1910. <td height="25" colspan="2">FTP设置(远程发布 / PHP运行于安全模式等情况下需设置以下选项)</td>
  1911. </tr>
  1912. <tr>
  1913. <td width="22%" height="25" bgcolor="#FFFFFF">PHP运行于安全模式</td>
  1914. <td height="25" bgcolor="#FFFFFF"><input name="phpmode" type="checkbox" id="phpmode" value="1"<?=$r[phpmode]==1?' checked':''?>>
  1915. 是</td>
  1916. </tr>
  1917. <tr>
  1918. <td height="25" bgcolor="#FFFFFF">安装形式</td>
  1919. <td height="25" bgcolor="#FFFFFF"><select name="install" id="select">
  1920. <option value="0"<?=$r[install]==0?' selected':''?>>服务端</option>
  1921. <option value="1"<?=$r[install]==1?' selected':''?>>客户端</option>
  1922. </select> <font color="#666666">(如是远程发布,请选客户端,并且需配置FTP选项)</font></td>
  1923. </tr>
  1924. <tr>
  1925. <td height="25" bgcolor="#FFFFFF">启用 SSL 连接</td>
  1926. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="ftpssl" value="1"<?=$r[ftpssl]==1?' checked':''?>>
  1927. <input type="radio" name="ftpssl" value="0"<?=$r[ftpssl]==0?' checked':''?>>
  1928. 否 </td>
  1929. </tr>
  1930. <tr>
  1931. <td height="25" bgcolor="#FFFFFF">被动模式(pasv)连接</td>
  1932. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="ftppasv" value="1"<?=$r[ftppasv]==1?' checked':''?>>
  1933. <input type="radio" name="ftppasv" value="0"<?=$r[ftppasv]==0?' checked':''?>>
  1934. 否 </td>
  1935. </tr>
  1936. <tr>
  1937. <td height="25" bgcolor="#FFFFFF">FTP服务器地址</td>
  1938. <td height="25" bgcolor="#FFFFFF"><input name="ftphost" type="text" id="ftphost" value="<?=$r[ftphost]?>" size="38">
  1939. 端口:
  1940. <input name="ftpport" type="text" id="ftpport" value="<?=$r[ftpport]?>" size="4"></td>
  1941. </tr>
  1942. <tr>
  1943. <td height="25" bgcolor="#FFFFFF">FTP用户名</td>
  1944. <td height="25" bgcolor="#FFFFFF"><input name="ftpusername" type="text" id="ftpusername" value="<?=$r[ftpusername]?>" size="38">
  1945. </td>
  1946. </tr>
  1947. <tr>
  1948. <td height="25" bgcolor="#FFFFFF">FTP密码</td>
  1949. <td height="25" bgcolor="#FFFFFF"><input name="ftppassword" type="password" size="38">
  1950. <font color="#666666">(不修改密码请留空) </font></td>
  1951. </tr>
  1952. <tr>
  1953. <td height="25" bgcolor="#FFFFFF">传送模式</td>
  1954. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="ftpmode" value="1"<?=$r[ftpmode]==1?' checked':''?>>
  1955. ASCII
  1956. <input type="radio" name="ftpmode" value="0"<?=$r[ftpmode]==0?' checked':''?>>
  1957. 二进制</td>
  1958. </tr>
  1959. <tr>
  1960. <td height="25" bgcolor="#FFFFFF">FTP 传输超时时间</td>
  1961. <td height="25" bgcolor="#FFFFFF"><input name="ftpouttime" type="text" id="ftpouttime" value="<?=$r[ftpouttime]?>" size="38">
  1962. 秒<font color="#666666">(0为服务器默认)</font></td>
  1963. </tr>
  1964. <tr>
  1965. <td height="25" bgcolor="#FFFFFF">系统根目录(FTP)</td>
  1966. <td height="25" bgcolor="#FFFFFF"><input name="ftppath" type="text" value="<?=$r[ftppath]?>" size="38">
  1967. <font color="#666666">(目录结尾不要加斜杠“/”,空为根目录)</font></td>
  1968. </tr>
  1969. <tr>
  1970. <td height="25" bgcolor="#FFFFFF">测试FTP服务器</td>
  1971. <td height="25" bgcolor="#FFFFFF"><input type="submit" name="Submit32" value="测试FTP服务器" onClick="document.form1.enews.value='CheckPostServerFtp';document.form1.action='SetEnews.php';document.form1.target='checkftpiframe';">
  1972. <font color="#666666">(无需保存设置即可测试,请在测试通过后再保存)</font></td>
  1973. </tr>
  1974. </table>
  1975. </div>
  1976. <div class="tab-page" id="dom">
  1977. <h2 class="tab">&nbsp;<font class="tabcolor">模型设置</font>&nbsp;</h2>
  1978. <script type="text/javascript">tb1.addTabPage( document.getElementById( "dom" ) );</script>
  1979. <table width="100%" border="0" cellspacing="1" cellpadding="3" class="tableborder">
  1980. <tr class="header">
  1981. <td height="25" colspan="2">信息投稿屏蔽设置</td>
  1982. </tr>
  1983. <tr bgcolor="#FFFFFF">
  1984. <td width="22%" height="25" valign="top"><strong>屏蔽字段</strong><br>
  1985. 多个用“|”格开,如“title|newstext”<br>
  1986. <br>
  1987. <a href="db/ListTable.php<?=$ecms_hashur['whehref']?>" target="_blank"><font color="#666666">[点击查看字段]</font></a></td>
  1988. <td><textarea name="closewordsf" cols="80" rows="5"><?=$r[closewordsf]?></textarea></td>
  1989. </tr>
  1990. <tr bgcolor="#FFFFFF">
  1991. <td height="25" valign="top">
  1992. <strong>屏蔽字符列表</strong><br>
  1993. (1)、多个用“|”隔开,如“字符1|字符2” 。<br>
  1994. (2)、同时包含多字时屏蔽可用双“#”隔开,如“破##解|字符2” 。这样只要内容同时包含“破”和“解”字都会被屏蔽。</td>
  1995. <td><textarea name="closewords" cols="80" rows="8"><?=$r[closewords]?></textarea></td>
  1996. </tr>
  1997. </table>
  1998. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  1999. <tr class="header">
  2000. <td height="25" colspan="2">新闻/下载/电影/商城等模型设置</td>
  2001. </tr>
  2002. <tr>
  2003. <td height="25" bgcolor="#FFFFFF">关闭后台菜单</td>
  2004. <td height="25" bgcolor="#FFFFFF"><input name="closehmenu[]" type="checkbox" id="closehmenu[]" value="shop"<?=stristr($r['closehmenu'],',shop,')?' checked':''?>>
  2005. 商城</td>
  2006. </tr>
  2007. <tr>
  2008. <td height="25" bgcolor="#FFFFFF">同一地址下载/观看超过</td>
  2009. <td height="25" bgcolor="#FFFFFF"><input name="redodown" type="text" id="redodown" value="<?=$r[redodown]?>" size="38">
  2010. 个小时 将重复扣点</td>
  2011. </tr>
  2012. <tr>
  2013. <td height="25" bgcolor="#FFFFFF">同一信息查看超过</td>
  2014. <td height="25" bgcolor="#FFFFFF"><input name="redoview" type="text" id="redoview" value="<?=$r[redoview]?>" size="38">
  2015. 个小时 将重复扣点</td>
  2016. </tr>
  2017. <tr>
  2018. <td width="22%" height="25" bgcolor="#FFFFFF">下载验证码</td>
  2019. <td height="25" bgcolor="#FFFFFF"><input name="downpass" type="text" id="downpass" value="<?=$r[downpass]?>" size="38">
  2020. <font color="#666666">(主要用于防盗链,请定期修改)</font></td>
  2021. </tr>
  2022. <tr>
  2023. <td height="25" bgcolor="#FFFFFF">开启直接下载</td>
  2024. <td height="25" bgcolor="#FFFFFF"><input type="radio" name="opengetdown" value="1"<?=$r[opengetdown]==1?' checked':''?>>
  2025. <input type="radio" name="opengetdown" value="0"<?=$r[opengetdown]==0?' checked':''?>>
  2026. 否</td>
  2027. </tr>
  2028. </table>
  2029. <table width="100%" border="0" cellspacing="1" cellpadding="3" class="tableborder">
  2030. <tr class="header">
  2031. <td height="25" colspan="2">信息半角/全角转换设置</td>
  2032. </tr>
  2033. <tr bgcolor="#FFFFFF">
  2034. <td width="22%" height="25" valign="top"><strong>前台半角转全角字段</strong><br>
  2035. (格式:表名.字段名。例如:news.title,多个字段用“|”隔开)<br>
  2036. <br>
  2037. <a href="db/ListTable.php<?=$ecms_hashur['whehref']?>" target="_blank"><font color="#666666">[点击查看字段]</font></a></td>
  2038. <td><textarea name="qtoqjf" cols="80" rows="8" id="qtoqjf"><?=$addpr['qtoqjf']?></textarea></td>
  2039. </tr>
  2040. <tr bgcolor="#FFFFFF">
  2041. <td height="25" valign="top">
  2042. <strong>后台半角转全角字段</strong><br>
  2043. (格式:表名.字段名。例如:news.title,多个字段用“|”隔开)</td>
  2044. <td><textarea name="toqjf" cols="80" rows="8" id="toqjf"><?=$addpr['toqjf']?></textarea></td>
  2045. </tr>
  2046. </table>
  2047. </div>
  2048. <div class="tab-page" id="doimage">
  2049. <h2 class="tab">&nbsp;<font class="tabcolor">图片设置</font>&nbsp;</h2>
  2050. <script type="text/javascript">tb1.addTabPage( document.getElementById( "doimage" ) );</script>
  2051. <table width="100%" border="0" cellspacing="1" cellpadding="3" class="tableborder">
  2052. <tr class="header">
  2053. <td height="25" colspan="2">图片缩略图设置</td>
  2054. </tr>
  2055. <tr bgcolor="#FFFFFF">
  2056. <td width="22%" height="25">默认值</td>
  2057. <td>宽:
  2058. <input name="spicwidth" type="text" id="spicwidth" value="<?=$r[spicwidth]?>" size="6">
  2059. ×高:
  2060. <input name="spicheight" type="text" id="spicheight" value="<?=$r[spicheight]?>" size="6"></td>
  2061. </tr>
  2062. <tr bgcolor="#FFFFFF">
  2063. <td height="25">超出部分是否截取</td>
  2064. <td><input type="radio" name="spickill" value="1"<?=$r['spickill']==1?' checked':''?>>
  2065. <input type="radio" name="spickill" value="0"<?=$r['spickill']==0?' checked':''?>>
  2066. 否</td>
  2067. </tr>
  2068. </table>
  2069. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  2070. <tr class="header">
  2071. <td height="25" colspan="2">图片水印设置(不想用图片水印,请留空)</td>
  2072. </tr>
  2073. <tr>
  2074. <td width="22%" height="25" valign="top" bgcolor="#FFFFFF">水印位置</td>
  2075. <td height="25" bgcolor="#FFFFFF"> <table width="200" border="0" cellpadding="6" cellspacing="1" bgcolor="#CCCCCC">
  2076. <tr bgcolor="#FFFFFF">
  2077. <td rowspan="3"> <div align="center">
  2078. <input type="radio" name="markpos" value="0"<?=$r[markpos]==0?' checked':'';?>>
  2079. <br>
  2080. 随机 </div></td>
  2081. <td> <div align="center">
  2082. <input type="radio" name="markpos" value="1"<?=$r[markpos]==1?' checked':'';?>>
  2083. </div></td>
  2084. <td> <div align="center">
  2085. <input type="radio" name="markpos" value="2"<?=$r[markpos]==2?' checked':'';?>>
  2086. </div></td>
  2087. <td> <div align="center">
  2088. <input type="radio" name="markpos" value="3"<?=$r[markpos]==3?' checked':'';?>>
  2089. </div></td>
  2090. </tr>
  2091. <tr>
  2092. <td bgcolor="#FFFFFF"> <div align="center">
  2093. <input type="radio" name="markpos" value="4"<?=$r[markpos]==4?' checked':'';?>>
  2094. </div></td>
  2095. <td bgcolor="#FFFFFF"> <div align="center">
  2096. <input type="radio" name="markpos" value="5"<?=$r[markpos]==5?' checked':'';?>>
  2097. </div></td>
  2098. <td bgcolor="#FFFFFF"> <div align="center">
  2099. <input type="radio" name="markpos" value="6"<?=$r[markpos]==6?' checked':'';?>>
  2100. </div></td>
  2101. </tr>
  2102. <tr>
  2103. <td bgcolor="#FFFFFF"> <div align="center">
  2104. <input type="radio" name="markpos" value="7"<?=$r[markpos]==7?' checked':'';?>>
  2105. </div></td>
  2106. <td bgcolor="#FFFFFF"> <div align="center">
  2107. <input type="radio" name="markpos" value="8"<?=$r[markpos]==8?' checked':'';?>>
  2108. </div></td>
  2109. <td bgcolor="#FFFFFF"> <div align="center">
  2110. <input type="radio" name="markpos" value="9"<?=$r[markpos]==9?' checked':'';?>>
  2111. </div></td>
  2112. </tr>
  2113. </table></td>
  2114. </tr>
  2115. <tr>
  2116. <td rowspan="4" valign="top" bgcolor="#FFFFFF">文字水印</td>
  2117. <td height="25" bgcolor="#FFFFFF">文字内容
  2118. <input name="marktext" type="text" id="marktext" value="<?=$r[marktext]?>">
  2119. <font color="#666666">(目前不支持中文)</font></td>
  2120. </tr>
  2121. <tr>
  2122. <td height="25" bgcolor="#FFFFFF">文字字体
  2123. <input name="markfont" type="text" id="markfont" value="<?=$r[markfont]?>">
  2124. <font color="#666666">(从后台开始算,如../data就是data目录)</font></td>
  2125. </tr>
  2126. <tr>
  2127. <td height="25" bgcolor="#FFFFFF">文字颜色
  2128. <input name="markfontcolor" type="text" id="markfontcolor" value="<?=$r[markfontcolor]?>" class="color">
  2129. </td>
  2130. </tr>
  2131. <tr>
  2132. <td height="25" bgcolor="#FFFFFF">文字大小
  2133. <input name="markfontsize" type="text" value="<?=$r[markfontsize]?>">
  2134. <font color="#666666">(1~5之间的数字)</font> </td>
  2135. </tr>
  2136. <tr>
  2137. <td rowspan="3" valign="top" bgcolor="#FFFFFF">图片水印</td>
  2138. <td height="25" bgcolor="#FFFFFF"> 图片文件
  2139. <input name="markimg" type="text" id="markimg" value="<?=$r[markimg]?>">
  2140. <font color="#666666">(从后台开始算,如../data就是data目录)</font></td>
  2141. </tr>
  2142. <tr>
  2143. <td height="25" bgcolor="#FFFFFF">图片质量
  2144. <input name="jpgquality" type="text" id="jpgquality" value="<?=$r[jpgquality]?>">
  2145. <font color="#666666">(该值决定 jpg 格式图片的质量,范围从 0 到 100)</font></td>
  2146. </tr>
  2147. <tr>
  2148. <td height="25" bgcolor="#FFFFFF">水印透明度
  2149. <input name="markpct" type="text" id="markpct" value="<?=$r[markpct]?>">
  2150. <font color="#666666">(该值决定图片水印清晰度,其值范围从 0 到 100)</font></td>
  2151. </tr>
  2152. </table>
  2153. </div>
  2154. </div>
  2155. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
  2156. <tr>
  2157. <td height="25" bgcolor="#FFFFFF"> <div align="center">
  2158. <input type="submit" name="Submit" value=" 设置 " onClick="document.form1.enews.value='SetEnews';document.form1.action='SetEnews.php';document.form1.target='';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  2159. <input type="reset" name="Submit2" value=" 重置 ">
  2160. </div></td>
  2161. </tr>
  2162. </table>
  2163. </form>
  2164. <?=$hiddenfileserver?>
  2165. </body>
  2166. </html>