';
echo ' ';
foreach ($variants as $ref => $name) {
echo '
';
}
echo '
';
}
?>
';
echo '
';
foreach ($models as $model => $variants) {
echo '';
echo '
';
echo ' ';
echo ' How to find your CU Reference (PRD) number
Open your phone dialer and enter this code: *#837837# (*#TESTER#).
';
echo ' ' . $family . ' ' . $model . '
' . PHP_EOL; $allVersions = $db->getAllVersionsForModel($model); echo ''; if (mb_strlen($name) > 0) { echo '' . $ref . ''; } else { echo $ref; } echo ' | '; $refVersions = $db->getAllVersionsForRef($ref); $allOta = $db->getAllVersionsForRef($ref, $db::OTA_ONLY); $allFull = $db->getAllVersionsForRef($ref, $db::FULL_ONLY); foreach ($allVersions as $v) { if (in_array($v, $refVersions, true)) { $moreClasses = ''; if (!in_array($v, $allOta) && !in_array($v, $allFull)) { $moreClasses = ' nofiles'; } elseif (!in_array($v, $allOta)) { $moreClasses = ' fullonly mdc-theme--secondary-dark'; } elseif (!in_array($v, $allFull)) { $moreClasses = ' otaonly mdc-theme--primary-dark'; } echo '' . $v . ' | '; } else { echo '- - - | '; } } echo '
---|