    <div id="aside" class="app-aside modal fade nav-dropdown">
        <div class="left navside mainbg dk" layout="column">
            <div flex class="hide-scroll">
                    <nav class="scroll nav-active-primary">

                            <ul class="nav" ui-nav>
                                <li class="nav-header hidden-folded">
                                    <small class="text-muted">&nbsp;</small>
                                </li>

                                <li>
                                    <a href="<?php echo DASHBOARD ?>">
                                        <span class="nav-icon">
                                            <i class="material-icons">&#xe84f;</i>
                                        </span>
                                        <span class="nav-text">Dashboard</span>
                                    </a>
                                </li>

                                <li>
                                    <a href="<?php echo STATEMENT ?>">
                                        <span class="nav-icon">
                                            <i class="material-icons">&#xe85c;</i>
                                        </span>
                                        <span class="nav-text">Statements</span>
                                    </a>
                                </li>

                                <li>
                                    <a href="<?php echo PAYMENT ?>" >
                                        <span class="nav-icon">
                                            <i class="material-icons">&#xe850;</i>
                                        </span>
                                        <span class="nav-text">Payments</span>
                                    </a>
                                </li>

                                <li>
                                    <a>
                                        <span class="nav-caret">
                                            <i class="fa fa-caret-down"></i>
                                        </span>
                                        <span class="nav-icon">
                                            <i class="material-icons">&#xe8d6;</i>
                                        </span>
                                        <span class="nav-text">Transfers</span>
                                    </a>
                                    <ul class="nav-sub">
                                        <li>
                                            <a href="<?php echo OWNTRANSFER ?>" >
                                                <span class="nav-text">Own Account Transfer</span>
                                            </a>
                                        </li>
                                        <li>
                                            <a href="<?php echo OTHERTRANSFER ?>" >
                                                <span class="nav-text">Transfer to other Banks</span>
                                            </a>
                                        </li>
                                        <li>
                                            <a href="<?php echo PENDINGTRANSFER ?>" >
                                                <span class="nav-text">Pending Transfers</span>
                                            </a>
                                        </li>
                                    </ul>
                                </li>

                                <li>
                                    <a href="<?php echo MESSAGES ?>" >
                                        <span class="nav-label">
                                            <b class="label rounded label-sm primary">
                                                <?php
                        			$nMsgs = $pdo->query("SELECT COUNT(*) FROM `".MSGS_TABLE_NAME."` WHERE msg_rcvr='{$_SESSION['user_login']}' OR msg_sender='{$_SESSION['user_login']}' AND msg_read='0'")->fetchColumn();
                        			echo $nMsgs;
                        			?>
                                            </b>
                                        </span>
                                        <span class="nav-icon">
                                            <i class="material-icons">&#xe0b7;</i>
                                        </span>
                                        <span class="nav-text">Messages</span>
                                    </a>
                                </li>

                                <li class="nav-header hidden-folded">
                                    <small class="text-muted">Settings</small>
                                </li>

                                <li>
                                    <a href="<?php echo PROFILE ?>" >
                                        <span class="nav-icon">
                                            <i class="material-icons">&#xe853;</i>
                                        </span>
                                        <span class="nav-text">Profile</span>
                                    </a>
                                </li>

                                <li>
                                    <a>
                                        <span class="nav-caret">
                                            <i class="fa fa-caret-down"></i>
                                        </span>
                                        <span class="nav-icon">
                                            <i class="material-icons">&#xe897;</i>
                                        </span>
                                        <span class="nav-text">Security</span>
                                    </a>
                                    <ul class="nav-sub">
                                        <li>
                                            <a href="<?php echo SECURITY ?>" >
                                                <span class="nav-text">Change Password</span>
                                            </a>
                                        </li>
                                        <li>
                                            <a href="<?php echo SECURITY ?>" >
                                                <span class="nav-text">Change PIN</span>
                                            </a>
                                        </li>
                                        <li>
                                            <a href="<?php echo SECURITY ?>" >
                                                <span class="nav-text">Security Question</span>
                                            </a>
                                        </li>
                                    </ul>
                                </li>

                                <li>
                                    <a href="<?php echo SIGNOUT ?>" >
                                        <span class="nav-icon">
                                            <i class="fa fa-power-off"></i>
                                        </span>
                                        <span class="nav-text">Sign Out</span>
                                    </a>
                                </li>

                            </ul>
                    </nav>
            </div>
            <div flex-no-shrink class="b-t">
                <div class="nav-fold">
                	<a href="<?php echo PROFILE ?>">
                	    <span class="pull-left">
                	      <img src="users/<?php echo user_photo($_SESSION['user_login']); ?>" alt="<?php echo user_names($_SESSION['user_login']); ?>" class="w-40 img-circle">
                	    </span>
                	    <span class="clear hidden-folded p-x">
                	      <span class="block _500"><?php echo user_names($_SESSION['user_login']); ?></span>
                	      <small class="block text-muted"><i class="fa fa-circle text-success m-r-sm"></i>online</small>
                	    </span>
                	</a>
                </div>
            </div>
        </div>
    </div>