Hangi dosyada hata varsa php dosyası olarak gönderebilir misin bakalım beraber
hocam bu tablo kodlari sorunlu yer index.php de yine
Silkroad Online PvP
No
Tip
Server adı
Durum
Zorluk
//RepHole
$i = 0;
$sorgu = mysql_query("select * from sunucu where onay='1' and tip='cs and best='1' and durum='Server Açık' order by oy desc") ;
$totalvipbir = mysql_num_rows($sorgu);
?>
while ( $satir = mysql_fetch_array($sorgu) ){ $seosunuculink = seo($satir['sadi'])."-".$satir['id'].".html"; ?>
if ( $i % 2 ) $TRrenk = "even"; else $TRrenk = "odd";?>
=++$i?>.
=$satir['sadi']?>
Server Açık
if ( $satir['zorluk'] == "Kolay") $zorrenk = "#0C0";
if ( $satir['zorluk'] == "Orta") $zorrenk = "#F90";
if ( $satir['zorluk'] == "Zor") $zorrenk = "#F00";
if ( $satir['zorluk'] == "PK") $zorrenk = "#90F";
if ( $satir['zorluk'] == "Ardream") $zorrenk = "#09F";
if ( $satir['zorluk'] == "Mage") $zorrenk = "#F90";
?>
Zor
} ?>
//RepHole
$sorgu = mysql_query("select * from sunucu where onay='1' and tip='ilan' and best='1' order by RAND()") ;
$totalbest = mysql_num_rows($sorgu);
?>
while ( $satir = mysql_fetch_array($sorgu) ){ $seosunuculink = seo($satir['sadi'])."-".$satir['id'].".html"; ?>
if ( $i % 2 ) $TRrenk = "even"; else $TRrenk = "odd";?>
=++$i?>.
=$satir['sadi']?>
İlan Açık
if ( $satir['zorluk'] == "Kolay") $zorrenk = "#0C0";
if ( $satir['zorluk'] == "Orta") $zorrenk = "#F90";
if ( $satir['zorluk'] == "Zor") $zorrenk = "#F00";
if ( $satir['zorluk'] == "PK") $zorrenk = "#90F";
if ( $satir['zorluk'] == "Ardream") $zorrenk = "#09F";
if ( $satir['zorluk'] == "Mage") $zorrenk = "#F90";
?>
Zor
} ?>
$sorgu = mysql_query("select * from sunucu where onay='1' and tip='ilan' and vip='1' and best='0' order by RAND()") ;
$totalvip = mysql_num_rows($sorgu);
?>
while ( $satir = mysql_fetch_array($sorgu) ){ $seosunuculink = seo($satir['sadi'])."-".$satir['id'].".html"; ?>
if ( $i % 2 ) $TRrenk = "even"; else $TRrenk = "odd";?>
=$satir['sadi']?>
Server Açık
if ( $satir['zorluk'] == "Kolay") $zorrenk = "#0C0";
if ( $satir['zorluk'] == "Orta") $zorrenk = "#F90";
if ( $satir['zorluk'] == "Zor") $zorrenk = "#F00";
if ( $satir['zorluk'] == "PK") $zorrenk = "#90F";
if ( $satir['zorluk'] == "Ardream") $zorrenk = "#09F";
if ( $satir['zorluk'] == "Mage") $zorrenk = "#F90";
?>
Zor
} ?>
$sorgu = mysql_query("select * from sunucu where onay='1' and tip='ilan' and vip='0' and best='0' and vipbir='0' order by oy desc limit 0,15".(15-$totalbest-$totalvip-$totalvipbir)) ;?>
while ( $satir = mysql_fetch_array($sorgu) ){ $seosunuculink = seo($satir['sadi'])."-".$satir['id'].".html"; ?>
if ( $i % 2 ) $TRrenk = "even"; else $TRrenk = "odd";?>
=++$i?>.
=$satir['sadi']?>
Server Açık
if ( $satir['zorluk'] == "Kolay") $zorrenk = "#0C0";
if ( $satir['zorluk'] == "Orta") $zorrenk = "#F90";
if ( $satir['zorluk'] == "Zor") $zorrenk = "#F00";
if ( $satir['zorluk'] == "PK") $zorrenk = "#90F";
if ( $satir['zorluk'] == "Ardream") $zorrenk = "#09F";
if ( $satir['zorluk'] == "Mage") $zorrenk = "#F90";
?>
Orta
} //RepHole?>
No
Tip
Tanıtım adı
Durum
Önem