?>
 <?php 
        echo $this->_vars['item']['sname'];
        ?>
</td>
	<td><?php 
        echo $this->_vars['item']['email'];
        ?>
</td>
	<td class="center"><?php 
        echo $this->_run_modifier($this->_vars['item']['date_deleted'], 'date_format', 'plugin', 1, $this->_vars['page_data']['date_format']);
        ?>
</td>
	<td class="icons">
		<?php 
        echo tpl_function_block(array('name' => 'delete_select_block', 'module' => 'users', 'id_user' => $this->_vars['item']['id_user'], 'callback_user' => $this->_vars['item']['data'], 'deleted' => 1), $this);
        ?>
	</td>
</tr>
<?php 
    }
} else {
    ?>
<tr><td colspan="7" class="center"><?php 
    echo l('no_users', 'users', '', 'text', array());
    ?>
</td></tr>
<?php 
}
?>
</table>
	<div class="right-side">
		<?php 
echo tpl_function_helper(array('func_name' => 'admin_home_payments_block', 'module' => 'payments'), $this);
?>
		<?php 
echo tpl_function_helper(array('func_name' => 'admin_home_polls_block', 'module' => 'polls'), $this);
?>
	</div>

	<div class="left-side">
		<?php 
echo tpl_function_helper(array('func_name' => 'admin_home_users_block', 'module' => 'users'), $this);
?>
		<?php 
echo tpl_function_helper(array('func_name' => 'admin_home_stat', 'module' => 'users', 'cache' => 'true'), $this);
?>
		<?php 
echo tpl_function_helper(array('func_name' => 'admin_home_banners_block', 'module' => 'banners'), $this);
?>
		<?php 
echo tpl_function_helper(array('func_name' => 'admin_home_spam_block', 'module' => 'spam'), $this);
?>
	</div>
</div>
<div class="clr"></div>
<?php 
echo tpl_function_block(array('name' => 'ad', 'module' => 'start'), $this);
$_templatelite_tpl_vars = $this->_vars;
echo $this->_fetch_compile_include($this->general_path . $this->get_current_theme_gid('', '') . "footer.tpl", array('load_type' => false));
$this->_vars = $_templatelite_tpl_vars;
unset($_templatelite_tpl_vars);
?>
			<?php 
echo tpl_function_block(array('name' => 'admin_new_messages', 'module' => 'tickets', 'template' => 'header', 'is_admin' => '1'), $this);
?>
			
			<?php 
echo tpl_function_block(array('name' => 'friend_requests', 'module' => 'friendlist', 'template' => 'header'), $this);
?>
			<?php 
echo tpl_function_block(array('name' => 'winks_count', 'module' => 'winks', 'template' => 'header'), $this);
?>
			<?php 
echo tpl_function_block(array('name' => 'visitors', 'module' => 'users', 'template' => 'header'), $this);
?>
			<?php 
echo tpl_function_block(array('name' => 'new_kisses', 'module' => 'kisses', 'template' => 'header'), $this);
?>
			<li class="no-notifications hide-always"><?php 
echo l('no_notifications', 'users', '', 'text', array());
?>
</li>
		</menu>
	</div>
