array("request", "integer", null),
"filter1" => array("request", "integer", 0),
"filter2" => array("request", "integer", 0),
"filter4" => array("request", "integer", 0),
"filter8" => array("request", "integer", 0),
);
getFields($fields);
}
if (isset($filter1) && isset($filter2) && isset($filter4) && isset($filter8)) {
$filter = $filter1 + $filter2 + $filter4 + $filter8;
if ($filter == 0)
$filter = null;
}
$r = $ssl->get_list($filter);
if (!$error)
$error.=$err->errstr();
$astatus = array(
$ssl::STATUS_PENDING => _("Pending Certificate"),
$ssl::STATUS_OK => _("Valid"),
$ssl::STATUS_EXPIRED => "" . _("Expired") . "",
);
$vhosts = $ssl->get_vhosts();
foreach ($vhosts as $v) {
if ($v["certif"] == 0) {
$info=_("Some of your hosting are using a self-signed certificate.
Your browser will not let you surf those domains properly
To fix this, buy a properly signed certificate")."
".$info;
}
}
include_once("head.php");
if ($error) {
echo "
$error
"; } if ($info) { echo "$info
"; } ?>" . _("(shared)") . ""; ?> | "; echo format_date(_('%3$d-%2$d-%1$d %4$d:%5$d'), date("Y-m-d H:i:s", $val["validendts"])); if ($val["validendts"] < (time() + 86400 * 31)) echo ""; ?> |
" . $v["fqdn"] . " \n"; } } ?> |
"; echo " | " . _("This hosting has no valid certificate a self-signed one has been created") . " | ";
echo "" . $v["fqdn"] . " | "; echo ""; } } ?>