diff --git a/templates_c/2cf497cfb40df49d4bacd2caef49687f63b81195_0.file.admin_bearbeiten.html.php b/templates_c/2cf497cfb40df49d4bacd2caef49687f63b81195_0.file.admin_bearbeiten.html.php
new file mode 100644
index 0000000..56fb84f
--- /dev/null
+++ b/templates_c/2cf497cfb40df49d4bacd2caef49687f63b81195_0.file.admin_bearbeiten.html.php
@@ -0,0 +1,1255 @@
+<?php
+/* Smarty version 3.1.29, created on 2023-07-10 14:11:19
+  from "F:\git\prognose_kehl\templates\standard\admin_bearbeiten.html" */
+
+if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
+  'has_nocache_code' => false,
+  'version' => '3.1.29',
+  'unifunc' => 'content_64abf567670dd4_14864793',
+  'file_dependency' => 
+  array (
+    '2cf497cfb40df49d4bacd2caef49687f63b81195' => 
+    array (
+      0 => 'F:\\git\\prognose_kehl\\templates\\standard\\admin_bearbeiten.html',
+      1 => 1688986237,
+      2 => 'file',
+    ),
+  ),
+  'includes' => 
+  array (
+  ),
+),false)) {
+function content_64abf567670dd4_14864793 ($_smarty_tpl) {
+if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <link rel="stylesheet" href="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/css/styles_pc.php" type="text/css">
+    <title><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_auswahl_titel']->value;?>
+</title>
+
+  </head>
+  <body>
+    <table border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="100%" id="table1">
+      <tr>
+        <td>
+          <div align="center">
+            <table cellspacing="0" cellpadding="0" width="800" border="0">
+              <tr>
+                <td width="10" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e1.gif">
+                  <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+
+                <td width="95%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif">
+                  <img height="10" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"><br>
+                  <font class="hd"><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_auswahl_titel']->value;?>
+</font><br>
+                <td nowrap="nowrap" align="left" width="3%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif" valign="top"></td>
+              <img height="5" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"></td>
+              <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e2.gif">
+                <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_l.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td colspan="2"><br><p align="left">
+                    <!-- hier inhalt -->
+                  <form action=?action=stammdaten method="POST">
+                    <p align="center">
+                      <b><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_auswahl_text']->value;?>
+</b>
+                      <br>
+                      <br>
+                      <select size="10" id='benutzer' name='benutzer'>
+                        <?php
+$__section_table_data_0_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data'] : false;
+$__section_table_data_0_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data']->value) ? count($_loop) : max(0, (int) $_loop));
+$__section_table_data_0_total = $__section_table_data_0_loop;
+$_smarty_tpl->tpl_vars['__smarty_section_table_data'] = new Smarty_Variable(array());
+if ($__section_table_data_0_total != 0) {
+for ($__section_table_data_0_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] = 0; $__section_table_data_0_iteration <= $__section_table_data_0_total; $__section_table_data_0_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']++){
+?>
+                        <option value="<?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['vaid'];?>
+"><?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['bezeichnung'];?>
+&nbsp;&nbsp;&nbsp;&nbsp;</option>
+                        <?php
+}
+}
+if ($__section_table_data_0_saved) {
+$_smarty_tpl->tpl_vars['__smarty_section_table_data'] = $__section_table_data_0_saved;
+}
+?>
+                      </select>
+                      <br><br>
+
+                    <p align='center'>
+                      <input type="submit" value="Weiter" name="B1">
+                    </p>
+                    </p>
+                  </form>
+                  <!-- hier inhalt Ende -->
+                </td>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_r.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td nowrap="nowrap" align="left" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e3.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td nowrap="nowrap" align="left" width="98%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_bottom.gif" colspan="2">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="8"></td>
+                <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e4.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"> </td>
+              </tr>
+            </table>
+          </div>
+        </td>
+      </tr>
+    </table>
+  </body>
+</html>
+<?php }?>
+
+<?php if ($_smarty_tpl->tpl_vars['action']->value == 'stammdaten') {
+if ($_smarty_tpl->tpl_vars['admin_bearbeiten_mandatory_auswahl']->value == '1') {?>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <link rel="stylesheet" href="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/css/styles_pc.php" type="text/css">
+    <title><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_mandatory_auswahl_titel']->value;?>
+</title>
+  </head>
+  <body>
+    <table border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="100%" id="table1">
+      <tr>
+        <td>
+          <div align="center">
+            <table cellspacing="0" cellpadding="0" width="550" border="0">
+              <tr>
+                <td width="10" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e1.gif">
+                  <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td nowrap="nowrap" align="left" width="3%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif" valign="top"></td>
+                <td width="95%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif">
+                  <img height="10" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"><br>
+                  <span class="sh"><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_mandatory_auswahl_titel']->value;?>
+</span><br>
+                  <img height="5" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"></td>
+                <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e2.gif">
+                  <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_l.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td colspan="2"><br>
+                  <p align="center"><b><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_mandatory_auswahl_text']->value;?>
+</b>
+                  </p>
+                  <p align="center"><a href="?">
+                      <img border="0" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/zurueck.gif" width="77" height="22"></a><br>
+                  </p>
+                  <p></p>
+                  <p></p>
+                  <p></p>
+                  <p></p>
+                  <p><br>
+                  </p>
+                </td>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_r.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td nowrap="nowrap" align="left" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e3.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td nowrap="nowrap" align="left" width="98%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_bottom.gif" colspan="2">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="8"></td>
+                <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e4.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"> </td>
+              </tr>
+            </table>
+          </div>
+        </td>
+      </tr>
+    </table>
+  </body>
+</html>
+<?php }?>
+
+<?php if ($_smarty_tpl->tpl_vars['admin_bearbeiten_mandatory_auswahl']->value == '2') {?>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <link rel="stylesheet" href="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/css/styles_pc.php" type="text/css">
+    <title><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_titel']->value;?>
+</title>
+  </head>
+  <body onload="if (document.adm_anleg)document.adm_anleg.vorname.focus(); return false;">
+    <table border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="100%" id="table1">
+      <tr>
+        <td>
+          <div align="center">
+            <table cellspacing="0" cellpadding="0" width="550" border="0">
+              <tr>
+                <td width="10" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e1.gif">
+                  <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td nowrap="nowrap" align="left" width="98%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif" valign="top">
+                  <img height="10" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"><br>
+                  <font class="hd"><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_titel']->value;?>
+</font><br>
+                  <img height="5" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"></font></td>
+                <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e2.gif">
+                  <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_l.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td>
+                  <form action=?action=profil method="POST" name="adm_anleg">
+                    <table border="0" cellpadding="4" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%" id="AutoNumber1" height="194">
+                      <tr>
+                        <td width="40%">
+                          <b><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_field_vorname']->value;?>
+*</b>
+                        </td>
+                        <td width="60%">
+                          <input type="text" name="vorname" value="<?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_vorname']->value;?>
+" size="40">
+                        </td>
+                      </tr>
+                      <tr>
+                        <td width="40%">
+                          <b><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_field_name']->value;?>
+*</b>
+                        </td>
+                        <td width="60%">
+                          <input type="text" name="nachname" value="<?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_nachname']->value;?>
+" size="40">
+                        </td>
+                      </tr>
+                      <tr>
+                        <td width="40%">
+                          <b><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_field_mail']->value;?>
+*</b>
+                        </td>
+                        <td width="60%">
+                          <input type="text" name="mail" value="<?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_mail']->value;?>
+" size="40">
+                        </td>
+                      </tr>
+                      <tr>
+                        <td width="40%">
+                          &nbsp;
+                        </td>
+                        <td width="60%">
+                          &nbsp;
+                        </td>
+                      </tr
+                      <tr>
+                        <td width="40%">
+                          * = Pflichtfelder
+                        </td>
+                        <td width="60%">
+                          &nbsp;
+                        </td>
+                      </tr>
+                    </table>
+
+                    <br><br>
+                    <p align='center'>
+                      <input type="button" value="Zur&uuml;ck" onclick="window.location.href = '?new=1'">
+                      &nbsp;
+                      <input type="submit" value="Weiter" name="B1">
+                    </p>
+
+                  </form>
+                </td>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_r.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td nowrap="nowrap" align="left" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e3.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td nowrap="nowrap" align="left" width="98%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_bottom.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="8"></td>
+                <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e4.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"> </td>
+              </tr>
+            </table>
+          </div>
+        </td>
+      </tr>
+    </table>
+  </body>
+</html>
+<?php }
+}?>
+
+<?php if ($_smarty_tpl->tpl_vars['action']->value == 'profil') {
+if ($_smarty_tpl->tpl_vars['admin_bearbeiten_mandatory']->value == '1') {?>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <link rel="stylesheet" href="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/css/styles_pc.php" type="text/css">
+    <title><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_mandatory_titel']->value;?>
+</title>
+  </head>
+  <body>
+    <table border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="100%" id="table1">
+      <tr>
+        <td>
+          <div align="center">
+            <table cellspacing="0" cellpadding="0" width="550" border="0">
+              <tr>
+                <td width="10" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e1.gif">
+                  <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td nowrap="nowrap" align="left" width="3%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif" valign="top"></td>
+                <td width="95%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif">
+                  <img height="10" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"><br>
+                  <span class="sh"><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_mandatory_titel']->value;?>
+</span><br>
+                  <img height="5" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"></td>
+                <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e2.gif">
+                  <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_l.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td colspan="2"><br>
+                  <p align="center"><b><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_mandatory_text']->value;?>
+</b>
+                  </p>
+                  <p align="center"><a href="?action=stammdaten">
+                      <img border="0" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/zurueck.gif" width="77" height="22"></a><br>
+                  </p>
+                  <p></p>
+                  <p></p>
+                  <p></p>
+                  <p></p>
+                  <p><br>
+                  </p>
+                </td>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_r.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td nowrap="nowrap" align="left" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e3.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td nowrap="nowrap" align="left" width="98%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_bottom.gif" colspan="2">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="8"></td>
+                <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e4.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"> </td>
+              </tr>
+            </table>
+          </div>
+        </td>
+      </tr>
+    </table>
+  </body>
+</html>
+<?php }?>
+
+<?php if ($_smarty_tpl->tpl_vars['admin_bearbeiten_mandatory']->value == '2') {?>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <link rel="stylesheet" href="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/css/styles_pc.php" type="text/css">
+    <title><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_profil_titel']->value;?>
+</title>
+
+  </head>
+  <body>
+    <table border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="100%" id="table1">
+      <tr>
+        <td>
+          <div align="center">
+            <table cellspacing="0" cellpadding="0" width="800" border="0">
+              <tr>
+                <td width="10" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e1.gif">
+                  <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+
+                <td width="95%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif">
+                  <img height="10" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"><br>
+                  <font class="hd"><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_profil_titel']->value;?>
+</font><br>
+                <td nowrap="nowrap" align="left" width="3%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif" valign="top"></td>
+              <img height="5" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"></td>
+              <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e2.gif">
+                <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_l.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td colspan="2"><br><p align="left">
+                    <!-- hier inhalt -->
+                  <form action=?action=passwort method="POST">
+                    <p align="center">
+                      <b><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_profil_text']->value;?>
+</b>
+                      <br>
+                      <br>
+                      <select size="10" id='profil' multiple name='profil[]'>
+                        <?php
+$__section_table_data_1_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data'] : false;
+$__section_table_data_1_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data']->value) ? count($_loop) : max(0, (int) $_loop));
+$__section_table_data_1_total = $__section_table_data_1_loop;
+$_smarty_tpl->tpl_vars['__smarty_section_table_data'] = new Smarty_Variable(array());
+if ($__section_table_data_1_total != 0) {
+for ($__section_table_data_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] = 0; $__section_table_data_1_iteration <= $__section_table_data_1_total; $__section_table_data_1_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']++){
+?>
+                        <option value="<?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['rid'];?>
+" <?php if ($_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['select'] == 'Y') {?> selected <?php }?>><?php echo $_smarty_tpl->tpl_vars['table_data']->value[(isset($_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data']->value['index'] : null)]['bezeichnung'];?>
+&nbsp;&nbsp;&nbsp;&nbsp;</option>
+                        <?php
+}
+}
+if ($__section_table_data_1_saved) {
+$_smarty_tpl->tpl_vars['__smarty_section_table_data'] = $__section_table_data_1_saved;
+}
+?>
+                      </select>
+
+                      <br>
+
+                    <p align='center'>
+                      <input type="button" value="Zur&uuml;ck" onclick="window.location.href = '?action=stammdaten'">
+                      &nbsp;
+                      <input type="submit" value="Weiter" name="B1">
+                    </p>
+
+                    </p
+                  </form>
+                  <!-- hier inhalt Ende -->
+                </td>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_r.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td nowrap="nowrap" align="left" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e3.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td nowrap="nowrap" align="left" width="98%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_bottom.gif" colspan="2">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="8"></td>
+                <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e4.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"> </td>
+              </tr>
+            </table>
+          </div>
+        </td>
+      </tr>
+    </table>
+  </body>
+</html>
+<?php }
+}?>
+
+<?php if ($_smarty_tpl->tpl_vars['action']->value == 'passwort') {
+if ($_smarty_tpl->tpl_vars['admin_bearbeiten_mandatory_profil']->value == '1') {?>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <link rel="stylesheet" href="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/css/styles_pc.php" type="text/css">
+    <title><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_mandatory_profil_titel']->value;?>
+</title>
+  </head>
+  <body>
+    <table border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="100%" id="table1">
+      <tr>
+        <td>
+          <div align="center">
+            <table cellspacing="0" cellpadding="0" width="550" border="0">
+              <tr>
+                <td width="10" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e1.gif">
+                  <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td nowrap="nowrap" align="left" width="3%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif" valign="top"></td>
+                <td width="95%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif">
+                  <img height="10" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"><br>
+                  <span class="sh"><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_mandatory_profil_titel']->value;?>
+</span><br>
+                  <img height="5" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"></td>
+                <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e2.gif">
+                  <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_l.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td colspan="2"><br>
+                  <p align="center"><b><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_mandatory_profil_text']->value;?>
+</b>
+                  </p>
+                  <p align="center"><a href="?action=profil&back=1">
+                      <img border="0" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/zurueck.gif" width="77" height="22"></a><br>
+                  </p>
+                  <p></p>
+                  <p></p>
+                  <p></p>
+                  <p></p>
+                  <p><br>
+                  </p>
+                </td>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_r.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td nowrap="nowrap" align="left" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e3.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td nowrap="nowrap" align="left" width="98%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_bottom.gif" colspan="2">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="8"></td>
+                <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e4.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"> </td>
+              </tr>
+            </table>
+          </div>
+        </td>
+      </tr>
+    </table>
+  </body>
+</html>
+<?php }?>
+
+<?php if ($_smarty_tpl->tpl_vars['admin_bearbeiten_mandatory_profil']->value == '2') {?>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <link rel="stylesheet" href="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/css/styles_pc.php" type="text/css">
+    <title><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_passwort_titel']->value;?>
+</title>
+
+  </head>
+  <body>
+    <table border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="100%" id="table1">
+      <tr>
+        <td>
+          <div align="center">
+            <table cellspacing="0" cellpadding="0" width="800" border="0">
+              <tr>
+                <td width="10" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e1.gif">
+                  <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+
+                <td width="95%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif">
+                  <img height="10" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"><br>
+                  <font class="hd"><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_passwort_titel']->value;?>
+</font><br>
+                <td nowrap="nowrap" align="left" width="3%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif" valign="top"></td>
+              <img height="5" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"></td>
+              <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e2.gif">
+                <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_l.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td colspan="2"><br><p align="left">
+
+                    <!-- hier inhalt -->
+                  <form action=?action=inaktiv method="POST">
+                    <p align="left">
+                      <b><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_passwort_text']->value;?>
+</b>
+                      <br>
+                      <br>
+
+                      <label for="r1"><input type="radio" name="passwort" value="J" id="r1" <?php if ($_smarty_tpl->tpl_vars['admin_bearbeiten_passwort_check']->value == 'J') {?> checked <?php }?>> <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_passwort_ja']->value;?>
+</label><br>
+                      <label for="r2"><input type="radio" name="passwort" value="N" id="r2" <?php if ($_smarty_tpl->tpl_vars['admin_bearbeiten_passwort_check']->value == 'N') {?> checked <?php }?>> <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_passwort_nein']->value;?>
+</label><br
+                          <br><br>
+                    <p align='center'>
+                      <input type="button" value="Zur&uuml;ck" onclick="window.location.href = '?action=profil&back=1'">
+                      &nbsp;
+                      <input type="submit" value="Weiter" name="B1">
+                    </p>
+
+                    </p
+                  </form>
+                  <!-- hier inhalt Ende -->
+
+                </td>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_r.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td nowrap="nowrap" align="left" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e3.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td nowrap="nowrap" align="left" width="98%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_bottom.gif" colspan="2">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="8"></td>
+                <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e4.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"> </td>
+              </tr>
+            </table>
+          </div>
+        </td>
+      </tr>
+    </table>
+  </body>
+</html>
+<?php }
+}?>
+
+<?php if ($_smarty_tpl->tpl_vars['action']->value == 'inaktiv') {?>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <link rel="stylesheet" href="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/css/styles_pc.php" type="text/css">
+    <title><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_inaktiv_titel']->value;?>
+</title>
+
+  </head>
+  <body>
+    <table border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="100%" id="table1">
+      <tr>
+        <td>
+          <div align="center">
+            <table cellspacing="0" cellpadding="0" width="800" border="0">
+              <tr>
+                <td width="10" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e1.gif">
+                  <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+
+                <td width="95%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif">
+                  <img height="10" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"><br>
+                  <font class="hd"><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_inaktiv_titel']->value;?>
+</font><br>
+                <td nowrap="nowrap" align="left" width="3%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif" valign="top"></td>
+              <img height="5" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"></td>
+              <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e2.gif">
+                <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_l.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td colspan="2"><br><p align="left">
+
+                    <!-- hier inhalt -->
+                  <form action=?action=overview method="POST">
+                    <p align="left">
+                      <b><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_inaktiv_text']->value;?>
+</b>
+                      <br>
+                      <br>
+
+                      <label for="r1"><input type="radio" name="inaktiv" value="J" id="r1" <?php if ($_smarty_tpl->tpl_vars['admin_bearbeiten_inaktiv_check']->value == 'J') {?> checked <?php }?>> <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_inaktiv_ja']->value;?>
+</label><br>
+                      <label for="r2"><input type="radio" name="inaktiv" value="N" id="r2" <?php if ($_smarty_tpl->tpl_vars['admin_bearbeiten_inaktiv_check']->value == 'N') {?> checked <?php }?>> <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_inaktiv_nein']->value;?>
+</label><br
+                          <br><br>
+                    <p align='center'>
+                      <input type="button" value="Zur&uuml;ck" onclick="window.location.href = '?action=passwort&back=1'">
+                      &nbsp;
+                      <input type="submit" value="Weiter" name="B1">
+                    </p>
+
+                    </p
+                  </form>
+                  <!-- hier inhalt Ende -->
+
+                </td>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_r.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td nowrap="nowrap" align="left" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e3.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td nowrap="nowrap" align="left" width="98%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_bottom.gif" colspan="2">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="8"></td>
+                <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e4.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"> </td>
+              </tr>
+            </table>
+          </div>
+        </td>
+      </tr>
+    </table>
+  </body>
+</html>
+<?php }?>
+
+<?php if ($_smarty_tpl->tpl_vars['action']->value == 'overview') {?>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <link rel="stylesheet" href="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/css/styles_pc.php" type="text/css">
+    <title><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_overview_titel']->value;?>
+</title>
+
+  </head>
+  <body onload="if (document.<?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_form']->value;?>
+)document.<?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_form']->value;?>
+.<?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_focus']->value;?>
+.focus(); return false;">
+    <table border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="100%" id="table1">
+      <tr>
+        <td>
+          <div align="center">
+            <table cellspacing="0" cellpadding="0" width="80%" border="0">
+              <tr>
+                <td width="10" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e1.gif">
+                  <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+
+                <td width="95%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif">
+                  <img height="10" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"><br>
+                  <font class="hd"><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_overview_titel']->value;?>
+</font><br>
+                <td nowrap="nowrap" align="left" width="3%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif" valign="top"></td>
+              <img height="5" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"></td>
+              <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e2.gif">
+                <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_l.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td colspan="2">
+                  <!-- hier inhalt -->
+
+
+                  <form action=?action=save method="POST">
+                    <table width="100%">
+                      <tr>
+                        <td>
+                          <b>
+                            Feld
+                          </b>
+                        </td>
+                        <td>
+                          <b>
+                            Wert
+                          </b>
+                        </td>
+                        <td>
+                          <b>
+                            Bearbeiten
+                          </b>
+                        </td>
+                      </tr>
+
+                      <tr>
+                        <td>
+                          <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_overview_field_vorname']->value;?>
+
+                        </td>
+                        <td>
+                          <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_vorname']->value;?>
+
+                        </td>
+                        <td>
+                          <a href="?"><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_overview_linktext_change']->value;?>
+</a>
+                        </td>
+                      </tr>
+                      <tr>
+                        <td>
+                          <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_overview_field_nachname']->value;?>
+
+                        </td>
+                        <td>
+                          <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_nachname']->value;?>
+
+                        </td>
+                        <td>
+                          <a href="?"><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_overview_linktext_change']->value;?>
+</a>
+                        </td>
+                      </tr>
+                      <tr>
+                        <td>
+                          <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_overview_field_mail']->value;?>
+
+                        </td>
+                        <td>
+                          <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_mail']->value;?>
+
+                        </td>
+                        <td>
+                          <a href="?"><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_overview_linktext_change']->value;?>
+</a>
+                        </td>
+                      </tr>
+
+                      <tr>
+                        <td>
+                          &nbsp;
+                        </td>
+                        <td>
+                          &nbsp;
+                        </td>
+                        <td>
+                          &nbsp;
+                        </td>
+                      </tr>
+
+                      <tr>
+                        <td>
+                          <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_overview_field_user']->value;?>
+
+                        </td>
+                        <td>
+                          <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_user']->value;?>
+
+                        </td>
+                        <td>
+
+                        </td>
+                      </tr>
+
+                      <tr>
+                        <td>
+                          &nbsp;
+                        </td>
+                        <td>
+                          &nbsp;
+                        </td>
+                        <td>
+                          &nbsp;
+                        </td>
+                      </tr>
+
+                      <tr>
+                        <td>
+                          <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_overview_field_profil']->value;?>
+
+                        </td>
+                        <td>
+                          <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_profil']->value;?>
+
+                        </td>
+                        <td>
+                          <a href="?action=profil"><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_overview_linktext_change']->value;?>
+</a>
+                        </td>
+                      </tr>
+
+                      <tr>
+                        <td>
+                          &nbsp;
+                        </td>
+                        <td>
+                          &nbsp;
+                        </td>
+                        <td>
+                          &nbsp;
+                        </td>
+                      </tr>
+
+                      <tr>
+                        <td>
+                          <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_overview_field_passwort']->value;?>
+
+                        </td>
+                        <td>
+                          <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_passwort']->value;?>
+
+                        </td>
+                        <td>
+                          <a href="?action=passwort"><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_overview_linktext_change']->value;?>
+</a>
+                        </td>
+                      </tr>
+
+                      <tr>
+                        <td>
+                          &nbsp;
+                        </td>
+                        <td>
+                          &nbsp;
+                        </td>
+                        <td>
+                          &nbsp;
+                        </td>
+                      </tr>
+
+                      <tr>
+                        <td>
+                          <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_overview_field_inaktiv']->value;?>
+
+                        </td>
+                        <td>
+                          <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_inaktiv']->value;?>
+
+                        </td>
+                        <td>
+                          <a href="?action=inaktiv"><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_overview_linktext_change']->value;?>
+</a>
+                        </td>
+                      </tr>
+
+
+
+                    </table>
+                    <br><br>
+                    <p align='center'>
+                      <input type="button" value="Zur&uuml;ck" onclick="window.location.href = '?action=inaktiv'">
+                      &nbsp;
+                      <input type="submit" value="Speichern" name="B1">
+                    </p>
+                  </form>
+                  <!-- hier inhalt Ende -->
+                </td>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_r.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td nowrap="nowrap" align="left" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e3.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td nowrap="nowrap" align="left" width="98%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_bottom.gif" colspan="2">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="8"></td>
+                <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e4.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"> </td>
+              </tr>
+            </table>
+          </div>
+        </td>
+      </tr>
+    </table>
+  </body>
+</html>
+<?php }?>
+
+<?php if ($_smarty_tpl->tpl_vars['action']->value == 'save') {
+if ($_smarty_tpl->tpl_vars['admin_bearbeiten_inserterr']->value == '1') {?>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <link rel="stylesheet" href="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/css/styles_pc.php" type="text/css">
+    <title><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_inserterr_titel']->value;?>
+</title>
+  </head>
+  <body>
+    <table border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="100%" id="table1">
+      <tr>
+        <td>
+          <div align="center">
+            <table cellspacing="0" cellpadding="0" width="550" border="0">
+              <tr>
+                <td width="10" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e1.gif">
+                  <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td nowrap="nowrap" align="left" width="3%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif" valign="top"></td>
+                <td width="95%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif">
+                  <img height="10" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"><br>
+                  <span class="sh"><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_inserterr_titel']->value;?>
+</span><br>
+                  <img height="5" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"></td>
+                <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e2.gif">
+                  <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_l.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td colspan="2"><br>
+                  <p align="left"><b><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_inserterr_text']->value;?>
+</b>
+                    <br><br>
+                    <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_reason']->value;?>
+
+                  </p>
+                  <p align="center"><a href="?action=overview">
+                      <img border="0" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/zurueck.gif" width="77" height="22"></a><br>
+                  </p>
+                  <p></p>
+                  <p></p>
+                  <p></p>
+                  <p></p>
+                  <p><br>
+                  </p>
+                </td>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_r.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td nowrap="nowrap" align="left" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e3.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td nowrap="nowrap" align="left" width="98%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_bottom.gif" colspan="2">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="8"></td>
+                <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e4.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"> </td>
+              </tr>
+            </table>
+          </div>
+        </td>
+      </tr>
+    </table>
+  </body>
+</html>
+<?php }?>
+
+<?php if ($_smarty_tpl->tpl_vars['admin_bearbeiten_inserterr']->value == '2') {?>
+<html>
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+    <link rel="stylesheet" href="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/css/styles_pc.php" type="text/css">
+    <title><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_returnmail_titel']->value;?>
+</title>
+  </head>
+  <body>
+    <table border="0" style="border-collapse: collapse" width="100%" cellpadding="0" height="100%" id="table1">
+      <tr>
+        <td>
+          <div align="center">
+            <table cellspacing="0" cellpadding="0" width="550" border="0">
+              <tr>
+                <td width="10" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e1.gif">
+                  <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td nowrap="nowrap" align="left" width="3%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif" valign="top"></td>
+                <td width="95%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_top.gif">
+                  <img height="10" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"><br>
+                  <span class="sh"><?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_returnmail_titel']->value;?>
+</span><br>
+                  <img height="5" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="1"></td>
+                <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e2.gif">
+                  <img height="40" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_l.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td colspan="2"><br>
+                  <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_returnmal_text1']->value;?>
+
+                  <br><br>
+                  <?php if ($_smarty_tpl->tpl_vars['admin_bearbeiten_mailsuccess']->value == '2') {?>
+                  <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_returnmal_text2']->value;?>
+: <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_returnmailadr']->value;?>
+
+                  <?php }?>
+
+                  <?php if ($_smarty_tpl->tpl_vars['admin_bearbeiten_mailsuccess']->value == '1') {?>
+                  <?php echo $_smarty_tpl->tpl_vars['admin_bearbeiten_returnmal_text3']->value;?>
+
+                  <?php }?>
+                  </p>
+                  <p align="center"><a href="?new=1">
+                      <img border="0" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/zurueck.gif" width="77" height="22"></a><br>
+                  </p>
+                  <p></p>
+                  <p></p>
+                  <p></p>
+                  <p></p>
+                  <p><br>
+                  </p>
+                </td>
+                <td width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_r.gif">
+                  <img height="1" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+              </tr>
+              <tr>
+                <td nowrap="nowrap" align="left" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e3.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"></td>
+                <td nowrap="nowrap" align="left" width="98%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_bottom.gif" colspan="2">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="8"></td>
+                <td nowrap="nowrap" align="right" width="1%" background="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/box_e4.gif">
+                  <img height="16" src="./templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
+/images/blank.gif" width="22"> </td>
+              </tr>
+            </table>
+          </div>
+        </td>
+      </tr>
+    </table>
+  </body>
+</html>
+<?php }
+}
+}
+}
diff --git a/ubersicht_jahr.php b/ubersicht_jahr.php
index 6981c07..2e40da0 100755
--- a/ubersicht_jahr.php
+++ b/ubersicht_jahr.php
@@ -417,6 +417,7 @@ if ($action == '') {
   $result3 = $db->query($query3) or die("Cannot execute query3a");
   $ln_zaehler = 0;
   while ($row3 = $result3->fetch_array()) {
+    unset($inner2);
     $value_delta = '';
     if ($ln_zaehler == 0) {
       $last_did = $row3['did'];
@@ -552,6 +553,7 @@ if ($action == '') {
   $result5 = $db->query($query5) or die("Cannot execute query4");
   $ln_zaehler1 = 0;
   while ($row5 = $result5->fetch_array()) {
+    unset($inner4);
     $value_funktion = '';
     if ($ln_zaehler1 == 0) {
       $last_kfid = $row5['kfid'];
@@ -576,6 +578,7 @@ if ($action == '') {
                GROUP BY a.lbfzid, b.kfid, a.did
                ORDER BY bezeichnung asc, monat asc";
     $result6 = $db->query($query6) or die("Cannot execute query6");
+    
     $ln5 = 0;
     #inner
     while ($row6 = $result6->fetch_array()) {