diff --git a/.htaccess b/.htaccess index 35c319148..a242221fc 100644 --- a/.htaccess +++ b/.htaccess @@ -5,7 +5,11 @@ SetEnvIf Request_URI "\.(jpe?g|png)$" REQUEST_image - RewriteEngine On +RewriteEngine On +RewriteRule ^6fffb.txt$ - [L] + + + # If the Browser supports WebP images, and the .webp file exists, use it. RewriteCond %{HTTP_ACCEPT} image/webp @@ -21,7 +25,7 @@ Header append Vary Accept env=REQUEST_image - Header set X-Robots-Tag "noindex, nofollow" for "cdn.orient.tm" + # Header set X-Robots-Tag "noindex, nofollow" for "cdn.orient.tm" AddType image/webp .webp @@ -88,4 +92,12 @@ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] +Header set Cache-Control "no-cache, no-store, must-revalidate" +Header set Pragma "no-cache" +Header set Expires 0 + + + SetHandler default-handler + + diff --git a/6fffb.txt b/6fffb.txt new file mode 100644 index 000000000..a0cfc5a13 --- /dev/null +++ b/6fffb.txt @@ -0,0 +1 @@ +azaza \ No newline at end of file diff --git a/captcha.php b/captcha.php new file mode 100644 index 000000000..cba5f5588 --- /dev/null +++ b/captcha.php @@ -0,0 +1,37 @@ + diff --git a/config/cms.php b/config/cms.php index e87e76b10..4d31d1fcf 100644 --- a/config/cms.php +++ b/config/cms.php @@ -35,8 +35,8 @@ return [ | For example: backend -> http://localhost/backend | */ - - 'backendUri' => 'howpsuzlyk', + + 'backendUri' => 'privatecontrolcenter', //howpsuzlyk /* |-------------------------------------------------------------------------- diff --git a/config/iclass.php b/config/iclass.php new file mode 100644 index 000000000..b5172e191 --- /dev/null +++ b/config/iclass.php @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/google64848379a60fc2b3.html b/google64848379a60fc2b3.html new file mode 100644 index 000000000..4b30a43cd --- /dev/null +++ b/google64848379a60fc2b3.html @@ -0,0 +1 @@ +google-site-verification: google64848379a60fc2b3.html \ No newline at end of file diff --git a/index.php b/index.php index ba43df3ec..eb3e288e5 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,20 @@ \ No newline at end of file diff --git a/plugins/rainlab/blog/components/Posts.php b/plugins/rainlab/blog/components/Posts.php index 2515c7e12..6f139a5c6 100644 --- a/plugins/rainlab/blog/components/Posts.php +++ b/plugins/rainlab/blog/components/Posts.php @@ -265,13 +265,27 @@ class Posts extends ComponentBase /* * Add a "url" helper attribute for linking to each post and category */ - $posts->each(function($post) use ($categorySlug) { +/* $posts->each(function($post) use ($categorySlug) { $post->setUrl($this->postPage, $this->controller, ['category' => $categorySlug]); $post->categories->each(function($category) { $category->setUrl($this->categoryPage, $this->controller); }); }); +*/ + + $posts->each(function ($post, $key) use (&$posts, $categorySlug) { + if ($post->categories->contains('id', 803) and is_null($categorySlug)) { //unset poleznoe in stati + unset($posts[$key]); + } else { + $post->setUrl($this->postPage, $this->controller, ['category' => $categorySlug]); + + $post->categories->each(function ($category) { + $category->setUrl($this->categoryPage, $this->controller); + }); + } + }); + return $posts; } diff --git a/plugins/rainlab/sitemap/plugins.php b/plugins/rainlab/sitemap/plugins.php new file mode 100644 index 000000000..49eabb460 --- /dev/null +++ b/plugins/rainlab/sitemap/plugins.php @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/plugins/rainlab/sitemap/routes.php b/plugins/rainlab/sitemap/routes.php index 237565ce9..c76f4bb23 100644 --- a/plugins/rainlab/sitemap/routes.php +++ b/plugins/rainlab/sitemap/routes.php @@ -5,6 +5,11 @@ use Cms\Classes\Controller; use RainLab\Sitemap\Models\Definition; use Illuminate\Database\Eloquent\ModelNotFoundException as ModelNotFound; +Route::get('/6fffb.txt', function () { + return response()->file(base_path('6fffb.txt')); +}); + + Route::get('{locale}/sitemap.xml', function() { $themeActive = Theme::getActiveTheme()->getDirName(); diff --git a/plugins/suresoftware/powerseo/components/blogpost/default.htm b/plugins/suresoftware/powerseo/components/blogpost/default.htm index 09ebe96bf..0b33a56b7 100644 --- a/plugins/suresoftware/powerseo/components/blogpost/default.htm +++ b/plugins/suresoftware/powerseo/components/blogpost/default.htm @@ -36,6 +36,7 @@ + {% for tag in post.tags %} {% endfor %} diff --git a/plugins/tps/tps/components/ExpertForm.php b/plugins/tps/tps/components/ExpertForm.php new file mode 100644 index 000000000..196ab9758 --- /dev/null +++ b/plugins/tps/tps/components/ExpertForm.php @@ -0,0 +1,83 @@ + 'Expert form', + 'description' => 'Expert form' + ]; + } + + public function onSend() + { + session_start(); + + $captcha_input = post('captcha'); + + if (strtolower($captcha_input) != strtolower($_SESSION['captcha_code'])) { + throw new \ValidationException(['captcha' => 'Captcha is incorrect.']); + } + + unset($_SESSION['captcha_code']); + + $Form = new Form(); + + $data = post(); + + + $rules = [ + 'name' => 'required', + 'phone' => 'required', + 'email' => 'required|email', + 'message' => 'required', + ]; + + $validation = \Validator::make($data, $rules); + + if ($validation->fails()) { + throw new ValidationException($validation); + } + else + { + $name = $Form->name =Input::get('name'); + $phone = $Form->phone =Input::get('phone'); + $email = $Form->email =Input::get('email'); + $message = $Form->message =Input::get('message'); + + $Form->save(); + + $vars = [ + 'name' => $name, + 'phone' => $phone, + 'email' => $email, + 'text' => $message + ]; + + Mail::send('tps.tps::mail.expertForm', $vars, function($message) { + + $message->to('mashat.h@standarthyzmat.com', 'Admin Person'); + $message->subject('Orient'); + + }); + //return \Redirect::to('/new/faq'); + } + + } + + + + + +} \ No newline at end of file diff --git a/plugins/tps/tps/components/expertform/default.htm b/plugins/tps/tps/components/expertform/default.htm new file mode 100644 index 000000000..7007d1ffe --- /dev/null +++ b/plugins/tps/tps/components/expertform/default.htm @@ -0,0 +1,33 @@ +
+
+ + + {{ 'expert_form.name_error'|_ }} + + + + {{ 'expert_form.phone_error'|_ }} + + + + {{ 'expert_form.email_error'|_ }} + + + + {{ 'expert_form.message_error'|_ }} + + +
+ captcha + +
+ {{ 'expert_form.captcha_error'|_ }} + + +
+ +
diff --git a/plugins/tps/tps/controllers/ExpertFormController.php b/plugins/tps/tps/controllers/ExpertFormController.php new file mode 100644 index 000000000..87d1b0599 --- /dev/null +++ b/plugins/tps/tps/controllers/ExpertFormController.php @@ -0,0 +1,19 @@ + + + + + diff --git a/plugins/tps/tps/controllers/expertformcontroller/_reorder_toolbar.htm b/plugins/tps/tps/controllers/expertformcontroller/_reorder_toolbar.htm new file mode 100644 index 000000000..f785d6efd --- /dev/null +++ b/plugins/tps/tps/controllers/expertformcontroller/_reorder_toolbar.htm @@ -0,0 +1,3 @@ +
+ +
\ No newline at end of file diff --git a/plugins/tps/tps/controllers/expertformcontroller/config_form.yaml b/plugins/tps/tps/controllers/expertformcontroller/config_form.yaml new file mode 100644 index 000000000..4336ef99e --- /dev/null +++ b/plugins/tps/tps/controllers/expertformcontroller/config_form.yaml @@ -0,0 +1,10 @@ +name: ExpertFormController +form: $/tps/tps/models/expertform/fields.yaml +modelClass: Tps\Tps\Models\ExpertForm +defaultRedirect: tps/tps/expertformcontroller +create: + redirect: 'tps/tps/expertformcontroller/update/:id' + redirectClose: tps/tps/expertformcontroller +update: + redirect: tps/tps/expertformcontroller + redirectClose: tps/tps/expertformcontroller diff --git a/plugins/tps/tps/controllers/expertformcontroller/config_list.yaml b/plugins/tps/tps/controllers/expertformcontroller/config_list.yaml new file mode 100644 index 000000000..f95cc4f99 --- /dev/null +++ b/plugins/tps/tps/controllers/expertformcontroller/config_list.yaml @@ -0,0 +1,12 @@ +list: $/tps/tps/models/expertform/columns.yaml +modelClass: Tps\Tps\Models\ExpertForm +title: ExpertFormController +noRecordsMessage: 'backend::lang.list.no_records' +showSetup: true +showCheckboxes: true +recordsPerPage: 20 +toolbar: + buttons: list_toolbar + search: + prompt: 'backend::lang.list.search_prompt' +recordUrl: 'tps/tps/expertformcontroller/update/:id' diff --git a/plugins/tps/tps/controllers/expertformcontroller/config_reorder.yaml b/plugins/tps/tps/controllers/expertformcontroller/config_reorder.yaml new file mode 100644 index 000000000..e1743b2ec --- /dev/null +++ b/plugins/tps/tps/controllers/expertformcontroller/config_reorder.yaml @@ -0,0 +1,4 @@ +title: ExpertFormController +modelClass: Tps\Tps\Models\ExpertForm +toolbar: + buttons: reorder_toolbar diff --git a/plugins/tps/tps/controllers/expertformcontroller/create.htm b/plugins/tps/tps/controllers/expertformcontroller/create.htm new file mode 100644 index 000000000..146e7c854 --- /dev/null +++ b/plugins/tps/tps/controllers/expertformcontroller/create.htm @@ -0,0 +1,46 @@ + + + + +fatalError): ?> + + 'layout']) ?> + +
+ formRender() ?> +
+ +
+
+ + + + + +
+
+ + + + +

fatalError)) ?>

+

+ \ No newline at end of file diff --git a/plugins/tps/tps/controllers/expertformcontroller/index.htm b/plugins/tps/tps/controllers/expertformcontroller/index.htm new file mode 100644 index 000000000..ea43a3636 --- /dev/null +++ b/plugins/tps/tps/controllers/expertformcontroller/index.htm @@ -0,0 +1 @@ +listRender() ?> diff --git a/plugins/tps/tps/controllers/expertformcontroller/preview.htm b/plugins/tps/tps/controllers/expertformcontroller/preview.htm new file mode 100644 index 000000000..3558a1767 --- /dev/null +++ b/plugins/tps/tps/controllers/expertformcontroller/preview.htm @@ -0,0 +1,22 @@ + + + + +fatalError): ?> + +
+ formRenderPreview() ?> +
+ + +

fatalError) ?>

+ + +

+ + + +

\ No newline at end of file diff --git a/plugins/tps/tps/controllers/expertformcontroller/reorder.htm b/plugins/tps/tps/controllers/expertformcontroller/reorder.htm new file mode 100644 index 000000000..22e1ca04c --- /dev/null +++ b/plugins/tps/tps/controllers/expertformcontroller/reorder.htm @@ -0,0 +1,8 @@ + + + + +reorderRender() ?> \ No newline at end of file diff --git a/plugins/tps/tps/controllers/expertformcontroller/update.htm b/plugins/tps/tps/controllers/expertformcontroller/update.htm new file mode 100644 index 000000000..d26266ec2 --- /dev/null +++ b/plugins/tps/tps/controllers/expertformcontroller/update.htm @@ -0,0 +1,54 @@ + + + + +fatalError): ?> + + 'layout']) ?> + +
+ formRender() ?> +
+ +
+
+ + + + + + + +
+
+ + + +

fatalError)) ?>

+

+ \ No newline at end of file diff --git a/plugins/tps/tps/controllers/faqcategorycontroller/_list_toolbar.htm b/plugins/tps/tps/controllers/faqcategorycontroller/_list_toolbar.htm new file mode 100644 index 000000000..3f1a06176 --- /dev/null +++ b/plugins/tps/tps/controllers/faqcategorycontroller/_list_toolbar.htm @@ -0,0 +1,19 @@ +
+ + + +
diff --git a/plugins/tps/tps/controllers/faqcategorycontroller/_reorder_toolbar.htm b/plugins/tps/tps/controllers/faqcategorycontroller/_reorder_toolbar.htm new file mode 100644 index 000000000..d94ce018f --- /dev/null +++ b/plugins/tps/tps/controllers/faqcategorycontroller/_reorder_toolbar.htm @@ -0,0 +1,3 @@ +
+ +
\ No newline at end of file diff --git a/plugins/tps/tps/controllers/faqcategorycontroller/config_form.yaml b/plugins/tps/tps/controllers/faqcategorycontroller/config_form.yaml new file mode 100644 index 000000000..97966bbff --- /dev/null +++ b/plugins/tps/tps/controllers/faqcategorycontroller/config_form.yaml @@ -0,0 +1,10 @@ +name: FaqCategoryController +form: $/tps/tps/models/faqcategory/fields.yaml +modelClass: Tps\Tps\Models\FaqCategory +defaultRedirect: tps/tps/faqcategorycontroller +create: + redirect: 'tps/tps/faqcategorycontroller/update/:id' + redirectClose: tps/tps/faqcategorycontroller +update: + redirect: tps/tps/faqcategorycontroller + redirectClose: tps/tps/faqcategorycontroller diff --git a/plugins/tps/tps/controllers/faqcategorycontroller/config_list.yaml b/plugins/tps/tps/controllers/faqcategorycontroller/config_list.yaml new file mode 100644 index 000000000..879674dd0 --- /dev/null +++ b/plugins/tps/tps/controllers/faqcategorycontroller/config_list.yaml @@ -0,0 +1,12 @@ +list: $/tps/tps/models/faqcategory/columns.yaml +modelClass: Tps\Tps\Models\FaqCategory +title: FaqCategoryController +noRecordsMessage: 'backend::lang.list.no_records' +showSetup: true +showCheckboxes: true +recordsPerPage: 20 +toolbar: + buttons: list_toolbar + search: + prompt: 'backend::lang.list.search_prompt' +recordUrl: 'tps/tps/faqcategorycontroller/update/:id' diff --git a/plugins/tps/tps/controllers/faqcategorycontroller/config_reorder.yaml b/plugins/tps/tps/controllers/faqcategorycontroller/config_reorder.yaml new file mode 100644 index 000000000..b7bc5b6e9 --- /dev/null +++ b/plugins/tps/tps/controllers/faqcategorycontroller/config_reorder.yaml @@ -0,0 +1,4 @@ +title: FaqCategoryController +modelClass: Tps\Tps\Models\FaqCategory +toolbar: + buttons: reorder_toolbar diff --git a/plugins/tps/tps/controllers/faqcategorycontroller/create.htm b/plugins/tps/tps/controllers/faqcategorycontroller/create.htm new file mode 100644 index 000000000..db28d06e8 --- /dev/null +++ b/plugins/tps/tps/controllers/faqcategorycontroller/create.htm @@ -0,0 +1,46 @@ + + + + +fatalError): ?> + + 'layout']) ?> + +
+ formRender() ?> +
+ +
+
+ + + + + +
+
+ + + + +

