website diff lib/rand-sponsor.php @ rev 1113
small changes to index.php and header.bs.html
author | Adnan Sinanovic <sinanovicha@gmail.com> |
---|---|
date | Sat Oct 13 10:55:27 2012 +0000 (2012-10-13) |
parents | 304b3f1894f7 |
children | 7f4e78f7e0cc |
line diff
1.1 --- a/lib/rand-sponsor.php Tue Mar 13 19:14:50 2012 +0100 1.2 +++ b/lib/rand-sponsor.php Sat Oct 13 10:55:27 2012 +0000 1.3 @@ -3,7 +3,7 @@ 1.4 // Display random sponsor. Only main sponsor are featured on main page. 1.5 // 1.6 1.7 -$total = "2"; 1.8 +$total = "3"; 1.9 $folder = "/images/sponsor"; 1.10 $random = mt_rand(1, $total); 1.11 1.12 @@ -18,6 +18,11 @@ 1.13 $img = "ddg.png"; 1.14 $url = "https://duckduckgo.com/"; 1.15 break; 1.16 +case 3: 1.17 + $name = "Clarkson Open Source Institute"; 1.18 + $img = "cosi.png"; 1.19 + $url = "http://cosi.clarkson.edu/"; 1.20 + break; 1.21 } 1.22 1.23 echo "<a href='$url'><img src='$folder/$img' title='$name' alt='[ $name ]' /></a>";