|
|
|
@ -32,14 +32,9 @@ if (isset($_GET["backgroundcolor"]) && !empty($_GET["backgroundcolor"]) && preg_
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
<?php if (!isset($_GET["embed"])) { ?>
|
|
|
|
|
<div class="container mt-4">
|
|
|
|
|
<div class="row justify-content-center">
|
|
|
|
|
<div class="col-12 col-md-8">
|
|
|
|
|
<?php } else { ?>
|
|
|
|
|
<div class="row justify-content-center">
|
|
|
|
|
<div class="col-12">
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<div class="<?php if (!isset($_GET["embed"])) { ?>col-12 col-md-8<?php } else { ?>col-12<?php } ?>">
|
|
|
|
|
<?php
|
|
|
|
|
if (empty($_GET["id"]) || (!Machine::exists($_GET["id"]) && !Machine::serialExists($_GET["id"]))) {
|
|
|
|
|
?>
|
|
|
|
@ -257,13 +252,9 @@ if (isset($_GET["backgroundcolor"]) && !empty($_GET["backgroundcolor"]) && preg_
|
|
|
|
|
<?php
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
<?php if (!isset($_GET["embed"])) { ?>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } else { ?></div>
|
|
|
|
|
</div>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
|
|
<?php
|
|
|
|
|
// Send message to parent frame with our height so they can adjust the iframe
|
|
|
|
|