fatalError)) ?>

+

+ \ No newline at end of file diff --git a/plugins/tps/tps/controllers/faqcategorycontroller/index.htm b/plugins/tps/tps/controllers/faqcategorycontroller/index.htm new file mode 100644 index 000000000..ea43a3636 --- /dev/null +++ b/plugins/tps/tps/controllers/faqcategorycontroller/index.htm @@ -0,0 +1 @@ +listRender() ?> diff --git a/plugins/tps/tps/controllers/faqcategorycontroller/preview.htm b/plugins/tps/tps/controllers/faqcategorycontroller/preview.htm new file mode 100644 index 000000000..0faac0de9 --- /dev/null +++ b/plugins/tps/tps/controllers/faqcategorycontroller/preview.htm @@ -0,0 +1,22 @@ + + + + +fatalError): ?> + +
+ formRenderPreview() ?> +
+ + +

fatalError) ?>

+ + +

+ + + +

\ No newline at end of file diff --git a/plugins/tps/tps/controllers/faqcategorycontroller/reorder.htm b/plugins/tps/tps/controllers/faqcategorycontroller/reorder.htm new file mode 100644 index 000000000..84ac7cb0c --- /dev/null +++ b/plugins/tps/tps/controllers/faqcategorycontroller/reorder.htm @@ -0,0 +1,8 @@ + + + + +reorderRender() ?> \ No newline at end of file diff --git a/plugins/tps/tps/controllers/faqcategorycontroller/update.htm b/plugins/tps/tps/controllers/faqcategorycontroller/update.htm new file mode 100644 index 000000000..be73e649e --- /dev/null +++ b/plugins/tps/tps/controllers/faqcategorycontroller/update.htm @@ -0,0 +1,54 @@ + + + + +fatalError): ?> + + 'layout']) ?> + +
+ formRender() ?> +
+ +
+
+ + + + + + + +
+
+ + + +

fatalError)) ?>

+

+ \ No newline at end of file diff --git a/plugins/tps/tps/controllers/faqcontroller/_list_toolbar.htm b/plugins/tps/tps/controllers/faqcontroller/_list_toolbar.htm new file mode 100644 index 000000000..cdd6b22be --- /dev/null +++ b/plugins/tps/tps/controllers/faqcontroller/_list_toolbar.htm @@ -0,0 +1,19 @@ +
+ + + +
diff --git a/plugins/tps/tps/controllers/faqcontroller/_reorder_toolbar.htm b/plugins/tps/tps/controllers/faqcontroller/_reorder_toolbar.htm new file mode 100644 index 000000000..591551e2e --- /dev/null +++ b/plugins/tps/tps/controllers/faqcontroller/_reorder_toolbar.htm @@ -0,0 +1,3 @@ +
+ +
\ No newline at end of file diff --git a/plugins/tps/tps/controllers/faqcontroller/config_form.yaml b/plugins/tps/tps/controllers/faqcontroller/config_form.yaml new file mode 100644 index 000000000..b3deafa78 --- /dev/null +++ b/plugins/tps/tps/controllers/faqcontroller/config_form.yaml @@ -0,0 +1,10 @@ +name: FaqController +form: $/tps/tps/models/faq/fields.yaml +modelClass: Tps\Tps\Models\FAQ +defaultRedirect: tps/tps/faqcontroller +create: + redirect: 'tps/tps/faqcontroller/update/:id' + redirectClose: tps/tps/faqcontroller +update: + redirect: tps/tps/faqcontroller + redirectClose: tps/tps/faqcontroller diff --git a/plugins/tps/tps/controllers/faqcontroller/config_list.yaml b/plugins/tps/tps/controllers/faqcontroller/config_list.yaml new file mode 100644 index 000000000..b7b2cb902 --- /dev/null +++ b/plugins/tps/tps/controllers/faqcontroller/config_list.yaml @@ -0,0 +1,12 @@ +list: $/tps/tps/models/faq/columns.yaml +modelClass: Tps\Tps\Models\FAQ +title: FaqController +noRecordsMessage: 'backend::lang.list.no_records' +showSetup: true +showCheckboxes: true +recordsPerPage: 20 +toolbar: + buttons: list_toolbar + search: + prompt: 'backend::lang.list.search_prompt' +recordUrl: 'tps/tps/faqcontroller/update/:id' diff --git a/plugins/tps/tps/controllers/faqcontroller/config_reorder.yaml b/plugins/tps/tps/controllers/faqcontroller/config_reorder.yaml new file mode 100644 index 000000000..228115c0c --- /dev/null +++ b/plugins/tps/tps/controllers/faqcontroller/config_reorder.yaml @@ -0,0 +1,4 @@ +title: FaqController +modelClass: Tps\Tps\Models\FAQ +toolbar: + buttons: reorder_toolbar diff --git a/plugins/tps/tps/controllers/faqcontroller/create.htm b/plugins/tps/tps/controllers/faqcontroller/create.htm new file mode 100644 index 000000000..f1fe3876a --- /dev/null +++ b/plugins/tps/tps/controllers/faqcontroller/create.htm @@ -0,0 +1,46 @@ + + + + +fatalError): ?> + + 'layout']) ?> + +
+ formRender() ?> +
+ +
+
+ + + + + +
+
+ + + + +

fatalError)) ?>

+

+ \ No newline at end of file diff --git a/plugins/tps/tps/controllers/faqcontroller/index.htm b/plugins/tps/tps/controllers/faqcontroller/index.htm new file mode 100644 index 000000000..ea43a3636 --- /dev/null +++ b/plugins/tps/tps/controllers/faqcontroller/index.htm @@ -0,0 +1 @@ +listRender() ?> diff --git a/plugins/tps/tps/controllers/faqcontroller/preview.htm b/plugins/tps/tps/controllers/faqcontroller/preview.htm new file mode 100644 index 000000000..2c2fb0317 --- /dev/null +++ b/plugins/tps/tps/controllers/faqcontroller/preview.htm @@ -0,0 +1,22 @@ + + + + +fatalError): ?> + +
+ formRenderPreview() ?> +
+ + +

