<?php
// Copyright 1999-2024. WebPros International GmbH. All rights reserved.
?>
<div class="form-row">
    <div class="field-name"><?php echo $this->lmsg('smb.components.forms.user.companyName'); ?></div>
    <div class="field-value">
        <div class="text-value">
            <?php echo $this->escape($this->user->companyName); ?>
         </div>
    </div>
</div>

<div class="form-row">
    <div class="field-name"><?php echo $this->lmsg('smb.components.forms.user.phone'); ?></div>
    <div class="field-value">
        <div class="text-value">
            <?php echo $this->escape($this->user->phone); ?>
        </div>
    </div>
</div>

<div class="form-row">
    <div class="field-name"><?php echo $this->lmsg('smb.components.forms.user.fax'); ?></div>
    <div class="field-value">
        <div class="text-value">
            <?php echo $this->escape($this->user->fax); ?>
        </div>
    </div>
</div>

<div class="form-row">
    <div class="field-name"><?php echo $this->lmsg('smb.components.forms.user.imNumber'); ?></div>
    <div class="field-value">
        <div class="text-value">
            <?php if ($this->user->imNumber) : ?>
                <?php echo $this->escape($this->user->imNumber); ?>
                (<?php echo $this->escape($this->user->getImTypeName()); ?>)
            <?php endif; ?>
        </div>
    </div>
</div>

<div class="form-row">
    <div class="field-name"><?php echo $this->lmsg('smb.components.forms.user.address'); ?></div>
    <div class="field-value">
        <div class="text-value">
            <?php echo str_replace("\n", "<br>", $this->escape($this->user->address)); ?>
        </div>
    </div>
</div>

<div class="form-row">
    <div class="field-name"><?php echo $this->lmsg('smb.components.forms.user.city'); ?></div>
    <div class="field-value">
        <div class="text-value">
            <?php echo $this->escape($this->user->city); ?>
        </div>
    </div>
</div>

<div class="form-row">
    <div class="field-name"><?php echo $this->lmsg('smb.components.forms.user.state'); ?></div>
    <div class="field-value">
        <div class="text-value">
            <?php echo $this->escape($this->user->state); ?>
        </div>
    </div>
</div>

<div class="form-row">
    <div class="field-name"><?php echo $this->lmsg('smb.components.forms.user.zip'); ?></div>
    <div class="field-value">
        <div class="text-value">
            <?php echo $this->escape($this->user->zip); ?>
        </div>
    </div>
</div>

<div class="form-row">
    <div class="field-name"><?php echo $this->lmsg('smb.components.forms.user.country'); ?></div>
    <div class="field-value">
        <div class="text-value">
            <?php echo $this->escape($this->user->country); ?>
        </div>
    </div>
</div>

<div class="form-row">
    <div class="field-name"><?php echo $this->lmsg('smb.components.forms.user.additionalInfo'); ?></div>
    <div class="field-value">
        <div class="text-value">
            <?php echo str_replace("\n", "<br>", $this->escape($this->user->additionalInfo)); ?>
        </div>
    </div>
</div>
