function GetSocketOpts($post) { require_once $_SERVER['DOCUMENT_ROOT'] . "/" . $_SESSION['SiteFolder'] . "System/Item.class.php"; $it = new Item(); return $it->GetSocketSelectList($post['type']); }