[ Index ] |
|
Code source de e107 0.7.8 |
1 <?php 2 /* 3 + ----------------------------------------------------------------------------+ 4 | e107 website system 5 | 6 | ©Steve Dunstan 2001-2002 7 | http://e107.org 8 | jalist@e107.org 9 | 10 | Released under the terms and conditions of the 11 | GNU General Public License (http://gnu.org). 12 | 13 | $Source: /cvsroot/e107/e107_0.7/e107_admin/includes/compact.php,v $ 14 | $Revision: 1.13 $ 15 | $Date: 2007/01/07 15:24:48 $ 16 | $Author: e107steved $ 17 +----------------------------------------------------------------------------+ 18 */ 19 20 if (!defined('e107_INIT')) { exit; } 21 $buts = ""; 22 $text = "<div style='text-align:center'> 23 <table style='".ADMIN_WIDTH."'>"; 24 25 while (list($key, $funcinfo) = each($newarray)) { 26 $buts .= render_links($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[5], 'default'); 27 } 28 $text .= $buts; 29 30 $text_cat = ''; 31 while ($td <= 5) { 32 $text_cat .= "<td class='td' style='width:20%;' ></td>"; 33 $td++; 34 } 35 $td = 1; 36 37 $text .= "</tr></table></div>"; 38 39 if($buts !=""){ 40 $ns->tablerender(ADLAN_47." ".ADMINNAME, $text); 41 } 42 43 $text = "<div style='text-align:center'> 44 <table style='".ADMIN_WIDTH."'>"; 45 46 $text .= render_links(e_ADMIN."plugin.php", ADLAN_98, ADLAN_99, "Z", E_16_PLUGMANAGER, 'default'); 47 48 if ($sql->db_Select("plugin", "*", "plugin_installflag=1")) { 49 while ($row = $sql->db_Fetch()) { 50 extract($row); 51 include(e_PLUGIN.$plugin_path."/plugin.php"); 52 if ($eplug_conffile) { 53 $eplug_name = $tp->toHTML($eplug_name,FALSE,"defs, emotes_off"); 54 $plugin_icon = $eplug_icon_small ? "<img src='".e_PLUGIN.$eplug_icon_small."' alt='' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />" : E_16_PLUGIN; 55 $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); 56 } 57 unset($eplug_conffile, $eplug_name, $eplug_caption, $eplug_icon_small); 58 } 59 } 60 61 ksort($plugin_array, SORT_STRING); 62 foreach ($plugin_array as $plug_key => $plug_value) { 63 $text .= render_links($plug_value['link'], $plug_value['title'], $plug_value['caption'], $plug_value['perms'], $plug_value['icon'], 'default'); 64 } 65 66 $text .= "</tr> 67 </table></div>"; 68 69 $ns->tablerender(ADLAN_CL_7, $text); 70 71 echo admin_info(); 72 73 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Apr 1 01:23:32 2007 | par Balluche grâce à PHPXref 0.7 |