Вход Регистрация
Файл: style/themes/material/tpl/pagination.tpl
Строк: 46
<script type="text/javascript"
src="/style/themes/material/js/jquery.simplePagination.js"></script>
<link
href="/style/themes/material/css/simplePagination.css"
rel="stylesheet"> <script
type="text/javascript"> $(function() {
$('#pages').pagination({ items: {$links.total}, itemsOnPage:
{$links.items_on_page}, displayedPages: 5, currentPage:
{$links.current}, hrefTextPrefix: "{$links.href}",
cssStyle: 'light-theme', nextText: '&gt;', prevText:
'&lt;' }); }); </script> <div
class="post" id ="pages"> {if
$links.first} <a class="page"
href="{$links.href}1">|&lt;-</a> {else}
<span class="page_no">&larr;</span>
{/if} {foreach $previous as $key => $value}
<a class="page"
href="{$links.href}{$value}">{$value}</a>
{/foreach} {if $links.prev} <a
class="page"
href="{$links.href}{$links.prev}">&larr;</a>
{/if} <span
class="page_no">{$links.this}</span> {if
$links.next} <a class="page"
href="{$links.href}{$links.next}">&rarr;</a>
{else} <span
class="page_no">&rarr;</span> {/if}
{foreach $following as $key => $value} <a
class="page"
href="{$links.href}{$value}">{$value}</a>
{/foreach} {if $links.last} .. <a
class="page"
href="{$links.href}end">{$links.total}</a>
{/if} </div>
Онлайн: 2
Реклама