<form action="{$GRID_LINK}" method="post" >
|
<table summary="T" style="border:1px #666 solid;" width="100%" cellpadding="0" cellspacing="0">
|
{if $TPL_PAGES}<tr><td valign="top" colspan="{$ASU_CAB_COL_NUM+1}">{include file=$TPL_PAGES}</td></tr>{/if}
|
|
<tr>
|
<td class="fixed" align="center" width="2%">
|
<!-- Modalbox.show(this.href, {literal}{{/literal}title: '', width: 1000, height: 1000{literal}}{/literal});xajax_ViewTasks();return false;-->
|
{if $is_add}<button type="button" class="btn btn-info" onclick="location.href='index.php?form=7&act=14&act_adm=1&id={$ID}';" title="{$cgrid_add}"><span class="glyphicon glyphicon-plus"></span></button>{/if}
|
{if $is_print}<button type="button" class="btn btn-info" onclick="location.href='{$GRID_LINK}&act_adm=9&page_act=0&page={$PAGE}&page_set={$PAGE_SET}';" title="{$cgrid_print}"><span class="glyphicon glyphicon-print"></span></button>{/if}
|
</td>
|
<td class="fixed" width="95%" colspan="{$ASU_CAB_COL_NUM}">
|
|
<table summary="T" width="100%">
|
<tr>
|
{if $is_search}<td width="15%">Search:<input type="text" {if $aj_search}onkeydown="if (event.keyCode==13) return false;"{/if} id="search" name="search" value="{$search}" style="width:100px;">
|
{if $aj_search}<a href="#" id="a_search" onclick="{$aj_search} return false;"><img src="images/search.gif" /></a>{else}
|
<input type="image" src="images/search.gif" style="border:0px;background-color:transparent;margin:0px;padding:0px;">{/if}</td>{/if}
|
<td width="75%" align="center"><b>{$NameTable}</b></td>
|
<td align="right">
|
{if $is_back}<a href="{$BACK_LINK}"><img src="images/return.png" alt="Return" /></a>{/if}
|
{if $is_export}<a href="index.php?form=7&act=14&act_adm=4&id={$ID}&page_act=0&page={$PAGE}&page_set={$PAGE_SET}" target="_blank" title="Export"><img src="Icons/copyto2.GIF" alt="Export" /></a>{/if}
|
{if $is_delete}<button type="button" class="btn btn-info" onclick="if (confirm('{$delall}')) xajax_ActualPersAllDelete({$ID});return false;" title="{$cgrid_del_all}"><span class="glyphicon glyphicon-trash"></span></button>{/if}
|
</td>
|
</tr>
|
</table>
|
|
</td>
|
</tr>
|
|
<tr class="fixed" align="center">
|
{section name=sec loop=$ASU_CAB_NAMES}
|
{if !$ASU_CAB_IS_COMMON[$smarty.section.sec.index_prev]}<!--width:{$COL_WIDTHS[sec]};-->
|
<td style="text-size:small;FONT-WEIGHT: normal;">
|
{if $is_checks && $smarty.section.sec.rownum==1}
|
<div id="div_select-all" class="checkbox_unchecked"><input type="checkbox" id="select-all" title="Check All" onclick="CheckAll(this, 'ids')" /></div>
|
{elseif $ASU_CAB_IS_COMMON[sec]}
|
{$ASU_CAB_IS_COMMON[sec][1]}
|
{else}
|
{$ASU_CAB_NAMES[sec]}
|
{/if}
|
</td>
|
{/if}
|
{/section}
|
<td style="text-size:small;FONT-WEIGHT: normal;width:40px;"> </td>
|
</tr>
|
|
{section name=sec loop=$GRID_RESULTS}
|
<tr>
|
{section name=sec2 loop=$GRID_RESULTS[sec]}
|
{if $smarty.section.sec2.rownum<16}
|
<td {if $ASU_CAB_RESULTS_NUMIRATION && $smarty.section.sec2.rownum==1}class="fixed"{else}{if $ASU_CAB_EMPTY_COLOR[sec2] && !$GRID_RESULTS[sec][sec2]}style="background-color:red;" class="notfixed"{else}class="notfixed"{/if}{/if}align="center">
|
{if $ASU_CAB_RESULTS_NUMIRATION && $smarty.section.sec2.rownum==1}
|
{$smarty.section.sec.rownum}
|
{else}
|
{$GRID_RESULTS[sec][sec2]}
|
{/if}
|
</td>
|
{/if}
|
{/section}
|
|
<td class="notfixed" style="width:60px;">
|
{if $is_edit}<button type="button" class="btn btn-info" onclick="location.href='?form=7&act=14&act_adm=2&id={$ID}&id_per={$ASU_CAB_RESULTS_ID[sec]}'" return false;" title="{$cgrid_edit}"><span class="glyphicon glyphicon-pencil"></span></button>{/if}
|
{if $is_delete}<button type="button" class="btn btn-info" onclick="if (confirm('{$del}')) xajax_ActualPersDelete({$ASU_CAB_RESULTS_ID[sec]}, {$ID});return false;" title="{$cgrid_delete}"><span class="glyphicon glyphicon-minus"></span></button>{/if}
|
</td>
|
</tr>
|
{/section}
|
|
{if $TPL_PAGES}<tr><td valign="top" colspan="{$ASU_CAB_COL_NUM+1}">{include file=$TPL_PAGES}</td></tr>{/if}
|
</table>
|
</form>
|