DICA: Par ou Ímpar "Eis a questão" :)

Fica aqui a dica:

Verifica se é par ou ímpar na consulta:
$x={numero};
if($x % 2 == 0)
{
//echo “par”;
sc_field_style({numero}, ‘"#CEF6CE"’, ‘11px’, ‘#000000’, ‘Arial, sans-serif’, ‘bold’);
sc_field_style({data_hora}, ‘"#CEF6CE"’, ‘12px’, ‘#000000’, ‘Arial, sans-serif’, ‘bold’);
sc_field_style({acontecimento}, ‘"#CEF6CE"’, ‘14px’, ‘#000000’, ‘Arial, sans-serif’, ‘bold’);
sc_field_style({descricao}, ‘"#CEF6CE"’, ‘11px’, ‘#000000’, ‘Arial, sans-serif’, ‘bold’);

}
else
{

//echo “impar”;
sc_field_style({numero}, ‘"#F5F6CE"’, ‘12px’, ‘#000000’, ‘Arial, sans-serif’, ‘bold’);
sc_field_style({data_hora}, ‘"#F5F6CE"’, ‘12px’, ‘#000000’, ‘Arial, sans-serif’, ‘bold’);
sc_field_style({acontecimento}, ‘"#F5F6CE"’, ‘14px’, ‘#000000’, ‘Arial, sans-serif’, ‘bold’);
sc_field_style({descricao}, ‘"#F5F6CE"’, ‘12px’, ‘#000000’, ‘Arial, sans-serif’, ‘bold’);
}