assign("current", $sites["gen_cm"]); $smarty->display("layout.tpl");