function content_5684d6fff32266_14743392($_smarty_tpl)
    {
        if (!is_callable('smarty_function_date_format')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.date_format.php';
        }
        if ($_smarty_tpl->tpl_vars['oTopicUserProfileLast']->value) {
            ?>
<tr>
    <td colspan="2" class="cell-latest-post">
		<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_latest_post'];
            ?>
 —
        <time datetime="<?php 
            echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oTopicUserProfileLast']->value->getDateAdd(), 'format' => 'c'), $_smarty_tpl);
            ?>
" title="<?php 
            echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oTopicUserProfileLast']->value->getDateAdd(), 'format' => 'j F Y, H:i'), $_smarty_tpl);
            ?>
">
			<?php 
            echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oTopicUserProfileLast']->value->getDateAdd(), 'hours_back' => "12", 'minutes_back' => "60", 'now' => "60", 'day' => "day H:i", 'format' => "j F Y, H:i"), $_smarty_tpl);
            ?>

        </time><br />
        <a href="<?php 
            echo $_smarty_tpl->tpl_vars['oTopicUserProfileLast']->value->getUrl();
            ?>
"><?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['oTopicUserProfileLast']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
            ?>
</a>
    </td>
</tr>
<?php 
        }
    }
    function content_5684d70d81cd42_50616501($_smarty_tpl)
    {
        if (!is_callable('smarty_function_router')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.router.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_hook')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php';
        }
        $_smarty_tpl->tpl_vars["oUser"] = new Smarty_variable($_smarty_tpl->tpl_vars['oComment']->value->getUser(), null, 0);
        $_smarty_tpl->tpl_vars["oVote"] = new Smarty_variable($_smarty_tpl->tpl_vars['oComment']->value->getVote(), null, 0);
        ?>


<section id="comment_id_<?php 
        echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
        ?>
" class="comment
														<?php 
        if ($_smarty_tpl->tpl_vars['oComment']->value->isBad()) {
            ?>
															comment-bad
														<?php 
        }
        ?>

														<?php 
        if ($_smarty_tpl->tpl_vars['oComment']->value->getDelete()) {
            ?>
															comment-deleted
														<?php 
        } elseif ($_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oComment']->value->getUserId() == $_smarty_tpl->tpl_vars['oUserCurrent']->value->getId()) {
            ?>
 
															comment-self
														<?php 
        } elseif ($_smarty_tpl->tpl_vars['sDateReadLast']->value <= $_smarty_tpl->tpl_vars['oComment']->value->getDate()) {
            ?>
 
															comment-new
														<?php 
        }
        ?>
">
	<?php 
        if (!$_smarty_tpl->tpl_vars['oComment']->value->getDelete() || $_smarty_tpl->tpl_vars['bOneComment']->value || $_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator()) {
            ?>
		<a name="comment<?php 
            echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
            ?>
"></a>
		
		<?php 
            if ($_smarty_tpl->tpl_vars['oComment']->value->getTargetType() != 'talk') {
                ?>
	
			<span class="vote-result-comment
				<?php 
                if ($_smarty_tpl->tpl_vars['oComment']->value->getRating() > 0) {
                    ?>
					vote-count-positive
				<?php 
                } elseif ($_smarty_tpl->tpl_vars['oComment']->value->getRating() < 0) {
                    ?>
					vote-count-negative
				<?php 
                } elseif ($_smarty_tpl->tpl_vars['oComment']->value->getRating() == 0) {
                    ?>
					vote-count-zero
				<?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 
                }
                ?>
}" 

				id="vote_total_comment_<?php 
                echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                ?>
">
				<?php 
                if ($_smarty_tpl->tpl_vars['oComment']->value->getRating() > 0) {
                    ?>
+<?php 
                }
                echo $_smarty_tpl->tpl_vars['oComment']->value->getRating();
                ?>

			</span>
		<?php 
            }
            ?>

		<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" class="comment-avatar" /></a>
		
		
		<ul class="comment-info <?php 
            if ($_smarty_tpl->tpl_vars['iAuthorId']->value == $_smarty_tpl->tpl_vars['oUser']->value->getId()) {
                ?>
comment-topic-author<?php 
            }
            ?>
">
			<li class="comment-author">
				<a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUser']->value->getUserWebPath();
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['oUser']->value->getLogin();
            ?>
</a>
			</li>
			<li class="comment-date">
				<a href="<?php 
            if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('module.comment.nested_per_page')) {
                echo smarty_function_router(array('page' => 'comments'), $_smarty_tpl);
            } else {
                ?>
#comment<?php 
            }
            echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
            ?>
" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['comment_url_notice'];
            ?>
">
					<time datetime="<?php 
            echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oComment']->value->getDate(), 'format' => 'c'), $_smarty_tpl);
            ?>
"><?php 
            echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oComment']->value->getDate(), 'hours_back' => "12", 'minutes_back' => "60", 'now' => "60", 'day' => "day H:i", 'format' => "j F Y, H:i"), $_smarty_tpl);
            ?>
</time>
				</a>
				
				<div class="comment-new-mark"></div>
			</li>
		</ul>
		
		
		<div id="comment_content_id_<?php 
            echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
            ?>
" class="comment-content text">
			<?php 
            echo $_smarty_tpl->tpl_vars['oComment']->value->getText();
            ?>

		</div>
			
			
		<?php 
            if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
                ?>
			<ul class="comment-actions clearfix">
				<?php 
                if (!$_smarty_tpl->tpl_vars['oComment']->value->getDelete() && !$_smarty_tpl->tpl_vars['bAllowNewComment']->value) {
                    ?>
					<li><a href="#" onclick="ls.comments.toggleCommentForm(<?php 
                    echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                    ?>
); return false;" class="reply-link link-dotted"><?php 
                    echo $_smarty_tpl->tpl_vars['aLang']->value['comment_answer'];
                    ?>
</a></li>
				<?php 
                }
                ?>
					
				<?php 
                if (!$_smarty_tpl->tpl_vars['oComment']->value->getDelete() && $_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator()) {
                    ?>
					<li><a href="#" class="comment-delete link-dotted" onclick="ls.comments.toggle(this,<?php 
                    echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                    ?>
); return false;"><?php 
                    echo $_smarty_tpl->tpl_vars['aLang']->value['comment_delete'];
                    ?>
</a></li>
				<?php 
                }
                ?>
				
				<?php 
                if ($_smarty_tpl->tpl_vars['oComment']->value->getDelete() && $_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator()) {
                    ?>
   										
					<li><a href="#" class="comment-repair link-dotted" onclick="ls.comments.toggle(this,<?php 
                    echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                    ?>
); return false;"><?php 
                    echo $_smarty_tpl->tpl_vars['aLang']->value['comment_repair'];
                    ?>
</a></li>
				<?php 
                }
                ?>
			
				<?php 
                if ($_smarty_tpl->tpl_vars['oUserCurrent']->value && !$_smarty_tpl->tpl_vars['oVote']->value && $_smarty_tpl->tpl_vars['oComment']->value->getTargetType() != 'talk') {
                    ?>
					<li>
						<a href="#"

						onclick="ls.tools.slide($('#vote_area_comment_<?php 
                    echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                    ?>
'), $(this)); return false;"

						class="link-dotted"><?php 
                    echo $_smarty_tpl->tpl_vars['aLang']->value['comment_rate'];
                    ?>
</a>
					</li>
				<?php 
                }
                ?>
				
				<li><a href="<?php 
                if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('module.comment.nested_per_page')) {
                    echo smarty_function_router(array('page' => 'comments'), $_smarty_tpl);
                } else {
                    ?>
#comment<?php 
                }
                echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                ?>
" class="link-dotted"><?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['comment_link'];
                ?>
</a></li>
			
				<?php 
                if ($_smarty_tpl->tpl_vars['oUserCurrent']->value && !$_smarty_tpl->tpl_vars['bNoCommentFavourites']->value) {
                    ?>
					<li class="comment-favourite" onclick="return ls.favourite.toggle(<?php 
                    echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                    ?>
,'#fav_comment_<?php 
                    echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                    ?>
','comment');">
						<div id="fav_comment_<?php 
                    echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                    ?>
" class="favourite icon-favourite <?php 
                    if ($_smarty_tpl->tpl_vars['oComment']->value->getIsFavourite()) {
                        ?>
active<?php 
                    }
                    ?>
"></div>
						<span class="favourite-count" id="fav_count_comment_<?php 
                    echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                    ?>
"><?php 
                    if ($_smarty_tpl->tpl_vars['oComment']->value->getCountFavourite() > 0) {
                        echo $_smarty_tpl->tpl_vars['oComment']->value->getCountFavourite();
                    }
                    ?>
</span>
					</li>
				<?php 
                }
                ?>
				
				<?php 
                echo smarty_function_hook(array('run' => 'comment_action', 'comment' => $_smarty_tpl->tpl_vars['oComment']->value), $_smarty_tpl);
                ?>

			</ul>
		<?php 
            }
            ?>


			
		<?php 
            if ($_smarty_tpl->tpl_vars['oComment']->value->getTargetType() != 'talk') {
                ?>
						
			<div id="vote_area_comment_<?php 
                echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                ?>
" class="vote">
				<div class="vote-item vote-down" onclick="return ls.vote.vote(<?php 
                echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                ?>
,this,-1,'comment');"><i></i></div>
				<div class="vote-item vote-up" onclick="return ls.vote.vote(<?php 
                echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                ?>
,this,1,'comment');"><i></i></div>
			</div>
		<?php 
            }
            ?>
	<?php 
        } else {
            ?>
				
		<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['comment_was_delete'];
            ?>

	<?php 
        }
        ?>
	
</section><?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_5684d6ffa89ca5_50628922($_smarty_tpl)
    {
        if (!is_callable('smarty_function_date_format')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.date_format.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';
        }
        if (!is_callable('smarty_function_json')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.json.php';
        }
        $_smarty_tpl->tpl_vars["sMenuItemSelect"] = new Smarty_variable('profile', null, 0);
        echo $_smarty_tpl->getSubTemplate('header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>


<?php 
        $_smarty_tpl->tpl_vars["oSession"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserProfile']->value->getSession(), null, 0);
        $_smarty_tpl->tpl_vars["oVote"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserProfile']->value->getVote(), null, 0);
        $_smarty_tpl->tpl_vars["oGeoTarget"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserProfile']->value->getGeoTarget(), null, 0);
        ?>



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

<br />

<?php 
        $_smarty_tpl->tpl_vars["aUserFieldValues"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserProfile']->value->getUserFieldValues(true, array('')), null, 0);
        ?>

<?php 
        if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileSex() != 'other' || $_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileBirthday() || $_smarty_tpl->tpl_vars['oGeoTarget']->value || count($_smarty_tpl->tpl_vars['aUserFieldValues']->value)) {
            ?>
<div class="table-profile-info-wrapper">
	<h2 class="header-table"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_privat'];
            ?>
</h2>
	
	
	<table class="table table-profile-info">		
		<?php 
            if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileSex() != 'other') {
                ?>
			<tr>
				<td class="cell-label"><?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['profile_sex'];
                ?>
:</td>
				<td>
					<?php 
                if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileSex() == 'man') {
                    ?>
						<?php 
                    echo $_smarty_tpl->tpl_vars['aLang']->value['profile_sex_man'];
                    ?>

					<?php 
                } else {
                    ?>
						<?php 
                    echo $_smarty_tpl->tpl_vars['aLang']->value['profile_sex_woman'];
                    ?>

					<?php 
                }
                ?>
				</td>
			</tr>
		<?php 
            }
            ?>
			
			
		<?php 
            if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileBirthday()) {
                ?>
			<tr>
				<td class="cell-label"><?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['profile_birthday'];
                ?>
:</td>
				<td><?php 
                echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileBirthday(), 'format' => "j F Y"), $_smarty_tpl);
                ?>
</td>
			</tr>
		<?php 
            }
            ?>
		
		
		<?php 
            if ($_smarty_tpl->tpl_vars['oGeoTarget']->value) {
                ?>
			<tr>
				<td class="cell-label"><?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['profile_place'];
                ?>
:</td>
				<td itemprop="address" itemscope itemtype="http://data-vocabulary.org/Address">
					<?php 
                if ($_smarty_tpl->tpl_vars['oGeoTarget']->value->getCountryId()) {
                    ?>
						<a href="<?php 
                    echo smarty_function_router(array('page' => 'people'), $_smarty_tpl);
                    ?>
country/<?php 
                    echo $_smarty_tpl->tpl_vars['oGeoTarget']->value->getCountryId();
                    ?>
/" itemprop="country-name"><?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileCountry(), ENT_QUOTES, 'UTF-8', true);
                    ?>
</a><?php 
                    if ($_smarty_tpl->tpl_vars['oGeoTarget']->value->getCityId()) {
                        ?>
,<?php 
                    }
                    ?>
					<?php 
                }
                ?>
					
					<?php 
                if ($_smarty_tpl->tpl_vars['oGeoTarget']->value->getCityId()) {
                    ?>
						<a href="<?php 
                    echo smarty_function_router(array('page' => 'people'), $_smarty_tpl);
                    ?>
city/<?php 
                    echo $_smarty_tpl->tpl_vars['oGeoTarget']->value->getCityId();
                    ?>
/" itemprop="locality"><?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileCity(), ENT_QUOTES, 'UTF-8', true);
                    ?>
</a>
					<?php 
                }
                ?>
				</td>
			</tr>
		<?php 
            }
            ?>

		<?php 
            if ($_smarty_tpl->tpl_vars['aUserFieldValues']->value) {
                ?>
			<?php 
                $_smarty_tpl->tpl_vars['oField'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['oField']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['aUserFieldValues']->value;
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                foreach ($_from as $_smarty_tpl->tpl_vars['oField']->key => $_smarty_tpl->tpl_vars['oField']->value) {
                    $_smarty_tpl->tpl_vars['oField']->_loop = true;
                    ?>
				<tr>
					<td class="cell-label"><i class="icon-contact icon-contact-<?php 
                    echo $_smarty_tpl->tpl_vars['oField']->value->getName();
                    ?>
"></i> <?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['oField']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                    ?>
:</td>
					<td><?php 
                    echo $_smarty_tpl->tpl_vars['oField']->value->getValue(true, true);
                    ?>
</td>
				</tr>
			<?php 
                }
                ?>
		<?php 
            }
            ?>

		<?php 
            echo smarty_function_hook(array('run' => 'profile_whois_privat_item', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl);
            ?>

	</table>
</div>
<?php 
        }
        ?>

<?php 
        echo smarty_function_hook(array('run' => 'profile_whois_item_after_privat', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl);
        ?>




<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oUserCurrent']->value->getId() != $_smarty_tpl->tpl_vars['oUserProfile']->value->getId()) {
            ?>
	<section class="profile-info-note full-width">
		<?php 
            if ($_smarty_tpl->tpl_vars['oUserNote']->value) {
                ?>
			<script type="text/javascript">
				ls.usernote.sText = <?php 
                echo smarty_function_json(array('var' => $_smarty_tpl->tpl_vars['oUserNote']->value->getText()), $_smarty_tpl);
                ?>
;
			</script>
		<?php 
            }
            ?>
		
		<h2 class="header-table"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_note_header'];
            ?>
</h2>

		<div id="usernote-note" class="profile-note" <?php 
            if (!$_smarty_tpl->tpl_vars['oUserNote']->value) {
                ?>
style="display: none;"<?php 
            }
            ?>
>
			<p id="usernote-note-text">
				<?php 
            if ($_smarty_tpl->tpl_vars['oUserNote']->value) {
                ?>
					<?php 
                echo $_smarty_tpl->tpl_vars['oUserNote']->value->getText();
                ?>

				<?php 
            }
            ?>
			</p>
			
			<ul class="actions clearfix">
				<li><a href="#" onclick="return ls.usernote.showForm();" class="link-dotted"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_note_form_edit'];
            ?>
</a></li>
				<li><a href="#" onclick="return ls.usernote.remove(<?php 
            echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getId();
            ?>
);" class="link-dotted"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_note_form_delete'];
            ?>
</a></li>
			</ul>
		</div>
		
		<div id="usernote-form" style="display: none;">
			<p><textarea rows="4" cols="20" id="usernote-form-text" class="input-text input-width-full"></textarea></p><br />
			<button type="submit" onclick="return ls.usernote.save(<?php 
            echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getId();
            ?>
);" class="button button-primary"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_note_form_save'];
            ?>
</button>&nbsp;&nbsp;
			<button type="submit" onclick="return ls.usernote.hideForm();" class="button"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_note_form_cancel'];
            ?>
</button>
		</div>
		
		<a href="#" onclick="return ls.usernote.showForm();" id="usernote-button-add" class="link-dotted" <?php 
            if ($_smarty_tpl->tpl_vars['oUserNote']->value) {
                ?>
style="display:none;"<?php 
            }
            ?>
><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_note_add'];
            ?>
</a>
	</section>
<?php 
        }
        ?>

