עוד עזרה במשהו אחר
print "<br><table width=80% align=center border=1 bordercolor=1C5CA2 bgcolor=5E93C9 cellspacing=0 cellpading=0> <tr><td width=25 align=center>דירוג<td align=center>שם/תיאור/לוגו<td width=70 align=center>הצבעות<td align=center width=70>צפיות</tr></table><br>"; while($next<$res && $next<$gil->num) { $id=mysql_result($gil->result,$next,"id"); $name=mysql_result($gil->result,$next,"name"); $vote=mysql_result($gil->result,$next,"vote"); $out=mysql_result($gil->result,$next,"out"); $banner=mysql_result($gil->result,$next,"banner"); $descr=mysql_result($gil->result,$next,"descr"); $catID=mysql_result($gil->result,$next,"catID"); $next++; if(empty($banner)) $banner="images/silas.gif"; if($next<=3) { print " <table width=80% height=120 align=center border=1 bordercolor=1C5CA2 bgcolor=5E93C9 cellspacing=0 cellpading=0> <tr><td colspan=4 align=center><a target=\"_blank\" href=\"out.php?id=$id\"><b>. : : $name : : .</b></a></tr> <tr> <td align=center width=25><img src='style/$next.gif'> <td align=center><a target=\"_blank\" href=\"out.php?id=$id\"><img src=\"$banner\" width=400 height=60 border=0></a><br> $descr <td width=70 align=center>$vote <td width=70 align=center>$out </tr> <tr> <td colspan=4 align=center><a target=\"_blank\" href=\"out.php?id=$id\">כניסה לאתר</a></td> </tr> </table> <p><p> "; } else{ print " <table width=80% align=center border=1 bordercolor=1C5CA2 bgcolor=5E93C9 cellspacing=0 cellpading=0> <tr><td colspan=4 align=center><a target=\"_blank\" href=\"out.php?id=$id\"><b>. : : $name : : .</b></a></tr> <tr> <td align=center width=25>$next <td align=right> $descr <td width=70 align=center>$vote <td width=70 align=center>$out </tr> <tr> <td colspan=4 align=center><a target=\"_blank\" href=\"out.php?id=$id\">כניסה לאתר</a></td> </tr> </table> <p> "; } }
איך אני מוסיף בסיום השלושה האתרים הראשונים תקוד
include("style/banners.php");
תודה לעוזרים
