You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cacert-webdb/stamp/showlogo.php

14 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>");