Commit 6d9c22ed authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Downloads: prettify the webpage

parent 33b62d61
...@@ -197,6 +197,12 @@ ...@@ -197,6 +197,12 @@
"2.2.6" => array( "Windows" => 0, "Macintosh" => 0, "Total" => 0 ), "2.2.6" => array( "Windows" => 0, "Macintosh" => 0, "Total" => 0 ),
"2.2.7" => array( "Windows" => 0, "Macintosh" => 0, "Total" => 0 ), "2.2.7" => array( "Windows" => 0, "Macintosh" => 0, "Total" => 0 ),
"2.2.8" => array( "Windows" => 0, "Macintosh" => 0, "Total" => 0 ), "2.2.8" => array( "Windows" => 0, "Macintosh" => 0, "Total" => 0 ),
"3.0.0" => array( "Windows" => 0, "Macintosh" => 0, "Total" => 0 ),
"3.0.1" => array( "Windows" => 0, "Macintosh" => 0, "Total" => 0 ),
"3.0.2" => array( "Windows" => 0, "Macintosh" => 0, "Total" => 0 ),
"3.0.3" => array( "Windows" => 0, "Macintosh" => 0, "Total" => 0 ),
"3.0.4" => array( "Windows" => 0, "Macintosh" => 0, "Total" => 0 ),
"3.0.5" => array( "Windows" => 0, "Macintosh" => 0, "Total" => 0 ),
); );
$table = array_merge( $table_old, $table_sf ); $table = array_merge( $table_old, $table_sf );
...@@ -486,34 +492,30 @@ ...@@ -486,34 +492,30 @@
echo "</tr>\n"; echo "</tr>\n";
} }
$android_old = 77956777; // Android Installs by users (downloads are higher)
$android_new = 163799330; $android_old = 77956940;
$android_new = 163917190;
echo " echo "
<tr><td> &nbsp;</td></tr> <tr><td> &nbsp;</td></tr>
<tr><td class=\"category\" style=\"text-align: left;\"><strong>Android Beta</strong></td> <tr><td class=\"category\" style=\"text-align: left;\"><strong>Android Beta</strong></td>
<td></td> <td></td><td></td><td></td>";
<td></td> f($android_old);
<td></td> echo "</tr>";
<td style=\"text-align: right;\">$android_old</td>
</tr>";
echo " echo "
<tr><td class=\"category\" style=\"text-align: left;\"><strong>Android App</strong></td> <tr><td class=\"category\" style=\"text-align: left;\"><strong>Android App</strong></td>
<td></td> <td></td><td></td><td></td>";
<td></td> f($android_new);
<td></td> echo "</tr>";
<td style=\"text-align: right;\">$android_new</td>
</tr>";
// iOS
$ios_new = 25041841; $ios_new = 25041841;
echo " echo "
<tr><td class=\"category\" style=\"text-align: left;\"><strong>iOS App</strong></td> <tr><td class=\"category\" style=\"text-align: left;\"><strong>iOS App</strong></td>
<td></td> <td></td><td></td><td></td>";
<td></td> f($ios_new);
<td></td> echo "</tr>";
<td style=\"text-align: right;\">$ios_new</td>
</tr>";
$maxtotal = $wintotal + $mactotal + $srctotal + $android_old + $android_new + $ios_new; $maxtotal = $wintotal + $mactotal + $srctotal + $android_old + $android_new + $ios_new;
echo " echo "
......
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