<?php
/* Smarty version 3.1.29, created on 2020-01-20 11:46:16
  from "/srv/www/htdocs-hvf/kurs/ideenmanagement/templates/modern/beteiligtenbenennung.html" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_5e2584f8ad6c12_21840070',
  'file_dependency' => 
  array (
    '6108f896d10b5502a3e6d3e149adb3b203e480c6' => 
    array (
      0 => '/srv/www/htdocs-hvf/kurs/ideenmanagement/templates/modern/beteiligtenbenennung.html',
      1 => 1558945367,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5e2584f8ad6c12_21840070 ($_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">
  <style type='text/css'>
    select { width:350px;}
  </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'; ?>
>


<!--[if lte IE 7]>
<?php echo '<script'; ?>
>
function ativaOptionsDisabled(){
    var sels = document.getElementsByTagName('select');
    for(var i=0; i < sels.length; i++){
        sels[i].onchange= function(){ //pra se mudar pro desabilitado
            if(this.options[this.selectedIndex].disabled){
                if(this.options.length<=1){
                    this.selectedIndex = -1;
                }else if(this.selectedIndex < this.options.length - 1){
                    this.selectedIndex++;
                }else{
                    this.selectedIndex--;
                }
            }
        }
        if(sels[i].options[sels[i].selectedIndex].disabled){
            //se o selecionado atual � desabilitado chamo o onchange
            sels[i].onchange();
        }
        for(var j=0; j < sels[i].options.length; j++){ //colocando o estilo
            if(sels[i].options[j].disabled){
                sels[i].options[j].style.color = '#CCC';
            }
        }
    }
}
window.attachEvent("onload", ativaOptionsDisabled)
<?php echo '</script'; ?>
>
<![endif]-->

</head>

<body onload='ativaOptionsDisabled()' bgcolor="white" text="black" link="blue" vlink="purple" alink="red">

	<p>
	<form action="?action=balance" method='post' name='erfassen'>

        <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_pflichtfelder']->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['beteiligtenbenennung_error_text']->value;?>

   	          </td>
   	        </tr>
   	      </table><br>
   	    <?php }?>


    <table valign="top" border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0" width="100%" height="90%">
        <tr>
            <td>
              <?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_text1']->value;?>

              <br><br>
              <table width="100%">
                <tr>
                  <td>
                    <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_field_name']->value;?>
</strong>
                  </td>
                  <td>
                    <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_field_frist']->value;?>
</strong>
                  </td>
                  <td>
                    <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_field_status']->value;?>
</strong>
                  </td>
                  <td>
                    <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_field_aktionen']->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) != '') {?>
                  <tr>
                    <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)]['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'];?>

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

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

                    </td>
                    <td>
                      <a href="?action=anschreiben&bid=<?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)]['bid'];?>
"><img height='20' border="0" alt="Gutachter anschreiben" src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/mail_icon.jpg"></a>
                    </td>
                  </tr>
			    <?php }?>
                <?php
}
}
if ($__section_table_data1_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = $__section_table_data1_0_saved;
}
?>
              </table>
            </td>
        </tr>

        <tr>
            <td align="center">

             <select <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_user_beteiligter_ico']->value == '1') {?>class="errorField"<?php }?> name="user_beteiligter" size=15>
               <optgroup label="Beteiligte erfassen">
                 <option value="P">Neuer Beteiligter (ProfessorIn)</option>
                 <option value="L">Neuer Beteiligter (Externe/r - Lehrbeauftragte/r)</option>
                 <option value="S">Neuer Beteiligter (StudentIn)</option>
                 <option value="V">Neuer Beteiligter (Verwaltungsmitarbeiter)</option>
                 <option value="R">Neuer Beteiligter (Rechenzentrum)</option>
               </optgroup>
               <optgroup label="&nbsp;">
               </optgroup>
               <optgroup label="Beteiligtenauswahl">
 	           <?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']++){
?>
                  <option value="<?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)]['imtuid'];?>
" <?php if ($_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)]['disable_gut'] == '1') {?> disabled <?php }
if ($_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)]['disable_bet'] == '1') {?> disabled <?php }?> <?php if ($_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)]['selected'] == '1') {?> selected <?php }?>><?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)]['nachname'];?>
, <?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)]['vorname'];
if ($_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)]['disable_gut'] == '1') {?> (Gutachter)<?php }
if ($_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)]['disable_bet'] == '1') {?> (Beteiligter)<?php }?></option>
 	           <?php
}
}
if ($__section_table_data2_1_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = $__section_table_data2_1_saved;
}
?>
 	           </optgroup>
 	         </select>
 	         <br />
 	         <br />
 	         <input type="submit" name="senden" value="Beteiligte anh&ouml;ren">

            </td>
        </tr>


        <tr>
            <td>
              &nbsp;
            </td>
        </tr>

    </form>


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


<?php if ($_smarty_tpl->tpl_vars['action']->value == 'ldap1') {?>

<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 onload="if(document.ldap)document.ldap.suchstring.focus();return false;">
<br />
<br />
    <table border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0" width="100%" height="90%">
      <form action="?action=ldap2" method='post' name='ldap'>
        <table cellspacing="1" cellpadding="1" width="100%" border="0">
            <tr>
              <td class="formdesc" width="60%">
                <?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_ldap1_field_suche']->value;?>

              </td>
              <td width="40%">
                <input type="text" name="suchstring" size="40" tabindex="2"><br>
              </td>
            </tr>
            <tr>
              <td class="formdesc" width="60%">
                <?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_ldap1_field_pfad']->value;?>

              </td>
              <td width="40%">
                <label for id=1><input type="radio" name="suchpfad" id=1 value="sn" checked>Nachnamen<br></label>
                <label for id=2><input type="radio" name="suchpfad" id=2 value="samaccountname">UIDs</label>
              </td>
            </tr>

            <tr>
              <td align="center" colspan="2">
                <br>
                <font size="1"><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_ldap1_text1']->value;?>
</font>
                <p>
              </td>
            </tr>
            <tr>
              <td align='center' colspan="2">
                <input type="submit" name="senden" value="suchen">
              </td>
           </tr>
              </td>
            </tr>
        </table>
      </form>
    </table>


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


<?php if ($_smarty_tpl->tpl_vars['action']->value == 'ldap2') {?>

<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 onload="if(document.ldap)document.ldap.suchstring.focus();return false;">
<br />
<br />
    <table border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0" width="100%" height="90%">

                       <form action="?action=ldap3" method='post' name='ldap'>
                        <table cellspacing="1" cellpadding="1" width="100%" border="0">
                            <tr>
                              <td>
                                <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_ldap2_field_auswahl']->value;?>
</strong>
                              </td>
                              <td>
                                <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_ldap2_field_uid']->value;?>
</strong>
                              </td>
                              <td>
                                <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_ldap2_field_name']->value;?>
</strong>
                              </td>
                              <td>
                                <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_ldap2_field_gruppe']->value;?>
</strong>
                              </td>
                              <td>
                                <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_ldap2_field_mail']->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']++){
?>
                            <tr>
                              <td>
                                <input type="radio" name="auswahl" id="<?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)]['uid'];?>
" value="<?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)]['uid'];?>
">
                              </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)]['uid'];?>

                              </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)]['nachname'];?>
, <?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)]['vorname'];?>

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

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

                              </td>
                            </tr>

                            <?php
}
}
if ($__section_table_data3_2_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data3'] = $__section_table_data3_2_saved;
}
?>

                            <tr>
                              <td colspan="5" align="center">
                                &nbsp;
                              </td>
                            </tr>

                            <tr>
                              <td colspan="5" align="center">
                                <input type="submit" name="senden" value="Auswahl">
                              </td>
                            </tr>

                        </table>

                      </form>
    </table>


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

<?php if ($_smarty_tpl->tpl_vars['action']->value == 'ldap3') {?>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel="stylesheet" href="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css" type="text/css">
    <style type="text/css">
       .squarebutton_blue{
         width:100px;
       }
       .correct
       {
       color:#B3DF00;
       }
       .wrong
       {
       color:#FF0000;
       }
    </style>

    <?php echo '<script'; ?>
 src="validation/usercheck.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 language='JavaScript' type='text/javascript'>
       function start() {
         if(document.ldap){
           document.ldap.vorname.focus();
         }else{
           return false;
         }

         checkUser(document.ldap.mail.value);

         checkBez('<?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_beziehung']->value;?>
');

       }
     <?php echo '</script'; ?>
>

     <?php echo '<script'; ?>
 type="text/javascript">
       function checkBez(wahl){

         if(wahl == "P" || wahl == "L"){
           document.getElementById('fakultaet1').style.display = (document.getElementById('fakultaet1').style.display == 'none')?'none':'none';
           document.getElementById('fakultaet2').style.display = (document.getElementById('fakultaet2').style.display == 'none')?'none':'none';
           document.getElementById('jahrgang1').style.display = (document.getElementById('jahrgang1').style.display == 'none')?'none':'none';
           document.getElementById('jahrgang2').style.display = (document.getElementById('jahrgang2').style.display == 'none')?'none':'none';

           document.getElementById('fakultaet1').style.display = (document.getElementById('fakultaet1').style.display == 'none')?'block':'block';
           document.getElementById('fakultaet2').style.display = (document.getElementById('fakultaet2').style.display == 'none')?'block':'block';
         }

         if(wahl == "S"){
           document.getElementById('fakultaet1').style.display = (document.getElementById('fakultaet1').style.display == 'none')?'none':'none';
           document.getElementById('fakultaet2').style.display = (document.getElementById('fakultaet2').style.display == 'none')?'none':'none';
           document.getElementById('jahrgang1').style.display = (document.getElementById('jahrgang1').style.display == 'none')?'none':'none';
           document.getElementById('jahrgang2').style.display = (document.getElementById('jahrgang2').style.display == 'none')?'none':'none';

           document.getElementById('jahrgang1').style.display = (document.getElementById('jahrgang1').style.display == 'none')?'block':'block';
           document.getElementById('jahrgang2').style.display = (document.getElementById('jahrgang2').style.display == 'none')?'block':'block';
         }

         if(wahl == "" || wahl == "V" || wahl == "E"){
           document.getElementById('fakultaet1').style.display = (document.getElementById('fakultaet1').style.display == 'none')?'none':'none';
           document.getElementById('fakultaet2').style.display = (document.getElementById('fakultaet2').style.display == 'none')?'none':'none';
           document.getElementById('jahrgang1').style.display = (document.getElementById('jahrgang1').style.display == 'none')?'none':'none';
           document.getElementById('jahrgang2').style.display = (document.getElementById('jahrgang2').style.display == 'none')?'none':'none';
         }
       }

    <?php echo '</script'; ?>
>

    </head>
    <body onload="start();">

    <table height="100%" width="100%">
    <tr>
    <td width="10%">
      &nbsp;
    </td>
    <td width="80%">



    	<form action=?action=ldap4 method="POST" name="ldap">

        <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_pflichtfelder']->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['beteiligtenbenennung_error_text']->value;?>

   	          </td>
   	        </tr>
   	      </table><br>
   	    <?php }?>


        <table align="center" border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0"  width="96%" >
          <tr>
            <td>
              <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_vorname_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['beteiligtenbenennung_vorname_ico']->value == '1') {?><font color="#FF0000"><?php }?>
                <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_ldap3_field_vorname']->value;?>
</strong>
              <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_vorname_ico']->value == '1') {?></font><?php }?>
            </td>
            <td>
              <input <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_vorname_ico']->value == '1') {?>class="errorField"<?php }?> type="text" name="vorname" value="<?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_vorname']->value;?>
" size="40">
            </td>
          </tr>

          <tr>
            <td>
              <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_nachname_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['beteiligtenbenennung_nachname_ico']->value == '1') {?><font color="#FF0000"><?php }?>
                <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_ldap3_field_nachname']->value;?>
</strong>
              <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_nachname_ico']->value == '1') {?></font><?php }?>
            </td>
            <td>
              <input <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_nachname_ico']->value == '1') {?>class="errorField"<?php }?> type="text" name="nachname" value="<?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_nachname']->value;?>
" size="40">
            </td>
          </tr>

          <tr>
            <td>
              <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_mail_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['beteiligtenbenennung_mail_ico']->value == '1') {?><font color="#FF0000"><?php }?>
                <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_ldap3_field_mail']->value;?>
</strong>
              <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_mail_ico']->value == '1') {?></font><?php }?>

            </td>
            <td>
              <input <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_mail_ico']->value == '1') {?>class="errorField"<?php }?> type="text" name="mail" value="<?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_mail']->value;?>
" size="40"  onkeyup="checkUser(this.value)">
            </td>
          <tr>
            <td>
              &nbsp;
            </td>
            <td>
              <font size="2"><p id="validateCheck"></p></font>
            </td>

          <tr>
            <td>
              <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_beziehung_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['beteiligtenbenennung_beziehung_ico']->value == '1') {?><font color="#FF0000"><?php }?>
                <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_ldap3_field_beziehung']->value;?>
</strong>
              <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_beziehung_ico']->value == '1') {?></font><?php }?>

            </td>
            <td>
              <select <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_beziehung_ico']->value == '1') {?>class="errorField select1"<?php } else { ?>class="select1"<?php }?> name="beziehung" onchange="checkBez(this.value)">
                <option value="" <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_beziehung']->value == '') {
}?>             >Bitte ausw&auml;hlen</option>
                <option value="P" <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_beziehung']->value == 'P') {?> selected <?php }?> >ProfessorIn</option>
                <option value="L" <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_beziehung']->value == 'L') {?> selected <?php }?> >Lehrbeauftragte/r</option>
                <option value="R" <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_beziehung']->value == 'R') {?> selected <?php }?> >Rechenzentrum</option>
                <option value="E" <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_beziehung']->value == 'S') {?> selected <?php }?> >Externe/r</option>
                <option value="S" <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_beziehung']->value == 'S') {?> selected <?php }?> >StudentIn</option>
                <option value="V" <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_beziehung']->value == '') {?> selected <?php }?> >Verwaltungsmitarbeiter </option>

              </select>
            </td>
          </tr>

          <tr>
            <td>
              <div id="fakultaet1" style="display: none">
                <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_fakultaet_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['beteiligtenbenennung_fakultaet_ico']->value == '1') {?><font color="#FF0000"><?php }?>
                  <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_ldap3_field_fakultaet']->value;?>
</strong>
                <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_fakultaet_ico']->value == '1') {?></font><?php }?>

   	       </div>
              <div id="jahrgang1" style="display: none">


                <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_ag_ico']->value == '1') {?><font color="#FF0000"><?php }?>
                  <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_ldap3_field_ag']->value;?>
</strong>
                <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_ag_ico']->value == '1') {?></font><?php }?>

   	         <strong> / </strong>

   	         <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_jahrgang_ico']->value == '1') {?><font color="#FF0000"><?php }?>
   	           <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_ldap3_field_jahrgang']->value;?>
</strong>
   	         <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_jahrgang_ico']->value == '1') {?></font><?php }?>
   	       </div>
            </td>
            <td>
              <div id="fakultaet2" style="display: none">
   	         <input <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_fakultaet_ico']->value == '1') {?>class="errorField"<?php }?> type="text" name="fakultaet" value="<?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_fakultaet']->value;?>
" size="40">
   	       </div>
             <div id="jahrgang2" style="display: none">
                <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_ag_ico']->value == '1') {?><img src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/pflichtfelder/achtung_klein.gif"><?php }?>
   	         <input <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_ag_ico']->value == '1') {?>class="errorField"<?php }?> type="text" name="ag" value="<?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_ag']->value;?>
" size="2"> /

   	         <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_jahrgang_ico']->value == '1') {?><img src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/pflichtfelder/achtung_klein.gif"><?php }?>

                <select <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_jahrgang_ico']->value == '1') {?>class="errorField"<?php }?> name="jahrgang">
   	           <option value="">Bitte ausw&auml;hlen</option>
   	           <?php
$__section_table_data_3_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data'] : false;
$__section_table_data_3_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data_3_total = $__section_table_data_3_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data'] = new Smarty_Variable(array());
if ($__section_table_data_3_total != 0) {
for ($__section_table_data_3_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] = 0; $__section_table_data_3_iteration <= $__section_table_data_3_total; $__section_table_data_3_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']++){
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['jahrgang'];?>
" <?php if ($_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['select'] == '1') {?> selected <?php }?>><?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['jahrgang'];?>
</option>
   	           <?php
}
}
if ($__section_table_data_3_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data'] = $__section_table_data_3_saved;
}
?>
   	         </select>
   	       </div>
            </td>
          </tr>

        </table>
        <br />

        <p align="center">
          <input type="submit" name="senden">
        </p>
          </form>
    </td>
    <td width="10%">
      &nbsp;
    </td>
    </tr>
    </table>
    </body>
  </html>
<?php }?>


<?php if ($_smarty_tpl->tpl_vars['action']->value == 'frist') {?>

<html>
<head>
<link type="text/css" rel="stylesheet" href="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css">

<!-- Kalender Beginn // -->
	<link rel='stylesheet' href='dyncalendar/dynCalendar.css' type='text/css' media='screen'>
	<?php echo '<script'; ?>
 src='dyncalendar/browserSniffer.js' type='text/javascript' language='javascript'><?php echo '</script'; ?>
>
	<?php echo '<script'; ?>
 src='dyncalendar/dynCalendar.js' type='text/javascript' language='javascript'><?php echo '</script'; ?>
>
	<?php echo '<script'; ?>
 type='text/javascript'>
	
	<!--
		// Calendar callback. When a date is clicked on the calendar
		// this function is called so you can do as you want with it
		function calendarCallback(date, month, year)
		{
		    if(date<10){date='0'+date;}
		    if(month<10){month='0'+month;}
			date_tag = date;
			date_mon = month;
			date_jahr = year;
			document.getElementById('frist_tag').value = date_tag;
			document.getElementById('frist_mon').value = date_mon;
			document.getElementById('frist_jahr').value = date_jahr;
		}
	// -->
	
	<?php echo '</script'; ?>
>
<!-- Kalender Ende // -->


  <?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'; ?>
>
</head>

<body onload="if(document.ldap)document.ldap.suchstring.focus();return false;">
<br />
<br />
    <table border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0" width="100%" height="90%">

                       <form action="?action=frist2" method='post' name='ldap'>

                       <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_pflichtfelder']->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['beteiligtenbenennung_error_text']->value;?>

   	                         </td>
   	                       </tr>
   	                     </table><br>
   	                   <?php }?>

                        <table cellspacing="1" cellpadding="1" width="100%" border="0">
                            <tr>
                              <td>

                                <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_frist_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['beteiligtenbenennung_frist_ico']->value == '1') {?><font color="#FF0000"><?php }?>
                                  <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_frist_field_fristdat']->value;?>
</strong>
                                <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_frist_ico']->value == '1') {?></font><?php }?>

                              </td>
                              <td>
                                <input <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_fristtag_ico']->value == '1') {?>class="errorField"<?php }?> type="text" name="frist_tag" id="frist_tag" value="<?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_fristtag']->value;?>
" size=1>.<input <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_fristmon_ico']->value == '1') {?>class="errorField"<?php }?> type="text" name="frist_mon" id="frist_mon" value="<?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_fristmon']->value;?>
" size=1>.<input <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_fristjahr_ico']->value == '1') {?>class="errorField"<?php }?> type="text" name="frist_jahr" id="frist_jahr" value="<?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_fristjahr']->value;?>
" size=3>

								<?php echo '<script'; ?>
 language='JavaScript' type='text/javascript'>
								
									        <!--
									        	frist_cal = new dynCalendar('frist_cal', 'calendarCallback', 'dyncalendar/images/', '');
	                           //-->
	                           
	                           <?php echo '</script'; ?>
>
                              </td>
                            </tr>
                            <tr>
                              <td>
                                &nbsp;
                              </td>
                              <td>
                                &nbsp;
                              </td>
                            </tr>


                            <tr>
                              <td>
                                <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_frist_field_bemerk']->value;?>
</strong>
                              </td>
                              <td>
                                <textarea name='beteiligte_bemerkung' style='width:100%' rows='20' cols='5'><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_beteiligterbemerkung']->value;?>
</textarea>
                              </td>
                            </tr>



                            <tr>
                              <td colspan="2" align="center">
                                &nbsp;
                              </td>
                            </tr>

                            <tr>
                              <td colspan="2" align="center">
                                <input type="submit" name="senden" value="Beteiligten benachrichtigen">
                              </td>
                            </tr>

                        </table>

                      </form>
    </table>


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


<?php if ($_smarty_tpl->tpl_vars['action']->value == 'frist2') {?>
<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 bgcolor="white" text="black" link="blue" vlink="purple" alink="red">

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


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



<?php if ($_smarty_tpl->tpl_vars['action']->value == 'anschreiben') {?>

<html>
<head>
<link type="text/css" rel="stylesheet" href="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css">

<!-- Kalender Beginn // -->
	<link rel='stylesheet' href='dyncalendar/dynCalendar.css' type='text/css' media='screen'>
	<?php echo '<script'; ?>
 src='dyncalendar/browserSniffer.js' type='text/javascript' language='javascript'><?php echo '</script'; ?>
>
	<?php echo '<script'; ?>
 src='dyncalendar/dynCalendar.js' type='text/javascript' language='javascript'><?php echo '</script'; ?>
>
	<?php echo '<script'; ?>
 type='text/javascript'>
	
	<!--
		// Calendar callback. When a date is clicked on the calendar
		// this function is called so you can do as you want with it
		function calendarCallback(date, month, year)
		{
		    if(date<10){date='0'+date;}
		    if(month<10){month='0'+month;}
			date_tag = date;
			date_mon = month;
			date_jahr = year;
			document.getElementById('frist_tag').value = date_tag;
			document.getElementById('frist_mon').value = date_mon;
			document.getElementById('frist_jahr').value = date_jahr;
		}
	// -->
	
	<?php echo '</script'; ?>
>
<!-- Kalender Ende // -->

  <?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,|,forecolor,|,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'; ?>
>
</head>

<body onload="if(document.ldap)document.ldap.suchstring.focus();return false;">
<br />
<br />
    <table border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0" width="100%" height="90%">

                       <form action="?action=anschreiben1" method='post' name='ldap'>

                       <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_pflichtfelder']->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['beteiligtenbenennung_error_text']->value;?>

   	                         </td>
   	                       </tr>
   	                     </table><br>
   	                   <?php }?>

                        <table cellspacing="1" cellpadding="1" width="100%" border="0">
                            <tr>
                              <td>

                                <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_frist_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['beteiligtenbenennung_frist_ico']->value == '1') {?><font color="#FF0000"><?php }?>
                                  <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_frist_field_fristdat']->value;?>
</strong>
                                <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_frist_ico']->value == '1') {?></font><?php }?>

                              </td>
                              <td>
                                <input <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_fristtag_ico']->value == '1') {?>class="errorField"<?php }?> type="text" name="frist_tag" id="frist_tag" value="<?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_fristtag']->value;?>
" size=1>.<input <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_fristmon_ico']->value == '1') {?>class="errorField"<?php }?> type="text" name="frist_mon" id="frist_mon" value="<?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_fristmon']->value;?>
" size=1>.<input <?php if ($_smarty_tpl->tpl_vars['beteiligtenbenennung_fristjahr_ico']->value == '1') {?>class="errorField"<?php }?> type="text" name="frist_jahr" id="frist_jahr" value="<?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_fristjahr']->value;?>
" size=3>

								<?php echo '<script'; ?>
 language='JavaScript' type='text/javascript'>
									        <!--
									        	frist_cal = new dynCalendar('frist_cal', 'calendarCallback', 'dyncalendar/images/', '');
	                           //-->
	                           <?php echo '</script'; ?>
>
                              </td>
                            </tr>


                            <tr>
                              <td>
                                &nbsp;
                              </td>
                              <td>
                                &nbsp;
                              </td>
                            </tr>


                            <tr>
                              <td>
                                <strong><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_frist_field_bemerk']->value;?>
</strong>
                              </td>
                              <td>
                                <textarea name='beteiligten_bemerkung' style='width:100%' rows='20' cols='5'><?php echo $_smarty_tpl->tpl_vars['beteiligtenbenennung_beteiligtenbemerkung']->value;?>
</textarea>
                              </td>
                            </tr>



                            <tr>
                              <td colspan="2" align="center">
                                &nbsp;
                              </td>
                            </tr>

                            <tr>
                              <td colspan="2" align="center">
                                <input type="submit" name="senden" value="Beteiligter benachrichtigen">
                              </td>
                            </tr>

                        </table>

                      </form>
    </table>


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


<?php if ($_smarty_tpl->tpl_vars['action']->value == 'anschreiben1') {?>
<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 bgcolor="white" text="black" link="blue" vlink="purple" alink="red">

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


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