View file dizgreen_klubv/index.php

File size: 4.26Kb
<?php


header("Content-type:text/html; charset=utf-8");
?>
<!DOCTYPE html>
<html>
<head>
  <title>%TITLE%</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
  <link rel="image_src" href="/images/img/icon.png" />
  <?= include_style() ?>
   <link rel="stylesheet" href="/themes/dizgreen_klubv/style.css" type="text/css" />
   <link rel="alternate" href="/news/rss" title="RSS News" type="application/rss+xml" />
   <?= include_javascript() ?>
   <meta name="keywords" content="%KEYWORDS%" />
	<meta name="description" content="%DESCRIPTION%" />
	
	
     </head>

    <div id="contein">
       <div class="sha">
    <!-- <a href="/"><span class="logotype"><?= $config['title'] ?></span></a> -->
					<a href="/"><img src="/images/img/logo.png" alt="<?=$config['title']?>" /></a>
   
        
      </div>
    
      
         
		 
		
		 <?php if (is_user()): ?>
			<? $data = DB::run() -> queryFetch("SELECT * FROM `users` WHERE `users_login`= '$log' ");
		    echo'<div class="enter2"> <center>Баланс: 
            '.moneys($data['users_money']).'
			</center></div>	';
		
			?>
				<?php endif; ?>
				
		 <div class="sidebar"> 
		 
		 
		  <div class="menu">
<?php if (is_user()): ?>
<div class="b"><i class="fa fa-file-text-o fa-lg text-muted"></i> <b>Личный кабинет</b></div>
	<div class="enter3">&bull; Никнейм: <?= user_gender($log) ?><?= profile($log) ?> 
	<?php 
	echo'<br>&bull; Актив: '.points($data['users_point']).'<br>';
	echo'&bull; Строгих нарушений: <a href="/pages/banhist.php?uz='.$log.'">'.$data['users_totalban'].'</a><br>';
	echo '&bull; Авторитет: <a href="/pages/rathist.php?uz='.$log.'"><b>'.format_num($data['users_rating']).'</b> (+'.$data['users_posrating'].'/-'.$data['users_negrating'].')</a><br>';
	echo '&bull; Статус: <b><a href="/pages/statusfaq.php">'.user_title($data['users_login']).'</a></b><br>';
	
	?>
	
	
	</div>
	<?php if (is_admin()): ?>
		<div class="enter"> <i class="fa fa-wrench fa-lg"></i> <a href="/admin/"><span style="color:#1874CD">Панель</a></span></div>
		
	
		<?php if (stats_spam()>0): ?>
		<div class="enter"> <i class="fa fa-ban fa-lg"></i> <a href="/admin/spam.php"><span style="color:#ff0000">Спам!</span></a></div>
		<?php endif; ?>
	
		<?php if (stats_newload()>0): ?>
		<div class="enter"> <i class="fa fa-download fa-lg"></i> <a href="/admin/newload.php"><span style="color:#ff0000">ЗЦ</span></a></div>
	  <?php endif; ?>
		<?php if ($udata['users_newchat']<stats_newchat()): ?>
			<div class="enter"> <i class="fa fa-comment fa-lg"></i> <a href="/admin/chat.php"><span style="color:#ff0000">Чат</span></a></div>
		<?php endif; ?>		
	<?php endif; ?>
		<div class="enter"> <i class="fa fa-tags fa-lg"></i> <a href="/pages/index.php?act=menu">Меню</a></div>
		<div class="enter"> <i class="fa fa-briefcase fa-lg"></i> <a href="/pages/index.php?act=bill">Биллинг</a></div>
		<div class="enter"> <i class="fa fa-power-off fa-lg"></i> <a href="/input.php?act=exit" onclick="return confirm('Как, уже уходите? Так быстро?')">Выход</a></div>
<?php else: ?>
<div class="b"><i class="fa fa-hand-o-down fa-lg text-muted"></i> <b>Авторизация</b></div>
	<div class="enter"> <i class="fa fa-lock fa-lg"></i> <a href="/pages/login.php" rel="nofollow">Авторизация</a></div>
	<div class="enter"> <i class="fa fa-pencil fa-lg"></i> <a href="/pages/registration.php" rel="nofollow">Регистрация</a></div>
<?php endif; ?>
</div>

		 		 
	
	
	
	<div class="b"><i class="fa fa-file-text-o fa-lg text-muted"></i> <b>Категория</b></div>
	       <div class="enter"> <i class="fa fa-home fa-lg text-muted"></i> <a href="/">Главная</a></div>
	       <div class="enter"> <i class="fa fa-book fa-lg text-muted"></i> <a href="/book">Гостевая</a></div>
           <div class="enter"> <i class="fa fa-file-text-o fa-lg text-muted"></i> <a href="/forum">Форум</a></div>
           <div class="enter"> <i class="fa fa-save fa-lg text-muted"></i> <a href="/load">Загрузки</a></div>
           <div class="enter"> <i class="fa fa-book fa-lg text-muted"></i> <a href="/blog">Блоги</a></div>
		</div>
		
		
		
		
    <div class="site">