<?php
error_reporting(E_ALL);
ini_set('display_errors', 'On');
ini_set('display_startup_errors', 'On');
// Your other code follows...
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ARPD • r/TeenGovernment made easy.</title>
    <style>
        body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #1e1e1e; color: #ddd }
        header, footer { background: #333; color: #fff; padding: 10px 20px; text-align: center; }
        main { padding: 20px; max-width: 800px; margin: auto; }
        .law { background: grey; padding: 15px; margin: 15px 0; border-radius: 5px; box-shadow: 0 0 5px rgba(0,0,0,0.1); color: #000;}
        .status { font-weight: bold; }
        .passed { color: green; }
        .failed { color: red; }
        .pending { color: orange; }
        a { text-decoration: none; color: #001; }
        a:hover { text-decoration: underline; }
        form input, form textarea, form select, form button { width: 100%; margin: 5px 0; padding: 8px; }
        form button { background: #007BFF; color: white; border: none; cursor: pointer; }
        form button:hover { background: #0056b3; }
        table { width: 100%; border-collapse: collapse; }
        th, td { padding: 10px; border-bottom: 1px solid #ddd; text-align: left; }
        .admin-actions a { margin-right: 10px; }
    </style>
</head>
<body>
<header>
    <h1>ARPD • r/TeenGovernment made easy.</h1>
    <a href="/">Home</a> <span style="color:black">|</span> <a href="/propose.php">Submit a law</a>
</header>
<main>
