-
Notifications
You must be signed in to change notification settings - Fork 0
/
registationMode.php
45 lines (41 loc) · 1.21 KB
/
registationMode.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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Registation Mode</title>
<link rel="stylesheet" href="registation.css" media="all">
<style media="screen">
button{
font-size: 18px;
margin-top: 20px;
padding: 10px;
background: linear-gradient(130deg, #34495e, #1abc9c);
outline: none;
border-radius: 5px;
color: #00008B;
cursor: pointer;
border: none;
}
button:hover{
background: linear-gradient(-130deg, #34495e, #1abc9c);
}
</style>
</head>
<body>
<div class="">
<label for="a">select registation mode</label>
<button type="button" name="adminBtn" onclick="location.href='adminRegistation.php'">For Admin</button>
<button type="button" name="userBtn"onclick="location.href='userRegistation.php'">For User</button>
<?php
if(isset($_POST["adminBtn"])){
header("Location: adminRegistation.php");
exit();
}
if(isset($_POST["userBtn"])){
header("Location: userRegistation.php");
exit();
}
?>
</div>
</body>
</html>