C:\xampp\htdocs\landing\wp-content\plugins\Ultimate_VC_Addons\modules\ultimate_flip_box.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
<?php
/*
* Add-on Name: Flip Box for WPBakery Page Builder
* Add-on URI: http://dev.brainstormforce.com
*/
if(!class_exists('AIO_Flip_Box'))
{
    class 
AIO_Flip_Box
    
{
        function 
__construct()
        {
            if ( 
Ultimate_VC_Addons::$uavc_editor_enable ) {
                
add_action('init',array($this,'block_init'));
            }
            
add_shortcode('icon_counter',array($this,'block_shortcode'));
            
add_action'wp_enqueue_scripts', array( $this'flip_box_scripts' ), );
        }
        function 
block_init()
        {
            if(
function_exists('vc_map'))
            {
                
vc_map(
                    array(
                       
"name" => __("Flip Box","ultimate_vc"),
                       
"base" => "icon_counter",
                       
"class" => "vc_flip_box",
                       
"icon" => "vc_icon_block",
                       
"category" => "Ultimate VC Addons",
                       
"description" => __("Icon, some info & CTA. Flips on hover.","ultimate_vc"),
                       
"params" => array(
                               array(
                                
"type" => "dropdown",
                                
"class" => "",
                                
"heading" => __("Flip Type ","ultimate_vc"),
                                
"param_name" => "flip_type",
                                
"value" => array(
                                    
__("Flip Horizontally From Left","ultimate_vc") => "horizontal_flip_left",
                                    
__("Flip Horizontally From Right","ultimate_vc") => "horizontal_flip_right",
                                    
__("Flip Vertically From Top","ultimate_vc") => "vertical_flip_top",
                                    
__("Flip Vertically From Bottom","ultimate_vc") => "vertical_flip_bottom",
                                    
__("Vertical Door Flip","ultimate_vc") => "vertical_door_flip",
                                    
__("Reverse Vertical Door Flip","ultimate_vc") => "reverse_vertical_door_flip",
                                    
__("Horizontal Door Flip","ultimate_vc") => "horizontal_door_flip",
                                    
__("Reverse Horizontal Door Flip","ultimate_vc") => "reverse_horizontal_door_flip",
                                    
__("Book Flip (Beta)","ultimate_vc") => "style_9",
                                    
__("Flip From Left (Beta)","ultimate_vc") => "flip_left",
                                    
__("Flip From Right (Beta)","ultimate_vc") => "flip_right",
                                    
__("Flip From Top (Beta)","ultimate_vc") => "flip_top",
                                    
__("Flip From Bottom (Beta)","ultimate_vc") => "flip_bottom",
                                ),
                                
"description" => __("Select Flip type for this flip box.","ultimate_vc")
                            ),
                            array(
                                
"type" => "dropdown",
                                
"class" => "",
                                
"heading" => __("Flip Box Style""ultimate_vc"),
                                
"param_name" => "flip_box_style",
                                
"value" => array(
                                    
"Simple" => "simple",
                                    
"Advanced" => "advanced",
                                ),
                                
"description" => __("Select the border style for icon.","ultimate_vc"),
                            ),
                            array(
                                
"type" => "number",
                                
"class" => "",
                                
"heading" => __("Size of Box Border""ultimate_vc"),
                                
"param_name" => "border_size",
                                
"value" => 2,
                                
"min" => 1,
                                
"max" => 10,
                                
"suffix" => "px",
                                
"description" => __("Enter value in pixels.""ultimate_vc"),
                                
"dependency" => Array("element" => "flip_box_style""value" => array("simple")),
                            ),
                            array(
                                
"type" => "colorpicker",
                                
"class" => "",
                                
"heading" => __("Border Color""ultimate_vc"),
                                
"param_name" => "border_color",
                                
"value" => "#A4A4A4",
                                
"description" => __("Select the color for border on front.""ultimate_vc"),
                                
"dependency" => Array("element" => "flip_box_style""value" => array("simple")),
                            ),
                            array(
                                
"type" => "number",
                                
"class" => "",
                                
"heading" => __("Border Radius""ultimate_vc"),
                                
"param_name" => "border_radius",
                                
"value" => "",
                                
"max" => 500,
                                
"suffix"=> "px",
                                
"description" => __("0 pixel value will create a square border. As you increase the value, the shape convert in circle slowly.""ultimate_vc"),
                                
"dependency" => Array("element" => "flip_box_style""value" => array("simple")),
                            ),
                            array(
                                
"type" => "dropdown",
                                
"class" => "",
                                
"heading" => __("Box Border Style""ultimate_vc"),
                                
"param_name" => "box_border_style",
                                
"value" => array(
                                    
"None"=> "none",
                                    
"Solid"=> "solid",
                                    
"Dashed" => "dashed",
                                    
"Dotted" => "dotted",
                                    
"Double" => "double",
                                    
"Inset" => "inset",
                                    
"Outset" => "outset",
                                ),
                                
"description" => __("Select the border style for box.","ultimate_vc"),
                                
"dependency" => Array("element" => "flip_box_style""value" => array("advanced")),
                            ),
                            array(
                                
"type" => "number",
                                
"class" => "",
                                
"heading" => __("Size of Box Border""ultimate_vc"),
                                
"param_name" => "box_border_size",
                                
"value" => 2,
                                
"min" => 1,
                                
"max" => 10,
                                
"suffix" => "px",
                                
"description" => __("Enter value in pixels.""ultimate_vc"),
                                
"dependency" => Array("element" => "box_border_style""value" => array("solid","dashed","dotted","double","inset","outset")),
                            ),
                            array(
                                
"type" => "number",
                                
"class" => "",
                                
"heading" => __("Border Radius""ultimate_vc"),
                                
"param_name" => "border_radius_box",
                                
"value" => "",
                                
"max" => 500,
                                
"suffix"=> "px",
                                
"description" => __("0 pixel value will create a square border. As you increase the value, the shape convert in circle slowly.""ultimate_vc"),
                                
"dependency" => Array("element" => "box_border_style""value" => array("solid","dashed","dotted","double","inset","outset")),
                            ),
                            array(
                                
"type" => "dropdown",
                                
"class" => "",
                                
"heading" => __("Icon to display:""ultimate_vc"),
                                
"param_name" => "icon_type",
                                
"value" => array(
                                    
"Font Icon Manager" => "selector",
                                    
"Custom Image Icon" => "custom",
                                ),
                                
"description" => __("Use an existing font icon or upload a custom image.""ultimate_vc"),
                                
"group" => "Icon"
                            
),
                            array(
                                
"type" => "icon_manager",
                                
"class" => "",
                                
"heading" => __("Select Icon ","ultimate_vc"),
                                
"param_name" => "icon",
                                
"value" => "",
                                
"description" => __("Click and select icon of your choice. If you can't find the one that suits for your purpose, you can","ultimate_vc")." <a href='admin.php?page=bsf-font-icon-manager' target='_blank' rel='noopener'>".__('add new here','ultimate_vc')."</a>.",
                                
"dependency" => Array("element" => "icon_type","value" => array("selector")),
                                
"group" => "Icon"
                            
),
                            array(
                                
"type" => "ult_img_single",
                                
"class" => "",
                                
"heading" => __("Upload Image Icon:""ultimate_vc"),
                                
"param_name" => "icon_img",
                                
"value" => "",
                                
"description" => __("Upload the custom image icon.""ultimate_vc"),
                                
"dependency" => Array("element" => "icon_type","value" => array("custom")),
                                
"group" => "Icon"
                            
),
                            array(
                                
"type" => "number",
                                
"class" => "",
                                
"heading" => __("Image Width""ultimate_vc"),
                                
"param_name" => "img_width",
                                
"value" => 48,
                                
"min" => 16,
                                
"max" => 512,
                                
"suffix" => "px",
                                
"description" => __("Provide image width""ultimate_vc"),
                                
"dependency" => Array("element" => "icon_type","value" => array("custom")),
                                
"group" => "Icon"
                            
),
                            array(
                                
"type" => "number",
                                
"class" => "",
                                
"heading" => __("Size of Icon""smile"),
                                
"param_name" => "icon_size",
                                
"value" => 32,
                                
"min" => 12,
                                
"max" => 72,
                                
"suffix" => "px",
                                
"description" => __("How big would you like it?""ultimate_vc"),
                                
"dependency" => Array("element" => "icon_type","value" => array("selector")),
                                
"group" => "Icon"
                            
),
                            array(
                                
"type" => "colorpicker",
                                
"class" => "",
                                
"heading" => __("Color""ultimate_vc"),
                                
"param_name" => "icon_color",
                                
"value" => "#333333",
                                
"description" => __("Give it a nice paint!""ultimate_vc"),
                                
"dependency" => Array("element" => "icon_type","value" => array("selector")),
                                
"group" => "Icon"
                            
),
                            array(
                                
"type" => "dropdown",
                                
"class" => "",
                                
"heading" => __("Icon Style""ultimate_vc"),
                                
"param_name" => "icon_style",
                                
"value" => array(
                                    
__("Simple","ultimate_vc") => "none",
                                    
__("Circle Background","ultimate_vc") => "circle",
                                    
__("Square Background","ultimate_vc") => "square",
                                    
__("Design your own","ultimate_vc") => "advanced",
                                ),
                                
"description" => __("We have given three quick preset if you are in a hurry. Otherwise, create your own with various options.""ultimate_vc"),
                                
"dependency" => Array("element" => "icon_type","value" => array("selector")),
                                
"group" => "Icon"
                            
),
                            array(
                                
"type" => "colorpicker",
                                
"class" => "",
                                
"heading" => __("Background Color""ultimate_vc"),
                                
"param_name" => "icon_color_bg",
                                
"value" => "#ffffff",
                                
"description" => __("Select background color for icon.""ultimate_vc"),
                                
"dependency" => Array("element" => "icon_style""value" => array("circle","square","advanced")),
                                
"group" => "Icon"
                            
),
                            array(
                                
"type" => "dropdown",
                                
"class" => "",
                                
"heading" => __("Icon Border Style""ultimate_vc"),
                                
"param_name" => "icon_border_style",
                                
"value" => array(
                                    
"Solid" => "solid",
                                    
"Dashed" => "dashed",
                                    
"Dotted" => "dotted",
                                    
"Double" => "double",
                                    
"Inset" => "inset",
                                    
"Outset" => "outset",
                                ),
                                
"description" => __("Select the border style for icon.","ultimate_vc"),
                                
"dependency" => Array("element" => "icon_style""value" => array("advanced")),
                                
"group" => "Icon"
                            
),
                            array(
                                
"type" => "colorpicker",
                                
"class" => "",
                                
"heading" => __("Border Color""ultimate_vc"),
                                
"param_name" => "icon_color_border",
                                
"value" => "#333333",
                                
"description" => __("Select border color for icon.""ultimate_vc"),
                                
"dependency" => Array("element" => "icon_border_style""not_empty" => true),
                                
"group" => "Icon"
                            
),
                            array(
                                
"type" => "number",
                                
"class" => "",
                                
"heading" => __("Border Width""ultimate_vc"),
                                
"param_name" => "icon_border_size",
                                
"value" => 1,
                                
"min" => 1,
                                
"max" => 10,
                                
"suffix" => "px",
                                
"description" => __("Thickness of the border.""ultimate_vc"),
                                
"dependency" => Array("element" => "icon_border_style""not_empty" => true),
                                
"group" => "Icon"
                            
),
                            array(
                                
"type" => "number",
                                
"class" => "",
                                
"heading" => __("Border Radius""ultimate_vc"),
                                
"param_name" => "icon_border_radius",
                                
"value" => 500,
                                
"min" => 1,
                                
"max" => 500,
                                
"suffix" => "px",
                                
"description" => __("0 pixel value will create a square border. As you increase the value, the shape convert in circle slowly. (e.g 500 pixels).""ultimate_vc"),
                                
"dependency" => Array("element" => "icon_border_style""not_empty" => true),
                                
"group" => "Icon"
                            
),
                            array(
                                
"type" => "number",
                                
"class" => "",
                                
"heading" => __("Background Size""smile"),
                                
"param_name" => "icon_border_spacing",
                                
"value" => 50,
                                
"min" => 30,
                                
"max" => 500,
                                
"suffix" => "px",
                                
"description" => __("Spacing from center of the icon till the boundary of border / background""ultimate_vc"),
                                
"dependency" => Array("element" => "icon_style""value" => array("advanced")),
                                
"group" => "Icon"
                            
),
                            array(
                                
"type" => "colorpicker",
                                
"class" => "",
                                
"heading" => __("Title Color""ultimate_vc"),
                                
"param_name" => "text_color",
                                
"value" => "#333333",
                                
"description" => __("Color of title text.""ultimate_vc"),
                                
"dependency" => Array("element" => "flip_box_style""value" => array("simple")),
                            ),
                            array(
                                
"type" => "colorpicker",
                                
"class" => "",
                                
"heading" => __("Description Color""ultimate_vc"),
                                
"param_name" => "desc_color",
                                
"value" => "",
                                
"description" => __("Color of description text.""ultimate_vc"),
                                
"dependency" => Array("element" => "flip_box_style""value" => array("simple")),
                            ),
                            array(
                                
"type" => "colorpicker",
                                
"class" => "",
                                
"heading" => __("Background Color""ultimate_vc"),
                                
"param_name" => "bg_color",
                                
"value" => "#efefef",
                                
"description" => __("Light colors look better for background.""ultimate_vc"),
                                
"dependency" => Array("element" => "flip_box_style""value" => array("simple")),
                            ),
                            array(
                                 
"type" => "textfield",
                                 
"class" => "",
                                 
"heading" => __("Title on Front","ultimate_vc"),
                                 
"param_name" => "block_title_front",
                                 
"admin_label" => true,
                                 
"value" => "",
                                 
"description" => __("Perhaps, this is the most highlighted text.","ultimate_vc"),
                                 
"group" => "Front",
                                 
'edit_field_class' => 'vc_col-sm-8',
                            ),
                            array(
                                
"type" => "dropdown",
                                
"heading" => __("Tag","ultimate_vc"),
                                
"param_name" => "front_heading_tag",
                                
"value" => array(
                                    
__("Default","ultimate_vc") => "h3",
                                    
__("H1","ultimate_vc") => "h1",
                                    
__("H2","ultimate_vc") => "h2",
                                    
__("H4","ultimate_vc") => "h4",
                                    
__("H5","ultimate_vc") => "h5",
                                    
__("H6","ultimate_vc") => "h6",
                                    
__("Div","ultimate_vc") => "div",
                                    
__("p","ultimate_vc") => "p",
                                    
__("span","ultimate_vc") => "span",
                                ),
                                
"description" => __("Default is H3""ultimate_vc"),
                                
"group" => "Front",
                                
'edit_field_class' => 'ult-param-padding-remove vc_col-sm-4',
                            ),
                            array(
                                 
"type" => "textarea",
                                 
"class" => "",
                                 
"heading" => __("Description on Front ","ultimate_vc"),
                                 
"param_name" => "block_desc_front",
                                 
"value" => "",
                                 
"description" => __("Keep it short and simple!","ultimate_vc"),
                                 
"group" => "Front"
                            
),

                            array(
                                
"type" => "colorpicker",
                                
"class" => "",
                                
"heading" => __("Title Color""ultimate_vc"),
                                
"param_name" => "block_text_color",
                                
"value" => "#333333",
                                
"description" => __("Color of front side title text.""ultimate_vc"),
                                
"dependency" => Array("element" => "flip_box_style""value" => array("advanced")),
                                
"group" => "Front"
                            
),
                            array(
                                
"type" => "colorpicker",
                                
"class" => "",
                                
"heading" => __("Description Color""ultimate_vc"),
                                
"param_name" => "block_desc_color",
                                
"value" => "",
                                
"description" => __("Color of front side description text.""ultimate_vc"),
                                
"dependency" => Array("element" => "flip_box_style""value" => array("advanced")),
                                
"group" => "Front"
                            
),
                            array(
                                
"type" => "colorpicker",
                                
"class" => "",
                                
"heading" => __("Background Color""ultimate_vc"),
                                
"param_name" => "block_front_color",
                                
"value" => "#efefef",
                                
"description" => __("Light colors look better on front.""ultimate_vc"),
                                
"dependency" => Array("element" => "flip_box_style""value" => array("advanced")),
                                
"group" => "Front"
                            
),
                            array(
                                
"type" => "colorpicker",
                                
"class" => "",
                                
"heading" => __("Border Color""ultimate_vc"),
                                
"param_name" => "box_border_color",
                                
"value" => "#A4A4A4",
                                
"description" => __("Select the color for border on front.""ultimate_vc"),
                                
"dependency" => Array("element" => "box_border_style""value" => array("solid","dashed","dotted","double","inset","outset")),
                                
"group" => "Front"
                            
),
                            array(
                                 
"type" => "textfield",
                                 
"class" => "",
                                 
"heading" => __("Title on Back ","ultimate_vc"),
                                 
"param_name" => "block_title_back",
                                 
"admin_label" => true,
                                 
"value" => "",
                                 
"description" => __("Some nice heading for the back side of the flip.","ultimate_vc"),
                                 
"group" => "Back",
                                 
'edit_field_class' => 'vc_col-sm-8',
                            ),
                            array(
                                
"type" => "dropdown",
                                
"heading" => __("Tag","ultimate_vc"),
                                
"param_name" => "back_heading_tag",
                                
"value" => array(
                                    
__("Default","ultimate_vc") => "h3",
                                    
__("H1","ultimate_vc") => "h1",
                                    
__("H2","ultimate_vc") => "h2",
                                    
__("H4","ultimate_vc") => "h4",
                                    
__("H5","ultimate_vc") => "h5",
                                    
__("H6","ultimate_vc") => "h6",
                                    
__("Div","ultimate_vc") => "div",
                                    
__("p","ultimate_vc") => "p",
                                    
__("span","ultimate_vc") => "span",
                                ),
                                
"description" => __("Default is H3""ultimate_vc"),
                                
"group" => "Back",
                                
'edit_field_class' => 'ult-param-padding-remove vc_col-sm-4',
                            ),
                            array(
                                 
"type" => "textarea",
                                 
"class" => "",
                                 
"heading" => __("Description on Back","ultimate_vc"),
                                 
"param_name" => "block_desc_back",
                                 
"value" => "",
                                 
"description" => __("Text here will be followed by a button. So make it catchy!","ultimate_vc"),
                                 
"group" => "Back"
                            
),
                            array(
                                
"type" => "colorpicker",
                                
"class" => "",
                                
"heading" => __("Title Color""ultimate_vc"),
                                
"param_name" => "block_back_text_color",
                                
"value" => "#333333",
                                
"description" => __("Color of back side title text.""ultimate_vc"),
                                
"dependency" => Array("element" => "flip_box_style""value" => array("advanced")),
                                
"group" => "Back"
                            
),
                            array(
                                
"type" => "colorpicker",
                                
"class" => "",
                                
"heading" => __("Description Color""ultimate_vc"),
                                
"param_name" => "block_back_desc_color",
                                
"value" => "",
                                
"description" => __("Color of back side description text.""ultimate_vc"),
                                
"dependency" => Array("element" => "flip_box_style""value" => array("advanced")),
                                
"group" => "Back"
                            
),
                            array(
                                
"type" => "colorpicker",
                                
"class" => "",
                                
"heading" => __("Background Color""ultimate_vc"),
                                
"param_name" => "block_back_color",
                                
"value" => "#efefef",
                                
"description" => __("Select the background color for back .""ultimate_vc"),
                                
"dependency" => Array("element" => "flip_box_style""value" => array("advanced")),
                                
"group" => "Back"
                            
),
                            array(
                                
"type" => "colorpicker",
                                
"class" => "",
                                
"heading" => __("Border Color""ultimate_vc"),
                                
"param_name" => "box_border_color_back",
                                
"value" => "#A4A4A4",
                                
"description" => __("Select the color for border on back.""ultimate_vc"),
                                
"dependency" => Array("element" => "box_border_style""value" => array("solid","dashed","dotted","double","inset","outset")),
                                
"group" => "Back"
                            
),
                            array(
                                 
"type" => "dropdown",
                                 
"class" => "",
                                 
"heading" => __("Link","ultimate_vc"),
                                 
"param_name" => "custom_link",
                                 
"value" => array(
                                        
"No Link" => "",
                                        
"Add custom link with button" => "1",
                                        ),
                                 
"description" => __("You can add / remove custom link","ultimate_vc")
                            ),
                            array(
                                 
"type" => "vc_link",
                                 
"class" => "",
                                 
"heading" => __("Link ","ultimate_vc"),
                                 
"param_name" => "button_link",
                                 
"value" => "",
                                 
"description" => __("You can link or remove the existing link on the button from here.","ultimate_vc"),
                                 
"dependency" => Array("element" => "custom_link""not_empty" => true"value" => array("1")),
                            ),
                            array(
                                
"type" => "textfield",
                                
"class" => "",
                                
"heading" => __("Button Text","ultimate_vc"),
                                
"param_name" => "button_text",
                                
"value" => "",
                                
"description" => __("The \"call to action\" text","ultimate_vc"),
                                
"dependency" => Array("element" => "custom_link""not_empty" => true"value" => array("1")),
                            ),
                            array(
                                
"type" => "colorpicker",
                                
"class" => "",
                                
"heading" => __("Button background color""ultimate_vc"),
                                
"param_name" => "button_bg",
                                
"value" => "#333333",
                                
"description" => __("Color of the button. Make sure it'll match with Back Side Box Color.""ultimate_vc"),
                                
"dependency" => Array("element" => "custom_link""not_empty" => true"value" => array("1")),
                            ),
                            array(
                                
"type" => "colorpicker",
                                
"class" => "",
                                
"heading" => __("Button Text Color""ultimate_vc"),
                                
"param_name" => "button_txt",
                                
"value" => "#FFFFFF",
                                
"description" => __("Select the color for button text.""ultimate_vc"),
                                
"dependency" => Array("element" => "custom_link""not_empty" => true"value" => array("1")),
                            ),
                            array(
                                
"type" => "dropdown",
                                
"class" => "",
                                
"heading" => __("Set Box Height","ultimate_vc"),
                                
"param_name" => "height_type",
                                
"value" => array(
                                    
__("Display full the content and adjust height of box accordingly","ultimate_vc")=>"ifb-jq-height",
                                    
__("Hide extra content that doesn't fit in height of the box","ultimate_vc") => "ifb-auto-height",
                                    
__("Give a custom height of your choice to the box","ultimate_vc") => "ifb-custom-height",
                                ),
                                
"description" => __("Select height option for this box.","ultimate_vc")
                            ),
                            array(
                                
"type" => "number",
                                
"class" => "",
                                
"heading" => __("Box Height""ultimate_vc"),
                                
"param_name" => "box_height",
                                
"value" => 300,
                                
"min" => 200,
                                
"max" => 1200,
                                
"suffix" => "px",
                                
"description" => __("Provide box height""ultimate_vc"),
                                
"dependency" => Array("element" => "height_type","value" => array("ifb-custom-height")),
                            ),
                            array(
                                    
"type" => "ult_switch",
                                    
"class" => "",
                                    
//"heading" => __("Want To show button in responsive mode", "ultimate_vc"),
                                    
"param_name" => "cont_align",
                                    
"value" => "off",
                                    
"default_set" => true,
                                    
"options" => array(
                                        
"on" => array(
                                            
"label" => __("Display Content Vertically Center ?","ultimate_vc"),
                                            
"on" => __("Yes","ultimate_vc"),
                                            
"off" => __("No","ultimate_vc"),
                                          ),
                                      ),
                                    
/*"description" => __("", "smile"),*/
                                    //"description" => __("Display Content Vertically Center ", 'ultimate_vc'),
                                
),
                            array(
                                
"type" => "textfield",
                                
"class" => "",
                                
"heading" => __("Extra Class""ultimate_vc"),
                                
"param_name" => "el_class",
                                
"value" => "",
                                
"description" => __("Add extra class name that will be applied to the icon process, and you can use this class for your customizations.""ultimate_vc"),
                            ),
                            array(
                                
"type" => "text",
                                
"param_name" => "ult_param_heading",
                                
"heading" => __("Title settings","ultimate_vc"),
                                
"value" => "",
                                
"class" => "ult-param-heading",
                                
'edit_field_class' => 'ult-param-heading-wrapper no-top-margin vc_column vc_col-sm-12',
                                
"group" => "Typography"
                            
),
                            array(
                                
"type" => "ultimate_google_fonts",
                                
"heading" => __("Font Family","ultimate_vc"),
                                
"param_name" => "title_font",
                                
"description" => __("Select the font of your choice.","ultimate_vc")." ".__("You can","ultimate_vc")." <a target='_blank' rel='noopener' href='".admin_url('admin.php?page=bsf-google-font-manager')."'>".__("add new in the collection here","ultimate_vc")."</a>.",
                                
"value" => "",
                                
"group" => "Typography"
                            
),
                            array(
                                
"type" => "ultimate_google_fonts_style",
                                
"heading" => __("Font Style","ultimate_vc"),
                                
"param_name" => "title_font_style",
                                
"value" => "",
                                
"group" => "Typography"
                            
),
                            
// array(
                            //     "type" => "number",
                            //     "param_name" => "title_font_size",
                            //     "heading" => __("Font size","ultimate_vc"),
                            //     "value" => "",
                            //     "suffix" => "px",
                            //     "min" => 10,
                            //     "group" => "Typography"
                            // ),
                            
array(
                                
"type" => "ultimate_responsive",
                                
"class" => "",
                                
"heading" => __("Font size"'ultimate_vc'),
                                
"param_name" => "title_font_size",
                                
"unit" => "px",
                                
"media" => array(
                                    
"Desktop" => '',
                                    
"Tablet" => '',
                                    
"Tablet Portrait" => '',
                                    
"Mobile Landscape" => '',
                                    
"Mobile" => '',
                                ),
                                
"group" => "Typography",
                            ),
                            
// array(
                            //     "type" => "number",
                            //     "param_name" => "title_font_line_height",
                            //     "heading" => __("Font Line Height","ultimate_vc"),
                            //     "value" => "",
                            //     "suffix" => "px",
                            //     "min" => 10,
                            //     "group" => "Typography"
                            // ),
                            
array(
                                
"type" => "ultimate_responsive",
                                
"class" => "",
                                
"heading" => __("Font Line Heigh"'ultimate_vc'),
                                
"param_name" => "title_font_line_height",
                                
"unit" => "px",
                                
"media" => array(
                                    
/*"Large Screen"      => '',*/
                                    
"Desktop" => '',
                                    
"Tablet" => '',
                                    
"Tablet Portrait" => '',
                                    
"Mobile Landscape" => '',
                                    
"Mobile" => '',
                                ),
                                
"group" => "Typography"
                            
),
                            array(
                                
"type" => "ult_param_heading",
                                
"param_name" => "desc_text_typography",
                                
"heading" => __("Description settings","ultimate_vc"),
                                
"value" => "",
                                
"class" => "ult-param-heading",
                                
'edit_field_class' => 'ult-param-heading-wrapper vc_column vc_col-sm-12',
                                
"group" => "Typography"
                            
),
                            array(
                                
"type" => "ultimate_google_fonts",
                                
"heading" => __("Font Family","ultimate_vc"),
                                
"param_name" => "desc_font",
                                
"description" => __("Select the font of your choice.","ultimate_vc")." ".__("You can","ultimate_vc")." <a target='_blank' rel='noopener' href='".admin_url('admin.php?page=bsf-google-font-manager')."'>".__("add new in the collection here","ultimate_vc")."</a>.",
                                
"value" => "",
                                
"group" => "Typography"
                            
),
                            array(
                                
"type" => "ultimate_google_fonts_style",
                                
"heading" => __("Font Style","ultimate_vc"),
                                
"param_name" => "desc_font_style",
                                
"value" => "",
                                
"group" => "Typography"
                            
),
                            
// array(
                            //     "type" => "number",
                            //     "param_name" => "desc_font_size",
                            //     "heading" => __("Font size","ultimate_vc"),
                            //     "value" => "",
                            //     "suffix" => "px",
                            //     "min" => 10,
                            //     "group" => "Typography"
                            // ),
                            
array(
                                
"type" => "ultimate_responsive",
                                
"class" => "",
                                
"heading" => __("Font size"'ultimate_vc'),
                                
"param_name" => "desc_font_size",
                                
"unit" => "px",
                                
"media" => array(
                                    
"Desktop" => '',
                                    
"Tablet" => '',
                                    
"Tablet Portrait" => '',
                                    
"Mobile Landscape" => '',
                                    
"Mobile" => '',
                                ),
                                
"group" => "Typography",
                            ),
                            
// array(
                            //     "type" => "number",
                            //     "param_name" => "desc_font_line_height",
                            //     "heading" => __("Font Line Height","ultimate_vc"),
                            //     "value" => "",
                            //     "suffix" => "px",
                            //     "min" => 10,
                            //     "group" => "Typography"
                            // ),
                            
array(
                                
"type" => "ultimate_responsive",
                                
"class" => "",
                                
"heading" => __("Font Line Height"'ultimate_vc'),
                                
"param_name" => "desc_font_line_height",
                                
"unit" => "px",
                                
"media" => array(
                                    
"Desktop" => '',
                                    
"Tablet" => '',
                                    
"Tablet Portrait" => '',
                                    
"Mobile Landscape" => '',
                                    
"Mobile" => '',
                                ),
                                
"group" => "Typography",
                            ),
                            array(
                                
"type" => "ult_param_heading",
                                
"text" => "<span style='display: block;'><a href='http://bsf.io/1qnl6' target='_blank' rel='noopener'>".__("Watch Video Tutorial","ultimate_vc")." &nbsp; <span class='dashicons dashicons-video-alt3' style='font-size:30px;vertical-align: middle;color: #e52d27;'></span></a></span>",
                                
"param_name" => "notification",
                                
'edit_field_class' => 'ult-param-important-wrapper ult-dashicon ult-align-right ult-bold-font ult-blue-font vc_column vc_col-sm-12',
                            ),
                            array(
                                    
"type" => "ultimate_spacing",
                                    
"heading" => "Padding",
                                    
"param_name" => "flipbx_padding",
                                    
"mode"  => "padding",                    //  margin/padding
                                    
"unit"  => "px",                        //  [required] px,em,%,all     Default all
                                    
"positions" => array(                   //  Also set 'defaults'
                                          
"Top" => "",
                                          
"Right" => "",
                                          
"Bottom" => "",
                                          
"Left" => "",
                                    ),
                                     
'group' => __'Design ''ultimate_vc' ),
                                     
"description" => __("Add Padding to FlipBox.""ultimate_vc"),
                                  ),
                            array(
                                    
"type" => "ultimate_spacing",
                                    
"heading" => "Margin ",
                                    
"param_name" => "flipbx_margin",
                                    
"mode"  => "margin",                    //  margin/padding
                                    
"unit"  => "px",                        //  [required] px,em,%,all     Default all
                                    
"positions" => array(                   //  Also set 'defaults'
                                          
"Top" => "",
                                          
"Right" => "",
                                          
"Bottom" => "",
                                          
"Left" => "",
                                    ),
                                     
'group' => __'Design ''ultimate_vc' ),
                                     
"description" => __("Add Margin to FlipBox.""ultimate_vc"),
                                ),
                        ),
                    )
                );
            }
        }
        
