assign("lists", $lists); $smarty->assign("domain", $domain); $smarty->display("index.tpl"); ?>