Sh3ll
OdayForums


Server : Apache
System : Linux 145.162.205.92.host.secureserver.net 5.14.0-611.45.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 1 05:56:53 EDT 2026 x86_64
User : tradze ( 1001)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /home/tradze/www/dev/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/tradze/www/dev/storage/framework/views/2407be824cac3b95f4e63e612a5d6c1c41de9b2e.php
<?php $__env->startSection('title'); ?>
    <?php if(isset($label)): ?>
        Edit Review
    <?php else: ?>
        New Review
    <?php endif; ?>
<?php $__env->stopSection(); ?>

<?php /* ================= CSS ================= */ ?>
<?php $__env->startSection('css_page'); ?>
<link href="<?php echo e(asset('/themes/admin/assets/global/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.css')); ?>" rel="stylesheet">

<?php /* Select2 CSS */ ?>
<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet"/>

<style>
    /* Bootstrap + Metronic fix */
    .select2-container {
        width: 100% !important;
    }
</style>
<?php $__env->stopSection(); ?>

<?php /* ================= CONTENT ================= */ ?>
<?php $__env->startSection('content'); ?>

<div class="page-bar">
    <ul class="page-breadcrumb">
        <li>
            <i class="fa fa-home"></i>
            <a href="<?php echo url(''); ?>">Home</a>
            <i class="fa fa-angle-right"></i>
        </li>
        <li>
            <a href="<?php echo route('admin.reviews.index'); ?>">Reviews</a>
        </li>
    </ul>
</div>

<div class="row">
<div class="col-md-12">

<?php if(isset($obj)): ?>
<?php echo Form::model($obj, ['url' => url('admin/reviews/'.$obj->id), 'method' => 'put', 'class' => 'form-horizontal', 'files' => true]); ?>

<?php else: ?>
<?php echo Form::open(['url' => url('admin/reviews'), 'method' => 'post', 'class' => 'form-horizontal', 'files' => true]); ?>

<?php endif; ?>

<?php if(isset($obj)): ?>
    <?php /* Editing existing review */ ?>
    <input type="hidden" name="action" value="save_exit">
<?php else: ?>
    <?php /* Creating new review */ ?>
    <input type="hidden" name="action" value="save">
<?php endif; ?>

<div class="portlet">
<div class="portlet-title">
    <div class="caption">
        <?php echo e(isset($obj) ? 'Edit Review' : 'New Review'); ?>

    </div>
</div>

<div class="portlet-body">
<?php echo $__env->make('flash::message', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

<div class="row">
<div class="col-md-6">

<?php /* Name */ ?>
<div class="form-group">
    <label class="control-label col-md-3">Name</label>
    <div class="col-md-9">
        <?php echo Form::text('user_name', null, ['class'=>'form-control']); ?>

    </div>
</div>

<?php /* Service Provider (SEARCHABLE) */ ?>
<div class="form-group">
    <label class="control-label col-md-3">Service Provider</label>
    <div class="col-md-9">
        <?php echo Form::select(
            'therapist_id',
            $therapists,
            $obj->therapist_id ?? null,
            [
                'class' => 'form-control searchable-select',
                'placeholder' => 'Select Service Provider'
            ]
        ); ?>

    </div>
</div>

<?php /* Ratings */ ?>
<?php foreach(['salon_rating'=>'Overall Rating','atmosphere'=>'Work Quality','sanitation'=>'Reliability','employees'=>'Expertise & Knowledge','satisfaction' => 'Pricing'] as $key => $label): ?>
<div class="form-group">
    <label class="control-label col-md-3"><?php echo e($label); ?></label>
    <div class="col-md-9">
        <?php echo Form::number($key, null, [
            'class' => 'form-control',
            'min' => 0,
            'max' => 5,
        ]); ?>

    </div>
</div>
<?php endforeach; ?>

<?php /* Review */ ?>
<div class="form-group">
    <label class="control-label col-md-3">Review</label>
    <div class="col-md-9">
        <?php echo Form::textarea('review', null, ['class'=>'form-control ckeditor']); ?>

    </div>
</div>

</div>

<?php /* Right column */ ?>
<div class="col-md-6">
<div class="form-group">
    <label class="control-label col-md-3">Is Approved</label>
    <div class="col-md-9">
        <?php echo Form::checkbox('is_approved', 1, null); ?>

    </div>
</div>
</div>

</div>
</div>

<div class="form-actions">
    <button class="btn green" type="submit">Save</button>
    <a href="<?php echo e(route('admin.reviews.index')); ?>" class="btn default">Cancel</a>
</div>

</div>
<?php echo Form::close(); ?>

</div>
</div>

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

<?php /* ================= SCRIPTS ================= */ ?>
<?php $__env->startSection('scripts_page'); ?>
@parent

<?php /* Select2 JS */ ?>
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>

<script>
$(document).ready(function () {
    $('.searchable-select').select2({
        placeholder: 'Select Service Provider',
        allowClear: true
    });
});
</script>

<script src="<?php echo e(asset('/themes/admin/assets/global/plugins/bootstrap-wysihtml5/wysihtml5-0.3.0.js')); ?>"></script>
<script src="<?php echo e(asset('/themes/admin/assets/global/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.js')); ?>"></script>

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

<?php echo $__env->make('admin.layouts.form', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

ZeroDay Forums Mini