отображение ошибок
This commit is contained in:
parent
15a0308b4e
commit
14e9e1edc1
@ -5,7 +5,6 @@
|
|||||||
* Project name: Battles-Game
|
* Project name: Battles-Game
|
||||||
*/
|
*/
|
||||||
require_once 'config.php';
|
require_once 'config.php';
|
||||||
echo "<br><br><br>HERE IT IS!";
|
|
||||||
/**
|
/**
|
||||||
* Класс-заглушка для работы глобальных переменных в функциях.
|
* Класс-заглушка для работы глобальных переменных в функциях.
|
||||||
* Возвращает массив данных таблицы users.
|
* Возвращает массив данных таблицы users.
|
||||||
|
3
main.php
3
main.php
@ -10,7 +10,9 @@ if ($get === 'exit') {
|
|||||||
if (!isset($_SESSION['uid'])) {
|
if (!isset($_SESSION['uid'])) {
|
||||||
header("Location: index.php");
|
header("Location: index.php");
|
||||||
}
|
}
|
||||||
|
echo "<br><br><br>HERE IT IS!";
|
||||||
require_once 'functions.php';
|
require_once 'functions.php';
|
||||||
|
echo "<br><br><br>HERE IT IS too!";
|
||||||
$tmaz = time();
|
$tmaz = time();
|
||||||
try {
|
try {
|
||||||
db::c()->query('UPDATE `online` SET `real_time` = ?i WHERE `id` = ?i', time(), $user['id']);
|
db::c()->query('UPDATE `online` SET `real_time` = ?i WHERE `id` = ?i', time(), $user['id']);
|
||||||
@ -1196,7 +1198,6 @@ if (input::get('edit')) {
|
|||||||
<title></title>
|
<title></title>
|
||||||
</HEAD>
|
</HEAD>
|
||||||
<body>
|
<body>
|
||||||
hello there!
|
|
||||||
<div id=hint3 class=ahint></div>
|
<div id=hint3 class=ahint></div>
|
||||||
<div id="hint4" style="position: absolute;"></div>
|
<div id="hint4" style="position: absolute;"></div>
|
||||||
<div id="chpassbank" style="display:none; position:absolute; top:50px; left:250px;"></div>
|
<div id="chpassbank" style="display:none; position:absolute; top:50px; left:250px;"></div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user