halo.bungie.org

They're Random, Baby!

Halo 2 Soundtrack V2 Contest - All Entrants

'.print_r ($order).''; $imgstart = (($page-1)*$imgperpage); if (($imgstart+$imgperpage) <= $num_results) {$imgend = $imgstart+$imgperpage;} else {$imgend = $num_results;} $counter="0"; $pagecounter="0"; $firstheader="yes"; echo '

Page '.$page.': Images '.($imgstart+1).' - '.($imgend).'

'; echo ''; $imgblock = ''; foreach($artwork as $artlines) { if($pagecounter>$imgstart && $pagecounter<=$imgend) { if ($counter%$imgperrow == 0) {$imgblock .= ' '."\n";} $imgblock .= ' '."\n"; $counter++; } $pagecounter++; } if ($counter%$imgperrow !== 0) { $rowend = $imgperrow - ($counter%$imgperrow); $imgblock .= ' '."\n"; } $imgblock .= ' '."\n".'
'.$artlines[0].' 
'."\n"; $imgblock .= '
'."\n"; $prevpage = $page-1; $nextpage = $page+1; if ($prevpage >= 1) {$startlink = 'FIRST | ';} else {$startlink = "";} if ($prevpage < 1) {$prevpagelink = "";} else {$prevpagelink = 'PREVIOUS ';} if ($nextpage > ceil(count($order)/$imgperpage)) {$nextpagelink = "";} else {$nextpagelink = '  NEXT | ';} if ($nextpage <= ceil(count($order)/$imgperpage)) {$lastlink = ' LAST';} else {$lastlink = "";} echo '

'.$startlink.$prevpagelink.$nextpagelink.$lastlink.'

'; echo $imgblock; echo '

'.$startlink.$prevpagelink.$nextpagelink.$lastlink.'

'; } else { foreach($artwork as $artlines) { if(is_array($artlines)) { if ($artlines[0] == $_REQUEST['display']) { echo '

'.$artlines[0].'
'."\n"; echo 'Theme: '.$artlines[1].''; if(!empty($artlines[2])) { echo '
"'.$artlines[2].'"

'; } echo "\n"; foreach($order as $key => $value) { if ($value == $artlines[0]) { $prev = $key-1; $next = $key+1; if ($prev < 0) {$prev = "";} if ($next >= count($order) ) {$next = "";} if (!empty($prev)) {$prevlink = 'PREVIOUS | ';} else {$prevlink = "";} if (!empty($next)) {$nextlink = ' | NEXT';} else {$nextlink = "";} if($key < $imgperpage) {$backpage = "";} else {$backpage = "?page=".(floor($key/$imgperpage)+1);} } } echo '

'.$prevlink.'BACK'.$nextlink.'

'; } } } } echo '

'; include("/usr/local/www/nikondata/includes/genfooter.html"); ?>