// Shortcode handler function for  icon block
        
function block_shortcode($atts)
        {
            
$icon_type $icon_img $img_width $icon $icon_color $icon_color_bg $icon_size $icon_style $icon_border_style $icon_border_radius $icon_color_border $icon_border_size $icon_border_spacing $icon_link $el_class $icon_animation $block_title_front $front_heading_tag $block_desc_front $block_title_back $back_heading_tag $block_desc_back $button_text $button_link $block_text_color $block_desc_color $block_front_color $block_back_color $block_back_text_color =$block_back_desc_color $animation $font_size_icon $box_border_style $box_border_size $box_border_color $border_size $border_color $box_border_color_back $custom_link $button_bg $button_txt $height_type $box_height $flip_type $flip_box_style $text_color $desc_color $bg_color $front_text $back_text $frontd_text $backd_text $box_border_color_advanced $border_radius $border_radius_box='';
            
$desc_font_line_height $title_font_line_height $title_font=$title_font_style=$title_font_size=$desc_font $desc_font_style $desc_font_size '';
            
extract(shortcode_atts( array(
                
'icon_type' => 'selector',
                
'icon' => '',
                
'icon_img' => '',
                
'img_width' => '48',
                
'icon_size' => '32',
                
'icon_color' => '#333333',
                
'icon_style' => 'none',
                
'icon_color_bg' => '#ffffff',
                
'icon_color_border' => '#333333',
                
'icon_border_style' => 'solid',
                
'icon_border_size' => '1',
                
'icon_border_radius' => '500',
                
'icon_border_spacing' => '50',
                
'icon_link' => '',
                
'icon_animation' => '',
                
'block_title_front' => '',
                
'front_heading_tag' => 'h3',
                
'block_desc_front' => '',
                
'block_title_back' => '',
                
'back_heading_tag' => 'h3',
                
'block_desc_back' =>'',
                
'custom_link' => '',
                
'button_text' =>'',
                
'button_link' =>'',
                
'button_bg' => '#333333',
                
'button_txt' => '#FFFFFF',
                
'flip_type' =>'horizontal_flip_left',
                
'text_color' => '#333333',
                
'desc_color' => '',
                
'bg_color' => '#efefef',
                
'block_text_color' =>'#333333',
                
'block_desc_color' => '',
                
'block_front_color' =>'#efefef',
                
'block_back_color' =>'#efefef',
                
'el_class' =>'',
                
'block_back_text_color' =>'#333333',
                
'block_back_desc_color' => '',
                
'border_size' => '2',
                
'border_color' => '#A4A4A4',
                
'border_radius'=> '',
                
'box_border_style' => 'none',
                
'box_border_size' => '2',
                
'border_radius_box'=>'',
                
'box_border_color' => '#A4A4A4',
                
'box_border_color_back' => '#A4A4A4',
                
'height_type' => 'ifb-jq-height',
                
'box_height' => '300',
                
'flip_box_style' => 'simple',
                
'title_font' => '',
                
'title_font_style' => '',
                
'title_font_size' => '',
                
'title_font_line_height'=> '',
                
'desc_font' => '',
                
'desc_font_style' => '',
                
'desc_font_size' => '',
                
'desc_font_line_height'=> '',
                
'cont_align'=>'',
                
'flipbx_padding' => '',
                
'flipbx_margin' => '',

            ),
$atts));
            
$output $f_style $b_style $ico_color $box_border $icon_border $link_style $height $link_sufix $link_prefix $link_style '';
            
$title_style $desc_style $flip_design_style $url $target $link_title  $rel  '';
            
$border_front $border_back $box_border_radius'';
            
//$font_args = array();
            
$flip_design_style $flipbx_margin;
            
$flip_design_style .=$flipbx_padding;
            if(
$icon_type == 'custom'){
                
$icon_style 'none';
            }
            
$flip_icon do_shortcode('[just_icon icon_type="'.esc_attr($icon_type).'" icon="'.esc_attr($icon).'" icon_img="'.esc_attr($icon_img).'" img_width="'.esc_attr($img_width).'" icon_size="'.esc_attr($icon_size).'" icon_color="'.esc_attr($icon_color).'" icon_style="'.esc_attr($icon_style).'" icon_color_bg="'.esc_attr($icon_color_bg).'" icon_color_border="'.esc_attr($icon_color_border).'"  icon_border_style="'.esc_attr($icon_border_style).'" icon_border_size="'.esc_attr($icon_border_size).'" icon_border_radius="'.esc_attr($icon_border_radius).'" icon_border_spacing="'.esc_attr($icon_border_spacing).'" icon_link="'.esc_attr($icon_link).'" icon_animation="'.esc_attr($icon_animation).'"]');
            
$css_trans $icon_border $box_border '';
            
$height $target '';

            if(
$title_font != '')
            {
                
$font_family get_ultimate_font_family($title_font);
                
$title_style .= 'font-family:\''.$font_family.'\';';
                
//array_push($font_args, $title_font);
            
}
            if(
$title_font_style != '')
                
$title_style .= get_ultimate_font_style($title_font_style);

            if (
is_numeric($title_font_size)) {
                
$title_font_size 'desktop:'.$title_font_size.'px;';
            }

            if (
is_numeric($title_font_line_height)) {
                
$title_font_line_height 'desktop:'.$title_font_line_height.'px;';
            }
            
$flip_box_id 'flip-box-wrap-'.rand(10009999);
            
$ult_flip_box_args = array(
                
'target' => '#'.$flip_box_id' .ult-responsive.flipbox_heading'// set targeted element e.g. unique class/id etc.
                
'media_sizes' => array(
                    
'font-size' => $title_font_size// set 'css property' & 'ultimate_responsive' sizes. Here $title_responsive_font_size holds responsive font sizes from user input.
                       
'line-height' => $title_font_line_height
                
),
            );
    
$data_list get_ultimate_vc_responsive_media_css($ult_flip_box_args);

            
/* description */
            
if($desc_font != '')
            {
                
$font_family get_ultimate_font_family($desc_font);
                
$desc_style .= 'font-family:\''.$font_family.'\';';
                
//array_push($font_args, $desc_font);
            
}
            if(
$desc_font_style != '')
                
$desc_style .= get_ultimate_font_style($desc_font_style);

            if (
is_numeric($desc_font_size)) {
                
$desc_font_size 'desktop:'.$desc_font_size.'px;';
            }
            if (
is_numeric($desc_font_line_height)) {
                
$desc_font_line_height 'desktop:'.$desc_font_line_height.'px;';
            }

            
$ult_flip_box_args_desc = array(
                
'target' => '#'.$flip_box_id' .ifb-flip-box-section-content.ult-responsive'// set targeted element e.g. unique class/id etc.
                
'media_sizes' => array(
                    
'font-size' => $desc_font_size// set 'css property' & 'ultimate_responsive' sizes. Here $title_responsive_font_size holds responsive font sizes from user input.
                       
'line-height' => $desc_font_line_height
                
),
            );
    
$data_list_desc get_ultimate_vc_responsive_media_css($ult_flip_box_args_desc);
            
//enquque_ultimate_google_fonts($font_args);

            
if($icon_border_style !== 'none')
            {
                
$icon_border .= 'border-style: '.$icon_border_style.';';
                
$icon_border .= 'border-width: '.$icon_border_size.'px;';
            }
            
$box_style_data '';
            if(
$height_type == "ifb-custom-height"){
                
$box_style_data .= " data-min-height='".$box_height."px'";
                
/*$height = 'height:'.$box_height.'px;';*/
                
$flip_type .= ' flip-box-custom-height';
            }
            if(
$flip_box_style !== 'simple'){
                
$border_front =  'border-color:'.$box_border_color.';';
                
$border_back =  'border-color:'.$box_border_color_back.';';
                if(
$box_border_style !== 'none')
                {
                    
$box_border .= 'border-style: '.$box_border_style.';';
                    
$box_border .= 'border-width: '.$box_border_size.'px;';
                }
                if(
$box_border_style !== 'none')
                {
                    if(
$border_radius_box != '')
                    {
                        
$box_border_radius .= 'border-radius: '.$border_radius_box.'px;';
                    }
                }
                if(
$animation !== 'none')
                {
                    
$css_trans 'data-animation="'.esc_attr$animation ).'" data-animation-delay="03"';
                }
                if(
$block_text_color != ''){
                    
$f_style .='color:'.$block_text_color.';';
                    
$front_text .= 'color:'.$block_text_color.';';
                    
//$desc_style .= 'color:'.$block_text_color.';';
                
}
                if(
$block_desc_color != ''){
                    
$f_style .='color:'.$block_desc_color.';';
                    
$frontd_text .= 'color:'.$block_desc_color.';';
                    
//$desc_style .= 'color:'.$block_text_color.';';
                
}
                if(
$block_front_color != '')
                    
$f_style .= 'background:'.$block_front_color.';';
                if(
$block_back_text_color != ''){
                    
$b_style .='color:'.$block_back_text_color.';';
                    
$back_text .='color:'.$block_back_text_color.';';
                }
                if(
$block_back_desc_color != ''){
                    
$b_style .='color:'.$block_back_desc_color.';';
                    
$backd_text .='color:'.$block_back_desc_color.';';
                }
                if(
$block_back_color != '')
                    
$b_style .= 'background:'.$block_back_color.';';
            } else {
                if(
$text_color != ''){
                    
$f_style .='color:'.$text_color.';';
                    
$b_style .='color:'.$text_color.';';
                    
$front_text $back_text 'color:'.$text_color.';';
                    
$desc_style .= 'color:'.$block_text_color.';';
                }
                if(
$desc_color != ''){
                    
$f_style .='color:'.$desc_color.';';
                    
$b_style .='color:'.$desc_color.';';
                    
$frontd_text $backd_text 'color:'.$desc_color.';';
                    
//$desc_style .= 'color:'.$block_text_color.';';
                
}
                if(
$bg_color != '')
                {
                    
$f_style .= 'background:'.$bg_color.';';
                    
$b_style .= 'background:'.$bg_color.';';
                }
                if(
$border_color != ''){
                    
$border_front =  'border-color:'.$border_color.';';
                    
$border_back =  'border-color:'.$border_color.';';
                    
$box_border 'border-width: '.$border_size.'px;';
                    
$box_border .= 'border-style: solid;';
                    
$box_border_radius 'border-radius: '.$border_radius.'px;';
                }
            }


            if(
$cont_align==''){
                
$cont_align='off';
            }
            
