403Webshell
Server IP : 138.197.107.151  /  Your IP : 216.73.217.7
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : wpbetasites_mrakzqskir ( 1022)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/silversharkdev/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/silversharkdev/storage/framework/views/6ceee63774a5cc209c46ec3f8e8a6d06.php
<?php $__env->startSection('content'); ?>
<div class="" id="result">
    <div class="page-content overview">
        <div class="container" id="top-bar">
            
            <div class="top-flex pb-4">
                  <a href="<?php echo e(route('dashboard')); ?>" class="mb-0 font-size-18 page-inner-title back-link-site">&lt; Back to Websites</a>
            </div>
        </div>

        <!-- Overview Card -->
        <div class="website-overview">
            <div class="container">
                <div class="card p-4">
                    <div class="overview-head pb-4 border-bottom">
                        <div class="row align-items-center">
                            <div class="col-12 col-lg-6">
                                <div class="overview-title-wrapper d-flex gap-3">
                                    <div class="overview-icon bg-primary rounded text-white d-flex align-items-center justify-content-center" style="aspect-ratio: 1/1;width: 65px;height: 100%;">
                                        <svg xmlns="http://www.w3.org/2000/svg" width="45" height="45" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-globe"><circle cx="12" cy="12" r="10"></circle><line x1="2" y1="12" x2="22" y2="12"></line><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path></svg>
                                    </div>
                                    <div class="overview-title">
                                       <h2 class="mb-0 d-flex align-items-center gap-2"><?php echo e($website->title); ?> <span class="badge badge-success bg-success fs-6"><?php echo e($website->domain ? "Live" : "Sandbox"); ?></span></h2>
                                       <a href="<?php echo e($website->domain && $website->domain_status=='completed'  ? 'https://'.$website->domain : 'https://'.@$server_meta['domain'].'.'. \config('app.SITE_DOMAIN')); ?>" class="site-link text-muted" target="_blank">
                                            <?php echo e($website->domain && $website->domain_status=='completed'  ? $website->domain : @$server_meta['domain'].'.'. \config('app.SITE_DOMAIN')); ?>

                                            <i class="fas fa-external-link-alt"></i>
                                        </a>
                                    </div>
                                </div>
                            </div>
                            <div class="col-12 col-lg-6">
                                <!-- Action Buttons -->
                                <div class="btn-group-overvw justify-content-end">
                                    <?php if(!$website->plan): ?>
                                    <form  action="<?php echo e(route('website.remove',['id'=>$website->id])); ?>" method="POST">
                                        <?php echo csrf_field(); ?>
                                        <?php echo method_field('DELETE'); ?>
                                        <button type="submit" class="btn btn-primary cyan btn-lg mx-1 remove_website show_confirm_message" data-confirm-msg="Are you sure you want to delete this website?&lt;div class='mt-3'&gt;Note: Please note that once deleted, this cannot be restored.&lt;/div&gt;" data-bs-toggle="tooltip" data-bs-placement="top" note="" title="" data-bs-original-title="">
                                           <img src="<?php echo e(asset('assets/images/delete.svg')); ?>" height="20" alt="icon"> Delete 
                                        </button>
                                    </form>
                                        <?php if(auth()->user()->email_verified_at!=null): ?> 
                                    <!-- <a href="<?php echo e(route('website.pricing_plans.list',['id'=>$website->id])); ?>"  class="btn btn-outline-primary button-text blue mx-1" title="View plans"><img src="<?php echo e(asset('assets/images/upgrad.svg')); ?>" alt="icon"> Upgrade</a> -->
                                        <?php endif; ?>
                                    <?php endif; ?>
                                    
                                    <?php
                                        $signature = @hash_hmac('sha256', "site_id_".$website->id."|email_id_info@site.com", env('WP_SSO_KEY'));

                                        $disable_download = true;
                                    ?>
                                    <?php if(true || $website->plan): ?>
                                    <a class="btn btn-primary btn-lg mx-1" href="<?php echo e($website->domain && $website->domain_status=='completed' ? 'https://'.$website->domain.'/index.php/wp-json/wp/v1/autologin?payload='.$signature.'&email=info@site.com' : 'https://'.@$server_meta['domain'].'.'. \config('app.SITE_DOMAIN').'/index.php/wp-json/wp/v1/autologin?payload='.$signature.'&email=info@site.com'); ?>" target="_blank" class="btn btn-outline-primary button-text">
                                        <img src="<?php echo e(asset('assets/images/wp.svg')); ?>" alt="icon"> WP Admin
                                    </a>
                                    <?php endif; ?>
                                    <?php if($website->plan && $website->plan->type=="one-time"): ?>
                                        <?php
                                            $request_download_zip = $website->latestWebsiteArchiveRequest($website->id);
                                            
                                            $disable_download = false;
                                            if($request_download_zip && ($request_download_zip->status == 'inprogress' || $request_download_zip->status == 'pending')){
                                                $disable_download = true;
                                            }
                                        ?>
                                        <?php if($disable_download): ?>
                                    <div data-bs-toggle="tooltip" title="The request is in progress">
                                                 <span class="btn btn-outline-primary button-text cyan disabled" disabled>Request Download</span>
                                            </div>
                                        <?php else: ?>
                                    <a class="btn btn-outline-primary button-text cyan mx-1 blue" href="<?php echo e(route('website.zip.download',['id'=>$website->id])); ?>">Request Download</a>
                                        <?php endif; ?>
                                    <?php endif; ?>
                                    <?php if($website->plan && $website->plan->type!=="one-time"): ?>
                                        <?php if($website->is_cancellation_requested==0): ?>
                                        <form class="cencel-icon" action="<?php echo e(route('website.cancel_plan',['id'=>$website->id])); ?>" method="GET" >
                                            <button class="btn btn-outline-primary button-text mx-1 blue show_cancel_confirm_message " data-confirm-msg="<?php echo e('Are you sure you want to cancel the current plan for your website?'); ?>" title="Cancel plan">
                                                <i class="mdi mdi-cancel"></i>
                                                Cancel Plan
                                            </button>
                                        </form>
                                        
                                        <?php endif; ?>
                                    <?php endif; ?>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="overview-details pt-4">
                        <div class="row">
                            <div class="col-6 col-lg-3 border-end">
                                <div class="d-flex gap-3 align-items-center">
                                    <div class="overview-icon bg-info rounded text-info d-flex align-items-center justify-content-center" style="aspect-ratio: 1/1;width: 45px;height: 100%;--bs-bg-opacity: .2;">
                                        <i class="fas fa-layer-group" style="font-size: 22px;"></i>
                                    </div>
                                    <div class="overview-title">
                                       <h5 class="text-muted mb-1">Hosted on</h5>
                                        <p class="fw-bold m-0">Bloxby Premium Hosting</p>
                                    </div>
                                </div>
                            </div>
                            <div class="col-6 col-lg-3 border-end">
                                <div class="d-flex gap-3 align-items-center">
                                    <div class="overview-icon bg-warning rounded text-warning d-flex align-items-center justify-content-center" style="aspect-ratio: 1/1;width: 45px;height: 100%;--bs-bg-opacity: .2;">
                                        <i class="fas fa-map-marker-alt" style="font-size: 22px;"></i>
                                    </div>
                                    <div class="overview-title">
                                       <h5 class="text-muted mb-1">Data center</h5>
                                        <p class="fw-bold m-0">Council, Bluffs, lowa, USA</p>
                                    </div>
                                </div>
                            </div>
                            <div class="col-6 col-lg-3 border-end">
                                <div class="d-flex gap-3 align-items-center">
                                    <div class="overview-icon bg-danger rounded text-danger d-flex align-items-center justify-content-center" style="aspect-ratio: 1/1;width: 45px;height: 100%;--bs-bg-opacity: .2;">
                                        <i class="fas fa-globe" style="font-size: 22px;"></i>
                                    </div>
                                    <div class="overview-title">
                                       <h5 class="text-muted mb-1">IPV4 address</h5>
                                        <p class="fw-bold m-0"><?php echo e(env("SERVER_IP")); ?></p>
                                    </div>
                                </div>
                            </div>
                            <div class="col-6 col-lg-3">
                                <div class="d-flex gap-3 align-items-center">
                                     <div class="overview-icon bg-success rounded text-success d-flex align-items-center justify-content-center" style="aspect-ratio: 1/1;width: 45px;height: 100%;--bs-bg-opacity: .2;">
                                        <i class="fas fa-shield-alt" style="font-size: 22px;"></i>
                                    </div>
                                    <div class="overview-title">
                                       <h5 class="text-muted mb-1">SSL Status</h5>
                                        <p class="fw-bold m-0">Active</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Tabs Row -->
        <div class="tabs-row">
            <div class="container">
                <div class="card px-4">
                    <ul class="nav nav-tabs nav-tabs-custom fs-4 border-0">
                        <li class="nav-item"><a data-bs-toggle="tab" class="nav-link bg-transparent py-4 active" href="#tab-overview"><i class="far fa-file-alt"></i> Site Information</a></li>
                        <li class="nav-item"><a data-bs-toggle="tab" class="nav-link bg-transparent py-4" href="#tab-ftp"><i class="far fa-folder-open"></i> SFTP Information</a></li>
                        <li  class="nav-item"><a data-bs-toggle="tab" class="nav-link bg-transparent py-4" href="#tab-backup"><i class="fas fa-history"></i> Backup</a></li>
                    </ul>
                </div>
            </div>
        </div>

        <!-- Tabs Content -->
        <div class="tabs-row-content">
            <div class="container">
                <div class="row">
                    <div class="col-12 col-lg-7">
                        <div class="tab-content">
                            <div class="tab-pane active" id="tab-overview">
                                <div class="dash-card card p-4 text-black mb-0">
                                    <div class="dash-card-head d-flex align-items-start justify-content-between">
                                        <div>
                                            <h3 class="title fs-4 text-black">PageSpeed Score</h3>
                                            <div class="date fs-5 text-muted" id="analyzedDate">Last Analyzed:
                                                <?php echo date('m/d/Y') ?>
                                            </div>
                                        </div>
                                        <button class="btn btn-primary rounded-3 cyan btn-lg" id="refreshPageSpeed"><i class="fas fa-redo-alt"></i>
                                            Reanalyze</button>
                                    </div>

                                    <div class="pagescore-result-grid mt-4">
                                        <div class="pagescore-result-wrap">
                                            <div class="circle-wrap-bg">
                                                <div class="circle" id="desktopScore">
                                                    <img class="score-initial" src="/assets/images/speed-init.png" style="width: 120%;">
                                                </div>
                                            </div>
                                            <div class="pagescore-result-score">
                                                <div class="label fs-6 text-muted mb-1">Desktop Score</div>
                                                <div class="load-time fs-5" id="desktopLoad">Load Time: 0.5s</div>
                                            </div>

                                        </div>
                                        <div class="pagescore-result-wrap">
                                            <div class="circle-wrap-bg">
                                                <div class="circle" id="mobileScore">
                                                    <img class="score-initial" src="/assets/images/speed-init.png" style="width: 120%;">
                                                </div>
                                            </div>
                                            <div class="pagescore-result-score">
                                                <div class="label fs-6 text-muted mb-1">Mobile Score</div>
                                                <div class="load-time fs-5" id="mobileLoad">Load Time: 0.5s</div>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="pagescore-note p-2 rounded-3 bg-light mt-4 text-center">🚀 Boost your website performance and
                                        security with Bloxby Hosting.</div>
                                </div>
                            </div>
                            
                            <div class="tab-pane" id="tab-ftp">
                                <div class="dash-card card p-4 text-black mb-0">
                                    <div>
                                        <h3 class="title fs-4 text-black">SFTP Details</h3>
                                        <div class="date fs-5 text-muted" id="analyzedDate">Use the following credentials to access your website files via SFTP.
                                        </div>
                                    </div>
                                    <div class="row web-details mt-2 g-3">
                                        <div class="col-6">
                                            <div class="bg-light border rounded-3 d-flex flex-column justify-content-center p-3">
                                                <span>Host:</span> <p class="m-0" id="sftpHost"><?php echo e($sftp_ip); ?></p>
                                            </div>
                                        </div>
                                        <div class="col-6">
                                            <div class="bg-light border rounded-3 d-flex flex-column justify-content-center p-3">
                                                <span>Port:</span> <p class="m-0" id="sftpPort">22</p>
                                            </div>
                                        </div>
                                        <div class="col-6">
                                            <div class="bg-light border rounded-3 d-flex flex-column justify-content-center p-3">
                                                <span>Username:</span> <p class="m-0" id="sftpUser"><?php echo e($sftp_user); ?></p>
                                            </div>
                                        </div>
                                        <div class="col-6">
                                            <div class="bg-light border rounded-3 d-flex flex-column justify-content-center p-3">
                                                <span>Password:</span> <p class="m-0" id="sftpPass"><?php echo e($sftp_pass); ?></p>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="tab-pane" id="tab-backup">
                                <div class="card p-4">
                                    <h3 class="title fs-4 text-black">Backup</h3>
                                    <?php
                                        $download_zip_request = null;
                                        // if($website->plan){
                                        //     if($website->plan->type=="one-time"){
                                                $download_zip_request = $website->latestCompleteWebsiteArchiveRequest($website->id);
                                        //     } 
                                        // }   
                                    ?>
                                    <?php if($download_zip_request): ?>
                                        <table class="table table-striped cards-wrapper">   
                                            <tr>
                                                
                                                <th>Date Time</th>
                                                <th>Description</th>
                                                
                                                <th></th>
                                            </tr>
                                            <tr>
                                                <td><?php echo e($download_zip_request->created_at->format('d M. Y h:i A')); ?></td>
                                                
                                                <td>
                                                   Website backup
                                                </td>
                                                
                                                <td class="text-end">
                                                    <a href="https://backups.<?php echo e(\config('app.SITE_DOMAIN')); ?>/<?php echo e(env('ENVIRONMENT')); ?>/<?php echo e($download_zip_request->backup_file); ?>" target="_blank" class="btn btn-outline-primary button-text dns-instructions-btn-">
                                                        Download Now
                                                    </a>
                                                     
                                                </td>
                                            </tr>
                                        </table>
                                    <?php else: ?>
                                        <div class="d-flex justify-content-between align-items-center gap-2">
                                            <p class="mb-0 fs-5 text-muted"> No downloads are ready</p>
                                               
                                            <a class="btn btn-outline-primary button-text cyan mx-1 blue" href="<?php echo e(route('website.zip.download',['id'=>$website->id])); ?>">Request Download</a>
                                        </div>
                                    <?php endif; ?>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-12 col-lg-5">
                        <div class="help-box card overflow-hidden">
                            <div class="card-head p-4 bg-primary text-white">
                                <div class="d-flex align-items-center gap-3">
                                    <div class="help-icon flex-shrink-0">
                                        <i class="far fa-question-circle" style="font-size: 48px;"></i>
                                    </div>
                                    <div>
                                        <h3 class="fw-bold text-white mb-1">
                                            Need help?
                                        </h3>

                                        <p class="mb-0 text-white text-opacity-75">
                                            Here are some useful resources to help you get started.
                                        </p>
                                    </div>
                                </div>
                            </div>
                            <div class="card-body">
                                <div class="d-flex gap-3 align-items-center pb-3 border-bottom">
                                    <div class="overview-icon text-primary d-flex align-items-center justify-content-center" style="aspect-ratio: 1/1;width: 45px;height: 100%;--bs-bg-opacity: .2;">
                                        <i class="fas fa-book" style="font-size: 22px;"></i>
                                    </div>
                                    <div class="overview-title">
                                        <p class="fw-bold text-primary mb-0">How to connect via FTP</p>
                                        <p class="m-0">Step-by-step guide</p>
                                    </div>
                                </div>
                                <div class="d-flex gap-3 align-items-center py-3 border-bottom">
                                    <div class="overview-icon text-primary d-flex align-items-center justify-content-center" style="aspect-ratio: 1/1;width: 45px;height: 100%;--bs-bg-opacity: .2;">
                                        <i class="fas fa-download" style="font-size: 22px;"></i>
                                    </div>
                                    <div class="overview-title">
                                        <p class="fw-bold text-primary mb-0">Recommended FTP Clients</p>
                                        <p class="m-0">Download and setup guide</p>
                                    </div>
                                </div>
                                <div class="d-flex gap-3 align-items-center pt-3">
                                    <div class="overview-icon text-primary d-flex align-items-center justify-content-center" style="aspect-ratio: 1/1;width: 45px;height: 100%;--bs-bg-opacity: .2;">
                                        <i class="fas fa-shield-alt" style="font-size: 22px;"></i>
                                    </div>
                                    <div class="overview-title">
                                        <p class="fw-bold text-primary mb-0">Managing Files & Permissions</p>
                                        <p class="m-0">Best practices & tips</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<?php echo $__env->make('partials.modals.confirm_modal',['title'=>"Delete website"], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

<?php $__env->stopSection(); ?>
<?php $__env->startPush('scripts'); ?>
<script>
    var clicked_confirm_action = null;

    $(".show_confirm_message").click(function(e) {
        e.preventDefault();

        clicked_confirm_action = $(this);

        $("#confirmModal").find(".modal-body").html($(this).attr("data-confirm-msg"));

        if($(this).attr("data-confirm-title")){
            $("#confirmModal").find(".modal-title").html($(this).attr("data-confirm-title"));
        }
        $("#confirmModal").modal("show");



    })
    $("#confirmYesBtn").click(function() {
        clicked_confirm_action.closest("form").submit();
    })
    $(".show_cancel_confirm_message").click(function(e) {
        e.preventDefault();

        clicked_confirm_action = $(this);

        $("#confirmModal").find(".modal-body").html($(this).attr("data-confirm-msg"));

        $("#confirmModal").modal("show");

        $("#confirmModalLabel").html("Cancel plan");


    })
    $(".attach-domain").click(function(e) {
        e.preventDefault();

        //if($(this).attr("data-action")=="attach-domain"){
            $("#domainForm").attr("action", $(this).attr("href"));
            $("#attachDomainModal").modal("show");
        /*} else {
            loadPricingPlans($(this).attr("data-website"))
        }*/
    });
    $(".dns-instructions-btn").click(function(e) {
        e.preventDefault();

        
            $("#dnsInstructionsModal").modal("show");
        
    });
</script>
<script>
    function loadPricingPlans(websiteId) {
        $('#pricingPlansModal').modal('show');
        $('#pricingPlansContainer').html('<div class="loader"><img src="/loader.svg"></div>');

        $.ajax({
            url: `/pricing-plans/website/${websiteId}/list`,
            method: 'GET',
            success: function(response) {
                $('#pricingPlansContainer').html(response);
            },
            error: function() {
                $('#pricingPlansContainer').html('<p class="text-danger">Failed to load plans.</p>');
            }
        });
    }
    $(".vew_sftp_credentials").on("click", function() {

        $("#sftpModal").modal("show");

        $.ajax({
            url: "/websites/sftp", // your backend PHP route
            type: "GET",
            data: {
                website_id: $(this).attr("data_website_id")
            },
            dataType: "HTML",
            success: function(response) {
                $("#sftpModal").find(".modal-body").html(response);
            },
            error: function() {
                alert("Error fetching SFTP credentials.");
            }
        });
    });
    /*$(".remove_website").click(function(e){
        e.preventDefault();
        if(confirm("Are you sure?")){
           $(this).closest('form').submit();
        }   
    })*/
</script>
<script src="<?php echo e(asset('assets/validate/jquery.validate.min.js')); ?>"></script>
<script type="text/javascript">
    $(function() {

        $.validator.addMethod("domain", function(value, element) {
            return this.optional(element) || /^(?!:\/\/)([a-zA-Z0-9-_]+\.)+[a-zA-Z]{2,}$/.test(value);
        }, "Please enter a valid domain name (e.g., example.com)");

        $("#domainForm").validate({
            submitHandler: function(form) {
                // Disable button to prevent duplicate submissions
                $("#submitDomainBtn").prop("disabled", true);

                form.submit(); // submit the form after disabling
            },
            rules: {
                domain: {
                    required: true,
                    domain: true
                }

            },
            messages: {
                domain: {
                    required: "Domain name is required",
                    domain: "Domain must be valid (e.g., example.com, my-site.org)."
                }
            },
            errorPlacement: function(error, element) {
                error.insertAfter(element); // Default placement
            }
        })
    });
    $(document).on("change", "#recurringPlanToggle", function() {
        if ($(this).prop('checked')) {
            var plan_id = $(this).attr("data_plan_id");

            $("#price-row-" + plan_id).html($(this).attr("data_attr_yearly_price"));

            $("#plan_row_" + plan_id).html($(this).attr("data_yearly_plan_id"));
        } else {
            var plan_id = $(this).attr("data_plan_id");


            $("#price-row-" + plan_id).html($(this).attr("data_attr_monthly_price"));

            $("#plan_row_" + plan_id).html($(this).attr("data_monthly_plan_id"));
        }
    })
    $(document).on("click", ".plan-switch", function() {
        var plan = $(this).attr("data_plan");

        if(plan=="yearly"){
            $(".yearlyplan").hide();
            $(".monthlyplan").show();
        } else {
            $(".yearlyplan").show();
            $(".monthlyplan").hide();
        }
    })
    // store the currently selected tab in the hash value
    $("ul.nav-tabs > li > a").on("shown.bs.tab", function(e) {
        e.preventDefault();
        var id = $(e.target).attr("href").substr(1);
        history.replaceState(null, null, '#' + id);
    });

    // on load of the page: switch to the currently selected tab
    var hash = window.location.hash;
    let triggerEl = document.querySelector('.nav-tabs a[href="' + hash + '"]');

    if (triggerEl) {
        let tab = new bootstrap.Tab(triggerEl);
        tab.show();
    }


    /**
     * Page Speed API
     * */
    function getScoreClass(score) {
      if (score < 50) return "fail";
      if (score < 70) return "average";
      return "pass";
    }
    function fetchPageSpeed(websiteId, live = false) {
        $.ajax({
          url: "<?php echo e(url('websites/pagespeed')); ?>",
          type: "POST",
          contentType: "application/json",
          headers: {
            "X-CSRF-TOKEN": '<?php echo e(csrf_token()); ?>'
          },
          data: JSON.stringify({ website_id: websiteId, refresh: live }),
          success: function(response) {
            console.log("PageSpeed Data:", response);
            if( response.source != "notfound" ) {
                // Update analyzed date
                $("#analyzedDate").text(
                  "Last Analyzed: " + (new Date(response.last_analysed_at).toLocaleString() || new Date().toLocaleString())
                );

                // Desktop score
                let desktop_score = response.results.desktop_score * 100;
                $("#desktopScore")
                  .text(desktop_score)
                  .removeClass("fail average pass")
                  .addClass(getScoreClass(desktop_score));
                $("#desktopLoad").text("Load Time: " + response.results.desktop_interactive);

                // Mobile score
                let mobile_score = response.results.mobile_score * 100;
                $("#mobileScore")
                  .text(mobile_score)
                  .removeClass("fail average pass")
                  .addClass(getScoreClass(mobile_score));
                $("#mobileLoad").text("Load Time: " + response.results.mobile_interactive);
                $("#refreshPageSpeed .fa-spinner").removeClass("fa-spinner");
            }
          },
          error: function(xhr, status, error) {
            console.error("Error fetching PageSpeed data:", error);
            $("#refreshPageSpeed .fa-spinner").removeClass("fa-spinner");
          }
        });
    }
    fetchPageSpeed(<?php echo e($website->id); ?>);

    $("#refreshPageSpeed").click(function() {
        //Reset Elements
        $(this).find("i").addClass("fa-spinner");
        $("#desktopLoad, #mobileLoad").text("Load Time: --");
        $("#desktopLoad, #mobileLoad").text("Load Time: --");
        $(".pagescore-result-wrap .circle").removeClass("pass fail average");
        $("#desktopScore, #mobileScore").html('<img src="/assets/images/spinner-dots.svg" width="40px" height="40px">');


        fetchPageSpeed(<?php echo e($website->id); ?>, true);
    })
</script>
<?php $__env->stopPush(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/silversharkdev/resources/views/websites/overview_new.blade.php ENDPATH**/ ?>

Youez - 2016 - github.com/yon3zu
LinuXploit