HEX
Server: Apache
System: Linux vps.rockyroadprinting.net 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: rockyroadprintin (1011)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/rockyroadprintin/www/wp-content/themes/consulting/partials/vc_templates/company_history.php
<?php
/**
 * @var $list
 */

if (!empty($list)) : ?>

    <div class="company_history">
        <ul>
            <?php foreach ($list as $company_item) : ?>
                <li>

                    <?php if (!empty($company_item['year'])): ?>
                        <div class="year"><?php echo esc_html($company_item['year']); ?></div>
                    <?php endif; ?>

                    <div class="sep"></div>

                    <div class="company_history_text">

                        <?php if (!empty($company_item['title'])): ?>
                            <h4 class="no_stripe"><?php echo esc_html($company_item['title']); ?></h4>
                        <?php endif; ?>

                        <?php if (!empty($company_item['description'])): ?>
                            <?php echo wpautop($company_item['description']); ?>
                        <?php endif; ?>

                    </div>

                </li>
            <?php endforeach; ?>
        </ul>
    </div>

<?php endif;