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

31 lines
1.8 KiB
Smarty

<div class="panel panel-default">
<div class="panel-body" style="min-height:550px;max-height:550px;overflow-y: scroll;">
{foreach from=$abfrage_c item=co }
<table class="no-style full">
<tbody>
{if $co.status==2}
<tr>
<td nowrap style="width:185px;font-size:12pt" align="left"><span style='color:#8C8C8C'>{$co.name}</td>
{if $co.ontour==0}<td nowrap style="width:100px;font-size:11pt" align="left"><span style='color:#00CCFF'>Karte frei</td>{/if}
{if $co.ontour==1}<td nowrap style="width:100px;font-size:11pt" align="left"><span style='color:#33FF33'>ON-Tour</td>{/if}
<td nowrap style="width:70px;font-size:8pt" align="right"><span style='color:#FFFFFF'>{$co.etime|date_format:"%H:%M Uhr"}</td>
</tr>
{elseif $co.status==3}
<tr>
<td nowrap style="width:185px;font-size:12pt" align="left"><span style='color:#8C8C8C'>{$co.name}</td>
<td nowrap style="width:100px;font-size:11pt" align="left"><span style='color:#FF0000'>{$co.grund}</td>
<td nowrap style="width:70px;font-size:8pt" align="right"><span style='color:#FF0000'>{$co.etime|date_format:"%H:%M Uhr"}</td>
</tr>
{else}
<tr>
<td nowrap style="width:185px;font-size:12pt" align="left"><span style='color:#8C8C8C'>{$co.name}</td>
<td nowrap style="width:100px;font-size:11pt" align="left"><span style='color:#FF8E00'>keine Tour</td>
<td nowrap style="width:70px;font-size:8pt" align="right"><span style='color:#FF8E00'>{$co.etime|date_format:"%H:%M Uhr"}</td>
</tr>
{/if}
{/foreach}
</tbody>
</table>
</div>
</div>