<!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 content="zh-cn" http-equiv="Content-Language" />
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
		<meta name="renderer" content="webkit"/>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0,  user-scalable=no"/>
		<title>{%$lngpack.sitename%}</title>
		<meta name="keywords" content="{%$lngpack.keyword%}" />
		<meta name="description" content="{%$lngpack.description%}" />
		<link rel="icon" type="image/png" href="{%$icon_16%}" sizes="16x16"/>
		<link rel="icon" type="image/png" href="{%$icon_32%}" sizes="32x32"/>
		<link rel="icon" type="image/png" href="{%$icon_64%}" sizes="64x64"/>
		<link href="{%$rootpath%}css/bootstrap.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcmsp8_font.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/swiper.min.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcmsp8_all.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcms_p8_public.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/jquery.min.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/bootstrap.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/swiper.min.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_base.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_dialog.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_formvalidation.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/citydb.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/cityselect.js"></script>
		<script type="text/javascript" src="{%$rootdir%}js/My97DatePicker/WdatePicker.js"></script>
		<script type="text/javascript">
			$(window).load(function () {
				$("#bbsedit").espcms_formvalidation({focusName: "#mobliesn", display_icon_err: false});
			});
		</script>
	</head>

	<body>
		{%link file="public/head.html"%}
		<section class="bann_container">
			<div class="container page_bann_title">
				<h2>Member Center</h2>
			</div>
		</section>

		<section class="container espcms_page_book">
			<div class="row">
				<div class="col-xs-12 col-sm-12 col-md-3">
					{%list name=memmenu%}
				</div>
				<div class="col-xs-12 col-sm-12 col-md-9">
					<div class="panel panel-info espcms_member_page">
						<div class="panel-heading"><h3>Message modification</h3></div>
						<div class="panel-body">
							<form name="bbsedit" id="bbsedit" method="post" class="form-horizontal admin-form" action="{%$savelink%}">
								<input type="hidden" name="tokenname" value="{%$tokenkey.token_name%}"/>
								<input type="hidden" name="tokenkey" value="{%$tokenkey.token_key%}"/>
								<input type="hidden" name="bid" id="bid" value="{%$read.bid%}"/>
								<div class="form-group">
									<label class="col-sm-2 control-label">Category</label>
									<div class="col-sm-9 pt6">{%$type.typename%}</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">Title</label>
									<div class="col-sm-9">
										<input type="text" name="title" id="title" class="form-control" value="{%$read.title%}" data-validation-minlength="4" data-validation-maxlength="100" placeholder="Please enter a title" title="Please enter a title" data-validation-msg="Sorry: the title was entered incorrectly, please re-enter!"/>
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">Name</label>
									<div class="col-sm-9"><input type="text" name="addname" id="addname" value="{%$read.addname%}" class="form-control"  data-validation-minlength="4" data-validation-maxlength="60" placeholder="Please enter your name" title="Please enter your name" data-validation-msg="Sorry: The name was entered incorrectly, please re-enter!"/></div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">E-mail</label>
									<div class="col-sm-9"><input type="text" name="email" id="email" value="{%$read.email%}" class="form-control" data-validation="^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$"  placeholder="Please enter your e-mail" title="Please enter your e-mail" data-validation-msg="Sorry: E-mail input is incorrect, please re-enter!"/></div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">Moblie</label>
									<div class="col-sm-9"><input type="text" name="mobile" id="mobile" value="{%$read.mobile%}" class="form-control" data-validation="^1[\d]{10}$" placeholder="Please enter 11 mobile phone number" title="Please enter 11 mobile phone number" data-validation-msg="Sorry: The phone number was entered incorrectly, please re-enter!" /></div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">Content</label>
									<div class="col-sm-9">
										<textarea name="content" id="content" rows="10" class="form-control" data-validation-minlength="4" data-validation-maxlength="8500" placeholder="Please enter the message content" title="Please enter the message content" data-validation-msg="Sorry: The message content was entered incorrectly, please re-enter!">{%$read.content%}</textarea>
									</div>
								</div>
								<div class="form-group">
									<div class="col-sm-offset-2 col-sm-9">
										<input type="submit" class="btn btn-success" formmethod="POST" value="Edit message"/>
									</div>
								</div>
							</form>
						</div>
					</div>

				</div>
			</div>
		</section>

		{%link file="public/footer.html"%}
	</body>
</html>