forked from Juicestus/php4chan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
61 lines (56 loc) · 2 KB
/
index.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
<?php
$brdURL = 'b';
$brdTitle = 'PHP4chan';
?>
<title>/<?php echo $brdURL; ?>/ - <?php echo $brdTitle; ?> </title>
<html>
<head>
<link rel="stylesheet" href="style.css">
</head>
<body>
<center> <h1>/<?php echo $brdURL; ?>/ - <?php echo $brdTitle; ?> </h1>
<form action="shout.php" method="post" enctype="multipart/form-data">
<table>
<tr>
<td>Name:</td>
<td>
<input type="text" name="name" value="Anonymous" disabled>
</td>
</tr>
<td>E-Mail:</td>
<td>
<input type="text" name="email" value="">
</td>
</tr>
<td>Subject:</td>
<td>
<input type="text" name="subj" value="">
<input type="submit" value="Post">
</td>
</tr>
<tr>
<td>Message:</td>
<td>
<textarea name="post"></textarea>
</td>
</tr>
<tr>
<td>File:</td>
<td>
<input type="file" name="fileToUpload" id="fileToUpload">
</td>
</tr>
<td>Password:</td>
<td>
<input type="password" name="pass" value="">
</td>
</tr>
</table>
</form>
</div>
</center><hr>
<?php
echo file_get_contents("posts.html");
?>
</body>
</html>