<?php 
        if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileAbout()) {
            ?>
					
	<div class="profile-info-about">
		<h2 class="header-table"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_about'];
            ?>
</h2>
		<?php 
            echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileAbout();
            ?>

	</div>
<?php 
        }
        ?>



<?php 
        $_smarty_tpl->tpl_vars["aUserFieldContactValues"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserProfile']->value->getUserFieldValues(true, array('contact')), null, 0);
        if ($_smarty_tpl->tpl_vars['aUserFieldContactValues']->value) {
            ?>
	<div class="table-profile-info-wrapper">
		<h2 class="header-table"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_contacts'];
            ?>
</h2>
		
		<table class="table table-profile-info">
			<?php 
            $_smarty_tpl->tpl_vars['oField'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oField']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aUserFieldContactValues']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['oField']->key => $_smarty_tpl->tpl_vars['oField']->value) {
                $_smarty_tpl->tpl_vars['oField']->_loop = true;
                ?>
				<tr>
					<td class="cell-label"><?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['oField']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                ?>
:</td>
					<td><?php 
                echo $_smarty_tpl->tpl_vars['oField']->value->getValue(true, true);
                ?>
</td>
				</tr>
			<?php 
            }
            ?>
		</table>
	</div>
<?php 
        }
        ?>


