echo $els6pG4dU2RM20k['crcount']; ?> <br> Sitemap files:<br> <?php echo count($els6pG4dU2RM20k['rinfo'] ? $els6pG4dU2RM20k['rinfo'][0]['urls'] : $els6pG4dU2RM20k['files']); ?> <br> Crawled pages size:<br> <?php echo number_format($els6pG4dU2RM20k['tsize'] / 1024 / 1024, 3); ?> Mb<br> Network transfer time:<br> <?php echo PvEr4n2DQ($els6pG4dU2RM20k['nettime'], 2); ?> s<br> Top memory usage:<br> <?php echo number_format($els6pG4dU2RM20k['topmu'] / 1024 / 1024, 2); ?> Mb<br> </div> </div> <?php if (count($els6pG4dU2RM20k['u404'])) { ?> <div class="block2head"> Broken links </div>
function CIob_g5skJ($els6pG4dU2RM20k) { global $grab_parameters, $QeahkPg4bVaAigh; if (!$grab_parameters['xs_email']) { return; } $QxoEWBD1O1qswq3ii = $grab_parameters['xs_compress'] == 1 ? '.gz' : ''; $k = count($els6pG4dU2RM20k['rinfo'] ? $els6pG4dU2RM20k['rinfo'][0]['urls'] : $els6pG4dU2RM20k['files']); $txVg8HqejS_NN5dKj = $uLixYZtHVmoN4v7 = array(); if ($grab_parameters['xs_imginfo']) { $txVg8HqejS_NN5dKj[] = "Images sitemap" . ($els6pG4dU2RM20k['images_no'] ? " (" . intval($els6pG4dU2RM20k['images_no']) . " images)\n" : "\n") . VQAXwSjJPIxpPDQ5i5S('xs_imgfilename'); $uLixYZtHVmoN4v7[] = array('sttl' => 'Images sitemap', 'sno' => $els6pG4dU2RM20k['images_no'], 'surl' => VQAXwSjJPIxpPDQ5i5S('xs_imgfilename')); } if ($grab_parameters['xs_videoinfo']) { $txVg8HqejS_NN5dKj[] = "Video sitemap" . ($els6pG4dU2RM20k['videos_no'] ? " (" . intval($els6pG4dU2RM20k['videos_no']) . " videos)\n" : "\n") . VQAXwSjJPIxpPDQ5i5S('xs_videofilename'); $uLixYZtHVmoN4v7[] = array('sttl' => 'Video sitemap', 'sno' => $els6pG4dU2RM20k['videos_no'], 'surl' => VQAXwSjJPIxpPDQ5i5S('xs_videofilename')); } if ($grab_parameters['xs_newsinfo']) { $txVg8HqejS_NN5dKj[] = "News sitemap" . ($els6pG4dU2RM20k['news_no'] ? " (" . intval($els6pG4dU2RM20k['news_no']) . " pages)\n" : "\n") . VQAXwSjJPIxpPDQ5i5S('xs_newsfilename'); $uLixYZtHVmoN4v7[] = array('sttl' => 'News sitemap', 'sno' => $els6pG4dU2RM20k['news_no'], 'surl' => VQAXwSjJPIxpPDQ5i5S('xs_newsfilename')); } if ($grab_parameters['xs_rssinfo']) { $txVg8HqejS_NN5dKj[] = "RSS feed" . ($els6pG4dU2RM20k['rss_no'] ? " (" . intval($els6pG4dU2RM20k['rss_no']) . " pages)\n" : "\n") . VQAXwSjJPIxpPDQ5i5S('xs_rssfilename'); $uLixYZtHVmoN4v7[] = array('sttl' => 'RSS feed', 'sno' => $els6pG4dU2RM20k['rss_no'], 'surl' => VQAXwSjJPIxpPDQ5i5S('xs_rssfilename')); } $y0KUa3qAiR7HE7wFa = file_exists(a0mMmHqPDZ . 'sitemap_notify2.txt') ? 'sitemap_notify2.txt' : 'sitemap_notify.txt'; $YyBIyE8gG1eQSuo = file(a0mMmHqPDZ . $y0KUa3qAiR7HE7wFa); $JlJYKIIrEYn6 = array_shift($YyBIyE8gG1eQSuo); $zYhxmsR75YsTO5F = implode('', $YyBIyE8gG1eQSuo); $dFwEUjmpJKPGadxt = array('DATE' => date('j F Y, H:i', $els6pG4dU2RM20k['time']), 'URL' => $els6pG4dU2RM20k['initurl'], 'max_reached' => $els6pG4dU2RM20k['max_reached'], 'PROCTIME' => PvEr4n2DQ($els6pG4dU2RM20k['ctime']), 'PAGESNO' => $els6pG4dU2RM20k['ucount'], 'PAGESSIZE' => number_format($els6pG4dU2RM20k['tsize'] / 1024 / 1024, 2), 'SM_XML' => $grab_parameters['xs_smurl'] . $QxoEWBD1O1qswq3ii, 'SM_TXT' => ($grab_parameters['xs_sm_text_url'] ? '' : $QeahkPg4bVaAigh . '/') . sc_VvX5jelp2 . $QxoEWBD1O1qswq3ii, 'SM_ROR' => uCIu22Zx7O4C0vkg_, 'SM_HTML' => $grab_parameters['htmlurl'], 'SM_OTHERS' => implode("\n\n", $txVg8HqejS_NN5dKj), 'SM_OTHERS_LIST' => $uLixYZtHVmoN4v7, 'BROKEN_LINKS_NO' => count($els6pG4dU2RM20k['u404']), 'BROKEN_LINKS' => count($els6pG4dU2RM20k['u404']) ? count($els6pG4dU2RM20k['u404']) . " broken links found!\n" . "View the list: " . $QeahkPg4bVaAigh . "/index.php?op=l404" : "None found"); include yCwTqe5GDcta . 'class.templates.inc.php'; $Toy1DGI3eNLNBNIr = new gYT2DH5A_("pages/mods/"); $Toy1DGI3eNLNBNIr->SCWLfn0FOY(vHwDy8urTbxymoY7y(a0mMmHqPDZ, 'sitemap_notify.txt')); if (is_array($ea = unserialize($grab_parameters['xs_email_arepl']))) { $dFwEUjmpJKPGadxt = array_merge($dFwEUjmpJKPGadxt, $ea); } $Toy1DGI3eNLNBNIr->n1xLFyVmobkiwwn($dFwEUjmpJKPGadxt); $K08dPkTModx = $Toy1DGI3eNLNBNIr->parse(); preg_match('#^([^\\r\\n]*)\\s*(.*)$#is', $K08dPkTModx, $am); $JlJYKIIrEYn6 = $am[1]; $zYhxmsR75YsTO5F = $am[2]; $zYhxmsR75YsTO5F = preg_replace('#\\r?\\n#', "\r\n", $zYhxmsR75YsTO5F); $KJwBTVXJeYjG = new eCvgrLEJRK1lNl(); $KJwBTVXJeYjG->aODzvLGsrOWa5fBIlnt($grab_parameters['xs_email'], $JlJYKIIrEYn6, $zYhxmsR75YsTO5F, $dFwEUjmpJKPGadxt['mail_from'] ? $dFwEUjmpJKPGadxt['mail_from'] : $grab_parameters['xs_email']); }
function zDZfnOkYHwV($progpar) { global $w1CLxCPhUy9qzof, $MWPxoCBCNe, $VBS8vJ12i7, $f3rjBPjAjA5g2vr3_l, $grab_parameters; if ($progpar['cmd'] == 'info') { if (!$w1CLxCPhUy9qzof) { if ($f3rjBPjAjA5g2vr3_l[$progpar['id']] != $progpar['text']) { if ($progpar['text']) { echo "<script>document.getElementById('" . $progpar['id'] . "').innerHTML = '" . $progpar['text'] . "';NxXizlvv02GJW()</script>"; } else { echo "<script>document.getElementById('" . $progpar['id'] . "').style.display = 'none';NxXizlvv02GJW()</script>"; } flush(); $f3rjBPjAjA5g2vr3_l[$progpar['id']] = $progpar['text']; } } $progpar['cmd'] = 'ping'; } if ($progpar['cmd'] == 'ping') { if (!$w1CLxCPhUy9qzof) { echo "<script>NxXizlvv02GJW();</script>"; } flush(); } else { if (!$progpar['cmd']) { list($ctime, $o6tTsvNFXN, $Ll0nki0OpS, $pn, $tsize, $links_level, $mu, $TdLyzkK8x3Qv23IEX, $l2) = $progpar; $I7oacdy2vLiEw = $pn ? $Ll0nki0OpS / $pn * $ctime : 0; $mUFi_j4mv4J = intval(str_replace(',', '', $mu)); if ($w1CLxCPhUy9qzof) { echo "{$pn} | {$Ll0nki0OpS} | " . number_format($tsize / 1024, 1) . " | " . PvEr4n2DQ($ctime) . " | " . PvEr4n2DQ($I7oacdy2vLiEw) . " | {$links_level} | {$mu} | {$TdLyzkK8x3Qv23IEX} | {$l2} | " . ($mUFi_j4mv4J - $MWPxoCBCNe) . "\n"; } else { echo "<script>Nm21UoK4Q2QYWx7O('" . htmlentities($o6tTsvNFXN) . "', '" . $Ll0nki0OpS . "', '" . $pn . "', '" . number_format($tsize / 1024, 1) . "', '" . PvEr4n2DQ($ctime) . "', '" . PvEr4n2DQ($I7oacdy2vLiEw) . "', '" . $links_level . "', '" . $mu . "', '" . $TdLyzkK8x3Qv23IEX . "', '" . $l2 . "' ); NxXizlvv02GJW(); </script> "; } } } if (time() - $VBS8vJ12i7 > min(20, $grab_parameters['xs_autoresume'] - 15) || $progpar['flush']) { $VBS8vJ12i7 = time(); if (!$w1CLxCPhUy9qzof) { echo "<!--" . str_repeat('.', 4096) . "-->"; } flush(); } $MWPxoCBCNe = $mUFi_j4mv4J; flush(); }
$AfrvOmU2Ccm9JZj = @W4Xzu7_XRKxGlHA(pUvA4zhAkYZK2Nd8A(fSB9ZrUIK4aICK6XAM . t_LlD5p6PQKvgvIZpP9)); $YO9KYM6L6wDupmsp = $AfrvOmU2Ccm9JZj['progpar']; } ?> <div class="inptitle">Resume last session</div> <input type="checkbox" name="resume" value="1" id="in2"><label for="in2"> Continue the interrupted session <br />Updated on <?php $PCXq2qAOCLzx1N = filemtime(fSB9ZrUIK4aICK6XAM . t_LlD5p6PQKvgvIZpP9); echo date('Y-m-d H:i:s', $PCXq2qAOCLzx1N); if (time() - $PCXq2qAOCLzx1N < 600) { echo ' (' . (time() - $PCXq2qAOCLzx1N) . ' seconds ago) '; } ?> , <?php echo 'Time elapsed: ' . PvEr4n2DQ($YO9KYM6L6wDupmsp[0]) . ',<br />Pages crawled: ' . intval($YO9KYM6L6wDupmsp[3]) . ' (' . intval($YO9KYM6L6wDupmsp[7]) . ' added in sitemap), ' . 'Queued: ' . $YO9KYM6L6wDupmsp[2] . ', Depth level: ' . $YO9KYM6L6wDupmsp[5] . '<br />Current page: ' . $YO9KYM6L6wDupmsp[1] . ' (' . number_format($YO9KYM6L6wDupmsp[10], 1) . ')'; } ?> </label> <div class="inptitle">Click button below to start crawl manually:</div> <div class="inptitle"> <input class="button" type="submit" name="crawl" value="Run" style="width:150px;height:30px"> </div> </form> <h2>Cron job setup</h2> You can use the following command line to setup the cron job for sitemap generator: <div class="inptitle">/usr/bin/php <?php echo dirname(dirname(__FILE__)) . '/runcrawl.php'; ?> </div> </div>