383 lines
No EOL
21 KiB
Smarty
383 lines
No EOL
21 KiB
Smarty
<strong>
|
|
Neu 06.08.2015: Tuerkontrolle erweitert<br />
|
|
Neu 07.09.2015: Sicherheitszetifikat entfernt ab heute normaler Webzugang.<br />
|
|
Neu 08.09.2015: Reperatur Datenbank Tuerkontrolle<br />
|
|
Neu 10.09.2015: Logingateway - Auswahl versender ZugangsSMS<br />
|
|
<section class="grid_8">
|
|
|
|
<div class="column grid_6 first">
|
|
{if $wichtiga1>0}
|
|
<div class="widget">
|
|
<header class="current"><h2><span style='color:#FF0000'>offene-Tourenplanung Heute ({$tag1})</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$tw1 item=tw }
|
|
<td> <strong>{$tag1}</strong></td>
|
|
<td> <strong>{$tw.tour}</strong></td>
|
|
<td> <strong><span style='color:#FF0000'>{$tw.fahrer}</strong></td>
|
|
<td><strong> <span style='color:#FF0000'>{$tw.kennz}</strong></td>
|
|
<td> <strong><span style='color:#FF0000'>{$tw.info}</strong></td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
{if $wichtiga2>0}
|
|
<div class="widget">
|
|
<header class="current"><h2><span style='color:#FF0000'>offene-Tourenplanung Morgen ({$tag2})</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$tw2 item=twx }
|
|
<td> <strong>{$tag2}</strong></td>
|
|
<td> <strong>{$twx.tour}</strong></td>
|
|
<td> <strong><span style='color:#FF0000'>{$twx.fahrer}</strong></td>
|
|
<td><strong> <span style='color:#FF0000'>{$twx.kennz}</strong></td>
|
|
<td> <strong><span style='color:#FF0000'>{$twx.info}</strong></td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
</div>
|
|
|
|
<div class="column grid_2 last">
|
|
<div class="widget">
|
|
<header class="current"><h2><span style='color:#0000FF'>Status Anlage</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody>
|
|
<tr><td>Tuer ist {$tuer}</td></tr>
|
|
{if $online>0}
|
|
<tr><td>Tuer ist <strong><span style='color:#0000FF'>online</strong></td></tr>
|
|
{else}
|
|
<tr><td>Tuer ist <strong><span style='color:#FF0000'>offline</strong></td></tr>
|
|
{/if}
|
|
|
|
<tr><td>Alarmanlage ist {$alarm}</td></tr>
|
|
<tr><td><span style='color:#0000FF'><strong>letzte Zugangskarte:</strong></td></tr>
|
|
{foreach from=$status item=sta}
|
|
<tr></strong>
|
|
<td>{$sta.fahrer}</td>
|
|
<td>{$sta.zeit|date_format:"%d.%m. %H:%M"}</td>
|
|
<!-- <td> <span style='color:#FF0000'>{$status.zeit2}</td> -->
|
|
</tr>{/foreach}
|
|
<tr><td><span style='color:#FF0000'><strong>letzte Fehlerkarte:</strong></td></tr>
|
|
<tr>
|
|
<td><span style='color:#FF0000'>{$estatus.karte}</td>
|
|
<td>{$estatus.zeit|date_format:"%d.%m. %H:%M"}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
|
|
</section>
|
|
</strong>
|
|
|
|
|
|
<section id="content">
|
|
<div class="wrapper">
|
|
|
|
<!-- Main Section -- linke Spalte -->
|
|
|
|
<section class="grid_6 first top">
|
|
<div class="columns">
|
|
<div class="column grid_3 first">
|
|
|
|
{if $wert4>0}
|
|
<div class="widget">
|
|
<header class="current"><h2>LVZ-Tourenplanung {$tag1}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$lvz1 item=lvz1x }
|
|
<td> {if $lvz1x.stamm>0}<b>{/if}{if $lvz1x.stamm==2}<span style='color:#FF0000'>{/if}{$lvz1x.fahrer}</td>
|
|
<td> {if $lvz1x.stamm>0}<b>{/if}{if $lvz1x.stamm==2}<span style='color:#FF0000'>{/if}{$lvz1x.tour}</td>
|
|
<td> {if $lvz1x.stamm>0}<b>{/if}{if $lvz1x.stamm==2}<span style='color:#FF0000'>{/if}{$lvz1x.kennz}</td></b>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
|
|
{if $wert3>0}
|
|
<div class="widget">
|
|
<header class="current"><h2>GH-Tourenplanung {$tag1}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$gh1 item=gh1x }
|
|
<td> {if $gh1x.stamm>0}<b>{/if}{if $gh1x.stamm==2}<span style='color:#FF0000'>{/if}{$gh1x.fahrer}</td>
|
|
<td> {if $gh1x.stamm>0}<b>{/if}{if $gh1x.stamm==2}<span style='color:#FF0000'>{/if}{$gh1x.tour}</td>
|
|
<td> {if $gh1x.stamm>0}<b>{/if}{if $gh1x.stamm==2}<span style='color:#FF0000'>{/if}{$gh1x.kennz}</td></b>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
|
|
{if $wert5>0}
|
|
<div class="widget">
|
|
<header class="current"><h2>PIN-Tourenplanung {$tag1}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$pin1 item=pin1x }
|
|
{if $pin1.stamm==2}<span style='color:#FF0000'>{/if}
|
|
<td> {if $pin1x.stamm>0}<b>{/if}{if $pin1x.stamm==2}<span style='color:#FF0000'>{/if}{$pin1x.fahrer}</font></td>
|
|
<td> {if $pin1x.stamm>0}<b>{/if}{if $pin1x.stamm==2}<span style='color:#FF0000'>{/if}{$pin1x.tour}</td>
|
|
<td> {if $pin1x.stamm>0}<b>{/if}{if $pin1x.stamm==2}<span style='color:#FF0000'>{/if}{$pin1x.kennz}</td></b>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
|
|
|
|
{if $wert6>0}
|
|
<div class="widget">
|
|
<header class="current"><h2>Post-Tourenplanung {$tag1}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$post1 item=po1 }
|
|
<td> {if $po1.stamm>0}<b>{/if}{if $po1.stamm==2}<span style='color:#FF0000'>{/if}{$po1.fahrer}</td>
|
|
<td> {if $po1.stamm>0}<b>{/if}{if $po1.stamm==2}<span style='color:#FF0000'>{/if}{$po1.tour}</td>
|
|
<td> {if $po1.stamm>0}<b>{/if}{if $po1.stamm==2}<span style='color:#FF0000'>{/if}{$po1.kennz}</td></b>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
|
|
|
|
{if $wert7>0}
|
|
<div class="widget">
|
|
<header class="current"><h2>Rundschau-Tourenplanung {$tag1}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$rs1 item=rs1x }
|
|
<td> {if $rs1x.stamm>0}<b>{/if}{if $rs1x.stamm==2}<span style='color:#FF0000'>{/if}{$rs1x.fahrer}</td>
|
|
<td> {if $rs1x.stamm>0}<b>{/if}{if $rs1x.stamm==2}<span style='color:#FF0000'>{/if}{$rs1x.tour}</td>
|
|
<td> {if $rs1x.stamm>0}<b>{/if}{if $rs1x.stamm==2}<span style='color:#FF0000'>{/if}{$rs1x.kennz}</td></b>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
|
|
{if $wert8>0}
|
|
<div class="widget">
|
|
<header class="current"><h2>SaSo-Tourenplanung {$tag1}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$saso1 item=ss1 }
|
|
<td> {if $ss1.stamm>0}<b>{/if}{if $ss1.stamm==2}<span style='color:#FF0000'>{/if}{$ss1.fahrer}</td>
|
|
<td> {if $ss1.stamm>0}<b>{/if}{if $ss1.stamm==2}<span style='color:#FF0000'>{/if}{$ss1.tour}</td>
|
|
<td> {if $ss1.stamm>0}<b>{/if}{if $ss1.stamm==2}<span style='color:#FF0000'>{/if}{$ss1.kennz}</td></b>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="column grid_3 last">
|
|
|
|
{if $wert4b>0}
|
|
<div class="widget">
|
|
<header class="current"><h2>LVZ-Tourenplanung {$tag2}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$lvz2 item=lvz2x }
|
|
<td> {if $lvz2x.stamm>0}<b>{/if}{if $lvz2x.stamm==2}<span style='color:#FF0000'>{/if}{$lvz2x.fahrer}</td>
|
|
<td> {if $lvz2x.stamm>0}<b>{/if}{if $lvz2x.stamm==2}<span style='color:#FF0000'>{/if}{$lvz2x.tour}</td>
|
|
<td> {if $lvz2x.stamm>0}<b>{/if}{if $lvz2x.stamm==2}<span style='color:#FF0000'>{/if}{$lvz2x.kennz}</td></b>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
|
|
|
|
{if $wert3b>0}
|
|
<div class="widget">
|
|
<header class="current"><h2>GH-Tourenplanung {$tag2}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$gh2 item=gh2x }
|
|
<td> {if $gh2x.stamm>0}<b>{/if}{if $gh2x.stamm==2}<span style='color:#FF0000'>{/if}{$gh2x.fahrer}</td>
|
|
<td> {if $gh2x.stamm>0}<b>{/if}{if $gh2x.stamm==2}<span style='color:#FF0000'>{/if}{$gh2x.tour}</td>
|
|
<td> {if $gh2x.stamm>0}<b>{/if}{if $gh2x.stamm==2}<span style='color:#FF0000'>{/if}{$gh2x.kennz}</td></b>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
|
|
|
|
{if $wert5b>0}
|
|
<div class="widget">
|
|
<header class="current"><h2>PIN-Tourenplanung {$tag2}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$pin2 item=pin2x }
|
|
<td> {if $pin2x.stamm>0}<b>{/if}{if $pin2x.stamm==2}<span style='color:#FF0000'>{/if}{$pin2x.fahrer}</td>
|
|
<td> {if $pin2x.stamm>0}<b>{/if}{if $pin2x.stamm==2}<span style='color:#FF0000'>{/if}{$pin2x.tour}</td>
|
|
<td> {if $pin2x.stamm>0}<b>{/if}{if $pin2x.stamm==2}<span style='color:#FF0000'>{/if}{$pin2x.kennz}</td></b>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
|
|
|
|
{if $wert6b>0}
|
|
<div class="widget">
|
|
<header class="current"><h2>Post-Tourenplanung {$tag2}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$post2 item=po2 }
|
|
<td> {if $po2.stamm>0}<b>{/if}{if $po2.stamm==2}<span style='color:#FF0000'>{/if}{$po2.fahrer}</td>
|
|
<td> {if $po2.stamm>0}<b>{/if}{if $po2.stamm==2}<span style='color:#FF0000'>{/if}{$po2.tour}</td>
|
|
<td> {if $po2.stamm>0}<b>{/if}{if $po2.stamm==2}<span style='color:#FF0000'>{/if}{$po2.kennz}</td></b>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
|
|
{if $wert8b>0}
|
|
<div class="widget">
|
|
<header class="current"><h2>SaSo-Tourenplanung {$tag2}</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$saso2 item=ss2 }
|
|
<td> {if $ss2.stamm>0}<b>{/if}{if $ss2.stamm==2}<span style='color:#FF0000'>{/if}{$ss2.fahrer}</td>
|
|
<td> {if $ss2.stamm>0}<b>{/if}{if $ss2.stamm==2}<span style='color:#FF0000'>{/if}{$ss2.tour}</td>
|
|
<td> {if $ss2.stamm>0}<b>{/if}{if $ss2.stamm==2}<span style='color:#FF0000'>{/if}{$ss2.kennz}</td></b>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
{/if}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="clear"> </div>
|
|
|
|
</section>
|
|
|
|
<!-- Main Section End -->
|
|
|
|
<!-- Sidebar -->
|
|
|
|
<aside class="grid_2 top">
|
|
<div class="widget">
|
|
<header class="current"><h2>{$day1} ( {$tna1} )</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$maf1 item=maf1x }
|
|
<td> {$maf1x.fahrer}</td>
|
|
<td> <img src="/template/images/icon/{$maf1x.icon}" width="16" height="16"/></td>
|
|
<td> {$maf1x.bez}</td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
<div class="widget">
|
|
<header class="current"><h2>{$day2} ( {$tna2} )</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$maf2 item=maf2x }
|
|
<td> {$maf2x.fahrer}</td>
|
|
<td> <img src="/template/images/icon/{$maf2x.icon}" width="16" height="16"/></td>
|
|
<td> {$maf2x.bez}</td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
<div class="widget">
|
|
<header class="current"><h2>{$day3} ( {$tna3} )</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$maf3 item=maf3x }
|
|
<td> {$maf3x.fahrer}</td>
|
|
<td> <img src="/template/images/icon/{$maf3x.icon}" width="16" height="16"/></td>
|
|
<td> {$maf3x.bez}</td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
<div class="widget">
|
|
<header class="current"><h2>{$day4} ( {$tna4} )</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$maf4 item=maf4x }
|
|
<td> {$maf4x.fahrer}</td>
|
|
<td> <img src="/template/images/icon/{$maf4x.icon}" width="16" height="16"/></td>
|
|
<td> {$maf4x.bez}</td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
<div class="widget">
|
|
<header class="current"><h2>{$day5} ( {$tna5} )</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$maf5 item=maf5x }
|
|
<td> {$maf5x.fahrer}</td>
|
|
<td> <img src="/template/images/icon/{$maf5x.icon}" width="16" height="16"/></td>
|
|
<td> {$maf5x.bez}</td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
<div class="widget">
|
|
<header class="current"><h2>{$day6} ( {$tna6} )</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$maf6 item=maf6x }
|
|
<td> {$maf6x.fahrer}</td>
|
|
<td> <img src="/template/images/icon/{$maf6x.icon}" width="16" height="16"/></td>
|
|
<td> {$maf6x.bez}</td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
<div class="widget">
|
|
<header class="current"><h2>{$day7} ( {$tna7} )</h2></header>
|
|
<section>
|
|
<table class="no-style full">
|
|
<tbody> {foreach from=$maf7 item=maf7x }
|
|
<td> {$maf7x.fahrer}</td>
|
|
<td> <img src="/template/images/icon/{$maf7x.icon}" width="16" height="16"/></td>
|
|
<td> {$maf7x.bez}</td>
|
|
</tbody> {/foreach}
|
|
</table>
|
|
</section>
|
|
</div>
|
|
</aside>
|
|
|
|
<!-- Sidebar End -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
|
<div id="push"></div>
|
|
</section>
|
|
</div> |