game gui
This commit is contained in:
parent
75a85099dc
commit
9a209d6ebd
14
buttons.php
14
buttons.php
@ -8,9 +8,12 @@ include_once "functions.php";
|
|||||||
|
|
||||||
header("Cache-Control: no-cache");
|
header("Cache-Control: no-cache");
|
||||||
|
|
||||||
if ($_GET['header']) {
|
$header = filter_input(INPUT_GET, $_GET['header']);
|
||||||
|
$ch = filter_input(INPUT_GET, $_GET['ch']);
|
||||||
|
|
||||||
|
if ($header) {
|
||||||
die();
|
die();
|
||||||
} elseif ($_GET['ch'] != null) {
|
} elseif ($ch != null) {
|
||||||
?>
|
?>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
@ -50,13 +53,8 @@ if ($_GET['header']) {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chheadpas {
|
.chheadpas, .chheadact {
|
||||||
background: url(i/chat/chat_passive.jpg) no-repeat;
|
|
||||||
text-align: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.chheadact {
|
|
||||||
background: url(i/chat/chat_aaactive.jpg) no-repeat;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -72,8 +72,10 @@ if (empty($user['battle']) && ($user['hp'] < @$user['maxhp'])) {
|
|||||||
regenhp($user);
|
regenhp($user);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$inder = filter_input(INPUT_COOKIE, $_COOKIE['inder']);
|
||||||
|
|
||||||
if (!isset($banks['id'])) {
|
if (!isset($banks['id'])) {
|
||||||
$banks = db::c()->query('SELECT `id`, `cr`, `ekr` FROM `bank` WHERE `id` = "?s" AND `owner` = "?s" LIMIT 1', $_COOKIE['inder'], $user['id'])->fetch_assoc();
|
$banks = db::c()->query('SELECT `id`, `cr`, `ekr` FROM `bank` WHERE `id` = "?s" AND `owner` = "?s" LIMIT 1', $inder, $u->i()['id'])->fetch_assoc();
|
||||||
}
|
}
|
||||||
|
|
||||||
function auth_bank($id, $pass, $us)
|
function auth_bank($id, $pass, $us)
|
||||||
|
Loading…
Reference in New Issue
Block a user