13 lines
675 B
PHP
13 lines
675 B
PHP
<?
|
|
if($_SERVER['HTTPS']=="on")
|
|
$URI = "http://";
|
|
else
|
|
$URI = "https://";
|
|
?>
|
|
var curDateTime = new Date();
|
|
var tz = -(curDateTime.getTimezoneOffset()/60);
|
|
document.write("<script type='text/javascript'>function popup() { ");
|
|
document.write("window.open('<?=$URI?>stamp.cacert.org/certdet.php?refer="+location.href+"&tz="+tz+"', 'CertInfo',");
|
|
document.write("'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=400,left=200,top=100'); } </script>");
|
|
document.write("<a href='#' onClick='popup(); return false;'>");
|
|
document.write("<img src='<?=$URI?>stamp.cacert.org/displogo.php?refer="+location.href+"&tz="+tz+"' border='0' /></a>");
|