<?php
/*
 * *************************************************
 * Copyright (C) 2021 Earworks.                    *
 * Codeigniter Project Template Modification       *
 * Please contact our email for more information : *
 * contact@earworks.co.id                          *
 * *************************************************
 */
defined('BASEPATH') OR exit('No direct script access allowed');
if (strtolower($profile['location']) == 'jakarta') {
    $url = '../img/GrundfosNetZero.jpg';
} elseif (strtolower($profile['location']) == 'surabaya') {
    $url = '../img/GrundfosNetZero.jpg';
} elseif (strtolower($profile['location']) == 'medan') {
    $url = '../img/GrundfosNetZero.jpg';
} else {
    $url = '../img/GrundfosNetZero.jpg';
}
?>
<tr>
    <td style="">
        <img style="width: 100%;display: inline-block;vertical-align: middle;" src="<?php echo base_url($url) ?>">
    </td>
</tr>
<tr>
    <td style="background-color:#fff;padding:20px;-webkit-border-bottom-left-radius:6px;-moz-border-bottom-left-radius:6px;-o-border-bottom-left-radius:6px;-ms-border-bottom-left-radius:6px;border-bottom-left-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-bottom-right-radius:6px;-o-border-bottom-right-radius:6px;-ms-border-bottom-right-radius:6px;border-bottom-right-radius:6px;">
        <div style="text-align:justify;max-width:480px;display:block;margin:0px auto;word-wrap: break-word;">

            <p style="text-align:justify;max-width:540px;width:100%;text-align: left;">
                Kepada Bapak/Ibu <strong><?= $profile->name ?></strong>,
            </p>
            <p style="text-align:justify;max-width:540px;width:100%;text-align: left;">
                Anda telah terdaftar pada acara Transitions: The Pulse (Indonesia). Kami ingin menginfokan
                kembali detail acara dan nomor meja anda.
            </p>
            <?php if (isset($profile->table) && !empty($profile->table)) : ?>
                <p style="text-align:justify;max-width:540px;width:100%;text-align: left;">
                    Nomor meja : <strong>Meja <?= $profile->table ?></strong>
                </p>
            <?php endif; ?>
            <div style="max-width:540px;display:block;width:100%;margin:15px auto;">
                <table style="width:100%;">
                    <tr>
                        <td>Hari/Tanggal</td>
                        <td>:</td>
                        <td>Jumat, 07 Maret 2023</td>
                    </tr>
                    <tr>
                        <td>Tempat</td>
                        <td>:</td>
                        <td>
                            101 URBAN HOTEL <br />
                            Jakarta - Indonesia
                        </td>
                    </tr>
                    <tr>
                        <td>Dress Code</td>
                        <td>:</td>
                        <td>Business Casual</td>
                    </tr>
                </table>
            </div>
            <p style="text-align:justify;max-width:540px;width:100%;">
                Registrasi  akan dimulai pada Pukul 15.00.<br />
                Terima kasih dan sampai jumpa di acara.
            </p>
        </div>
    </td>
</tr>