HEX
Server: Apache/2.4.59 (Debian)
System: Linux skycube.cz 4.19.0-25-amd64 #1 SMP Debian 4.19.289-2 (2023-08-08) x86_64
User: ilya (534)
PHP: 7.3.31-1~deb10u7
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/ilya/data/www/irk2.ru/templates/compiled/%%FB^FB1^FB1951EE%%paging.tpl.php
<?php /* Smarty version 2.6.19, created on 2016-10-29 12:22:07
         compiled from paging.tpl */ ?>
	<?php if ($this->_tpl_vars['aPaging'] && $this->_tpl_vars['aPaging']['iCountPage'] > 1): ?> 
			<div id="pagination">
				<p>
					&larr;				
					<?php if ($this->_tpl_vars['aPaging']['iPrevPage']): ?>
    					<a href="<?php echo $this->_tpl_vars['aPaging']['sBaseUrl']; ?>
/page<?php echo $this->_tpl_vars['aPaging']['iPrevPage']; ?>
/<?php echo $this->_tpl_vars['aPaging']['sGetParams']; ?>
">предыдущая</a>
    				<?php else: ?>
    					предыдущая
    				<?php endif; ?>
    				&nbsp; &nbsp;
    				<?php if ($this->_tpl_vars['aPaging']['iNextPage']): ?>
    					<a href="<?php echo $this->_tpl_vars['aPaging']['sBaseUrl']; ?>
/page<?php echo $this->_tpl_vars['aPaging']['iNextPage']; ?>
/<?php echo $this->_tpl_vars['aPaging']['sGetParams']; ?>
">следующая</a>
    				<?php else: ?>
    					следующая
    				<?php endif; ?>
					&rarr;
				</p>
				<ul>
					<li>Страницы:</li>				
					
					<?php if ($this->_tpl_vars['aPaging']['iCurrentPage'] > 1): ?>
						<li><a href="<?php echo $this->_tpl_vars['aPaging']['sBaseUrl']; ?>
/<?php echo $this->_tpl_vars['aPaging']['sGetParams']; ?>
">&larr;</a></li>
					<?php endif; ?>
					<?php $_from = $this->_tpl_vars['aPaging']['aPagesLeft']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['iPage']):
?>
						<li><a href="<?php echo $this->_tpl_vars['aPaging']['sBaseUrl']; ?>
/page<?php echo $this->_tpl_vars['iPage']; ?>
/<?php echo $this->_tpl_vars['aPaging']['sGetParams']; ?>
"><?php echo $this->_tpl_vars['iPage']; ?>
</a></li>
					<?php endforeach; endif; unset($_from); ?>
					<li class="active"><?php echo $this->_tpl_vars['aPaging']['iCurrentPage']; ?>
</li>
					<?php $_from = $this->_tpl_vars['aPaging']['aPagesRight']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['iPage']):
?>
						<li><a href="<?php echo $this->_tpl_vars['aPaging']['sBaseUrl']; ?>
/page<?php echo $this->_tpl_vars['iPage']; ?>
/<?php echo $this->_tpl_vars['aPaging']['sGetParams']; ?>
"><?php echo $this->_tpl_vars['iPage']; ?>
</a></li>
					<?php endforeach; endif; unset($_from); ?>
					<?php if ($this->_tpl_vars['aPaging']['iCurrentPage'] < $this->_tpl_vars['aPaging']['iCountPage']): ?>
						<li><a href="<?php echo $this->_tpl_vars['aPaging']['sBaseUrl']; ?>
/page<?php echo $this->_tpl_vars['aPaging']['iCountPage']; ?>
/<?php echo $this->_tpl_vars['aPaging']['sGetParams']; ?>
">последняя</a></li>
					<?php endif; ?>					
				</ul>
			</div>
	<?php endif; ?>