home *** CD-ROM | disk | FTP | other *** search
- <% Response.Expires = 0 %>
-
- <%
- REM LOCALIZATION
-
- L_PAGETITLE_TEXT = "Microsoft NNTP Server Administration"
- L_UNKNOWNUSERNAME_TEXT = "unknown"
-
- REM END LOCALIZATION
- %>
-
- <% svr = Session("svr") %>
-
- <!--#include file="_cnst.asp" -->
-
- <% if (cont = true) then %>
-
- <HTML>
- <HEAD>
- <TITLE><% = L_PAGETITLE_TEXT %></TITLE>
- </HEAD>
- <BODY BGCOLOR="#CCCCCC" TOPMARGIN=10 TEXT="#000000" LINK="#B90000" VLINK="#B90000" ALINK="#B90000">
-
- <TABLE cellpadding=2 cellspacing=0 BORDER="0" WIDTH="425">
- <% REM New List enumeration using document.write's and list data cached in javascript array in head frame %>
- <script language = "javascript">
-
- i = parseInt(parent.head.uForm.startNum) - 1;
- numSessions = parseInt(parent.head.uForm.numSessions);
- startNum = parseInt(parent.head.uForm.startNum);
- GroupsPerPage = parseInt(parent.head.uForm.GroupsPerPage);
-
- // old loop for ( i = 0; i < parent.head.uForm.numSessions; i++ )
-
- while( (i < numSessions) && ( i < (startNum + GroupsPerPage - 1) ) )
- {
- if( i == parent.head.uForm.selectedItem)
- {
- itemColor = '#F1F1F1';
- itemLink = '<A HREF="javascript:parent.head.uForm.disconnectUser()">';
- }
- else
- {
- itemColor = '#CCCCCC' ;
- itemLink = '<A HREF="javascript:parent.head.uForm.selectItem(' + i + ')">';
- }
- itemText = parent.head.uForm.itemList[i].username;
- if( itemText == "")
- {
- itemText = "<% = L_UNKNOWNUSERNAME_TEXT %>";
- }
- itemFrom = parent.head.uForm.itemList[i].IPAddress;
- itemTime = parent.head.uForm.itemList[i].StartTime;
-
-
- listEntry = '<tr><td width="25"> </td>' +
- '<td bgcolor=' + itemColor + ' ALIGN="left" WIDTH=125><FONT SIZE=2 FACE="Arial"><A NAME="' +
- i + '">' + itemLink + itemText + '</font></a><br></td>' +
- '<td bgcolor=' + itemColor + ' ALIGN="left" WIDTH=125><FONT SIZE=2 FACE="Arial">' + itemFrom + '</font></a><br></td>' +
- '<td bgcolor=' + itemColor + ' ALIGN="left" WIDTH=150><FONT SIZE=2 FACE="Arial">' + itemTime + '</font></a><br></td>' +
- '</tr>';
-
- document.writeln( listEntry );
- i++
- }
- </script>
- <tr>
- <td width="25">
-
- </td>
- <td width="125">
-
- </td>
- <td width="125">
-
- </td>
- <td width="150">
-
- </td>
- </tr>
- </TABLE>
- </BODY>
- </HTML>
-
- <% end if %>