<?php
/* Smarty version 3.1.29, created on 2021-04-28 08:37:53
  from "/srv/www/htdocs-hvf/kurs/dvm/templates/modern/bewerbung/bewerbung.html" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_608902c1bbe6d5_24641078',
  'file_dependency' => 
  array (
    'cea110597adeeb02d204398b11052793f6f078fb' => 
    array (
      0 => '/srv/www/htdocs-hvf/kurs/dvm/templates/modern/bewerbung/bewerbung.html',
      1 => 1618481738,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_608902c1bbe6d5_24641078 ($_smarty_tpl) {
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <title>Bewerbung DVM</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="Pragma" content="no-cache">
    <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;" onselectstart="return false" ondragstart="return false" oncontextmenu="return false" oncontext="return false">
    <table height="100%" width="100%">
      <tr>
        <td width="20%">
          &nbsp;
        </td>
        <td width="60%">
          <div class="Header">
            <div>
              <div align="center">Bewerbung DVM</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 }?>
            <p align="center">Herzlich willkommen, bitte loggen Sie sich hier mit TestID und TAN ein, um ihre Bewerbung einzureichen.
              <br>
            </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/deputat_icon.svg" height="100">
                </td>
                <td align="left">
                  <table width="100%">
                    <form action=?action=persdat method="POST" name="login">
                      <tr>
                        <td width="40%">
                          <strong>Persönliche ID</strong>
                        </td>
                        <td>
                          <input class="eingabe" type="text" name="user" value="<?php echo $_smarty_tpl->tpl_vars['index_user']->value;?>
" tabindex="1">
                        </td>
                      </tr>
                      <tr>
                        <td width="40%">
                          <strong>TAN</strong>
                        </td>
                        <td>
                          <input class="eingabe" type="password" name="password" tabindex="2">
                        </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">
            <!--
              <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 }
if ($_smarty_tpl->tpl_vars['action']->value == 'persdat') {?>
<html>
  <!DOCTYPE html>
  <html lang="en" class="no-js">
    <head>
      <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
      <meta name="mobile-web-app-capable" content="yes" />
      <meta name="apple-mobile-web-app-capable" content="yes" />
      <meta name="apple-mobile-web-app-status-bar-style" content="black" />
      <title>Persönliche Angaben prüfen</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" href="../jquery/jquery-ui.css">
      <?php echo '<script'; ?>
 src="../jquery/jquery-1.12.4.js"><?php echo '</script'; ?>
>
      <?php echo '<script'; ?>
 src="../jquery/jquery-ui.js"><?php echo '</script'; ?>
>
      <?php echo '<script'; ?>
 src="../jquery/globalize.js"><?php echo '</script'; ?>
>
      <?php echo '<script'; ?>
 src="../jquery/globalize.culture.de-DE.js"><?php echo '</script'; ?>
>
      <?php echo '<script'; ?>
 src="../jquery/jquery.mousewheel.js"><?php echo '</script'; ?>
>
      <style>
        .desc{
        width:400px;
        }
        .StandardTable thead th{
        background: lightgray;
        border: 1px solid #656565;
        font-size:12px;
        font-family:Arial;
        padding-top:5px;
        padding-bottom:5px;
        padding-left:5px;
        padding-right:5px;
        }
        textarea{
        border: 1px solid #888;
        height: 6.7em;
        width: 48.5em;
        }
        select{
        width:630px;
        }
        .select2{
        width:200px;
        }
        .fieldset1   {
        border: 1px solid red;
        }
        .fieldset2   {
        border: ridge green;
        display: block;
        margin-left: 20px;
        margin-right: 20px;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 20px;
        padding-right: 20px;
        }
        .legend1 {
        display: block;
        padding-left: 20px;
        padding-right: 20px;
        border: none;
        font-size: 30px;
        }
        .button {
        font: bold 11px Arial;
        text-decoration: none;
        background-color: #EEEEEE;
        color: #333333;
        padding: 2px 6px 2px 6px;
        border-top: 1px solid #CCCCCC;
        border-right: 1px solid #333333;
        border-bottom: 1px solid #333333;
        border-left: 1px solid #CCCCCC;
        }
        .spinner {
        width: 80px;
        height: 15px;
        font-size: 12px !important;
        }
      </style>
      <?php echo '<script'; ?>
 type="text/javascript">
        $(function() {
            $(".datepicker").datepicker({
            prevText: '&#x3c; zur&uuml;ck', prevStatus: '',
            prevJumpText: '&#x3c;&#x3c;', prevJumpStatus: '',
            changeMonth: true,
            changeYear: true,
            nextText: 'Vor &#x3e;', nextStatus: '',
            nextJumpText: '&#x3e;&#x3e;', nextJumpStatus: '',
            currentText: 'Heute', currentStatus: '',
            todayText: 'Heute', todayStatus: '',
            clearText: '-', clearStatus: '',
            closeText: 'schlie&szlig;en', closeStatus: '',
            monthNames: ['Januar','Februar','M&auml;rz','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'],
            monthNamesShort: ['Jan','Feb','M&auml;r','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'],
            dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
            dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
            dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
            weekHeader: 'Wo',
            weekStatus: 'Woche des Monats',
            showMonthAfterYear: false,
            showOn: 'focus',
            firstDay: 1,
            numberOfMonths : 1,
            yearRange: "c-30:+0",
            showButtonPanel : true,
            altField : "#datepicker_input",
            dateFormat : "dd.mm.yy",
            showWeek: true
            });
            $.datepicker._gotoToday = function(id) {
        $(id).datepicker('setDate', new Date()).datepicker('hide').blur();
            }
        });
      <?php echo '</script'; ?>
>
    </head>
    <body onselectstart="return false" ondragstart="return false" oncontextmenu="return false" oncontext="return false">
      <fieldset class="fieldset2">
        <legend class="legend1" align="center">
          <b>Persönliche Daten prüfen</b>
        </legend>
          <table width="70%" class="fortschrittTable" align="center">
          <tr>
            <td>
            </td>
            <td><b>Bewerbungsfortschritt</b><br>
              Für eine vollständige Bewerbung müssen folgende Seiten ausgefüllt werden:<br><br>
              <b>1) Persönliche Daten prüfen / ergänzen</b><br>
              <font color="grey">2) Erweiterte Angaben zur Hochschulzulassung</font><br>
              <font color="grey">3) Dokumentenupload</font><br>
              <font color="grey">4) Praxisstellenauswahl</font><br>
              <font color="grey">5) Übersicht / Daten prüfen</font><br>
              <font color="grey">6) Bewerbungsantrag speichern</font><br>
            </td>
          </tr>
        </table>
        <br>
        <?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 width="100%" border="0">
        <form action=?action=hzb method="POST" name="hzb">
          <tr>
            <td width="80%">
              <h1 align='center'>Willkommen zum Bewerbungsverfahren für den Studiengang Digitales Verwaltungsmanagement</h1><br>
              Bitte prüfen und ergänzen Sie hier Ihre persönlichen Daten!<br>
              <br>
              <br>
              <table width="100%" height="100%" border="0">
                <tr>
                  <td width="30%" valign="top">
                    <?php if ($_smarty_tpl->tpl_vars['erf_hig_anrede']->value == 1) {?><font color="red">* <?php }?><b>Anrede*:</b><?php if ($_smarty_tpl->tpl_vars['erf_hig_anrede']->value == 1) {?></font><?php }?>
                  </td>
                  <td>
                    <label for="w"><input type="radio" value="W" id="W" <?php if ($_smarty_tpl->tpl_vars['persdat_value_anrede']->value == "W") {?>checked<?php }?> name="anrede" size="20"> Frau</label><br>
                    <label for="m"><input type="radio" value="M" id="M" <?php if ($_smarty_tpl->tpl_vars['persdat_value_anrede']->value == "M") {?>checked<?php }?> name="anrede" size="20"> Herr</label>
                  </td>
                </tr>
                <tr>
                  <td width="30%" valign="top">
                    <?php if ($_smarty_tpl->tpl_vars['erf_hig_titel']->value == 1) {?><font color="red">* <?php }?><b>Titel:</b><?php if ($_smarty_tpl->tpl_vars['erf_hig_titel']->value == 1) {?></font><?php }?>
                  </td>
                  <td>
                    <input type="text" name="titel" size="60" value="<?php echo $_smarty_tpl->tpl_vars['persdat_value_titel']->value;?>
">
                  </td>
                </tr>
                <tr>
                  <td width="30%" valign="top">
                    &nbsp;
                  </td>
                  <td>
                    &nbsp;
                  </td>
                </tr>
                <tr>
                  <td width="30%" valign="top">
                    <?php if ($_smarty_tpl->tpl_vars['erf_hig_vorname']->value == 1) {?><font color="red">* <?php }?><b>Vornamen*:</b><?php if ($_smarty_tpl->tpl_vars['erf_hig_vorname']->value == 1) {?></font><?php }?>
                    <br><font size=1>(wie im Personalausweis angegeben)</font>
                  </td>
                  <td>
                    <input type="text" name="vorname" size="60" value="<?php echo $_smarty_tpl->tpl_vars['persdat_value_vorname']->value;?>
">
                  </td>
                </tr>
                <tr>
                  <td width="30%" valign="top">
                    <?php if ($_smarty_tpl->tpl_vars['erf_hig_nachname']->value == 1) {?><font color="red">* <?php }?><b>Nachname*:</b><?php if ($_smarty_tpl->tpl_vars['erf_hig_nachname']->value == 1) {?></font><?php }?>
                  </td>
                  <td>
                    <input type="text" name="nachname" size="60" value="<?php echo $_smarty_tpl->tpl_vars['persdat_value_nachname']->value;?>
">
                  </td>
                </tr>
                <tr>
                  <td width="30%" valign="top">
                    <?php if ($_smarty_tpl->tpl_vars['erf_hig_gebname']->value == 1) {?><font color="red">* <?php }?><b>Geburtsname:</b><?php if ($_smarty_tpl->tpl_vars['erf_hig_gebname']->value == 1) {?></font><?php }?>
                  </td>
                  <td>
                    <input type="text" name="gebname" size="60" value="<?php echo $_smarty_tpl->tpl_vars['persdat_value_gebname']->value;?>
">
                  </td>
                </tr>
                <tr>
                  <td width="30%" valign="top">
                    &nbsp;
                  </td>
                  <td>
                    &nbsp;
                  </td>
                </tr>
                <tr>
                  <td width="30%" valign="top">
                    <?php if ($_smarty_tpl->tpl_vars['erf_hig_str']->value == 1) {?><font color="red">* <?php }?><b>Straße mit Hausnr*:</b><?php if ($_smarty_tpl->tpl_vars['erf_hig_str']->value == 1) {?></font><?php }?>
                  </td>
                  <td>
                    <input type="text" name="str" size="60" value="<?php echo $_smarty_tpl->tpl_vars['persdat_value_str']->value;?>
">
                  </td>
                </tr>
                <tr>
                  <td width="30%" valign="top">
                    <?php if ($_smarty_tpl->tpl_vars['erf_hig_plz']->value == 1) {?><font color="red">* <?php }?><b>PLZ</b><?php if ($_smarty_tpl->tpl_vars['erf_hig_plz']->value == 1) {?></font><?php }?>
                  </td>
                  <td>
                    <input type="text" name="postal"  size="5" value="<?php echo $_smarty_tpl->tpl_vars['persdat_value_plz']->value;?>
">
                  </td>
                </tr>
                <tr>
                  <td width="30%" valign="top">
                    <?php if ($_smarty_tpl->tpl_vars['erf_hig_ort']->value == 1) {?><font color="red">* <?php }?><b>Ort*</b><?php if ($_smarty_tpl->tpl_vars['erf_hig_ort']->value == 1) {?></font><?php }?>
                  </td>
                  <td>
                    <input type="text" name="ort" size="49" value="<?php echo $_smarty_tpl->tpl_vars['persdat_value_ort']->value;?>
">
                  </td>
                </tr>
                <tr>
                  <td width="30%" valign="top">
                    &nbsp;
                  </td>
                  <td>
                    &nbsp;
                  </td>
                </tr>
                <tr>
                  <td width="30%" valign="top">
                    <?php if ($_smarty_tpl->tpl_vars['erf_hig_gebdat']->value == 1) {?><font color="red">* <?php }?><b>Geburtsdatum*:</b><?php if ($_smarty_tpl->tpl_vars['erf_hig_gebdat']->value == 1) {?></font><?php }?>
                  </td>
                  <td>
                    <input type="text" class="datepicker" name="gebdat" id="gebdat" value="<?php echo $_smarty_tpl->tpl_vars['persdat_value_gebdat']->value;?>
">
                  </td>
                </tr>
                <tr>
                  <td width="30%" valign="top">
                    <?php if ($_smarty_tpl->tpl_vars['erf_hig_gebort']->value == 1) {?><font color="red">* <?php }?><b>Geburtsort*:</b><?php if ($_smarty_tpl->tpl_vars['erf_hig_gebort']->value == 1) {?></font><?php }?>
                  </td>
                  <td>
                    <input type="text" name="gebort" id="gebort" size="60" value="<?php echo $_smarty_tpl->tpl_vars['persdat_value_gebort']->value;?>
">
                  </td>
                </tr>
                <tr>
                  <td width="30%" valign="top">
                    <?php if ($_smarty_tpl->tpl_vars['erf_hig_staat']->value == 1) {?><font color="red">* <?php }?><b>Staatsangehörigkeit*:</b><?php if ($_smarty_tpl->tpl_vars['erf_hig_staat']->value == 1) {?></font><?php }?>
                  </td>
                  <td>
                    <input type="text" name="staat" id="staat" size="60" value="<?php echo $_smarty_tpl->tpl_vars['persdat_value_staat']->value;?>
">
                  </td>
                </tr>
                <tr>
                  <td width="30%" valign="top">
                    &nbsp;
                  </td>
                  <td>
                    &nbsp;
                  </td>
                </tr>
                <tr>
                  <td width="30%" valign="top">
                    <?php if ($_smarty_tpl->tpl_vars['erf_hig_mail']->value == 1) {?><font color="red">* <?php }?><b>E-Mail Adresse*:</b><?php if ($_smarty_tpl->tpl_vars['erf_hig_mail']->value == 1) {?></font><?php }?>
                  </td>
                  <td>
                    <input type="text" name="mail" size="60" value="<?php echo $_smarty_tpl->tpl_vars['persdat_value_mail']->value;?>
">
                  </td>
                </tr>
                <tr>
                  <td width="30%" valign="top">
                    <?php if ($_smarty_tpl->tpl_vars['erf_hig_tel']->value == 1) {?><font color="red">* <?php }?><b>Telefonnummer oder Handynummer*:</b><?php if ($_smarty_tpl->tpl_vars['erf_hig_tel']->value == 1) {?></font><?php }?>
                  </td>
                  <td>
                    <input type="text" name="tel" size="60" value="<?php echo $_smarty_tpl->tpl_vars['persdat_value_tel']->value;?>
">
                  </td>
                </tr>
              </table>
              <br>
              *) Pflichtfelder
              <br />
              <br />
        <form action=?action=stelle method="POST" name="stelle">
        <fieldset>
        <legend>
        <b> Weiter zu den "Weiteren Angaben"</b>
        </legend>
        Bitte verwenden sie die entsprechenden "Weiter-" bzw. "Zurückbuttons". Bitte nicht die Pfeiltasten Ihres Browsers verwenden.
        <p align="center">
        <input type="submit" class="button" value="Weiter zum nächsten Schritt">
        </p>
        </form>
        </fieldset>
      </fieldset>
    </body>
  </html>
  <?php }?>
  <?php if ($_smarty_tpl->tpl_vars['action']->value == 'hzb') {?>
  <html>
  <!DOCTYPE html>
  <html lang="en" class="no-js">
  <head>
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  <meta name="mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <title>Weitere Angaben</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" href="../jquery/jquery-ui.css">
  <?php echo '<script'; ?>
 src="../jquery/jquery-1.12.4.js"><?php echo '</script'; ?>
>
  <?php echo '<script'; ?>
 src="../jquery/jquery-ui.js"><?php echo '</script'; ?>
>
  <?php echo '<script'; ?>
 src="../jquery/globalize.js"><?php echo '</script'; ?>
>
  <?php echo '<script'; ?>
 src="../jquery/globalize.culture.de-DE.js"><?php echo '</script'; ?>
>
  <?php echo '<script'; ?>
 src="../jquery/jquery.mousewheel.js"><?php echo '</script'; ?>
>
  <style>
  .desc{
  width:400px;
  }
  .StandardTable thead th{
  background: lightgray;
  border: 1px solid #656565;
  font-size:12px;
  font-family:Arial;
  padding-top:5px;
  padding-bottom:5px;
  padding-left:5px;
  padding-right:5px;
  }
  textarea{
  border: 1px solid #888;
  height: 6.7em;
  width: 48.5em;
  }
  select{
  width:385px;
  }
  .select2{
  width:200px;
  }
  .fieldset1   {
  border: 1px solid red;
  }
  .fieldset2   {
  border: ridge green;
  display: block;
  margin-left: 20px;
  margin-right: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  }
  .legend1 {
  display: block;
  padding-left: 20px;
  padding-right: 20px;
  border: none;
  font-size: 30px;
  }
  .button {
  font: bold 11px Arial;
  text-decoration: none;
  background-color: #EEEEEE;
  color: #333333;
  padding: 2px 6px 2px 6px;
  border-top: 1px solid #CCCCCC;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #CCCCCC;
  }
  .spinner {
  width: 80px;
  height: 15px;
  font-size: 12px !important;
  }
  </style>
  <?php echo '<script'; ?>
 type="text/javascript">
    $(function() {
        $(".datepicker").datepicker({
        prevText: '&#x3c; zur&uuml;ck', prevStatus: '',
        prevJumpText: '&#x3c;&#x3c;', prevJumpStatus: '',
        changeMonth: true,
        changeYear: true,
        nextText: 'Vor &#x3e;', nextStatus: '',
        nextJumpText: '&#x3e;&#x3e;', nextJumpStatus: '',
        currentText: 'Heute', currentStatus: '',
        todayText: 'Heute', todayStatus: '',
        clearText: '-', clearStatus: '',
        closeText: 'schlie&szlig;en', closeStatus: '',
        monthNames: ['Januar','Februar','M&auml;rz','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'],
        monthNamesShort: ['Jan','Feb','M&auml;r','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'],
        dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
        dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
        dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
        weekHeader: 'Wo',
        weekStatus: 'Woche des Monats',
        showMonthAfterYear: false,
        showOn: 'focus',
        firstDay: 1,
        numberOfMonths : 1,
        yearRange: "c-30:+0",
        showButtonPanel : true,
        altField : "#datepicker_input",
        dateFormat : "dd.mm.yy",
        showWeek: true
        });
        $.datepicker._gotoToday = function(id) {
    $(id).datepicker('setDate', new Date()).datepicker('hide').blur();
        }
    });
  <?php echo '</script'; ?>
>
  </head>
  <body onselectstart="return false" ondragstart="return false" oncontextmenu="return false" oncontext="return false">
  <fieldset class="fieldset2">
  <legend class="legend1" align="center">
  <b>Weitere Angaben</b>
  </legend>
          <table width="70%" class="fortschrittTable" align="center">
          <tr>
            <td>
            </td>
            <td><b>Bewerbungsfortschritt</b><br>
              Für eine vollständige Bewerbung müssen folgende Seiten ausgefüllt werden:<br><br>
              <del>1) Persönliche Daten prüfen / ergänzen</del><br>
              <b>2) Erweiterte Angaben zur Hochschulzulassung</b><br>
              <font color="grey">3) Dokumentenupload</font><br>
              <font color="grey">4) Praxisstellenauswahl</font><br>
              <font color="grey">5) Übersicht / Daten prüfen</font><br>
              <font color="grey">6) Bewerbungsantrag speichern</font><br>
            </td>
          </tr>
        </table>
        <br>
  <?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 width="100%" border="0">
  <form action=?action=dokumente method="POST" name="dokumente">
  <tr>
  <td width="60%" valign="top" colspan="2">
  <b>Angaben zur Hochschulzugangsberechtigung:</b>
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  <?php if ($_smarty_tpl->tpl_vars['erf_hig_hzbart']->value == 1) {?><font color="red">* <?php }?>Auf welchem Bildungsweg wurde/wird die HZB erreicht:*<?php if ($_smarty_tpl->tpl_vars['erf_hig_hzbart']->value == 1) {?></font><?php }?>
  </td>
  <td>
  <select name="hzbart">
  <?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;
?>
  <option 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)]['hzb_id'];?>
" <?php if ($_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)]['hzb_id'] == $_smarty_tpl->tpl_vars['weitere_value_hzbart']->value) {?>selected<?php }?>><?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)]['dtxt'];?>
</option>
  <?php
}
}
if ($__section_table_data1_0_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = $__section_table_data1_0_saved;
}
?>
  </select>
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  <?php if ($_smarty_tpl->tpl_vars['erf_hig_stadterwerb']->value == 1) {?><font color="red">* <?php }?>Stadt-/Kreis des Erwerbs der HZB im Inland?:<?php if ($_smarty_tpl->tpl_vars['erf_hig_stadterwerb']->value == 1) {?></font><?php }?>
  </td>
  <td>
  <input type="text" name="stadterwerb" size="60" value="<?php echo $_smarty_tpl->tpl_vars['weitere_value_stadterwerb']->value;?>
">
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  <?php if ($_smarty_tpl->tpl_vars['erf_hig_staaterwerbausl']->value == 1) {?><font color="red">* <?php }?>Staat bei Erwerb der HZB im Ausland:<?php if ($_smarty_tpl->tpl_vars['erf_hig_staaterwerbausl']->value == 1) {?></font><?php }?>
  </td>
  <td>
  <input type="text" name="staaterwerbausl" size="60" value="<?php echo $_smarty_tpl->tpl_vars['weitere_value_staaterwerbausl']->value;?>
">
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  &nbsp;
  </td>
  <td>
  &nbsp;
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  &nbsp;
  </td>
  <td>
  &nbsp;
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top" colspan="2">
  <b>Persönliche Besonderheiten</b><br>
  Falls ja, Nachweise bitte später unter Uploads hochladen.
  <br>
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  <u>Dienste:</u>
  </td>
  <td>
  &nbsp;
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  <?php if ($_smarty_tpl->tpl_vars['erf_hig_wehrzivil']->value == 1) {?><font color="red">* <?php }?>Leisten Sie derzeit bzw. haben Sie bereits Wehr- oder Zivildienst abgeleistet oder waren Sie Soldat auf Zeit und haben deshalb von einer früheren Bewerbung abgesehen? <i>(Nachweis bitte später unter Uploads hochladen)</i>*<?php if ($_smarty_tpl->tpl_vars['erf_hig_wehrzivil']->value == 1) {?></font><?php }?>
  </td>
  <td>
  <label id=1><input type="radio" name="wehrzivil" id=1 value="J" <?php if ($_smarty_tpl->tpl_vars['weitere_value_wehrzivil']->value == 'J') {?> checked<?php }?>> ja</label>&nbsp;&nbsp;&nbsp;
  <label id=2><input type="radio" name="wehrzivil" id=2 value="N" <?php if ($_smarty_tpl->tpl_vars['weitere_value_wehrzivil']->value == 'N') {?> checked<?php }?>> nein</label>
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  &nbsp;
  </td>
  <td>
  &nbsp;
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  <?php if ($_smarty_tpl->tpl_vars['erf_hig_entwicklung']->value == 1) {?><font color="red">* <?php }?>Leisten Sie derzeit bzw. haben Sie bereits einen mindestens einjährigen Entwicklungsdienst geleistet und deshalb von einer früheren Bewerbung abgesehen? <i>(Nachweis bitte später unter Uploads hochladen)</i>*<?php if ($_smarty_tpl->tpl_vars['erf_hig_entwicklung']->value == 1) {?></font><?php }?>
  </td>
  <td>
  <label id=1><input type="radio" name="entwicklung" id=1 value="J" <?php if ($_smarty_tpl->tpl_vars['weitere_value_entwicklung']->value == 'J') {?> checked<?php }?>> ja</label>&nbsp;&nbsp;&nbsp;
  <label id=2><input type="radio" name="entwicklung" id=2 value="N" <?php if ($_smarty_tpl->tpl_vars['weitere_value_entwicklung']->value == 'N') {?> checked<?php }?>> nein</label>
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  &nbsp;
  </td>
  <td>
  &nbsp;
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  <?php if ($_smarty_tpl->tpl_vars['erf_hig_fsj']->value == 1) {?><font color="red">* <?php }?>Leisten Sie derzeit bzw. haben Sie bereits ein mindestens einjähriges freiwilliges soziales oder ökologisches Jahr abgeleistet und deshalb von einer früheren Bewerbung abgesehen? <i>(Nachweis bitte später unter Uploads hochladen)</i>*<?php if ($_smarty_tpl->tpl_vars['erf_hig_fsj']->value == 1) {?></font><?php }?>
  </td>
  <td>
  <label id=1><input type="radio" name="fsj" id=1 value="J" <?php if ($_smarty_tpl->tpl_vars['weitere_value_fsj']->value == 'J') {?> checked<?php }?>> ja</label>&nbsp;&nbsp;&nbsp;
  <label id=2><input type="radio" name="fsj" id=2 value="N" <?php if ($_smarty_tpl->tpl_vars['weitere_value_fsj']->value == 'N') {?> checked<?php }?>> nein</label>
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  &nbsp;
  </td>
  <td>
  &nbsp;
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  <u>Studium / sonstige Qualifikation / sonstiger Abschluss</u>
  </td>
  <td>
  &nbsp;
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  <?php if ($_smarty_tpl->tpl_vars['erf_hig_stud_fertig']->value == 1) {?><font color="red">* <?php }?>Werden Sie bis zum 31. Juli 2021 ein Studium abgeschlossen haben?*<?php if ($_smarty_tpl->tpl_vars['erf_hig_stud_fertig']->value == 1) {?></font><?php }?>
  </td>
  <td>
  <label id=1><input type="radio" name="stud_fertig" id=1 value="J" <?php if ($_smarty_tpl->tpl_vars['weitere_value_stud_fertig']->value == 'J') {?> checked<?php }?>> ja</label>&nbsp;&nbsp;&nbsp;
  <label id=2><input type="radio" name="stud_fertig" id=2 value="N" <?php if ($_smarty_tpl->tpl_vars['weitere_value_stud_fertig']->value == 'N') {?> checked<?php }?>> nein</label>
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  &nbsp;
  </td>
  <td>
  &nbsp;
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  <?php if ($_smarty_tpl->tpl_vars['erf_hig_ahr_fertig']->value == 1) {?><font color="red">* <?php }?>Werden Sie bis zum  31. Juli 2021 eine der allgemeinen Hochschulreife und Fachhochschulreife als gleichwertig anerkannte Hochschulzugangsberechtigung nach § 58 Abs. 2 Nrn. 4-12 Landeshochschulgesetz erworben haben?*<?php if ($_smarty_tpl->tpl_vars['erf_hig_ahr_fertig']->value == 1) {?></font><?php }?>
  </td>
  <td>
  <label id=1><input type="radio" name="ahr_fertig" id=1 value="J" <?php if ($_smarty_tpl->tpl_vars['weitere_value_ahr_fertig']->value == 'J') {?> checked<?php }?>> ja</label>&nbsp;&nbsp;&nbsp;
  <label id=2><input type="radio" name="ahr_fertig" id=2 value="N" <?php if ($_smarty_tpl->tpl_vars['weitere_value_ahr_fertig']->value == 'N') {?> checked<?php }?>> nein</label>
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  &nbsp;
  </td>
  <td>
  &nbsp;
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top" colspan="2">
  <u>Staatsangehörigkeit</u><br>
  Angaben nur notwendig, falls Sie nicht die deutsche oder die Staatsangehörigkeit eines anderen Mitgliedstaates der Europäischen Union (EU) oder eines anderen Vertragsstaates des Abkommens über den Europäischen Wirtschaftsraum (EWR) besitzen.
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  <?php if ($_smarty_tpl->tpl_vars['erf_hig_deutsch_ewr']->value == 1) {?><font color="red">* <?php }?>Haben Sie die deutsche bzw. eine EU-Staatsbürgerschaft oder eine Staatsbürgerschaft eines Vertragsstaates des Abkommens über den EWR beantragt? (Einbürgerungszusicherung muss vorgelegt werden, bitte nehmen Sie deshalb Kontakt mit uns auf)*<?php if ($_smarty_tpl->tpl_vars['erf_hig_deutsch_ewr']->value == 1) {?></font><?php }?>
  </td>
  <td>
  <label id=1><input type="radio" name="deutsch_ewr" id=1 value="J" <?php if ($_smarty_tpl->tpl_vars['weitere_value_deutsch_ewr']->value == 'J') {?> checked<?php }?>> ja</label>&nbsp;&nbsp;&nbsp;
  <label id=2><input type="radio" name="deutsch_ewr" id=2 value="N" <?php if ($_smarty_tpl->tpl_vars['weitere_value_deutsch_ewr']->value == 'N') {?> checked<?php }?>> nein</label>
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  &nbsp;
  </td>
  <td>
  &nbsp;
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  &nbsp;
  </td>
  <td>
  &nbsp;
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top" colspan="2">
  <b>Studienortwunsch</b><br>
  Hinweis: Sie können für Ihren Studienort einen Wunsch angeben, den wir im Rahmen unserer Möglichkeiten bei der Zuweisung zur Hochschule berücksichtigen. Es besteht jedoch kein Anspruch auf Zuweisung zur gewünschten Hochschule.
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  Abschlussziel:
  </td>
  <td>
  Bachelor of Arts
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  <?php if ($_smarty_tpl->tpl_vars['erf_hig_wunsch_hs']->value == 1) {?><font color="red">* <?php }?>Studienortwunsch:*<?php if ($_smarty_tpl->tpl_vars['erf_hig_wunsch_hs']->value == 1) {?></font><?php }?>
  </td>
  <td>
  <label id=1><input type="radio" name="wunsch_hs" id=1 value="K" <?php if ($_smarty_tpl->tpl_vars['weitere_value_wunsch_hs']->value == 'K') {?> checked<?php }?>> Kehl</label>&nbsp;&nbsp;&nbsp;
  <label id=2><input type="radio" name="wunsch_hs" id=2 value="L" <?php if ($_smarty_tpl->tpl_vars['weitere_value_wunsch_hs']->value == 'L') {?> checked<?php }?>> Ludwigsburg</label>&nbsp;&nbsp;&nbsp;
  <label id=3><input type="radio" name="wunsch_hs" id=3 value="E" <?php if ($_smarty_tpl->tpl_vars['weitere_value_wunsch_hs']->value == 'E') {?> checked<?php }?>> Egal</label>
  </td>
  </tr>
  <tr>
  <td width="60%" valign="top">
  <?php if ($_smarty_tpl->tpl_vars['erf_hig_form_hs']->value == 1) {?><font color="red">* <?php }?>Form des Studiums:*<?php if ($_smarty_tpl->tpl_vars['erf_hig_form_hs']->value == 1) {?></font><?php }?>
  </td>
  <td>
  <label id=1><input type="radio" name="form_hs" id=1 value="1" <?php if ($_smarty_tpl->tpl_vars['weitere_value_form_hs']->value == '1') {?> checked<?php }?>> Erststudium</label>&nbsp;&nbsp;&nbsp;
  <label id=2><input type="radio" name="form_hs" id=2 value="2" <?php if ($_smarty_tpl->tpl_vars['weitere_value_form_hs']->value == '2') {?> checked<?php }?>> Zweitstudium</label>
  </td>
  </tr>
  </table>
  <br>
  *) Pflichtfelder
  <br />
  <br />
  <form action=?action=stelle method="POST" name="stelle">
  <fieldset>
  <legend>
  <b> Weiter zum Dokumentenupload</b>
  </legend>
  Bitte verwenden sie die entsprechenden "Weiter-" bzw. "Zurückbuttons". Bitte nicht die Pfeiltasten Ihres Browsers verwenden.
  <p align="center">
  <a href="?action=persdat" class="button">Zurück zu den persönlichen Angaben</a>  <input type="submit" class="button" value="Weiter zum Dokumentenupload">
  </p>
  </form>
  </fieldset>
  </fieldset>
  </body>
  </html>
  <?php }?>
  <?php if ($_smarty_tpl->tpl_vars['action']->value == 'dokumente') {?>
  <html>
  <!DOCTYPE html>
  <html lang="en" class="no-js">
  <head>
  <!--
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    -->
  <title>Anlagenupload und Praxisstellenauswahl DVM <!--(Bachelor of Arts - Digitales Verwaltungsmanagement) der Hochschulen Ludwigsburg und Kehl.--></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" href="../jquery/jquery-ui.css">
  <?php echo '<script'; ?>
 src="../jquery/jquery-1.12.4.js"><?php echo '</script'; ?>
>
  <?php echo '<script'; ?>
 src="../jquery/jquery-ui.js"><?php echo '</script'; ?>
>
  <?php echo '<script'; ?>
 src="../jquery/globalize.js"><?php echo '</script'; ?>
>
  <?php echo '<script'; ?>
 src="../jquery/globalize.culture.de-DE.js"><?php echo '</script'; ?>
>
  <?php echo '<script'; ?>
 src="../jquery/jquery.mousewheel.js"><?php echo '</script'; ?>
>
  <style>
  .desc{
  width:400px;
  }
  .StandardTable thead th{
  background: lightgray;
  border: 1px solid #656565;
  font-size:12px;
  font-family:Arial;
  padding-top:5px;
  padding-bottom:5px;
  padding-left:5px;
  padding-right:5px;
  }
  textarea{
  border: 1px solid #888;
  height: 6.7em;
  width: 48.5em;
  }
  select{
  width:630px;
  }
  .select2{
  width:200px;
  }
  .fieldset1   {
  border: 1px solid red;
  }
  .fieldset2   {
  border: ridge green;
  display: block;
  margin-left: 20px;
  margin-right: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  }
  .legend1 {
  display: block;
  padding-left: 20px;
  padding-right: 20px;
  border: none;
  font-size: 30px;
  }
  .button {
  font: bold 11px Arial;
  text-decoration: none;
  background-color: #EEEEEE;
  color: #333333;
  padding: 2px 6px 2px 6px;
  border-top: 1px solid #CCCCCC;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #CCCCCC;
  }
  .spinner {
  width: 80px;
  height: 15px;
  font-size: 12px !important;
  }
  </style>
  <?php echo '<script'; ?>
>
    $( function() {
         $( ".spinner" ).spinner({
      change: function (event, ui) {
         save_note();
      },
      spin: function (event, ui) {
          save_note();
      },
        numberFormat: "i",
        min:1,
        <?php if ($_smarty_tpl->tpl_vars['hzb_radio']->value == 'j') {?>
            step: 0.1,
            max:6,
        <?php }?>
        <?php if ($_smarty_tpl->tpl_vars['hzb_radio']->value == 'n') {?>
          <?php if ($_smarty_tpl->tpl_vars['skala_value_n']->value == "Noten") {?>
            step: 0.1,
            max:6,
          <?php }?>
          <?php if ($_smarty_tpl->tpl_vars['skala_value_n']->value == "Punkte") {?>
          step: 1,
          max:15,
          <?php }?>
        <?php }?>
        decimals:2
      });
      Globalize.culture( "de-DE" );
    } );

       function trackKeys(evnt,regEx) {
       	var keyCode = evnt.keyCode ? evnt.keyCode : evnt.which;
     	return !!String.fromCharCode(keyCode).match(regEx);
       }
     //-->
  <?php echo '</script'; ?>
>
  <link rel="stylesheet" type="text/css" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/component.css" />
  <?php echo '<script'; ?>
 type="text/javascript">
    (function(e,t,n){
        var r=e.querySelectorAll("html")[0];
        r.className=r.className.replace(/(^|\s)no-js(\s|$)/,"$1js$2")
    })
    (document,window,0);

  <?php echo '</script'; ?>
>
  <?php echo '<script'; ?>
 language='JavaScript' type='text/javascript'>
    <!--
    function start() {
     <?php
$__section_table_data1_1_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1'] : false;
$__section_table_data1_1_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data1']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data1_1_total = $__section_table_data1_1_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = new Smarty_Variable(array());
if ($__section_table_data1_1_total != 0) {
for ($__section_table_data1_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] = 0; $__section_table_data1_1_iteration <= $__section_table_data1_1_total; $__section_table_data1_1_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']++){
$_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] = $__section_table_data1_1_iteration;
?>
      setBgColor(document.getElementById('dokumentenart_<?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)]['up_id'];?>
'))
     <?php
}
}
if ($__section_table_data1_1_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = $__section_table_data1_1_saved;
}
?>

       <?php if ($_smarty_tpl->tpl_vars['hzb_radio']->value == 'j') {?>
         document.getElementById("hzb_fade").style.display = "block";
         document.getElementById("schnitt_fade").style.display = "none";
       <?php } elseif ($_smarty_tpl->tpl_vars['hzb_radio']->value == 'n') {?>
         document.getElementById("hzb_fade").style.display = "none";
         document.getElementById("schnitt_fade").style.display = "block";
       <?php } else { ?>
         document.getElementById("hzb_fade").style.display = "none";
         document.getElementById("schnitt_fade").style.display = "none";
       <?php }?>
    }

     //-->

     function show_hzb(){

       if (document.getElementById("hzb_j").checked == true) {
       document.getElementById("hzb_fade").style.display = "block";
       document.getElementById("schnitt_fade").style.display = "none";
       }
       if (document.getElementById("hzb_n").checked == true) {
       document.getElementById("hzb_fade").style.display = "none";
       document.getElementById("schnitt_fade").style.display = "block";
       }
     }
  <?php echo '</script'; ?>
>
  <?php echo '<script'; ?>
 type="text/javascript">
    function save_note() {
        var hzbnote = document.getElementById('hzbnote').value;
        var durchschnittnote = document.getElementById('durchschnittnote').value;
        var erwerb_hzb = document.getElementById('erwerb_hzb').value;
        var ele = document.getElementsByName('hzb');
    for(i = 0; i < ele.length; i++) {
                  if(ele[i].checked)
                  var radios = ele[i].value;
        }

        if(radios == 'j'){
         var notenskala = "Noten";
        }
        if(radios == 'n'){
         var notenskala = document.getElementById('notenskala_n').value
        }

        $.ajax({
          type: 'POST',
          url: 'save_note.php',
          data: {
            get_hzbnote: hzbnote,
            get_erwerb_hzb: erwerb_hzb,
            get_radio: radios,
            get_notenskala: notenskala,
            get_durchschnittnote: durchschnittnote
          },
          success: function (response) {

          }
        });
    }
  <?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 type="text/javascript">
      $(function() {
          $(".datepicker").datepicker({
          prevText: '&#x3c; zur&uuml;ck', prevStatus: '',
          prevJumpText: '&#x3c;&#x3c;', prevJumpStatus: '',
          changeMonth: true,
          changeYear: true,
          nextText: 'Vor &#x3e;', nextStatus: '',
          nextJumpText: '&#x3e;&#x3e;', nextJumpStatus: '',
          currentText: 'Heute', currentStatus: '',
          todayText: 'Heute', todayStatus: '',
          clearText: '-', clearStatus: '',
          closeText: 'schlie&szlig;en', closeStatus: '',
          monthNames: ['Januar','Februar','M&auml;rz','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'],
          monthNamesShort: ['Jan','Feb','M&auml;r','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Dez'],
          dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
          dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
          dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
          weekHeader: 'Wo',
          weekStatus: 'Woche des Monats',
          showMonthAfterYear: false,
          showOn: 'focus',
          firstDay: 1,
          numberOfMonths : 1,
          yearRange: "c-30:+0",
          showButtonPanel : true,
          altField : "#datepicker_input",
          dateFormat : "dd.mm.yy",
          showWeek: true
          });
          $.datepicker._gotoToday = function(id) {
      $(id).datepicker('setDate', new Date()).datepicker('hide').blur();
          }
      });
    <?php echo '</script'; ?>
>
  </head>
  <body onload="start();" onselectstart="return false" ondragstart="return false" oncontextmenu="return false" oncontext="return false">
  <fieldset class="fieldset2">
  <legend class="legend1" align="center">
  <b>Dokumentenupload</b>
  </legend>
            <table width="70%" class="fortschrittTable" align="center">
            <tr>
              <td>
              </td>
              <td><b>Bewerbungsfortschritt</b><br>
                Für eine vollständige Bewerbung müssen folgende Seiten ausgefüllt werden:<br><br>
                <del>1) Persönliche Daten prüfen / ergänzen</del><br>
                <del>2) Erweiterte Angaben zur Hochschulzulassung</del><br>
                <b>3) Dokumentenupload</b><br>
                <font color="grey">4) Praxisstellenauswahl</font><br>
                <font color="grey">5) Übersicht / Daten prüfen</font><br>
                <font color="grey">6) Bewerbungsantrag speichern</font><br>
              </td>
            </tr>
          </table>
        <br>
  <?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 }?>
  <fieldset class="fieldset1">
  <legend>
  <b>Benötigte Dokumente</b>
  </legend>
  <ul>
  <li>Nachweis der Hochschulzugangsberechtigung, sofern vorhanden oder Nachweis der letzten beiden Schulzeugnisse, sofern die HZB noch nicht vorhanden ist (siehe <a href="../media/zeugnishandbuch_dvm_21.pdf" target="_new">„Zeugnishandbuch“</a>).<br>
  Das HZB Zeugnis muss bis 31. Juli 2021 nachgereicht werden, sonst ist keine Zulassung möglich.<br>
  Hinweis für Bewerber/innen mit ausländischen Zeugnissen: Anerkennung des Zeugnisses nötig (Hinweise hierzu im <a href="../media/zeugnishandbuch_dvm_21.pdf" target="_new">„Zeugnishandbuch“</a>)
  </li>
  <li>Tabellarischer Lebenslauf</li>
  <!--<li>Nachweis des bestandenen Studierfähigkeitstest DVM</li>-->
  <!-- <li>Bei Nichtvolljährigkeit: Einverständniserklärung der/des Erziehungsberechtigten</li>-->
  </ul>
  </fieldset>
  <br>
  <br>
        <fieldset>
          <legend>
            <b>Schritt 1: Zusatzangaben zur Bewerbung</b>
          </legend>
          Bitte kreuzen Sie die entsprechende Feld an, falls die Angabe auf Sie zutrifft:
          <br>
          <br>
          <form action=?action=zusatz method="POST" name="zusatz">
            <table border="0" width="100%">
              <tr>
                <td colspan="2">
                  <b>Schwerbehinderung</b>
                </td>
              </tr>
              <tr>
                <td width="30" valign="top">
                  <input type="checkbox" value="J" id="behinderung" <?php if ($_smarty_tpl->tpl_vars['zusatz_value_behinderung']->value == "J") {?>checked<?php }?> name="behinderung" onclick="document.zusatz.submit();">
                </td>
                <td>
                  <label for="behinderung">Bei Ihnen liegt eine Schwerbehinderung vor und sie möchten diese angeben (freiwillig). Nachweis auf dieser Seite bitte hochladen.</label>
                </td>
              </tr>
            </table>
          </form>
        </fieldset>
        <br>
        <br>
  <fieldset>
  <legend>
  <b>Schritt 2: Dateien auswählen und hochladen</b>
  </legend>
  <table border="0" width="100%">
  <tr>
  <td width="30%" valign="top">
  <ol>
  <li>Die PDF-Dateien können nacheinander hochgeladen werden.</li>
  <li>Roter Button anklicken, um die einzelne Datei vom PC auszuwählen</li>
  <li>Danach "PDF-Hochladen..." klicken, so dass die Datei unter Schritt 2 angezeigt wird</li>
  <li>Ggf. die Schritte solange wiederholen, bis alle Dokumente hochgeladen sind</li>
  </ol>
  </td>
  </td>
  <td width="40%">
  <form action=?action=upload method="POST" enctype="multipart/form-data" name="upload">
  <table border="0" cellpadding="0" cellspacing="0" width="100%" >
  <tr>
  <td width="100%"align="center" >
  <div>
  <input type="file" name="file" id="file-5" class="inputfile inputfile-4" />
  <label for="file-5">
  <figure>
  <svg xmlns="https://www.w3.org/2000/svg" width="20" height="17" viewBox="0 0 20 17">
  <path d="M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"/>
  </svg>
  </figure>
  <span style='float:center;'>PDF-Datei ausw&auml;hlen&hellip;<br>(hier klicken)</span>
  </label>
  </div>
  <?php echo '<script'; ?>
 src="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/js/custom-file-input.js"><?php echo '</script'; ?>
>
  </td>
  </tr>
  <tr>
  <td width="100%" align="center" colspan="2">
  <br>
  <input type="submit" class="button" value="PDF-Hochladen&hellip;" name="B1" size="20">
  </td>
  </tr>
  </table>
  </form>
  </td>
  <td width="30%">
  &nbsp;
  </td>
  </tr>
  </table>
  </fieldset>
  <br />
  <br />
  <fieldset>
  <legend>
  <b>Schritt 3: Erfasste Dateien kontrollieren</b>
  </legend>
  <form action=?action=descr method="POST" name="descr">
  <table cellspacing="0" cellpadding="2" width="100%" border="1">
  <tr>
  <td>
  <b>lfd.Nr.</b>
  </td>
  <td>
  <b>Datei</b>
  </td>
  <td>
  <b>Dokumentenbeschreibung eingeben</b>
  </td>
  <td align="center">
  <b>Edit</b>
  </td>
  <tr>
  <?php
$__section_table_data1_2_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1'] : false;
$__section_table_data1_2_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data1']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data1_2_total = $__section_table_data1_2_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = new Smarty_Variable(array());
if ($__section_table_data1_2_total != 0) {
for ($__section_table_data1_2_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] = 0; $__section_table_data1_2_iteration <= $__section_table_data1_2_total; $__section_table_data1_2_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']++){
$_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] = $__section_table_data1_2_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 (isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] : null);?>

  </td>
  <td>
  <a href='<?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)]['file'];?>
' target='_new'><?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)]['basename'];?>
</a>
  </td>
  <td width="450">
  <select name="desc_<?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)]['up_id'];?>
" id="dokumentenart_<?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)]['up_id'];?>
" size=1>
  <option style="background-color:#E4CACA;" value="">Auswahl</option>
  <option style="background-color:#FFFFFF;" value="Bewerbung" <?php if ($_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)]['beschreibung'] == 'Bewerbung') {?> selected <?php }?>>Bewerbung</option>
  <option style="background-color:#FFFFFF;" value="HZB" <?php if ($_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)]['beschreibung'] == 'HZB') {?> selected <?php }?>>HZB</option>
  <option style="background-color:#FFFFFF;" value="Zeugnis 1" <?php if ($_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)]['beschreibung'] == 'Zeugnis 1') {?> selected <?php }?>>Zeugnis 1</option>
  <option style="background-color:#FFFFFF;" value="Zeugnis 2" <?php if ($_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)]['beschreibung'] == 'Zeugnis 2') {?> selected <?php }?>>Zeugnis 2</option>
  <option style="background-color:#FFFFFF;" value="Lebenslauf" <?php if ($_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)]['beschreibung'] == 'Lebenslauf') {?> selected <?php }?>>Lebenslauf</option>
  <option style="background-color:#FFFFFF;" value="abgeschlossenes Studium" <?php if ($_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)]['beschreibung'] == 'abgeschlossenes Studium') {?> selected <?php }?>>abgeschlossenes Studium (Abschlusszeugnis)</option>
  <option style="background-color:#FFFFFF;" value="sonstige Qualifikation" <?php if ($_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)]['beschreibung'] == 'sonstige Qualifikation') {?> selected <?php }?>>sonstige Qualifikation</option>
  <option style="background-color:#FFFFFF;" value="Nachweis Wehrpflicht, Entwicklungshelfer" <?php if ($_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)]['beschreibung'] == 'Nachweis Wehrpflicht, Entwicklungshelfer') {?> selected <?php }?>>Nachweis Wehrpflicht, Entwicklungshelfer</option>
  <option style="background-color:#FFFFFF;" value="Nachweis Schwerbehinderung" <?php if ($_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)]['beschreibung'] == 'Nachweis Schwerbehinderung') {?> selected <?php }?>>Nachweis Schwerbehinderung (falls in Schritt 1 angegeben)</option>
  <option style="background-color:#FFFFFF;" value="sonstiges Dokument" <?php if ($_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)]['beschreibung'] == 'sonstiges Dokument') {?> selected <?php }?>>sonstiges Dokument</option>
  </select>
  </td>
  <td align="center">
  <a href="?action=del&up_id=<?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)]['up_id'];?>
"><img title = 'Datei l&ouml;schen' border="0" height=10 src="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/drop.png"></a>
  </td>
  </tr>
  <?php }?>
  <?php
}
}
if ($__section_table_data1_2_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = $__section_table_data1_2_saved;
}
?>
  <!-- Damit der ausgew�hlte Dropdownbutton in der richtigen Hintergrundsfarbe erscheint -->
  <?php echo '<script'; ?>
>
    try {
        var setBgColor = function (select) {
          <?php
$__section_table_data1_3_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1'] : false;
$__section_table_data1_3_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data1']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data1_3_total = $__section_table_data1_3_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = new Smarty_Variable(array());
if ($__section_table_data1_3_total != 0) {
for ($__section_table_data1_3_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] = 0; $__section_table_data1_3_iteration <= $__section_table_data1_3_total; $__section_table_data1_3_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']++){
$_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] = $__section_table_data1_3_iteration;
?>
            select.style.backgroundColor = document.getElementById('dokumentenart_<?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)]['up_id'];?>
').options[select.selectedIndex].style.backgroundColor;
          <?php
}
}
if ($__section_table_data1_3_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = $__section_table_data1_3_saved;
}
?>
        };
        <?php
$__section_table_data1_4_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1'] : false;
$__section_table_data1_4_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data1']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data1_4_total = $__section_table_data1_4_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = new Smarty_Variable(array());
if ($__section_table_data1_4_total != 0) {
for ($__section_table_data1_4_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] = 0; $__section_table_data1_4_iteration <= $__section_table_data1_4_total; $__section_table_data1_4_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']++){
$_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] = $__section_table_data1_4_iteration;
?>
          document.getElementById('dokumentenart_<?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)]['up_id'];?>
').onchange = function () { setBgColor(this); document.descr.submit(); };
        <?php
}
}
if ($__section_table_data1_4_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = $__section_table_data1_4_saved;
}
?>
    } catch (error) { throw error; }
    //# sourceURL=izowuw.js
  <?php echo '</script'; ?>
>
  </table>
  </fieldset>
  </form>
  <br />
  <br />
  <fieldset>
  <legend>
  <b>Schritt 4: HZB Note</b>
  </legend>
  <form action=?action=skala method="POST" name="skala">
  Haben Sie schon eine HZB Note?<br><br>
  <label for="hzb_j"><input type="radio" value="j" id="hzb_j" name="hzb" <?php if ($_smarty_tpl->tpl_vars['hzb_radio']->value == 'j') {?> checked <?php }?> size="20" onclick="show_hzb(); save_note(); document.skala.submit();"> Ja</label><br>
  <label for="hzb_n"><input type="radio" value="n" id="hzb_n" name="hzb" <?php if ($_smarty_tpl->tpl_vars['hzb_radio']->value == 'n') {?> checked <?php }?> size="20" onclick="show_hzb(); save_note(); document.skala.submit();"> Nein</label>
  <br>
  <br>
  <div id="hzb_fade">
  <table>
    <tr>
      <td>Bitte geben Sie hier Ihre HZB Note ein:</td>
      <td><input type="text" class="spinner" name="hzbnote"  id="hzbnote" size="101" value="<?php echo $_smarty_tpl->tpl_vars['hzb_hzbnote']->value;?>
" onKeypress="return trackKeys(event,/[0-9,]/);"> Notensystem (1-6)<td>
    <tr>
      <td>Datum des Erwerbs der HZB:</td>
      <td><input type="text" class="datepicker" name="erwerb_hzb" id="erwerb_hzb" onchange="save_note();" value="<?php echo $_smarty_tpl->tpl_vars['erwerb_hzb']->value;?>
"></td>
    </tr>
  </table>
  <!--
    <select name="notenskala_j" id="notenskala_j" class="select2" onchange="save_note(); document.skala.submit();">
    <option value="Noten" <?php if ($_smarty_tpl->tpl_vars['skala_value_j']->value == "Noten") {?> selected <?php }?>>Notensystem (1-6)</option>
    <option value="Punkte" <?php if ($_smarty_tpl->tpl_vars['skala_value_j']->value == "Punkte") {?> selected <?php }?>>Punktesystem (1-15)</option>
    </select>
    -->
  </div>
  <div id="schnitt_fade">
  Erfassen Sie hier den Durchschnitt Ihrer Zeugnisse laut Zeugnishandbuch:  <input type="text" class="spinner" name="durchschnittnote"  id="durchschnittnote" size="101" value="<?php echo $_smarty_tpl->tpl_vars['hzb_durchschnitt']->value;?>
" onchange='save_note();' onKeypress="return trackKeys(event,/[0-9,]/);">
  <select name="notenskala_n" id="notenskala_n" class="select2" onchange="save_note(); document.skala.submit();">
  <option value="Noten" <?php if ($_smarty_tpl->tpl_vars['skala_value_n']->value == "Noten") {?> selected <?php }?>>Notensystem (1-6)</option>
  <option value="Punkte" <?php if ($_smarty_tpl->tpl_vars['skala_value_n']->value == "Punkte") {?> selected <?php }?>>Punktesystem (1-15)</option>
  </select>
  </div>
  </form>
  <br>
  </fieldset>
  <br />
  <br />
  <form action=?action=stelle method="POST" name="stelle">
  <fieldset>
  <legend>
  <b>Schritt 5: Weiter zur Praxisstellenauswahl</b>
  </legend>
  Bitte verwenden sie die entsprechenden "Weiter-" bzw. "Zurückbuttons". Bitte nicht die Pfeiltasten Ihres Browsers verwenden.
  <p align="center">
  <a href="?action=hzb" class="button">Zurück zu den erweiterten Angaben</a>  <input type="submit" class="button" value="Weiter zur Praxisstellenauswahl">
  </p>
  </form>
  </fieldset>
  </fieldset>
  </body>
  </html>
  <?php }?>
  <?php if ($_smarty_tpl->tpl_vars['action']->value == 'stelle') {?>
  <html>
  <!DOCTYPE html>
  <html lang="en" class="no-js">
  <head>
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  <meta name="mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <?php echo '<script'; ?>
 src="../jquery/jquery-1.12.4.js"><?php echo '</script'; ?>
>
  <?php echo '<script'; ?>
 src="../jquery/bootstrap.min.js"><?php echo '</script'; ?>
>
  <link href="../jquery/bootstrap.min.css" rel="stylesheet" />
  <title>Anlagenupload und Praxisstellenauswahl DVM <!--(Bachelor of Arts - Digitales Verwaltungsmanagement) der Hochschulen Ludwigsburg und Kehl.--></title>
  <link type="text/css" rel="stylesheet" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css">
  <style>
  .desc{
  width:400px;
  }
  .StandardTable thead th{
  background: lightgray;
  border: 1px solid #656565;
  font-size:12px;
  font-family:Arial;
  padding-top:5px;
  padding-bottom:5px;
  padding-left:5px;
  padding-right:5px;
  }
  textarea{
  border: 1px solid #888;
  height: 6.7em;
  width: 48.5em;
  }
  select{
  width:630px;
  }
  .fieldset1   {
  border: 1px solid red;
  }
  .fieldset2   {
  border: ridge green;
  display: block;
  margin-left: 20px;
  margin-right: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  }
  .legend1 {
  display: block;
  padding-left: 20px;
  padding-right: 20px;
  border: none;
  font-size: 30px;
  }
  .button {
  font: bold 11px Arial;
  text-decoration: none;
  background-color: #EEEEEE;
  color: #333333;
  padding: 2px 6px 2px 6px;
  border-top: 1px solid #CCCCCC;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #CCCCCC;
  }
  #inner {
  display: table;
  margin: 0 auto;
  width:630px;
  }
  #outer {
  width:100%
  }
  </style>
  <link rel="stylesheet" type="text/css" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/component.css" />
  <?php echo '<script'; ?>
 type="text/javascript">
    (function(e,t,n){
        var r=e.querySelectorAll("html")[0];
        r.className=r.className.replace(/(^|\s)no-js(\s|$)/,"$1js$2")
    })
    (document,window,0);
  <?php echo '</script'; ?>
>
  
  <?php echo '<script'; ?>
>
    $(document).ready(function(){
    	load_data();
    	function load_data(query)
    	{
    		$.ajax({
    			url:"fetch_dst.php",
    			method:"post",
    			data:{query:query},
    			success:function(data)
    			{
    				/* $('#result').html(data); */
    				$("#stelle").empty().append(data);
    			}
    		});
    	}

    	$('#search_text').keyup(function(){
    		var search = $(this).val();
    		if(search != '')
    		{
    			load_data(search);
    		}
    		else
    		{
    			load_data();
    		}
    	});
    });
  <?php echo '</script'; ?>
