diff --git a/config/variables.php b/config/variables.php index 9eb2636..c8531f6 100644 --- a/config/variables.php +++ b/config/variables.php @@ -68,9 +68,11 @@ echo ""; echo ""; + $trclass = 'odd'; while($r=mysql_fetch_object($q)) { - echo ""; + $trclass = ($trclass == 'odd') ? 'even' : 'odd'; + echo ""; echo "
"; if($r->cat==$category) echo "$r->cat";