@extends('frontend.frontend-page-master') @section('site-title') {{get_static_option('donation_page_'.$user_select_lang_slug.'_name')}} @endsection @section('page-title') {{get_static_option('donation_page_'.$user_select_lang_slug.'_name')}} @endsection @section('page-meta-data') {!! render_og_meta_image_by_attachment_id(get_static_option('donation_page_'.$user_select_lang_slug.'_meta_image')) !!} @endsection @section('content') @foreach($all_donations as $data) {!! render_image_markup_by_attachment_id($data->image,'','grid') !!} {{get_static_option('donation_raised_'.$user_select_lang_slug.'_text')}} @if(!empty($data->raised)){{amount_with_currency_symbol($data->raised)}}@else {{amount_with_currency_symbol(0)}} @endif {{get_static_option('donation_goal_'.$user_select_lang_slug.'_text')}} {{amount_with_currency_symbol($data->amount)}} {{$data->title}} {{strip_tags(Str::words(strip_tags($data->donation_content),20))}} {{get_static_option('donation_button_'.$user_select_lang_slug.'_text')}} @endforeach {{$all_donations->links()}} @endsection @section('scripts') @endsection
{{strip_tags(Str::words(strip_tags($data->donation_content),20))}}