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/136c550bfe16565a46c86de7d15fe1b22dfbb4db.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>
                                Collaborazioni
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <!-- Privacy -->
        <section class="privacy-area pt-100">
            <div class="container">
                <?php
                    $unsending = session('unsending');
                    $success = session('success');
                    $message = session('message');
                ?>
                <?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 $userUnsended): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php if($userUnsended['status']=='reject'): ?>
                            <div class="alert alert-danger">
                                <button type="button" class="close" data-dismiss="alert">×</button>
                                <?php if($userUnsended['user']->user_type=='other_istitution'): ?>
                                    L' ETS di nome <?php echo e($userUnsended['user']->business_name); ?> è stato già contattato ed ha
                                    rifiutato la richiesta
                                <?php elseif($userUnsended['user']->user_type=='professionist'): ?>

                                    Il professionista di
                                    nome <?php echo e($userUnsended['user']->business_name ?? $userUnsended['user']->name); ?>  è
                                    stato già contattato ed
                                    hai annullato la richiesta
                                <?php endif; ?>
                            </div>
                        <?php elseif($userUnsended['status']=='pending'): ?>
                            <div class="alert alert-warning">
                                <button type="button" class="close" data-dismiss="alert">×</button>
                                <?php if($userUnsended['user']->user_type=='other_istitution'): ?>
                                    L' ETS di nome <?php echo e($userUnsended['user']->business_name); ?> è stato già contattato ed la
                                    richiesta è in fase di valutazione
                                <?php else: ?>
                                    Il centro medico di nome <?php echo e($userUnsended['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($userUnsended['user']->user_type=='other_istitution'): ?>
                                    L' ETS di nome <?php echo e($userUnsended['user']->business_name); ?> è stato già contattato ed la
                                    richiesta è stata accettata
                                <?php else: ?>
                                    Il centro medico di nome <?php echo e($userUnsended['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"> Cerca i tuoi professionisti dentro il database di LinkAbili.</h4>
                    <form method="POST" action="/profile/send-request-partnership">
                        <?php echo csrf_field(); ?>
                        <div class="form-group">
                            <label for="users">Aggiungi Professionisti</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" required>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <button type="submit" class="btn btn-primary">Invia Richiesta di Partnership</button>
                        </div>
                    </form>
                <?php endif; ?>
            </div>
            <div class="container">
                <?php if(Auth::user()->user_type!='professionist'): ?>
                    <h4>Lista Richieste Inviate</h4>
                    <table id="" class="table">
                        <tr>
                            <td>
                                Professionista
                            </td>
                            <td>
                                Profilo
                            </td>
                            <td>
                                Stato
                            </td>
                        </tr>

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

                            <tr>
                                <td>
                                    <a href="/detail/<?php echo e($p->user_id); ?>"> <?php echo e($p->name); ?></a>
                                </td>
                                <td style="color: white;">
                                    <?php if($p->status=='pending'): ?>
                                        <span class="alert alert-warning "><i class="icofont-spinner-alt-3"></i></span>
                                    <?php elseif($p->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>
                                <?php if(Auth::user()->user_type!='professionist'): ?>

                                    <td style="color: white;">
                                        
                                        
                                        
                                        
                                        
                                        
                                        <?php if($p->status=='accept' || $p->status=='pending'): ?>
                                            <a onclick="changestatusdelete(<?php echo e($p->user_id); ?>,<?php echo e($p->partnership_id); ?>,'reject')"
                                               class="btn btn-danger">
                                                Annulla
                                            </a>
                                        <?php endif; ?>

                                        <?php if($p->status=='reject'): ?>
                                            <a onclick="changestatus(<?php echo e($p->user_id); ?>,<?php echo e($p->partnership_id); ?>,'accept')"
                                               class="btn btn-success">
                                                Accetta
                                            </a>
                                        <?php endif; ?>
                                    </td>
                                <?php endif; ?>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </table>
                <?php else: ?>
                    <h4>Lista Richieste Ricevute</h4>
                    <table id="" class="table">
                        <tr>
                            <td>
                                Ente
                            </td>

                            <td>
                                Stato
                            </td>
                            <?php if(Auth::user()->user_type=='professionist'): ?>

                                <td></td>
                            <?php endif; ?>
                        </tr>

                        <?php $__currentLoopData = $partnerships; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $p): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <tr>

                                <td>
                                    <a href="/detail/<?php echo e($p->partnership_id ?? ''); ?>" target="_blank"> <?php echo e($p->business_name); ?> </a>
                                </td>
                                <td style="color: white;">
                                    <?php if($p->status=='pending'): ?>
                                        <span class="alert alert-warning "><i class="icofont-spinner-alt-3"></i></span>
                                    <?php elseif($p->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>
                                <?php if(Auth::user()->user_type=='professionist'): ?>

                                    <td style="color: white;">
                                        <?php if($p->status=='reject' || $p->status=='pending'): ?>
                                            <a onclick="changestatus(<?php echo e($p->user_id); ?>,<?php echo e($p->partnership_id); ?>,'accept')"
                                               class="btn btn-primary">
                                                Accetta
                                            </a>
                                        <?php endif; ?>
                                        <?php if($p->status=='accept' || $p->status=='pending'): ?>
                                            <a onclick="changestatusdelete(<?php echo e($p->user_id); ?>,<?php echo e($p->partnership_id); ?>,'reject')"
                                               class="btn btn-danger">
                                                Rifiuta
                                            </a>
                                        <?php endif; ?>
                                    </td>
                                <?php endif; ?>
                            </tr>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </table>
                <?php endif; ?>
                <a href="/profile">
                    <button type="submit" class="btn btn-info">
                        Torna indietro
                    </button>
                </a>
            </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-partnership/" + user_id + "/" + collaboration_id + "/" + status;
                        }
                    },
                    No: {
                        btnClass: 'btn-Red',
                        action: function () {
                            return;
                        }
                    }
                }
            });
        }
        function changestatusdelete(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-partnership-delete/" + user_id + "/" + collaboration_id + "/" + status;
                        }
                    },
                    No: {
                        btnClass: 'btn-Red',
                        action: function () {
                            return;
                        }
                    }
                }
            });
        }

        $(function () {
            $('.js-example-basic-multiple').select2();
            $.ajax({
                url: '/ajax/ajaxGetUsersPartnership',
                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_partnership.blade.php ENDPATH**/ ?>

Youez - 2016 - github.com/yon3zu
LinuXploit