Parašė timas126· 2012 Sau. 8 11:01:09
#1
Tai va, nepavyko parduoti tai padalinsiu sia panele:) kam negaila +11 uzmeskit man;)
openside(" Filmų top 15");
$qresult=dbquery("SELECT * FROM ".DB_NEWS." ORDER BY news_reads DESC LIMIT 0,15");
if(dbrows($qresult)!=0){
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
while($data=dbarray($qresult)){
echo "<div style='width:267px;'>
<div style='float:left; width:89px; margin-left:0px; margin-bottom:5px;'>
<a href='/news.php?readmore=".$data['news_id']."'><center><img src='".IMAGES_N.$data['news_image']."' width='85' height='125' /></center></a>
</div>\n";
}
} else {
}
echo "</tr>
</table>";
closeside();
Edited by acTesT.
Kitą syki dėk į [code] tagus, tokius scriptus
Redagavo acTesT.· 2012 Sau. 8 14:01:53