home *** CD-ROM | disk | FTP | other *** search
/ Datatid 2000 #2 / Datatid-2000-02.iso / internet / ecpro / setup.exe / DEFAULT.ASP < prev    next >
Encoding:
Text File  |  1999-01-18  |  1.7 KB  |  52 lines

  1. <!--#include virtual="/ECpublic/Global/Includes/adovbs.inc"-->
  2. <%
  3. Set Conn = Server.CreateObject("ADODB.Connection")
  4.     Conn.Open "EC000","",""
  5. Set rs100001 = Conn.Execute("SELECT DISTINCTROW Items.* FROM Items WHERE (Items.SKU) = '100-001'")
  6. %>
  7.  
  8. <!Default.asp - Rev.: 4.2 - Date: 01/18/99>
  9. <!Copyright 1995-1999 ECware Software. All Rights Reserved.>
  10.  
  11. <html><head><title>DemoTique - ECware Demonstration</title></head>
  12. <body bgcolor=ffffff vlink=0000ff background="/ecdemo/bg-demo.gif">
  13.  
  14. <p>
  15. <img src="/ecdemo/demologo.gif"><br>
  16.  
  17. <table border=0 cellpadding=0 cellspacing=0>
  18. <tr><td>
  19. <font size=+2><b>Welcome to DemoTique.</b></font><br>
  20. <font size=2 face="Verdana, Arial, Helvetica">
  21. This page is generated using ASP to access the ECware database<br>
  22. using ADO. The database is registered with the DSN "EC000".<br>
  23. The picture and prices are pulled from the database so any<br>
  24. changes made using ECremote will take place immediately.
  25. </td><td><br>
  26. <!img src="changer.gif">
  27. </td></tr></table>
  28.  
  29. <p><br>
  30.  
  31. <img src="/ecpublic/000/images/<%Response.Write rs100001("PictureFile")%>" align=LEFT><br>
  32.  
  33. <form method=POST action="/ecscripts/ecware.exe">
  34.  
  35. <input type=HIDDEN name=ID value=000>
  36. <input type=HIDDEN name=SKU value=100-001>
  37. <input type=HIDDEN name=Qty value=1>
  38. <font face="Verdana, Arial, Helvetica" size=4><b>Leather Briefcase</b><br>
  39. <s><%Response.Write FormatCurrency(rs100001("MarkupPrice"))%></s><p>
  40. <img src="/ecpublic/000/images/sales_tag.gif">
  41. <b> <%Response.Write FormatCurrency(rs100001("PriceA"))%></b><p>
  42. <input type=IMAGE SRC="/ecpublic/000/images/buy_button.gif" border=0></FORM><p><br>
  43.  
  44. <font size=-2>Copyright © 
  45. 1995-1999 ECware Software. All Rights Reserved.</font></font><p>
  46.  
  47. </body>
  48. </html>
  49.  
  50. <%Conn.Close%>
  51.  
  52.