function content_55784e1a6ae1e7_52479975($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cfg')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
        }
        ?>
Здравствуйте
<br />
На сайте <a href="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
        ?>
"><?php 
        echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl);
        ?>
</a> появилась новая новость -  <a href="<?php 
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getUrl();
        ?>
"><?php 
        echo htmlspecialchars($_smarty_tpl->tpl_vars['oTopic']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
        ?>
</a>
<br />
<br />
С уважением, администрация сайта <a href="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
        ?>
"><?php 
        echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl);
        ?>
</a><?php 
    }
    function content_559ae0fb327e68_20058240($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cfg')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
        }
        if (!is_callable('smarty_function_router')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php';
        }
        ?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
  <ShortName><?php 
        echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl);
        ?>
</ShortName>
  <Description><?php 
        echo $_smarty_tpl->tpl_vars['sHtmlTitle']->value;
        ?>
</Description>
  <Contact><?php 
        echo $_smarty_tpl->tpl_vars['sAdminMail']->value;
        ?>
</Contact>
  <Url type="text/html" template="<?php 
        echo smarty_function_router(array('page' => 'search'), $_smarty_tpl);
        ?>
topics/?q={searchTerms}" />
  <LongName><?php 
        echo $_smarty_tpl->tpl_vars['sHtmlDescription']->value;
        ?>
</LongName>
  <Image height="64" width="64" type="image/png"><?php 
        echo smarty_function_cfg(array('name' => 'path.static.skin'), $_smarty_tpl);
        ?>
/images/logo.png</Image>
  <Image height="16" width="16" type="image/vnd.microsoft.icon"><?php 
        echo smarty_function_cfg(array('name' => 'path.static.skin'), $_smarty_tpl);
        ?>
/images/favicon.ico</Image>
  <Developer><?php 
        echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl);
        ?>
 (<?php 
        echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
        ?>
)</Developer>
  <Attribution>
  © «<?php 
        echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl);
        ?>
»
  </Attribution>
  <SyndicationRight>open</SyndicationRight>
  <AdultContent>false</AdultContent>
  <Language>ru-ru</Language>
  <OutputEncoding>UTF-8</OutputEncoding>
  <InputEncoding>UTF-8</InputEncoding>
</OpenSearchDescription><?php 
    }
    function content_557843f76e0505_85343302($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cfg')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
        }
        $_smarty_tpl->tpl_vars["noSidebar"] = new Smarty_variable(true, null, 0);
        echo $_smarty_tpl->getSubTemplate('header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('noShowSystemMessage' => true), 0);
        ?>



<div class="content-error">
	<?php 
        if ($_smarty_tpl->tpl_vars['aMsgError']->value[0]['title']) {
            ?>
		<h2 class="page-header"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['error'];
            ?>
: <span><?php 
            echo $_smarty_tpl->tpl_vars['aMsgError']->value[0]['title'];
            ?>
</span></h2>
	<?php 
        }
        ?>

	<p><?php 
        echo $_smarty_tpl->tpl_vars['aMsgError']->value[0]['msg'];
        ?>
</p>
	<br />
	<br />
	<p><a href="javascript:history.go(-1);"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['site_history_back'];
        ?>
</a><br />
	<a href="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['site_go_main'];
        ?>
</a></p>
</div>


<?php 
        echo $_smarty_tpl->getSubTemplate('footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_56877bd38efb77_81385054($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cfg')) {
            include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.cfg.php';
        }
        $_smarty_tpl->tpl_vars["noSidebar"] = new Smarty_variable(true, null, 0);
        echo $_smarty_tpl->getSubTemplate('header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('noShowSystemMessage' => true), 0);
        ?>



<div class="content-error">
	<?php 
        if ($_smarty_tpl->tpl_vars['aMsgError']->value[0]['title']) {
            ?>
		<h2 class="page-header"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['error'];
            ?>
: <span><?php 
            echo $_smarty_tpl->tpl_vars['aMsgError']->value[0]['title'];
            ?>
</span></h2>
	<?php 
        }
        ?>

	<p><?php 
        echo $_smarty_tpl->tpl_vars['aMsgError']->value[0]['msg'];
        ?>
</p>
	<br />
	<br />
	<p><a href="javascript:history.go(-1);"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['site_history_back'];
        ?>
</a><br />
	<a href="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['site_go_main'];
        ?>
</a></p>
</div>


<?php 
        echo $_smarty_tpl->getSubTemplate('footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_5684d7a37f2798_05661737($_smarty_tpl)
    {
        if (!is_callable('smarty_function_hook')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php';
        }
        if (!is_callable('smarty_function_cfg')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php';
        }
        ?>
<div class="profile">
	<?php 
        echo smarty_function_hook(array('run' => 'profile_top_begin', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl);
        ?>

	
	<a href="<?php 
        echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getUserWebPath();
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileAvatarPath(48);
        ?>
" alt="avatar" class="avatar" itemprop="photo" /></a>
	<div id="vote_area_user_<?php 
        echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getId();
        ?>
" class="vote <?php 
        if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getRating() >= 0) {
            ?>
vote-count-positive<?php 
        } else {
            ?>
vote-count-negative<?php 
        }
        ?>
 <?php 
        if ($_smarty_tpl->tpl_vars['oVote']->value) {
            ?>
 voted <?php 
            if ($_smarty_tpl->tpl_vars['oVote']->value->getDirection() > 0) {
                ?>
voted-up<?php 
            } elseif ($_smarty_tpl->tpl_vars['oVote']->value->getDirection() < 0) {
                ?>
voted-down<?php 
            }
        }
        ?>
">
		<div class="vote-label"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['user_rating'];
        ?>
</div>
		<a href="#" class="vote-up" onclick="return ls.vote.vote(<?php 
        echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getId();
        ?>
,this,1,'user');"><i class="fa fa-chevron-up"></i></a>
		<a href="#" class="vote-down" onclick="return ls.vote.vote(<?php 
        echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getId();
        ?>
,this,-1,'user');"><i class="fa fa-chevron-down"></i></a>
		<div id="vote_total_user_<?php 
        echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getId();
        ?>
" class="vote-count count" title="<?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['user_vote_count'];
        ?>
: <?php 
        echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getCountVote();
        ?>
"><?php 
        if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getRating() > 0) {
            ?>
+<?php 
        }
        echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getRating();
        ?>
</div>
	</div>
	
	<div class="strength">
		<div class="vote-label"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['user_skill'];
        ?>
</div>
		<div class="count" id="user_skill_<?php 
        echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getId();
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getSkill();
        ?>
</div>
	</div>
<?php 
        if ($_smarty_tpl->tpl_vars['oUserProfile']->value->isAdministrator()) {
            ?>
<img src="<?php 
            echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl);
            ?>
/images/admin.png" class="role" title="Да, он - Администратор!">
<?php 
        } elseif ($_smarty_tpl->tpl_vars['oUserProfile']->value->isGlobalModerator()) {
            ?>
<img src="<?php 
            echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl);
            ?>
/images/moder.png" class="role" title="Да, он - Модератор!">
<?php 
        }
        ?>
		<h2 class="page-header user-login word-wrap <?php 
        if (!$_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileName()) {
            ?>
no-user-name<?php 
        }
        ?>
" itemprop="nickname"><?php 
        echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getLogin();
        ?>
</h2>

	<?php 
        if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileName()) {
            ?>
		<p class="user-name" itemprop="name"><?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileName(), ENT_QUOTES, 'UTF-8', true);
            ?>
</p>
	<?php 
        }
        ?>
	
	<?php 
        echo smarty_function_hook(array('run' => 'profile_top_end', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl);
        ?>

</div>
<?php 
    }
    function content_568a9312634f67_85764045($_smarty_tpl)
    {
        if (!is_callable('smarty_function_hook')) {
            include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.hook.php';
        }
        if (!is_callable('smarty_function_cfg')) {
            include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.cfg.php';
        }
        if (!is_callable('smarty_function_router')) {
            include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.router.php';
        }
        ?>
			<?php 
        echo smarty_function_hook(array('run' => 'content_end'), $_smarty_tpl);
        ?>

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


	
	<footer class="footer">
		<div class="container">
				<div class="row">
					<div class="col-md-2">
						<div class="logo-foot">
							<img src="<?php 
        echo smarty_function_cfg(array('name' => 'path.static.skin'), $_smarty_tpl);
        ?>
images/logo_foot.png" alt="">
						</div>
					</div>
					<div class="col-md-10">
						<p class="copy">&#169; 2015 Все права защищены</p>
					</div>
				</div>
			</div>
<!--
		<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
			<ul class="footer-list">
				<li class="footer-list-header word-wrap"><?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getLogin();
            ?>
</li>
				<li><a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath();
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['footer_menu_user_profile'];
            ?>
</a></li>
				<li><a href="<?php 
            echo smarty_function_router(array('page' => 'settings'), $_smarty_tpl);
            ?>
profile/"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_settings'];
            ?>
</a></li>
				<li><a href="<?php 
            echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl);
            ?>
add/" class="js-write-window-show"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['block_create'];
            ?>
</a></li>
				<?php 
            echo smarty_function_hook(array('run' => 'footer_menu_user_item', 'oUser' => $_smarty_tpl->tpl_vars['oUserCurrent']->value), $_smarty_tpl);
            ?>

				<li><a href="<?php 
            echo smarty_function_router(array('page' => 'login'), $_smarty_tpl);
            ?>
exit/?security_ls_key=<?php 
            echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value;
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['exit'];
            ?>
</a></li>
			</ul>
		<?php 
        } else {
            ?>
			<ul class="footer-list">
				<li class="footer-list-header word-wrap"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['footer_menu_user_quest_title'];
            ?>
</li>
				<li><a href="<?php 
            echo smarty_function_router(array('page' => 'registration'), $_smarty_tpl);
            ?>
" class="js-registration-form-show"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['registration_submit'];
            ?>
</a></li>
				<li><a href="<?php 
            echo smarty_function_router(array('page' => 'login'), $_smarty_tpl);
            ?>
" class="js-login-form-show sign-in"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_login_submit'];
            ?>
</a></li>
				<?php 
            echo smarty_function_hook(array('run' => 'footer_menu_user_item', 'isGuest' => true), $_smarty_tpl);
            ?>

			</ul>
		<?php 
        }
        ?>
		
		<ul class="footer-list">
			<li class="footer-list-header"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['footer_menu_navigate_title'];
        ?>
</li>
			<li><a href="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['topic_title'];
        ?>
</a></li>
			<li><a href="<?php 
        echo smarty_function_router(array('page' => 'blogs'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['blogs'];
        ?>
</a></li>
			<li><a href="<?php 
        echo smarty_function_router(array('page' => 'people'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['people'];
        ?>
</a></li>
			<li><a href="<?php 
        echo smarty_function_router(array('page' => 'stream'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_menu'];
        ?>
</a></li>
			<?php 
        echo smarty_function_hook(array('run' => 'footer_menu_navigate_item'), $_smarty_tpl);
        ?>

		</ul>
-->		
		
		
		
		
		
		<!--<div class="copyright">
			<?php 
        echo smarty_function_hook(array('run' => 'copyright'), $_smarty_tpl);
        ?>

			
			<div class="design-by">
				<img src="<?php 
        echo smarty_function_cfg(array('name' => 'path.static.skin'), $_smarty_tpl);
        ?>
/images/xeoart.png" alt="xeoart" />
				Design by <a href="http://xeoart.com">xeoart</a> -->
					 
				 
<!-- Yandex.Metrika informer -->
<a class="ya" href="https://metrika.yandex.ru/stat/?id=29259100&amp;from=informer"
target="_blank" rel="nofollow"><img src="//bs.yandex.ru/informer/29259100/3_1_FFFFFFFF_EFEFEFFF_0_pageviews"
style="width:88px; height:31px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)" onclick="try{Ya.Metrika.informer({i:this,id:29259100,lang:'ru'});return false}catch(e){}"/></a>
<!-- /Yandex.Metrika informer -->

<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
    (w[c] = w[c] || []).push(function() {
        try {
            w.yaCounter29259100 = new Ya.Metrika({id:29259100,
                    clickmap:true,
                    trackLinks:true,
                    accurateTrackBounce:true});
        } catch(e) { }
    });

    var n = d.getElementsByTagName("script")[0],
        s = d.createElement("script"),
        f = function () { n.parentNode.insertBefore(s, n); };
    s.type = "text/javascript";
    s.async = true;
    s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";

    if (w.opera == "[object Opera]") {
        d.addEventListener("DOMContentLoaded", f, false);
    } else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="//mc.yandex.ru/watch/29259100" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
 
		
		<?php 
        echo smarty_function_hook(array('run' => 'footer_end'), $_smarty_tpl);
        ?>

	</footer>
</div> <!-- /container -->

<?php 
        echo $_smarty_tpl->getSubTemplate('toolbar.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>


<?php 
        echo smarty_function_hook(array('run' => 'body_end'), $_smarty_tpl);
        ?>



<!-- Yandex.Metrika counter -->
<script src="//mc.yandex.ru/metrika/watch.js" type="text/javascript"></script>
<script type="text/javascript">
try { var yaCounter23864602 = new Ya.Metrika({id:23864602,
          webvisor:true,
          clickmap:true,
          trackLinks:true,
          accurateTrackBounce:true});
} catch(e) { }
</script>
<noscript><div><img src="//mc.yandex.ru/watch/23864602" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->


</body>
</html><?php 
    }
    function content_55784371826887_30218402($_smarty_tpl)
    {
        if (!is_callable('smarty_function_router')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php';
        }
        if (!is_callable('smarty_function_cfg')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
        }
        $_smarty_tpl->tpl_vars["noSidebar"] = new Smarty_variable(true, null, 0);
        echo $_smarty_tpl->getSubTemplate('header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('menu' => "receptiondesk_admin"), 0);
        ?>


<h2 class="page-header"><a href="<?php 
        echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['admin_header'];
        ?>
</a> <span>&raquo;</span> <?php 
        if ($_smarty_tpl->tpl_vars['oCurrentCategory']->value) {
            echo htmlspecialchars($_smarty_tpl->tpl_vars['oCurrentCategory']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
            ?>
 <span>&raquo;</span> <?php 
        }
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_title'];
        ?>
</h2>

<ul class="nav nav-pills mb-30">
	<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'receptiondesk_new') {
            ?>
class="active"<?php 
        }
        ?>
>
		<a href="<?php 
        echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl);
        ?>
receptiondesk/"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_new'];
        ?>
 <?php 
        if ($_smarty_tpl->tpl_vars['iCountQuestionNew']->value > 0) {
            ?>
+ <?php 
            echo $_smarty_tpl->tpl_vars['iCountQuestionNew']->value;
        }
        ?>
</a>
	</li>
	<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'receptiondesk_history') {
            ?>
class="active"<?php 
        }
        ?>
>
		<a href="<?php 
        echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl);
        ?>
receptiondesk/history/"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_history'];
        ?>
</a>
	</li>
	<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'receptiondesk_answered') {
            ?>
class="active"<?php 
        }
        ?>
>
		<a href="<?php 
        echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl);
        ?>
receptiondesk/answered/"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_answered'];
        ?>
</a>
	</li>
</ul>

<?php 
        if ($_smarty_tpl->tpl_vars['sType']->value) {
            ?>
	<?php 
            $_smarty_tpl->tpl_vars["sFullUrl"] = new Smarty_variable("receptiondesk/" . $_smarty_tpl->tpl_vars['sType']->value . "/", null, 0);
        } else {
            ?>
	<?php 
            $_smarty_tpl->tpl_vars["sFullUrl"] = new Smarty_variable("receptiondesk/", null, 0);
        }
        ?>

<ul class="nav nav-pills mb-30">
	<li <?php 
        if (!$_smarty_tpl->tpl_vars['oCurrentCategory']->value) {
            ?>
class="active"<?php 
        }
        ?>
>
		<a href="<?php 
        echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl);
        echo $_smarty_tpl->tpl_vars['sFullUrl']->value;
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_answers_list_category_all'];
        ?>
</a>
	</li>
<?php 
        $_smarty_tpl->tpl_vars['oCategory'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['oCategory']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['aCategories']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['oCategory']->key => $_smarty_tpl->tpl_vars['oCategory']->value) {
            $_smarty_tpl->tpl_vars['oCategory']->_loop = true;
            ?>
	<li <?php 
            if ($_smarty_tpl->tpl_vars['oCurrentCategory']->value && $_smarty_tpl->tpl_vars['oCurrentCategory']->value->getId() == $_smarty_tpl->tpl_vars['oCategory']->value->getId()) {
                ?>
class="active"<?php 
            }
            ?>
>
		<a href="<?php 
            echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl);
            echo $_smarty_tpl->tpl_vars['sFullUrl']->value;
            ?>
category/<?php 
            echo $_smarty_tpl->tpl_vars['oCategory']->value->getUrl();
            ?>
/"><?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['oCategory']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
            ?>
</a>
	</li>
<?php 
        }
        ?>
</ul>

<script type="text/javascript" src="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.engine_lib'), $_smarty_tpl);
        ?>
/external/prettyPhoto/js/prettyPhoto.js"></script>	
<link rel='stylesheet' type='text/css' href="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.engine_lib'), $_smarty_tpl);
        ?>
/external/prettyPhoto/css/prettyPhoto.css" />
<script type="text/javascript">
	jQuery(document).ready(function($) {	
		$('.receptiondesk_file_image').prettyPhoto({
			social_tools:'',
			show_title: false,
			slideshow:false,
			deeplinking: false
		});
	});
</script>

<?php 
        echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['sReceptiondeskTemplatePath']->value . "admin_questions_rows.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>


<?php 
        echo $_smarty_tpl->getSubTemplate('footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_5684d6e40788a6_62890551($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cfg')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php';
        }
        if (!is_callable('smarty_function_lang_load')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.lang_load.php';
        }
        if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('view.tinymce')) {
            ?>
	<?php 
            if (!$_smarty_tpl->tpl_vars['sSettingsTinymce']->value) {
                ?>
		<?php 
                $_smarty_tpl->tpl_vars["sSettingsTinymce"] = new Smarty_variable("ls.settings.getTinymce()", null, 0);
                ?>
	<?php 
            }
            ?>

	<script src="<?php 
            echo smarty_function_cfg(array('name' => 'path.root.engine_lib'), $_smarty_tpl);
            ?>
/external/tinymce-jq/tiny_mce.js"></script>
	<script type="text/javascript">
		jQuery(function($){
			tinyMCE.init(<?php 
            echo $_smarty_tpl->tpl_vars['sSettingsTinymce']->value;
            ?>
);
		});
	</script>
<?php 
        } else {
            ?>
	<?php 
            if (!$_smarty_tpl->tpl_vars['sImgToLoad']->value) {
                ?>
		<?php 
                $_smarty_tpl->tpl_vars["sImgToLoad"] = new Smarty_variable("topic_text", null, 0);
                ?>
	<?php 
            }
            ?>
	<?php 
            echo $_smarty_tpl->getSubTemplate('window_load_img.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('sToLoad' => $_smarty_tpl->tpl_vars['sImgToLoad']->value), 0);
            ?>


	<?php 
            if (!$_smarty_tpl->tpl_vars['sSettingsTinymce']->value) {
                ?>
		<?php 
                $_smarty_tpl->tpl_vars["sSettingsMarkitup"] = new Smarty_variable("ls.settings.getMarkitup()", null, 0);
                ?>
	<?php 
            }
            ?>
	<script type="text/javascript">
		jQuery(function($){
			ls.lang.load(<?php 
            echo smarty_function_lang_load(array('name' => "panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"), $_smarty_tpl);
            ?>
);
			// Подключаем редактор
			$('.markitup-editor').markItUp(<?php 
            echo $_smarty_tpl->tpl_vars['sSettingsMarkitup']->value;
            ?>
);
		});
	</script>
<?php 
        }
    }
    function content_5684d6caeb3ac4_70007888($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cfg')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php';
        }
        if (!is_callable('smarty_function_hook')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php';
        }
        if (!is_callable('smarty_function_router')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.router.php';
        }
        if (!is_callable('smarty_function_json')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.json.php';
        }
        if (!is_callable('smarty_function_add_block')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.add_block.php';
        }
        ?>