>
  
  </head>
  <body onload="if(document.save_praxis)document.save_praxis.search_text.focus();return false;" onselectstart="return false" ondragstart="return false" oncontextmenu="return false" oncontext="return false">
  <body>
  <fieldset class="fieldset2">
  <legend class="legend1" align="center">
  <b>Praxisstellenauswahl</b>
  </legend>
            <table width="70%" class="fortschrittTable" align="center">
            <tr>
              <td>
              </td>
              <td><b>Bewerbungsfortschritt</b><br>
                Für eine vollständige Bewerbung müssen folgende Seiten ausgefüllt werden:<br><br>
                <del>1) Persönliche Daten prüfen / ergänzen</del><br>
                <del>2) Erweiterte Angaben zur Hochschulzulassung</del><br>
                <del>3) Dokumentenupload</del><br>
                <b>4) Praxisstellenauswahl</b><br>
                <font color="grey">5) Übersicht / Daten prüfen</font><br>
                <font color="grey">6) Bewerbungsantrag speichern</font><br>
              </td>
            </tr>
          </table>
        <br>
  <?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 }?>
  <fieldset class="fieldset1">
  <legend>
  <b>Hinweise</b>
  </legend>
  <ul>
  <li>Bitte nennen hier bis zu <?php echo $_smarty_tpl->tpl_vars['index_stelle_anz']->value;?>
 Ausbildungsstellen.</li>
  <li>Die gewählten Ausbildungsstellen erhalten automatisch Ihre Bewerbung übermittelt.</li>
  <li>Sie erhalten gegebenenfalls von den ausgewählten Behörden eine Einladung zur Vorstellung.</li>
  </ul>
  </fieldset>
  <br>
  <br>
  <fieldset>
  <legend>
  <b>Schritt 1: Praxisstellenauswahl</b>
  </legend>
  <table border="0" width="100%">
  <tr>
  <td width="30%" valign="top">
  <ol>
  <li>Die erste Stelle im Dropdownfeld markieren.</li>
  <li>Danach "Markierte Stelle auswählen..." klicken,<br>so dass die Stelle unter Schritt 2 angezeigt wird</li>
  <li>Ggf. die Schritte solange wiederholen. Maximal <?php echo $_smarty_tpl->tpl_vars['index_stelle_anz']->value;?>
 Stellen sind möglich.</li>
  </ol>
  </td>
  </td>
  <td width="40%">
  <form action=?action=save_praxis method="POST" enctype="multipart/form-data" name="save_praxis">
  <div id="outer">
  <div id="inner">
  <div class="form-group">
  <div class="input-group">
  <span class="input-group-addon">Suche</span>
  <input type="text" name="search_text" id="search_text" placeholder="Dienststelle suchen" class="form-control" />
  </div>
  </div>
  </div>
  </div>
  <table border="0" cellpadding="0" cellspacing="0" width="100%" >
  <tr>
  <td width="100%"align="center" >
  <div>
  <select name="stelle" id="stelle" size=15>
  </select>
  <br>
  <br>
  </div>
  </td>
  </tr>
  <tr>
  <td width="100%" align="center" colspan="2">
  <input type="submit" class="button" value="Markierte Stelle auswählen&hellip;" name="B1" size="20">
  </td>
  </tr>
  </table>
  </form>
  </td>
  <td width="30%">
  &nbsp;
  </td>
  </tr>
  </table>
  </fieldset>
  </form>
  <br />
  <br />
  <fieldset>
  <legend>
  <b>Schritt 2: Ausgewählte Praxisstellen</b>
  </legend>
  <?php if ($_smarty_tpl->tpl_vars['index_wahl_prx']->value == 1) {?>
  <form action=?action=hswahl method="POST" name="hswahl">
  <?php }?>
  <?php if ($_smarty_tpl->tpl_vars['index_wahl_prx']->value == 0) {?>
  <form action=?action=overview method="POST" name="overview">
  <?php }?>
  <table cellspacing="0" cellpadding="2" width="100%" border="1">
  <tr>
  <td>
  <b>lfd.Nr.</b>
  </td>
  <td>
  <b>Praxisstelle</b>
  </td>
  <!--
    <td>
      <b>Adresse</b>
    </td>
    -->
  <td>
  <b>Mailadresse</b>
  </td>
  <td align="center">
  <b>Edit</b>
  </td>
  <tr>
  <?php
