<?php
/* Smarty version 4.3.2, created on 2024-09-09 07:17:46
  from 'C:\xampp7.4\htdocs\SuiteCRM8\public\legacy\themes\suite8\include\Dashlets\DashletGenericDisplay.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.2',
  'unifunc' => 'content_66de84fac6c278_17854729',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'dd0d74a82da6336f9d7c9925ec9abafcd4127648' => 
    array (
      0 => 'C:\\xampp7.4\\htdocs\\SuiteCRM8\\public\\legacy\\themes\\suite8\\include\\Dashlets\\DashletGenericDisplay.tpl',
      1 => 1723455826,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_66de84fac6c278_17854729 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'C:\\xampp7.4\\htdocs\\SuiteCRM8\\public\\legacy\\include\\Smarty\\plugins\\function.counter.php','function'=>'smarty_function_counter',),1=>array('file'=>'C:\\xampp7.4\\htdocs\\SuiteCRM8\\public\\legacy\\include\\Smarty\\plugins\\function.sugar_translate.php','function'=>'smarty_function_sugar_translate',),2=>array('file'=>'C:\\xampp7.4\\htdocs\\SuiteCRM8\\public\\legacy\\include\\Smarty\\plugins\\function.sugar_getimage.php','function'=>'smarty_function_sugar_getimage',),3=>array('file'=>'C:\\xampp7.4\\htdocs\\SuiteCRM8\\public\\legacy\\include\\Smarty\\plugins\\function.convert_link.php','function'=>'smarty_function_convert_link',),4=>array('file'=>'C:\\xampp7.4\\htdocs\\SuiteCRM8\\public\\legacy\\include\\Smarty\\plugins\\function.sugar_evalcolumn_old.php','function'=>'smarty_function_sugar_evalcolumn_old',),5=>array('file'=>'C:\\xampp7.4\\htdocs\\SuiteCRM8\\public\\legacy\\include\\Smarty\\plugins\\function.sugar_field.php','function'=>'smarty_function_sugar_field',),));
?>

<?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']);?>

<table id="dashletPanel" cellpadding='0' cellspacing='0' width='100%' border='0' class='list view default dashletPanel'>
	<thead>
    <tr height='20'>
        <?php echo smarty_function_counter(array('start'=>0,'name'=>"colCounter",'print'=>false,'assign'=>"colCounter"),$_smarty_tpl);?>

        <?php $_smarty_tpl->_assignInScope('datahide', '');?>
        <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['displayColumns']->value, 'params', false, 'colHeader');
$_smarty_tpl->tpl_vars['params']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['colHeader']->value => $_smarty_tpl->tpl_vars['params']->value) {
$_smarty_tpl->tpl_vars['params']->do_else = false;
?>
            <?php if ($_smarty_tpl->tpl_vars['colCounter']->value == '1') {
$_smarty_tpl->_assignInScope('datahide', "phone");
}?>
            <?php if ($_smarty_tpl->tpl_vars['colCounter']->value == '3') {
$_smarty_tpl->_assignInScope('datahide', "phone,phonelandscape");
}?>
            <?php if ($_smarty_tpl->tpl_vars['colCounter']->value == '5') {
$_smarty_tpl->_assignInScope('datahide', "phone,phonelandscape,tablet");
}?>
            <?php if ($_smarty_tpl->tpl_vars['colHeader']->value == 'NAME' || $_smarty_tpl->tpl_vars['params']->value['bold']) {?><th scope='col' data-toggle="true">
            <?php } else { ?><th scope='col' data-hide="<?php echo $_smarty_tpl->tpl_vars['datahide']->value;?>
"><?php }?>
				<div class='header-title' text-align:<?php echo (($tmp = $_smarty_tpl->tpl_vars['params']->value['align'] ?? null)===null||$tmp==='' ? 'left' ?? null : $tmp);?>
'>
                <?php if ((($tmp = $_smarty_tpl->tpl_vars['params']->value['sortable'] ?? null)===null||$tmp==='' ? true ?? null : $tmp)) {?>
					<!-- dashlet: <?php echo $_smarty_tpl->tpl_vars['dashletId']->value;?>
 -->
	                <a href='#' onclick='return SUGAR.mySugar.retrieveDashlet("<?php echo $_smarty_tpl->tpl_vars['dashletId']->value;?>
", "<?php echo $_smarty_tpl->tpl_vars['pageData']->value['urls']['orderBy'];
echo mb_strtolower((string) (($tmp = $_smarty_tpl->tpl_vars['params']->value['orderBy'] ?? null)===null||$tmp==='' ? $_smarty_tpl->tpl_vars['colHeader']->value ?? null : $tmp), 'UTF-8');?>
&sugar_body_only=1&id=<?php echo $_smarty_tpl->tpl_vars['dashletId']->value;?>
", false, false, true, $(this).closest("div[id^=pageNum_][id$=_div]").parent().parent())' class='listViewThLinkS1' title="<?php echo $_smarty_tpl->tpl_vars['arrowAlt']->value;?>
"><?php echo smarty_function_sugar_translate(array('label'=>$_smarty_tpl->tpl_vars['params']->value['label'],'module'=>$_smarty_tpl->tpl_vars['pageData']->value['bean']['moduleDir']),$_smarty_tpl);?>
</a>&nbsp;&nbsp;
	                <?php if (mb_strtolower((string) (($tmp = $_smarty_tpl->tpl_vars['params']->value['orderBy'] ?? null)===null||$tmp==='' ? $_smarty_tpl->tpl_vars['colHeader']->value ?? null : $tmp), 'UTF-8') == $_smarty_tpl->tpl_vars['pageData']->value['ordering']['orderBy']) {?>
	                    <?php if ($_smarty_tpl->tpl_vars['pageData']->value['ordering']['sortOrder'] == 'ASC') {?>
                            <?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'default', "imageName", null);?>arrow_down.<?php echo $_smarty_tpl->tpl_vars['arrowExt']->value;
$_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
                            <?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'default', "alt_sort", null);
echo smarty_function_sugar_translate(array('label'=>'LBL_ALT_SORT_DESC'),$_smarty_tpl);
$_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
							<span class="sort "title="<?php echo $_smarty_tpl->tpl_vars['alt_sort']->value;?>
"><?php echo smarty_function_sugar_getimage(array('name'=>"sort_descend"),$_smarty_tpl);?>
</span>
	                    <?php } else { ?>
                            <?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'default', "imageName", null);?>arrow_up.<?php echo $_smarty_tpl->tpl_vars['arrowExt']->value;
$_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
                            <?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'default', "alt_sort", null);
echo smarty_function_sugar_translate(array('label'=>'LBL_ALT_SORT_ASC'),$_smarty_tpl);
$_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
							<span class="sort" title="<?php echo $_smarty_tpl->tpl_vars['alt_sort']->value;?>
"><?php echo smarty_function_sugar_getimage(array('name'=>"sort_ascend"),$_smarty_tpl);?>
</span>
							<span class="sort" title="<?php echo $_smarty_tpl->tpl_vars['alt_sort']->value;?>
"><?php echo smarty_function_sugar_getimage(array('name'=>"sort_ascend"),$_smarty_tpl);?>
</span>
	                    <?php }?>
	                <?php } else { ?>
                        <?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'default', "imageName", null);?>arrow.<?php echo $_smarty_tpl->tpl_vars['arrowExt']->value;
$_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
                        <?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'default', "alt_sort", null);
echo smarty_function_sugar_translate(array('label'=>'LBL_ALT_SORT'),$_smarty_tpl);
$_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
						<span class="sort" title="<?php echo $_smarty_tpl->tpl_vars['alt_sort']->value;?>
"><?php echo smarty_function_sugar_getimage(array('name'=>"sort"),$_smarty_tpl);?>
</span>
	                <?php }?>
	           <?php } else { ?>
                    <?php if (!(isset($_smarty_tpl->tpl_vars['params']->value['noHeader'])) || $_smarty_tpl->tpl_vars['params']->value['noHeader'] == false) {?>
	           		  <?php echo smarty_function_sugar_translate(array('label'=>$_smarty_tpl->tpl_vars['params']->value['label'],'module'=>$_smarty_tpl->tpl_vars['pageData']->value['bean']['moduleDir']),$_smarty_tpl);?>

                    <?php }?>
	           <?php }?>
			   </div>
            </th>
            <?php echo smarty_function_counter(array('name'=>"colCounter"),$_smarty_tpl);?>

        <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
		<?php if (!empty($_smarty_tpl->tpl_vars['quickViewLinks']->value)) {?>
		<td  class='td_alt' nowrap="nowrap" width='1%'>&nbsp;</td>
		<?php }?>
    </tr>
	</thead>
	<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['data']->value, 'rowData', false, 'id', 'rowIteration', array (
  'iteration' => true,
));
$_smarty_tpl->tpl_vars['rowData']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['id']->value => $_smarty_tpl->tpl_vars['rowData']->value) {
$_smarty_tpl->tpl_vars['rowData']->do_else = false;
$_smarty_tpl->tpl_vars['__smarty_foreach_rowIteration']->value['iteration']++;
?>
		<?php if ((1 & (isset($_smarty_tpl->tpl_vars['__smarty_foreach_rowIteration']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_rowIteration']->value['iteration'] : null))) {?>
			<?php $_smarty_tpl->_assignInScope('_rowColor', $_smarty_tpl->tpl_vars['rowColor']->value[0]);?>
		<?php } else { ?>
			<?php $_smarty_tpl->_assignInScope('_rowColor', $_smarty_tpl->tpl_vars['rowColor']->value[1]);?>
		<?php }?>
		<tr height='20' class='<?php echo $_smarty_tpl->tpl_vars['_rowColor']->value;?>
S1'>
			<?php if ($_smarty_tpl->tpl_vars['prerow']->value) {?>
			<td width='1%' nowrap='nowrap'>
					<input onclick='sListView.check_item(this, document.MassUpdate)' type='checkbox' class='checkbox' name='mass[]' value='<?php echo (($tmp = $_smarty_tpl->tpl_vars['rowData']->value[$_smarty_tpl->tpl_vars['params']->value['id']] ?? null)===null||$tmp==='' ? $_smarty_tpl->tpl_vars['rowData']->value['ID'] ?? null : $tmp);?>
'>
			</td>
			<?php }?>
			<?php echo smarty_function_counter(array('start'=>0,'name'=>"colCounter",'print'=>false,'assign'=>"colCounter"),$_smarty_tpl);?>

			<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['displayColumns']->value, 'params', false, 'col');
$_smarty_tpl->tpl_vars['params']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['col']->value => $_smarty_tpl->tpl_vars['params']->value) {
$_smarty_tpl->tpl_vars['params']->do_else = false;
?>
			    <td scope='row' align='<?php echo (($tmp = $_smarty_tpl->tpl_vars['params']->value['align'] ?? null)===null||$tmp==='' ? 'left' ?? null : $tmp);?>
' valign="top" <?php if (($_smarty_tpl->tpl_vars['params']->value['type'] == 'teamset')) {?>class="nowrap"<?php }?>><?php if ($_smarty_tpl->tpl_vars['col']->value == 'NAME' || $_smarty_tpl->tpl_vars['params']->value['bold']) {?><b><?php }
if ($_smarty_tpl->tpl_vars['params']->value['link'] && !$_smarty_tpl->tpl_vars['params']->value['customCode']) {
$_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'default', 'recordUrl', null);?>index.php?action=<?php echo (($tmp = $_smarty_tpl->tpl_vars['params']->value['action'] ?? null)===null||$tmp==='' ? 'DetailView' ?? null : $tmp);?>
&module=<?php if ($_smarty_tpl->tpl_vars['params']->value['dynamic_module'] && $_smarty_tpl->tpl_vars['rowData']->value[$_smarty_tpl->tpl_vars['params']->value['dynamic_module']]) {
echo $_smarty_tpl->tpl_vars['rowData']->value[$_smarty_tpl->tpl_vars['params']->value['dynamic_module']];
} else {
echo (($tmp = $_smarty_tpl->tpl_vars['params']->value['module'] ?? null)===null||$tmp==='' ? $_smarty_tpl->tpl_vars['pageData']->value['bean']['moduleDir'] ?? null : $tmp);
}?>&record=<?php echo (($tmp = $_smarty_tpl->tpl_vars['rowData']->value[$_smarty_tpl->tpl_vars['params']->value['id']] ?? null)===null||$tmp==='' ? $_smarty_tpl->tpl_vars['rowData']->value['ID'] ?? null : $tmp);?>
&offset=<?php echo $_smarty_tpl->tpl_vars['pageData']->value['offsets']['current']+(isset($_smarty_tpl->tpl_vars['__smarty_foreach_rowIteration']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_rowIteration']->value['iteration'] : null);?>
&stamp=<?php echo $_smarty_tpl->tpl_vars['pageData']->value['stamp'];
$_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?><<?php echo (($tmp = $_smarty_tpl->tpl_vars['pageData']->value['tag'][$_smarty_tpl->tpl_vars['id']->value][$_smarty_tpl->tpl_vars['params']->value['ACLTag']] ?? null)===null||$tmp==='' ? $_smarty_tpl->tpl_vars['pageData']->value['tag'][$_smarty_tpl->tpl_vars['id']->value]['MAIN'] ?? null : $tmp);?>
 href='<?php echo smarty_function_convert_link(array('link'=>$_smarty_tpl->tpl_vars['recordUrl']->value),$_smarty_tpl);?>
'><?php }
if ($_smarty_tpl->tpl_vars['params']->value['customCode']) {
echo smarty_function_sugar_evalcolumn_old(array('var'=>$_smarty_tpl->tpl_vars['params']->value['customCode'],'rowData'=>$_smarty_tpl->tpl_vars['rowData']->value),$_smarty_tpl);
} else {
echo smarty_function_sugar_field(array('parentFieldArray'=>$_smarty_tpl->tpl_vars['rowData']->value,'vardef'=>$_smarty_tpl->tpl_vars['params']->value,'displayType'=>'ListView','field'=>$_smarty_tpl->tpl_vars['col']->value),$_smarty_tpl);
}
if (empty($_smarty_tpl->tpl_vars['rowData']->value[$_smarty_tpl->tpl_vars['col']->value]) && empty($_smarty_tpl->tpl_vars['params']->value['customCode'])) {?>&nbsp;<?php }
if ($_smarty_tpl->tpl_vars['params']->value['link'] && !$_smarty_tpl->tpl_vars['params']->value['customCode']) {?></<?php echo (($tmp = $_smarty_tpl->tpl_vars['pageData']->value['tag'][$_smarty_tpl->tpl_vars['id']->value][$_smarty_tpl->tpl_vars['params']->value['ACLTag']] ?? null)===null||$tmp==='' ? $_smarty_tpl->tpl_vars['pageData']->value['tag'][$_smarty_tpl->tpl_vars['id']->value]['MAIN'] ?? null : $tmp);?>
><?php }
if ($_smarty_tpl->tpl_vars['col']->value == 'NAME' || $_smarty_tpl->tpl_vars['params']->value['bold']) {?></b><?php }?></td>
				<?php echo smarty_function_counter(array('name'=>"colCounter"),$_smarty_tpl);?>

			<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
			<?php if (!empty($_smarty_tpl->tpl_vars['quickViewLinks']->value)) {?>
			<td width='1%' class='<?php echo $_smarty_tpl->tpl_vars['_rowColor']->value;?>
S1' bgcolor='<?php echo $_smarty_tpl->tpl_vars['_bgColor']->value;?>
' nowrap>
				<?php if ($_smarty_tpl->tpl_vars['pageData']->value['rowAccess'][$_smarty_tpl->tpl_vars['id']->value]['edit']) {?>
                    <?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'tmp1', 'alt_edit', null);
echo smarty_function_sugar_translate(array('label'=>"LNK_EDIT"),$_smarty_tpl);
$_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
                    <?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'tmp1', 'alt_view', null);
echo smarty_function_sugar_translate(array('label'=>"LBL_VIEWINLINE"),$_smarty_tpl);
$_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
					<?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'default', 'editUrl', null);?>index.php?action=EditView&module=<?php echo $_smarty_tpl->tpl_vars['pageData']->value['bean']['moduleDir'];?>
&record=<?php echo $_smarty_tpl->tpl_vars['rowData']->value['ID'];?>
&offset=<?php echo $_smarty_tpl->tpl_vars['pageData']->value['offsets']['current']+(isset($_smarty_tpl->tpl_vars['__smarty_foreach_rowIteration']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_rowIteration']->value['iteration'] : null);?>
&stamp=<?php echo $_smarty_tpl->tpl_vars['pageData']->value['stamp'];?>
&return_module=Home&return_action=index<?php $_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
                    <a title='<?php echo $_smarty_tpl->tpl_vars['editLinkString']->value;?>
' class="list-view-data-icon" href='<?php echo smarty_function_convert_link(array('link'=>$_smarty_tpl->tpl_vars['editUrl']->value),$_smarty_tpl);?>
'> <span class="suitepicon suitepicon-action-edit"></span></a>
				<?php }?>
				<?php if ($_smarty_tpl->tpl_vars['pageData']->value['access']['view']) {?>
					<?php $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'default', 'viewUrl', null);?>index.php?action=DetailView&module=<?php echo $_smarty_tpl->tpl_vars['pageData']->value['bean']['moduleDir'];?>
&record=<?php echo (($tmp = $_smarty_tpl->tpl_vars['rowData']->value[$_smarty_tpl->tpl_vars['params']->value['parent_id']] ?? null)===null||$tmp==='' ? $_smarty_tpl->tpl_vars['rowData']->value['ID'] ?? null : $tmp);?>
&offset=<?php echo $_smarty_tpl->tpl_vars['pageData']->value['offsets']['current']+(isset($_smarty_tpl->tpl_vars['__smarty_foreach_rowIteration']->value['iteration']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_rowIteration']->value['iteration'] : null);?>
&stamp=<?php echo $_smarty_tpl->tpl_vars['pageData']->value['stamp'];?>
&return_module=Home&return_action=index<?php $_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl);?>
                <a title='<?php echo $_smarty_tpl->tpl_vars['viewLinkString']->value;?>
' class="list-view-data-icon" href='<?php echo smarty_function_convert_link(array('link'=>$_smarty_tpl->tpl_vars['viewUrl']->value),$_smarty_tpl);?>
' title="<?php echo smarty_function_sugar_translate(array('label'=>"LBL_VIEW_INLINE"),$_smarty_tpl);?>
"> <span class="suitepicon suitepicon-action-view-record"></span></a>
				<?php }?>
			</td>
			<?php }?>
	    	</tr>
	<?php
}
if ($_smarty_tpl->tpl_vars['rowData']->do_else) {
?>
	<tr height='20' class='<?php echo $_smarty_tpl->tpl_vars['rowColor']->value[0];?>
S1'>
	    <td colspan="<?php echo $_smarty_tpl->tpl_vars['colCount']->value;?>
">
	        <em><?php echo $_smarty_tpl->tpl_vars['APP']->value['LBL_NO_DATA'];?>
</em>
	    </td>
	</tr>
	<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
	<tr class="pagination" role=”presentation”>
        <td colspan='<?php echo $_smarty_tpl->tpl_vars['colCount']->value+1;?>
' align='right'>
            <table border='0' cellpadding='0' cellspacing='0' width='100%'>
                <tr>
                    <td align='left'>&nbsp;</td>
                    <td align='right' nowrap='nowrap'>
                        <?php if ((isset($_smarty_tpl->tpl_vars['pageData']->value['urls']['startPage'])) && $_smarty_tpl->tpl_vars['pageData']->value['urls']['startPage']) {?>
							<button title='<?php echo $_smarty_tpl->tpl_vars['navStrings']->value['start'];?>
' class='button' onclick='return SUGAR.mySugar.retrieveDashlet("<?php echo $_smarty_tpl->tpl_vars['dashletId']->value;?>
", "<?php echo $_smarty_tpl->tpl_vars['pageData']->value['urls']['startPage'];?>
", false, false, true, $(this).closest("div[id^=pageNum_][id$=_div]").parent().parent())'>
								<span><?php echo smarty_function_sugar_getimage(array('name'=>"paginate_first"),$_smarty_tpl);?>
</span>
							</button>

                        <?php } else { ?>
                            <!--<?php echo smarty_function_sugar_getimage(array('name'=>"start_off",'ext'=>".png",'alt'=>$_smarty_tpl->tpl_vars['navStrings']->value['start'],'other_attributes'=>'align="absmiddle" border="0" '),$_smarty_tpl);?>
&nbsp;<?php echo $_smarty_tpl->tpl_vars['navStrings']->value['start'];?>
&nbsp;&nbsp;-->
							<button title='<?php echo $_smarty_tpl->tpl_vars['navStrings']->value['start'];?>
' class='button' 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 title='<?php echo $_smarty_tpl->tpl_vars['navStrings']->value['previous'];?>
' class='button' onclick='return SUGAR.mySugar.retrieveDashlet("<?php echo $_smarty_tpl->tpl_vars['dashletId']->value;?>
", "<?php echo $_smarty_tpl->tpl_vars['pageData']->value['urls']['prevPage'];?>
", false, false, true, $(this).closest("div[id^=pageNum_][id$=_div]").parent().parent())'>
								<span><?php echo smarty_function_sugar_getimage(array('name'=>"paginate_previous"),$_smarty_tpl);?>
</span>
							</button>

                        <?php } else { ?>
                            <!--<?php echo smarty_function_sugar_getimage(array('name'=>"previous_off",'ext'=>".png",'width'=>"8",'height'=>"13",'alt'=>$_smarty_tpl->tpl_vars['navStrings']->value['previous'],'other_attributes'=>'align="absmiddle" border="0" '),$_smarty_tpl);?>
&nbsp;<?php echo $_smarty_tpl->tpl_vars['navStrings']->value['previous'];?>
&nbsp;-->
							<button class='button' disabled title='<?php echo $_smarty_tpl->tpl_vars['navStrings']->value['previous'];?>
'>
								<span><?php echo smarty_function_sugar_getimage(array('name'=>"paginate_previous"),$_smarty_tpl);?>
</span>
							</button>
                        <?php }?>
                            <span 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 }
}?>)</span>
                        <?php if ($_smarty_tpl->tpl_vars['pageData']->value['urls']['nextPage']) {?>
							<button title='<?php echo $_smarty_tpl->tpl_vars['navStrings']->value['next'];?>
' class='button' onclick='return SUGAR.mySugar.retrieveDashlet("<?php echo $_smarty_tpl->tpl_vars['dashletId']->value;?>
", "<?php echo $_smarty_tpl->tpl_vars['pageData']->value['urls']['nextPage'];?>
", false, false, true, $(this).closest("div[id^=pageNum_][id$=_div]").parent().parent())'>
								<span><?php echo smarty_function_sugar_getimage(array('name'=>"paginate_next"),$_smarty_tpl);?>
</span>
							</button>

                        <?php } else { ?>
							<button class='button' title='<?php echo $_smarty_tpl->tpl_vars['navStrings']->value['next'];?>
' 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 title='<?php echo $_smarty_tpl->tpl_vars['navStrings']->value['end'];?>
' class='button' onclick='return SUGAR.mySugar.retrieveDashlet("<?php echo $_smarty_tpl->tpl_vars['dashletId']->value;?>
", "<?php echo $_smarty_tpl->tpl_vars['pageData']->value['urls']['endPage'];?>
", false, false, true, $(this).closest("div[id^=pageNum_][id$=_div]").parent().parent())'>
								<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 class='button' disabled title='<?php echo $_smarty_tpl->tpl_vars['navStrings']->value['end'];?>
'>
								<span><?php echo smarty_function_sugar_getimage(array('name'=>"paginate_last"),$_smarty_tpl);?>
</span>
							</button>
                        <?php }?>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
<?php }
}
