
<div class="col-sm-3 left-pannel">

<!--pannel start-->
<div class="panel panel-bg">
      <div class="panel-heading">
        <h3 class="panel-title">My Info</h3>
      </div>
      <div class="panel-body">
         
         {{--*/ $url = explode( '/', $_SERVER['REQUEST_URI'] )/*--}}
         {{--*/ $ser_url = explode( '?', $url[1] )/*--}}

          <?php if(isset($url[2])){$msg_url=$url[1].'/'.$url[2];}else{$msg_url="";}?>
          <?php if(isset($ser_url[0])){$url_ser=$ser_url[0];}else{$url_ser="";}?>

       <ul class="panel-b-list">
        <li><a href="{{url('profiles')}}" <?php if($url[1]=='profiles')echo 'class="left-nav-active";'?>>My Profiles</a></li>
        <li><a href="{{url('videos')}}" <?php if($url[1]=='videos')echo 'class="left-nav-active";'?>>My Videos</a></li>
        <li><a href="{{url('pictures')}}" <?php if($url[1]=='pictures')echo 'class="left-nav-active";'?>>My Pictures</a></li>
        <li><a href="{{url('myresume')}}" <?php if($url[1]=='myresume')echo 'class="left-nav-active";'?>>My Resumes</a></li>
        <li><a href="{{url('myviews')}}" <?php if($url[1]=='myviews')echo 'class="left-nav-active";'?>>My Views</a></li>
         
       </ul>
       
       
       </div>
    </div>
<!--pannel ends here-->
<!--pannel start-->
<div class="panel panel-bg">
      <div class="panel-heading">
        <h3 class="panel-title">Watch List</h3>
      </div>
      <div class="panel-body">
       <ul class="panel-b-list">
      <li><a href="{{url('mylikes')}}" <?php if($url[1]=='mylikes')echo 'class="left-nav-active";'?>>My Likes</a></li>
    <li><a href="{{url('history')}}" <?php if($url[1]=='history')echo 'class="left-nav-active";'?>>History</a></li>
         
       
       
       </ul>
       
       
       </div>
    </div>
<!--pannel ends here-->
<div class="panel panel-bg">
      <div class="panel-heading">
        <h3 class="panel-title">Action List</h3>
      </div>
      <div class="panel-body">
       <ul class="panel-b-list">
       {{--*/ $inbox_count = $connetion_count=0; /*--}}
              <?php
              if(Auth::user()->id)
              {
               $inbox_count = CustomLoad::InboxCount(Auth::user()->id); 
               $connetion_count = CustomLoad::ConnectionCount(Session::get('auth_selected_profile'));
               $share_count =  CustomLoad::ShareCount(Session::get('auth_selected_profile'));
               $mentor_count = CustomLoad::MentorCount(Session::get('auth_selected_profile'));
               $inv_count =  CustomLoad::InvitationCount(Auth::user()->id);
              } 
               ?>
    <li><a href="{{url('messages')}}" <?php if($url[1]=='messages')echo 'class="left-nav-active";'?>>Inbox <span class="badge cus-badge-yellow">{{$inbox_count}}</span></a></li>
     <li><a href="{{url('Inquiries')}}" <?php if($url[1]=='Inquiries')echo 'class="left-nav-active";'?>>Inquiries </a></li>
    <li><a href="{{url('invitations')}}" <?php if($url[1]=='invitations')echo 'class="left-nav-active";'?>>Invitations <span class="badge cus-badge-yellow">{{$inv_count}}</span></a></li>
    <li><a href="{{url('connectionview')}}" <?php if($url[1]=='connectionview')echo 'class="left-nav-active";'?>>Connections <span class="badge cus-badge-yellow" >{{$connetion_count}}</span></a></li>
     <?php
                if(Session::get('auth_selected_profile_type')=='O'){
                ?> 
                <li><a href="{{url('recruit')}}" <?php if($url[1]=='recruit')echo 'class="left-nav-active";'?>>Recruit <span class="badge"></span></a></li>
                <li><a href="{{url('jobspec')}}" <?php if($url[1]=='jobspec')echo 'class="left-nav-active";'?>>Create Job Spec </a></li> 
                 <?php
                }
                ?>
    <li><a href="{{url('mentorview')}}" <?php if($url[1]=='mentorview' || $msg_url=='mentor/details')echo 'class="left-nav-active";'?>>Mentor & mentees <span class="badge cus-badge-yellow" >{{$mentor_count}}</span></a></li>
    <li><a href="{{url('search')}}" <?php if($url[1]=='search' || $url_ser=='search' || $url[1]=='sendjobspec')echo 'class="left-nav-active";'?>>Search</a></li>
    <li><a href="{{url('message/sent')}}" <?php if($msg_url=='message/sent')echo 'class="left-nav-active";'?>>Sent</a></li>
    <li><a href="{{url('share')}}" <?php if($url[1]=='share')echo 'class="left-nav-active";'?>>Share <span class="badge cus-badge-yellow" >{{$share_count}}</span></a></li>
    <li><a href="{{url('message/trash')}}" <?php if($msg_url=='message/trash')echo 'class="left-nav-active";'?>>Trash</a></li>
       
       
       </ul>
       
       
       </div>
    </div>
<!--pannel ends here-->


</div>