<?php 
        $_smarty_tpl->tpl_vars["aUserFieldContactValues"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserProfile']->value->getUserFieldValues(true, array('social')), null, 0);
        if ($_smarty_tpl->tpl_vars['aUserFieldContactValues']->value) {
            ?>
<div class="table-profile-info-wrapper">
	<h2 class="header-table"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_social'];
            ?>
</h2>
	
	<ul class="profile-contacts">
		<?php 
            $_smarty_tpl->tpl_vars['oField'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oField']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aUserFieldContactValues']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['oField']->key => $_smarty_tpl->tpl_vars['oField']->value) {
                $_smarty_tpl->tpl_vars['oField']->_loop = true;
                ?>
			<li class="contact-<?php 
                echo $_smarty_tpl->tpl_vars['oField']->value->getName();
                ?>
">
				<?php 
                echo $_smarty_tpl->tpl_vars['oField']->value->getValue(true, true);
                ?>

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



<?php 
        if ($_smarty_tpl->tpl_vars['aUsersFriend']->value) {
            ?>
	<div class="table-profile-info-wrapper">
		<h2 class="header-table mb-15"><a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getUserWebPath();
            ?>
friends/"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_friends'];
            ?>
</a> <?php 
            echo $_smarty_tpl->tpl_vars['iCountFriendsUser']->value;
            ?>
</h2>
		
		<?php 
            echo $_smarty_tpl->getSubTemplate('user_list_avatar.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('aUsersList' => $_smarty_tpl->tpl_vars['aUsersFriend']->value), 0);
            ?>

	</div>
<?php 
        }
        ?>


<?php 
        echo smarty_function_hook(array('run' => 'profile_whois_item', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl);
        ?>



<div class="table-profile-info-wrapper">
	<h2 class="header-table"><a href="<?php 
        echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getUserWebPath();
        ?>
stream/"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['profile_activity'];
        ?>
</a></h2>

	<table class="table table-profile-info">
		<tr>
			<td class="cell-label"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['profile_date_registration'];
        ?>
:</td>
			<td><?php 
        echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oUserProfile']->value->getDateRegister()), $_smarty_tpl);
        ?>
</td>
		</tr>	
		
		
		<?php 
        if ($_smarty_tpl->tpl_vars['oSession']->value) {
            ?>
				
			<tr>
				<td class="cell-label"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_date_last'];
            ?>
:</td>
				<td><?php 
            echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oSession']->value->getDateLast()), $_smarty_tpl);
            ?>
</td>
			</tr>
		<?php 
        }
        ?>

		<?php 
        if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('general.reg.invite') && $_smarty_tpl->tpl_vars['oUserInviteFrom']->value) {
            ?>
			<tr>
				<td class="cell-label"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_invite_from'];
            ?>
:</td>
				<td>							       						
					<a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUserInviteFrom']->value->getUserWebPath();
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['oUserInviteFrom']->value->getLogin();
            ?>
</a>&nbsp;         					
				</td>
			</tr>
		<?php 
        }
        ?>
		
		
		<?php 
        if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('general.reg.invite') && $_smarty_tpl->tpl_vars['aUsersInvite']->value) {
            ?>
			<tr>
				<td class="cell-label"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_invite_to'];
            ?>
:</td>
				<td>
					<?php 
            $_smarty_tpl->tpl_vars['oUserInvite'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oUserInvite']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aUsersInvite']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['oUserInvite']->key => $_smarty_tpl->tpl_vars['oUserInvite']->value) {
                $_smarty_tpl->tpl_vars['oUserInvite']->_loop = true;
                ?>
        						
						<a href="<?php 
                echo $_smarty_tpl->tpl_vars['oUserInvite']->value->getUserWebPath();
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['oUserInvite']->value->getLogin();
                ?>
</a>&nbsp; 
					<?php 
            }
            ?>
				</td>
			</tr>
		<?php 
        }
        ?>
		
		
		<?php 
        if ($_smarty_tpl->tpl_vars['aBlogsOwner']->value) {
            ?>
			<tr>
				<td class="cell-label"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_blogs_self'];
            ?>
:</td>
				<td>							
					<?php 
            $_smarty_tpl->tpl_vars['oBlog'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oBlog']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aBlogsOwner']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['oBlog']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['oBlog']->iteration = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['oBlog']->key => $_smarty_tpl->tpl_vars['oBlog']->value) {
                $_smarty_tpl->tpl_vars['oBlog']->_loop = true;
                $_smarty_tpl->tpl_vars['oBlog']->iteration++;
                $_smarty_tpl->tpl_vars['oBlog']->last = $_smarty_tpl->tpl_vars['oBlog']->iteration === $_smarty_tpl->tpl_vars['oBlog']->total;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['blog_owner']['last'] = $_smarty_tpl->tpl_vars['oBlog']->last;
                ?>
						<a href="<?php 
                echo $_smarty_tpl->tpl_vars['oBlog']->value->getUrlFull();
                ?>
"><?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['oBlog']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                ?>
</a><?php 
                if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['blog_owner']['last']) {
                    ?>
, <?php 
                }
                ?>
								      		
					<?php 
            }
            ?>
				</td>
			</tr>
		<?php 
        }
        ?>
		
		
		<?php 
        if ($_smarty_tpl->tpl_vars['aBlogAdministrators']->value) {
            ?>
			<tr>
				<td class="cell-label"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_blogs_administration'];
            ?>
:</td>
				<td>
					<?php 
            $_smarty_tpl->tpl_vars['oBlogUser'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oBlogUser']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aBlogAdministrators']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['oBlogUser']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['oBlogUser']->iteration = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['oBlogUser']->key => $_smarty_tpl->tpl_vars['oBlogUser']->value) {
                $_smarty_tpl->tpl_vars['oBlogUser']->_loop = true;
                $_smarty_tpl->tpl_vars['oBlogUser']->iteration++;
                $_smarty_tpl->tpl_vars['oBlogUser']->last = $_smarty_tpl->tpl_vars['oBlogUser']->iteration === $_smarty_tpl->tpl_vars['oBlogUser']->total;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['blog_user']['last'] = $_smarty_tpl->tpl_vars['oBlogUser']->last;
                ?>
						<?php 
                $_smarty_tpl->tpl_vars["oBlog"] = new Smarty_variable($_smarty_tpl->tpl_vars['oBlogUser']->value->getBlog(), null, 0);
                ?>
						<a href="<?php 
                echo $_smarty_tpl->tpl_vars['oBlog']->value->getUrlFull();
                ?>
"><?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['oBlog']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                ?>
</a><?php 
                if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['blog_user']['last']) {
                    ?>
, <?php 
                }
                ?>
					<?php 
            }
            ?>
				</td>
			</tr>
		<?php 
        }
        ?>
		
		
		<?php 
        if ($_smarty_tpl->tpl_vars['aBlogModerators']->value) {
            ?>
			<tr>
				<td class="cell-label"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_blogs_moderation'];
            ?>
:</td>
				<td>
					<?php 
            $_smarty_tpl->tpl_vars['oBlogUser'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oBlogUser']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aBlogModerators']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['oBlogUser']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['oBlogUser']->iteration = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['oBlogUser']->key => $_smarty_tpl->tpl_vars['oBlogUser']->value) {
                $_smarty_tpl->tpl_vars['oBlogUser']->_loop = true;
                $_smarty_tpl->tpl_vars['oBlogUser']->iteration++;
                $_smarty_tpl->tpl_vars['oBlogUser']->last = $_smarty_tpl->tpl_vars['oBlogUser']->iteration === $_smarty_tpl->tpl_vars['oBlogUser']->total;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['blog_user']['last'] = $_smarty_tpl->tpl_vars['oBlogUser']->last;
                ?>
						<?php 
                $_smarty_tpl->tpl_vars["oBlog"] = new Smarty_variable($_smarty_tpl->tpl_vars['oBlogUser']->value->getBlog(), null, 0);
                ?>
						<a href="<?php 
                echo $_smarty_tpl->tpl_vars['oBlog']->value->getUrlFull();
                ?>
"><?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['oBlog']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                ?>
</a><?php 
                if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['blog_user']['last']) {
                    ?>
, <?php 
                }
                ?>
					<?php 
            }
            ?>
				</td>
			</tr>
		<?php 
        }
        ?>
		
		
		<?php 
        if ($_smarty_tpl->tpl_vars['aBlogUsers']->value) {
            ?>
			<tr>
				<td class="cell-label"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_blogs_join'];
            ?>
:</td>
				<td>
					<?php 
            $_smarty_tpl->tpl_vars['oBlogUser'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oBlogUser']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aBlogUsers']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['oBlogUser']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['oBlogUser']->iteration = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['oBlogUser']->key => $_smarty_tpl->tpl_vars['oBlogUser']->value) {
                $_smarty_tpl->tpl_vars['oBlogUser']->_loop = true;
                $_smarty_tpl->tpl_vars['oBlogUser']->iteration++;
                $_smarty_tpl->tpl_vars['oBlogUser']->last = $_smarty_tpl->tpl_vars['oBlogUser']->iteration === $_smarty_tpl->tpl_vars['oBlogUser']->total;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['blog_user']['last'] = $_smarty_tpl->tpl_vars['oBlogUser']->last;
                ?>
						<?php 
                $_smarty_tpl->tpl_vars["oBlog"] = new Smarty_variable($_smarty_tpl->tpl_vars['oBlogUser']->value->getBlog(), null, 0);
                ?>
						<a href="<?php 
                echo $_smarty_tpl->tpl_vars['oBlog']->value->getUrlFull();
                ?>
"><?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['oBlog']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                ?>
</a><?php 
                if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['blog_user']['last']) {
                    ?>
, <?php 
                }
                ?>
					<?php 
            }
            ?>
				</td>
			</tr>
		<?php 
        }
        ?>
		
		<?php 
        echo smarty_function_hook(array('run' => 'profile_whois_activity_item', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl);
        ?>

	</table>
</div>

<?php 
        echo smarty_function_hook(array('run' => 'profile_whois_item_end', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl);
        ?>



<?php 
        echo $_smarty_tpl->getSubTemplate('footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_5684d7a34a3b40_53204202($_smarty_tpl)
    {
        if (!is_callable('smarty_function_date_format')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.date_format.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';
        }
        $_smarty_tpl->tpl_vars["sidebarPosition"] = new Smarty_variable('left', null, 0);
        $_smarty_tpl->tpl_vars["sMenuItemSelect"] = new Smarty_variable('profile', null, 0);
        echo $_smarty_tpl->getSubTemplate('header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>


<?php 
        $_smarty_tpl->tpl_vars["oSession"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserProfile']->value->getSession(), null, 0);
        $_smarty_tpl->tpl_vars["oVote"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserProfile']->value->getVote(), null, 0);
        $_smarty_tpl->tpl_vars["oGeoTarget"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserProfile']->value->getGeoTarget(), null, 0);
        ?>


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

<h3 class="profile-page-header"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['user_menu_profile_whois'];
        ?>
</h3>


<?php 
        if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileAbout()) {
            ?>
					
	<div class="profile-info-about">
		<h3><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_about'];
            ?>
</h3>
		<?php 
            echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileAbout();
            ?>

	</div>
<?php 
        }
        ?>

<?php 
        $_smarty_tpl->tpl_vars["aUserFieldValues"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserProfile']->value->getUserFieldValues(true, array('')), null, 0);
        ?>

<?php 
        if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileSex() != 'other' || $_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileBirthday() || $_smarty_tpl->tpl_vars['oGeoTarget']->value || $_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileAbout() || count($_smarty_tpl->tpl_vars['aUserFieldValues']->value)) {
            ?>
	<h2 class="header-table"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_privat'];
            ?>
</h2>
	
	
	<table class="table table-profile-info">		
		<?php 
            if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileSex() != 'other') {
                ?>
			<tr>
				<td class="cell-label"><?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['profile_sex'];
                ?>
:</td>
				<td>
					<?php 
                if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileSex() == 'man') {
                    ?>
						<?php 
                    echo $_smarty_tpl->tpl_vars['aLang']->value['profile_sex_man'];
                    ?>

					<?php 
                } else {
                    ?>
						<?php 
                    echo $_smarty_tpl->tpl_vars['aLang']->value['profile_sex_woman'];
                    ?>

					<?php 
                }
                ?>
				</td>
			</tr>
		<?php 
            }
            ?>
			
			
		<?php 
            if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileBirthday()) {
                ?>
			<tr>
				<td class="cell-label"><?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['profile_birthday'];
                ?>
:</td>
				<td><?php 
                echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileBirthday(), 'format' => "j F Y"), $_smarty_tpl);
                ?>
</td>
			</tr>
		<?php 
            }
            ?>
		
		
		<?php 
            if ($_smarty_tpl->tpl_vars['oGeoTarget']->value) {
                ?>
			<tr>
				<td class="cell-label"><?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['profile_place'];
                ?>
:</td>
				<td itemprop="address" itemscope itemtype="http://data-vocabulary.org/Address">
					<?php 
                if ($_smarty_tpl->tpl_vars['oGeoTarget']->value->getCountryId()) {
                    ?>
						<a href="<?php 
                    echo smarty_function_router(array('page' => 'people'), $_smarty_tpl);
                    ?>
country/<?php 
                    echo $_smarty_tpl->tpl_vars['oGeoTarget']->value->getCountryId();
                    ?>
/" itemprop="country-name"><?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileCountry(), ENT_QUOTES, 'UTF-8', true);
                    ?>
</a><?php 
                    if ($_smarty_tpl->tpl_vars['oGeoTarget']->value->getCityId()) {
                        ?>
,<?php 
                    }
                    ?>
					<?php 
                }
                ?>
					
					<?php 
                if ($_smarty_tpl->tpl_vars['oGeoTarget']->value->getCityId()) {
                    ?>
						<a href="<?php 
                    echo smarty_function_router(array('page' => 'people'), $_smarty_tpl);
                    ?>
city/<?php 
                    echo $_smarty_tpl->tpl_vars['oGeoTarget']->value->getCityId();
                    ?>
/" itemprop="locality"><?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileCity(), ENT_QUOTES, 'UTF-8', true);
                    ?>
</a>
					<?php 
                }
                ?>
				</td>
			</tr>
		<?php 
            }
            ?>

		<?php 
            if ($_smarty_tpl->tpl_vars['aUserFieldValues']->value) {
                ?>
			<?php 
                $_smarty_tpl->tpl_vars['oField'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['oField']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['aUserFieldValues']->value;
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                foreach ($_from as $_smarty_tpl->tpl_vars['oField']->key => $_smarty_tpl->tpl_vars['oField']->value) {
                    $_smarty_tpl->tpl_vars['oField']->_loop = true;
                    ?>
				<tr>
					<td class="cell-label"><i class="icon-contact icon-contact-<?php 
                    echo $_smarty_tpl->tpl_vars['oField']->value->getName();
                    ?>
"></i> <?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['oField']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                    ?>
:</td>
					<td><?php 
                    echo $_smarty_tpl->tpl_vars['oField']->value->getValue(true, true);
                    ?>
</td>
				</tr>
			<?php 
                }
                ?>
		<?php 
            }
            ?>

		<?php 
            echo smarty_function_hook(array('run' => 'profile_whois_privat_item', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl);
            ?>

	</table>
<?php 
        }
        ?>

<?php 
        echo smarty_function_hook(array('run' => 'profile_whois_item_after_privat', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl);
        ?>


<?php 
        $_smarty_tpl->tpl_vars["aUserFieldContactValues"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserProfile']->value->getUserFieldValues(true, array('contact')), null, 0);
        if ($_smarty_tpl->tpl_vars['aUserFieldContactValues']->value) {
            ?>
	<h2 class="header-table"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_contacts'];
            ?>
</h2>
	
	<table class="table table-profile-info">
		<?php 
            $_smarty_tpl->tpl_vars['oField'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oField']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aUserFieldContactValues']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['oField']->key => $_smarty_tpl->tpl_vars['oField']->value) {
                $_smarty_tpl->tpl_vars['oField']->_loop = true;
                ?>
			<tr>
				<td class="cell-label"><i class="icon-contact icon-contact-<?php 
                echo $_smarty_tpl->tpl_vars['oField']->value->getName();
                ?>
"></i> <?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['oField']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                ?>
:</td>
				<td><?php 
                echo $_smarty_tpl->tpl_vars['oField']->value->getValue(true, true);
                ?>
</td>
			</tr>
		<?php 
            }
            ?>
	</table>
<?php 
        }
        ?>


<?php 
        $_smarty_tpl->tpl_vars["aUserFieldContactValues"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserProfile']->value->getUserFieldValues(true, array('social')), null, 0);
        if ($_smarty_tpl->tpl_vars['aUserFieldContactValues']->value) {
            ?>
	<h2 class="header-table"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_social'];
            ?>
</h2>
	
	<table class="table table-profile-info">
		<?php 
            $_smarty_tpl->tpl_vars['oField'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oField']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aUserFieldContactValues']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['oField']->key => $_smarty_tpl->tpl_vars['oField']->value) {
                $_smarty_tpl->tpl_vars['oField']->_loop = true;
                ?>
			<tr>
				<td class="cell-label"><i class="icon-contact icon-contact-<?php 
                echo $_smarty_tpl->tpl_vars['oField']->value->getName();
                ?>
"></i> <?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['oField']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                ?>
:</td>
				<td><?php 
                echo $_smarty_tpl->tpl_vars['oField']->value->getValue(true, true);
                ?>
</td>
			</tr>
		<?php 
            }
            ?>
	</table>
<?php 
        }
        ?>


<?php 
        echo smarty_function_hook(array('run' => 'profile_whois_item', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl);
        ?>



<h2 class="header-table"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['profile_activity'];
        ?>
</h2>

<table class="table table-profile-info">

	<?php 
        if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('general.reg.invite') && $_smarty_tpl->tpl_vars['oUserInviteFrom']->value) {
            ?>
		<tr>
			<td class="cell-label"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_invite_from'];
            ?>
:</td>
			<td>							       						
				<a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUserInviteFrom']->value->getUserWebPath();
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['oUserInviteFrom']->value->getLogin();
            ?>
</a>&nbsp;         					
			</td>
		</tr>
	<?php 
        }
        ?>
	
	
	<?php 
        if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('general.reg.invite') && $_smarty_tpl->tpl_vars['aUsersInvite']->value) {
            ?>
		<tr>
			<td class="cell-label"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_invite_to'];
            ?>
:</td>
			<td>
				<?php 
            $_smarty_tpl->tpl_vars['oUserInvite'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oUserInvite']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aUsersInvite']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['oUserInvite']->key => $_smarty_tpl->tpl_vars['oUserInvite']->value) {
                $_smarty_tpl->tpl_vars['oUserInvite']->_loop = true;
                ?>
        						
					<a href="<?php 
                echo $_smarty_tpl->tpl_vars['oUserInvite']->value->getUserWebPath();
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['oUserInvite']->value->getLogin();
                ?>
</a>&nbsp; 
				<?php 
            }
            ?>
			</td>
		</tr>
	<?php 
        }
        ?>
	
	
	<?php 
        if ($_smarty_tpl->tpl_vars['aBlogsOwner']->value) {
            ?>
		<tr>
			<td class="cell-label"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_blogs_self'];
            ?>
:</td>
			<td>							
				<?php 
            $_smarty_tpl->tpl_vars['oBlog'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oBlog']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aBlogsOwner']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['oBlog']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['oBlog']->iteration = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['oBlog']->key => $_smarty_tpl->tpl_vars['oBlog']->value) {
                $_smarty_tpl->tpl_vars['oBlog']->_loop = true;
                $_smarty_tpl->tpl_vars['oBlog']->iteration++;
                $_smarty_tpl->tpl_vars['oBlog']->last = $_smarty_tpl->tpl_vars['oBlog']->iteration === $_smarty_tpl->tpl_vars['oBlog']->total;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['blog_owner']['last'] = $_smarty_tpl->tpl_vars['oBlog']->last;
                ?>
					<a href="<?php 
                echo $_smarty_tpl->tpl_vars['oBlog']->value->getUrlFull();
                ?>
"><?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['oBlog']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                ?>
</a><?php 
                if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['blog_owner']['last']) {
                    ?>
, <?php 
                }
                ?>
								      		
				<?php 
            }
            ?>
			</td>
		</tr>
	<?php 
        }
        ?>
	
	
	<?php 
        if ($_smarty_tpl->tpl_vars['aBlogAdministrators']->value) {
            ?>
		<tr>
			<td class="cell-label"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_blogs_administration'];
            ?>
:</td>
			<td>
				<?php 
            $_smarty_tpl->tpl_vars['oBlogUser'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oBlogUser']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aBlogAdministrators']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['oBlogUser']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['oBlogUser']->iteration = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['oBlogUser']->key => $_smarty_tpl->tpl_vars['oBlogUser']->value) {
                $_smarty_tpl->tpl_vars['oBlogUser']->_loop = true;
                $_smarty_tpl->tpl_vars['oBlogUser']->iteration++;
                $_smarty_tpl->tpl_vars['oBlogUser']->last = $_smarty_tpl->tpl_vars['oBlogUser']->iteration === $_smarty_tpl->tpl_vars['oBlogUser']->total;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['blog_user']['last'] = $_smarty_tpl->tpl_vars['oBlogUser']->last;
                ?>
					<?php 
                $_smarty_tpl->tpl_vars["oBlog"] = new Smarty_variable($_smarty_tpl->tpl_vars['oBlogUser']->value->getBlog(), null, 0);
                ?>
					<a href="<?php 
                echo $_smarty_tpl->tpl_vars['oBlog']->value->getUrlFull();
                ?>
"><?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['oBlog']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                ?>
</a><?php 
                if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['blog_user']['last']) {
                    ?>
, <?php 
                }
                ?>
				<?php 
            }
            ?>
			</td>
		</tr>
	<?php 
        }
        ?>
	
	
	<?php 
        if ($_smarty_tpl->tpl_vars['aBlogModerators']->value) {
            ?>
		<tr>
			<td class="cell-label"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_blogs_moderation'];
            ?>
:</td>
			<td>
				<?php 
            $_smarty_tpl->tpl_vars['oBlogUser'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oBlogUser']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aBlogModerators']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['oBlogUser']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['oBlogUser']->iteration = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['oBlogUser']->key => $_smarty_tpl->tpl_vars['oBlogUser']->value) {
                $_smarty_tpl->tpl_vars['oBlogUser']->_loop = true;
                $_smarty_tpl->tpl_vars['oBlogUser']->iteration++;
                $_smarty_tpl->tpl_vars['oBlogUser']->last = $_smarty_tpl->tpl_vars['oBlogUser']->iteration === $_smarty_tpl->tpl_vars['oBlogUser']->total;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['blog_user']['last'] = $_smarty_tpl->tpl_vars['oBlogUser']->last;
                ?>
					<?php 
                $_smarty_tpl->tpl_vars["oBlog"] = new Smarty_variable($_smarty_tpl->tpl_vars['oBlogUser']->value->getBlog(), null, 0);
                ?>
					<a href="<?php 
                echo $_smarty_tpl->tpl_vars['oBlog']->value->getUrlFull();
                ?>
"><?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['oBlog']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                ?>
</a><?php 
                if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['blog_user']['last']) {
                    ?>
, <?php 
                }
                ?>
				<?php 
            }
            ?>
			</td>
		</tr>
	<?php 
        }
        ?>
	
	
	<?php 
        if ($_smarty_tpl->tpl_vars['aBlogUsers']->value) {
            ?>
		<tr>
			<td class="cell-label"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_blogs_join'];
            ?>
:</td>
			<td>
				<?php 
            $_smarty_tpl->tpl_vars['oBlogUser'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oBlogUser']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aBlogUsers']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['oBlogUser']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['oBlogUser']->iteration = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['oBlogUser']->key => $_smarty_tpl->tpl_vars['oBlogUser']->value) {
                $_smarty_tpl->tpl_vars['oBlogUser']->_loop = true;
                $_smarty_tpl->tpl_vars['oBlogUser']->iteration++;
                $_smarty_tpl->tpl_vars['oBlogUser']->last = $_smarty_tpl->tpl_vars['oBlogUser']->iteration === $_smarty_tpl->tpl_vars['oBlogUser']->total;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['blog_user']['last'] = $_smarty_tpl->tpl_vars['oBlogUser']->last;
                ?>
					<?php 
                $_smarty_tpl->tpl_vars["oBlog"] = new Smarty_variable($_smarty_tpl->tpl_vars['oBlogUser']->value->getBlog(), null, 0);
                ?>
					<a href="<?php 
                echo $_smarty_tpl->tpl_vars['oBlog']->value->getUrlFull();
                ?>
"><?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['oBlog']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                ?>
</a><?php 
                if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['blog_user']['last']) {
                    ?>
, <?php 
                }
                ?>
				<?php 
            }
            ?>
			</td>
		</tr>
	<?php 
        }
        ?>

	
	<?php 
        echo smarty_function_hook(array('run' => 'profile_whois_activity_item', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl);
        ?>

	
	
	<tr>
		<td class="cell-label"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['profile_date_registration'];
        ?>
:</td>
		<td><?php 
        echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oUserProfile']->value->getDateRegister()), $_smarty_tpl);
        ?>
</td>
	</tr>	
	
	
	<?php 
        if ($_smarty_tpl->tpl_vars['oSession']->value) {
            ?>
				
		<tr>
			<td class="cell-label"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_date_last'];
            ?>
:</td>
			<td><?php 
            echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oSession']->value->getDateLast()), $_smarty_tpl);
            ?>
</td>
		</tr>
	<?php 
        }
        ?>
</table>



<?php 
        if ($_smarty_tpl->tpl_vars['aUsersFriend']->value) {
            ?>
	<h2 class="header-table mb-15"><a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getUserWebPath();
            ?>
friends/"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_friends'];
            ?>
</a> (<?php 
            echo $_smarty_tpl->tpl_vars['iCountFriendsUser']->value;
            ?>
)</h2>
	
	<?php 
            echo $_smarty_tpl->getSubTemplate('user_list_avatar.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('aUsersList' => $_smarty_tpl->tpl_vars['aUsersFriend']->value), 0);
            ?>

<?php 
        }
        ?>

<?php 
        echo smarty_function_hook(array('run' => 'profile_whois_item_end', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl);
        ?>


<?php 
        echo $_smarty_tpl->getSubTemplate('footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_55d3bee662e0b9_28203463($_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';
        }
        echo $_smarty_tpl->getSubTemplate('header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('menu' => 'people'), 0);
        ?>


<table class="table table-users">
	<thead>
	<tr>
		<th class="cell-name cell-tab"><div class="cell-tab-inner"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['user'];
        ?>
</div></th>
		<th>&nbsp;</th>
		<th class="cell-date cell-tab"><div class="cell-tab-inner active"><span><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['user_date_last'];
        ?>
</span></div></th>
		<th class="cell-rating cell-tab"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['user_rating'];
        ?>
</th>
	</tr>
	</thead>

	<tbody>
	<?php 
        if ($_smarty_tpl->tpl_vars['aUsersLast']->value) {
            ?>
		<?php 
            $_smarty_tpl->tpl_vars['oUserList'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oUserList']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aUsersLast']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['oUserList']->key => $_smarty_tpl->tpl_vars['oUserList']->value) {
                $_smarty_tpl->tpl_vars['oUserList']->_loop = true;
                ?>
			<?php 
                $_smarty_tpl->tpl_vars["oSession"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserList']->value->getSession(), null, 0);
                ?>
			<?php 
                $_smarty_tpl->tpl_vars["oUserNote"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserList']->value->getUserNote(), null, 0);
                ?>
			<tr>
				<td class="cell-name">
					<a href="<?php 
                echo $_smarty_tpl->tpl_vars['oUserList']->value->getUserWebPath();
                ?>
"><img src="<?php 
                echo $_smarty_tpl->tpl_vars['oUserList']->value->getProfileAvatarPath(48);
                ?>
" alt="avatar" class="avatar" /></a>
					<div class="name <?php 
                if (!$_smarty_tpl->tpl_vars['oUserList']->value->getProfileName()) {
                    ?>
no-realname<?php 
                }
                ?>
">
						<p class="username word-wrap"><a href="<?php 
                echo $_smarty_tpl->tpl_vars['oUserList']->value->getUserWebPath();
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['oUserList']->value->getLogin();
                ?>
</a></p>
						<?php 
                if ($_smarty_tpl->tpl_vars['oUserList']->value->getProfileName()) {
                    ?>
<p class="realname"><?php 
                    echo $_smarty_tpl->tpl_vars['oUserList']->value->getProfileName();
                    ?>
</p><?php 
                }
                ?>
					</div>
				</td>
				<td>
					<?php 
                if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
                    ?>
						<?php 
                    if ($_smarty_tpl->tpl_vars['oUserNote']->value) {
                        ?>
							<button type="button" class="button button-action button-action-note js-infobox" title="<?php 
                        echo htmlspecialchars($_smarty_tpl->tpl_vars['oUserNote']->value->getText(), ENT_QUOTES, 'UTF-8', true);
                        ?>
"><i class="icon-synio-comments-green"></i></button>
						<?php 
                    }
                    ?>
						<a href="<?php 
                    echo smarty_function_router(array('page' => 'talk'), $_smarty_tpl);
                    ?>
add/?talk_users=<?php 
                    echo $_smarty_tpl->tpl_vars['oUserList']->value->getLogin();
                    ?>
"><button type="submit"  class="button button-action button-action-send-message"><i class="icon-synio-send-message"></i><span><?php 
                    echo $_smarty_tpl->tpl_vars['aLang']->value['user_write_prvmsg'];
                    ?>
</span></button></a>
					<?php 
                }
                ?>
				</td>
				<td>
					<?php 
                if ($_smarty_tpl->tpl_vars['oSession']->value) {
                    ?>
						<?php 
                    echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oSession']->value->getDateLast(), 'hours_back' => "12", 'minutes_back' => "60", 'now' => "60", 'day' => "day H:i", 'format' => "j F, H:i"), $_smarty_tpl);
                    ?>

					<?php 
                }
                ?>
				</td>
				<td class="cell-rating <?php 
                if ($_smarty_tpl->tpl_vars['oUserList']->value->getRating() < 0) {
                    ?>
negative<?php 
                }
                ?>
"><strong><?php 
                echo $_smarty_tpl->tpl_vars['oUserList']->value->getRating();
                ?>
</strong></td>
			</tr>
		<?php 
            }
            ?>
	<?php 
        } else {
            ?>
	<tr>
		<td colspan="4">
			<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['user_empty'];
            ?>

		</td>
	</tr>
	<?php 
        }
        ?>
	</tbody>
</table>


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


<?php 
        echo $_smarty_tpl->getSubTemplate('footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_568441d9a26c14_48252014($_smarty_tpl)
    {
        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_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';
        }
        $_smarty_tpl->tpl_vars["oUser"] = new Smarty_variable($_smarty_tpl->tpl_vars['oTopic']->value->getUser(), null, 0);
        ?>

<h3 class="profile-page-header"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['topic_preview'];
        ?>
</h3>

<article class="topic topic-type-<?php 
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getType();
        ?>
">
	<header class="topic-header">
		<h1 class="topic-title">
			<?php 
        echo htmlspecialchars($_smarty_tpl->tpl_vars['oTopic']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
        ?>

		</h1>

		<div class="topic-info">
			<time datetime="<?php 
        echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oTopic']->value->getDateAdd(), 'format' => 'c'), $_smarty_tpl);
        ?>
" pubdate 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>
		</div>
	</header>

	<div class="topic-content text">
		<?php 
        echo smarty_function_hook(array('run' => 'topic_preview_content_begin', 'topic' => $_smarty_tpl->tpl_vars['oTopic']->value), $_smarty_tpl);
        ?>


		<?php 
        echo $_smarty_tpl->tpl_vars['oTopic']->value->getText();
        ?>


		<?php 
        echo smarty_function_hook(array('run' => 'topic_preview_content_end', 'topic' => $_smarty_tpl->tpl_vars['oTopic']->value), $_smarty_tpl);
        ?>

	</div>

	<footer class="topic-footer">
		<ul class="topic-tags">
			<li><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['block_tags'];
        ?>
:</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 
        }
        ?>
		</ul>

		<ul class="topic-info">
			<li class="topic-info-author"><a rel="author" href="<?php 
        echo $_smarty_tpl->tpl_vars['oUser']->value->getUserWebPath();
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['oUser']->value->getLogin();
        ?>
</a></li>
			<?php 
        echo smarty_function_hook(array('run' => 'topic_preview_show_info', 'topic' => $_smarty_tpl->tpl_vars['oTopic']->value), $_smarty_tpl);
        ?>

		</ul>

		<?php 
        echo smarty_function_hook(array('run' => 'topic_preview_show_end', 'topic' => $_smarty_tpl->tpl_vars['oTopic']->value), $_smarty_tpl);
        ?>

	</footer>
</article>


<button type="submit"  name="submit_topic_publish" class="button button-primary fl-r" onclick="jQuery('#submit_topic_publish').trigger('click');"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['topic_create_submit_publish'];
        ?>
</button>
<button type="submit"  name="submit_preview" onclick="jQuery('#text_preview').html('').hide(); return false;" class="button"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['topic_create_submit_preview_close'];
        ?>
</button>
<button type="submit"  name="submit_topic_save" class="button" onclick="jQuery('#submit_topic_save').trigger('click');"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['topic_create_submit_save'];
        ?>
</button><?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_55797af64c9b98_43364856($_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_hook')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php';
        }
        $_smarty_tpl->tpl_vars["sidebarPosition"] = new Smarty_variable('left', null, 0);
        $_smarty_tpl->tpl_vars["sMenuItemSelect"] = new Smarty_variable('profile', null, 0);
        echo $_smarty_tpl->getSubTemplate('header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('menu' => 'people'), 0);
        ?>


<?php 
        $_smarty_tpl->tpl_vars["oSession"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserProfile']->value->getSession(), null, 0);
        $_smarty_tpl->tpl_vars["oVote"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserProfile']->value->getVote(), null, 0);
        $_smarty_tpl->tpl_vars["oGeoTarget"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserProfile']->value->getGeoTarget(), null, 0);
        ?>


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

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




<div class="profile-info-about">
	<a href="<?php 
        echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getUserWebPath();
        ?>
" class="avatar"><img src="<?php 
        echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileAvatarPath(100);
        ?>
" alt="avatar" itemprop="photo" /></a>

	<h3><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['profile_about'];
        ?>
</h3>
	<?php 
        if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileAbout()) {
            ?>
	
		<p><?php 
            echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileAbout();
            ?>
</p>
	<?php 
        } else {
            ?>
		<p><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_about_empty'];
            ?>
</p>
	<?php 
        }
        ?>
	<br />
	<?php 
        if ($_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oUserCurrent']->value->getId() == $_smarty_tpl->tpl_vars['oUserProfile']->value->getId()) {
            ?>
		<a href="<?php 
            echo smarty_function_router(array('page' => 'settings'), $_smarty_tpl);
            ?>
" class="edit"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_about_edit'];
            ?>
</a>
	<?php 
        }
        ?>
</div>



<div class="wrapper">
	<div class="profile-left">
		<?php 
        $_smarty_tpl->tpl_vars["aUserFieldValues"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserProfile']->value->getUserFieldValues(true, array('')), null, 0);
        ?>

		<?php 
        if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileSex() != 'other' || $_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileBirthday() || $_smarty_tpl->tpl_vars['oGeoTarget']->value || $_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileAbout() || count($_smarty_tpl->tpl_vars['aUserFieldValues']->value)) {
            ?>
			<h2 class="header-table"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_privat'];
            ?>
</h2>
			
			
			<ul class="profile-dotted-list">		
				<?php 
            if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileSex() != 'other') {
                ?>
					<li>
						<span><?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['profile_sex'];
                ?>
:</span>
						<strong>
							<?php 
                if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileSex() == 'man') {
                    ?>
								<?php 
                    echo $_smarty_tpl->tpl_vars['aLang']->value['profile_sex_man'];
                    ?>

							<?php 
                } else {
                    ?>
								<?php 
                    echo $_smarty_tpl->tpl_vars['aLang']->value['profile_sex_woman'];
                    ?>

							<?php 
                }
                ?>
						</strong>
					</li>
				<?php 
            }
            ?>
					
					
				<?php 
            if ($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileBirthday()) {
                ?>
					<li>
						<span><?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['profile_birthday'];
                ?>
:</span>
						<strong><?php 
                echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileBirthday(), 'format' => "j F Y"), $_smarty_tpl);
                ?>
</strong>
					</li>
				<?php 
            }
            ?>
				
				
				<?php 
            if ($_smarty_tpl->tpl_vars['oGeoTarget']->value) {
                ?>
					<li>
						<span><?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['profile_place'];
                ?>
:</span>
						<strong itemprop="address" itemscope itemtype="http://data-vocabulary.org/Address">
							<?php 
                if ($_smarty_tpl->tpl_vars['oGeoTarget']->value->getCountryId()) {
                    ?>
								<a href="<?php 
                    echo smarty_function_router(array('page' => 'people'), $_smarty_tpl);
                    ?>
country/<?php 
                    echo $_smarty_tpl->tpl_vars['oGeoTarget']->value->getCountryId();
                    ?>
/" itemprop="country-name"><?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileCountry(), ENT_QUOTES, 'UTF-8', true);
                    ?>
</a><?php 
                    if ($_smarty_tpl->tpl_vars['oGeoTarget']->value->getCityId()) {
                        ?>
,<?php 
                    }
                    ?>
							<?php 
                }
                ?>
							
							<?php 
                if ($_smarty_tpl->tpl_vars['oGeoTarget']->value->getCityId()) {
                    ?>
								<a href="<?php 
                    echo smarty_function_router(array('page' => 'people'), $_smarty_tpl);
                    ?>
city/<?php 
                    echo $_smarty_tpl->tpl_vars['oGeoTarget']->value->getCityId();
                    ?>
/" itemprop="locality"><?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['oUserProfile']->value->getProfileCity(), ENT_QUOTES, 'UTF-8', true);
                    ?>
</a>
							<?php 
                }
                ?>
						</strong>
					</li>
				<?php 
            }
            ?>

				<?php 
            if ($_smarty_tpl->tpl_vars['aUserFieldValues']->value) {
                ?>
					<?php 
                $_smarty_tpl->tpl_vars['oField'] = new Smarty_Variable();
                $_smarty_tpl->tpl_vars['oField']->_loop = false;
                $_from = $_smarty_tpl->tpl_vars['aUserFieldValues']->value;
                if (!is_array($_from) && !is_object($_from)) {
                    settype($_from, 'array');
                }
                foreach ($_from as $_smarty_tpl->tpl_vars['oField']->key => $_smarty_tpl->tpl_vars['oField']->value) {
                    $_smarty_tpl->tpl_vars['oField']->_loop = true;
                    ?>
						<li>
							<span><i class="icon-contact icon-contact-<?php 
                    echo $_smarty_tpl->tpl_vars['oField']->value->getName();
                    ?>
"></i> <?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['oField']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                    ?>
:</span>
							<strong><?php 
                    echo $_smarty_tpl->tpl_vars['oField']->value->getValue(true, true);
                    ?>
</strong>
						</li>
					<?php 
                }
                ?>
				<?php 
            }
            ?>

				<?php 
            echo smarty_function_hook(array('run' => 'profile_whois_privat_item', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl);
            ?>

			</ul>
		<?php 
        }
        ?>

		<?php 
        echo smarty_function_hook(array('run' => 'profile_whois_item_after_privat', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl);
        ?>




		<h2 class="header-table"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['profile_activity'];
        ?>
</h2>

		<ul class="profile-dotted-list">

			<?php 
        if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('general.reg.invite') && $_smarty_tpl->tpl_vars['oUserInviteFrom']->value) {
            ?>
				<li>
					<span><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_invite_from'];
            ?>
:</span>
					<strong>							       						
						<a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUserInviteFrom']->value->getUserWebPath();
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['oUserInviteFrom']->value->getLogin();
            ?>
</a>&nbsp;         					
					</strong>
				</li>
			<?php 
        }
        ?>
			
			
			<?php 
        if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('general.reg.invite') && $_smarty_tpl->tpl_vars['aUsersInvite']->value) {
            ?>
				<li>
					<span><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_invite_to'];
            ?>
:</span>
					<strong>
						<?php 
            $_smarty_tpl->tpl_vars['oUserInvite'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oUserInvite']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aUsersInvite']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['oUserInvite']->key => $_smarty_tpl->tpl_vars['oUserInvite']->value) {
                $_smarty_tpl->tpl_vars['oUserInvite']->_loop = true;
                ?>
        						
							<a href="<?php 
                echo $_smarty_tpl->tpl_vars['oUserInvite']->value->getUserWebPath();
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['oUserInvite']->value->getLogin();
                ?>
</a>&nbsp; 
						<?php 
            }
            ?>
					</strong>
				</li>
			<?php 
        }
        ?>
			
			
			<?php 
        if ($_smarty_tpl->tpl_vars['aBlogsOwner']->value) {
            ?>
				<li>
					<span><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_blogs_self'];
            ?>
:</span>
					<strong>							
						<?php 
            $_smarty_tpl->tpl_vars['oBlog'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oBlog']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aBlogsOwner']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['oBlog']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['oBlog']->iteration = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['oBlog']->key => $_smarty_tpl->tpl_vars['oBlog']->value) {
                $_smarty_tpl->tpl_vars['oBlog']->_loop = true;
                $_smarty_tpl->tpl_vars['oBlog']->iteration++;
                $_smarty_tpl->tpl_vars['oBlog']->last = $_smarty_tpl->tpl_vars['oBlog']->iteration === $_smarty_tpl->tpl_vars['oBlog']->total;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['blog_owner']['last'] = $_smarty_tpl->tpl_vars['oBlog']->last;
                ?>
							<a href="<?php 
                echo $_smarty_tpl->tpl_vars['oBlog']->value->getUrlFull();
                ?>
"><?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['oBlog']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                ?>
</a><?php 
                if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['blog_owner']['last']) {
                    ?>
, <?php 
                }
                ?>
								      		
						<?php 
            }
            ?>
					</strong>
				</li>
			<?php 
        }
        ?>
			
			
			<?php 
        if ($_smarty_tpl->tpl_vars['aBlogAdministrators']->value) {
            ?>
				<li>
					<span><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_blogs_administration'];
            ?>
:</span>
					<strong>
						<?php 
            $_smarty_tpl->tpl_vars['oBlogUser'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oBlogUser']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aBlogAdministrators']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['oBlogUser']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['oBlogUser']->iteration = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['oBlogUser']->key => $_smarty_tpl->tpl_vars['oBlogUser']->value) {
                $_smarty_tpl->tpl_vars['oBlogUser']->_loop = true;
                $_smarty_tpl->tpl_vars['oBlogUser']->iteration++;
                $_smarty_tpl->tpl_vars['oBlogUser']->last = $_smarty_tpl->tpl_vars['oBlogUser']->iteration === $_smarty_tpl->tpl_vars['oBlogUser']->total;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['blog_user']['last'] = $_smarty_tpl->tpl_vars['oBlogUser']->last;
                ?>
							<?php 
                $_smarty_tpl->tpl_vars["oBlog"] = new Smarty_variable($_smarty_tpl->tpl_vars['oBlogUser']->value->getBlog(), null, 0);
                ?>
							<a href="<?php 
                echo $_smarty_tpl->tpl_vars['oBlog']->value->getUrlFull();
                ?>
"><?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['oBlog']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                ?>
</a><?php 
                if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['blog_user']['last']) {
                    ?>
, <?php 
                }
                ?>
						<?php 
            }
            ?>
					</strong>
				</li>
			<?php 
        }
        ?>
			
			
			<?php 
        if ($_smarty_tpl->tpl_vars['aBlogModerators']->value) {
            ?>
				<li>
					<span><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_blogs_moderation'];
            ?>
:</span>
					<strong>
						<?php 
            $_smarty_tpl->tpl_vars['oBlogUser'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oBlogUser']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aBlogModerators']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['oBlogUser']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['oBlogUser']->iteration = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['oBlogUser']->key => $_smarty_tpl->tpl_vars['oBlogUser']->value) {
                $_smarty_tpl->tpl_vars['oBlogUser']->_loop = true;
                $_smarty_tpl->tpl_vars['oBlogUser']->iteration++;
                $_smarty_tpl->tpl_vars['oBlogUser']->last = $_smarty_tpl->tpl_vars['oBlogUser']->iteration === $_smarty_tpl->tpl_vars['oBlogUser']->total;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['blog_user']['last'] = $_smarty_tpl->tpl_vars['oBlogUser']->last;
                ?>
							<?php 
                $_smarty_tpl->tpl_vars["oBlog"] = new Smarty_variable($_smarty_tpl->tpl_vars['oBlogUser']->value->getBlog(), null, 0);
                ?>
							<a href="<?php 
                echo $_smarty_tpl->tpl_vars['oBlog']->value->getUrlFull();
                ?>
"><?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['oBlog']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                ?>
</a><?php 
                if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['blog_user']['last']) {
                    ?>
, <?php 
                }
                ?>
						<?php 
            }
            ?>
					</strong>
				</li>
			<?php 
        }
        ?>
			
			
			<?php 
        if ($_smarty_tpl->tpl_vars['aBlogUsers']->value) {
            ?>
				<li>
					<span><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_blogs_join'];
            ?>
:</span>
					<strong>
						<?php 
            $_smarty_tpl->tpl_vars['oBlogUser'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oBlogUser']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aBlogUsers']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            $_smarty_tpl->tpl_vars['oBlogUser']->total = $_smarty_tpl->_count($_from);
            $_smarty_tpl->tpl_vars['oBlogUser']->iteration = 0;
            foreach ($_from as $_smarty_tpl->tpl_vars['oBlogUser']->key => $_smarty_tpl->tpl_vars['oBlogUser']->value) {
                $_smarty_tpl->tpl_vars['oBlogUser']->_loop = true;
                $_smarty_tpl->tpl_vars['oBlogUser']->iteration++;
                $_smarty_tpl->tpl_vars['oBlogUser']->last = $_smarty_tpl->tpl_vars['oBlogUser']->iteration === $_smarty_tpl->tpl_vars['oBlogUser']->total;
                $_smarty_tpl->tpl_vars['smarty']->value['foreach']['blog_user']['last'] = $_smarty_tpl->tpl_vars['oBlogUser']->last;
                ?>
							<?php 
                $_smarty_tpl->tpl_vars["oBlog"] = new Smarty_variable($_smarty_tpl->tpl_vars['oBlogUser']->value->getBlog(), null, 0);
                ?>
							<a href="<?php 
                echo $_smarty_tpl->tpl_vars['oBlog']->value->getUrlFull();
                ?>
"><?php 
                echo htmlspecialchars($_smarty_tpl->tpl_vars['oBlog']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                ?>
</a><?php 
                if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['blog_user']['last']) {
                    ?>
, <?php 
                }
                ?>
						<?php 
            }
            ?>
					</strong>
				</li>
			<?php 
        }
        ?>

			
			<?php 
        echo smarty_function_hook(array('run' => 'profile_whois_activity_item', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl);
        ?>

			
			
			<li>
				<span><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['profile_date_registration'];
        ?>
:</span>
				<strong><?php 
        echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oUserProfile']->value->getDateRegister()), $_smarty_tpl);
        ?>
</strong>
			</li>	
			
			
			<?php 
        if ($_smarty_tpl->tpl_vars['oSession']->value) {
            ?>
				
				<li>
					<span><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_date_last'];
            ?>
:</span>
					<strong><?php 
            echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oSession']->value->getDateLast()), $_smarty_tpl);
            ?>
</strong>
				</li>
			<?php 
        }
        ?>
		</ul>



		<?php 
        if ($_smarty_tpl->tpl_vars['aUsersFriend']->value) {
            ?>
			<h2 class="header-table mb-15"><a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getUserWebPath();
            ?>
friends/"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_friends'];
            ?>
</a> <span><?php 
            echo $_smarty_tpl->tpl_vars['iCountFriendsUser']->value;
            ?>
</span></h2>
			
			<?php 
            echo $_smarty_tpl->getSubTemplate('user_list_avatar.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('aUsersList' => $_smarty_tpl->tpl_vars['aUsersFriend']->value), 0);
            ?>

		<?php 
        }
        ?>

		<?php 
        echo smarty_function_hook(array('run' => 'profile_whois_item_end', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl);
        ?>

	</div> 
	<!-- /profile-left -->
	
	
	
	
	
	<div class="profile-right">
		<?php 
        $_smarty_tpl->tpl_vars["aUserFieldContactValues"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserProfile']->value->getUserFieldValues(true, array('contact')), null, 0);
        ?>
		<?php 
        if ($_smarty_tpl->tpl_vars['aUserFieldContactValues']->value) {
            ?>
			<h2 class="header-table"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_contacts'];
            ?>
</h2>
			
			<ul class="profile-contact-list">
				<?php 
            $_smarty_tpl->tpl_vars['oField'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oField']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aUserFieldContactValues']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['oField']->key => $_smarty_tpl->tpl_vars['oField']->value) {
                $_smarty_tpl->tpl_vars['oField']->_loop = true;
                ?>
					<li><i class="icon-contact icon-contact-<?php 
                echo $_smarty_tpl->tpl_vars['oField']->value->getName();
                ?>
" title="<?php 
                echo $_smarty_tpl->tpl_vars['oField']->value->getName();
                ?>
"></i> <?php 
                echo $_smarty_tpl->tpl_vars['oField']->value->getValue(true, true);
                ?>
</li>
				<?php 
            }
            ?>
			</ul>
		<?php 
        }
        ?>


		<?php 
        $_smarty_tpl->tpl_vars["aUserFieldContactValues"] = new Smarty_variable($_smarty_tpl->tpl_vars['oUserProfile']->value->getUserFieldValues(true, array('social')), null, 0);
        ?>
		<?php 
        if ($_smarty_tpl->tpl_vars['aUserFieldContactValues']->value) {
            ?>
			<h2 class="header-table"><?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['profile_social'];
            ?>
</h2>
			
			<ul class="profile-contact-list">
				<?php 
            $_smarty_tpl->tpl_vars['oField'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oField']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aUserFieldContactValues']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['oField']->key => $_smarty_tpl->tpl_vars['oField']->value) {
                $_smarty_tpl->tpl_vars['oField']->_loop = true;
                ?>
					<li><i class="icon-contact icon-contact-<?php 
                echo $_smarty_tpl->tpl_vars['oField']->value->getName();
                ?>
" title="<?php 
                echo $_smarty_tpl->tpl_vars['oField']->value->getName();
                ?>
"></i> <?php 
                echo $_smarty_tpl->tpl_vars['oField']->value->getValue(true, true);
                ?>
</li>
				<?php 
            }
            ?>
			</ul>
		<?php 
        }
        ?>
		
		<?php 
        echo smarty_function_hook(array('run' => 'profile_whois_item', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl);
        ?>

	</div>
</div>




<?php 
        echo $_smarty_tpl->getSubTemplate('footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
    }
    function content_557843718c5505_69682106($_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 (count($_smarty_tpl->tpl_vars['aQuestionList']->value) > 0) {
            ?>

	<?php 
            $_smarty_tpl->tpl_vars['oQuestion'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oQuestion']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aQuestionList']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['oQuestion']->key => $_smarty_tpl->tpl_vars['oQuestion']->value) {
                $_smarty_tpl->tpl_vars['oQuestion']->_loop = true;
                ?>

		<article class="topic topic-type-photoset js-topic">
		<header class="topic-header">
			<a href="<?php 
                echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl);
                ?>
receptiondesk/question/<?php 
                echo $_smarty_tpl->tpl_vars['oQuestion']->value->getId();
                ?>
.html" class="button button-primary fl-r"><?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_answer'];
                ?>
</a>
			<h2 class="topic-title word-wrap"> 
				#<?php 
                echo $_smarty_tpl->tpl_vars['oQuestion']->value->getId();
                ?>
 <span>&raquo;</span> 
				<a href="<?php 
                echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl);
                ?>
receptiondesk/category/<?php 
                echo $_smarty_tpl->tpl_vars['oQuestion']->value->getCategory()->getUrl();
                ?>
/"><?php 
                echo $_smarty_tpl->tpl_vars['oQuestion']->value->getCategory()->getTitle();
                ?>
</a> <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);
                ?>

			<?php 
                if ($_smarty_tpl->tpl_vars['oQuestion']->value->getTextHide()) {
                    ?>
				<i class="icon-synio-topic-draft js-tip-help" title="<?php 
                    echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_answer_create_text_hide_notice'];
                    ?>
"></i>
			<?php 
                }
                ?>
			</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();
                    if ($_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorMailHide()) {
                        ?>
 <span>(<?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_receptiondesk_list_hide'];
                        ?>
)</span><?php 
                    }
                    ?>
 <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>

	<?php 
                if ($_smarty_tpl->tpl_vars['oQuestion']->value->getAnswerText()) {
                    ?>
		<header class="topic-header">
			<div class="topic-info">
				<?php 
                    echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_admin_answer_create_date'];
                    ?>
 <?php 
                    echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oQuestion']->value->getAnswerDateAdd(), 'format' => "j F Y, H:i"), $_smarty_tpl);
                    ?>

			</div>
		</header>
		<div class="stream-comment-preview">
			<?php 
                    echo $_smarty_tpl->tpl_vars['oQuestion']->value->getAnswerText();
                    ?>

		</div>
		<hr>
	<?php 
                }
                ?>

		<div class="topic-photo-images">
			<ul id="topic-photo-images">
			<?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>

	<?php 
            }
            ?>

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

<?php 
        } else {
            ?>
	<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_questions_list_empty'];
            ?>

<?php 
        }
    }
    function content_5684d6cc1437f6_57521344($_smarty_tpl)
    {
        if (!is_callable('smarty_function_router')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.router.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_hook')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php';
        }
        $_smarty_tpl->tpl_vars["oUser"] = new Smarty_variable($_smarty_tpl->tpl_vars['oComment']->value->getUser(), null, 0);
        $_smarty_tpl->tpl_vars["oVote"] = new Smarty_variable($_smarty_tpl->tpl_vars['oComment']->value->getVote(), null, 0);
        $_smarty_tpl->tpl_vars["oId"] = new Smarty_variable($_smarty_tpl->tpl_vars['oComment']->value->getTarget(), null, 0);
        ?>

<section id="comment_id_<?php 
        echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
        ?>
" class="comment
														<?php 
        if ($_smarty_tpl->tpl_vars['oComment']->value->isBad()) {
            ?>
															comment-bad
														<?php 
        }
        ?>
														<?php 
        if ($_smarty_tpl->tpl_vars['oComment']->value->getDelete()) {
            ?>
															comment-deleted
														<?php 
        } elseif ($_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oComment']->value->getUserId() == $_smarty_tpl->tpl_vars['oUserCurrent']->value->getId()) {
            ?>
															comment-self
														<?php 
        } elseif ($_smarty_tpl->tpl_vars['sDateReadLast']->value <= $_smarty_tpl->tpl_vars['oComment']->value->getDate()) {
            ?>
															comment-new
														<?php 
        }
        ?>
														">
	<?php 
        if (!$_smarty_tpl->tpl_vars['oComment']->value->getDelete() || $_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oUserCurrent']->value->isGlobalModerator() || $_smarty_tpl->tpl_vars['bOneComment']->value || $_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator()) {
            ?>
		<a name="comment<?php 
            echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
            ?>
"></a>
		<div class="folding fa fa-minus-square" id="folding"></div>

		<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" class="comment-avatar" /></a>


		<ul class="comment-info">
			<li class="comment-author">
				<a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUser']->value->getUserWebPath();
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['oUser']->value->getLogin();
            ?>
</a>
			</li>
			<li class="comment-date">
				<a href="<?php 
            if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('module.comment.nested_per_page')) {
                echo smarty_function_router(array('page' => 'comments'), $_smarty_tpl);
            } else {
                ?>
#comment<?php 
            }
            echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
            ?>
" class="link-dotted" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['comment_url_notice'];
            ?>
">
					<time datetime="<?php 
            echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oComment']->value->getDate(), 'format' => 'c'), $_smarty_tpl);
            ?>
"><?php 
            echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oComment']->value->getDate(), 'format' => "j F Y, H:i"), $_smarty_tpl);
            ?>
</time>
				</a>
			</li>

			<?php 
            if ($_smarty_tpl->tpl_vars['oComment']->value->getPid()) {
                ?>
				<li class="goto-comment-parent"><a href="#" onclick="ls.comments.goToParentComment(<?php 
                echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                ?>
,<?php 
                echo $_smarty_tpl->tpl_vars['oComment']->value->getPid();
                ?>
); return false;" title="<?php 
                echo $_smarty_tpl->tpl_vars['aLang']->value['comment_goto_parent'];
                ?>
">↑</a></li>
			<?php 
            }
            ?>
			<li class="goto-comment-child"><a href="#" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['comment_goto_child'];
            ?>
