<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $channel['meta_title']?$channel['meta_title']:$channel['name']; ?></title>
<meta name="description" content="<?php echo $channel['meta_description']?$channel['meta_description']:$channel['name']; ?>" />
<meta name="keywords" content="<?php echo $channel['meta_keywords']?$channel['meta_keywords']:$channel['name']; ?>" />
<link href="<?php echo $conf['weburl'];?>/themes/<?php echo $skin;?>/css/gnoyuhs.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo $conf['weburl'];?>/themes/<?php echo $skin;?>/css/shijian.js"></script>
<link href="<?php echo $conf['weburl'];?>/js/search.css" type="text/css" rel="stylesheet" />
</head>
<body>
<?php include("header.php"); ?>
<div class="wrapper">
<div class="main">
<div class="crumbs"><a href="<?php echo $menu['index_url'];?>"><?php echo $lang['home'];?></a> &gt; <?php echo $lang['contactus'];?></div>
<div class="right">
<div class="page">
<div class="maintitle"><p><?php echo $lang['title_contactus'];?></p><span>&nbsp;</span></div>
<div class="contact">
				<ul>
                <?php if ($company_desc['company_name']) : ?>
				<li><p><b><?php echo $company_desc['company_name'];?></b></p>
				<?php if ($company_desc['website']) : ?><p><?php echo $lang['website'];?>: <?php echo $company_desc['website'];?></p><?php endif ; ?>
				<?php endif ; ?>
                <?php if ($company_desc['address']) : ?>
				<p><?php echo $lang['address'];?>: <?php echo $company_desc['address'];?></p>
				<?php if ($company['zip']) : ?><p><?php echo $lang['zip'];?>: <?php echo $company['zip'];?></p><?php endif ; ?>
				<?php endif ; ?>
				</li>
				</ul>
                
                <?php foreach ($contact_detail as $key => $value)  { ?>
                <?php if (count($contact_detail)>1) : ?>
            	
                <ul class="department">
				<li class="departmentname">
				<?php if ($value['contact_detail']['company_name']){ echo $value['contact_detail']['company_name']; }?><?php if ($value['contact_detail']['company_name'] && $value['contact_detail']['department']){ echo "&nbsp;-&nbsp;"; }?><?php if ($value['contact_detail']['department']){ echo $value['contact_detail']['department']; }?></li>
                
				<?php else : ?>
                <ul>
				<?php endif ; ?>
					
                    <li>
                    <p>
					<?php echo $lang['contact_person'];?>: <?php echo $value['contact_detail']['contact_person'];?></p>
                    <p><?php foreach ($value['detail_tel_arr'] as $keyx => $valuex)  { ?>
					<?php if ($keyx==0){ echo $lang['tel'].":"; }?><?php echo $valuex;?>
                    <?php } ?></p>
					<?php if ($value['contact_detail']['fax']) : ?><p><?php echo $lang['fax'];?>: <?php echo $value['contact_detail']['fax'];?></p><?php endif ; ?>
					<p><?php echo $lang['email']; ?>: <?php foreach ($value['detail_email_arr'] as $keyx => $valuex) { ?>
					<?php echo $valuex;?><?php } ?></p>
                    
                    <?php if ($value['contact_detail']['address']) : ?>
                    <p><?php echo $lang['address'];?>: <?php echo $value['contact_detail']['address'];?></p>
					<?php if ($value['contact_detail']['zip']) : ?><p><?php echo $lang['zip'];?>: <?php echo $value['contact_detail']['zip'];?></p><?php endif ; ?>
					<?php endif ; ?>
					
					</li>

					<li>
                    <p>
					<?php if ($value['qq_detail']) : ?><?php echo $value['qq_detail'];?><?php endif ; ?>
                    <?php if ($value['msn_detail']) : ?><?php echo $value['msn_detail'];?><?php endif ; ?>
                    <?php if ($value['skype_detail']) : ?><?php echo $value['skype_detail'];?><?php endif ; ?>
                    <?php if ($value['yahoo_detail']) : ?><?php echo $value['yahoo_detail'];?><?php endif ; ?>
					<?php if ($value['aliwangwang_detail']) : ?><?php echo $value['aliwangwang_detail'];?><?php endif ; ?>
					</p>
				  </li>
                    
				</ul>
				<?php } ?>
				<div class="clear"></div>
				
                <?php if($company['googleMapKey'] &&  $company['googleMapAddress']) { ?>
                <div id="map_canvas" style="width:600px; height:350px; margin:20px 0; border:1px solid #cccccc;"></div>
				<?php } ?>
                
			</div> 
			<div class="clear"></div>
        </div>

	</div>
	<div class="left"><?php include("left.php"); ?></div>
	<div class="clear"></div>
	<div class="mainfoot"></div>	
</div>
</div>
<?php include("footer.php"); ?>
</body>
</html>