SetTitle("Отзывы о клинике"); ?> SetAdditionalCSS(SITE_TEMPLATE_PATH."/css/MO_klinika_otzyvy.css");?> 0):?> 19, "ID"=> intval($_GET['cl'])); $res = CIBlockElement::GetList(Array("sort"=>"asc"), $arFilter, false, Array("nTopCount"=>1), $arSelect); if($ob = $res->GetNextElement()) { $arF = $ob->GetFields(); $arResult["CLINIC"] = array("ID"=>$arF["ID"], "NAME"=>$arF["NAME"], "ADR"=>$arF["PROPERTY_FAK_ADR_VALUE"], "CREV"=>$arF["PROPERTY_COUNT_REV_VALUE"], "RAT"=>$arF["PROPERTY_RATING_VALUE"]); global $APPLICATION; $APPLICATION->SetTitle("Отзывы о ".$arF["NAME"]); } $countRev = array(); $countRev["пользовательский"] = 0; $countRev["экспертный"] = 0; $countRev["анонимный"] = 0; $countRev["клиентов"] = 0; $arSelect = Array("NAME", "ID"); $arFilter = Array("IBLOCK_ID" => 52, "PROPERTY_CLINIC"=> intval($_GET['cl'])); $res = CIBlockElement::GetList(Array("property_TYPE"=>"asc"), $arFilter, array("PROPERTY_TYPE"), Array("nTopCount"=>100), $arSelect); while($ob = $res->GetNextElement()) { $arF = $ob->GetFields(); $countRev[$arF["PROPERTY_TYPE_VALUE"]] = $arF["CNT"]; } $arSelect = Array("NAME", "ID"); $arFilter = Array("IBLOCK_ID" => 59, "PROPERTY_CLINIC"=> intval($_GET['cl'])); $res = CIBlockElement::GetList(Array("PROPERTY_CLINIC"=>"asc"), $arFilter, array("PROPERTY_CLINIC"), Array("nTopCount"=>1), $arSelect); if($ob = $res->GetNextElement()) { $arF = $ob->GetFields(); $countRev["клиентов"] = $arF["CNT"]; } //if($_GET['test']=='y') { echo '
'; print_r($countRev); echo '
'; } ?>
Клиника 1

/">

Рейтинг
отзывов
Добавить отзыв

