Код:
<?
require_once("confic.php");
hit_start();
dbconn();
hit_count();
stdhead("Login");
unset($returnto);
if (!empty($_GET["returnto"])) {
$returnto = $_GET["returnto"];
if (!$_GET["nowarn"]) {
print("<h1>Not logged in!</h1>\n");
print("<p><b>Error:</b> The page you tried to view can only be used when you're logged in.</p>\n");
}
}
?>
<style type="text/css">
.btn2 {
cursor:pointer;
border:outset 1px #ccc;
background:#999;
color:#666;
font-weight:bold;
padding: 1px 2px;
background:url(pic/formbg.gif) repeat-x left top;
}
</style>
<form method="post" action="takelogin.php">
<p>Бисквитките трябва да са включени за да влезнеш </p>
<table border="0" cellpadding=5>
<tr>
<td class=rowhead>Потребителско име :</td>
<td align=left><input type="text" size=40 name="username" /></td></tr>
<tr>
<td class=rowhead>Парола:</td>
<td align=left><input type="password" size=40 name="password" /></td></tr>
<tr><td colspan="2" align="center"><input type="submit" value="ВЛЕЗ!" class=btn2>
<input type="reset" class=btn2 value="Изчисти"></td></tr>
</table>
<?
if (isset($returnto))
print("<input type=\"hidden\" name=\"returnto\" value=\"" . htmlspecialchars($returnto) . "\" />\n");
?>
</form>
<p>Нямаш акаунт? <a href="signup.php">Направи си </a>!</p>
<?
stdfoot();
hit_end();
?>
Да ако се досещате login формата ми. Искам ако може
Демек ако изпълнението е вярно да ми излезе друго, което аз ще си сложа. Само началото не разбирам. Моля ви добри хора