{{-- @include('admin.message') --}}

{{ __('adminstaticword.Edit') }} {{ __('adminstaticword.Course') }}


{{ csrf_field() }} {{ method_field('PUT') }}
{{-- 次要分類 css 隱藏 --}} {{-- --}} {{-- 子分類隱藏
--}}
@php $courseType = config( 'course' )['type']; @endphp
{{-- 加值頻道 --}}
{{-- 訓練計畫 --}}

{{-- 語言隱藏
@php $languages = App\CourseLanguage::all(); @endphp
--}} {{-- 政策隱藏
@php $ref_policy = App\RefundPolicy::all(); @endphp
--}}
jht_course_id ) disabled @endif>

{{--

--}}

{{-- 適用 --}}
{{-- 課程建議 --}}

{{-- 不適用情形 --}}
{{-- 事前準備 --}}

{{-- 身體反應 --}}
{{-- 備註 --}}

{{-- 卡洛里 --}}
{{-- 課程強度 --}}
@php $course_commodities = []; foreach( $cor->commodities as $commodities ){ $course_commodities[] = $commodities->pivot->commodity_id; } @endphp {{-- 帶貨商品 --}}
{{-- 配件 --}} @php $course_accessories = []; foreach( $cor->accessories as $accessories ){ $course_accessories[] = $accessories->pivot->accessory_id; } @endphp
{{-- in_array 某個字串或數字是否存在陣列中 in_array(條件, 判斷的東西) --}} {{-- (array)物件 物件強制轉換成陣列 php 原生語法 --}} {{-- @if(Auth::User()->role == "admin")
@endif--}}
{{-- @if(Auth::User()->role == "admin")

@endif --}} {{-- 新增商品 --}}
{{-- 偏好設定 --}}

偏好設定

{{-- BMI --}}
{{-- 健身經驗 --}}
{{-- 健身目標 --}}
{{-- 多快達成目標 --}}

{{-- 免費或付費 --}} {{--
  • type == '1' ? 'checked' : '' }}/>

  • type == '0') class="display-none" @endif id="doabox">
    type == '0') class="display-none" @endif id="doaboxx">
    --}}
    @if(Auth::User()->role == "admin")
  • featured==1 ? 'checked' : '' }}>
  • @endif
    @if(Auth::User()->role == "admin")
  • status==1 ? 'checked' : '' }}>
  • @endif
    {{-- 免費 --}}
    type == 2) style="display:none;" @endif> @if(Auth::User()->role == "admin")
  • is_free==1 ? 'checked' : '' }}>
  • @endif
  • video_type == 1 ? 'checked' : '' }}/>
  • video_enable == 1 ? 'checked' : '' }}/>

  • {{--
  • involvement_request==1 ? 'checked' : '' }}/>
  • --}}

    video_type) style="display:none" @endif > {{--
  • preview_type=="video" ? 'checked' : '' }}>
  • preview_type =="url" ) class="display-none" @endif id="document1">
    @if($cor->video !="") @endif
    --}} jht_course_id) disabled @endif>

    https://vimeo.com/

    {{--
  • duration_type == "m" ? 'checked' : '' }} >

  • --}}


    jht_course_id) disabled @endif>
    @if($cor['preview_image'] !== NULL && $cor['preview_image'] !== '') @else {{-- course --}} @endif
    {{--
    @if(Auth::User()->role == "admin")
    @endif
    --}}

    {{--
  • --}}


    @section('scripts') @endsection