<?php
include(dirname(__FILE__) . '/../header.php');
?>

<h2>ログイン</h2>

<?php echo validation_errors(); ?>

<?php echo form_open('res/login'); ?>

<h5>E-Mail</h5>
<input type="text" name="email" value="<?php echo set_value('email', isset($email) ? $email : ''); ?>" size="20" />

<h5>Password</h5>
<input type="password" name="password" value="<?php echo set_value('password', isset($password) ? $password : ''); ?>" size="20" />

<br />
<input type="submit" name="mysubmit" value="ログイン" />

</form>

<?php
include(dirname(__FILE__) . '/../footer.php');
?>
