$update_text="<div class='text-info'>There are <b>".$updates."</b> update(s) available</div><a href='/system_firmware.php'> Click to update </a>";
echo"</script>\n";
}elseif(file_exists($file_last_check)){
}else
$last_check=file_get_contents($file_last_check);
echo"<br />You are on the latest version.";
$update_text="<div class='text-info'>No updates found (checked once a day) </div><div class='text-info'>last time on: ".$last_check."</div><a href='' onclick='checkupdate()'>Click to check now</a>";