Файл: user/money/index.php
Строк: 87
<?php
include_once '../../sys/inc/start.php';
include_once '../../sys/inc/compress.php';
include_once '../../sys/inc/sess.php';
include_once '../../sys/inc/home.php';
include_once '../../sys/inc/settings.php';
include_once '../../sys/inc/db_connect.php';
include_once '../../sys/inc/ipua.php';
include_once '../../sys/inc/fnc.php';
include_once '../../sys/inc/adm_check.php';
include_once '../../sys/inc/user.php';
$set['title'] = 'Дополнительные услуги';
include_once '../../sys/inc/thead.php';
title();
if(!isset($user)) {
header('location: /index.php?');
}
err();
aut();
?>
<div class="foot">
<img src="/style/icons/str2.gif" alt="*">
<a href="/info.php"><?= $user['nick'] ?></a> | Доп. услуги
<br>
</div>
<div class="nav1">
<b>Личный счет:</b>
<br>
- <b>
<font color="red"><?= $user['balls'] ?></font>
</b> баллов.
<br>
- <b>
<font color="green"><?= $user['money'] ?></font>
</b> <?= $sMonet[0] ?>
</div>
<div class="nav2">
<font color="red">
→
<a href="money.php">
<font color="red">Получить <?= $sMonet[2] ?></font>
</a>
</font>
<br>
<font color="red">
→
<a href="buy.php">
<font color="red">Купить <?= $sMonet[2] ?> (Qiwi)</font>
</a>
</font>
</div>
<div class="foot">
<b>
<font color='blue'>Услуги за</font> <?= $sMonet[2] ?>
</b>
</div>
<div class="nav1">
<?
$c = mysql_result(mysql_query("SELECT COUNT(*) FROM `liders` WHERE `id_user` = '$user[id]' AND `time` > '$time'"), 0);
?>
→ <a href="liders.php">Лидер сайта</a>
<?= ($c == 0 ? '<span class="off">[отключена]</span> ' : '<span class="on">[включена]</span>') ?>
</div>
<div class="nav2">
<?
$c2 = mysql_result(mysql_query("SELECT COUNT(*) FROM `user_set` WHERE `id_user` = '$user[id]' AND `ocenka` > '$time'"), 0);
?>
→ <a href='plus5.php'>Оценка</a> <img src='/style/icons/6.png' alt='*'><?= ($c2 == 0 ? '<span class="off">[отключена]</span> ' : '<span class="on">[включена]</span>') ?>
</div>
<div class="foot">
<img src='/style/icons/str2.gif' alt='*'> <a href='/info.php'><?= $user['nick'] ?></a> | Доп. услуги<br>
</div>
<?
include_once '../../sys/inc/tfoot.php';
?>