Merge pull request #36 from YasinDehfuli/main

🚀 Improve ui on issue #33
main
A1Gard 3 months ago committed by GitHub
commit dfb6479908
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -20,82 +20,82 @@ class SettingSeeder extends Seeder
\DB::insert(<<<SQL
INSERT INTO `settings` (`id`, `section`, `type`, `title`, `active`, `key`, `value`, `created_at`, `updated_at`) VALUES
(NULL, '1menu', 'image', 'لوگو', 1, 'logo_png', NULL, '2022-08-02 00:14:57', '2022-08-02 00:14:57'),
(NULL, '2top', 'text', 'عنوان قسمت اصلی', 1, 'top1text', '{"$lang":"\\u062a\\u0633\\u062a","ru":"\\u0442\\u0435\\u0441\\u0442"}', '2022-08-02 00:23:04', '2024-02-06 03:17:09'),
(NULL, '2top', 'cat', 'دسته قسمت اصلی', 1, 'top1cat', '{"$lang":"1"}', '2022-08-02 00:23:35', '2022-08-02 00:53:57'),
(NULL, '2top', 'text', 'عنوان قسمت بالا', 1, 'top2text', '{"$lang":"33%"}', '2022-08-02 00:23:04', '2024-02-06 03:14:33'),
(NULL, '2top', 'cat', 'دسته قسمت بالا', 1, 'top2cat', '{"$lang":"1"}', '2022-08-02 00:23:35', '2022-08-02 00:54:06'),
(NULL, '2top', 'text', 'عنوان قسمت پایین', 1, 'top3text', '{"$lang":"15%"}', '2022-08-02 00:23:04', '2024-02-06 03:14:33'),
(NULL, '2top', 'cat', 'دسته قسمت پایین', 1, 'top3cat', '{"$lang":"1"}', '2022-08-02 00:23:35', '2022-08-02 00:54:06'),
(NULL, '3top', 'text', 'عنوان قسمت دوم', 1, 'sectext', '{"$lang":"\\u0633\\u0627\\u06cc\\u0631 \\u0645\\u062d\\u0635\\u0648\\u0644\\u0627\\u062a"}', '2022-08-02 00:23:04', '2024-02-06 03:14:33'),
(NULL, '3top', 'cat', 'دسته قسمت دوم', 1, 'seccat', '{"$lang":"1"}', '2022-08-02 00:23:35', '2022-08-02 00:54:06'),
(NULL, '4sec', 'text', 'عنوان قسمت سوم فیلتر دار', 1, '3text', '{"$lang":"\\u0644\\u0648\\u0627\\u0632\\u0645 \\u062c\\u0627\\u0646\\u0628\\u06cc"}', '2022-08-02 00:33:47', '2024-02-06 03:14:33'),
(NULL, '4sec', 'cat', 'دسته قسمت سوم فیلتر دار', 1, '3cat', '{"$lang":"1"}', '2022-08-02 00:34:35', '2022-08-02 00:54:06'),
(NULL, '5sec', 'cat', 'دسته برند', 1, '4cat', '{"$lang":"1"}', '2022-08-02 00:34:35', '2022-08-02 00:54:06'),
(NULL, '6footer', 'category', 'دسته فوتر سمت راست', 1, 'footer1', '{"$lang":"1"}', '2022-08-02 00:38:10', '2022-08-02 00:54:06'),
(NULL, '6footer', 'category', 'فوتر وسط', 1, 'footer2', '{"$lang":"4"}', '2022-08-02 00:38:42', '2022-09-12 01:27:55'),
(NULL, '6footer', 'code', 'فوتر سمت راست', 1, 'footer3', '{"$lang":"<img src=\\"http:\\/\\/parsavps.com\\/enamad.png\\" width=\\"145px\\" \\/>"}', '2022-08-02 00:40:14', '2024-02-06 03:14:33'),
(NULL, '6footer', 'text', 'شبکه اجتماعی ایستاگرام', 1, 'soc_in', '{"$lang":null}', '2022-08-02 00:41:20', '2024-02-06 03:14:33'),
(NULL, '6footer', 'text', 'شبکه اجتماعی تلگرام', 1, 'soc_tg', '{"$lang":null}', '2022-08-02 00:41:20', '2024-02-06 03:14:33'),
(NULL, '6footer', 'text', 'شبکه اجتماعی توییتر', 1, 'soc_tw', '{"$lang":"https:\\/\\/twitter.com\\/a1gard"}', '2022-08-02 00:41:20', '2024-02-06 03:14:33'),
(NULL, '6footer', 'text', 'شبکه اجتماعی واستاپ (شماره با کد کشور)', 1, 'soc_wp', '{"$lang":"+989121234567"}', '2022-08-02 00:41:20', '2024-02-06 03:14:33'),
(NULL, '6footer', 'text', 'شبکه اجتماعی یوتویب', 1, 'soc_yt', '{"$lang":null}', '2022-08-02 00:41:20', '2024-02-06 03:14:33'),
(NULL, '6footer', 'text', 'عنوان فوتر', 1, 'footer_title', '{"$lang":"\\u0627\\u0637\\u0644\\u0627\\u0639\\u0627\\u062a \\u062a\\u0645\\u0627\\u0633"}', '2022-08-02 00:41:20', '2024-02-06 03:14:33'),
(NULL, '6footer', 'editor', 'نوشته فوتر', 1, 'footer_text', '{"$lang":"<p>\\u0627\\u0641\\u0631\\u0627\\u062f \\u06af\\u0631\\u0648\\u0647 \\u0633\\u0648\\u0645 \\u0627\\u0632 \\u0627\\u0647\\u0645\\u06cc\\u062a \\u0628\\u0647 \\u067e\\u0627\\u06cc\\u0627\\u0646 \\u0631\\u0633\\u0627\\u0646\\u062f\\u0646 \\u0622\\u06af\\u0627\\u0647 \\u0647\\u0633\\u062a\\u0646\\u062f. \\u0622\\u0646\\u0647\\u0627 \\u0628\\u0627 \\u062a\\u0641\\u06a9\\u0631 \\u0645\\u0646\\u0637\\u0642\\u06cc\\u060c \\u0637\\u0631\\u062d\\u06cc \\u0631\\u0648\\u0634\\u0646 \\u0627\\u0631\\u0627\\u0626\\u0647 \\u0645\\u06cc&zwnj;\\u06a9\\u0646\\u0646\\u062f. \\u0622\\u0646\\u0647\\u0627 \\u0646\\u0647 \\u062a\\u0646\\u0647\\u0627 \\u0628\\u0631\\u0627\\u06cc \\u067e\\u0627\\u06cc\\u0627\\u0646 \\u062f\\u0627\\u062f\\u0646 \\u0628\\u0647 \\u067e\\u0631\\u0648\\u0698\\u0647&zwnj;\\u06cc \\u062e\\u0648\\u062f \\u062f\\u0631 \\u0622\\u06cc\\u0646\\u062f\\u0647 \\u0628\\u0631\\u0646\\u0627\\u0645\\u0647 \\u0631\\u06cc\\u0632\\u06cc \\u0645\\u06cc&zwnj;\\u06a9\\u0646\\u0646\\u062f\\u060c \\u0628\\u0644\\u06a9\\u0647 \\u0628\\u0647 \\u062a\\u0645\\u0627\\u0645 \\u0646\\u062a\\u0627\\u06cc\\u062c \\u0648 \\u0639\\u0648\\u0627\\u0642\\u0628 \\u0627\\u062c\\u0631\\u0627\\u06cc \\u0622\\u0646 \\u0628\\u0631\\u0646\\u0627\\u0645\\u0647 \\u0647\\u0645 \\u0645\\u06cc&zwnj;\\u0627\\u0646\\u062f\\u06cc\\u0634\\u0646\\u062f. \\u0627\\u06cc\\u0646 \\u0627\\u0641\\u0631\\u0627\\u062f \\u06a9\\u0633\\u0627\\u0646\\u06cc \\u0647\\u0633\\u062a\\u0646\\u062f \\u06a9\\u0647 \\u0647\\u0646\\u0631 \\u0628\\u0647 \\u067e\\u0627\\u06cc\\u0627\\u0646 \\u0631\\u0633\\u0627\\u0646\\u062f\\u0646 \\u0631\\u0627 \\u0645\\u06cc&zwnj;\\u062f\\u0627\\u0646\\u0646\\u062f.<\\/p>"}', '2022-08-02 00:41:20', '2024-02-06 03:14:33'),
(NULL, '7seo', 'text', 'کد رنگ سایت', 1, 'color', '{"$lang":"#3593D2"}', '2022-08-02 00:48:38', '2024-02-06 03:14:33'),
(NULL, '7seo', 'text', 'سئو کلمات کلیدی', 1, 'keywords', '{"$lang":"\\u0641\\u0631\\u0648\\u0634\\u06af\\u0627\\u0647\\u060c \\u0641\\u0631\\u0648\\u0634 \\u0622\\u0646\\u0644\\u0627\\u06cc\\u0646"}', '2022-08-02 00:49:10', '2024-02-06 03:14:33'),
(NULL, '7seo', 'text', 'سئو جزئیات', 1, 'desc', '{"$lang":"\\u062a\\u0648\\u0636\\u06cc\\u062d\\u0627\\u062a \\u0641\\u0631\\u0648\\u0634\\u06af\\u0627\\u0647 \\u0634\\u0645\\u0627"}', '2022-08-02 00:50:08', '2024-02-06 03:14:33'),
(NULL, '7seo', 'text', 'متن کپی رایت', 1, 'copyright', '{"$lang":"\\u06a9\\u0644\\u06cc\\u0647 \\u062d\\u0642\\u0648\\u0642 \\u0628\\u0631\\u0627\\u06cc \\u0648\\u0628\\u0633\\u0627\\u06cc\\u062a \\u0641\\u0631\\u0648\\u0634\\u06af\\u0627\\u0647 \\u0645\\u062d\\u0641\\u0648\\u0638 \\u0627\\u0633\\u062a"}', '2022-08-02 01:10:18', '2024-02-06 03:14:33'),
(NULL, '1menu', 'text', 'تلفن', 1, 'tel', '{"$lang":"021"}', '2023-02-22 20:51:33', '2024-02-06 03:14:33'),
(NULL, '1menu', 'text', 'ایمیل', 1, 'email', '{"$lang":"info@local"}', '2023-02-22 20:51:53', '2024-02-06 03:14:33'),
(NULL, 'seo', 'text', 'نام سایت', 1, 'site_name', '{"$lang":"\\u0641\\u0631\\u0648\\u0634\\u06af\\u0627\\u0647 \\u0627\\u06cc\\u06a9\\u0633 \\u0634\\u0627\\u067e"}', '2022-09-14 05:16:58', '2024-02-06 03:14:33'),
(NULL, 'seo', 'text', 'توضیح کوتاه سایت(SEO)', 1, 'site_description', '{"$lang":"\\u0628\\u0647 \\u0631\\u0648\\u0632\\u062a\\u0631\\u06cc\\u0646 \\u06af\\u0648\\u0634\\u06cc \\u0647\\u0627 \\u0628\\u0627 \\u06a9\\u0645\\u062a\\u0631\\u06cc\\u0646 \\u0642\\u06cc\\u0645\\u062a"}', '2022-09-14 05:18:23', '2024-02-06 03:14:33'),
(NULL, 'seo', 'text', 'کلمات کلیدی سایت (SEO- با کاما از هم جدا کنید)', 1, 'site_keywords', '{"$lang":"\\u06af\\u0648\\u0634\\u06cc\\u060c\\u0627\\u0631\\u0632\\u0627\\u0646\\u060c\\u062e\\u0631\\u06cc\\u062f\\u060c\\u0627\\u06cc\\u06a9\\u0633 \\u0634\\u0627\\u067e"}', '2022-09-14 05:22:56', '2024-02-06 03:14:33'),
(NULL, 'seo', 'text', 'کد گوگل وب مستر', 1, 'site_webmaster_google', '{"$lang":null}', '2022-09-14 05:29:17', '2024-02-06 03:14:33'),
(NULL, 'seo', 'image', 'تصویر سایت(SEO)', 1, 'site_image', NULL, '2022-09-14 05:30:51', '2022-09-14 05:30:51');
(NULL, '1menu', 'image', 'Logo', 1, 'logo_png', NULL, '2022-08-02 00:14:57', '2022-08-02 00:14:57'),
(NULL, '2top', 'text', 'Main section title', 1, 'top1text', '{"$lang":"Best-selling products"}', '2022-08-02 00:23:04', '2024-02-06 03:17:09'),
(NULL, '2top', 'cat', 'Main section category', 1, 'top1cat', '{"$lang":"1"}', '2022-08-02 00:23:35', '2022-08-02 00:53:57'),
(NULL, '2top', 'text', 'Title of the above section', 1, 'top2text', '{"$lang":"33%"}', '2022-08-02 00:23:04', '2024-02-06 03:14:33'),
(NULL, '2top', 'cat', 'Category of the above section', 1, 'top2cat', '{"$lang":"1"}', '2022-08-02 00:23:35', '2022-08-02 00:54:06'),
(NULL, '2top', 'text', 'Title of the bottom section', 1, 'top3text', '{"$lang":"15%"}', '2022-08-02 00:23:04', '2024-02-06 03:14:33'),
(NULL, '2top', 'cat', 'Category of the bottom section', 1, 'top3cat', '{"$lang":"1"}', '2022-08-02 00:23:35', '2022-08-02 00:54:06'),
(NULL, '3top', 'text', 'Title of the second section', 1, 'sectext', '{"$lang":"Other products"}', '2022-08-02 00:23:04', '2024-02-06 03:14:33'),
(NULL, '3top', 'cat', 'Category of the second section', 1, 'seccat', '{"$lang":"1"}', '2022-08-02 00:23:35', '2022-08-02 00:54:06'),
(NULL, '4sec', 'text', 'Title of the third section with filters', 1, '3text', '{"$lang":"Accessories"}', '2022-08-02 00:33:47', '2024-02-06 03:14:33'),
(NULL, '4sec', 'cat', 'Category of the third section with filters', 1, '3cat', '{"$lang":"1"}', '2022-08-02 00:34:35', '2022-08-02 00:54:06'),
(NULL, '5sec', 'cat', 'Brand category', 1, '4cat', '{"$lang":"1"}', '2022-08-02 00:34:35', '2022-08-02 00:54:06'),
(NULL, '6footer', 'category', 'Right footer category', 1, 'footer1', '{"$lang":"1"}', '2022-08-02 00:38:10', '2022-08-02 00:54:06'),
(NULL, '6footer', 'category', 'Center footer', 1, 'footer2', '{"$lang":"4"}', '2022-08-02 00:38:42', '2022-09-12 01:27:55'),
(NULL, '6footer', 'code', 'Right footer', 1, 'footer3', '{"$lang":"<img src=\\"http:\\/\\/parsavps.com\\/enamad.png\\" width=\\"145px\\" \\/>"}', '2022-08-02 00:40:14', '2024-02-06 03:14:33'),
(NULL, '6footer', 'text', 'Instagram social network', 1, 'soc_in', '{"$lang":null}', '2022-08-02 00:41:20', '2024-02-06 03:14:33'),
(NULL, '6footer', 'text', 'Telegram social network', 1, 'soc_tg', '{"$lang":null}', '2022-08-02 00:41:20', '2024-02-06 03:14:33'),
(NULL, '6footer', 'text', 'Twitter social network', 1, 'soc_tw', '{"$lang":"https:\\/\\/twitter.com\\/a1gard"}', '2022-08-02 00:41:20', '2024-02-06 03:14:33'),
(NULL, '6footer', 'text', 'WhatsApp social network (country code number)', 1, 'soc_wp', '{"$lang":"+989121234567"}', '2022-08-02 00:41:20', '2024-02-06 03:14:33'),
(NULL, '6footer', 'text', 'YouTube social network', 1, 'soc_yt', '{"$lang":null}', '2022-08-02 00:41:20', '2024-02-06 03:14:33'),
(NULL, '6footer', 'text', 'Footer title', 1, 'footer_title', '{"$lang":"Contact information"}', '2022-08-02 00:41:20', '2024-02-06 03:14:33'),
(NULL, '6footer', 'editor', 'Footer text', 1, 'footer_text', '{"$lang":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}', '2022-08-02 00:41:20', '2024-02-06 03:14:33'),
(NULL, '7seo', 'text', 'Website color code', 1, 'color', '{"$lang":"#3593D2"}', '2022-08-02 00:48:38', '2024-02-06 03:14:33'),
(NULL, '7seo', 'text', 'SEO keywords', 1, 'keywords', '{"$lang":"Store, online selling"}', '2022-08-02 00:49:10', '2024-02-06 03:14:33'),
(NULL, '7seo', 'text', 'SEO details', 1, 'desc', '{"$lang":"Description of your store"}', '2022-08-02 00:50:08', '2024-02-06 03:14:33'),
(NULL, '7seo', 'text', 'Copyright text', 1, 'copyright', '{"$lang":"All rights reserved for the store website"}', '2022-08-02 01:10:18', '2024-02-06 03:14:33'),
(NULL, '1menu', 'text', 'Copyright text', 1, 'tel', '{"$lang":"021"}', '2023-02-22 20:51:33', '2024-02-06 03:14:33'),
(NULL, '1menu', 'text', 'Email', 1, 'email', '{"$lang":"info@local"}', '2023-02-22 20:51:53', '2024-02-06 03:14:33'),
(NULL, 'seo', 'text', 'Website name', 1, 'site_name', '{"$lang":"Xshop"}', '2022-09-14 05:16:58', '2024-02-06 03:14:33'),
(NULL, 'seo', 'text', 'Brief website description (SEO)', 1, 'site_description', '{"$lang":"Description of your store"}', '2022-09-14 05:18:23', '2024-02-06 03:14:33'),
(NULL, 'seo', 'text', 'Website keywords (SEO - use "," to break)', 1, 'site_keywords', '{"$lang":"shop, xshop, website"}'),
(NULL, 'seo', 'text', 'Google Webmaster code', 1, 'site_webmaster_google', '{"$lang":null}', '2022-09-14 05:29:17', '2024-02-06 03:14:33'),
(NULL, 'seo', 'image', 'Site image(SEO)', 1, 'site_image', NULL, '2022-09-14 05:30:51', '2022-09-14 05:30:51');
SQL);
}else{
//
\DB::insert(<<<SQL
REPLACE INTO `settings` (`id`, `section`, `type`, `title`, `active`, `key`, `value`, `created_at`, `updated_at`) VALUES
(NULL, '1menu', 'image', 'لوگو', 1, 'logo_png', NULL, '2022-08-02 04:44:57', '2022-08-02 04:44:57'),
(NULL, '2top', 'text', 'عنوان قسمت اصلی', 1, 'top1text', 'محصولات پر فروش', '2022-08-02 04:53:04', '2022-08-02 05:23:03'),
(NULL, '2top', 'cat', 'دسته قسمت اصلی', 1, 'top1cat', '1', '2022-08-02 04:53:35', '2022-08-02 05:23:57'),
(NULL, '2top', 'text', 'عنوان قسمت بالا', 1, 'top2text', '33%', '2022-08-02 04:53:04', '2022-08-02 05:24:06'),
(NULL, '2top', 'cat', 'دسته قسمت بالا', 1, 'top2cat', '1', '2022-08-02 04:53:35', '2022-08-02 05:24:06'),
(NULL, '2top', 'text', 'عنوان قسمت پایین', 1, 'top3text', '15%', '2022-08-02 04:53:04', '2022-08-02 05:24:06'),
(NULL, '2top', 'cat', 'دسته قسمت پایین', 1, 'top3cat', '1', '2022-08-02 04:53:35', '2022-08-02 05:24:06'),
(NULL, '3top', 'text', 'عنوان قسمت دوم', 1, 'sectext', 'سایر محصولات', '2022-08-02 04:53:04', '2022-08-02 05:24:06'),
(NULL, '3top', 'cat', 'دسته قسمت دوم', 1, 'seccat', '1', '2022-08-02 04:53:35', '2022-08-02 05:24:06'),
(NULL, '4sec', 'text', 'عنوان قسمت سوم فیلتر دار', 1, '3text', 'لوازم جانبی', '2022-08-02 05:03:47', '2022-08-02 05:24:06'),
(NULL, '4sec', 'cat', 'دسته قسمت سوم فیلتر دار', 1, '3cat', '1', '2022-08-02 05:04:35', '2022-08-02 05:24:06'),
(NULL, '5sec', 'cat', 'دسته برند', 1, '4cat', '1', '2022-08-02 05:04:35', '2022-08-02 05:24:06'),
(NULL, '6footer', 'category', 'دسته فوتر سمت راست', 1, 'footer1', '1', '2022-08-02 05:08:10', '2022-08-02 05:24:06'),
(NULL, '6footer', 'category', 'فوتر وسط', 1, 'footer2', '4', '2022-08-02 05:08:42', '2022-09-12 05:57:55'),
(NULL, '6footer', 'code', 'فوتر سمت راست', 1, 'footer3', '<img src="http://parsavps.com/enamad.png" width="145px" />', '2022-08-02 05:10:14', '2022-08-02 05:31:52'),
(NULL, '6footer', 'text', 'شبکه اجتماعی ایستاگرام', 1, 'soc_in', NULL, '2022-08-02 05:11:20', '2022-08-02 05:11:20'),
(NULL, '6footer', 'text', 'شبکه اجتماعی تلگرام', 1, 'soc_tg', NULL, '2022-08-02 05:11:20', '2022-08-02 05:11:20'),
(NULL, '6footer', 'text', 'شبکه اجتماعی توییتر', 1, 'soc_tw', 'https://twitter.com/a1gard', '2022-08-02 05:11:20', '2022-08-02 05:24:06'),
(NULL, '6footer', 'text', 'شبکه اجتماعی واستاپ (شماره با کد کشور)', 1, 'soc_wp', '+989121234567', '2022-08-02 05:11:20', '2022-08-02 05:27:02'),
(NULL, '6footer', 'text', 'شبکه اجتماعی یوتویب', 1, 'soc_yt', NULL, '2022-08-02 05:11:20', '2022-08-02 05:11:20'),
(NULL, '6footer', 'text', 'عنوان فوتر', 1, 'footer_title', 'اطلاعات تماس', '2022-08-02 05:11:20', '2022-08-02 05:11:20'),
(NULL, '6footer', 'editor', 'نوشته فوتر', 1, 'footer_text', 'افراد گروه سوم از اهمیت به پایان رساندن آگاه هستند. آنها با تفکر منطقی، طرحی روشن ارائه می‌کنند. آنها نه تنها برای پایان دادن به پروژه‌ی خود در آینده برنامه ریزی می‌کنند، بلکه به تمام نتایج و عواقب اجرای آن برنامه هم می‌اندیشند. این افراد کسانی هستند که هنر به پایان رساندن را می‌دانند. ', '2022-08-02 05:11:20', '2022-08-02 05:11:20'),
(NULL, '7seo', 'text', 'کد رنگ سایت', 1, 'color', '#3593D2', '2022-08-02 05:18:38', '2022-08-02 05:24:06'),
(NULL, '7seo', 'text', 'سئو کلمات کلیدی', 1, 'keywords', 'فروشگاه، فروش آنلاین', '2022-08-02 05:19:10', '2022-08-02 05:24:06'),
(NULL, '7seo', 'text', 'سئو جزئیات', 1, 'desc', 'توضیحات فروشگاه شما', '2022-08-02 05:20:08', '2022-08-02 05:24:06'),
(NULL, '7seo', 'text', 'متن کپی رایت', 1, 'copyright', 'کلیه حقوق برای وبسایت فروشگاه محفوظ است', '2022-08-02 05:40:18', '2022-08-02 05:40:37'),
(NULL, '1menu', 'text', 'تلفن', 1, 'tel', NULL, '2023-02-23 00:21:33', '2023-02-23 00:21:33'),
(NULL, '1menu', 'text', 'ایمیل', 1, 'email', NULL, '2023-02-23 00:21:53', '2023-02-23 00:21:53');
(NULL, '1menu', 'image', 'Logo', 1, 'logo_png', NULL, '2022-08-02 04:44:57', '2022-08-02 04:44:57'),
(NULL, '2top', 'text', 'Main section title', 1, 'top1text', 'Best-selling products', '2022-08-02 04:53:04', '2022-08-02 05:23:03'),
(NULL, '2top', 'cat', 'Main section category', 1, 'top1cat', '1', '2022-08-02 04:53:35', '2022-08-02 05:23:57'),
(NULL, '2top', 'text', 'Title of the above section', 1, 'top2text', '33%', '2022-08-02 04:53:04', '2022-08-02 05:24:06'),
(NULL, '2top', 'cat', 'Category of the top section', 1, 'top2cat', '1', '2022-08-02 04:53:35', '2022-08-02 05:24:06'),
(NULL, '2top', 'text', 'Title of the bottom section', 1, 'top3text', '15%', '2022-08-02 04:53:04', '2022-08-02 05:24:06'),
(NULL, '2top', 'cat', 'Category of the bottom section', 1, 'top3cat', '1', '2022-08-02 04:53:35', '2022-08-02 05:24:06'),
(NULL, '3top', 'text', 'Title of the second section', 1, 'sectext', 'Other products', '2022-08-02 04:53:04', '2022-08-02 05:24:06'),
(NULL, '3top', 'cat', 'Category of the second section', 1, 'seccat', '1', '2022-08-02 04:53:35', '2022-08-02 05:24:06'),
(NULL, '4sec', 'text', 'Title of the third section with filters', 1, '3text', 'Accessories', '2022-08-02 05:03:47', '2022-08-02 05:24:06'),
(NULL, '4sec', 'cat', 'Category of the third section with filters', 1, '3cat', '1', '2022-08-02 05:04:35', '2022-08-02 05:24:06'),
(NULL, '5sec', 'cat', 'Brand category', 1, '4cat', '1', '2022-08-02 05:04:35', '2022-08-02 05:24:06'),
(NULL, '6footer', 'category', 'Right footer category', 1, 'footer1', '1', '2022-08-02 05:08:10', '2022-08-02 05:24:06'),
(NULL, '6footer', 'category', 'Center footer', 1, 'footer2', '4', '2022-08-02 05:08:42', '2022-09-12 05:57:55'),
(NULL, '6footer', 'code', 'Right footer', 1, 'footer3', '<img src="http://parsavps.com/enamad.png" width="145px" />', '2022-08-02 05:10:14', '2022-08-02 05:31:52'),
(NULL, '6footer', 'text', 'Instagram social network', 1, 'soc_in', NULL, '2022-08-02 05:11:20', '2022-08-02 05:11:20'),
(NULL, '6footer', 'text', 'Telegram social network', 1, 'soc_tg', NULL, '2022-08-02 05:11:20', '2022-08-02 05:11:20'),
(NULL, '6footer', 'text', 'Twitter social network', 1, 'soc_tw', 'https://twitter.com/a1gard', '2022-08-02 05:11:20', '2022-08-02 05:24:06'),
(NULL, '6footer', 'text', 'WhatsApp social network (country code number)', 1, 'soc_wp', '+989121234567', '2022-08-02 05:11:20', '2022-08-02 05:27:02'),
(NULL, '6footer', 'text', 'YouTube social network', 1, 'soc_yt', NULL, '2022-08-02 05:11:20', '2022-08-02 05:11:20'),
(NULL, '6footer', 'text', 'Footer title', 1, 'footer_title', 'Contact information', '2022-08-02 05:11:20', '2022-08-02 05:11:20'),
(NULL, '6footer', 'editor', 'Footer text', 1, 'footer_text', 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ', '2022-08-02 05:11:20', '2022-08-02 05:11:20'),
(NULL, '7seo', 'text', 'Website color code', 1, 'color', '#3593D2', '2022-08-02 05:18:38', '2022-08-02 05:24:06'),
(NULL, '7seo', 'text', 'SEO keywords (Use "," to break)', 1, 'keywords', 'Store, online selling', '2022-08-02 05:19:10', '2022-08-02 05:24:06'),
(NULL, '7seo', 'text', 'SEO details', 1, 'desc', 'Description of your store', '2022-08-02 05:20:08', '2022-08-02 05:24:06'),
(NULL, '7seo', 'text', 'Copyright text', 1, 'copyright', 'All rights reserved for the store website', '2022-08-02 05:40:18', '2022-08-02 05:40:37'),
(NULL, '1menu', 'text', 'Phone', 1, 'tel', NULL, '2023-02-23 00:21:33', '2023-02-23 00:21:33'),
(NULL, '1menu', 'text', 'Email', 1, 'email', NULL, '2023-02-23 00:21:53', '2023-02-23 00:21:53');
SQL
);
\DB::insert(<<<SQL
insert into settings (`id`, `section`, `type`, title, `active`, `key`, `value`, `created_at`, `updated_at`)
values (null, 'seo', 'text', 'نام سایت', 1, 'site_name', 'فروشگاه ایکس شاپ', '2022-09-14 09:46:58', '2022-09-14 09:47:20'),
(null, 'seo', 'text', 'توضیح کوتاه سایت(SEO)', 1, 'site_description', 'به روزترین گوشی ها با کمترین قیمت', '2022-09-14 09:48:23', '2022-09-14 09:48:39'),
(null, 'seo', 'text', 'کلمات کلیدی سایت (SEO- با کاما از هم جدا کنید)', 1, 'site_keywords', 'گوشی،ارزان،خرید،ایکس شاپ', '2022-09-14 09:52:56', '2022-09-14 09:53:41'),
(null, 'seo', 'text', 'کد گوگل وب مستر', 1, 'site_webmaster_google', null, '2022-09-14 09:59:17', '2022-09-14 09:59:17'),
(null, 'seo', 'image', 'تصویر سایت(SEO)', 1, 'site_image', null, '2022-09-14 10:00:51', '2022-09-14 10:00:51');
values (null, 'seo', 'text', 'Site name', 1, 'site_name', 'Xshop', '2022-09-14 09:46:58', '2022-09-14 09:47:20'),
(null, 'seo', 'text', 'Short description of the site (SEO)', 1, 'site_description', 'The most up-to-date phones at the lowest prices', '2022-09-14 09:48:23', '2022-09-14 09:48:39'),
(null, 'seo', 'text', 'SEO keywords (Use "," to break)', 1, 'site_keywords', 'Phone, cheap, buy, Xshop', '2022-09-14 09:52:56', '2022-09-14 09:53:41'),
(null, 'seo', 'text', 'Google web master code', 1, 'site_webmaster_google', null, '2022-09-14 09:59:17', '2022-09-14 09:59:17'),
(null, 'seo', 'image', 'Site image (SEO)', 1, 'site_image', null, '2022-09-14 10:00:51', '2022-09-14 10:00:51');
SQL
);
}

@ -32,8 +32,11 @@
</div>
</div>
</form>
<table class="table table-striped table-bordered">
<table class="table table-striped table-bordered text-center mt-3">
<tr>
<th>
#
</th>
<th>
{{__("Title")}}
</th>
@ -49,6 +52,9 @@
</tr>
@foreach($attaches as $q)
<tr>
<td>
{{$q->id}}
</td>
<td>
{{$q->title}}
</td>

@ -9,11 +9,11 @@
@include('starter-kit::component.err')
<form action="{{route('admin.cat.bulk')}}" method="post" class="bulk-action" >
@csrf
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
<input type="checkbox" class="chkall"/>
#
</th>
<th>
{{__("Image")}}
@ -27,13 +27,15 @@
<th>
{{__("Action")}}
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
<tbody>
@foreach ($cats as $cat)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$cat->id}}" class="m-2 chkbox"/>
{{$cat->id}}
</td>
<td>
@ -60,6 +62,9 @@
</a>
@endif
</td>
<td>
<input type="checkbox" name="id[]" value="{{$cat->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>

