관리-도구
편집 파일: 4bb1975a1809cfee1c591bd564ae9d501b61eab8.php
<?php $__env->startSection('content'); ?> <!-- Breadcrumbs --> <div class="breadcrumbs"> <div class="container"> <div class="row"> <div class="col-12"> <div class="bread-inner"> <ul class="bread-list"> <li><a href="<?php echo e(url('')); ?>"><?php echo e(_lang('Home')); ?><i class="ti-arrow-right"></i></a></li> <li class="active"><a href=""><?php echo e(_lang('Add New Address')); ?></a></li> </ul> </div> </div> </div> </div> </div> <!-- End Breadcrumbs --> <!-- Login Screen --> <section id="auth"> <div class="container"> <div class="row"> <div class="col-lg-3 col-md-4"> <div class="customer_dashboard"> <?php echo $__env->make('theme.default.customer.my_account.menu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div> </div> <div class="col-lg-9 col-md-8"> <div class="dashboard_content"> <div class="card"> <div class="card-header"> <h4><?php echo e(_lang('Add New Address')); ?></h4> </div> <div class="card-body"> <?php if(\Session::has('success')): ?> <div class="alert alert-success mt-4"> <a href="#" class="close" data-dismiss="alert" aria-label="close">×</a> <span><?php echo xss_clean(session('success')); ?></span> </div> <?php endif; ?> <?php if(\Session::has('error')): ?> <div class="alert alert-danger mt-4"> <a href="#" class="close" data-dismiss="alert" aria-label="close">×</a> <span><?php echo xss_clean(session('error')); ?></span> </div> <?php endif; ?> <div class="account_details"> <form action="<?php echo e(url('/add_new_address')); ?>" method="post"> <?php echo csrf_field(); ?> <div class="row"> <div class="col-md-12"> <input type="text" name="name" value="<?php echo e(old('name')); ?>" class="form-control <?php echo e($errors->has('name') ? 'is-invalid' : ''); ?>" placeholder="<?php echo e(_lang('Name')); ?>" required> <?php if($errors->has('name')): ?> <div class="invalid-feedback"> <?php echo e($errors->first('name')); ?> </div> <?php endif; ?> </div> <div class="col-md-6"> <?php $supported_countries = get_option('supported_countries'); ?> <select class="form-control customer-country" data-selected="<?php echo e(old('country')); ?>" name="country" required> <option value=""><?php echo e(_lang('Select Country')); ?></option> <?php if(!empty($supported_countries)): ?> <?php $__currentLoopData = get_all_country(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $country): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if(in_array($country->name, $supported_countries)): ?> <option value="<?php echo e($country->sortname); ?>" data-id="<?php echo e($country->id); ?>" <?php echo e(old('country') == $country->sortname ? 'selected' : ''); ?>> <?php echo e($country->name); ?> </option> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> </select> <?php if($errors->has('country')): ?> <div class="invalid-feedback"> <?php echo e($errors->first('country')); ?> </div> <?php endif; ?> </div> <div class="col-md-6"> <select class="form-control" id="state" name="state" required> <option value=""><?php echo e(_lang('Select State')); ?></option> </select> <?php if($errors->has('state')): ?> <div class="invalid-feedback"> <?php echo e($errors->first('state')); ?> </div> <?php endif; ?> </div> <div class="col-md-12"> <input type="text" name="city" value="<?php echo e(old('city')); ?>" class="form-control <?php echo e($errors->has('city') ? 'is-invalid' : ''); ?>" placeholder="<?php echo e(_lang('City')); ?>" required> <?php if($errors->has('city')): ?> <div class="invalid-feedback"> <?php echo e($errors->first('city')); ?> </div> <?php endif; ?> </div> <div class="col-md-12"> <textarea class="form-control <?php echo e($errors->has('address') ? 'is-invalid' : ''); ?>" name="address" placeholder="<?php echo e(_lang('Address')); ?>" required><?php echo e(old('address')); ?></textarea> <?php if($errors->has('address')): ?> <div class="invalid-feedback"> <?php echo e($errors->first('address')); ?> </div> <?php endif; ?> </div> <div class="col-md-6"> <input type="text" name="post_code" value="<?php echo e(old('post_code')); ?>" class="form-control <?php echo e($errors->has('post_code') ? 'is-invalid' : ''); ?>" placeholder="<?php echo e(_lang('Post Code')); ?>" required> <?php if($errors->has('post_code')): ?> <div class="invalid-feedback"> <?php echo e($errors->first('post_code')); ?> </div> <?php endif; ?> </div> <div class="col-md-6"> <select class="form-control" name="is_default" required> <option value=""><?php echo e(_lang('is Default')); ?></option> <option value="0" <?php echo e(old('is_default') == 0 ? 'selected' : ''); ?>><?php echo e(_lang('No')); ?></option> <option value="1" <?php echo e(old('is_default') == 1 ? 'selected' : ''); ?>><?php echo e(_lang('Yes')); ?></option> </select> <?php if($errors->has('is_default')): ?> <div class="invalid-feedback"> <?php echo e($errors->first('is_default')); ?> </div> <?php endif; ?> </div> <div class="col-md-12"> <button type="submit" class="btn-login"><?php echo e(_lang('Save Changes')); ?></button> </div> </div> </form> </div> </div> </div> </div> </div> </div> </div> </section> <!--/ End Login Screen --> <?php $__env->stopSection(); ?> <?php echo $__env->make('theme.saintsaccessories.websiteEcom', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/customamgdigital/saintsaccessories.custom.amgdigitalagency.com/resources/views/theme/saintsaccessories/customer/my_account/create_address.blade.php ENDPATH**/ ?>