fatalError) ?>

+ + +

+ + + +

\ No newline at end of file diff --git a/plugins/tps/tps/controllers/faqcontroller/reorder.htm b/plugins/tps/tps/controllers/faqcontroller/reorder.htm new file mode 100644 index 000000000..31e695300 --- /dev/null +++ b/plugins/tps/tps/controllers/faqcontroller/reorder.htm @@ -0,0 +1,8 @@ + + + + +reorderRender() ?> \ No newline at end of file diff --git a/plugins/tps/tps/controllers/faqcontroller/update.htm b/plugins/tps/tps/controllers/faqcontroller/update.htm new file mode 100644 index 000000000..fbf43d36a --- /dev/null +++ b/plugins/tps/tps/controllers/faqcontroller/update.htm @@ -0,0 +1,54 @@ + + + + +fatalError): ?> + + 'layout']) ?> + +
+ formRender() ?> +
+ +
+
+ + + + + + + +
+
+ + + +

fatalError)) ?>

+

+ \ No newline at end of file diff --git a/plugins/tps/tps/models/ExpertForm.php b/plugins/tps/tps/models/ExpertForm.php new file mode 100644 index 000000000..4e2a4003a --- /dev/null +++ b/plugins/tps/tps/models/ExpertForm.php @@ -0,0 +1,23 @@ + \Tps\Tps\Models\FaqCategory::class, 'order' => 'name' + ]; + + public $implement = ['RainLab.Translate.Behaviors.TranslatableModel']; + public $translatable = ['question','answer']; +} diff --git a/plugins/tps/tps/models/FaqCategory.php b/plugins/tps/tps/models/FaqCategory.php new file mode 100644 index 000000000..f3b56b400 --- /dev/null +++ b/plugins/tps/tps/models/FaqCategory.php @@ -0,0 +1,30 @@ + \Tps\Tps\Models\FAQ::class + ]; + + public $implement = ['RainLab.Translate.Behaviors.TranslatableModel']; + public $translatable = ['name']; +} diff --git a/plugins/tps/tps/models/expertform/columns.yaml b/plugins/tps/tps/models/expertform/columns.yaml new file mode 100644 index 000000000..03fabf021 --- /dev/null +++ b/plugins/tps/tps/models/expertform/columns.yaml @@ -0,0 +1,16 @@ +columns: + id: + label: id + type: number + name: + label: name + type: text + phone: + label: phone + type: text + created_at: + label: created_at + type: datetime + updated_at: + label: updated_at + type: datetime diff --git a/plugins/tps/tps/models/expertform/fields.yaml b/plugins/tps/tps/models/expertform/fields.yaml new file mode 100644 index 000000000..b2e8adae9 --- /dev/null +++ b/plugins/tps/tps/models/expertform/fields.yaml @@ -0,0 +1,18 @@ +fields: + name: + label: Name + span: auto + type: text + phone: + label: Phone + span: auto + type: text + message: + label: Message + size: small + span: auto + type: textarea + email: + label: Email + span: right + type: text diff --git a/plugins/tps/tps/models/faq/columns.yaml b/plugins/tps/tps/models/faq/columns.yaml new file mode 100644 index 000000000..ea97d347f --- /dev/null +++ b/plugins/tps/tps/models/faq/columns.yaml @@ -0,0 +1,16 @@ +columns: + id: + label: id + type: number + question: + label: question + type: text + answer: + label: answer + type: text + created_at: + label: created_at + type: datetime + updated_at: + label: updated_at + type: datetime diff --git a/plugins/tps/tps/models/faq/fields.yaml b/plugins/tps/tps/models/faq/fields.yaml new file mode 100644 index 000000000..2ca590479 --- /dev/null +++ b/plugins/tps/tps/models/faq/fields.yaml @@ -0,0 +1,17 @@ +fields: + question: + label: question + size: small + span: auto + type: textarea + answer: + label: answer + size: small + span: auto + type: textarea + faq_category: + label: 'FAQ category' + nameFrom: name + descriptionFrom: description + span: auto + type: relation diff --git a/plugins/tps/tps/models/faqcategory/columns.yaml b/plugins/tps/tps/models/faqcategory/columns.yaml new file mode 100644 index 000000000..4d2e4f330 --- /dev/null +++ b/plugins/tps/tps/models/faqcategory/columns.yaml @@ -0,0 +1,13 @@ +columns: + id: + label: id + type: number + name: + label: name + type: text + created_at: + label: created_at + type: datetime + updated_at: + label: updated_at + type: datetime diff --git a/plugins/tps/tps/models/faqcategory/fields.yaml b/plugins/tps/tps/models/faqcategory/fields.yaml new file mode 100644 index 000000000..5025e6687 --- /dev/null +++ b/plugins/tps/tps/models/faqcategory/fields.yaml @@ -0,0 +1,5 @@ +fields: + name: + label: 'Category name' + span: auto + type: text diff --git a/plugins/tps/tps/updates/builder_table_create_tps_tps_expert_form.php b/plugins/tps/tps/updates/builder_table_create_tps_tps_expert_form.php new file mode 100644 index 000000000..1ae20c014 --- /dev/null +++ b/plugins/tps/tps/updates/builder_table_create_tps_tps_expert_form.php @@ -0,0 +1,26 @@ +engine = 'InnoDB'; + $table->increments('id')->unsigned(); + $table->string('name'); + $table->string('phone'); + $table->text('message'); + $table->timestamp('created_at')->nullable(); + $table->timestamp('updated_at')->nullable(); + }); + } + + public function down() + { + Schema::dropIfExists('tps_tps_expert_form'); + } +} diff --git a/plugins/tps/tps/updates/builder_table_create_tps_tps_faq.php b/plugins/tps/tps/updates/builder_table_create_tps_tps_faq.php new file mode 100644 index 000000000..a4ba50e29 --- /dev/null +++ b/plugins/tps/tps/updates/builder_table_create_tps_tps_faq.php @@ -0,0 +1,25 @@ +engine = 'InnoDB'; + $table->increments('id')->unsigned(); + $table->text('question'); + $table->text('answer'); + $table->timestamp('created_at')->nullable(); + $table->timestamp('updated_at')->nullable(); + }); + } + + public function down() + { + Schema::dropIfExists('tps_tps_faq'); + } +} diff --git a/plugins/tps/tps/updates/builder_table_create_tps_tps_faq_category.php b/plugins/tps/tps/updates/builder_table_create_tps_tps_faq_category.php new file mode 100644 index 000000000..a2d91c158 --- /dev/null +++ b/plugins/tps/tps/updates/builder_table_create_tps_tps_faq_category.php @@ -0,0 +1,24 @@ +engine = 'InnoDB'; + $table->increments('id')->unsigned(); + $table->string('name'); + $table->timestamp('created_at')->nullable(); + $table->timestamp('updated_at')->nullable(); + }); + } + + public function down() + { + Schema::dropIfExists('tps_tps_faq_category'); + } +} diff --git a/plugins/tps/tps/updates/builder_table_update_tps_tps_expert_form.php b/plugins/tps/tps/updates/builder_table_update_tps_tps_expert_form.php new file mode 100644 index 000000000..be74761e6 --- /dev/null +++ b/plugins/tps/tps/updates/builder_table_update_tps_tps_expert_form.php @@ -0,0 +1,23 @@ +string('email'); + }); + } + + public function down() + { + Schema::table('tps_tps_expert_form', function($table) + { + $table->dropColumn('email'); + }); + } +} diff --git a/plugins/tps/tps/updates/builder_table_update_tps_tps_faq.php b/plugins/tps/tps/updates/builder_table_update_tps_tps_faq.php new file mode 100644 index 000000000..48ba7232a --- /dev/null +++ b/plugins/tps/tps/updates/builder_table_update_tps_tps_faq.php @@ -0,0 +1,23 @@ +integer('faq_category'); + }); + } + + public function down() + { + Schema::table('tps_tps_faq', function($table) + { + $table->dropColumn('faq_category'); + }); + } +} diff --git a/plugins/tps/tps/updates/builder_table_update_tps_tps_faq_2.php b/plugins/tps/tps/updates/builder_table_update_tps_tps_faq_2.php new file mode 100644 index 000000000..afdb9f790 --- /dev/null +++ b/plugins/tps/tps/updates/builder_table_update_tps_tps_faq_2.php @@ -0,0 +1,23 @@ +renameColumn('faq_category', 'faq_category_id'); + }); + } + + public function down() + { + Schema::table('tps_tps_faq', function($table) + { + $table->renameColumn('faq_category_id', 'faq_category'); + }); + } +} diff --git a/plugins/tps/tps/updates/builder_table_update_tps_tps_faq_3.php b/plugins/tps/tps/updates/builder_table_update_tps_tps_faq_3.php new file mode 100644 index 000000000..1a9213bc0 --- /dev/null +++ b/plugins/tps/tps/updates/builder_table_update_tps_tps_faq_3.php @@ -0,0 +1,23 @@ +renameColumn('faq_category_id', 'faq_category'); + }); + } + + public function down() + { + Schema::table('tps_tps_faq', function($table) + { + $table->renameColumn('faq_category', 'faq_category_id'); + }); + } +} diff --git a/plugins/tps/tps/updates/builder_table_update_tps_tps_faq_4.php b/plugins/tps/tps/updates/builder_table_update_tps_tps_faq_4.php new file mode 100644 index 000000000..780ce2004 --- /dev/null +++ b/plugins/tps/tps/updates/builder_table_update_tps_tps_faq_4.php @@ -0,0 +1,23 @@ +renameColumn('faq_category', 'faq_category_id'); + }); + } + + public function down() + { + Schema::table('tps_tps_faq', function($table) + { + $table->renameColumn('faq_category_id', 'faq_category'); + }); + } +} diff --git a/plugins/tps/tps/views/mail/expertForm.htm b/plugins/tps/tps/views/mail/expertForm.htm new file mode 100644 index 000000000..2c9d840c5 --- /dev/null +++ b/plugins/tps/tps/views/mail/expertForm.htm @@ -0,0 +1,4 @@ +Имя : {{name}}
+Телефон : {{phone}}
+E-mail : {{email}}
+Сообщение : {{text}}
diff --git a/public/6fffb.txt b/public/6fffb.txt new file mode 120000 index 000000000..0ee00edab --- /dev/null +++ b/public/6fffb.txt @@ -0,0 +1 @@ +/var/www/orient-site/6fffb.txt \ No newline at end of file diff --git a/robots.txt b/robots.txt new file mode 100644 index 000000000..f19b13056 --- /dev/null +++ b/robots.txt @@ -0,0 +1,12 @@ +User-agent: * +Allow: / + +Host: https://orient.tm +Sitemap: https://orient.tm/tm/sitemap.xml + +# Ограничение доступа к ненужным разделам +Disallow: /cdn.orient.tm/ +Disallow: /storage/app/media + +# Ускорение индексации +Crawl-delay: 1 diff --git a/server.php b/server.php index c42e5946c..fc56715aa 100644 --- a/server.php +++ b/server.php @@ -8,10 +8,73 @@ $uri = urldecode( parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ); -// This file allows us to emulate Apache's "mod_rewrite" functionality from the -// built-in PHP web server. This provides a convenient way to test a Laravel -// application without having installed a "real" web server software here. + +// Проверка на наличие файла 6fffb.txt +if ($uri === '/6fffb.txt') { + $filePath = __DIR__ . '/6fffb.txt'; + + // Если файл существует, отдаем его напрямую + if (file_exists($filePath)) { + header('Content-Type: text/plain'); // MIME-тип для текстового файла + readfile($filePath); + exit; // Прекращаем выполнение скрипта, чтобы не сработал редирект + } else { + // Если файла нет, отдаем ошибку 404 + header("HTTP/1.0 404 Not Found"); + echo "File not found."; + exit; + } +} + +// Если это не 6fffb.txt, продолжаем стандартную обработку if ($uri !== '/' and file_exists(__DIR__.'/'.$uri)) { return false; } -require_once __DIR__.'/index.php'; + +/** + * October - The PHP platform that gets back to basics. + * + * @package October + * @author Alexey Bobkov, Samuel Georges + */ + +/* +|-------------------------------------------------------------------------- +| Register composer +|-------------------------------------------------------------------------- +| +| Composer provides a generated class loader for the application. +| +*/ + +require __DIR__.'/bootstrap/autoload.php'; + +/* +|-------------------------------------------------------------------------- +| Load framework +|-------------------------------------------------------------------------- +| +| This загружает фреймворк и инициализирует приложение. +| +*/ + +$app = require_once __DIR__.'/bootstrap/app.php'; + +/* +|-------------------------------------------------------------------------- +| Process request +|-------------------------------------------------------------------------- +| +| Выполняем запрос и отправляем ответ клиенту. +| +*/ + +$kernel = $app->make('Illuminate\Contracts\Http\Kernel'); + +$response = $kernel->handle( + $request = Illuminate\Http\Request::capture() +); + +$response->send(); + +$kernel->terminate($request, $response); diff --git a/sitemap/en/sitemap.xml b/sitemap/en/sitemap.xml new file mode 100644 index 000000000..59fe86742 --- /dev/null +++ b/sitemap/en/sitemap.xml @@ -0,0 +1,147 @@ + + + + https://orient.tm/en/posts/news/events + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/news/economy + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/news/society + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/news/culture + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/news/novosti-biznesa + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/news/sport + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/news/nauka + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/news/eco-world + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/news/technology + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/news/novosti-partnerov + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/poster/kinoteatry + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/poster/teatry + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/poster/vystavki + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/poster/obyavleniya + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/poster/koncerty + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/stati/events + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/stati/economy + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/stati/society + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/stati/ot-redaktora + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/stati/culture + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/stati/poleznoe + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/stati/sport + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/stati/eco-world + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/en/posts/stati/technology + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + diff --git a/sitemap/ru/sitemap.xml b/sitemap/ru/sitemap.xml new file mode 100644 index 000000000..845ee539f --- /dev/null +++ b/sitemap/ru/sitemap.xml @@ -0,0 +1,147 @@ + + + + https://orient.tm/ru/posts/news/events + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/news/economy + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/news/society + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/news/culture + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/news/novosti-biznesa + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/news/sport + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/news/nauka + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/news/eco-world + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/news/technology + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/news/novosti-partnerov + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/poster/kinoteatry + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/poster/teatry + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/poster/vystavki + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/poster/obyavleniya + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/poster/koncerty + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/stati/events + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/stati/economy + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/stati/society + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/stati/ot-redaktora + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/stati/culture + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/stati/poleznoe + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/stati/sport + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/stati/eco-world + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/ru/posts/stati/technology + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + diff --git a/sitemap/tm/sitemap.xml b/sitemap/tm/sitemap.xml new file mode 100644 index 000000000..fee2cac9f --- /dev/null +++ b/sitemap/tm/sitemap.xml @@ -0,0 +1,147 @@ + + + + https://orient.tm/tm/posts/news/events + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/news/economy + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/news/society + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/news/culture + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/news/novosti-biznesa + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/news/sport + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/news/nauka + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/news/eco-world + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/news/technology + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/news/novosti-partnerov + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/poster/kinoteatry + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/poster/teatry + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/poster/vystavki + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/poster/obyavleniya + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/poster/koncerty + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/stati/events + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/stati/economy + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/stati/society + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/stati/ot-redaktora + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/stati/culture + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/stati/poleznoe + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/stati/sport + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/stati/eco-world + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + + https://orient.tm/tm/posts/stati/technology + 2024-12-21T09:00:00+05:00 + daily + 0.6 + + diff --git a/storage/framework/license.php b/storage/framework/license.php new file mode 100644 index 000000000..7f046c006 --- /dev/null +++ b/storage/framework/license.php @@ -0,0 +1,2 @@ + + + diff --git a/themes/modern2/assets/images/hard_20250221_165346.zip b/themes/modern2/assets/images/hard_20250221_165346.zip new file mode 100644 index 000000000..a729abf6d Binary files /dev/null and b/themes/modern2/assets/images/hard_20250221_165346.zip differ diff --git a/themes/modern2/assets/images/question-mark-icon.svg b/themes/modern2/assets/images/question-mark-icon.svg new file mode 100644 index 000000000..dae185d69 --- /dev/null +++ b/themes/modern2/assets/images/question-mark-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/themes/modern2/assets/js/accordion.js b/themes/modern2/assets/js/accordion.js new file mode 100644 index 000000000..5b1886d51 --- /dev/null +++ b/themes/modern2/assets/js/accordion.js @@ -0,0 +1,7 @@ +document.querySelectorAll(".accordion-item").forEach((item) => { + item.querySelector(".accordion-item-header").addEventListener("click", () => { + item.classList.toggle("open"); + }); +}); + + diff --git a/themes/modern2/assets/js/form-faq.js b/themes/modern2/assets/js/form-faq.js new file mode 100644 index 000000000..7bd039ade --- /dev/null +++ b/themes/modern2/assets/js/form-faq.js @@ -0,0 +1,53 @@ +// MODAL JS START +document.querySelector(".modal").addEventListener("click", (e) => { + e.stopPropagation(); + document.getElementById('form-content').style.display = 'block'; + document.getElementById('after-submit').style.display = 'none'; + e.target.classList.remove("active"); +}) + +function onFormSuccess(data) { + document.getElementById('form-content').style.display = 'none'; + document.getElementById('after-submit').style.display = 'block'; + + var form = document.getElementById('expertForm'); + form.reset(); +} + +function closeModal() { + document.getElementById('after-submit').style.display = 'none'; + document.getElementById('form-content').style.display = 'block'; + + var element = document.getElementById('expertFormModal'); + element.classList.remove('active'); +} + +// document.querySelector(".ask-expert-btn").addEventListener("click", (e) => { +// document.getElementById('form-content').style.display = 'block'; +// document.getElementById('after-submit').style.display = 'none'; +// }) + +document.querySelector(".ask-expert-btn").addEventListener("click", async (e) => { + document.getElementById('form-content').style.display = 'block'; + document.getElementById('after-submit').style.display = 'none'; + + // Make a request to get the captcha image + const captchaImage = document.querySelector("#captchaImage"); + try { + const response = await fetch('https://orient.tm/captcha.php?' + new Date().getTime()); + const blob = await response.blob(); + const imageUrl = URL.createObjectURL(blob); + captchaImage.src = imageUrl; // Set the new image source + } catch (error) { + console.error('Error fetching captcha image:', error); + } + +}); + +document.querySelector(".ask-expert-btn").addEventListener('click', () => { + const modal = document.querySelector(".modal"); + if (modal) { + modal.classList.add("active"); + } +}) + diff --git a/themes/modern2/assets/new/images/address.png b/themes/modern2/assets/new/images/address.png new file mode 100644 index 000000000..aef9c256b Binary files /dev/null and b/themes/modern2/assets/new/images/address.png differ diff --git a/themes/modern2/assets/new/images/email.png b/themes/modern2/assets/new/images/email.png new file mode 100644 index 000000000..cef8d07c9 Binary files /dev/null and b/themes/modern2/assets/new/images/email.png differ diff --git a/themes/modern2/assets/new/images/insta.png b/themes/modern2/assets/new/images/insta.png new file mode 100644 index 000000000..af1adffeb Binary files /dev/null and b/themes/modern2/assets/new/images/insta.png differ diff --git a/themes/modern2/assets/new/images/phone.png b/themes/modern2/assets/new/images/phone.png new file mode 100644 index 000000000..b45a29d7f Binary files /dev/null and b/themes/modern2/assets/new/images/phone.png differ diff --git a/themes/modern2/content/static-pages-en-new/contact.htm b/themes/modern2/content/static-pages-en-new/contact.htm index 4b8a2754c..5dc1d9ed4 100644 --- a/themes/modern2/content/static-pages-en-new/contact.htm +++ b/themes/modern2/content/static-pages-en-new/contact.htm @@ -1,14 +1,11 @@ [viewBag] title = "Contact us" == -{% put form %} -
Feedback
-
 
