Hallo,
Warning: Smarty error: unable to read resource: "index.tpl" in D:\xampp\Smarty\libs\Smarty.class.php on line 1095
Tja, mit den Informationen kann man nur raten: existiert "index.tpl" unter dem angegebenen Pfad? Dann erwähnst Du noch eine "template.tbl" - hast Du da was verwechselt?
$smarty->config_dir = trim("configs");
Warum nicht einfach $smarty->config_dir = 'configs'; Du wirst ja nicht absichtlich ' configs ' schreiben.
Ansonsten sind Fragen zu Smarty auch gut im Smarty-Forum aufgehoben.
Alex