%@ LANGUAGE="VBSCRIPT" %> <%Response.Buffer=true%> <% Dim CommandText,ConnecObj Dim M_let,M_cont_id,M_coun_id,M_stat_id,M_city_id,M_cate_id,M_user_id,DefCurr,M_Selected_id(100,2),M_cPage Dim M_arrLimit Set ConnecObj=Server.CreateObject("ADODB.Connection") ConnecObj.Open "orientaljewels","plunia","PL765$" M_user_id=Session("user_id") If Session("cont_id")="" then Session("cont_id")=8 Session("coun_id")=0 Session("stat_id")=0 Session("city_id")=0 End if M_cate_id=Request.QueryString("cate_id") %>
|
ORIENTAL JEWELS INC. 301 EAST 47th Street #14A NEW YORK, N.Y.-10017 TELEPHONE : 212-486-0423 FAX: 212-759-4434 |
<%
If Session("user_id")="" then%>
Action4bid - User LoginInvalid access - Please use login box to access your INBOX. Request through entering proper user ID and password is allowed ONLY. <% Else '************Accepting the data ******* Dim M_from_id,M_ord_date,M_ref_no,M_delivery_pt,M_mode_of_pymt Dim M_pymt_spec,M_fre_tax_incl,M_order_text,M_special_remarks ReDim Preserve M_to_id(0) ReDim Preserve M_prod_name(0) ReDim Preserve M_price(0) M_from_id = M_user_id '********** i=1 ItemNos = Session("ItemNoArray") ItemQtys = Session("ItemQtyArray") WHILE (i<=UBOUND(ItemNos,1)) CommandText="Select * from storeTB where item_id=" & ItemNos(i) Set RS_seleItem = ConnecObj.Execute(CommandText,RecordsAffected,adCmdText) IF (NOT RS_seleItem.EOF) then ReDim Preserve M_to_id(UBOUND(M_to_id,1)+1) ReDim Preserve M_prod_name(UBOUND(M_prod_name,1)+1) ReDim Preserve M_price(UBOUND(M_price,1)+1) M_to_id(i) = RS_seleItem("user_id") M_prod_name(i) = RS_seleItem("brd_itm_name") M_price(i) = RS_seleItem("price") End if i=i+1 WEND M_ord_date = Replace(Request.Form("ord_date"),"'","''") M_ref_no = Replace(Request.Form("ref_no"),"'","''") M_delivery_pt = Replace(Request.Form("delivery_pt"),"'","''") M_mode_of_pymt = Replace(Request.Form("mode_of_pymt"),"'","''") M_pymt_spec = Replace(Request.Form("pymt_spec"),"'","''") M_fre_tax_incl = Replace(Request.Form("fre_tax_incl"),"'","''") M_order_text = Replace(Request.Form("order_text"),"'","''") M_special_remarks = Replace(Request.Form("special_remarks"),"'","''") '**************** Input Validation ************************************************************* Dim flag_Rdirect,err_str err_str="" If (LEN(TRIM(M_delivery_pt))=0 ) then err_str = err_str + "
| ||||||||||
|