Source for file mod_stats.php

Documentation is available at mod_stats.php

  1. <?php
  2. /**
  3. @package Mambo
  4. @author Mambo Foundation Inc see README.php
  5. @copyright Mambo Foundation Inc.
  6. *  See COPYRIGHT.php for copyright notices and details.
  7. @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see
  8. *  LICENSE.php
  9. *  Mambo is free software; you can redistribute it and/or
  10. *  modify it under the terms of the GNU General Public License
  11. *  as published by the Free Software Foundation; version 2 of the
  12. *  License.
  13. */ 
  14.  
  15. /** ensure this file is being included by a parent file */
  16. defined'_VALID_MOS' or die'Direct Access to this location is not allowed.' );
  17.  
  18. $menuhandler mosMenuHandler::getInstance();
  19. $menutypes $menuhandler->getMenuTypes();
  20.  
  21. ?>
  22. <table class="adminlist">
  23.     <tr>
  24.         <th class="title">
  25.         <?php echo T_('Menu'?>
  26.         </th>
  27.         <th class="title">
  28.         <?php echo T_('# Items'?>
  29.         </th>
  30.     </tr>
  31. <?php
  32. foreach ($menutypes as $type=>$count{
  33.     $link 'index2.php?option=com_menus&amp;menutype='$type;
  34.     ?>
  35.     <tr>
  36.         <td>
  37.         <a href="<?php echo $link?>">
  38.         <?php echo $type;?>
  39.         </a>
  40.         </td>
  41.         <td>
  42.         <?php echo $count;?>
  43.         </td>
  44.     </tr>
  45. <?php
  46. }
  47. ?>
  48. </table>

Documentation generated on Mon, 05 May 2008 16:21:23 +0400 by phpDocumentor 1.4.0