itroom_1.asp 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <!--#include file="Inc/common.asp"-->
  2. <!--#include file="Inc/MD5.asp"-->
  3. <!--#include file="Inc/Function.asp"-->
  4. <!--#include file="Admin_Common.asp"-->
  5. <%
  6. response.Expires = 0
  7. Dim uid, rse, width, rsRole, isAdmin
  8. uid = trim(request("uid"))
  9. if trim(Lcase(AdminName)) = "admin" then
  10. isAdmin = true
  11. else
  12. isAdmin = false
  13. end if
  14. %>
  15. <script type="text/javascript" src="js/share.js"></script>
  16. <link href="bs2010.css" rel="stylesheet" type="text/css" />
  17. <div class="mainbg">
  18. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  19. <tr>
  20. <td valign="top">
  21. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  22. <tr>
  23. <td height="25">&nbsp;</td>
  24. </tr>
  25. </table>
  26. <table width="100%" border="0" cellspacing="1" cellpadding="0">
  27. <tr>
  28. <td width="25" height="25" align="center" style="border-bottom:1px dotted #CCCCCC"><img src="images/system_status.gif" width="13" height="13" /></td>
  29. <td width="65" style="border-bottom:1px dotted #CCCCCC"><img src="images/title_system_status.gif" /></td>
  30. <td style="border-bottom:1px dotted #CCCCCC" id="td_alarm">
  31. <!--#include file="codeAlarm.asp"-->
  32. </td>
  33. </tr>
  34. </table>
  35. <table width="848" border="0" align="center" cellpadding="0" cellspacing="0">
  36. <tr>
  37. <td height="576" valign="top" background="images/itroom/1.gif">
  38. <div id="th1" style="width:36px; height:32px; position:absolute; z-index:20px; margin-left:308px; margin-top:176px; text-align:right;" class="itroom_font">
  39. <div id="Temp1" style="width:36px; height:16px;"><%=status_Temp("WTH10_1_status","WTH10_1_Temp")%></div>
  40. <div id="Humidity1" style="width:36px; height:16px;"><%=status_rsHumidity("WTH10_1_status","WTH10_1_Humidity")%></div>
  41. </div>
  42. <div id="th2" style="width:36px; height:32px; position:absolute; z-index:20px; margin-left:314px; margin-top:87px; text-align:right;" class="itroom_font">
  43. <div id="Temp2" style="width:36px; height:16px;"><%=status_Temp("WTH10_2_status","WTH10_2_Temp")%></div>
  44. <div id="Humidity2" style="width:36px; height:16px;"><%=status_rsHumidity("WTH10_2_status","WTH10_2_Humidity")%></div>
  45. </div>
  46. <div id="th3" style="width:36px; height:32px; position:absolute; z-index:20px; margin-left:534px; margin-top:87px; text-align:right;" class="itroom_font">
  47. <div id="Temp3" style="width:36px; height:16px;"><%=status_Temp("WTH10_3_status","WTH10_3_Temp")%></div>
  48. <div id="Humidity3" style="width:36px; height:16px;"><%=status_rsHumidity("WTH10_3_status","WTH10_3_Humidity")%></div>
  49. </div>
  50. <div id="th4" style="width:36px; height:32px; position:absolute; z-index:20px; margin-left:553px; margin-top:176px; text-align:right;" class="itroom_font">
  51. <div id="Temp4" style="width:36px; height:16px;"><%=status_Temp("WTH10_4_status","WTH10_4_Temp")%></div>
  52. <div id="Humidity4" style="width:36px; height:16px;"><%=status_rsHumidity("WTH10_4_status","WTH10_4_Humidity")%></div>
  53. </div>
  54. <div id="th5" style="width:36px; height:32px; position:absolute; z-index:20px; margin-left:597px; margin-top:367px; text-align:right;" class="itroom_font">
  55. <div id="Temp5" style="width:36px; height:16px;"><%=status_Temp("WTH10_5_status","WTH10_5_Temp")%></div>
  56. <div id="Humidity5" style="width:36px; height:16px;"><%=status_rsHumidity("WTH10_5_status","WTH10_5_Humidity")%></div>
  57. </div>
  58. <div id="th6" style="width:36px; height:32px; position:absolute; z-index:20px; margin-left:432px; margin-top:367px; text-align:right;" class="itroom_font">
  59. <div id="Temp6" style="width:36px; height:16px;"><%=status_Temp("WTH10_6_status","WTH10_6_Temp")%></div>
  60. <div id="Humidity6" style="width:36px; height:16px;"><%=status_rsHumidity("WTH10_6_status","WTH10_6_Humidity")%></div>
  61. </div>
  62. </td>
  63. </tr>
  64. </table>
  65. </td>
  66. </tr>
  67. </table>
  68. </div>
  69. <%
  70. Call CloseConn
  71. %>