| Server IP : 198.244.165.102 / Your IP : 216.73.216.218 [ Web Server : nginx/1.24.0 System : Linux modovh-ub-01 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : colleary ( 1011) PHP Version : 8.3.23 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/johnhoban/hold_html/administrator/modules/ |
Upload File : |
<?php
/**
* @version $Id: mod_stats.php,v 1.6 2005/01/24 15:31:55 kochp Exp $
* @package Mambo
* @copyright (C) 2000 - 2005 Miro International Pty Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* Mambo is Free Software
*/
/** ensure this file is being included by a parent file */
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
$query = "SELECT menutype, COUNT(id) AS numitems"
. "\n FROM #__menu"
. "\n WHERE published = 1"
. "\n GROUP BY menutype"
;
$database->setQuery( $query );
$rows = $database->loadObjectList();
?>
<table class="adminlist">
<tr>
<th class="title">
Menu
</th>
<th class="title">
# Items
</th>
</tr>
<?php
foreach ($rows as $row) {
$link = 'index2.php?option=com_menus&menutype='. $row->menutype;
?>
<tr>
<td>
<a href="<?php echo $link; ?>">
<?php echo $row->menutype;?>
</a>
</td>
<td>
<?php echo $row->numitems;?>
</td>
</tr>
<?php
}
?>
</table>