<div id="left_menu">
	<div class="menu_item <?=($this->uri->segment(2) == 'password') ? 'selected' : NULL ?>" onclick="document.location.href='<?php echo site_url('settings/password')?>';">
		<span class="icon"></span>
		<a href="<?php echo site_url('settings/password')?>"><?php echo lang('Password') ?></a>
	</div>
	<div class="menu_item <?=($this->uri->segment(2) == 'profile') ? 'selected' : NULL ?>" onclick="document.location.href='<?php echo site_url('settings/profile')?>';">
		<span class="icon"></span>
		<a href="<?php echo site_url('settings/profile')?>"><?php echo lang('Profile') ?></a>
	</div>
	<div class="menu_item <?=($this->uri->segment(2) == 'personal-details') ? 'selected' : NULL ?>" onclick="document.location.href='<?php echo site_url('settings/personal-details')?>';">
		<span class="icon"></span>
		<a href="<?php echo site_url('settings/personal-details')?>"><?php echo lang('Personal details') ?></a>
	</div>
	<?php if( ! $this->user->studio_id ):?>
		<div class="menu_item <?=($this->uri->segment(2) == 'payment') ? 'selected' : NULL ?>" onclick="document.location.href='<?php echo site_url('settings/payment')?>';">
			<span class="icon"></span>
			<a href="<?php echo site_url('settings/payment')?>"><?php echo lang('Payment') ?></a>
		</div>
	<?php endif?>
	<div class="menu_item <?=($this->uri->segment(2) == 'pricing') ? 'selected' : NULL ?>" onclick="document.location.href='<?php echo site_url('settings/pricing')?>';">
		<span class="icon"></span>
		<a href="<?php echo site_url('settings/pricing')?>"><?php echo lang('Pricing') ?></a>
	</div>
	<div class="menu_item <?=($this->uri->segment(2) == 'banned_zones') ? 'selected' : NULL ?>" onclick="document.location.href='<?php echo site_url('settings/banned_zones')?>';">
		<span class="icon"></span>
		<a href="<?php echo site_url('settings/banned_zones')?>"><?php echo lang('Banned zones') ?></a>
	</div>
	<div class="menu_item <?=($this->uri->segment(2) == 'categories') ? 'selected' : NULL ?>" onclick="document.location.href='<?php echo site_url('settings/categories')?>';">
		<span class="icon"></span>
		<a href="<?php echo site_url('settings/categories')?>"><?php echo lang('Categories') ?></a>
	</div>
	<div class="menu_item <?=($this->uri->segment(2) == 'schedule') ? 'selected' : NULL ?>" onclick="document.location.href='<?php echo site_url('settings/schedule')?>';">
		<span class="icon"></span>
		<a href="<?php echo site_url('settings/schedule')?>"><?php echo lang('Schedule') ?></a>
	</div>
	<div class="menu_item <?=($this->uri->segment(1) == 'photos') ? 'selected' : NULL ?>" onclick="document.location.href='<?php echo site_url('photos')?>';">
		<span class="icon"></span>
		<a href="<?php echo site_url('photos')?>"><?php echo lang('Photos') ?></a>
	</div>
	<div class="menu_item <?=($this->uri->segment(1) == 'videos') ? 'selected' : NULL ?>" onclick="document.location.href='<?php echo site_url('videos')?>';">
		<span class="icon"></span>
		<a href="<?php echo site_url('videos')?>"><?php echo lang('Videos') ?></a>
	</div>
	<div class="menu_item <?=($this->uri->segment(1) == 'contracts') ? 'selected' : NULL ?>" onclick="document.location.href='<?php echo site_url('contracts')?>';">
		<span class="icon"></span>
		<a href="<?php echo site_url('contracts')?>"><?php echo lang('Contracts') ?></a>
	</div>
	<div class="menu_item <?=($this->uri->segment(1) == 'photo_id') ? 'selected' : NULL ?>" onclick="document.location.href='<?php echo site_url('photo_id')?>';">
		<span class="icon"></span>
		<a href="<?php echo site_url('photo_id')?>"><?php echo lang('Photo ID') ?></a>
	</div>
</div>
<div class="fl_r">
	<?php
		if(isset($page)){
			$this->load->view($page);
		}
	?>
</div>
<div class="clear"></div>