">↓</a></li>




			<?php 
            if ($_smarty_tpl->tpl_vars['oUserCurrent']->value && !$_smarty_tpl->tpl_vars['bNoCommentFavourites']->value) {
                ?>
				<li class="comment-favourite">
					<div onclick="return ls.favourite.toggle(<?php 
                echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                ?>
,this,'comment');" class="favourite <?php 
                if ($_smarty_tpl->tpl_vars['oComment']->value->getIsFavourite()) {
                    ?>
active<?php 
                }
                ?>
"><i class="favourite-icon fa fa-heart"></i></div>
					<span class="favourite-count" id="fav_count_comment_<?php 
                echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                ?>
"><?php 
                if ($_smarty_tpl->tpl_vars['oComment']->value->getCountFavourite() > 0) {
                    echo $_smarty_tpl->tpl_vars['oComment']->value->getCountFavourite();
                }
                ?>
</span>
				</li>
			<?php 
            }
            ?>
		</ul>


		<div id="comment_content_id_<?php 
            echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
            ?>
" class="comment-content text">
			<?php 
            if ($_smarty_tpl->tpl_vars['oComment']->value->isBad()) {
                ?>
				<span onclick="children[0].style.display = 'block'; children[1].style.display='none' "><span style="display: none;"><?php 
                echo $_smarty_tpl->tpl_vars['oComment']->value->getText();
                ?>
</span><a href="#" onclick="return false">Комментарий скрыт. Кликните, чтобы раскрыть.</a></span>
			<?php 
            } else {
                ?>
				<?php 
                echo $_smarty_tpl->tpl_vars['oComment']->value->getText();
                ?>

			<?php 
            }
            ?>
		</div>


		<?php 
            if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) {
                ?>
			<ul class="comment-actions">
				<?php 
                if (!$_smarty_tpl->tpl_vars['oComment']->value->getDelete() && !$_smarty_tpl->tpl_vars['bAllowNewComment']->value) {
                    ?>
					<li><a href="#" onclick="ls.comments.toggleCommentForm(<?php 
                    echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                    ?>
); return false;" class="reply-link link-dotted"><?php 
                    echo $_smarty_tpl->tpl_vars['aLang']->value['comment_answer'];
                    ?>
</a></li>
				<?php 
                }
                if ($_smarty_tpl->tpl_vars['oComment']->value->getTargetType() != 'talk') {
                    ?>
				<?php 
                    if (!$_smarty_tpl->tpl_vars['oComment']->value->getDelete() && $_smarty_tpl->tpl_vars['oUserCurrent']->value && ($_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator() || $_smarty_tpl->tpl_vars['oUserCurrent']->value->isGlobalModerator() && $_smarty_tpl->tpl_vars['oComment']->value->getTarget()->getBlog()->getType() == "open")) {
                        ?>
					<li><a href="#" class="comment-delete link-dotted" onclick="ls.comments.toggle(this,<?php 
                        echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                        ?>
); return false;"><?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['comment_delete'];
                        ?>
</a></li>
				<?php 
                    }
                    ?>

				<?php 
                    if ($_smarty_tpl->tpl_vars['oComment']->value->getDelete() && $_smarty_tpl->tpl_vars['oUserCurrent']->value && ($_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator() || $_smarty_tpl->tpl_vars['oUserCurrent']->value->isGlobalModerator())) {
                        ?>
					<li><a href="#" class="comment-repair link-dotted" onclick="ls.comments.toggle(this,<?php 
                        echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                        ?>
); return false;"><?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['comment_repair'];
                        ?>
