Advertisement
AndrzejL

Original header file

Jan 25th, 2012
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.74 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head profile="http://gmpg.org/xfn/11">
  4.  
  5.     <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
  6.  
  7.     <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  8.     <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
  9.  
  10.     <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
  11.     <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
  12.     <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
  13.     <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
  14.     <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  15.     <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" />
  16.    
  17.     <?php wp_get_archives('type=monthly&format=link'); ?>
  18.     <?php //comments_popup_script(); // off by default ?>
  19.      <?php wp_enqueue_script("jquery"); ?>
  20.  
  21.     <?php wp_head(); ?>
  22.    
  23.     <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/styleswitcher.js"></script>
  24.     <link href="<?php bloginfo('stylesheet_directory'); ?>/css/alarge.css" rel="alternate stylesheet" type="text/css" media="screen" title="alarge"/>
  25. <link href="<?php bloginfo('stylesheet_directory'); ?>/css/amedium.css" rel="alternate stylesheet" type="text/css" media="screen" title="amedium"/>
  26. <link href="<?php bloginfo('stylesheet_directory'); ?>/css/asmall.css" rel="alternate stylesheet" type="text/css" media="screen" title="asmall"/>
  27. <?php
  28. /* This code retrieves all our admin options. */
  29. global $options;
  30. foreach ($options as $value) {
  31.     if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
  32. }
  33. ?>
  34. <?php   if ($rea_color_theme) { ?>
  35. <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/<?php echo $rea_color_theme;?>.css" type="text/css" media="screen" />
  36. <?php } ?>
  37.  
  38.  
  39. <script type="text/javascript">
  40. var $j = jQuery.noConflict();
  41.  
  42. $j(function(){
  43. //toggle message_body
  44.     $j(".collapse-head").click(function(){
  45.         $j(this).next("ul").slideToggle(500)
  46.         return false;
  47.     });
  48.     $j(".collapse-head").click(function(){
  49.         $j(this).next("div").slideToggle(500)
  50.         return false;
  51.     });
  52. });
  53. </script>
  54.     <!--[if lte IE 6]>
  55. <style type="text/css">
  56. a#sitename1, a.btnicon, .bgbottom{
  57.     behavior: url("<?php bloginfo('stylesheet_directory'); ?>/js/iepngfix.htc");
  58. }
  59.  
  60. #user4{
  61. margin-right:1px;
  62. }
  63. </style>
  64. <![endif]-->
  65.  
  66. </head>
  67. <body>
  68. <div id="wrapper" class="width_<?php echo $rea_width_style;?>">
  69.     <div id="heading">
  70.       <h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
  71. <p class="tagline"><?php bloginfo('description'); ?></p>
  72.  
  73.        <div id="buttons"><a href="#" id="alarge" class="btnicon" title="<?php _e('Extra large')?>" onclick="setActiveStyleSheet('alarge'); return false;"><?php _e('Extra large')?></a><a href="#" id="amedium" class="btnicon" title="<?php _e('Large')?>" onclick="setActiveStyleSheet('amedium'); return false;"><?php _e('Large')?></a><a href="#" id="asmall" class="btnicon" title="<?php _e('Normal')?>" onclick="setActiveStyleSheet('asmall'); return false;"><?php _e('Normal')?></a></div>
  74.  
  75.     </div><!--heading-->
  76.     <div id="header"><div class="bgleft"><div class="bgright"><div class="bgbl">
  77.        
  78.         <div id="user3">
  79.         <ul><?php wp_list_pages('depth=1&title_li='); ?> </ul>
  80.         </div><!--user3-->
  81.    
  82.         <div id="top">
  83.           <ul>
  84.     <?php if ( !function_exists('dynamic_sidebar')
  85.         || !dynamic_sidebar(1) ) : ?>
  86.         <li><h3></h3></li>
  87.     <?php endif; ?>
  88.     </ul>
  89.         </div><!--top-->
  90.        
  91.     </div></div></div></div><!--header-->
  92.    
  93.     <div id="container"><div class="bgright"><div class="bg">
  94.    
  95.       <div id="user4"><div class="bgright4"><div class="bg4">
  96.       <!--search code starts-->
  97.        <form method="get" id="searchform" action="<?php bloginfo('home'); ?>">
  98.             <div>
  99.             <input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" size="15" />
  100.             <input name="submit" type="image" id="searchsubmit" value="Search" src="<?php bloginfo('stylesheet_directory');?>/images/search.png"/>
  101.             <div class="clear"></div>
  102.             </div>
  103.         </form>
  104.         <!--search ends-->
  105.       </div></div></div><!--search-->
  106.       <div id="content">
  107.         <div class="middlewrap" id="middlewrap">
  108.            <div class="middle" id="middlenarrow"><div class="middlebg">
  109.              <div id="component">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement