if (!($inf["CANCELED"]) && ($GLOBALS['USER']->IsAuthorized()) && (!empty($inf)) && ($inf["ID_PRODUCT_IN_ORDER"] == $inf["ID_PRODUCT_IN_CARD"])) { ?>
<button name="open_form_review" id="open_form_review" class="button_open_form_review" data-positionid="<?=$arParams['USER_PARAM_POSITION_ID'];?>">Написать отзыв</button>
<? }