<!doctype html>

<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="ru"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="ru"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="ru"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="ru"> <!--<![endif]-->

<head>
	<?php 
        if ($_smarty_tpl->tpl_vars['sAction']->value != 'login') {
            ?>
	<?php 
            if (!$_smarty_tpl->tpl_vars['oUserCurrent']->value) {
                ?>

	<?php 
            }
        }
        ?>
	<script async src="<?php 
        echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl);
        ?>
/js/spoiler.js"></script>
	<?php 
        echo smarty_function_hook(array('run' => 'html_head_begin'), $_smarty_tpl);
        ?>

	
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	
	<title><?php 
        echo $_smarty_tpl->tpl_vars['sHtmlTitle']->value;
        ?>
</title>
	
	<meta name="description" content="<?php 
        echo $_smarty_tpl->tpl_vars['sHtmlDescription']->value;
        ?>
">
	<meta name="keywords" content="<?php 
        echo $_smarty_tpl->tpl_vars['sHtmlKeywords']->value;
        ?>
">
 <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.css">
 <link rel="stylesheet" href="<?php 
        echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl);
        ?>
/css/menu.css">
	<?php 
        echo $_smarty_tpl->tpl_vars['aHtmlHeadFiles']->value['css'];
        ?>

	<link href="<?php 
        echo smarty_function_cfg(array('name' => 'path.static.skin'), $_smarty_tpl);
        ?>
/images/favicon.ico?v1" rel="shortcut icon" />
	<link rel="search" type="application/opensearchdescription+xml" href="<?php 
        echo smarty_function_router(array('page' => 'search'), $_smarty_tpl);
        ?>
opensearch/" title="<?php 
        echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl);
        ?>
" />

	<?php 
        if ($_smarty_tpl->tpl_vars['aHtmlRssAlternate']->value) {
            ?>
		<link rel="alternate" type="application/rss+xml" href="<?php 
            echo $_smarty_tpl->tpl_vars['aHtmlRssAlternate']->value['url'];
            ?>
" title="<?php 
            echo $_smarty_tpl->tpl_vars['aHtmlRssAlternate']->value['title'];
            ?>
">
	<?php 
        }
        ?>

	<?php 
        if ($_smarty_tpl->tpl_vars['sHtmlCanonical']->value) {
            ?>
		<link rel="canonical" href="<?php 
            echo $_smarty_tpl->tpl_vars['sHtmlCanonical']->value;
            ?>
" />
	<?php 
        }
        ?>
	
	<?php 
        if ($_smarty_tpl->tpl_vars['bRefreshToHome']->value) {
            ?>
		<meta  HTTP-EQUIV="Refresh" CONTENT="3; URL=<?php 
            echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
            ?>
/">
	<?php 
        }
        ?>
	
	<script type="text/javascript">
		var DIR_WEB_ROOT 			= '<?php 
        echo smarty_function_cfg(array('name' => "path.root.web"), $_smarty_tpl);
        ?>
';
		var DIR_STATIC_SKIN 		= '<?php 
        echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl);
        ?>
';
		var DIR_ROOT_ENGINE_LIB 	= '<?php 
        echo smarty_function_cfg(array('name' => "path.root.engine_lib"), $_smarty_tpl);
        ?>
';
		var LIVESTREET_SECURITY_KEY = '<?php 
        echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value;
        ?>
';
		var SESSION_ID				= '<?php 
        echo $_smarty_tpl->tpl_vars['_sPhpSessionId']->value;
        ?>
';
		var BLOG_USE_TINYMCE		= '<?php 
        echo smarty_function_cfg(array('name' => "view.tinymce"), $_smarty_tpl);
        ?>
';
		
		var TINYMCE_LANG = 'en';
		<?php 
        if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('lang.current') == 'russian') {
            ?>
			TINYMCE_LANG = 'ru';
		<?php 
        }
        ?>

		var aRouter = new Array();
		<?php 
        $_smarty_tpl->tpl_vars['sPath'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['sPath']->_loop = false;
        $_smarty_tpl->tpl_vars['sPage'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['aRouter']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['sPath']->key => $_smarty_tpl->tpl_vars['sPath']->value) {
            $_smarty_tpl->tpl_vars['sPath']->_loop = true;
            $_smarty_tpl->tpl_vars['sPage']->value = $_smarty_tpl->tpl_vars['sPath']->key;
            ?>
			aRouter['<?php 
            echo $_smarty_tpl->tpl_vars['sPage']->value;
            ?>
'] = '<?php 
            echo $_smarty_tpl->tpl_vars['sPath']->value;
            ?>
';
		<?php 
        }
        ?>
	</script>
	
<script>
function getCookie(name) {
  var matches = document.cookie.match(new RegExp(
    "(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)"
  ));
  return matches ? decodeURIComponent(matches[1]) : undefined;
}	
</script>
	<?php 
        echo $_smarty_tpl->tpl_vars['aHtmlHeadFiles']->value['js'];
        ?>


	
	<script type="text/javascript">
		var tinyMCE = false;
		ls.lang.load(<?php 
        echo smarty_function_json(array('var' => $_smarty_tpl->tpl_vars['aLangJs']->value), $_smarty_tpl);
        ?>
);
		ls.registry.set('comment_max_tree',<?php 
        echo smarty_function_json(array('var' => $_smarty_tpl->tpl_vars['oConfig']->value->Get('module.comment.max_tree')), $_smarty_tpl);
        ?>
);
		ls.registry.set('block_stream_show_tip',<?php 
        echo smarty_function_json(array('var' => $_smarty_tpl->tpl_vars['oConfig']->value->Get('block.stream.show_tip')), $_smarty_tpl);
        ?>
);

	</script>
	
	
	<?php 
        ob_start();
        echo smarty_function_cfg(array('name' => 'view.grid.type'), $_smarty_tpl);
        $_tmp1 = ob_get_clean();
        if ($_tmp1 == 'fluid') {
            ?>
		<style>
			/* #container {
				min-width: <?php 
            echo smarty_function_cfg(array('name' => 'view.grid.fluid_min_width'), $_smarty_tpl);
            ?>
px;
				max-width: <?php 
            echo smarty_function_cfg(array('name' => 'view.grid.fluid_max_width'), $_smarty_tpl);
            ?>
px;
			} */
		</style>
	<?php 
        } else {
            ?>

	<?php 
        }
        ?>
	
	
	<?php 
        echo smarty_function_hook(array('run' => 'html_head_end'), $_smarty_tpl);
        ?>

	
<style>
.sticky {
  position: fixed;
  z-index: 101;
}
.stop {
  position: relative;
  z-index: 101;
}

/* #container{min-width: 1200px;} */

</style>
	

</head>



<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
	<?php 
            $_smarty_tpl->tpl_vars['body_classes'] = new Smarty_variable($_smarty_tpl->tpl_vars['body_classes']->value . ' ls-user-role-user', null, 0);
            ?>
	
	<?php 
            if ($_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator()) {
                ?>
		<?php 
                $_smarty_tpl->tpl_vars['body_classes'] = new Smarty_variable($_smarty_tpl->tpl_vars['body_classes']->value . ' ls-user-role-admin', null, 0);
                ?>
	<?php 
            }
        } else {
            ?>
	<?php 
            $_smarty_tpl->tpl_vars['body_classes'] = new Smarty_variable($_smarty_tpl->tpl_vars['body_classes']->value . ' ls-user-role-guest', null, 0);
        }
        ?>

<?php 
        if (!$_smarty_tpl->tpl_vars['oUserCurrent']->value || $_smarty_tpl->tpl_vars['oUserCurrent']->value && !$_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator()) {
            ?>
	<?php 
            $_smarty_tpl->tpl_vars['body_classes'] = new Smarty_variable($_smarty_tpl->tpl_vars['body_classes']->value . ' ls-user-role-not-admin', null, 0);
        }
        ?>

<?php 
        echo smarty_function_add_block(array('group' => 'toolbar', 'name' => 'toolbar_admin.tpl', 'priority' => 100), $_smarty_tpl);
        ?>

<?php 
        echo smarty_function_add_block(array('group' => 'toolbar', 'name' => 'toolbar_scrollup.tpl', 'priority' => -100), $_smarty_tpl);
        ?>





<body class="<?php 
        echo $_smarty_tpl->tpl_vars['body_classes']->value;
        ?>
 width-<?php 
        echo smarty_function_cfg(array('name' => 'view.grid.type'), $_smarty_tpl);
        ?>
">
<img src="<?php 
        echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl);
        ?>
/images/woona-big.png" class="woona">
<script src="<?php 
        echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl);
        ?>
/js/woona.js"></script>
	<?php 
        echo smarty_function_hook(array('run' => 'body_begin'), $_smarty_tpl);
        ?>

	<nav id="userbar" class="clearfix">
	<?php 
        echo smarty_function_hook(array('run' => 'userbar_nav'), $_smarty_tpl);
        ?>


		<?php 
        echo $_smarty_tpl->getSubTemplate('userbar.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>


	<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
		<?php 
            echo $_smarty_tpl->getSubTemplate('window_write.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>

		<?php 
            echo $_smarty_tpl->getSubTemplate('window_favourite_form_tags.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>

	<?php 
        } else {
            ?>
		<?php 
            echo $_smarty_tpl->getSubTemplate('window_login.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>

	<?php 
        }
        ?>

	<?php 
        echo $_smarty_tpl->getSubTemplate('nav.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>


	<div id="container" class="<?php 
        echo smarty_function_hook(array('run' => 'container_class'), $_smarty_tpl);
        ?>
">
		<?php 
        echo $_smarty_tpl->getSubTemplate('header_top.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>


		<div id="wrapper" class="<?php 
        echo smarty_function_hook(array('run' => 'wrapper_class'), $_smarty_tpl);
        ?>
">
			<?php 
        if (!$_smarty_tpl->tpl_vars['noSidebar']->value && $_smarty_tpl->tpl_vars['sidebarPosition']->value == 'left') {
            ?>
				<?php 
            echo $_smarty_tpl->getSubTemplate('sidebar.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>

			<?php 
        }
        ?>

			<?php 
        if (!$_smarty_tpl->tpl_vars['noSidebar']->value && $_smarty_tpl->tpl_vars['sidebarPosition']->value != 'left') {
            ?>
				<?php 
            echo $_smarty_tpl->getSubTemplate('sidebar.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>

			<?php 
        }
        ?>
 <!-- Krivo... -->
		
			<div id="content" role="main" 
				class="<?php 
        if ($_smarty_tpl->tpl_vars['noSidebar']->value) {
            ?>
content-full-width<?php 
        }
        ?>
 
					   <?php 
        if ($_smarty_tpl->tpl_vars['sidebarPosition']->value == 'left') {
            ?>
content-right<?php 
        }
        ?>
"
				<?php 
        if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'profile') {
            ?>
itemscope itemtype="http://data-vocabulary.org/Person"<?php 
        }
        ?>
>

				<?php 
        echo $_smarty_tpl->getSubTemplate('nav_content.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

				<?php 
        echo $_smarty_tpl->getSubTemplate('system_message.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

	
				<?php 
        echo smarty_function_hook(array('run' => 'content_begin'), $_smarty_tpl);
        ?>

<?php 
    }
    function content_5684d6f7a7d4a4_67692430($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cfg')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php';
        }
        if ($_smarty_tpl->tpl_vars['aPaging']->value && $_smarty_tpl->tpl_vars['aPaging']->value['iCountPage'] > 1) {
            ?>
 
	<div class="pagination">
		<?php 
            if ($_smarty_tpl->tpl_vars['aPaging']->value['iPrevPage']) {
                ?>
			<a href="<?php 
                echo $_smarty_tpl->tpl_vars['aPaging']->value['sBaseUrl'];
                ?>
/page<?php 
                echo $_smarty_tpl->tpl_vars['aPaging']->value['iPrevPage'];
                ?>
/<?php 
                echo $_smarty_tpl->tpl_vars['aPaging']->value['sGetParams'];
                ?>
" class="pagination-arrow pagination-arrow-prev js-paging-prev-page" title="<?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['paging_previos'];
                ?>
"><span></span></a>
		<?php 
            } else {
                ?>
			<div class="pagination-arrow pagination-arrow-prev inactive" title="<?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['paging_previos'];
                ?>
"><span></span></div>
		<?php 
            }
            ?>
		
		<?php 
            ob_start();
            echo smarty_function_cfg(array('name' => 'module.topic.per_page'), $_smarty_tpl);
            $_tmp1 = ob_get_clean();
            $_smarty_tpl->tpl_vars["iPerPage"] = new Smarty_variable($_tmp1, null, 0);
            ?>
		<div class="pagination-current"><span><?php 
            echo $_smarty_tpl->tpl_vars['aPaging']->value['iCurrentPage'];
            ?>
</span> <?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['paging_out_of'];
            ?>
 <?php 
            echo $_smarty_tpl->tpl_vars['aPaging']->value['iCountPage'];
            ?>
</div>
		
		<?php 
            if ($_smarty_tpl->tpl_vars['aPaging']->value['iNextPage']) {
                ?>
			<a href="<?php 
                echo $_smarty_tpl->tpl_vars['aPaging']->value['sBaseUrl'];
                ?>
/page<?php 
                echo $_smarty_tpl->tpl_vars['aPaging']->value['iNextPage'];
                ?>
/<?php 
                echo $_smarty_tpl->tpl_vars['aPaging']->value['sGetParams'];
                ?>
" class="pagination-arrow pagination-arrow-next js-paging-next-page" title="<?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['paging_next'];
                ?>
"><span></span></a>
		<?php 
            } else {
                ?>
			<div class="pagination-arrow pagination-arrow-next inactive" title="<?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['paging_next'];
                ?>
"><span></span></div>
		<?php 
            }
            ?>
			
	</div>
<?php 
        }
    }
    function content_5577f781456668_67656656($_smarty_tpl)
    {
        if (!is_callable('smarty_function_router')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php';
        }
        if (!is_callable('smarty_function_date_format')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.date_format.php';
        }
        if (!is_callable('smarty_function_cfg')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
        }
        $_smarty_tpl->tpl_vars["noSidebar"] = new Smarty_variable(true, null, 0);
        echo $_smarty_tpl->getSubTemplate('header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('menu' => "receptiondesk_admin"), 0);
        ?>


<h2 class="page-header"><a href="<?php 
        echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['admin_header'];
        ?>
</a> <span>&raquo;</span> <a href="<?php 
        echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl);
        ?>
receptiondesk/"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_title'];
        ?>
</a></h2>

<article class="topic topic-type-photoset js-topic">
	<header class="topic-header">
		<h2 class="topic-title word-wrap"> #<?php 
        echo $_smarty_tpl->tpl_vars['oQuestion']->value->getCategory()->getTitle();
        ?>
 <span>&raquo;</span> <?php 
        echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oQuestion']->value->getDateAdd(), 'hours_back' => "12", 'minutes_back' => "60", 'now' => "60", 'day' => "day H:i", 'format' => "j F Y, H:i"), $_smarty_tpl);
        ?>
</h2>
		<div class="topic-info">
			<?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_name'];
        ?>
: <?php 
        if ($_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorName()) {
            echo $_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorName();
            ?>
 <?php 
        } else {
            echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_guest'];
            ?>
 <?php 
        }
        ?>
			<span>&raquo;</span>
			<?php 
        if ($_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorMail()) {
            echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_mail'];
            ?>
: <?php 
            echo $_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorMail();
            ?>
 <span>&raquo;</span><?php 
        }
        ?>
			<?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_ip'];
        ?>
: <?php 
        echo $_smarty_tpl->tpl_vars['oQuestion']->value->getUserIp();
        ?>

			<span>&raquo;</span>
			<a href="<?php 
        echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl);
        ?>
receptiondesk/question/edit/<?php 
        echo $_smarty_tpl->tpl_vars['oQuestion']->value->getId();
        ?>
.html"><i class="icon-edit" title="<?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_edit_title'];
        ?>
"></i></a>
			<a href="#" onclick="ls.receptiondesk.removeQuestion(<?php 
        echo $_smarty_tpl->tpl_vars['oQuestion']->value->getId();
        ?>
);return false;"><i class="icon-remove" title="<?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_remove_title'];
        ?>
"></i></a>
		</div>
	</header>

	<div class="topic-content text">
		<?php 
        echo $_smarty_tpl->tpl_vars['oQuestion']->value->getText();
        ?>

	</div>

	<div class="topic-photo-images">
		<ul id="topic-photo-images">

		<script type="text/javascript" src="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.engine_lib'), $_smarty_tpl);
        ?>
/external/prettyPhoto/js/prettyPhoto.js"></script>	
		<link rel='stylesheet' type='text/css' href="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.engine_lib'), $_smarty_tpl);
        ?>
/external/prettyPhoto/css/prettyPhoto.css" />
		<script type="text/javascript">
			jQuery(document).ready(function($) {	
				$('.receptiondesk_file_image').prettyPhoto({
					social_tools:'',
					show_title: false,
					slideshow:false,
					deeplinking: false
				});
			});
		</script>

		<?php 
        $_smarty_tpl->tpl_vars['oFile'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['oFile']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['oQuestion']->value->getFiles();
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['oFile']->key => $_smarty_tpl->tpl_vars['oFile']->value) {
            $_smarty_tpl->tpl_vars['oFile']->_loop = true;
            ?>
			<li>
				<a class="receptiondesk_file_image" href="<?php 
            echo $_smarty_tpl->tpl_vars['oFile']->value->getWebPath(1000);
            ?>
" rel="[photoset]"  title="<?php 
            echo $_smarty_tpl->tpl_vars['oFile']->value->getName();
            ?>
">
					<img src="<?php 
            echo $_smarty_tpl->tpl_vars['oFile']->value->getWebPath('100crop');
            ?>
" alt="<?php 
            echo $_smarty_tpl->tpl_vars['oFile']->value->getName();
            ?>
" />
				</a>
			</li>                                    
		<?php 
        }
        ?>
		</ul>
	</div>

	<footer class="topic-footer">
		<ul class="topic-tags">
			<li><?php 
        if ($_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorName()) {
            ?>
<span>&raquo;</span> <?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_name'];
            ?>
: <?php 
            echo $_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorName();
            if ($_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorNameHide()) {
                ?>
 <span>(<?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_hide'];
                ?>
)</span><?php 
            }
            ?>
</br ><?php 
        }
        ?>
</li>
			<li><?php 
        if ($_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorAddress()) {
            ?>
<span>&raquo;</span> <?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_address'];
            ?>
: <?php 
            echo $_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorAddress();
            if ($_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorAddressHide()) {
                ?>
 <span>(<?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_hide'];
                ?>
)</span><?php 
            }
            ?>
</br ><?php 
        }
        ?>
</li>
			<li><?php 
        if ($_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorPhone()) {
            ?>
<span>&raquo;</span> <?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_phone'];
            ?>
: <?php 
            echo $_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorPhone();
            if ($_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorPhoneHide()) {
                ?>
 <span>(<?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_hide'];
                ?>
)</span><?php 
            }
            ?>
</br ><?php 
        }
        ?>
</li>
		</ul>
	</footer>
</article>

<h2 class="page-header"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_answer_create_title'];
        ?>
</h2>

<?php 
        if ($_smarty_tpl->tpl_vars['oQuestion']->value->getTextHide()) {
            ?>
<p><ul class="system-message-error">
	<li>
		<strong><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_answer_create_text_hide_title'];
            ?>
</strong>
		<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_answer_create_text_hide_notice'];
            ?>

	</li>
</ul></p>
<?php 
        }
        ?>

<?php 
        if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('plugin.receptiondesk.receptiondesk_create_answer_editor') && !$_smarty_tpl->tpl_vars['oConfig']->value->GetValue('view.tinymce')) {
            ?>
	<?php 
            echo $_smarty_tpl->getSubTemplate('editor.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('sImgToLoad' => 'question_text', 'sSettingsMarkitup' => 'ls.settings.getMarkitupReceptiondeskAnswer()', 'sSettingsTinymce' => 'ls.settings.getMarkitupReceptiondeskAnswer()'), 0);
            ?>

<?php 
        }
        ?>

<form method="POST" enctype="multipart/form-data" id="form_receptiondesk_answer" class="wrapper-content" onsubmit="return false;">

	<input type="hidden" name="question_id" value="<?php 
        echo $_smarty_tpl->tpl_vars['oQuestion']->value->getid();
        ?>
" />

	<p><label for="answer_text"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_answer_create_text_title'];
        ?>
</label>
	<textarea name="answer_text" id="receptiondesk_answer_text" class="<?php 
        if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('plugin.receptiondesk.receptiondesk_create_answer_editor') && !$_smarty_tpl->tpl_vars['oConfig']->value->GetValue('view.tinymce')) {
            ?>
mce-editor markitup-editor question-text<?php 
        }
        ?>
 input-text input-width-full js-ajax-validate" rows="10"><?php 
        echo $_smarty_tpl->tpl_vars['oQuestion']->value->getAnswerTextSource();
        ?>
</textarea></p>

	<p><button type="submit" class="button button-primary fl-r" id="submit_answer" onclick="ls.receptiondesk.setAnswer();"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_answer_create_submit'];
        ?>
</button>
		<small class="note"><input type="checkbox" id="receptiondesk_question_publish" name="question_publish" class="input-checkbox" value="1" <?php 
        if ($_smarty_tpl->tpl_vars['oQuestion']->value->getPublish()) {
            ?>
checked<?php 
        }
        ?>
 /><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_answer_create_publish'];
        ?>
</small>
	<?php 
        if ($_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorMail()) {
            ?>
		<small class="note"><input type="checkbox" id="receptiondesk_answer_mail_send" name="answer_mail_send" class="input-checkbox" value="1" /><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_answer_create_send_mail'];
            ?>
 (<?php 
            echo $_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorMail();
            ?>
)</small>
	<?php 
        }
        ?>
</p>

</form>

<?php 
        echo $_smarty_tpl->getSubTemplate('footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_55784e34da9e31_62911773($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cfg')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
        }
        if (!is_callable('smarty_function_router')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php';
        }
        if (!is_callable('smarty_function_hook')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php';
        }
        ?>
<ul class="nav nav-menu">
	<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'index') {
            ?>
class="active"<?php 
        }
        ?>
>
		<a href="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
        ?>
/"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_all'];
        ?>
</a>
	</li>

	<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'blog') {
            ?>
class="active"<?php 
        }
        ?>
>
		<a href="<?php 
        echo smarty_function_router(array('page' => 'blog'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_collective'];
        ?>
</a>
	</li>

	<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'log') {
            ?>
class="active"<?php 
        }
        ?>
>
		<a href="<?php 
        echo smarty_function_router(array('page' => 'personal_blog'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_personal'];
        ?>
</a>
	</li>
	
	<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
		<li <?php 
            if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'feed') {
                ?>
class="active"<?php 
            }
            ?>
>
			<a href="<?php 
            echo smarty_function_router(array('page' => 'feed'), $_smarty_tpl);
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['userfeed_title'];
            ?>
</a>
		</li>
	<?php 
        }
        ?>

	<?php 
        echo smarty_function_hook(array('run' => 'menu_blog'), $_smarty_tpl);
        ?>

</ul><?php 
    }
    function content_5577f7814cdac0_58090673($_smarty_tpl)
    {
        if (!is_callable('smarty_function_hook')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php';
        }
        if (!is_callable('smarty_function_cfg')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
        }
        if (!is_callable('smarty_function_router')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php';
        }
        if (!is_callable('smarty_function_json')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.json.php';
        }
        if (!is_callable('smarty_function_add_block')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.add_block.php';
        }
        ?>
<!doctype html>

<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="ru"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="ru"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="ru"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="ru"> <!--<![endif]-->

<head>
	<?php 
        echo smarty_function_hook(array('run' => 'html_head_begin'), $_smarty_tpl);
        ?>

	
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	
	<title><?php 
        echo $_smarty_tpl->tpl_vars['sHtmlTitle']->value;
        ?>
</title>
	
	<meta name="description" content="<?php 
        echo $_smarty_tpl->tpl_vars['sHtmlDescription']->value;
        ?>
">
	<meta name="keywords" content="<?php 
        echo $_smarty_tpl->tpl_vars['sHtmlKeywords']->value;
        ?>
">

	<?php 
        echo $_smarty_tpl->tpl_vars['aHtmlHeadFiles']->value['css'];
        ?>

	
	<link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700&subset=latin,cyrillic' rel='stylesheet' type='text/css'>

	<link href="<?php 
        echo smarty_function_cfg(array('name' => 'path.static.skin'), $_smarty_tpl);
        ?>
/images/favicon.ico?v1" rel="shortcut icon" />
	<link rel="search" type="application/opensearchdescription+xml" href="<?php 
        echo smarty_function_router(array('page' => 'search'), $_smarty_tpl);
        ?>
opensearch/" title="<?php 
        echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl);
        ?>
" />

	<?php 
        if ($_smarty_tpl->tpl_vars['aHtmlRssAlternate']->value) {
            ?>
		<link rel="alternate" type="application/rss+xml" href="<?php 
            echo $_smarty_tpl->tpl_vars['aHtmlRssAlternate']->value['url'];
            ?>
" title="<?php 
            echo $_smarty_tpl->tpl_vars['aHtmlRssAlternate']->value['title'];
            ?>
">
	<?php 
        }
        ?>

	<?php 
        if ($_smarty_tpl->tpl_vars['sHtmlCanonical']->value) {
            ?>
		<link rel="canonical" href="<?php 
            echo $_smarty_tpl->tpl_vars['sHtmlCanonical']->value;
            ?>
" />
	<?php 
        }
        ?>

	<?php 
        if ($_smarty_tpl->tpl_vars['bRefreshToHome']->value) {
            ?>
		<meta  HTTP-EQUIV="Refresh" CONTENT="3; URL=<?php 
            echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
            ?>
/">
	<?php 
        }
        ?>
	
	
	<script type="text/javascript">
		var DIR_WEB_ROOT 			= '<?php 
        echo smarty_function_cfg(array('name' => "path.root.web"), $_smarty_tpl);
        ?>
';
		var DIR_STATIC_SKIN 		= '<?php 
        echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl);
        ?>