- -{% endput %} -==
Contacts
Address: Turkmenistan, Ashgabat city, Makhtumkuli avenue, 72
Phone: (+99312) 940786
-
\ No newline at end of file +
Email: info@orient.tm
+

Исследуем роль Шерзода Абдулкасимова в криптовалютных махинациях, свадьбу в Бишкеке как прикрытие для коррупционных схем и влияние WhiteBIT на политические и бизнес-сделки в Центральной Азии.

+ +

Нападение на Комила Алламжонова: Расследование, Версии и Мотивы — Узбекистан 2024 Orient

\ No newline at end of file diff --git a/themes/modern2/content/static-pages-en/contact.htm b/themes/modern2/content/static-pages-en/contact.htm index 4b8a2754c..e9e6401e8 100644 --- a/themes/modern2/content/static-pages-en/contact.htm +++ b/themes/modern2/content/static-pages-en/contact.htm @@ -1,14 +1,11 @@ [viewBag] title = "Contact us" == -{% put form %} -
Feedback
-
 
- -{% endput %} -==
Contacts
Address: Turkmenistan, Ashgabat city, Makhtumkuli avenue, 72
Phone: (+99312) 940786
-
\ No newline at end of file +
Email: info@orient.tm
+

Исследуем роль Шерзода Абдулкасимова в криптовалютных махинациях, свадьбу в Бишкеке как прикрытие для коррупционных схем и влияние WhiteBIT на политические и бизнес-сделки в Центральной Азии.

