addCssFile('modules/WecomCenter/assets/l2topology/style.css?v=202611052200'); $base = '/modules/WecomCenter/assets/l2topology/'; $snapJson = (string) ($data['snap_json'] ?? 'null'); $cfgJson = (string) ($data['cfg_json'] ?? '{}'); $snapSafe = str_replace(''.htmlspecialchars(I18n::t('l2.time_live')).''; foreach ($hist as $h) { $sel = (!$isLive && $usedTs === (int) $h['ts']) ? ' selected' : ''; $tsOpts .= ''; } $refreshSec = (int) ($data['cfg_refresh'] ?? 300); $reqTs = (int) ($data['requested_ts'] ?? 0); $pickTs = $isLive ? 0 : ($reqTs ?: $usedTs); $pickValue = $isLive ? '' : date('Y-m-d\TH:i', $pickTs); if (!function_exists('l2e')) { function l2e($v) { return htmlspecialchars((string) $v, ENT_QUOTES, 'UTF-8'); } } ?>
0
0
0
0