<?php
if(!defined('InEmpireCMS'))
{
	exit();
}
define('EmpireCMSConfig',TRUE);
$ecms_config=array();

//數據庫設置
$ecms_config['db']['usedb']='mysql';	//數據庫類型
$ecms_config['db']['dbver']='5.0';	//數據庫版本
$ecms_config['db']['dbserver']='localhost';	//數據庫登錄地址
$ecms_config['db']['dbport']='';	//端口，不填為按默認
$ecms_config['db']['dbusername']='root';	//數據庫用戶名
$ecms_config['db']['dbpassword']='';	//數據庫密碼
$ecms_config['db']['dbname']='ecms8db';	//數據庫名
$ecms_config['db']['setchar']='utf8';	//設置默認編碼
$ecms_config['db']['dbchar']='utf8';	//數據庫默認編碼
$ecms_config['db']['dbtbpre']='phome_';	//數據表前綴
$dbtbpre=$ecms_config['db']['dbtbpre'];	//數據表前綴
$ecms_config['db']['dbtbtype']=0;	//數據表引擎，0為MYISAM、1為INNODB
$ecms_config['db']['showerror']=1;	//顯示SQL錯誤提示(0為不顯示,1為顯示)


//頁面編碼設置
$ecms_config['sets']['pagechar']='utf-8';	//安裝帝國CMS的編碼版本
$ecms_config['sets']['setpagechar']=1;	//頁面默認字符集,0=關閉 1=開啟
$ecms_config['sets']['elang']='gb';	//語言包

//後台相關配置
$ecms_config['esafe']['openonlinesetting']=3;	//開啟後台在線配置參數(0為關閉,1為開啟防火牆配置,2為開啟安全配置,3為全開啟)
$ecms_config['esafe']['openeditdttemp']=1;	//開啟後台在線修改動態模板(0為關閉,1為開啟)
$ecms_config['esafe']['hfadminpath']='eadmin';	//後台一級目錄名，修改一級目錄名後需修改這裡，而二級目錄admin可任意重命名，不需要其它設置
$ecms_config['esafe']['hclosemods']='';	//後台關閉相關模塊，多個用逗號隔開，比如：,ebak,dosql,loadinmod,
$ecms_config['esafe']['ckffbasepath']=ECMS_PATH.'c/ecacheadmin/eadminloginfile/';	//後台認證文件存放目錄
$ecms_config['esafe']['ckffcantype']='|.txt|.jpg|.gif|.png|.jpeg|.bmp|.mp3|.mp4|';	//後台上傳認證文件允許擴展名
$ecms_config['esafe']['ckffmaxsize']=500;	//後台上傳認證文件最大大小，單位KB
$ecms_config['esafe']['ckfftmpbasepath']=ECMS_PATH.'d/etmpadmin/eckadminloginfile/';	//後台認證文件上傳臨時目錄(不需要執行權限)
$ecms_config['esafe']['ckfftmpfiletype']='.txt';	//後台認證文件上傳臨時文件擴展名

//易通行系統配置
$ecms_config['epassport']['open']=0;	//是否開啟易通行系統(1為開啟，0為關閉)

//其它配置
$ecms_config['sets']['webdebug']=0;	//是否顯示PHP錯誤提示(0為不顯示,1為顯示)
$ecms_config['sets']['timezone']='PRC';	//時區
$ecms_config['sets']['getiptype']=0;	//獲取IP地址類型(0為自動,1為REMOTE_ADDR,2為HTTP_X_FORWARDED_FOR,3為HTTP_CLIENT_IP)
$ecms_config['sets']['fcloseqdt']=0;	//是否關閉前台所有動態頁面(0為不關閉,1為關閉)
$ecms_config['sets']['ecmscachepath']=ECMS_PATH.'ecachefiles/';	//動態頁面緩存文件存放目錄
$ecms_config['sets']['ecmscachefiletype']='.html';	//動態頁面緩存文件擴展名
$ecms_config['sets']['txtpath']=ECMS_PATH.'esavedatas/edtxt/';	//文本型數據存放目錄
$ecms_config['sets']['saveurlimgclearurl']=0;	//遠程保存圖片自動去除圖片的鏈接(0為保留,1為去除)
$ecms_config['sets']['deftempid']=0;	//默認模板組ID
$ecms_config['sets']['selfmoreportid']=0;	//當前網站訪問端ID,0為主訪問端
$ecms_config['sets']['moreportusedm']=1;	//網站訪問端使用二級域名(0為不使用,1為使用)
$ecms_config['sets']['mpchmrnd']=0;	//是否改變會員登錄隨機碼(0為改變,1為不改變)
$ecms_config['sets']['printerrortype']=0;	//提示信息格式(json格式可設為1)



//-------EmpireCMS.Seting.member-------

//會員系統相關配置
$ecms_config['member']['tablename']="{$dbtbpre}enewsmember";	//會員表
$user_tablename=$ecms_config['member']['tablename'];	//會員表
$ecms_config['member']['changeregisterurl']="ChangeRegister.php";    //多會員組中轉註冊地址
$ecms_config['member']['registerurl']="";							//會員註冊地址
$ecms_config['member']['loginurl']="";								//會員登錄地址
$ecms_config['member']['quiturl']="";								//會員退出地址
$ecms_config['member']['chmember']=0;//是否使用原版會員表信息,0為原版,1為非原版
$ecms_config['member']['pwtype']=2;//密碼保存形式,0為md5,1為明碼,2為雙重加密,3為16位md5
$ecms_config['member']['regtimetype']=1;//註冊時間保存格式,0為正常時間,1為數值型
$ecms_config['member']['regcookietime']=0;//註冊後登錄保存時間(秒)
$ecms_config['member']['defgroupid']=0;//註冊時會員組ID(ecms的會員組,0為後台默認)
$ecms_config['member']['saltnum']=-6;//SALT隨機碼字符數(負數為隨機最小數)
$ecms_config['member']['utfdata']=0;//數據是否是UTF8編碼,0為正常數據,1為UTF8編碼

