403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.45
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/cwd/wp-content/plugins/cornerstone/includes/shortcodes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/cwd/wp-content/plugins/cornerstone/includes/shortcodes/lightbox.php
<?php

// Lightbox
// =============================================================================

function x_shortcode_lightbox( $atts ) {
  extract( shortcode_atts( array(
    'selector'     => '',
    'deeplink'     => '',
    'opacity'      => '',
    'prev_scale'   => '',
    'prev_opacity' => '',
    'next_scale'   => '',
    'next_opacity' => '',
    'orientation'  => '',
    'thumbnails'   => ''
  ), $atts, 'x_lightbox' ) );

  static $count = 0; $count++;


  // @TODO move _ilightbox.scss from using content: for font awesome
  do_action("cs_fa_add_webfont_styles");

  wp_enqueue_script( 'cs-ilightbox' );

  $js_params = array(
    'selector'    => ( $selector     != ''     ) ? $selector : '.x-img-link',
    'deeplink'    => ( $deeplink     == 'true' ),
    'opacity'     => ( $opacity      != ''     ) ? $opacity : '0.85',
    'prevScale'   => ( $prev_scale   != ''     ) ? $prev_scale : '0.85',
    'prevOpacity' => ( $prev_opacity != ''     ) ? $prev_opacity : '0.65',
    'nextScale'   => ( $next_scale   != ''     ) ? $next_scale : '0.85',
    'nextOpacity' => ( $next_opacity != ''     ) ? $next_opacity : '0.65',
    'orientation' => ( $orientation  != ''     ) ? $orientation : 'horizontal',
    'thumbnails'  => ( $thumbnails   == 'true' )
  );

  $data = cs_generate_data_attributes( 'lightbox', $js_params, true );

  $output = "<span id=\"x-lightbox-{$count}\" {$data}></span>";

  return $output;
}

add_shortcode( 'x_lightbox', 'x_shortcode_lightbox' );

Youez - 2016 - github.com/yon3zu
LinuXploit