%@ Language=VBScript %> <% Option Explicit %> <% Dim appid, rs appid = Request.Querystring("appid") ' Basic validation - must be numeric and positive If Not IsNumeric(appid) Or CLng(appid) < 1 Then Response.Redirect("displayapplications.asp") Response.End End If appid = CLng(appid) ' Convert to long integer Dim theme theme = Request.Cookies("theme") IF theme = "" THEN theme="bg-theme1" END IF ' Simple query with validated integer Dim strSQL strSQL = "SELECT a.*, s.teamname, s.teamurl, o.appowner, o.sso " & _ "FROM applications a " & _ "INNER JOIN supportteams s ON a.supportteamid = s.supporteamid " & _ "INNER JOIN appowners o ON s.appownerid = o.appownerid " & _ "WHERE a.appid = " & appid set rs = objconn.Execute(strSQL) If rs.EOF Then Response.Redirect("displayapplications.asp") objConn.Close Response.End End If %>
Support Team:
App Owner:
SSO:
<% Dim installPath, docPath, appLink installPath = rs("installpath") & "" appLink = rs("applicationlink") & "" docPath = rs("documentationpath") & "" If appLink <> "" Then Response.Write("Application Link:
") End If If installPath <> "" Then Response.Write("Installation Files:
") End If If docPath <> "" Then Response.Write("Documentation:
") End If %>" & Server.HTMLEncode(rs("teamname")) & "
") Else Response.Write("" & Server.HTMLEncode(rs("teamname")) & "
") End If %>@geaerospace.com" title="Click here for Teams Chat"><%=Server.HTMLEncode(rs("appowner") & "")%>
<%=Server.HTMLEncode(rs("sso") & "")%>
<% If appLink <> "" Then Response.Write("") End If If installPath <> "" Then Response.Write("") End If If docPath <> "" Then Response.Write("") End If %>| <%Response.Write(rs("appname"))%>: |
| <%Response.Write(rs("applicationnotes"))%> |
| Article | Clicks |
|---|---|
| " target="_blank" title="<%=Server.HTMLEncode(kbDesc)%>" style="font-size: 1rem;"> <%=Server.HTMLEncode(kbDesc)%> | <% ' Display click count with badge styling (improved contrast for readability) If kbClicksNum = 0 Then Response.Write("" & kbClicks & "") ElseIf kbClicksNum < 10 Then Response.Write("" & kbClicks & "") ElseIf kbClicksNum < 50 Then Response.Write("" & kbClicks & "") Else Response.Write("" & kbClicks & "") End If %> |
") Response.Write("") Response.Write("No knowledge base articles found for this application.") Response.Write("
") End If rsKB.Close Set rsKB = Nothing %>