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