<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

INFO - 2026-12-26 18:13:09 --> Config Class Initialized
INFO - 2026-12-26 18:13:09 --> Hooks Class Initialized
DEBUG - 2026-12-26 18:13:09 --> UTF-8 Support Enabled
INFO - 2026-12-26 18:13:09 --> Utf8 Class Initialized
INFO - 2026-12-26 18:13:09 --> URI Class Initialized
INFO - 2026-12-26 18:13:09 --> Router Class Initialized
INFO - 2026-12-26 18:13:09 --> Output Class Initialized
INFO - 2026-12-26 18:13:09 --> Security Class Initialized
DEBUG - 2026-12-26 18:13:09 --> Global POST, GET and COOKIE data sanitized
INFO - 2026-12-26 18:13:09 --> Input Class Initialized
INFO - 2026-12-26 18:13:09 --> Language Class Initialized
INFO - 2026-12-26 18:13:09 --> Loader Class Initialized
INFO - 2026-12-26 18:13:09 --> Helper loaded: url_helper
INFO - 2026-12-26 18:13:09 --> Helper loaded: form_helper
INFO - 2026-12-26 18:13:09 --> Helper loaded: text_helper
INFO - 2026-12-26 18:13:09 --> Database Driver Class Initialized
INFO - 2026-12-26 18:13:09 --> Session: Class initialized using 'files' driver.
INFO - 2026-12-26 18:13:09 --> Form Validation Class Initialized
INFO - 2026-12-26 18:13:09 --> Model "Payment_model" initialized
INFO - 2026-12-26 18:13:09 --> Controller Class Initialized
INFO - 2026-12-26 18:13:09 --> Model "Admin_model" initialized
INFO - 2026-12-26 18:13:09 --> Model "Kos_model" initialized
INFO - 2026-12-26 18:13:09 --> Model "Laporan_model" initialized
INFO - 2026-12-26 18:13:09 --> Model "Subscription_model" initialized
INFO - 2026-12-26 18:13:09 --> Helper loaded: security_helper
DEBUG - 2026-12-26 18:13:09 --> Session class already loaded. Second attempt ignored.
DEBUG - 2026-12-26 18:13:09 --> === GET ACTIVE SUBSCRIPTION ===
DEBUG - 2026-12-26 18:13:09 --> Admin ID: 2
DEBUG - 2026-12-26 18:13:09 --> Query: SELECT *
FROM `admin_subscription`
WHERE `id_admin` = '2'
AND `status` = 'active'
AND `start_date` <= '2026-12-26 18:13:09'
AND `end_date` >= '2026-12-26 18:13:09'
ORDER BY `end_date` DESC
 LIMIT 1
DEBUG - 2026-12-26 18:13:09 --> Result count: 0
DEBUG - 2026-12-26 18:13:09 --> === CHECK SUBSCRIPTION ===
DEBUG - 2026-12-26 18:13:09 --> Admin ID: 2
DEBUG - 2026-12-26 18:13:09 --> Has subscription: NO
DEBUG - 2026-12-26 18:13:09 --> === GET ACTIVE SUBSCRIPTION ===
DEBUG - 2026-12-26 18:13:09 --> Admin ID: 2
DEBUG - 2026-12-26 18:13:09 --> Query: SELECT *
FROM `admin_subscription`
WHERE `id_admin` = '2'
AND `status` = 'active'
AND `start_date` <= '2026-12-26 18:13:09'
AND `end_date` >= '2026-12-26 18:13:09'
ORDER BY `end_date` DESC
 LIMIT 1
