<?php
$type = $_GET['type'];

$map = [
    'birthday' => 'message-templates/birthday.html',
    'christmas' => 'message-templates/christmas_holiday.html',
    'easter' => 'message-templates/easter_holiday.html',
    'eidAlAdha' => 'message-templates/eidAlAdha_holiday.html',
    'eidAlFitr' => 'message-templates/eidAlFitr_holiday.html',
    'general' => 'message-templates/general_holiday.html'
];

echo file_get_contents($map[$type]);
