<!--#include file="Inc/EnSysProduct.asp"-->
<!--#include file="inc/Skin_css.asp"-->
<%If Session("UserName")="" Then
response.redirect"EnUserServer.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("Input the correct Inquire number¡£");
document.order.OrderNum.focus();
return false;
}
}
//-->
</SCRIPT>
<!-- #include file="EnHead.asp" -->
<TABLE class="xmtable" border=0 align="center" cellPadding=0 cellSpacing=12 bgcolor="#FFFFFF">

  <tr> 
    <td  height="450" valign="top" Class="tdbg_left"><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="10"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td><% call ShowUserLogin() %>
              </td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td height="5"></td>
      </tr>
          </table>
      </td>
<TD width=1 background=images/MainLine.gif></TD>    
    <td width="670" valign="top" bgcolor="#FFFFFF"><table width="670" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><% If IsFlash10="Yes" Then %>
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="<%=width10%>" height="<%=High10%>">
              <param name="movie" value="<%=enBannerUrl10%>">
              <param name="quality" value="high">
              <param name="wmode" value="transparent">
              <embed src="<%=enBannerUrl10%>" width="<%=width10%>" height="<%=High10%>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
            </object>
            <% Else %>
            <img src="<%=enBannerUrl10%>" width="<%=width10%>" height="<%=High10%>">
            <% end If%>
        </td>
      </tr>
    </table>
      <br>
      <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=122 class="title_c">Member Center</TD>
                    <TD width="537" class="title_right">¡¡</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% height="327" align="center" cellPadding=4 cellSpacing=1>
      <TBODY>
        <TR vAlign=top >
          <TD  width="100%" height="301"><form action="Enorderofind.asp" method="post" name=order onSubmit="return order_onsubmit()" language=javascript>
              <p align="left" style="margin-bottom: 0"> <font color="#FF0000">Dear£º&nbsp;</font><font size="2" 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 align="center" style="word-spacing: 0; margin-top: 0; margin-bottom: 0">¡¡¡¡Inquire 
              detailed query, please input the order number that 
              you want to check <br>
                                          <input type="text" name="OrderNum" size="16">
                                          <input type="submit" value="Search" name="B1" Class="BUTTON">
                </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">Inquire 
                        list:</p>
                          <table border="0" cellpadding="0" cellspacing="1" width="100%" bgcolor="#f0f0f0">
                            <tr  class='tdbg'>
                              <td width="26%" align="center" height="26" bgcolor="#FFCC00">Inquire 
                                number</td>
                              <td width="21%" align="center" height="26" bgcolor="#FFCC00">Customer 
                                name</td>
                              <td width="53%" align="center" height="26" bgcolor="#FFCC00">To 
                                the process of your order</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('EnOrderofind.asp?OrderNum=" & rs("OrderNum") &"', 'newwindow', 'height=550,width=550, toolbar=no, menubar=no, scrollbars=yes, 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%>
                                Disposal
                                <%else%>
                          <font color="#FF0000"> Unsettled</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=1 background=images/MainLine.gif></TD>    
    <TD width="79" > </TD>
  </tr>
</table>
<!-- #include file="Inc/EnFoot.asp" -->
</BODY></HTML>