-
Notifications
You must be signed in to change notification settings - Fork 0
/
adminview.php
60 lines (51 loc) · 1.78 KB
/
adminview.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
<?php
session_start();
if(!isset($_SESSION['admin'])){
header("location:index.php");
}
?>
<html>
<head>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">PHPStudio</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li>
<a href="logout.php" id="logout">logout</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container">
<h1>create users</h1>
<div id="register">
<form method="post" id="reg" action="register.php">
<p>Name * : <input class="input-large" type="text" id="name" name="name" onBlur="validate()"><br>
</p>
<p>Email id *: <input class="input-large" name="email" id="email" type="text" onBlur="validate1()"><br>
</p>
<p>Password *:<input class="input-large" name="pass" id="pass" type="password" onBlur="validate2()"><br>
</p>
<p>Confirm password *:<br>
<input type="password" id="confirmpassword" name="confirmpassword" onBlur="validate3()"><br>
<input class="btn btn-primary" type="submit" value="register" id="submit">
<input type="reset" class="btn btn-danger" value="reset"/>
</p>
</form>
</div>
</div>
</body>
</html>