<form action="{$GRID_LINK}{if $ACT}&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]}
|
{$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]}
|
{$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}&act={$ACT}&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;"> </td><td> A</td>
|
<td class="ora" style="border:1px #666 solid;width:20px;"> </td><td> B</td>
|
<td class="yel" style="border:1px #666 solid;width:20px;"> </td><td> C</td>
|
<td class="gre" style="border:1px #666 solid;width:20px;"> </td><td> 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>
|