$verticalcont='';
            if(
$cont_align=='on'){
                
$verticalcont.='ifb-flip-box-section-vertical-middle';
            }

            
$output .= '<div class="flip-box-wrap" style="'.esc_attr($flip_design_style).'">';
            
$output .= '<div class="flip-box '.esc_attr($height_type).' '.esc_attr($el_class).' 'esc_attr($flip_type) .' flip-'.esc_attr($height_type).'" '.$css_trans.' style="'.esc_attr($height).'" '.$box_style_data.'>';
            
$output .= '<div class="ifb-flip-box" id="'.esc_attr($flip_box_id).'">';
                
$output .= '<div class="ifb-face ifb-front " style="'.esc_attr($f_style).' '.esc_attr($box_border).' '.esc_attr($border_front).' '.esc_attr($box_border_radius).'">
                            <div class="ifb-flip-box-section '
.esc_attr($verticalcont).'">
                            '
;
                        if(
$icon !== '' || $icon_img !== '')
                                
$output.='<div class="flip-box-icon">'.$flip_icon.'</div>';
                        if(
$block_title_front!='')
                            
$output.='<'.$front_heading_tag.' class="ult-responsive flipbox_heading" '.$data_list.' style="'.esc_attr($front_text).' '.esc_attr($title_style).'">'.$block_title_front.'</'.$front_heading_tag.'>';
                        if(
$block_desc_front!='')
                            
