forked from root/threadr.lostcave.ddnss.de
section tag
parent
07c9822b44
commit
35d766c6b3
|
@ -25,27 +25,29 @@ if (isset($_SESSION['user_id'])){
|
||||||
<div class="item-1">
|
<div class="item-1">
|
||||||
<h1> <center>Log in to your ThreadR account</center> </h1>
|
<h1> <center>Log in to your ThreadR account</center> </h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="item-2 form">
|
<div class="item-2">
|
||||||
<p>
|
<section>
|
||||||
<?php
|
<p>
|
||||||
if (isset($_GET['error'])){
|
<?php
|
||||||
if ($_GET['error'] == "credentials"){
|
if (isset($_GET['error'])){
|
||||||
echo "Invalid credentials. Try again:";
|
if ($_GET['error'] == "credentials"){
|
||||||
|
echo "Invalid credentials. Try again:";
|
||||||
|
}
|
||||||
|
if ($_GET['error'] == "session"){
|
||||||
|
echo "Your session has been closed. We are sorry for the inconvenience.";
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
echo "Login:";
|
||||||
}
|
}
|
||||||
if ($_GET['error'] == "session"){
|
?></p>
|
||||||
echo "Your session has been closed. We are sorry for the inconvenience.";
|
<form action="%CONTENT_DIR%/login/redirect.php" method="post">
|
||||||
}
|
<input type="text" name="username" maxlength="20" placeholder="Username" />
|
||||||
} else {
|
<input type="password" name="password" maxlength="256" placeholder="Password" />
|
||||||
echo "Login:";
|
<p></p>
|
||||||
}
|
<input type="submit" value="Log in" />
|
||||||
?></p>
|
</form>
|
||||||
<form action="%CONTENT_DIR%/login/redirect.php" method="post">
|
|
||||||
<input type="text" name="username" maxlength="20" placeholder="Username" />
|
|
||||||
<input type="password" name="password" maxlength="256" placeholder="Password" />
|
|
||||||
<p></p>
|
<p></p>
|
||||||
<input type="submit" value="Log in" />
|
</section>
|
||||||
</form>
|
|
||||||
<p></p>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="item-3">
|
<div class="item-3">
|
||||||
<p></p>
|
<p></p>
|
||||||
|
|
Loading…
Reference in New Issue