home *** CD-ROM | disk | FTP | other *** search
- <% Response.Expires = 0 %>
-
- <%
- REM LOCALIZATION
-
- L_PAGE_TITLETXT = "NS Administration"
- L_FEATURE_NYITXT = "This feature is not yet implemented."
- L_DISCONNECT_USERS = "Are you sure you want to disconnect all users?"
- L_ADDTXT = "Add..."
- L_REMOVETXT ="Remove"
- L_EDITTXT = "Edit Properties..."
- L_EDIT_TYPE_TXT = "Edit Feed Type..."
- L_PREVIOUSTXT = "Previous"
- L_NEXTTXT = "Next"
- L_DISCONNECTTXT = "Disconnect"
- L_DISCONNECTALLTXT = "Disconnect All"
- L_REFRESHTXT = "Refresh"
- L_SAVETXT = "Save"
- L_RESETTXT = "Reset"
-
- REM END LOCALIZATION
- %>
-
- <% pg = Request("pg") %>
- <% svr = Request("svr") %>
-
- <HTML>
- <HEAD>
- <TITLE><% = L_PAGE_TITLETXT %></TITLE>
-
- <SCRIPT LANGUAGE="javascript">
- <% if ( pg = "nnexppl" ) then %>
-
- function saveValues()
- {
- parent.main.uForm.checkPolicy();
- parent.menu.document.hiddenform.updated.value="false";
- parent.menu.document.hiddenform.submit();
- }
- <% elseif (pg = "nnvs") then %>
- function saveValues()
- {
- if(parent.main.userform.txtDirectory.value == "\\\\{server}\\{share}")
- {
- alert("A network directory must be specified");
- }
- else
- {
- hform = parent.menu.document.hiddenform;
- uform = document.userform;
- if (hform.updated.value == "true")
- {
- parent.main.uForm.writeForm();
- hform.save.value="apply";
- hform.updated.value = "false";
- parent.menu.document.forms[0].submit();
- }
- }
- }
- <% else %>
- function saveValues()
- {
- hform = parent.menu.document.hiddenform;
- uform = document.userform;
- if (hform.updated.value == "true")
- {
- if (hform.pg.value == "nnadv")
- {
- parent.main.body.uForm.writeForm();
- }
- else
- {
- parent.main.uForm.writeForm();
- }
- hform.save.value="apply";
- hform.updated.value = "false";
- parent.menu.document.forms[0].submit();
- }
- }
- <% end if %>
-
- function resetValues()
- {
- hform = parent.menu.document.hiddenform;
- uform = document.userform;
- if (hform.updated.value == "true")
- {
- hform.updated.value = "false";
- if ((hform.pg.value == "nnlog"))
- {
- parent.main.location = "nnlog.asp?svr=<% = svr %>&lgt=" + hform.rdoLogType.value;
- }
- else
- {
- if (hform.pg.value == "nnadv")
- {
- parent.main.body.uForm.readCache();
- }
- else
- {
- parent.main.readCache();
- }
- }
- }
- }
-
- function addItem()
- {
- top.main.head.uForm.addItem();
- }
-
- function editItem()
- {
- top.main.head.uForm.editItem();
- }
-
- function removeItem()
- {
- top.main.head.uForm.removeItem();
- }
-
- <% if ((pg = "nnses") OR (pg = "nngrp")) then %>
- function next()
- {
- top.main.head.uForm.next();
- }
-
- function previous()
- {
- top.main.head.uForm.previous();
- }
-
- function refresh()
- {
- top.main.head.uForm.refresh();
- }
-
- <% end if %>
-
- <% if (pg = "nnf") then %>
-
- function editType()
- {
- top.main.head.uForm.editType();
- }
-
- <% end if %>
-
- <% if ((pg = "nnses") OR (pg = "nngrp")) then %>
-
- function onUpdateList(nDirection)
- {
-
- <% if (pg = "nnses") then %>
-
- var oldvalue = parseInt(parent.menu.document.hiddenform.nSessionListStart.value);
- var newvalue = nDirection * 10 + oldvalue;
- if ( nDirection == 0 ) {
- newvalue = 0;
- }
- parent.menu.document.hiddenform.nSessionListStart.value = newvalue;
- parent.main.head.location = "nnseshd.asp?svr=<% = svr %>&start=" + newvalue;
-
- <% elseif (pg = "nngrp") then %>
-
- var oldvalue = parseInt(parent.menu.document.hiddenform.nNewsgroupListStart.value);
- //alert( 'old value is ' + oldvalue );
- var newvalue = nDirection * oldvalue - 1;
- if ( nDirection == 0 ) {
- newvalue = 0;
- }
- parent.menu.document.hiddenform.nNewsgroupListStart.value = newvalue;
- findvalue = top.menu.document.hiddenform.txtFindNewsgroup.value;
- parent.main.head.location = "nngrphd.asp?svr=<% = svr %>&startNum=" + newvalue+"&Find=" + findvalue;
-
- <% else %>
-
- alert("<% = L_FEATURE_NYITXT %>");
-
- <% end if %>
-
- }
-
- <% end if %>
-
- <% if (pg = "nnses") then %>
-
- function disconnectAll()
- {
- top.main.head.uForm.disconnectAll();
- }
-
- function disconnectUser()
- {
- top.main.head.uForm.disconnectUser();
- }
-
- <% end if %>
-
- </SCRIPT>
-
- </HEAD>
-
- <BODY BGCOLOR="#555555" LINK="#FFFFFF" ALINK="#FFFFFF" VLINK="#FFFFFF">
-
- <% if (pg = "nnses") then %>
-
- <TABLE border="0" VALIGN="top" ALIGN="left" CELLPADDING=1 CELLSPACING=1>
-
- <TR>
- <TD><TABLE VALIGN="top" BORDER=0 CELLPADDING=5 CELLSPACING=0 BGCOLOR="#555555">
-
- <TR>
-
- <TD VALIGN="middle">
- <FONT FACE="Arial" SIZE=2>
- <B><A HREF="javascript:disconnectUser();">
- <IMG SRC="images/gnicdsal.gif" ALIGN="top" BORDER=0 HEIGHT=16 WIDTH=16 ALT="<% = L_DISCONNECTTXT %>"></A>
- <A HREF="javascript:disconnectUser();">
- <% = L_DISCONNECTTXT %></A></B>
- </FONT>
- </TD>
-
- </TR>
-
- </TABLE></TD>
-
- <TD><FONT SIZE=4 COLOR="#FFFFFF">|</TD>
-
- <TD><TABLE VALIGN="top" BORDER=0 CELLPADDING=5 CELLSPACING=0 BGCOLOR="#555555">
-
- <TR>
-
- <TD VALIGN="middle">
- <FONT FACE="Arial" SIZE=2>
- <B><A HREF="javascript:disconnectAll();">
- <IMG SRC="images/gnicdsal.gif" ALIGN="top" BORDER=0 HEIGHT=16 WIDTH=16 ALT="<% = L_DISCONNECTALLTXT %>"></A>
- <A HREF="javascript:disconnectAll();">
- <% = L_DISCONNECTALLTXT %></A></B>
- </FONT>
- </TD>
-
- </TR>
-
- </TABLE></TD>
-
- </TR>
-
- </TABLE>
-
-
- <% end if %>
-
-
- <% if ( (pg = "nnf") OR (pg = "nndir") OR (pg = "nnadv") OR (pg = "nngrp") OR (pg = "nnexp") ) then %>
-
- <TABLE VALIGN="top" ALIGN="left" CELLPADDING=1 CELLSPACING=1>
-
- <TR>
-
- <TD><TABLE VALIGN="top" BORDER=0 CELLPADDING=5 CELLSPACING=0 BGCOLOR="#555555">
-
- <TR>
-
- <TD VALIGN="middle">
- <FONT FACE="Arial" SIZE=2>
- <B><A HREF="javascript:addItem();">
- <IMG SRC="images/gnicnew.gif" ALIGN="top" BORDER=0 HEIGHT=16 WIDTH=16 ALT="<% = L_ADDTXT %>"></A>
- <A HREF="javascript:addItem();">
- <% = L_ADDTXT %></A></B>
- </FONT>
- </TD>
-
- </TR>
-
- </TABLE></TD>
-
- <TD><FONT SIZE=4 COLOR="#FFFFFF">|</TD>
-
- <TD><TABLE VALIGN="top" BORDER=0 CELLPADDING=5 CELLSPACING=0 BGCOLOR="#555555">
-
- <TR>
-
- <TD VALIGN="middle">
- <FONT FACE="Arial" SIZE=2>
- <B><A HREF="javascript:removeItem();">
- <IMG SRC="images/gnicremv.gif" ALIGN="top" BORDER=0 HEIGHT=16 WIDTH=16 ALT="<% = L_REMOVETXT %>"></A>
- <A HREF="javascript:removeItem();">
- <% = L_REMOVETXT %></A></B>
- </FONT>
- </TD>
-
- </TR>
-
- </TABLE></TD>
-
- <TD><FONT SIZE=4 COLOR="#FFFFFF">|</TD>
-
- <TD><TABLE VALIGN="top" BORDER=0 CELLPADDING=5 CELLSPACING=0 BGCOLOR="#555555">
-
- <TR>
-
- <TD VALIGN="middle">
- <FONT FACE="Arial" SIZE=2>
- <B><A HREF="javascript:editItem();">
- <IMG SRC="images/gnicedit.gif" ALIGN="top" BORDER=0 HEIGHT=16 WIDTH=16 ALT="<% = L_EDITTXT %>"></A>
- <A HREF="javascript:editItem();">
- <% = L_EDITTXT %></A></B>
- </FONT>
- </TD>
-
- </TR>
-
- </TABLE></TD>
-
- <% if (pg = "nnf") then %>
-
- <TD><FONT SIZE=4 COLOR="#FFFFFF">|</TD>
-
- <TD><TABLE VALIGN="top" BORDER=0 CELLPADDING=5 CELLSPACING=0 BGCOLOR="#555555">
-
- <TR>
-
- <TD VALIGN="middle">
- <FONT FACE="Arial" SIZE=2>
- <B><A HREF="javascript:editType();">
- <IMG SRC="images/gnicedit.gif" ALIGN="top" BORDER=0 HEIGHT=16 WIDTH=16 ALT="<% = L_EDIT_TYPE_TXT %>"></A>
- <A HREF="javascript:editType();">
- <% = L_EDIT_TYPE_TXT %></A></B>
- </FONT>
- </TD>
-
- </TR>
-
- </TABLE></TD>
-
- <% end if %>
-
- </TR>
-
- </TABLE>
-
- <% end if %>
-
- <% if (pg = "nnexpg") then %>
-
- <TABLE VALIGN="top" ALIGN="left" CELLPADDING=1 CELLSPACING=1>
-
- <TR>
-
- <TD><TABLE VALIGN="top" BORDER=0 CELLPADDING=5 CELLSPACING=0 BGCOLOR="#555555">
-
- <TR>
-
- <TD VALIGN="middle">
- <FONT FACE="Arial" SIZE=2>
- <B><A HREF="javascript:removeItem();">
- <IMG SRC="images/gnicremv.gif" ALIGN="top" BORDER=0 HEIGHT=16 WIDTH=16 ALT="<% = L_REMOVETXT %>"></A>
- <A HREF="javascript:removeItem();">
- <% = L_REMOVETXT %></A></B>
- </FONT>
- </TD>
-
- </TR>
-
- </TABLE></TD>
-
- </TR>
-
- </TABLE>
-
- <% end if %>
-
- <TABLE VALIGN="top" ALIGN="right" CELLPADDING=1 CELLSPACING=1>
-
- <% if ((pg = "nnses") OR (pg = "nngrp")) then %>
-
- <TR>
-
- <TD><TABLE VALIGN="top" BORDER=0 CELLPADDING=5 CELLSPACING=0 BGCOLOR="#555555">
-
- <TR>
-
- <TD VALIGN="middle">
- <FONT FACE="Arial" SIZE=2>
- <% if ((pg = "nnses") OR (pg = "nngrp")) then %>
- <b><a href="javascript:previous();">
- <% else %>
- <B><A HREF="javascript:onUpdateList(-1);">
- <% end if %>
- <IMG SRC="images/gnicprev.gif" ALIGN="top" BORDER=0 HEIGHT=16 WIDTH=16 ALT="<% = L_PREVIOUSTXT %>"></A>
- <% if ((pg = "nnses") OR (pg = "nngrp")) then %>
- <b><a href="javascript:previous();">
- <% else %>
- <A HREF="javascript:onUpdateList(-1);">
- <% end if %>
- <% = L_PREVIOUSTXT %></A></B>
- </FONT>
- </TD>
-
- </TR>
-
- </TABLE></TD>
-
- <TD><FONT SIZE=4 COLOR="#FFFFFF">|</TD>
-
- <TD><TABLE VALIGN="top" BORDER=0 CELLPADDING=5 CELLSPACING=0 BGCOLOR="#555555">
-
- <TR>
-
- <TD VALIGN="middle">
- <FONT FACE="Arial" SIZE=2>
- <% if ((pg = "nnses") OR (pg = "nngrp")) then %>
- <b><a href="javascript:next();">
- <% else %>
- <B><A HREF="javascript:onUpdateList(1);">
- <% end if %>
- <IMG SRC="images/gnicnext.gif" ALIGN="top" BORDER=0 HEIGHT=16 WIDTH=16 ALT="<% = L_NEXTTXT %>"></A>
- <% if ((pg = "nnses") OR (pg = "nngrp")) then %>
- <b><a href="javascript:next();">
- <% else %>
- <A HREF="javascript:onUpdateList(1);">
- <% end if %>
- <% = L_NEXTTXT %></A></B>
- </FONT>
- </TD>
-
- </TR>
-
- </TABLE></TD>
-
- <TD><FONT SIZE=4 COLOR="#FFFFFF">|</TD>
-
- <TD><TABLE VALIGN="top" BORDER=0 CELLPADDING=5 CELLSPACING=0 BGCOLOR="#555555">
-
- <TR>
-
- <TD VALIGN="middle">
- <FONT FACE="Arial" SIZE=2>
- <% if ((pg = "nnses") OR (pg = "nngrp")) then %>
- <b><a href="javascript:refresh();">
- <% else %>
- <b><A HREF="javascript:onUpdateList(0);">
- <% end if %>
- <IMG SRC="images/gnicrefr.gif" ALIGN="top" BORDER=0 HEIGHT=16 WIDTH=16 ALT="<% = L_REFRESHTXT %>"></A>
- <% if ((pg = "nnses") OR (pg = "nngrp")) then %>
- <b><a href="javascript:refresh();">
- <% else %>
- <A HREF="javascript:onUpdateList(0);">
- <% end if %>
- <% = L_REFRESHTXT %></A></B>
- </FONT>
- </TD>
-
- </TR>
-
- </TABLE>
-
- </TD>
-
- <% end if %>
-
- <% if ((pg = "nnsec") OR (pg = "nnser") OR (pg = "nngen") OR (pg = "nnlog") OR (pg = "nnadv") OR (pg = "nnexppl") OR (pg = "nnvs")) then %>
-
- <TD><TABLE VALIGN="top" BORDER=0 CELLPADDING=5 CELLSPACING=0 BGCOLOR="#555555">
-
- <TR>
-
- <TD VALIGN="middle">
- <FONT FACE="Arial" SIZE=2>
- <B><A HREF="javascript:saveValues();">
- <IMG SRC="images/gnicsave.gif" ALIGN="top" BORDER=0 HEIGHT=16 WIDTH=16 ALT="<% = L_SAVETXT %>"></A>
- <A HREF="javascript:saveValues();"><% = L_SAVETXT %></A></B>
- </FONT>
- </TD>
-
-
- </TR>
-
- </TABLE></TD>
-
- <TD><FONT SIZE=4 COLOR="#FFFFFF">|</TD>
-
- <TD><TABLE VALIGN="top" BORDER=0 CELLPADDING=5 CELLSPACING=0 BGCOLOR="#555555">
-
- <TR>
-
- <TD VALIGN="middle">
- <FONT FACE="Arial" SIZE=2>
- <B><A HREF="javascript:resetValues();">
- <IMG SRC="images/gnicroll.gif" ALIGN="top" BORDER=0 HEIGHT=16 WIDTH=16 ALT="<% = L_RESETTXT %>"></A>
- <A HREF="javascript:resetValues();"><% = L_RESETTXT %></A></B>
- </FONT>
- </TD>
-
-
- </TR>
-
- </TABLE></TD>
-
- <% end if %>
-
- </TR>
-
- </TABLE>
-
- <FORM NAME="hiddenform">
-
- <INPUT TYPE="hidden" NAME="pg" VALUE="<% = pg %>">
-
- </FORM>
-
- </BODY>
- </HTML>
-
-