44 lines
1.1 KiB
PHP
44 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* ==========================
|
|
* 🔐 IGNY8 FILE RULE HEADER
|
|
* ==========================
|
|
* @file : analytics.php
|
|
* @location : /modules/analytics/analytics.php
|
|
* @type : Admin Page
|
|
* @scope : Module Only
|
|
* @allowed : Analytics reporting, performance metrics, data visualization
|
|
* @reusability : Single Use
|
|
* @notes : Analytics reporting page for analytics module
|
|
*/
|
|
|
|
// Prevent direct access
|
|
if (!defined('ABSPATH')) {
|
|
exit;
|
|
}
|
|
|
|
// Handle URL parameters for subpages
|
|
$subpage = $_GET['sp'] ?? 'analytics';
|
|
|
|
// Start output buffering
|
|
ob_start();
|
|
|
|
switch ($subpage) {
|
|
case 'analytics':
|
|
default:
|
|
// Analytics content
|
|
?>
|
|
<div class="igny8-analytics-page">
|
|
<h3>Analytics & Reporting</h3>
|
|
<p>Performance analytics and reporting functionality coming soon...</p>
|
|
</div>
|
|
<?php
|
|
break;
|
|
}
|
|
|
|
// Capture page content
|
|
$igny8_page_content = ob_get_clean();
|
|
|
|
// Include global layout
|
|
include plugin_dir_path(__FILE__) . '../../core/global-layout.php';
|
|
?>
|