The website [url removed, login to view] is a directory of companies in Sweden. It simply allows for searching and filtering of approximately 10000 Swedish companies. We want to update it with the following:
1. Google Maps
4. Back-end listing of recent comments and ratings.
The coder will have full access to the website and database via FTP.
# Detailed explanations
#### Add Google Maps to each company page
There should be a box below the box “Addressuppgifter?? called “Karta?? where the map should be placed. The box should be the same width as the other boxes, and should be completely square (i.e. as tall as it is wide). The address used to place item on the map is indicated on each company page. If the geocoding fails, do not show the map box at all.
#### Allow comments on company pages
Below the “Karta??-box, create a box called “Kommentarer??. Here list comments. If there are no comments, print “Inga kommentarer ännu??. Add a button called “Kommentera?? which opens a layer with two fields: “Namn?? and “Kommentar??. The name field is one row, the comment field is 4 rows. Two buttons on the comment layer: “Spara?? (save) and “Stäng?? (close). The save button closes the layer and adds the comment, the close button simply closes the layer. If the user forgets to put a name in the name field, it prints as “Anonym??. If the user forgets to put a comment, it prints “Sa ingenting?? (said nothing). It is not possible to save with empty name and comment fields.
#### Allow rating of companies on company pages
Using AJAX, allow users to rate the company with 1-5 stars. If no ratings have been performed, the stars should be grey.
#### Create a non-password-protected backend page
It should list all comments & ratings in reverse cronological order (newest first) with a “trash?? button. If we press the “trash?? button, the comment is removed from the list, and removed from the site. If the “trash?? button is pressed on a rating, that rating is removed and the average is recalculated. The list should include the IP-address of the user who commented or rated, as well as an exact time stamp. The url could be
[url removed, login to view]