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

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