@ -43,13 +43,13 @@
</div>
</div>
</form>
<form action="{{route('admin.customer.bulk')}}" method="post" class="bulk-action" >
<form action="{{route('admin.customer.bulk')}}" method="post" class="bulk-action mt-3" >
@csrf
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
<input type="checkbox" class="chkall"/>
#
</th>
<th>
{{__("Name")}}
@ -62,8 +62,9 @@
</th>
<th>
{{__("Action")}}
<a href="{{route('admin.customer.create')}}" class="btn btn-success float-start"><i
class="fa fa-plus"></i></a>
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
@ -71,7 +72,6 @@
@foreach ($customers as $customer)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$customer->id}}" class="m-2 chkbox"/>
{{$customer->id}}
</td>
<td>
@ -85,15 +85,16 @@
</td>
<td>
<a href="{{route('admin.customer.edit',$customer->id)}}" class="btn btn-primary">
<i class="fa fa-edit"></i> &nbsp;
{{__("Edit")}}
<i class="ri-edit-2-line"></i>
</a>
<a href="{{route('admin.customer.delete',$customer->id)}}"
class="btn btn-danger delete-confirm">
<i class="fa fa-times"></i> &nbsp;
{{__("Delete")}}
<i class="ri-close-line"></i>
</a>
</td>
<td>
<input type="checkbox" name="id[]" value="{{$customer->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>
@ -103,5 +104,8 @@
<div class="text-center pt-3">
{{$customers->appends(request()->input())->links()}}
</div>
<a class="btn-add" href="{{route('admin.customer.create')}}">
<i class="ri-add-line"></i>
</a>
</div>
@endsection

