Переделан знак зодиака на более точный

This commit is contained in:
Igor Barkov (iwork)
2020-07-03 18:36:06 +03:00
parent 93d2fbae64
commit 0bf3143ec1
2 changed files with 65 additions and 19 deletions

11
inf.php
View File

@@ -22,7 +22,10 @@ function private_access($uid)
}
//$presents = db::c()->query('SELECT img, sender FROM `users_presents` WHERE expiration_date >= "?s" AND owner = ?i', date('Y-m-d'), $user->id);
function getnumrows() {}
function getnumrows()
{
}
$presents = [];
if (empty($user->id)): ?>
@@ -61,7 +64,7 @@ if (empty($user->id)): ?>
<?php endif; ?>
</td>
<td style="vertical-align: top; width: 100px; text-align: center;">
<img src="i/zodiac/<?= star_sign(substr($user->borndate, 3, 2), substr($user->borndate, 0, 2)); ?>.png" alt="Родовой знак">
<img src="i/zodiac/<?php /*echo star_sign(substr($user->borndate, 3, 2), substr($user->borndate, 0, 2));*/ echo star_sign($user->borndate); ?>.png" alt="Родовой знак">
</td>
</tr>
</table>
@@ -73,7 +76,9 @@ try {
if ($effect['time'] && !private_access($uid)) {
die('<h3>Персонаж обезличен!</h3>');
}
} catch (Exception $e) {echo "<span class='error'>Не подтянулась таблица с эффектами. Не работает обезличка!</span>";}
} catch (Exception $e) {
echo "<span class='error'>Не подтянулась таблица с эффектами. Не работает обезличка!</span>";
}
if (!empty($user->realname)) {
echo "Имя: " . $user->realname . "<br>";
}