This commit is contained in:
steven 2025-08-11 22:23:30 +02:00
commit 72a26edcff
22092 changed files with 2101903 additions and 0 deletions

View file

@ -0,0 +1,292 @@
<?php
/* Smarty version 4.3.0, created on 2024-03-28 16:53:46
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_mitarbeiter.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_6605928a4de714_93425312',
'has_nocache_code' => false,
'file_dependency' =>
array (
'04aff6747d5810c93897e694c59d0f6f149582c6' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_mitarbeiter.tpl',
1 => 1711535485,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6605928a4de714_93425312 (Smarty_Internal_Template $_smarty_tpl) {
?><div id="spinner-div" class="pt-5">
<div class="spinner-border text-primary" role="status">
<i class="fas fa-spinner fa-pulse fa-10x"></i>
<p>Loading...</p>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-3">
<div class="malist">
<div class="form-group">
<!--
<div class="input-group">
<span class="input-group-addon" ><i class="fad fa-user-plus"></i></span>
<span class="input-group-addon" ><i class="fad fa-thumbtack"></i></span>
<span class="input-group-addon" ><i class="fad fa-highlighter"></i></span>
</div>
-->
<div class="input-group" style="border-color: red">
<span class="input-group-addon" ><i class="fad fa-search"></i></span>
<input type="text" name="search_text" id="search_text" placeholder="Suche nach Nr., Name, Ort" class="form-control" style="background-color:#333;color:#fff;border-color:#115270" />
</div>
</div>
<div id="result"></div>
</div>
<!-- neuer MA -->
<div class="panel">
<div class="panel-heading" style="background-color:#333;color:#fff"><h1 class="panel-title">neuer Mitarbeiter: </h1></div>
<div class="panel-body" style="background-color:#333;color:#fff">
<table class="table-condensed">
<form action="" method="post">
<tr><td style="width:50px;font-size:12pt">Name: </td> <td><input type="text" name="name" style="width:140px" autocomplete; placeholder="Vor + Nachmane" /> </td></tr>
<tr><td style="width:50px;font-size:12pt">Handy: </td> <td><input type="text" name="handy" style="width:140px" autocomplete;placeholder="+491771234567" /> </td></tr>
<tr><td style="width:50px;font-size:12pt">Email: </td> <td><input type="email" name="email"style="width:140px" autocomplete;placeholder="xxx@blabla.de" /> </td></tr>
<tr><td style="width:50px;font-size:12pt" > <input style="background-color:#888;color:#000" type="submit" name="neu" value="speichern" /></td></tr>
</form>
</table>
</div>
</div>
</div>
<!-- Sidebar -->
<div class="col-md-6">
<div id="maedit">
<p align="center" style="font-size:200pt;background-color:#333333;color:#115270">
<i class="fa fa-edit" aria-hidden="true"></i>
</p>
</div>
</div>
<aside class="col-md-3" style="background-color: #333333">
<div id="maedit2">
</div>
</aside>
</div>
</div>
<style>
.loader{
display: none;
}
.input-group-addon{
background: #333;
color: #fff;
border: 1px solid #115270;
border-right: 0px solid #115270;
}
.malist {
background: #222;
color: #aaaaaa;
padding: 5px;
border: 1px solid #000;
border-radius:6px;
margin-top: -12px;
margin-bottom: 10px;
height: 830px;
}
.maedit2 {
background: #222;
color: #aaaaaa;
padding: 5px;
border: 1px solid #000;
border-radius:6px;
margin-top: -12px;
margin-bottom: 10px;
min-height: 830px;
}
.menux {
background: #222;
padding: 5px;
color: #909090;
font-size: 28px;
height: 50px;
border-radius:6px;
margin-top: -12px;
margin-bottom: 20px;
}
.ma1 {
background: #222222;
color: #999;
padding: 5px;
font-size: 13px;
min-height: 115px;
max-height: 615px;
border: 1px solid #115270;
border-radius: 6px;
margin-top: -12px;
margin-left: -5px;
width: 570px;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.max {
background: #222;
color: #115270;
padding: 3px;
border: 1px solid #115270;
font-size: 13px;
border-radius:6px;
margin-top: -12px;
margin-bottom: 20px;
min-height: 50px;
}
</style>
<?php echo '<script'; ?>
>
$(document).ready(function() {
load_data();
function load_data(query)
{
$.ajax({
url:"ajax.php?s=mafetch",
method:"POST",
data:{query:query},
success:function(data)
{
$('#result').html(data);
}
});
}
$('#search_text').keyup(function(){
var search = $(this).val();
if(search != '')
{
load_data(search);
}
else
{
load_data();
}
});
});
function ma_wahl(maID) {
$('#spinner-div').show();
$.ajax({
type: 'POST',
url: "ajax.php?s=ma_edit&tpl",
dataType: 'html',
data: '&maID=' + maID,
success: function (data) {
console.log(data)
$("#maedit").html(data);
$('#spinner-div').hide();
}
});
$.ajax({
type: 'POST',
url: "ajax.php?s=ma_edit_sb&tpl",
dataType: 'html',
data: '&maID=' + maID,
success: function (data) {
console.log(data)
$("#maedit2").html(data);
}
});
}
function ma_edit_sb(maID) {
$('#spinner-div').show();
$.ajax({
type: 'POST',
url: "ajax.php?s=ma_edit_sb&tpl",
dataType: 'html',
data: '&maID=' + maID,
success: function (data) {
console.log(data)
$("#maedit2").html(data);
$('#spinner-div').hide();
}
});
}
function ma_tuer(maID) {
$('#spinner-div').show();
$.ajax({
type: 'POST',
url: "ajax.php?s=ma_tuer&tpl",
dataType: 'html',
data: '&maID=' + maID,
success: function (data) {
console.log(data)
$("#maedit2").html(data);
$('#spinner-div').hide();
}
});
}
function ma_kal(maID) {
$('#spinner-div').show();
$.ajax({
type: 'POST',
url: "ajax.php?s=ma_kal&tpl",
dataType: 'html',
data: '&maID=' + maID,
success: function (data) {
console.log(data)
$("#maedit2").html(data);
$('#spinner-div').hide();
}
});
}
function ma_setup(maID) {
$('#spinner-div').show();
$.ajax({
type: 'POST',
url: "ajax.php?s=ma_setup&tpl",
dataType: 'html',
data: '&maID=' + maID,
success: function (data) {
console.log(data)
$("#maedit2").html(data);
$('#spinner-div').hide();
}
});
}
$(document).ready(function () {
$("#do-call").click(function () {//The load button
$('#spinner-div').show();//Load button clicked show spinner
$.ajax({
url: "https://jb-data.de/",
type: 'GET',
dataType: 'json',
success: function (res) {
//On success do something....
},
complete: function () {
$('#spinner-div').hide();//Request is complete so hide spinner
}
});
});
});
<?php echo '</script'; ?>
>
<?php }
}

View file

@ -0,0 +1,507 @@
<?php
/* Smarty version 4.3.0, created on 2024-08-23 11:06:42
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/c_aktiv.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66c85122a7ba48_49470330',
'has_nocache_code' => false,
'file_dependency' =>
array (
'051635129d19754ce9c2f9a3e92b6f8180984f8d' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/c_aktiv.tpl',
1 => 1724228299,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66c85122a7ba48_49470330 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),1=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<!-- ************************ PKW -->
<div class="col-md-2" style='margin-top: -20px'>
<p nowrap align="center" style='font-size:14pt;background-color:orange;color:#fff'>aktive Fahrzeuge<p>
<p nowrap align="center" style='font-size:14pt;background-color:#115270;color:#fff'>PKW<p>
<table class="no style" style="width:100%">
<tbody style="font-size:13pt">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['madata1']->value, 'madata');
$_smarty_tpl->tpl_vars['madata']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['madata']->value) {
$_smarty_tpl->tpl_vars['madata']->do_else = false;
?>
<tr>
<td nowrap style="width:80%" onClick="javascript:open('?s=c_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['madata']->value['id'];?>
','_self','')"><?php echo $_smarty_tpl->tpl_vars['madata']->value['kz'];?>
</td>
<td nowrap align="right" style="width:20%">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true" style='color:red' onClick="javascript:open('?s=c_pdf&id=<?php echo $_smarty_tpl->tpl_vars['madata']->value['id'];?>
', '_pdf', 'height=800,width=600,resizable=yes')"></i>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
<!-- ************************ kleine Transporter / Hundefänger / Caddy -->
<p nowrap align="center" style='font-size:14pt;background-color:#115270;color:#fff'>Caddy etc.<p>
<table class="no style" style="width:100%">
<tbody style="font-size:13pt">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['madata2']->value, 'madata');
$_smarty_tpl->tpl_vars['madata']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['madata']->value) {
$_smarty_tpl->tpl_vars['madata']->do_else = false;
?>
<tr>
<td nowrap style="width:80%" onClick="javascript:open('?s=c_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['madata']->value['id'];?>
','_self','')"><?php echo $_smarty_tpl->tpl_vars['madata']->value['kz'];?>
</td>
<td nowrap align="right" style="width:20%">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true" style='color:red' onClick="javascript:open('?s=c_pdf&id=<?php echo $_smarty_tpl->tpl_vars['madata']->value['id'];?>
', '_pdf', 'height=800,width=600,resizable=yes')"></i>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
<!-- ************************ Transporter -->
<p nowrap align="center" style='font-size:14pt;background-color:#115270;color:#fff'>Transporter<p>
<table class="no style" style="width:100%">
<tbody style="font-size:13pt">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['madata3']->value, 'madata');
$_smarty_tpl->tpl_vars['madata']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['madata']->value) {
$_smarty_tpl->tpl_vars['madata']->do_else = false;
?>
<tr>
<td nowrap style="width:80%" onClick="javascript:open('?s=c_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['madata']->value['id'];?>
','_self','')"><?php echo $_smarty_tpl->tpl_vars['madata']->value['kz'];?>
</td>
<td nowrap align="right" style="width:20%">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true" style='color:red' onClick="javascript:open('?s=c_pdf&id=<?php echo $_smarty_tpl->tpl_vars['madata']->value['id'];?>
', '_pdf', 'height=800,width=600,resizable=yes')"></i>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
<!-- ************************ neues Fahrzeug -->
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;color:#4F81BD'>Neues Fahrzeug anlegen</span></i></div>
<div class="panel-body">
<form action="" method="post">
<table class="no-style full">
<tr><td nowrap="nowrap"style="width:70px;"><strong>neu: </strong></td> <td><input type="text" name="kz" style="width:150px;" placeholder="Kennzeichen" /> </td></tr>
<tr>
<td nowrap="nowrap"style="width:70px;"><strong>KBA zu2: </strong></td> <td><input type="text" name="kb2" style="width:70px;" placeholder="0000" /> </td></tr>
<td nowrap="nowrap"style="width:70px;"><strong>KBA zu3: </strong></td> <td><input type="text" name="kb3" style="width:70px;" placeholder="000" />
</td>
</tr>
</table>
<input type="submit" name="neu" value="neu anlegen" />
</form>
</div>
</div>
<!-- -------------------------------- Spaltenwechsel -->
</div>
<!-- -------------------------------- Car uaswählen info -->
<div class="col-md-10" style='margin-top: -20px'>
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 0) {?>
<p style='font-size:14pt;background-color:#115270;color:#fff'>Bitte das Fahrzeug auw&auml;hlen den Sie bearbeiten m&ouml;chten.</p>
<?php }?>
</div>
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value > 0) {?>
<!-- MA Info Anzeigen -->
<!-- ****************************************************************** zum Fahrzeug-->
<form action="" method="post"><input type="hidden" name="vid" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['id'];?>
" />
<div class="col-md-4">
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr><td nowrap="nowrap"style="width:120px;">Kennzeichen:</td>
<td nowrap="nowrap"style="width:210px;"><input type="text" name="kz" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kz'];?>
" style="width:200px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Hersteller:</strong></td>
<td nowrap="nowrap"style="width:210px;"><input type="text" name="hersteller" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['hersteller'];?>
" style="width:200px"/></td></tr>
<tr>
<td nowrap="nowrap"><strong>Bezeichnung:</strong></td>
<td nowrap="nowrap"style="width:210px;"><input type="text" name="name" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['name'];?>
" style="width:200px"/></td></tr>
<tr>
<td nowrap="nowrap"><strong>KBA zu2/3:</strong></td>
<td nowrap="nowrap"style="width:210px;"><input type="text" name="kba2" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kba2'];?>
" style="width:98px"/>
<input type="text" name="kba3" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kba3'];?>
" style="width:98px"/>
</td>
</tr>
<tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** Kommunikation -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td nowrap="nowrap"style="width:120px;">FahrgestellNr.:</td>
<td><input type="text" name="fin" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['fin'];?>
" style="width:200px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>KFZ-Typ:</strong></td>
<td>
<select name="typ">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['typ']->value, 'type');
$_smarty_tpl->tpl_vars['type']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['type']->value) {
$_smarty_tpl->tpl_vars['type']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['type']->value['id'],'output'=>$_smarty_tpl->tpl_vars['type']->value['bezeichnung'],'selected'=>$_smarty_tpl->tpl_vars['fahrzeug']->value['typ']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Erstzulassung:</strong></td>
<td><input type="text" name="ezltag" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['ezltag']);?>
" style="width:30px"/>
<input type="text" name="ezlmonat" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['ezlmonat']);?>
" style="width:30px"/>
<input type="text" name="ezljahr" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ezljahr'];?>
" style="width:60px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>JB- Zulassung:</strong></td>
<td><input type="text" name="jbtag" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['jbtag']);?>
" style="width:30px"/>
<input type="text" name="jbmonat" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['jbmonat']);?>
" style="width:30px"/>
<input type="text" name="jbjahr" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jbjahr'];?>
" style="width:60px"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">Ölsorte:</td>
<td>
<select name="osorte">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['oel']->value, 'ol');
$_smarty_tpl->tpl_vars['ol']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ol']->value) {
$_smarty_tpl->tpl_vars['ol']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['ol']->value['id'],'output'=>$_smarty_tpl->tpl_vars['ol']->value['bezeichnung'],'selected'=>$_smarty_tpl->tpl_vars['fahrzeug']->value['osorte']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<!--<td><input type="text" name="osorte" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['osorte'];?>
" style="width:30px"/> 1-5w30 2-10w30 3-10w40 </td> -->
</tr>
<tr>
<td nowrap="nowrap"><strong>Reifen:</strong></td>
<td><input type="text" name="reifen" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['reifen'];?>
" style="width:200px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Hubraum:</strong></td>
<td><input type="text" name="ccm" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ccm'];?>
" style="width:80"/> ccm
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>KW/PS</strong></td>
<td><input type="text" name="kw" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kw'];?>
" style="width:80px"/> KW
<input type="text" name="ps" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ps'];?>
" style="width:80px"/> PS
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" />
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">Z.Info:</td>
<td><input type="text" name="zfeld1" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld1'];?>
" style="width:200px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Z.Info:</strong></td>
<td><input type="text" name="zfeld2" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld2'];?>
" style="width:200px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Z.Info:</strong></td>
<td><input type="text" name="zfeld3" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld3'];?>
" style="width:200px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Z.Info:</strong></td>
<td><input type="text" name="zfeld4" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld4'];?>
" style="width:200px"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- ****************************************************************** Sozialangaben -->
<div class="col-md-4">
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">aktiv:</td>
<td><input type="text" name="aktiv" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['aktiv'];?>
" style="width:30px"/> 1-aktiv / 0-inaktiv
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Besitzer:</strong></td>
<td>
<select name="besitz">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['besitzer']->value, 'bes');
$_smarty_tpl->tpl_vars['bes']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['bes']->value) {
$_smarty_tpl->tpl_vars['bes']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['bes']->value['id'],'output'=>$_smarty_tpl->tpl_vars['bes']->value['bezeichnung'],'selected'=>$_smarty_tpl->tpl_vars['fahrzeug']->value['besitz']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">LVZ-Karte:</td>
<td><input type="text" name="lvzkarte" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['lvzkarte'];?>
" style="width:100px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Tank-PIN:</strong></td>
<td><input type="text" name="tankpin" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['tankpin'];?>
" style="width:100px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Tank-Karte:</strong></td>
<td><input type="text" name="tankkarte" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['tankkarte'];?>
" style="width:100px"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="no-style sortable full">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap"><strong>HU / AU:</strong></td>
<td nowrap="nowrap">
<input type="text" name="humonat" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['fahrzeug']->value['hudate'],"%m");?>
" style="width:40px"/> /
<input type="text" name="hujahr" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['fahrzeug']->value['hudate'],"%Y");?>
" style="width:60px"/>
</td>
</tr>
<!-- ****************************************************************** -->
<tr>
<td style="width:120px" nowrap="nowrap"><strong>Sanikasten:</strong></td>
<td nowrap="nowrap">
<input type="text" name="sanimonat" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['fahrzeug']->value['sanidate'],"%m");?>
" style="width:40px"/> /
<input type="text" name="sanijahr" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['fahrzeug']->value['sanidate'],"%Y");?>
" style="width:60px"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">SFK:</td>
<td><input type="text" name="sfk" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['sfk'];?>
" style="width:100px"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">letze Kontrolle</h2></div>
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td nowrap="nowrap"><strong>Schadenkontrolle:</strong></td>
<td><strong><?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['tag_kon_s']);?>
.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['monat_kon_s']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jahr_kon_s'];?>
</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['kon_skm']);?>
km</strong></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>&Ouml;lkontrolle:</strong></td>
<td><strong><?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['tag_kon_o']);?>
.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['monat_kon_o']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jahr_kon_o'];?>
</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['kon_okm']);?>
km</strong></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Bremsanlage:</strong></td>
<td><strong><?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['tag_kon_b']);?>
.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['monat_kon_b']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jahr_kon_b'];?>
</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['kon_bkm']);?>
km</strong></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Reifen:</strong></td>
<td><strong><?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['tag_kon_r']);?>
.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['monat_kon_r']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jahr_kon_r'];?>
</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['kon_rkm']);?>
km</strong></td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ************************** Spaltenwechsel -->
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td><strong><?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['tag_kon_o']);?>
.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['humonat']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['hujahr'];?>
</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['humonat']);?>
Uhr</strong></td>
<td><strong><?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['humonat'];?>
</strong></td>
</tr>
<tr>
<td><strong>01.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['owmonat']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['owjahr'];?>
</strong></td>
<td><strong>oder</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['owkm']);?>
km</td>
</tr>
<tr>
<td><strong>01.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['zrmonat']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zrjahr'];?>
</strong></td>
<td><strong>oder</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['zrkm']);?>
km</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** Einstellungsart -->
<div class="panel panel-danger">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td><input style="margin-right: "type="submit" name="save" value="Fahrzeugdaten Speichern" /></td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
</div>
</form>
<?php }
}
}

View file

@ -0,0 +1,691 @@
<?php
/* Smarty version 4.3.0, created on 2024-04-01 11:10:42
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/p_ilonexs.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_660a7a1247afa4_79450131',
'has_nocache_code' => false,
'file_dependency' =>
array (
'090b9fddec14a7fc13beb3d7b0f7264d2bce65f0' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/p_ilonexs.tpl',
1 => 1704554808,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_660a7a1247afa4_79450131 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),1=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
?>
<!-- ********** -->
<?php echo '<script'; ?>
>
function tload(tld) {
$.ajax({
type: 'POST',
url: "ajax.php?s=tload&tpl",
dataType: 'html',
data: 'tld=' + tld,
success: function (data) {
$("#tload"+tld).html(data);
}
});
}
<?php echo '</script'; ?>
>
<!-- ********** -->
<section class="col-md-9" style="background-color:#333333">
<div class="row sortable">
<!-- Main Section -- mittlere Spalte -->
<div class="col-md-2">
<div class="panel">
<table class="no-style full">
<tbody>
<td nowrap style="align:center;width:320px;font-size:14pt">
<a class="fa fa-arrow-left" href="?s=p_ilonexs&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
"></a>
<strong><?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</strong>
<a class="fa fa-arrow-right" href="?s=p_ilonexs&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
"></a></td>
</tbody>
</table>
</div>
<div class="panel" style="background-color:#222222;">
<div class="panel-heading" style="background-color:yellow;">
<spawn style="width:5px;height:2px;font-size:16pt;"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['datum_unix']->value,"%d.%m.%y");?>
</spawn>
</div>
<div class="panel-body">
<table class="table-hover" style="font-size:11pt;line-height: 14pt">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tage']->value, 'kt');
$_smarty_tpl->tpl_vars['kt']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kt']->value) {
$_smarty_tpl->tpl_vars['kt']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['tage']->value['tagt'] == 1) {?>
<tr>
<td> </td>
<td nowrap style="width:5px;font-size:4pt;line-height: 5pt" >&nbsp;</td>
</tr>
<tr style="width:5px;background-color: gray;color:#fff">
<td> </td>
<td nowrap style="width:70px;font-size:8pt">--- <?php echo $_smarty_tpl->tpl_vars['kt']->value['kw'];?>
.KW ---</td>
</tr>
<?php }?>
<tr style="background:#222222">
<?php if ($_smarty_tpl->tpl_vars['kt']->value['t'] == 0) {?>
<td style="font-size:8pt;color:darkred" onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['wt'];?>
</td>
<td style="font-size:13pt;color:darkred" onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['datum'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['kt']->value['btag'] != 0) {?>
<td style="font-size:8pt;color:blue" onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['wt'];?>
</td>
<td style="font-size:13pt;color:blue" onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['datum'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['kt']->value['ftag'] != 0) {?>
<td style="font-size:8pt;color:orange" onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['wt'];?>
</td>
<td style="font-size:13pt;color:orange" onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['datum'];?>
</td>
<?php } else { ?>
<td style="font-size:8pt;color:#fff" onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['wt'];?>
</td>
<td style="font-size:13pt;color:#fff" onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['datum'];?>
</td>
<?php }?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['old']->value > 0) {?>
<div class="col-md-10">
<div class="panel-heading" style="background-color:darkred;">
<spawn style='width:5px;height:2px;font-size:16pt;color:white;'><strong>Achtung!</strong> Diese Planung liegt in der Vergangenheit...</spawn>
</div>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['fttest']->value > 0) {?>
<div class="col-md-10">
<div class="panel panel-danger">
<div class="panel-heading">Feiertag</div>
<table class="table-condensed">
<tbody>
<td nowrap style="width:100px;line-height:120%;font-size:14pt"> <strong><?php echo $_smarty_tpl->tpl_vars['ftrow']->value['tag'];?>
</strong></td>
<td nowrap style="width:500px;line-height:120%;font-size:14pt"> <strong><?php echo $_smarty_tpl->tpl_vars['ftrow']->value['bez'];?>
</strong></td>
</tbody>
</table>
</div>
</div>
<?php }?>
<div class="col-md-10">
<div class="panel" style="border: black 1px solid;">
<div class="panel-body" style="background-color: #111111">
<table style="line-height:20px;font-size:11pt;color:#FFFFFF">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tag_tour2']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['test'] == 99) {?>
</tbody>
</table>
</div>
</div>
<div class="panel" style="border: black 1px solid;">
<div class="panel-body" style="background-color: #222222">
<table style="line-height:20px;font-size:11pt;color:#FFFFFF">
<tbody>
<?php }?>
<!-- --------------------------- Einsatzplanung ---------------------------------------- -->
<tr id="_tload<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="border-bottom: 1px solid #000;">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['aktiv'] == 1) {?>
<td nowrap style="width:90px"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php } else { ?>
<td nowrap style="width:90px;color: aquamarine"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php }?>
<td nowrap style="width:195px;font-size:11pt;">
<!-- --------------------------- -->
<select name="Fahrer[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:190px;border:none;background-color: #222222"
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0) {?> style="border-bottom: 1px solid #FF2222;"
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 0) {?> style="border-bottom: 1px solid #FF2222;"
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 2) {?> style="border-bottom: 1px solid #FF9900;"
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 3) {?> style="border-bottom: 1px solid #99FF00;"
<?php } else { ?> style="border-bottom: 1px solid #dcdcdc;"
<?php }?>
onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)";>
<!-- --------------------------- fahrer_array -->
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array']->value, 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['fahrer_id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'options2'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<!-- --------------------------- -->
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td nowrap style="width:100px">
<select name="Fahrzeug[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
]" id="car_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:95px;border:none;background-color: #222222"
<?php if ($_smarty_tpl->tpl_vars['tour']->value['auto_id'] == 0) {?> style="border-bottom: 1px solid #ff0000;"
<?php } else { ?> style="border-bottom: 1px solid #dcdcdc;"
<?php }?>
style="width:95px;"
onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auto_array']->value, 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['auto_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<!-- --------------------------- Zusatzinfo neu -->
<td nowrap align="right" style="width:240px; font-size:6pt;">info </td>
<td style="position:static; width:50px; font-size:7pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="hidden" name="sendtour" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"/>
<td>
<td nowrap>
<input type="hidden" name="savetour" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"/>
</center></td>
<td><center>
<input type="hidden" name="sendtour" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"/>
<td>
<center>
</div>
</center>
</td>
<!-- Infobereich !!!!! ------------------------------------- -->
<!-- SMS Status !!!!! ------------------------------------- -->
<td nowrap align="center" style="width:30px" id="smscheck<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
">
<i class="fal fa-comment-alt fa-1x" style="color:#303030" ></i>
</td>
<!-- Infobereich !!!!! ------------------------------------- -->
<td nowrap align="center" style="width:20px">
<i class="fal fa-info fa-1x" style="color:#0080FF" onclick="tinfo(<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
)"></i>
</td>
<!-- SMS senden Änderung ------------------------------------- -->
<td nowrap align="center" style="width:20px; font-size:13pt;"
onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
&sms=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
'";>
<i class="fal fa-sms" style="color:white" >
</td>
<!-- 2. Tour löschen ------------------------------------- -->
<td nowrap align="center" style="width:30px; font-size:13pt;"
onclick="window.location='?s=p_ilonexs&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
&daweg=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['tour']->value['kw'];?>
'";>
<i class="fas fa-times" style="color:white" >
</td>
<!-- 2. Tour hinzufügen ------------------------------------- -->
<td nowrap align="center" style="width:30px; font-size:13pt;">
<i class="fal fa-minus" style="color:white" >
</td>
</tr>
<?php echo '<script'; ?>
>
var tld = '<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
';
<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
tload(tld);
<?php echo '</script'; ?>
>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- -------------------------------------->
</div>
</section>
<!-- rechte seite -->
<!-- -------------------------------------->
<!-- Sidebar -->
<aside class="col-md-3" style="background:#333333">
<!-- ------------------------------------ -->
<!-- --------------------------------------------------------------------------------- -->
<!-- -------------------------------- History -->
<div id="tinfo"></div>
<!-- -------------------------------- fehlende Mitarbeiter heute / Calender -->
<div id="rightmenu" class="panel panel-primary">
<header class="panel-heading" style="font-size: 16pt;line-height:80%"><span class="fad fa-calendar-alt pull-left"></span><div class="panel-title">&nbsp;&nbsp;Kalender - <?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
.<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
.<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</div></header>
<div class="panel-body">
<table class="no-style full" style="margin:-8px">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['maf1']->value, 'maf');
$_smarty_tpl->tpl_vars['maf']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf']->value) {
$_smarty_tpl->tpl_vars['maf']->do_else = false;
?>
<tr align="left" >
<td align="center" nowrap style="width:15px;font-size:11pt;"><i class='<?php echo $_smarty_tpl->tpl_vars['maf']->value['icon'];?>
'></i></td>
<td align="left" nowrap style="width:130px;font-size:10pt">&nbsp;&nbsp;<?php echo $_smarty_tpl->tpl_vars['maf']->value['fahrer'];?>
</td>
<td align="right" nowrap style="width:100px;font-size:10pt"><?php echo $_smarty_tpl->tpl_vars['maf']->value['bez'];?>
&nbsp;</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<!-- --------------------------------------------------------------------------------- -->
<div id="rightmenu" class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Toursetup</h2></div>
<section class="panel-body">
<form action="" method="post">
</br><b>Tour hinzu:</b>
<select name="plus" style="width:140px;" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tourplus']->value, 'tplus');
$_smarty_tpl->tpl_vars['tplus']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tplus']->value) {
$_smarty_tpl->tpl_vars['tplus']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['tplus']->value['id'],'output'=>$_smarty_tpl->tpl_vars['tplus']->value['tour']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<input type="hidden" name="dazu" value="<?php echo $_smarty_tpl->tpl_vars['tplus']->value['id'];?>
"/>
<input type="hidden" name="dazu" value="<?php echo $_smarty_tpl->tpl_vars['tplus']->value['id'];?>
"/>
<input type="submit" name="dazuplus" value="hinzuf&uuml;gen" >
</select>
</form>
</section>
</div>
<!-- --------------------------------------------------------------------------------- -->
<!-- -------------------------------- verfügbare Mitarbeiter -->
<div id="freema"></div>
<!-- -------------------------------- verfügbare Fahrzeuge -->
<div id="freecar"></div>
<!-- --------------------------------------------------------------------------------- -->
</br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br>
</aside>
<!-- --------------------------------------------------------------------------------- -->
<!-- Sidebar End -->
<!-- <?php echo '<script'; ?>
> var tagheute = '<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['datum_unix']->value,"%Y-%m-%d");?>
';<?php echo '</script'; ?>
> -->
<?php echo '<script'; ?>
> var tag = '<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var monat = '<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var jahr = '<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
function tinfo(tid) {
$.ajax({
type: 'POST',
url: "ajax.php?s=tinfo&tpl",
dataType: 'html',
data: 'tid=' + tid,
success: function (data) {
$("#tinfo").html(data);
}
});
}
function load_free_cars(tag,monat,jahr) {
$.ajax({
type: 'POST',
url: "ajax.php?s=free_car&tpl",
dataType: 'html',
data: 'tag=' + tag + "&monat=" + monat + "&jahr=" + jahr,
success: function (data) {
$("#freecar").html(data);
}
});
}
function load_free_ma(tag,monat,jahr) {
$.ajax({
type: 'POST',
url: "ajax.php?s=free_ma&tpl",
dataType: 'html',
data: 'tag=' + tag + "&monat=" + monat + "&jahr=" + jahr,
success: function (data) {
$("#freema").html(data);
}
});
}
function save_car(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=pnacht&a=car_save",
dataType: 'json',
data: 'tourID=' + tourID + "&car=" + $("#car_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
load_free_cars(tag,monat,jahr);
}
});
}
function save_info(tourID) {
$.ajax({
type: 'POST',
url: "ajax.php?s=paktuell&a=info_save",
dataType: 'json',
data: 'tourID=' + tourID + "&info=" + $("#info_"+tourID).val(),
success: function (data) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
});
}
function save_user(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=pnacht&a=user_save",
dataType: 'json',
data: 'tourID=' + tourID + "&user=" + $("#user_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
load_free_ma(tag,monat,jahr);
}
});
}
load_free_ma(tag,monat,jahr);
load_free_cars(tag,monat,jahr);
<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
var countryResult = [];
$(document).on('keyup' , '#search-keyword' ,function(){
var keyvalue = $("#search-keyword").val();
var xhttp;
xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
countryResult = [];
myFunction(this , keyvalue);
}
};
xhttp.open("GET", "country.xml", true);
xhttp.send();
});
function myFunction(xml , key) {
var x, i, xmlDoc , key;
xmlDoc = xml.responseXML;
x = xmlDoc.getElementsByTagName("country");
var counter = 0;
for (i = 0; i < x.length; i++) {
var value = x[i].childNodes[0].nodeValue.trim();
var pattern = value.substring(0 , key.length);
if(key.toUpperCase() == pattern.toUpperCase() && counter < 10){
countryResult.push(value);
counter++;
}
}
$("#search-keyword").autocomplete({
source: countryResult
});
}
$( function() {
$( "#search-keyword" ).autocomplete({
source:countryResult
});
});
<?php echo '</script'; ?>
>
<?php }
}

View file

@ -0,0 +1,278 @@
<?php
/* Smarty version 4.3.0, created on 2024-08-20 12:55:44
from '/var/www/vhosts/jb-data.de/httpdocs/template/index91.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66c476301c93a5_62595111',
'has_nocache_code' => false,
'file_dependency' =>
array (
'0a55f921b0b28658895730893631014b4f2e1774' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/index91.tpl',
1 => 1724151341,
2 => 'file',
),
),
'includes' =>
array (
'file:tpl/fuss.tpl' => 1,
),
),false)) {
function content_66c476301c93a5_62595111 (Smarty_Internal_Template $_smarty_tpl) {
?><!DOCTYPE html>
<html lang="de">
<head>
<meta name=viewport content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>| JB-Transport.de - </title>
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="template/images/fav/ms-icon-144x144.png">
<?php echo '<script'; ?>
src="lib/js/jquery.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="lib/js/jquery-ui.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="lib/js/bootstrap-notify.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="lib/js/bootstrap.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="//cdnjs.cloudflare.com/ajax/libs/bootcards/1.0.0/js/bootcards.min.js"><?php echo '</script'; ?>
>
<link rel="stylesheet" media="screen" href="lib/css/jquery-ui.css" />
<link rel="stylesheet" media="screen" href="lib/css/bootstrap.css" />
<link rel="stylesheet" media="screen" href="template/css/fontawesome5/css/all.css"/>
<link rel="stylesheet" media="screen" href="lib/css/font-awesome.css"/>
<link rel="stylesheet" media="screen" href="lib/css/weather-icons.css"/>
<link rel="stylesheet" media="screen" href="lib/css/style.css" />
<link rel="stylesheet" href="../template/css/plan.css">
</head>
<?php echo '<script'; ?>
src="template/js/index.js"><?php echo '</script'; ?>
>
<body style="background-color:#333333;color:#aaaaaa">
<div class="container">
<!-- ************************************************************************************** -->
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.php"><img src="template/images/jb.png" alt="JB-Transport.de"></a>
</div>
<!-- ************************************************* -->
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav" style="font-size: 32px">
<!-- * Daten * -->
<?php if ($_smarty_tpl->tpl_vars['m1']->value == 3) {?> <li class="active dropdown"> <?php } else { ?> <li class="dropdown"> <?php }?>
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fad fa-database"></i><span class="caret"></span>
<span style="font-size:9pt"></br>Daten</span></a>
<ul class="dropdown-menu">
<li><a href="?s=iinfo" style="background-color: #333333;color: #fff">Datenerfassung</a></li>
<li><a href="?s=itour">Touren anlegen</a></li>
<li><a href="?s=inormplan">Normplan</a></li>
<li><a href="?s=iwerbung1">Marktbel&auml;ge</a></li>
<li><a href="?s=iss">SaSo2020</a></li>
<li><a href="?s=iztouren">Zusatz-Tour</a></li>
</ul>
</li>
<!-- * Planung * -->
<?php if ($_smarty_tpl->tpl_vars['m1']->value == 1) {?> <li class="active dropdown"> <?php } else { ?> <li class="dropdown"> <?php }?>
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fad fa-edit"></i><span class="caret"></span>
<span style="font-size:9pt"></br>Planung</span></a>
<ul class="dropdown-menu">
<li><a href="?s=pinfo" style="background-color: #333333;color: #fff">Planung</a></li>
<li><a href="?s=pwtag">Monat</a></li>
<li><a href="?s=paktuell">ges.Tag</a></li>
<li><a href="?s=pnacht"><i class="fa fa-moon-o"></i> Nacht</a></li>
<li><a href="?s=p_night"><i class="fa fa-moon-o"></i> Test 2024</a></li>
<li><a href="?s=ptag"><i class="fa fa-sun-o"></i> Tag</a></li>
<li><a href="?s=ppin"><i class="fa fa-envelope-o"></i> LVZ-Post (AG)</a></li>
<li><a href="?s=ppal">Paleten (AG)</a></li>
<li><a href="?s=prtour"><i class="fa fa-envelope-o"></i> LVZ (Rtour)</a></li>
<li><a href="?s=pwerbung1">M.-Belege</a></li>
<li><a href="?s=pss"> <i class="fa fa-newspaper-o"></i> SaSo</a></li>
<li><a href="?s=stouren"><i class="fa fa-stack-exchange"></i> Sonder</a></li>
</ul>
</li>
<!-- * Overnight * -->
<?php if ($_smarty_tpl->tpl_vars['m1']->value == 21) {?> <li class="active dropdown"> <?php } else { ?> <li class="dropdown"> <?php }?>
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fal fa-person-dolly"></i><span class="caret"></span>
<span style="font-size:9pt"></br>Overnight</span></a>
<ul class="dropdown-menu">
<li><a href="?s=p_ilonexs" style="background-color: #333333;color: #fff">Planung</a></li>
<li><a href="?s=on_data">aktuelle Daten</a></li>
<li><a href="?s=on_suche">Paketsuche</a></li>
</ul>
</li>
<!-- * Mitarbeiter * -->
<li><a href="?s=v_mitarbeiter"> <i class="fad fa-user-hard-hat"></i><span style="font-size:9pt"></br>Personal</span></a></li>
<!-- * Mitarbeiter *
<?php if ($_smarty_tpl->tpl_vars['m1']->value == 7) {?> <li class="active dropdown"> <?php } else { ?> <li class="dropdown"> <?php }?>
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fad fa-user-hard-hat"></i><span class="caret"></span>
<span style="font-size:9pt"></br>Personal</span></a>
<ul class="dropdown-menu">
<li><a href="?s=mainfo" style="background-color: #333333;color: #fff">Mitarbeiter</a></li>
<li><a href="?s=mainfo"> Info</a></li>
<li><a href="?s=ma_aktiv">aktive Mitarbeiter</a></li>
<li><a href="?s=ma_inaktiv">inaktive Mitarbeiter</a></li>
<li><a href="?s=ma_sonstige">sonstige Mitarbeiter</a></li>
<li><a href="?s=urlaub">Urlaub</a></li>
</ul>
</li>
-->
<!-- * Fahrzeuge * -->
<?php if ($_smarty_tpl->tpl_vars['m1']->value == 8) {?> <li class="active dropdown"> <?php } else { ?> <li class="dropdown"> <?php }?>
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fad fa-cars"></i><span class="caret"></span>
<span style="font-size:9pt"></br>Fuhrpark</span></a>
<ul class="dropdown-menu">
<li><a href="?s=c_info" style="background-color: #333333;color: #fff">Fahrzeuge</a></li>
<li><a href="?s=c_info"><i class="fad fa-info"></i> Info</a></li>
<li><a href="?s=c_leasing"><i class="fad fa-info"></i> Leasing</a></li>
<li><a href="?s=c_aktiv"><i class="fad fa-cars"></i> aktive Fahrzeuge</a></li>
<li><a href="?s=c_inaktiv"><i class="fad fa-car-garage"></i> inaktive Fahrzeuge</a></li>
<li><a href="?s=c_sonstige"><i class="fad fa-car-bus"></i> sonstige Fahrzeuge</a></li>
<li><a href="?s=ue_werk"><i class="fad fa-tools"></i> Werkstatt</a></li> <!-- * Werkstatt * $m1==5 -->
<li><a href="?s=w_fahrzeuge"><i class="fad fa-truck"></i> Flotten-Fahrzeuge</a></li>
<li><a href="?s=w_tanken"><i class="fad fa-gas-pump"></i> Tankabrechnung</a></li>
<!-- <li><a href="?s=f_kontrolle"><i class="fas fa-car-building"></i> Kontrolle</a></li> -->
<!-- <li><a href="?s=w_wartung"><i class="fas fa-car-mechanic"></i> Wartung</a></li> -->
</ul>
</li>
<!-- * Verwaltung * -->
<?php if ($_smarty_tpl->tpl_vars['m1']->value == 4) {?> <li class="active dropdown"> <?php } else { ?> <li class="dropdown"> <?php }?>
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fad fa-tasks-alt"></i><span class="caret"></span>
<span style="font-size:9pt"></br>Büro</span></a>
<ul class="dropdown-menu">
<li><a href="?s=vinfo" style="background-color: #333333;color: #fff">Verwaltung</a></li>
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 0) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=v_mitarbeiter"> Mitarbeiter</a></li>
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 1) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=v_fahrzeuge">Fahrzeuge</a></li>
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 2) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=v_tourentyp">Toren-Typ</a></li>
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 3) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=v_touren">Touren</a></li>
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 4) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=v_karten">Karten</a></li>
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 5) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=kalender"> Kalender</a></li>
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 5) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=v_kalender"> Kalender 2024</a></li>
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 5) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=v_urlaub"> Urlaub</a></li>
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 6) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=kalender2">Mitarbeiter-Kalender</a></li>
<?php if ($_smarty_tpl->tpl_vars['m2']->value == 7) {?> <li class="active"> <?php } else { ?> <li> <?php }?> <a href="?s=kalender3">Fahrzeug-Kalender</a></li>
</ul>
</li>
<!-- * Auswertung * -->
<?php if ($_smarty_tpl->tpl_vars['m1']->value == 6) {?> <li class="active dropdown"> <?php } else { ?> <li class="dropdown"> <?php }?>
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fad fa-analytics"></i><span class="caret"></span>
<span style="font-size:9pt"></br>Analyse</span></a>
<ul class="dropdown-menu">
<li><a href="?s=ainfo" style="background-color: #333333;color: #fff">Auswertung</a></li>
<li><a href="?s=a_ma"> Mitarbeiter</a></li>
<li><a href="?s=a_lohn">Lohn2012(alt)</a></li>
<li><a href="?s=a_lohn2020">Lohn2020(alt)</a></li>
<li><a href="?s=a_lohn2023">Lohn2023</a></li>
<li><a href="?s=a_fahrz">Fahrzeuge</a></li>
<li><a href="?s=a_auto">Auto/Tag</a></li>
<li><a href="?s=a_zeitk">Zeitkonto</a></li>
<li><a href="?s=a_abr">Abrechnung</a></li>
<li><a href="?s=a_makal">MA Ausfall</a></li>
</ul>
</li>
<!-- * SMS * -->
<?php if ($_smarty_tpl->tpl_vars['m1']->value == 9) {?> <li class="active dropdown"> <?php } else { ?> <li class="dropdown"> <?php }?>
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fad fa-sms"></i><span class="caret"></span>
<span style="font-size:9pt"></br>SMS</span></a>
<ul class="dropdown-menu">
<li><a href="?s=smsserver" style="background-color: #333333;color: #fff">SMS-System</a></li>
<li><a href="?s=smsserver">SMS-System</a></li>
<li><a href="?s=ue_media"> Info-SMS</a></li>
</ul>
</li>
<!-- * PDF-Listen * -->
<?php if ($_smarty_tpl->tpl_vars['m1']->value == 2) {?> <li class="active dropdown"> <?php } else { ?> <li class="dropdown"> <?php }?>
<a class="dropdown-toggle" data-toggle="dropdown" href="#"><i class="fad fa-file-pdf"></i><span class="caret"></span>
<span style="font-size:9pt"></br>PDF</span></a>
<ul class="dropdown-menu">
<li><a href="?s=linfo" style="background-color: #333333;color: #fff">PDF-Listen</a></li>
<li><a href="?s=list_tag"> Tagliste</a></li>
<li><a href="?s=list_tour">Tourenlisten</a></li>
<li><a href="?s=list_akw">Änderung aktuelle KW</a></li>
<li><a href="?s=list_nkw">Änderung nächste KW</a></li>
<li><a href="?s=list_rsmp">RS/MP</a></li>
<li><a href="?s=list_werbung">Werbung</a></li>
<li><a href="?s=list_saso">SaSO</a></li>
<li><a href="?s=list_komplett">Werbeliste KW</a></li>
<li><a href="?s=list_monat">Monatsliste</a></li>
</ul>
</li>
<li><a href="?s=kalender"> <i class="fad fa-calendar-week"></i><span style="font-size:9pt"></br>Kalender</span></a></li>
<li><a href="?s=iinfo"> <i class="fad fa-upload"></i><span style="font-size:9pt"></br>Upload</span></a></li>
<li><a href="?s=tuer"> <i class="fad fa-door-open"></i><span style="font-size:9pt"></br>Tür</span></a></li>
<!-- <li> <i class="fad fa-door-open" onclick="link(1)"></i><span style="font-size:9pt"></br>Tür</span></a></li> -->
<!-- <li><a href="?s=infop"> <i class="fad fa-comments-alt"></i><span style="font-size:9pt"></br>Chat</span></a></li> -->
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#"><span class="glyphicon glyphicon-user"></br></span> <?php echo $_smarty_tpl->tpl_vars['kuerzel']->value;?>
</a></li>
<!--
<li>
<a href="?s=gateway">
<?php if ($_SESSION['gateway'] == 2) {?> <span class="glyphicon glyphicon-phone"></span> F.T.</a>
<?php } elseif ($_SESSION['gateway'] == 18) {?> <span class="glyphicon glyphicon-phone"></span> J.B.</a>
<?php } elseif ($_SESSION['gateway'] == 280) {?> <span class="glyphicon glyphicon-phone"></span> 1u1</a>
<?php } else { ?> <span class="glyphicon glyphicon-phone" style="color: red"></span> NA</a>
<?php }?>
</li>
-->
<li><a href="https://jb-data.de/index.php?logout"><i class="fad fa-sign-out fa-x2"></i></a></li>
</ul>
</div>
</div>
</nav>
</div>
<!-- **************************************************************************************
<p style="background-color: #FF0000;color: #fff">data: <?php echo $_smarty_tpl->tpl_vars['content']->value;?>
***** </p>
-->
<section id="content">
<div class="container">
<div class="row" style="background-color:#333333">
</div>
<div class="row">
<?php $_smarty_tpl->_subTemplateRender($_smarty_tpl->tpl_vars['content']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>
</div>
</div>
<div id="push"></div>
</section>
<?php $_smarty_tpl->_subTemplateRender('file:tpl/fuss.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<!-- ************************ -->
<?php echo '<script'; ?>
>
function myStop() {
clearInterval(myInterval);
}
<?php echo '</script'; ?>
>
<?php }
}

View file

@ -0,0 +1,372 @@
<?php
/* Smarty version 4.3.0, created on 2024-04-08 12:41:47
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_karten.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_6613c9eb3468b1_37808106',
'has_nocache_code' => false,
'file_dependency' =>
array (
'0fd1659b180248447c940bf66ded022dbbaaad3f' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_karten.tpl',
1 => 1707991287,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6613c9eb3468b1_37808106 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),1=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<div class="container-fluid" style="background-color:#333333">
<div class="row sortable">
<div class="col-md-2">
<div class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">Anzeige Karten</span></h2></header>
<table class="table table-hover">
<thead>
<tr><td><a href="?s=v_karten&wahl=1" title="Kicke zum ausw&auml;len"><font color="#0949CC">alle Karten</td></tr>
<tr><td><a href="?s=v_karten&wahl=2" title="Kicke zum ausw&auml;len"><font color="#0949CC">freie Karten</td></tr>
<tr><td><a href="?s=v_karten&wahl=6" title="Kicke zum ausw&auml;len"><font color="#0949CC">Sperre nach Zeit</td></tr>
<tr><td><a href="?s=v_karten&wahl=3" title="Kicke zum ausw&auml;len"><font color="#0949CC">gesperrte Karten</td></tr>
<tr><td><a href="?s=v_karten&wahl=4" title="Kicke zum ausw&auml;len"><font color="#0949CC">verlorene Karten</td></tr>
<tr><td><a href="?s=v_karten&wahl=9" title="Kicke zum ausw&auml;len"><font color="#0949CC">Karten hinzufügen</td></tr>
</thead>
</table>
</div>
<!-- linkes Menue 2 nach Mitarbeiter -->
<div class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">Karten/Mitarbeiter</span></h2></header>
<table class="table-condensed" style="font-size:11pt">
<thead>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['mitarbeiter']->value, 'ma');
$_smarty_tpl->tpl_vars['ma']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ma']->value) {
$_smarty_tpl->tpl_vars['ma']->do_else = false;
?>
<tr>
<?php if ($_smarty_tpl->tpl_vars['ma']->value['aktiv'] == 0) {?><td><a href="?s=v_karten&wahl=5&id=<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
" title="Kicke zum ausw&auml;len"><font color="#A8A5A5"><?php echo $_smarty_tpl->tpl_vars['ma']->value['name'];?>
</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['ma']->value['aktiv'] > 0) {?><td><a href="?s=v_karten&wahl=5&id=<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
" title="Kicke zum ausw&auml;len"><font color="#0949CC"><?php echo $_smarty_tpl->tpl_vars['ma']->value['name'];?>
</td><?php }?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</thead>
</table>
</div>
</div>
<!---------------------------------------------------------------------->
<!-- mitte seite -->
<!---------------------------------------------------------------------->
<div class="col-md-10">
<?php if ($_smarty_tpl->tpl_vars['wahl']->value == 9) {?>
<div class="panel panel-primary">
<div class="panel-heading">Neue Karten im System anlernen</div>
<table class="table-condensed">
<tbody>
<tr>
<td nowrap style="line-height:120%;font-size:12pt"> <strong>lesen Sie jetzt Bitte die neue Karte ein</strong></td>
</tr>
<tr>
<td nowrap style="line-height:120%;font-size:14pt"> <strong>Neue Karten-ID: <?php echo $_smarty_tpl->tpl_vars['nextid']->value;?>
</strong></td>
<td nowrap style="line-height:120%;font-size:14pt"> <strong>lesen Sie jetzt die neue Karte ein</strong></td>
</tr>
</tbody>
</table>
</div>
<?php } elseif ($_smarty_tpl->tpl_vars['wahl']->value == 0) {?>
<div class="panel panel-danger">
<div class="panel-heading">keine Auswahl getroffen........</div>
<table class="table-condensed">
<tbody>
<td nowrap style="line-height:120%;font-size:14pt"> <strong>Bitte auswählen !!!</strong></td>
</tbody>
</table>
</div>
<?php } else { ?>
<div class="panel panel-default">
<div class="panel-heading">Auswahl</div>
<table class="table table-hover">
<thead>
<tr>
<th style=font-size:10pt;>Karten ID</th>
<th style=font-size:10pt;>Seriennr.</th>
<th style=font-size:10pt;>Zuordnung</th>
<th style=font-size:10pt;>Sperre</th>
<th style=font-size:10pt;>lost</th>
<th style=font-size:10pt;>Status</th>
<th style=font-size:10pt;>lastLog</th>
<th style=font-size:10pt;>Bemerkung</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['karte']->value, 'kdata');
$_smarty_tpl->tpl_vars['kdata']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kdata']->value) {
$_smarty_tpl->tpl_vars['kdata']->do_else = false;
?>
<form action="" method="post">
<tr>
<td nowrap style="width:50px;font-size:11pt"><b> <?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
</td>
<td nowrap style="width:100px;font-size:10pt"><b> <?php echo $_smarty_tpl->tpl_vars['kdata']->value['karte'];?>
</td>
<td nowrap style="width:180px;font-size:11pt">
<select name="list[<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
][Fahrer]" id="user_<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
" style="width:180px;" onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
)" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array']->value, 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['kdata']->value['user']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<td nowrap style="width:10px;font-size:11pt">
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
" id="info1_<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
" onChange="save_c1(<?php echo $_smarty_tpl->tpl_vars['kdata']->value['gesperrt'];?>
,<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
)"
<?php if ($_smarty_tpl->tpl_vars['kdata']->value['gesperrt'] == 1) {?> checked="checked" <?php }?>>
</td>
<td nowrap style="width:10px;font-size:11pt">
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
" id="info2_<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
" onChange="save_c2(<?php echo $_smarty_tpl->tpl_vars['kdata']->value['verloren'];?>
,<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
)"
<?php if ($_smarty_tpl->tpl_vars['kdata']->value['verloren'] == 1) {?> checked="checked" <?php }?>>
</td>
<?php if ($_smarty_tpl->tpl_vars['kdata']->value['status'] == 0) {?>
<td nowrap align="right" style="width:99px;font-size:11pt"><b><span style='color:#FF0000'>unklar</td>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['kdata']->value['status'] == 1) {?>
<td nowrap align="right" style="width:99px;font-size:11pt"><b><span style='color:#0000FF'>freigeschaltet</td>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['kdata']->value['status'] == 2) {?>
<td nowrap align="right" style="width:99px;font-size:11pt"><b><span style='color:#0099FF'>aktiv Zeit</td>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['kdata']->value['status'] == 3) {?>
<td nowrap align="right" style="width:99px;font-size:11pt"><b><span style='color:#FF6600'>Kalender</td>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['kdata']->value['status'] == 4) {?>
<td nowrap align="right" style="width:99px;font-size:11pt"><b><span style='color:#FF6600'>keine Tour</td>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['kdata']->value['status'] == 9 && $_smarty_tpl->tpl_vars['kdata']->value['verloren'] == 1) {?>
<td nowrap align="right" style="width:99px;font-size:11pt"><b><span style='color:#FF0000'>Kartenverlust</td>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['kdata']->value['status'] == 9 && $_smarty_tpl->tpl_vars['kdata']->value['verloren'] == 0) {?>
<td nowrap align="right" style="width:99px;font-size:11pt"><b><span style='color:#FF0000'>gesperrt</td>
<?php }?>
<td nowrap align="right" style="width:130px;font-size:8pt"><b> <?php echo $_smarty_tpl->tpl_vars['kdata']->value['lastlog'];?>
Uhr</td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['kdata']->value['info'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
" style="width:170px;font-size:11pt" name="info<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
" onChange="save_info(<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
)"></td>
<!-- <td nowrap style="width:200px;font-size:11pt"><b> <?php echo $_smarty_tpl->tpl_vars['kdata']->value['info'];?>
</td>
<td nowrap <input type="hidden" name="savetour" value="<?php echo $_smarty_tpl->tpl_vars['kdata']->value['kID'];?>
"/>
<input type="image" name="savetour" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" src="template/images/icon/save.png"></td>-->
</tr> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</form>
</tbody>
</table>
</div>
</div>
<?php }?>
<!-- rechte seite -->
<!-- ------------------------------------
<?php echo '<script'; ?>
> var tagheute = '<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['datum_unix']->value,"%Y-%m-%d");?>
';<?php echo '</script'; ?>
>
-->
</div></div>
<?php echo '<script'; ?>
>
function save_c1(karteID,karteID) {
var remember = document.getElementById('info1_'+karteID);
if (remember.checked) {
var istC = 1;
}else{
var istC = 0;
}
$.ajax({
type: 'POST',
url: "ajax.php?s=v_karte&a=save_c1",
dataType: 'json',
data: 'karteID=' + karteID + "&istC="+istC,
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
function save_c2(karteID,karteID) {
var remember = document.getElementById('info2_'+karteID);
if (remember.checked) {
var istC = 1;
}else{
var istC = 0;
}
$.ajax({
type: 'POST',
url: "ajax.php?s=v_karte&a=save_c2",
dataType: 'json',
data: 'karteID=' + karteID + "&istC="+istC,
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
function save_info(karteID) {
$.ajax({
type: 'POST',
url: "ajax.php?s=v_karte&a=info_save",
dataType: 'json',
data: 'karteID=' + karteID + "&info=" + $("#info_"+karteID).val(),
success: function (data) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
console.log(data)
}
});
}
function save_user(karteID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=v_karte&a=user_save",
dataType: 'json',
data: 'karteID=' + karteID + "&user=" + $("#user_"+karteID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
<?php echo '</script'; ?>
>
<?php }
}

View file

@ -0,0 +1,43 @@
<?php
/* Smarty version 4.3.0, created on 2024-03-27 15:09:51
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/a_abr.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_660428afdf7980_86110758',
'has_nocache_code' => false,
'file_dependency' =>
array (
'15c2a7ee06ee2c37b44d71c4bf7804dc825d14b2' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/a_abr.tpl',
1 => 1694432189,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_660428afdf7980_86110758 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['tdata']->value != 0) {?>
<td nowrap style="width:80px;font-size:11pt"> <?php echo $_smarty_tpl->tpl_vars['tname']->value;?>
</td>
<td nowrap style="width:160px;font-size:8pt"> <?php echo $_smarty_tpl->tpl_vars['tinfo']->value;?>
</td>
<td nowrap style="width:35px;font-size:11pt"> <?php echo $_smarty_tpl->tpl_vars['tdata']->value;?>
x</td>
<td nowrap align="right" style="width:50px;font-size:12pt;color: red">
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_abr_nw&id=<?php echo $_smarty_tpl->tpl_vars['anzeige']->value;?>
&tid=<?php echo $_smarty_tpl->tpl_vars['tid']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" >
<i class="far fa-file-pdf" style="color: red"></i>
</td>
<?php }
}
}

View file

@ -0,0 +1,60 @@
<?php
/* Smarty version 4.3.0, created on 2024-06-25 15:03:57
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/free_car.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_667ac03d7f2a16_73789598',
'has_nocache_code' => false,
'file_dependency' =>
array (
'17d10bd9669c8f2c8a1759530e603e4ab3ecf901' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/free_car.tpl',
1 => 1719320599,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_667ac03d7f2a16_73789598 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="panel panel-tbox">
<header class="panel-heading" style="font-size: 10pt;line-height:80%">
<span style="font-size: 14pt" class="far fa-moon-stars pull-left"></span>
<span style="font-size: 9pt"> &nbsp;&nbsp;verfügbare Fahrzeuge</span>
</header>
<div class="panel-body">
<table class="no-style full" style="margin:-9px;line-height:12px">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['data']->value, 'fc');
$_smarty_tpl->tpl_vars['fc']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['fc']->value) {
$_smarty_tpl->tpl_vars['fc']->do_else = false;
?>
<tr>
<td style="width:30px;font-size:12pt">
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 1) {?> <i class="far fa-car-side" style="color: sandybrown"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 2) {?> <i class="far fa-shuttle-van" style="color: orange"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 3) {?> <i class="far fa-truck" style="color: deepskyblue"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 4) {?> <i class="far fa-truck" style="color: cadetblue"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 5) {?> <i class="far fa-truck-moving" style="color: darkgreen"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 98) {?><i class="far fa-truck-plow" style="color: red"></i> <?php }?>
</td>
<td style="width:200px;font-size:10pt;">
<strong><?php echo $_smarty_tpl->tpl_vars['fc']->value['car'];?>
</strong></br>
<span style="width:145px;font-size: 7pt;"><?php echo $_smarty_tpl->tpl_vars['fc']->value['info'];?>
</span>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
</div>
<?php }
}

View file

@ -0,0 +1,134 @@
<?php
/* Smarty version 4.3.0, created on 2025-07-03 15:16:58
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/a_auto.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_686682cac3a302_34821248',
'has_nocache_code' => false,
'file_dependency' =>
array (
'18bb2e90e3e331e18c669c3806ece9813d29d12f' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/a_auto.tpl',
1 => 1710853037,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_686682cac3a302_34821248 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),1=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
?>
<form action="" method="post">
</select>
<input type="date" name="dasdatum" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['time']->value,"%d.%m.%Y");?>
" />
<select name="ma1" style="width:180px;" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['ma1']->value, 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<input type="submit" name="datesubmit" value="OK" >
</form>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['datum']->value, 'date');
$_smarty_tpl->tpl_vars['date']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['date']->value) {
$_smarty_tpl->tpl_vars['date']->do_else = false;
?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auto']->value, 'car');
$_smarty_tpl->tpl_vars['car']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['car']->value) {
$_smarty_tpl->tpl_vars['car']->do_else = false;
?>
<br /><b><i><span style='font-size:20.0pt;line-height:115%;color:#4F81BD'>Uebersicht Fahrzeug: <?php echo $_smarty_tpl->tpl_vars['car']->value;?>
am <?php echo $_smarty_tpl->tpl_vars['date']->value;?>
</span></i></b></p>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<br />
<table class="table table-striped">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['wwa']->value, 'wx');
$_smarty_tpl->tpl_vars['wx']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['wx']->value) {
$_smarty_tpl->tpl_vars['wx']->do_else = false;
?>
<tr style='font-size:11pt;color:#115270'>
<td align="left" style='width:30px '><?php echo $_smarty_tpl->tpl_vars['wx']->value['tag'];?>
.<?php echo $_smarty_tpl->tpl_vars['wx']->value['monat'];?>
.<?php echo $_smarty_tpl->tpl_vars['wx']->value['jahr'];?>
</td>
<td align="left" style='width:120px'><?php echo $_smarty_tpl->tpl_vars['wx']->value['fahrer'];?>
</td>
<td align="left" style='width:100px'><?php echo $_smarty_tpl->tpl_vars['wx']->value['tour'];?>
</td>
<td align="left" style='width:170px'><?php echo $_smarty_tpl->tpl_vars['wx']->value['infotext'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
<!--
<table class="datatable full" >
<thead>
<tr>
<td>Datum</td>
<td>Fahrer</td>
<td>Tour</td>
<td>Info</td>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['wwa']->value, 'wx');
$_smarty_tpl->tpl_vars['wx']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['wx']->value) {
$_smarty_tpl->tpl_vars['wx']->do_else = false;
?>
<tr>
<td> <b><?php echo $_smarty_tpl->tpl_vars['wx']->value['tag'];?>
.<?php echo $_smarty_tpl->tpl_vars['wx']->value['monat'];?>
.<?php echo $_smarty_tpl->tpl_vars['wx']->value['jahr'];?>
</td>
<td> <b><?php echo $_smarty_tpl->tpl_vars['wx']->value['fahrer'];?>
</td>
<td> <b><?php echo $_smarty_tpl->tpl_vars['wx']->value['tour'];?>
</td>
<td> <b><?php echo $_smarty_tpl->tpl_vars['wx']->value['infotext'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
--><?php }
}

View file

@ -0,0 +1,105 @@
<?php
/* Smarty version 4.3.0, created on 2024-08-19 18:04:51
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/c_leasing.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66c36d238fb2d6_33358747',
'has_nocache_code' => false,
'file_dependency' =>
array (
'19a665de956e7ddfca2bcea7cfdbf7ce182fb5e2' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/c_leasing.tpl',
1 => 1694432195,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66c36d238fb2d6_33358747 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<div class="col-md-4">
<div class="xinfo">
<i class="fas fa-car fa-2x fa-pull-left">&nbsp;</i>
<span> <?php echo $_smarty_tpl->tpl_vars['pkw']->value;?>
PKW Leasing</br></span>
</div>
</div>
<div class="col-md-4">
<div class="xinfo">
<i class="fas fa-truck-pickup fa-2x fa-pull-left">&nbsp;</i>
<span> <?php echo $_smarty_tpl->tpl_vars['cad']->value;?>
Caddy Leasing</br></span>
</div>
</div>
<div class="col-md-4">
<div class="xinfo">
<i class="fas fa-truck fa-2x fa-pull-left">&nbsp;</i>
<span> <?php echo $_smarty_tpl->tpl_vars['trp']->value;?>
Transporter Leasing</br></span>
</div>
<table class="no-style full" style="color: #dddddd">
<tr style="font-size:8pt">
<td width=" 90px" align="left">Kennz.</td>
<td width="100px" align="right">b.heute</td>
<td width="100px" align="right">schätzung</td>
<td width="100px" align="right">Datum:</td>
<td width="100px" align="right">Prüfung</td>
</tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kmdata']->value, 'km');
$_smarty_tpl->tpl_vars['km']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['km']->value) {
$_smarty_tpl->tpl_vars['km']->do_else = false;
?>
<tr style="font-size:11pt">
<td nowrap align="left" ><?php echo $_smarty_tpl->tpl_vars['km']->value['kz'];?>
</td>
<td nowrap align="right"><?php echo $_smarty_tpl->tpl_vars['km']->value['pkm'];?>
</td>
<?php if ($_smarty_tpl->tpl_vars['km']->value['anz'] == 1) {?>
<td align="right"><span style='color:red'><?php echo $_smarty_tpl->tpl_vars['km']->value['gkm'];?>
</td>
<?php } else { ?>
<td nowrap align="right"><span style='color:yellowgreen'><?php echo $_smarty_tpl->tpl_vars['km']->value['gkm'];?>
</td>
<?php }?>
<td align="right"><span style='color:gray'><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['km']->value['istkmdate'],"%d.%m.%Y");?>
</td>
<td align="right"><span style='color:#FF6E00'><?php echo $_smarty_tpl->tpl_vars['km']->value['istkm'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
<style>
.xinfo {
background: #115270;
color:#bbbbbb;
height: 50px;
padding: 6px;
border: 1px solid;
border-radius:10px;
margin-bottom: 8px;
margin-top: -10px;
font-size: 14pt;
}
</style>
<?php }
}

View file

@ -0,0 +1,124 @@
<?php
/* Smarty version 4.3.0, created on 2024-04-05 14:20:26
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/pinfo.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_660fec8a2082f0_24104181',
'has_nocache_code' => false,
'file_dependency' =>
array (
'1b2b264160d7e5c3562331d2e49e4320a6ce3235' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/pinfo.tpl',
1 => 1694432202,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_660fec8a2082f0_24104181 (Smarty_Internal_Template $_smarty_tpl) {
?><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php echo '<script'; ?>
>
$.ajax({
type : "POST",
url : 'ajax.php?s=planung1&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#planung1").html(data);
},
});
$.ajax({
type : "POST",
url : 'ajax.php?s=planung2&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#planung2").html(data);
},
});
$.ajax({
type : "POST",
url : 'ajax.php?s=planung3&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#planung3").html(data);
},
});
$.ajax({
type : "POST",
url : 'ajax.php?s=planung4&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#planung4").html(data);
},
});
$.ajax({
type : "POST",
url : 'ajax.php?s=pkal_1&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#pkal_1").html(data);
},
});
$.ajax({
type : "POST",
url : 'ajax.php?s=pkal_2&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#pkal_2").html(data);
},
});
<?php echo '</script'; ?>
>
</head>
<div class="container-fluid">
<div class="row">
<div id="planung1" style="text-align:center;"></div>
<div id="planung2" style="text-align:center;"></div>
<div id="pkal_1" style="text-align:center;"></div>
</div>
</div>
<hr>
<div class="container-fluid">
<div class="row">
<div id="planung3" style="text-align:center;"></div>
<div id="planung4" style="text-align:center;"></div>
<div id="pkal_2" style="text-align:center;"></div>
</div>
</div>
<?php }
}

View file

@ -0,0 +1,162 @@
<?php
/* Smarty version 4.3.0, created on 2024-10-31 21:59:07
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/_iss_data.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_6723ef9bf11528_89820031',
'has_nocache_code' => false,
'file_dependency' =>
array (
'1ff14857faed0159d962c33bdf1d2dc1fd5de065' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/_iss_data.tpl',
1 => 1730408270,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6723ef9bf11528_89820031 (Smarty_Internal_Template $_smarty_tpl) {
?>
<tr>
<form action="" method="post">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['aktiv'] != 1) {?>
<td nowrap style="width:60px;line-height:2;font-size:11pt;"><mark><?php echo $_smarty_tpl->tpl_vars['tour']->value['tname'];?>
</mark></td>
<!-- Stellzeiten -->
<td nowrap style="width:70px;font-size:10pt" align="right">
<input type="time" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['zeit'];?>
" style="width:75px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
id="zeit_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
][zeit]" onChange="save_time(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
</td>
<td nowrap style="width:70px;font-size:12pt" align="right"> </td>
<td nowrap style="width:70px;font-size:12pt" align="right"> </td>
<td nowrap style="width:65px;font-size:10pt" align="right">
<input type="int" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['pakete2'];?>
" style="width:28px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
id="pakete_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][pakete2]" onChange="save_pakete(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)"> / <?php echo $_smarty_tpl->tpl_vars['tour']->value['pakete'];?>
</td>
<td nowrap style="width:30px;font-size:12pt" align="right"> </td>
<td nowrap style="width:30px;font-size:12pt" align="right"> </td>
<td nowrap style="width:70px;font-size:12pt" align="right"> </td>
<?php } else { ?>
<!-- Tourname -->
<td nowrap style="width:70px;line-height:2;font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tname'];?>
</td>
<!-- Stellzeiten -->
<td nowrap style="width:70px;font-size:10pt" align="right">
<input type="time" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['zeit'];?>
" style="width:75px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
id="zeit_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
][zeit]" onChange="save_time(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
</td>
<!-- Exemplare SaSo -->
<td nowrap style="width:70px;font-size:10pt" align="right">
<input type="int" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['exemplare'];?>
" style="width:45px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
id="exemplare_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][exemplare]" onChange="save_exemplare(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)"> x
</td>
<!-- Vorabgewicht aus Stellzeitenlise -->
<td nowrap style="width:70px;font-size:10pt" align="right">
<input type="int" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['gewicht3'];?>
" style="width:45px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
id="gewicht3_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][gewicht3]"onChange="save_gewicht3(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)"> kg
</td>
<!-- Pakete SaSo -->
<td nowrap style="width:65px;font-size:10pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['pakete2'];?>
/ <?php echo $_smarty_tpl->tpl_vars['tour']->value['pakete'];?>
<!-- Exemplare Amtsblatt -->
<td nowrap style="width:70px;font-size:10pt" align="right">
<input type="int" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['amtsblatt'];?>
" style="width:45px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
id="abst_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][abst]" onChange="save_abst(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)"> x
</td>
<!-- Summe Zusatz Autorechnung -->
<td nowrap style="width:70px;font-size:10pt" align="right">
<input type="int" disabled value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['gewichtx'];?>
" style="width:45px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"> kg
</td>
<!-- Vorabgewicht aus Frachtbrief -->
<td nowrap style="width:70px;font-size:10pt" align="right">
<input type="int" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['gewicht'];?>
" style="width:45px;text-align:right;border:none;border-bottom: 1px solid #dcdcdc"
id="gewicht_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][gewicht]" onChange="save_gewicht(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)"> kg
</td>
<?php }?>
<!-- geschätztes Gewicht pro Paket -->
<td nowrap style="width:80px;font-size:7pt" align="right" id="gewicht5_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['tour']->value['gewicht5'];?>
kg/Pa.<br><?php echo $_smarty_tpl->tpl_vars['tour']->value['gewicht2'];?>
kg/Pa.
</td>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['aktiv'] == 1) {?>
<!-- bereitzeit/Abhlozeit -->
<td nowrap style="width:80px;font-size:7pt" align="right" id="gewicht5_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
">
<span style="color: orange"><?php echo $_smarty_tpl->tpl_vars['tour']->value['bereitzeit'];?>
Uhr</span>
<br>
<span style="color: green"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fertigzeit'];?>
Uhr</span>
</td>
<?php } else { ?>
<td nowrap style="width:80px;font-size:12pt" align="right"> </td>
<?php }?>
<td nowrap style="width:30px;font-size:10pt
<?php if ($_smarty_tpl->tpl_vars['tour']->value['gewicht4'] > 2200) {?>;color:#990000<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['gewicht4'] > 2000) {?>;color:#FF8000<?php } else { ?>;color:#008000<?php }?>" align="right">
<i class="fa fa-car" rel="stylesheet" title="<?php echo $_smarty_tpl->tpl_vars['tour']->value['kz'];?>
" id="button2"></i>
</td>
<!-- geschätztes Gewicht für Fahrzeug -->
<td nowrap style="width:60px;font-size:10pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['gewicht4'];?>
kg</td>
</td>
</tr>
<?php }
}

View file

@ -0,0 +1,303 @@
<?php
/* Smarty version 4.3.0, created on 2024-04-15 08:44:56
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_touren.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_661ccce822c078_80576744',
'has_nocache_code' => false,
'file_dependency' =>
array (
'20f2147aa528570888d655411c6ef2c3acc795db' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_touren.tpl',
1 => 1705186029,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_661ccce822c078_80576744 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
?>
<div class="col-md-4" style="background-color:#333333; color:#115270">
<div class="panel-group" id="accordion">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tag_tour']->value, 'tagtour');
$_smarty_tpl->tpl_vars['tagtour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tagtour']->value) {
$_smarty_tpl->tpl_vars['tagtour']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['tagtour']->value['menge'] > 0) {?>
<div class="panel panel-default" style="background-color:#222; color:#115270; border: 1px solid #115270;">
<div class="panel-heading" style="background-color:#115270; color:#ddd">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="<?php echo $_smarty_tpl->tpl_vars['tagtour']->value['raute'];?>
"><?php echo $_smarty_tpl->tpl_vars['tagtour']->value['name1'];?>
(<?php echo $_smarty_tpl->tpl_vars['tagtour']->value['name2'];?>
)</a></h4>
</div>
<?php if ($_smarty_tpl->tpl_vars['tagtour']->value['typ'] == $_smarty_tpl->tpl_vars['tagtour']->value['col']) {?>
<div id=<?php echo $_smarty_tpl->tpl_vars['tagtour']->value['typ'];?>
class="panel-collapse collapse in">
<?php } else { ?>
<div id=<?php echo $_smarty_tpl->tpl_vars['tagtour']->value['typ'];?>
class="panel-collapse collapse">
<?php }?>
<div class="panel-body">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tagtour']->value['tdata'], 'tlist');
$_smarty_tpl->tpl_vars['tlist']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tlist']->value) {
$_smarty_tpl->tpl_vars['tlist']->do_else = false;
?>
<table class="no-style full" style="color:#ddd;">
<thead>
<tr style="font-size:11pt">
<?php if ($_smarty_tpl->tpl_vars['tlist']->value['aktiv'] != 0) {?>
<td nowrap style="width:100px"><a href="?s=v_touren&id=<?php echo $_smarty_tpl->tpl_vars['tlist']->value['id'];?>
" style="color:#ddd;"><?php echo $_smarty_tpl->tpl_vars['tlist']->value['tour'];?>
</a></td>
<td nowrap style="color:#ddd;font-size:8pt">&nbsp;&nbsp;&nbsp;<?php echo $_smarty_tpl->tpl_vars['tlist']->value['infotitel'];?>
</td>
<?php } else { ?>
<td nowrap style="width:100px"><a href="?s=v_touren&id=<?php echo $_smarty_tpl->tpl_vars['tlist']->value['id'];?>
" style="color:#666;"><?php echo $_smarty_tpl->tpl_vars['tlist']->value['tour'];?>
</a></td>
<td nowrap align="left" style="color:#666;font-size:8pt">&nbsp;&nbsp;&nbsp;<?php echo $_smarty_tpl->tpl_vars['tlist']->value['infotitel'];?>
</td>
<?php }?>
</tr>
</thead>
</table>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
</div>
</div>
<?php }?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
</div>
<!-- ***** Tourenlisten rechte Seite ***** -->
<!-- rechte seite keine Auswahl -->
<div class="col-md-8" style="background-color:#333333; color:#115270">
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 0) {?>
<div class="ibox">
<p nowrap>Info
<br> <span style='font-size:10pt;line-height:115%; color:#4F81BD'>
Bitte die Tour auw&auml;hlen die Sie bearbeiten m&ouml;chten.
</span>
</p>
</div>
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// rechte seite -->
<?php } else { ?>
<p class="xbox" nowrap>
<span style='font-size:20pt'><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</span>
<span style='font-size:10pt'>ID: <?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
</span>
</span>
</p>
<div class="panel panel-default" style="background-color:#222; color:#115270; border-color: #115270">
<div class="panel-body" style="background-color:#222; color:#ddd">
<section>
<form action="" method="post">
<table class="no-style sortable full">
<tr style="line-height: 25px">
<td nowrap style="width:200px"><strong>Kurzbezeichnung:</strong></td>
<td><input type="text" name="tour" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
" style="width:220px;background-color:#222;border:none;border-bottom: 1px solid #666"/></td>
</tr>
<tr style="line-height: 25px">
<td nowrap="nowrap"><strong>Bezeichnung Dateninput:</strong></td>
<td><input type="text" name="tour2" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['tour2'];?>
" style="width:220px;background-color:#222;border:none;border-bottom: 1px solid #666"/></td>
</tr>
<tr style="line-height: 25px">
<td nowrap="nowrap"><strong>Bezeichnung Druckerei:</strong></td>
<td><input type="text" name="tour3" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['tour3'];?>
" style="width:220px;background-color:#222;border:none;border-bottom: 1px solid #666"/></td>
</tr>
<tr style="line-height: 25px">
<td nowrap="nowrap"><strong>Bezeichnung/Ziel:</strong></td>
<td><input type="text" name="infotitel" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['infotitel'];?>
" style="width:220px;background-color:#222;border:none;border-bottom: 1px solid #666"/></td>
</tr>
<tr style="line-height: 25px">
<!-- --------------------------- Auftraggeber -->
<td nowrap="nowrap"><strong>Auftraggeber:</strong></td>
<td>
<select name="retyp" style="width:180px;background-color:#222;border:none;border-bottom: 1px solid #666">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auftraggeber']->value, 'ageber');
$_smarty_tpl->tpl_vars['ageber']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ageber']->value) {
$_smarty_tpl->tpl_vars['ageber']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['ageber']->value['id'],'output'=>$_smarty_tpl->tpl_vars['ageber']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['retyp']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
</tr>
<tr style="line-height: 25px">
<!-- --------------------------- typ -->
<td nowrap="nowrap"><strong>Tourzuordnung:</strong></td>
<td>
<select name="ttyp" style="width:180px;background-color:#222;border:none;border-bottom: 1px solid #666">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auswahltyp']->value, 'atyp');
$_smarty_tpl->tpl_vars['atyp']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['atyp']->value) {
$_smarty_tpl->tpl_vars['atyp']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['atyp']->value['tid'],'output'=>$_smarty_tpl->tpl_vars['atyp']->value['tname'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['typ']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
</tr>
<tr style="line-height: 25px">
<td nowrap="nowrap"><strong>Bedarf:</strong></td>
<td><input type="text" name="bedarf" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['kaltyp'];?>
" style="width:30px;background-color:#222;border:none;border-bottom: 1px solid #666"/> 1-fest / 0-Abnahme/nach Bedarf</td>
</tr>
<tr style="line-height: 25px">
<td nowrap="nowrap"><strong>Netto:</strong></td>
<td><input type="text" name="preis" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['preis'];?>
" style="width:60px;background-color:#222;border:none;border-bottom: 1px solid #666"/> Netto/ändert alte Bestände !</td>
</tr>
<tr style="line-height: 25px">
<td nowrap="nowrap"><strong>aktiv:</strong></td>
<td><input type="text" name="aktiv" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['aktiv'];?>
" style="width:30px;background-color:#222;border:none;border-bottom: 1px solid #666"/> 1-aktiv / 0-inaktiv</td>
</tr>
<!-- --------------------------- fahrer -->
<tr style="line-height: 25px">
<td nowrap="nowrap"><strong>Stammfahrer:</strong></td>
<td>
<select name="efahrer" style="width:160px;background-color:#222;border:none;border-bottom: 1px solid #666">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array']->value, 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['s_fahrer']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
</tr>
<!-- --------------------------- Fahrzeug -->
<tr style="line-height: 25px">
<td nowrap="nowrap"><strong>Stammfahrzeug:</strong></td>
<td>
<select name="eauto" style="width:160px;background-color:#222;border:none;border-bottom: 1px solid #666">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auto_array']->value, 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['s_auto']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
</tr>
<tr style="line-height: 25px">
<td nowrap="nowrap"><strong>Startzeit:</strong></td>
<td><input type="text" name="kalzeit" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['kalzeit'];?>
" placeholder="01:00" required style="width:60px;background-color:#222;border:none;border-bottom: 1px solid #666"/> Uhr</td>
</tr>
<tr style="line-height: 25px">
<td nowrap="nowrap"><strong>Exemplare:</strong></td>
<td><input type="text" name="exemplare" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['exemplare'];?>
" style="width:60px;background-color:#222;border:none;border-bottom: 1px solid #666"/> St&uuml;ck</td>
</tr>
<tr style="line-height: 25px">
<td nowrap="nowrap"><strong>ca. Strecke:</strong></td>
<td><input type="text" name="km" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['km'];?>
" style="width:60px;background-color:#222;border:none;border-bottom: 1px solid #666"/> km</td>
</tr>
<tr style="line-height: 25px">
<td><input type="submit" name="toursave" value="Speichern" ></td>
</tr>
</table>
</form>
</section>
</div>
<?php }?>
<!-- rechte seite -->
</div>
</section>
</div>
</section>
<style>
.ibox {
background: #222222;
color: darkred;
font-size: 30px;
padding: 5px;
border: 1px solid #115270;
margin-top: -1px;
margin-bottom: 18px;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
width: 100%;
}
.xbox {
background: #222;
color: #115270;
padding-left: 10px;
border: 1px solid #115270;
margin-top: -1px;
margin-bottom: 18px;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
width: 100%;
}
</style>
<?php echo '<script'; ?>
>
<?php echo '</script'; ?>
>
<?php }
}

View file

@ -0,0 +1,214 @@
<?php
/* Smarty version 4.3.0, created on 2024-04-01 11:10:42
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/tload.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_660a7a12c7d062_74508469',
'has_nocache_code' => false,
'file_dependency' =>
array (
'36cf2ca68eddc973b4e0f1109a6a7b112b0be017' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/tload.tpl',
1 => 1694432193,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_660a7a12c7d062_74508469 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
?>
<tr id="loadzeile<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
">
<form action="" method="post" >
<?php if ($_smarty_tpl->tpl_vars['tour']->value['aktiv'] == 0) {?>
<td nowrap style="width:110px;color:bisque;border-bottom: 1px solid #000"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php } else { ?>
<td nowrap style="width:110px;border-bottom: 1px solid #000"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php }?>
<!-- --------------------------- fahrer hinweis -->
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 0) {?> <td style="width:20px"> </td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 1) {?> <td align="left" data-toggle="tooltip" title=<?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
><i class="fad fa-info" style="color:red;font-size: 14px"</i> </td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 2) {?> <td align="left" data-toggle="tooltip" title=<?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
><i class="far fa-info" style="color:orange"></i></td> <?php }?>
<!-- ------------------------------------------ -->
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0) {?>
<td style="width:20px"><i class="fad fa-times-square" style="background-color:red;color:#fff"></i></td>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 0) {?>
<td style="width:20px"><i class="fad fa-info-square" style="background-color:#FF2222;color:#fff"></i></td>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 2) {?>
<td style="width:20px"><i class="fad fa-question-square" style="background-color:#FF9900;color:#fff"></i></td>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 3) {?>
<td style="width:20px"><i class="fad fa-check" style="background-color:#99FF00;color:#fff"></i></td>
<?php } else { ?> <td style="width:20px"> </td>
<?php }?>
<td nowrap style="width:195px;">
<select name="Fahrer[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"
onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)";>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['typ'] == 3) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['fahrer_array3'], 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['fahrer_id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'options2'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['typ'] == 4) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['fahrer_array4'], 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['id'];?>
" <?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == $_smarty_tpl->tpl_vars['allfahrer']->value['id']) {?> selected="selected"<?php }?> style="color: darkgray"><?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['name'];?>
</option><?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['typ'] == 5) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['fahrer_array5'], 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['id'];?>
" <?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == $_smarty_tpl->tpl_vars['allfahrer']->value['id']) {?> selected="selected"<?php }?> style="color: darkgray"><?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['name'];?>
</option><?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['typ'] == 17) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['fahrer_array17'], 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['id'];?>
" <?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == $_smarty_tpl->tpl_vars['allfahrer']->value['id']) {?> selected="selected"<?php }?> style="color: darkgray"><?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['name'];?>
</option><?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td nowrap style="width:110px;">
<select name="Fahrzeug[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
]" id="car_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" data-width="100px"
<?php if ($_smarty_tpl->tpl_vars['tour']->value['auto_id'] != 0) {?> style="width:90px;border:none;border-bottom: 1px solid "
<?php } else { ?> style="color: red"
<?php }?>
onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)" data-hight="10px">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['auto_array'], 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['auto_id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'options2'=>$_smarty_tpl->tpl_vars['allauto']->value['kz']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<?php echo '</script'; ?>
>
</td>
<!-- --------------------------- Zusatzinfo neu -->
<td nowrap id="ma_gh<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:160px; font-size:8pt;background-color:#222222;color: #dcdcdc">
<input type="text" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['infotext'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"
style="width:155px;height:22px;background-color:#222222;border:none;border-bottom: 1px solid #444444" name="infotext[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
]"
onChange="save_info(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
</td>
<!-- SMS Status !!!!! ------------------------------------- -->
<td nowrap align="center" style="width:30px" id="smscheck<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
">
<i class="fal fa-comment-alt fa-1x" style="color:#999" ></i>
</td>
<!-- Infobereich !!!!! ------------------------------------- -->
<td nowrap align="center" style="width:20px">
<i class="fad fa-info fa-1x" style="color:cornflowerblue;font-size: 14px" onclick="tinfo(<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
)"></i>
</td>
<!-- SMS senden Änderung ------------------------------------- -->
<td nowrap align="center" style="width:20px; font-size:13pt;"
onclick="window.location='?s=pnacht&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
&sms=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
'";>
<i class="fal fa-sms" style="color:#999" >
</td>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['zusatz'] == 0) {?>
<!-- 2. Tour hinzufügen ------------------------------------- -->
<td nowrap align="center" style="width:30px; font-size:13pt;"
onclick="window.location='?s=pnacht&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
&dazu=<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['tour']->value['kw'];?>
'";>
<i class="fal fa-plus" style="color:#999" >
</td>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['zusatz'] == 1) {?>
<!-- 2. Tour löschen ------------------------------------- -->
<td nowrap align="center" style="width:30px; font-size:13pt;"
onclick="window.location='?s=pnacht&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
&daweg=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['tour']->value['kw'];?>
'";>
<i class="fas fa-times" style="color:#444" >
</td>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['zusatz'] == 2) {?>
<!-- 2. Tour hinzufügen ------------------------------------- -->
<td nowrap align="center" style="width:30px; font-size:13pt;">
<i class="fal fa-minus" style="color:#444" >
</td>
<?php }?>
</tr>
<?php }
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,112 @@
<?php
/* Smarty version 4.3.0, created on 2025-02-23 09:42:10
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_tourentyp.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_67badf624925a8_80871829',
'has_nocache_code' => false,
'file_dependency' =>
array (
'4514c32b6d21ceed1e33f18238f1d8ef851c73a8' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_tourentyp.tpl',
1 => 1705185135,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_67badf624925a8_80871829 (Smarty_Internal_Template $_smarty_tpl) {
?><!-- ***** Tourenlisten linke Seite ***** -->
<section id="content0">
<div class="wrapper"> <!-- Main Section -- linke Spalte -->
<section class="grid_8 first top">
<!-- <div class="columns">-->
<div class="column grid_3 first">
<div class="widget collapsible">
<header class="current"><h2>Touren-Bereiche</h2></header>
<section>
<table class="no-style full">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tourentyp']->value, 't_type');
$_smarty_tpl->tpl_vars['t_type']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['t_type']->value) {
$_smarty_tpl->tpl_vars['t_type']->do_else = false;
?>
<tr>
<td style="width:110px"><a href="?s=v_tourentyp&tid=<?php echo $_smarty_tpl->tpl_vars['t_type']->value['tid'];?>
" title="Kicke zum ausw&auml;len" ><strong><?php echo $_smarty_tpl->tpl_vars['t_type']->value['tname'];?>
</strong></a></td>
<?php if ($_smarty_tpl->tpl_vars['t_type']->value['taktiv'] == 0) {?> <td style="color:#CCC"><strong><?php echo $_smarty_tpl->tpl_vars['t_type']->value['tinfotitel'];?>
</strong></td> <?php } else { ?> <td><strong><?php echo $_smarty_tpl->tpl_vars['t_type']->value['tinfotitel'];?>
</strong></td> <?php }?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
</div>
<!-- rechte seite -->
<div class="column grid_5 last">
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 0) {?>
<div class="widget collapsible">
<header class="current"><h2>Info </h2></header>
<section>
<span style='font-size:10pt;line-height:115%; color:#4F81BD'>
Bitte den Touren-Typ auw&auml;hlen die Sie bearbeiten m&ouml;chten.
</span>
</section>
</div>
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// rechte seite -->
<?php } else { ?>
<!-- ///////////////// menu seite -->
<div class="widget collapsible">
<header class="current"><h2>Datenbank-ID: <?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
</h2></header>
<section>
<form action="" method="post">
<table class="no-style sortable full">
<tr><td nowrap="nowrap"><strong>Kurz-Bezeichnung:</strong></td><td><input type="text" name="tname" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['tname'];?>
" style="width:220px"/></td></tr>
<tr><td nowrap="nowrap"><strong>Bezeichnung/Ziel:</strong></td><td><input type="text" name="tinfotitel" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['tinfotitel'];?>
" style="width:220px"/></td></tr>
<tr><td nowrap="nowrap"><strong>Tourbereich aktiv:</strong></td><td><input type="text" name="taktiv" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['taktiv'];?>
" style="width:30px"/> 1-aktiv / 0-inaktiv</td></td></tr> <tr>
<td nowrap="nowrap"><strong>Tagfolge:<td> <strong>Mo.</strong><input type="text" name="mo" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['mo'];?>
" style="width:25px"/>
<strong>Di.</strong><input type="text" name="di" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['di'];?>
" style="width:25px"/>
<strong>Mi.</strong><input type="text" name="mi" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['mi'];?>
" style="width:25px"/>
<strong>Do.</strong><input type="text" name="do" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['do'];?>
" style="width:25px"/>
<strong>Fr.</strong><input type="text" name="fr" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['fr'];?>
" style="width:25px"/>
<strong>Sa.</strong><input type="text" name="sa" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['sa'];?>
" style="width:25px"/>
<strong>So.</strong><input type="text" name="so" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['so'];?>
" style="width:25px"/>
</td>
</strong>
</tr>
<tr>
<td><input type="submit" name="toursave" value="Speichern" ></td>
</tr>
</table>
</form>
</section>
</div>
<?php }?>
<!-- rechte seite -->
</div>
</section>
</div>
</section>
<?php }
}

View file

@ -0,0 +1,168 @@
<?php
/* Smarty version 4.3.0, created on 2024-05-23 08:21:45
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/a_fahrz.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_664ee079c9ea75_89544964',
'has_nocache_code' => false,
'file_dependency' =>
array (
'496759feafc6feeaa7555bb0d048c51aecdbd825' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/a_fahrz.tpl',
1 => 1710850893,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_664ee079c9ea75_89544964 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="container-fluid">
<div class="row">
<!-- Main Section -- mittlere Spalte -->
<div class="col-md-3">
<div class="panel">
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
<spawn style="width:5px;height:2px;font-size:14pt;">Fahrzeugübersicht
<i style="color: red" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=a_ma_pdf&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&ma=<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
" aria-label="Settings" class="fa fa-file-pdf-o fa-pull-right fa-fw">
</i>
</spawn>
</div>
<div class="panel-body" style="background-color:#ffffff">
<table class="table-hover" style="font-size:11pt">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['mitarbeiterlist']->value, 'malist');
$_smarty_tpl->tpl_vars['malist']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['malist']->value) {
$_smarty_tpl->tpl_vars['malist']->do_else = false;
?>
<tr>
<td nowrap style="width:100px;line-height:120%;font-size:12pt;color:#115270"
onclick="window.location='?s=a_fahrz&id=<?php echo $_smarty_tpl->tpl_vars['malist']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
'">
<span style='font-size:12pt;color:#115270'><?php echo $_smarty_tpl->tpl_vars['malist']->value['kz'];?>
</span>
</td>
<td nowrap style="width:100px;line-height:120%;font-size:12pt;color:gray"
onclick="window.location='?s=a_fahrz&id=<?php echo $_smarty_tpl->tpl_vars['malist']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
'">
<span style='font-size:8pt; color:#115270'><?php echo $_smarty_tpl->tpl_vars['malist']->value['name'];?>
</span>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-6">
<?php if ($_smarty_tpl->tpl_vars['ma_id']->value == 0) {?>
<!-- else - kein MA ausgewählt -->
<div class="panel panel-default">
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
<spawn style="width:5px;height:2px;font-size:14pt;">Fahrzeuge</span></div>
<div class="panel-body">
<table class="no-style full">
<thead>
<tr>
<td><span style='font-size:30pt;line-height:100%; color:orange'>Fahrzeug auswählen</span></a></td>
</tr>
</thead>
</table>
</div>
</div>
<?php } else { ?>
<div class="panel panel-primary">
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
<spawn style="width:5px;height:2px;font-size:12pt;"><?php echo $_smarty_tpl->tpl_vars['ma_kz']->value;?>
* <?php echo $_smarty_tpl->tpl_vars['ma_name']->value;?>
* (ID:<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
) * Zeitraum <?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</span></div>
<div class="panel-body">
<table class="table table-striped">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['senddata']->value, 'tdata');
$_smarty_tpl->tpl_vars['tdata']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tdata']->value) {
$_smarty_tpl->tpl_vars['tdata']->do_else = false;
?>
<tr style='font-size:11pt;color:#115270'>
<td align="left" style='width:30px '><?php echo $_smarty_tpl->tpl_vars['tdata']->value['datum'];?>
</td>
<td align="left" style='width:120px'><?php echo $_smarty_tpl->tpl_vars['tdata']->value['typ'];?>
</td>
<td align="left" style='width:100px'><?php echo $_smarty_tpl->tpl_vars['tdata']->value['tname'];?>
</td>
<td align="left" style='width:170px'><?php echo $_smarty_tpl->tpl_vars['tdata']->value['fahrer'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
</div>
<?php }?>
</div>
<aside class="col-md-3">
<div id="rightmenu" class="panel panel-default">
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
<table class="no-style full">
<tbody>
<td style="font-size:18px; color: white; text-align: center">
<i class="fad fa-arrow-left" onclick="javascript:location.href='?s=a_fahrz&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&id=<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
'"></i>
<span>&nbsp;&nbsp;&nbsp;<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
/ <?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&nbsp;&nbsp;&nbsp;</span>
<i class="fad fa-arrow-right" onclick="javascript:location.href='?s=a_fahrz&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&id=<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
'"></i>
</td>
</tbody>
</table>
</div>
</div>
<?php }
}

View file

@ -0,0 +1,70 @@
<?php
/* Smarty version 4.3.0, created on 2025-01-17 14:26:54
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/phistory.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_678a5a9e830d67_32584595',
'has_nocache_code' => false,
'file_dependency' =>
array (
'4b3cfc39737b55591e36ce635a005e46b9bb5081' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/phistory.tpl',
1 => 1694432202,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_678a5a9e830d67_32584595 (Smarty_Internal_Template $_smarty_tpl) {
?>
<!-- -------------------------------------------------------------------------------- -->
<!-- -------------------------------------------------------------------------------- -->
<!-- -------------------------------------------------------------------------------- -->
<!-- -------------------------------------------------------------------------------- -->
<!-- -------------------------------------------------------------------------------- -->
<!-- -------------------------------------------------------------------------------- -->
<!-- ---------------------uebersicht Heute ------------------------------------------ -->
<!-- -------------------------------------------------------------------------------- -->
<table class="table-striped">
<thead>
<tr>
<th style="width:200px";align="left"><strong>Fahrer</strong></th>
<th nowrap style="width:100px";align="right"><strong>wie oft gefahren</strong></th>
<th style="width:200px";align="right"><strong>zuletzt am</strong></th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['hinfo']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<tr>
<td nowrap style="width:200px"><b> <?php echo $_smarty_tpl->tpl_vars['tour']->value['name'];?>
</td>
<td nowrap style="width:100px" align="right"> <?php echo $_smarty_tpl->tpl_vars['tour']->value['zahl'];?>
x</td>
<td nowrap style="width:200px" align="right"> <?php echo $_smarty_tpl->tpl_vars['tour']->value['last'];?>
Uhr</td>
<!-- --------------------------- fahrer -->
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
<!-- -------------------------------------------------------------------------------- -->
<!-- -------------------------------------------------------------------------------- -->
<!-- -------------------------------------------------------------------------------- -->
<!-- -------------------------------------------------------------------------------- -->
<?php }
}

View file

@ -0,0 +1,753 @@
<?php
/* Smarty version 4.3.0, created on 2024-10-18 11:54:47
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/pss.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_671230679cd410_35945558',
'has_nocache_code' => false,
'file_dependency' =>
array (
'4bf931a3d5de03975973cdf3837cb912c11cf51e' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/pss.tpl',
1 => 1729245201,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_671230679cd410_35945558 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),1=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
echo '<script'; ?>
> var tagheute = '<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['datum_unix']->value,"%Y-%m-%d");?>
';<?php echo '</script'; ?>
>
<style>
select {
width: 250px;
border:none;
border-bottom: 1px solid #333333;
color: #999999;
background-color: #222222;
}
input[type=number] {
width: 250px;
border:none;
border-bottom: 1px solid #333333;
color: #DCDCDC;
background-color: #222222;
}
</style>
<?php echo '<script'; ?>
>
$(document).ready(function(){
$('[data-toggle="tooltip"]').tooltip();
});
<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
$(document).ready(function() {
$("[rel=popover]").popover({'trigger':'hover'});
});
<?php echo '</script'; ?>
>
<style>
[rel="popover"]{
cursor: pointer;
display:inline-block; /* chrome-fix */
}
</style>
<?php echo '<script'; ?>
>
function caricon(tourID) {
$.ajax({
type: 'POST',
url: "ajax.php?s=ss&a=load_car_icon",
dataType: "json",
//contentType: "application/json; charset=utf-8",
data: 'tourID=' + tourID,
success: function (data) {
$("#caricon"+data.zeile).html(data.htmlresult);
}
});
}
function usericon(tourID) {
$.ajax({
type: 'POST',
url: "ajax.php?s=ss&a=load_user_icon",
dataType: "json",
//contentType: "application/json; charset=utf-8",
data: 'tourID=' + tourID,
success: function (data) {
$("#usericon"+data.zeile).html(data.htmlresult);
}
});
}
function load_free_cars(date) {
$.ajax({
type: 'POST',
url: "ajax.php?s=ss&a=load_free_cars",
dataType: "text",
//contentType: "application/json; charset=utf-8",
data: "date=" + date,
success: function (data) {
data = jQuery.parseJSON(data); // <-- *** ADD THIS LINE ***
console.log("data")
console.log(data)
$("#trp").html("");
$.each( data.trp, function( key, value ) {
$("#trp").append(value+"<br>");
});
}
});
}
function save_lohn(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=ss&a=lohn_save",
dataType: 'json',
data: 'tourID=' + tourID + "&lohn=" + $("#lohn_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
caricon(data.zeile);
}
});
}
function save_car(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=ss&a=car_save",
dataType: 'json',
data: 'tourID=' + tourID + "&car=" + $("#car_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
caricon(data.zeile);
load_free_cars(tagheute);
}
});
}
function save_user(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=ss&a=user_save",
dataType: 'json',
data: 'tourID=' + tourID + "&user=" + $("#user_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
usericon(data.zeile);
}
});
}
$(document).ready(function(){
$('[data-toggle="tooltip"]').tooltip();
});
load_free_cars(tagheute);
<?php echo '</script'; ?>
>
<!-- ********** --> <div class="container-fluid" style="background-color:#333333">
<div class="row">
<?php if ($_smarty_tpl->tpl_vars['ssa1']->value != 0) {?>
<div class="col-md-8">
<div class="panel panel-sbox">
<div class="panel-body">
<table class="no-style full" style="font-size:11pt">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['ss1']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<!-- ************************************************************************************************************** -->
<?php if ($_smarty_tpl->tpl_vars['tour']->value['wechsel'] == 1) {?>
</tbody>
</table>
</div>
</div>
<div class="panel panel-sbox">
<div class="panel-body">
<table class="no-style full" style="font-size:11pt">
<tbody>
<?php }?>
<!-- **************************************************************************************************************
<td nowrap style="width:65px;line-height:2;font-size:11pt;" rel="stylesheet" title="<?php echo $_smarty_tpl->tpl_vars['tour']->value['info'];?>
" id="button1">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['afirma'] != 1) {?><mark><?php }
echo $_smarty_tpl->tpl_vars['tour']->value['tname'];?>
</mark>
</td
-->
<tr>
<form action="" method="post">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['aktiv'] != 0) {?>
<td nowrap style="width:65px;line-height:2;font-size:11pt;" rel="stylesheet" title="<?php echo $_smarty_tpl->tpl_vars['tour']->value['info'];?>
" id="button1"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tname'];?>
</td>
<?php } else { ?>
<td nowrap style="width:60px;line-height:2;font-size:11pt;color:#115270;" rel="stylesheet" title="<?php echo $_smarty_tpl->tpl_vars['tour']->value['info'];?>
" id="button1">
<?php echo $_smarty_tpl->tpl_vars['tour']->value['tname'];?>
</td>
<?php }?>
<td nowrap style="width:55px;font-size:8pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['zeit'];?>
Uhr</td>
<!--
<td nowrap style="width:30px;font-size:8pt" align="right">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 11) {?>-1A-<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 12) {?>-1B-<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 21) {?>-2A-<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 22) {?>-2B-<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 31) {?>-3A-<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 32) {?>-3B-<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 41) {?>-4A-<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 42) {?>-4B-<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 51) {?>-5A-<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 52) {?>-5B-<?php }?>
</td>
-->
<?php if ($_smarty_tpl->tpl_vars['tour']->value['gewicht4'] > 2200) {?>
<td nowrap style="width:20px;font-size:11pt;text-align:right;color:red"><i class="fa fa-stack-exchange"></i></td> <?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['gewicht4'] > 1800) {?>
<td nowrap style="width:20px;font-size:11pt;text-align:right;color:orange"><i class="fa fa-stack-exchange"></i></td> <?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['gewicht4'] > 0) {?>
<td nowrap style="width:20px;font-size:11pt;text-align:right;color:green"><i class="fa fa-stack-exchange"></i></td>
<?php } else { ?>
<td nowrap style="width:20px;font-size:11pt;text-align:right;color:gray"><i class="fa fa-stack-exchange"></i></td>
<?php }?>
<td nowrap style="width:50px;font-size:8pt" align="right">(<?php echo $_smarty_tpl->tpl_vars['tour']->value['gewicht'];?>
kg)</td>
<td nowrap style="width:60px;font-size:11pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['gewicht4'];?>
kg</td>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['pakete'] != $_smarty_tpl->tpl_vars['tour']->value['pakete2']) {?>
<td nowrap style="width:70px;font-size:10pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['pakete2'];?>
/ <?php echo $_smarty_tpl->tpl_vars['tour']->value['pakete'];?>
</td>
<?php } else { ?>
<td nowrap style="width:70px;font-size:10pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['pakete'];?>
</td>
<?php }?>
<td nowrap style="width:23px;font-size:11pt;text-align:right;color:gray" id="usericon<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
">
<i class="fad fa-circle-notch"></i>
<?php echo '<script'; ?>
>usericon(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
);
<?php echo '</script'; ?>
>
</td>
<td nowrap style="width:200px;font-size:11pt;" title="Stammfahrer: <?php echo $_smarty_tpl->tpl_vars['tour']->value['sfahrer'];?>
" id="button4">
<select name="Fahrer[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"
style="width:195px"
onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array']->value, 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['fahrer_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<td nowrap style="width:20px;font-size:11pt;text-align:right;color:gray" id="caricon<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
">
<span class="fa fa-truck"></i>
<?php echo '<script'; ?>
>caricon(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
);
<?php echo '</script'; ?>
>
</td>
<!-- --------------------------- Fahrzeug -->
<td nowrap style="width:100px;font-size:11pt;color:gray" title="Stammfahrzeug: <?php echo $_smarty_tpl->tpl_vars['tour']->value['sauto'];?>
" id="button4">
<select name="Fahrzeug[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
]" id="car_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"
style="width:100px"
onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auto_array']->value, 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['auto_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<!-- --------------------------- Lohneinstellung -->
<!--
<td nowrap align="right" style="width:45px;font-size:11pt;color: lightgray" title="Lohnauswahl: <?php echo $_smarty_tpl->tpl_vars['tour']->value['lohnbez'];?>
">
<select name="lohnstatus[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
]" id="lohn_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"
style="width:35px;border:none;border-bottom: 1px solid #dcdcdc;"
onChange="save_lohn(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['lohn_array']->value, 'lstatus');
$_smarty_tpl->tpl_vars['lstatus']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['lstatus']->value) {
$_smarty_tpl->tpl_vars['lstatus']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['lstatus']->value['id'],'output'=>$_smarty_tpl->tpl_vars['lstatus']->value['bez'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['lohnstatus']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
-->
<!--
<td nowrap align="right" id="ma_gh<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:25px;font-size:10pt;">
<input type="text" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['lohnstatus'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"
style="width:20px;border-color:#dcdcdc;border:none;border-bottom: 1px solid #dcdcdc;" name="infotext[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
]"
onChange="save_lohn(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
</td>
<!-- --------------------------- history -->
<td nowrap style="width:35px;font-size:11pt;text-align:center;color:gray">
<i style="width:20px;font-size:13pt" class="fa fa-info-circle" data-toggle="modal" data-target="#history"></i>
<!-- The Modal -->
<div class="modal fade" id="history">
<div class="modal-dialog">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title">History für Tor <?php echo $_smarty_tpl->tpl_vars['tour']->value['tname'];?>
</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<!-- ------------------------------------------------------------------------------------ -->
<!-- Modal body -->
<div class="modal-body">
<table class="table-striped">
<thead>
<tr>
<th style="width:200px";align="left"><strong>Fahrer</strong></th>
<th nowrap style="width:200px";align="right"><strong>wie oft gefahren</strong></th>
<th style="width:200px";align="right"><strong>zuletzt am</strong></th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['history'], 'hinfo');
$_smarty_tpl->tpl_vars['hinfo']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['hinfo']->value) {
$_smarty_tpl->tpl_vars['hinfo']->do_else = false;
?>
<tr>
<td nowrap style="width:200px"><b> <?php echo $_smarty_tpl->tpl_vars['hinfo']->value['name'];?>
</td>
<td nowrap style="width:100px" align="right"> <?php echo $_smarty_tpl->tpl_vars['hinfo']->value['zahl'];?>
x</td>
<td nowrap style="width:200px" align="right"> <?php echo $_smarty_tpl->tpl_vars['hinfo']->value['last'];?>
Uhr</td>
<!-- --------------------------- fahrer -->
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
<!-- Modal footer -->
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</td>
<!-- --------------------------- sms ohne ajax
<td nowrap style="width:20px;font-size:11pt;text-align:right;color:gray" id="smsicon<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0) {?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"><i class='fa fa-times' style="color:#000000;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['auto_id'] == 0) {?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"><i class='fa fa-times' style="color:#000000;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0) {?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"><i class='fa fa-comment-o' style="color:#0080FF;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1) {?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"><i class='fa fa-check' style="color:#FF8000;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2) {?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"><i class='fa fa-check' style="color:#04B404;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 3) {?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"><i class='fa fa-question' style="color:#FF8000;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 4) {?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"><i class='fa fa-question' style="color:#FF8000;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5) {?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"><i class='fa fa-ban' style="color:#ff0000;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8) {?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"><i class='fa fa-check' style="color:#FF8000;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20) {?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"><i class='fa fa-spinner fa-pulse' style="color:#FF8000;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 99) {?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"><i class='fa fa-question' style="color:#FF8000;"></i></button>
<?php }?>
</td>
-->
<!-- --------------------------- sms neu 2020
<td nowrap style="width:20px;font-size:11pt;text-align:right;color:gray" id="smsicon<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
">
<span class="fa fa-question"></i>
<?php echo '<script'; ?>
>smsicon(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
);
<?php echo '</script'; ?>
>
</td>
-->
<!-- --------------------------- sms alt -->
<td nowrap style="width:20px;text-align:right;font-size:11pt;" id="smsstatus<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
">
<div id="smsstatus<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="text-align:center;">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0 || $_smarty_tpl->tpl_vars['tour']->value['auto_id'] == 0) {?>
<button type='submit' style="background-color:#333333" name="smssenden" data-toggle="tooltip" title="SMS senden nicht möglich" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
">
<i class='fa fa-times' style="color:#999999;"></i>
</button>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0) {?> <!-- SMS in Warteschleife -->
<button type='submit' style="background-color:#333333" name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
">
<i class='fa fa-commenting-o' style="color:#0080FF;"></i>
</button>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20 || $_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8) {?> <!-- SMS in Warteschleife -->
<button type='submit' style="background-color:#333333" name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
">
<i class='fa fa-spinner fa-pulse' style="color:#FF8000;"></i>
</button>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1 || $_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 3 || $_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 4) {?> <!-- SMS in statusbericht abfarge -->
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
">
<i class='fa fa-check-square-o' style="color:#FF8000;"></i>
</button>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2) {?>
<button type='submit' style="background-color:#333333" name="smssenden" data-toggle="tooltip" title="zugestellt am: <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['tour']->value['smsstatusdate'],"%d.%m.%Y-%H:%M");?>
Uhr" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
">
<i class='fa fa-check-square-o' style="color:#04B404;"></i>
</button>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5) {?>
<button type='submit' style="background-color:#333333" name="smssenden" data-toggle="tooltip" title="Versand fehlgeschlagen !!" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
">
<i class='fa fa-ban' style="color:#ff0000;"></i>
</button>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 99) {?>
<button type='submit' style="background-color:#333333" name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
">
<i class='fa fa-question' style="color:#FF8000;"></i>
</button>
<?php }?>
<?php }?>
</div>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8 || $_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20) {?>
<?php echo '<script'; ?>
> var tid = '<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
timer = 300000;
var refresh_EDV = setInterval(function() {
$.ajax({
type : "POST",
url : 'ajax.php?s=ssstatus&tpl',
cache : false,
data : {
id: tid,
},
dataType : "html",
success : function(data){
$("#smsstatus"+tid).html(data);
},
})
},timer);
<?php echo '</script'; ?>
>
<?php }?>
</center>
</td>
<!--
<td nowrap style="width:20px;text-align:right;font-size:11pt;" id="smsstatus<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0) {?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"><i class='fa fa-comment-o' style="color:#0080FF;"></i></button>
<?php } else { ?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"><i class='fa fa-question' style="color:#FF8000;"></i></button>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] != 0) {?>
<?php echo '<script'; ?>
>
timer = 50000;
var refresh_EDV<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
= setInterval(function() {
$.ajax({
type : "POST",
url : 'ajax.php?s=ssstatus&tpl',
cache : false,
data : {
id:<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
,
},
dataType : "html",
})
},timer);
<?php echo '</script'; ?>
>
<?php }?>
</td>
-->
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- -------------------------------------- -->
<?php } else { ?>
<div class="col-md-8">
<div class="panel panel-danger">
<div class="panel-body">
<h3>Keine Daten angelegt ...</h3>
</div>
</div>
</div>
<?php }?>
<!-- -------------------------------------->
<!-- -------------------------------------->
<!-- Sidebar -->
<aside class="col-md-4">
<!-- -------------------------------------->
<div id="rightmenu" class="panel panel-primary">
<div class="panel-heading"><h2 class="panel-title">Ausgabe <?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
- <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
</h2></div>
<section class="panel-body">
<table class="table-condensed">
<form action="" method="post">
<input type="submit" class="btn btn-link" value="alle SMS für <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
senden " name="smspower" value="kompl. Liste per SMS senden" onclick="return confirm('M&ouml;chten sie wirklich alle SMS senden ?')">
</form>
</table>
</section>
</div>
<!-- -------------------------------------->
<div id="rightmenu" class="panel panel-primary">
<section class="panel-body">
<table class="table-condensed">
<b><i><span style='font-size:12pt;line-height:115%;
color:#4F81BD'>SaSo 2020 </span></i></b>&#160;&#160;&#160;
<b><i><span style='font-size:12pt;line-height:115%;
color:#4F81BD'><a class="button-blue" href="?s=pss&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
">&laquo;</a>
&#160;&#160;<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
.KW / <?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&#160;&#160;
<a class="button-blue" href="?s=pss&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
">&raquo;</a></span></i></b>
</p>
</table>
</section>
</div>
<!-- -------------------------------------
<!-- -------------------------------------->
<div id="rightmenu" class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt; color:#4F81BD'>Kalender f&uuml;r <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
</h2></header>
<section class="panel-body">
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['maf1']->value, 'maf');
$_smarty_tpl->tpl_vars['maf']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf']->value) {
$_smarty_tpl->tpl_vars['maf']->do_else = false;
?>
<td nowrap style="width:160px;height:10px;font-size:10pt"> <?php echo $_smarty_tpl->tpl_vars['maf']->value['fahrer'];?>
</td>
<td nowrap style= "width:30px;height:10px;font-size:10pt"> <img src="/template/images/icon/<?php echo $_smarty_tpl->tpl_vars['maf']->value['icon'];?>
" width="12" height="12"/></td>
<td nowrap style="width:150px;height:10px;font-size:10pt"> <?php echo $_smarty_tpl->tpl_vars['maf']->value['bez'];?>
</td>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<!-- -------------------------------------->
<div id="rightmenu" class="panel panel-success">
<header class="panel-heading"><h2 class="panel-title">Freie Transporter (tagsüber) am <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
</h2></header>
<section class="panel-body">
<section>
<table class="no-style full" id="trp" style="font-size:10pt">
</table>
</div>
</aside>
</div>
<?php }
}

View file

@ -0,0 +1,531 @@
<?php
/* Smarty version 4.3.0, created on 2024-04-09 15:52:41
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_kal.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66154829caced7_97535419',
'has_nocache_code' => false,
'file_dependency' =>
array (
'4e65cb19f6cfbde87764722f25616db3e9ec1a2e' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_kal.tpl',
1 => 1710321203,
2 => 'file',
),
),
'includes' =>
array (
'file:tpl/ajax/_ma_subm.tpl' => 1,
),
),false)) {
function content_66154829caced7_97535419 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_subTemplateRender('file:tpl/ajax/_ma_subm.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<?php if ($_smarty_tpl->tpl_vars['j1']->value['s'] != 0) {?>
<div class="max">
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px;color: #115270"></i>
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px"><?php echo $_smarty_tpl->tpl_vars['j1']->value['j'];?>
</p></br>
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
<tbody style="background-color: #115270">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['j1']->value['a'], 'x1');
$_smarty_tpl->tpl_vars['x1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['x1']->value) {
$_smarty_tpl->tpl_vars['x1']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 9 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 15 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 77) {?>
<tr style="line-height:18px;color: #ff0000";bac> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 26 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 27 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 31) {?>
<tr style="line-height:18px;color: #00D841"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } else { ?> <tr style="line-height:18px"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php }?>
<?php $_prefixVariable1 = 4;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable1;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable1) {?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 24) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php } else {
$_prefixVariable2 = 15;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable2;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable2) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable3 = 26;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable3;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable3) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable4 = 27;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable4;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable4) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable5 = 31;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable5;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable5) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable6 = 77;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable6;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable6) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable7 = 9;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable7;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable7) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 6) {?> <td align="right" width="80px" style="color: #FF8000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php }}}}}}}?>
</tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['x1']->value['einzel'], 'solo1');
$_smarty_tpl->tpl_vars['solo1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['solo1']->value) {
$_smarty_tpl->tpl_vars['solo1']->do_else = false;
?>
<tr style="line-height:18px;background-color: #222"> <td width="120px"><?php echo $_smarty_tpl->tpl_vars['solo1']->value['datum'];?>
</td> <td align="right" width="120px"><?php echo $_smarty_tpl->tpl_vars['solo1']->value['name'];?>
</td>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</body>
</table>
</div>
<?php }
if ($_smarty_tpl->tpl_vars['j2']->value['s'] != 0) {?>
<div class="max">
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px"></i>
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px"><?php echo $_smarty_tpl->tpl_vars['j2']->value['j'];?>
</p></br>
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
<tbody style="background-color: #115270">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['j2']->value['a'], 'x1');
$_smarty_tpl->tpl_vars['x1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['x1']->value) {
$_smarty_tpl->tpl_vars['x1']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 9 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 15 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 77) {?>
<tr style="line-height:18px;color: #ff0000"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 26 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 27 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 31) {?>
<tr style="line-height:18px;color: #00D841"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } else { ?> <tr style="line-height:18px"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php }?>
<?php $_prefixVariable8 = 4;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable8;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable8) {?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 24) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php } else {
$_prefixVariable9 = 15;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable9;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable9) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable10 = 26;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable10;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable10) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable11 = 27;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable11;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable11) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable12 = 31;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable12;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable12) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable13 = 77;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable13;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable14 = 9;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable14;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable14) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 6) {?> <td align="right" width="80px" style="color: #FF8000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php }}}}}}}?>
</tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['x1']->value['einzel'], 'solo1');
$_smarty_tpl->tpl_vars['solo1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['solo1']->value) {
$_smarty_tpl->tpl_vars['solo1']->do_else = false;
?>
<tr style="line-height:18px;background-color: #222"> <td width="120px"><?php echo $_smarty_tpl->tpl_vars['solo1']->value['datum'];?>
</td> <td align="right" width="120px"><?php echo $_smarty_tpl->tpl_vars['solo1']->value['name'];?>
</td>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</body>
</table>
</div>
<?php }
if ($_smarty_tpl->tpl_vars['j3']->value['s'] != 0) {?>
<div class="max">
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px"></i>
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px"><?php echo $_smarty_tpl->tpl_vars['j3']->value['j'];?>
</p></br>
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
<tbody style="background-color: #115270">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['j3']->value['a'], 'x1');
$_smarty_tpl->tpl_vars['x1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['x1']->value) {
$_smarty_tpl->tpl_vars['x1']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 9 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 15 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 77) {?>
<tr style="line-height:18px;color: #ff0000"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 26 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 27 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 31) {?>
<tr style="line-height:18px;color: #00D841"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } else { ?> <tr style="line-height:18px"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php }?>
<?php $_prefixVariable15 = 4;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable15;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable15) {?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 24) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php } else {
$_prefixVariable16 = 15;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable16;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable16) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable17 = 26;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable17;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable17) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable18 = 27;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable18;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable18) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable19 = 31;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable19;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable19) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable20 = 77;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable20;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable20) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable21 = 9;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable21;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable21) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 6) {?> <td align="right" width="80px" style="color: #FF8000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php }}}}}}}?>
</tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['x1']->value['einzel'], 'solo1');
$_smarty_tpl->tpl_vars['solo1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['solo1']->value) {
$_smarty_tpl->tpl_vars['solo1']->do_else = false;
?>
<tr style="line-height:18px;background-color: #222"> <td width="120px"><?php echo $_smarty_tpl->tpl_vars['solo1']->value['datum'];?>
</td> <td align="right" width="120px"><?php echo $_smarty_tpl->tpl_vars['solo1']->value['name'];?>
</td>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</body>
</table>
</div>
<?php }
if ($_smarty_tpl->tpl_vars['j4']->value['s'] != 0) {?>
<div class="max">
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px"></i>
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px"><?php echo $_smarty_tpl->tpl_vars['j4']->value['j'];?>
</p></br>
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
<tbody style="background-color: #115270">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['j4']->value['a'], 'x1');
$_smarty_tpl->tpl_vars['x1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['x1']->value) {
$_smarty_tpl->tpl_vars['x1']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 9 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 15 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 77) {?>
<tr style="line-height:18px;color: #ff0000"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 26 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 27 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 31) {?>
<tr style="line-height:18px;color: #00D841"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } else { ?> <tr style="line-height:18px"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php }?>
<?php $_prefixVariable22 = 4;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable22;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable22) {?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 24) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php } else {
$_prefixVariable23 = 15;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable23;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable23) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable24 = 26;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable24;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable24) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable25 = 27;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable25;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable25) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable26 = 31;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable26;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable26) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable27 = 77;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable27;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable27) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable28 = 9;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable28;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable28) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 6) {?> <td align="right" width="80px" style="color: #FF8000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php }}}}}}}?>
</tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['x1']->value['einzel'], 'solo1');
$_smarty_tpl->tpl_vars['solo1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['solo1']->value) {
$_smarty_tpl->tpl_vars['solo1']->do_else = false;
?>
<tr style="line-height:18px;background-color: #222"> <td width="120px"><?php echo $_smarty_tpl->tpl_vars['solo1']->value['datum'];?>
</td> <td align="right" width="120px"><?php echo $_smarty_tpl->tpl_vars['solo1']->value['name'];?>
</td>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</body>
</table>
</div>
<?php }
}
}

View file

@ -0,0 +1,816 @@
<?php
/* Smarty version 4.3.0, created on 2024-03-28 09:08:14
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/listen.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_6605256e1d4442_27748519',
'has_nocache_code' => false,
'file_dependency' =>
array (
'4ec6832ac359386b3d480d0940e1875a1d741f16' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/listen.tpl',
1 => 1694432202,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6605256e1d4442_27748519 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
?>
<!-- <link rel="stylesheet" href="https://formden.com/static/cdn/bootstrap-iso.css" /> -->
<link rel="stylesheet" media="screen" href="lib/css/bootstrap-datepicker3.min.css" />
<?php echo '<script'; ?>
type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="lib/js/bootstrap-datepicker.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="lib/js/bootstrap-datepicker.de.min.js"><?php echo '</script'; ?>
>
<!-- --------------------------- -->
<!-- --------------------------- listenübersicht
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.3.0/css/datepicker3.min.css" />
-->
<div class="row fluid">
<!-- --------------------------- tagauswahl -->
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Datum Auswahl <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
</span></h2></header>
<div class="panel-body">
<form method="post">
<div class="form-group"> <!-- Date input -->
<input class="form-control" id="date" name="date" value="<?php echo $_smarty_tpl->tpl_vars['vdatum']->value;?>
" type="text"/>
<button class="btn btn-default" name="submit" type="submit">Datum / KW ändern</button>
</div>
</form>
</div>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;line-height:10px; color:#4F81BD'>Einsatzplan <?php echo $_smarty_tpl->tpl_vars['vdatum']->value;?>
</span></h2></header>
<section class="panel-body">
<table class="full no style" style="line-height:50px;">
<tbody>
<tr>
<td nowrap style="width:200px;font-size:14pt">Einsatzplan Nachts</td>
<!-- --------------------------- Einsatzplanung -->
<td align="right">
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_nachtplan&icon=0&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-default" href="?s=list_nachtplan&icon=1&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Delete">
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
</a>
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
<a class="btn btn-primary" href="?s=list_nachtplan&icon=2&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php } else { ?>
<a class="btn btn-primary disabled" href="?s=list_nachtplan&icon=2&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php }?>
</a>
</td>
</tr>
<!-- --------------------------- rtour pro tag -->
<tr>
<td nowrap style="width:200px;font-size:14pt">Einsatzplan ges.</td>
<td align="right">
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_tagplan&icon=0&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-default" href="?s=list_tagplan&icon=1&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Delete">
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
</a>
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
<a class="btn btn-primary" href="?s=list_tagplan&icon=2&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php } else { ?>
<a class="btn btn-primary disabled" href="?s=list_tagplan&icon=2&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php }?>
</a>
</td>
</tr>
</tbody>
</table>
</section>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Mitarbeiterlisten</span></h2></header>
<section class="panel-body">
<table class="table-hover-striped">
<tbody>
<tr>
<td nowrap align="left" style="width:200px;font-size:12pt">
<form action="" method="post">
<select name="list" style="width:150px;" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['row_fahrer_array']->value, 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<td align="right">
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_ma_simple&jahr=<?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['id'];?>
" aria-label="Settings" type=submit>
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-default" href="?s=list_ma_simple" aria-label="Skip to main navigation">
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
</a>
</form>
</td>
</tr>
<!-- --------------------------- 2. Zeile -->
</tbody>
</table>
</section>
</div>
</div>
</div>
<!-- --------------------------- Kaufland -->
<div class="row fluid">
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;line-height:10px; color:#4F81BD'>Kaufland <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
.KW/<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
</span></h2></header>
<section class="panel-body">
<table class="full no style" style="line-height:50px;">
<tbody>
<tr>
<td nowrap style="width:200px;font-size:14pt">Einsatzplanung</td>
<td align="right">
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_kaufland&icon=0&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-default" href="?s=list_kaufland&icon=1&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Delete">
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
</a>
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
<a class="btn btn-primary" href="?s=list_kaufland&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php } else { ?>
<a class="btn btn-primary disabled" href="?s=list_kaufland&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php }?>
</a>
</td>
</tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- --------------------------- Saso 2020 Einsatzplan-->
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;line-height:10px; color:#4F81BD'>Saso 2020 <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
.KW/<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
</span></h2></header>
<section class="panel-body">
<table class="full no style" style="line-height:50px;">
<tbody>
<tr>
<td nowrap style="width:200px;font-size:14pt">Einsatzplanung</td>
<!-- --------------------------- Einsatzplanung -->
<td align="right">
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_saso2020&icon=0&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-default" href="?s=list_saso2020&icon=1&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Delete">
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
</a>
</a>
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
<a class="btn btn-primary" href="?s=list_saso2020&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php } else { ?>
<a class="btn btn-primary disabled" href="?s=list_saso2020&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php }?>
</a>
</td>
</tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- --------------------------- Saso 2020 Infoliste Frank-->
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;line-height:10px; color:#4F81BD'>Saso 2020 <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
.KW/<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
</span></h2></header>
<section class="panel-body">
<table class="full no style" style="line-height:50px;">
<tbody>
<tr>
<td nowrap style="width:200px;font-size:14pt">U.-Liste</td>
<!-- --------------------------- Einsatzplanung -->
<td align="right">
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_saso2020u&icon=0&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-default" href="?s=list_saso2020u&icon=1&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Delete">
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
</a>
</a>
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
<a class="btn btn-primary" href="?s=list_saso2020u&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php } else { ?>
<a class="btn btn-primary disabled" href="?s=list_saso2020&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php }?>
</a>
</td>
</tr>
</tbody>
</table>
</section>
</div>
</div>
</div>
<!-- --------------------------- R-ZTour -->
<div class="row fluid">
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;line-height:10px; color:#4F81BD'>RTour - <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
.KW / <?php echo $_smarty_tpl->tpl_vars['vdatum']->value;?>
</span></h2></header>
<section class="panel-body">
<table class="full no style" style="line-height:50px;">
<tbody>
<tr>
<td nowrap style="width:200px;font-size:14pt">RTour <?php echo $_smarty_tpl->tpl_vars['vdatum']->value;?>
</td>
<!-- --------------------------- Einsatzplanung -->
<td align="right">
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_rpin2&icon=0&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-default" href="?s=list_rpin2&icon=1&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Delete">
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
</a>
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
<a class="btn btn-primary" href="?s=list_rpin2&icon=2&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php } else { ?>
<a class="btn btn-primary disabled" href="?s=list_rpin2&icon=2&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php }?>
</a>
</td>
</tr>
<!-- --------------------------- rtour pro tag -->
<tr>
<td nowrap style="width:200px;font-size:14pt">Rtour <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
.KW <?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
</td>
<td align="right">
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_rpin1&icon=0&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-default" href="?s=list_rpin1&icon=1&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="save">
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
</a>
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
<a class="btn btn-primary" href="?s=list_rpin1&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="mail send">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php } else { ?>
<a class="btn btn-primary disabled" href="?s=list_rpin1&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="mail send">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php }?>
</a>
</td>
</tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- --------------------------- PIN AG -->
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;line-height:10px; color:#4F81BD'>LVZ POST AG - <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
.KW / <?php echo $_smarty_tpl->tpl_vars['vdatum']->value;?>
</span></h2></header>
<section class="panel-body">
<table class="full no style" style="line-height:50px;">
<tbody>
<tr>
<td nowrap style="width:200px;font-size:14pt">PIN AG <?php echo $_smarty_tpl->tpl_vars['vdatum']->value;?>
</td>
<!-- --------------------------- Einsatzplanung -->
<td align="right">
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_pinag2&icon=0&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-default" href="?s=list_pinag2&icon=1&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Delete">
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
</a>
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
<a class="btn btn-primary" href="?s=list_pinag2&icon=2&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php } else { ?>
<a class="btn btn-primary disabled" href="?s=list_pinag2&icon=2&tag=<?php echo $_smarty_tpl->tpl_vars['linkt']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php }?>
</a>
</td>
</tr>
<!-- --------------------------- rtour pro tag -->
<tr>
<td nowrap style="width:200px;font-size:14pt">PIN AG <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
.KW <?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
</td>
<td align="right">
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_pinag1&icon=0&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-default" href="?s=list_pinag1&icon=1&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="save">
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
</a>
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
<a class="btn btn-primary" href="?s=list_pinag1&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="mail send">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php } else { ?>
<a class="btn btn-primary disabled" href="?s=list_pinag1&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="mail send">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php }?>
</a>
</td>
</tr>
</tbody>
</table>
</section>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Paletten Ag-Touren</span></h2></header>
<section class="panel-body">
<table class="table-hover-striped">
<tbody>
<tr>
<td nowrap style="width:200px;font-size:14pt">PIN Pal. <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
.KW <?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
</td>
<td align="right">
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_pinpal1&icon=0&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-default" href="?s=list_pinpal1&icon=1&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="save">
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-primary" href="?s=list_pinpal1&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="mail send">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
</a>
</td>
</tr>
<!-- --------------------------- freies Fenster -->
<tr>
<td nowrap style="width:200px;font-size:14pt">PIN Pal. <?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
</td>
<td align="right">
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_pinpal2&icon=0&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-default" href="?s=list_pinpal2&icon=1&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="save">
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-primary" href="?s=list_pinpal2&icon=2&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="mail send">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
</a>
</td>
</tr>
</tbody>
</table>
</section>
</div>
</div>
</div>
<!-- --------------------------- Sonder-Listen -->
<div class="row fluid">
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;line-height:10px; color:#4F81BD'>Sonder-Listen <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
.KW/<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
</span></h2></header>
<section class="panel-body">
<table class="full no style" style="line-height:50px;">
<tbody>
<tr>
<td nowrap style="width:200px;font-size:14pt">Werbeliste <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
.KW</td>
<!-- --------------------------- Einsatzplanung -->
<td align="right">
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_komplett&icon=0&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-default" href="?s=list_komplett&icon=1&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Delete">
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
</a>
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
<a class="btn btn-primary" href="?s=list_komplett&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="mail send">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php } else { ?>
<a class="btn btn-primary disabled" href="?s=list_komplett&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="mail send">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php }?>
</a>
</td>
</tr>
<!-- --------------------------- -->
<tr>
<td nowrap style="width:200px;font-size:14pt">Ges.Liste <?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
</td>
<!-- --------------------------- Einsatzplanung -->
<td align="right">
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_monat&icon=0&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-default" href="?s=list_monat&icon=1&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Delete">
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
</a>
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
<a class="btn btn-primary" href="?s=list_monat&icon=2&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="mail send">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php } else { ?>
<a class="btn btn-primary disabled" href="?s=list_monat&icon=2&monat=<?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="mail send">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php }?>
</a>
</td>
</tr>
</tbody>
</table>
</section>
</div>
</div>
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Fahrzeugliste</span></h2></header>
<section class="panel-body">
<table class="full no style" style="line-height:50px;">
<tbody>
<tr>
<td nowrap style="width:200px;font-size:14pt">Fahrzeugliste aktiv</td>
<!-- --------------------------- Einsatzplanung -->
<td align="right">
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_car" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-default" href="?s=list_car&icon=1" aria-label="Delete">
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
</a>
</td>
</tr>
<!-- --------------------------- -->
<tr>
<td nowrap style="width:200px;font-size:14pt">Fahrzeug einzeln</td>
<!-- --------------------------- Einsatzplanung -->
<td align="right">
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_cargesamt&icon=0" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-default" href="?s=list_cargesamt&icon=1" aria-label="Delete">
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
</a>
</td>
</tr>
</tbody>
</table>
</section>
</div>
</div>
<!-- --------------------------- FAZ-Listen -->
<div class="row fluid">
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;line-height:10px; color:#4F81BD'>FAZ-Listen <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
.KW/<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
</span></h2></header>
<section class="panel-body">
<table class="full no style" style="line-height:50px;">
<tbody>
<tr>
<td nowrap style="width:200px;font-size:14pt">Einsatzplan <?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
.KW</td>
<!-- --------------------------- Einsatzplanung -->
<td align="right">
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_fazeinsatz&icon=0&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-default" href="?s=list_fazeinsatz&icon=1&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Delete">
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
</a>
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
<a class="btn btn-primary" href="?s=list_fazeinsatz&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="mail send">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php } else { ?>
<a class="btn btn-primary disabled" href="?s=list_fazeinsatz&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="mail send">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php }?>
</a>
</td>
</tr>
<!-- --------------------------- -->
<tr>
<td nowrap style="width:200px;font-size:14pt">Ges.Liste <?php echo $_smarty_tpl->tpl_vars['linkm']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
</td>
<!-- --------------------------- Einsatzplanung -->
<td align="right">
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_faz_g&icon=0&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
<a class="btn btn-default" href="?s=list_faz_g&icon=1&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="Delete">
<i class="fa fa-download fa-ls" aria-hidden="true"></i>
</a>
<?php if ($_smarty_tpl->tpl_vars['kw']->value == $_smarty_tpl->tpl_vars['wahl_kw']->value) {?>
<a class="btn btn-primary" href="?s=list_faz_g&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="mail send">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php } else { ?>
<a class="btn btn-primary disabled" href="?s=list_faz_g&icon=2&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
" aria-label="mail send">
<i class="fa fa-envelope-o fa-ls" aria-hidden="true"></i>
<?php }?>
</a>
</td>
</tr>
</tbody>
</table>
</section>
</div>
</div>
</div> </div>
<!-- href="?s=list_ma_simple&jahr=<?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['id'];?>
"
<a align="right" class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_faz_w&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
&fazid=" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
-->
<?php echo '<script'; ?>
> var jahr = '<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
function save_id(kw,jahr) {
// alert($("#faz_").val());
// $("#faz_div").html(); // wert lesen
$("#faz_div").html('<a align="right" class="btn btn-danger" target="_pdf" onClick="javascript:open(\'\', \'_pdf\', \'height=800,width=600,resizable=yes\')" href="?s=list_faz_w&kw=<?php echo $_smarty_tpl->tpl_vars['wahl_kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['linky']->value;?>
&fazid='+$("#faz_").val()+'" aria-label="Settings"><i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i></a>');
}
<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
$(document).ready(function(){
var date_input=$('input[name="date"]'); //our date input has the name "date"
var container=$('.bootstrap-iso form').length>0 ? $('.bootstrap-iso form').parent() : "body";
date_input.datepicker({
language: "de",
daysOfWeekHighlighted: "0",
calendarWeeks: true,
autoclose: true,
orientation: "bottom auto",
beforeShowYear: function (date){
if (date.getFullYear()) {
return date.getFullYear;
}
},
todayHighlight: true,
})
})
<?php echo '</script'; ?>
>
<?php }
}

View file

@ -0,0 +1,85 @@
<?php
/* Smarty version 4.3.0, created on 2024-06-27 09:31:22
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/list_tag.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_667d154a15b9f1_92346951',
'has_nocache_code' => false,
'file_dependency' =>
array (
'50f12068c11361724c81e9b77ed48f5b34cb4790' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/list_tag.tpl',
1 => 1694432202,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_667d154a15b9f1_92346951 (Smarty_Internal_Template $_smarty_tpl) {
?>
<?php echo '<script'; ?>
src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.3.0/js/bootstrap-datepicker.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="lib/js/bootstrap-datepicker.de.min.js" charset="UTF-8"><?php echo '</script'; ?>
>
<link rel="stylesheet" media="screen" href="lib/css/bootstrap.css" />
<b><i><span style='font-size:16pt;line-height:115%;
color:#4F81BD'>Tagliste als PDF erstellen</span></i></b></p>
<?php echo '<script'; ?>
>
$(document).ready(function() {
$('#datePicker')
.datepicker({
format: 'dd.mm.yyyy',
language: 'de'
})
});
<?php echo '</script'; ?>
>
<!--
<form action="" method="post">
<table class="no-style full">
<tbody>
<tr>
<td><strong>Tagauswahl: </strong><input data-provide="datepicker" type="text" value="<?php echo $_smarty_tpl->tpl_vars['vdatum']->value;?>
" name="datumstadt">
<input type="submit" name="datesave" value="PDF-erstellen" ></td>
</tr>
</tbody>
</table>
</form>
-->
<form id="eventForm" method="post" class="form-horizontal">
<div class="form-group">
<label class="col-xs-3 control-label">Tagauswahl</label>
<div class="col-xs-5 date">
<div class="input-group input-append date" value="<?php echo $_smarty_tpl->tpl_vars['vdatum']->value;?>
id="datePicker">
<input type="text" class="form-control" name="date" />
<span class="input-group-addon add-on"><span class="glyphicon glyphicon-calendar"></span></span>
</div>
<input type="submit" name="datesave" value="PDF-erstellen" >
</div>
</div>
</form>
</div><?php }
}

View file

@ -0,0 +1,60 @@
<?php
/* Smarty version 4.3.0, created on 2024-07-23 08:16:21
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ue_iloscan2.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_669f4ab5237fd6_68237798',
'has_nocache_code' => false,
'file_dependency' =>
array (
'55492a090af5e2c5801645960011349473fa9f75' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ue_iloscan2.tpl',
1 => 1721715375,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_669f4ab5237fd6_68237798 (Smarty_Internal_Template $_smarty_tpl) {
?>
<table class="no-style full" style="color: #000;line-height: 2;margin: 10px">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['data2']->value, 'onl');
$_smarty_tpl->tpl_vars['onl']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['onl']->value) {
$_smarty_tpl->tpl_vars['onl']->do_else = false;
?>
<tr style="line-height:18px">
<?php if ($_smarty_tpl->tpl_vars['onl']->value['collie'] == 0) {?> <td width="80px">gesamt</td> <?php } else { ?> <td width="80px">Pack. <?php echo $_smarty_tpl->tpl_vars['onl']->value['collie'];?>
</td> <?php }?>
<td nowarp width="160px"><?php echo $_smarty_tpl->tpl_vars['onl']->value['datum'];?>
</td>
<td nowarp width="300px"><?php echo $_smarty_tpl->tpl_vars['onl']->value['beschreibung'];?>
</td>
<td nowarp width="300px"><?php echo $_smarty_tpl->tpl_vars['onl']->value['empfaenger'];?>
</td>
</tr>
<!--
<tr style="line-height:18px"> <td width="99px">Scan : </td> <td width="260px"><?php echo $_smarty_tpl->tpl_vars['onl']->value['datum'];?>
</td> </tr>
<tr style="line-height:18px"> <td width="99px">Status : </td> <td width="260px"><?php echo $_smarty_tpl->tpl_vars['onl']->value['status'];?>
-<?php echo $_smarty_tpl->tpl_vars['onl']->value['beschreibung'];?>
</td> </tr>
<tr style="line-height:18px"> <td width="99px">Packst Nr.: </td> <td width="260px"><?php echo $_smarty_tpl->tpl_vars['onl']->value['collie'];?>
- <?php echo $_smarty_tpl->tpl_vars['onl']->value['empfaenger'];?>
</td> </tr>
<tr style="line-height:18px"> <td width="99px">--------------------</td> <td width="260px">------------------------------------------------</td> </tr>
-->
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</body>
</table><?php }
}

View file

@ -0,0 +1,53 @@
<?php
/* Smarty version 4.3.0, created on 2024-08-18 13:50:46
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/p_night_free_ma.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66c1e016882709_59610097',
'has_nocache_code' => false,
'file_dependency' =>
array (
'569742d09222a091df86349f30ff244d69dfb6ae' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/p_night_free_ma.tpl',
1 => 1723981817,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66c1e016882709_59610097 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="panel panel-tbox">
<header class="panel-heading" style="font-size: 14pt">
<span style="font-size: 14pt" class="far fa-moon-stars pull-left"></span>
<span style="font-size: 12pt"> &nbsp;&nbsp;verfügbar</span>
</header>
<div class="panel-body">
<table class="no-style full" style="margin:-9px;line-height:20px">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['data']->value, 'fc');
$_smarty_tpl->tpl_vars['fc']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['fc']->value) {
$_smarty_tpl->tpl_vars['fc']->do_else = false;
?>
<tr>
<td style="width:25px;font-size:12pt">
<?php if ($_smarty_tpl->tpl_vars['fc']->value['icon'] == 0) {?> <i class="far fa-user-check" style="color: forestgreen"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['fc']->value['icon'] == 1) {?> <i class="far fa-user-tag" style="color: orange"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['fc']->value['icon'] == 2) {?> <i class="far fa-user-times" style="color: crimson"></i> <?php }?>
</td>
<td nowrap style="width:200px;font-size:10pt;">&nbsp;<strong><?php echo $_smarty_tpl->tpl_vars['fc']->value['name'];?>
</strong></td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
</div>
<?php }
}

View file

@ -0,0 +1,120 @@
<?php
/* Smarty version 4.3.0, created on 2024-08-20 13:49:37
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/i_info.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66c482d18a3c04_37583683',
'has_nocache_code' => false,
'file_dependency' =>
array (
'5bc221443aaa3d30d6f22e377203405bee1ea69a' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/i_info.tpl',
1 => 1724154526,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66c482d18a3c04_37583683 (Smarty_Internal_Template $_smarty_tpl) {
?><link rel="stylesheet" type="text/css" href="lib/css/dropzone.css" />
<?php echo '<script'; ?>
type="text/javascript" src="lib/js/dropzone.js"><?php echo '</script'; ?>
>
<div class="row sortable">
<div class="col-md-6">
<div class="panel panel-primary">
<div class="panel-body">
<table class="no-style full">
<tbody>
<form action="upload24.php" method="post" enctype="multipart/form-data">
<h2><input type="file" name="datei"> </h2>
<input type="submit" value="Hochladen"> <br>
</form>
</tbody>
</table>
</div>
</div>
<div class="panel panel-primary">
<div class="panel-body">
<table class="no-style full">
<tbody>
<form action="up_np.php" method="post" enctype="multipart/form-data">
<h2><input type="file" name="datei">Normplan !!</h2>
<h4>Steuerdatei xx.KW !!!</h4>
<input type="submit" value="Hochladen"> <br>
</form>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-primary">
<div class="panel-body">
<table class="no-style full">
<tbody>
<form action="uploadp1.php" method="post" enctype="multipart/form-data">
<h2><input type="file" name="datei"> </h2>
<input type="submit" value="PDF I Parser"> <br>
</form>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-primary">
<div class="panel-body">
<table class="no-style full">
<tbody>
<form action="up_round_ss2020.php" method="post" enctype="multipart/form-data">
<h2>nur SASO 2020 neu !!</h2>
<h2><input type="file" name="datei"> </h2>
<input type="submit" value="Upload"> <br>
</form>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-primary">
<div class="panel-body">
<table class="no-style full">
<tbody>
<form action="tankrechnung.php" method="post" enctype="multipart/form-data">
<h2 style="color: aqua">Rechnung</h2>
<h2><input type="file" name="datei"> </h2>
<h4>Tankrechnung CSV</h4>
<input type="submit" value="Upload"> <br>
</form>
</tbody>
</table>
</div>
</div>
</div>
</div>
<?php }
}

View file

@ -0,0 +1,309 @@
<?php
/* Smarty version 4.3.0, created on 2024-05-30 15:24:58
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_kalender.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66587e2acac186_66181579',
'has_nocache_code' => false,
'file_dependency' =>
array (
'5c1316771d5e507391f61bbcb6060d7333bfab79' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_kalender.tpl',
1 => 1704665562,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66587e2acac186_66181579 (Smarty_Internal_Template $_smarty_tpl) {
?><div id="spinner-div" class="pt-5">
<div class="spinner-border text-primary" role="status">
<i class="fas fa-spinner fa-pulse fa-10x"></i>
<p>Loading...</p>
</div>
</div>
<section class="col-md-12">
<div class="row sortable">
<!-- Mitarbeiterliste -->
<div class="col-md-4">
<div class="mwahl">
<select style="width:100%;font-size:16pt;background-color:#115270;border-color:#115270" name="mitarbeiter" id="maID" onChange="sel1()">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['malist']->value, 'mlist');
$_smarty_tpl->tpl_vars['mlist']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['mlist']->value) {
$_smarty_tpl->tpl_vars['mlist']->do_else = false;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['mlist']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['mlist']->value['name'];?>
</option>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</div>
</div>
<!-- Kalender-Grund -->
<div class="col-md-4">
<div class="mwahl">
<select style="width:100%;font-size:16pt;background-color:#115270;border-color:#115270" name="grund" id="grund" onChange="sel2()">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kglist']->value, 'klist');
$_smarty_tpl->tpl_vars['klist']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['klist']->value) {
$_smarty_tpl->tpl_vars['klist']->do_else = false;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['klist']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['klist']->value['bez'];?>
</option>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</div>
</div>
<!-- summe
<div class="col-md-2">
<div class="mwahl" id="urlaub" align="center" style="font-size:8pt">
<p>Bitte Mitarbeiter auswählen.</p>
</div>
</div>
-->
<!-- Jahresauswahl -->
<!-- Kalender-Grund -->
<div class="col-md-4">
<div class="mwahl">
<select style="width:100%;font-size:16pt;background-color:#115270;border-color:#115270" name="jahr" id="jahr" onChange="sel3()">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['j_wahl']->value, 'jw');
$_smarty_tpl->tpl_vars['jw']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['jw']->value) {
$_smarty_tpl->tpl_vars['jw']->do_else = false;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['jw']->value;?>
" selected=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
><?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</option>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</div>
</div>
<!--
<div class="col-md-2">
<div class="mwahl" align="center">
<div class="btn-group">
<a class="btn btn-primary btn-sm" href="?s=kalender&wahl=3&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-arrow-left" aria-hidden="true"></i>
</a>
<button type="button" class="btn btn-sm" style="font-size:12pt;background-color:#115270"><?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</button>
</a>
<a class="btn btn-primary btn-sm" href="?s=kalender&wahl=4&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-arrow-right" aria-hidden="true"></i>
</a>
</div>
</div>
</div>
-->
</div>
</section>
<!------------------------------------------------>
<?php echo '<script'; ?>
> var jahr = '<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var mitarbeiter = '<?php echo $_smarty_tpl->tpl_vars['madata']->value['mid'];?>
';<?php echo '</script'; ?>
>
<style>
ul.nav-tabs > li {
width: 33%;
text-align: center;
}
</style>
<?php echo '<script'; ?>
>
function sel1() {
var mdata = $("#maID").val();
$('#spinner-div').show();
$.ajax({
type: 'POST',
url: "ajax.php?s=kal_load&tpl",
dataType: 'html',
data: 'maID=' + mdata,
success: function (data) {
console.log(data)
$("#kaledit").html(data);
$('#spinner-div').hide();
}
});
}
function sel2() {
var mdata = $("#grund").val();
$('#spinner-div').show();
$.ajax({
type: 'POST',
url: "ajax.php?s=kal_load&tpl",
dataType: 'html',
data: 'grund=' + mdata,
success: function (data) {
console.log(data)
$("#kaledit").html(data);
$('#spinner-div').hide();
}
});
}
function sel3() {
var mdata = $("#jahr").val();
$('#spinner-div').show();
$.ajax({
type: 'POST',
url: "ajax.php?s=kal_load&tpl",
dataType: 'html',
data: 'jahr=' + mdata,
success: function (data) {
console.log(data)
$("#kaledit").html(data);
$('#spinner-div').hide();
}
});
}
function ma_wahl(jahr) {
$('#spinner-div').show();
var mdata = $("#maID").val();
$.ajax({
type: 'POST',
url: "ajax.php?s=kal_load&tpl",
dataType: 'html',
data: 'jahr=' + jahr + "&maID=" + mdata,
success: function (data) {
console.log(data)
$("#kaledit").html(data);
$('#spinner-div').hide();
}
});
}
function kaledit2(time,maID,gID) {
var remember = document.getElementById('info_'+time);
if (remember.checked){
var istC = 1;
}else{
var istC = 0;
}
$.ajax({
type: 'POST',
url: "ajax.php?s=kal_save&a=date_save",
dataType: 'json',
data: 'time=' + time + "&maID="+maID+"&istC="+istC+"&gID="+gID,
beforeSend:function() {
$('.loader').show();
},
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});load_free_urlaub(mitarbeiter,jahr)
}
load_free_urlaub(mitarbeiter,jahr);
$(document).ready(function () {
$("#do-call").click(function () {//The load button
$('#spinner-div').show();//Load button clicked show spinner
$.ajax({
url: "https://jb-data.de/",
type: 'GET',
dataType: 'json',
success: function (res) {
//On success do something....
},
complete: function () {
$('#spinner-div').hide();//Request is complete so hide spinner
}
});
});
});
<?php echo '</script'; ?>
>
<style>
.loader{
display: none;
}
.mwahl {
align-content: center;
background: #115270;
color: #aaaaaa;
padding: 5px;
border: 1px solid;
border-radius:6px;
margin-left: 0px;
margin-top: -10px;
margin-bottom: 10px;
height: 45px;
}
.malist {
background: #115270;
color: #808080;
padding: 5px;
border: 1px solid;
border-radius:6px;
margin-top: -12px;
margin-bottom: 60px;
}
</style>
<?php }
}

View file

@ -0,0 +1,598 @@
<?php
/* Smarty version 4.3.0, created on 2024-11-08 09:54:55
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/iss.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_672dd1df2789c1_16621835',
'has_nocache_code' => false,
'file_dependency' =>
array (
'6ce840e5e374515f05e2eacb60ac90a20690713d' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/iss.tpl',
1 => 1731055840,
2 => 'file',
),
),
'includes' =>
array (
'file:tpl/_iss_datakopf.tpl' => 1,
'file:tpl/_iss_data.tpl' => 1,
),
),false)) {
function content_672dd1df2789c1_16621835 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
?>
<!-- <link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/4.7.0.css/font-awesome.css" media="all" type="text/css" />
********** -->
<style>
input[type=text] {
width: 250px;
border:none;
border-bottom: 1px solid #333333;
color: #dcdcdc;
background-color: #222222;
}
input[type=number] {
width: 250px;
border:none;
border-bottom: 1px solid #333333;
color: #dcdcdc;
background-color: #222222;
}
</style>
<?php echo '<script'; ?>
>
$(document).ready(function() {
$("[rel=popover]").popover({'trigger':'hover'});
});
function save_exemplare(tourID) {
$.ajax({
type: 'POST',
url: "ajax.php?s=isaso&a=save_exemplare",
dataType: 'json',
data: 'tourID=' + tourID + "&exemplare=" + $("#exemplare_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
function save_gewicht3(tourID) {
$.ajax({
type: 'POST',
url: "ajax.php?s=isaso&a=save_gewicht3",
dataType: 'json',
data: 'tourID=' + tourID + "&gewicht3=" + $("#gewicht3_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
function save_abst(tourID) {
$.ajax({
type: 'POST',
url: "ajax.php?s=isaso&a=save_abst",
dataType: 'json',
data: 'tourID=' + tourID + "&abst=" + $("#abst_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
function save_gewicht9(tourID) {
$.ajax({
type: 'POST',
url: "ajax.php?s=isaso&a=save_gewicht9",
dataType: 'json',
data: 'tourID=' + tourID + "&gewicht9=" + $("#gewicht9_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
function save_time(tourID) {
$.ajax({
type: 'POST',
url: "ajax.php?s=isaso&a=time_save",
dataType: 'json',
data: 'tourID=' + tourID + "&zeit=" + $("#zeit_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'warning',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
function save_gewicht(tourID) {
$.ajax({
type: 'POST',
url: "ajax.php?s=isaso&a=save_gewicht",
dataType: 'json',
data: 'tourID=' + tourID + "&gewicht=" + $("#gewicht_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
function save_pakete(tourID) {
$.ajax({
type: 'POST',
url: "ajax.php?s=isaso&a=save_pakete",
dataType: 'json',
data: 'tourID=' + tourID + "&pakete=" + $("#pakete_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
function save_pakete2(tourID) {
$.ajax({
type: 'POST',
url: "ajax.php?s=isaso&a=save_pakete2",
dataType: 'json',
data: 'tourID=' + tourID + "&pakete2=" + $("#pakete2_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
function amtsblatt(tourID) {
$.ajax({
type: 'POST',
url: "ajax.php?s=isaso&a=save_amtsblatt",
dataType: "json",
//contentType: "application/json; charset=utf-8",
data: 'tourID=' + tourID,
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote,
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "top",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
}
});
}
<?php echo '</script'; ?>
>
<style>
[rel="popover"]{
cursor: pointer;
display:inline-block; /* chrome-fix */
}
</style>
<!-- ********** --> <div class="container-fluid">
<div class="row">
<!-- Main Section -- mittlere Spalte -->
<div class="col-md-8">
<?php if ($_smarty_tpl->tpl_vars['sa11']->value != 0) {?>
<!-- <a style="width:90px;font-size:8pt" align="left">06:00 Uhr - <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
- Block 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(<?php echo $_smarty_tpl->tpl_vars['sa11']->value;?>
Touren)</a> -->
<div class="panel panel-danger">
<div class="panel-body">
<table class="table-hover" style="font-size:11pt">
<?php $_smarty_tpl->_subTemplateRender('file:tpl/_iss_datakopf.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['s11']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<?php $_smarty_tpl->_subTemplateRender('file:tpl/_iss_data.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<?php }?>
<!-- -------------------------------------->
<!-- -------------------------------------->
<!-- -------------------------------------->
<!-- -------------------------------------->
<!-- -------------------------------------->
<!-- -------------------------------------->
<!-- -------------------------------------->
<!-- -------------------------------------->
</div>
<!-- -------------------------------------->
<!-- rechte seite -->
<!-- -------------------------------------->
<!-- Sidebar -->
<aside class="col-md-4">
<div id="rightmenu" class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Datum wechseln</h2></div>
<section class="panel-body">
<table class="table-condensed">
<b><i><span style='font-size:12pt;line-height:115%;
color:#4F81BD'>SaSo 2020 </span></i></b>&#160;&#160;&#160;
<b><i><span style='font-size:12pt;line-height:115%;
color:#4F81BD'><a class="button-blue" href="?s=iss&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
">&laquo;</a>
&#160;&#160;<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
.KW / <?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&#160;&#160;
<a class="button-blue" href="?s=iss&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
">&raquo;</a></span></i></b>
</p>
</table>
</section>
</div>
<!-- -------------------------------------->
<!-- -------------------------------------->
<div id="rightmenu" class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Download MPV Daten</h2></div>
<table class="table-condensed">
<tr>
<?php if ($_smarty_tpl->tpl_vars['mpvcopycheck']->value != 0) {?>
<?php if ($_smarty_tpl->tpl_vars['tdl']->value != 0) {?>
<td>
<form action="" method="post">
<button type="submit" class="btn btn disabled" value="kopieren" name="tcopy" value="kompl. Liste Zeitkopie">
<i style="font-size: 40pt;color:#200ADF" class="far fa-spinner fa-pulse fa-lg"></i>
</form>
</td>
<?php } else { ?>
<td>
<form action="" method="post">
<button type="submit" class="btn btn" value="Zeiten kopieren" name="tcopy" value="kompl. Liste Zeitkopie">
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
</form>
</td>
<?php }?>
<td>
<form action="" method="post">
<button type="submit" class="btn btn" value="Zeiten kopieren" name="timecopy" value="kompl. Liste Zeitkopie">
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
</form>
</td>
<td>
<form action="" method="post">
<button type="submit" class="btn btn" value="Zeiten kopieren" name="timecopy" value="kompl. Liste Zeitkopie">
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
</form>
</td>
<?php } else { ?>
<td>
<form action="" method="post">
<button type="submit" class="btn btn disabled" value="kopieren" name="tcopy" value="kompl. Liste Zeitkopie">
<i style="font-size: 40pt;color:#550405" class="far fa-copy fa-lg"></i>
</form>
</td>
<td>
<form action="" method="post">
<button type="submit" class="btn btn disabled" value="kopieren" name="timecopy" value="kompl. Liste Zeitkopie">
<i style="font-size: 40pt;color:#550405" class="far fa-copy fa-lg"></i>
</form>
</td>
<td>
<form action="" method="post">
<button type="submit" class="btn btn disabled" value="kopieren" name="timecopy" value="kompl. Liste Zeitkopie">
<i style="font-size: 40pt;color:#550405" class="far fa-copy fa-lg"></i>
</form>
</td>
<?php }?>
<td>
<!-- Amtsblattcopy -->
<?php if ($_smarty_tpl->tpl_vars['abcopycheck']->value != 0) {?>
<form action="" method="post">
<button type="submit" class="btn btn" value="AB kopieren" name="abcopy" value="kompl. Liste Zeitkopie">
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
</form>
<?php } else { ?>
<form action="" method="post">
<button type="submit" class="btn btn disabled" value="AB kopieren" name="abcopy" value="kompl. Liste Zeitkopie">
<i style="font-size: 40pt;color:#550405" class="far fa-copy fa-lg"></i>
</form>
<?php }?>
</td>
</tr>
<tr>
<?php if ($_smarty_tpl->tpl_vars['tdl']->value != 0) {?>
<td><?php echo $_smarty_tpl->tpl_vars['tdl']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['tsumme']->value;?>
</td>
<?php } else { ?>
<td>Grunddaten</td>
<?php }?>
<td>Planzeiten</td>
<td>Endzeiten</td>
<td>Amtsblatt</td>
</tr>
</table>
<!--
<section class="panel-body" id="download" >
<form action="" method="post">
<button type="submit" class="btn btn" value="Zeiten kopieren" name="tcopy" value="kompl. Liste Zeitkopie">
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
</form>
</section>
-->
</div>
<!-- ------------------------------------ -->
<?php if ($_smarty_tpl->tpl_vars['tnorm']->value == 0) {?>
<div id="rightmenu" class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Stadt-Touren Paketnorm <?php echo $_smarty_tpl->tpl_vars['norm']->value;?>
St.</h2></div>
<section class="panel-body">
<table class="table-condensed">
<form action="" method="post">
<label for="sasonorm">SaSo-Norm:&nbsp;</label>
<input type="text" style="width:30px;" name="sasonorm" value="<?php echo $_smarty_tpl->tpl_vars['norm']->value;?>
"> <input type="submit" name="speichern" value="Norm speichern" />
</form>
</table>
</section>
</div>
<?php }?>
<!-- ------------------------------------ -->
<?php if ($_smarty_tpl->tpl_vars['iab']->value != 0) {?>
<div id="rightmenu" class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Amtsblatt Paketnorm <?php echo $_smarty_tpl->tpl_vars['abnorm']->value;?>
St.</h2></div>
<section class="panel-body">
<table class="table-condensed">
<form action="" method="post">
<label for="abnorm">AB.-Norm:&nbsp;</label>
<input type="text" style="width:40px;" id="abnorm" name="abnorm" value="<?php echo $_smarty_tpl->tpl_vars['abnorm']->value;?>
">
<input type="submit" value="speichern" />
</form>
</table>
</section>
</div>
<div id="rightmenu" class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Amtsblatt Berechnung</h2></div>
<section class="panel-body">
<table class="table-condensed"> Faktor: <?php echo $_smarty_tpl->tpl_vars['abegw']->value;?>
</br>
<form action="" method="post">
<b>ges.Gew. Tour10: <input type="text" style="width:50px;" name="abcalc" /> <input type="submit" name="speichern" value="AB-berechnen" />
</form>
</table>
</section>
</div>
<?php }?>
<!-- ------------------------------------ -->
<?php if ($_smarty_tpl->tpl_vars['tnorm']->value != 0) {?>
<div id="rightmenu" class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">Abnahme Tour</h2></div>
<section class="panel-body">
<form action="" method="post">
</br><b>Abnahme hinzu:</b>
<select name="plus" style="width:140px;" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tourplus']->value, 'tplus');
$_smarty_tpl->tpl_vars['tplus']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tplus']->value) {
$_smarty_tpl->tpl_vars['tplus']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['tplus']->value['id'],'output'=>$_smarty_tpl->tpl_vars['tplus']->value['tour']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<input type="hidden" name="dazu" value="<?php echo $_smarty_tpl->tpl_vars['tplus']->value['id'];?>
"/>
<input type="submit" name="dazuplus" value="hinzuf&uuml;gen" >
</select>
</form>
</section>
</div>
<?php }?>
</aside>
</div>
<!-- Sidebar End -->
<?php }
}

View file

@ -0,0 +1,86 @@
<?php
/* Smarty version 4.3.0, created on 2024-07-23 08:23:41
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ue_iloscan.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_669f4c6de61450_11042744',
'has_nocache_code' => false,
'file_dependency' =>
array (
'7141c539fa410288ad598e1649a5eae52e422935' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ue_iloscan.tpl',
1 => 1721715813,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_669f4c6de61450_11042744 (Smarty_Internal_Template $_smarty_tpl) {
?>
<p align="center" style="color:yellow;margin-top: -6px;margin-bottom: : 4px;font-size: 26px;background-color:teal"><?php echo $_smarty_tpl->tpl_vars['data']->value['label'];?>
</p>
<p align="left" style="color:yellow;font-size: 16px;background-color:teal;margin-left: 4px"> Offline JB-Daten</p>
<table class="no-style full" style="color: #000;line-height: 2;margin: 10px">
<tbody>
<tr style="line-height:18px"> <td width="200px">Empfänger: </td> <td width="350px"><?php echo $_smarty_tpl->tpl_vars['data']->value['name'];?>
</td> </tr>
<tr style="line-height:18px"> <td width="200px"> </td> <td width="350px"><?php echo $_smarty_tpl->tpl_vars['data']->value['plz'];?>
<?php echo $_smarty_tpl->tpl_vars['data']->value['ort'];?>
</br></td> </tr>
<tr style="line-height:18px"> <td width="200px">Status : </td>
<?php if ($_smarty_tpl->tpl_vars['data']->value['status'] == 800) {?> <td width="300px" style="background-color: #555;color:#6495ed"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['status'] == 0) {?> <td width="300px" style="background-color: #555;color:#00FF00"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['status'] == 9) {?> <td width="300px" style="background-color: #555;color:#ff8800"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['status'] == 50) {?> <td width="300px" style="background-color: #555;color:#358d2f"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['status'] == 505) {?> <td width="300px" style="background-color: #555;color:#E38EF7"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['status'] == 507) {?> <td width="300px" style="background-color: #555;color:#C7B40A"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
</td>
<?php } else { ?> <td width="300px" style="background-color: #555;color:#ff0000"><?php echo $_smarty_tpl->tpl_vars['data']->value['statustext1'];?>
</td>
<?php }?>
</tr>
<tr style="line-height:18px"> <td width="200px">Packst.: </td> <td width="260px"><?php echo $_smarty_tpl->tpl_vars['data']->value['collie'];?>
</td> </tr>
<?php if ($_smarty_tpl->tpl_vars['data']->value['status'] == 0) {?>
<tr style="line-height:18px"> <td width="200px">Unterschrift:</td> <td width="260px"><?php echo $_smarty_tpl->tpl_vars['data']->value['empfaenger'];?>
</td> </tr>
<?php }?>
<tr style="line-height:18px"> <td width="200px">leter Scan: </td> <td width="260px"><?php echo $_smarty_tpl->tpl_vars['data']->value['datum'];?>
</td> </tr>
</body>
</table>
<p align="left" style="color:yellow;font-size: 16px;background-color:teal;margin-left: 4px"> Online Ilonexs-Daten</p>
<div id='iloonline'><i class="fas fa-spinner fa-10x fa-pulse"></i></div>
<?php echo '<script'; ?>
> var lab = '<?php echo $_smarty_tpl->tpl_vars['data']->value['label'];?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
$.ajax({
type : "POST",
url : 'ajax.php?s=ue_iloscan2&tpl',
cache : false,
data: '&lab=' + lab,
dataType : "html",
success : function(data){
$("#iloonline").html(data);
},
});
<?php echo '</script'; ?>
> <?php }
}

View file

@ -0,0 +1,386 @@
<?php
/* Smarty version 4.3.0, created on 2024-08-28 16:37:17
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/w_fahrzeuge.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66cf361dbb0522_29119265',
'has_nocache_code' => false,
'file_dependency' =>
array (
'71a55c646bcec3e4ac1081bad21925dce5bae51a' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/w_fahrzeuge.tpl',
1 => 1724855836,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66cf361dbb0522_29119265 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<style>
.cinfo1 {
background: #666666;
color:#bbbbbb;
height: 65px;
padding: 6px;
border: 1px solid;
border-color: #115270;
border-radius: 5px;
margin-bottom: 8px;
font-size: 13pt;
}
.cinfo2 {
background: #666666;
color:#bbbbbb;
height: 140px;
padding: 6px;
border: 1px solid;
border-color: #115270;
border-radius: 5px;
margin-bottom:50px;
font-size: 13pt;
}
.ikopf1 {
background: #115270;
color:#bbbbbb;
height: 40px;
padding: 6px;
border-radius: 5px;
margin-bottom: 0px;
margin-top: 0px;
font-size: 16pt;
}
.ikopf2 {
background: #115270;
color:#bbbbbb;
height: 40px;
padding: 6px;
border-radius: 5px;
margin-bottom: 0px;
margin-top: 0px;
font-size: 13pt;
}
</style>
<?php echo '<script'; ?>
>
$('.input-group.date').datepicker({format: "dd.mm.yyyy"});
<?php echo '</script'; ?>
>
<!-------------------------------------------------------------------------------------------------------------------->
<div class="col-md-2">
<table width="100%" style="color: #dddddd;background-color:#115270;font-size: 14pt;">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrzeuge_a']->value, 'fahrzeuge');
$_smarty_tpl->tpl_vars['fahrzeuge']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['fahrzeuge']->value) {
$_smarty_tpl->tpl_vars['fahrzeuge']->do_else = false;
?>
<tr>
<td style="padding: 5px">
<?php if ($_smarty_tpl->tpl_vars['fahrzeuge']->value['typ'] == 1) {?> <i class="far fa-car"></i>
<?php } elseif ($_smarty_tpl->tpl_vars['fahrzeuge']->value['typ'] == 2) {?> <i class="far fa-truck-pickup"></i>
<?php } elseif ($_smarty_tpl->tpl_vars['fahrzeuge']->value['typ'] == 3) {?> <i class="far fa-truck"></i>
<?php } elseif ($_smarty_tpl->tpl_vars['fahrzeuge']->value['typ'] == 4) {?> <i class="fad fa-truck"></i>
<?php } elseif ($_smarty_tpl->tpl_vars['fahrzeuge']->value['typ'] == 5) {?> <i class="fad fa-truck-moving"></i>
<?php } else { ?> <i class="fad fa-car-bus"></i> <?php }?>
</td>
<td onClick="javascript:open('?s=w_fahrzeuge&id=<?php echo $_smarty_tpl->tpl_vars['fahrzeuge']->value['id'];?>
','_self','')"><?php echo $_smarty_tpl->tpl_vars['fahrzeuge']->value['kz'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
<!-------------------------------------------------------------------------------------------------------------------->
<?php if ($_smarty_tpl->tpl_vars['anz']->value == 9) {?>
<div class="col-md-6">
<div class="column grid_6 last">
<div class="widget">
<header class="current"><h2>Info </h2></header>
<section>
<span style='font-size:20pt;line-height:115%; color:#4F81BD'>Bitte das Fahrzeug auw&auml;hlen, dass Sie bearbeiten m&ouml;chten.</span>
</section>
</div>
</div>
</div>
<?php } else { ?>
<!------------->
<div class="col-md-6">
<!------------->
<div class="col-md-6">
<p class="ikopf1"><?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kz'];?>
</p>
<p class="cinfo1">KBA: <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kba2'];?>
/ <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kba3'];?>
</br>FIN.: <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['fin'];?>
</p>
<p class="cinfo2">1. Zulassung: <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ezltag'];?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ezlmonat'];?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ezljahr'];?>
</br>JB-Zulassung: <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jbtag'];?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jbmonat'];?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jbjahr'];?>
</br>Hubraum.: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ccm'];?>
cm²
</br>KW / PS:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kw'];?>
/ <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ps'];?>
</br><?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['reifen'];?>
</p>
</div>
<!------------->
<div class="col-md-6">
<p class="ikopf2"><?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['hersteller'];?>
<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['name'];?>
</p>
<p class="cinfo1"><?php echo $_smarty_tpl->tpl_vars['kba']->value['hersteller'];?>
</br><?php echo $_smarty_tpl->tpl_vars['kba']->value['typ'];?>
</p>
<p class="cinfo2">1: <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld1'];?>
</br>2: <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld2'];?>
</br>3: <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld3'];?>
</br>4: <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld4'];?>
</br>Öl: <?php echo $_smarty_tpl->tpl_vars['oel']->value['bezeichnung'];?>
</p>
</div>
<!---------------------------------------------------------------------------------------------->
<!----------------- km update -->
<table class="no-style" width="100%">
<tr nowrap>
<form action="" method="post">
<td width="35%" style="background-color:#115270;color: #bbbbbb;font-size: 12pt">KM-Stand aktulisieren</td>
<td width=" 2%"></td>
<td width="24%"></td>
<td width="24%"><input type="text" name="updatekm" placeholder='0' required style="width:80px"/> km</td>
<td width="15%"><input type="submit" name="update1" value="Speichern" ></td>
</form>
</tr>
</table>
<hr style="background-color:#115270;height:3px;border:0" width="100%">
<!----------------- TANKEN -->
<table class="no-style" width="100%">
<tr nowrap>
<form action="" method="post">
<td width="35%" style="background-color:#115270;color: #bbbbbb;font-size: 12pt">Tanken eingeben</td>
<td width=" 2%"></td>
<td width="20%"><input type="text" name="tank" placeholder='0' required style="width:60px"/> ltr.</td>
<td width="20%"><input type="text" name="updatesum" placeholder='0' required style="width:60px"/> </td>
<td width="20%"><input type="text" name="updatekm" placeholder='0' required style="width:60px"/> km</td>
<td width="13%"><input type="submit" name="tanken" value="Speichern" ></td>
</form>
</tr>
</table>
<hr style="background-color:#115270;height:3px;border:0" width="100%">
<!----------------- Kontrolle -->
<table class="no-style" width="100%">
<form action="" method="post">
<tr nowrap>
<td width="35%" style="background-color:#115270;color: #bbbbbb;font-size: 12pt">Kontrolle</td>
<td width=" 2%"></td>
<td width="24%"></td>
<td width="24%" style="font-size: 12pt">Bremsen</td>
<td width="15%"><input type="checkbox" name="bremse"></td>
<tr nowrap>
<td width="35%"></td>
<td width=" 2%"></td>
<td width="24%"></td>
<td width="24%" style="font-size: 12pt">Ölstand</td>
<td width="15%"><input type="checkbox" name="oel"</td>
<tr nowrap>
<td width="35%"></td>
<td width=" 2%"></td>
<td width="24%"></td>
<td width="24%" style="font-size: 12pt">Reifen</td>
<td width="15%"><input type="checkbox" name="reifen"</td>
<tr nowrap>
<td width="35%"></td>
<td width=" 2%"></td>
<td width="24%"></td>
<td width="24%" style="font-size: 12pt">Wischwasser</td>
<td width="15%"><input type="checkbox" name="ww"</td>
<tr nowrap>
<td width="35%"></td>
<td width=" 2%"></td>
<td width="24%" style="font-size: 12pt"></td>
<td width="24%"><input type="text" name="updatekm" placeholder='0' required style="width:80px"/> km</td>
<td width="15%"><input type="submit" name="kontrolle" value="Speichern" ></td>
</tr>
</form>
</table>
<hr style="background-color:#115270;height:3px;border:0" width="100%" >
<!-- --------------- OELW -->
<table class="no-style" width="100%">
<tr nowrap>
<form action="" method="post">
<td width="35%" style="background-color:#115270;color: #bbbbbb;font-size: 12pt">Ölwechsel eingeben</td>
<td width=" 2%"></td>
<td width="24%"><select name="os">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['oels']->value, 'os');
$_smarty_tpl->tpl_vars['os']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['os']->value) {
$_smarty_tpl->tpl_vars['os']->do_else = false;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['os']->value['id'];?>
" style="color: darkgray"><?php echo $_smarty_tpl->tpl_vars['os']->value['bezeichnung'];?>
</option>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<td width="24%"><input type="text" name="updatekm" placeholder='0' required style="width:80px"/> km</td>
<td width="15%"><input type="submit" name="ow" value="Speichern" ></td>
</form>
</tr>
</table>
<hr style="background-color:#115270;height:3px;border:0" width="100%">
<!-- --------------- alte Tankrechnung -->
<table class="no-style" width="100%">
<tr nowrap>
<td width="35%" style="background-color:#115270;color: #bbbbbb;font-size: 12pt">alte Tankrechnung</td>
</tr><tr>
<form action="" method="post">
<td width="35%">
<input type="text" name="td" placeholder='0' required style="width:30px"/></input>
<input type="text" name="tm" value='<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
' required style="width:30px"/></input>
<input type="text" name="tj" value='<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
' required style="width:60px"/></input>
</td>
<td width=" 2%"></td>
<td width="20%"><input type="text" name="tank" placeholder='0' required style="width:60px"/> ltr.</td>
<td width="20%"><input type="text" name="updatesum" placeholder='0' required style="width:60px"/> </td>
<td width="20%"><input type="text" name="updatekm" placeholder='0' required style="width:60px"/> km</td>
<td width="13%"><input type="submit" name="at" value="Speichern" ></td>
</form>
</tr>
</table>
<hr style="background-color:#115270;height:3px;border:0" width="100%">
</div>
<aside class="col-md-4">
<div id="rightmenu">
<p class="ikopf1">History <?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kz'];?>
</p></br>
<table class="no-style" width="100%">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['history']->value, 'h');
$_smarty_tpl->tpl_vars['h']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['h']->value) {
$_smarty_tpl->tpl_vars['h']->do_else = false;
?>
<tr nowrap>
<td style="background-color:#115270;color: #bbbbbb;font-size: 8pt"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['h']->value['date'],"%d.%m.%Y - %H:%M Uhr");?>
- <?php echo $_smarty_tpl->tpl_vars['h']->value['name'];?>
<?php if ($_smarty_tpl->tpl_vars['h']->value['re_check'] == 1 || $_smarty_tpl->tpl_vars['h']->value['re_check'] == 3) {?> &nbsp;<i class="far fa-check" style="color:greenyellow"></i></td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['h']->value['re_check'] == 2) {?> &nbsp;<i class="far fa-check" style="color:orange"></i></td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['h']->value['anz'] == 1) {?> <i class="fal fa-times" style="color: #ff0000;" onclick="window.location='?s=w_fahrzeuge&delete=<?php echo $_smarty_tpl->tpl_vars['h']->value['id'];?>
&id=<?php echo $_smarty_tpl->tpl_vars['h']->value['fid'];?>
'"></i> <?php }?></td>
</tr>
<?php if ($_smarty_tpl->tpl_vars['h']->value['utyp'] == 1) {?> <!-- km-Stand update -->
<tr nowrap>
<td width="100%" align="right" style="color: #bbbbbb;font-size: 10pt">
<i class="fad fa-pencil-alt"></i> <i class="fas fa-tachometer-alt-slow"></i> <?php echo $_smarty_tpl->tpl_vars['h']->value['kmst'];?>
km</td>
</tr>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['h']->value['utyp'] == 2) {?> <!-- Kontrolle -->
<tr nowrap>
<td width="100%" align="right" style="color: #bbbbbb;font-size: 10pt">Kontrolle:
<?php if ($_smarty_tpl->tpl_vars['h']->value['k_bremse'] == 1) {?> Bremsen, <?php }?>
<?php if ($_smarty_tpl->tpl_vars['h']->value['k_oel'] == 1) {?> Öl, <?php }?>
<?php if ($_smarty_tpl->tpl_vars['h']->value['k_reifen'] == 1) {?> Reifen, <?php }?>
<?php if ($_smarty_tpl->tpl_vars['h']->value['k_ww'] == 1) {?> Wischw. &nbsp;&nbsp;<?php }?>
km-Stand: <?php echo $_smarty_tpl->tpl_vars['h']->value['kmst'];?>
</td>
</tr>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['h']->value['utyp'] == 3 || $_smarty_tpl->tpl_vars['h']->value['utyp'] == 5 || $_smarty_tpl->tpl_vars['h']->value['utyp'] == 59) {?> <!-- tanken -->
<tr nowrap>
<td width="100%" align="right" style="color: #bbbbbb;font-size: 10pt" >
<?php if ($_smarty_tpl->tpl_vars['h']->value['tanz'] == 1) {?> <span style="color: greenyellow"> <?php echo $_smarty_tpl->tpl_vars['h']->value['dvb'];?>
</span>
<?php } elseif ($_smarty_tpl->tpl_vars['h']->value['tanz'] == 2) {?> <span style="color: orange"> <?php echo $_smarty_tpl->tpl_vars['h']->value['dvb'];?>
</span>
<?php } elseif ($_smarty_tpl->tpl_vars['h']->value['tanz'] == 3) {?> <span style="color: darkred"> <?php echo $_smarty_tpl->tpl_vars['h']->value['dvb'];?>
</span>
<?php } elseif ($_smarty_tpl->tpl_vars['h']->value['tanz'] == 4) {?> <span style="color: red"> <?php echo $_smarty_tpl->tpl_vars['h']->value['dvb'];?>
</span>
<?php } else { ?><span> <?php echo $_smarty_tpl->tpl_vars['h']->value['dvb'];?>
</span><?php }?>
<?php echo $_smarty_tpl->tpl_vars['h']->value['tsumme'];?>
<i class="fad fa-gas-pump"></i> <?php echo $_smarty_tpl->tpl_vars['h']->value['tank'];?>
ltr.
<i class="fas fa-tachometer-alt-slow"></i> <?php echo $_smarty_tpl->tpl_vars['h']->value['kmst'];?>
km</td>
</tr>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['h']->value['utyp'] == 4) {?> <!-- Oelwechsel -->
<tr nowrap>
<td width="100%" align="right" style="color: #bbbbbb;font-size: 10pt">Ölwechsel / km-Stand: <?php echo $_smarty_tpl->tpl_vars['h']->value['kmst'];?>
</td>
</tr>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['h']->value['utyp'] == 12) {?> <!-- AD Blue tanken -->
<tr nowrap>
<td width="100%" align="right" style="color: #bbbbbb;font-size: 10pt" >
<i style="color: cornflowerblue" class="fad fa-gas-pump"></i><span style="color: cornflowerblue"> AdBlue </span>
<?php echo $_smarty_tpl->tpl_vars['h']->value['tsumme'];?>
<i class="fad fa-gas-pump"></i> <?php echo $_smarty_tpl->tpl_vars['h']->value['tank'];?>
ltr.
<i class="fas fa-tachometer-alt-slow"></i> <?php echo $_smarty_tpl->tpl_vars['h']->value['kmst'];?>
km</td>
</tr>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['h']->value['utyp'] == 20) {?> <!-- Fahrzeugwäsche -->
<tr nowrap>
<td width="100%" align="right" style="color: #bbbbbb;font-size: 10pt">
<i style="color: orange" class="fad fa-car-wash"></i><span style="color: cornflowerblue"> Fahrzeugwäsche </span><?php echo $_smarty_tpl->tpl_vars['h']->value['kmst'];?>
km </td>
</tr>
<?php }?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
</aside>
<?php }?>
<?php }
}

View file

@ -0,0 +1,26 @@
<?php
/* Smarty version 4.3.0, created on 2024-03-27 12:17:57
from '/var/www/vhosts/jb-data.de/httpdocs/template/ajax.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_660400658946e0_40844029',
'has_nocache_code' => false,
'file_dependency' =>
array (
'750b2cbbb2c7697313e0c0b9443827bdc5d599bb' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/ajax.tpl',
1 => 1704309468,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_660400658946e0_40844029 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_subTemplateRender($_smarty_tpl->tpl_vars['content']->value, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
}
}

View file

@ -0,0 +1,337 @@
<?php
/* Smarty version 4.3.0, created on 2024-08-28 16:00:09
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/w_tanken.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66cf2d69331309_99585967',
'has_nocache_code' => false,
'file_dependency' =>
array (
'757c9b63d825e924e09f3e65057247b5a26bc3dd' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/w_tanken.tpl',
1 => 1724853606,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66cf2d69331309_99585967 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.truncate.php','function'=>'smarty_modifier_truncate',),));
?>
<style>
.mre {
background: #222;
color:#ccc;
padding: 6px;
border: 1px solid;
border-color: #0093D7;
border-radius: 5px;
margin-bottom: 8px;
font-size: 12pt;
}
.load {
background: #222;
color:#61FF00;
padding: 6px;
border: 1px solid;
border-color: #61FF00;
border-radius: 5px;
margin-bottom: 8px;
font-size: 16pt;
}
.cinfo2 {
background: #666666;
color:#bbbbbb;
height: 140px;
padding: 6px;
border: 1px solid;
border-color: #115270;
border-radius: 5px;
margin-bottom:50px;
font-size: 13pt;
}
.ikopf1 {
background: #115270;
color:#bbbbbb;
height: 40px;
padding: 6px;
border-radius: 5px;
margin-bottom: 0px;
margin-top: 0px;
font-size: 16pt;
}
.ikopf2 {
background: #115270;
color:#bbbbbb;
height: 40px;
padding: 6px;
border-radius: 5px;
margin-bottom: 0px;
margin-top: 0px;
font-size: 13pt;
}
</style>
<?php echo '<script'; ?>
>
$('.input-group.date').datepicker({format: "dd.mm.yyyy"});
<?php echo '</script'; ?>
>
<!-------------------------------------------------------------------------------------------------------------------->
<div class="container-fluid">
<div class="row">
<div class="col-md-2">
<div class="mre">
<table class="no-style full">
<tr align="left" style="font-size: 12pt" onclick="window.location='?s=w_tanken'">
<?php if ($_smarty_tpl->tpl_vars['anz']->value == 1) {?> <td nowrap style="width:100%;color:#0093D7"> unbearbeitet</td>
<?php } else { ?> <td nowrap style="width:100%"> unbearbeitet</td> <?php }?>
</tr>
</table>
</div>
<div class="mre">
<table class="no-style full">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['re']->value, 'me');
$_smarty_tpl->tpl_vars['me']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['me']->value) {
$_smarty_tpl->tpl_vars['me']->do_else = false;
?>
<tr align="left" style="font-size: 12pt;" onclick="window.location='?s=w_tanken&renr=<?php echo $_smarty_tpl->tpl_vars['me']->value['RechNr'];?>
'">
<?php if ($_smarty_tpl->tpl_vars['anz']->value != $_smarty_tpl->tpl_vars['me']->value['RechNr']) {?> <td nowrap style="width:100%"> <?php echo $_smarty_tpl->tpl_vars['me']->value['RechNr'];?>
</td>
<?php } else { ?> <td nowrap style="width:100%;color:#0093D7"> <?php echo $_smarty_tpl->tpl_vars['me']->value['RechNr'];?>
</td> <?php }?>
<td nowrap align="right" style="font-size: 8pt"><?php echo $_smarty_tpl->tpl_vars['me']->value['Rechnungsdatum'];?>
&nbsp;&nbsp;&nbsp;</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
</div>
<!------------------------------------------------------------------------------------------------------------------
1= A komplett
2= M komplett
3=
4=
5= A ohne Tank
6=
------------------------------------------------------------------------------------------------------------------->
<div class="col-md-8">
<!---------------->
<?php if ($_smarty_tpl->tpl_vars['load']->value == 1) {?>
<div class="load">
<span class="panel-title">Einladen erfolgreich.</span>
</div>
<?php }?>
<!------------ einzelaufruf Tankbeleg -->
<?php if ($_smarty_tpl->tpl_vars['anz']->value == 99) {?>
<div class="mre">
<table class="table table-condensed">
<tr style="font-size: 9pt">
<th>KartenNr.</th>
<th>Kennz.</th>
<th>Datum / eit</th>
<th>km-Stand</th>
<th>Liter</th>
<th>Sorte</th>
<th>Check ID</th>
<th>x</th>
</tr>
<tr align="left" style="font-size: 11pt" onclick="window.location='?s=w_tanken&ref=<?php echo $_smarty_tpl->tpl_vars['beleg']->value['id'];?>
'">
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Karte'];?>
</td>
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Kfz'];?>
</td>
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Tankdatum'];?>
- <?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['beleg']->value['Tankzeit'],5,'');?>
Uhr</td>
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['KmStand'];?>
km</td>
<?php if ($_smarty_tpl->tpl_vars['beleg']->value['kontrolle'] == 5) {?>
<td nowrap style="color:red" align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Menge'];?>
l.</td>
<?php } else { ?>
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Menge'];?>
l.</td>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['beleg']->value['Sorte'] == 59) {?> <td nowrap style="color:darkmagenta" align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Sortenname'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['beleg']->value['Sorte'] == 5) {?> <td nowrap style="color:magenta" align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Sortenname'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['beleg']->value['Sorte'] == 12) {?> <td nowrap style="color:cyan" align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Sortenname'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['beleg']->value['Sorte'] == 20) {?> <td nowrap style="color:orange" align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Sortenname'];?>
</td>
<?php } else { ?> <td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['Sortenname'];?>
</td> <?php }?>
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['beleg']->value['kontrolle'];?>
</td>
<td nowrap align="left">
<?php if ($_smarty_tpl->tpl_vars['beleg']->value['kontrolle'] == 0) {?> X <i class="far fa-question-square" style="color:orange"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['beleg']->value['kontrolle'] == 1) {?> A <i class="far fa-check-square" style="color:greenyellow"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['beleg']->value['kontrolle'] == 2) {?> X <i class="far fa-check-square" style="color:orange"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['beleg']->value['kontrolle'] == 3) {?> X <i class="far fa-gg-circle" style="color:red"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['beleg']->value['kontrolle'] == 4) {?> X <i class="far fa-question-square" style="color:red"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['beleg']->value['kontrolle'] == 5) {?> A <i class="far fa-question-square" style="color:orange"></i> <?php }?> <!-- km,kz passt -->
<?php if ($_smarty_tpl->tpl_vars['beleg']->value['kontrolle'] == 6) {?> X <i class="far fa-check-circle" style="color:green"></i> <?php }?>
</td>
</tr>
</table>
<form action="" method="post" id="tsave">
<div class="btn-group" role="group" aria-label="...">
<button type="submit" class="btn btn-warning">bearbeiten</button>
<button type="submit" value=<?php echo $_smarty_tpl->tpl_vars['beleg']->value['id'];?>
name="ok_save" class="btn btn-success" formaction="#">bestätigen</button>
</div>
</form>
</div>
<!-------------->
<!-------------->
<?php } elseif ($_smarty_tpl->tpl_vars['anz']->value == 1) {?>
<div class="mre">
<table class="table table-condensed">
<tr style="font-size: 9pt">
<th>KartenNr.</th>
<th>Kennz.</th>
<th>Datum / eit</th>
<th>km-Stand</th>
<th>Liter</th>
<th>Sorte</th>
<th>Check ID</th>
<th>x</th>
</tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['beleg']->value, 'offen');
$_smarty_tpl->tpl_vars['offen']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['offen']->value) {
$_smarty_tpl->tpl_vars['offen']->do_else = false;
?>
<tr align="left" style="font-size: 11pt" onclick="window.location='?s=w_tanken&ref=<?php echo $_smarty_tpl->tpl_vars['offen']->value['id'];?>
'">
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Karte'];?>
</td>
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Kfz'];?>
</td>
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Tankdatum'];?>
- <?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['offen']->value['Tankzeit'],5,'');?>
Uhr</td>
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['KmStand'];?>
km</td>
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 5) {?>
<td nowrap style="color:red" align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Menge'];?>
l.</td>
<?php } else { ?>
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Menge'];?>
l.</td>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['offen']->value['Sorte'] == 59) {?> <td nowrap style="color:darkmagenta" align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Sortenname'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['offen']->value['Sorte'] == 5) {?> <td nowrap style="color:magenta" align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Sortenname'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['offen']->value['Sorte'] == 12) {?> <td nowrap style="color:cyan" align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Sortenname'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['offen']->value['Sorte'] == 20) {?> <td nowrap style="color:orange" align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Sortenname'];?>
</td>
<?php } else { ?> <td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Sortenname'];?>
</td> <?php }?>
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['kontrolle'];?>
</td>
<td nowrap align="left">
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 0) {?> X <i class="far fa-question-square" style="color:orange"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 1) {?> A <i class="far fa-check-square" style="color:greenyellow"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 2) {?> X <i class="far fa-check-square" style="color:orange"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 3) {?> X <i class="far fa-gg-circle" style="color:red"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 4) {?> X <i class="far fa-question-square" style="color:red"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 5) {?> A <i class="far fa-question-square" style="color:orange"></i> <?php }?> <!-- km,kz passt -->
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 6) {?> X <i class="far fa-check-circle" style="color:green"></i> <?php }?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
<?php } else { ?>
<div class="mre">
<table class="table table-condensed">
<tr style="font-size: 9pt">
<th>KartenNr.</th>
<th>Kennz.</th>
<th>Datum/Zeit</th>
<th>km-Stand</th>
<th>Liter</th>
<th>Sorte</th>
<th>Check ID</th>
<th>x</th>
</tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['beleg']->value, 'offen');
$_smarty_tpl->tpl_vars['offen']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['offen']->value) {
$_smarty_tpl->tpl_vars['offen']->do_else = false;
?>
<tr align="left" style="font-size: 11pt" onclick="window.location='?s=w_tanken&renr=<?php echo $_smarty_tpl->tpl_vars['me']->value['RechNr'];?>
'">
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Karte'];?>
</td>
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Kfz'];?>
</td>
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Tankdatum'];?>
- <?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['offen']->value['Tankzeit'],5,'');?>
Uhr</td>
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['KmStand'];?>
km</td>
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Menge'];?>
l.</td>
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['Sortenname'];?>
</td>
<td nowrap align="left"> <?php echo $_smarty_tpl->tpl_vars['offen']->value['kontrolle'];?>
</td>
<td nowrap align="left" style="font-size: 12pt">
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 0) {?> X <i class="far fa-question-square" style="color:orange"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 1) {?> A <i class="far fa-check-square" style="color:greenyellow"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 2) {?> X <i class="far fa-check-square" style="color:orange"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 3) {?> X <i class="far fa-gg-circle" style="color:red"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 4) {?> X <i class="far fa-question-square" style="color:red"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 5) {?> A <i class="far fa-question-square" style="color:orange"></i> <?php }?> <!-- km,kz passt -->
<?php if ($_smarty_tpl->tpl_vars['offen']->value['kontrolle'] == 6) {?> X <i class="far fa-check-circle" style="color:green"></i> <?php }?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
<?php }?>
</div>
<!-------------------------------------------------------------------------------------------------------------------->
<!-------------------------------------------------------------------------------------------------------------------->
</div>
<?php }
}

View file

@ -0,0 +1,63 @@
<?php
/* Smarty version 4.3.0, created on 2024-08-18 13:20:12
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/p_nirght_kal.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66c1d8ec009f03_74208154',
'has_nocache_code' => false,
'file_dependency' =>
array (
'787623f5c1f17d31232d86aab284b2e333c9acba' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/p_nirght_kal.tpl',
1 => 1723980009,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66c1d8ec009f03_74208154 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="panel panel-tbox">
<header class="panel-heading" style="font-size: 14pt">
<span style="font-size: 14pt" class="far fa-person-sign"></span>
<span style="font-size: 12pt"> &nbsp;&nbsp; <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
</span>
</header>
<div class="panel-body">
<table class="no-style full" style="margin:-9px;line-height:12px">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kald']->value, 'kal');
$_smarty_tpl->tpl_vars['kal']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kal']->value) {
$_smarty_tpl->tpl_vars['kal']->do_else = false;
?>
<tr>
<td style="width:30px;font-size:12pt">
<?php if ($_smarty_tpl->tpl_vars['kal']->value['na'] != 0) {?>
<i class='<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
' style="color:#b50000"></i>
<?php } else { ?>
<i class='<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
' style="color: orange"></i>
<?php }?>
</td>
<td style="width:200px;font-size:10pt;">
<strong><?php echo $_smarty_tpl->tpl_vars['kal']->value['fahrer'];?>
</strong></br>
<span style="width:145px;font-size: 7pt;"><?php echo $_smarty_tpl->tpl_vars['kal']->value['bez'];?>
</span>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
</div>
<?php }
}

View file

@ -0,0 +1,29 @@
<?php
/* Smarty version 4.3.0, created on 2024-03-27 12:17:57
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/fuss.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66040065223c31_69307034',
'has_nocache_code' => false,
'file_dependency' =>
array (
'816b5964d1f27eba6c612585d9462abe46b89dfb' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/fuss.tpl',
1 => 1704622220,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66040065223c31_69307034 (Smarty_Internal_Template $_smarty_tpl) {
?> <footer id="page-footer">
<div id="footer-inner">
<p class="wrapper"><span style="float: right;"><b> &copy; 2010-2012. All rights reserved. edv@jb-transport.de</p>
</div>
</footer><?php }
}

View file

@ -0,0 +1,723 @@
<?php
/* Smarty version 4.3.0, created on 2024-04-04 15:36:00
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/pnacht.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_660eacc0c9a318_40082285',
'has_nocache_code' => false,
'file_dependency' =>
array (
'8232e4bde951a48c5b2c93676c3c939211009db3' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/pnacht.tpl',
1 => 1712232504,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_660eacc0c9a318_40082285 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),1=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
?>
<link rel="stylesheet" href="template/css/planung.css">
<!-- <link rel="stylesheet" href="../lib/css/select2.min.css"> -->
<?php echo '<script'; ?>
src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.0/js/select2.full.min.js"><?php echo '</script'; ?>
>
<!-- ********** -->
<body style="background-color:#333333">
<!-- ********** -->
<section class="col-md-9" style="background-color:#333333">
<div class="row sortable" style="background-color:#333333">
<!-- Main Section -- mittlere Spalte -->
<div class="col-md-2">
<div class="panel panel-tbox">
<table class="no-style full">
<tbody>
<td nowrap style="align:center;width:320px;font-size:14pt">
<a class="fa fa-arrow-left" href="?s=pnacht&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
"></a>
<strong><?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</strong>
<a class="fa fa-arrow-right" href="?s=pnacht&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
"></a></td>
</tbody>
</table>
</div>
<div class="panel panel-tbox">
<div class="panel-heading" style="background-color:orange;">
<spawn style="width:5px;height:20px;font-size:16pt;"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['datum_unix']->value,"%d.%m.%y");?>
</spawn>
</div>
<div class="panel-body">
<table class="table-hover" style="font-size:11pt;line-height: 14pt">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tage']->value, 'kt');
$_smarty_tpl->tpl_vars['kt']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kt']->value) {
$_smarty_tpl->tpl_vars['kt']->do_else = false;
?>
<tr>
<?php if ($_smarty_tpl->tpl_vars['kt']->value['tagt'] == 1) {?>
</tr>
<td> </td>
<td nowrap style="width:5px;font-size:4pt;line-height: 5pt" >&nbsp;</td>
</tr>
<td style="width:5px"> </td>
<td nowrap style="width:70px;font-size:8pt">--- <?php echo $_smarty_tpl->tpl_vars['kt']->value['kw'];?>
.KW ---</td>
<tr>
<?php }?>
<td style="font-size:8pt;color:<?php echo $_smarty_tpl->tpl_vars['kt']->value['color'];?>
" onclick="window.location='?s=pnacht&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['wt'];?>
</td>
<td style="font-size:13pt;color:<?php echo $_smarty_tpl->tpl_vars['kt']->value['color'];?>
" onclick="window.location='?s=pnacht&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['datum'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- mitte seite -->
<!-- <div id="phelp" style="text-align:center;"></div> -->
<?php if ($_smarty_tpl->tpl_vars['old']->value > 0) {?>
<div class="col-md-10">
<div class="panel-heading" style="background-color:darkred;">
<spawn style='font-size:16pt;color:white;'><strong>Achtung!</strong> Diese Planung liegt in der Vergangenheit...</spawn>
</div>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['fttest']->value != 0) {?>
<div class="col-md-10">
<div class="panel-heading" style="background-color:orangered;">
<spawn style='font-size:16pt;color:white;'><?php echo $_smarty_tpl->tpl_vars['ftrow']->value['tag'];?>
<?php echo $_smarty_tpl->tpl_vars['ftrow']->value['bez'];?>
</spawn>
</div>
</div>
<?php }?>
<div class="col-md-10" >
<div class="panel panel-tbox">
<div class="panel-body">
<table class="no-style hover">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tag_tour2']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['test'] == 99) {?>
</tbody>
</table>
</div>
</div>
<div class="panel panel-tbox">
<div class="panel-body">
<table class="no-style full">
<tbody>
<?php }?>
<tr>
<form action="" method="post">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['aktiv'] == 0) {?>
<td nowrap style="width:110px;color:bisque"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php } else { ?>
<td nowrap style="width:110px;"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php }?>
<!-- --------------------------- fahrer hinweis -->
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 0) {?> <td style="width:20px"> </td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 1) {?> <td align="left" data-toggle="tooltip" title=<?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
><i class="fad fa-info" style="color:red;font-size: 14px"</i> </td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 2) {?> <td align="left" data-toggle="tooltip" title=<?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
><i class="far fa-info" style="color:orange"></i></td> <?php }?>
<!-- ------------------------------------------
<td style="width:20px"> <?php echo $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'];?>
</td>
-->
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0) {?>
<td style="width:20px"><i class="fad fa-times-square" style="background-color:red;color:#fff"></i></td>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 0) {?>
<td style="width:20px"><i class="fad fa-info-square" style="background-color:#FF2222;color:#fff"></i></td>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 2) {?>
<td style="width:20px"><i class="fad fa-question-square" style="background-color:#FF9900;color:#fff"></i></td>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 3) {?>
<td style="width:20px"><i class="fad fa-check" style="background-color:#99FF00;color:#fff"></i></td>
<?php } else { ?> <td style="width:20px"> </td>
<?php }?>
<!-- --------------------------- fahrer mit anwesenheitsprüfung
<td nowrap id="ma_wahl<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
,<?php echo $_smarty_tpl->tpl_vars['tour']->value['typ'];?>
,<?php echo $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'];?>
" style="width:165px;font-size:10pt;"></td> -->
<!-- --------------------------- fahrer mit anwesenheitsprüfung -->
<td nowrap style="width:195px;">
<!-- --------------------------- -->
<!-- --------------------------- -->
<select name="Fahrer[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"
onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)";>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['typ'] == 3) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array3']->value, 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['fahrer_id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'options2'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['typ'] == 4) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array4']->value, 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['id'];?>
" <?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == $_smarty_tpl->tpl_vars['allfahrer']->value['id']) {?> selected="selected"<?php }?> style="color: darkgray"><?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['name'];?>
</option><?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['typ'] == 5) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array5']->value, 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['id'];?>
" <?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == $_smarty_tpl->tpl_vars['allfahrer']->value['id']) {?> selected="selected"<?php }?> style="color: darkgray"><?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['name'];?>
</option><?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['typ'] == 17) {?>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array17']->value, 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['id'];?>
" <?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == $_smarty_tpl->tpl_vars['allfahrer']->value['id']) {?> selected="selected"<?php }?> style="color: darkgray"><?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['name'];?>
</option><?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php }?>
<!-- --------------------------- -->
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td nowrap style="width:110px;">
<select name="Fahrzeug[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
]" id="car_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" data-width="100px"
<?php if ($_smarty_tpl->tpl_vars['tour']->value['auto_id'] != 0) {?> style="width:90px;border:none;border-bottom: 1px solid "
<?php } else { ?> style="color: red"
<?php }?>
onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)" data-hight="10px">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auto_array']->value, 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['auto_id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'options2'=>$_smarty_tpl->tpl_vars['allauto']->value['kz']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<?php echo '</script'; ?>
>
</td>
<!-- --------------------------- Zusatzinfo neu -->
<td nowrap id="ma_gh<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:160px; font-size:8pt;background-color:#222222;color: #dcdcdc">
<input type="text" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['infotext'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"
style="width:155px;height:22px;background-color:#222222;border:none;border-bottom: 1px solid #444444" name="infotext[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
]"
onChange="save_info(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
</td>
<!--
<td nowrap id="ma_gh<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:117px;font-size:7pt;">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 1) {?>
<div style="text-align: right; width:115px;font-size:8pt;color:#FF2222"><?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 2) {?>
<div style="text-align: right; width:115px;font-size:8pt;color:#FF9900"><?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
</div>
<?php }?>
</td>
-->
<!-- SMS Status !!!!! ------------------------------------- -->
<td nowrap align="center" style="width:30px" id="smscheck<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0) {?> <i class='fal fa-comment-alt fa-1x' style='color:gray' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1) {?> <i class='fas fa-comment-alt-exclamation fa-1x' style='color:orange' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2) {?> <i class='fas fa-comment-alt-check fa-1x' style='color:green' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8) {?> <i class='fas fa-comment-alt-dots fa-1x' style='color:gray' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20) {?> <i class='fas fa-spinner fa-spin fa-1x' style='color:gray' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 3) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 4) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
<!-- <i class="fal fa-comment-alt fa-1x" style="color:#999" ></i> -->
</td>
<!-- Infobereich !!!!! ------------------------------------- -->
<td nowrap align="center" style="width:20px">
<i class="fad fa-info fa-1x" style="color:cornflowerblue;font-size: 14px" onclick="tinfo(<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
)"></i>
</td>
<!-- SMS senden Änderung ------------------------------------- -->
<td nowrap align="center" style="width:20px; font-size:13pt;"
onclick="window.location='?s=pnacht&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
&sms=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
'";>
<i class="fal fa-sms" style="color:#999" >
</td>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['zusatz'] == 0) {?>
<!-- 2. Tour hinzufügen ------------------------------------- -->
<td nowrap align="center" style="width:30px; font-size:13pt;"
onclick="window.location='?s=pnacht&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
&dazu=<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['tour']->value['kw'];?>
'";>
<i class="fal fa-plus" style="color:#999" >
</td>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['zusatz'] == 1) {?>
<!-- 2. Tour löschen ------------------------------------- -->
<td nowrap align="center" style="width:30px; font-size:13pt;"
onclick="window.location='?s=pnacht&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
&daweg=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['tour']->value['kw'];?>
'";>
<i class="fas fa-times" style="color:#444" >
</td>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['zusatz'] == 2) {?>
<!-- 2. Tour hinzufügen ------------------------------------- -->
<td nowrap align="center" style="width:30px; font-size:13pt;">
<i class="fal fa-minus" style="color:#444" >
</td>
<?php }?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- -------------------------------------->
</section>
<!-- rechte seite -->
<!-- -------------------------------------->
<!-- Sidebar -->
<aside class="col-md-3" style="background-color:#333333">
<div id="rightmenu" class="panel panel-tbox">
<div class="panel-body">
<table class="no-style full" style="margin:-20px">
<thead>
<tr>
<td nowrap align="center" style="width:150px;font-size: 40pt">
<form action="" method="post">
<input type="hidden" name="smst" value="<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
"/>
<input type="hidden" name="smsm" value="<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
"/>
<input type="hidden" name="smsj" value="<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
"/>
<button type="submit" class="btn btn" id="notifyBtn" value="SMS senden" name="smspower" value="kompl. Liste per SMS senden" onclick="return confirm('M&ouml;chten sie wirklich alle SMS senden ?')" style="background-color: #222222;color:gray">
<i style="font-size: 40pt" class="far fa-sms fa-lg"></i>
</form>
</td>
<td></td>
<td nowrap align="center" style="width:100px;font-size: 40pt">
<form action="" method="post">
<button type="submit" class="btn btn" id="notifyBtn" name="vortag" value="vortag übernehmen" value="kompl. Liste per SMS senden" onclick="return confirm('M&ouml;chten sie wirklich den Vortag kopieren ??')"style="background-color: #222222;color:gray">
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
</td>
</tr>
</thead>
</table>
</br>
</div>
</div>
<!--
<div id="rightmenu" class="panel panel-default">
<table class="no-style full">
<tbody>
<td>
<form action="" method="post">
<input type="hidden" name="smst" value="<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
"/>
<input type="hidden" name="smsm" value="<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
"/>
<input type="hidden" name="smsj" value="<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
"/>
<input type="submit" id="notifyBtn" value="SMS senden" name="smspower" value="kompl. Liste per SMS senden" onclick="return confirm('M&ouml;chten sie wirklich alle SMS senden ?')">
</form>
</td>
</tbody>
</table>
</div>
-->
<!-- ------------------------------------ -->
<!-- --------------------------------------------------------------------------------- -->
<!-- -------------------------------- History -->
<div id="tinfo"></div>
<!-- -------------------------------- fehlende Mitarbeiter heute / Calender -->
<div id="rightmenu" class="panel panel-tbox">
<header class="panel-heading" style="font-size: 16pt;line-height:80%"><span class="fad fa-calendar-alt pull-left"></span><div class="panel-title">&nbsp;&nbsp;&nbsp;Kalender - <?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
.<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
.<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</div></header>
<div class="panel-body">
<table class="no-style full" style="margin:-8px">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['maf1']->value, 'maf');
$_smarty_tpl->tpl_vars['maf']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf']->value) {
$_smarty_tpl->tpl_vars['maf']->do_else = false;
?>
<tr align="left" >
<td align="center" nowrap style="width:15px;font-size:11pt;">
<?php if ($_smarty_tpl->tpl_vars['maf']->value['na'] != 0) {?>
<i class='<?php echo $_smarty_tpl->tpl_vars['maf']->value['icon'];?>
' style="color:#b50000"></i>
<?php } else { ?>
<i class='<?php echo $_smarty_tpl->tpl_vars['maf']->value['icon'];?>
' style="color: orange"></i>
<?php }?>
</td>
<td align="left" nowrap style="width:130px;font-size:10pt">&nbsp;&nbsp;<?php echo $_smarty_tpl->tpl_vars['maf']->value['fahrer'];?>
</td>
<td align="right" nowrap style="width:100px;font-size:10pt"><?php echo $_smarty_tpl->tpl_vars['maf']->value['bez'];?>
&nbsp;</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<!-- --------------------------------------------------------------------------------- -->
<!-- -------------------------------- verfügbare Mitarbeiter -->
<div id="freema"></div>
<!-- -------------------------------- verfügbare Fahrzeuge -->
<div id="freecar"></div>
<!-- --------------------------------------------------------------------------------- -->
</aside>
<!-- --------------------------------------------------------------------------------- -->
<!-- Sidebar End -->
</body>
<!-- <?php echo '<script'; ?>
> var tagheute = '<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['datum_unix']->value,"%Y-%m-%d");?>
';<?php echo '</script'; ?>
> -->
<?php echo '<script'; ?>
> var tag = '<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var monat = '<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var monat2 = '7';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var jahr = '<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
function tinfo(tid) {
$.ajax({
type: 'POST',
url: "ajax.php?s=tinfo&tpl",
dataType: 'html',
data: 'tid=' + tid,
success: function (data) {
$("#tinfo").html(data);
}
});
}
function load_free_cars(tag,monat,jahr) {
$.ajax({
type: 'POST',
url: "ajax.php?s=free_car&tpl",
dataType: 'html',
data: 'tag=' + tag + "&monat=" + monat + "&jahr=" + jahr,
success: function (data) {
$("#freecar").html(data);
}
});
}
function load_free_ma(tag,monat,jahr) {
$.ajax({
type: 'POST',
url: "ajax.php?s=free_ma&tpl",
dataType: 'html',
data: 'tag=' + tag + "&monat=" + monat + "&jahr=" + jahr,
success: function (data) {
$("#freema").html(data);
}
});
}
function save_car(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=pnacht&a=car_save",
dataType: 'json',
data: 'tourID=' + tourID + "&car=" + $("#car_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
load_free_cars(tag,monat,jahr);
}
});
}
function save_info(tourID) {
$.ajax({
type: 'POST',
url: "ajax.php?s=pnacht&a=info_save",
dataType: 'json',
data: 'tourID=' + tourID + "&info=" + $("#info_"+tourID).val(),
success: function (data) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
});
}
function save_user(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=pnacht&a=user_save",
dataType: 'json',
data: 'tourID=' + tourID + "&user=" + $("#user_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
load_free_ma(tag,monat,jahr);
}
});
}
load_free_ma(tag,monat,jahr);
load_free_cars(tag,monat,jahr);
var refreshId = setInterval(function() {
$.ajax({
type : "POST",
url : 'ajax.php?s=pnacht&a=smscheck&tpl',
cache : false,
data: 'tag=' + tag + "&monat=" + monat + "&jahr=" + jahr,
dataType : "json",
success : function (back) {
/*
$.each(back.s, function(t,s) {
console.log(back.s)
$("#smscheck"+back.t).html(back.s);
})
*/
for (var i = 0; i < back.length; i++) {
console.log (back.t[i]);
$("#smscheck"+back.t[i]).html(back.s[i]);
//$("#smscheck"+back.i.tour).html(back.i.status);
}
},
})
}, 60000);
$(function () {
$("select").select2();
});
<?php echo '</script'; ?>
>
<?php }
}

View file

@ -0,0 +1,59 @@
<?php
/* Smarty version 4.3.0, created on 2024-03-29 15:05:10
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ssstatus.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_6606ca962f6b81_39785083',
'has_nocache_code' => false,
'file_dependency' =>
array (
'832c4300d401959b9dbafac3e4dddb4cb929e392' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ssstatus.tpl',
1 => 1694432193,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6606ca962f6b81_39785083 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['data']->value['fahrer'] == 0) {?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"><i class='fa fa-times' style="color:#000000;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['auto'] == 0) {?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"><i class='fa fa-times' style="color:#000000;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 0) {?> <!-- SMS in Warteschleife -->
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"><i class='fa fa-comment-o' style="color:#0080FF;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 1) {?> <!-- SMS in statusbericht abfarge -->
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"><i class='fa fa-check' style="color:#FF8000;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 2) {?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"><i class='fa fa-check' style="color:#04B404;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 3) {?> <!-- SMS in statusbericht abfarge -->
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"><i class='fa fa-question' style="color:#FF8000;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 4) {?> <!-- SMS in statusbericht abfarge -->
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"><i class='fa fa-question' style="color:#FF8000;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 5) {?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"><i class='fa fa-ban' style="color:#ff0000;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 8) {?> <!-- SMS in Warteschleife -->
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"><i class='fa fa-check' style="color:#FF8000;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 20) {?> <!-- SMS in Warteschleife -->
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"><i class='fa fa-spinner fa-pulse' style="color:#FF8000;"></i></button>
<?php } elseif ($_smarty_tpl->tpl_vars['data']->value['smsstatus'] == 99) {?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['data']->value['id'];?>
"><i class='fa fa-question' style="color:#FF8000;"></i></button>
<?php }?>
<?php }
}

View file

@ -0,0 +1,74 @@
<?php
/* Smarty version 4.3.0, created on 2024-07-10 14:43:32
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_tuer.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_668e81f48a21f2_00486579',
'has_nocache_code' => false,
'file_dependency' =>
array (
'862b2581bdbbbe20afc19a81766f14406aeea859' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_tuer.tpl',
1 => 1720615349,
2 => 'file',
),
),
'includes' =>
array (
'file:tpl/ajax/_ma_subm.tpl' => 1,
),
),false)) {
function content_668e81f48a21f2_00486579 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
$_smarty_tpl->_subTemplateRender('file:tpl/ajax/_ma_subm.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<div class="max">
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['klog']->value, 'k');
$_smarty_tpl->tpl_vars['k']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['k']->value) {
$_smarty_tpl->tpl_vars['k']->do_else = false;
?>
<tr style="line-height:18px;color: #aaa">
<td width="160px"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['k']->value['zeit2'],"%d.%m.%y - %H:%M");?>
Uhr</td>
<td align="right" width="80px" style="color: #808080"><?php echo $_smarty_tpl->tpl_vars['k']->value['diff'];?>
~<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['k']->value['diff2'],"%H:%M");?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</body>
</table>
</div>
<style>
.max {
background: #222;
color: turquoise;
padding: 3px;
border: 1px solid turquoise;
font-size: 13px;
border-radius:6px;
margin-top: -12px;
margin-bottom: 20px;
min-height: 50px;
}
</style>
<?php }
}

View file

@ -0,0 +1,42 @@
<?php
/* Smarty version 4.3.0, created on 2024-10-21 00:12:45
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/_iss_datakopf.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_6715805d977a57_98999847',
'has_nocache_code' => false,
'file_dependency' =>
array (
'899a32e05d62d4b63a6333482b59895c4dcdb0f9' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/_iss_datakopf.tpl',
1 => 1729462363,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6715805d977a57_98999847 (Smarty_Internal_Template $_smarty_tpl) {
?> <thead>
<tr style="line-height:2;font-size:7pt;text-align:left">
<th nowrap style="width:70px;text-align:left:border-bottom: 2px solid #FF9600">Tour</th>
<th nowrap style="width:90px;text-align:center;border-bottom: 2px solid #0000FF">Stellzeit</th>
<th nowrap style="width:70px;text-align:center;border-bottom: 2px solid #0000FF">SaSo Exemp.</th>
<th nowrap style="width:70px;text-align:center;border-bottom: 2px solid #0000FF">Gew. SaSo</th>
<th nowrap style="width:80px;text-align:center;border-bottom: 2px solid #0000FF">SaSo Pak.</th>
<th nowrap style="width:70px;text-align:center;border-bottom: 2px solid #FF0000">Amts.Exemp.</th>
<th nowrap style="width:70px;text-align:center;border-bottom: 2px solid #FF0000">Gew.Zusatz</th>
<th nowrap style="width:70px;text-align:center;border-bottom: 2px solid #5FC405">Abrechnung</th>
<th nowrap style="width:70px;text-align:center;border-bottom: 2px solid #5FC405">Gew.Pak.</th>
<th nowrap style="width:70px;text-align:center;border-bottom: 2px solid #888888">Zeiten</th>
<th nowrap style="width:30px;text-align:right;border-bottom: 2px solid #888888">-</th>
<th nowrap style="width:60px;text-align:right;border-bottom: 2px solid #888888">Auto gew.</th>
</tr>
</thead>
<?php }
}

View file

@ -0,0 +1,696 @@
<?php
/* Smarty version 4.3.0, created on 2024-12-03 09:56:47
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/kalender.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_674ec7cf5b54d1_24111305',
'has_nocache_code' => false,
'file_dependency' =>
array (
'8b291d5339ed55aa9408a9462ce34e509356738e' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/kalender.tpl',
1 => 1733216087,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_674ec7cf5b54d1_24111305 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<section class="col-md-9" style="background-color: #333333">
<div class="row sortable">
<div class="col-sm-6" style="margin-top: -18px;font-size:14pt;color:#fff">
<!-- Montag -->
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 1) {?>
<p style='background-color:orange'>&nbsp;Montag, <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['day1']->value,"%d.%m.%y");?>
<p>
<?php } else { ?>
<p style='background-color:gray'>&nbsp;Montag, <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['day1']->value,"%d.%m.%y");?>
<p>
<?php }?>
<div class="kal_f">
<table class="no style">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['k1']->value, 'kal');
$_smarty_tpl->tpl_vars['kal']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kal']->value) {
$_smarty_tpl->tpl_vars['kal']->do_else = false;
?>
<tr style="font-size:12pt" onclick="window.location='?s=kalender&pid=<?php echo $_smarty_tpl->tpl_vars['kal']->value['pid'];?>
&edit=1&car=<?php echo $_smarty_tpl->tpl_vars['kal']->value['car'];?>
';">
<?php if ($_smarty_tpl->tpl_vars['kal']->value['name'] != 0) {?>
<td nowrap style="width: 30px;color: red" align="center"><i class='<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
' ></i></td>
<?php } else { ?>
<td nowrap style="width: 30px;color: darkorange" align="left"><i class='<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
'></i></td>
<?php }?>
<td nowrap style="width:170px" align="left"><?php echo $_smarty_tpl->tpl_vars['kal']->value['name'];?>
</td>
<td nowrap style="width:125px" align="left"><?php echo $_smarty_tpl->tpl_vars['kal']->value['bez'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
<!-- Mittwoch -->
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?>
<p style='background-color:orange'>&nbsp;Mittwoch, <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['day3']->value,"%d.%m.%y");?>
<p>
<?php } else { ?>
<p style='background-color:gray'>&nbsp;Mittwoch, <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['day3']->value,"%d.%m.%y");?>
<p>
<?php }?>
<div class="kal_f">
<table class="no style">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['k3']->value, 'kal');
$_smarty_tpl->tpl_vars['kal']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kal']->value) {
$_smarty_tpl->tpl_vars['kal']->do_else = false;
?>
<tr style="font-size:12pt" onclick="window.location='?s=kalender&pid=<?php echo $_smarty_tpl->tpl_vars['kal']->value['pid'];?>
&edit=1&car=<?php echo $_smarty_tpl->tpl_vars['kal']->value['car'];?>
';">
<?php if ($_smarty_tpl->tpl_vars['kal']->value['name'] != 0) {?>
<td nowrap style="width: 30px;color: red" align="center"><i class='<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
' ></i></td>
<?php } else { ?>
<td nowrap style="width: 30px;color: darkorange" align="left"><i class='<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
'></i></td>
<?php }?>
<td nowrap style="width:170px" align="left"><?php echo $_smarty_tpl->tpl_vars['kal']->value['name'];?>
</td>
<td nowrap style="width:125px" align="left"><?php echo $_smarty_tpl->tpl_vars['kal']->value['bez'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
<!-- Freitag -->
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 5) {?>
<p style='background-color:orange'>&nbsp;Freitag, <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['day5']->value,"%d.%m.%y");?>
<p>
<?php } else { ?>
<p style='background-color:gray'>&nbsp;Freitag, <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['day5']->value,"%d.%m.%y");?>
<p>
<?php }?>
<div class="kal_f">
<table class="no style">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['k5']->value, 'kal');
$_smarty_tpl->tpl_vars['kal']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kal']->value) {
$_smarty_tpl->tpl_vars['kal']->do_else = false;
?>
<tr style="font-size:12pt" onclick="window.location='?s=kalender&pid=<?php echo $_smarty_tpl->tpl_vars['kal']->value['pid'];?>
&edit=1&car=<?php echo $_smarty_tpl->tpl_vars['kal']->value['car'];?>
';">
<?php if ($_smarty_tpl->tpl_vars['kal']->value['name'] != 0) {?>
<td nowrap style="width: 30px;color: red" align="center"><i class='<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
' ></i></td>
<?php } else { ?>
<td nowrap style="width: 30px;color: darkorange" align="left"><i class='<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
'></i></td>
<?php }?>
<td nowrap style="width:170px" align="left"><?php echo $_smarty_tpl->tpl_vars['kal']->value['name'];?>
</td>
<td nowrap style="width:125px" align="left"><?php echo $_smarty_tpl->tpl_vars['kal']->value['bez'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
<!-- Sonntag -->
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 7) {?>
<p style='background-color:orange'>&nbsp;Sonntag, <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['day7']->value,"%d.%m.%y");?>
<p>
<?php } else { ?>
<p style='background-color:gray'>&nbsp;Sonntag, <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['day7']->value,"%d.%m.%y");?>
<p>
<?php }?>
<div class="kal_f">
<table class="no style">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['k7']->value, 'kal');
$_smarty_tpl->tpl_vars['kal']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kal']->value) {
$_smarty_tpl->tpl_vars['kal']->do_else = false;
?>
<tr style="font-size:12pt" onclick="window.location='?s=kalender&pid=<?php echo $_smarty_tpl->tpl_vars['kal']->value['pid'];?>
&edit=1&car=<?php echo $_smarty_tpl->tpl_vars['kal']->value['car'];?>
';">
<?php if ($_smarty_tpl->tpl_vars['kal']->value['name'] != 0) {?>
<td nowrap style="width: 30px;color: red" align="center"><i class='<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
' ></i></td>
<?php } else { ?>
<td nowrap style="width: 30px;color: darkorange" align="left"><i class='<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
'></i></td>
<?php }?>
<td nowrap style="width:170px" align="left"><?php echo $_smarty_tpl->tpl_vars['kal']->value['name'];?>
</td>
<td nowrap style="width:125px" align="left"><?php echo $_smarty_tpl->tpl_vars['kal']->value['bez'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
<!-- Spaltenwechsel -->
</div>
<div class="col-sm-6" style="margin-top: -18px;font-size:14pt;color:#fff">
<!-- Dienstag -->
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 2) {?>
<p style='background-color:orange'>&nbsp;Dienstag, <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['day2']->value,"%d.%m.%y");?>
<p>
<?php } else { ?>
<p style='background-color:gray'>&nbsp;Dienstag, <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['day2']->value,"%d.%m.%y");?>
<p>
<?php }?>
<div class="kal_f">
<table class="no style">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['k2']->value, 'kal');
$_smarty_tpl->tpl_vars['kal']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kal']->value) {
$_smarty_tpl->tpl_vars['kal']->do_else = false;
?>
<tr style="font-size:12pt" onclick="window.location='?s=kalender&pid=<?php echo $_smarty_tpl->tpl_vars['kal']->value['pid'];?>
&edit=1&car=<?php echo $_smarty_tpl->tpl_vars['kal']->value['car'];?>
';">
<?php if ($_smarty_tpl->tpl_vars['kal']->value['name'] != 0) {?>
<td nowrap style="width: 30px;color: red" align="center"><i class='<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
' ></i></td>
<?php } else { ?>
<td nowrap style="width: 30px;color: darkorange" align="left"><i class='<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
'></i></td>
<?php }?>
<td nowrap style="width:170px" align="left"><?php echo $_smarty_tpl->tpl_vars['kal']->value['name'];?>
</td>
<td nowrap style="width:125px" align="left"><?php echo $_smarty_tpl->tpl_vars['kal']->value['bez'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
<!-- Donnerstag -->
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 4) {?>
<p style='background-color:orange'>&nbsp;Donnerstag, <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['day4']->value,"%d.%m.%y");?>
<p>
<?php } else { ?>
<p style='background-color:gray'>&nbsp;Donnerstag, <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['day4']->value,"%d.%m.%y");?>
<p>
<?php }?>
<div class="kal_f">
<table class="no style">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['k4']->value, 'kal');
$_smarty_tpl->tpl_vars['kal']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kal']->value) {
$_smarty_tpl->tpl_vars['kal']->do_else = false;
?>
<tr style="font-size:12pt" onclick="window.location='?s=kalender&pid=<?php echo $_smarty_tpl->tpl_vars['kal']->value['pid'];?>
&edit=1&car=<?php echo $_smarty_tpl->tpl_vars['kal']->value['car'];?>
';">
<?php if ($_smarty_tpl->tpl_vars['kal']->value['name'] != 0) {?>
<td nowrap style="width: 30px;color: red" align="center"><i class='<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
' ></i></td>
<?php } else { ?>
<td nowrap style="width: 30px;color: darkorange" align="left"><i class='<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
'></i></td>
<?php }?>
<td nowrap style="width:170px" align="left"><?php echo $_smarty_tpl->tpl_vars['kal']->value['name'];?>
</td>
<td nowrap style="width:125px" align="left"><?php echo $_smarty_tpl->tpl_vars['kal']->value['bez'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
<!-- Samstag -->
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 6) {?>
<p style='background-color:orange'>&nbsp;Samstag, <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['day6']->value,"%d.%m.%y");?>
<p>
<?php } else { ?>
<p style='background-color:gray'>&nbsp;Samstag, <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['day6']->value,"%d.%m.%y");?>
<p>
<?php }?>
<div class="kal_f">
<table class="no style">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['k6']->value, 'kal');
$_smarty_tpl->tpl_vars['kal']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kal']->value) {
$_smarty_tpl->tpl_vars['kal']->do_else = false;
?>
<tr style="font-size:12pt" onclick="window.location='?s=kalender&pid=<?php echo $_smarty_tpl->tpl_vars['kal']->value['pid'];?>
&edit=1&car=<?php echo $_smarty_tpl->tpl_vars['kal']->value['car'];?>
';">
<?php if ($_smarty_tpl->tpl_vars['kal']->value['name'] != 0) {?>
<td nowrap style="width: 30px;color: red" align="center"><i class='<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
' ></i></td>
<?php } else { ?>
<td nowrap style="width: 30px;color: darkorange" align="left"><i class='<?php echo $_smarty_tpl->tpl_vars['kal']->value['icon'];?>
'></i></td>
<?php }?>
<td nowrap style="width:170px" align="left"><?php echo $_smarty_tpl->tpl_vars['kal']->value['name'];?>
</td>
<td nowrap style="width:125px" align="left"><?php echo $_smarty_tpl->tpl_vars['kal']->value['bez'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
<!-- Geburtstage -->
<p style='background-color:gray'>&nbsp;Geburtstage<p>
<div class="kal_f">
<table class="no style">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['k0']->value, 'k');
$_smarty_tpl->tpl_vars['k']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['k']->value) {
$_smarty_tpl->tpl_vars['k']->do_else = false;
?>
<tr>
<td nowrap style="width:110px;font-size:13pt"> <b><?php echo $_smarty_tpl->tpl_vars['k']->value['tag'];?>
</td>
<td nowrap style="width:190px;font-size:13pt"> <b><?php echo $_smarty_tpl->tpl_vars['k']->value['name'];?>
</td>
<td nowrap style="font-size:13pt"> <b>(<?php echo $_smarty_tpl->tpl_vars['k']->value['alter'];?>
.)</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</section>
<!-- Main Section End -->
<!-- Sidebar -->
<aside class="col-md-3" style="background-color: #333333">
<div id="rightmenu" class="panel panel-default">
<div class="btn-group">
<a class="btn btn-primary btn-sm" href="?s=kalender&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-arrow-left" aria-hidden="true"></i>
</a>
<button type="button" class="btn btn-default btn-sm"><?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
.KW</button>
</a>
<a class="btn btn-primary btn-sm" href="?s=kalender&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-arrow-right" aria-hidden="true"></i>
</a>
<a class='btn btn-default btn-sm href="#"'>-</a>
<a class="btn btn-primary btn-sm" href="?s=kalender&wahl=3&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-arrow-left" aria-hidden="true"></i>
</a>
<button type="button" class="btn btn-default btn-sm"><?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</button>
</a>
<a class="btn btn-primary btn-sm" href="?s=kalender&wahl=4&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-arrow-right" aria-hidden="true"></i>
</a>
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['edit']->value == 0) {?>
<div id="rightmenu" class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Anlegen/bearbeiten</h2></header>
</div>
<div id="rightmenu" class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Mitarbeiter bearbeiten</h2></header>
<div class="panel-body" style="height:100px;">
<table class="no-style full">
<tbody>
<tr>
<form action="" method="post">
<tr>
<td nowrap style="width:55px;font-size:12pt"> Name: </td>
<td>
<select style="width:165px" name="mitarbeiter">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['mitarbeiterlist']->value, 'mlist');
$_smarty_tpl->tpl_vars['mlist']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['mlist']->value) {
$_smarty_tpl->tpl_vars['mlist']->do_else = false;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['mlist']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['mlist']->value['name'];?>
</option>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
</tr>
<tr>
<td>Grund :</td>
<td><select style="width:165px" name="grund">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['gruende']->value, 'gr');
$_smarty_tpl->tpl_vars['gr']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['gr']->value) {
$_smarty_tpl->tpl_vars['gr']->do_else = false;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['gr']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['gr']->value['bez'];?>
</option>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select></td>
</tr>
<tr>
<td> </td>
<!-- <td><input type="text" name="info" value="" placeholder="hier deine info" /></td> -->
<td><input style="width:165px" type="submit" name="datewahl" value="weiter zum Datum" /></td>
</form>
</tr>
</tbody>
</table>
</div>
</div>
<div id="rightmenu" class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Fahrzeug bearbeiten</h2></header>
<div class="panel-body" style="height:100px;">
<table class="no-style full">
<tbody>
<tr>
<form action="" method="post">
<tr>
<td nowrap style="width:55px;font-size:12pt"> Name: </td>
<td>
<select style="width:165px" name="car">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['carlist']->value, 'clist');
$_smarty_tpl->tpl_vars['clist']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['clist']->value) {
$_smarty_tpl->tpl_vars['clist']->do_else = false;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['clist']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['clist']->value['kz'];?>
</option>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
</tr>
<tr>
<td>Grund :</td>
<td><select style="width:165px" name="grund">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fgruende']->value, 'fgr');
$_smarty_tpl->tpl_vars['fgr']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['fgr']->value) {
$_smarty_tpl->tpl_vars['fgr']->do_else = false;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['fgr']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['fgr']->value['bez'];?>
</option>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select></td>
</tr>
<tr>
<td> </td>
<!-- <td><input type="text" name="info" value="" placeholder="hier deine info" /></td> -->
<td><input style="width:165px" type="submit" name="fdatewahl" value="weiter zum Datum" /></input></td>
</form>
</tr>
</tbody>
</table>
</div>
</div>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['madata']->value['g_id'] == 4 && $_smarty_tpl->tpl_vars['car']->value == 0) {?>
<div id="rightmenu" class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title"><?php echo $_smarty_tpl->tpl_vars['madata']->value['name'];?>
</h2></header>
<section class="panel-body">
<table class="no-style full" id="urlaub" style="font-size:12pt">
</table>
</section>
</div>
<?php } else { ?>
<div id="rightmenu" class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title" style="font-size:16pt"><?php echo $_smarty_tpl->tpl_vars['madata']->value['name'];?>
</h2></header>
<div class="panel-body">
<table class="no style">
<tbody>
<tr><td nowrap style="font-size:16pt"><mark><?php echo $_smarty_tpl->tpl_vars['madata']->value['grund'];?>
</mark></td></tr>
</tbody>
</table>
</div>
</div>
<?php }?>
<div id="rightmenu" class="panel panel-default">
<!-- <header class="panel-heading"><h2 class="panel-title" style="font-size:16pt"><?php echo $_smarty_tpl->tpl_vars['madata']->value['name'];?>
</h2></header> -->
<div class="panel-body" style="height:675px;overflow-y: scroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['testx']->value, 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#F0F0F0" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:10px;font-size:12pt">
<?php if ($_smarty_tpl->tpl_vars['car']->value > 0) {?>
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['madata']->value['mid'];?>
,<?php echo $_smarty_tpl->tpl_vars['madata']->value['g_id'];?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] > 0) {?>checked="checked" <?php }?> <?php if ($_smarty_tpl->tpl_vars['madata']->value['g_id'] == 4 && $_smarty_tpl->tpl_vars['test']->value['ft'] != 9 && $_smarty_tpl->tpl_vars['car']->value == 0) {?> disabled<?php }?>>
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"&nbsp;&nbsp;&nbsp;%d.%m.%Y");?>
</label>
<?php } else { ?>
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['madata']->value['mid'];?>
,<?php echo $_smarty_tpl->tpl_vars['madata']->value['g_id'];?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] > 0) {?>checked="checked" <?php }?> <?php if ($_smarty_tpl->tpl_vars['madata']->value['g_id'] == 4 && $_smarty_tpl->tpl_vars['test']->value['ft'] != 9 && $_smarty_tpl->tpl_vars['car']->value == 0) {?> disabled<?php }?>>
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"&nbsp;&nbsp;&nbsp;%d.%m.%Y");?>
</label>
<?php }?>
</td>
<?php if (smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%w") == 0) {?><tr><td><hr></td></tr><?php }?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<?php }?>
</aside>
<!-- Sidebar End -->
<!------------------------------------------------>
<?php echo '<script'; ?>
> var jahr = '<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var mitarbeiter = '<?php echo $_smarty_tpl->tpl_vars['madata']->value['mid'];?>
';<?php echo '</script'; ?>
>
<style>
ul.nav-tabs > li {
width: 33%;
text-align: center;
}
.kal_f {
background: #115270;
color: #aaaaaa;
padding: 5px;
border: 1px solid;
border-radius:6px;
margin-top: -16px;
margin-bottom: 18px;
height: 100%;
}
</style>
<?php echo '<script'; ?>
>
function save_info(tourID) {
// alert($("#info_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=kal_save&a=info_save",
dataType: 'json',
data: 'tourID=' + tourID + "&info=" + $("#info_"+tourID).val(),
success: function (data) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
console.log(data)
}
});
}
function save_car(time,maID,gID) {
var remember = document.getElementById('info_'+time);
if (remember.checked){
var istC = 1;
}else{
var istC = 0;
}
$.ajax({
type: 'POST',
url: "ajax.php?s=kal_save&a=date_car",
dataType: 'json',
data: 'time=' + time + "&maID="+maID+"&istC="+istC+"&gID="+gID,
success: function (data) {
console.log(data)
}
});
}
function save_date(time,maID,gID) {
var remember = document.getElementById('info_'+time);
if (remember.checked){
var istC = 1;
}else{
var istC = 0;
}
$.ajax({
type: 'POST',
url: "ajax.php?s=kal_save&a=date_save_old",
dataType: 'json',
data: 'time=' + time + "&maID="+maID+"&istC="+istC+"&gID="+gID,
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "left"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});load_free_urlaub(mitarbeiter,jahr)
}
load_free_urlaub(mitarbeiter,jahr);
function load_free_urlaub(maID,jahr) {
$.ajax({
type: 'POST',
url: "ajax.php?s=kal_save&a=load_free_urlaub",
dataType: 'json',
data: "maID=" + maID + "&jahr="+jahr,
success: function (data) {
$("#urlaub").html(data);
console.log(data)
}
});
}
<?php echo '</script'; ?>
>
<?php }
}

View file

@ -0,0 +1,638 @@
<?php
/* Smarty version 4.3.0, created on 2024-09-10 15:19:21
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/kal_load.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66e04759b97095_29636792',
'has_nocache_code' => false,
'file_dependency' =>
array (
'8b82a3b5f59759ab54414a6d17b0c6317307a07a' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/kal_load.tpl',
1 => 1704667657,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66e04759b97095_29636792 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<!-- MA auswahl -->
<section class="col-md-12">
<div class="row sortable">
<!-- Januar -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 1) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading" padding-left: 0>Jan.</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[1], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- Dienstag -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 2) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">Feb.</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[2], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<!-- <div id="MyDiv"><nobr> -->
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- März -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">März</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[3], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- März -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">April</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[4], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- Mai -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">Mai</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[5], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- März -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">Juni</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[6], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- Juli -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">Juli</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[7], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- 8 -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">Aug.</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[8], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- 9 -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">Sep.</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[9], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- 10 -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">Okt.</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[10], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- 11 -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">Nov.</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[11], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- Dezember -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">Dez.</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[12], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</section>
<!-- Main Section End -->
<!-- Sidebar -->
<!----------------------------------------------
<?php echo '<script'; ?>
> var jahr = '<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var mitarbeiter = '<?php echo $_smarty_tpl->tpl_vars['maID']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
function save_date(time,maID) {
var remember = document.getElementById('info_'+time);
if (remember.checked){
var istC = 1;
}else{
var istC = 0;
}
$.ajax({
type: 'POST',
url: "ajax.php?s=kal_save&a=date_save",
dataType: 'json',
data: 'time=' + time + "&maID="+mitarbeiter+"&istC="+istC,
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 200,
newest_on_top: true,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});load_free_urlaub(mitarbeiter,jahr)
}
load_free_urlaub(mitarbeiter,jahr);
function load_free_urlaub(maID,jahr) {
$.ajax({
type: 'POST',
url: "ajax.php?s=kal_rest_u&tpl",
dataType: 'html',
data: "maID=" + maID + "&jahr="+jahr,
success: function (data) {
$("#urlaub").html(data);
console.log(data)
}
});
}
<?php echo '</script'; ?>
>
-->
<?php }
}

View file

@ -0,0 +1,35 @@
<?php
/* Smarty version 4.3.0, created on 2024-03-29 12:29:57
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/i_tour_a.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_6606a635e37391_15266221',
'has_nocache_code' => false,
'file_dependency' =>
array (
'8d73e9272cf461178247f9c5f9597836ca245197' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/i_tour_a.tpl',
1 => 1694432190,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6606a635e37391_15266221 (Smarty_Internal_Template $_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['fehler']->value == 0) {?>
<span id="i_tour_a" style="font-size: 20px;color: darkred"> Es sind noch <?php echo $_smarty_tpl->tpl_vars['nochmenge']->value;?>
Tour(en) in der Warteschleife zum anlegen. !!!</span>
</br>
<span id="i_tour_a" style="font-size: 20px;color: darkred"> aktuell wird Tour <mark><?php echo $_smarty_tpl->tpl_vars['aktuell']->value;?>
für <?php echo $_smarty_tpl->tpl_vars['zeitraum']->value;?>
</mark> angelegt.</span>
<?php } else { ?>
<span id="i_tour_a" style="font-size: 40px;color: darkred"> Bitte die Seite neu laden !!!</span>
<?php }
}
}

View file

@ -0,0 +1,601 @@
<?php
/* Smarty version 4.3.0, created on 2024-05-02 14:56:30
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/pwtag.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66338d7e3c0dd7_66165328',
'has_nocache_code' => false,
'file_dependency' =>
array (
'a249fcd33979c58c485bff8ca24aabcbe52f6beb' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/pwtag.tpl',
1 => 1714654580,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66338d7e3c0dd7_66165328 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),1=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
?>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<?php echo '<script'; ?>
src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"><?php echo '</script'; ?>
>
</head>
<div class="row sortable">
<div class="col-sm-4">
</div>
<div class="col-sm-4">
<b><span style='font-size:12pt;line-height:115%; color:#4F81BD'><a class="button-blue" href="?s=pwtag&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
">&laquo;</a> &#160;&#160;<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&#160;&#160;<a class="button-blue" href="?s=pwtag&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
">&raquo;</a>
</div>
<div class="col-sm-4">
<a class="button button-orange" href="?s=list_pwtag&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tid=<?php echo $_smarty_tpl->tpl_vars['anzeige']->value;?>
">PDF/Monat</a></div>
</div></div>
<div class="col-md-3">
<div class="panel-group" id="accordion">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tag_tour']->value, 't_tour');
$_smarty_tpl->tpl_vars['t_tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['t_tour']->value) {
$_smarty_tpl->tpl_vars['t_tour']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['t_tour']->value['menge'] > 0) {?>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="<?php echo $_smarty_tpl->tpl_vars['t_tour']->value['raute'];?>
"><?php echo $_smarty_tpl->tpl_vars['t_tour']->value['name1'];?>
(<?php echo $_smarty_tpl->tpl_vars['t_tour']->value['name2'];?>
)</a></h4>
</div>
<?php if ($_smarty_tpl->tpl_vars['t_tour']->value['typ'] == $_smarty_tpl->tpl_vars['t_tour']->value['col']) {?> <!-- fenster aufgeklappt bei auswahl des types -->
<div id=<?php echo $_smarty_tpl->tpl_vars['t_tour']->value['typ'];?>
class="panel-collapse collapse in">
<?php } else { ?>
<div id=<?php echo $_smarty_tpl->tpl_vars['t_tour']->value['typ'];?>
class="panel-collapse collapse">
<?php }?>
<div class="panel-body">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['t_tour']->value['tdata'], 'tlist');
$_smarty_tpl->tpl_vars['tlist']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tlist']->value) {
$_smarty_tpl->tpl_vars['tlist']->do_else = false;
?>
<table class="no-style full">
<thead>
<?php if ($_smarty_tpl->tpl_vars['tlist']->value['aktiv'] == 0) {?>
<tr>
<td style="font-size:10pt;color:gray" onclick="window.location='?s=pwtag&id=<?php echo $_smarty_tpl->tpl_vars['tlist']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
'"><?php echo $_smarty_tpl->tpl_vars['tlist']->value['tour'];?>
</td>
<?php } else { ?>
<tr>
<td style="font-size:10pt;color:blue" onclick="window.location='?s=pwtag&id=<?php echo $_smarty_tpl->tpl_vars['tlist']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
'"><?php echo $_smarty_tpl->tpl_vars['tlist']->value['tour'];?>
</td>
<?php }?>
<td nowrap style="font-size:6pt">&nbsp;&nbsp;&nbsp;<?php echo $_smarty_tpl->tpl_vars['tlist']->value['infotitel'];?>
</td>
<!--
<td nowrap style="font-size:11pt"><a href="?s=pwtag&id=<?php echo $_smarty_tpl->tpl_vars['tlist']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" title="Kicke zum ausw&auml;len" ><?php echo $_smarty_tpl->tpl_vars['tlist']->value['tour'];?>
</a></td>
<td nowrap style="font-size:8pt">&nbsp;&nbsp;&nbsp;<?php echo $_smarty_tpl->tpl_vars['tlist']->value['infotitel'];?>
</td>
-->
</tr>
</thead>
</table>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
</div>
</div>
<?php }?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 0) {?>
<div class="col-md-9">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Info</span></h2></header>
<section class="panel-body">
<header class="current"><h2>Info </h2></header>
<span style='font-size:10pt;line-height:115%; color:#4F81BD'>
Bitte die Tour auw&auml;hlen die Sie bearbeiten m&ouml;chten.
</span>
</div>
<div id="plan_tour" style="text-align:center;"></div>
</div>
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// rechte seite -->
<?php } else { ?>
<!-- ///////////////// menu seite -->
<?php if ($_smarty_tpl->tpl_vars['infoanz']->value > 0) {?>
<div class="col-md-6">
<div class="panel panel-danger">
<div class="panel-heading">unklare Tourenplanung</div>
<div class="panel-body" style="height:120px;overflow-y: scroll;">
<table class="table-condensed">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['infod']->value, 'info');
$_smarty_tpl->tpl_vars['info']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['info']->value) {
$_smarty_tpl->tpl_vars['info']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['info']->value['infotyp'] == 4) {?>
<td nowrap style="color:orange;width:60px;line-height:60%;font-size:10pt"> <strong><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['info']->value['date'],"%d.%m.%Y");?>
</strong></td>
<td nowrap style="color:orange;width:180px;line-height:60%;font-size:10pt"> <strong><?php echo $_smarty_tpl->tpl_vars['info']->value['info'];?>
</strong></td>
<td nowrap style="color:#B1B1B1;width:400px;line-height:60%;font-size:10pt"> <strong><?php echo $_smarty_tpl->tpl_vars['info']->value['text'];?>
</strong></td>
<?php } else { ?>
<td nowrap style="color:red;width:60px;line-height:60%;font-size:10pt"> <strong><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['info']->value['date'],"%d.%m.%Y");?>
</strong></td>
<td nowrap style="color:red;width:180px;line-height:60%;font-size:10pt"> <strong><?php echo $_smarty_tpl->tpl_vars['info']->value['info'];?>
</strong></td>
<td nowrap style="color:#B1B1B1;width:400px;line-height:60%;font-size:8pt"> <strong><?php echo $_smarty_tpl->tpl_vars['info']->value['text'];?>
</strong></td>
<?php }?>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
</div>
</div>
<?php } elseif ($_smarty_tpl->tpl_vars['ersanz']->value > 0) {?>
<div class="col-md-6">
<div class="panel panel-info">
<div class="panel-heading">Tourenplanung</div>
<div class="panel-body" style="max-height:120px;overflow-y: scroll;">
<table class="table-condensed">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['ersatzx']->value, 'ersatz');
$_smarty_tpl->tpl_vars['ersatz']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ersatz']->value) {
$_smarty_tpl->tpl_vars['ersatz']->do_else = false;
?>
<td nowrap style="color:#569EFD;width:60px;line-height:60%;font-size:10pt"> <strong><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['ersatz']->value['date'],"%d.%m.%Y");?>
</strong></td>
<td nowrap style="color:#569EFD;width:160px;line-height:60%;font-size:10pt"> <strong><?php echo $_smarty_tpl->tpl_vars['ersatz']->value['info'];?>
</strong></td>
<td nowrap style="color:#B1B1B1;width:400px;line-height:60%;font-size:10pt"> <strong><?php echo $_smarty_tpl->tpl_vars['ersatz']->value['text'];?>
</strong></td>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
</div>
</div>
<?php } else { ?>
<div class="col-md-6">
<div class="panel panel-success">
<div class="panel-heading">gute Tourenplanung</div>
<table class="table-condensed">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['infod']->value, 'info');
$_smarty_tpl->tpl_vars['info']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['info']->value) {
$_smarty_tpl->tpl_vars['info']->do_else = false;
?>
<td nowrap style="color:red;width:60px;line-height:60%;font-size:10pt"> <strong><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['info']->value['date'],"%d.%m.%Y");?>
</strong></td>
<td nowrap style="color:red;width:400px;line-height:60%;font-size:10pt"> <strong><?php echo $_smarty_tpl->tpl_vars['info']->value['info'];?>
</strong></td>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
</div>
<?php }?>
<!-- ***** kompletten Monat einzeln Daten ändern ***** -->
<div class="col-md-3">
<div class="panel panel-default">
<div class="panel-heading">Monat kopieren</div>
<table class="table">
<thead>
<tr>
<form action="" method="post">
<td style="width:90%;">Startzeit&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['zeit'];?>
" style="width:50px;" name="ezeit" placeholder="14:30"></td>
<td><input type="image" name="ezeit2" value="<?php echo $_smarty_tpl->tpl_vars['tourname']->value;?>
" src="template/images/icon/save.png"/></td>
</form>
</td>
</tr>
<!-- --------------------------- fahrer -->
<tr>
<form action="" method="post">
<td style="width:90%x;"><select name="efahrer" style="width:150px;" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array']->value, 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['s_fahrer']->value),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select></td>
<td><input type="image" name="efahrer2" value="<?php echo $_smarty_tpl->tpl_vars['tourname']->value;?>
" src="template/images/icon/save.png"/></td>
</form>
</td>
</tr>
<!-- --------------------------- Fahrzeug -->
<tr>
<form action="" method="post">
<td style="width:180px;"><select name="eauto" style="width:180px;" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auto_array']->value, 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'selected'=>$_smarty_tpl->tpl_vars['s_auto']->value),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select></td>
<td><input type="image" name="eauto2" value="<?php echo $_smarty_tpl->tpl_vars['tourname']->value;?>
" src="template/images/icon/save.png"/></td>
</form>
</td>
</tr>
</thead>
</table>
</div>
</div>
<div class="col-md-9">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Tourenplanung ges. Monat <?php echo $_smarty_tpl->tpl_vars['tourname']->value;?>
</span></h2></header>
<section class="panel-body">
<table class="no-style full" style="font-size: 10pt">
<thead>
<tr>
<th style="width:70px" align="left">Tour</th>
<th style="width:50px" align="left">Zeit</th>
<th style="width:190px" align="left">Fahrer</th>
<th style="width:130px" align="left">Fahrzeug</th>
<th style="width:300px" align="left">z.Info</th>
</tr>
</thead>
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour_edit']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['tagnr'] == 1) {?>
<td><hr style="color: red; height: 1px;" /></td>
<td><hr style="color: red; height: 1px;" /></td>
<td><hr style="color: red; height: 1px;" /></td>
<td><hr style="color: red; height: 1px;" /></td>
<td><hr style="color: red; height: 1px;" /></td>
<?php }?>
<tr>
<td style="width:70px"><b><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['tour']->value['date'],"%d.%m.%y");?>
</td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['zeit'];?>
" id="time_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:45px;" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][zeit]" onChange="save_time(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)"></td>
<td style="width:190px"><center>
<!--
1= kein Fahrer ausgewählt
2= fahrer hat Kalendereintrag
3= nicht stammfahrer
4= doppelt N8 einsatz
-->
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrer]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_na'] == 1) {?> style="border-color:red;width:180px;" onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)"
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_na'] == 2) {?> style="border-color:red;width:180px;" onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)"
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_na'] == 3) {?> style="border-color:blue;width:180px;" onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)"
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_na'] == 4) {?> style="border-color:orange;width:180px;" onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)"
<?php } else { ?> style="width:180px;"onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)"<?php }?>>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array']->value, 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['id'];?>
" <?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == $_smarty_tpl->tpl_vars['allfahrer']->value['id']) {?> selected="selected"<?php }?> ><strong><?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['name'];?>
</strong></option>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td style="width:130px"><center>
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrzeug]" id="car_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:90px;" onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)"/>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auto_array']->value, 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['auto_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<td>
<input type="text" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['infotext'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:90%;" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][infotext]" onChange="save_info(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)"/></td>
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][tid]" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"/><input type="hidden" name="testsave" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" >
<!-- <input type="image" name="speichern" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" src="template/images/icon/l.png"/> -->
<td> <center>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsid'] == 0 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?><input type="image" name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" src="template/images/icon/sms2.png"/><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsid'] > 0 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?><input type="image" name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" src="template/images/icon/okay.png"/><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0) {?><input type="image" name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" src="template/images/icon/nosms.png"/><?php }?>
</center>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</div></div>
<dl>
<section>
<table class="no-style full" id="trp" style="font-size:11pt">
</table>
</dl>
<?php }?>
</div></div></div></div>
<?php echo '<script'; ?>
> var tagheute ='<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['datum_unix']->value,"%Y-%m-%d");?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
type="text/javascript">
$.ajax({
type : "POST",
url : 'ajax.php?s=plan_tour&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#plan_tour").html(data);
},
});
function save_info(tourID) {
$.ajax({
type: 'POST',
url: "ajax.php?s=paktuell2&a=info_save",
dataType: 'json',
data: 'tourID=' + tourID + "&info=" + $("#info_"+tourID).val(),
success: function (data) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
console.log(data)
}
});
}
function save_time(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=paktuell2&a=time_save",
dataType: 'json',
data: 'tourID=' + tourID + "&time=" + $("#time_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
function save_car(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=paktuell2&a=car_save",
dataType: 'json',
data: 'tourID=' + tourID + "&car=" + $("#car_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
load_free_cars(tourID,tagheute)
}
console.log(data)
}
});
}
load_free_cars(0,tagheute);
function save_user(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=paktuell2&a=user_save",
dataType: 'json',
data: 'tourID=' + tourID + "&user=" + $("#user_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
<?php echo '</script'; ?>
>
<?php }
}

View file

@ -0,0 +1,136 @@
<?php
/* Smarty version 4.3.0, created on 2024-05-30 12:29:01
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/kalender2.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_665854edac2949_53117893',
'has_nocache_code' => false,
'file_dependency' =>
array (
'a38fbfe99334248ba59b71091ed378fffc034339' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/kalender2.tpl',
1 => 1704652077,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_665854edac2949_53117893 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
?>
<form action="" method="post">
<b> Auswahl Monat/Jahr:
<select name="monate" style="width:180px;" >
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['monate']->value['id'],'output'=>$_smarty_tpl->tpl_vars['monate']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['monate']->value['monat']),$_smarty_tpl);?>
</select>
<select name="jahre" style="width:180px;" >
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['jahre']->value['id'],'output'=>$_smarty_tpl->tpl_vars['jahre']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['jahre']->value['jahr']),$_smarty_tpl);?>
</select>
<input type="submit" name="auswahl" value="OK" >
</form>
</br>
</br>
<div class="container-fluid">
<div class="row">
<div class="col-sm-12">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kltag']->value, 'kl_tag');
$_smarty_tpl->tpl_vars['kl_tag']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kl_tag']->value) {
$_smarty_tpl->tpl_vars['kl_tag']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['kl_tag']->value['tag'] == 1) {?>
<div class="panel panel-default">
<div class="panel-heading" align="left">Kalenderwoche: <?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['kw'];?>
- <?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['jahr'];?>
</div>
<table class="table-hover">
<tbody>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['kl_tag']->value['wt'] == "Montag") {?>
</tbody>
</table>
</div>
<div class="panel panel-default">
<div class="panel-heading" align="left">Kalenderwoche: <?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['kw'];?>
- <?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['jahr'];?>
</div>
<table class="table-hover">
<tbody>
<?php }?>
<tr>
<td style="width:150px; text-align:left" onclick="window.location='?s=kalender_neu&tag=<?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['tag'];?>
.<?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['monat'];?>
.<?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['jahr'];?>
';"><?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['tag'];?>
.<?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['monat'];?>
.<?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['jahr'];?>
(<?php echo $_smarty_tpl->tpl_vars['kl_tag']->value['tw'];?>
)</td>
</tr>
<tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kl_tag']->value['data'], 'data');
$_smarty_tpl->tpl_vars['data']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['data']->value) {
$_smarty_tpl->tpl_vars['data']->do_else = false;
?>
<td nowrap align="left" style="width:200px;font-size:11pt">
<b> </b>
</td>
<td style="width:200px; text-align:left" onclick="window.location='?s=kalender_edit&id=<?php echo $_smarty_tpl->tpl_vars['data']->value['pid'];?>
';">
<img src="/template/images/icon/<?php echo $_smarty_tpl->tpl_vars['data']->value['icon'];?>
" width="16" height="16"/> <?php echo $_smarty_tpl->tpl_vars['data']->value['name'];?>
</td>
<td style="width:200px; text-align:left" onclick="window.location='?s=kalender_edit&id=<?php echo $_smarty_tpl->tpl_vars['data']->value['pid'];?>
';"><?php echo $_smarty_tpl->tpl_vars['data']->value['bez'];?>
</td>
<td style="width:300px; text-align:left" onclick="window.location='?s=kalender_edit&id=<?php echo $_smarty_tpl->tpl_vars['data']->value['pid'];?>
';"><img <?php echo $_smarty_tpl->tpl_vars['data']->value['info'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
</div>
<?php }
}

View file

@ -0,0 +1,232 @@
<?php
/* Smarty version 4.3.0, created on 2024-04-14 10:16:38
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_urlaub.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_661b90e6456901_69785706',
'has_nocache_code' => false,
'file_dependency' =>
array (
'a491547ae68c37c6ce0f309c40ced678a172ab13' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/v_urlaub.tpl',
1 => 1710804578,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_661b90e6456901_69785706 (Smarty_Internal_Template $_smarty_tpl) {
?><div id="spinner-div" class="pt-5">
<div class="spinner-border text-primary" role="status">
<i class="fas fa-spinner fa-pulse fa-10x"></i>
<p>Loading...</p>
</div>
</div>
<section class="col-md-12">
<div class="row sortable">
<div class="col-md-4">
<div class="mwahl">
<select style="width:100%;font-size:16pt;background-color:#115270;border-color:#115270" name="mitarbeiter" id="maID" onChange="ma_wahl(<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
)">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['malist']->value, 'mlist');
$_smarty_tpl->tpl_vars['mlist']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['mlist']->value) {
$_smarty_tpl->tpl_vars['mlist']->do_else = false;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['mlist']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['mlist']->value['name'];?>
</option>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</div>
</div>
<!-- summe -->
<div class="col-md-6">
<div class="mwahl" id="urlaub" align="center" style="font-size:12pt">
<p>Bitte Mitarbeiter auswählen.</p>
</div>
</div>
<!-- Jahresauswahl -->
<div class="col-md-2">
<div class="mwahl" align="center">
<div class="btn-group">
<a class="btn btn-primary btn-sm" href="?s=kalender&wahl=3&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-arrow-left" aria-hidden="true"></i>
</a>
<button type="button" class="btn btn-sm" style="font-size:12pt;background-color:#115270"><?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</button>
</a>
<a class="btn btn-primary btn-sm" href="?s=kalender&wahl=4&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-arrow-right" aria-hidden="true"></i>
</a>
</div>
</div>
</div>
</div>
</section>
<?php if ($_smarty_tpl->tpl_vars['mid']->value == 0) {?>
<!-- MA auswahl -->
<section class="col-md-12">
<div class="row sortable" id="kaledit">
<p align="center" style="font-size:200pt;background-color:#333333;color:#115270">
<i class="fa fa-edit" aria-hidden="true"></i>
</p>
</div>
</section>
<?php }?>
<!------------------------------------------------>
<?php echo '<script'; ?>
> var jahr = '<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var mitarbeiter = '<?php echo $_smarty_tpl->tpl_vars['madata']->value['mid'];?>
';<?php echo '</script'; ?>
>
<style>
ul.nav-tabs > li {
width: 33%;
text-align: center;
}
</style>
<?php echo '<script'; ?>
>
function ma_wahl(jahr) {
$('#spinner-div').show();
var mdata = $("#maID").val();
$.ajax({
type: 'POST',
url: "ajax.php?s=kal_urlaub&tpl",
dataType: 'html',
data: 'jahr=' + jahr + "&maID=" + mdata,
success: function (data) {
console.log(data)
$("#kaledit").html(data);
$('#spinner-div').hide();
}
});
}
function kaledit2(time,maID,gID) {
var remember = document.getElementById('info_'+time);
if (remember.checked){
var istC = 1;
}else{
var istC = 0;
}
$.ajax({
type: 'POST',
url: "ajax.php?s=kal_save&a=date_save",
dataType: 'json',
data: 'time=' + time + "&maID="+maID+"&istC="+istC+"&gID="+gID,
beforeSend:function() {
$('.loader').show();
},
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});load_free_urlaub(mitarbeiter,jahr)
}
load_free_urlaub(mitarbeiter,jahr);
$(document).ready(function () {
$("#do-call").click(function () {//The load button
$('#spinner-div').show();//Load button clicked show spinner
$.ajax({
url: "https://jb-data.de/",
type: 'GET',
dataType: 'json',
success: function (res) {
//On success do something....
},
complete: function () {
$('#spinner-div').hide();//Request is complete so hide spinner
}
});
});
});
<?php echo '</script'; ?>
>
<style>
.loader{
display: none;
}
.mwahl {
align-content: center;
background: #115270;
color: #aaaaaa;
padding: 5px;
border: 1px solid;
border-radius:6px;
margin-left: 0px;
margin-top: -10px;
margin-bottom: 10px;
height: 45px;
}
.malist {
background: #115270;
color: #808080;
padding: 5px;
border: 1px solid;
border-radius:6px;
margin-top: -12px;
margin-bottom: 60px;
}
</style>
<?php }
}

View file

@ -0,0 +1,643 @@
<?php
/* Smarty version 4.3.0, created on 2024-04-01 11:37:15
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/paktuell.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_660a804bbd92c9_14900350',
'has_nocache_code' => false,
'file_dependency' =>
array (
'a56cbcf219bde4f4d93df80f752fe394d12cac65' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/paktuell.tpl',
1 => 1704563114,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_660a804bbd92c9_14900350 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),1=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<div class="row sortable">
<div class="col-md-1">
<div class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">Tag</span></h2></header>
<table class="table-hover" style="font-size:11pt">
<thead>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tagex']->value, 'tage');
$_smarty_tpl->tpl_vars['tage']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tage']->value) {
$_smarty_tpl->tpl_vars['tage']->do_else = false;
?>
<tr>
<?php if ($_smarty_tpl->tpl_vars['tage']->value['tagt'] == 1) {?> <td><h4><font color="#A8A5A5">-<?php echo $_smarty_tpl->tpl_vars['tage']->value['kw'];?>
.KW-</td></tr><tr> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tage']->value['aktiv'] > 0) {?>
<td style="background:#FF0"><a href="?s=paktuell&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['tage']->value['tag'];?>
" title="Kicke zum ausw&auml;len"><?php echo $_smarty_tpl->tpl_vars['tage']->value['datum'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['tage']->value['ft'] > 0) {?>
<td style="background:#F5A50D"><a href="?s=paktuell&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['tage']->value['tag'];?>
" title="Kicke zum ausw&auml;len"><?php echo $_smarty_tpl->tpl_vars['tage']->value['datum'];?>
</td>
<?php } else { ?>
<td><a href="?s=paktuell&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['tage']->value['tag'];?>
" title="Kicke zum ausw&auml;len" ><?php echo $_smarty_tpl->tpl_vars['tage']->value['datum'];?>
</td>
<?php }?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</thead>
</table>
</div>
</div>
<!-- mitte seite -->
<div class="col-md-7">
<?php if ($_smarty_tpl->tpl_vars['fttest']->value != 0) {?>
<div class="panel panel-danger">
<div class="panel-heading">Feiertag</div>
<table class="table-condensed">
<tbody>
<td nowrap style="width:100px;line-height:120%;font-size:14pt"> <strong><?php echo $_smarty_tpl->tpl_vars['ftrow']->value['tag'];?>
</strong></td>
<td nowrap style="width:500px;line-height:120%;font-size:14pt"> <strong><?php echo $_smarty_tpl->tpl_vars['ftrow']->value['bez'];?>
</strong></td>
</tbody>
</table>
</div>
<?php }?>
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">alle Touren f&uuml;r den <?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
.<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
.<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</span></h2></header>
<section class="panel-body">
<table class="table-full">
<thead>
<tr>
<th style=font-size:10pt;>Tour</th>
<th style=font-size:10pt;>Fahrer</th>
<th style=font-size:10pt;>Fahrzeug</th>
<th style=font-size:10pt;>Bemerkung</th>
<th style=font-size:10pt;> </th>
<th style=font-size:10pt;>SMS</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tag_tour2']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<form action="" method="post">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['tour'] == 99999999) {?>
<tr>
<td><hr style="color: red; height: 1px;" /></td>
<td><hr style="color: red; height: 1px;" /></td>
<td><hr style="color: red; height: 1px;" /></td>
<td><hr style="color: red; height: 1px;" /></td>
<td><hr style="color: red; height: 1px;" /></td>
</tr>
<?php } else { ?>
<tr>
<td nowrap style="width:100px;font-size:11pt"><b> <?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<!-- --------------------------- fahrer -->
<td nowrap style="width:170px;font-size:11pt">
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrer]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:160px;" onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['fahrer_array'], 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['fahrer_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td nowrap style="width:105px;font-size:11pt">
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrzeug]" id="car_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:100px;" onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auto_array']->value, 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['auto_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['infotext'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:210px;font-size:10pt" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][infotext]" onChange="save_info(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)"></center></td>
<td><center> <input type="image" name="savetour" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" src="template/images/icon/l.png" /> </center></td> <!-- erzwingen -->
<td>
<center>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsid'] == 0 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] != 1009) {?>
<!-- <input type="image" name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" src="template/images/icon/sms2.png"/> -->
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"><i class='fa fa-comment-o'></i></button>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsid'] > 0 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<button type='submit' name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"><i class='fa fa-check-square-o'></i></button>
<!-- <input type="image" name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" src="template/images/icon/okay.png"/> -->
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0 || $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 1009) {?>
<!-- <input type="image" name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" src="template/images/icon/nosms.png"/> -->
<button type='submit' disabled name="smssenden" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"><i class='fa fa-times'></i></button>
<?php }?>
</center>
</td>
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][tid]" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"/>
<td nowrap align="center" style="width:30px">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_update'] > 0) {?>
<a class="btn btn-xs" target="_last" onClick="javascript:open('', '_last', 'height=800,width=600,resizable=yes')"
href="?s=phistory&tour=<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
" onmouseout="hideTooltip()" onmouseover="showTooltip(event,'geändert: <?php echo $_smarty_tpl->tpl_vars['tour']->value['n_update'];?>
- <?php echo $_smarty_tpl->tpl_vars['tour']->value['t_update'];?>
');return false" aria-label="danger" >
<i class="fa fa-info"style="color:orange;"></i>
<?php } else { ?>
<a class="btn btn-xs" target="_last" onClick="javascript:open('', '_last', 'height=800,width=600,resizable=yes')"
href="?s=phistory&tour=<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
" aria-label="Settings">
<i color:#4F81BD; class="fa fa-info"></i>
<?php }?>
</td>
</tr>
<?php }?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<tr>
<td></td>
<td><input type="submit" id="notifyBtn" name="vortag" value="vortag übernehmen" onclick="return confirm('M&ouml;chten sie wirklich den Vortag kopieren ??')"> </td>
<td></td>
<td><input type="submit" id="notifyBtn" name="testsave" value="kompl. Liste Speichern"></td>
</form>
</tr>
</form>
</tbody>
</table>
</div>
</div>
<!-- rechte seite -->
<!-- -------------------------------------->
<!-- Sidebar -->
<aside class="col-md-4">
<div id="rightmenu" class="panel panel-default">
<header class="panel-heading">
<table class="no-style full">
<tbody>
<td nowrap style="align:center;width:320px;font-size:14pt">
<a class="fa fa-arrow-left" href="?s=paktuell&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
"></a>
<strong><?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</strong>
<a class="fa fa-arrow-right" href="?s=paktuell&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
"></a></td>
</tbody>
</table>
</header>
</div>
<!-- -------------------------------- fehlende Mitarbeiter heute
<div id="kal_1" style="text-align:center;"></div>
-->
<div id="rightmenu" class="panel panel-warning">
<header class="panel-heading"><span class="fa fa-calendar fa-fw pull-left"></span><h2 class="panel-title">Kalender - <?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
.<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
.<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</h2></header>
<div class="panel-body">
<table class="no-style full">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['maf']->value, 'maf1');
$_smarty_tpl->tpl_vars['maf1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf1']->value) {
$_smarty_tpl->tpl_vars['maf1']->do_else = false;
?>
<tr>
<td nowrap style="width:135px;font-size:10pt"> <?php echo $_smarty_tpl->tpl_vars['maf1']->value['fahrer'];?>
</td>
<td nowrap style="width:25px;font-size:11pt"> <img src="/template/images/icon/<?php echo $_smarty_tpl->tpl_vars['maf1']->value['icon'];?>
" width="16" height="16"/></td>
<td nowrap style="width:150px;font-size:10pt"> <?php echo $_smarty_tpl->tpl_vars['maf1']->value['bez'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<div id="rightmenu" class="panel panel-info">
<header class="panel-heading"><span class="fa fa-moon-o fa-fw pull-left"></span><h2 class="panel-title"> verfügbare Caddy</h2></header>
<div class="panel-body">
<table class="no-style full" id="caddy" style="font-size:10pt"></table>
</div>
</div>
<div id="rightmenu" class="panel panel-info">
<header class="panel-heading"><span class="fa fa-moon-o fa-fw pull-left"></span><h2 class="panel-title"> verfügbare Transporter</h2></header>
<div class="panel-body">
<table class="no-style full" id="trp" style="font-size:10pt"></table>
</div>
</div>
<div id="rightmenu" class="panel panel-warning">
<header class="panel-heading"><spawn class="fa fa-sun-o fa-fw pull-left fa-spin fa-fw"></spawn><h2 class="panel-title"> verfügbare PKW´s</h2></header>
<div class="panel-body">
<table class="no-style full" id="pkw" style="font-size:10pt"></table>
</div>
</div>
<div id="rightmenu" class="panel panel-warning">
<header class="panel-heading"><spawn class="fa fa-sun-o fa-fw pull-left fa-spin fa-fw"></spawn><h2 class="panel-title"> verfügbare Caddy</h2></header>
<div class="panel-body">
<table class="no-style full" id="caddytag" style="font-size:10pt"></table>
</div>
</div>
<div id="rightmenu" class="panel panel-warning">
<header class="panel-heading"><spawn class="fa fa-sun-o fa-fw pull-left fa-spin fa-fw"></spawn><h2 class="panel-title"> verfügbare Transporter</h2></header>
<div class="panel-body">
<table class="no-style full" id="trptag" style="font-size:10pt"></table>
</div>
</div>
</aside>
<!-- Sidebar End -->
<?php echo '<script'; ?>
> var tagheute = '<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['datum_unix']->value,"%Y-%m-%d");?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
function load_free_cars(tourID,date) {
$.ajax({
type: 'POST',
url: "ajax.php?s=paktuell&a=load_free_cars",
dataType: 'json',
data: 'tourID=' + tourID + "&date=" + date,
success: function (data) {
console.log(data)
$("#pkw").html("");
$("#trp").html("");
$("#caddy").html("");
$("#trptag").html("");
$("#caddytag").html("");
$.each( data.pkwtag, function( key, value ) {
$("#pkwtag").append(value+"<br>");
});
$.each( data.caddy, function( key, value ) {
$("#caddy").append(value+"<br>");
});
$.each( data.trp, function( key, value ) {
$("#trp").append(value+"<br>");
});
$.each( data.caddytag, function( key, value ) {
$("#caddytag").append(value+"<br>");
});
$.each( data.trptag, function( key, value ) {
$("#trptag").append(value+"<br>");
});
}
});
}
function save_car(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=paktuell&a=car_save",
dataType: 'json',
data: 'tourID=' + tourID + "&car=" + $("#car_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
load_free_cars(tourID,tagheute)
}
console.log(data)
}
});
}
load_free_cars(0,tagheute);
function save_info(tourID) {
$.ajax({
type: 'POST',
url: "ajax.php?s=paktuell&a=info_save",
dataType: 'json',
data: 'tourID=' + tourID + "&info=" + $("#info_"+tourID).val(),
success: function (data) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
console.log(data)
}
});
}
function save_user(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=paktuell&a=user_save",
dataType: 'json',
data: 'tourID=' + tourID + "&user=" + $("#user_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
$(document).ready(function(){
$('[data-toggle="popover"]').popover();
});
<?php echo '</script'; ?>
>
<style type="text/css">
#dhtmlgoodies_tooltip{
background-color:#EEE;
border:1px solid #000;
position:absolute;
display:none;
z-index:20000;
padding:2px;
font-size:0.9em;
-moz-border-radius:6px; /* Rounded edges in Firefox */
font-family: "Trebuchet MS", "Lucida Sans Unicode", Arial, sans-serif;
}
#dhtmlgoodies_tooltipShadow{
position:absolute;
background-color:#555;
display:none;
z-index:10000;
opacity:0.7;
filter:alpha(opacity=70);
-khtml-opacity: 0.7;
-moz-opacity: 0.7;
-moz-border-radius:6px; /* Rounded edges in Firefox */
}
</style>
<SCRIPT type="text/javascript">
/************************************************************************************************************
(C) www.dhtmlgoodies.com, October 2005
This is a script from www.dhtmlgoodies.com. You will find this and a lot of other scripts at our website.
Updated:
March, 11th, 2006 - Fixed positioning of tooltip when displayed near the right edge of the browser.
April, 6th 2006, Using iframe in IE in order to make the tooltip cover select boxes.
Terms of use:
You are free to use this script as long as the copyright message is kept intact. However, you may not
redistribute, sell or repost it without our permission.
Thank you!
www.dhtmlgoodies.com
Alf Magne Kalleland
************************************************************************************************************/
var dhtmlgoodies_tooltip = false;
var dhtmlgoodies_tooltipShadow = false;
var dhtmlgoodies_shadowSize = 4;
var dhtmlgoodies_tooltipMaxWidth = 200;
var dhtmlgoodies_tooltipMinWidth = 100;
var dhtmlgoodies_iframe = false;
var tooltip_is_msie = (navigator.userAgent.indexOf('MSIE')>=0 && navigator.userAgent.indexOf('opera')==-1 && document.all)?true:false;
function showTooltip(e,tooltipTxt)
{
var bodyWidth = Math.max(document.body.clientWidth,document.documentElement.clientWidth) - 20;
if(!dhtmlgoodies_tooltip){
dhtmlgoodies_tooltip = document.createElement('DIV');
dhtmlgoodies_tooltip.id = 'dhtmlgoodies_tooltip';
dhtmlgoodies_tooltipShadow = document.createElement('DIV');
dhtmlgoodies_tooltipShadow.id = 'dhtmlgoodies_tooltipShadow';
document.body.appendChild(dhtmlgoodies_tooltip);
document.body.appendChild(dhtmlgoodies_tooltipShadow);
if(tooltip_is_msie){
dhtmlgoodies_iframe = document.createElement('IFRAME');
dhtmlgoodies_iframe.frameborder='5';
dhtmlgoodies_iframe.style.backgroundColor='#FFFFFF';
dhtmlgoodies_iframe.src = '#';
dhtmlgoodies_iframe.style.zIndex = 100;
dhtmlgoodies_iframe.style.position = 'absolute';
document.body.appendChild(dhtmlgoodies_iframe);
}
}
dhtmlgoodies_tooltip.style.display='block';
dhtmlgoodies_tooltipShadow.style.display='block';
if(tooltip_is_msie)dhtmlgoodies_iframe.style.display='block';
var st = Math.max(document.body.scrollTop,document.documentElement.scrollTop);
if(navigator.userAgent.toLowerCase().indexOf('safari')>=0)st=0;
var leftPos = e.clientX + 10;
dhtmlgoodies_tooltip.style.width = null; // Reset style width if it's set
dhtmlgoodies_tooltip.innerHTML = tooltipTxt;
dhtmlgoodies_tooltip.style.left = leftPos + 'px';
dhtmlgoodies_tooltip.style.top = e.clientY + 10 + st + 'px';
dhtmlgoodies_tooltipShadow.style.left = leftPos + dhtmlgoodies_shadowSize + 'px';
dhtmlgoodies_tooltipShadow.style.top = e.clientY + 10 + st + dhtmlgoodies_shadowSize + 'px';
if(dhtmlgoodies_tooltip.offsetWidth>dhtmlgoodies_tooltipMaxWidth){ /* Exceeding max width of tooltip ? */
dhtmlgoodies_tooltip.style.width = dhtmlgoodies_tooltipMaxWidth + 'px';
}
var tooltipWidth = dhtmlgoodies_tooltip.offsetWidth;
if(tooltipWidth<dhtmlgoodies_tooltipMinWidth)tooltipWidth = dhtmlgoodies_tooltipMinWidth;
dhtmlgoodies_tooltip.style.width = tooltipWidth + 'px';
dhtmlgoodies_tooltipShadow.style.width = dhtmlgoodies_tooltip.offsetWidth + 'px';
dhtmlgoodies_tooltipShadow.style.height = dhtmlgoodies_tooltip.offsetHeight + 'px';
if((leftPos + tooltipWidth)>bodyWidth){
dhtmlgoodies_tooltip.style.left = (dhtmlgoodies_tooltipShadow.style.left.replace('px','') - ((leftPos + tooltipWidth)-bodyWidth)) + 'px';
dhtmlgoodies_tooltipShadow.style.left = (dhtmlgoodies_tooltipShadow.style.left.replace('px','') - ((leftPos + tooltipWidth)-bodyWidth) + dhtmlgoodies_shadowSize) + 'px';
}
if(tooltip_is_msie){
dhtmlgoodies_iframe.style.left = dhtmlgoodies_tooltip.style.left;
dhtmlgoodies_iframe.style.top = dhtmlgoodies_tooltip.style.top;
dhtmlgoodies_iframe.style.width = dhtmlgoodies_tooltip.offsetWidth + 'px';
dhtmlgoodies_iframe.style.height = dhtmlgoodies_tooltip.offsetHeight + 'px';
}
}
function hideTooltip()
{
dhtmlgoodies_tooltip.style.display='none';
dhtmlgoodies_tooltipShadow.style.display='none';
if(tooltip_is_msie)dhtmlgoodies_iframe.style.display='none';
}
<?php echo '</script'; ?>
>
<?php }
}

View file

@ -0,0 +1,501 @@
<?php
/* Smarty version 4.3.0, created on 2024-08-23 12:49:51
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/c_inaktiv.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66c8694f873b50_62249010',
'has_nocache_code' => false,
'file_dependency' =>
array (
'abfd285a6f22158d06312050385e557e46a92524' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/c_inaktiv.tpl',
1 => 1724228321,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66c8694f873b50_62249010 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),1=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<!-- ************************ PKW -->
<div class="col-md-3">
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;color:#4F81BD'>inaktive PKW</span></i></div>
<div class="panel-body">
<table class="table-hover">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['madata1']->value, 'madata');
$_smarty_tpl->tpl_vars['madata']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['madata']->value) {
$_smarty_tpl->tpl_vars['madata']->do_else = false;
?>
<tr>
<td nowrap style="width:120px;font-size:14pt">
<a href="?s=c_inaktiv&id=<?php echo $_smarty_tpl->tpl_vars['madata']->value['id'];?>
" title="Kicke zum ausw&auml;len" class="name"><?php echo $_smarty_tpl->tpl_vars['madata']->value['kz'];?>
</a> <br/>
</td>
<td nowrap style="width:100px;text-align:right;font-size:14pt;line-height:115%;">
<a style="font-size:14pt;" class="btn btn-default" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=c_pdf" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<!-- ************************ kleine Transporter / Hundefänger / Caddy -->
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;color:#4F81BD'>inaktive Caddy´s</span></i></div>
<div class="panel-body">
<table class="table-hover">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['madata2']->value, 'madata');
$_smarty_tpl->tpl_vars['madata']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['madata']->value) {
$_smarty_tpl->tpl_vars['madata']->do_else = false;
?>
<tr>
<td nowrap style="width:120px;font-size:14pt">
<a href="?s=c_inaktiv&id=<?php echo $_smarty_tpl->tpl_vars['madata']->value['id'];?>
" title="Kicke zum ausw&auml;len" class="name"><?php echo $_smarty_tpl->tpl_vars['madata']->value['kz'];?>
</a> <br/>
</td>
<td nowrap style="width:100px;text-align:right;font-size:14pt;line-height:115%;">
<a style="font-size:14pt;" class="btn btn-default" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=c_pdf" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<!-- ************************ Transporter -->
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title"><span style='font-size:14pt;color:#4F81BD'>inaktive Transporter</span></i></div>
<div class="panel-body">
<table class="table-hover">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['madata3']->value, 'madata');
$_smarty_tpl->tpl_vars['madata']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['madata']->value) {
$_smarty_tpl->tpl_vars['madata']->do_else = false;
?>
<tr>
<td nowrap style="width:120px;font-size:14pt">
<a href="?s=c_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['madata']->value['id'];?>
" title="Kicke zum ausw&auml;len" class="name"><?php echo $_smarty_tpl->tpl_vars['madata']->value['kz'];?>
</a> <br/>
</td>
<td nowrap style="width:100px;text-align:right;font-size:14pt;line-height:115%;">
<a style="font-size:14pt;" class="btn btn-default" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=c_pdf" aria-label="Settings">
<i class="fa fa-file-pdf-o fa-ls" aria-hidden="true"></i>
</a>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<!-- -------------------------------- Spaltenwechsel -->
</div>
<!-- -------------------------------- Car uaswählen info -->
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 0) {?>
<span style='font-size:14pt;line-height:115%; color:#4F81BD'>Bitte das Fahrzeug auw&auml;hlen den Sie bearbeiten m&ouml;chten.</span>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value > 0) {?>
<!-- MA Info Anzeigen -->
<!-- ****************************************************************** zum Fahrzeug-->
<form action="" method="post"><input type="hidden" name="vid" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['id'];?>
" />
<div class="col-md-4">
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr><td nowrap="nowrap"style="width:120px;">Kennzeichen:</td>
<td nowrap="nowrap"style="width:210px;"><input type="text" name="kz" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kz'];?>
" style="width:200px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Hersteller:</strong></td>
<td nowrap="nowrap"style="width:210px;"><input type="text" name="hersteller" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['hersteller'];?>
" style="width:200px"/></td></tr>
<tr>
<td nowrap="nowrap"><strong>Bezeichnung:</strong></td>
<td nowrap="nowrap"style="width:210px;"><input type="text" name="name" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['name'];?>
" style="width:200px"/></td></tr>
<tr>
<td nowrap="nowrap"><strong>KBA zu2/3:</strong></td>
<td nowrap="nowrap"style="width:210px;"><input type="text" name="kba2" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kba2'];?>
" style="width:98px"/>
<input type="text" name="kba3" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kba3'];?>
" style="width:98px"/>
</td>
</tr>
<tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** Kommunikation -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td nowrap="nowrap"style="width:120px;">FahrgestellNr.:</td>
<td><input type="text" name="fin" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['fin'];?>
" style="width:200px"/></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>KFZ-Typ:</strong></td>
<td>
<select name="typ">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['typ']->value, 'type');
$_smarty_tpl->tpl_vars['type']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['type']->value) {
$_smarty_tpl->tpl_vars['type']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['type']->value['id'],'output'=>$_smarty_tpl->tpl_vars['type']->value['bezeichnung'],'selected'=>$_smarty_tpl->tpl_vars['fahrzeug']->value['typ']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Erstzulassung:</strong></td>
<td><input type="text" name="ezltag" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['ezltag']);?>
" style="width:30px"/>
<input type="text" name="ezlmonat" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['ezlmonat']);?>
" style="width:30px"/>
<input type="text" name="ezljahr" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ezljahr'];?>
" style="width:60px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>JB- Zulassung:</strong></td>
<td><input type="text" name="jbtag" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['jbtag']);?>
" style="width:30px"/>
<input type="text" name="jbmonat" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['jbmonat']);?>
" style="width:30px"/>
<input type="text" name="jbjahr" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jbjahr'];?>
" style="width:60px"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">Ölsorte:</td>
<td>
<select name="osorte">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['oel']->value, 'ol');
$_smarty_tpl->tpl_vars['ol']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ol']->value) {
$_smarty_tpl->tpl_vars['ol']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['ol']->value['id'],'output'=>$_smarty_tpl->tpl_vars['ol']->value['bezeichnung'],'selected'=>$_smarty_tpl->tpl_vars['fahrzeug']->value['osorte']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<!--<td><input type="text" name="osorte" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['osorte'];?>
" style="width:30px"/> 1-5w30 2-10w30 3-10w40 </td> -->
</tr>
<tr>
<td nowrap="nowrap"><strong>Reifen:</strong></td>
<td><input type="text" name="reifen" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['reifen'];?>
" style="width:200px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Hubraum:</strong></td>
<td><input type="text" name="ccm" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ccm'];?>
" style="width:80"/> ccm
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>KW/PS</strong></td>
<td><input type="text" name="kw" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['kw'];?>
" style="width:80px"/> KW
<input type="text" name="ps" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['ps'];?>
" style="width:80px"/> PS
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" />
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">Z.Info:</td>
<td><input type="text" name="zfeld1" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld1'];?>
" style="width:200px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Z.Info:</strong></td>
<td><input type="text" name="zfeld2" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld2'];?>
" style="width:200px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Z.Info:</strong></td>
<td><input type="text" name="zfeld3" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld3'];?>
" style="width:200px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Z.Info:</strong></td>
<td><input type="text" name="zfeld4" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zfeld4'];?>
" style="width:200px"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- ****************************************************************** Sozialangaben -->
<div class="col-md-4">
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">aktiv:</td>
<td><input type="text" name="aktiv" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['aktiv'];?>
" style="width:30px"/> 1-aktiv / 0-inaktiv
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Besitzer:</strong></td>
<td>
<select name="besitz">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['besitzer']->value, 'bes');
$_smarty_tpl->tpl_vars['bes']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['bes']->value) {
$_smarty_tpl->tpl_vars['bes']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['bes']->value['id'],'output'=>$_smarty_tpl->tpl_vars['bes']->value['bezeichnung'],'selected'=>$_smarty_tpl->tpl_vars['fahrzeug']->value['besitz']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">LVZ-Karte:</td>
<td><input type="text" name="lvzkarte" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['lvzkarte'];?>
" style="width:100px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Tank-PIN:</strong></td>
<td><input type="text" name="tankpin" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['tankpin'];?>
" style="width:100px"/>
</td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Tank-Karte:</strong></td>
<td><input type="text" name="tankkarte" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['tankkarte'];?>
" style="width:100px"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="no-style sortable full">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap"><strong>HU / AU:</strong></td>
<td nowrap="nowrap">
<input type="text" name="humonat" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['fahrzeug']->value['hudate'],"%m");?>
" style="width:40px"/> /
<input type="text" name="hujahr" value="<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['fahrzeug']->value['hudate'],"%Y");?>
" style="width:60px"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td style="width:120px" nowrap="nowrap">SFK:</td>
<td><input type="text" name="sfk" value="<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['sfk'];?>
" style="width:100px"/>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
<div class="panel panel-default">
<div class="panel-heading"><h2 class="panel-title">letze Kontrolle</h2></div>
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td nowrap="nowrap"><strong>Schadenkontrolle:</strong></td>
<td><strong><?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['tag_kon_s']);?>
.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['monat_kon_s']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jahr_kon_s'];?>
</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['kon_skm']);?>
km</strong></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>&Ouml;lkontrolle:</strong></td>
<td><strong><?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['tag_kon_o']);?>
.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['monat_kon_o']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jahr_kon_o'];?>
</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['kon_okm']);?>
km</strong></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Bremsanlage:</strong></td>
<td><strong><?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['tag_kon_b']);?>
.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['monat_kon_b']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jahr_kon_b'];?>
</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['kon_bkm']);?>
km</strong></td>
</tr>
<tr>
<td nowrap="nowrap"><strong>Reifen:</strong></td>
<td><strong><?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['tag_kon_r']);?>
.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['monat_kon_r']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['jahr_kon_r'];?>
</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['kon_rkm']);?>
km</strong></td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ************************** Spaltenwechsel -->
<!-- ****************************************************************** -->
<div class="panel panel-Primary">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td><strong><?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['tag_kon_o']);?>
.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['humonat']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['hujahr'];?>
</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['humonat']);?>
Uhr</strong></td>
<td><strong><?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['humonat'];?>
</strong></td>
</tr>
<tr>
<td><strong>01.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['owmonat']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['owjahr'];?>
</strong></td>
<td><strong>oder</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['owkm']);?>
km</td>
</tr>
<tr>
<td><strong>01.<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['fahrzeug']->value['zrmonat']);?>
.<?php echo $_smarty_tpl->tpl_vars['fahrzeug']->value['zrjahr'];?>
</strong></td>
<td><strong>oder</strong></td>
<td><strong><?php echo sprintf("%06d",$_smarty_tpl->tpl_vars['fahrzeug']->value['zrkm']);?>
km</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** Einstellungsart -->
<div class="panel panel-danger">
<div class="panel-body">
<table class="table-hover">
<tbody>
<tr>
<td><input style="margin-right: "type="submit" name="save" value="Fahrzeugdaten Speichern" /></td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ****************************************************************** -->
</div>
</form>
<?php }
}
}

View file

@ -0,0 +1,247 @@
<?php
/* Smarty version 4.3.0, created on 2024-09-04 20:33:23
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/p_tdata.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66d8a7f3b14b09_51936078',
'has_nocache_code' => false,
'file_dependency' =>
array (
'adee1be0af42ca6fb0fa735428738184002273c0' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/p_tdata.tpl',
1 => 1725474794,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66d8a7f3b14b09_51936078 (Smarty_Internal_Template $_smarty_tpl) {
?><!-- <div id="p_tdata" > -->
<div class="col-md-5" >
<div class="panel panel-tbox">
<div class="panel-body" style="margin: -6px">
<table class="no-style hover" style="font-size: 12pt">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['nt1']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['test'] == 99) {?>
</tbody>
</table>
</div>
</div>
<div class="panel panel-tbox">
<div class="panel-body">
<table class="no-style full" style="font-size: 12pt">
<tbody>
<?php }?>
<tr onclick="tdd(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)" style="color:#ccc">
<form action="" method="post">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['aktiv'] == 0) {?>
<td nowrap style="width:120px;color:cyan"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php } else { ?>
<td nowrap style="width:120px;color:#ccc"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['s_info'] == 0) {?><td nowrap style="width:3px;">&nbsp;</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['s_info'] == 1) {?><td nowrap style="width:3px;border-left: 2px solid cyan;">&nbsp;</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['s_info'] == 2) {?><td nowrap style="width:3px;border-left: 2px solid darkorange;">&nbsp;</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['s_info'] == 3) {?><td nowrap style="width:3px;border-left: 2px solid red;">&nbsp;</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 0) {?> <td nowrap style="width:200px"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 1) {?> <td nowrap style="width:200px;color:cyan"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 2) {?> <td nowrap style="width:200px;color:darkorange"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 3) {?> <td nowrap style="width:200px;color:red"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 4) {?> <td nowrap style="width:200px;color:darkseagreen"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
</td> <?php }?>
<!--
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 0) {?> <td nowrap style="width:200px;color:#ccc"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 1) {?> <td nowrap style="width:200px;color:red" data-toggle="ttp" title=<?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 2) {?> <td nowrap style="width:200px;color:orange" data-toggle="ttp" title=<?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
</td> <?php }?>
-->
<?php if ($_smarty_tpl->tpl_vars['tour']->value['csinfo'] == 0) {?><td nowrap style="width:3px;">&nbsp;</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['csinfo'] == 1) {?><td nowrap style="width:3px;border-left: 2px solid cyan;">&nbsp;</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['csinfo'] == 2) {?><td nowrap style="width:3px;border-left: 2px solid darkorange;">&nbsp;</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['csinfo'] == 3) {?><td nowrap style="width:3px;border-left: 2px solid red;">&nbsp;</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['c_info'] == 0) {?><td nowrap align="right" style="width:75px;color:#ccc"><?php echo $_smarty_tpl->tpl_vars['tour']->value['kz'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['c_info'] == 1) {?><td nowrap align="right" style="width:75px;color:cyan"><?php echo $_smarty_tpl->tpl_vars['tour']->value['kz'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['c_info'] == 2) {?><td nowrap align="right" style="width:75px;color:darkseagreen"><?php echo $_smarty_tpl->tpl_vars['tour']->value['kz'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['c_info'] == 3) {?><td nowrap align="right" style="width:75px;color:red"><?php echo $_smarty_tpl->tpl_vars['tour']->value['kz'];?>
</td> <?php }?>
<!-- SMS Status !!!!! ------------------------------------- -->
<td nowrap align="center" style="width:30px" id="smscheck<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
">&nbsp;
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0) {?> <i class='fal fa-comment-alt fa-1x' style='color:gray' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1) {?> <i class='fas fa-comment-alt-exclamation fa-1x' style='color:orange' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2) {?> <i class='fas fa-comment-alt-check fa-1x' style='color:green' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8) {?> <i class='fas fa-comment-alt-dots fa-1x' style='color:gray' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20) {?> <i class='fas fa-spinner fa-spin fa-1x' style='color:gray' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 3) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 4) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- 2. Spalte für LVZ ------------------------------------- -->
<div class="col-md-5" >
<div class="panel panel-tbox">
<div class="panel-body" style="margin: -6px">
<table class="no-style hover" style="font-size: 12pt">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['nt2']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['test'] == 99) {?>
</tbody>
</table>
</div>
</div>
<div class="panel panel-tbox">
<div class="panel-body">
<table class="no-style full" style="font-size: 12pt">
<tbody>
<?php }?>
<tr onclick="tdd(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
<form action="" method="post">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['aktiv'] == 0) {?>
<td nowrap style="width:120px;color:cyan"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php } else { ?>
<td nowrap style="width:120px;color:#ccc"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['s_info'] == 0) {?><td nowrap style="width:3px;">&nbsp;</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['s_info'] == 1) {?><td nowrap style="width:3px;border-left: 2px solid cyan;">&nbsp;</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['s_info'] == 2) {?><td nowrap style="width:3px;border-left: 2px solid darkorange;">&nbsp;</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['s_info'] == 3) {?><td nowrap style="width:3px;border-left: 2px solid red;">&nbsp;</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 0) {?> <td nowrap style="width:200px"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 1) {?> <td nowrap style="width:200px;color:cyan"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 2) {?> <td nowrap style="width:200px;color:darkorange"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 3) {?> <td nowrap style="width:200px;color:red"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['m_info'] == 4) {?> <td nowrap style="width:200px;color:darkseagreen"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
</td> <?php }?>
<!--
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 0) {?> <td nowrap style="width:200px;color:#ccc"><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 1) {?> <td nowrap style="width:200px;color:red" data-toggle="ttp" title=<?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 2) {?> <td nowrap style="width:200px;color:orange" data-toggle="ttp" title=<?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
><?php echo $_smarty_tpl->tpl_vars['tour']->value['fname'];?>
</td> <?php }?>
-->
<?php if ($_smarty_tpl->tpl_vars['tour']->value['csinfo'] == 0) {?><td nowrap style="width:3px;">&nbsp;</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['csinfo'] == 1) {?><td nowrap style="width:3px;border-left: 2px solid cyan;">&nbsp;</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['csinfo'] == 2) {?><td nowrap style="width:3px;border-left: 2px solid darkorange;">&nbsp;</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['csinfo'] == 3) {?><td nowrap style="width:3px;border-left: 2px solid red;">&nbsp;</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['c_info'] == 0) {?><td nowrap align="right" style="width:75px;color:#ccc"><?php echo $_smarty_tpl->tpl_vars['tour']->value['kz'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['c_info'] == 1) {?><td nowrap align="right" style="width:75px;color:cyan"><?php echo $_smarty_tpl->tpl_vars['tour']->value['kz'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['c_info'] == 2) {?><td nowrap align="right" style="width:75px;color:darkseagreen"><?php echo $_smarty_tpl->tpl_vars['tour']->value['kz'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['c_info'] == 3) {?><td nowrap align="right" style="width:75px;color:red"><?php echo $_smarty_tpl->tpl_vars['tour']->value['kz'];?>
</td> <?php }?>
<!-- SMS Status !!!!! ------------------------------------- -->
<td nowrap align="center" style="width:30px" id="smscheck<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
">&nbsp;
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0) {?> <i class='fal fa-comment-alt fa-1x' style='color:gray' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1) {?> <i class='fas fa-comment-alt-exclamation fa-1x' style='color:darkorange' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2) {?> <i class='fas fa-comment-alt-check fa-1x' style='color:green' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8) {?> <i class='fas fa-comment-alt-dots fa-1x' style='color:gray' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20) {?> <i class='fas fa-spinner fa-spin fa-1x' style='color:gray' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 3) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 4) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- </div> -->
<?php echo '<script'; ?>
>
function tdd(id) {
$.ajax({
type: 'POST',
url: "ajax.php?s=p_night_tdd&tpl",
dataType: 'html',
data: '&id=' + id,
success: function (data) {
console.log(data)
$("#tddmodal").html(data);
$('#modal').modal('show');
}
});
}
<?php echo '</script'; ?>
>
<?php }
}

View file

@ -0,0 +1,279 @@
<?php
/* Smarty version 4.3.0, created on 2024-06-03 09:55:16
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/c_info.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_665d76e4e05d03_28287758',
'has_nocache_code' => false,
'file_dependency' =>
array (
'af6f268878eda2c4b612f0b38fce8c17953d5c2c' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/c_info.tpl',
1 => 1708819548,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_665d76e4e05d03_28287758 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<div class="col-md-4">
<div class="rinfo">
<i class="fas fa-car fa-4x fa-pull-left">&nbsp;</i>
<span style="color:#0FFD05"> <?php echo $_smarty_tpl->tpl_vars['aktive1']->value;?>
PKW</br></span>
<span style="color:orange"><?php echo $_smarty_tpl->tpl_vars['sonstige1']->value;?>
PKW</br></span>
<span style="color:gray"> <?php echo $_smarty_tpl->tpl_vars['inaktive1']->value;?>
PKW (ex)</span>
</div>
</div>
<div class="col-md-4">
<div class="rinfo">
<i class="fas fa-truck-pickup fa-4x fa-pull-left">&nbsp;</i>
<span style="color:#0FFD05"> <?php echo $_smarty_tpl->tpl_vars['aktive2']->value;?>
Caddy</br></span>
<span style="color:orange"><?php echo $_smarty_tpl->tpl_vars['sonstige2']->value;?>
Caddy</br></span>
<span style="color:gray"> <?php echo $_smarty_tpl->tpl_vars['inaktive2']->value;?>
Caddy (ex)</span>
</div>
</div>
<div class="col-md-4">
<div class="rinfo">
<i class="fas fa-truck fa-4x fa-pull-left">&nbsp;</i>
<span style="color:#0FFD05"> <?php echo $_smarty_tpl->tpl_vars['aktive3']->value;?>
Transporter</br></span>
<span style="color:orange"><?php echo $_smarty_tpl->tpl_vars['sonstige3']->value;?>
Transporter</br></span>
<span style="color:gray"> <?php echo $_smarty_tpl->tpl_vars['inaktive3']->value;?>
Transporter (ex)</span>
</div>
</div>
<!-- 2. Reihe rechts Widged *************************** -->
<div class="col-md-4">
<div class="panel panel-danger">
<header class="panel-heading"><h2 class="panel-title">fehlende Daten * Fahrzeuge</span></h2></header>
<div class="panel-body">
<table class="no-style full">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['mafehler']->value, 'maf');
$_smarty_tpl->tpl_vars['maf']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf']->value) {
$_smarty_tpl->tpl_vars['maf']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['maf']->value['line'] > 0) {?>
<tr><td><hr style="color: red; height: 1px;" /></td><td><hr style="color: red; height: 1px;" /></td></tr>
<?php }?>
<tr>
<td nowrap style="width:90px;text-align:right"><a href="?s=c_aktiv&id=<?php echo $_smarty_tpl->tpl_vars['maf']->value['id'];?>
" title="Klicke zum bearbeiten" ><?php echo $_smarty_tpl->tpl_vars['maf']->value['name'];?>
</strong> </td>
<td nowrap style="width:200px;text-align:right"><?php echo $_smarty_tpl->tpl_vars['maf']->value['grund'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- </div> -->
<!-- *************************************************************************************** -->
<div class="col-md-4">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Kalender f&uuml;r diesen Monat</h2></header>
<div class="panel-body">
<dl>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['maf1']->value, 'maf');
$_smarty_tpl->tpl_vars['maf']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf']->value) {
$_smarty_tpl->tpl_vars['maf']->do_else = false;
?>
<td nowrap style="width:90px;font-size:11pt"> <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['maf']->value['time'],"%d.%m.%Y");?>
</td>
<td nowrap style="width:80px;font-size:11pt"> <?php echo $_smarty_tpl->tpl_vars['maf']->value['fahrer'];?>
</td>
<td nowrap style="width:30px;font-size:11pt"> <img src="/template/images/icon/<?php echo $_smarty_tpl->tpl_vars['maf']->value['icon'];?>
" width="16" height="16"/></td>
<td nowrap style="width:150px;font-size:11pt"> <?php echo $_smarty_tpl->tpl_vars['maf']->value['bez'];?>
</td>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</dl>
</div>
</div>
</div>
<div class="col-md-4">
<!-- *********** Fahrzeug HU-Überprüfung / sanikasten etc-->
<!-- -------------------------------- HU / AU -->
<div id="huau" style="text-align:center;"></div>
<!-- -------------------------------- Sanikasten -->
<div id="sani" style="text-align:center;"></div>
<!-- *********** Fahrzeug Zahnriemen kette -->
<?php if ($_smarty_tpl->tpl_vars['fanz3']->value > 0) {?>
<div id="rightmenu" class="panel panel-danger">
<section class="panel-body">
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sanidata']->value, 'sd');
$_smarty_tpl->tpl_vars['sd']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['sd']->value) {
$_smarty_tpl->tpl_vars['sd']->do_else = false;
?>
<tr>
<td nowrap style="width:100px;font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['sd']->value['kz'];?>
</td>
<td nowrap style="width:120px;font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['sd']->value['info'];?>
</td>
<td nowrap style="width:100px;font-size:11pt"><span style='color:#ff0000'><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['sd']->value['hudate'],"%m / %Y");?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</section>
</div>
<?php }?>
<!-- *********** Fahrzeug Oelwechsel -->
<?php if ($_smarty_tpl->tpl_vars['fanz4']->value > 0) {?>
<div id="rightmenu" class="panel panel-danger">
<section class="panel-body">
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['hudata']->value, 'hud');
$_smarty_tpl->tpl_vars['hud']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['hud']->value) {
$_smarty_tpl->tpl_vars['hud']->do_else = false;
?>
<tr>
<td nowrap style="width:100px;font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['hud']->value['kz'];?>
</td>
<td nowrap style="width:120px;font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['hud']->value['info'];?>
</td>
<td nowrap style="width:100px;font-size:11pt"><span style='color:#ff0000'><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['hud']->value['hudate'],"%m / %Y");?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</section>
</div>
<?php }?>
<!-- *********** Fahrzeug Oelwechsel -->
<?php if ($_smarty_tpl->tpl_vars['fanz5']->value > 0) {?>
<div id="rightmenu" class="panel panel-danger">
<section class="panel-body">
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['hudata']->value, 'hd');
$_smarty_tpl->tpl_vars['hd']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['hd']->value) {
$_smarty_tpl->tpl_vars['hd']->do_else = false;
?>
<tr>
<td nowrap style="width:100px;font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['hd']->value['kz'];?>
</td>
<td nowrap style="width:120px;font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['hd']->value['info'];?>
</td>
<td nowrap style="width:100px;font-size:11pt"><span style='color:#ff0000'><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['hd']->value['hudate'],"%m / %Y");?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</section>
</div>
<?php }?>
<style>
.rinfo {
background: #115270;
color:#bbbbbb;
padding: 6px;
border: 1px solid;
border-radius:10px;
margin-bottom: 8px;
margin-top: -10px;
font-size: 14pt;
}
</style>
<?php echo '<script'; ?>
type="text/javascript">
$.ajax({
type : "POST",
url : 'ajax.php?s=huau&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#huau").html(data);
},
});
$.ajax({
type : "POST",
url : 'ajax.php?s=sani&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#sani").html(data);
},
});
$.ajax({
type : "POST",
url : 'ajax.php?s=tuerlog3&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#tlog").html(data);
},
});
var refreshId = setInterval(function() {
$.ajax({
type : "POST",
url : 'ajax.php?s=tuerlog3&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#tlog").html(data);
},
})
}, 10000);
<?php echo '</script'; ?>
>
<?php }
}

View file

@ -0,0 +1,238 @@
<?php
/* Smarty version 4.3.0, created on 2024-07-17 14:42:06
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/on_suche.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_6697bc1e915bb6_76771835',
'has_nocache_code' => false,
'file_dependency' =>
array (
'b24f2fe8644283faccdaec841371428d620d1b1c' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/on_suche.tpl',
1 => 1721220124,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6697bc1e915bb6_76771835 (Smarty_Internal_Template $_smarty_tpl) {
?><div id="spinner-div" class="pt-5">
<div class="spinner-border text-primary" role="status">
<i class="fas fa-spinner fa-pulse fa-10x"></i>
<p>Loading...</p>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-md-9">
<div class="malist">
<div class="form-group">
<div class="input-group" style="border-color: red">
<span class="input-group-addon" ><i class="fad fa-search"></i></span>
<input type="text" name="search_text" id="search_text" placeholder="Suche nach Label, Name, PLZ, Ort" class="form-control" style="background-color:#333;color:#fff;border-color:#115270" />
</div>
</div>
<div id="result" style="scrolling"></div>
</div>
<!-- Sidebar -->
<aside class="col-md-3" style="background-color: #333333">
<p>Loading...</p>
</aside>
</div>
</div>
<div id="modal" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content" id="ilomodal"></div>
</div>
</div>
<style>
body {
overflow: hidden;
}
.loader{
display: none;
}
.input-group-addon{
background: #333;
color: #fff;
border: 1px solid #115270;
border-right: 0px solid #115270;
}
.malist {
overflow: auto;
background: #222;
color: #aaaaaa;
padding: 5px;
border: 1px solid #000;
border-radius:6px;
margin-top: -12px;
margin-bottom: 10px;
height: 530px;
}
.maedit2 {
background: #222;
color: #aaaaaa;
padding: 5px;
border: 1px solid #000;
border-radius:6px;
margin-top: -12px;
margin-bottom: 10px;
min-height: 830px;
}
.menux {
background: #222;
padding: 5px;
color: #909090;
font-size: 28px;
height: 50px;
border-radius:6px;
margin-top: -12px;
margin-bottom: 20px;
}
.ma1 {
background: #222222;
color: #999;
padding: 5px;
font-size: 13px;
min-height: 115px;
max-height: 615px;
border: 1px solid #115270;
border-radius: 6px;
margin-top: -12px;
margin-left: -5px;
width: 570px;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
.max {
background: #222;
color: #115270;
padding: 3px;
border: 1px solid #115270;
font-size: 13px;
border-radius:6px;
margin-top: -12px;
margin-bottom: 20px;
min-height: 50px;
}
</style>
<?php echo '<script'; ?>
>
$(document).ready(function() {
load_data();
function load_data(query)
{
$.ajax({
url:"ajax.php?s=onfetch",
method:"POST",
data:{query:query},
success:function(data)
{
$('#result').html(data);
}
});
}
$('#search_text').keyup(function(){
var search = $(this).val();
if(search != '')
{
load_data(search);
}
else
{
load_data();
}
});
});
function ma_wahl(maID) {
$('#spinner-div').show();
$.ajax({
type: 'POST',
url: "ajax.php?s=ma_edit&tpl",
dataType: 'html',
data: '&maID=' + maID,
success: function (data) {
console.log(data)
$("#maedit").html(data);
$('#spinner-div').hide();
}
});
$.ajax({
type: 'POST',
url: "ajax.php?s=ma_edit_sb&tpl",
dataType: 'html',
data: '&maID=' + maID,
success: function (data) {
console.log(data)
$("#maedit2").html(data);
}
});
}
function ma_edit_sb(maID) {
$('#spinner-div').show();
$.ajax({
type: 'POST',
url: "ajax.php?s=ma_edit_sb&tpl",
dataType: 'html',
data: '&maID=' + maID,
success: function (data) {
console.log(data)
$("#maedit2").html(data);
$('#spinner-div').hide();
}
});
}
function ma_tuer(maID) {
$('#spinner-div').show();
$.ajax({
type: 'POST',
url: "ajax.php?s=ma_tuer&tpl",
dataType: 'html',
data: '&maID=' + maID,
success: function (data) {
console.log(data)
$("#maedit2").html(data);
$('#spinner-div').hide();
}
});
}
$(document).ready(function () {
$("#do-call").click(function () {//The load button
$('#spinner-div').show();//Load button clicked show spinner
$.ajax({
url: "https://jb-data.de/",
type: 'GET',
dataType: 'json',
success: function (res) {
//On success do something....
},
complete: function () {
$('#spinner-div').hide();//Request is complete so hide spinner
}
});
});
});
<?php echo '</script'; ?>
>
<?php }
}

View file

@ -0,0 +1,42 @@
<?php
/* Smarty version 4.3.0, created on 2024-03-28 16:53:53
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/_ma_subm.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66059291c10a22_05462935',
'has_nocache_code' => false,
'file_dependency' =>
array (
'b5cc3248569cafa4eac80169377dadd8ad2ec294' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/_ma_subm.tpl',
1 => 1710321464,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66059291c10a22_05462935 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="menux">
<table class="no-style full">
<tbody align="center">
<td align="center" <?php if ($_smarty_tpl->tpl_vars['m']->value == 1) {?> style="color: orange"<?php }?> width="20%"> <i class="fad fa-info" onclick="ma_edit_sb(<?php echo $_smarty_tpl->tpl_vars['maID']->value;?>
)"></i></td>
<td align="center" <?php if ($_smarty_tpl->tpl_vars['m']->value == 2) {?> style="color: orange"<?php }?> width="20%"> <i class="fad fa-clock" onclick="ma_tuer(<?php echo $_smarty_tpl->tpl_vars['maID']->value;?>
)"></i></td>
<td align="center" <?php if ($_smarty_tpl->tpl_vars['m']->value == 3) {?> style="color: orange"<?php }?> width="20%"> <i class="fad fa-calendar" onclick="ma_kal(<?php echo $_smarty_tpl->tpl_vars['maID']->value;?>
)"></i></td>
<td align="center" <?php if ($_smarty_tpl->tpl_vars['m']->value == 4) {?> style="color: orange"<?php }?> width="20%"> <i class="fad fa-route" onclick="ma_setup(<?php echo $_smarty_tpl->tpl_vars['maID']->value;?>
)"></i></td>
<td align="center" <?php if ($_smarty_tpl->tpl_vars['m']->value == 5) {?> style="color: orange"<?php }?> width="20%"> <i class="fad fa-sms"></i></td>
<td align="center" <?php if ($_smarty_tpl->tpl_vars['m']->value == 6) {?> style="color: orange"<?php }?> width="20%"> <i class="fad fa-mail-bulk"></i></td>
</body>
</table>
</div>
<?php }
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,560 @@
<?php
/* Smarty version 4.3.0, created on 2024-09-25 18:42:22
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_edit.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66f43d6e0a74e1_56432842',
'has_nocache_code' => false,
'file_dependency' =>
array (
'c1052a7d67926ba8e9ca783e877009f2fd5901f7' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_edit.tpl',
1 => 1727282537,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66f43d6e0a74e1_56432842 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
?>
<div class="name"> <span> <?php echo $_smarty_tpl->tpl_vars['ma']->value['name'];?>
<?php echo $_smarty_tpl->tpl_vars['ma']->value['name2'];?>
</span><span style="font-size: 12px"><i class="far fa-id-card-alt"></i> <?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
</span></div>
</br>
<div class="ma1">
<i class="fad fa-address-card fa-6x fa-pull-left" style="width:110px"></i>
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
<tbody>
<tr>
<td width="130px" nowrap="nowrap">Name:</td>
<td width="290px"><input type="text" id="data_1" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['name'];?>
" style="width:290px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,1)"/></span>
</td>
</tr>
<tr>
<tr>
<td nowrap="nowrap">Strasse:</td>
<td><input type="text" name="strasse" id="data_2" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['strasse'];?>
" style="width:290px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,2)"/></td></tr>
<tr>
<tr>
<td nowrap="nowrap">Zusatz:</td>
<td><input type="text" name="azusatz" id="data_3" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['azusatz'];?>
" style="width:290px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,3)"></td></tr>
<tr>
<td nowrap="nowrap">PLZ Ort:</td>
<td><input type="text" name="plz" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['plz'];?>
" id="data_4" style="width:55px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,4)">&nbsp;
<input type="text" name="ort" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['ort'];?>
" id="data_5" style="width:225px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,5)"></td>
</tr>
<tr>
<td style="width:100px" nowrap="nowrap">Geburtstag:</td>
<td><input type="number" name="tag" id="data_6" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['ma']->value['gebtag']);?>
" style="width:60px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,6)">
<input type="number" name="monat" id="data_7" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['ma']->value['gebmonat']);?>
" style="width:60px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,7)">
<input type="number" name="jahr" id="data_8" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['gebjahr'];?>
" style="width:80px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,8)">
</td>
</tr>
<tr>
<td nowrap="nowrap">Geburtsort:</td>
<td><input type="text" name="gebort" id="data_9" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['gebort'];?>
" style="width:290px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,9)"></td>
</tr>
<tr>
<td nowrap="nowrap">Geburtsname:</td>
<td><input type="text" name="gebname" id="data_10" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['gebname'];?>
" style="width:290px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,10)"></td>
</tr>
<tr>
<td nowrap="nowrap">Nationalit&auml;t:</td>
<td><input type="text" name="staata" id="data_11" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['staata'];?>
" style="width:290px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,11)"></td>
</tr>
<tr>
<td nowrap="nowrap">BPA-Nummer::</td>
<td><input type="text" name="bpa" id="data_12" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['bpa'];?>
" style="width:290px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,12)"></td>
</tr>
</body>
</table>
</div>
</br>
<div class="ma1">
<i class="fad fa-phone-office fa-6x fa-pull-left" style="width:110px"></i>
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
<tr>
<td style="width:130px" nowrap="nowrap">Mail:</td>
<td width="290px"><input type="text" name="mail" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['mail'];?>
" style="width:220px" id="data_26" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,26)"/></td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Handy:</td>
<td width="290px"><input type="text" name="handy" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['handy'];?>
" style="width:220px" id="data_27" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,27)"/></td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Tel2:</td>
<td width="290px"><input type="text" name="tel2" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['tel2'];?>
" style="width:220px" id="data_28" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,28)"/></td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Festnetz:</td>
<td width="290px"><input type="text" name="festnetz" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['festnetz'];?>
" style="width:220px" id="data_29" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,29)"/></td>
</tr>
<tr>
<td>No SMS</td><td>
<?php if ($_smarty_tpl->tpl_vars['ma']->value['nosms'] == 1) {?>
<input type="checkbox" name="nosms" id="nosms" checked="checked" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,56)"/>
<?php } else { ?>
<input type="checkbox" name="nosms" id="nosms" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,57)"/>
<?php }?>
</tr>
</body>
</table>
</div>
</br>
<div class="ma1">
<i class="fad fa-user-friends fa-6x fa-pull-left" style="width:110px"></i>
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
<tbody>
<tr><td width="130px" nowrap="nowrap">Familienstand:</td>
<td width="290px"><input type="text" name="famstand" id="data_13" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['famstand'];?>
" style="width:290px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,13)"/></span>
</tr>
<tr>
<td nowrap="nowrap">Kinder / Freibetrag:</td>
<td><input type="text" name="kinder" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['kinder'];?>
" style="width:55px" id="data_14" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,14)"/>&nbsp;
<input type="text" name="kinderfb" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['kinderfb'];?>
" style="width:220px" id="data_15" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,15)"/>
</td>
</tr>
<tr><td>Steuer.ID-Nr.:</td>
<td><input type="text" name="steuerid" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['steuerid'];?>
" style="width:290px" id="data_16" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,16)"/></td>
</tr>
<tr><td>Steuerklasse:</td>
<td><input type="text" name="steuerkl" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['steuerkl'];?>
" style="width:290px" id="data_17" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,17)"/></td>
</tr>
<tr><td>Sozialvers.-Nr.</td>
<td><input type="text" name="svnummer" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['svnummer'];?>
" style="width:290px" id="data_18" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,18)"/></td>
</tr>
</tr>
<tr>
<td>Rentner</td>
<td>
<?php if ($_smarty_tpl->tpl_vars['ma']->value['rentner'] == 1) {?>
<input type="checkbox" name="rentner" id="rentner" checked="checked" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,30)"/>
<?php } else { ?>
<input type="checkbox" name="rentner" id="rentner" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,31)"/>
<?php }?>
<input type="text" name="rentnerinfo" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['rentnerinfo'];?>
" style="width:220px" id="data_32" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,32)"/></td>
</tr>
<tr>
<td>schwerbehindert</td><td>
<?php if ($_smarty_tpl->tpl_vars['ma']->value['sbehind'] == 1) {?>
<input type="checkbox" name="sbehind" id="sbehind" checked="checked" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,33)"/>
<?php } else { ?>
<input type="checkbox" name="sbehind" id="sbehind" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,34)"/>
<?php }?>
<input type="text" name="sbehind2" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['sbehind2'];?>
" style="width:50px" id="data_19" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,19)"/> %</td>
</tr>
<tr>
<td>Student</td><td>
<?php if ($_smarty_tpl->tpl_vars['ma']->value['student'] == 1) {?>
<input type="checkbox" name="student" id="student" checked="checked" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,35)"/>
<?php } else { ?>
<input type="checkbox" name="student" id="student" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,36)"/>
<?php }?>
<input type="text" name="studentinfo" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['studentinfo'];?>
" style="width:120px" id="data_20" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,20)"/></td>
</tr>
<tr>
<td>Selbständig</td><td>
<?php if ($_smarty_tpl->tpl_vars['ma']->value['lohnabr'] == 1) {?>
<input type="checkbox" name="lohnabr" id="lohnabr" checked="checked" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,52)"/>
<?php } else { ?>
<input type="checkbox" name="lohnabr" id="lohnabr" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,53)"/>
<?php }?>
</tr>
<tr>
<td>Zeitzugang</td><td>
<?php if ($_smarty_tpl->tpl_vars['ma']->value['zeitzugang'] == 1) {?>
<input type="checkbox" name="zeitzugang" id="zeitzugang" checked="checked" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,58)"/>
<?php } else { ?>
<input type="checkbox" name="zeitzugang" id="zeitzugang" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,59)"/>
<?php }?>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Konfessionen:</td>
<td width="250px">
<select name="kotyp" id="data_51" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,51)" style="width:50px;background-color:#222; color: #fff; border:none;border-bottom: 1px solid #333; font-size:11pt;">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kotyp']->value, 'ko_typ');
$_smarty_tpl->tpl_vars['ko_typ']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ko_typ']->value) {
$_smarty_tpl->tpl_vars['ko_typ']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['ko_typ']->value['id'],'output'=>$_smarty_tpl->tpl_vars['ko_typ']->value['abk'],'selected'=>$_smarty_tpl->tpl_vars['ma']->value['konfessionen']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select> <?php echo $_smarty_tpl->tpl_vars['koinfo']->value;?>
</td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Mitarbeiter-Typ:</td>
<td width="290px">
<select name="typ" id="data_49" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,49)" style="width:190px;background-color:#222; color: #fff; border:none;border-bottom: 1px solid #333; font-size:11pt;">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['matyp']->value, 'ma_typ');
$_smarty_tpl->tpl_vars['ma_typ']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ma_typ']->value) {
$_smarty_tpl->tpl_vars['ma_typ']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['ma_typ']->value['id'],'output'=>$_smarty_tpl->tpl_vars['ma_typ']->value['bezeichnung'],'selected'=>$_smarty_tpl->tpl_vars['ma']->value['typ']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Tarif-Typ:</td>
<td width="290px">
<select name="ttyp" id="data_60" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,60)" style="width:190px;background-color:#222; color: #fff; border:none;border-bottom: 1px solid #333; font-size:11pt;">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['mattyp']->value, 't_typ');
$_smarty_tpl->tpl_vars['t_typ']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['t_typ']->value) {
$_smarty_tpl->tpl_vars['t_typ']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['t_typ']->value['id'],'output'=>$_smarty_tpl->tpl_vars['t_typ']->value['bezeichnung'],'selected'=>$_smarty_tpl->tpl_vars['t']->value['typ']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Urlaubstage /Jahr:</td>
<td width="290px"><input type="text" name="urlaubprojahr" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['urlaubprojahr'];?>
" style="width:220px" id="data_50" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,50)"/></td>
</tr>
</body>
</table>
</div>
</br>
<div class="ma1">
<i class="fad fa-money-check-edit-alt fa-6x fa-pull-left" style="width:110px"></i>
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
<tbody>
<tr>
<td style="width:130px" nowrap="nowrap">Bankname:</td>
<td width="290px"><input type="text" name="bankname" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['bankname'];?>
" style="width:220px" id="data_21" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,21)"/></td>
</tr>
<tr>
<td nowrap="nowrap">Kontoinhaber:</td>
<td><input type="text" name="kontoinh" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['kontoinh'];?>
" style="width:220px" id="data_22" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,22)"/></td>
</tr>
<tr>
<td nowrap="nowrap">IBAN:</td>
<td><input type="text" name="iban" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['iban'];?>
" style="width:220px" id="data_23" autocomplete onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,23)"/></td>
</tr>
<tr>
<td nowrap="nowrap">BIC:</td>
<td><input type="text" name="BIC" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['BIC'];?>
" style="width:220px" id="data_24" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,24)"/></td>
</tr>
<tr>
<td nowrap="nowrap">Bankinfo:</td>
<td><input type="text" name="bankinfo" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['bankinfo'];?>
" style="width:220px" id="data_25" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,25)"/></td>
</tr>
</body>
</table>
</div>
</br>
<div class="ma1">
<i class="fad fa-calendar-alt fa-6x fa-pull-left" style="width:110px"></i>
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
<tr>
<td style="width:130px" nowrap="nowrap">Eintrittstag:</td>
<td><input type="number" name="eintag" id="data_37" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['ma']->value['eintag']);?>
" style="width:60px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,37)">
<input type="number" name="einmonat" id="data_38" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['ma']->value['einmonat']);?>
" style="width:60px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,38)">
<input type="number" name="einjahr" id="data_39" value="<?php echo sprintf("%04d",$_smarty_tpl->tpl_vars['ma']->value['einjahr']);?>
" style="width:80px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,39)">
</td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Austrittstag:</td>
<td><input type="number" name="austag" id="data_40" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['ma']->value['austag']);?>
" style="width:60px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,40)">
<input type="number" name="ausmonat" id="data_41" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['ma']->value['ausmonat']);?>
" style="width:60px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,41)">
<input type="number" name="ausjahr" id="data_42" value="<?php echo sprintf("%04d",$_smarty_tpl->tpl_vars['ma']->value['ausjahr']);?>
" style="width:80px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,42)">
</td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">befristet bis:</td>
<td><input type="number" name="beftag" id="data_43" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['ma']->value['beftag']);?>
" style="width:60px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,43)">
<input type="number" name="befmonat" id="data_44" value="<?php echo sprintf("%02d",$_smarty_tpl->tpl_vars['ma']->value['befmonat']);?>
" style="width:60px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,44)">
<input type="number" name="befjahr" id="data_45" value="<?php echo sprintf("%04d",$_smarty_tpl->tpl_vars['ma']->value['befjahr']);?>
" style="width:80px" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,45)">
</td>
</tr>
<tr>
<td>Aktiv</td><td>
<?php if ($_smarty_tpl->tpl_vars['ma']->value['aktiv'] == 1) {?>
<input type="checkbox" name="aktiv" id="aktiv" checked="checked" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,54)"/>
<?php } else { ?>
<input type="checkbox" name="aktiv" id="aktiv" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,55)"/>
<?php }?>
</tr>
</body>
</table>
</div>
</br>
</br>
<div class="ma1">
<i class="fad fa-address-card fa-6x fa-pull-left" style="width:110px"></i>
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
<tr>
<td style="width:130px" nowrap="nowrap">Krankenkasse:</td>
<td width="290px"><input type="text" name="kkasse" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['kkasse'];?>
" style="width:220px" id="data_46" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,46)"/></td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Mitg.-Nr.:</td>
<td width="290px"><input type="text" name="kkassennr" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['kkassennr'];?>
" style="width:220px" id="data_47" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,47)"/></td>
</tr>
<tr>
<td style="width:130px" nowrap="nowrap">Beitrag in %:</td>
<td width="290px"><input type="text" name="kkbeitrag" value="<?php echo $_smarty_tpl->tpl_vars['ma']->value['kkbeitrag'];?>
" style="width:220px" id="data_48" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['ma']->value['id'];?>
,48)"/></td>
</tr>
</body>
</table>
</div>
<style>
input[type=checkbox] {
width: 20px;
border:none;
font-size: 16px;
border-bottom: 1px solid #333333;
color: #ff0000;
background-color: #222222;
}
input[type=text] {
width: 250px;
border:none;
font-size: 16px;
border-bottom: 1px solid #333333;
color: #dddddd;
background-color: #222222;
}
input[type=text]:focus{
border:none;
outline:none;
border-bottom:1px solid #ff0000;
}
input[type=number] {
width: 250px;
border:none;
font-size: 16px;
border-bottom: 1px solid #333333;
color: #dddddd;
background-color: #222222;
}
input[type=number]:focus{
border:none;
outline:none;
border-bottom:1px solid #ff0000;
}
.name {
align-content: center;
background: #115270;
color: #ccc;
padding: 5px;
border: 1px solid #115270;
border-radius:6px;
margin-left: -5px;
margin-top: -12px;
height: 50px;
font-size: 24px;
width: 570px;
}
.ma1 {
background: #222222;
color: #999;
padding: 5px;
font-size: 13px;
min-height: 115px;
max-height: 615px;
border: 1px solid #115270;
border-radius: 6px;
margin-top: -12px;
margin-left: -5px;
width: 570px;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
</style>
<?php echo '<script'; ?>
>
function save_ma(maID,feld) {
$.ajax({
type: 'POST',
url: "ajax.php?s=save_ma",
dataType: 'json',
data: 'maID=' + maID + '&feld='+feld + "&data=" +$("#data_"+feld).val(),
success: function (data) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
});
}
<?php echo '</script'; ?>
>
<?php }
}

View file

@ -0,0 +1,509 @@
<?php
/* Smarty version 4.3.0, created on 2024-03-27 15:09:46
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/a_abr.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_660428aaa083e2_58144893',
'has_nocache_code' => false,
'file_dependency' =>
array (
'c16a4c3a206ef785fdeb2dc83cf0a424fc15f2ba' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/a_abr.tpl',
1 => 1705924351,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_660428aaa083e2_58144893 (Smarty_Internal_Template $_smarty_tpl) {
?>
<b><i><span style='font-size:16pt;line-height:115%;
color:#4F81BD'>Anzeige w&auml;hlen: &#160;&#160;&#160;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
<b><i><span style='font-size:16pt;line-height:115%; color:#4F81BD'><a class="button-blue" href="?s=a_abr&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
">&laquo;</a> &#160;&#160;<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&#160;&#160;
<a class="button-blue" href="?s=a_abr&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
">&raquo;</a></span></i></b>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
</span></i></b>
<!-- ***** Tourenlisten linke Seite ***** -->
<div class="row sortable">
<div class="col-md-3">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Firmenauswahl</span></h2></header>
<section class="panel-body">
<table class="no-style full">
<thead>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['firmen']->value, 'firm');
$_smarty_tpl->tpl_vars['firm']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['firm']->value) {
$_smarty_tpl->tpl_vars['firm']->do_else = false;
?>
<tr>
<td style="font-size:10pt;line-height:100%;">
<a href="?s=a_abr&id=<?php echo $_smarty_tpl->tpl_vars['firm']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" title="Kicke zum ausw&auml;len" ><?php echo $_smarty_tpl->tpl_vars['firm']->value['a1'];?>
</a></td>
</tr>
<tr>
<td style="font-size:10pt;line-height:100%;">
<a href="?s=a_abr&id=<?php echo $_smarty_tpl->tpl_vars['firm']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" title="Kicke zum ausw&auml;len" ><?php echo $_smarty_tpl->tpl_vars['firm']->value['a2'];?>
</a></td>
</tr>
<tr>
<td><hr></td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</thead>
</table>
</section>
</div>
</div>
<div class="col-md-5">
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 0) {?>
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">Info</span></h2></header>
<section class="panel-body">
<header class="current"><h2>Info </h2></header>
<span style='font-size:10pt;line-height:100%; color:#FC072D'>
Bitte die Firma auw&auml;hlen die Sie bearbeiten m&ouml;chten.
</span>
</div>
<?php }?>
<!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// rechte seite -->
<!-- ///////////////// menu wenn keine Firma ausgewählt-->
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>komplettübersicht</h2></header>
<section class="panel-body">
<dl>
<section>
<table class="table">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour3']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<!--
<td nowrap style="width:80px;font-size:11pt"> <?php echo $_smarty_tpl->tpl_vars['tour']->value['tourname'];?>
</td>
<td nowrap style="width:160px;font-size:8pt"> <?php echo $_smarty_tpl->tpl_vars['tour']->value['infotitel'];?>
</td>
<td nowrap style="width:35px;font-size:11pt"> <?php echo $_smarty_tpl->tpl_vars['tour']->value['tourmenge'];?>
x</td>
-->
<tr nowrap style="width:35px;font-size:11pt" id="loadzeile<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
">
<?php echo '<script'; ?>
> var monat = '<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var jahr = '<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var tid = '<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
$.ajax({
type : "POST",
url : "ajax.php?s=a_abr&tpl",
cache : false,
data: 'tid=' + tid + "&monat=" + monat + "&jahr=" + jahr,
dataType : "html",
success : function(data){
$("#loadzeile<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
").html(data);
},
});
<?php echo '</script'; ?>
>
</tr>
<!--
<td nowrap align="right" style="width:50px;font-size:12pt;color: red">
<a target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_abr_nw&id=<?php echo $_smarty_tpl->tpl_vars['anzeige']->value;?>
&tid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" >
<i class="far fa-file-pdf" style="color: red"></i>
</td>
-->
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</dl>
</section>
</div>
</div>
<!-- -------------------------------------->
<!-- Sidebar -->
<aside class="col-md-4">
<!-- -------------------------------------->
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 1) {?>
<!-- ------------------------------------ Rundschau
<div id="rightmenu" class="panel panel-default">
<div class="panel-body">
<table class="no-style full">
<tbody>
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>komplett 2020 (1400)</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr8a&id=<?php echo $_smarty_tpl->tpl_vars['firmen']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>1400 / 700 / 2101 / +30 Halle</td>
</tr>
</tbody>
</table>
</div>
</div>
-->
<!-- ------------------------------------ Rundschau
<div id="rightmenu" class="panel panel-default">
<div class="panel-body">
<table class="no-style full">
<tbody>
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>Rundschau 2020 (1400)</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr7&id=<?php echo $_smarty_tpl->tpl_vars['firmen']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>1400 / 700 / 2101 / +30 Halle</td>
</tr>
</tbody>
</table>
</div>
</div>
-->
<!-- ------------------------------------ Klauland 2020 -->
<div id="rightmenu" class="panel panel-default">
<div class="panel-body">
<table class="no-style full">
<tbody>
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>Kaufland 2020</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr13&id=<?php echo $_smarty_tpl->tpl_vars['firmen']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>Ersatz für Rundschau</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ------------------------------------ Marktbelege -->
<div id="rightmenu" class="panel panel-default">
<div class="panel-body">
<table class="no-style full">
<tbody>
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>Marktbelege</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr12&id=<?php echo $_smarty_tpl->tpl_vars['firmen']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>Belege aus Halle </td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ------------------------------------ SaSo 1300 -->
<div id="rightmenu" class="panel panel-default">
<div class="panel-body">
<table class="no-style full">
<tbody>
<!--
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:lightgray'>SaSo 2020 (1300)</td>
<td nowrap align="right" style='width:60px'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr19&id=<?php echo $_smarty_tpl->tpl_vars['firmen']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:lightgray'>1300 / 650 / 1951 </td>
</tr>
-->
<!-- ------------------------------------ SaSo 1400 -->
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>SaSo 2020 (1400)</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr8&id=<?php echo $_smarty_tpl->tpl_vars['firmen']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>1400 / 700 / 2101 </td>
</tr>
<!-- ------------------------------------ SaSo 1400 ohne 50% -->
<!--
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#ff0000'>SaSo 2020 (1400 ohne 50%)</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr19x&id=<?php echo $_smarty_tpl->tpl_vars['firmen']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#ff0000'>1400 / 1400 / 2801 </td>
</tr>
-->
</tbody>
</table>
</div>
</div>
<!-- ------------------------------------ SaSo Sondertour 999 -->
<div id="rightmenu" class="panel panel-default">
<div class="panel-body">
<table class="no-style full">
<tbody>
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>SaSo Sondertour</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr19_999&id=<?php echo $_smarty_tpl->tpl_vars['firmen']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>Abn. 120/160/180/680/690/750</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- ------------------------------------ SaSo 1300 -->
<div id="rightmenu" class="panel panel-default">
<div class="panel-body">
<table class="no-style full">
<tbody>
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>Wirth 2020</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr19m&id=<?php echo $_smarty_tpl->tpl_vars['firmen']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>1500 / 750 / 2251 </td>
</tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#ff0000'>Wirth 2020</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr19mx&id=<?php echo $_smarty_tpl->tpl_vars['firmen']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#ff0000'>1500 / 1500 / 3000 </td>
</tr>
<!--
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:lightgray'>Steinmacher 2020 (1300)</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr19i13&id=<?php echo $_smarty_tpl->tpl_vars['firmen']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:lightgray'>1300 / 650 / 1951 </td>
</tr>
-->
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>Steinmacher 2020 (1400)</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr19i14&id=<?php echo $_smarty_tpl->tpl_vars['firmen']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#4F81BD'>1400 / 700 / 2101 </td>
</tr>
<tr>
</tr>
<!--
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#ff0000'>Steinmacher (1400o.50%)</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr19ix14&id=<?php echo $_smarty_tpl->tpl_vars['firmen']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
<tr>
<td nowrap style='width:240px;font-size:10pt;line-height:80%; color:#ff0000'>1400 / 1400 / 2801 </td>
</tr>
-->
<tr>
<td nowrap style='width:240px;font-size:14pt;line-height:80%; color:#4F81BD'>Haack 2020</td>
<td nowrap align="right" style='width:60px; color:#4F81BD'>
<a class="btn btn-danger" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=list_a_abr19a&id=<?php echo $_smarty_tpl->tpl_vars['firmen']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" aria-label="Settings">
<i class="fa fa-file-pdf-o"></i>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<?php }?>
<!-- -------------------------------------->
<div id="rightmenu" class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>PDF-Daten</h2></header>
<section class="panel-body">
<dl>
<section>
<table class="no-style full">
<tbody>
<a href="?s=list_a_abr2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&id=<?php echo $_smarty_tpl->tpl_vars['anzeige']->value;?>
" class="btn btn-warning" role="button">Übersicht PDF</a>
</br>
<a href="?s=list_a_abr&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&id=<?php echo $_smarty_tpl->tpl_vars['anzeige']->value;?>
" class="btn btn-warning" role="button">Rechnungseinleger PDF</a>
</tbody>
</table>
</dl>
</section>
</div>
</aside>
<!-- Sidebar End -->
<!--
rechte seite -->
</div>
<?php }
}

View file

@ -0,0 +1,167 @@
<?php
/* Smarty version 4.3.0, created on 2024-04-10 16:20:50
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/tuer.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_6616a042a14dc1_88741163',
'has_nocache_code' => false,
'file_dependency' =>
array (
'c1ea86064178bbb0a1523332db6bc6c7f7d471ce' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/tuer.tpl',
1 => 1709896011,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6616a042a14dc1_88741163 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<!-- Left column/section -->
<div class="container-fluid">
<div class="row">
<div class="col-md-5">
<div class="tlog">
<header class="current"><h2><span style='color:#0000FF'>Tuereintrag Heute <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['tag1b']->value,"%d.%m.%Y");?>
</h2></header>
<section>
<table class="datatable full" >
<thead>
<tr>
<th>Zeitstempel</th>
<th>Fahrer</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['status1']->value, 'st1');
$_smarty_tpl->tpl_vars['st1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['st1']->value) {
$_smarty_tpl->tpl_vars['st1']->do_else = false;
?>
<tr>
<td width="200px"><strong><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['st1']->value['zeit'],"%d.%m.%Y - %H:%M");?>
Uhr</strong></td>
<td> <b><?php echo $_smarty_tpl->tpl_vars['st1']->value['fahrer'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</section>
</div>
</div>
<div class="col-md-5">
<div class="widget">
<header class="current"><h2><span style='color:#0000FF'>Tuereintrag Gestern <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['tag2b']->value,"%d.%m.%Y");?>
</h2></header>
<section>
<table class="datatable full" >
<thead>
<tr>
<th>Zeitstempel</th>
<th>Fahrer</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['status2']->value, 'st2');
$_smarty_tpl->tpl_vars['st2']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['st2']->value) {
$_smarty_tpl->tpl_vars['st2']->do_else = false;
?>
<tr>
<td width="200px"><strong><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['st2']->value['zeit'],"%d.%m.%Y - %H:%M");?>
Uhr</strong></td>
<td> <b><?php echo $_smarty_tpl->tpl_vars['st2']->value['fahrer'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</section>
</div>
</div>
<!-- Sidebar -->
<div class="column grid_2 last">
<div class="widget">
<header class="current"><h2><span style='color:#0000FF'>Status Anlage</h2></header>
<section>
<table class="datatable full">
<tbody> <strong>
<tr><td><strong>Tuer ist</strong></td> <td><strong><?php echo $_smarty_tpl->tpl_vars['tuer']->value;?>
</strong></td></tr>
<tr><td><strong>Alarmanlage ist</strong></td> <td><strong><?php echo $_smarty_tpl->tpl_vars['alarm']->value;?>
</strong></td></tr>
<tr><td><strong>___________________</strong></td><td><strong>_____</strong></td></tr>
<tr><td><strong><span style='color:#0000FF'><strong>letzte Zugangskarte:</strong></td></tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['status']->value, 'st');
$_smarty_tpl->tpl_vars['st']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['st']->value) {
$_smarty_tpl->tpl_vars['st']->do_else = false;
?>
<tr></strong>
<td><strong><?php echo $_smarty_tpl->tpl_vars['st']->value['fahrer'];?>
</strong></td>
<td><strong><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['st']->value['zeit'],"%H:%M");?>
</strong></td>
<!-- <td> <span style='color:#FF0000'><?php echo $_smarty_tpl->tpl_vars['status']->value['zeit2'];?>
</td> -->
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</section>
</div>
<div class="widget">
<header class="current"><h2><span style='color:#FF0000'>Fehler Anlage</h2></header>
<section>
<table class="nostyle full">
<tbody> <strong>
<tr><td><strong><span style='color:#0000FF'><strong>letzter Fehlversuch:</strong></td></tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['estatus']->value, 'est');
$_smarty_tpl->tpl_vars['est']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['est']->value) {
$_smarty_tpl->tpl_vars['est']->do_else = false;
?>
<tr>
<td><strong><span style='color:#FF00FF'><?php echo $_smarty_tpl->tpl_vars['est']->value['karte'];?>
</strong></td>
<td><strong><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['est']->value['zeit'],"%d.%m %H:%M");?>
</strong></td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</section>
</div>
</div>
</section>
<?php }
}

View file

@ -0,0 +1,720 @@
<?php
/* Smarty version 4.3.0, created on 2024-04-24 04:52:17
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ue_hm.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_662873e150c292_22174843',
'has_nocache_code' => false,
'file_dependency' =>
array (
'c294d1c8556af3860ffc79b95a3a3d403872ecb4' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ue_hm.tpl',
1 => 1707761826,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_662873e150c292_22174843 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<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">
<?php if ($_smarty_tpl->tpl_vars['wichtiga1']->value > 0) {?>
<div class="widget">
<header class="current"><h2><span style='color:#FF0000'>offene-Tourenplanung Heute (<?php echo $_smarty_tpl->tpl_vars['tag1']->value;?>
)</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tw1']->value, 'tw');
$_smarty_tpl->tpl_vars['tw']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tw']->value) {
$_smarty_tpl->tpl_vars['tw']->do_else = false;
?>
<td> <strong><?php echo $_smarty_tpl->tpl_vars['tag1']->value;?>
</strong></td>
<td> <strong><?php echo $_smarty_tpl->tpl_vars['tw']->value['tour'];?>
</strong></td>
<td> <strong><span style='color:#FF0000'><?php echo $_smarty_tpl->tpl_vars['tw']->value['fahrer'];?>
</strong></td>
<td><strong> <span style='color:#FF0000'><?php echo $_smarty_tpl->tpl_vars['tw']->value['kennz'];?>
</strong></td>
<td> <strong><span style='color:#FF0000'><?php echo $_smarty_tpl->tpl_vars['tw']->value['info'];?>
</strong></td>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['wichtiga2']->value > 0) {?>
<div class="widget">
<header class="current"><h2><span style='color:#FF0000'>offene-Tourenplanung Morgen (<?php echo $_smarty_tpl->tpl_vars['tag2']->value;?>
)</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tw2']->value, 'twx');
$_smarty_tpl->tpl_vars['twx']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['twx']->value) {
$_smarty_tpl->tpl_vars['twx']->do_else = false;
?>
<td> <strong><?php echo $_smarty_tpl->tpl_vars['tag2']->value;?>
</strong></td>
<td> <strong><?php echo $_smarty_tpl->tpl_vars['twx']->value['tour'];?>
</strong></td>
<td> <strong><span style='color:#FF0000'><?php echo $_smarty_tpl->tpl_vars['twx']->value['fahrer'];?>
</strong></td>
<td><strong> <span style='color:#FF0000'><?php echo $_smarty_tpl->tpl_vars['twx']->value['kennz'];?>
</strong></td>
<td> <strong><span style='color:#FF0000'><?php echo $_smarty_tpl->tpl_vars['twx']->value['info'];?>
</strong></td>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<?php }?>
</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 <?php echo $_smarty_tpl->tpl_vars['tuer']->value;?>
</td></tr>
<?php if ($_smarty_tpl->tpl_vars['online']->value > 0) {?>
<tr><td>Tuer ist <strong><span style='color:#0000FF'>online</strong></td></tr>
<?php } else { ?>
<tr><td>Tuer ist <strong><span style='color:#FF0000'>offline</strong></td></tr>
<?php }?>
<tr><td>Alarmanlage ist <?php echo $_smarty_tpl->tpl_vars['alarm']->value;?>
</td></tr>
<tr><td><span style='color:#0000FF'><strong>letzte Zugangskarte:</strong></td></tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['status']->value, 'sta');
$_smarty_tpl->tpl_vars['sta']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['sta']->value) {
$_smarty_tpl->tpl_vars['sta']->do_else = false;
?>
<tr></strong>
<td><?php echo $_smarty_tpl->tpl_vars['sta']->value['fahrer'];?>
</td>
<td><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['sta']->value['zeit'],"%d.%m. %H:%M");?>
</td>
<!-- <td> <span style='color:#FF0000'><?php echo $_smarty_tpl->tpl_vars['status']->value['zeit2'];?>
</td> -->
</tr><?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<tr><td><span style='color:#FF0000'><strong>letzte Fehlerkarte:</strong></td></tr>
<tr>
<td><span style='color:#FF0000'><?php echo $_smarty_tpl->tpl_vars['estatus']->value['karte'];?>
</td>
<td><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['estatus']->value['zeit'],"%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">
<?php if ($_smarty_tpl->tpl_vars['wert4']->value > 0) {?>
<div class="widget">
<header class="current"><h2>LVZ-Tourenplanung <?php echo $_smarty_tpl->tpl_vars['tag1']->value;?>
</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['lvz1']->value, 'lvz1x');
$_smarty_tpl->tpl_vars['lvz1x']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['lvz1x']->value) {
$_smarty_tpl->tpl_vars['lvz1x']->do_else = false;
?>
<td> <?php if ($_smarty_tpl->tpl_vars['lvz1x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['lvz1x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['lvz1x']->value['fahrer'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['lvz1x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['lvz1x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['lvz1x']->value['tour'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['lvz1x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['lvz1x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['lvz1x']->value['kennz'];?>
</td></b>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['wert3']->value > 0) {?>
<div class="widget">
<header class="current"><h2>GH-Tourenplanung <?php echo $_smarty_tpl->tpl_vars['tag1']->value;?>
</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['gh1']->value, 'gh1x');
$_smarty_tpl->tpl_vars['gh1x']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['gh1x']->value) {
$_smarty_tpl->tpl_vars['gh1x']->do_else = false;
?>
<td> <?php if ($_smarty_tpl->tpl_vars['gh1x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['gh1x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['gh1x']->value['fahrer'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['gh1x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['gh1x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['gh1x']->value['tour'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['gh1x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['gh1x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['gh1x']->value['kennz'];?>
</td></b>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['wert5']->value > 0) {?>
<div class="widget">
<header class="current"><h2>PIN-Tourenplanung <?php echo $_smarty_tpl->tpl_vars['tag1']->value;?>
</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['pin1']->value, 'pin1x');
$_smarty_tpl->tpl_vars['pin1x']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['pin1x']->value) {
$_smarty_tpl->tpl_vars['pin1x']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['pin1']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }?>
<td> <?php if ($_smarty_tpl->tpl_vars['pin1x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['pin1x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['pin1x']->value['fahrer'];?>
</font></td>
<td> <?php if ($_smarty_tpl->tpl_vars['pin1x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['pin1x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['pin1x']->value['tour'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['pin1x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['pin1x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['pin1x']->value['kennz'];?>
</td></b>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['wert6']->value > 0) {?>
<div class="widget">
<header class="current"><h2>Post-Tourenplanung <?php echo $_smarty_tpl->tpl_vars['tag1']->value;?>
</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['post1']->value, 'po1');
$_smarty_tpl->tpl_vars['po1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['po1']->value) {
$_smarty_tpl->tpl_vars['po1']->do_else = false;
?>
<td> <?php if ($_smarty_tpl->tpl_vars['po1']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['po1']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['po1']->value['fahrer'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['po1']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['po1']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['po1']->value['tour'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['po1']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['po1']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['po1']->value['kennz'];?>
</td></b>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['wert7']->value > 0) {?>
<div class="widget">
<header class="current"><h2>Rundschau-Tourenplanung <?php echo $_smarty_tpl->tpl_vars['tag1']->value;?>
</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['rs1']->value, 'rs1x');
$_smarty_tpl->tpl_vars['rs1x']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['rs1x']->value) {
$_smarty_tpl->tpl_vars['rs1x']->do_else = false;
?>
<td> <?php if ($_smarty_tpl->tpl_vars['rs1x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['rs1x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['rs1x']->value['fahrer'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['rs1x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['rs1x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['rs1x']->value['tour'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['rs1x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['rs1x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['rs1x']->value['kennz'];?>
</td></b>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['wert8']->value > 0) {?>
<div class="widget">
<header class="current"><h2>SaSo-Tourenplanung <?php echo $_smarty_tpl->tpl_vars['tag1']->value;?>
</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['saso1']->value, 'ss1');
$_smarty_tpl->tpl_vars['ss1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ss1']->value) {
$_smarty_tpl->tpl_vars['ss1']->do_else = false;
?>
<td> <?php if ($_smarty_tpl->tpl_vars['ss1']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['ss1']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['ss1']->value['fahrer'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['ss1']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['ss1']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['ss1']->value['tour'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['ss1']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['ss1']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['ss1']->value['kennz'];?>
</td></b>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<?php }?>
</div>
<div class="column grid_3 last">
<?php if ($_smarty_tpl->tpl_vars['wert4b']->value > 0) {?>
<div class="widget">
<header class="current"><h2>LVZ-Tourenplanung <?php echo $_smarty_tpl->tpl_vars['tag2']->value;?>
</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['lvz2']->value, 'lvz2x');
$_smarty_tpl->tpl_vars['lvz2x']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['lvz2x']->value) {
$_smarty_tpl->tpl_vars['lvz2x']->do_else = false;
?>
<td> <?php if ($_smarty_tpl->tpl_vars['lvz2x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['lvz2x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['lvz2x']->value['fahrer'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['lvz2x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['lvz2x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['lvz2x']->value['tour'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['lvz2x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['lvz2x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['lvz2x']->value['kennz'];?>
</td></b>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['wert3b']->value > 0) {?>
<div class="widget">
<header class="current"><h2>GH-Tourenplanung <?php echo $_smarty_tpl->tpl_vars['tag2']->value;?>
</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['gh2']->value, 'gh2x');
$_smarty_tpl->tpl_vars['gh2x']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['gh2x']->value) {
$_smarty_tpl->tpl_vars['gh2x']->do_else = false;
?>
<td> <?php if ($_smarty_tpl->tpl_vars['gh2x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['gh2x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['gh2x']->value['fahrer'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['gh2x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['gh2x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['gh2x']->value['tour'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['gh2x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['gh2x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['gh2x']->value['kennz'];?>
</td></b>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['wert5b']->value > 0) {?>
<div class="widget">
<header class="current"><h2>PIN-Tourenplanung <?php echo $_smarty_tpl->tpl_vars['tag2']->value;?>
</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['pin2']->value, 'pin2x');
$_smarty_tpl->tpl_vars['pin2x']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['pin2x']->value) {
$_smarty_tpl->tpl_vars['pin2x']->do_else = false;
?>
<td> <?php if ($_smarty_tpl->tpl_vars['pin2x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['pin2x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['pin2x']->value['fahrer'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['pin2x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['pin2x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['pin2x']->value['tour'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['pin2x']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['pin2x']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['pin2x']->value['kennz'];?>
</td></b>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['wert6b']->value > 0) {?>
<div class="widget">
<header class="current"><h2>Post-Tourenplanung <?php echo $_smarty_tpl->tpl_vars['tag2']->value;?>
</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['post2']->value, 'po2');
$_smarty_tpl->tpl_vars['po2']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['po2']->value) {
$_smarty_tpl->tpl_vars['po2']->do_else = false;
?>
<td> <?php if ($_smarty_tpl->tpl_vars['po2']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['po2']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['po2']->value['fahrer'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['po2']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['po2']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['po2']->value['tour'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['po2']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['po2']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['po2']->value['kennz'];?>
</td></b>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['wert8b']->value > 0) {?>
<div class="widget">
<header class="current"><h2>SaSo-Tourenplanung <?php echo $_smarty_tpl->tpl_vars['tag2']->value;?>
</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['saso2']->value, 'ss2');
$_smarty_tpl->tpl_vars['ss2']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ss2']->value) {
$_smarty_tpl->tpl_vars['ss2']->do_else = false;
?>
<td> <?php if ($_smarty_tpl->tpl_vars['ss2']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['ss2']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['ss2']->value['fahrer'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['ss2']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['ss2']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['ss2']->value['tour'];?>
</td>
<td> <?php if ($_smarty_tpl->tpl_vars['ss2']->value['stamm'] > 0) {?><b><?php }
if ($_smarty_tpl->tpl_vars['ss2']->value['stamm'] == 2) {?><span style='color:#FF0000'><?php }
echo $_smarty_tpl->tpl_vars['ss2']->value['kennz'];?>
</td></b>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<?php }?>
</div>
<div class="clear">&nbsp;</div>
</section>
<!-- Main Section End -->
<!-- Sidebar -->
<aside class="grid_2 top">
<div class="widget">
<header class="current"><h2><?php echo $_smarty_tpl->tpl_vars['day1']->value;?>
( <?php echo $_smarty_tpl->tpl_vars['tna1']->value;?>
)</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['maf1']->value, 'maf1x');
$_smarty_tpl->tpl_vars['maf1x']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf1x']->value) {
$_smarty_tpl->tpl_vars['maf1x']->do_else = false;
?>
<td> <?php echo $_smarty_tpl->tpl_vars['maf1x']->value['fahrer'];?>
</td>
<td> <img src="/template/images/icon/<?php echo $_smarty_tpl->tpl_vars['maf1x']->value['icon'];?>
" width="16" height="16"/></td>
<td> <?php echo $_smarty_tpl->tpl_vars['maf1x']->value['bez'];?>
</td>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<div class="widget">
<header class="current"><h2><?php echo $_smarty_tpl->tpl_vars['day2']->value;?>
( <?php echo $_smarty_tpl->tpl_vars['tna2']->value;?>
)</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['maf2']->value, 'maf2x');
$_smarty_tpl->tpl_vars['maf2x']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf2x']->value) {
$_smarty_tpl->tpl_vars['maf2x']->do_else = false;
?>
<td> <?php echo $_smarty_tpl->tpl_vars['maf2x']->value['fahrer'];?>
</td>
<td> <img src="/template/images/icon/<?php echo $_smarty_tpl->tpl_vars['maf2x']->value['icon'];?>
" width="16" height="16"/></td>
<td> <?php echo $_smarty_tpl->tpl_vars['maf2x']->value['bez'];?>
</td>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<div class="widget">
<header class="current"><h2><?php echo $_smarty_tpl->tpl_vars['day3']->value;?>
( <?php echo $_smarty_tpl->tpl_vars['tna3']->value;?>
)</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['maf3']->value, 'maf3x');
$_smarty_tpl->tpl_vars['maf3x']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf3x']->value) {
$_smarty_tpl->tpl_vars['maf3x']->do_else = false;
?>
<td> <?php echo $_smarty_tpl->tpl_vars['maf3x']->value['fahrer'];?>
</td>
<td> <img src="/template/images/icon/<?php echo $_smarty_tpl->tpl_vars['maf3x']->value['icon'];?>
" width="16" height="16"/></td>
<td> <?php echo $_smarty_tpl->tpl_vars['maf3x']->value['bez'];?>
</td>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<div class="widget">
<header class="current"><h2><?php echo $_smarty_tpl->tpl_vars['day4']->value;?>
( <?php echo $_smarty_tpl->tpl_vars['tna4']->value;?>
)</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['maf4']->value, 'maf4x');
$_smarty_tpl->tpl_vars['maf4x']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf4x']->value) {
$_smarty_tpl->tpl_vars['maf4x']->do_else = false;
?>
<td> <?php echo $_smarty_tpl->tpl_vars['maf4x']->value['fahrer'];?>
</td>
<td> <img src="/template/images/icon/<?php echo $_smarty_tpl->tpl_vars['maf4x']->value['icon'];?>
" width="16" height="16"/></td>
<td> <?php echo $_smarty_tpl->tpl_vars['maf4x']->value['bez'];?>
</td>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<div class="widget">
<header class="current"><h2><?php echo $_smarty_tpl->tpl_vars['day5']->value;?>
( <?php echo $_smarty_tpl->tpl_vars['tna5']->value;?>
)</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['maf5']->value, 'maf5x');
$_smarty_tpl->tpl_vars['maf5x']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf5x']->value) {
$_smarty_tpl->tpl_vars['maf5x']->do_else = false;
?>
<td> <?php echo $_smarty_tpl->tpl_vars['maf5x']->value['fahrer'];?>
</td>
<td> <img src="/template/images/icon/<?php echo $_smarty_tpl->tpl_vars['maf5x']->value['icon'];?>
" width="16" height="16"/></td>
<td> <?php echo $_smarty_tpl->tpl_vars['maf5x']->value['bez'];?>
</td>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<div class="widget">
<header class="current"><h2><?php echo $_smarty_tpl->tpl_vars['day6']->value;?>
( <?php echo $_smarty_tpl->tpl_vars['tna6']->value;?>
)</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['maf6']->value, 'maf6x');
$_smarty_tpl->tpl_vars['maf6x']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf6x']->value) {
$_smarty_tpl->tpl_vars['maf6x']->do_else = false;
?>
<td> <?php echo $_smarty_tpl->tpl_vars['maf6x']->value['fahrer'];?>
</td>
<td> <img src="/template/images/icon/<?php echo $_smarty_tpl->tpl_vars['maf6x']->value['icon'];?>
" width="16" height="16"/></td>
<td> <?php echo $_smarty_tpl->tpl_vars['maf6x']->value['bez'];?>
</td>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<div class="widget">
<header class="current"><h2><?php echo $_smarty_tpl->tpl_vars['day7']->value;?>
( <?php echo $_smarty_tpl->tpl_vars['tna7']->value;?>
)</h2></header>
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['maf7']->value, 'maf7x');
$_smarty_tpl->tpl_vars['maf7x']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf7x']->value) {
$_smarty_tpl->tpl_vars['maf7x']->do_else = false;
?>
<td> <?php echo $_smarty_tpl->tpl_vars['maf7x']->value['fahrer'];?>
</td>
<td> <img src="/template/images/icon/<?php echo $_smarty_tpl->tpl_vars['maf7x']->value['icon'];?>
" width="16" height="16"/></td>
<td> <?php echo $_smarty_tpl->tpl_vars['maf7x']->value['bez'];?>
</td>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
</aside>
<!-- Sidebar End -->
<div class="clear"></div>
</div>
<div id="push"></div>
</section>
</div> <?php }
}

View file

@ -0,0 +1,69 @@
<?php
/* Smarty version 4.3.0, created on 2024-08-18 13:48:28
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/p_night_free_car.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66c1df8c308371_39357610',
'has_nocache_code' => false,
'file_dependency' =>
array (
'cb692c065ca0c099b4b2f5925e3dae226232698a' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/p_night_free_car.tpl',
1 => 1723981704,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66c1df8c308371_39357610 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="panel panel-tbox">
<header class="panel-heading" style="font-size: 10pt;line-height:80%">
<span style="font-size: 14pt" class="far fa-truck pull-left"></span>
<span style="font-size: 12pt"> &nbsp;&nbsp; <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
</span>
</header>
<div class="panel-body">
<table class="no-style full" style="margin:-9px;line-height:12px">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['data']->value, 'fc');
$_smarty_tpl->tpl_vars['fc']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['fc']->value) {
$_smarty_tpl->tpl_vars['fc']->do_else = false;
?>
<tr>
<?php if ($_smarty_tpl->tpl_vars['fc']->value['n_a'] == 1) {?>
<td style="width:30px;font-size:12pt"><i class="far fa-engine-warning" style="color: red"></i></td>
<td style="width:200px;font-size:11pt;"><strong><?php echo $_smarty_tpl->tpl_vars['fc']->value['car'];?>
</strong></br>
<span style="width:145px;font-size: 7pt;color: orange"><?php echo $_smarty_tpl->tpl_vars['fc']->value['info'];?>
</span>
</td>
<?php } else { ?>
<td style="width:30px;font-size:12pt">
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 1) {?> <i class="far fa-car-side" style="color: sandybrown"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 2) {?> <i class="far fa-shuttle-van" style="color: orange"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 3) {?> <i class="far fa-truck" style="color: deepskyblue"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 4) {?> <i class="far fa-truck" style="color: cadetblue"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 5) {?> <i class="far fa-truck-moving" style="color: darkgreen"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['fc']->value['typ'] == 98) {?><i class="far fa-truck-plow" style="color: red"></i> <?php }?>
<td style="width:200px;font-size:11pt;">
<strong><?php echo $_smarty_tpl->tpl_vars['fc']->value['car'];?>
</strong></br>
<span style="width:145px;font-size: 7pt;"><?php echo $_smarty_tpl->tpl_vars['fc']->value['info'];?>
</span>
</td>
<?php }?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
</div>
<?php }
}

View file

@ -0,0 +1,961 @@
<?php
/* Smarty version 4.3.0, created on 2025-07-01 22:40:05
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/pfaz.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_686447a5846e10_96030487',
'has_nocache_code' => false,
'file_dependency' =>
array (
'cbab9866225a79ceb05d678db3d3ea759a788c3c' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/pfaz.tpl',
1 => 1751402398,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_686447a5846e10_96030487 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),1=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<section class="col-md-9">
<div class="row sortable">
<!-- fas 1 -->
<div class="col-md-12">
<div class="panel">
<form action="" method="post">
<div class="panel-heading" style="background-color:orange">
FAZ am Sonntag, <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
- Tour 1 "WEST"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select style="width:99px;font-size:8pt;float: right" name="car1" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auto_array']->value, 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'selected'=>$_smarty_tpl->tpl_vars['s_auto']->value),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<select style="width:120px;font-size:8pt;float: right" name="user1" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array']->value, 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['s_fahrer']->value),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<input style="float:right" type="image" name="tour1all" value="<?php echo $_smarty_tpl->tpl_vars['tourname']->value;?>
" src="template/images/icon/accept.png"/></td>
</div>
</form>
<div class="panel-body">
<table class="table-hover" style="font-size:11pt">
<thead>
<tr>
<th style="width:120px;font-size:8pt" align="left">Tour</th>
<th style="width: 60px;font-size:8pt" align="left">Block</th>
<th style="width:260px;font-size:8pt" align="left">Info</th>
<th style="width:120px;font-size:8pt;text-align:right">Exemplare</th>
<th style="width:200px;font-size:8pt;text-align:center">Fahrer</th>
<th style="width:90px;font-size:8pt;text-align:center">Fahrzeug</th>
<th style="width:30px;font-size:8pt;text-align:center">SMS</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour1']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<tr>
<form action="" method="post">
<td style="width:120px;font-size:12pt" align="left"><b><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 1) {?> <td style="width:60px;font-size:10pt" align="left"><b>West</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 2) {?> <td style="width:60px;font-size:10pt" align="left"><b>Nord</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 3) {?> <td style="width:60px;font-size:10pt" align="left"><b>Süd</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 4) {?> <td style="width:60px;font-size:10pt" align="left"><b>Ost</td><?php }?>
<td style="width:260px;font-size:10pt" align="left"><?php echo $_smarty_tpl->tpl_vars['tour']->value['infotitel'];?>
</td>
<td style="width:120px;font-size:12pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['exemplare'];?>
Exemplare</td>
<!-- --------------------------- fahrer -->
<td style="width:200px;font-size:12pt" align="left"><center>
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrer]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:160px;" onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['fahrer_array'], 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['fahrer_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td style="width:90px;font-size:12pt" align="left"><center>
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrzeug]" id="car_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:100px;" onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['auto_array'], 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['auto_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<td style="width:30px;font-size:11pt">
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][tid]" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"/>
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][tourid]" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
"/>
<div id="smsstatus<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="text-align:center;">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-times" data-toggle="tooltip" title="SMS senden nicht möglich"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-commenting-o"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse" data-toggle="tooltip" title="SMS wartet"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-check-square-o" data-toggle="tooltip" title="zugestellt am: <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['tour']->value['smsstatusdate'],"%d.%m.%Y-%H:%M");?>
Uhr"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-ban text-danger"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-refresh fa-spin fa-fw"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
</div>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- fas 2 -->
<div class="col-md-12">
<div class="panel">
<form action="" method="post">
<div class="panel-heading" style="background-color:orange; color: aliceblue">
FAZ am Sonntag, <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
- Tour 2 "Nord"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select style="width:99px;font-size:8pt;float: right" name="car2" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auto_array']->value, 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'selected'=>$_smarty_tpl->tpl_vars['s_auto']->value),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<select style="width:120px;font-size:8pt;float: right" name="user2" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array']->value, 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['s_fahrer']->value),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<input style="float:right" type="image" name="tour2all" value="<?php echo $_smarty_tpl->tpl_vars['tourname']->value;?>
" src="template/images/icon/accept.png"/></td>
</div>
</form>
<div class="panel-body">
<table class="table-hover" style="font-size:11pt">
<thead>
<tr>
<th style="width:120px;font-size:8pt" align="left">Tour</th>
<th style="width: 60px;font-size:8pt" align="left">Block</th>
<th style="width:260px;font-size:8pt" align="left">Info</th>
<th style="width:120px;font-size:8pt;text-align:right">Exemplare</th>
<th style="width:200px;font-size:8pt;text-align:center">Fahrer</th>
<th style="width:90px;font-size:8pt;text-align:center">Fahrzeug</th>
<th style="width:30px;font-size:8pt;text-align:center">SMS</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour2']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<tr>
<form action="" method="post">
<td style="width:120px;font-size:12pt" align="left"><b><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 1) {?> <td style="width:60px;font-size:10pt" align="left"><b>West</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 2) {?> <td style="width:60px;font-size:10pt" align="left"><b>Nord</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 3) {?> <td style="width:60px;font-size:10pt" align="left"><b>Süd</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 4) {?> <td style="width:60px;font-size:10pt" align="left"><b>Ost</td><?php }?>
<td style="width:260px;font-size:10pt" align="left"><?php echo $_smarty_tpl->tpl_vars['tour']->value['infotitel'];?>
</td>
<td style="width:120px;font-size:12pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['exemplare'];?>
Exemplare</td>
<!-- --------------------------- fahrer -->
<td style="width:200px;font-size:12pt" align="left"><center>
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrer]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:160px;" onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['fahrer_array'], 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['fahrer_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td style="width:90px;font-size:12pt" align="left"><center>
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrzeug]" id="car_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:100px;" onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['auto_array'], 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['auto_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<td style="width:30px;font-size:11pt">
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][tid]" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"/>
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][tourid]" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
"/>
<div id="smsstatus<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="text-align:center;">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-times" data-toggle="tooltip" title="SMS senden nicht möglich"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-commenting-o"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse" data-toggle="tooltip" title="SMS wartet"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-check-square-o" data-toggle="tooltip" title="zugestellt am: <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['tour']->value['smsstatusdate'],"%d.%m.%Y-%H:%M");?>
Uhr"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-ban text-danger"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-refresh fa-spin fa-fw"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
</div>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- fas 3 -->
<div class="col-md-12">
<div class="panel">
<form action="" method="post">
<div class="panel-heading" style="background-color:orange">
FAZ am Sonntag, <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
- Tour 3 "Süd"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select style="width:99px;font-size:8pt;float: right" name="car3" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auto_array']->value, 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'selected'=>$_smarty_tpl->tpl_vars['s_auto']->value),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<select style="width:120px;font-size:8pt;float: right" name="user3" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array']->value, 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['s_fahrer']->value),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<input style="float:right" type="image" name="tour3all" value="<?php echo $_smarty_tpl->tpl_vars['tourname']->value;?>
" src="template/images/icon/accept.png"/></td>
</div>
</form>
<div class="panel-body">
<table class="table-hover" style="font-size:11pt">
<thead>
<tr>
<th style="width:120px;font-size:8pt" align="left">Tour</th>
<th style="width: 60px;font-size:8pt" align="left">Block</th>
<th style="width:260px;font-size:8pt" align="left">Info</th>
<th style="width:120px;font-size:8pt;text-align:right">Exemplare</th>
<th style="width:200px;font-size:8pt;text-align:center">Fahrer</th>
<th style="width:90px;font-size:8pt;text-align:center">Fahrzeug</th>
<th style="width:30px;font-size:8pt;text-align:center">SMS</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour3']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<tr>
<form action="" method="post">
<td style="width:120px;font-size:12pt" align="left"><b><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 1) {?> <td style="width:60px;font-size:10pt" align="left"><b>West</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 2) {?> <td style="width:60px;font-size:10pt" align="left"><b>Nord</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 3) {?> <td style="width:60px;font-size:10pt" align="left"><b>Süd</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 4) {?> <td style="width:60px;font-size:10pt" align="left"><b>Ost</td><?php }?>
<td style="width:260px;font-size:10pt" align="left"><?php echo $_smarty_tpl->tpl_vars['tour']->value['infotitel'];?>
</td>
<td style="width:120px;font-size:12pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['exemplare'];?>
Exemplare</td>
<!-- --------------------------- fahrer -->
<td style="width:200px;font-size:12pt" align="left"><center>
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrer]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:160px;" onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['fahrer_array'], 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['fahrer_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td style="width:90px;font-size:12pt" align="left"><center>
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrzeug]" id="car_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:100px;" onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['auto_array'], 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['auto_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<td style="width:30px;font-size:11pt">
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][tid]" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"/>
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][tourid]" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
"/>
<div id="smsstatus<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="text-align:center;">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-times" data-toggle="tooltip" title="SMS senden nicht möglich"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-commenting-o"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1) {?>
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse" data-toggle="tooltip" title="SMS wartet"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2) {?>
<i style="width:30px;font-size:13pt" class="fa fa-check-square-o" data-toggle="tooltip" title="zugestellt am: <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['tour']->value['smsstatusdate'],"%d.%m.%Y-%H:%M");?>
Uhr"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 3) {?>
<i style="width:30px;font-size:13pt" class="fa fa-ban text-danger"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5) {?>
<i style="width:30px;font-size:13pt" class="fa fa-ban text-danger"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8) {?>
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20) {?>
<i style="width:30px;font-size:13pt" class="fa fa-refresh fa-spin fa-fw"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
</div>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- fas 4 -->
<div class="col-md-12">
<div class="panel">
<form action="" method="post">
<div class="panel-heading" style="background-color:orange">
FAZ am Sonntag, <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
- Tour 4 "Ost"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select style="width:99px;font-size:8pt;float: right" name="car4" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auto_array']->value, 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'selected'=>$_smarty_tpl->tpl_vars['s_auto']->value),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<select style="width:120px;font-size:8pt;float: right" name="user4" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array']->value, 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['s_fahrer']->value),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<input style="float:right" type="image" name="tour4all" value="<?php echo $_smarty_tpl->tpl_vars['tourname']->value;?>
" src="template/images/icon/accept.png"/></td>
</div>
</form>
<div class="panel-body">
<table class="table-hover" style="font-size:11pt">
<thead>
<tr>
<th style="width:120px;font-size:8pt" align="left">Tour</th>
<th style="width: 60px;font-size:8pt" align="left">Block</th>
<th style="width:260px;font-size:8pt" align="left">Info</th>
<th style="width:120px;font-size:8pt;text-align:right">Exemplare</th>
<th style="width:200px;font-size:8pt;text-align:center">Fahrer</th>
<th style="width:90px;font-size:8pt;text-align:center">Fahrzeug</th>
<th style="width:30px;font-size:8pt;text-align:center">SMS</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour4']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<tr>
<form action="" method="post">
<td style="width:120px;font-size:12pt" align="left"><b><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 1) {?> <td style="width:60px;font-size:10pt" align="left"><b>West</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 2) {?> <td style="width:60px;font-size:10pt" align="left"><b>Nord</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 3) {?> <td style="width:60px;font-size:10pt" align="left"><b>Süd</td><?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['utyp'] == 4) {?> <td style="width:60px;font-size:10pt" align="left"><b>Ost</td><?php }?>
<td style="width:260px;font-size:10pt" align="left"><?php echo $_smarty_tpl->tpl_vars['tour']->value['infotitel'];?>
</td>
<td style="width:120px;font-size:12pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tour']->value['exemplare'];?>
Exemplare</td>
<!-- --------------------------- fahrer -->
<td style="width:200px;font-size:12pt" align="left"><center>
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrer]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:160px;" onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['fahrer_array'], 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['fahrer_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td style="width:90px;font-size:12pt" align="left"><center>
<select name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][Fahrzeug]" id="car_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:100px;" onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tour']->value['auto_array'], 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['auto_id']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<td style="width:30px;font-size:11pt">
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][tid]" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"/>
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
][tourid]" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
"/>
<div id="smsstatus<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="text-align:center;">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-times" data-toggle="tooltip" title="SMS senden nicht möglich"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-commenting-o"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse" data-toggle="tooltip" title="SMS wartet"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-check-square-o" data-toggle="tooltip" title="zugestellt am: <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['tour']->value['smsstatusdate'],"%d.%m.%Y-%H:%M");?>
Uhr"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-ban text-danger"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-spinner fa-pulse"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20 && $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] > 0) {?>
<i style="width:30px;font-size:13pt" class="fa fa-refresh fa-spin fa-fw"
onclick="window.location='?s=pfaz&smsid=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';"></i>
<?php }?>
</div>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- -------------------------------------->
</div>
</section>
<!-- -------------------------------------->
<!-- Sidebar -->
<aside class="col-md-3">
<div id="rightmenu" class="panel panel-default">
<div class="btn-group">
<a class="btn btn-warning btn-sm" href="?s=pfaz&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-arrow-left" aria-hidden="true"></i>
</a>
<button type="button" class="btn btn-default btn-sm"><?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
.KW</button>
</a>
<a class="btn btn-warning btn-sm" href="?s=pfaz&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-arrow-right" aria-hidden="true"></i>
</a>
<a class="btn btn-default btn-sm href="#"">-</a>
<a class="btn btn-warning btn-sm" href="?s=pfaz&wahl=3&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-arrow-left" aria-hidden="true"></i>
</a>
<button type="button" class="btn btn-default btn-sm"><?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</button>
</a>
<a class="btn btn-warning btn-sm" href="?s=pfaz&wahl=4&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-arrow-right" aria-hidden="true"></i>
</a>
</div>
</div>
<div id="rightmenu" class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Kalender f&uuml;r <?php echo $_smarty_tpl->tpl_vars['datumland']->value;?>
</h2></header>
<section class="panel-body">
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['mafx']->value, 'maf1');
$_smarty_tpl->tpl_vars['maf1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf1']->value) {
$_smarty_tpl->tpl_vars['maf1']->do_else = false;
?>
<td nowrap style="width:145px;height:10px;font-size:10pt"> <?php echo $_smarty_tpl->tpl_vars['maf1']->value['fahrer'];?>
</td>
<td nowrap style= "width:20px;height:10px;font-size:10pt"> <img src="/template/images/icon/<?php echo $_smarty_tpl->tpl_vars['maf1']->value['icon'];?>
" width="12" height="12"/></td>
<td nowrap style="width:150px;height:10px;font-size:10pt"> <?php echo $_smarty_tpl->tpl_vars['maf1']->value['bez'];?>
</td>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
<div id="rightmenu" class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">Summe FAZ <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
</h2></header>
<section class="panel-body">
<table class="no-style full" style="font-size:12pt">
<tr>
<td nowrap style="width:120px;height:10px;font-size:11pt">Gesamtabos</td>
<td nowrap style="width:120px;height:10px;font-size:11pt;text-align: right"><?php echo $_smarty_tpl->tpl_vars['summe1']->value;?>
&nbsp;&nbsp;&nbsp;Exemplare</td>
</tr>
<tr>
<td nowrap style="width:120px;height:10px;font-size:11pt">Gesamtkunden</td>
<td nowrap style="width:120px;height:10px;font-size:11pt;text-align: right"><?php echo $_smarty_tpl->tpl_vars['summe2']->value;?>
Abonnenten</td>
</tr>
<tr>
<td nowrap style="width:120px;height:10px;font-size:11pt">Unterbrechung:</td>
<td nowrap style="width:120px;height:10px;font-size:11pt;text-align: right"><?php echo $_smarty_tpl->tpl_vars['summe3']->value;?>
Abonnenten</td>
</tr>
</table>
</section>
</div>
<!-- --------------------------- Sms sendebutton -->
<div id="rightmenu" class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">Summe FAZ <?php echo $_smarty_tpl->tpl_vars['datum']->value;?>
</h2></header>
<section class="panel-body">
<form action="" method="post">
<input type="submit" class="btn btn-link" value="alle SMS senden" name="smspower" value="kompl. Liste per SMS senden" onclick="return confirm('M&ouml;chten sie wirklich alle SMS senden ?')">
</form>
</section>
</div>
<!-- --------------------------- Vorwoche anzeigen -->
<div id="rightmenu" class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title"><span style='font-size:12pt;line-height:100%; color:#4F81BD'>Einsatzplanung letzte Woche</h2></header>
<section class="panel-body">
<section>
<table class="no-style full">
<tbody> <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['lastx']->value, 'last');
$_smarty_tpl->tpl_vars['last']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['last']->value) {
$_smarty_tpl->tpl_vars['last']->do_else = false;
?>
<td nowrap style= "width:60px;height:10px;font-size:8pt"> <?php echo $_smarty_tpl->tpl_vars['last']->value['tour'];?>
</td>
<td nowrap style="width:120px;height:10px;font-size:8pt"> <?php echo $_smarty_tpl->tpl_vars['last']->value['fahrer'];?>
</td>
<td nowrap style="width:100px;height:10px;font-size:8pt"> <?php echo $_smarty_tpl->tpl_vars['last']->value['kennz'];?>
</td>
</tbody> <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</section>
</div>
</aside>
<!-- Sidebar End -->
<?php echo '<script'; ?>
> var tagheute = '<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['datum_unix']->value,"%Y-%m-%d");?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
function save_car(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=prundschau&a=car_save",
dataType: 'json',
data: 'tourID=' + tourID + "&car=" + $("#car_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
function save_user(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=prundschau&a=user_save",
dataType: 'json',
data: 'tourID=' + tourID + "&user=" + $("#user_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
<?php echo '</script'; ?>
>
<?php }
}

View file

@ -0,0 +1,553 @@
<?php
/* Smarty version 4.3.0, created on 2024-03-28 16:53:53
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_edit_sb.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66059291be40e1_25493591',
'has_nocache_code' => false,
'file_dependency' =>
array (
'cd418886ca1a83fb3e6bcc28ba5e69ed1e6b155f' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_edit_sb.tpl',
1 => 1710318935,
2 => 'file',
),
),
'includes' =>
array (
'file:tpl/ajax/_ma_subm.tpl' => 1,
),
),false)) {
function content_66059291be40e1_25493591 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_subTemplateRender('file:tpl/ajax/_ma_subm.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<?php if ($_smarty_tpl->tpl_vars['j1']->value['s'] != 0) {?>
<div class="max">
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px;color: #115270"></i>
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px"><?php echo $_smarty_tpl->tpl_vars['j1']->value['j'];?>
</p></br>
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['j1']->value['a'], 'x1');
$_smarty_tpl->tpl_vars['x1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['x1']->value) {
$_smarty_tpl->tpl_vars['x1']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 9 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 15 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 77) {?>
<tr style="line-height:18px;color: #ff0000"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 26 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 27 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 31) {?>
<tr style="line-height:18px;color: #00D841"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } else { ?> <tr style="line-height:18px"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php }?>
<?php $_prefixVariable1 = 4;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable1;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable1) {?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 24) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php } else {
$_prefixVariable2 = 15;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable2;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable2) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable3 = 26;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable3;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable3) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable4 = 27;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable4;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable4) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable5 = 31;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable5;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable5) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable6 = 77;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable6;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable6) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable7 = 9;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable7;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable7) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 6) {?> <td align="right" width="80px" style="color: #FF8000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php }}}}}}}?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</body>
</table>
</div>
<?php }
if ($_smarty_tpl->tpl_vars['j2']->value['s'] != 0) {?>
<div class="max">
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px"></i>
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px"><?php echo $_smarty_tpl->tpl_vars['j2']->value['j'];?>
</p></br>
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['j2']->value['a'], 'x1');
$_smarty_tpl->tpl_vars['x1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['x1']->value) {
$_smarty_tpl->tpl_vars['x1']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 9 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 15 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 77) {?>
<tr style="line-height:18px;color: #ff0000"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 26 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 27 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 31) {?>
<tr style="line-height:18px;color: #00D841"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } else { ?> <tr style="line-height:18px"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php }?>
<?php $_prefixVariable8 = 4;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable8;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable8) {?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 24) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php } else {
$_prefixVariable9 = 15;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable9;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable9) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable10 = 26;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable10;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable10) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable11 = 27;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable11;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable11) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable12 = 31;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable12;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable12) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable13 = 77;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable13;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable14 = 9;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable14;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable14) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 6) {?> <td align="right" width="80px" style="color: #FF8000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php }}}}}}}?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</body>
</table>
</div>
<?php }
if ($_smarty_tpl->tpl_vars['j3']->value['s'] != 0) {?>
<div class="max">
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px"></i>
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px"><?php echo $_smarty_tpl->tpl_vars['j3']->value['j'];?>
</p></br>
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['j3']->value['a'], 'x1');
$_smarty_tpl->tpl_vars['x1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['x1']->value) {
$_smarty_tpl->tpl_vars['x1']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 9 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 15 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 77) {?>
<tr style="line-height:18px;color: #ff0000"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 26 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 27 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 31) {?>
<tr style="line-height:18px;color: #00D841"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } else { ?> <tr style="line-height:18px"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php }?>
<?php $_prefixVariable15 = 4;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable15;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable15) {?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 24) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php } else {
$_prefixVariable16 = 15;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable16;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable16) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable17 = 26;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable17;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable17) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable18 = 27;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable18;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable18) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable19 = 31;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable19;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable19) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable20 = 77;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable20;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable20) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable21 = 9;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable21;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable21) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 6) {?> <td align="right" width="80px" style="color: #FF8000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php }}}}}}}?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</body>
</table>
</div>
<?php }
if ($_smarty_tpl->tpl_vars['j4']->value['s'] != 0) {?>
<div class="max">
<i class="fad fa-calendar-day fa-2x fa-pull-left" style="width:110px"></i>
<p style="color: turquoise;margin-top: -4px;margin-bottom: : -14px;font-size: 26px"><?php echo $_smarty_tpl->tpl_vars['j4']->value['j'];?>
</p></br>
<table class="no-style full" style="color: #aaaaaa;margin-top: -40px;line-height: 2">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['j4']->value['a'], 'x1');
$_smarty_tpl->tpl_vars['x1']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['x1']->value) {
$_smarty_tpl->tpl_vars['x1']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 9 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 15 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 77) {?>
<tr style="line-height:18px;color: #ff0000"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['grund'] == 26 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 27 || $_smarty_tpl->tpl_vars['x1']->value['grund'] == 31) {?>
<tr style="line-height:18px;color: #00D841"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php } else { ?> <tr style="line-height:18px"> <td width="160px"><?php echo $_smarty_tpl->tpl_vars['x1']->value['name'];?>
</td>
<?php }?>
<?php $_prefixVariable22 = 4;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable22;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable22) {?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 24) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php } else {
$_prefixVariable23 = 15;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable23;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable23) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable24 = 26;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable24;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable24) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable25 = 27;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable25;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable25) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable26 = 31;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable26;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable26) {?> <td align="right" width="80px" style="color: #00D841"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable27 = 77;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable27;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable27) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else {
$_prefixVariable28 = 9;
$_tmp_array = isset($_smarty_tpl->tpl_vars['x1']) ? $_smarty_tpl->tpl_vars['x1']->value : array();
if (!(is_array($_tmp_array) || $_tmp_array instanceof ArrayAccess)) {
settype($_tmp_array, 'array');
}
$_tmp_array['grund'] = $_prefixVariable28;
$_smarty_tpl->_assignInScope('x1', $_tmp_array);
if ($_prefixVariable28) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 13) {?> <td align="right" width="80px" style="color: #ff0000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } elseif ($_smarty_tpl->tpl_vars['x1']->value['menge'] > 6) {?> <td align="right" width="80px" style="color: #FF8000"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php } else { ?> <td align="right" width="80px" style="color: #aaaaaa"><?php echo $_smarty_tpl->tpl_vars['x1']->value['menge'];?>
Tage</td>
<?php }?>
<?php }}}}}}}?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</body>
</table>
</div>
<?php }?>
<div class="max">
<table class="no-style full" style="color: #aaaaaa;line-height: 2">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['klog']->value, 'k');
$_smarty_tpl->tpl_vars['k']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['k']->value) {
$_smarty_tpl->tpl_vars['k']->do_else = false;
?>
<tr style="line-height:18px;color: #aaa">
<td width="160px"><?php echo $_smarty_tpl->tpl_vars['k']->value['zeit'];?>
Uhr</td>
<td align="right" width="80px" style="color: #808080">~<?php echo $_smarty_tpl->tpl_vars['k']->value['diff'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</body>
</table>
</div>
<style>
.max {
background: #222;
color: turquoise;
padding: 3px;
border: 1px solid turquoise;
font-size: 14px;
border-radius:6px;
margin-top: -12px;
margin-bottom: 20px;
min-height: 50px;
}
.masb {
background: #222222;
color: turquoise;
padding: 5px;
font-size: 13px;
min-height: 115px;
max-height: 615px;
border: 1px solid turquoise;
border-radius: 6px;
margin-left: -5px;
width: 100%;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
</style>
<?php }
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,556 @@
<?php
/* Smarty version 4.3.0, created on 2024-03-29 12:05:59
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/itour.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_6606a097ad1b74_10971990',
'has_nocache_code' => false,
'file_dependency' =>
array (
'ce36fa2dcd2936118751a054b25566799a9f66bb' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/itour.tpl',
1 => 1704558460,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6606a097ad1b74_10971990 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
?>
<section class="col-md-8">
<div class="row sortable">
<!-- Main Section -- mittlere Spalte -->
<div class="col-md-12">
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 0) {?>
<?php if ($_smarty_tpl->tpl_vars['nochmenge']->value != 0) {?>
<div class="panel panel-info">
<div class="panel-heading" style="background-color:green;color: white">Touren werden angelegt !!!</div>
<div class="panel-body">
<i class="fas fa-spinner fa-pulse fa-2x" style="color: red"></i>
<span style="font-size: 14px;color: darkred">&nbsp;&nbsp;&nbsp;Bitte warten...</br></span>
<span id="i_tour_a" style="font-size: 20px;color: darkred"> Es sind noch <?php echo $_smarty_tpl->tpl_vars['nochmenge']->value;?>
Tour(en) in der Warteschleife zum Anlegen. !!!</span>
</div>
<?php } else { ?>
<div class="panel panel-info">
<div class="panel-heading" style="background-color:orangered;color: white">alle aktiven Touren für den Monat <?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
im Jahr <?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
anlegen.</div>
<div class="panel-body">
<table class="table table-condensed">
<thead style="background-color:yellow">
<th style="width:100px;font-size:8pt" align="left">Tour</th>
<th style="width:190px;font-size:8pt" align="left">Tourbez.</th>
<th style="width:220px;font-size:8pt" align="center">Stammfahrer</th>
<th style="width:80px;font-size:8pt" align="center">Stammauto</th>
<th style="width:35px;font-size:8pt" align="left">Status</th>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['touraktiv']->value, 'taktiv');
$_smarty_tpl->tpl_vars['taktiv']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['taktiv']->value) {
$_smarty_tpl->tpl_vars['taktiv']->do_else = false;
?>
<td align="left" style="font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['taktiv']->value['tour'];?>
</td>
<td style="font-size:8pt"><?php echo $_smarty_tpl->tpl_vars['taktiv']->value['infotitel'];?>
</td>
<td style="font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['taktiv']->value['name'];?>
</td>
<td style="font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['taktiv']->value['kz'];?>
</td>
<?php if ($_smarty_tpl->tpl_vars['taktiv']->value['ok'] == 1) {?>
<td style="font-size:11pt" align="right"><i class="fad fa-check-square" style="color: green"></i></td>
<?php } else { ?>
<td style="font-size:11pt" align="right"><i class="fad fa-times-square"></i></td>
<?php }?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<?php }?>
<!-- ------------------------------------ Tourenliste -->
<?php } else { ?> <!-- keine Auswahlgetroffen -->
<?php if ($_smarty_tpl->tpl_vars['einzel']->value == 0) {?>
<div class="panel panel-warning">
<div class="panel-heading">Auswahl Touren <?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</div>
<div class="panel-body">
<table class="no-style full">
<thead>
<th style="width:25px;font-size:8pt" align="left">akt.</th>
<th style="width:100px;font-size:8pt" align="left">Tourbez.</th>
<th style="width:190px;font-size:8pt" align="left">Detailanzeige</th>
<th style="width:220px;font-size:8pt" align="center">Stammfahrer</th>
<th style="width:120px;font-size:8pt" align="center">Stammauto</th>
<!--
<th style="width:20px;font-size:8pt" align="left">anl.</th>-->
<th style="width:15px;font-size:8pt" align="left">del.</th>
<th style="width:35px;font-size:8pt" align="left">Status</th>
</thead>
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['toursel']->value, 'tsel');
$_smarty_tpl->tpl_vars['tsel']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tsel']->value) {
$_smarty_tpl->tpl_vars['tsel']->do_else = false;
?>
<td>
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['tsel']->value['id'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['tsel']->value['id'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['tsel']->value['id'];?>
)" <?php if ($_smarty_tpl->tpl_vars['tsel']->value['aktiv'] == 1) {?> checked="checked" <?php }?>>
</label>
</td>
<td style="width:110px;font-size:12pt" align="left"><a href="?s=itour&wahl=8&tid=<?php echo $_smarty_tpl->tpl_vars['tsel']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" title="Kicke zum ausw&auml;len" ><?php echo $_smarty_tpl->tpl_vars['tsel']->value['tour'];?>
</a></td>
<td style="width:190px;font-size:9pt"><?php echo $_smarty_tpl->tpl_vars['tsel']->value['infotitel'];?>
</td>
<td style="width:220px;font-size:10pt"><center>
<select name="Fahrer[<?php echo $_smarty_tpl->tpl_vars['tsel']->value['id'];?>
]" id="user_<?php echo $_smarty_tpl->tpl_vars['tsel']->value['id'];?>
" style="width:190px;" onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tsel']->value['id'];?>
)" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array']->value, 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allfahrer']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allfahrer']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['tsel']->value['s_fahrer']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<td style="width:120px;font-size:10pt"><center>
<select name="Fahrzeug[<?php echo $_smarty_tpl->tpl_vars['tsel']->value['id'];?>
]" id="car_<?php echo $_smarty_tpl->tpl_vars['tsel']->value['id'];?>
" style="width:100px;" onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['tsel']->value['id'];?>
)" >
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auto_array']->value, 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'selected'=>$_smarty_tpl->tpl_vars['tsel']->value['s_auto']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
</td>
<!--
<td><input type="image" name="add" value="<?php echo $_smarty_tpl->tpl_vars['tsel']->value['id'];?>
"src="template/images/icon/add.png"/></td> -->
<td><input type="image" name="del" value="<?php echo $_smarty_tpl->tpl_vars['tsel']->value['id'];?>
"src="template/images/icon/cross.png"/></td>
<td style="width:40px;font-size:11pt" align="right"><?php echo $_smarty_tpl->tpl_vars['tsel']->value['wert'];?>
x</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<div class="panel-footer">
<a href="http://jb-data.de/index.php?s=itour&tid=<?php echo $_smarty_tpl->tpl_vars['tsel']->value['typ'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&wahl=6" class="btn btn-default">Alle Ausgewählte Touren anlegen.</a>
</form>
</div>
<?php } else { ?>
<!-- ///////////////// einzeltouranzeige -->
<div class="panel panel-warning">
<div class="panel-heading">Einzelanzeige <?php echo $_smarty_tpl->tpl_vars['anzeigetour']->value;?>
für <?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</div>
</div>
</div>
<div class="col-md-2">
<div class="panel panel-primary">
<div class="panel-body" style="height:215px;overflow-y:">
<table class="no-style full">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['etour']->value, 'e_tour');
$_smarty_tpl->tpl_vars['e_tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['e_tour']->value) {
$_smarty_tpl->tpl_vars['e_tour']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['e_tour']->value['wz'] == 1) {?> <!-- ist Montag ???????? -->
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-2">
<div class="panel panel-primary">
<div class="panel-body" style="height:215px;overflow-y:">
<table class="no-style full">
<tbody>
<?php }?>
<tr>
<td style="width:20px;font-size:12pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['e_tour']->value['tid'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['e_tour']->value['tag'];?>
"
onChange="tsave_date('<?php echo $_smarty_tpl->tpl_vars['e_tour']->value['tid'];?>
','<?php echo $_smarty_tpl->tpl_vars['e_tour']->value['tag'];?>
','<?php echo $_smarty_tpl->tpl_vars['e_tour']->value['monat'];?>
','<?php echo $_smarty_tpl->tpl_vars['e_tour']->value['jahr'];?>
','<?php echo $_smarty_tpl->tpl_vars['e_tour']->value['ok'];?>
')" <?php if ($_smarty_tpl->tpl_vars['e_tour']->value['ok'] > 0) {?> checked="checked" <?php }?>>
</label>
</td>
<td <?php if ($_smarty_tpl->tpl_vars['e_tour']->value['ft'] == 1) {?>
bgcolor="#F89737"
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['e_tour']->value['wz'] == 0) {?>bgcolor="#BEBEBE" <?php } else { ?>
bgcolor="#FFFFFF"
<?php }?>
<?php }?>
style="width:20px;font-size:11pt;color:#000000"><?php echo $_smarty_tpl->tpl_vars['e_tour']->value['wt'];?>
</td>
<td <?php if ($_smarty_tpl->tpl_vars['e_tour']->value['ft'] == 1) {?>
bgcolor="#F89737"
<?php } else { ?>
<?php if ($_smarty_tpl->tpl_vars['e_tour']->value['wz'] == 0) {?>bgcolor="#BEBEBE" <?php } else { ?>
bgcolor="#FFFFFF"
<?php }?>
<?php }?>
style="width:70px;font-size:11pt;color:#000000" align="right"><?php echo $_smarty_tpl->tpl_vars['e_tour']->value['tag'];?>
</td>
<!-- <td style="width:300px;font-size:11pt">&nbsp;&nbsp;&nbsp;<?php echo $_smarty_tpl->tpl_vars['e_tour']->value['tour'];?>
</td> -->
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<?php }?>
<!-- ------------------------------------ -->
<?php }?>
</div>
</div>
</section>
<!-- ------------------------------------ -->
<!-- ------------------------------------ -->
<!-- ------------------------------------ -->
<!-- ------------------------------------ -->
<!-- ------------------------------------ -->
<!-- Sidebar -->
<aside class="col-md-4">
<!-- ------------------------------------ Monatswechsel -->
<div id="rightmenu" class="panel panel-default">
<div class="btn-group">
<a class="btn btn-warning btn-md" href="?s=itour&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tid=<?php echo $_smarty_tpl->tpl_vars['anzeige']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-arrow-left" aria-hidden="true"></i>
</a>
<button type="button" class="btn btn-default btn-md"><?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</button>
</a>
<a class="btn btn-warning btn-md" href="?s=itour&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tid=<?php echo $_smarty_tpl->tpl_vars['anzeige']->value;?>
" aria-label="Skip to main navigation">
<i class="fa fa-arrow-right" aria-hidden="true"></i>
</a>
</div>
</div>
<!-- ------------------------------------- alle aktiven anlegen -->
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 0 && $_smarty_tpl->tpl_vars['nochmenge']->value == 0) {?>
<div id="rightmenu" class="panel panel-default" style="background-color: yellow;color: white">
<div class="btn-group">
<a class="btn btn-md" href="?s=itour&wahl=7&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" aria-label="alle anlegen">
<i class="fad fa-edit"></i> Alle aktiven Touren anlegen !!!
</a>
</div>
</div>
<?php }?>
<!-- ------------------------------------- Bereichswahl -->
<div id="rightmenu" class="panel panel-default">
<div class="panel-heading">Typ Bereich</div>
<div class="panel-body">
<table class="no style">
<thead>
<tr>
<th style="width:140px;font-size:8pt" align="left">Tour</th>
<th style="width:220px;font-size:8pt" align="left">Info</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tourenlist']->value, 'tlist');
$_smarty_tpl->tpl_vars['tlist']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tlist']->value) {
$_smarty_tpl->tpl_vars['tlist']->do_else = false;
?>
<tr>
<td style="width:140px;font-size:12pt" align="left">
<a href="?s=itour&tid=<?php echo $_smarty_tpl->tpl_vars['tlist']->value['tid'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
" title="Kicke zum ausw&auml;len"><?php echo $_smarty_tpl->tpl_vars['tlist']->value['tname'];?>
</td>
<td style="width:140px;font-size:10pt" align="left"><?php echo $_smarty_tpl->tpl_vars['tlist']->value['tinfotitel'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<!-- ------------------------------------ Sondertermine -->
<div id="rightmenu" class="panel panel-warning">
<div class="panel-heading">Besonderes <?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</div>
<div class="panel-body">
<table class="no-style full">
<thead>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['datenlist']->value, 'dlist');
$_smarty_tpl->tpl_vars['dlist']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['dlist']->value) {
$_smarty_tpl->tpl_vars['dlist']->do_else = false;
?>
<tr>
<td style="width:90px;font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['dlist']->value['tag'];?>
.<?php echo $_smarty_tpl->tpl_vars['dlist']->value['monat'];?>
.<?php echo $_smarty_tpl->tpl_vars['dlist']->value['jahr'];?>
</td>
<td style="width:160px;font-size:11pt"><?php echo $_smarty_tpl->tpl_vars['dlist']->value['info'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</thead>
</table>
</div>
</div>
</aside>
<!------------------------------------------------>
<?php if ($_smarty_tpl->tpl_vars['nochmenge']->value != 0) {?>
<?php echo '<script'; ?>
>
var refreshId = setInterval(function() {
$.ajax({
type : "POST",
url : 'ajax.php?s=i_tour_a&tpl',
cache : false,
data : {
},
dataType : "html",
success : function(data){
$("#i_tour_a").html(data);
},
})
}, 10000);
<?php echo '</script'; ?>
>
<?php }?>
<!------------------------------------------------>
<?php echo '<script'; ?>
> var jahr = '<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var monat = '<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var tag = '<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
function save_date(id) {
// alert($("#info_"+id).val());
var remember = document.getElementById('info_'+id);
if (remember.checked){
var istC = 1;
}else{
var istC = 0;
}
$.ajax({
type: 'POST',
url: "ajax.php?s=itour_save&a=date_save",
dataType: 'json',
data: 'tour='+id+ "&id="+id+"&istC="+istC,
success: function (data) {
if(data.success == true) {
}
console.log(data)
}
});
}
function tsave_date(tid,tag,monat,jahr) {
// alert($("#info_"+tag).val());
var remember = document.getElementById('info_'+tag);
if (remember.checked){
var istC = 1;
}else{
var istC = 0;
}
$.ajax({
type: 'POST',
url: "ajax.php?s=itour_save&a=tdate_save",
dataType: 'json',
// data: 'tour='+tid + "&tid="+tid + "&istC="+istC + "&tag="+tag +"&monat="+monat+ "&jahr="+jahr,
data: 'tour='+tid + "&tid="+tid + "&istC="+istC + "&tag="+tag +"&monat="+monat+ "&jahr="+jahr,
success: function (data) {
if(data.success == true) {
}
console.log(data)
}
});
}
function save_car(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=itour_save&a=car_save",
dataType: 'json',
data: 'tourID=' + tourID + "&car=" + $("#car_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
function save_user(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=itour_save&a=user_save",
dataType: 'json',
data: 'tourID=' + tourID + "&user=" + $("#user_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});
}
$(document).ready(function(){
$('[data-toggle="popover"]').popover();
});
<?php echo '</script'; ?>
>
<?php }
}

View file

@ -0,0 +1,483 @@
<?php
/* Smarty version 4.3.0, created on 2024-04-05 14:21:08
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/smsserver.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_660fecb47589e4_83393760',
'has_nocache_code' => false,
'file_dependency' =>
array (
'd0fdb61301e73fdf80edff648ba60746b8ca3d74' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/smsserver.tpl',
1 => 1705240209,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_660fecb47589e4_83393760 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<div class="container-fluid" style="background-color:#333333">
<div class="row">
<div class="col-md-2">
<div class="fmenu">
<table class="no-style sortable full">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['mitarbeiterlist_a']->value, 'mal');
$_smarty_tpl->tpl_vars['mal']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['mal']->value) {
$_smarty_tpl->tpl_vars['mal']->do_else = false;
?>
<tr>
<td nowrap="nowrap" style="font-size:10pt;color:#ddd" onclick="window.location='?s=smsserver&id=<?php echo $_smarty_tpl->tpl_vars['mal']->value['id'];?>
'"><?php echo $_smarty_tpl->tpl_vars['mal']->value['name'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
</div>
<!-- ///////////////// Ungelesene Nachrichten -->
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 0) {?>
<?php if ($_smarty_tpl->tpl_vars['notread']->value > 0) {?>
<div class="col-md-10">
<div class="panel" style="border-color: #115270">
<header class="panel-heading" style="background-color:#115270;color: #fff">eingehende SMS-Nachrichten </header>
<div class="panel-body" style="min-height:20px;max-height:600px;overflow-y: scroll;background-color: #222">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['smsnotread']->value, 'smsnr');
$_smarty_tpl->tpl_vars['smsnr']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['smsnr']->value) {
$_smarty_tpl->tpl_vars['smsnr']->do_else = false;
?>
<div class="smsnr">
<table style="width: 100%">
<?php if ($_smarty_tpl->tpl_vars['smsnr']->value['look'] == 1) {?>
<tr style="background-color:darkred;color:#fff;max-height: 4px">
<?php } elseif ($_smarty_tpl->tpl_vars['smsnr']->value['gelesen'] == 1) {?>
<tr style="background-color:#115270;color:#fff;max-height: 4px">
<?php } else { ?>
<tr style="background-color:darkorange;color:#fff;max-height: 4px">
<?php }?>
<td style="width:190px;font-size:10pt"> von: <?php echo $_smarty_tpl->tpl_vars['smsnr']->value['e_name'];?>
</td>
<td align="right" style="width:130px;font-size:9pt"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['smsnr']->value['senddate'],"%d.%m.%y - %H:%M");?>
Uhr </td>
<td class="active" align="right" style="width:130px;font-size:11pt;align:left">
<a class="btn btn-default btn-xs" href="?s=smsserver&lid=<?php echo $_smarty_tpl->tpl_vars['smsnr']->value['messageId'];?>
" onclick="return confirm('M&ouml;chten sie wirklich löschen ?')">
<i class="fa fa-trash" title="Nachricht löschen"></i>
</a>
<?php if ($_smarty_tpl->tpl_vars['smsnr']->value['look'] == 1) {?>
<a class="btn btn-default btn-xs" href="?s=smsserver&zid=<?php echo $_smarty_tpl->tpl_vars['smsnr']->value['messageId'];?>
">
<i class="fa fa-lock" title="Nachricht schützen" style="color:darkred"></i>
</a>
<?php } else { ?>
<a class="btn btn-default btn-xs" href="?s=smsserver&sid=<?php echo $_smarty_tpl->tpl_vars['smsnr']->value['messageId'];?>
">
<i class="fa fa-unlock" title="Nachricht schützen"></i>
</a>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['smsnr']->value['gelesen'] == 1) {?>
<a class="btn btn-default btn-xs" href="?s=smsserver&pid=<?php echo $_smarty_tpl->tpl_vars['smsnr']->value['messageId'];?>
" onclick="return confirm('M&ouml;chten sie wirklich als NEU markieren?')">
<i class="fa fa-check" title="als NEU markieren" style="color:green"></i>
</a>
<?php } else { ?>
<a class="btn btn-default btn-xs" href="?s=smsserver&rid=<?php echo $_smarty_tpl->tpl_vars['smsnr']->value['messageId'];?>
" onclick="return confirm('M&ouml;chten sie wirklich als gelesen markieren?')">
<i class="fa fa-check" title="als gelesen markieren"></i>
</a>
<?php }?>
</td>
</tr>
</table>
<span><?php echo $_smarty_tpl->tpl_vars['smsnr']->value['text'];?>
</span>
</div>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div>
</div>
</div>
<?php }?>
<!-- ///////////////// Ungelesene Nachrichten -->
<div class="col-md-5">
<div class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">noch zu senden ...</span></h2></header>
<div class="panel-body" style="min-height:20px;max-height:600px;overflow-y: scroll;">
<table class="table table-success">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['smsnotsend']->value, 'smsnr');
$_smarty_tpl->tpl_vars['smsnr']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['smsnr']->value) {
$_smarty_tpl->tpl_vars['smsnr']->do_else = false;
?>
<tr>
<td class="warning" nowrap="nowrap" style="width:130px;font-size:8pt">An: <?php echo $_smarty_tpl->tpl_vars['smsnr']->value['e_name'];?>
</td>
</tr>
<tr>
<td class="active" align="left" style="font-size:8pt;align:left"><?php echo $_smarty_tpl->tpl_vars['smsnr']->value['text'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-5">
<div class="panel panel-danger">
<header class="panel-heading"><h2 class="panel-title">Fehler beim senden ...</span></h2></header>
<div class="panel-body" style="min-height:20px;max-height:600px;overflow-y: scroll;">
<table class="table table-success">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sms_status']->value, 'sms_stat');
$_smarty_tpl->tpl_vars['sms_stat']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['sms_stat']->value) {
$_smarty_tpl->tpl_vars['sms_stat']->do_else = false;
?>
<tr>
<td class="danger" nowrap="nowrap" style="width:130px;font-size:8pt">An: <?php echo $_smarty_tpl->tpl_vars['sms_stat']->value['e_name'];?>
</td>
</tr>
<tr>
<td class="active" align="left" style="font-size:8pt;align:left"><?php echo $_smarty_tpl->tpl_vars['sms_stat']->value['text'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- ///////////////// rechte seite -->
<?php }?>
<!-- /// rechte seite sms eingabe anzeigen-->
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 2) {?>
<div class="col-md-10">
<div class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title"><?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
anrufen.</span></h2></header>
<div class="panel-body">
<table>
<tr><td style="width:500px;font-size:16pt">Anruf wird hergestellt</span></a></td></tr>
</table>
</div>
</div>
</div>
<div class="col-md-7">
<div class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">SMS an <?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
</span></h2></header>
<div class="panel-body">
<form action="" method="post">
<table>
<tr> </tr>
<tr>
<td><textarea name="text" rows="7" cols="75"></textarea></td>
</tr><tr>
<td><strong>eine SMS = 150 Zeichen !!!!!! maximal 450 Zeichen (3xSMS)</strong></td>
<tr><input type="hidden" name="nummer" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['handy'];?>
"/> </tr>
<tr></tr>
</table>
<input type="submit" name="testsave" value="SMS senden" >
</form>
</div>
</div>
</div>
<div class="col-md-2">
<div class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title"><?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
</span></h2></header>
<div class="panel-body">
<table>
<tr>
<td style="width:99px;font-size:98pt"><a href="?s=smsserver&adress=<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" onclick="return confirm('M&ouml;chten sie wirklich anrufen ?')"><span class="fa fa-phone-square fa-6"></span></a></td></tr>
</table>
</div>
</div>
</div>
<?php }?>
<!-- ///////////////////////////////// komplertt nach mitarbeiter -->
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value == 1) {?>
<div class="col-md-10">
<div class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">SMS an <?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
</span></h2></header>
<div class="panel-body">
<form action="" method="post">
<table>
<tr>
<td>
<input type="text" style="width:600px;" name="text" placeholder="SMS-Text">
</td>
<td>
<input type="hidden" name="nummer" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['handy'];?>
"/>
<input type="hidden" name="mid" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
"/>
<input type="submit" name="sendcms" value="SMS senden" >
</td>
<td style="align:right">
<a href="?s=m_tel&adress=<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" onclick="return confirm('M&ouml;chten sie wirklich anrufen ?')">
<span class="fa fa-phone-square fa-2x"></span></a>
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
<div class="col-md-10">
<div class="panel panel-default">
<header class="panel-heading"><h2 class="panel-title">SMS-Archiv <?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
</span></h2></header>
<div class="panel-body" style="min-height:20px;max-height:600px;overflow-y: scroll;">
<table class="table table-condensed">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sms_data']->value, 'smsdata');
$_smarty_tpl->tpl_vars['smsdata']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['smsdata']->value) {
$_smarty_tpl->tpl_vars['smsdata']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['smsdata']->value['incoming'] == 1) {?>
<tr>
<td class="success" nowrap="nowrap" style="font-size:10pt;align:right">von: <?php echo $_smarty_tpl->tpl_vars['smsdata']->value['e_name'];?>
</td>
<td class="active" align="right" style="width:130px;font-size:11pt;align:left">
<a class="btn btn-default btn-xs" href="?s=smsserver&lid=<?php echo $_smarty_tpl->tpl_vars['smsdata']->value['messageId'];?>
" onclick="return confirm('M&ouml;chten sie wirklich löschen ?')">
<i class="fa fa-trash" title="Nachricht löschen"></i>
</a>
<?php if ($_smarty_tpl->tpl_vars['smsdata']->value['look'] == 1) {?>
<a class="btn btn-default btn-xs" href="?s=smsserver&zid=<?php echo $_smarty_tpl->tpl_vars['smsdata']->value['messageId'];?>
&id=<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
">
<i class="fa fa-lock" title="Nachricht freigeben"></i>
</a>
<?php } else { ?>
<a class="btn btn-default btn-xs" href="?s=smsserver&sid=<?php echo $_smarty_tpl->tpl_vars['smsdata']->value['messageId'];?>
&id=<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
">
<i class="fa fa-unlock" title="Nachricht schützen"></i>
</a>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['smsdata']->value['read'] == 1) {?>
<a class="btn btn-default btn-xs" href="?s=smsserver&rid=<?php echo $_smarty_tpl->tpl_vars['smsdata']->value['messageId'];?>
" onclick="return confirm('M&ouml;chten sie wirklich als gelesen markieren?')">
<i class="fa fa-check" title="als gelesen markieren"></i>
</a>
<?php }?>
</td>
</tr>
<tr>
<td class="active" align="left" style="font-size:10pt;align:left"><?php echo $_smarty_tpl->tpl_vars['smsdata']->value['text'];?>
</td>
<td class="active" nowrap="nowrap" style="width:130px;font-size:9pt"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['smsdata']->value['senddate'],"%d.%m.%y - %H:%M");?>
Uhr </td>
</tr>
<?php } else { ?>
<tr>
<td class="info" nowrap="nowrap" style="font-size:8pt">An: <?php echo $_smarty_tpl->tpl_vars['smsdata']->value['e_name'];?>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
versendet von <?php echo $_smarty_tpl->tpl_vars['smsdata']->value['von'];?>
</td>
<td class="active" align="right" style="width:130px;font-size:10pt;align:left">
<?php if ($_smarty_tpl->tpl_vars['smsdata']->value['status'] == 1) {?>
<i class="fa fa-spinner fa-pulse fa-1x" title="versendet, wartet auf Bericht"></i></a>
<?php } elseif ($_smarty_tpl->tpl_vars['smsdata']->value['status'] == 2) {?>
<i class="fa fa-check-square-o fa-1x" title="zugestellt <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['smsdata']->value['statusdate'],"%d.%m.%y - %H:%M");?>
Uhr "></i>
<?php } elseif ($_smarty_tpl->tpl_vars['smsdata']->value['status'] == 3) {?>
<i class="fa fa-exclamation-triangle" title="MSG. unzustellbar"></i></a>
<?php } elseif ($_smarty_tpl->tpl_vars['smsdata']->value['status'] == 4) {?>
<i class="fa fa-exclamation-triangle" title="MSG. unzustellbar"></i></a>
<?php } elseif ($_smarty_tpl->tpl_vars['smsdata']->value['status'] == 8) {?>
<i class="fa fa-share-square-o fa-1x" title="MSG. versendet"></i></a>
<?php } elseif ($_smarty_tpl->tpl_vars['smsdata']->value['status'] == 20) {?>
<i class="fa fa-clock-o fa-1x" title="wartet auf senden."></i></a>
<?php }?>
<a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
<a class="btn btn-default btn-xs" href="?s=smsserver&lid=<?php echo $_smarty_tpl->tpl_vars['smsdata']->value['messageId'];?>
&id=<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
" onclick="return confirm('M&ouml;chten sie wirklich löschen ?')">
<i class="fa fa-trash" title="Nachricht löschen"></i>
</a>
<?php if ($_smarty_tpl->tpl_vars['smsdata']->value['look'] == 1) {?>
<a class="btn btn-default btn-xs" href="?s=smsserver&zid=<?php echo $_smarty_tpl->tpl_vars['smsdata']->value['messageId'];?>
&id=<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
">
<i class="fa fa-lock" title="Nachricht freigeben"></i>
</a>
<?php } else { ?>
<a class="btn btn-default btn-xs" href="?s=smsserver&sid=<?php echo $_smarty_tpl->tpl_vars['smsdata']->value['messageId'];?>
&id=<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['id'];?>
">
<i class="fa fa-unlock" title="Nachricht schützen"></i>
</a>
<?php }?>
</td>
</tr>
<tr>
<td class="active" align="left" style="font-size:10pt;align:left"><?php echo $_smarty_tpl->tpl_vars['smsdata']->value['text'];?>
</td>
<td class="active" nowrap="nowrap" style="width:130px;font-size:9pt"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['smsdata']->value['senddate'],"%d.%m.%y - %H:%M");?>
Uhr </td>
</tr>
<?php }?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- ///////////////////////////////// -->
<!--
<div class="col-md-10">
<div class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">SMS-Archiv <?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
</span></h2></header>
<div class="panel-body" style="height:755px;overflow-y: scroll;">
<table class="table table-striped table-bordered">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sms_data']->value, 'smsdata');
$_smarty_tpl->tpl_vars['smsdata']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['smsdata']->value) {
$_smarty_tpl->tpl_vars['smsdata']->do_else = false;
?>
<tr>
<td nowrap="nowrap" style="font-size:8pt"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['smsdata']->value['logtime'],"%d.%m.%y - %H:%M");?>
Uhr - an: <?php echo $_smarty_tpl->tpl_vars['smsdata']->value['e_name'];?>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
versendet von <?php echo $_smarty_tpl->tpl_vars['smsdata']->value['von'];?>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
(über Gateway von <?php echo $_smarty_tpl->tpl_vars['smsdata']->value['sender'];?>
)</span>
</td>
<td nowrap="nowrap" style="font-size:8pt;align:right"><?php echo $_smarty_tpl->tpl_vars['smsdata']->value['messageId'];?>
</span>
</td>
<td style="font-size:11pt;align:left">
<strong>&nbsp;</strong>
</td>
</tr>
<tr>
<td style="font-size:11pt;align:left">
<strong><?php echo $_smarty_tpl->tpl_vars['smsdata']->value['text'];?>
</strong>
</td>
<?php if ($_smarty_tpl->tpl_vars['smsdata']->value['status'] == 2) {?>
<td style="font-size:12pt">
<span class="fa fa-check-square-o"></span>
<span class="fa fa-check-square-o"></span>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['smsdata']->value['status'] == 1) {?>
<td style="font-size:12pt">
<span class="fa fa fa-share-square-o"></span>
<span class="fa fa-spinner fa-pulse"></span>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['smsdata']->value['status'] == 8) {?>
<td style="font-size:12pt">
<span class="fa fa fa-share-square-o"></span>
<span class="fa fa-question-circle-o"></span>
</td>
<?php } else { ?>
<td style="font-size:12pt">
<span class="fa fa-question-circle-o"></span>
<span class="fa fa-question-circle-o"></span>
</td>
<?php }?>
<td style="font-size:11pt;align:left">
<strong>&nbsp;</strong>
</td>
</tr>
</tbody>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
</div>
</div>
-->
<?php }?>
</div>
</div>
<style>
.fmenu {
background: #222222;
color: gray;
padding: 5px;
min-height: 10px;
max-height: auto;
border: 1px solid #115270;
border-radius: 4px;
margin: 2px;
}
.smsnr {
background: #222222;
color: #fff;
padding: 5px;
min-height: 10px;
max-height: auto;
border: 1px solid #115270;
border-radius: 4px;
margin: 2px;
}
</style>
<?php }
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,166 @@
<?php
/* Smarty version 4.3.0, created on 2025-07-01 22:30:19
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ifaz.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_6864455b0769f0_71166039',
'has_nocache_code' => false,
'file_dependency' =>
array (
'ddb7e9a3786d243c2658123f468b49033d1da1a8' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ifaz.tpl',
1 => 1694432196,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6864455b0769f0_71166039 (Smarty_Internal_Template $_smarty_tpl) {
?><b><i><span style='font-size:16pt;line-height:115%;
color:#4F81BD'>Anzeige w&auml;hlen: </span></i></b>&#160;&#160;&#160;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
<b><i><span style='font-size:10pt;line-height:115%; color:#4F81BD'><a class="button-blue" href="?s=ifaz&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
">&laquo;</a> &#160;&#160;<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
.KW/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&#160;&#160;
<a class="button-blue" href="?s=ifaz&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
">&raquo;</a></span></i></b>
<?php if ($_smarty_tpl->tpl_vars['id']->value > 0) {?>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a class="button button-orange" href="?s=list_faz&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&tid=<?php echo $_smarty_tpl->tpl_vars['anzeige']->value;?>
">PDF/Tour</a>
<?php } else { ?>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <a class="button button-blue" href="?s=list_faz_gesamt&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&tid=<?php echo $_smarty_tpl->tpl_vars['anzeige']->value;?>
" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')">PDF/komplett</a>
<?php }?>
</p>
<!-- ***** Tourenlisten linke Seite ***** -->
<section id="content0">
<div class="wrapper"> <!-- Main Section -- linke Spalte -->
<section class="grid_8 first top">
<!-- <div class="columns">-->
<div class="column grid_1 first">
<div class="widget collapsible">
<header class="current"><h2><h2>FAZ-Tour Auswahl</h2></header>
<section>
<table class="no-style full">
<thead>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tourenlist15']->value, 'tourenlist');
$_smarty_tpl->tpl_vars['tourenlist']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tourenlist']->value) {
$_smarty_tpl->tpl_vars['tourenlist']->do_else = false;
?>
<tr>
<td><a href="?s=ifaz&id=<?php echo $_smarty_tpl->tpl_vars['tourenlist']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
" title="Kicke zum ausw&auml;len" ><?php echo $_smarty_tpl->tpl_vars['tourenlist']->value['tour'];?>
</a></td>
<!-- <td><?php echo $_smarty_tpl->tpl_vars['tourenlist']->value['infotitel'];?>
</td> -->
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</thead>
</table>
</section>
</div>
</div>
<!-- rechte seite -->
<div class="column grid_7 last">
<div class="widget collapsible">
<header class="current"><h2>FAZ <?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
.<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
.<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</h2></header>
<section>
<table class="no-style full">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['faz_tour']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<tr>
<td style="width:80px"><b><?php echo $_smarty_tpl->tpl_vars['tour']->value['tag'];?>
.<?php echo $_smarty_tpl->tpl_vars['tour']->value['monat'];?>
.<?php echo $_smarty_tpl->tpl_vars['tour']->value['jahr'];?>
</td>
<td style="width:280px"><b><?php echo $_smarty_tpl->tpl_vars['tour']->value['name'];?>
</td>
<!-- <td style="width:120px"><b><?php echo $_smarty_tpl->tpl_vars['tour']->value['name2'];?>
</td>-->
<td style="width:270px"><b><?php echo $_smarty_tpl->tpl_vars['tour']->value['name3'];?>
</td>
</tr>
<tr>
<td style="width:80px"><b> </td>
<td style="width:280px"><b><?php echo $_smarty_tpl->tpl_vars['tour']->value['strasse'];?>
<?php echo $_smarty_tpl->tpl_vars['tour']->value['hnr'];?>
<?php echo $_smarty_tpl->tpl_vars['tour']->value['hnrz'];?>
</td>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['pause'] > 0) {?>
<td style="width:90px"><b>Abo: <?php echo $_smarty_tpl->tpl_vars['tour']->value['abo'];?>
</td>
<td style="width:90px"><span style='color:#FF0000'><b>Pause !!</td>
<td style="width:90px"> </td>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['umleitung'] > 0) {?>
<td style="width:90px"><b>Abo: <?php echo $_smarty_tpl->tpl_vars['tour']->value['abo'];?>
</td>
<td style="width:90px"><span style='color:#FF0000'><b>Pause !!</td>
<td style="width:90px"><span style='color:#FF0000'><b>Umleitung !!</td>
<?php } else { ?>
<td style="width:90px"><b>Abo: <?php echo $_smarty_tpl->tpl_vars['tour']->value['abo'];?>
</td>
<td style="width:90px"> </td>
<td style="width:90px"> </td>
<?php }?>
</tr>
<tr>
<td style="width:80px"><b> </td>
<td style="width:280px"><b>0<?php echo $_smarty_tpl->tpl_vars['tour']->value['plz'];?>
<?php echo $_smarty_tpl->tpl_vars['tour']->value['ort'];?>
-<?php echo $_smarty_tpl->tpl_vars['tour']->value['ortsteil'];?>
</td>
<td style="width:200px"><b><?php echo $_smarty_tpl->tpl_vars['tour']->value['bemerkung'];?>
</td>
<td style="width:70px"><b><?php echo $_smarty_tpl->tpl_vars['tour']->value['telefon'];?>
</td>
</tr>
<tr>
<td> <hr style="color: red; height: 1px;" /> </td>
<td> <hr style="color: red; height: 1px;" /> </td>
<td> <hr style="color: red; height: 1px;" /> </td>
<td> <hr style="color: red; height: 1px;" /> </td>
<td> <hr style="color: red; height: 1px;" /> </td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</section>
</div>
<!-- rechte seite -->
</div>
</section>
</div>
</section>
<?php }
}

View file

@ -0,0 +1,53 @@
<?php
/* Smarty version 4.3.0, created on 2024-06-25 15:29:07
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/free_ma.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_667ac623f0dbd4_79239324',
'has_nocache_code' => false,
'file_dependency' =>
array (
'e068cbddb74928599363447d17edcaebd216f8d5' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/free_ma.tpl',
1 => 1719322145,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_667ac623f0dbd4_79239324 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="panel panel-tbox">
<header class="panel-heading" style="font-size: 14pt">
<span style="font-size: 14pt" class="far fa-moon-stars pull-left"></span>
<span style="font-size: 9pt"> &nbsp;&nbsp;verfügbare Mitarbeiter</span>
</header>
<div class="panel-body">
<table class="no-style full" style="margin:-9px;line-height:20px">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['data']->value, 'fc');
$_smarty_tpl->tpl_vars['fc']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['fc']->value) {
$_smarty_tpl->tpl_vars['fc']->do_else = false;
?>
<tr>
<td style="width:25px;font-size:12pt">
<?php if ($_smarty_tpl->tpl_vars['fc']->value['icon'] == 0) {?> <i class="far fa-user-check" style="color: forestgreen"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['fc']->value['icon'] == 1) {?> <i class="far fa-user-tag" style="color: orange"></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['fc']->value['icon'] == 2) {?> <i class="far fa-user-times" style="color: crimson"></i> <?php }?>
</td>
<td nowrap style="width:200px;font-size:10pt;">&nbsp;<strong><?php echo $_smarty_tpl->tpl_vars['fc']->value['name'];?>
</strong></td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
</div>
<?php }
}

View file

@ -0,0 +1,682 @@
<?php
/* Smarty version 4.3.0, created on 2024-04-09 11:47:51
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ptag.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66150ec7b0d020_99499442',
'has_nocache_code' => false,
'file_dependency' =>
array (
'e2f2b456ecbc02bad11371a02cb1da906160a08f' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ptag.tpl',
1 => 1706091648,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66150ec7b0d020_99499442 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),1=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
?>
<!-- <link rel="stylesheet" href="template/css/planung.css">
<link rel="stylesheet" href="../lib/css/select2.min.css"> -->
<?php echo '<script'; ?>
src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.0/js/select2.full.min.js"><?php echo '</script'; ?>
>
<!-- ********** -->
<body style="background-color:#333333">
<!-- ********** -->
<section class="col-md-9" style="background-color:#333333">
<div class="row sortable" style="background-color:#333333">
<!-- Main Section -- mittlere Spalte -->
<div class="col-md-2">
<div class="panel panel-tbox">
<table class="no-style full">
<tbody>
<td nowrap style="align:center;width:320px;font-size:14pt">
<a class="fa fa-arrow-left" href="?s=ptag&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
"></a>
<strong><?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</strong>
<a class="fa fa-arrow-right" href="?s=ptag&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
"></a></td>
</tbody>
</table>
</div>
<div class="panel panel-tbox">
<div class="panel-heading" style="background-color:orange;">
<spawn style="width:5px;height:20px;font-size:16pt;"><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['datum_unix']->value,"%d.%m.%y");?>
</spawn>
</div>
<div class="panel-body">
<table class="table-hover" style="font-size:11pt;line-height: 14pt">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tage']->value, 'kt');
$_smarty_tpl->tpl_vars['kt']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kt']->value) {
$_smarty_tpl->tpl_vars['kt']->do_else = false;
?>
<tr>
<?php if ($_smarty_tpl->tpl_vars['kt']->value['tagt'] == 1) {?>
</tr>
<td> </td>
<td nowrap style="width:5px;font-size:4pt;line-height: 5pt" >&nbsp;</td>
</tr>
<td style="width:5px"> </td>
<td nowrap style="width:70px;font-size:8pt">--- <?php echo $_smarty_tpl->tpl_vars['kt']->value['kw'];?>
.KW ---</td>
<tr>
<?php }?>
<td style="font-size:8pt;color:<?php echo $_smarty_tpl->tpl_vars['kt']->value['color'];?>
" onclick="window.location='?s=ptag&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['wt'];?>
</td>
<td style="font-size:13pt;color:<?php echo $_smarty_tpl->tpl_vars['kt']->value['color'];?>
" onclick="window.location='?s=ptag&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['kt']->value['tag'];?>
&anz=<?php echo $_smarty_tpl->tpl_vars['anz']->value;?>
'"><?php echo $_smarty_tpl->tpl_vars['kt']->value['datum'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- mitte seite -->
<!-- <div id="phelp" style="text-align:center;"></div> -->
<?php if ($_smarty_tpl->tpl_vars['old']->value > 0) {?>
<div class="col-md-10">
<div class="panel-heading" style="background-color:darkred;">
<spawn style='font-size:16pt;color:white;'><strong>Achtung!</strong> Diese Planung liegt in der Vergangenheit...</spawn>
</div>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['fttest']->value != 0) {?>
<div class="col-md-10">
<div class="panel-heading" style="background-color:orangered;">
<spawn style='font-size:16pt;color:white;'><?php echo $_smarty_tpl->tpl_vars['ftrow']->value['tag'];?>
<?php echo $_smarty_tpl->tpl_vars['ftrow']->value['bez'];?>
</spawn>
</div>
</div>
<?php }?>
<div class="col-md-10" >
<div class="panel panel-tagbox">
<div class="panel-body">
<table class="no-style hover">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tag_tour2']->value, 'tour');
$_smarty_tpl->tpl_vars['tour']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tour']->value) {
$_smarty_tpl->tpl_vars['tour']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['test'] == 99) {?>
</tbody>
</table>
</div>
</div>
<div class="panel panel-tagbox">
<div class="panel-body">
<table class="no-style full">
<tbody>
<?php }?>
<tr>
<form action="" method="post">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['aktiv'] == 0) {?>
<td nowrap style="width:110px;color:bisque"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php } else { ?>
<td nowrap style="width:110px;"><?php echo $_smarty_tpl->tpl_vars['tour']->value['tour'];?>
</td>
<?php }?>
<!-- --------------------------- fahrer hinweis -->
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 0) {?> <td style="width:20px"> </td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 1) {?> <td align="left" data-toggle="tooltip" title=<?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
><i class="fad fa-info" style="color:red;font-size: 14px"</i> </td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 2) {?> <td align="left" data-toggle="tooltip" title=<?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
><i class="far fa-info" style="color:orange"></i></td> <?php }?>
<!-- ------------------------------------------
<td style="width:20px"> <?php echo $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'];?>
</td>
-->
<?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == 0) {?>
<td style="width:20px"><i class="fad fa-times-square" style="background-color:red;color:#fff"></i></td>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 0) {?>
<td style="width:20px"><i class="fad fa-info-square" style="background-color:#FF2222;color:#fff"></i></td>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 2) {?>
<td style="width:20px"><i class="fad fa-question-square" style="background-color:#FF9900;color:#fff"></i></td>
<?php } elseif ($_smarty_tpl->tpl_vars['tour']->value['fahrer_ok'] == 3) {?>
<td style="width:20px"><i class="fad fa-check" style="background-color:#99FF00;color:#fff"></i></td>
<?php } else { ?> <td style="width:20px"> </td>
<?php }?>
<!-- --------------------------- fahrer mit anwesenheitsprüfung
<td nowrap id="ma_wahl<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
,<?php echo $_smarty_tpl->tpl_vars['tour']->value['typ'];?>
,<?php echo $_smarty_tpl->tpl_vars['tour']->value['fahrer_id'];?>
" style="width:165px;font-size:10pt;"></td> -->
<!-- --------------------------- fahrer mit anwesenheitsprüfung -->
<td nowrap style="width:195px;">
<!-- --------------------------- -->
<!-- --------------------------- -->
<select name="Fahrer[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
]" id="user_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"
onChange="save_user(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)";>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['fahrer_array']->value, 'allfahrer');
$_smarty_tpl->tpl_vars['allfahrer']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allfahrer']->value) {
$_smarty_tpl->tpl_vars['allfahrer']->do_else = false;
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['id'];?>
" <?php if ($_smarty_tpl->tpl_vars['tour']->value['fahrer_id'] == $_smarty_tpl->tpl_vars['allfahrer']->value['id']) {?> selected="selected"<?php }?> style="color: darkgray"><?php echo $_smarty_tpl->tpl_vars['allfahrer']->value['name'];?>
</option>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
<!-- --------------------------- -->
</select>
</td>
<!-- --------------------------- Fahrzeug -->
<td nowrap style="width:110px;">
<select name="Fahrzeug[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
]" id="car_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" data-width="100px"
<?php if ($_smarty_tpl->tpl_vars['tour']->value['auto_id'] != 0) {?> style="width:90px;border:none;border-bottom: 1px solid "
<?php } else { ?> style="color: red"
<?php }?>
onChange="save_car(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)" data-hight="10px">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['auto_array']->value, 'allauto');
$_smarty_tpl->tpl_vars['allauto']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['allauto']->value) {
$_smarty_tpl->tpl_vars['allauto']->do_else = false;
?>
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['allauto']->value['id'],'selected'=>$_smarty_tpl->tpl_vars['tour']->value['auto_id'],'output'=>$_smarty_tpl->tpl_vars['allauto']->value['kz'],'options2'=>$_smarty_tpl->tpl_vars['allauto']->value['kz']),$_smarty_tpl);?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</select>
<?php echo '</script'; ?>
>
</td>
<!-- --------------------------- Zusatzinfo neu -->
<td nowrap id="ma_gh<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:160px; font-size:8pt;background-color:#222222;color: #dcdcdc">
<input type="text" value="<?php echo $_smarty_tpl->tpl_vars['tour']->value['infotext'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
"
style="width:155px;height:22px;background-color:#222222;border:none;border-bottom: 1px solid #444444" name="infotext[<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
]"
onChange="save_info(<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
)">
</td>
<!--
<td nowrap id="ma_gh<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
" style="width:117px;font-size:7pt;">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 1) {?>
<div style="text-align: right; width:115px;font-size:8pt;color:#FF2222"><?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['stamm_info'] == 2) {?>
<div style="text-align: right; width:115px;font-size:8pt;color:#FF9900"><?php echo $_smarty_tpl->tpl_vars['tour']->value['stamminfo'];?>
</div>
<?php }?>
</td>
-->
<!-- SMS Status !!!!! ------------------------------------- -->
<td nowrap align="center" style="width:30px" id="smscheck<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
">
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 0) {?> <i class='fal fa-comment-alt fa-1x' style='color:gray' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 1) {?> <i class='fas fa-comment-alt-exclamation fa-1x' style='color:orange' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 2) {?> <i class='fas fa-comment-alt-check fa-1x' style='color:green' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 8) {?> <i class='fas fa-comment-alt-dots fa-1x' style='color:gray' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 20) {?> <i class='fas fa-spinner fa-spin fa-1x' style='color:gray' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 3) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 4) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['smsstatus'] == 5) {?> <i class='fas fa-comment-alt-times fa-1x' style='color:red' ></i> <?php }?>
<!-- <i class="fal fa-comment-alt fa-1x" style="color:#999" ></i> -->
</td>
<!-- Infobereich !!!!! ------------------------------------- -->
<td nowrap align="center" style="width:20px">
<i class="fad fa-info fa-1x" style="color:cornflowerblue;font-size: 14px" onclick="tinfo(<?php echo $_smarty_tpl->tpl_vars['tour']->value['tourid'];?>
)"></i>
</td>
<!-- SMS senden Änderung ------------------------------------- -->
<td nowrap align="center" style="width:20px; font-size:13pt;"
onclick="window.location='?s=ptag&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
&sms=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
'";>
<i class="fal fa-sms" style="color:#999" >
</td>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['zusatz'] == 0) {?>
<!-- 2. Tour hinzufügen ------------------------------------- -->
<td nowrap align="center" style="width:30px; font-size:13pt;"
onclick="window.location='?s=ptag&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
&dazu=<?php echo $_smarty_tpl->tpl_vars['tour']->value['tid'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['tour']->value['kw'];?>
'";>
<i class="fal fa-plus" style="color:#999" >
</td>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['zusatz'] == 1) {?>
<!-- 2. Tour löschen ------------------------------------- -->
<td nowrap align="center" style="width:30px; font-size:13pt;"
onclick="window.location='?s=ptag&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&tag=<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
&daweg=<?php echo $_smarty_tpl->tpl_vars['tour']->value['id'];?>
&kw=<?php echo $_smarty_tpl->tpl_vars['tour']->value['kw'];?>
'";>
<i class="fas fa-times" style="color:#444" >
</td>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tour']->value['zusatz'] == 2) {?>
<!-- 2. Tour hinzufügen ------------------------------------- -->
<td nowrap align="center" style="width:30px; font-size:13pt;">
<i class="fal fa-minus" style="color:#444" >
</td>
<?php }?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- -------------------------------------->
</section>
<!-- rechte seite -->
<!-- -------------------------------------->
<!-- Sidebar -->
<aside class="col-md-3" style="background-color:#333333">
<div id="rightmenu" class="panel panel-tbox">
<div class="panel-body">
<table class="no-style full" style="margin:-20px">
<thead>
<tr>
<td nowrap align="center" style="width:150px;font-size: 40pt">
<form action="" method="post">
<input type="hidden" name="smst" value="<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
"/>
<input type="hidden" name="smsm" value="<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
"/>
<input type="hidden" name="smsj" value="<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
"/>
<button type="submit" class="btn btn" id="notifyBtn" value="SMS senden" name="smspower" value="kompl. Liste per SMS senden" onclick="return confirm('M&ouml;chten sie wirklich alle SMS senden ?')" style="background-color: #222222;color:gray">
<i style="font-size: 40pt" class="far fa-sms fa-lg"></i>
</form>
</td>
<td></td>
<!--
<td nowrap align="center" style="width:100px;font-size: 40pt">
<form action="" method="post">
<button type="submit" class="btn btn" id="notifyBtn" name="vortag" value="vortag übernehmen" value="kompl. Liste per SMS senden" onclick="return confirm('M&ouml;chten sie wirklich den Vortag kopieren ??')"style="background-color: #222222;color:gray">
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
</td>
-->
</tr>
</thead>
</table>
</br>
</div>
</div>
<!--
<div id="rightmenu" class="panel panel-default">
<table class="no-style full">
<tbody>
<td>
<form action="" method="post">
<input type="hidden" name="smst" value="<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
"/>
<input type="hidden" name="smsm" value="<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
"/>
<input type="hidden" name="smsj" value="<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
"/>
<input type="submit" id="notifyBtn" value="SMS senden" name="smspower" value="kompl. Liste per SMS senden" onclick="return confirm('M&ouml;chten sie wirklich alle SMS senden ?')">
</form>
</td>
</tbody>
</table>
</div>
-->
<!-- ------------------------------------ -->
<!-- --------------------------------------------------------------------------------- -->
<!-- -------------------------------- History -->
<div id="tinfo"></div>
<!-- -------------------------------- fehlende Mitarbeiter heute / Calender -->
<div id="rightmenu" class="panel panel-tbox">
<header class="panel-heading" style="font-size: 16pt;line-height:80%"><span class="fad fa-calendar-alt pull-left"></span><div class="panel-title">&nbsp;&nbsp;&nbsp;Kalender - <?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
.<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
.<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
</div></header>
<div class="panel-body">
<table class="no-style full" style="margin:-8px">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['maf1']->value, 'maf');
$_smarty_tpl->tpl_vars['maf']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['maf']->value) {
$_smarty_tpl->tpl_vars['maf']->do_else = false;
?>
<tr align="left" >
<td align="center" nowrap style="width:15px;font-size:11pt;">
<?php if ($_smarty_tpl->tpl_vars['maf']->value['na'] != 0) {?>
<i class='<?php echo $_smarty_tpl->tpl_vars['maf']->value['icon'];?>
' style="color:#b50000"></i>
<?php } else { ?>
<i class='<?php echo $_smarty_tpl->tpl_vars['maf']->value['icon'];?>
' style="color: orange"></i>
<?php }?>
</td>
<td align="left" nowrap style="width:130px;font-size:10pt">&nbsp;&nbsp;<?php echo $_smarty_tpl->tpl_vars['maf']->value['fahrer'];?>
</td>
<td align="right" nowrap style="width:100px;font-size:10pt"><?php echo $_smarty_tpl->tpl_vars['maf']->value['bez'];?>
&nbsp;</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<!-- --------------------------------------------------------------------------------- -->
<!-- -------------------------------- verfügbare Mitarbeiter -->
<div id="freema"></div>
<!-- -------------------------------- verfügbare Fahrzeuge -->
<div id="freecar"></div>
<!-- --------------------------------------------------------------------------------- -->
</aside>
<!-- --------------------------------------------------------------------------------- -->
<!-- Sidebar End -->
</body>
<!-- <?php echo '<script'; ?>
> var tagheute = '<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['datum_unix']->value,"%Y-%m-%d");?>
';<?php echo '</script'; ?>
> -->
<?php echo '<script'; ?>
> var tag = '<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var monat = '<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var jahr = '<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
function tinfo(tid) {
$.ajax({
type: 'POST',
url: "ajax.php?s=tinfo&tpl",
dataType: 'html',
data: 'tid=' + tid,
success: function (data) {
$("#tinfo").html(data);
}
});
}
function load_free_cars(tag,monat,jahr) {
$.ajax({
type: 'POST',
url: "ajax.php?s=free_car&tpl",
dataType: 'html',
data: 'tag=' + tag + "&monat=" + monat + "&jahr=" + jahr,
success: function (data) {
$("#freecar").html(data);
}
});
}
function load_free_ma(tag,monat,jahr) {
$.ajax({
type: 'POST',
url: "ajax.php?s=free_ma&tpl",
dataType: 'html',
data: 'tag=' + tag + "&monat=" + monat + "&jahr=" + jahr,
success: function (data) {
$("#freema").html(data);
}
});
}
function save_car(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=pnacht&a=car_save",
dataType: 'json',
data: 'tourID=' + tourID + "&car=" + $("#car_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
load_free_cars(tag,monat,jahr);
}
});
}
function save_info(tourID) {
$.ajax({
type: 'POST',
url: "ajax.php?s=pnacht&a=info_save",
dataType: 'json',
data: 'tourID=' + tourID + "&info=" + $("#info_"+tourID).val(),
success: function (data) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
});
}
function save_user(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=pnacht&a=user_save",
dataType: 'json',
data: 'tourID=' + tourID + "&user=" + $("#user_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
load_free_ma(tag,monat,jahr);
}
});
}
load_free_ma(tag,monat,jahr);
load_free_cars(tag,monat,jahr);
var refreshId = setInterval(function() {
$.ajax({
type : "POST",
url : 'ajax.php?s=pnacht&a=smscheck&tpl',
cache : false,
data: 'tag=' + tag + "&monat=" + monat + "&jahr=" + jahr,
dataType : "json",
success : function (back) {
/*
$.each(back.s, function(t,s) {
console.log(back.s)
$("#smscheck"+back.t).html(back.s);
})
*/
for (var i = 0; i < back.length; i++) {
console.log (back.t[i]);
$("#smscheck"+back.t[i]).html(back.s[i]);
//$("#smscheck"+back.i.tour).html(back.i.status);
}
},
})
}, 60000);
$(function () {
$("select").select2();
});
<?php echo '</script'; ?>
>
<?php }
}

View file

@ -0,0 +1,315 @@
<?php
/* Smarty version 4.3.0, created on 2024-05-30 13:12:44
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/a_ma.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66585f2c3b10e0_79322607',
'has_nocache_code' => false,
'file_dependency' =>
array (
'e2fe14181d4c16e3df336268fd439a7bd1acece6' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/a_ma.tpl',
1 => 1717067561,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66585f2c3b10e0_79322607 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="container-fluid">
<div class="row">
<!-- Main Section -- mittlere Spalte -->
<div class="col-md-3">
<div class="panel" style="border-color:#222222">
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
<spawn style="width:5px;height:2px;font-size:14pt;">Mitarbeiterübersicht
<i style="color: red" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=yes')"
href="?s=a_ma_pdf&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&ma=<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
" aria-label="Settings" class="fa fa-file-pdf-o fa-pull-right fa-fw">
</i>
</spawn>
</div>
<div class="panel-body" style="background-color:#222222">
<table class="table-hover" style="font-size:11pt">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['mitarbeiterlist']->value, 'malist');
$_smarty_tpl->tpl_vars['malist']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['malist']->value) {
$_smarty_tpl->tpl_vars['malist']->do_else = false;
?>
<tr>
<td nowrap style="width:200px;line-height:120%;font-size:12pt;color:#aaa"
onclick="window.location='?s=a_ma&id=<?php echo $_smarty_tpl->tpl_vars['malist']->value['id'];?>
&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
'"> <?php echo $_smarty_tpl->tpl_vars['malist']->value['name'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-6">
<?php if ($_smarty_tpl->tpl_vars['ma_id']->value == 0) {?>
<!-- else - kein MA ausgewählt -->
<div class="panel panel-default" style="border-color:#222222">
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
<spawn style="width:5px;height:2px;font-size:14pt;">Mitarbeiter
</span></div>
<div class="panel-body">
<table class="no-style full">
<thead>
<tr>
<td><span style='font-size:24pt;line-height:100%; color:orange'>Mitarbeiter auswählen</span></a></td>
</tr>
</thead>
</table>
</div>
</div>
<?php } else { ?>
<div class="panel panel-primary" style="border-color:#222222">
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
<spawn style="width:5px;height:2px;font-size:14pt;"><?php echo $_smarty_tpl->tpl_vars['ma_name']->value;?>
(<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
) -- Zeitraum <?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
<a href="?s=list_a_ma_mini&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&ma=<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=no')"><i style="color: orange" class="fa fa-file-pdf-o fa-pull-right fa-fw"></i>
</a>
<a href="?s=list_a_ma&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&ma=<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
" target="_pdf" onClick="javascript:open('', '_pdf', 'height=800,width=600,resizable=no')"><i style="color: red" class="fa fa-file-pdf-o fa-pull-right fa-fw"></i>
</a>
</span>
</div>
</div>
<div class="panel panel-primary" style="border-color:#222222;background-color:#222;color: #ccc">
<div class="panel-body">
<table class="no-style full">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['senddata']->value, 'tdata');
$_smarty_tpl->tpl_vars['tdata']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tdata']->value) {
$_smarty_tpl->tpl_vars['tdata']->do_else = false;
?>
<tr>
<td style='font-size:12pt;width:100px; text-align: right'><?php echo $_smarty_tpl->tpl_vars['tdata']->value['datum'];?>
</td>
<td style='font-size:12pt;width:20px; text-align: right'> </td>
<td style='font-size:12pt;width:200px;<?php if ($_smarty_tpl->tpl_vars['tdata']->value['y_col'] == 2) {?>color:orange<?php }?>'><?php echo $_smarty_tpl->tpl_vars['tdata']->value['typ'];?>
</td>
<td style='font-size:12pt;width:20px; text-align: right'> </td>
<td style='font-size:12pt;width:200px;<?php if ($_smarty_tpl->tpl_vars['tdata']->value['t_col'] == 2) {?>color:orange<?php }?>'><?php echo $_smarty_tpl->tpl_vars['tdata']->value['tname'];?>
</td>
<td style='font-size:12pt;width:200px;<?php if ($_smarty_tpl->tpl_vars['tdata']->value['c_col'] == 2) {?>color:orange<?php }?>'><?php echo $_smarty_tpl->tpl_vars['tdata']->value['auto'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
</div>
<?php }?>
</div>
<aside class="col-md-3">
<div id="rightmenu" class="panel panel-default" style="border-color:#222222">
<div class="panel-heading" style="background-color:#115270;height:45px;color: white">
<table class="no-style full">
<tbody>
<td style="font-size:18px; color: white; text-align: center">
<i class="fad fa-arrow-left" onclick="javascript:location.href='?s=a_ma&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&id=<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
'"></i>
<span>&nbsp;&nbsp;&nbsp;<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
/ <?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&nbsp;&nbsp;&nbsp;</span>
<i class="fad fa-arrow-right" onclick="javascript:location.href='?s=a_ma&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&monat=<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
&id=<?php echo $_smarty_tpl->tpl_vars['ma_id']->value;?>
'"></i>
</td>
</tbody>
</table>
</div>
</div>
</aside>
<aside class="col-md-3">
<?php if ($_smarty_tpl->tpl_vars['kalmenge']->value != 0) {?>
<div id="rightmenu" class="panel panel-default" style="border-color:#222222">
<div class="panel-heading" style="background-color:#115270;height:45px;color: #fff">
<spawn style="width:5px;height:2px;font-size:14pt;">Kalendereinträge</spawn>
</div>
<div class="panel-body" style="background-color:#222222">
<table class="table-hover" style="font-size:11pt;color: #000">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value, 'kinfo');
$_smarty_tpl->tpl_vars['kinfo']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kinfo']->value) {
$_smarty_tpl->tpl_vars['kinfo']->do_else = false;
?>
<tr nowrap <?php if ($_smarty_tpl->tpl_vars['kinfo']->value['farbe'] == 1) {?> style="color: red" <?php } else { ?> style="color: orange" <?php }?>>
<td nowrap width="80px"><?php echo $_smarty_tpl->tpl_vars['kinfo']->value['datum'];?>
</td>
<td nowrap width="200px"><?php echo $_smarty_tpl->tpl_vars['kinfo']->value['bez'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<?php }?>
<div id="rightmenu" class="panel panel-default" style="border-color:#222222">
<div class="panel-heading" style="background-color:#115270;height:45px;color: #fff">
<spawn style="width:5px;height:2px;font-size:14pt;">Summen Zusatz</spawn>
</div>
<div class="panel-body" style="background-color:gray">
<table class="table-hover" style="font-size:11pt;color: #000">
<tbody>
<?php if ($_smarty_tpl->tpl_vars['sasodaten']->value != 0) {?>
<tr>
<td nowrap width="60px">SaSo</td>
<td nowrap width="40px"><?php echo $_smarty_tpl->tpl_vars['sasodaten']->value;?>
x </td>
<td nowrap width="70px"> = <?php echo $_smarty_tpl->tpl_vars['geld']->value;?>
</td>
<td nowrap width="40px"> /<?php echo $_smarty_tpl->tpl_vars['ss_f']->value;?>
</td>
<td nowrap width="60px"> = <?php echo round((float) $_smarty_tpl->tpl_vars['sumh']->value, (int) 1, (int) 1);?>
h </td>
</tr>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['sonderdaten']->value != 0) {?>
<tr>
<td width="60px">Sonder</td>
<td><?php echo $_smarty_tpl->tpl_vars['sonderdaten']->value;?>
x </td>
<td> = <?php echo $_smarty_tpl->tpl_vars['stgeld']->value;?>
</td>
<td> /<?php echo $_smarty_tpl->tpl_vars['st_f']->value;?>
</td>
<td> = <?php echo round((float) $_smarty_tpl->tpl_vars['stumh']->value, (int) 1, (int) 1);?>
h </td>
</tr>
<?php }?>
</tbody>
</table>
</div>
</div>
<?php if ($_smarty_tpl->tpl_vars['sasodaten']->value != 0) {?>
<div id="rightmenu" class="panel panel-default" style="border-color:#333">
<div class="panel-heading" style="background-color:#115270;height:45px;color: #fff">
<spawn style="width:5px;height:2px;font-size:14pt;">SaSo-Einzelnachweis
</spawn>
</div>
<div class="panel-body" style="background-color:gray">
<table class="table-hover" style="font-size:11pt;color: #000">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['sdaten']->value, 'sinfo');
$_smarty_tpl->tpl_vars['sinfo']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['sinfo']->value) {
$_smarty_tpl->tpl_vars['sinfo']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['sinfo']->value['linie'] == 1) {?>
<tr>
<td>---------------</td>
<td>---------------</td>
<td>-------------</td>
</tr>
<?php }?>
<tr>
<td><?php echo $_smarty_tpl->tpl_vars['sinfo']->value['datum'];?>
&nbsp;&nbsp;&nbsp;</td>
<td><?php echo $_smarty_tpl->tpl_vars['sinfo']->value['tname'];?>
&nbsp;&nbsp;&nbsp;</td>
<td><?php echo $_smarty_tpl->tpl_vars['sinfo']->value['summe'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['sonderdaten']->value != 0) {?>
<div id="rightmenu" class="panel panel-default" style="border-color:#222222">
<div class="panel-heading" style="background-color:#115270;height:45px;color: #fff">
<spawn style="width:5px;height:2px;font-size:14pt;">Sonder-Einzelnachweis
</spawn>
</div>
<div class="panel-body" style="background-color:gray">
<table class="table-hover" style="font-size:11pt;color: #000">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['stdaten']->value, 'sinfo');
$_smarty_tpl->tpl_vars['sinfo']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['sinfo']->value) {
$_smarty_tpl->tpl_vars['sinfo']->do_else = false;
?>
<tr>
<td><?php echo $_smarty_tpl->tpl_vars['sinfo']->value['datum'];?>
&nbsp;&nbsp;&nbsp;</td>
<td><?php echo $_smarty_tpl->tpl_vars['sinfo']->value['tname'];?>
&nbsp;&nbsp;&nbsp;</td>
<td><?php echo $_smarty_tpl->tpl_vars['sinfo']->value['summe'];?>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
<?php }?>
</aside>
<?php }
}

View file

@ -0,0 +1,638 @@
<?php
/* Smarty version 4.3.0, created on 2024-04-14 10:17:02
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/kal_urlaub.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_661b90fee21f96_54311855',
'has_nocache_code' => false,
'file_dependency' =>
array (
'e9f003a15caf67960c458cacc81548722fe8aa31' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/kal_urlaub.tpl',
1 => 1710803674,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_661b90fee21f96_54311855 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<!-- MA auswahl -->
<section class="col-md-12">
<div class="row sortable">
<!-- Januar -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 1) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading" padding-left: 0>Jan.</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[1], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- Dienstag -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 2) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">Feb.</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[2], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<!-- <div id="MyDiv"><nobr> -->
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- März -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">März</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[3], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- März -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">April</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[4], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- Mai -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">Mai</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[5], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- März -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">Juni</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[6], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- Juli -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">Juli</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[7], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- 8 -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">Aug.</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[8], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- 9 -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">Sep.</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[9], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- 10 -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">Okt.</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[10], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- 11 -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">Nov.</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[11], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- Dezember -->
<div class="col-md-1">
<?php if ($_smarty_tpl->tpl_vars['heute']->value == 3) {?> <div class="panel panel-warning"> <?php } else { ?> <div class="panel panel-primary"> <?php }?>
<div class="panel-heading">Dez.</div>
<div class="panel-body" style="height:700px;overflow-y: noscroll;">
<table class="no style">
<tbody>
<form action="" method="post">
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kdata']->value[12], 'test');
$_smarty_tpl->tpl_vars['test']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['test']->value) {
$_smarty_tpl->tpl_vars['test']->do_else = false;
?>
<tr>
<!-- ------------------ -->
<td <?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?>bgcolor="#AEAEAE" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?>bgcolor="#F8BE7D" <?php }?>
style="line-height:6px;font-size:10pt">
<label>
<input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" id="info_<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
" onChange="save_date(<?php echo $_smarty_tpl->tpl_vars['test']->value['time'];?>
,<?php echo $_smarty_tpl->tpl_vars['maid']->value;?>
)"
<?php if ($_smarty_tpl->tpl_vars['test']->value['ok'] != 0) {?>checked="checked" <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 1) {?> disabled <?php }?>
<?php if ($_smarty_tpl->tpl_vars['test']->value['ft'] == 2) {?> disabled <?php }?> >
<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['test']->value['time'],"%d");?>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</section>
<!-- Main Section End -->
<!-- Sidebar -->
<!----------------------------------------------
<?php echo '<script'; ?>
> var jahr = '<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var mitarbeiter = '<?php echo $_smarty_tpl->tpl_vars['maID']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
function save_date(time,maID) {
var remember = document.getElementById('info_'+time);
if (remember.checked){
var istC = 1;
}else{
var istC = 0;
}
$.ajax({
type: 'POST',
url: "ajax.php?s=kal_save&a=date_save",
dataType: 'json',
data: 'time=' + time + "&maID="+mitarbeiter+"&istC="+istC,
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 200,
newest_on_top: true,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
console.log(data)
}
});load_free_urlaub(mitarbeiter,jahr)
}
load_free_urlaub(mitarbeiter,jahr);
function load_free_urlaub(maID,jahr) {
$.ajax({
type: 'POST',
url: "ajax.php?s=kal_rest_u&tpl",
dataType: 'html',
data: "maID=" + maID + "&jahr="+jahr,
success: function (data) {
$("#urlaub").html(data);
console.log(data)
}
});
}
<?php echo '</script'; ?>
>
-->
<?php }
}

View file

@ -0,0 +1,96 @@
<?php
/* Smarty version 4.3.0, created on 2024-07-30 14:31:23
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/kalender3.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66a8dd1baff1b6_72890728',
'has_nocache_code' => false,
'file_dependency' =>
array (
'eea5c3934b8e26a919a2a3eae6e933c9fa5712a6' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/kalender3.tpl',
1 => 1704652129,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66a8dd1baff1b6_72890728 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
?>
<div class="col-md-12" style="background-color:#333333; color:#fff">
<form action="" method="post">
<b> Auswahl Monat/Jahr:
<select name="monate" style="width:180px;" >
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['monate']->value['id'],'output'=>$_smarty_tpl->tpl_vars['monate']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['monate']->value['monat']),$_smarty_tpl);?>
</select>
<select name="jahre" style="width:180px;" >
<?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['jahre']->value['id'],'output'=>$_smarty_tpl->tpl_vars['jahre']->value['name'],'selected'=>$_smarty_tpl->tpl_vars['jahre']->value['jahr']),$_smarty_tpl);?>
</select>
<input type="submit" name="auswahl" value="OK" >
aktuell: <?php echo $_smarty_tpl->tpl_vars['name']->value;?>
</form>
</br>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kl_tag']->value, 'kltag');
$_smarty_tpl->tpl_vars['kltag']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kltag']->value) {
$_smarty_tpl->tpl_vars['kltag']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['kltag']->value['tag'] == 1) {?> </br>Kalenderwoche: <?php echo $_smarty_tpl->tpl_vars['kltag']->value['kw'];?>
- <?php echo $_smarty_tpl->tpl_vars['kltag']->value['jahr'];
}?>
<?php if ($_smarty_tpl->tpl_vars['kltag']->value['wt'] == "Montag") {?> </br>Kalenderwoche: <?php echo $_smarty_tpl->tpl_vars['kltag']->value['kw'];?>
- <?php echo $_smarty_tpl->tpl_vars['kltag']->value['jahr'];
}?>
<table class="datatable" >
<thead>
<tr>
<th style="width:1000px; text-align:left" onclick="window.location='?s=kalender_fneu&tag=<?php echo $_smarty_tpl->tpl_vars['kltag']->value['tag'];?>
.<?php echo $_smarty_tpl->tpl_vars['kltag']->value['monat'];?>
.<?php echo $_smarty_tpl->tpl_vars['kltag']->value['jahr'];?>
';"><?php echo $_smarty_tpl->tpl_vars['kltag']->value['tag'];?>
.<?php echo $_smarty_tpl->tpl_vars['kltag']->value['monat'];?>
.<?php echo $_smarty_tpl->tpl_vars['kltag']->value['jahr'];?>
(<?php echo $_smarty_tpl->tpl_vars['kltag']->value['wt'];?>
)</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kltag']->value['data'], 'data');
$_smarty_tpl->tpl_vars['data']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['data']->value) {
$_smarty_tpl->tpl_vars['data']->do_else = false;
?>
<tr> <th style="width:1000px; text-align:left" onclick="window.location='?s=kalender_fedit&id=<?php echo $_smarty_tpl->tpl_vars['data']->value['pid'];?>
';">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="/template/images/icon/<?php echo $_smarty_tpl->tpl_vars['data']->value['icon'];?>
" width="16" height="16"/> <?php echo $_smarty_tpl->tpl_vars['data']->value['kz'];?>
&nbsp; <?php echo $_smarty_tpl->tpl_vars['data']->value['bez'];?>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<?php echo $_smarty_tpl->tpl_vars['data']->value['info'];?>
</th> </tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</div> <?php }
}

View file

@ -0,0 +1,136 @@
<?php
/* Smarty version 4.3.0, created on 2024-04-12 18:07:16
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ue_media.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66195c34f129d7_35400694',
'has_nocache_code' => false,
'file_dependency' =>
array (
'f3c4ce1724cefc0f8f530139c0de8339454de70c' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ue_media.tpl',
1 => 1704629339,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66195c34f129d7_35400694 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="row">
<div class="col-md-4">
<div class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">Fahrer-SMS</span></h2></header>
<div class="panel-body">
<form action="" method="post">
<table class="no-style full">
<thead>
<tr>
<th style="width:20px" align="left"> </th>
<th style="width:99px" align="left">Name</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['mitarbeiterlist_a']->value, 'mitarbeiterlist');
$_smarty_tpl->tpl_vars['mitarbeiterlist']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['mitarbeiterlist']->value) {
$_smarty_tpl->tpl_vars['mitarbeiterlist']->do_else = false;
?>
<tr>
<td nowrap="nowrap">
<input id="login-remember" type="checkbox" name="list[<?php echo $_smarty_tpl->tpl_vars['mitarbeiterlist']->value['id'];?>
][wahl]" value="1" >
</td>
<td nowrap="nowrap">
<?php echo $_smarty_tpl->tpl_vars['mitarbeiterlist']->value['name'];?>
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['mitarbeiterlist']->value['id'];?>
][mid]" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiterlist']->value['id'];?>
"/>
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['mitarbeiterlist']->value['id'];?>
][name]" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiterlist']->value['name'];?>
"/>
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['mitarbeiterlist']->value['id'];?>
][handy]" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiterlist']->value['handy'];?>
"/>
</td>
<!-- <input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['mitarbeiterlist']->value['id'];?>
][handy]" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['handy'];?>
"/>
<input type="hidden" name="list[<?php echo $_smarty_tpl->tpl_vars['mitarbeiterlist']->value['id'];?>
][name]" value="<?php echo $_smarty_tpl->tpl_vars['mitarbeiter']->value['name'];?>
"/>
<td nowrap="nowrap"><?php echo $_smarty_tpl->tpl_vars['mitarbeiterlist']->value['name'];?>
</td> -->
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<!-- ///////////////// rechte seite -->
<div class="col-md-8">
<div class="panel panel-warning">
<header class="panel-heading"><h2 class="panel-title">SMS - Text</span></h2></header>
<div class="panel-body">
<table class="no-style full">
<tbody>
<tr>
<td><textarea name="text" rows="7" cols="80"></textarea></td>
</tr><tr>
<td><strong>eine SMS = 150 Zeichen !!!!!! maximal 450 Zeichen (3xSMS)</strong></td>
<!-- <td><input type="text" style="width:600px;" name="text"><strong><?php echo $_smarty_tpl->tpl_vars['tmptext']->value;?>
</strong></td> </br>
<td><input type="hidden" name="text" value="99999"/> -->
<td><input type="submit" name="testsave" value="SMS senden" ></td>
</tr>
</tbody>
</table>
</div>
</div>
</form>
</div>
<?php if ($_smarty_tpl->tpl_vars['anzeige']->value > 0) {?>
<div class="col-md-8">
<div class="panel panel-success">
<header class="panel-heading"><h2 class="panel-title">SMS - Text</span></h2></header>
<div class="panel-body">
<table class="no-style full">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kontrolle']->value, 'ko');
$_smarty_tpl->tpl_vars['ko']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ko']->value) {
$_smarty_tpl->tpl_vars['ko']->do_else = false;
?>
<tr>
<td><?php echo $_smarty_tpl->tpl_vars['ko']->value['name'];?>
</td>
<td> (<?php echo $_smarty_tpl->tpl_vars['ko']->value['handy'];?>
)</td>
<td> (<?php echo $_smarty_tpl->tpl_vars['ko']->value['text'];?>
)</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
</div>
</div>
<?php }?>
</div> <?php }
}

View file

@ -0,0 +1,64 @@
<?php
/* Smarty version 4.3.0, created on 2024-03-29 12:30:10
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/tinfo.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_6606a64205a086_09402838',
'has_nocache_code' => false,
'file_dependency' =>
array (
'f5c51698380ce827990714b3d235c57cc4e1979e' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/tinfo.tpl',
1 => 1694432193,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6606a64205a086_09402838 (Smarty_Internal_Template $_smarty_tpl) {
?>
<div id="tinfo" class="panel panel-tbox">
<header class="panel-heading" style="font-size: 14pt;line-height:80%"><spawn class="fad fa-clipboard-list-check pull-left"></spawn>
<div class="panel-title">&nbsp;&nbsp;Planungshistory <?php echo $_smarty_tpl->tpl_vars['touranz']->value;?>
</div>
</header>
<div class="panel-body">
<table class="no-style full" style="margin: -10px">
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['data']->value, 'ti');
$_smarty_tpl->tpl_vars['ti']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['ti']->value) {
$_smarty_tpl->tpl_vars['ti']->do_else = false;
?>
<tr align="right">
<td align="left" style="width:290px;font-size:10pt;">&nbsp;<strong><?php echo $_smarty_tpl->tpl_vars['ti']->value['name'];?>
</strong></td>
<?php if ($_smarty_tpl->tpl_vars['ti']->value['menge'] == 1) {?> <td style="width:60px;font-size: 10pt;color:#B50000"> <strong><?php echo $_smarty_tpl->tpl_vars['ti']->value['zahl'];?>
x </strong></td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['ti']->value['menge'] == 2) {?> <td style="width:60px;font-size: 10pt;color: orange"> <strong><?php echo $_smarty_tpl->tpl_vars['ti']->value['zahl'];?>
x </strong></td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['ti']->value['menge'] == 3) {?> <td style="width:60px;font-size: 10pt;color:#3c763d"> <strong><?php echo $_smarty_tpl->tpl_vars['ti']->value['zahl'];?>
x </strong></td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['ti']->value['status'] == 1) {?> <td style="width:70px;font-size: 7pt;color:#3c763d">&nbsp;<strong> <?php echo $_smarty_tpl->tpl_vars['ti']->value['last'];?>
</strong></td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['ti']->value['status'] == 2) {?> <td style="width:70px;font-size: 7pt;color: orange">&nbsp;<strong> <?php echo $_smarty_tpl->tpl_vars['ti']->value['last'];?>
</strong></td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['ti']->value['status'] == 3) {?> <td style="width:70px;font-size: 7pt;color:#B50000">&nbsp;<strong> <?php echo $_smarty_tpl->tpl_vars['ti']->value['last'];?>
</strong></td> <?php }?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</table>
</div>
</div><?php }
}

View file

@ -0,0 +1,465 @@
<?php
/* Smarty version 4.3.0, created on 2024-09-03 20:24:46
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/p_night.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_66d7546eaa0811_62955861',
'has_nocache_code' => false,
'file_dependency' =>
array (
'f7d5e55cf8adf5d12585b395e705f6c79cb245fc' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/p_night.tpl',
1 => 1725387016,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_66d7546eaa0811_62955861 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/var/www/vhosts/jb-data.de/httpdocs/lib/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>
<!-- <link rel="stylesheet" href="template/css/planung.css"> -->
<!-- <link rel="stylesheet" href="../lib/css/select2.min.css"> -->
<!-- <?php echo '<script'; ?>
src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.0/js/select2.full.min.js"><?php echo '</script'; ?>
> -->
<!-- ********** -->
<body style="background-color:#333333">
<!-- ********** -->
<section class="col-md-12" style="background-color:#333333">
<div class="row sortable" style="background-color:#333333">
<!-- Main Section -- linke Spalte -->
<div class="col-md-2">
<div class="panel panel-tbox">
<table class="kalender" style="text-align: center; ">
<td nowrap style="color: orange;width:30px; text-align: center"><a class="fa fa-arrow-left" href="?s=p_night&mw=1&atime=<?php echo $_smarty_tpl->tpl_vars['atime']->value;?>
"></a></td>
<td nowrap style="color: orange;width:200px"><?php echo $_smarty_tpl->tpl_vars['ktime']->value;?>
</td>
<td nowrap style="color: orange;width:30px; text-align: center"><a class="fa fa-arrow-right" href="?s=p_night&mw=2&atime=<?php echo $_smarty_tpl->tpl_vars['atime']->value;?>
"></a></td>
</table>
<table class="kalender" style="align:center;text-align:center;font-size:11pt;">
<thead>
<tr align="center" style="text-align:center;font-size:8pt">
<th align="center" style="width:33px">Mo</th>
<th style="width:33px">Di</th>
<th style="width:33px">Mi</th>
<th style="width:33px">Do</th>
<th style="width:33px">Fr</th>
<th style="width:33px">Sa</th>
<th style="width:33px">So</th>
</tr>
</thead>
<tbody>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['kd']->value, 'kx');
$_smarty_tpl->tpl_vars['kx']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['kx']->value) {
$_smarty_tpl->tpl_vars['kx']->do_else = false;
?>
<?php if ($_smarty_tpl->tpl_vars['kx']->value['int'] == 1) {?> <tr style="align:center;font-size:12pt;"> <?php }?>
<!--
<?php if ($_smarty_tpl->tpl_vars['kx']->value['int'] == 6) {?> <td style="color: orange" onclick="window.location='?s=p_night&ts=<?php echo $_smarty_tpl->tpl_vars['kx']->value['ts'];?>
'"><?php echo $_smarty_tpl->tpl_vars['kx']->value['inx'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['kx']->value['int'] == 7) {?> <td style="color: darkred" onclick="window.location='?s=p_night&ts=<?php echo $_smarty_tpl->tpl_vars['kx']->value['ts'];?>
'"><?php echo $_smarty_tpl->tpl_vars['kx']->value['inx'];?>
</td>
<?php } elseif ($_smarty_tpl->tpl_vars['kx']->value['int'] == 2) {?> <td style="color: cyan" onclick="window.location='?s=p_night&ts=<?php echo $_smarty_tpl->tpl_vars['kx']->value['ts'];?>
'"><?php echo $_smarty_tpl->tpl_vars['kx']->value['inx'];?>
</td> <?php }?>
-->
<?php if ($_smarty_tpl->tpl_vars['kx']->value['int'] == 6) {?> <td style="color: orange" onclick="window.location='?s=p_night&ts=<?php echo $_smarty_tpl->tpl_vars['kx']->value['ts'];?>
'"><?php echo $_smarty_tpl->tpl_vars['kx']->value['inx'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['kx']->value['int'] == 7) {?> <td style="color: darkred" onclick="window.location='?s=p_night&ts=<?php echo $_smarty_tpl->tpl_vars['kx']->value['ts'];?>
'"><?php echo $_smarty_tpl->tpl_vars['kx']->value['inx'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['kx']->value['int'] == 2) {?> <td style="color: cyan" onclick="window.location='?s=p_night&ts=<?php echo $_smarty_tpl->tpl_vars['kx']->value['ts'];?>
'"><?php echo $_smarty_tpl->tpl_vars['kx']->value['inx'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['kx']->value['int'] == 3) {?> <td style="color:gray" onclick="window.location='?s=p_night&ts=<?php echo $_smarty_tpl->tpl_vars['kx']->value['ts'];?>
'"><?php echo $_smarty_tpl->tpl_vars['kx']->value['inx'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['kx']->value['int'] == 4) {?> <td style="color: #000"><?php echo $_smarty_tpl->tpl_vars['kx']->value['inx'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['kx']->value['int'] == 5) {?> <td style="color: darkorange" onclick="window.location='?s=p_night&ts=<?php echo $_smarty_tpl->tpl_vars['kx']->value['ts'];?>
'"><?php echo $_smarty_tpl->tpl_vars['kx']->value['inx'];?>
</td> <?php }?>
<?php if ($_smarty_tpl->tpl_vars['kx']->value['so'] == 1) {?> </tr> <?php }?>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tbody>
</table>
</div>
<!-- --------------------------------------------------------------------------------- -->
<div id="ma_kal"></div>
<!-- -------------------------------- verfügbare Fahrzeuge -->
<div id="freecar"></div>
<!-- -------------------------------- verfügbare MA -->
<div id="freema"></div>
<!-- --------------------------------------------------------------------------------- -->
</div>
<!-- --------------------------------------------------------------------------------- -->
<!-- mitte seite -->
<?php if ($_smarty_tpl->tpl_vars['old']->value > 0) {?>
<div class="col-md-8">
<p nowrap align="center" style='width:100%;font-size:12pt;background-color:darkred;color:#fff;margin-top: -2px'> Achtung! - Diese Planung liegt in der Vergangenheit...<p>
</div>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['fttest']->value != 0) {?>
<div class="col-md-8">
<p nowrap align="center" style='width:100%;font-size:12pt;background-color:orangered;color:#fff'> Feiertag - <?php echo $_smarty_tpl->tpl_vars['ftrow']->value['tag'];?>
<?php echo $_smarty_tpl->tpl_vars['ftrow']->value['bez'];?>
<p>
</div>
<?php }?>
<!-- --------------------------------------------------------------------------------- -->
<div id="p_tdata" >
</div>
</div>
<!-- -------------------------------------->
</section>
<!-- rechte seite -->
<!-- -------------------------------------->
<!-- Sidebar
<aside class="col-md-1" style="background-color:#333333">
<div id="rightmenu" class="panel panel-tbox">
<div class="panel-body">
<table class="no-style full" style="margin:-20px">
<thead>
<tr>
<td nowrap align="center" style="width:150px;font-size: 40pt">
<form action="" method="post">
<input type="hidden" name="smst" value="<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
"/>
<input type="hidden" name="smsm" value="<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
"/>
<input type="hidden" name="smsj" value="<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
"/>
<button type="submit" class="btn btn" id="notifyBtn" value="SMS senden" name="smspower" value="kompl. Liste per SMS senden" onclick="return confirm('M&ouml;chten sie wirklich alle SMS senden ?')" style="background-color: #222222;color:gray">
<i style="font-size: 40pt" class="far fa-sms fa-lg"></i>
</form>
</td>
<td></td>
<td nowrap align="center" style="width:100px;font-size: 40pt">
<form action="" method="post">
<button type="submit" class="btn btn" id="notifyBtn" name="vortag" value="vortag übernehmen" value="kompl. Liste per SMS senden" onclick="return confirm('M&ouml;chten sie wirklich den Vortag kopieren ??')"style="background-color: #222222;color:gray">
<i style="font-size: 40pt" class="far fa-copy fa-lg"></i>
</td>
</tr>
</thead>
</table>
</br>
</div>
</div>
-->
<!--
<div id="rightmenu" class="panel panel-default">
<table class="no-style full">
<tbody>
<td>
<form action="" method="post">
<input type="hidden" name="smst" value="<?php echo $_smarty_tpl->tpl_vars['tag']->value;?>
"/>
<input type="hidden" name="smsm" value="<?php echo $_smarty_tpl->tpl_vars['monat']->value;?>
"/>
<input type="hidden" name="smsj" value="<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
"/>
<input type="submit" id="notifyBtn" value="SMS senden" name="smspower" value="kompl. Liste per SMS senden" onclick="return confirm('M&ouml;chten sie wirklich alle SMS senden ?')">
</form>
</td>
</tbody>
</table>
</div>
-->
<!-- ------------------------------------ -->
<!-- --------------------------------------------------------------------------------- -->
<!-- -------------------------------- History -->
<div id="tinfo"></div>
<!-- -------------------------------- fehlende Mitarbeiter heute / Calender -->
<!-- -------------------------------------------------------- -->
<div id="modal" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content" id="tddmodal"></div>
</div>
</div>
<!-- -------------------------------------------------------- -->
<!-- --------------------------------------------------------------------------------- -->
</aside>
<!-- --------------------------------------------------------------------------------- -->
<!-- Sidebar End -->
</body>
<!-- <?php echo '<script'; ?>
> var tagheute = '<?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['datum_unix']->value,"%Y-%m-%d");?>
';<?php echo '</script'; ?>
> -->
<?php echo '<script'; ?>
> var tag = '<?php echo $_smarty_tpl->tpl_vars['xt']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var monat = '<?php echo $_smarty_tpl->tpl_vars['xm']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var jahr = '<?php echo $_smarty_tpl->tpl_vars['xj']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
> var ts = '<?php echo $_smarty_tpl->tpl_vars['xj']->value;?>
';<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
>
function load_free_cars(tag,monat,jahr) {
$.ajax({
type: 'POST',
url: "ajax.php?s=p_night_free_car&tpl",
dataType: 'html',
data: 'tag=' + tag + "&monat=" + monat + "&jahr=" + jahr,
success: function (data) {
$("#freecar").html(data);
}
});
}
function load_free_ma(tag,monat,jahr) {
$.ajax({
type: 'POST',
url: "ajax.php?s=p_night_free_ma&tpl",
dataType: 'html',
data: 'tag=' + tag + "&monat=" + monat + "&jahr=" + jahr,
success: function (data) {
$("#freema").html(data);
}
});
}
$.ajax({
type : "POST",
url : 'ajax.php?s=p_tdata&tpl',
cache : false,
dataType: 'html',
data: 'tag=' + tag + "&monat=" + monat + "&jahr=" + jahr,
success : function(data){
$("#p_tdata").html(data);
},
});
var refreshId = setInterval(function() {
$('#modal').modal('hide');
$.ajax({
type : "POST",
url : 'ajax.php?s=p_night_tdd&tpl',
cache : false,
dataType: 'html',
data: 'tag=' + tag + "&monat=" + monat + "&jahr=" + jahr,
success : function(data){
$("#p_night_tdd").html(data);
},
})
}, 100000);
function load_ma_kal(tag,monat,jahr) {
$.ajax({
type: 'POST',
url: "ajax.php?s=p_nirght_kal&tpl",
dataType: 'html',
data: 'tag=' + tag + "&monat=" + monat + "&jahr=" + jahr,
success: function (data) {
$("#ma_kal").html(data);
}
});
}
load_free_ma(tag,monat,jahr);
load_free_cars(tag,monat,jahr);
load_ma_kal(tag,monat,jahr);
function tinfo(tid) {
$.ajax({
type: 'POST',
url: "ajax.php?s=tinfo&tpl",
dataType: 'html',
data: 'tid=' + tid,
success: function (data) {
$("#tinfo").html(data);
}
});
}
function save_car(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=pnacht&a=car_save",
dataType: 'json',
data: 'tourID=' + tourID + "&car=" + $("#car_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
load_free_cars(tag,monat,jahr);
}
});
}
function save_info(tourID) {
$.ajax({
type: 'POST',
url: "ajax.php?s=pnacht&a=info_save",
dataType: 'json',
data: 'tourID=' + tourID + "&info=" + $("#info_"+tourID).val(),
success: function (data) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'info',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
});
}
function save_user(tourID) {
//alert($("#car_"+tourID).val());
$.ajax({
type: 'POST',
url: "ajax.php?s=pnacht&a=user_save",
dataType: 'json',
data: 'tourID=' + tourID + "&user=" + $("#user_"+tourID).val(),
success: function (data) {
if(data.success == true) {
$.notify({
icon: 'glyphicon glyphicon-warning-ok',
message: data.lastnote
},{
type: 'success',
showProgressbar: true,
delay: 300,
newest_on_top: false,
element: 'body',
placement: {
from: "bottom",
align: "right"
},
animate: {
enter: 'animated fadeInDown',
exit: 'animated fadeOutUp'
}
});
}
load_free_ma(tag,monat,jahr);
}
});
}
$(document).ready(function(){
$('[data-toggle="ttp"]').ttp();
});
<?php echo '</script'; ?>
>
<?php }
}

View file

@ -0,0 +1,324 @@
<?php
/* Smarty version 4.3.0, created on 2024-05-07 14:31:51
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/inormplan.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_663a1f37a76d53_05680518',
'has_nocache_code' => false,
'file_dependency' =>
array (
'faf3688e62e47ffec27d6adf483ceda2c563c9cc' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/inormplan.tpl',
1 => 1694432200,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_663a1f37a76d53_05680518 (Smarty_Internal_Template $_smarty_tpl) {
?><b><i><span style='font-size:16pt;line-height:115%;
color:#4F81BD'>Anzeige w&auml;hlen: </span></i></b>&#160;&#160;&#160;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
<b><i><span style='font-size:10pt;line-height:115%; color:#4F81BD'><a class="button-blue" href="?s=inormplan&wahl=1&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
">&laquo;</a> &#160;&#160;<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
.KW/<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&#160;&#160;
<a class="button-blue" href="?s=inormplan&wahl=2&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
">&raquo;</a></span></i></b>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <!-- <a class="button button-orange" href="?s=list_normplan&jahr=<?php echo $_smarty_tpl->tpl_vars['jahr']->value;?>
&kw=<?php echo $_smarty_tpl->tpl_vars['kw']->value;?>
&tid=<?php echo $_smarty_tpl->tpl_vars['anzeige']->value;?>
">PDF/Tour</a> -->
</p>
</form>
<table class="datatable full" >
<thead>
<tr>
<th style="width:50px">Tag</th>
<th style="width:50px">Wochentag</th>
<th style="width:50px">LVZ-City</th>
<th style="width:50px">LVZ-BG</th>
<th style="width:50px">LVZ-DEK</th>
<th style="width:50px">LVZ-MTK</th>
<th style="width:50px">Torgauer</th>
<th style="width:50px">OAZ</th>
<th style="width:50px">DAZ</th>
<th style="width:50px">OVZ</th>
<th style="width:50px">DNN</th>
<th style="width:10px">Save</th>
</tr>
</thead>
<tbody>
<tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['np1']->value, 'np');
$_smarty_tpl->tpl_vars['np']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['np']->value) {
$_smarty_tpl->tpl_vars['np']->do_else = false;
?>
<form action="" method="post">
<td><strong><?php echo $_smarty_tpl->tpl_vars['np']->value['tag'];?>
.<?php echo $_smarty_tpl->tpl_vars['np']->value['monat'];?>
.<?php echo $_smarty_tpl->tpl_vars['np']->value['jahr'];?>
</strong></td>
<td><strong>Montag</strong></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_city'];?>
" style="width:50px;" name="lvz_city"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_bgz'];?>
" style="width:50px;" name="np.lvz_bgz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_dek'];?>
" style="width:50px;" name="np.lvz_dek"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_mtk'];?>
" style="width:50px;" name="infotext[<?php echo $_smarty_tpl->tpl_vars['ptour']->value['id'];?>
]"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['tz'];?>
" style="width:50px;" name="tz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['oaz'];?>
" style="width:50px;" name="oaz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['daz'];?>
" style="width:50px;" name="daz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['ovz'];?>
" style="width:50px;" name="ovz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['dnn'];?>
" style="width:50px;" name="dnn"></center></td>
<td><center>
<input type="hidden" name="savetour" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['id'];?>
"/>
<input type="submit" name="savetoursubmit" value="Speichern" >
</center></td>
</form>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tr>
<tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['np2']->value, 'np');
$_smarty_tpl->tpl_vars['np']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['np']->value) {
$_smarty_tpl->tpl_vars['np']->do_else = false;
?>
<form action="" method="post">
<td><strong><?php echo $_smarty_tpl->tpl_vars['np']->value['tag'];?>
.<?php echo $_smarty_tpl->tpl_vars['np']->value['monat'];?>
.<?php echo $_smarty_tpl->tpl_vars['np']->value['jahr'];?>
</strong></td>
<td><strong>Dienstag</strong></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_city'];?>
" style="width:50px;" name="lvz_city"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_bgz'];?>
" style="width:50px;" name="np.lvz_bgz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_dek'];?>
" style="width:50px;" name="np.lvz_dek"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_mtk'];?>
" style="width:50px;" name="infotext[<?php echo $_smarty_tpl->tpl_vars['ptour']->value['id'];?>
]"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['tz'];?>
" style="width:50px;" name="tz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['oaz'];?>
" style="width:50px;" name="oaz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['daz'];?>
" style="width:50px;" name="daz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['ovz'];?>
" style="width:50px;" name="ovz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['dnn'];?>
" style="width:50px;" name="dnn"></center></td>
<td><center>
<input type="hidden" name="savetour" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['id'];?>
"/>
<input type="submit" name="savetoursubmit" value="Speichern" >
</center></td>
</form>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tr>
<tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['np3']->value, 'np');
$_smarty_tpl->tpl_vars['np']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['np']->value) {
$_smarty_tpl->tpl_vars['np']->do_else = false;
?>
<form action="" method="post">
<td><strong><?php echo $_smarty_tpl->tpl_vars['np']->value['tag'];?>
.<?php echo $_smarty_tpl->tpl_vars['np']->value['monat'];?>
.<?php echo $_smarty_tpl->tpl_vars['np']->value['jahr'];?>
</strong></td>
<td><strong>Mittwoch</strong></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_city'];?>
" style="width:50px;" name="lvz_city"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_bgz'];?>
" style="width:50px;" name="np.lvz_bgz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_dek'];?>
" style="width:50px;" name="np.lvz_dek"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_mtk'];?>
" style="width:50px;" name="infotext[<?php echo $_smarty_tpl->tpl_vars['ptour']->value['id'];?>
]"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['tz'];?>
" style="width:50px;" name="tz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['oaz'];?>
" style="width:50px;" name="oaz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['daz'];?>
" style="width:50px;" name="daz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['ovz'];?>
" style="width:50px;" name="ovz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['dnn'];?>
" style="width:50px;" name="dnn"></center></td>
<td><center>
<input type="hidden" name="savetour" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['id'];?>
"/>
<input type="submit" name="savetoursubmit" value="Speichern" >
</center></td>
</form>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tr>
<tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['np4']->value, 'np');
$_smarty_tpl->tpl_vars['np']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['np']->value) {
$_smarty_tpl->tpl_vars['np']->do_else = false;
?>
<form action="" method="post">
<td><strong><?php echo $_smarty_tpl->tpl_vars['np']->value['tag'];?>
.<?php echo $_smarty_tpl->tpl_vars['np']->value['monat'];?>
.<?php echo $_smarty_tpl->tpl_vars['np']->value['jahr'];?>
</strong></td>
<td><strong>Donnerstag</strong></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_city'];?>
" style="width:50px;" name="lvz_city"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_bgz'];?>
" style="width:50px;" name="np.lvz_bgz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_dek'];?>
" style="width:50px;" name="np.lvz_dek"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_mtk'];?>
" style="width:50px;" name="infotext[<?php echo $_smarty_tpl->tpl_vars['ptour']->value['id'];?>
]"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['tz'];?>
" style="width:50px;" name="tz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['oaz'];?>
" style="width:50px;" name="oaz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['daz'];?>
" style="width:50px;" name="daz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['ovz'];?>
" style="width:50px;" name="ovz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['dnn'];?>
" style="width:50px;" name="dnn"></center></td>
<td><center>
<input type="hidden" name="savetour" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['id'];?>
"/>
<input type="submit" name="savetoursubmit" value="Speichern" >
</center></td>
</form>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tr>
<tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['np5']->value, 'np');
$_smarty_tpl->tpl_vars['np']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['np']->value) {
$_smarty_tpl->tpl_vars['np']->do_else = false;
?>
<form action="" method="post">
<td><strong><?php echo $_smarty_tpl->tpl_vars['np']->value['tag'];?>
.<?php echo $_smarty_tpl->tpl_vars['np']->value['monat'];?>
.<?php echo $_smarty_tpl->tpl_vars['np']->value['jahr'];?>
</strong></td>
<td><strong>Freitag</strong></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_city'];?>
" style="width:50px;" name="lvz_city"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_bgz'];?>
" style="width:50px;" name="np.lvz_bgz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_dek'];?>
" style="width:50px;" name="np.lvz_dek"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_mtk'];?>
" style="width:50px;" name="infotext[<?php echo $_smarty_tpl->tpl_vars['ptour']->value['id'];?>
]"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['tz'];?>
" style="width:50px;" name="tz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['oaz'];?>
" style="width:50px;" name="oaz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['daz'];?>
" style="width:50px;" name="daz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['ovz'];?>
" style="width:50px;" name="ovz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['dnn'];?>
" style="width:50px;" name="dnn"></center></td>
<td><center>
<input type="hidden" name="savetour" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['id'];?>
"/>
<input type="submit" name="savetoursubmit" value="Speichern" >
</center></td>
</form>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tr>
<tr>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['np6']->value, 'np');
$_smarty_tpl->tpl_vars['np']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['np']->value) {
$_smarty_tpl->tpl_vars['np']->do_else = false;
?>
<form action="" method="post">
<td><strong><?php echo $_smarty_tpl->tpl_vars['np']->value['tag'];?>
.<?php echo $_smarty_tpl->tpl_vars['np']->value['monat'];?>
.<?php echo $_smarty_tpl->tpl_vars['np']->value['jahr'];?>
</strong></td>
<td><strong>Samstag</strong></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_city'];?>
" style="width:50px;" name="lvz_city"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_bgz'];?>
" style="width:50px;" name="np.lvz_bgz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_dek'];?>
" style="width:50px;" name="np.lvz_dek"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['lvz_mtk'];?>
" style="width:50px;" name="infotext[<?php echo $_smarty_tpl->tpl_vars['ptour']->value['id'];?>
]"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['tz'];?>
" style="width:50px;" name="tz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['oaz'];?>
" style="width:50px;" name="oaz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['daz'];?>
" style="width:50px;" name="daz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['ovz'];?>
" style="width:50px;" name="ovz"></center></td>
<td><input type="text" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['dnn'];?>
" style="width:50px;" name="dnn"></center></td>
<td><center>
<input type="hidden" name="savetour" value="<?php echo $_smarty_tpl->tpl_vars['np']->value['id'];?>
"/>
<input type="submit" name="savetoursubmit" value="Speichern" >
</center></td>
</form>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</tr>
</tbody>
</table>
<?php }
}

View file

@ -0,0 +1,203 @@
<?php
/* Smarty version 4.3.0, created on 2024-05-06 17:57:39
from '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_setup.tpl' */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '4.3.0',
'unifunc' => 'content_6638fdf387a874_67160844',
'has_nocache_code' => false,
'file_dependency' =>
array (
'fb1f084cada24d0b8edb8cda618b5f684d9cae3f' =>
array (
0 => '/var/www/vhosts/jb-data.de/httpdocs/template/tpl/ajax/ma_setup.tpl',
1 => 1710858116,
2 => 'file',
),
),
'includes' =>
array (
'file:tpl/ajax/_ma_subm.tpl' => 1,
),
),false)) {
function content_6638fdf387a874_67160844 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_subTemplateRender('file:tpl/ajax/_ma_subm.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);
?>
<div class="max">
<table class="no-style full" style="font-size: 16px; line-height: 20px">
<body>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tt']->value, 'tx');
$_smarty_tpl->tpl_vars['tx']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tx']->value) {
$_smarty_tpl->tpl_vars['tx']->do_else = false;
?>
<tr style="line-height:28px">
<?php if ($_smarty_tpl->tpl_vars['tx']->value['aktiv'] != 0) {?>
<td width="160px" style="color: #aaa"><?php echo $_smarty_tpl->tpl_vars['tx']->value['name'];?>
</td>
<?php } else { ?>
<td width="160px" style="color: #555"><?php echo $_smarty_tpl->tpl_vars['tx']->value['name'];?>
</td>
<?php }?>
<td width="80px" align="center">
<label class="md_switch">
<?php if ($_smarty_tpl->tpl_vars['tx']->value['on'] != 0) {?>
<input checked type="checkbox" name="tts" id="aktiv" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['maID']->value;?>
,<?php echo $_smarty_tpl->tpl_vars['tx']->value['sid'];?>
); ma_setup(<?php echo $_smarty_tpl->tpl_vars['maID']->value;?>
)"/>
<?php } else { ?>
<input type="checkbox" name="tts" id="aktiv" onChange="save_ma(<?php echo $_smarty_tpl->tpl_vars['maID']->value;?>
,<?php echo $_smarty_tpl->tpl_vars['tx']->value['sid'];?>
); ma_setup(<?php echo $_smarty_tpl->tpl_vars['maID']->value;?>
)"/>
<?php }?>
<span class="md_switch__toggle"></span>
</label>
</td>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</body>
</table>
</div>
<!--
<div class="max">
<table class="no-style full" style="font-size: 16px; line-height: 20px">
<body>
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['tt']->value, 'tx');
$_smarty_tpl->tpl_vars['tx']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['tx']->value) {
$_smarty_tpl->tpl_vars['tx']->do_else = false;
?>
<tr style="line-height:28px">
<?php if ($_smarty_tpl->tpl_vars['tx']->value['aktiv'] != 0) {?>
<td width="160px" style="color: #aaa"><?php echo $_smarty_tpl->tpl_vars['tx']->value['name'];?>
</td>
<?php } else { ?>
<td width="160px" style="color: #555"><?php echo $_smarty_tpl->tpl_vars['tx']->value['name'];?>
</td>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['tx']->value['on'] != 0) {?>
<td width="80px" align="center" style="color: green"><i class="fad fa-route" onclick="ma_setup(<?php echo $_smarty_tpl->tpl_vars['maID']->value;?>
)" style="font-size: 26px"></i></td>
<?php } else { ?>
<td width="80px" align="center" style="color: darkred"><i class="fad fa-times" onclick="ma_setup(<?php echo $_smarty_tpl->tpl_vars['maID']->value;?>
)" style="font-size: 26px"></i></td>
<?php }?>
</tr>
<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</body>
</table>
</div>
-->
<style>
#@import url(http://fonts.googleapis.com/css?family=Open+Sans);
body {
background: #F5F5F5;
}
.md_switch {
display: inline-flex;
font-family: "Open Sans";
align-items: center;
margin: 3px 0;
}
.md_switch .md_switch__toggle {
position: relative;
cursor: pointer;
}
.md_switch [type=checkbox] {
position: absolute;
opacity: 0;
pointer-events: none;
}
/* default states */
.md_switch .md_switch__toggle::before,
.md_switch .md_switch__toggle::after {
content: '';
display: block;
margin: 0 3px;
transition: all 100ms cubic-bezier(0.4, 0.0, 0.2, 1);
background: #BDBDBD;
}
.md_switch .md_switch__toggle::before {
height: 1.3em;
width: 3em;
border-radius: 0.65em;
opacity: 0.6;
}
.md_switch .md_switch__toggle::after {
position: absolute;
top: 50%;
transform: translate(0, -50%);
height: 1.4em;
width: 1.4em;
border-radius: 50%;
box-shadow: 0 0 8px rgba(0,0,0,0.2), 0 0 2px rgba(0,0,0,0.4);
}
/* special states */
.md_switch [type=checkbox]:focus+.md_switch__toggle {
outline: #333 solid 0px;
box-shadow: 0 0 8px #333;
}
.md_switch [type=checkbox]:disabled+.md_switch__toggle {
cursor: not-allowed;
filter: grayscale(100%);
opacity: 0.6;
}
.md_switch [type=checkbox]:disabled+.md_switch__toggle::after {
box-shadow: none;
}
/* checked states */
.md_switch [type=checkbox]:checked+.md_switch__toggle::before,
.md_switch [type=checkbox]:checked+.md_switch__toggle::after{
background: #115270;
}
.md_switch [type=checkbox]:checked+.md_switch__toggle::after {
transform: translate(calc(3em - 100%), -50%);
}
</style>
<?php }
}