@ -9,11 +9,11 @@
@include('starter-kit::component.err')
<form action="{{route('admin.discount.bulk')}}" method="post" class="bulk-action">
@csrf
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
<input type="checkbox" class="chkall"/>
#
</th>
<th>
{{__("Type")}}
@ -29,8 +29,9 @@
</th>
<th>
{{__("Action")}}
<a href="{{route('admin.discount.create')}}" class="btn btn-success float-start"><i
class="fa fa-plus"></i></a>
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
@ -38,7 +39,6 @@
@foreach ($discounts as $n)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
{{$n->id}}
</td>
<td>
@ -70,15 +70,16 @@
</td>
<td>
<a href="{{route('admin.discount.edit',$n->id)}}" class="btn btn-primary">
<i class="fa fa-edit"></i> &nbsp;
{{__("Edit")}}
<i class="ri-edit-2-line"></i>
</a>
<a href="{{route('admin.discount.delete',$n->id)}}"
class="btn btn-danger delete-confirm">
<i class="fa fa-times"></i> &nbsp;
{{__("Delete")}}
<i class="ri-close-line"></i>
</a>
</td>
<td>
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>
@ -89,4 +90,7 @@
{{$discounts->links()}}
</div>
</div>
<a class="btn-add" href="{{route('admin.discount.create')}}">
<i class="ri-add-line"></i>
</a>
@endsection

