b2evolution PHP Cross Reference Blogging Systems

Source: /skins_adm/login/_html_header.inc.php - 73 lines - 2311 bytes - Text - Print

Description: This is the header file for login/registering services

   1  <?php
   2  /**
   3   * This is the header file for login/registering services
   4   *
   5   * This file is part of the evoCore framework - {@link http://evocore.net/}
   6   * See also {@link http://sourceforge.net/projects/evocms/}.
   7   *
   8   * @copyright (c)2003-2014 by Francois Planque - {@link http://fplanque.com/}
   9   *
  10   * {@internal License choice
  11   * - If you have received this file as part of a package, please find the license.txt file in
  12   *   the same folder or the closest folder above for complete license terms.
  13   * - If you have received this file individually (e-g: from http://evocms.cvs.sourceforge.net/)
  14   *   then you must choose one of the following licenses before using the file:
  15   *   - GNU General Public License 2 (GPL) - http://www.opensource.org/licenses/gpl-license.php
  16   *   - Mozilla Public License 1.1 (MPL) - http://www.opensource.org/licenses/mozilla1.1.php
  17   * }}
  18   *
  19   * {@internal Open Source relicensing agreement:
  20   * }}
  21   *
  22   * @package htsrv
  23   *
  24   * {@internal Below is a list of authors who have contributed to design/coding of this file: }}
  25   * @author fplanque: Francois PLANQUE.
  26   */
  27  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  28  
  29  // Add CSS:
  30  require_css( 'basic_styles.css', 'rsc_url' ); // the REAL basic styles
  31  require_css( 'basic.css', 'rsc_url' ); // Basic styles
  32  require_css( 'login.css', 'rsc_url' );
  33  
  34  headers_content_mightcache( 'text/html', 0 );        // NEVER cache the login pages!
  35  ?>
  36  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  37  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php locale_lang() ?>" lang="<?php locale_lang() ?>">
  38  <head>
  39      <title><?php echo $page_title ?></title>
  40      <meta name="ROBOTS" content="NOINDEX" />
  41      <meta name="viewport" content="width = 600" />
  42      <?php include_headlines() /* Add javascript and css files included by plugins and skin */ ?>
  43  </head>
  44  <body>
  45  
  46  
  47  <div class="loginblock">
  48  
  49  <?php
  50  if( isset($page_icon) )
  51  {
  52      echo get_icon($page_icon, 'imgtag', array( 'style' => 'float:left' ) );
  53  }
  54  ?>
  55  
  56  <h2 class="logintitle"><?php echo $page_title ?></h2>
  57  
  58  
  59  <div class="clear"></div>
  60  
  61  <?php
  62  if( ! empty( $login_error ) )
  63  {
  64      echo '<div class="log_container">';
  65      echo '<div class="log_error"> '.$login_error.' </div>';
  66      echo '</div>';
  67  }
  68  else
  69  {
  70      $Messages->display();
  71  }
  72  
  73  ?>

title

Description

title

Description

title

Description

title

title

Body