home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / iis4_03.cab / samples.asp < prev    next >
Text File  |  1997-10-25  |  6KB  |  171 lines

  1. <%@ Language=VBScript %>
  2. <% ExAirDir="http://" & Request.ServerVariables("SERVER_NAME") & "/IISSamples/ExAir" %>
  3.  
  4. <SCRIPT LANGUAGE=VBScript RUNAT=Server>
  5.  Function ExAirInstalled
  6.   Dim fs, path
  7.   path = Server.MapPath("/iissamples/exair/default.asp")
  8.   Set fs = CreateObject("Scripting.FileSystemObject")
  9.   If fs.FileExists(path) then
  10.    ExAirInstalled = True
  11.   Else
  12.    ExAirInstalled = False
  13.   End If
  14.  End Function
  15. </SCRIPT>
  16.  
  17. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
  18. <html>
  19.  
  20. <head>
  21. <title>Welcome To IIS 4.0!</title>
  22. </head>
  23. <body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" LINK ="#0080FF" VLINK ="#0080FF">
  24.  
  25.  
  26.  
  27. <table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#000000">
  28.     <tr>
  29.         <td align="left"><img src="SQUIGGLE.GIF"></td>
  30.         <td align="right"><img src="MSFT.GIF" width="91"
  31.         height="21"></td>
  32.     </tr>
  33. </table>
  34.  
  35. <table border="0" cellpadding="0" cellspacing="0" width="100%" height=2 bgcolor="#FFCC00">
  36.     <tr height=2>
  37.         <td align="right"></td>
  38.     </tr>
  39. </table>
  40.  
  41. <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  42.     <tr>
  43.         <td valign="top" width="140" bgcolor="#000000" height="100%">
  44.         
  45.             <TABLE CELLPADDING=4>
  46.                 <TR>
  47.                     <TD>
  48.                         <p align="left">
  49.                         <img src="nav2.gif"></p>
  50.                         <p align="left">
  51.                         <a href="/default.asp"><font size="2" face="Verdana, Arial, Helvetica">
  52.                         <b>Welcome</b></font><p></a>
  53.                         <a href="LEARN.asp"><font size="2" face="Verdana, Arial, Helvetica">
  54.                         <b>Learn About</b></font><p></a>
  55.                         <a href="samples.asp"><font size="2" face="Verdana, Arial, Helvetica">
  56.                         <b>Samples</b></font></a></p>
  57.                     </td>
  58.                 </tr>
  59.             </TABLE>
  60.         </td>
  61.         <td valign="top">        
  62.             <img src="IISTitle.gif">
  63.             <TABLE CELLSPACING=4 WIDTH="80%">
  64.             <TR>
  65.             <TD>
  66.             <P>
  67.              <h2>
  68.                             <font color="#FF0000" size="4" face="Arial,Helvetica"><b>
  69.                             Internet Information Server Samples
  70.                             </b></font>
  71.                             </h2>
  72.                             <p>
  73.                             <font size="2" face="Arial">
  74.                             
  75.                             <% If ExAirInstalled Then %>
  76.                                 Windows NT 4.0 Option Pack includes an early release of a new sample
  77.                                 site called <A HREF="<%= ExAirDir %>">Exploration Air.</A>  Please read the
  78.                                 <A HREF="<%= ExAirDir & "/readme.txt" %>">Readme</A> file for setup instructions.
  79.                             <% Else %>
  80.                                 Windows NT 4.0 Option Pack includes an early release of a new sample site called 
  81.                                 <STRONG>Exploration Air</STRONG>. You can install it using the Window NT 4.0 Option 
  82.                                 Pack setup program under <STRONG> Start | Programs | Windows NT 4.0 Option Pack</STRONG>.
  83.                             <% End If %>
  84.                                 <P>
  85.                                 Please note that to operate the site correctly you must also install Microsoft® SQL 
  86.                                 Server 6.5.  An evaluation copy of SQL Server 6.5 is on the installation CD or from the 
  87.                                 <A HREF="http://www.microsoft.com/sql">SQL Server home page.</A>
  88.                                 <p>
  89.  
  90.                             We have put together a series of intranet applications called the 
  91.                             <a href="http://www.microsoft.com/intranet">Intranet Solutions Center</a>. 
  92.                             The beauty of these applications is that whatever your needs, you'll find 
  93.                             demos, user documentation, and free downloads of full, working, customizable 
  94.                             applications that will show you why Microsoft is the intranet platform for you. 
  95.                             <a href="http://www.microsoft.com/intranet">Check them out!</a>
  96.                             </font>
  97.             </p>         
  98.             
  99.             <h1 align="center">
  100.             <font size="4" face="Verdana, Arial, Helvetica"></font>
  101.             </h1>
  102.             
  103.             <p> </p>
  104.             
  105.             <div align="center"><center>
  106.             <table border="0" cellpadding="0" cellspacing="0" width="90%">
  107.             <tr>
  108.                 <td align="center"> </td>
  109.             </tr>
  110.             </table>            
  111.             </center></div>
  112.  
  113.             <div align="center"><center>
  114.             <table border="0" cellpadding="0" cellspacing="0" width="90%">
  115.                 <tr>
  116.                     <td align="center">
  117.                     <font size="2" face="Verdana, Arial, Helvetica">
  118.                     <!--Related sites info starts here-->
  119.                     <P>
  120.                     <A HREF="http://www.microsoft.com/iis">Internet Information Server</A>
  121.                     <BR>
  122.                     <a href="http://www.microsoft.com/ntserver/" target="_top">Windows NT Server</a>
  123.                     <!--Related sites info ends here-->
  124.                     </p>
  125.                     </FONT>
  126.                     </td>
  127.                 </tr>
  128.             </table>
  129.         </center></div>
  130.  
  131.         <div align="center"><center>
  132.         <table border="0" cellpadding="0" cellspacing="5">
  133.             <tr>
  134.                 <td align="right">
  135.                     <a href="http://www.microsoft.com/ie">
  136.                     <img src="IE.GIF" alt="Download Internet Explorer!" border="0"></a>
  137.                 </td>
  138.                 <td align="center"> </td>
  139.                 <td>
  140.                     <a href="http://www.microsoft.com/iis">
  141.                     <img src="IISSide.GIF" alt="Learn more about Windows NT 4.0 Option Pack!" border=0></a>
  142.                 </td>
  143.             </tr>
  144.         </table>        
  145.         </center></div>
  146.  
  147.  
  148.         <div align="center"><center>
  149.             <table border="0" cellpadding="0" cellspacing="5">
  150.                 <tr>
  151.                     <td align="center" colspan="3">
  152.                         <font size="1" face="Verdana, Arial, Helvetica">
  153.                                 ©1997 Microsoft Corporation. All rights reserved.
  154.                                 <a href="http://www.microsoft.com/misc/cpyright.htm">
  155.                                     Legal Notices.
  156.                                 </a>
  157.                         </font>
  158.                     </td>
  159.                 </tr>
  160.             </table>
  161.         </center></div>
  162.         </TD>
  163.         </TR>
  164.         </TABLE>
  165. </TD>
  166. </TR>
  167. </TABLE>        
  168.         
  169. </body>
  170. </html>
  171.