It could be a "template engine" that does this:
$data = array( '{U_INDEX}' => 'url.php', '{L_INDEX}' => 'Title', '{SITE_LOGO_IMG}' => '<img src="image.png" />' );
echo str_replace(array_keys($data), $data, $template);
It really doesn't have to be complicated, it just keeps your code from being intertwined with your layout.