$plugin_dir = opendir("{$CONF['path']}/plugins/");
while (false !== ($plugin_subdir = readdir($plugin_dir))) {
if ($plugin_subdir != '.' && $plugin_subdir != '..' && $plugin_subdir != 'index.htm') {
include('plugins/'.$plugin_subdir.'/languages/english.php');
if(file_exists('plugins/'.$plugin_subdir.'/languages/'.$CONF['default_language'].'.php')) {
include('plugins/'.$plugin_subdir.'/languages/'.$CONF['default_language'].'.php');
}
}
}
// Premium Member List
$result = $DB->query("SELECT * FROM {$CONF['sql_prefix']}_sites WHERE premium_flag = 1 ORDER BY join_date DESC LIMIT 5", __FILE__, __LINE__);
{$CONF['premium_number']}
$result = $DB->query("SELECT * FROM {$CONF['sql_prefix']}_sites WHERE premium_flag = 1 ORDER BY RAND() LIMIT {$CONF['premium_number']}", __FILE__, __LINE__);