Public feed #725683

Brian Free

public php v1 · immutable
Raw Edit
·published 2007-10-04 17:05 UTC
rendered paste body
<?php get_header();?><div id="content"><div id="content-main">		<?php if ($posts) {				$AsideId = get_settings('mistylook_asideid');				function ml_hack($str)				{					return preg_replace('|</ul>\s*<ul class="asides">|', '', $str);				}				ob_start('ml_hack');				foreach($posts as $post)				{					start_wp();				?>				<?php if ( in_category($AsideId) && !is_single() ) : ?>					<ul class="asides">						<li id="p<?php the_ID(); ?>">							<?php echo wptexturize($post->post_content); ?>														<br/><?php comments_popup_link('(0)', '(1)','(%)')?>  | <a href="<?php the_permalink(); ?>" title="Permalink: <?php echo wptexturize(strip_tags(stripslashes($post->post_title), '')); ?>" rel="bookmark">#</a> <?php edit_post_link('(edit)'); ?>						</li>											</ul>				<?php else: // If it's a regular post or a permalink page ?>					<div class="post" id="post-<?php the_ID(); ?>">				<div class="posttitle">					<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>					<p class="post-info"><?php the_time('M jS, Y') ?> by <?php the_author_posts_link() ?> <?php edit_post_link('Edit', '', ' | '); ?> </p>				</div>								<div class="entry">					<?php the_content('Continue Reading &raquo;'); ?>					<?php wp_link_pages(); ?>				</div>		<script src="http://feeds.feedburner.com/~s/RamblingsOfAnAffiliateMarketer?i=<?php the_permalink() ?>" type="text/javascript" charset="utf-8"></script>				<p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>				<?php comments_template(); ?>			</div>			<?php endif; // end if in category ?>			<?php				}			}			else			{ ?>				<h2 class="center">Not Found</h2>				<p class="center">Sorry, but you are looking for something that isn't here.</p>			<?php }		?>		<p align="center"><?php posts_nav_link(' - ','&#171; Newer Posts','Older Posts &#187;') ?></p></div><!-- end id:content-main --><script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script><script type="text/javascript">_uacct = "UA-2229206-1";urchinTracker();</script><?php get_sidebar();?>