<?php
include '../config/koneksi.php';
include '../session.php';

if(!isset($_SESSION['id_user'])){
    header("Location: ../login.php");
    exit;
}
?>

<!DOCTYPE html>
<html lang="id">
<head>

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Checklist Harian</title>

<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">

<style>

body{
    margin:0;
    background:#f4f6f9;
    overflow-x:hidden;
}

.sidebar{
    width:250px;
    min-height:100vh;
    background:#212529;
}

.sidebar a{
    display:block;
    color:#fff;
    text-decoration:none;
    padding:14px 20px;
}

.sidebar a:hover{
    background:#343a40;
}

.content{
    flex:1;
}

.topbar{
    height:60px;
    background:#fff;
    border-bottom:1px solid #ddd;
}

</style>

</head>

<body>

<div class="d-flex">