home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 February
/
CHIP_2_98.iso
/
software
/
pelne
/
optionp
/
ims.cab
/
smhd.asp
< prev
next >
Wrap
Text File
|
1997-10-20
|
3KB
|
101 lines
<% Response.Expires = 0 %>
<%
REM LOCALIZATION
L_TITLE_TEXT = "Microsoft SMTP Server Administration"
L_HELP_TEXT = "Help"
L_ABOUT_TEXT = "About"
L_HEADTITLE_TEXT = "Microsoft SMTP Server on"
L_DOC_TEXT = "Documentation"
L_MICROSOFT_TEXT = "Microsoft"
REM END LOCALIZATION
%>
<% svr = Session("svr") %>
<% if Instr(Request.ServerVariables("HTTP_USER_AGENT"),"MSIE") then %>
<% browser = "ms" %>
<% bgcolor = "#B90000" %>
<% else %>
<% browser = "ns" %>
<% bgcolor = "#000000" %>
<% end if %>
<% On Error Resume Next %>
<% Set VirtualServer = Server.CreateObject("SmtpAdm.VirtualServer.1") %>
<% if Err <> 0 then %>
<script language="javascript">
alert("<% = Err.description %> : Line #30");
</script>
<% end if %>
<% VirtualServer.Server = svr %>
<% VirtualServer.ServiceInstance = Session("ServiceInstance") %>
<% VirtualServer.Get %>
<% Status = VirtualServer.Status %>
<HTML>
<HEAD>
<TITLE><% = L_TITLE_TEXT %></TITLE>
<SCRIPT LANGUAGE="javascript">
function helpBox()
{
pg = top.frames[3].location.href;
if (pg.indexOf("smftl.asp") != -1)
{
helpfilename = parent.menu.feedmenu.document.hiddenform.helpfilename.value;
}
else
{
helpfilename = parent.menu.document.hiddenform.helpfilename.value;
}
window.open(helpfilename,"<% = L_HELP_TEXT %>","toolbar=no,scrollbars=yes,directories=no,menubar=no,width=450,height=450");
}
function aboutBox()
{
<% if (browser = "ms") then %>
winstr = "height=305,width=525,directories=no,toolbar=no,menubar=no,scrollbars=no";
<% else %>
winstr = "height=320,width=525,directories=no,toolbar=no,menubar=no,scrollbars=no";
<% end if %>
window.open("smabout.asp","<% = L_ABOUT_TEXT %>",winstr);
}
</SCRIPT>
</HEAD>
<BODY TEXT="#FFFFFF" BGCOLOR="<% = bgcolor %>" TOPMARGIN=0 LEFTMARGIN=0 RIGHTMARGIN=0>
<P>
<TABLE WIDTH=100% CELLPADDING=2 CELLSPACING=0 BGCOLOR="#000000" BORDER=0 ALIGN="left">
<TR>
<TD VALIGN="center" ALIGN="left">
<FONT FACE="Arial" SIZE=4> </FONT>
<FONT SIZE=2 FACE="Verdana,Arial"><B><% = L_HEADTITLE_TEXT %> </B><% = Session("svr") %></FONT>
</TD>
<TD ALIGN="right" VALIGN="bottom" BGCOLOR="#000000">
<FONT COLOR="#FFFFFF">
<A HREF="javascript:aboutBox()"><IMG SRC="images/gnicabou.gif" ALT="<% = L_ABOUT_TEXT %>" BORDER=0 VSPACE=3 HSPACE=4 HEIGHT=16 WIDTH=16></A>
<A HREF="/IISHELP/iis/misc/default.asp" TARGET="window"><IMG SRC="images/gnicdoc.gif" BORDER=0 VSPACE=3 HSPACE=4 HEIGHT=16 WIDTH=16 ALT="<% = L_DOC_TEXT %>"></A>
<A HREF="javascript:helpBox();"><IMG SRC="images/gnichelp.gif" ALT="<% = L_HELP_TEXT %>" BORDER=0 VSPACE=3 HSPACE=4 HEIGHT=16 WIDTH=16></A>
<A HREF="http://www.microsoft.com/" TARGET="_parent"><IMG SRC="images/gniclogo.gif" BORDER=0 VSPACE=3 HSPACE=2 ALT="<% = L_MICROSOFT_TEXT %>" HEIGHT=15 WIDTH=80></A>
</FONT>
</TD>
<TR>
<% if (browser = "ns") then %>
<TR>
<TD BGCOLOR="#B90000" COLSPAN=2> </TD>
</TR>
<% end if %>
</TABLE>
</BODY>
</HTML>