| Current Path : /proc/1908984/root/proc/1908984/root/tmp/ |
| Current File : //proc/1908984/root/proc/1908984/root/tmp/phpOpbelm |
<html><body></body></html>.su-post-block {
width: 102%;
margin-left: -2%;
}
.su-post-block * {
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
-o-box-sizing: border-box;
}
.su-post-block .su-post-block-item {
width: 50%;
float: left;
padding-left: 2%;
box-sizing: border-box;
margin-bottom: 40px;
}
.su-post-block .su-post-block-item:nth-child(2n+3) {
clear: both;
}
.su-post-block .su-post-block-item .supb-img-wrap,
.su-post-block .su-post-block-item .supb-desc {
width: 50%;
float: left;
}
.su-post-block .su-post-block-item.hide-thumb .supb-desc {
width: 100%;
}
.su-post-block .supb-thumb img {
width: 100%;
height: auto;
max-width: 100%;
}
.su-post-block .supb-desc {
padding-left: 30px;
}
.su-post-block-item.hide-thumb .supb-desc {
padding-left: 0;
}
.su-post-block .supb-desc h4 {
margin-bottom: 5px;
line-height: 28px;
font-size: 20px;
}
.su-post-block .supb-desc h4 a {
font-size: 20px;
line-height: 28px;
font-weight: 600;
color: rgb(51, 51, 51);
}
.su-post-block .supb-desc .supb-meta {
font-size: 12px;
line-height: 18px;
color: rgb(153,153,153);
font-family: "Open Sans";
font-weight: 300;
text-transform: uppercase;
margin-bottom: 10px;
}
.su-post-block .supb-desc .supb-meta span {
margin-right: 20px;
}
@media only screen and (max-width : 1024px) {
.su-post-block .su-post-block-item {
width: 100%;
}
}
@media only screen and (max-width : 480px) {
.su-post-block .su-post-block-item .supb-img-wrap,
.su-post-block .su-post-block-item .supb-desc {
width: 100%;
}
.su-post-block .supb-desc {
padding-left: 0px;
margin-top: 20px;
}
}
/*
[post_block source="k2-category: 1,15,16,17,18,2,9,10,11,12,13,14,3,4,7,5" limit="14" order="ordering" order_by="asc" category="yes" date="yes" show_intro_text="yes" intro_text_limit="150" show_meta="yes" show_title="yes" show_thumb="yes" thumb_resize="no" thumb_width="50" thumb_height="50"]
*/
<html><body></body></html>jQuery(document).ready(function($) {
'use strict';
$('.su-post-grid').each(function () {
var data = $(this).data(),
post_blockid = '#' + data.pgid,
gridContainer = $(post_blockid + '_container'),
filtersContainer = $(post_blockid + '_filter'),
loadMoreBtn = $(post_blockid + '_btn'),
searchContainer = $(post_blockid + '_search'),
wrap, filtersCallback;
/*******************************
init cubeportfolio
****************************** */
gridContainer.cubeportfolio({
layoutMode: data.layout,
search: searchContainer,
loadMore: loadMoreBtn,
loadMoreAction: data.loadmoreaction,
rewindNav: true,
scrollByPage: false,
mediaQueries: [{
width: 1100,
cols: data.large
}, {
width: 800,
cols: data.medium
}, {
width: 500,
cols: data.small
}, {
width: 320,
cols: 1
}],
filters: filtersContainer,
defaultFilter: '*',
animationType: data.filter_animation,
gapHorizontal: data.horizontal_gap,
gapVertical: data.vertical_gap,
gridAdjustment: 'responsive',
caption: data.caption_style,
displayType: data.loading_animation,
displayTypeSpeed: 500,
filterDeeplinking: data.filter_deeplink
});
});
});<?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_block_config extends Su_Data {
function __construct() {
parent::__construct();
}
static function get_config() {
return array(
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_POST_BLOCK'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_POST_BLOCK_DESC'),
'icon' => 'th-large',
'badge' => 'New',
'type' => 'single',
'group' => 'gallery',
'atts' => array(
'source' => array(
'type' => 'article_source',
'default' => 'none',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SOURCE'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SOURCE_DESC'),
'child' => array(
'limit' => array(
'type' => 'slider',
'min' => 1,
'max' => 100,
'step' => 1,
'default' => 12,
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_LIMIT'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_LIMIT_DESC')
),
)
),
'category' => array(
'type' => 'bool',
'default' => 'yes',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CATEGORY_SHOW'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CATEGORY_SHOW_DESC'),
'child' => array(
'date' => array(
'type' => 'bool',
'default' => 'yes',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DATE'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DATE_DESC')
)
)
),
'show_intro_text' => array(
'type' => 'bool',
'default' => 'yes',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DESC_SHOW'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_DESC_SHOW_DESC'),
'child' => array(
'intro_text_limit' => array(
'type' => 'slider',
'min' => 10,
'max' => 1000,
'step' => 10,
'default' => 110,
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_INTRO_TEXT_LIMIT'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_INTRO_TEXT_LIMIT_DESC')
)
)
),
'show_title' => array(
'type' => 'bool',
'default' => 'yes',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TITLE_SHOW'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_TITLE_SHOW_DESC'),
'child' => array(
'show_meta' => array(
'type' => 'bool',
'default' => 'yes',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_META_SHOW'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_META_SHOW_DESC'),
)
)
),
'show_thumb' => array(
'type' => 'bool',
'default' => 'yes',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_THUMB_SHOW'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_THUMB_SHOW_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')
)
)
),
'scroll_reveal' => array(
'default' => '',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SCROLL_REVEAL'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_SCROLL_REVEAL_DESC')
),
'class' => array(
'default' => '',
'name' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CLASS'),
'desc' => JText::_('PLG_SYSTEM_BDTHEMES_SHORTCODES_CLASS_DESC')
)
)
);
}
}