<?php include_once('header.php'); 

if(!empty($_POST['stud_email']))
$pass=student_reg();
?>
<!-- START SECTION TOP -->
	<section class="section-top">
		<div class="container">
			<div class="col-lg-10 offset-lg-1 text-center">
				<div class="section-top-title wow fadeInRight" data-wow-duration="1s" data-wow-delay="0.3s" data-wow-offset="0">
					<h1>Register Page</h1>
					<ul>
						<li><a href="index.html">Home</a></li>
						<li> / Register</li>
					</ul>
				</div><!-- //.HERO-TEXT -->
			</div><!--- END COL -->
		</div><!--- END CONTAINER -->
	</section>	
	<!-- END SECTION TOP -->
 		 <?php
                if(!empty($_GET['exist']))
                {
              ?>
                <div class="alert alert-danger w-50 container mt-4" align="center"><strong style="color:black"> <centrer> Already Exist </centrer> </strong></div>
            <?php
                }
                if(!empty($_GET['succ']))
                {
            ?>
                <div class="alert alert-success w-50 container mt-4" align="center"><strong style="color:black"> <centrer> Account Created Successfully </centrer> </strong></div>
             <?php
			}
			if(!empty($_GET['ssucc']))
		  {
		  ?>
          	<div class="alert alert-info w-50 container mt-4" role="alert"> <center> <strong style="color:black"> Account Created Successfully</strong> </center></div>
            <?php
			}
			?>
	<!--<div class="alert alert-success w-50 container mt-4"> <center> <strong class="text-dark">SI</strong> </center></div>-->
    
	<!-- START LOGIN AND REGISTER -->
	<section class="login_register section-padding">
		<div class="container">
			<div class="row">				
				<div class="col-lg-6 offset-lg-3 col-xs-12">
                  <form method="post" action="<?php $_SERVER['PHP_SELF']; ?>" id="form1" enctype="multipart/form-data" onSubmit="return validate_registration();">
					<div class="register">
						<h4 class="login_register_title">Create a new account:</h4>
						<div class="form-group">
                        
							<label for="">Student's Full Name</label> <div class="err"></div>
							<input type="text" class="form-control" id="stud_name" name="stud_name">
                            
						</div>
						
						<div class="form-group">
							<label for="">Email Address</label> <div class="err"></div>
							<input type="email" id="stud_email" class="form-control" name="stud_email" >
						</div>
						<div class="form-group">
							<label for="">Mobile Number</label> <div class="err"></div>
							<input type="number" id="stud_mobile" class="form-control" name="stud_mobile" >
						</div>
                        
                        <div class="form-group">
							<label for="">Password</label> <div class="err"></div>
							<input type="password" id="password" class="form-control" name="password" >
						</div>
                        
                        <div class="form-group mb-4">
							<label for="">Education Level / Degree</label> <div class="err"></div>
							<input type="text"  class="form-control" id="stud_education" name="stud_education">
                           <!-- <select id="stud_education" class="form-control" name="stud_education" >
                            	<option value="">Choose Education Level / Degree</option>
                            </select>-->
						</div>
                        
                         <div class="form-group">
							<label for="">University Major/Specialization</label> <div class="err"></div>
                            	<input type="text" class="form-control" id="university_major" name="university_major">
							<!--<select id="university_major" class="form-control" name="university_major" >
                            	<option value="">Choose Education Level / Degree</option>
                            </select>-->
						</div>
                        
                          <div class="form-group">
							<label for="">University Name</label> <div class="err"></div>
							<input type="text" id="university_name" class="form-control" name="university_name" >
						</div>
                        
                        
                        <div class="form-group">
							<label for="">Student Gpa</label> <div class="err"></div>
							<input type="text" id="stud_gpa" class="form-control" name="stud_gpa" >
						</div>
                                                
                        <div class="form-group">
							<label for="">Linkedin Profile Url Integration</label> <div class="err"></div>
							<input type="url" id="stud_linkedin" class="form-control" name="stud_linkedin" >
						</div>
                        
                        <div class="form-group">
							<label for="">Complete Address</label> <div class="err"></div>
							<textarea id="stud_address" class="form-control" name="stud_address" > </textarea>
						</div> 
                        
                        <div class="form-group">
							<label for="">Resume Upload</label> <div class="err"></div>
							<input type="file" id="stud_resume" class="form-control" name="stud_resume" >
						</div>
                        
						<div class="form-group col-lg-12">
							<button class="btn_one" type="submit" name="submit">Signup now</button>
						</div>
						<p>Already have an account? <a href="login.php">Login</a></p>
					</div>
                    </form>
				</div><!--- END COL -->
			</div><!--- END ROW -->
		</div><!--- END CONTAINER -->
	</section>
	<!-- END LOGIN AND REGISTER -->
<?php include_once('footer.php'); ?>