jb-data.de/template/tpl/ajax/ue_verkehr.tpl
2025-08-11 22:23:30 +02:00

115 lines
4.5 KiB
Smarty

<!-- ***** TS ************************************************************************************************* -->
{if $ts_anz!=0}
<div class="rinfo">
<i class="fas fa-cctv fa-3x fa-pull-left"></i>
<span style='color:orange;font-size:12pt'>Enforce.-</br> Trailer&nbsp;&nbsp;<img src="/images/v/et2.png" alt="Blitzer" width="24"></span>
{foreach from=$ts_data item=tsdata}
<table class="no-style full">
<tr align="left">
<td width="30px">
{if $tsdata.vmax==0}
<span style='color:#fff;font-size:10pt'><img src="../images/v/blitzer.png" alt="Blitzer" width="28"></span>
{else}
<span style='color:#fff;font-size:10pt'><img src='../images/v/{$tsdata.vmax}.png' alt="Vmax" width="28"></span>
{/if}
</td>
<td>
<table class="no-style full"style="color:#ababab;font-size:8pt">
<tr align="left">
<td nowrap>
<span>{$tsdata.adresse1}</span>
</td>
</tr>
<tr align="left">
<td nowrap style="color:#fff">
<span>{$tsdata.adresse2}</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
{/foreach}
</div>
{/if}
<!-- ***** mobil ************************************************************************************************* -->
{if $mb_anz!=0}
<div class="rinfo">
<i class="fas fa-cctv fa-3x fa-pull-left"></i>
<span style='color:orange;font-size:12pt'>mobile Blitzer <img src="/images/v/blitzer.png" alt="Blitzer" width="24"></span>
{foreach from=$mb_data item=mbdata}
<table class="no-style full">
<tr align="left">
<td width="30px">
{if $mbdata.vmax==0}
<span style='color:#fff;font-size:10pt'><img src="../images/v/blitzer.png" alt="Blitzer" width="28"></span>
{else}
<span style='color:#fff;font-size:10pt'><img src='../images/v/{$mbdata.vmax}.png' alt="Vmax" width="28"></span>
{/if}
</td>
<td>
<table class="no-style full">
<tr align="left">
<td nowrap style="color:#ababab;font-size:8pt">
<span>{$mbdata.adresse1}</span>
</td>
</tr>
<tr align="left">
<td nowrap style="color:#fff;font-size:8pt">
<span>{$mbdata.adresse2}</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
{/foreach}
</div>
{/if}
<!-- ***** Verkehr ************************************************************************************************* -->
{if $st_anz!=0}
<div class="rinfo">
<i class="fas fa-traffic-cone fa-3x fa-pull-left"></i>
<span style='color:orange;font-size:12pt'>Verkehrs- meldungen </span>
{foreach from=$st_data item=stdata}
<table class="no-style full">
<tr align="left">
<td width="30px">
{if $stdata.type==20} <span style='color:#fff;font-size:10pt'><img src='/images/v/stau6.png' alt="Stau" width="28"></span> {/if}
{if $stdata.type==21} <span style='color:#fff;font-size:10pt'><img src='/images/v/unfall5.png' alt="Stau" width="28"></span> {/if}
{if $stdata.type==22} <span style='color:#fff;font-size:10pt'><img src='/images/v/achtung.png' alt="Stau" width="28"></span> {/if}
{if $stdata.type==23} <span style='color:#fff;font-size:10pt'><img src='/images/v/hdn.png' alt="Hindernis" width="28"></span> {/if}
{if $stdata.type==24} <span style='color:#fff;font-size:10pt'><img src='/images/v/eis.png' alt="Eis" width="28"></span> {/if}
{if $stdata.type==25} <span style='color:#fff;font-size:10pt'><img src='/images/v/nebel.png' alt="Nebel" width="28"></span> {/if}
{if $stdata.type==26} <span style='color:#fff;font-size:10pt'><img src='/images/v/baustelle.png' alt="Stau" width="28"></span>{/if}
{if $stdata.type==29} <span style='color:#fff;font-size:10pt'><img src='/images/v/achtung.png' alt="Stau" width="28"></span>{/if}
</td>
<td>
<table class="no-style full"style="color:#ababab;font-size:8pt">
<tr align="left">
<td nowrap>
<span>{$stdata.adresse1}</span>
</td>
</tr>
<tr align="left">
<td nowrap style="color:#fff">
<span>{$stdata.adresse2}</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
{/foreach}
</div>
{/if}