_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',),));
?>
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;
?>
tpl_vars['tage']->value['tagt'] == 1) {?> -tpl_vars['tage']->value['kw'];?>
.KW- |
tpl_vars['tage']->value['aktiv'] > 0) {?>
| tpl_vars['tage']->value['datum'];?>
|
tpl_vars['tage']->value['ft'] > 0) {?>
tpl_vars['tage']->value['datum'];?>
|
tpl_vars['tage']->value['datum'];?>
|
smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
tpl_vars['fttest']->value != 0) {?>
Feiertag
| tpl_vars['ftrow']->value['tag'];?>
|
tpl_vars['ftrow']->value['bez'];?>
|
alle Touren für den tpl_vars['tag']->value;?>
.tpl_vars['monat']->value;?>
.tpl_vars['jahr']->value;?>
| Tour |
Fahrer |
Fahrzeug |
Bemerkung |
|
SMS |
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;
?>
> var tagheute = 'tpl_vars['datum_unix']->value,"%Y-%m-%d");?>
';
>
>
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+"
");
});
$.each( data.caddy, function( key, value ) {
$("#caddy").append(value+"
");
});
$.each( data.trp, function( key, value ) {
$("#trp").append(value+"
");
});
$.each( data.caddytag, function( key, value ) {
$("#caddytag").append(value+"
");
});
$.each( data.trptag, function( key, value ) {
$("#trptag").append(value+"
");
});
}
});
}
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();
});
>
>