</div> <div class="main-info-container"> <div class="main-head">Основная информация:</div> <ul class="main-list"> <?php if (isset($more_info[0]['int_val']) && $more_info[0]['int_val'] != 0) { $int = $more_info[0]['int_val']; ?> <li> <strong>Вместимость</strong> <span> <?php echo $int; $arr_str = array(' человек', ' человека', ' человек'); $str_homo = $obj->getNumEnding($int, $arr_str); echo $str_homo; ?> </span> </li> <?php } ?> <?php if (isset($more_info[0]['weight']) && $more_info[0]['weight'] != 0) { ?> <li> <strong>Вес</strong><span><?php echo isset($more_info[0]['weight']) ? $more_info[0]['weight'] : ""; ?> кг</span>