⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 u_center.asp

📁 网店批发系统,很好很强大,很好很强大很好很强大
💻 ASP
📖 第 1 页 / 共 2 页
字号:
        <td align="left">收件人:<input type="text" value="<%=MsgDetail(3)%>" class="input" /></td>
      </tr>
	  <tr>
        <td align="left">内容&nbsp;&nbsp;&nbsp;:<textarea class="input" style="width:90%;height:100px; vertical-align:middle"><%=MsgDetail(1)%></textarea></td>
      </tr>
</table>	
<%
	end if
%>
<%
	end if	
'**************************************************************************************************		
	if action = "Pinglun" then
%>
	<table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="clear:right;margin-top:15px;">
	  <tr>
		<td align="center" bgcolor="#F6F6F6" style="border-bottom:1px solid #CCCCCC;border-top:1px solid #CCCCCC;" height="30">商品名称</td>
		<td align="center" bgcolor="#F6F6F6" style="border-bottom:1px solid #CCCCCC;border-top:1px solid #CCCCCC;">评论人</td>
		<td align="center" bgcolor="#F6F6F6" style="border-bottom:1px solid #CCCCCC;border-top:1px solid #CCCCCC;">添加时间</td>
		<td align="center" bgcolor="#F6F6F6" style="border-bottom:1px solid #CCCCCC;border-top:1px solid #CCCCCC;">操作</td>
	  </tr>
<%
		if PinglunNum <> -1 then
			i = PinglunNum + 1
		
			if Cint(Page*PageNum-1)<Cint(i-1) then
				PageEnd = Page*PageNum-1
			else
				PageEnd = i-1
			end if
			
			for j = (Page-1)*PageNum to PageEnd
%>
	  <tr>
		<td align="center" style="border-bottom:1px solid #CCCCCC;"><a href="ProductDetail.asp?ProID=<%=Pinglun(4,j)%>" target="_blank"><%=Pinglun(1,j)%></a></td>
		<td align="center" style="border-bottom:1px solid #CCCCCC;" height="24"><%=Pinglun(2,j)%></td>
		<td align="center" style="border-bottom:1px solid #CCCCCC;"><%=Pinglun(3,j)%></td>
		<td align="center" style="border-bottom:1px solid #CCCCCC;"> <a href="UserCenter.asp?action=Pinglun&act=del&ID=<%=Pinglun(0,j)%>" onclick="return confirm('您确认要删除吗?');">删除</a></td>
	  </tr>	
<%
			next
		end if
%>
	</table>
	
	<table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="clear:right;margin-top:15px;">
	  <tr>
		<td>
<%
	call PageTable()
%>		
		</td>
	  </tr>
	</table>
<%	
	end if
'**************************************************************************************************	
	if action = "ViewDingDan" then	
%>
<script language="javascript">
	var http = getHTTPObject(); // We create the HTTP Object
	
	function handleHttpResponse() 
	{

	  	if (http.readyState == 4) {
	
		// Split the comma delimited response into an array
	
		results = http.responseText;
		
			if (results == "OK")
			{
				document.getElementById('DingdanMsg').style.display = "none";
			}
		
	  	}
	
	}

	function getHTTPObject()
	{
		var http=null;
		if(window.ActiveXObject)
		{
			http=new ActiveXObject("Msxml2.XMLHTTP");
			if(!http)
			{
				http=new ActiveXObject("Microsoft.XMLHTTP");
			}
		}
		else if(window.XMLHttpRequest)
		{
			http=new XMLHttpRequest();
		}
		return http
	}
	
	function checkDing(ZIP,id) {
	
	  var zipValue = ZIP;
	  
	  var url = "Usercenter.asp?action=ViewDingDan&act=edit&ID=<%=ID%>&DingDanStage=1";
	  
	  window.location.href=url;
	  
	  //document.getElementById(id).disabled = true;
	  
	  //document.getElementById('DingdanMsg').style.display = "block";
	
	  //http.open("GET", url , true);
	  
	  //http.onreadystatechange = handleHttpResponse;
		
	  //http.send(null);
	
	 }
