<?php
/* Smarty version 3.1.29, created on 2018-11-15 11:06:13
  from "/srv/www/htdocs-hvf/kurs/ideenmanagement/templates/modern/erfassen_status.html" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_5bed4515a71400_33854096',
  'file_dependency' => 
  array (
    'fbfe6051beef8bbb27e7e7ad416e561c19d2349b' => 
    array (
      0 => '/srv/www/htdocs-hvf/kurs/ideenmanagement/templates/modern/erfassen_status.html',
      1 => 1519720852,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5bed4515a71400_33854096 ($_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<html>
<head>
<title><?php echo $_smarty_tpl->tpl_vars['hauptframe_titel']->value;?>
</title>
<link type="text/css" rel="stylesheet" href="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css">
  <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'                : '75%',
            'height'               : '75%',
            'autoScale'            : true,
            'transitionIn'         : 'elastic',
            'transitionOut'        : 'elastic',
            'type'                 : 'iframe'
        });
    });
  <?php echo '</script'; ?>
>
</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">

<div class="header">
   <div>
      <div><?php echo $_smarty_tpl->tpl_vars['erfassen_status_titel']->value;?>
</div>
   </div>
</div>

<div class="pat_list_box">
	<p>
    <table border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0" width="90%" height="90%">
        <tr>
            <td align="center" valign='top'>

            <form action="?action=status1" method='post' name='erfassen'>
              <table width='100%' >
                <tr>
                  <td width="5%">
                    <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_id']->value;?>
</strong>
                  </td>
                  <td>
                    <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_titel']->value;?>
</strong>
                  </td>
                  <td>
                    <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_erstelldatum']->value;?>
</strong>
                  </td>
                  <td align="center">
                    <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_select']->value;?>
</strong>
                  </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) >= '1') {?>
                  <tr>
                    <td width="5%">
                      <?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)]['vid'];?>

                    </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)]['betreff'];?>

                    </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)]['erfass_dat1'];?>

                    </td>
                    <td align="center">
                      <input type="radio" name="vid" 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)]['vid'];?>
">
                    </td>
                  </tr>
                <?php }?>
                <?php
}
}
if ($__section_table_data1_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = $__section_table_data1_0_saved;
}
?>
              </table>
              <br />
              <br />
              <input type="submit" name="senden" value="Abschicken">
              </form>

            </td>
        </tr>
    </table>
</div>

</body>
</html>
<?php }?>


<?php if ($_smarty_tpl->tpl_vars['action']->value == 'status1') {?>
  <html>
  <head>
  <title><?php echo $_smarty_tpl->tpl_vars['erfassen_status_titel']->value;?>
</title>
  <link type="text/css" rel="stylesheet" href="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css">

    <link rel="stylesheet" type="text/css" href="fancybox/jquery.fancybox-1.3.4.css" media="screen" />

    <?php echo '<script'; ?>
 type="text/javascript" src="js/ajaxtabs.js">
      /***********************************************
      * Ajax Tabs Content script v2.2- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
      * This notice MUST stay intact for legal use
      * Visit Dynamic Drive at https://www.dynamicdrive.com/ for full source code
      ***********************************************/
    <?php echo '</script'; ?>
>

    <?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'                : '75%',
              'height'               : '75%',
              '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.versicherung.checked == true ){
           document.erfassen.senden.disabled = false;
        }else{
            document.erfassen.senden.disabled = true;
        }
      }
      
    <?php echo '</script'; ?>
>

  </head>

  <body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">


