Тестовый вывод фидов с категориями

parent 79b7ad5b
upstream addcpm-backend {
server php:9000;
server php-cabinet:9000;
}
server {
listen 80;
......
version: '2'
services:
php:
php-cabinet:
build: ./_images/fpm
volumes:
- /etc/localtime:/etc/localtime:ro
......
......@@ -230,7 +230,7 @@ class Cabinet extends Common
$feed = $feedsModel->findOne(['id' => $feed_id]);
$feed_title = $feed->getTitle();
$feed_percent = $feed->getOrderpercent();
// fees категорий фида:
$feed_category_fees = $categoryFeesModel->findAll(['FeedID' => $feed_id]) -> toArray();
$fees = [];
......
......@@ -56,6 +56,12 @@ if (!$error) {
<?php else: ?>
<div style="display: none;">
<?php print_r($feeds_cats)?>
</div>
<section class="b-content__work">
<div class="wrapp" style="position: relative; margin-bottom: 10px;">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment