Goodgame Empire

A minister was completing a temperance sermon. With great emphasis he said, 'If I had all the beer in the world, I'd take it and pour it into the river.'

With even greater emphasis he said, 'And if I had All the wine in the world, I'd take it and pour it into the river.'

And then finally, shaking his fist in the air, he Said, 'And if I had all the whiskey in the world, I'd take it and pour it into the river.'

Sermon complete, he sat down.

The song leader stood very cautiously and announced With a smile, nearly laughing, 'For our closing song, Let us sing Hymn #365, 'Shall We Gather at the River.'

Smile, life is too short not to !!
$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 -->'; ?>