PageRenderTime 33ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/ES/m009F3panel.asp

http://github.com/boss2009/ASP-site
ASP | 65 lines | 64 code | 1 blank | 0 comment | 1 complexity | 7a07c3473be93616b456f1e263fabcd9 MD5 | raw file
  1. <%@language="JAVASCRIPT"%>
  2. <!--#include file="../inc/ASPUtility.inc" -->
  3. <!--#include file="../Connections/cnnASP02.asp" -->
  4. <!--#include file="../inc/ASPCheckLogin.inc" -->
  5. <%
  6. var rsEquipmentService = Server.CreateObject("ADODB.Recordset");
  7. rsEquipmentService.ActiveConnection = MM_cnnASP02_STRING;
  8. rsEquipmentService.Source = "{call dbo.cp_get_eqp_srv("+ Request.QueryString("intEquip_Srv_id") + ",0,0,'',1,'Q',0)}";
  9. rsEquipmentService.CursorType = 0;
  10. rsEquipmentService.CursorLocation = 2;
  11. rsEquipmentService.LockType = 3;
  12. rsEquipmentService.Open();
  13. var rsFunction = Server.CreateObject("ADODB.Recordset");
  14. rsFunction.ActiveConnection = MM_cnnASP02_STRING;
  15. rsFunction.Source = "{call dbo.cp_FrmPanel(10)}";
  16. rsFunction.CursorType = 0;
  17. rsFunction.CursorLocation = 2;
  18. rsFunction.LockType = 3;
  19. rsFunction.Open();
  20. %>
  21. <html>
  22. <head>
  23. <title>Equipment Service Panel</title>
  24. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  25. <link rel="stylesheet" href="../css/PanelStyle.css" type="text/css">
  26. <script language="JavaScript">
  27. function openWindow(page, name){
  28. if (page!='nothing') win1=window.open(page, name, "width=400,height=200,scrollbars=1,status=1");
  29. return ;
  30. }
  31. </script>
  32. </head>
  33. <body onLoad="window.focus();">
  34. <table align="center" cellspacing="0" width="130">
  35. <tr>
  36. <td align="center"><a href="javascript: top.window.close();"><img src="../i/tn_service_01.jpg" ALT="Return to Main Menu." width="80" height="60"></a></td>
  37. </tr>
  38. <tr>
  39. <td height="18px" class="MenuItem" align="center"><a href="m009FS01.asp?intEquip_Srv_id=<%=Request.QueryString("intEquip_Srv_id")%>" target="BodyFrame">General Information</a></td>
  40. </tr>
  41. <tr>
  42. <td height="18px" class="MenuItem" align="center"><a href="m009e0201.asp?intEquip_Srv_id=<%=Request.QueryString("intEquip_Srv_id")%>" target="BodyFrame">Service Requested</a></td>
  43. </tr>
  44. <tr>
  45. <td height="18px" class="MenuItem" align="center"><a href="m009FS03.asp?intEquip_Srv_id=<%=Request.QueryString("intEquip_Srv_id")%>" target="BodyFrame">Service Performed</a></td>
  46. </tr>
  47. <tr>
  48. <td height="18px" class="MenuItem" align="center"><a href="m009FS04.asp?intEquip_Srv_id=<%=Request.QueryString("intEquip_Srv_id")%>&intShip_dtl_id=<%=rsEquipmentService.Fields.Item("intShip_dtl_id").Value%>" target="BodyFrame">Shipping Information</a></td>
  49. </tr>
  50. <tr>
  51. <td height="18px" class="MenuItem" align="center"><a href="m009e0501.asp?intEquip_Srv_id=<%=Request.QueryString("intEquip_Srv_id")%>" target="BodyFrame">EMail</a></td>
  52. </tr>
  53. <tr>
  54. <td height="18px" class="MenuItem" align="center">&nbsp;</td>
  55. </tr>
  56. <tr>
  57. <td height="18px" class="MenuItem" align="center"><a href="javascript: openWindow('m009a01j.asp?intEquip_Srv_id=<%=Request.QueryString("intEquip_Srv_id")%>','wj0901');" accesskey="D">Copy to DeskTop</a></td>
  58. </tr>
  59. </table>
  60. </body>
  61. </html>
  62. <%
  63. rsFunction.Close();
  64. %>