include('user_inc.htm'); // $drives = get_all_drives($user, $sortCriteria); $numRows = count($media); $numPages = ceil($numRows / ITEMS_PER_PAGE); $lowPageList = 1; $highPageList = min($numRows, ITEMS_PER_PAGE); $utypes=array(); // build unique list foreach($drives as $drive) { if( $drive->interfaceType == "Fibre" ) { $utypes[$drive->vendor][$drive->driveType] = $drive->interfaceType; } } ?>