mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
100 lines
2.6 KiB
PHP
100 lines
2.6 KiB
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class ModpanelTableSeeder extends Seeder
|
|
{
|
|
|
|
/**
|
|
* Auto generated seed file
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
|
|
|
|
\DB::table('modpanel')->delete();
|
|
|
|
\DB::table('modpanel')->insert(array (
|
|
0 =>
|
|
array (
|
|
'id' => 1,
|
|
'name' => 'Abnormal Upload Speed Detector',
|
|
'url' => 'cheaters.php',
|
|
'info' => 'See cheaters',
|
|
),
|
|
1 =>
|
|
array (
|
|
'id' => 2,
|
|
'name' => 'Duplicate IP Check',
|
|
'url' => 'ipcheck.php',
|
|
'info' => 'Check for Duplicate IP Users',
|
|
),
|
|
2 =>
|
|
array (
|
|
'id' => 3,
|
|
'name' => 'All Clients (currently)',
|
|
'url' => 'allagents.php',
|
|
'info' => 'Show All Clients (currently downloading/uploading/seeding)',
|
|
),
|
|
3 =>
|
|
array (
|
|
'id' => 4,
|
|
'name' => 'Ad management',
|
|
'url' => 'admanage.php',
|
|
'info' => 'Manage ads at your site',
|
|
),
|
|
4 =>
|
|
array (
|
|
'id' => 5,
|
|
'name' => 'Uploaders',
|
|
'url' => 'uploaders.php',
|
|
'info' => 'See uploaders stats',
|
|
),
|
|
5 =>
|
|
array (
|
|
'id' => 6,
|
|
'name' => 'Stats',
|
|
'url' => 'stats.php',
|
|
'info' => 'Tracker Stats',
|
|
),
|
|
6 =>
|
|
array (
|
|
'id' => 7,
|
|
'name' => 'IP Test',
|
|
'url' => 'testip.php',
|
|
'info' => 'Test if IP is banned',
|
|
),
|
|
// 7 =>
|
|
// array (
|
|
// 'id' => 8,
|
|
// 'name' => 'Add Bonus Points',
|
|
// 'url' => 'amountbonus.php',
|
|
// 'info' => 'Add Bonus Points to one or All Users.',
|
|
// ),
|
|
8 =>
|
|
array (
|
|
'id' => 9,
|
|
'name' => 'Clear cache',
|
|
'url' => 'clearcache.php',
|
|
'info' => 'Clear cache of memcached',
|
|
),
|
|
9 =>
|
|
array (
|
|
'id' => 10,
|
|
'name' => 'Search user', 'url' => 'usersearch.php', 'info' => 'Search user'
|
|
),
|
|
10 =>
|
|
array (
|
|
'id' => 11,
|
|
'name' => 'Confirm user', 'url' => 'unco.php', 'info' => 'Confirm user to complete registration'
|
|
),
|
|
));
|
|
|
|
|
|
}
|
|
}
|