$output.='<div class="ifb-flip-box-section-content ult-responsive" '.$data_list_desc.' style="'.esc_attr($desc_style).esc_attr($front_text). esc_attr($frontd_text).'"><p>'.$block_desc_front.'</p></div>';
                    
$output.='</div></div><!-- END .front -->
                        <div class="ifb-face ifb-back" style="'
.esc_attr($b_style).' '.esc_attr($box_border).' '.esc_attr($border_back).' '.esc_attr($box_border_radius).'">
                            <div class="ifb-flip-box-section '
.esc_attr($verticalcont).'">';
                            if(
$block_title_back!='')
                                
$output.='<'.$back_heading_tag.' class="ult-responsive flipbox_heading" '.$data_list.' style="'.esc_attr($back_text).' '.esc_attr($title_style).'">'.$block_title_back.'</'.$back_heading_tag.'>';
                            if(
$block_desc_back!=''){
                                if(
$button_link !== ''){
                                    
$output .= '<div class="ifb-desc-back">';
                                }
                                
$output.='<div class="ifb-flip-box-section-content ult-responsive" '.$data_list_desc.' style="'.esc_attr($desc_style).esc_attr($back_text) . esc_attr($backd_text).'"><p>'.$block_desc_back.'</p></div>';
                                if(
$button_link !== ''){
                                    
$output .= '</div>';
                                }
                            }
                            if(
$button_text!== '' && $custom_link){
                                
$link_prefix '<div class="flip_link">';
                                if(
$button_bg !== '' && $button_txt !== '')
                                    
$link_style 'style="background:'.esc_attr($button_bg).'; color:'.esc_attr($button_txt).';"';
                                if(
$button_link!== ''){
                                    
$href vc_build_link($button_link);

                                    
$url             = ( isset( $href['url'] ) && $href['url'] !== '' ) ? $href['url']  : '';
                                    
$target         = ( isset( $href['target'] ) && $href['target'] !== '' ) ? esc_attrtrim$href['target'] ) ) : '';
                                    
