    <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 APPS ?>" target="_blank">
                                        <span class="nav-icon">
                                            <i class="material-icons">&#xe55a;</i>
                                        </span>
                                        <span class="nav-text">Create Account</span>
                                    </a>
                                </li>

                                <li>
                                    <a href="<?php echo ACCOUNTS ?>" >
                                        <span class="nav-icon">
                                            <i class="material-icons">&#xe851;</i>
                                        </span>
                                        <span class="nav-text">Accounts</span>
                                    </a>
                                </li>

                                <li>
                                    <a href="<?php echo TRANSFERS ?>" >
                                        <span class="nav-icon">
                                            <i class="material-icons">&#xe8d6;</i>
                                        </span>
                                        <span class="nav-text">Transfers</span>
                                    </a>
                                </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 = 'admin' OR msg_sender='admin' AND adm_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>

                                <?php if (USE_SMS) { echo'
                                <li>
                                    <a href="'.SMS.'" >
                                        <span class="nav-icon">
                                            <i class="material-icons">&#xe0d8;</i>
                                        </span>
                                        <span class="nav-text">Send SMS</span>
                                    </a>
                                </li>
                                ';} ?>

                                <li>
                                    <a href="<?php echo NOTIFICATION ?>" >
                                        <span class="nav-icon">
                                            <i class="material-icons">&#xe7f7;</i>
                                        </span>
                                        <span class="nav-text">Notification</span>
                                    </a>
                                </li>

                                <li class="nav-header hidden-folded">
                                    <small class="text-muted">Settings</small>
                                </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 LOGS ?>" >
                                                <span class="nav-text">Activity Log</span>
                                            </a>
                                        </li>
                                    </ul>
                                </li>

                                <li>
                                    <a href="<?php echo SETTINGS ?>" >
                                        <span class="nav-icon">
                                            <i class="material-icons">&#xe8b8;</i>
                                        </span>
                                        <span class="nav-text">Settings</span>
                                    </a>
                                </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 DASHBOARD ?>">
                	    <span class="pull-left">
                	      <img src="../users/user.png" alt="Admin" class="w-40 img-circle">
                	    </span>
                	    <span class="clear hidden-folded p-x">
                	      <span class="block _500">Administrator</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>