';
		var DIR_ROOT_ENGINE_LIB 	= '<?php 
        echo smarty_function_cfg(array('name' => "path.root.engine_lib"), $_smarty_tpl);
        ?>
';
		var LIVESTREET_SECURITY_KEY = '<?php 
        echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value;
        ?>
';
		var SESSION_ID				= '<?php 
        echo $_smarty_tpl->tpl_vars['_sPhpSessionId']->value;
        ?>
';
		var BLOG_USE_TINYMCE		= '<?php 
        echo smarty_function_cfg(array('name' => "view.tinymce"), $_smarty_tpl);
        ?>
';
		
		var TINYMCE_LANG = 'en';
		<?php 
        if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('lang.current') == 'russian') {
            ?>
			TINYMCE_LANG = 'ru';
		<?php 
        }
        ?>

		var aRouter = new Array();
		<?php 
        $_smarty_tpl->tpl_vars['sPath'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['sPath']->_loop = false;
        $_smarty_tpl->tpl_vars['sPage'] = new Smarty_Variable();
        $_from = $_smarty_tpl->tpl_vars['aRouter']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['sPath']->key => $_smarty_tpl->tpl_vars['sPath']->value) {
            $_smarty_tpl->tpl_vars['sPath']->_loop = true;
            $_smarty_tpl->tpl_vars['sPage']->value = $_smarty_tpl->tpl_vars['sPath']->key;
            ?>
			aRouter['<?php 
            echo $_smarty_tpl->tpl_vars['sPage']->value;
            ?>
'] = '<?php 
            echo $_smarty_tpl->tpl_vars['sPath']->value;
            ?>
';
		<?php 
        }
        ?>
	</script>
	
	
	<?php 
        echo $_smarty_tpl->tpl_vars['aHtmlHeadFiles']->value['js'];
        ?>


	
	<script type="text/javascript">
		var tinyMCE = false;
		ls.lang.load(<?php 
        echo smarty_function_json(array('var' => $_smarty_tpl->tpl_vars['aLangJs']->value), $_smarty_tpl);
        ?>
);
		ls.registry.set('comment_max_tree',<?php 
        echo smarty_function_json(array('var' => $_smarty_tpl->tpl_vars['oConfig']->value->Get('module.comment.max_tree')), $_smarty_tpl);
        ?>
);
		ls.registry.set('block_stream_show_tip',<?php 
        echo smarty_function_json(array('var' => $_smarty_tpl->tpl_vars['oConfig']->value->Get('block.stream.show_tip')), $_smarty_tpl);
        ?>
);
	</script>
	
	
	<?php 
        ob_start();
        echo smarty_function_cfg(array('name' => 'view.grid.type'), $_smarty_tpl);
        $_tmp1 = ob_get_clean();
        if ($_tmp1 == 'fluid') {
            ?>
		<style>
			#container {
				min-width: <?php 
            echo smarty_function_cfg(array('name' => 'view.grid.fluid_min_width'), $_smarty_tpl);
            ?>
px;
				max-width: <?php 
            echo smarty_function_cfg(array('name' => 'view.grid.fluid_max_width'), $_smarty_tpl);
            ?>
px;
			}
		</style>
	<?php 
        } else {
            ?>
		<style>
			#container {
				width: <?php 
            echo smarty_function_cfg(array('name' => 'view.grid.fixed_width'), $_smarty_tpl);
            ?>
px;
			}
		</style>
	<?php 
        }
        ?>
	
	
	<?php 
        echo smarty_function_hook(array('run' => 'html_head_end'), $_smarty_tpl);
        ?>

</head>



<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
	<?php 
            $_smarty_tpl->tpl_vars['body_classes'] = new Smarty_variable($_smarty_tpl->tpl_vars['body_classes']->value . ' ls-user-role-user', null, 0);
            ?>
	
	<?php 
            if ($_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator()) {
                ?>
		<?php 
                $_smarty_tpl->tpl_vars['body_classes'] = new Smarty_variable($_smarty_tpl->tpl_vars['body_classes']->value . ' ls-user-role-admin', null, 0);
                ?>
	<?php 
            }
        } else {
            ?>
	<?php 
            $_smarty_tpl->tpl_vars['body_classes'] = new Smarty_variable($_smarty_tpl->tpl_vars['body_classes']->value . ' ls-user-role-guest', null, 0);
        }
        ?>

<?php 
        if (!$_smarty_tpl->tpl_vars['oUserCurrent']->value || $_smarty_tpl->tpl_vars['oUserCurrent']->value && !$_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator()) {
            ?>
	<?php 
            $_smarty_tpl->tpl_vars['body_classes'] = new Smarty_variable($_smarty_tpl->tpl_vars['body_classes']->value . ' ls-user-role-not-admin', null, 0);
        }
        ?>

<?php 
        echo smarty_function_add_block(array('group' => 'toolbar', 'name' => 'toolbar_admin.tpl', 'priority' => 100), $_smarty_tpl);
        ?>

<?php 
        echo smarty_function_add_block(array('group' => 'toolbar', 'name' => 'toolbar_scrollup.tpl', 'priority' => -100), $_smarty_tpl);
        ?>


<body class="<?php 
        echo $_smarty_tpl->tpl_vars['body_classes']->value;
        ?>
 width-<?php 
        echo smarty_function_cfg(array('name' => 'view.grid.type'), $_smarty_tpl);
        ?>
">
	<?php 
        echo smarty_function_hook(array('run' => 'body_begin'), $_smarty_tpl);
        ?>

	
	
	<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
		<?php 
            echo $_smarty_tpl->getSubTemplate('window_write.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>

		<?php 
            echo $_smarty_tpl->getSubTemplate('window_favourite_form_tags.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>

	<?php 
        } else {
            ?>
		<?php 
            echo $_smarty_tpl->getSubTemplate('window_login.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>

	<?php 
        }
        ?>
	


	
	<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
<div id="header-back"></div>
<?php 
        }
        ?>

	
	<div id="container" class="<?php 
        echo smarty_function_hook(array('run' => 'container_class'), $_smarty_tpl);
        ?>
">
		
		<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            echo $_smarty_tpl->getSubTemplate('header_top.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>

 <?php 
        }
        ?>
		<?php 
        echo $_smarty_tpl->getSubTemplate('nav.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>


		<div id="wrapper" class="no-sidebar<?php 
        echo smarty_function_hook(array('run' => 'wrapper_class'), $_smarty_tpl);
        ?>
">
<!--
			<?php 
        if (!$_smarty_tpl->tpl_vars['noSidebar']->value) {
            ?>
				<?php 
            echo $_smarty_tpl->getSubTemplate('sidebar.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>

			<?php 
        }
        ?>
-->
			<div id="content" role="main" <?php 
        if ($_smarty_tpl->tpl_vars['sidebarPosition']->value == 'left') {
            ?>
class="content-profile"<?php 
        }
        ?>
 <?php 
        if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'profile') {
            ?>
itemscope itemtype="http://data-vocabulary.org/Person"<?php 
        }
        ?>
>
				<?php 
        echo $_smarty_tpl->getSubTemplate('nav_content.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

				<?php 
        echo $_smarty_tpl->getSubTemplate('system_message.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

				
				<?php 
        echo smarty_function_hook(array('run' => 'content_begin'), $_smarty_tpl);
    }
    function content_5684d6e3de5ca2_16440131($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cfg')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php';
        }
        if (!is_callable('smarty_function_hook')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php';
        }
        if (!is_callable('smarty_function_router')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.router.php';
        }
        ?>
<nav id="header" class="clearfix">
	<div class="icon-userbar userbar-trigger" id="userbar-trigger"></div>

	<h1 class="site-name" <?php 
        if ($_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value) {
            ?>
style="margin-right: 132px"<?php 
        }
        ?>
><a href="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
        ?>
"><?php 
        echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl);
        ?>
</a></h1>

	<?php 
        echo smarty_function_hook(array('run' => 'userbar_nav'), $_smarty_tpl);
        ?>

	
	<ul class="nav-userbar">
		<?php 
        echo smarty_function_hook(array('run' => 'userbar_item'), $_smarty_tpl);
        ?>


		<?php 
        if ($_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value) {
            ?>
			<li class="item-messages slide-trigger" id="item-messages" onclick="ls.tools.slide($('#messages'), $(this), true);"><a href="<?php 
            echo smarty_function_router(array('page' => 'talk'), $_smarty_tpl);
            ?>
"></a></li>
		<?php 
        }
        ?>
		<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oTopic']->value) {
            ?>
        <li class="new-comments" id="new_comments_counter" style="display: none;" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['comment_count_new'];
            ?>
" onclick="ls.comments.goToNextComment(); return false;"></li>
		<li class="update-comments" onclick="ls.comments.load(<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
            ?>
,'topic'); return false;"><i id="update-comments" class="fa fa-refresh"></i></li>
		

		<input type="hidden" id="comment_last_id" value="<?php 
            echo $_smarty_tpl->tpl_vars['iMaxIdComment']->value;
            ?>
" />
		<input type="hidden" id="comment_use_paging" value="<?php 
            if ($_smarty_tpl->tpl_vars['aPagingCmt']->value && $_smarty_tpl->tpl_vars['aPagingCmt']->value['iCountPage'] > 1) {
                ?>
1<?php 
            }
            ?>
" />
<?php 
        }
        ?>
<li onclick="ls.toolbar.scroll.goUp()" title="<?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['toolbar_scrollup_go'];
        ?>
" class="toolbar-topic-prev"><i class="fa fa-chevron-up"></i></li>
	<li onclick="ls.toolbar.scroll.goDown()" title="Вниз" class="toolbar-topic-prev"><i class="fa fa-chevron-down"></i></li>
		<li class="item-search slide-trigger" id="item-search" onclick="ls.tools.slide($('#search'), $(this), true);"></li>

		<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
			<li class="item-submit item-primary slide-trigger" id="item-submit" onclick="ls.tools.slide($('#write'), $(this), true);"></li>
		<?php 
        } else {
            ?>
			<li class="item-auth item-primary slide-trigger" id="item-auth" onclick="ls.tools.slide($('#window_login_form'), $(this), true);"></li>
		<?php 
        }
        ?>
	</ul>
</nav>

<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
	<?php 
            echo $_smarty_tpl->getSubTemplate('window_write.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>

<?php 
        } else {
            ?>
	<?php 
            echo $_smarty_tpl->getSubTemplate('window_login.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>

<?php 
        }
        ?>


<form action="<?php 
        echo smarty_function_router(array('page' => 'search'), $_smarty_tpl);
        ?>
topics/" class="slide search-header" id="search">
	<div class="input-holder input-holder-text">
		<input type="text" placeholder="<?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['search'];
        ?>
" maxlength="255" name="q" class="input-text input-width-full">
	</div>
	<div class="input-holder">
		<button type="submit" class="button button-primary"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['search_submit'];
        ?>
</button>
	</div>
</form>


<?php 
        echo smarty_function_hook(array('run' => 'header_banner_begin'), $_smarty_tpl);
        ?>

<?php 
        echo smarty_function_hook(array('run' => 'header_banner_end'), $_smarty_tpl);
    }
    function content_5684d6cb14f186_15764761($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cfg')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php';
        }
        if (!is_callable('smarty_function_router')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.router.php';
        }
        if (!is_callable('smarty_function_hook')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php';
        }
        ?>
<nav id="nav">
	<ul class="nav nav-main">
		<?php 
        if (!$_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
			<li <?php 
            if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'blog') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['topic_title'];
            ?>
</a></li>
		<?php 
        } else {
            ?>
			<li <?php 
            if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'blog') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['userfeed_title'];
            ?>
</a></li>
		<?php 
        }
        ?>
		<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'blogs') {
            ?>
class="active"<?php 
        }
        ?>