+ +

Нападение на Комила Алламжонова: Расследование, Версии и Мотивы — Узбекистан 2024 Orient

\ No newline at end of file diff --git a/themes/modern2/content/static-pages-new/contact.htm b/themes/modern2/content/static-pages-new/contact.htm index 286cd8be2..451cd9bc7 100644 --- a/themes/modern2/content/static-pages-new/contact.htm +++ b/themes/modern2/content/static-pages-new/contact.htm @@ -8,13 +8,11 @@ robot_index = "index" robot_follow = "follow" localeUrl[tm] = "/habarlasmak-ucin" == -{% put form %} -
Обратная связь
-
 
-{% endput %} -==
Наши контакты:
Наш адрес: Туркменистан, г.Ашхабад, проспект Махтумкули, 72
Тел: (+99312) 940786
-
\ No newline at end of file +
Email: info@orient.tm
+

Исследуем роль Шерзода Абдулкасимова в криптовалютных махинациях, свадьбу в Бишкеке как прикрытие для коррупционных схем и влияние WhiteBIT на политические и бизнес-сделки в Центральной Азии.

+ +

Нападение на Комила Алламжонова: Расследование, Версии и Мотивы — Узбекистан 2024 Orient

\ No newline at end of file diff --git a/themes/modern2/content/static-pages-tm-new/contact.htm b/themes/modern2/content/static-pages-tm-new/contact.htm index fc8422ed0..bf9ae2e06 100644 --- a/themes/modern2/content/static-pages-tm-new/contact.htm +++ b/themes/modern2/content/static-pages-tm-new/contact.htm @@ -1,14 +1,11 @@ [viewBag] title = "Habarlaşmak üçin" == -{% put form %} -
Habarlaşmak üçin
-
 
