All pastes #269401 Raw Edit

moshu

public php v1 · immutable
·published 2006-12-06 15:46 UTC
rendered paste body
<div id="latest"> <!--latest starts-->      <?php $top_query = new WP_Query('cat=3&showposts=1'); ?>      <?php while($top_query->have_posts()) : $top_query->the_post(); $first_post = $post->ID; ?>            <h2 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>      	<br />      	      	<div class="storycontent">      		<?php the_content(); ?>      	</div>      	<br />      	<div class="feedback">                  <?php wp_link_pages(); ?>                  <div class="alignleft"><div class="meta foe" ><?php _e("Published in:"); ?> <?php the_category() ?>  on <?php the_time('d.m.Y.') ?> <?php edit_post_link(); ?>        </div></div>                  <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)'), 'commentlink'); ?>      	</div>      	      	<!--      	<?php trackback_rdf(); ?>      	-->            <?php comments_template(); // Get wp-comments.php template ?>      <?php endwhile; ?>      <br /><!--G adsense goes here-->  </div> <!--latest ends-->  <div class="first-col"> <!--firstcol starts-->        <div id="content">      <div class="recentheader">Recent articles</div>        <?php query_posts('showposts=6'); ?>        <?php while(have_posts()) : the_post(); if(!($first_post == $post->ID)) : ?>                     	            <div class="post"> <!--div post starts-->            	 <h2 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>            	<div class="meta"><?php _e("Published in:"); ?> <?php the_category(',') ?> &#8212; <?php// the_author() ?> <?php the_time('d.m.Y. - G:i') ?> <?php edit_post_link(__('Edit This')); ?> |               </div>            	            	<div class="storycontent">            		<?php the_excerpt(); ?>            	</div>            	            	<div class="feedback">                        <?php wp_link_pages(); ?>                        <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)'), 'commentlink'); ?>            	</div>            	            	<!--            	<?php trackback_rdf(); ?>            	-->                        <?php comments_template(); // Get wp-comments.php template ?>                        </div> <!--div post ends-->                <?php endif; endwhile; ?>