/SQL/scripts/inc/mla_sql_error.asp

http://github.com/khaneh/Orders · ASP · 34 lines · 34 code · 0 blank · 0 comment · 0 complexity · 572f04815006f1f5c3c18363f5757db8 MD5 · raw file

  1. <%
  2. Sub mla_displayError(pErr, pStr)
  3. Dim myStrHTML
  4. closeConnection()
  5. %>
  6. <!-- #INCLUDE FILE="../inc/metaheader.asp" -->
  7. <BODY>
  8. <P>&nbsp;</P>
  9. <FORM METHOD=POST ACTION=#>
  10. <TABLE BORDER=0 CELLPADDING=2 CELLSPACING=0 CLASS="hcontent" WIDTH=50% ALIGN=CENTER SUMMARY="Error Information">
  11. <TR><TD CLASS="caption" COLSPAN=2><IMG SRC="../../themes/<% = mla_cfg_theme %>/images/action/error.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALIGN="MIDDLE" ALT="Error">&nbsp;<% = myTObj.getTerm(66) & " " & pErr.Number %></TD></TR>
  12. <TR>
  13. <TD><IMG SRC="../../themes/<% = mla_cfg_theme %>/images/obj32/error.gif" WIDTH="32" HEIGHT="32" BORDER=0 ALT="Error"></TD>
  14. <TD CLASS="forminfo"><B><% = myTObj.getTerm(66) & " " & pErr.Number %></B></TD>
  15. </TR>
  16. <TR>
  17. <TD>&nbsp;</TD>
  18. <TD>
  19. <P><% = pErr.Description %></P>
  20. <P><% = txt2html(pStr) %></P>
  21. </TD>
  22. </TR>
  23. <TR><TD COLSPAN=2>&nbsp;</TD></TR>
  24. <TR><TD COLSPAN=2 ALIGN=CENTER><INPUT TYPE="button" VALUE="<% = myTObj.getTerm(67) %>" onClick="history.go(-1);"></TD></TR>
  25. </TABLE>
  26. </FORM>
  27. <P>&nbsp;</P>
  28. </BODY>
  29. </HTML>
  30. <!-- #INCLUDE FILE="../inc/mla_sql_end.asp" -->
  31. <%
  32. Response.End
  33. End Sub
  34. %>