<!DOCTYPE html>
<html lang="ru">
  <head>
    {headers}
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" href="{THEME}/css/bootstrap.css">
    <link rel="stylesheet" href="{THEME}/css/animate.css">
    <link rel="stylesheet" href="{THEME}/css/engine.css">
    <link rel="stylesheet" href="{THEME}/css/styles.css">
    <link rel="stylesheet" href="{THEME}/css/ssg.css">
    <link rel="stylesheet" href="{THEME}/css/owl.theme.css">
    <link rel="stylesheet" href="{THEME}/css/owl.transitions.css">
    <link rel="stylesheet" href="{THEME}/css/owl.carousel.css">
    <link rel="stylesheet" href="{THEME}/css/bootstrap.offcanvas.css"/>
    <link rel="shortcut icon" href="{THEME}/images/favicon.ico">
    <link href="http://allfont.ru/allfont.css?fonts=europeext-bold" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.4.1/css/simple-line-icons.css">
    <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"> 
  </head>
  
  {include file="scripts.tpl"}
 <body>
<div class="container cnt">
        <div class="row">
            <div class="col-md-12 col-lg-3 order-lg-1 order-2 sidebar" style="padding: 0;">
              <a href="/" class="logi"><div class="lgg">
                <span style="font-family: 'EuropeExt Bold', arial;font-size: 29px;color: #fff;">
                  TEENSY<span style="color: #7b8592;">.com</span>
                </span>
              </div>
              </a>
                {include file="sidebar.tpl"}
            </div>
            <div class="col-md-12 col-lg-9 order-lg-2 order-1" style="margin-bottom: 15px;">
              {include file="menu_header.tpl"}
[not-available=main]
{info}
{content}
[/not-available]
[aviable=main]

<div class="bgg">
<div class="row row-flex row-flex-wrap my">
{custom limit="6" category="1,14,15,17,18,19" template="popular" order="date" sort="desc" cache="no"}
</div>
</div>

<button type="button" class="btn btn-success btn-sm float-right" style="padding: 3px 6px 3px 6px;">Ещё</button>
<h5 class="tclr">Игры</h5>
<div class="row row-flex row-flex-wrap my ">
{custom category="1,14,15,17" limit="6" order="date" sort="desc" cache="no"}
</div>

<button type="button" class="btn btn-success btn-sm float-right" style="padding: 3px 6px 3px 6px;">Ещё</button>
<h5 class="tclr">Программы</h5>
<div class="row row-flex row-flex-wrap my ">
{custom category="1-10" limit="6" order="date" sort="desc" cache="no"}
</div>

<button type="button" class="btn btn-success btn-sm float-right" style="padding: 3px 6px 3px 6px;">Ещё</button>
<h5 class="tclr">Социальные сети</h5>
<div class="row row-flex row-flex-wrap my ">
{custom category="1-16" limit="4" order="date" sort="desc" cache="no"}
</div>

[/aviable]

            </div>
        </div>

<div class="foot">
  <a href="/statistics.html" class="btn btn-sm btn-dark float-right"><i class="icon-graph"></i> Статистика сайта</a>
  <b>TEENSY.com</b> - Каталог программного обеспечения для Android платформы<br>[aviable=main]<a href="https://dlepavilion.com/" target="_blank" rel="nofollow">DlePavilion.com</a>[/aviable]
  Copyright © Footer 2018. All right reserved. 
</div>

</div>

<div class="modal fade" id="auth" tabindex="-1" role="dialog" aria-labelledby="auth" aria-hidden="true">
  <div class="modal-dialog modal-sm modal-dialog-centered" role="document">
    <div class="modal-content">
<div class="card" style="border-color: #373f52;">

  <div class="hdlg"></div>
    <img src="{foto}" class="ggwp"><br>
      <h4 class="text-center" style="margin: 20px 0 20px 0;">%username_login%</h4>
    {login}
</div>
    </div>
  </div>
</div>

<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/velocity/1.1.0/velocity.min.js"></script>
     <script src="{THEME}/js/libs.js"></script>
     <script src="{THEME}/js/owl.carousel.js"></script>
     <script src="{THEME}/js/jquery.morecontent.js"></script>
     <script src="{THEME}/js/bootstrap.offcanvas.min.js"></script>

{AJAX}

</body>
</html>