<?php if ($_smarty_tpl->tpl_vars['bearbeiten_err']->value == '1') {?>
  <html>
  <head>
  <title><?php echo $_smarty_tpl->tpl_vars['erfassen_status_err_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">

  <div class="header">
     <div>
        <div><?php echo $_smarty_tpl->tpl_vars['erfassen_status_err_titel']->value;?>
</div>
     </div>
  </div>

  <div class="pat_list_box">
  	<p>
      <table border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0" width="100%" height="90%">
          <tr>
              <td align="center">
                <b><?php echo $_smarty_tpl->tpl_vars['erfassen_status_err_text']->value;?>
</b>
              </td>
          </tr>
      </table>
  </div>

  </body>
  </html>
<?php }?>

<?php if ($_smarty_tpl->tpl_vars['bearbeiten_err']->value == '0') {?>
  <div class="header">
     <div>
        <div><?php echo $_smarty_tpl->tpl_vars['erfassen_status_titel']->value;?>
</div>
     </div>
  </div>

  <div class="pat_list_box">
  	<p>



      <table valign="top" border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0" width="90%">
          <tr>
              <td width="50%">
                <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_id']->value;?>
</strong>
              </td>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['erfassen_status_vid']->value;?>

              </td>
          </tr>


          <tr>
              <td width="50%">
                <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_ersteller']->value;?>
</strong>
              </td>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['erfassen_status_vorname']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['erfassen_status_nachname']->value;?>

              </td>
          </tr>

          <tr>
              <td width="50%">
                <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_mailadresse']->value;?>
</strong>
              </td>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['erfassen_status_mail']->value;?>

              </td>
          </tr>

          <tr>
              <td width="50%">
                <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_gruppe']->value;?>
</strong>
              </td>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['erfassen_status_beziehung']->value;?>

              </td>
          </tr>

          <tr>
              <td width="50%">
                &nbsp;
              </td>
              <td>
                &nbsp;
              </td>
          </tr>

          <tr>
              <td width="50%">
                <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_gruppenmitglieder']->value;?>
</strong>
              </td>
              <td>
                <?php
$__section_table_data2_1_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2'] : false;
$__section_table_data2_1_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data2']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data2_1_total = $__section_table_data2_1_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = new Smarty_Variable(array());
if ($__section_table_data2_1_total != 0) {
for ($__section_table_data2_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] = 0; $__section_table_data2_1_iteration <= $__section_table_data2_1_total; $__section_table_data2_1_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']++){
?>
                  <?php echo $_smarty_tpl->tpl_vars['table_data2']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] : null)]['name'];?>
<br />
                <?php
}
}
if ($__section_table_data2_1_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = $__section_table_data2_1_saved;
}
?>
              </td>
          </tr>

          <tr>
              <td width="50%">
                &nbsp;
              </td>
              <td>
                &nbsp;
              </td>
          </tr>

          <tr>
              <td width="50%">
                <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_betreff']->value;?>
</strong>
              </td>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['erfassen_status_betreff']->value;?>

              </td>
          </tr>

          <tr>
              <td width="50%">
                &nbsp;
              </td>
              <td>
                &nbsp;
              </td>
          </tr>

          <tr>
              <td width="50%">
                  <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_beschreibung']->value;?>
</strong>
              </td>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['erfassen_status_beschreibung']->value;?>

              </td>
          </tr>

          <tr>
              <td width="50%">
                &nbsp;
              </td>
              <td>
                &nbsp;
              </td>
          </tr>

          <tr>
              <td width="50%">
                  <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_vorschlag']->value;?>
</strong>
              </td>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['erfassen_status_vorschlag']->value;?>

              </td>
          </tr>

          <tr>
              <td width="50%">
                &nbsp;
              </td>
              <td>
                &nbsp;
              </td>
          </tr>

          <tr>
              <td width="50%">
                  <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_nutzen']->value;?>
</strong>
              </td>
              <td>
                <?php echo $_smarty_tpl->tpl_vars['erfassen_status_nutzen']->value;?>

              </td>
          </tr>

          <tr>
              <td width="50%">
                &nbsp;
              </td>
              <td>
                &nbsp;
              </td>
          </tr>

          <tr>
              <td width="50%">
                <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_public']->value;?>
</strong>
              </td>
              <td>
               <?php echo $_smarty_tpl->tpl_vars['erfassen_status_public']->value;?>

              </td>
          </tr>

      </table>
      <br />
      <br />

       <fieldset>
      <form action="?action=status2" method='post' name='erfassen'>
      <legend><b>Kategogie / Hinweise</b></legend>

	      <table valign="top" border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0" width="100%">
	        <tr>
	          <td width="50%">
	            <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_kategorie']->value;?>
