<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <link rel="icon" type="image/png" href="<?php echo base_url(); ?>assets/img/favicon.ico">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <title>One Code</title>
  <meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0' name='viewport' />
  <meta name="viewport" content="width=device-width" />
  <link href="<?php echo base_url(); ?>assets/css/bootstrap.min.css" rel="stylesheet" />
  <link href="<?php echo base_url(); ?>assets/css/light-bootstrap-dashboard.css" rel="stylesheet"/>
  <link href="<?php echo base_url(); ?>assets/css/font-awesome.min.css" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,400i,700,700i" rel="stylesheet">
  <link href="<?php echo base_url(); ?>assets/css/pe-icon-7-stroke.css" rel="stylesheet" />
  
<style>
  @media all and (min-width: 520px) {
    #code {
      font-size:34px !important;
    }
  }
  #code {
    color:#ffa700;
    font-weight:bold;
    font-family:Roboto;
    text-align:center;
    border: 1px solid #ccc;
    padding:4px;
    margin:4px;
    width:auto;
    font-size:34px !important;
  }
  @media all and (max-width: 520px) {
    #code {
    font-size:34px !important;
    width:250px;
    }
  }
  #sorry {
    font-size:34px !important;
    color:#f00;
    font-weight:bold;
    font-family:Roboto;
  }        
</style>

</head>
<body>

<div class="wrapper">
  <div class="sidebar" data-color="orange" data-image="<?php echo base_url(); ?>assets/img/full-screen-image-3.jpg">
    <div class="logo"><a href="#" class="logo-text">Dashboard</a></div>
    <div class="logo logo-mini"><a href="#" class="logo-text">OC</a></div>
    <div class="sidebar-wrapper">
      <ul class="nav">
        <li class="active">
          <a href="<?php echo base_url(); ?>admin">
            <i class="pe-7s-note2"></i>
            <p>Campaigns</p>
          </a>
        </li>
        <li style="display:none;">
          <a href="<?php echo base_url(); ?>domains">
            <i class="pe-7s-global"></i>
            <p>My Domains</p>
          </a>
        </li>
      </ul>
    </div>
  </div>

  <div class="main-panel">
    <nav class="navbar navbar-default">
      <div class="container-fluid">
        <div class="navbar-minimize">
          <button id="minimizeSidebar" class="btn btn-warning btn-fill btn-round btn-icon">
            <i class="fa fa-ellipsis-v visible-on-sidebar-regular"></i>
            <i class="fa fa-navicon visible-on-sidebar-mini"></i>
          </button>
        </div>
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">Welcome Nuno!&nbsp;&nbsp;&nbsp;&nbsp;</a>
        </div>
        <div class="collapse navbar-collapse">
          <ul class="nav navbar-nav navbar-right">
            <li class="dropdown dropdown-with-icons">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                <i class="fa fa-list"></i>
                <p class="hidden-md hidden-lg"> More<b class="caret"></b></p>
              </a>
              <ul class="dropdown-menu dropdown-with-icons">
                <li>
                  <a href="<?php echo base_url(); ?>admin/reset">
                    <i class="pe-7s-lock"></i> Password Reset
                  </a>
                </li>
                <li>
                  <a href="<?php echo base_url(); ?>admin/logout" class="text-danger">
                    <i class="pe-7s-close-circle"></i>Log Out
                  </a>
                </li>
              </ul>
            </li>
          </ul>
        </div>
      </div>
    </nav>
    <div class="content">
      <div class="container-fluid">
        <?php $this->load->view('"'. $content .'"'); ?>
      </div>
    </div>        
  </div>

  <script src="<?php echo base_url(); ?>assets/js/jquery.min.js" type="text/javascript"></script>
  <script src="<?php echo base_url(); ?>assets/js/jquery-ui.min.js" type="text/javascript"></script>
  <script src="<?php echo base_url(); ?>assets/js/bootstrap.min.js" type="text/javascript"></script>
  <script src="<?php echo base_url(); ?>assets/js/jquery.validate.min.js"></script>
  <script src="<?php echo base_url(); ?>assets/js/moment.min.js"></script>
  <script src="<?php echo base_url(); ?>assets/js/bootstrap-datetimepicker.js"></script>
  <script src="<?php echo base_url(); ?>assets/js/bootstrap-selectpicker.js"></script>
  <script src="<?php echo base_url(); ?>assets/js/bootstrap-checkbox-radio-switch-tags.js"></script>
  <script src="<?php echo base_url(); ?>assets/js/chartist.min.js"></script>
  <script src="<?php echo base_url(); ?>assets/js/bootstrap-notify.js"></script>
  <script src="<?php echo base_url(); ?>assets/js/sweetalert2.js"></script>
  <script src="<?php echo base_url(); ?>assets/js/jquery-jvectormap.js"></script>
  <script src="<?php echo base_url(); ?>assets/js/jquery.bootstrap.wizard.min.js"></script>
  <script src="<?php echo base_url(); ?>assets/js/bootstrap-table.js"></script>
  <script src="<?php echo base_url(); ?>assets/js/jquery.datatables.js"></script>
  <script src="<?php echo base_url(); ?>assets/js/fullcalendar.min.js"></script>
  <script src="<?php echo base_url(); ?>assets/js/light-bootstrap-dashboard.js"></script>



</body>
</html>
