WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
$firstpage = '0';if ($total_num > $setting_items_per_page){ if ($position == '0'){echo '<div class="page_on"><a href="?p='.($firstpage).'">1</a></div> ';}else{echo '<div class="page_off"><a href="?p='.($firstpage).'">1</a></div> ';}}if ($total_num > $setting_items_per_page){ if ($position == $setting_items_per_page){echo '<div class="page_on"><a href="?p='.($setting_items_per_page).'">2</a></div> ';}else{echo '<div class="page_off"><a href="?p='.($setting_items_per_page).'">2</a></div> ';}}if ($total_num > $setting_items_per_page*2){ if ($position == $setting_items_per_page*2){echo '<div class="page_on"><a href="?p='.($setting_items_per_page*2).'">3</a></div> ';}else{echo '<div class="page_off"><a href="?p='.($setting_items_per_page*2).'">3</a></div> ';}}if ($total_num > $setting_items_per_page*3){ if ($position == $setting_items_per_page*3){echo '<div class="page_on"><a href="?p='.($setting_items_per_page*3).'">4</a></div> ';}else{echo '<div class="page_off"><a href="?p='.($setting_items_per_page*3).'">4</a></div> ';}}if ($total_num > $setting_items_per_page*4){ if ($position == $setting_items_per_page*4){echo '<div class="page_on"><a href="?p='.($setting_items_per_page*4).'">5</a></div> ';}else{echo '<div class="page_off"><a href="?p='.($setting_items_per_page*4).'">5</a></div> ';}}if ($total_num > $setting_items_per_page*5){ if ($position == $setting_items_per_page*5){echo '<div class="page_on"><a href="?p='.($setting_items_per_page*5).'">6</a></div> ';}else{echo '<div class="page_off"><a href="?p='.($setting_items_per_page*5).'">6</a></div> ';}
.page_on {background:#0f7192; width:18px; height:18px; color:#ffffff;text-align:center; float:left;margin-right:4px;}.page_on a {background:#0f7192; width:18px; height:18px; color:#ffffff;text-align:center; float:left;}.page_on a:hover {background:#7ab4c8; width:18px; height:18px; color:#ffffff;text-align:center; float:left;}.page_off {background:#cccccc; width:18px; height:18px; color:#0f7192;text-align:center; float:left;margin-right:4px;}.page_off a {background:#cccccc; width:18px; height:18px; color:#0f7192;text-align:center; float:left;}.page_off a:hover {background:#0f7192; width:18px; height:18px; color:#ffffff;text-align:center; float:left;}
if ($total_num > $setting_items_per_page*2){ if ($position == $setting_items_per_page*2){echo '<div class="page_on"><a href="?p='.($setting_items_per_page*2).'">3</a></div> ';}else{echo '<div class="page_off"><a href="?p='.($setting_items_per_page*2).'">3</a></div> ';}