[ Index ]

PHP Cross Reference of Mambo 4.6.5

[ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/administrator/popups/ -> index3pop.php (source)

   1  <?php
   2  /**
   3  * @package Mambo
   4  * @author Mambo Foundation Inc see README.php
   5  * @copyright (C) 2000 - 2009 Mambo Foundation Inc.
   6  * See COPYRIGHT.php for copyright notices and details.
   7  * @license GNU/GPL Version 2, see LICENSE.php
   8  *
   9  * Redistributions of files must retain the above copyright notice.
  10  *
  11  * Mambo is free software; you can redistribute it and/or
  12  * modify it under the terms of the GNU General Public License
  13  * as published by the Free Software Foundation; version 2 of the License.
  14  */
  15  
  16  /** ensure this file is being included by a parent file */
  17  defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
  18  ?>
  19  <?php echo "<?xml version=\"1.0\"?>"; ?>
  20  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  21  <html xmlns="http://www.w3.org/1999/xhtml">
  22  <head>
  23  <title><?php echo $mosConfig_sitename; ?> - Administration [Mambo]</title>
  24  <link rel="stylesheet" href="templates/<?php echo $mainframe->getTemplate(); ?>/css/template_css.css" type="text/css">
  25  <link rel="stylesheet" href="templates/<?php echo $mainframe->getTemplate(); ?>/css/theme.css" type="text/css">
  26  <script src="../includes/js/JSCookMenu.js" type="text/javascript"></script>
  27  <script src="includes/js/ThemeOffice/theme.js" type="text/javascript"></script>
  28  <script src="../includes/js/mambojavascript.js" type="text/javascript"></script>
  29  <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
  30  </head>
  31  <body>
  32  <?php
  33  $mosmsg = strip_tags(mosGetParam($_REQUEST, 'mosmsg', ''));
  34  if ($mosmsg) {
  35      if (!get_magic_quotes_gpc()) {
  36          $mosmsg = addslashes( $mosmsg );
  37      }
  38      echo "\n<script language=\"javascript\" type=\"text/javascript\">alert('$mosmsg');</script>";
  39  }
  40  
  41  // Show list of items to edit or delete or create new
  42  if ($path = $mainframe->getPath( 'admin' )) {
  43      require $path;
  44  } else {
  45      ?>
  46        <img src="images/logo.png" border="0" alt="Mambo Logo" />&nbsp; <br />
  47        <?php
  48  }
  49  ?>
  50  
  51  </body>
  52  </html>