<?php
session_start();

/* Check Login */
if(!isset($_SESSION['user_id'])){
    header("Location: ../admin/login.php");
    exit;
}

include "operator_header.php";
?>

<h3>Village News 📰</h3>
<p style="color:#666;font-size:14px;">Manage village news and updates</p>

<!-- ===== BUTTONS ===== -->

<div style="display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin-top:20px;">

<a href="../admin/villages/add_news.php" style="background:#27ae60;color:white;padding:25px;border-radius:10px;text-align:center;text-decoration:none;">
<i class="fa fa-plus" style="font-size:22px;"></i>
<br><br>
Add News
</a>

<a href="../admin/villages/news_list.php" style="background:#3498db;color:white;padding:25px;border-radius:10px;text-align:center;text-decoration:none;">
<i class="fa fa-list" style="font-size:22px;"></i>
<br><br>
News List
</a>

</div>

<!-- ===== BACK BUTTON ===== -->

<div style="margin-top:25px;">
<a href="operator_dashboard.php" style="text-decoration:none;color:#2c3e50;">
← Back to Dashboard
</a>
</div>

<!-- ===== BOTTOM NAV ===== -->

<?php include "footer.php"; ?>