<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix ="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";

%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  	<script type="text/javascript" src="<%=path%>/gpsonline/js/calendar/My97DatePicker/WdatePicker.js"></script>
	<style>
		.carOwnerInputName{ text-align: right;padding-right: 10px;}
	</style>
  </head>
  <body>
			<div class="top"></div>
			<div class="center"  style="width: 350px;">
		  		<h3 id="dragCarOwnerPanel">
		        	<a href="javascript:;" title="关闭" class="message_close" id="closeCarOwnerWin"></a>
		        	<span>车主信息</span>
		        </h3>
		        <div class="popWinContainerPanel">
		        	<ul><li style="text-align:center;"><span id="CarOwnerMsg" style="color:red;">&nbsp;</span></li></ul>
		        	<form id="CarOwnerForm" action="<%=path %>/manager/vechileAction_carOwnerUpdate.action" method="POST">
			        	<table width="100%" border="0" style="line-height:35px;">
			        		<tr>
								<td class="carOwnerInputName">
									姓名:
								</td>
								<td>
									<input name="carOwner.name" type="text" style="height: 18px;" value="${!empty carOwner ? carOwner.name : ''}"></input>
								</td>
							</tr>
							<tr>
								<td class="carOwnerInputName">
									性别:
								</td>
								<td>
									<input name="carOwner.sex" type="radio" style="height: 18px;" value="1" ${ (empty carOwner.sex || carOwner.sex == '1') ? "checked='checked'" : ""}>男</input>
									&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
									<input name="carOwner.sex" type="radio" style="height: 18px;" value="0" ${ (!empty carOwner.sex && carOwner.sex == 0) ? "checked='checked'" : ""}>女</input>
								</td>
							</tr>
							<tr>
								<td class="carOwnerInputName">
									手机号码[1]:
								</td>
								<td>
									<input name="carOwner.phone" type="text" style="height: 18px;" value="${!empty carOwner ? carOwner.phone : ''}"></input>
								</td>
							</tr>
							<tr>
								<td class="carOwnerInputName">
									手机号码[2]:
								</td>
								<td>
									<input name="carOwner.mobile" type="text" style="height: 18px;" value="${!empty carOwner ? carOwner.mobile : ''}"></input>
								</td>
							</tr>
							<tr>
								<td class="carOwnerInputName">
									邮箱:
								</td>
								<td>
									<input name="carOwner.email" type="text" style="height: 18px;" value="${!empty carOwner ? carOwner.email : ''}"></input>
								</td>
							</tr>
							<tr>
								<td class="carOwnerInputName">
									身份证号码:
								</td>
								<td>
									<input name="carOwner.idCard" type="text" style="height: 18px;" value="${!empty carOwner ? carOwner.idCard : ''}"></input>
								</td>
							</tr>
							
			        		<tr>
			        			<td colspan="2" style="text-align: center;">
			        				<input type="hidden" name="carOwner.id" value="${vhcId}"/>
			        				<input id="updateCarOwnerBtn" type="button" value="提交" onclick="managerIframe.VechileMananger.updateCarOwner();" style="width:80px; height:30px;  margin-top:20px;" />					
			        			</td>		        					        			
			        		</tr>						        		
			        	</table>			        							
        			</form>
		        </div>
			 </div>
			<div class="bot"></div>
  </body>
</html>
