403Webshell
Server IP : 46.62.235.243  /  Your IP : 216.73.216.217
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux Linkabili3Dicembre 6.8.0-100-generic #100-Ubuntu SMP PREEMPT_DYNAMIC Tue Jan 13 16:40:06 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/linkabili/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/linkabili/storage/framework/views/a92fb1f6d48cba95eb8f687584a65022c2aa359d.php
<?php $__env->startPush('headsection'); ?>
    <style>
        .newsletter-wrap {
            display: none
        }
    </style>
<?php $__env->stopPush(); ?>

<?php $__env->startSection('main'); ?>
    <div class="signup-area">
        <!-- Page Title -->
        <div class="page-title-area page-title-four">
            <div class="d-table">
                <div class="d-table-cell">
                    <div class="page-title-item">
                        <h2>Profilo</h2>
                        <ul>
                            <li>
                                <a href="/">Home</a>
                            </li>
                            <li>
                                <i class="icofont-simple-right"></i>
                            </li>
                            <li>
                                <a href="/profile">Profilo</a>
                            </li>
                            <li>
                                <i class="icofont-simple-right"></i>
                            </li>
                            <li>
                                Invia Richiesta
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <!-- Privacy -->
        <section class="privacy-area pt-100">

            <div class="container">

                <?php if(isset($success)): ?>
                    <div class="alert alert-success alert-block">
                        <button type="button" class="close" data-dismiss="alert">×</button>
                        <strong><?php echo e($message); ?></strong>
                    </div>
                <?php endif; ?>
                <?php if(isset($unsending)): ?>
                    <?php $__currentLoopData = $unsending; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $user): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if($user['status']=='reject'): ?>
                            <div class="alert alert-danger">
                                <button type="button" class="close" data-dismiss="alert">×</button>
                                <?php if($user['user']->user_type=='other_istitution'): ?>
                                    L' ETS di nome <?php echo e($user['user']->business_name); ?> è stato già contattato ed ha
                                    rifiutato la richiesta
                                <?php else: ?>
                                    Il centro medico di nome <?php echo e($user['user']->business_name); ?>  è stato già contattato ed
                                    ha rifiutato la richiesta
                                <?php endif; ?>
                            </div>
                        <?php elseif($user['status']=='pending'): ?>
                            <div class="alert alert-warning">
                                <button type="button" class="close" data-dismiss="alert">×</button>
                                <?php if($user['user']->user_type=='other_istitution'): ?>
                                    L' ETS di nome <?php echo e($user['user']->business_name); ?> è stato già contattato ed la
                                    richiesta è in fase di valutazione
                                <?php else: ?>
                                    Il centro medico di nome <?php echo e($user['user']->business_name); ?>  è stato già contattato
                                    ed la richiesta è in fase di valutazione
                                <?php endif; ?>
                            </div>
                        <?php else: ?>
                            <div class="alert alert-success">
                                <button type="button" class="close" data-dismiss="alert">×</button>
                                <?php if($user['user']->user_type=='other_istitution'): ?>
                                    L' ETS di nome <?php echo e($user['user']->business_name); ?> è stato già contattato ed la
                                    richiesta è stata accettata
                                <?php else: ?>
                                    Il centro medico di nome <?php echo e($user['user']->business_name); ?>  è stato già contattato
                                    ed la richiesta è stata accettata
                                <?php endif; ?>
                            </div>
                        <?php endif; ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endif; ?>
                <?php if(Auth::user()->user_type!='professionist'): ?>
                    <h4 for="pathologies">Invia richiesta collaborazione</h4>
                    <form method="POST" action="/profile/send-request-collaboration">
                        <?php echo csrf_field(); ?>
                        <div class="form-group">
                            <label for="users">Aggiungi ETS e/o Centro Medico</label>
                            <div class="col-md-12">
                                <select class="form-control js-example-basic-multiple users" data-id="users"
                                        name="users[]"
                                        style="width:100% " multiple="multiple">
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <button type="submit" class="btn btn-primary">Invia Richiesta di Collaborazione</button>
                        </div>
                    </form>
                <?php endif; ?>
            </div>
            <div class="container">
                <h4>Lista Richieste Inviate/Ricevute</h4>
                <table id="" class="table">
                    <tr>
                        <td>
                            Ente
                        </td>

                        <td>
                            Stato
                        </td>

                        <td></td>
                    </tr>

                    <?php $__currentLoopData = $collaborations; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $c): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                        <tr>
                            <td>
                                <?php if(Auth::id()==$c->collaboration_id): ?>
                                <a href="/detail/<?php echo e($c->user_id); ?>"
                                   target="_blank">  <?php echo e($c->business_name2); ?></a>
                                <?php else: ?>
                                    <a href="/detail/<?php echo e($c->collaboration_id); ?>"
                                       target="_blank">  <?php echo e($c->business_name); ?></a>
                                <?php endif; ?>
                            </td>


                            <td style="color: white;">
                                <?php if($c->status=='pending'): ?>
                                    <span class="alert alert-warning "><i class="icofont-spinner-alt-3"></i></span>
                                <?php elseif($c->status=='reject'): ?>
                                    <span class="alert alert-danger"><i
                                            class="icofont-thumbs-down"></i></span>
                                <?php else: ?>
                                    <span class="alert alert-success"><i class="icofont-like"></i></span>
                                <?php endif; ?>
                            </td>
                            <td style="color: white;">
                                <?php if($c->collaboration_id!=Auth::id()): ?>
                                    <?php if($c->status=='reject' || $c->status=='pending'): ?>
                                        <a onclick="changestatus(<?php echo e($c->user_id); ?>,<?php echo e($c->collaboration_id); ?>,'accept')"
                                           class="btn btn-primary">
                                            Accetta
                                        </a>
                                    <?php endif; ?>
                                    <?php if($c->status=='accept' || $c->status=='pending'): ?>
                                        <a onclick="changestatus(<?php echo e($c->user_id); ?>,<?php echo e($c->collaboration_id); ?>,'reject')"
                                           class="btn btn-danger">
                                            Rifiuta
                                        </a>
                                    <?php endif; ?>
                                <?php else: ?>
                                    <?php if($c->collaboration_id==Auth::id()): ?>
                                        <?php if($c->status=='accept' || $c->status=='pending'): ?>
                                            <a onclick="changestatus(<?php echo e($c->user_id); ?>,<?php echo e($c->collaboration_id); ?>,'reject')"
                                               class="btn btn-danger">
                                                Annulla
                                            </a>
                                        <?php endif; ?>
                                    <?php endif; ?>
                                <?php endif; ?>
                            </td>
                        </tr>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </table>
            </div>

        </section>
    </div>

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

