diff --git a/functions.php b/functions.php
index 92ad34d..4a734af 100644
--- a/functions.php
+++ b/functions.php
@@ -1,5 +1,5 @@
HERE func IS!";
+
/**
* Copyright (c) 2018.
* Author: Igor Barkov
@@ -26,7 +26,7 @@ $ip = filter_input(INPUT_SERVER, 'REMOTE_ADDR', FILTER_VALIDATE_IP);
if (isset($_GET['goto']) && isset($_GET['tStamp']) && isset($_GET['vcode']) && $_GET['vcode'] == md5(sha1($_GET['goto'] . $_GET['tStamp']))) {
db::c()->query('UPDATE `users`,`online` SET `users`.`room` = ?i, `online`.`room` = ?i WHERE `online`.`id` = `users`.`id` AND `online`.`id` = ?i', $_GET['goto'], $_GET['goto'], $_SESSION['uid']);
$user['room'] = intval($_GET['goto']);
-} else { echo 'test';}
+}
function createbot($bot, $login = "")
{
diff --git a/main.php b/main.php
index 2f95524..0ab7be3 100644
--- a/main.php
+++ b/main.php
@@ -1,5 +1,5 @@
HERE IT IS!";
+
require_once 'functions.php';
-echo "
HERE IT IS too!";
+
$tmaz = time();
try {
db::c()->query('UPDATE `online` SET `real_time` = ?i WHERE `id` = ?i', time(), $user['id']);