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
<form action="{$GRID_LINK}{if $ACT}&amp;act={$ACT}{/if}" name="ResForm" enctype="multipart/form-data" method="post">
    <input type="hidden" name="num1" id="num1" value="">
    <input type="hidden" name="num2" id="num2" value="">
    <input type="hidden" name="numz1" id="numz1" value="">
    <input type="hidden" name="numz2" id="numz2" value="">
 
<div class="btn-group btn-group-justified" role="toolbar" aria-label="">
    <div class="btn-group" role="group" style="width:40%;" aria-label="">
            <select class="form-control" id="change_poezd" onchange="xajax_Change_ZBand(1, document.getElementById('change_poezd').value);document.getElementById('num1').value='';" name="change_poezd">
                <option value=''>{$change_lok_name} 1</option>
                {section name=sec loop=$zband1}
                    <option value="{$zband1[sec][0]}">
                        {$zband1[sec][0]}&nbsp;&nbsp;
                        {$zband1[sec][1]}
                    </option>
                {/section}
            </select>
        </div>
    <div class="btn-group" role="group" style="width:40%;" aria-label="">
            <select class="form-control" id="change_poezd2" onchange="xajax_Change_ZBand(2, document.getElementById('change_poezd2').value);document.getElementById('num2').value='';" name="change_poezd2">
                <option value=''>{$change_lok_name} 2</option>
                {section name=sec loop=$zband2}
                    <option value="{$zband1[sec][0]}">
                        {$zband2[sec][0]}&nbsp;&nbsp;
                        {$zband2[sec][1]}
                    </option>
                {/section}
            </select>
        </div>
    <div class="btn-group" role="group" style="width:10%;" aria-label="">
        <button class="btn btn-lg btn-info btn-block" onclick="xajax_ViewZEx();return false;" alt="{$view_preex}"><span class="glyphicon glyphicon-th-list"></span></button>
    </div>
    <div class="btn-group" role="group" style="width:10%;" aria-label="">
        <button class="btn btn-lg btn-info btn-block" onclick="var a = document.createElement('a');a.href='{$GRID_LINK}&amp;act={$ACT}&amp;act_adm=1';a.target = '_blank';document.body.appendChild(a);a.click();return false;" alt="{$view_preex}"><span class="glyphicon glyphicon-print"></span></button>
    </div>
</div>
 
<div id="div_zuge_view1" align="left"></div>
<div id="div_zuge_view2" align="left"></div>
 
<div style="display:block;" id="div_legend">
<table style="margin-top:7px;" width="60%" summary="T" cellpadding="0" cellspacing="0"><tr>
  <td class="red" style="border:1px #666 solid;width:20px;">&nbsp;</td><td>&nbsp;A</td>
  <td class="ora" style="border:1px #666 solid;width:20px;">&nbsp;</td><td>&nbsp;B</td>
  <td class="yel" style="border:1px #666 solid;width:20px;">&nbsp;</td><td>&nbsp;C</td>
  <td class="gre" style="border:1px #666 solid;width:20px;">&nbsp;</td><td>&nbsp;D</td></tr>
</table>
</div>
 
<div class="btn-group max" role="group" style="margin-top:7px;">
    <button type="button" class="btn btn-lg btn-info max" id="OK" name="OK" value="OK" onclick="if (document.getElementById('numz1').value != '' && document.getElementById('numz2').value != '') xajax_ZEx(document.getElementById('change_poezd').value, document.getElementById('num1').value, document.getElementById('numz1').value, document.getElementById('change_poezd2').value, document.getElementById('num2').value, document.getElementById('numz2').value); else xajax_ZMove(document.getElementById('change_poezd').value, document.getElementById('num1').value, document.getElementById('numz1').value, document.getElementById('change_poezd2').value, document.getElementById('num2').value, document.getElementById('numz2').value);">OK</button>
</div>
 
<div id="div_preex"></div>
</form>