-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathreply-input.php
71 lines (55 loc) · 1.33 KB
/
reply-input.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
65
66
67
68
69
70
71
<?php
//This page is used by the ham operator
//to post email replies into the system
//so that end users can view them.
//Login is required. Password is set in the
//config.php file. This page calls replyprocessor.php
//to process the data entered.
//20180410 km4ack
//session login
session_start();
if(!isset($_SESSION['login'])) {
header('LOCATION:login.php'); die();
}
//include variables from config.php
include('/var/www/html/config.php');
?>
<!DOCTYPE html>
<!-- -->
<html>
<head>
<title>Input Replies</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<h1><?php echo $callsign ?> Emergency Email Server<br>
<div id="pagelabel">Post Message Replies</div>
</h1>
<hr>
<br>
<br>
<h1><strong><font color="red"><?php echo $reminder ?></font></strong></h1>
<div class="content">
<form action="replyprocessor.php" method="POST"
<label>Who Is the Reply From</label><br>
<input name="email" type="text" size="66" />
<br>
<br>
<label>What is the Reply?</label><br>
<TEXTAREA NAME="body" ROWS=10 COLS=75 >
</TEXTAREA>
<br>
<br>
</div>
<input name="mySubmit" type="submit" value="Post Reply" />
<br>
<br>
<br>
</form>
<form action="replies.php">
<input type="submit" value="See All Replies" />
</form>
<br>
<br>
</body>
</html>