Template separated from php code