
Mam pilna sprawe a mianowicie, przerabiam ze znajomy phpclassifieds - http://www.deltascripts.com portal ogloszeniowy ze tak powiem



chodzi o to:
skrypt ten posiada cos takiego jak ogloszenia premium sa to ogloszenia ktore wyswietlane sa na glownej stronie ! w orginalnej wersji byla to tylko nazwa ogloszenia po prezrobieniu jest to tresz zdjecie i nazwa

i tu jest problem chcial bym jeszcze aby wyswetlala sie kategoria w jakiej jest ogloszenia oraz mam problem z robrykami sa one nierowne



przyklad jka ma to wygladac jest

pisalem juz do goscia czy nie udostepnil by mi pliku special.php w ktorym znajduje sie to


a oto plik special.php ktory ja przerobilem

<? $limit = 5; ?> <table background="layout_images/back.gif" border="1" cellspacing="1" cellpadding="1" style="border-style: solid; border-color: navy; border-collapse:collapse;" width="100%" height="18" > <tr> <td><center><b><font color="#bd1111">OFERTY PREMIUM:</font></b></center> </td> </tr> </table> <br> <center> <table border="1" style="border-collapse:collapse; border-color:navy;" width="780" cellspacing="1" cellpadding="2" background="layout_images/back.gif"> <tr> <? //require("admin/inc.php"); // Sql statement to get the ads that are special ordered randomly. $sql_siste = "select sitetitle, siteid, sitedescription from $ads_tbl where is_special =
1 order by rand() limit 5 "; // This for statement is used to show those 5 ads that we had limited to. for ($i=0; $i<$num_links; $i++) { $sitetitle1_siste = $row["sitetitle"]; $siteid = $row["siteid"]; $sitedescription = $row["sitedescription"]; // Sql statement to get the image while i am still getting new rows, stillkeeping
the // link between the ad and the image. $img = "select * from $pic_tbl where pictures_siteid = $siteid"; $image = $realimg["filename"]; if($image) {print("<a href='detail.php?siteid=$siteid'><center><img src='images/$image' width='100' height='100' border='0'></center><br>"); } // This see if their are 2 in column, if so it goes to the next one. $t++; if ($t==$1) { $t==0; } } ?> <center><font size="1"><a href="javascript:displayWindow('details_premium.html',300,200)"><? print (" Chcesz ustawiæ swoje og³oszenie jako PREMIUM? Kliknij tutaj! "); ?></a></font><br> </td> </tr> </table></center>
SPRAWAJEST PILNA


________
Brak BB code... Wrrrrrrrr...

ActivePlayer