@ -22,11 +22,11 @@
</div>
<form action="{{route('admin.invoice.bulk')}}" method="post" class="bulk-action">
@csrf
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
<input type="checkbox" class="chkall"/>
#
</th>
<th>
{{__("Customer")}}
@ -51,13 +51,16 @@
{{-- <a href="{{route('admin.invoice.create')}}" class="btn btn-success float-start"><i--}}
{{-- class="fa fa-plus"></i></a>--}}
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
<tbody>
@foreach ($invoices as $invoice)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$invoice->id}}" class="m-2 chkbox"/>
{{$invoice->id}}
</td>
<td>
{{$invoice->customer->name}}
@ -86,22 +89,24 @@
</td>
<td>
<a href="{{route('admin.invoice.edit',$invoice->hash)}}" class="btn btn-primary">
<i class="fa fa-edit"></i>
<i class="ri-edit-2-line"></i>
</a>
<a href="{{route('admin.invoice.delete',$invoice->hash)}}"
class="btn btn-danger delete-confirm">
<i class="fa fa-times"></i>
<i class="ri-close-line"></i>
</a>
<a href="{{route('admin.invoice.show',$invoice->hash)}}"
class="btn btn-secondary">
<i class="fa fa-eye"></i>
<i class="ri-eye-fill"></i>
</a>
<a href="{{route('invoice.pdf',$invoice->hash)}}"
class="btn btn-dark" target="_blank">
<i class="fa fa-file-pdf"></i>
<i class="ri-file-pdf-2-fill"></i>
</a>
</td>
<td>
<input type="checkbox" name="id[]" value="{{$invoice->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>
@ -119,4 +124,7 @@
{{$invoices->links()}}
</div>
</div>
<a class="btn-add" href="{{route('admin.invoice.create')}}">
<i class="ri-add-line"></i>
</a>
@endsection

