[ Index ]

MailPress 7.2

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

title

Body

[close]

/mp-content/themes/twentyten/ -> header.php (source)

   1  <?php $post_id = ( isset( $this->args->newsletter['params']['post_id'] ) ) ? $this->args->newsletter['params']['post_id'] : false; ?>
   2  <?php $this->get_template_part( 'head' ); ?>
   3      <body>
   4          <div <?php $this->classes( 'body' ); ?>>
   5              <div <?php $this->classes( 'wrapper' ); ?>>
   6  <?php if ( isset( $this->args->viewhtml ) ) { ?>
   7              <div <?php $this->classes( 'mail_link' ); ?>>
   8                  Email not displaying correctly ? <a href="{{viewhtml}}" <?php $this->classes( 'mail_link_a a' ); ?>>View it in your browser</a>
   9              </div>
  10  <?php } ?>
  11                  <div <?php $this->classes( 'header' ); ?>>
  12                      <div <?php $this->classes( 'nopmb' ); ?>>
  13                          <div <?php $this->classes( 'nopmb w100' ); ?>>
  14                              <table <?php $this->classes( 'nopmb w100' ); ?> width="100%">
  15                                  <tr>
  16                                      <td <?php $this->classes( 'nopmb' ); ?>>
  17                                          <h1 <?php $this->classes( 'site-title' ); ?>>
  18                                              <span <?php $this->classes( 'nopmb' ); ?>>
  19                                                  <a <?php $this->classes( 'site-title_a' ); ?> href="<?php bloginfo( 'url' ) ?>/" title="<?php bloginfo( 'name' ) ?>" rel="home">
  20  <?php bloginfo( 'name' ); ?>
  21                                                  </a>
  22                                              </span>
  23                                          </h1>
  24                                      </td>
  25                                      <td <?php $this->classes( 'nopmb tright w100' ); ?>>
  26                                          <div <?php $this->classes( 'site-description' ); ?> >
  27  <?php bloginfo( 'description' ); ?>
  28                                          </div>
  29                                      </td>
  30                                  </tr>
  31                              </table>
  32                              <img src="<?php do_action( 'MailPress_theme_html_header_image', 'images/header-1.jpg', $post_id ); ?>"  width="<?php echo MP_theme_html_2010::HEADER_IMAGE_WIDTH; ?>" height="<?php echo MP_theme_html_2010::HEADER_IMAGE_HEIGHT; ?>" alt="img" <?php $this->classes( 'nopmb header_img' ); ?> />
  33                          </div>
  34                      </div>
  35                  </div>
  36                  <div <?php $this->classes( 'main' ); ?>>
  37                      <div <?php $this->classes( 'nopmb w100' ); ?>>
  38                          <div <?php $this->classes( 'content' ); ?>>
  39  <!-- end header -->


Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1