Gönderen: 10-Haziran-2011 Saat 16:30 | Kayıtlı IP
|
|
|
arkadaşlar gelen veriler bir sayfada verileniyor ben ise 9 veriden sonra ikinci sayfaya geçmesini istiyorum bir türlü halledemedim lütfen yardım edin
<!--#include file="db.asp"--> <html><head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1254"> <title>Anasayfa</title> </head> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"> <table border="0" width="290" style="border-collapse: collapse" id="table1" height="252" cellpadding="0"> <tr> <td width="242" valign="top"> <div align="center"> <table border="0" width="50%" cellpadding="0" style="border-collapse: collapse" id="table2" height="154"> <tr> <td valign="top"> <CENTER> <DIV align=center> <TABLE id=table1 cellPadding=2 width=147 border=0 style="border-collapse: collapse"> <TBODY> <TR> <TD> <table border="0" cellspacing="0" cellpadding="0" bordercolor="#C0C0C0" width="95%" height="64"> <% set il=server.CreateObject("adodb.recordset") strsql="Select Top 30 * From ilan Where Resim1<>NuLL Order By id Desc" il.open strsql,depo,1,3 if il.eof then response.write "Sisteme İlan Kaydedilmemiştir" else %> <%i=1 do while not il.eof%> <td> <div align="center"> <TABLE cellPadding=2 width="139" border=0 id="table2" style="border-collapse: collapse"> <TBODY> <TR> <TD style="border-style:solid; border-width:0px; " vAlign=top height=150> <p align="center"> <a href="#" onClick="javascript:window.open('ilan_detay.asp?id=<%=il( "id")%>', '_blank', 'width=500, height=600, top=50, left=500, resizable=yes, scrollbars=yes');return false"> <font face="Calibri" color="#FF0000"> <b><%=il("baslik")%></b><br> </font> <%if il("resim1")="Not" then%> <img src=ilan_resim/yok.jpg border="0" width="100" height="88"> <%else%> <img src="ilan_resim/<%=il("resim1")%>" border ="0" width="100" height="88"> <%end if%>
<font face="Calibri" size=2 color=#333333><span style="text-decoration: none"> Yer: <%=il("yer")%><br>Fiyat: <%=il("fiyat")%> TL</span></font> </TD></TR></TBODY></TABLE></div&g t; <br> </td> <% if i mod 3 = 0 then response.write "</tr><tr>" end if i = i + 1 il.movenext loop End if %> </table></TD></TR></TBODY></TABLE ></DIV> </td> </tr> </table> </div> </td> <td width="48"> </td> </tr> </table></body></html>
|