Prv8 Shell
Server : Apache
System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : matalashes ( 1004)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /home/matalashes/.trash/app.bak17jan25/Database/Seeds/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/matalashes/.trash/app.bak17jan25/Database/Seeds/PsStoreMainSeeder.php
<?php

namespace App\Database\Seeds;

use CodeIgniter\Database\Seeder;

class PsStoreMainSeeder extends Seeder
{
    public function run()
    {
        $data = [[
            'ps_sa_id' => 1,
            'sm_logo' => '',
            'sm_name' => 'Cafe Pintar Ngopi',
            'sm_phone' => '081123456789',
            'sm_email' => 'pintarstudio@gmail.com',
            'sm_website' => 'pintarstudio.com',
            'sm_address' => 'Jl. Kaliurang Km 5',
            'sm_province' => 'DIY',
            'sm_city' => 'Yogyakarta',
            'sm_district' => 'Sleman',
            'sm_postal_code' => '55281',
            'sm_status' => '',
            'sm_open_time' => '08:00:00',
            'sm_closed_time' => '17:00:00',
            'created_at' => date('Y-m-d H:i:s'),
            'updated_at' => date('Y-m-d H:i:s'),
        ], [
            'ps_sa_id' => 1,
            'sm_logo' => '',
            'sm_name' => 'Resto Pintar Bebakaran',
            'sm_phone' => '081987654321',
            'sm_email' => 'pintarstudio@gmail.com',
            'sm_website' => 'pintarstudio.com',
            'sm_address' => 'Jl. Kaliurang Km 5,2 (Sebelah Cafe Pintar Ngopi)',
            'sm_province' => 'DIY',
            'sm_city' => 'Yogyakarta',
            'sm_district' => 'Sleman',
            'sm_postal_code' => '55281',
            'sm_status' => '',
            'sm_open_time' => '11:00:00',
            'sm_closed_time' => '21:00:00',
            'created_at' => date('Y-m-d H:i:s'),
            'updated_at' => date('Y-m-d H:i:s'),
        ]];
        $this->db->table('ps_store_main')->insertBatch($data);
    }
}

haha - 2025