<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ include file="/taglib.jsp"%>
<!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>BlogMethods Basic安装 第二步</title>
<style><!--
body,h1,h2,h3,h4,h5,h6,p,form,fieldset {margin:0;padding:0;}
body {
  margin:0;
  padding:15px 15px;
  font-family:arial,sans-serif;
  font-size:small;
  line-height:1.6em;
}
h4{font-size:medium;}
image{border:0;}
#container{
	margin-top:20px;
}
#content{
	margin-left:138px;padding-left:20px;border-left:#ddd solid 1px;
}
#content .title{
	border-bottom:#ddd solid 1px;
}
#content .table{
	margin:10px 0 10px 10px;width:400px;
}
#content .button{
	margin:40px 0 10px 10px;text-align:center;
}
#steps{
	float:left;	width:120px;
}
#footer{
	margin-top:50px;text-align:center;border-top:#ddd solid 1px;
}
#footer div{
	margin-top:10px;
}
--></style>
<script src="<c:url value="/js/validator.js"/>" type="text/javascript" language="JavaScript"></script>
</head>

<body >

<div id="header"><a href="www.blogmethods.cn"><img src="<c:url value="/images/logo.gif"/>" border=0 alt="www.blogmethods.cn"></a></div>

<div id="container">

<div id="steps">
<h4>安装步骤</h4>
<OL>
	<LI>环境要求
	<li style="font-weight:bold;">创建用户
	<li>创建博客
	<li>选择主题
	<li>安装完成
</OL>
<div><a href="http://www.blogmethods.cn/basic/setup.html">查看在线安装文档</a></div>
</div>

<div id="content">
<h4 class="title">创建用户</h4>
<p>设置用户信息,标有“*”的信息为必填。</p>
<SCRIPT LANGUAGE="JavaScript">
<!--
String.prototype.trim = function(){
	return this.replace(/^\s*|\s*$/g,"");
};
function check(){
	var form = document.forms._form;
	if(form.name.value.trim().length==0){
		alert("用户名不能为空！");form.name.focus();return false;
	}
	if(form.password.value.length==0){
		alert("密码不能为空！");form.password.focus();return false;
	}
	if(form.password.value!=form._password.value){
		alert("两次输入密码不一致！");form._password.focus();return false;
	}
	if(form.email.value.trim().length==0){
		alert("email不能为空！");form.email.focus();return false;
	}
	return true;
}
//-->
</SCRIPT>
<form name="_form" method=post action="setup.do?method=showStepThree" onsubmit="return check();">
<TABLE border="0" cellspacing="10" cellpadding="0" style="margin:10px 0 0 20px;">
  <TR>
  	<TD align=right>用户名:</TD>
  	<TD><INPUT TYPE="text" NAME="name" style="width:15em"><span style="color:red;padding:0 5px;">*</span></TD>
  </TR>
    <TR>
  	<TD align=right>密码:</TD>
  	<TD><INPUT TYPE="password" name="password" style="width:15em"><span style="color:red;padding:0 5px;">*</span></TD>
  </TR>
  <TR>
  	<TD align=right>重新输入密码:</TD>
  	<TD><INPUT TYPE="password" name="_password" style="width:15em"><span style="color:red;padding:0 5px;">*</span></TD>
  </TR>
  <TR>
  	<TD align=right>email:</TD>
  	<TD><INPUT TYPE="text" NAME="email" style="width:15em"><span style="color:red;padding:0 5px;">*</span></TD>
  </TR>
  <TR>
  	<TD align=right>昵称:</TD>
  	<TD><INPUT TYPE="text" NAME="nickname" style="width:15em">(默认同用户名)</TD>
  </TR>
  </TABLE>
<p class="button"><INPUT TYPE="button" value="<< 上一步" onclick="history.back(1);">&nbsp;&nbsp;<INPUT TYPE="submit" value="下一步 >>"></p>
</form>
</div>
</div>

<div id="footer"><div><A HREF="http://www.blogmethods.cn/about.html">关于我们</A> | <A HREF="http://www.blogmethods.cn/contactus.html">联系我们</A> | <A HREF="http://www.blogmethods.cn">BlogMethods主页</A></div>
<div>&copy; 2006 BlogMethods</div></div>
</body>

</html>