@if($community->gift_app_community==0)
    @if($community->eventmeeting==0)
        <div class="box community-history">
            <i class="icon ion-ios7-people"></i>
            
            <?php
                $datetime1 = new DateTime($community->created_at);
                $datetime2 = new DateTime('now');
                $interval = $datetime1->diff($datetime2);
                $dateJoined=$interval->format('%y Year %m Month %d Day');
                
                $dateExp=explode(" ",$dateJoined);
                
                $setDate="";
                if(isset($dateExp[0]) and $dateExp[0]>0){
                    $setDate=$dateExp[0]." "."Year ";
                }
                
                if(isset($dateExp[2]) and $dateExp[2]>0){
                    $setDate=$setDate.$dateExp[2]." "."Month ";
                }
                
                if(isset($dateExp[4]) and $dateExp[4]>0){
                    $setDate=$setDate.$dateExp[4]." "."Day ago";
                }else{
                    $setDate="Today";
                }
                ?>
           <!-- <h3>{{trans('community.welcome-to', ['title' => $community->title])}}</h3>-->
           <h3>{{trans('community.member-collaboration-small')}}<br /><span class="comm_name">{{$community->title}}</span> </h3> 
         <!--   <p>{{trans('community.created-on')}} : {{$setDate}}</p>-->
        </div>
    @endif
@endif        
