<?php
session_start();
if (!isset($_SESSION['admin_id'])) {
    echo "<script>window.location.assign('login.php');</script>";
}
    include("header.php");
    
?>

<style>
    .page-header .left {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between !important;
    }
    a, .btn-link {
        color: #fff;
    }
    a:hover {
        color: #fff;
    }
    
    th,td{
        text-align:left !important;
    }
    
    @media screen and (max-width: 767px) {
        .page-title {
            margin-right: 0;
            font-size: 14px;
        }
    }
</style>


    <div class="page">
        <div id="page_top" class="section-body top_dark">
            <div class="container-fluid">
                <div class="page-header">
                    <div class="left">
                        <!--<a href="javascript:void(0)" class="icon menu_toggle mr-3"><i class="fa fa-align-left"></i></a>-->
                        <h1 class="page-title" style="color: #fff !important;">Admin Portal</h1>
                        <img src="myassets/images/logo1.png" width="30%" class="d-sm-none"/>
                        <a href="logout.php" class="icon menu_toggle mr-3"><i class="fa fa-sign-out"></i> Logout</a>
                    </div>
                    <!--<div class="right">-->
                    <!--    <div class="input-icon xs-hide mr-4">-->
                            <!--<input type="text" class="form-control" placeholder="Search for...">-->
                            <!--<span class="input-icon-addon"><i class="fa fa-search"></i></span>-->
                    <!--        <a href="logout.php" class="icon menu_toggle mr-3"><i class="fa fa-sign-out"></i> Logout</a>-->
                    <!--    </div>-->
                    <!--</div>-->
                </div>
            </div>
        </div>
        <div class="section-body mt-3">
            <div class="container-">
                <div class="row clearfix">
                 
                    <div class="col-12 pt-5">
                        <div class="card p-4">
                            
                        </div>
                    </div>
                </div>
            </div>
        </div>
<?php
    include("footer.php");
    
    if (isset ($_GET["delete"])) {
      $obj->Delete_Blog($_GET["delete"]);
      echo "<script> alert('Deleted Successfully'); window.location.assign('index.php')</script>";
    }
?>

    