BlackBerry/TCL Firmware List
getAllVariants(); $unknowns = $db->getUnknownRefs(); if (count($unknowns) > 0) { $variants = array(); foreach ($unknowns as $uref) { $variants[$uref] = ''; } $allVars['Unknown'] = array( 'Variants' => $variants, ); } foreach ($allVars as $family => $models) { echo '
'; foreach ($models as $model => $variants) { echo '

' . $family . ' ' . $model . '

' . PHP_EOL; $allVersions = $db->getAllVersionsForModel($model); echo ''; foreach ($variants as $ref => $name) { echo ''; $refVersions = $db->getAllVersionsForRef($ref); $allOta = $db->getAllVersionsForRef($ref, $db::OTA_ONLY); foreach ($allVersions as $v) { if (in_array($v, $refVersions, true)) { if (in_array($v, $allOta)) { echo ''; } else { echo ''; } } else { echo ''; } } echo '' . PHP_EOL; } echo '
'; if (mb_strlen($name) > 0) { echo '' . $ref . ''; } else { echo $ref; } echo '' . $v . '' . $v . '- - -
'; } echo '
'; } ?>