Created
June 9, 2017 10:18
-
-
Save philipusis/10104b65e2c4fdcc9fb97a4d6d369c59 to your computer and use it in GitHub Desktop.
This file contains 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
<? $j = 0; foreach($arResult["complexParams"]["FL_TOURTAGS"] as $tag): ?> | |
<? if ($j < 10 ):?> | |
<div class="tag tag-id-<?=$tag["T_TYPE"]?> <?if(in_array($tag["T_TYPE"], $arResult["customParams"]["FL_TOURTAGS"])) {?> selected<?}?>" data-id="<?=$tag["T_TYPE"]?>" data-weight="50000" oldvalue="<?=$tag["TTYPE_NAME"]?>"><?=$tag["TTYPE_NAME"]?></div> | |
<? $j++; endif; ?> | |
<? endforeach; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment