Файл: view/main/v_main_frame.php
Строк: 43
<?if($_forFrameCount < 1):?>
<html><head>
<script type="text/javascript">
var _ua = navigator.userAgent;
var locDomain = location.host.toString().match(/[a-zA-Z]+.[a-zA-Z]+.?$/)[0];
if (/opera/i.test(_ua) || !/msie 6/i.test(_ua) || document.domain != locDomain) {
document.domain = locDomain;
}
</script>
<script type="text/javascript">
parent.ajax._framedone('<?=$cur["version"]?><!><?=$static?><!><?=$cur["lang"]?><!><?=$cur["langVer"]?>', [<?=$cur['ajxCode']?>, "<?=(!empty($cur['htitle']) ? Json::jsSlashes($cur['htitle']) : false)?>", "<?=Json::jsSlashes($content)?>", "", <?=json_encode($cur['pageParams'])?>]);
</script>
<?flush()?>
<?endif?>
<?if($_forFrame):?>
<script type="text/javascript">
parent.ajax.framegot('<?=$_forFrame[to]?>', '<?=Json::jsSlashes($_forFrame[ogc])?>', <?=(isset($_forFrame['js'])) ? $_forFrame['js'] : 'null'?>);
</script>
<?flush()?>
<?endif?>
<?if($end === true):?>
<script type="text/javascript">
parent.ajax._frameover("<?=Json::jsSlashes("setTimeout(function() {
document.title = replaceEntities(stripHTML('".$cur[title]."'));
ge('timeLoad').innerHTML = '".$timeLoad."';
ge('debugLogServer').innerHTML = '".$debugLog."';
}, browser.chrome ? 50 : 100);
".$cur["js"])?>",{"leftads":"","ads_can_show":"1","ads_section":"profile"});
</script>
</head><body></body></html>
<?flush()?>
<?endif?>