<?php
/* Smarty version 3.1.29, created on 2018-11-16 07:21:02
  from "/srv/www/htdocs-hvf/kurs/ideenmanagement/templates/login/register.html" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_5bee61ce1d1933_20740372',
  'file_dependency' => 
  array (
    '894108e55ed063d6575fa2040f1e06fd71766d88' => 
    array (
      0 => '/srv/www/htdocs-hvf/kurs/ideenmanagement/templates/login/register.html',
      1 => 1519736656,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5bee61ce1d1933_20740372 ($_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>


  <?php if ($_smarty_tpl->tpl_vars['register_aktivierung']->value == '1') {?>
      <html>
	  <head>
	  <title><?php echo $_smarty_tpl->tpl_vars['register_aktivierung_erfolg_titel']->value;?>
</title>
	  <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_login.css" type="text/css">
	    <style>
	     .squarebutton_blue{
	       width:100px;
	     }
	  </style>
	  </head>
	  <body>

	  <table height="100%" width="100%">
	  <tr>
	  <td width="20%">
	    &nbsp;
	  </td>
	  <td width="60%">
	  <div class="Header">
	     <div>
	        <div align="center"><?php echo $_smarty_tpl->tpl_vars['register_aktivierung_erfolg_titel']->value;?>
</div>
	     </div>
	  </div>
	  <div class="pat_list_box">
	  	<p>
	      <table align="center" border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0"  width="96%" >
	          <tr>
	              <td width="200px" align="center" valign="middle">
	                <img style="margin:10px;padding:10px;"src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/message_login.gif">
	              </td>
	              <td align="left">
	                <?php echo $_smarty_tpl->tpl_vars['register_aktivierung_erfolg_text']->value;?>

	                <br /><br />
	                <p align='center'>
	                  <a class="squarebutton_blue box" href="index.php"><span>Login</span></a>
	                </p>
	              </td>
	          </tr>
	      </table>
	  </div>
	  </td>
	  <td width="20%">
	    &nbsp;
	  </td>
	  </tr>
	  </table>
	  </form>
	  </body>
    </html>
  <?php }?>

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

    <html>
	<head>
	<title><?php echo $_smarty_tpl->tpl_vars['register_aktivierung_keinerfolg_titel']->value;?>
</title>
	<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_login.css" type="text/css">
	  <style>
	   .squarebutton_blue{
	     width:100px;
	   }
	</style>
	</head>
	<body>

	<table height="100%" width="100%">
	<tr>
	<td width="20%">
	  &nbsp;
	</td>
	<td width="60%">
	<div class="Header">
	   <div>
	      <div align="center"><?php echo $_smarty_tpl->tpl_vars['register_aktivierung_keinerfolg_titel']->value;?>
</div>
	   </div>
	</div>
	<div class="pat_list_box">
		<p>
	    <table align="center" border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0"  width="96%" >
	        <tr>
	            <td width="200px" align="center" valign="middle">
	              <img style="margin:10px;padding:10px;"src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/message_login.gif">
	            </td>
	            <td align="left">
	              <?php echo $_smarty_tpl->tpl_vars['register_aktivierung_keinerfolg_text']->value;?>

	              <br /><br />
	              <p align='center'>
	                <a class="squarebutton_blue box" href="index.php"><span>Login</span></a>
	              </p>
	            </td>
	        </tr>
	    </table>
	</div>
	</td>
	<td width="20%">
	  &nbsp;
	</td>
	</tr>
	</table>
	</form>
	</body>
    </html>
  <?php }?>

  <?php if ($_smarty_tpl->tpl_vars['register_aktivierung']->value == '3') {?>
  <html>
  <head>
  <title><?php echo $_smarty_tpl->tpl_vars['register_titel']->value;?>
</title>
  <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_login.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.register){
         document.register.vorname.focus();
       }else{
         return false;
       }

       checkUser(document.register.mail.value)

      checkBez('<?php echo $_smarty_tpl->tpl_vars['register_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"){
         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%">

  <div class="Header">
     <div>
        <div align="center"><?php echo $_smarty_tpl->tpl_vars['register_titel']->value;?>
</div>
     </div>
  </div>
  <div class="pat_list_box">
  	<p>

  	<form action=?action=register method="POST" name="register">

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

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

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

          </td>
          <td>
            <input <?php if ($_smarty_tpl->tpl_vars['register_mail_ico']->value == '1') {?>class="errorField"<?php }?> type="text" name="mail" value="<?php echo $_smarty_tpl->tpl_vars['register_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['register_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['register_beziehung_ico']->value == '1') {?><font color="#FF0000"><?php }?>
              <strong><?php echo $_smarty_tpl->tpl_vars['register_field_beziehung']->value;?>
</strong>
            <?php if ($_smarty_tpl->tpl_vars['register_beziehung_ico']->value == '1') {?></font><?php }?>

          </td>
          <td>
            <select <?php if ($_smarty_tpl->tpl_vars['register_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['register_beziehung_ico']->value == '') {
}?>             >Bitte ausw&auml;hlen</option>
              <option value="P" <?php if ($_smarty_tpl->tpl_vars['register_beziehung_ico']->value == 'P') {?> selected <?php }?> >ProfessorIn</option>
              <option value="L" <?php if ($_smarty_tpl->tpl_vars['register_beziehung_ico']->value == 'L') {?> selected <?php }?> >Lehrbeauftragte/r</option>
              <option value="S" <?php if ($_smarty_tpl->tpl_vars['register_beziehung_ico']->value == 'S') {?> selected <?php }?> >StudentIn</option>
              <option value="V" <?php if ($_smarty_tpl->tpl_vars['register_beziehung_ico']->value == 'V') {?> selected <?php }?> >Verwaltungsmitarbeiter </option>

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

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

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


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

 	         <strong> / </strong>

 	         <?php if ($_smarty_tpl->tpl_vars['register_jahrgang_ico']->value == '1') {?><font color="#FF0000"><?php }?>
 	           <strong><?php echo $_smarty_tpl->tpl_vars['register_field_jahrgang']->value;?>
</strong>
 	         <?php if ($_smarty_tpl->tpl_vars['register_jahrgang_ico']->value == '1') {?></font><?php }?>
 	       </div>
          </td>
          <td>
            <div id="fakultaet2" style="display: none">
 	         <input <?php if ($_smarty_tpl->tpl_vars['register_fakultaet_ico_ico']->value == '1') {?>class="errorField"<?php }?> type="text" name="fakultaet" value="<?php echo $_smarty_tpl->tpl_vars['register_fakultaet']->value;?>
" size="40">
 	       </div>
           <div id="jahrgang2" style="display: none">
              <?php if ($_smarty_tpl->tpl_vars['register_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['register_ag_ico']->value == '1') {?>class="errorField"<?php }?> type="text" name="ag" value="<?php echo $_smarty_tpl->tpl_vars['register_ag']->value;?>
" size="2"> /

 	         <?php if ($_smarty_tpl->tpl_vars['register_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['register_jahrgang_ico']->value == '1') {?>class="errorField"<?php }?> name="jahrgang">
 	           <option value="">Bitte ausw&auml;hlen</option>
 	           <?php
$__section_table_data_0_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data'] : false;
$__section_table_data_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data_0_total = $__section_table_data_0_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data'] = new Smarty_Variable(array());
if ($__section_table_data_0_total != 0) {
for ($__section_table_data_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] = 0; $__section_table_data_0_iteration <= $__section_table_data_0_total; $__section_table_data_0_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_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data'] = $__section_table_data_0_saved;
}
?>
 	         </select>
 	       </div>
          </td>
        </tr>

      </table>
      <br />

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

<?php if ($_smarty_tpl->tpl_vars['action']->value == 'register') {?>
  <?php if ($_smarty_tpl->tpl_vars['register_registrierung']->value == '1') {?>
    <html>
	<head>
	<title><?php echo $_smarty_tpl->tpl_vars['register_registrierung_erfolg_titel']->value;?>
</title>
	<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_login.css" type="text/css">
	  <style>
	   .squarebutton_blue{
	     width:100px;
	   }
	</style>
	</head>
	<body>

	<table height="100%" width="100%">
	<tr>
	<td width="20%">
	  &nbsp;
	</td>
	<td width="60%">
	<div class="Header">
	   <div>
	      <div align="center"><?php echo $_smarty_tpl->tpl_vars['register_registrierung_erfolg_titel']->value;?>
</div>
	   </div>
	</div>
	<div class="pat_list_box">
		<p>
	    <table align="center" border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0"  width="96%" >
	        <tr>
	            <td width="200px" align="center" valign="middle">
	              <img style="margin:10px;padding:10px;"src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/message_login.gif">
	            </td>
	            <td align="left">
	              <?php echo $_smarty_tpl->tpl_vars['register_registrierung_erfolg_text']->value;?>

	              <br />
	            </td>
	        </tr>
	    </table>
	</div>
	</td>
	<td width="20%">
	  &nbsp;
	</td>
	</tr>
	</table>
	</form>
	</body>
    </html>

  <?php }?>

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

    <html>
	<head>
	<title><?php echo $_smarty_tpl->tpl_vars['register_registrierung_keinerfolg_titel']->value;?>
</title>
	<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_login.css" type="text/css">
	  <style>
	   .squarebutton_blue{
	     width:100px;
	   }
	</style>
	</head>
	<body>

	<table height="100%" width="100%">
	<tr>
	<td width="20%">
	  &nbsp;
	</td>
	<td width="60%">
	<div class="Header">
	   <div>
	      <div align="center"><?php echo $_smarty_tpl->tpl_vars['register_registrierung_keinerfolg_titel']->value;?>
</div>
	   </div>
	</div>
	<div class="pat_list_box">
		<p>
	    <table align="center" border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0"  width="96%" >
	        <tr>
	            <td width="200px" align="center" valign="middle">
	              <img style="margin:10px;padding:10px;"src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/message_login.gif">
	            </td>
	            <td align="left">
	             <?php echo $_smarty_tpl->tpl_vars['register_registrierung_keinerfolg_text']->value;?>

	              <br />
	            </td>
	        </tr>
	    </table>
	</div>
	</td>
	<td width="20%">
	  &nbsp;
	</td>
	</tr>
	</table>
	</form>
	</body>
    </html>

  <?php }?>

<?php }
}
}