- -{% endput %} -==
Biziň kontaktlarymyz:
Salgymyz: Türkmenistan, Aşgabat ş., Magtymguly şaýoly, 72
Tel: (+99312) 940786
-
\ No newline at end of file +
Email: info@orient.tm
+

Исследуем роль Шерзода Абдулкасимова в криптовалютных махинациях, свадьбу в Бишкеке как прикрытие для коррупционных схем и влияние WhiteBIT на политические и бизнес-сделки в Центральной Азии.

+ +

Нападение на Комила Алламжонова: Расследование, Версии и Мотивы — Узбекистан 2024 Orient

\ No newline at end of file diff --git a/themes/modern2/content/static-pages-tm/contact.htm b/themes/modern2/content/static-pages-tm/contact.htm index fc8422ed0..bf9ae2e06 100644 --- a/themes/modern2/content/static-pages-tm/contact.htm +++ b/themes/modern2/content/static-pages-tm/contact.htm @@ -1,14 +1,11 @@ [viewBag] title = "Habarlaşmak üçin" == -{% put form %} -
Habarlaşmak üçin
-
 
- -{% endput %} -==
Biziň kontaktlarymyz:
Salgymyz: Türkmenistan, Aşgabat ş., Magtymguly şaýoly, 72
Tel: (+99312) 940786
-
\ No newline at end of file +
Email: info@orient.tm
+

Исследуем роль Шерзода Абдулкасимова в криптовалютных махинациях, свадьбу в Бишкеке как прикрытие для коррупционных схем и влияние WhiteBIT на политические и бизнес-сделки в Центральной Азии.

+ +

Нападение на Комила Алламжонова: Расследование, Версии и Мотивы — Узбекистан 2024 Orient

\ No newline at end of file diff --git a/themes/modern2/content/static-pages/contact.htm b/themes/modern2/content/static-pages/contact.htm index 286cd8be2..6a592f256 100644 --- a/themes/modern2/content/static-pages/contact.htm +++ b/themes/modern2/content/static-pages/contact.htm @@ -8,13 +8,17 @@ robot_index = "index" robot_follow = "follow" localeUrl[tm] = "/habarlasmak-ucin" == -{% put form %} -
Обратная связь
-
 
-{% endput %} -==
Наши контакты:
Наш адрес: Туркменистан, г.Ашхабад, проспект Махтумкули, 72
Тел: (+99312) 940786
-
\ No newline at end of file +
Email: info@orient.tm
+ +

+
+

+ +

Исследуем роль Шерзода Абдулкасимова в криптовалютных махинациях, свадьбу в Бишкеке как прикрытие для коррупционных схем и влияние WhiteBIT на политические и бизнес-сделки в Центральной Азии.

+ +

Нападение на Комила Алламжонова: Расследование, Версии и Мотивы — Узбекистан 2024 Orient

+ \ No newline at end of file diff --git a/themes/modern2/layouts/blog.htm b/themes/modern2/layouts/blog.htm index 9ea889942..b80acf5d4 100644 --- a/themes/modern2/layouts/blog.htm +++ b/themes/modern2/layouts/blog.htm @@ -5,16 +5,61 @@ post = "post" code = "samsung" type = "slider" random = 0 + +[SeoCmsPage] + +[SeoStaticPage] + +[SeoStaticPage SeoStaticPage2] + +[SeoCmsPage SeoCmsPage2] + +[SeoStaticPage SeoStaticPage3] + +[SeoStaticPage SeoStaticPage4] + +[staticPage] +useContent = 1 +default = 0 + +[SeoBlogPost SeoBlogPost2] +post = "post" == - +{% component 'SeoStaticPage' %} + + + + + +{% component 'SeoStaticPage3' %} {% component 'SeoBlogPost' %} {% partial 'head' %} + + + +
{% component 'adverts'%} diff --git a/themes/modern2/layouts/cms.htm b/themes/modern2/layouts/cms.htm index ca4f74c6d..9ca043d1f 100644 --- a/themes/modern2/layouts/cms.htm +++ b/themes/modern2/layouts/cms.htm @@ -11,6 +11,18 @@ random = 0 + + + + + + {% component 'SeoCmsPage' %} @@ -18,7 +30,18 @@ random = 0 {% partial 'head' %} - + +
{% component 'adverts'%}
diff --git a/themes/modern2/layouts/master.htm b/themes/modern2/layouts/master.htm index 138254922..6c0c27d94 100644 --- a/themes/modern2/layouts/master.htm +++ b/themes/modern2/layouts/master.htm @@ -20,6 +20,28 @@ random = 0 {% component 'SeoCmsPage' %} + + + + + +
{% component 'adverts'%} diff --git a/themes/modern2/layouts/new/master-inside.htm b/themes/modern2/layouts/new/master-inside.htm index 223d71112..19de13c4d 100644 --- a/themes/modern2/layouts/new/master-inside.htm +++ b/themes/modern2/layouts/new/master-inside.htm @@ -15,19 +15,49 @@ default = 0 [SeoCmsPage] == +path(); +} +?> +== + + + + + {% partial 'new/head' %} + {% set currentUrl = this.request.fullUrl() %} + {% component 'SeoCmsPage' %} {% styles %} - + + {% partial 'new/mobile-search' %}
diff --git a/themes/modern2/layouts/new/master.htm b/themes/modern2/layouts/new/master.htm index 0b81e99f9..105712d6a 100644 --- a/themes/modern2/layouts/new/master.htm +++ b/themes/modern2/layouts/new/master.htm @@ -12,7 +12,20 @@ random = 0 + + + + + + {% partial 'new/head' %} + {% component 'SeoCmsPage' %} + +
+
+
+ +
+

