All pastes #936033 Raw Edit

Something

public text v1 · immutable
·published 2008-03-10 02:11 UTC
rendered paste body
<?php $random = rand(1,2); 
if ($random == '1') {$image='df_logo.jpg'} else {$image='df_logo2.jpg'} ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title>
<?php bloginfo('name'); ?>
<?php if ( is_single() ) { ?>
&raquo; Blog Archive
<?php } ?>
<?php wp_title(); ?>
</title>
<script src="<?php bloginfo('stylesheet_directory'); ?>/accordian.js" type="text/javascript" language="javascript"></script>
<meta name="homedesc" content="Enter your site description here" />
<!--PLEASE FILL-->
<meta name="keywords" content="Enter your site keywords here" />
<!--PLEASE FILL-->
<meta name="robots" content="index,follow" />
<!--PLEASE FILL-->
<meta name="author" content="Your Name" />
<!--PLEASE FILL-->
<meta name="description" content="1 line description of your site" />
<!--PLEASE FILL-->
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
<!-- leave this for stats please -->
<style type="text/css" media="screen">
@import url( <?php bloginfo('stylesheet_url');
?> );
.head_mid h1.logo a {background:url("<?php bloginfo('stylesheet_directory'); ?>/images/<?php echo $image;?>")no-repeat 0 0;}
</style>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php //comments_popup_script(); // off by default ?>
<?php wp_head(); ?>
</head>
<body>
<div class="wrapper">
<!-- Theme by http://dezinerfolio.com            Author: Navdeep Raj -->
<div class="smallnavi"> <a href="#navig" class="anchors">Skip to Navigation</a> <a href="#maincontent">Skip to Content</a> </div>
<div class="header">
  <div class="head_left"></div>
  <div class="head_mid">
    <h1 class="logo"><a href="<?php bloginfo('url'); ?>">
      <?php bloginfo('name'); ?>
      </a></h1>
    <div class="headermid_right">
      <div class="searcharea">
        <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
          <input alt="search" type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" />
        </form>
      </div>
      <div class="navigation">
        <ul>
          <li class="<?php if ( is_home() or is_archive() or is_single() or is_paged() or is_search() or (function_exists('is_tag') and is_tag()) ) { ?>current_page_item<?php } else { ?>page_item<?php } ?>"><a href="<?php echo get_settings('home'); ?>">
            <?php _e('Home'); ?>
            </a></li>
          <?php wp_list_pages('sort_column=id&depth=1&title_li='); ?>
          <a name="navig"></a>
        </ul>
      </div>
    </div>
  </div>
  <div class="head_right"></div>
</div>