isIG()) { require_once("include/ach_render_ig.php"); } else { require_once("include/ach_render_web.php"); } require_once("include/ach_render_common.php"); require_once("class/RenderNodeIteraor_abstract.php"); require_once("class/AchList_abstract.php"); require_once("class/Tieable_inter.php"); require_once("class/Parentum_inter.php"); require_once("class/AchMenu_class.php"); require_once("class/AchSummary_class.php"); require_once("class/AchCategory_class.php"); require_once("class/AchAchievement_class.php"); require_once("class/AchPerk_class.php"); require_once("class/AchObjective_class.php"); // Update user acces on Db //$db = ryDB::getInstance(APP_NAME); $DBc = ryDB::getInstance("ahufler"); if(!$_USER->isIG && $_CONF['enable_webig'] == false) { $c = ach_render_forbidden(false); } elseif($_USER->isIG && $_CONF['enable_offgame'] == false) { $c = ach_render_forbidden(true); } else { $c = ach_render(); } echo ryzom_app_render("achievements", $c, $_USER->isIG()); ?>