</a></li>
				<?php 
                    }
                }
                ?>
				<?php 
                echo smarty_function_hook(array('run' => 'comment_action', 'comment' => $_smarty_tpl->tpl_vars['oComment']->value), $_smarty_tpl);
                ?>

				<?php 
                if ($_smarty_tpl->tpl_vars['oComment']->value->getTargetType() != 'talk') {
                    ?>
				<li style="margin-right: 0px;" id="vote_area_comment_<?php 
                    echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                    ?>
" class="comment-vote vote
																		<?php 
                    if ($_smarty_tpl->tpl_vars['oComment']->value->getRating() > 0) {
                        ?>
																			vote-count-positive
																		<?php 
                    } elseif ($_smarty_tpl->tpl_vars['oComment']->value->getRating() < 0) {
                        ?>
																			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 
                        } else {
                            ?>
																				voted-down
																			<?php 
                        }
                        ?>
																		<?php 
                    }
                    ?>
">
					
					<div class="vote-up" onclick="return ls.vote.vote(<?php 
                    echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                    ?>
,this,1,'comment');"><i class="fa fa-arrow-up"></i></div>
					<span class="vote-count" id="vote_total_comment_<?php 
                    echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                    ?>
"><?php 
                    if ($_smarty_tpl->tpl_vars['oComment']->value->getRating() > 0) {
                        ?>
+<?php 
                    }
                    echo $_smarty_tpl->tpl_vars['oComment']->value->getRating();
                    ?>
