
<?php
session_start();
require_once __DIR__ . '/../includes/db.php';

$bolId = $_GET['id'] ?? null;
if (!$bolId) {
    header('Location: documents.php');
    exit;
}

include '../includes/header.php';
include '../includes/sidebar.php';

$_GET['id'] = $bolId;
include __DIR__ . '/bol_editor_partial.php';

include '../includes/footer.php';
