%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/bitrix/www/local/templates/UB/includes/
Upload File :
Create Path :
Current File : /home/bitrix/www/local/templates/UB/includes/reclama.php

<?IncludeTemplateLangFile(__FILE__);?>
<!-- Product Content Start-->
           <?if (CModule::IncludeModule("iblock")) $mod=true;
				     $res = CIBlockElement::GetList(Array("SORT"=>"ASC"), array("ACTIVE"=>"Y", "IBLOCK_ID"=>10), false, false, array("IBLOCK_ID", "ID", "PREVIEW_PICTURE", "PREVIEW_TEXT", "NAME", "CODE", "PROPERTY_BACK")); 
					 $ar_el = array();
					 if($ar_fields = $res->GetNext()){
					   $ar_fields["BACK"] = '';
					   $ar_fields["BACK"] = CFile::GetPath($ar_fields["PROPERTY_BACK_VALUE"]);
					   $ar_fields["PICT"] = CFile::GetPath($ar_fields["PREVIEW_PICTURE"]);
					   $ar_el = $ar_fields;
					 }
				  ?>
			<?if($ar_el["BACK"]){?><style>.product-lead {background-image: url(<?=$ar_el['BACK']?>);}</style><?}?>
            <div class="product-lead bottom-pad">
               <div class="container">
                  <div class="row">				 
                     <div class="col-md-4 col-sm-12 col-xs-12 text-center animate_afl d1">
                        <img src="<?=$ar_el['PICT']?>" align="iPhone5c">
                     </div>
                     <div class="col-md-8 col-sm-12 col-xs-12 animate_afr d3">
                        <div class="app-service">
                           <h3><?=$ar_el['NAME']?></h3>
                           <?=$ar_el['PREVIEW_TEXT']?>
                           <div class="divider"></div>
                           <div class="learnmore">
                              <a class="btn-special btn-grey" href="<?=SITE_DIR?>banner/<?=$ar_el['CODE']?>/"><?=GetMessage("READ_MORE")?></a>
                           </div>
                        </div>
                     </div>
                  </div>
               </div>
            </div> 
<!-- Product Content end--> 

Zerion Mini Shell 1.0