예제 #1
0
error_reporting(E_ALL ^ E_NOTICE);
//接收stationid
$stationid = $argv[1];
if (!$stationid) {
    exit;
}
$obj = new Useractivity($stationid);
$station = $obj->STATION[0];
$check = $obj->CheckDo();
$filelogs = array();
if (!in_array($station['id'], $check)) {
    $obj->deldir($obj->LOG_BASE_PATH . $station['logfile']);
    $obj->setPath($station['logfile'], $station['logname'], $station['is_moreweb']);
    $obj->setIpFilter($station['logip'], $station['ifconf'], $station['ap'], $station['xuip'], $station['is_alone']);
    $obj->Log($station['is_moreweb']);
    $obj->setStationId($station['id']);
    $obj->Sindex_uv();
    $obj->alertwindow();
    $obj->ClickRedPacket();
    $obj->ActivityPage();
    $obj->DownAppInfo();
    $obj->SendMessage();
    $obj->UserQuestion();
    $obj->Lottery();
    $obj->AlertClose();
    $obj->AlertDraw();
    /*$obj->MobileBrand();
    	$obj->BrowserUse();
    	$obj->SysUse();*/
    $obj->InCheck();
}