<!DOCTYPE html>

<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->

<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->

<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->

<!-- BEGIN HEAD -->

<head>

	<meta charset="utf-8" />

	<title><?php echo $page_title;?></title>

	<meta content="width=device-width, initial-scale=1.0" name="viewport" />

	<meta content="" name="description" />

	<meta content="" name="author" />

	<!-- BEGIN GLOBAL MANDATORY STYLES -->

	<link href="<?php echo base_url();?>assets/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>

	<link href="<?php echo base_url();?>assets/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css"/>

	<link href="<?php echo base_url();?>assets/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>

	<link href="<?php echo base_url();?>assets/css/style-metro.css" rel="stylesheet" type="text/css"/>

	<link href="<?php echo base_url();?>assets/css/style.css" rel="stylesheet" type="text/css"/>

	<link href="<?php echo base_url();?>assets/css/style-responsive.css" rel="stylesheet" type="text/css"/>

	<link href="<?php echo base_url();?>assets/css/light.css" rel="stylesheet" type="text/css" id="style_color"/>

	<link href="<?php echo base_url();?>assets/css/uniform.default.css" rel="stylesheet" type="text/css"/>

	<!-- END GLOBAL MANDATORY STYLES -->

	<!-- BEGIN PAGE LEVEL STYLES -->

	<link href="<?php echo base_url();?>assets/css/profile.css" rel="stylesheet" type="text/css" />
	
	<link href="<?php echo base_url();?>assets/css/select2_metro.css" rel="stylesheet" type="text/css" />

	<link href="<?php echo base_url();?>assets/css/DT_bootstrap.css" rel="stylesheet" type="text/css" />
	
	<link href="<?php echo base_url();?>assets/css/bootstrap-wysihtml5.css" rel="stylesheet" type="text/css" />
	
	<link href="<?php echo base_url();?>assets/css/datepicker.css" rel="stylesheet" type="text/css" />
	<link href="<?php echo base_url();?>assets/css/datetimepicker.css" rel="stylesheet" type="text/css" />
	
	<link href="<?php echo base_url();?>assets/css/jquery.tagsinput.css" rel="stylesheet" type="text/css" />
	
	<?php if($this->uri->segment(1) == 'member' && ($this->uri->segment(2) == 'structure' || $this->uri->segment(2) == 'intro_structure')) {?>
	<link rel="stylesheet" href="<?php echo base_url();?>assets/css/jquery.orgchart.css"/>
	<?php }?>
	
	<?php if($this->uri->segment(1) == 'setting' && ($this->uri->segment(2) == 'pre_price' || $this->uri->segment(2) == 'pre_price_submit')) {?>
    <link rel="stylesheet" href="<?php echo base_url();?>assets/css/jquery.datetimepicker.css" type="text/css" media="screen" />
	<?php }?>

	<!-- END PAGE LEVEL STYLES -->

	<link rel="shortcut icon" href="<?php echo base_url();?>assets/image/favicon.ico?v=1.0" />

</head>

<!-- END HEAD -->

<!-- BEGIN BODY -->

