⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
id
/
stores.dev-unit.com
/
database
/
seeders
/
View File Name :
PageSeeder.php
<?php namespace Database\Seeders; use Botble\Base\Facades\Html; use Botble\Base\Supports\BaseSeeder; use Botble\Page\Database\Traits\HasPageSeeder; class PageSeeder extends BaseSeeder { use HasPageSeeder; public function run(): void { $faker = $this->fake(); $pages = [ [ 'name' => 'Home', 'content' => Html::tag( 'div', '[simple-slider key="home-slider" is_autoplay="yes" autoplay_speed="5000" ads="VC2C8Q1UGCBG" background="general/slider-bg.jpg"][/simple-slider]' ) . Html::tag( 'div', '[featured-product-categories title="Browse by Category"][/featured-product-categories]' ) . Html::tag('div', '[featured-brands title="Featured Brands"][/featured-brands]') . Html::tag('div', '[flash-sale title="Top Saver Today" flash_sale_id="1"][/flash-sale]') . Html::tag( 'div', '[product-category-products title="Just Landing" category_id="23"][/product-category-products]' ) . Html::tag( 'div', '[theme-ads key_1="IZ6WU8KUALYD" key_2="ILSFJVYFGCPZ" key_3="ZDOZUZZIU7FT"][/theme-ads]' ) . Html::tag('div', '[featured-products title="Featured products"][/featured-products]') . Html::tag('div', '[product-collections title="Essential Products"][/product-collections]') . Html::tag('div', '[product-category-products category_id="18"][/product-category-products]') . Html::tag( 'div', '[featured-posts title="Health Daily" background="general/blog-bg.jpg" app_enabled="1" app_title="Shop faster with Farmart App" app_description="Available on both iOS & Android" app_bg="general/app-bg.png" app_android_img="general/app-android.png" app_android_link="#" app_ios_img="general/app-ios.png" app_ios_link="#"][/featured-posts]' ) , 'template' => 'homepage', ], [ 'name' => 'About us', ], [ 'name' => 'Terms Of Use', ], [ 'name' => 'Terms & Conditions', ], [ 'name' => 'Refund Policy', ], [ 'name' => 'Blog', 'content' => Html::tag('p', '---'), 'template' => 'full-width', ], [ 'name' => 'FAQs', 'content' => Html::tag('div', '[faq title="Frequently Asked Questions"][/faq]'), ], [ 'name' => 'Contact', 'content' => Html::tag('div', '[google-map]502 New Street, Brighton VIC, Australia[/google-map]') . Html::tag( 'div', '[contact-info-boxes title="Contact Info" subtitle="Location" ' . 'name_1="Store" ' . 'address_1="68 Atlantic Ave St, Brooklyn, NY 90002, USA" ' . 'phone_1="(+005) 5896 72 78 79" ' . 'email_1="support@farmart.com" ' . 'name_2="Warehouse" ' . 'address_2="172 Richmond Hill Ave St, Stamford, NY 90002, USA" ' . 'phone_2="(+005) 5896 03 04 05" ' . 'show_contact_form="1" ' . '][/contact-info-boxes]' ), ], [ 'name' => 'Cookie Policy', 'content' => Html::tag('h3', 'EU Cookie Consent') . Html::tag( 'p', 'To use this Website we are using Cookies and collecting some Data. To be compliant with the EU GDPR we give you to choose if you allow us to use certain Cookies and to collect some Data.' ) . Html::tag('h4', 'Essential Data') . Html::tag( 'p', 'The Essential Data is needed to run the Site you are visiting technically. You can not deactivate them.' ) . Html::tag( 'p', '- Session Cookie: PHP uses a Cookie to identify user sessions. Without this Cookie the Website is not working.' ) . Html::tag( 'p', '- XSRF-Token Cookie: Laravel automatically generates a CSRF "token" for each active user session managed by the application. This token is used to verify that the authenticated user is the one actually making the requests to the application.' ), ], [ 'name' => 'Affiliate', ], [ 'name' => 'Career', ], [ 'name' => 'Coming soon', 'content' => Html::tag( 'div', sprintf('[coming-soon time="%s" title="We’re coming soon." subtitle="Currently we’re working on our brand new website and will be launching soon." social_title="Connect us on social networks" image="general/coming-soon.jpg"][/coming-soon]', $this->now()->addYear()->toDateTimeString()) ), 'template' => 'coming-soon', ], ]; $this->createPages($pages); } }