</strong>
	          </td>
	          <td>
	            <?php echo $_smarty_tpl->tpl_vars['erfassen_status_kategorie']->value;?>

	          </td>
            </tr>

	        <tr>
	          <td width="50%">
	            &nbsp;
	          </td>
	          <td>
	            &nbsp;
	          </td>
            </tr>

	        <tr>
	          <td width="50%">
	            <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_admhinweis']->value;?>
</strong>
	          </td>
	          <td>
	            <?php echo $_smarty_tpl->tpl_vars['erfassen_status_hinweis_admin']->value;?>

	          </td>
            </tr>

	        <tr>
	          <td width="50%">
	            &nbsp;
	          </td>
	          <td>
	            &nbsp;
	          </td>
            </tr>

	        <tr>
	          <td width="50%">
	            <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_eigenhinweis']->value;?>
</strong>
	          </td>
	          <td>
	            <textarea name='erfassen_status_hinweis_eigen'><?php echo $_smarty_tpl->tpl_vars['erfassen_status_hinweis_eigen']->value;?>
</textarea>
	          </td>
            </tr>

	        <tr>
	          <td width="50%">
	            &nbsp;
	          </td>
	          <td>
	            <input type="submit" name="senden" value="Hinweis speichern">
	          </td>
            </tr>

          </table>
      </fieldset>
      </form>
      <br />
      <br />
      <fieldset>
      <legend><b>Statusdetails</b></legend>

	      <table valign="top" border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0" width="90%">
	        <tr>
	          <td width="50%">
	            <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_datum']->value;?>
</strong>
	          </td>
	          <td>
	            <strong><?php echo $_smarty_tpl->tpl_vars['erfassen_status_field_status']->value;?>
</strong>
	          </td>
            </tr>


            <?php
$__section_table_data3_2_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data3']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data3'] : false;
$__section_table_data3_2_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data3']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data3_2_total = $__section_table_data3_2_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data3'] = new Smarty_Variable(array());
if ($__section_table_data3_2_total != 0) {
for ($__section_table_data3_2_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index'] = 0; $__section_table_data3_2_iteration <= $__section_table_data3_2_total; $__section_table_data3_2_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index']++){
?>
            <?php if ($_smarty_tpl->tpl_vars['table_data3']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index'] : null)]['status'] != '') {?>
            <tr>
	          <td width="50%">
	            <?php echo $_smarty_tpl->tpl_vars['table_data3']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index'] : null)]['datum1'];?>

	          </td>
	          <td>
	            <?php echo $_smarty_tpl->tpl_vars['table_data3']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index'] : null)]['status'];?>
 <?php if ($_smarty_tpl->tpl_vars['table_data3']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index'] : null)]['info'] == '1') {?><a class="box" href="info_entscheid.php?vid=<?php echo $_smarty_tpl->tpl_vars['table_data3']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data3']->value['index'] : null)]['erfassen_status_vid'];?>
"><img src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/i.jpg" title="Informationen zur Entscheidung" border="0"></a><?php }?>
	          </td>
            </tr>
            <?php }?>
            <?php
}
}
if ($__section_table_data3_2_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data3'] = $__section_table_data3_2_saved;
}
?>

          </table>
      </fieldset>

  </div>

  </body>
  </html>
<?php }
}?>

<?php if ($_smarty_tpl->tpl_vars['action']->value == 'status2') {?>
  <html>
  <head>
  <title><?php echo $_smarty_tpl->tpl_vars['hauptframe_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">

  <div class="header">
     <div>
        <div><?php echo $_smarty_tpl->tpl_vars['erfassen_status_success_titel']->value;?>
</div>
     </div>
  </div>

  <div class="pat_list_box">
  	<p>
      <table border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0" width="94%" height="90%">
          <tr>
              <td align="center">
                <b><?php echo $_smarty_tpl->tpl_vars['erfassen_status_success_text']->value;?>
</b>

              </td>
          </tr>
      </table>
  </div>

  </body>
  </html>
<?php }
}
}
