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
{if $zugs}
<table summary="T" style="text-align:left;width:370px;border:1px #666 solid;background-color:#BFF7FF;" cellpadding="0" cellspacing="0">
<tr><td>{$actual_date}</td><td>{$actual_kilo}</td><td>{$actual_cascad}</td><td>&nbsp;</td></tr>
<tr align="left">
  <td>
    <a href="#"id="fcalt{$selection}"><img onclick='Calendar.setup({literal}{{/literal}"ifFormat":"%d.%m.%Y %I:%M:%S","daFormat":"%d.%m.%Y","firstDay":1,"showsTime":true,"showOthers":true,"timeFormat":24,"inputField":"date_{$selection}","button":"fcalt{$selection}"{literal}}{/literal});' src="../scripts/jscalendar/img.gif" alt="" /></a>
    <input type="text" size="16" style="border:2px green solid;" onchange="GID('date_{$selection}').style.border='2px solid red';" name="date_{$selection}" maxlength="19" id="date_{$selection}" value="" />
  </td>
  <td><input type="text" size="8" style="border:2px green solid;" onchange="GID('kilo_{$selection}').style.border='2px solid red';" name="kilo_{$selection}" maxlength="9" id="kilo_{$selection}" value="" /></td>
  <td><input type="checkbox" onchange="" name="cascad_{$selection}" id="cascad_{$selection}" /></td>
  <td><input type="button" style="border:1px green solid;" src="images/edit.png" onclick="xajax_EditDateKilo('date_{$selection}', 'kilo_{$selection}', GID('numz{$selection}').value, GID('date_{$selection}').value, GID('kilo_{$selection}').value, {$selection}, GID('change_poezd').value, GID('change_poezd2').value, (GID('cascad_{$selection}').checked)?1:0);/*return false;*/" value="{$cgrid_change}" /></td>
</tr></table>
 
{section name=sec2 loop=$zugs}
<table summary="T" style="width:100%;margin-top:5px;border:1px #666 solid;" cellpadding="0" cellspacing="0">
<tr>
    <td width="8%">
    <table summary="T" style="width:100%;border:1px #666 solid;" cellpadding="0" cellspacing="0">
    <tr><td class="td_name2">&nbsp;</td></tr>
    <tr><td class="td_d21" style="width:60px;height:15px;">&nbsp;</td></tr>
    <tr><td class="td_d21"><table width="100%" cellpadding="0" cellspacing="0"><tr><td align="right">{$NEISP}:</td></tr></table></td></tr>
    <tr><td class="td_d21">Fzg.Nr.:</td></tr>
    <tr><td class="td_d21">km-Stand:</td></tr>
    </table></td>
    {section name=sec loop=$zugs[sec2]}
    <td width="8%">
    <table id="t{$selection}{$smarty.section.sec.rownum}" onclick="EditConf_ChangeVag(this, GID('num{$selection}'), GID('numz{$selection}'), {$max}, {$selection}, {$smarty.section.sec.rownum}, {if $zugs[sec2][sec][2]}'{$zugs[sec2][sec][2]}'{else}''{/if}, '1px #666 solid', '3px #F55 solid');" summary="T" style="heigth:100%;width:100%;border:1px #666 solid;" cellpadding="0" cellspacing="0">
    <tr><td class="td_name2">{$Z_N_TN[sec]}</td></tr>
    <tr><td class="td_d2"><img width="60" height="15" {if $smarty.section.sec.rownum==1}src="{*$host*}images/lok.png" alt="Lok"{elseif $smarty.section.sec.rownum==$smarty.section.sec.total}src="{*$host*}images/swvag.png" alt="SW"{else}src="{*$host*}images/vag.png" alt="MW"{/if}  /></td></tr>
    <tr><td class="td_d2"><table cellpadding="0" cellspacing="0" width="100%"><tr><td {if $zugs[sec2][sec][3]}class="red">{$zugs[sec2][sec][3]}{else}>&nbsp;{/if}</td><td {if $zugs[sec2][sec][4]}class="ora">{$zugs[sec2][sec][4]}{else}>&nbsp;{/if}</td><td {if $zugs[sec2][sec][5]}class="yel">{$zugs[sec2][sec][5]}{else}>&nbsp;{/if}</td><td {if $zugs[sec2][sec][6]}class="gre">{$zugs[sec2][sec][6]}{else}>&nbsp;{/if}</td></tr></table></td></tr>
    <tr><td class="td_d2">{if $zugs[sec2][sec][1]}{$zugs[sec2][sec][2]}{else}&nbsp;{/if}</td></tr>
    <tr><td class="td_d2">{if $zugs[sec2][sec][7]}{$zugs[sec2][sec][7]}<input type="hidden" name="kilo{$selection}{$smarty.section.sec.rownum}" id="kilo{$selection}{$smarty.section.sec.rownum}" value="{$zugs[sec2][sec][7]}" />{else}&nbsp;{/if}</td></tr>
    </table><input type="hidden" name="date{$selection}{$smarty.section.sec.rownum}" id="date{$selection}{$smarty.section.sec.rownum}" value="{$zugs[sec2][sec][8]}" />
    </td>
    {/section}
</tr></table>
{/section}
{else}Nothing{/if}