This commit is contained in:
make
2025-04-16 23:15:37 +08:00
parent efad19295d
commit ef4050fb65
22 changed files with 1453 additions and 1261 deletions

View File

@@ -0,0 +1,33 @@
{if !empty($arrPaginator)}
<div class="page_num">
{volist name="arrPaginator" id="item"}
{eq name="item.type" value="prev"}
<a href="{$item.url ? $strPcPath . $item.url: 'javascript:void(0)'}"
class="z {$item.disabled ? 'disabled' : ''}">
{$item.label}
</a>
{/eq}
{/volist}
<select onchange="self.location.href=options[selectedIndex].value">
{volist name="arrPaginator" id="item"}
{eq name="item.type" value="page"}
<?php $start = ($item['label'] - 1) * $intLimit + 1; ?>
<?php $end = $item['label'] * $intLimit; ?>
<option value="{$strPcPath}{$item.url}" {$item.current ? 'selected' : ''}>
第{$start}-{$end}章
</option>
{/eq}
{/volist}
</select>
{volist name="arrPaginator" id="item"}
{eq name="item.type" value="next"}
<a href="{$item.url ? $strPcPath . $item.url: 'javascript:void(0)'}"
class="y {$item.disabled ? 'disabled' : ''}">
{$item.label}
</a>
{/eq}
{/volist}
</div>
{/if}