<div class="youracc-leftlinks">
    <ul>
        <li class="{{ Request::is('profile') ? 'your-active' : '' }}">
            <a href="{{url('profile')}}">
                <span><img src="{{asset('site-assets/images/icon-account1.svg')}}" alt="{{__('lang.navigation_your_account')}}" /></span> {{__('lang.navigation_your_account')}} @if (Session()->get('direction') != '') @if (Session()->get('direction') == 'rtl') <i class="fa fa-angle-left" style="float: left;padding: 2px 12px;"></i> @else <i class="fa fa-angle-right" style="float: right;padding: 2px 12px;"></i> @endif @else <i class="fa fa-angle-right" style="float: right;padding: 2px 12px;"></i> @endif
            </a>
        </li>
        <li class="{{ Request::is('orders') || Request::is('order-details/*') ? 'your-active' : '' }}">
            <a href="{{url('orders')}}">
                <span><img src="{{asset('site-assets/images/icon-orders1.svg')}}" alt="{{__('lang.navigation_your_orders')}}" /></span> {{__('lang.navigation_your_orders')}} @if (Session()->get('direction') != '') @if (Session()->get('direction') == 'rtl') <i class="fa fa-angle-left" style="float: left;padding: 2px 12px;"></i> @else <i class="fa fa-angle-right" style="float: right;padding: 2px 12px;"></i> @endif @else <i class="fa fa-angle-right" style="float: right;padding: 2px 12px;"></i> @endif
            </a>
        </li>
        <!-- <li class="{{ Request::is('payment') ? 'your-active' : '' }}">
            <a href="{{url('payment')}}">
                <span><img src="{{asset('site-assets/images/icon-payment.svg')}}" alt="{{__('lang.navigation_payment')}}" /></span> {{__('lang.navigation_payment')}}
            </a>
        </li> -->
        <li class="{{ Request::is('addresses') ? 'your-active' : '' }}">
            <a href="{{url('addresses')}}">
                <span><img src="{{asset('site-assets/images/Shape.svg')}}" alt="{{__('lang.navigation_save_address')}}" /></span> {{__('lang.navigation_save_address')}} @if (Session()->get('direction') != '') @if (Session()->get('direction') == 'rtl') <i class="fa fa-angle-left" style="float: left;padding: 2px 12px;"></i> @else <i class="fa fa-angle-right" style="float: right;padding: 2px 12px;"></i> @endif @else <i class="fa fa-angle-right" style="float: right;padding: 2px 12px;"></i> @endif
            </a>
        </li>
        <!-- <li class="{{ Request::is('wallet') ? 'your-active' : '' }}">
            <a href="{{url('wallet')}}">
                <span><img src="{{asset('site-assets/images/wallet.svg')}}" alt="{{__('lang.navigation_wallet')}}" /></span> {{__('lang.navigation_wallet')}} @if (Session()->get('direction') != '') @if (Session()->get('direction') == 'rtl') <i class="fa fa-angle-left" style="float: left;padding: 2px 12px;"></i> @else <i class="fa fa-angle-right" style="float: right;padding: 2px 12px;"></i> @endif @else <i class="fa fa-angle-right" style="float: right;padding: 2px 12px;"></i> @endif
            </a>
        </li> -->
        <li class="">
            <a href="javascript:;" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
                <span><img src="{{asset('site-assets/images/logout.svg')}}" alt="{{__('lang.logout')}}" /></span> Terminate @if (Session()->get('direction') != '') @if (Session()->get('direction') == 'rtl') <i class="fa fa-angle-left" style="float: left;padding: 2px 12px;"></i> @else <i class="fa fa-angle-right" style="float: right;padding: 2px 12px;"></i> @endif @else <i class="fa fa-angle-right" style="float: right;padding: 2px 12px;"></i> @endif
            </a>
            <form id="logout-form" action="{{ url('/user-terminate') }}" method="POST" style="display: none;">
                {{ csrf_field() }}
            </form>
        </li>
        <li class="">
            <a href="javascript:;" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
                <span><img src="{{asset('site-assets/images/logout.svg')}}" alt="{{__('lang.logout')}}" /></span> {{__('lang.logout')}} @if (Session()->get('direction') != '') @if (Session()->get('direction') == 'rtl') <i class="fa fa-angle-left" style="float: left;padding: 2px 12px;"></i> @else <i class="fa fa-angle-right" style="float: right;padding: 2px 12px;"></i> @endif @else <i class="fa fa-angle-right" style="float: right;padding: 2px 12px;"></i> @endif
            </a>
            <form id="logout-form" action="{{ url('/user-logout') }}" method="POST" style="display: none;">
                {{ csrf_field() }}
            </form>
        </li>
    </ul>
</div>