Example #1
0
        $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();
    } else {
        post_list();
    }
    echo '</li>';
}
?>
						        			</ul>
							    		 	<?php 
if (article_exist()) {
    if ($category_data->cat_url == "all-articles") {
        pagination($post_per_page, $start, $category_data->cat_url, False, 'Bits');
    } else {
        pagination($post_per_page, $start, $category_data->cat_url, True, $category_data->cat_name);
    }
}
Example #2
0
?>
</li>
								    			<li><?php 
bits_list(127, 1);
?>
</li>
								    			<li><?php 
bits_list(122, 1);
?>
</li>
								    			<li><?php 
bits_list(125, 1);
?>
</li>
								    			<li><?php 
bits_list(127, 1);
?>
</li>
								    		</ul>
										</div>
								    </div>
								</div>
						    </div>
						    <!-- End of most read -->
					    </div>
					</div>

				</div><!-- end of class="article-container" -->
			</div><!-- end of class="content-inner" -->		
		</div> <!-- end of class="content" -->
<?php