<?php
/**
 * Error page template for database table issues
 */

// Prevent direct access
if (!defined('ABSPATH')) {
    exit;
}
?>

<div class="wrap pc-announcements-274-wrap">
    <h1 class="wp-heading-inline">
        <?php _e('Announcements', 'pc-announcements-274'); ?>
    </h1>
    <hr class="wp-header-end">
    
    <div class="pc-announcements-274-card">
        <div class="pc-announcements-274-card-header">
            <h2><?php _e('Database Error', 'pc-announcements-274'); ?></h2>
        </div>
        <div class="pc-announcements-274-card-body">
            <div class="pc-announcements-274-empty-state">
                <div class="pc-announcements-274-empty-icon">⚠️</div>
                <h3><?php _e('Database table not found', 'pc-announcements-274'); ?></h3>
                <p><?php _e('The announcements database table has not been created yet. Please try deactivating and reactivating the plugin.', 'pc-announcements-274'); ?></p>
            </div>
        </div>
    </div>
</div>