><a href="<?php 
        echo smarty_function_router(array('page' => 'blogs'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['blogs'];
        ?>
</a></li>
		<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'people') {
            ?>
class="active"<?php 
        }
        ?>
><a href="<?php 
        echo smarty_function_router(array('page' => 'people'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['people'];
        ?>
</a></li>
		<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'stream') {
            ?>
class="active"<?php 
        }
        ?>
><a href="<?php 
        echo smarty_function_router(array('page' => 'stream'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_menu'];
        ?>
</a></li>
		<li><a href="http://freepony.ru/"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['freepony'];
        ?>
</a></li>

		<li class="quote" style="float: left;">
		<a href="#" style="padding-top: 3px; padding-bottom" 0px;>
<img src="<?php 
        echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl);
        ?>
/images/woona.gif">
</a>
</li>	
	<li class="quote" style="float: left;">
		<a href="#">
		<h1>
		<em>
<?php 
        echo $_smarty_tpl->getSubTemplate("quote.php", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

</em>
</h1>
</a>
</li>
	</ul>
	<?php 
        echo smarty_function_hook(array('run' => 'main_menu'), $_smarty_tpl);
        ?>

</nav>
<?php 
    }
    function content_56877be139f7c5_25226876($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cfg')) {
            include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.cfg.php';
        }
        if (!is_callable('smarty_function_router')) {
            include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.router.php';
        }
        if (!is_callable('smarty_function_hook')) {
            include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.hook.php';
        }
        ?>
<ul class="nav nav-menu">
	<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'index') {
            ?>
class="active"<?php 
        }
        ?>
>
		<a href="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
        ?>
/"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_all'];
        ?>
</a>
	</li>

	<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'blog') {
            ?>
class="active"<?php 
        }
        ?>
>
		<a href="<?php 
        echo smarty_function_router(array('page' => 'blog'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_collective'];
        ?>
</a>
	</li>

	<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'log') {
            ?>
class="active"<?php 
        }
        ?>
>
		<a href="<?php 
        echo smarty_function_router(array('page' => 'personal_blog'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_personal'];
        ?>
</a>
	</li>
	
	<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
		<li <?php 
            if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'feed') {
                ?>
class="active"<?php 
            }
            ?>
>
			<a href="<?php 
            echo smarty_function_router(array('page' => 'feed'), $_smarty_tpl);
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['userfeed_title'];
            ?>
</a>
		</li>
	<?php 
        }
        ?>

	<?php 
        echo smarty_function_hook(array('run' => 'menu_blog'), $_smarty_tpl);
        ?>

</ul><?php 
    }
    function content_5684d6cc7adf41_27857703($_smarty_tpl)
    {
        if (!is_callable('smarty_function_hook')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php';
        }
        if (!is_callable('smarty_function_cfg')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php';
        }
        ?>
			<?php 
        echo smarty_function_hook(array('run' => 'content_end'), $_smarty_tpl);
        ?>

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


	<footer id="footer">
		<div style="text-align: center; font-size: 16pt;">
			<span style="display: block; clear: both;">Светлая\темная тема</span>
			<div style="height: 80px; margin: 10px auto 0px; width: 80px;">
				<img src="<?php 
        echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl);
        ?>
/images/dark-to-day.png" onclick="bunkerStyle()" title="Светлый режим/темный режим" class="switch-theme" />
			</div>
                <p style="margin: 10px; font-size: 12pt;"><a href="/?force-mobile=on">Мобильная версия</a></p>
		</div>
		<?php 
        echo smarty_function_hook(array('run' => 'body_end'), $_smarty_tpl);
        ?>

	</footer>
</div> <!-- /container -->



			<?php 
        echo $_smarty_tpl->getSubTemplate('toolbar.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

			<script>
				


				function bunkerStyle() {
        var date = new Date;
        date.setDate(date.getDate() + 100);
        if(getCookie("SiteStyle") == "Dark") {
                document.cookie = "SiteStyle=Light; path=/; expires=" + date.toUTCString();
                location.reload();
        } else {
                if(getCookie("SiteStyle") == "Light") {
                        document.cookie = "SiteStyle=Dark; path=/; expires=" + date.toUTCString();
                        location.reload();
                } else {
                        document.cookie = "SiteStyle=Dark; path=/; expires=" + date.toUTCString();
                        location.reload();
                }
        }
}
var allNew = document.querySelectorAll('.spoiler-title');
console.log(allNew)
idx=0
for(idx=0;idx<allNew.length;idx++){	
	allNew[idx].className="spoiler-title spoiler-close" 
}

var despoil = function() {
	var allBody = document.querySelectorAll('.spoiler-body');
	idx=0
	for(idx=0;idx<allBody.length;idx++){	
		allBody[idx].style.display="inline" 
	}
	var allNew = document.querySelectorAll('.spoiler-title');
	idx=0
	for(idx=0;idx<allNew.length;idx++){	
		allNew[idx].className="spoiler-title spoiler-open" 
	}
	var el = document.getElementById("spoil");
    el.innerHTML = 'Закрыть спойлеры<i class="fa fa-eye-slash">';
    el.parentNode.title = 'Закрыть спойлеры'
    el.onclick=function(){spoil(); return false;};
}

var spoil = function() {
	var allBody = document.querySelectorAll('.spoiler-body');
	idx=0
	for(idx=0;idx<allBody.length;idx++){	
		allBody[idx].style.display="none" 
	}
	var allNew = document.querySelectorAll('.spoiler-title');
	idx=0
	for(idx=0;idx<allNew.length;idx++){	
		allNew[idx].className="spoiler-title spoiler-close" 
	}
	var el = document.getElementById("spoil");
    el.innerHTML = 'Открыть спойлеры<i class="fa fa-eye-slash">';
    el.parentNode.title = 'Открыть спойлеры'
    el.onclick=function(){despoil(); return false;};
}
$('.btn-menu').click(function(){panel()})

pc = 0;
var panel = function(){
	pc++;
	if (pc == 16) {
		woona()
	}
}
</script>
</body>
</html>
<?php 
    }
    function content_55784cef03d709_20559941($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cfg')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
        }
        $_smarty_tpl->tpl_vars["noSidebar"] = new Smarty_variable(true, null, 0);
        echo $_smarty_tpl->getSubTemplate('header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('menu' => 'receptiondesk'), 0);
        ?>


<script type="text/javascript">
	jQuery(document).ready(function($){
		$('#form_receptiondesk_question').bind('submit',function(){
			ls.receptiondesk.setQuestion();
			return false;
		});
		if(jQuery.browser.flash && 1!=1){
			ls.receptiondesk.initSwfUpload({
				post_params: { }
			});
		}
	});
</script>

<form method="POST" enctype="multipart/form-data" id="receptiondesk-file-upload-form" onsubmit="return false;" class="modal modal-receptiondesk-category">

	<header class="modal-header">
		<h3><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_files_upload_title'];
        ?>
</h3>
		<a href="#" class="close jqmClose"></a>
	</header>

	<div id="topic-photo-upload-input" class="topic-photo-upload-input modal-content">

		<label for="receptiondesk-upload-file"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_files_choose_file'];
        ?>
:</label>
		<input type="file" id="receptiondesk-upload-file" name="Filedata" /><br><br>
		<input type="hidden" name="is_iframe" value="true" />
		<button type="submit" class="button button-primary" onclick="ls.receptiondesk.uploadFile();"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_files_choose'];
        ?>
</button>
		<button type="submit" class="button" onclick="ls.receptiondesk.closeUploadForm();"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_files_close'];
        ?>
</button>

	</div>

</form>

<h2 class="page-header"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_receptiondesk'];
        ?>
</h2>

<div class="wrapper-content">
	<div class="blog">
		<h3><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_receptiondesk_title'];
        ?>
</h3>
		<p>
			<ul class="system-message-notice receptiondesk-question-notice">
				<li>
					<strong><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_ok_title'];
        ?>
</strong>
					<?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_ok_notice'];
        ?>

				</li>
			</ul>
		</p>
		<p><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_receptiondesk_text'];
        ?>
</p>
		<p>
			<?php 
        $_smarty_tpl->tpl_vars['oCategory'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['oCategory']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['aCategories']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['oCategory']->key => $_smarty_tpl->tpl_vars['oCategory']->value) {
            $_smarty_tpl->tpl_vars['oCategory']->_loop = true;
            ?>
			 - <?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['oCategory']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
            ?>
<br />
			<?php 
        }
        ?>
		</p>
	</div>
</div>

<br />
<h2 class="page-header"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_title'];
        ?>
</h2>

<?php 
        if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('plugin.receptiondesk.receptiondesk_create_editor') && !$_smarty_tpl->tpl_vars['oConfig']->value->GetValue('view.tinymce')) {
            ?>
	<?php 
            echo $_smarty_tpl->getSubTemplate('editor.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('sImgToLoad' => 'question_text', 'sSettingsMarkitup' => 'ls.settings.getMarkitupReceptiondesk()', 'sSettingsTinymce' => 'ls.settings.getMarkitupReceptiondesk()'), 0);
            ?>

<?php 
        }
        ?>

<form method="POST" enctype="multipart/form-data" id="form_receptiondesk_question" class="wrapper-content" onsubmit="return false;">

	<input type="hidden" name="security_ls_key" value="<?php 
        echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value;
        ?>
" />

	<p>
		<small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_title'];
        ?>
</small>
	</p>

	<p>
		<label for="question_category_id"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_category_title'];
        ?>
</label>
		<select name="question_category_id" id="question_category_id" class="input-width-full js-ajax-validate">
			<option value="0"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_category_select'];
        ?>
</option>
		<?php 
        $_smarty_tpl->tpl_vars['oCategory'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['oCategory']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['aCategories']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['oCategory']->key => $_smarty_tpl->tpl_vars['oCategory']->value) {
            $_smarty_tpl->tpl_vars['oCategory']->_loop = true;
            ?>
			<option value="<?php 
            echo $_smarty_tpl->tpl_vars['oCategory']->value->getId();
            ?>
" <?php 
            if ($_smarty_tpl->tpl_vars['_aRequest']->value['question_category_id'] == $_smarty_tpl->tpl_vars['oCategory']->value->getId()) {
                ?>
selected<?php 
            }
            ?>
><?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['oCategory']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
            ?>
</option>
		<?php 
        }
        ?>
		</select>
		<small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_category_notice'];
        ?>
</small>
		<small class="validate-error-hide validate-error-field-question_category_id"></small>
	</p>

	<p>
		<label for="question_text"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_text_title'];
        ?>
</label>
		<textarea name="question_text" id="receptiondesk_question_text" class="<?php 
        if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('plugin.receptiondesk.receptiondesk_create_editor') && !$_smarty_tpl->tpl_vars['oConfig']->value->GetValue('view.tinymce')) {
            ?>
mce-editor markitup-editor question-text<?php 
        }
        ?>
 input-text input-width-full js-ajax-validate" rows="10"><?php 
        echo $_smarty_tpl->tpl_vars['_aRequest']->value['question_text'];
        ?>
</textarea>
		<small class="note input-width-500 fl-r"><input type="checkbox" id="receptiondesk_question_text_hide" name="question_text_hide" class="input-checkbox" value="1" /><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_text_hide_title'];
        ?>
</small>
		<small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_text_notice'];
        ?>
</small>
		<small class="validate-error-hide validate-error-field-question_text"></small>
		<small class="validate-error-hide validate-error-field-question_text_hash"></small>
	</p>

	<p>
		<label for="receptiondesk_file_upload"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_files_title'];
        ?>
</label>
		<a href="#" id="receptiondesk_file_upload" class="button button-primary fl-r"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_files_choose'];
        ?>
</a>
		<div id="receptiondesk_file_list">
		<?php 
        $_smarty_tpl->tpl_vars['oFile'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['oFile']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['aQuestionFiles']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['oFile']->key => $_smarty_tpl->tpl_vars['oFile']->value) {
            $_smarty_tpl->tpl_vars['oFile']->_loop = true;
            ?>
			<?php 
            echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['sReceptiondeskTemplatePath']->value . "admin_files_row.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>

		<?php 
        }
        ?>
		</div>
		<small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_files_notice'];
        ?>
</small>
	</p>

	<p>
		<input type="text" name="question_author_mail" id="receptiondesk_question_author_mail" class="input-text input-width-500 fl-r js-ajax-validate">
		<label for="question_author_mail"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_mail_title'];
        ?>
</label>
		<small class="note input-width-500 fl-r"><input type="checkbox" id="receptiondesk_question_author_mail_hide" name="question_author_mail_hide" class="input-checkbox" value="1" /><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_mail_hide_title'];
        ?>
</small>
		<small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_mail_notice'];
        ?>
</small>
		<small class="validate-error-hide validate-error-field-question_author_mail"></small>
	</p>

	<p>
		<small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_notice'];
        ?>
</small>
	</p>

	<p>
		<input type="text" name="question_author_name" id="receptiondesk_question_author_name" class="input-text input-width-500 fl-r">
		<label for="question_author_name"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_name_title'];
        ?>
</label>
		<small class="note input-width-500 fl-r"><input type="checkbox" id="receptiondesk_question_author_name_hide" name="question_author_name_hide" class="input-checkbox" value="1" /><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_name_hide_title'];
        ?>
</small>
		<small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_name_notice'];
        ?>
</small>
		<small class="validate-error-hide validate-error-field-question_author_name"></small>
	</p>

	<p>
		<input type="text" name="question_author_address" id="receptiondesk_question_author_address" class="input-text input-width-500 fl-r">
		<label for="question_author_address"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_address_title'];
        ?>
</label>
		<small class="note input-width-500 fl-r"><input type="checkbox" id="receptiondesk_question_author_address_hide" name="question_author_address_hide" class="input-checkbox" value="1" /><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_address_hide_title'];
        ?>
</small>
		<small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_address_notice'];
        ?>
</small>
		<small class="validate-error-hide validate-error-field-question_author_address"></small>
	</p>

	<p>
		<input type="text" name="question_author_phone" id="receptiondesk_question_author_phone" class="input-text input-width-500 fl-r">
		<label for="question_author_phone"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_phone_title'];
        ?>
</label>
		<small class="note input-width-500 fl-r"><input type="checkbox" id="receptiondesk_question_author_phone_hide" name="question_author_phone_hide" class="input-checkbox" value="1" /><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_phone_hide_title'];
        ?>
</small>
		<small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_phone_notice'];
        ?>
</small>
		<small class="validate-error-hide validate-error-field-question_author_phone"></small>
	</p>

	<p><label for="question_captcha"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_captcha_title'];
        ?>
</label>
	<img src="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.engine_lib'), $_smarty_tpl);
        ?>
/external/kcaptcha/index.php?<?php 
        echo $_smarty_tpl->tpl_vars['_sPhpSessionName']->value;
        ?>
=<?php 
        echo $_smarty_tpl->tpl_vars['_sPhpSessionId']->value;
        ?>
" onclick="this.src='<?php 
        echo smarty_function_cfg(array('name' => 'path.root.engine_lib'), $_smarty_tpl);
        ?>
/external/kcaptcha/index.php?<?php 
        echo $_smarty_tpl->tpl_vars['_sPhpSessionName']->value;
        ?>
=<?php 
        echo $_smarty_tpl->tpl_vars['_sPhpSessionId']->value;
        ?>
&n='+Math.random();" class="captcha-image" />
	<button type="submit" class="button button-primary fl-r" id="submit_category" onclick="ls.receptiondesk.setQuestion();"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_submit'];
        ?>
</button>
	<input type="text" name="question_captcha" id="question_captcha" value="" maxlength="3" class="input-text input-width-300 js-ajax-validate" />
	<small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_captcha_notice'];
        ?>
</small>
	<small class="validate-error-hide validate-error-field-question_captcha"></small></p>

</form>

<?php 
        echo $_smarty_tpl->getSubTemplate('footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_5577f78155b131_89638652($_smarty_tpl)
    {
        if (!is_callable('smarty_function_hook')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php';
        }
        if (!is_callable('smarty_function_cfg')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
        }
        if (!is_callable('smarty_function_router')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php';
        }
        ?>
<header id="header" role="banner">
	<?php 
        echo smarty_function_hook(array('run' => 'header_banner_begin'), $_smarty_tpl);
        ?>

	<h1 class="site-name"><a href="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
        ?>
"><?php 
        echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl);
        ?>
</a></h1>
	
	
	<ul class="nav nav-main" id="nav-main">
		<!--<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'blog') {
            ?>
class="active"<?php 
        }
        ?>
><a href="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['topic_title'];
        ?>
</a> <i></i></li>
		<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'blogs') {
            ?>
class="active"<?php 
        }
        ?>
