if ($ret == _MD_RESERV_REFUSE) {
$template = file_get_contents(template_dir('confirm2.tpl')."/confirm2.tpl");
} else {
$template = file_get_contents(template_dir('confirm.tpl')."/confirm.tpl");
}

これでよろしいでしょうか?