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