<?php
class ControllerextensionModulemapapicwkj extends Controller {
	public function index($setting) {
		$data['wgdlg1'] = $setting['wgdlg1'];
		$data['wgdlg2'] = $setting['wgdlg2'];
     	$data['sectionbj'] = $setting['sectionbj'];		
		$data['sectionjbbj'] = $setting['sectionjbbj'];
		$data['sectiontitle'] = $setting['sectiontitle'];
		$data['sectiondescribe'] = $setting['sectiondescribe'];
		$data['sectionptop'] = $setting['sectionptop'];
		$data['sectionpbuttom'] = $setting['sectionpbuttom'];		
        $data['miconbj'] = $setting['miconbj'];		
        $data['miconcolorc'] = $setting['miconcolorc'];
		$data['miconcolor'] = $setting['miconcolor'];
        $data['hoverbj'] = $setting['hoverbj'];
        $data['hovertit'] = $setting['hovertit'];	
		$data['miconround'] = $setting['miconround'];
		$data['miconsize'] = $setting['miconsize'];
		$data['miconborder'] = $setting['miconborder'];
		$data['miconbc'] = $setting['miconbc'];
		$data['miconwidth'] = $setting['miconwidth'];
		$data['miconheight'] = $setting['miconheight'];	
		$data['emall'] = $setting['emall'];
		$data['weblink'] = $setting['weblink'];	
		$data['qq'] = $setting['qq'];
		$data['weibo'] = $setting['weibo'];			
		static $module = 0;
		$data['key'] = $setting['key'];
		$data['coordinate'] = $setting['coordinate'];
		$data['cname'] = $setting['cname'];
		$data['cdescribe'] = $setting['cdescribe'];
		$data['cadress'] = $setting['cadress'];
		$data['telephone'] = $setting['telephone'];

		if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . 'extension/module/mapapicwkj.tpl')) {
			return $this->load->view($this->config->get('config_template') . 'extension/module/mapapicwkj.tpl', $data);
		} else {
			return $this->load->view('extension/module/mapapicwkj.tpl', $data);
		}
	}
}