<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%
	response.setHeader("Pragma","No-cache");    
	response.setHeader("Cache-Control","no-cache");    
	response.setDateHeader("Expires", -10);  
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head></head>
<script>

</script>
<body>
<div style="margin-top:50px;">
	<ul style="margin-left:300px;">
		<li> <lable>文件名称：</lable><a href="<%=basePath %>${resume.resumedownloadurl }">${resume.resumename } </a></li>
		<li> <lable>姓名：</lable>${resume.username } </li>
		<li>  <lable>年龄：</lable>${resume.age }</li>
		<li> <lable>性别：</lable>${resume.gender }</li>
		<li> <lable>生日：</lable><fmt:formatDate value="${resume.birthday }" pattern="yyyy年MM月dd日"/> </li>
		<li> <lable>学历：</lable>${resume.degree} </li>
		<li> <lable>专业：</lable>${resume.major} </li>
		<li> <lable>毕业院校：</lable>${resume.graduatecollege} </li>
		<li> <lable>手机号码：</lable>${resume.mobile} </li>
		<li> <lable>电子邮箱：</lable>${resume.email} </li>
		<li> <lable>居住地：</lable>${resume.residence} </li>
		<%-- <li> <lable>最近工作公司：</lable>${resume.currentCompany} </li> --%>
		<li> <lable>工作年限：</lable>${resume.experience} </li>
		<li> <lable>自我评价：</lable>${resume.selfintroduce} </li>
		<li> <lable>技能关键字：</lable>${resume.keywords} </li>
		<li>
			<lable>工作经历：</lable>
			<ul>
				<c:forEach items="${resume.workList}" var="work">
					<li><lable>${work.companyname }</lable>
						<ul>
							<li><lable>入职时间：&nbsp;</lable>
									<fmt:formatDate value="${work.iinductionstartdate }" pattern="yyyy年MM月"/></li>
							<li><lable>离职时间：&nbsp;</lable>
							<c:if test='${work.iinductionenddate != null}'><fmt:formatDate value="${work.iinductionenddate }" pattern="yyyy年MM月"/></c:if>
							</li>
							<li>
								<lable>工作描述：&nbsp;</lable>
								${work.workdetail }
							</li>
						</ul>
					</li>
				</c:forEach>
			</ul>
		</li>
		
		<li>
			<lable>项目经验：</lable>
			<ul>
				<c:forEach items="${resume.projectList}" var="project">
					<li><lable>${project.projectname }</lable>
						<ul>
							<li><lable>开始时间：&nbsp;</lable>
									<fmt:formatDate value="${project.projectstartdate }" pattern="yyyy年MM月"/></li>
							<li><lable>结束时间：&nbsp;</lable>
							<c:if test='${project.projectenddate != null}'><fmt:formatDate value="${project.projectenddate }" pattern="yyyy年MM月"/></c:if>
							</li>
							<li>
								<lable>软件环境：&nbsp;</lable>
								${project.developenvironment }
							</li>
							<li>
								<lable>开发工具：&nbsp;</lable>
								${project.developtools }
							</li>
							<li>
								<lable>项目描述：&nbsp;</lable>
								${project.projectdetail }
							</li>
							<li>
								<lable>责任描述：&nbsp;</lable>
								${project.partin }
							</li>
						</ul>
					</li>
				</c:forEach>
			</ul>
		</li>
		
		
		<li>
			<lable>教育经历：</lable>
			<ul>
				<c:forEach items="${resume.eduList}" var="edu">
					<li><lable>${edu.schoolname }</lable>
						<ul>
							<li><lable>开始时间：&nbsp;</lable>
									<fmt:formatDate value="${edu.edustartdate }" pattern="yyyy年MM月"/></li>
							<li><lable>结束时间：&nbsp;</lable>
							<c:if test='${edu.eduenddate != null}'><fmt:formatDate value="${edu.eduenddate }" pattern="yyyy年MM月"/></c:if>
							</li>
							<li>
								<lable>专业：&nbsp;</lable>
								${edu.major }
							</li>
							<li>
								<lable>学历：&nbsp;</lable>
								${edu.degree }
							</li>
							<li>
								<lable>在校期间描述：&nbsp;</lable>
								${edu.detail }
							</li>
						</ul>
					</li>
				</c:forEach>
			</ul>
		</li>
		
		
	</ul>
</div>	
</body>
</html>