$result = $DB->select_limit("SELECT *
FROM {$CONF['sql_prefix']}_sites sites, {$CONF['sql_prefix']}_stats stats
WHERE sites.username = stats.username AND active = 1 {$category_sql}
ORDER BY {$order_by}
", $CONF['num_list'], $start, __FILE__, __LINE__);
$result = $DB->select_limit("SELECT *
FROM {$CONF['sql_prefix']}_sites sites, {$CONF['sql_prefix']}_stats stats
WHERE sites.username = stats.username AND active = 1 AND premium_flag = 1 {$category_sql}
ORDER BY {$order_by}
", $CONF['num_list'], $start, __FILE__, __LINE__);
class rankings extends base {
function rankings() {
class premium-rankings extends base {
function premium-rankings() {
Warning: require_once(./sources/premium-rankings.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/46/d339036285/htdocs/votezone/l2/index.php on line 323
Fatal error: require_once() [function.require]: Failed opening required './sources/premium-rankings.php' (include_path='.:/usr/lib/php5') in /homepages/46/d339036285/htdocs/votezone/l2/index.php on line 323
you would need to duplicate the rankings.php file, give it a new name like "premium-rankings.php".
Then add to your action array in index.php (or the correct way via a plugin)
premium-rankings => 1,
/
$action = array(
'admin' => 1,
'in' => 1,
'join' => 1,
'lost_pw' => 1,
'out' => 1,
'page' => 1,
'rankings' => 1,
'rate' => 1,
'search' => 1,
'stats' => 1,
'sendmessage' => 1,
'user_cpl' => 1
);