
<div class="heading">
    <div class="resultHead">
        <?php
        if($columnNo > 0){
            for($i = 1; $i <= $columnNo; $i++){
        ?>
            <div class="head-item"><?php echo e($i); ?></div>
        <?php
            }
        }
        ?>
    </div>
</div>
<div class="results">
<div class="resultBox">
<?php
    if(count($results) > 0){
    ?>
    <?php
        $i = 1;
    ?>
    <div class="resultRow">
        <?php $__currentLoopData = $results; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $result): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <div class="rowItem">
                <?php if(isset($result)): ?>
                <?php
                    $textColor = 'Red';
                ?>
                <?php if($result['resulttype'] == 'random'): ?>
                    <?php if($result['randomcolor'] == 'green'): ?>
                        <?php  $textColor = 'Green'; ?>
                    <?php elseif($result['randomcolor'] == 'green++violet' || $result['color'] == 'green+violet' || $result['color'] == 'green & violet'): ?>
                        <?php  $textColor = 'VioletGreen'; ?>
                    <?php elseif($result['randomcolor'] == 'red++violet' || $result['color'] == 'red+violet' || $result['color'] == 'red & violet'): ?>
                        <?php  $textColor = 'VioletRed'; ?>
                    <?php endif; ?>
                <?php endif; ?>
                <?php if($result['resulttype'] == 'real'): ?>
                    <?php if($result['color'] == 'green'): ?>
                        <?php  $textColor = 'Green'; ?>
                    <?php elseif($result['color'] == 'green++violet' || $result['color'] == 'green+violet' || $result['color'] == 'green & violet'): ?>
                        <?php  $textColor = 'VioletGreen'; ?>
                    <?php elseif($result['color'] == 'red++violet'  || $result['color'] == 'red+violet' || $result['color'] == 'red & violet'): ?>
                        <?php  $textColor = 'VioletRed'; ?>
                    <?php endif; ?>
                <?php endif; ?>
                    <span class="item<?php echo e($textColor); ?> showData showData1"><?php echo e($result['resulttype'] == 'random' ? $result['randomresult'] : $result['result']); ?></span>
                    <span class="item<?php echo e($textColor); ?> showData showData2"><?php echo e(substr($result['periodid'], -3)); ?></span>
                <?php else: ?>
                    &nbsp;
                <?php endif; ?>
                </div>

                <?php if($i % $columnNo == 0): ?>
                </div>
                <div class="resultRow">
                <?php endif; ?>
                <?php
                    $i++;
                ?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>

    <?php
    }
    ?>
</div>
</div>
<?php /**PATH /home4/dubaimal/public_html/trend/resources/views/column_records.blade.php ENDPATH**/ ?>