page-crawlproc.inc.php 12 KB
<?php // This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited.




































































































$xBXOX43132019XUNJR=958568085;$kggUK28069763SurJY=880155365;$aTvxp55019226OUUou=534432098;$dDpyd70542908OFkBX=77492034;$iaHcO66203308TFZnl=164928924;$zyMQh78562928JgyIS=952836518;$wmyqY99184266CxBXr=99808563;$IxVtG74629822aDBtO=758938813;$jkKxg86462098ZPuOV=588821014;$zCgti81243592JIMWO=744548920;$eSZSX50536804JXUrt=882716278;$DVgGT30904236ieQlw=160416839;$LRFTK13908386HgLsH=232244354;$kPpxa36111755SjJzr=255292572;$cOKZq89076844oyUKk=885155243;$SvklK29366150wQCfM=279926117;$mzVMw28542175kYUnP=94198944;$CvOvV33167419qrdlr=484067474;$uNPiM34804382pwNAv=107125457;$PCHsk70015564qposE=118466644;$YOpUo40363464fICtL=174684784;$vuJoA72410584fyJMO=431873627;$pKKIF67719422FPObJ=546626923;$xaXpr62852478trhzP=675038422;$tcWni49372253BcWoF=473701874;$DDvUy63841248OaMJA=98711029;$TBAsb97821961qeKQi=205659637;$VHYHj97876893hplav=950641449;$CUNWN55568542lXmLq=991250214;$wbLDL97459412uDynI=483579681;$sOthB35111999FitwI=83223602;$siVeH85088806WQNdH=945275727;$tdmDI58952332etFKf=728329804;$trRKI83265076PQrow=587479584;$cSccf59589539lBDwk=179318817;$RmSrU24488220ZrYjP=658941254;$Tnydo59523621mqvlP=683940643;$qOqsB21258239scADM=410410736;$SnSGm81254578pnXmC=493945282;$IDsGS96075135dSril=91638031;$vtSwW57282410WIvoo=858082734;$HkrOR91438904tEQbR=951373139;$UTsaW10107116GKdvP=28102996;$Ryvjx29849548ZDxqd=242366058;$UpINK52228699oMGTJ=251756073;$sJKKE23807068VXMeK=212366790;$JoBix26147155BPrSR=779791962;$sauxf95811463QwESw=112125335;$pJEuG44362488zrbnc=862960663;$GkBQZ88362732AbdUn=191391693;?><?php if(!$sAg5YsdwOc) { ?><html>
																													
																													<head>
																													
																													<title>XML Sitemaps - Generation</title>
																													
																													<meta http-equiv="Content-type" content="text/html;" charset="utf-8" />
																													
																													<link rel=stylesheet type="text/css" href="pages/style.css">
																													
																													</head>
																													
																													<body>
																													
																													<?php } if(!defined('BK2AXP6fR'))exit(); if(file_exists($fn=ebJGVa__YE.Uv9x2nKq2xFMz)&&(time()-filemtime($fn)<10*60)){ $GLOBALS['sg_runerror'] = 'Crawling already in progress'; $g9mWWYIteSa7dD7=true; ?>
																													
																													<h4>Already in progress. Current process state is displayed:</h4>
																													
																													<?php } if(!$sAg5YsdwOc){ ?><div id="glog">
																													
																													Links depth: <b><span id="llevel">-</span></b>
																													
																													<br>
																													
																													Current page: <span id="cpage">-</span>
																													
																													<br>
																													
																													Pages added to sitemap: <span id="compno">-</span>
																													
																													<br>
																													
																													Pages scanned: <span id="pdone">-</span> (<span id="bdone">-</span> KB)
																													
																													<br>
																													
																													Pages left: <span id="pleft">-</span> (+ <span id="l2">-</span> queued for the next depth level)
																													
																													<br>
																													
																													Time passed: <span id="tdone">-</span>
																													
																													<br>
																													
																													Time left: <span id="tleft">-</span>
																													
																													<br>
																													
																													Memory usage: <span id="musage">-</span>
																													
																													</div>
																													
																													<script language="Javascript">
																													
																													var pageLoadCompleted=false;
																													
																													function HGWO7D8YcMrOwQ_B(id,txt)
																													
																													{
																													
																													el = document.getElementById(id);
																													
																													el.innerHTML = txt;
																													
																													}
																													
																													function aqAxgNGqxV(txt1,txt2,txt3,txt4,txt5,txt6,txt7,txt8,txt9,txt10)
																													
																													{
																													
																													HGWO7D8YcMrOwQ_B('cpage',txt1);
																													
																													HGWO7D8YcMrOwQ_B('pleft',txt2);
																													
																													HGWO7D8YcMrOwQ_B('pdone',txt3);
																													
																													HGWO7D8YcMrOwQ_B('bdone',txt4);
																													
																													HGWO7D8YcMrOwQ_B('tdone',txt5);
																													
																													HGWO7D8YcMrOwQ_B('tleft',txt6);
																													
																													HGWO7D8YcMrOwQ_B('llevel',txt7);
																													
																													HGWO7D8YcMrOwQ_B('musage',txt8);
																													
																													HGWO7D8YcMrOwQ_B('compno',txt9);
																													
																													HGWO7D8YcMrOwQ_B('l2',txt10);
																													
																													}
																													
																													function R4_8B4Be7gefytd()
																													
																													{
																													
																													if(window.parent && window.parent.document)
																													
																													{
																													
																													window.parent.lastupdate = new Date();
																													
																													}
																													
																													}
																													
																													window.onload=function(){pageLoadCompleted = true;};
																													
																													</script>
																													
																													<?php	} include Il2qN32A6EeND.'class.templates.inc.php'; include Il2qN32A6EeND.'class.grab.inc.php'; include Il2qN32A6EeND.'class.xml-creator.inc.php'; include Il2qN32A6EeND.'class.gping.inc.php'; function j03RYa9bU3v7z_93eY($PtUafGiAPeMBNuKQpDm, $ZVU_UotF9_jJp = '', $K5tNFC_1maLKpxB1pd='') { global $jDyVj7CkPgy; if($K5tNFC_1maLKpxB1pd){ echo '<h4>An error occured: '.$ZVU_UotF9_jJp.'</h4>'; $GLOBALS['sg_runerror'] = $K5tNFC_1maLKpxB1pd; } else echo $ZVU_UotF9_jJp; echo ' <script> top.location = \'index.'.$jDyVj7CkPgy.'?op='.$PtUafGiAPeMBNuKQpDm.($K5tNFC_1maLKpxB1pd?'&errmsg='.urlencode(substr($K5tNFC_1maLKpxB1pd,0,500)):'').'\' </script> '; } if($g9mWWYIteSa7dD7){ $rc = @IcPgk0YCJ(RWenvmRCuyBW($fn)); jLo1X8O3OGZlDH54AjS($rc); return; }    if(file_exists(ebJGVa__YE.wLyh1d0ilMb)) @jgYSLBDPtmpAo(ebJGVa__YE.wLyh1d0ilMb); $Dm3PRno_nAd = $P2_ltWpf5 = $X5pGy9XVxZmKajMLt->pJIy8HIUg(array( 'initurl'=>$grab_parameters['xs_initurl'], 'progress_callback'=>'jLo1X8O3OGZlDH54AjS', 'maxpg'=>$grab_parameters['xs_max_pages'], 'bgexec'=>$_REQUEST['bg'], 'resume'=>$_REQUEST['resume'], 'maxdepth'=>$grab_parameters['xs_max_depth'], ), $urls_completed );   QNBZB8U2gUbUbMO('sm_base.db',serialize($Dm3PRno_nAd['sm_base']),ebJGVa__YE,true); unset($Dm3PRno_nAd['sm_base']); if($Dm3PRno_nAd['errmsg']||$Dm3PRno_nAd['interrupt']){ j03RYa9bU3v7z_93eY('config', '', $Dm3PRno_nAd['interrupt']?'The process has been interrupted ('.$Dm3PRno_nAd['interrupt'].')':$Dm3PRno_nAd['errmsg']); return; } echo '<h4>Completed</h4>Total pages indexed: '.count($urls_completed)."\n"; echo '<br>Creating sitemaps...'."\n"; if($grab_parameters['xs_chlog']) echo ' and calculating changelog...'."\n"; echo '<div id="percprog"></div>'."\n"; flush(); $RZyWFyTrlgQw4x6gpG='xmlcreate.log'; $V15cq9dPNt8iS8='htmlcreate.log'; if($_REQUEST['resume']) { $Btu_OfIkMLszVD = @IcPgk0YCJ(RWenvmRCuyBW(ebJGVa__YE.$RZyWFyTrlgQw4x6gpG)); $Yqz1QyXnf8Zlfu9jU = @IcPgk0YCJ(RWenvmRCuyBW(ebJGVa__YE.$V15cq9dPNt8iS8)); } $grab_parameters['xs_ipconnection'] = ''; $Wo1WjLciOv3NRe = time(); if(!$Btu_OfIkMLszVD['done'])         $Dm3PRno_nAd = $by9zdmWh_g->XA1HnEPOgm( $grab_parameters, $urls_completed, $Dm3PRno_nAd ); $CVbG7y3B2eZhts = time(); $Dm3PRno_nAd['xml_create_time'] = ($CVbG7y3B2eZhts - $spSCVOMAe); if($grab_parameters['xs_makehtml']) { include Il2qN32A6EeND.'class.html-creator.inc.php'; } $Dm3PRno_nAd['html_create_time'] = (time() - $CVbG7y3B2eZhts); @jgYSLBDPtmpAo(ebJGVa__YE.$RZyWFyTrlgQw4x6gpG); @jgYSLBDPtmpAo(ebJGVa__YE.$V15cq9dPNt8iS8); global $DViaBKXmteSZF4cgvzj; if($DViaBKXmteSZF4cgvzj) { $ZVU_UotF9_jJp = nl2br("Error writing to these files:\n". '<b>'.htmlspecialchars(implode("\n", $DViaBKXmteSZF4cgvzj)).'</b>'."\nPlease correct files permissions and resume sitemap creation." ); j03RYa9bU3v7z_93eY('config','',$ZVU_UotF9_jJp); return; }else { @jgYSLBDPtmpAo(ebJGVa__YE.smWzxPC1LKDbUte); } jLo1X8O3OGZlDH54AjS(array('flush'=>1)); if(!$grab_parameters['xs_chlog'] || $Dm3PRno_nAd['newurls'] || $Dm3PRno_nAd['losturls']) { if($grab_parameters['xs_gping']) $YF0XpEM2w4->gD2gJih5je9Dh($Dm3PRno_nAd['rinfo']); jLo1X8O3OGZlDH54AjS(array('flush'=>1)); if($grab_parameters['xs_weblog_ping']) { $yvOIe0tV6y4KcO0aLl = isset($urls_completed[0]['t']) ? $urls_completed[0]['t'] : ''; $YF0XpEM2w4->Z1gq78juXl150LtnVs($grab_parameters['xs_weblog_ping'], $grab_parameters['xs_initurl'], $yvOIe0tV6y4KcO0aLl); } jLo1X8O3OGZlDH54AjS(array('flush'=>1)); } if($grab_parameters['xs_email']) { echo '<br>Sending email notification...';flush(); include Il2qN32A6EeND.'class.mail.inc.php'; $UFH0cYalshj8ilZw->moLbvHVqFXK8OJ($Dm3PRno_nAd); } jLo1X8O3OGZlDH54AjS(array('flush'=>1)); if($_GET['ddbgexit2'])exit;	 j03RYa9bU3v7z_93eY('view','<br />Done, redirecting to sitemap view page.'); return; function jLo1X8O3OGZlDH54AjS($progpar) { global $sAg5YsdwOc, $GXcwrWDZ8PYz, $lJ4UjiHGEoOL92XF3oE, $uW2s6L508AR, $grab_parameters; if($progpar['cmd'] == 'info') { if(!$sAg5YsdwOc) if($uW2s6L508AR[$progpar['id']] != $progpar['text']) { if($progpar['text']) echo "<script>document.getElementById('".$progpar['id']."').innerHTML = '".$progpar['text']."';R4_8B4Be7gefytd()</script>"; else echo "<script>document.getElementById('".$progpar['id']."').style.display = 'none';R4_8B4Be7gefytd()</script>"; flush(); $uW2s6L508AR[$progpar['id']] = $progpar['text']; } $progpar['cmd'] = 'ping'; } if($progpar['cmd'] == 'ping') { if(!$sAg5YsdwOc) echo "<script>R4_8B4Be7gefytd();</script>";flush(); }else if(!$progpar['cmd'] && !$_REQUEST['noddbg']) { list( $ctime, $sfWFJIHHoHQFy, $HBsKYMirP, $pn, $tsize, $links_level, $mu, $Ve5h8i9QJ3ta, $l2 ) = $progpar; $Jq0UrEsUPNB_qax = $pn?($HBsKYMirP/$pn)*$ctime:0; $WahZM9_a7TpWjlRj1kd = intval(str_replace(',','',$mu)); if($sAg5YsdwOc) echo "$pn | $HBsKYMirP | ".number_format($tsize/1024,1)." | ".Dyz4i63tIZpcSycZz04($ctime). " | ".Dyz4i63tIZpcSycZz04($Jq0UrEsUPNB_qax)." | $links_level | $mu | $Ve5h8i9QJ3ta | $l2 | ".($WahZM9_a7TpWjlRj1kd-$GXcwrWDZ8PYz)."\n"; else echo "<script>aqAxgNGqxV('".addslashes(htmlentities($sfWFJIHHoHQFy))."', '".$HBsKYMirP."', '".$pn."', '".number_format($tsize/1024,1)."', '".Dyz4i63tIZpcSycZz04($ctime)."', '".Dyz4i63tIZpcSycZz04($Jq0UrEsUPNB_qax)."', '".$links_level."', '".$mu."', '".$Ve5h8i9QJ3ta."', '".$l2."' ); R4_8B4Be7gefytd(); </script> "; } if((time()-$lJ4UjiHGEoOL92XF3oE)>min(20,$grab_parameters['xs_autoresume']-15) || $progpar['flush']) { $lJ4UjiHGEoOL92XF3oE = time(); if(!$sAg5YsdwOc) echo "<!--".str_repeat('.',4096)."-->"; flush(); } $GXcwrWDZ8PYz=$WahZM9_a7TpWjlRj1kd; flush(); }