bpm/templates_c/3dfa05f0efcbe5b3b9d2ff0029729cf9ed2d73e6_0.file.termine.html.php
2022-11-28 10:24:23 +01:00

585 lines
20 KiB
PHP
Executable File

<?php
/* Smarty version 3.1.29, created on 2020-07-17 11:11:10
from "F:\xampp_7.4.4\htdocs\bpm\templates\modern\admin\termine.html" */
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
'has_nocache_code' => false,
'version' => '3.1.29',
'unifunc' => 'content_5f116b2e87b8c4_42119165',
'file_dependency' =>
array (
'3dfa05f0efcbe5b3b9d2ff0029729cf9ed2d73e6' =>
array (
0 => 'F:\\xampp_7.4.4\\htdocs\\bpm\\templates\\modern\\admin\\termine.html',
1 => 1588166062,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5f116b2e87b8c4_42119165 ($_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<html>
<head>
<link type="text/css" rel="stylesheet" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css">
<link rel="stylesheet" href="../jquery/jquery-ui.css">
<link rel="stylesheet" href="../jquery/jquery.timepicker.min.css">
<?php echo '<script'; ?>
src="../jquery/jquery-1.12.4.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="../jquery/jquery-ui.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="../jquery/globalize.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="../jquery/globalize.culture.de-DE.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="../jquery/jquery.mousewheel.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="../jquery/jquery.timepicker.min.js"><?php echo '</script'; ?>
>
<style type="text/css">
.spinner {
width: 112px;
height: 15px;
font-size: 12px !important;
}
</style>
<?php echo '<script'; ?>
>
$( function() {
$( ".spinner" ).spinner({
change: function (event, ui) {
<!--calc_erm_78();-->
},
spin: function (event, ui) {
<!--calc_erm_78();-->
},
start: function (event, ui) {
<!--calc_erm_78();-->
},
stop: function (event, ui) {
<!--calc_erm_78();-->
},
step: 1,
numberFormat: "i",
min:0,
decimals:0
});
Globalize.culture( "de-DE" );
} );
function trackKeys(evnt,regEx) {
var keyCode = evnt.keyCode ? evnt.keyCode : evnt.which;
return !!String.fromCharCode(keyCode).match(regEx);
}
//-->
<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
type="text/javascript">
$(function() {
$(".datepicker").datepicker({
prevText: '&#x3c; zur&uuml;ck', prevStatus: '',
prevJumpText: '&#x3c;&#x3c;', prevJumpStatus: '',
changeMonth: true,
changeYear: true,
nextText: 'Vor &#x3e;', nextStatus: '',
nextJumpText: '&#x3e;&#x3e;', nextJumpStatus: '',
currentText: 'Heute', currentStatus: '',
todayText: 'Heute', todayStatus: '',
clearText: '-', clearStatus: '',
closeText: 'schlie&szlig;en', closeStatus: '',
monthNames: ['Januar','Februar','M&auml;rz','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'],
monthNamesShort: ['Jan','Feb','M&auml;r','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'],
dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
weekHeader: 'Wo',
weekStatus: 'Woche des Monats',
showMonthAfterYear: false,
showOn: 'focus',
firstDay: 1,
numberOfMonths : 1,
yearRange: "c-5:+5",
showButtonPanel : true,
altField : "#datepicker_input",
dateFormat : "dd.mm.yy",
showWeek: true
});
$.datepicker._gotoToday = function(id) {
$(id).datepicker('setDate', new Date()).datepicker('hide').blur();
}
});
<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
type="text/javascript">
$(document).ready(function(){
$('input.timepicker').timepicker({
timeFormat: 'HH:mm',
interval: 30,
minTime: '7',
maxTime: '18:00',
startTime: '7',
dynamic: false,
dropdown: true,
scrollbar: true
});
});
<?php echo '</script'; ?>
>
<style>
.StandardTable thead th{
background: lightgray;
border: 1px solid #656565;
font-size:12px;
font-family:Arial;
padding-top:5px;
padding-bottom:5px;
padding-left:5px;
padding-right:5px;
}
textarea{
border: 1px solid #888;
height: 6.7em;
width: 48.5em;
}
select{
width:630px;
}
</style>
</head>
<body>
<form action="?action=save" method='post' name='erfassen'>
<?php if ($_smarty_tpl->tpl_vars['termine_error']->value == '1') {?>
<table width="70%" class="errorTable" align="center">
<tr>
<td>
<img src="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/pflichtfelder/achtung_gross.gif">
</td>
<td><b>Achtung!</b><br>
<?php echo $_smarty_tpl->tpl_vars['termine_error_text']->value;?>
</td>
</tr>
</table>
<br />
<?php }?>
<fieldset>
<legend>
<b>Termine erfassen</b>
</legend>
<br />
<br />
<table cellspacing="0" cellpadding="0" width="100%" border="0" class="StandardTable">
<tr>
<td width="30%">
Testdatum:
</td>
<td>
<input type="text" class="datepicker" name="tm_datum" id="tm_datum" value="<?php echo $_smarty_tpl->tpl_vars['termine_value_datum']->value;?>
">
</td>
</tr>
<tr>
<td width="30%">&nbsp;
</td>
<td>&nbsp;
</td>
<tr>
<tr>
<td width="30%">
Uhrzeit:
</td>
<td>
<input type="text" class="timepicker" name="tm_zeit" id="tm_datum" value="<?php echo $_smarty_tpl->tpl_vars['termine_value_zeit']->value;?>
" onKeypress="return trackKeys(event,/[0-9,:]/);">
</td>
</tr>
<tr>
<td width="30%">&nbsp;
</td>
<td>&nbsp;
</td>
</tr>
<tr>
<td width="30%">
Maximale Teilnehmerzahl:
</td>
<td valign="top">
<input type="text" class="spinner" name="tm_plaetze" id="max_tn" value="<?php echo $_smarty_tpl->tpl_vars['termine_value_tm_plaetze']->value;?>
" onKeypress="return trackKeys(event,/[0-9,]/);">
</td>
</tr>
<tr>
<td width="30%">&nbsp;
</td>
<td>&nbsp;
</td>
</tr>
<tr>
<td width="30%">
Standort:
</td>
<td valign="top">
<label for="K"><input type="radio" value="K" id="K" <?php if ($_smarty_tpl->tpl_vars['termine_value_tm_standort']->value == "K") {?>checked<?php }?> name="tm_standort" width="30%"> Kehl</label><br>
<label for="L"><input type="radio" value="L" id="L" <?php if ($_smarty_tpl->tpl_vars['termine_value_tm_standort']->value == "L") {?>checked<?php }?> name="tm_standort" width="30%"> Ludwigsburg</label>
</td>
</tr>
<tr>
<td width="30%">&nbsp;
</td>
<td>&nbsp;
</td>
</tr>
<tr>
<td width="30%">
Gebäude / Raum:
</td>
<td valign="top">
<input type="text" name="tm_raum" id="tm_raum" value="<?php echo $_smarty_tpl->tpl_vars['termine_value_tm_raum']->value;?>
" width="30">
</td>
</tr>
<tr>
<td width="30%">&nbsp;
</td>
<td>&nbsp;
</td>
</tr>
<tr>
<td>
Verwendungszweck Überweisung:
</td>
<td valign="top">
<input type="text" name="tm_referenznr" id="tm_referenznr" value="<?php echo $_smarty_tpl->tpl_vars['termine_value_tm_referenznr']->value;?>
" width="30">
</td>
</tr>
<tr>
<td>&nbsp;
</td>
<td>&nbsp;
</td>
</tr>
</table>
<br />
<p align='center'>
<input type='submit' name='senden' value="Termin speichern">
</p>
<br />
</fieldset>
</form>
<br />
<br />
<fieldset>
<legend>
<b>Erfasste Termine</b>
</legend>
<table cellspacing="0" cellpadding="2" width="100%" border="1">
<tr>
<td>
<b>lfd.Nr.</b>
</td>
<td>
<b>Testdatum</b>
</td>
<td>
<b>Uhrzeit</b>
</td>
<td>
<b>Standort</b>
</td>
<td>
<b>Freie Plätze</b>
</td>
<td>
<b>Gebäude / Raum</b>
</td>
<td>
<b>Verwendungszweck Überweisung</b>
</td>
<td align="center">
<b>Edit</b>
</td>
<tr>
<?php
$__section_table_data1_0_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1'] : false;
$__section_table_data1_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data1']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data1_0_total = $__section_table_data1_0_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = new Smarty_Variable(array());
if ($__section_table_data1_0_total != 0) {
for ($__section_table_data1_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] = 0; $__section_table_data1_0_iteration <= $__section_table_data1_0_total; $__section_table_data1_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']++){
$_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] = $__section_table_data1_0_iteration;
?>
<?php if ((isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] : null) != '') {?>
<tr>
<td>
<?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] : null);?>
</td>
<td>
<?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['datum'];?>
</td>
<td>
<?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['zeit'];?>
</td>
<td>
<?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['standort_form'];?>
</td>
<td>
<?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['restplatz'];?>
/ <?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['tm_plaetze'];?>
</td>
<td>
<?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['tm_raum'];?>
</td>
<td>
<?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['tm_referenznr'];?>
</td>
<td align="center">
<a href=?edit=<?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['tm_id'];?>
><img title = "Termin bearbeiten" border="0" height=10 src="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/edit.png"></a>
&nbsp;
<?php if ($_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['tm_disable'] == 0) {?>
<img title = 'Termin bereits gebucht' border="0" height=10 src="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/drop_grey.png">
<?php } else { ?>
<a href="?action=del&tm_id=<?php echo $_smarty_tpl->tpl_vars['table_data1']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] : null)]['tm_id'];?>
"><img title = 'Termin l&ouml;schen' border="0" height=10 src="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/drop.png"></a>
<?php }?>
</td>
</tr>
<?php }?>
<?php
}
}
if ($__section_table_data1_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = $__section_table_data1_0_saved;
}
?>
</table>
</fieldset>
<br />
<br />
<br />
<br />
</body>
</html>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['action']->value == 'mailterminupdate') {?>
<html>
<head>
<link type="text/css" rel="stylesheet" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css">
<?php echo '<script'; ?>
type='text/javascript' src='../ckeditor5/build/ckeditor.js'><?php echo '</script'; ?>
>
<style>
.ck-editor__editable {
min-height: 300px;
}
p {
margin: 0;
}
</style>
</head>
<body>
<fieldset>
<legend>
<b>Mailtext</b>
</legend>
<br />
<br />
<font color='red'>Zu dem Termin haben sich bereits Kandidaten eingebucht. Ihnen muss die Veränderung mitgeteilt werden.<br>
Sofern noch kein Test geschrieben wurde, kann der Kandidat auch wieder gelöscht werden. Dann wird die Hogrefe TAN wieder frei und die Gebühr muss nicht bezahlt werden.
<br />
<br />
</font>
<form action="?action=mailsenden2" method='post' name='mailsenden2'>
<table width="100%" border="1" cellspacing="0" cellpadding="0" rules="all">
<tr>
<td width="200" height="40" style="padding-left:5px">
Absender:
</td>
<td style="padding-left:5px">
<select name="absender">
<option value="Kehl" selected>Kehl</option>
<option value="Ludwigsburg">Ludwigsburg</option>
</select>
</td>
</tr>
<tr>
<td width="200" height="40" style="padding-left:5px">
Empfänger:
</td>
<td style="padding-left:5px">
<?php echo $_smarty_tpl->tpl_vars['mtupd_mailadressen_an']->value;?>
<input type="hidden" name="empfaenger_an" id="empfaenger_an" size="101" value="<?php echo $_smarty_tpl->tpl_vars['mtupd_mailadressen_an']->value;?>
">
</td>
</tr>
<tr>
<td height="40" style="padding-left:5px">
Empfänger BCC:
</td>
<td style="padding-left:5px">
<?php echo $_smarty_tpl->tpl_vars['mtupd_mailadressen_bcc']->value;?>
<input type="hidden" name="empfaenger_bcc" id="empfaenger_bcc" size="101" value="<?php echo $_smarty_tpl->tpl_vars['mtupd_mailadressen_bcc']->value;?>
">
</td>
</tr>
<tr>
<td height="40" style="padding-left:5px">
Betreff:
</td>
<td style="padding-left:5px">
<input type="text" id="betreff" name="betreff" value="" size="60">
</td>
</tr>
<tr>
<td height="40" style="padding-left:5px">
Mailtext:
</td>
<td style="padding-left:5px">
<textarea id='text' name='text'></textarea>
<?php echo '<script'; ?>
>ClassicEditor
.create( document.querySelector( '#text' ), {
toolbar: {
items: [
'heading',
'|',
'fontSize',
'fontFamily',
'fontBackgroundColor',
'fontColor',
'|',
'bold',
'italic',
'link',
'bulletedList',
'numberedList',
'|',
'alignment',
'indent',
'outdent',
'|',
'imageUpload',
'blockQuote',
'insertTable',
'mediaEmbed',
'undo',
'redo'
]
},
language: 'de',
image: {
toolbar: [
'imageTextAlternative',
'imageStyle:full',
'imageStyle:side'
]
},
table: {
contentToolbar: [
'tableColumn',
'tableRow',
'mergeTableCells',
'tableCellProperties',
'tableProperties'
]
},
licenseKey: '',
} )
.then( editor => {
window.editor = editor;
} )
.catch( error => {
console.error( error );
} );
<?php echo '</script'; ?>
>
</td>
</tr>
</table>
</p>
<br />
<br />
<p align='center'>
<input type='submit' name='senden' value="Mail senden">
</p>
<br />
</form>
</fieldset>
<br />
<br />
<br />
<br />
</body>
</html>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['action']->value == 'mailsenden2') {?>
<html>
<head>
<link type="text/css" rel="stylesheet" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css">
</head>
<body>
<fieldset>
<legend>
<b>Ergebnis</b>
</legend>
<br />
<br />
<?php echo $_smarty_tpl->tpl_vars['mail_senderg']->value;?>
<br>
<br>
</fieldset>
<br />
<br />
<br />
<br />
</body>
</html>
<?php }
}
}