<table class="table table-bordered"> <thead class="thead-dark"> <tr> <th><b>Tên</b></th> <th><b>Giá (USD)</b></th> <th><b>Biến động trong 24h</b></th> </tr> </thead> <tbody> <?php $__currentLoopData = $itemsCoin; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php
                $price = number_format($item['price'], 2);
                $percentChange24h = number_format($item['percent_change_24h'], 5);
                $color = 'text-danger';
                if ($percentChange24h > 0) $color = 'text-success';
                $percentChange24h = sprintf('<span class="%s">%s</span>', $color, $percentChange24h);
            ?> <tr> <td><?php echo e($item['name']); ?></td> <td><?php echo e($price); ?></td> <td><?php echo $percentChange24h; ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </tbody> </table><?php /**PATH D:\xampp\htdocs\offline_laravel_duongle\resources\views/news/pages/rss/child-index/box-coin.blade.php ENDPATH**/ ?>