% Dim strConnString, oConn, oRS, oFld Set oConn = Server.CreateObject("ADODB.Connection") strConnString = Application("conectar") oConn.Open strConnString %>
| PELICULA |
Mañik
|
Vic
|
Zangol
|
Lectores
|
Media
|
| "><%response.write registros("peli")%> <% Set verpeli = conexion.execute("SELECT * FROM vianewspuntuacioncolumna where pelicula = " & registros("id") & "") %> |
<%
Set verpeli = conexion.execute("SELECT * FROM vianewspuntuacioncolumna where pelicula = " & registros("id") & " and tabla = '1' ")
if verpeli.eof then
response.write "No Ptos"
else
response.write verpeli("puntuacion")
end if
%>
|
<%
Set verpeli = conexion.execute("SELECT * FROM vianewspuntuacioncolumna where pelicula = " & registros("id") & " and tabla = '2' ")
if verpeli.eof then
response.write "No Ptos"
else
response.write verpeli("puntuacion")
end if
%>
|
<%
Set verpeli = conexion.execute("SELECT * FROM vianewspuntuacioncolumna where pelicula = " & registros("id") & " and tabla = '3' ")
if verpeli.eof then
response.write "No Ptos"
else
response.write verpeli("puntuacion")
end if
%>
|
<%
Set verpeli = conexion.execute("SELECT * FROM vianewspuntuacioncolumna where pelicula = " & registros("id") & " and tabla = '4' ")
if verpeli.eof then
response.write "No Ptos"
else
response.write verpeli("puntuacion")
end if
%>
|
<%
Set verpeli = conexion.execute("SELECT * FROM vianewspuntuacioncolumna where pelicula = " & registros("id") & " and tabla = '5' ")
if verpeli.eof then
response.write "No Ptos"
else
response.write verpeli("puntuacion")
end if
%>
|
<% if request.querystring("pelicula") = "" Then response.end end if Set verpeli = conexion.execute("SELECT * FROM vianewscomentariocolumna where pelicula = '" & request.querystring("pelicula") & "'") if verpeli.eof then response.write "No hay comentarios" response.end end if %>
| Pelicula : <% Set peli = conexion.execute("SELECT * FROM vianewscolumna where id = " & request.querystring("pelicula") & "") response.write peli("peli") %> |
|
Autor:
<%
response.write verpeli("autor")
%> ---------------------------------------------- |