Размер файла: 2.49Kb
<?php
require_once '../core/system.php';
echo only_reg();
echo ban();
echo blok();
$header = 'Постройки клана';
require_once '../core/head.php';
$clan = mysql_fetch_array(mysql_query("SELECT id FROM `clan` WHERE `id` = ".intval($_GET['id']).""));
$req = mysql_query("SELECT * FROM `clan` WHERE `id` = ".intval($_GET['id'])."");
$avto = mysql_num_rows($req);
$postr = mysql_fetch_array($req);
echo'<div class="foot"><table width="100%">
<tbody><tr><td width="45" height="45">
<img style="border:0.5px solid #131313;border-radius:3px" width="40" height="40" src="/images/clan/altar.png">
</td><td>';
echo"<a href='/clan/altar?id=".intval($_GET['id'])."'>Алтарь</a> <font color='#CDC9C9'>($postr[altar] ур.)</font></td></table></tbody></div><hr>";
echo'<div class="foot"><table width="100%">
<tbody><tr><td width="45" height="45">
<img style="border:0.5px solid #131313;border-radius:3px" width="40" height="40" src="/images/clan/castle.png">
</td><td>';
echo"<a href='/clan/castle?id=".intval($_GET['id'])."'>Замок</a> <font color='#CDC9C9'>($postr[castle] ур.)</font></td></table></tbody></div><hr>";
echo'<div class="foot"><table width="100%">
<tbody><tr><tr><td width="45" height="45">
<img style="border:0.5px solid #131313;border-radius:3px" width="40" height="40" src="/images/clan/storage.png">
</td>';
echo"<td><a href='/clan/storage?id=".intval($_GET['id'])."'>Хранилище</a> <font color='#CDC9C9'>($postr[storage] ур.)</font></td></table></tbody></div>";
/* echo'<hr><div class="foot"><table width="100%">
<tbody><tr><tr><td width="45" height="45">
<img style="border:0.5px solid #131313;border-radius:3px" width="40" height="40" src="/images/clan/storage.png">
</td>';
echo"<td><a href='/clan/storage?id=".intval($_GET['id'])."'>Статуя багатства</a> <font color='#CDC9C9'>($postr[storage] ур.)</font></td></table></tbody></div>";
*/
echo'<hr><div class="foot"><table width="100%">
<tbody><tr><tr><td width="45" height="45">
<img style="border:0.5px solid #131313;border-radius:3px" width="40" height="40" src="/images/clan/tower.png">
</td>';
echo"<td><a href='/clan/tower?id=".intval($_GET['id'])."'>Башня мудрости</a> <font color='#CDC9C9'>($postr[tower] ур.)</font></td></table></tbody></div>";
echo"</div><hr><div class='foot center'> <font color='grey'>Повышать уровень построек может только основатель клана
</font></font></font></div></div>";
require_once '../core/foot.php';
?>