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_55c9cb8e203de4_13136957($_smarty_tpl) { if (!is_callable('smarty_block_style')) { include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\block.style.php'; } if (!is_callable('smarty_function_text')) { include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.text.php'; } if (!is_callable('smarty_function_cycle')) { include 'E:\\wamp\\www\\hammu\\ow_libraries\\smarty3\\plugins\\function.cycle.php'; } if (!is_callable('smarty_function_decorator')) { include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.decorator.php'; } if (!is_callable('smarty_function_user_link')) { include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.user_link.php'; } if (!is_callable('smarty_function_question_value_lang')) { include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.question_value_lang.php'; } if (!is_callable('smarty_function_age')) { include 'E:\\wamp\\www\\hammu\\ow_smarty\\plugin\\function.age.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; } <?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['menu']->value; ?> <?php if ($_smarty_tpl->tpl_vars['types']->value) { ?> <div class="ow_anno ow_center ow_stdmargin"> <?php echo smarty_function_text(array('key' => 'membership+displaying_members'), $_smarty_tpl); ?> <select name="ms_types" onchange="location.href = '<?php echo $_smarty_tpl->tpl_vars['route']->value; ?> /role/'+this.value;"> <?php $_smarty_tpl->tpl_vars['type'] = new Smarty_Variable(); $_smarty_tpl->tpl_vars['type']->_loop = false; $_from = $_smarty_tpl->tpl_vars['types']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } foreach ($_from as $_smarty_tpl->tpl_vars['type']->key => $_smarty_tpl->tpl_vars['type']->value) { $_smarty_tpl->tpl_vars['type']->_loop = true; ?> <option value="<?php echo $_smarty_tpl->tpl_vars['type']->value['dto']->roleId; ?> "<?php if ($_smarty_tpl->tpl_vars['type']->value['dto']->roleId == $_smarty_tpl->tpl_vars['roleId']->value) { ?> selected="selected"<?php } ?> ><?php echo $_smarty_tpl->tpl_vars['type']->value['title']; ?> </option> <?php } ?> </select> <?php echo smarty_function_text(array('key' => 'membership+membership'), $_smarty_tpl); ?> </div> <?php } ?> <?php if (isset($_smarty_tpl->tpl_vars['list']->value)) { ?> <?php echo $_smarty_tpl->tpl_vars['paging']->value; ?> <table class="ow_table_1"> <tr class="ow_tr_first <?php if (empty($_smarty_tpl->tpl_vars['list']->value)) { ?> ow_tr_last<?php } ?> "> <th><?php echo smarty_function_text(array('key' => 'admin+user'), $_smarty_tpl); ?> </th> <th width="20%"><?php echo smarty_function_text(array('key' => 'membership+expires'), $_smarty_tpl); ?> </th> <th width="1"><?php echo smarty_function_text(array('key' => 'membership+recurring'), $_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['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); } $_smarty_tpl->tpl_vars['user']->total = $_smarty_tpl->_count($_from); $_smarty_tpl->tpl_vars['user']->iteration = 0; foreach ($_from as $_smarty_tpl->tpl_vars['user']->key => $_smarty_tpl->tpl_vars['user']->value) { $_smarty_tpl->tpl_vars['user']->_loop = true; $_smarty_tpl->tpl_vars['user']->iteration++; $_smarty_tpl->tpl_vars['user']->last = $_smarty_tpl->tpl_vars['user']->iteration === $_smarty_tpl->tpl_vars['user']->total; $_smarty_tpl->tpl_vars['smarty']->value['foreach']["f"]['last'] = $_smarty_tpl->tpl_vars['user']->last; $_smarty_tpl->_capture_stack[0][] = array('default', 'userId', null); ob_start(); echo $_smarty_tpl->tpl_vars['user']->value['userId']; 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(); } $_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="ow_alt<?php echo smarty_function_cycle(array('values' => '1,2'), $_smarty_tpl); ?> <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['f']['last']) { ?> ow_tr_last<?php } ?> "> <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['displayNames']->value[$_smarty_tpl->tpl_vars['userId']->value], '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['questionList']->value[$_smarty_tpl->tpl_vars['userId']->value]['sex'])) { ?> <?php echo smarty_function_question_value_lang(array('name' => 'sex', 'value' => $_smarty_tpl->tpl_vars['questionList']->value[$_smarty_tpl->tpl_vars['userId']->value]['sex']), $_smarty_tpl); ?> <?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 } ?> <br /> <?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> </div> </div> </td> <td><?php echo MEMBERSHIP_BOL_MembershipService::formatDate(array('timestamp' => $_smarty_tpl->tpl_vars['user']->value['expirationStamp']), $_smarty_tpl); ?> </td> <td><?php if ($_smarty_tpl->tpl_vars['user']->value['recurring']) { ?> <div class="ow_marked_cell" style="width: 70px;"> </div><?php } ?> </td> </tr> <?php } ?> </table> <?php echo $_smarty_tpl->tpl_vars['paging']->value; ?> <?php } else { ?> <div class="ow_nocontent"><?php echo smarty_function_text(array('key' => 'admin+no_users'), $_smarty_tpl); ?> </div> <?php } }