<?php
if($_SESSION['roles_id'] !='1'){
    echo "You are not authorised to view this page,redirecting to login";
    header('refresh: 2; url=index');
    exit();
}

?>
<?php
$atts = array(
              'width'      => '600',
              'height'     => '600',
              'scrollbars' => 'yes',
              'status'     => 'no',
              'resizable'  => 'no',
              'screenx'    => '20',
              'screeny'    => '50',
    
            );
?>
<ul class="sidebar-menu">
                        <li class="active">
                            
                                <?php
                                $att=array('class'=>'fa fa-dashboard');
                                ?>
                                <?php echo anchor('welcome/home','<span> Home</span>',$att); ?></span>
                            
                        </li>
                        
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-bar-chart-o"></i>
                                <span>Profile</span>
                                <i class="fa fa-angle-left pull-right"></i>
                            </a>
                            <ul class="treeview-menu">
                                <li><?php echo anchor('welcome/profile','Edit Profile'); ?></li>
                                
                                
                            </ul>
                        </li>
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-laptop"></i>
                                <span>Manage Officer</span>
                                <i class="fa fa-angle-left pull-right"></i>
                            </a>
                            <ul class="treeview-menu">
                                <li><?php echo anchor('welcome/officers','Officers'); ?></li>
                                
                            </ul>
                        </li>
                     
                        <li class="treeview">
                            <a href="#">
                                <i class="fa fa-laptop"></i>
                                <span>Conference</span>
                                <i class="fa fa-angle-left pull-right"></i>
                            </a>
                            <ul class="treeview-menu">
                                <li><?php echo anchor_popup('welcome/add','Add Attendee',$atts); ?></li>
                                <li><?php echo anchor_popup('welcome/verify','Verify Applicant'); ?></li>
                                <li><?php echo anchor('welcome/conference','Transaction History'); ?></li>
                            </ul>
                        </li>
                        
                        <!--<li class="treeview">
                            <a href="#">
                                <i class="fa fa-table"></i> <span>Mortgage</span>
                                <i class="fa fa-angle-left pull-right"></i>
                            </a>
                            <ul class="treeview-menu">
                                <li><?php echo anchor('welcome/qualification','<i class="fa fa-angle-double-right"></i>Mortgage Qualification'); ?></li>
                                <li><?php echo anchor('welcome/applyMortgage','<i class="fa fa-angle-double-right"></i>Apply for Mortgage'); ?></li>
                                <li><?php echo anchor('welcome/checkStatus','<i class="fa fa-angle-double-right"></i>Application Status'); ?></li>
                                
                            </ul>
                        </li>-->
                        
                    </ul>
                </section>
                <!-- /.sidebar -->
            </aside>
            