/*
* 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: StephenM
- Total Time Spent Online:
- 35 days, 22 minutes.
- Total Posts:
- 6039 posts
- Total Topics Started:
- 587 topics
- Number of Polls Created:
- 18 polls
- Number of Votes Cast:
- 109 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
- Implemented Suggestions
-
16 posts of the board's 69 posts (23.19%)
23.19%
- Game Updates
-
321 posts of the board's 1434 posts (22.38%)
22.38%
- News
-
8 posts of the board's 44 posts (18.18%)
18.18%
- [++] Suggestions
-
8 posts of the board's 51 posts (15.69%)
15.69%
- [+] Suggestions
-
14 posts of the board's 102 posts (13.73%)
13.73%
- Iarnród Mogal
-
45 posts of the board's 350 posts (12.86%)
12.86%
- Bugs
-
1166 posts of the board's 9922 posts (11.75%)
11.75%
- [=] Suggestions
-
25 posts of the board's 224 posts (11.16%)
11.16%
- Suggestions
-
54 posts of the board's 517 posts (10.44%)
10.44%
- Game News
-
188 posts of the board's 1907 posts (9.86%)
9.86%