{if $action == ''}

<html>
<head>
<link type="text/css" rel="stylesheet" href="templates/{$global_template}/css/styles_refill.css">
</head>
<body>
<br />
<br />
  <div class="header">
     <div>
        <div>{$access_titel}</div>
     </div>
  </div>
  <form action="?action=register" method='post' name='erfassen'>
  <div class="pat_list_box">

   <fieldset>
    <legend>
      <b>Dozenten hinzufügen (Diese können sich am System anmelden)</b>
    </legend>
    <br />
    <br />
     <table cellspacing="1" cellpadding="1" width="100%" border="0">
         <tr>
           <td width=40%>
             <strong>{$access_mitgl_ausw}</strong>
           </td>
           <td>
              <select size="10" name="dozent">
 	          <!--
 	            <option value="">Bitte ausw&auml;hlen</option>
 	          -->
 	           {section name=table_data1 loop=$table_data1}
                  <option value="{$table_data1[table_data1].uid}">{$table_data1[table_data1].nachname}, {$table_data1[table_data1].vorname}&nbsp;&nbsp;&nbsp;</option>
 	           {/section}
 	         </select>
 	       </td>
 	     </tr>
         <tr>
           <td colspan="2" align="center">
             &nbsp;
           </td>
         </tr>
           <td width=40%>
             &nbsp;
           </td>
           <td>
             <input type="submit" name="senden" value="Dozent hinzuf&uuml;gen">
 	       </td>
 	     </tr>
         <tr>
       </table>
        <br />
        <br />

    </fieldset>
    </form>
    <br />
    <br />
   <fieldset>
    <legend>
      <b>Dozenten im System</b>
    </legend>
     <table cellspacing="1" cellpadding="1" width="100%" border="0">
         <tr>
           <td width=15%>
              <b>Anrede</b>
 	       </td>
           <td width=15%>
             <b>Name</b>
           </td>
           <td width=15%>
             <b>Vorname</b>
           </td>
           <td width=15%>
             <b>Benutzerkennung</b>
           </td>
           <td width=15%>
              <b>Fakultät</b>
 	       </td>
           <td width=15%>
              <b>L&ouml;schen</b>
 	       </td>
 	     <tr>
         {section name=table_data2 loop=$table_data2}
         {if $smarty.section.table_data2.rownum != ''}
         <tr>
           <td width=15%>
              <iframe src='ch_anrede.php?imtuid={$table_data2[table_data2].imtuid}' scrolling='no' marginheight='0' marginwidth='0' height='25' frameborder='0'></iframe>
           </td>
           <td width=15%>
             {$table_data2[table_data2].nachname}
           </td>
           <td width=15%>
             {$table_data2[table_data2].vorname}
           </td>
           <td width=15%>
             {$table_data2[table_data2].uid}
           </td>
           <td width=15%>
              <iframe src='ch_fakultaet.php?imtuid={$table_data2[table_data2].imtuid}' scrolling='no' marginheight='0' marginwidth='0' height='25' frameborder='0'></iframe>
           </td>
           <td width=15%>
              <a href="?action=del&imtuid={$table_data2[table_data2].imtuid}"><img title = 'Dozent l&ouml;schen' border="0" height=10 src="templates/{$global_template}/images/drop.png"></a>
 	       </td>
 	     </tr>
 	     {/if}
 	     {/section}
 	  </table>
   </fieldset>
    <br />
    <br />
  </div>

</body>
</html>
{/if}