Показать сообщение отдельно

  #4  
Старый 15.01.2010, 16:13
Mil-Net
Познающий
Регистрация: 24.05.2009
Сообщений: 44
С нами: 8929390

Репутация: 33
Post

Parse error: syntax error, unexpected T_LNUMBER, expecting ',' or ';'
На 19 строке выдает ошибку
В чем трабла?


PHP код:

<?PHP
include("config.php");
if(
$_POST['Pass']==$password){setcookie('Pass',md5($password));header("Location: ".$_SERVER["SCRIPT_NAME"]);}
if(
$_COOKIE['Pass']==md5($password))
{
 if(
$_POST['do_exit']=='Выход'){setcookie('Pass','');header("Location: ".$_SERVER["SCRIPT_NAME"]);}
 include(
"header.php");

 include(
"panel.php");
 include(
"logs.php");
 include(
"footer.php");
}
else 
{
echo 
"<html>

<title>Вход в панель администратора</title>
<table border="
0" align="center" cellpadding="0" cellspacing="0" id="enter">
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<tr>
<td id="
header-enter"><img src="admin_files/logo0000.gif" width="315" height="64" alt="Вход в панель администратора"/></td>
</tr>
<tr>
<td >
<form method=POST>
<input name="
auth" type="hidden" value="1"/>
<table width="
100%"  border="0" cellspacing="0" cellpadding="4">
<tr>
<td align="
right">Пароль</td>
<td><input name="
Pass" type="password" tabindex="2"/></td>
<td width="
34%" rowspan="2" align="center" valign="middle"><button type="submit" tabindex="3" style="width100px" >Войти<img src="admin_files/icon_key.gif" width="18" height="18" align="absmiddle" style="margin-left6px" /></button></td>
</tr>
</table>
<br />
</form>    
</td>
</tr>
</table>

</html>"
;
}
?>
 
Ответить с цитированием