select template_name, template from ec_templates where template_id=:template_id select default_template from ec_admin_settings