Modificare il file:
\default.asp
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <!--#include file="Connections/ecommerce.asp" --> <% Dim N_Lista N_Lista = request.cookies("Lista") %> <% Dim marca Dim marca_numRows Set marca = Server.CreateObject("ADODB.Recordset") marca.ActiveConnection = MM_ecommerce_STRING marca.Source = "SELECT DISTINCT Marca FROM Prodotti" marca.CursorType = 0 marca.CursorLocation = 2 marca.LockType = 1 marca.Open() marca_numRows = 0 %> <% Dim Tipo Dim Tipo_numRows Set Tipo = Server.CreateObject("ADODB.Recordset") Tipo.ActiveConnection = MM_ecommerce_STRING Tipo.Source = "SELECT DISTINCT Classe FROM Prodotti" Tipo.CursorType = 0 Tipo.CursorLocation = 2 Tipo.LockType = 1 Tipo.Open() Tipo_numRows = 0 %> <% if N_lista <> "" then Dim Prodo Dim Prodo_numRows Set Prodo = Server.CreateObject("ADODB.Recordset") Prodo.ActiveConnection = MM_ecommerce_STRING 'Prodo.Source = "SELECT * FROM Prodotti WHERE "&Request.QueryString("fcampo")&"='"&Request.QueryString("fcosa")&"' AND Dispo = 'Y'" Prodo.Source = "SELECT * FROM Prodotti WHERE Dispo = 'Y' AND Marca ='"&N_Lista&"'" 'Prodo.Source = "SELECT * FROM Prodotti WHERE Marca = '"&N_Lista&"' AND Dispo = 'Y'" Prodo.CursorType = 0 Prodo.CursorLocation = 2 Prodo.LockType = 1 Prodo.Open() Prodo_numRows = 0 end if %> <% Dim Repeat1__numRows Dim Repeat1__index Repeat1__numRows = -1 Repeat1__index = 0 marca_numRows = marca_numRows + Repeat1__numRows %> <% Dim Repeat2__numRows Dim Repeat2__index Repeat2__numRows = -1 Repeat2__index = 0 Tipo_numRows = Tipo_numRows + Repeat2__numRows %> <% Dim Repeat3__numRows Dim Repeat3__index Repeat3__numRows = -1 Repeat3__index = 0 Prodo_numRows = Prodo_numRows + Repeat3__numRows %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Liste di Nascite - Martinucci Prima Infanzia</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- .Stile1 {font-family: verdana} .Stile2 {font-size: x-small} .Stile3 {font-family: verdana; font-size: x-small; } a:link { color: #000000; text-decoration: none; } a:visited { text-decoration: none; color: #000000; } a:hover { text-decoration: none; color: #000000; } a:active { text-decoration: none; color: #000000; } .Stile4 {color: #E5E5E5} body { background-image: url(); background-repeat: no-repeat; background-color: #8CCBEC; } .Stile3.Stile4 div b font { color: #FFF; } --> </style> </head> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"> <table border="0" width="83%" id="table1"> <tr> <td width="212"> <p align="center"><img src="Logo04-100x99.png" width="100" height="99"></td> <td> <p align="justify"><font face="Verdana" size="2" color="#0000FF"> L'acquisto dell'articolo prenotato può essere effettuato attraverso il pagamento in contanti<br> oppure a mezzo Bonifico Bancario presso BCC Roma Colleferro (RM)<br> <b>intestato a: Martinucci Luigina s.a.s. di Martinucci Carlo <br> Coord. Bancarie: <br> </b> </font><b><font face="Verdana" size="2" color="#FF0000"> IBAN: IT 91 Y 08327 39060 000000703559 </font> </b><b><font face="Verdana" size="2" color="#FF0000"><br> </font><font face="Verdana" size="2" color="#0000FF">Tel. e FAX 06 97304143<br> </font> <font face="Verdana" size="2">E-mail:</font><font face="Verdana" size="2" color="#0000FF"> martinucci@martinucci-regali.com</a></font></b></td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td width="1977" height="19" bgcolor="#0033FF" class="Stile3 Stile4"><div align="right"> <b><font color="#000080">Martinucci Prima Infanzia </font></b> </div></td> </tr> </table> <table border="0" align="left" cellpadding="0" cellspacing="0" bordercolor="#000000"> <tr> <td valign="top"> </td> <td valign="top"> </td> </tr> <tr> <td width="200" valign="top"><table width="150" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#C0C0C0" style="border-collapse: collapse"> <tr> <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td style="border: 1px solid #EBEBEB"><span class="Stile1 Stile2"><strong>Liste di Nascite</strong></span></td> </tr> <tr> <td bgcolor="#FFFF99"><div align="center"> <font face="Verdana" size="2"><% response.write N_lista %><br></font> </div></td> </tr> <tr> <td> <p align="center"><img src="freccia-su.png" width="109" height="109" align="top"> </td> </tr> <tr> <td style="border: 1px solid #EBEBEB"> </td> </tr> <tr> <td> <div align="center"><br> <br> </div></td></tr> <tr> <td> </td> </tr> <tr> <td style="border: 1px solid #EBEBEB"><span class="Stile3"><strong>Azioni:</strong></span></td> </tr> <tr> <td bgcolor="#EBEBEB"><div align="left"><span class="Stile3"><img src="images/carrello.gif" width="14" height="10"> <a href="?az=carrList">Carrello</a> <br> <br> <img src="images/ordine.gif" width="15" height="15"> <a href="?az=ordina">Ordine</a></span><br> </div> <p><span class="Stile3"> <img src="images/home.gif" width="15" height="15"> <a href="../index.html">ESCI</a></span></td> </tr> </table> <div align="left"></div> </td> </tr> </table> <div align="left"></div></td> <td valign="top"> </td> </tr> </table> <p> <% if request.QueryString("az")="prod" then%> <!--#include file="Lista/default.asp" --> <%end if if request.QueryString("az")="list" then%> <!--#include file="home.asp" --> </p> <%end if if request.QueryString("az")="carr" then%> <!--#include file="Carrello/addCarrello.asp" --> </p> <%end if if request.QueryString("az")="carrList" then%> <!--#include file="Carrello/default.asp" --> </p> <%end if if request.QueryString("az")="" then%> <!--#include file="home.asp" --> </p> <%end if if request.QueryString("az")="ordina" then%> <!--#include file="Ordine/formdati.asp" --> </p> <%end if if request.QueryString("az")="ricerca" then%> <!--#include file="Ricerca/Search.asp" --> </p> <%end if if request.QueryString("az")="errore" then%> <!--#include file="errore.asp" --> </p> <%end if %> </body> </html> <% marca.Close() Set marca = Nothing %> <% Tipo.Close() Set Tipo = Nothing %> <% if N_lista <> "" then Prodo.Close() Set Prodo = Nothing end if %>
[
Íàçàä
]