bpm/templates_c/91147a5b078fb5dfcdffda98314cc5d9068a88be_0.file.termine_kandidat.html.php
2022-11-28 10:24:23 +01:00

611 lines
23 KiB
PHP
Executable File

<?php
/* Smarty version 3.1.29, created on 2020-07-17 11:14:34
from "F:\xampp_7.4.4\htdocs\bpm\templates\modern\admin\termine_kandidat.html" */
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
'has_nocache_code' => false,
'version' => '3.1.29',
'unifunc' => 'content_5f116bfa085ac3_62182175',
'file_dependency' =>
array (
'91147a5b078fb5dfcdffda98314cc5d9068a88be' =>
array (
0 => 'F:\\xampp_7.4.4\\htdocs\\bpm\\templates\\modern\\admin\\termine_kandidat.html',
1 => 1591621377,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5f116bfa085ac3_62182175 ($_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">
<?php echo '<script'; ?>
src="../jquery/jquery-1.12.4.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
src="../jquery/bootstrap.min.js"><?php echo '</script'; ?>
>
<link href="../jquery/bootstrap.min.css" rel="stylesheet" />
<style>
select{
width:330px;
}
#inner {
display: table;
margin: 0 auto;
width:330px;
}
#outer {
width:100%
}
</style>
<?php echo '<script'; ?>
>
$(document).ready(function(){
load_data();
function load_data(query)
{
$.ajax({
url:"fetch.php",
method:"post",
data:{query:query,
script:"termine_kandidat"},
success:function(data)
{
/* $('#result').html(data);*/
$("#user").empty().append(data);
}
});
}
$('#search_text').keyup(function(){
var search = $(this).val();
if(search != '')
{
load_data(search);
}
else
{
load_data();
}
});
});
<?php echo '</script'; ?>
>
</head>
<body onload="if(document.ausgabe)document.ausgabe.search_text.focus();return false;">
<form action="?action=ausgabe" method='post' name='ausgabe'>
<?php if ($_smarty_tpl->tpl_vars['bewerber_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['bewerber_error_text']->value;?>
</td>
</tr>
</table>
<br />
<?php }?>
<fieldset>
<legend>
<b>Testtermin Kandidat anpassen</b>
</legend>
<br />
<br />
<div id="outer">
<div id="inner">
<div class="form-group">
<div class="input-group">
<span class="input-group-addon">Suche</span>
<input type="text" name="search_text" id="search_text" placeholder="Kandidaten suchen" class="form-control" />
</div>
</div>
</div>
</div>
<br>
<p align="center">
<select id="user" name="user" size=15>
<?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;
?>
<option value="<?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)]['ka_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)]['nachname'];?>
, <?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)]['vorname'];?>
</option>
<?php
}
}
if ($__section_table_data1_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = $__section_table_data1_0_saved;
}
?>
</select>
</p>
<br />
<p align='center'>
<input type='submit' name='senden' value="Bewerber wählen">
</p>
<br />
</fieldset>
</form>
<br />
<br />
<br />
<br />
</body>
</html>
<?php }
if ($_smarty_tpl->tpl_vars['action']->value == 'ausgabe') {?>
<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>
<?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 }?>
<br />
<br />
<fieldset>
<legend>
<b>Erfasste Termine</b>
</legend>
Wählen Sie den neuen Termin für <b><u><?php echo $_smarty_tpl->tpl_vars['term_kand_anrede']->value;?>
<?php echo $_smarty_tpl->tpl_vars['term_kand_vorname']->value;?>
<?php echo $_smarty_tpl->tpl_vars['term_kand_nachname']->value;?>
</u></b> aus!<br>
<br>
Bisheriger Testtermin: <b><u><?php echo $_smarty_tpl->tpl_vars['term_kand_datum']->value;?>
<?php echo $_smarty_tpl->tpl_vars['term_kand_zeit']->value;?>
Uhr in <?php echo $_smarty_tpl->tpl_vars['term_kand_standort']->value;?>
</u></b>
<br>
<br>
<form action="?action=mail" method='post' name='mail'>
<table cellspacing="0" cellpadding="2" width="100%" border="1">
<tr>
<td>
<b>Auswahl</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>
<tr>
<?php
$__section_table_data1_1_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1'] : false;
$__section_table_data1_1_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data1']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data1_1_total = $__section_table_data1_1_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = new Smarty_Variable(array());
if ($__section_table_data1_1_total != 0) {
for ($__section_table_data1_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] = 0; $__section_table_data1_1_iteration <= $__section_table_data1_1_total; $__section_table_data1_1_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']++){
$_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] = $__section_table_data1_1_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 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)]['restplatz'] != 0) {?>
<?php if ($_smarty_tpl->tpl_vars['term_kand_tm_id']->value != $_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']) {?>
<label for="<?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'];?>
"><input type="radio" value="<?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'];?>
" 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'];?>
" name="tm_id" size="20"></label>
<?php }?>
<?php }?>
</td>
<td>
<label for="<?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'];?>
"><?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'];?>
</label>
</td>
<td>
<label for="<?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'];?>
"><?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'];?>
</label>
</td>
<td>
<label for="<?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'];?>
"><?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'];?>
</label>
</td>
<td>
<label for="<?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'];?>
"><?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'];?>
</label>
</td>
<td>
<label for="<?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'];?>
"><?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'];?>
</label>
</td>
<td>
<label for="<?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'];?>
"><?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'];?>
</label>
</td>
</tr>
<?php }?>
<?php
}
}
if ($__section_table_data1_1_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = $__section_table_data1_1_saved;
}
?>
</table>
<br />
<p align='center'>
<input type='submit' name='senden' value="Abschicken">
</p>
<br />
</form>
</fieldset>
</form>
<br />
<br />
<br />
<br />
</body>
</html>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['action']->value == 'mail') {?>
<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'>Formulieren Sie ein Anschreiben an den Kandidaten, dass sein Termin verlegt wird.</font>
<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">
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 }
}
}