"; $admin_cat = e107::getNav()->adminCats(); $newarray = e107::getNav()->adminLinks('core'); $plugin_array = e107::getNav()->adminLinks('plugin'); foreach ($admin_cat['id'] as $cat_key => $cat_id) { $text_check = FALSE; $text_cat = ""; if ($text_check) { $text .= $text_cat; } } $text .= "
".$admin_cat['title'][$cat_key]."
".$admin_cat['lrg_img'][$cat_key]." "; if ($cat_key != 5) { foreach ($newarray as $key => $funcinfo) { if ($funcinfo[4] == $cat_key) { $text_rend = e107::getNav()->renderAdminButton($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[5], 'default'); if ($text_rend) { $text_check = TRUE; } $text_cat .= $text_rend; } } } else { $text_rend = e107::getNav()->renderAdminButton(e_ADMIN."plugin.php", ADLAN_98, ADLAN_99, "Z", E_16_PLUGMANAGER, 'default'); if ($text_rend) { $text_check = TRUE; } $text_cat .= $text_rend; foreach ($plugin_array as $plug_key => $plug_value) { $text_cat .= e107::getNav()->renderAdminButton($plug_value['link'], $plug_value['title'], $plug_value['caption'], $plug_value['perms'], $plug_value['icon'], 'default'); } } $text_cat .= render_clean(); $text_cat .= "
"; $ns->tablerender(ADLAN_47." ".ADMINNAME, $mes->render().$text); echo admin_info(); ?>