HEX
Server: Apache
System: Linux dev.epsylon.net 3.10.0-1160.144.1.el7.tuxcare.els2.x86_64 #1 SMP Sun Feb 15 11:22:42 UTC 2026 x86_64
User: nexper (1054)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/nexper/public_html/crm/modules/jjwg_Areas/controller.php
<?php

// modules/jjwg_Areas/controller.php

include_once('include/utils.php');

class jjwg_AreasController extends SugarController {

    function action_area_edit_map() {

        $this->view = 'area_edit_map';
        $jjwg_Areas = get_module_info('jjwg_Areas');

        // Get the map object
        if (is_guid($_REQUEST['id'])) {
            $jjwg_Areas->retrieve($_REQUEST['id']);
        }
        $GLOBALS['polygon'] = $jjwg_Areas->define_polygon();
        $GLOBALS['loc'] = $jjwg_Areas->define_area_loc();
        
    }

    function action_area_detail_map() {

        $this->view = 'area_detail_map';
        $jjwg_Areas = get_module_info('jjwg_Areas');

        // Get the map object
        if (is_guid($_REQUEST['id'])) {
            $jjwg_Areas->retrieve($_REQUEST['id']);
        }
        $GLOBALS['polygon'] = $jjwg_Areas->define_polygon();
        $GLOBALS['loc'] = $jjwg_Areas->define_area_loc();
    }

}