$bkurl = 'javascript:history.go(-1)';
                echo $btsuerrormsg;
                ?>
				<strong><a class="btn btn-primary" href="<?php 
                echo $bkurl;
                ?>
" >[返回]</a></strong>
				<?php 
                exit;
            }
            $wname = fzr($_POST['wname']);
            $wdomain = fzr($_POST['wdomain']);
            $rank = intval($_POST['Rank']);
            $zt = intval($_POST['zt']);
            $from = intval($_POST['from']);
            NewWBlack($wname, $wdomain, $rank, $zt, $from, $text, 0, 0);
        default:
            break;
    }
}
if (isset($_SESSION['BtsuDel'])) {
    $_SESSION['BtsuDel'] == 'Un';
}
if (!isset($_GET['page'])) {
    $nuba = 0;
    $nubb = 30;
    $page = 1;
} else {
    $page = intval($_GET['page']);
    if ($page <= 1) {
        $page = 1;
Example #2
0
         }
         $wdomain = $wbaddmsg[1];
         if ($wdomain == "") {
             continue;
         }
         $wzt = $wbaddmsg[2];
         if ($wzt == "") {
             continue;
         }
         $from = $wbaddmsg[3];
         if ($from == "") {
             $from = '3';
         }
         $text = $wbaddmsg[4];
         if (!IsWBlack($wdomain, $from)) {
             NewWBlack($wname, $wdomain, '4', $wzt, $from, $text, $zcid, 1);
         }
     }
 } while ($nwpage <= $wpage);
 echo '<br />' . '应用黑名单引导完成!100%...<br />正在索引地址黑名单引导...wait..' . '<br />';
 $Wapiurl = 'http://' . $apiurl . '?setp=1&msg=eblack&tag=' . $tag;
 $datemsg = BCurlKey($Wapiurl);
 $dateobj = json_decode($datemsg);
 if (!isset($dateobj->num)) {
     echo 'BTSnowBall站云返回数据异常,可能是该站云正在整理数据\\暂停服务\\服务器过忙。请择时重试。';
     exit;
 }
 echo '该云总计提供地址黑名单数量为:' . $dateobj->num . ';分' . $dateobj->page . '组提供;版本为' . $dateobj->ves;
 $wpage = intval($dateobj->page);
 $nwpage = 1;
 do {