$ecms_config['memberf']['userid']='userid';//用戶ID字段
$ecms_config['memberf']['username']='username';//用戶名字段
$ecms_config['memberf']['password']='password';//密碼字段
$ecms_config['memberf']['rnd']='rnd';//隨機密碼字段
$ecms_config['memberf']['rndt']='rndt';//隨機密碼字段2
$ecms_config['memberf']['email']='email';//郵箱字段
$ecms_config['memberf']['phno']='phno';//手機號碼字段
$ecms_config['memberf']['upic']='upic';//頭像字段
$ecms_config['memberf']['registertime']='registertime';//註冊時間字段
$ecms_config['memberf']['groupid']='groupid';//會員組字段
$ecms_config['memberf']['userfen']='userfen';//積分字段
$ecms_config['memberf']['userdate']='userdate';//有效期字段
$ecms_config['memberf']['money']='money';//帳戶餘額字段
$ecms_config['memberf']['userjyz']='userjyz';//經驗值字段
$ecms_config['memberf']['usertitle']='usertitle';//頭銜字段
$ecms_config['memberf']['zgroupid']='zgroupid';//到期轉向會員組字段
$ecms_config['memberf']['havemsg']='havemsg';//提示短消息字段
$ecms_config['memberf']['checked']='checked';//審核狀態字段
$ecms_config['memberf']['salt']='salt';//SALT加密字段
$ecms_config['memberf']['userkey']='userkey';//用戶密鑰字段
$ecms_config['memberf']['ingid']='ingid';//內部會員組字段
$ecms_config['memberf']['agid']='agid';//會員管理組字段
$ecms_config['memberf']['isern']='isern';//實名字段
$ecms_config['memberf']['isot']='isot';//退出狀態字段
$ecms_config['memberf']['mustdo']='mustdo';//必須操作狀態字段

//-------EmpireCMS.Seting.member-------




//-------EmpireCMS.Seting.area-------

//後台安全設置
$ecms_config['esafe']['loginauth']='';	//登錄認證碼,如果設置登錄需要輸入此認證碼才能通過
$ecms_config['esafe']['enloginauth']=0;	//登錄認證碼加密驗證串有效時間,單位:秒(0為不啟用加密)
$ecms_config['esafe']['eloginurlcsvar']='id';	//後台登錄地址驗證參數變量名(不設置為id)
$ecms_config['esafe']['eloginurlcs']='';	//後台登錄地址驗證參數(空為不開啟)
$ecms_config['esafe']['ecertotime']=1800;	//登錄證書發送數據有效時間,單位:秒
$ecms_config['esafe']['ecookiernd']='www.phome.net';	//後台登錄COOKIE認證碼(填寫10~50個任意字符，最好多種字符組合)
$ecms_config['esafe']['loginonepass']=0;	//後台開啟一次性密碼登錄,0為關閉,1為開啟
$ecms_config['esafe']['ckhloginip']=0;	//後台是否驗證登錄IP,0為不驗證,1為驗證
$ecms_config['esafe']['ckhsession']=0;	//後台是否啟用SESSION驗證,0為不驗證,1為驗證
$ecms_config['esafe']['ckhanytime']=0;	//後台隨時認證碼變更週期,單位:秒(0為不啟用)
$ecms_config['esafe']['theloginlog']=0;	//是否記錄登陸日誌(0為記錄,1為不記錄)
$ecms_config['esafe']['thedolog']=0;		//是否記錄操作日誌(0為記錄,1為不記錄)
$ecms_config['esafe']['ckfromurl']=2;	//是否啟用來源地址驗證,0為不驗證,1為全部驗證,2為後台驗證,3為前台驗證,4為全部驗證(嚴格),5為後台驗證(嚴格),6為前台驗證(嚴格)
$ecms_config['esafe']['ckhash']=0;	//啟用後台來源認證碼,0為金剛模式驗證,1為刺蝟模式驗證,2為關閉驗證
$ecms_config['esafe']['ckhashename']='ehash_';	//後台來源認證碼訪問變量名(必須字母開頭,並且只能由字母、數字、下劃線組成)
$ecms_config['esafe']['ckhashrname']='rhash_';	//後台來源認證碼提交變量名(必須字母開頭,並且只能由字母、數字、下劃線組成)
$ecms_config['esafe']['ckformhash']=0;	//啟用後台表單獨立來源認證碼,0為開啟,1為關閉
$ecms_config['esafe']['ckhuseragent']='';	//允許後台訪問的UserAgent信息必須包含字符(區分大小寫),多個用「||」半角雙豎線隔開
$ecms_config['esafe']['hendatakey']='www.phome.net';	//後台數據加密組合字符串(填寫30~70個任意字符)
$ecms_config['esafe']['endatakey']='www.phome.net';		//前台數據加密組合字符串(填寫30~70個任意字符)
$ecms_config['esafe']['viewpassvar']='empirecmsvar';	//整站訪問密碼驗證變量名(由字母和數字組成)
$ecms_config['esafe']['viewpass']='';					//整站訪問密碼，空為不設置
$ecms_config['esafe']['hviewpassvar']='empirecmsvar2';	//後台訪問密碼驗證變量名(由字母和數字組成)
$ecms_config['esafe']['hviewpass']='';					//後台訪問密碼，空為不設置

