=MAINTENANCE_START && time()<=MAINTENANCE_END && !in_array($_SERVER['REMOTE_ADDR'], MAINTENANCE_BYPASS_IPS) && !isMaintenancePage()){ if(isset($_SESSION['maintenance_redirect'])) { unset($_SESSION['maintenance_redirect']); } else { header("HTTP/1.1 503 Service Unavailable"); header("Cache-Control: no-cache, must-revalidate", true); $_SESSION['maintenance_redirect'] = true; header("Location: ".MAINTENANCE_PAGE); } exit; } else { unset($_SESSION['maintenance_redirect']); } function includeMaintenanceConfig(){ $configPath=$_SERVER['DOCUMENT_ROOT'].'/assets/app/maintenance_config.php'; if(file_exists($configPath)){ require_once $configPath; } else { echo "File di configurazione manutenzione non trovato"; exit; } } ?> progress-bar - Gebher

progress-bar - Gebher

Go to content

Progress value is

Customer Satisfaction

Progress value is 0%

Previous period: 95%

-3.2%

Domain: gebher.com

Progress value is 0%

Previous period: 95%

-3.2%
Back to content
'../', '/cart/' => '../', '/cartsearch/' => '../', '/product/' => '../', ]; $qpath = ''; foreach($paths as $path => $value){ if(strpos($qblog, $path) !== false) { $qpath = $value; break; } } if (file_exists(__DIR__ . "/" . $qpath . "my_banner.php")) { require_once (__DIR__ . "/" . $qpath . "my_banner.php"); } else { // gestione degli errori echo "Il file my_banner.php non è stato trovato."; error_log("Il file my_banner.php non è stato trovato."); } ?> ";}?> '../', '/cart/' => '../', '/cartsearch/' => '../', '/product/' => '../', ]; $qpath = ''; foreach($paths as $path => $value){ if(strpos($qblog, $path) !== false) { $qpath = $value; break; } } if (file_exists(__DIR__ . "/" . $qpath . "db_connect.php")) { require_once (__DIR__ . "/" . $qpath . "db_connect.php"); } else { // gestione degli errori echo "Il file my_banner.php non è stato trovato."; error_log("Il file my_banner.php non è stato trovato."); } if (isset($_SERVER['HTTP_DNT']) && $_SERVER['HTTP_DNT'] == "1") { //echo "L'utente sta utilizzando la modalità do-not-track"; /************************************************************/ include_once 'db_connect.php'; /*** ***/ if(stripos($_SERVER['HTTP_USER_AGENT'],'bot') === false){ //Only if NOT a Bot $ref= $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_X_FORWARDED_FOR']; $url = 'http' . (empty($_SERVER['HTTPS']) ? '' : 's') . '://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; $refer= $_SERVER ['HTTP_REFERER']; $uag= $_SERVER ['HTTP_USER_AGENT']; //$mail= $user['email']; $_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_X_FORWARDED_FOR']; date_default_timezone_set('Europe/Rome'); $ipLog="logfile.html"; // Your logfiles name here (.txt or .html extensions ok) // IP logging function by Dave Lauderdale // Originally published at: www.digi-dl.com $register_globals = (bool) ini_get('register_gobals'); if ($register_globals) $ip = getenv(REMOTE_ADDR); else $ip = $_SERVER['REMOTE_ADDR']; $date=date ("l dS of F Y h:i:s A"); $log=fopen("$ipLog", "a+"); date_default_timezone_set("Europe/Rome"); $date = date("d/m/Y - H:i:s"); $uidd = $_COOKIE['PHPSESSID']; $lang = trim(substr( strtok(strtok($_SERVER['HTTP_ACCEPT_LANGUAGE'], ','), ';'), 0, 5)); //$email = $user['email']; $sql = "INSERT INTO _log (ip, date, url, referrer, agent, email, uid, lang) VALUES ('$ip', '$date' , '$url' , '$refer', '$uag', '$email', '$uidd', '$lang')"; if ($conn->query($sql) === TRUE) { //echo "New record created successfully"; //echo "New Record Created: Safety Data Backup - User Navigation Log"; } else { //echo "Error: " . $sql . "
" . $conn->error; // echo "Error (Safety Data Backup - User Navigation Log): " . $sql . "
" . $conn->error; } $conn->close(); } /*** ***/ /************************************************************/ } else { //echo "L'utente non sta utilizzando la modalità do-not-track"; } ?>