<body class="page-header-fixed">

	<!-- BEGIN HEADER -->

	<div class="header navbar navbar-inverse navbar-fixed-top">

		<!-- BEGIN TOP NAVIGATION BAR -->

		<div class="navbar-inner">

			<div class="container-fluid">

				<!-- BEGIN LOGO -->

				<a class="brand" href="<?php echo base_url();?>home/">

				<img src="<?php echo base_url();?>assets/image/logo.png?v=1.0" alt="logo" />

				</a>

				<!-- END LOGO -->

				<!-- BEGIN RESPONSIVE MENU TOGGLER -->

				<a href="javascript:;" class="btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse">

				<img src="<?php echo base_url();?>assets/image/menu-toggler.png" alt="" />

				</a>          

				<!-- END RESPONSIVE MENU TOGGLER -->            

				<!-- BEGIN TOP NAVIGATION MENU -->              

				<ul class="nav pull-right">

					<li class="dropdown user">

						<a href="#" class="dropdown-toggle" data-toggle="dropdown" style="line-height: 29px;">

						<img alt="" src="<?php echo base_url();?>assets/image/language/<?php echo str_replace('zh-', '', strtolower(get_language()));?>.jpg" />

						<span class="username"><?php echo $this->lang->line('lang_' . str_replace('-', '_', strtolower(get_language())));?></span>

						<i class="icon-angle-down"></i>

						</a>

						<ul class="dropdown-menu">

							<li><a href="<?php echo base_url();?>language/change/en/"><img src="<?php echo base_url();?>assets/image/language/en.jpg"/> <?php echo $this->lang->line('lang_en');?></a></li>

							<li><a href="<?php echo base_url();?>language/change/zh-CN/"><img src="<?php echo base_url();?>assets/image/language/cn.jpg"/> <?php echo $this->lang->line('lang_zh_cn');?></a></li>

							<li><a href="<?php echo base_url();?>language/change/zh-HK/"><img src="<?php echo base_url();?>assets/image/language/hk.jpg"/> <?php echo $this->lang->line('lang_zh_hk');?></a></li>

						</ul>

					</li>
					
					<!-- BEGIN USER LOGIN DROPDOWN -->

					<li class="dropdown user">

						<a href="#" class="dropdown-toggle" data-toggle="dropdown">

						<img alt="" src="<?php echo base_url();?>assets/image/avatar1_small.png?v=1.0" width="28" />

						<span class="username"><?php echo $this->session->userdata('member_name');?></span>

						<i class="icon-angle-down"></i>

						</a>

						<ul class="dropdown-menu">

							<li><a href="<?php echo base_url();?>profile/"><i class="icon-user"></i> <?php echo $this->lang->line('header_my_profile');?></a></li>


							<li><a href="<?php echo base_url();?>message/inbox/"><i class="icon-envelope"></i> <?php echo $this->lang->line('header_my_inbox');?></a></li>

							<li class="divider"></li>

							<li><a href="<?php echo base_url();?>logout/"><i class="icon-key"></i> <?php echo $this->lang->line('header_logout');?></a></li>

						</ul>

					</li>

					<!-- END USER LOGIN DROPDOWN -->

				</ul>

				<!-- END TOP NAVIGATION MENU --> 

			</div>

		</div>

		<!-- END TOP NAVIGATION BAR -->

	</div>

	<!-- END HEADER -->

	<!-- BEGIN CONTAINER -->   

	<div class="page-container row-fluid">

		<!-- BEGIN SIDEBAR -->

		<div class="page-sidebar nav-collapse collapse">

			<!-- BEGIN SIDEBAR MENU -->        

			<ul class="page-sidebar-menu">

				<li>

					<!-- BEGIN SIDEBAR TOGGLER BUTTON -->

					<div class="sidebar-toggler hidden-phone"></div>

					<!-- BEGIN SIDEBAR TOGGLER BUTTON -->

				</li>
				
				<li>

					&nbsp;

				</li>

				<li class="start <?php if( ! $this->uri->segment(1) || $this->uri->segment(1) == 'home') { echo 'active'; }?>">

					<a href="<?php echo base_url();?>home/">

					<i class="icon-home"></i> 

					<span class="title"><?php echo $this->lang->line('hf_home');?></span>

					</a>

				</li>

				<?php if (hasModule('report', $this)) { ?>
				<li class="<?php if($this->uri->segment(1) == 'report') { echo 'active open'; }?>">

					<a href="javascript:;">

					<i class="icon-table"></i> 

					<span class="title"><?php echo $this->lang->line('hf_report');?></span>

					<span class="arrow <?php if($this->uri->segment(1) == 'report') { echo 'open'; }?>"></span>

					</a>

					<ul class="sub-menu">
						
						<li>

							<a href="<?php echo base_url();?>report/daily_bonus/">

							<?php echo $this->lang->line('hf_daily_bonus_summary_report');?></a>

						</li>

						<li >

							<a href="<?php echo base_url();?>report/income_summary/">

							<?php echo $this->lang->line('hf_income_summary_report');?></a>

						</li>
						
						<li >

							<a href="<?php echo base_url();?>report/income_detail/">

							<?php echo $this->lang->line('hf_income_detail_report');?></a>

						</li>
						
						<li style="display: none;">

							<a href="<?php echo base_url();?>report/balance/">

							<?php echo $this->lang->line('hf_balance_report');?></a>

						</li>

						<li >

							<a href="<?php echo base_url();?>report/wallet_balance/">

							<?php echo $this->lang->line('hf_wallet_balance_report');?></a>

						</li>
						
						<li style="display: none;">

							<a href="<?php echo base_url();?>report/add_pool_bonus/">

							<?php echo $this->lang->line('hf_add_pool_bonus');?></a>

						</li>
						
					</ul>

				</li>
				<?php } ?>

				<?php if (hasModule('member', $this)) { ?>
				<li class="<?php if($this->uri->segment(1) == 'member') { echo 'active open'; }?>">

					<a href="javascript:;">

					<i class="icon-group"></i> 

					<span class="title"><?php echo $this->lang->line('hf_member_manager');?></span>


					<span class="arrow <?php if($this->uri->segment(1) == 'member') { echo 'open'; }?>"></span>

					</a>

					<ul class="sub-menu">

						<li >

							<a href="<?php echo base_url();?>member/add/">

							<?php echo $this->lang->line('hf_add_new_member');?></a>

						</li>

						<li >

							<a href="<?php echo base_url();?>member/listing/">

							<?php echo $this->lang->line('hf_member_list');?></a>

						</li>
						
						<li >

							<a href="<?php echo base_url();?>member/wallet_listing/">

							<?php echo $this->lang->line('hf_member_wallet_list');?></a>

						</li>
						
						<li >

							<a href="<?php echo base_url();?>member/downline/">

							<?php echo $this->lang->line('hf_member_downline_list');?></a>

						</li>
						
						<li >

							<a href="<?php echo base_url();?>member/reinvest_listing/">

							<?php echo $this->lang->line('hf_member_reinvest_list');?></a>

						</li>
						
						<li style="display: none;">

							<a href="<?php echo base_url();?>member/intro/">

							<?php echo $this->lang->line('hf_member_intro_list');?></a>

						</li>
						
						<li style="display: none;">

							<a href="<?php echo base_url();?>member/sales/">

							<?php echo $this->lang->line('hf_member_sales_list');?></a>

						</li>
						
						<li >

							<a href="<?php echo base_url();?>member/structure/">

							<?php echo $this->lang->line('hf_member_structure');?></a>

						</li>
						
						<li >

							<a href="<?php echo base_url();?>member/topup_package_listing/">

							<?php echo $this->lang->line('hf_topup_package_history');?></a>

						</li>
						
					</ul>

				</li>
				<?php } ?>
				
				<?php if (hasModule('adjustment', $this)) { ?>
				<li class="<?php if($this->uri->segment(1) == 'adjustment') { echo 'active open'; }?>">

					<a href="javascript:;">

					<i class="icon-money"></i> 

					<span class="title"><?php echo $this->lang->line('hf_adjustment');?></span>

					<span class="arrow <?php if($this->uri->segment(1) == 'adjustment') { echo 'open'; }?>"></span>

					</a>

					<ul class="sub-menu">
					
						<li >

							<a href="<?php echo base_url();?>adjustment/request/">

							<?php echo $this->lang->line('hf_account_adjustment');?></a>

						</li>

						<li >

							<a href="<?php echo base_url();?>adjustment/listing/">

							<?php echo $this->lang->line('hf_adjustment_history');?></a>

						</li>

					</ul>

				</li>
				<?php } ?>
				
				<?php if (hasModule('transfer', $this)) { ?>
				<li class="<?php if($this->uri->segment(1) == 'transfer') { echo 'active open'; }?>">

					<a href="javascript:;">

					<i class="icon-money"></i> 

					<span class="title"><?php echo $this->lang->line('hf_transfer');?></span>

					<span class="arrow <?php if($this->uri->segment(1) == 'transfer') { echo 'open'; }?>"></span>

					</a>

					<ul class="sub-menu">
					
						<li >

							<a href="<?php echo base_url();?>transfer/request/">

							<?php echo $this->lang->line('hf_account_transfer');?></a>

						</li>

						<li >

							<a href="<?php echo base_url();?>transfer/listing/">

							<?php echo $this->lang->line('hf_transfer_history');?></a>

						</li>

					</ul>

				</li>
				<?php } ?>
				
				<?php if (hasModule('convert', $this)) { ?>
				<li class="<?php if($this->uri->segment(1) == 'convert') { echo 'active open'; }?>">

					<a href="javascript:;">

					<i class="icon-money"></i> 

					<span class="title"><?php echo $this->lang->line('hf_convert');?></span>

					<span class="arrow <?php if($this->uri->segment(1) == 'convert') { echo 'open'; }?>"></span>

					</a>

					<ul class="sub-menu">
					
						<li >

							<a href="<?php echo base_url();?>convert/listing/">

							<?php echo $this->lang->line('hf_convert_history');?></a>

						</li>
						
					</ul>

				</li>
				<?php } ?>

				<?php if (hasModule('topup', $this)) { ?>
				<li class="<?php if($this->uri->segment(1) == 'topup') { echo 'active open'; }?>">

					<a href="javascript:;">

					<i class="icon-money"></i> 

					<span class="title"><?php echo $this->lang->line('hf_topup');?></span>

					<span class="arrow <?php if($this->uri->segment(1) == 'topup') { echo 'open'; }?>"></span>

					</a>

					<ul class="sub-menu">
					
						<li >

							<a href="<?php echo base_url();?>topup/request/">

							<?php echo $this->lang->line('hf_account_topup');?></a>

						</li>

						<li style="display: none;">

							<a href="<?php echo base_url();?>topup/listing/">

							<?php echo $this->lang->line('hf_topup_online_history');?></a>

						</li>
						
						<li>

							<a href="<?php echo base_url();?>topup/offline_listing/">

							<?php echo $this->lang->line('hf_topup_offline_history');?></a>

						</li>
						
						<li>

							<a href="<?php echo base_url();?>topup/usdt_listing/">

							<?php echo $this->lang->line('hf_topup_usdt_history');?></a>

						</li>
						
						<li style="display: none;">

							<a href="<?php echo base_url();?>topup/sands_listing/">

							<?php echo $this->lang->line('hf_topup_sands_history');?></a>

						</li>

					</ul>

				</li>
				<?php } ?>
				
				<?php if (hasModule('withdrawal', $this)) { ?>
				<li class="<?php if($this->uri->segment(1) == 'withdrawal') { echo 'active open'; }?>">

					<a href="javascript:;">

					<i class="icon-dollar"></i> 

					<span class="title"><?php echo $this->lang->line('hf_withdrawal');?></span>

					<span class="arrow <?php if($this->uri->segment(1) == 'withdrawal') { echo 'open'; }?>"></span>

					</a>

					<ul class="sub-menu">

						<li >

							<a href="<?php echo base_url();?>withdrawal/listing/">

							<?php echo $this->lang->line('hf_withdraw_history');?></a>

						</li>
						
						<li>

							<a href="<?php echo base_url();?>withdrawal/usdt_listing/">

							<?php echo $this->lang->line('hf_withdraw_usdt_history');?></a>

						</li>
						
					</ul>

				</li>
				<?php } ?>
				
				<?php /*if (hasModule('payout', $this)) { ?>
				<li class="<?php if($this->uri->segment(1) == 'payout') { echo 'active open'; }?>">

					<a href="javascript:;">

					<i class="icon-dollar"></i> 

					<span class="title"><?php echo $this->lang->line('hf_payout');?></span>

					<span class="arrow <?php if($this->uri->segment(1) == 'payout') { echo 'open'; }?>"></span>

					</a>

					<ul class="sub-menu">

						<li >

							<a href="<?php echo base_url();?>payout/request/">

							<?php echo $this->lang->line('hf_payout_request');?></a>

						</li>
						
						<li>

							<a href="<?php echo base_url();?>payout/listing/">

							<?php echo $this->lang->line('hf_payout_history');?></a>

						</li>
						
					</ul>

				</li>
				<?php }*/ ?>
				
				
				<?php if (hasModule('insurance', $this)) { ?>
				<li class="<?php if($this->uri->segment(1) == 'insurance') { echo 'active open'; }?>">

					<a href="javascript:;">

					<i class="icon-shield"></i> 

					<span class="title"><?php echo $this->lang->line('hf_insurance');?></span>

					<span class="arrow <?php if($this->uri->segment(1) == 'insurance') { echo 'open'; }?>"></span>

					</a>

					<ul class="sub-menu">

						<li >

							<a href="<?php echo base_url();?>insurance/buy_listing/">

							<?php echo $this->lang->line('hf_buy_insurance_history');?></a>

						</li>
						
						<li>

							<a href="<?php echo base_url();?>insurance/claim_listing/">

							<?php echo $this->lang->line('hf_claim_insurance_history');?></a>

						</li>
						
					</ul>

				</li>
				<?php } ?>
				
				<?php if (hasModule('game', $this)) { ?>
				<li class="<?php if($this->uri->segment(1) == 'game') { echo 'active open'; }?>" style="display:none;">

					<a href="javascript:;">

					<i class="icon-gamepad"></i> 

					<span class="title"><?php echo $this->lang->line('hf_game');?></span>

					<span class="arrow <?php if($this->uri->segment(1) == 'game') { echo 'open'; }?>"></span>

					</a>

					<ul class="sub-menu">

						<li >

							<a href="<?php echo base_url();?>game/listing/">

							<?php echo $this->lang->line('hf_game_deposit_history');?> </a>

						</li>
						
					</ul>

				</li>
				<?php } ?>
				
				<?php if (hasModule('product', $this)) { ?>
				<li class="<?php if($this->uri->segment(1) == 'product') { echo 'active open'; }?>" style="display: none;">

					<a href="javascript:;">

					<i class="icon-shopping-cart"></i> 

					<span class="title"><?php echo $this->lang->line('hf_product');?></span>

					<span class="arrow <?php if($this->uri->segment(1) == 'product') { echo 'open'; }?>"></span>

					</a>

					<ul class="sub-menu">

						<li >

							<a href="<?php echo base_url();?>product/add/">

							<?php echo $this->lang->line('hf_add_new_product');?> </a>

						</li>
						
						<li >

							<a href="<?php echo base_url();?>product/listing/">

							<?php echo $this->lang->line('hf_product_listing');?> </a>

						</li>
						
						<li >

							<a href="<?php echo base_url();?>product/order/">

							<?php echo $this->lang->line('hf_product_order_history');?> </a>

						</li>
						
					</ul>

				</li>
				<?php } ?>
				
				<?php if (hasModule('message', $this)) { ?>
				<li class="<?php if($this->uri->segment(1) == 'message') { echo 'active open'; }?>">

					<a href="javascript:;">

					<i class="icon-envelope-alt"></i> 

					<span class="title">
						<?php echo $this->lang->line('hf_private_message');?>
						<?php if(get_user_unread_message() > 0) {?>
						<span class="pmbadge badge"><?php echo get_user_unread_message();?></span>
						<?php }?>
					</span>

					<span class="arrow <?php if($this->uri->segment(1) == 'message') { echo 'open'; }?>"></span>

					</a>

					<ul class="sub-menu">

						<li >

							<a href="<?php echo base_url();?>message/compose/">

							<?php echo $this->lang->line('hf_compose_message');?></a>

						</li>
						
						<li >

							<a href="<?php echo base_url();?>message/inbox/">

							<?php echo $this->lang->line('hf_inbox_message');?></a>

						</li>
						
						<li >

							<a href="<?php echo base_url();?>message/sent/">

							<?php echo $this->lang->line('hf_message_sent');?> </a>

						</li>

					</ul>

				</li>
				<?php } ?>

				<?php if (hasModule('admin', $this)) { ?>
				<li class="<?php if($this->uri->segment(1) == 'admin') { echo 'active open'; }?>">

					<a href="javascript:;">

					<i class="icon-user"></i> 

					<span class="title"><?php echo $this->lang->line('hf_admin');?></span>

					<span class="arrow <?php if($this->uri->segment(1) == 'admin') { echo 'open'; }?>"></span>

					</a>

					<ul class="sub-menu">

						<li >

							<a href="<?php echo base_url();?>admin/add/">

							<?php echo $this->lang->line('hf_add_new_admin');?></a>

						</li>
						
						<li >

							<a href="<?php echo base_url();?>admin/listing/">

							<?php echo $this->lang->line('hf_admin_list');?> </a>

						</li>

					</ul>

				</li>
				<?php } ?>

				<?php if (hasModule('announcement', $this)) { ?>
				<li class="<?php if($this->uri->segment(1) == 'announcement') { echo 'active open'; }?>">

					<a href="javascript:;">

					<i class="icon-bullhorn"></i> 

					<span class="title"><?php echo $this->lang->line('hf_announcement');?></span>

					<span class="arrow <?php if($this->uri->segment(1) == 'announcement') { echo 'open'; }?>"></span>

					</a>

					<ul class="sub-menu">

						<li >

							<a href="<?php echo base_url();?>announcement/add/">

							<?php echo $this->lang->line('hf_add_new_announcement');?></a>

						</li>
						
						<li >

							<a href="<?php echo base_url();?>announcement/listing/">

							<?php echo $this->lang->line('hf_announcement_list');?> </a>

						</li>

					</ul>

				</li>
				<?php } ?>
				
				<?php if (hasModule('setting', $this)) { ?>
				<li class="<?php if($this->uri->segment(1) == 'setting') { echo 'active open'; }?>">

					<a href="javascript:;">

					<i class="icon-cogs"></i> 

					<span class="title"><?php echo $this->lang->line('hf_setting');?></span>

					<span class="arrow <?php if($this->uri->segment(1) == 'setting') { echo 'open'; }?>"></span>

					</a>

					<ul class="sub-menu">

						<li >

							<a href="<?php echo base_url();?>setting/service_setting/">

							<?php echo $this->lang->line('hf_service_setting');?> </a>

						</li>
						
						<li >

							<a href="<?php echo base_url();?>setting/currency_rate/">

							<?php echo $this->lang->line('hf_currency_rate');?> </a>

						</li>
						
					</ul>

				</li>
				<?php } ?>
				
			</ul>

			<!-- END SIDEBAR MENU -->

		</div>

		<!-- END SIDEBAR -->

		<!-- BEGIN PAGE -->

		<div class="page-content">

			<div class="container-fluid">