Hi,
by using the module "latest events" i have to create an if loop to separate the two categories of my events by different csss classes. But I don't get the right syntax for if statement.
The events are listed in an "foreach"-loop. In that loop
I want separate all events with Categorie-ID "12" with an special CSS class. Is there anyone with an idea?
if (MISSINGSYNTAX == 12)
{
$eventrow = '<tr><td class="specialcss" style="'.$dst.'">%s'."</td></tr>\n";
}
else
{
$eventrow = '<tr><td class="mod_events_latest" style="'.$dst.'">%s'."</td></tr>\n";
}
THX