[[$HEAD]]
[[$HEADER]]

	[[!getImageList?
    	&tvname=`migx_faq`
    	&tpl=`migx_faq_tpl`
    	&limit=`0`
    	&docid=`[[*id]]`
    	&toPlaceholder=`faq`
    ]]

	<div class="services-page">
		<div class="wrap flex">
			
			[[$ASIDE]]
			
			<div class="page-content">
			    [[$crumbs]]
				<h1>[[*pagetitle]]</h1>
				<div class="top-menu">
				    [[*prices:notempty=`
					<a href="#b1"><img src="tpl/img/menu1.svg" alt="Цены">Цены</a>
					`]]
					<a href="#b2"><img src="tpl/img/menu2.svg" alt="Акции">Акции</a>
					<a href="#b3"><img src="tpl/img/menu3.svg" alt="Отзывы">Отзывы</a>
				    [[!+faq:isnot=``:then=`
				    <a href="#b4"><img src="tpl/img/menu4.svg" alt="Вопрос-ответ">Вопрос-ответ</a>
			        `]]
				</div>
				
				[[$whatsapp]]
				
				[[*img-after:notempty=`[[*img-before:notempty=`
				<h2>Примеры работ До и После</h2>
				    <div class="twentytwenty-container">
				        <img src="[[*img-before:phpthumbon=`w=820&h=615&zc=1`]]" alt="">
    					<img src="[[*img-after:phpthumbon=`w=820&h=615&zc=1`]]" alt="">
    				</div>
				`]]`]]
				
				[[*prices:notempty=`
				<div class="prices" id="b1">
					<div class="name">
					    [[*prices-title:default=`Цены`]]
					</div>
					<div class="tbl">
					    [[*prices:stripString=`border="1" cellpadding="1" cellspacing="1" `]]
					</div>
				</div>
				`]]
				
				<div class="about textOuter">
				    [[*content]]
				</div>
				    
	<div class="index-discounts-block" id="b2">
		<div class="wrap">
			<h2 class="block-name">
				Акции
			</h2>
    		<div class="index-actions-block other-service">
                <div class="list catalog_srv_item_outer">
                    [[!pdoResources?
                        &parents=`47`
                        &depth=`0`
                        &tpl=`srv-catalog.row.tpl`
                        &includeTVs=`image`
                        &includeContent=`1`
                        &limit=`3`
                    ]]
                </div>
            </div>
		</div>
	</div>
				
				<div class="index-block" id="b3">
				    [[$ya-comments]]
				</div>
				
                [[$compare]]
                
                [[!pdoResources?
                    &parents=`[[*parent]]`
                    &resources=`-[[*id]]`
                    &depth=`0`
                    &tpl=`srv-other.row.tpl`
                    &includeTVs=`image`
                    &includeContent=`1`
                    &templates=`6`
                    &sortby=`RAND()`
                    &toPlaceholder=`otheritems`
                    &limit=`2`
                ]]
                
                [[+otheritems:is=``:then=``:else=`
                	<div class="index-actions-block other-service inner">
                		<div class="wrap list">
                			<h2 class="block-name">
                				<span>Другие услуги</span> [[++site_name]]
                			</h2>
                			<div class="other__items">
                                [[+otheritems]]
                			</div>
                		</div>
                	</div>
                `]]
                
                [[$af.call.contact]]

				[[$bottom-map-block]]
				
				[[!+faq:notempty=`
                    <div class="faq-block" itemscope itemtype="http://schema.org/FAQPage">
                	    <div class="wrap">
                	    	<h2 class="block-name">Часто задаваемые <span>вопросы</span></h2>
                		    [[+faq]]
                    		<a href="[[~133]]" class="button">Все вопросы</a>
                	    </div>
                    </div>
    			`]]

                [[$tags_bottom]]
			</div>
		</div>
	</div>
	
[[$FOOTER]]