><a href="<?php 
        echo smarty_function_router(array('page' => 'blogs'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['blogs'];
        ?>
</a> <i></i></li>
		<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'people') {
            ?>
class="active"<?php 
        }
        ?>
><a href="<?php 
        echo smarty_function_router(array('page' => 'people'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['people'];
        ?>
</a> <i></i></li>
		<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'stream') {
            ?>
class="active"<?php 
        }
        ?>
><a href="<?php 
        echo smarty_function_router(array('page' => 'stream'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_menu'];
        ?>
</a> <i></i></li> -->

		<?php 
        echo smarty_function_hook(array('run' => 'main_menu_item'), $_smarty_tpl);
        ?>


		<li class="nav-main-more"><a href="#" id="dropdown-mainmenu-trigger" onclick="return false"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['more'];
        ?>
</a></li>
	</ul>

	<ul class="dropdown-nav-main dropdown-menu" id="dropdown-mainmenu-menu"></ul>

	<?php 
        echo smarty_function_hook(array('run' => 'main_menu'), $_smarty_tpl);
        ?>

	
	
	<?php 
        echo smarty_function_hook(array('run' => 'userbar_nav'), $_smarty_tpl);
        ?>

	
	<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
		<div class="dropdown-user" id="dropdown-user">
			<a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath();
            ?>
"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getProfileAvatarPath(48);
            ?>
" alt="avatar" class="avatar" /></a>
			<a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath();
            ?>
" class="username"><?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getLogin();
            ?>
</a>
			
			<div class="dropdown-user-shadow"></div>
			<div class="dropdown-user-trigger" id="dropdown-user-trigger"><i></i></div>
			
			<ul class="dropdown-user-menu" id="dropdown-user-menu" style="display: none">
				<li class="item-stat">
					<span class="strength" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_skill'];
            ?>
"><i class="icon-synio-star-green"></i> <?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getSkill();
            ?>
</span>
					<span class="rating <?php 
            if ($_smarty_tpl->tpl_vars['oUserCurrent']->value->getRating() < 0) {
                ?>
negative<?php 
            }
            ?>
" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_rating'];
            ?>
"><i class="icon-synio-rating"></i> <?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getRating();
            ?>
</span>
					<?php 
            echo smarty_function_hook(array('run' => 'userbar_stat_item'), $_smarty_tpl);
            ?>

				</li>
				<?php 
            echo smarty_function_hook(array('run' => 'userbar_item_first'), $_smarty_tpl);
            ?>

				<li class="item-messages">
					<a href="<?php 
            echo smarty_function_router(array('page' => 'talk'), $_smarty_tpl);
            ?>
" id="new_messages">
						<i class="item-icon"></i>
						<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_privat_messages'];
            ?>

						<?php 
            if ($_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value) {
                ?>
<div class="new">+<?php 
                echo $_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value;
                ?>
</div><?php 
            }
            ?>
					</a>
				</li>
				<li class="item-favourite"><i class="item-icon"></i><a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath();
            ?>
favourites/topics/"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_menu_profile_favourites'];
            ?>
</a></li> 
				<li class="item-profile"><i class="item-icon"></i><a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath();
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['footer_menu_user_profile'];
            ?>
</a></li>
				<li class="item-settings"><i class="item-icon"></i><a href="<?php 
            echo smarty_function_router(array('page' => 'settings'), $_smarty_tpl);
            ?>
profile/"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_settings'];
            ?>
</a></li>
				<li class="item-create"><i class="item-icon"></i><a href="<?php 
            echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl);
            ?>
add/"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['block_create'];
            ?>
</a></li>
				<?php 
            echo smarty_function_hook(array('run' => 'userbar_item_last'), $_smarty_tpl);
            ?>

				<li class="item-signout"><i class="item-icon"></i><a href="<?php 
            echo smarty_function_router(array('page' => 'login'), $_smarty_tpl);
            ?>
exit/?security_ls_key=<?php 
            echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value;
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['exit'];
            ?>
</a></li>
			</ul>
		</div>
	<?php 
        } else {
            ?>
		<ul class="auth">
			<?php 
            echo smarty_function_hook(array('run' => 'userbar_item'), $_smarty_tpl);
            ?>

			<li><a href="<?php 
            echo smarty_function_router(array('page' => 'registration'), $_smarty_tpl);
            ?>
" class="js-registration-form-show"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['registration_submit'];
            ?>
</a></li>
			<li><a href="<?php 
            echo smarty_function_router(array('page' => 'login'), $_smarty_tpl);
            ?>
" class="js-login-form-show sign-in"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_login_submit'];
            ?>
</a></li>
		</ul>
	<?php 
        }
        ?>
	
	<?php 
        if ($_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value) {
            ?>
<a href="<?php 
            echo smarty_function_router(array('page' => 'talk'), $_smarty_tpl);
            ?>
" class="new-messages">+<?php 
            echo $_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value;
            ?>
 <i class="icon-synio-new-message"></i></a><?php 
        }
        ?>
	
	
	<?php 
        echo smarty_function_hook(array('run' => 'header_banner_end'), $_smarty_tpl);
        ?>

</header>
<?php 
    }
    function content_568a931238d3c4_27116298($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cfg')) {
            include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.cfg.php';
        }
        if (!is_callable('smarty_function_router')) {
            include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.router.php';
        }
        ?>
<div class="col-md-2">
	<a href="/" class="logo">
		<img src="<?php 
        echo smarty_function_cfg(array('name' => 'path.static.skin'), $_smarty_tpl);
        ?>
images/logo.png" alt="Логотип сайта">
	</a>
</div><!-- .logo -->
<div class="col-md-7">
	<nav class="main-menu">
	<?php 
        if ($_smarty_tpl->tpl_vars['menu']->value) {
            ?>
		<?php 
            if (in_array($_smarty_tpl->tpl_vars['menu']->value, $_smarty_tpl->tpl_vars['aMenuContainers']->value)) {
                echo $_smarty_tpl->tpl_vars['aMenuFetch']->value[$_smarty_tpl->tpl_vars['menu']->value];
            } else {
                echo $_smarty_tpl->getSubTemplate("menu." . $_smarty_tpl->tpl_vars['menu']->value . ".tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            }
            ?>
	<?php 
        }
        ?>
	
	<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
		<a href="<?php 
            echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl);
            ?>
add/" class="button button-write js-write-window-show" id="modal_write_show"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['block_create'];
            ?>
</a>
	<?php 
        }
        ?>
	</nav>
</div><!-- .main-menu -->
<div class="col-md-3">
	<div class="search">
		<div class="search-header-show" id="search-header-show"><i class="icon-synio-search"></i> <a href="#" class="link-dotted"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['search_submit'];
        ?>
</a></div>
		
		<form class="search-header-form" id="search-header-form" action="<?php 
        echo smarty_function_router(array('page' => 'search'), $_smarty_tpl);
        ?>
topics/" style="display: none">
			<input type="text" placeholder="<?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['search'];
        ?>
" maxlength="255" name="q" class="input-text">
			<input type="submit" value="" title="<?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['search_submit'];
        ?>
" class="input-submit">
		</form>
	</div>
</div><?php 
    }
    function content_5684d6cb047511_64957306($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cfg')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php';
        }
        if (!is_callable('smarty_function_router')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.router.php';
        }
        if (!is_callable('smarty_function_hook')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php';
        }
        ?>
<input type="checkbox" id="hmt" class="hidden-menu-ticker">
<label class="btn-menu" for="hmt">
    <span class="first"></span>
    <span class="second"></span>
    <span class="third"></span>
    <a href="/">
        <img src="<?php 
        echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl);
        ?>
/logo.png" class="logo">
    </a>
</label>

<div class="nav nav-userbar hidden-menu">
<ul>
    <a href="/">
    </a>
    <?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
    <li class="nav-userbar-username" title="<?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getLogin();
            ?>
">
        <a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath();
            ?>
" class="username">
            <?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getLogin();
            ?>

            <img src="<?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getProfileAvatarPath(24);
            ?>
" alt="avatar" class="avatar" />
        </a>
    </li>
    <li title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['block_create'];
            ?>
">
        <a href="<?php 
            echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl);
            ?>
add/" class="write" id="modal_write_show">
            <?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['block_create'];
            ?>

            <i class="fa fa-pencil-square-o"></i>
        </a>
    </li>
    <li title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_privat_messages'];
            if ($_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value) {
                ?>
 (<?php 
                echo $_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value;
                ?>
)<?php 
            }
            ?>
">
        <a href="<?php 
            echo smarty_function_router(array('page' => 'talk'), $_smarty_tpl);
            ?>
" <?php 
            if ($_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value) {
                ?>
class="new-messages"<?php 
            }
            ?>
 id="new_messages">
            <?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_privat_messages'];
            if ($_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value) {
                ?>
 (<?php 
                echo $_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value;
                ?>
)<?php 
            }
            ?>
            <i class="fa fa-envelope<?php 
            if (!$_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value) {
                ?>
-o<?php 
            }
            ?>
"></i>
        </a>
    </li>
    <?php 
            echo smarty_function_hook(array('run' => 'athead'), $_smarty_tpl);
            ?>

                        <?php 
            echo smarty_function_hook(array('run' => 'atmenu'), $_smarty_tpl);
            ?>

    <?php 
            echo smarty_function_hook(array('run' => 'userbar_item'), $_smarty_tpl);
            ?>

    <li title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_menu_profile_favourites'];
            ?>
">
        <a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath();
            ?>
favourites/topics/">
            <?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_menu_profile_favourites'];
            ?>

            <i class="fa fa-star-half-o"></i>
        </a>
    </li>
    <li title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_settings'];
            ?>
">
        <a href="<?php 
            echo smarty_function_router(array('page' => 'settings'), $_smarty_tpl);
            ?>
profile/">
            <?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_settings'];
            ?>

            <i class="fa fa-cogs"></i>
        </a>
    </li>
    <li title="Широкий режим">
        <a href="#" onclick="wide(); return false;" class="widemode" id="wide">
            Широкий режим
        </a>
    </li>
    <li title="Открыть спойлеры">
        <a href="#" onclick="despoil(); return false;" class="spoil" id="spoil">
            Открыть спойлеры
            <i class="fa fa-eye-slash"></i>
        </a>
    </li>
    </ul>
    <ul class="userbar_info">
    <li title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['exit'];
            ?>
">
        <a href="<?php 
            echo smarty_function_router(array('page' => 'login'), $_smarty_tpl);
            ?>
exit/?security_ls_key=<?php 
            echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value;
            ?>
">
            <?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['exit'];
            ?>

            <i class="fa fa-times-circle-o"></i>
        </a>
    </li>
    </ul>
    <?php 
        } else {
            ?>
    <?php 
            echo smarty_function_hook(array('run' => 'userbar_item'), $_smarty_tpl);
            ?>

    <li>
        <a href="<?php 
            echo smarty_function_router(array('page' => 'login'), $_smarty_tpl);
            ?>
" class="js-login-form-show">
            <?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_login_submit'];
            ?>

            <i class="fa fa-user"></i>
        </a>
    </li>
    <li>
        <a href="<?php 
            echo smarty_function_router(array('page' => 'registration'), $_smarty_tpl);
            ?>
" class="js-registration-form-show">
            <?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['registration_submit'];
            ?>

            <i class="fa fa-user-plus"></i>
        </a>
    </li>
    <li title="Широкий режим">
        <a href="#" onclick="wide(); return false;" class="widemode" id="wide">
            Широкий режим
        </a>
    </li>
    <li title="Открыть спойлеры">
        <a href="#" onclick="despoil(); return false;" class="spoil" id="spoil">
            Открыть спойлеры
            <i class="fa fa-eye-slash"></i>
        </a>
    </li>
    </ul>
    <?php 
        }
        ?>
    </ul>
    <ul class="userbar_info">
    <li title="О версии <?php 
        echo Config::Get('site_version');
        ?>
">
        <a href="/page/about">
            О версии <?php 
        echo Config::Get('site_version');
        ?>

            <i class="fa fa-info-circle"></i>
        </a>
    </li>
    <li title="Сообщить об ошибке">
        <a href="http://bug.lunavod.ru/">
            Сообщить об ошибке
            <i class="fa fa-exclamation-circle"></i>
        </a>
    </li>
<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
    <li>
        <a href="<?php 
            echo smarty_function_router(array('page' => 'login'), $_smarty_tpl);
            ?>
exit/?security_ls_key=<?php 
            echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value;
            ?>
">
            <?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['exit'];
            ?>

            <i class="fa fa-times-circle-o"></i>
        </a>
    </li>
<?php 
        }
        ?>
    </ul>
</div>
</nav>

<script>
    function wide(){
        var gifs = document.getElementById('sidebar');
        var element = document.getElementById('content');
        element.style.right = "30px";
        element.style.margin = "0px";
        gifs.style.display = "none";
        var el = document.getElementById("wide");
        el.className= "standartmode";
        el.innerHTML = 'Стандартный режим'
        el.parentNode.title = 'Стандартный режим'
        el.onclick=function(){dewide(); return false;}
    }
    function dewide(){
        var gifs = document.getElementById('sidebar');
        var element = document.getElementById('content');
        element.style.right = "";
        element.style.margin = "";
        gifs.style.display = "";
        var el = document.getElementById("wide");
        el.className = "widemode";
        el.innerHTML = 'Широкий режим'
        el.parentNode.title = 'Широкий режим'
        el.onclick=function(){wide(); return false;}
    }
</script>

<?php 
    }
    function content_5684d6cbb571f7_58388387($_smarty_tpl)
    {
        if (!is_callable('smarty_function_router')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.router.php';
        }
        if (!is_callable('smarty_function_hook')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php';
        }
        if (!is_callable('smarty_function_date_format')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.date_format.php';
        }
        if (!is_callable('smarty_function_cfg')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php';
        }
        $_smarty_tpl->tpl_vars["oBlog"] = new Smarty_variable($_smarty_tpl->tpl_vars['oTopic']->value->getBlog(), null, 0);
        $_smarty_tpl->tpl_vars["oUser"] = new Smarty_variable($_smarty_tpl->tpl_vars['oTopic']->value->getUser(), null, 0);
        $_smarty_tpl->tpl_vars["oVote"] = new Smarty_variable($_smarty_tpl->tpl_vars['oTopic']->value->getVote(), null, 0);
        ?>


<article class="topic topic-type-<?php 
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getType();
        ?>
 js-topic">
<div class="smile" style="background-image: url('https://static.lunavod.ru/smiles/<?php 
        echo $_smarty_tpl->getSubTemplate("smiles.php", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>
')"></div>
	<header class="topic-header">
		<h1 class="topic-title word-wrap">
			<?php 
        if ($_smarty_tpl->tpl_vars['oTopic']->value->getPublish() == 0) {
            ?>
   
				<i class="icon-tag" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['topic_unpublish'];
            ?>
"></i>
			<?php 
        }
        ?>
			
			<?php 
        if ($_smarty_tpl->tpl_vars['oTopic']->value->getType() == 'link') {
            ?>
 
				<i class="icon-share-alt" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['topic_link'];
            ?>
"></i>
			<?php 
        }
        ?>
			
			<?php 
        if ($_smarty_tpl->tpl_vars['bTopicList']->value) {
            ?>
				<a href="<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getUrl();
            ?>
"><?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['oTopic']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
            ?>
</a>
			<?php 
        } else {
            ?>
				<?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['oTopic']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
            ?>

			<?php 
        }
        ?>
		</h1>
		
		
		<?php 
        if ($_smarty_tpl->tpl_vars['oTopic']->value->getType() == 'link') {
            ?>
			<div class="topic-url">
				<a href="<?php 
            echo smarty_function_router(array('page' => 'link'), $_smarty_tpl);
            ?>
go/<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
            ?>
/" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['topic_link_count_jump'];
            ?>
: <?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getLinkCountJump();
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getLinkUrl();
            ?>
</a>
			</div>
		<?php 
        }
        ?>
		
		
		<div class="topic-info">
			<div style="display: inline; padding-right: 15px;" id="vote_area_topic_<?php 
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
        ?>
" class="stickyDa vote 
																<?php 
        if ($_smarty_tpl->tpl_vars['oVote']->value || $_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oTopic']->value->getUserId() == $_smarty_tpl->tpl_vars['oUserCurrent']->value->getId() || strtotime($_smarty_tpl->tpl_vars['oTopic']->value->getDateAdd()) < time() - $_smarty_tpl->tpl_vars['oConfig']->value->GetValue('acl.vote.topic.limit_time')) {
            ?>
																	<?php 
            if ($_smarty_tpl->tpl_vars['oTopic']->value->getRating() > 0) {
                ?>
																		vote-count-positive
																	<?php 
            } elseif ($_smarty_tpl->tpl_vars['oTopic']->value->getRating() < 0) {
                ?>
																		vote-count-negative
																	<?php 
            }
            ?>
																<?php 
        }
        ?>
																
																<?php 
        if ($_smarty_tpl->tpl_vars['oVote']->value) {
            ?>
 
																	voted
																	
																	<?php 
            if ($_smarty_tpl->tpl_vars['oVote']->value->getDirection() > 0) {
                ?>
																		voted-up
																	<?php 
            } elseif ($_smarty_tpl->tpl_vars['oVote']->value->getDirection() < 0) {
                ?>
																		voted-down
																	<?php 
            }
            ?>
																<?php 
        }
        ?>
">
				<?php 
        if ($_smarty_tpl->tpl_vars['oVote']->value || $_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oTopic']->value->getUserId() == $_smarty_tpl->tpl_vars['oUserCurrent']->value->getId() || strtotime($_smarty_tpl->tpl_vars['oTopic']->value->getDateAdd()) < time() - $_smarty_tpl->tpl_vars['oConfig']->value->GetValue('acl.vote.topic.limit_time')) {
            ?>
					<?php 
            $_smarty_tpl->tpl_vars["bVoteInfoShow"] = new Smarty_variable(true, null, 0);
            ?>
				<?php 
        }
        ?>
				<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
                                        <?php 
            if ($_smarty_tpl->tpl_vars['oUserCurrent']->value->getId() != $_smarty_tpl->tpl_vars['oUser']->value->getId()) {
                ?>

				<div class="vote-up" onclick="return ls.vote.vote(<?php 
                echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
                ?>
,this,1,'topic');"><i class="fa fa-arrow-up"></i></div>
					<?php 
            }
            ?>
				<?php 
        }
        ?>
				<div class="vote-count <?php 
        if ($_smarty_tpl->tpl_vars['bVoteInfoShow']->value) {
            ?>
js-infobox-vote-topic<?php 
        }
        ?>
" id="vote_total_topic_<?php 
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
        ?>
" title="<?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['topic_vote_count'];
        ?>
: <?php 
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getCountVote();
        ?>
">
						<?php 
        if ($_smarty_tpl->tpl_vars['oTopic']->value->getRating() > 0) {
            ?>
+<?php 
        }
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getRating();
        ?>

				</div>
				<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
                                        <?php 
            if ($_smarty_tpl->tpl_vars['oUserCurrent']->value->getId() != $_smarty_tpl->tpl_vars['oUser']->value->getId()) {
                ?>
				<div class="vote-down" onclick="return ls.vote.vote(<?php 
                echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
                ?>
,this,-1,'topic');"><i class="fa fa-arrow-down"></i></div>
					<?php 
            }
            ?>
				<?php 
        }
        ?>
				<?php 
        if ($_smarty_tpl->tpl_vars['bVoteInfoShow']->value) {
            ?>
					<div id="vote-info-topic-<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
            ?>
" style="display: none;">
						+ <?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getCountVoteUp();
            ?>
<br/>
						- <?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getCountVoteDown();
            ?>
<br/>
						&nbsp; <?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getCountVoteAbstain();
            ?>
<br/>
						<?php 
            echo smarty_function_hook(array('run' => 'topic_show_vote_stats', 'topic' => $_smarty_tpl->tpl_vars['oTopic']->value), $_smarty_tpl);
            ?>

					</div>
				<?php 
        }
        ?>
			</div>
			<img width=15 src="<?php 
        echo $_smarty_tpl->tpl_vars['oUser']->value->getProfileAvatarPath(24);
        ?>
"><strong><a style="padding-left: 5px;" rel="author" href="<?php 
        echo $_smarty_tpl->tpl_vars['oUser']->value->getUserWebPath();
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['oUser']->value->getLogin();
        ?>
</a></strong> в <a href="<?php 
        echo $_smarty_tpl->tpl_vars['oBlog']->value->getUrlFull();
        ?>
" class="topic-blog"><?php 
        echo htmlspecialchars($_smarty_tpl->tpl_vars['oBlog']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
        ?>
</a>
			
			<time datetime="<?php 
        echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oTopic']->value->getDateAdd(), 'format' => 'c'), $_smarty_tpl);
        ?>
" title="<?php 
        echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oTopic']->value->getDateAdd(), 'format' => 'j F Y, H:i'), $_smarty_tpl);
        ?>
">
				<?php 
        echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oTopic']->value->getDateAdd(), 'format' => "j F Y, H:i"), $_smarty_tpl);
        ?>

			</time>
			
			<ul class="actions">								   
				<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value && ($_smarty_tpl->tpl_vars['oUserCurrent']->value->isGlobalModerator() && $_smarty_tpl->tpl_vars['oTopic']->value->getBlog()->getType() == "open" || $_smarty_tpl->tpl_vars['oUserCurrent']->value->getId() == $_smarty_tpl->tpl_vars['oTopic']->value->getUserId() || $_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator() || $_smarty_tpl->tpl_vars['oBlog']->value->getUserIsAdministrator() || $_smarty_tpl->tpl_vars['oBlog']->value->getUserIsModerator() || $_smarty_tpl->tpl_vars['oBlog']->value->getOwnerId() == $_smarty_tpl->tpl_vars['oUserCurrent']->value->getId())) {
            ?>
					<li><a href="<?php 
            echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getType();
            ?>
/edit/<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
            ?>
/" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['topic_edit'];
            ?>
" class="actions-edit"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['topic_edit'];
            ?>
</a></li>
				<?php 
        }
        ?>
				
				<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value && ($_smarty_tpl->tpl_vars['oUserCurrent']->value->isGlobalModerator() && $_smarty_tpl->tpl_vars['oTopic']->value->getBlog()->getType() == "open" || $_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator() || $_smarty_tpl->tpl_vars['oBlog']->value->getUserIsAdministrator() || $_smarty_tpl->tpl_vars['oBlog']->value->getUserIsModerator() || $_smarty_tpl->tpl_vars['oTopic']->value->getUserId() === $_smarty_tpl->tpl_vars['oUserCurrent']->value->getId() || $_smarty_tpl->tpl_vars['oBlog']->value->getOwnerId() == $_smarty_tpl->tpl_vars['oUserCurrent']->value->getId())) {
            ?>
					<li><a href="<?php 
            echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl);
            ?>
