public static function parse_include(MyTPL $tpl, $att_list = array()) { $result = ""; if (isset($att_list['file'])) { if (file_exists($att_list['file'])) { $result = $tpl->GetFile($att_list['file']); } } return $result; }