Selam arkadaşlar rayo sayfası için pop up reklamı ekliyecegim her şey hazır kodlar dosyalar ftp ye atıldı.
Tek sorun kodları smf de index.teamplete.php nin neresine ekliyecegim. Ben bir kaç yere denedim ama 2 sorun çıktı.
1. tema hatası verdi.
2. yazılar büyüyor.
Nasıl ve nereye eklersem bu sorunlar çözülür ? Birde ben çöl ateşi teması kullanıyorum. İndex.php ye filan ekledim aynı sorunlar ordada oldu.
<SCRIPT LANGUAGE="JavaScript">
<!--
//frequency cap,1 pop-under per number of hours
var frequencyCap = 5; //hours
function setCookie(cookieName,cookieValue, expirehours) {
if (frequencyCap > 0){
var today = new Date();
var expire = new Date();
expire.setTime(today.getTime() + 3600000 * frequencyCap);
document.cookie = cookieName+"="+escape(cookieValue)
+ ";expires="+expire.toGMTString() + "; path=/";
}else{
document.cookie = cookieName+"="+escape(cookieValue) + "; path=/";
}
}
function ReadCookie(cookieName) {
var theCookie=""+document.cookie;
var ind=theCookie.indexOf(cookieName);
if (ind==-1 || cookieName=="") return "";
var ind1=theCookie.indexOf(';',ind);
if (ind1==-1) ind1=theCookie.length;
return unescape(theCookie.substring(ind+cookieName.length+1,ind1));
}
if (ReadCookie('PayPopupAds31') != 'yes')
{
setCookie('PayPopupAds31','yes', frequencyCap);
//<a href="http://www.doremifm.com">DoReMiFM</a>
//Pop-Under Code Here
document.write('<SCRI'+'PT LANGUAGE="JavaScript1.1" ');
document.write(' SRC="http://www.yorumcuyuz.net/radyo/popup.js">');
document.write('</SCR'+'IPT>');
//Pop-Under Code End
}
// -->
</SCRIPT>