alarm.asp 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. <!--#include file="common.asp"-->
  2. <%
  3. Dim uid, rse, width, rsRole, isAdmin
  4. uid = request.Cookies("uid")
  5. if trim(Lcase(AdminName)) = "admin" then
  6. isAdmin = true
  7. else
  8. isAdmin = false
  9. end if
  10. set rse = conn.execute("select devicename from t_dev_property where uid = '" & uid & "'")
  11. %>
  12. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  13. <tr>
  14. <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  15. <tr>
  16. <td height="25">&nbsp;</td>
  17. </tr>
  18. </table>
  19. <table width="100%" border="0" cellspacing="1" cellpadding="0">
  20. <tr>
  21. <td width="25" height="25" align="center" style="border-bottom:1px dotted #CCCCCC"><img src="images/system_status.gif" width="13" height="13" /></td>
  22. <td width="65" style="border-bottom:1px dotted #CCCCCC"><img src="images/title_system_status.gif" /></td>
  23. <td style="border-bottom:1px dotted #CCCCCC" id="td_alarm">
  24. <!--#include file="codeAlarm.asp"-->
  25. </td>
  26. </tr>
  27. </table>
  28. </td>
  29. </tr>
  30. </table>