</span>
					<div class="vote-down" onclick="return ls.vote.vote(<?php 
                    echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                    ?>
,this,-1,'comment');"><i class="fa fa-arrow-down"></i></div>
				</li>
			<?php 
                }
                ?>
			</ul>
		<?php 
            }
            ?>
	<?php 
        } else {
            ?>
		<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['comment_was_delete'];
            ?>

	<?php 
        }
        ?>
</section>
<?php 
    }
    function content_5684d6cb647bc7_02769927($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_truncate')) {
            include '/var/www/bunker/engine/lib/external/Smarty/libs/plugins/modifier.truncate.php';
        }
        if (!is_callable('smarty_function_router')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.router.php';
        }
        if (!is_callable('smarty_function_date_format')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/function.date_format.php';
        }
        if (!is_callable('smarty_modifier_declension')) {
            include '/var/www/bunker//engine/modules/viewer/plugs/modifier.declension.php';
        }
        ?>
<ul class="item-list">
	<?php 
        $_smarty_tpl->tpl_vars['oComment'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['oComment']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['aComments']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['oComment']->key => $_smarty_tpl->tpl_vars['oComment']->value) {
            $_smarty_tpl->tpl_vars['oComment']->_loop = true;
            ?>
		<?php 
            $_smarty_tpl->tpl_vars["oUser"] = new Smarty_variable($_smarty_tpl->tpl_vars['oComment']->value->getUser(), null, 0);
            ?>
		<?php 
            $_smarty_tpl->tpl_vars["oTopic"] = new Smarty_variable($_smarty_tpl->tpl_vars['oComment']->value->getTarget(), null, 0);
            ?>
		<?php 
            $_smarty_tpl->tpl_vars["oBlog"] = new Smarty_variable($_smarty_tpl->tpl_vars['oTopic']->value->getBlog(), null, 0);
            ?>
		
		<li class="js-title-comment" title="<?php 
            echo htmlspecialchars(smarty_modifier_truncate(trim(preg_replace('!<[^>]*?>!', ' ', $_smarty_tpl->tpl_vars['oComment']->value->getText())), 100, '...'), ENT_QUOTES, 'UTF-8', true);
            ?>
">

			
			<a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUser']->value->getUserWebPath();
            ?>
" class="author"><?php 
            echo $_smarty_tpl->tpl_vars['oUser']->value->getLogin();
            ?>
</a> в
			<a href="<?php 
            echo $_smarty_tpl->tpl_vars['oBlog']->value->getUrlFull();
            ?>
" class="blog-name"><?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['oBlog']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
            ?>
</a>:<br>
			<a href="<?php 
            if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('module.comment.nested_per_page')) {
                echo smarty_function_router(array('page' => 'comments'), $_smarty_tpl);
            } else {
                echo $_smarty_tpl->tpl_vars['oTopic']->value->getUrl();
                ?>
#comment<?php 
            }
            echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
            ?>