*/?>
Добавить отзыв IsAuthorized()):?>
Авторизуйтесь, чтобы повысить значимость вашего отзыва
Показать: class="active" href="/clinics/reviews/?cl=">все отзывы () class="active" href="/clinics/reviews/?cl=&type=exp">эксперты рынка () class="active" href="/clinics/reviews/?cl=&type=client">клиенты клиники () class="active" href="/clinics/reviews/?cl=&type=user">пользователи нашего сайта () class="active" href="/clinics/reviews/?cl=&type=ano">анонимные пользователи ()
IncludeComponent( "bitrix:news.list", "clinic_reviews_exp", Array( "DISPLAY_DATE" => "Y", "DISPLAY_NAME" => "Y", "DISPLAY_PICTURE" => "Y", "DISPLAY_PREVIEW_TEXT" => "Y", "AJAX_MODE" => "N", "IBLOCK_TYPE" => "data", "IBLOCK_ID" => "52", "NEWS_COUNT" => "10", "SORT_BY1" => "ACTIVE_FROM", "SORT_ORDER1" => "DESC", "SORT_BY2" => "SORT", "SORT_ORDER2" => "ASC", "FILTER_NAME" => "clFilter", "FIELD_CODE" => array("DATE_CREATE"), "PROPERTY_CODE" => array("UID"), "CHECK_DATES" => "Y", "DETAIL_URL" => "", "PREVIEW_TRUNCATE_LEN" => "", "ACTIVE_DATE_FORMAT" => "d.m.Y", "SET_TITLE" => "N", "SET_STATUS_404" => "N", "INCLUDE_IBLOCK_INTO_CHAIN" => "N", "ADD_SECTIONS_CHAIN" => "N", "HIDE_LINK_WHEN_NO_DETAIL" => "N", "PARENT_SECTION" => "", "PARENT_SECTION_CODE" => "", "CACHE_TYPE" => "A", "CACHE_TIME" => "36000000", "CACHE_FILTER" => "N", "CACHE_GROUPS" => "Y", "DISPLAY_TOP_PAGER" => "N", "DISPLAY_BOTTOM_PAGER" => "Y", "PAGER_TITLE" => "Новости", "PAGER_SHOW_ALWAYS" => "Y", "PAGER_TEMPLATE" => "index", "PAGER_DESC_NUMBERING" => "N", "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000", "PAGER_SHOW_ALL" => "N", "AJAX_OPTION_JUMP" => "N", "AJAX_OPTION_STYLE" => "Y", "AJAX_OPTION_HISTORY" => "N" ) );?> IncludeComponent( "bitrix:news.list", "clinic_reviews_client", Array( "DISPLAY_DATE" => "Y", "DISPLAY_NAME" => "Y", "DISPLAY_PICTURE" => "Y", "DISPLAY_PREVIEW_TEXT" => "Y", "AJAX_MODE" => "N", "IBLOCK_TYPE" => "data", "IBLOCK_ID" => "59", "NEWS_COUNT" => "10", "SORT_BY1" => "ACTIVE_FROM", "SORT_ORDER1" => "DESC", "SORT_BY2" => "SORT", "SORT_ORDER2" => "ASC", "FILTER_NAME" => "clFilter4", "FIELD_CODE" => array("DATE_CREATE"), "PROPERTY_CODE" => array("UID"), "CHECK_DATES" => "Y", "DETAIL_URL" => "", "PREVIEW_TRUNCATE_LEN" => "", "ACTIVE_DATE_FORMAT" => "d.m.Y", "SET_TITLE" => "N", "SET_STATUS_404" => "N", "INCLUDE_IBLOCK_INTO_CHAIN" => "N", "ADD_SECTIONS_CHAIN" => "N", "HIDE_LINK_WHEN_NO_DETAIL" => "N", "PARENT_SECTION" => "", "PARENT_SECTION_CODE" => "", "CACHE_TYPE" => "A", "CACHE_TIME" => "36000000", "CACHE_FILTER" => "N", "CACHE_GROUPS" => "Y", "DISPLAY_TOP_PAGER" => "N", "DISPLAY_BOTTOM_PAGER" => "Y", "PAGER_TITLE" => "Новости", "PAGER_SHOW_ALWAYS" => "Y", "PAGER_TEMPLATE" => "index", "PAGER_DESC_NUMBERING" => "N", "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000", "PAGER_SHOW_ALL" => "N", "AJAX_OPTION_JUMP" => "N", "AJAX_OPTION_STYLE" => "Y", "AJAX_OPTION_HISTORY" => "N" ) );?> IncludeComponent( "bitrix:news.list", "clinic_reviews", Array( "DISPLAY_DATE" => "Y", "DISPLAY_NAME" => "Y", "DISPLAY_PICTURE" => "Y", "DISPLAY_PREVIEW_TEXT" => "Y", "AJAX_MODE" => "N", "IBLOCK_TYPE" => "data", "IBLOCK_ID" => "52", "NEWS_COUNT" => "10", "SORT_BY1" => "ACTIVE_FROM", "SORT_ORDER1" => "DESC", "SORT_BY2" => "SORT", "SORT_ORDER2" => "ASC", "FILTER_NAME" => "clFilter2", "FIELD_CODE" => array("DATE_CREATE"), "PROPERTY_CODE" => array("UID"), "CHECK_DATES" => "Y", "DETAIL_URL" => "", "PREVIEW_TRUNCATE_LEN" => "", "ACTIVE_DATE_FORMAT" => "d.m.Y", "SET_TITLE" => "N", "SET_STATUS_404" => "N", "INCLUDE_IBLOCK_INTO_CHAIN" => "N", "ADD_SECTIONS_CHAIN" => "N", "HIDE_LINK_WHEN_NO_DETAIL" => "N", "PARENT_SECTION" => "", "PARENT_SECTION_CODE" => "", "CACHE_TYPE" => "A", "CACHE_TIME" => "36000000", "CACHE_FILTER" => "N", "CACHE_GROUPS" => "Y", "DISPLAY_TOP_PAGER" => "N", "DISPLAY_BOTTOM_PAGER" => "Y", "PAGER_TITLE" => "Новости", "PAGER_SHOW_ALWAYS" => "Y", "PAGER_TEMPLATE" => "index", "PAGER_DESC_NUMBERING" => "N", "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000", "PAGER_SHOW_ALL" => "N", "AJAX_OPTION_JUMP" => "N", "AJAX_OPTION_STYLE" => "Y", "AJAX_OPTION_HISTORY" => "N" ) );?> IncludeComponent( "bitrix:news.list", "clinic_reviews_ano", Array( "DISPLAY_DATE" => "Y", "DISPLAY_NAME" => "Y", "DISPLAY_PICTURE" => "Y", "DISPLAY_PREVIEW_TEXT" => "Y", "AJAX_MODE" => "N", "IBLOCK_TYPE" => "data", "IBLOCK_ID" => "52", "NEWS_COUNT" => "10", "SORT_BY1" => "ACTIVE_FROM", "SORT_ORDER1" => "DESC", "SORT_BY2" => "SORT", "SORT_ORDER2" => "ASC", "FILTER_NAME" => "clFilter3", "FIELD_CODE" => array("DATE_CREATE"), "PROPERTY_CODE" => array("UID"), "CHECK_DATES" => "Y", "DETAIL_URL" => "", "PREVIEW_TRUNCATE_LEN" => "", "ACTIVE_DATE_FORMAT" => "d.m.Y", "SET_TITLE" => "N", "SET_STATUS_404" => "N", "INCLUDE_IBLOCK_INTO_CHAIN" => "N", "ADD_SECTIONS_CHAIN" => "N", "HIDE_LINK_WHEN_NO_DETAIL" => "N", "PARENT_SECTION" => "", "PARENT_SECTION_CODE" => "", "CACHE_TYPE" => "A", "CACHE_TIME" => "36000000", "CACHE_FILTER" => "N", "CACHE_GROUPS" => "Y", "DISPLAY_TOP_PAGER" => "N", "DISPLAY_BOTTOM_PAGER" => "Y", "PAGER_TITLE" => "Новости", "PAGER_SHOW_ALWAYS" => "Y", "PAGER_TEMPLATE" => "index", "PAGER_DESC_NUMBERING" => "N", "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000", "PAGER_SHOW_ALL" => "N", "AJAX_OPTION_JUMP" => "N", "AJAX_OPTION_STYLE" => "Y", "AJAX_OPTION_HISTORY" => "N" ) );?>
Добавить отзыв IsAuthorized()):?>
Авторизуйтесь, чтобы повысить значимость вашего отзыва

