/** * Плагин для смарти * Запускает хуки из шаблона на выполнение * * @param array $aParams * @param Smarty $oSmarty * * @return string */ function smarty_function_hook($aParams, &$oSmarty) { if (empty($aParams['run'])) { trigger_error('Hook: missing "run" parametr', E_USER_WARNING); return; } $sReturn = ''; if (strpos($aParams['run'], ',')) { $aHooks = F::Array_Str2Array($aParams['run']); unset($aParams['run']); foreach ($aHooks as $sHook) { $aParams['run'] = $sHook; $sReturn .= smarty_function_hook($aParams, $oSmarty); } } else { $sHookName = 'template_' . strtolower($aParams['run']); unset($aParams['run']); $aResultHook = E::ModuleHook()->Run($sHookName, $aParams); if (array_key_exists('template_result', $aResultHook)) { $sReturn = join('', $aResultHook['template_result']); } if (!empty($aParams['assign'])) { $oSmarty->assign($aParams['assign'], $sReturn); $sReturn = ''; } } return $sReturn; }
function content_55797af686b5a0_41907144($_smarty_tpl) { if (!is_callable('smarty_function_hook')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php'; } ?> <ul class="nav nav-pills nav-pills-profile"> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'main') { ?> class="active"<?php } ?> > <a href="<?php echo $_smarty_tpl->tpl_vars['oUserProfile']->value->getUserWebPath(); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_menu_profile_whois']; ?> </a> </li> <?php echo smarty_function_hook(array('run' => 'menu_profile_whois_item', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl); ?> </ul> <?php echo smarty_function_hook(array('run' => 'menu_profile_whois', 'oUserProfile' => $_smarty_tpl->tpl_vars['oUserProfile']->value), $_smarty_tpl); ?> <?php }
function content_55d33fa2222402_37030499($_smarty_tpl) { if (!is_callable('smarty_function_hook')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php'; } if (!is_callable('smarty_function_router')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php'; } echo $_smarty_tpl->getSubTemplate('header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <h2 class="page-header"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['search']; ?> </h2> <?php echo smarty_function_hook(array('run' => 'search_begin'), $_smarty_tpl); ?> <form action="<?php echo smarty_function_router(array('page' => 'search'), $_smarty_tpl); ?> topics/" class="search" method="GET"> <?php echo smarty_function_hook(array('run' => 'search_form_begin'), $_smarty_tpl); ?> <input type="text" placeholder="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['search']; ?> " maxlength="255" name="q" class="input-text" id="SS_SearchField"> <input type="submit" value="" title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['search_submit']; ?> " class="input-submit icon icon-search"> <?php echo smarty_function_hook(array('run' => 'search_form_end'), $_smarty_tpl); ?> </form> <?php echo smarty_function_hook(array('run' => 'search_end'), $_smarty_tpl); ?> <?php echo $_smarty_tpl->getSubTemplate('footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); }
function content_55d3380ee03570_87660797($_smarty_tpl) { if (!is_callable('smarty_function_router')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php'; } if (!is_callable('smarty_function_hook')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php'; } ?> <ul class="nav nav-menu"> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) { ?> <li <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'user') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'stream'), $_smarty_tpl); ?> user/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['stream_menu_user']; ?> </a></li> <?php } ?> <li <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'all') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'stream'), $_smarty_tpl); ?> all/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['stream_menu_all']; ?> </a></li> <?php echo smarty_function_hook(array('run' => 'menu_stream_item'), $_smarty_tpl); ?> </ul> <?php echo smarty_function_hook(array('run' => 'menu_stream'), $_smarty_tpl); ?> <?php }
function content_5684d6cb8d3b94_72141234($_smarty_tpl) { if (!is_callable('smarty_function_hook')) { include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php'; } echo $_smarty_tpl->getSubTemplate('topic_part_header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="topic-content text"> <?php echo smarty_function_hook(array('run' => 'topic_content_begin', 'topic' => $_smarty_tpl->tpl_vars['oTopic']->value, 'bTopicList' => $_smarty_tpl->tpl_vars['bTopicList']->value), $_smarty_tpl); ?> <?php if ($_smarty_tpl->tpl_vars['bTopicList']->value) { ?> <?php echo $_smarty_tpl->tpl_vars['oTopic']->value->getTextShort(); ?> <?php } else { ?> <?php echo $_smarty_tpl->tpl_vars['oTopic']->value->getText(); ?> <?php } ?> <?php echo smarty_function_hook(array('run' => 'topic_content_end', 'topic' => $_smarty_tpl->tpl_vars['oTopic']->value, 'bTopicList' => $_smarty_tpl->tpl_vars['bTopicList']->value), $_smarty_tpl); ?> </div> <?php echo $_smarty_tpl->getSubTemplate('topic_part_footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php }
function content_5577f8e6325fc4_97292412($_smarty_tpl) { if (!is_callable('smarty_function_router')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php'; } if (!is_callable('smarty_function_hook')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php'; } if (!is_callable('smarty_block_hookb')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/block.hookb.php'; } if (!is_callable('smarty_function_cfg')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php'; } if (!$_smarty_tpl->tpl_vars['oUserCurrent']->value) { ?> <div class="modal modal-login" id="window_login_form"> <header class="modal-header"> <a href="#" class="close jqmClose"></a> </header> <script type="text/javascript"> jQuery(function($){ $('#popup-login-form').bind('submit',function(){ ls.user.login('popup-login-form'); return false; }); $('#popup-login-form-submit').attr('disabled',false); }); </script> <div class="modal-content"> <ul class="nav nav-pills nav-pills-tabs"> <li class="active js-block-popup-login-item" data-type="login"><a href="#"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_login_submit']; ?> </a></li> <?php if (!$_smarty_tpl->tpl_vars['oConfig']->value->GetValue('general.reg.invite')) { ?> <li class="js-block-popup-login-item" data-type="registration"><a href="#"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['registration']; ?> </a></li> <?php } else { ?> <li><a href="<?php echo smarty_function_router(array('page' => 'registration'), $_smarty_tpl); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['registration']; ?> </a></li> <?php } ?> <li class="js-block-popup-login-item" data-type="reminder"><a href="#"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['password_reminder']; ?> </a></li> </ul> <div class="tab-content js-block-popup-login-content" data-type="login"> <?php echo smarty_function_hook(array('run' => 'login_popup_begin'), $_smarty_tpl); ?> <form action="<?php echo smarty_function_router(array('page' => 'login'), $_smarty_tpl); ?> " method="post" id="popup-login-form"> <?php echo smarty_function_hook(array('run' => 'form_login_popup_begin'), $_smarty_tpl); ?> <p><input type="text" name="login" id="popup-login" placeholder="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_login']; ?> " class="input-text input-width-full"></p> <p><input type="password" name="password" id="popup-password" placeholder="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_password']; ?> " class="input-text input-width-300" style="width: 322px"> <button type="submit" name="submit_login" class="button button-primary" id="popup-login-form-submit" disabled="disabled"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_login_submit']; ?> </button></p> <label class="remember-label"><input type="checkbox" name="remember" class="input-checkbox" checked /> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_login_remember']; ?> </label> <small class="validate-error-hide validate-error-login"></small> <?php echo smarty_function_hook(array('run' => 'form_login_popup_end'), $_smarty_tpl); ?> <input type="hidden" name="return-path" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['PATH_WEB_CURRENT']->value, ENT_QUOTES, 'UTF-8', true); ?> "> </form> <?php echo smarty_function_hook(array('run' => 'login_popup_end'), $_smarty_tpl); ?> </div> <?php if (!$_smarty_tpl->tpl_vars['oConfig']->value->GetValue('general.reg.invite')) { ?> <div data-type="registration" class="tab-content js-block-popup-login-content" style="display:none;"> <script type="text/javascript"> jQuery(document).ready(function($){ $('#popup-registration-form').find('input.js-ajax-validate').blur(function(e){ var aParams={ }; if ($(e.target).attr('name')=='password_confirm') { aParams['password']=$('#popup-registration-user-password').val(); } if ($(e.target).attr('name')=='password') { aParams['password']=$('#popup-registration-user-password').val(); if ($('#popup-registration-user-password-confirm').val()) { ls.user.validateRegistrationField('password_confirm',$('#popup-registration-user-password-confirm').val(),$('#popup-registration-form'),{ 'password': $(e.target).val() }); } } ls.user.validateRegistrationField($(e.target).attr('name'),$(e.target).val(),$('#popup-registration-form'),aParams); }); $('#popup-registration-form').bind('submit',function(){ ls.user.registration('popup-registration-form'); return false; }); $('#popup-registration-form-submit').attr('disabled',false); }); </script> <?php echo smarty_function_hook(array('run' => 'registration_begin', 'isPopup' => true), $_smarty_tpl); ?> <form action="<?php echo smarty_function_router(array('page' => 'registration'), $_smarty_tpl); ?> " method="post" id="popup-registration-form"> <?php echo smarty_function_hook(array('run' => 'form_registration_begin', 'isPopup' => true), $_smarty_tpl); ?> <p> <input type="text" name="login" placeholder="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['registration_login']; ?> " id="popup-registration-login" value="<?php echo $_smarty_tpl->tpl_vars['_aRequest']->value['login']; ?> " class="input-text input-width-300 js-ajax-validate" /> <i class="icon-question-sign js-tip-help" title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['registration_login_notice']; ?> "></i> <i class="icon-ok-green validate-ok-field-login" style="display: none"></i> <small class="validate-error-hide validate-error-field-login"></small></p> <p> <input type="text" name="mail" placeholder="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['registration_mail']; ?> " id="popup-registration-mail" value="<?php echo $_smarty_tpl->tpl_vars['_aRequest']->value['mail']; ?> " class="input-text input-width-300 js-ajax-validate" /> <i class="icon-question-sign js-tip-help" title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['registration_mail_notice']; ?> "></i> <i class="icon-ok-green validate-ok-field-mail" style="display: none"></i> <small class="validate-error-hide validate-error-field-mail"></small></p> <p> <input type="password" name="password" placeholder="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['registration_password']; ?> " id="popup-registration-user-password" value="" class="input-text input-width-300 js-ajax-validate" /> <i class="icon-question-sign js-tip-help" title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['registration_password_notice']; ?> "></i> <i class="icon-ok-green validate-ok-field-password" style="display: none"></i> <small class="validate-error-hide validate-error-field-password"></small></p> <p> <input type="password" name="password_confirm" placeholder="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['registration_password_retry']; ?> " id="popup-registration-user-password-confirm" value="" class="input-text input-width-300 js-ajax-validate" /> <i class="icon-ok-green validate-ok-field-password_confirm" style="display: none"></i> <small class="validate-error-hide validate-error-field-password_confirm"></small></p> <?php $_smarty_tpl->smarty->_tag_stack[] = array('hookb', array('run' => "popup_registration_captcha")); $_block_repeat = true; echo smarty_block_hookb(array('run' => "popup_registration_captcha"), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <p><label for="popup-registration-captcha"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['registration_captcha']; ?> </label> <img src="<?php echo smarty_function_cfg(array('name' => 'path.root.engine_lib'), $_smarty_tpl); ?> /external/kcaptcha/index.php?<?php echo $_smarty_tpl->tpl_vars['_sPhpSessionName']->value; ?> =<?php echo $_smarty_tpl->tpl_vars['_sPhpSessionId']->value; ?> " onclick="this.src='<?php echo smarty_function_cfg(array('name' => 'path.root.engine_lib'), $_smarty_tpl); ?> /external/kcaptcha/index.php?<?php echo $_smarty_tpl->tpl_vars['_sPhpSessionName']->value; ?> =<?php echo $_smarty_tpl->tpl_vars['_sPhpSessionId']->value; ?> &n='+Math.random();" class="captcha-image" /> <input type="text" name="captcha" id="popup-registration-captcha" value="" maxlength="3" class="input-text input-width-100 js-ajax-validate" /> <small class="validate-error-hide validate-error-field-captcha"></small></p> <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_hookb(array('run' => "popup_registration_captcha"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php echo smarty_function_hook(array('run' => 'form_registration_end', 'isPopup' => true), $_smarty_tpl); ?> <input type="hidden" name="return-path" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['PATH_WEB_CURRENT']->value, ENT_QUOTES, 'UTF-8', true); ?> "> <button type="submit" name="submit_register" class="button button-primary" id="popup-registration-form-submit" disabled="disabled"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['registration_submit']; ?> </button> </form> <?php echo smarty_function_hook(array('run' => 'registration_end', 'isPopup' => true), $_smarty_tpl); ?> </div> <?php } ?> <div data-type="reminder" class="tab-content js-block-popup-login-content" style="display:none;"> <script type="text/javascript"> jQuery(document).ready(function($){ $('#popup-reminder-form').bind('submit',function(){ ls.user.reminder('popup-reminder-form'); return false; }); $('#popup-reminder-form-submit').attr('disabled',false); }); </script> <form action="<?php echo smarty_function_router(array('page' => 'login'), $_smarty_tpl); ?> reminder/" method="POST" id="popup-reminder-form"> <p> <input type="text" name="mail" placeholder="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['password_reminder_email']; ?> " id="popup-reminder-mail" class="input-text input-width-300" /> <small class="validate-error-hide validate-error-reminder"></small></p> <button type="submit" name="submit_reminder" class="button button-primary" id="popup-reminder-form-submit" disabled="disabled"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['password_reminder_submit']; ?> </button> </form> </div> </div> </div> <?php } }
function content_5684d6e3f27631_29807133($_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'; } ?> <ul class="nav-foldable"> <li <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'topic') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl); ?> add/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_create']; ?> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['topic_menu_add']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'blog') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'blog'), $_smarty_tpl); ?> add/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_create']; ?> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_create']; ?> </a></li> <?php echo smarty_function_hook(array('run' => 'menu_create_item', 'sMenuItemSelect' => $_smarty_tpl->tpl_vars['sMenuItemSelect']->value), $_smarty_tpl); ?> </ul> <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'topic') { ?> <ul class="nav-foldable"> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'topic') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl); ?> add/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['topic_menu_add_topic']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'question') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'question'), $_smarty_tpl); ?> add/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['topic_menu_add_question']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'link') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'link'), $_smarty_tpl); ?> add/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['topic_menu_add_link']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'photoset') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'photoset'), $_smarty_tpl); ?> add/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['topic_menu_add_photoset']; ?> </a></li> <?php echo smarty_function_hook(array('run' => 'menu_create_topic_item'), $_smarty_tpl); ?> </ul> <?php } ?> <?php echo smarty_function_hook(array('run' => 'menu_create', 'sMenuItemSelect' => $_smarty_tpl->tpl_vars['sMenuItemSelect']->value, 'sMenuSubItemSelect' => $_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value), $_smarty_tpl); }
function content_5684d70d08b5f5_43639404($_smarty_tpl) { if (!is_callable('smarty_function_hook')) { include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php'; } echo $_smarty_tpl->getSubTemplate('topic_part_header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div class="topic-content text"> <?php echo smarty_function_hook(array('run' => 'topic_content_begin', 'topic' => $_smarty_tpl->tpl_vars['oTopic']->value, 'bTopicList' => $_smarty_tpl->tpl_vars['bTopicList']->value), $_smarty_tpl); ?> <?php if ($_smarty_tpl->tpl_vars['bTopicList']->value) { ?> <?php echo $_smarty_tpl->tpl_vars['oTopic']->value->getTextShort(); ?> <?php } else { ?> <?php echo $_smarty_tpl->tpl_vars['oTopic']->value->getText(); ?> <?php } ?> <?php echo smarty_function_hook(array('run' => 'topic_content_end', 'topic' => $_smarty_tpl->tpl_vars['oTopic']->value, 'bTopicList' => $_smarty_tpl->tpl_vars['bTopicList']->value), $_smarty_tpl); ?> </div> <?php if ($_smarty_tpl->tpl_vars['bTopicList']->value && $_smarty_tpl->tpl_vars['oTopic']->value->getTextShort() != $_smarty_tpl->tpl_vars['oTopic']->value->getText()) { ?> <div class="topic-more"> <a href="<?php echo $_smarty_tpl->tpl_vars['oTopic']->value->getUrl(); ?> #cut" title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['topic_read_more']; ?> " class="button button-primary"> <?php if ($_smarty_tpl->tpl_vars['oTopic']->value->getCutText()) { ?> <?php echo $_smarty_tpl->tpl_vars['oTopic']->value->getCutText(); ?> <?php } else { ?> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['topic_read_more']; ?> <?php } ?> </a> </div> <?php } ?> <?php echo $_smarty_tpl->getSubTemplate('topic_part_footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php }
function content_5684d6cb047511_64957306($_smarty_tpl) { if (!is_callable('smarty_function_cfg')) { include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php'; } if (!is_callable('smarty_function_router')) { include '/var/www/bunker//engine/modules/viewer/plugs/function.router.php'; } if (!is_callable('smarty_function_hook')) { include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php'; } ?> <input type="checkbox" id="hmt" class="hidden-menu-ticker"> <label class="btn-menu" for="hmt"> <span class="first"></span> <span class="second"></span> <span class="third"></span> <a href="/"> <img src="<?php echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl); ?> /logo.png" class="logo"> </a> </label> <div class="nav nav-userbar hidden-menu"> <ul> <a href="/"> </a> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) { ?> <li class="nav-userbar-username" title="<?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getLogin(); ?> "> <a href="<?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath(); ?> " class="username"> <?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getLogin(); ?> <img src="<?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getProfileAvatarPath(24); ?> " alt="avatar" class="avatar" /> </a> </li> <li title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_create']; ?> "> <a href="<?php echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl); ?> add/" class="write" id="modal_write_show"> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_create']; ?> <i class="fa fa-pencil-square-o"></i> </a> </li> <li title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_privat_messages']; if ($_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value) { ?> (<?php echo $_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value; ?> )<?php } ?> "> <a href="<?php echo smarty_function_router(array('page' => 'talk'), $_smarty_tpl); ?> " <?php if ($_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value) { ?> class="new-messages"<?php } ?> id="new_messages"> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_privat_messages']; if ($_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value) { ?> (<?php echo $_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value; ?> )<?php } ?> <i class="fa fa-envelope<?php if (!$_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value) { ?> -o<?php } ?> "></i> </a> </li> <?php echo smarty_function_hook(array('run' => 'athead'), $_smarty_tpl); ?> <?php echo smarty_function_hook(array('run' => 'atmenu'), $_smarty_tpl); ?> <?php echo smarty_function_hook(array('run' => 'userbar_item'), $_smarty_tpl); ?> <li title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_menu_profile_favourites']; ?> "> <a href="<?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath(); ?> favourites/topics/"> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_menu_profile_favourites']; ?> <i class="fa fa-star-half-o"></i> </a> </li> <li title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_settings']; ?> "> <a href="<?php echo smarty_function_router(array('page' => 'settings'), $_smarty_tpl); ?> profile/"> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_settings']; ?> <i class="fa fa-cogs"></i> </a> </li> <li title="Широкий режим"> <a href="#" onclick="wide(); return false;" class="widemode" id="wide"> Широкий режим </a> </li> <li title="Открыть спойлеры"> <a href="#" onclick="despoil(); return false;" class="spoil" id="spoil"> Открыть спойлеры <i class="fa fa-eye-slash"></i> </a> </li> </ul> <ul class="userbar_info"> <li title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['exit']; ?> "> <a href="<?php echo smarty_function_router(array('page' => 'login'), $_smarty_tpl); ?> exit/?security_ls_key=<?php echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value; ?> "> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['exit']; ?> <i class="fa fa-times-circle-o"></i> </a> </li> </ul> <?php } else { ?> <?php echo smarty_function_hook(array('run' => 'userbar_item'), $_smarty_tpl); ?> <li> <a href="<?php echo smarty_function_router(array('page' => 'login'), $_smarty_tpl); ?> " class="js-login-form-show"> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_login_submit']; ?> <i class="fa fa-user"></i> </a> </li> <li> <a href="<?php echo smarty_function_router(array('page' => 'registration'), $_smarty_tpl); ?> " class="js-registration-form-show"> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['registration_submit']; ?> <i class="fa fa-user-plus"></i> </a> </li> <li title="Широкий режим"> <a href="#" onclick="wide(); return false;" class="widemode" id="wide"> Широкий режим </a> </li> <li title="Открыть спойлеры"> <a href="#" onclick="despoil(); return false;" class="spoil" id="spoil"> Открыть спойлеры <i class="fa fa-eye-slash"></i> </a> </li> </ul> <?php } ?> </ul> <ul class="userbar_info"> <li title="О версии <?php echo Config::Get('site_version'); ?> "> <a href="/page/about"> О версии <?php echo Config::Get('site_version'); ?> <i class="fa fa-info-circle"></i> </a> </li> <li title="Сообщить об ошибке"> <a href="http://bug.lunavod.ru/"> Сообщить об ошибке <i class="fa fa-exclamation-circle"></i> </a> </li> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) { ?> <li> <a href="<?php echo smarty_function_router(array('page' => 'login'), $_smarty_tpl); ?> exit/?security_ls_key=<?php echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value; ?> "> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['exit']; ?> <i class="fa fa-times-circle-o"></i> </a> </li> <?php } ?> </ul> </div> </nav> <script> function wide(){ var gifs = document.getElementById('sidebar'); var element = document.getElementById('content'); element.style.right = "30px"; element.style.margin = "0px"; gifs.style.display = "none"; var el = document.getElementById("wide"); el.className= "standartmode"; el.innerHTML = 'Стандартный режим' el.parentNode.title = 'Стандартный режим' el.onclick=function(){dewide(); return false;} } function dewide(){ var gifs = document.getElementById('sidebar'); var element = document.getElementById('content'); element.style.right = ""; element.style.margin = ""; gifs.style.display = ""; var el = document.getElementById("wide"); el.className = "widemode"; el.innerHTML = 'Широкий режим' el.parentNode.title = 'Широкий режим' el.onclick=function(){wide(); return false;} } </script> <?php }
function content_5577f7814f34e6_65079724($_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_modifier_declension')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/modifier.declension.php'; } if (!is_callable('smarty_function_hook')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php'; } ?> <div class="modal modal-write" id="modal_write"> <header class="modal-header"> <a href="#" class="close jqmClose"></a> </header> <div class="modal-content"><ul class="write-list"><?php if ($_smarty_tpl->tpl_vars['iUserCurrentCountTopicDraft']->value) { ?> <li class="write-item-type-draft"><a href="<?php echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl); ?> saved/" class="write-item-image"></a><a href="<?php echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl); ?> saved/" class="write-item-link"><?php echo $_smarty_tpl->tpl_vars['iUserCurrentCountTopicDraft']->value; ?> <?php echo smarty_modifier_declension($_smarty_tpl->tpl_vars['iUserCurrentCountTopicDraft']->value, $_smarty_tpl->tpl_vars['aLang']->value['draft_declension'], 'russian'); ?> </a></li><?php } ?> <li class="write-item-type-topic"><a href="<?php echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl); ?> add" class="write-item-image"></a><a href="<?php echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl); ?> add" class="write-item-link"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_create_topic_topic']; ?> </a></li><li class="write-item-type-blog"><a href="<?php echo smarty_function_router(array('page' => 'blog'), $_smarty_tpl); ?> add" class="write-item-image"></a><a href="<?php echo smarty_function_router(array('page' => 'blog'), $_smarty_tpl); ?> add" class="write-item-link"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_create_blog']; ?> </a></li><li class="write-item-type-message"><a href="<?php echo smarty_function_router(array('page' => 'talk'), $_smarty_tpl); ?> add" class="write-item-image"></a><a href="<?php echo smarty_function_router(array('page' => 'talk'), $_smarty_tpl); ?> add" class="write-item-link"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_create_talk']; ?> </a></li><?php echo smarty_function_hook(array('run' => 'write_item', 'isPopup' => true), $_smarty_tpl); ?> </ul></div> </div> <?php }
function content_5684d6ccd5b518_12381183($_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'; } ?> <ul class="nav nav-list nav-menu well well-small"> <li class="nav-header"><?php echo $_smarty_tpl->tpl_vars['oLang']->value->_adm_menu_panel; ?> </li> <li class="nav-menu_info <?php if ($_smarty_tpl->tpl_vars['sEvent']->value == '' || $_smarty_tpl->tpl_vars['sEvent']->value == 'info') { ?> active<?php } ?> "> <a href="<?php echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl); ?> info/"><?php echo $_smarty_tpl->tpl_vars['oLang']->value->_adm_menu_info; ?> </a> </li> <li class="nav-menu_params <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'params') { ?> active<?php } ?> "> <a href="<?php echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl); ?> params/"><?php echo $_smarty_tpl->tpl_vars['oLang']->value->adm_menu_params; ?> </a> </li> <li class="nav-header"><?php echo $_smarty_tpl->tpl_vars['oLang']->value->_adm_menu_config; ?> </li> <li class="nav-menu_settings <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'settings') { ?> active<?php } ?> "> <a href="<?php echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl); ?> site/settings/"><?php echo $_smarty_tpl->tpl_vars['oLang']->value->_adm_menu_settings; ?> </a> </li> <li class="nav-menu_reset <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'reset') { ?> active<?php } ?> "> <a href="<?php echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl); ?> site/reset/"><?php echo $_smarty_tpl->tpl_vars['oLang']->value->_adm_menu_reset; ?> </a> </li> <li class="nav-menu_plugins <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'plugins') { ?> active<?php } ?> "> <a href="<?php echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl); ?> plugins/"><?php echo $_smarty_tpl->tpl_vars['oLang']->value->_adm_menu_plugins; ?> </a> </li> <li class="nav-header"><?php echo $_smarty_tpl->tpl_vars['oLang']->value->_adm_menu_site; ?> </li> <li class="nav-menu_users <?php if ($_smarty_tpl->tpl_vars['sEvent']->value == 'users') { ?> active<?php } ?> "> <a href="<?php echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl); ?> users/"><?php echo $_smarty_tpl->tpl_vars['oLang']->value->_adm_menu_users; ?> <?php if ($_smarty_tpl->tpl_vars['oUserProfile']->value) { ?> <i class="icon icon-arrow-right"></i><?php } ?> </a> </li> <li class="nav-menu_banlist <?php if ($_smarty_tpl->tpl_vars['sEvent']->value == 'banlist') { ?> active<?php } ?> "> <a href="<?php echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl); ?> banlist/"><?php echo $_smarty_tpl->tpl_vars['oLang']->value->_adm_menu_banlist; ?> </a> </li> <li class="nav-menu_invites <?php if ($_smarty_tpl->tpl_vars['sEvent']->value == 'invites') { ?> active<?php } ?> "> <a href="<?php echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl); ?> invites/"><?php echo $_smarty_tpl->tpl_vars['oLang']->value->_adm_menu_invites; ?> </a> </li> <li class="nav-menu_blogs <?php if ($_smarty_tpl->tpl_vars['sEvent']->value == 'blogs') { ?> active<?php } ?> "> <a href="<?php echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl); ?> blogs/"><?php echo $_smarty_tpl->tpl_vars['oLang']->value->_adm_menu_blogs; ?> </a> </li> <?php if ($_smarty_tpl->tpl_vars['aPluginActive']->value['aceblogextender'] && $_smarty_tpl->tpl_vars['oConfig']->value->GetValue('plugin.aceblogextender.category.enable')) { ?> <li class="nav-menu_categories <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'plugins_admin_aceblogextender') { ?> active<?php } ?> "> <a href="<?php echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl); ?> plugins/aceblogextender/categories/"><?php echo $_smarty_tpl->tpl_vars['oLang']->value->_adm_menu_categories; ?> </a> </li> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['aPluginActive']->value['page'] && $_smarty_tpl->tpl_vars['oConfig']->value->GetValue('plugin.page')) { ?> <li class="nav-menu_pages <?php if ($_smarty_tpl->tpl_vars['sEvent']->value == 'pages') { ?> active<?php } ?> "> <a href="<?php echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl); ?> pages/"><?php echo $_smarty_tpl->tpl_vars['oLang']->value->_adm_menu_pages; ?> </a> </li> <?php } ?> <?php echo smarty_function_hook(array('run' => 'admin_menu_item'), $_smarty_tpl); ?> <li class="nav-header"><?php echo $_smarty_tpl->tpl_vars['oLang']->value->_adm_menu_additional; ?> </li> <li class="nav-menu_db <?php if ($_smarty_tpl->tpl_vars['sEvent']->value == 'db') { ?> active<?php } ?> "> <a href="<?php echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl); ?> db/"><?php echo $_smarty_tpl->tpl_vars['oLang']->value->_adm_menu_db; ?> </a> </li> <li id="admin_action_submenu" class="nav-menu_others" > <a href="<?php echo smarty_function_router(array('page' => 'admin'), $_smarty_tpl); ?> others/"> <?php echo $_smarty_tpl->tpl_vars['oLang']->value->_adm_menu_additional_item; ?> <i class="icon-chevron-right icon-gray"></i> </a> </li> </ul> <div id="admin_action_item" style="display: none;"> <ul class="nav nav-list"> <li><a href="<?php echo smarty_function_router(array('page' => "admin"), $_smarty_tpl); ?> userfields/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['admin_list_userfields']; ?> </a></li> <li><a href="<?php echo smarty_function_router(array('page' => "admin"), $_smarty_tpl); ?> restorecomment/?security_ls_key=<?php echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value; ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['admin_list_restorecomment']; ?> </a></li> <li><a href="<?php echo smarty_function_router(array('page' => "admin"), $_smarty_tpl); ?> recalcfavourite/?security_ls_key=<?php echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value; ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['admin_list_recalcfavourite']; ?> </a></li> <li><a href="<?php echo smarty_function_router(array('page' => "admin"), $_smarty_tpl); ?> recalcvote/?security_ls_key=<?php echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value; ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['admin_list_recalcvote']; ?> </a></li> <li><a href="<?php echo smarty_function_router(array('page' => "admin"), $_smarty_tpl); ?> recalctopic/?security_ls_key=<?php echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value; ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['admin_list_recalctopic']; ?> </a></li> <?php echo smarty_function_hook(array('run' => 'admin_action_item'), $_smarty_tpl); ?> </ul> <br/> <div class="nav nav-list"> <?php echo smarty_function_hook(array('run' => 'admin_action'), $_smarty_tpl); ?> </div> </div> <script type=""> var $ace = $ace || { }; $ace.submenuAction = function(el) { var target = $(el); var popover = target.getPopover(); if (!popover.isVisible()) { target.popover('show'); popover.bind('mouseenter', function(){ popover.data('is-mouse-over', 1); }); popover.bind('mouseleave', function(){ popover.data('is-mouse-over', null); setTimeout(function () { if (!target.data('is-mouse-over')) target.popover('hide'); }, 500 ); }); } target.data('is-mouse-over', 1); } $(function () { var c = $('#admin_action_item').find('li').first().children().first(); if (c && c.length && c[0].nodeName == 'BR') { $(c).detach(); } var options = { title:false, content:function () { return $('#admin_action_item').html(); }, html:true, trigger:'manual', css:{ width:'auto' }, events:{ 'click':function () { $ace.submenuAction(this); }, 'mouseover':function () { $ace.submenuAction(this); }, 'mouseout':function () { //return; var target = $(this); setTimeout(function () { if (target.getPopover().isVisible() && !target.getPopover().data('is-mouse-over')) { target.popover('hide'); } }, 500 ); target.data('is-mouse-over', null); } } }; var submenu = $('#admin_action_submenu'); var popover = submenu.setPopover(options); popover.mouseover(function(){ $(this).data('is-mouse-over', true); }); popover.mouseout(function(){ alert(1); $(this).data('is-mouse-over', null); }); $('body').click(function () { submenu.popover('hide'); if (submenu.getPopover().isVisible()) { submenu.popover('hide'); } }); /* $('#admin_action_item a').each(function(){ var href = $(this).prop('href'); $(this).prop('href', href.replace(aRouter['admin'], aRouter['admin'] + 'x/')); }); */ }); </script> <?php }
function content_55797af6597b13_48897372($_smarty_tpl) { if (!is_callable('smarty_function_router')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php'; } if (!is_callable('smarty_function_hook')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php'; } ?> <ul class="nav nav-menu"> <li <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'all') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'people'), $_smarty_tpl); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['people_menu_users_all']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'online') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'people'), $_smarty_tpl); ?> online/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['people_menu_users_online']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'new') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'people'), $_smarty_tpl); ?> new/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['people_menu_users_new']; ?> </a></li> <?php echo smarty_function_hook(array('run' => 'menu_people_people_item'), $_smarty_tpl); ?> </ul> <?php echo smarty_function_hook(array('run' => 'menu_people'), $_smarty_tpl); ?> <?php }
function content_5684d6e4153a72_98738086($_smarty_tpl) { if (!is_callable('smarty_function_hook')) { include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php'; } if (!is_callable('smarty_function_router')) { include '/var/www/bunker//engine/modules/viewer/plugs/function.router.php'; } if (!is_callable('smarty_function_cfg')) { include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php'; } ?> <?php echo smarty_function_hook(array('run' => 'content_end'), $_smarty_tpl); ?> </div> <!-- /content --> <footer id="footer"> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) { ?> <ul class="footer-profile-links clearfix"> <li><a href="<?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath(); ?> "><i class="icon-profile-profile"></i></a></li> <li><a href="<?php echo smarty_function_router(array('page' => 'talk'), $_smarty_tpl); ?> "><i class="icon-profile-messages"></i></a></li> <li><a href="<?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath(); ?> created/topics/"><i class="icon-profile-submited"></i></a></li> <li><a href="<?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath(); ?> favourites/topics/"><i class="icon-profile-favourites"></i></a></li> <li><a href="<?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath(); ?> friends/"><i class="icon-profile-friends"></i></a></li> <li><a href="<?php echo smarty_function_router(array('page' => 'stream'), $_smarty_tpl); ?> "><i class="icon-profile-activity"></i></a></li> <li><a href="<?php echo smarty_function_router(array('page' => 'settings'), $_smarty_tpl); ?> "><i class="icon-profile-settings"></i></a></li> </ul> <?php } ?> <div class="footer-inner"> <ul class="footer-links clearfix"> <li><a href="<?php echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl); ?> /?force-mobile=off"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['desktop_version']; ?> </a></li> <li><a href="<?php echo smarty_function_router(array('page' => 'rss'), $_smarty_tpl); ?> ">RSS</a></li> </ul> <div class="copyright"> © <?php echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl); ?> <br /> <br /> <?php echo smarty_function_hook(array('run' => 'copyright'), $_smarty_tpl); ?> <br /> Дизайн от <a href="http://designmobile.ru">DesignMobile</a> </div> </div> <?php echo smarty_function_hook(array('run' => 'footer_end'), $_smarty_tpl); ?> </footer> </div> <!-- /wrapper --> </div> <!-- /container --> <?php echo smarty_function_hook(array('run' => 'body_end'), $_smarty_tpl); ?> </body> </html> <?php }
function content_5577f78155b131_89638652($_smarty_tpl) { if (!is_callable('smarty_function_hook')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php'; } if (!is_callable('smarty_function_cfg')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php'; } if (!is_callable('smarty_function_router')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php'; } ?> <header id="header" role="banner"> <?php echo smarty_function_hook(array('run' => 'header_banner_begin'), $_smarty_tpl); ?> <h1 class="site-name"><a href="<?php echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl); ?> "><?php echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl); ?> </a></h1> <ul class="nav nav-main" id="nav-main"> <!--<li <?php if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'blog') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['topic_title']; ?> </a> <i></i></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'blogs') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'blogs'), $_smarty_tpl); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blogs']; ?> </a> <i></i></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'people') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'people'), $_smarty_tpl); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['people']; ?> </a> <i></i></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuHeadItemSelect']->value == 'stream') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'stream'), $_smarty_tpl); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['stream_menu']; ?> </a> <i></i></li> --> <?php echo smarty_function_hook(array('run' => 'main_menu_item'), $_smarty_tpl); ?> <li class="nav-main-more"><a href="#" id="dropdown-mainmenu-trigger" onclick="return false"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['more']; ?> </a></li> </ul> <ul class="dropdown-nav-main dropdown-menu" id="dropdown-mainmenu-menu"></ul> <?php echo smarty_function_hook(array('run' => 'main_menu'), $_smarty_tpl); ?> <?php echo smarty_function_hook(array('run' => 'userbar_nav'), $_smarty_tpl); ?> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) { ?> <div class="dropdown-user" id="dropdown-user"> <a href="<?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath(); ?> "><img src="<?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getProfileAvatarPath(48); ?> " alt="avatar" class="avatar" /></a> <a href="<?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath(); ?> " class="username"><?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getLogin(); ?> </a> <div class="dropdown-user-shadow"></div> <div class="dropdown-user-trigger" id="dropdown-user-trigger"><i></i></div> <ul class="dropdown-user-menu" id="dropdown-user-menu" style="display: none"> <li class="item-stat"> <span class="strength" title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_skill']; ?> "><i class="icon-synio-star-green"></i> <?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getSkill(); ?> </span> <span class="rating <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value->getRating() < 0) { ?> negative<?php } ?> " title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_rating']; ?> "><i class="icon-synio-rating"></i> <?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getRating(); ?> </span> <?php echo smarty_function_hook(array('run' => 'userbar_stat_item'), $_smarty_tpl); ?> </li> <?php echo smarty_function_hook(array('run' => 'userbar_item_first'), $_smarty_tpl); ?> <li class="item-messages"> <a href="<?php echo smarty_function_router(array('page' => 'talk'), $_smarty_tpl); ?> " id="new_messages"> <i class="item-icon"></i> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_privat_messages']; ?> <?php if ($_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value) { ?> <div class="new">+<?php echo $_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value; ?> </div><?php } ?> </a> </li> <li class="item-favourite"><i class="item-icon"></i><a href="<?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath(); ?> favourites/topics/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_menu_profile_favourites']; ?> </a></li> <li class="item-profile"><i class="item-icon"></i><a href="<?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath(); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['footer_menu_user_profile']; ?> </a></li> <li class="item-settings"><i class="item-icon"></i><a href="<?php echo smarty_function_router(array('page' => 'settings'), $_smarty_tpl); ?> profile/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_settings']; ?> </a></li> <li class="item-create"><i class="item-icon"></i><a href="<?php echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl); ?> add/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_create']; ?> </a></li> <?php echo smarty_function_hook(array('run' => 'userbar_item_last'), $_smarty_tpl); ?> <li class="item-signout"><i class="item-icon"></i><a href="<?php echo smarty_function_router(array('page' => 'login'), $_smarty_tpl); ?> exit/?security_ls_key=<?php echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value; ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['exit']; ?> </a></li> </ul> </div> <?php } else { ?> <ul class="auth"> <?php echo smarty_function_hook(array('run' => 'userbar_item'), $_smarty_tpl); ?> <li><a href="<?php echo smarty_function_router(array('page' => 'registration'), $_smarty_tpl); ?> " class="js-registration-form-show"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['registration_submit']; ?> </a></li> <li><a href="<?php echo smarty_function_router(array('page' => 'login'), $_smarty_tpl); ?> " class="js-login-form-show sign-in"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_login_submit']; ?> </a></li> </ul> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value) { ?> <a href="<?php echo smarty_function_router(array('page' => 'talk'), $_smarty_tpl); ?> " class="new-messages">+<?php echo $_smarty_tpl->tpl_vars['iUserCurrentCountTalkNew']->value; ?> <i class="icon-synio-new-message"></i></a><?php } ?> <?php echo smarty_function_hook(array('run' => 'header_banner_end'), $_smarty_tpl); ?> </header> <?php }
function content_5577f7814cdac0_58090673($_smarty_tpl) { if (!is_callable('smarty_function_hook')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php'; } if (!is_callable('smarty_function_cfg')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php'; } if (!is_callable('smarty_function_router')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php'; } if (!is_callable('smarty_function_json')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.json.php'; } if (!is_callable('smarty_function_add_block')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.add_block.php'; } ?> <!doctype html> <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="ru"> <![endif]--> <!--[if IE 7]> <html class="no-js ie7 oldie" lang="ru"> <![endif]--> <!--[if IE 8]> <html class="no-js ie8 oldie" lang="ru"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="ru"> <!--<![endif]--> <head> <?php echo smarty_function_hook(array('run' => 'html_head_begin'), $_smarty_tpl); ?> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title><?php echo $_smarty_tpl->tpl_vars['sHtmlTitle']->value; ?> </title> <meta name="description" content="<?php echo $_smarty_tpl->tpl_vars['sHtmlDescription']->value; ?> "> <meta name="keywords" content="<?php echo $_smarty_tpl->tpl_vars['sHtmlKeywords']->value; ?> "> <?php echo $_smarty_tpl->tpl_vars['aHtmlHeadFiles']->value['css']; ?> <link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700&subset=latin,cyrillic' rel='stylesheet' type='text/css'> <link href="<?php echo smarty_function_cfg(array('name' => 'path.static.skin'), $_smarty_tpl); ?> /images/favicon.ico?v1" rel="shortcut icon" /> <link rel="search" type="application/opensearchdescription+xml" href="<?php echo smarty_function_router(array('page' => 'search'), $_smarty_tpl); ?> opensearch/" title="<?php echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl); ?> " /> <?php if ($_smarty_tpl->tpl_vars['aHtmlRssAlternate']->value) { ?> <link rel="alternate" type="application/rss+xml" href="<?php echo $_smarty_tpl->tpl_vars['aHtmlRssAlternate']->value['url']; ?> " title="<?php echo $_smarty_tpl->tpl_vars['aHtmlRssAlternate']->value['title']; ?> "> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['sHtmlCanonical']->value) { ?> <link rel="canonical" href="<?php echo $_smarty_tpl->tpl_vars['sHtmlCanonical']->value; ?> " /> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['bRefreshToHome']->value) { ?> <meta HTTP-EQUIV="Refresh" CONTENT="3; URL=<?php echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl); ?> /"> <?php } ?> <script type="text/javascript"> var DIR_WEB_ROOT = '<?php echo smarty_function_cfg(array('name' => "path.root.web"), $_smarty_tpl); ?> '; var DIR_STATIC_SKIN = '<?php echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl); ?> '; var DIR_ROOT_ENGINE_LIB = '<?php echo smarty_function_cfg(array('name' => "path.root.engine_lib"), $_smarty_tpl); ?> '; var LIVESTREET_SECURITY_KEY = '<?php echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value; ?> '; var SESSION_ID = '<?php echo $_smarty_tpl->tpl_vars['_sPhpSessionId']->value; ?> '; var BLOG_USE_TINYMCE = '<?php echo smarty_function_cfg(array('name' => "view.tinymce"), $_smarty_tpl); ?> '; var TINYMCE_LANG = 'en'; <?php if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('lang.current') == 'russian') { ?> TINYMCE_LANG = 'ru'; <?php } ?> var aRouter = new Array(); <?php $_smarty_tpl->tpl_vars['sPath'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['sPath']->_loop = false; $_smarty_tpl->tpl_vars['sPage'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['aRouter']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['sPath']->key => $_smarty_tpl->tpl_vars['sPath']->value) { $_smarty_tpl->tpl_vars['sPath']->_loop = true; $_smarty_tpl->tpl_vars['sPage']->value = $_smarty_tpl->tpl_vars['sPath']->key; ?> aRouter['<?php echo $_smarty_tpl->tpl_vars['sPage']->value; ?> '] = '<?php echo $_smarty_tpl->tpl_vars['sPath']->value; ?> '; <?php } ?> </script> <?php echo $_smarty_tpl->tpl_vars['aHtmlHeadFiles']->value['js']; ?> <script type="text/javascript"> var tinyMCE = false; ls.lang.load(<?php echo smarty_function_json(array('var' => $_smarty_tpl->tpl_vars['aLangJs']->value), $_smarty_tpl); ?> ); ls.registry.set('comment_max_tree',<?php echo smarty_function_json(array('var' => $_smarty_tpl->tpl_vars['oConfig']->value->Get('module.comment.max_tree')), $_smarty_tpl); ?> ); ls.registry.set('block_stream_show_tip',<?php echo smarty_function_json(array('var' => $_smarty_tpl->tpl_vars['oConfig']->value->Get('block.stream.show_tip')), $_smarty_tpl); ?> ); </script> <?php ob_start(); echo smarty_function_cfg(array('name' => 'view.grid.type'), $_smarty_tpl); $_tmp1 = ob_get_clean(); if ($_tmp1 == 'fluid') { ?> <style> #container { min-width: <?php echo smarty_function_cfg(array('name' => 'view.grid.fluid_min_width'), $_smarty_tpl); ?> px; max-width: <?php echo smarty_function_cfg(array('name' => 'view.grid.fluid_max_width'), $_smarty_tpl); ?> px; } </style> <?php } else { ?> <style> #container { width: <?php echo smarty_function_cfg(array('name' => 'view.grid.fixed_width'), $_smarty_tpl); ?> px; } </style> <?php } ?> <?php echo smarty_function_hook(array('run' => 'html_head_end'), $_smarty_tpl); ?> </head> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) { ?> <?php $_smarty_tpl->tpl_vars['body_classes'] = new Smarty_variable($_smarty_tpl->tpl_vars['body_classes']->value . ' ls-user-role-user', null, 0); ?> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator()) { ?> <?php $_smarty_tpl->tpl_vars['body_classes'] = new Smarty_variable($_smarty_tpl->tpl_vars['body_classes']->value . ' ls-user-role-admin', null, 0); ?> <?php } } else { ?> <?php $_smarty_tpl->tpl_vars['body_classes'] = new Smarty_variable($_smarty_tpl->tpl_vars['body_classes']->value . ' ls-user-role-guest', null, 0); } ?> <?php if (!$_smarty_tpl->tpl_vars['oUserCurrent']->value || $_smarty_tpl->tpl_vars['oUserCurrent']->value && !$_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator()) { ?> <?php $_smarty_tpl->tpl_vars['body_classes'] = new Smarty_variable($_smarty_tpl->tpl_vars['body_classes']->value . ' ls-user-role-not-admin', null, 0); } ?> <?php echo smarty_function_add_block(array('group' => 'toolbar', 'name' => 'toolbar_admin.tpl', 'priority' => 100), $_smarty_tpl); ?> <?php echo smarty_function_add_block(array('group' => 'toolbar', 'name' => 'toolbar_scrollup.tpl', 'priority' => -100), $_smarty_tpl); ?> <body class="<?php echo $_smarty_tpl->tpl_vars['body_classes']->value; ?> width-<?php echo smarty_function_cfg(array('name' => 'view.grid.type'), $_smarty_tpl); ?> "> <?php echo smarty_function_hook(array('run' => 'body_begin'), $_smarty_tpl); ?> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) { ?> <?php echo $_smarty_tpl->getSubTemplate('window_write.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php echo $_smarty_tpl->getSubTemplate('window_favourite_form_tags.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php } else { ?> <?php echo $_smarty_tpl->getSubTemplate('window_login.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) { ?> <div id="header-back"></div> <?php } ?> <div id="container" class="<?php echo smarty_function_hook(array('run' => 'container_class'), $_smarty_tpl); ?> "> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) { echo $_smarty_tpl->getSubTemplate('header_top.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php } ?> <?php echo $_smarty_tpl->getSubTemplate('nav.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div id="wrapper" class="no-sidebar<?php echo smarty_function_hook(array('run' => 'wrapper_class'), $_smarty_tpl); ?> "> <!-- <?php if (!$_smarty_tpl->tpl_vars['noSidebar']->value) { ?> <?php echo $_smarty_tpl->getSubTemplate('sidebar.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php } ?> --> <div id="content" role="main" <?php if ($_smarty_tpl->tpl_vars['sidebarPosition']->value == 'left') { ?> class="content-profile"<?php } ?> <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'profile') { ?> itemscope itemtype="http://data-vocabulary.org/Person"<?php } ?> > <?php echo $_smarty_tpl->getSubTemplate('nav_content.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php echo $_smarty_tpl->getSubTemplate('system_message.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php echo smarty_function_hook(array('run' => 'content_begin'), $_smarty_tpl); }
function content_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> <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> </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> <?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_5684d6cc77ebd9_27892050($_smarty_tpl) { if (!is_callable('smarty_function_hook')) { include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php'; } ?> <div class="modal modal-image-upload" id="window_upload_img"> <header class="modal-header"> <h3><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg']; ?> </h3> <a href="#" class="close jqmClose"></a> </header> <div class="modal-content"> <ul class="nav nav-pills nav-pills-tabs"> <li class="active js-block-upload-img-item" data-type="pc"><a href="#"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_from_pc']; ?> </a></li> <li class="js-block-upload-img-item" data-type="link"><a href="#"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_from_link']; ?> </a></li> </ul> <form method="POST" action="" enctype="multipart/form-data" id="block_upload_img_content_pc" onsubmit="return false;" class="tab-content js-block-upload-img-content" data-type="pc"> <p><label for="img_file"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_file']; ?> :</label> <input type="file" name="img_file[]" id="img_file" value="" class="input-text input-width-full" multiple /></p> <?php echo smarty_function_hook(array('run' => "uploadimg_source"), $_smarty_tpl); ?> <p> <label for="form-image-align"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_align']; ?> :</label> <select name="align" id="form-image-align" class="input-width-full"> <option value=""><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_align_no']; ?> </option> <option value="left"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_align_left']; ?> </option> <option value="right"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_align_right']; ?> </option> <option value="center"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_align_center']; ?> </option> </select> </p> <p><label for="form-image-title"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_title']; ?> :</label> <input type="text" name="title" id="form-image-title" value="" class="input-text input-width-full" /></p> <?php echo smarty_function_hook(array('run' => "uploadimg_additional"), $_smarty_tpl); ?> <button type="submit" class="button button-primary" onclick="ls.ajaxUploadImg('block_upload_img_content_pc','<?php echo $_smarty_tpl->tpl_vars['sToLoad']->value; ?> ');"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_submit']; ?> </button> <button type="submit" class="button jqmClose"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_cancel']; ?> </button> </form> <form method="POST" action="" enctype="multipart/form-data" id="block_upload_img_content_link" onsubmit="return false;" style="display: none;" class="tab-content js-block-upload-img-content" data-type="link"> <p><label for="img_file"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_url']; ?> :</label> <input type="text" name="img_url" id="img_url" value="http://" class="input-text input-width-full" /></p> <p> <label for="form-image-url-align"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_align']; ?> :</label> <select name="align" id="form-image-url-align" class="input-width-full"> <option value=""><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_align_no']; ?> </option> <option value="left"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_align_left']; ?> </option> <option value="right"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_align_right']; ?> </option> <option value="center"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_align_center']; ?> </option> </select> </p> <p><label for="form-image-url-title"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_title']; ?> :</label> <input type="text" name="title" id="form-image-url-title" value="" class="input-text input-width-full" /></p> <?php echo smarty_function_hook(array('run' => "uploadimg_link_additional"), $_smarty_tpl); ?> <button type="submit" class="button button-primary" onclick="ls.topic.insertImageToEditor(jQuery('#img_url').val(),jQuery('#form-image-url-align').val(),jQuery('#form-image-url-title').val());"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_link_submit_paste']; ?> </button> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['or']; ?> <button type="submit" class="button button-primary" onclick="ls.ajaxUploadImg('block_upload_img_content_link','<?php echo $_smarty_tpl->tpl_vars['sToLoad']->value; ?> ');"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_link_submit_load']; ?> </button> <button type="submit" class="button jqmClose"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['uploadimg_cancel']; ?> </button> </form> </div> </div> <?php }
function content_568a9312634f67_85764045($_smarty_tpl) { if (!is_callable('smarty_function_hook')) { include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.hook.php'; } if (!is_callable('smarty_function_cfg')) { include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.cfg.php'; } if (!is_callable('smarty_function_router')) { include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.router.php'; } ?> <?php echo smarty_function_hook(array('run' => 'content_end'), $_smarty_tpl); ?> </main> </div> </div> <footer class="footer"> <div class="container"> <div class="row"> <div class="col-md-2"> <div class="logo-foot"> <img src="<?php echo smarty_function_cfg(array('name' => 'path.static.skin'), $_smarty_tpl); ?> images/logo_foot.png" alt=""> </div> </div> <div class="col-md-10"> <p class="copy">© 2015 Все права защищены</p> </div> </div> </div> <!-- <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) { ?> <ul class="footer-list"> <li class="footer-list-header word-wrap"><?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getLogin(); ?> </li> <li><a href="<?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath(); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['footer_menu_user_profile']; ?> </a></li> <li><a href="<?php echo smarty_function_router(array('page' => 'settings'), $_smarty_tpl); ?> profile/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_settings']; ?> </a></li> <li><a href="<?php echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl); ?> add/" class="js-write-window-show"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_create']; ?> </a></li> <?php echo smarty_function_hook(array('run' => 'footer_menu_user_item', 'oUser' => $_smarty_tpl->tpl_vars['oUserCurrent']->value), $_smarty_tpl); ?> <li><a href="<?php echo smarty_function_router(array('page' => 'login'), $_smarty_tpl); ?> exit/?security_ls_key=<?php echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value; ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['exit']; ?> </a></li> </ul> <?php } else { ?> <ul class="footer-list"> <li class="footer-list-header word-wrap"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['footer_menu_user_quest_title']; ?> </li> <li><a href="<?php echo smarty_function_router(array('page' => 'registration'), $_smarty_tpl); ?> " class="js-registration-form-show"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['registration_submit']; ?> </a></li> <li><a href="<?php echo smarty_function_router(array('page' => 'login'), $_smarty_tpl); ?> " class="js-login-form-show sign-in"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_login_submit']; ?> </a></li> <?php echo smarty_function_hook(array('run' => 'footer_menu_user_item', 'isGuest' => true), $_smarty_tpl); ?> </ul> <?php } ?> <ul class="footer-list"> <li class="footer-list-header"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['footer_menu_navigate_title']; ?> </li> <li><a href="<?php echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['topic_title']; ?> </a></li> <li><a href="<?php echo smarty_function_router(array('page' => 'blogs'), $_smarty_tpl); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blogs']; ?> </a></li> <li><a href="<?php echo smarty_function_router(array('page' => 'people'), $_smarty_tpl); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['people']; ?> </a></li> <li><a href="<?php echo smarty_function_router(array('page' => 'stream'), $_smarty_tpl); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['stream_menu']; ?> </a></li> <?php echo smarty_function_hook(array('run' => 'footer_menu_navigate_item'), $_smarty_tpl); ?> </ul> --> <!--<div class="copyright"> <?php echo smarty_function_hook(array('run' => 'copyright'), $_smarty_tpl); ?> <div class="design-by"> <img src="<?php echo smarty_function_cfg(array('name' => 'path.static.skin'), $_smarty_tpl); ?> /images/xeoart.png" alt="xeoart" /> Design by <a href="http://xeoart.com">xeoart</a> --> <!-- Yandex.Metrika informer --> <a class="ya" href="https://metrika.yandex.ru/stat/?id=29259100&from=informer" target="_blank" rel="nofollow"><img src="//bs.yandex.ru/informer/29259100/3_1_FFFFFFFF_EFEFEFFF_0_pageviews" style="width:88px; height:31px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)" onclick="try{Ya.Metrika.informer({i:this,id:29259100,lang:'ru'});return false}catch(e){}"/></a> <!-- /Yandex.Metrika informer --> <!-- Yandex.Metrika counter --> <script type="text/javascript"> (function (d, w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter29259100 = new Ya.Metrika({id:29259100, clickmap:true, trackLinks:true, accurateTrackBounce:true}); } catch(e) { } }); var n = d.getElementsByTagName("script")[0], s = d.createElement("script"), f = function () { n.parentNode.insertBefore(s, n); }; s.type = "text/javascript"; s.async = true; s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js"; if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } })(document, window, "yandex_metrika_callbacks"); </script> <noscript><div><img src="//mc.yandex.ru/watch/29259100" style="position:absolute; left:-9999px;" alt="" /></div></noscript> <!-- /Yandex.Metrika counter --> <?php echo smarty_function_hook(array('run' => 'footer_end'), $_smarty_tpl); ?> </footer> </div> <!-- /container --> <?php echo $_smarty_tpl->getSubTemplate('toolbar.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php echo smarty_function_hook(array('run' => 'body_end'), $_smarty_tpl); ?> <!-- Yandex.Metrika counter --> <script src="//mc.yandex.ru/metrika/watch.js" type="text/javascript"></script> <script type="text/javascript"> try { var yaCounter23864602 = new Ya.Metrika({id:23864602, webvisor:true, clickmap:true, trackLinks:true, accurateTrackBounce:true}); } catch(e) { } </script> <noscript><div><img src="//mc.yandex.ru/watch/23864602" style="position:absolute; left:-9999px;" alt="" /></div></noscript> <!-- /Yandex.Metrika counter --> </body> </html><?php }
function content_56877be16a10f1_96524023($_smarty_tpl) { if (!is_callable('smarty_function_cfg')) { include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.cfg.php'; } if (!is_callable('smarty_function_router')) { include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.router.php'; } if (!is_callable('smarty_function_hook')) { include 'D:\\OpenServer\\domains\\kprf.dev\\www/engine/modules/viewer/plugs\\function.hook.php'; } if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'index') { ?> <ul class="nav nav-pills mb-30"> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'good') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl); ?> /"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_all_good']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'new') { ?> class="active"<?php } ?> > <a href="<?php echo smarty_function_router(array('page' => 'index'), $_smarty_tpl); ?> newall/" title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_all']; ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_all_new']; ?> </a> <?php if ($_smarty_tpl->tpl_vars['iCountTopicsNew']->value > 0) { ?> <a href="<?php echo smarty_function_router(array('page' => 'index'), $_smarty_tpl); ?> new/" class="new" title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_24h']; ?> ">+<?php echo $_smarty_tpl->tpl_vars['iCountTopicsNew']->value; ?> </a><?php } ?> </li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'discussed') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'index'), $_smarty_tpl); ?> discussed/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_all_discussed']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'top') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'index'), $_smarty_tpl); ?> top/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_all_top']; ?> </a></li> <?php echo smarty_function_hook(array('run' => 'menu_blog_index_item'), $_smarty_tpl); ?> </ul> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'blog') { ?> <ul class="nav nav-pills mb-30"> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'good') { ?> class="active"<?php } ?> ><a href="<?php echo $_smarty_tpl->tpl_vars['sMenuSubBlogUrl']->value; ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_collective_good']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'new') { ?> class="active"<?php } ?> > <a href="<?php echo $_smarty_tpl->tpl_vars['sMenuSubBlogUrl']->value; ?> newall/" title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_all']; ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_collective_new']; ?> </a> <?php if ($_smarty_tpl->tpl_vars['iCountTopicsBlogNew']->value > 0) { ?> <a href="<?php echo $_smarty_tpl->tpl_vars['sMenuSubBlogUrl']->value; ?> new/" class="new" title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_24h']; ?> ">+<?php echo $_smarty_tpl->tpl_vars['iCountTopicsBlogNew']->value; ?> </a><?php } ?> </li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'discussed') { ?> class="active"<?php } ?> ><a href="<?php echo $_smarty_tpl->tpl_vars['sMenuSubBlogUrl']->value; ?> discussed/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_collective_discussed']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'top') { ?> class="active"<?php } ?> ><a href="<?php echo $_smarty_tpl->tpl_vars['sMenuSubBlogUrl']->value; ?> top/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_collective_top']; ?> </a></li> <?php echo smarty_function_hook(array('run' => 'menu_blog_blog_item'), $_smarty_tpl); ?> </ul> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'log') { ?> <ul class="nav nav-pills mb-30"> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'good') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'personal_blog'), $_smarty_tpl); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_personal_good']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'new') { ?> class="active"<?php } ?> > <a href="<?php echo smarty_function_router(array('page' => 'personal_blog'), $_smarty_tpl); ?> newall/" title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_all']; ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_personal_new']; ?> </a> <?php if ($_smarty_tpl->tpl_vars['iCountTopicsPersonalNew']->value > 0) { ?> <a href="<?php echo smarty_function_router(array('page' => 'personal_blog'), $_smarty_tpl); ?> new/" class="new" title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_24h']; ?> ">+<?php echo $_smarty_tpl->tpl_vars['iCountTopicsPersonalNew']->value; ?> </a><?php } ?> </li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'discussed') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'personal_blog'), $_smarty_tpl); ?> discussed/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_personal_discussed']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'top') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'personal_blog'), $_smarty_tpl); ?> top/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_personal_top']; ?> </a></li> <?php echo smarty_function_hook(array('run' => 'menu_blog_log_item'), $_smarty_tpl); ?> </ul> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['sPeriodSelectCurrent']->value) { ?> <ul class="nav nav-pills nav-pills-dropdown mb-30"> <li <?php if ($_smarty_tpl->tpl_vars['sPeriodSelectCurrent']->value == '1') { ?> class="active"<?php } ?> ><a href="<?php echo $_smarty_tpl->tpl_vars['sPeriodSelectRoot']->value; ?> ?period=1"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_24h']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sPeriodSelectCurrent']->value == '7') { ?> class="active"<?php } ?> ><a href="<?php echo $_smarty_tpl->tpl_vars['sPeriodSelectRoot']->value; ?> ?period=7"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_7d']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sPeriodSelectCurrent']->value == '30') { ?> class="active"<?php } ?> ><a href="<?php echo $_smarty_tpl->tpl_vars['sPeriodSelectRoot']->value; ?> ?period=30"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_30d']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sPeriodSelectCurrent']->value == 'all') { ?> class="active"<?php } ?> ><a href="<?php echo $_smarty_tpl->tpl_vars['sPeriodSelectRoot']->value; ?> ?period=all"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_all']; ?> </a></li> </ul> <?php } ?> <?php }
function content_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/> <?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_5684d6e3e18e68_69804359($_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'; } ?> <ul class="slide slide-write" id="write"> <?php if ($_smarty_tpl->tpl_vars['iUserCurrentCountTopicDraft']->value) { ?> <li class="write-item-type-draft"> <i class="icon-submit-draft"></i> <a href="<?php echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl); ?> saved/" class="write-item-link"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['topic_menu_saved']; ?> (<?php echo $_smarty_tpl->tpl_vars['iUserCurrentCountTopicDraft']->value; ?> )</a> </li> <?php } ?> <li class="write-item-type-topic"> <i class="icon-submit-topic"></i> <a href="<?php echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl); ?> add" class="write-item-link"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_create_topic_topic']; ?> </a> </li> <li class="write-item-type-blog"> <i class="icon-submit-blog"></i> <a href="<?php echo smarty_function_router(array('page' => 'blog'), $_smarty_tpl); ?> add" class="write-item-link"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_create_blog']; ?> </a> </li> <li class="write-item-type-message"> <i class="icon-submit-message"></i> <a href="<?php echo smarty_function_router(array('page' => 'talk'), $_smarty_tpl); ?> add" class="write-item-link"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_create_talk']; ?> </a> </li> <?php echo smarty_function_hook(array('run' => 'write_item', 'isPopup' => true), $_smarty_tpl); ?> </ul> <?php }
function content_5684d6e41b3777_51835404($_smarty_tpl) { if (!is_callable('smarty_function_hook')) { include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php'; } if ($_smarty_tpl->tpl_vars['bIsShowStatsPerformance']->value && $_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator()) { ?> <div class="stat-performance"> <?php echo smarty_function_hook(array('run' => 'statistics_performance_begin'), $_smarty_tpl); ?> <table> <tr> <td> <h4>MySql</h4> query: <strong><?php echo $_smarty_tpl->tpl_vars['aStatsPerformance']->value['sql']['count']; ?> </strong><br /> time: <strong><?php echo $_smarty_tpl->tpl_vars['aStatsPerformance']->value['sql']['time']; ?> </strong> </td> <td> <h4>Cache</h4> query: <strong><?php echo $_smarty_tpl->tpl_vars['aStatsPerformance']->value['cache']['count']; ?> </strong><br /> — set: <strong><?php echo $_smarty_tpl->tpl_vars['aStatsPerformance']->value['cache']['count_set']; ?> </strong><br /> — get: <strong><?php echo $_smarty_tpl->tpl_vars['aStatsPerformance']->value['cache']['count_get']; ?> </strong><br /> time: <strong><?php echo $_smarty_tpl->tpl_vars['aStatsPerformance']->value['cache']['time']; ?> </strong> </td> <td> <h4>PHP</h4> time load modules: <strong><?php echo $_smarty_tpl->tpl_vars['aStatsPerformance']->value['engine']['time_load_module']; ?> </strong><br /> full time: <strong><?php echo $_smarty_tpl->tpl_vars['iTimeFullPerformance']->value; ?> </strong> </td> <?php echo smarty_function_hook(array('run' => 'statistics_performance_item'), $_smarty_tpl); ?> </tr> </table> <?php echo smarty_function_hook(array('run' => 'statistics_performance_end'), $_smarty_tpl); ?> </div> <?php } }
function content_5684d6caeb3ac4_70007888($_smarty_tpl) { if (!is_callable('smarty_function_cfg')) { include '/var/www/bunker//engine/modules/viewer/plugs/function.cfg.php'; } if (!is_callable('smarty_function_hook')) { include '/var/www/bunker//engine/modules/viewer/plugs/function.hook.php'; } if (!is_callable('smarty_function_router')) { include '/var/www/bunker//engine/modules/viewer/plugs/function.router.php'; } if (!is_callable('smarty_function_json')) { include '/var/www/bunker//engine/modules/viewer/plugs/function.json.php'; } if (!is_callable('smarty_function_add_block')) { include '/var/www/bunker//engine/modules/viewer/plugs/function.add_block.php'; } ?> <!doctype html> <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="ru"> <![endif]--> <!--[if IE 7]> <html class="no-js ie7 oldie" lang="ru"> <![endif]--> <!--[if IE 8]> <html class="no-js ie8 oldie" lang="ru"> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang="ru"> <!--<![endif]--> <head> <?php if ($_smarty_tpl->tpl_vars['sAction']->value != 'login') { ?> <?php if (!$_smarty_tpl->tpl_vars['oUserCurrent']->value) { ?> <?php } } ?> <script async src="<?php echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl); ?> /js/spoiler.js"></script> <?php echo smarty_function_hook(array('run' => 'html_head_begin'), $_smarty_tpl); ?> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title><?php echo $_smarty_tpl->tpl_vars['sHtmlTitle']->value; ?> </title> <meta name="description" content="<?php echo $_smarty_tpl->tpl_vars['sHtmlDescription']->value; ?> "> <meta name="keywords" content="<?php echo $_smarty_tpl->tpl_vars['sHtmlKeywords']->value; ?> "> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.css"> <link rel="stylesheet" href="<?php echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl); ?> /css/menu.css"> <?php echo $_smarty_tpl->tpl_vars['aHtmlHeadFiles']->value['css']; ?> <link href="<?php echo smarty_function_cfg(array('name' => 'path.static.skin'), $_smarty_tpl); ?> /images/favicon.ico?v1" rel="shortcut icon" /> <link rel="search" type="application/opensearchdescription+xml" href="<?php echo smarty_function_router(array('page' => 'search'), $_smarty_tpl); ?> opensearch/" title="<?php echo smarty_function_cfg(array('name' => 'view.name'), $_smarty_tpl); ?> " /> <?php if ($_smarty_tpl->tpl_vars['aHtmlRssAlternate']->value) { ?> <link rel="alternate" type="application/rss+xml" href="<?php echo $_smarty_tpl->tpl_vars['aHtmlRssAlternate']->value['url']; ?> " title="<?php echo $_smarty_tpl->tpl_vars['aHtmlRssAlternate']->value['title']; ?> "> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['sHtmlCanonical']->value) { ?> <link rel="canonical" href="<?php echo $_smarty_tpl->tpl_vars['sHtmlCanonical']->value; ?> " /> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['bRefreshToHome']->value) { ?> <meta HTTP-EQUIV="Refresh" CONTENT="3; URL=<?php echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl); ?> /"> <?php } ?> <script type="text/javascript"> var DIR_WEB_ROOT = '<?php echo smarty_function_cfg(array('name' => "path.root.web"), $_smarty_tpl); ?> '; var DIR_STATIC_SKIN = '<?php echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl); ?> '; var DIR_ROOT_ENGINE_LIB = '<?php echo smarty_function_cfg(array('name' => "path.root.engine_lib"), $_smarty_tpl); ?> '; var LIVESTREET_SECURITY_KEY = '<?php echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value; ?> '; var SESSION_ID = '<?php echo $_smarty_tpl->tpl_vars['_sPhpSessionId']->value; ?> '; var BLOG_USE_TINYMCE = '<?php echo smarty_function_cfg(array('name' => "view.tinymce"), $_smarty_tpl); ?> '; var TINYMCE_LANG = 'en'; <?php if ($_smarty_tpl->tpl_vars['oConfig']->value->GetValue('lang.current') == 'russian') { ?> TINYMCE_LANG = 'ru'; <?php } ?> var aRouter = new Array(); <?php $_smarty_tpl->tpl_vars['sPath'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['sPath']->_loop = false; $_smarty_tpl->tpl_vars['sPage'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['aRouter']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['sPath']->key => $_smarty_tpl->tpl_vars['sPath']->value) { $_smarty_tpl->tpl_vars['sPath']->_loop = true; $_smarty_tpl->tpl_vars['sPage']->value = $_smarty_tpl->tpl_vars['sPath']->key; ?> aRouter['<?php echo $_smarty_tpl->tpl_vars['sPage']->value; ?> '] = '<?php echo $_smarty_tpl->tpl_vars['sPath']->value; ?> '; <?php } ?> </script> <script> function getCookie(name) { var matches = document.cookie.match(new RegExp( "(?:^|; )" + name.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)" )); return matches ? decodeURIComponent(matches[1]) : undefined; } </script> <?php echo $_smarty_tpl->tpl_vars['aHtmlHeadFiles']->value['js']; ?> <script type="text/javascript"> var tinyMCE = false; ls.lang.load(<?php echo smarty_function_json(array('var' => $_smarty_tpl->tpl_vars['aLangJs']->value), $_smarty_tpl); ?> ); ls.registry.set('comment_max_tree',<?php echo smarty_function_json(array('var' => $_smarty_tpl->tpl_vars['oConfig']->value->Get('module.comment.max_tree')), $_smarty_tpl); ?> ); ls.registry.set('block_stream_show_tip',<?php echo smarty_function_json(array('var' => $_smarty_tpl->tpl_vars['oConfig']->value->Get('block.stream.show_tip')), $_smarty_tpl); ?> ); </script> <?php ob_start(); echo smarty_function_cfg(array('name' => 'view.grid.type'), $_smarty_tpl); $_tmp1 = ob_get_clean(); if ($_tmp1 == 'fluid') { ?> <style> /* #container { min-width: <?php echo smarty_function_cfg(array('name' => 'view.grid.fluid_min_width'), $_smarty_tpl); ?> px; max-width: <?php echo smarty_function_cfg(array('name' => 'view.grid.fluid_max_width'), $_smarty_tpl); ?> px; } */ </style> <?php } else { ?> <?php } ?> <?php echo smarty_function_hook(array('run' => 'html_head_end'), $_smarty_tpl); ?> <style> .sticky { position: fixed; z-index: 101; } .stop { position: relative; z-index: 101; } /* #container{min-width: 1200px;} */ </style> </head> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) { ?> <?php $_smarty_tpl->tpl_vars['body_classes'] = new Smarty_variable($_smarty_tpl->tpl_vars['body_classes']->value . ' ls-user-role-user', null, 0); ?> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator()) { ?> <?php $_smarty_tpl->tpl_vars['body_classes'] = new Smarty_variable($_smarty_tpl->tpl_vars['body_classes']->value . ' ls-user-role-admin', null, 0); ?> <?php } } else { ?> <?php $_smarty_tpl->tpl_vars['body_classes'] = new Smarty_variable($_smarty_tpl->tpl_vars['body_classes']->value . ' ls-user-role-guest', null, 0); } ?> <?php if (!$_smarty_tpl->tpl_vars['oUserCurrent']->value || $_smarty_tpl->tpl_vars['oUserCurrent']->value && !$_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator()) { ?> <?php $_smarty_tpl->tpl_vars['body_classes'] = new Smarty_variable($_smarty_tpl->tpl_vars['body_classes']->value . ' ls-user-role-not-admin', null, 0); } ?> <?php echo smarty_function_add_block(array('group' => 'toolbar', 'name' => 'toolbar_admin.tpl', 'priority' => 100), $_smarty_tpl); ?> <?php echo smarty_function_add_block(array('group' => 'toolbar', 'name' => 'toolbar_scrollup.tpl', 'priority' => -100), $_smarty_tpl); ?> <body class="<?php echo $_smarty_tpl->tpl_vars['body_classes']->value; ?> width-<?php echo smarty_function_cfg(array('name' => 'view.grid.type'), $_smarty_tpl); ?> "> <img src="<?php echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl); ?> /images/woona-big.png" class="woona"> <script src="<?php echo smarty_function_cfg(array('name' => "path.static.skin"), $_smarty_tpl); ?> /js/woona.js"></script> <?php echo smarty_function_hook(array('run' => 'body_begin'), $_smarty_tpl); ?> <nav id="userbar" class="clearfix"> <?php echo smarty_function_hook(array('run' => 'userbar_nav'), $_smarty_tpl); ?> <?php echo $_smarty_tpl->getSubTemplate('userbar.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) { ?> <?php echo $_smarty_tpl->getSubTemplate('window_write.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php echo $_smarty_tpl->getSubTemplate('window_favourite_form_tags.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php } else { ?> <?php echo $_smarty_tpl->getSubTemplate('window_login.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php } ?> <?php echo $_smarty_tpl->getSubTemplate('nav.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div id="container" class="<?php echo smarty_function_hook(array('run' => 'container_class'), $_smarty_tpl); ?> "> <?php echo $_smarty_tpl->getSubTemplate('header_top.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <div id="wrapper" class="<?php echo smarty_function_hook(array('run' => 'wrapper_class'), $_smarty_tpl); ?> "> <?php if (!$_smarty_tpl->tpl_vars['noSidebar']->value && $_smarty_tpl->tpl_vars['sidebarPosition']->value == 'left') { ?> <?php echo $_smarty_tpl->getSubTemplate('sidebar.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php } ?> <?php if (!$_smarty_tpl->tpl_vars['noSidebar']->value && $_smarty_tpl->tpl_vars['sidebarPosition']->value != 'left') { ?> <?php echo $_smarty_tpl->getSubTemplate('sidebar.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php } ?> <!-- Krivo... --> <div id="content" role="main" class="<?php if ($_smarty_tpl->tpl_vars['noSidebar']->value) { ?> content-full-width<?php } ?> <?php if ($_smarty_tpl->tpl_vars['sidebarPosition']->value == 'left') { ?> content-right<?php } ?> " <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'profile') { ?> itemscope itemtype="http://data-vocabulary.org/Person"<?php } ?> > <?php echo $_smarty_tpl->getSubTemplate('nav_content.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php echo $_smarty_tpl->getSubTemplate('system_message.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php echo smarty_function_hook(array('run' => 'content_begin'), $_smarty_tpl); ?> <?php }
function content_55784d2ec4cd59_78446176($_smarty_tpl) { if (!is_callable('smarty_function_hook')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php'; } if (!is_callable('smarty_function_router')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php'; } ?> <script type="text/javascript"> jQuery(window).load(function () { var trigger = $('#dropdown-create-trigger'); var menu = $('#dropdown-create-menu'); var pos = trigger.offset(); // Dropdown menu.find('li.active').prependTo(menu).click(function(){ menu.hide(); return false; }); menu.appendTo('body').css({ 'left': pos.left - 18, 'top': pos.top - 13, 'display': 'none' }); trigger.click(function(){ menu.toggle(); return false; }); // Hide menu $(document).click(function(){ menu.hide(); }); $('body').on("click", "#dropdown-create-trigger, #dropdown-create-menu", function(e) { e.stopPropagation(); }); $(window).resize(function(){ menu.css({ 'left': $('#dropdown-create-trigger').offset().left - 18 }); }); }); </script> <div class="dropdown-create"> <h2 class="page-header"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_create']; ?> <a href="#" class="dropdown-create-trigger link-dashed" id="dropdown-create-trigger"><?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'topic') { echo $_smarty_tpl->tpl_vars['aLang']->value['topic_menu_add']; } elseif ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'blog') { echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_create']; } elseif ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'talk') { echo $_smarty_tpl->tpl_vars['aLang']->value['block_create_talk']; } else { echo smarty_function_hook(array('run' => 'menu_create_item_select', 'sMenuItemSelect' => $_smarty_tpl->tpl_vars['sMenuItemSelect']->value), $_smarty_tpl); } ?> </a></h2> <ul class="dropdown-menu-create" id="dropdown-create-menu" style="display: none"> <li <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'topic') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl); ?> add/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['topic_menu_add']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'blog') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'blog'), $_smarty_tpl); ?> add/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_create']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'talk') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'talk'), $_smarty_tpl); ?> add/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_create_talk']; ?> </a></li> <?php echo smarty_function_hook(array('run' => 'menu_create_item', 'sMenuItemSelect' => $_smarty_tpl->tpl_vars['sMenuItemSelect']->value), $_smarty_tpl); ?> </ul> </div> <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'topic') { ?> <?php if ($_smarty_tpl->tpl_vars['iUserCurrentCountTopicDraft']->value) { ?> <a href="<?php echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl); ?> saved/" class="drafts"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['topic_menu_saved']; ?> (<?php echo $_smarty_tpl->tpl_vars['iUserCurrentCountTopicDraft']->value; ?> )</a> <?php } ?> <ul class="nav nav-pills mb-30"> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'topic') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl); ?> add/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['topic_menu_add_topic']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'question') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'question'), $_smarty_tpl); ?> add/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['topic_menu_add_question']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'link') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'link'), $_smarty_tpl); ?> add/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['topic_menu_add_link']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'photoset') { ?> class="active"<?php } ?> ><a href="<?php echo smarty_function_router(array('page' => 'photoset'), $_smarty_tpl); ?> add/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['topic_menu_add_photoset']; ?> </a></li> <?php echo smarty_function_hook(array('run' => 'menu_create_topic_item'), $_smarty_tpl); ?> </ul> <?php } ?> <?php echo smarty_function_hook(array('run' => 'menu_create', 'sMenuItemSelect' => $_smarty_tpl->tpl_vars['sMenuItemSelect']->value, 'sMenuSubItemSelect' => $_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value), $_smarty_tpl); }
function content_5684d8b3b04123_44863027($_smarty_tpl) { if (!is_callable('smarty_function_lang_load')) { include '/var/www/bunker//engine/modules/viewer/plugs/function.lang_load.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'; } echo $_smarty_tpl->getSubTemplate('header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('noBg' => true), 0); ?> <?php $_smarty_tpl->tpl_vars["oUserOwner"] = new Smarty_variable($_smarty_tpl->tpl_vars['oBlog']->value->getOwner(), null, 0); $_smarty_tpl->tpl_vars["oVote"] = new Smarty_variable($_smarty_tpl->tpl_vars['oBlog']->value->getVote(), null, 0); ?> <script type="text/javascript"> jQuery(function($){ ls.lang.load(<?php echo smarty_function_lang_load(array('name' => "blog_fold_info,blog_expand_info"), $_smarty_tpl); ?> ); }); </script> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator()) { ?> <div id="blog_delete_form" class="modal"> <header class="modal-header"> <h3><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_admin_delete_title']; ?> </h3> <a href="#" class="close jqmClose"></a> </header> <form action="<?php echo smarty_function_router(array('page' => 'blog'), $_smarty_tpl); ?> delete/<?php echo $_smarty_tpl->tpl_vars['oBlog']->value->getId(); ?> /" method="POST" class="modal-content"> <p><label for="topic_move_to"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_admin_delete_move']; ?> :</label> <select name="topic_move_to" id="topic_move_to" class="input-width-full"> <option value="-1"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_delete_clear']; ?> </option> <?php if ($_smarty_tpl->tpl_vars['aBlogs']->value) { ?> <optgroup label="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['blogs']; ?> "> <?php $_smarty_tpl->tpl_vars['oBlogDelete'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['oBlogDelete']->_loop = false; $_from = $_smarty_tpl->tpl_vars['aBlogs']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['oBlogDelete']->key => $_smarty_tpl->tpl_vars['oBlogDelete']->value) { $_smarty_tpl->tpl_vars['oBlogDelete']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['oBlogDelete']->value->getId(); ?> "><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['oBlogDelete']->value->getTitle(), ENT_QUOTES, 'UTF-8', true); ?> </option> <?php } ?> </optgroup> <?php } ?> </select></p> <input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value; ?> " name="security_ls_key" /> <button type="submit" class="button button-primary"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_delete']; ?> </button> </form> </div> <?php } ?> <div class="blog"> <header class="blog-header"> <img src="<?php echo $_smarty_tpl->tpl_vars['oBlog']->value->getAvatarPath(64); ?> " alt="avatar" class="avatar" /> <h2><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['oBlog']->value->getTitle(), ENT_QUOTES, 'UTF-8', true); ?> </h2> <p> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['blogs_rating']; ?> : <span id="vote_total_blog_alt_<?php echo $_smarty_tpl->tpl_vars['oBlog']->value->getId(); ?> "><?php echo $_smarty_tpl->tpl_vars['oBlog']->value->getRating(); ?> </span>, <?php echo $_smarty_tpl->tpl_vars['aLang']->value['blogs_readers']; ?> : <?php echo $_smarty_tpl->tpl_vars['oBlog']->value->getCountUser(); ?> </p> <a href="#" class="icon-blog-more" id="blog-more" onclick="ls.tools.slide(jQuery('#blog-more-content'), jQuery(this)); return false;"></a> </header> <div class="blog-more-content" id="blog-more-content" style="display: none;"> <div class="blog-content text"> <?php echo $_smarty_tpl->tpl_vars['oBlog']->value->getDescription(); ?> </div> <footer class="blog-footer"> <?php echo smarty_function_hook(array('run' => 'blog_info_begin', 'oBlog' => $_smarty_tpl->tpl_vars['oBlog']->value), $_smarty_tpl); ?> <strong><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_user_administrators']; ?> (<?php echo $_smarty_tpl->tpl_vars['iCountBlogAdministrators']->value; ?> ):</strong> <a href="<?php echo $_smarty_tpl->tpl_vars['oUserOwner']->value->getUserWebPath(); ?> " class="user"><?php echo $_smarty_tpl->tpl_vars['oUserOwner']->value->getLogin(); ?> </a> <?php if ($_smarty_tpl->tpl_vars['aBlogAdministrators']->value) { ?> <?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'); } foreach ($_from as $_smarty_tpl->tpl_vars['oBlogUser']->key => $_smarty_tpl->tpl_vars['oBlogUser']->value) { $_smarty_tpl->tpl_vars['oBlogUser']->_loop = true; ?> <?php $_smarty_tpl->tpl_vars["oUser"] = new Smarty_variable($_smarty_tpl->tpl_vars['oBlogUser']->value->getUser(), null, 0); ?> <a href="<?php echo $_smarty_tpl->tpl_vars['oUser']->value->getUserWebPath(); ?> " class="user"><?php echo $_smarty_tpl->tpl_vars['oUser']->value->getLogin(); ?> </a> <?php } ?> <?php } ?> <br /> <strong><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_user_moderators']; ?> (<?php echo $_smarty_tpl->tpl_vars['iCountBlogModerators']->value; ?> ):</strong> <?php if ($_smarty_tpl->tpl_vars['aBlogModerators']->value) { ?> <?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'); } foreach ($_from as $_smarty_tpl->tpl_vars['oBlogUser']->key => $_smarty_tpl->tpl_vars['oBlogUser']->value) { $_smarty_tpl->tpl_vars['oBlogUser']->_loop = true; ?> <?php $_smarty_tpl->tpl_vars["oUser"] = new Smarty_variable($_smarty_tpl->tpl_vars['oBlogUser']->value->getUser(), null, 0); ?> <a href="<?php echo $_smarty_tpl->tpl_vars['oUser']->value->getUserWebPath(); ?> " class="user"><?php echo $_smarty_tpl->tpl_vars['oUser']->value->getLogin(); ?> </a> <?php } ?> <?php } else { ?> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_user_moderators_empty']; ?> <?php } ?> <br /> <strong><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_user_readers']; ?> (<?php echo $_smarty_tpl->tpl_vars['iCountBlogUsers']->value; ?> ):</strong> <?php if ($_smarty_tpl->tpl_vars['aBlogUsers']->value) { ?> <?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'); } foreach ($_from as $_smarty_tpl->tpl_vars['oBlogUser']->key => $_smarty_tpl->tpl_vars['oBlogUser']->value) { $_smarty_tpl->tpl_vars['oBlogUser']->_loop = true; ?> <?php $_smarty_tpl->tpl_vars["oUser"] = new Smarty_variable($_smarty_tpl->tpl_vars['oBlogUser']->value->getUser(), null, 0); ?> <a href="<?php echo $_smarty_tpl->tpl_vars['oUser']->value->getUserWebPath(); ?> " class="user"><?php echo $_smarty_tpl->tpl_vars['oUser']->value->getLogin(); ?> </a> <?php } ?> <?php if (count($_smarty_tpl->tpl_vars['aBlogUsers']->value) < $_smarty_tpl->tpl_vars['iCountBlogUsers']->value) { ?> <br /><a href="<?php echo $_smarty_tpl->tpl_vars['oBlog']->value->getUrlFull(); ?> users/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_user_readers_all']; ?> </a> <?php } ?> <?php } else { ?> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_user_readers_empty']; ?> <?php } ?> <?php echo smarty_function_hook(array('run' => 'blog_info_end', 'oBlog' => $_smarty_tpl->tpl_vars['oBlog']->value), $_smarty_tpl); ?> </footer> </div> <ul class="actions clearfix"> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) { ?> <?php if ($_smarty_tpl->tpl_vars['oBlog']->value->getType() == 'close') { ?> <li><i title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_closed']; ?> " class="icon-blog-private"></i></li> <?php } else { ?> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value->getId() != $_smarty_tpl->tpl_vars['oBlog']->value->getOwnerId() && $_smarty_tpl->tpl_vars['oBlog']->value->getType() == 'open') { ?> <li><a href="#" class="icon-blog-join <?php if ($_smarty_tpl->tpl_vars['oBlog']->value->getUserIsJoin()) { ?> active<?php } ?> " onclick="ls.blog.toggleJoin(this, <?php echo $_smarty_tpl->tpl_vars['oBlog']->value->getId(); ?> ); return false;"></a></li> <?php } else { ?> <li><i class="icon-blog-owner"></i></li> <?php } ?> <?php } ?> <?php } ?> <li><a href="<?php echo smarty_function_router(array('page' => 'rss'), $_smarty_tpl); ?> blog/<?php echo $_smarty_tpl->tpl_vars['oBlog']->value->getUrl(); ?> /" class="icon-rss"></a></li> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value && ($_smarty_tpl->tpl_vars['oUserCurrent']->value->getId() == $_smarty_tpl->tpl_vars['oBlog']->value->getOwnerId() || $_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator() || $_smarty_tpl->tpl_vars['oBlog']->value->getUserIsAdministrator())) { ?> <li><a href="<?php echo smarty_function_router(array('page' => 'blog'), $_smarty_tpl); ?> edit/<?php echo $_smarty_tpl->tpl_vars['oBlog']->value->getId(); ?> /" title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_edit']; ?> " class="icon-edit"></a></li> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator()) { ?> <li><a href="#" title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_delete']; ?> " id="blog_delete_show" class="icon-delete"></a></li> <?php } else { ?> <li><a href="<?php echo smarty_function_router(array('page' => 'blog'), $_smarty_tpl); ?> delete/<?php echo $_smarty_tpl->tpl_vars['oBlog']->value->getId(); ?> /?security_ls_key=<?php echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value; ?> " class="icon-delete" title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_delete']; ?> " onclick="return confirm('<?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_admin_delete_confirm']; ?> ');"></a></li> <?php } ?> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oUserCurrent']->value->getId() != $_smarty_tpl->tpl_vars['oBlog']->value->getOwnerId()) { ?> <li id="vote_total_blog_<?php echo $_smarty_tpl->tpl_vars['oBlog']->value->getId(); ?> " class="vote-result vote-no-rating <?php if ($_smarty_tpl->tpl_vars['oVote']->value || $_smarty_tpl->tpl_vars['oUserCurrent']->value && $_smarty_tpl->tpl_vars['oUserOwner']->value->getId() == $_smarty_tpl->tpl_vars['oUserCurrent']->value->getId()) { ?> <?php if ($_smarty_tpl->tpl_vars['oBlog']->value->getRating() > 0) { ?> vote-count-positive <?php } elseif ($_smarty_tpl->tpl_vars['oBlog']->value->getRating() < 0) { ?> vote-count-negative <?php } elseif ($_smarty_tpl->tpl_vars['oBlog']->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 } ?> <?php } ?> " <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value && !$_smarty_tpl->tpl_vars['oVote']->value) { ?> onclick="ls.tools.slide($('#vote_area_blog_<?php echo $_smarty_tpl->tpl_vars['oBlog']->value->getId(); ?> '), $(this));" <?php } ?> title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_vote_count']; ?> : <?php echo $_smarty_tpl->tpl_vars['oBlog']->value->getCountVote(); ?> "> </li> <?php } ?> </ul> <div id="vote_area_blog_<?php echo $_smarty_tpl->tpl_vars['oBlog']->value->getId(); ?> " class="vote"> <div class="vote-item vote-up" onclick="return ls.vote.vote(<?php echo $_smarty_tpl->tpl_vars['oBlog']->value->getId(); ?> ,this,1,'blog');"><i></i></div> <div class="vote-item vote-down" onclick="return ls.vote.vote(<?php echo $_smarty_tpl->tpl_vars['oBlog']->value->getId(); ?> ,this,-1,'blog');"><i></i></div> </div> </div> <?php echo smarty_function_hook(array('run' => 'blog_info', 'oBlog' => $_smarty_tpl->tpl_vars['oBlog']->value), $_smarty_tpl); ?> <ul class="nav-foldable"> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'good') { ?> class="active"<?php } ?> ><a href="<?php echo $_smarty_tpl->tpl_vars['sMenuSubBlogUrl']->value; ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_collective_good']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'new') { ?> class="active"<?php } ?> ><a href="<?php echo $_smarty_tpl->tpl_vars['sMenuSubBlogUrl']->value; ?> newall/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_collective_new']; ?> </a><?php if ($_smarty_tpl->tpl_vars['iCountTopicsBlogNew']->value > 0) { ?> <a href="<?php echo $_smarty_tpl->tpl_vars['sMenuSubBlogUrl']->value; ?> new/">+<?php echo $_smarty_tpl->tpl_vars['iCountTopicsBlogNew']->value; ?> </a><?php } ?> </li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'discussed') { ?> class="active"<?php } ?> ><a href="<?php echo $_smarty_tpl->tpl_vars['sMenuSubBlogUrl']->value; ?> discussed/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_collective_discussed']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuSubItemSelect']->value == 'top') { ?> class="active"<?php } ?> ><a href="<?php echo $_smarty_tpl->tpl_vars['sMenuSubBlogUrl']->value; ?> top/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_collective_top']; ?> </a></li> <?php echo smarty_function_hook(array('run' => 'menu_blog_blog_item'), $_smarty_tpl); ?> </ul> <?php if ($_smarty_tpl->tpl_vars['sPeriodSelectCurrent']->value) { ?> <ul class="nav-foldable"> <li <?php if ($_smarty_tpl->tpl_vars['sPeriodSelectCurrent']->value == '1') { ?> class="active"<?php } ?> ><a href="<?php echo $_smarty_tpl->tpl_vars['sPeriodSelectRoot']->value; ?> ?period=1"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_24h']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sPeriodSelectCurrent']->value == '7') { ?> class="active"<?php } ?> ><a href="<?php echo $_smarty_tpl->tpl_vars['sPeriodSelectRoot']->value; ?> ?period=7"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_7d']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sPeriodSelectCurrent']->value == '30') { ?> class="active"<?php } ?> ><a href="<?php echo $_smarty_tpl->tpl_vars['sPeriodSelectRoot']->value; ?> ?period=30"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_30d']; ?> </a></li> <li <?php if ($_smarty_tpl->tpl_vars['sPeriodSelectCurrent']->value == 'all') { ?> class="active"<?php } ?> ><a href="<?php echo $_smarty_tpl->tpl_vars['sPeriodSelectRoot']->value; ?> ?period=all"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_top_period_all']; ?> </a></li> </ul> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['bCloseBlog']->value) { ?> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_close_show']; ?> <?php } else { ?> <?php echo $_smarty_tpl->getSubTemplate('topic_list.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php } ?> <?php echo $_smarty_tpl->getSubTemplate('footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); }
function content_55784c610f8175_37699214($_smarty_tpl) { if (!is_callable('smarty_function_hook')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php'; } if (!is_callable('smarty_function_router')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php'; } ?> <section class="block block-type-stream"> <?php echo smarty_function_hook(array('run' => 'block_stream_nav_item', 'assign' => "sItemsHook"), $_smarty_tpl); ?> <header class="block-header sep"> <h3><a href="<?php echo smarty_function_router(array('page' => 'comments'), $_smarty_tpl); ?> " title="<?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_stream_comments_all']; ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_stream']; ?> </a></h3> <div class="block-update js-block-stream-update"></div> <ul class="nav nav-pills js-block-stream-nav" <?php if ($_smarty_tpl->tpl_vars['sItemsHook']->value) { ?> style="display: none;"<?php } ?> > <li class="active js-block-stream-item" data-type="comment"><a href="#"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_stream_comments']; ?> </a></li> <li class="js-block-stream-item" data-type="topic"><a href="#"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_stream_topics']; ?> </a></li> <?php echo $_smarty_tpl->tpl_vars['sItemsHook']->value; ?> </ul> <ul class="nav nav-pills js-block-stream-dropdown" <?php if (!$_smarty_tpl->tpl_vars['sItemsHook']->value) { ?> style="display: none;"<?php } ?> > <li class="dropdown active js-block-stream-dropdown-trigger"><a href="#"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_stream_comments']; ?> </a> <i class="icon-synio-arrows"></i> <ul class="dropdown-menu js-block-stream-dropdown-items"> <li class="active js-block-stream-item" data-type="comment"><a href="#"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_stream_comments']; ?> </a></li> <li class="js-block-stream-item" data-type="topic"><a href="#"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_stream_topics']; ?> </a></li> <?php echo $_smarty_tpl->tpl_vars['sItemsHook']->value; ?> </ul> </li> </ul> </header> <div class="block-content"> <div class="js-block-stream-content"> <?php echo $_smarty_tpl->tpl_vars['sStreamComments']->value; ?> </div> </div> </section> <?php }
function content_5577f7815cc685_82526752($_smarty_tpl) { if (!is_callable('smarty_function_hook')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php'; } if (!is_callable('smarty_function_router')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php'; } if (!is_callable('smarty_function_cfg')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php'; } ?> <?php echo smarty_function_hook(array('run' => 'content_end'), $_smarty_tpl); ?> </div> <!-- /content --> </div> <!-- /wrapper --> <!-- <footer id="footer"> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) { ?> <ul class="footer-list"> <li class="footer-list-header word-wrap"><?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getLogin(); ?> </li> <li><a href="<?php echo $_smarty_tpl->tpl_vars['oUserCurrent']->value->getUserWebPath(); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['footer_menu_user_profile']; ?> </a></li> <li><a href="<?php echo smarty_function_router(array('page' => 'settings'), $_smarty_tpl); ?> profile/"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_settings']; ?> </a></li> <li><a href="<?php echo smarty_function_router(array('page' => 'topic'), $_smarty_tpl); ?> add/" class="js-write-window-show"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['block_create']; ?> </a></li> <?php echo smarty_function_hook(array('run' => 'footer_menu_user_item', 'oUser' => $_smarty_tpl->tpl_vars['oUserCurrent']->value), $_smarty_tpl); ?> <li><a href="<?php echo smarty_function_router(array('page' => 'login'), $_smarty_tpl); ?> exit/?security_ls_key=<?php echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value; ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['exit']; ?> </a></li> </ul> <?php } else { ?> <ul class="footer-list"> <li class="footer-list-header word-wrap"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['footer_menu_user_quest_title']; ?> </li> <li><a href="<?php echo smarty_function_router(array('page' => 'registration'), $_smarty_tpl); ?> " class="js-registration-form-show"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['registration_submit']; ?> </a></li> <li><a href="<?php echo smarty_function_router(array('page' => 'login'), $_smarty_tpl); ?> " class="js-login-form-show sign-in"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['user_login_submit']; ?> </a></li> <?php echo smarty_function_hook(array('run' => 'footer_menu_user_item', 'isGuest' => true), $_smarty_tpl); ?> </ul> <?php } ?> <ul class="footer-list"> <li class="footer-list-header"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['footer_menu_navigate_title']; ?> </li> <li><a href="<?php echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['topic_title']; ?> </a></li> <li><a href="<?php echo smarty_function_router(array('page' => 'blogs'), $_smarty_tpl); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blogs']; ?> </a></li> <li><a href="<?php echo smarty_function_router(array('page' => 'people'), $_smarty_tpl); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['people']; ?> </a></li> <li><a href="<?php echo smarty_function_router(array('page' => 'stream'), $_smarty_tpl); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['stream_menu']; ?> </a></li> <?php echo smarty_function_hook(array('run' => 'footer_menu_navigate_item'), $_smarty_tpl); ?> </ul> --> <img src="http://сокол-сао.рф/d.jpg" title="Мусаев Александр адрес: Ул.Флотская, 82/6 телефон : 8(499)7470954"> <br/><br/> <!--<div class="copyright"> <?php echo smarty_function_hook(array('run' => 'copyright'), $_smarty_tpl); ?> <div class="design-by"> <img src="<?php echo smarty_function_cfg(array('name' => 'path.static.skin'), $_smarty_tpl); ?> /images/xeoart.png" alt="xeoart" /> Design by <a href="http://xeoart.com">xeoart</a> --> <div>Организатор проекта <a href="http://vk.com/id1798736">Тарасов Антон</a> </div> <div>Руководитель проекта <a href="https://www.facebook.com/profile.php?id=100007299644938">Удалов Сергей</a></div> <br/> <!-- Yandex.Metrika informer --> <a href="https://metrika.yandex.ru/stat/?id=29259100&from=informer" target="_blank" rel="nofollow"><img src="//bs.yandex.ru/informer/29259100/3_1_FFFFFFFF_EFEFEFFF_0_pageviews" style="width:88px; height:31px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)" onclick="try{Ya.Metrika.informer({i:this,id:29259100,lang:'ru'});return false}catch(e){}"/></a> <!-- /Yandex.Metrika informer --> <!-- Yandex.Metrika counter --> <script type="text/javascript"> (function (d, w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter29259100 = new Ya.Metrika({id:29259100, clickmap:true, trackLinks:true, accurateTrackBounce:true}); } catch(e) { } }); var n = d.getElementsByTagName("script")[0], s = d.createElement("script"), f = function () { n.parentNode.insertBefore(s, n); }; s.type = "text/javascript"; s.async = true; s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js"; if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } })(document, window, "yandex_metrika_callbacks"); </script> <noscript><div><img src="//mc.yandex.ru/watch/29259100" style="position:absolute; left:-9999px;" alt="" /></div></noscript> <!-- /Yandex.Metrika counter --> </div> </div> <?php echo smarty_function_hook(array('run' => 'footer_end'), $_smarty_tpl); ?> </footer> </div> <!-- /container --> <?php echo $_smarty_tpl->getSubTemplate('toolbar.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php echo smarty_function_hook(array('run' => 'body_end'), $_smarty_tpl); ?> <!-- Yandex.Metrika counter --> <script src="//mc.yandex.ru/metrika/watch.js" type="text/javascript"></script> <script type="text/javascript"> try { var yaCounter23864602 = new Ya.Metrika({id:23864602, webvisor:true, clickmap:true, trackLinks:true, accurateTrackBounce:true}); } catch(e) { } </script> <noscript><div><img src="//mc.yandex.ru/watch/23864602" style="position:absolute; left:-9999px;" alt="" /></div></noscript> <!-- /Yandex.Metrika counter --> </body> </html><?php }
function content_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_568441c1e0cb73_32964196($_smarty_tpl) { if (!is_callable('smarty_function_lang_load')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.lang_load.php'; } if (!is_callable('smarty_function_hook')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php'; } if ($_smarty_tpl->tpl_vars['sEvent']->value == 'add') { ?> <?php echo $_smarty_tpl->getSubTemplate('header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('menu_content' => 'create'), 0); ?> <?php } else { ?> <?php echo $_smarty_tpl->getSubTemplate('header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php echo $_smarty_tpl->getSubTemplate('menu.blog_edit.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?> <?php } ?> <?php echo $_smarty_tpl->getSubTemplate('editor.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array('sImgToLoad' => 'blog_description', 'sSettingsTinymce' => 'ls.settings.getTinymceComment()', 'sSettingsMarkitup' => 'ls.settings.getMarkitupComment()'), 0); ?> <script type="text/javascript"> jQuery(document).ready(function($){ ls.lang.load(<?php echo smarty_function_lang_load(array('name' => "blog_create_type_open_notice,blog_create_type_close_notice"), $_smarty_tpl); ?> ); ls.blog.loadInfoType($('#blog_type').val()); }); </script> <form method="post" enctype="multipart/form-data" class="wrapper-content"> <?php echo smarty_function_hook(array('run' => 'form_add_blog_begin'), $_smarty_tpl); ?> <input type="hidden" name="security_ls_key" value="<?php echo $_smarty_tpl->tpl_vars['LIVESTREET_SECURITY_KEY']->value; ?> " /> <p><label for="blog_title"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_create_title']; ?> :</label> <input type="text" id="blog_title" name="blog_title" value="<?php echo $_smarty_tpl->tpl_vars['_aRequest']->value['blog_title']; ?> " class="input-text input-width-full" /> <small class="note"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_create_title_notice']; ?> </small></p> <p><label for="blog_url"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_create_url']; ?> :</label> <input type="text" id="blog_url" name="blog_url" value="<?php echo $_smarty_tpl->tpl_vars['_aRequest']->value['blog_url']; ?> " class="input-text input-width-full" <?php if ($_smarty_tpl->tpl_vars['_aRequest']->value['blog_id'] && !$_smarty_tpl->tpl_vars['oUserCurrent']->value->isAdministrator()) { ?> disabled<?php } ?> /> <small class="note"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_create_url_notice']; ?> </small></p> <p><label for="blog_type"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_create_type']; ?> :</label> <select name="blog_type" id="blog_type" class="input-width-200" onChange="ls.blog.loadInfoType(jQuery(this).val());"> <option value="open" <?php if ($_smarty_tpl->tpl_vars['_aRequest']->value['blog_type'] == 'open') { ?> selected<?php } ?> ><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_create_type_open']; ?> </option> <option value="close" <?php if ($_smarty_tpl->tpl_vars['_aRequest']->value['blog_type'] == 'close') { ?> selected<?php } ?> ><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_create_type_close']; ?> </option> </select> <small class="note" id="blog_type_note"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_create_type_open_notice']; ?> </small></p> <p><label for="blog_description"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_create_description']; ?> :</label> <textarea name="blog_description" id="blog_description" rows="15" class="input-text input-width-full mce-editor markitup-editor input-width-full"><?php echo $_smarty_tpl->tpl_vars['_aRequest']->value['blog_description']; ?> </textarea> <small class="note"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_create_description_notice']; ?> </small></p> <p><label for="blog_limit_rating_topic"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_create_rating']; ?> :</label> <input type="text" id="blog_limit_rating_topic" name="blog_limit_rating_topic" value="<?php echo $_smarty_tpl->tpl_vars['_aRequest']->value['blog_limit_rating_topic']; ?> " class="input-text input-width-100" /> <small class="note"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_create_rating_notice']; ?> </small></p> <p> <?php if ($_smarty_tpl->tpl_vars['oBlogEdit']->value && $_smarty_tpl->tpl_vars['oBlogEdit']->value->getAvatar()) { ?> <div class="avatar-edit"> <?php $_smarty_tpl->tpl_vars['iSize'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['iSize']->_loop = false; $_from = $_smarty_tpl->tpl_vars['oConfig']->value->GetValue('module.blog.avatar_size'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['iSize']->key => $_smarty_tpl->tpl_vars['iSize']->value) { $_smarty_tpl->tpl_vars['iSize']->_loop = true; ?> <?php if ($_smarty_tpl->tpl_vars['iSize']->value) { ?> <img src="<?php ob_start(); echo $_smarty_tpl->tpl_vars['iSize']->value; $_tmp1 = ob_get_clean(); echo $_smarty_tpl->tpl_vars['oBlogEdit']->value->getAvatarPath($_tmp1); ?> "><?php } ?> <?php } ?> <label><input type="checkbox" id="avatar_delete" name="avatar_delete" value="on" class="input-checkbox"> <?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_create_avatar_delete']; ?> </label> </div> <?php } ?> <label for="avatar"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_create_avatar']; ?> :</label> <input type="file" name="avatar" id="avatar"> </p> <?php echo smarty_function_hook(array('run' => 'form_add_blog_end'), $_smarty_tpl); ?> <button type="submit" name="submit_blog_add" class="button button-primary"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_create_submit']; ?> </button> </form> <?php echo $_smarty_tpl->getSubTemplate('footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); }
function content_55784e34da9e31_62911773($_smarty_tpl) { if (!is_callable('smarty_function_cfg')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.cfg.php'; } if (!is_callable('smarty_function_router')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.router.php'; } if (!is_callable('smarty_function_hook')) { include '/home/vxeeuesn/public_html/_sokol/engine/modules/viewer/plugs/function.hook.php'; } ?> <ul class="nav nav-menu"> <li <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'index') { ?> class="active"<?php } ?> > <a href="<?php echo smarty_function_cfg(array('name' => 'path.root.web'), $_smarty_tpl); ?> /"><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_all']; ?> </a> </li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'blog') { ?> class="active"<?php } ?> > <a href="<?php echo smarty_function_router(array('page' => 'blog'), $_smarty_tpl); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_collective']; ?> </a> </li> <li <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'log') { ?> class="active"<?php } ?> > <a href="<?php echo smarty_function_router(array('page' => 'personal_blog'), $_smarty_tpl); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['blog_menu_personal']; ?> </a> </li> <?php if ($_smarty_tpl->tpl_vars['oUserCurrent']->value) { ?> <li <?php if ($_smarty_tpl->tpl_vars['sMenuItemSelect']->value == 'feed') { ?> class="active"<?php } ?> > <a href="<?php echo smarty_function_router(array('page' => 'feed'), $_smarty_tpl); ?> "><?php echo $_smarty_tpl->tpl_vars['aLang']->value['userfeed_title']; ?> </a> </li> <?php } ?> <?php echo smarty_function_hook(array('run' => 'menu_blog'), $_smarty_tpl); ?> </ul><?php }