Adventure Motorcycle Blog
Thursday, 18 September 2025
Pages for($page_number = 1; $page_number<= $total_pages; $page_number++) { echo '| ' . $page_number . ' '; }; ?>
include($_SERVER['DOCUMENT_ROOT']."/_includes/_constants.php"); include($_SERVER['DOCUMENT_ROOT']."/_includes/_conn.php"); $limit = 10; $countforad = 0; $sql1 = "select * from BlogPosts where PostStatus = '1' order by PostDate DESC"; $result = mysqli_query($con, $sql1); $total_rows = mysqli_num_rows($result); $total_pages = ceil ($total_rows / $limit); if (!isset ($_GET['page']) ) { $page_number = 1; } else { $page_number = $_GET['page']; } $initial_page = ($page_number-1) * $limit; $sql1 = "select * from BlogPosts where PostStatus = '1' order by PostDate DESC LIMIT " . $initial_page . ',' . $limit; $result = mysqli_query($con, $sql1); $htmltitle = "Lonely Road | Adventure Motorcycle Blog"; $metadesc = "Adventure motorcycle channel with exlusive videos and content for riding across the world."; $metakeywords = "Lonely Road, Benjamin Craig, adv rider, adventure riding, moto adventure, overlanding, moto, motorcycle, travel"; $canonicalurl = "https://www.lonelyroad.tv/blog/"; ?>
include($_SERVER['DOCUMENT_ROOT']."/_includes/_html_head_block.php"); ?>Pages for($page_number = 1; $page_number<= $total_pages; $page_number++) { echo '| ' . $page_number . ' '; }; ?>