b2evolution PHP Cross Reference Blogging Systems

Source: /skins/intense/_body_header.inc.php - 69 lines - 2326 bytes - Text - Print

Description: This is the BODY header include template.

   1  <?php
   2  /**
   3   * This is the BODY header include template.
   4   *
   5   * For a quick explanation of b2evo 2.0 skins, please start here:
   6   * {@link http://b2evolution.net/man/skin-structure}
   7   *
   8   * This is meant to be included in a page template.
   9   *
  10   * @package evoskins
  11   * @subpackage intense
  12   */
  13  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  14  
  15  ?>
  16  
  17  <div id="rap">
  18          <div id="top">
  19              <?php
  20              // Random or custom header image.
  21              $header_index = 0;
  22              if( ($head_image = $Skin->get_setting( 'head_image' )) !== false)
  23              {
  24                  $head_image = (int) $head_image;
  25                  $header_index = $head_image == 0 ? mt_rand(1, 4) : $head_image;
  26              }
  27              ?>
  28              <div id="header" class="header<?php echo $header_index;?>">
  29                  <div id="menu">
  30                  <?php
  31                      // Display container and contents:
  32                      skin_container( NT_('Page Top'), array(
  33                              // The following params will be used as defaults for widgets included in this container:
  34                              'block_start'         => '<div>',
  35                              'block_end'           => '</div>',
  36                              'block_display_title' => false,
  37                              'list_start'          => '<ul>',
  38                              'list_end'            => '</ul>',
  39                              'item_start'          => '<li class="first page_item">',
  40                              'item_end'            => '</li>',
  41                          ) );
  42                  ?>
  43                  </div>
  44                  <h1 id="title"><a href="<?php $Blog->disp('url'); ?>" title="<?php $Blog->disp('name'); ?>"><?php $Blog->disp('name'); ?></a></h1>
  45              </div>
  46  
  47              <div class="nav rounded_bottom">
  48                  <div id="slogan"><?php $Blog->tagline(); ?></div>
  49                  <div id="navdiv">
  50                      <ul id="navlist">
  51                      <?php
  52                          // ------------------------- "Menu" CONTAINER EMBEDDED HERE --------------------------
  53                          // Display container and contents:
  54                          skin_container( NT_('Menu'), array(
  55                                  // The following params will be used as defaults for widgets included in this container:
  56                                  'block_start'         => '',
  57                                  'block_end'           => '',
  58                                  'block_display_title' => false,
  59                                  'list_start'          => '',
  60                                  'list_end'            => '',
  61                                  'item_start'          => '<li>',
  62                                  'item_end'            => '</li>',
  63                              ) );
  64                          // ----------------------------- END OF "Menu" CONTAINER -----------------------------
  65                      ?>
  66                      </ul>
  67                  </div>
  68              </div>
  69              <!--[if IE]><div class="rounded_ie_corners_bottom"></div><![endif]-->

title

Description

title

Description

title

Description

title

title

Body