-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.blog.php
64 lines (62 loc) · 3.11 KB
/
form.blog.php
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
//Init querystring-variabler
if(empty($_REQUEST['efternavn'])) $_REQUEST['efternavn']="";
if(empty($_REQUEST['fornavn'])) $_REQUEST['fornavn']="";
if(empty($_REQUEST['titel'])) $_REQUEST['titel']="";
if(empty($_REQUEST['blogtitel'])) $_REQUEST['blogtitel']="";
if(empty($_REQUEST['posted_d'])) $_REQUEST['posted_d']="";
if(empty($_REQUEST['posted_m'])) $_REQUEST['posted_m']="";
if(empty($_REQUEST['posted_y'])) $_REQUEST['posted_y']="";
if(empty($_REQUEST['url'])) $_REQUEST['url']="";
if(empty($_REQUEST['visit_d'])) $_REQUEST['visit_d']="";
if(empty($_REQUEST['visit_m'])) $_REQUEST['visit_m']="";
if(empty($_REQUEST['visit_y'])) $_REQUEST['visit_y']="";
?>
<!-- Viser formularen 'Blog' -->
<form id="form_blog">
<table border="0">
<tr>
<td colspan=2 align="left">
Forfatter
</td>
</tr>
<tr>
<td>
<img src="images/dut.gif" alt="" /><b>Fornavn</b><br><input size="30" type="text" name="fornavn" value="<?=$_REQUEST['fornavn']?>">
</td>
<td>
<img src="images/dut.gif" alt="" /><b>Efternavn</b><br><input size="30" type="text" name="efternavn" value="<?=$_REQUEST['efternavn']?>">
</td>
</tr>
<tr>
<td>
<img src="images/dut.gif" alt="" /><b>Titel på indlæg</b><br><input size="30" type="text" name="titel" value="<?=$_REQUEST['titel']?>">
</td>
<td>
<img src="images/dut.gif" alt="" /><b>Titel på blog</b><br><input size="30" type="text" name="blogtitel" value="<?=$_REQUEST['blogtitel']?>">
</td>
<tr>
<td>
<img src="images/dut.gif" alt="" /><b>Dato for indlæg</b><br><input size="2" maxlength="2" type="text" name="posted_d" value="<?=$_REQUEST['posted_d']?>">.<input size="2" maxlength="2" type="text" name="posted_m" value="<?=$_REQUEST['posted_m']?>">.<input size="4" maxlength="4" type="text" name="posted_y" value="<?=$_REQUEST['posted_y']?>"><font size="2">dd.mm.åååå</font>
</td>
</tr>
<tr>
<td>
<img src="images/dut.gif" alt="" /><b>URL</b><br><input size="30" type="text" name="url" value="<?=$_REQUEST['url']?>">
</td>
<td>
<img src="images/dut.gif" alt="" /><b>Besøgt d.</b><br><input size="2" maxlength="2" type="text" name="visit_d" value="<?=$_REQUEST['visit_d']?>">.<input size="2" maxlength="2" type="text" name="visit_m" value="<?=$_REQUEST['visit_m']?>">.<input size="4" maxlength="4" type="text" name="visit_y" value="<?=$_REQUEST['visit_y']?>"><font size="2">dd.mm.åååå</font>
</td>
</tr>
<tr>
<td height="10"></td>
</tr>
<tr>
<td>
<input type="submit" name="submitKnap" value="Tilføj" onClick="return validateForm('blog')">
<?=$reset?>
</td>
</tr>
</table>
<input type="hidden" name="ressource" value="blog">
</form>