-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddnews.php
62 lines (58 loc) · 1.85 KB
/
addnews.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
<!DOCTYPE html>
<html>
<head>
<title>Add News</title>
<link rel="stylesheet" href="main/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
form {
margin-top: 100px;
margin-left: 120px;
}
.photo {
width: 240px;
}
.area {
margin-bottom: 10px;
}
input[type=password]::-ms-reveal,
input[type=password]::-ms-clear
{
display: none;
}
</style>
</head>
<body style="background-color: black; color: rgb(167, 42, 42)">
<div class="nav">
<ul class="topnav">
<li><img class="bayern" src="images/bayern.png" alt="bayern logo"></li>
<li><a href="index.php">Home</a></li>
<li><a href="addnews.php">AddNews</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
</div>
<form class="form" method="post" action="addnews.php">
<div class="">
<h2>Enter New Text</h2>
</div>
<div class="inputs">
<textarea class="area" name="w3review" rows="4" cols="30"></textarea>
</div>
<div class="">
<h2>Enter New Link</h2>
</div>
<div class="inputs">
<textarea class="area" name="link" rows="4" cols="30"></textarea>
</div>
<div class="">
<h2>Upload Photo </h2>
</div>
<div class="inputs">
<input type="file" class="photo" name="photo" required>
</div>
<div class="inputs">
<button type="submit" class="button1" name="signup">Upload</button>
</div>
</form>
</body>
</html>