xtz3
Новичёк
Карма: 0
Сообщений: 1
|
 |
« : Октябрь 23, 2007, 18:36:42 » |
|
Я почти ничего не понимаю в PHP поэтому обращаюсь к вам за помощью, подскажите пожалуйста почему это не работает? это index.php
<? Error_Reporting(E_ALL & ~E_NOTICE); if ($pus<>""){ setcookie ("par", $pus,time()+60*60*24*30); // кука на месяц } $r_login = str_replace('..',"",$r_login); $r_login = str_replace('.',"",$r_login); $r_login = str_replace('/',"",$r_login); $r_login = str_replace('>',"",$r_login); $r_login = str_replace('<',"",$r_login); include "pg/service.inc"; include "setup.php"; session_start(); $l=$HTTP_SESSION_VARS['l']; $resulth=mysql_query("select * from seting "); $rows=mysql_fetch_array($resulth); $title=$rows['cas_name']; $wmid=$rows['wmid']; ?>
<html> <head> <title><?php echo $title;?></title> <META content="интернет казино, лотереи, лотерея, азартные игры, игры онлайн, лотереи онлайн, угадай число, наперстки, ставка, выиграть, удача, партнерская программа, интернет казино" name=title> <META content="интернет казино, лотереи, лотерея, азартные игры, игры онлайн, лотереи онлайн, угадай число, наперстки, ставка, выиграть, удача, партнерская программа, интернет казино" name=title> <META content="3 days" name=revisit> <META content=index,follow name=robots> <LINK href="/favicon.ico" rel="SHORTCUT ICON"> <meta http-equiv="content-type" content="text/html; charset=windows-1251"> <link rel="stylesheet" href="style.css">
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red"> <table border="0" width="100%" height="100%"> <tr> <td width="100%" colspan="3" style="background-image:url('img/logo.gif'); border-width:1; border-color:rgb(240,66,67); border-style:solid;" height="71">
<p align="center"><font size="6" face="Gill Sans Ultra Bold" color="#CB0E0E"><? echo $title;?></font><img src="img/money.gif" border="0"></p> </td> </tr> <tr> <td width="100%" height="18" colspan="3" style="background-image:url('img/m1.jpg'); border-width:1; border-color:rgb(255,0,51); border-style:solid;">
<p align="center"><? if(!isset($l)) {include "pg/menu.inc";} else include "pg/user_menu.inc"; ?> </p> </td> </tr> <tr> <td width="20%" height="100%" style="border-width:1; border-top-color:rgb(255,0,51); border-right-color:rgb(255,0,51); border-bottom-color:rgb(240,66,67); border-left-color:rgb(240,66,67); border-style:solid;" align="center" valign="top"> <? if(!isset($l)) {include "pg/l_menu.inc";} else {include "pg/left.inc";} ?></td> <td width="100%" height="346" style="border-width:1; border-color:rgb(255,0,51); border-style:solid;" align="center" valign="top">
<p><? if (isset($_GET['pg']) == false) { if (isset($l) == false) {include("pg/index.inc");} else {include("pg/games.inc");} } else { if (ereg ("[a-z]", $_GET['pg']) and file_exists("pg/".$_GET['pg'].".inc") == true) { include("pg/".$_GET['pg'].".inc"); } else { include("pg/404.inc"); } } ?>
</p> </td> <td width="20%" height="100%" style="border-width:1; border-top-color:rgb(255,0,51); border-right-color:rgb(240,66,67); border-bottom-color:rgb(240,66,67); border-left-color:rgb(240,66,67); border-style:solid;" align="center" valign="top"><? include "pg/games_menu.inc";?></td> </tr> <tr> <td width="100%" height="30" colspan="3" style="background-image:url('img/m1.jpg'); border-width:1; border-color:rgb(240,66,67); border-style:solid;"> <p align="center"> <? include "pg/footer.inc";?></p> </td> </tr> </table> </body> </html> ОГРОМНЕЙШЕЕ СПАСИБО ВСЕМ КТО ОБРАТИЛ ВНИМАНИЕ!!!
|