Mini Shell

Direktori : /home/rizant5/www/development/
Upload File :
Current File : //home/rizant5/www/development/verify-student.php.old

<?php require_once('function-file.php');
require_once('function-menu.php');
require_once('config.php');
require_once('function-testo-footer.php');
if(!empty($_GET['activate_id'])){
	$stu_id=$_GET['activate_id'];
	$conn->exec("update student_reg set stu_status='1' where stu_id='$stu_id'");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>Home | Lanka Virtual Academy</title>
	<?php commoncss();?> 
    <style>@media (min-width: 768px) {.login-box{width: 40%;text-align: center;margin-left: 30%;border: 2px solid #ccc;border-radius: 5px;}.error{color: red;}}
	</style>   
</head><!--/head-->
<body class="homepage">
    <?php headermenu();?>
     <section >
   		<div class="container">
            <div class="row">
                <div class="col-sm-12 login-box">
                <?php if(!empty($_GET['activate_id'])){?><h4 style="color: green;">Thank You for Activating Your Account</h4>
                <h6>Your account is now activated.</h6>
                <p>You can now login to access the student section.</p><?php }?>
                <br>
                <h2>Login</h2>
                <?php if(!empty($_GET['msg'])){echo"<p class='error'>Invalid Username or Password.</p>";}?>
                <form action="student/login-exec.php" method="post">
                    <div class="col-sm-12 form-group">
                        <div class="col-sm-3">Email ID</div>
                        <div class="col-sm-9"><input type="email" name="stu_email" class="form-control" required/></div>
                    </div>
                     <div class="col-sm-12 form-group">
                        <div class="col-sm-3">Password</div>
                        <div class="col-sm-9"><input type="password" name="stu_password" class="form-control" required/></div>
                    </div>
                    <div class="col-sm-12 form-group">
                        <div class="col-sm-3"></div>
                        <div class="col-sm-3"><input type="submit"  class="btn btn-warning col-sm-12" value="LOGIN"/></div>
                        <div class="col-sm-6"><a href="forgot-password.php"  class="btn btn-warning col-sm-12"/>Forgot Password</a></div>
                    </div>
                 </form>   
                </div>
              </div>
           </div>
   </section>
  <?php newssletter();  ?>
<?php footer(); commonjs();?>   
</body>
</html>

Zerion Mini Shell 1.0