Простой пример подключения и использования Smarty.
Code
<?php
// подключаем класс Smarty
require_once('smarty/Smarty.class.php');
// Создаем объект класса
$smarty = new Smarty();
// Устанавливаем папки шаблонов
$smarty->template_dir = 'templates';
$smarty->compile_dir = 'templates_c';
$news = 'Содержание сайта.'
$smarty->assign('content', $content);
$smarty->display('index.tpl');
?>