jb-data.de/compile/6ce840e5e374515f05e2eacb60ac90a20690713d_0.file.iss.tpl.php
2025-08-11 22:23:30 +02:00

598 lines
18 KiB
PHP

<?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 }
}