123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196 |
- <?php
- define('EmpireCMSAdmin','1');
- require("../class/connect.php");
- require("../class/db_sql.php");
- require("../class/functions.php");
- require("../class/t_functions.php");
- $link=db_connect();
- $empire=new mysqlquery();
- //验证用户
- $lur=is_login();
- $logininid=$lur['userid'];
- $loginin=$lur['username'];
- $loginrnd=$lur['rnd'];
- $loginlevel=$lur['groupid'];
- $loginadminstyleid=$lur['adminstyleid'];
- //ehash
- $ecms_hashur=hReturnEcmsHashStrAll();
- //验证权限
- CheckLevel($logininid,$loginin,$classid,"public");
- //参数设置
- function SetEnews($add,$userid,$username){
- global $empire,$dbtbpre;
- //操作权限
- CheckLevel($userid,$username,$classid,"public");
- $add[newsurl]=ehtmlspecialchars($add[newsurl],ENT_QUOTES);
- if(empty($add[indextype])){
- $add[indextype]=".html";
- }
- if(empty($add[searchtype])){
- $add[searchtype]=".html";
- }
- //备份目录
- if(empty($add[bakdbpath])){
- $add[bakdbpath]="bdata";
- }
- if(!file_exists("ebak/".RepPathStr($add[bakdbpath])))
- {
- printerror("NotBakDbPath","");
- }
- if(empty($add[bakdbzip])){
- $add[bakdbzip]="zip";
- }
- if(!file_exists("ebak/".RepPathStr($add[bakdbzip]))){
- printerror("NotbakZipPath","");
- }
- //函数是否存在
- if(!function_exists($add['listpagefun'])||!function_exists($add['textpagefun'])||!function_exists($add['listpagelistfun']))
- {
- printerror("NotPageFun","history.go(-1)");
- }
- //adfile
- $add['adfile']=RepFilenameQz($add['adfile']);
- //修改ftp密码
- if($add[ftppassword])
- {
- $a="ftppassword='$add[ftppassword]',";
- }
- //变量处理
- $add[filesize]=(int)$add[filesize];
- $add[hotnum]=(int)$add[hotnum];
- $add[newnum]=(int)$add[newnum];
- $add[relistnum]=(int)$add[relistnum];
- $add[renewsnum]=(int)$add[renewsnum];
- $add[min_keyboard]=(int)$add[min_keyboard];
- $add[max_keyboard]=(int)$add[max_keyboard];
- $add[search_num]=(int)$add[search_num];
- $add[search_pagenum]=(int)$add[search_pagenum];
- $add[newslink]=(int)$add[newslink];
- $add[checked]=(int)$add[checked];
- $add[searchtime]=(int)$add[searchtime];
- $add[loginnum]=(int)$add[loginnum];
- $add[logintime]=(int)$add[logintime];
- $add[addnews_ok]=(int)$add[addnews_ok];
- $add[register_ok]=(int)$add[register_ok];
- $add[goodlencord]=(int)$add[goodlencord];
- $add[goodnum]=(int)$add[goodnum];
- $add[exittime]=(int)$add[exittime];
- $add[smalltextlen]=(int)$add[smalltextlen];
- $add[defaultgroupid]=(int)$add[defaultgroupid];
- $add[phpmode]=(int)$add[phpmode];
- $add[install]=(int)$add[install];
- $add[hotplnum]=(int)$add[hotplnum];
- $add[dorepnum]=(int)$add[dorepnum];
- $add[loadtempnum]=(int)$add[loadtempnum];
- $add[firstnum]=(int)$add[firstnum];
- $add[min_userlen]=(int)$add[min_userlen];
- $add[max_userlen]=(int)$add[max_userlen];
- $add[min_passlen]=(int)$add[min_passlen];
- $add[max_passlen]=(int)$add[max_passlen];
- $add[filechmod]=(int)$add[filechmod];
- $add[sametitle]=(int)$add[sametitle];
- $add[addrehtml]=(int)$add[addrehtml];
- $add[loginkey_ok]=(int)$add[loginkey_ok];
- $add[limittype]=(int)$add[limittype];
- $add[redodown]=(int)$add[redodown];
- $add[candocode]=(int)$add[candocode];
- $add[opennotcj]=(int)$add[opennotcj];
- $add[reuserpagenum]=(int)$add[reuserpagenum];
- $add[revotejsnum]=(int)$add[revotejsnum];
- $add[readjsnum]=(int)$add[readjsnum];
- $add[qaddtran]=(int)$add[qaddtran];
- $add[qaddtransize]=(int)$add[qaddtransize];
- $add[ebakthisdb]=(int)$add[ebakthisdb];
- $add[delnewsnum]=(int)$add[delnewsnum];
- $add[markpos]=(int)$add[markpos];
- $add[adminloginkey]=(int)$add[adminloginkey];
- $add[php_outtime]=(int)$add[php_outtime];
- $add[addreinfo]=(int)$add[addreinfo];
- $add[rssnum]=(int)$add[rssnum];
- $add[rsssub]=(int)$add[rsssub];
- $add[dorepdlevelnum]=(int)$add[dorepdlevelnum];
- $add[listpagelistnum]=(int)$add[listpagelistnum];
- $add[infolinknum]=(int)$add[infolinknum];
- $add[searchgroupid]=(int)$add[searchgroupid];
- $add[opencopytext]=(int)$add[opencopytext];
- $add[reuserjsnum]=(int)$add[reuserjsnum];
- $add[reuserlistnum]=(int)$add[reuserlistnum];
- $add[opentitleurl]=(int)$add[opentitleurl];
- $add['qaddtranfile']=(int)$add['qaddtranfile'];
- $add['qaddtranfilesize']=(int)$add['qaddtranfilesize'];
- $add['sendmailtype']=(int)$add['sendmailtype'];
- $add['loginemail']=(int)$add['loginemail'];
- $add['feedbacktfile']=(int)$add['feedbacktfile'];
- $add['feedbackfilesize']=(int)$add['feedbackfilesize'];
- $add['searchtempvar']=(int)$add['searchtempvar'];
- $add['showinfolevel']=(int)$add['showinfolevel'];
- $add['spicwidth']=(int)$add['spicwidth'];
- $add['spicheight']=(int)$add['spicheight'];
- $add['spickill']=(int)$add['spickill'];
- $add['jpgquality']=(int)$add['jpgquality'];
- $add['markpct']=(int)$add['markpct'];
- $add['redoview']=(int)$add['redoview'];
- $add['reggetfen']=(int)$add['reggetfen'];
- $add['regbooktime']=(int)$add['regbooktime'];
- $add['revotetime']=(int)$add['revotetime'];
- $add['fpath']=(int)$add['fpath'];
- $add['openmembertranimg']=(int)$add['openmembertranimg'];
- $add['memberimgsize']=(int)$add['memberimgsize'];
- $add['openmembertranfile']=(int)$add['openmembertranfile'];
- $add['memberfilesize']=(int)$add['memberfilesize'];
- $add['openspace']=(int)$add['openspace'];
- $add['realltime']=(int)$add['realltime'];
- $add['textpagelistnum']=(int)$add['textpagelistnum'];
- $add['memberlistlevel']=(int)$add['memberlistlevel'];
- $add['ebakcanlistdb']=(int)$add['ebakcanlistdb'];
- $add['keytog']=(int)$add['keytog'];
- $add['keytime']=(int)$add['keytime'];
- $add['regkey_ok']=(int)$add['regkey_ok'];
- $add['opengetdown']=(int)$add['opengetdown'];
- $add['gbkey_ok']=(int)$add['gbkey_ok'];
- $add['fbkey_ok']=(int)$add['fbkey_ok'];
- $add['newaddinfotime']=(int)$add['newaddinfotime'];
- $add['classnavline']=(int)$add['classnavline'];
- $add['docnewsnum']=(int)$add['docnewsnum'];
- $add['dtcanbq']=(int)$add['dtcanbq'];
- $add['dtcachetime']=(int)$add['dtcachetime'];
- $add['regretime']=(int)$add['regretime'];
- $add['regemailonly']=(int)$add['regemailonly'];
- $add['repkeynum']=(int)$add['repkeynum'];
- $add['getpasstime']=(int)$add['getpasstime'];
- $add['acttime']=(int)$add['acttime'];
- $add['regacttype']=(int)$add['regacttype'];
- $add['opengetpass']=(int)$add['opengetpass'];
- $add['hlistinfonum']=(int)$add['hlistinfonum'];
- if(empty($add['hlistinfonum']))
- {
- $add['hlistinfonum']=30;
- }
- $add['qlistinfonum']=(int)$add['qlistinfonum'];
- if(empty($add['qlistinfonum']))
- {
- $add['qlistinfonum']=30;
- }
- $add['dtncanbq']=(int)$add['dtncanbq'];
- $add['dtncachetime']=(int)$add['dtncachetime'];
- $add['readdinfotime']=(int)$add['readdinfotime'];
- $add['qeditinfotime']=(int)$add['qeditinfotime'];
- $add['ftpmode']=(int)$add['ftpmode'];
- $add['ftpssl']=(int)$add['ftpssl'];
- $add['ftppasv']=(int)$add['ftppasv'];
- $add['ftpouttime']=(int)$add['ftpouttime'];
- $add['onclicktype']=(int)$add['onclicktype'];
- $add['onclickfilesize']=(int)$add['onclickfilesize'];
- $add['onclickfiletime']=(int)$add['onclickfiletime'];
- $add['closeqdt']=(int)$add['closeqdt'];
- $add['settop']=(int)$add['settop'];
- $add['qlistinfomod']=(int)$add['qlistinfomod'];
- $add['gb_num']=(int)$add['gb_num'];
- $add['member_num']=(int)$add['member_num'];
- $add['space_num']=(int)$add['space_num'];
- $add['infolday']=(int)$add['infolday'];
- $add['filelday']=(int)$add['filelday'];
- $add['baktempnum']=(int)$add['baktempnum'];
- $add['dorepkey']=(int)$add['dorepkey'];
- $add['dorepword']=(int)$add['dorepword'];
- $add['indexpagedt']=(int)$add['indexpagedt'];
- $add['closeqdtmsg']=AddAddsData($add['closeqdtmsg']);
- $add['openfileserver']=(int)$add['openfileserver'];
- $add['fieldandtop']=(int)$add['fieldandtop'];
- $add['fieldandclosetb']=$add['fieldandclosetb']?','.$add['fieldandclosetb'].',':'';
- $add['closelisttemp']=ehtmlspecialchars($add['closelisttemp'],ENT_QUOTES);
- $add['ipaddinfonum']=(int)$add['ipaddinfonum'];
- $add['ipaddinfotime']=(int)$add['ipaddinfotime'];
- $add['indexaddpage']=(int)$add['indexaddpage'];
- $add['modmemberedittran']=(int)$add['modmemberedittran'];
- $add['modinfoedittran']=(int)$add['modinfoedittran'];
- $add['php_adminouttime']=(int)$add['php_adminouttime'];
- $add['httptype']=(int)$add['httptype'];
- $add['qinfoaddfen']=(int)$add['qinfoaddfen'];
- $add['bakescapetype']=(int)$add['bakescapetype'];
- $add['hkeytime']=(int)$add['hkeytime'];
- $add['mhavedatedo']=(int)$add['mhavedatedo'];
- $add['reportkey']=(int)$add['reportkey'];
- $add['candocodetag']=(int)$add['candocodetag'];
- $add['newsurl']=hRepPostStr($add['newsurl'],0);
- $add['sitename']=hRepPostStr($add['sitename'],1);
- $add['email']=hRepPostStr($add['email'],1);
- $add['filetype']=hRepPostStr($add['filetype'],0);
- $add['indextype']=hRepPostStr($add['indextype'],1);
- $add['goodtype']=hRepPostStr($add['goodtype'],1);
- $add['searchtype']=hRepPostStr($add['searchtype'],1);
- $add['fileurl']=hRepPostStr($add['fileurl'],1);
- $add['ftphost']=hRepPostStr($add['ftphost'],1);
- $add['ftpport']=hRepPostStr($add['ftpport'],1);
- $add['ftpusername']=hRepPostStr($add['ftpusername'],0);
- $add['ftppassword']=hRepPostStr($add['ftppassword'],0);
- $add['ftppath']=hRepPostStr($add['ftppath'],1);
- $add['bakdbpath']=hRepPostStr($add['bakdbpath'],1);
- $add['bakdbzip']=hRepPostStr($add['bakdbzip'],1);
- $add['downpass']=hRepPostStr($add['downpass'],0);
- $add['markimg']=hRepPostStr($add['markimg'],1);
- $add['marktext']=hRepPostStr($add['marktext'],1);
- $add['markfontsize']=hRepPostStr($add['markfontsize'],1);
- $add['markfontcolor']=hRepPostStr($add['markfontcolor'],1);
- $add['markfont']=hRepPostStr($add['markfont'],1);
- $add['listpagefun']=hRepPostStr($add['listpagefun'],1);
- $add['textpagefun']=hRepPostStr($add['textpagefun'],1);
- $add['adfile']=hRepPostStr($add['adfile'],1);
- $add['notsaveurl']=hRepPostStr($add['notsaveurl'],0);
- $add['listpagelistfun']=hRepPostStr($add['listpagelistfun'],1);
- $add['qaddtranimgtype']=hRepPostStr($add['qaddtranimgtype'],0);
- $add['qaddtranfiletype']=hRepPostStr($add['qaddtranfiletype'],0);
- $add['smtphost']=hRepPostStr($add['smtphost'],1);
- $add['fromemail']=hRepPostStr($add['fromemail'],0);
- $add['loginemail']=hRepPostStr($add['loginemail'],0);
- $add['emailusername']=hRepPostStr($add['emailusername'],0);
- $add['emailpassword']=hRepPostStr($add['emailpassword'],0);
- $add['smtpport']=hRepPostStr($add['smtpport'],1);
- $add['emailname']=hRepPostStr($add['emailname'],0);
- $add['feedbackfiletype']=hRepPostStr($add['feedbackfiletype'],0);
- $add['filepath']=hRepPostStr($add['filepath'],0);
- $add['memberimgtype']=hRepPostStr($add['memberimgtype'],0);
- $add['memberfiletype']=hRepPostStr($add['memberfiletype'],0);
- $add['canposturl']=hRepPostStr($add['canposturl'],0);
- $add['closeip']=hRepPostStr($add['closeip'],1);
- $add['openip']=hRepPostStr($add['openip'],1);
- $add['hopenip']=hRepPostStr($add['hopenip'],1);
- $add['closewords']=AddAddsData($add['closewords']);
- $add['closewordsf']=hRepPostStr($add['closewordsf'],1);
- $add['keyrnd']=hRepPostStr($add['keyrnd'],0);
- $add['sitekey']=hRepPostStr($add['sitekey'],0);
- $add['siteintro']=hRepPostStr($add['siteintro'],0);
- $add['regclosewords']=AddAddsData($add['regclosewords']);
- $add['opendoip']=hRepPostStr($add['opendoip'],0);
- $add['closedoip']=hRepPostStr($add['closedoip'],0);
- $add['onclickrnd']=hRepPostStr($add['onclickrnd'],1);
- $add['keybgcolor']=hRepPostStr($add['keybgcolor'],1);
- $add['keyfontcolor']=hRepPostStr($add['keyfontcolor'],1);
- $add['keydistcolor']=hRepPostStr($add['keydistcolor'],1);
- $add['fieldandclosetb']=hRepPostStr($add['fieldandclosetb'],1);
- $add['hkeyrnd']=hRepPostStr($add['hkeyrnd'],0);
- $add['usetotalnum']=(int)$add['usetotalnum'];
- $spacegids=eReturnSetGroups($add['spacegid']);
- $add['toqjf']=hRepPostStr($add['toqjf'],1);
- $add['qtoqjf']=hRepPostStr($add['qtoqjf'],1);
- $openerns=eReturnSetGroups($add['openern'],0);
- $openerns=hRepPostStr($openerns,1);
- $ernurl=hRepPostStr2(eDoRepPostComStr($add['ernurl'],1));
- //提交IP
- $doiptypes='';
- $doiptype=$add['doiptype'];
- $doiptypecount=count($doiptype);
- if($doiptypecount)
- {
- $doiptypes=',';
- for($di=0;$di<$doiptypecount;$di++)
- {
- $doiptypes.=$doiptype[$di].',';
- }
- }
- $doiptypes=hRepPostStr($doiptypes,1);
- //关闭相关模块
- $closemodss='';
- $closemods=$add['closemods'];
- $closemodscount=count($closemods);
- if($closemodscount)
- {
- $closemodss=',';
- for($cmi=0;$cmi<$closemodscount;$cmi++)
- {
- $closemodss.=$closemods[$cmi].',';
- }
- }
- $closemodss=hRepPostStr($closemodss,1);
- //关闭后台菜单
- $closehmenus='';
- $closehmenu=$add['closehmenu'];
- $closehmenucount=count($closehmenu);
- if($closehmenucount)
- {
- $closehmenus=',';
- for($chmi=0;$chmi<$closehmenucount;$chmi++)
- {
- $closehmenus.=$closehmenu[$chmi].',';
- }
- }
- $closehmenus=hRepPostStr($closehmenus,1);
- //限制操作的时间点
- $timecloses='';
- $timeclose=$add['timeclose'];
- $timeclosecount=count($timeclose);
- if($timeclosecount)
- {
- $timecloses=',';
- for($tci=0;$tci<$timeclosecount;$tci++)
- {
- $timecloses.=$timeclose[$tci].',';
- }
- }
- $timecloses=hRepPostStr($timecloses,1);
- //限制使用时间的操作
- $timeclosedos='';
- $timeclosedo=$add['timeclosedo'];
- $timeclosedocount=count($timeclosedo);
- if($timeclosedocount)
- {
- $timeclosedos=',';
- for($tcdi=0;$tcdi<$timeclosedocount;$tcdi++)
- {
- $timeclosedos.=$timeclosedo[$tcdi].',';
- }
- }
- $timeclosedos=hRepPostStr($timeclosedos,1);
- $add[filetype]="|".$add[filetype]."|";
- $add[qimgtype]="|".$add['qaddtranimgtype']."|";
- $add[qfiletype]="|".$add['qaddtranfiletype']."|";
- $add[feedbackfiletype]="|".$add['feedbackfiletype']."|";
- $add[memberimgtype]="|".$add['memberimgtype']."|";
- $add[memberfiletype]="|".$add['memberfiletype']."|";
- $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)."';");
- //配置副表
- $addpsql=$empire->query("update {$dbtbpre}enewspublicadd set toqjf='$add[toqjf]',qtoqjf='$add[qtoqjf]';");
- DoSetFileServer($add);//远程附件更新
- GetConfig();
- //首页动态文件
- if($add['indexpagedt']!=$add['oldindexpagedt'])
- {
- if($add['indexpagedt'])
- {
- DelFiletext(ECMS_PATH.'index'.$add[indextype]);
- @copy(ECMS_PATH.'e/data/template/dtindexpage.txt',ECMS_PATH.'index.php');
- }
- else
- {
- DelFiletext(ECMS_PATH.'index.php');
- $indextemp=GetIndextemp();
- NewsBq(0,$indextemp,1,0);
- }
- }
- if($sql){
- insert_dolog("");//操作日志
- printerror("SetPublicSuccess","SetEnews.php".hReturnEcmsHashStrHref2(1));
- }
- else{
- printerror("DbError","history.go(-1)");
- }
- }
- //远程附件更新
- function DoSetFileServer($add){
- global $empire,$dbtbpre;
- $update='';
- if($add['fs_ftppassword'])
- {
- $update=",ftppassword='$add[fs_ftppassword]'";
- }
- $add['fs_ftpmode']=(int)$add['fs_ftpmode'];
- $add['fs_ftpssl']=(int)$add['fs_ftpssl'];
- $add['fs_ftppasv']=(int)$add['fs_ftppasv'];
- $add['fs_ftpouttime']=(int)$add['fs_ftpouttime'];
- $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'");
- }
- //测试远程附件FTP
- function CheckFileServerFtp($add,$userid,$username){
- global $empire,$dbtbpre;
- //操作权限
- CheckLevel($userid,$username,$classid,"public");
- $ftphost=$add[fs_ftphost];
- $ftpport=$add[fs_ftpport];
- $ftpusername=$add[fs_ftpusername];
- if($add[fs_ftppassword])
- {
- $ftppassword=$add[fs_ftppassword];
- }
- else
- {
- $fsr=$empire->fetch1("select ftppassword from {$dbtbpre}enewspostserver where pid='1' limit 1");
- $ftppassword=$fsr[ftppassword];
- }
- $ftppath=$add[fs_ftppath];
- $tranmode=(int)$add['fs_ftpmode'];
- $ftpssl=(int)$add['fs_ftpssl'];
- $pasv=(int)$add['fs_ftppasv'];
- $timeout=(int)$add['fs_ftpouttime'];
- CheckFtpConnect($ftphost,$ftpport,$ftpusername,$ftppassword,$ftppath,$ftpssl,$pasv,$tranmode,$timeout);
- }
- //测试远程发布FTP
- function CheckPostServerFtp($add,$userid,$username){
- global $empire,$dbtbpre;
- //操作权限
- CheckLevel($userid,$username,$classid,"public");
- $ftphost=$add[ftphost];
- $ftpport=$add[ftpport];
- $ftpusername=$add[ftpusername];
- if($add[ftppassword])
- {
- $ftppassword=$add[ftppassword];
- }
- else
- {
- $fsr=$empire->fetch1("select ftppassword from {$dbtbpre}enewspublic limit 1");
- $ftppassword=$fsr[ftppassword];
- }
- $ftppath=$add[ftppath];
- $tranmode=(int)$add['ftpmode'];
- $ftpssl=(int)$add['ftpssl'];
- $pasv=(int)$add['ftppasv'];
- $timeout=(int)$add['ftpouttime'];
- CheckFtpConnect($ftphost,$ftpport,$ftpusername,$ftppassword,$ftppath,$ftpssl,$pasv,$tranmode,$timeout);
- }
- $enews=$_POST['enews'];
- if(empty($enews))
- {
- $enews=$_GET['enews'];
- }
- if($enews)
- {
- hCheckEcmsRHash();
- include LoadLang("pub/fun.php");
- include("../data/dbcache/class.php");
- include("../data/dbcache/MemberLevel.php");
- }
- if($enews=="SetEnews")//参数设置
- {
- SetEnews($_POST,$logininid,$loginin);
- }
- elseif($enews=='CheckFileServerFtp')//测试附件FTP
- {
- CheckFileServerFtp($_POST,$logininid,$loginin);
- }
- elseif($enews=='CheckPostServerFtp')//测试远程发布FTP
- {
- CheckPostServerFtp($_POST,$logininid,$loginin);
- }
- $r=$empire->fetch1("select * from {$dbtbpre}enewspublic limit 1");
- $addpr=$empire->fetch1("select * from {$dbtbpre}enewspublicadd limit 1");
- //文件类别
- $filetype=substr($r[filetype],1,strlen($r[filetype]));
- $filetype=substr($filetype,0,strlen($filetype)-1);
- //投稿图片扩展名
- $qaddimgtype=substr($r[qaddtranimgtype],1,strlen($r[qaddtranimgtype]));
- $qaddimgtype=substr($qaddimgtype,0,strlen($qaddimgtype)-1);
- //投稿附件扩展名
- $qaddfiletype=substr($r[qaddtranfiletype],1,strlen($r[qaddtranfiletype]));
- $qaddfiletype=substr($qaddfiletype,0,strlen($qaddfiletype)-1);
- //反馈附件
- $feedbackfiletype=substr($r[feedbackfiletype],1,strlen($r[feedbackfiletype])-2);
- //会员表单
- $memberimgtype=substr($r[memberimgtype],1,strlen($r[memberimgtype]));
- $memberimgtype=substr($memberimgtype,0,strlen($memberimgtype)-1);
- $memberfiletype=substr($r[memberfiletype],1,strlen($r[memberfiletype]));
- $memberfiletype=substr($memberfiletype,0,strlen($memberfiletype)-1);
- //----------会员组
- $mgshowline=5;//一行显示五个
- $mgsi=0;
- $sql1=$empire->query("select groupid,groupname from {$dbtbpre}enewsmembergroup order by level");
- while($l_r=$empire->fetch($sql1))
- {
- if($r[defaultgroupid]==$l_r[groupid])
- {$select=" selected";}
- else
- {$select="";}
- //搜索会员组
- if($r[searchgroupid]==$l_r[groupid])
- {$s_select=" selected";}
- else
- {$s_select="";}
- //查看资料权限
- if($r[showinfolevel]==$l_r[groupid])
- {$showinfo_select=" selected";}
- else
- {$showinfo_select="";}
- //会员列表查看权限
- if($r[memberlistlevel]==$l_r[groupid])
- {$memberlist_select=" selected";}
- else
- {$memberlist_select="";}
- $membergroup.="<option value=".$l_r[groupid].$select.">".$l_r[groupname]."</option>";
- $searchmembergroup.="<option value=".$l_r[groupid].$s_select.">".$l_r[groupname]."</option>";
- $showinfolevel.="<option value=".$l_r[groupid].$showinfo_select.">".$l_r[groupname]."</option>";
- $memberlistlevel.="<option value=".$l_r[groupid].$memberlist_select.">".$l_r[groupname]."</option>";
- //会员空间
- $mgsi++;
- $mgsbr='';
- if($mgsi%$mgshowline==0)
- {
- $mgsbr='<br>';
- }
- if(strstr($r['spacegids'],','.$l_r['groupid'].','))
- {$mgschecked=' checked';}
- else
- {$mgschecked='';}
- $spacegids.="<input type='checkbox' name='spacegid[]' value='$l_r[groupid]'".$mgschecked.">".$l_r[groupname]." ".$mgsbr;
- }
- //远程附件
- if($r['openfileserver']==1)
- {
- $hiddenfileserver="<script>document.getElementById('setfileserver').style.display='';</script>";
- }
- else
- {
- $hiddenfileserver="<script>document.getElementById('setfileserver').style.display='none';</script>";
- }
- $fsr=$empire->fetch1("select * from {$dbtbpre}enewspostserver where pid='1' limit 1");
- //当前使用的模板组
- $thegid=GetDoTempGid();
- db_close();
- $empire=null;
- ?>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>参数设置</title>
- <link href="adminstyle/<?=$loginadminstyleid?>/adminstyle.css" rel="stylesheet" type="text/css">
- <link id="luna-tab-style-sheet" type="text/css" rel="stylesheet" href="adminstyle/<?=$loginadminstyleid?>/tab.winclassic.css" disabled="disabled" />
- <!-- the id is not needed. It is used here to be able to change css file at runtime -->
- <style type="text/css">
- .dynamic-tab-pane-control .tab-page {
- width: 98%;
- }
- .dynamic-tab-pane-control .tab-page .dynamic-tab-pane-control .tab-page {
- height: 150px;
- }
- form {
- margin: 0;
- padding: 0;
- }
- /* over ride styles from webfxlayout */
- .dynamic-tab-pane-control h2 {
- font-size:12px;
- font-weight:normal;
- text-align: center;
- width: auto;
- height: 20;
- }
- .dynamic-tab-pane-control h2 a {
- display: inline;
- width: auto;
- }
- .dynamic-tab-pane-control a:hover {
- background: transparent;
- }
- </style>
- <script type="text/javascript" src="../data/images/tabpane.js"></script> <script type="text/javascript">
- function setLinkSrc( sStyle ) {
- document.getElementById( "luna-tab-style-sheet" ).disabled = sStyle != "luna";
-
- //document.documentElement.style.background = "";
- //document.body.style.background = sStyle == "webfx" ? "white" : "ThreeDFace";
- }
- function chgBg(obj,color){
- if (document.all || document.getElementById)
- obj.style.backgroundColor=color;
- else if (document.layers)
- obj.bgColor=color;
- }
- setLinkSrc( "luna" );
-
- function foreColor(objf)
- {
- if (!Error()) return;
- var arr = showModalDialog("ecmseditor/fieldfile/selcolor.html", "", "dialogWidth:296px; dialogHeight:280px; status:0");
- if (arr != null) objf.value=arr;
- else objf.focus();
- }
- </script>
- <script type="text/javascript" src="ecmseditor/js/jstime/WdatePicker.js"></script>
- <script type="text/javascript" src="ecmseditor/js/jscolor/jscolor.js"></script>
- </head>
- <body>
- <table width="100%%" border="0" align="center" cellpadding="3" cellspacing="1">
- <tr>
- <td>位置:<a href="SetEnews.php<?=$ecms_hashur['whehref']?>">参数设置</a></td>
- </tr>
- </table>
- <form name="form1" method="post" action="SetEnews.php" autocomplete="off">
- <div class="tab-pane" id="TabPane1"> <script type="text/javascript">
- tb1 = new WebFXTabPane( document.getElementById( "TabPane1" ) );
- </script>
- <div class="tab-page" id="baseinfo">
-
- <h2 class="tab"> <font class=tabcolor>基本属性</font> </h2>
- <script type="text/javascript">tb1.addTabPage( document.getElementById( "baseinfo" ) );</script>
- <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <?=$ecms_hashur['form']?>
- <input type=hidden name=enews value=SetEnews>
- <tr class="header">
- <td height="25" colspan="2">基本信息设置</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">传输协议</td>
- <td height="25" bgcolor="#FFFFFF"><select name="httptype" id="httptype">
- <option value="0"<?=$r['httptype']==0?' selected':''?>>系统自动识别</option>
- <option value="1"<?=$r['httptype']==1?' selected':''?>>全站http://</option>
- <option value="2"<?=$r['httptype']==2?' selected':''?>>全站https://</option>
- <option value="3"<?=$r['httptype']==3?' selected':''?>>后台https,前台http</option>
- <option value="4"<?=$r['httptype']==4?' selected':''?>>后台http,前台https</option>
- </select>
- <font color="#666666">(一般默认即可,使用https需要服务器支持)</font></td>
- </tr>
- <tr>
- <td width="22%" height="25" bgcolor="#FFFFFF">站点名称</td>
- <td width="78%" height="25" bgcolor="#FFFFFF"> <input name="sitename" type="text" id="sitename" value="<?=$r[sitename]?>" size="38"></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">网站地址</td>
- <td height="25" bgcolor="#FFFFFF"> <input name="newsurl" type="text" id="newsurl4" value="<?=$r[newsurl]?>" size="38">
- <font color="#666666">(结尾需加“/”,如:/)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">附件地址</td>
- <td height="25" bgcolor="#FFFFFF"><input name="fileurl" type="text" id="fileurl" value="<?=$r[fileurl]?>" size="38">
- <font color="#666666">(绑定域名时设置,结尾需加“/”,如:/d/file/)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">管理员邮箱</td>
- <td height="25" bgcolor="#FFFFFF"> <input name="email" type="text" id="email" value="<?=$r[email]?>" size="38"></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">网站关键字</td>
- <td height="25" bgcolor="#FFFFFF"><input name="sitekey" type="text" id="sitekey" value="<?=$r[sitekey]?>" size="38"></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">网站简介</td>
- <td height="25" bgcolor="#FFFFFF"><textarea name="siteintro" cols="80" rows="5" id="siteintro"><?=$r[siteintro]?></textarea></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">首页文件扩展名</td>
- <td height="25" bgcolor="#FFFFFF"><input name="indextype" type="text" id="indextype" value="<?=$r[indextype]?>" size="38">
- <font color="#666666">
- <select name="select" onchange="document.form1.indextype.value=this.value">
- <option value=".html">扩展名</option>
- <option value=".html">.html</option>
- <option value=".htm">.htm</option>
- <option value=".php">.php</option>
- <option value=".shtml">.shtml</option>
- </select>
- <input name="oldindextype" type="hidden" id="oldindextype" value="<?=$r[indextype]?>">
- <font color="#666666"></font>(如:.html,.htm,.xml,.php)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">首页模式</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="indexpagedt" value="0"<?=$r['indexpagedt']==0?' checked':''?>>
- 静态首页
- <input type="radio" name="indexpagedt" value="1"<?=$r['indexpagedt']==1?' checked':''?>>
- 动态首页
- <input name="oldindexpagedt" type="hidden" id="oldindexpagedt" value="<?=$r[indexpagedt]?>"></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">首页链接加文件名</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="indexaddpage" value="1"<?=$r['indexaddpage']==1?' checked':''?>>
- 增加
- <input type="radio" name="indexaddpage" value="0"<?=$r['indexaddpage']==0?' checked':''?>>
- 不增加</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">前台PHP超时时间设置</td>
- <td height="25" bgcolor="#FFFFFF"><input name="php_outtime" type="text" id="php_outtime" value="<?=$r[php_outtime]?>" size="38">
- 秒 <font color="#666666">(一般不需要设置)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">后台PHP超时时间设置</td>
- <td height="25" bgcolor="#FFFFFF"><input name="php_adminouttime" type="text" id="php_adminouttime" value="<?=$r[php_adminouttime]?>" size="38">
- 秒 <font color="#666666">(一般不需要设置)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">关闭前台所有动态页面</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="closeqdt" value="1"<?=$r[closeqdt]==1?' checked':''?>>
- 是
- <input type="radio" name="closeqdt" value="0"<?=$r[closeqdt]==0?' checked':''?>>
- 否<font color="#666666">(如果开启,前台所有动态文件都无法使用,但性能和安全性最高)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">关闭动态页面提示内容</td>
- <td height="25" bgcolor="#FFFFFF"> <textarea name="closeqdtmsg" cols="80" rows="5" id="closeqdtmsg"><?=ehtmlspecialchars($r[closeqdtmsg])?></textarea></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">关闭前台模块相关功能</td>
- <td height="25" bgcolor="#FFFFFF"><input name="closemods[]" type="checkbox" id="closemods[]" value="down"<?=strstr($r['closemods'],',down,')?' checked':''?>>
- 下载
- <input name="closemods[]" type="checkbox" id="closemods[]" value="movie"<?=strstr($r['closemods'],',movie,')?' checked':''?>>
- 电影
- <input name="closemods[]" type="checkbox" id="closemods[]" value="shop"<?=strstr($r['closemods'],',shop,')?' checked':''?>>
- 商城
- <input name="closemods[]" type="checkbox" id="closemods[]" value="pay"<?=strstr($r['closemods'],',pay,')?' checked':''?>>
- 在线支付
- <input name="closemods[]" type="checkbox" id="closemods[]" value="rss"<?=strstr($r['closemods'],',rss,')?' checked':''?>>
- RSS
- <input name="closemods[]" type="checkbox" id="closemods[]" value="search"<?=strstr($r['closemods'],',search,')?' checked':''?>>
- 搜索
- <input name="closemods[]" type="checkbox" id="closemods[]" value="sch"<?=strstr($r['closemods'],',sch,')?' checked':''?>>
- 全站搜索
- <input name="closemods[]" type="checkbox" id="closemods[]" value="error"<?=strstr($r['closemods'],',error,')?' checked':''?>>
- 错误报告<br>
- <input name="closemods[]" type="checkbox" id="closemods[]" value="member"<?=strstr($r['closemods'],',member,')?' checked':''?>>
- 会员
- <input name="closemods[]" type="checkbox" id="closemods[]" value="pl"<?=strstr($r['closemods'],',pl,')?' checked':''?>>
- 评论
- <input name="closemods[]" type="checkbox" id="closemods[]" value="print"<?=strstr($r['closemods'],',print,')?' checked':''?>>
- 打印
- <input name="closemods[]" type="checkbox" id="closemods[]" value="mconnect"<?=strstr($r['closemods'],',mconnect,')?' checked':''?>>
- 外部登录
- <input name="closemods[]" type="checkbox" id="closemods[]" value="fieldand"<?=strstr($r['closemods'],',fieldand,')?' checked':''?>>
- 结合项
- <input name="closemods[]" type="checkbox" id="closemods[]" value="gb"<?=strstr($r['closemods'],',gb,')?' checked':''?>>
- 留言板
- <input name="closemods[]" type="checkbox" id="closemods[]" value="fb"<?=strstr($r['closemods'],',fb,')?' checked':''?>>
- 反馈
- <input name="closemods[]" type="checkbox" id="closemods[]" value="mlist"<?=strstr($r['closemods'],',mlist,')?' checked':''?>>
- 会员列表</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">不开启操作的时间点</td>
- <td height="25" bgcolor="#FFFFFF"><table width="500" border="0" cellspacing="1" cellpadding="3">
- <tr>
- <td><input name="timeclose[]" type="checkbox" value="0"<?=strstr($r['timeclose'],',0,')?' checked':''?>>
- 0点</td>
- <td><input name="timeclose[]" type="checkbox" value="1"<?=strstr($r['timeclose'],',1,')?' checked':''?>>
- 1点</td>
- <td><input name="timeclose[]" type="checkbox" value="2"<?=strstr($r['timeclose'],',2,')?' checked':''?>>
- 2点</td>
- <td><input name="timeclose[]" type="checkbox" value="3"<?=strstr($r['timeclose'],',3,')?' checked':''?>>
- 3点</td>
- <td><input name="timeclose[]" type="checkbox" value="4"<?=strstr($r['timeclose'],',4,')?' checked':''?>>
- 4点</td>
- <td><input name="timeclose[]" type="checkbox" value="5"<?=strstr($r['timeclose'],',5,')?' checked':''?>>
- 5点</td>
- </tr>
- <tr>
- <td><input name="timeclose[]" type="checkbox" value="6"<?=strstr($r['timeclose'],',6,')?' checked':''?>>
- 6点</td>
- <td><input name="timeclose[]" type="checkbox" value="7"<?=strstr($r['timeclose'],',7,')?' checked':''?>>
- 7点</td>
- <td><input name="timeclose[]" type="checkbox" value="8"<?=strstr($r['timeclose'],',8,')?' checked':''?>>
- 8点</td>
- <td><input name="timeclose[]" type="checkbox" value="9"<?=strstr($r['timeclose'],',9,')?' checked':''?>>
- 9点</td>
- <td><input name="timeclose[]" type="checkbox" value="10"<?=strstr($r['timeclose'],',10,')?' checked':''?>>
- 10点</td>
- <td><input name="timeclose[]" type="checkbox" value="11"<?=strstr($r['timeclose'],',11,')?' checked':''?>>
- 11点</td>
- </tr>
- <tr>
- <td><input name="timeclose[]" type="checkbox" value="12"<?=strstr($r['timeclose'],',12,')?' checked':''?>>
- 12点</td>
- <td><input name="timeclose[]" type="checkbox" value="13"<?=strstr($r['timeclose'],',13,')?' checked':''?>>
- 13点</td>
- <td><input name="timeclose[]" type="checkbox" value="14"<?=strstr($r['timeclose'],',14,')?' checked':''?>>
- 14点</td>
- <td><input name="timeclose[]" type="checkbox" value="15"<?=strstr($r['timeclose'],',15,')?' checked':''?>>
- 15点</td>
- <td><input name="timeclose[]" type="checkbox" value="16"<?=strstr($r['timeclose'],',16,')?' checked':''?>>
- 16点</td>
- <td><input name="timeclose[]" type="checkbox" value="17"<?=strstr($r['timeclose'],',17,')?' checked':''?>>
- 17点</td>
- </tr>
- <tr>
- <td><input name="timeclose[]" type="checkbox" value="18"<?=strstr($r['timeclose'],',18,')?' checked':''?>>
- 18点</td>
- <td><input name="timeclose[]" type="checkbox" value="19"<?=strstr($r['timeclose'],',19,')?' checked':''?>>
- 19点</td>
- <td><input name="timeclose[]" type="checkbox" value="20"<?=strstr($r['timeclose'],',20,')?' checked':''?>>
- 20点</td>
- <td><input name="timeclose[]" type="checkbox" value="21"<?=strstr($r['timeclose'],',21,')?' checked':''?>>
- 21点</td>
- <td><input name="timeclose[]" type="checkbox" value="22"<?=strstr($r['timeclose'],',22,')?' checked':''?>>
- 22点</td>
- <td><input name="timeclose[]" type="checkbox" value="23"<?=strstr($r['timeclose'],',23,')?' checked':''?>>
- 23点</td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">限定操作时间的操作</td>
- <td height="25" bgcolor="#FFFFFF"><input name="timeclosedo[]" type="checkbox" id="timeclosedo[]" value="reg"<?=strstr($r['timeclosedo'],',reg,')?' checked':''?>>
- 注册会员
- <input name="timeclosedo[]" type="checkbox" id="timeclosedo[]" value="info"<?=strstr($r['timeclosedo'],',info,')?' checked':''?>>
- 投稿
- <input name="timeclosedo[]" type="checkbox" id="timeclosedo[]" value="pl"<?=strstr($r['timeclosedo'],',pl,')?' checked':''?>>
- 评论
- <input name="timeclosedo[]" type="checkbox" id="timeclosedo[]" value="gbook"<?=strstr($r['timeclosedo'],',gbook,')?' checked':''?>>
- 留言板</td>
- </tr>
- <tr>
- <td height="25" valign="top" bgcolor="#FFFFFF">远程保存忽略地址<br> <br> <font color="#666666">(一行为一个地址)</font></td>
- <td height="25" bgcolor="#FFFFFF"><textarea name="notsaveurl" cols="80" rows="8" id="notsaveurl"><?=$r[notsaveurl]?></textarea></td>
- </tr>
- <tr>
- <td height="25" valign="top" bgcolor="#FFFFFF">前台允许提交的来源地址<br> <br>
- <font color="#666666">(一行为一个地址)</font></td>
- <td height="25" bgcolor="#FFFFFF"><textarea name="canposturl" cols="80" rows="8" id="canposturl"><?=$r[canposturl]?></textarea></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">验证码字符组成</td>
- <td height="25" bgcolor="#FFFFFF"><select name="keytog" id="keytog">
- <option value="0"<?=$r[keytog]==0?' selected':''?>>数字</option>
- <option value="1"<?=$r[keytog]==1?' selected':''?>>字母</option>
- <option value="2"<?=$r[keytog]==2?' selected':''?>>数字+字母</option>
- </select></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">后台验证码过期时间</td>
- <td height="25" bgcolor="#FFFFFF"><input name="hkeytime" type="text" id="hkeytime" value="<?=$r[hkeytime]?>" size="38">
- 秒</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">后台验证码加密字符串</td>
- <td height="25" bgcolor="#FFFFFF"><input name="hkeyrnd" type="text" id="hkeyrnd" value="<?=$r[hkeyrnd]?>" size="38">
- <font color="#666666">(10~60个任意字符,最好多种字符组合)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">前台验证码过期时间</td>
- <td height="25" bgcolor="#FFFFFF"><input name="keytime" type="text" id="keytime" value="<?=$r[keytime]?>" size="38">
- 秒 </td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">前台验证码加密字符串</td>
- <td height="25" bgcolor="#FFFFFF"><input name="keyrnd" type="text" id="keyrnd" value="<?=$r[keyrnd]?>" size="38">
- <font color="#666666">(10~60个任意字符,最好多种字符组合)</font></td>
- </tr>
- <tr>
- <td rowspan="3" bgcolor="#FFFFFF">验证码配色</td>
- <td height="25" bgcolor="#FFFFFF">背景颜色:
- <input name="keybgcolor" type="text" id="keybgcolor" value="<?=$r[keybgcolor]?>" class="color">
- </td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">文字颜色:
- <input name="keyfontcolor" type="text" id="keyfontcolor" value="<?=$r[keyfontcolor]?>" class="color">
- </td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">干扰颜色:
- <input name="keydistcolor" type="text" id="keydistcolor" value="<?=$r[keydistcolor]?>" class="color">
- </td>
- </tr>
- </table>
- </div>
- <div class="tab-page" id="login">
- <h2 class="tab"> <font class="tabcolor">用户设置</font> </h2>
- <script type="text/javascript">tb1.addTabPage( document.getElementById( "login" ) );</script>
- <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <tr class="header">
- <td height="25" colspan="2">后台设置</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">后台登陆验证码</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="adminloginkey" value="0"<?=$r[adminloginkey]==0?' checked':''?>>
- 开启
- <input type="radio" name="adminloginkey" value="1"<?=$r[adminloginkey]==1?' checked':''?>>
- 关闭</td>
- </tr>
- <tr>
- <td width="22%" height="25" bgcolor="#FFFFFF">后台登录次数限制</td>
- <td height="25" bgcolor="#FFFFFF"><input name="loginnum" type="text" id="loginnum" value="<?=$r[loginnum]?>" size="38">
- 次</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">重新登录时间间隔</td>
- <td height="25" bgcolor="#FFFFFF"><input name="logintime" type="text" id="logintime" value="<?=$r[logintime]?>" size="38">
- 分钟</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">登录超时限制</td>
- <td height="25" bgcolor="#FFFFFF"><input name="exittime" type="text" id="exittime" value="<?=$r[exittime]?>" size="38">
- 分钟</td>
- </tr>
- </table>
-
- <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <tr class="header">
- <td height="24" colspan="2">前台设置</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF"><p>会员注册</p></td>
- <td height="25" bgcolor="#FFFFFF"><p>
- <input type="radio" name="register_ok" value="0"<?=$r[register_ok]==0?' checked':''?>>
- 开启
- <input type="radio" name="register_ok" value="1"<?=$r[register_ok]==1?' checked':''?>>
- 关闭</p></td>
- </tr>
- <tr>
- <td width="22%" height="25" bgcolor="#FFFFFF">注册会员默认会员组</td>
- <td height="25" bgcolor="#FFFFFF"><select name="defaultgroupid">
- <?=$membergroup?>
- </select></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">注册赠送点数</td>
- <td height="25" bgcolor="#FFFFFF"><input name="reggetfen" type="text" id="reggetfen" value="<?=$r[reggetfen]?>" size="38"></td>
- </tr>
- <tr>
- <td width="22%" height="25" bgcolor="#FFFFFF">注册用户名限制</td>
- <td height="25" bgcolor="#FFFFFF"><input name="min_userlen" type="text" id="min_userlen" value="<?=$r[min_userlen]?>" size="6">
- ~
- <input name="max_userlen" type="text" id="max_userlen" value="<?=$r[max_userlen]?>" size="6">
- 个字节</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">注册密码限制</td>
- <td height="25" bgcolor="#FFFFFF"><input name="min_passlen" type="text" id="min_passlen" value="<?=$r[min_passlen]?>" size="6">
- ~
- <input name="max_passlen" type="text" id="max_passlen" value="<?=$r[max_passlen]?>" size="6">
- 个字节</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">会员邮箱唯一性检查:</td>
- <td height="25" bgcolor="#FFFFFF"><input name="regemailonly" type="radio" value="1"<?=$r[regemailonly]==1?' checked':''?>>
- 开启
- <input name="regemailonly" type="radio" value="0"<?=$r[regemailonly]==0?' checked':''?>>
- 关闭</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">同一IP注册间隔限制:</td>
- <td height="25" bgcolor="#FFFFFF"><input name="regretime" type="text" id="regretime" value="<?=$r[regretime]?>" size="38">
- 个小时</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">用户名保留关键字:</td>
- <td height="25" bgcolor="#FFFFFF"><input name="regclosewords" type="text" id="repnum3" value="<?=$r[regclosewords]?>" size="38">
- <font color="#666666">(禁止包含字符,多个用"|"号隔开,支持多字验证)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">投稿功能</td>
- <td height="25" bgcolor="#FFFFFF"> <input type="radio" name="addnews_ok" value="0"<?=$r[addnews_ok]==0?' checked':''?>>
- 开启
- <input type="radio" name="addnews_ok" value="1"<?=$r[addnews_ok]==1?' checked':''?>>
- 关闭</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">会员空间</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="openspace" value="0"<?=$r[openspace]==0?' checked':''?>>
- 开启
- <input type="radio" name="openspace" value="1"<?=$r[openspace]==1?' checked':''?>>
- 关闭 </td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">会员登陆验证码</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="loginkey_ok" value="1"<?=$r[loginkey_ok]==1?' checked':''?>>
- 开启
- <input type="radio" name="loginkey_ok" value="0"<?=$r[loginkey_ok]==0?' checked':''?>>
- 关闭</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">会员注册验证码</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="regkey_ok" value="1"<?=$r[regkey_ok]==1?' checked':''?>>
- 开启
- <input type="radio" name="regkey_ok" value="0"<?=$r[regkey_ok]==0?' checked':''?>>
- 关闭</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">会员列表查看权限</td>
- <td height="25" bgcolor="#FFFFFF"><select name="memberlistlevel" id="memberlistlevel">
- <option value=0>游客</option>
- <?=$memberlistlevel?>
- </select></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">查看会员资料权限</td>
- <td height="25" bgcolor="#FFFFFF"><select name="showinfolevel" id="showinfolevel">
- <option value=0>游客</option>
- <?=$showinfolevel?>
- </select></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">会员列表每页显示</td>
- <td height="25" bgcolor="#FFFFFF"><input name="member_num" type="text" id="member_num" value="<?=$r[member_num]?>" size="38">
- 个会员</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">会员空间信息每页显示</td>
- <td height="25" bgcolor="#FFFFFF"><input name="space_num" type="text" id="space_num" value="<?=$r[space_num]?>" size="38">
- 个信息</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">可使用会员空间的会员组<br>
- <font color="#666666">(不选为不限)</font></td>
- <td height="25" bgcolor="#FFFFFF"><?=$spacegids?></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">会员充值有效期</td>
- <td height="25" bgcolor="#FFFFFF">当已有有效期,会员组不相同时处理:
- <select name="mhavedatedo" id="mhavedatedo">
- <option value="0"<?=$r['mhavedatedo']==0?' selected':''?>>不让充值</option>
- <option value="1"<?=$r['mhavedatedo']==1?' selected':''?>>覆盖有效期</option>
- <option value="2"<?=$r['mhavedatedo']==2?' selected':''?>>可叠加有效期</option>
- </select></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">会员注册审核方式</td>
- <td height="25" bgcolor="#FFFFFF"><input name="regacttype" type="radio" value="0"<?=$r[regacttype]==0?' checked':''?>>
- 无
- <input name="regacttype" type="radio" value="1"<?=$r[regacttype]==1?' checked':''?>>
- 邮件激活
- <input name="regacttype" type="radio" value="2"<?=$r[regacttype]==2?' checked':''?>>
- 手动审核
- </td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">激活帐号链接有效期</td>
- <td height="25" bgcolor="#FFFFFF"><input name="acttime" type="text" id="acttime" value="<?=$r[acttime]?>" size="38">
- 小时</td>
- </tr>
- <tr>
- <td height="25" valign="top" bgcolor="#FFFFFF">帐号激活邮件内容<br> <br> <font color="#666666">[!--pageurl--]:激活地址
- <br>
- [!--username--]:用户名<br>
- [!--email--]:邮箱地址<br>
- [!--date--]:发送时间<br>
- [!--sitename--]:网站名称<br>
- [!--news.url--]:网站地址</font></td>
- <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="3">
- <tr>
- <td>标题:
- <input name="acttitle" type="text" id="acttitle" value="<?=stripSlashes($r[acttitle])?>" size="38"></td>
- </tr>
- <tr>
- <td><textarea name="acttext" cols="80" rows="12" style="WIDTH: 100%" id="acttext"><?=ehtmlspecialchars(stripSlashes($r[acttext]))?></textarea></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">开启取回密码功能</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="opengetpass" value="1"<?=$r[opengetpass]==1?' checked':''?>>
- 开启
- <input type="radio" name="opengetpass" value="0"<?=$r[opengetpass]==0?' checked':''?>>
- 关闭</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">取回密码链接有效期</td>
- <td height="25" bgcolor="#FFFFFF"><input name="getpasstime" type="text" id="getpasstime" value="<?=$r[getpasstime]?>" size="38">
- 小时</td>
- </tr>
- <tr>
- <td height="25" valign="top" bgcolor="#FFFFFF">取回密码邮件内容<br> <br> <font color="#666666">[!--pageurl--]:取回地址
- <br>
- [!--username--]:用户名<br>
- [!--email--]:邮箱地址<br>
- [!--date--]:发送时间<br>
- [!--sitename--]:网站名称<br>
- [!--news.url--]:网站地址 </font></td>
- <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="3">
- <tr>
- <td>标题:
- <input name="getpasstitle" type="text" id="getpasstitle" value="<?=stripSlashes($r[getpasstitle])?>" size="38"></td>
- </tr>
- <tr>
- <td><textarea name="getpasstext" cols="80" rows="12" style="WIDTH: 100%" id="textarea"><?=ehtmlspecialchars(stripSlashes($r[getpasstext]))?></textarea></td>
- </tr>
- </table></td>
- </tr>
- <tr class="header">
- <td height="25" colspan="2">实名设置</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">需要实名的操作</td>
- <td height="25" bgcolor="#FFFFFF"><input name="openern[]" type="checkbox" id="openern[]" value="info"<?=strstr($r['openern'],',info,')?' checked':''?>>
- 投稿
- <input name="openern[]" type="checkbox" id="openern[]" value="pl"<?=strstr($r['openern'],',pl,')?' checked':''?>>
- 评论
- <input name="openern[]" type="checkbox" id="openern[]" value="gb"<?=strstr($r['openern'],',gb,')?' checked':''?>>
- 留言板
- <input name="openern[]" type="checkbox" id="openern[]" value="msp"<?=strstr($r['openern'],',msp,')?' checked':''?>>
- 会员空间
- <input name="openern[]" type="checkbox" id="openern[]" value="msps"<?=strstr($r['openern'],',msps,')?' checked':''?>>
- <a title="在会员空间留言或反馈">会员空间提交</a>
- <input name="openern[]" type="checkbox" id="openern[]" value="fb"<?=strstr($r['openern'],',fb,')?' checked':''?>>
- 反馈</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF"> </td>
- <td height="25" bgcolor="#FFFFFF"><font color="#666666">(说明:投稿、评论、留言板、反馈操作需要设置会员以上发布权限才有效。)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">实名认证地址</td>
- <td height="25" bgcolor="#FFFFFF"><input name="ernurl" type="text" id="ernurl" value="<?=$r[ernurl]?>" size="38">
- <font color="#666666">(提示没有实名后转向的地址。空为返回上一页。)</font></td>
- </tr>
- </table>
-
- <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <tr class="header">
- <td height="25" colspan="2">访问控制设置</td>
- </tr>
- <tr>
- <td width="22%" height="25" valign="top" bgcolor="#FFFFFF"> <strong>禁止
- IP 访问列表:(前台及后台有效)</strong><br>
- 每个 IP 一行,既可输入完整地址,也可只输入 IP 开头,例如 "192.168."(不含引号) 可匹配 192.168.0.0~192.168.255.255
- 范围内的所有地址,留空为不设置 <br> </td>
- <td height="25" valign="top" bgcolor="#FFFFFF"> <textarea name="closeip" cols="80" rows="8" id="closeip"><?=$r[closeip]?></textarea>
- </td>
- </tr>
- <tr>
- <td height="25" valign="top" bgcolor="#FFFFFF"><strong>允许 IP 访问列表:(前台及后台有效)</strong><br>
- 只有当用户处于本列表中的 IP 地址时才可以访问网站,列表以外的地址访问将视为 IP 被禁止.每个 IP 一行,既可输入完整地址,也可只输入
- IP 开头,例如 "192.168."(不含引号) 可匹配 192.168.0.0~192.168.255.255
- 范围内的所有地址,留空为所有 IP 除明确禁止的以外均可访问<br></td>
- <td height="25" valign="top" bgcolor="#FFFFFF"><textarea name="openip" cols="80" rows="8" id="textarea2"><?=$r[openip]?></textarea></td>
- </tr>
- <tr>
- <td height="25" valign="top" bgcolor="#FFFFFF"><strong>允许后台 IP 访问列表:(后台有效)<br>
- </strong>只有当管理员处于本列表中的 IP 地址时才可以访问后台,列表以外的地址访问将视为 IP 被禁止.每个 IP 一行,既可输入完整地址,也可只输入
- IP 开头,例如 "192.168."(不含引号) 可匹配 192.168.0.0~192.168.255.255
- 范围内的所有地址,留空为所有 IP 除明确禁止的以外均可访问<strong> </strong></td>
- <td height="25" valign="top" bgcolor="#FFFFFF"><textarea name="hopenip" cols="80" rows="8" id="textarea3"><?=$r[hopenip]?></textarea></td>
- </tr>
- <tr>
- <td height="25" colspan="2" class="header">提交控制设置</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">控制动作</td>
- <td height="25" bgcolor="#FFFFFF">
- <input name="doiptype[]" type="checkbox" id="doiptype[]" value="register"<?=strstr($r['doiptype'],',register,')?' checked':''?>>
- 注册
- <input name="doiptype[]" type="checkbox" id="doiptype[]" value="pl"<?=strstr($r['doiptype'],',pl,')?' checked':''?>>
- 评论
- <input name="doiptype[]" type="checkbox" id="doiptype[]" value="postinfo"<?=strstr($r['doiptype'],',postinfo,')?' checked':''?>>
- 投稿
- <input name="doiptype[]" type="checkbox" id="doiptype[]" value="gbook"<?=strstr($r['doiptype'],',gbook,')?' checked':''?>>
- 留言
- <input name="doiptype[]" type="checkbox" id="doiptype[]" value="downinfo"<?=strstr($r['doiptype'],',downinfo,')?' checked':''?>>
- 下载
- <input name="doiptype[]" type="checkbox" id="doiptype[]" value="onlineinfo"<?=strstr($r['doiptype'],',onlineinfo,')?' checked':''?>>
- 在线观看
- <input name="doiptype[]" type="checkbox" id="doiptype[]" value="showinfo"<?=strstr($r['doiptype'],',showinfo,')?' checked':''?>>
- 查看信息</td>
- </tr>
- <tr>
- <td height="25" valign="top" bgcolor="#FFFFFF"><strong>禁止 IP 提交列表:</strong><br>
- 每个 IP 一行,既可输入完整地址,也可只输入 IP 开头,例如 "192.168."(不含引号) 可匹配 192.168.0.0~192.168.255.255
- 范围内的所有地址,留空为不设置</td>
- <td height="25" valign="top" bgcolor="#FFFFFF"><textarea name="closedoip" cols="80" rows="8" id="closedoip"><?=$r[closedoip]?></textarea></td>
- </tr>
- <tr>
- <td height="25" valign="top" bgcolor="#FFFFFF"><strong>允许 IP 提交列表:</strong><br>
- 只有当用户处于本列表中的 IP 地址时才可以提交数据,列表以外的地址提交将视为 IP 被禁止.每个 IP 一行,既可输入完整地址,也可只输入
- IP 开头,例如 "192.168."(不含引号) 可匹配 192.168.0.0~192.168.255.255
- 范围内的所有地址,留空为所有 IP 除明确禁止的以外均可访问</td>
- <td height="25" valign="top" bgcolor="#FFFFFF"><textarea name="opendoip" cols="80" rows="8" id="opendoip"><?=$r[opendoip]?></textarea></td>
- </tr>
- </table>
- </div>
-
- <div class="tab-page" id="file">
- <h2 class="tab"> <font class="tabcolor">文件设置</font> </h2>
- <script type="text/javascript">tb1.addTabPage( document.getElementById( "file" ) );</script>
- <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <tr class="header">
- <td height="25" colspan="2">文件设置</td>
- </tr>
- <tr>
- <td rowspan="2" valign="top" bgcolor="#FFFFFF">附件存放目录</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="fpath" value="0"<?=$r[fpath]==0?' checked':''?>>
- 栏目目录
- <input type="radio" name="fpath" value="1"<?=$r[fpath]==1?' checked':''?>>
- /d/file/p目录
- <input type="radio" name="fpath" value="2"<?=$r[fpath]==2?' checked':''?>>
- /d/file目录</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF"><input name="filepath" type="text" id="filepath" value="<?=$r[filepath]?>" size="38">
- <select name="select6" onchange="document.form1.filepath.value=this.value">
- <option value="Y-m-d">选择</option>
- <option value="Y-m-d">2005-01-27</option>
- <option value="Y/m-d">2005/01-27</option>
- <option value="Y/m/d">2005/01/27</option>
- <option value="Ymd">20050127</option>
- <option value="">不设置目录</option>
- </select> <font color="#666666">(如Y-m-d,Y/m-d,Y/m/d,Ymd等形式)</font></td>
- </tr>
- <tr>
- <td width="22%" height="25" bgcolor="#FFFFFF">后台上传附件大小</td>
- <td height="25" bgcolor="#FFFFFF"><input name="filesize" type="text" id="filesize" value="<?=$r[filesize]?>" size="38">
- KB</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">后台上传文件扩展名</td>
- <td height="25" bgcolor="#FFFFFF"><input name="filetype" type="text" id="filetype" value="<?=$filetype?>" size="38">
- <font color="#666666">(多个请用“|”格开,如:.gif|.jpg)</font></td>
- </tr>
- <tr>
- <td rowspan="2" valign="top" bgcolor="#FFFFFF">前台投稿附件设置</td>
- <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="1" cellpadding="3">
- <tr>
- <td><input name="qaddtran" type="checkbox" value="1"<?=$r[qaddtran]==1?' checked':''?>>
- 开启上传图片,最大图片:
- <input name="qaddtransize" type="text" id="qaddtransize" value="<?=$r[qaddtransize]?>" size="6">
- KB </td>
- </tr>
- <tr>
- <td>图片扩展名:
- <input name="qaddtranimgtype" type="text" value="<?=$qaddimgtype?>" size="30">
- <font color="#666666"> (多个用"|"格开) </font></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="1" cellpadding="3">
- <tr>
- <td><input name="qaddtranfile" type="checkbox" value="1"<?=$r[qaddtranfile]==1?' checked':''?>>
- 开启上传附件,最大附件:
- <input name="qaddtranfilesize" type="text" value="<?=$r[qaddtranfilesize]?>" size="6">
- KB </td>
- </tr>
- <tr>
- <td>附件扩展名:
- <input name="qaddtranfiletype" type="text" value="<?=$qaddfiletype?>" size="30">
- <font color="#666666">(多个用"|"格开)</font></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td height="25" valign="top" bgcolor="#FFFFFF">前台反馈附件设置</td>
- <td height="25" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="1" cellpadding="3">
- <tr>
- <td><input name="feedbacktfile" type="checkbox" id="feedbacktfile" value="1"<?=$r[feedbacktfile]==1?' checked':''?>>
- 开启上传附件,最大附件:
- <input name="feedbackfilesize" type="text" value="<?=$r[feedbackfilesize]?>" size="6">
- KB </td>
- </tr>
- <tr>
- <td>附件扩展名:
- <input name="feedbackfiletype" type="text" value="<?=$feedbackfiletype?>" size="30">
- <font color="#666666">(多个用"|"格开)</font></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td rowspan="2" valign="top" bgcolor="#FFFFFF">会员表单附件设置</td>
- <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="3">
- <tr>
- <td><input name="openmembertranimg" type="checkbox" id="openmembertranimg" value="1"<?=$r[openmembertranimg]==1?' checked':''?>>
- 开启上传图片,最大图片:
- <input name="memberimgsize" type="text" id="memberimgsize" value="<?=$r[memberimgsize]?>" size="6">
- KB </td>
- </tr>
- <tr>
- <td>图片扩展名:
- <input name="memberimgtype" type="text" id="memberimgtype" value="<?=$memberimgtype?>" size="30">
- <font color="#666666"> (多个用"|"格开) </font></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="1" cellpadding="3">
- <tr>
- <td><input name="openmembertranfile" type="checkbox" id="openmembertranfile" value="1"<?=$r[openmembertranfile]==1?' checked':''?>>
- 开启上传附件,最大附件:
- <input name="memberfilesize" type="text" id="memberfilesize" value="<?=$r[memberfilesize]?>" size="6">
- KB </td>
- </tr>
- <tr>
- <td>附件扩展名:
- <input name="memberfiletype" type="text" id="memberfiletype" value="<?=$memberfiletype?>" size="30">
- <font color="#666666">(多个用"|"格开)</font></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">会员附件字段支持填写</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="modmemberedittran" value="1"<?=$r[modmemberedittran]==1?' checked':''?>>是
- <input type="radio" name="modmemberedittran" value="0"<?=$r[modmemberedittran]==0?' checked':''?>>否 </td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">投稿附件字段支持填写</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="modinfoedittran" value="1"<?=$r[modinfoedittran]==1?' checked':''?>>是
- <input type="radio" name="modinfoedittran" value="0"<?=$r[modinfoedittran]==0?' checked':''?>>否 </td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">文件生成权限</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="filechmod" value="0"<?=$r[filechmod]==0?' checked':''?>>
- 0777
- <input type="radio" name="filechmod" value="1"<?=$r[filechmod]==1?' checked':''?>>
- 不限制</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">广告JS文件前缀</td>
- <td height="25" bgcolor="#FFFFFF"><input name="adfile" type="text" id="adfile" value="<?=$r[adfile]?>" size="38">
- <iframe name="checkftpiframe" style="display: none" src="blank.php"></iframe></td>
- </tr>
- <tbody id="setfileserver" style="display:none">
- </tbody>
- </table>
- <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <tr class="header">
- <td height="25" colspan="2">备份设置</td>
- </tr>
- <tr>
- <td width="22%" height="25" bgcolor="#FFFFFF">数据备份存放目录</td>
- <td height="25" bgcolor="#FFFFFF">admin/ebak/
- <input name="bakdbpath" type="text" id="bakdbpath" value="<?=$r[bakdbpath]?>"></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">压缩包存放目录</td>
- <td height="25" bgcolor="#FFFFFF">admin/ebak/
- <input name="bakdbzip" type="text" id="bakdbzip" value="<?=$r[bakdbzip]?>"></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">备份只选择当前数据库</td>
- <td height="25" bgcolor="#FFFFFF"><input name="ebakthisdb" type="checkbox" id="ebakthisdb" value="1"<?=$r[ebakthisdb]==1?' checked':''?>>
- 是</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">空间不支持数据库列表</td>
- <td height="25" bgcolor="#FFFFFF"><input name="ebakcanlistdb" type="checkbox" id="ebakcanlistdb" value="1"<?=$r[ebakcanlistdb]==1?' checked':''?>>
- 是<font color="#666666">(如果空间不允许列出数据库,请打勾)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">支持MYSQL查询方式</td>
- <td height="25" bgcolor="#FFFFFF"><input name="limittype" type="checkbox" id="limittype" value="1"<?=$r[limittype]==1?' checked':''?>>
- 支持<font color="#666666">(即支持limit 0,-1方式,一般不用选择)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">导出数据处理函数</td>
- <td height="25" bgcolor="#FFFFFF"><select name="bakescapetype" id="bakescapetype">
- <option value="1"<?=$r['bakescapetype']==1?' selected':''?>>addslashes()</option>
- <option value="2"<?=$r['bakescapetype']==2?' selected':''?>>mysql_real_escape_string()</option>
- </select>
- <font color="#666666">(一般按默认即可)</font></td>
- </tr>
- </table>
- </div>
-
- <div class="tab-page" id="dojs">
- <h2 class="tab"> <font class="tabcolor">JS设置</font> </h2>
- <script type="text/javascript">tb1.addTabPage( document.getElementById( "dojs" ) );</script>
- <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <tr class="header">
- <td height="25" colspan="2">信息排行设置(JS)</td>
- </tr>
- <tr>
- <td width="22%" height="25" bgcolor="#FFFFFF">热门信息显示</td>
- <td height="25" bgcolor="#FFFFFF"><input name="hotnum" type="text" id="hotnum" value="<?=$r[hotnum]?>" size="38">
- 条信息</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">最新信息显示</td>
- <td height="25" bgcolor="#FFFFFF"><input name="newnum" type="text" id="newnum" value="<?=$r[newnum]?>" size="38">
- 条信息</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">推荐信息显示</td>
- <td height="25" bgcolor="#FFFFFF"><input name="goodnum" type="text" id="goodnum" value="<?=$r[goodnum]?>" size="38">
- 条信息</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">热门评论显示</td>
- <td height="25" bgcolor="#FFFFFF"><input name="hotplnum" type="text" id="hotplnum" value="<?=$r[hotplnum]?>" size="38">
- 条信息</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">头条信息显示</td>
- <td height="25" bgcolor="#FFFFFF"><input name="firstnum" type="text" id="firstnum" value="<?=$r[firstnum]?>" size="38">
- 条信息</td>
- </tr>
- </table>
- </div>
-
- <div class="tab-page" id="rehtml">
- <h2 class="tab"> <font class="tabcolor">分组生成</font> </h2>
- <script type="text/javascript">tb1.addTabPage( document.getElementById( "rehtml" ) );</script>
- <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <tr class="header">
- <td height="25" colspan="2">分组生成设置(依服务器配置设置大小)</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">每组生成间隔</td>
- <td height="25" bgcolor="#FFFFFF"><input name="realltime" type="text" id="realltime" value="<?=$r[realltime]?>" size="38">
- 秒<font color="#666666">(0为连续生成)</font></td>
- </tr>
- <tr>
- <td width="22%" height="25" bgcolor="#FFFFFF">栏目生成每组</td>
- <td height="25" bgcolor="#FFFFFF"><input name="relistnum" type="text" id="relistnum" value="<?=$r[relistnum]?>" size="38">
- 个</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">信息生成每组</td>
- <td height="25" bgcolor="#FFFFFF"><input name="renewsnum" type="text" id="renewsnum" value="<?=$r[renewsnum]?>" size="38">
- 个</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">更新相关链接每组</td>
- <td height="25" bgcolor="#FFFFFF"><input name="infolinknum" type="text" id="infolinknum" value="<?=$r[infolinknum]?>" size="38">
- 个</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">生成自定义JS每组</td>
- <td height="25" bgcolor="#FFFFFF"><input name="reuserjsnum" type="text" id="reuserjsnum" value="<?=$r[reuserjsnum]?>" size="38">
- 个</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">生成自定义列表每组</td>
- <td height="25" bgcolor="#FFFFFF"><input name="reuserlistnum" type="text" id="reuserlistnum" value="<?=$r[reuserlistnum]?>" size="38">
- 个</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">自定义页面每组</td>
- <td height="25" bgcolor="#FFFFFF"> <input name="reuserpagenum" type="text" id="reuserpagenum" value="<?=$r[reuserpagenum]?>" size="38">
- 个</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">投票JS每组</td>
- <td height="25" bgcolor="#FFFFFF"><input name="revotejsnum" type="text" id="revotejsnum" value="<?=$r[revotejsnum]?>" size="38">
- 个</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">广告JS每组</td>
- <td height="25" bgcolor="#FFFFFF"><input name="readjsnum" type="text" id="readjsnum" value="<?=$r[readjsnum]?>" size="38">
- 个</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">替换字段值每组</td>
- <td height="25" bgcolor="#FFFFFF"><input name="dorepnum" type="text" id="dorepnum" value="<?=$r[dorepnum]?>" size="38">
- 个</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">替换地址权限每组</td>
- <td height="25" bgcolor="#FFFFFF"><input name="dorepdlevelnum" type="text" id="dorepdlevelnum" value="<?=$r[dorepdlevelnum]?>" size="38">
- 个</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">批量删除信息每组</td>
- <td height="25" bgcolor="#FFFFFF"><input name="delnewsnum" type="text" id="delnewsnum" value="<?=$r[delnewsnum]?>" size="38">
- 个</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">批量归档信息每组</td>
- <td height="25" bgcolor="#FFFFFF"><input name="docnewsnum" type="text" id="docnewsnum" value="<?=$r[docnewsnum]?>" size="38">
- 个</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">导入栏目模板每组</td>
- <td height="25" bgcolor="#FFFFFF"><input name="loadtempnum" type="text" id="loadtempnum" value="<?=$r[loadtempnum]?>" size="38">
- 个</td>
- </tr>
- </table>
- </div>
- <div class="tab-page" id="setsearch">
- <h2 class="tab"> <font class="tabcolor">搜索设置</font> </h2>
- <script type="text/javascript">tb1.addTabPage( document.getElementById( "setsearch" ) );</script>
- <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <tr class="header">
- <td height="25" colspan="2">搜索设置</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">搜索用户组</td>
- <td height="25" bgcolor="#FFFFFF"><select name="searchgroupid" id="searchgroupid">
- <option value=0>游客</option>
- <?=$searchmembergroup?>
- </select></td>
- </tr>
- <tr>
- <td width="22%" height="25" bgcolor="#FFFFFF">搜索关键字</td>
- <td height="25" bgcolor="#FFFFFF">在
- <input name="min_keyboard" type="text" id="min_keyboard" value="<?=$r[min_keyboard]?>" size="6">
- 个字符与
- <input name="max_keyboard" type="text" id="max_keyboard" value="<?=$r[max_keyboard]?>" size="6">
- 个字符之间</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">搜索时间间隔</td>
- <td height="25" bgcolor="#FFFFFF">在
- <input name="searchtime" type="text" id="searchtime" value="<?=$r[searchtime]?>" size="6">
- 秒</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">页面显示</td>
- <td height="25" bgcolor="#FFFFFF">每页
- <input name="search_num" type="text" id="search_num" value="<?=$r[search_num]?>" size="6">
- 显示条记录,
- <input name="search_pagenum" type="text" id="search_pagenum" value="<?=$r[search_pagenum]?>" size="6">
- 个分页链接<font color="#666666">(为0的话,系统默认25条,12个链接)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">支持公共模板变量</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="searchtempvar" value="0"<?=$r['searchtempvar']==0?' checked':''?>>
- 不支持
- <input type="radio" name="searchtempvar" value="1"<?=$r['searchtempvar']==1?' checked':''?>>
- 支持<font color="#666666">(搜索模板及动态页面)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">高级搜索页扩展名</td>
- <td height="25" bgcolor="#FFFFFF"><input name="searchtype" type="text" id="searchtype" value="<?=$r[searchtype]?>" size="10">
- <font color="#666666">
- <select name="select2" onchange="document.form1.searchtype.value=this.value">
- <option value=".html">扩展名</option>
- <option value=".html">.html</option>
- <option value=".htm">.htm</option>
- <option value=".php">.php</option>
- <option value=".shtml">.shtml</option>
- </select>
- (如:.html,.htm,.xml,.php)</font></td>
- </tr>
- </table>
- </div>
-
- <div class="tab-page" id="donews">
- <h2 class="tab"> <font class="tabcolor">信息设置</font> </h2>
- <script type="text/javascript">tb1.addTabPage( document.getElementById( "donews" ) );</script>
- <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <tr class="header">
- <td height="25" colspan="2">信息设置</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">后台管理信息</td>
- <td height="25" bgcolor="#FFFFFF">每页显示
- <input name="hlistinfonum" type="text" id="hlistinfonum" value="<?=$r[hlistinfonum]?>">
- 个信息</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">前台结合项列表</td>
- <td height="25" bgcolor="#FFFFFF">每页显示
- <input name="qlistinfonum" type="text" id="qlistinfonum" value="<?=$r[qlistinfonum]?>">
- 个信息</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">后台信息默认显示时间范围</td>
- <td height="25" bgcolor="#FFFFFF"><select name="infolday" id="infolday">
- <option value="0"<?=$r['infolday']==0?' selected':''?>>全部显示</option>
- <option value="86400"<?=$r['infolday']==86400?' selected':''?>>1
- 天</option>
- <option value="172800"<?=$r['infolday']==172800?' selected':''?>>2
- 天</option>
- <option value="604800"<?=$r['infolday']==604800?' selected':''?>>一周</option>
- <option value="2592000"<?=$r['infolday']==2592000?' selected':''?>>1
- 个月</option>
- <option value="7948800"<?=$r['infolday']==7948800?' selected':''?>>3
- 个月</option>
- <option value="15897600"<?=$r['infolday']==15897600?' selected':''?>>6
- 个月</option>
- <option value="31536000"<?=$r['infolday']==31536000?' selected':''?>>1
- 年</option>
- </select></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">后台附件默认显示时间范围</td>
- <td height="25" bgcolor="#FFFFFF"><select name="filelday" id="filelday">
- <option value="0"<?=$r['filelday']==0?' selected':''?>>全部显示</option>
- <option value="86400"<?=$r['filelday']==86400?' selected':''?>>1
- 天</option>
- <option value="172800"<?=$r['filelday']==172800?' selected':''?>>2
- 天</option>
- <option value="604800"<?=$r['filelday']==604800?' selected':''?>>一周</option>
- <option value="2592000"<?=$r['filelday']==2592000?' selected':''?>>1
- 个月</option>
- <option value="7948800"<?=$r['filelday']==7948800?' selected':''?>>3
- 个月</option>
- <option value="15897600"<?=$r['filelday']==15897600?' selected':''?>>6
- 个月</option>
- <option value="31536000"<?=$r['filelday']==31536000?' selected':''?>>1
- 年</option>
- </select></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">信息置顶设置</td>
- <td height="25" bgcolor="#FFFFFF"><select name="settop" id="settop">
- <option value="0"<?=$r[settop]==0?' selected':''?>>不使用置顶</option>
- <option value="1"<?=$r[settop]==1?' selected':''?>>栏目列表置顶</option>
- <option value="2"<?=$r[settop]==2?' selected':''?>>标签调用置顶</option>
- <option value="3"<?=$r[settop]==3?' selected':''?>>JS调用置顶</option>
- <option value="4"<?=$r[settop]==4?' selected':''?>>栏目/标签/JS置顶</option>
- <option value="5"<?=$r[settop]==5?' selected':''?>>栏目/标签置顶</option>
- <option value="6"<?=$r[settop]==6?' selected':''?>>栏目/JS置顶</option>
- <option value="7"<?=$r[settop]==7?' selected':''?>>标签/JS置顶</option>
- </select></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF"> </td>
- <td height="25" bgcolor="#FFFFFF"><input name="fieldandtop" type="checkbox" id="fieldandtop" value="1"<?=$r[fieldandtop]==1?' checked':''?>>
- 结合项支持置顶</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">结合项不启用的表</td>
- <td height="25" bgcolor="#FFFFFF"><input name="fieldandclosetb" type="text" id="fieldandclosetb" value="<?=substr($r[fieldandclosetb],1,strlen($r[fieldandclosetb])-2)?>" size="38">
- <font color="#666666">(多个表名用半角逗号隔开,如:news,download)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">动态列表支持标签</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="dtcanbq" value="0"<?=$r[dtcanbq]==0?' checked':''?>>
- 不支持
- <input type="radio" name="dtcanbq" value="1"<?=$r[dtcanbq]==1?' checked':''?>>
- 支持</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">动态列表变量缓存</td>
- <td height="25" bgcolor="#FFFFFF"><input name="dtcachetime" type="text" id="dtcachetime" value="<?=$r[dtcachetime]?>" size="38">
- 分钟</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">动态内容页支持标签</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="dtncanbq" value="0"<?=$r[dtncanbq]==0?' checked':''?>>
- 不支持
- <input type="radio" name="dtncanbq" value="1"<?=$r[dtncanbq]==1?' checked':''?>>
- 支持</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">动态内容页变量缓存</td>
- <td height="25" bgcolor="#FFFFFF"><input name="dtncachetime" type="text" id="dtncachetime" value="<?=$r[dtncachetime]?>" size="38">
- 分钟</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">新会员投稿限制</td>
- <td height="25" bgcolor="#FFFFFF">最新注册会员必须过
- <input name="newaddinfotime" type="text" id="newaddinfotime" value="<?=$r[newaddinfotime]?>" size="6">
- 分钟才能投稿 <font color="#666666">(0为不限制)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">投稿数量限制</td>
- <td height="25" bgcolor="#FFFFFF">同一个IP在
- <input name="ipaddinfotime" type="text" id="ipaddinfotime" value="<?=$r[ipaddinfotime]?>" size="6">
- 个小时内最大只允许增加
- <input name="ipaddinfonum" type="text" id="ipaddinfonum" value="<?=$r[ipaddinfonum]?>" size="6">
- 个信息<font color="#666666">(0为不限,且模型要增加infoip字段)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">重复投稿时间限制</td>
- <td height="25" bgcolor="#FFFFFF"><input name="readdinfotime" type="text" id="readdinfotime" value="<?=$r[readdinfotime]?>" size="38">
- 秒</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">投稿信息修改时间限制:</td>
- <td height="25" bgcolor="#FFFFFF"><input name="qeditinfotime" type="text" id="qeditinfotime" value="<?=$r[qeditinfotime]?>" size="38">
- 分钟<font color="#666666">(0为不限制)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">投稿扣点数方式</td>
- <td height="25" bgcolor="#FFFFFF"><select name="qinfoaddfen" id="qinfoaddfen">
- <option value="0"<?=$r['qinfoaddfen']==0?' selected':''?>>发布信息时扣除点数</option>
- <option value="1"<?=$r['qinfoaddfen']==1?' selected':''?>>信息审核通过时扣除点数</option>
- </select> </td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">投稿管理信息显示方式:</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="qlistinfomod" value="0"<?=$r[qlistinfomod]==0?' checked':''?>>
- 按表显示
- <input type="radio" name="qlistinfomod" value="1"<?=$r[qlistinfomod]==1?' checked':''?>>
- 按模型显示 <font color="#666666">(按模型显示影响效率)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">栏目导航分隔字符</td>
- <td height="25" bgcolor="#FFFFFF"><input name="classnavfh" type="text" id="navfh3" value="<?=ehtmlspecialchars($r[classnavfh])?>" size="38"></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">栏目导航显示个数</td>
- <td height="25" bgcolor="#FFFFFF"><input name="classnavline" type="text" id="classnavline" value="<?=$r[classnavline]?>" size="38">
- <font color="#666666">(0为不限)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">所在位置导航分隔字符</td>
- <td height="25" bgcolor="#FFFFFF"><input name="navfh" type="text" id="navfh" value="<?=$r[navfh]?>" size="38">
- <font color="#666666">(如:“首页 > 新闻”中的“>”)</font></td>
- </tr>
- <tr>
- <td width="22%" height="25" bgcolor="#FFFFFF">信息简介截取</td>
- <td height="25" bgcolor="#FFFFFF"> <input name="smalltextlen" type="text" id="smalltextlen" value="<?=$r[smalltextlen]?>" size="38">
- 个字<font color="#666666"> (简介为空时,截取信息内容)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">相关链接依据</td>
- <td height="25" bgcolor="#FFFFFF"><select name="newslink" id="newslink">
- <option value="0"<?=$r['newslink']==0?' selected':''?>>标题包含关键字</option>
- <option value="1"<?=$r['newslink']==1?' selected':''?>>关键字相同</option>
- <option value="2"<?=$r['newslink']==2?' selected':''?>>标题包含与关键字相同</option>
- </select> </td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">增加信息随机点击数范围</td>
- <td height="25" bgcolor="#FFFFFF"><input name="onclickrnd" type="text" id="onclickrnd" value="<?=$r[onclickrnd]?>" size="38">
- <font color="#666666">(格式:“最小数,最大数”,空表示不使用。例子:20,100)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">开启信息内容过滤字符替换</td>
- <td height="25" bgcolor="#FFFFFF"> <input type="radio" name="dorepword" value="0"<?=$r['dorepword']==0?' checked':''?>>
- 生成页面时替换
- <input type="radio" name="dorepword" value="1"<?=$r['dorepword']==1?' checked':''?>>
- 增加信息时替换
- <input type="radio" name="dorepword" value="2"<?=$r['dorepword']==2?' checked':''?>>
- 关闭替换<font color="#666666"> (关闭替换效率高)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">开启信息内容关键字替换</td>
- <td height="25" bgcolor="#FFFFFF"> <input type="radio" name="dorepkey" value="0"<?=$r['dorepkey']==0?' checked':''?>>
- 生成页面时替换
- <input type="radio" name="dorepkey" value="1"<?=$r['dorepkey']==1?' checked':''?>>
- 增加信息时替换
- <input type="radio" name="dorepkey" value="2"<?=$r['dorepkey']==2?' checked':''?>>
- 关闭替换<font color="#666666"> (关闭替换效率高)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">信息内容关键字重复替换</td>
- <td height="25" bgcolor="#FFFFFF"><input name="repkeynum" type="text" id="repkeynum" value="<?=$r[repkeynum]?>" size="38">
- 次<font color="#666666"> (0为不限,效率高;限制替换次数会影响生成效率。)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">反馈验证码</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="fbkey_ok" value="1"<?=$r[fbkey_ok]==1?' checked':''?>>
- 开启
- <input type="radio" name="fbkey_ok" value="0"<?=$r[fbkey_ok]==0?' checked':''?>>
- 关闭 </td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">错误报告验证码</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="reportkey" value="1"<?=$r[reportkey]==1?' checked':''?>>
- 开启
- <input type="radio" name="reportkey" value="0"<?=$r[reportkey]==0?' checked':''?>>
- 关闭 </td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">留言验证码</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="gbkey_ok" value="1"<?=$r[gbkey_ok]==1?' checked':''?>>
- 开启
- <input type="radio" name="gbkey_ok" value="0"<?=$r[gbkey_ok]==0?' checked':''?>>
- 关闭 </td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">重复留言时间限制</td>
- <td height="25" bgcolor="#FFFFFF"><input name="regbooktime" type="text" id="regbooktime" value="<?=$r[regbooktime]?>" size="38">
- 秒</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">重复投票时间限制</td>
- <td height="25" bgcolor="#FFFFFF"><input name="revotetime" type="text" id="revotetime" value="<?=$r[revotetime]?>" size="38">
- 秒</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">留言每页显示</td>
- <td height="25" bgcolor="#FFFFFF"><input name="gb_num" type="text" id="gb_num" value="<?=$r[gb_num]?>" size="38">
- 个留言</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">模板备份记录数</td>
- <td height="25" bgcolor="#FFFFFF"><input name="baktempnum" type="text" id="baktempnum" value="<?=$r[baktempnum]?>" size="38">
- <font color="#666666">(0为不备份)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">关闭动态使用的列表模板ID</td>
- <td height="25" bgcolor="#FFFFFF"><input name="closelisttemp" type="text" id="closelisttemp" value="<?=$r[closelisttemp]?>" size="38">
- <input type="button" name="Submit6222" value="管理列表模板" onclick="window.open('template/ListListtemp.php?gid=<?=$thegid?><?=$ecms_hashur['ehref']?>');">
- <font color="#666666">(多个ID用半角逗号“,”隔开)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">分页启用totalnum变量</td>
- <td height="25" bgcolor="#FFFFFF"><input name="usetotalnum" type="checkbox" id="usetotalnum" value="1"<?=$r['usetotalnum']==1?' checked':''?>>
- 是</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">模板支持程序代码</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="candocode" value="1"<?=$r[candocode]==1?' checked':''?>>
- 开启
- <input type="radio" name="candocode" value="0"<?=$r[candocode]==0?' checked':''?>>
- 关闭</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">模板支持程序代码标签</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="candocodetag" value="1"<?=$r['candocodetag']==1?' checked':''?>>
- 开启
- <input type="radio" name="candocodetag" value="0"<?=$r['candocodetag']==0?' checked':''?>>
- 关闭</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">防采集</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="opennotcj" value="1"<?=$r[opennotcj]==1?' checked':''?>>
- 开启
- <input type="radio" name="opennotcj" value="0"<?=$r[opennotcj]==0?' checked':''?>>
- 关闭</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">内容防复制</td>
- <td height="25" bgcolor="#FFFFFF"> <input type="radio" name="opencopytext" value="1"<?=$r[opencopytext]==1?' checked':''?>>
- 开启
- <input type="radio" name="opencopytext" value="0"<?=$r[opencopytext]==0?' checked':''?>>
- 关闭<font color="#666666"> (内容随机字符)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">列表分页函数(下拉)</td>
- <td height="25" bgcolor="#FFFFFF"><input name="listpagefun" type="text" id="listpagefun" value="<?=$r[listpagefun]?>" size="38">
- <font color="#666666"> (可加到e/class/userfun.php文件里)</font></td>
- </tr>
- <tr>
- <td rowspan="2" valign="top" bgcolor="#FFFFFF">列表分页函数(列表)</td>
- <td height="25" bgcolor="#FFFFFF"><input name="listpagelistfun" type="text" id="listpagelistfun" value="<?=$r[listpagelistfun]?>" size="38">
- <font color="#666666">(可加到e/class/userfun.php文件里)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">每页显示
- <input name="listpagelistnum" type="text" id="listpagelistnum" value="<?=$r[listpagelistnum]?>" size="6">
- 个页码</td>
- </tr>
- <tr>
- <td height="25" rowspan="2" bgcolor="#FFFFFF">内容分页函数</td>
- <td height="12" bgcolor="#FFFFFF"><input name="textpagefun" type="text" id="textpagefun" value="<?=$r[textpagefun]?>" size="38">
- <font color="#666666">(可加到e/class/userfun.php文件里)</font></td>
- </tr>
- <tr>
- <td height="12" bgcolor="#FFFFFF">每页显示
- <input name="textpagelistnum" type="text" id="textpagelistnum" value="<?=$r[textpagelistnum]?>" size="6">
- 个页码</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">RSS/XML设置</td>
- <td height="25" bgcolor="#FFFFFF">显示最新
- <input name="rssnum" type="text" id="rssnum" value="<?=$r[rssnum]?>" size="6">
- 条记录,简介截取
- <input name="rsssub" type="text" id="rsssub" value="<?=$r[rsssub]?>" size="6">
- 个字</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">点击统计设置</td>
- <td height="25" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td height="25">类型:
- <select name="onclicktype" id="onclicktype">
- <option value="0"<?=$r[onclicktype]==0?' selected':''?>>实时统计</option>
- <option value="1"<?=$r[onclicktype]==1?' selected':''?>>文本缓存</option>
- <option value="2"<?=$r[onclicktype]==2?' selected':''?>>不统计</option>
- </select></td>
- </tr>
- <tr>
- <td height="25">文本缓存最大文件:
- <input name="onclickfilesize" type="text" id="onclickfilesize" value="<?=$r[onclickfilesize]?>" size="38">
- KB</td>
- </tr>
- <tr>
- <td height="25">文本缓存最长时间:
- <input name="onclickfiletime" type="text" id="onclickfiletime" value="<?=$r[onclickfiletime]?>" size="38">
- 分钟</td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">信息外部链接设置</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="opentitleurl" value="0"<?=$r[opentitleurl]==0?' checked':''?>>
- 统计点击
- <input type="radio" name="opentitleurl" value="1"<?=$r[opentitleurl]==1?' checked':''?>>
- 显示原链接</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">选择终极栏目的背景颜色</td>
- <td height="25" bgcolor="#FFFFFF"><input name="chclasscolor" type="text" id="chclasscolor" value="<?=$r[chclasscolor]?>" size="38" class="color"></td>
- </tr>
- </table>
- </div>
-
- <div class="tab-page" id="doftp">
- <h2 class="tab"> <font class="tabcolor">FTP/EMAIL</font> </h2>
- <script type="text/javascript">tb1.addTabPage( document.getElementById( "doftp" ) );</script>
- <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <tr class="header">
- <td height="25" colspan="2">发送邮件设置</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">邮件发送模式</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="sendmailtype" value="0"<?=$r[sendmailtype]==0?' checked':''?>>
- mail 函数发送
- <input type="radio" name="sendmailtype" value="1"<?=$r[sendmailtype]==1?' checked':''?>>
- SMTP 模块发送</td>
- </tr>
- <tr>
- <td height="25" colspan="2" bgcolor="#FFFFFF"><strong>SMTP 模块发送设置</strong></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">SMTP服务器</td>
- <td height="25" bgcolor="#FFFFFF"><input name="smtphost" type="text" id="smtphost" value="<?=$r[smtphost]?>" size="38"></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">SMTP端口</td>
- <td height="25" bgcolor="#FFFFFF"><input name="smtpport" type="text" id="smtpport" value="<?=$r[smtpport]?>" size="38"></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">发信人地址</td>
- <td height="25" bgcolor="#FFFFFF"><input name="fromemail" type="text" id="fromemail" value="<?=$r[fromemail]?>" size="38"></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">发信人呢称</td>
- <td height="25" bgcolor="#FFFFFF"><input name="emailname" type="text" id="emailname" value="<?=$r[emailname]?>" size="38"></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">是否需要登录验证</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="loginemail" value="1"<?=$r[loginemail]==1?' checked':''?>>
- 是
- <input type="radio" name="loginemail" value="0"<?=$r[loginemail]==0?' checked':''?>>
- 否</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">邮箱登录用户名</td>
- <td height="25" bgcolor="#FFFFFF"><input name="emailusername" type="text" id="emailusername" value="<?=$r[emailusername]?>" size="38"></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">邮箱登录密码</td>
- <td height="25" bgcolor="#FFFFFF"><input name="emailpassword" type="password" id="emailpassword" value="<?=$r[emailpassword]?>" size="38"></td>
- </tr>
- <tr class="header">
- <td height="25" colspan="2">FTP设置(远程发布 / PHP运行于安全模式等情况下需设置以下选项)</td>
- </tr>
- <tr>
- <td width="22%" height="25" bgcolor="#FFFFFF">PHP运行于安全模式</td>
- <td height="25" bgcolor="#FFFFFF"><input name="phpmode" type="checkbox" id="phpmode" value="1"<?=$r[phpmode]==1?' checked':''?>>
- 是</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">安装形式</td>
- <td height="25" bgcolor="#FFFFFF"><select name="install" id="select">
- <option value="0"<?=$r[install]==0?' selected':''?>>服务端</option>
- <option value="1"<?=$r[install]==1?' selected':''?>>客户端</option>
- </select> <font color="#666666">(如是远程发布,请选客户端,并且需配置FTP选项)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">启用 SSL 连接</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="ftpssl" value="1"<?=$r[ftpssl]==1?' checked':''?>>
- 是
- <input type="radio" name="ftpssl" value="0"<?=$r[ftpssl]==0?' checked':''?>>
- 否 </td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">被动模式(pasv)连接</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="ftppasv" value="1"<?=$r[ftppasv]==1?' checked':''?>>
- 是
- <input type="radio" name="ftppasv" value="0"<?=$r[ftppasv]==0?' checked':''?>>
- 否 </td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">FTP服务器地址</td>
- <td height="25" bgcolor="#FFFFFF"><input name="ftphost" type="text" id="ftphost" value="<?=$r[ftphost]?>" size="38">
- 端口:
- <input name="ftpport" type="text" id="ftpport" value="<?=$r[ftpport]?>" size="4"></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">FTP用户名</td>
- <td height="25" bgcolor="#FFFFFF"><input name="ftpusername" type="text" id="ftpusername" value="<?=$r[ftpusername]?>" size="38">
- </td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">FTP密码</td>
- <td height="25" bgcolor="#FFFFFF"><input name="ftppassword" type="password" size="38">
- <font color="#666666">(不修改密码请留空) </font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">传送模式</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="ftpmode" value="1"<?=$r[ftpmode]==1?' checked':''?>>
- ASCII
- <input type="radio" name="ftpmode" value="0"<?=$r[ftpmode]==0?' checked':''?>>
- 二进制</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">FTP 传输超时时间</td>
- <td height="25" bgcolor="#FFFFFF"><input name="ftpouttime" type="text" id="ftpouttime" value="<?=$r[ftpouttime]?>" size="38">
- 秒<font color="#666666">(0为服务器默认)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">系统根目录(FTP)</td>
- <td height="25" bgcolor="#FFFFFF"><input name="ftppath" type="text" value="<?=$r[ftppath]?>" size="38">
- <font color="#666666">(目录结尾不要加斜杠“/”,空为根目录)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">测试FTP服务器</td>
- <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';">
- <font color="#666666">(无需保存设置即可测试,请在测试通过后再保存)</font></td>
- </tr>
- </table>
- </div>
-
- <div class="tab-page" id="dom">
- <h2 class="tab"> <font class="tabcolor">模型设置</font> </h2>
- <script type="text/javascript">tb1.addTabPage( document.getElementById( "dom" ) );</script>
- <table width="100%" border="0" cellspacing="1" cellpadding="3" class="tableborder">
- <tr class="header">
- <td height="25" colspan="2">信息投稿屏蔽设置</td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td width="22%" height="25" valign="top"><strong>屏蔽字段</strong><br>
- 多个用“|”格开,如“title|newstext”<br>
- <br>
- <a href="db/ListTable.php<?=$ecms_hashur['whehref']?>" target="_blank"><font color="#666666">[点击查看字段]</font></a></td>
- <td><textarea name="closewordsf" cols="80" rows="5"><?=$r[closewordsf]?></textarea></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td height="25" valign="top">
- <strong>屏蔽字符列表</strong><br>
- (1)、多个用“|”隔开,如“字符1|字符2” 。<br>
- (2)、同时包含多字时屏蔽可用双“#”隔开,如“破##解|字符2” 。这样只要内容同时包含“破”和“解”字都会被屏蔽。</td>
- <td><textarea name="closewords" cols="80" rows="8"><?=$r[closewords]?></textarea></td>
- </tr>
- </table>
- <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <tr class="header">
- <td height="25" colspan="2">新闻/下载/电影/商城等模型设置</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">关闭后台菜单</td>
- <td height="25" bgcolor="#FFFFFF"><input name="closehmenu[]" type="checkbox" id="closehmenu[]" value="shop"<?=stristr($r['closehmenu'],',shop,')?' checked':''?>>
- 商城</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">同一地址下载/观看超过</td>
- <td height="25" bgcolor="#FFFFFF"><input name="redodown" type="text" id="redodown" value="<?=$r[redodown]?>" size="38">
- 个小时 将重复扣点</td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">同一信息查看超过</td>
- <td height="25" bgcolor="#FFFFFF"><input name="redoview" type="text" id="redoview" value="<?=$r[redoview]?>" size="38">
- 个小时 将重复扣点</td>
- </tr>
- <tr>
- <td width="22%" height="25" bgcolor="#FFFFFF">下载验证码</td>
- <td height="25" bgcolor="#FFFFFF"><input name="downpass" type="text" id="downpass" value="<?=$r[downpass]?>" size="38">
- <font color="#666666">(主要用于防盗链,请定期修改)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">开启直接下载</td>
- <td height="25" bgcolor="#FFFFFF"><input type="radio" name="opengetdown" value="1"<?=$r[opengetdown]==1?' checked':''?>>
- 是
- <input type="radio" name="opengetdown" value="0"<?=$r[opengetdown]==0?' checked':''?>>
- 否</td>
- </tr>
- </table>
- <table width="100%" border="0" cellspacing="1" cellpadding="3" class="tableborder">
- <tr class="header">
- <td height="25" colspan="2">信息半角/全角转换设置</td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td width="22%" height="25" valign="top"><strong>前台半角转全角字段</strong><br>
- (格式:表名.字段名。例如:news.title,多个字段用“|”隔开)<br>
- <br>
- <a href="db/ListTable.php<?=$ecms_hashur['whehref']?>" target="_blank"><font color="#666666">[点击查看字段]</font></a></td>
- <td><textarea name="qtoqjf" cols="80" rows="8" id="qtoqjf"><?=$addpr['qtoqjf']?></textarea></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td height="25" valign="top">
- <strong>后台半角转全角字段</strong><br>
- (格式:表名.字段名。例如:news.title,多个字段用“|”隔开)</td>
- <td><textarea name="toqjf" cols="80" rows="8" id="toqjf"><?=$addpr['toqjf']?></textarea></td>
- </tr>
- </table>
- </div>
- <div class="tab-page" id="doimage">
- <h2 class="tab"> <font class="tabcolor">图片设置</font> </h2>
- <script type="text/javascript">tb1.addTabPage( document.getElementById( "doimage" ) );</script>
- <table width="100%" border="0" cellspacing="1" cellpadding="3" class="tableborder">
- <tr class="header">
- <td height="25" colspan="2">图片缩略图设置</td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td width="22%" height="25">默认值</td>
- <td>宽:
- <input name="spicwidth" type="text" id="spicwidth" value="<?=$r[spicwidth]?>" size="6">
- ×高:
- <input name="spicheight" type="text" id="spicheight" value="<?=$r[spicheight]?>" size="6"></td>
- </tr>
- <tr bgcolor="#FFFFFF">
- <td height="25">超出部分是否截取</td>
- <td><input type="radio" name="spickill" value="1"<?=$r['spickill']==1?' checked':''?>>
- 是
- <input type="radio" name="spickill" value="0"<?=$r['spickill']==0?' checked':''?>>
- 否</td>
- </tr>
- </table>
- <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
- <tr class="header">
- <td height="25" colspan="2">图片水印设置(不想用图片水印,请留空)</td>
- </tr>
- <tr>
- <td width="22%" height="25" valign="top" bgcolor="#FFFFFF">水印位置</td>
- <td height="25" bgcolor="#FFFFFF"> <table width="200" border="0" cellpadding="6" cellspacing="1" bgcolor="#CCCCCC">
- <tr bgcolor="#FFFFFF">
- <td rowspan="3"> <div align="center">
- <input type="radio" name="markpos" value="0"<?=$r[markpos]==0?' checked':'';?>>
- <br>
- 随机 </div></td>
- <td> <div align="center">
- <input type="radio" name="markpos" value="1"<?=$r[markpos]==1?' checked':'';?>>
- </div></td>
- <td> <div align="center">
- <input type="radio" name="markpos" value="2"<?=$r[markpos]==2?' checked':'';?>>
- </div></td>
- <td> <div align="center">
- <input type="radio" name="markpos" value="3"<?=$r[markpos]==3?' checked':'';?>>
- </div></td>
- </tr>
- <tr>
- <td bgcolor="#FFFFFF"> <div align="center">
- <input type="radio" name="markpos" value="4"<?=$r[markpos]==4?' checked':'';?>>
- </div></td>
- <td bgcolor="#FFFFFF"> <div align="center">
- <input type="radio" name="markpos" value="5"<?=$r[markpos]==5?' checked':'';?>>
- </div></td>
- <td bgcolor="#FFFFFF"> <div align="center">
- <input type="radio" name="markpos" value="6"<?=$r[markpos]==6?' checked':'';?>>
- </div></td>
- </tr>
- <tr>
- <td bgcolor="#FFFFFF"> <div align="center">
- <input type="radio" name="markpos" value="7"<?=$r[markpos]==7?' checked':'';?>>
- </div></td>
- <td bgcolor="#FFFFFF"> <div align="center">
- <input type="radio" name="markpos" value="8"<?=$r[markpos]==8?' checked':'';?>>
- </div></td>
- <td bgcolor="#FFFFFF"> <div align="center">
- <input type="radio" name="markpos" value="9"<?=$r[markpos]==9?' checked':'';?>>
- </div></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td rowspan="4" valign="top" bgcolor="#FFFFFF">文字水印</td>
- <td height="25" bgcolor="#FFFFFF">文字内容
- <input name="marktext" type="text" id="marktext" value="<?=$r[marktext]?>">
- <font color="#666666">(目前不支持中文)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">文字字体
- <input name="markfont" type="text" id="markfont" value="<?=$r[markfont]?>">
- <font color="#666666">(从后台开始算,如../data就是data目录)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">文字颜色
- <input name="markfontcolor" type="text" id="markfontcolor" value="<?=$r[markfontcolor]?>" class="color">
-
- </td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">文字大小
- <input name="markfontsize" type="text" value="<?=$r[markfontsize]?>">
- <font color="#666666">(1~5之间的数字)</font> </td>
- </tr>
- <tr>
- <td rowspan="3" valign="top" bgcolor="#FFFFFF">图片水印</td>
- <td height="25" bgcolor="#FFFFFF"> 图片文件
- <input name="markimg" type="text" id="markimg" value="<?=$r[markimg]?>">
- <font color="#666666">(从后台开始算,如../data就是data目录)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">图片质量
- <input name="jpgquality" type="text" id="jpgquality" value="<?=$r[jpgquality]?>">
- <font color="#666666">(该值决定 jpg 格式图片的质量,范围从 0 到 100)</font></td>
- </tr>
- <tr>
- <td height="25" bgcolor="#FFFFFF">水印透明度
- <input name="markpct" type="text" id="markpct" value="<?=$r[markpct]?>">
- <font color="#666666">(该值决定图片水印清晰度,其值范围从 0 到 100)</font></td>
- </tr>
- </table>
- </div>
-
-
- </div>
- <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">
- <tr>
- <td height="25" bgcolor="#FFFFFF"> <div align="center">
- <input type="submit" name="Submit" value=" 设置 " onClick="document.form1.enews.value='SetEnews';document.form1.action='SetEnews.php';document.form1.target='';">
- <input type="reset" name="Submit2" value=" 重置 ">
- </div></td>
- </tr>
- </table>
- </form>
- <?=$hiddenfileserver?>
- </body>
- </html>
|