@extends('admin.layouts.master') @section('title', 'Edit User - Admin') @section('body') @include('admin.message') {{ __('adminstaticword.Edit') }} {{ __('adminstaticword.Role') }} << {{ __('adminstaticword.Back') }} {{ csrf_field() }} {{ method_field('PUT') }} {{ __('adminstaticword.FirstName') }} : * {{-- {{ __('adminstaticword.LastName') }} : * --}} {{ __('adminstaticword.Mobile') }} :* {{ __('adminstaticword.Email') }} :* {{ __('adminstaticword.SelectRole') }} : @if(Auth::User()->role=="admin") role == 'user' ? 'selected' : ''}} value="user">{{ __('adminstaticword.User') }} role == 'admin' ? 'selected' : ''}} value="admin">{{ __('adminstaticword.Admin') }} role == 'instructor' ? 'selected' : ''}} value="instructor">{{ __('adminstaticword.Instructor') }} @endif @if(Auth::User()->role=="instructor") role == 'user' ? 'selected' : ''}} value="user">{{ __('adminstaticword.User') }} role == 'instructor' ? 'selected' : ''}} value="instructor">{{ __('adminstaticword.Instructor') }} @endif @if(Auth::User()->role=="user") role == 'user' ? 'selected' : ''}} value="user">{{ __('adminstaticword.User') }} @endif {{-- {{ __('adminstaticword.Address') }} : {{ $user->address }} --}} {{ __('adminstaticword.ChooseState') }} : county)) data-value="{{ $user->county }}" @endif> {{-- {{ __('adminstaticword.SelectanOption') }} @foreach ($countries as $coun) country_id == $coun->country_id ? 'selected' : ''}}>{{ $coun->nicename }} @endforeach --}} {{ __('adminstaticword.ChooseCity') }} : district)) data-value="{{ $user->district }}" @endif> {{-- {{ __('adminstaticword.SelectanOption') }} @foreach ($states as $s) state_id==$s->state_id ? 'selected' : '' }}>{{ $s->name}} @endforeach --}} {{-- {{ __('adminstaticword.City') }} : {{ __('adminstaticword.SelectanOption') }} @foreach ($cities as $c) city_id == $c->id ? 'selected' : ''}}>{{ $c->name }} @endforeach --}} {{ __('adminstaticword.Pincode') }} : {{-- --}} {{ __('adminstaticword.Address') }} : {{-- {{ $user->address }} --}} {{-- {{ __('adminstaticword.Verified') }} : email_verified_at != NULL ? 'checked' : '' }}> --}} {{ __('adminstaticword.Status') }} : status == '1' ? 'checked' : '' }} > 推薦 : featured == '1' ? 'checked' : '' }} > {{ __('adminstaticword.Image') }} : {{ __('adminstaticword.Recommendedsize') }} 625x625 @if($user->user_img != null || $user->user_img !='') @else @endif {{ __('adminstaticword.UpdatePassword') }} : {{ __('adminstaticword.Password') }} {{ __('adminstaticword.ConfirmPassword') }} {{ __('adminstaticword.Detail') }} :* {{ $user->detail }} Google : FB : Line : OP會員 : ICashPay : {{ $user->icashpay_token ? '已綁定' : '未綁定' }} 信用卡 : {{ $user->cathay_card_id ? '已綁定' : '未綁定' }} {{-- {{ __('adminstaticword.SocialProfile') }} {{ __('adminstaticword.FacebookUrl') }} : {{ __('adminstaticword.YoutubeUrl') }} : {{ __('adminstaticword.TwitterUrl') }} : {{ __('adminstaticword.LinkedInUrl') }} : --}} @endsection @section('scripts') {{-- tw-city-selector --}} @endsection
{{ __('adminstaticword.Recommendedsize') }} 625x625