</menu>
<script type='text/javascript'><?php 
echo '
	$(function(){
		loadScripts(
			["';
echo tpl_function_js(array('file' => 'top-menu.js', 'module' => 'users', 'return' => 'path'), $this);
echo '"],
					</div>
				</form>
			</li>
		<?php 
    }
}
?>
	</ul>
</div>
<?php 
$this->_block_content = ob_get_contents();
ob_end_clean();
$this->_block_content = tpl_block_strip($this->_tag_stack[count($this->_tag_stack) - 1][1], $this->_block_content, $this);
echo $this->_block_content;
array_pop($this->_tag_stack);
echo tpl_function_block(array('name' => 'lang_inline_editor', 'module' => 'start', 'multiple' => '1'), $this);
?>
<script >
	var save_url = '<?php 
echo $this->_vars['site_root'];
?>
admin/dynamic_blocks/ajax_save_area_block/';
<?php 
echo '
	cke_params = {';
?>

		language: '<?php 
echo $this->_vars['editor_params']['language'];
?>
',
</span></span>
							<span class="mr10"><?php 
        echo tpl_function_block(array('name' => 'like_block', 'module' => 'likes', 'gid' => 'media' . $this->_vars['item']['id'], 'type' => button, 'btn_class' => "edge w"), $this);
        ?>
</span>
							<?php 
        if ($this->_vars['item']['is_adult']) {
            ?>
<i class="fa-female edge w">&nbsp;</i><span>18+</span><?php 
        }
        ?>
							<?php 
        if (!$this->_vars['item']['is_owner']) {
            ?>
<span style="float:right"><?php 
            echo tpl_function_block(array('name' => 'mark_as_spam_block', 'module' => 'spam', 'object_id' => $this->_vars['item']['id'], 'type_gid' => 'media_object', 'template' => 'whitebutton'), $this);
            ?>
</span><?php 
        }
        ?>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
<?php 
    }
} else {
    ?>
	<div class="fixmargin"><?php 
$this->register_function("block", "tpl_function_block");
require_once 'C:\\xampp\\htdocs\\iot.calit2.uci.edu\\system\\libraries\\template_lite\\plugins\\block.capture.php';
$this->register_block("capture", "tpl_block_capture");
/* V2.10 Template Lite 4 January 2007  (c) 2005-2007 Mark Dickenson. All rights reserved. Released LGPL. 2015-11-05 07:30:16 Pacific Standard Time */
?>

<?php 
if ($this->_vars['policy_page_gid']) {
    ?>
	<?php 
    $this->_tag_stack[] = array('tpl_block_capture', array('assign' => 'cookie_policy_link'));
    tpl_block_capture(array('assign' => 'cookie_policy_link'), null, $this);
    ob_start();
    ?>
		<?php 
    echo tpl_function_block(array('name' => 'get_page_link', 'module' => 'content', 'page_gid' => $this->_vars['policy_page_gid']), $this);
    ?>
	<?php 
    $this->_block_content = ob_get_contents();
    ob_end_clean();
    $this->_block_content = tpl_block_capture($this->_tag_stack[count($this->_tag_stack) - 1][1], $this->_block_content, $this);
    echo $this->_block_content;
    array_pop($this->_tag_stack);
}
?>
<div class="mod-cookie-policy noPrint" id="cookie_policy_block">
	<div class="content">
		<ins id="cookie_policy_close" class="fright icon-remove icon-2x"></ins>
		<?php 
echo l('text_cookie_policy', 'cookie_policy', '', 'text', array('link' => $this->_vars['cookie_policy_link']));
?>
    echo l('field_marker_icon_delete', 'geomap', '', 'text', array());
    ?>
</label><br>
				<?php 
}
?>
			</div>
		</div>
		<?php 
$_templatelite_tpl_vars = $this->_vars;
echo $this->_fetch_compile_include($this->module_path . geomap . $this->module_templates . $this->get_current_theme_gid('', 'geomap') . "edit_settings_" . $this->_vars['gid'] . ".tpl", array('load_type' => false));
$this->_vars = $_templatelite_tpl_vars;
unset($_templatelite_tpl_vars);
?>
		<div class="row"><?php 
echo tpl_function_block(array('name' => show_map, 'module' => geomap, 'map_gid' => $this->_vars['gid'], 'gid' => $this->_vars['map_gid'], 'markers' => $this->_vars['markers'], 'settings' => $this->_vars['view_settings'], 'map_id' => map, 'width' => '738', 'height' => '300'), $this);
?>
</div>
	</div>
	<div class="btn"><div class="l"><input type="submit" name="btn_save" value="<?php 
echo l('btn_save', 'start', '', 'button', array());
?>
"></div></div>
	<a class="cancel" href="<?php 
echo $this->_vars['site_url'];
?>
admin/geomap"><?php 
echo l('btn_cancel', 'start', '', 'text', array());
?>
</a>
</form>
        if ($this->_vars['message']['recipient']['output_name'] != $this->_vars['message']['recipient']['nickname']) {
            ?>
(<?php 
            echo $this->_run_modifier($this->_vars['message']['recipient']['nickname'], 'strip_tags', 'PHP', 1);
            ?>
)<?php 
        }
    }
    ?>
