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

📄 userorder.asp

📁 广州市拓尔家具网源码 后台:mrsystem 用户名密码admin
💻 ASP
字号:
<!--#Include File="inc/Check_Sql.asp"-->
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/Skin_css.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="inc/Function.asp"-->
<%If Session("UserName")="" Then
response.redirect"UserServer.asp"
end if%>

<SCRIPT language=javascript>
<!--

function chkitem(str)
{	
var strSource ="0123456789-";
var ch;
var i;
var temp;

for (i=0;i<=(str.length-1);i++)
{

ch = str.charAt(i);
temp = strSource.indexOf(ch);
if (temp==-1)
{
return 0;
}
}
if (strSource.indexOf(ch)==-1)
{
return 0;
}
else
{
return 1;
}
}

function order_onsubmit()
{
if (chkitem(document.order.OrderNum.value)==0)
{
alert("请输入正确的询价号。");
document.order.OrderNum.focus();
return false;
}
}
//-->
</SCRIPT>
<!--#include file="top.asp"-->
<table width="909" height="234" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="670" height="234" align="center" valign="top" bgcolor="#FFFFFF"><TABLE cellSpacing=0 cellPadding=0 width="100%" 
                              border=0>
      <TBODY>
        <TR>
          <TD class="title_b"></TD>
          <TD><TABLE cellSpacing=0 cellPadding=0 width="100%" 
                                border=0>
              <TBODY>
                <TR>
                  <TD width=98 class="title_c">会员中心</TD>
                  <TD width="555" class="title_right">&nbsp;</TD>
                </TR>
              </TBODY>
          </TABLE></TD>
        </TR>
        <TR>
          <TD vAlign=bottom colSpan=2 height=5><TABLE cellSpacing=0 cellPadding=0 width="100%" 
                                border=0>
              <TBODY>
                <TR>
                  <TD bgColor=#e3e3e3 
                                height=1></TD>
                </TR>
              </TBODY>
          </TABLE></TD>
        </TR>
      </TBODY>
    </TABLE>
      <TABLE width=98% align="center" cellPadding=4 cellSpacing=1>
        <TBODY>
          <TR vAlign=top >
            <TD  width="100%" height="18"><form action="orderofind.asp" method="post" name=order onSubmit="return order_onsubmit()" language=javascript>
                <p align="left" style="margin-bottom: 0"> <font color="#FF0000">亲爱的:&nbsp;</font><font size="3" face="Arial"><%=Session("UserName")%></font>
                    <%rs.close%>
                    <%


UserName=Session("UserName")
set Rs = Server.CreateObject("ADODB.recordset")
sql="select * from OrderList where UserName='"&UserName&"'"
rs.open sql,conn,1,1


%>
                </p>
              <p style="word-spacing: 0; margin-top: 0; margin-bottom: 0">  订单详细资料查询,请输入您要查询的询价号码
                <input type="text" name="OrderNum" size="16">
                    <input type="submit" value="查询" name="B1">
                </form>
                <div align="center">
                  <TABLE cellSpacing=0 cellPadding=0 width=100%>
                    <TBODY>
                      <TR>
                        <TD align=middle width="100%"><p align="left" style="word-spacing: 0; margin-top: 0; margin-bottom: 0">询价列表:</p>
                            <table border="0" cellpadding="2" cellspacing="1" width="100%" bgcolor="#f0f0f0">
                              <tr  class='tdbg'>
                                <td width="26%" align="center" height="26" bgcolor="#FFCC00"><font color="#000000">询价编号</font></td>
                                <td width="21%" align="center" height="26" bgcolor="#FFCC00"><font color="#000000">客户姓名</font></td>
                                <td width="53%" align="center" height="26" bgcolor="#FFCC00"><font color="#000000">对您的询价的处理情况</font></td>
                              </tr>
                              <% While Not rs.EOF %>
                              <tr >
                                <td width="26%" height="25" align="center" bgcolor="#FFFFFF"><%response.Write "&nbsp;<a href='#' onclick=""javascript:window.open('Orderofind.asp?OrderNum=" & rs("OrderNum") &"', 'newwindow', 'height=550, width=550, toolbar=no, menubar=no, scrollbars=auto, resizable=no, location=no, status=no')"" title='" & rs("OrderNum") & "'><font color='#FF0000'>" &rs("OrderNum") & "</font></a>"%>
                                </td>
                                <td width="21%" align="center" height="25" bgcolor="#FFFFFF"><%=rs("Receiver")%></td>
                                <td width="53%" align="center" height="25" bgcolor="#FFFFFF"><%If rs("Flag")="Yes" Then%>
                                  已处理
                                  <%else%>
                          <font color="#FF0000"> 未处理</font>
                          <%End If%>
                                </td>
                              </tr>
                              <%
rs.MoveNext
Wend
rs.close
%>
                          </table></TD>
                      </TR>
                    </TBODY>
                  </TABLE>
                </div></TD>
          </TR>
          <TR vAlign=top >
            <TD  width="100%" height="15">&nbsp;&nbsp; </TD>
          </TR>
        </TBODY>
      </TABLE></td>
    <td width="184" align="right" valign="top" bgcolor="#FFFFFF"><table width="180" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="34" class="title_left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;会员中心</td>
      </tr>
      <tr>
        <td height="20"><div align="center"><a href="UserEdit.asp">修改会员资料</a></div></td>
      </tr>
      <TR>
        <TD 
                            height=1 colspan="2" 
                            background=img/naSzarym.gif><IMG height=1 src="img/1x1_pix.gif" 
                              width=10></TD>
      </TR>
      <tr>
        <td height="20"><div align="center"><a href="UserEditPwd.asp">修改会员密码</a></div></td>
      </tr>
      <TR>
        <TD 
                            height=1 colspan="2" 
                            background=img/naSzarym.gif><IMG height=1 src="img/1x1_pix.gif" 
                              width=10></TD>
      </TR>
      <tr>
        <td height="20"><div align="center"><a href="UserOrder.asp">产品询价查询</a></div></td>
      </tr>
      <TR>
        <TD 
                            height=1 colspan="2" 
                            background=img/naSzarym.gif><IMG height=1 src="img/1x1_pix.gif" 
                              width=10></TD>
      </TR>
      <tr>
        <td height="20"><div align="center"><a href="Feedback.asp">我要留言</a></div></td>
      </tr>
      <TR>
        <TD 
                            height=1 colspan="2" 
                            background=img/naSzarym.gif><IMG height=1 src="img/1x1_pix.gif" 
                              width=10></TD>
      </TR>
      <tr>
        <td height="20"><div align="center"><a href="FeedbackMember.asp">查看我的留言</a></div></td>
      </tr>
      <TR>
        <TD 
                            height=1 colspan="2" 
                            background=img/naSzarym.gif><IMG height=1 src="img/1x1_pix.gif" 
                              width=10></TD>
      </TR>
      <tr>
        <td height="20"><div align="center"><a href="UserLogout.asp?Action=Ch">退出会员中心</a></div></td>
      </tr>
      <TR>
        <TD 
                            height=1 colspan="2" 
                            background=img/naSzarym.gif><IMG height=1 src="img/1x1_pix.gif" 
                              width=10></TD>
      </TR>
    </table></td>
    <td width="56">&nbsp;</td>
  </tr>
</table>
<!-- #include file="Inc/Foot.asp" -->

⌨️ 快捷键说明

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