. For more information, visit http://sourceforge.net/projects/ipreg, or contact me at wietsew@users.sourceforge.net *****************************************************************************/ // start page // includes include("includes.php"); // get id $node_id = sanitize($_GET['node_id']); // start output include("header.php"); // set template $tp = new Template("tpl/nodedel.tpl", $config_yapter_error); // set language variables $tp->setvars($lang); // setup node // build query $query = "SELECT node.asset_id AS asset_id, node.node_ip AS node_ip FROM node WHERE node.node_id=" . $node_id; // run query $node = $db->db_select($query); // send to tpl $tp->set("node_id", $node_id); $tp->set("asset_id", $node[0]['asset_id']); $tp->set("node_ip", $node[0]['node_ip']); // end page // output $tp->parse(); $tp->spit(); // end output include("footer.php"); ?>