<!-- end messages -->
<div class="box">
	<div class="title">
		<h5><?php echo $this->__('Quick Navigation');?></h5>
	</div>
	<div class="inner">
	<?php $admin_nav_def = $this->get_admin_nav();?>
	<table>
	<tr>
	<?php $track = 0; foreach( $login_session['admin_panel_tabs'] as $key => $val):?>
	<?php if(isset($admin_nav_def[$val]['child'])): $arr_root = $admin_nav_def[$val]['child']; ?>
		<?php if(!empty($arr_root)):?>
			<?php foreach( $arr_root as $key1 => $val1):?>
			<?php
			
				$fetchType = 'URL';
				if(!empty($val1['adminicon']))
				{
					$fetchType = $val1['adminicon']['type'];
					$icon_path = $val1['adminicon']['location'];
				}
				else $icon_path = '/images/admin/deshboard/' . App::Helper('utility')->text2Normalize($val1['title']) . '.jpg';

				if (!file_exists($this->basedir("$icon_path")) && !file_exists($this->rootDir("$icon_path")) )
				{
					$fetchType = 'URL';
					$icon_path = '/images/admin/deshboard/info.jpg';
				}
				
				if(strtolower($fetchType) == 'url')$icon =  App::load("Helper/Html")->imgTag($this->baseurl($icon_path),null,array("height"=>"75","width"=>"75"));
				else $icon = App::load("Helper/Html")->imgDTag($this->rootDir($icon_path),'/75/fix',array("height"=>"75","width"=>"75"));
			?>
			<?php if($track != 0 && $track % 4 == 0):?>
				</tr><tr>
			<?php endif;?>
			<td>
				<div style="float:left">
				<?php echo $icon;?></div>
				<div style="float:left;padding:10px">
				<?php foreach($val1['items'] as $key2 => $val2) echo App::load("Helper/Html")->linkTag($this->baseurl($val2['link']),$val2['title']) . '<br />';?></div>
			</td>			
			<?php $track++; endforeach;?>
		<?php endif;?>
	<?php endif;?>
	<?php endforeach;?>
	</tr>
	</table>
	</div>
</div>