<?php
if (!defined("ISCNSTATS"))exit;
if ($COUNTER["type"] == 2 || $COUNTER["type"] == 3) {
$_fe43ac4c = substr(__FILE__, 0, strpos(__FILE__, "getcode.php")-8);
print"<H1>" . $LANG["calccode"] . "</H1>";
$_fe43ac4c = str_replace(chr(92), "/", $_fe43ac4c);
print"<textarea style='width:" . $_6a014ef8 . "px' rows=5>";
print"<?php in" . "clude_once \"" . $_fe43ac4c . "cnt.php\";?>\n";
print"</textarea>";
print"<H1>" . $LANG["showcode"] . "</H1>";
print"<textarea style='width:" . $_6a014ef8 . "px' rows=5>";
print"<img src=\"http://" . $STATS_CONF["cnsoftwaredomain"] . "/" . $STATS_CONF["cnstats_http_path"] . "cnts.php\" width=\"88\" height=\"31\" border=\"0\">";
print"</textarea>";
}
if ($COUNTER["type"] == 1) {
print"<H1>" . $LANG["calccode"] . "</H1>";
$_2305dfaa = 88;
$_68308d3a = 31;
$_e8b7be43 = @getimagesize("button.png");
if (is_array($_e8b7be43)) {
$_2305dfaa = $_e8b7be43[0];
$_68308d3a = $_e8b7be43[1];
}
$CNSTATS_JAVASCRIPT_CODE = "";
if ($STATS_CONF["code"] == "HTML" || $STATS_CONF["code"] == "html") {
$_0a8bf4a1 = 18;
$CNSTATS_JAVASCRIPT_CODE .= "<script language=\"JavaScript\" type=\"text/javascript\">\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnsd=document;cnsd.cookie='cns_b=b';cnsc=cnsd.cookie?1:0;\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnst=escape(cnsd.title);cnst=cnst.replace(/\+/g,'%2B');\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnsa=navigator.appName;\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnsn=(cnsa.substring(0,2)=='Mi')?0:1;cnss=screen;cnspx=(cnsn==0)?cnss.colorDepth:cnss.pixelDepth;\n";
$CNSTATS_JAVASCRIPT_CODE .= "document.write('<img src=\"http://" . $STATS_CONF["cnsoftwaredomain"] . "/" . $STATS_CONF["cnstats_http_path"] . "cntg.php?c='+cnsc+'&e='+cnss.width+'.'+cnss.height+'&d='+cnspx+'&r='+escape(cnsd.referrer)+'&p='+escape(cnsd.location)+'&t='+cnst+'\" width=\"" . $_2305dfaa . "\" height=\"" . $_68308d3a . "\" border=\"0\">');\n";
$CNSTATS_JAVASCRIPT_CODE .= "</script>";
$CNSTATS_JAVASCRIPT_CODE .= "<noscript><img src=\"http://" . $STATS_CONF["cnsoftwaredomain"] . "/" . $STATS_CONF["cnstats_http_path"] . "cntg.php?468&c=0\" width=\"" . $_2305dfaa . "\" height=\"" . $_68308d3a . "\" border=\"0\" alt=\"\"></noscript>\n";
} else {
$_0a8bf4a1 = 30;
$CNSTATS_JAVASCRIPT_CODE .= "<span id=\"cnstats_span\"><script language=\"JavaScript\" type=\"text/javascript\">\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnsd=document;\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnsd.cookie='b=b';\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnsc=cnsd.cookie?1:0;\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnst=escape(cnsd.title);\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnst=cnst.replace(/\+/g,'%2B');\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnsa=navigator.appName;\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnsn=(cnsa.substring(0,2)=='Mi')?0:1;\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnss=screen;cnspx=(cnsn==0)?cnss.colorDepth:cnss.pixelDepth;\n";
$CNSTATS_JAVASCRIPT_CODE .= "if (cnsd.getElementById)\n";
$CNSTATS_JAVASCRIPT_CODE .= "{\n";
$CNSTATS_JAVASCRIPT_CODE .= " var i=cnsd.createElement('img');\n";
$CNSTATS_JAVASCRIPT_CODE .= " var iurl='http://" . $STATS_CONF["cnsoftwaredomain"] . "/" . $STATS_CONF["cnstats_http_path"] . "cntg.php?';\n";
$CNSTATS_JAVASCRIPT_CODE .= " var amp=String.fromCharCode(38);\n";
$CNSTATS_JAVASCRIPT_CODE .= " iurl+='c='+cnsc+amp+'e='+cnss.width+'.'+cnss.height;\n";
$CNSTATS_JAVASCRIPT_CODE .= " iurl+=amp+'d='+cnspx+amp+'r='+escape(cnsd.referrer);\n";
$CNSTATS_JAVASCRIPT_CODE .= " iurl+=amp+'p='+escape(cnsd.location)+amp+'t='+cnst;\n";
$CNSTATS_JAVASCRIPT_CODE .= " i.src=iurl;\n";
$CNSTATS_JAVASCRIPT_CODE .= " i.width=" . $_2305dfaa . ";i.height=" . $_68308d3a . ";i.border=0;\n";
$CNSTATS_JAVASCRIPT_CODE .= " cnsd.getElementById('cnstats_span').appendChild(i);\n";
$CNSTATS_JAVASCRIPT_CODE .= "}\n";
$CNSTATS_JAVASCRIPT_CODE .= "</script>";
$CNSTATS_JAVASCRIPT_CODE .= "</span>";
$CNSTATS_JAVASCRIPT_CODE .= "<noscript><img src=\"http://" . $STATS_CONF["cnsoftwaredomain"] . "/" . $STATS_CONF["cnstats_http_path"] . "cntg.php?468&c=0\" width=\"" . $_2305dfaa . "\" height=\"" . $_68308d3a . "\" border=\"0\" alt=\"\" /></noscript>\n";
}
print"<textarea style='width:" . $_6a014ef8 . "px' rows=\"" . $_0a8bf4a1 . "\">";
print htmlspecialchars($CNSTATS_JAVASCRIPT_CODE);
print"</textarea>";
print"<H1>" . $LANG["showcode"] . "</H1>";
print $LANG["no show code"];
}
if ($COUNTER["type"] == 0) {
print"<H1>" . $LANG["calccode"] . "</H1>";
$CNSTATS_JAVASCRIPT_CODE = "";
if ($STATS_CONF["code"] == "HTML" || $STATS_CONF["code"] == "html") {
$_0a8bf4a1 = 18;
$CNSTATS_JAVASCRIPT_CODE .= "<script language=\"JavaScript\" type=\"text/javascript\">\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnsd=document;cnsd.cookie='cns_b=b';cnsc=cnsd.cookie?1:0;\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnst=escape(cnsd.title);cnst=cnst.replace(/\+/g,'%2B');\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnsa=navigator.appName;\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnsn=(cnsa.substring(0,2)=='Mi')?0:1;cnss=screen;cnspx=(cnsn==0)?cnss.colorDepth:cnss.pixelDepth;\n";
$CNSTATS_JAVASCRIPT_CODE .= "document.write('<img src=\"http://" . $STATS_CONF["cnsoftwaredomain"] . "/" . $STATS_CONF["cnstats_http_path"] . "/cntg.php?c='+cnsc+'&e='+cnss.width+'.'+cnss.height+'&d='+cnspx+'&r='+escape(cnsd.referrer)+'&p='+escape(cnsd.location)+'&t='+cnst+'\" width=\"1\" height=\"1\" border=\"0\">');\n";
$CNSTATS_JAVASCRIPT_CODE .= "</script>";
$CNSTATS_JAVASCRIPT_CODE .= "<noscript><img src=\"http://" . $STATS_CONF["cnsoftwaredomain"] . "/" . $STATS_CONF["cnstats_http_path"] . "/cntg.php?468&c=0\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></noscript>\n";
} else {
$_0a8bf4a1 = 30;
$CNSTATS_JAVASCRIPT_CODE .= "<span id=\"cnstats_span\"><script language=\"JavaScript\" type=\"text/javascript\">\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnsd=document;\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnsd.cookie='b=b';\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnsc=cnsd.cookie?1:0;\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnst=escape(cnsd.title);\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnst=cnst.replace(/\+/g,'%2B');\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnsa=navigator.appName;\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnsn=(cnsa.substring(0,2)=='Mi')?0:1;\n";
$CNSTATS_JAVASCRIPT_CODE .= "cnss=screen;cnspx=(cnsn==0)?cnss.colorDepth:cnss.pixelDepth;\n";
$CNSTATS_JAVASCRIPT_CODE .= "if (cnsd.getElementById)\n";
$CNSTATS_JAVASCRIPT_CODE .= "{\n";
$CNSTATS_JAVASCRIPT_CODE .= " var i=cnsd.createElement('img');\n";
$CNSTATS_JAVASCRIPT_CODE .= " var iurl='http://" . $STATS_CONF["cnsoftwaredomain"] . "/" . $STATS_CONF["cnstats_http_path"] . "/cntg.php?';\n";
$CNSTATS_JAVASCRIPT_CODE .= " var amp=String.fromCharCode(38);\n";
$CNSTATS_JAVASCRIPT_CODE .= " iurl+='c='+cnsc+amp+'e='+cnss.width+'.'+cnss.height;\n";
$CNSTATS_JAVASCRIPT_CODE .= " iurl+=amp+'d='+cnspx+amp+'r='+escape(cnsd.referrer);\n";
$CNSTATS_JAVASCRIPT_CODE .= " iurl+=amp+'p='+escape(cnsd.location)+amp+'t='+cnst;\n";
$CNSTATS_JAVASCRIPT_CODE .= " i.src=iurl;\n";
$CNSTATS_JAVASCRIPT_CODE .= " i.width=1;i.height=1;i.border=0;\n";
$CNSTATS_JAVASCRIPT_CODE .= " cnsd.getElementById('cnstats_span').appendChild(i);\n";
$CNSTATS_JAVASCRIPT_CODE .= "}\n";
$CNSTATS_JAVASCRIPT_CODE .= "</script>";
$CNSTATS_JAVASCRIPT_CODE .= "</span>";
$CNSTATS_JAVASCRIPT_CODE .= "<noscript><img src=\"http://" . $STATS_CONF["cnsoftwaredomain"] . "/" . $STATS_CONF["cnstats_http_path"] . "/cntg.php?468&c=0\" width=\"1\" height=\"1\" border=\"0\" alt=\"\" /></noscript>\n";
}
print"<textarea style='width:" . $_6a014ef8 . "px' rows=\"" . $_0a8bf4a1 . "\">";
print htmlspecialchars($CNSTATS_JAVASCRIPT_CODE);
print"</textarea>";
print"<H1>" . $LANG["showcode"] . "</H1>";
print"<textarea style='width:" . $_6a014ef8 . "px' rows=\"5\">";
print"<img src=\"http://" . $STATS_CONF["cnsoftwaredomain"] . "/" . $STATS_CONF["cnstats_http_path"] . "/cnts.php\" width=\"88\" height=\"31\" border=\"0\">";
print"</textarea>";
}
print"<H1>" . $LANG["cointer types"] . "</H1>";
print"<UL style='margin-left:30px;'>\n";
for($_e66c3671 = 0;$_e66c3671 < 4;$_e66c3671++) {
if ($COUNTER["type"] == $_e66c3671)print"<LI><B>" . $LANG["compability " . $_e66c3671] . "</B><font color='gray'> (" . $LANG["active"] . ")</font>\n";
else print"<LI>" . $LANG["compability " . $_e66c3671] . "\n";
}
print"</UL>\n";
print"<UL style='margin-left:30px;'>\n";
print"<LI><a href=\"index.php?st=manual&" . _e1d34981("st", str_replace("&", "&", $_SERVER["QUERY_STRING"])) . "&report=configphp#type\">" . $LANG["code how to change"] . "</a>";
print"<LI><a href=\"index.php?st=manual&" . _e1d34981("st", str_replace("&", "&", $_SERVER["QUERY_STRING"])) . "&report=countercodehow\">" . $LANG["code what is it"] . "</a>";
print"</UL>\n";
$_d588331e = 1;
$_16fdae17 = 1;
?>