% theme = Request.Cookies("theme") IF theme = "" THEN theme="bg-theme1" END IF Dim idfid idfid = Request.Querystring("id") If Not IsNumeric(idfid) Then Response.Redirect("network_devices.asp?filter=IDF") Response.End End If strSQL = "SELECT * FROM idfs WHERE idfid = " & CLng(idfid) set rs = objconn.Execute(strSQL) If rs.EOF Then Response.Write("IDF not found") objConn.Close Response.End End If %>
Intermediate Distribution Frame
Name:
Description:
Location:
Status:
<%Response.Write(Server.HTMLEncode(rs("idfname")))%>
<% If Not IsNull(rs("description")) And rs("description") <> "" Then Response.Write(Server.HTMLEncode(rs("description"))) Else Response.Write("No description") End If %>
<% If Not IsNull(rs("maptop")) And Not IsNull(rs("mapleft")) And rs("maptop") <> "" And rs("mapleft") <> "" Then %> View on Map <% Else Response.Write("No location set") End If %>
<% If rs("isactive") Then Response.Write("Active") Else Response.Write("Inactive") End If %>