Example #1
0
	static function is_max($max = null) {
		$tuser = new CTableQ();
		
		if($max === null) {
			$max = CTableConfiguration::get_value_by_element('USER_MAX_NUMBER');
		}
		
		if($max <= 0) {
			return false;
		}
		
		return ($tuser->get_nb() >= $max);
	}