photo/resources/views/components/pagination/nav.blade.php

13 lines
405 B
PHP
Raw Normal View History

2024-09-16 13:17:51 +00:00
<ul class="pagination">
<li class="page-item @disabled(! $x=$o->previous())">
<a class="page-link" href="{{ $x ? url($pre.'/info',$x->id) : '#' }}">&lt;&lt;</a>
</li>
<li class="page-item active">
<span class="page-link">{{ $o->id }}</span>
</li>
<li class="page-item @disabled(! $x=$o->next())">
<a class="page-link" href="{{ $x ? url($pre.'/info',$x->id) : '#' }}">&gt;&gt;</a>
</li>
</ul>