<?php session_start(); ?>
<html>
<head>
<?php include('inc/head.php'); ?>
</head>
<body>
<div class="container">
<div class="header text-center">
<?php include("inc/header.php"); ?>
<nav class="navbar navbar-inverse" role="navigation">
<?php include("inc/menu.php"); ?>
</nav>
</div>
<div class="row">
<div class="col-lg-3">
<?php include("inc/sidebar.php"); ?>
</div>
<!-- </div>
<div class="row"> -->
<div class="col-lg-9">
<div class="bs-component">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">First Signin</h3>
</div>
<div class="panel-body">
<h1>Signin</h1>
<hr/>
<div class="col-lg-5">
<?php
if (isset($_SESSION['login']))
{
echo '<span class="alert alert-success">'.$_SESSION['login'].'</span>';
}
?>
<form action="login_pro.php" method="post">
<?php
if (isset($_SESSION['sess_log']['email']))
{
echo '<span class="alert alert-danger">'.$_SESSION['sess_log']['email'].'</span>';
}
elseif (isset($_SESSION['sess_log']['che']))
{
echo '<span class="alert alert-danger">'.$_SESSION['sess_log']['che'].'</span>';
}
if (isset($_SESSION['sess_log']['notval']))
{
echo '<span class="alert alert-danger">'.$_SESSION['sess_log']['notval'].'</span>';
}
?>
<input type="text" name="email" class="form-control" autofocus placeholder="Enter Email-Id" />
<br/>
<?php
if (isset($_SESSION['sess_log']['pwd']))
{
echo '<span class="alert alert-danger">'.$_SESSION['sess_log']['pwd'].'</span>';
}unset($_SESSION['sess_log']);
?>
<input type="password" name="pwd" class="form-control" placeholder="Enter Password" />
<br/>
<a href="register.php" class="text-success">Create New User</a><br/>
<a href="forget.php" class="text-info">Forgate Password</a><hr>
<input type="submit" value="SignIn" class="btn btn-info" />
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
<html>
<head>
<?php include('inc/head.php'); ?>
</head>
<body>
<div class="container">
<div class="header text-center">
<?php include("inc/header.php"); ?>
<nav class="navbar navbar-inverse" role="navigation">
<?php include("inc/menu.php"); ?>
</nav>
</div>
<div class="row">
<div class="col-lg-3">
<?php include("inc/sidebar.php"); ?>
</div>
<!-- </div>
<div class="row"> -->
<div class="col-lg-9">
<div class="bs-component">
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">First Signin</h3>
</div>
<div class="panel-body">
<h1>Signin</h1>
<hr/>
<div class="col-lg-5">
<?php
if (isset($_SESSION['login']))
{
echo '<span class="alert alert-success">'.$_SESSION['login'].'</span>';
}
?>
<form action="login_pro.php" method="post">
<?php
if (isset($_SESSION['sess_log']['email']))
{
echo '<span class="alert alert-danger">'.$_SESSION['sess_log']['email'].'</span>';
}
elseif (isset($_SESSION['sess_log']['che']))
{
echo '<span class="alert alert-danger">'.$_SESSION['sess_log']['che'].'</span>';
}
if (isset($_SESSION['sess_log']['notval']))
{
echo '<span class="alert alert-danger">'.$_SESSION['sess_log']['notval'].'</span>';
}
?>
<input type="text" name="email" class="form-control" autofocus placeholder="Enter Email-Id" />
<br/>
<?php
if (isset($_SESSION['sess_log']['pwd']))
{
echo '<span class="alert alert-danger">'.$_SESSION['sess_log']['pwd'].'</span>';
}unset($_SESSION['sess_log']);
?>
<input type="password" name="pwd" class="form-control" placeholder="Enter Password" />
<br/>
<a href="register.php" class="text-success">Create New User</a><br/>
<a href="forget.php" class="text-info">Forgate Password</a><hr>
<input type="submit" value="SignIn" class="btn btn-info" />
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>