=1 && $_GET['page']<=$last)) { $page=$_GET['page']; if($page>1) $prev=$page-1; else $prev=$page; if($page<$last) $next=$page+1; else $next=$page; } include "header.php"; if($page>1) { ?> <?php echo(get_title() . ' - Page ' . $page) ?> <?php echo(get_title()) ?>
‚Äč
0) { while($fetch = mysql_fetch_array($query)) { if($fetch['type']==0) { $thumb = $fetch['file']; $type = "picture"; } else if($fetch['type']==1) { $thumb = $fetch['thumb']; $type = "video"; } else if($fetch['type']==2) { $thumb = $fetch['file']; $type = "gif"; } if($i==4) $i=1; ?>