"><?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['oTopic']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
            ?>
</a>
			
			<p>
				<time datetime="<?php 
            echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oComment']->value->getDate(), 'format' => 'c'), $_smarty_tpl);
            ?>
"><?php 
            echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oComment']->value->getDate(), 'hours_back' => "12", 'minutes_back' => "60", 'now' => "60", 'day' => "day H:i", 'format' => "j F Y, H:i"), $_smarty_tpl);
            ?>
</time> |
				<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getCountComment();
            ?>
 <?php 
            echo smarty_modifier_declension($_smarty_tpl->tpl_vars['oTopic']->value->getCountComment(), $_smarty_tpl->tpl_vars['aLang']->value['comment_declension'], 'russian');
            ?>

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


<footer>
	<a href="<?php 
        echo smarty_function_router(array('page' => 'comments'), $_smarty_tpl);
        ?>
"><?php 
        echo $_smarty_tpl->tpl_vars['aLang']->value['block_stream_comments_all'];
        ?>
</a> | <a href="<?php 
        echo smarty_function_router(array('page' => 'rss'), $_smarty_tpl);
        ?>
allcomments/">RSS</a>
</footer><?php 
    }
    function content_55d3380f02c430_05474315($_smarty_tpl)
    {
        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_truncate')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/lib/external/Smarty/libs/plugins/modifier.truncate.php';
        }
        if (!is_callable('smarty_function_hook')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php';
        }
        if (!is_callable('smarty_function_json')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.json.php';
        }
        if (count($_smarty_tpl->tpl_vars['aStreamEvents']->value)) {
            ?>
	<?php 
            $_smarty_tpl->tpl_vars['oStreamEvent'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oStreamEvent']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aStreamEvents']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['oStreamEvent']->key => $_smarty_tpl->tpl_vars['oStreamEvent']->value) {
                $_smarty_tpl->tpl_vars['oStreamEvent']->_loop = true;
                ?>
		
		<?php 
                $_smarty_tpl->tpl_vars['oTarget'] = new Smarty_variable($_smarty_tpl->tpl_vars['oStreamEvent']->value->getTarget(), null, 0);
                ?>

		<?php 
                ob_start();
                echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oStreamEvent']->value->getDateAdded(), 'format' => "j F Y"), $_smarty_tpl);
                $_tmp1 = ob_get_clean();
                if ($_tmp1 != $_smarty_tpl->tpl_vars['sDateLast']->value) {
                    ?>
			<?php 
                    ob_start();
                    echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oStreamEvent']->value->getDateAdded(), 'format' => "j F Y"), $_smarty_tpl);
                    $_tmp2 = ob_get_clean();
                    $_smarty_tpl->tpl_vars['sDateLast'] = new Smarty_variable($_tmp2, null, 0);
                    ?>
			
			<li class="stream-header-date">
				<?php 
                    ob_start();
                    echo smarty_function_date_format(array('date' => time(), 'format' => "j F Y"), $_smarty_tpl);
                    $_tmp3 = ob_get_clean();
                    if ($_tmp3 == $_smarty_tpl->tpl_vars['sDateLast']->value) {
                        ?>
					<?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['today'];
                        ?>

				<?php 
                    } else {
                        ?>
					<?php 
                        echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oStreamEvent']->value->getDateAdded(), 'format' => "j F Y"), $_smarty_tpl);
                        ?>

				<?php 
                    }
                    ?>
			</li>
		<?php 
                }
                ?>

		<?php 
                $_smarty_tpl->tpl_vars['oUser'] = new Smarty_variable($_smarty_tpl->tpl_vars['oStreamEvent']->value->getUser(), null, 0);
                ?>

		<li class="stream-item stream-item-type-<?php 
                echo $_smarty_tpl->tpl_vars['oStreamEvent']->value->getEventType();
                ?>
">
			<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" class="avatar" /></a>
			
			<p class="info"><a href="<?php 
                echo $_smarty_tpl->tpl_vars['oUser']->value->getUserWebPath();
                ?>
"><strong><?php 
                echo $_smarty_tpl->tpl_vars['oUser']->value->getLogin();
                ?>
</strong></a> ·
			<span class="date" title="<?php 
                echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oStreamEvent']->value->getDateAdded()), $_smarty_tpl);
                ?>
"><?php 
                echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oStreamEvent']->value->getDateAdded(), 'hours_back' => "12", 'minutes_back' => "60", 'now' => "60", 'day' => "day H:i", 'format' => "j F Y, H:i"), $_smarty_tpl);
                ?>
</span></p>

		
			<?php 
                if ($_smarty_tpl->tpl_vars['oStreamEvent']->value->getEventType() == 'add_topic') {
                    ?>
				<?php 
                    if ($_smarty_tpl->tpl_vars['oUser']->value->getProfileSex() != 'woman') {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_add_topic'];
                        ?>
 <?php 
                    } else {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_add_topic_female'];
                        ?>
 <?php 
                    }
                    ?>
 
				<a href="<?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getUrl();
                    ?>
"><?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['oTarget']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                    ?>
</a>
			<?php 
                } elseif ($_smarty_tpl->tpl_vars['oStreamEvent']->value->getEventType() == 'add_comment') {
                    ?>
				<?php 
                    if ($_smarty_tpl->tpl_vars['oUser']->value->getProfileSex() != 'woman') {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_add_comment'];
                        ?>
 <?php 
                    } else {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_add_comment_female'];
                        ?>
 <?php 
                    }
                    ?>
 
				<a href="<?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getTarget()->getUrl();
                    ?>
#comment<?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getId();
                    ?>
"><?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['oTarget']->value->getTarget()->getTitle(), ENT_QUOTES, 'UTF-8', true);
                    ?>
</a>
				<?php 
                    $_smarty_tpl->tpl_vars['sTextEvent'] = new Smarty_variable(smarty_modifier_truncate(preg_replace('!<[^>]*?>!', ' ', $_smarty_tpl->tpl_vars['oTarget']->value->getText()), 200), null, 0);
                    ?>
				<?php 
                    if (trim($_smarty_tpl->tpl_vars['sTextEvent']->value)) {
                        ?>
					<div class="stream-comment-preview"><?php 
                        echo $_smarty_tpl->tpl_vars['sTextEvent']->value;
                        ?>
</div>
				<?php 
                    }
                    ?>
			<?php 
                } elseif ($_smarty_tpl->tpl_vars['oStreamEvent']->value->getEventType() == 'add_blog') {
                    ?>
				<?php 
                    if ($_smarty_tpl->tpl_vars['oUser']->value->getProfileSex() != 'woman') {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_add_blog'];
                        ?>
 <?php 
                    } else {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_add_blog_female'];
                        ?>
 <?php 
                    }
                    ?>
 
				<a href="<?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getUrlFull();
                    ?>
"><?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['oTarget']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                    ?>
</a>
			<?php 
                } elseif ($_smarty_tpl->tpl_vars['oStreamEvent']->value->getEventType() == 'vote_blog') {
                    ?>
				<?php 
                    if ($_smarty_tpl->tpl_vars['oUser']->value->getProfileSex() != 'woman') {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_vote_blog'];
                        ?>
 <?php 
                    } else {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_vote_blog_female'];
                        ?>
 <?php 
                    }
                    ?>
 
				<a href="<?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getUrlFull();
                    ?>
"><?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['oTarget']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                    ?>
</a>
			<?php 
                } elseif ($_smarty_tpl->tpl_vars['oStreamEvent']->value->getEventType() == 'vote_topic') {
                    ?>
				<?php 
                    if ($_smarty_tpl->tpl_vars['oUser']->value->getProfileSex() != 'woman') {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_vote_topic'];
                        ?>
 <?php 
                    } else {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_vote_topic_female'];
                        ?>
 <?php 
                    }
                    ?>
 
				<a href="<?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getUrl();
                    ?>
"><?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['oTarget']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                    ?>
</a>
			<?php 
                } elseif ($_smarty_tpl->tpl_vars['oStreamEvent']->value->getEventType() == 'vote_comment') {
                    ?>
				<?php 
                    if ($_smarty_tpl->tpl_vars['oUser']->value->getProfileSex() != 'woman') {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_vote_comment'];
                        ?>
 <?php 
                    } else {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_vote_comment_female'];
                        ?>
 <?php 
                    }
                    ?>
 
				<a href="<?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getTarget()->getUrl();
                    ?>
#comment<?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getId();
                    ?>
"><?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['oTarget']->value->getTarget()->getTitle(), ENT_QUOTES, 'UTF-8', true);
                    ?>
</a>
			<?php 
                } elseif ($_smarty_tpl->tpl_vars['oStreamEvent']->value->getEventType() == 'vote_user') {
                    ?>
				<?php 
                    if ($_smarty_tpl->tpl_vars['oUser']->value->getProfileSex() != 'woman') {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_vote_user'];
                        ?>
 <?php 
                    } else {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_vote_user_female'];
                        ?>
 <?php 
                    }
                    ?>
 
				<span class="user-avatar user-avatar-n">
					<a href="<?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getUserWebPath();
                    ?>
"><img src="<?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getProfileAvatarPath(24);
                    ?>
" alt="avatar" /></a>
					<a href="<?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getUserWebPath();
                    ?>
"><?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getLogin();
                    ?>
</a>
				</span>
			<?php 
                } elseif ($_smarty_tpl->tpl_vars['oStreamEvent']->value->getEventType() == 'join_blog') {
                    ?>
				<?php 
                    if ($_smarty_tpl->tpl_vars['oUser']->value->getProfileSex() != 'woman') {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_join_blog'];
                        ?>
 <?php 
                    } else {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_join_blog_female'];
                        ?>
 <?php 
                    }
                    ?>
 
				<a href="<?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getUrlFull();
                    ?>
"><?php 
                    echo htmlspecialchars($_smarty_tpl->tpl_vars['oTarget']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
                    ?>
</a>
			<?php 
                } elseif ($_smarty_tpl->tpl_vars['oStreamEvent']->value->getEventType() == 'add_friend') {
                    ?>
				<?php 
                    if ($_smarty_tpl->tpl_vars['oUser']->value->getProfileSex() != 'woman') {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_add_friend'];
                        ?>
 <?php 
                    } else {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_add_friend_female'];
                        ?>
 <?php 
                    }
                    ?>
				<span class="user-avatar user-avatar-n">
					<a href="<?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getUserWebPath();
                    ?>
"><img src="<?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getProfileAvatarPath(24);
                    ?>
" alt="avatar" /></a>
					<a href="<?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getUserWebPath();
                    ?>
"><?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getLogin();
                    ?>
</a>
				</span>
			<?php 
                } elseif ($_smarty_tpl->tpl_vars['oStreamEvent']->value->getEventType() == 'add_wall') {
                    ?>
				<?php 
                    if ($_smarty_tpl->tpl_vars['oUser']->value->getProfileSex() != 'woman') {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_add_wall'];
                        ?>
 <?php 
                    } else {
                        ?>
 <?php 
                        echo $_smarty_tpl->tpl_vars['aLang']->value['stream_list_event_add_wall_female'];
                        ?>
 <?php 
                    }
                    ?>
				<span class="user-avatar user-avatar-n">
					<a href="<?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getWallUser()->getUserWebPath();
                    ?>
"><img src="<?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getWallUser()->getProfileAvatarPath(24);
                    ?>
" alt="avatar" /></a>
					<a href="<?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getUrlWall();
                    ?>
"><?php 
                    echo $_smarty_tpl->tpl_vars['oTarget']->value->getWallUser()->getLogin();
                    ?>
</a>
				</span>
				<?php 
                    $_smarty_tpl->tpl_vars['sTextEvent'] = new Smarty_variable(smarty_modifier_truncate(preg_replace('!<[^>]*?>!', ' ', $_smarty_tpl->tpl_vars['oTarget']->value->getText()), 200), null, 0);
                    ?>
				<?php 
                    if (trim($_smarty_tpl->tpl_vars['sTextEvent']->value)) {
                        ?>
					<div class="stream-comment-preview"><?php 
                        echo $_smarty_tpl->tpl_vars['sTextEvent']->value;
                        ?>
</div>
				<?php 
                    }
                    ?>
			<?php 
                } else {
                    ?>
				<?php 
                    echo smarty_function_hook(array('run' => "stream_list_event_" . $_smarty_tpl->tpl_vars['oStreamEvent']->value->getEventType(), 'oStreamEvent' => $_smarty_tpl->tpl_vars['oStreamEvent']->value), $_smarty_tpl);
                    ?>

			<?php 
                }
                ?>
		</li>
	<?php 
            }
            ?>


	<script type="text/javascript">
		jQuery(document).ready(function($){
			ls.stream.dateLast = <?php 
            echo smarty_function_json(array('var' => $_smarty_tpl->tpl_vars['sDateLast']->value), $_smarty_tpl);
            ?>
;
		});
	</script>
<?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_568a93124c9a99_39380554($_smarty_tpl)
    {
        if (!is_callable('smarty_function_date_format')) {
            include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.date_format.php';
        }
        if (count($_smarty_tpl->tpl_vars['aQuestionList']->value) > 0) {
            ?>

	<?php 
            $_smarty_tpl->tpl_vars['oQuestion'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oQuestion']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aQuestionList']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['oQuestion']->key => $_smarty_tpl->tpl_vars['oQuestion']->value) {
                $_smarty_tpl->tpl_vars['oQuestion']->_loop = true;
                ?>

		<article class="topic">
			<header class="topic-header">
				<div class="col-md-9">
					<h2 class="topic-title word-wrap">
						<a href="<?php 
                echo $_smarty_tpl->tpl_vars['oQuestion']->value->getCategory()->getUrlFull();
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['oQuestion']->value->getCategory()->getTitle();
                ?>
</a>
					</h2>
				</div>
				<div class="col-md-3">
					<p class="date">
						<?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);
                ?>

					</p>
				</div>
				<div class="col-md-12">
					<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() && !$_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorNameHide()) {
                    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() && !$_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorMailHide()) {
                    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 
                }
                ?>
					</div>
				</div>
			</header>
			<div class="col-md-12">
				<div class="topic-content text"><?php 
                echo $_smarty_tpl->tpl_vars['oQuestion']->value->getText();
                ?>
</div>
			</div>
			<?php 
                if ($_smarty_tpl->tpl_vars['oQuestion']->value->getAnswerText()) {
                    ?>
				<div class="col-md-12">
					<div class="stream-comment-preview"><?php 
                    echo $_smarty_tpl->tpl_vars['oQuestion']->value->getAnswerText();
                    ?>
</div>
				</div>
				<div class="col-md-12">
					<header class="topic-header">
						<div class="topic-date"><?php 
                    echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_question_answer_date'];
                    ?>
 <?php 
                    echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oQuestion']->value->getAnswerDateAdd(), 'format' => "j F Y, H:i"), $_smarty_tpl);
                    ?>
</div>
					</header>
				</div>
			<?php 
                }
                ?>
		</article><!-- .topic -->

	<?php 
            }
            ?>

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

