/*
* Patch for filter_var()
*/
if(!function_exists('filter_var')){
define('FILTER_VALIDATE_IP', 'ip');
define('FILTER_FLAG_IPV4', 'ipv4');
define('FILTER_FLAG_IPV6', 'ipv6');
define('FILTER_VALIDATE_EMAIL', 'email');
define('FILTER_FLAG_EMAIL_UNICODE', 'unicode');
function filter_var($variable, $filter, $option = false){
if($filter == 'ip'){
if($option == 'ipv4'){
if(preg_match("/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/", $variable, $matches)){
$variable = $matches[1];
return $variable;
}
}
if($option == 'ipv6'){
if(preg_match("/\s*(([:.]{0,7}[0-9a-fA-F]{0,4}){1,8})\s*/", $variable, $matches)){
$variable = $matches[1];
return $variable;
}
}
}
if($filter == 'email'){
if($option == 'unicode' || $option == false){
if(preg_match("/\s*(\S*@\S*\.\S*)\s*/", $variable, $matches)){
$variable = $matches[1];
return $variable;
}
}
}
}
}
User statistics for: MusicAIR
- Total Time Spent Online:
- 0 minutes.
- Total Posts:
- 45 posts
- Total Topics Started:
- 0 topics
- Number of Polls Created:
- 0 polls
- Number of Votes Cast:
- 1 votes
-
12 am
-
1 am
-
2 am
-
3 am
-
4 am
-
5 am
-
6 am
-
7 am
-
8 am
-
9 am
-
10 am
-
11 am
-
12 pm
-
1 pm
-
2 pm
-
3 pm
-
4 pm
-
5 pm
-
6 pm
-
7 pm
-
8 pm
-
9 pm
-
10 pm
-
11 pm
- General Chat
-
19 posts of the member's 45 posts (42.22%)
19
- Bugs
-
3 posts of the member's 45 posts (6.67%)
3
- Game News
-
1 posts of the member's 45 posts (2.22%)
1
- General Chat
-
19 posts of the board's 24019 posts (0.08%)
0.08%
- Game News
-
1 posts of the board's 1907 posts (0.05%)
0.05%
- Bugs
-
3 posts of the board's 9922 posts (0.03%)
0.03%
- General Chat
-
1 posts of the board's 23354 posts (0.00%)
0.00%