IsAuthorized()):?> GetUserGroup($USER->GetID())) ) { $type = 665; } else { $type = 666; }?> IncludeComponent( "bitrix:iblock.element.add.form", "clinic_review_add", Array( "SEF_MODE" => "N", "IBLOCK_TYPE" => "data", "IBLOCK_ID" => "52", "PROPERTY_CODES" => array("303", "304", "305", "NAME", "302", "PREVIEW_TEXT", "DATE_ACTIVE_FROM", "318", "320"), "PROPERTY_CODES_REQUIRED" => array("303", "NAME", "302"), "GROUPS" => array("1", "2", "3", "4", "5", "6", "7"), "STATUS_NEW" => "NEW", "STATUS" => "ANY", "LIST_URL" => "", "ELEMENT_ASSOC" => "CREATED_BY", "MAX_USER_ENTRIES" => "100000", "MAX_LEVELS" => "100000", "LEVEL_LAST" => "Y", "USE_CAPTCHA" => "N", "USER_MESSAGE_EDIT" => "Спасибо за Ваш отзыв! Он будет добавлен после модерации в ближайшее время.", "USER_MESSAGE_ADD" => "Спасибо за Ваш отзыв! Он будет добавлен после модерации в ближайшее время.", "DEFAULT_INPUT_SIZE" => "30", "RESIZE_IMAGES" => "N", "MAX_FILE_SIZE" => "0", "PREVIEW_TEXT_USE_HTML_EDITOR" => "N", "DETAIL_TEXT_USE_HTML_EDITOR" => "N", "CUSTOM_TITLE_NAME" => "", "CUSTOM_TITLE_TAGS" => "", "CUSTOM_TITLE_DATE_ACTIVE_FROM" => "", "CUSTOM_TITLE_DATE_ACTIVE_TO" => "", "CUSTOM_TITLE_IBLOCK_SECTION" => "", "CUSTOM_TITLE_PREVIEW_TEXT" => "", "CUSTOM_TITLE_PREVIEW_PICTURE" => "", "CUSTOM_TITLE_DETAIL_TEXT" => "", "CUSTOM_TITLE_DETAIL_PICTURE" => "", "CLINIC" => intval($_GET['cl']), "TYPE" => $type ), false );?> IncludeComponent( "bitrix:iblock.element.add.form", "clinic_review_add_ano", Array( "SEF_MODE" => "N", "IBLOCK_TYPE" => "data", "IBLOCK_ID" => "52", "PROPERTY_CODES" => array("303", "304", "305", "NAME", "302", "PREVIEW_TEXT", "DATE_ACTIVE_FROM", "318", "320"), "PROPERTY_CODES_REQUIRED" => array("NAME", "302"), "GROUPS" => array("1", "2", "3", "4", "5", "6", "7"), "STATUS_NEW" => "NEW", "STATUS" => "ANY", "LIST_URL" => "", "ELEMENT_ASSOC" => "CREATED_BY", "MAX_USER_ENTRIES" => "100000", "MAX_LEVELS" => "100000", "LEVEL_LAST" => "Y", "USE_CAPTCHA" => "N", "USER_MESSAGE_EDIT" => "Спасибо за Ваш отзыв! Он будет добавлен после модерации в ближайшее время.", "USER_MESSAGE_ADD" => "Спасибо за Ваш отзыв! Он будет добавлен после модерации в ближайшее время.", "DEFAULT_INPUT_SIZE" => "30", "RESIZE_IMAGES" => "N", "MAX_FILE_SIZE" => "0", "PREVIEW_TEXT_USE_HTML_EDITOR" => "N", "DETAIL_TEXT_USE_HTML_EDITOR" => "N", "CUSTOM_TITLE_NAME" => "", "CUSTOM_TITLE_TAGS" => "", "CUSTOM_TITLE_DATE_ACTIVE_FROM" => "", "CUSTOM_TITLE_DATE_ACTIVE_TO" => "", "CUSTOM_TITLE_IBLOCK_SECTION" => "", "CUSTOM_TITLE_PREVIEW_TEXT" => "", "CUSTOM_TITLE_PREVIEW_PICTURE" => "", "CUSTOM_TITLE_DETAIL_TEXT" => "", "CUSTOM_TITLE_DETAIL_PICTURE" => "", "CLINIC" => intval($_GET['cl']), "TYPE" => 682 ), false );?>

IsAuthorized()):?>

Добавить комментарий


Чтобы добавить комментарий, пожалуйста, авторизуйтесь.

Клиника не найдена.