<?php
include_once 'connect.php';
$title = $title . ' : Мои игры';
include_once 'head.php';
if (!$u['id']) {
header("Location: registration.php?err=1");
exit;
}
echo '<div class=title>Мои игры</div>';
if ($u['game1']==1)echo '<div class=div><img src="/about/img/str.png" alt="" /><a href="/play_gamescool/web_game/game2/index.php"> Принц персии</a></div>';
if ($u['game2']==1)echo '<div class=div><img src="/about/img/str.png" alt="" /><a href="/play_gamescool/web_game/cat.php"> Кровавые кошки мышки</a></div>';
if ($u['game3']==1)echo '<div class=div><img src="/about/img/str.png" alt="" /><a href="/play_gamescool/web_game/mario.php"> Марио</a></div>';
if ($u['game8']==1)echo '<div class=div><img src="/about/img/str.png" alt="" /><a href="/play_gamescool/fish/"> Онлайн рыбалка</a></div>';
if ($u['game5']==1)echo '<div class=div><img src="/about/img/str.png" alt="" /><a href="/play_gamescool/web_game/comp.php"> Разбей свой старый компьютер</a></div>';
if ($u['game6']==1)echo '<div class=div><img src="/about/img/str.png" alt="" /><a href="/play_gamescool/web_game/yeti.php"> Запусти пингвина</a></div>';
if ($u['game7']==1)echo '<div class=div><img src="/about/img/str.png" alt="" /><a href="/play_gamescool/web_game/dor.php"> Гоночный драйв</a></div>';
echo "<div class=div>- <a href=/my_game_set.php> Добавить </a></div>";
include_once 'foot.php';
?>