-
Notifications
You must be signed in to change notification settings - Fork 0
/
changeemail.php
65 lines (60 loc) · 1.66 KB
/
changeemail.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
<!doctype html>
<?php
if(!isset($_COOKIE["username"])){
printf("<script>location.href='login.php'</script>");
}
else{
$username = $_COOKIE["username"];
echo "<div class='welcome'>Welcome $username</div>";
}
?>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="Springtea.css">
<script src="files/jquery.min.js"></script>
<script src="files/jquery.validate.min.js"></script>
<script src="files/validation.js"></script>
<script src="files/login.js"></script>
<title>Spring Tea - Change Your Email Address</title>
</head>
<body>
<h1><em>Spring Tea - Change Your Email Address</em></h1>
<div class ="navbar">
<ul>
<li><a href="Springtea.php">Home</a></li>
<li class="confirm"><a href="account.php" class="here">Your Account</a>
<ul class="subnavbar">
<li><a href="confirmation.php">Your Orders</a></li>
</ul>
</li>
<li><a href="teainfo.php">Tea Info</a>
<ul class="subnavbar">
<li><a href="regular_tea.php">Regular Tea</a></li>
<li><a href="pu-erh_tea.php">Pu-erh Tea</a></li>
<li><a href="teapot.php">Teapot</a></li>
</ul>
</li>
<li class="order"><a href="cart.php">Cart</a>
</li>
<li><a href="contact_info.php">Contact Info</a></li>
</ul>
</div>
<br><br><br><br>
<form id="form" action="changeemail2.php" method="post">
<h1 class="info">Change Your Email Address</h1>
<fieldset>
<p class="redp">
Old Email Address:
<input type="text" name="oldemailaddress" size="20" maxlength="20" /><br>
New Email Address:
<input type="text" name="newemailaddress" size="20" maxlength="20" /><br>
<input type="submit" name="submit" value="Submit" />
</p>
</fieldset>
</form>
<hr>
<p class="red"><a href="Credit.html">Credits</a>
</p>
</body>
</html>