Current Path : /var/www/u0635749/data/www/hobbyclick.ru/www.hobbyclick.ru/www/hobbyclick/partner/my2/ |
Current File : /var/www/u0635749/data/www/hobbyclick.ru/www.hobbyclick.ru/www/hobbyclick/partner/my2/index.php |
<? require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php"); $APPLICATION->SetTitle("Мои преподаватели"); global $USER; /*$APPLICATION->IncludeComponent( "bitrix:iblock.element.add", ".default", array( "AJAX_MODE" => "N", "AJAX_OPTION_ADDITIONAL" => "", "AJAX_OPTION_HISTORY" => "N", "AJAX_OPTION_JUMP" => "N", "AJAX_OPTION_STYLE" => "Y", "ALLOW_DELETE" => "Y", "ALLOW_EDIT" => "Y", "CUSTOM_TITLE_DATE_ACTIVE_FROM" => "", "CUSTOM_TITLE_DATE_ACTIVE_TO" => "", "CUSTOM_TITLE_DETAIL_PICTURE" => "", "CUSTOM_TITLE_DETAIL_TEXT" => "", "CUSTOM_TITLE_IBLOCK_SECTION" => "", "CUSTOM_TITLE_NAME" => "", "CUSTOM_TITLE_PREVIEW_PICTURE" => "", "CUSTOM_TITLE_PREVIEW_TEXT" => "", "CUSTOM_TITLE_TAGS" => "", "DEFAULT_INPUT_SIZE" => "30", "DETAIL_TEXT_USE_HTML_EDITOR" => "N", "ELEMENT_ASSOC" => "CREATED_BY", "ELEMENT_ASSOC_PROPERTY" => "147", "GROUPS" => array( 0 => "5", ), "IBLOCK_ID" => "13", "IBLOCK_TYPE" => "", "LEVEL_LAST" => "Y", "MAX_FILE_SIZE" => "0", "MAX_LEVELS" => "100000", "MAX_USER_ENTRIES" => "100000", "NAV_ON_PAGE" => "10", "PREVIEW_TEXT_USE_HTML_EDITOR" => "N", "PROPERTY_CODES" => array( 0 => "111", 1 => "112", 2 => "118", 3 => "145", 4 => "NAME", 5 => "PREVIEW_TEXT", 6 => "PREVIEW_PICTURE", 7 => "DETAIL_TEXT", 8 => "DETAIL_PICTURE", ), "PROPERTY_CODES_REQUIRED" => array( 0 => "111", 1 => "112", 2 => "118", 3 => "145", 4 => "NAME", ), "RESIZE_IMAGES" => "Y", "SEF_MODE" => "N", "STATUS" => "ANY", "STATUS_NEW" => "NEW", "USER_MESSAGE_ADD" => "", "USER_MESSAGE_EDIT" => "", "USE_CAPTCHA" => "N", "COMPONENT_TEMPLATE" => ".default" ), false );*/?><?$APPLICATION->IncludeComponent( "2quick:lk.partners", ".default", array( "CUSTOM_TITLE_107" => "", "CUSTOM_TITLE_109" => "", "CUSTOM_TITLE_126" => "", "CUSTOM_TITLE_128" => "", "CUSTOM_TITLE_129" => "", "CUSTOM_TITLE_147" => "", "CUSTOM_TITLE_160" => "", "CUSTOM_TITLE_75" => "", "CUSTOM_TITLE_77" => "", "CUSTOM_TITLE_78" => "", "CUSTOM_TITLE_79" => "", "CUSTOM_TITLE_82" => "", "CUSTOM_TITLE_83" => "", "CUSTOM_TITLE_85" => "", "CUSTOM_TITLE_DETAIL_PICTURE" => "", "CUSTOM_TITLE_DETAIL_TEXT" => "", "CUSTOM_TITLE_NAME" => "", "CUSTOM_TITLE_PREVIEW_PICTURE" => "", "CUSTOM_TITLE_PREVIEW_TEXT" => "", "ELEMENT_ASSOC_PROPERTY" => "145", "FILE_404" => "", "HINT_107" => "", "HINT_109" => "", "HINT_126" => "", "HINT_128" => "", "HINT_129" => "", "HINT_147" => "", "HINT_160" => "Подсказка города", "HINT_75" => "", "HINT_77" => "", "HINT_78" => "", "HINT_79" => "", "HINT_82" => "", "HINT_83" => "", "HINT_85" => "", "HINT_DETAIL_PICTURE" => "", "HINT_DETAIL_TEXT" => "", "HINT_NAME" => "", "HINT_PREVIEW_PICTURE" => "", "HINT_PREVIEW_TEXT" => "", "IBLOCK_ID" => "13", "IBLOCK_TYPE" => "catalog", "MESSAGE_404" => "", "NAV_ON_PAGE" => "2", "PROPERTY_CODES" => array( 0 => "68", 1 => "71", 2 => "111", 3 => "112", 4 => "145", 5 => "159", 6 => "NAME", 7 => "PREVIEW_TEXT", 8 => "PREVIEW_PICTURE", 9 => "DETAIL_TEXT", 10 => "DETAIL_PICTURE", 11 => "BASE_PRICE", ), "PROPERTY_CODES_REQUIRED" => array( 0 => "68", 1 => "71", 2 => "111", 3 => "112", 4 => "159", 5 => "NAME", 6 => "PREVIEW_TEXT", 7 => "DETAIL_TEXT", 8 => "BASE_PRICE", ), "SEF_FOLDER" => "/partner/my2/", "SEF_MODE" => "Y", "SET_STATUS_404" => "Y", "SHOW_404" => "Y", "COMPONENT_TEMPLATE" => ".default", "CUSTOM_TITLE_BASE_PRICE" => "", "CUSTOM_TITLE_112" => "", "CUSTOM_TITLE_159" => "", "CUSTOM_TITLE_71" => "", "CUSTOM_TITLE_111" => "", "CUSTOM_TITLE_118" => "", "CUSTOM_TITLE_68" => "", "CUSTOM_TITLE_145" => "", "HINT_BASE_PRICE" => "", "HINT_112" => "", "HINT_159" => "", "HINT_71" => "", "HINT_111" => "", "HINT_118" => "", "HINT_68" => "", "HINT_145" => "", "CUSTOM_TITLE_119" => "", "HINT_119" => "", "CUSTOM_TITLE_120" => "", "HINT_120" => "", "SEF_URL_TEMPLATES" => array( "edit" => "edit/#ELEMENT_ID#/", "add" => "add/", ) ), false );?> <? $idUser = $USER->GetID(); ?> <script> $(document).ready(function(){ $('input[name="PROPERTIES[PARTNER]"]').attr('placeholder', '<?=$USER->GetLogin()?>'); $('input[name="PROPERTIES[PARTNER]"]').val('<?=$idUser?>'); }); </script> <?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>