$__section_table_data2_5_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2'] : false;
$__section_table_data2_5_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data2']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data2_5_total = $__section_table_data2_5_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = new Smarty_Variable(array());
if ($__section_table_data2_5_total != 0) {
for ($__section_table_data2_5_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] = 0; $__section_table_data2_5_iteration <= $__section_table_data2_5_total; $__section_table_data2_5_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']++){
$_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] = $__section_table_data2_5_iteration;
?>
  <?php if ((isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] : null) != '') {?>
  <tr>
  <td>
  <?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] : null);?>

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

  </td>
  <!--
    <td width="450">
      <?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)]['str'];?>
, <?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)]['plz'];?>
 <?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)]['ort'];?>

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

  </td>
  <td align="center">
  <a href="?action=del_stelle&wu_id=<?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)]['wu_id'];?>
"><img title = 'Stelle l&ouml;schen' border="0" height=10 src="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/images/drop.png"></a>
  </td>
  </tr>
  <?php }?>
  <?php
}
}
if ($__section_table_data2_5_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = $__section_table_data2_5_saved;
}
?>
  </table>
  </fieldset>
  <br />
  <br />
  <!-- Hochschulwahl oder Zusammenfassung -->
  <?php if ($_smarty_tpl->tpl_vars['index_wahl_prx']->value == 0) {?>
  <fieldset>
  <legend>
  <b>Schritt 3: Weiter zur Übersicht und Datencheck</b>
  </legend>
  Bitte verwenden sie die entsprechenden "Weiter-" bzw. "Zurückbuttons". Bitte nicht die Pfeiltasten Ihres Browsers verwenden.
  <p align="center">
  <a href="?action=dokumente" class="button">Zurück zum Dokumentenupload</a>  <input type="submit" class="button" value="Weiter zur Übersicht">
  </p>
  </fieldset>
  <?php }?>
  <?php if ($_smarty_tpl->tpl_vars['index_wahl_prx']->value == 1) {?>
  <fieldset>
  <legend>
  <b>Schritt 3: Weiter zur Hochschulwahl</b>
  </legend>
  <p align="center">
  <a href="?action=dokumente" class="button">Zurück zum Dokumentenupload</a>  <input type="submit" class="button" value="Weiter zur Hochschulwahl">
  </p>
  </fieldset>
  <?php }?>
  </form>
  </fieldset>
  </body>
  </html>
  <?php }?>
  <!--
  <?php if ($_smarty_tpl->tpl_vars['action']->value == 'hswahl') {?>
  <html>
  <!DOCTYPE html>
  <html lang="en" class="no-js">
  <head>
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  <meta name="mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <title>Bewerbung DVM</title>
  <link type="text/css" rel="stylesheet" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css">
  <style>
  .desc{
  width:400px;
  }
  .StandardTable thead th{
  background: lightgray;
  border: 1px solid #656565;
  font-size:12px;
  font-family:Arial;
  padding-top:5px;
  padding-bottom:5px;
  padding-left:5px;
  padding-right:5px;
  }
  textarea{
  border: 1px solid #888;
  height: 6.7em;
  width: 48.5em;
  }
  select{
  width:630px;
  }
  .fieldset1   {
  border: 1px solid red;
  }
  .fieldset2   {
  border: ridge green;
  display: block;
  margin-left: 20px;
  margin-right: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  }
  .legend1 {
  display: block;
  padding-left: 20px;
  padding-right: 20px;
  border: none;
  font-size: 30px;
  }
  .button {
  font: bold 11px Arial;
  text-decoration: none;
  background-color: #EEEEEE;
  color: #333333;
  padding: 2px 6px 2px 6px;
  border-top: 1px solid #CCCCCC;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #CCCCCC;
  }
  </style>
  <link rel="stylesheet" type="text/css" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/component.css" />
  <?php echo '<script'; ?>
 type="text/javascript">
    (function(e,t,n){
        var r=e.querySelectorAll("html")[0];
        r.className=r.className.replace(/(^|\s)no-js(\s|$)/,"$1js$2")
    })
    (document,window,0);
  <?php echo '</script'; ?>
>
  </head>
  <body onselectstart="return false" ondragstart="return false" oncontextmenu="return false" oncontext="return false">
  <fieldset class="fieldset2">
  <legend class="legend1" align="center">
  <b>Hochschulswahl</b>
  </legend>
  <?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 }?>
  <fieldset class="fieldset1">
  <legend>
  <b>Hinweise</b>
  </legend>
  <ul>
  <li>Bitte wählen Sie eine Hochschule</li>
  </ul>
  </fieldset>
  <br>
  <br>
  <fieldset>
  <legend>
  <b>Schritt 1: Hochschulwahl</b>
  </legend>
  <table border="0" width="100%">
  <tr>
  <td width="30%" valign="top">
  &nbsp;
  </td>
  </td>
  <td width="40%">
  <form action=?action=overview method="POST" name="overview">
  <table border="0" cellpadding="0" cellspacing="0" width="100%" >
  <tr>
  <td width="100%"align="center" >
  <div>
  <select name="hs" size=2>
  <option value="Kehl" <?php if ($_smarty_tpl->tpl_vars['hsw_value_hs']->value == 'Kehl') {?> selected <?php }?>>Hochschule Kehl</option>
  <option value="Ludwigsburg" <?php if ($_smarty_tpl->tpl_vars['hsw_value_hs']->value == 'Ludwigsburg') {?> selected <?php }?>>Hochschule Ludwigsburg</option>
  </select>
  <br>
  <br>
  </div>
  </td>
  </tr>
  </table>
  </td>
  <td width="30%">
  &nbsp;
  </td>
  </tr>
  </table>
  </fieldset>
  <br />
  <br />
  <fieldset>
  <legend>
  <b>Schritt 2: Weiter zur Übersicht und Datencheck</b>
  </legend>
  Bitte verwenden sie die entsprechenden "Weiter-" bzw. "Zurückbuttons". Bitte nicht die Pfeiltasten Ihres Browsers verwenden.
  <p align="center">
  <a href="?action=stelle" class="button">Zurück zur Praxisstellenauswahl</a>  <input type="submit" class="button" value="Weiter zur Übersicht">
  </p>
  </fieldset>
  </form>
  </fieldset>
  </body>
  </html>
  <?php }?>
  -->
  <?php if ($_smarty_tpl->tpl_vars['action']->value == 'overview') {?>
  <html>
  <!DOCTYPE html>
  <head>
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  <meta name="mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <title>Bewerbung DVM</title>
  <link type="text/css" rel="stylesheet" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css">
  <?php echo '<script'; ?>
 type="text/javascript">
    function senden_aktiv(){
       if ( document.getElementById("versicherung").checked == true ){
          document.getElementById("senden").disabled = false;
       }else{
          document.getElementById("senden").disabled = true;
       }
     }
  <?php echo '</script'; ?>
>
  <style>
  .desc{
  width:400px;
  }
  .StandardTable thead th{
  background: lightgray;
  border: 1px solid #656565;
  font-size:12px;
  font-family:Arial;
  padding-top:5px;
  padding-bottom:5px;
  padding-left:5px;
  padding-right:5px;
  }
  textarea{
  border: 1px solid #888;
  height: 6.7em;
  width: 48.5em;
  }
  select{
  width:630px;
  }
  .fieldset1   {
  border: 1px solid red;
  }
  .fieldset2   {
  border: ridge green;
  display: block;
  margin-left: 20px;
  margin-right: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  }
  .legend1 {
  display: block;
  padding-left: 20px;
  padding-right: 20px;
  border: none;
  font-size: 30px;
  }
  .button {
  font: bold 11px Arial;
  text-decoration: none;
  background-color: #EEEEEE;
  color: #333333;
  padding: 2px 6px 2px 6px;
  border-top: 1px solid #CCCCCC;
  border-right: 1px solid #333333;
  border-bottom: 1px solid #333333;
  border-left: 1px solid #CCCCCC;
  }
  </style>
  <link rel="stylesheet" type="text/css" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/component.css" />
  <?php echo '<script'; ?>
 type="text/javascript">
    (function(e,t,n){
        var r=e.querySelectorAll("html")[0];
        r.className=r.className.replace(/(^|\s)no-js(\s|$)/,"$1js$2")
    })
    (document,window,0);
  <?php echo '</script'; ?>
>
  </head>
  <body onselectstart="return false" ondragstart="return false" oncontextmenu="return false" oncontext="return false">
  <fieldset class="fieldset2">
  <legend class="legend1" align="center">
  <b>Übersicht</b>
  </legend>
            <table width="70%" class="fortschrittTable" align="center">
            <tr>
              <td>
              </td>
              <td><b>Bewerbungsfortschritt</b><br>
                Für eine vollständige Bewerbung müssen folgende Seiten ausgefüllt werden:<br><br>
                <del>1) Persönliche Daten prüfen / ergänzen</del><br>
                <del>2) Erweiterte Angaben zur Hochschulzulassung</del><br>
                <del>3) Dokumentenupload</del><br>
                <del>4) Praxisstellenauswahl</del><br>
                <b>5) Übersicht / Daten prüfen</b><br>
                <font color="grey">6) Bewerbungsantrag speichern</font><br>
              </td>
            </tr>
          </table>
        <br>
  <?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 }?>

  <fieldset>
  <legend>
  <b>Persönliche Daten</b>
  </legend>
  <table cellspacing="0" cellpadding="2" width="100%" border="1">
    <tr>
      <td width="200">
        <b>Anrede</b>
      </td>
      <td>
        <?php echo $_smarty_tpl->tpl_vars['overview_anrede']->value;?>

      </td>
    </tr>
    <tr>
      <td>
        <b>Titel</b>
      </td>
      <td>
        <?php echo $_smarty_tpl->tpl_vars['overview_titel']->value;?>

      </td>
    </tr>
    <tr>
      <td>
        <b>Vorname</b>
      </td>
      <td>
        <?php echo $_smarty_tpl->tpl_vars['overview_vorname']->value;?>

      </td>
    </tr>
    <tr>
      <td>
        <b>Nachname</b>
      </td>
      <td>
        <?php echo $_smarty_tpl->tpl_vars['overview_nachname']->value;?>

      </td>
    </tr>
    <tr>
      <td>
        <b>Geburtsname</b>
      </td>
      <td>
        <?php echo $_smarty_tpl->tpl_vars['overview_gebname']->value;?>

      </td>
    </tr>
    <tr>
      <td>
        <b>Geburtsdatum</b>
      </td>
      <td>
        <?php echo $_smarty_tpl->tpl_vars['overview_gebdat']->value;?>

      </td>
    </tr>
    <tr>
      <td>
        <b>Geburtsort</b>
      </td>
      <td>
        <?php echo $_smarty_tpl->tpl_vars['overview_gebort']->value;?>

      </td>
    </tr>
    <tr>
      <td>
        <b>Straße</b>
      </td>
      <td>
        <?php echo $_smarty_tpl->tpl_vars['overview_str']->value;?>

      </td>
    </tr>
    <tr>
      <td>
        <b>PLZ Ort</b>
      </td>
      <td>
        <?php echo $_smarty_tpl->tpl_vars['overview_plz']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['overview_ort']->value;?>

      </td>
    </tr>
    <tr>
      <td>
        <b>Staatsangehörigkeit</b>
      </td>
      <td>
        <?php echo $_smarty_tpl->tpl_vars['overview_staat']->value;?>

      </td>
    </tr>
    <tr>
      <td>
        <b>Mailadresse</b>
      </td>
      <td>
        <?php echo $_smarty_tpl->tpl_vars['overview_mail']->value;?>

      </td>
    </tr>
    <tr>
      <td>
        <b>Telefon</b>
      </td>
      <td>
        <?php echo $_smarty_tpl->tpl_vars['overview_tel']->value;?>

      </td>
    </tr>
  </table>
   <p align="center">
  <br><br>
  Bitte verwenden sie die entsprechenden "Weiter-" bzw. "Zurückbuttons". Bitte nicht die Pfeiltasten Ihres Browsers verwenden.<br>
  <br>
  <a href="?action=persdat" class="button">Zurück zu den persönlichen Daten</a>
  </p>
  </fieldset>
  <br />
  <br />


    <fieldset>
    <legend>
    <b>Erweiterte Angaben</b>
    </legend>
    <table cellspacing="0" cellpadding="2" width="100%" border="1">
      <tr>
        <td width="70%">
          <b>Bildungsweg</b>
        </td>
        <td>
          <?php echo $_smarty_tpl->tpl_vars['overview_hzbart']->value;?>

        </td>
      </tr>
      <tr>
        <td>
          <b>Stadt-/Kreis des Erwerbs der HZB im Inland</b>
        </td>
        <td>
          <?php echo $_smarty_tpl->tpl_vars['overview_stadterwerb']->value;?>

        </td>
      </tr>
      <tr>
        <td>
          <b>Staat bei Erwerb der HZB im Ausland</b>
        </td>
        <td>
          <?php echo $_smarty_tpl->tpl_vars['overview_staaterwerbausl']->value;?>

        </td>
      </tr>
      <tr>
        <td>
          <b>Leisten Sie derzeit bzw. haben Sie bereits Wehr- oder Zivildienst abgeleistet oder waren Sie Soldat auf Zeit und haben deshalb von einer früheren Bewerbung abgesehen</b>
        </td>
        <td>
          <?php if ($_smarty_tpl->tpl_vars['overview_wehrzivil']->value == 'J') {?>Ja<?php } else { ?>Nein<?php }?>
        </td>
      </tr>
      <tr>
        <td>
          <b>Leisten Sie derzeit bzw. haben Sie bereits einen mindestens einjährigen Entwicklungsdienst geleistet und deshalb von einer früheren Bewerbung abgesehen?</b>
        </td>
        <td>
          <?php if ($_smarty_tpl->tpl_vars['overview_entwicklung']->value == 'J') {?>Ja<?php } else { ?>Nein<?php }?>
        </td>
      </tr>
      <tr>
        <td>
          <b>Leisten Sie derzeit bzw. haben Sie bereits ein mindestens einjähriges freiwilliges soziales oder ökologisches Jahr abgeleistet und deshalb von einer früheren Bewerbung abgesehen?</b>
        </td>
        <td>
          <?php if ($_smarty_tpl->tpl_vars['overview_fsj']->value == 'J') {?>Ja<?php } else { ?>Nein<?php }?>
        </td>
      </tr>
      <tr>
        <td>
          <b>Werden Sie bis zum 31. Juli 2021 ein Studium abgeschlossen haben?</b>
        </td>
        <td>
          <?php if ($_smarty_tpl->tpl_vars['overview_stud_fertig']->value == 'J') {?>Ja<?php } else { ?>Nein<?php }?>
        </td>
      </tr>
      <tr>
        <td>
          <b>Werden Sie bis zum 31. Juli 2021 eine der allgemeinen Hochschulreife und Fachhochschulreife als gleichwertig anerkannte Hochschulzugangsberechtigung nach § 58 Abs. 2 Nrn. 4-12 Landeshochschulgesetz erworben haben?</b>
        </td>
        <td>
          <?php if ($_smarty_tpl->tpl_vars['overview_ahr_fertig']->value == 'J') {?>Ja<?php } else { ?>Nein<?php }?>
        </td>
      </tr>
      <tr>
        <td>
          <b>Angaben nur notwendig, falls Sie nicht die deutsche oder die Staatsangehörigkeit eines anderen Mitgliedstaates der Europäischen Union (EU) oder eines anderen Vertragsstaates des Abkommens über den Europäischen Wirtschaftsraum (EWR) besitzen.<br>Haben Sie die deutsche bzw. eine EU-Staatsbürgerschaft oder eine Staatsbürgerschaft eines Vertragsstaates des Abkommens über den EWR beantragt? (Einbürgerungszusicherung muss vorgelegt werden, bitte nehmen Sie deshalb Kontakt mit uns auf).</b>
        </td>
        <td>
          <?php if ($_smarty_tpl->tpl_vars['overview_deutsch_ewr']->value == 'J') {?>Ja<?php } else { ?>Nein<?php }?>
        </td>
      </tr>
      <tr>
        <td>
          <b>Studienortwunsch</b>
        </td>
        <td>
          <?php if ($_smarty_tpl->tpl_vars['overview_wunsch_hs']->value == 'K') {?>Kehl<?php }?>
          <?php if ($_smarty_tpl->tpl_vars['overview_wunsch_hs']->value == 'L') {?>Ludwigsburg<?php }?>
          <?php if ($_smarty_tpl->tpl_vars['overview_wunsch_hs']->value == 'E') {?>Egal<?php }?>
        </td>
      </tr>
      <tr>
        <td>
          <b>Form des Studiums</b>
        </td>
        <td>
          <?php if ($_smarty_tpl->tpl_vars['overview_form_hs']->value == '1') {?>Erststudium<?php }?>
          <?php if ($_smarty_tpl->tpl_vars['overview_form_hs']->value == '2') {?>Zweitstudium<?php }?>
        </td>
      </tr>
    </table>
     <p align="center">
    <br><br>
    Bitte verwenden sie die entsprechenden "Weiter-" bzw. "Zurückbuttons". Bitte nicht die Pfeiltasten Ihres Browsers verwenden.<br>
    <br>
    <a href="?action=hzb" class="button">Zurück zu den erweiterten Angaben</a>
    </p>
    </fieldset>
    <br />
  <br />

  <fieldset>
  <legend>
  <b>Hochgeladene Dokumente</b>
  </legend>
  <table cellspacing="0" cellpadding="2" width="100%" border="1">
  <tr>
  <td width="10%">
  <b>lfd.Nr.</b>
  </td>
  <td>
  <b>Datei</b>
  </td>
  <td>
  <b>Dokumentenbeschreibung</b>
  </td>
  <tr>
  <?php
