
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php echo $meta_title ?></title>
	<link rel="shortcut icon" href="{url}/favicon.ico">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta name="keywords" content="<?php echo $meta_keywords ?>" />
	<meta name="description" content="<?php echo $meta_description ?>" />

	<link rel="stylesheet" type="text/css" href="<?php echo TPL ?>css/engine.css" media="all" />
	<link rel="stylesheet" type="text/css" href="<?php echo TPL ?>css/style.css" media="all" />
	
	<script type="text/javascript" src="<?php echo TPL ?>js/jquery-1.11.1.min.js"></script>
	<script type="text/javascript" src="<?php echo TPL ?>js/jquery.slimscroll.js"></script>
	<script type="text/javascript" src="<?php echo TPL ?>js/scripts.js"></script>

</head>
<body>
<script id="_wauzko">var _wau = _wau || [];
_wau.push(["tab", "mosulpr80b2g", "zko", "left-middle"]);
(function() {var s=document.createElement("script"); s.async=true;
s.src="http://widgets.amung.us/tab.js";
document.getElementsByTagName("head")[0].appendChild(s);
})();</script>
<div id="wrapper">
	<div style="position:absolute; top:10px; right:10px;">
   
    </div>
	<div class="bg-top"></div>
    <div class="bg-body"></div>
    <div class="bg-bottom"></div>
    <a href="/" class="logo"></a> 
	
     <div class="navigation">
    	<ul>
       	    <li> <a href="/news/" class="home"></a> </li>
            <li> <a href="/" target="_blank" class="forum"></a> </li> 
            <li> <a href="/page/files/" class="files"></a> </li>
            <li> <a href="/register/" class="reg"></a> </li> 
            <li> <a href="/login/" class="lk"></a> </li>  
            <li> <a href="/stats/" class="stat"></a> </li> 
            <li> <a href="/deposit/" class="donate"></a> </li>           
            <li> <a href="https://vk.com/" target="_blank" class="vk"></a> </li> 
            <li> <a href="/page/about/" target="_blank" class="serv"></a> </li>                               
        </ul>
    </div>
    
        
 <div class="server">   

<?php echo Server_status::get() ?>
         	




   	
   
</div>






   	
   
     <div class="forum-block">
            <div class="title-forum"></div>
    		




    <center> <?php echo Forum_threads::get() ?></center>



            
      





            
      
    </div>  
    
    
     
     <a href="/index.php?f=files" class="download"></a>
     <a href="/index.php?f=register" class="reg-b"></a>
     
     <div class="maincontent">
     	<div class="scrolled">
     		
           <div class="news-block">
  	<?php echo $content ?>    
            
           </div>
     
           </div>
   
        
     </div><!--content-->
     
      <div class="top">
      	<center><h3>Личный кабинет</h3></center>
        <center>	<?php  if(!$this->auth->is_logged()) { ?>  <ul> <li class="butOn"><a href="<?php echo base_url() ?>login/">Войти в Личный Кабинет</a></li> <li class="log"><a href="<?php echo base_url() ?>register/">Регистрация</a></li> <li class="log"><a href="<?php echo base_url() ?>forgotten-password/">Восстановление пароля</a></li> </ul> <?php  } else {  $this->load->view('cabinet/navigation'); } ?> 
</center>
      </div>
      
      <div class="bottom">
      	<div class="copyright">RIP BY Space ICQ - 694385006
</div>
        <div class="counts">	
        	<div class="count">  
		</div>
		
 	<div class="count">  
		</div>

            <div class="count"></div>
        </div>
        <div class="copyright2">RIP BY Space ICQ - 694385006</div>


      </div>
  
</div><!--wrapper-->

	<!-- FANCYBOX -->
		<link rel="stylesheet" type="text/css" href="<?php echo base_url() ?>resources/libs/fancybox/2.1.5/jquery.fancybox.css" media="all" />
		<script type="text/javascript" src="<?php echo base_url() ?>resources/libs/fancybox/2.1.5/jquery.mousewheel-3.0.6.pack.js"></script>
		<script type="text/javascript" src="<?php echo base_url() ?>resources/libs/fancybox/2.1.5/jquery.fancybox.pack.js"></script>
		
		<link rel="stylesheet" href="<?php echo base_url() ?>resources/libs/fancybox/2.1.5/helpers/jquery.fancybox-buttons.css" />
		<script type="text/javascript" src="<?php echo base_url() ?>resources/libs/fancybox/2.1.5/helpers/jquery.fancybox-buttons.js"></script>
		<script type="text/javascript" src="<?php echo base_url() ?>resources/libs/fancybox/2.1.5/helpers/jquery.fancybox-media.js"></script>
		
		<link rel="stylesheet" href="<?php echo base_url() ?>resources/libs/fancybox/2.1.5/helpers/jquery.fancybox-thumbs.css" />
		<script type="text/javascript" src="<?php echo base_url() ?>resources/libs/fancybox/2.1.5/helpers/jquery.fancybox-thumbs.js"></script>
	
	
	<script type="text/javascript" src="<?php echo TPL ?>js/main.js"></script>
	
</body>
</html>

