<?php if(isset($url) && !empty($url)) : ?>
<?php
    $sitename = $this->settings_model->get('sitename');
    $sitename = !empty($sitename) ? $sitename : "Company";
?>
    <!DOCTYPE HTML>
    <html>
        <head>
            <title><?php echo $sitename ?></title>
            <meta charset="utf-8" />
            <meta http-equiv="X-UA-Compatible" content="IE=edge" />
            <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
        </head>
        <body style="margin:0px;padding:0px;overflow:hidden">
            <iframe src="<?php echo $url ?>" frameborder="0" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;height:100%;width:100%;position:absolute;top:0px;left:0px;right:0px;bottom:0px" height="100%" width="100%"></iframe>
        </body>
    </html>
<?php endif; ?>
