Files
nexusphp/database/seeders/AdminpanelTableSeeder.php

97 lines
2.5 KiB
PHP
Raw Permalink Normal View History

<?php
namespace Database\Seeders;
use Illuminate\Database\Seeder;
class AdminpanelTableSeeder extends Seeder
{
/**
* Auto generated seed file
*
* @return void
*/
public function run()
{
2022-07-30 15:06:51 +08:00
\DB::table('adminpanel')->delete();
2022-07-30 15:06:51 +08:00
\DB::table('adminpanel')->insert(array (
2022-07-30 15:06:51 +08:00
0 =>
array (
'id' => 1,
'name' => 'Add user',
'url' => 'adduser.php',
'info' => 'Create new user account',
),
2022-07-30 15:06:51 +08:00
1 =>
array (
'id' => 3,
'name' => 'Reset Users Password',
'url' => 'reset.php',
'info' => 'Rest lost Passwords',
),
2022-07-30 15:06:51 +08:00
2 =>
array (
'id' => 4,
'name' => 'Mass PM',
'url' => 'staffmess.php',
'info' => 'Send PM to all users',
),
2022-07-30 15:06:51 +08:00
3 =>
array (
'id' => 6,
'name' => 'Poll overview',
'url' => 'polloverview.php',
'info' => 'View poll votes',
),
2022-07-30 15:06:51 +08:00
4 =>
array (
'id' => 7,
'name' => 'Warned users',
'url' => 'warned.php',
'info' => 'See all warned users on tracker',
),
2022-07-30 15:06:51 +08:00
// 5 =>
// array (
// 'id' => 8,
// 'name' => 'FreeLeech',
// 'url' => 'freeleech.php',
// 'info' => 'Set ALL Torrents At Special State.',
// ),
6 =>
array (
'id' => 9,
'name' => 'FAQ Management',
'url' => 'faqmanage.php',
'info' => 'Edit/Add/Delete FAQ Page',
),
2022-07-30 15:06:51 +08:00
7 =>
array (
'id' => 10,
'name' => 'Rules Management',
'url' => 'modrules.php',
'info' => 'Edit/Add/Delete RULES Page',
),
2022-07-30 15:06:51 +08:00
8 =>
array (
'id' => 11,
'name' => 'Category Manage',
'url' => 'catmanage.php',
'info' => 'Manage torrents categories at your site',
),
2022-07-30 15:06:51 +08:00
9 =>
array (
'id' => 12,
'name' => 'Custom Field Manage',
'url' => 'fields.php',
'info' => 'Manage custom fields',
),
));
2022-07-30 15:06:51 +08:00
}
2022-07-30 15:06:51 +08:00
}