www.ihyaforum.com
'; exit; } mysql_select_db('ihya_forum'); //include_once('inc_miftah.php'); /* CREATE TABLE `mc_404_ref` ( `RefNo` int(11) NOT NULL auto_increment, `SayfaNo` int(11) NOT NULL default '0', `Ref` varchar(250) NOT NULL default '', `Hit` int(11) NOT NULL default '0', `TarihEk` int(11) NOT NULL default '0', `TarihSon` int(11) NOT NULL default '0', PRIMARY KEY (`RefNo`), KEY `Ref` (`Ref`), KEY `SayfaNo` (`SayfaNo`), KEY `SayfaNo_2` (`SayfaNo`,`Ref`) ) ENGINE=MyISAM ; -- -------------------------------------------------------- -- -- Tablo yapısı : `mc_404_sayfa` -- CREATE TABLE `mc_404_sayfa` ( `SayfaNo` int(11) NOT NULL auto_increment, `Sayfa` varchar(100) NOT NULL default '', `Yolla` varchar(100) NOT NULL default '', `Baslik` varchar(100) NOT NULL default '', `Metin` text NOT NULL, `Hit` int(11) NOT NULL default '0', `TarihEk` int(11) NOT NULL default '0', `TarihSon` int(11) NOT NULL default '0', `Pasifmi` tinyint(1) NOT NULL default '0', PRIMARY KEY (`SayfaNo`), KEY `Sayfa` (`Sayfa`) ) ENGINE=MyISAM ; */ $q = addslashes($_REQUEST['sayfa']); if ($q == '') $q = addslashes($_SERVER['REQUEST_URI']); if ($q == ''){ header('location: https://www.ihyaforum.com/');exit; } $islem = new islem($q); $Baslik = $islem->baslik; $Bilgi = ''; if ($islem->ehval!=1){ header('location: https://www.ihyaforum.com/'); exit; } function parca($q){ $q = explode('/',$q); if (sizeof($q)==2){ // Super-Lig Canli-Yayinlar if ($q[0]=='forum' || $q[0]=='Haberler' || $q[0]=='Video-Haber' || $q[0]=='Super-Lig' || $q[0]=='Canli-Yayinlar'){ $y = explode('-',$q[1]); if (sizeof($y)>1) unset($y[sizeof($y)-1]); return implode(' ',$y); } }else{ } } if ($Baslik==''){ $Baslik = parca($q); if ($Baslik!=''){ $islem->metin = $Baslik; $islem->title = $Baslik; } } /* */ ?> | ihyaforum.com baslik!='') echo "

". $islem->baslik ."

"; ?> ehval==1){ ?>



Düzenle - ". $islem->hit ." defa okundu

"; ?> ehval!=1){ ?>

ihyaforum.com

ihyaforum.com sitemizde yeni güncelleme yapilmaktadir.

ihya forum

sn = $res['SayfaNo']; $this->ehval = $res['Ehval']; $Yolla = $res['Yolla']; $this->baslik =$res['Baslik']; $this->hit =$res['Hit']; if ($res['Pasifmi']==0)$this->ref(); if (strlen($Yolla)>10){ header( "HTTP/1.1 301 Moved Permanently"); header("Location: $Yolla"); exit; } if ($res['Title']!="") $this->title =$res['Baslik']; elseif ($res['Baslik']!="")$this->title =$res['Baslik']; else $this->title ="ihyaforum.com"; if ($res['Metin']!="")$this->metin = nl2br($res['Metin']); else $this->metin ="ihyaforum.com"; mysql_query("UPDATE mc_404_sayfa SET Hit=Hit+1, TarihSon='$Tarih' WHERE SayfaNo='$this->sn'"); } }else{ $IP = GETENV("REMOTE_ADDR"); mysql_query("INSERT INTO mc_404_sayfa (Sayfa,IP,TarihEk,Hit) VALUES ('$q','$IP','$Tarih','1')"); $this->sn = mysql_insert_id(); $this->ref(); $this->title ="ihyaforum.com"; $this->metin ="ihyaforum.com"; } } function ref(){ $ref = $_SERVER['HTTP_REFERER']; if ($ref){ $Tarih = time(); $rs = mysql_query("SELECT RefNo FROM mc_404_ref WHERE Ref='$ref' and SayfaNo='$this->sn'"); if(mysql_num_rows($rs)){ $res = mysql_fetch_array($rs); mysql_query("UPDATE mc_404_ref SET Hit=Hit+1, TarihSon='$Tarih' WHERE RefNo='".$res['RefNo']."'"); }else{ mysql_query("INSERT INTO mc_404_ref (Ref,TarihEk,SayfaNo,Hit) VALUES ('$ref','$Tarih','$this->sn','1')"); } } } } ?>