<?php
define('BASEPATH', 'index.php');
include('index.php');
$CI =& get_instance();
$zonas = $CI->db->get('zona')->result();
echo "ZONAS:\n";
foreach($zonas as $z) {
    echo "ID: {$z->id}, Nombre: {$z->nombre}, Estado: {$z->estado}, IsDynamic: " . ($z->is_dynamic ?? 'N/A') . "\n";
}
