0) {$page_all=ceil($q_news[0]/$on_page);} else $page_all=1; if ($res_news && mysqli_num_rows($res_news)) { print_pages($page_e, $page_all); echo "

"; while ($line_news = mysqli_fetch_array($res_news, MYSQL_ASSOC)) { print_news($line_news["news_id"], $line_news["url"], $line_news["date_pub"], $line_news["date_pub"], $line_news["title"], $line_news["anons"], $line_news["bignews"]); } print_pages($page_e, $page_all); } else echo "

Не найдено

"; include($_SERVER['DOCUMENT_ROOT']."/footer.php");?>