ok then do like i am telling you
FOR HEADER ADS
Step 1 :- go to admin CP and login there Template and Styles -> Templates -> The theme which is present for members and guest
Step 2 :- Click Header Templates -> Header
Find
{$unreadreports}
Place the Code in bottom with with addition <center> </center> in start and end of the code
Add
<script language="Javascript">
<!--
var currentdate = 0;
var core = 0;
function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++) {
this[i] = initArray.arguments[i];
}
}
link = new initArray(
"http://www.linkofsite1.com",
"http://www.linkofsite2.com",
"http://www.linkofsite3.com"
);
image = new initArray(
"http://linkofbanner1.com",
"http://linkofbanner2.com",
"http://linkofbanner3.com"
);
text = new initArray(
"Name Of Site1",
"Name Of Site2",
"Name Of Site3"
);
var currentdate = new Date();
var core = currentdate.getSeconds() % image.length;
var ranlink = link[core];
var ranimage = image[core];
var rantext = text[core];
document.write('<a href=\"' +ranlink+ '\" target=\"_blank\"><img src=\"'+ranimage+'\" border="0" alt=\"'+rantext+'\"></a>');
//-->
</SCRIPT>
Replace
http://www.linkofsite1.com with your advertisement link
Replace
http://linkofbanner1.com with your Advertisement banner link
Replace Name Of Site1 with Name of Advertisement site
Do with all the links , banners and site name and add as many as u want.
FOR FOOTER ADS
Step 1 :- go to admin CP and login there Template and Styles -> Templates -> The theme which is present for members and guest
Step 2 :- Click Footer Templates -> footer
Place the Code in bottom with with addition <center> </center> in start and end of the code
Add
<script language="Javascript">
<!--
var currentdate = 0;
var core = 0;
function initArray() {
this.length = initArray.arguments.length;
for (var i = 0; i < this.length; i++) {
this[i] = initArray.arguments[i];
}
}
link = new initArray(
"http://www.linkofsite1.com",
"http://www.linkofsite2.com",
"http://www.linkofsite3.com"
);
image = new initArray(
"http://linkofbanner1.com",
"http://linkofbanner2.com",
"http://linkofbanner3.com"
);
text = new initArray(
"Name Of Site1",
"Name Of Site2",
"Name Of Site3"
);
var currentdate = new Date();
var core = currentdate.getSeconds() % image.length;
var ranlink = link[core];
var ranimage = image[core];
var rantext = text[core];
document.write('<a href=\"' +ranlink+ '\" target=\"_blank\"><img src=\"'+ranimage+'\" border="0" alt=\"'+rantext+'\"></a>');
//-->
</SCRIPT>
Replace
http://www.linkofsite1.com with your advertisement link
Replace
http://linkofbanner1.com with your Advertisement banner link
Replace Name Of Site1 with Name of Advertisement site
Do with all the links , banners and site name and add as many as u want.