Changed the rating array so the keys can be used in the string for the ratings. Added a foreach loop to add the data to the UBB code.