-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsign-up.php
191 lines (146 loc) · 4.4 KB
/
sign-up.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
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
<?php
session_start();
if(isset($_SESSION['id_user']) || isset($_SESSION['id_company'])) {
header("Location: index.php");
exit();
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Online Placement And Training Solution</title>
<!-- Google font -->
<link href="https://fonts.googleapis.com/css?family=Montserrat:400,700%7CVarela+Round" rel="stylesheet">
<!-- Bootstrap -->
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css" />
<!-- Owl Carousel -->
<link type="text/css" rel="stylesheet" href="css/owl.carousel.css" />
<link type="text/css" rel="stylesheet" href="css/owl.theme.default.css" />
<!-- Magnific Popup -->
<link type="text/css" rel="stylesheet" href="css/magnific-popup.css" />
<!-- Ionicons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
<!-- Font Awesome Icon -->
<link rel="stylesheet" href="css/font-awesome.min.css">
<!-- Custom stlylesheet -->
<link type="text/css" rel="stylesheet" href="css/style.css" />
</head>
<body>
<!-- Header -->
<header id="home">
<!-- Nav -->
<nav id="nav" class="navbar navbar-expand-sm bg-light">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand " href="index.php"><b>Placement </b><br/>Portal
</a>
<!-- Collapse nav button -->
<div class="nav-collapse">
<span></span>
</div>
<!-- /Collapse nav button -->
</div>
<!-- Main navigation -->
<ul class="main-nav nav navbar-nav navbar-right">
<li>
<a href="jobs.php">Jobs</a>
</li>
<?php if(empty($_SESSION['id_user']) && empty($_SESSION['id_company'])) { ?>
<li>
<a href="login.php">Login</a>
</li>
<li>
<a href="sign-up.php">Sign Up</a>
</li>
<?php } else {
if(isset($_SESSION['id_user'])) {
?>
<li>
<a href="user/index.php">Dashboard</a>
</li>
<?php
} else if(isset($_SESSION['id_company'])) {
?>
<li>
<a href="company/index.php">Dashboard</a>
</li>
<?php } ?>
<li>
<a href="logout.php">Logout</a>
</li>
<?php } ?>
</ul>
<!-- /Main navigation -->
</div>
</nav>
<!-- /Nav -->
<!-- About -->
<div id="signin" class="section md-padding">
<!-- Container -->
<div class="container">
<!-- Row -->
<div class="row">
<!-- Section header -->
<div class="section-header text-center">
<h2 class="title">Sign Up</h2>
</div>
<!-- /Section header -->
<!-- about -->
<div class="col-md-6">
<div class="about">
<a href="register-candidates.php"/>
<h3>Candidate Registration</h3>
</a>
</div>
</div>
<!-- /about -->
<!-- about -->
<div class="col-md-6">
<div class="about">
<a href="register-company.php">
<h3>Company Registration</h3>
</a>
</div>
</div>
<!-- /about -->
</div>
<!-- /Row -->
</div>
<!-- /Container -->
</div>
<!-- /About -->
</header>
<!-- /.content-wrapper -->
<!-- Footer -->
<footer id="footer" class="sm-padding bg-dark">
<!-- Container -->
<div class="container">
<!-- Row -->
<div class="row">
<div class="col-md-12">
<div class="footer-copyright">
<p>Online Placement And Training Solution<br/>A Capstone Project</p>
</div>
</div>
</div>
<!-- /Row -->
</div>
<!-- /Container -->
</div>
</footer>
<!-- /Footer -->
<!-- Back to top -->
<div id="back-to-top"></div>
<!-- /Back to top -->
<!-- jQuery Plugins -->
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/owl.carousel.min.js"></script>
<script type="text/javascript" src="js/jquery.magnific-popup.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>