summary refs log tree commit diff stats
path: root/includes/functions.php
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-08-17 15:25:11 -0400
committerStarla Insigna <hatkirby@fourisland.com>2009-08-17 15:25:11 -0400
commit49ff543541097a514cf8c836b74cd9514df2bf98 (patch)
treee745069597fa790a6399f48de653fbb6a55ff6f3 /includes/functions.php
parent9491162a4ea231f1cdcd1531dc8d21e95878d0bc (diff)
downloadfourisland-49ff543541097a514cf8c836b74cd9514df2bf98.tar.gz
fourisland-49ff543541097a514cf8c836b74cd9514df2bf98.tar.bz2
fourisland-49ff543541097a514cf8c836b74cd9514df2bf98.zip
Databasified Affiliates and Website Projects
The following database changes must be made ASAP:

* Import the links.sql script into the database

Closes #114
Diffstat (limited to 'includes/functions.php')
-rwxr-xr-xincludes/functions.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/includes/functions.php b/includes/functions.php index b0b28d5..ce7a03e 100755 --- a/includes/functions.php +++ b/includes/functions.php
@@ -357,4 +357,18 @@ function getPollOfTheWeek($id = -1)
357 return $result; 357 return $result;
358} 358}
359 359
360function getTagColor($i)
361{
362 switch ($i % 7)
363 {
364 case 0: return 'blue';
365 case 1: return 'green';
366 case 2: return 'orange';
367 case 3: return 'pink';
368 case 4: return 'purple';
369 case 5: return 'red';
370 case 6: return 'yellow';
371 }
372}
373
360?> 374?>