diff --git a/.bottomL.menu.php b/.bottomL.menu.php
new file mode 100644
index 0000000..1e7176d
--- /dev/null
+++ b/.bottomL.menu.php
@@ -0,0 +1,25 @@
+
+$aMenuLinks = Array(
+ Array(
+ "Home",
+ "/",
+ Array(),
+ Array(),
+ ""
+ ),
+ Array(
+ "About",
+ "/about/",
+ Array(),
+ Array(),
+ ""
+ ),
+ Array(
+ "Services",
+ "",
+ Array(),
+ Array(),
+ ""
+ )
+);
+?>
\ No newline at end of file
diff --git a/.bottomR.menu.php b/.bottomR.menu.php
new file mode 100644
index 0000000..93b5141
--- /dev/null
+++ b/.bottomR.menu.php
@@ -0,0 +1,25 @@
+
+$aMenuLinks = Array(
+ Array(
+ "Partners",
+ "",
+ Array(),
+ Array(),
+ ""
+ ),
+ Array(
+ "Support",
+ "",
+ Array(),
+ Array(),
+ ""
+ ),
+ Array(
+ "Contact",
+ "",
+ Array(),
+ Array(),
+ ""
+ )
+);
+?>
\ No newline at end of file
diff --git a/.top.menu.php b/.top.menu.php
new file mode 100644
index 0000000..f2a1f4b
--- /dev/null
+++ b/.top.menu.php
@@ -0,0 +1,60 @@
+
+$aMenuLinks = Array(
+ Array(
+ "Home",
+ "/",
+ Array(),
+ Array(),
+ ""
+ ),
+ Array(
+ "About us",
+ "/about/",
+ Array(),
+ Array(),
+ ""
+ ),
+ Array(
+ "Services",
+ "",
+ Array(),
+ Array(),
+ ""
+ ),
+ Array(
+ "Partners",
+ "",
+ Array(),
+ Array(),
+ ""
+ ),
+ Array(
+ "Customers",
+ "",
+ Array(),
+ Array(),
+ ""
+ ),
+ Array(
+ "Projects",
+ "",
+ Array(),
+ Array(),
+ ""
+ ),
+ Array(
+ "Careers",
+ "",
+ Array(),
+ Array(),
+ ""
+ ),
+ Array(
+ "Contact",
+ "",
+ Array(),
+ Array(),
+ ""
+ )
+);
+?>
\ No newline at end of file
diff --git a/IMPORT_DATA/TEAM/iblock.xml b/IMPORT_DATA/TEAM/iblock.xml
new file mode 100644
index 0000000..8e5b246
--- /dev/null
+++ b/IMPORT_DATA/TEAM/iblock.xml
@@ -0,0 +1,656 @@
+
+<КоммерческаяИнформация ВерсияСхемы="2.021" ДатаФормирования="2014-02-11T22:07:49">
+ <Классификатор>
+ <Ид>1Ид>
+ <Наименование>Наша командаНаименование>
+ <Свойства>
+ <Свойство>
+ <Ид>CML2_ACTIVEИд>
+ <Наименование>БитриксАктивностьНаименование>
+ <Множественное>falseМножественное>
+ Свойство>
+ <Свойство>
+ <Ид>CML2_CODEИд>
+ <Наименование>Символьный кодНаименование>
+ <Множественное>falseМножественное>
+ Свойство>
+ <Свойство>
+ <Ид>CML2_SORTИд>
+ <Наименование>СортировкаНаименование>
+ <Множественное>falseМножественное>
+ Свойство>
+ <Свойство>
+ <Ид>CML2_ACTIVE_FROMИд>
+ <Наименование>Начало активностиНаименование>
+ <Множественное>falseМножественное>
+ Свойство>
+ <Свойство>
+ <Ид>CML2_ACTIVE_TOИд>
+ <Наименование>Окончание активностиНаименование>
+ <Множественное>falseМножественное>
+ Свойство>
+ <Свойство>
+ <Ид>CML2_PREVIEW_TEXTИд>
+ <Наименование>АнонсНаименование>
+ <Множественное>falseМножественное>
+ Свойство>
+ <Свойство>
+ <Ид>CML2_DETAIL_TEXTИд>
+ <Наименование>ОписаниеНаименование>
+ <Множественное>falseМножественное>
+ Свойство>
+ <Свойство>
+ <Ид>CML2_PREVIEW_PICTUREИд>
+ <Наименование>Картинка анонсаНаименование>
+ <Множественное>falseМножественное>
+ Свойство>
+ <Свойство>
+ <Ид>1Ид>
+ <Наименование>ДолжностьНаименование>
+ <Множественное>falseМножественное>
+ <БитриксСортировка>500БитриксСортировка>
+ <БитриксКод>POSITIONБитриксКод>
+ <БитриксТипСвойства>SБитриксТипСвойства>
+ <БитриксСтрок>1БитриксСтрок>
+ <БитриксКолонок>30БитриксКолонок>
+ <БитриксТипСписка>LБитриксТипСписка>
+ <БитриксТипыФайлов>БитриксТипыФайлов>
+ <БитриксКоличествоПолей>5БитриксКоличествоПолей>
+ <БитриксСвязанныйИнфоблок>БитриксСвязанныйИнфоблок>
+ <БитриксОписаниеРазрешено>falseБитриксОписаниеРазрешено>
+ <БитриксПоискРазрешен>falseБитриксПоискРазрешен>
+ <БитриксФильтрРазрешен>falseБитриксФильтрРазрешен>
+ <БитриксРасширениеТипа>БитриксРасширениеТипа>
+ <БитриксОбязательное>falseБитриксОбязательное>
+ <БитриксЗначениеПоУмолчанию>s:0:"";БитриксЗначениеПоУмолчанию>
+ <Сериализовано>1Сериализовано>
+ Свойство>
+ Свойства>
+ <СвойстваЭлементов>
+ <Свойство>
+ <Ид>1Ид>
+ <УмныйФильтр>falseУмныйФильтр>
+ Свойство>
+ СвойстваЭлементов>
+ <Группы>
+ Группы>
+ Классификатор>
+ <Каталог>
+ <Ид>1Ид>
+ <ИдКлассификатора>1ИдКлассификатора>
+ <Наименование>Наша командаНаименование>
+ <БитриксКод>TEAMБитриксКод>
+ <БитриксСортировка>500БитриксСортировка>
+ <БитриксURLСписок>#SITE_DIR#/Content/index.php?ID=#IBLOCK_ID#БитриксURLСписок>
+ <БитриксURLДеталь>#SITE_DIR#/Content/detail.php?ID=#ELEMENT_ID#БитриксURLДеталь>
+ <БитриксURLРаздел>#SITE_DIR#/Content/list.php?SECTION_ID=#SECTION_ID#БитриксURLРаздел>
+ <БитриксКартинка>БитриксКартинка>
+ <БитриксИндексироватьЭлементы>trueБитриксИндексироватьЭлементы>
+ <БитриксИндексироватьРазделы>trueБитриксИндексироватьРазделы>
+ <БитриксДокументооборот>falseБитриксДокументооборот>
+ <БитриксПодписи>
+ <БитриксПодпись>
+ <Ид>ELEMENT_NAMEИд>
+ <Значение>ЭлементЗначение>
+ БитриксПодпись>
+ <БитриксПодпись>
+ <Ид>ELEMENTS_NAMEИд>
+ <Значение>ЭлементыЗначение>
+ БитриксПодпись>
+ <БитриксПодпись>
+ <Ид>ELEMENT_ADDИд>
+ <Значение>Добавить элементЗначение>
+ БитриксПодпись>
+ <БитриксПодпись>
+ <Ид>ELEMENT_EDITИд>
+ <Значение>Изменить элементЗначение>
+ БитриксПодпись>
+ <БитриксПодпись>
+ <Ид>ELEMENT_DELETEИд>
+ <Значение>Удалить элементЗначение>
+ БитриксПодпись>
+ <БитриксПодпись>
+ <Ид>SECTION_NAMEИд>
+ <Значение>РазделЗначение>
+ БитриксПодпись>
+ <БитриксПодпись>
+ <Ид>SECTIONS_NAMEИд>
+ <Значение>РазделыЗначение>
+ БитриксПодпись>
+ <БитриксПодпись>
+ <Ид>SECTION_ADDИд>
+ <Значение>Добавить разделЗначение>
+ БитриксПодпись>
+ <БитриксПодпись>
+ <Ид>SECTION_EDITИд>
+ <Значение>Изменить разделЗначение>
+ БитриксПодпись>
+ <БитриксПодпись>
+ <Ид>SECTION_DELETEИд>
+ <Значение>Удалить разделЗначение>
+ БитриксПодпись>
+ БитриксПодписи>
+ <Товары>
+ <Товар>
+ <Ид>1Ид>
+ <Наименование>John DoeНаименование>
+ <БитриксТеги>БитриксТеги>
+ <Группы>
+ Группы>
+ <Картинка>Картинка>
+ <ЗначенияСвойств>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVEИд>
+ <Значение>trueЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_CODEИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_SORTИд>
+ <Значение>100Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_FROMИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_TOИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_DETAIL_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_PICTUREИд>
+ <Значение>iblock_files/iblock/a7a/a7a34cfcf007610bd658c715bae39b50.jpgЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>1Ид>
+ <Значение>ceoЗначение>
+ <ЗначениеСвойства>
+ <Значение>ceoЗначение>
+ <Описание>Описание>
+ ЗначениеСвойства>
+ ЗначенияСвойства>
+ ЗначенияСвойств>
+ Товар>
+ <Товар>
+ <Ид>2Ид>
+ <Наименование>Saundra PittsleyНаименование>
+ <БитриксТеги>БитриксТеги>
+ <Группы>
+ Группы>
+ <Картинка>Картинка>
+ <ЗначенияСвойств>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVEИд>
+ <Значение>trueЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_CODEИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_SORTИд>
+ <Значение>200Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_FROMИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_TOИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_DETAIL_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_PICTUREИд>
+ <Значение>iblock_files/iblock/287/287f9cdaa0200bdda9152cac1ac7135d.jpgЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>1Ид>
+ <Значение>team leaderЗначение>
+ <ЗначениеСвойства>
+ <Значение>team leaderЗначение>
+ <Описание>Описание>
+ ЗначениеСвойства>
+ ЗначенияСвойства>
+ ЗначенияСвойств>
+ Товар>
+ <Товар>
+ <Ид>3Ид>
+ <Наименование>Margery VenutiНаименование>
+ <БитриксТеги>БитриксТеги>
+ <Группы>
+ Группы>
+ <Картинка>Картинка>
+ <ЗначенияСвойств>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVEИд>
+ <Значение>trueЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_CODEИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_SORTИд>
+ <Значение>400Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_FROMИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_TOИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_DETAIL_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_PICTUREИд>
+ <Значение>iblock_files/iblock/440/440bff400b7ebbbc474b9f4b97fd46cf.jpgЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>1Ид>
+ <Значение>senior developerЗначение>
+ <ЗначениеСвойства>
+ <Значение>senior developerЗначение>
+ <Описание>Описание>
+ ЗначениеСвойства>
+ ЗначенияСвойства>
+ ЗначенияСвойств>
+ Товар>
+ <Товар>
+ <Ид>4Ид>
+ <Наименование>Julio SimserНаименование>
+ <БитриксТеги>БитриксТеги>
+ <Группы>
+ Группы>
+ <Картинка>Картинка>
+ <ЗначенияСвойств>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVEИд>
+ <Значение>trueЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_CODEИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_SORTИд>
+ <Значение>300Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_FROMИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_TOИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_DETAIL_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_PICTUREИд>
+ <Значение>iblock_files/iblock/04e/04e7b0849f3f71b52bbbdfd654c1dc08.jpgЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>1Ид>
+ <Значение>senior developerЗначение>
+ <ЗначениеСвойства>
+ <Значение>senior developerЗначение>
+ <Описание>Описание>
+ ЗначениеСвойства>
+ ЗначенияСвойства>
+ ЗначенияСвойств>
+ Товар>
+ <Товар>
+ <Ид>5Ид>
+ <Наименование>Fernando TondreaНаименование>
+ <БитриксТеги>БитриксТеги>
+ <Группы>
+ Группы>
+ <Картинка>Картинка>
+ <ЗначенияСвойств>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVEИд>
+ <Значение>trueЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_CODEИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_SORTИд>
+ <Значение>500Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_FROMИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_TOИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_DETAIL_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_PICTUREИд>
+ <Значение>iblock_files/iblock/d47/d479d0be3fd23e606f3f696f6f272278.jpgЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>1Ид>
+ <Значение>developerЗначение>
+ <ЗначениеСвойства>
+ <Значение>developerЗначение>
+ <Описание>Описание>
+ ЗначениеСвойства>
+ ЗначенияСвойства>
+ ЗначенияСвойств>
+ Товар>
+ <Товар>
+ <Ид>6Ид>
+ <Наименование>Ericka NobrigaНаименование>
+ <БитриксТеги>БитриксТеги>
+ <Группы>
+ Группы>
+ <Картинка>Картинка>
+ <ЗначенияСвойств>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVEИд>
+ <Значение>trueЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_CODEИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_SORTИд>
+ <Значение>600Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_FROMИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_TOИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_DETAIL_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_PICTUREИд>
+ <Значение>iblock_files/iblock/4cb/4cb88f06ef535f9cfd260d9ac3099a6a.jpgЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>1Ид>
+ <Значение>art directorЗначение>
+ <ЗначениеСвойства>
+ <Значение>art directorЗначение>
+ <Описание>Описание>
+ ЗначениеСвойства>
+ ЗначенияСвойства>
+ ЗначенияСвойств>
+ Товар>
+ <Товар>
+ <Ид>7Ид>
+ <Наименование>Cody RousselleНаименование>
+ <БитриксТеги>БитриксТеги>
+ <Группы>
+ Группы>
+ <Картинка>Картинка>
+ <ЗначенияСвойств>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVEИд>
+ <Значение>trueЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_CODEИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_SORTИд>
+ <Значение>700Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_FROMИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_TOИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_DETAIL_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_PICTUREИд>
+ <Значение>iblock_files/iblock/d96/d96f8818e9ac9d1e002ac1fc6cb3bb8d.jpgЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>1Ид>
+ <Значение>senior ui designerЗначение>
+ <ЗначениеСвойства>
+ <Значение>senior ui designerЗначение>
+ <Описание>Описание>
+ ЗначениеСвойства>
+ ЗначенияСвойства>
+ ЗначенияСвойств>
+ Товар>
+ <Товар>
+ <Ид>8Ид>
+ <Наименование>Erik WollmanНаименование>
+ <БитриксТеги>БитриксТеги>
+ <Группы>
+ Группы>
+ <Картинка>Картинка>
+ <ЗначенияСвойств>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVEИд>
+ <Значение>trueЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_CODEИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_SORTИд>
+ <Значение>800Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_FROMИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_TOИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_DETAIL_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_PICTUREИд>
+ <Значение>iblock_files/iblock/be5/be5a68cb5f08b393bc213eaecb935874.jpgЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>1Ид>
+ <Значение>senior ui designerЗначение>
+ <ЗначениеСвойства>
+ <Значение>senior ui designerЗначение>
+ <Описание>Описание>
+ ЗначениеСвойства>
+ ЗначенияСвойства>
+ ЗначенияСвойств>
+ Товар>
+ <Товар>
+ <Ид>9Ид>
+ <Наименование>Dona ShoffНаименование>
+ <БитриксТеги>БитриксТеги>
+ <Группы>
+ Группы>
+ <Картинка>Картинка>
+ <ЗначенияСвойств>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVEИд>
+ <Значение>trueЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_CODEИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_SORTИд>
+ <Значение>900Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_FROMИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_TOИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_DETAIL_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_PICTUREИд>
+ <Значение>iblock_files/iblock/f73/f733bd1652b35a45b8e9921b89cf5452.jpgЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>1Ид>
+ <Значение>ux designerЗначение>
+ <ЗначениеСвойства>
+ <Значение>ux designerЗначение>
+ <Описание>Описание>
+ ЗначениеСвойства>
+ ЗначенияСвойства>
+ ЗначенияСвойств>
+ Товар>
+ <Товар>
+ <Ид>10Ид>
+ <Наименование>Darryl BruntonНаименование>
+ <БитриксТеги>БитриксТеги>
+ <Группы>
+ Группы>
+ <Картинка>Картинка>
+ <ЗначенияСвойств>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVEИд>
+ <Значение>trueЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_CODEИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_SORTИд>
+ <Значение>1000Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_FROMИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_ACTIVE_TOИд>
+ <Значение>Значение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_DETAIL_TEXTИд>
+ <Значение>Значение>
+ <Тип>textТип>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>CML2_PREVIEW_PICTUREИд>
+ <Значение>iblock_files/iblock/a1d/a1dfb93bc32a2cb73cd31df5e67b1edb.jpgЗначение>
+ ЗначенияСвойства>
+ <ЗначенияСвойства>
+ <Ид>1Ид>
+ <Значение>ui designerЗначение>
+ <ЗначениеСвойства>
+ <Значение>ui designerЗначение>
+ <Описание>Описание>
+ ЗначениеСвойства>
+ ЗначенияСвойства>
+ ЗначенияСвойств>
+ Товар>
+ Товары>
+ Каталог>
+КоммерческаяИнформация>
diff --git a/www/images/team/Brunton.jpg b/IMPORT_DATA/TEAM/iblock_files/iblock/04e/04e7b0849f3f71b52bbbdfd654c1dc08.jpg
similarity index 100%
rename from www/images/team/Brunton.jpg
rename to IMPORT_DATA/TEAM/iblock_files/iblock/04e/04e7b0849f3f71b52bbbdfd654c1dc08.jpg
diff --git a/www/images/team/Doe.jpg b/IMPORT_DATA/TEAM/iblock_files/iblock/287/287f9cdaa0200bdda9152cac1ac7135d.jpg
similarity index 100%
rename from www/images/team/Doe.jpg
rename to IMPORT_DATA/TEAM/iblock_files/iblock/287/287f9cdaa0200bdda9152cac1ac7135d.jpg
diff --git a/www/images/team/Nobriga.jpg b/IMPORT_DATA/TEAM/iblock_files/iblock/440/440bff400b7ebbbc474b9f4b97fd46cf.jpg
similarity index 100%
rename from www/images/team/Nobriga.jpg
rename to IMPORT_DATA/TEAM/iblock_files/iblock/440/440bff400b7ebbbc474b9f4b97fd46cf.jpg
diff --git a/www/images/team/Pittsley.jpg b/IMPORT_DATA/TEAM/iblock_files/iblock/4cb/4cb88f06ef535f9cfd260d9ac3099a6a.jpg
similarity index 100%
rename from www/images/team/Pittsley.jpg
rename to IMPORT_DATA/TEAM/iblock_files/iblock/4cb/4cb88f06ef535f9cfd260d9ac3099a6a.jpg
diff --git a/www/images/team/Rousselle.jpg b/IMPORT_DATA/TEAM/iblock_files/iblock/a1d/a1dfb93bc32a2cb73cd31df5e67b1edb.jpg
similarity index 100%
rename from www/images/team/Rousselle.jpg
rename to IMPORT_DATA/TEAM/iblock_files/iblock/a1d/a1dfb93bc32a2cb73cd31df5e67b1edb.jpg
diff --git a/www/images/team/Shoff.jpg b/IMPORT_DATA/TEAM/iblock_files/iblock/a7a/a7a34cfcf007610bd658c715bae39b50.jpg
similarity index 100%
rename from www/images/team/Shoff.jpg
rename to IMPORT_DATA/TEAM/iblock_files/iblock/a7a/a7a34cfcf007610bd658c715bae39b50.jpg
diff --git a/www/images/team/Simser.jpg b/IMPORT_DATA/TEAM/iblock_files/iblock/be5/be5a68cb5f08b393bc213eaecb935874.jpg
similarity index 100%
rename from www/images/team/Simser.jpg
rename to IMPORT_DATA/TEAM/iblock_files/iblock/be5/be5a68cb5f08b393bc213eaecb935874.jpg
diff --git a/www/images/team/Tondrea.jpg b/IMPORT_DATA/TEAM/iblock_files/iblock/d47/d479d0be3fd23e606f3f696f6f272278.jpg
similarity index 100%
rename from www/images/team/Tondrea.jpg
rename to IMPORT_DATA/TEAM/iblock_files/iblock/d47/d479d0be3fd23e606f3f696f6f272278.jpg
diff --git a/www/images/team/Venuti.jpg b/IMPORT_DATA/TEAM/iblock_files/iblock/d96/d96f8818e9ac9d1e002ac1fc6cb3bb8d.jpg
similarity index 100%
rename from www/images/team/Venuti.jpg
rename to IMPORT_DATA/TEAM/iblock_files/iblock/d96/d96f8818e9ac9d1e002ac1fc6cb3bb8d.jpg
diff --git a/www/images/team/Wollman.jpg b/IMPORT_DATA/TEAM/iblock_files/iblock/f73/f733bd1652b35a45b8e9921b89cf5452.jpg
similarity index 100%
rename from www/images/team/Wollman.jpg
rename to IMPORT_DATA/TEAM/iblock_files/iblock/f73/f733bd1652b35a45b8e9921b89cf5452.jpg
diff --git a/README.md b/README.md
index 62c7e83..8a9154f 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,12 @@
-Whitesquare bootstrap
+Whitesquare bootstrap 1C-Bitrix Template
=====================
Original design: [CORPORATE BLUE by pcklaboratory](http://www.pcklab.com/item.php?id=16)
Bootstrap implementation: [article by Mirantus](http://habrahabr.ru/post/211032/)
+1C-Bitrix implementation: [article by Lexnekr](http://habrahabr.ru/post/212163/)
+
Screenshot:
-
\ No newline at end of file
+
diff --git a/about/.left.menu.php b/about/.left.menu.php
new file mode 100644
index 0000000..c867a27
--- /dev/null
+++ b/about/.left.menu.php
@@ -0,0 +1,46 @@
+
+$aMenuLinks = Array(
+ Array(
+ "Lorem ipsum",
+ "/about/",
+ Array(),
+ Array(),
+ ""
+ ),
+ Array(
+ "Donec tincidunt laoreet",
+ "",
+ Array(),
+ Array(),
+ ""
+ ),
+ Array(
+ "Vestibulum elit",
+ "",
+ Array(),
+ Array(),
+ ""
+ ),
+ Array(
+ "Etiam pharetra",
+ "",
+ Array(),
+ Array(),
+ ""
+ ),
+ Array(
+ "Phasellus placerat",
+ "",
+ Array(),
+ Array(),
+ ""
+ ),
+ Array(
+ "Cras et nisi vitae odio",
+ "",
+ Array(),
+ Array(),
+ ""
+ )
+);
+?>
\ No newline at end of file
diff --git a/about/.section.php b/about/.section.php
new file mode 100644
index 0000000..058ad32
--- /dev/null
+++ b/about/.section.php
@@ -0,0 +1,3 @@
+
+$sSectionName="About us";
+?>
\ No newline at end of file
diff --git a/about/index.php b/about/index.php
new file mode 100644
index 0000000..faf6ca0
--- /dev/null
+++ b/about/index.php
@@ -0,0 +1,92 @@
+SetTitle("About us");?>
+
+
+
+
+
+
+
+
+
+ “Quisque in enim velit, at dignissim est. nulla ul corper, dolor ac pellentesque placerat, justo tellus gravida erat, vel porttitor libero erat.”
+ John Doe, Lorem Ipsum
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean non neque ac sem accumsan rhoncus ut ut turpis. In hac habitasse platea dictumst. Proin eget nisi erat, et feugiat arcu. Duis semper porttitor lectus, ac pharetra erat imperdiet nec. Morbi interdum felis nulla. Aenean eros orci, pellentesque sed egestas vitae, auctor aliquam nisi. Nulla nec libero eget sem rutrum iaculis. Quisque in enim velit, at dignissim est. Nulla ullamcorper, dolor ac pellentesque placerat, justo tellus gravida erat, vel porttitor libero erat condimentum metus. Donec sodales aliquam orci id suscipit. Proin sed risus sit amet massa ultrices laoreet quis a erat. Aliquam et metus id erat vulputate egestas. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
+
+ Donec vel nisl nibh. Aenean quam tortor, tempus sit amet mattis dapibus, egestas tempor dui. Duis vestibulum imperdiet risus pretium pretium. Nunc vitae porta ligula. Vestibulum sit amet nulla quam. Aenean lacinia, ante vitae sodales sagittis, leo felis bibendum neque, mattis sagittis neque urna vel magna. Sed at sem vitae lorem blandit feugiat.
+
+ Donec vel orci purus, ut ornare orci. Aenean rutrum pellentesque quam. Quisque gravida adipiscing augue, eget commodo augue egestas varius. Integer volutpat, tellus porta tincidunt sodales, lacus est tempus odio, fringilla blandit tortor lectus ut sem. Pellentesque nec sem lacus, sit amet consequat neque. Etiam varius urna quis arcu cursus in consectetur dui tincidunt. Quisque arcu orci, lacinia eget pretium vel, iaculis pellentesque nibh. Etiam cursus lacus eget neque viverra vestibulum. Aliquam erat volutpat. Duis pulvinar tellus ut urna facilisis mollis. Maecenas ac pharetra dui. Pellentesque neque ante, luctus eget congue eget, rhoncus vel mauris. Duis nisi magna, aliquet a convallis non, venenatis at nisl. Nunc at quam eu magna malesuada dignissim. Duis bibendum iaculis felis, eu venenatis risus sodales non. In ligula mi, faucibus eu tristique sed, vulputate rutrum dolor.
+
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean non neque ac sem accumsan rhoncus ut ut turpis. In hac habitasse platea dictumst. Proin eget nisi erat, et feugiat arcu. Duis semper porttitor lectus, ac pharetra erat imperdiet nec. Morbi interdum felis nulla. Aenean eros orci, pellentesque sed egestas vitae, auctor aliquam nisi. Nulla nec libero eget sem rutrum iaculis. Quisque in enim velit, at dignissim est. Nulla ullamcorper, dolor ac pellentesque placerat, justo tellus gravida erat, vel porttitor libero erat condimentum metus. Donec sodales aliquam orci id suscipit. Proin sed risus sit amet massa ultrices laoreet quis a erat. Aliquam et metus id erat vulputate egestas. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
+
+
+
+
+
+
+
+
+
+
+
+$APPLICATION->IncludeComponent("bitrix:news.list", "team-list", array(
+ "IBLOCK_TYPE" => "Content",
+ "IBLOCK_ID" => "TEAM",
+ "NEWS_COUNT" => "20",
+ "SORT_BY1" => "ACTIVE_FROM",
+ "SORT_ORDER1" => "DESC",
+ "SORT_BY2" => "SORT",
+ "SORT_ORDER2" => "ASC",
+ "FILTER_NAME" => "",
+ "FIELD_CODE" => array(
+ 0 => "",
+ 1 => "",
+ ),
+ "PROPERTY_CODE" => array(
+ 0 => "",
+ 1 => "POSITION",
+ 2 => "",
+ ),
+ "CHECK_DATES" => "Y",
+ "DETAIL_URL" => "",
+ "AJAX_MODE" => "N",
+ "AJAX_OPTION_JUMP" => "N",
+ "AJAX_OPTION_STYLE" => "Y",
+ "AJAX_OPTION_HISTORY" => "N",
+ "CACHE_TYPE" => "A",
+ "CACHE_TIME" => "36000000",
+ "CACHE_FILTER" => "N",
+ "CACHE_GROUPS" => "Y",
+ "PREVIEW_TRUNCATE_LEN" => "",
+ "ACTIVE_DATE_FORMAT" => "d.m.Y",
+ "SET_TITLE" => "N",
+ "SET_STATUS_404" => "N",
+ "INCLUDE_IBLOCK_INTO_CHAIN" => "Y",
+ "ADD_SECTIONS_CHAIN" => "Y",
+ "HIDE_LINK_WHEN_NO_DETAIL" => "N",
+ "PARENT_SECTION" => "",
+ "PARENT_SECTION_CODE" => "",
+ "INCLUDE_SUBSECTIONS" => "Y",
+ "PAGER_TEMPLATE" => ".default",
+ "DISPLAY_TOP_PAGER" => "N",
+ "DISPLAY_BOTTOM_PAGER" => "N",
+ "PAGER_TITLE" => "Новости",
+ "PAGER_SHOW_ALWAYS" => "N",
+ "PAGER_DESC_NUMBERING" => "N",
+ "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000",
+ "PAGER_SHOW_ALL" => "N",
+ "DISPLAY_DATE" => "Y",
+ "DISPLAY_NAME" => "Y",
+ "DISPLAY_PICTURE" => "Y",
+ "DISPLAY_PREVIEW_TEXT" => "Y",
+ "LIST_NAME" => "Our Team",
+ "AJAX_OPTION_ADDITIONAL" => ""
+ ),
+ false
+);?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/.styles.php b/bitrix/templates/whitesquare-bootstrap/.styles.php
new file mode 100644
index 0000000..30dfef3
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/.styles.php
@@ -0,0 +1,5 @@
+
+return array(
+ "jumbotron" => "цитата",
+);
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/.parameters.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/.parameters.php
new file mode 100644
index 0000000..ea3da30
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/.parameters.php
@@ -0,0 +1,12 @@
+
+if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
+
+
+$arTemplateParameters = array(
+ "SIDEBAR_MAP_NAME" => Array(
+ "NAME" => GetMessage("SIDEBAR_MAP_NAME"),
+ "TYPE" => "HTML",
+ "DEFAULT" => "Our offices",
+ ),
+);
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/lang/en/.parameters.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/lang/en/.parameters.php
new file mode 100644
index 0000000..20ff105
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/lang/en/.parameters.php
@@ -0,0 +1 @@
+$MESS ['SIDEBAR_MAP_NAME'] = "Sidebar Map Name";?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/lang/en/template.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/lang/en/template.php
new file mode 100644
index 0000000..3f77f75
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/lang/en/template.php
@@ -0,0 +1,8 @@
+
+$MESS['MYMS_TPL_SEARCH'] = "Search Address";
+$MESS['MYMS_TPL_SUBMIT'] = "Search";
+$MESS['MYMS_TPL_JS_ERROR'] = "Error";
+$MESS['MYMS_TPL_JS_SEARCH'] = "Search Results";
+$MESS['MYMS_TPL_JS_RESULTS'] = "found";
+$MESS['MYMS_TPL_JS_RESULTS_EMPTY'] = "Your search did not match any locations.";
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/lang/ru/.parameters.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/lang/ru/.parameters.php
new file mode 100644
index 0000000..7017352
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/lang/ru/.parameters.php
@@ -0,0 +1 @@
+$MESS ['SIDEBAR_MAP_NAME'] = "Название карты";?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/lang/ru/template.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/lang/ru/template.php
new file mode 100644
index 0000000..5c8c157
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/lang/ru/template.php
@@ -0,0 +1,8 @@
+
+$MESS['MYMS_TPL_SEARCH'] = 'Поиск по адресу';
+$MESS['MYMS_TPL_SUBMIT'] = 'Искать';
+$MESS['MYMS_TPL_JS_ERROR'] = 'Ошибка';
+$MESS['MYMS_TPL_JS_SEARCH'] = 'Результаты поиска';
+$MESS['MYMS_TPL_JS_RESULTS'] = 'результатов найдено';
+$MESS['MYMS_TPL_JS_RESULTS_EMPTY'] = 'Ничего не найдено';
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/script.js b/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/script.js
new file mode 100644
index 0000000..6f00336
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/script.js
@@ -0,0 +1,49 @@
+if (!window.BX_GMapAddPlacemark)
+{
+ window.BX_GMapAddPlacemark = function(arPlacemark, map_id)
+ {
+ var map = GLOBAL_arMapObjects[map_id];
+
+ if (null == map)
+ return false;
+
+ if(!arPlacemark.LAT || !arPlacemark.LON)
+ return false;
+
+ var obPlacemark = new google.maps.Marker({
+ 'position': new google.maps.LatLng(arPlacemark.LAT, arPlacemark.LON),
+ 'map': map
+ });
+
+ if (BX.type.isNotEmptyString(arPlacemark.TEXT))
+ {
+ obPlacemark.infowin = new google.maps.InfoWindow({
+ content: arPlacemark.TEXT.replace(/\n/g, ' ')
+ });
+
+ google.maps.event.addListener(obPlacemark, 'click', function() {
+ if (null != window['__bx_google_infowin_opened_' + map_id])
+ window['__bx_google_infowin_opened_' + map_id].close();
+
+ this.infowin.open(this.map, this);
+ window['__bx_google_infowin_opened_' + map_id] = this.infowin;
+ });
+ }
+
+ return obPlacemark;
+ }
+}
+
+if (null == window.BXWaitForMap_view)
+{
+ function BXWaitForMap_view(map_id)
+ {
+ if (null == window.GLOBAL_arMapObjects)
+ return;
+
+ if (window.GLOBAL_arMapObjects[map_id])
+ window['BX_SetPlacemarks_' + map_id]();
+ else
+ setTimeout('BXWaitForMap_view(\'' + map_id + '\')', 300);
+ }
+}
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/template.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/template.php
new file mode 100644
index 0000000..9c6cdad
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/map.google.view/sidebar-map/template.php
@@ -0,0 +1,79 @@
+
+
+
+if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
+
+$arTransParams = array(
+ 'INIT_MAP_TYPE' => $arParams['INIT_MAP_TYPE'],
+ 'INIT_MAP_LON' => $arResult['POSITION']['google_lon'],
+ 'INIT_MAP_LAT' => $arResult['POSITION']['google_lat'],
+ 'INIT_MAP_SCALE' => $arResult['POSITION']['google_scale'],
+ 'MAP_WIDTH' => $arParams['MAP_WIDTH'],
+ 'MAP_HEIGHT' => $arParams['MAP_HEIGHT'],
+ 'CONTROLS' => $arParams['CONTROLS'],
+ 'OPTIONS' => $arParams['OPTIONS'],
+ 'MAP_ID' => $arParams['MAP_ID'],
+);
+
+if ($arParams['DEV_MODE'] == 'Y')
+{
+ $arTransParams['DEV_MODE'] = 'Y';
+ if ($arParams['WAIT_FOR_EVENT'])
+ $arTransParams['WAIT_FOR_EVENT'] = $arParams['WAIT_FOR_EVENT'];
+}
+?>
+
+
+
+
+
+
+
=$arParams['SIDEBAR_MAP_NAME']?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+//echo '
'; print_r($arResult['POSITION']); echo ' ';
+
+$APPLICATION->IncludeComponent('bitrix:map.google.system', '.default', $arTransParams, false, array('HIDE_ICONS' => 'Y'));
+?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/bottom/.description.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/bottom/.description.php
new file mode 100644
index 0000000..d214dd2
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/bottom/.description.php
@@ -0,0 +1,8 @@
+
+if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
+
+$arTemplateDescription = array(
+ "NAME" => GetMessage("MENU_DOT_DEFAULT_NAME"),
+ "DESCRIPTION" => GetMessage("MENU_DOT_DEFAULT_DESC"),
+);
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/bottom/images/left_menu_bg.gif b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/bottom/images/left_menu_bg.gif
new file mode 100644
index 0000000..67ed566
Binary files /dev/null and b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/bottom/images/left_menu_bg.gif differ
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/bottom/lang/en/.description.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/bottom/lang/en/.description.php
new file mode 100644
index 0000000..6af1d9b
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/bottom/lang/en/.description.php
@@ -0,0 +1,4 @@
+
+$MESS ['MENU_DOT_DEFAULT_NAME'] = "Default vertical menu";
+$MESS ['MENU_DOT_DEFAULT_DESC'] = "Default vertical menu";
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/bottom/lang/ru/.description.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/bottom/lang/ru/.description.php
new file mode 100644
index 0000000..45e1475
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/bottom/lang/ru/.description.php
@@ -0,0 +1,4 @@
+
+$MESS ['MENU_DOT_DEFAULT_NAME'] = "Вертикальное меню по умолчанию";
+$MESS ['MENU_DOT_DEFAULT_DESC'] = "Вертикальное меню по умолчанию";
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/bottom/style.css b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/bottom/style.css
new file mode 100644
index 0000000..bb279eb
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/bottom/style.css
@@ -0,0 +1,43 @@
+/* Left menu*/
+ul.left-menu
+{
+ list-style:none;
+ margin:0; padding:0;
+ margin-bottom:8px;
+ position: relative; /*IE bug*/
+}
+
+ul.left-menu li
+{
+ padding: 10px 16px;
+ background:#F5F5F5 url(images/left_menu_bg.gif) top repeat-x;
+}
+
+ul.left-menu li a
+{
+ font-size:100%;
+ color:#BC262C;
+ font-weight:bold;
+ text-decoration:none;
+}
+
+ul.left-menu li a:visited
+{
+ color:#BC262C;
+}
+
+ul.left-menu li a:hover
+{
+ color:#BC262C;
+}
+
+
+ul.left-menu li a.selected:link,
+ul.left-menu li a.selected:visited,
+ul.left-menu li a.selected:active,
+ul.left-menu li a.selected:hover
+{
+ color:#FC8D3D;
+}
+
+
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/bottom/template.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/bottom/template.php
new file mode 100644
index 0000000..4bde490
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/bottom/template.php
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+foreach($arResult as $arItem):
+ if($arParams["MAX_LEVEL"] == 1 && $arItem["DEPTH_LEVEL"] > 1)
+ continue;
+?>
+
+
">=$arItem["TEXT"]?>
+
+
+
+
+
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/left/.description.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/left/.description.php
new file mode 100644
index 0000000..d214dd2
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/left/.description.php
@@ -0,0 +1,8 @@
+
+if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
+
+$arTemplateDescription = array(
+ "NAME" => GetMessage("MENU_DOT_DEFAULT_NAME"),
+ "DESCRIPTION" => GetMessage("MENU_DOT_DEFAULT_DESC"),
+);
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/left/images/left_menu_bg.gif b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/left/images/left_menu_bg.gif
new file mode 100644
index 0000000..67ed566
Binary files /dev/null and b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/left/images/left_menu_bg.gif differ
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/left/lang/en/.description.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/left/lang/en/.description.php
new file mode 100644
index 0000000..6af1d9b
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/left/lang/en/.description.php
@@ -0,0 +1,4 @@
+
+$MESS ['MENU_DOT_DEFAULT_NAME'] = "Default vertical menu";
+$MESS ['MENU_DOT_DEFAULT_DESC'] = "Default vertical menu";
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/left/lang/ru/.description.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/left/lang/ru/.description.php
new file mode 100644
index 0000000..45e1475
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/left/lang/ru/.description.php
@@ -0,0 +1,4 @@
+
+$MESS ['MENU_DOT_DEFAULT_NAME'] = "Вертикальное меню по умолчанию";
+$MESS ['MENU_DOT_DEFAULT_DESC'] = "Вертикальное меню по умолчанию";
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/left/style.css b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/left/style.css
new file mode 100644
index 0000000..bb279eb
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/left/style.css
@@ -0,0 +1,43 @@
+/* Left menu*/
+ul.left-menu
+{
+ list-style:none;
+ margin:0; padding:0;
+ margin-bottom:8px;
+ position: relative; /*IE bug*/
+}
+
+ul.left-menu li
+{
+ padding: 10px 16px;
+ background:#F5F5F5 url(images/left_menu_bg.gif) top repeat-x;
+}
+
+ul.left-menu li a
+{
+ font-size:100%;
+ color:#BC262C;
+ font-weight:bold;
+ text-decoration:none;
+}
+
+ul.left-menu li a:visited
+{
+ color:#BC262C;
+}
+
+ul.left-menu li a:hover
+{
+ color:#BC262C;
+}
+
+
+ul.left-menu li a.selected:link,
+ul.left-menu li a.selected:visited,
+ul.left-menu li a.selected:active,
+ul.left-menu li a.selected:hover
+{
+ color:#FC8D3D;
+}
+
+
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/left/template.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/left/template.php
new file mode 100644
index 0000000..501ded8
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/left/template.php
@@ -0,0 +1,20 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/top/.description.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/top/.description.php
new file mode 100644
index 0000000..d214dd2
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/top/.description.php
@@ -0,0 +1,8 @@
+
+if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
+
+$arTemplateDescription = array(
+ "NAME" => GetMessage("MENU_DOT_DEFAULT_NAME"),
+ "DESCRIPTION" => GetMessage("MENU_DOT_DEFAULT_DESC"),
+);
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/top/images/left_menu_bg.gif b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/top/images/left_menu_bg.gif
new file mode 100644
index 0000000..67ed566
Binary files /dev/null and b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/top/images/left_menu_bg.gif differ
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/top/lang/en/.description.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/top/lang/en/.description.php
new file mode 100644
index 0000000..6af1d9b
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/top/lang/en/.description.php
@@ -0,0 +1,4 @@
+
+$MESS ['MENU_DOT_DEFAULT_NAME'] = "Default vertical menu";
+$MESS ['MENU_DOT_DEFAULT_DESC'] = "Default vertical menu";
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/top/lang/ru/.description.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/top/lang/ru/.description.php
new file mode 100644
index 0000000..45e1475
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/top/lang/ru/.description.php
@@ -0,0 +1,4 @@
+
+$MESS ['MENU_DOT_DEFAULT_NAME'] = "Вертикальное меню по умолчанию";
+$MESS ['MENU_DOT_DEFAULT_DESC'] = "Вертикальное меню по умолчанию";
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/top/style.css b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/top/style.css
new file mode 100644
index 0000000..bb279eb
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/top/style.css
@@ -0,0 +1,43 @@
+/* Left menu*/
+ul.left-menu
+{
+ list-style:none;
+ margin:0; padding:0;
+ margin-bottom:8px;
+ position: relative; /*IE bug*/
+}
+
+ul.left-menu li
+{
+ padding: 10px 16px;
+ background:#F5F5F5 url(images/left_menu_bg.gif) top repeat-x;
+}
+
+ul.left-menu li a
+{
+ font-size:100%;
+ color:#BC262C;
+ font-weight:bold;
+ text-decoration:none;
+}
+
+ul.left-menu li a:visited
+{
+ color:#BC262C;
+}
+
+ul.left-menu li a:hover
+{
+ color:#BC262C;
+}
+
+
+ul.left-menu li a.selected:link,
+ul.left-menu li a.selected:visited,
+ul.left-menu li a.selected:active,
+ul.left-menu li a.selected:hover
+{
+ color:#FC8D3D;
+}
+
+
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/top/template.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/top/template.php
new file mode 100644
index 0000000..c09f542
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/menu/top/template.php
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/.parameters.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/.parameters.php
new file mode 100644
index 0000000..df59882
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/.parameters.php
@@ -0,0 +1,31 @@
+
+if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die();
+
+$arTemplateParameters = array(
+ "DISPLAY_DATE" => Array(
+ "NAME" => GetMessage("T_IBLOCK_DESC_NEWS_DATE"),
+ "TYPE" => "CHECKBOX",
+ "DEFAULT" => "Y",
+ ),
+ "DISPLAY_NAME" => Array(
+ "NAME" => GetMessage("T_IBLOCK_DESC_NEWS_NAME"),
+ "TYPE" => "CHECKBOX",
+ "DEFAULT" => "Y",
+ ),
+ "DISPLAY_PICTURE" => Array(
+ "NAME" => GetMessage("T_IBLOCK_DESC_NEWS_PICTURE"),
+ "TYPE" => "CHECKBOX",
+ "DEFAULT" => "Y",
+ ),
+ "DISPLAY_PREVIEW_TEXT" => Array(
+ "NAME" => GetMessage("T_IBLOCK_DESC_NEWS_TEXT"),
+ "TYPE" => "CHECKBOX",
+ "DEFAULT" => "Y",
+ ),
+ "LIST_NAME" => Array(
+ "NAME" => GetMessage("LIST_NAME"),
+ "TYPE" => "HTML",
+ "DEFAULT" => "Our Team",
+ ),
+);
+?>
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/lang/en/.parameters.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/lang/en/.parameters.php
new file mode 100644
index 0000000..c2ff190
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/lang/en/.parameters.php
@@ -0,0 +1,7 @@
+
+$MESS ['T_IBLOCK_DESC_NEWS_DATE'] = "Display element date";
+$MESS ['T_IBLOCK_DESC_NEWS_NAME'] = "Display element title";
+$MESS ['T_IBLOCK_DESC_NEWS_PICTURE'] = "Display element preview picture";
+$MESS ['T_IBLOCK_DESC_NEWS_TEXT'] = "Display element preview text";
+$MESS ['LIST_NAME'] = "Title of list";
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/lang/en/template.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/lang/en/template.php
new file mode 100644
index 0000000..49b692a
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/lang/en/template.php
@@ -0,0 +1,3 @@
+
+$MESS["CT_BNL_ELEMENT_DELETE_CONFIRM"] = "All the information linked to this record will be deleted. Continue anyway?";
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/lang/ru/.parameters.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/lang/ru/.parameters.php
new file mode 100644
index 0000000..1883864
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/lang/ru/.parameters.php
@@ -0,0 +1,7 @@
+
+$MESS ['T_IBLOCK_DESC_NEWS_DATE'] = "Выводить дату элемента";
+$MESS ['T_IBLOCK_DESC_NEWS_NAME'] = "Выводить название элемента";
+$MESS ['T_IBLOCK_DESC_NEWS_PICTURE'] = "Выводить изображение для анонса";
+$MESS ['T_IBLOCK_DESC_NEWS_TEXT'] = "Выводить текст анонса";
+$MESS ['LIST_NAME'] = "Заголовок списка";
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/lang/ru/template.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/lang/ru/template.php
new file mode 100644
index 0000000..af4d046
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/lang/ru/template.php
@@ -0,0 +1,3 @@
+
+$MESS["CT_BNL_ELEMENT_DELETE_CONFIRM"] = "Будет удалена вся информация, связанная с этой записью. Продолжить?";
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/style.css b/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/style.css
new file mode 100644
index 0000000..c746576
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/style.css
@@ -0,0 +1,8 @@
+div.news-list img.preview_picture
+{
+ float:left;
+ margin:0 4px 6px 0;
+}
+.news-date-time {
+ color:#486DAA;
+}
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/template.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/template.php
new file mode 100644
index 0000000..d355c27
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/news.list/team-list/template.php
@@ -0,0 +1,44 @@
+
+=$arParams['LIST_NAME']?>
+
+
+
+
+ =$arResult["NAV_STRING"]?>
+
+
+
+ $this->AddEditAction($arItem['ID'], $arItem['EDIT_LINK'], CIBlock::GetArrayByID($arItem["IBLOCK_ID"], "ELEMENT_EDIT"));
+ $this->AddDeleteAction($arItem['ID'], $arItem['DELETE_LINK'], CIBlock::GetArrayByID($arItem["IBLOCK_ID"], "ELEMENT_DELETE"), array("CONFIRM" => GetMessage('CT_BNL_ELEMENT_DELETE_CONFIRM')));
+ ?>
+
+
" alt="=$arItem["PREVIEW_PICTURE"]["ALT"]?>" title="=$arItem["PREVIEW_PICTURE"]["TITLE"]?>" class="thumbnail">
+
+
+
=$arItem["PROPERTIES"]["POSITION"]["VALUE"]?>
+
+
+
+
+$i++;
+if ($i >= 5) {
+ $i = 0;
+?>
+
+
+}
+?>
+
+
+
+if ($i > 0) {
+?>
+
+
+}
+?>
+
+
=$arResult["NAV_STRING"]?>
+
+
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/bitrix/search.suggest.input/top/lang/en/template.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/bitrix/search.suggest.input/top/lang/en/template.php
new file mode 100644
index 0000000..639620b
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/bitrix/search.suggest.input/top/lang/en/template.php
@@ -0,0 +1,3 @@
+
+$MESS ['BSF_T_SEARCH_FORM'] = "Search";
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/bitrix/search.suggest.input/top/lang/ru/template.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/bitrix/search.suggest.input/top/lang/ru/template.php
new file mode 100644
index 0000000..39a37c2
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/bitrix/search.suggest.input/top/lang/ru/template.php
@@ -0,0 +1,3 @@
+
+$MESS ['BSF_T_SEARCH_FORM'] = "Запрос";
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/bitrix/search.suggest.input/top/script.js b/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/bitrix/search.suggest.input/top/script.js
new file mode 100644
index 0000000..e350d99
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/bitrix/search.suggest.input/top/script.js
@@ -0,0 +1,561 @@
+if (typeof oObject != "object")
+ window.oObject = {};
+
+function JsSuggest(oHandler, sParams, sParser)
+{
+ var
+ t = this,
+ tmp = 0;
+
+ t.oObj = oHandler;
+ t.sParams = sParams;
+ // Arrays for data
+ if (sParser)
+ {
+ t.sExp = new RegExp("["+sParser+"]+", "i");
+ }
+ else
+ {
+ t.sExp = new RegExp(",");
+ }
+ t.oLast = {"str":false, "arr":false};
+ t.oThis = {"str":false, "arr":false};
+ t.oEl = {"start":false, "end":false};
+ t.oUnfinedWords = {};
+ // Flags
+ t.bReady = true, t.eFocus = true;
+ // Array with results & it`s showing
+ t.aDiv = null, t.oDiv = null;
+ // Pointers
+ t.oActive = null, t.oPointer = Array(), t.oPointer_default = Array(), t.oPointer_this = 'input_field';
+
+ t.oObj.onblur = function(){t.eFocus = false;}
+ t.oObj.onfocus = function(){if (!t.eFocus){t.eFocus = true; setTimeout(function(){t.CheckModif('focus')}, 500);}}
+
+ t.oLast["arr"] = t.oObj.value.split(t.sExp);
+ t.oLast["str"] = t.oLast["arr"].join(":");
+
+ setTimeout(function(){t.CheckModif('this')}, 500);
+
+ this.CheckModif = function(__data)
+ {
+ var
+ sThis = false, tmp = 0,
+ bUnfined = false, word = "",
+ cursor = {};
+
+ if (!t.eFocus)
+ return;
+
+ if (t.bReady && t.oObj.value.length > 0)
+ {
+ // Preparing input data
+ t.oThis["arr"] = t.oObj.value.split(t.sExp);
+ t.oThis["str"] = t.oThis["arr"].join(":");
+
+ // Getting modificated element
+ if (t.oThis["str"] && (t.oThis["str"] != t.oLast["str"]))
+ {
+ cursor['position'] = TCJsUtils.getCursorPosition(t.oObj);
+ if (cursor['position']['end'] > 0 && !t.sExp.test(t.oObj.value.substr(cursor['position']['end']-1, 1)))
+ {
+ cursor['arr'] = t.oObj.value.substr(0, cursor['position']['end']).split(t.sExp);
+ sThis = t.oThis["arr"][cursor['arr'].length - 1];
+
+ t.oEl['start'] = cursor['position']['end'] - cursor['arr'][cursor['arr'].length - 1].length;
+ t.oEl['end'] = t.oEl['start'] + sThis.length;
+ t.oEl['content'] = sThis;
+
+ t.oLast["arr"] = t.oThis["arr"];
+ t.oLast["str"] = t.oThis["str"];
+ }
+ }
+ if (sThis)
+ {
+ // Checking for UnfinedWords
+ for (tmp = 2; tmp <= sThis.length; tmp++)
+ {
+ word = sThis.substr(0, tmp);
+ if (t.oUnfinedWords[word] == '!fined')
+ {
+ bUnfined = true;
+ break;
+ }
+ }
+ if (!bUnfined)
+ t.Send(sThis);
+ }
+ }
+ setTimeout(function(){t.CheckModif('this')}, 500);
+ },
+
+ t.Send = function(sSearch)
+ {
+ if (!sSearch)
+ return false;
+
+ var TID = null, oError = Array();
+ t.bReady = false;
+ if (BX('wait_container'))
+ {
+ BX('wait_container').innerHTML = BX.message('JS_CORE_LOADING');
+ BX.show(BX('wait_container'));
+ }
+ BX.ajax.post(
+ '/bitrix/components/bitrix/search.suggest.input/search.php',
+ {"search":sSearch, "params":t.sParams},
+ function(data)
+ {
+ var result = {};
+ t.bReady = true;
+
+ try
+ {
+ eval("result = " + data + ";");
+ }
+ catch(e)
+ {
+ oError['result_unval'] = e;
+ }
+
+ if (TCJsUtils.empty(result))
+ oError['result_empty'] = 'Empty result';
+
+ try
+ {
+ if (TCJsUtils.empty(oError) && (typeof result == 'object'))
+ {
+ if (!(result.length == 1 && result[0]['NAME'] == t.oEl['content']))
+ {
+ t.Show(result);
+ return;
+ }
+ }
+ else
+ {
+ t.oUnfinedWords[t.oEl['content']] = '!fined';
+ }
+ }
+ catch(e)
+ {
+ oError['unknown_error'] = e;
+ }
+
+ if(BX('wait_container'))
+ BX.hide(BX('wait_container'));
+
+ return;
+ }
+ );
+ },
+
+ t.Show = function(result)
+ {
+ t.Destroy();
+ t.oDiv = document.body.appendChild(document.createElement("DIV"));
+ t.oDiv.id = t.oObj.id+'_div';
+
+ t.oDiv.className = "search-popup";
+ t.oDiv.style.position = 'absolute';
+
+ t.aDiv = t.Print(result);
+ var pos = TCJsUtils.GetRealPos(t.oObj);
+ t.oDiv.style.width = parseInt(pos["width"]) + "px";
+ TCJsUtils.show(t.oDiv, pos["left"], pos["bottom"]);
+ TCJsUtils.addEvent(document, "click", t.CheckMouse);
+ TCJsUtils.addEvent(document, "keydown", t.CheckKeyword);
+ },
+
+ t.Print = function(aArr)
+ {
+ var
+ aEl = null, sPrefix = '', sColumn = '',
+ aResult = Array(), aRes = Array(),
+ iCnt = 0, tmp = 0, tmp_ = 0, bFirst = true,
+ oDiv = null, oSpan = null;
+
+ sPrefix = t.oDiv.id;
+
+ for (tmp_ in aArr)
+ {
+ // Math
+ aEl = aArr[tmp_];
+ aRes = Array();
+ aRes['ID'] = (aEl['ID'] && aEl['ID'].length > 0) ? aEl['ID'] : iCnt++;
+ aRes['GID'] = sPrefix + '_' + aRes['ID'];
+ aRes['NAME'] = TCJsUtils.htmlspecialcharsEx(aEl['NAME']);
+ aRes['CNT'] = aEl['CNT'];
+ aResult[aRes['GID']] = aRes;
+ t.oPointer.push(aRes['GID']);
+ // Graph
+ oDiv = t.oDiv.appendChild(document.createElement("DIV"));
+ oDiv.id = aRes['GID'];
+ oDiv.name = sPrefix + '_div';
+
+ oDiv.className = 'search-popup-row';
+
+ oDiv.onmouseover = function(){t.Init(); this.className='search-popup-row-active';};
+ oDiv.onmouseout = function(){t.Init(); this.className='search-popup-row';};
+ oDiv.onclick = function(){t.oActive = this.id};
+
+ oSpan = oDiv.appendChild(document.createElement("DIV"));
+ oSpan.id = oDiv.id + '_NAME';
+ oSpan.className = "search-popup-el search-popup-el-cnt";
+ oSpan.innerHTML = aRes['CNT'];
+
+ oSpan = oDiv.appendChild(document.createElement("DIV"));
+ oSpan.id = oDiv.id + '_NAME';
+ oSpan.className = "search-popup-el search-popup-el-name";
+ oSpan.innerHTML = aRes['NAME'];
+
+ }
+ t.oPointer.push('input_field');
+ t.oPointer_default = t.oPointer;
+ return aResult;
+ },
+
+ t.Destroy = function()
+ {
+ try
+ {
+ TCJsUtils.hide(t.oDiv);
+ t.oDiv.parentNode.removeChild(t.oDiv);
+ }
+ catch(e)
+ {}
+ t.aDiv = Array();
+ t.oPointer = Array(), t.oPointer_default = Array(), t.oPointer_this = 'input_field';
+ t.bReady = true, t.eFocus = true, oError = {},
+ t.oActive = null;
+
+ TCJsUtils.removeEvent(document, "click", t.CheckMouse);
+ TCJsUtils.removeEvent(document, "keydown", t.CheckKeyword);
+ },
+
+ t.Replace = function()
+ {
+ if (typeof t.oActive == 'string')
+ {
+ var tmp = t.aDiv[t.oActive];
+ var tmp1 = '';
+ if (typeof tmp == 'object')
+ {
+ var elEntities = document.createElement("span");
+ elEntities.innerHTML = TCJsUtils.htmlspecialcharsback(tmp['NAME']);
+ tmp1 = elEntities.innerHTML;
+ }
+ //this preserves leading spaces
+ var start = t.oEl['start'];
+ while(start < t.oObj.value.length && t.oObj.value.substring(start, start+1) == " ")
+ start++;
+
+ t.oObj.value = t.oObj.value.substring(0, start) + tmp1 + t.oObj.value.substr(t.oEl['end']);
+ TCJsUtils.setCursorPosition(t.oObj, start + tmp1.length);
+ }
+ return;
+ },
+
+ t.Init = function()
+ {
+ t.oActive = false;
+ t.oPointer = t.oPointer_default;
+ t.Clear();
+ t.oPointer_this = 'input_pointer';
+ },
+
+ t.Clear = function()
+ {
+ var oEl = {}, ii = '';
+ oEl = t.oDiv.getElementsByTagName("div");
+ if (oEl.length > 0 && typeof oEl == 'object')
+ {
+ for (ii in oEl)
+ {
+ var oE = oEl[ii];
+ if (oE && (typeof oE == 'object') && (oE.name == t.oDiv.id + '_div'))
+ {
+ oE.className = "search-popup-row";
+ }
+ }
+ }
+ return;
+ },
+
+ t.CheckMouse = function()
+ {
+ t.Replace();
+ t.Destroy();
+ },
+
+ t.CheckKeyword = function(e)
+ {
+ if (!e)
+ e = window.event;
+ var
+ oP = null,
+ oEl = null,
+ ii = null;
+ if ((37 < e.keyCode && e.keyCode <41) || (e.keyCode == 13))
+ {
+ t.Clear();
+
+ switch (e.keyCode)
+ {
+ case 38:
+ oP = t.oPointer.pop();
+ if (t.oPointer_this == oP)
+ {
+ t.oPointer.unshift(oP);
+ oP = t.oPointer.pop();
+ }
+
+ if (oP != 'input_field')
+ {
+ t.oActive = oP;
+ oEl = document.getElementById(oP);
+ if (typeof oEl == 'object')
+ {
+ oEl.className = "search-popup-row-active";
+ }
+ }
+ t.oPointer.unshift(oP);
+ break;
+ case 40:
+ oP = t.oPointer.shift();
+ if (t.oPointer_this == oP)
+ {
+ t.oPointer.push(oP);
+ oP = t.oPointer.shift();
+ }
+ if (oP != 'input_field')
+ {
+ t.oActive = oP;
+ oEl = document.getElementById(oP);
+ if (typeof oEl == 'object')
+ {
+ oEl.className = "search-popup-row-active";
+ }
+ }
+ t.oPointer.push(oP);
+ break;
+ case 39:
+ t.Replace();
+ t.Destroy();
+ break;
+ case 13:
+ t.Replace();
+ t.Destroy();
+ break;
+ }
+ t.oPointer_this = oP;
+ }
+ else
+ {
+ t.Destroy();
+ }
+// return false;
+ }
+}
+
+var TCJsUtils =
+{
+ arEvents: Array(),
+
+ addEvent: function(el, evname, func)
+ {
+ if(el.attachEvent) // IE
+ el.attachEvent("on" + evname, func);
+ else if(el.addEventListener) // Gecko / W3C
+ el.addEventListener(evname, func, false);
+ else
+ el["on" + evname] = func;
+ this.arEvents[this.arEvents.length] = {'element': el, 'event': evname, 'fn': func};
+ },
+
+ removeEvent: function(el, evname, func)
+ {
+ if(el.detachEvent) // IE
+ el.detachEvent("on" + evname, func);
+ else if(el.removeEventListener) // Gecko / W3C
+ el.removeEventListener(evname, func, false);
+ else
+ el["on" + evname] = null;
+ },
+
+ getCursorPosition: function(oObj)
+ {
+ var result = {'start': 0, 'end': 0};
+ if (!oObj || (typeof oObj != 'object'))
+ return result;
+ try
+ {
+ if (document.selection != null && oObj.selectionStart == null)
+ {
+ oObj.focus();
+ var
+ oRange = document.selection.createRange(),
+ oParent = oRange.parentElement(),
+ sBookmark = oRange.getBookmark(),
+ sContents = sContents_ = oObj.value,
+ sMarker = '__' + Math.random() + '__';
+
+ while(sContents.indexOf(sMarker) != -1)
+ {
+ sMarker = '__' + Math.random() + '__';
+ }
+
+ if (!oParent || oParent == null || (oParent.type != "textarea" && oParent.type != "text"))
+ {
+ return result;
+ }
+
+ oRange.text = sMarker + oRange.text + sMarker;
+ sContents = oObj.value;
+ result['start'] = sContents.indexOf(sMarker);
+ sContents = sContents.replace(sMarker, "");
+ result['end'] = sContents.indexOf(sMarker);
+ oObj.value = sContents_;
+ oRange.moveToBookmark(sBookmark);
+ oRange.select();
+ return result;
+ }
+ else
+ {
+ return {
+ 'start': oObj.selectionStart,
+ 'end': oObj.selectionEnd
+ };
+ }
+ }
+ catch(e){}
+ return result;
+ },
+
+ setCursorPosition: function(oObj, iPosition)
+ {
+ var result = false;
+ if (typeof oObj != 'object')
+ return false;
+
+ oObj.focus();
+
+ try
+ {
+ if (document.selection != null && oObj.selectionStart == null)
+ {
+ var oRange = document.selection.createRange();
+ oRange.select();
+ }
+ else
+ {
+ oObj.selectionStart = iPosition;
+ oObj.selectionEnd = iPosition;
+ }
+ return true;
+ }
+ catch(e)
+ {
+ return false;
+ }
+
+ },
+
+ printArray: function (oObj, sParser, iLevel)
+ {
+ try
+ {
+ var result = '',
+ space = '',
+ i=null, j=0;
+
+ if (iLevel==undefined)
+ iLevel = 0;
+ if (!sParser)
+ sParser = "\n";
+
+ for (j=0; j<=iLevel; j++)
+ space += ' ';
+
+ for (i in oObj)
+ {
+ if (typeof oObj[i] == 'object')
+ result += space+i + " = {"+ sParser + TCJsUtils.printArray(oObj[i], sParser, iLevel+1) + ", " + sParser + "}" + sParser;
+ else
+ result += space+i + " = " + oObj[i] + "; " + sParser;
+ }
+ return result;
+ }
+ catch(e)
+ {
+ return;
+ }
+ },
+
+ empty: function(oObj)
+ {
+ var result = true;
+ if (oObj)
+ {
+ for (i in oObj)
+ {
+ result = false;
+ break;
+ }
+ }
+ return result;
+ },
+
+ show: function(oDiv, iLeft, iTop)
+ {
+ if (typeof oDiv != 'object')
+ return;
+ var zIndex = parseInt(oDiv.style.zIndex);
+ if(zIndex <= 0 || isNaN(zIndex))
+ zIndex = 100;
+ oDiv.style.zIndex = zIndex;
+ oDiv.style.left = iLeft + "px";
+ oDiv.style.top = iTop + "px";
+
+ return oDiv;
+ },
+
+ hide: function(oDiv)
+ {
+ if(oDiv)
+ oDiv.style.display = 'none';
+ },
+
+ GetRealPos: function(el)
+ {
+ if(!el || !el.offsetParent)
+ return false;
+ var res=Array();
+ var objParent = el.offsetParent;
+ res["left"] = el.offsetLeft;
+ res["top"] = el.offsetTop;
+ while(objParent && objParent.tagName != "BODY")
+ {
+ res["left"] += objParent.offsetLeft;
+ res["top"] += objParent.offsetTop;
+ objParent = objParent.offsetParent;
+ }
+ res["right"]=res["left"] + el.offsetWidth;
+ res["bottom"]=res["top"] + el.offsetHeight;
+ res["width"]=el.offsetWidth;
+ res["height"]=el.offsetHeight;
+ return res;
+ },
+
+ htmlspecialcharsEx: function(str)
+ {
+ res = str.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"').replace(//g, '>').replace(/"/g, '"');
+ return res;
+ },
+
+ htmlspecialcharsback: function(str)
+ {
+ res = str.replace(/</g, '<').replace(/>/g, '>').replace(/";/g, '"').replace(/&/g, '&');
+ return res;
+ }
+}
+SuggestLoaded = true;
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/bitrix/search.suggest.input/top/style.css b/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/bitrix/search.suggest.input/top/style.css
new file mode 100644
index 0000000..e7f2720
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/bitrix/search.suggest.input/top/style.css
@@ -0,0 +1,7 @@
+input.search-suggest {}
+div.search-popup{border: 1px solid #333333;background: #FFFFFF;padding: 2px;margin: 0px;}
+div.search-popup-row, div.search-popup-row-active{position: relative; padding: 2px 4px;margin: 0px;cursor: hand;cursor: pointer;}
+div.search-popup-row{background:#FFFFFF;}
+div.search-popup-row-active{background:#EEEEEE;}
+div.search-popup-el-name, div.search-popup-el-cnt{position: relative; margin:0px;padding:0px;text-align:left;}
+div.search-popup-el-cnt{text-align:right; float:right;}
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/bitrix/search.suggest.input/top/template.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/bitrix/search.suggest.input/top/template.php
new file mode 100644
index 0000000..276ad52
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/bitrix/search.suggest.input/top/template.php
@@ -0,0 +1,33 @@
+
+
+
+
+
+Search
+ " 0):?> size="" value="" autocomplete="off" onfocus="_CheckThis(this);" />
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/lang/en/template.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/lang/en/template.php
new file mode 100644
index 0000000..c0113e8
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/lang/en/template.php
@@ -0,0 +1,3 @@
+
+$MESS ['BSF_T_SEARCH_BUTTON'] = "GO";
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/lang/ru/template.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/lang/ru/template.php
new file mode 100644
index 0000000..d71d8ca
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/lang/ru/template.php
@@ -0,0 +1,3 @@
+
+$MESS ['BSF_T_SEARCH_BUTTON'] = "ИСКАТЬ";
+?>
\ No newline at end of file
diff --git a/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/template.php b/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/template.php
new file mode 100644
index 0000000..beaa58b
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/components/bitrix/search.form/top/template.php
@@ -0,0 +1,17 @@
+
+
+
\ No newline at end of file
diff --git a/www/css/bootstrap-theme.css b/bitrix/templates/whitesquare-bootstrap/css/bootstrap-theme.css
similarity index 100%
rename from www/css/bootstrap-theme.css
rename to bitrix/templates/whitesquare-bootstrap/css/bootstrap-theme.css
diff --git a/www/css/bootstrap-theme.min.css b/bitrix/templates/whitesquare-bootstrap/css/bootstrap-theme.min.css
similarity index 100%
rename from www/css/bootstrap-theme.min.css
rename to bitrix/templates/whitesquare-bootstrap/css/bootstrap-theme.min.css
diff --git a/www/css/bootstrap.css b/bitrix/templates/whitesquare-bootstrap/css/bootstrap.css
similarity index 100%
rename from www/css/bootstrap.css
rename to bitrix/templates/whitesquare-bootstrap/css/bootstrap.css
diff --git a/www/css/bootstrap.min.css b/bitrix/templates/whitesquare-bootstrap/css/bootstrap.min.css
similarity index 100%
rename from www/css/bootstrap.min.css
rename to bitrix/templates/whitesquare-bootstrap/css/bootstrap.min.css
diff --git a/www/css/styles.css b/bitrix/templates/whitesquare-bootstrap/css/styles.css
similarity index 100%
rename from www/css/styles.css
rename to bitrix/templates/whitesquare-bootstrap/css/styles.css
diff --git a/www/css/variables.css b/bitrix/templates/whitesquare-bootstrap/css/variables.css
similarity index 100%
rename from www/css/variables.css
rename to bitrix/templates/whitesquare-bootstrap/css/variables.css
diff --git a/bitrix/templates/whitesquare-bootstrap/description.php b/bitrix/templates/whitesquare-bootstrap/description.php
new file mode 100644
index 0000000..f0643bc
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/description.php
@@ -0,0 +1,6 @@
+$arTemplate = array(
+ "NAME" => "Шаблон 1 страницы для ХабраХабр",
+ "DESCRIPTION" => "Шаблон на основе Bootstrap вёрстки в светло-синих тонах",
+ "SORT" => 100,
+);
+?>
\ No newline at end of file
diff --git a/www/fonts/glyphicons-halflings-regular.eot b/bitrix/templates/whitesquare-bootstrap/fonts/glyphicons-halflings-regular.eot
similarity index 100%
rename from www/fonts/glyphicons-halflings-regular.eot
rename to bitrix/templates/whitesquare-bootstrap/fonts/glyphicons-halflings-regular.eot
diff --git a/www/fonts/glyphicons-halflings-regular.svg b/bitrix/templates/whitesquare-bootstrap/fonts/glyphicons-halflings-regular.svg
similarity index 100%
rename from www/fonts/glyphicons-halflings-regular.svg
rename to bitrix/templates/whitesquare-bootstrap/fonts/glyphicons-halflings-regular.svg
diff --git a/www/fonts/glyphicons-halflings-regular.ttf b/bitrix/templates/whitesquare-bootstrap/fonts/glyphicons-halflings-regular.ttf
similarity index 100%
rename from www/fonts/glyphicons-halflings-regular.ttf
rename to bitrix/templates/whitesquare-bootstrap/fonts/glyphicons-halflings-regular.ttf
diff --git a/www/fonts/glyphicons-halflings-regular.woff b/bitrix/templates/whitesquare-bootstrap/fonts/glyphicons-halflings-regular.woff
similarity index 100%
rename from www/fonts/glyphicons-halflings-regular.woff
rename to bitrix/templates/whitesquare-bootstrap/fonts/glyphicons-halflings-regular.woff
diff --git a/bitrix/templates/whitesquare-bootstrap/footer.php b/bitrix/templates/whitesquare-bootstrap/footer.php
new file mode 100644
index 0000000..e6cc001
--- /dev/null
+++ b/bitrix/templates/whitesquare-bootstrap/footer.php
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
+
+
+
+
+$APPLICATION->IncludeComponent(
+ "bitrix:main.include",
+ "",
+ Array(
+ "AREA_FILE_SHOW" => "file",
+ "PATH" => SITE_TEMPLATE_PATH."/include/sitemap.php",
+ "EDIT_TEMPLATE" => ""
+ ),
+false
+);?>
+
+$APPLICATION->IncludeComponent("bitrix:menu", "bottom", Array(
+ "ROOT_MENU_TYPE" => "bottomL",
+ "MENU_CACHE_TYPE" => "N",
+ "MENU_CACHE_TIME" => "3600",
+ "MENU_CACHE_USE_GROUPS" => "Y",
+ "MENU_CACHE_GET_VARS" => "",
+ "MAX_LEVEL" => "1",
+ "CHILD_MENU_TYPE" => "left",
+ "USE_EXT" => "N",
+ "DELAY" => "N",
+ "ALLOW_MULTI_SELECT" => "N",
+ ),
+ false
+);?>
+$APPLICATION->IncludeComponent("bitrix:menu", "bottom", Array(
+ "ROOT_MENU_TYPE" => "bottomR",
+ "MENU_CACHE_TYPE" => "N",
+ "MENU_CACHE_TIME" => "3600",
+ "MENU_CACHE_USE_GROUPS" => "Y",
+ "MENU_CACHE_GET_VARS" => "",
+ "MAX_LEVEL" => "1",
+ "CHILD_MENU_TYPE" => "left",
+ "USE_EXT" => "N",
+ "DELAY" => "N",
+ "ALLOW_MULTI_SELECT" => "N",
+ ),
+ false
+);?>
+
+
+
+$APPLICATION->IncludeComponent(
+ "bitrix:main.include",
+ "",
+ Array(
+ "AREA_FILE_SHOW" => "file",
+ "PATH" => SITE_TEMPLATE_PATH."/include/social-networks.php",
+ "EDIT_TEMPLATE" => ""
+ ),
+false
+);?>
+
+
+
+
+
+