"); $row = 1; while($current = mysql_fetch_array($query)) { if(!is_integer($row/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; } echo(" " . $current['current_descr'] . " " . $current['current_current'] . "A " . $current['current_limit_low'] . 'A - ' . $current['current_limit'] . "A " . $current['current_notes'] . " \n"); echo(""); $graph_type = "current"; // start current graphs $daily_current = "graph.php?id=" . $current['current_id'] . "&type=$graph_type&from=$day&to=$now&width=211&height=100"; $daily_url = "graph.php?id=" . $current['current_id'] . "&type=$graph_type&from=$day&to=$now&width=400&height=150"; $weekly_current = "graph.php?id=" . $current['current_id'] . "&type=$graph_type&from=$week&to=$now&width=211&height=100"; $weekly_url = "graph.php?id=" . $current['current_id'] . "&type=$graph_type&from=$week&to=$now&width=400&height=150"; $monthly_current = "graph.php?id=" . $current['current_id'] . "&type=$graph_type&from=$month&to=$now&width=211&height=100"; $monthly_url = "graph.php?id=" . $current['current_id'] . "&type=$graph_type&from=$month&to=$now&width=400&height=150"; $yearly_current = "graph.php?id=" . $current['current_id'] . "&type=$graph_type&from=$year&to=$now&width=211&height=100"; $yearly_url = "graph.php?id=" . $current['current_id'] . "&type=$graph_type&from=$year&to=$now&width=400&height=150"; echo("', LEFT);\" onmouseout=\"return nd();\"> "); echo("', LEFT);\" onmouseout=\"return nd();\"> "); echo("', LEFT);\" onmouseout=\"return nd();\"> "); echo("', LEFT);\" onmouseout=\"return nd();\"> "); echo(""); $row++; } echo(""); ?>