Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

Moved demo images to media/demo and prefixed iamge paths

givanz326fd57d549d
diff --git a/install/sql/insert/admin/admin.sql b/install/sql/insert/admin/admin.sql
index 09a0a90..57e91c6 100755
--- a/install/sql/insert/admin/admin.sql
+++ b/install/sql/insert/admin/admin.sql
@@ -1,12 +1,12 @@
INSERT INTO `admin` (`admin_id`, `username`, `first_name`, `last_name`,`password`, `email`, `url`, `created_at`, `token`, `status`, `site_access`, `display_name`, `avatar`, `cover`, `bio`, `role_id`) VALUES
-(1, 'admin', 'Admin', 'Admin', '$', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Admin', 'vvveb.svg', 'posts/2.jpg', 'Has access everywhere', 1),
-(2, 'administrator', 'Administrator', 'Administrator', '$', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Administrator', 'vvveb.svg', 'posts/2.jpg', 'Has access everywhere except admin user and role management', 2),
-(3, 'site-admin', 'Site Administrator', 'Site Administrator', '$', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Site Admin', 'vvveb.svg', 'posts/2.jpg', 'Manages content, products and orders', 3),
-(4, 'editor', 'Editor', 'Editor','$', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Editor', 'vvveb.svg', 'posts/2.jpg', 'Manages content', 4),
-(5, 'author', 'Author', 'Author', '$', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Author', 'vvveb.svg', 'posts/2.jpg', 'Can add and update content', 5),
-(6, 'contributor', 'Contributor', 'Contributor', '$', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Contributor', 'vvveb.svg', 'posts/2.jpg', 'Can add and update content', 5),
-(7, 'shop', 'Shop', 'Shop', '$', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Shop assistant', 'vvveb.svg', 'posts/2.jpg', 'Manages products and orders', 7),
-(8, 'vendor', 'Vendor', 'Vendor', '$', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Vendor', 'vvveb.svg', 'posts/2.jpg', 'Can add own products and process orders', 8),
-(9, 'rest', 'Rest', 'Rest', '$', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Rest Api', 'vvveb.svg', 'posts/2.jpg', 'Rest API access user', 9),
-(10, 'demo', 'Demo', 'Demo', '', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Demo', 'vvveb.svg', 'posts/2.jpg', 'Read only account with access everywhere', 10);
+(1, 'admin', 'Admin', 'Admin', '$', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Admin', 'vvveb.svg', 'demo/posts/4.jpg', 'Has access everywhere', 1),
+(2, 'administrator', 'Administrator', 'Administrator', '$', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Administrator', 'vvveb.svg', 'demo/posts/4.jpg', 'Has access everywhere except admin user and role management', 2),
+(3, 'site-admin', 'Site Administrator', 'Site Administrator', '$', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Site Admin', 'vvveb.svg', 'demo/posts/4.jpg', 'Manages content, products and orders', 3),
+(4, 'editor', 'Editor', 'Editor','$', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Editor', 'vvveb.svg', 'demo/posts/4.jpg', 'Manages content', 4),
+(5, 'author', 'Author', 'Author', '$', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Author', 'vvveb.svg', 'demo/posts/4.jpg', 'Can add and update content', 5),
+(6, 'contributor', 'Contributor', 'Contributor', '$', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Contributor', 'vvveb.svg', 'demo/posts/4.jpg', 'Can add and update content', 5),
+(7, 'shop', 'Shop', 'Shop', '$', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Shop assistant', 'vvveb.svg', 'demo/posts/4.jpg', 'Manages products and orders', 7),
+(8, 'vendor', 'Vendor', 'Vendor', '$', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Vendor', 'vvveb.svg', 'demo/posts/4.jpg', 'Can add own products and process orders', 8),
+(9, 'rest', 'Rest', 'Rest', '$', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Rest Api', 'vvveb.svg', 'demo/posts/4.jpg', 'Rest API access user', 9),
+(10, 'demo', 'Demo', 'Demo', '', '[email protected]', '', '2022-05-01 00:00:00', '', 0, '[]', 'Demo', 'vvveb.svg', 'demo/posts/4.jpg', 'Read only account with access everywhere', 10);
diff --git a/install/sql/insert/admin/role.sql b/install/sql/insert/admin/role.sql
index fb04e41..911cb97 100755
--- a/install/sql/insert/admin/role.sql
+++ b/install/sql/insert/admin/role.sql
@@ -1,11 +1,11 @@
INSERT INTO `role` (`role_id`, `name`, `display_name`, `permissions`) VALUES
-(1, 'super_admin', 'Super Administrator', '{"allow":["*"], "deny":[], "capabilities":["view_other_posts","edit_other_posts","view_other_products","edit_other_products","view_other_sites","edit_other_sites"]}'),
-(2, 'admin', 'Administrator', '{"allow":["*"], "deny":["admin/*"], "capabilities":["view_other_posts","edit_other_posts","view_other_products","edit_other_products","view_other_sites","edit_other_sites"]}'),
-(3, 'site_admin', 'Site Administrator', '{"allow":["index","content/*","user/*","product/*","order/*","editor/*","media/*","settings/*","tools/*"], "deny":["settings/email/*", "tools/update/*", "tools/cron/*","settings/site/add"], "capabilities":["view_other_posts","edit_other_posts","view_other_products","edit_other_products","view_other_sites","edit_other_sites"]}'),
+(1, 'super_admin', 'Super Administrator', '{"allow":["*"], "deny":[], "capabilities":["view_other_posts","edit_other_posts","view_other_products","edit_other_products","view_other_sites","edit_other_sites","view_other_admin","edit_other_admin"]}'),
+(2, 'admin', 'Administrator', '{"allow":["*","admin/user","admin/user/save"], "deny":["admin/*"], "capabilities":["view_other_posts","edit_other_posts","view_other_products","edit_other_products","view_other_sites","edit_other_sites","view_other_admin"]}'),
+(3, 'site_admin', 'Site Administrator', '{"allow":["index","content/*","user/*","product/*","order/*","editor/*","media/*","settings/*","tools/*","admin/user","admin/user/save"], "deny":["settings/email/*", "tools/update/*", "tools/cron/*","settings/site/add"], "capabilities":["view_other_posts","edit_other_posts","view_other_products","edit_other_products","view_other_sites","edit_other_sites","view_other_admin"]}'),
(4, 'editor', 'Editor', '{"allow":["index","content/*", "editor/*","media/media/scan"], "deny":[], "capabilities":["view_other_posts","edit_other_posts","view_other_products","edit_other_products","view_other_sites","edit_other_sites"]}'),
-(5, 'author', 'Author', '{"allow":["index","content/*", "editor/*","media/media/scan"], "deny":[]}'),
-(6, 'contributor', 'Contributor', '{"allow":["index","content/*","editor/*","media/media/scan"], "deny":[]}'),
+(5, 'author', 'Author', '{"allow":["index","content/*", "editor/*","media/media/scan","admin/user","admin/user/save"], "deny":[]}'),
+(6, 'contributor', 'Contributor', '{"allow":["index","content/*","editor/*","media/media/scan","admin/user","admin/user/save"], "deny":[]}'),
(7, 'shop', 'Shop', '{"allow":["index","product/*","order/*","media/media/scan"], "deny":[], "capabilities":["view_other_products","edit_other_products"]}'),
(8, 'vendor', 'Vendor', '{"allow":["index","product/*","order/*","media/media/scan"], "deny":["product/vendors/*","product/vendor/*","product/manufacturers/*", "product/manufacturer/*"]}'),
-(9, 'rest', 'Rest', '{"allow":["content/*"],"deny":["*/save","*/delete"], "capabilities":["view_other_products","edit_other_products"]}}'),
-(10, 'demo', 'Demo', '{"allow":["*"],"deny":["*/save","*/delete","*/rename","*/duplicate","*/upload", "*/activate","*/deactivate","*/install","*/update","*/deletemenu","plugins/file-manager/*"], "capabilities":["view_other_posts","view_other_products","view_other_sites"]}');
+(9, 'rest', 'Rest', '{"allow":["content/*"],"deny":["*/save","*/delete"], "capabilities":["view_other_posts","edit_other_posts","view_other_products","edit_other_products"]}}'),
+(10, 'demo', 'Demo', '{"allow":["*", "tools/cache/index"],"deny":["*/save","*/delete","*/rename","*/duplicate","*/upload", "*/activate","*/deactivate","*/install","*/update","*/deletemenu","plugins/file-manager/*","tools/cache/*"], "capabilities":["view_other_posts","view_other_products","view_other_sites"]}');
diff --git a/install/sql/insert/post/post.sql b/install/sql/insert/post/post.sql
index 5bd718e..9a6f113 100755
--- a/install/sql/insert/post/post.sql
+++ b/install/sql/insert/post/post.sql
@@ -2,13 +2,13 @@
INSERT INTO `post` (`admin_id`, `status`, `image`, `comment_status`, `password`, `parent`, `sort_order`, `type`, `template`, `comment_count`, `created_at`, `updated_at`) VALUES
-(1,'publish','posts/1.jpg','open','',0,0,'post','',0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1,'publish','posts/2.jpg','open','',0,0,'post','content/post-image-header.html',0,'2022-05-02 00:00:00','2022-05-02 00:00:00'),
-(1,'publish','posts/3.jpg','open','',0,0,'post','',0,'2022-05-03 00:00:00','2022-05-03 00:00:00'),
-(1,'publish','posts/4.jpg','open','',0,0,'post','',0,'2022-06-01 00:00:00','2022-06-01 00:00:00'),
-(1,'publish','posts/5.jpg','open','',0,0,'post','',0,'2022-06-02 00:00:00','2022-06-02 00:00:00'),
-(1,'publish','posts/6.jpg','open','',0,0,'post','',0,'2022-06-03 00:00:00','2022-06-03 00:00:00'),
-(1,'publish','posts/7.jpg','open','',0,0,'page','contact.html',0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1,'publish','demo/posts/1.jpg','open','',0,0,'post','',0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1,'publish','demo/posts/2.jpg','open','',0,0,'post','content/post-image-header.html',0,'2022-05-02 00:00:00','2022-05-02 00:00:00'),
+(1,'publish','demo/posts/3.jpg','open','',0,0,'post','',0,'2022-05-03 00:00:00','2022-05-03 00:00:00'),
+(1,'publish','demo/posts/4.jpg','open','',0,0,'post','',0,'2022-06-01 00:00:00','2022-06-01 00:00:00'),
+(1,'publish','demo/posts/5.jpg','open','',0,0,'post','',0,'2022-06-02 00:00:00','2022-06-02 00:00:00'),
+(1,'publish','demo/posts/6.jpg','open','',0,0,'post','',0,'2022-06-03 00:00:00','2022-06-03 00:00:00'),
+(1,'publish','demo/posts/7.jpg','open','',0,0,'page','contact.html',0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
(1,'publish','','open','',0,0,'page','',0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
(1,'publish','','open','',0,0,'page','',0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
(1,'publish','','open','',0,0,'page','',0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
diff --git a/install/sql/insert/post/post_content.sql b/install/sql/insert/post/post_content.sql
old mode 100755
new mode 100644
index e6ca2d2..64dfcea
--- a/install/sql/insert/post/post_content.sql
+++ b/install/sql/insert/post/post_content.sql
@@ -19,7 +19,7 @@ INSERT INTO `post_content` VALUES
</p>
<p>
- <img class="img-fluid" src="http://place-hold.it/1200x300">
+ <img class="img-fluid" src="//placeholdit.com/1200x300">
Neither can I be angry with my brother or fall foul of him; for he and I were born to work together, like a man`s two hands, feet or eyelids, or the upper and lower rows of his teeth.
</p>
@@ -28,7 +28,7 @@ INSERT INTO `post_content` VALUES
</p>
<div>
- <img class="img-fluid align-center" src="http://place-hold.it/1200x300">
+ <img class="img-fluid align-center" src="//placeholdit.com/1200x300">
</div>
<p>
@@ -36,7 +36,7 @@ INSERT INTO `post_content` VALUES
</p>
<p>
- <img class="img-fluid align-right" src="http://place-hold.it/150x150">
+ <img class="img-fluid align-right" src="//placeholdit.com/150x150">
</p>
<p>
@@ -47,7 +47,7 @@ INSERT INTO `post_content` VALUES
</p>
<p>
- <img class="img-fluid align-left" src="http://place-hold.it/150x150">
+ <img class="img-fluid align-left" src="//placeholdit.com/150x150">
</p>
<p>
@@ -144,17 +144,17 @@ INSERT INTO `post_content` VALUES
-(7,1,'Contact us','contact','<p class="lead">
+(7,1,'Contact us','contact','<p>
Powerful and easy to use drag and drop website builder for blogs, presentation or ecommerce stores.
</p>
- <p class="lead">
+ <p>
The html for sections blocks and components and this template are built using Bootstrap 5.
</p>
- <p class="mt-5">
- <b><i class="la la-lg la-envelope"></i> Email:</b>
+ <p class="mt-2">
+ <b><!-- <i class="la la-lg la-envelope"></i> -->Email:</b>
<span>
<a href="mailto:[email protected]">
<span>[email protected]</span>
@@ -162,7 +162,7 @@ INSERT INTO `post_content` VALUES
</span>
</p>
<p class="">
- <b><i class="la la-lg la-phone"></i> Phone:</b>
+ <b><!-- <i class="la la-lg la-phone"></i> -->Phone:</b>
<a href="tel:5511112377">
<span>+55 (111) 123 777</span>
</a>
@@ -309,4 +309,4 @@ INSERT INTO `post_content` VALUES
(13,2,'Preturi','preturi','Preturi', '','',''),
(14,2,'Portfoliu','portfoliu','Portfoliu', '','',''),
(15,2,'Piata','piata','piata', '','',''),
-(16,2,'Politica subscriptii','politica-subscriptii','Politica subscriptii', '','','');
\ No newline at end of file
+(16,2,'Politica subscriptii','politica-subscriptii','Politica subscriptii', '','','');
diff --git a/install/sql/insert/product/manufacturer.sql b/install/sql/insert/product/manufacturer.sql
index abf0fcf..25ce622 100755
--- a/install/sql/insert/product/manufacturer.sql
+++ b/install/sql/insert/product/manufacturer.sql
@@ -1,7 +1,7 @@
INSERT INTO `manufacturer` VALUES
-(1,'Assos','assos','posts/1.jpg',0),
-(2,'Apple','apple','posts/2.jpg',0),
-(3,'Samsung','samsung','posts/3.jpg',0),
-(4,'Xiaomi','xiaomi','posts/4.jpg',0),
-(5,'Huawei','huawei','posts/5.jpg',0),
-(6,'Mango','mango','posts/6.jpg',0);
+(1,'Assos','assos','demo/posts/1.jpg',0),
+(2,'Apple','apple','demo/posts/2.jpg',0),
+(3,'Samsung','samsung','demo/posts/3.jpg',0),
+(4,'Xiaomi','xiaomi','demo/posts/4.jpg',0),
+(5,'Huawei','huawei','demo/posts/5.jpg',0),
+(6,'Mango','mango','demo/posts/6.jpg',0);
diff --git a/install/sql/insert/product/product.sql b/install/sql/insert/product/product.sql
old mode 100755
new mode 100644
index 20cf35b..175c3f0
--- a/install/sql/insert/product/product.sql
+++ b/install/sql/insert/product/product.sql
@@ -1,21 +1,21 @@
INSERT INTO `product` (`admin_id`,`model`, `sku`, `upc`, `ean`, `jan`, `isbn`, `mpn`, `location`, `stock_quantity`, `stock_status_id`, `image`, `manufacturer_id`, `vendor_id`, `requires_shipping`, `price`, `old_price`, `points`, `tax_type_id`, `date_available`, `weight`, `weight_type_id`, `length`, `width`, `height`, `length_type_id`, `subtract_stock`, `minimum_quantity`, `sort_order`, `status`, `type`, `template`, `views`, `created_at`, `updated_at`) VALUES
-(1, 'Product 1','','','','','','','',939,7,'product/1-1.jpg',1,1,1,99.00,0, 200,1,'2023-05-01',146.40000000,2,0.0000,0.0000,0.0000,1,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1, 'Product 2','','','','','','','',999,6,'product/2-1.jpg',2,1,1,279.9900,0, 0,1,'2023-05-01',133.0000,2,0.0000,0.0000,0.0000,3,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1, 'Product 3','','','','','','','',7,6,'product/3-1.jpg',3,1,1,100.00,0, 0,1,'2023-05-01',0.0000,1,0.0000,0.0000,0.0000,1,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1, 'Product 4','','','','','','','',1000,6,'product/4-1.jpg',0,1,1,80.00,0, 0,1,'2023-05-01',0.0000,1,0.0000,0.0000,0.0000,3,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1, 'Product 5','','','','','','','',999,6,'product/5-1.jpg',4,1,1,100.00,0, 0,1,'2023-05-01',5.0000,1,0.0000,0.0000,0.0000,1,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1, 'Product 6','','','','','','','',1000,6,'product/6-1.jpg',0,1,1,200.00,0, 0,1,'2023-05-01',5.0000,1,0.0000,0.0000,0.0000,2,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1, 'Product 7','','','','','','','',1000,6,'product/7-1.jpg',1,1,1,100.00,0, 0,1,'2023-05-01',5.0000,1,0.0000,0.0000,0.0000,2,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1, 'Product 8','','','','','','','',1000,5,'product/8-1.jpg',0,0,1,100.00,0, 0,1,'2023-05-01',5.0000,1,0.0000,0.0000,0.0000,1,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1, 'Product 9','','','','','','','',994,6,'product/9-1.jpg',2,0,1,100.00,0, 1,1,'2023-05-01',5.0000,1,0.0000,0.0000,0.0000,2,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1, 'Product 1','','','','','','','',939,7,'demo/products/1-1.jpg',1,1,1,99.00,0, 200,1,'2023-05-01',146.40000000,2,0.0000,0.0000,0.0000,1,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1, 'Product 2','','','','','','','',999,6,'demo/products/2-1.jpg',2,1,1,279.9900,0, 0,1,'2023-05-01',133.0000,2,0.0000,0.0000,0.0000,3,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1, 'Product 3','','','','','','','',7,6,'demo/products/3-1.jpg',3,1,1,100.00,0, 0,1,'2023-05-01',0.0000,1,0.0000,0.0000,0.0000,1,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1, 'Product 4','','','','','','','',1000,6,'demo/products/4-1.jpg',0,1,1,80.00,0, 0,1,'2023-05-01',0.0000,1,0.0000,0.0000,0.0000,3,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1, 'Product 5','','','','','','','',999,6,'demo/products/5-1.jpg',4,1,1,100.00,0, 0,1,'2023-05-01',5.0000,1,0.0000,0.0000,0.0000,1,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1, 'Product 6','','','','','','','',1000,6,'demo/products/6-1.jpg',0,1,1,200.00,0, 0,1,'2023-05-01',5.0000,1,0.0000,0.0000,0.0000,2,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1, 'Product 7','','','','','','','',1000,6,'demo/products/7-1.jpg',1,1,1,100.00,0, 0,1,'2023-05-01',5.0000,1,0.0000,0.0000,0.0000,2,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1, 'Product 8','','','','','','','',1000,5,'demo/products/8-1.jpg',0,0,1,100.00,0, 0,1,'2023-05-01',5.0000,1,0.0000,0.0000,0.0000,1,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1, 'Product 9','','','','','','','',994,6,'demo/products/9-1.jpg',2,0,1,100.00,0, 1,1,'2023-05-01',5.0000,1,0.0000,0.0000,0.0000,2,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1, 'Product 10','','','','','','','',970,5,'product/10-1.jpg',3,1,1,101.00,0, 0,1,'2023-05-01',10.0000,1,0.0000,0.0000,0.0000,1,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1, 'Product 11','','','','','','','',977,5,'product/1-1.jpg',4,1,1,100.00,0, 0,1,'2023-05-01',5.0000,1,0.0000,0.0000,0.0000,1,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1, 'Product 12','','','','','','','',990,5,'product/2-1.jpg',1,1,1,100.00,0, 400,1,'2009-02-04',12.50000000,1,1.0000,2.0000,3.0000,1,1,2,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1, 'Product 13','','','','','','','',929,5,'product/3-1.jpg',2,0,1,500.00,0, 0,1,'2023-05-01',0.0000,1,0.0000,0.0000,0.0000,2,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1, 'Product 14','','','','','','','',1000,5,'product/4-1.jpg',3,1,1,1000.00,0, 0,1,'2023-05-01',0.0000,1,0.0000,0.0000,0.0000,2,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1, 'Product 15','','','','','','','',998,5,'product/5-1.jpg',3,1,1,2000.00,0, 0,1,'2023-05-01',0.0000,1,0.0000,0.0000,0.0000,2,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1, 'Product 16','','','','','','','',1000,5,'product/6-1.jpg',4,1,1,1000.00,0, 0,1,'2023-05-01',0.0000,1,0.0000,0.0000,0.0000,2,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1, 'Product 17','','','','','','','',0,5,'product/7-1.jpg',5,1,1,100.00,0, 400,1,'2023-05-01',1.0000,1,0.0000,0.0000,0.0000,1,0,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1, 'Product 18','test 1','','','','','','test 2',995,5,'product/8-1.jpg',1,1,1,100.00,120.00, 0,1,'2009-02-08',1.0000,1,0.0000,0.0000,0.0000,2,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
-(1, 'Product 19','','','','','','','',1000,1,'product/9-1.jpg',0,1,1,199.9900,0, 0,1,'2011-04-25',0.0000,1,0.0000,0.0000,0.0000,1,1,1,1,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00');
+(1, 'Product 10','','','','','','','',970,5,'demo/products/10-1.jpg',3,1,1,101.00,0, 0,1,'2023-05-01',10.0000,1,0.0000,0.0000,0.0000,1,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1, 'Product 11','','','','','','','',977,5,'demo/products/1-1.jpg',4,1,1,100.00,0, 0,1,'2023-05-01',5.0000,1,0.0000,0.0000,0.0000,1,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1, 'Product 12','','','','','','','',990,5,'demo/products/2-1.jpg',1,1,1,100.00,0, 400,1,'2009-02-04',12.50000000,1,1.0000,2.0000,3.0000,1,1,2,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1, 'Product 13','','','','','','','',929,5,'demo/products/3-1.jpg',2,0,1,500.00,0, 0,1,'2023-05-01',0.0000,1,0.0000,0.0000,0.0000,2,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1, 'Product 14','','','','','','','',1000,5,'demo/products/4-1.jpg',3,1,1,1000.00,0, 0,1,'2023-05-01',0.0000,1,0.0000,0.0000,0.0000,2,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1, 'Product 15','','','','','','','',998,5,'demo/products/5-1.jpg',3,1,1,2000.00,0, 0,1,'2023-05-01',0.0000,1,0.0000,0.0000,0.0000,2,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1, 'Product 16','','','','','','','',1000,5,'demo/products/6-1.jpg',4,1,1,1000.00,0, 0,1,'2023-05-01',0.0000,1,0.0000,0.0000,0.0000,2,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1, 'Product 17','','','','','','','',0,5,'demo/products/7-1.jpg',5,1,1,100.00,0, 400,1,'2023-05-01',1.0000,1,0.0000,0.0000,0.0000,1,0,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1, 'Product 18','test 1','','','','','','test 2',995,5,'demo/products/8-1.jpg',1,1,1,100.00,120.00, 0,1,'2009-02-08',1.0000,1,0.0000,0.0000,0.0000,2,1,1,0,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00'),
+(1, 'Product 19','','','','','','','',1000,1,'demo/products/9-1.jpg',0,1,1,199.9900,0, 0,1,'2011-04-25',0.0000,1,0.0000,0.0000,0.0000,1,1,1,1,1, 'product', '', 0,'2022-05-01 00:00:00','2022-05-01 00:00:00');
diff --git a/install/sql/insert/product/product_image.sql b/install/sql/insert/product/product_image.sql
index 167973c..f7efed1 100755
--- a/install/sql/insert/product/product_image.sql
+++ b/install/sql/insert/product/product_image.sql
@@ -1,73 +1,73 @@
INSERT INTO `product_image` (product_id,image) VALUES
-- 1
-(1,'product/1-1.jpg'),
-(1,'product/1-2.jpg'),
-(1,'product/1-3.jpg'),
+(1,'demo/products/1-1.jpg'),
+(1,'demo/products/1-2.jpg'),
+(1,'demo/products/1-3.jpg'),
-- 2
-(2,'product/2-1.jpg'),
-(2,'product/2-2.jpg'),
-(2,'product/3-3.jpg'),
+(2,'demo/products/2-1.jpg'),
+(2,'demo/products/2-2.jpg'),
+(2,'demo/products/3-3.jpg'),
-- 3
-(3,'product/3-1.jpg'),
-(3,'product/3-2.jpg'),
-(3,'product/3-3.jpg'),
+(3,'demo/products/3-1.jpg'),
+(3,'demo/products/3-2.jpg'),
+(3,'demo/products/3-3.jpg'),
-- 4
-(4,'product/4-1.jpg'),
-(4,'product/4-2.jpg'),
-(4,'product/4-3.jpg'),
+(4,'demo/products/4-1.jpg'),
+(4,'demo/products/4-2.jpg'),
+(4,'demo/products/4-3.jpg'),
-- 5
-(5,'product/5-1.jpg'),
-(5,'product/5-2.jpg'),
+(5,'demo/products/5-1.jpg'),
+(5,'demo/products/5-2.jpg'),
-- 6
-(6,'product/6-1.jpg'),
-(6,'product/6-2.jpg'),
-(6,'product/6-3.jpg'),
+(6,'demo/products/6-1.jpg'),
+(6,'demo/products/6-2.jpg'),
+(6,'demo/products/6-3.jpg'),
-- 7
-(7,'product/7-1.jpg'),
-(7,'product/7-2.jpg'),
+(7,'demo/products/7-1.jpg'),
+(7,'demo/products/7-2.jpg'),
-- 8
-(8,'product/8-1.jpg'),
-(8,'product/8-2.jpg'),
-(8,'product/8-3.jpg'),
+(8,'demo/products/8-1.jpg'),
+(8,'demo/products/8-2.jpg'),
+(8,'demo/products/8-3.jpg'),
-- 9
-(9,'product/9-1.jpg'),
-(9,'product/9-2.jpg'),
-(9,'product/9-3.jpg'),
+(9,'demo/products/9-1.jpg'),
+(9,'demo/products/9-2.jpg'),
+(9,'demo/products/9-3.jpg'),
-- 10
-(10,'product/10-1.jpg'),
-(10,'product/10-2.jpg'),
-(10,'product/10-3.jpg'),
+(10,'demo/products/10-1.jpg'),
+(10,'demo/products/10-2.jpg'),
+(10,'demo/products/10-3.jpg'),
-- 11
-(11,'product/1-1.jpg'),
-(11,'product/1-2.jpg'),
-(11,'product/1-3.jpg'),
+(11,'demo/products/1-1.jpg'),
+(11,'demo/products/1-2.jpg'),
+(11,'demo/products/1-3.jpg'),
-- 12
-(12,'product/2-1.jpg'),
-(12,'product/2-2.jpg'),
-(12,'product/3-3.jpg'),
+(12,'demo/products/2-1.jpg'),
+(12,'demo/products/2-2.jpg'),
+(12,'demo/products/3-3.jpg'),
-- 13
-(13,'product/3-1.jpg'),
-(13,'product/3-2.jpg'),
-(13,'product/3-3.jpg'),
+(13,'demo/products/3-1.jpg'),
+(13,'demo/products/3-2.jpg'),
+(13,'demo/products/3-3.jpg'),
-- 14
-(14,'product/4-1.jpg'),
-(14,'product/4-2.jpg'),
-(14,'product/4-3.jpg'),
+(14,'demo/products/4-1.jpg'),
+(14,'demo/products/4-2.jpg'),
+(14,'demo/products/4-3.jpg'),
-- 15
-(15,'product/5-1.jpg'),
-(15,'product/5-2.jpg'),
+(15,'demo/products/5-1.jpg'),
+(15,'demo/products/5-2.jpg'),
-- 16
-(16,'product/6-1.jpg'),
-(16,'product/6-2.jpg'),
-(16,'product/6-3.jpg'),
+(16,'demo/products/6-1.jpg'),
+(16,'demo/products/6-2.jpg'),
+(16,'demo/products/6-3.jpg'),
-- 7
-(17,'product/7-1.jpg'),
-(17,'product/7-2.jpg'),
+(17,'demo/products/7-1.jpg'),
+(17,'demo/products/7-2.jpg'),
-- 18
-(18,'product/8-1.jpg'),
-(18,'product/8-2.jpg'),
-(18,'product/8-3.jpg'),
+(18,'demo/products/8-1.jpg'),
+(18,'demo/products/8-2.jpg'),
+(18,'demo/products/8-3.jpg'),
-- 19
-(19,'product/9-1.jpg'),
-(19,'product/9-2.jpg'),
-(19,'product/9-3.jpg');
\ No newline at end of file
+(19,'demo/products/9-1.jpg'),
+(19,'demo/products/9-2.jpg'),
+(19,'demo/products/9-3.jpg');
\ No newline at end of file
diff --git a/install/sql/insert/product/product_review_media.sql b/install/sql/insert/product/product_review_media.sql
old mode 100644
new mode 100755
index 2e12aba..2e1d9df
--- a/install/sql/insert/product/product_review_media.sql
+++ b/install/sql/insert/product/product_review_media.sql
@@ -1,20 +1,20 @@
INSERT INTO `product_review_media` (product_review_id, product_id, user_id, image) VALUES
-- 1
-(1,19,1,'product/1-1.jpg'),
-(1,19,1,'product/1-2.jpg'),
-(1,19,1,'product/1-3.jpg'),
+(1,19,1,'demo/products/1-1.jpg'),
+(1,19,1,'demo/products/1-2.jpg'),
+(1,19,1,'demo/products/1-3.jpg'),
-- 2
-(2,19,1,'product/2-1.jpg'),
-(2,19,1,'product/2-2.jpg'),
-(2,19,1,'product/3-3.jpg'),
+(2,19,1,'demo/products/2-1.jpg'),
+(2,19,1,'demo/products/2-2.jpg'),
+(2,19,1,'demo/products/3-3.jpg'),
-- 3
-(3,19,1,'product/3-1.jpg'),
-(3,19,1,'product/3-2.jpg'),
-(3,19,1,'product/3-3.jpg'),
+(3,19,1,'demo/products/3-1.jpg'),
+(3,19,1,'demo/products/3-2.jpg'),
+(3,19,1,'demo/products/3-3.jpg'),
-- 4
-(4,19,1,'product/4-1.jpg'),
-(4,19,1,'product/4-2.jpg'),
-(4,19,1,'product/4-3.jpg'),
+(4,19,1,'demo/products/4-1.jpg'),
+(4,19,1,'demo/products/4-2.jpg'),
+(4,19,1,'demo/products/4-3.jpg'),
-- 5
-(5,19,1,'product/5-1.jpg'),
-(5,19,1,'product/5-2.jpg');
\ No newline at end of file
+(5,19,1,'demo/products/5-1.jpg'),
+(5,19,1,'demo/products/5-2.jpg');
\ No newline at end of file
diff --git a/install/sql/insert/product/vendor.sql b/install/sql/insert/product/vendor.sql
index 05e8d60..164ab35 100755
--- a/install/sql/insert/product/vendor.sql
+++ b/install/sql/insert/product/vendor.sql
@@ -1,7 +1,7 @@
INSERT INTO `vendor` VALUES
-(1,1,'Vendor 1','vendor-1','posts/1.jpg',0),
-(2,1,'Vendor 2','vendor-2','posts/2.jpg',0),
-(3,1,'Vendor 3','vendor-3','posts/3.jpg',0),
-(4,1,'Vendor 4','vendor-4','posts/4.jpg',0),
-(5,1,'Vendor 5','vendor-5','posts/5.jpg',0),
-(6,1,'Vendor 6','vendor-6','posts/6.jpg',0);
+(1,1,'Vendor 1','vendor-1','demo/posts/1.jpg',0),
+(2,1,'Vendor 2','vendor-2','demo/posts/2.jpg',0),
+(3,1,'Vendor 3','vendor-3','demo/posts/3.jpg',0),
+(4,1,'Vendor 4','vendor-4','demo/posts/4.jpg',0),
+(5,1,'Vendor 5','vendor-5','demo/posts/5.jpg',0),
+(6,1,'Vendor 6','vendor-6','demo/posts/6.jpg',0);
diff --git a/install/sql/insert/site/setting.sql b/install/sql/insert/site/setting.sql
index 8082fce..ed06ef5 100755
--- a/install/sql/insert/site/setting.sql
+++ b/install/sql/insert/site/setting.sql
@@ -1,3 +1,5 @@
INSERT INTO `setting` (`site_id`, `namespace`, `key`, `value`) VALUES
(1, 'site', 'description', 'Vvveb CMS'),
-(1, 'site', 'title', 'Vvveb');
+(1, 'site', 'title', 'Vvveb'),
+(1, 'shipping', '0', '{"region_group_id":"0","shipping_status_id":"1","sort_order":"1","lang":{"1":{"title":"Fast courier","description":"Fast courier","free_message":""},"3":{"title":"","description":"","free_message":""}},"tax_type_id":"0","cost":"3.00","base-weight":"5","free_shipping":"0.00","weight":{"#":{"above_weight":"5","price":"1.00"}}}'),
+(1, 'payment', '0', '{"region_group_id":"0","payment_status_id":"1","sort_order":"1","lang":{"1":{"title":"Cash on delivery","description":"Cash on delivery"},"6":{"title":"Cash on delivery","description":"Cash on delivery"},"3":{"title":"Cash on delivery","description":"Cash on delivery"},"4":{"title":"Cash on delivery","description":"Cash on delivery"},"5":{"title":"Cash on delivery","description":"Cash on delivery"},"7":{"title":"Cash on delivery","description":"Cash on delivery"}},"tax_type_id":"0","cost":"0.00"}');
diff --git a/install/sql/insert/site/site.sql b/install/sql/insert/site/site.sql
old mode 100755
new mode 100644
index cc17c6a..f49eabb
--- a/install/sql/insert/site/site.sql
+++ b/install/sql/insert/site/site.sql
@@ -1,2 +1,2 @@
INSERT INTO `site` (`site_id`, `key`, `name`, `host`, `theme`, `template`, `settings`) VALUES
-(1, 'default','Default','*.*.*', 'landing', '', '{"description":{"1":{"title": "Vvveb","description": "The next generation website builder","meta-keywords": "cms, page builder, drag and drop, ecommerce, ecommerce platform, designer, developer, php, bootstrap 5","meta-description": "Powerful and easy to use drag and drop website builder for blogs, presentation or ecommerce stores","phone-number": "+55 (111) 123 777"}},"address":"West 21st Street Brooklyn NY","admin-email":"[email protected]","contact-email":"[email protected]","logo":"logo.png","logo-sticky":"logo.png","logo-dark":"logo-white.png","logo-dark-sticky":"logo-white.png","favicon":"favicon.ico","webbanner":"biglogo.png","post_xlarge_width":"1200","post_xlarge_height":"675","post_large_width":"800","post_large_height":"450","post_medium_width":"400","post_medium_height":"225","post_thumb_width":"150","post_thumb_height":"84","product_xlarge_width":"1200","product_xlarge_height":"1536","product_large_width":"800","product_large_height":"1021","product_medium_width":"400","product_medium_height":"510","product_thumb_width":"150","product_thumb_height":"190","date_format":"F j, Y","time_format":"g:i A", "country_id":"223","region_id":"3655","language_id":"1","currency_id":"1","language":"en_US","currency":"USD","invoice_format":"I-{year2}-{month}-{order_id}-{user_id}-{customer_order_id}","order_id_format":"{rand-str-12}-{year2}","language_id":"1","currency_id":"1","length_type_id":"1","weight_type_id":"1","order_status_id":"1"}');
\ No newline at end of file
+(1, 'default','Default','*.*.*', 'landing', '', '{"description":{"1":{"title": "Vvveb","description": "The next generation website builder","meta-keywords": "cms, page builder, drag and drop, ecommerce, ecommerce platform, designer, developer, php, bootstrap 5","meta-description": "Powerful and easy to use drag and drop website builder for blogs, presentation or ecommerce stores","phone-number": "+55 (111) 123 777"}},"address":"West 21st Street Brooklyn NY","admin-email":"[email protected]","contact-email":"[email protected]","logo":"logo.png","logo-sticky":"logo.png","logo-dark":"logo-white.png","logo-dark-sticky":"logo-white.png","favicon":"favicon.ico","webbanner":"biglogo.png","post_xlarge_width":"1200","post_xlarge_height":"675","post_large_width":"800","post_large_height":"450","post_medium_width":"400","post_medium_height":"225","post_thumb_width":"150","post_thumb_height":"84","product_xlarge_width":"1200","product_xlarge_height":"1536","product_large_width":"800","product_large_height":"1021","product_medium_width":"400","product_medium_height":"510","product_thumb_width":"150","product_thumb_height":"190","date_format":"j F Y","time_format":"g:i A", "country_id":"223","region_id":"3655","language_id":"1","currency_id":"1","language":"en","languages":"","currency":"USD","currencies":"","invoice_format":"I-{year2}-{month}-{order_id}-{user_id}-{customer_order_id}","order_id_format":"{rand-str-12}-{year2}","language_id":"1","currency_id":"1","length_type_id":"1","weight_type_id":"1","order_status_id":"1", "default_comment_status":"1","anonymous_comments":"1"}');
diff --git a/install/sql/insert/user/user.sql b/install/sql/insert/user/user.sql
index 34e020c..5e29e19 100755
--- a/install/sql/insert/user/user.sql
+++ b/install/sql/insert/user/user.sql
@@ -1,2 +1,2 @@
-INSERT INTO `user` (`user_id`, `username`, `first_name`, `last_name`, `password`, `email`, `phone_number`, `url`, `display_name`, `created_at`, `token`, `avatar`, `bio`, `status`) VALUES
-(1, 'johndoe', 'John', 'Doe', '$2y$11$o52ahesifBsklkPV8eTWSeoKbBHJXxaoDZUIDYiFYdAmHQSyfDM3W', '[email protected]', '12345678', '', 'johndoe', '2022-05-01 00:00:00', '', '', 'This is a brief biography', 1);
+INSERT INTO `user` (`user_id`, `username`, `first_name`, `last_name`, `password`, `email`, `phone_number`, `url`, `display_name`, `created_at`, `token`, `avatar`, `cover`, `bio`, `status`) VALUES
+(1, 'johndoe', 'John', 'Doe', '', '[email protected]', '12345678', '', 'johndoe', '2022-05-01 00:00:00', '', 'vvveb.svg', 'demo/posts/2.jpg', 'This is a brief biography', 1);
diff --git a/public/js/libs/tinymce-options.js b/public/js/libs/tinymce-options.js
index 58abc25..d284a3e 100755
--- a/public/js/libs/tinymce-options.js
+++ b/public/js/libs/tinymce-options.js
@@ -101,7 +101,7 @@ if (typeof themeFonts !== 'undefined' && themeFonts) {
}
}
-let tinyMceOptions = {
+var tinyMceOptions = {
selector: "textarea.html",
body_class: "container",
init_instance_callback : make_wysiwyg,
@@ -180,7 +180,7 @@ let tinyMceOptions = {
icon: 'gallery',
onAction: function () {
let galleryHTML = `<div class="gallery masonry has-shadow" data-component-gallery="">
- <div class="item"><a href="#"><img src="../../media/posts/1.jpg"> </a></div>
+ <div class="item"><a href="#"><img src="../../media/demo/posts/1.jpg"> </a></div>
</div>`;
editor.insertContent(galleryHTML);
@@ -230,7 +230,7 @@ let tinyMceOptions = {
tooltip: 'Add',
icon: 'plus',
onAction: function() {
- let galleryItemHTML = `<div class="item"><a href="#"><img src="../../media/posts/1.jpg"></a></div>`;
+ let galleryItemHTML = `<div class="item"><a href="#"><img src="../../media/demo/posts/1.jpg"></a></div>`;
let node = editor.selection.getNode();
let gallery = node.closest('[data-component-gallery]');
editor.selection.setCursorLocation(gallery, gallery.children.length);
@@ -497,10 +497,13 @@ let tinyMceOptions = {
editor.on('change', function(ed, e) {
// text changed set has_changes flag to save revision
- ed.target.container.parentNode.querySelector(".has_changes").value = "1";
- delay(() => {
- if (typeof contentElement !== "undefined") contentElement.innerHTML = editor.getContent();
- }, 500);
+ let hasChanges = ed.target.container.parentNode.querySelector(".has_changes");
+ if (hasChanges) hasChanges.value = "1";
+ if (typeof contentElement !== "undefined") {
+ delay(() => {
+ contentElement.innerHTML = editor.getContent();
+ }, 500);
+ }
});
window.dispatchEvent(new CustomEvent("tinymce.setup", {detail: editor}));
@@ -887,7 +890,7 @@ let tinyMceOptions = {
toolbar_mode: 'wrap',
contextmenu: 'link image editimage table',
skin: tinyMceSkin,//'oxide',
- content_css: vvvebThemeCss,
+ content_css: vvvebThemeCss ?? "",
//content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:14px }',
content_style: "body {padding: 10px}",
images_reuse_filename: true,
diff --git a/public/media/posts/1.jpg b/public/media/demo/posts/1.jpg
similarity index 100%
rename from public/media/posts/1.jpg
rename to public/media/demo/posts/1.jpg
diff --git a/public/media/posts/2.jpg b/public/media/demo/posts/2.jpg
similarity index 100%
rename from public/media/posts/2.jpg
rename to public/media/demo/posts/2.jpg
diff --git a/public/media/posts/3.jpg b/public/media/demo/posts/3.jpg
similarity index 100%
rename from public/media/posts/3.jpg
rename to public/media/demo/posts/3.jpg
diff --git a/public/media/posts/4.jpg b/public/media/demo/posts/4.jpg
similarity index 100%
rename from public/media/posts/4.jpg
rename to public/media/demo/posts/4.jpg
diff --git a/public/media/posts/5.jpg b/public/media/demo/posts/5.jpg
similarity index 100%
rename from public/media/posts/5.jpg
rename to public/media/demo/posts/5.jpg
diff --git a/public/media/posts/6.jpg b/public/media/demo/posts/6.jpg
similarity index 100%
rename from public/media/posts/6.jpg
rename to public/media/demo/posts/6.jpg
diff --git a/public/media/posts/7.jpg b/public/media/demo/posts/7.jpg
similarity index 100%
rename from public/media/posts/7.jpg
rename to public/media/demo/posts/7.jpg
diff --git a/public/media/product/1-1.jpg b/public/media/demo/products/1-1.jpg
similarity index 100%
rename from public/media/product/1-1.jpg
rename to public/media/demo/products/1-1.jpg
diff --git a/public/media/product/1-2.jpg b/public/media/demo/products/1-2.jpg
similarity index 100%
rename from public/media/product/1-2.jpg
rename to public/media/demo/products/1-2.jpg
diff --git a/public/media/product/1-3.jpg b/public/media/demo/products/1-3.jpg
similarity index 100%
rename from public/media/product/1-3.jpg
rename to public/media/demo/products/1-3.jpg
diff --git a/public/media/product/10-1.jpg b/public/media/demo/products/10-1.jpg
similarity index 100%
rename from public/media/product/10-1.jpg
rename to public/media/demo/products/10-1.jpg
diff --git a/public/media/product/10-2.jpg b/public/media/demo/products/10-2.jpg
similarity index 100%
rename from public/media/product/10-2.jpg
rename to public/media/demo/products/10-2.jpg
diff --git a/public/media/product/2-1.jpg b/public/media/demo/products/2-1.jpg
similarity index 100%
rename from public/media/product/2-1.jpg
rename to public/media/demo/products/2-1.jpg
diff --git a/public/media/product/2-2.jpg b/public/media/demo/products/2-2.jpg
similarity index 100%
rename from public/media/product/2-2.jpg
rename to public/media/demo/products/2-2.jpg
diff --git a/public/media/product/2-3.jpg b/public/media/demo/products/2-3.jpg
similarity index 100%
rename from public/media/product/2-3.jpg
rename to public/media/demo/products/2-3.jpg
diff --git a/public/media/product/3-1.jpg b/public/media/demo/products/3-1.jpg
similarity index 100%
rename from public/media/product/3-1.jpg
rename to public/media/demo/products/3-1.jpg
diff --git a/public/media/product/3-2.jpg b/public/media/demo/products/3-2.jpg
similarity index 100%
rename from public/media/product/3-2.jpg
rename to public/media/demo/products/3-2.jpg
diff --git a/public/media/product/3-3.jpg b/public/media/demo/products/3-3.jpg
similarity index 100%
rename from public/media/product/3-3.jpg
rename to public/media/demo/products/3-3.jpg
diff --git a/public/media/product/4-1.jpg b/public/media/demo/products/4-1.jpg
similarity index 100%
rename from public/media/product/4-1.jpg
rename to public/media/demo/products/4-1.jpg
diff --git a/public/media/product/4-2.jpg b/public/media/demo/products/4-2.jpg
similarity index 100%
rename from public/media/product/4-2.jpg
rename to public/media/demo/products/4-2.jpg
diff --git a/public/media/product/4-3.jpg b/public/media/demo/products/4-3.jpg
similarity index 100%
rename from public/media/product/4-3.jpg
rename to public/media/demo/products/4-3.jpg
diff --git a/public/media/product/4-4.jpg b/public/media/demo/products/4-4.jpg
similarity index 100%
rename from public/media/product/4-4.jpg
rename to public/media/demo/products/4-4.jpg
diff --git a/public/media/product/5-1.jpg b/public/media/demo/products/5-1.jpg
similarity index 100%
rename from public/media/product/5-1.jpg
rename to public/media/demo/products/5-1.jpg
diff --git a/public/media/product/5-2.jpg b/public/media/demo/products/5-2.jpg
similarity index 100%
rename from public/media/product/5-2.jpg
rename to public/media/demo/products/5-2.jpg
diff --git a/public/media/product/6-1.jpg b/public/media/demo/products/6-1.jpg
similarity index 100%
rename from public/media/product/6-1.jpg
rename to public/media/demo/products/6-1.jpg
diff --git a/public/media/product/6-2.jpg b/public/media/demo/products/6-2.jpg
similarity index 100%
rename from public/media/product/6-2.jpg
rename to public/media/demo/products/6-2.jpg
diff --git a/public/media/product/7-1.jpg b/public/media/demo/products/7-1.jpg
similarity index 100%
rename from public/media/product/7-1.jpg
rename to public/media/demo/products/7-1.jpg
diff --git a/public/media/product/7-2.jpg b/public/media/demo/products/7-2.jpg
similarity index 100%
rename from public/media/product/7-2.jpg
rename to public/media/demo/products/7-2.jpg
diff --git a/public/media/product/8-1.jpg b/public/media/demo/products/8-1.jpg
similarity index 100%
rename from public/media/product/8-1.jpg
rename to public/media/demo/products/8-1.jpg
diff --git a/public/media/product/8-2.jpg b/public/media/demo/products/8-2.jpg
similarity index 100%
rename from public/media/product/8-2.jpg
rename to public/media/demo/products/8-2.jpg
diff --git a/public/media/product/8-3.jpg b/public/media/demo/products/8-3.jpg
similarity index 100%
rename from public/media/product/8-3.jpg
rename to public/media/demo/products/8-3.jpg
diff --git a/public/media/product/8-4.jpg b/public/media/demo/products/8-4.jpg
similarity index 100%
rename from public/media/product/8-4.jpg
rename to public/media/demo/products/8-4.jpg
diff --git a/public/media/product/9-1.jpg b/public/media/demo/products/9-1.jpg
similarity index 100%
rename from public/media/product/9-1.jpg
rename to public/media/demo/products/9-1.jpg
diff --git a/public/media/product/9-2.jpg b/public/media/demo/products/9-2.jpg
similarity index 100%
rename from public/media/product/9-2.jpg
rename to public/media/demo/products/9-2.jpg
diff --git a/public/media/product/9-3.jpg b/public/media/demo/products/9-3.jpg
similarity index 100%
rename from public/media/product/9-3.jpg
rename to public/media/demo/products/9-3.jpg
diff --git a/public/media/product/9-4.jpg b/public/media/demo/products/9-4.jpg
similarity index 100%
rename from public/media/product/9-4.jpg
rename to public/media/demo/products/9-4.jpg
diff --git a/public/media/placeholder.svg b/public/media/placeholder.svg
old mode 100755
new mode 100644
index 3b2e6c4..f5245b2
--- a/public/media/placeholder.svg
+++ b/public/media/placeholder.svg
@@ -1,5 +1 @@
-<?xml version="1.0" ?><svg style="enable-background:new 0 0 48 48;" version="1.1" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><style type="text/css">
- .st0{display:none;}
- .st1{fill:none;stroke:currentColor;stroke-width:0.7;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
- .st2{fill:currentColor;}
-</style><g class="st0" id="Padding__x26__Artboard"/><g id="Icons"><g><path class="st1" d="M30.26,14.13h5.98c1.51,0,2.74,1.23,2.74,2.74v17.09c0,1.51-1.23,2.73-2.74,2.73H11.75 c-1.51,0-2.73-1.22-2.73-2.73V16.87c0-1.51,1.22-2.74,2.73-2.74h6.13"/><g><path class="st1" d="M18.01923,14.13l0.76505-1.85988C19.02325,11.6892,19.58926,11.31,20.21741,11.31h7.85023 c0.62987,0,1.19707,0.38125,1.43491,0.96448L30.25923,14.13"/><g><circle class="st1" cx="24.00077" cy="25.41348" r="6.58477"/></g></g><circle class="st1" cx="33.2919" cy="18.38478" r="0.93492"/></g></g></svg>
+<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><rect x="48" y="80" width="416" height="352" rx="48" ry="48" fill="none" stroke="none" stroke-linejoin="round" stroke-width="8"/><circle cx="336" cy="176" r="32" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="8"/><path d="M304 335.79l-90.66-90.49a32 32 0 00-43.87-1.3L48 352M224 432l123.34-123.34a32 32 0 0143.11-2L464 368" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="8"/></svg>