getThemeInfo($tm); echo $themec->renderThemeInfo($data); exit; } else { require_once("auth.php"); echo ' '; } $mode = (e_QUERY) ? e_QUERY :"main" ; if(vartrue($_POST['selectadmin'])) { $mode = "admin"; } if(vartrue($_POST['upload'])) { $mode = "choose"; } if(vartrue($_POST['selectmain']) || varset($_POST['setUploadTheme'])) { $mode = "main"; } $themec -> showThemes($mode); // Launch demo modal require_once("footer.php"); function theme_adminmenu() { global $mode; $mode = e_QUERY; $e107 = &e107::getInstance(); $var['main']['text'] = TPVLAN_33; $var['main']['link'] = e_SELF; $var['admin']['text'] = TPVLAN_34; $var['admin']['link'] = e_SELF."?admin"; $var['choose']['text'] = TPVLAN_51; $var['choose']['link'] = e_SELF."?choose"; $var['upload']['text'] = TPVLAN_38; $var['upload']['link'] = e_SELF."?upload"; $selected = (e_QUERY) ? e_QUERY : "main"; e107::getNav()->admin(TPVLAN_26, $selected, $var); } ?>