Datenstand V1.0

This commit is contained in:
2016-07-05 20:38:34 +00:00
parent 5a75f609e5
commit 5ea463a308
1027 changed files with 141480 additions and 0 deletions

24
inhalte/user_over.php Normal file
View File

@@ -0,0 +1,24 @@
<?php
$sql = "SELECT ID, Vorname, Nachname FROM Admin WHERE Firma_ID = \"".PREFIX."\" ORDER BY Nachname ASC;";
$result = $db->query($sql);
?>
<fieldset>
<legend>Benutzerdaten</legend>
<form action="index.php?<?php echo $_SERVER['QUERY_STRING']; ?>" method="post">
<select name="ID">
<?php
while ($nt = $result->fetch_assoc()) {
echo " <option value=\"".$nt['ID']."\"";
if ($_SESSION['TID'] == $nt['ID']) {
echo " selected=\"selected\"";
}
echo ">".$nt['Nachname'].", ".$nt['Vorname']."</option>\n";
}
?>
</select>
<br />&nbsp;<br />
<input type="submit" name="formaction" value="add" title="Benutzer anlegen" class="button_add" />
<input type="submit" name="formaction" value="edit" title="Benutzer bearbeiten" class="button_edit" />
<input type="submit" name="formaction" value="del" title="Benutzer löschen" class="button_del" />
</form>
</fieldset>