Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<?php $title = 'Влизане...';
echo '<table width="100%" cellspacing="0" cellpadding="0">';
echo '<tr>';
echo '<td class="u_left"><img src="./images/blank.gif" width="6" height="32" alt="" border="0"></td>';
echo '<td class="u_center" align="center">'.$title.'</td>';
echo '<td class="u_right"><img src="./images/blank.gif" width="6" height="32" alt="" border="0"></td>';
echo '</tr>';
echo '<tr>';
echo '<td class="c_left"><img src="./images/blank.gif" width="2" height="2" alt="" border="0"></td>';
echo '<td class="c_center" style="width:100%">';
echo '<table width="95%" border="0" align="center">';
echo '<tr><td align="center">';
include("connect.php");
// username and password sent from signup form
$user = htmlspecialchars(mysql_real_escape_string($_POST['user']));
$password = $_POST['pass'];
$pass = md5(md5($password));
$sql="SELECT * FROM members WHERE user='$user' and pass='$pass'";
$result=mysql_query($sql) or die (mysql_error());
// Mysql_num_row is counting table row
$count=mysql_num_rows($result);
// If result matched $myusername and $mypassword, table row must be 1 row
if($count==1){
// Register $user, $pass and redirect to file "loginpro.php"
$_SESSION['user'] = $user;
$_SESSION['test3'] = $user;
$_SESSION['pass'] = $pass;
echo '<META HTTP-EQUIV="Refresh" CONTENT="0; URL=loginpro.php">';
echo 'Вие влязохте в акаунта си успешно!';
}
else {
echo "Грешен Потребител или Парола!";
}
?>
<?php $title = 'Влизане...';
if(!$_SESSION['user']) {
echo '<table width="100%" cellspacing="0" cellpadding="0">';
echo '<tr>';
echo '<td class="u_left"><img src="./images/blank.gif" width="6" height="32" alt="" border="0"></td>';
echo '<td class="u_center" align="center">'.$title.'</td>';
echo '<td class="u_right"><img src="./images/blank.gif" width="6" height="32" alt="" border="0"></td>';
echo '</tr>';
echo '<tr>';
echo '<td class="c_left"><img src="./images/blank.gif" width="2" height="2" alt="" border="0"></td>';
echo '<td class="c_center" style="width:100%">';
echo '<table width="95%" border="0" align="center">';
echo '<tr><td align="center">';
}
include("connect.php");
// username and password sent from signup form
$user = htmlspecialchars(mysql_real_escape_string($_POST['user']));
$password = $_POST['pass'];
$pass = md5(md5($password));
$sql="SELECT * FROM members WHERE user='$user' and pass='$pass'";
$result=mysql_query($sql) or die (mysql_error());
// Mysql_num_row is counting table row
$count=mysql_num_rows($result);
// If result matched $myusername and $mypassword, table row must be 1 row
if($count==1){
// Register $user, $pass and redirect to file "loginpro.php"
$_SESSION['user'] = $user;
$_SESSION['test3'] = $user;
$_SESSION['pass'] = $pass;
echo '<META HTTP-EQUIV="Refresh" CONTENT="0; URL=loginpro.php">';
echo 'Вие влязохте в акаунта си успешно!';
}
else {
echo "Грешен Потребител или Парола!";
}
?>
<?php $title = 'Влизане...';
if(!$_SESSION['user']) {
echo '<table width="100%" cellspacing="0" cellpadding="0">';
echo '<tr>';
echo '<td class="u_left"><img src="./images/blank.gif" width="6" height="32" alt="" border="0"></td>';
echo '<td class="u_center" align="center">'.$title.'</td>';
echo '<td class="u_right"><img src="./images/blank.gif" width="6" height="32" alt="" border="0"></td>';
echo '</tr>';
echo '<tr>';
echo '<td class="c_left"><img src="./images/blank.gif" width="2" height="2" alt="" border="0"></td>';
echo '<td class="c_center" style="width:100%">';
echo '<table width="95%" border="0" align="center">';
echo '<tr><td align="center">';
<form method="post" action="">
<input type="text" name="user" /><br />
<input type="password" name="pass" /><br />
<input type="submit" name="submit" value="wlez" /><br />
}
if($_POST['submit']) {
include("connect.php");
if()
// username and password sent from signup form
$user = htmlspecialchars(mysql_real_escape_string($_POST['user']));
$password = $_POST['pass'];
$pass = md5(md5($password));
$sql="SELECT * FROM members WHERE user='$user' and pass='$pass'";
$result=mysql_query($sql) or die (mysql_error());
// Mysql_num_row is counting table row
$count=mysql_num_rows($result);
// If result matched $myusername and $mypassword, table row must be 1 row
if($count==1){
// Register $user, $pass and redirect to file "loginpro.php"
$_SESSION['user'] = $user;
$_SESSION['test3'] = $user;
$_SESSION['pass'] = $pass;
echo '<META HTTP-EQUIV="Refresh" CONTENT="0; URL=loginpro.php">';
echo 'Вие влязохте в акаунта си успешно!';
}
}
else {
echo "Грешен Потребител или Парола!";
}
?>
<?php
if(isset($_SESSION['user'])) {
//кода които да ти излиза когато потребителя е логнат
} else {
$title = 'Влизане...';
echo '<table width="100%" cellspacing="0" cellpadding="0">';
echo '<tr>';
echo '<td class="u_left"><img src="./images/blank.gif" width="6" height="32" alt="" border="0"></td>';
echo '<td class="u_center" align="center">'.$title.'</td>';
echo '<td class="u_right"><img src="./images/blank.gif" width="6" height="32" alt="" border="0"></td>';
echo '</tr>';
echo '<tr>';
echo '<td class="c_left"><img src="./images/blank.gif" width="2" height="2" alt="" border="0"></td>';
echo '<td class="c_center" style="width:100%">';
echo '<table width="95%" border="0" align="center">';
echo '<tr><td align="center">';
include("connect.php");
// username and password sent from signup form
$user = htmlspecialchars(mysql_real_escape_string($_POST['user']));
$password = $_POST['pass'];
$pass = md5(md5($password));
$sql="SELECT * FROM members WHERE user='$user' and pass='$pass'";
$result=mysql_query($sql) or die (mysql_error());
// Mysql_num_row is counting table row
$count=mysql_num_rows($result);
// If result matched $myusername and $mypassword, table row must be 1 row
if($count==1){
// Register $user, $pass and redirect to file "loginpro.php"
$_SESSION['user'] = $user;
$_SESSION['test3'] = $user;
$_SESSION['pass'] = $pass;
echo '<META HTTP-EQUIV="Refresh" CONTENT="0; URL=loginpro.php">';
echo 'Вие влязохте в акаунта си успешно!';
}
else {
echo "Грешен Потребител или Парола!";
}
}
?>
<?php
if($_SESSION['user']) {
echo 'wytre sym!';
} else {
$title = 'Влизане...';
echo '<table width="100%" cellspacing="0" cellpadding="0">';
echo '<tr>';
echo '<td class="u_left"><img src="./images/blank.gif" width="6" height="32" alt="" border="0"></td>';
echo '<td class="u_center" align="center">'.$title.'</td>';
echo '<td class="u_right"><img src="./images/blank.gif" width="6" height="32" alt="" border="0"></td>';
echo '</tr>';
echo '<tr>';
echo '<td class="c_left"><img src="./images/blank.gif" width="2" height="2" alt="" border="0"></td>';
echo '<td class="c_center" style="width:100%">';
echo '<table width="95%" border="0" align="center">';
echo '<tr><td align="center">';
include("connect.php");
// username and password sent from signup form
$user = htmlspecialchars(mysql_real_escape_string($_POST['user']));
$password = $_POST['pass'];
$pass = md5(md5($password));
$sql="SELECT * FROM members WHERE user='$user' and pass='$pass'";
$result=mysql_query($sql) or die (mysql_error());
// Mysql_num_row is counting table row
$count=mysql_num_rows($result);
// If result matched $myusername and $mypassword, table row must be 1 row
if($count==1){
// Register $user, $pass and redirect to file "loginpro.php"
$_SESSION['user'] = $user;
$_SESSION['test3'] = $user;
$_SESSION['pass'] = $pass;
echo '<META HTTP-EQUIV="Refresh" CONTENT="0; URL=loginpro.php">';
echo 'Вие влязохте в акаунта си успешно!';
}
else {
echo "Грешен Потребител или Парола!";
}
}
?>
<?php
session_start();
if($_SESSION['user']) {
echo 'wytre sym!';
} else {
$title = 'Влизане...';
echo '<table width="100%" cellspacing="0" cellpadding="0">';
echo '<tr>';
echo '<td class="u_left"><img src="./images/blank.gif" width="6" height="32" alt="" border="0"></td>';
echo '<td class="u_center" align="center">'.$title.'</td>';
echo '<td class="u_right"><img src="./images/blank.gif" width="6" height="32" alt="" border="0"></td>';
echo '</tr>';
echo '<tr>';
echo '<td class="c_left"><img src="./images/blank.gif" width="2" height="2" alt="" border="0"></td>';
echo '<td class="c_center" style="width:100%">';
echo '<table width="95%" border="0" align="center">';
echo '<tr><td align="center">';
include("connect.php");
// username and password sent from signup form
$user = htmlspecialchars(mysql_real_escape_string($_POST['user']));
$password = $_POST['pass'];
$pass = md5(md5($password));
$sql="SELECT * FROM members WHERE user='$user' and pass='$pass'";
$result=mysql_query($sql) or die (mysql_error());
// Mysql_num_row is counting table row
$count=mysql_num_rows($result);
// If result matched $myusername and $mypassword, table row must be 1 row
if($count==1){
// Register $user, $pass and redirect to file "loginpro.php"
$_SESSION['user'] = $user;
$_SESSION['test3'] = $user;
$_SESSION['pass'] = $pass;
echo '<META HTTP-EQUIV="Refresh" CONTENT="0; URL=loginpro.php">';
echo 'Вие влязохте в акаунта си успешно!';
}
else {
echo "Грешен Потребител или Парола!";
}
}
?>