Example #1
0
    exit;
}
if (isset($_GET["certificate-hosts-add"])) {
    certificate_hosts_add();
    exit;
}
if (isset($_GET["certificate-apply"])) {
    certificate_apply();
    exit;
}
if (isset($_GET["popup"])) {
    popup();
    exit;
}
if (isset($_GET["js-certificate"])) {
    js_certificate();
    exit;
}
js();
function certificate_apply()
{
    $sock = new sockets();
    $sock->getFrameWork("cmd.php?ChangeSSLCertificate=yes");
}
function certificate_hosts_js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $title = $tpl->_ENGINE_parse_body('{hosts}', 'configure.server.php');
    $give_server_name = $tpl->javascript_parse_text('{give_server_name}');
    $interface_restarted = $tpl->javascript_parse_text("{interface_restarted}");
Example #2
0
if(isset($_GET["view_certificate_popup"])){view_certificate_popup();exit;}

if(isset($_GET["windows-certificate"])){windows_certificate_js();exit;}
if(isset($_GET["windows-certificate-popup"])){windows_certificate_popup();exit;}
if(isset($_GET["GeneratePostfixCertificate"])){GeneratePostfixCertificate();exit;}
if(isset($_GET["windows-certificate-table"])){echo windows_certificate_links();exit;}

if(isset($_GET["certificate-hosts-js"])){certificate_hosts_js();exit;}
if(isset($_GET["certificate-hosts-popup"])){certificate_hosts_popup();exit;}
if(isset($_GET["certificate-hosts-list"])){certificate_hosts_list();exit;}
if(isset($_GET["certificate-hosts-del"])){certificate_hosts_del();exit;}
if(isset($_GET["certificate-hosts-add"])){certificate_hosts_add();exit;}
if(isset($_GET["certificate-apply"])){certificate_apply();exit;}

if(isset($_GET["popup"])){popup();exit;}
if(isset($_GET["js-certificate"])){js_certificate();exit;}



js();

function certificate_apply(){
	$sock=new sockets();
	$sock->getFrameWork("cmd.php?ChangeSSLCertificate=yes");
}


function certificate_hosts_js(){
$page=CurrentPageName();
$tpl=new templates();
$title=$tpl->_ENGINE_parse_body('{hosts}','configure.server.php');