DEBUG - 2026-12-26 18:13:09 --> Result count: 0
INFO - 2026-12-26 18:13:09 --> Model "Report_model" initialized
INFO - 2026-12-26 18:13:09 --> File loaded: C:\xampp\htdocs\sistemkos\application\views\admin/dashboard.php
INFO - 2026-12-26 18:13:09 --> Final output sent to browser
DEBUG - 2026-12-26 18:13:09 --> Total execution time: 0.4167
INFO - 2026-12-26 18:13:11 --> Config Class Initialized
INFO - 2026-12-26 18:13:11 --> Hooks Class Initialized
DEBUG - 2026-12-26 18:13:11 --> UTF-8 Support Enabled
INFO - 2026-12-26 18:13:11 --> Utf8 Class Initialized
INFO - 2026-12-26 18:13:11 --> URI Class Initialized
INFO - 2026-12-26 18:13:11 --> Router Class Initialized
INFO - 2026-12-26 18:13:11 --> Output Class Initialized
INFO - 2026-12-26 18:13:11 --> Security Class Initialized
DEBUG - 2026-12-26 18:13:11 --> Global POST, GET and COOKIE data sanitized
INFO - 2026-12-26 18:13:11 --> Input Class Initialized
INFO - 2026-12-26 18:13:11 --> Language Class Initialized
INFO - 2026-12-26 18:13:11 --> Loader Class Initialized
INFO - 2026-12-26 18:13:11 --> Helper loaded: url_helper
INFO - 2026-12-26 18:13:11 --> Helper loaded: form_helper
INFO - 2026-12-26 18:13:11 --> Helper loaded: text_helper
INFO - 2026-12-26 18:13:11 --> Database Driver Class Initialized
INFO - 2026-12-26 18:13:11 --> Session: Class initialized using 'files' driver.
INFO - 2026-12-26 18:13:11 --> Form Validation Class Initialized
INFO - 2026-12-26 18:13:11 --> Model "Payment_model" initialized
INFO - 2026-12-26 18:13:11 --> Controller Class Initialized
INFO - 2026-12-26 18:13:11 --> Model "Subscription_model" initialized
DEBUG - 2026-12-26 18:13:11 --> Config file loaded: C:\xampp\htdocs\sistemkos\application\config/midtrans.php
DEBUG - 2026-12-26 18:13:11 --> === GET ACTIVE SUBSCRIPTION ===
DEBUG - 2026-12-26 18:13:11 --> Admin ID: 2
DEBUG - 2026-12-26 18:13:11 --> Query: SELECT *
FROM `admin_subscription`
WHERE `id_admin` = '2'
AND `status` = 'active'
AND `start_date` <= '2026-12-26 18:13:11'
AND `end_date` >= '2026-12-26 18:13:11'
ORDER BY `end_date` DESC
 LIMIT 1
DEBUG - 2026-12-26 18:13:11 --> Result count: 0
DEBUG - 2026-12-26 18:13:11 --> === GET ACTIVE SUBSCRIPTION ===
DEBUG - 2026-12-26 18:13:11 --> Admin ID: 2
DEBUG - 2026-12-26 18:13:11 --> Query: SELECT *
FROM `admin_subscription`
WHERE `id_admin` = '2'
AND `status` = 'active'
AND `start_date` <= '2026-12-26 18:13:11'
AND `end_date` >= '2026-12-26 18:13:11'
ORDER BY `end_date` DESC
 LIMIT 1
DEBUG - 2026-12-26 18:13:11 --> Result count: 0
INFO - 2026-12-26 18:13:11 --> File loaded: C:\xampp\htdocs\sistemkos\application\views\admin/subscription/index.php
INFO - 2026-12-26 18:13:11 --> Final output sent to browser
DEBUG - 2026-12-26 18:13:11 --> Total execution time: 0.1965
INFO - 2026-12-26 18:13:15 --> Config Class Initialized
INFO - 2026-12-26 18:13:15 --> Hooks Class Initialized
DEBUG - 2026-12-26 18:13:15 --> UTF-8 Support Enabled
INFO - 2026-12-26 18:13:15 --> Utf8 Class Initialized
INFO - 2026-12-26 18:13:15 --> URI Class Initialized
INFO - 2026-12-26 18:13:15 --> Router Class Initialized
INFO - 2026-12-26 18:13:15 --> Output Class Initialized
INFO - 2026-12-26 18:13:15 --> Security Class Initialized
DEBUG - 2026-12-26 18:13:15 --> Global POST, GET and COOKIE data sanitized
INFO - 2026-12-26 18:13:15 --> Input Class Initialized
INFO - 2026-12-26 18:13:15 --> Language Class Initialized
INFO - 2026-12-26 18:13:15 --> Loader Class Initialized
INFO - 2026-12-26 18:13:15 --> Helper loaded: url_helper
INFO - 2026-12-26 18:13:15 --> Helper loaded: form_helper
INFO - 2026-12-26 18:13:15 --> Helper loaded: text_helper
INFO - 2026-12-26 18:13:15 --> Database Driver Class Initialized
INFO - 2026-12-26 18:13:15 --> Session: Class initialized using 'files' driver.
INFO - 2026-12-26 18:13:15 --> Form Validation Class Initialized
INFO - 2026-12-26 18:13:15 --> Model "Payment_model" initialized
INFO - 2026-12-26 18:13:15 --> Controller Class Initialized
INFO - 2026-12-26 18:13:15 --> Model "Subscription_model" initialized
DEBUG - 2026-12-26 18:13:15 --> Config file loaded: C:\xampp\htdocs\sistemkos\application\config/midtrans.php
DEBUG - 2026-12-26 18:13:15 --> === GET ACTIVE SUBSCRIPTION ===
DEBUG - 2026-12-26 18:13:15 --> Admin ID: 2
DEBUG - 2026-12-26 18:13:15 --> Query: SELECT *
FROM `admin_subscription`
WHERE `id_admin` = '2'
AND `status` = 'active'
AND `start_date` <= '2026-12-26 18:13:15'
AND `end_date` >= '2026-12-26 18:13:15'
ORDER BY `end_date` DESC
 LIMIT 1
