function comment_style() {
static $comment_count;
$comment_count++;
if ($comment_count % 2) {
echo "odd";
}
else {
echo "even";
}
}
?>
function post_style() {
static $post_count;
$post_count++;
if ($post_count % 2) {
echo "oddp";
}
else {
echo "evenp";
}
}
?>
function feedback_style() {
static $feedback_count;
$feedback_count++;
if ($feedback_count % 2) {
echo "oddf";
}
else {
echo "evenf";
}
}
?>