This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.3.1/jquery.cookie.js"></script> | |
| <script> | |
| if($.cookie('date')!== null) { | |
| var msIn1Hour = 3600 * 1000; | |
| var client_date = $.cookie('date'); | |
| var client_new_date = new Date(client_date); | |
| var client_expire_date = new Date(); | |
| var expire = (client_expire_date - client_new_date)/msIn1Hour; | |
| if(expire > 0.03) { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | *********************************************** | |
| Цена | |
| *********************************************** | |
| 6.3 р/мин | |
| 375 р/час | |
| 4.5 часов х 375 = 1687.5 р | |
| 1 686 р/день | |
| 1 686 р х 22 = 37 092 р | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | *********************************************** | |
| Figma | |
| *********************************************** | |
| Экспорт макета: | |
| 1) Выделяем общий слой макета | |
| 2) Правый блок в самом низу export | |
| *********************************************** | |
| Photoshop | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | $phone = ""; | |
| function apiRequest($first = false, $data = false, $url_path = false, $token = false, $file = false) { | |
| $token_filename = 'sigmatoken.txt'; | |
| $api_url = 'https://online.sigmasms.ru/api/'; | |
| $login = ''; | |
| $pass = ''; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Обрезка до определенного количества символов: | |
| mb_internal_encoding("UTF-8"); | |
| $title = mb_substr($title, 0, 30); | |
| echo $title; | |
| Поочередная смена класса: | |
| $x=0; | |
| if ($x % 2 == 0) { | |
| $class='right'; | |
| } else { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 1) Добавить шрифт | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| if($_SERVER['REQUEST_METHOD'] == 'POST') { | |
| $name = $_POST['first_last_name']; | |
| $phone = $_POST['phone']; | |
| $question = $_POST['question']; | |
| $utm_source = $_POST['utm_source']; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | *********************************************** | |
| Документация: | |
| Счетчик - http://help.roistat.com/pages/viewpage.action?pageId=7012691 | |
| Номер визита - http://help.roistat.com/pages/viewpage.action?pageId=2228458 | |
| *********************************************** | |
| Номер визита: | |
| $roistatVisitId = array_key_exists('roistat_visit', $_COOKIE) ? $_COOKIE['roistat_visit'] : "неизвестно"; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | https://dev.1c-bitrix.ru/rest_help/crm/leads/crm_lead_fields.php - все доступные поля | |
| $firstname = ""; | |
| $lastname = ""; | |
| $phone = ""; | |
| $email = ""; | |
| $queryUrl = 'https://хх.хххххххх.ru/rest/80/сссссссс/crm.lead.add.json'; | |
| *80 - id создателя вебхука | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | $phone = ""; | |
| $curl = curl_init(); | |
| curl_setopt_array($curl, array( | |
| CURLOPT_URL => "https://calltools.ru/lk/cabapi_external/api/v1/phones/append/calls/", | |
| CURLOPT_RETURNTRANSFER => true, | |
| CURLOPT_ENCODING => "", | |
| CURLOPT_MAXREDIRS => 10, | |
| CURLOPT_TIMEOUT => 0, | 
NewerOlder