| Current Path : /proc/1908984/root/proc/self/root/proc/self/root/proc/2508158/root/tmp/ |
| Current File : //proc/1908984/root/proc/self/root/proc/self/root/proc/2508158/root/tmp/phpBzu74k |
<html><body></body></html>.su-post-slider-slides {
border-radius: 2px;
border: 1px solid #ddd;
padding: 30px;
box-sizing: border-box;
}
.su-post-slider-slides .owl-dots {
text-align: center;
-webkit-tap-highlight-color: transparent;
}
.su-post-slider-slides .owl-nav [class*='owl-']:hover {
color: #5bb300;
text-decoration: none;
}
.su-post-slider-slides .owl-nav .disabled {
opacity: 0.5;
cursor: default;
}
.su-post-slider-slides .owl-dots .owl-dot {
display: inline-block;
}
.su-post-slider-slides .owl-dots .owl-dot span {
width: 10px;
height: 10px;
margin: 20px 5px 5px 5px;
background: #d6d6d6;
display: block;
-webkit-backface-visibility: visible;
-webkit-transition: opacity 200ms ease;
-o-transition: opacity 200ms ease;
transition: opacity 200ms ease;
-webkit-border-radius: 30px;
}
.su-post-slider-slides .owl-dots .owl-dot.active span, .su-post-slider-slides .owl-dots .owl-dot:hover span {
background: #5bb300;
}
/* L/R arrows */
.su-post-slider .su-post-slider-slides .owl-nav [class*='owl-'] {
width: 26px;
height: 48px;
line-height: 46px;
margin: 0;
overflow: initial;
display: inline-block;
position: absolute;
}
.su-post-slider-slides .owl-prev { left: 0; }
.su-post-slider-slides .owl-next { right: 0; }
.su-post-slider .owl-nav {
position: absolute;
border: 1px solid #ddd;
border-radius: 2px;
right: 0;
top: -60px;
width: 70px;
height: 48px;
overflow: hidden;
}
.su-post-slider .owl-dots {
position: absolute;
right: 80px;
top: -40px;
}
.su-post-slider-slides .owl-prev:before,
.su-post-slider-slides .owl-next:before {
font-family: FontAwesome;
font-style: normal;
font-weight: normal;
line-height: 1;
font-size: 12px;
width: 100%;
display: inline-block;
}
.su-post-slider-slides .owl-prev:after {
content: "";
display: inline-block;
width: 1px;
height: 20px;
background: #dddddd;
position: absolute;
right: -10px;
top: 14px;
z-index: 1;
}
.su-post-slider-slides .owl-prev:before {
content: "\f060";
text-align: right;
}
.su-post-slider-slides .owl-next:before {
content: "\f061";
text-align: left;
}
.su-post-slider-image {
position: relative;
width: 50%;
}
.su-post-slider .post-slider-category {
float: left;
}
.su-post-slider .post-slider-view-more {
float: right;
}
.su-post-slider .post-slider-category,
.su-post-slider .post-slider-view-more {
display: inline-block;
color: #555555;
font-weight: 900;
}
/*=======================
Caption style
=======================*/
.su-post-slider-caption {
padding: 5px 20px 0;
width: 50%;
}
.su-post-slider-item-text {
margin: 15px 0;
}
.su-post-slider-slide-title {
margin: 0;
font-weight: 900;
font-size: 26px;
-webkit-transition: all .2s linear;
transition: all .4s linear;
letter-spacing: 1px;
}
.su-post-slider-slide-title a {
color: #333333;
}
.su-post-slider .owl-nav [class*='owl-'],
.su-post-slider a {
-webkit-transition: all .25s;
transition: all .25s;
}
.su-post-slider a {text-decoration: none !important;}
.su-post-slider .su-cdate {
position: relative;
display: inline-block;
font-size: 16px;
color: #5bb300;
margin-bottom: 10px;
}
.su-post-slider .su-cdate span {
font-size: 38px;
font-weight: 900;
}
.su-post-slider-slide {
display: flex;
}
.su-post-slider.su-post-slider-style-dark .owl-nav [class*='owl-'],
.su-post-slider.su-post-slider-style-dark .su-post-slider-item-text,
.su-post-slider.su-post-slider-style-dark .post-slider-category,
.su-post-slider.su-post-slider-style-dark a {
color: #ffffff;
}
.su-post-slider.su-post-slider-style-light .su-post-slider-slides .owl-nav,
.su-post-slider.su-post-slider-style-light .su-post-slider-slides {
background: #ffffff;
}
.su-post-slider.su-post-slider-style-dark .su-post-slider-slides .owl-nav,
.su-post-slider.su-post-slider-style-dark .su-post-slider-slides {
background: transparent;
}
.su-post-slider .owl-nav [class*='owl-']:hover,
.su-post-slider a:hover {
color:#5bb300;
}
@media (max-width: 767px) {
.su-post-slider .su-post-slider-slide {
display: block;
}
.su-post-slider-image,
.su-post-slider-caption {
width: 100%;
}
.su-post-slider-caption {
padding: 30px 30px 0 0;
}
.su-post-slider .owl-dots {
display: none;
}
}
<html><body></body></html>jQuery(document).ready(function ($) {
// Enable carousels
jQuery('.su-post-slider').each(function () {
// Prepare data
var $carousel = $(this),
$slides = $carousel.find('.su-post-slider-slides'),
$slide = $carousel.find('.su-post-slider-slide'),
data = $carousel.data();
// Apply to carousel
var $owlCarousel = $slides.owlCarousel({
responsiveClass: true,
mouseDrag: true,
autoplayTimeout: data.delay * 1000,
smartSpeed: data.speed * 1000,
lazyLoad: (data.lazyload == 'yes') ? true : false,
autoplay: (data.autoplay == 'yes') ? true : false,
autoplayHoverPause: (data.hoverpause == 'yes') ? true : false,
center: (data.center == 'yes') ? true : false,
loop: (data.loop == 'yes') ? true : false,
margin: data.margin,
navText: ['',''],
rtl: data.rtl,
responsive:{
0:{
items: $carousel.data('small'),
margin: 0,
dots: (data.pagination == 'yes') ? true : false,
nav: (data.arrows == 'yes') ? true : false
},
768:{
items:$carousel.data('medium'),
dots: (data.pagination == 'yes') ? true : false,
nav: (data.arrows == 'yes') ? true : false
},
1000:{
items: $carousel.data('items'),
dots: (data.pagination == 'yes') ? true : false,
nav: (data.arrows == 'yes') ? true : false
}
}
});
// Lightbox for galleries (slider, carousel, custom_gallery)
$(this).find('.su-lightbox-item').magnificPopup({
type: 'image',
mainClass: 'mfp-zoom-in mfp-img-mobile',
tLoading: '', // remove text from preloader
removalDelay: 400, //delay removal by X to allow out-animation
gallery: {
enabled: true,
navigateByImgClick: true,
preload: [0, 1] // Will preload 0 - before current, and 1 after the current image
},
callbacks: {
open: function() {
//overwrite default prev + next function. Add timeout for css3 crossfade animation
$.magnificPopup.instance.next = function() {
var self = this;
self.wrap.removeClass('mfp-image-loaded');
setTimeout(function() { $.magnificPopup.proto.next.call(self); }, 120);
}
$.magnificPopup.instance.prev = function() {
var self = this;
self.wrap.removeClass('mfp-image-loaded');
setTimeout(function() { $.magnificPopup.proto.prev.call(self); }, 120);
}
},
imageLoadComplete: function() {
var self = this;
setTimeout(function() { self.wrap.addClass('mfp-image-loaded'); }, 16);
}
}
});
});
});<?php
/**
* @package Shortcode Ultimate
* @author BdThemes http://www.bdthemes.com
* @copyright Copyright (C) BdThemes Ltd
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
*/
defined( '_JEXEC' ) or die( 'Restricted access' );
class Su_Shortcode_post_slider_config extends Su_Data {
function __construct() {
parent::__construct();
}
static function get_config() {
return array(
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_POST_SLIDER'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_POST_SLIDER_DESC'),
'icon' => 'picture-o',
'type' => 'single',
'group' => 'gallery',
'badge' => 'BETA',
'atts' => array(
'style' => array(
'type' => 'select',
'values' => array(
'light' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_LIGHT'),
'dark' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DARK')
),
'default' => 'light',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_STYLE'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_STYLE_DESC')
),
'source' => array(
'type' => 'article_source',
'default' => 'none',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SOURCE'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_POST_SLIDER_SOURCE_DESC'),
),
'limit' => array(
'type' => 'slider',
'min' => 1,
'max' => 100,
'step' => 1,
'default' => 5,
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_LIMIT'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_POST_SLIDER_LIMIT_DESC')
),
'order' => array(
'type' => 'select',
'values' => array(
'created' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CREATED_DATE'),
'title' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TITLE'),
'hits' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_HITS'),
'ordering' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ORDERING')
),
'default' => 'created',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ORDER'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ORDER_DESCR'),
'child' => array(
'order_by' => array(
'type' => 'select',
'values' => array(
'asc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ASC'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DESC')
),
'default' => 'desc',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ORDER_TYPE'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ORDER_TYPE_DESC')
)
)
),
'title' => array(
'type' => 'bool',
'default' => 'yes',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TITLE'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CAROULES_TITLE_DESC'),
'child' => array(
'title_link' => array(
'type' => 'bool',
'default' => 'yes',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TITLE_LINK'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TITLE_LINK_DESC')
)
)
),
'intro_text' => array(
'type' => 'bool',
'default' => 'yes',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CAROULES_TEXT'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CAROULES_TEXT_DESC'),
'child' => array(
'intro_text_limit' => array(
'default' => '200',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TEXT_LIMIT'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TEXT_LIMIT_DESC')
)
)
),
'category' => array(
'type' => 'bool',
'default' => 'yes',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CATEGORY'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_BOOL_CATEGORY_DESC'),
'child' => array(
'date' => array(
'type' => 'bool',
'default' => 'yes',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DATE'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DATE_DESC'),
)
)
),
'arrows' => array(
'type' => 'bool',
'default' => 'yes',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ARROWS'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_ARROWS_DESC'),
'child' => array(
'pagination' => array(
'type' => 'bool',
'default' => 'no',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PAGINATION'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_PAGINATION_DESC')
)
)
),
'autoplay' => array(
'type' => 'bool',
'default' => 'no',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_AUTOPLAY'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_AUTOPLAY_DESC'),
'child' => array(
'hoverpause' => array(
'type' => 'bool',
'default' => 'no',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_HOVERPAUSE'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_HOVERPAUSE_DESC')
),
'lazyload' => array(
'type' => 'bool',
'default' => 'no',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_LAZYLOAD'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_LAZYLOAD_DESC')
),
'loop' => array(
'type' => 'bool',
'default' => 'yes',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_LOOP'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_LOOP_DESC')
)
)
),
'delay'