admin_info_view.php 2.2 KB
<?php if($this->session->flashdata('success')): ?>
    <div class="row">
        <div class="alert alert-block alert-success" style="margin-bottom: 5px">
            <button type="button" class="close" data-dismiss="alert">
                <i class="ace-icon fa fa-times"></i>
            </button>
            <i class="ace-icon fa fa-check green"></i>
            <?php echo $this->session->flashdata('success'); ?>
        </div>
    </div>
<?php endif; ?>
<?php if($this->session->flashdata('error')): ?>
    <div class="row">
        <div class="alert alert-block alert-danger" style="margin-bottom: 5px">
            <button type="button" class="close" data-dismiss="alert">
                <i class="ace-icon fa fa-times"></i>
            </button>
            <i class="ace-icon fa fa-times"></i>
            <?php echo $this->session->flashdata('error'); ?>
        </div>
    </div>
<?php endif; ?>

<div class="row">
    <div class="profile-user-info profile-user-info-striped">
        <div class="profile-info-row">
            <div class="profile-info-name"> ID </div>
            <div class="profile-info-value">
                <span>#<?php echo $adminById[0]['id']?></span>
            </div>
        </div>

        <div class="profile-info-row">
            <div class="profile-info-name">Nhóm người dùng</div>
            <div class="profile-info-value">
                <span><?php echo $adminById[0]['groupDescription']?></span>
            </div>
        </div>

        <div class="profile-info-row">
            <div class="profile-info-name">Họ và tên</div>
            <div class="profile-info-value">
                <span><?php echo $adminById[0]['fullname']?></span>
            </div>
        </div>

        <div class="profile-info-row">
            <div class="profile-info-name">Tên tài khoản</div>
            <div class="profile-info-value">
                <span><?php echo $adminById[0]['username']?></span>
            </div>
        </div>

        <div class="profile-info-row">
            <div class="profile-info-name">Email</div>
            <div class="profile-info-value">
                <span><?php echo $adminById[0]['email']?></span>
            </div>
        </div>

    </div>
</div>