<?php 
    if ($this->input->get('label') == 1) {
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">    
</head>
<body>
<?php $this->load->view('seller/pages/' . $main_page); ?>

</body>
<style>
        @media print {
        
            .printDiv {
                visibility: visible !important;
                display: block !important;
               
            }
            .print-back-btn{
                display: none;
            }
        }
        </style>
</html>
<?php 
    }else{
?>
<!DOCTYPE html>
<html>
<?php $this->load->view('seller/include-head.php'); ?>
<div id="loading">
    <div class="lds-ring">
        <div></div>
    </div>
</div>

<body class="hold-transition sidebar-mini layout-fixed ">
    <div class=" wrapper ">
        <?php $this->load->view('seller/include-navbar.php') ?>
        <?php $this->load->view('seller/include-sidebar.php'); ?>
        <?php $this->load->view('seller/pages/' . $main_page); ?>
        <?php $this->load->view('seller/include-footer.php'); ?>
    </div>
    <?php $this->load->view('seller/include-script.php'); ?>
</body>

</html>
<?php   
    }
?>