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
<form action="{$GRID_LINK}&amp;act_adm=99" method="post">
<input type="hidden" id="FIRST_ID" value="{$FIRST_ID}">
<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;" width="{$COL_WIDTHS[sec]} "  {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', '')" /></div>{/if}
                {/if}                   
            </td>   
        {/if}
    {/section}
    </tr>
 
    {section name=sec loop=$GRID_RESULTS}
    <tr>
    <td align="center" style="background-color:#DDD;" class="fixed" width="5%"><div id="div_check_vags_{$GRID_RESULTS[sec][2]}" class="{if $GRID_RESULTS[sec][7]}checkbox_checked{else}checkbox_unchecked{/if}"><input type="checkbox" id="check_vags_{$GRID_RESULTS[sec][2]}" onclick="CheckThis(this);" name="check_vags" {if $GRID_RESULTS[sec][7]}checked{/if} /></div></td>
    {section name=sec2 loop=$GRID_RESULTS[sec]}
        {if $smarty.section.sec2.rownum<3}
            <td {if $ASU_CAB_EMPTY_COLOR[sec2] && !$GRID_RESULTS[sec][sec2]}style="background-color:red;" class="notfixed"{else}style="background-color:#AFA;" class="notfixed"{/if}align="center" width="{$COL_WIDTHS[sec2]}">
                {$GRID_RESULTS[sec][sec2]}
            </td>
        {/if}
    {/section}
    </tr>
    {/section}
    
    {if $TPL_PAGES} 
    <tr>    
        <td valign="top" colspan="{$ASU_CAB_COL_NUM}">
            {include file=$TPL_PAGES}               
        </td>           
    </tr>
    {/if}
    
    <tr>    
        <td align="left" colspan="{$ASU_CAB_COL_NUM}">
            <input type="button" onclick="xajax_Change_VAGS(GetCbids('check_vags', 'check_vags_'));" title="{if $cgrid_ok}{$cgrid_ok}{else}OK{/if}" value="{if $cgrid_ok}{$cgrid_ok}{else}OK{/if}" />
            <input type="button" onclick="location.reload();" title="{$cgrid_back}" value="{$cgrid_back}" />
        </td>           
    </tr>
 
</table>
</form>
 
<div id="div_debug"></div>
<div id="div_section2">
    <div style="margin-top: 5px">
        <input type="button" onclick="" title="{if $cgrid_send}{$cgrid_send}{else}OK{/if}" value="{if $cgrid_send}{$cgrid_send}{else}OK{/if}" disabled="true" class="disabled" />
    </div>
</div>