[ Index ]
 

Code source de b2evolution 2.1.0-beta

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/blogs/skins_adm/ -> _access_denied.main.php (source)

   1  <?php
   2  /**

   3   * This page displays an error message if the user is denied access to the admin section

   4   *

   5   * @package evocore

   6   */
   7  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
   8  
   9  header('HTTP/1.0 403 Forbidden');
  10  header( 'Content-type: text/html; charset='.$io_charset );
  11  ?>
  12  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  13  <html xmlns="http://www.w3.org/1999/xhtml">
  14      <head>
  15          <title><?php echo T_('Access denied') ?></title>
  16      </head>
  17  <body>
  18      <div style="background-color:#fee; border: 1px solid red; text-align:center;">
  19          <h1><?php echo T_('Access denied') ?></h1>
  20          <p><?php echo T_('Sorry, you have no permission to access this section.') ?></p>
  21      </div>
  22      <p style="text-align:center;"><?php
  23          echo '<a href="'.$htsrv_url_sensitive.'login.php?action=logout&amp;redirect_to='.rawurlencode(url_rel_to_same_host($ReqHost.$ReqURI, $htsrv_url_sensitive)).'">'.T_('Logout').'</a>
  24                      &bull;
  25                      <a href="'.$baseurl.'">'.T_('Exit to blogs').'</a>';
  26      ?></p>
  27      <?php debug_info(); ?>
  28  </body>
  29  </html>
  30  <?php
  31      exit;
  32  ?>


Généré le : Thu Nov 29 23:58:50 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics