<%@page contentType="text/html;charset=GBK" %>
<%
	String returnUrl = (String)request.getAttribute("returnUrl");
	if(!StringUtil.isEmpty(returnUrl)) {
%>
<SCRIPT>
window.location = '<%=CONTEXT + returnUrl%>'
</SCRIPT>
<%
	}
%>
<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="531" border="0" align="center" cellpadding="0" cellspacing="0">
				<tr>
			    <td height="25" align="center" bgcolor="2B579E"><font color=white size=2><b>提交错误</b></font></td>
			  </tr>
			</table>
			<table width="531" border="1" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#D4D4D4" bordercolordark="white">
			  <tr>
			    <td align="center"  bgcolor="f2f2f2">
			    	<p>&nbsp;</p>
			    	<p><%
			        	if(request.getAttribute("no_login_error") != null) { 
			        %>
			        &nbsp;&nbsp;您尚未登陆本网站。只有注册用户才能执行该操作。如果您是注册用户请登录，否则请注册。
			        <%
			        	} else if(request.getAttribute("sub_error") != null){
			        %>
			        您已经提交过订单，不能重复提交。
			        <%
			        	} else {
			        %>
			        您的购物车中没有商品，不能提交订单。
			        <%
			        	}
			        %></p>
			        <p>&nbsp;</p>
			    </td>
			    
			  </tr>
			  <tr  bgcolor="f2f2f2">
			    <td height="60" align="center">
			    	<%
			      	if(request.getAttribute("no_login_error") != null) { 
			      %>
			      <input type="button" onclick="javascript:gologin()" name="Submit32" value="登录网站" class="i04">
			      <%
			        	} else {
			        %>
			        <input type="button" onclick="javascript:window.location='<%=CONTEXT%>/index.jsp'" 
			        name="Submit322" value="继续购物" class="i04">
			        <%
			        	}
			        %>
										  
						  <input type="button" onclick="javascript:logout()" name="sub" value="退出商城" class="i04">
			    	</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>
