%@ Language=VBScript %> <% Dim appid, rs, theme, kbClicks, kbDesc, kbClicksNum Dim strSQL, installPath, docPath, appLink, teamUrl Dim rsKB, sqlKB, appName, rsSupportTeams, sqlSupportTeams Dim rsAppOwners, sqlAppOwners appid = Request.Querystring("appid") ' Get highlight parameter for shared links Dim highlightId highlightId = Request.QueryString("highlight") ' 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 theme = Request.Cookies("theme") IF theme = "" THEN theme="bg-theme1" END IF ' Simple query with validated integer 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 %>
" & Server.HTMLEncode(appDescription) & "
") End If %>Support Team:
App Owner:
SSO:
<% 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 %>| <%=Server.HTMLEncode(rs("appname") & "")%>: |
| <%=rs("applicationnotes") & ""%> |
| Article | Clicks | Share |
|---|---|---|
| <%=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 %>