delete/<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
            ?>
/?security_ls_key=<?php 
            echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value;
            ?>
" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['topic_delete'];
            ?>
" onclick="return confirm('<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['topic_delete_confirm'];
            ?>
');" class="actions-delete"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['topic_delete'];
            ?>
</a></li>
				<?php 
        }
        ?>
			</ul>
		</div>
		<div class="voters">
<?php 
        $_smarty_tpl->tpl_vars['vote'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['vote']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['aVotes']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['vote']->key => $_smarty_tpl->tpl_vars['vote']->value) {
            $_smarty_tpl->tpl_vars['vote']->_loop = true;
            ?>
<span style="color:<?php 
            if ($_smarty_tpl->tpl_vars['vote']->value == 1) {
                ?>
green<?php 
            } elseif ($_smarty_tpl->tpl_vars['vote']->value == 0) {
                ?>
gray<?php 
            } elseif ($_smarty_tpl->tpl_vars['vote']->value == -1) {
                ?>
red<?php 
            }
            ?>
 ;"><?php 
            echo $_smarty_tpl->tpl_vars['vote']->key;
            ?>
</span> <?php 
        }
        ?>
</div>
	</header>
<?php 
    }
    function content_5577f8e6325fc4_97292412($_smarty_tpl)
    {
        if (!is_callable('smarty_function_router')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php';
        }
        if (!is_callable('smarty_function_hook')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php';
        }
        if (!is_callable('smarty_block_hookb')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/block.hookb.php';
        }
        if (!is_callable('smarty_function_cfg')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
        }
        if (!$_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
	<div class="modal modal-login" id="window_login_form">
		<header class="modal-header">
			<a href="#" class="close jqmClose"></a>
		</header>
		
		
		<script type="text/javascript">
			jQuery(function($){
				$('#popup-login-form').bind('submit',function(){
					ls.user.login('popup-login-form');
					return false;
				});
				$('#popup-login-form-submit').attr('disabled',false);
			});
		</script>
		
		<div class="modal-content">
			<ul class="nav nav-pills nav-pills-tabs">
				<li class="active js-block-popup-login-item" data-type="login"><a href="#"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_login_submit'];
            ?>
</a></li>
				<?php 
            if (!$_smarty_tpl->tpl_vars['oConfig']->value->GetValue('general.reg.invite')) {
                ?>
					<li class="js-block-popup-login-item" data-type="registration"><a href="#"><?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['registration'];
                ?>
</a></li>
				<?php 
            } else {
                ?>
					<li><a href="<?php 
                echo smarty_function_router(array('page' => 'registration'), $_smarty_tpl);
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['registration'];
                ?>
</a></li>
				<?php 
            }
            ?>
				<li class="js-block-popup-login-item" data-type="reminder"><a href="#"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['password_reminder'];
            ?>
</a></li>
			</ul>
			
			
			<div class="tab-content js-block-popup-login-content" data-type="login">
				<?php 
            echo smarty_function_hook(array('run' => 'login_popup_begin'), $_smarty_tpl);
            ?>

				<form action="<?php 
            echo smarty_function_router(array('page' => 'login'), $_smarty_tpl);
            ?>
" method="post" id="popup-login-form">
					<?php 
            echo smarty_function_hook(array('run' => 'form_login_popup_begin'), $_smarty_tpl);
            ?>


					<p><input type="text" name="login" id="popup-login" placeholder="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_login'];
            ?>
" class="input-text input-width-full"></p>
					
					<p><input type="password" name="password" id="popup-password" placeholder="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_password'];
            ?>
" class="input-text input-width-300" style="width: 322px">
					<button type="submit"  name="submit_login" class="button button-primary" id="popup-login-form-submit" disabled="disabled"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_login_submit'];
            ?>
</button></p>
					
					<label class="remember-label"><input type="checkbox" name="remember" class="input-checkbox" checked /> <?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_login_remember'];
            ?>
</label>

					<small class="validate-error-hide validate-error-login"></small>
					<?php 
            echo smarty_function_hook(array('run' => 'form_login_popup_end'), $_smarty_tpl);
            ?>


					<input type="hidden" name="return-path" value="<?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['PATH_WEB_CURRENT']->value, ENT_QUOTES, 'UTF-8', true);
            ?>
">
				</form>
				<?php 
            echo smarty_function_hook(array('run' => 'login_popup_end'), $_smarty_tpl);
            ?>

			</div>


			<?php 
            if (!$_smarty_tpl->tpl_vars['oConfig']->value->GetValue('general.reg.invite')) {
                ?>
			<div data-type="registration" class="tab-content js-block-popup-login-content" style="display:none;">
				<script type="text/javascript">
					jQuery(document).ready(function($){
						$('#popup-registration-form').find('input.js-ajax-validate').blur(function(e){
							var aParams={ };
							if ($(e.target).attr('name')=='password_confirm') {
								aParams['password']=$('#popup-registration-user-password').val();
							}
							if ($(e.target).attr('name')=='password') {
								aParams['password']=$('#popup-registration-user-password').val();
								if ($('#popup-registration-user-password-confirm').val()) {
									ls.user.validateRegistrationField('password_confirm',$('#popup-registration-user-password-confirm').val(),$('#popup-registration-form'),{ 'password': $(e.target).val() });
								}
							}
							ls.user.validateRegistrationField($(e.target).attr('name'),$(e.target).val(),$('#popup-registration-form'),aParams);
						});
						$('#popup-registration-form').bind('submit',function(){
							ls.user.registration('popup-registration-form');
							return false;
						});
						$('#popup-registration-form-submit').attr('disabled',false);
					});
				</script>

				<?php 
                echo smarty_function_hook(array('run' => 'registration_begin', 'isPopup' => true), $_smarty_tpl);
                ?>

				<form action="<?php 
                echo smarty_function_router(array('page' => 'registration'), $_smarty_tpl);
                ?>
" method="post" id="popup-registration-form">
					<?php 
                echo smarty_function_hook(array('run' => 'form_registration_begin', 'isPopup' => true), $_smarty_tpl);
                ?>


					<p>
					<input type="text" name="login" placeholder="<?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['registration_login'];
                ?>
" id="popup-registration-login" value="<?php 
                echo $_smarty_tpl->tpl_vars['_aRequest']->value['login'];
                ?>
" class="input-text input-width-300 js-ajax-validate" />
					<i class="icon-question-sign js-tip-help" title="<?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['registration_login_notice'];
                ?>
"></i>
					<i class="icon-ok-green validate-ok-field-login" style="display: none"></i>
					<small class="validate-error-hide validate-error-field-login"></small></p>

					<p>
					<input type="text" name="mail" placeholder="<?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['registration_mail'];
                ?>
" id="popup-registration-mail" value="<?php 
                echo $_smarty_tpl->tpl_vars['_aRequest']->value['mail'];
                ?>
" class="input-text input-width-300 js-ajax-validate" />
					<i class="icon-question-sign js-tip-help" title="<?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['registration_mail_notice'];
                ?>
"></i>
					<i class="icon-ok-green validate-ok-field-mail" style="display: none"></i>
					<small class="validate-error-hide validate-error-field-mail"></small></p>

					<p>
					<input type="password" name="password" placeholder="<?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['registration_password'];
                ?>
" id="popup-registration-user-password" value="" class="input-text input-width-300 js-ajax-validate" />
					<i class="icon-question-sign js-tip-help" title="<?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['registration_password_notice'];
                ?>
"></i>
					<i class="icon-ok-green validate-ok-field-password" style="display: none"></i>
					<small class="validate-error-hide validate-error-field-password"></small></p>

					<p>
					<input type="password" name="password_confirm" placeholder="<?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['registration_password_retry'];
                ?>
" id="popup-registration-user-password-confirm" value="" class="input-text input-width-300 js-ajax-validate" />
					<i class="icon-ok-green validate-ok-field-password_confirm" style="display: none"></i>
					<small class="validate-error-hide validate-error-field-password_confirm"></small></p>

					<?php 
                $_smarty_tpl->smarty->_tag_stack[] = array('hookb', array('run' => "popup_registration_captcha"));
                $_block_repeat = true;
                echo smarty_block_hookb(array('run' => "popup_registration_captcha"), null, $_smarty_tpl, $_block_repeat);
                while ($_block_repeat) {
                    ob_start();
                    ?>

					<p><label for="popup-registration-captcha"><?php 
                    echo $_smarty_tpl->tpl_vars['aLang']->value['registration_captcha'];
                    ?>
</label>
					<img src="<?php 
                    echo smarty_function_cfg(array('name' => 'path.root.engine_lib'), $_smarty_tpl);
                    ?>
/external/kcaptcha/index.php?<?php 
                    echo $_smarty_tpl->tpl_vars['_sPhpSessionName']->value;
                    ?>
=<?php 
                    echo $_smarty_tpl->tpl_vars['_sPhpSessionId']->value;
                    ?>
" 
						 onclick="this.src='<?php 
                    echo smarty_function_cfg(array('name' => 'path.root.engine_lib'), $_smarty_tpl);
                    ?>
/external/kcaptcha/index.php?<?php 
                    echo $_smarty_tpl->tpl_vars['_sPhpSessionName']->value;
                    ?>
=<?php 
                    echo $_smarty_tpl->tpl_vars['_sPhpSessionId']->value;
                    ?>
&n='+Math.random();"
						 class="captcha-image" />
					<input type="text" name="captcha" id="popup-registration-captcha" value="" maxlength="3" class="input-text input-width-100 js-ajax-validate" />
					<small class="validate-error-hide validate-error-field-captcha"></small></p>
					<?php 
                    $_block_content = ob_get_clean();
                    $_block_repeat = false;
                    echo smarty_block_hookb(array('run' => "popup_registration_captcha"), $_block_content, $_smarty_tpl, $_block_repeat);
                }
                array_pop($_smarty_tpl->smarty->_tag_stack);
                ?>


					<?php 
                echo smarty_function_hook(array('run' => 'form_registration_end', 'isPopup' => true), $_smarty_tpl);
                ?>


					<input type="hidden" name="return-path" value="<?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['PATH_WEB_CURRENT']->value, ENT_QUOTES, 'UTF-8', true);
                ?>
">
					<button type="submit"  name="submit_register" class="button button-primary" id="popup-registration-form-submit" disabled="disabled"><?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['registration_submit'];
                ?>
</button>
				</form>
				<?php 
                echo smarty_function_hook(array('run' => 'registration_end', 'isPopup' => true), $_smarty_tpl);
                ?>

			</div>
			<?php 
            }
            ?>
			
			
			<div data-type="reminder" class="tab-content js-block-popup-login-content" style="display:none;">
				<script type="text/javascript">
					jQuery(document).ready(function($){
						$('#popup-reminder-form').bind('submit',function(){
							ls.user.reminder('popup-reminder-form');
							return false;
						});
						$('#popup-reminder-form-submit').attr('disabled',false);
					});
				</script>
				<form action="<?php 
            echo smarty_function_router(array('page' => 'login'), $_smarty_tpl);
            ?>
reminder/" method="POST" id="popup-reminder-form">
					<p>
					<input type="text" name="mail" placeholder="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['password_reminder_email'];
            ?>
" id="popup-reminder-mail" class="input-text input-width-300" />
					<small class="validate-error-hide validate-error-reminder"></small></p>

					<button type="submit" name="submit_reminder" class="button button-primary" id="popup-reminder-form-submit" disabled="disabled"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['password_reminder_submit'];
            ?>
</button>
				</form>
			</div>
		</div>
	</div>
<?php 
        }
    }
    function content_55ae4a6d678ca6_56819141($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cfg')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
        }
        if (!is_callable('smarty_function_date_format')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.date_format.php';
        }
        if (!is_callable('smarty_modifier_replace')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/lib/external/Smarty/libs/plugins/modifier.replace.php';
        }
        echo '<?xml';
        ?>
 version="1.0" encoding="UTF-8"<?php 
        echo '?>';
        ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
	<title><?php 
        echo $_smarty_tpl->tpl_vars['aChannel']->value['title'];
        ?>
</title>
	<link><?php 
        echo $_smarty_tpl->tpl_vars['aChannel']->value['link'];
        ?>
</link>
	<atom:link href="<?php 
        echo $_smarty_tpl->tpl_vars['PATH_WEB_CURRENT']->value;
        ?>
/" rel="self" type="application/rss+xml" />
	<description><![CDATA[<?php 
        echo $_smarty_tpl->tpl_vars['aChannel']->value['description'];
        ?>
]]></description>
	<language><?php 
        echo $_smarty_tpl->tpl_vars['aChannel']->value['language'];
        ?>
</language>
	<managingEditor><?php 
        echo $_smarty_tpl->tpl_vars['aChannel']->value['managingEditor'];
        ?>
 (<?php 
        echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
        ?>
)</managingEditor>
	<webMaster><?php 
        echo $_smarty_tpl->tpl_vars['aChannel']->value['managingEditor'];
        ?>
 (<?php 
        echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
        ?>
)</webMaster>
	<copyright><?php 
        echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
        ?>
</copyright>
	<generator><?php 
        echo $_smarty_tpl->tpl_vars['aChannel']->value['generator'];
        ?>
</generator>
<?php 
        $_smarty_tpl->tpl_vars['oItem'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['oItem']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['aItems']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['oItem']->key => $_smarty_tpl->tpl_vars['oItem']->value) {
            $_smarty_tpl->tpl_vars['oItem']->_loop = true;
            ?>
		<item>
			<title><?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['oItem']->value['title'], ENT_QUOTES, 'UTF-8', true);
            ?>
</title>
			<guid isPermaLink="true"><?php 
            echo $_smarty_tpl->tpl_vars['oItem']->value['guid'];
            ?>
</guid>
			<link><?php 
            echo $_smarty_tpl->tpl_vars['oItem']->value['link'];
            ?>
</link>
			<dc:creator><?php 
            echo $_smarty_tpl->tpl_vars['oItem']->value['author'];
            ?>
</dc:creator>
			<description><![CDATA[<?php 
            echo $_smarty_tpl->tpl_vars['oItem']->value['description'];
            ?>
]]></description>
			<pubDate><?php 
            echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oItem']->value['pubDate'], 'format' => "r"), $_smarty_tpl);
            ?>
</pubDate>			
			<category><?php 
            echo smarty_modifier_replace($_smarty_tpl->tpl_vars['oItem']->value['category'], ',', '</category>
			<category>');
            ?>
</category>
		</item>
<?php 
        }
        ?>
</channel>
</rss>
<?php 
    }
    function content_5684d70d4878c8_29189474($_smarty_tpl)
    {
        if (!is_callable('smarty_function_router')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.router.php';
        }
        if (!is_callable('smarty_function_hook')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php';
        }
        if (!is_callable('smarty_block_hookb')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/block.hookb.php';
        }
        if (!is_callable('smarty_function_date_format')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.date_format.php';
        }
        if (!is_callable('smarty_function_cfg')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php';
        }
        ?>
	<?php 
        $_smarty_tpl->tpl_vars["oBlog"] = new Smarty_variable($_smarty_tpl->tpl_vars['oTopic']->value->getBlog(), null, 0);
        ?>
	<?php 
        $_smarty_tpl->tpl_vars["oUser"] = new Smarty_variable($_smarty_tpl->tpl_vars['oTopic']->value->getUser(), null, 0);
        ?>
	<?php 
        $_smarty_tpl->tpl_vars["oVote"] = new Smarty_variable($_smarty_tpl->tpl_vars['oTopic']->value->getVote(), null, 0);
        ?>
	<?php 
        $_smarty_tpl->tpl_vars["oFavourite"] = new Smarty_variable($_smarty_tpl->tpl_vars['oTopic']->value->getFavourite(), null, 0);
        ?>

	<?php 
        if ($_smarty_tpl->tpl_vars['oVote']->value || $_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oTopic']->value->getUserId() == $_smarty_tpl->tpl_vars['oUserCurrent']->value->getId() || strtotime($_smarty_tpl->tpl_vars['oTopic']->value->getDateAdd()) < time() - $_smarty_tpl->tpl_vars['oConfig']->value->GetValue('acl.vote.topic.limit_time')) {
            ?>
		<?php 
            $_smarty_tpl->tpl_vars["bVoteInfoShow"] = new Smarty_variable(true, null, 0);
            ?>
	<?php 
        }
        ?>

	<footer class="topic-footer">
		<?php 
        if ($_smarty_tpl->tpl_vars['oTopic']->value->getType() == 'link') {
            ?>
			<div class="topic-url">
				<a href="<?php 
            echo smarty_function_router(array('page' => 'link'), $_smarty_tpl);
            ?>
go/<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
            ?>
/" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['topic_link_count_jump'];
            ?>
: <?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getLinkCountJump();
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getLinkUrl();
            ?>
</a>
			</div>
		<?php 
        }
        ?>
	
		<?php 
        if (!$_smarty_tpl->tpl_vars['bTopicList']->value) {
            ?>
			<ul class="topic-tags js-favourite-insert-after-form js-favourite-tags-topic-<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
            ?>
">
				<li><strong><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['topic_tags'];
            ?>
:</strong></li>
				
				<?php 
            if ($_smarty_tpl->tpl_vars['oTopic']->value->getTagsArray()) {
                $_smarty_tpl->tpl_vars['sTag'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['sTag']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['oTopic']->value->getTagsArray();
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                $_smarty_tpl->tpl_vars['sTag']->index = -1;
                foreach ($_from as $_smarty_tpl->tpl_vars['sTag']->key => $_smarty_tpl->tpl_vars['sTag']->value) {
                    $_smarty_tpl->tpl_vars['sTag']->_loop = true;
                    $_smarty_tpl->tpl_vars['sTag']->index++;
                    $_smarty_tpl->tpl_vars['sTag']->first = $_smarty_tpl->tpl_vars['sTag']->index === 0;
                    $_smarty_tpl->tpl_vars['smarty']->value['foreach']['tags_list']['first'] = $_smarty_tpl->tpl_vars['sTag']->first;
                    ?>
<li><?php 
                    if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['tags_list']['first']) {
                        ?>
, <?php 
                    }
                    ?>
<a rel="tag" href="<?php 
                    echo smarty_function_router(array('page' => 'tag'), $_smarty_tpl);
                    echo rawurlencode($_smarty_tpl->tpl_vars['sTag']->value);
                    ?>
/"><?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['sTag']->value, ENT_QUOTES, 'UTF-8', true);
                    ?>
</a></li><?php 
                }
            } else {
                ?>
<li><?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['topic_tags_empty'];
                ?>
</li><?php 
            }
            if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
                if ($_smarty_tpl->tpl_vars['oFavourite']->value) {
                    $_smarty_tpl->tpl_vars['sTag'] = new Smarty_Variable();
                    $_smarty_tpl->tpl_vars['sTag']->_loop = false;
                    $_from = $_smarty_tpl->tpl_vars['oFavourite']->value->getTagsArray();
                    if (!is_array($_from) && !is_object($_from)) {
                        settype($_from, 'array');
                    }
                    foreach ($_from as $_smarty_tpl->tpl_vars['sTag']->key => $_smarty_tpl->tpl_vars['sTag']->value) {
                        $_smarty_tpl->tpl_vars['sTag']->_loop = true;
                        ?>
<li class="topic-tags-user js-favourite-tag-user">, <a rel="tag" href="<?php 
                        echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath();
                        ?>
favourites/topics/tag/<?php 
                        echo rawurlencode($_smarty_tpl->tpl_vars['sTag']->value);
                        ?>
/"><?php 
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['sTag']->value, ENT_QUOTES, 'UTF-8', true);
                        ?>
</a></li><?php 
                    }
                }
                ?>
<li class="topic-tags-edit js-favourite-tag-edit" <?php 
                if (!$_smarty_tpl->tpl_vars['oFavourite']->value) {
                    ?>
style="display:none;"<?php 
                }
                ?>
><a href="#" onclick="return ls.favourite.showEditTags(<?php 
                echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
                ?>
,'topic',this);" class="link-dotted"><?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['favourite_form_tags_button_show'];
                ?>
