diff --git a/.gitignore b/.gitignore index 5fcd3d0..e3111b6 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,4 @@ sitemap* .xml .htsecure cron/yasprav.log -local/yasprav.log +vizitka/tmp/ \ No newline at end of file diff --git a/api/index.php b/api/index.php index c27e1d3..a10c094 100644 --- a/api/index.php +++ b/api/index.php @@ -2002,6 +2002,29 @@ switch($PARAM_1) } break; + case "vizitka": + { + //define("LOG_FILENAME", $_SERVER["DOCUMENT_ROOT"]."/vizitka/tmp/log.txt"); + //AddMessage2Log("_REQUEST['guid'] => ".$_REQUEST['guid'], "my_module_id"); + + $c = curl_init(); + curl_setopt($c, CURLOPT_URL, API_HOST."/site/GetUserBusinessCard/?guid=".$_REQUEST['guid']); + curl_setopt($c, CURLOPT_CONNECTTIMEOUT, 30); + curl_setopt($c, CURLOPT_TIMEOUT, 30); + curl_setopt($c, CURLOPT_RETURNTRANSFER, 1); + curl_setopt($c, CURLOPT_SSL_VERIFYPEER, 0); + curl_setopt($c, CURLOPT_SSL_VERIFYHOST, 0); + curl_setopt($c, CURLOPT_HTTPHEADER, array('Content-Type:application/json')); + + $response = curl_exec($c) or die(curl_error($c)); + + curl_close($c); + print $response; + + die(); + } + break; + default: { print json_encode([]); diff --git a/corp/index.php b/corp/index.php index bada762..e9209a4 100644 --- a/corp/index.php +++ b/corp/index.php @@ -5,9 +5,9 @@ $APPLICATION->SetTitle("Эволюция автолизинга: Вместе с

Вместе с МКБ

-

mkblogo500v2.png
+

mkb500.png

-

2% - субсидия на авансовый платёж для клиентов МКБ

+

Специальные условия по лизингу для клиентов МКБ

Лучшие условия финансирования среди лизинговых компаний за счет собственного фондирования

- 8 800 333 75 75 + 8 800 333 75 75
\ No newline at end of file diff --git a/local/templates/evolution/footer.php b/local/templates/evolution/footer.php index 0336bb2..e881b2e 100644 --- a/local/templates/evolution/footer.php +++ b/local/templates/evolution/footer.php @@ -41,7 +41,7 @@ buy@evoleasing.ru
- 8 800 333 75 75 + 8 800 333 75 75
+

+ + + + + \ No newline at end of file diff --git a/vizitka/logo.png b/vizitka/logo.png new file mode 100644 index 0000000..ea8eb1c Binary files /dev/null and b/vizitka/logo.png differ