<%@page pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html>
	<head>
		<%@include file="/WEB-INF/navigation/JsAndCss.jsp" %>
	</head>
	<body>
		<div class="container">
			<div class="navbar">
				<div class="navbar-inner">
					<%@include file="../navigation/menu.jsp" %>
				</div>
			</div>
			<div class="row">
				<%@include file="../navigation/navigation.jsp" %>
				<div class="span9">
					<h1>
						查看短信
					</h1>
					
					<form id="new-project" class="form-horizontal" method="post">
						<fieldset>
						<legend></legend>
							<div class="control-group">
								<label class="control-label" for="对方手机号码">手机号码</label>
								<div class="controls">
									<input type="text" class="input-xlarge" id="input01" name="mobile" value="${sms.mobile }" />
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="input01">短信类型</label>
								<div class="controls">
									<input type="text" class="input-xlarge" id="input01" name="smsType" value="<c:choose><c:when test="${sms.smsType==1}">注册码</c:when><c:when test="${sms.smsType==2}">找回密码</c:when><c:otherwise>其它</c:otherwise></c:choose>"/>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="input01">短信内容</label>
								<div class="controls">
									<input type="text" class="input-xlarge" id="input01" name="content" value="${sms.content }" />
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="input01">发送时间</label>
								<div class="controls">
									<input type="text" class="input-xlarge" id="input01" name="post_time" value="<fmt:formatDate value="${sms.postTime}" pattern="yyyy-MM-dd HH:mm:ss"/>" />
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="input01">发送人</label>
								<div class="controls">
									<input type="text" class="input-xlarge" id="input01" name="uid" value="${sms.uid }" />
								</div>
							</div>
							<div class="control-group">
								<div class="controls">
									<input type="button" class="input-xlarge" value="返回"  onclick="history.back();" />
								</div>
							</div>
						</fieldset>
					</form>
				</div>
			</div>
		</div>
	</body>
</html>