</a></li><?php 
            }
            ?>
			</ul>
		<?php 
        }
        ?>


		<ul class="topic-info clearfix">
			<?php 
        if (!$_smarty_tpl->tpl_vars['bTopicList']->value) {
            ?>
				<li class="topic-info-vote">
					<div class="vote-result
								<?php 
            if ($_smarty_tpl->tpl_vars['oVote']->value || $_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oTopic']->value->getUserId() == $_smarty_tpl->tpl_vars['oUserCurrent']->value->getId() || strtotime($_smarty_tpl->tpl_vars['oTopic']->value->getDateAdd()) < time() - $_smarty_tpl->tpl_vars['oConfig']->value->GetValue('acl.vote.topic.limit_time')) {
                ?>
									<?php 
                if ($_smarty_tpl->tpl_vars['oTopic']->value->getRating() > 0) {
                    ?>
										vote-count-positive
									<?php 
                } elseif ($_smarty_tpl->tpl_vars['oTopic']->value->getRating() < 0) {
                    ?>
										vote-count-negative
									<?php 
                } elseif ($_smarty_tpl->tpl_vars['oTopic']->value->getRating() == 0) {
                    ?>
										vote-count-zero
									<?php 
                }
                ?>
								<?php 
            }
            ?>
								
								<?php 
            if ($_smarty_tpl->tpl_vars['oVote']->value) {
                ?>
 
									voted
																			
									<?php 
                if ($_smarty_tpl->tpl_vars['oVote']->value->getDirection() > 0) {
                    ?>
										voted-up
									<?php 
                } elseif ($_smarty_tpl->tpl_vars['oVote']->value->getDirection() < 0) {
                    ?>
										voted-down
									<?php 
                } elseif ($_smarty_tpl->tpl_vars['oVote']->value->getDirection() == 0) {
                    ?>
										voted-zero
									<?php 
                }
                ?>
								<?php 
            }
            ?>
				
								<?php 
            if (strtotime($_smarty_tpl->tpl_vars['oTopic']->value->getDateAdd()) < time() - $_smarty_tpl->tpl_vars['oConfig']->value->GetValue('acl.vote.topic.limit_time') && !$_smarty_tpl->tpl_vars['oVote']->value || $_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oTopic']->value->getUserId() == $_smarty_tpl->tpl_vars['oUserCurrent']->value->getId()) {
                ?>
									vote-nobuttons
								<?php 
            }
            ?>
" 
				
						id="vote_total_topic_<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
            ?>
" 
				
						<?php 
            if (!$_smarty_tpl->tpl_vars['oVote']->value && !$_smarty_tpl->tpl_vars['bVoteInfoShow']->value) {
                ?>
							onclick="ls.tools.slide($('#vote_area_topic_<?php 
                echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
                ?>
'), $(this));"
						<?php 
            }
            ?>
				
						<?php 
            if (false) {
                ?>
							onclick="ls.tools.slide($('#vote-info-topic-<?php 
                echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
                ?>
'), $(this));"
						<?php 
            }
            ?>
>
						<?php 
            if ($_smarty_tpl->tpl_vars['bVoteInfoShow']->value) {
                ?>
							<?php 
                if ($_smarty_tpl->tpl_vars['oTopic']->value->getRating() > 0) {
                    ?>
+<?php 
                }
                echo $_smarty_tpl->tpl_vars['oTopic']->value->getRating();
                ?>

						<?php 
            }
            ?>
					</div>
				</li>
			<?php 
        }
        ?>
			
			<li class="topic-info-views">
				<i class="icon-views"></i> <?php 
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getCountRead();
        ?>

			</li>

			<li class="topic-info-favourite <?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oTopic']->value->getIsFavourite()) {
            ?>
active<?php 
        }
        ?>
" onclick="return ls.favourite.toggle(<?php 
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
        ?>
,'#fav_topic_<?php 
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
        ?>
','topic');">
				<i id="fav_topic_<?php 
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
        ?>
" class="favourite icon-favourite <?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oTopic']->value->getIsFavourite()) {
            ?>
active<?php 
        }
        ?>
"></i>
				<span class="favourite-count" id="fav_count_topic_<?php 
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
        ?>
"><?php 
        if ($_smarty_tpl->tpl_vars['oTopic']->value->getCountFavourite() > 0) {
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getCountFavourite();
        }
        ?>
</span>
			</li>
			
			<?php 
        if ($_smarty_tpl->tpl_vars['bTopicList']->value) {
            ?>
				<li class="topic-info-comments">
					<a href="<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getUrl();
            ?>
#comments" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['topic_comment_read'];
            ?>
">
						<i class="icon-comments <?php 
            if ($_smarty_tpl->tpl_vars['oTopic']->value->getCountComment() != 0 && ($_smarty_tpl->tpl_vars['oTopic']->value->getCountComment() == $_smarty_tpl->tpl_vars['oTopic']->value->getCountCommentNew() || $_smarty_tpl->tpl_vars['oTopic']->value->getCountCommentNew())) {
                ?>
active<?php 
            }
            ?>
"></i>
						<span class="comments-count">
							<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getCountComment();
            ?>

							<?php 
            if ($_smarty_tpl->tpl_vars['oTopic']->value->getCountCommentNew()) {
                ?>
<span class="comments-new">+<?php 
                echo $_smarty_tpl->tpl_vars['oTopic']->value->getCountCommentNew();
                ?>
</span><?php 
            }
            ?>
						</span>
					</a> 
				</li>
			<?php 
        }
        ?>

			<li class="topic-info-share" onclick="ls.tools.slide($('#topic_share_<?php 
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
        ?>
'), $(this));">
				<i class="icon-share"></i>
			</li>
		</ul>

		<?php 
        if ($_smarty_tpl->tpl_vars['bVoteInfoShow']->value) {
            ?>
			<div id="vote-info-topic-<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
            ?>
" class="slide slide-bg-grey">
				+ <?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getCountVoteUp();
            ?>
<br/>
				- <?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getCountVoteDown();
            ?>
<br/>
				&nbsp; <?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getCountVoteAbstain();
            ?>
<br/>
				<?php 
            echo smarty_function_hook(array('run' => 'topic_show_vote_stats', 'topic' => $_smarty_tpl->tpl_vars['oTopic']->value), $_smarty_tpl);
            ?>

			</div>
		<?php 
        }
        ?>
		
		<div class="slide slide-topic-info-extra" id="topic_share_<?php 
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
        ?>
">
			<?php 
        $_smarty_tpl->smarty->_tag_stack[] = array('hookb', array('run' => "topic_share", 'topic' => $_smarty_tpl->tpl_vars['oTopic']->value, 'bTopicList' => $_smarty_tpl->tpl_vars['bTopicList']->value));
        $_block_repeat = true;
        echo smarty_block_hookb(array('run' => "topic_share", 'topic' => $_smarty_tpl->tpl_vars['oTopic']->value, 'bTopicList' => $_smarty_tpl->tpl_vars['bTopicList']->value), null, $_smarty_tpl, $_block_repeat);
        while ($_block_repeat) {
            ob_start();
            ?>

				<div class="yashare-auto-init" data-yashareTitle="<?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['oTopic']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
            ?>
" data-yashareLink="<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getUrl();
            ?>
" data-yashareL10n="ru" data-yashareType="button" data-yashareQuickServices="yaru,vkontakte,facebook,twitter,odnoklassniki,moimir,lj,gplus"></div>
			<?php 
            $_block_content = ob_get_clean();
            $_block_repeat = false;
            echo smarty_block_hookb(array('run' => "topic_share", 'topic' => $_smarty_tpl->tpl_vars['oTopic']->value, 'bTopicList' => $_smarty_tpl->tpl_vars['bTopicList']->value), $_block_content, $_smarty_tpl, $_block_repeat);
        }
        array_pop($_smarty_tpl->smarty->_tag_stack);
        ?>

		</div>


		<div id="vote_area_topic_<?php 
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
        ?>
" class="vote">
			<div class="vote-item vote-up" onclick="return ls.vote.vote(<?php 
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
        ?>
,this,1,'topic');"><i></i></div>
			<?php 
        if (!$_smarty_tpl->tpl_vars['bVoteInfoShow']->value) {
            ?>
				<div class="vote-item vote-zero" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['topic_vote_count'];
            ?>
: <?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getCountVote();
            ?>
" onclick="return ls.vote.vote(<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
            ?>
,this,0,'topic');">
					<i></i> Воздержаться
				</div>
			<?php 
        }
        ?>
			<div class="vote-item vote-down" onclick="return ls.vote.vote(<?php 
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
        ?>
,this,-1,'topic');"><i></i></div>
		</div>



		<ul class="topic-info-extra clearfix">
			<li class="topic-info-author">
				<a href="<?php 
        echo $_smarty_tpl->tpl_vars['oUser']->value->getUserWebPath();
        ?>
"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['oUser']->value->getProfileAvatarPath(48);
        ?>
" alt="avatar" /></a>
				<p><a rel="author" href="<?php 
        echo $_smarty_tpl->tpl_vars['oUser']->value->getUserWebPath();
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['oUser']->value->getLogin();
        ?>
</a></p>
				<time datetime="<?php 
        echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oTopic']->value->getDateAdd(), 'format' => 'c'), $_smarty_tpl);
        ?>
" title="<?php 
        echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oTopic']->value->getDateAdd(), 'format' => 'j F Y, H:i'), $_smarty_tpl);
        ?>
">
					<?php 
        echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oTopic']->value->getDateAdd(), 'format' => "j F Y, H:i"), $_smarty_tpl);
        ?>

				</time>
			</li>

			<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
				<li class="topic-info-extra-trigger" onclick="ls.tools.slide($('#topic-extra-target-<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
            ?>
'), $(this));">
					<i class="icon-topic-menu"></i>
				</li>
			<?php 
        }
        ?>
			
			<?php 
        echo smarty_function_hook(array('run' => 'topic_show_info', 'topic' => $_smarty_tpl->tpl_vars['oTopic']->value), $_smarty_tpl);
        ?>

		</ul>


		<ul class="slide slide-topic-info-extra" id="topic-extra-target-<?php 
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
        ?>
">
			<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
				<li><a href="<?php 
            echo smarty_function_router(array('page' => 'talk'), $_smarty_tpl);
            ?>
add/?talk_users=<?php 
            echo $_smarty_tpl->tpl_vars['oUser']->value->getLogin();
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['send_message_to_author'];
            ?>
</a></li>
			<?php 
        }
        ?>

			<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value && ($_smarty_tpl->tpl_vars['oUserCurrent']->value->getId() == $_smarty_tpl->tpl_vars['oTopic']->value->getUserId() || $_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator() || $_smarty_tpl->tpl_vars['oBlog']->value->getUserIsAdministrator() || $_smarty_tpl->tpl_vars['oBlog']->value->getUserIsModerator() || $_smarty_tpl->tpl_vars['oBlog']->value->getOwnerId() == $_smarty_tpl->tpl_vars['oUserCurrent']->value->getId())) {
            ?>
				<li><a href="<?php 
            echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
            ?>
/<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getType();
            ?>
/edit/<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
            ?>
/" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['topic_edit'];
            ?>
" class="actions-edit"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['topic_edit'];
            ?>
</a></li>
			<?php 
        }
        ?>
			
			<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value && ($_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator() || $_smarty_tpl->tpl_vars['oBlog']->value->getUserIsAdministrator() || $_smarty_tpl->tpl_vars['oBlog']->value->getOwnerId() == $_smarty_tpl->tpl_vars['oUserCurrent']->value->getId())) {
            ?>
				<li><a href="<?php 
            echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl);
            ?>
delete/<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getId();
            ?>
/?security_ls_key=<?php 
            echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value;
            ?>
" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['topic_delete'];
            ?>
" onclick="return confirm('<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['topic_delete_confirm'];
            ?>
');" class="actions-delete"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['topic_delete'];
            ?>
</a></li>
			<?php 
        }
        ?>
		</ul>

		
		<?php 
        if (!$_smarty_tpl->tpl_vars['bTopicList']->value) {
            ?>
			<?php 
            echo smarty_function_hook(array('run' => 'topic_show_end', 'topic' => $_smarty_tpl->tpl_vars['oTopic']->value), $_smarty_tpl);
            ?>

		<?php 
        }
        ?>
	</footer>
</article> <!-- /.topic --><?php 
    }
    function content_568a8b564efc03_57267168($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cfg')) {
            include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.cfg.php';
        }
        if (!is_callable('smarty_function_router')) {
            include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.router.php';
        }
        if (!is_callable('smarty_modifier_ls_lang')) {
            include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\modifier.ls_lang.php';
        }
        $_smarty_tpl->tpl_vars["noSidebar"] = new Smarty_variable(true, null, 0);
        echo $_smarty_tpl->getSubTemplate('header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('menu' => 'receptiondesk'), 0);
        ?>


<h2 class="page-header"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_receptiondesk'];
        ?>
</h2>

<div class="modal modal-receptiondesk-category" id="window_receptiondesk_question">

	<header class="modal-header">
		<h3><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_title'];
        ?>
</h3>
		<a href="#" class="close jqmClose"></a>
	</header>

	<div class="modal-content">
		<form method="POST" enctype="multipart/form-data" id="form_receptiondesk_question" onsubmit="return false;" >

		<?php 
        if ($_smarty_tpl->tpl_vars['bPopup']->value) {
            ?>
			<input type="hidden" name="question_popup" id="question_popup" value="popup" />
		<?php 
        }
        ?>

			<p><small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_title'];
        ?>
</small></p>

			<p><select name="question_category_id" id="receptiondesk_question_category_id" class="input-width-full js-ajax-validate">
				<option value="0"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_category_select'];
        ?>
</option>
			<?php 
        $_smarty_tpl->tpl_vars['oCategory'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['oCategory']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['aCategories']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['oCategory']->key => $_smarty_tpl->tpl_vars['oCategory']->value) {
            $_smarty_tpl->tpl_vars['oCategory']->_loop = true;
            ?>
				<option value="<?php 
            echo $_smarty_tpl->tpl_vars['oCategory']->value->getId();
            ?>
"><?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['oCategory']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
            ?>
</option>
			<?php 
        }
        ?>
			</select>
			<small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_category_notice'];
        ?>
</small>
			<small class="validate-error-hide validate-error-field-question_category_id"></small></p>

			<p><textarea name="question_text" id="receptiondesk_question_text" placeholder="<?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_text_title'];
        ?>
" class="input-text input-width-full js-ajax-validate" rows="10"></textarea>
			<small class="note fl-r"><input type="checkbox" id="receptiondesk_question_text_hide" name="question_text_hide" class="input-checkbox" value="1" /><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_text_hide_title'];
        ?>
</small>
			<small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_text_notice'];
        ?>
</small>
			<small class="validate-error-hide validate-error-field-question_text"></small></p>

			<p><input type="text" name="question_author_mail" id="receptiondesk_question_author_mail" placeholder="<?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_mail_title'];
        ?>
" class="input-text input-width-full js-ajax-validate">
			<small class="note fl-r"><input type="checkbox" id="receptiondesk_question_author_mail_hide" name="question_author_mail_hide" class="input-checkbox" value="1" /><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_mail_hide_title'];
        ?>
</small>
			<small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_mail_notice'];
        ?>
</small>
			<small class="validate-error-hide validate-error-field-question_author_mail"></small></p>

			<p><small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_notice'];
        ?>
</small></p>

			<p><input type="text" name="question_author_name" id="receptiondesk_question_author_name" placeholder="<?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_name_title'];
        ?>
" class="input-text input-width-full">
			<small class="note fl-r"><input type="checkbox" id="receptiondesk_question_author_name_hide" name="question_author_name_hide" class="input-checkbox" value="1" /><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_name_hide_title'];
        ?>
</small>
			<small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_name_notice'];
        ?>
</small>
			<small class="validate-error-hide validate-error-field-question_author_name"></small></p>

			<p><input type="text" name="question_author_address" id="receptiondesk_question_author_address" placeholder="<?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_address_title'];
        ?>
" class="input-text input-width-full">
			<small class="note fl-r"><input type="checkbox" id="receptiondesk_question_author_address_hide" name="question_author_address_hide" class="input-checkbox" value="1" /><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_address_hide_title'];
        ?>
</small>
			<small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_address_notice'];
        ?>
</small>
			<small class="validate-error-hide validate-error-field-question_author_address"></small></p>

			<p><input type="text" name="question_author_phone" id="receptiondesk_question_author_phone" placeholder="<?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_phone_title'];
        ?>
" class="input-text input-width-full">
			<small class="note fl-r"><input type="checkbox" id="receptiondesk_question_author_phone_hide" name="question_author_phone_hide" class="input-checkbox" value="1" /><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_phone_hide_title'];
        ?>
</small>
			<small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_phone_notice'];
        ?>
</small>
			<small class="validate-error-hide validate-error-field-question_author_phone"></small></p>

			<p><label for="question_captcha"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_captcha_title'];
        ?>
</label>
			<img src="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.engine_lib'), $_smarty_tpl);
        ?>
/external/kcaptcha/index.php?<?php 
        echo $_smarty_tpl->tpl_vars['_sPhpSessionName']->value;
        ?>
=<?php 
        echo $_smarty_tpl->tpl_vars['_sPhpSessionId']->value;
        ?>
" onclick="this.src='<?php 
        echo smarty_function_cfg(array('name' => 'path.root.engine_lib'), $_smarty_tpl);
        ?>
/external/kcaptcha/index.php?<?php 
        echo $_smarty_tpl->tpl_vars['_sPhpSessionName']->value;
        ?>
=<?php 
        echo $_smarty_tpl->tpl_vars['_sPhpSessionId']->value;
        ?>
&n='+Math.random();" class="captcha-image" />
			<input type="text" name="question_captcha" id="question_captcha" value="" maxlength="3" class="input-text input-width-100 js-ajax-validate" />
			<small class="note"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_author_captcha_notice'];
        ?>
</small>
			<small class="validate-error-hide validate-error-field-question_captcha"></small></p>

			<p><a href="<?php 
        echo smarty_function_router(array('page' => 'receptiondesk'), $_smarty_tpl);
        ?>
create/" class="button button-primary fl-r"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_fullform'];
        ?>
</a>
			<button type="submit" class="button button-primary" id="submit_category" onclick="ls.receptiondesk.setQuestion();"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_submit'];
        ?>
</button>
			<button type="submit" class="button jqmClose"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_cancel'];
        ?>
</button></p>

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

<script type="text/javascript" src="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.engine_lib'), $_smarty_tpl);
        ?>
/external/prettyPhoto/js/prettyPhoto.js"></script>	
<link rel='stylesheet' type='text/css' href="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.engine_lib'), $_smarty_tpl);
        ?>
/external/prettyPhoto/css/prettyPhoto.css" />
<script type="text/javascript">
	jQuery(document).ready(function($) {	
		$('.receptiondesk_file_image').prettyPhoto({
			social_tools:'',
			show_title: false,
			slideshow:false,
			deeplinking: false
		});
	});
</script>

<div class="wrapper-content">
	<div class="blog">
		<h3><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_receptiondesk_title'];
        ?>
</h3>
		<p>
			<ul class="system-message-notice receptiondesk-question-notice">
				<li>
					<strong><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_ok_title'];
        ?>
</strong>
					<?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_question_create_ok_notice'];
        ?>

				</li>
			</ul>
		</p>
		<p><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_receptiondesk_text'];
        ?>
</p>
		<p>
			<?php 
        $_smarty_tpl->tpl_vars['oCategory'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['oCategory']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['aCategories']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['oCategory']->key => $_smarty_tpl->tpl_vars['oCategory']->value) {
            $_smarty_tpl->tpl_vars['oCategory']->_loop = true;
            ?>
			 - <?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['oCategory']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
            ?>
<br />
			<?php 
        }
        ?>
		</p>
	</div>
</div>

<br />
<h2 class="page-header"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_answers_list'];
        if ($_smarty_tpl->tpl_vars['oCurrentCategory']->value) {
            ?>
 <?php 
            echo smarty_modifier_ls_lang($_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_answers_list_category'], "CATEGORY%%" . $_smarty_tpl->tpl_vars['oCurrentCategory']->value->getTitle());
        }
        ?>
</h2>

<div class="wrapper-content">
	<p><select name="category_id" id="category_id" class="input-width-full" onChange="ls.receptiondesk.redirectCategory(jQuery(this).val());">
		<option value="0"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_answers_list_category_all'];
        ?>
</option>
	<?php 
        $_smarty_tpl->tpl_vars['oCategory'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['oCategory']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['aCategories']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['oCategory']->key => $_smarty_tpl->tpl_vars['oCategory']->value) {
            $_smarty_tpl->tpl_vars['oCategory']->_loop = true;
            ?>
		<option value="<?php 
            echo $_smarty_tpl->tpl_vars['oCategory']->value->getId();
            ?>
" <?php 
            if ($_smarty_tpl->tpl_vars['oCurrentCategory']->value && $_smarty_tpl->tpl_vars['oCurrentCategory']->value->getId() == $_smarty_tpl->tpl_vars['oCategory']->value->getId()) {
                ?>
selected<?php 
            }
            ?>
><?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['oCategory']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
            ?>
</option>
	<?php 
        }
        ?>
	</select></p>
</div>

<div class="wrapper-content">
	<?php 
        echo $_smarty_tpl->getSubTemplate($_smarty_tpl->tpl_vars['sReceptiondeskTemplatePath']->value . "questions_rows.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

</div>

<?php 
        echo $_smarty_tpl->getSubTemplate('footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_5684d6e4153a72_98738086($_smarty_tpl)
    {
        if (!is_callable('smarty_function_hook')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php';
        }
        if (!is_callable('smarty_function_router')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.router.php';
        }
        if (!is_callable('smarty_function_cfg')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php';
        }
        ?>
			<?php 
        echo smarty_function_hook(array('run' => 'content_end'), $_smarty_tpl);
        ?>

		</div> <!-- /content -->

		
		<footer id="footer">
			<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
				<ul class="footer-profile-links clearfix">
					<li><a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath();
            ?>
"><i class="icon-profile-profile"></i></a></li>
					<li><a href="<?php 
            echo smarty_function_router(array('page' => 'talk'), $_smarty_tpl);
            ?>
"><i class="icon-profile-messages"></i></a></li>
					<li><a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath();
            ?>
created/topics/"><i class="icon-profile-submited"></i></a></li>
					<li><a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath();
            ?>
favourites/topics/"><i class="icon-profile-favourites"></i></a></li>
					<li><a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath();
            ?>
friends/"><i class="icon-profile-friends"></i></a></li>
					<li><a href="<?php 
            echo smarty_function_router(array('page' => 'stream'), $_smarty_tpl);
            ?>
"><i class="icon-profile-activity"></i></a></li>
					<li><a href="<?php 
            echo smarty_function_router(array('page' => 'settings'), $_smarty_tpl);
            ?>
"><i class="icon-profile-settings"></i></a></li>
				</ul>
			<?php 
        }
        ?>
			
			<div class="footer-inner">
				<ul class="footer-links clearfix">
					<li><a href="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
        ?>
/?force-mobile=off"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['desktop_version'];
        ?>
</a></li>
					<li><a href="<?php 
        echo smarty_function_router(array('page' => 'rss'), $_smarty_tpl);
        ?>
">RSS</a></li>
				</ul>
				
				<div class="copyright">
					&copy; <?php 
        echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl);
        ?>

					
					<br />
					<br />
				
					<?php 
        echo smarty_function_hook(array('run' => 'copyright'), $_smarty_tpl);
        ?>
<br />
					Дизайн от <a href="http://designmobile.ru">DesignMobile</a>
				</div>
			</div>
			
			<?php 
        echo smarty_function_hook(array('run' => 'footer_end'), $_smarty_tpl);
        ?>

		</footer>
	</div> <!-- /wrapper -->
</div> <!-- /container -->

<?php 
        echo smarty_function_hook(array('run' => 'body_end'), $_smarty_tpl);
        ?>


</body>
</html>
<?php 
    }
    function content_56877be16a10f1_96524023($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cfg')) {
            include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.cfg.php';
        }
        if (!is_callable('smarty_function_router')) {
            include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.router.php';
        }
        if (!is_callable('smarty_function_hook')) {
            include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.hook.php';
        }
        if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'index') {
            ?>
	<ul class="nav nav-pills mb-30">
		<li <?php 
            if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'good') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
            ?>
/"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_all_good'];
            ?>
</a></li>
		<li <?php 
            if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'new') {
                ?>
class="active"<?php 
            }
            ?>
