<td><? if((isset($arItem['PREVIEW_TEXT']))&&($arItem['PREVIEW_TEXT']!='')) {?>
<a class="popup-text" href="javascript:void(0)"><?=$arItem['NAME']?></a>
<div class="popup-content">
<p><?=$arItem['PREVIEW_TEXT']?></p>
</div>
<?}else{?>
<div class="popup-text">
<p><?=$arItem['NAME']?></p>
</div>
<?}?>
</td> |