View file collection/gerk.php

File size: 3.4Kb
<?
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/user.php';

$set['title'] = 'Коллекции | Геракл';

include_once '../sys/inc/thead.php';
title();
aut();

if (isset($user))$ank['id']=$user['id'];
if (isset($_GET['id']))$ank['id']=intval($_GET['id']);
$ank = get_user($ank['id']);


echo "<div class='nav1'>";
echo "<font color='brown'>&bull;</font> Коллекция <font color='brown'>Геракл</font>";
if ($ank['collection_gerk'] != 0 AND $user['id'] != $ank['id']) {
	echo "<a href='obmen_gerk.php?id=$ank[id]' title='Предложить обмен жетонамиы'><img src='/collection/img/obmen.png' align='right' alt='' /></a>";
}
echo "</div>";
if ($ank['collection_gerk'] == 0) {
echo "<div class='nav2'>Еще нечего не собрано :(</div>";
}else{
echo "<div class='nav2'>";	
	if ($ank['collection_gerk_nomer_1'] != 0) {
echo "<table><tr><td width='50'><img src='/collection/img_collection_3/1.gif' height='65' width='65' alt='' /></td><td><font color='gray'>&rarr;</font> Жетон <b>№ 1</b><br />";
echo "<font color='gray'>&rarr;</font> Количество: <b>$ank[collection_gerk_nomer_1]</b> шт.</td></tr></table>";
}
if ($ank['collection_gerk_nomer_2'] != 0) {
echo "<table><tr><td width='50'><img src='/collection/img_collection_3/2.gif' height='65' width='65' alt='' /></td><td><font color='gray'>&rarr;</font> Жетон <b>№ 2</b><br />";
echo "<font color='gray'>&rarr;</font> Количество: <b>$ank[collection_gerk_nomer_2]</b> шт.</td></tr></table>";
}
if ($ank['collection_gerk_nomer_3'] != 0) {
echo "<table><tr><td width='50'><img src='/collection/img_collection_3/3.gif' height='65' width='65' alt='' /></td><td><font color='gray'>&rarr;</font> Жетон <b>№ 3</b><br />";
echo "<font color='gray'>&rarr;</font> Количество: <b>$ank[collection_gerk_nomer_3]</b> шт.</td></tr></table>";
}
if ($ank['collection_gerk_nomer_4'] != 0) {
echo "<table><tr><td width='50'><img src='/collection/img_collection_3/4.gif' height='65' width='65' alt='' /></td><td><font color='gray'>&rarr;</font> Жетон <b>№ 4</b><br />";
echo "<font color='gray'>&rarr;</font> Количество: <b>$ank[collection_gerk_nomer_4]</b> шт.</td></tr></table>";
}
if ($ank['collection_gerk_nomer_5'] != 0) {
echo "<table><tr><td width='50'><img src='/collection/img_collection_3/5.gif' height='65' width='65' alt='' /></td><td><font color='gray'>&rarr;</font> Жетон <b>№ 5</b><br />";
echo "<font color='gray'>&rarr;</font> Количество: <b>$ank[collection_gerk_nomer_5]</b> шт.</td></tr></table>";
}
if ($ank['collection_gerk_nomer_6'] != 0) {
echo "<table><tr><td width='50'><img src='/collection/img_collection_3/6.gif' height='65' width='65' alt='' /></td><td><font color='gray'>&rarr;</font> Жетон <b>№ 6</b><br />";
echo "<font color='gray'>&rarr;</font> Количество: <b>$ank[collection_gerk_nomer_6]</b> шт.</td></tr></table>";
}
echo "</div>";

}

echo "<div class='nav1'><img src='/collection/img/b.gif' alt='' /> <a href='/collection/?id=$ank[id]'>Обратно</a></div>";
include_once '../sys/inc/tfoot.php';
?>