ideenmanagement/templates_c/09b1c267ca084ae412ff26ef998731e1d887198f_0.file.bewertungsvorschlag.html.php
2023-03-09 11:22:13 +01:00

358 lines
12 KiB
PHP
Executable File

<?php
/* Smarty version 3.1.29, created on 2018-02-27 10:16:07
from "D:\xampp\htdocs\kurs\utf8\ideenmanagement\templates\modern\bewertungsvorschlag.html" */
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
'has_nocache_code' => false,
'version' => '3.1.29',
'unifunc' => 'content_5a9521d7c01098_90332687',
'file_dependency' =>
array (
'09b1c267ca084ae412ff26ef998731e1d887198f' =>
array (
0 => 'D:\\xampp\\htdocs\\kurs\\utf8\\ideenmanagement\\templates\\modern\\bewertungsvorschlag.html',
1 => 1519720747,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_5a9521d7c01098_90332687 ($_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<html>
<head>
<title><?php echo $_smarty_tpl->tpl_vars['bewertungsvorschlag_text']->value;?>
</title>
<link type="text/css" rel="stylesheet" href="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css">
<style type='text/css'>
select { width:267px;}
</style>
<link rel="stylesheet" type="text/css" href="fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<?php echo '<script'; ?>
type="text/javascript" src="./fancybox/jquery-1.5.1.min.js"><?php echo '</script'; ?>
>
<!-- DATEI GIBTS NICHT <?php echo '<script'; ?>
>!window.jQuery && document.write('<?php echo '<script'; ?>
src="jquery-1.4.3.min.js"><\/script>');<?php echo '</script'; ?>
>-->
<?php echo '<script'; ?>
type="text/javascript" src="./fancybox/jquery.mousewheel-3.0.4.pack.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
type="text/javascript" src="./fancybox/jquery.fancybox-1.3.4.pack.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
type="text/javascript">
$(document).ready(function() {
$(".box").fancybox({
'width' : '100%',
'height' : '100%',
'autoScale' : true,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'type' : 'iframe'
});
});
<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
language='javascript' type='text/javascript' src='tinymce/jscripts/tiny_mce/tiny_mce.js'><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
type='text/javascript'>
function myCustomInitInstance(inst) {
if(inst.editorId != 'mce_fullscreen')
inst.execCommand('mceFullScreen');
}
tinyMCE.init({
// General options
language: 'de',
mode : 'textareas',
theme : 'advanced',
plugins : 'save,autosave,safari,style,table,advhr,advimage,advlink,iespell,insertdatetime,preview,searchreplace,contextmenu,paste,fullscreen,visualchars,nonbreaking,xhtmlxtras,template',
remove_linebreaks : true,
force_br_newlines : true,
force_p_newlines : false,
forced_root_block : '',
apply_source_formatting : true,
convert_newlines_to_brs : true,
// init_instance_callback : 'myCustomInitInstance',
// Theme options
theme_advanced_buttons1 : 'undo,redo,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,cut,copy,paste,pastetext,pasteword,|,bullist,numlist,preview,|,link,unlink,anchor',
theme_advanced_buttons2 : 'tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,|,fullscreen',
theme_advanced_buttons3 : '',
theme_advanced_toolbar_location : 'top',
theme_advanced_toolbar_align : 'left',
theme_advanced_statusbar_location : 'bottom',
theme_advanced_resizing : true,
// Example content CSS (should be your site CSS)
content_css : 'css/example.css',
// Drop lists for link/image/media/template dialogs
template_external_list_url : 'js/template_list.js',
external_link_list_url : 'js/link_list.js',
external_image_list_url : 'js/image_list.js',
media_external_list_url : 'js/media_list.js',
autosave_ask_before_unload : false
});
<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
type="text/javascript">
function senden_aktiv(){
if ( document.erfassen.chk5.checked == true){
document.erfassen.chk1.disabled = true;
document.erfassen.chk2.disabled = true;
document.erfassen.chk3.disabled = true;
document.erfassen.chk4.disabled = true;
}else{
document.erfassen.chk1.disabled = false;
document.erfassen.chk2.disabled = false;
document.erfassen.chk3.disabled = false;
document.erfassen.chk4.disabled = false;
}
if (document.erfassen.chk1.checked == true || document.erfassen.chk2.checked == true || document.erfassen.chk3.checked == true || document.erfassen.chk4.checked == true){
document.erfassen.chk5.disabled = true;
}else{
document.erfassen.chk5.disabled = false;
}
}
<?php echo '</script'; ?>
>
</head>
<body onload='senden_aktiv()' bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<p>
<form action="?action=save" method='post' name='erfassen'>
<?php if ($_smarty_tpl->tpl_vars['bewertungsvorschlag_pflichtfelder']->value == '1') {?>
<table width="90%" class="errorTable">
<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['bewertungsvorschlag_mandatory_text']->value;?>
</td>
</tr>
</table><br>
<?php }?>
<table align="center" valign="top" border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0" width="90%">
<tr>
<td width="100%" colspan="2">
<?php echo $_smarty_tpl->tpl_vars['bewertungsvorschlag_text']->value;?>
</td>
</tr>
<tr>
<td width="50%" valign="top">
&nbsp;
</td>
<td width="50%" valign="top">
&nbsp;
</td>
</tr>
<tr>
<td width="50%" valign="top">
<?php if ($_smarty_tpl->tpl_vars['bewertungsvorschlag_ziel_ico']->value == '1') {?><img src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/pflichtfelder/achtung_klein.gif"><?php }?>
<?php if ($_smarty_tpl->tpl_vars['bewertungsvorschlag_ziel_ico']->value == '1') {?><font color="#FF0000"><?php }?>
<strong><?php echo $_smarty_tpl->tpl_vars['bewertungsvorschlag_field_ziel']->value;?>
</strong>
<?php if ($_smarty_tpl->tpl_vars['bewertungsvorschlag_ziel_ico']->value == '1') {?></font><?php }?>
</td>
<td width="50%" valign="top">
<table>
<tr><td><input type="checkbox" name="chk1" value="1" onclick="senden_aktiv();" id="r1" <?php if ($_smarty_tpl->tpl_vars['bewertungsvorschlag_chk1']->value == 'Y') {?> checked <?php }?>></td><td><label for="r1"><?php echo $_smarty_tpl->tpl_vars['bewertungsvorschlag_chk_1']->value;?>
</label></td></tr>
<tr><td><input type="checkbox" name="chk2" value="2" onclick="senden_aktiv();" id="r2" <?php if ($_smarty_tpl->tpl_vars['bewertungsvorschlag_chk2']->value == 'Y') {?> checked <?php }?>></td><td><label for="r2"><?php echo $_smarty_tpl->tpl_vars['bewertungsvorschlag_chk_2']->value;?>
</label></td></tr>
<tr><td><input type="checkbox" name="chk3" value="3" onclick="senden_aktiv();" id="r3" <?php if ($_smarty_tpl->tpl_vars['bewertungsvorschlag_chk3']->value == 'Y') {?> checked <?php }?>></td><td><label for="r3"><?php echo $_smarty_tpl->tpl_vars['bewertungsvorschlag_chk_3']->value;?>
</label></td></tr>
<tr><td><input type="checkbox" name="chk4" value="4" onclick="senden_aktiv();" id="r4" <?php if ($_smarty_tpl->tpl_vars['bewertungsvorschlag_chk4']->value == 'Y') {?> checked <?php }?>></td><td><label for="r4"><?php echo $_smarty_tpl->tpl_vars['bewertungsvorschlag_chk_4']->value;?>
</label></td></tr>
<tr><td><input type="checkbox" name="chk5" value="5" onclick="senden_aktiv();" id="r5" <?php if ($_smarty_tpl->tpl_vars['bewertungsvorschlag_chk5']->value == 'Y') {?> checked <?php }?>></td><td><label for="r5"><?php echo $_smarty_tpl->tpl_vars['bewertungsvorschlag_chk_5']->value;?>
</label></td></tr>
</table>
</td>
</tr>
<tr>
<td width="50%">
&nbsp;
</td>
<td width="50%">
&nbsp;
</td>
</tr>
<tr>
<td width="50%" valign="top">
<strong><?php echo $_smarty_tpl->tpl_vars['bewertungsvorschlag_field_annahme']->value;?>
</strong>
</td>
<td width="50%" valign="top">
<label><input type="radio" name="bewertungsvorschlag_annahme" id=1 value="J" <?php if ($_smarty_tpl->tpl_vars['bewertungsvorschlag_annahme']->value == 'J') {?> checked<?php }?>> ja</label> <br />
<label><input type="radio" name="bewertungsvorschlag_annahme" id=1 value="N" <?php if ($_smarty_tpl->tpl_vars['bewertungsvorschlag_annahme']->value == 'N') {?> checked<?php }?>> Nein</label> <br />
</td>
</tr>
<tr>
<td width="50%">
&nbsp;
</td>
<td width="50%">
&nbsp;
</td>
</tr>
<tr>
<td width="50%" valign="top">
<strong><?php echo $_smarty_tpl->tpl_vars['bewertungsvorschlag_field_begruendung']->value;?>
</strong>
</td>
<td width="50%" valign="top">
<textarea name='bewertungsvorschlag_begruendung' style='width:100%' rows='8' cols='5'><?php echo $_smarty_tpl->tpl_vars['bewertungsvorschlag_begruendung']->value;?>
</textarea>
</td>
</tr>
<tr>
<td width="50%">
&nbsp;
</td>
<td width="50%">
&nbsp;
</td>
</tr>
<tr>
<td width="50%" valign="top">
<strong><?php echo $_smarty_tpl->tpl_vars['bewertungsvorschlag_field_umsetzung']->value;?>
</strong>
</td>
<td width="50%" valign="top">
<textarea name='bewertungsvorschlag_umsetzung' style='width:100%' rows='8' cols='5'><?php echo $_smarty_tpl->tpl_vars['bewertungsvorschlag_umsetzung']->value;?>
</textarea>
</td>
</tr>
<tr>
<td width="50%">
&nbsp;
</td>
<td width="50%">
&nbsp;
</td>
</tr>
<tr>
<td width="50%" valign="top">
<strong><?php echo $_smarty_tpl->tpl_vars['bewertungsvorschlag_field_paemierung']->value;?>
</strong>
</td>
<td width="50%" valign="top">
<textarea name='bewertungsvorschlag_praemierung' style='width:100%' rows='8' cols='5'><?php echo $_smarty_tpl->tpl_vars['bewertungsvorschlag_praemierung']->value;?>
</textarea>
</td>
</tr>
<tr>
<td width="50%">
&nbsp;
</td>
<td width="50%">
&nbsp;
</td>
</tr>
<tr>
<td width="100%" align="center" colspan="2">
<input type="submit" name="senden" value="Speichern">
</td>
</tr>
</table>
</form>
</body>
</html>
<?php }?>
<?php if ($_smarty_tpl->tpl_vars['action']->value == 'save') {?>
<html>
<head>
<title><?php echo $_smarty_tpl->tpl_vars['edit_titel']->value;?>
</title>
<link type="text/css" rel="stylesheet" href="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css">
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<p>
<form action="?action=save" method='post' name='erfassen'>
<table align="center" valign="top" border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0" height="90%" width="90%">
<tr>
<td width="100%">
&nbsp;
</td>
</tr>
<tr>
<td width="100%" align="center">
<?php if ($_smarty_tpl->tpl_vars['bewertungsvorschlag_save']->value <> '0') {
echo $_smarty_tpl->tpl_vars['bewertungsvorschlag_success']->value;
}?>
</td>
</tr>
<tr>
<td width="100%">
&nbsp;
</td>
</tr>
</table>
</form>
</body>
</html>
<?php }
}
}