DEBUG - 2026-12-26 18:13:15 --> Result count: 0
INFO - 2026-12-26 18:13:15 --> File loaded: C:\xampp\htdocs\sistemkos\application\views\admin/subscription/pricing.php
INFO - 2026-12-26 18:13:15 --> Final output sent to browser
DEBUG - 2026-12-26 18:13:15 --> Total execution time: 0.2209
INFO - 2026-12-26 18:13:18 --> Config Class Initialized
INFO - 2026-12-26 18:13:18 --> Hooks Class Initialized
DEBUG - 2026-12-26 18:13:18 --> UTF-8 Support Enabled
INFO - 2026-12-26 18:13:18 --> Utf8 Class Initialized
INFO - 2026-12-26 18:13:18 --> URI Class Initialized
INFO - 2026-12-26 18:13:18 --> Router Class Initialized
INFO - 2026-12-26 18:13:18 --> Output Class Initialized
INFO - 2026-12-26 18:13:18 --> Security Class Initialized
DEBUG - 2026-12-26 18:13:18 --> Global POST, GET and COOKIE data sanitized
INFO - 2026-12-26 18:13:18 --> Input Class Initialized
INFO - 2026-12-26 18:13:18 --> Language Class Initialized
INFO - 2026-12-26 18:13:18 --> Loader Class Initialized
INFO - 2026-12-26 18:13:18 --> Helper loaded: url_helper
INFO - 2026-12-26 18:13:18 --> Helper loaded: form_helper
INFO - 2026-12-26 18:13:18 --> Helper loaded: text_helper
INFO - 2026-12-26 18:13:18 --> Database Driver Class Initialized
INFO - 2026-12-26 18:13:18 --> Session: Class initialized using 'files' driver.
INFO - 2026-12-26 18:13:18 --> Form Validation Class Initialized
INFO - 2026-12-26 18:13:18 --> Model "Payment_model" initialized
INFO - 2026-12-26 18:13:18 --> Controller Class Initialized
INFO - 2026-12-26 18:13:18 --> Model "Subscription_model" initialized
DEBUG - 2026-12-26 18:13:18 --> Config file loaded: C:\xampp\htdocs\sistemkos\application\config/midtrans.php
DEBUG - 2026-12-26 18:13:18 --> === GET ACTIVE SUBSCRIPTION ===
DEBUG - 2026-12-26 18:13:18 --> Admin ID: 2
DEBUG - 2026-12-26 18:13:18 --> Query: SELECT *
FROM `admin_subscription`
WHERE `id_admin` = '2'
AND `status` = 'active'
AND `start_date` <= '2026-12-26 18:13:18'
AND `end_date` >= '2026-12-26 18:13:18'
ORDER BY `end_date` DESC
 LIMIT 1
DEBUG - 2026-12-26 18:13:18 --> Result count: 0
DEBUG - 2026-12-26 18:13:18 --> === GET ACTIVE SUBSCRIPTION ===
DEBUG - 2026-12-26 18:13:18 --> Admin ID: 2
DEBUG - 2026-12-26 18:13:18 --> Query: SELECT *
FROM `admin_subscription`
WHERE `id_admin` = '2'
AND `status` = 'active'
AND `start_date` <= '2026-12-26 18:13:18'
AND `end_date` >= '2026-12-26 18:13:18'
ORDER BY `end_date` DESC
 LIMIT 1
DEBUG - 2026-12-26 18:13:18 --> Result count: 0
INFO - 2026-12-26 18:13:18 --> File loaded: C:\xampp\htdocs\sistemkos\application\views\admin/subscription/index.php
INFO - 2026-12-26 18:13:18 --> Final output sent to browser
DEBUG - 2026-12-26 18:13:18 --> Total execution time: 0.5275
