str replace smarty template

Solutions on MaxInterview for str replace smarty template by the best coders in the world