• Hello guys,

    Please look at the image http://img41.imageshack.us/img41/226/36880370.jpg

    to quickly see what i need. Your help is very much appreciated.

    <?php get_header(); ?>
    
    <div id="postcolumn">
    
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    
    <!-- post zone -->
    <div class="photobox">
    <div class="photopost" id="post-<?php the_ID(); ?>">
    
    	<div class="fixnav">
    	<div class="pnav">
    	<div class="pnav_left"><?php previous_post_link('%link', PREVIOUS, TRUE); ?></div>
    	<div class="pnav_right"><?php next_post_link('%link', NEXT, TRUE); ?></div>
    	<div class="clear"></div>
    	</div>
    	</div>
    
    	<h1><?php the_title(); ?></h1>
    	<div class="date"><?php print POSTED_PHOTOS; ?> <?php the_time('d M Y'); ?> <?php print AT_TEXT; ?> <?php the_time('g:ia'); ?></div>
    	<span class="description"><?php no_image_in_post(); ?></span>
    
    	<?php post_gallery(); ?>
    
    	<div class="fixnav2">
    	<div class="pnav">
    	<div class="pnav_left"><?php previous_post_link('%link', PREVIOUS.'<span>%title</span>', TRUE); ?></div>
    	<div class="pnav_right"><?php next_post_link('%link', NEXT.'<span>%title</span>', TRUE); ?></div>
    	<div class="clear"></div>
    	</div>
    	</div>
    
    	<?php if ($options['adblock10'] != '') : ?>
    	<div class="gallery_ad"><span><?php print ADVERTISEMENT; ?></span><?php echo $options['adblock10']?></div>
    	<?php endif; ?>
    
    </div>
    
    	<!--
    	<?php trackback_rdf(); ?>
    	-->
    
    </div>
    
    <?php endwhile; ?>
    <?php else : ?>
    <?php endif; ?>
    
    <!-- right zone -->
    <div class="photosidebar">
    
    	<?php if ($options['adblock11'] != '') : ?>
    	<div class="right_ads"><?php print ADVERTISEMENT; ?><?php echo $options['adblock11']?></div>
    	<?php endif; ?>
    
    	<ul class="sidebar_r">
    	<?php global $included_pic; $showpost = new WP_query(); $showpost->query(array('category__in'=>$included_pic,'post__not_in'=>array($post->ID),'showposts'=>4)); ?>
    	<?php if ($showpost->have_posts()) : ?>
    	<li><h2><?php print RECENT_PHOTOS; ?></h2>
    	<?php while ($showpost->have_posts()) : $showpost->the_post(); ?>
    	<div class="recphoto">
    	<div class="pic"><?php show_thumb($options['big_thumb_w'],$options['big_thumb_h'],$options['crop'],$options['quality']); ?></div>
    	<h3><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
    	<div class="sum"><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php print do_excerpt(get_the_excerpt(), $options['snippet_level2']); ?></a></div>
    	<div class="readit"><a href="<?php the_permalink(); ?>"><?php print SEE_PHOTOS; ?></a></div><div class="clear"></div>
    	</div>
    	<?php endwhile; ?>
    	</li>
    	<?php endif; ?>
    	</ul>
    
    	<div class="subscribe_p">
    	<h2><?php print SUBSCRIPTION; ?></h2>
    	<p><?php print SUBSCRIBE_TO; ?> <a href="<?php bloginfo('rss2_url'); ?>">RSS</a> <?php print FEED_NEWS; ?></p>
    	<p><?php print CAN_SUBSCRIBE; ?> <?php print TO_TEXT; ?> <strong><?php bloginfo('name'); ?></strong> <?php print SUBSCRIBE; ?> <b><?php print SIGN_UP; ?></b>!</p>
    	<form action="http://feedburner.google.com/fb/a/mailverify?uri=<?php echo $options['feedburner']?>" method="post" class="fe">
    	<fieldset>
    	<input type="text" name="email" value="<?php print YOUR_EMAIL; ?>" class="email" />
    	<input type="hidden" value="<?php echo $options['feedburner']?>" name="uri" />
    	<input type="hidden" name="loc" value="en_US" />
    	<input type="submit" value="Sign Up" class="bu" />
    	</fieldset>
    	</form>
    	</div>
    
    </div>
    
    <div class="clear"></div>
    </div>
    
    <?php get_footer(); ?>

The topic ‘PHP/HTML Help’ is closed to new replies.