<?php
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

session_start();

if (!isset($_SESSION['loggedin']))
{
    header("location:"."index.php");
    exit();
}
if(isset($_GET['message']))
{
    echo $_GET['message'];
}
?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>APKTime Panel</title>
    <link rel="stylesheet" href="css/app.css">

    <script>(function(w,d,u){w.readyQ=[];w.bindReadyQ=[];function p(x,y){if(x=="ready"){w.bindReadyQ.push(y);}else{w.readyQ.push(x);}};var a={ready:p,bind:p};w.$=w.jQuery=function(f){if(f===d||f===u){return a}else{p(f)}}})(window,document)</script>

</head>
<body class="theme-dark">
<div id="app">
<aside class="main-sidebar fixed offcanvas b-r sidebar-tabs" data-toggle='offcanvas'>
    <div class="sidebar">
        <div class="d-flex hv-100 align-items-stretch">
            <div class="tab-content flex-grow-1" id="v-pills-tabContent">
                <div class="tab-pane fade show active" id="v-pills-home" role="tabpanel" aria-labelledby="v-pills-home-tab">
                    <div class="relative brand-wrapper sticky b-b">
                        <div class="d-flex justify-content-between align-items-center p-3">
                            
                            <div class="text-xs-center d-flex justify-content-center text-allign centre">
                                <center>
                                    &emsp;&emsp;&emsp;
                                </center>
                            </div>

                        </div>
                    </div>
                    <ul class="sidebar-menu">
                        <li class="treeview">
                            <a href="store.php">
                                <i class="icon icon-window-restore s-24"></i>
                                <span>Store Config</span>
                            </a>
                        <li class="treeview">
                            <a href="update.php">
                                <i class="icon icon-user s-24"></i>
                                <span>In-App Update</span>
                            </a>
                        </li>
                        <li class="treeview">
                            <a href="user_update.php">
                                <i class="icon icon-user s-24"></i>
                                <span>Update credentials</span>
                            </a>
                        </li>
                        <li class="treeview">
                            <a href="logout.php">
                                <i class="icon icon-sign-out s-24"></i>
                                <span>Logout</span>
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</aside>

    <a href="#" data-toggle="push-menu" class="paper-nav-toggle left ml-2 fixed" style="width:300px;height:80px;">
        <img src="img/logo.png" width="200" height="50" class="d-flex justify-content-center text-allign centre" alt="">
    </a>
