<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% ' *** Restrict Access To Page: Grant or deny access to this page MM_authorizedUsers="Admin,Member" MM_authFailedURL="index.asp" MM_grantAccess=false If Session("MM_Username") <> "" Then If (false Or CStr(Session("MM_UserAuthorization"))="") Or _ (InStr(1,MM_authorizedUsers,Session("MM_UserAuthorization"))>=1) Then MM_grantAccess = true End If End If If Not MM_grantAccess Then MM_qsChar = "?" If (InStr(1,MM_authFailedURL,"?") >= 1) Then MM_qsChar = "&" MM_referrer = Request.ServerVariables("URL") if (Len(Request.QueryString()) > 0) Then MM_referrer = MM_referrer & "?" & Request.QueryString() MM_authFailedURL = MM_authFailedURL & MM_qsChar & "accessdenied=" & Server.URLEncode(MM_referrer) Response.Redirect(MM_authFailedURL) End If %> <% Response.Expires = 0 %> DiCom Software - Customer Support
<%="Welcome, " & Session("svarNName")%>
   
Sections:
Home
Profile
User Committees
Knowledge Base
Forums
Downloads
Support Request
Logout
Forums

Section Menu:

<% If Request.QueryString("FID") <> "" Then Response.Write "

Back to list

" 'dtBegin = timer varFID = Request.QueryString("FID") iMyForumID = varFID ShowForum iMyForumID 'dtEnd = timer 'print "

" 'print "Processing took " & formatnumber(dtend - dtbegin, 2) & " seconds." 'print "

" Else Response.Write "

Below is a list of Forums to choose from. Forums related to specific User Committees will also appear in that User Committee's Section.

" set cDB = new DBClass cDB.Open sConnForum sSQL = "SELECT Forums.ForumID, Forums.Title, PageURL, COUNT(MsgID) AS Total " & _ "FROM Forums " & _ "LEFT JOIN Messages " & _ "ON (Forums.ForumID = Messages.ForumID) " & _ "GROUP BY Forums.ForumID, Forums.Title, Forums.PageURL" set rs = cDB.GetRS(sSQL) print "
" print "" print "" print "" do while not rs.eof print "" print "" print "" print "" rs.movenext loop print "

Forum Title

Messages

" print "" print "

" & rs("Title") & "

" print "

" & rs("Total") & "

" print "
" End If %>

 

 

DiCom Software Corporation - Copyright © 2003, All Rights Reserved
DiCom Software Home Page - Terms of Use and Privacy Statement