@ -13,10 +13,9 @@
<thead class="thead-dark">
<tr>
<th>
<input type="checkbox" class="chkall"/>
#
</th>
<th>
{{__("Name")}}
</th>
<th>
@ -29,13 +28,15 @@
{{__("Action")}}
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
<tbody>
@foreach ($langs as $n)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
{{$n->id}}
</td>
<td>
@ -62,6 +63,9 @@
<i class="ri-close-line"></i>
</a>
</td>
<td>
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>

@ -34,11 +34,11 @@
</div>
<form action="{{route('admin.product.bulk')}}" method="post" class="bulk-action">
@csrf
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
<input type="checkbox" class="chkall"/>
#
</th>
<th>
{{__("Image")}}
@ -52,13 +52,15 @@
<th>
{{__("Action")}}
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
<tbody>
@foreach ($products as $n)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
{{$n->id}}
</td>
<td>
@ -96,7 +98,9 @@
{{__("Restore")}}
</a>
@endif
</td>
<td>
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach

@ -7,7 +7,7 @@
</h5>
<div class="table-responsive">
<table class="table">
<table class="table table-striped table-bordered text-center">
<thead>
<tr>
<th>#</th>
@ -45,7 +45,7 @@
<div class="btn-group"
role="group">
<a title="Edit"
class="btn btn-secondary ad-accept-btn"
class="btn btn-primary ad-accept-btn"
href="{{route('admin.props.edit',$p->id)}}">
<i class="ri-edit-2-line"></i>
</a>

