battles/fontan_luck.php

34 lines
1.7 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
session_start();
if (is_null($_SESSION['uid'])) header("Location: index.php");
require_once 'config.php';
$get = urldecode(filter_input(INPUT_SERVER, 'QUERY_STRING'));
if ($get == 'exit') {
db::c()->query('UPDATE `users`,`online` SET `users`.`room` = 2702, `online`.`room` = 2702 WHERE `users`.`id` = ?i AND `online`.`id` = ?i', $_SESSION['uid'], $_SESSION['uid']);
header('Location: city.php');
}
?>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="css/main.css"/>
</head>
<body>
<h2>Фонтан созерцания того, как же прекрасен этот фонтан</h2>
<div style="width: 640px;">
<br>Выпив живительной воды из фонтана можно восстановить свои силы. Но зачем пить? Просто смотри! Разве это не
прекрасно — отвлечься от приключений и просто посмотреть на фонтан?
<br><small style="color: darkred; font-style: italic;">
Чёрт бы побрал эти исходники из которых код клочьями вырезан жадными до наживы людьми.
Хрен пойми как тут всё задумывалось. Наслаждайтесь картинкой фонтана. ;)</small>
</div>
<div>
<button disabled>Испить водички</button>
<button disabled>Бросить монетку</button>
<button disabled>Загадать желание</button>
<button onclick="location.href='?exit'">Назад к приключениям!</button>
</div>
<div style="text-align: center;"><img src="i/fountain.png"></div>
</body>
</html>