online_time); $int=time()-$value; if($int>180){ return '0'; }else{ return '1'; } } }