"; 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 = render_links($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[5], 'default'); if ($text_rend) { $text_check = TRUE; } $text_cat .= $text_rend; } } } else { $text_rend = render_links(e_ADMIN."plugin.php", ADLAN_98, ADLAN_99, "Z", E_16_PLUGMANAGER, 'default'); if ($text_rend) { $text_check = TRUE; } $text_cat .= $text_rend; if ($sql->db_Select("plugin", "*", "plugin_installflag=1")) { while ($row = $sql->db_Fetch()) { extract($row); include(e_PLUGIN.$plugin_path."/plugin.php"); if ($eplug_conffile) { $plugin_icon = $eplug_icon_small ? "".$eplug_caption."" : E_16_PLUGIN; $plugin_array[ucfirst($eplug_name)] = array('link' => e_PLUGIN.$plugin_path."/".$eplug_conffile, 'title' => $eplug_name, 'caption' => $eplug_caption, 'perms' => "P".$plugin_id, 'icon' => $plugin_icon); //$text_rend = render_links(e_PLUGIN.$plugin_path."/".$eplug_conffile, $eplug_name, $eplug_caption, "P".$plugin_id, $plugin_icon, 'default'); if ($plugin_array[0]) { $text_check = TRUE; } //$text_cat .= $text_rend; } unset($eplug_conffile, $eplug_name, $eplug_caption, $eplug_icon_small); } } ksort($plugin_array, SORT_STRING); foreach ($plugin_array as $plug_key => $plug_value) { $text_cat .= render_links($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, $text); echo admin_info(); ?>