. For more information, visit http://sourceforge.net/projects/ipreg, or contact me at wietsew@users.sourceforge.net *****************************************************************************/ // includes include("includes.php"); // get id $assetclassgroup_id = $_GET['assetclassgroup_id']; // check authorisation $auth = auth("assetclassgroup", $config_auth_assetclassgroupdel, $assetclassgroup_id); // start output include("header.php"); // set template $tp = new Template("tpl/assetclassgroupdel.tpl"); // set language variables $tp->setvars($lang); // get assetclass info $result = mysql_query("SELECT assetclassgroup_id, assetclassgroup_name FROM assetclassgroup WHERE assetclassgroup_id='$assetclassgroup_id'") or die(mysql_error()); $row=mysql_fetch_object($result); $tp->set("assetclassgroup_id", $row->assetclassgroup_id); $tp->set("assetclassgroup_name", $row->assetclassgroup_name); // output $tp->parse(); $tp->spit(); include("footer.php"); ?>