Профиль пользователя
global $user;
$eacc = t('Log in to your account');
if($mobile){
$eacc = t('Log in');
}
if(!$user->uid):
?>
if($sidebar_first): ?>
echo $eacc;?>
print $messages;
print render($page['content']);
?>
if(!arg(1)):?>
echo t('Recover password');?>
endif;?>
else:
$a1 = arg(1);
$cl1 = (!$a1 || $a1==$user->uid)?"act":"";
$cl2 = ($a1=='track')?"act":"";
$cl3 = ($a1=='history')?"act":"";
?>
echo userpage();
endif;
?>
print $sidebar_first;?>
endif;?>
print $sidebar_second;?>
endif;?>
echo front_partners();?>