Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (isset($_GET['ad']))
- {
- $login = htmlspecialchars($_POST['login']);
- $password = htmlspecialchars($_POST['password']);
- $db->query('INSERT INTO `account` SET `user`=?,
- `login`=?,
- `password`=?,
- `time`=? WHERE `id`=?',array($user['id'],'login',$password,time(),$user['id']));
- $_SESSION['info'] = 'Аккуант добавлена';
- header("Location:?");
- exit;
- }
- ?>
- <div class="mrg20"><div class=""><div class=" max500 margAuto"><div class="card text-white bg-dark mb-3">
- <div class="card-header">Разрушители | Добавление аккаунта</div>
- <div class="card-body">
- <form action="?add=new&ad" method="post">
- <div class="modal-body center">
- <p>
- Логин<br><input class="form-control" type="login" name="login" minlength="6" maxlength="16"><br>
- Пароль<br><input class="form-control" type="password" name="password" minlength="8" maxlength="32">
- </p>
- </div>
- <div class="modal-footer">
- <input type="submit" class="btn btn-primary" value="Вход">
- <a href="/mrush_bot?action=index" class="btn btn-secondary" data-dismiss="modal">Список аккаунтов</a>
- </div>
- </form></div></div></div></div></div>
- <?
Advertisement
Add Comment
Please, Sign In to add comment