<!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>{#$webtitle#} - Powered by GV32.COM</title>
<link rel="stylesheet" type="text/css" href="../templates/www/{#$getconfig.default#}/css/main.css" />
<link rel="stylesheet" type="text/css" href="../templates/user/css/user.css" />
<script language="javascript" src="{#$base_weburl#}/js/jquery-1.7.2.js" ></script>
<script language="javascript" src="{#$base_weburl#}/js/common.js" ></script>
<script language="javascript">
	var webroot_url = '{#$base_weburl#}';
	function submitFun()
	{
		/*
		var idoldpwd 			= document.getElementById('oldpwd');
		var iduse_pwd 			= document.getElementById('use_pwd');
		var idreuse_pwd 		= document.getElementById('reuse_pwd');
		var idsuggestionInfo 	= document.getElementById('suggestionInfo');

		if(idoldpwd.value=='')
		{
			idsuggestionInfo.innerHTML = '提 示：原密码不能为空！请输入！';
			idoldpwd.focus();
			return false;
		}else if(iduse_pwd.value=='')
		{
			idsuggestionInfo.innerHTML = '提 示：新密码不能为空！请输入！';
			iduse_pwd.focus();
			return false;
		}else if(iduse_pwd.value!=idreuse_pwd.value)
		{
			idsuggestionInfo.innerHTML = '提 示：确认密码与新密码不一致！请重新输入！';
			idreuse_pwd.focus();
			return false;
		}
		*/
	}
</script>
</head>
<body>
{#include file="./cover/header_tpl.html"#}
{#include file="./cover/webaddress_tpl.html"#}
<div class="maincss">
{#include file="./cover/userleft_tpl.html"#}
<div id="usermain">
<div class="usermainright">
<form action="{#$actUrl#}" method="post" onsubmit="return submitFun(this)">
<table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder">
<tr>
<th colspan="2">基本信息</th>
</tr>
<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="tdright">姓名</td><td class="tdleft"><input name="add_name" id="add_name" value="{#$info.add_name#}"  type="text"   ><input name="add_id" id="add_id" value="{#$info.add_id#}"  type="hidden"   ></td></tr>	


<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="tdright">地区</td><td class="tdleft"><div id="userd_addr"><span id="userd_province"><select name="idprovince" id="idprovince"><option value="" >请选择</option></select></span><span id="userd_city"><select name="idcity" id="idcity"><option value="" >请选择</option></select></span><span id="userd_district"><select name="iddistrict" id="iddistrict"><option value="" >请选择</option></select></span></div>
<script language="javascript">
	function getareadict( objval, nextobj , areatype , selval )
	{
		var areatype = areatype; 
		var idnextobj = document.getElementById( nextobj );
		if(objval!='')
		{
			$.get("{#$base_weburl#}/index.php?load=ajaxarea&act="+areatype+"&objval="+objval+"&selval="+selval, function(data)
			{
				idnextobj.innerHTML = data;
			})
		}else{
			$.get("{#$base_weburl#}/index.php?load=ajaxarea&act="+areatype+"", function(data)
			{
				idnextobj.innerHTML = data;
			})
		}
		
	}
	function provinceval(obj)
	{
		
		spprovince.innerHTML = obj.options[obj.selectedIndex].text;
		spcity.innerHTML	 = '';
		spdistrict.innerHTML = '';
		
		document.getElementById('hiprovince').value = obj.options[obj.selectedIndex].text;
		document.getElementById('hicity').value 	= '';
		document.getElementById('hidistrict').value = '';
		
	}
	function cityval(obj)
	{
		spcity.innerHTML	 = obj.options[obj.selectedIndex].text;
		spdistrict.innerHTML = '';
		
		document.getElementById('hicity').value 	  = obj.options[obj.selectedIndex].text;
		document.getElementById('hidistrict').value   = '';
	}
	
	function districtval(obj)
	{
		spdistrict.innerHTML = obj.options[obj.selectedIndex].text
		
		document.getElementById('hidistrict').value = obj.options[obj.selectedIndex].text;
	}
	getareadict( '0',  'userd_province','province' ,  '{#$info.add_province#}');
	getareadict( '{#$info.add_province#}',  'userd_city','city' ,  '{#$info.add_city#}');
	getareadict( '{#$info.add_city#}',  'userd_district','district' ,  '{#$info.add_district#}');
	
	
</script><input type="hidden" value="" name="hiprovince" id="hiprovince" /><input type="hidden" value="" name="hicity" id="hicity" /><input type="hidden" value="" name="hidistrict" id="hidistrict" /><input type="hidden" value="{#$info.add_pcdall#}" name="add_pcdall" id="add_pcdall" /></td></tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="tdright">地址</td><td class="tdleft"><span id="spprovince">{#$info.add_pcdall#}</span><span id="spcity"></span><span id="spdistrict"></span><input name="add_address" id="add_address" value="{#$info.add_address#}" type="text"  style="width:250px;" ></td></tr>



<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="tdright"><strong>邮政编码：</strong></td>
<td class="tdleft"><input name="add_postalcode" id="add_postalcode"  value="{#$info.add_postalcode#}" type="text"  style="width:250px;" ></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="tdright"><strong>手机：</strong></td>
<td class="tdleft"><input name="add_mobile" id="add_mobile" value="{#$info.add_mobile#}" type="text"  style="width:250px;" ></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="tdright"><strong>电话：</strong></td>
<td class="tdleft"><input name="add_phone" id="add_phone" value="{#$info.add_phone#}" type="text"  style="width:250px;" ></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="tdright"><strong>邮箱：</strong></td>
<td class="tdleft"><input name="add_email" id="add_email" value="{#$info.add_email#}" type="text"  style="width:250px;" ></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="tdright"><strong>标志建筑：</strong></td>
<td class="tdleft"><input name="add_sign" id="add_sign" value="{#$info.add_sign#}" type="text"  style="width:250px;" ></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="tdright"><strong>送货时间：</strong></td>
<td class="tdleft"><select id="add_sendtime" name="add_sendtime">{#foreach item=senditem key=sendkey from=$_LANG.sendtimeArray#}
<option value="{#$sendkey#}" {#if $info.add_sendtime eq $sendkey#}  selected="selected"{#/if#}>{#$senditem#}</option>
{#/foreach#}</select></td>
</tr>


<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td colspan="2"  class="tdcenter"><div id="suggestionInfo">&nbsp;</div></td>
</tr>
<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td colspan="2"  class="tdcenter"><input name="submit" id="submit" type="submit" value=" 修 改 " ></td>
</tr></table>
</form>
</div>
</div>
</div>
{#include file="./cover/onlinefooter_tpl.html"#}
</body>
</html>