Initial import of translate.rockbox.org code.

git-svn-id: svn://svn.rockbox.org/rockbox/translate.rockbox.org@24374 a1c6a512-1295-4272-9138-f99709370657
diff --git a/graph.php b/graph.php
new file mode 100644
index 0000000..b984084
--- /dev/null
+++ b/graph.php
@@ -0,0 +1,12 @@
+<?php
+    $height = 15;
+    $width = 150;
+    $percent = $_REQUEST['p'];
+    $im = imagecreatetruecolor($width, $height);
+    $translated = imagecolorallocate($im, 0, 255, 0);
+    $missing = imagecolorallocate($im, 255, 0, 0);
+    imagefill($im, 0, 0, $missing);
+    imagefilledrectangle($im, 0, 0, $width * $percent / 100, $height, $translated);
+    header("Content-type: image/png");
+    imagepng($im);
+?>