PageRenderTime 21ms CodeModel.GetById 15ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/beta/Inquiry/xml2.asp

http://github.com/khaneh/Orders
ASP | 22 lines | 21 code | 1 blank | 0 comment | 2 complexity | 5140546badb24e3a59d043d7ff4293a8 MD5 | raw file
 1<%@LANGUAGE="VBSCRIPT" CODEPAGE="1256"%>
 2<!--#include file="../config.asp" -->
 3<%
 4InvItemID=request("id")
 5if isNumeric(InvItemID) then
 6	InvItemID=clng(InvItemID)
 7else
 8	InvItemID=0
 9end if
10sql="SELECT * FROM InvoiceItems WHERE (ID='" & InvItemID &"') AND (Enabled=1)"
11set rs=Conn.Execute(sql)
12if (request("id")="") then
13	response.write escape ("��� ����" )
14elseif (rs.EOF) then
15	response.write escape ("�� ���� ��� ���" )
16else
17    response.write escape( rs("name") & "#" & rs("type") & "#" & rs("fee") & "#" & rs("hasVat"))
18end if
19
20rs.close()
21conn.close()
22%>