<?php
/**
 * Template Name: Simplicity
 *
 * A custom page template without sidebar or header or footer or widgets!
 * Designed specifically for use as a substitute home page for Ain't Complicated
 *
 * The "Template Name:" bit above allows this to be selectable 
 * from a dropdown menu on the edit page screen.
 *
 * @package WordPress
 * @subpackage 20esmio10
 * @since Twenty Ten 1.0
 */
?>
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="UTF-8" />
<title>Ain't Complicated -- Mark's Views (Perhaps), from behind his eyeballs</title>
<meta name="description" content="Mark Roth comments -- infrequently enough to not be burdensome -- on matters societal, spiritual, political, technological. To help and encourage. And warn.">

   <style type="text/css"><!--
.pseudobody {background:#dddddd; height:600px; width:944px; margin:0 auto; position:relative}
.myheader {height:70px; overflow:hidden; border:2px solid black; width:940px; margin:0 auto; background:#ffffff url('/mvp/wp-content/gallery/header/mr-beach.jpg') no-repeat left top}
.myheader:hover {height:198px; z-index:1000; position:absolute; left:0; top:0}
.mycontent {background:whitesmoke; border:2px solid black; width:612px; height:384px; padding:20px 30px; position:absolute; left:100px; bottom:50px; box-shadow: 0 0 5px 5px #888}
.addthis_toolbox {position:absolute; left:30px; bottom:20px}
--> </style>

</head>

<body>

<div class="pseudobody">

   <div class="myheader">
      <h1 style="font-size:60px; padding:10px 30px; letter-spacing:.05em; font-variant:small-caps; display:inline; font-family:georgia,courier new,monospace; font-weight:bold">
         <span>
            <a style="color:black; text-decoration:none" href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
         </span>
      </h1>
   </div>

   <div style="text-align:right; padding:0; width:934px; margin:3px auto; color:#696969; font-style:italic; font-family:georgia; font-size:15px">
      <?php bloginfo( 'description' ); ?>
   </div>

   <div class="mycontent">
      <div style="font-size:20px; font-family:georgia; line-height:1.5em">

         <?php query_posts('showposts=1'); ?>
         <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
            <h2 style="font-size:30px"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
            <?php
               global $more;    // Declare global $more (before the loop).
               $more = 0;       // Set (inside the loop) to display content above the more tag.
               the_content('',TRUE,'');   // INSTEAD OF the_content("→ Continue reading →");
            ?>
            <p style="text-align:right;">
               <a href="<?php the_permalink(); ?>" class="more-link"><img src="/graphics/get-the-rest.png" style="border:none; width:165px; height:65px;" alt="graphic link to the rest of the post" title="Click to read the full post" /></a>
            </p>
         <?php endwhile; ?>
         <?php endif; ?>

      </div>

   </div>

<!-- WOOPRA ANALYTICS CODE GOES HERE -->

<!-- FEEDBURNER CODE GOES HERE -->

<!-- WORDPRESS.COM STATS CODE GOES HERE -->

</div>

<!-- FACEBOOK LIKE BUTTON CODE GOES HERE -->

<DIV style="position:absolute; right:0; bottom:0; width:170px; padding:0;">
<a href="/mvp/expanded-home/"><img src="/graphics/sweet-home.png" style="border:none; width:165px; height:65px;" alt="special home page graphic" title="Click to go to full home page" /></a>
</DIV>

</body>
</html>