        <div id="layout">
        
            <div id="sidebar">

                <div class="user">
                    <div class="pic">
                    <a href="<?php echo base_url(). 'images/' .  element('role', $this->session->userdata('logged_in')) . '.JPG' ?>">
                        <img src="<?php echo base_url(). 'images/thumbs/' . element('role', $this->session->userdata('logged_in')) . '.JPG';?>"/>
                        </a>
                    </div>
                    <div class="info">
                        <div class="name">
                            <a href="#"><?php echo element('username', $this->session->userdata('logged_in')); ?></a>
                        </div>
                        <div class="buttons">
                            <a href="<?php echo base_url()?>UserSetting/UserMaster"><span class="i-cog"></span> <?php echo $this->lang->line('setting') ?></a>
                            <a href="#"><span class="i-chat"></span> <?php echo $this->lang->line('message') ?></a>
                            <a href=<?php echo base_url()."logout" ?> class="fr"><span class="i-forward"></span> <?php echo $this->lang->line('logout') ?></a>
                        </div>
                    </div>
                </div>

                <ul class="navigation">
                    <?php echo $topic; ?>
                </ul>

            </div>
