[SPIP] +2.1.12
[velocampus/web/www.git] / www / plugins / auto / fullcalendar / css / calendar_style.css.html
1 #CACHE{3600*24*30}
2 #HTTP_HEADER{Content-Type: text/css;}
3 <?php
4 $query = "SELECT * FROM spip_fullcalendar_styles;";
5 $result = mysql_query($query) or die ($query." ".mysql_error());
6 while ( $row = mysql_fetch_array($result))
7 $CSS.=".f_".$row['0'].", .fc-agenda .f_".$row['0']." .fc-event-time, .f_".$row['0']." a {background-color:".$row['bgcolor'].";border-color:".$row['bordercolor'].";color:".$row['textcolor'].";}\n";
8 print $CSS;
9 ?>