- <%@ page contentType="text/html;charset=gb2312" %>
- <% request.setCharacterEncoding("gb2312"); %>
- <%@ include file="include/config.jsp"%>
- <%@include file="include/bean.jsp"%>
- <%@include file="include/head.jsp"%>
- <html>
- <head>
- <title>欢迎来到乐趣工作室!</title>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <LINK href="../css/style.css" rel=stylesheet type=text/css>
- </head>
- <script language="JavaScript" src="../js/JsInclude.js"></script>
- <script language="javascript">
- function sub()
- {
- if(isWhitespace(document.form1.name.value))
- {
- alert("请输入联系人姓名!");
- document.form1.name.focus();
- return false;
- }
- if(isWhitespace(document.form1.mobilephone.value)&&isWhitespace(document.form1.tel.value))
- {
- alert("请输入联系手机或电话!");
- document.form1.mobilephone.focus();
- return false;
- }
- if(isWhitespace(document.form1.email.value))
- {
- alert("请输入电子邮件地址!");
- document.form1.email.focus();
- return false;
- }
- if(!isEmail(document.form1.email.value))
- {
- alert("请输入正确的电子邮件地址!");
- document.form1.email.focus();
- return false;
- }
- if(isWhitespace(document.form1.address.value))
- {
- alert("请输入联系地址!");
- document.form1.address.focus();
- return false;
- }
- if(isWhitespace(document.form1.zipcode.value))
- {
- alert("请输入邮政编码!");
- document.form1.zipcode.focus();
- return false;
- }
- if(document.form1.yudingxuzhi[1].checked)
- {
- alert("请先阅读预定须知!");
- return false;
- }
- document.form1.action="orderdetail.jsp";
- document.form1.submit();
- }
- </script>
- <body leftmargin="0">
- <%
- String id = request.getParameter("nextpar")==null?request.getParameter("id"):request.getParameter("nextpar");
- %>
- <form name="form1" method="post" action="../user/login.jsp">
- <input type="hidden" name="nextpage" value="../myshop/fillorder.jsp">
- <input type="hidden" name="nextpar" value="<%=id%>">
- <input type="hidden" name="id" value="<%=id%>">
- <%
- if(session.getAttribute("id") == null || session.getAttribute("id") == "")
- {
- %>
- <script language="javascript">
- document.form1.submit();
- </script>
- <%
- }
- String userid = (String)session.getAttribute("id");
- %>
- <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td><table width="760" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
- <tr>
- <td width="150"><img src="images/logo.gif" width="150" height="42"></td>
- <td width="500"> <div align="center"><img src="images/bannar.gif" width="458" height="60"></div></td>
- <td width="110"><table width="110" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td height="20" valign="middle"> <div align="center"><font size="2">设为首页
- </font></div></td>
- </tr>
- <tr>
- <td height="20" valign="middle"> <div align="center"><font size="2">设为首页
- </font></div></td>
- </tr>
- <tr>
- <td height="20" valign="middle"> <div align="center"><font size="2">设为首页
- </font></div></td>
- </tr>
- </table></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
- </tr>
- <tr>
- <td height="22" valign="middle" bgcolor="#FCCB05">
- <div align="center">
- <%@include file="include/board1.jsp"%>
- </div>
- </td>
- </tr>
- <tr>
- <td height="17" bgcolor="#FC9803"> </td>
- </tr>
- <tr>
- <td height="10"><img src="images/tmtp.gif" width="2" height="2"></td>
- </tr>
- </table>
- <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td width="150" valign="top"> <table width="150" border="0" cellpadding="0" cellspacing="0">
- <%@include file="include/board3.jsp"%>
- <tr>
- <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
- </tr>
- <tr>
- <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
- </tr>
- <tr>
- <td height="22" background="images/hydl3.jpg"><div align="center"><font size="2">联系方式</font></div></td>
- </tr>
- <tr>
- <td height="20" valign="bottom" background="images/hydl.jpg"><font size="2"> 电话:64704946</font></td>
- </tr>
- <tr>
- <td height="18" background="images/hydl.jpg"> <p><font size="2"> E-mail:</font></p></td>
- </tr>
- <tr>
- <td height="18" background="images/hydl.jpg"><font size="2"> MSN:</font></td>
- </tr>
- <tr>
- <td height="18" valign="top" background="images/hydl.jpg"><font size="2"> QQ:</font></td>
- </tr>
- <tr>
- <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
- </tr>
- <tr>
- <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
- </tr>
- <%@include file="include/board2.jsp"%>
- <tr>
- <td height="5" background="images/hydl.jpg"><img src="images/tmtp.gif" width="2" height="2"></td>
- </tr>
- <tr>
- <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
- </tr>
- <tr>
- <td height="5"><img src="images/tmtp.gif" width="2" height="2"></td>
- </tr>
- <tr>
- <td height="22" background="images/hydl3.jpg"><div align="center"><font size="2">友情链接</font></div></td>
- </tr>
- <tr>
- <td height="150" background="images/hydl.jpg"> </td>
- </tr>
- <tr>
- <td height="1"><img src="images/hydl2.jpg" width="150" height="1"></td>
- </tr>
- </table></td>
- <td width="610" valign="top"><table width="580" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
- <td height="30"> <div align="center"><strong><font color="#000000" size="3">在
- 线 订 购</font></strong></div></td>
- </tr>
- <tr>
- <td height="20" bgcolor="#FFCC00"><font size="2">订购信息: 您在预订时,请先阅读<a href="#">预订须知</a>。
- </font></td>
- </tr>
- <tr>
- <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
- </tr>
- <tr>
- <td> <table width="580" border="1" cellpadding="0" cellspacing="0" bordercolor="#CD9501" bordercolordark="#FFFFFF">
- <tr bgcolor="#FFFBEC">
- <td width="20%" height="25"> <div align="center"><font size="2">产品编号</font></div></td>
- <td width="20%" height="25"> <div align="center"><font size="2">产品名称</font></div></td>
- <td width="20%" height="25"> <div align="center"><font size="2">非会员价格</font></div></td>
- <td width="20%" height="25"> <div align="center"><font size="2">会员价格</font></div></td>
- <td width="20%" height="25"> <div align="center"><font size="2">订购数量</font></div></td>
- </tr>
- <%
- m_vct = order.getGoodsInfo(id);
- Vector t_vct = (Vector)m_vct.get(0);
- %>
- <tr>
- <td width="20%" height="25"> <div align="center"><%=((t_vct.get(0)).toString())==null?"":((t_vct.get(0).toString()))%></div></td>
- <td height="25"> <div align="center"><font size="2"><%=((String)(t_vct.get(1)))==null?"":((String)(t_vct.get(1)))%></font></div></td>
- <td width="20%" height="25"> <div align="center"><font size="2"><%=((t_vct.get(3)).toString())==null?"":((t_vct.get(3).toString()))%></font></div></td>
- <td width="20%" height="25"> <div align="center"><font size="2"><%=((t_vct.get(4)).toString())==null?"":((t_vct.get(4)).toString())%></font></div></td>
- <td width="20%" height="25"> <div align="center">
- <input name="ordernum" type="text" size="4" value="1">
- </div></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
- </tr>
- <tr>
- <td height="20" bgcolor="#FFCC00"><font size="2">联系信息:</font></td>
- </tr>
- <tr>
- <td height="5"><img src="images/tmtp.gif" width="2" height="2"></td>
- </tr>
- <%
- Vector u_vct = order.getUserInfo(userid);
- Vector t_u_vct = (Vector)u_vct.get(0);
- %>
- <tr>
- <td><table width="580" border="1" cellpadding="0" cellspacing="0" bordercolor="#CD9501" bordercolordark="#FFFFFF">
- <tr>
- <td width="100" height="30"> <div align="center"><font size="2">昵 称:</font></div></td>
- <td width="480" height="30"> <%=session.getAttribute("nickname")%></td>
- </tr>
- <tr>
- <td width="100" height="30"> <div align="center"><font size="2">联系人:</font></div></td>
- <td width="480" height="30"> <input type="text" name="name" value="<%=((String)(t_u_vct.get(0)))==null?"":((String)(t_u_vct.get(0)))%>"></td>
- </tr>
- <tr bgcolor="#FFFBEC">
- <td width="100" height="30"> <div align="center"><font size="2">手机:</font></div></td>
- <td width="480" height="30"> <input type="text" name="mobilephone" value="<%=((String)(t_u_vct.get(1)))==null?"":((String)(t_u_vct.get(1)))%>"></td>
- </tr>
- <tr>
- <td width="100" height="30"> <div align="center"><font size="2">电话:</font></div></td>
- <td width="480" height="30"> <input type="text" name="tel" value="<%=((String)(t_u_vct.get(2)))==null?"":((String)(t_u_vct.get(2)))%>"></td>
- </tr>
- <tr bgcolor="#FFFBEC">
- <td width="100" height="30"> <div align="center"><font size="2">传真:</font></div></td>
- <td width="480" height="30"> <input type="text" name="fax" value="<%=((String)(t_u_vct.get(3)))==null?"":((String)(t_u_vct.get(3)))%>"></td>
- </tr>
- <tr>
- <td width="100" height="30"> <div align="center"><font size="2">E_mail:</font></div></td>
- <td width="480" height="30"> <input type="text" name="email" value="<%=((String)(t_u_vct.get(4)))==null?"":((String)(t_u_vct.get(4)))%>"></td>
- </tr>
- <tr bgcolor="#FFFBEC">
- <td width="100" height="30">
- <div align="center"><font size="2">确认方式:</font></div>
- </td>
- <td width="480" height="30">
- <select name="confirm_type">
- <option value="01">电话确认</option>
- <option value="00">不用确认</option>
- <option value="02">FAX确认</option>
- <option value="03">Email确认</option>
- <option value="10">其他</option>
- </select>
- </td>
- </tr>
- <tr >
- <td width="100" height="30">
- <div align="center"><font size="2">付款方式:</font></div>
- </td>
- <td width="480" height="30">
- <select name="pay_type">
- <option value="00">款到发货</option>
- <option value="01">网上转帐</option>
- <option value="10">其他</option>
- </select>
- </td>
- </tr>
- <tr bgcolor="#FFFBEC">
- <td height="30"> <div align="center"><font size="2">邮寄地址:</font></div></td>
- <td height="30"> <input name="address" type="text" size="50" value="<%=((String)(t_u_vct.get(5)))==null?"":((String)(t_u_vct.get(5)))%>"></td>
- </tr>
- <tr>
- <td height="30"> <div align="center"><font size="2">邮政编码:</font></div></td>
- <td height="30"> <input type="text" name="zipcode" value="<%=((String)(t_u_vct.get(6)))==null?"":((String)(t_u_vct.get(6)))%>"></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td height="8"><font size="2"> <img src="images/tmtp.gif" width="2" height="2"></font></td>
- </tr>
- <tr>
- <td height="20" bgcolor="#FFCC00"><font size="2"> 特殊要求:</font></td>
- </tr>
- <tr>
- <td height="5"><img src="images/tmtp.gif" width="2" height="2"></td>
- </tr>
- <tr>
- <td><table width="580" border="1" cellpadding="0" cellspacing="0" bordercolor="#CD9501" bordercolordark="#FFFFFF">
- <tr>
- <td width="100" height="30" bgcolor="#FFFBEC">
- <div align="center">
- <font size="2">
- 特殊说明: </font></div></td>
- <td width="480" height="30">
- <table width="400" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="center">
- <textarea name="remark" cols="50" rows="6" maxlength="4000" maxchar=4000></textarea>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td width="100" height="30" bgcolor="#FFFBEC">
- <div align="center"><font size="2">预定须知:</font></div></td>
- <td width="480" height="30"> <font size="2"><input type="radio" name="yudingxuzhi" value="">同意 <input type="radio" name="yudingxuzhi" value="2" checked="true">不同意</font></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- <tr>
- <td align="center"> <input type="button" onclick="sub()" value="提交订单"></td>
- </tr>
- <tr>
- <td> </td>
- </tr>
- </table> </td>
- </tr>
- <tr>
- <td height="20" colspan="2" bgcolor="#FFCC00"><font size="2"> >>
- 合作伙伴</font></td>
- </tr>
- <tr>
- <td height="60" colspan="2" bgcolor="#FFFBEC">
- <table width="750" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
- <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
- <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
- <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
- <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
- <td><div align="center"><img src="images/2rich.gif" width="88" height="31"></div></td>
- </tr>
- <tr>
- <td><div align="center"></div></td>
- <td><div align="center"></div></td>
- <td><div align="center"></div></td>
- <td><div align="center"></div></td>
- <td><div align="center"></div></td>
- <td><div align="center"></div></td>
- </tr>
- </table></td>
- </tr>
- <tr>
- <td height="10" colspan="2"><hr size="1"></td>
- </tr>
- <tr>
- <td height="10" colspan="2"><div align="center"><font size="2">公司简介 | 公司简介
- | 公司简介 | 公司简介 | 公司简介 | 公司简介 | 公司简介 | 公司简介 </font></div></td>
- </tr>
- <tr>
- <td height="30" colspan="2"> <div align="center"><font size="2">Copyright
- ©乐趣工作室2rich.net 客户服务中心信箱:2rich@2rich.net </font></div></td>
- </tr>
- </table>
- </form>
- </body>
- </html>