PHP:
скопировать код в буфер обмена
скопировать код в буфер обмена
- <?PHP
- include 'conf.php';
- {
- $userdata = mysql_fetch_assoc(mysql_query("SELECT * FROM users WHERE users_id = '".intval($_COOKIE['id'])."' LIMIT 1"));
- if(($userdata['users_hash'] !== $_COOKIE['hash']) or ($userdata['users_id'] !== $_COOKIE['id']))
- {
- }
- }
- else
- {
- }
- ?>
- <!DOCTYPE html><html><head><?PHP include "/inc/header.php" ?> <title>Лог</title>
- </head><body>
- <?PHP
- include "/inc/menu.php";
- ?>
- <h1>Лог</h1>
- <?PHP
- ?>
- <table class="table table-striped">
- <tr>
- <th>Отправитель</th>
- <th>Получатель</th>
- <th>Количество</th>
- <th>Время</th>
- </tr>
- <?PHP
- print '<tr><td>'.$row['user_from'].'</td>';
- print '<td>'.$row['user_to'].'</td>';
- print '<td>'.$row['count'].'</td>';
- print '<td>'.$row['time'].'</td> </tr>';
- }
- }
- ?>
- </table></body></html>