whyisjake

Jake Spurlock

Apr 10th, 2010
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php get_header(); ?>
  2.  
  3. <div id="content">
  4.  
  5.         <?php if (have_posts()) : ?>
  6.  
  7.         <?php while (have_posts()) : the_post(); ?>
  8.  
  9.     <div class="entry">
  10.        
  11.         <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
  12.        
  13.         <?php the_content('Read the rest of this entry &raquo;'); ?>
  14.        
  15.         <div id="map">
  16.        
  17.         <?php $customField = get_post_custom_values("Submitted");
  18.                 if (isset($customField[0])) {
  19.                 echo "Submitted by: ".$customField[0];
  20.             }
  21.        
  22.        
  23.          echo <script type='text/javascript'>
  24.  
  25.             function initialize() {
  26.               if (GBrowserIsCompatible()) {
  27.                 var map = new GMap2(document.getElementById('map_canvas'));
  28.                 map.setCenter(new GLatLng(37.4419, -122.1419), 13);
  29.                 map.setUIToDefault();
  30.               }
  31.             }
  32.  
  33.         </script>;
  34.        
  35.         ?>
  36.        
  37.         </div>
  38.        
  39.         </div>
  40.        
  41.         <div class="clear"></div>
  42.  
  43.        
  44.         <hr />
  45.        
  46.         <div class="meta">
  47.        
  48.             <p>Tagged with <?php the_tags(', '); ?> </p>       
  49.             <p>Posted by <?php the_author_link(); ?> <?php the_time('F jS, Y'); ?> &mdash; <?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?> <?php edit_post_link('Fix me...', '', ''); ?></p>
  50.            
  51.             <div class="clear"></div>
  52.            
  53.         </div>
  54.        
  55.        
  56.         <hr />
  57.        
  58.         <div class="clear"></div>
  59.        
  60.         <?php comments_template(); ?>
  61.        
  62.         <?php endwhile; ?>
  63.    
  64.         <div class="navigation">
  65.             <div class="alignleft"><?php next_posts_link('&#8961; Older Entries') ?></div>
  66.             <div class="alignright"><?php previous_posts_link('Newer Entries &#8961;') ?></div>
  67.         </div>
  68.        
  69.         <div class="clear"></div>
  70.            
  71.            
  72.         <?php else : ?>
  73.  
  74.             <div class="entry">
  75.            
  76.                 <h2 class="center">Not Found</h2>
  77.                 <p class="center">Sorry, but you are looking for something that isn't here.</p>
  78.                 <?php get_search_form(); ?>
  79.                
  80.             </div>
  81.  
  82.         <?php endif; ?>
  83.        
  84.         <div class="clear"></div>
  85.  
  86.        
  87.        
  88.  
  89. </div><!--content-->
  90.  
  91. <?php get_sidebar(); ?>
  92.  
  93. <?php get_footer(); ?>
Add Comment
Please, Sign In to add comment