</script>
<table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="clear:right;margin-top:15px;">
<form name="DingForm" method="post" action="Usercenter.asp?action=ViewDingDan&act=edit&ID=<%=ID%>">
  <tr>
    <td align="center"><img src="images/step1.gif" /></td>
    <td align="center"><img src="images/steparrow.gif" /></td>
    <td align="center"><img src="images/step2.gif" /></td>
    <td align="center"><img src="images/steparrow.gif" /></td>
    <td align="center"><img src="images/step3.gif" /></td>
    <td align="center"><img src="images/steparrow.gif" /></td>
    <td align="center"><img src="images/step4.gif" /></td>
    <td rowspan="2" align="center" width="100">&nbsp;</td>
  </tr>
  <tr>
    <td align="center">商家已确认 <input name="DingDanStage" id="Stage1" type="checkbox" value="1" disabled="disabled"  <%if Cint(DingDan(6,j)) > 0 then%>checked="checked"<%end if%>/></td>
    <td align="center">&nbsp;</td>
    <td align="center">用户已付款 <input name="DingDanStage" id="Stage2" type="checkbox" value="1" onclick="checkDing(<%=DingDan(0,j)%>,'Stage2')" <%if Cint(DingDan(6,j)) <> 1 then%>disabled="disabled"<%end if%> <%if Cint(DingDan(6,j)) > 1 then%>checked="checked"<%end if%> /></td>
    <td align="center">&nbsp;</td>
    <td align="center">商家已发货 <input name="DingDanStage" id="Stage3" type="checkbox" value="1" disabled="disabled" <%if Cint(DingDan(6,j)) > 2 then%>checked="checked"<%end if%>/></td>
    <td align="center">&nbsp;</td>
    <td align="center">用户已收货 <input name="DingDanStage" id="Stage4" type="checkbox" value="1" onclick="checkDing(<%=DingDan(0,j)%>,'Stage4')" <%if Cint(DingDan(6,j)) <> 3 then%>disabled="disabled"<%end if%> <%if Cint(DingDan(6,j)) > 3 then%>checked="checked"<%end if%> /></td>
  </tr>
  <tr><td colspan="8" align="left"><div id="DingdanMsg" style="position:absolute;margin-top:30px; background-color:#FFFFFF; border:2px solid #000000;padding:20px 0 20px 0; width:100%; text-align:center; display:none;">请稍候,正在保存中...</div></td></tr>
  </form>
</table>
	  
	  	<table width="100%" border="0" cellpadding="0" cellspacing="0" style="clear:right;margin-top:15px;">
      <tr>
        <td width="50" height="30" align="center" bgcolor="#F6F6F6" style="border-bottom:1px solid #CCCCCC;border-top:1px solid #CCCCCC;">商品编号</td>
		<td align="center" bgcolor="#F6F6F6" style="border-bottom:1px solid #CCCCCC;border-top:1px solid #CCCCCC;">商品名称</td>
		<td width="70" align="center" bgcolor="#F6F6F6" style="border-bottom:1px solid #CCCCCC;border-top:1px solid #CCCCCC;">商品数量</td>
		<td width="100" align="center" bgcolor="#F6F6F6" style="border-bottom:1px solid #CCCCCC;border-top:1px solid #CCCCCC;">商品价格</td>
		<td width="70" align="center" bgcolor="#F6F6F6" style="border-bottom:1px solid #CCCCCC;border-top:1px solid #CCCCCC;">小计</td>
      </tr>
<%
	for j = 0 to i
%>
	  <tr>
	    <td height="30" style="border-bottom:1px solid #CCCCCC;" align="center"><%=DingDan(0,j)%></td>
        <td height="30" style="border-bottom:1px solid #CCCCCC;" align="left"><a href="ProductDetail.asp?ProID=<%=DingDan(0,j)%>" target="_blank"><%=DingDan(4,j)%></a></td>
		<td height="30" style="border-bottom:1px solid #CCCCCC;" align="center"><%=DingDan(1,j)%></td>
		<td height="30" style="border-bottom:1px solid #CCCCCC;" align="center">(<%=Info(0,0)%>价)<br /><%=Cint(DingDan(2,j)*UserLevelNum/100)%> 元</td>	
		<td height="30" style="border-bottom:1px solid #CCCCCC;" align="center"><%=Cint(DingDan(2,j)*UserLevelNum/100)*DingDan(1,j)%> 元</td>	
      </tr>
<%
	Num = Dingdan(7,0)
	next
%>
	  <tr>
	    <td colspan="5" height="30" style="font-size:14px;font-weight:bold;color: #FF6600">
<%
	if Cint(DingDan(6,0)) = 1 then
%>		
			经过与商家的协商,最后的订单总金额为 <%=Num%> 元
<%
	elseif Cint(DingDan(6,0)) = 0 then
%>
			商家在根据您下的订单配货并计算您订单加邮费后的实际价格,请您耐心等待......<br />
			<Font color="#000000" style="font-size:12px;">(目前订单总金额为<%=Num%>元,不建议现在支付)</Font>
            <%
	elseif Cint(DingDan(6,0)) = 2 then
%>
			您已成功支付,请耐心等待商家的回复......<br />
