183 lines
8.0 KiB
PHP
Executable File
183 lines
8.0 KiB
PHP
Executable File
<?php
|
|
/* Smarty version 3.1.29, created on 2019-11-15 14:22:03
|
|
from "/srv/www/htdocs-hvf/kurs/deputat/templates/modern/freischaltung.html" */
|
|
|
|
if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
|
|
'has_nocache_code' => false,
|
|
'version' => '3.1.29',
|
|
'unifunc' => 'content_5dcea67b3ad4e7_88391242',
|
|
'file_dependency' =>
|
|
array (
|
|
'2b0c8a07fa8c2b6c01ef339cb420b2176d0f7172' =>
|
|
array (
|
|
0 => '/srv/www/htdocs-hvf/kurs/deputat/templates/modern/freischaltung.html',
|
|
1 => 1521021772,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'includes' =>
|
|
array (
|
|
),
|
|
),false)) {
|
|
function content_5dcea67b3ad4e7_88391242 ($_smarty_tpl) {
|
|
if ($_smarty_tpl->tpl_vars['action']->value == '') {?>
|
|
|
|
<html>
|
|
<head>
|
|
<link type="text/css" rel="stylesheet" href="templates/<?php echo $_smarty_tpl->tpl_vars['global_template']->value;?>
|
|
/css/styles_refill.css">
|
|
</head>
|
|
<body>
|
|
<br />
|
|
<br />
|
|
<div class="header">
|
|
<div>
|
|
<div><?php echo $_smarty_tpl->tpl_vars['access_titel']->value;?>
|
|
</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<?php echo '%>';?>
|
|
<strong><?php echo $_smarty_tpl->tpl_vars['access_mitgl_ausw']->value;?>
|
|
</strong>
|
|
</td>
|
|
<td>
|
|
<select size="10" name="dozent">
|
|
<!--
|
|
<option value="">Bitte auswählen</option>
|
|
-->
|
|
<?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']++){
|
|
?>
|
|
<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)]['uid'];?>
|
|
"><?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)]['nachname'];?>
|
|
, <?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)]['vorname'];?>
|
|
</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 colspan="2" align="center">
|
|
|
|
</td>
|
|
</tr>
|
|
<td width=40<?php echo '%>';?>
|
|
|
|
</td>
|
|
<td>
|
|
<input type="submit" name="senden" value="Dozent hinzufü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<?php echo '%>';?>
|
|
<b>Anrede</b>
|
|
</td>
|
|
<td width=15<?php echo '%>';?>
|
|
<b>Name</b>
|
|
</td>
|
|
<td width=15<?php echo '%>';?>
|
|
<b>Vorname</b>
|
|
</td>
|
|
<td width=15<?php echo '%>';?>
|
|
<b>Benutzerkennung</b>
|
|
</td>
|
|
<td width=15<?php echo '%>';?>
|
|
<b>Fakultät</b>
|
|
</td>
|
|
<td width=15<?php echo '%>';?>
|
|
<b>Löschen</b>
|
|
</td>
|
|
<tr>
|
|
<?php
|
|
$__section_table_data2_1_saved = isset($_smarty_tpl->tpl_vars['__smarty_section_table_data2']) ? $_smarty_tpl->tpl_vars['__smarty_section_table_data2'] : false;
|
|
$__section_table_data2_1_loop = (is_array(@$_loop=$_smarty_tpl->tpl_vars['table_data2']->value) ? count($_loop) : max(0, (int) $_loop));
|
|
$__section_table_data2_1_total = $__section_table_data2_1_loop;
|
|
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = new Smarty_Variable(array());
|
|
if ($__section_table_data2_1_total != 0) {
|
|
for ($__section_table_data2_1_iteration = 1, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index'] = 0; $__section_table_data2_1_iteration <= $__section_table_data2_1_total; $__section_table_data2_1_iteration++, $_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['index']++){
|
|
$_smarty_tpl->tpl_vars['__smarty_section_table_data2']->value['rownum'] = $__section_table_data2_1_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 width=15<?php echo '%>';?>
|
|
<iframe src='ch_anrede.php?imtuid=<?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)]['imtuid'];?>
|
|
' scrolling='no' marginheight='0' marginwidth='0' height='25' frameborder='0'></iframe>
|
|
</td>
|
|
<td width=15<?php echo '%>';?>
|
|
<?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)]['nachname'];?>
|
|
|
|
</td>
|
|
<td width=15<?php echo '%>';?>
|
|
<?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)]['vorname'];?>
|
|
|
|
</td>
|
|
<td width=15<?php echo '%>';?>
|
|
<?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)]['uid'];?>
|
|
|
|
</td>
|
|
<td width=15<?php echo '%>';?>
|
|
<iframe src='ch_fakultaet.php?imtuid=<?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)]['imtuid'];?>
|
|
' scrolling='no' marginheight='0' marginwidth='0' height='25' frameborder='0'></iframe>
|
|
</td>
|
|
<td width=15<?php echo '%>';?>
|
|
<a href="?action=del&imtuid=<?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)]['imtuid'];?>
|
|
"><img title = 'Dozent lö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_1_saved) {
|
|
$_smarty_tpl->tpl_vars['__smarty_section_table_data2'] = $__section_table_data2_1_saved;
|
|
}
|
|
?>
|
|
</table>
|
|
</fieldset>
|
|
<br />
|
|
<br />
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|
|
<?php }
|
|
}
|
|
}
|