home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comredis.cab / addlocal.aspx < prev    next >
Encoding:
Text File  |  2000-06-12  |  4.2 KB  |  150 lines

  1. <%@ Import Namespace="System.IO" %>
  2. <%@ Import Namespace="System.Collections" %>
  3. <%@ Import Namespace="System.Web" %>
  4. <%@ Import Namespace="System.Web.Util" %>
  5.  
  6. <style>
  7.  
  8.  
  9. body           { margin:0,0,0,0; }
  10. table, td      { font-size=10pt;font-family:Verdana; }
  11. td.products td { text-align:center; font-size:8pt; vertical-align:top; height:248 }
  12.  
  13. td.select      { color:ffffff; background-color:000000; font-size:14pt;}
  14. td.select select { width:130 }
  15. td.cart        { height:2500 }
  16. td.cart td     { font-size:9pt; font-weight:700} 
  17. td.cart a      { font-size:11pt; font-weight:700}
  18.  
  19. h3             { font-size:22 }
  20. h2             { font-size:22 }
  21. a:link         { color:blue; }
  22. a:visited      { color:blue; }
  23.  
  24. div.details {background-color:ffffcc; padding-top:15; padding-bottom:20; }
  25. div.details table { width:280; }
  26. div.details table td { font-family:Verdana; font-size:8pt; }
  27.  
  28. table.nutr td  { font-family: Verdana; font-size:8pt; } 
  29.  
  30. img.selected { border-color:DC6035;border-style:solid;}
  31. img.unselected { border-color:ffffcc;border-style:solid;}
  32.  
  33. table.details td { font-family: Verdana; font-size:12pt; padding-right:50; width:50%  }
  34.  
  35. span.blurb { font-size:9pt;}
  36. table.form td { padding-right:15 }
  37.  
  38. .weblet { font-family:Arial;font-style:italic;font-weight:bold;font-size:10pt; color:#66ff66 }
  39. .weblettext { font-family:Verdona;font-size:10pt }
  40. .loginname { font-family:Tahoma; font-weight:bold;font-size:50pt;color:#6699cc }
  41. .topbanner { font-family:Arial;font-weight:bold;font-size:10pt;color:white }
  42. .topbutton { font-family:Arial;font-weight:bold;font-size:11pt;color:black }
  43. .subscriptiontitle { font-family:Arial;font-style:italic;font-weight:bold;font-size:16pt; color:#9C0001 }
  44.  
  45. </style>
  46.  
  47. <script runat="server" language="C#">
  48.  
  49.         
  50. public void Page_Load(Object sender, EventArgs e) 
  51. {
  52.   String appurl = Request.QueryString["installurl"];
  53.     String strAction = Request.QueryString["Reason"];
  54.             
  55.   if (strAction != null && strAction.Length > 0 && appurl != null)
  56.    {
  57.      if (strAction.Equals("2"))
  58.      {
  59.        ActionLabel.Text="The manifest for the application (" + appurl + ") could not be found.";
  60.      }
  61.      else if (strAction.Equals("1"))
  62.      {
  63.        ActionLabel.Text="The application <b>(" + appurl + ")</b> is already installed on this computer."; 
  64.      }
  65.    }
  66. }
  67.  
  68.  
  69. </script>
  70.  
  71. <body bgcolor="ffffff">
  72.  
  73. <form runat="server" method="GET" action="install.aspx">
  74. <input type="hidden" id="HiddenUrl" runat="server"/>
  75.  
  76. <!-----Main toolbar Starts here -------->
  77.  
  78. <table width=100% cellspacing=0 cellpadding=0>
  79. <tr>
  80. <td>                        
  81.   <table width="100%" bgcolor="#336699">
  82.   <tr height=70>
  83.   <td width=15><!-- Space Filler --></td>
  84.     <td align=left class="loginname">MyWeb </td>
  85.   <td valign=bottom class="topbutton"> </td>
  86.   </tr>
  87.   </table>
  88. </td>
  89.  
  90. <tr>
  91. <td>
  92.   <table bgcolor="#003366" cellspacing=0 width=100% cellpadding=0>
  93.   <tr height=20 class="topbanner">
  94.   <td width=50><!----- Space Filler ----></td>
  95.   <td align=right>
  96.     <a id="StartBtn" style="color:#ffcc00;text-decoration:none;font-size:9pt" href="install.aspx">Install Application</a>  
  97.     <span style="font-weight:100; color=#99ccff"> | </span>
  98.     <a style="color:#99ccff;text-decoration:none;font-size:9pt;" href="myweb://home">Home</a>    
  99.   </td>
  100.   </tr>
  101.   </table>
  102. </td>
  103. </tr>
  104.  
  105.  
  106. <!------End of main toolbar ----->
  107.  
  108. <tr>
  109. <td align="center">  
  110.     <br><br>
  111.  
  112.   <!------ Beginning of dialog box ------>
  113.   
  114.   <table  cellpadding=0 cellspacing=0 width="80%">
  115.     <tr>
  116.     <td>
  117.         <font face=verdana size=4 color=#003366><b>Install Application</b> </font>
  118.     </td>
  119.     </tr>
  120.  
  121.     <tr>
  122.     <td>
  123.     <table bordercolor="#f5deb3" bgcolor=#fffff0 width=100% border=1 cellpadding=10 cellspacing=0>
  124.         <tr>
  125.         <td align=center>
  126.             <asp:Label runat="server" id="ActionLabel" />
  127.             <br><br>
  128.             Please enter the URL or file path of the application to be installed:<br><br>
  129.             <input type=text size="70" name="installurl"/><br><br>
  130.       <input type=submit name="Submit" value="   Submit   ">
  131.       <br><br>
  132.         </td>
  133.         </tr>
  134.     </table>
  135.     </td>
  136.     </tr>
  137.   </table>
  138.         
  139. <!------- end of dialog box -------->
  140.  
  141. </td>
  142. </tr>
  143. </table>
  144.  
  145.  
  146. </form>
  147. </body>
  148. </html>
  149.  
  150.