$__section_table_data1_6_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1'] : false;
$__section_table_data1_6_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data1']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data1_6_total = $__section_table_data1_6_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = new Smarty_Variable(array());
if ($__section_table_data1_6_total != 0) {
for ($__section_table_data1_6_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index'] = 0; $__section_table_data1_6_iteration <= $__section_table_data1_6_total; $__section_table_data1_6_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['index']++){
$_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] = $__section_table_data1_6_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 (isset($_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data1']->value['rownum'] : null);?>

  </td>
  <td width="60%">
  <a href='<?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)]['file'];?>
' target='_new'><?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)]['basename'];?>
</a>
  </td>
  <td width="450">
  <?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)]['beschreibung'];?>

  </td>
  </tr>
  <?php }?>
  <?php
}
}
if ($__section_table_data1_6_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data1'] = $__section_table_data1_6_saved;
}
?>
  </table>
  <p align="center">
  <br><br>
  Bitte verwenden sie die entsprechenden "Weiter-" bzw. "Zurückbuttons". Bitte nicht die Pfeiltasten Ihres Browsers verwenden.<br>
  <br>
  <a href="?action=dokumente" class="button">Zurück zum Dokumentenupload</a>
  </p>
  </fieldset>
  <br />
  <br />
  <fieldset>
  <legend>
  <b>Erfasste Note</b>
  </legend>
  <!--
    $smarty->assign('overview_zeugnisschnittpunkte', "");
    $smarty->assign('overview_zeugnisschnittnote', "");
    $smarty->assign('overview_hzbpunkte', "");
    $smarty->assign('overview_hzbnote', $row_note['hzb']);
    $smarty->assign('overview_hinweis_hzb', 0);
    -->
  <p align="center">
  <?php if ($_smarty_tpl->tpl_vars['overview_hzbpunkte']->value != '') {?>
  <b>Erfasste HZB Note:</b> <?php echo $_smarty_tpl->tpl_vars['overview_hzbpunkte']->value;?>
 Punkte (= Note <?php echo $_smarty_tpl->tpl_vars['overview_hzbnote']->value;?>
)
  <?php }?>
  <?php if ($_smarty_tpl->tpl_vars['overview_hzbnote']->value != '' && $_smarty_tpl->tpl_vars['overview_hzbpunkte']->value == '') {?>
  <b>Erfasste HZB Note:</b> <?php echo $_smarty_tpl->tpl_vars['overview_hzbnote']->value;?>

  <?php }?>
  <?php if ($_smarty_tpl->tpl_vars['overview_zeugnisschnittpunkte']->value != '') {?>
  <b>Erfasste Durchschnittsnote:</b> <?php echo $_smarty_tpl->tpl_vars['overview_zeugnisschnittpunkte']->value;?>
 Punkte (= Note <?php echo $_smarty_tpl->tpl_vars['overview_zeugnisschnittnote']->value;?>
)
  <?php }?>
  <?php if ($_smarty_tpl->tpl_vars['overview_zeugnisschnittnote']->value != '' && $_smarty_tpl->tpl_vars['overview_zeugnisschnittpunkte']->value == '') {?>
  <b>Erfasste Durchschnittsnote:</b> <?php echo $_smarty_tpl->tpl_vars['overview_zeugnisschnittnote']->value;?>

  <?php }?>
  <?php if ($_smarty_tpl->tpl_vars['overview_hinweis_hzb']->value == "1") {?>
  <br>
  <br>
  <b><font color="red">Bitte unbedingt beachten: Sie müssen nach Erhalt Ihrer Hochschulzugangsberechtigung diese zwingend nachreichen, sonst ist keine Zulassung möglich</font></b>
  <?php }?>
  <br><br>
  Bitte verwenden sie die entsprechenden "Weiter-" bzw. "Zurückbuttons". Bitte nicht die Pfeiltasten Ihres Browsers verwenden.<br>
  <br>
  <a href="?action=anmeld" class="button">Zurück zur Notenerfassung</a>
  </p>
  </fieldset>
  <br />
  <br />
  <fieldset>
  <legend>
  <b>Ausgewählte Praxisstellen</b>
  </legend>
  <table cellspacing="0" cellpadding="2" width="100%" border="1">
  <tr>
  <td width="10%">
  <b>lfd.Nr.</b>
  </td>
  <td width="30%">
  <b>Praxisstelle</b>
  </td>
  <td width="30%">
  <b>Adresse</b>
  </td>
  <td width="450">
  <b>Mailadresse</b>
  </td>
  <tr>
  <?php
