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;
$ig_new_array = array();
add_shortcode("gallery_desi", "galleryDesignShortcode");
function galleryDesignShortcode($atts,$content=null){
extract(shortcode_atts(array(
"class" => '',
"style"=>'img-polaroid',
"width"=>'80',
"height"=>'80',
"state"=>'1',
"columns"=>'1',
"title"=>'1',
"show_title"=>'1',
"hclass"=>'wow fadeInDown item_heading',
"bg"=>'',
"template"=>'gallery'
), $atts));
if(!$state) return true;
global $st_config;
$id = rand();
$col = array();
$col['item']= $columns;
switch ($columns) {
case '2':
$col['class']="col-lg-6 col-xs-12 col-sm-6";
break;
case '3':
$col['class']="col-lg-4 col-md-4 col-xs-6 col-sm-4";
break;
case '4':
$col['class']="col-lg-3 col-md-4 col-xs-6 col-sm-4";
break;
case '6':
$col['item']='m';
$col['class']="col-lg-3 col-xs-12 col-sm-6";
break;
}
global $ig_new_array;
$ig_new_array = array();
do_shortcode($content);
$req = BluethemePlugin::addTemplate($template);
if($req["check"]){
require $req["src"];
}
}
// Item Gallery
add_shortcode('item_gallery_desi', 'itemGalleryDesignShortcode');
function itemGalleryDesignShortcode($atts,$content=null){
extract(shortcode_atts(array(
"title" => '',
"position"=>'',
"name"=>'',
"number"=>'',
"show_image"=>'',
"iconname"=>'',
"link"=>'',
"desc" =>''
), $atts));
global $ig_new_array;
$ig_new_array[] = array("title" => $title , "name" => $name,"show_image" => $show_image,"number" => $number,"iconname" => $iconname, "position" => $position, "content" => $content,"desc"=>urldecode($desc),"link"=>$link);
}