Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2011
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.91 KB | None | 0 0
  1. <!---------------header.php------------------------------------>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  4.  
  5. <head profile="http://gmpg.org/xfn/11">
  6. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  7.  
  8. <title><?php bloginfo('name'); ?>  <?php wp_title(); ?></title>
  9.  
  10. <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/style.css" type="text/css" media="screen" />
  11.  
  12. <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
  13.  
  14.     <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  15.  
  16.     <style type="text/css" media="screen">
  17.  
  18. body{
  19.         background: #fff url("<?php bloginfo('template_directory'); ?>/images/bodybg.gif");
  20.     }  
  21.  
  22. #superheader{
  23.         background: url("<?php bloginfo('template_directory'); ?>/images/superheaderbg.gif") top left repeat-x;
  24.         }          
  25.  
  26. #header{
  27.         background: #fff url("<?php bloginfo('template_directory'); ?>/images/headerbg.jpg") top center no-repeat;
  28.                 }  
  29.  
  30. #wrapper2{
  31.         background: #fff url("<?php bloginfo('template_directory'); ?>/images/wrapperbg.gif") top right repeat-y;
  32.                 }
  33.  
  34. .post h2{
  35.     background: url("<?php bloginfo('template_directory'); ?>/images/dots.gif") left bottom repeat-x;
  36.                 }                          
  37.  
  38. .menu ul li.widget ul li{
  39.             background: url("<?php bloginfo('template_directory'); ?>/images/listbullet.gif") no-repeat 0 3px;
  40.                 }  
  41.  
  42. .menu ul li.widget ul li ul li{
  43.         background: url("<?php bloginfo('template_directory'); ?>/images/listbullet.gif") no-repeat 0 1px;
  44.                 }                  
  45.  
  46. </style>
  47.  
  48.         <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/utils.js"></script>
  49.  
  50.     <?php wp_head(); ?>
  51.  
  52. </head>
  53. <body>
  54.  
  55. <div id="wrapper">
  56.  
  57. <div id="wrapper2">
  58.  
  59.     <div id="superheader"></div>
  60.  
  61.     <div id="header">
  62.  
  63.         <h3><a>/"><?php bloginfo('name'); ?></a></h3>
  64.         <h2><?php bloginfo('description'); ?></h2>
  65.  
  66.     </div>
  67.  
  68.     <div id="tabs">
  69.  
  70. <ul>
  71. <li><a>/">Home</a></li>
  72.             <?php
  73. wp_list_pages('title_li=&sort_column=menu_order&depth=1'); ?>
  74.  
  75. </ul>
  76.     </div> 
  77.  
  78. -----------------------------------------------------------------------
  79. ----------------------------sidebar.php--------------------------------
  80.  
  81. <!-- begin sidebar -->
  82. <div id="sidebar">
  83.  
  84.     <div id="subscribe">
  85.  
  86.         <h3 style="font-size: 150%;font-weight:100;"><img alt="RSS" src="<?php bloginfo('template_directory'); ?>/images/feed-icon-16x16.gif" /> Subscribe</h3>
  87.  
  88.         <p><a>">Entries RSS</a> | <a>">Comments RSS</a></p>
  89.  
  90.     </div>
  91.  
  92. <div class="menu">
  93.  
  94. <ul>
  95.         <li class="widget" id="search">
  96.             <h3><?php _e('Search'); ?></h3>
  97.  
  98.             <form id="searchform2" method="get" action="<?php bloginfo('home'); ?>">
  99.  
  100.         <input type="text"  onfocus="doClear(this)" value="<?php _e('To search, type and hit Go'); ?>" name="s" id="s" style="width:130px" /> <input type="submit" value="<?php _e('Go'); ?>" />
  101.  
  102.             </form>
  103.  
  104. <?php /* WordPress Widget Support */ if (function_exists('dynamic_sidebar') and dynamic_sidebar(1)) { } else { ?>
  105.  
  106.     <li class="widget" id="pages">
  107.     <h3><?php _e('Pages'); ?></h3>
  108.         </ul>
  109. <ul>
  110.                 <?php wp_list_pages('title_li='); ?>
  111.         </ul>
  112.     <li class="widget" id="links">
  113.  
  114.         <?php wp_list_bookmarks('title_before=<h3>&title_after=</h3>&category_before=&category_after='); ?>
  115.  
  116.  <li class="widget" id="categories"><h3><?php _e('Categories'); ?></h3>
  117.  
  118. <ul>
  119.     <?php wp_list_categories('title_li='); ?>
  120.     </ul>
  121.  <li class="widget" id="search">
  122.         <h3><?php _e('Search'); ?></h3>
  123.  
  124. <ul>
  125.      <form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
  126.  
  127.         <input type="text" name="s" id="s" style="width:100px" /><input type="submit" value="<?php _e('Search'); ?>" />
  128.  
  129.     </form>
  130.         </ul>
  131.  <li class="widget" id="tags"><h3><?php _e('Tagcloud'); ?></h3>
  132.  
  133.     <?php wp_tag_cloud(''); ?>
  134.  
  135.      <li class="widget" id="archives"><h3><?php _e('Archives'); ?></h3>
  136.  
  137. <ul>
  138.      <?php wp_get_archives('type=monthly'); ?>
  139.     </ul>
  140.  <li class="widget" id="meta"><h3><?php _e('Meta'); ?></h3>
  141.  
  142. <ul>
  143.         <?php wp_register(); ?>
  144.  
  145. <li><?php wp_loginout(); ?></li>
  146. <li><a>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('RSS'); ?></a></li>
  147. <li><a>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments RSS'); ?></a></li>
  148. <li><a href="http://validator.w3.org/check/referer">"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>
  149. <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
  150. <li><a href="http://wordpress.org/">"><abbr title="WordPress">WP</abbr></a></li>
  151.         <?php wp_meta(); ?>
  152.     </ul>
  153.  <li class="widget" id="calendar">
  154.     <h3><?php _e('Calendar'); ?></h3>
  155.      <?php get_calendar(); ?>
  156.  
  157. <?php } ?>
  158.  
  159. </div>
  160.  
  161. </div>
  162.  
  163. <!-- end sidebar -->
  164.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement