_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',),));
?>
|
tpl_vars['ktime']->value;?>
|
|
| Mo |
Di |
Mi |
Do |
Fr |
Sa |
So |
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;
?>
tpl_vars['kx']->value['int'] == 1) {?>
tpl_vars['kx']->value['int'] == 6) {?> | tpl_vars['kx']->value['inx'];?>
|
tpl_vars['kx']->value['int'] == 7) {?> tpl_vars['kx']->value['inx'];?>
|
tpl_vars['kx']->value['int'] == 2) {?> tpl_vars['kx']->value['inx'];?>
|
tpl_vars['kx']->value['int'] == 3) {?> tpl_vars['kx']->value['inx'];?>
|
tpl_vars['kx']->value['int'] == 4) {?> tpl_vars['kx']->value['inx'];?>
|
tpl_vars['kx']->value['int'] == 5) {?> tpl_vars['kx']->value['inx'];?>
|
tpl_vars['kx']->value['so'] == 1) {?>
smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
tpl_vars['old']->value > 0) {?>
Achtung! - Diese Planung liegt in der Vergangenheit...
tpl_vars['fttest']->value != 0) {?>
Feiertag - tpl_vars['ftrow']->value['tag'];?>
tpl_vars['ftrow']->value['bez'];?>
> var tag = 'tpl_vars['xt']->value;?>
';
>
> var monat = 'tpl_vars['xm']->value;?>
';
>
> var jahr = 'tpl_vars['xj']->value;?>
';
>
> var ts = 'tpl_vars['xj']->value;?>
';
>
>
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();
});
>