<% 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 %>
IDF
IDF
<%Response.Write(Server.HTMLEncode(rs("idfname")))%>

Intermediate Distribution Frame

Configuration

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 %>

" required maxlength="100" placeholder="e.g., Main-IDF, Floor-2-IDF">
>
"> ">
<% If Not IsNull(rs("maptop")) And Not IsNull(rs("mapleft")) And rs("maptop") <> "" And rs("mapleft") <> "" Then Response.Write("Current position: X=" & rs("mapleft") & ", Y=" & rs("maptop")) Else Response.Write("No position set - click button to select") End If %>
Cancel
<% rs.Close Set rs = Nothing objConn.Close %>