0) { $page = (int)$_GET['page']; } else { $page = 1; } $from = ($page-1)*$results_per_page; $result = smart_mysql_query("SELECT *, DATE_FORMAT(added, '".DATE_FORMAT."') AS news_date FROM exchangerix_news WHERE status='active' ORDER BY added DESC LIMIT $from, $results_per_page"); $total_result = smart_mysql_query("SELECT * FROM exchangerix_news WHERE status='active' ORDER BY added DESC"); $total = mysqli_num_rows($total_result); $total_on_page = mysqli_num_rows($result); /////////////// Page config /////////////// $PAGE_TITLE = CBE1_NEWS_TITLE; require_once ("inc/header.inc.php"); ?>

0) { $row2 = mysqli_fetch_array($result2); ?>

0) { ?>

500) $description .= " ".CBE1_NEWS_MORE.""; echo $description; ?>