Done !
| Server IP : 46.105.57.169 / Your IP : 216.73.216.67 Web Server : Apache System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : verseaumee ( 152031) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/verseaumee/www/plugins/system/bluetheme/assets/shortcode/ |
Upload File : |
<?php
defined('_JEXEC') or die;
// Columns
$column_new_array = array();
add_shortcode('columns_desi', 'columnsDesignShortcode');
function columnsDesignShortcode($atts, $content = null){
extract(shortcode_atts(array(
"title" => '',
"sdesc" => '',
"id" => '',
"class"=>'',
"cid" => '',
"cclass"=>'',
"heading"=>'',
"htag"=>'',
"animate"=>'',
"overlay"=>'',
"bg"=>'',
"icon"=>'',
"cpadding"=>'',
"fullwidth"=>'1',
"state"=>'1'
), $atts));
if (!$state) return true;
$st = new BluethemePlugin();
global $column_new_array;
$column_new_array = array();
extract(shortcode_atts(array(
"class" => ''
), $atts));
do_shortcode($content);
$req = BluethemePlugin::addTemplate('columns');
if($req["check"]){
require $req["src"];
}
}
add_shortcode('column_item_desi', 'columnItemDesignShortcode');
function columnItemDesignShortcode($atts, $content = null)
{
extract(shortcode_atts(array(
"col" => '12',
"col_md"=>'0',
"col_sm"=>'0',
"col_xs"=>'0',
"col_box"=>'0',
"class"=>'',
"padding"=>''
), $atts));
global $column_new_array;
$col_class = "col-lg-".$col;
if($col_md!="0"){
$col_class.=" col-md-".$col_md;
}
elseif ($col == "12") {
$col_class.=" col-md-12";
}
elseif ($col == "3") {
$col_class.=" col-md-6";
}
elseif ($col == "4") {
$col_class.=" col-md-4";
}
elseif ($col == "6") {
$col_class.=" col-md-6";
}
else
$col_class.=" col-md-12";
if($col_sm!="0"){
$col_class.=" col-sm-".$col_sm;
}
else
$col_class.=" col-sm-12";
if($col_xs!="0"){
$col_class.=" col-xs-".$col_xs;
}
else
$col_class.=" col-xs-12";
$column_new_array[] = array("col" => $col_class ,"show_box"=>$col_box,"content" => $content,'class'=>$class,"padding"=>$padding);
}