$temp_getHome = $_global->get_home_slideshows(); $_global_home = @$temp_getHome[0]; if (!empty($_global_home)) { $_global_data_textboxt = json_decode($_global_home->textboxt); $_global_data_textarea = json_decode($_global_home->textarea); } if (is_object($_global_general)) { $param = 1; } else { $param = 0; } if (!defined('CHECK_GLOBAL_GENERAL')) { define('CHECK_GLOBAL_GENERAL', $param); } /* --- INFO --- */ $_global_info = $_global->get_info('1'); if (is_object($_global_info)) { $param = 1; } else { $param = 0; } if (!defined('CHECK_GLOBAL_INFO')) { define('CHECK_GLOBAL_INFO', $param); } /* --- NOTIFICATION --- */ $_global_notification = $_global->get_notification('1'); if (is_object($_global_notification)) { $param = 1; } else { $param = 0; }