<table class="p-regist__table">
    <tbody>
    <tr>
        <th colspan="2">物件写真</th>
        <td colspan="8">
            <div id="image_list" class="row house_img">

                <?php if($article->vertical !== 1): ?>
                        <?php if($article->file_path): ?>
                            <div class="col-2 mt10 mb10">
                            <div class="h100 overflow-hidden">
                                <img src="<?php echo e($article->file_path); ?>" style="max-height: 100%">
                            </div>
                            </div>
                        <?php endif; ?>
                    <?php else: ?>
                        <?php if($article->file_path2): ?>
                            <div class="col-2 mt10 mb10">
                                <div class="h100 overflow-hidden">
                                    <img src="/<?php echo e(str_replace('public','storage', $article->file_path2)); ?>" style="max-height: 100%">
                                </div>
                            </div>
                        <?php endif; ?>
                <?php endif; ?>

                <?php $__currentLoopData = $article->listImages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $photo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="col-2 mt10 mb10">
                        <div class="h100 overflow-hidden">
                            <img src="<?php echo e($photo->storageLink); ?>" style="max-height: 100%">
                        </div>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
        </td>
    </tr>
    <?php if($article->is_room): ?>
    <tr>
        <th colspan="2">マンション物件画像</th>
        <td colspan="8">
            <div id="image_list" class="row house_img">
                <?php $__currentLoopData = $article->mansion->listImages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $mansionPhoto): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <div class="col-2 mt10 mb10">
                        <div class="h100 overflow-hidden">
                            <img src="<?php echo e($mansionPhoto->storageLink); ?>" style="max-height: 100%">
                        </div>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
        </td>
    </tr>
    <?php endif; ?>
    </tbody>
</table>
