@extends('backend.master_structure') @section('content') @php use App\DashboardModel; $dash_model_instace = new DashboardModel(); $top_cat_qr = $dash_model_instace->get_top_category(); $url = Request::url(); $word = "articles" @endphp @if(strpos($url, $word) !== false) @php $data_categories_qr = $dash_model_instace->get_data_category($word); @endphp @endif @php use App\MasterModel; $master_instance = new MasterModel(); @endphp @php $user_id = $edit_blog_data->user_id; $data_type = "articles_details"; $database = "data_posts"; $users_meta_details = $dash_model_instace->get_users_meta_data($user_id,$data_type,$database); @endphp

Member Articles

{!! Form::open(array('url' => '/accounts/articles-edit-update', 'id'=>'edut_blog_form', 'method'=>'post', 'files'=> true, 'enctype'=>'multipart/form-data'))!!}

Enter Details Below


@foreach($add_blog_form_field as $form_field) @if($form_field->field_type == "Text - Single Line") @if($form_field->field_name == "post_meta_title") @foreach($edit_blog_data as $ky => $val) @if($form_field->field_name == $ky)
field_required == 1) required @endif> Up to 160 characters recommended. Do not enter HTML.
@endif @endforeach @elseif($form_field->field_name == "post_meta_description") @foreach($edit_blog_data as $ky => $val) @if($form_field->field_name == $ky)
field_required == 1) required @endif> Up to 160 characters recommended. Do not enter HTML.
@endif @endforeach @else @foreach($edit_blog_data as $ky => $val) @if($form_field->field_name == $ky)
field_required == 1) required @endif>
@endif @endforeach @foreach($users_meta_details as $key1 => $value1) @if($form_field->field_name == $value1->key)
field_required == 1) required @endif>
@endif @endforeach @endif @endif @if($form_field->field_type == "YesNo") @foreach($edit_blog_data as $ky => $val) @if($form_field->field_name == $ky)
@if($val == 1) @else @endif @if($val == 0) @else @endif
@endif @endforeach @foreach($users_meta_details as $key1 => $value1) @if($form_field->field_name == $value1->key)
@if($value1->value == 1) @else @endif @if($value1->value == 0) @else @endif
@endif @endforeach @endif @if($form_field->field_type == "Custom") @if($form_field->field_name == "post_content") @foreach($edit_blog_data as $ky => $val) @if($form_field->field_name == $ky)
@endif @endforeach @elseif($form_field->field_name == "post_image")
@elseif($form_field->field_name == 'post_category') @foreach($edit_blog_data as $ky => $val) @if($form_field->field_name == $ky)
@endif @endforeach @endif @endif @if($form_field->field_type == "Select") @foreach($edit_blog_data as $ky => $val) @if($form_field->field_name == $ky)
@endif @endforeach @foreach($users_meta_details as $key1 => $value1) @if($form_field->field_name == $value1->key)
@endif @endforeach @endif @if($form_field->field_type == "Section_Title")

{{$form_field->field_text}}

@endif @endforeach
{!! Form::close()!!}
@endsection