<? if($login){?><!DOCTYPE html>
<!-- saved from url=(0043)http://demo40.blitz-market.ru/?page=cabinet -->
<html data-useragent="Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)" class="win chrome chrome39 webkit webkit5">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        
        <title><?=$title;?></title>
        <meta charset="UTF-8">
        <meta content="width=device-width" name="viewport">
  <link rel="shortcut icon" href="/favicon.png" type="image/x-icon">
<link rel="icon" href="/favicon.png" type="image/x-icon">
       
        <link href="/cabinet/style.css" rel="stylesheet" type="text/css">
        <!--[if IE]><link rel="stylesheet" type="text/css" href="static/cabinet/css/ie.css" /><![endif]-->
        <link rel="stylesheet" type="text/css" href="/tmpl/still/jquery.reject.css">
<link rel="stylesheet" type="text/css" href="/tmpl/still/stylesheet.css">
<link rel="stylesheet" type="text/css" href="/tmpl/still/owl.carousel.css">
<link rel="stylesheet" type="text/css" href="/tmpl/still/jquery-ui.min.css">
<script type="text/javascript" src="/tmpl/still/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="/tmpl/still/jquery.reject.js"></script>
<script type="text/javascript" src="/tmpl/still/jquery-ui.min.js"></script>
<script type="text/javascript" src="/tmpl/still/owl.carousel.min.js"></script>
<script type="text/javascript" src="/tmpl/still/script_ru.js"></script>
</head>
    </head>
        <body class="lk bg_4">
        <div class="wrapper">
            <header>
                
                <div class="container cfix">
                    <div class="leftColl">
                        <p style="padding-top: 12px;">Время сервера:<span><span id="clock">5:16:21</span>
                            <script type="text/javascript">
                            window.onload = function(){
                                window.setInterval(function(){
                                    var now = new Date();
                                    var clock = document.getElementById('clock');
                                    clock.innerHTML = now.toLocaleTimeString();
                                }, 1000);
                            }
                            </script>
                            </span>
                        </p>
                    </div>
                        <?php
	$nd	= mysql_fetch_array(mysql_query("SELECT * FROM deposits ORDER BY id DESC LIMIT 1"));
   
	$no	= mysql_fetch_array(mysql_query("SELECT * FROM output WHERE  status = 2 ORDER BY id DESC LIMIT 1"));
	If($nd['plan']==1){$pyse=" usd";}else{$pyse=" руб";}
	 If($no['paysys']==3){$pyser=" руб";}else{$pyser=" $";}
?>
                    <div class="rightColl">
                        <div class="rightColl_top cfix">
                            <div class="rightColl_top_el">Баланс: <span><?=$balance;?>$</span>/<span><?=$lrbalance;?>руб</span> </div>
                            <div class="rightColl_top_el">Последний депозит: <span><?=$nd['sum'].$pyse;?></span></div>
                            <div class="rightColl_top_el">Последняя выплата: <span><?=$no['sum'].$pyser;?></span></div>
                            <a class="out" href="/exit.php">Выход<img alt="" src="/cabinet/icout.png"></a>
                        </div>
                        <span class="user">
                            <br>
                            <b><?=$login;?></b>
                        </span>
                        <ul class="menu">
                            <li>
                                <a href="/index.php">Главная</a>
                            </li>
                            <li>
                                <a href="/faq/">FAQ</a>
                            </li>
                            <li>
                                <a href="/news/">Новости</a>
                            </li>
                            <li>
                                <a href="skype:?chat&blob=dOEZuYjYil4KyW-uuX1WWZVFMYWuMUS2Lo2ew0-dkPytOyaeZnowOnDO5IuqRSNbSxfIwMVkl-HEgmyLcQ5NNPk">Скайп Чат</a>
                            </li>
                            <li>
                                <a href="/contacts/">Контакты</a>
                            </li>
                        </ul>
                        <a class="logo" href="/index.php"><img alt="" src="/tmpl/img/logo.png"></a>
                    </div>
                </div>
            </header>
            
<div class="content">
    <div class="container cfix">
        <div class="leftColl">
            <ul class="mainMenu">
                <li class="active">
                    <a href="/enter/"><img alt="" src="/cabinet/infic4.png">Пополнить Баланс</a>
                </li>
				<li>
                    <a href="/withdrawal/"><img alt="" src="/cabinet/infic6.png">Вывод средств</a>
                </li>
                <li>
                    <a href="/ref/"><img alt="" src="/cabinet/infic3.png">Партнерам</a>
                </li>
                <li>
                    <a href="/profile/"><img alt="" src="/cabinet/infic8.png">Настройки</a>
                </li>
                <li>
                    <a href="/contacts/"><img alt="" src="/cabinet/infic7.png">Обратная связь</a>
                </li>
                                    
                            </ul>
        </div>
<div class="rightColl">
     <?php
	defined('ACCESS') or die();
	if(!$page) {
		include "includes/index.php";
	} elseif(file_exists("../".$page."/index.php")) {
		
		include "../".$page."/".$page."_ru.php";
	} else {
		include "includes/errors/404.php";
	}
?>
</div>

    </div></div></div>




    

    

<div class="ui-selectmenu-menu ui-front">
<ul aria-hidden="true" aria-labelledby="system-button" id="system-menu" class="ui-menu ui-widget ui-widget-content ui-corner-bottom" role="listbox" tabindex="0">
</ul>
</div>
<!-- Start SiteHeart code -->
<script>
(function(){
var widget_id = 851987;
_shcp =[{widget_id : widget_id}];
var lang =(navigator.language || navigator.systemLanguage 
|| navigator.userLanguage ||"en")
.substr(0,2).toLowerCase();
var url ="widget.siteheart.com/widget/sh/"+ widget_id +"/"+ lang +"/widget.js";
var hcc = document.createElement("script");
hcc.type ="text/javascript";
hcc.async =true;
hcc.src =("https:"== document.location.protocol ?"https":"http")
+"://"+ url;
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hcc, s.nextSibling);
})();
</script>
<!-- End SiteHeart code -->
</body>
</html>
<?
}else{
	?>
	
	<script language="javascript">top.location.href="/login/";</script>
<?	
}
?>