Advertisement
Guest User

header

a guest
Feb 24th, 2012
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.89 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html <?php language_attributes(); ?>>
  3.  
  4. <head>
  5.     <meta charset="<?php bloginfo('charset'); ?>" />
  6.     <!--<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE" />-->
  7.     <?php if (is_search()) { ?>
  8.        <meta name="robots" content="noindex, nofollow" />
  9.     <?php } ?>
  10.  
  11.     <title>
  12.            <?php
  13.               if (function_exists('is_tag') && is_tag()) {
  14.                  single_tag_title("Tag Archive for &quot;"); echo '&quot; - '; }
  15.               elseif (is_archive()) {
  16.                  wp_title(''); echo ' Archive - '; }
  17.               elseif (is_search()) {
  18.                  echo 'Search for &quot;'.wp_specialchars($s).'&quot; - '; }
  19.               elseif (!(is_404()) && (is_single()) || (is_page())) {
  20.                  wp_title(''); echo ' - '; }
  21.               elseif (is_404()) {
  22.                  echo 'Not Found - '; }
  23.               if (is_home()) {
  24.                  bloginfo('name'); echo ' - '; bloginfo('description'); }
  25.               else {
  26.                   bloginfo('name'); }
  27.               if ($paged>1) {
  28.                  echo ' - page '. $paged; }
  29.            ?>
  30.     </title>
  31.    
  32.     <link rel="shortcut icon" href="/favicon.ico">
  33.    
  34.     <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>">
  35.    
  36.     <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
  37.  
  38.     <?php if ( is_singular() ) wp_enqueue_script('comment-reply'); ?>
  39.  
  40.     <?php wp_head(); ?>
  41. </head>
  42.  
  43. <body <?php body_class(); ?>>
  44.     <!--<div class="miamischool">-->
  45.     <div id="page-wrap" class="group">
  46.  
  47.         <div id="header" class ="group">
  48.        
  49.             <div id ="headercontent" style="width=953px;height=199px;">
  50.                 <a href="http://dev.freelanceu.net/mjl/miamischool">
  51.                 <img src="<?php bloginfo('url'); ?>/wp-content/uploads/2011/12/home-button.png" alt="Home" style="position:absolute;"/>
  52.             </a>
  53.                 <img src ="<?php bloginfo('url'); ?>/wp-content/uploads/2011/12/mccs-student-header.png" alt="MCCS Student" usemap="#homefacultymap"/>
  54.  
  55.     <map id="homefacultymap" name="homefacultymap"><area shape="rect" alt="Faculty Homepage" title="" coords="107,62,405,186" href="http://dev.freelanceu.net/mjl/miamischoolfaculty" target="_blank" /><area shape="circle" alt="Faculty Homepage" title="" coords="498,96,95" href="http://dev.freelanceu.net/mjl/miamischoolstudent/" /><!-- Created by Online Image Map Editor (http://www.maschek.hu/imagemap/index) --></map>
  56.  
  57.                 <div class="searchform"><?php get_search_form(); ?></div>
  58.             <div class ="translator">
  59.                 <?php
  60.              if ( function_exists('translate_this_button') ) translate_this_button();
  61.                 ?>
  62.                 </div>
  63.             </div>
  64.             <div id ="nav"><div id ="mainnav">
  65.                 <?php wp_nav_menu(array('menu'=>'Student Nav Menu'));?>
  66.                
  67.             </div>
  68.            
  69.             <div class="ribbon1" style="position:absolute;right:0px;">
  70.                 <img src ="<?php bloginfo('url'); ?>/wp-content/uploads/2011/12/navi1.png" alt="Nav1"/>
  71.             </div>
  72.             <div class="ribbon2" style="position:absolute;">
  73.                 <img src ="<?php bloginfo('url'); ?>/wp-content/uploads/2011/12/navi2.png" alt="nav2"/>
  74.             </div>
  75.             </div>
  76.         </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement