Файл: base-sys/base/views/components/paging_mobile.html
Строк: 45
<?php
<div class="peepm_paging clearfix peepm_padding peepm_small_margin_bottom">
{assign var='p' value='0'}
{if $prev}
<a class="peepm_paging_prev" href="{$url}&{$prefix}page={math equation='x-1' x=$page}"> </a>
{else}
<a class="peepm_paging_prev peepm_paging_prev_disabled" href="javascript://"> </a>
{/if}
<a class="peepm_paging_first" href="{$url}&{$prefix}page=1">1</a>
<span class="peepm_paging_select">
-
<select onchange="location.href='{$url}&{$prefix}page=' + this.value">
{section name="paging" loop=$count+1 start=1 step=1}
{math equation="x + y" x=0 y=$smarty.section.paging.index assign='p'}
{if $page == $p}
<option selected="selected" value="{$p}">{$p}</option>
{else}
<option value="{$p}">{$p}</option>
{/if}
{/section}
</select>
-
</span>
<a class="peepm_paging_last" href="{$url}&{$prefix}page={$count}">{$count}</a>
{if $next}
<a class="peepm_paging_next" href="{$url}&{$prefix}page={math equation='x+1' x=$page}"> </a>
{else}
<a class="peepm_paging_next peepm_paging_next_disabled" href="javascript://"> </a>
{/if}
</div>
?>