%response.buffer=true%>
<%'# Codigo asp de Genexies.com%> <% cantidadregistros=10 if request.querystring("paginaactual")<>"" then mostrarpagina=request.querystring("paginaactual") else mostrarpagina=1 end if Set rs=Server.CreateObject("ADODB.Recordset") Set rs1=Server.CreateObject("ADODB.Recordset") Set rs2=Server.CreateObject("ADODB.Recordset") rs1.cachesize=60 conexion.open if request.querystring("c")="1" or request.querystring("c")=1 then sqlp="SELECT * from titulos_polifonicas where ver='s' and top10<>0 order by top10" elseif request.querystring("c")="2" or request.querystring("c")=2 then sqlp="SELECT * from titulos_polifonicas where ver='s' and novedad='s' order by cod_cancion desc" else sqlp="SELECT * from titulos_polifonicas where ver='s' and categoria=" &request.querystring("c")& " order by cod_cancion desc" end if sqlpo=sqlp 'sqlpo="SELECT * from titulos_polifonicas where ver='s' and categoria="&request.querystring("c")&" order by cod_cancion desc" rs1.open sqlpo,conexion,1,1 registros=0 if not rs1.eof then rs1.pagesize=cantidadregistros maxpagina=cint(rs1.pagecount) maxregistros=cint(rs1.pagesize) rs1.absolutepage=mostrarpagina contreg=0 %>![]() |
![]() |
||
|
![]() |