Перейти к содержанию

Вадим Муравьев

Пользователи
  • Постов

    60
  • Зарегистрирован

  • Посещение

Сообщения, опубликованные Вадим Муравьев

  1. Доброго времени суток, что значит подобная ошибка, не подскажете?

     

    home/u784655384/public_html/admin/applications_addon/other/jawards/app_class_jawards.php on line 299

    Warning: is_dir(): open_basedir restriction in effect. File(/home/u179861911/public_html/forum/uploads/jawards/) is not within the allowed path(s): (/home/u784655384:/tmp:/var/tmp:/opt/php-5.5/pear) in /home/u784655384/public_html/admin/applications_addon/other/jawards/app_class_jawards.php on line 342

    Warning: is_dir(): open_basedir restriction in effect. File(/home/u179861911/public_html/forum/uploads/jawards/) is not within the allowed path(s): (/home/u784655384:/tmp:/var/tmp:/opt/php-5.5/pear) in /home/u784655384/public_html/admin/applications_addon/other/jawards/app_class_jawards.php on line 508

    Warning: is_dir(): open_basedir restriction in effect. File(/home/u179861911/public_html/forum/uploads/jawards/) is not within the allowed path(s): (/home/u784655384:/tmp:/var/tmp:/opt/php-5.5/pear) in /home/u784655384/public_html/admin/applications_addon/other/jawards/app_class_jawards.php on line 212

    Warning: is_dir(): open_basedir restriction in effect. File(/home/u179861911/public_html/forum/uploads/jawards/) is not within the allowed path(s): (/home/u784655384:/tmp:/var/tmp:/opt/php-5.5/pear) in /home/u784655384/public_html/admin/applications_addon/other/jawards/app_class_jawards.php on line 436

     

    Это после переноса на другой хост

  2. Добрый день.

     

    Есть скрипт  ComeBacker не могу понять, в инструкции написано ставим после <body> 

    ставлю, но он не появляется, может кто использовал, подскажите?

     

    <script language="javascript">
    var exitsplashmessage = '***************************************\n\n В А Ж Н О Е С О О Б Щ Е Н И Е:\n\n КЛИКНИТЕ ПО КНОПКЕ ОТМЕНА/CANCEL, ЧТОБЫ\n ОСТАТЬСЯ НА ЭТОЙ СТРАНИЦЕ И ПОЛУЧИТЬ\n ДОСТУП К БЕСПЛАТНЫМ ВИДЕОКУРСАМ И ПОДАРКАМ!\n\n НАЖМИТЕ НА КНОПКУ «ОТМЕНА»\n\n***************************************';
    var exitsplashpage = 'http://wi-fi.xn—80akoocub1b.su/13.htm';
    function addLoadEvent(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); }}}
    function addClickEvent(a,i,func) { if (typeof a.onclick != ‘function’) { a.onclick = func; } }
    var theDiv = '<div id="ExitSplashDiv" style="display:block; width:100%; height:100%; position:absolute; background:#FFFFFF; margin-top:0px; margin-left:0px;" align="center">';
    theDiv = theDiv + '<iframe src="'+exitsplashpage+'" width="100%" height="100%" align="middle" frameborder="0"></iframe>';
    theDiv = theDiv + '</div>';
    theBody = document.body; if (!theBody) {theBody = document.getElementById("body"); if (!theBody) {theBody = document.getElementsByTagName("body")[0];}}
    var PreventExitSplash = false;
    function DisplayExitSplash(){ if(PreventExitSplash == false){ window.scrollTo(0,0); PreventExitSplash=true; divtag = document.createElement("div"); divtag.setAttribute("id","ExitSplashMainOuterLayer"); divtag.style.position="absolute"; divtag.style.width="100%"; divtag.style.height="100%"; divtag.style.zIndex="99"; divtag.style.left="0px"; divtag.style.top="0px"; divtag.innerHTML=theDiv; theBody.innerHTML=""; theBody.topMargin="0px"; theBody.rightMargin="0px"; theBody.bottomMargin="0px"; theBody.leftMargin="0px"; theBody.style.overflow="hidden"; theBody.appendChild(divtag); return exitsplashmessage; } }
    var a = document.getElementsByTagName('A'); for (var i = 0; i < a.length; i++) { if(a.target !== ‘_blank’) {addClickEvent(a,i, function(){ PreventExitSplash=true; });} else{addClickEvent(a,i, function(){ PreventExitSplash=false;});}}disablelinksfunc = function(){var a = document.getElementsByTagName(‘A’); for (var i = 0; i < a.length; i++) { if(a.target !== '_blank') {addClickEvent(a,i, function(){ PreventExitSplash=true; });} else{addClickEvent(a,i, function(){ PreventExitSplash=false;});}}}
    addLoadEvent(disablelinksfunc);
    disableformsfunc = function(){ var f = document.getElementsByTagName('FORM'); for (var i=0;i<f.length;i++){ if (!f.onclick){ f.onclick=function(){ PreventExitSplash=true; } }else if (!f.onsubmit){ f.onsubmit=function(){ PreventExitSplash=true; }}}}
    addLoadEvent(disableformsfunc);
    window.onbeforeunload = DisplayExitSplash;
    </script>

×
×
  • Создать...