Create affiliate.tpl