Refactor some ads and users views
Show all the images in each ad
Smarty 'url' template function