<?xml version="1.0" encoding="gb2312"?>
<labeltemplate>
   <label name="log">
    <![CDATA[
	
	<div style="text-align:left;font-weight:bold;font-size:14px;background:#FBFBFB;padding:10px;border: #efefef 1px dotted;">{$ShowLogTopic}{$ShowLogInfo}  {$ShowWeather}</div>
	
	      <table width="98%"  border="0" cellspacing="0" cellpadding="0">

  <tr>
    <td>{$ShowLogText}</td>
  </tr>
  <tr>
    <td>{$ShowLogMore} </td>
  </tr>
  <tr>
    <td> </td>
  </tr>
</table>
	]]>
   </label>
   
   <label name="userinfo">
    <![CDATA[
	     <div class="wzfl">
				<span class="classcolor">{$ShowNewFresh}</span>
		 </div>
		 
		 <div class="clear"></div>
		 
	<table cellSpacing=0 cellPadding=0 width="98%" border=0 class="border">
          
          <tr>
            <td height=20 colspan="2" align="left"><strong>基本资料</strong></td>
          </tr>
          <tr>
            <td height=20 align="right">会员：</td>
            <td>{$GetUserName}</td>
          </tr>
          <tr>
            <td width="88" height=20 align="right">姓名：</td>
            <td align="left">{$GetRealName}</td>
          </tr>
          <tr>
            <td height=20 align="right">性别：</td>
            <td>{$GetSex}</td>
          </tr>
          <tr>
            <td height=20 align="right">生日：</td>
            <td>{$GetBirthday}</td>
          </tr>
          <tr>
            <td align="right">签名：</td>
            <td>{$GetSign} </td>
          </tr>
          <tr>
            <td height=20 colspan="2" align="left"><strong>联系资料</strong></td>
          </tr>
          <tr>
            <td height=20 align="right">电话：</td>
            <td>{$GetHomeTel}</td>
          </tr>
          <tr>
            <td height=20 align="right">邮箱：</td>
            <td>{$GetEmail}</td>
          </tr>
          <tr>
            <td height=20 align="right">主页：</td>
            <td>{$GetHomePage}</td>
          </tr>
          <tr>
            <td height=20 align="right">QQ号：</td>
            <td>{$GetQQ}</td>
          </tr>
          <tr>
            <td height=20 align="right">地区：</td>
            <td>{$GetUserArea}</td>
          </tr>
          <tr>
            <td height=20 align="right">地址：</td>
            <td>{$GetAddress}</td>
          </tr>
          <tr>
            <td height=20 align="right">邮编：</td>
            <td>{$GetZip}</td>
          </tr>
          <tr>
            <td height=20 align="right">&nbsp;</td>
            <td><a href="javascript:void(0)" onClick="ksblog.sendMsg(event,'{$GetUserName}')">发送短信</a> <a href="javascript:void(0)" onClick="ksblog.addF(event,'{$GetUserName}')">加为好友</a></td>
          </tr>
        </table>


	]]>
   </label>
   
      <label name="companyinfo">
    <![CDATA[
	<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="margin_t_5 tb">
          <tr>
            <td height="27" class="tb_b_1">联系信息</td>
          </tr>
          <tr>
            <td>
			 <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td class="lxxx">
				  <li>◆ 联系人： {$GetContactMan}</li>
                  <li>◆ 电话： {$GetTelphone}</li>
                  <li>◆ 传真： {$GetFax} </li>
                  <li> ◆ 手机： {$GetMobile}</li>
                  <li> ◆ QQ号码： {$GetQQ} </li>
                  <li> ◆ 电子邮箱： {$GetEmail} </li>
                  <li> ◆ 详细地址： {$GetAddress}</li>
                  <li> ◆ 邮政编码： {$GetZipCode}</li>
                 <!-- ◆ <strong>公司位置：</strong><br/>
				  
				  电子地图开始
				  <script src="http://api.map.baidu.com/api?key={$MapKey}&v=1.0&services=true" type="text/javascript"></script>
				  <div style="width:600px;height:340px;border:1px solid gray" id="container"></div>
					
					<script type="text/javascript"> 
						var map = new BMap.Map("container");          // 创建Map实例
						var point = new BMap.Point({$MapCenterPoint});  // 创建点坐标
						map.centerAndZoom(point,16);                  // 初始化地图，设置中心点坐标和地图级别。
						map.addControl(new BMap.NavigationControl());   
						map.addControl(new BMap.ScaleControl());   
						map.addControl(new BMap.OverviewMapControl()); 
						var sContent ="<h4 style='margin:0 0 5px 0;padding:0.2em 0'>{$GetCompanyName}</h4>" +"<p style='margin:0;line-height:1.5;font-size:13px;'>联系地址：{$GetAddress} <br/>联系电话：{$GetTelphone}</p>"
						{$ShowMarkerList}
						window.setTimeout(function(){map.panTo(new BMap.Point({$MapCenterPoint}));}, 2000);
						
						function addMarker(point, index){   
						  // 创建图标对象   
						  var myIcon = new BMap.Icon("http://api.map.baidu.com/img/markers.png", new BMap.Size(23, 25), {   
							offset: new BMap.Size(10, 25),                  // 指定定位位置   
							imageOffset: new BMap.Size(0, 0 - index * 25)   // 设置图片偏移   
						  });   
						  var marker = new BMap.Marker(point, {icon: myIcon});   
						  map.addOverlay(marker);  
						  
						  if (index==0){
							var infoWindow = new BMap.InfoWindow(sContent);  // 创建信息窗口对象
							 marker.addEventListener("click", function(){										
							   this.openInfoWindow(infoWindow);	}); 
							map.openInfoWindow(infoWindow, map.getCenter());      // 打开信息窗口 
						  }
						}  
					</script>
					<!--电子地图结束--->
				  </td>
              </tr>
            </table></td>
          </tr>
      </table>

	]]>
   </label>

   
</labeltemplate>