home *** CD-ROM | disk | FTP | other *** search
- <%@ LANGUAGE=VBScript %>
- <%Option Explicit %>
-
- <%
- Const L_TITLE_TEXT = "Internet Service Manager (HTML) "
- %>
-
- <%
- On Error Resume Next
- Dim browserobj, browserkey, browserok
- Set browserobj=Server.CreateObject("MSWC.BrowserType")
- browserkey = "Unknown Browser"
- Session("IsIE") = False
-
- if Instr(Request.ServerVariables("HTTP_USER_AGENT"),"MSIE") then
- if browserobj.MajorVer=3 then
- browserok=true
- browserKey = "IE3"
- Session("IsIE") = True
- else
- if browserobj.MajorVer=4 then
- browserok=true
- browserKey = "IE4"
- Session("IsIE") = True
-
- else
- browserok=false
- end if
- end if
- else
- if Instr(Request.ServerVariables("HTTP_USER_AGENT"),"Mozilla") then
- browserok=true
- browserKey = "Netscape"
- end if
- end if
-
- Session("Browser") = browserkey
-
- %>
-
- <% if browserok then %>
-
- <%
- if Request.QueryString("FONTSIZE") <> "" then
- Response.Cookies("HTMLA")("FONTSIZE")=Request.QueryString("FONTSIZE")
- Response.Cookies("HTMLA").expires=#December 31, 2000 1:00:00 AM#
- Session("FONTSIZE")=Request.QueryString("FONTSIZE")
- Session.timeout=200
- else
- Session("FONTSIZE") = Request.Cookies("HTMLA")("FONTSIZE")
- end if
- %>
-
- <html>
-
- <% if Session("IsIE") then %>
- <script language="JavaScript">
- // Determine the version number.
- var version;
- var requiredVersion=2;
- if (typeof(ScriptEngineMajorVersion) + ""=="undefined")
- version=1;
- else
- version=ScriptEngineMajorVersion();
-
- // Prompt client and navigate to download page.
- if ((version < requiredVersion) &&
- confirm("This page requires a newer version of LiveScript to view. Do you want to upgrade now?"))
- {
- location.href="http://www.microsoft.com/msdownload/scripting.htm"
- }
-
- </script>
- <% end if %>
-
-
-
- <head>
- <title><%= L_TITLE_TEXT %></title>
- </head>
-
- <SCRIPT LANGUAGE="JavaScript">
-
- if (newBrowser()){
- self.location.href = "iisnew.asp";
- }
- else{
- self.location.href = "iis.asp";
- }
-
- function newBrowser(){
- //Checks for existence of cookie
- cookiestr="<%= Session("FONTSIZE") %>"
- brwser="<%= Session("BROWSER") %>"
- return (cookiestr == "");
- }
-
- </SCRIPT>
-
- <body>
- </body>
-
- <% else %>
-
- <html>
- <body bgcolor="#000000" text="#FFFFFF" topmargin="0" leftmargin="0">
-
- <table cellpadding="0" width="600">
- <tr>
- <td valign="TOP" colspan="2">
- <img src="images/ismhd.gif" width="285" height="15">
- </td>
- </tr>
- <tr>
- <td height="1100" valign="top" width="200" background="images/iisnav.gif">
- </td>
-
- <td valign="top">
- <img src="images/ism.gif" width="160" height="76"><p>
- <font face="HELV" size="1">
- Sorry, your web browser cannot administer iis. <p>
- We recommend that you install the current released version of IE <a href="http://www.microsoft.com/ie/default.asp">Download it now!</a>
- </font>
- </td>
- </tr>
- </table>
-
- </body>
- <% end if %>
- </html>