'; $htmlHeadXtra[] = ''; $tpl = new Template(null, false, false); $load_user = api_get_user_id(); $userInfo = api_get_user_info(); $skill = new Skill(); $ranking = $skill->get_user_skill_ranking($load_user); $countSkill = count($skill->get_all()); $skill_condition = ''; if (isset($_GET['skill_id'])) { $skill_condition = '&skill_id='.intval($_GET['skill_id']); $tpl->assign('skill_id_to_load', $_GET['skill_id']); } $url = api_get_path(WEB_AJAX_PATH)."skill.ajax.php?a=get_skills_tree_json&load_user=$load_user"; $tpl->assign('wheel_url', $url); $url = api_get_path(WEB_AJAX_PATH).'skill.ajax.php?1=1'; $tpl->assign('url', $url); $tpl->assign('userInfo', $userInfo); $tpl->assign('ranking', $ranking); $tpl->assign('countSkill', $countSkill); $content = $tpl->fetch('default/skill/skill_wheel_student.tpl'); $tpl->assign('content', $content); $tpl->display_no_layout_template();