Enable filtering in votestats.php

This commit is contained in:
Jonathan Ernst
2006-07-07 17:57:12 +00:00
committed by WineHQ
parent 1066c87d6c
commit 2d4ecadc6b

View File

@@ -8,14 +8,9 @@
*/ */
include("path.php"); include("path.php");
include(BASE."include/incl.php"); include(BASE."include/incl.php");
require(BASE."include/filter.php");
require(BASE."include/category.php"); require(BASE."include/category.php");
$aClean = array(); //array of filtered user input
$aClean['iTopNumber'] = makeSafe($_REQUEST['iTopNumber']);
$aClean['iCategoryId'] = makeSafe($_REQUEST['iCategoryId']);
/* default to 25 apps, main categories */ /* default to 25 apps, main categories */
$topNumber = 25; $topNumber = 25;
$categoryId = "any"; /* default to all categories */ $categoryId = "any"; /* default to all categories */