Нужен человек который умеет закупать хорошие ссылки в sape

matveyka matveyka   10.08.2017 13:41   432  
Нужен человек который умеет закупать хорошие ссылки в sape? Кто поможет пишите в личку, за оплату не большую! Нужно отобрать доноров хороших чтобы был толк от закупки ссылок. 
0
Ответы на вопрос (28) Написать ответ
glavseo
0
glavseo   10.08.2017 13:58
Так вроде от этого сейчас нет смысла
glavseo
termyt   10.08.2017 14:07  
Смысл есть, если с умом подойти, но небольшая оплата - не мотивирует как-то. Там больше мороки будет.
termyt
3
termyt   10.08.2017 14:06
1) Хорошими ссылки становятся со временем. Смотрите, чтобы не мигали и спустя 1 год ссылка начнет работать.
2) Покупайте ссылки на сайтах с трафом - это лучший критерий качества сайта.
Hyrilion
0
Hyrilion   10.08.2017 14:21
Лучше брать ссылки напрямую!
avis
0
avis   10.08.2017 16:30
За оплату не большую - т.е чтобы за копейки показали критерии отбора доноров? )))))
avis
2
avis   10.08.2017 16:32
Ссылки работали, работают и будут всегда работать.
ssrr
0
ssrr   13.08.2017 08:12
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:12
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:12
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:12
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:12
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:12
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:12
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:13
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:13
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:13
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:13
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:13
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:13
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:13
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:13
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:14
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:14
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:14
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:14
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:14
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:14
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:14
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]
ssrr
0
ssrr   13.08.2017 08:14
index.php
[PHP]<?php
var_dump ($auth) ;
require_once "lib/user_class.php";
$user = User::getObject();
$auth = $user->isAuth();
if (isset ($_POST["reg"])){
$login = $_POST["login"];
$password = $_POST["password"];
$reg_success = $user->regUser($login, $password);
}
elseif (isset ($_POST["auth"])){
$login = $_POST["login"];
$password = $_POST["password"];
$auth_success = $user->login($login, $password);
if ($auth_success){
header ("Location: index.php");
exit;
}
}
?>
<html>
<head>
<title>Регистрация и авторизация пользователей</title>
</head>
<body>
<?php
if (auth){
echo "Здравствуйте, ".$_SESSION ["login"]."(<a href="http://pr-cy.ru/jump/?url=logout.php">Выход</a>)";
}
else {
echo '<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>';
}
?>
<h1>Регистрация</h1>
<form name="red" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="reg" value="Зарегистрироваться">
</td>
<tr>
</table>
</form>
<h1>Авторизация</h1>
<form name="auth" action="index.php" method="post">
<table>
<tr>
<td>Логин</td>
<td>
<input type="text" name="login">
</td>
<tr>
<tr>
<td>Пароль</td>
<td>
<input type="password" name="password">
</td>
<tr>
<tr>
<td clospan="2">
<input type="submit" name="auth" value="Войти">
</td>
<tr>
</table>
</form>
</body>
</html>[/PHP]

Войдите, чтобы написать ответ
Вход Регистрация


Garant.deals
Гарант сделок, всего 5% от суммы сделки.

Реклама здесь


SEO чек-листы и кейсы от ведущих профи рунета!