/beta/Inquiry/xml2.asp
http://github.com/khaneh/Orders · ASP · 22 lines · 21 code · 1 blank · 0 comment · 2 complexity · 5140546badb24e3a59d043d7ff4293a8 MD5 · raw file
- <%@LANGUAGE="VBSCRIPT" CODEPAGE="1256"%>
- <!--#include file="../config.asp" -->
- <%
- InvItemID=request("id")
- if isNumeric(InvItemID) then
- InvItemID=clng(InvItemID)
- else
- InvItemID=0
- end if
- sql="SELECT * FROM InvoiceItems WHERE (ID='" & InvItemID &"') AND (Enabled=1)"
- set rs=Conn.Execute(sql)
- if (request("id")="") then
- response.write escape ("ÓØÑ ÎÇáí" )
- elseif (rs.EOF) then
- response.write escape ("ßÏ ßÇáÇ ÛáØ ÇÓÊ" )
- else
- response.write escape( rs("name") & "#" & rs("type") & "#" & rs("fee") & "#" & rs("hasVat"))
- end if
-
- rs.close()
- conn.close()
- %>