Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
head("Neue Seite erstellen");
echo '
<form method="post" action="">
<table>
<tr>
<td>Name der Seite (Wird als Link angezeigt)</td>
<td><input type="text" name="name"></td>
</tr>
<tr>
<td>Titel der Seite</td>
<td><input type="text" name="titel"></td>
</tr>
<tr>
<td>Box wo die Seite angezeigt werden soll</td>
<td>
<select name="box">';
$bo = db_query("SELECT id,name FROM ".$db_prefix."_box_user ");
while($box = mysqli_fetch_array($bo)){
echo '<option value="'.$box['id'].'">'.$box['name'].'</option>';
}
echo '</select>
</td>
</tr>
<tr>
<td>Ordnungszahl für Link</td>
<td><input type="text" name="ordnung"></td>
</tr>
<tr>
<td>Für wenn sichtbar?</td>
<td>
<select name="sichtbar">
<option value="1">Eingeloggte User</option>
<option value="2">Gäste</option>
<option value="3">Alle</option>
</select>
</td>
</tr>
</table>
<textarea class="ckeditor" cols="80" rows="10" name="text" id="editor1" ></textarea><br>
<center><input type="submit" name="seite_save" value="Speichern"></center>
</form>
';
foot();
?>