//COOKIE設置
$ecms_config['cks']['ckdomain']='';		//cookie作用域
$ecms_config['cks']['ckpath']='/';		//cookie作用路徑
$ecms_config['cks']['ckadmindomain']='';	//後台cookie作用域
$ecms_config['cks']['ckadminpath']='/';		//後台cookie作用路徑
$ecms_config['cks']['ckhttponly']=0;	//cookie的HttpOnly屬性(0關閉,1開啟,2只後台開啟,3只前台開啟)
$ecms_config['cks']['cksecure']=0;		//cookie的secure屬性(0為自動識別,1為關閉,2為開啟,3只後台開啟,4只前台開啟)
$ecms_config['cks']['ckvarpre']='ecms';		//前台cookie變量前綴
$ecms_config['cks']['ckadminvarpre']='adminecms';		//後台cookie變量前綴
$ecms_config['cks']['ckrnd']='www.phome.net';	//COOKIE驗證隨機碼(填寫10~50個任意字符，最好多種字符組合)
$ecms_config['cks']['ckrndtwo']='www.phome.net';	//COOKIE驗證隨機碼2(填寫10~50個任意字符，最好多種字符組合)
$ecms_config['cks']['ckrndthree']='www.phome.net';	//COOKIE驗證隨機碼3(填寫10~50個任意字符，最好多種字符組合)
$ecms_config['cks']['ckrndfour']='www.phome.net';	//COOKIE驗證隨機碼4(填寫10~50個任意字符，最好多種字符組合)
$ecms_config['cks']['ckrndfive']='www.phome.net';	//COOKIE驗證隨機碼5(填寫10~50個任意字符，最好多種字符組合)

//網站防火牆配置
$ecms_config['fw']['eopen']=0;	//開啟防火牆(0為關閉,1為開啟)
$ecms_config['fw']['epass']='';	//防火牆加密密鑰(填寫10~50個任意字符，最好多種字符組合)
$ecms_config['fw']['adminloginurl']='';	//允許後台登陸的域名,設置後必須通過這個域名才能訪問後台(多個域名可以用「||」分隔)
$ecms_config['fw']['adminhour']='';	//允許登陸後台的時間：0~23小時，多個時間點用半角逗號格開
$ecms_config['fw']['adminweek']='';	//允許登陸後台的星期：星期0~6，多個星期用半角逗號格開
$ecms_config['fw']['adminckpassvar']='';	//後台預登陸驗證變量名
$ecms_config['fw']['adminckpassval']='';	//後台預登陸認證碼
$ecms_config['fw']['cleargettext']='';	//屏蔽提交敏感字符，多個用半角逗號格開

//-------EmpireCMS.Seting.area-------


//文件類型
$ecms_config['sets']['tranpicturetype']=',.jpg,.gif,.png,.bmp,.jpeg,.webp,';	//圖片
$ecms_config['sets']['tranflashtype']=',.swf,.flv,.dcr,';	//FLASH
$ecms_config['sets']['mediaplayertype']=',.wmv,.asf,.wma,.mp3,.asx,.mid,.midi,.swf,.flv,.dcr,.ogg,.webm,';	//mediaplayer
$ecms_config['sets']['realplayertype']=',.rm,.ra,.rmvb,.mp4,.mov,.avi,.wav,.ram,.mpg,.mpeg,';	//realplayer




//***************** 以下部分為緩存，不用設置 **************

//-------EmpireCMS.Public.Cache-------

