1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

62 lines
1.1 KiB
PHP
Raw Normal View History

2006-12-02 04:36:16 +00:00
<?php
/*
2009-11-12 14:30:07 +00:00
* e107 website system
*
* Copyright (C) 2008-2013 e107 Inc (e107.org)
2009-11-12 14:30:07 +00:00
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
* $URL$
* $Id$
2009-11-12 14:30:07 +00:00
*/
2006-12-02 04:36:16 +00:00
if (!defined('e107_INIT')) { exit; }
2013-02-26 18:57:33 -08:00
$mes = e107::getMessage();
2013-02-26 18:57:33 -08:00
$newarray = e107::getNav()->adminLinks('core');
2006-12-02 04:36:16 +00:00
$buts = "";
$text = "<div style='text-align:center'>
<table class='table'>";
2020-12-08 12:21:12 -08:00
foreach($newarray as $key=>$funcinfo)
{
2012-12-03 02:27:19 -08:00
$buts .= e107::getNav()->renderAdminButton($funcinfo[0], $funcinfo[1], $funcinfo[2], $funcinfo[3], $funcinfo[5], 'default');
2006-12-02 04:36:16 +00:00
}
2020-12-08 12:21:12 -08:00
2006-12-02 04:36:16 +00:00
$text .= $buts;
$text_cat = '';
2020-12-08 12:21:12 -08:00
$td = 0;
while ($td <= 5)
{
2006-12-02 04:36:16 +00:00
$text_cat .= "<td class='td' style='width:20%;' ></td>";
$td++;
}
2020-12-08 12:21:12 -08:00
2006-12-02 04:36:16 +00:00
$td = 1;
$text .= "</tr></table></div>";
2020-12-08 12:21:12 -08:00
if(!empty($buts))
{
2020-12-08 12:21:12 -08:00
e107::getRender()->tablerender(ADLAN_47." ".ADMINNAME, $mes->render().$text);
2006-12-02 04:36:16 +00:00
}
$text = "<div style='text-align:center'>
<table class='table'>";
2006-12-02 04:36:16 +00:00
$text .= e107::getNav()->pluginLinks( defset('E_16_PLUGMANAGER'), 'default');
2006-12-02 04:36:16 +00:00
$text .= "</tr>
</table></div>";
2020-12-08 12:21:12 -08:00
e107::getRender()->tablerender(ADLAN_CL_7, $text);
2006-12-02 04:36:16 +00:00
echo admin_info();