text-align: center;
}
-table.score tbody tr:nth-child(4n+1) td,
-table.score tbody tr:nth-child(4n+2) td
+table.two_rows tbody tr:nth-child(4n+1) td,
+table.two_rows tbody tr:nth-child(4n+2) td
+{
+ background-color: #f9b69a;
+}
+
+table.one_row tbody tr:nth-child(odd) td
{
background-color: #f9b69a;
}
$fp,
<<<EOM
<div id="{$id_name}">
-<table class="tablesorter score statistics_table">
+<table class="tablesorter score statistics_table one_row">
<thead>
<tr>
<th>$name</th>
fwrite(
$fp,
<<<EOM
-<table class="tablesorter score statistics_table" id="${id_name}">
+<table class="tablesorter score statistics_table one_row" id="${id_name}">
<thead>
<tr>
<th>{$class_name}</th>