//------------e_public
$public_r=array('sitename'=>'帝國網站管理系統',
'newsurl'=>'/ecms80/',
'filetype'=>'|.gif|.jpg|.swf|.rar|.zip|.mp3|.wmv|.txt|.doc|',
'filesize'=>2048,
'relistnum'=>8,
'renewsnum'=>100,
'min_keyboard'=>2,
'max_keyboard'=>20,
'search_num'=>20,
'search_pagenum'=>10,
'newslink'=>0,
'checked'=>0,
'searchtime'=>30,
'loginnum'=>5,
'logintime'=>60,
'addnews_ok'=>1,
'register_ok'=>0,
'indextype'=>'.html',
'goodlencord'=>0,
'goodtype'=>'',
'searchtype'=>'.html',
'exittime'=>40,
'smalltextlen'=>160,
'defaultgroupid'=>1,
'fileurl'=>'/ecms80/d/file/',
'install'=>0,
'phpmode'=>0,
'dorepnum'=>300,
'loadtempnum'=>50,
'bakdbpath'=>'bdata',
'bakdbzip'=>'zip',
'downpass'=>'5c7F2cFdsODxZFnmW8my',
'filechmod'=>1,
'loginkey_ok'=>0,
'tbname'=>'news',
'limittype'=>0,
'redodown'=>1,
'downsofttemp'=>'[ <a href=\"#ecms\" onclick=\"window.open(\'[!--down.url--]\',\'\',\'width=300,height=300,resizable=yes\');\">[!--down.name--]</a> ]',
'onlinemovietemp'=>'[ <a href=\"#ecms\" onclick=\"window.open(\'[!--down.url--]\',\'\',\'width=300,height=300,resizable=yes\');\">[!--down.name--]</a> ]',
'lctime'=>1222406370,
'candocode'=>1,
'opennotcj'=>0,
'listpagetemp'=>'頁次：[!--thispage--]/[!--pagenum--]&nbsp;每頁[!--lencord--]&nbsp;總數[!--num--]&nbsp;&nbsp;&nbsp;&nbsp;[!--pagelink--]&nbsp;&nbsp;&nbsp;&nbsp;轉到:[!--options--]',
'reuserpagenum'=>50,
'revotejsnum'=>100,
'readjsnum'=>100,
'qaddtran'=>1,
'qaddtransize'=>50,
'ebakthisdb'=>1,
'delnewsnum'=>300,
'markpos'=>5,
'markimg'=>'d/efilepub/emark/maskdef.gif',
'marktext'=>'',
'markfontsize'=>'5',
'markfontcolor'=>'',
'markfont'=>'d/efilepub/emark/cour.ttf',
'adminloginkey'=>1,
'php_outtime'=>0,
'listpagefun'=>'sys_ShowListPage',
'textpagefun'=>'sys_ShowTextPage',
'adfile'=>'thea',
'notsaveurl'=>'',
'rssnum'=>50,
'rsssub'=>300,
'savetxtf'=>',article.newstext,',
'dorepdlevelnum'=>300,
'listpagelistfun'=>'sys_ShowListMorePage',
'listpagelistnum'=>10,
'infolinknum'=>100,
'searchgroupid'=>0,
'opencopytext'=>0,
'reuserjsnum'=>100,
'reuserlistnum'=>8,
'opentitleurl'=>1,
'searchtempvar'=>1,
'showinfolevel'=>-99999999,
'navfh'=>'>',
'spicwidth'=>105,
'spicheight'=>118,
'spickill'=>1,
'jpgquality'=>80,
'markpct'=>65,
'redoview'=>24,
'reggetfen'=>0,
'regbooktime'=>30,
'revotetime'=>30,
'fpath'=>1,
'filepath'=>'Y/m-d',
'nreclass'=>',',
'nreinfo'=>',',
'nrejs'=>',',
'nottobq'=>',',
'defspacestyleid'=>1,
'canposturl'=>'',
'openspace'=>1,
'defadminstyle'=>1,
'realltime'=>0,
'closeip'=>'',
'openip'=>'',
'hopenip'=>'',
'textpagelistnum'=>6,
'memberlistlevel'=>-99999999,
'ebakcanlistdb'=>0,
'keytog'=>2,
'keytime'=>900,
'keyrnd'=>'xVQVPTSfkWgPvxv8Yy4YXgavP5xLo0pP',
'checkdorepstr'=>',0,0,0,0,',
'regkey_ok'=>0,
'opengetdown'=>0,
'gbkey_ok'=>0,
'fbkey_ok'=>0,
'newaddinfotime'=>0,
'classnavs'=>'<a href=\"/ecms80/news/\">新聞中心</a>&nbsp;|&nbsp;<a href=\"/ecms80/download/\">下載中心</a>&nbsp;|&nbsp;<a href=\"/ecms80/movie/\">影視頻道</a>&nbsp;|&nbsp;<a href=\"/ecms80/shop/\">網上商城</a>&nbsp;|&nbsp;<a href=\"/ecms80/flash/\">FLASH頻道</a>&nbsp;|&nbsp;<a href=\"/ecms80/photo/\">圖片頻道</a>&nbsp;|&nbsp;<a href=\"/ecms80/article/\">文章中心</a>&nbsp;|&nbsp;<a href=\"/ecms80/info/\">分類信息</a>',
'adminstyle'=>',1,2,',
'docnewsnum'=>300,
'openschall'=>0,
'schallfield'=>1,
'schallminlen'=>3,
'schallmaxlen'=>20,
'schallnum'=>20,
'schallpagenum'=>10,
'dtcanbq'=>1,
'dtcachetime'=>43200,
'repkeynum'=>0,
'regacttype'=>0,
'opengetpass'=>0,
'hlistinfonum'=>30,
'qlistinfonum'=>25,
'dtncanbq'=>1,
'dtncachetime'=>43200,
'readdinfotime'=>60,
'qeditinfotime'=>0,
'onclicktype'=>0,
'onclickfilesize'=>10,
'onclickfiletime'=>60,
'schalltime'=>60,
'defprinttempid'=>1,
'opentags'=>1,
'tagstempid'=>1,
'usetags'=>',1,2,3,4,5,6,7,8,',
'chtags'=>'',
'tagslistnum'=>25,
'closeqdt'=>0,
'settop'=>0,
'qlistinfomod'=>0,
'gb_num'=>20,
'member_num'=>20,
'space_num'=>25,
'infolday'=>0,
'filelday'=>0,
'dorepkey'=>0,
'dorepword'=>0,
'onclickrnd'=>'',
'indexpagedt'=>0,
'keybgcolor'=>'',
'keyfontcolor'=>'',
'keydistcolor'=>'',
'indexpageid'=>0,
'closeqdtmsg'=>'',
'openfileserver'=>0,
'fs_purl'=>'',
'closemods'=>',shop,pay,rss,search,sch,downfile,error,pl,mconnect,fieldand,gb,fb,mlist,api,dtup,',
'fieldandtop'=>0,
'fieldandclosetb'=>'',
'filedatatbs'=>',1,',
'filedeftb'=>1,
'pldeftb'=>1,
'plurl'=>'/ecms80/e/pl/',
'plkey_ok'=>1,
'plface'=>'||[~e.jy~]##1.gif||[~e.kq~]##2.gif||[~e.se~]##3.gif||[~e.sq~]##4.gif||[~e.lh~]##5.gif||[~e.ka~]##6.gif||[~e.hh~]##7.gif||[~e.ys~]##8.gif||[~e.ng~]##9.gif||[~e.ot~]##10.gif||',
'plf'=>'',
'pldatatbs'=>',1,',
'defpltempid'=>1,
'pl_num'=>12,
'plgroupid'=>0,
'closelisttemp'=>'',
'chclasscolor'=>'99C4E3',
'timeclose'=>'',
'timeclosedo'=>'',
'ipaddinfonum'=>0,
'ipaddinfotime'=>0,
'rewriteinfo'=>'',
'rewriteclass'=>'',
'rewriteinfotype'=>'',
'rewritetags'=>'',
'rewritepl'=>'',
'memberconnectnum'=>0,
'closehmenu'=>'',
'indexaddpage'=>0,
'modmemberedittran'=>0,
'modinfoedittran'=>0,
'php_adminouttime'=>1000,
'httptype'=>0,
'qinfoaddfen'=>0,
'bakescapetype'=>1,
'hkeytime'=>30,
'hkeyrnd'=>'nh44AZmeIo7BWGLZsshKRklsPKHEjz6xEE45',
'mhavedatedo'=>0,
'reportkey'=>0,
'ctimeopen'=>0,
'ctimelast'=>0,
'ctimeindex'=>0,
'ctimeclass'=>0,
'ctimelist'=>0,
'ctimetext'=>0,
'ctimett'=>0,
'ctimetags'=>0,
'ctimegids'=>'',
'ctimecids'=>'',
'ctimernd'=>'QSBPkSqxgIUNhojfN5O0xSUO2cTmOUziPy2vklPMtL',
'qmadminuids'=>'',
'qmforumuids'=>'',
'qmotheruids'=>'',
'ckhavemoreport'=>0,
'usetotalnum'=>0,
'autodoopen'=>0,
'autodofile'=>0,
'autodoss'=>0,
'digglevel'=>0,
'diggcmids'=>'',
'spacegids'=>'-99999999',
'candocodetag'=>0,
'openern'=>'',
'ernurl'=>'',
'toqjf'=>'',
'qtoqjf'=>'',
'ctimeaddre'=>0,
'ctimeqaddre'=>0,
'smtpssl'=>0,
'sitedm'=>'',
'qmaxpage'=>0,
'regphonly'=>1,
'regmustef'=>0,
'upicsize'=>50,
'upictype'=>'|.jpg|',
'upicdef'=>'/ecms80/e/data/images/nouserpic.gif',
'tfilechmod'=>0,
'fpnpub'=>'efpub',
'eaopenpage'=>0,
'eackrnd'=>'Q7k8B4hhgLOGAZg5e9rFQMCkUPFK2tPwbVYXWmB6XOprYPhMuDC4vvgmiiBrwF',
'eacktime'=>120,
'drretype'=>0,
'drrepage'=>'',
'qedtext'=>1,
'qedmpids'=>'',
'qedmids'=>',1,6,7,',
'chlisttemp'=>0,
'nchlisttemp'=>'',
'chnewstemp'=>0,
'nchnewstemp'=>'',
'chclasstemp'=>0,
'nchclasstemp'=>'',
'tgidlist'=>',1,',
'phmopen'=>0,
'phmouttime'=>60,
'phmern'=>0,
'phmmust'=>0,
'phmreg'=>0,
'phmckst'=>0,
'phmckrnd'=>'InxxlFAJ7eWv7AJG72RFfF9LnuGxHJN0vSORSm2HptrGBi',
'phmlgtoreg'=>0,
'phmdo'=>'',
'openipf'=>0,
'openbqr'=>0,
'openfz'=>0,
'openfzpage'=>0,
'fzdeftb'=>1,
'ctimefz'=>0,
'rewritefz'=>'',
'searchuptime'=>60,
'searchupnum'=>100,
'searchfmax'=>10,
'schalltype'=>0,
'schallfmax'=>10,
'schallupnum'=>100,
'schalluptime'=>60,
'sametgids'=>'',
'sametgdo'=>'',
'canusedm'=>'',
'usavelast'=>0,
'ckedpasst'=>0,
'ckedpassc'=>0,
'fntype'=>0,
'loginckt'=>0,
'lenids'=>1000,
'plcanlogin'=>0,
'plnewaddtime'=>0,
'opensearchurl'=>0,
'deftempid'=>0);
//------------e_public

