Changed venues.php to return an array.

Changed venues.php to return an array instead of defining a global variable.