summary refs log tree commit diff stats
path: root/includes/functions.php
diff options
context:
space:
mode:
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?>