Last active
March 21, 2016 08:40
-
-
Save flayder/37c7dbcaaff6c22b4081 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
if(CModule::IncludeModule("iblock")) | |
{ | |
$res = CIBlock::GetList(Array("SORT"=>"ASC"),Array("ID"=>array(17, 18, 19)), false); | |
while($ar_res = $res->Fetch()) { ?> | |
<div class="section-item"> | |
<a href="<?=$ar_res["SECTION_PAGE_URL"]?>"> | |
<span class="section-img"> | |
<img src="<?=CFile::GetPath($ar_res["PICTURE"]);?>" alt="<?=$ar_res["NAME"];?>"></span> | |
<span class="section-info"> | |
<span class="section-icon" style="background-image: url();"></span> | |
<span class="section-title"><?=$ar_res["NAME"];?></span> | |
</span> | |
</a> | |
</div> | |
<? | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment