db_select($query); $smarty->assign("asset_id", $asset_id); $smarty->assign("asset_name", $asset[0]['asset_name']); $query = "SELECT node_id, node_ip FROM node WHERE asset_id=" . $asset_id . " ORDER BY INET_ATON(node_ip)"; $nodes = $db->db_select($query); $smarty->assign("nodes", $nodes); $smarty->display("assetdel.tpl"); include("footer.php"); ?>