@ -5,8 +5,11 @@
@endsection
@section('content')
@include('starter-kit::component.err')
<table class="table table-striped table-bordered">
<table class="table table-striped table-bordered text-center">
<tr>
<th>
#
</th>
<th>
{{__("Question / Answer")}}
</th>
@ -19,6 +22,9 @@
</tr>
@foreach($qs as $q)
<tr>
<td>
{{$q->id}}
</td>
<td>
{{$q->body}}
<hr>

@ -22,11 +22,11 @@
</div>
<form action="{{route('admin.ticket.bulk')}}" method="post" class="bulk-action">
@csrf
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
<input type="checkbox" class="chkall"/>
#
</th>
<th>
{{__("Title")}}
@ -42,13 +42,16 @@
{{-- <a href="{{route('admin.invoice.create')}}" class="btn btn-success float-start"><i--}}
{{-- class="fa fa-plus"></i></a>--}}
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
<tbody>
@foreach ($tickets as $ticket)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$ticket->id}}" class="m-2 chkbox"/>
{{$ticket->id}}
</td>
<td>
{{$ticket->title}}
@ -63,15 +66,16 @@
</td>
<td>
<a href="{{route('admin.ticket.edit',$ticket->id)}}" class="btn btn-primary">
<i class="fa fa-edit"></i> &nbsp;
{{__("Edit")}} / {{__("Answer")}}
<i class="ri-edit-2-line"></i>
</a>
<a href="{{route('admin.ticket.delete',$ticket->id)}}"
class="btn btn-danger delete-confirm">
<i class="fa fa-times"></i> &nbsp;
{{__("Delete")}}
<i class="ri-close-line"></i>
</a>
</td>
<td>
<input type="checkbox" name="id[]" value="{{$ticket->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>

@ -10,11 +10,11 @@
@include('starter-kit::component.err')
<form action="{{route('admin.transport.bulk')}}" method="post" class="bulk-action">
@csrf
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
<input type="checkbox" class="chkall"/>
#
</th>
<th>
{{__("Title")}}
@ -24,8 +24,9 @@
</th>
<th>
{{__("Action")}}
<a href="{{route('admin.transport.create')}}" class="btn btn-success float-start"><i
class="fa fa-plus"></i></a>
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
@ -33,7 +34,6 @@
@foreach ($transports as $n)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
{{$n->id}}
</td>
<td>
@ -44,15 +44,16 @@
</td>
<td>
<a href="{{route('admin.transport.edit',$n->id)}}" class="btn btn-primary">
<i class="fa fa-edit"></i> &nbsp;
{{__("Edit")}}
<i class="ri-edit-2-line"></i>
</a>
<a href="{{route('admin.transport.delete',$n->id)}}"
class="btn btn-danger delete-confirm">
<i class="fa fa-times"></i> &nbsp;
{{__("Delete")}}
<i class="ri-close-line"></i>
</a>
</td>
<td>
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>
@ -62,5 +63,8 @@
<div class="text-center pt-3">
{{$transports->links()}}
</div>
<a class="btn-add" href="{{route('admin.transport.create')}}">
<i class="ri-add-line"></i>
</a>
</div>
@endsection

@ -7,9 +7,12 @@
<div class="container">
@include('starter-kit::component.err')
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
#
</th>
<th>
{{__("User")}}
</th>
@ -27,6 +30,9 @@
<tbody>
@foreach ($logs as $log)
<tr>
<td>
{{$log->id}}
</td>
<td>
{{$log->user->name}}
</td>

@ -7,9 +7,6 @@
<div class="container">
<h1>
{{__("Advertise list")}}
<a href="{{route('admin.adv.create')}}" class="btn btn-success float-start">
{{__("New Advertise")}}
</a>
</h1>
@include('starter-kit::component.err')
<div class="alert alert-dark">
@ -29,11 +26,11 @@
<form action="{{route('admin.adv.bulk')}}" method="post" class="bulk-action">
@csrf
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
<input type="checkbox" class="chkall"/>
#
</th>
<th>
{{__("Title")}}
@ -52,8 +49,9 @@
</th>
<th>
{{__("Action")}}
<a href="{{route('admin.adv.create')}}" class="btn btn-success float-start"><i
class="fa fa-plus"></i></a>
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
@ -61,7 +59,6 @@
@foreach($advs as $pl)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$pl->id}}" class="m-2 chkbox"/>
{{$pl->id}}
</td>
<td>
@ -81,12 +78,15 @@
</td>
<td>
<a href="{{route('admin.adv.edit',$pl->id)}}" class="btn btn-secondary">
{{__("Edit")}}
<i class="ri-edit-2-line"></i>
</a>
<a href="{{route('admin.adv.delete',$pl->id)}}" class="btn btn-danger del-conf">
{{__("Delete")}}
<i class="ri-close-line"></i>
</a>
</td>
<td>
<input type="checkbox" name="id[]" value="{{$pl->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>
@ -96,4 +96,7 @@
<br>
{{$advs->links()}}
</div>
<a class="btn-add" href="{{route('admin.adv.create')}}">
<i class="ri-add-line"></i>
</a>
@endsection

@ -9,11 +9,11 @@
@include('starter-kit::component.err')
<form action="{{route('admin.category.bulk')}}" method="post" class="bulk-action">
@csrf
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
<input type="checkbox" class="chkall"/>
#
</th>
<th>
{{__("Name")}}
@ -24,13 +24,15 @@
<th>
{{__("Action")}}
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
<tbody>
@foreach ($cats as $cat)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$cat->id}}" class="m-2 chkbox"/>
{{$cat->id}}
</td>
<td>
@ -54,6 +56,9 @@
</a>
@endif
</td>
<td>
<input type="checkbox" name="id[]" value="{{$cat->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>

