%
'on error resume next
if request.QueryString("id")>" " then
id=request.QueryString("id")
else
id=0
end if
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open MM_conBD_STRING
strsql="select * from tbPacks order by orden asc, nombre asc"
Set RSPacks = Server.CreateObject("ADODB.Recordset")
RSPacks.Open strSQL, oConn,3,1
strsql="select * from tbPacks where id="&id&" order by orden asc, nombre asc"
Set RSPacks2 = Server.CreateObject("ADODB.Recordset")
RSPacks2.Open strSQL, oConn,3,1
'strsql="select * from tbGaleria where Tipo=13 order by Tipo,Id asc"
'Set RSGaleria = Server.CreateObject("ADODB.Recordset")
'RSGaleria.Open strSQL, oConn,3,1
strsql="select * from tbGaleria where Tipo=13 and Tpack="&id&" order by Tipo,Id asc"
Set RSGaleria = Server.CreateObject("ADODB.Recordset")
RSGaleria.Open strSQL, oConn,3,1
Function AcomodarTXT(txt)
txt = Replace (txt, vbCrLf, "
")
txt = Replace (txt, "''", "'")
acomodarTXT = txt
End function
%>
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Tel.: 00 34 977
054030 - Fax.: 00 34 977 054029 e-mail: hotel@abadiadelpriorat.com |
![]() |
|
![]() |
C/ Mayor, 25 - 43737 TORROJA DEL PRIORAT (Tarragona) Tel.: 00 34 97 7054030 - Fax.: 00 34 977 054029 e-mail: hotel@abadiadelpriorat.com |
![]() |
|
||||||||||||||||
![]() |
||||||||||||||||