>
			<a href="<?php 
            echo smarty_function_router(array('page' => 'index'), $_smarty_tpl);
            ?>
newall/" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_all'];
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_all_new'];
            ?>
</a>
			<?php 
            if ($_smarty_tpl->tpl_vars['iCountTopicsNew']->value > 0) {
                ?>
<a href="<?php 
                echo smarty_function_router(array('page' => 'index'), $_smarty_tpl);
                ?>
new/" class="new" title="<?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_24h'];
                ?>
">+<?php 
                echo $_smarty_tpl->tpl_vars['iCountTopicsNew']->value;
                ?>
</a><?php 
            }
            ?>
		</li>
		<li <?php 
            if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'discussed') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo smarty_function_router(array('page' => 'index'), $_smarty_tpl);
            ?>
discussed/"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_all_discussed'];
            ?>
</a></li>
		<li <?php 
            if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'top') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo smarty_function_router(array('page' => 'index'), $_smarty_tpl);
            ?>
top/"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_all_top'];
            ?>
</a></li>
		<?php 
            echo smarty_function_hook(array('run' => 'menu_blog_index_item'), $_smarty_tpl);
            ?>

	</ul>
<?php 
        }
        ?>

<?php 
        if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'blog') {
            ?>
	<ul class="nav nav-pills mb-30">
		<li <?php 
            if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'good') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo $_smarty_tpl->tpl_vars['sMenuSubBlogUrl']->value;
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_collective_good'];
            ?>
</a></li>
		<li <?php 
            if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'new') {
                ?>
class="active"<?php 
            }
            ?>
>
			<a href="<?php 
            echo $_smarty_tpl->tpl_vars['sMenuSubBlogUrl']->value;
            ?>
newall/" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_all'];
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_collective_new'];
            ?>
</a>
			<?php 
            if ($_smarty_tpl->tpl_vars['iCountTopicsBlogNew']->value > 0) {
                ?>
 <a href="<?php 
                echo $_smarty_tpl->tpl_vars['sMenuSubBlogUrl']->value;
                ?>
new/" class="new" title="<?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_24h'];
                ?>
">+<?php 
                echo $_smarty_tpl->tpl_vars['iCountTopicsBlogNew']->value;
                ?>
</a><?php 
            }
            ?>
		</li>
		<li <?php 
            if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'discussed') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo $_smarty_tpl->tpl_vars['sMenuSubBlogUrl']->value;
            ?>
discussed/"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_collective_discussed'];
            ?>
</a></li>
		<li <?php 
            if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'top') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo $_smarty_tpl->tpl_vars['sMenuSubBlogUrl']->value;
            ?>
top/"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_collective_top'];
            ?>
</a></li>
		<?php 
            echo smarty_function_hook(array('run' => 'menu_blog_blog_item'), $_smarty_tpl);
            ?>

	</ul>
<?php 
        }
        ?>

<?php 
        if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'log') {
            ?>
	<ul class="nav nav-pills mb-30">
		<li <?php 
            if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'good') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo smarty_function_router(array('page' => 'personal_blog'), $_smarty_tpl);
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_personal_good'];
            ?>
</a></li>
		<li <?php 
            if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'new') {
                ?>
class="active"<?php 
            }
            ?>
>
			<a href="<?php 
            echo smarty_function_router(array('page' => 'personal_blog'), $_smarty_tpl);
            ?>
newall/" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_all'];
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_personal_new'];
            ?>
</a>
			<?php 
            if ($_smarty_tpl->tpl_vars['iCountTopicsPersonalNew']->value > 0) {
                ?>
<a href="<?php 
                echo smarty_function_router(array('page' => 'personal_blog'), $_smarty_tpl);
                ?>
new/" class="new" title="<?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_24h'];
                ?>
">+<?php 
                echo $_smarty_tpl->tpl_vars['iCountTopicsPersonalNew']->value;
                ?>
</a><?php 
            }
            ?>
		</li>
		<li <?php 
            if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'discussed') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo smarty_function_router(array('page' => 'personal_blog'), $_smarty_tpl);
            ?>
discussed/"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_personal_discussed'];
            ?>
</a></li>
		<li <?php 
            if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'top') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo smarty_function_router(array('page' => 'personal_blog'), $_smarty_tpl);
            ?>
top/"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_personal_top'];
            ?>
</a></li>
		<?php 
            echo smarty_function_hook(array('run' => 'menu_blog_log_item'), $_smarty_tpl);
            ?>

	</ul>
<?php 
        }
        ?>

<?php 
        if ($_smarty_tpl->tpl_vars['sPeriodSelectCurrent']->value) {
            ?>
	<ul class="nav nav-pills nav-pills-dropdown mb-30">
		<li <?php 
            if ($_smarty_tpl->tpl_vars['sPeriodSelectCurrent']->value == '1') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo $_smarty_tpl->tpl_vars['sPeriodSelectRoot']->value;
            ?>
?period=1"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_24h'];
            ?>
</a></li>
		<li <?php 
            if ($_smarty_tpl->tpl_vars['sPeriodSelectCurrent']->value == '7') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo $_smarty_tpl->tpl_vars['sPeriodSelectRoot']->value;
            ?>
?period=7"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_7d'];
            ?>
</a></li>
		<li <?php 
            if ($_smarty_tpl->tpl_vars['sPeriodSelectCurrent']->value == '30') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo $_smarty_tpl->tpl_vars['sPeriodSelectRoot']->value;
            ?>
?period=30"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_30d'];
            ?>
</a></li>
		<li <?php 
            if ($_smarty_tpl->tpl_vars['sPeriodSelectCurrent']->value == 'all') {
                ?>
class="active"<?php 
            }
            ?>
><a href="<?php 
            echo $_smarty_tpl->tpl_vars['sPeriodSelectRoot']->value;
            ?>
?period=all"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_all'];
            ?>
</a></li>
	</ul>
<?php 
        }
        ?>

<?php 
    }
    function content_5577f7815cc685_82526752($_smarty_tpl)
    {
        if (!is_callable('smarty_function_hook')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php';
        }
        if (!is_callable('smarty_function_router')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php';
        }
        if (!is_callable('smarty_function_cfg')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php';
        }
        ?>
			<?php 
        echo smarty_function_hook(array('run' => 'content_end'), $_smarty_tpl);
        ?>

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

<!--
	
	<footer id="footer">
		<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
            ?>
			<ul class="footer-list">
				<li class="footer-list-header word-wrap"><?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getLogin();
            ?>
</li>
				<li><a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath();
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['footer_menu_user_profile'];
            ?>
</a></li>
				<li><a href="<?php 
            echo smarty_function_router(array('page' => 'settings'), $_smarty_tpl);
            ?>
profile/"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_settings'];
            ?>
</a></li>
				<li><a href="<?php 
            echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl);
            ?>
add/" class="js-write-window-show"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['block_create'];
            ?>
</a></li>
				<?php 
            echo smarty_function_hook(array('run' => 'footer_menu_user_item', 'oUser' => $_smarty_tpl->tpl_vars['oUserCurrent']->value), $_smarty_tpl);
            ?>

				<li><a href="<?php 
            echo smarty_function_router(array('page' => 'login'), $_smarty_tpl);
            ?>
exit/?security_ls_key=<?php 
            echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value;
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['exit'];
            ?>
</a></li>
			</ul>
		<?php 
        } else {
            ?>
			<ul class="footer-list">
				<li class="footer-list-header word-wrap"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['footer_menu_user_quest_title'];
            ?>
</li>
				<li><a href="<?php 
            echo smarty_function_router(array('page' => 'registration'), $_smarty_tpl);
            ?>
" class="js-registration-form-show"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['registration_submit'];
            ?>
</a></li>
				<li><a href="<?php 
            echo smarty_function_router(array('page' => 'login'), $_smarty_tpl);
            ?>
" class="js-login-form-show sign-in"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_login_submit'];
            ?>
</a></li>
				<?php 
            echo smarty_function_hook(array('run' => 'footer_menu_user_item', 'isGuest' => true), $_smarty_tpl);
            ?>

			</ul>
		<?php 
        }
        ?>
		
		<ul class="footer-list">
			<li class="footer-list-header"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['footer_menu_navigate_title'];
        ?>
</li>
			<li><a href="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['topic_title'];
        ?>
</a></li>
			<li><a href="<?php 
        echo smarty_function_router(array('page' => 'blogs'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['blogs'];
        ?>
</a></li>
			<li><a href="<?php 
        echo smarty_function_router(array('page' => 'people'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['people'];
        ?>
</a></li>
			<li><a href="<?php 
        echo smarty_function_router(array('page' => 'stream'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_menu'];
        ?>
</a></li>
			<?php 
        echo smarty_function_hook(array('run' => 'footer_menu_navigate_item'), $_smarty_tpl);
        ?>

		</ul>
-->		
		
		
		
		
		
		
		

								 
				 <img src="http://сокол-сао.рф/d.jpg" title="Мусаев Александр
адрес: Ул.Флотская, 82/6
телефон : 8(499)7470954">
		<br/><br/>
		
		
		
	
		<!--<div class="copyright">
			<?php 
        echo smarty_function_hook(array('run' => 'copyright'), $_smarty_tpl);
        ?>

			
			<div class="design-by">
				<img src="<?php 
        echo smarty_function_cfg(array('name' => 'path.static.skin'), $_smarty_tpl);
        ?>
/images/xeoart.png" alt="xeoart" />
				Design by <a href="http://xeoart.com">xeoart</a> -->
				<div>Организатор проекта <a href="http://vk.com/id1798736">Тарасов Антон</a>
				 </div>
				 <div>Руководитель проекта <a href="https://www.facebook.com/profile.php?id=100007299644938">Удалов Сергей</a></div>
				 
		 <br/>
					 
				 
				 <!-- Yandex.Metrika informer -->
<a href="https://metrika.yandex.ru/stat/?id=29259100&amp;from=informer"
target="_blank" rel="nofollow"><img src="//bs.yandex.ru/informer/29259100/3_1_FFFFFFFF_EFEFEFFF_0_pageviews"
style="width:88px; height:31px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)" onclick="try{Ya.Metrika.informer({i:this,id:29259100,lang:'ru'});return false}catch(e){}"/></a>
<!-- /Yandex.Metrika informer -->

<!-- Yandex.Metrika counter -->
<script type="text/javascript">
(function (d, w, c) {
    (w[c] = w[c] || []).push(function() {
        try {
            w.yaCounter29259100 = new Ya.Metrika({id:29259100,
                    clickmap:true,
                    trackLinks:true,
                    accurateTrackBounce:true});
        } catch(e) { }
    });

    var n = d.getElementsByTagName("script")[0],
        s = d.createElement("script"),
        f = function () { n.parentNode.insertBefore(s, n); };
    s.type = "text/javascript";
    s.async = true;
    s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js";

    if (w.opera == "[object Opera]") {
        d.addEventListener("DOMContentLoaded", f, false);
    } else { f(); }
})(document, window, "yandex_metrika_callbacks");
</script>
<noscript><div><img src="//mc.yandex.ru/watch/29259100" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->
 
				 
				 
				 
			</div>
		</div>
		
		<?php 
        echo smarty_function_hook(array('run' => 'footer_end'), $_smarty_tpl);
        ?>

	</footer>
</div> <!-- /container -->

<?php 
        echo $_smarty_tpl->getSubTemplate('toolbar.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>


<?php 
        echo smarty_function_hook(array('run' => 'body_end'), $_smarty_tpl);
        ?>



<!-- Yandex.Metrika counter -->
<script src="//mc.yandex.ru/metrika/watch.js" type="text/javascript"></script>
<script type="text/javascript">
try { var yaCounter23864602 = new Ya.Metrika({id:23864602,
          webvisor:true,
          clickmap:true,
          trackLinks:true,
          accurateTrackBounce:true});
} catch(e) { }
</script>
<noscript><div><img src="//mc.yandex.ru/watch/23864602" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->


</body>
</html><?php 
    }
    function content_5684d6e3e6d846_46393495($_smarty_tpl)
    {
        if (!is_callable('smarty_function_cfg')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php';
        }
        if (!is_callable('smarty_function_router')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.router.php';
        }
        if (!is_callable('smarty_function_hook')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php';
        }
        ?>
<nav id="nav">
	<ul class="nav-foldable nav-foldable-primary">
		<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'blog') {
            ?>
class="active"<?php 
        }
        ?>
><a href="<?php 
        echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['topic_title'];
        ?>
</a></li>
		<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'blogs') {
            ?>
class="active"<?php 
        }
        ?>
><a href="<?php 
        echo smarty_function_router(array('page' => 'blogs'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['blogs'];
        ?>
</a></li>
		<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'people') {
            ?>
class="active"<?php 
        }
        ?>
><a href="<?php 
        echo smarty_function_router(array('page' => 'people'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['people'];
        ?>
</a></li>
		<li <?php 
        if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'stream') {
            ?>
class="active"<?php 
        }
        ?>
><a href="<?php 
        echo smarty_function_router(array('page' => 'stream'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_menu'];
        ?>
</a></li>

		<?php 
        echo smarty_function_hook(array('run' => 'main_menu_item'), $_smarty_tpl);
        ?>

	</ul>

	<?php 
        echo smarty_function_hook(array('run' => 'main_menu'), $_smarty_tpl);
        ?>

		
	<?php 
        if ($_smarty_tpl->tpl_vars['menu']->value) {
            ?>
		<?php 
            echo $_smarty_tpl->getSubTemplate("menu." . $_smarty_tpl->tpl_vars['menu']->value . ".tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
            ?>

	<?php 
        }
        ?>
</nav><?php 
    }