linea21-core
[ class tree: linea21-core ] [ index: linea21-core ] [ all elements ]

Source for file error.php

Documentation is available at error.php

  1. <?php
  2. /**
  3.  * @package linea21.core
  4.  * @subpackage config_files
  5.  * @author linea21 <info@linea21.com>
  6.  * @version $id SVN
  7.  * @access public
  8.  * @license http://opensource.org/licenses/gpl-3.0.html
  9.  */
  10. include_once("../lib/functions_auth.php");
  11. include_once("../config/define.php");
  12. include_once('../languages/'.U_L.'/lang_common.' . CHARSET . '.php');
  13.  
  14. $backlink= CURRENT_APP_URL ."index.php?rub=".$GLOBALS['links'][U_L]['search']['linkvalue'];
  15.  
  16. echo '<?xml version="1.0" encoding="'.CHARSET.'" xml:lang="'. U_L .'">'.END_LINE;
  17. ?>
  18. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  19.  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  20. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo U_L; ?>">
  21. <head>
  22. <meta HTTP-EQUIV="Refresh" CONTENT="<?php echo CONFIRM_REFRESH; ?>;URL=<?php echo $backlink; ?>">
  23. <meta http-equiv="content-language" content="<?php echo U_L; ?>" />
  24. <meta http-equiv="content-type" content="text/html; charset=<?php echo CHARSET; ?>" />
  25. <title><?php echo _t('header','title'); ?></title>
  26. <link type="text/css" rel="StyleSheet" href="<?php echo THEME_ADMIN_PATH; ?>css/actionconfirm.css" />
  27. </head>
  28. <body>
  29. <h1 class="error"><?php echo _t('divers', '404'); ?></h1>
  30. </body>
  31. </html>
  32. <?php
  33. ?>

Documentation generated on Thu, 03 May 2012 15:04:30 +0200 by phpDocumentor 1.4.1