Parašė Jaunelis· 2009 Spa. 26 23:10:45
#1
Sveiki turiu tokią panelę (tiksliau radau):
openside ("Pastikutinios Nuotraukos");
$uzklausa = dbquery("SELECT panel_name FROM ".$db_prefix."panels WHERE panel_filename = 'latest_images_panel'");
if (dbrows($uzklausa) != 0) {
$data = dbarray($uzklausa);
$panel_name = $data['panel_name'];
}
$uzklausa = dbquery("SELECT * FROM ".$db_prefix."photos ORDER BY photo_id DESC LIMIT 1");
echo "";
if (dbrows($uzklausa) != 0) {
while($data = dbarray($uzklausa)) {
echo "<center>
<a href='".BASEDIR."photogallery.php?photo_id=".$data['photo_id']."' title='".$data['photo_title']."'class='gallery'>
<img src='".BASEDIR."images/photoalbum/"."/".$data['photo_thumb1']."' border='0'></a><center>";
}
}
closeside ();
Gal kas galite pataisyti kad rodytu paveiklėli nes dabar nerodo....