Need help with cookie ...

Hi to all, i want to put one disclaimer for my adult site, i found one, but don't work proprerly. It's apear every time i change one page also if i click to the enter option.

I understand this type of disclaimer as need the cookie, and to me look is here the problem...  On the files, it search the cookie.php, but i don't have one !  Here is the code :

if (document.cookie.indexOf('dvdriot')<=-1)

{

document.cookie='test_cook=oui;path=/';

if (document.cookie.indexOf('test_cook')<=-1){window.location.replace('http://ichatyou.com/cookie.php?url=' + escape(window.location));}

else {

function visite()

{

document.cookie='ak14=ok;';

if(document.getElementById)

document.getElementById("bloc-disclaimer").style.display='none'

}

document.write("<div id='bloc-disclaimer' style='text-align:left;'>");

document.write("<div style='position:absolute;z-index:1000;width:96%;height:90%;min-height:1024px;margin-left:2%;margin-right:2%;margin-top:10px;margin-bottom:10px;border:0px red solid; background-color:#ffffff;filter:alpha(opacity=95);-moz-opacity:0.95;opacity: 0.95;text-align:center;line-height: normal ; clear: both;'>");

document.write("</div>");

document.write("<div style='position:absolute;z-index:1001;width:100%;text-align:center; clear: both;'>");

document.write("<div style='width:450px;height:450px;margin-left:auto;margin-right:auto;margin-top:25px;border:4px red solid;padding:10px;background-color:#000000;font-family:Verdana,Arial,Geneva,Helvetica,sans-serif;font-size:13px;color:#FFFFFF;'>");

document.write("<br /><img src='http://www.ichatyou.com/disclaimer/disclaimer.png' alt='ATTENTION' />");

document.write("<br /><span style='font-size:50px;margin:0px;font-variant:small-caps;font-weight:900;'>Attention</span>");

document.write("<br /><strong>Adult Warning @ Ichatyou.com</strong><br />");

document.write("<span style='line-height:20px;'>If you are under 18 years of age, or if it is illegal to view adult material in your community, please leave now. We can't be held responsible for your actions. We are not acting in any way to send you this information; you are choosing to receive it! Continuing further means that you understand and accept responsibility for your own actions, thus releasing the creators of this Web page and our service provider from all liability.</span>");

document.write("<br /><br /><strong>If you agree; ENTER now, If not please LEAVE.</strong>");

document.write("<br /><br />");

document.write("<a href='#' onclick='visite();return(false)' style='color:#FF0000;font-size:30px;text-decoration:underline;background:transparent;font-weight:900' title='Enter Now'>ENTER</a>");

document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");

document.write("<a href='http://www.google.com/' style='color:#FF0000;font-size:30px;text-decoration:underline;background:transparent;font-weight:900' title='No Thanks I am Leaving'>LEAVE</a>");

document.write("</div><br /><a style='color:#696969;font-size:10px' href='http://www.ichatyou.com' target='_blank'>www.ichatyou.com or &copy; IChatYou.com</a>");

document.write("</div>");

document.write("</div>");

}

}

Can somebody help me ! It's important for me...  Thank you.

...
Quote · 21 Jan 2010

No body?

...
Quote · 22 Jan 2010

Well, where did you get this script?

There are 2 parts to this. The other piece is cookie.php which should have been provided by the place where you got the sample. It's the other half of the script that completes the cookie tests.

So, if they did not provide it, then look for another one that's complete.

Not many people here would be willing to spend the time digging through this code to figure out how to build whats missing.

https://www.deanbassett.com
Quote · 22 Jan 2010

Well, where did you get this script?

There are 2 parts to this. The other piece is cookie.php which should have been provided by the place where you got the sample. It's the other half of the script that completes the cookie tests.

So, if they did not provide it, then look for another one that's complete.

Not many people here would be willing to spend the time digging through this code to figure out how to build whats missing.

...ok, so  i missing the second part... i was not sure of this...and  i understand that people don't want to spend time for this... Thank  you for explain me...

...
Quote · 22 Jan 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.