= 0 && $number < $totalArts) { $artistThis = $artistData[$number]; $artistDesc = $artistThis->desc; $artistName = $artistThis->name; $artistServer = $artistThis->server; $artistContent = $artistThis->content; } else { $artistDesc = ""; $artistName = ""; $artistServer = ""; $artistContent = ""; } if($number == 0){ echo("

Horse Isle: Secret Land of Horses fan art submission winners! The following are in no particular order whatsoever.
We also added some corney blurbage to the top of each work. Feel free to ignore that :) -- Enjoy!
[HOME] [NEXT]
(".(string)($number+1)." of ".(string)$totalArts.") Player: ".htmlspecialchars($artistName)."   Main Server: ".htmlspecialchars($artistServer).".
".htmlspecialchars($artistDesc)."
".$artistContent."
Copyright © 2009 HorseIsle and the respective artist of each work."); } else if($number == $totalArts-1){ echo("
[BACK] [HOME]
(".(string)($number+1)." of ".(string)$totalArts.") Player: ".htmlspecialchars($artistName)."   Main Server: ".htmlspecialchars($artistServer).".
".htmlspecialchars($artistDesc)."
".$artistContent."
Copyright © 2009 HorseIsle and the respective artist of each work."); } else{ echo("
[BACK] [HOME] [NEXT]
(".(string)($number+1)." of ".(string)$totalArts.") Player: ".htmlspecialchars($artistName)."   Main Server: ".htmlspecialchars($artistServer).".
".htmlspecialchars($artistDesc)."
".$artistContent."
Copyright © 2009 HorseIsle and the respective artist of each work."); } ?>