<?php
/* Smarty version 3.1.29, created on 2016-11-09 20:18:48
  from "C:\OpenServer\domains\LastExTeam\views\templates\ex-games\index.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_58235a789f3361_16225023',
  'file_dependency' => 
  array (
    '9203510443791b082a7dc6cc4cf1c445a82d890f' => 
    array (
      0 => 'C:\\OpenServer\\domains\\LastExTeam\\views\\templates\\ex-games\\index.tpl',
      1 => 1478711780,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_58235a789f3361_16225023 ($_smarty_tpl) {
?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Ex-Games</title>
    <meta name="Description" content="Server Mu online">
    <meta name="keywords" content="" />
    <link rel="shortcut icon" href="/web/templates/default/images/mu.png" />

    <!-- Bootstrap -->

    <link href="/web/templates/default/css/bootstrap.min.css?11" rel="stylesheet">
    <link href='https://fonts.googleapis.com/css?family=PT+Sans:400,700&subset=latin,cyrillic-ext' rel='stylesheet' type='text/css'>
    <link href="/web/templates/<?php echo $_smarty_tpl->tpl_vars['template']->value;?>
/css/hover-min.css" rel="stylesheet">
    <link href="/web/templates/<?php echo $_smarty_tpl->tpl_vars['template']->value;?>
/css/animate.css" rel="stylesheet">
<link rel="stylesheet" href="/web/templates/<?php echo $_smarty_tpl->tpl_vars['template']->value;?>
/css/swiper.min.css">
    <link href="/web/templates/default/css/default.css" rel="stylesheet">
    <link href="/web/templates/<?php echo $_smarty_tpl->tpl_vars['template']->value;?>
/css/style.css" rel="stylesheet">
    <link href="/web/templates/<?php echo $_smarty_tpl->tpl_vars['template']->value;?>
/css/fonts.css" rel="stylesheet">
    <link href="http://fonts.googleapis.com/css?family=Open+Sans&amp;subset=latin,cyrillic" rel="stylesheet" type="text/css">


    <?php echo '<script'; ?>
 src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"><?php echo '</script'; ?>
>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <?php echo '<script'; ?>
 src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"><?php echo '</script'; ?>
>
    <![endif]-->


</head>
<body>
<!-- Donations Block Start -->
<!-- Donations Block End -->
<!-- Header Start -->
<nav class="nav-main">
    <ul class="list-unstyled main-menu">
        <li class="active"><a href="/">главная<span class="sr-only">(current)</span></a></li>
        <li><a href="/user/register">регистрация</a></li>
        <li><a href="/statistic">статистика</a></li>
        <li><a href="/page/rules">правила</a></li>
        <li><a href="/page/download" role="button">файлы</a></li>
        <li><a href="/page/faq">Особенности</a></li>
        <li><a href="http://forum.ex-games.net/">форум</a></li>
        <?php if ($_smarty_tpl->tpl_vars['InLogin']->value == true) {?>
            <li><a href="/user" class="btn btn-primary"><img src="/web/templates/ex-games/images/lock.png"  role="button" class="i-lock">личный кабинет</a></li>
        <?php } else { ?>
            <li><a href="#" class="btn btn-primary cp-popup"><img src="/web/templates/ex-games/images/lock.png"  role="button" class="i-lock">личный кабинет</a></li>
        <?php }?>
        <?php if ($_smarty_tpl->tpl_vars['Language']->value == 'ru') {?>
        <li><a href="#" class="lang hvr-underline-from-left"><img src="/web/templates/ex-games/images/ico-en.png"></a></li>
        <?php } else { ?>
         <li><a href="#" class="lang hvr-underline-from-left"><img src="/web/templates/ex-games/images/ico-ru.png"></a></li>
        <?php }?>
    </ul>
</nav>
<div class="jumbotron header" id="header">
    <div class="overlay">
        <!-- Navigation Menu Start -->
        <nav class="navbar navbar-default" id="navbar">
            <div class="navbar-overlay">
                <div class="container">
                    <div class="navbar-header">
                        <a href="#" id="nav-expander" class="nav-expander fixed">МЕНЮ<img class="close" src="/web/templates/ex-games/images/x.png"></a>
                    </div>
                    <div class="collapse navbar-collapse navi" id="bs-example-navbar-collapse-1">
                        <ul class="nav navbar-nav">
                            <li class="active"><a href="/" class="hvr-underline-from-left"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['IndexMain'];?>
<span class="sr-only">(current)</span></a></li>
                            <li><a href="/user/register" class="hvr-underline-from-left"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['IndexRegister'];?>
</a></li>

                            <li><a href="/statistic" class="hvr-underline-from-left"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['IndexStatistic'];?>
</a></li>
                            <li><a href="/page/rules/" class="hvr-underline-from-left"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['IndexRules'];?>
</a></li>
                            <li><a href="/page/download" role="button" class="hvr-underline-from-left"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['IndexFiles'];?>
</a></li>
                            <li><a href="/page/faq" class="hvr-underline-from-left"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['IndexFaq'];?>
</a></li>
                            <li><a href="http://forum.ex-games.net/" class="hvr-underline-from-left"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['IndexForum'];?>
</a></li>
                              <?php if ($_smarty_tpl->tpl_vars['Language']->value == 'ru') {?>
        <li><a href="#" class="lang langen hvr-underline-from-left"><img src="/web/templates/ex-games/images/ico-en.png"></a></li>
        <?php } else { ?>
         <li><a href="#" class="lang langru hvr-underline-from-left"><img src="/web/templates/ex-games/images/ico-ru.png"></a></li>
        <?php }?>
                        </ul>
                        <?php if ($_smarty_tpl->tpl_vars['InLogin']->value == true) {?>
                            <ul class="nav navbar-nav navbar-right hvr-fade">
                                <li><a href="/user" class="btn btn-primary hvr-fade"><img src="/web/templates/ex-games/images/lock.png" class="i-lock"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['IndexLogin'];?>
</a></li>
                            </ul>
                        <?php } else { ?>
                        <ul class="nav navbar-nav navbar-right cp-popup hvr-fade">
                            <li><a href="#" class="btn btn-primary hvr-fade"><img src="/web/templates/ex-games/images/lock.png" class="i-lock"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['IndexLogin'];?>
</a></li>
                        </ul>
                        <?php }?>
                    </div><!-- /.navbar-collapse -->
                </div>
            </div>
        </nav>
        <!-- Navigation Menu End -->
        <div class="container header-content">
            <div class="col-md-6">
                <a href="/"><img src="/web/templates/ex-games/images/logo.png" style="margin-left: -136px;" class="logo"></a>


                <div class="row servers">



                    <?php
$_from = $_smarty_tpl->tpl_vars['WidgetServerInfo']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_serverInfo_0_saved_item = isset($_smarty_tpl->tpl_vars['serverInfo']) ? $_smarty_tpl->tpl_vars['serverInfo'] : false;
$_smarty_tpl->tpl_vars['serverInfo'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['serverInfo']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['serverInfo']->value) {
$_smarty_tpl->tpl_vars['serverInfo']->_loop = true;
$__foreach_serverInfo_0_saved_local_item = $_smarty_tpl->tpl_vars['serverInfo'];
?>
                        <?php echo $_smarty_tpl->tpl_vars['serverInfo']->value;?>

                    <?php
$_smarty_tpl->tpl_vars['serverInfo'] = $__foreach_serverInfo_0_saved_local_item;
}
if ($__foreach_serverInfo_0_saved_item) {
$_smarty_tpl->tpl_vars['serverInfo'] = $__foreach_serverInfo_0_saved_item;
}
?>


                </div>
            </div>
            <div class="col-md-6" style="margin-top: 243px; margin-left: -216px;"><!--  
            <?php echo '<script'; ?>
 src="http://megatimer.ru/s/5ef9cd4db0f47cb386f144ba0ac81ce5.js"><?php echo '</script'; ?>
> -->
            <!-- <?php echo '<script'; ?>
 src="http://megatimer.ru/s/0d2821e2e733a72ba5b3310a169e59b5.js"><?php echo '</script'; ?>
> -->
            <!-- <?php echo '<script'; ?>
 src="http://megatimer.ru/s/0d2821e2e733a72ba5b3310a169e59b5.js"><?php echo '</script'; ?>
> -->
            </div>
        </div>
    </div>
</div>
<!-- Header End -->
<!-- Content Block Start -->
<div class=" content">
    <div class="container">
        <div class="row">
            <?php if ($_smarty_tpl->tpl_vars['sidebar']->value != "off") {?>
                <div style="min-height: 850px" class="col-lg-8 logo ">
                    <div id="messages">
                        <?php
$_from = $_smarty_tpl->tpl_vars['Messages']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_message_1_saved_item = isset($_smarty_tpl->tpl_vars['message']) ? $_smarty_tpl->tpl_vars['message'] : false;
$_smarty_tpl->tpl_vars['message'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['message']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['message']->value) {
$_smarty_tpl->tpl_vars['message']->_loop = true;
$__foreach_message_1_saved_local_item = $_smarty_tpl->tpl_vars['message'];
?>
                            <p><?php echo $_smarty_tpl->tpl_vars['message']->value;?>
</p>
                        <?php
$_smarty_tpl->tpl_vars['message'] = $__foreach_message_1_saved_local_item;
}
if ($__foreach_message_1_saved_item) {
$_smarty_tpl->tpl_vars['message'] = $__foreach_message_1_saved_item;
}
?>
                    </div>
                    <?php echo $_smarty_tpl->tpl_vars['page']->value;?>

                </div>
                <!-- Sidebar Top Players Start -->

                <div class="col-lg-3 players">
                    <div class="sidebar-head">
                        <h2><?php echo $_smarty_tpl->tpl_vars['Lang']->value['RankingBlock'];?>
</h2>
                    </div>
                    <div class="players-stats sidebar-content" id="sortplayers">

                        <!-- Модуль PvP Top -->
                        <?php
$_from = $_smarty_tpl->tpl_vars['WidgetStrongest']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_strong_2_saved_item = isset($_smarty_tpl->tpl_vars['strong']) ? $_smarty_tpl->tpl_vars['strong'] : false;
$_smarty_tpl->tpl_vars['strong'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['strong']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['strong']->value) {
$_smarty_tpl->tpl_vars['strong']->_loop = true;
$__foreach_strong_2_saved_local_item = $_smarty_tpl->tpl_vars['strong'];
?>
                            <?php echo $_smarty_tpl->tpl_vars['strong']->value;?>

                        <?php
$_smarty_tpl->tpl_vars['strong'] = $__foreach_strong_2_saved_local_item;
}
if ($__foreach_strong_2_saved_item) {
$_smarty_tpl->tpl_vars['strong'] = $__foreach_strong_2_saved_item;
}
?>

                        <!-- Модуль PvP Top -->
                        <?php
$_from = $_smarty_tpl->tpl_vars['WidgetTopGuilds']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_guild_3_saved_item = isset($_smarty_tpl->tpl_vars['guild']) ? $_smarty_tpl->tpl_vars['guild'] : false;
$_smarty_tpl->tpl_vars['guild'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['guild']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['guild']->value) {
$_smarty_tpl->tpl_vars['guild']->_loop = true;
$__foreach_guild_3_saved_local_item = $_smarty_tpl->tpl_vars['guild'];
?>
                            <?php echo $_smarty_tpl->tpl_vars['guild']->value;?>

                        <?php
$_smarty_tpl->tpl_vars['guild'] = $__foreach_guild_3_saved_local_item;
}
if ($__foreach_guild_3_saved_item) {
$_smarty_tpl->tpl_vars['guild'] = $__foreach_guild_3_saved_item;
}
?>
                        <table width="100%" class="table mix Events">

                            <tr><td>
                       <style>

                       </style>
                                                          

                                <div id="slider-wrap">
                                    <div id="slider">
                                        <div class="slide">
<ul style="list-style: none; padding-left: 0; font-size: 13px;" id="events">
<?php echo '<script'; ?>
 type="text/javascript">MuEvents.init('<?php echo $_smarty_tpl->tpl_vars['Time']->value;?>
');<?php echo '</script'; ?>
>
                                     </ul>         
                                        </div>
                                        <div class="slide">
       <ul style="list-style: none; padding-left: 0; font-size: 13px;" id="events2">
                                        </div>
                                    </div>
                                </div>

                                </td></tr>
                        </table>
  
                        <div style="margin-left: 56.5px;" class="filters">
                            <button class="btn btn-default btn-xs filter" data-filter=".PvP">Players</button>
                            <button class="btn btn-default btn-xs filter" data-filter=".Guild">Guilds</button>
                            <button class="btn btn-default btn-xs filter" data-filter=".Events">Events</button>
                            <!--<button class="btn btn-default btn-xs filter" data-filter="all">Общая</button>-->
                        </div>
                    </div>
                </div>
                <!-- Sidebar Top Players End -->
                <!-- Sidebar Forum posts Start -->
                <div class="col-lg-3 forumposts">
                    <div class="sidebar-head clearfix">
                        <h2><?php echo $_smarty_tpl->tpl_vars['Lang']->value['ForumBlock'];?>
</h2>
                    </div>

                    <!-- Модуль Темы с Форума -->
                    <?php echo $_smarty_tpl->tpl_vars['WidgetForum']->value;?>



                </div>
                <!-- Sidebar Forum posts End -->
                <!-- Sidebar VK Start -->
                <div class="col-lg-3 VK">
                    <div class="sidebar-head clearfix">
                        <h2><?php echo $_smarty_tpl->tpl_vars['Lang']->value['VkBlock'];?>
</h2>
                    </div>
                    <div id="vk_groups"></div>
                </div>
                <!-- Sidebar VK End -->
            <?php } else { ?>
                <!-- Start is Page FAQ -->
                <div class="col-lg-12 logo">
                    <?php echo $_smarty_tpl->tpl_vars['page']->value;?>

                </div>
                <!-- End page faq -->
            <?php }?>
        </div>
    </div>
</div>
<!-- Content Block End -->
<!-- Footer Start -->
<!-- Fast start Block Start -->
<div class="cd-popup start" role="alert">
    <div class="cd-popup-container">
        <div class="login">
        <?php if ($_smarty_tpl->tpl_vars['InLogin']->value == true) {?>
        <?php } else { ?>
            <hr>
            <form action="/user/login" method="post">
                <div class="login-box">
                    <i class="icon-user"></i><input id="login" name="login" type="text" placeholder="<?php echo $_smarty_tpl->tpl_vars['Lang']->value['LoginLogin'];?>
">
                </div>
                <div class="pass-box">
                    <i class="icon-lock"></i><input id="pass" name="pass" type="password" placeholder="<?php echo $_smarty_tpl->tpl_vars['Lang']->value['LoginPassword'];?>
">
                </div>
                <div>
                    <i class="icon-picture"></i><input type="text" placeholder="<?php echo $_smarty_tpl->tpl_vars['Lang']->value['LoginCaptcha'];?>
" style="width:80px;" name="captcha" id="keystring" maxlength="6">
                    <img src="/captcha" align="middle" id="captcha2" onclick="this.src='/captcha'">
                </div>
                <br>
                <button class="btn-enter auth" name="login_btn" type="submit" id="btn_s"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['LoginButton'];?>
</button>
                <img src="images/loader.gif" alt="loader" id="loader" hidden="" style="display: none;">
            </form>
            <hr>
            <div><a href="/user/register"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['LoginRegister'];?>
</a></div>
            <div><a href="/user/restore"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['LoginRestore'];?>
</a></div>
        <?php }?>
        </div>

        <a href="#0" class="cd-popup-close img-replace">Close</a>
    </div>
</div>
<!-- Fast start Block End -->

<footer class="footer">
    <div class="container text-center">
        <a href="#" class="contacts pull-left"><img src="/web/templates/ex-games/images/contacts.png"><?php echo $_smarty_tpl->tpl_vars['count_query']->value;?>
</a>
        <a id="up" href="#"><img src="/web/templates/ex-games/images/toparrow.png" class="toparrow scroll"></a>
        <a href="#" class="cop pull-right"><img src="/web/templates/ex-games/images/cop.png"></a>
    </div>
</footer>
<!-- Footer End -->
<?php echo '<script'; ?>
 type="text/javascript">
    $(document).ready(function(){
        //Navigation Menu Slider
        $('#nav-expander').on('click',function(e){
            e.preventDefault();
            $('body').toggleClass('nav-expanded');
        });
    });
<?php echo '</script'; ?>
>
<div style='display:inline-block; position:fixed; bottom:0; right:0;'><a href="https://mu.mmotop.ru/servers/24808" target="_blank">
        <img src="/web/templates/ex-games/images/mmo_24808.png"  border="0" id="mmotopratingimg" alt="Рейтинг серверов mmotop">
    </a></div>
<?php echo '<script'; ?>
 type="text/javascript">document.write("<?php echo '<script'; ?>
 src='http://js.mmotop.ru/rating_code.js?" + Math.round((((new Date()).getUTCDate() + (new Date()).getMonth() * 30) / 7)) + "_" + (new Date()).getFullYear() + "' type='text/javascript'><\/script>");


<?php echo '</script'; ?>
>





  
    <?php echo '<script'; ?>
 src="/web/templates/default/js/smoothscroll.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="/web/templates/default/js/events.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="/web/templates/default/js/progressbar.min.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="/web/templates/default/js/bootstrap.min.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 src="/web/templates/default/js/jquery.mixitup.js"><?php echo '</script'; ?>
>

    <?php echo '<script'; ?>
 type="text/javascript">
        jQuery(document).ready(function($){
            //open popup
            $('.cp-popup').on('click', function(event){
                event.preventDefault();
                $('.cd-popup').addClass('is-visible');
            });
            //close popup
            $('.cd-popup').on('click', function(event){
                if( $(event.target).is('.cd-popup-close') || $(event.target).is('.cd-popup') ) {
                    event.preventDefault();
                    $(this).removeClass('is-visible');
                }
            });
            //close popup when clicking the esc keyboard button
            $(document).keyup(function(event){
                if(event.which=='27'){
                    $('.cd-popup').removeClass('is-visible');
                }
            });
            $('#up').click(function() {
                $('html, body').animate({ scrollTop: 0 },500);
                return false;
            })
        });
    <?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 type="text/javascript">
        $(function(){
            $('#sortplayers').mixItUp({
                load: {
                    filter: '.PvP',
                    sort: false
                },
                layout: {
                    display: 'table'
                }
            });
        });
    <?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 type="text/javascript">
        $(document).ready(function(){
            $('body').addClass('loaded');
           $('.langru').click(function(){
            $.post("/lang/", { lang: "ru"})
                .done(function(data) {
                    window.location.reload();
                });
            });
        $('.langen').click(function(){
            $.post("/lang/", { lang: "en"})
                .done(function(data) {
                window.location.reload();
            });
    });
        });
    <?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 type="text/javascript" src="//vk.com/js/api/openapi.js?120"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 type="text/javascript">
        VK.Widgets.Group("vk_groups", { mode: 0, width: "275", height: "400", color1: '1f1f1f', color2: 'ffffff', color3: 'ffffff' }, 54247024);
    <?php echo '</script'; ?>
>
</body>
</html><?php }
}
