'') $exclude_twocol_cats = implode(",", get_option('hires_twocol_cats')); $args = "orderby=".get_option('hires_sort_cat')."&exclude=".$exclude_twocol_cats; $categories = get_categories($args); $catcount = 0; echo '
'; foreach ($categories as $cat) { echo '
'; echo ' '; echo ''; echo '

'.$cat->cat_name.'

'; echo '
'; query_posts('showposts='.get_option('hires_twocol_post_num').'&cat='.$cat->cat_ID); $postcount = 0; while (have_posts()) : the_post(); global $post; if($postcount == 0 ) { ?>
'img-responsive')); ?>

→', 'hiresponsive' ) ); ?>
'; //if(!is_int($catcount/2)) echo '
'; $catcount++; } echo '
'; ?>