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
| CMain::GetProperty - возвращает свойство страницы или свойство раздела. | |
| <? | |
| $keywords = $APPLICATION->GetProperty("keywords"); | |
| if (strlen($keywords)>0) echo $keywords; | |
| ?> | |
| CMain::GetPageProperty - возвращает свойство страницы. | |
| <? | |
| $keywords = $APPLICATION->GetPageProperty("keywords"); |
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
| <h1><?=$APPLICATION->GetTitle()?></h1> |
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
| <? | |
| include($_SERVER["DOCUMENT_ROOT"] . '/bitrix/modules/main/include/prolog_before.php'); | |
| CModule::IncludeModule('iblock'); | |
| $elID = trim($_REQUEST['id']); | |
| $arFile = false; | |
| $action = 'download'; | |
| if ($elID) { | |
| $dbElement = CIBlockElement::GetList( |
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
| <? if (!empty($arResult)) { ?> | |
| <ul class="open"> | |
| <? | |
| $previousLevel = 0; | |
| $i = 0; | |
| foreach ($arResult as $arItem) { | |
| if ($previousLevel && $arItem["DEPTH_LEVEL"] < $previousLevel) | |
| echo str_repeat('</ul><div class="btn"></div></li>', ($previousLevel - $arItem["DEPTH_LEVEL"])); | |
| ?> |
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
| <? | |
| require($_SERVER['DOCUMENT_ROOT']."/bitrix/header.php"); | |
| echo $USER->Update(1,array("PASSWORD"=>'Bitrix*123456')); | |
| echo $USER->LAST_ERROR; | |
| require($_SERVER['DOCUMENT_ROOT']."/bitrix/footer.php"); | |
| ?> |
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
| <? | |
| require($_SERVER['DOCUMENT_ROOT']."/bitrix/modules/main/include/prolog_before.php"); | |
| require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/classes/general/captcha.php"); | |
| require('PHPMailer/PHPMailerAutoload.php'); | |
| global $APPLICATION; | |
| CModule::IncludeModule('iblock'); | |
| if($_SERVER["REQUEST_METHOD"] == "POST"){ | |
| $cpt = new CCaptcha(); |
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
| $(document).ready(function(){ | |
| $("#add-obj").submit(function(){ | |
| var fObj = $(this); | |
| var formData = $(this).serialize(); | |
| $.ajax({ | |
| url: fObj.attr('action'), | |
| type: 'GET', | |
| data: formData, | |
| processData: false, | |
| contentType: false, |
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
| Array | |
| ( | |
| [0] => Array | |
| ( | |
| [ID] => 7 | |
| [~ID] => 7 | |
| [TIMESTAMP_X] => 22.05.2016 14:11:16 | |
| [~TIMESTAMP_X] => 22.05.2016 14:11:16 | |
| [MODIFIED_BY] => 1 | |
| [~MODIFIED_BY] => 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
| [ID] => 22100 | |
| [~ID] => 22100 | |
| [IBLOCK_ID] => 4 | |
| [~IBLOCK_ID] => 4 | |
| [CODE] => matrix_uroven_lazernyy_180mm_220mm_shtativ_4_glazka | |
| [~CODE] => matrix_uroven_lazernyy_180mm_220mm_shtativ_4_glazka | |
| [XML_ID] => 1a9ed06d-a39c-11e4-ae85-f835ddc04953 | |
| [~XML_ID] => 1a9ed06d-a39c-11e4-ae85-f835ddc04953 | |
| [NAME] => MATRIX Уровень лазерный,180мм,220мм штатив,4 глазка | |
| [~NAME] => MATRIX Уровень лазерный,180мм,220мм штатив,4 глазка |
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
| $res->GetPageNavStringEx($navComponentObject, "Объекты", ".default"); |