This commit is contained in:
devdatt 2025-12-20 08:39:11 +05:30
parent ee9a822a31
commit c959f3aba9
1 changed files with 102 additions and 101 deletions

View File

@ -2,6 +2,9 @@
include 'header.php';
$board_id = trim(@file_get_contents('/sys/class/dmi/id/board_serial'));
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
switch ($_POST['action']) {
case 'update':
update_firmware();
@ -100,8 +103,7 @@ switch ($_POST['action']) {
}
break;
}
$board_id = trim(@file_get_contents('/sys/class/dmi/id/board_serial'));
}
?>
<script>
@ -127,8 +129,7 @@ $board_id = trim(@file_get_contents('/sys/class/dmi/id/board_serial'));
<div class="grid">
<div class="card wide">
Device Licence Info :- <br>
Device ID :- <?php global $board_id;
echo $board_id ?><br>
Device ID :- <?php echo $board_id ?><br>
Reseller ID :- <br>
Project Name :- <br>
</div>