           
             <?php 
                     $d_img=  "<img src='img/profile-pictures.png' id='prof-img' class='prof-img'  >";
                     $p_img=  "<img src='upload/". $rowUser['cust_photo']. "' id='prof-photo' class='prof-photo' />"; 
              ?>

        <div class="tob-b-sec">
        <a href="cp">
            <img src="webimg/pacific_logo_webpage.png" class="transimg" id="weblogo" />   
        </a>
        <div class="pull-right prof-st">
            <ul>
             <li>  
    <?php echo $rowUser['cust_photo'] =="" ? $d_img : $p_img; ?>
                <span><?php echo $rowUser['cust_name']; ?></span> 
            </li>
         </ul>
        </div>

        </div>

        <!-- Navigation -->
        <nav class="navbar navbar-default navbar-static-top" role="navigation" style="margin-bottom: 0; position: absolute; top:0px;">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
        </nav>
            <!-- /.navbar-header -->
