<?PHP
if (empty($lost))
        $lost = '<a href="index.php?page=lostpassword">Lost password?</a>';
?>
<?PHP $link = h1; $desc = "Edit main heading style."; include "dmtop.php"; ?>

<h1><?PHP $t = "Sign In"; include "langinc.php"; ?></h1>

<?php include "dmbot.php"; ?>
<?PHP $link = formbox; $desc = "Edit form style."; include "dmtop.php"; ?>
<?php include "dmbot.php"; ?>

<?PHP $link = h3; $desc = "Edit field box heading (h3) style."; include "dmtop.php"; ?>
<?php include "dmbot.php"; ?>

<?PHP $link = fieldbox; $desc = "Edit form field box style."; include "dmtop.php"; ?>
<?php include "dmbot.php"; ?>

<form class="formbox" style="width: 100%; margin-bottom: 15px;" name="form" method="post" action="index.php?page=<?php echo $loginpage; ?>&id=<?php echo $_GET[id]; ?>">

<h3><?PHP /* (LANGUAGE) */ $t = "Username or Email Address"; $f = "signinusername"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?></h3>

<input type="text" name="username" class="fieldbox" style="width: 50%;" value="<?php echo $_GET[qun]; ?>">

<h3 style="margin-top: 15px;"><?PHP /* (LANGUAGE) */ $t = "Password"; $f = "signinpassword"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?></h3>

<input type="password" name="password" class="fieldbox" style="width: 50%;" value="<?php echo $_GET[qpw]; ?>">

<br>

<input type="hidden" name="login" value="1">

<input style="margin-top: 15px;" class="sparklybutton" type="submit" value="<?PHP /* (LANGUAGE) */ $t = "Sign In"; $f = "signinheader"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?>" name="Submit" />

<b><?PHP /* (LANGUAGE) */ $t = "$error"; $f = "signinerror"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?><?PHP /* (LANGUAGE) */ $t = "$lost"; $f = "signinlost"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?> - </b>

<a href="index.php?page=register&back=<?php echo $_GET[page]; ?>&id=<?php echo $_GET[id]; ?>"><b><?PHP /* (LANGUAGE) */ $t = "Create a Free Account"; $f = "signincreateaccount"; $altpage = homefront; include "langinc.php"; /* (LANGUAGE) */ ?></b></a>

</form>