<?php $__env->startPush('footersection'); ?>
    <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.css">
    <script src="//cdnjs.cloudflare.com/ajax/libs/jquery-confirm/3.3.2/jquery-confirm.min.js"></script>
    <script>

        function changestatus(user_id, collaboration_id, status) {
            if (status == 'reject') {
                var color = 'red';
            } else {
                var color = 'green';
            }
            $.confirm({
                title: 'Conferma',
                content: 'Sei sicuro?',
                type: color,
                typeAnimated: true,
                buttons: {
                    Si: {
                        btnClass: 'btn-green',
                        action: function () {

                            window.location.href = "/profile/send-request-collaboration/" + user_id + "/" + collaboration_id + "/" + status;
                        }
                    },
                    No: {
                        btnClass: 'btn-Red',
                        action: function () {
                            return;
                        }
                    }
                }
            });
        }

        $(function () {
            $('.js-example-basic-multiple').select2();
            $.ajax({
                url: '/ajax/ajaxGetUsersCollaboration',
                method: "GET",
                dataType: 'json',
                success: function (response, status) {
                    $('.users').empty().trigger("change");
                    $.each(response.data, function (key, val) {
                        newOption_website = new Option(val.business_name, val.id, false, false);
                        $('.users').append(newOption_website);
                    });
                }
            });
        });
    </script>

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

<?php echo $__env->make('layouts.frontend.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/linkabili/resources/views/frontend/profile/send_collaboration.blade.php ENDPATH**/ ?>

Youez - 2016 - github.com/yon3zu
LinuXploit