Rename affiliate.tpl to affiliate.php