Enable filtering in votestats.php
This commit is contained in:
@@ -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 */
|
||||||
|
|||||||
Reference in New Issue
Block a user