<?php 
if (isset($_GET['pid']) && !empty($_GET['pid'])) {
    $pid = $_GET['pid'];
}
//-----------------------------
$args2 = array('post_status' => 'any', 'post_type' => 'attachment', 'posts_per_page' => -1, 'author' => $user_ID, 'meta_query' => array(array('key' => 'group_id', 'value' => $pid, 'compare' => '=', 'type' => 'numeric')));
$count2 = count(query_posts($args2));
?>
    
	
    
       <div class="row topmargin">  <div class="col-lg-12 col-md-12">
            <div class="col-lg-3 col-md-3"><strong><?php 
echo $ustr = get_str_Project();
echo '#' . $pid;
?>
</strong></div>
       </div></div>
        
       
       			
       
                <div class="row topmargin border-bot1">
                   
                   
					<?php 
$i = 0;
while (have_posts()) {
    the_post();
        
    	<?php 
if (isset($_GET['pid']) && !empty($_GET['pid'])) {
    $pid = $_GET['pid'];
}
$showposts = -1;
//-----------------------------
$args2 = array('post_status' => 'any', 'post_type' => 'attachment', 'posts_per_page' => -1, 'author' => $user_ID, 'meta_query' => array(array('key' => 'group_id', 'value' => $pid, 'compare' => '=', 'type' => 'numeric')));
$count2 = count(query_posts($args2));
?>
	
	
    
       <div class="row topmargin">  <div class="col-lg-12 col-md-12">
            <div class="col-lg-3 col-md-3"><strong><?php 
echo get_str_Project();
?>
  ID   <?php 
echo '#' . $pid;
?>
</strong></div>
            <div class="col-lg-3 col-md-3"><strong><?php 
echo $count2;
?>
 Photos </strong></div>
            <div class="col-lg-3 col-md-3"><strong><?php 
echo get_str_closetxt();
echo '&nbsp;' . $val;
?>
 </strong></div>
            <div class="col-lg-3 col-md-3"></div>