<?php

session_start();
if (!isset($_SESSION["loggedin"])) {
    header("location:login.php");
    exit;
}
if (isset($_GET["message"])) {
    echo $_GET["message"];
}
echo "\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n\r\n<head>\r\n\r\n  <meta charset=\"utf-8\">\r\n  <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\r\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">\r\n  <meta name=\"description\" content=\"\">\r\n  <meta name=\"author\" content=\"\">\r\n  <title>OTT Panel</title>\r\n  <link rel=\"shortcut icon\" href=\"favicon.ico\" type=\"image/x-icon\">\r\n  <link rel=\"icon\" href=\"favicon.ico\" type=\"image/x-icon\">\r\n  <!-- Custom styles for this template-->\r\n  <link href=\"css/sb-admin.css\" rel=\"stylesheet\">\r\n  <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jquery.datetimepicker.min.css\"/>\r\n\r\n  <!-- Custom fonts for this template-->\r\n  <link href=\"vendor/fontawesome-free/css/all.min.css\" rel=\"stylesheet\" type=\"text/css\">\r\n  <link href=\"https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i\" rel=\"stylesheet\">\r\n\r\n</head>\r\n<body id=\"page-top\">\r\n\r\n  <!-- Page Wrapper -->\r\n  <div id=\"wrapper\">\r\n\r\n    <!-- Sidebar -->\r\n    <ul class=\"navbar-nav bg-gradient-primary sidebar sidebar-dark accordion\" id=\"accordionSidebar\">\r\n\r\n      <!-- Sidebar - Brand -->\r\n      <a class=\"sidebar-brand d-flex align-items-center justify-content-center\" href=\"https://api.whatsapp.com/send/?phone=5543991478277/\">\r\n        <div class=\"sidebar-brand-icon\">\r\n          <img class=\"img-profile rounded-circle\" src=\"img/logo.png\" width=\"65px\">\r\n        </div>\r\n\r\n      </a>\r\n\r\n      <!-- Divider -->\r\n      <hr class=\"sidebar-divider my-0\">\r\n\r\n      <!-- Nav Item -->\r\n      <li class=\"nav-item\">\r\n        <a class=\"nav-link\" href=\"dns.php\">\r\n          <i class=\"fas fa-fw fa-user\"></i>\r\n          <span>Portal</span></a>\r\n      </li>\r\n\r\n     \r\n\t  \r\n\t   <li class=\"nav-item\">\r\n        <a class=\"nav-link\" href=\"encription.php\">\r\n          <i class=\"fas fa-fw fa-paint-brush\"></i>\r\n          <span>Encription</span></a>\r\n      </li>\r\n\t  \r\n\t\r\n      \r\n      <li class=\"nav-item\">\r\n        <a class=\"nav-link\" href=\"user.php\">\r\n          <i class=\"fas fa-fw fa-user\"></i>\r\n          <span>Update User / Pass</span></a>\r\n      </li>\r\n\r\n   <li class=\"nav-item\">\r\n        <a class=\"nav-link\" href=\"https://api.whatsapp.com/send/?phone=5543991478277/\">\r\n          <i class=\"fas fa-fw fa-user\"></i>\r\n          <span>Apps N Scripts</span></a>\r\n      </li>\r\n\r\n   <!-- Divider -->\r\n      <hr class=\"sidebar-divider d-none d-md-block\">\r\n\r\n      <!-- Sidebar Toggler (Sidebar) -->\r\n      <div class=\"text-center d-none d-md-inline\">\r\n      </div>\r\n\r\n    </ul>\r\n          <!-- End of Sidebar -->\r\n\r\n    <!-- Content Wrapper -->\r\n    <div id=\"content-wrapper\" class=\"d-flex flex-column\">\r\n\r\n      <!-- Main Content -->\r\n      <div id=\"content\">\r\n\r\n        <!-- Topbar -->\r\n        <nav class=\"navbar navbar-expand navbar-light bg-white topbar mb-4 static-top\">\r\n\r\n          <!-- Sidebar Toggle (Topbar) -->\r\n          <button id=\"sidebarToggleTop\" class=\"btn btn-link d-md-none rounded-circle mr-3\">\r\n            <i class=\"fa fa-bars\"></i>\r\n          </button>\r\n<div><h5 class=\"m-0 text-primary\">OTT Panel<sup></sup></h5></div>\r\n\r\n          <!-- Topbar Navbar -->\r\n          <ul class=\"navbar-nav ml-auto\">\r\n\r\n\r\n            <div class=\"topbar-divider d-none d-sm-block\"></div>\r\n\r\n            <!-- Nav Item - Logout -->\r\n            <li class=\"nav-item dropdown no-arrow mx-1\">\r\n              <a class=\"nav-link dropdown-toggle\" href=\"logout.php\"><span class=\"badge badge-danger\">Logout</span>\r\n                <i class=\"fas fa-sign-out-alt fa-sm fa-fw mr-2 text-red-400\"></i>\r\n              </a>\r\n            </li>\r\n\r\n          </ul>\r\n\r\n        </nav>\r\n        <!-- End of Topbar -->\r\n\r\n";

?>