<?php $__env->startSection('title', Options::get('title') ); ?>

<?php $__env->startSection('head_scripts'); ?>
    <!-- Google Recaptcha -->
        <script src='https://www.google.com/recaptcha/api.js'></script>
<?php $__env->stopSection(); ?>


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

<div class="container">
<div class="search-pblm">
    <form action="">
        <div class="form-group">
            <input type="text" name="problem" id="problem" class="form-control" placeholder="Facing a problem? Try searching here...">            
            <button type="submit"><i class="fa fa-search"></i></button>      
        </div>
    </form>
</div>

<div class="ticket-area">
    <div class="row">
        <div class="col-md-7">
            <!-- Ticket submit form -->
            <div class="submit-ticket">
                <div class="heading-text">
                    <h2>Didn’t find what you want?  <span>Open a ticket now!</span></h2>
                    <p>We are very responsive in our service. You will get reply within 24 hours.</p>
                </div>

                <?php echo $__env->make('partials.site.ticket_form', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

                        <div class="form_row hm_p_f_r">
                            <div class="form_half ">
                                <div class="ticket-submit-file">
                                    <input type="file" name="file" id="file-2" class="inputfile" data-multiple-caption="{count} files selected" />
                                    <label for="file-2"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="17" viewBox="0 0 20 17"><path d="M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"/></svg> <span> <span class="browse">Browse</span> your file here&hellip;</span></label>
                                </div>
                            </div>

                            <div class="form_half form_gcaptha_controllable">
                                <div class="g-recaptcha" data-sitekey="6Ld4lycTAAAAALQJOPD4C2UoTtJ2LGYLr4azVwIV"></div>
                            </div>
                        </div>

                        <div class="form-status "></div>


                        <div class="form-group ">
                            <input type="submit"  onclick="tinyMCE.triggerSave(true,true);"  value="Submit your ticket" class="btn btn-submit create-ticket-btn">
                        </div>

                    </form>
                
                </div>
                <!-- Ticket form ends -->
            </div>
            <!-- Ticket submit form ends -->
        </div>
        
        <?php echo $__env->make('partials.site.faq', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
    </div>
</div>
</div>



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


<?php /* Include scripts */ ?>
<?php $__env->startSection('script'); ?>
    
    <script src="<?php echo e(URL::asset('assets/js/tinymce/tinymce.min.js')); ?>"></script>
    <script>
        // Tiny MCE Editor for the Custom Textarea,
        tinymce.init({
            selector: 'textarea', 
            height: 220,
            menubar: false,
            paste_auto_cleanup_on_paste : true,
            paste_remove_styles: true,
            fullpage_default_fontsize: "18px",
            paste_as_text: true,
            paste_remove_styles_if_webkit: true,
            paste_strip_class_attributes: "all",
            plugins : 'paste advlist autolink  autoresize link image lists charmap print preview',
            toolbar: false,
            content_css: siteUrl + '/assets/css/tinymce.site.css',
            setup: function (editor) {
                editor.addButton('pasteCode', {
                text: 'Paste code',
                icon: false,
                onclick: function () {
                    editor.insertContent('<pre><code>"paste your code inside the quotation, then remove the quotation marks."</code></pre>');
                }
                });
            },
        });

    </script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>