. 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 language variables $smarty->assign($lang); // setup node // build query $query = "SELECT node.node_ip AS node_ip FROM node WHERE node.node_id=" . $node_id; // run query $node = $db->db_select($query); $smarty->assign("node_id", $node_id); $smarty->assign("node_ip", $node[0]['node_ip']); // end page // output $smarty->display("natedit.tpl"); // end output include("footer.php"); ?>