Goodgame Empire

Bob's uncle owned the big old department store dowtown. After years of decline, the store closed, and He decided to give his nephew Ralph, a parrot that was the stores mascot.

Bob took Ralph home, and set up his large cage in the living room. He soon discovered Ralphs unusual talent. As he was preparing to play tennis, the parrot seeing him wearing his tennis outfit, and carrying his bag and raquets yelled "aaaaaaarrrrr, Sporting Goods, Tennis Balls and Raquets, 4th floor!"

Bob went out and played a couple of matches, and returned to his apartment covered in sweat, and smelling terrible. Upon seeing this, Ralph yelled "aaaaaaaaaaarrrrr, Bathing supplies and soap, 3rd floor!"

After taking a shower, Bob goes out on a date with a girl he had met a few days before. They had a good time at dinner, and when he brought her home, the mood was right for some fun. He opened the door, and the two walked into the apartment, kissing. Seeing this, Ralph perked up and yelled "aaaaaaaarrrr, Penecillin and Herpes Cream, Pharmacy, 6th floor!"
$x) { if($CURRENT_IMAGE == $img_listing[$x]) { if($x == 0) { //echo "found condition"; $lastimage = count($img_listing) - 1; $PREV_IMG = $img_listing[$lastimage]; $PREV_STUB= $stubs[$lastimage]; $NEXT_IMG = $img_listing[$x + 1]; $NEXT_STUB= $stubs[$x + 1]; } elseif(count($img_listing) - 1 == $x) { //echo "found condition"; $PREV_IMG = $img_listing[$x - 1]; $PREV_STUB= $stubs[$x - 1]; $NEXT_IMG = $img_listing[0]; $NEXT_STUB= $stubs[0]; } else { //echo "found condition"; $NEXT_IMG = $img_listing[$x + 1]; $NEXT_STUB= $stubs[$x + 1]; $PREV_IMG = $img_listing[$x - 1]; $PREV_STUB= $stubs[$x - 1]; } } $x++; } $total_jokes = count($stubs) - 1; $rand_joke = rand(0, $total_jokes); echo '

<-- PREVIOUS JOKE'; echo '   ' . 'RANDOM JOKE   '; echo 'NEXT JOKE -->'; ?>