// ############## Headerimage and text rotating ######### switch(intval(time() / 2) % 3) { case 0: $banner = 'img1.jpg'; $banner_url = 'www.mysite.com'; break; case 1: $banner = 'img2.jpg'; $banner_url = 'www.mysite2.com'; break; case 2: $banner = 'img3.jpg'; $banner_url = 'www.mysite3.com'; break; }
<a href="$banner_url"><img src="$banner" border="0" /></a>