//moreports
$emoreport_r=array();
//moreports


//-------EmpireCMS.Public.Cache-------

$emod_pubr=Array('linkfields'=>'|','alltbs'=>',news,download,photo,flash,movie,shop,article,info,','alltbids'=>',1,2,3,4,5,6,7,8,','allmids'=>',1,2,3,4,5,6,7,8,','fieldchids'=>'|','tbidseo'=>',','tbidsed'=>',');

$etable_r=array();
$etable_r['news']=Array('deftb'=>'1',
'yhid'=>0,
'intb'=>0,
'mid'=>1);
$etable_r['download']=Array('deftb'=>'1',
'yhid'=>0,
'intb'=>0,
'mid'=>2);
$etable_r['photo']=Array('deftb'=>'1',
'yhid'=>0,
'intb'=>0,
'mid'=>3);
$etable_r['flash']=Array('deftb'=>'1',
'yhid'=>0,
'intb'=>0,
'mid'=>4);
$etable_r['movie']=Array('deftb'=>'1',
'yhid'=>0,
'intb'=>0,
'mid'=>5);
$etable_r['shop']=Array('deftb'=>'1',
'yhid'=>0,
'intb'=>0,
'mid'=>6);
$etable_r['article']=Array('deftb'=>'1',
'yhid'=>0,
'intb'=>0,
'mid'=>7);
$etable_r['info']=Array('deftb'=>'1',
'yhid'=>0,
'intb'=>0,
'mid'=>8);

$etable_t=array();
$etable_t['1']=Array('tbname'=>'news');
$etable_t['2']=Array('tbname'=>'download');
$etable_t['3']=Array('tbname'=>'photo');
$etable_t['4']=Array('tbname'=>'flash');
$etable_t['5']=Array('tbname'=>'movie');
$etable_t['6']=Array('tbname'=>'shop');
$etable_t['7']=Array('tbname'=>'article');
$etable_t['8']=Array('tbname'=>'info');


