Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- * @ Pirate-Sky Crew :: PHP Decoder v2
- * @ Author: pLa$71k
- * @ Web: http://pirate-sky.com
- * @ Pirate-Sky Crew © 2008 - 2013
- */
- require_once("base.inc.php");
- head();
- $hosts = $db->GetRow("SELECT COUNT(*) as count FROM hosts WHERE type = 'wpmu'");
- $total = $db->GetRow("SELECT COUNT(*) AS count FROM blogs");
- $notverified = $db->GetRow("SELECT COUNT(*) AS count FROM blogs WHERE haspassword = 'no' OR activated = 'no'");
- $nonworking = $db->GetRow("SELECT COUNT(*) AS count FROM blogs WHERE haspassword = 'yes' AND working = 'no'");
- $gaccounts = $db->GetRow("SELECT COUNT(*) AS count FROM gaccounts WHERE verified = 'yes'");
- $bloggerblogs = $db->GetRow("SELECT SUM(blogs) AS count FROM gaccounts");
- $pliggaccounts = $db->GetRow("SELECT COUNT(*) AS count FROM pliggaccounts");
- $pligghosts = $db->GetRow("SELECT COUNT(*) as count FROM hosts WHERE type = 'pligg'");
- $hc = new HttpClient();
- $balance = $hc->get("http://linkfarmevolution.com/captcha/balance.php?token=" . $config['security_token']);
- echo "<div class=\"notice\">\r\n Welcome to the LinkFarmEvolution. Here is a quick rundown of what's going on right now(server time is ";
- echo "<s";
- echo "trong>";
- echo date("H:i");
- echo "</strong>, server ip is ";
- echo "<s";
- echo "trong>";
- echo $_SERVER['SERVER_ADDR'];
- echo "</strong>):\r\n <ul>\r\n <li>You have ";
- echo "<s";
- echo "trong>";
- echo $hosts['count'];
- echo "</strong> WPMU hosts to create blogs on.</li>\r\n <li>You have ";
- echo "<s";
- echo "trong>";
- echo $pligghosts['count'];
- echo "</strong> Pligg hosts to put your links on.</li>\r\n <li>You also have ";
- echo "<s";
- echo "trong>";
- echo $gaccounts['count'];
- echo "</strong> Google accounts with ";
- echo "<s";
- echo "trong>";
- echo 0 < $gaccounts['count'] ? number_format($bloggerblogs['count'] / $gaccounts['count'], 1) : 0;
- echo "</strong> Blogger blogs per account on average.</li>\r\n <li>Your network consists of ";
- echo "<s";
- echo "trong>";
- echo $total['count'];
- echo "</strong> blogs, of which ";
- echo "<s";
- echo "trong>";
- echo $notverified['count'];
- echo "</strong> are not yet activated and ";
- echo "<s";
- echo "trong>";
- echo $nonworking['count'];
- echo "</strong> blogs have been marked as not working.</li>\r\n <li>\r\n \r\n You have funds to crack \r\n ";
- echo "<s";
- echo "trong>";
- echo number_format($balance / 0.0015, 0);
- echo "</strong> CAPTCHAs (\$";
- echo number_format($balance, 4);
- echo ") \r\n \r\n \r\n </li>\r\n </ul>\r\n <iframe src=\"http://linkfarmevolution.com/paypal/captchaframe.php?token=";
- echo $config['security_token'];
- echo "\" width=\"300\" height=\"40\"></iframe>\r\n</div>\r\n \r\n<h3>Latest actions:</h3>\r\n\r\n";
- $path = dirname(__FILE__) . "/";
- if (!file_exists($path . "tmp/blogs-backup-" . date("d-M-Y") . ".bkp") && !file_exists($path . "tmp/blogs-backup-" . date("d-M-Y", time() - 86400) . ".bkp")) {
- echo "<div class=\"error\">It looks like your Cron job has not ran recently. To learn more about cron jobs, read inline help on this page.</div>";
- }
- echo "<div class=\"question\" style=\"width:700px;\">\r\n <ul>\r\n <li>LFE performs some background tasks while you are away, like activating your Wordpress blogs, verifying e-mails for your google accounts, deleting dead blogs and making daily backups. And to do all those tasks, cron.php script has to be executed at least a couple times an hour. Usually it's done via a Cron job in your hosting control panel.</";
- echo "li>\r\n <li>";
- echo "<s";
- echo "trong>IMPORTANT:</strong> If you haven't yet set up a Cron job to do those tasks, do it now. It's easy, just add this command in your hosting control panel — ";
- echo "<s";
- echo "trong><i>wget -q http://";
- echo str_replace(array(
- "www.",
- "/index.php"
- ), "", $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF']);
- echo "/cron.php</i></strong> (or if the previous one wouldn't work on your host - ";
- echo "<s";
- echo "trong><i>php ";
- echo realpath(dirname(__FILE__)) . "/cron.php";
- echo "</i></strong>), and set it to run 4 times an hour or so(e.g. */15 * * * *)</li>\r\n </ul>\r\n</div>\r\n\r\n<div class=\"actionswrapper\">\r\n";
- $actions = $db->Execute("SELECT * FROM actions ORDER BY id DESC LIMIT 500");
- if (0 < $actions->_numOfRows) {
- $i = 0;
- foreach ($actions as $action) {
- $elapsed = get_elapsed_time($action['timestamp'], date("Y-m-d H:i:s"), "hours", 0);
- echo "<p class=\"" . $action['class'] . "\">" . $action['action'] . " " . $elapsed . " hours ago.</p>";
- if ($i == 19) {
- echo "<a href=\"#\" id=\"toggleactions\">More »</a><div id=\"actions\">";
- }
- ++$i;
- }
- if (19 <= $i) {
- echo "<a href=\"#\">Back to top ↑</a></div>";
- }
- } else {
- echo "<p class=\"yellow\">Nothing is going on right now.</p>";
- }
- echo "</div>\r\n";
- foot();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement