403Webshell
Server IP : 104.26.4.103  /  Your IP : 216.73.216.4
Web Server : nginx/1.27.1
System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
User : arabianexpress ( 1872)
PHP Version : 8.0.30
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /storage/v9321/leapdubai/public_html/wp-content/themes/printx/inc/common/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /storage/v9321/leapdubai/public_html/wp-content/themes/printx/inc/common/printx-scripts.php
<?php

/**
 * printx_scripts description
 * @return [type] [description]
 */
function printx_scripts() {

    /**
     * all css files
    */

    wp_enqueue_style( 'printx-fonts', printx_fonts_url(), array(), '1.0.0' );
    if( is_rtl() ){
        wp_enqueue_style( 'bootstrap-rtl', PRINTX_THEME_CSS_DIR.'bootstrap.rtl.min.css', array() );
    }else{
        wp_enqueue_style( 'bootstrap', PRINTX_THEME_CSS_DIR.'bootstrap.min.css', array() );
    }
    wp_enqueue_style( 'animate', PRINTX_THEME_CSS_DIR . 'animate.css', [] );
    wp_enqueue_style( 'custom-animation', PRINTX_THEME_CSS_DIR . 'custom-animation.css', [] );
    wp_enqueue_style( 'printx-slick', PRINTX_THEME_CSS_DIR . 'slick.css', [] );
    wp_enqueue_style( 'flaticon', PRINTX_THEME_CSS_DIR . 'flaticon.css', [] );
    wp_enqueue_style( 'nice-select', PRINTX_THEME_CSS_DIR . 'nice-select.css', [] );
    wp_enqueue_style( 'satoshi', PRINTX_THEME_CSS_DIR . 'satoshi.css', [] );
    wp_enqueue_style( 'swiper-bundle', PRINTX_THEME_CSS_DIR . 'swiper-bundle.css', [] );
    wp_enqueue_style( 'meanmenu', PRINTX_THEME_CSS_DIR . 'meanmenu.css', [] );
    wp_enqueue_style( 'font-awesome-pro', PRINTX_THEME_CSS_DIR . 'font-awesome-pro.css', [] );
    wp_enqueue_style( 'magnific-popup', PRINTX_THEME_CSS_DIR . 'magnific-popup.css', [] );
    wp_enqueue_style( 'spacing', PRINTX_THEME_CSS_DIR . 'spacing.css', [] );
    wp_enqueue_style( 'printx-core', PRINTX_THEME_CSS_DIR . 'printx-core.css', [], time() );
    wp_enqueue_style( 'printx-unit', PRINTX_THEME_CSS_DIR . 'printx-unit.css', [], time() );
    wp_enqueue_style( 'printx-custom', PRINTX_THEME_CSS_DIR . 'printx-custom.css', [], time() );
    wp_enqueue_style( 'printx-style', get_stylesheet_uri() );
    // all js
    wp_enqueue_script( 'waypoints', PRINTX_THEME_JS_DIR . 'waypoints.js', [ 'jquery' ], false, true );
    wp_enqueue_script( 'bootstrap-bundle', PRINTX_THEME_JS_DIR . 'bootstrap.bundle.min.js', [ 'jquery' ], '', true );
    wp_enqueue_script( 'printx-slick', PRINTX_THEME_JS_DIR . 'slick.js', [ 'jquery' ], false, true );
    wp_enqueue_script( 'magnific-popup', PRINTX_THEME_JS_DIR . 'magnific-popup.js', [ 'jquery' ], '', true );
    wp_enqueue_script( 'purecounter', PRINTX_THEME_JS_DIR . 'purecounter.js', [ 'jquery' ], false, true );
    wp_enqueue_script( 'countdown', PRINTX_THEME_JS_DIR . 'countdown.js', [ 'jquery' ], false, true );
    wp_enqueue_script( 'wow', PRINTX_THEME_JS_DIR . 'wow.js', [ 'jquery' ], false, true );
    wp_enqueue_script( 'nice-select', PRINTX_THEME_JS_DIR . 'nice-select.js', [ 'jquery' ], '', true );
    wp_enqueue_script( 'swiper-bundle', PRINTX_THEME_JS_DIR . 'swiper-bundle.js', [ 'jquery' ], false, true );
    wp_enqueue_script( 'isotope-pkgd', PRINTX_THEME_JS_DIR . 'isotope-pkgd.js', [ 'imagesloaded' ], false, true );
    wp_enqueue_script( 'range-slider', PRINTX_THEME_JS_DIR . 'range-slider.js', [ 'jquery' ], false, true );
    wp_enqueue_script( 'printx-main', PRINTX_THEME_JS_DIR . 'main.js', [ 'jquery' ], false, true );

    if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
        wp_enqueue_script( 'comment-reply' );
    }
}
add_action( 'wp_enqueue_scripts', 'printx_scripts' );
/*
Register Fonts
 */
function printx_fonts_url() {
    $font_url = '';

    /*
    Translators: If there are characters in your language that are not supported
    by chosen font(s), translate this to 'off'. Do not translate into your own language.
     */
    if ( 'off' !== _x( 'on', 'Google font: on or off', 'printx' ) ) {
        $font_url = 'https://fonts.googleapis.com/css2?'. urlencode('family=DM+Sans:wght@400;500;700&family=Jost:wght@300;400;500;600;700;800;900&family=Montaga&family=Outfit:wght@300;400;500;600;700;800;900&family=Pacifico&family=Roboto:wght@300;400;500;700;900&family=Satisfy&family=Syne:wght@400;500;600;700;800&display=swap');
    }
    return $font_url;
}

Youez - 2016 - github.com/yon3zu
LinuXploit