arkadaslar sitemin index.php içine en kodların altına google last visit kodu koydum bozuldu index.php hiç göstermiyor koydugum kodu hic ellemeden sildm değişmedi neden acaba buda index.php kodu
Lütfen Yardım Edin...
Site index.php sayfası
Sitemi Eski Haline nasıl getiricem hiç ellemedim kodları sadece bir html kodu ekleyip kaydettim sonrada sadece o kodu sildim lütfen acill yardımmm...
<?php require_once('Connections/baglantim.php');
?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "lisanssız";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "lisanssız";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "lisanssız";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "lisanssız";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
if (isset($_COOKIE["oyuncu"]))
{
}
else {
mysql_select_db($database_baglantim, $baglantim);
$query_oyuncu_getir = "select * from oyuncu order by rand() limit 1";
$oyuncu_getir = mysql_query($query_oyuncu_getir, $baglantim) or die(mysql_error());
$row_oyuncu_getir = mysql_fetch_assoc($oyuncu_getir);
$totalRows_oyuncu_getir = mysql_num_rows($oyuncu_getir);
$resim=$row_oyuncu_getir['resim'];
$ad =$row_oyuncu_getir['ad'];
$about=$row_oyuncu_getir['adres'];
$oyuncu='tamam';
setcookie("resim", $resim, time()+3600*24);
setcookie("ad", $ad, time()+3600*24);
setcookie("about", $about, time()+3600*24);
setcookie("oyuncu", $oyuncu, time()+3600*24);
mysql_free_result($oyuncu_getir);
}
if (isset($_COOKIE["replik"]))
{
}
else {
mysql_select_db($database_baglantim, $baglantim);
$query_soz_getir = "select * from replik order by rand() limit 1";
$soz_getir = mysql_query($query_soz_getir, $baglantim) or die(mysql_error());
$row_soz_getir = mysql_fetch_assoc($soz_getir);
$totalRows_soz_getir = mysql_num_rows($soz_getir);
$soyleyen=$row_soz_getir['oyuncu_adi'];
$film =$row_soz_getir['soylenen_film'];
$soz=$row_soz_getir['replik'];
$replik='tamam';
setcookie("soyleyen", $soyleyen, time()+3600*24);
setcookie("film", $film, time()+3600*24);
setcookie("soz", $soz, time()+3600*24);
setcookie("replik", $replik, time()+3600*24);
mysql_free_result($soz_getir);
}
$maxRows_haber_getir = 10;
$pageNum_haber_getir = 0;
if (isset($_GET['pageNum_haber_getir'])) {
$pageNum_haber_getir = $_GET['pageNum_haber_getir'];
}
$startRow_haber_getir = $pageNum_haber_getir * $maxRows_haber_getir;
mysql_select_db($database_baglantim, $baglantim);
$query_haber_getir = "SELECT * FROM haber ORDER BY id DESC";
$query_limit_haber_getir = sprintf("%s LIMIT %d, %d", $query_haber_getir, $startRow_haber_getir, $maxRows_haber_getir);
$haber_getir = mysql_query($query_limit_haber_getir, $baglantim) or die(mysql_error());
$row_haber_getir = mysql_fetch_assoc($haber_getir);
if (isset($_GET['totalRows_haber_getir'])) {
$totalRows_haber_getir = $_GET['totalRows_haber_getir'];
} else {
$all_haber_getir = mysql_query($query_haber_getir);
$totalRows_haber_getir = mysql_num_rows($all_haber_getir);
}
$totalPages_haber_getir = ceil($totalRows_haber_getir/$maxRows_haber_getir)-1;
$maxRows_film_getir = 10;
$pageNum_film_getir = 0;
if (isset($_GET['pageNum_film_getir'])) {
$pageNum_film_getir = $_GET['pageNum_film_getir'];
}
$startRow_film_getir = $pageNum_film_getir * $maxRows_film_getir;
mysql_select_db($database_baglantim, $baglantim);
$query_film_getir = "SELECT * FROM film ORDER BY id DESC";
$query_limit_film_getir = sprintf("%s LIMIT %d, %d", $query_film_getir, $startRow_film_getir, $maxRows_film_getir);
$film_getir = mysql_query($query_limit_film_getir, $baglantim) or die(mysql_error());
$row_film_getir = mysql_fetch_assoc($film_getir);
if (isset($_GET['totalRows_film_getir'])) {
$totalRows_film_getir = $_GET['totalRows_film_getir'];
} else {
$all_film_getir = mysql_query($query_film_getir);
$totalRows_film_getir = mysql_num_rows($all_film_getir);
}
$totalPages_film_getir = ceil($totalRows_film_getir/$maxRows_film_getir)-1;
$maxRows_yorum_getir = 10;
$pageNum_yorum_getir = 0;
if (isset($_GET['pageNum_yorum_getir'])) {
$pageNum_yorum_getir = $_GET['pageNum_yorum_getir'];
}
$startRow_yorum_getir = $pageNum_yorum_getir * $maxRows_yorum_getir;
mysql_select_db($database_baglantim, $baglantim);
$query_yorum_getir = "SELECT * FROM film ORDER BY rand()";
$query_limit_yorum_getir = sprintf("%s LIMIT %d, %d", $query_yorum_getir, $startRow_yorum_getir, $maxRows_yorum_getir);
$yorum_getir = mysql_query($query_limit_yorum_getir, $baglantim) or die(mysql_error());
$row_yorum_getir = mysql_fetch_assoc($yorum_getir);
if (isset($_GET['totalRows_yorum_getir'])) {
$totalRows_yorum_getir = $_GET['totalRows_yorum_getir'];
} else {
$all_yorum_getir = mysql_query($query_yorum_getir);
$totalRows_yorum_getir = mysql_num_rows($all_yorum_getir);
}
$totalPages_yorum_getir = ceil($totalRows_yorum_getir/$maxRows_yorum_getir)-1;
$yil=date('Y');
$maxRows_film_cek = 4;
$pageNum_film_cek = 0;
if (isset($_GET['pageNum_film_cek'])) {
$pageNum_film_cek = $_GET['pageNum_film_cek'];
}
$startRow_film_cek = $pageNum_film_cek * $maxRows_film_cek;
mysql_select_db($database_baglantim, $baglantim);
$query_film_cek = "SELECT * FROM film WHERE yapim='2011' ORDER BY rand()";
$query_limit_film_cek = sprintf("%s LIMIT %d, %d", $query_film_cek, $startRow_film_cek, $maxRows_film_cek);
$film_cek = mysql_query($query_limit_film_cek, $baglantim) or die(mysql_error());
$row_film_cek = mysql_fetch_assoc($film_cek);
if (isset($_GET['totalRows_film_cek'])) {
$totalRows_film_cek = $_GET['totalRows_film_cek'];
} else {
$all_film_cek = mysql_query($query_film_cek);
$totalRows_film_cek = mysql_num_rows($all_film_cek);
}
$totalPages_film_cek = ceil($totalRows_film_cek/$maxRows_film_cek)-1;
mysql_select_db($database_baglantim, $baglantim);
$query_reklam1 = "SELECT * FROM reklam WHERE boyut='200x200' ORDER BY rand() limit 1";
$reklam1 = mysql_query($query_reklam1, $baglantim) or die(mysql_error());
$row_reklam1 = mysql_fetch_assoc($reklam1);
$totalRows_reklam1 = mysql_num_rows($reklam1);
mysql_select_db($database_baglantim, $baglantim);
$query_reklam2 = "select * from reklam where boyut='200x200' order by rand() limit 1";
$reklam2 = mysql_query($query_reklam2, $baglantim) or die(mysql_error());
$row_reklam2 = mysql_fetch_assoc($reklam2);
$totalRows_reklam2 = mysql_num_rows($reklam2);
mysql_select_db($database_baglantim, $baglantim);
$query_Recordset1 = "select * from reklam where boyut='200x200' order by rand() limit 1";
$Recordset1 = mysql_query($query_Recordset1, $baglantim) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
session_start();
function permayap($deger) {
$turkce=array("
Lütfen Yardım Edin...
Site index.php sayfası
Sitemi Eski Haline nasıl getiricem hiç ellemedim kodları sadece bir html kodu ekleyip kaydettim sonrada sadece o kodu sildim lütfen acill yardımmm...
<?php require_once('Connections/baglantim.php');
?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "lisanssız";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "lisanssız";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "lisanssız";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "lisanssız";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
if (isset($_COOKIE["oyuncu"]))
{
}
else {
mysql_select_db($database_baglantim, $baglantim);
$query_oyuncu_getir = "select * from oyuncu order by rand() limit 1";
$oyuncu_getir = mysql_query($query_oyuncu_getir, $baglantim) or die(mysql_error());
$row_oyuncu_getir = mysql_fetch_assoc($oyuncu_getir);
$totalRows_oyuncu_getir = mysql_num_rows($oyuncu_getir);
$resim=$row_oyuncu_getir['resim'];
$ad =$row_oyuncu_getir['ad'];
$about=$row_oyuncu_getir['adres'];
$oyuncu='tamam';
setcookie("resim", $resim, time()+3600*24);
setcookie("ad", $ad, time()+3600*24);
setcookie("about", $about, time()+3600*24);
setcookie("oyuncu", $oyuncu, time()+3600*24);
mysql_free_result($oyuncu_getir);
}
if (isset($_COOKIE["replik"]))
{
}
else {
mysql_select_db($database_baglantim, $baglantim);
$query_soz_getir = "select * from replik order by rand() limit 1";
$soz_getir = mysql_query($query_soz_getir, $baglantim) or die(mysql_error());
$row_soz_getir = mysql_fetch_assoc($soz_getir);
$totalRows_soz_getir = mysql_num_rows($soz_getir);
$soyleyen=$row_soz_getir['oyuncu_adi'];
$film =$row_soz_getir['soylenen_film'];
$soz=$row_soz_getir['replik'];
$replik='tamam';
setcookie("soyleyen", $soyleyen, time()+3600*24);
setcookie("film", $film, time()+3600*24);
setcookie("soz", $soz, time()+3600*24);
setcookie("replik", $replik, time()+3600*24);
mysql_free_result($soz_getir);
}
$maxRows_haber_getir = 10;
$pageNum_haber_getir = 0;
if (isset($_GET['pageNum_haber_getir'])) {
$pageNum_haber_getir = $_GET['pageNum_haber_getir'];
}
$startRow_haber_getir = $pageNum_haber_getir * $maxRows_haber_getir;
mysql_select_db($database_baglantim, $baglantim);
$query_haber_getir = "SELECT * FROM haber ORDER BY id DESC";
$query_limit_haber_getir = sprintf("%s LIMIT %d, %d", $query_haber_getir, $startRow_haber_getir, $maxRows_haber_getir);
$haber_getir = mysql_query($query_limit_haber_getir, $baglantim) or die(mysql_error());
$row_haber_getir = mysql_fetch_assoc($haber_getir);
if (isset($_GET['totalRows_haber_getir'])) {
$totalRows_haber_getir = $_GET['totalRows_haber_getir'];
} else {
$all_haber_getir = mysql_query($query_haber_getir);
$totalRows_haber_getir = mysql_num_rows($all_haber_getir);
}
$totalPages_haber_getir = ceil($totalRows_haber_getir/$maxRows_haber_getir)-1;
$maxRows_film_getir = 10;
$pageNum_film_getir = 0;
if (isset($_GET['pageNum_film_getir'])) {
$pageNum_film_getir = $_GET['pageNum_film_getir'];
}
$startRow_film_getir = $pageNum_film_getir * $maxRows_film_getir;
mysql_select_db($database_baglantim, $baglantim);
$query_film_getir = "SELECT * FROM film ORDER BY id DESC";
$query_limit_film_getir = sprintf("%s LIMIT %d, %d", $query_film_getir, $startRow_film_getir, $maxRows_film_getir);
$film_getir = mysql_query($query_limit_film_getir, $baglantim) or die(mysql_error());
$row_film_getir = mysql_fetch_assoc($film_getir);
if (isset($_GET['totalRows_film_getir'])) {
$totalRows_film_getir = $_GET['totalRows_film_getir'];
} else {
$all_film_getir = mysql_query($query_film_getir);
$totalRows_film_getir = mysql_num_rows($all_film_getir);
}
$totalPages_film_getir = ceil($totalRows_film_getir/$maxRows_film_getir)-1;
$maxRows_yorum_getir = 10;
$pageNum_yorum_getir = 0;
if (isset($_GET['pageNum_yorum_getir'])) {
$pageNum_yorum_getir = $_GET['pageNum_yorum_getir'];
}
$startRow_yorum_getir = $pageNum_yorum_getir * $maxRows_yorum_getir;
mysql_select_db($database_baglantim, $baglantim);
$query_yorum_getir = "SELECT * FROM film ORDER BY rand()";
$query_limit_yorum_getir = sprintf("%s LIMIT %d, %d", $query_yorum_getir, $startRow_yorum_getir, $maxRows_yorum_getir);
$yorum_getir = mysql_query($query_limit_yorum_getir, $baglantim) or die(mysql_error());
$row_yorum_getir = mysql_fetch_assoc($yorum_getir);
if (isset($_GET['totalRows_yorum_getir'])) {
$totalRows_yorum_getir = $_GET['totalRows_yorum_getir'];
} else {
$all_yorum_getir = mysql_query($query_yorum_getir);
$totalRows_yorum_getir = mysql_num_rows($all_yorum_getir);
}
$totalPages_yorum_getir = ceil($totalRows_yorum_getir/$maxRows_yorum_getir)-1;
$yil=date('Y');
$maxRows_film_cek = 4;
$pageNum_film_cek = 0;
if (isset($_GET['pageNum_film_cek'])) {
$pageNum_film_cek = $_GET['pageNum_film_cek'];
}
$startRow_film_cek = $pageNum_film_cek * $maxRows_film_cek;
mysql_select_db($database_baglantim, $baglantim);
$query_film_cek = "SELECT * FROM film WHERE yapim='2011' ORDER BY rand()";
$query_limit_film_cek = sprintf("%s LIMIT %d, %d", $query_film_cek, $startRow_film_cek, $maxRows_film_cek);
$film_cek = mysql_query($query_limit_film_cek, $baglantim) or die(mysql_error());
$row_film_cek = mysql_fetch_assoc($film_cek);
if (isset($_GET['totalRows_film_cek'])) {
$totalRows_film_cek = $_GET['totalRows_film_cek'];
} else {
$all_film_cek = mysql_query($query_film_cek);
$totalRows_film_cek = mysql_num_rows($all_film_cek);
}
$totalPages_film_cek = ceil($totalRows_film_cek/$maxRows_film_cek)-1;
mysql_select_db($database_baglantim, $baglantim);
$query_reklam1 = "SELECT * FROM reklam WHERE boyut='200x200' ORDER BY rand() limit 1";
$reklam1 = mysql_query($query_reklam1, $baglantim) or die(mysql_error());
$row_reklam1 = mysql_fetch_assoc($reklam1);
$totalRows_reklam1 = mysql_num_rows($reklam1);
mysql_select_db($database_baglantim, $baglantim);
$query_reklam2 = "select * from reklam where boyut='200x200' order by rand() limit 1";
$reklam2 = mysql_query($query_reklam2, $baglantim) or die(mysql_error());
$row_reklam2 = mysql_fetch_assoc($reklam2);
$totalRows_reklam2 = mysql_num_rows($reklam2);
mysql_select_db($database_baglantim, $baglantim);
$query_Recordset1 = "select * from reklam where boyut='200x200' order by rand() limit 1";
$Recordset1 = mysql_query($query_Recordset1, $baglantim) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
session_start();
function permayap($deger) {
$turkce=array("