post_count<2) $nosearch=1; } } if ($type=='fe'||$type=='fl'){ if(!get_option('sticky_posts')){ $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $offset='&offset='.(($paged-1)*get_query_var('posts_per_page')+1); } else $offset='&caller_get_posts=1'; query_posts($query_string.$offset); } if (have_posts()) { if ($type=='fl') echo '
'; $i=0; while (have_posts()) { the_post(); if ($type=='traditional') itx_single_content('singlepost'); elseif ($type=='fl') itx_line_content('linepost'); else { $i++; $postwrap=ceil($i/$column); itx_content('posts postwrap-'.$postwrap); } } if ($type=='fl') echo '
'; } elseif (empty($nosearch)) itx_notfound(); ?>