Customer Care
<% konsimentokodu1=Trim(Request("konsimentokodu1")) if request("izle")<>"" then response.redirect("izlemetakip_print1.asp?airwaybilno="&konsimentokodu1) end if ulkeadi=Request("ulkeadi") kilogram=Trim(Request("kilogram")) if request("hesapla")<>"" and kilogram<>"" then sql1="Select * from BOLGELER_LISTESI where KAYIT_NO="&ulkeadi&" " Set rs1=conn.execute(sql1) if not rs1.eof then teslim1=rs1("TESLIM_SURE1") teslim2=rs1("TESLIM_SURE2") bolgekodu=rs1("BOLGE_KODU") sql2="Select * from FIYAT_LISTESI where KILOGRAM="&Replace(kilogram,",",".")&" " Set rs2=conn.execute(sql2) if not rs2.eof then if bolgekodu=1 then fiyat1=rs2("FIYAT1") elseif bolgekodu=2 then fiyat1=rs2("FIYAT2") elseif bolgekodu=3 then fiyat1=rs2("FIYAT3") elseif bolgekodu=4 then fiyat1=rs2("FIYAT4") elseif bolgekodu=5 then fiyat1=rs2("FIYAT5") elseif bolgekodu=6 then fiyat1=rs2("FIYAT6") elseif bolgekodu=7 then fiyat1=rs2("FIYAT7") elseif bolgekodu=8 then fiyat1=rs2("FIYAT8") end if end if end if if Replace(kilogram,",",".")>=30 and Replace(kilogram,",",".")<=100 then kilogram1=kilogram-30 sql2="Select * from FIYAT_LISTESI where KILOGRAM=30 " Set rs2=conn.execute(sql2) if not rs2.eof then if bolgekodu=1 then fiyat1=rs2("FIYAT1")+(kilogram1*6.86) elseif bolgekodu=2 then fiyat1=rs2("FIYAT2")+(kilogram1*8.12) elseif bolgekodu=3 then fiyat1=rs2("FIYAT3")+(kilogram1*10.22) elseif bolgekodu=4 then fiyat1=rs2("FIYAT4")+(kilogram1*10.22) elseif bolgekodu=5 then fiyat1=rs2("FIYAT5")+(kilogram1*11.90) elseif bolgekodu=6 then fiyat1=rs2("FIYAT6")+(kilogram1*12.46) elseif bolgekodu=7 then fiyat1=rs2("FIYAT7")+(kilogram1*11.62) elseif bolgekodu=8 then fiyat1=rs2("FIYAT8")+(kilogram1*16.80) end if end if end if if Replace(kilogram,",",".")>=101 then kilogram2=kilogram-30 sql2="Select * from FIYAT_LISTESI where KILOGRAM=30 " Set rs2=conn.execute(sql2) if not rs2.eof then if bolgekodu=1 then fiyat1=rs2("FIYAT1")+(kilogram2*6.30) elseif bolgekodu=2 then fiyat1=rs2("FIYAT2")+(kilogram2*7.70) elseif bolgekodu=3 then fiyat1=rs2("FIYAT3")+(kilogram2*9.80) elseif bolgekodu=4 then fiyat1=rs2("FIYAT4")+(kilogram2*9.80) elseif bolgekodu=5 then fiyat1=rs2("FIYAT5")+(kilogram2*11.20) elseif bolgekodu=6 then fiyat1=rs2("FIYAT6")+(kilogram2*12.04) elseif bolgekodu=7 then fiyat1=rs2("FIYAT7")+(kilogram2*11.20) elseif bolgekodu=8 then fiyat1=rs2("FIYAT8")+(kilogram2*16.80) end if end if end if if Replace(kilogram,",",".")>=50 then kilogram3=kilogram-50 sql3="Select * from FIYAT_LISTESI where KILOGRAM=30 " Set rs3=conn.execute(sql3) if not rs3.eof then if bolgekodu=1 then fiyat1X=rs3("FIYAT1")+(kilogram3*4.20) elseif bolgekodu=2 then fiyat1X=rs3("FIYAT2")+(kilogram3*5.60) elseif bolgekodu=3 then fiyat1X=rs3("FIYAT3")+(kilogram3*6.30) elseif bolgekodu=4 then fiyat1X=rs3("FIYAT4")+(kilogram3*6.80) elseif bolgekodu=5 then fiyat1X=rs3("FIYAT5")+(kilogram3*6.90) elseif bolgekodu=6 then fiyat1X=rs3("FIYAT6")+(kilogram3*9.80) elseif bolgekodu=7 then fiyat1X=rs3("FIYAT7")+(kilogram3*10.80) elseif bolgekodu=8 then fiyat1X=rs3("FIYAT8")+(kilogram3*11.80) end if end if end if end if %> | |||||||||||||||||||||||||||||||||||||
<%if request("hesapla")<>"" and request("kilogram")<>"" then%>
|
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
.