📄 check.jsp
字号:
<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<!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>无标题文档</title>
<link rel="stylesheet" href="lvzhi.css" type="text/css">
<STYLE type=text/css>TD {
FONT-SIZE: 12px; FONT-FAMILY: "宋体"
}
</STYLE>
<script language="javascript">
function setReceiverFormVisible(vGet)
{
if(vGet=='1'){
document.all.receiverinfo_form.style.display='none';
}else{
document.all.receiverinfo_form.style.display='block';
}
}
function checkinput()
{
var payName=document.mymainform.MypayName.value;
if (payName=="")
{
alert("付款人名称不能为空!");
document.mymainform.MypayName.focus();
return false;
}
var payPhone=document.mymainform.payPhone.value;
if (payPhone=="")
{
alert("付款人电话不能为空!");
document.mymainform.payPhone.focus();
return false;
}
if(document.mymainform.myrec2.checked==true)
{
var recName=document.mymainform.recName.value;
if (recName=="")
{
alert("收货人名称不能为空!");
document.mymainform.recName.focus();
return false;
}
var recPhone=document.mymainform.recPhone.value;
if (recPhone=="")
{
alert("收货人电话不能为空!");
document.mymainform.recPhone.focus();
return false;
}
}
return true;
}
</script>
</head>
<body bgcolor="#FFFFFF" topmargin="0">
<%@include file="top.jsp"%> <br>
<%
ShowCart("yes")
%>
<form name=mymainform id=mymainform action="CheckConfirm.jsp" method=post onSubmit="return checkinput();">
<table width="781" border="0" cellspacing="1" cellpadding="3" bgcolor="#DDFFFF" align="center">
<tr class="title">
<td width="773" colspan="7"><b>付款人信息</b>(姓名,电话必填项,客服确认后收款发货)</td>
</tr>
<tr class="bg2">
<td colspan="7" align="center">
<input type=radio name=myrec value="1" id=myrec1 onClick="setReceiverFormVisible('1')" checked>
付款人收货(付款与收货同一个人)
<input type=radio name=myrec value="2" id=myrec2 onClick="setReceiverFormVisible('2')">
其他人收货(付款送给其他人) </td>
</tr>
</table>
<table width="780" border="0" cellspacing="1" cellpadding="3" bgcolor="#DDFFFF" align="center">
<tr class="bg1">
<td width="14%">您的姓名: </td>
<td width="36%">
<input type="text" id="payMemo" name="payMemo" size=70 maxlength=140 value="" />
<input type="text" id="MypayName" name="MypayName" size=20 maxlength=40 value="<%=payName%>"> </td>
<td width="14%">联系电话: </td>
<td width="36%">
<input type="text" id="payPhone" name="payPhone" size=20 maxlength=40 value="<%=payPhone%>"> </td>
</tr>
<tr class="bg1">
<td width="14%">邮箱Email: </td>
<td width="36%">
<input type="text" id="payName" name="payEmail" size=20 maxlength=40 value="<%=payEmail%>"> </td>
<td width="14%">详细地址: </td>
<td width="36%">
<input type="text" id="payName" name="payAddress" size=20 maxlength=40 value="<%=payAddress%>"> </td>
</tr>
<tr class="bg1">
<td width="14%">送货时间: </td>
<td width="86%" colspan=3>
<select id="sendMonth" name="sendMonth">
<option value=1>1</option>
<option value=2>2</option>
<option value=3>3</option>
<option value=4>4</option>
<option value=5>5</option>
<option value=6>6</option>
<option value=7>7</option>
<option value=8>8</option>
<option value=9>9</option>
<option value=10>10</option>
<option value=11>11</option>
<option value=12>12</option>
</select>月
<select id="sendDay" name="sendDay">
<option value=1>1</option>
<option value=2>2</option>
<option value=3>3</option>
<option value=4>4</option>
<option value=5>5</option>
<option value=6>6</option>
<option value=7>7</option>
<option value=8>8</option>
<option value=9>9</option>
<option value=10>10</option>
<option value=11>11</option>
<option value=12>12</option>
<option value=13>13</option>
<option value=14>14</option>
<option value=15>15</option>
<option value=16>16</option>
<option value=17>17</option>
<option value=18>18</option>
<option value=19>19</option>
<option value=20>20</option>
<option value=21>21</option>
<option value=22>22</option>
<option value=23>23</option>
<option value=24>24</option>
<option value=25>25</option>
<option value=26>26</option>
<option value=27>27</option>
<option value=28>28</option>
<option value=29>29</option>
<option value=30>30</option>
<option value=31>31</option>
</select>日 (最好提前1天预定,当天加急配送的,请电话13910250117确定)
<%
dim sendMonth,sendDay,mysend
mysend=DateAdd("d",1,now())
sendMonth=Month(mysend)
sendDay=day(mysend)
%>
<script language="javascript">
document.mymainform.sendMonth.selectedIndex=<%=(sendMonth-1)%>
document.mymainform.sendDay.selectedIndex=<%=(sendDay-1)%>
</script> </td>
</tr>
<tr class="bg1">
<td width="14%">特定说明: </td>
<td width="86%" colspan=3> </td>
</tr>
</table>
<br>
<!--其他人收货-->
<table width="780" border="0" cellspacing="1" cellpadding="3" bgcolor="#DDFFFF" align="center">
<tr class="title">
<td width="486"><b>其他人收货<font color="#DDFFFF">(选择其他人收货时候显示这栏内容)</font></b></td>
<%
if (session("userautoid")>0) then
%>
<td width="279">你曾经送过的朋友:
<select id=recsex name=recsex class="buy_box">
<option value=m>1</option>
<option value=f>2</option>
</select>
</td>
<%
end if
%>
</tr>
</table>
<div style="display:none" id="receiverinfo_form">
<table width="760" border="0" cellspacing="1" cellpadding="3" bgcolor="#4a4a4a" align="center">
<tr class="bg1">
<td width="15%">姓 名:</td>
<td width="40%">
<input type="text" id="recName" name="recName" size=20 maxlength=40 value="">
</td>
<td width="15%">
称 呼:
</td>
<td width="30%">
<select id=recsay name=recsay class="buy_box">
<option value=0>小姐</option>
<option value=1>女士</option>
<option value=2>先生</option>
</select>
</td>
</tr>
<tr class="bg1">
<td width="15%">城 市:
</td>
<td width="40%">
北京市(目前只送北京)
</td>
<td width="15%">
收货人联系电话:
</td>
<td width="30%">
<input type="text" id="recPhone" name="recPhone" size=20 maxlength=40 value="">
</td>
</tr>
<tr class="bg1">
<td width="15%">
收货人详细地址:
</td>
<td colspan="3" >
<input type="text" id="recAddress" name="recAddress" size=60 maxlength=80 value="">
</td>
</tr>
<tr class="bg1">
<td width="15%">
特殊说明:
</td>
<td colspan="3" >
<input type="text" id="recMemo" name="recMemo" size=60 maxlength=80 value="">
(送贺卡赠言内容等信息)
</td>
</tr>
<tr class="bg1">
<td>电子邮件:
</td width="15%">
<td width="40%">
<input id=recemail name=recemail type=text value="">
</td>
<td width="15%">
送货名义:
</td>
<td width="30%">
<input type=radio name=whosend value="1">你的姓名送
<input type=radio name=whosend value="2" checked >匿名,某人送
</td>
</tr>
</table>
</div>
<TABLE width=760 cellspacing=0 cellpadding=0 border=0>
<TR>
<TD height=3></TD>
</TR>
</TABLE>
<table width="782" border="0" cellspacing="1" cellpadding="3" bgcolor="#DDFFFF" align="center">
<tr class="title">
<td width="774" colspan="7" ><b>送货范围及费用说明(目前只配送长春净月地区)</b></td>
</tr>
</table>
<table width="780" border="0" cellspacing="1" cellpadding="3" bgcolor="#DDFFFF" align="center">
<tr class="bg1">
<td width="772"><input type=radio name="send" value="1" checked >
付款人和收货人相同,净月区内收送货费10元</td>
</tr>
<tr class="bg1">
<td><input type=radio name="send" value="2" >
付款人和收货人不同,不过付款人和收货人都在净月区内,另加收上门收款费用5元</td>
</tr>
<tr class="bg1">
<td><input type=radio name="send" value="3" >
长春市其他地区,一般暂定20元,或电话确定送货费用。</td>
</tr>
<tr class="bg1">
<td><input type=radio name="send" value="4" > 加急配送请电话联系确定,配送费用协商定,一般定为30元</td>
</tr>
</table>
<TABLE width=760 cellspacing=0 cellpadding=0 border=0>
<TR>
<TD height=3></TD>
</TR>
</TABLE>
<input type=hidden name=direct value="direct">
<TABLE width=782 cellspacing=1 cellpadding=3 border=0 bgcolor="#4a4a4a" align="center">
<tr class="title">
<td width="774" align="center" background="images/colorback.gif">
<INPUT TYPE="submit" value=" 确 认 并 提 交 " class="button" name="submit2">
</td>
</tr>
</table>
</form>
<%@include file="buttom.jsp"%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -