-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.php
129 lines (123 loc) · 7.39 KB
/
index.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
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
<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="public/css/front.css"/>
<title>SMVDU INTERACTION</title>
</head>
<body>
<section id="first_all">
<section id="first_login">
<form action="public\php\verify.php" method="post">
<div>Login : Email : <input type="email" placeholder="Email id" name="email"></div>
<div>Password : <input type="password" placeholder="password" name="pass"></div>
<div><input type="submit" value="submit"></div>
</form>
</section>
<?php
if(isset($_REQUEST["v"]))
{
if($_REQUEST["v"]=="false")
echo "<section id='popup'><script>alert('Wrong Password');</script></section>";
if($_REQUEST['v']=="er")
echo "<section id='popup'><script>alert('Check Username and password');</script></section>";
}
?>
<section id="text_display">
Login here : <br> To connect with of your classmate
</section>
<section id="registration_section">
<div id="first_form">
<form id="first_page">
Register
<hr>
<table>
<tr><td>Name:</td><td><input type="text" placeholder="Full Name" name="full_name"></td></tr>
<tr><td>Email:</td><td><input type="text" placeholder="@smvdu.ac.in" name="email"></td> </tr>
<tr><td>Password:</td><td><input type="password" placeholder="password" name="password"></td></tr>
<tr><td>Re-Password:</td><td><input type="password" placeholder="Confirm Password" name="confir_pass"></td></tr>
<tr><td>Select :</td><td><input type="radio" name="user_type" value="student">Student<input type="radio" name="user_type" value="faculty">Faculty</td></tr>
<tr><td>Sex :</td><td><input type="radio" name="sex" value="m">Male <input type="radio" name="sex" value="f">Female</td></tr>
<tr><td><center><input type="reset" value="Reset" ></center></td><td><center><input type="button" value="Next" onclick="first_fun()"></center></td></tr>
<tr><td colspan="2" id="f_warning"></td></tr>
</table>
</form>
<div id="note_email">Note: Use college Email-id to register</div>
</div>
</section>
</section>
<section id="next_entry_stu" class="student">
<div id="first_form">
<form id="second_stu">
<div style="text-align:center;">Student Entry</div>
<hr>
<table>
<tr><td>Entry No. *:</td><td><input type="text" placeholder="like.,2012ecs10" name="entry_no"></td></tr>
<tr><td>Branch *:</td><td><select name="branch" selected="none">
<option value="default" disabled="disabled" selected>--Select one--</option>
<option value="Computer Science and Engineering">Computer Science and Engineering</option>
<option value="Mechanical Engineering">Mechanical Engineering</option>
<option value="Electronics and Communication Engineering">Electronics and Communication Engineering</option>
<option value="Industrial Bio Technology">Industrial Bio Technology</option>
<option value="Architecture">Architecture</option>
<option value="Master of Business Administration">Master of Business Administration</option>
</select>
</td></tr>
<tr><td>Semester *:</td><td><input type="number" name="semester" min="1" max="10">
</td></tr>
<tr><td>Date of Birth *:</td><td><input type="date" name="birth_date"></td></tr>
<tr><td>Date of Joining *:</td><td><input type="date" name="join_date"></td></tr>
<tr><td>Address :</td><td><input type="text" placeholder="address" name="address"></td></tr>
<tr><td>Contact Number :</td><td><input type="text" placeholder="i.e.9797521898" name="contact_no"></td></tr>
<tr><td>Projects :</td><td><input type="text" placeholder="like.library system,animation" name="projects"></td></tr>
<tr><td>Area of Interest:</td><td><input type="text" placeholder="like java,robotics" name="area_interest"></td></tr>
<tr><td><input type="button" value="Cancel" onclick="window.location.assign('');"></td><td><input type="button" value="Submit" onclick="stu_submit()"></td></tr>
<tr><td colspan="2" id="stu_warning"></td></tr>
</table>
</form>
</div>
</section>
<section id="next_entry_fac">
<div id="first_form" >
<form id="third_fac">
<div style="text-align:center;">Faculty Entry</div>
<hr>
<table>
<div><tr><td>Department *:</td><td><select name="department">
<option value="default" disabled="disabled" selected>--Select one--</option>
<option value="Computer Science and Engineering">Computer Science and Engineering</option>
<option value="Mechanical Engineering">Mechanical Engineering</option>
<option value="Electronics and Communication Engineering">Electronics and Communication Engineering</option>
<option value="Industrial Bio Technology">Industrial Bio Technology</option>
<option value="Architecture">Architecture</option>
<option value="Master of Business Administration">Master of Business Administration</option>
</select>
</td></tr></div>
<div><tr><td>Designation *:</td><td><input type="text" placeholder="like.,professor" name="designation"></td></tr></div>
<div><tr><td>Qualification *:</td><td><input type="text" placeholder="like.B.tech,MBA" name="qualification"></td></tr></div>
<div><tr><td>Date of Birth *:</td><td><input type="date" name="birth_date"></td></tr></div>
<div><tr><td>Date of Joining *:</td><td><input type="date" name="join_date"></td></tr></div>
<div><tr><td>Address :</td><td><input type="text" placeholder="address" name="address"></td></tr></div>
<div><tr><td>Contact Number :</td><td><input type="text" placeholder="i.e.9797521898" name="contact_no"></td></tr></div>
<div><tr><td>Projects :</td><td><input type="text" placeholder="like.library system,animation" name="projects"></td></tr></div>
<div><tr><td>Area of Interest:</td><td><input type="text" placeholder="like java,robotics" name="area_interest"></td></tr></div>
<div><tr><td>Area of Specialization *:</td><td><input type="text" placeholder="eg.django,python" name="area_specialization"></td></tr></div>
<div><tr><td><input type="button" value="Cancel" onclick="window.location.assign('');"></td><td><input type="button" value="Submit" onclick="fac_submit()"></td></tr></div>
<tr><td colspan="2" id="fac_warning"></td></tr>
</table>
</form>
</div>
</section>
<section id="second_all">
<iframe width="1349" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.co.in/maps?f=q&source=s_q&hl=en&geocode=&q=Shri+Mata+Vaishno+Devi+University,+Reasi&aq=0&oq=smvdu&sll=20.983588,82.752628&sspn=47.832907,82.265625&ie=UTF8&hq=Shri+Mata+Vaishno+Devi+University,+Reasi&t=m&ll=32.941232,74.953666&spn=0.012606,0.026822&z=15&iwloc=A&output=embed"></iframe>
<footer>
<center id="github">
<p>This Website is Developed using open source platform on Github. Play with the code at <a href="https://github.com/codingeass/interaction-smvdu" target="_blank"> <span>Github - Interaction SMVDU</span><img src="public/img/github.png"></a></p>
</center>
</footer>
</section>
<script type="text/javascript" src="public/js/reg.js"></script>
</body>
</html>