<?php 
        } else {
            ?>
	<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_questions_list_empty'];
            ?>

<?php 
        }
    }
    function content_5577f8e637d0e1_41324540($_smarty_tpl)
    {
        if (!is_callable('smarty_function_date_format')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.date_format.php';
        }
        if (count($_smarty_tpl->tpl_vars['aQuestionList']->value) > 0) {
            ?>

	<?php 
            $_smarty_tpl->tpl_vars['oQuestion'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['oQuestion']->_loop = false;
            $_from = $_smarty_tpl->tpl_vars['aQuestionList']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['oQuestion']->key => $_smarty_tpl->tpl_vars['oQuestion']->value) {
                $_smarty_tpl->tpl_vars['oQuestion']->_loop = true;
                ?>

		<article class="topic topic-type-photoset js-topic">
		<header class="topic-header">
			<h2 class="topic-title word-wrap"><a href="<?php 
                echo $_smarty_tpl->tpl_vars['oQuestion']->value->getCategory()->getUrlFull();
                ?>
"><?php 
                echo $_smarty_tpl->tpl_vars['oQuestion']->value->getCategory()->getTitle();
                ?>
</a> <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() && !$_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorNameHide()) {
                    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() && !$_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorMailHide()) {
                    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 
                }
                ?>
<br /> 
			</div>
		</header>
		<div class="topic-content text">
			<?php 
                echo $_smarty_tpl->tpl_vars['oQuestion']->value->getText();
                ?>

		</div>
	<?php 
                if ($_smarty_tpl->tpl_vars['oQuestion']->value->getAnswerText()) {
                    ?>
		<header class="topic-header">
			<div class="topic-info">
				<?php 
                    echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_question_answer_date'];
                    ?>
 <?php 
                    echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oQuestion']->value->getAnswerDateAdd(), 'format' => "j F Y, H:i"), $_smarty_tpl);
                    ?>

			</div>
		</header>
		<div class="stream-comment-preview">
			<?php 
                    echo $_smarty_tpl->tpl_vars['oQuestion']->value->getAnswerText();
                    ?>

		</div>
		<hr>
	<?php 
                }
                ?>
		<div class="topic-photo-images">
			<ul id="topic-photo-images">
			<?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">
			<?php 
                if ($_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorName() && !$_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorNameHide()) {
                    ?>
				<li><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();
                    ?>
</br ></li>
			<?php 
                }
                ?>
			<?php 
                if ($_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorAddress() && !$_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorAddressHide()) {
                    ?>
				<li><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();
                    ?>
</br ></li>
			<?php 
                }
                ?>
			<?php 
                if ($_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorPhone() && !$_smarty_tpl->tpl_vars['oQuestion']->value->getAuthorPhoneHide()) {
                    ?>
				<li><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();
                    ?>
</br ></li>
			<?php 
                }
                ?>
			</ul>
		</footer>
		</article>

	<?php 
            }
            ?>

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

<?php 
        } else {
            ?>
	<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['plugin']['receptiondesk']['receptiondesk_questions_list_empty'];
            ?>

<?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_55cabb020afb93_73501775($_smarty_tpl)
    {
        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_router')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php';
        }
        ?>
<div class="comments comment-list">
	<?php 
        $_smarty_tpl->tpl_vars['oComment'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['oComment']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['aComments']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['oComment']->key => $_smarty_tpl->tpl_vars['oComment']->value) {
            $_smarty_tpl->tpl_vars['oComment']->_loop = true;
            ?>
		<?php 
            $_smarty_tpl->tpl_vars["oUser"] = new Smarty_variable($_smarty_tpl->tpl_vars['oComment']->value->getUser(), null, 0);
            ?>
		<?php 
            $_smarty_tpl->tpl_vars["oTopic"] = new Smarty_variable($_smarty_tpl->tpl_vars['oComment']->value->getTarget(), null, 0);
            ?>
		<?php 
            $_smarty_tpl->tpl_vars["oBlog"] = new Smarty_variable($_smarty_tpl->tpl_vars['oTopic']->value->getBlog(), null, 0);
            ?>
		
		
		
		
		
		<section class="comment">
			<ul class="comment-info">
				<li class="comment-author">
					<a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUser']->value->getUserWebPath();
            ?>
"><img src="<?php 
            echo $_smarty_tpl->tpl_vars['oUser']->value->getProfileAvatarPath(24);
            ?>
" alt="avatar" class="comment-avatar" /></a>
					<a href="<?php 
            echo $_smarty_tpl->tpl_vars['oUser']->value->getUserWebPath();
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['oUser']->value->getLogin();
            ?>
</a>
				</li>
				<li class="comment-date">
					<time datetime="<?php 
            echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oComment']->value->getDate(), 'format' => 'c'), $_smarty_tpl);
            ?>
"><?php 
            echo smarty_function_date_format(array('date' => $_smarty_tpl->tpl_vars['oComment']->value->getDate(), 'hours_back' => "12", 'minutes_back' => "60", 'now' => "60", 'day' => "day H:i", 'format' => "j F Y, H:i"), $_smarty_tpl);
            ?>
</time>
				</li>
				<?php 
            if ($_smarty_tpl->tpl_vars['oUserCurrent']->value && !$_smarty_tpl->tpl_vars['bNoCommentFavourites']->value) {
                ?>
					<li class="comment-favourite">
						<div onclick="return ls.favourite.toggle(<?php 
                echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                ?>
,this,'comment');" class="favourite <?php 
                if ($_smarty_tpl->tpl_vars['oComment']->value->getIsFavourite()) {
                    ?>
active<?php 
                }
                ?>
"></div>
						<span class="favourite-count" id="fav_count_comment_<?php 
                echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
                ?>
"><?php 
                if ($_smarty_tpl->tpl_vars['oComment']->value->getCountFavourite() > 0) {
                    echo $_smarty_tpl->tpl_vars['oComment']->value->getCountFavourite();
                }
                ?>
</span>
					</li>
				<?php 
            }
            ?>
				<li class="comment-link">
					<a href="<?php 
            if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('module.comment.nested_per_page')) {
                echo smarty_function_router(array('page' => 'comments'), $_smarty_tpl);
            } else {
                echo $_smarty_tpl->tpl_vars['oTopic']->value->getUrl();
                ?>
#comment<?php 
            }
            echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
            ?>
" title="<?php 
            echo $_smarty_tpl->tpl_vars['aLang']->value['comment_url_notice'];
            ?>
">
						<i class="icon-synio-link"></i>
					</a>
				</li>
				<li id="vote_area_comment_<?php 
            echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
            ?>
" class="vote 
																		<?php 
            if ($_smarty_tpl->tpl_vars['oComment']->value->getRating() > 0) {
                ?>
																			vote-count-positive
																		<?php 
            } elseif ($_smarty_tpl->tpl_vars['oComment']->value->getRating() < 0) {
                ?>
																			vote-count-negative
																		<?php 
            }
            ?>
">
					<span class="vote-count" id="vote_total_comment_<?php 
            echo $_smarty_tpl->tpl_vars['oComment']->value->getId();
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['oComment']->value->getRating();
            ?>
</span>
				</li>
			</ul>
					
					
			<div class="comment-content">						
				<div class="text">						
					<?php 
            if ($_smarty_tpl->tpl_vars['oComment']->value->isBad()) {
                ?>
						<?php 
                echo $_smarty_tpl->tpl_vars['oComment']->value->getText();
                ?>
						
					<?php 
            } else {
                ?>
						<?php 
                echo $_smarty_tpl->tpl_vars['oComment']->value->getText();
                ?>

					<?php 
            }
            ?>
		
				</div>
			</div>
			
			
			<div class="comment-path">
				<a href="<?php 
            echo $_smarty_tpl->tpl_vars['oBlog']->value->getUrlFull();
            ?>
" class="blog-name"><?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['oBlog']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
            ?>
</a> &rarr;
				<a href="<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getUrl();
            ?>
" class="comment-path-topic"><?php 
            echo htmlspecialchars($_smarty_tpl->tpl_vars['oTopic']->value->getTitle(), ENT_QUOTES, 'UTF-8', true);
            ?>
</a>
				<a href="<?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getUrl();
            ?>
#comments" class="comment-path-comments"><?php 
            echo $_smarty_tpl->tpl_vars['oTopic']->value->getCountComment();
            ?>
</a>
			</div>
		</section>
	<?php 
        }
        ?>
	
</div>


<?php 
        echo $_smarty_tpl->getSubTemplate('paging.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('aPaging' => $_smarty_tpl->tpl_vars['aPaging']->value), 0);
    }
    function content_55784c6133b7a3_75047694($_smarty_tpl)
    {
        if (!is_callable('smarty_block_hookb')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/block.hookb.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_hook')) {
            include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.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);
        ?>


	<footer class="topic-footer">

		<ul class="topic-info">
			<li class="fl-r">
				<div class="topic-share" 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>
			</li>
			<li class="topic-info-date">
				<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(), 'hours_back' => "12", 'minutes_back' => "60", 'now' => "60", 'day' => "day H:i", 'format' => "j F Y, H:i"), $_smarty_tpl);
        ?>

				</time>
			</li>
			<?php 
        echo smarty_function_hook(array('run' => 'topic_show_info', 'topic' => $_smarty_tpl->tpl_vars['oTopic']->value), $_smarty_tpl);
        ?>

		</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 
    }