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

429 lines
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="apple-touch-icon" sizes="57x57" href="template/images/fav/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="template/images/fav/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="template/images/fav/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="template/images/fav/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="template/images/fav/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="template/images/fav/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="template/images/fav/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="template/images/fav/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="template/images/fav/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="template/images/fav/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="template/images/fav/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="template/images/fav/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="template/images/fav/favicon-16x16.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="lib/css/font-awesome.min.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 -->
<div class="container">
<div class="row">
<div id="time" style="text-align:center;"></div>
</div>
</div>
<section id="content">
<div class="container">
<div class="row">
<div class="col-md-4">
<!-- ************************ PVL -->
{if $n8anzeige>0}
<div class="panel panel-warning">
<h4 align="center"><span style='color:#FF6E00;font-weight:bold;'> Nacht-Touren - {$taginfo}</h4>
</div>
{/if}
{if $pvlanzeige>0}
<div class="panel panel-warning">
<!-- <div class="panel-heading"><h2 class="panel-title">Pressevertrieb Leipzig (PVL)- {$taginfo}</h2></div> -->
<div class="panel-body">
<table class="table-striped">
<tbody>
{foreach from=$tag_tour1 item=tour}
<tr style="height: 3px;">
{if $tour.fahrernichtda==0}<td nowrap style="width:165px"><span style='color:#FFFFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==1}<td nowrap style="width:165px"><span style='color:#FF0000;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==2}<td nowrap style="width:165px"><span style='color:#66FFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.aktiv==0}<td nowrap style="width:90px"><span style='color:#FFD600;'>{$tour.tour}</td>{/if}
{if $tour.aktiv==1}<td nowrap style="width:90px"><span style='color:#FFFFFF;'>{$tour.tour}</td>{/if}
{if $tour.autonichtda==0}<td nowrap style="width:85px"><span style='color:#FFFFFF;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==1}<td nowrap style="width:85px"><span style='color:#FF0000;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==2}<td nowrap style="width:85px"><span style='color:#66FFFF;'>{$tour.kennz}</td>{/if}
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
{/if}
<!-- ************************ LVZ-->
{if $lvzanzeige>0}
<div class="panel panel-warning">
<!-- <div class="panel-heading"><h2 class="panel-title">Leipziger Volkszeitung (LVZ) - {$taginfo}</h2></div> -->
<div class="panel-body">
<table class="table-striped">
<tbody>
{foreach from=$tag_tour2 item=tour}
<tr style="height: 3px;">
{if $tour.fahrernichtda==0}<td nowrap style="width:165px"><span style='color:#FFFFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==1}<td nowrap style="width:165px"><span style='color:#FF0000;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==2}<td nowrap style="width:165px"><span style='color:#66FFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.aktiv==0}<td nowrap style="width:90px"><span style='color:#FFD600;'>{$tour.tour}</td>{/if}
{if $tour.aktiv==1}<td nowrap style="width:90px"><span style='color:#FFFFFF;'>{$tour.tour}</td>{/if}
{if $tour.autonichtda==0}<td nowrap style="width:85px"><span style='color:#FFFFFF;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==1}<td nowrap style="width:85px"><span style='color:#FF0000;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==2}<td nowrap style="width:85px"><span style='color:#66FFFF;'>{$tour.kennz}</td>{/if}
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
{/if}
<!-- ************************ LVZ-->
{if $lvzzanzeige>0}
<div class="panel panel-warning">
<!-- <div class="panel-heading"><h2 class="panel-title">Leipziger Volkszeitung - Zustellung - {$taginfo}</h2></div> -->
<div class="panel-body">
<table class="table-striped">
<tbody>
{foreach from=$tag_tour4 item=tour}
<tr style="height: 3px;">
{if $tour.fahrernichtda==0}<td nowrap style="width:145px"><span style='color:#FFFFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==1}<td nowrap style="width:145px"><span style='color:#FF0000;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==2}<td nowrap style="width:145px"><span style='color:#66FFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.aktiv==0}<td nowrap style="width:110px"><span style='color:#66FFFF;'>{$tour.tour}</td>{/if}
{if $tour.aktiv==1}<td nowrap style="width:110px"><span style='color:#FFFFFF;'>{$tour.tour}</td>{/if}
{if $tour.autonichtda==0}<td nowrap style="width:85px"><span style='color:#FFFFFF;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==1}<td nowrap style="width:85px"><span style='color:#FF0000;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==2}<td nowrap style="width:85px"><span style='color:#66FFFF;'>{$tour.kennz}</td>{/if}
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
{/if}
<!-- ************************ LVZ PIN-->
{if $pinanzeige>0}
<div class="panel panel-warning">
<!-- <div class="panel-heading"><h2 class="panel-title">Leipzig Post - {$taginfo}</h2></div> -->
<div class="panel-body">
<table class="table-striped">
<tbody>
{foreach from=$tag_tour3 item=tour}
<tr style="height: 3px;">
{if $tour.fahrernichtda==0}<td nowrap style="width:165px"><span style='color:#FFFFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==1}<td nowrap style="width:165px"><span style='color:#FF0000;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==2}<td nowrap style="width:165px"><span style='color:#66FFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.aktiv==0}<td nowrap style="width:90px"><span style='color:#66FFFF;'>{$tour.tour}</td>{/if}
{if $tour.aktiv==1}<td nowrap style="width:90px"><span style='color:#FFFFFF;'>{$tour.tour}</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 -->
{if $rtouranzeige>0}
<div class="panel panel-warning">
<h4 align="center"><span style='color:#FF6E00;font-weight:bold;'>LVZ Post RTOUR - {$taginfo}</h4>
</div>
<div class="panel panel-warning">
<div class="panel-body">
<table class="table-striped">
<tbody>
{foreach from=$rtour item=tour}
<tr style="height: 3px;">
{if $tour.fahrernichtda==0}<td nowrap style="width:165px"><span style='color:#FFFFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==1}<td nowrap style="width:165px"><span style='color:#FF0000;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==2}<td nowrap style="width:165px"><span style='color:#66FFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.aktiv==0}<td nowrap style="width:90px"><span style='color:#66FFFF;'>{$tour.tour}</td>{/if}
{if $tour.aktiv==1}<td nowrap style="width:90px"><span style='color:#FFFFFF;'>{$tour.tour}</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}
<!-- ************************ PIN - Leergut/Rückläufer -->
{if $ltouranzeige>0}
<div class="panel panel-warning">
<h4 align="center"><span style='color:#FF6E00;font-weight:bold;'>PIN Rückläufer - {$taginfo}</h4>
</div>
<div class="panel panel-warning">
<div class="panel-body">
<table class="table-striped">
<tbody>
{foreach from=$ltour item=tour}
<tr style="height: 3px;">
{if $tour.fahrernichtda==0}<td nowrap style="width:165px"><span style='color:#FFFFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==1}<td nowrap style="width:165px"><span style='color:#FF0000;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==2}<td nowrap style="width:165px"><span style='color:#66FFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.aktiv==0}<td nowrap style="width:90px"><span style='color:#66FFFF;'>{$tour.tour}</td>{/if}
{if $tour.aktiv==1}<td nowrap style="width:90px"><span style='color:#FFFFFF;'>{$tour.tour}</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}
<!-- ************************ Essen-tour -->
{if $etouranzeige>0}
<div class="panel panel-warning">
<div class="panel-heading"><h2 class="panel-title">VNG-Essentransport - {$taginfo}</h2></div>
<div class="panel-body">
<table class="table-striped">
<tbody>
{foreach from=$etour item=tour}
<tr style="height: 3px;">
{if $tour.fahrernichtda==0}<td nowrap style="width:180px"><span style='color:#FFFFFF;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==1}<td nowrap style="width:180px"><span style='color:#FF0000;'>{$tour.fahrer_name}</td>{/if}
{if $tour.fahrernichtda==2}<td nowrap style="width:180px"><span style='color:#66FFFF;'>{$tour.fahrer_name}</td>{/if}
<td nowrap style="width:85px"> {$tour.zeit} Uhr</td>
{if $tour.aktiv==0}<td nowrap style="width:120px"><span style='color:#66FFFF;'>{$tour.tour}</td>{/if}
{if $tour.aktiv==1}<td nowrap style="width:120px"><span style='color:#FFFFFF;'>{$tour.tour}</td>{/if}
{if $tour.autonichtda==0}<td nowrap style="width:90px"><span style='color:#FFFFFF;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==1}<td nowrap style="width:90px"><span style='color:#FF0000;'>{$tour.kennz}</td>{/if}
{if $tour.autonichtda==2}<td nowrap style="width:90px"><span style='color:#66FFFF;'>{$tour.kennz}</td>{/if}
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
{/if}
<!-- **************************************************** -->
</div>
<!-- **************************************************** -->
<!-- **************************************************** -->
<!-- **************************************************** -->
<div class="col-md-6">
<div id="exxtra"></div>
</div>
<aside class="col-md-2">
<!-- <div id="rightmenu" class="panel panel-default"> -->
<!-- **************************************************** Spaltenwechsel -->
<div id="rightmenu" class="panel panel-warning">
<h4 align="center"><span style='color:#FF6E00;font-weight:bold;'>{$smarty.now|date_format:"%d.%m.%Y"}</h4>
</div>
<div id="rightmenu" class="panel panel-warning">
<div class="panel-body">
<table class="no-style full">
<tbody>
{foreach from=$maf1 item=maf1 }
<tr>
<!-- <td class="table-icon-cell"><i style="width:25px;font-size:13pt" class="{$kal.icon}";"></i></td> -->
<td nowrap style="width:20px;font-size:11pt" align="left"><img src="/template/images/icon/{$maf1.icon}" width="16" height="16"/></td>
<td nowrap style="width:120px;font-size:10pt" align="left">{$maf1.fahrer}</td>
<!-- <td nowrap style="width:130px;font-size:11pt" align="left">{$maf1.bez}</td>
<td nowrap style="width:350px;font-size:11pt" align="left">{$maf1.info}</td> -->
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
<!-- **************************************************** freie Fahrzeuge -->
<div class="row">
<div id="rightmenu" class="panel panel-warning">
<h4 align="center"><span style='color:#FF6E00;font-weight:bold;'>freie Fahrzeuge</h4>
</div>
</div>
<div class="row">
<div id="rightmenu" class="panel panel-warning">
<div class="panel-body">
<div id="freecar" style="text-align:center;"></div>
</div>
</div>
</div>
<div class="row">
<div id="rightmenu" class="panel panel-warning">
<div class="panel-body">
<div id="freetrp" style="text-align:center;"></div>
</div>
</div>
</div>
<!-- **************************************************** Rundschau -->
<div class="row">
{if $rsanzeigex>0}
<div id="rightmenu" class="panel panel-warning">
<!-- <img src="https://edv.jb-transport.de/rs_logo_b.png" alt="" width="213" height="97" /> -->
<img src="https://edv.jb-transport.de/lrs.jpg" alt="" width="585" height="90" />
</div>
{/if}
</div>
<!-- ************************ -->
</div>
</div>
<!-- ************************ -->
{include file='tpl/fuss2.tpl'}
<!-- ************************ -->
</section>
<!-- ************************ -->
{literal}
<!-- **************** Türanzeige -->
<script type="text/javascript">
$.ajax({
type : "POST",
url : 'pia.php?s=pi_hallo&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#time").html(data);
},
});
var refresh_EDV = setInterval(function() {
$.ajax({
type : "POST",
url : 'pia.php?s=pi_hallo&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#time").html(data);
},
})
}, 5000);
</script>
<!-- ************************ -->
<!-- **************** freecar -->
<script type="text/javascript">
$.ajax({
type : "POST",
url : 'pia.php?s=pi_freecar&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#freecar").html(data);
},
});
var refresh_EDV = setInterval(function() {
$.ajax({
type : "POST",
url : 'pia.php?s=pi_freecar&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#freecar").html(data);
},
})
}, 35000);
$.ajax({
type : "POST",
url : 'pia.php?s=pi_freetrp&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#freetrp").html(data);
},
});
var refresh_EDV = setInterval(function() {
$.ajax({
type : "POST",
url : 'pia.php?s=pi_freetrp&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#freetrp").html(data);
},
})
}, 30000);
$.ajax({
type : "POST",
url : 'pia.php?s=pi_werbung2&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_werbung2&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#exxtra").html(data);
},
})
}, 600000);
</script>
<!-- ************************ -->
{/literal}