@ -7,9 +7,6 @@
<div class="container">
<h1>
{{__("Clip list")}}
<a href="{{route('admin.clip.create')}}" class="btn btn-success float-start">
{{__("New Clip")}}
</a>
</h1>
@include('starter-kit::component.err')
<div class="alert alert-dark">
@ -29,11 +26,11 @@
<form action="{{route('admin.clip.bulk')}}" method="post" class="bulk-action">
@csrf
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
<input type="checkbox" class="chkall"/>
#
</th>
<th>
{{__("Title")}}
@ -47,13 +44,15 @@
<th>
{{__("Action")}}
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
<tbody>
@foreach($clips as $pl)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$pl->id}}" class="m-2 chkbox"/>
{{$pl->id}}
</td>
<td>
@ -79,6 +78,9 @@
</a>
@endif
</td>
<td>
<input type="checkbox" name="id[]" value="{{$pl->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>

@ -26,11 +26,11 @@
</div>
<form action="{{route('admin.comment.bulk')}}" method="post" class="bulk-action">
@csrf
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
<input type="checkbox" class="chkall"/>
#
</th>
<th>
{{__("name / email")}}
@ -43,8 +43,9 @@
</th>
<th colspan="2">
{{__("Action")}}
<a href="{{route('admin.post.create')}}" class="btn btn-success float-start"><i
class="fa fa-plus"></i></a>
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
@ -52,7 +53,6 @@
@foreach ($comments as $c)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$c->id}}" class="m-2 chkbox"/>
{{$c->id}}
</td>
<td>
@ -99,6 +99,9 @@
<i class="fa fa-times"></i>
</a>
</td>
<td>
<input type="checkbox" name="id[]" value="{{$c->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>
@ -109,4 +112,7 @@
{{$comments->links()}}
</div>
</div>
<a class="btn-add" href="{{route('admin.post.create')}}">
<i class="ri-add-line"></i>
</a>
@endsection

@ -23,11 +23,11 @@
</div>
<form action="{{route('admin.gallery.bulk')}}" method="post" class="bulk-action">
@csrf
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
<input type="checkbox" class="chkall"/>
#
</th>
<th>
{{__("Image")}}
@ -41,13 +41,15 @@
<th>
{{__("Action")}}
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
<tbody>
@foreach ($galleries as $n)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
{{$n->id}}
</td>
<td>
@ -76,6 +78,9 @@
</a>
@endif
</td>
<td>
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>

@ -10,11 +10,11 @@
</h1>
@include('starter-kit::component.err')
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
-
#
</th>
<th>
{{__("Name")}}
@ -34,11 +34,11 @@
{{$menu->name}}
</td>
<td>
<a href="{{route('admin.menu.manage',$menu->id)}}" class="btn btn-secondary">
{{__("Manage")}}
<a href="{{route('admin.menu.manage',$menu->id)}}" class="btn btn-primary">
<i class="ri-edit-2-fill"></i>
</a>
<a href="{{route('admin.menu.delete',$menu->id)}}" class="btn btn-danger del-conf">
{{__("Delete")}}
<i class="ri-close-line"></i>
</a>
</td>
</tr>

@ -7,9 +7,6 @@
<div class="container">
<h1>
{{__("Poll list")}}
<a href="{{route('admin.poll.create')}}" class="btn btn-success float-start">
{{__("New Poll")}}
</a>
</h1>
@include('starter-kit::component.err')
<div class="alert alert-dark">
@ -29,11 +26,11 @@
<form action="{{route('admin.poll.bulk')}}" method="post" class="bulk-action">
@csrf
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
<input type="checkbox" class="chkall"/>
#
</th>
<th>
{{__("Title")}}
@ -46,8 +43,9 @@
</th>
<th>
{{__("Action")}}
<a href="{{route('admin.poll.create')}}" class="btn btn-success float-start"><i
class="fa fa-plus"></i></a>
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
@ -55,7 +53,6 @@
@foreach($polls as $pl)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$pl->id}}" class="m-2 chkbox"/>
{{$pl->id}}
</td>
<td>
@ -69,12 +66,15 @@
</td>
<td>
<a href="{{route('admin.poll.edit',$pl->slug)}}" class="btn btn-secondary">
{{__("Edit")}}
<i class="ri-edit-2-fill"></i>
</a>
<a href="{{route('admin.poll.delete',$pl->slug)}}" class="btn btn-danger del-conf">
{{__("Delete")}}
<i class="ri-close-line"></i>
</a>
</td>
<td>
<input type="checkbox" name="id[]" value="{{$pl->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>
@ -84,4 +84,7 @@
<br>
{{$polls->links()}}
</div>
<a class="btn-add" href="{{route('admin.poll.create')}}">
<i class="ri-add-line"></i>
</a>
@endsection

@ -23,11 +23,11 @@
</div>
<form action="{{route('admin.post.bulk')}}" method="post" class="bulk-action">
@csrf
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
<input type="checkbox" class="chkall"/>
#
</th>
<th>
{{__("Image")}}
@ -41,13 +41,15 @@
<th>
{{__("Action")}}
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
<tbody>
@foreach ($posts as $n)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
{{$n->id}}
</td>
<td>
@ -76,6 +78,9 @@
</a>
@endif
</td>
<td>
<input type="checkbox" name="id[]" value="{{$n->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>

@ -27,11 +27,11 @@
<form action="{{route('admin.slider.bulk')}}" method="post" class="bulk-action">
@csrf
<table class="table table-striped table-bordered ">
<table class="table table-striped table-bordered text-center">
<thead class="thead-dark">
<tr>
<th>
<input type="checkbox" class="chkall"/>
#
</th>
<th>
{{__("Image")}}
@ -42,13 +42,15 @@
<th>
{{__("Action")}}
</th>
<th>
<input type="checkbox" class="chkall"/>
</th>
</tr>
</thead>
<tbody>
@foreach($sliders as $pl)
<tr>
<td>
<input type="checkbox" name="id[]" value="{{$pl->id}}" class="m-2 chkbox"/>
{{$pl->id}}
</td>
<td>
@ -71,6 +73,9 @@
</a>
@endif
</td>
<td>
<input type="checkbox" name="id[]" value="{{$pl->id}}" class="m-2 chkbox"/>
</td>
</tr>
@endforeach
</tbody>

@ -7,15 +7,12 @@
<div class="container">
<h1>
{{__("User list")}}
<a href="{{route('admin.user.create')}}" class="btn btn-success float-start">
{{__("New user")}}
</a>
</h1>
@include('starter-kit::component.err')
<table class="table table-bordered table-striped">
<table class="table table-bordered table-striped text-center">
<tr>
<th>
{{__("id")}}
#
</th>
<th>
{{__("Username")}}
@ -45,14 +42,14 @@
{{$user->mobile}}
</td>
<td>
<a href="{{route('admin.user.edit',$user->id)}}" class="btn btn-secondary">
{{__("Edit")}}
<a href="{{route('admin.user.edit',$user->id)}}" class="btn btn-primary">
<i class="ri-edit-2-fill"></i>
</a>
<a href="{{route('admin.user.delete',$user->id)}}" class="btn btn-danger del-conf">
{{__("Delete")}}
<i class="ri-close-line"></i>
</a>
<a href="{{route('admin.logs.user',$user->id)}}" class="btn btn-dark">
{{__("Logs")}}
<i class="ri-news-line"></i>
</a>
</td>
</tr>
@ -60,4 +57,7 @@
</table>
{{$users->links()}}
</div>
<a class="btn-add" href="{{route('admin.user.create')}}">
<i class="ri-add-line"></i>
</a>
@endsection

