<div class="column-small-12 padd0"> <ul <?php if ($list_template == 1) { echo 'class="bit bit-list"'; } else { echo 'class="post-list"'; } ?> > <?php if (article_exist()) { if ($category_data->cat_url == "all-articles") { $article_list = article_published($post_per_page, $start, False, 'Bits'); } else { $article_list = article_published($post_per_page, $start, True, $category_data->cat_name); } while ($article_id = mysql_fetch_array($article_list, MYSQL_ASSOC)) { echo '<li>'; if ($list_template == 1) { bits_list($article_id['SL_NO']); } else { post_list($article_id['SL_NO']); } echo '</li>'; } // end of while loop } else { echo '<li>'; if ($list_template == 1) { bits_list();
/* Side Bar include. $sidebar_template -> Define a Sidebar template */ include '_includes/sidebar.php'; ?> </div> </div> <!-- Most article --> <?php if (article_exist()) { echo '<div class="row post-list-2 hide-small"><ul>'; $article_list = article_published(4, 3, False, 'Bits'); while ($article_id = mysql_fetch_array($article_list, MYSQL_ASSOC)) { echo "<li>"; post_list($article_id['SL_NO'], 1); echo "</li>"; } // end of while loop echo '</ul></div>'; } ?> <!-- End of more article --> <!-- most read --> <div class="row post-list-3"> <div class="column-small-4 padd0-med sections">