<?php
include('../system/includes/system.php');
if (isset($_GET['id'])) {
$ank = profile(intval($_GET['id']));
if ($ank['id'] == 0) {
$title .= 'Ошибка!';
ex_head();
$error[] = 'Пользователь не найден.';
show_errors();
ex_foot();
}
} else {
if_user('is_reg');
$ank = $user;
}
ex_head();echo '<div class=list>';
echo "<table><tr><td>";
show_avatar($ank['id'], 'big', 1, 1);
echo "</td>";
echo "<td>";
echo 'test';
echo "</td></tr></table>";
echo '</div>';
ex_foot();