<ul class="user-menu" style="margin-top: 9px;font-size: 16px;font-weight: 200;">
    <?php if ($login) { ?>
        <li class="dropdown pull-right">
            <a href="#" class="tool dropdown-toggle" data-toggle="dropdown" data-placement="bottom" data-original-title="<?php echo $view['translator']->trans("Author Dashboard"); ?>"> <i class="fa fa-user fa-2x " style="color: #7aa93c;"></i></a>
            <ul class="dropdown-menu" role="menu">
                <?php if ($login->getSupper() == 1) { ?>
                    <li class="active"><a title="" href="<?php echo $view['router']->generate('_admin_homepage', array(), true); ?>"><i class="fa fa-dashboard "></i> <?php echo $view['translator']->trans("Admin Dashboard"); ?></a></li>
                <?php } ?>
                <li><a title="" href="<?php echo $view['router']->generate('my_products', array(), true); ?>"><i class="fa fa-file-zip-o "></i> <?php echo $view['translator']->trans("Edit Products"); ?></a></li>
                <li><a title="" href="<?php echo $view['router']->generate('profile', array(), true); ?>"><i class="fa fa-user "></i> <?php echo $view['translator']->trans("Profile"); ?></a></li>
                <li><a title="" href="<?php echo $view['router']->generate('download', array(), true); ?>"><i class="fa fa-download "></i> <?php echo $view['translator']->trans("Downloads"); ?></a></li>
                <li><a title="" href="<?php echo $view['router']->generate('upload', array(), true); ?>"><i class="fa fa-cloud-upload "></i> <?php echo $view['translator']->trans("Upload"); ?></a></li>
                <li><a title="" href="<?php echo $view['router']->generate('deposit', array(), true); ?>"><i class="fa fa-dollar "></i> <?php echo $view['translator']->trans("Make a deposit"); ?></a></li>
                <li><a title="" href="<?php echo $view['router']->generate('sale', array(), true); ?>"><i class="fa fa-history "></i> <?php echo $view['translator']->trans("History"); ?></a></li>
                <li><a title="" href="<?php echo $view['router']->generate('withdrawal', array(), true); ?>"><i class="fa fa-money "></i> <?php echo $view['translator']->trans("Withdrawal"); ?></a></li>
                <li><a title="" href="<?php echo $view['router']->generate('logout', array(), true); ?>"><i class="fa fa-sign-out "></i> <?php echo $view['translator']->trans("Logout"); ?></a></li>
            </ul>
        </li>
        <?php
    } else {
        ?>
        <a href="<?php echo $view['router']->generate('register', array(), true); ?>" class="btn btn-default buttonblue"> <?php echo $view['translator']->trans("Sign up"); ?> </a> <a href="<?php echo $view['router']->generate('login', array(), true); ?>" style="margin-left: 15px;"> <?php echo $view['translator']->trans("Login"); ?> </a>
        <?php
    }
    ?>
</ul>