?? cashin.asp
字號:
<script language="JavaScript" src="inc/cashin.js"></script>
<%if Request.Cookies("venshop")("user_name")<>"" then
set rs=server.createobject("adodb.recordset")
sql="select * from venshop_user where username='"&Request.Cookies("venshop")("user_name")&"'"
rs.open sql,conn,1,1
if not rs.eof then
usernamec=rs("user_namec")
user_tel=rs("user_tel")
usermail=rs("usermail")
user_adds=rs("user_adds")
user_postcode=rs("user_postcode")
end if
rs.close
set rs=nothing
end if%>
<div align="center">
<table width="100%" cellspacing="0" cellpadding="0"><form method="POST" language="javascript" onsubmit="return subform_onsubmit()" name="subform" action="cashsave.asp?action=subp">
<%if zengt=1 then%>
<tr><td height="26" width="19%" class="cartshowa"></td><td class="cartshowa"><b>
<img border="0" src="Skin/Blue/lb.gif" align="absmiddle"> 選擇贈品</b></td></tr>
<tr><td height="26" align="center" colspan="2">
<div class="d10"></div>
<table cellpadding=3 cellspacing=0 width="95%">
<tr><td colspan="4" class="cartshow0"><input type="radio" value="0" name="zp" checked><font color="#FF0000"> 請選擇贈品:每個訂單只可以選擇一個贈品,贈品有限請抓緊機會,贈品不負責退換!</font></td></tr>
<%set rs=server.createobject("adodb.recordset")
rs.open "select * from venshop_zp order by zp_full asc",conn,1,1
i=1
do while not rs.eof
i=-i%>
<tr<%if i=1 then%> class="cartshow0"<%else%> class="cartshow1"<%end if%>>
<td width="180"><input type="radio" value="<%=rs("zp_id")%>" name="zp"<%if totalcash<rs("zp_full") then%> DISABLED<%end if%>>
<%if totalcash<rs("zp_full") then%><font color="#0000FF">只差<%=rs("zp_full")-totalcash%>即可獲得此贈品!</font><%end if%></td>
<td width="200"><a style="font-size: 13px; font-weight: bold" href=viewzp.asp?zp_id=<%=rs("zp_id")%> target=_blank><%=rs("zp_name")%></a> (剩余<%=rs("zp_kucun")%>件)</td>
<td width="120">價值 <%=fuhao%><%=trim(rs("zp_price"))%><%=danwei%></td>
<td>滿<%=fuhao%><%=trim(rs("zp_full"))%><%=danwei%>送</td></tr>
<%rs.movenext
loop
rs.close
set rs=nothing%></table>
<div class="d10"></div>
</td></tr>
<%else%>
<input type="hidden" value="0" name="zp">
<%end if%>
<tr><td height="26" width="19%" class="cartshowa"></td><td class="cartshowa"><b>
<img border="0" src="Skin/Blue/lb.gif" align="absmiddle"> 請填寫訂貨人的詳細信息</b></td></tr>
<tr><td height="26" align="right" width="19%">姓名:</td><td><input type="text" name="sub_from" size="20" class=input value="<%=usernamec%>"></td></tr>
<tr><td height="26" align="right" width="19%">電話:</td><td><input type="text" name="sub_fromtel" size="20" class=input value="<%=user_tel%>"></td></tr>
<tr><td height="26" align="right" width="19%">E-mail:</td><td><input type="text" name="sub_frommail" size="20" class=input value="<%=usermail%>"></td></tr>
<tr><td height="26" align="right" width="19%">地址:</td><td><input style="FONT-SIZE: 12px; WIDTH: 210px" type="text" name="sub_fromadds" size="40" class=input value="<%=user_adds%>"></td></tr>
<tr><td height="26" align="right" width="19%">郵編:</td><td><input type="text" name="sub_frompost" size="10" class=input value="<%=user_postcode%>"></td></tr>
<tr><td height="26" width="19%" class="cartshowa"></td><td class="cartshowa"><b>
<img border="0" src="Skin/Blue/lb.gif" align="absmiddle"> 請填寫收貨人的詳細信息</b> <input name="be_username" type="checkbox" value="beusername" onClick="Fuc_BeUserName(this)">
<font color="#0000FF">復制訂貨人信息</font></td></tr>
<tr><td height="26" align="right" width="19%"><font color="#FF0000">* </font>客戶姓名:</td><td>
<input type="text" name="sub_to" size="20" class=input value="<%=usernamec%>"></td></tr>
<tr><td height="26" align="right" width="19%"><font color="#FF0000">* </font>聯系電話:</td><td>
<input type="text" name="sub_tel" size="20" class=input value="<%=user_tel%>"></td></tr>
<tr><td height="26" align="right" width="19%"><font color="#FF0000">* </font>
電子郵箱:</td><td>
<input type="text" name="sub_mail" size="20" class=input value="<%=usermail%>"></td></tr>
<tr><td height="26" align="right" width="19%"><font color="#FF0000">* </font>聯系地址:</td><td>
<input style="FONT-SIZE: 12px; WIDTH: 210px" type="text" name="sub_adds" size="40" class=input value="<%=user_adds%>"></td></tr>
<tr><td height="26" align="right" width="19%"> <font color="#FF0000">* </font>
郵政編碼:</td><td>
<input type="text" name="sub_post" size="10" class=input value="<%=user_postcode%>"></td></tr>
<tr><td height="26" align="right" valign="top" width="19%"><p style="margin-top: 5px; margin-bottom: 5px"><font color="#FF0000">* </font>到貨時間:</td>
<td valign="top"><%set rs=server.createobject("adodb.recordset")
rs.open "select id,totime from venshop_totime",conn,1,1
i=0
do while not rs.eof
i=i+1%>
<input type="radio" value="<%=rs("totime")%>" name="totime"<%if i=1 then response.write " checked"%>><%=rs("totime")%><br>
<%rs.movenext
loop
rs.close
set rs=nothing%></td></tr>
<tr><td height="10" align="right" valign="top"></td><td height="10"></td></tr>
<tr><td height="26" align="right" width="19%" valign="top">
<p style="margin-top: 5px; margin-bottom: 5px"><font color="#FF0000">*
</font>付款方式:</td><td><%set rs=server.createobject("adodb.recordset")
rs.open "select * from venshop_pay",conn,1,1
i=0
do while not rs.eof
i=i+1%><input type="radio" value="<%=rs("pay_id")%>/<%=rs("pay_name")%>" name="pay_id"<%if i=1 then response.write " checked"%>><%=rs("pay_name")%> <u>[<%=rs("pay_content")%>]</u><br>
<%rs.movenext
loop
rs.close
set rs=nothing%>
<%if paymentid<>0 then%>
<p style="margin-top: 5px; margin-bottom: 5px; margin-left:20px"><a href="help.asp?typeid=<%=paymentid%>" target=_blank><font color="#FF0000">關于付款方式的詳細說明>></font></a>
<%end if%>
</td></tr>
<tr><td height="10" align="right" valign="top"></td><td height="10"></td></tr>
<tr><td height="26" align="right" width="19%" valign="top">
<p style="margin-top: 5px; margin-bottom: 5px"><font color="#FF0000">*
</font>送貨方式:</td><td><%set rs=server.createobject("adodb.recordset")
rs.open "select * from venshop_ps",conn,1,1
i=0
do while not rs.eof
i=i+1%><input type="radio" value="<%=rs("ps_id")%>/<%=rs("ps_name")%>" name="ps_id"<%if i=1 then response.write " checked"%>><%=rs("ps_name")%> <u>[<%=rs("ps_content")%>, 一般<%=rs("ps_time")%>到貨, 收費<%=rs("ps_fei")%>元]</u><br>
<%rs.movenext
loop
rs.close
set rs=nothing%>
<%if psid<>0 then%>
<p style="margin-top: 5px; margin-bottom: 5px; margin-left:20px"><a href="help.asp?typeid=<%=psid%>" target=_blank><font color="#FF0000">關于送貨方式的詳細說明>></font></a>
<%end if%>
</td></tr>
<%if fapiao=1 then%>
<SCRIPT language=javascript1.2 src="inc/menu.js"></SCRIPT>
<tr><td height="26" align="right" width="19%">需要發票:</td><td><input type="radio" name="fapiao" value="1" onclick="menuclick(submenuf3,barf3)" id=barf3 style="cursor:hand;">需要
<input type="radio" name="fapiao" value="0" checked onclick="menuclick(submenuf2,barf2)" id=barf2 style="cursor:hand;">不需要
<u>(開發票需要加收稅點<%=shuidian%>%)</u>
</td></tr>
<tr id="submenuf3" style="DISPLAY: none;"><td width="19%" height="26" align="right">發票抬頭:</td><td><input style="FONT-SIZE: 12px; WIDTH: 210px" type="text" name="sub_taitou" size="40" class=input></td></tr>
<tr id="submenuf2" style="DISPLAY: none;"><td width="19%" align="right"></td><td></td></tr>
<%end if%>
<tr><td width="19%" height="26" align="right">缺貨處理:</td><td><input type="radio" name="quehuo" value="1">等待<input type="radio" name="quehuo" value="0" checked>從訂單取消</td></tr>
<tr><td width="19%" height="26" align="right">備注:<br>(50漢字內) </td><td><textarea style="FONT-SIZE: 12px; WIDTH: 250px" name="other" cols="30" rows="3"></textarea></td></tr>
<tr><td width="19%" height="26" align="right"></td>
<td><input type="image" src="img/regbutton.gif" name="submit"></td></tr></form></table></div>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -