We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 2cfb17eb authored by mattl's avatar mattl

added zebra tables... i am a douche

parent 9b49ceb6
......@@ -76,7 +76,7 @@ if ($req_user) {
die($res->getMessage());
}
while($row = $res->fetchRow(MDB2_FETCHMODE_ASSOC)) {
echo ($i % 2 == 0) ? "<td class=\"even\">" : "<td class=\"odd\">";
echo ($i % 2 == 0) ? "<tr class=\"even\">" : "<tr class=\"odd\">";
foreach($row as $field => $value) {
if($field == "time") {
$value = strftime("%c", $value);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment