* */ //Config File require_once dirname(__FILE__) . '/../../../config.inc'; session_write_close(); $res_si = array(); $packages_info = array(); $release_info = array(); $error_msg = NULL; try { //Get software information $no_cache = $id_section == 'sw_pkg_checking' ? TRUE : FALSE; $res_si = Av_center::get_system_status($system_id, 'software', $no_cache); if ($res_si['packages']['pending_updates'] == TRUE) { $packages_info = Av_center::get_packages_pending($system_id, TRUE); $release_info = Av_center::get_release_info($system_id); } } catch (\Exception $e) { $error_msg = $e->getMessage(); } ?> <div id='cont_sw_av'> <?php if (is_array($release_info) && !empty($release_info)) { $r_class = preg_match('/patch/i', $release_info['type']) ? 'r_patch' : 'r_upgrade'; ?> <div id='c_release_info'> <div> <div id='r_title'> <?php