Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: foto modas

Parašė ramon· 2008 Sau. 7 00:01:46
#19

Megink :

<?php
openside("");

$a = dbquery("SELECT * FROM ".$db_prefix."photos ORDER BY photo_id DESC LIMIT 0,10");
   if (dbrows($a) != 0) {
while($b = dbarray($a)) {
      $c = trimlink($b['photo_id'], 23);
      $d = trimlink($b['photo_title'], 23);
echo "<center>
<marquee behavior='scroll'  scrolldelay='25' scrollamount='2' truespeed='' width='100%' onmouseover='this.stop()' onmouseout='this.start()'>
<a href='".BASEDIR."photogallery.php?photo=".$b['photo_id']."' title='".$b['photo_title']."' class='side'>
<img src='".BASEDIR."images/photoalbum/".$b['photo_id']."t.jpg' border='0'>
<br /> $d</a>
</maruee>
</center>\n";
   }
}
closeside();
?>



Redagavo ramon· 2008 Sau. 7 00:01:28