<?
include './system/common.php';
include './system/functions.php';
include './system/user.php';
$id = _string(_num($_GET['id']));
if($id && $id != $user['id']) {
$i = mysql_query('SELECT * FROM `users` WHERE `id` = "'.$id.'"');
$i = mysql_fetch_array($i);
if(!$i) {
header('location: /user/');
exit;
}
$title = Татуировки;
}
else
{
$i = $user;
$title = Татуировки;
}
include './system/h.php';
?>
<div class="content">
<div class="block center header"><a href="/profile/<?=$i['id']?>"><u><?=$i['login']?></u></a> /Татуировки</div>
<div class="dotted"></div>
<div class="block center"><center><div style="background-image: url('/ManekenHut/Room/<?=$i['r']?>/ManekenRoom-<?=$i['hata']?>.jpeg');background-size:240px;width:240px;height:320px;"></div></center>
</div><div class="dotted"></div>
<div class="block"><span class="blue">Бонус от татуировок:</span><span class="green"> +0 из 1724100 ед. </span><br>
<span class="blue">Бонус от камер:</span><span class="green"> +<?=$i['prh']?> из 275000 ед. </span></div>
<?
if($i['id'] == $user['id']) {
?>
<div class="dotted"></div>
<div class="menu"><li><a href="/profile">
<img src="/images/icons/right_white.png" width="16" height="16" alt=""> Татуировщик (в разработке)</a></li></div>
<div class="dotted"></div>
<div class="menu"><li><a href="/tatoo/room/<?=$i['id']?>">
<img src="/images/icons/right_white.png" width="16" height="16" alt=""> Камеры</a></li></div>
<?}else{?><?}?>
</div>
<?
include './system/f.php';
?>