Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
<?php
require_once('includes/config.php');
?>
<?php include("./layout/header.php");?>
<div class="main-content">
<form class="form-login" role="form" method="post" action="summary.php">
<?php if (isset($error) > 0): ?>
<div class="error">
<?php foreach ($error as $error): ?>
<p><?php echo $error ?>
</p>
<?php endforeach?>
</div>
<?php endif?>
<?php
if (isset($_GET['action'])) {
switch ($_GET['action']) {
case 'active':
echo "<p class='success'>Your account is now active you may now log in.</p>";
break;
case 'reset':
echo "<p class='success'>Please check your inbox for a reset link.</p>";
break;
case 'resetAccount':
echo "<p class='success'>Password changed, you may now login.</p>";
break;
}
}?>
<div class="form-log-in-with-email">
<div class="form-white-background">
<div class="form-title-row">
<h1>Log in</h1>
</div>
<div class="form-row">
<label><span>Email</span> <input id="email" name="email" placeholder="Email Address" tabindex="1" type="email" value=" <?php if (isset($error)) {
echo htmlspecialchars($_POST['email'], ENT_QUOTES);
}?>"></label>
</div>
<div class="form-row">
<label><span>Password</span> <input id="password" name="password" placeholder="Password" tabindex="2" type="password"></label>
</div>
<div class="form-row">
<button type="submit" name="submit">Submit</button>
</div>
<a href="reset.php" class="form-forgotten-password">Forgotten password &middot;</a>
<br /> <br />
<a href='register.php' class="form-create-an-account">Don't have an Account? Create one &rarr;</a>
</div>
</div>
</form>
</div>
<?php
//include header template
require('layout/footer.php');
?>