" class="long" placeholder="<?php 
    echo l('input_default', 'start', '', 'button', array());
    ?>
">&nbsp;
					
					<?php 
    echo tpl_function_block(array('name' => 'friend_input', 'module' => 'friendlist', 'id_user' => $this->_vars['id_to_user'], 'var_user' => 'id_to_user', 'values_callback' => $this->_vars['user_callback']), $this);
    ?>
					<input type="hidden" name="id_to_user" id="user_hidden" value="<?php 
    echo $this->_run_modifier($this->_vars['id_to_user'], 'escape', 'plugin', 1);
    ?>
">
					<script><?php 
    echo '
						$(function(){
							loadScripts(
								"';
    echo tpl_function_js(array('file' => 'autocomplete_input.js', 'return' => 'path'), $this);
    echo '",
								function(){
									user_autocomplete = new autocompleteInput({
										siteUrl: \'';
<?php

require_once 'C:\\xampp\\htdocs\\iot.calit2.uci.edu\\system\\libraries\\template_lite\\plugins\\function.js.php';
$this->register_function("js", "tpl_function_js");
require_once 'C:\\xampp\\htdocs\\iot.calit2.uci.edu\\system\\libraries\\template_lite\\plugins\\function.block.php';
$this->register_function("block", "tpl_function_block");
require_once 'C:\\xampp\\htdocs\\iot.calit2.uci.edu\\system\\libraries\\template_lite\\plugins\\block.strip.php';
$this->register_block("strip", "tpl_block_strip");
/* V2.10 Template Lite 4 January 2007  (c) 2005-2007 Mark Dickenson. All rights reserved. Released LGPL. 2015-08-25 02:01:51 Pacific Daylight Time */
?>

<?php 
$this->_tag_stack[] = array('tpl_block_strip', array());
tpl_block_strip(array(), null, $this);
ob_start();
echo tpl_function_block(array('name' => 'users_carousel', 'module' => 'users', 'users' => $this->_vars['helper_featured_users_data']['users'], 'scroll' => 'auto', 'class' => 'small', 'thumb_name' => 'middle'), $this);
if ($this->_vars['helper_featured_users_data']['buy_ability']) {
    ?>
	<script><?php 
    echo '
		$(function(){
			loadScripts(				 
				["';
    echo tpl_function_js(array('file' => 'available_view.js', 'return' => 'path'), $this);
    echo '","';
    echo tpl_function_js(array('file' => 'users-avatar.js', 'module' => 'users', 'return' => 'path'), $this);
    echo '"],
				function(){
					users_featured_available_view = new available_view({
						siteUrl: site_url,
						checkAvailableAjaxUrl: \'users/ajax_available_users_featured/\',
?>
admin/ausers/edit"><?php 
echo l('link_add_user', 'ausers', '', 'text', array());
?>
</a></div></li>
		<?php 
echo tpl_function_block(array('name' => 'add_moderator', 'module' => 'moderators'), $this);
?>
	</ul>
	&nbsp;
</div>

<div class="menu-level3">
	<ul>
		<?php 
echo tpl_function_block(array('name' => 'count_ausers', 'module' => 'moderators'), $this);
?>
		<li class="<?php 
if ($this->_vars['filter'] == 'admin') {
    ?>
active<?php 
}
if (!$this->_vars['filter_data']['admin']) {
    ?>
 hide<?php 
}
?>
"><a href="<?php 
echo $this->_vars['site_url'];
?>
admin/ausers/index/admin"><?php 
    background-image: linear-gradient(#fff, #d4e8ec);
    border-width: 1px;
    border-style: solid;
    border-color: #c4d9df #a4c3ca #83afb7;            
    padding: 10px;
	*/
		">
			<div style="display: inline-block; width: 222px; position: relative; top: 10px; "><!--border: 0.1em solid #1e90ff;-->
				<?php 
echo tpl_function_selectbox(array('input' => 'user_type', 'id' => 'looking_user_type', 'value' => $this->_vars['user_types']['option'], 'default' => $this->_vars['all_select_lang']), $this);
?>
			</div>
			<input type="text" name="search" placeholder="<?php 
echo l('search_people', 'start', '', 'text', array());
?>
" style="display: inline-block; width: 222px; height: 25px; padding: 3px 8px; "/>
			<div style="display: inline-block; width: 400px;">
				<?php 
echo tpl_function_block(array('name' => 'location_select', 'module' => 'countries', 'select_type' => 'city', 'placeholder' => $this->_vars['location_lang'], 'id_country' => $this->_vars['data']['id_country'], 'id_region' => $this->_vars['data']['id_region'], 'id_city' => $this->_vars['data']['id_city']), $this);
?>
			</div>
			<input type="submit" value="Search" id="main_search_button_<?php 
echo $this->_vars['form_settings']['form_id'];
?>
" name="search_button" style="display: inline-block;">
		</div>

			


/* V2.10 Template Lite 4 January 2007  (c) 2005-2007 Mark Dickenson. All rights reserved. Released LGPL. 2015-08-31 23:09:08 Pacific Daylight Time */
?>

<menu class="header-item" label="<?php 
echo l('on_account_header', 'users_payments', '', 'text', array());
?>
">
	<a href="<?php 
echo tpl_function_seolink(array('module' => 'users', 'method' => 'account', 'action' => 'update'), $this);
?>
">
		<?php 
if ($this->_vars['user_account']) {
    ?>
			<?php 
    echo tpl_function_block(array('name' => 'currency_format_output', 'module' => 'start', 'value' => $this->_vars['user_account'], 'cur_gid' => $this->_vars['base_currency']['gid']), $this);
    ?>
&nbsp;
		<?php 
}
?>
		<i class="fa-credit-card"></i>&nbsp;
		<i class="fa-caret-down"></i>
	</a>
	<div class="drop w300">
					<span><?php 
echo l('services', 'users_payments', '', 'text', array());
?>
</span> 
			(<a class="extra" href="<?php 
echo tpl_function_seolink(array('module' => 'users', 'method' => 'account'), $this);
unset($_templatelite_tpl_vars);
?>
<div class="content-block content">
    <div class="content-value fltl w650">
		<div class="view-user"><?php 
echo tpl_function_block(array('name' => 'wall_block', 'module' => 'wall_events', 'place' => 'homepage', 'id_wall' => $this->_vars['user_id']), $this);
?>
</div>
    </div>
    <div class="fltr active_block">
		<?php 
echo tpl_function_block(array('name' => 'shoutbox_form', 'module' => 'shoutbox'), $this);
?>
        <div id="active_users"><?php 
echo tpl_function_block(array('name' => 'active_users_block', 'module' => 'users', 'count' => 16), $this);
?>
</div>
        <div id="recent_photo"><?php 
echo tpl_function_block(array('name' => 'recent_media_block', 'module' => 'media', 'upload_gid' => 'photo', 'count' => 16), $this);
?>
</div>
    </div>
</div>
<?php 
$_templatelite_tpl_vars = $this->_vars;
echo $this->_fetch_compile_include($this->general_path . $this->get_current_theme_gid('', '') . "footer.tpl", array('load_type' => false));
$this->_vars = $_templatelite_tpl_vars;
unset($_templatelite_tpl_vars);
?>

        $this->assign('thumb_name', 'big');
        break;
}
?>
<h2 class="text-overflow" title="<?php 
echo $this->_run_modifier($this->_vars['dynamic_block_users_title'], 'escape', 'plugin', 1);
?>
"><?php 
echo $this->_vars['dynamic_block_users_title'];
?>
</h2>
<?php 
if ($this->_vars['dynamic_block_users_view'] == 'carousel' || $this->_vars['dynamic_block_users_view'] == 'carousel_w_descr') {
    ?>
	<?php 
    echo tpl_function_block(array('name' => 'users_carousel', 'module' => 'users', 'users' => $this->_vars['dynamic_block_users'], 'scroll' => auto, 'class' => $this->_vars['block_class'], 'thumb_name' => $this->_vars['thumb_name']), $this);
} else {
    ?>
	<div class="user-gallery <?php 
    echo $this->_vars['block_class'];
    ?>
">
		<?php 
    if (is_array($this->_vars['dynamic_block_users']) and count((array) $this->_vars['dynamic_block_users'])) {
        foreach ((array) $this->_vars['dynamic_block_users'] as $this->_vars['item']) {
            ?>
			<div class="item">
				<div class="user">
					<div class="photo">
						<?php 
            $this->assign('text_user_logo', l('text_user_logo', 'users', '', 'button', array_merge(array(), $this->_vars['item'])));
                ?>
			<b><?php 
                echo $this->_vars['param']['name'];
                ?>
:</b> <?php 
                echo $this->_vars['param']['value'];
                ?>
<br>
			<?php 
            }
        }
        ?>
		</div></span>
	</td>
	<td class="center"><?php 
        echo tpl_function_block(array('name' => 'currency_format_output', 'module' => 'start', 'value' => $this->_vars['item']['amount']), $this);
        ?>
</td>
	<td class="center"><?php 
        echo $this->_vars['item']['payment_type_gid'];
        ?>
</td>
	<td class="center"><?php 
        echo $this->_vars['item']['system_gid'];
        ?>
</td>
	<td class="center"><?php 
        echo $this->_run_modifier($this->_vars['item']['date_add'], 'date_format', 'plugin', 1, $this->_vars['page_data']['date_format']);
        ?>
</td>
	<td class="icons">
ob_start();
?>
<div class="content-block load_content">
	<h1><?php 
echo $this->_vars['header'];
?>
</h1>
	<div class="inside">
		<?php 
if ($this->_vars['load_map_scripts']) {
    ?>
			<?php 
    echo tpl_function_block(array('name' => show_default_map, 'gid' => 'profile_view', 'module' => geomap, 'markers' => $this->_vars['markers'], 'settings' => $this->_vars['map_settings'], 'width' => '600', 'height' => '400', 'only_load_scripts' => 1, 'map_id' => 'users_map_container'), $this);
    ?>
			
		<?php 
}
?>
	
		<?php 
echo tpl_function_block(array('name' => show_default_map, 'gid' => 'profile_view', 'module' => geomap, 'markers' => $this->_vars['markers'], 'settings' => $this->_vars['map_settings'], 'width' => '600', 'height' => '400', 'only_load_content' => 1, 'map_id' => 'users_map_container'), $this);
?>
	</div>
	<div class="clr"></div>
</div>
<?php 
$this->_block_content = ob_get_contents();
ob_end_clean();
$this->_block_content = tpl_block_strip($this->_tag_stack[count($this->_tag_stack) - 1][1], $this->_block_content, $this);
echo $this->_block_content;
array_pop($this->_tag_stack);
unset($_templatelite_tpl_vars);
?>
	<div class="view-user">
		<?php 
if (!$this->_vars['action'] || $this->_vars['action'] == 'view') {
    ?>
			<?php 
    $_templatelite_tpl_vars = $this->_vars;
    echo $this->_fetch_compile_include($this->module_path . "users" . $this->module_templates . $this->get_current_theme_gid('', '"users"') . "view_my_profile.tpl", array('load_type' => false));
    $this->_vars = $_templatelite_tpl_vars;
    unset($_templatelite_tpl_vars);
    ?>

		<?php 
} elseif ($this->_vars['action'] == 'gallery') {
    ?>
			<?php 
    echo tpl_function_block(array('name' => 'media_block', 'module' => 'media', 'param' => $this->_vars['subsection'], 'page' => '1', 'location_base_url' => $this->_vars['location_base_url']), $this);
    ?>
		<?php 
}
?>
	</div>
</div>
</div>
<?php 
$this->_block_content = ob_get_contents();
ob_end_clean();
$this->_block_content = tpl_block_strip($this->_tag_stack[count($this->_tag_stack) - 1][1], $this->_block_content, $this);
echo $this->_block_content;
array_pop($this->_tag_stack);
            ?>
 <a href="<?php 
            echo tpl_function_seolink(array('module' => 'users', 'method' => 'account', 'action' => 'update'), $this);
            ?>
"><?php 
            echo l("link_add_founds", 'services', '', 'text', array());
            ?>
</a>
						<?php 
        } else {
            ?>
							<?php 
            echo l('on_your_account_now', 'services', '', 'text', array());
            ?>
: <b><?php 
            echo tpl_function_block(array('name' => 'currency_format_output', 'module' => 'start', 'value' => $this->_vars['membership']['user_account']), $this);
            ?>
</b>
							<div class="b outside">
								<input type="submit" data-pjax-submit="0" value="<?php 
            echo l('btn_pay_account', 'services', '', 'button', array());
            ?>
" name="btn_account">
							</div>
						<?php 
        }
        ?>
					<?php 
    }
    ?>
					<?php 
<?php

require_once 'C:\\xampp\\htdocs\\iot.calit2.uci.edu\\system\\libraries\\template_lite\\plugins\\function.block.php';
$this->register_function("block", "tpl_function_block");
/* V2.10 Template Lite 4 January 2007  (c) 2005-2007 Mark Dickenson. All rights reserved. Released LGPL. 2015-10-06 00:02:13 Pacific Daylight Time */
?>

<div id="<?php 
echo $this->_vars['data']['type'];
?>
"><?php 
echo tpl_function_block(array('name' => 'play', 'module' => 'like_me', 'value' => $this->_vars['data']), $this);
?>
</div>
            echo $this->_vars['item']['feed']['title'];
            ?>
</a><br><?php 
        }
        ?>
				<a href="<?php 
        echo tpl_function_seolink(array('module' => 'news', 'method' => 'view', 'data' => $this->_vars['item']), $this);
        ?>
"><?php 
        echo l('link_view_more', 'news', '', 'text', array());
        ?>
</a>
			</div>
			<div>
				<?php 
        echo tpl_function_block(array('name' => 'comments_form', 'module' => 'comments', 'gid' => news, 'id_obj' => $this->_vars['item']['id'], 'hidden' => 1, 'count' => $this->_vars['item']['comments_count']), $this);
        ?>
			</div>
			<div class="clr"></div>
		</div>
	<?php 
    }
} else {
    ?>
		<div class="empty"><?php 
    echo l("no_news_yet_header", 'news', '', 'text', array());
    ?>
</div>
	<?php 
}
?>
								<?php 
        echo tpl_function_block(array('name' => 'users_lang_select', 'module' => 'users', 'type' => 'menu'), $this);
        ?>
							</li>
							<li>  <!-----user menu----->
								<?php 
        echo tpl_function_menu(array('gid' => 'settings_menu', 'template' => 'settings_menu'), $this);
        ?>
							</li>
						<?php 
    } else {
        ?>
							<!--
							<li>
								<?php 
        echo tpl_function_block(array('name' => 'users_lang_select', 'module' => 'users', 'type' => 'menu'), $this);
        ?>
							</li>
							-->
							<!--This file is a copy of header.tpl in the same directry. 
								JL comment for not showing this when it is on the pages of register and login.--->
							<!--
							<li>
								<li class="register"  <?php 
        if ($this->_vars['auth_type'] == 'user') {
            ?>
 class="hide-always"<?php 
        }
        ?>
><a href="<?php 
        echo $this->_vars['site_url'];
<?php

require_once 'C:\\xampp\\htdocs\\iot.calit2.uci.edu\\system\\libraries\\template_lite\\plugins\\function.helper.php';
$this->register_function("helper", "tpl_function_helper");
require_once 'C:\\xampp\\htdocs\\iot.calit2.uci.edu\\system\\libraries\\template_lite\\plugins\\function.block.php';
$this->register_function("block", "tpl_function_block");
/* V2.10 Template Lite 4 January 2007  (c) 2005-2007 Mark Dickenson. All rights reserved. Released LGPL. 2015-08-31 00:02:15 Pacific Daylight Time */
?>

<div class="lc">
	<div class="inside account_menu">
		<?php 
echo tpl_function_block(array('name' => 'show_poll_place_block', 'module' => 'polls', 'one_poll_place' => 0), $this);
?>
		<?php 
echo tpl_function_helper(array('func_name' => 'show_banner_place', 'module' => 'banners', 'func_param' => 'big-left-banner'), $this);
?>
		<?php 
echo tpl_function_helper(array('func_name' => 'show_banner_place', 'module' => 'banners', 'func_param' => 'left-banner'), $this);
?>
	</div>
</div>
            ?>
				<i title="<?php 
            echo l('network_is_incomer', 'users', '', 'text', array());
            ?>
.<?php 
            echo l('network_error_edit_user', 'users', '', 'text', array());
            ?>
" class="inactive fa fa-pencil"></i>
			<?php 
        }
        ?>
			<?php 
        echo tpl_function_block(array('name' => 'delete_select_block', 'module' => 'users', 'id_user' => $this->_vars['item']['id'], 'deleted' => 0), $this);
        ?>
			<?php 
        echo tpl_function_block(array('name' => 'contact_user_link', 'module' => 'tickets', 'id_user' => $this->_vars['item']['id']), $this);
        ?>
		</div>
	</td>
</tr>
<?php 
    }
} else {
    ?>
<tr><td colspan="7" class="center"><?php 
    echo l('no_users', 'users', '', 'text', array());
    ?>
</td></tr>
<?php 
}
?>
								<ul>
									<li class="register"  <?php 
        if ($this->_vars['auth_type'] == 'user') {
            ?>
 class="hide-always"<?php 
        }
        ?>
><a href="<?php 
        echo $this->_vars['site_url'];
        ?>
users/registration">Register</a></li>
								</ul>
							</li>
							<li class="login">  <!--no more popout windown login, link to login page-->
								<!--<?php 
        echo tpl_function_block(array('name' => 'auth_links', 'module' => 'users'), $this);
        ?>
-->					
								<a href="<?php 
        echo $this->_vars['site_url'];
        ?>
users/login_form">Login</a>
							</li>
						<?php 
    }
    ?>
					</menu>
				</div>
			</div>
			<div id="top_bar_fixed">
				
$_templatelite_tpl_vars = $this->_vars;
echo $this->_fetch_compile_include($this->general_path . $this->get_current_theme_gid('', '') . "header.tpl", array('load_type' => false));
$this->_vars = $_templatelite_tpl_vars;
unset($_templatelite_tpl_vars);
?>
<div class="content">
<div class="content-block">
	<h1><?php 
echo l('header_services_list', 'services', '', 'text', array());
?>
</h1>
    <?php 
echo tpl_function_block(array('name' => 'services_buy_list', 'module' => 'services', 'template_gid' => $this->_vars['template_gid']), $this);
?>
    <?php 
echo tpl_function_block(array('name' => 'memberships_list', 'module' => 'memberships', 'template_gid' => $this->_vars['template_gid'], 'headline' => 1), $this);
?>
    <?php 
echo tpl_function_block(array('name' => 'packages_list', 'module' => 'packages', 'template_gid' => $this->_vars['template_gid'], 'headline' => 1), $this);
?>
</div>
<div class="clr"></div>
</div>
<?php 
$_templatelite_tpl_vars = $this->_vars;
echo $this->_fetch_compile_include($this->general_path . $this->get_current_theme_gid('', '') . "footer.tpl", array('load_type' => false));
$this->_vars = $_templatelite_tpl_vars;
unset($_templatelite_tpl_vars);
?>

				&nbsp;&nbsp;<span class="h5 fright"><?php 
        echo $this->_run_modifier($this->_vars['comment']['date'], 'date_format', 'plugin', 1, $this->_vars['date_format']);
        ?>
</span>
			</h3>
			<div><?php 
        echo $this->_run_modifier($this->_vars['comment']['text'], 'nl2br', 'PHP', 1);
        ?>
</div>
			<div class="pt10">
				<span>
					<?php 
        if ($this->_vars['comments_type']['settings']['use_likes']) {
            ?>
						<span class="fright mr20"><?php 
            echo tpl_function_block(array('name' => 'like_block', 'module' => 'likes', 'gid' => 'cmnt' . $this->_vars['comment']['id'], 'type' => 'button'), $this);
            ?>
</span>
					<?php 
        }
        ?>
					<?php 
        if ($this->_vars['comment']['can_edit']) {
            ?>
						<a href="#" onclick="comments.deleteComment('<?php 
            echo $this->_vars['comment']['id'];
            ?>
'); event.preventDefault();"><?php 
            echo l('btn_delete', 'start', '', 'text', array());
            ?>
</a>
            ?>
" name="data_admin[<?php 
            echo $this->_vars['item']['gid'];
            ?>
]" class="short"></div>
			<?php 
        } elseif ($this->_vars['item']['type'] == 'price') {
            ?>
			<div class="v"><input type="text" value="<?php 
            echo $this->_vars['item']['value'];
            ?>
" name="data_admin[<?php 
            echo $this->_vars['item']['gid'];
            ?>
]" class="short"> <?php 
            echo tpl_function_block(array('name' => 'currency_format_output', 'module' => 'start'), $this);
            ?>
</div>
			<?php 
        } elseif ($this->_vars['item']['type'] == 'text') {
            ?>
			<div class="v"><textarea name="data_admin[<?php 
            echo $this->_vars['item']['gid'];
            ?>
]"><?php 
            echo $this->_vars['item']['value'];
            ?>
</textarea></div>
			<?php 
        } elseif ($this->_vars['item']['type'] == 'checkbox') {
            ?>
?>
	</div>
</div>
<div class="rc">
	<div class="content-block wysiwyg">
		<h1><?php 
echo tpl_function_seotag(array('tag' => 'header_text'), $this);
?>
</h1>
		<?php 
echo $this->_vars['page']['content'];
?>

	</div>
	<?php 
echo tpl_function_block(array('name' => 'show_social_networks_like', 'module' => 'social_networking'), $this);
?>
	<?php 
echo tpl_function_block(array('name' => 'show_social_networks_share', 'module' => 'social_networking'), $this);
?>
	<?php 
echo tpl_function_block(array('name' => 'show_social_networks_comments', 'module' => 'social_networking'), $this);
?>
</div>
<div class="clr"></div>
</div>
<?php 
$_templatelite_tpl_vars = $this->_vars;
echo $this->_fetch_compile_include($this->general_path . $this->get_current_theme_gid('', '') . "footer.tpl", array('load_type' => false));
$this->_vars = $_templatelite_tpl_vars;
unset($_templatelite_tpl_vars);
" class="btn-link"><i class="icon icon-arrow-left icon-big edge hover"></i><?php 
echo l('btn_back', 'start', '', 'text', array());
?>
</a>
			</div>
		</div>
	</form>
	<?php 
$this->_block_content = ob_get_contents();
ob_end_clean();
$this->_block_content = tpl_block_strip($this->_tag_stack[count($this->_tag_stack) - 1][1], $this->_block_content, $this);
echo $this->_block_content;
array_pop($this->_tag_stack);
?>
			<?php 
echo tpl_function_block(array('name' => geomap_load_geocoder, 'module' => 'geomap'), $this);
?>
	
		<script type='text/javascript'><?php 
echo '
		$(function(){
			var now = new Date();
			var yr =  (new Date(now.getYear() - ';
echo $this->_vars['age_max'];
echo ', 0, 1).getFullYear()) + \':\' + (new Date(now.getYear() - ';
echo $this->_vars['age_min'];
echo ', 0, 1).getFullYear());
			$( "#datepicker" ).datepicker({
				dateFormat :\'yy-mm-dd\',
				changeYear: true,
				changeMonth: true,
		<!--<?php 
    echo tpl_function_helper(array('func_name' => 'update_account_block', 'module' => 'users_payments'), $this);
    ?>
-->
	<?php 
} elseif ($this->_vars['action'] == 'payments_history') {
    ?>
		<div><?php 
    echo tpl_function_block(array('name' => 'user_payments_history', 'module' => 'payments', 'id_user' => $this->_vars['user_id'], 'page' => $this->_vars['page'], 'base_url' => $this->_vars['base_url']), $this);
    ?>
</div>
	<?php 
} elseif ($this->_vars['action'] == 'banners') {
    ?>
		<div><?php 
    echo tpl_function_block(array('name' => 'my_banners', 'module' => 'banners', 'page' => $this->_vars['page'], 'base_url' => $this->_vars['base_url']), $this);
    ?>
</div>
        <?php 
} elseif ($this->_vars['action'] == 'send_money') {
    ?>
		<?php 
    echo tpl_function_helper(array('func_name' => 'send_money_block', 'module' => 'send_money'), $this);
    ?>
	<?php 
}
?>
</div>
<div class="clr"></div>
<?php 
echo '