<%@page contentType="text/html;charset=GBK" %>
<table border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="10" height="10"><img src="<%=CONTEXT%>/img/QQ/i01.gif" width="10" height="10"></td>
    <td  background="<%=CONTEXT%>/img/QQ/i03.gif"></td>
    <td width="10" height="10"><img src="<%=CONTEXT%>/img/QQ/i02.gif" width="10" height="10"></td>
  </tr>
  <tr>
    <td  background="<%=CONTEXT%>/img/QQ/i04.gif">&nbsp;</td>
    <td>
    	<!--内容填写处-->
	<table width="565" border="0" cellspacing="0" cellpadding="0">
			  <tr>
			    <td valign="top">
			    	<table width="565" border="0" cellpadding="0" cellspacing="0" class="Process08_product_navimg01">
			        <tr>
			          <td align="center" class="Process08_product_navtext">会员登录(已注册会员用)</td>
			        </tr>
			      </table>
			      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="Process08_product_navimg02">
						  <tr>
				        <td align="center" valign="top">
				        	<table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolorlight="#D4D4D4"
				        		 bordercolordark="white">
				            <tr> 
				              <td width="100%" valign="top" class="Process08_product_bgcolor01">
				              	<table width="100%"  border="0" align="center" cellpadding="2" cellspacing="1">
				                  <form name="fguserForm" METHOD="POST" action="<%=CONTEXT%>/fg/user/speedlogin.do">
						            		<html:hidden property="channelId" value="<%=currentChannel.getId()%>"/>
						            		<input type="hidden" name="actionType" value="login"/>
						            		<%
						            			if(!StringUtil.isEmpty(requestPageUrl)) {
						            				String productId = request.getParameter("productId");
						            				requestPageUrl =  requestPageUrl + "&productId=" + productId;
						            		%>
						            		<input type="hidden" name="requestPageUrl" value="<%=requestPageUrl%>
						            		&productId=<%=productId%>"/>
						            		<%
						            			}
						            		%>
						            	<%
						            		if(request.getAttribute("login_error") != null) {
						            	%>
						            	<tr> 
						                <td colspan="3"><font color="red">您输入的用户名或者密码不正确。</font></td>
						              </tr>
						            	<%
						            		}
						            	%>
				                  <tr> 
				                    <td width="20%"></td>
				                    <td align="right" >用户名：</td>
				                    <td align="left">
				                    <input type="text" name="bean.id"   size="16" maxlength="32">
				                    </td>
				                  </tr>
				                  <tr>
				                  	<td width="20%"></td> 
				                    <td align="right">密码：</td>
				                    <td align="left">
				                    	<input type="password"  name="bean.password"  size="16" maxlength="32"/>&nbsp;
				                    	<a href="<%=CONTEXT%>/fg/user/searchPwd.do?actionType=getpwdsetp1"  target="_blank">
				                    		忘记密码&gt;&gt;</a> 
				                    </td>
				                  </tr>
				                  <tr> 
				                    <td colspan="2"></td>
				                  </tr>
				                  <tr> 
				                    <td class="zc_tdline"  colspan="2"></td>
				                  </tr>
				                  <tr align="center"> 
				                    <td width="20%"></td>
				                    <td align="right"></td>
				                    <td height="40" align="left">
				                    	<input type="button" onclick="javascript:submitForm()" name="button" value="登录"/> 
				                      </td>
				                  </tr>
								        </form>
				              </table>
				             </td>
				           </tr> 
				        </table>
				        </td>
						  </tr>
						</table>
				    <table width="565" border="0" cellpadding="0" cellspacing="0" class="Process08_product_navimg03">
				      <tr>
				        <td></td>
				      </tr>
				    </table>
				  </td>
				</tr>
				</table>
			  <table width="100%"  border="0" cellspacing="0" cellpadding="0">
				  <tr>
				    <td height=15></td>
				  </tr>
			  </table>
			  <table width="565" border="0" cellspacing="0" cellpadding="0">
				  <tr>
				    <td valign="top">
				    	<table width="565" border="0" cellpadding="0" cellspacing="0" class="Process08_product_navimg01">
				        <tr>
				          <td align="center" class="Process08_product_navtext">新用户注册(新用户用)</td>
				        </tr>
				      </table>
				      <table width="100%" border="0" cellpadding="0" cellspacing="0" class="Process08_product_navimg02">
				        <tr>
				          <td align="center" valign="top">
				          	<table width="100%" border="1" cellspacing="0" cellpadding="0" bordercolorlight="#D4D4D4" 
				          		bordercolordark="white">
				              <tr> 
				                <td width="100%" valign="top" class="Process08_product_bgcolor01">
				                	<table width="100%"  border="0" align="center" cellpadding="2" cellspacing="1">
				                    <script>
							            		function createSpeedUser() {
							            			if(trim(document.all['bean.id'].value) == "") {
							            				alert("请输入用户名称。")
							            				document.all['bean.id'][2].focus();
							            				return false;
							            			}
							            			
							            			if(trim(document.all['bean.password'].value) == "") {
							            				alert("请输入用户密码。")
							            				document.all['bean.id'][2].focus();
							            				return false;
							            			}
							            			

							            			return true;
							            		}
							            	</script>
							            	<form name="speeduserRegForm"  METHOD="POST" action="<%=CONTEXT%>/fg/user/speedlogin.do">
							             	 <input type="hidden" name="actionType" value="speedcreate"/>
							              	<%
							            			if(!StringUtil.isEmpty(requestPageUrl)) {
							            				String productId = request.getParameter("productId");
							            		%>
							            		<input type="hidden" name="requestPageUrl" value="<%=requestPageUrl%>&productId=<%=productId%>"/>
							            		<%
							            			}
							            		%>
							            	<%
							            		if(request.getAttribute("user_existed_error") != null) {
							            	%>	
							            	<tr> 
							                <td colspan="2">
							                	&nbsp;&nbsp;&nbsp;&nbsp;<font color="red">用户名或者Email地址已经存在。<font>
							                </td>
							              </tr>
							            	<%
							            		}
							            	%>
				                    <tr> 
				                      <td align="right">用户名：</td>
				                      <td align="left">
				                      	<input class="i03" name="bean.id" type="text" size="16"></td>
				                    </tr>
				                    <tr> 
				                      <td align="right">密码：</td>
				                      <td align="left">
				                      	<input class="i03" name="bean.password" type="password" size="16"> 
				                      </td>
				                    </tr>
				                    <tr> 
				                      <td colspan="2"></td>
				                    </tr>
				                    <tr> 
				                      <td class="zc_tdline"  colspan="2"></td>
				                    </tr>
				                    <tr> 
				                      <td align="right">确认密码：</td>
				                      <td align="left"><input class="i03" name="repassword" type="password" size="16"> 
				                      </td>
				                    </tr>
				                    <tr> 
				                      <td align="right">Email：</td>
				                      <td align="left"><input class="i03" name="bean.email" type="text" size="24"></td>
				                    </tr>
				                    <tr> 
				                      <td align="right">&nbsp;</td>
				                      <td align="left">请填写有效邮箱，以便订单确认信、购物券等发送</td>
				                    </tr>
				                    <tr align="center"> 
				                      <td height="40" colspan="2">
				                      	<input type="submit" onclick="javascript:return createSpeedUser()" name="Submit32" value="登录" class="i04"> 
				                      </td>
				                    </tr>
				                 </form>
				               </table>
				             </td>
				           </tr>
				         </table>
				       </td>
				     </tr>
				   </table>
			     <table width="565" border="0" cellpadding="0" cellspacing="0" class="Process08_product_navimg03">
			       <tr>
			        <td></td>
			       </tr>
			     </table> 
			    </td>
			  </tr>
			</table>
<!---->
    	
    </td>
    <td background="<%=CONTEXT%>/img/QQ/i05.gif"></td>
  </tr>
  <tr>
    <td width="10" height="10"><img src="<%=CONTEXT%>/img/QQ/i06.gif" width="10" height="10"></td>
    <td background="<%=CONTEXT%>/img/QQ/i08.gif"></td>
    <td width="10" height="10"><img src="<%=CONTEXT%>/img/QQ/i07.gif" width="10" height="10"></td>
  </tr>
</table>
		