db_select($query); $smarty->assign("asset", $asset[0]); $smarty->assign("assetclass_options", $db->options_assetclass()); $smarty->display("assetedit.tpl"); include("footer.php"); ?>