mysqli_num_rows($domains), 'certificates' => mysqli_num_rows($certificates)]; /** A domain's or certificate's expiry (domainExpiry(), certificateExpiry()) as a portal state - auto-renewing ones aren't a worry. */ function domainsState($expiry) { if (!$expiry) { return null; } if ($expiry['state'] === 'expired') { return ['label' => 'Expired', 'icon' => 'fa-calendar-times', 'class' => 'itflow-portal-state-late']; } $auto = !empty($expiry['auto']) || !empty($expiry['short_lived']); if ($expiry['state'] === 'soon') { return ['label' => $expiry['text'], 'icon' => $auto ? 'fa-sync-alt' : 'fa-hourglass-half', 'class' => $auto ? 'itflow-portal-state-new' : 'itflow-portal-state-you']; } return ['label' => $expiry['text'], 'icon' => $auto ? 'fa-sync-alt' : 'fa-calendar-check', 'class' => 'itflow-portal-state-resolved']; } ?>

Domains & certificates

Your domain names and the certificates that keep your sites secure

'No domains yet', 'text' => 'The domain names we look after for you show here.', 'icon' => 'fa-globe', 'filtered' => false]) ?> 'No certificates yet', 'text' => 'The web certificates we watch for you show here.', 'icon' => 'fa-lock', 'filtered' => false]) ?>