if ($url=="index") { echo ""; } if($url=="index"){ if($date_style=="0") { $ship_date_1=date("m/d/Y");} // EU date format if($date_style=="1") { $ship_date_1=date("d/m/Y");} ?> }?> // store admin access // Split ban list if(!empty($admin_ip)){ $admin_ips = explode("\n", $admin_ip); foreach ($admin_ips as $adm) { // Remove newlines $adm = str_replace("\n","", $adm); // Get current user's IP address $adm_ip = $_SERVER[REMOTE_ADDR]; $adm = str_replace(" ", "",$adm); $adm_len = strlen($adm); $ip = substr($adm_ip, 0, $adm_len); // Check if current user's IP matches one in the database if ($ip !== $adm) { // Display banned IP message echo"$la_unauthorized"; exit; } } } // End store admin access ?>
![]() |
|