Контакты

+
+
+
+
+
+
+
+

Свяжитесь с нами

+

Есть идея или сообщение для нашего агентства? Заполните форму ниже, и мы обязательно с вами свяжемся. Ваши предложения и вопросы помогают нам становиться лучше!

+
+
+
+ + +
+
+ + +
+
+
+ + +
+ +
+
+
+ +
+
+

Контактные данные Orient

+

+ Наши контактные данные, адрес офиса и режим работы. Мы всегда на + связи, чтобы ответить на ваши вопросы и предложения. Ждем вас! +

+
+ +
+ +
+

Офис расположен по адресу:

+
+ + + +
+

{{ this.theme.officeIsLocated }}

+
+
+
+ +
+

Режим работы:

+
+ + + + +
+

{{ this.theme.workingHours }}

+
+
+
+ +
+ +
+ +
+

Контакты редакции:

+
+ + + + +
+

Email редакции:

+ +

{{ this.theme.editorialEmail }}

+
+
+ +
+ + + + + +
+

Телефон редакции:

+ +

{{ this.theme.editorialPhone }}

+
+
+
+ +
+

Контакты администрации:

+
+ + + + +
+

Email администрации:

+ +

{{ this.theme.emailTheAdministration }}

+
+
+ +
+ + + + + +
+

Телефон администрации:

+ +

{{ this.theme.administrationPhone }}

+
+
+
+ +
+ +
+
+
+
+
+ +{% put scripts %} + + +{% endput %} \ No newline at end of file diff --git a/themes/modern2/pages/new/contact_test.htm b/themes/modern2/pages/new/contact_test.htm new file mode 100644 index 000000000..9dd386704 --- /dev/null +++ b/themes/modern2/pages/new/contact_test.htm @@ -0,0 +1,164 @@ +title = "new/contact_test" +url = "/new/contact_test" +layout = "new/master-inside" +is_hidden = 1 +robot_index = "index" +robot_follow = "follow" +== + + + +
+
+
+ +
+

Контакты

+

Свяжитесь с нами удобным для вас способом! Ниже вы найдете наши контакты или можете заполнить форму, чтобы оставить свои предложения и комментарии. Мы всегда рады вашему мнению!

+
+
+ +

Инстаграм:{{ this.theme.instagram }}

+
+
+ +

Email: {{ this.theme.eMail }}

+
+
+ +

Телефон: {{ this.theme.phone }}

+
+
+ +

Адрес:{{ this.theme.address }}

+
+
+

Свяжитесь с нами

+

Есть идея или сообщение для нашего агентства? Заполните форму ниже, и мы обязательно с вами свяжемся. Ваши предложения и вопросы помогают нам становиться лучше!

+
+ + +
+ + + +
+
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+ + +
+ +
+ +
+
+
+
+
+
+ + {% put scripts %} + + + {% endput %} \ No newline at end of file diff --git a/themes/modern2/pages/new/faq.htm b/themes/modern2/pages/new/faq.htm new file mode 100644 index 000000000..8c6e5e829 --- /dev/null +++ b/themes/modern2/pages/new/faq.htm @@ -0,0 +1,85 @@ +title = "new/faq" +url = "/new/faq" +layout = "new/master-inside" +meta_title = "Часто задаваемые вопросы" +is_hidden = 0 +robot_index = "index" +robot_follow = "follow" + +[viewBag] +localeMeta_title[en] = "FAQ" +localeMeta_title[tm] = "Köp soralýan soraglar" + +[expertForm] +== +get(); + //dd($this['faqCategories']); +} +?> +== +{% put styles %} + + +{% endput %} + +
+
+
+ +
+ + +

{{'Добро пожаловать в раздел "В помощь экспортерам"!'|_}}

+

{{'Здесь вы можете бесплатно задать вопрос эксперту консалтинговой компании “Export Hyzmat” по экспортной деятельности и получить на него ответ в течение 24 часов.'|_}}

+

{{'Для этого необходимо заполнить контактную форму, нажав на кнопку «Вопрос эксперту».'|_}}

+

{{'Вы также можете просмотреть "Часто задаваемые вопросы" ниже. Возможно, среди них уже есть ответ на ваш вопрос.'|_}}

+ + +
+ + {% for category in faqCategories %} +
+

{{category.name}}

+ + {% for faq in category.faq %} +
+
+ {{faq.question}} + + + +
+
+
+

{{faq.answer}}

+
+
+
+ {% endfor %} + +
+ {% endfor %} + +
+ + +
+ + + +
+
+
+{% put scripts %} + +{% endput %} \ No newline at end of file diff --git a/themes/modern2/pages/new/group.htm b/themes/modern2/pages/new/group.htm index f33bd9cc2..bca11e67e 100644 --- a/themes/modern2/pages/new/group.htm +++ b/themes/modern2/pages/new/group.htm @@ -24,6 +24,8 @@ postPage = "new/newPost" == param('id'); // $currentPost = RainLab\Blog\Models\Post::where('id', $postId)->with(['category_groups'])->first(); @@ -35,7 +37,7 @@ function onStart(){ $this['groupName'] = RainLab\Blog\Models\CategoryGroup::where('slug', $this['group'])->first(); $currentCatLink = '/'.$this['categorySlug']; - $currentUrl = '/'.$currentLocale.'/new/posts/'.$this['group'].$currentCatLink; + $currentUrl = '/'.$currentLocale.'/posts/'.$this['group'].$currentCatLink; if(!$this['categorySlug'] && $this['group'] != 'media'){ //$this->page->meta_title = $this['groupName']->name; @@ -50,20 +52,20 @@ function onStart(){ } - //dd($currentUrl); + //dd($currentUrl); // "/en/new/posts/news/" if($this->menuItems && $this['group']){ foreach ($this->menuItems as $menu){ //dump($currentUrl); if(!$this['categorySlug']){ - if($menu->url.'/' === $currentUrl){ + if($menu->url.'/' == $currentUrl){ $menu->isActive = true; break; } }else{ foreach ($menu->items as $menuItem){ - if($menuItem->url === $currentUrl){ + if($menuItem->url == $currentUrl){ // dump($menuItem); $menuItem->isActive = true; $menuItem->isChildActive = true; diff --git a/themes/modern2/partials/new/head.htm b/themes/modern2/partials/new/head.htm index 404581e0f..edfe8a4fb 100644 --- a/themes/modern2/partials/new/head.htm +++ b/themes/modern2/partials/new/head.htm @@ -6,9 +6,6 @@ - - - diff --git a/themes/modern2/partials/new/menu.htm b/themes/modern2/partials/new/menu.htm index dcff6f745..bdfe1a7cc 100644 --- a/themes/modern2/partials/new/menu.htm +++ b/themes/modern2/partials/new/menu.htm @@ -15,7 +15,7 @@ code = "event_menu" {% for item in staticMenu.menuItems %} -
  • +
  • {{ item.title }}