-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadminpage.php
More file actions
162 lines (161 loc) · 3.48 KB
/
Copy pathadminpage.php
File metadata and controls
162 lines (161 loc) · 3.48 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>ADMINISTRATIVE PAGE : MDBMS</title>
<style type="text/css">
</style>
<script type="text/javascript">
function showResult(str)
{
if (str.length==0)
{
document.getElementById("livesearch").innerHTML="";
document.getElementById("livesearch").style.border="0px";
return;
}
if (window.XMLHttpRequest)
{// code for IE7+, Firefox, Chrome, Opera, Safari
xmlhttp=new XMLHttpRequest();
}
else
{// code for IE6, IE5
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4 && xmlhttp.status==200)
{
document.getElementById("livesearch").innerHTML=xmlhttp.responseText;
document.getElementById("livesearch").style.border="1px solid #A5ACB2";
}
}
xmlhttp.open("GET","adminsearch.php?q="+str,true);
xmlhttp.send();
}
</script>
</head>
<body>
<div class=Welcome>
<h1>Welcome Mr. Administrator</h1>
<h3>You have successfully Logged in</h3>
<style type="text/css">
div.Welcome
{
left:10px;
top:10px;
margin:10px;
height:100px;
width:800px;
background-color:blue;
}
</style>
<br/>
<br/><a href="admin.php">LOGOUT</a>
</div>
<div class=secondbox>
<style type="text/css">
div.secondbox
{ left:10px;
top:130px;
margin:10px;
height:350px;
width:800px;
position:absolute;
background-color:red;
}
</style>
<h2><b>ADD OR DELETE A MOVIE</b></h2>
<br/>
<h3>ADD</h3>
<a href="addmovie.php">ADD</a>
<br/>
<br/>
<h3>DELETE</h3>
<form id="form2" name="form2" method="post" action="deletemovie.php">
<label for="delet">Type movie name </label>
<input type="text" name="delet" id="delet" />
<br/>
<input name="signin" value="Delete" type="submit" /><br/>
</form>
</div>
<div class=thirdbox>
<style type="text/css">
div.thirdbox
{ left:10px;
top:500px;
margin:10px;
height:325px;
width:800px;
position:absolute;
background-color:red;
}
</style>
<h2><b>ADD OR DELETE A CAST MEMBER</b></h2>
<br/>
<h3>ADD</h3>
<a href="addcast.php">ADD</a>
</form>
<br/>
<h3>DELETE</h3>
<form id="form4" name="form4" method="post" action="castdelete.php">
<label for="castdelete">Type a cast member's name </label>
<input type="text" name="castdelete" id="castdelete" />
<br/>
<input name="signin" value="Delete" type="submit" /><br/>
</form>
</div>
<div class=fourthbox>
<style type="text/css">
div.fourthbox
{ left:820px;
top:130px;
margin:10px;
height:350px;
width:500px;
position:absolute;
background-color:red;
}
</style>
<h2><b>CENSOR REVIEWS</b></h2>
<br/>
<form id="form5" name="form5" method="post" action="censor.php">
<label for="censor">Type movie name </label>
<input type="text" name="censor" id="censor" />
<br/>
<label for="email">Type Email ID</label>
<input type="text" name="email" id="email" />
<br/>
<br/>
<input name="signin" value="Delete Review" type="submit" /><br/>
</form>
</br>
<br/>
<a href="admin.php">LOGOUT</a>
</div>
<div class=fifthbox>
<style type="text/css">
div.fifthbox
{ left:820px;
top:500px;
margin:10px;
height:325px;
width:500px;
position:absolute;
background-color:red;
}
</style>
<p><b>WARN</b></p>
<form>
<input type="text" size="30" onkeyup="showResult(this.value)" />
<div id="livesearch"></div>
</form>
<br/>
<p><b>TERMINATE</b></p>
<form>
<input type="text" size="30" onkeyup="showResult(this.value)" />
<div id="livesearch"></div>
</form>
</div>
</body>
</html>