$link_title     = ( isset( $href['title'] ) && $href['title'] !== '' ) ? esc_attr($href['title']) : '';
                                    
$rel             = ( isset( $href['rel'] ) && $href['rel'] !== '' ) ? esc_attr($href['rel']) : '';

                                    
$link_prefix .= '<a 'Ultimate_VC_Addons::uavc_link_init($url$target$link_title$rel ).' '.$link_style.'>';
                                    
$link_sufix .= '</a>';

                                }
                                
$link_sufix .= '</div>';
                                
$output.=$link_prefix.$button_text.$link_sufix;
                            }
                        
$output.='</div></div><!-- END .back -->';
                    
$output .= '</div> <!-- ifb-flip-box -->';
                
$output .= '</div> <!-- flip-box -->';
            
$output .='</div><!-- End icon block -->';
            
$is_preset false//Retrieve preset Code
            
if(isset($_GET['preset'])) {
                
$is_preset true;
            }
            if(
$is_preset) {
                
$text 'array ( ';
                foreach (
$atts as $key => $att) {
                    
$text .= '<br/>    \''.$key.'\' => \''.$att.'\',';
                }
                if(
$content != '') {
                    
$text .= '<br/>    \'content\' => \''.$content.'\',';
                }
                
$text .= '<br/>)';
                
$output .= '<pre>';
                
$output .= $text;
                
$output .= '</pre>'// remove backslash once copied
            
}
            return 
$output;
        }
        function 
flip_box_scripts() {
            
            
Ultimate_VC_Addons::ultimate_register_script'flip_box_js''flip-box'false, array( 'jquery' ), ULTIMATE_VERSIONtrue );

            
Ultimate_VC_Addons::ultimate_register_style'ult-flip-style''flip-box' );
        }
    }
    
//instantiate the class
    
new AIO_Flip_Box;
    if(
class_exists('WPBakeryShortCode') && !class_exists('WPBakeryShortCode_icon_counter'))
    {
        class 
WPBakeryShortCode_icon_counter extends WPBakeryShortCode {
        }
    }
}
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586