Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at X:\home\localhost\www\diplom23\connect.php:6) in X:\home\localhost\www\diplom23\header.php on line 2
Warning: Cannot modify header information - headers already sent by (output started at X:\home\localhost\www\diplom23\connect.php:6) in X:\home\localhost\www\diplom23\header.php on line 3
Warning: Cannot modify header information - headers already sent by (output started at X:\home\localhost\www\diplom23\connect.php:6) in X:\home\localhost\www\diplom23\header.php on line 11
header.php
PHP:
скопировать код в буфер обмена
скопировать код в буфер обмена
- <?
- $id_bask=$_COOKIE["id_bask"];
- {
- }
- else
- ?>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <html>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=UTF-8">
- <link rel="stylesheet" href="style.css" type="text/css">
- </form>
- <br>
- <br>
- <br>
- <title>КНИЖНЫЙ МАГАЗИН</title>
- </head><body class = "body">
- <body background="55.jpg" style="background-repeat:repeat-y"
- leftmargin="50" rightmargin="50" bgProperties=fixed>
- <table border="0" align="center" width="100%" cellpadding="0"
- cellspacing="0">
- <tr><td>
- <table border="0" align="right" width="100%" >
- <tr>
- <td align="center" bgcolor=" #2F4F4F">
- <form action="auto.php" method="post">
- <table>
- <tr><td align="right"><font size=-1>Логин:</font></td>
- <td align="left"><input type=text style="width:60; height:20;"
- name=login></td></tr>
- <tr><td align="right"><font size=-1>Пароль:</font>
- <td align="left"><input type=password style="width:60;height:20;"
- name=pass></tr></td>
- <input type=submit value=Войти style="height:25;"></tr></td>
- </table>
- <b><small>
- <?
- {
- print $_SESSION["log"];
- print "<br><a href='cabinet.php'>Личный кабинет</a>";
- }
- ?>
- </small></b></td>
- </form>
- <td colspan="6" align="center" bgcolor=" #2F4F4F">
- <font face="bookman old style" size="+4"><b>"ДОМ КНИГИ"</b></font></td></tr>
- <tr align="center"><td align="center" bgcolor="white" width="15%">
- <a href="catalog.php"><span style="color: black;"><b>Каталог</b></a></td>
- <td align="center" bgcolor="white" width="15%">
- <a href="basket.php"><span style="color: black;"><b>Корзина</b></a></td>
- <td align="center" bgcolor="white" width="15%">
- <a href="reg.php"><span style="color: black;"><b>Регистрация</b></a></td>
- <td align="center" bgcolor="white" width="15%">
- <a href="order.php"><span style="color: black;"><b>Заказ</b></a></td>
- <td align="center" bgcolor="white" width="15%">
- <a href="calendar.php"><span style="color: black;"><b>Календарь</b></a></td>
- <td align="center" bgcolor="white" width="15%">
- <a href="calc.php"><span style="color: black;"><b>Калькулятор</b></a></td>
- <td align="center" bgcolor="white" width="15%">
- <a href="exit.php"><span style="color: black;"><b>Выход</b></a></td>
- </tr>
- </table>
- </td></tr>
- <tr><td align="center" bgcolor=<?print $color?>><font
- face="Arial" size="+2">
- <i> <?print $title?> </i></font><br>
- </td></tr>