System->Type->TypeDefinitionList[$Item['Type']]; $DbResult = $this->System->Database->query('SELECT '.$Type['Parameters']['Name'].' AS Name FROM `'.$Type['Parameters']['Table'].'` WHERE `'.$Type['Parameters']['Id'].'`='.$Item['Value']); $DbRow = $DbResult->fetch_assoc(); if($this->System->Modules['Permission']->Check('Corporation', 'Show')) $Output = $this->System->HTML->MakeLink($DbRow['Name'], $this->System->MakeLink($Type['Parameters']['Table'], 'Show', array('Id' => $Item['Value']))); else $Output = $DbRow['Name']; return($Output); } function OnEdit($Item) { $Output = ''; return($Output); } function OnLoad($Item) { return($_POST[$Item['Name']]); } }