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
<form action="{$GRID_LINK}&amp;act_adm=99" method="post">
<table summary="T" style="border:1px #666 solid;" width="100%" cellpadding="0" cellspacing="1">
 
    <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}                   
            </td>   
        {/if}
    {/section}
    </tr>
 
    {section name=sec loop=$GRID_RESULTS}
    <tr>
 
    {section name=sec2 loop=$GRID_RESULTS[sec]}
        {if $smarty.section.sec2.rownum==1}
            <td align="center" style="background-color:#DDD;" class="fixed" width="5%">{$smarty.section.sec.rownum}</td>
        {else}
            <td align="center" width="{$COL_WIDTHS[sec2]}">
                {$GRID_RESULTS[sec][sec2]}
                {if $smarty.section.sec2.rownum==3}{$GRID_RESULTS[sec][4]}{/if}
                {if $smarty.section.sec2.rownum==4}<input type="text" style="width:80px;" id="{$smarty.section.sec.rownum}comment" />{/if}
            </td>
        {/if}
    {/section}
        <td>
            <!--button type="button" class="btn btn-info" onclick="if (!GID('{$smarty.section.sec.rownum}xstation').value) return false; xajax_Delete_Zband({$GRID_RESULTS[sec][0]}, GID('{$smarty.section.sec.rownum}station').value, GID('{$smarty.section.sec.rownum}comment').value);return false;" title="{$cgrid_delete}"><span class="glyphicon glyphicon-trash"></span></button-->
            <a href="#" title="{$cgrid_delete}"><img src="Icons/copyfrom.GIF" alt="{$cgrid_delete}" onclick="if (!GID('{$smarty.section.sec.rownum}xstation').value) return false; xajax_Delete_Zband({$GRID_RESULTS[sec][0]}, GID('{$smarty.section.sec.rownum}xstation').value, GID('{$smarty.section.sec.rownum}comment').value);return false;" title="{$cgrid_delete}" /></a>
        </td>
    </tr>
    {/section}
</table>
</form>