-
Notifications
You must be signed in to change notification settings - Fork 138
Expand file tree
/
Copy pathcreate_hm.php
More file actions
195 lines (177 loc) · 7.79 KB
/
create_hm.php
File metadata and controls
195 lines (177 loc) · 7.79 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<?php
require '../includes/config.inc.php';
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>User Profile</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Consultancy Profile Widget Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- js -->
<script src="../web_profile/js/jquery-2.1.3.min.js" type="text/javascript"></script>
<script type="text/javascript" src="../web_profile/js/sliding.form.js"></script>
<!-- //js -->
<link href="../web_profile/css/style.css" rel="stylesheet" type="text/css" media="all" />
<link rel="stylesheet" href="../web_profile/css/font-awesome.min.css" />
<link rel="stylesheet" href="../web_profile/css/smoothbox.css" type='text/css' media="all" />
<link href="//fonts.googleapis.com/css?family=Pathway+Gothic+One" rel="stylesheet">
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic' rel='stylesheet' type='text/css'>
<script type="application/x-javascript">
addEventListener("load", function () {
setTimeout(hideURLbar, 0);
}, false);
function hideURLbar() {
window.scrollTo(0, 1);
}
</script>
<!--// Meta tag Keywords -->
<link href="../web_home/css_home/slider.css" type="text/css" rel="stylesheet" media="all">
<!-- css files -->
<link rel="stylesheet" href="../web_home/css_home/bootstrap.css"> <!-- Bootstrap-Core-CSS -->
<link rel="stylesheet" href="../web_home/css_home/style.css" type="text/css" media="all" /> <!-- Style-CSS -->
<link rel="stylesheet" href="../web_home/css_home/fontawesome-all.css"> <!-- Font-Awesome-Icons-CSS -->
<!-- //css files -->
<!-- testimonials css -->
<link rel="stylesheet" href="../web_home/css_home/flexslider.css" type="text/css" media="screen" property="" /><!-- flexslider css -->
<!-- //testimonials css -->
<!-- web-fonts -->
<link href="//fonts.googleapis.com/css?family=Poiret+One&subset=cyrillic,latin-ext" rel="stylesheet">
<!-- //web-fonts -->
</head>
<body>
<!-- banner -->
<div class="banner" id="home">
<div class="cd-radial-slider-wrapper">
<!--Header-->
<header>
<div class="container agile-banner_nav">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<h1><a class="navbar-brand" href="admin_home.php">NITC <span class="display"></span></a></h1>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-center" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item active">
<a class="nav-link" href="admin_home.php">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="create_hm.php">Appoint Hostel Manager</a>
</li>
<li class="nav-item">
<a class="nav-link" href="students.php">Students</a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin_contact.php">Contact</a>
</li>
<li class="dropdown nav-item">
<li>
<a href="../includes/logout.inc.php" class="nav-link">Logout</a>
</li>
</ul>
</li>
</ul>
</div>
</nav>
</div>
</header>
<!--Header-->
<br><br><br><br><br>
<div class="main">
<div id="navigation" style="display:none;" class="w3_agile">
<ul>
<li class="selected">
<a href="#"><i class="fa fa-check" aria-hidden="true"></i><span>Appoint</span></a>
</li>
<li>
<a href="#"><i class="fa fa-close" aria-hidden="true"></i><span>Remove</span></a>
</li>
</ul>
</div>
<div id="navigation" style="display:none;" class="w3_agile">
</div>
<div id="wrapper" class="w3ls_wrapper w3layouts_wrapper">
<div id="steps" style="margin:0 auto;" class="agileits w3_steps">
<form id="formElem" name="formElem" action="../includes/hm_signup.php" method="post" class="w3_form w3l_form_fancy">
<!-- <fieldset class="step agileinfo w3ls_fancy_step">
<legend>Personal Info</legend>
<div class="abt-agile">
<div class="abt-agile-left">
</div>
<div class="abt-agile-right">
<h3><?php echo htmlspecialchars($_SESSION['fname']." ".$_SESSION['lname']); ?></h3>
<h5>Admin</h5>
<ul class="address">
<li>
<ul class="address-text">
<li><b>Username </b></li>
<li>: <?php echo htmlspecialchars($_SESSION['username']); ?></li>
</ul>
</li>
<li>
<ul class="address-text">
<li><b>PHONE </b></li>
<li>: <?php echo htmlspecialchars($_SESSION['mob_no']); ?></li>
</ul>
</li>
<li>
<ul class="address-text">
<li><b>Email </b></li>
<li>: <?php echo htmlspecialchars($_SESSION['email']); ?></li>
</ul>
</li>
</ul>
</div>
<div class="clear"></div>
</div>
</fieldset>-->
<fieldset class="step w3_agileits">
<legend>Appoint Hostel Manager</legend>
<div class="agilecontactw3ls-grid">
<div class="agile-con-centre">
<form action="../includes/hm_signup.php" method="POST">
<input type="text" name="hm_uname" placeholder="USERNAME" required="required">
<input type="text" name="hm_fname" placeholder="FIRST NAME" required="required">
<input type="text" name="hm_lname" placeholder="LAST NAME" required="required">
<input type="text" name="hm_mobile" placeholder="MOBILE NO" required="required">
<input type="text" name="hostel_name" placeholder="HOSTEL NAME" required="required">
<input type="email" name="Email" placeholder="EMAIL" required="required">
<input type="password" name="pass" placeholder="HOSTEL MANAGER'S PASSWORD" required="required">
<input type="password" name="confpass" placeholder="CONFIRM HOSTEL MANAGER'S PASSWORD" required="required">
<div class="send-button">
<input type="submit" name="hm_signup_submit">
</div>
</form>
</div>
<div class="clear"></div>
</div>
</fieldset>
</form>
<form id="formElem" name="formElem" action="../includes/hm_remove.php" method="post" class="w3_form w3l_form_fancy">
<fieldset class="step w3_agileits">
<legend>Remove Hostel Manager</legend>
<div class="agilecontactw3ls-grid">
<div class="agile-con-centre">
<form action="../includes/hm_remove.php" method="POST">
<input type="text" name="hm_uname" placeholder="USERNAME" required="required">
<input type="text" name="hostel_name" placeholder="HOSTEL NAME" required="required">
<input type="password" name="pass" placeholder="ADMIN PASSWORD" required="required">
<div class="send-button">
<input type="submit" name="hm_remove_submit">
</div>
</form>
</div>
<div class="clear"></div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
<script type="text/javascript" src="../web_profile/js/smoothbox.jquery2.js"></script>
</body>
</html>