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