diff --git a/functions.php b/functions.php
index 8098729..54f0f85 100644
--- a/functions.php
+++ b/functions.php
@@ -2316,7 +2316,7 @@ function showinf_pers($id, $pas = 0, $battle = 0, $me = 0, $main = false) //FIXM
$r .= '
';
if ($user['deal'] > 0) {
- $deal = '💲 ';
+ $deal = '💰 ';
}
$r .= "$deal" . ($user['align'] > 0 ? "" : "") . ($user['klan'] != '' ? '' : "") . "$user[login] [";
diff --git a/inf.php b/inf.php
index 3ffe779..4c82688 100644
--- a/inf.php
+++ b/inf.php
@@ -4,13 +4,12 @@ include("config.php");
include("functions.php");
$login = filter_input(INPUT_SERVER,'QUERY_STRING',FILTER_SANITIZE_SPECIAL_CHARS);
-//$user_login = filter_input(INPUT_GET,'login');
-$user = db::c()->query('SELECT `id`,`login`,`married`,`deal`,`win`,`medals`,borndate,`align`,`admin`,`realname`,`city`,`lozung`,`info`,`prof1`,`prof2`,`email`,`ip`,`exp`,`stats`,`money`,`room`,`doblest`
+$uid = isset($_SESSION['uid'])?$_SESSION['uid']:NULL;
+$user = db::c()->query('SELECT `id`,`login`,`married`,`win`,`medals`,borndate,`align`,`admin`,`realname`,`city`,`lozung`,`info`,`prof1`,`prof2`,`email`,`ip`,`exp`,`stats`,`money`,`room`,`doblest`
FROM `users`
WHERE `login` = "?s"', $login)->fetch_assoc();
-$own = db::c()->query('SELECT `align`,`admin` FROM `users` WHERE `id` = "?s"', $_SESSION['uid'])->fetch_assoc();
+$own = db::c()->query('SELECT `align`,`admin` FROM `users` WHERE `id` = "?s"', $uid)->fetch_assoc();
-//$_SERVER['QUERY_STRING'] = $user['id'];
if (empty($user['id'])) {
?>
@@ -42,7 +41,6 @@ if (empty($user['id'])) {
= showinf_pers($user['id'], 1);
if (!empty($user['married'])) echo '';
- if ($user['deal'] == 1) echo '💲';
$medals = explode(";", $user['medals']);
for ($i = 0; $i < count($medals); $i++) {
switch ($medals[$i]) {