[ 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/beginner.php,v $ 14 | $Revision: 1.14 $ 15 | $Date: 2007/01/07 15:24:48 $ 16 | $Author: e107steved $ 17 +----------------------------------------------------------------------------+ 18 */ 19 20 if (!defined('e107_INIT')) { exit; } 21 22 if($_GET['mode'] == "e_advanced"){ 23 $pref['adminstyle'] = "classis"; 24 save_prefs(); 25 Header("Location:". e_ADMIN."admin.php"); 26 } 27 28 $buts = ""; 29 $text = "<div style='text-align:center;vertical-align:middle'><br /><br /> 30 <table style='".ADMIN_WIDTH.";margin-top:auto;margin-bottom:auto' >"; 31 32 // $newarray[28] = array(e_ADMIN."plugin.php", ADLAN_98, ADLAN_99, "Z", 2, E_16_PLUGMANAGER, E_32_PLUGMANAGER); 33 34 $selection = array(22,12,17,25,5,19,7,23,28,26); 35 // $selection = array(21,11,17,24,5,19,7,27,28,25); 36 foreach($selection as $id) 37 { 38 $buts .= render_links($newarray[$id][0],$newarray[$id][1],$newarray[$id][2],$newarray[$id][3],$newarray[$id][6],'beginner'); 39 } 40 41 $text .= $buts; 42 $text .= render_clean(); 43 $text .= "\n</table><br /></div>"; 44 45 $text .= "<div class='smalltext' style='text-align:center'>".ADLAN_144." <a href='".e_SELF."?mode=e_advanced' >".ADLAN_145."</a> </div>"; 46 47 if($buts != '') 48 { 49 $ns->tablerender(ADLAN_47." ".ADMINNAME, $text); 50 } 51 52 53 54 55 56 57 $text = "<div style='text-align:center'> 58 <table style='".ADMIN_WIDTH."'>"; 59 60 $text .= render_links(e_ADMIN."plugin.php", ADLAN_98, ADLAN_99, "Z", E_32_PLUGMANAGER, "classis"); 61 62 if ($sql->db_Select("plugin", "*", "plugin_installflag=1")) 63 { 64 while ($row = $sql->db_Fetch()) 65 { 66 extract($row); 67 include(e_PLUGIN.$plugin_path."/plugin.php"); 68 if ($eplug_conffile) 69 { 70 $eplug_name = $tp->toHTML($eplug_name,FALSE,"defs, emotes_off"); 71 $plugin_icon = $eplug_icon ? "<img src='".e_PLUGIN.$eplug_icon."' alt='' style='border:0px; width: 32px; height: 32px' />" : E_32_CAT_PLUG; 72 $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); 73 } 74 unset($eplug_conffile, $eplug_name, $eplug_caption, $eplug_icon); 75 } 76 } 77 78 ksort($plugin_array, SORT_STRING); 79 foreach ($plugin_array as $plug_key => $plug_value) 80 { 81 $text .= render_links($plug_value['link'], $plug_value['title'], $plug_value['caption'], $plug_value['perms'], $plug_value['icon'], 'classis'); 82 } 83 84 $text .= render_clean(); 85 $text .= "</table></div>"; 86 87 $ns->tablerender(ADLAN_CL_7, $text); 88 89 ?>
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 |