mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-09 01:30:52 +08:00
111 lines
3.0 KiB
PHP
111 lines
3.0 KiB
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class SysoppanelTableSeeder extends Seeder
|
|
{
|
|
|
|
/**
|
|
* Auto generated seed file
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
|
|
|
|
\DB::table('sysoppanel')->delete();
|
|
|
|
\DB::table('sysoppanel')->insert(array (
|
|
// 0 =>
|
|
// array (
|
|
// 'id' => 1,
|
|
// 'name' => 'Delete disabled users',
|
|
// 'url' => 'deletedisabled.php',
|
|
// 'info' => 'Delete all disabled users',
|
|
// ),
|
|
1 =>
|
|
array (
|
|
'id' => 2,
|
|
'name' => 'Manage tracker forum',
|
|
'url' => 'forummanage.php',
|
|
'info' => 'Edit/Delete forum',
|
|
),
|
|
2 =>
|
|
array (
|
|
'id' => 3,
|
|
'name' => 'MySQL Stats',
|
|
'url' => 'mysql_stats.php',
|
|
'info' => 'See MySql stats',
|
|
),
|
|
3 =>
|
|
array (
|
|
'id' => 4,
|
|
'name' => 'Mass mailer',
|
|
'url' => 'massmail.php',
|
|
'info' => 'Send e-mail to all users on the tracker',
|
|
),
|
|
4 =>
|
|
array (
|
|
'id' => 5,
|
|
'name' => 'Do cleanup',
|
|
'url' => 'docleanup.php',
|
|
'info' => 'Do cleanup functions',
|
|
),
|
|
5 =>
|
|
array (
|
|
'id' => 6,
|
|
'name' => 'Ban System',
|
|
'url' => 'bans.php',
|
|
'info' => 'Ban / Unban IP',
|
|
),
|
|
6 =>
|
|
array (
|
|
'id' => 7,
|
|
'name' => 'Failed Logins',
|
|
'url' => 'maxlogin.php',
|
|
'info' => 'Show Failed Login Attempts',
|
|
),
|
|
7 =>
|
|
array (
|
|
'id' => 8,
|
|
'name' => 'Bitbucket',
|
|
'url' => 'bitbucketlog.php',
|
|
'info' => 'Bitbucket Log',
|
|
),
|
|
8 =>
|
|
array (
|
|
'id' => 9,
|
|
'name' => 'Ban EMAIL address',
|
|
'url' => 'bannedemails.php',
|
|
'info' => 'Ban EMAILs stop registration.',
|
|
),
|
|
9 =>
|
|
array (
|
|
'id' => 10,
|
|
'name' => 'Allow EMAIL address',
|
|
'url' => 'allowedemails.php',
|
|
'info' => 'Allow EMAIL registration.',
|
|
),
|
|
10 =>
|
|
array (
|
|
'id' => 11,
|
|
'name' => 'Location',
|
|
'url' => 'location.php',
|
|
'info' => 'Manage location and location speed',
|
|
),
|
|
11 =>
|
|
array (
|
|
'id' => 12,
|
|
'name' => 'Add Bonus/Attend card/Invite/upload',
|
|
'url' => 'increment-bulk.php',
|
|
'info' => 'Add Bonus/Attend card/Invite/upload to certain classes',
|
|
),
|
|
));
|
|
|
|
|
|
}
|
|
}
|