taron133
2020-10-26 aa8d874c8a3287d41d26566ae32b6ed8d4557ff9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<form action="{$GRID_LINK}&amp;act_adm=99" method="post">
<table summary="T" style="border:1px #666 solid;" width="100%" cellpadding="0" cellspacing="1">
    {if $TPL_PAGES} 
    <tr>    
        <td valign="top" colspan="{$ASU_CAB_COL_NUM}">
            {include file=$TPL_PAGES}
        </td>
    </tr>
    {/if}
 
    <tr class="fixed" align="center">
    {section name=sec loop=$ASU_CAB_NAMES}
        {if !$ASU_CAB_IS_COMMON[$smarty.section.sec.index_prev]}
            <td  style="text-size:small;font-weight: normal;"  {if $ASU_CAB_IS_COMMON[sec]}colspan="{$ASU_CAB_IS_COMMON[sec][0]}"{else}{if $ASU_CAB_IS_EXIST_COMMON && !$ASU_CAB_IS_COMMON[$smarty.section.sec.index_prev][0]} rowspan="2"{/if}{/if}>
                {if $ASU_CAB_IS_COMMON[sec]}
                    {$ASU_CAB_IS_COMMON[sec][1]}
                {else}              
                    {$ASU_CAB_NAMES[sec]}{if $smarty.section.sec.rownum==1}<div id="div_select-all" class="checkbox_unchecked"><input type="checkbox" id="select-all" title="Check All" onclick="CheckAllEx(this, 'check_vags_', 'xajax_CHECK_ERR')" /></div>{/if}
                {/if}
            </td>   
        {/if}
    {/section}
    </tr>
    
    {if $ASU_CAB_IS_EXIST_COMMON}
        <tr class="fixed" align="center">
        {section name=sec3 loop=$ASU_CAB_NAMES} 
            {if !$ASU_CAB_IS_COMMON[$smarty.section.sec3.index_prev]}       
                {if $ASU_CAB_IS_COMMON[sec3]}                   
                    <td style="text-size:small;font-weight: normal;">{$ASU_CAB_NAMES[sec3]}</td>                    
                    <td style="text-size:small;font-weight: normal;">{$ASU_CAB_NAMES[$smarty.section.sec3.index_next]}</td>
                {else}
                {/if}   
            {else}              
                {if $ASU_CAB_IS_COMMON[sec3]}                   
                    <td style="text-size:small;font-weight: normal;">{$ASU_CAB_NAMES[$smarty.section.sec3.index_next]}</td>
                {/if}
            {/if}
        {/section}
        </tr>
    {/if}
    
    {section name=sec loop=$GRID_RESULTS}
    <tr>
    <td align="center" class="fixed"><div id="div_check_vags_{$GRID_RESULTS[sec][0]}" class="{if $GRID_RESULTS[sec][19]}checkbox_checked{else}checkbox_unchecked{/if}"><input type="checkbox" onchange="xajax_CHECK_ERR({$GRID_RESULTS[sec][0]}, document.getElementById('check_vags_{$GRID_RESULTS[sec][0]}').checked); CheckThis(this);" id="check_vags_{$GRID_RESULTS[sec][0]}" name="check_vags_{$GRID_RESULTS[sec][0]}" {if $GRID_RESULTS[sec][19]}checked{/if} /></td>
    {section name=sec2 loop=$GRID_RESULTS[sec]}
        <td {if $ASU_CAB_RESULTS_NUMIRATION && $smarty.section.sec2.rownum==1}style="" class="fixed"{else}{if $ASU_CAB_EMPTY_COLOR[sec2] && !$GRID_RESULTS[sec][sec2]}style="background-color:red;" class="notfixed"{else}style="" class="notfixed"{/if}{/if}align="center">
            {if $smarty.section.sec2.rownum!=20}{$GRID_RESULTS[sec][sec2]}{/if}
        </td>
    {/section}
    </tr>
    {/section}
    
    {if $TPL_PAGES} 
    <tr>    
        <td valign="top" colspan="{$ASU_CAB_COL_NUM}">
            {include file=$TPL_PAGES}               
        </td>           
    </tr>
    {/if}
 
</table>
</form>