// запросы для Магазина Сайта $clr = mysql_fetch_assoc(mysql_query("SELECT `cnick`,`cstat` FROM `users` WHERE `id`='".$user['id']."'")); $cnick = $clr['cnick']; $cstat = $clr['cstat']; if (!$user['id']) { $out = '' . self::$lng['guest'] . ''; if (!empty($user['name'])) $out .= ': ' . $user['name']; if (!empty($arg['header'])) $out .= ' ' . $arg['header']; } else { if (self::$user_set['avatar']) { $out .= '
';
if (file_exists(($rootpath . 'files/users/avatar/' . $user['id'] . '.png')))
$out .= '![]() ![]() | ';
}
if ($user['sex'])
$out .= '![]() ![]() ![]() |