<?php $__env->startSection('body'); ?>
    <div class="app-title">
        <div>
            <h1><i class="fa fa-cogs"></i> <?php echo e($page_title); ?></h1>
        </div>
        <ul class="app-breadcrumb breadcrumb">
            <li class="breadcrumb-item"><i class="fa fa-home fa-lg"></i></li>
            <li class="breadcrumb-item"><a href="<?php echo e(url()->current()); ?>"><?php echo e($page_title); ?></a></li>
        </ul>
    </div>
    <div class="row">
        <div class="col-md-12">
            <div class="tile">
                <h3 class="tile-title "><?php echo e($page_title); ?></h3>
                <div class="tile-body">
                    <form role="form" method="POST" action="">
                        <?php echo e(csrf_field()); ?>

                        <div class="row">
                            <div class="form-group col-md-3">
                                <h6 class="text-uppercase">Website Title</h6>
                                <div class="input-group">
                                    <input type="text" class="form-control form-control-lg" value="<?php echo e($general->sitename); ?>"
                                           name="sitename">
                                    <div class="input-group-append"><span class="input-group-text">
                                            <i class="fa fa-file-text-o"></i>
                                            </span>
                                    </div>
                                </div>
                                <span class="text-danger"><?php echo e($errors->first('sitename')); ?></span>
                            </div>

                            <div class="form-group  col-md-3">
                                <h6>COLOR</h6>
                                <div class="input-group">
                                    <input type="text" class="form-control form-control-lg" style="background-color: #<?php echo $general->color; ?> " value="#<?php echo $general->color; ?>"
                                           name="color">
                                    <div class="input-group-append"><span class="input-group-text">
                                            <i class="fa fa-paint-brush"></i>
                                        </span>
                                    </div>
                                </div>
                                <span class="text-danger"><?php echo e($errors->first('color')); ?></span>
                            </div>


                            <div class="form-group  col-md-2">
                                <h6 class="text-uppercase">Referral Bonus <small>(level 1)</small> </h6>
                                <div class="input-group">
                                    <input type="text" class="form-control form-control-lg" value="<?php echo e($general->level_one); ?>"
                                           onkeyup="this.value = this.value.replace (/^\.|[^\d\.]/g, '')"
                                           name="level_one">
                                    <div class="input-group-append"><span class="input-group-text">%</span></div>
                                </div>
                                <small class="form-text text-muted" >User  will  get bonus per deposit</small>
                                <span class="text-danger"><?php echo e($errors->first('level_one')); ?></span>
                            </div>

                            <div class="form-group  col-md-2">
                                <h6 class="text-uppercase">Referral Bonus <small>(level 2)</small> </h6>
                                <div class="input-group">
                                    <input type="text" class="form-control form-control-lg" value="<?php echo e($general->level_two); ?>"
                                           onkeyup="this.value = this.value.replace (/^\.|[^\d\.]/g, '')"
                                           name="level_two">
                                    <div class="input-group-append"><span class="input-group-text">%</span></div>
                                </div>
                                <small class="form-text text-muted" >User  will  get bonus per deposit</small>
                                <span class="text-danger"><?php echo e($errors->first('level_two')); ?></span>
                            </div>
                            <div class="form-group  col-md-2">
                                <h6 class="text-uppercase">Referral Bonus <small>(level 3)</small> </h6>
                                <div class="input-group">
                                    <input type="text" class="form-control form-control-lg" value="<?php echo e($general->level_three); ?>"
                                           onkeyup="this.value = this.value.replace (/^\.|[^\d\.]/g, '')"
                                           name="level_three">
                                    <div class="input-group-append"><span class="input-group-text">%</span></div>
                                </div>
                                <small class="form-text text-muted" >User  will  get bonus per deposit</small>
                                <span class="text-danger"><?php echo e($errors->first('level_three')); ?></span>
                            </div>



                        </div>

                        <div class="row">

                            <div class="form-group  col-md-3">
                                <h6>BASE CURRENCY </h6>
                                <div class="input-group">
                                    <input type="text" class="form-control form-control-lg" value="<?php echo e($general->currency); ?>" name="currency">
                                    <div class="input-group-append"><span class="input-group-text">
                                            <i class="fa fa-money"></i>
                                            </span>
                                    </div>
                                </div>

                                <span class="text-danger"><?php echo e($errors->first('currency')); ?></span>
                            </div>
                            <div class="form-group  col-md-3">
                                <h6>CURRENCY SYMBOL</h6>
                                <div class="input-group">
                                    <input type="text" class="form-control form-control-lg" value="<?php echo e($general->currency_sym); ?>"
                                           name="currency_sym">
                                    <div class="input-group-append"><span class="input-group-text">
                                            <i class="fa fa-exclamation-circle"></i>
                                            </span>
                                    </div>
                                </div>
                                <span class="text-danger"><?php echo e($errors->first('currency_sym')); ?></span>
                            </div>
                            <div class="form-group  col-md-3">
                                <h6>Decimal After Point</h6>
                                <div class="input-group">
                                    <input type="text" class="form-control form-control-lg" value="<?php echo e($general->decimal); ?>"
                                           name="decimal">
                                    <div class="input-group-append"><span class="input-group-text">
                                            Decimal
                                            </span>
                                    </div>
                                </div>
                                <span class="text-danger"><?php echo e($errors->first('decimal')); ?></span>
                            </div>
                            <div class="form-group  col-md-3">
                                <h6>REGISTRATION</h6>
                                <input data-toggle="toggle" data-onstyle="success" data-offstyle="danger" data-size="large"
                                       data-width="100%" type="checkbox"
                                       name="registration" <?php echo e($general->registration == "1" ? 'checked' : ''); ?>>
                            </div>


                        </div>

                        <div class="row">
                            <div class="form-group  col-md-3">
                                <h6>EMAIL VERIFICATION</h6>
                                <input data-toggle="toggle" data-onstyle="success" data-offstyle="danger" data-size="large"
                                       data-width="100%" type="checkbox"
                                       name="email_verification" <?php echo e($general->email_verification == "1" ? 'checked' : ''); ?>>
                            </div>

                            <div class="form-group  col-md-3">
                                <h6>EMAIL NOTIFICATION</h6>
                                <input data-toggle="toggle" data-onstyle="success" data-offstyle="danger" data-size="large"
                                       data-width="100%" type="checkbox"
                                       name="email_notification" <?php echo e($general->email_notification == "1" ? 'checked' : ''); ?>>
                            </div>

                            <div class="form-group  col-md-3">
                                <h6>SMS VERIFICATION</h6>
                                <input data-toggle="toggle" data-onstyle="success" data-offstyle="danger" data-size="large"
                                       data-width="100%" type="checkbox"
                                       name="sms_verification" <?php echo e($general->sms_verification == "1" ? 'checked' : ''); ?>>
                            </div>

                            <div class="form-group  col-md-3">
                                <h6>SMS NOTIFICATION</h6>
                                <input data-toggle="toggle" data-onstyle="success" data-offstyle="danger" data-size="large"
                                       data-width="100%" type="checkbox"
                                       name="sms_notification" <?php echo e($general->sms_notification == "1" ? 'checked' : ''); ?>>
                            </div>
                        </div>
                        <div class="row">
                            <div class="form-group  col-md-12 ">
                                <br><br>
                                <button class="btn btn-primary btn-block btn-lg">Update</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('script'); ?>

<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin', \Illuminate\Support\Arr::except(get_defined_vars(), array('__data', '__path')))->render(); ?>