_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',),));
?>
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;
?>
tpl_vars['ma']->value['aktiv'] == 0) {?>| tpl_vars['ma']->value['name'];?>
|
tpl_vars['ma']->value['aktiv'] > 0) {?>tpl_vars['ma']->value['name'];?>
|
smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
tpl_vars['wahl']->value == 9) {?>
Neue Karten im System anlernen
| lesen Sie jetzt Bitte die neue Karte ein |
| Neue Karten-ID: tpl_vars['nextid']->value;?>
|
lesen Sie jetzt die neue Karte ein |
tpl_vars['wahl']->value == 0) {?>
keine Auswahl getroffen........
Auswahl
| Karten ID |
Seriennr. |
Zuordnung |
Sperre |
lost |
Status |
lastLog |
Bemerkung |
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;
?>
>
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)
}
});
}
>