@ -2,13 +2,13 @@
<ul>
<li>
<a href="{{ url('/') }}">
<i class="fa fa-atom"></i>
<i class="ri-command-fill"></i>&nbsp;
{{ config('app.name', 'Laravel') }}
</a>
</li>
<li id="catalog" class="main-nav">
<a>
<i class="fab fa-apple"></i>
<i class="ri-apple-fill"></i>
&nbsp;
{{__("Catalog")}}
</a>
@ -16,7 +16,7 @@
@if(auth()->user()->hasAnyAccess('product'))
<li id="product-li">
<a>
<i class="fa fa-gem"></i>
<i class="ri-vip-diamond-fill"></i>&nbsp;
{{__('Products')}}
</a>
<ul>
@ -36,7 +36,7 @@
@if(auth()->user()->hasAnyAccess('invoice'))
<li id="invoices-li">
<a>
<i class="fa fa-file-invoice"></i>
<i class="ri-file-list-3-fill"></i>&nbsp;
{{__('Invoices')}}
</a>
<ul>
@ -56,7 +56,7 @@
@if(auth()->user()->hasAnyAccess('customer'))
<li>
<a>
<i class="fa fa-users"></i>
<i class="ri-team-fill"></i>&nbsp;
{{__('Customers')}}
</a>
<ul>
@ -76,7 +76,7 @@
@if(auth()->user()->hasAnyAccess('discount'))
<li id="discount-li">
<a>
<i class="fa fa-percent"></i>
<i class="ri-percent-fill"></i>&nbsp;
{{__('Discounts')}}
</a>
<ul>
@ -96,7 +96,7 @@
@if(auth()->user()->hasAnyAccess('question'))
<li id="questions-li">
<a href="{{route('admin.question.index')}}">
<i class="fa fa-question"></i>
<i class="ri-question-mark"></i>&nbsp;
{{__('Questions')}}
</a>
</li>
@ -104,7 +104,7 @@
@if(auth()->user()->hasAnyAccess('ticket'))
<li id="tickets-li">
<a href="{{route('admin.ticket.index')}}">
<i class="fa fa-envelope"></i>
<i class="ri-mail-fill"></i>&nbsp;
{{__('Tickets')}}
</a>
</li>
@ -112,7 +112,7 @@
@if(auth()->user()->hasAnyAccess('cat'))
<li>
<a>
<i class="fa fa-cubes"></i>
<i class="ri-box-3-fill"></i>&nbsp;
{{__('Product categories')}}
</a>
<ul>
@ -138,7 +138,7 @@
<li>
<a>
<i class="fa fa-truck"></i>
<i class="ri-truck-fill"></i>&nbsp;
{{__('Transports')}}
</a>
<ul>
@ -158,7 +158,7 @@
@if(auth()->user()->hasAnyAccess('props'))
<li>
<a>
<i class="fa fa-project-diagram"></i>
<i class="ri-file-list-3-fill"></i>&nbsp;
{{__("Properties meta")}}
</a>
<ul>
@ -182,7 +182,7 @@
<li id="cms" class="main-nav">
<a>
<i class="fab fa-internet-explorer"></i>
<i class="ri-ie-fill"></i>&nbsp;
&nbsp;
{{__("Website contents")}}
</a>
@ -190,7 +190,7 @@
@if(auth()->user()->hasAnyAccess('post'))
<li id="posts-li">
<a>
<i class="fa fa-bullhorn"></i>
<i class="ri-megaphone-fill"></i>&nbsp;
{{__('Post')}}
</a>
<ul>
@ -210,7 +210,7 @@
@if(auth()->user()->hasAnyAccess('category'))
<li>
<a>
<i class="fa fa-book"></i>
<i class="ri-book-3-fill"></i>&nbsp;
{{__('Categories')}}
</a>
<ul>
@ -239,7 +239,7 @@
<li>
<a>
<i class="fa fa-images"></i>
<i class="ri-gallery-fill"></i>&nbsp;
{{__("Galleries")}}
</a>
<ul>
@ -262,7 +262,7 @@
@if(auth()->user()->hasAnyAccess('clip'))
<li>
<a>
<i class="fa fa-file-video"></i>
<i class="ri-video-fill"></i>&nbsp;
{{__("Video clips")}}
</a>
<ul>
@ -283,7 +283,7 @@
@if(auth()->user()->hasAnyAccess('adv'))
<li>
<a>
<i class="fa fa-atom"></i>
<i class="ri-threads-line"></i>&nbsp;
{{__("Advertise")}}
</a>
<ul>
@ -304,7 +304,7 @@
@if(auth()->user()->hasAnyAccess('menu'))
<li>
<a href="{{route('admin.menu.index')}}">
<i class="fa fa-list-alt"></i>
<i class="ri-list-check"></i>&nbsp;
{{__("Menus")}}
</a>
</li>
@ -312,7 +312,7 @@
@if(auth()->user()->hasAnyAccess('props'))
<li>
<a>
<i class="fa fa-file-image"></i>
<i class="ri-image-fill"></i>&nbsp;
{{__("Slider")}}
</a>
<ul>
@ -333,7 +333,7 @@
@if(auth()->user()->hasAnyAccess('poll'))
<li>
<a>
<i class="fa fa-vote-yea"></i>
<i class="ri-chat-poll-fill"></i>&nbsp;
{{__("Poll")}}
</a>
<ul>
@ -357,7 +357,7 @@
@if(auth()->user()->hasAnyAccess('comment'))
<li>
<a href="{{route('admin.comment.index')}}">
<i class="fa fa-comments"></i>
<i class="ri-chat-1-fill"></i>&nbsp;
{{__('Comments')}}
</a>
</li>
@ -365,7 +365,7 @@
@if(auth()->user()->hasAnyAccess('setting'))
<li>
<a href="{{route('admin.setting.index')}}">
<i class="fa fa-cogs"></i>
<i class="ri-tools-fill"></i>&nbsp;
{{__("Setting")}}
</a>
</li>
@ -373,7 +373,7 @@
@if(auth()->user()->hasAnyAccess('attachment'))
<li>
<a href="{{route('admin.attachment.index')}}">
<i class="fa fa-paperclip"></i>
<i class="ri-attachment-2"></i>&nbsp;
{{__("Attachments")}}
</a>
</li>
@ -381,7 +381,7 @@
@if(auth()->user()->hasAnyAccess('contact'))
<li>
<a href="{{route('admin.contact.index')}}">
<i class="fa fa-envelope"></i>
<i class="ri-mail-unread-fill"></i>&nbsp;
{{__("Contact us")}}
</a>
</li>
@ -389,7 +389,7 @@
@if(auth()->user()->hasAnyAccess('logs'))
<li>
<a href="{{route('admin.logs.index')}}">
<i class="fa fa-list-alt"></i>
<i class="ri-list-check-3"></i>&nbsp;
{{__('Logs')}}
</a>
</li>
@ -397,7 +397,7 @@
@if(auth()->user()->hasRole('super-admin'))
<li>
<a>
<i class="fa fa-users"></i>
<i class="ri-folder-user-fill"></i>&nbsp;
{{__("Users")}}
</a>
<ul>
@ -419,7 +419,7 @@
@if(config('app.xlang'))
<li>
<a>
<i class="fa fa-language"></i>
<i class="ri-global-fill"></i>&nbsp;
{{__("Languages")}}
</a>
<ul>
@ -461,7 +461,7 @@
<a class="dropdown-item" href="{{ route('logout') }}"
onclick="event.preventDefault();
document.getElementById('logout-form').submit();">
<i class="fa fas fa-sign-out-alt"></i>
<i class="ri-logout-circle-r-fill"></i>&nbsp;
{{ __('Logout') }}
</a>

Loading…
Cancel
Save