<?php
#########################################
# Скрипт онлайн игры "Симс"_____________#
# Автор: -=FеST=-_______________________#
# ICQ : 345-22-23 ______________________#
# Все права принадлежат автору(-=FeST=-)#
#########################################
include_once '../sys/inc/start.php';
include_once '../sys/inc/compress.php';
include_once '../sys/inc/sess.php';
include_once '../sys/inc/home.php';
include_once '../sys/inc/settings.php';
include_once '../sys/inc/db_connect.php';
include_once '../sys/inc/ipua.php';
include_once '../sys/inc/fnc.php';
include_once '../sys/inc/adm_check.php';
include_once '../sys/inc/user.php';
$set['title']='The Sims';
include_once '../sys/inc/thead.php';
title();
err();
aut();

if(!isset($user)){
echo 'Вы неавторизованы';
include_once '../sys/inc/tfoot.php';
exit;
}

include_once 'inc/start.php';

echo "<div style='background:#436AB7;text-align:center'><img src='i/logo.png' /></div>
<a href='profile.php' style='border:#5363A0 2px solid;color:#fff;background:#5572B4;display:block'><img src='i/contact.png' /> Мой Sim</a>
<a href='house.php' style='border:#5363A0 2px solid;color:#fff;background:#5572B4;display:block'><img src='i/house.png' /> Мой дом</a>
<a href='city.php' style='border:#5363A0 2px solid;color:#fff;background:#5572B4;display:block'><img src='i/city.png' /> Город</a>
".($sims_user['work_id']!=0 ? "<a href='working.php' style='border:#5363A0 2px solid;color:#fff;background:#5572B4;display:block'><img src='i/work.png' /> Работа</a>" : "")."
<a href='rating.php' style='border:#5363A0 2px solid;color:#fff;background:#5572B4;display:block'><img src='i/rating.png' /> Рейтинг</a>
<a href='chat.php' style='border:#5363A0 2px solid;color:#fff;background:#5572B4;display:block'><img src='i/chat.png' /> Чат</a>
<a href='about.php' style='border:#5363A0 2px solid;color:#fff;background:#5572B4;display:block'><img src='i/help_faq.png' /> О игре</a>
<a href='faq.php' style='border:#5363A0 2px solid;color:#fff;background:#5572B4;display:block'><img src='i/help.png' /> Помощь</a>
<a href='again.php' style='border:#5363A0 2px solid;color:#fff;background:#5572B4;display:block'><img src='i/refresh.png' /> Начать сначала</a>

";

$sims->sims_life();
if($user_id==1)
sims_ret($diz['ret'],'Админка','sims_admin.php');
include_once '../sys/inc/tfoot.php';
?>
