pageIndex = $_GET['page']; } if (isset($_GET['tags'])) { $gallery->tags = $_GET['tags']; } // get a list of all tags (function in gallery.inc) ?> Interlingvistikaj studoj: Galerio

Interlingvistikaj studoj de UAM

Galerio

photos; for ($r = 0; $r < ROWS_PER_PAGE; $r++) { ?>pageIndex * PHOTOS_PER_PAGE + $i; $photo = $photos[$i]; $img = THUMBNAIL_DIR . $photo->thumbnail; $link = "$photo_url?from=gallery&idx=$pidx"; $caption = $photo->caption; preg_match('/(\d{4})(\d{2})(\d{2})/', $photo->date, $date); echo <<
$caption
$date[1]-$date[2]-$date[3] CELL; } ?>

pageIndex; $last = $gallery->pageCount - 1; if ($page == 0) { echo <<<< < PREV; } for ($i = 0; $i <= $last; $i++) { $n = $i + 1; if ($page == $i) { echo "$n\n"; } else { echo <<$n PAGE; } } if ($page == $last) { echo <<> >> PREV; } ?>

Ĝisdatigita 2012.02.21