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

381 lines
No EOL
19 KiB
Smarty

<html lang="de">
<head>
<!-- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> -->
<meta name="viewport" >
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>| JB-Transport.de - Infoscreen</title>
<link rel="icon" type="image/png" sizes="192x192" href="template/images/fav/android-icon-192x192.png">
<link rel="manifest" href="template/images/fav/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="template/images/fav/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" media="screen" href="lib/css/bootstrap.min.css" />
<link rel="stylesheet" media="screen" href="lib/css/bootstrap-theme.min.css" />
<link rel="stylesheet" media="screen" href="template/css/fontawesome5/css/all.css"/>
<link rel="stylesheet" media="screen" href="lib/css/pistyle.css" />
<!--
<link rel="stylesheet" media="screen" href="lib/css/jquery-ui.css" />
-->
<script src="lib/js/jquery.tools.min.js"></script>
<script src="lib/js/jquery-ui.min.js"></script>
<script src="lib/js/jquery.min.js"></script>
<script src="lib/js/global.js"></script>
<script src="lib/js/bootstrap.min.js"></script>
<script src="lib/js/bootstrap-notify.min.js"></script>
<script src="lib/js/bootstrap-notify-init.js"></script>
<!-- ************************ tägliche touren -->
<section id="content">
<div class="container">
<div class="row">
<div class="col-md-8">
{if $fertig==1}
<p nowrap align="center" style='width:780px;font-size:12pt;background-color:green;color:#fff'> Einsatzplan - {$taginfo1}<p>
{else}
<p nowrap align="center" style='width:780px;font-size:12pt;background-color:f05800;color:#fff'>Einsatzplan - {$taginfo1} - Vorplanung !!!<p>
{/if}
</div>
<div class="col-md-4">
<p nowrap align="center" style='width:385px;font-size:12pt;background-color:#f05800;color:#fff'> keine Daten vorhanden - {$taginfo}<p>
</div>
</div>
<!-- ************************ PVL -->
<div class="row">
<div class="col-md-4">
<p nowrap align="center" style='width:383px;font-size:12pt;background-color:blue;color:#FFF'>Pressevertrieb Gerichshain<p>
<div class="panel panel-primary">
<div class="panel-body">
<table class="table-striped">
<tbody>
{foreach from=$tag1_pvl item=tour}
<tr style="height: 3px;">
{if $tour.aktiv==0}<td nowrap style="width:100px"><span style='color:#FF6E00;'>{$tour.tour}</td>{/if}
{if $tour.aktiv==1}<td nowrap style="width:100px"><span style='color:#FFFFFF;'>{$tour.tour}</td>{/if}
{if $tour.fahrernichtda==0}<td nowrap style="width:185px"><span style='color:#FFFFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==1}<td nowrap style="width:185px"><span style='color:#FF0000;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==2}<td nowrap style="width:185px"><span style='color:#66FFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.autonichtda==0}<td nowrap style="width:80px"><span style='color:#FFFFFF;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==1}<td nowrap style="width:80px"><span style='color:#FF0000;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==2}<td nowrap style="width:80px"><span style='color:#66FFFF;'>{$tour.kennz}</td>{/if}
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
<!-- PVL-V -->
<div class="panel panel-primary">
<div class="panel-body">
<table class="table-striped">
<tbody>
{foreach from=$tag1_pvlv item=tour}
<tr style="height: 3px;">
{if $tour.aktiv==0}<td nowrap style="width:100px"><span style='color:#FF6E00;'>{$tour.tour}</td>{/if}
{if $tour.aktiv==1}<td nowrap style="width:100px"><span style='color:#FFFFFF;'>{$tour.tour}</td>{/if}
{if $tour.fahrernichtda==0}<td nowrap style="width:185px"><span style='color:#FFFFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==1}<td nowrap style="width:185px"><span style='color:#FF0000;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==2}<td nowrap style="width:185px"><span style='color:#66FFFF;'>{$tour.fahrer_name}</td>{/if}
<td nowrap style="width:80px"><span style='color:#FFFFFF;'> </td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
<!-- ************************ BNA -->
{if $panzeige2>0}
<p nowrap align="center" style='width:383px;font-size:12pt;background-color:blue;color:#FFF'>LVZ-Post Sondertour<p>
<div class="panel panel-primary">
<div class="panel-body">
<table class="table-striped">
<tbody>
{foreach from=$rtour2 item=tour}
<tr style="height: 3px;">
{if $tour.aktiv==0}<td nowrap style="width:100px"><span style='color:#FF6E00;'>{$tour.tour}</td>{/if}
{if $tour.aktiv==1}<td nowrap style="width:100px"><span style='color:#FFFFFF;'>{$tour.tour}</td>{/if}
{if $tour.fahrernichtda==0}<td nowrap style="width:185px"><span style='color:#FFFFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==1}<td nowrap style="width:185px"><span style='color:#FF0000;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==2}<td nowrap style="width:185px"><span style='color:#66FFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.autonichtda==0}<td nowrap style="width:80px"><span style='color:#FFFFFF;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==1}<td nowrap style="width:80px"><span style='color:#FF0000;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==2}<td nowrap style="width:80px"><span style='color:#66FFFF;'>{$tour.kennz}</td>{/if}
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
{/if}
</div>
<!-- ************************ LVZ-->
<div class="col-md-4">
<p nowrap align="center" style='width:383px;font-size:12pt;background-color:blue;color:#FFF'>LVZ (MZ Druckhaus Halle)<p>
<div class="panel panel-primary">
<div class="panel-body">
<table class="table-striped">
<tbody>
{foreach from=$tag1_lvz item=tour}
<tr style="height: 3px;">
{if $tour.aktiv==0}<td nowrap style="width:100px"><span style='color:#FF6E00;'>{$tour.tour}</td>{/if}
{if $tour.aktiv==1}<td nowrap style="width:100px"><span style='color:#FFFFFF;'>{$tour.tour}</td>{/if}
{if $tour.fahrernichtda==0}<td nowrap style="width:185px"><span style='color:#FFFFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==1}<td nowrap style="width:185px"><span style='color:#FF0000;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==2}<td nowrap style="width:185px"><span style='color:#66FFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.autonichtda==0}<td nowrap style="width:80px"><span style='color:#FFFFFF;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==1}<td nowrap style="width:80px"><span style='color:#FF0000;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==2}<td nowrap style="width:80px"><span style='color:#66FFFF;'>{$tour.kennz}</td>{/if}
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
<!-- ************************ LVZ- Zustellung -->
<p nowrap align="center" style='width:383px;font-size:12pt;background-color:blue;color:#FFF'>LVZ Fahrerzustellung<p>
<div class="panel panel-primary">
<div class="panel-body">
<table class="table-striped">
<tbody>
{foreach from=$tag1_lvzz item=tour}
<tr style="height: 3px;">
{if $tour.aktiv==0}<td nowrap style="width:100px"><span style='color:#FF6E00;'>{$tour.tour}</td>{/if}
{if $tour.aktiv==1}<td nowrap style="width:100px"><span style='color:#FFFFFF;'>{$tour.tour}</td>{/if}
{if $tour.fahrernichtda==0}<td nowrap style="width:185px"><span style='color:#FFFFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==1}<td nowrap style="width:185px"><span style='color:#FF0000;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==2}<td nowrap style="width:185px"><span style='color:#66FFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.autonichtda==0}<td nowrap style="width:80px"><span style='color:#FFFFFF;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==1}<td nowrap style="width:80px"><span style='color:#FF0000;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==2}<td nowrap style="width:80px"><span style='color:#66FFFF;'>{$tour.kennz}</td>{/if}
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
<!-- ************************ post nachts -->
{if $pinanzeige>0}
<p nowrap align="center" style='width:383px;font-size:12pt;background-color:blue;color:#FFF'>LVZ-Post L.-Stahmeln<p>
<!-- ************************ LVZ PIN Nachttouren -->
<div class="panel panel-primary">
<div class="panel-body">
<table class="table-striped">
<tbody>
{foreach from=$tag1_pag item=tour}
<tr style="height: 3px;">
{if $tour.aktiv==0}<td nowrap style="width:100px"><span style='color:#FF6E00;'>{$tour.tour}</td>{/if}
{if $tour.aktiv==1}<td nowrap style="width:100px"><span style='color:#FFFFFF;'>{$tour.tour}</td>{/if}
{if $tour.fahrernichtda==0}<td nowrap style="width:185px"><span style='color:#FFFFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==1}<td nowrap style="width:185px"><span style='color:#FF0000;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==2}<td nowrap style="width:185px"><span style='color:#66FFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.autonichtda==0}<td nowrap style="width:80px"><span style='color:#FFFFFF;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==1}<td nowrap style="width:80px"><span style='color:#FF0000;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==2}<td nowrap style="width:80px"><span style='color:#66FFFF;'>{$tour.kennz}</td>{/if}
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
{/if}
<!-- ************************ Rtour gelöscht in Kopie vorhanden -->
<!-- ************************ TYP 4 gelöscht in Kopie vorhanden früh afa -->
<!-- ************************ TYP 3 dd gelöscht in Kopie vorhanden -->
<!-- ************************ PIN - Leergut/Rückläufer gelöscht in Kopie vorhanden -->
<!-- ************************ Essen-tour gelöscht in Kopie vorhanden -->
<!-- **************************************************** -->
</div>
<!-- **************************************************** rechts -->
<div class="col-md-4">
<!-- **************************************************** FAZ -->
{if $fazanzeige==1}
<p nowrap align="center" style='width:383px;font-size:12pt;background-color:blue;color:#FFF'>FAZ am Sonntag<p>
<div class="panel panel-primary">
<div class="panel-body">
<table class="table-striped">
<tbody>
<tr style="height: 3px;">
<td nowrap style="width:360px;text-align: center"><span style='color:#66FFFF;'>{$fazsumme} Exemplare ges.</td>
</tr>
</tbody>
</table>
</div>
</div>
{/if}
<!-- ************************ PVL -->
<p nowrap align="center" style='width:383px;font-size:12pt;background-color:blue;color:#FFF'>evtl. Änderung am {$taginfo2}<p>
<!-- **************************************************** -->
{if $anzpvl2>0}
<div class="panel panel-warning">
<div class="panel-body">
<table class="table-striped">
<tbody>
{foreach from=$tag2_pvl item=tour}
<tr style="height: 3px;">
{if $tour.aktiv==0}<td nowrap style="width:100px"><span style='color:#f05800;'>{$tour.tour}</td>{/if}
{if $tour.aktiv==1}<td nowrap style="width:100px"><span style='color:#FFFFFF;'>{$tour.tour}</td>{/if}
{if $tour.fahrernichtda==0}<td nowrap style="width:185px"><span style='color:#FFFFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==1}<td nowrap style="width:185px"><span style='color:#FF0000;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==2}<td nowrap style="width:185px"><span style='color:#FF6E00;'>{$tour.fahrer_name}</td>{/if}
{if $tour.autonichtda==0}<td nowrap style="width:80px"><span style='color:#FFFFFF;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==1}<td nowrap style="width:80px"><span style='color:#FF0000;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==2}<td nowrap style="width:80px"><span style='color:#FF6E00;'>{$tour.kennz}</td>{/if}
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
{/if}
<!-- ************************ LVZ-->
{if $anzlvz2>0}
<div class="panel panel-warning">
<div class="panel-body">
<table class="table-striped">
<tbody>
{foreach from=$tag2_lvz item=tour}
<tr style="height: 3px;">
{if $tour.aktiv==0}<td nowrap style="width:100px"><span style='color:#f05800;'>{$tour.tour}</td>{/if}
{if $tour.aktiv==1}<td nowrap style="width:100px"><span style='color:#FFFFFF;'>{$tour.tour}</td>{/if}
{if $tour.fahrernichtda==0}<td nowrap style="width:185px"><span style='color:#FFFFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==1}<td nowrap style="width:185px"><span style='color:#FF0000;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==2}<td nowrap style="width:185px"><span style='color:#FF6E00;'>{$tour.fahrer_name}</td>{/if}
{if $tour.autonichtda==0}<td nowrap style="width:80px"><span style='color:#FFFFFF;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==1}<td nowrap style="width:80px"><span style='color:#FF0000;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==2}<td nowrap style="width:80px"><span style='color:#FF6E00;'>{$tour.kennz}</td>{/if}
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
{/if}
<!-- ************************ LVZ- Zustellung -->
{if $anzlvzz2>0}
<div class="panel panel-warning">
<div class="panel-body">
<table class="table-striped">
<tbody>
{foreach from=$tag2_lvzz item=tour}
<tr style="height: 3px;">
{if $tour.aktiv==0}<td nowrap style="width:100px"><span style='color:#f05800;'>{$tour.tour}</td>{/if}
{if $tour.aktiv==1}<td nowrap style="width:100px"><span style='color:#FFFFFF;'>{$tour.tour}</td>{/if}
{if $tour.fahrernichtda==0}<td nowrap style="width:185px"><span style='color:#FFFFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==1}<td nowrap style="width:185px"><span style='color:#FF0000;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==2}<td nowrap style="width:185px"><span style='color:#FF6E00;'>{$tour.fahrer_name}</td>{/if}
{if $tour.autonichtda==0}<td nowrap style="width:80px"><span style='color:#FFFFFF;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==1}<td nowrap style="width:80px"><span style='color:#FF0000;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==2}<td nowrap style="width:80px"><span style='color:#FF6E00;'>{$tour.kennz}</td>{/if}
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
{/if}
<!-- ************************ post nachts -->
{if $pinanzeige2>0}
<!-- ************************ LVZ PIN Nachttouren -->
<div class="panel panel-warning">
<div class="panel-body">
<table class="table-striped">
<tbody>
{foreach from=$tag2_pag item=tour}
<tr style="height: 3px;">
{if $tour.aktiv==0}<td nowrap style="width:100px"><span style='color:#f05800;'>{$tour.tour}</td>{/if}
{if $tour.aktiv==1}<td nowrap style="width:100px"><span style='color:#FFFFFF;'>{$tour.tour}</td>{/if}
{if $tour.fahrernichtda==0}<td nowrap style="width:185px"><span style='color:#FFFFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==1}<td nowrap style="width:185px"><span style='color:#FF0000;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==2}<td nowrap style="width:185px"><span style='color:#FF6E00;'>{$tour.fahrer_name}</td>{/if}
{if $tour.autonichtda==0}<td nowrap style="width:80px"><span style='color:#FFFFFF;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==1}<td nowrap style="width:80px"><span style='color:#FF0000;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==2}<td nowrap style="width:80px"><span style='color:#FF6E00;'>{$tour.kennz}</td>{/if}
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
{/if}
<!-- ************************ -->
<!-- ************************ offene Werbetouren -->
{if $offenewtour>0}
<div class="panel panel-warning">
<p nowrap align="center" style='width:383px;font-size:12pt;background-color:red;color:#FFF'>offene Werbetouren<p>
</div>
<div class="panel panel-warning">
<div class="panel-body">
<table class="table-striped">
<tbody>
{foreach from=$ws_tour item=tour}
<tr style="height: 3px;">
<td nowrap style="width:85px"><span style='color:#ff0000;'>{$tour.datum}</td>
<td nowrap style="width:100px"><span style='color:#ff0000;'>{$tour.tour}</td>
<td nowrap style="width:175px;text-align: right"><span style='color:#ff0000;'>{$tour.bez}</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
{/if}
<!-- *********************************************************** -->
<div id="exxtra"></div>
<!-- ************************ -->
</div>
<!-- **************************************************** -->
</div>
</div>
</div></div>
<!-- ************************ -->
{include file='tpl/fuss3.tpl'}
<!-- ************************ -->
{literal}
<!-- ************************ -->
<script type="text/javascript">
$.ajax({
type : "POST",
url : 'pia.php?s=pi_werbung19&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#exxtra").html(data);
},
});
var refresh_EDV = setInterval(function() {
$.ajax({
type : "POST",
url : 'pia.php?s=pi_werbung19&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#exxtra").html(data);
},
})
}, 10000);
</script>
{/literal}