first commit

This commit is contained in:
2024-12-12 15:33:18 +01:00
commit 2c8998663e
3360 changed files with 777573 additions and 0 deletions

40
templates/other/pager.php Normal file
View File

@@ -0,0 +1,40 @@
<div id='pagin' style="margin-top: 10px;">
<div id="info">
Rekordy: <?= $this -> _start > $this -> _count ? $tmp = $this -> _count : $tmp = $this -> _start;?> - <?= $this -> _end > $this -> _count ? $tmp = $this -> _count : $tmp = $this -> _end;?> z <?= $this -> _count;?>
</div>
<div id="pagings" style="min-width: 300px;">
<?
if ( $this -> _bs > 1 )
{
?>
<a href='./?<?= $this -> _link;?>bs=1' class='arrow' title="piersza"><i class="icon-left-max"></i></a>
<a href='./?<?= $this -> _link;?>bs=<?= ( $this -> _bs - 1 );?>' class='arrow' title="poprzednia"><i class="icon-left"></i></a>
<?
}
else
{
?>
<a class='arrow inactive'><i class="icon-left-max"></i></a>
<a class='arrow inactive'><i class="icon-left"></i></a>
<?
}
?>
<input type='text' value='<?= $this -> _bs;?>' class="input-text center" id='page-bs' onKeyPress='changePage(event)'>
<?
if ( $this -> _bs < $this -> _ls )
{
?>
<a href='./?<?= $this -> _link;?>bs=<?= ( $this -> _bs + 1 );?>' class='arrow' title="następna"><i class="icon-right"></i></a>
<a href='./?<?= $this -> _link;?>bs=<?= $this -> _ls;?>' class='arrow' title="ostatnia"><i class="icon-right-max"></i></a>
<?
}
else
{
?>
<a class='arrow inactive'><i class="icon-right"></i></a>
<a class='arrow inactive'><i class="icon-right-max"></i></a>
<?
}
?>
</div>
</div>