input; $type = $input->get->getCmd('type'); $mode = $input->get->getCmd('mode', 'view'); $auth = new ClubsHelperAuth(); $user = $auth->getCurrentUser(); if($mode === 'edit') { echo "
'; } elseif ($mode === 'view') { switch ($type) { case 'name': $content = htmlentities($user->getName()); $partname = 'name'; break; } echo ""; echo $content; echo ""; } jexit();