{* * 2007-2017 Amazzing * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * * @author Amazzing * @copyright 2007-2017 Amazzing * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * *} {$p_max = ($settings.npp == 'all') ? 0 : ceil($settings.total/$settings.npp)} {$prev = $settings.p - 1} {$next = $settings.p + 1} {* single line for better html layout *} {function getPageLink page = 1}{if isset($ab_first_page_url)}{$blog->addPageNumber($ab_first_page_url, $page)|escape:'html':'UTF-8'}{else}#{/if}{/function} {* since 1.3.0 *}