<?php
/* Smarty version 3.1.29, created on 2018-02-27 16:28:19
  from "D:\xampp\htdocs\kurs\utf8\ideenmanagement\templates\login\index.html" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_5a9579137a6bb6_04394369',
  'file_dependency' => 
  array (
    '80c90c497bddf69574ee900dd103d1016fc42ea3' => 
    array (
      0 => 'D:\\xampp\\htdocs\\kurs\\utf8\\ideenmanagement\\templates\\login\\index.html',
      1 => 1519745297,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_5a9579137a6bb6_04394369 ($_smarty_tpl) {
?>
<!-- index gegen LDAP und DB bei externer Kennung-->
<?php if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
  <html>
  <head>
  <title><?php echo $_smarty_tpl->tpl_vars['index_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>

  <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 onload="if(document.login)document.login.user.focus();return false;">

  <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['index_titel']->value;?>
</div>
     </div>
  </div>
  <div class="pat_list_box">
  	<p>
  	  <?php if ($_smarty_tpl->tpl_vars['index_error']->value == '1') {?>
 	    <table width="70%" class="errorTable" align="center">
 	      <tr>
 	        <td>
 	          <img src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/pflichtfelder/achtung_gross.gif">
 	        </td>
 	        <td><b>Achtung!</b><br>
 	             <?php echo $_smarty_tpl->tpl_vars['index_error_text']->value;?>

 	        </td>
 	      </tr>
 	    </table>
 	    <br />
 	  <?php }?>
      <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">
                <table width="100%">
                  <form action=?action=anmeld method="POST" name="login">
                  <tr>
                    <td width="40%">
                      <strong><?php echo $_smarty_tpl->tpl_vars['index_field_user']->value;?>
</strong>
                    </td>
                    <td>
                      <input class="eingabe" type="text" name="user" value="<?php echo $_smarty_tpl->tpl_vars['index_user']->value;?>
" tabindex="1"></td>
                    </td>
                  </tr>
                  <tr>
                    <td width="40%">
                      <strong><?php echo $_smarty_tpl->tpl_vars['index_field_pass']->value;?>
</strong>
                    </td>
                    <td>
                      <input class="eingabe" type="password" name="password" tabindex="2"></td>
                    </td>
                  </tr>

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

                  <tr>
                    <td width="40%">
                      &nbsp;
                    </td>
                    <td>
                      <input type="submit" value="Login">
                    </td>
                  </tr>
                </table>
              </td>
          </tr>
      </table>
      <p align="center">
        <font color="red"><?php echo $_smarty_tpl->tpl_vars['index_register']->value;?>
</font>
        <!--
        <br />
        <br />
        <a class="squarebutton_blue box" href="register.php"><span>Registrierung</span></a>
        -->
      </p>
	  <br />
	  <br />


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

<?php if ($_smarty_tpl->tpl_vars['action']->value == 'anmeld') {?>
  <?php if ($_smarty_tpl->tpl_vars['index_login']->value == '1') {?>
      <meta http-equiv="refresh" content="0; URL=indexframe.php">
  <?php }
}?>


<?php if ($_smarty_tpl->tpl_vars['action']->value == 'register') {?>
<!--
Verwendetes Netz: <?php echo $_smarty_tpl->tpl_vars['register_adir']->value;?>

-->

  <?php if ($_smarty_tpl->tpl_vars['register_adir']->value == 'hsnet') {?>
  <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>
  </head>
  <body>

  <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=register2&art=<?php echo $_smarty_tpl->tpl_vars['register_adir']->value;?>
 method="POST" name="register">

  	    <?php if ($_smarty_tpl->tpl_vars['index_error']->value == '1') {?>
 	     <table width="70%" class="errorTable" align="center">
 	       <tr>
 	         <td>
 	           <img src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/pflichtfelder/achtung_gross.gif">
 	         </td>
 	         <td><b>Achtung!</b><br>
 	              <?php echo $_smarty_tpl->tpl_vars['register_error_text']->value;?>

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


      <table align="center" border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0"  width="96%" >
        <tr>
          <td>
              <strong><?php echo $_smarty_tpl->tpl_vars['register_field_beziehung']->value;?>
</strong>
          </td>
          <td>
            <select name='register_beziehung'>
              <option value="">Bitte ausw&auml;hlen</option>
              <option value="P">ProfessorIn</option>
              <option value="L">Lehrbeauftragte/r</option>
              <option value="V">Verwaltungsmitarbeiter </option>
            </select>
          </td>
        </tr>

        <tr>
          <td>
                <strong><?php echo $_smarty_tpl->tpl_vars['register_field_fakultaet']->value;?>
</strong>
          </td>
          <td>
             <input type="text" name="register_fakultaet" value="<?php echo $_smarty_tpl->tpl_vars['register_fakultaet']->value;?>
" size="40">
          </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['register_adir']->value == 'studnet') {?>
  <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>
  </head>
  <body>

  <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=register2&art=<?php echo $_smarty_tpl->tpl_vars['register_adir']->value;?>
 method="POST" name="register">


  	    <?php if ($_smarty_tpl->tpl_vars['index_error']->value == '1') {?>
 	     <table width="70%" class="errorTable" align="center">
 	       <tr>
 	         <td>
 	           <img src="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/pflichtfelder/achtung_gross.gif">
 	         </td>
 	         <td><b>Achtung!</b><br>
 	              <?php echo $_smarty_tpl->tpl_vars['register_error_text']->value;?>

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


      <table align="center" border="0" bordercolordark="white" bordercolorlight="lightgray" cellspacing="0"  width="96%" >
        <tr>
          <td>
             <strong><?php echo $_smarty_tpl->tpl_vars['register_field_ag']->value;?>
</strong>
 	         <strong> / </strong>
             <strong><?php echo $_smarty_tpl->tpl_vars['register_field_jahrgang']->value;?>
</strong>
          </td>
          <td>
 	         <input type="text" name="ag" value="<?php echo $_smarty_tpl->tpl_vars['register_ag']->value;?>
" size="2"> /
              <select name="jahrgang">
 	           <option value="">Bitte ausw&auml;hlen</option>
 	           <!-- if einmal aus schleife table_data und einmal selected aus Fehler Pflichtfelder -->
 	           <?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>
          </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 == 'register2') {?>
  <?php if ($_smarty_tpl->tpl_vars['index_login']->value == '1') {?>
      <meta http-equiv="refresh" content="0; URL=indexframe.php">
  <?php }
}
}
}
