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

21
inhalte/texte_over.php Normal file
View File

@@ -0,0 +1,21 @@
<?php
$sql = "SELECT ID, Name FROM ".PREFIX."_Texte ORDER BY ID ASC;";
$result = $db->query($sql);
?>
<fieldset>
<legend>Firmentexte</legend>
<form action="index.php?<?php echo $_SERVER['QUERY_STRING']; ?>" method="post">
<select name="ID">
<?php
while ($nt = $result->fetch_assoc()) {
if ($_SESSION['Firma']['KfZ']) {
$nt['Name'] = str_replace("Leistungsverzeichnisse", "Kostenvoranschläge", $nt['Name']);
}
echo " <option value=\"".$nt['ID']."\">".$nt['Name']."</option>\n";
}
?>
</select>
<br />&nbsp;<br />
<input type="submit" name="formaction" value="edit" title="Firmentext bearbeiten" class="button_edit" />
</form>
</fieldset>