--- a/heuristics/viewHeuristicsColormap.php +++ b/heuristics/viewHeuristicsColormap.php @@ -1,5 +1,11 @@ + div { + padding: 5px; + display: inline-block; + } + '; // http://www.herethere.net/~samson/php/color_gradient/color_gradient_generator.php.txt // return the interpolated value between pBegin and pEnd function interpolate($pBegin, $pEnd, $pStep, $pMax) @@ -42,13 +48,13 @@ $maxVal = $r[0]; $query = "SELECT sum(heuristic_value) as sum, CNID -FROM `heuristic_results` group by CNID order by sum DESC LIMIT 30"; +FROM `heuristic_results` group by CNID order by sum DESC LIMIT 300"; $result = mysql_query($query); if (!$result) echo mysql_error().$query; while ($r = mysql_fetch_array($result, MYSQL_BOTH)) { - echo ''; + echo '
'; echo 'X'; - echo ""; + echo "
"; } ?>