PageRenderTime 23ms CodeModel.GetById 18ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/beta/admin/errorDetails.asp

http://github.com/khaneh/Orders
ASP | 123 lines | 117 code | 5 blank | 1 comment | 0 complexity | a26c9f8ff1e7325612fe30070e234c6c MD5 | raw file
  1<%@LANGUAGE="VBSCRIPT" CODEPAGE="1256"%><%
  2' Admin
  3PageTitle=server.HTMLEncode("������ ���")
  4SubmenuItem=10
  5%>
  6<!--#include file="top.asp" -->
  7<style>
  8.myTable
  9TD { 
 10	border-bottom: 1pt solid black;
 11	border-left: 1pt solid gray;
 12	border-right: 1pt solid gray;
 13	}
 14</style>
 15<%
 16	session.codepage="1252"
 17
 18	errID = request("id")
 19
 20	mySQL = "SELECT errLog.[file] as myFile, errLog.[line] as myLine, errLog.*, Users.RealName, Users_1.RealName AS checkerName FROM errLog INNER JOIN Users ON errLog.errBy = Users.ID LEFT OUTER JOIN Users Users_1 ON errLog.CheckedBy = Users_1.ID where errLog.id = "& errID & " order by errLog.ID DESC"
 21	
 22	set myRS = Conn.Execute (mySQL)
 23
 24	aspCode		= myRS("ASPCode")
 25	Number		= myRS("Number")
 26	Source		= myRS("Source")
 27	Category	= myRS("Category")
 28	File		= myRS("File")
 29	Line		= myRS("Line")
 30	Column		= myRS("Column")
 31	Description = myRS("Description")
 32	Extended	= myRS("Extended")
 33	rform		= replace(replace(unescape(myRS("requestForm")),"&", "<br>"),"+"," ")
 34	rquerystring = replace(replace(unescape(myRS("requestQuerystring")),"&", "<br>"),"+"," ")
 35	rDate		= myRS("errDate")
 36	rTime		= myRS("errTime")
 37	httpReferer = myRS("httpReferer")
 38	clientIP	= myRS("clientIP")
 39	rURL		= myRS("url")
 40	RealName	= myRS("RealName")
 41	checkerName	= myRS("checkerName")
 42	CheckerComment	= myRS("CheckerComment")
 43
 44%>
 45<div dir="ltr"><BR><BR><BR>
 46<TABLE align="center" dir="ltr" style="border:0pt solid white; width=50%">
 47<TR>
 48	<TD align="right" bgcolor="bbbbbb" bgcolor="bbbbbb">aspCode:</TD>
 49	<TD align="left"> <%=aspCode%></TD>
 50</TR>
 51<TR>
 52	<TD align="right" bgcolor="bbbbbb">Number:</TD>
 53	<TD align="left"> <%=Number%></TD>
 54</TR>
 55<TR>
 56	<TD align="right" bgcolor="bbbbbb">Source:</TD>
 57	<TD align="left"> <%=Source%></TD>
 58</TR>
 59<TR>
 60	<TD align="right" bgcolor="bbbbbb">Category:</TD>
 61	<TD align="left"> <%=Category%></TD>
 62</TR>
 63<TR>
 64	<TD align="right" bgcolor="bbbbbb">File:</TD>
 65	<TD align="left"> <%=File%></TD>
 66</TR>
 67<TR>
 68	<TD align="right" bgcolor="bbbbbb">Line:</TD>
 69	<TD align="left"> <%=Line%></TD>
 70</TR>
 71<TR>
 72	<TD align="right" bgcolor="bbbbbb">Column:</TD>
 73	<TD align="left"> <%=Column%></TD>
 74</TR>
 75<TR>
 76	<TD align="right" bgcolor="bbbbbb">Description:</TD>
 77	<TD align="left"> <%=Description%></TD>
 78</TR>
 79<TR>
 80	<TD align="right" bgcolor="bbbbbb">Extended:</TD>
 81	<TD align="left"> <%=Extended%></TD>
 82</TR>
 83<TR>
 84	<TD align="right" bgcolor="bbbbbb">request.form:</TD>
 85	<TD align="left"> <%=replace(rform,"&","<br>")%></TD>
 86</TR>
 87<TR>
 88	<TD align="right" bgcolor="bbbbbb">request.querystring:</TD>
 89	<TD align="left"> <%=replace(replace(rquerystring,"&","<br>"),"_", " ")%></TD>
 90</TR>
 91<TR>
 92	<TD align="right" bgcolor="bbbbbb">Date:</TD>
 93	<TD align="left"> <%=rdate%></TD>
 94</TR>
 95<TR>
 96	<TD align="right" bgcolor="bbbbbb">Time:</TD>
 97	<TD align="left"> <%=rtime%></TD>
 98</TR>
 99<TR>
100	<TD align="right" bgcolor="bbbbbb">HTTP Referer:</TD>
101	<TD align="left"> <%=httpReferer%></TD>
102</TR>
103<TR>
104	<TD align="right" bgcolor="bbbbbb">Client IP:</TD>
105	<TD align="left"> <%=clientIP%></TD>
106</TR>
107<TR>
108	<TD align="right" bgcolor="bbbbbb">Real Name:</TD>
109	<TD align="left"> <%=server.HTMLEncode(RealName)%></TD>
110</TR>
111<TR>
112	<TD align="right" bgcolor="bbbbbb">checker Name:</TD>
113	<TD align="left"> <%=server.HTMLEncode(" " & checkerName)%></TD>
114</TR>
115<TR>
116	<TD align="right" bgcolor="bbbbbb">Checker Comment:</TD>
117	<TD align="left"> <%=CheckerComment%></TD>
118</TR>
119</TABLE><BR>
120<%
121session.codepage="1256"
122%>
123<!--#include file="tah.asp" -->