}
        ?>
">
                        <a href="<?php 
        echo esc_url(home_url('/needy_info?needy_id=' . $needyItem->needy_id . '&"needy_type=' . $needyItem->needy_type));
        ?>
" title="Подробная информация">
                            <img src="<?php 
        echo get_template_directory_uri();
        ?>
/images/urgent.png" alt="" />
                        </a>
                    </div>
                </div>
                <form class="s-btm <?php 
        if (NeedyItemUtils::isItemSupportStatus($needyItem)) {
            echo NeedyStatus::getNeedyClassByStatuses($needyItem->status);
        }
        ?>
" action="/campaign/donate" method="post">
                    <h4><?php 
        echo $needyItem->name;
        ?>
</h4>
                    <div class="underline"></div>
                    <p class="short-info"><?php 
        echo $needyItem->short_description;
        ?>
</p>
                    <?php 
        if ($needyItem->purpose && $needyItem->status != NeedyStatus::HELPED) {
        ?>
                            <button type="submit" class="btn btn-primary">Пожертвовать</button>
                        <?php 
    }
    ?>
                    </form>
                </div>
                <div class="col-md-9">
                    <div class="inner-container heading">
                        <h2 class="head"><?php 
    echo $child->name;
    ?>
</h2>
                    </div>
                    <div class="text-container long-description" id="longDescription"><?php 
    echo NeedyItemUtils::storedTextToHTML($child->long_description);
    ?>
</div>
                </div>
            </div>
            <div class="clearfix"></div>
        </div>
    </div>
<?php 
}
?>

<?php 
get_footer();
?>