fix bugs in view/shop/ads.phtml