<%
	elseif Cint(DingDan(6,0)) = 3 then
%>
			商家的货物已发出,请您记得在收到货后改变订单状态来获得相应的积分<br />
<%
	else
%>
			交易已完成 本次购物您获得了<%=DingDan(8,0)%>积分
<%
	end if
%>
		</td>
      </tr>
	  </table>
	  
	  <table cellspacing="0" cellpadding="0" width="100%" align="right" border="0" style="clear:right;margin-top:40px;">
  <tbody>
    <tr>
      <td bgcolor="#cccccc"><table cellspacing="1" cellpadding="4" width="100%" border="0">
        <tbody>
          <tr bgcolor="#ffffff">
            <td width="15%" height="30" align="left" bgcolor="#eeeeee" class="tdsmbox">收货人姓名:</td>
            <td width="35%" align="left" class="tdsmbox"><%=UserInfo(0,0)%></td>
            <td width="15%" align="left" bgcolor="#eeeeee" class="tdsmbox">QQ / MSN:</td>
            <td width="35%" align="left" class="tdsmbox"><%=UserInfo(3,0)%></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td width="15%" height="30" align="left" bgcolor="#eeeeee" class="tdsmbox">联系电话:</td>
            <td width="35%" align="left" class="tdsmbox"><%=UserInfo(4,0)%></td>
            <td width="15%" align="left" nowrap="nowrap" bgcolor="#eeeeee" class="tdsmbox">支付方式:</td>
            <td width="35%" align="left" class="tdsmbox"><%=DingDan(9,0)%></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td width="15%" height="30" align="left" bgcolor="#eeeeee" class="tdsmbox">收货人邮编:</td>
            <td width="35%" align="left" class="tdsmbox"><%=UserInfo(2,0)%></td>
            <td width="15%" align="left" nowrap="nowrap" bgcolor="#eeeeee" class="tdsmbox">送货方式:</td>
            <td width="35%" align="left" class="tdsmbox"><%=DingDan(10,0)%></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td width="15%" height="30" align="left" bgcolor="#eeeeee" class="tdsmbox">收货人地址:</td>
            <td width="85%" colspan="3" align="left" class="tdsmbox"><%=UserInfo(1,0)%></td>
          </tr>
          <tr bgcolor="#ffffff">
            <td width="15%" height="30" align="left" bgcolor="#eeeeee" class="tdsmbox">备注:</td>
            <td width="85%" colspan="3" align="left" class="tdsmbox"><%=DingDan(5,0)%></td>
          </tr>
        </tbody>
      </table></td>
    </tr>
  </tbody>
</table>



	  <table cellspacing="0" cellpadding="0" width="100%" align="right" border="0" style="clear:right;margin-top:15px;">
	<form method="post" name="post" action="send.asp" target="_blank">
	 <tr>
        <td>
<%
		if config(33,0) = 0 then
			dim IDD
			IDD = DingDan(0,0)
%>
			<a href="Doalipay.asp?goodsTitle=<%=ID%>&hyj=<%=Num%>&pname=<%=config(1,0)%>&rurl=<%=config(1,0)%>"><img src="images/btn_cart2.gif" border="0" /></a>
			
<%
		end if
		if config(34,0) = 0 then
			dim v_mid,key,v_moneytype,style,v_amount
			
			set rs = conn1.execute("Select BUSSID,PrivateKey from webconfig")
			'商户号和MD5密钥
			v_mid = trim(rs(0))
			key   = trim(rs(1))
			v_moneytype=0
			style=0
			v_amount = CDbl(Num)
%>
				<input type=HIDDEN name="remark1"    value="<%=ID%>"> 	
				<input type=HIDDEN name="v_mid"    value="<%=v_mid%>"> 	
				<input type=HIDDEN name="key"    value="<%=key%>"> 	
				<input type=HIDDEN name="v_amount" value="<%=v_amount%>">  
				<input type=HIDDEN name="v_moneytype"    value="<%=v_moneytype%>"> 
				<input type=HIDDEN name="style"    value="<%=style%>"> 
				<input type="image" src="images/btn_cart3.gif" style="font-size: 9pt" value="在线支付" name="v_action">		
<%
		end if
%></td>
      </tr> 
	 </form>
    </table>
<%	
	end if
'**************************************************************************************************	
	if action = "" then	
%>
    <table width="100%" border="0" align="right" cellpadding="0" cellspacing="0" style="clear:right;margin-top:15px;">
      <tr>
        <td><%=Username%>,<%=center(80)%></td>
      </tr>
    </table>
<%
	end if
%>
	</div>
</div>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -