fix exam edit missing dayjs

This commit is contained in:
xiaomlove
2022-03-21 19:09:32 +08:00
parent f1824aee0a
commit 7c6c3187ae
32 changed files with 87 additions and 52 deletions

View File

@@ -14,76 +14,86 @@ class ModpanelTableSeeder extends Seeder
*/
public function run()
{
\DB::table('modpanel')->delete();
\DB::table('modpanel')->insert(array (
0 =>
0 =>
array (
'id' => 1,
'name' => 'Abnormal Upload Speed Detector',
'url' => 'cheaters.php',
'info' => 'See cheaters',
),
1 =>
1 =>
array (
'id' => 2,
'name' => 'Duplicate IP Check',
'url' => 'ipcheck.php',
'info' => 'Check for Duplicate IP Users',
),
2 =>
2 =>
array (
'id' => 3,
'name' => 'All Clients (currently)',
'url' => 'allagents.php',
'info' => 'Show All Clients (currently downloading/uploading/seeding)',
),
3 =>
3 =>
array (
'id' => 4,
'name' => 'Ad management',
'url' => 'admanage.php',
'info' => 'Manage ads at your site',
),
4 =>
4 =>
array (
'id' => 5,
'name' => 'Uploaders',
'url' => 'uploaders.php',
'info' => 'See uploaders stats',
),
5 =>
5 =>
array (
'id' => 6,
'name' => 'Stats',
'url' => 'stats.php',
'info' => 'Tracker Stats',
),
6 =>
6 =>
array (
'id' => 7,
'name' => 'IP Test',
'url' => 'testip.php',
'info' => 'Test if IP is banned',
),
7 =>
7 =>
array (
'id' => 8,
'name' => 'Add Bonus Points',
'url' => 'amountbonus.php',
'info' => 'Add Bonus Points to one or All Users.',
),
8 =>
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'
),
));
}
}
}