function content_55b27435ea9f66_79945606($_smarty_tpl) { if (!is_callable('smarty_block_script')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.script.php'; } if (!is_callable('smarty_block_style')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.style.php'; } if (!is_callable('smarty_function_text')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php'; } if (!is_callable('smarty_function_cycle')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_libraries/smarty3/plugins/function.cycle.php'; } if (!is_callable('smarty_function_decorator')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.decorator.php'; } if (!is_callable('smarty_function_user_link')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.user_link.php'; } if (!is_callable('smarty_function_age')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.age.php'; } if (!is_callable('smarty_function_format_date')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.format_date.php'; } if (!is_callable('smarty_block_block_decorator')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.block_decorator.php'; } $_smarty_tpl->smarty->_tag_stack[] = array('script', array()); $_block_repeat = true; echo smarty_block_script(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <?php $_smarty_tpl->tpl_vars['btn'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['btn']->_loop = false; $_from = $_smarty_tpl->tpl_vars['buttons']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['btn']->key => $_smarty_tpl->tpl_vars['btn']->value) { $_smarty_tpl->tpl_vars['btn']->_loop = true; ?> <?php if (!empty($_smarty_tpl->tpl_vars['btn']->value['js'])) { ?> <?php echo $_smarty_tpl->tpl_vars['btn']->value['js']; ?> <?php } ?> <?php } $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_script(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php $_smarty_tpl->smarty->_tag_stack[] = array('style', array()); $_block_repeat = true; echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> .user_list_thumb { width: 55px; height: 45px; } .user_list_thumb img { width: 45px; height: 45px; } #user-list-form .ow_lbutton { cursor: default; } <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_style(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php if ($_smarty_tpl->tpl_vars['users']->value) { ?> <?php if (isset($_smarty_tpl->tpl_vars['search']->value)) { ?> <div class="ow_anno ow_std_margin ow_nocontent"><?php echo smarty_function_text(array('key' => "admin+user_search_result", 'for' => $_smarty_tpl->tpl_vars['search']->value), $_smarty_tpl); ?> </div> <?php } ?> <div class="clearfix ow_smallmargin"> <div class="ow_left"><?php echo $_smarty_tpl->tpl_vars['paging']->value; ?> </div> <?php if ($_smarty_tpl->tpl_vars['total']->value) { ?> <div class="ow_right"><?php echo smarty_function_text(array('key' => 'admin+found_users', 'count' => $_smarty_tpl->tpl_vars['total']->value), $_smarty_tpl); ?> </div><?php } ?> </div> <form id="user-list-form" method="post" action="<?php if ($_smarty_tpl->tpl_vars['action']->value) { echo $_smarty_tpl->tpl_vars['action']->value; } ?> "> <table class="ow_table_2"> <tr class="ow_tr_first"> <th width="1"></td> <th><?php echo smarty_function_text(array('key' => 'admin+user'), $_smarty_tpl); ?> </th> <th><?php echo smarty_function_text(array('key' => 'admin+user_status'), $_smarty_tpl); ?> </th> <th><?php echo smarty_function_text(array('key' => 'admin+joined'), $_smarty_tpl); ?> </th> </tr> <?php $_smarty_tpl->tpl_vars['user'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['user']->_loop = false; $_from = $_smarty_tpl->tpl_vars['users']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['user']->key => $_smarty_tpl->tpl_vars['user']->value) { $_smarty_tpl->tpl_vars['user']->_loop = true; ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'userId', null); ob_start(); echo $_smarty_tpl->tpl_vars['user']->value->id; list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'username', null); ob_start(); echo $_smarty_tpl->tpl_vars['userNameList']->value[$_smarty_tpl->tpl_vars['userId']->value]; list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <tr class="<?php echo smarty_function_cycle(array('values' => 'ow_alt1,ow_alt2'), $_smarty_tpl); ?> "> <td><?php if (!in_array($_smarty_tpl->tpl_vars['user']->value->id, $_smarty_tpl->tpl_vars['adminList']->value)) { ?> <input type="checkbox" value="<?php echo $_smarty_tpl->tpl_vars['user']->value->id; ?> " name="users[<?php echo $_smarty_tpl->tpl_vars['user']->value->id; ?> ]" /><?php } ?> </td> <td> <div class="clearfix"> <div class="ow_left ow_txtleft user_list_thumb"><?php echo smarty_function_decorator(array('name' => 'avatar_item', 'data' => $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['userId']->value]), $_smarty_tpl); ?> </div> <div class="ow_left ow_txtleft"> <?php echo smarty_function_user_link(array('name' => $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['userId']->value]['title'], 'username' => $_smarty_tpl->tpl_vars['userNameList']->value[$_smarty_tpl->tpl_vars['userId']->value]), $_smarty_tpl); ?> <br /> <span class="ow_small"> <?php if (!empty($_smarty_tpl->tpl_vars['sexList']->value[$_smarty_tpl->tpl_vars['userId']->value])) { ?> <?php echo $_smarty_tpl->tpl_vars['sexList']->value[$_smarty_tpl->tpl_vars['userId']->value]; ?> <?php } ?> <?php if (!empty($_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['userId']->value]['birthdate'])) { ?> <?php echo smarty_function_age(array('dateTime' => $_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['userId']->value]['birthdate']), $_smarty_tpl); ?> <?php } ?> <?php if (!empty($_smarty_tpl->tpl_vars['sexList']->value[$_smarty_tpl->tpl_vars['userId']->value]) || !empty($_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['userId']->value]['birthdate'])) { ?> <br /><?php } ?> <?php if (!empty($_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['userId']->value]['email'])) { ?> <span class="ow_remark"><?php echo $_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['userId']->value]['email']; ?> </span> <?php } ?> </span> <?php if ($_smarty_tpl->tpl_vars['onlineStatus']->value) { ?> <div class="ow_small"> <?php if (!empty($_smarty_tpl->tpl_vars['onlineStatus']->value[$_smarty_tpl->tpl_vars['userId']->value]) && $_smarty_tpl->tpl_vars['onlineStatus']->value[$_smarty_tpl->tpl_vars['userId']->value]) { ?> <span class="ow_lbutton ow_green"><?php echo smarty_function_text(array('key' => 'base+activity_online'), $_smarty_tpl); ?> </span> <?php } elseif ($_smarty_tpl->tpl_vars['user']->value->activityStamp) { ?> <?php echo smarty_function_text(array('key' => 'base+activity_stamp'), $_smarty_tpl); ?> <span class="ow_remark"><?php echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['user']->value->activityStamp), $_smarty_tpl); ?> </span> <?php } ?> </div> <?php } ?> </div> </div> </td> <td> <?php if ($_smarty_tpl->tpl_vars['suspendedList']->value[$_smarty_tpl->tpl_vars['userId']->value]) { ?> <div><span class="ow_lbutton ow_red"><?php echo smarty_function_text(array('key' => 'admin+user_status_suspended'), $_smarty_tpl); ?> </span></div><?php } ?> <?php if ($_smarty_tpl->tpl_vars['unverifiedList']->value[$_smarty_tpl->tpl_vars['userId']->value]) { ?> <div><span class="ow_lbutton"><?php echo smarty_function_text(array('key' => 'admin+user_status_unverified'), $_smarty_tpl); ?> </span></div><?php } ?> <?php if ($_smarty_tpl->tpl_vars['unapprovedList']->value[$_smarty_tpl->tpl_vars['userId']->value]) { ?> <div><span class="ow_lbutton"><?php echo smarty_function_text(array('key' => 'admin+user_status_unapproved'), $_smarty_tpl); ?> </span></div><?php } ?> </td> <td class="ow_small"><?php if ($_smarty_tpl->tpl_vars['user']->value->joinStamp) { echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['user']->value->joinStamp), $_smarty_tpl); } ?> </td> </tr> <?php } ?> <tr class="ow_alt1 ow_tr_last"> <td><input type="checkbox" id="check-all" /></th> <td colspan="3" class="ow_txtleft"> <?php echo smarty_function_text(array('key' => 'base+check_all'), $_smarty_tpl); ?> | <?php echo smarty_function_text(array('key' => 'base+with_selected'), $_smarty_tpl); ?> <?php $_smarty_tpl->tpl_vars['btn'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['btn']->_loop = false; $_from = $_smarty_tpl->tpl_vars['buttons']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['btn']->key => $_smarty_tpl->tpl_vars['btn']->value) { $_smarty_tpl->tpl_vars['btn']->_loop = true; ?> <?php echo smarty_function_decorator(array('name' => 'button_list_item', 'type' => 'submit', 'buttonName' => $_smarty_tpl->tpl_vars['btn']->value['name'], 'label' => $_smarty_tpl->tpl_vars['btn']->value['label'], 'id' => $_smarty_tpl->tpl_vars['btn']->value['id'], 'class' => $_smarty_tpl->tpl_vars['btn']->value['class']), $_smarty_tpl); ?> <?php } ?> </td> </tr> </table> <div class="ow_hidden" id="delete-user-confirm"> <div class="ow_stdmargin ow_center"> <div class="ow_stdmargin"> <?php echo smarty_function_text(array('key' => "admin+confirm_delete_users"), $_smarty_tpl); ?> </div> <?php echo smarty_function_decorator(array('name' => "button", 'type' => "submit", 'id' => "button-confirm-user-delete", 'class' => "ow_ic_delete ow_red", 'langLabel' => "base+delete_user_delete_button"), $_smarty_tpl); ?> </div> </div> </form> <?php echo $_smarty_tpl->tpl_vars['paging']->value; ?> <?php } else { ?> <?php $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => 'box', 'addClass' => 'ow_stdmargin clearfix ow_italic ow_center')); $_block_repeat = true; echo smarty_block_block_decorator(array('name' => 'box', 'addClass' => 'ow_stdmargin clearfix ow_italic ow_center'), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <?php echo smarty_function_text(array('key' => 'admin+no_users'), $_smarty_tpl); ?> <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_block_decorator(array('name' => 'box', 'addClass' => 'ow_stdmargin clearfix ow_italic ow_center'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php } }
function content_548e88169947f4_45065181($_smarty_tpl) { if (!is_callable('smarty_function_add_content')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.add_content.php'; } if (!is_callable('smarty_block_style')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php'; } if (!is_callable('smarty_function_text')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php'; } if (!is_callable('smarty_function_cycle')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_libraries\\smarty3\\plugins\\function.cycle.php'; } if (!is_callable('smarty_function_user_link')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.user_link.php'; } if (!is_callable('smarty_function_format_date')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.format_date.php'; } ?> <div class="clearfix"><?php echo smarty_function_add_content(array('key' => 'forum.add_content.list.top', 'listType' => 'section'), $_smarty_tpl); ?> </div> <?php $_smarty_tpl->smarty->_tag_stack[] = array('style', array()); $_block_repeat = true; echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> .ow_author { width: 25%; } <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_style(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php echo $_smarty_tpl->tpl_vars['breadcrumb']->value; ?> <div class="clearfix"> <div class="ow_right ow_smallmargin"> <?php echo $_smarty_tpl->tpl_vars['search']->value; ?> </div> </div> <table class="ow_table_1 ow_stdmargin ow_forum"> <?php $_smarty_tpl->tpl_vars['section'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['section']->_loop = false; $_from = $_smarty_tpl->tpl_vars['sectionGroupList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['section']->key => $_smarty_tpl->tpl_vars['section']->value) { $_smarty_tpl->tpl_vars['section']->_loop = true; ?> <tr class="ow_tr_first"> <th class="ow_name"><span id="section-<?php echo $_smarty_tpl->tpl_vars['section']->value['sectionId']; ?> "><?php echo $_smarty_tpl->tpl_vars['section']->value['sectionName']; ?> </span></th> <th class="ow_topics"><?php echo smarty_function_text(array('key' => 'forum+topics'), $_smarty_tpl); ?> </th> <th class="ow_replies"><?php echo smarty_function_text(array('key' => 'forum+replies'), $_smarty_tpl); ?> </th> <th class="ow_author"><?php echo smarty_function_text(array('key' => 'forum+last_reply'), $_smarty_tpl); ?> </th> </tr> <?php $_smarty_tpl->tpl_vars['group'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['group']->_loop = false; $_from = $_smarty_tpl->tpl_vars['section']->value['groups']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $_smarty_tpl->tpl_vars['group']->total = $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['group']->iteration = 0; $_smarty_tpl->tpl_vars['group']->index = -1; foreach ($_from as $_smarty_tpl->tpl_vars['group']->key => $_smarty_tpl->tpl_vars['group']->value) { $_smarty_tpl->tpl_vars['group']->_loop = true; $_smarty_tpl->tpl_vars['group']->iteration++; $_smarty_tpl->tpl_vars['group']->index++; $_smarty_tpl->tpl_vars['group']->first = $_smarty_tpl->tpl_vars['group']->index === 0; $_smarty_tpl->tpl_vars['group']->last = $_smarty_tpl->tpl_vars['group']->iteration === $_smarty_tpl->tpl_vars['group']->total; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['g']['first'] = $_smarty_tpl->tpl_vars['group']->first; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['g']['last'] = $_smarty_tpl->tpl_vars['group']->last; ?> <tr class="<?php echo smarty_function_cycle(array('values' => 'ow_alt1,ow_alt2', 'reset' => $_smarty_tpl->getVariable('smarty')->value['foreach']['g']['first']), $_smarty_tpl); ?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['g']['last']) { ?> ow_tr_last<?php } ?> "> <td class="ow_name"> <a href="<?php echo $_smarty_tpl->tpl_vars['group']->value['groupUrl']; ?> "><b><?php echo $_smarty_tpl->tpl_vars['group']->value['name']; ?> </b></a> <div class="ow_small"><?php echo $_smarty_tpl->tpl_vars['group']->value['description']; ?> </div> <?php if ($_smarty_tpl->tpl_vars['group']->value['isPrivate']) { ?> <span class="ow_lbutton ow_green"><?php echo smarty_function_text(array('key' => 'forum+is_private'), $_smarty_tpl); ?> </span> <span class="ow_small ow_remark"><?php echo smarty_function_text(array('key' => 'forum+visible_to'), $_smarty_tpl); ?> : <?php $_smarty_tpl->tpl_vars['r'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['r']->_loop = false; $_from = $_smarty_tpl->tpl_vars['group']->value['roles']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $_smarty_tpl->tpl_vars['r']->total = $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['r']->iteration = 0; foreach ($_from as $_smarty_tpl->tpl_vars['r']->key => $_smarty_tpl->tpl_vars['r']->value) { $_smarty_tpl->tpl_vars['r']->_loop = true; $_smarty_tpl->tpl_vars['r']->iteration++; $_smarty_tpl->tpl_vars['r']->last = $_smarty_tpl->tpl_vars['r']->iteration === $_smarty_tpl->tpl_vars['r']->total; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['r']['last'] = $_smarty_tpl->tpl_vars['r']->last; echo $_smarty_tpl->tpl_vars['r']->value; if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['r']['last']) { ?> , <?php } } ?> </span> <?php } ?> </td> <td class="ow_topics"><?php echo $_smarty_tpl->tpl_vars['group']->value['topicCount']; ?> </td> <td class="ow_replies"><?php echo $_smarty_tpl->tpl_vars['group']->value['replyCount']; ?> </td> <td class="ow_txtleft ow_small"> <?php if (!empty($_smarty_tpl->tpl_vars['group']->value['lastReply'])) { ?> <div class="ow_reply_info"> <span class="ow_nowrap ow_icon_control ow_ic_user"> <?php echo smarty_function_user_link(array('username' => $_smarty_tpl->tpl_vars['userNames']->value[$_smarty_tpl->tpl_vars['group']->value['lastReply']['userId']], 'name' => $_smarty_tpl->tpl_vars['displayNames']->value[$_smarty_tpl->tpl_vars['group']->value['lastReply']['userId']]), $_smarty_tpl); ?> </span> · <span class="ow_nowrap ow_remark"><?php echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['group']->value['lastReply']['createStamp']), $_smarty_tpl); ?> </span> </div> <?php echo smarty_function_text(array('key' => 'forum+in'), $_smarty_tpl); ?> <a href="<?php echo $_smarty_tpl->tpl_vars['group']->value['lastReply']['postUrl']; ?> "><?php echo $_smarty_tpl->tpl_vars['group']->value['lastReply']['title']; ?> </a> <?php } ?> </td> </tr> <?php } ?> <?php } ?> </table><?php }
function content_55d575210864a3_07868057($_smarty_tpl) { if (!is_callable('smarty_function_cycle')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_libraries/smarty3/plugins/function.cycle.php'; } if (!is_callable('smarty_function_online_now')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.online_now.php'; } if (!is_callable('smarty_function_text')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php'; } if (!is_callable('smarty_function_format_date')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.format_date.php'; } if (!is_callable('smarty_function_decorator')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.decorator.php'; } if (!empty($_smarty_tpl->tpl_vars['list']->value)) { ?> <div class="ow_user_list ow_full ow_stdmargin"> <?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['item']->_loop = false; $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $_smarty_tpl->tpl_vars['item']->total = $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['item']->iteration = 0; $_smarty_tpl->tpl_vars['item']->index = -1; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['iteration'] = 0; foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) { $_smarty_tpl->tpl_vars['item']->_loop = true; $_smarty_tpl->tpl_vars['item']->iteration++; $_smarty_tpl->tpl_vars['item']->index++; $_smarty_tpl->tpl_vars['item']->first = $_smarty_tpl->tpl_vars['item']->index === 0; $_smarty_tpl->tpl_vars['item']->last = $_smarty_tpl->tpl_vars['item']->iteration === $_smarty_tpl->tpl_vars['item']->total; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['first'] = $_smarty_tpl->tpl_vars['item']->first; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['iteration']++; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['last'] = $_smarty_tpl->tpl_vars['item']->last; ?> <?php $_smarty_tpl->tpl_vars['dto'] = new Smarty_variable($_smarty_tpl->tpl_vars['item']->value['dto'], null, 0); ?> <?php $_smarty_tpl->tpl_vars['id'] = new Smarty_variable($_smarty_tpl->tpl_vars['dto']->value->id, null, 0); ?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['user_list']['first']) { ?> <div class="clearfix <?php echo smarty_function_cycle(array('name' => "rows", 'values' => "ow_alt2, ow_alt1"), $_smarty_tpl); ?> "> <?php } ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', "_fields", null); ob_start(); ?> <?php if (!empty($_smarty_tpl->tpl_vars['fields']->value)) { ?> <?php $_smarty_tpl->tpl_vars["field"] = new Smarty_Variable(); $_smarty_tpl->tpl_vars["field"]->_loop = false; $_from = $_smarty_tpl->tpl_vars['fields']->value[$_smarty_tpl->tpl_vars['id']->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars["field"]->key => $_smarty_tpl->tpl_vars["field"]->value) { $_smarty_tpl->tpl_vars["field"]->_loop = true; ?> <?php echo $_smarty_tpl->tpl_vars['field']->value['label']; echo $_smarty_tpl->tpl_vars['field']->value['value']; ?> <br /> <?php } ?> <?php } ?> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', "activity", null); ob_start(); ?> <?php if (!empty($_smarty_tpl->tpl_vars['showPresenceList']->value) && !empty($_smarty_tpl->tpl_vars['showPresenceList']->value[$_smarty_tpl->tpl_vars['id']->value]) && $_smarty_tpl->tpl_vars['showPresenceList']->value[$_smarty_tpl->tpl_vars['id']->value]) { ?> <?php if ($_smarty_tpl->tpl_vars['onlineInfo']->value) { ?> <?php if (!empty($_smarty_tpl->tpl_vars['onlineInfo']->value) && $_smarty_tpl->tpl_vars['onlineInfo']->value[$_smarty_tpl->tpl_vars['id']->value] || empty($_smarty_tpl->tpl_vars['onlineInfo']->value)) { echo smarty_function_online_now(array('userId' => $_smarty_tpl->tpl_vars['dto']->value->id), $_smarty_tpl); } else { echo smarty_function_text(array('key' => "base+user_list_activity"), $_smarty_tpl); ?> : <span class="ow_remark"><?php echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['dto']->value->activityStamp), $_smarty_tpl); ?> </span><?php } ?> <?php } ?> <?php } ?> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php $_smarty_tpl->tpl_vars["username"] = new Smarty_variable($_smarty_tpl->tpl_vars['usernameList']->value[$_smarty_tpl->tpl_vars['id']->value], null, 0); ?> <?php $_smarty_tpl->tpl_vars["name"] = new Smarty_variable($_smarty_tpl->tpl_vars['displayNameList']->value[$_smarty_tpl->tpl_vars['id']->value], null, 0); ?> <?php echo smarty_function_decorator(array('name' => "user_list_item", 'avatar' => $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['id']->value], 'username' => $_smarty_tpl->tpl_vars['username']->value, 'displayName' => $_smarty_tpl->tpl_vars['name']->value, 'contextMenu' => $_smarty_tpl->tpl_vars['contextMenuList']->value[$_smarty_tpl->tpl_vars['id']->value], 'fields' => $_smarty_tpl->tpl_vars['_fields']->value, 'activity' => $_smarty_tpl->tpl_vars['activity']->value, 'set_class' => 'ow_item_set3'), $_smarty_tpl); ?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['user_list']['iteration'] % 3 == 0 && !$_smarty_tpl->getVariable('smarty')->value['foreach']['user_list']['last']) { ?> </div> <div class="clearfix <?php echo smarty_function_cycle(array('name' => "rows", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl); ?> "> <?php } ?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['user_list']['last']) { ?> </div> <?php } ?> <?php } ?> </div> <center><?php echo $_smarty_tpl->tpl_vars['paging']->value; ?> </center> <?php } else { ?> <center><?php echo smarty_function_text(array('key' => "base+user_no_users"), $_smarty_tpl); ?> </center> <?php } }
function content_548e92ac3d38c6_33894558($_smarty_tpl) { if (!is_callable('smarty_function_decorator')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php'; } if (!is_callable('smarty_function_text')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php'; } if (!is_callable('smarty_function_format_date')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.format_date.php'; } ?> <div class="owm_profile_header_wrap owm_std_margin_bottom"> <div class="owm_profile_header clearfix owm_std_margin_bottom"> <div class="owm_profile_avatar_wrap" style="position:relative;"> <?php echo smarty_function_decorator(array('name' => "avatar_item", 'data' => $_smarty_tpl->tpl_vars['user']->value['avatar'], 'fullLabel' => true), $_smarty_tpl); ?> <div class="ow_avatar_pending_approval" style="<?php if (empty($_smarty_tpl->tpl_vars['avatarDto']->value) || !$_smarty_tpl->tpl_vars['owner']->value && !$_smarty_tpl->tpl_vars['isModerator']->value || !empty($_smarty_tpl->tpl_vars['avatarDto']->value) && $_smarty_tpl->tpl_vars['avatarDto']->value->status == 'active') { ?> display:none;<?php } else { } ?> position: absolute; top: 0; right: 0; left: 0; bottom: 0; background-color: rgba(0,0,0,0.6); color: #fff; padding: 8px;"><?php echo smarty_function_text(array('key' => 'base+avatar_pending_approval'), $_smarty_tpl); ?> </div> </div> <span class="owm_profile_name"><?php echo $_smarty_tpl->tpl_vars['user']->value['displayName']; ?> </span> <?php if ($_smarty_tpl->tpl_vars['showPresence']->value) { ?> <div class="owm_profile_online <?php if (!$_smarty_tpl->tpl_vars['isOnline']->value) { ?> owm_profile_offline<?php } ?> "><span><?php echo smarty_function_text(array('key' => "base+user_list_activity"), $_smarty_tpl); ?> : <?php echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['activityStamp']->value), $_smarty_tpl); ?> </span></div> <?php } ?> </div> <div class="owm_profile_btns"> <?php echo $_smarty_tpl->tpl_vars['toolbar']->value; ?> </div> </div> <?php }
function content_548f196c31cae0_51768811($_smarty_tpl) { if (!is_callable('smarty_block_style')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php'; } if (!is_callable('smarty_function_url_for_route')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.url_for_route.php'; } if (!is_callable('smarty_modifier_truncate')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_libraries\\smarty3\\plugins\\modifier.truncate.php'; } if (!is_callable('smarty_function_decorator')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php'; } if (!is_callable('smarty_function_format_date')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.format_date.php'; } $_smarty_tpl->smarty->_tag_stack[] = array('style', array()); $_block_repeat = true; echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> .owm_photo_stage { background-image: url(<?php echo $_smarty_tpl->tpl_vars['url']->value; ?> ); } <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_style(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <section> <?php if (!empty($_smarty_tpl->tpl_vars['authError']->value)) { ?> <div class="owm_padding"> <div class="owm_info owm_anno"><?php echo $_smarty_tpl->tpl_vars['authError']->value; ?> </div> </div> <?php } else { ?> <div class="owm_photo_view"> <div class="owm_photo_bg"> <div class="owm_photo_holder"> <div class="owm_photo_stage"><img src="<?php echo $_smarty_tpl->tpl_vars['url']->value; ?> " /></div> <?php if ($_smarty_tpl->tpl_vars['nextPhoto']->value) { ?> <a href="<?php echo smarty_function_url_for_route(array('for' => "view_photo:[id=>" . (string) $_smarty_tpl->tpl_vars['nextPhoto']->value . "]"), $_smarty_tpl); ?> " class="owm_photo_next"></a><?php } ?> <?php if ($_smarty_tpl->tpl_vars['previousPhoto']->value) { ?> <a href="<?php echo smarty_function_url_for_route(array('for' => "view_photo:[id=>" . (string) $_smarty_tpl->tpl_vars['previousPhoto']->value . "]"), $_smarty_tpl); ?> " class="owm_photo_prev"></a><?php } ?> </div> <div class="owm_photo_info"> <div class="owm_photo_album_block clearfix"> <div class="owm_photo_album owm_float_left"> <a class="owm_photo_album_name" href="<?php echo $_smarty_tpl->tpl_vars['albumUrl']->value; ?> "><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['album']->value->name, 60); ?> </a> <span class="owm_photo_number"><?php echo $_smarty_tpl->tpl_vars['photoIndex']->value; ?> </span> / <span class="owm_photo_amount"><?php echo $_smarty_tpl->tpl_vars['photoCount']->value; ?> </span> </div> <?php if ($_smarty_tpl->tpl_vars['fullsizeUrl']->value) { ?> <a class="owm_photo_enlarge owm_float_right" href="<?php echo $_smarty_tpl->tpl_vars['fullsizeUrl']->value; ?> "></a><?php } ?> </div> <div class="owm_photo_author clearfix"> <div class="owm_avatar owm_float_left"><?php echo smarty_function_decorator(array('name' => 'avatar_item', 'data' => $_smarty_tpl->tpl_vars['avatar']->value), $_smarty_tpl); ?> </div> <div class="owm_photo_string"> <div class="owm_photo_name"><a href="<?php echo $_smarty_tpl->tpl_vars['avatar']->value['url']; ?> "><?php echo $_smarty_tpl->tpl_vars['avatar']->value['title']; ?> </a></div> <div class="owm_photo_date"><?php echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['photo']->value->addDatetime), $_smarty_tpl); ?> </div> </div> </div> <?php if ($_smarty_tpl->tpl_vars['photo']->value->description) { ?> <div class="owm_photo_descr"><?php echo $_smarty_tpl->tpl_vars['photo']->value->description; ?> </div><?php } ?> </div> </div> <?php echo $_smarty_tpl->tpl_vars['comments']->value; ?> </div> <?php } ?> </section><?php }
function content_548ef0fe32d3b7_41199758($_smarty_tpl) { if (!is_callable('smarty_function_format_date')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.format_date.php'; } if (!is_callable('smarty_function_url_for_route')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.url_for_route.php'; } if (!is_callable('smarty_function_decorator')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php'; } if (!is_callable('smarty_function_text')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php'; } ?> <div class="ow_column ow_automargin"> <?php if ($_smarty_tpl->tpl_vars['gifts']->value) { $_smarty_tpl->tpl_vars['gift'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['gift']->_loop = false; $_from = $_smarty_tpl->tpl_vars['gifts']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['gift']->key => $_smarty_tpl->tpl_vars['gift']->value) { $_smarty_tpl->tpl_vars['gift']->_loop = true; ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'giftId', null); ob_start(); echo $_smarty_tpl->tpl_vars['gift']->value['dto']->id; list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'senderId', null); ob_start(); echo $_smarty_tpl->tpl_vars['gift']->value['dto']->senderId; list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'infoString', null); ob_start(); ?> <a href="<?php echo $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['senderId']->value]['url']; ?> "><?php echo $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['senderId']->value]['title']; ?> </a> <span class="ow_nowrap ow_tiny ow_ipc_date"><?php echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['gift']->value['dto']->sendTimestamp), $_smarty_tpl); ?> </span> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'content', null); ob_start(); ?> <div class="clearfix"> <div class="ow_gift_image"> <a href="<?php echo smarty_function_url_for_route(array('for' => "virtual_gifts_view_gift:[giftId=>" . (string) $_smarty_tpl->tpl_vars['gift']->value['dto']->id . "]"), $_smarty_tpl); ?> "> <img src="<?php echo $_smarty_tpl->tpl_vars['gift']->value['imageUrl']; ?> " /> </a> </div> <div class="ow_gift_message"><?php if ($_smarty_tpl->tpl_vars['gift']->value['dto']->message != '') { echo $_smarty_tpl->tpl_vars['gift']->value['dto']->message; } ?> </div> </div> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php echo smarty_function_decorator(array('name' => 'ipc', 'addClass' => 'ow_stdmargin', 'avatar' => $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['senderId']->value], 'infoString' => $_smarty_tpl->tpl_vars['infoString']->value, 'content' => $_smarty_tpl->tpl_vars['content']->value), $_smarty_tpl); ?> <?php } ?> <?php echo $_smarty_tpl->tpl_vars['paging']->value; ?> <?php } else { ?> <div class="ow_nocontent"><?php echo smarty_function_text(array('key' => 'virtualgifts+no_gifts'), $_smarty_tpl); ?> </div> <?php } ?> </div><?php }
function content_55b238c2164c27_01637478($_smarty_tpl) { if (!is_callable('smarty_function_decorator')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.decorator.php'; } if (!is_callable('smarty_block_script')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/block.script.php'; } if (!is_callable('smarty_function_text')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php'; } if (!is_callable('smarty_function_online_now')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.online_now.php'; } if (!is_callable('smarty_function_format_date')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.format_date.php'; } ?> <div class="ow_btn_delimiter ow_right"> <?php if ($_smarty_tpl->tpl_vars['isAuthenticated']->value) { ?> <?php if (!empty($_smarty_tpl->tpl_vars['canUpload']->value)) { ?> <?php echo smarty_function_decorator(array('name' => "button", 'class' => "ow_ic_add", 'id' => "add-new-photo-album", 'langLabel' => "photo+create_album"), $_smarty_tpl); ?> <?php $_smarty_tpl->smarty->_tag_stack[] = array('script', array()); $_block_repeat = true; echo smarty_block_script(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> jQuery(function() { var content = $(document.getElementById('add-new-photo-album-content')); var albumName = new OwTextField('add-new-photo-album-name', 'add-new-photo-album-name', OW.getLanguageText('photo', 'album_name')); var albumDesc = new OwTextArea('add-new-photo-album-desc', 'add-new-photo-album-desc', OW.getLanguageText('photo', 'album_desc')); $('#add-new-photo-album').on('click', function() { var fb = new OW_FloatBox( { $title: OW.getLanguageText('photo', 'create_album'), $contents: content, width: 500 }); fb.bind('show', function() { $('input.ow_ic_submit', content).off().on('click', function() { var value = albumName.getValue().trim(); if ( value.length === 0 ) { $('span.ow_error', content).show(); $(albumName.input).focus(); return; } else if ( value === OW.getLanguageText('photo', 'newsfeed_album') ) { OW.error(OW.getLanguageText('photo', 'newsfeed_album_error_msg')); $('span.ow_error', content).show(); $(albumName.input).focus(); return; } fb.close(); var ajaxUploadPhotoFB = OW.ajaxFloatBox("PHOTO_CMP_AjaxUpload", [0, albumName.getValue(), albumDesc.getValue()], { title: OW.getLanguageText('photo', 'upload_photos'), width: "746px" }); ajaxUploadPhotoFB.bind("close", function() { if ( ajaxPhotoUploader.isHasData() ) { return confirm(OW.getLanguageText('photo', 'close_alert')); } }); }); }); fb.bind('close', function() { $('span.ow_error', content).hide(); }); }); }); <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_script(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php } else { ?> <?php echo smarty_function_decorator(array('name' => "button", 'class' => "ow_ic_add", 'id' => "add-new-photo-album", 'langLabel' => "photo+create_album", 'onclick' => (string) $_smarty_tpl->tpl_vars['url']->value . "();"), $_smarty_tpl); ?> <?php } ?> <?php echo smarty_function_decorator(array('name' => "button", 'class' => "ow_ic_add", 'id' => "btn-add-new-photo", 'langLabel' => "photo+upload_photos", 'onclick' => (string) $_smarty_tpl->tpl_vars['url']->value . "();"), $_smarty_tpl); ?> <?php } ?> <div class="ow_hidden"> <div id="add-new-photo-album-content"> <div style="margin-bottom: 16px;"> <div class="ow_smallmargin"> <input id="add-new-photo-album-name" type="text" value="<?php echo smarty_function_text(array('key' => "photo+album_name"), $_smarty_tpl); ?> " class="invitation"> <span class="ow_error" style="color: #FF0000; display: none"><?php echo smarty_function_text(array('key' => 'base+form_validator_required_error_message'), $_smarty_tpl); ?> </span> </div> <textarea id="add-new-photo-album-desc" class="invitation"><?php echo smarty_function_text(array('key' => 'photo+album_desc'), $_smarty_tpl); ?> </textarea> </div> <div style="margin-bottom: 8px;" class="clearfix"> <div class="ow_right"> <span class="ow_button"> <span class=" ow_ic_submit ow_positive"> <input type="button" class="ow_ic_submit ow_positive" value="<?php echo smarty_function_text(array('key' => 'photo+add_photos'), $_smarty_tpl); ?> "> </span> </span> </div> </div> </div> </div> </div> <?php if (!empty($_smarty_tpl->tpl_vars['photoMenu']->value)) { ?> <?php echo $_smarty_tpl->tpl_vars['photoMenu']->value; ?> <?php } ?> <?php if (!empty($_smarty_tpl->tpl_vars['user']->value)) { ?> <div class="clearfix" style="margin-bottom: 12px;"> <div class="ow_user_list_picture"> <?php echo smarty_function_decorator(array('name' => 'avatar_item', 'data' => $_smarty_tpl->tpl_vars['avatar']->value), $_smarty_tpl); ?> </div> <div class="ow_user_list_data"> <a href="<?php echo $_smarty_tpl->tpl_vars['avatar']->value['url']; ?> "><?php echo $_smarty_tpl->tpl_vars['avatar']->value['title']; ?> </a> <div class="ow_small"> <?php if (!empty($_smarty_tpl->tpl_vars['onlineStatus']->value)) { ?> <?php echo smarty_function_online_now(array('userId' => $_smarty_tpl->tpl_vars['user']->value->id), $_smarty_tpl); ?> <?php } elseif ($_smarty_tpl->tpl_vars['user']->value->activityStamp) { ?> <?php echo smarty_function_text(array('key' => "base+user_list_activity"), $_smarty_tpl); ?> : <span class="ow_remark"><?php echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['user']->value->activityStamp), $_smarty_tpl); ?> </span> <?php } ?> </div> </div> </div> <?php } ?> <?php echo $_smarty_tpl->tpl_vars['subMenu']->value; ?> <?php }
function content_548e5f21bbf163_77189457($_smarty_tpl) { if (!is_callable('smarty_block_style')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.style.php'; } if (!is_callable('smarty_block_script')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.script.php'; } if (!is_callable('smarty_function_add_content')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.add_content.php'; } if (!is_callable('smarty_function_decorator')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php'; } if (!is_callable('smarty_function_text')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php'; } if (!is_callable('smarty_function_cycle')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_libraries\\smarty3\\plugins\\function.cycle.php'; } if (!is_callable('smarty_function_user_link')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.user_link.php'; } if (!is_callable('smarty_function_format_date')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.format_date.php'; } $_smarty_tpl->smarty->_tag_stack[] = array('style', array()); $_block_repeat = true; echo smarty_block_style(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> .ow_author { width: 25%; } .ow_reply_info { margin-bottom: 3px; } .ow_forum .ow_lbutton:hover { cursor: default; } <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_style(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php $_smarty_tpl->smarty->_tag_stack[] = array('script', array()); $_block_repeat = true; echo smarty_block_script(array(), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> $("#btn-customize-forum").click(function(){ window.location.href='<?php echo $_smarty_tpl->tpl_vars['customizeUrl']->value; ?> '; }); <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_script(array(), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <div class="clearfix"> <?php if ($_smarty_tpl->tpl_vars['singleMode']->value) { ?> <?php echo smarty_function_add_content(array('key' => 'forum.add_content.list.top', 'listType' => 'group'), $_smarty_tpl); ?> <?php } else { ?> <?php echo smarty_function_add_content(array('key' => 'forum.add_content.list.top', 'listType' => 'forum'), $_smarty_tpl); ?> <?php } ?> </div> <?php if ($_smarty_tpl->tpl_vars['isModerator']->value) { ?> <div class="ow_box ow_highbox ow_stdmargin ow_center"> <?php echo smarty_function_decorator(array('name' => 'button', 'langLabel' => 'base+widgets_customize_btn', 'id' => 'btn-customize-forum', 'class' => 'ow_ic_gear_wheel'), $_smarty_tpl); ?> </div> <?php } ?> <?php if ($_smarty_tpl->tpl_vars['singleMode']->value) { ?> <?php echo $_smarty_tpl->tpl_vars['groupCmp']->value; ?> <?php } else { ?> <div class="clearfix"> <div class="ow_right ow_smallmargin"> <?php echo $_smarty_tpl->tpl_vars['search']->value; ?> </div> </div> <table class="ow_table_1 ow_stdmargin ow_forum"> <?php $_smarty_tpl->tpl_vars['section'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['section']->_loop = false; $_from = $_smarty_tpl->tpl_vars['sectionGroupList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['section']->key => $_smarty_tpl->tpl_vars['section']->value) { $_smarty_tpl->tpl_vars['section']->_loop = true; ?> <tr class="ow_tr_first"> <th class="ow_name"><a href="<?php echo $_smarty_tpl->tpl_vars['section']->value['sectionUrl']; ?> "><span id="section-<?php echo $_smarty_tpl->tpl_vars['section']->value['sectionId']; ?> "><?php echo $_smarty_tpl->tpl_vars['section']->value['sectionName']; ?> </span></a></th> <th class="ow_topics"><?php echo smarty_function_text(array('key' => 'forum+topics'), $_smarty_tpl); ?> </th> <th class="ow_replies"><?php echo smarty_function_text(array('key' => 'forum+replies'), $_smarty_tpl); ?> </th> <th class="ow_author"><?php echo smarty_function_text(array('key' => 'forum+last_reply'), $_smarty_tpl); ?> </th> </tr> <?php $_smarty_tpl->tpl_vars['group'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['group']->_loop = false; $_from = $_smarty_tpl->tpl_vars['section']->value['groups']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $_smarty_tpl->tpl_vars['group']->total = $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['group']->iteration = 0; $_smarty_tpl->tpl_vars['group']->index = -1; foreach ($_from as $_smarty_tpl->tpl_vars['group']->key => $_smarty_tpl->tpl_vars['group']->value) { $_smarty_tpl->tpl_vars['group']->_loop = true; $_smarty_tpl->tpl_vars['group']->iteration++; $_smarty_tpl->tpl_vars['group']->index++; $_smarty_tpl->tpl_vars['group']->first = $_smarty_tpl->tpl_vars['group']->index === 0; $_smarty_tpl->tpl_vars['group']->last = $_smarty_tpl->tpl_vars['group']->iteration === $_smarty_tpl->tpl_vars['group']->total; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['g']['first'] = $_smarty_tpl->tpl_vars['group']->first; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['g']['last'] = $_smarty_tpl->tpl_vars['group']->last; ?> <tr class="<?php echo smarty_function_cycle(array('values' => 'ow_alt1,ow_alt2', 'reset' => $_smarty_tpl->getVariable('smarty')->value['foreach']['g']['first']), $_smarty_tpl); ?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['g']['last']) { ?> ow_tr_last<?php } ?> "> <td class="ow_name"> <a href="<?php echo $_smarty_tpl->tpl_vars['group']->value['groupUrl']; ?> "><b><?php echo $_smarty_tpl->tpl_vars['group']->value['name']; ?> </b></a> <div class="ow_small"><?php echo $_smarty_tpl->tpl_vars['group']->value['description']; ?> </div> <?php if ($_smarty_tpl->tpl_vars['group']->value['isPrivate']) { ?> <span class="ow_lbutton ow_green"><?php echo smarty_function_text(array('key' => 'forum+is_private'), $_smarty_tpl); ?> </span> <span class="ow_small ow_remark"><?php echo smarty_function_text(array('key' => 'forum+visible_to'), $_smarty_tpl); ?> : <?php $_smarty_tpl->tpl_vars['r'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['r']->_loop = false; $_from = $_smarty_tpl->tpl_vars['group']->value['roles']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $_smarty_tpl->tpl_vars['r']->total = $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['r']->iteration = 0; foreach ($_from as $_smarty_tpl->tpl_vars['r']->key => $_smarty_tpl->tpl_vars['r']->value) { $_smarty_tpl->tpl_vars['r']->_loop = true; $_smarty_tpl->tpl_vars['r']->iteration++; $_smarty_tpl->tpl_vars['r']->last = $_smarty_tpl->tpl_vars['r']->iteration === $_smarty_tpl->tpl_vars['r']->total; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['r']['last'] = $_smarty_tpl->tpl_vars['r']->last; echo $_smarty_tpl->tpl_vars['r']->value; if (!$_smarty_tpl->getVariable('smarty')->value['foreach']['r']['last']) { ?> , <?php } } ?> </span> <?php } ?> </td> <td class="ow_topics"><?php echo $_smarty_tpl->tpl_vars['group']->value['topicCount']; ?> </td> <td class="ow_replies"><?php echo $_smarty_tpl->tpl_vars['group']->value['replyCount']; ?> </td> <td class="ow_txtleft ow_small"> <?php if (!empty($_smarty_tpl->tpl_vars['group']->value['lastReply'])) { ?> <div class="ow_reply_info"> <span class="ow_nowrap ow_icon_control ow_ic_user"> <?php echo smarty_function_user_link(array('username' => $_smarty_tpl->tpl_vars['userNames']->value[$_smarty_tpl->tpl_vars['group']->value['lastReply']['userId']], 'name' => $_smarty_tpl->tpl_vars['displayNames']->value[$_smarty_tpl->tpl_vars['group']->value['lastReply']['userId']]), $_smarty_tpl); ?> </span> · <span class="ow_nowrap ow_remark"><?php echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['group']->value['lastReply']['createStamp']), $_smarty_tpl); ?> </span> </div> <?php echo smarty_function_text(array('key' => 'forum+in'), $_smarty_tpl); ?> <a href="<?php echo $_smarty_tpl->tpl_vars['group']->value['lastReply']['postUrl']; ?> "><?php echo $_smarty_tpl->tpl_vars['group']->value['lastReply']['title']; ?> </a> <?php } ?> </td> </tr> <?php } ?> <tr class="ow_tr_delimiter"><td colspan="3"></td></tr> <?php } ?> </table> <?php } }
function content_548e94bf1ed5c3_45507521($_smarty_tpl) { if (!is_callable('smarty_block_block_decorator')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.block_decorator.php'; } if (!is_callable('smarty_function_add_content')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.add_content.php'; } if (!is_callable('smarty_function_text')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php'; } if (!is_callable('smarty_function_user_link')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.user_link.php'; } if (!is_callable('smarty_function_format_date')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.format_date.php'; } if (!is_callable('smarty_function_url_for_route')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.url_for_route.php'; } ?> <div class="clearfix"> <div class="ow_superwide" style="float:left;"> <?php $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => 'box', 'type' => 'empty', 'toolbar' => $_smarty_tpl->tpl_vars['tb']->value, 'addClass' => "ow_stdmargin")); $_block_repeat = true; echo smarty_block_block_decorator(array('name' => 'box', 'type' => 'empty', 'toolbar' => $_smarty_tpl->tpl_vars['tb']->value, 'addClass' => "ow_stdmargin"), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <div class="clearfix"> <?php echo $_smarty_tpl->tpl_vars['info']->value['dto']->post; ?> </div> <div class="ow_stdmargin"><center><br /><?php echo $_smarty_tpl->tpl_vars['paging']->value; ?> </center></div> <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_block_decorator(array('name' => 'box', 'type' => 'empty', 'toolbar' => $_smarty_tpl->tpl_vars['tb']->value, 'addClass' => "ow_stdmargin"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php echo smarty_function_add_content(array('key' => 'socialsharing.get_sharing_buttons', 'title' => $_smarty_tpl->tpl_vars['info']->value['dto']->title, 'description' => $_smarty_tpl->tpl_vars['info']->value['dto']->post, 'entityType' => 'blogs', 'entityId' => $_smarty_tpl->tpl_vars['info']->value['dto']->id), $_smarty_tpl); ?> <?php echo smarty_function_add_content(array('key' => 'blogs.blog_view.content.after_blog_post'), $_smarty_tpl); ?> <?php if ($_smarty_tpl->tpl_vars['adjasentUrl']->value) { ?> <?php $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'addClass' => "ow_stdmargin")); $_block_repeat = true; echo smarty_block_block_decorator(array('name' => "box", 'addClass' => "ow_stdmargin"), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <div class="clearfix"> <div style="float:left;"> <?php if (preg_match_all('/[^\\s]/u', $_smarty_tpl->tpl_vars['adjasentUrl']->value['prev'], $tmp) > 0) { ?> <a href="<?php echo $_smarty_tpl->tpl_vars['adjasentUrl']->value['prev']; ?> "><?php echo smarty_function_text(array('key' => "blogs+prev_post"), $_smarty_tpl); ?> </a> <span class="ow_ic_left_arrow" style="background-repeat: no-repeat;"> </span> <?php } ?> </div> <div style="float:right;"> <?php if (preg_match_all('/[^\\s]/u', $_smarty_tpl->tpl_vars['adjasentUrl']->value['next'], $tmp) > 0) { ?> <span class="ow_ic_right_arrow" style="background-repeat: no-repeat;"> </span> <a href="<?php echo $_smarty_tpl->tpl_vars['adjasentUrl']->value['next']; ?> "><?php echo smarty_function_text(array('key' => "blogs+next_post"), $_smarty_tpl); ?> </a> <?php } ?> </div> </div> <center> <span class="ow_ic_up_arrow" style="background-repeat: no-repeat;"> </span> <a href="<?php echo $_smarty_tpl->tpl_vars['adjasentUrl']->value['index']; ?> "><?php echo smarty_function_text(array('key' => "blogs+blog_index"), $_smarty_tpl); ?> </a></center> <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_block_decorator(array('name' => "box", 'addClass' => "ow_stdmargin"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php } ?> <?php echo $_smarty_tpl->tpl_vars['comments']->value; ?> </div> <div class="ow_supernarrow" style="float:right;"> <?php $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'addClass' => "ow_stdmargin", 'langLabel' => "blogs+post_title", 'iconClass' => "ow_ic_picture")); $_block_repeat = true; echo smarty_block_block_decorator(array('name' => "box", 'addClass' => "ow_stdmargin", 'langLabel' => "blogs+post_title", 'iconClass' => "ow_ic_picture"), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <table class="ow_table_3 ow_form ow_nomargin"> <tbody> <?php if ($_smarty_tpl->tpl_vars['isAuthorExists']->value) { ?> <tr class="ow_tr_first"> <td class="ow_label"><?php echo smarty_function_text(array('key' => "blogs+by"), $_smarty_tpl); ?> </td> <td class="ow_value"> <?php echo smarty_function_user_link(array('name' => $_smarty_tpl->tpl_vars['displayname']->value, 'username' => $_smarty_tpl->tpl_vars['username']->value), $_smarty_tpl); ?> </td> </tr> <?php } ?> <tr class="<?php if (!$_smarty_tpl->tpl_vars['isAuthorExists']->value) { ?> ow_tr_first<?php } ?> ow_tr_last"> <td class="ow_label"><?php echo smarty_function_text(array('key' => "blogs+added"), $_smarty_tpl); ?> </td> <td class="ow_value"><?php echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['info']->value['dto']->timestamp), $_smarty_tpl); ?> </td> </tr> </tbody> </table> <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_block_decorator(array('name' => "box", 'addClass' => "ow_stdmargin", 'langLabel' => "blogs+post_title", 'iconClass' => "ow_ic_picture"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php echo $_smarty_tpl->tpl_vars['tagCloud']->value; ?> <?php echo $_smarty_tpl->tpl_vars['rate']->value; ?> <?php if ($_smarty_tpl->tpl_vars['isAuthorExists']->value) { ?> <?php $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'langLabel' => "blogs+blog_archive_lbl_archives", 'iconClass' => "ow_ic_clock")); $_block_repeat = true; echo smarty_block_block_decorator(array('name' => "box", 'langLabel' => "blogs+blog_archive_lbl_archives", 'iconClass' => "ow_ic_clock"), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <?php $_smarty_tpl->tpl_vars["uname"] = new Smarty_variable($_smarty_tpl->tpl_vars['author']->value->getUsername(), null, 0); ?> <ul class="ow_regular"> <li><a href="<?php echo smarty_function_url_for_route(array('for' => "user-blog:[user=>" . (string) $_smarty_tpl->tpl_vars['uname']->value . "]"), $_smarty_tpl); ?> "><?php echo smarty_function_text(array('key' => "base+all"), $_smarty_tpl); ?> </a> </li> <?php $_smarty_tpl->tpl_vars['months'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['months']->_loop = false; $_smarty_tpl->tpl_vars['year'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['archive']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['months']->key => $_smarty_tpl->tpl_vars['months']->value) { $_smarty_tpl->tpl_vars['months']->_loop = true; $_smarty_tpl->tpl_vars['year']->value = $_smarty_tpl->tpl_vars['months']->key; ?> <?php $_smarty_tpl->tpl_vars['month'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['month']->_loop = false; $_from = $_smarty_tpl->tpl_vars['months']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['month']->key => $_smarty_tpl->tpl_vars['month']->value) { $_smarty_tpl->tpl_vars['month']->_loop = true; ?> <?php $_smarty_tpl->tpl_vars['u'] = new Smarty_variable($_smarty_tpl->tpl_vars['author']->value->getUsername(), null, 0); ?> <li> <a href="<?php echo smarty_function_url_for_route(array('for' => "user-blog:[user=>" . (string) $_smarty_tpl->tpl_vars['u']->value . "]"), $_smarty_tpl); ?> ?month=<?php echo $_smarty_tpl->tpl_vars['month']->value; ?> -<?php echo $_smarty_tpl->tpl_vars['year']->value; ?> "><?php echo smarty_function_text(array('key' => "base+month_" . (string) $_smarty_tpl->tpl_vars['month']->value), $_smarty_tpl); ?> <?php echo $_smarty_tpl->tpl_vars['year']->value; ?> </a> </li> <?php } ?> <?php } ?> </ul> <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_block_decorator(array('name' => "box", 'langLabel' => "blogs+blog_archive_lbl_archives", 'iconClass' => "ow_ic_clock"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> <?php } ?> </div> </div><?php }
function content_548ea52f2a3887_87505611($_smarty_tpl) { if (!is_callable('smarty_function_format_date')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.format_date.php'; } if (!is_callable('smarty_function_decorator')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php'; } if (!is_callable('smarty_function_add_content')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.add_content.php'; } if (isset($_smarty_tpl->tpl_vars['noPermission']->value)) { ?> <div class="ow_anno ow_std_margin ow_nocontent"><?php echo $_smarty_tpl->tpl_vars['noPermission']->value; ?> </div> <?php } else { ?> <div class="ow_wide ow_automargin"> <div class="ow_stdmargin ow_center"><img src="<?php echo $_smarty_tpl->tpl_vars['gift']->value['imageUrl']; ?> " /></div> <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'infoString', null); ob_start(); ?> <a href="<?php echo $_smarty_tpl->tpl_vars['senderUrl']->value; ?> "><?php echo $_smarty_tpl->tpl_vars['senderName']->value; ?> </a> <span class="ow_nowrap ow_tiny ow_ipc_date"><?php echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['gift']->value['dto']->sendTimestamp), $_smarty_tpl); ?> </span> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'content', null); ob_start(); ?> <div class="ow_smallmargin"><?php if ($_smarty_tpl->tpl_vars['gift']->value['dto']->message != '') { echo $_smarty_tpl->tpl_vars['gift']->value['dto']->message; } ?> </div> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php echo smarty_function_decorator(array('name' => 'ipc', 'addClass' => 'ow_stdmargin', 'infoString' => $_smarty_tpl->tpl_vars['infoString']->value, 'avatar' => $_smarty_tpl->tpl_vars['senderAvatar']->value, 'content' => $_smarty_tpl->tpl_vars['content']->value, 'toolbar' => $_smarty_tpl->tpl_vars['toolbar']->value), $_smarty_tpl); ?> <?php echo smarty_function_add_content(array('key' => 'socialsharing.get_sharing_buttons', 'title' => $_smarty_tpl->tpl_vars['title']->value, 'description' => $_smarty_tpl->tpl_vars['gift']->value['dto']->message, 'image' => $_smarty_tpl->tpl_vars['gift']->value['imageUrl'], 'entityType' => 'virtualgifts', 'entityId' => $_smarty_tpl->tpl_vars['gift']->value['dto']->id), $_smarty_tpl); ?> </div> <?php echo smarty_function_add_content(array('key' => 'virtualgifts.gifts_view.content.between_gift_and_send_button'), $_smarty_tpl); ?> <?php if ($_smarty_tpl->tpl_vars['sendToFriends']->value) { ?> <div class="ow_wide ow_automargin ow_center"> <?php echo smarty_function_decorator(array('name' => 'button', 'id' => 'send_gift_btn', 'langLabel' => 'virtualgifts+send_this_gift', 'class' => 'ow_ic_heart'), $_smarty_tpl); ?> </div> <?php } } }
function content_55c863aca154c7_06650214($_smarty_tpl) { if (!is_callable('smarty_function_text')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.text.php'; } if (!is_callable('smarty_function_cycle')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_libraries/smarty3/plugins/function.cycle.php'; } if (!is_callable('smarty_function_user_link')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.user_link.php'; } if (!is_callable('smarty_function_format_date')) { include '/homepages/11/d222791150/htdocs/Hammulandingpage/hammu/ow_smarty/plugin/function.format_date.php'; } echo $_smarty_tpl->tpl_vars['paging']->value; ?> <table class="ow_table_2"> <tr class="ow_tr_first"> <th class="ow_nowrap"><?php echo smarty_function_text(array('key' => 'base+billing_transaction_id'), $_smarty_tpl); ?> </th> <th><?php echo smarty_function_text(array('key' => 'base+billing_gateway'), $_smarty_tpl); ?> </th> <th><?php echo smarty_function_text(array('key' => 'admin+plugin'), $_smarty_tpl); ?> </th> <th><?php echo smarty_function_text(array('key' => 'base+billing_details'), $_smarty_tpl); ?> </th> <th><?php echo smarty_function_text(array('key' => 'base+billing_amount'), $_smarty_tpl); ?> </th> <th><?php echo smarty_function_text(array('key' => 'admin+currency'), $_smarty_tpl); ?> </th> <th><?php echo smarty_function_text(array('key' => 'admin+user'), $_smarty_tpl); ?> </th> <th><?php echo smarty_function_text(array('key' => 'base+time'), $_smarty_tpl); ?> </th> </tr> <?php $_smarty_tpl->tpl_vars['sale'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['sale']->_loop = false; $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $_smarty_tpl->tpl_vars['sale']->total = $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['sale']->iteration = 0; foreach ($_from as $_smarty_tpl->tpl_vars['sale']->key => $_smarty_tpl->tpl_vars['sale']->value) { $_smarty_tpl->tpl_vars['sale']->_loop = true; $_smarty_tpl->tpl_vars['sale']->iteration++; $_smarty_tpl->tpl_vars['sale']->last = $_smarty_tpl->tpl_vars['sale']->iteration === $_smarty_tpl->tpl_vars['sale']->total; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['sale']['last'] = $_smarty_tpl->tpl_vars['sale']->last; ?> <tr class="ow_alt<?php echo smarty_function_cycle(array('values' => '1,2'), $_smarty_tpl); ?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['sale']['last']) { ?> ow_tr_last<?php } ?> "> <td><?php echo $_smarty_tpl->tpl_vars['sale']->value['transactionUid']; ?> </td> <td> <?php if ($_smarty_tpl->tpl_vars['sale']->value['gatewayKey'] != '') { ?> <?php echo smarty_function_text(array('key' => (string) $_smarty_tpl->tpl_vars['sale']->value['gatewayKey'] . "+gateway_title"), $_smarty_tpl); ?> <?php } else { ?> <span class="ow_small ow_remark"><?php echo smarty_function_text(array('key' => 'base+billing_gateway_unavailable'), $_smarty_tpl); ?> </span> <?php } ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['sale']->value['pluginTitle']; ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['sale']->value['entityDescription']; ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['sale']->value['totalAmount']; ?> </td> <td><?php echo $_smarty_tpl->tpl_vars['sale']->value['currency']; ?> </td> <td> <?php if ($_smarty_tpl->tpl_vars['sale']->value['userId'] != null) { ?> <?php echo smarty_function_user_link(array('username' => $_smarty_tpl->tpl_vars['userNames']->value[$_smarty_tpl->tpl_vars['sale']->value['userId']], 'name' => $_smarty_tpl->tpl_vars['displayNames']->value[$_smarty_tpl->tpl_vars['sale']->value['userId']]), $_smarty_tpl); ?> <?php } else { ?> <span class="ow_small ow_remark">-</span> <?php } ?> </td> <td class="ow_small"><?php echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['sale']->value['timeStamp']), $_smarty_tpl); ?> </td> </tr> <?php } ?> </table> <?php echo $_smarty_tpl->tpl_vars['paging']->value; ?> <div class="ow_supernarrow ow_automargin"> <table class="ow_table_3"> <tr class="ow_tr_first"><th class="ow_label" style="text-align: center" colspan="2"><b><?php echo smarty_function_text(array('key' => 'base+billing_statistics'), $_smarty_tpl); ?> </b></th></tr> <?php $_smarty_tpl->tpl_vars['sum'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['sum']->_loop = false; $_smarty_tpl->tpl_vars['cur'] = new Smarty_Variable(); $_from = $_smarty_tpl->tpl_vars['stats']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['sum']->key => $_smarty_tpl->tpl_vars['sum']->value) { $_smarty_tpl->tpl_vars['sum']->_loop = true; $_smarty_tpl->tpl_vars['cur']->value = $_smarty_tpl->tpl_vars['sum']->key; ?> <tr> <td class="ow_label"><?php echo $_smarty_tpl->tpl_vars['cur']->value; ?> </td> <td class="ow_value"><?php echo $_smarty_tpl->tpl_vars['sum']->value; ?> </td> </tr> <?php } ?> </table> </div><?php }
function content_559768f570a2d8_35809209($_smarty_tpl) { if (!is_callable('smarty_function_text')) { include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.text.php'; } if (!is_callable('smarty_function_format_date')) { include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.format_date.php'; } if (!empty($_smarty_tpl->tpl_vars['list']->value)) { ?> <div class="usearch_search_result_page ow_left" data-page="<?php echo $_smarty_tpl->tpl_vars['page']->value; ?> " style="width:100%;height:0px;"></div> <?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['item']->_loop = false; $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) { $_smarty_tpl->tpl_vars['item']->_loop = true; ?> <?php $_smarty_tpl->tpl_vars['dto'] = new Smarty_variable($_smarty_tpl->tpl_vars['item']->value['dto'], null, 0); ?> <?php $_smarty_tpl->tpl_vars['id'] = new Smarty_variable($_smarty_tpl->tpl_vars['dto']->value->id, null, 0); ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', "_fields", null); ob_start(); ?> <?php if (!empty($_smarty_tpl->tpl_vars['fields']->value[$_smarty_tpl->tpl_vars['id']->value]['base'])) { $_smarty_tpl->tpl_vars["field"] = new Smarty_Variable(); $_smarty_tpl->tpl_vars["field"]->_loop = false; $_from = $_smarty_tpl->tpl_vars['fields']->value[$_smarty_tpl->tpl_vars['id']->value]['base']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars["field"]->key => $_smarty_tpl->tpl_vars["field"]->value) { $_smarty_tpl->tpl_vars["field"]->_loop = true; echo $_smarty_tpl->tpl_vars['field']->value['label']; echo $_smarty_tpl->tpl_vars['field']->value['value']; } } ?> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'activity', null); ob_start(); ?> <?php if (!empty($_smarty_tpl->tpl_vars['showPresenceList']->value) && !empty($_smarty_tpl->tpl_vars['showPresenceList']->value[$_smarty_tpl->tpl_vars['id']->value]) && $_smarty_tpl->tpl_vars['showPresenceList']->value[$_smarty_tpl->tpl_vars['id']->value]) { ?> <?php if ($_smarty_tpl->tpl_vars['onlineInfo']->value) { ?> <?php if (empty($_smarty_tpl->tpl_vars['onlineInfo']->value[$_smarty_tpl->tpl_vars['id']->value]) && !empty($_smarty_tpl->tpl_vars['dto']->value) && $_smarty_tpl->tpl_vars['dto']->value->activityStamp > $_smarty_tpl->tpl_vars['activityShowLimit']->value) { ?> <div class="ow_photo_userlist_info"> <?php echo smarty_function_text(array('key' => "base+user_list_activity"), $_smarty_tpl); ?> : <span class=""><?php echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['dto']->value->activityStamp), $_smarty_tpl); ?> </span> </div> <?php } else { ?> <?php } ?> <?php } ?> <?php } ?> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'joinDate', null); ob_start(); ?> <?php if (!empty($_smarty_tpl->tpl_vars['dto']->value->joinStamp)) { ?> <div class="ow_photo_userlist_info"> <?php echo smarty_function_text(array('key' => "usearch+user_list_join_date"), $_smarty_tpl); ?> : <span class=""><?php echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['dto']->value->joinStamp), $_smarty_tpl); ?> </span> </div> <?php } else { ?> <?php } ?> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <div class="ow_photo_item_wrap" id="user-avatar-<?php echo $_smarty_tpl->tpl_vars['id']->value; ?> " > <div class="ow_photo_item" style="background-image: url(<?php echo $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['id']->value]['src']; ?> );"> <div class="ow_photo_item_info ow_small"> <a href="<?php echo $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['id']->value]['url']; ?> " class="ow_photo_userlist_info" style="text-decoration: none;"> <?php if (!empty($_smarty_tpl->tpl_vars['onlineInfo']->value[$_smarty_tpl->tpl_vars['id']->value])) { ?> <div style="display: inline-block;" class="ow_miniic_live"> <span class="ow_live_on"></span> </div> <?php } ?> <b class="ow_usearch_display_name"><?php echo $_smarty_tpl->tpl_vars['displayNameList']->value[$_smarty_tpl->tpl_vars['id']->value]; ?> </b> <?php if (!empty($_smarty_tpl->tpl_vars['bookmarkList']->value[$_smarty_tpl->tpl_vars['id']->value])) { ?> <div id="bookmark-user-<?php echo $_smarty_tpl->tpl_vars['id']->value; ?> " class="ow_ic_bookmark ow_bookmark_icon_ulist"></div> <?php } ?> <div class="ow_usearch_user_info" style="display:none;"> <div class="ow_photo_userlist_info"><?php echo $_smarty_tpl->tpl_vars['_fields']->value; ?> </div> <?php if (!empty($_smarty_tpl->tpl_vars['fields']->value[$_smarty_tpl->tpl_vars['id']->value]['location'])) { ?> <div class="ow_photo_userlist_info"><?php echo $_smarty_tpl->tpl_vars['fields']->value[$_smarty_tpl->tpl_vars['id']->value]['location']['value']; ?> </div><?php } ?> <?php echo $_smarty_tpl->tpl_vars['activity']->value; ?> <?php echo $_smarty_tpl->tpl_vars['joinDate']->value; ?> <?php if (isset($_smarty_tpl->tpl_vars['fields']->value[$_smarty_tpl->tpl_vars['id']->value]['match_compatibility'])) { ?> <div class="ow_photo_userlist_info"> <?php echo smarty_function_text(array('key' => "usearch+match_compatibility"), $_smarty_tpl); ?> : <span class=""><?php echo $_smarty_tpl->tpl_vars['fields']->value[$_smarty_tpl->tpl_vars['id']->value]['match_compatibility']['value']; ?> </span> </div> <?php } ?> <?php if (isset($_smarty_tpl->tpl_vars['fields']->value[$_smarty_tpl->tpl_vars['id']->value]['distance'])) { ?> <div class="ow_photo_userlist_info"> <?php echo smarty_function_text(array('key' => "usearch+distance"), $_smarty_tpl); ?> : <span class=""><?php echo $_smarty_tpl->tpl_vars['fields']->value[$_smarty_tpl->tpl_vars['id']->value]['distance']['value']; ?> </span> </div> <?php } ?> </div> </a> </div> <?php if (!empty($_smarty_tpl->tpl_vars['itemMenu']->value[$_smarty_tpl->tpl_vars['id']->value])) { ?> <div class="ow_photo_context_action"><?php echo $_smarty_tpl->tpl_vars['itemMenu']->value[$_smarty_tpl->tpl_vars['id']->value]; ?> </div> <?php } ?> <a href="<?php echo $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['id']->value]['url']; ?> "> <img alt="" src="data:image/png;base64,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"> </a> </div> </div> <?php } } }
function content_548e850b443bf1_34834572($_smarty_tpl) { if (!is_callable('smarty_function_cycle')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_libraries\\smarty3\\plugins\\function.cycle.php'; } if (!is_callable('smarty_function_question_value_lang')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.question_value_lang.php'; } if (!is_callable('smarty_function_age')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.age.php'; } if (!is_callable('smarty_function_online_now')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.online_now.php'; } if (!is_callable('smarty_function_format_date')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.format_date.php'; } if (!is_callable('smarty_function_url_for')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.url_for.php'; } if (!is_callable('smarty_function_text')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php'; } if (!is_callable('smarty_function_decorator')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.decorator.php'; } if (!empty($_smarty_tpl->tpl_vars['menu']->value)) { echo $_smarty_tpl->tpl_vars['menu']->value; } if (!empty($_smarty_tpl->tpl_vars['list']->value)) { ?> <div class="ow_user_list ow_full ow_stdmargin"> <?php $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['item']->_loop = false; $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $_smarty_tpl->tpl_vars['item']->total = $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['item']->iteration = 0; $_smarty_tpl->tpl_vars['item']->index = -1; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['iteration'] = 0; foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value) { $_smarty_tpl->tpl_vars['item']->_loop = true; $_smarty_tpl->tpl_vars['item']->iteration++; $_smarty_tpl->tpl_vars['item']->index++; $_smarty_tpl->tpl_vars['item']->first = $_smarty_tpl->tpl_vars['item']->index === 0; $_smarty_tpl->tpl_vars['item']->last = $_smarty_tpl->tpl_vars['item']->iteration === $_smarty_tpl->tpl_vars['item']->total; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['first'] = $_smarty_tpl->tpl_vars['item']->first; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['iteration']++; $_smarty_tpl->tpl_vars['smarty']->value['foreach']['user_list']['last'] = $_smarty_tpl->tpl_vars['item']->last; ?> <?php $_smarty_tpl->tpl_vars['dto'] = new Smarty_variable($_smarty_tpl->tpl_vars['item']->value['dto'], null, 0); ?> <?php $_smarty_tpl->tpl_vars['id'] = new Smarty_variable($_smarty_tpl->tpl_vars['dto']->value->id, null, 0); ?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['user_list']['first']) { ?> <div class="clearfix <?php echo smarty_function_cycle(array('name' => "rows", 'values' => "ow_alt2, ow_alt1"), $_smarty_tpl); ?> "> <?php } ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', "fields", null); ob_start(); ?> <?php if (!empty($_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['id']->value]['sex'])) { echo smarty_function_question_value_lang(array('name' => 'sex', 'value' => $_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['id']->value]['sex']), $_smarty_tpl); } ?> <?php if (!empty($_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['id']->value]['birthdate'])) { echo smarty_function_age(array('dateTime' => $_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['id']->value]['birthdate']), $_smarty_tpl); } ?> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', "activity", null); ob_start(); ?> <?php if (empty($_smarty_tpl->tpl_vars['onlineInfo']->value) || empty($_smarty_tpl->tpl_vars['onlineInfo']->value[$_smarty_tpl->tpl_vars['id']->value])) { ?> <?php } else { ?> <?php if (!empty($_smarty_tpl->tpl_vars['onlineInfo']->value) && $_smarty_tpl->tpl_vars['onlineInfo']->value[$_smarty_tpl->tpl_vars['id']->value]) { echo smarty_function_online_now(array('userId' => $_smarty_tpl->tpl_vars['dto']->value->id), $_smarty_tpl); } else { ?> Activity: <?php echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['dto']->value->activityStamp), $_smarty_tpl); } ?> <?php } ?> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php $_smarty_tpl->_capture_stack[0][] = array('default', 'toolbar', null); ob_start(); ?> <?php if ($_smarty_tpl->tpl_vars['case']->value == 'sent-requests') { ?> <div class=" ow_tiny" style="margin-left: 53px;"> <a href="<?php echo smarty_function_url_for(array('for' => "FRIENDS_CTRL_Action:cancel:[id=>" . (string) $_smarty_tpl->tpl_vars['id']->value . "]"), $_smarty_tpl); ?> "><?php echo smarty_function_text(array('key' => 'friends+cancel_request'), $_smarty_tpl); ?> </a> </div> <?php } elseif ($_smarty_tpl->tpl_vars['case']->value == 'got-requests') { ?> <div class="ow_tiny" style="margin-left: 53px;"> <a href="<?php echo smarty_function_url_for(array('for' => "FRIENDS_CTRL_Action:accept:[id=>" . (string) $_smarty_tpl->tpl_vars['id']->value . "]"), $_smarty_tpl); ?> "><?php echo smarty_function_text(array('key' => 'friends+accept_request'), $_smarty_tpl); ?> </a> · <a href="<?php echo smarty_function_url_for(array('for' => "FRIENDS_CTRL_Action:ignore:[id=>" . (string) $_smarty_tpl->tpl_vars['id']->value . "]"), $_smarty_tpl); ?> "><?php echo smarty_function_text(array('key' => 'friends+ignore_request'), $_smarty_tpl); ?> </a> </div> <?php } ?> <?php list($_capture_buffer, $_capture_assign, $_capture_append) = array_pop($_smarty_tpl->_capture_stack[0]); if (!empty($_capture_buffer)) { if (isset($_capture_assign)) { $_smarty_tpl->assign($_capture_assign, ob_get_contents()); } if (isset($_capture_append)) { $_smarty_tpl->append($_capture_append, ob_get_contents()); } Smarty::$_smarty_vars['capture'][$_capture_buffer] = ob_get_clean(); } else { $_smarty_tpl->capture_error(); } ?> <?php echo smarty_function_decorator(array('name' => "user_list_item", 'toolbar' => $_smarty_tpl->tpl_vars['toolbar']->value, 'avatar' => $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['id']->value], 'userUrl' => $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['id']->value]['url'], 'displayName' => $_smarty_tpl->tpl_vars['avatars']->value[$_smarty_tpl->tpl_vars['id']->value]['title'], 'fields' => $_smarty_tpl->tpl_vars['fields']->value, 'activity' => $_smarty_tpl->tpl_vars['activity']->value, 'set_class' => 'ow_item_set3'), $_smarty_tpl); ?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['user_list']['iteration'] % 3 == 0 && !$_smarty_tpl->getVariable('smarty')->value['foreach']['user_list']['last']) { ?> </div> <div class="clearfix <?php echo smarty_function_cycle(array('name' => "rows", 'values' => "ow_alt1,ow_alt2"), $_smarty_tpl); ?> "> <?php } ?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['user_list']['last']) { ?> </div> <?php } ?> <?php } ?> </div> <?php echo $_smarty_tpl->tpl_vars['paging']->value; ?> <?php } else { ?> <center><?php echo smarty_function_text(array('key' => "base+user_no_users"), $_smarty_tpl); ?> </center> <?php } }
function content_548f6908a93734_89868389($_smarty_tpl) { if (!is_callable('smarty_block_form')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.form.php'; } if (!is_callable('smarty_function_label')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.label.php'; } if (!is_callable('smarty_function_input')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.input.php'; } if (!is_callable('smarty_function_error')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.error.php'; } if (!is_callable('smarty_function_submit')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.submit.php'; } if (!is_callable('smarty_block_block_decorator')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\block.block_decorator.php'; } if (!is_callable('smarty_function_text')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.text.php'; } if (!is_callable('smarty_function_format_date')) { include 'C:\\xampp\\htdocs\\havanabook\\ow_smarty\\plugin\\function.format_date.php'; } ?> <div class="ow_blogpost_compose clearfix"> <?php if (!$_smarty_tpl->tpl_vars['authMsg']->value) { ?> <div class="ow_superwide ow_left"> <?php $_smarty_tpl->smarty->_tag_stack[] = array('form', array('name' => "save")); $_block_repeat = true; echo smarty_block_form(array('name' => "save"), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <input type="hidden" id="save_post_command" name="command" /> <table class="ow_table_1 ow_form ow_stdmargin"> <tr class="ow_alt2 ow_tr_first"> <td> <?php echo smarty_function_label(array('name' => "title"), $_smarty_tpl); ?> <br /><?php echo smarty_function_input(array('name' => 'title'), $_smarty_tpl); ?> <br /><?php echo smarty_function_error(array('name' => "title"), $_smarty_tpl); ?> </td> </tr> <tr class="ow_alt1"> <td> <?php echo smarty_function_label(array('name' => "post"), $_smarty_tpl); ?> <br /> <?php echo smarty_function_input(array('name' => 'post'), $_smarty_tpl); ?> <br /><?php echo smarty_function_error(array('name' => "post"), $_smarty_tpl); ?> </td> </tr> <tr class="ow_alt2 ow_tr_last"> <td> <?php echo smarty_function_label(array('name' => "tf"), $_smarty_tpl); ?> <br /> <?php echo smarty_function_input(array('name' => 'tf'), $_smarty_tpl); ?> <br /><?php echo smarty_function_error(array('name' => "tf"), $_smarty_tpl); ?> </td> </tr> </table> <div class="clearfix ow_stdmargin ow_submit ow_btn_delimiter"> <div class="ow_right"><?php echo smarty_function_submit(array('name' => "draft", 'class' => "ow_button ow_ic_save"), $_smarty_tpl); ?> <?php echo smarty_function_submit(array('name' => "publish", 'class' => "ow_button ow_green ow_positive"), $_smarty_tpl); ?> </div> </div> <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_form(array('name' => "save"), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> </div> <div class="ow_supernarrow ow_right"> <?php $_smarty_tpl->smarty->_tag_stack[] = array('block_decorator', array('name' => "box", 'addClass' => "ow_stdmargin", 'langLabel' => 'blogs+this_post')); $_block_repeat = true; echo smarty_block_block_decorator(array('name' => "box", 'addClass' => "ow_stdmargin", 'langLabel' => 'blogs+this_post'), null, $_smarty_tpl, $_block_repeat); while ($_block_repeat) { ob_start(); ?> <table class="ow_table_3 ow_small"> <tr> <td class="ow_label"><?php echo smarty_function_text(array('key' => "blogs+status"), $_smarty_tpl); ?> </td> <td> <?php if ($_smarty_tpl->tpl_vars['info']->value['dto']->getId()) { ?> <?php if ($_smarty_tpl->tpl_vars['info']->value['dto']->isDraft()) { ?> <?php echo smarty_function_text(array('key' => "blogs+status_draft"), $_smarty_tpl); ?> <?php } else { ?> <?php echo smarty_function_text(array('key' => "blogs+status_published"), $_smarty_tpl); ?> <?php } ?> <?php } else { ?> <?php echo smarty_function_text(array('key' => "blogs+status_draft"), $_smarty_tpl); ?> <?php } ?> </td> </tr> <tr> <td class="ow_label"><?php echo smarty_function_text(array('key' => "blogs+last_saved"), $_smarty_tpl); ?> </td> <td> <?php if ($_smarty_tpl->tpl_vars['info']->value['dto']->getId()) { ?> <?php echo smarty_function_format_date(array('timestamp' => $_smarty_tpl->tpl_vars['info']->value['dto']->getTimestamp()), $_smarty_tpl); ?> <?php } else { ?> <?php echo smarty_function_text(array('key' => "blogs+not_yet"), $_smarty_tpl); ?> <?php } ?> </td> </tr> </table> <?php $_block_content = ob_get_clean(); $_block_repeat = false; echo smarty_block_block_decorator(array('name' => "box", 'addClass' => "ow_stdmargin", 'langLabel' => 'blogs+this_post'), $_block_content, $_smarty_tpl, $_block_repeat); } array_pop($_smarty_tpl->smarty->_tag_stack); ?> </div> <?php } else { ?> <div class="ow_anno ow_std_margin ow_nocontent"><?php echo $_smarty_tpl->tpl_vars['authMsg']->value; ?> </div> <?php } ?> </div><?php }