2 <?php include(
'server.php') ?>
5 <html lang=
"en" dir=
"ltr">
8 <meta name=
"viewport" content=
"width=device-width, initial-scale=1">
9 <link rel=
"stylesheet" href=
"https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
10 <link rel=
"stylesheet" href=
"https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
11 <link rel=
"stylesheet" href=
"assets/styles/normalize.css">
12 <link rel=
"stylesheet" href=
"assets/styles/main.css">
13 <link rel=
"stylesheet" href=
"https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity=
"sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin=
"anonymous">
14 <link rel=
"stylesheet" href=
"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
15 <script src=
"https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
16 <script src=
"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
17 <script src=
"https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
18 <title>ŮŽRegistration Form</title>
19 <link rel=
"stylesheet" href=
"css/style_demoreg.css">
20 <script type=
"text/javascript">
25 var a = document.getElementById(
"password").value;
26 var b = document.getElementById(
"confirm_password").value;
28 document.getElementById(
'msg1').innerHTML=
"**Password did'n matched";
37 <div
class=
"container">
40 <div
class=
"col-md-12">
41 <div
class=
"myLeftCtn">
42 <form action=
"demoreg.php" class=
"myForm text-center" method=
"post" onsubmit=
"return pswcheck()">
43 <?php include(
'error.php'); ?>
44 <header>Create
new Account</header>
45 <div
class=
"form-group">
46 <i
class=
"fas fa-user"></i>
47 <input
class=
"myInput" type=
"text" name=
"name" value=
"" placeholder=
"Name" id=
"firstname" required>
48 <div
class=
"invalid-feedback">Please fill out
this field</div>
51 <div
class=
"form-group">
52 <i
class=
"fas fa-user"></i>
53 <input
class=
"myInput" type=
"text" name=
"roll" value=
"" placeholder=
"Roll Number" id=
"lastname" required>
54 <div
class=
"invalid-feedback">Please fill out
this field</div>
57 <div
class=
"form-group">
58 <i
class=
"fas fa-envelope"></i>
59 <input
class=
"myInput" type=
"email" name=
"email" value=
"" placeholder=
"Email" id=
"email" required>
60 <div
class=
"invalid-feedback">Please fill out
this field</div>
63 <div
class=
"form-group">
64 <i
class=
"fas fa-graduation-cap"></i>
65 <select
class=
"myInput" id=
"dropdown" data-target=
"province" name=
"branch" required>
66 <option value=
"-1">SELECT BRANCH</option>
67 <option>Computer Science</option>
69 <div
class=
"invalid-feedback">Please fill out
this field</div>
72 <div
class=
"form-group">
73 <i
class=
"fas fa-lock"></i>
74 <input
class=
"myInput" type=
"password" name=
"password1" value=
"" placeholder=
"Password" id=
"password" required>
75 <div
class=
"invalid-feedback">Please fill out
this field</div>
78 <div
class=
"form-group">
79 <i
class=
"fas fa-lock"></i>
80 <input
class=
"myInput" type=
"password" name=
"password2" value=
"" placeholder=
"Confirm Password" id=
"confirm_password" required><br><span
id=
"msg1" style=
"color: red"></span>
81 <div
class=
"invalid-feedback">Please fill out
this field</div>
84 <input
class=
"butt" type=
"submit" name=
"submit" value=
"CREATE ACCOUNT"><br>
85 <a href=
"index.php" class=
"anchor">already have account?</a>