<?php session_start(); require 'libs/Smarty.class.php'; $smarty = new Smarty; $smarty->compile_check = true; $smarty->debugging = false; $smarty->display('test1.tpl'); ?>