HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //var/www/quadcode-jobs/storage/framework/views/9cd0d75fb3f0c212c6ec36d270d74a3f06e35883.php
<?php
    $categories = \App\Repositories\CategoryRepository::getPublicData();

    $vacanciesCount = $locationsCount = $categoriesCount = 0;
    $locationsList = [];
    if ($categories) foreach($categories as $category) {
        $categoryVacanciesCount = $category->getVacancyCount();

        $vacanciesCount += $categoryVacanciesCount;
        if ($vacanciesCount > 0) {
            $categoriesCount++;

            foreach($category->vacancies as $job) {
                $locationsList[] = $job->location->id;
            }
        }
    }

   $locationsCount = count(array_unique($locationsList));
?>
<section class="welcome welcome_job-categories" style="--welcome-bg: url(<?php echo e($block->image('image')); ?>); --header-font-size: var(--typo-headline1);">
    <div class="locations__video-wrap">
        <video class="location-video" src="<?php echo e($block->file('video')); ?>" autoplay="true" loop="true" muted="muted" poster="<?php echo e($block->image('image')); ?>"></video>
    </div>
    <div class="container">
        <div class="welcome__inner">
            <header class="welcome__header fw-600" style="margin-bottom: 1rem;">
                <h1><?php echo $block->translatedInput('title'); ?></h1>
            </header>
            <div class="job-categories__position"><strong><?php echo e($vacanciesCount); ?></strong> positions in <strong><?php echo e($locationsCount); ?></strong> locations in <strong><?php echo e($categoriesCount); ?></strong> job categories</div>
        </div>
    </div>
</section>
<?php /**PATH /var/www/quadcode-jobs/resources/views/site/blocks/hero_jobs.blade.php ENDPATH**/ ?>