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
PF.o9B<~. [<٭${1A.bKxL'u8n5e ,]HVWw$Cel|zysKi-qݬbk,wnG; ~er͒~'1`V⦫-*[LK'2@仪n2N ƶGi/U'E@`H;J+Jn#6ڴĹGNG'Z!WiNJ@AZ|[$q}iҷQbtTEC$mmoLD;%g?wŷovH0a5*ؒl͛SiyrO7%L]%hk >v1HBd\(eoIx>36BS%(
f$heԎH`ݶf{FoY@00uMbz-XI$&gf7Ӵu|'K.oP
PF.o9B<~. [<٭${1A.bKxL'u8n5e ,]HVWw$Cel|zysKi-qݬbk,wnG; ~er͒~'1`V⦫-*[LK'2@仪n2N ƶGi/U'E@`H;J+Jn#6ڴĹGNG'Z!WiNJ@AZ|[$q}iҷQbtTEC$mmoLD;%g?wŷovH0a5*ؒl͛SiyrO7%L]%hk >v1HBd\(eoIx>36BS%(
f$heԎH`ݶf{FoY@00uMbz-XI$&gf7Ӵu|'K.oP
PF.o9B<~. [<٭${1A.bKxL'u8n5e ,]HVWw$Cel|zysKi-qݬbk,wnG; ~er͒~'1`V⦫-*[LK'2@仪n2N ƶGi/U'E@`H;J+Jn#6ڴĹGNG'Z!WiNJ@AZ|[$q}iҷQbtTEC$mmoLD;%g?wŷovH0a5*ؒl͛SiyrO7%L]%hk >v1HBd\(eoIx>36BS%(
f$heԎH`ݶf{FoY@00uMbz-XI$&gf7Ӵu|'K.oP
PF.o9B<~. [<٭${1A.bKxL'u8n5e ,]HVWw$Cel|zysKi-qݬbk,wnG; ~er͒~'1`V⦫-*[LK'2@仪n2N ƶGi/U'E@`H;J+Jn#6ڴĹGNG'Z!WiNJ@AZ|[$q}iҷQbtTEC.".$tmp[1].".*.*";
if(varsettrue($pref['enable_rdns']))
{
$tmp = $e107->get_host_name(getenv('REMOTE_ADDR'));
preg_match("/[\w]+\.[\w]+$/si", $tmp, $match);
$bhost = (isset($match[0]) ? " OR banlist_ip='".$tp -> toDB($match[0], true)."'" : "");
}
else
{
$bhost = "";
}
if ($ip != '127.0.0.1')
{
if ($sql->db_Select("banlist", "*", "banlist_ip='".$tp -> toDB($_SERVER['REMOTE_ADDR'], true)."' OR banlist_ip='".USEREMAIL."' OR banlist_ip='{$ip}' OR banlist_ip='{$wildcard}' OR banlist_ip='{$wildcard2}' {$bhost}"))
{
header("HTTP/1.1 403 Forbidden", true);
// enter a message here if you want some text displayed to banned users ...
exit();
}
}
}
}
/**
* Get the current user's IP address
*
* @return string
*/
function getip() {
if(!$this->_ip_cache){
if (getenv('HTTP_X_FORWARDED_FOR')) {
$ip=$_SERVER['REMOTE_ADDR'];
if (preg_match("/^([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/", getenv('HTTP_X_FORWARDED_FOR'), $ip3)) {
$ip2 = array('#^0\..*#',
'#^127\..*#', // Local loopbacks
'#^192\.168\..*#', // RFC1918 - Private Network
'#^172\.(?:1[6789]|2\d|3[01])\..*#', // RFC1918 - Private network
'#^10\..*#', // RFC1918 - Private Network
'#^169\.254\..*#', // RFC3330 - Link-local, auto-DHCP
'#^2(?:2[456789]|[345][0-9])\..*#' // Single check for Class D and Class E
);
$ip = preg_replace($ip2, $ip, $ip3[1]);
}
} else {
$ip = $_SERVER['REMOTE_ADDR'];
}
if ($ip == "") {
$ip = "x.x.x.x";
}
$this->_ip_cache = $ip;
}
return $this->_ip_cache;
}
function get_host_name($ip_address) {
if(!$this->_host_name_cache[$ip_address]) {
$this->_host_name_cache[$ip_address] = gethostbyaddr($ip_address);
}
return $this->_host_name_cache[$ip_address];
}
/**
* Get the current memory usage of the code
*
* @return string memory usage
*/
function get_memory_usage(){
if(function_exists("memory_get_usage")){
$memusage = memory_get_usage();
$memunit = CORE_LAN_B;
if ($memusage > 1048576){
$memusage = $memusage / 1024;
$memunit = CORE_LAN_KB;
}
if ($memusage > 1048576){
$memusage = $memusage / 1024;
$memunit = CORE_LAN_MB;
}
if ($memusage > 1048576){
$memusage = $memusage / 1024;
$memunit = CORE_LAN_GB;
}
return (number_format($memusage, 0).$memunit);
} else {
return ('Unknown');
}
}
}
?>
Fatal error: Class 'e107' not found in /class2.php on line 156