<script type="text/javascript">
<?php if($_SESSION["type"] == 'admin') { ?>
    $.get( "/app/manager/campaign/scripts.php?action=count_send", function( data ) {
        $("#count_send").html( data );
    });
<?php } ?>
</script>
<div class="navbar navbar-fixed-top">
        <div class="navbar-inner">
            <div class="container">
                <style type="text/css">
                    @font-face {
    font-family: myFirstFont;
    src: url('http://[Ip]/app/manager/include/Handycheera by Situjuh Nazara.otf');
    font-weight: bold;
}
                </style>
                <a class="btn btn-navbar" data-toggle="collapse" data-target=".navbar-inverse-collapse"><i class="icon-reorder shaded"></i></a>
                <a class="brand" href="http://[Ip]/app/manager/">
					<span style="font-family: myFirstFont;
    font-size: 34px;
    margin-left: 9px;
    color: #fd7643;">Scoop Mail</span>
				</a>
                
                <div class="nav-collapse collapse navbar-inverse-collapse">
                    <ul class="nav pull-right">
                      <?php if($_SESSION["type"] == "admin") { ?> <li style="    margin-top: 21px;
    margin-right: 647px;"><div style="     padding: 10px;
    background-color: #fd7643;
    color: white;
    border-radius: 3px;
    position: absolute;
    height: 20px;
    margin-top: -9px;
    width: 195px;"><span style="margin-left: 5px;">Sending in progress:</span> <h3 id="count_send" style="    margin-top: -29px;
    margin-left: 148px;
    color: white;"></h3></div></li> <?php } ?>

                    </ul>
                </div><!-- /.nav-collapse -->
            </div>
        </div><!-- /navbar-inner -->
    </div><!-- /navbar -->