<?php
/* Smarty version 4.3.2, created on 2024-05-20 15:21:19
  from '/var/www/html/public/legacy/themes/suite8/include/ListView/ListViewPaginationBottom.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.2',
  'unifunc' => 'content_664b6a6f75a8e2_71320175',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '423be37a23c8e1bca47bbf82018a43678768b865' => 
    array (
      0 => '/var/www/html/public/legacy/themes/suite8/include/ListView/ListViewPaginationBottom.tpl',
      1 => 1709743133,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:include/ListView/ListViewButtons.tpl' => 1,
    'file:include/ListView/ListViewSearchLink.tpl' => 1,
    'file:include/ListView/ListViewColumnsFilterLink.tpl' => 1,
  ),
),false)) {
function content_664b6a6f75a8e2_71320175 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/html/public/legacy/include/Smarty/plugins/function.sugar_action_menu.php','function'=>'smarty_function_sugar_action_menu',),1=>array('file'=>'/var/www/html/public/legacy/include/Smarty/plugins/function.sugar_getimage.php','function'=>'smarty_function_sugar_getimage',),));
?>


<?php $_smarty_tpl->_assignInScope('alt_start', $_smarty_tpl->tpl_vars['navStrings']->value['start']);
$_smarty_tpl->_assignInScope('alt_next', $_smarty_tpl->tpl_vars['navStrings']->value['next']);
$_smarty_tpl->_assignInScope('alt_prev', $_smarty_tpl->tpl_vars['navStrings']->value['previous']);
$_smarty_tpl->_assignInScope('alt_end', $_smarty_tpl->tpl_vars['navStrings']->value['end']);?>

	<tr id='pagination' class="pagination-unique pagination-bottom" role='presentation'>
		<td colspan='<?php if ($_smarty_tpl->tpl_vars['prerow']->value) {
echo $_smarty_tpl->tpl_vars['colCount']->value+1;
} else {
echo $_smarty_tpl->tpl_vars['colCount']->value;
}?>'>
			<table border='0' cellpadding='0' cellspacing='0' width='100%' class='paginationTable'>
				<tr>
					<td nowrap="nowrap" class='paginationActionButtons'>
						<?php if ($_smarty_tpl->tpl_vars['prerow']->value) {?>

                        <?php echo smarty_function_sugar_action_menu(array('id'=>$_smarty_tpl->tpl_vars['link_select_id']->value,'params'=>$_smarty_tpl->tpl_vars['selectLink']->value),$_smarty_tpl);?>


						<?php }?>

						<?php echo smarty_function_sugar_action_menu(array('id'=>$_smarty_tpl->tpl_vars['link_action_id']->value,'params'=>$_smarty_tpl->tpl_vars['actionsLink']->value),$_smarty_tpl);?>


                        <?php if ($_smarty_tpl->tpl_vars['actionDisabledLink']->value != '') {?><div class='selectActionsDisabled' id='select_actions_disabled_<?php echo $_smarty_tpl->tpl_vars['action_menu_location']->value;?>
'><?php echo $_smarty_tpl->tpl_vars['actionDisabledLink']->value;?>
</div><?php }?>
                        <?php $_smarty_tpl->_subTemplateRender('file:include/ListView/ListViewButtons.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
                        <?php if ($_smarty_tpl->tpl_vars['showFilterIcon']->value) {?>
							<?php $_smarty_tpl->_subTemplateRender('file:include/ListView/ListViewSearchLink.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
						<?php }?>
      <?php if (empty($_smarty_tpl->tpl_vars['hideColumnFilter']->value)) {?>
          <?php $_smarty_tpl->_subTemplateRender('file:include/ListView/ListViewColumnsFilterLink.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
      <?php }?>
						&nbsp;<?php echo $_smarty_tpl->tpl_vars['selectedObjectsSpan']->value;?>

					</td>
					<td  nowrap='nowrap' align="right" class='paginationChangeButtons' width="1%">
						<?php if ($_smarty_tpl->tpl_vars['pageData']->value['urls']['startPage']) {?>
							<button type='button' id='listViewStartButton_<?php echo $_smarty_tpl->tpl_vars['action_menu_location']->value;?>
' name='listViewStartButton' title='<?php echo $_smarty_tpl->tpl_vars['navStrings']->value['start'];?>
' class='list-view-pagination-button' <?php if ($_smarty_tpl->tpl_vars['prerow']->value) {?>onclick='return sListView.save_checks(0, "<?php echo $_smarty_tpl->tpl_vars['moduleString']->value;?>
");'<?php } else { ?> onClick='location.href="<?php echo $_smarty_tpl->tpl_vars['pageData']->value['urls']['startPage'];?>
"' <?php }?>>
								<span><?php echo smarty_function_sugar_getimage(array('name'=>"paginate_first"),$_smarty_tpl);?>
</span>
							</button>
						<?php } else { ?>
							<button type='button' id='listViewStartButton_<?php echo $_smarty_tpl->tpl_vars['action_menu_location']->value;?>
' name='listViewStartButton' title='<?php echo $_smarty_tpl->tpl_vars['navStrings']->value['start'];?>
' class='list-view-pagination-button' disabled='disabled'>
								<span><?php echo smarty_function_sugar_getimage(array('name'=>"paginate_first"),$_smarty_tpl);?>
</span>
							</button>
						<?php }?>
						<?php if ($_smarty_tpl->tpl_vars['pageData']->value['urls']['prevPage']) {?>
							<button type='button' id='listViewPrevButton_<?php echo $_smarty_tpl->tpl_vars['action_menu_location']->value;?>
' name='listViewPrevButton' title='<?php echo $_smarty_tpl->tpl_vars['navStrings']->value['previous'];?>
' class='list-view-pagination-button' <?php if ($_smarty_tpl->tpl_vars['prerow']->value) {?>onclick='return sListView.save_checks(<?php echo $_smarty_tpl->tpl_vars['pageData']->value['offsets']['prev'];?>
, "<?php echo $_smarty_tpl->tpl_vars['moduleString']->value;?>
")' <?php } else { ?> onClick='location.href="<?php echo $_smarty_tpl->tpl_vars['pageData']->value['urls']['prevPage'];?>
"'<?php }?>>
								<span><?php echo smarty_function_sugar_getimage(array('name'=>"paginate_previous"),$_smarty_tpl);?>
</span>
							</button>
						<?php } else { ?>
							<button type='button' id='listViewPrevButton_<?php echo $_smarty_tpl->tpl_vars['action_menu_location']->value;?>
' name='listViewPrevButton' class='list-view-pagination-button' title='<?php echo $_smarty_tpl->tpl_vars['navStrings']->value['previous'];?>
' disabled='disabled'>
								<span><?php echo smarty_function_sugar_getimage(array('name'=>"paginate_previous"),$_smarty_tpl);?>
</span>
							</button>
						<?php }?>
					</td>
					<td nowrap='nowrap' width="1%" class="paginationActionButtons">
						<div class='pageNumbers'>(<?php if ($_smarty_tpl->tpl_vars['pageData']->value['offsets']['lastOffsetOnPage'] == 0) {?>0<?php } else {
echo $_smarty_tpl->tpl_vars['pageData']->value['offsets']['current']+1;
}?> - <?php echo $_smarty_tpl->tpl_vars['pageData']->value['offsets']['lastOffsetOnPage'];?>
 <?php echo $_smarty_tpl->tpl_vars['navStrings']->value['of'];?>
 <?php if ($_smarty_tpl->tpl_vars['pageData']->value['offsets']['totalCounted']) {
echo $_smarty_tpl->tpl_vars['pageData']->value['offsets']['total'];
} else {
echo $_smarty_tpl->tpl_vars['pageData']->value['offsets']['total'];
if ($_smarty_tpl->tpl_vars['pageData']->value['offsets']['lastOffsetOnPage'] != $_smarty_tpl->tpl_vars['pageData']->value['offsets']['total']) {?>+<?php }
}?>)</div>
					</td>
					<td nowrap='nowrap' align="right" class='paginationActionButtons' width="1%">
						<?php if ($_smarty_tpl->tpl_vars['pageData']->value['urls']['nextPage']) {?>
							<button type='button' id='listViewNextButton_<?php echo $_smarty_tpl->tpl_vars['action_menu_location']->value;?>
' name='listViewNextButton' title='<?php echo $_smarty_tpl->tpl_vars['navStrings']->value['next'];?>
' class='list-view-pagination-button' <?php if ($_smarty_tpl->tpl_vars['prerow']->value) {?>onclick='return sListView.save_checks(<?php echo $_smarty_tpl->tpl_vars['pageData']->value['offsets']['next'];?>
, "<?php echo $_smarty_tpl->tpl_vars['moduleString']->value;?>
")' <?php } else { ?> onClick='location.href="<?php echo $_smarty_tpl->tpl_vars['pageData']->value['urls']['nextPage'];?>
"'<?php }?>>
								<span><?php echo smarty_function_sugar_getimage(array('name'=>"paginate_next"),$_smarty_tpl);?>
</span>
							</button>
						<?php } else { ?>
							<button type='button' id='listViewNextButton_<?php echo $_smarty_tpl->tpl_vars['action_menu_location']->value;?>
' name='listViewNextButton' class='list-view-pagination-button' title='<?php echo $_smarty_tpl->tpl_vars['navStrings']->value['next'];?>
' disabled='disabled'>
								<span><?php echo smarty_function_sugar_getimage(array('name'=>"paginate_next"),$_smarty_tpl);?>
</span>
							</button>
						<?php }?>
						<?php if ($_smarty_tpl->tpl_vars['pageData']->value['urls']['endPage'] && $_smarty_tpl->tpl_vars['pageData']->value['offsets']['total'] != $_smarty_tpl->tpl_vars['pageData']->value['offsets']['lastOffsetOnPage']) {?>
							<button type='button' id='listViewEndButton_<?php echo $_smarty_tpl->tpl_vars['action_menu_location']->value;?>
' name='listViewEndButton' title='<?php echo $_smarty_tpl->tpl_vars['navStrings']->value['end'];?>
' class='list-view-pagination-button' <?php if ($_smarty_tpl->tpl_vars['prerow']->value) {?>onclick='return sListView.save_checks("end", "<?php echo $_smarty_tpl->tpl_vars['moduleString']->value;?>
")' <?php } else { ?> onClick='location.href="<?php echo $_smarty_tpl->tpl_vars['pageData']->value['urls']['endPage'];?>
"'<?php }?>>
								<span><?php echo smarty_function_sugar_getimage(array('name'=>"paginate_last"),$_smarty_tpl);?>
</span>
							</button>
						<?php } elseif (!$_smarty_tpl->tpl_vars['pageData']->value['offsets']['totalCounted'] || $_smarty_tpl->tpl_vars['pageData']->value['offsets']['total'] == $_smarty_tpl->tpl_vars['pageData']->value['offsets']['lastOffsetOnPage']) {?>
							<button type='button' id='listViewEndButton_<?php echo $_smarty_tpl->tpl_vars['action_menu_location']->value;?>
' name='listViewEndButton' title='<?php echo $_smarty_tpl->tpl_vars['navStrings']->value['end'];?>
' class='list-view-pagination-button' disabled='disabled'>
								<span><?php echo smarty_function_sugar_getimage(array('name'=>"paginate_last"),$_smarty_tpl);?>
</span>
							</button>
						<?php }?>
					</td>
					<td nowrap='nowrap' width="4px" class="paginationActionButtons"></td>
				</tr>
			</table>
		</td>
	</tr>
<?php }
}
