Support for register_globals = off
authorJoey Schulze <joey@infodrom.org>
Fri, 4 Apr 2008 09:01:33 +0000 (09:01 +0000)
committerJoey Schulze <joey@infodrom.org>
Fri, 4 Apr 2008 09:01:33 +0000 (09:01 +0000)
src/stats/stats.inc

index 0e47f7f..d0f20ac 100644 (file)
@@ -75,6 +75,8 @@
 
 <p><center>\
 <?
+  $list = $_GET['list'];
+
   printf ("<p><img src=\"%s/%s-distabs-month.png\" width=\"<img_width>\" height=\"<img_height>\" alt=\"[%s]\" border=\"0\"></p>",
     $list, $list, $list);
   printf ("<p><img src=\"%s/%s-distabs-year.png\" width=\"<img_width>\" height=\"<img_height>\" alt=\"[%s]\" border=\"0\"></p>",
@@ -88,6 +90,8 @@
 
 <p><center>\
 <?
+  $list = $_GET['list'];
+
   printf ("<img src=\"%s/%s-latest-month.png\" width=\"<img_width>\" height=\"<img_height>\" alt=\"[%s]\" border=\"0\">",
     $list, $list, $list);
 ?>