<?php 
defined('IN_TS') or die('Access Denied.');

$userid = tsIntval($TS_USER['userid']);

if($userid){
	
	//过滤用户
	$tsSystemAntiUser = aac('system')->antiUser();
	if($tsSystemAntiUser){
		if(in_array($userid,$tsSystemAntiUser)){
			aac('user')->logout();
		}
	}
	
	echo 1;
	
}else{
	echo 0;
}