$emod_r=array();
$emod_r[1]=Array('mid'=>1,
'mname'=>'新聞系統模型',
'qmname'=>'新聞',
'defaulttb'=>1,
'datatbs'=>',1,',
'deftb'=>'1',
'enter'=>',title,ftitle,special.field,newstime,titlepic,smalltext,writer,befrom,newstext,',
'qenter'=>',title,ftitle,special.field,titlepic,smalltext,writer,befrom,newstext,',
'listtempf'=>',title,ftitle,newstime,titlepic,smalltext,diggtop,',
'tempf'=>',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,diggtop,',
'mustqenterf'=>',title,newstext,',
'listandf'=>'',
'setandf'=>0,
'searchvar'=>',title,smalltext,',
'cj'=>',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,',
'canaddf'=>',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,',
'caneditf'=>',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,',
'tbmainf'=>',title,titlepic,newstime,ftitle,smalltext,diggtop,',
'tbdataf'=>',writer,befrom,newstext,',
'tobrf'=>',smalltext,newstext,',
'dohtmlf'=>',ftitle,smalltext,writer,befrom,newstext,diggtop,',
'checkboxf'=>',',
'savetxtf'=>'',
'editorf'=>',newstext,',
'ubbeditorf'=>',',
'pagef'=>'newstext',
'smalltextf'=>',smalltext,',
'filef'=>',',
'imgf'=>',titlepic,',
'flashf'=>',',
'linkfields'=>'|',
'morevaluef'=>'|',
'onlyf'=>',',
'adddofunf'=>'||',
'editdofunf'=>'||',
'qadddofunf'=>'||',
'qeditdofunf'=>'||',
'definfovoteid'=>0,
'orderf'=>'',
'sonclass'=>'|34|35|36|37|',
'maddfun'=>'',
'meditfun'=>'',
'qmaddfun'=>'',
'qmeditfun'=>'',
'tid'=>1,
'tbname'=>'news');
$emod_r[2]=Array('mid'=>2,
'mname'=>'下載系統模型',
'qmname'=>'軟件',
'defaulttb'=>0,
'datatbs'=>',1,',
'deftb'=>'1',
'enter'=>',title,special.field,newstime,titlepic,softwriter,homepage,demo,softfj,language,softtype,softsq,star,filetype,filesize,downpath,softsay,',
'qenter'=>',title,special.field,titlepic,softwriter,homepage,demo,softfj,language,softtype,softsq,filetype,filesize,downpath,softsay,',
'listtempf'=>',title,newstime,titlepic,softfj,language,softtype,softsq,star,filetype,filesize,softsay,',
'tempf'=>',title,newstime,titlepic,softwriter,homepage,demo,softfj,language,softtype,softsq,star,filetype,filesize,downpath,softsay,',
'mustqenterf'=>',title,downpath,softsay,',
'listandf'=>'',
'setandf'=>0,
'searchvar'=>',title,softsay,',
'cj'=>',title,newstime,titlepic,softwriter,homepage,demo,softfj,language,softtype,softsq,star,filetype,filesize,downpath,softsay,',
'canaddf'=>',title,newstime,titlepic,softwriter,homepage,demo,softfj,language,softtype,softsq,star,filetype,filesize,downpath,softsay,',
'caneditf'=>',title,newstime,titlepic,softwriter,homepage,demo,softfj,language,softtype,softsq,star,filetype,filesize,downpath,softsay,',
'tbmainf'=>',title,titlepic,newstime,softfj,language,softtype,softsq,star,filetype,filesize,softsay,',
'tbdataf'=>',softwriter,homepage,demo,downpath,',
'tobrf'=>',softsay,',
'dohtmlf'=>',softwriter,homepage,demo,softfj,language,softtype,softsq,star,filetype,filesize,downpath,softsay,',
'checkboxf'=>',',
'savetxtf'=>'',
'editorf'=>',',
'ubbeditorf'=>',',
'pagef'=>'',
'smalltextf'=>',softsay,',
'filef'=>',',
'imgf'=>',titlepic,',
'flashf'=>',',
'linkfields'=>'|',
'morevaluef'=>'|',
'onlyf'=>',',
'adddofunf'=>'||',
'editdofunf'=>'||',
'qadddofunf'=>'||',
'qeditdofunf'=>'||',
'definfovoteid'=>0,
'orderf'=>'',
'sonclass'=>'|38|39|40|41|',
'maddfun'=>'',
'meditfun'=>'',
'qmaddfun'=>'',
'qmeditfun'=>'',
'tid'=>2,
'tbname'=>'download');
$emod_r[3]=Array('mid'=>3,
'mname'=>'圖片系統模型',
'qmname'=>'圖片',
'defaulttb'=>0,
'datatbs'=>',1,',
'deftb'=>'1',
'enter'=>',title,special.field,newstime,filesize,picsize,picfbl,picfrom,titlepic,picurl,morepic,num,width,height,picsay,',
'qenter'=>',title,special.field,filesize,picsize,picfbl,picfrom,titlepic,picurl,picsay,',
'listtempf'=>',title,newstime,titlepic,picurl,picsay,',
'tempf'=>',title,newstime,filesize,picsize,picfbl,picfrom,titlepic,picurl,morepic,num,width,height,picsay,',
'mustqenterf'=>',title,picsay,',
'listandf'=>'',
'setandf'=>0,
'searchvar'=>',title,picsay,',
'cj'=>',title,newstime,filesize,picsize,picfbl,picfrom,titlepic,picurl,morepic,num,width,height,picsay,',
'canaddf'=>',title,newstime,filesize,picsize,picfbl,picfrom,titlepic,picurl,morepic,num,width,height,picsay,',
'caneditf'=>',title,newstime,filesize,picsize,picfbl,picfrom,titlepic,picurl,morepic,num,width,height,picsay,',
'tbmainf'=>',title,titlepic,newstime,picurl,picsay,',
'tbdataf'=>',filesize,picsize,picfbl,picfrom,morepic,num,width,height,',
'tobrf'=>',picsay,',
'dohtmlf'=>',filesize,picsize,picfbl,picfrom,picurl,morepic,num,width,height,picsay,',
'checkboxf'=>',',
'savetxtf'=>'',
'editorf'=>',',
'ubbeditorf'=>',',
'pagef'=>'',
'smalltextf'=>',picsay,',
'filef'=>',',
'imgf'=>',titlepic,picurl,',
'flashf'=>',',
'linkfields'=>'|',
'morevaluef'=>'|',
'onlyf'=>',',
'adddofunf'=>'||',
'editdofunf'=>'||',
'qadddofunf'=>'||',
'qeditdofunf'=>'||',
'definfovoteid'=>0,
'orderf'=>'',
'sonclass'=>'|52|53|54|',
'maddfun'=>'',
'meditfun'=>'',
'qmaddfun'=>'',
'qmeditfun'=>'',
'tid'=>3,
'tbname'=>'photo');
$emod_r[4]=Array('mid'=>4,
'mname'=>'FLASH系統模型',
'qmname'=>'FLASH',
'defaulttb'=>0,
'datatbs'=>',1,',
'deftb'=>'1',
'enter'=>',title,special.field,newstime,titlepic,flashwriter,email,star,filesize,flashurl,width,height,flashsay,',
'qenter'=>',title,special.field,titlepic,flashwriter,email,filesize,flashurl,width,height,flashsay,',
'listtempf'=>',title,newstime,titlepic,flashwriter,star,filesize,flashurl,flashsay,',
'tempf'=>',title,newstime,titlepic,flashwriter,email,star,filesize,flashurl,width,height,flashsay,',
'mustqenterf'=>',title,flashurl,flashsay,',
'listandf'=>'',
'setandf'=>0,
'searchvar'=>',title,flashwriter,flashsay,',
'cj'=>',title,newstime,titlepic,flashwriter,email,star,filesize,flashurl,width,height,flashsay,',
'canaddf'=>',title,newstime,titlepic,flashwriter,email,star,filesize,flashurl,width,height,flashsay,',
'caneditf'=>',title,newstime,titlepic,flashwriter,email,star,filesize,flashurl,width,height,flashsay,',
'tbmainf'=>',title,titlepic,newstime,flashwriter,email,star,filesize,flashurl,width,height,flashsay,',
'tbdataf'=>',',
'tobrf'=>',flashsay,',
'dohtmlf'=>',flashwriter,email,star,filesize,flashurl,width,height,flashsay,',
'checkboxf'=>',',
'savetxtf'=>'',
'editorf'=>',',
'ubbeditorf'=>',',
'pagef'=>'',
'smalltextf'=>',flashsay,',
'filef'=>',',
'imgf'=>',titlepic,',
'flashf'=>',flashurl,',
'linkfields'=>'|',
'morevaluef'=>'|',
'onlyf'=>',',
'adddofunf'=>'||',
'editdofunf'=>'||',
'qadddofunf'=>'||',
'qeditdofunf'=>'||',
'definfovoteid'=>0,
'orderf'=>'',
'sonclass'=>'|50|51|',
'maddfun'=>'',
'meditfun'=>'',
'qmaddfun'=>'',
'qmeditfun'=>'',
'tid'=>4,
'tbname'=>'flash');
$emod_r[5]=Array('mid'=>5,
'mname'=>'電影系統模型',
'qmname'=>'電影',
'defaulttb'=>0,
'datatbs'=>',1,',
'deftb'=>'1',
'enter'=>',title,special.field,newstime,titlepic,movietype,company,movietime,player,playadmin,filetype,filesize,star,playdk,playtime,moviefen,downpath,playerid,onlinepath,moviesay,',
'qenter'=>',',
'listtempf'=>',title,newstime,titlepic,movietype,company,movietime,player,playadmin,filetype,filesize,star,moviefen,moviesay,',
'tempf'=>',title,newstime,titlepic,movietype,company,movietime,player,playadmin,filetype,filesize,star,playdk,playtime,moviefen,downpath,playerid,onlinepath,moviesay,',
'mustqenterf'=>',title,moviesay,',
'listandf'=>'',
'setandf'=>0,
'searchvar'=>',title,movietype,company,player,playadmin,moviesay,',
'cj'=>',title,newstime,titlepic,movietype,company,movietime,player,playadmin,filetype,filesize,star,playdk,playtime,moviefen,downpath,playerid,onlinepath,moviesay,',
'canaddf'=>',title,newstime,titlepic,movietype,company,movietime,player,playadmin,filetype,filesize,star,playdk,playtime,moviefen,downpath,playerid,onlinepath,moviesay,',
'caneditf'=>',title,newstime,titlepic,movietype,company,movietime,player,playadmin,filetype,filesize,star,playdk,playtime,moviefen,downpath,playerid,onlinepath,moviesay,',
'tbmainf'=>',title,titlepic,newstime,movietype,company,movietime,player,playadmin,filetype,filesize,star,moviefen,moviesay,',
'tbdataf'=>',playdk,playtime,downpath,playerid,onlinepath,',
'tobrf'=>',moviesay,',
'dohtmlf'=>',movietype,company,movietime,player,playadmin,filetype,filesize,star,playdk,playtime,moviefen,downpath,playerid,onlinepath,moviesay,',
'checkboxf'=>',',
'savetxtf'=>'',
'editorf'=>',',
'ubbeditorf'=>',',
'pagef'=>'',
'smalltextf'=>',moviesay,',
'filef'=>',',
'imgf'=>',titlepic,',
'flashf'=>',',
'linkfields'=>'|',
'morevaluef'=>'|',
'onlyf'=>',',
'adddofunf'=>'||',
'editdofunf'=>'||',
'qadddofunf'=>'||',
'qeditdofunf'=>'||',
'definfovoteid'=>0,
'orderf'=>'',
'sonclass'=>'|42|43|44|45|',
'maddfun'=>'',
'meditfun'=>'',
'qmaddfun'=>'',
'qmeditfun'=>'',
'tid'=>5,
'tbname'=>'movie');
$emod_r[6]=Array('mid'=>6,
'mname'=>'商城系統模型',
'qmname'=>'商品',
'defaulttb'=>0,
'datatbs'=>',1,',
'deftb'=>'1',
'enter'=>',title,special.field,newstime,productno,pbrand,intro,unit,weight,tprice,price,buyfen,pmaxnum,titlepic,productpic,newstext,',
'qenter'=>',',
'listtempf'=>',title,newstime,productno,pbrand,intro,unit,weight,tprice,price,buyfen,pmaxnum,titlepic,productpic,newstext,psalenum,',
'tempf'=>',title,newstime,productno,pbrand,intro,unit,weight,tprice,price,buyfen,pmaxnum,titlepic,productpic,newstext,psalenum,',
'mustqenterf'=>',title,newstext,',
'listandf'=>'',
'setandf'=>0,
'searchvar'=>',title,productno,pbrand,intro,price,newstext,',
'cj'=>',title,newstime,productno,pbrand,intro,unit,weight,tprice,price,buyfen,pmaxnum,titlepic,productpic,newstext,',
'canaddf'=>',title,newstime,productno,pbrand,intro,unit,weight,tprice,price,buyfen,pmaxnum,titlepic,productpic,newstext,',
'caneditf'=>',title,newstime,productno,pbrand,intro,unit,weight,tprice,price,buyfen,pmaxnum,titlepic,productpic,newstext,',
'tbmainf'=>',title,titlepic,newstime,productno,pbrand,intro,unit,weight,tprice,price,buyfen,pmaxnum,productpic,newstext,psalenum,',
'tbdataf'=>',',
'tobrf'=>',intro,newstext,',
'dohtmlf'=>',productno,pbrand,intro,unit,weight,tprice,price,buyfen,pmaxnum,productpic,newstext,psalenum,',
'checkboxf'=>',',
'savetxtf'=>'',
'editorf'=>',newstext,',
'ubbeditorf'=>',',
'pagef'=>'newstext',
'smalltextf'=>',',
'filef'=>',',
'imgf'=>',titlepic,productpic,',
'flashf'=>',',
'linkfields'=>'|',
'morevaluef'=>'|',
'onlyf'=>',',
'adddofunf'=>'||',
'editdofunf'=>'||',
'qadddofunf'=>'||',
'qeditdofunf'=>'||',
'definfovoteid'=>0,
'orderf'=>'',
'sonclass'=>'|46|47|48|49|',
'maddfun'=>'',
'meditfun'=>'',
'qmaddfun'=>'',
'qmeditfun'=>'',
'tid'=>6,
'tbname'=>'shop');
$emod_r[7]=Array('mid'=>7,
'mname'=>'文章系統模型',
'qmname'=>'文章',
'defaulttb'=>0,
'datatbs'=>',1,',
'deftb'=>'1',
'enter'=>',title,ftitle,special.field,newstime,titlepic,smalltext,writer,befrom,newstext,',
'qenter'=>',title,ftitle,special.field,titlepic,smalltext,writer,befrom,newstext,',
'listtempf'=>',title,ftitle,newstime,titlepic,smalltext,diggtop,',
'tempf'=>',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,diggtop,',
'mustqenterf'=>',title,newstext,',
'listandf'=>'',
'setandf'=>0,
'searchvar'=>',title,smalltext,',
'cj'=>',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,',
'canaddf'=>',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,',
'caneditf'=>',title,ftitle,newstime,titlepic,smalltext,writer,befrom,newstext,',
'tbmainf'=>',title,titlepic,newstime,ftitle,smalltext,writer,befrom,newstext,diggtop,',
'tbdataf'=>',',
'tobrf'=>',smalltext,newstext,',
'dohtmlf'=>',ftitle,smalltext,writer,befrom,newstext,diggtop,',
'checkboxf'=>',',
'savetxtf'=>'newstext',
'editorf'=>',newstext,',
'ubbeditorf'=>',',
'pagef'=>'newstext',
'smalltextf'=>',smalltext,',
'filef'=>',',
'imgf'=>',titlepic,',
'flashf'=>',',
'linkfields'=>'|',
'morevaluef'=>'|',
'onlyf'=>',',
'adddofunf'=>'||',
'editdofunf'=>'||',
'qadddofunf'=>'||',
'qeditdofunf'=>'||',
'definfovoteid'=>0,
'orderf'=>'',
'sonclass'=>'|55|56|57|',
'maddfun'=>'',
'meditfun'=>'',
'qmaddfun'=>'',
'qmeditfun'=>'',
'tid'=>7,
'tbname'=>'article');
$emod_r[8]=Array('mid'=>8,
'mname'=>'分類信息系統模型',
'qmname'=>'分類信息',
'defaulttb'=>0,
'datatbs'=>',1,',
'deftb'=>'1',
'enter'=>',title,special.field,newstime,smalltext,titlepic,myarea,email,mycontact,address,',
'qenter'=>',title,smalltext,titlepic,myarea,email,mycontact,address,',
'listtempf'=>',title,newstime,smalltext,titlepic,myarea,',
'tempf'=>',title,newstime,smalltext,titlepic,myarea,email,mycontact,address,',
'mustqenterf'=>',title,smalltext,myarea,email,',
'listandf'=>',myarea,',
'setandf'=>0,
'searchvar'=>',title,smalltext,myarea,',
'cj'=>',title,newstime,smalltext,titlepic,myarea,email,mycontact,address,',
'canaddf'=>',title,newstime,smalltext,titlepic,myarea,email,mycontact,address,',
'caneditf'=>',title,newstime,smalltext,titlepic,myarea,email,mycontact,address,',
'tbmainf'=>',title,titlepic,newstime,smalltext,myarea,',
'tbdataf'=>',email,mycontact,address,',
'tobrf'=>',smalltext,',
'dohtmlf'=>',smalltext,myarea,email,mycontact,address,',
'checkboxf'=>',',
'savetxtf'=>'',
'editorf'=>',',
'ubbeditorf'=>',',
'pagef'=>'',
'smalltextf'=>',smalltext,',
'filef'=>',',
'imgf'=>',titlepic,',
'flashf'=>',',
'linkfields'=>'|',
'morevaluef'=>'|',
'onlyf'=>',',
'adddofunf'=>'||',
'editdofunf'=>'||',
'qadddofunf'=>'||',
'qeditdofunf'=>'||',
'definfovoteid'=>0,
'orderf'=>'',
'sonclass'=>'|11|12|13|14|15|16|18|19|20|21|23|24|25|26|28|29|30|31|',
'maddfun'=>'',
'meditfun'=>'',
'qmaddfun'=>'',
'qmeditfun'=>'',
'tid'=>8,
'tbname'=>'info');


//-------EmpireCMS.Public.Cache-------

?>