/*
* 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: beirut785
- Total Time Spent Online:
- 33 minutes.
- Total Posts:
- 302 posts
- Total Topics Started:
- 9 topics
- Number of Polls Created:
- 0 polls
- Number of Votes Cast:
- 20 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
-
48 posts of the member's 302 posts (15.89%)
48
- Bugs
-
9 posts of the member's 302 posts (2.98%)
9
- Game Data
-
7 posts of the member's 302 posts (2.32%)
7
- Game News
-
1 posts of the member's 302 posts (0.33%)
1
- Game Data
-
7 posts of the board's 2194 posts (0.32%)
0.32%
- General Chat
-
48 posts of the board's 24017 posts (0.20%)
0.20%
- Bugs
-
9 posts of the board's 9922 posts (0.09%)
0.09%
- General Chat
-
13 posts of the board's 23354 posts (0.06%)
0.06%
- Game News
-
1 posts of the board's 1907 posts (0.05%)
0.05%