Gallerie

[php]
global $nggdb;
$start = $_GET[‘start’];
$startx = $start*25;
$galleries = $nggdb->find_all_galleries(‘gid’, ‘DESC’, TRUE, 25, $startx, false);
foreach ( $galleries as $gallery ) {
echo “<br>”;
echo $gallery->title.”
“;
echo ‘[ngg_images gallery_ids=”‘;
echo $gallery->gid.”,”;
echo ‘” display_type=”photocrati-nextgen_basic_thumbnails”]
‘; }
[/php]

[php]

$start = $_GET[‘start’];
if ($start) {
$startt = $start+1;
echo “<br><p style=’text-align:right;’><a href=’http://www.alqamah.it/gallerie/?start=”.$startt.”‘>Pagina “.$startt.”</a></p>”;
} else {
echo “<br><p id=’next’ style=’text-align:right;’><a href=’http://www.alqamah.it/gallerie/?start=2′>Pagina 2</a></p>”; }
[/php]