shell bypass 403
UnknownSec Shell
:
/
home
/
forge
/
mpc.brannanatkinson.com
/
storage
/
framework
/
views
/ [
drwxrwxr-x
]
upload
mass deface
mass delete
console
info server
name :
ffad20f995d9404d0dc322b5b7aad768.php
<div> <?php if (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('admin')): ?> <?php $__env->slot('title', null, []); ?> Dashboard <?php $__env->endSlot(); ?> <?php $__env->slot('header', null, []); ?> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> <?php echo e(__('Housing Hope Dashboard')); ?> </h2> <?php $__env->endSlot(); ?> <div> <div class="my-8 text-center"> <ul class="inline-block"> <li class="inline-block"><a href="/cp"><button class="px-4 py-3 rounded-md bg-mp-blue-green hover:bg-mp-light-lime text-xl text-white font-bolder">Manage Content</button></a></li> <li class="inline-block"><a href="/admin/hosts"><button class="px-4 py-3 rounded-md bg-mp-blue-green hover:bg-mp-light-lime text-xl text-white font-bolder cursor-pointer">Manage Hosts</button></a></li> </ul> </div> <div class="max-w-5xl mx-auto"> <?php $__split = function ($name, $params = []) { return [$name, $params]; }; [$__name, $__params] = $__split('results'); $__html = app('livewire')->mount($__name, $__params, 'lw-2742898495-0', $__slots ?? [], get_defined_vars()); echo $__html; unset($__html); unset($__name); unset($__params); unset($__split); if (isset($__slots)) unset($__slots); ?> </div> <div class="mt-8 max-w-5xl mx-auto"> <div class="my-3 text-3xl font-bold"> <?php echo date("Y") ?> Host Summary </div> <div class="grid grid-cols-3 gap-8 mb-10"> <div class="p-8 text-center bg-gray-200 rounded-md flex flex-col justify-center items-center"> <div class="mb-6 uppercase"> Total Raised by Hosts </div> <div class="mb-8 text-4xl font-bold"> $<?php echo e(App\Models\Gift::where('user_id','!=', null)->where('created_at', '>', date('Y').'-01-01')->sum('gift_total')); ?> </div> </div> <div class="p-8 text-center bg-gray-200 rounded-md flex flex-col justify-center items-center"> <div class="mb-6 uppercase"> Total Gifts by Hosts </div> <div class="mb-8 text-4xl font-bold"> <?php echo e(App\Models\Gift::where('user_id','!=', null)->where('created_at', '>', date('Y').'-01-01')->count()); ?> </div> </div> <div><!-- blank --></div> </div> <div class="mt-8 grid grid-cols-5 gap-4"> <div class=" col-span-2 font-bold">Host Name</div> <div class=" font-bold">Amount Raised</div> <div class=" font-bold">Total Gifts</div> <div class=" font-bold">Total Items</div> <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $hosts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $host): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class=" col-span-2"><?php echo e($host->name); ?></div> <div class="">$<?php echo e(App\Models\Gift::where('user_id', '=', $host->id )->where('created_at', '>', date('Y').'-01-01')->sum('gift_total')); ?></div> <div class=""><?php echo e(App\Models\Gift::where('user_id', '=', $host->id )->where('created_at', '>', date('Y').'-01-01')->count()); ?></div> <div class=""><?php echo e($host->items->where('pivot.created_at', '>', date('Y').'-01-01')->sum('pivot.item_quantity')); ?></div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]--> </div> </div> <div class="mt-10 max-w-5xl mx-auto"> <div class="my-3 text-3xl font-bold"> <?php echo date("Y") ?> Giving Catalog Item Summary </div> <div class="mb-6 grid grid-cols-4 gap-6"> <!--[if BLOCK]><![endif]--><?php $__currentLoopData = $gift_items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class="bg-white text-center flex flex-col rounded-md overflow-hidden"> <div class="mb-6 w-full"> <img src="<?php echo e(env('APP_URL')); ?>/storage/<?php echo e($item->featured_image[0]['path']); ?>" alt="" class="object-fit"> </div> <div class="mb-4 text-3xl"> <?php echo e(App\Models\Item::where('statamic_id', $item->id)->first()->sales()->count() > 0 ? App\Models\Item::where('statamic_id', $item->id)->first()->sales()->first()->quantity : 0); ?> </div> <div class="mb-8 text-sm"> <!--[if BLOCK]><![endif]--><?php if( $item->item_sponsor->count() > 0 ): ?> <?php echo e($item->item_sponsor->first()->title); ?> <?php endif; ?><!--[if ENDBLOCK]><![endif]--> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]--> </div> </div> <div class="pb-16 mt-12 max-w-5xl mx-auto"> <div class="mt-8 mb-6 text-3xl font-bold"> <?php echo date("Y") ?> Gift Summary </div> <div class="grid grid-cols-5 gap-4"> <div class=" col-span-2 font-bold">Donor</div> <div class=" font-bold">Amount</div> <div class=" font-bold">Credited Host</div> <!-- add purchase date --> <div class=""></div> <!--[if BLOCK]><![endif]--><?php $__currentLoopData = App\Models\Gift::orderBy('gift_total', 'DESC')->where('created_at', '>', date('Y').'-01-01')->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $gift): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class=" col-span-2"><?php echo e($gift->donor->full_name); ?></div> <div class="">$<?php echo e($gift->gift_total); ?></div> <div class=""> <!--[if BLOCK]><![endif]--><?php if( $gift->user_id != null ): ?> <?php echo e(App\Models\User::where('id' , '=', $gift->user_id )->first()->name); ?> <?php endif; ?><!--[if ENDBLOCK]><![endif]--> </div> <div class=""></div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]--> </div> </div> </div> <?php elseif (app(\Illuminate\Contracts\Auth\Access\Gate::class)->check('edit host')): ?> <?php $__env->slot('title', null, []); ?> Dashboard for <?php echo e(auth()->user()->name); ?> <?php $__env->endSlot(); ?> <div> <div class="my-6 text-3xl text-center">Housing Hope Dashboard for <?php echo e(auth()->user()->name); ?></div> <div class="mb-10 text-center"> <?php $user = auth()->user() ?> <a class="text-mp-coral" href="/hosts/<?php echo e($user->host_url); ?>" target="_blank">View your public profile</a> | <a class="text-mp-coral" href="<?php echo e(route('admin.update.hosts')); ?>">Edit your profile</a> </div> <div class="max-w-5xl mx-auto"> <div class="mb-8 grid grid-cols-3 gap-8"> <div class="p-8 text-center bg-gray-200 rounded-md flex flex-col justify-center items-center"> <div class="mb-6 uppercase"> Total Raised </div> <div class="mb-8 text-4xl font-bold"> $<?php echo e(App\Models\Gift::where('user_id', '=', auth()->user()->id )->where('created_at', '>', date('Y').'-01-01')->sum('gift_total')); ?> </div> </div> <div class="p-8 text-center bg-gray-200 rounded-md flex flex-col justify-center items-center"> <div class="mb-6 uppercase"> Total Gifts </div> <div class="mb-8 text-4xl font-bold"> <?php echo e(App\Models\Gift::where('user_id', '=', auth()->user()->id )->where('created_at', '>', date('Y').'-01-01')->count()); ?> </div> </div> <div class="p-8 text-center bg-gray-200 rounded-md flex flex-col justify-center items-center"> <div class="mb-6 uppercase"> Total Donors </div> <div class="mb-8 text-4xl font-bold"> <?php echo e(App\Models\Gift::where('user_id', '=', auth()->user()->id )->where('created_at', '>', date('Y').'-01-01')->count('donor_id')); ?> </div> </div> </div> <?php $user = auth()->user(); if ( $user->UserMeta->goal != null ){ $hostGoalProgress = ( App\Models\Gift::where('user_id', '=', $user->id )->where('created_at', '>', date('Y').'-01-01')->sum('gift_total') / $user->UserMeta->goal ) * 100; } ?> <!--[if BLOCK]><![endif]--><?php if( $user->UserMeta->goal != null ): ?> <div class="mb-12"> <div class="relative pt-1"> <div class="mt-6 mb-4 text-xl text-center"> You are <?php echo e(number_format( $hostGoalProgress, 0 )); ?>% toward your goal of <span class="text-green-700 font-bold">$<?php echo e($user->UserMeta->goal); ?></span> for The Mary Parrish Center </div> <div class="overflow-hidden h-4 mb-4 text-xs flex rounded-full bg-gray-200"> <div style="width:<?php echo $hostGoalProgress ?>%" class="shadow-none flex flex-col text-center whitespace-nowrap text-white justify-center bg-mp-blue-green"></div> </div> </div> </div> <?php endif; ?><!--[if ENDBLOCK]><![endif]--> </div> <div class="mt-10 max-w-5xl mx-auto"> <div class="my-3 text-3xl"> Donor Summary </div> <div class="grid grid-cols-3 gap-8"> <div class="font-bold">Donor Name</div> <div class="font-bold">Amount </div> <div class="font-bold">Items </div> <!--[if BLOCK]><![endif]--><?php $__currentLoopData = App\Models\Gift::where('user_id', '=', auth()->user()->id )->where('created_at', '>', date('Y').'-01-01')->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $gift): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <div class=""><?php echo e($gift->donor->full_name); ?></div> <div class="">$<?php echo e($gift->gift_total); ?> </div> <div class=""><?php echo e($gift->items->sum('pivot.item_quantity')); ?></div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]--> </div> </div> </div> <?php endif; ?> </div> <?php /**PATH /home/forge/mpc.brannanatkinson.com/resources/views/livewire/admin/dashboard.blade.php ENDPATH**/ ?>
© 2026 UnknownSec