<?php
/**
 * menumapping_view.php - View file for mapping menu
 *
 * @author $Author: dtong $
 * @version $Id: menumapping_view.php,v 1.3 2011/02/02 11:32:19 dtong Exp $
 * @copyright Copyright (c) 2009, Tiller Software Co., Ltd.
*/
?>
<center><div class='menumap_title'><?php echo lang('menu_mapping_title')?></div>
<?php
	foreach ($items as $key=>$item) {
		$image = osa_imagepath() . osa_value($item, '_menu_image', FALSE);
		$url = base_url() . 'map/input/get/' . $key;
?>
<div class='menumap_item'>
	<a href='<?php echo $url?>' onclick="ajaxGetpage('page_content','<?php echo $url;?>',true); return false;">
		<img src='<?php echo $image;?>' border='0' /><br />
		<?php osa_value($item, '_menu_title');?>
	</a>
</div>
<?php
	}
?>
</center>