[ create a new paste ] login | about

Link: http://codepad.org/4uyZgaNH    [ raw code | fork ]

PHP, pasted on Feb 2:
<?php 
		$fullsized--;
		
		else: 
		// ############################# SMALL SIZED POSTS #############################
			if($smallsized == 1): echo '<div class="doubleentry" style="width: 960px;">'; endif;
			$smallsized ++;
			
			$small_prev = kriesi_post_thumb($post->ID, array('size'=> array('S'),
															'display_link' => '_prev_image_link',
															'linkurl' => array ('L','_preview_big'),
															'wh' => $k_option['custom']['imgSize']['S'],
															'img_attr' => array('class'=>'rounded alignleft'),
															'link_attr' => array('class'=>'alignleft preloading_background')
															));
															
			?>
			<div class="entry">
			<div class="entry-content">
				<h1 class="entry-heading">
					<a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php _e('Permanent Link:','newscast')?> <?php the_title(); ?>">
					<?php the_title(); ?>
					</a>
				</h1>				<div class="entry-head">
					<span class="date ie6fix" style="float: left;"><?php the_time('M d, Y') ?></span>
					<span class="author ie6fix" style="float: left;width: 110px;margin-left: 10px;"><?php _e('','newscast');?> <?php the_author_posts_link(); ?></span>
				</div>
				
				<div class="entry-text">
					<?php 
					if($small_prev) echo $small_prev;
					the_excerpt(); 
					?>
				</div>
				
				<div>
					<span class="categories; more-link" style="text-align: center; margin-top: 5px"><?php the_category(', '); ?></span>

				</div>
			</div>
		</div>
		
		<?php
		if($smallsized > 3): echo '</div>'; $smallsized = 1; endif;
		
		endif; endwhile; 
		if($smallsized == 2):echo '</div>'; endif;
		
		kriesi_pagination($additional_loop->max_num_pages);
		
		else: 
		
			echo'<div class="entry">';
			echo'<h2>'.__('Nothing Found','newscast').'</h2>';
			echo'<p>'.__('Sorry, no posts matched your criteria','newscast').'</p>';
			echo'</div>';
			
 		endif;
 		
 		// end content: ?></div>


Create a new paste based on this one


Comments: