C:\xampp\htdocs\landing\wp-content\plugins\penci-framework\widgets\widgets.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
<?php

require PENCI_ADDONS_DIR 'widgets/widget-custom-html.php';
require 
PENCI_ADDONS_DIR 'widgets/general-fields.php';

add_action'widgets_init''penci_register_widgets' );
/**
 * Register widgets
 */
function penci_register_widgets()
{

    
register_widget'Penci_Widget_Custom_HTML' );
    
// Visual Composer Addons
    
if ( ! defined'WPB_VC_VERSION' ) ) {
        return;
    }

    
$disable_shortcode get_theme_mod'pennews_shortcode_manage' );
    
$disable_shortcode $disable_shortcode ? (array) $disable_shortcode : array();

    if ( ! 
in_array'block_6'$disable_shortcode ) ) {
        
register_widget'Penci_Widget_Block_6' );
    }
    if ( ! 
in_array'block_7'$disable_shortcode ) ) {
        
register_widget'Penci_Widget_Block_7' );
    }
    if ( ! 
in_array'block_10'$disable_shortcode ) ) {
        
register_widget'Penci_Widget_Block_10' );
    }
    if ( ! 
in_array'block_11'$disable_shortcode ) ) {
        
register_widget'Penci_Widget_Block_11' );
    }
    if ( ! 
in_array'block_15'$disable_shortcode ) ) {
        
register_widget'Penci_Widget_Block_15' );
    }
    if ( ! 
in_array'block_16'$disable_shortcode ) ) {
        
register_widget'Penci_Widget_Block_16' );
    }
    if ( ! 
in_array'block_23'$disable_shortcode ) ) {
        
register_widget'Penci_Widget_Block_23' );
    }
    if ( ! 
in_array'block_25'$disable_shortcode ) ) {
        
register_widget'Penci_Widget_Block_25' );
    }
    if ( ! 
in_array'social_counter'$disable_shortcode ) ) {
        
register_widget'Penci_Widget_Social_Counter' );
    }
    if ( ! 
in_array'ad_box'$disable_shortcode ) ) {
        
register_widget'Penci_Widget_Ad_Box' );
    }
    if ( ! 
in_array'authors_box'$disable_shortcode ) ) {
        
register_widget'Penci_Widget_Authors_Box' );
    }
    if ( ! 
in_array'popular_category'$disable_shortcode ) ) {
        
register_widget'Penci_WidgetPopular_Categories' );
    }
    if ( ! 
in_array'pinterest'$disable_shortcode ) ) {
        
register_widget'Penci_Widget_Pinterest' );
    }
    if ( ! 
in_array'latest_tweets'$disable_shortcode ) ) {
        
register_widget'Penci_Widget_Latest_Tweets' );
    }
    if ( ! 
in_array'facebook_page'$disable_shortcode ) ) {
        
register_widget'Penci_Widget_Facebook_Page' );
    }
    if ( ! 
in_array'about_us'$disable_shortcode ) ) {
        
register_widget'Penci_Widget_About_Us' );
    }
    if ( ! 
in_array'videos_playlist'$disable_shortcode ) ) {
        
register_widget'Penci_Widget_Videos_Playlist' );
    }
    if ( ! 
in_array'weather'$disable_shortcode ) ) {
        
register_widget'Penci_Widget_Weather' );
    }
    if ( ! 
in_array'login_form'$disable_shortcode ) ) {
        
register_widget'Penci_Widget_Login_Form' );
    }

    if( 
class_exists'Penci_Reivew_Template' ) && ! in_array'recent_review'$disable_shortcode ) ){
        
register_widget'Penci_Widget_Recent_Reviews' );
    }

}

class 
Penci_Widget_Login_Form extends Penci_Framework_Widget {
    var 
$block_id 'login_form';
}

class 
Penci_Widget_Videos_Playlist extends Penci_Framework_Widget {
    var 
$block_id 'videos_playlist';
}

class 
Penci_Widget_Weather extends Penci_Framework_Widget {
    var 
$block_id 'weather';
}

class 
Penci_Widget_About_Us extends Penci_Framework_Widget {
    var 
$block_id 'about_us';
}

class 
Penci_Widget_Block_6 extends Penci_Framework_Widget {
    var 
$block_id 'block_6';
}

class 
Penci_Widget_Block_7 extends Penci_Framework_Widget {
    var 
$block_id 'block_7';
}

class 
Penci_Widget_Block_10 extends Penci_Framework_Widget {
    var 
$block_id 'block_10';
}

class 
Penci_Widget_Block_11 extends Penci_Framework_Widget {
    var 
$block_id 'block_11';
}

class 
Penci_Widget_Block_15 extends Penci_Framework_Widget {
    var 
$block_id 'block_15';
}
class 
Penci_Widget_Block_16 extends Penci_Framework_Widget {
    var 
$block_id 'block_16';
}

class 
Penci_Widget_Block_23 extends Penci_Framework_Widget {
    var 
$block_id 'block_23';
}

class 
Penci_Widget_Block_25 extends Penci_Framework_Widget {
    var 
$block_id 'block_25';
}

class 
Penci_Widget_Social_Counter extends Penci_Framework_Widget {
    var 
$block_id 'social_counter';
}

class 
Penci_Widget_Ad_Box extends Penci_Framework_Widget {
    var 
$block_id 'ad_box';
}

class 
Penci_Widget_Authors_Box extends Penci_Framework_Widget {
    var 
$block_id 'authors_box';
}

class 
Penci_WidgetPopular_Categories extends Penci_Framework_Widget {
    var 
$block_id 'popular_category';
}

class 
Penci_Widget_Pinterest extends Penci_Framework_Widget {
    var 
$block_id 'pinterest';
}
class 
Penci_Widget_Latest_Tweets extends Penci_Framework_Widget {
    var 
$block_id 'latest_tweets';
}
class 
Penci_Widget_Facebook_Page extends Penci_Framework_Widget {
    var 
$block_id 'facebook_page';
}

class 
Penci_Widget_Recent_Reviews extends Penci_Framework_Widget {
    var 
$block_id 'recent_review';
}

x

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