setvars($lang); // get asset info $result = mysql_query("SELECT ip, asset_id FROM node WHERE node_id='$node_id'") or die(mysql_error()); $row=mysql_fetch_object($result); $tp->set("node_id", $node_id); $tp->set("asset_id", $row->asset_id); $tp->set("ip", $row->ip); // output $tp->parse(); $tp->spit(); include("footer.php"); ?>