. 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 $location_id = sanitize($_GET['location_id']); // start output include("header.php"); // set language variables $smarty->assign($lang); // setup location // build query $query = "SELECT location.location_name AS location_name FROM location WHERE location.location_id=" . $location_id; // run query $location = $db->db_select($query); // send to tpl $smarty->assign("location_id", $location_id); $smarty->assign("location_name", $location[0]['location_name']); // end page // output $smarty->display("locationdel.tpl"); // footer include("footer.php"); ?>