%Option Explicit %>
<%
Dim RS, SQL, oConn, opcion
opcion = Request.QueryString("opcion")
If opcion <> "" then
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open ("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ= "& Server.MapPath ("\data\valencia.mdb"))
SQL = " Select * from valencia Where indicativo like '" & opcion & "' "
Set RS = Server.CreateObject("ADODB.Recordset")
RS.Open SQL, oConn, 3, 1
%>
La Cocina Valenciana por Tonet (Valvanera.com)
|
<% Response.Write RS("titulo") %>
|
| |
<%
If RS("nota") <> "" then
Response.Write("| ")
Response.Write("(" & RS("nota") & ")")
Response.Write(" | ")
Response.Write(" | ")
End If
%>
<%
If RS("introduccion") <> "" then
Response.Write("| ")
Response.Write(RS("introduccion"))
Response.Write(" | ")
Response.Write("| | ")
End If
%>
<%
If RS("ingredientes") <> "" then
%>
| Ingredientes |
|
|
|
<%
Response.Write(RS("ingredientes"))
End If
%>
|
|
<%
If RS("foto")<>"" then
Response.Write(RS("foto"))
End if
%>
|
| |
<% If RS("preparacion") <> "" then %>
| Elaboración |
|
<%
Response.Write(RS("preparacion"))
%>
|
<% End If %>
| |
<% If RS("comentario") <> "" then %>
|
<% Response.Write(RS("comentario"))%>
|
<% End If %>
|
<%
Else
Response.Redirect "index.htm"
End if
%>