$__section_table_data2_7_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2'] : false;
$__section_table_data2_7_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data2']->value) ? count($_loop) : max(0, (int) $_loop));
$__section_table_data2_7_total = $__section_table_data2_7_loop;
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = new Smarty_Variable(array());
if ($__section_table_data2_7_total != 0) {
for ($__section_table_data2_7_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] = 0; $__section_table_data2_7_iteration <= $__section_table_data2_7_total; $__section_table_data2_7_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']++){
$_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] = $__section_table_data2_7_iteration;
?>
  <?php if ((isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] : null) != '') {?>
  <tr>
  <td>
  <?php echo (isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] : null);?>

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

  </td>
  <td width="450">
  <?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)]['str'];?>
, <?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)]['plz'];?>
 <?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)]['ort'];?>

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

  </td>
  </tr>
  <?php }?>
  <?php
}
}
if ($__section_table_data2_7_saved) {
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = $__section_table_data2_7_saved;
}
?>
  </table>
  <p align="center">
  <br><br>
  Bitte verwenden sie die entsprechenden "Weiter-" bzw. "Zurückbuttons". Bitte nicht die Pfeiltasten Ihres Browsers verwenden.<br>
  <br>
  <a href="?action=stelle" class="button">Zurück zur Praxisstellenauswahl</a>
  </p>
  </fieldset>
  <br />
  <br />
  <?php if ($_smarty_tpl->tpl_vars['index_wahl_prx']->value == 1) {?>
  <fieldset>
  <legend>
  <b>Ausgewählte Hochschule</b>
  </legend>
  <table cellspacing="0" cellpadding="2" width="100%" border="1">
  <tr>
  <td width="10%">
  Hochschule:
  </td>
  <td>
  <?php echo $_smarty_tpl->tpl_vars['index_wahl_hs']->value;?>

  </td>
  </tr>
  </table>
  <p align="center">
  <a href="?action=hswahl" class="button">Zurück zur Hochschulwahl</a>
  </p>
  </fieldset>
  <br />
  <br />
  <?php }?>
  <form action=?action=save method="POST" name="save">
  <fieldset class="fieldset1">
  <legend>
  <b>Versicherung und Daten speichern</b>
  </legend>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td>
  <input type="checkbox" name="versicherung" onclick="senden_aktiv();" id="versicherung">
  </td>
  <td style="text-align: justify;">
  <label for="versicherung">Ich versichere, dass ich die Daten geprüft habe und vollständig sind.<br>
  Ich nehme zur Kenntnis, dass nach dem speichern eine erneute Anmeldung nicht möglich ist.<br>
  Außerdem stimme ich der <a href="../media/datenschutzerklaerung.pdf" target="_new">Datenschutzerklärung</a> zu.
  </label>
  </td>
  </tr>
  </table>
  <p align="center">
  <input type="submit" name="senden" id="senden" value="Speichern" disabled>
  </p>
  </fieldset>
  </form>
  <br />
  <br />
  </fieldset>
  </body>
  </html>
  <?php }?>
  <?php if ($_smarty_tpl->tpl_vars['action']->value == 'save') {?>
  <html>
  <head>
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  <meta name="mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <title>Bewerbung DVM</title>
  <link type="text/css" rel="stylesheet" href="../templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
/css/styles_refill.css">
  </head>
  <body onselectstart="return false" ondragstart="return false" oncontextmenu="return false" oncontext="return false">
  <fieldset>
  <legend>Speicherung</legend>
            <table width="70%" class="fortschrittTable" align="center">
            <tr>
              <td>
              </td>
              <td><b>Bewerbungsfortschritt</b><br>
                Für eine vollständige Bewerbung müssen folgende Seiten ausgefüllt werden:<br><br>
                <del>1) Persönliche Daten prüfen / ergänzen</del><br>
                <del>2) Erweiterte Angaben zur Hochschulzulassung</del><br>
                <del>3) Dokumentenupload</del><br>
                <del>4) Praxisstellenauswahl</del><br>
                <del>5) Übersicht / Daten prüfen</b><br>
                <del>6) Bewerbungsantrag speichern</del><br>
              </td>
            </tr>
          </table>
        <br>
  <br />
  <br />
  <p align="center">
  Ihre Bewerbung ist an der Hochschule eingegangen. Weitere Informationen zum Auswahlverfahren finden Sie auf den Websites der Hochschulen.
  </p>
  <br />
  <br />
  </fieldset>
  <br />
  <br />
  <br />
  <br />
  </body>
  </html>
  <?php }
}
}