-
Notifications
You must be signed in to change notification settings - Fork 0
/
ads.php
91 lines (90 loc) · 5.85 KB
/
ads.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="menu">
<a href="proiect-servlets/home">home</a>
<a href="proiect-servlets/controlpanel">controlpanel</a>
<a href="proiect-servlets/ads">ads</a>
<a href="proiect-servlets/logout">logout</a>
<a href="proiect-servlets/debug">debug</a>
</div>
<h3>Add AD</h3>
<form class="form add" action="ads" method="GET">
<input type="text" name="campaign" placeholder="campaign" required />
<input type="text" name="type" placeholder="type" required />
<input type="text" name="width" placeholder="width" required />
<input type="text" name="height" placeholder="height" required />
<br/>
<input type="text" name="link" placeholder="link" required />
<input type="text" name="show" placeholder="show" required /> <br/>
<input type="submit" name="save" value="Save" />
<input type="submit" name="delete" value="Delete" />
</form>
<h3>See/Edit ADS</h3>
<div class="ads">
<form class="ad form" action="ads" method="GET">
<input type="text" name="id" value="1" placeholder="id" required />
<input type="text" name="campaign" value="a23" placeholder="campaign" required />
<input type="text" name="link" value="http://placekitten.com/468/60" placeholder="link" required />
<input type="text" name="show" value="http://placekitten.com/468/60" placeholder="show" required /> <br/>
<input type="text" name="width" value="468" placeholder="width" required />
<input type="text" name="height" value="60" placeholder="height" required />
<input type="text" name="type" value="image" placeholder="type" required />
<input type="submit" name="save" value="Save" />
<input type="submit" name="delete" value="Delete" />
</form>
<form class="ad form" action="ads" method="GET">
<input type="text" name="id" value="1" placeholder="id" required />
<input type="text" name="campaign" value="a23" placeholder="campaign" required />
<input type="text" name="link" value="http://placekitten.com/468/60" placeholder="link" required />
<input type="text" name="show" value="http://placekitten.com/468/60" placeholder="show" required /> <br/>
<input type="text" name="width" value="468" placeholder="width" required />
<input type="text" name="height" value="60" placeholder="height" required />
<input type="text" name="type" value="image" placeholder="type" required />
<input type="submit" name="save" value="Save" />
<input type="submit" name="delete" value="Delete" />
</form>
<form class="ad form" action="ads" method="GET">
<input type="text" name="id" value="1" placeholder="id" required />
<input type="text" name="campaign" value="a23" placeholder="campaign" required />
<input type="text" name="link" value="http://placekitten.com/468/60" placeholder="link" required />
<input type="text" name="show" value="http://placekitten.com/468/60" placeholder="show" required /> <br/>
<input type="text" name="width" value="468" placeholder="width" required />
<input type="text" name="height" value="60" placeholder="height" required />
<input type="text" name="type" value="image" placeholder="type" required />
<input type="submit" name="save" value="Save" />
<input type="submit" name="delete" value="Delete" />
</form>
<form class="ad form" action="ads" method="GET">
<input type="text" name="id" value="1" placeholder="id" required />
<input type="text" name="campaign" value="a23" placeholder="campaign" required />
<input type="text" name="link" value="http://placekitten.com/468/60" placeholder="link" required />
<input type="text" name="show" value="http://placekitten.com/468/60" placeholder="show" required /> <br/>
<input type="text" name="width" value="468" placeholder="width" required />
<input type="text" name="height" value="60" placeholder="height" required />
<input type="text" name="type" value="image" placeholder="type" required />
<input type="submit" name="save" value="Save" />
<input type="submit" name="delete" value="Delete" />
</form>
<!--
<form class="ad form" action="ads" method="GET">
<input type="text" name="id" value="1" placeholder="id" required />
<input type="text" name="campaign" value="a23" placeholder="campaign" required />
<input type="text" name="link" value="http://placekitten.com/468/60" placeholder="link" required />
<input type="text" name="show" value="http://placekitten.com/468/60" placeholder="show" required /> <br/>
<input type="text" name="width" value="468" placeholder="width" required />
<input type="text" name="height" value="60" placeholder="height" required />
<input type="text" name="type" value="image" placeholder="type" required />
<input type="submit" name="save" value="Save" />
<input type="submit" name="delete" value="Delete" />
</form>
-->
</div>
<br/>
</body>
</html>