modified affiliates page to follow base templates