<?
require_once ("core/cuctema/core.php");
if (isset($user))$ank['id']=$user['id'];
if (isset($_GET['id']))$ank['id']=intval($_GET['id']);
if ($ank['id']==0)header("Location:?");
$ank=get_user($ank['id']);
if(!$ank){header("Location: /".SID);exit;}
header("Location:/mysite/?name=$ank[nick]");
exit;
?>