Parašė DJ Piton· 2008 Bir. 18 23:06:39
#6
pwz sita dedant
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 ();
tj istrinu tuos skaicius ir ju eilutes. tj kur tuos tagus det?
Redagavo DJ Piton· 2008 Bir. 18 23:06:54