Photo Gallery by WD – Responsive Photo Gallery - Version 1.0.1

Version Description

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Photo Gallery by WD – Responsive Photo Gallery
Version 1.0.1
Comparing to
See all releases

Version 1.0.1

Files changed (52) hide show
  1. admin/controllers/BWGControllerAddAlbumsGalleries.php +43 -0
  2. admin/controllers/BWGControllerAddTags.php +43 -0
  3. admin/controllers/BWGControllerAlbums_bwg.php +343 -0
  4. admin/controllers/BWGControllerBWGShortcode.php +43 -0
  5. admin/controllers/BWGControllerEditThumb.php +45 -0
  6. admin/controllers/BWGControllerFeatured_plugins_bwg.php +49 -0
  7. admin/controllers/BWGControllerGalleries_bwg.php +794 -0
  8. admin/controllers/BWGControllerLicensing_bwg.php +49 -0
  9. admin/controllers/BWGControllerOptions_bwg.php +264 -0
  10. admin/controllers/BWGControllerTags_bwg.php +229 -0
  11. admin/controllers/BWGControllerThemes_bwg.php +1443 -0
  12. admin/controllers/BWGControllerUninstall_bwg.php +57 -0
  13. admin/controllers/BWGControllerWidget.php +68 -0
  14. admin/controllers/BWGControllerWidgetSlideshow.php +67 -0
  15. admin/models/BWGModelAddAlbumsGalleries.php +62 -0
  16. admin/models/BWGModelAddTags.php +62 -0
  17. admin/models/BWGModelAlbums_bwg.php +104 -0
  18. admin/models/BWGModelBWGShortcode.php +59 -0
  19. admin/models/BWGModelEditThumb.php +42 -0
  20. admin/models/BWGModelFeatured_plugins_bwg.php +30 -0
  21. admin/models/BWGModelGalleries_bwg.php +148 -0
  22. admin/models/BWGModelLicensing_bwg.php +30 -0
  23. admin/models/BWGModelOptions_bwg.php +127 -0
  24. admin/models/BWGModelTags_bwg.php +68 -0
  25. admin/models/BWGModelThemes_bwg.php +404 -0
  26. admin/models/BWGModelUninstall_bwg.php +68 -0
  27. admin/models/BWGModelWidget.php +52 -0
  28. admin/models/BWGModelWidgetSlideshow.php +45 -0
  29. admin/views/BWGViewAddAlbumsGalleries.php +118 -0
  30. admin/views/BWGViewAddTags.php +109 -0
  31. admin/views/BWGViewAlbums_bwg.php +385 -0
  32. admin/views/BWGViewBWGShortcode.php +1104 -0
  33. admin/views/BWGViewEditThumb.php +537 -0
  34. admin/views/BWGViewFeatured_plugins_bwg.php +158 -0
  35. admin/views/BWGViewGalleries_bwg.php +754 -0
  36. admin/views/BWGViewLicensing_bwg.php +200 -0
  37. admin/views/BWGViewOptions_bwg.php +1067 -0
  38. admin/views/BWGViewTags_bwg.php +186 -0
  39. admin/views/BWGViewThemes_bwg.php +2893 -0
  40. admin/views/BWGViewUninstall_bwg.php +123 -0
  41. admin/views/BWGViewWidget.php +172 -0
  42. admin/views/BWGViewWidgetSlideshow.php +156 -0
  43. css/bwg_featured_plugins.css +79 -0
  44. css/bwg_frontend.css +135 -0
  45. css/bwg_licensing.css +54 -0
  46. css/bwg_shortcode.css +51 -0
  47. css/bwg_tables.css +460 -0
  48. css/font-awesome-4.0.1/css/font-awesome.css +1361 -0
  49. css/font-awesome-4.0.1/css/font-awesome.min.css +395 -0
  50. css/font-awesome-4.0.1/fonts/FontAwesome.otf +0 -0
  51. css/font-awesome-4.0.1/fonts/fontawesome-webfont.eot +0 -0
  52. css/font-awesome-4.0.1/fonts/fontawesome-webfont.svg +326 -0
admin/controllers/BWGControllerAddAlbumsGalleries.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGControllerAddAlbumsGalleries {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ public function execute() {
22
+ $this->display();
23
+ }
24
+
25
+ public function display() {
26
+ require_once WD_BWG_DIR . "/admin/models/BWGModelAddAlbumsGalleries.php";
27
+ $model = new BWGModelAddAlbumsGalleries();
28
+
29
+ require_once WD_BWG_DIR . "/admin/views/BWGViewAddAlbumsGalleries.php";
30
+ $view = new BWGViewAddAlbumsGalleries($model);
31
+ $view->display();
32
+ }
33
+
34
+ ////////////////////////////////////////////////////////////////////////////////////////
35
+ // Getters & Setters //
36
+ ////////////////////////////////////////////////////////////////////////////////////////
37
+ ////////////////////////////////////////////////////////////////////////////////////////
38
+ // Private Methods //
39
+ ////////////////////////////////////////////////////////////////////////////////////////
40
+ ////////////////////////////////////////////////////////////////////////////////////////
41
+ // Listeners //
42
+ ////////////////////////////////////////////////////////////////////////////////////////
43
+ }
admin/controllers/BWGControllerAddTags.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGControllerAddTags {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ public function execute() {
22
+ $this->display();
23
+ }
24
+
25
+ public function display() {
26
+ require_once WD_BWG_DIR . "/admin/models/BWGModelAddTags.php";
27
+ $model = new BWGModelAddTags();
28
+
29
+ require_once WD_BWG_DIR . "/admin/views/BWGViewAddTags.php";
30
+ $view = new BWGViewAddTags($model);
31
+ $view->display();
32
+ }
33
+
34
+ ////////////////////////////////////////////////////////////////////////////////////////
35
+ // Getters & Setters //
36
+ ////////////////////////////////////////////////////////////////////////////////////////
37
+ ////////////////////////////////////////////////////////////////////////////////////////
38
+ // Private Methods //
39
+ ////////////////////////////////////////////////////////////////////////////////////////
40
+ ////////////////////////////////////////////////////////////////////////////////////////
41
+ // Listeners //
42
+ ////////////////////////////////////////////////////////////////////////////////////////
43
+ }
admin/controllers/BWGControllerAlbums_bwg.php ADDED
@@ -0,0 +1,343 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGControllerAlbums_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ public function execute() {
22
+ $task = ((isset($_POST['task'])) ? esc_html(stripslashes($_POST['task'])) : '');
23
+ $id = ((isset($_POST['current_id'])) ? esc_html(stripslashes($_POST['current_id'])) : 0);
24
+ if (method_exists($this, $task)) {
25
+ $this->$task($id);
26
+ }
27
+ else {
28
+ $this->display();
29
+ }
30
+ }
31
+
32
+ public function display() {
33
+ require_once WD_BWG_DIR . "/admin/models/BWGModelAlbums_bwg.php";
34
+ $model = new BWGModelAlbums_bwg();
35
+
36
+ require_once WD_BWG_DIR . "/admin/views/BWGViewAlbums_bwg.php";
37
+ $view = new BWGViewAlbums_bwg($model);
38
+ $view->display();
39
+ }
40
+
41
+ public function add() {
42
+ require_once WD_BWG_DIR . "/admin/models/BWGModelAlbums_bwg.php";
43
+ $model = new BWGModelAlbums_bwg();
44
+
45
+ require_once WD_BWG_DIR . "/admin/views/BWGViewAlbums_bwg.php";
46
+ $view = new BWGViewAlbums_bwg($model);
47
+ $view->edit(0);
48
+ }
49
+
50
+ public function edit() {
51
+ require_once WD_BWG_DIR . "/admin/models/BWGModelAlbums_bwg.php";
52
+ $model = new BWGModelAlbums_bwg();
53
+
54
+ require_once WD_BWG_DIR . "/admin/views/BWGViewAlbums_bwg.php";
55
+ $view = new BWGViewAlbums_bwg($model);
56
+ $id = ((isset($_POST['current_id']) && esc_html(stripslashes($_POST['current_id'])) != '') ? esc_html(stripslashes($_POST['current_id'])) : 0);
57
+ $view->edit($id);
58
+ }
59
+
60
+ public function save() {
61
+ $this->save_db();
62
+ $this->display();
63
+ }
64
+
65
+ public function apply() {
66
+ $this->save_db();
67
+ global $wpdb;
68
+ if (!isset($_POST['current_id']) || esc_html(stripslashes($_POST['current_id'])) == '' || esc_html(stripslashes($_POST['current_id'])) == 0) {
69
+ $_POST['current_id'] = (int) $wpdb->get_var('SELECT MAX(`id`) FROM ' . $wpdb->prefix . 'bwg_album');
70
+ }
71
+ $this->edit();
72
+ }
73
+
74
+ // Return random image from gallery or album for album preview.
75
+ public function get_image_for_album($album_id) {
76
+ global $wpdb;
77
+ $preview_image = '';
78
+ $gallery_row = $wpdb->get_row($wpdb->prepare("SELECT t1.preview_image,t1.random_preview_image FROM " . $wpdb->prefix . "bwg_gallery as t1 INNER JOIN " . $wpdb->prefix . "bwg_album_gallery as t2 on t1.id=t2.alb_gal_id WHERE t2.is_album=0 AND t2.album_id='%d' AND (t1.preview_image<>'' OR t1.random_preview_image<>'') ORDER BY rand() limit 1", $album_id));
79
+ if ($gallery_row) {
80
+ $preview_image = (($gallery_row->preview_image) ? $gallery_row->preview_image : $gallery_row->random_preview_image);
81
+ }
82
+ if (!$preview_image) {
83
+ $album_row = $wpdb->get_row($wpdb->prepare("SELECT t1.preview_image,t1.random_preview_image FROM " . $wpdb->prefix . "bwg_album as t1 INNER JOIN " . $wpdb->prefix . "bwg_album_gallery as t2 on t1.id=t2.alb_gal_id WHERE t2.is_album=1 AND t2.album_id='%d' AND (t1.preview_image<>'' OR t1.random_preview_image<>'') ORDER BY rand() limit 1", $album_id));
84
+ if ($album_row) {
85
+ $preview_image = (($album_row->preview_image) ? $album_row->preview_image : $album_row->random_preview_image);
86
+ }
87
+ }
88
+ return $preview_image;
89
+ }
90
+
91
+ public function bwg_get_unique_slug($slug, $id) {
92
+ global $wpdb;
93
+ $slug = sanitize_title($slug);
94
+ if ($id != 0) {
95
+ $query = $wpdb->prepare("SELECT slug FROM " . $wpdb->prefix . "bwg_album WHERE slug = %s AND id != %d", $slug, $id);
96
+ }
97
+ else {
98
+ $query = $wpdb->prepare("SELECT slug FROM " . $wpdb->prefix . "bwg_album WHERE slug = %s", $slug);
99
+ }
100
+ if ($wpdb->get_var($query)) {
101
+ $num = 2;
102
+ do {
103
+ $alt_slug = $slug . "-$num";
104
+ $num++;
105
+ $slug_check = $wpdb->get_var($wpdb->prepare("SELECT slug FROM " . $wpdb->prefix . "bwg_album WHERE slug = %s", $alt_slug));
106
+ } while ($slug_check);
107
+ $slug = $alt_slug;
108
+ }
109
+ return $slug;
110
+ }
111
+
112
+ public function bwg_get_unique_name($name, $id) {
113
+ global $wpdb;
114
+ if ($id != 0) {
115
+ $query = $wpdb->prepare("SELECT name FROM " . $wpdb->prefix . "bwg_album WHERE name = %s AND id != %d", $name, $id);
116
+ }
117
+ else {
118
+ $query = $wpdb->prepare("SELECT name FROM " . $wpdb->prefix . "bwg_album WHERE name = %s", $name);
119
+ }
120
+ if ($wpdb->get_var($query)) {
121
+ $num = 2;
122
+ do {
123
+ $alt_name = $name . "-$num";
124
+ $num++;
125
+ $slug_check = $wpdb->get_var($wpdb->prepare("SELECT name FROM " . $wpdb->prefix . "bwg_album WHERE name = %s", $alt_name));
126
+ } while ($slug_check);
127
+ $name = $alt_name;
128
+ }
129
+ return $name;
130
+ }
131
+
132
+ public function save_db() {
133
+ global $wpdb;
134
+ $id = (isset($_POST['current_id']) ? (int) $_POST['current_id'] : 0);
135
+ $name = ((isset($_POST['name'])) ? esc_html(stripslashes($_POST['name'])) : '');
136
+ $name = $this->bwg_get_unique_name($name, $id);
137
+ $slug = ((isset($_POST['slug']) && esc_html(stripslashes($_POST['slug'])) != '') ? esc_html(stripslashes($_POST['slug'])) : $name);
138
+ $slug = $this->bwg_get_unique_slug($slug, $id);
139
+ $description = (isset($_POST['description']) ? stripslashes($_POST['description']) : '');
140
+ $preview_image = ((isset($_POST['preview_image']) && esc_html(stripslashes($_POST['preview_image'])) != '') ? esc_html(stripslashes($_POST['preview_image'])) : '');
141
+ $order = ((isset($_POST['order']) && esc_html(stripslashes($_POST['order'])) != '') ? esc_html(stripslashes($_POST['order'])) : '');
142
+ $author = (isset($_POST['author']) ? (int) $_POST['author'] : 1);
143
+ $published = ((isset($_POST['published']) && esc_html(stripslashes($_POST['published'])) != '') ? esc_html(stripslashes($_POST['published'])) : '');
144
+ $albums_galleries = (isset($_POST['albums_galleries']) ? esc_html(stripslashes($_POST['albums_galleries'])) : '');
145
+ if ($id != 0) {
146
+ $random_preview_image = (($preview_image == '') ? $this->get_image_for_album($id) : '');
147
+ $save = $wpdb->update($wpdb->prefix . 'bwg_album', array(
148
+ 'name' => $name,
149
+ 'slug' => $slug,
150
+ 'description' => $description,
151
+ 'preview_image' => $preview_image,
152
+ 'author' => $author,
153
+ 'published' => $published), array('id' => $id));
154
+ }
155
+ else {
156
+ $save = $wpdb->insert($wpdb->prefix . 'bwg_album', array(
157
+ 'name' => $name,
158
+ 'slug' => $slug,
159
+ 'description' => $description,
160
+ 'preview_image' => $preview_image,
161
+ 'random_preview_image' => '',
162
+ 'order' => $order,
163
+ 'author' => $author,
164
+ 'published' => $published
165
+ ), array(
166
+ '%s',
167
+ '%s',
168
+ '%s',
169
+ '%s',
170
+ '%s',
171
+ '%d',
172
+ '%d',
173
+ '%d'
174
+ ));
175
+ $id = $wpdb->get_var('SELECT MAX(`id`) FROM ' . $wpdb->prefix . 'bwg_album');
176
+ }
177
+ $this->save_alb_gal($id, $albums_galleries);
178
+ // Set random image.
179
+ $random_preview_image = (($preview_image == '') ? $this->get_image_for_album($id) : '');
180
+ $wpdb->update($wpdb->prefix . 'bwg_album', array('random_preview_image' => $random_preview_image), array('id' => $id));
181
+ if ($save !== FALSE) {
182
+ echo WDWLibrary::message('Item Succesfully Saved.', 'updated');
183
+ }
184
+ else {
185
+ echo WDWLibrary::message('Error. Please install plugin again.', 'error');
186
+ }
187
+ }
188
+
189
+ public function save_alb_gal($id, $alb_gal_str) {
190
+ global $wpdb;
191
+ $query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_album_gallery WHERE album_id="%d"', $id);
192
+ $wpdb->query($query);
193
+ $alb_gals = explode(",", $alb_gal_str);
194
+ for ($i = 0; $i < count($alb_gals); $i++) {
195
+ $params = explode(":", $alb_gals[$i]);
196
+ if (count($params) == 3) {
197
+ $save = $wpdb->insert($wpdb->prefix . 'bwg_album_gallery', array(
198
+ 'album_id' => $id,
199
+ 'is_album' => $params[1],
200
+ 'alb_gal_id' => $params[2],
201
+ 'order' => $i+1
202
+ ), array(
203
+ '%d',
204
+ '%d',
205
+ '%d',
206
+ '%d'
207
+ ));
208
+ }
209
+ }
210
+ }
211
+
212
+ public function delete($id) {
213
+ global $wpdb;
214
+ $query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_album WHERE id="%d"', $id);
215
+ $query_gal = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_album_gallery WHERE id="%d" OR (is_album AND alb_gal_id="%d")', $id, $id);
216
+ if ($wpdb->query($query)) {
217
+ $wpdb->query($query_gal);
218
+ echo WDWLibrary::message('Item Succesfully Deleted.', 'updated');
219
+ }
220
+ else {
221
+ echo WDWLibrary::message('Error. Please install plugin again.', 'error');
222
+ }
223
+ $this->display();
224
+ }
225
+
226
+ public function delete_all() {
227
+ global $wpdb;
228
+ $flag = FALSE;
229
+ $album_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'bwg_album');
230
+ foreach ($album_ids_col as $album_id) {
231
+ if (isset($_POST['check_' . $album_id])) {
232
+ $flag = TRUE;
233
+ $query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_album WHERE id="%d"', $album_id);
234
+ $query_gal = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_album_gallery WHERE id="%d" OR (is_album AND alb_gal_id="%d")', $album_id, $album_id);
235
+ $wpdb->query($query);
236
+ $wpdb->query($query_gal);
237
+ }
238
+ }
239
+ if ($flag) {
240
+ echo WDWLibrary::message('Items Succesfully Deleted.', 'updated');
241
+ }
242
+ else {
243
+ echo WDWLibrary::message('You must select at least one item.', 'error');
244
+ }
245
+ $this->display();
246
+ }
247
+
248
+ public function publish($id) {
249
+ global $wpdb;
250
+ $save = $wpdb->update($wpdb->prefix . 'bwg_album', array('published' => 1), array('id' => $id));
251
+ if ($save !== FALSE) {
252
+ echo WDWLibrary::message('Item Succesfully Published.', 'updated');
253
+ }
254
+ else {
255
+ echo WDWLibrary::message('Error. Please install plugin again.', 'error');
256
+ }
257
+ $this->display();
258
+ }
259
+
260
+ public function publish_all() {
261
+ global $wpdb;
262
+ $flag = FALSE;
263
+ $alum_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'bwg_album');
264
+ foreach ($alum_ids_col as $album_id) {
265
+ if (isset($_POST['check_' . $album_id])) {
266
+ $flag = TRUE;
267
+ $wpdb->update($wpdb->prefix . 'bwg_album', array('published' => 1), array('id' => $album_id));
268
+ }
269
+ }
270
+ if ($flag) {
271
+ echo WDWLibrary::message('Items Succesfully Published.', 'updated');
272
+ }
273
+ else {
274
+ echo WDWLibrary::message('You must select at least one item.', 'error');
275
+ }
276
+ $this->display();
277
+ }
278
+
279
+ public function unpublish($id) {
280
+ global $wpdb;
281
+ $save = $wpdb->update($wpdb->prefix . 'bwg_album', array('published' => 0), array('id' => $id));
282
+ if ($save !== FALSE) {
283
+ echo WDWLibrary::message('Item Succesfully Unpublished.', 'updated');
284
+ }
285
+ else {
286
+ echo WDWLibrary::message('Error. Please install plugin again.', 'error');
287
+ }
288
+ $this->display();
289
+ }
290
+
291
+ public function unpublish_all() {
292
+ global $wpdb;
293
+ $flag = FALSE;
294
+ $album_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'bwg_album');
295
+ foreach ($album_ids_col as $album_id) {
296
+ if (isset($_POST['check_' . $album_id])) {
297
+ $flag = TRUE;
298
+ $wpdb->update($wpdb->prefix . 'bwg_album', array('published' => 0), array('id' => $album_id));
299
+ }
300
+ }
301
+ if ($flag) {
302
+ echo WDWLibrary::message('Items Succesfully Unpublished.', 'updated');
303
+ }
304
+ else {
305
+ echo WDWLibrary::message('You must select at least one item.', 'error');
306
+ }
307
+ $this->display();
308
+ }
309
+
310
+ public function save_order($flag = TRUE) {
311
+ global $wpdb;
312
+ $album_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'bwg_album');
313
+ if ($album_ids_col) {
314
+ foreach ($album_ids_col as $album_id) {
315
+ if (isset($_POST['order_input_' . $album_id])) {
316
+ $order_values[$album_id] = (int) $_POST['order_input_' . $album_id];
317
+ }
318
+ else {
319
+ $order_values[$album_id] = (int) $wpdb->get_var($wpdb->prepare('SELECT `order` FROM ' . $wpdb->prefix . 'bwg_album WHERE `id`="%d"', $album_id));
320
+ }
321
+ }
322
+ asort($order_values);
323
+ $i = 1;
324
+ foreach ($order_values as $key => $order_value) {
325
+ $wpdb->update($wpdb->prefix . 'bwg_album', array('order' => $i), array('id' => $key));
326
+ $i++;
327
+ }
328
+ if ($flag) {
329
+ echo WDWLibrary::message('Ordering Succesfully Saved.', 'updated');
330
+ }
331
+ }
332
+ $this->display();
333
+ }
334
+ ////////////////////////////////////////////////////////////////////////////////////////
335
+ // Getters & Setters //
336
+ ////////////////////////////////////////////////////////////////////////////////////////
337
+ ////////////////////////////////////////////////////////////////////////////////////////
338
+ // Private Methods //
339
+ ////////////////////////////////////////////////////////////////////////////////////////
340
+ ////////////////////////////////////////////////////////////////////////////////////////
341
+ // Listeners //
342
+ ////////////////////////////////////////////////////////////////////////////////////////
343
+ }
admin/controllers/BWGControllerBWGShortcode.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGControllerBWGShortcode {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ public function execute() {
22
+ $this->display();
23
+ }
24
+
25
+ public function display() {
26
+ require_once WD_BWG_DIR . "/admin/models/BWGModelBWGShortcode.php";
27
+ $model = new BWGModelBWGShortcode();
28
+
29
+ require_once WD_BWG_DIR . "/admin/views/BWGViewBWGShortcode.php";
30
+ $view = new BWGViewBWGShortcode($model);
31
+ $view->display();
32
+ }
33
+
34
+ ////////////////////////////////////////////////////////////////////////////////////////
35
+ // Getters & Setters //
36
+ ////////////////////////////////////////////////////////////////////////////////////////
37
+ ////////////////////////////////////////////////////////////////////////////////////////
38
+ // Private Methods //
39
+ ////////////////////////////////////////////////////////////////////////////////////////
40
+ ////////////////////////////////////////////////////////////////////////////////////////
41
+ // Listeners //
42
+ ////////////////////////////////////////////////////////////////////////////////////////
43
+ }
admin/controllers/BWGControllerEditThumb.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGControllerEditThumb {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ public function execute() {
22
+ $type = (isset($_GET['type']) ? esc_html($_GET['type']) : 'display');
23
+ $edit_type = (isset($_GET['edit_type']) ? esc_html($_GET['edit_type']) : '');
24
+ $image_id = (isset($_GET['image_id']) ? esc_html($_GET['image_id']) : 0);
25
+ $this->display($type);
26
+ }
27
+
28
+ public function display($type) {
29
+ require_once WD_BWG_DIR . "/admin/models/BWGModelEditThumb.php";
30
+ $model = new BWGModelEditThumb();
31
+ require_once WD_BWG_DIR . "/admin/views/BWGViewEditThumb.php";
32
+ $view = new BWGViewEditThumb($model);
33
+ $view->$type();
34
+ }
35
+
36
+ ////////////////////////////////////////////////////////////////////////////////////////
37
+ // Getters & Setters //
38
+ ////////////////////////////////////////////////////////////////////////////////////////
39
+ ////////////////////////////////////////////////////////////////////////////////////////
40
+ // Private Methods //
41
+ ////////////////////////////////////////////////////////////////////////////////////////
42
+ ////////////////////////////////////////////////////////////////////////////////////////
43
+ // Listeners //
44
+ ////////////////////////////////////////////////////////////////////////////////////////
45
+ }
admin/controllers/BWGControllerFeatured_plugins_bwg.php ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGControllerFeatured_plugins_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ public function execute() {
22
+ $task = ((isset($_POST['task'])) ? esc_html(stripslashes($_POST['task'])) : '');
23
+ if (method_exists($this, $task)) {
24
+ $this->$task($id);
25
+ }
26
+ else {
27
+ $this->display();
28
+ }
29
+ }
30
+
31
+ public function display() {
32
+ require_once WD_BWG_DIR . "/admin/models/BWGModelFeatured_plugins_bwg.php";
33
+ $model = new BWGModelFeatured_plugins_bwg();
34
+
35
+ require_once WD_BWG_DIR . "/admin/views/BWGViewFeatured_plugins_bwg.php";
36
+ $view = new BWGViewFeatured_plugins_bwg($model);
37
+ $view->display();
38
+ }
39
+
40
+ ////////////////////////////////////////////////////////////////////////////////////////
41
+ // Getters & Setters //
42
+ ////////////////////////////////////////////////////////////////////////////////////////
43
+ ////////////////////////////////////////////////////////////////////////////////////////
44
+ // Private Methods //
45
+ ////////////////////////////////////////////////////////////////////////////////////////
46
+ ////////////////////////////////////////////////////////////////////////////////////////
47
+ // Listeners //
48
+ ////////////////////////////////////////////////////////////////////////////////////////
49
+ }
admin/controllers/BWGControllerGalleries_bwg.php ADDED
@@ -0,0 +1,794 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGControllerGalleries_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ public function execute() {
22
+ $task = ((isset($_POST['task'])) ? esc_html(stripslashes($_POST['task'])) : '');
23
+ $id = ((isset($_POST['current_id'])) ? esc_html(stripslashes($_POST['current_id'])) : 0);
24
+ if (method_exists($this, $task)) {
25
+ $this->$task($id);
26
+ }
27
+ else {
28
+ $this->display();
29
+ }
30
+ }
31
+
32
+ public function display() {
33
+ require_once WD_BWG_DIR . "/admin/models/BWGModelGalleries_bwg.php";
34
+ $model = new BWGModelGalleries_bwg();
35
+
36
+ require_once WD_BWG_DIR . "/admin/views/BWGViewGalleries_bwg.php";
37
+ $view = new BWGViewGalleries_bwg($model);
38
+ $this->delete_unknown_images();
39
+ $view->display();
40
+ }
41
+
42
+ public function add() {
43
+ require_once WD_BWG_DIR . "/admin/models/BWGModelGalleries_bwg.php";
44
+ $model = new BWGModelGalleries_bwg();
45
+
46
+ require_once WD_BWG_DIR . "/admin/views/BWGViewGalleries_bwg.php";
47
+ $view = new BWGViewGalleries_bwg($model);
48
+ $view->edit(0);
49
+ }
50
+
51
+ public function edit() {
52
+ require_once WD_BWG_DIR . "/admin/models/BWGModelGalleries_bwg.php";
53
+ $model = new BWGModelGalleries_bwg();
54
+
55
+ require_once WD_BWG_DIR . "/admin/views/BWGViewGalleries_bwg.php";
56
+ $view = new BWGViewGalleries_bwg($model);
57
+ $id = ((isset($_POST['current_id']) && esc_html(stripslashes($_POST['current_id'])) != '') ? esc_html(stripslashes($_POST['current_id'])) : 0);
58
+ $view->edit($id);
59
+ }
60
+
61
+ public function save_images() {
62
+ $this->save_db();
63
+ global $wpdb;
64
+ if (!isset($_POST['current_id']) || (esc_html(stripslashes($_POST['current_id'])) == 0) || (esc_html(stripslashes($_POST['current_id'])) == '')) {
65
+ $_POST['current_id'] = (int) $wpdb->get_var('SELECT MAX(`id`) FROM ' . $wpdb->prefix . 'bwg_gallery');
66
+ }
67
+ $this->save_image_db();
68
+ $this->edit();
69
+ }
70
+
71
+ public function save_order_images() {
72
+ global $wpdb;
73
+ $imageids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'bwg_image');
74
+ if ($imageids_col) {
75
+ foreach ($imageids_col as $imageid) {
76
+ if (isset($_POST['order_input_' . $imageid])) {
77
+ $order_values[$imageid] = (int) $_POST['order_input_' . $imageid];
78
+ }
79
+ else {
80
+ $order_values[$imageid] = (int) $wpdb->get_var($wpdb->prepare('SELECT `order` FROM ' . $wpdb->prefix . 'bwg_image WHERE `id`="%d"', $imageid));
81
+ }
82
+ }
83
+ asort($order_values);
84
+ $i = 1;
85
+ foreach ($order_values as $key => $order_value) {
86
+ $wpdb->update($wpdb->prefix . 'bwg_image', array('order' => $i), array('id' => $key));
87
+ $i++;
88
+ }
89
+ }
90
+ }
91
+
92
+ public function ajax_search() {
93
+ $this->save_image_db();
94
+ $this->save_order_images();
95
+ if (isset($_POST['ajax_task']) && esc_html($_POST['ajax_task']) != '') {
96
+ $ajax_task = esc_html($_POST['ajax_task']);
97
+ $this->$ajax_task();
98
+ }
99
+ $this->edit();
100
+ }
101
+
102
+ public function recover() {
103
+ global $wpdb;
104
+ $id = ((isset($_POST['image_current_id'])) ? esc_html(stripslashes($_POST['image_current_id'])) : 0);
105
+ $options = $wpdb->get_row('SELECT * FROM ' . $wpdb->prefix . 'bwg_option WHERE id=1');
106
+ $thumb_width = $options->thumb_width;
107
+ $thumb_height = $options->thumb_height;
108
+ $this->recover_image($id, $thumb_width, $thumb_height);
109
+ }
110
+
111
+ public function image_recover_all() {
112
+ global $wpdb;
113
+ $options = $wpdb->get_row('SELECT * FROM ' . $wpdb->prefix . 'bwg_option WHERE id=1');
114
+ $thumb_width = $options->thumb_width;
115
+ $thumb_height = $options->thumb_height;
116
+ $gal_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'bwg_image');
117
+ foreach ($gal_ids_col as $gal_id) {
118
+ if (isset($_POST['check_' . $gal_id])) {
119
+ $this->recover_image($gal_id, $thumb_width, $thumb_height);
120
+ }
121
+ }
122
+ }
123
+
124
+ public function recover_image($id, $thumb_width, $thumb_height) {
125
+ global $WD_BWG_UPLOAD_DIR;
126
+ global $wpdb;
127
+ $image_data = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bwg_image WHERE id="%d"', $id));
128
+ $filename = ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->image_url;
129
+ $thumb_filename = ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->thumb_url;
130
+ copy(str_replace('/thumb/', '/.original/', ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->thumb_url), ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->image_url);
131
+ list($width_orig, $height_orig, $type_orig) = getimagesize($filename);
132
+ $percent = $width_orig / $thumb_width;
133
+ $thumb_height = $height_orig / $percent;
134
+
135
+ if ($type_orig == 2) {
136
+ $img_r = imagecreatefromjpeg($filename);
137
+ $dst_r = ImageCreateTrueColor($thumb_width, $thumb_height);
138
+ imagecopyresampled($dst_r, $img_r, 0, 0, 0, 0, $thumb_width, $thumb_height, $width_orig, $height_orig);
139
+ imagejpeg($dst_r, $thumb_filename, 100);
140
+ imagedestroy($img_r);
141
+ imagedestroy($dst_r);
142
+ }
143
+ elseif ($type_orig == 3) {
144
+ $img_r = imagecreatefrompng($filename);
145
+ $dst_r = ImageCreateTrueColor($thumb_width, $thumb_height);
146
+ imageColorAllocateAlpha($dst_r, 0, 0, 0, 127);
147
+ imagealphablending($dst_r, FALSE);
148
+ imagesavealpha($dst_r, TRUE);
149
+ imagecopyresampled($dst_r, $img_r, 0, 0, 0, 0, $thumb_width, $thumb_height, $width_orig, $height_orig);
150
+ imagealphablending($dst_r, FALSE);
151
+ imagesavealpha($dst_r, TRUE);
152
+ imagepng($dst_r, $thumb_filename, 9);
153
+ imagedestroy($img_r);
154
+ imagedestroy($dst_r);
155
+ }
156
+ elseif ($type_orig == 1) {
157
+ $img_r = imagecreatefromgif($filename);
158
+ $dst_r = ImageCreateTrueColor($thumb_width, $thumb_height);
159
+ imageColorAllocateAlpha($dst_r, 0, 0, 0, 127);
160
+ imagealphablending($dst_r, FALSE);
161
+ imagesavealpha($dst_r, TRUE);
162
+ imagecopyresampled($dst_r, $img_r, 0, 0, 0, 0, $thumb_width, $thumb_height, $width_orig, $height_orig);
163
+ imagealphablending($dst_r, FALSE);
164
+ imagesavealpha($dst_r, TRUE);
165
+ imagegif($dst_r, $thumb_filename);
166
+ imagedestroy($img_r);
167
+ imagedestroy($dst_r);
168
+ }
169
+ ?>
170
+ <script language="javascript">
171
+ var image_src = window.parent.document.getElementById("image_thumb_<?php echo $id; ?>").src;
172
+ document.getElementById("image_thumb_<?php echo $id; ?>").src = image_src + "?date=<?php echo date('Y-m-y H:i:s'); ?>";
173
+ </script>
174
+ <?php
175
+ }
176
+
177
+ public function image_publish() {
178
+ $id = ((isset($_POST['image_current_id'])) ? esc_html(stripslashes($_POST['image_current_id'])) : 0);
179
+ global $wpdb;
180
+ $save = $wpdb->update($wpdb->prefix . 'bwg_image', array('published' => 1), array('id' => $id));
181
+ }
182
+
183
+ public function image_publish_all() {
184
+ global $wpdb;
185
+ $gal_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'bwg_image');
186
+ foreach ($gal_ids_col as $gal_id) {
187
+ if (isset($_POST['check_' . $gal_id])) {
188
+ $wpdb->update($wpdb->prefix . 'bwg_image', array('published' => 1), array('id' => $gal_id));
189
+ }
190
+ }
191
+ }
192
+
193
+ public function image_unpublish() {
194
+ $id = ((isset($_POST['image_current_id'])) ? esc_html(stripslashes($_POST['image_current_id'])) : 0);
195
+ global $wpdb;
196
+ $save = $wpdb->update($wpdb->prefix . 'bwg_image', array('published' => 0), array('id' => $id));
197
+ }
198
+
199
+ public function image_unpublish_all() {
200
+ global $wpdb;
201
+ $gal_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'bwg_image');
202
+ foreach ($gal_ids_col as $gal_id) {
203
+ if (isset($_POST['check_' . $gal_id])) {
204
+ $wpdb->update($wpdb->prefix . 'bwg_image', array('published' => 0), array('id' => $gal_id));
205
+ }
206
+ }
207
+ }
208
+
209
+ public function image_delete() {
210
+ $id = ((isset($_POST['image_current_id'])) ? esc_html(stripslashes($_POST['image_current_id'])) : 0);
211
+ global $wpdb;
212
+ $wpdb->query($wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_image WHERE id="%d"', $id));
213
+ $wpdb->query($wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_image_comment WHERE image_id="%d"', $id));
214
+ $tag_ids = $wpdb->get_col($wpdb->prepare('SELECT tag_id FROM ' . $wpdb->prefix . 'bwg_image_tag WHERE image_id="%d"', $id));
215
+ $wpdb->query($wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_image_tag WHERE image_id="%d"', $id));
216
+ // Increase tag count in term_taxonomy table.
217
+ if ($tag_ids) {
218
+ foreach ($tag_ids as $tag_id) {
219
+ $wpdb->query($wpdb->prepare('UPDATE ' . $wpdb->prefix . 'term_taxonomy SET count="%d" WHERE term_id="%d"', $wpdb->get_var($wpdb->prepare('SELECT COUNT(image_id) FROM ' . $wpdb->prefix . 'bwg_image_tag WHERE tag_id="%d"', $tag_id)), $tag_id));
220
+ }
221
+ }
222
+ }
223
+
224
+ public function image_delete_all() {
225
+ global $wpdb;
226
+ $image_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'bwg_image');
227
+ foreach ($image_ids_col as $image_id) {
228
+ if (isset($_POST['check_' . $image_id])) {
229
+ $wpdb->query($wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_image WHERE id="%d"', $image_id));
230
+ $wpdb->query($wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_image_comment WHERE image_id="%d"', $image_id));
231
+ $tag_ids = $wpdb->get_col($wpdb->prepare('SELECT tag_id FROM ' . $wpdb->prefix . 'bwg_image_tag WHERE image_id="%d"', $image_id));
232
+ $wpdb->query($wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_image_tag WHERE image_id="%d"', $image_id));
233
+ // Increase tag count in term_taxonomy table.
234
+ if ($tag_ids) {
235
+ foreach ($tag_ids as $tag_id) {
236
+ $wpdb->query($wpdb->prepare('UPDATE ' . $wpdb->prefix . 'term_taxonomy SET count="%d" WHERE term_id="%d"', $wpdb->get_var($wpdb->prepare('SELECT COUNT(image_id) FROM ' . $wpdb->prefix . 'bwg_image_tag WHERE tag_id="%d"', $tag_id)), $tag_id));
237
+ }
238
+ }
239
+ }
240
+ }
241
+ }
242
+
243
+ public function image_set_watermark() {
244
+ global $wpdb;
245
+ global $WD_BWG_UPLOAD_DIR;
246
+ $options = $wpdb->get_row('SELECT * FROM ' . $wpdb->prefix . 'bwg_option WHERE id=1');
247
+ switch ($options->built_in_watermark_type) {
248
+ case 'text':
249
+ $images = $wpdb->get_results('SELECT * FROM ' . $wpdb->prefix . 'bwg_image');
250
+ foreach ($images as $image) {
251
+ if (isset($_POST['check_' . $image->id])) {
252
+ $this->set_text_watermark(ABSPATH . $WD_BWG_UPLOAD_DIR . $image->image_url, ABSPATH . $WD_BWG_UPLOAD_DIR . $image->image_url, $options->built_in_watermark_text, $options->built_in_watermark_font, $options->built_in_watermark_font_size, '#' . $options->built_in_watermark_color, $options->built_in_watermark_opacity, $options->built_in_watermark_position);
253
+ }
254
+ }
255
+ break;
256
+ case 'image':
257
+ $images = $wpdb->get_results('SELECT * FROM ' . $wpdb->prefix . 'bwg_image');
258
+ foreach ($images as $image) {
259
+ if (isset($_POST['check_' . $image->id])) {
260
+ $this->set_image_watermark (ABSPATH . $WD_BWG_UPLOAD_DIR . $image->image_url, ABSPATH . $WD_BWG_UPLOAD_DIR . $image->image_url, $options->built_in_watermark_url, $options->built_in_watermark_size, $options->built_in_watermark_size, $options->built_in_watermark_position);
261
+ }
262
+ }
263
+ break;
264
+ }
265
+ }
266
+
267
+ function bwg_hex2rgb($hex) {
268
+ $hex = str_replace("#", "", $hex);
269
+ if(strlen($hex) == 3) {
270
+ $r = hexdec(substr($hex,0,1).substr($hex,0,1));
271
+ $g = hexdec(substr($hex,1,1).substr($hex,1,1));
272
+ $b = hexdec(substr($hex,2,1).substr($hex,2,1));
273
+ } else {
274
+ $r = hexdec(substr($hex,0,2));
275
+ $g = hexdec(substr($hex,2,2));
276
+ $b = hexdec(substr($hex,4,2));
277
+ }
278
+ $rgb = array($r, $g, $b);
279
+ return $rgb;
280
+ }
281
+
282
+ function bwg_imagettfbboxdimensions($font_size, $font_angle, $font, $text) {
283
+ $box = @ImageTTFBBox($font_size, $font_angle, $font, $text) or die;
284
+ $max_x = max(array($box[0], $box[2], $box[4], $box[6]));
285
+ $max_y = max(array($box[1], $box[3], $box[5], $box[7]));
286
+ $min_x = min(array($box[0], $box[2], $box[4], $box[6]));
287
+ $min_y = min(array($box[1], $box[3], $box[5], $box[7]));
288
+ return array(
289
+ "width" => ($max_x - $min_x),
290
+ "height" => ($max_y - $min_y)
291
+ );
292
+ }
293
+
294
+ function set_text_watermark ($original_filename, $dest_filename, $watermark_text, $watermark_font, $watermark_font_size, $watermark_color, $watermark_transparency, $watermark_position) {
295
+ $watermark_transparency = 127 - ($watermark_transparency * 1.27);
296
+ list($width, $height, $type) = getimagesize($original_filename);
297
+ $watermark_image = imagecreatetruecolor($width, $height);
298
+
299
+ $watermark_color = $this->bwg_hex2rgb($watermark_color);
300
+ $watermark_color = imagecolorallocatealpha($watermark_image, $watermark_color[0], $watermark_color[1], $watermark_color[2], $watermark_transparency);
301
+ $watermark_font = WD_BWG_DIR . '/fonts/' . $watermark_font;
302
+ $watermark_font_size = ($height * $watermark_font_size / 500) . 'px';
303
+ $watermark_position = explode('-', $watermark_position);
304
+ $watermark_sizes = $this->bwg_imagettfbboxdimensions($watermark_font_size, 0, $watermark_font, $watermark_text);
305
+
306
+ $top = $height - 5;
307
+ $left = $width - $watermark_sizes['width'] - 5;
308
+ switch ($watermark_position[0]) {
309
+ case 'top':
310
+ $top = $watermark_sizes['height'] + 5;
311
+ break;
312
+ case 'middle':
313
+ $top = ($height + $watermark_sizes['height']) / 2;
314
+ break;
315
+ }
316
+ switch ($watermark_position[1]) {
317
+ case 'left':
318
+ $left = 5;
319
+ break;
320
+ case 'center':
321
+ $left = ($width - $watermark_sizes['width']) / 2;
322
+ break;
323
+ }
324
+
325
+ if ($type == 2) {
326
+ $image = imagecreatefromjpeg($original_filename);
327
+ imagettftext($image, $watermark_font_size, 0, $left, $top, $watermark_color, $watermark_font, $watermark_text);
328
+ imagejpeg ($image, $dest_filename, 100);
329
+ imagedestroy($image);
330
+ }
331
+ elseif ($type == 3) {
332
+ $image = imagecreatefrompng($original_filename);
333
+ imagettftext($image, $watermark_font_size, 0, $left, $top, $watermark_color, $watermark_font, $watermark_text);
334
+ imageColorAllocateAlpha($image, 0, 0, 0, 127);
335
+ imagealphablending($image, FALSE);
336
+ imagesavealpha($image, TRUE);
337
+ imagepng($image, $dest_filename, 9);
338
+ imagedestroy($image);
339
+ }
340
+ elseif ($type == 1) {
341
+ $image = imagecreatefromgif($original_filename);
342
+ imageColorAllocateAlpha($watermark_image, 0, 0, 0, 127);
343
+ imagecopy($watermark_image, $image, 0, 0, 0, 0, $width, $height);
344
+ imagettftext($watermark_image, $watermark_font_size, 0, $left, $top, $watermark_color, $watermark_font, $watermark_text);
345
+ imagealphablending($watermark_image, FALSE);
346
+ imagesavealpha($watermark_image, TRUE);
347
+ imagegif($watermark_image, $dest_filename);
348
+ imagedestroy($image);
349
+ }
350
+ imagedestroy($watermark_image);
351
+ }
352
+
353
+ function set_image_watermark ($original_filename, $dest_filename, $watermark_url, $watermark_height, $watermark_width, $watermark_position) {
354
+ list($width, $height, $type) = getimagesize($original_filename);
355
+ list($width_watermark, $height_watermark, $type_watermark) = getimagesize($watermark_url);
356
+
357
+ $watermark_width = $width * $watermark_width / 100;
358
+ $watermark_height = $height_watermark * $watermark_width / $width_watermark;
359
+
360
+ $watermark_position = explode('-', $watermark_position);
361
+ $top = $height - $watermark_height - 5;
362
+ $left = $width - $watermark_width - 5;
363
+ switch ($watermark_position[0]) {
364
+ case 'top':
365
+ $top = 5;
366
+ break;
367
+ case 'middle':
368
+ $top = ($height - $watermark_height) / 2;
369
+ break;
370
+ }
371
+ switch ($watermark_position[1]) {
372
+ case 'left':
373
+ $left = 5;
374
+ break;
375
+ case 'center':
376
+ $left = ($width - $watermark_width) / 2;
377
+ break;
378
+ }
379
+
380
+ if ($type_watermark == 2) {
381
+ $watermark_image = imagecreatefromjpeg($watermark_url);
382
+ }
383
+ elseif ($type_watermark == 3) {
384
+ $watermark_image = imagecreatefrompng($watermark_url);
385
+ }
386
+ elseif ($type_watermark == 1) {
387
+ $watermark_image = imagecreatefromgif($watermark_url);
388
+ }
389
+ else {
390
+ return false;
391
+ }
392
+
393
+ $watermark_image_resized = imagecreatetruecolor($watermark_width, $watermark_height);
394
+ imagecolorallocatealpha($watermark_image_resized, 255, 255, 255, 127);
395
+ imagealphablending($watermark_image_resized, FALSE);
396
+ imagesavealpha($watermark_image_resized, TRUE);
397
+ imagecopyresampled ($watermark_image_resized, $watermark_image, 0, 0, 0, 0, $watermark_width, $watermark_height, $width_watermark, $height_watermark);
398
+
399
+ if ($type == 2) {
400
+ $image = imagecreatefromjpeg($original_filename);
401
+ imagecopy($image, $watermark_image_resized, $left, $top, 0, 0, $watermark_width, $watermark_height);
402
+ if ($dest_filename <> '') {
403
+ imagejpeg ($image, $dest_filename, 100);
404
+ } else {
405
+ header('Content-Type: image/jpeg');
406
+ imagejpeg($image, null, 100);
407
+ };
408
+ imagedestroy($image);
409
+ }
410
+ elseif ($type == 3) {
411
+ $image = imagecreatefrompng($original_filename);
412
+ imagecopy($image, $watermark_image_resized, $left, $top, 0, 0, $watermark_width, $watermark_height);
413
+ imagealphablending($image, FALSE);
414
+ imagesavealpha($image, TRUE);
415
+ imagepng($image, $dest_filename, 9);
416
+ imagedestroy($image);
417
+ }
418
+ elseif ($type == 1) {
419
+ $image = imagecreatefromgif($original_filename);
420
+ $tempimage = imagecreatetruecolor($width, $height);
421
+ imagecopy($tempimage, $image, 0, 0, 0, 0, $width, $height);
422
+ imagecopy($tempimage, $watermark_image_resized, $left, $top, 0, 0, $watermark_width, $watermark_height);
423
+ imagegif($tempimage, $dest_filename);
424
+ imagedestroy($image);
425
+ imagedestroy($tempimage);
426
+ }
427
+ imagedestroy($watermark_image);
428
+ }
429
+
430
+ public function save_image_db() {
431
+ global $wpdb;
432
+ $gal_id = (isset($_POST['current_id']) ? (int) $_POST['current_id'] : 0);
433
+ $image_ids = (isset($_POST['ids_string']) ? esc_html(stripslashes($_POST['ids_string'])) : '');
434
+ $image_id_array = explode(',', $image_ids);
435
+ foreach ($image_id_array as $image_id) {
436
+ if ($image_id) {
437
+ $filename = ((isset($_POST['input_filename_' . $image_id])) ? esc_html(stripslashes($_POST['input_filename_' . $image_id])) : '');
438
+ $image_url = ((isset($_POST['image_url_' . $image_id])) ? esc_html(stripslashes($_POST['image_url_' . $image_id])) : '');
439
+ $thumb_url = ((isset($_POST['thumb_url_' . $image_id])) ? esc_html(stripslashes($_POST['thumb_url_' . $image_id])) : '');
440
+ $description = ((isset($_POST['image_description_' . $image_id])) ? esc_html((stripslashes($_POST['image_description_' . $image_id]))) : '');
441
+ $alt = ((isset($_POST['image_alt_text_' . $image_id])) ? esc_html(stripslashes($_POST['image_alt_text_' . $image_id])) : '');
442
+ $date = ((isset($_POST['input_date_modified_' . $image_id])) ? esc_html(stripslashes($_POST['input_date_modified_' . $image_id])) : '');
443
+ $size = ((isset($_POST['input_size_' . $image_id])) ? esc_html(stripslashes($_POST['input_size_' . $image_id])) : '');
444
+ $filetype = ((isset($_POST['input_filetype_' . $image_id])) ? esc_html(stripslashes($_POST['input_filetype_' . $image_id])) : '');
445
+ $resolution = ((isset($_POST['input_resolution_' . $image_id])) ? esc_html(stripslashes($_POST['input_resolution_' . $image_id])) : '');
446
+ $order = ((isset($_POST['order_input_' . $image_id])) ? esc_html(stripslashes($_POST['order_input_' . $image_id])) : '');
447
+ $author = get_current_user_id();
448
+ $tags_ids = ((isset($_POST['tags_' . $image_id])) ? esc_html(stripslashes($_POST['tags_' . $image_id])) : '');
449
+ if (strpos($image_id, 'pr_') !== FALSE) {
450
+ $save = $wpdb->insert($wpdb->prefix . 'bwg_image', array(
451
+ 'gallery_id' => $gal_id,
452
+ 'slug' => $alt,
453
+ 'filename' => $filename,
454
+ 'image_url' => $image_url,
455
+ 'thumb_url' => $thumb_url,
456
+ 'description' => $description,
457
+ 'alt' => $alt,
458
+ 'date' => $date,
459
+ 'size' => $size,
460
+ 'filetype' => $filetype,
461
+ 'resolution' => $resolution,
462
+ 'author' => $author,
463
+ 'order' => $order,
464
+ 'published' => 1,
465
+ 'comment_count' => 0,
466
+ ), array(
467
+ '%d',
468
+ '%s',
469
+ '%s',
470
+ '%s',
471
+ '%s',
472
+ '%s',
473
+ '%s',
474
+ '%s',
475
+ '%s',
476
+ '%s',
477
+ '%s',
478
+ '%s',
479
+ '%s',
480
+ '%s',
481
+ '%d',
482
+ '%d',
483
+ '%d',
484
+ '%d',
485
+ ));
486
+ $image_id = (int) $wpdb->get_var('SELECT MAX(`id`) FROM ' . $wpdb->prefix . 'bwg_image');
487
+ $_POST['check_' . $image_id] = 'on';
488
+ if (isset($_POST['image_current_id']) && strpos(esc_html($_POST['image_current_id']), 'pr_') !== FALSE) {
489
+ $_POST['image_current_id'] = $image_id;
490
+ }
491
+ }
492
+ else {
493
+ $save = $wpdb->update($wpdb->prefix . 'bwg_image', array(
494
+ 'gallery_id' => $gal_id,
495
+ 'slug' => $alt,
496
+ 'filename' => $filename,
497
+ 'image_url' => $image_url,
498
+ 'thumb_url' => $thumb_url,
499
+ 'description' => $description,
500
+ 'alt' => $alt,
501
+ 'date' => $date,
502
+ 'size' => $size,
503
+ 'filetype' => $filetype,
504
+ 'resolution' => $resolution,
505
+ 'author' => $author,
506
+ 'order' => $order), array('id' => $image_id));
507
+ }
508
+ $wpdb->query($wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_image_tag WHERE image_id="%d" AND gallery_id="%d"', $image_id, $gal_id));
509
+ if ($save !== FALSE) {
510
+ $tag_id_array = explode(',', $tags_ids);
511
+ foreach ($tag_id_array as $tag_id) {
512
+ if ($tag_id) {
513
+ if (strpos($tag_id, 'pr_') !== FALSE) {
514
+ $tag_id = substr($tag_id, 3);
515
+ }
516
+ $save = $wpdb->insert($wpdb->prefix . 'bwg_image_tag', array(
517
+ 'tag_id' => $tag_id,
518
+ 'image_id' => $image_id,
519
+ 'gallery_id' => $gal_id,
520
+ ), array(
521
+ '%d',
522
+ '%d',
523
+ '%d',
524
+ ));
525
+ // Increase tag count in term_taxonomy table.
526
+ $wpdb->query($wpdb->prepare('UPDATE ' . $wpdb->prefix . 'term_taxonomy SET count="%d" WHERE term_id="%d"', $wpdb->get_var($wpdb->prepare('SELECT COUNT(image_id) FROM ' . $wpdb->prefix . 'bwg_image_tag WHERE tag_id="%d"', $tag_id)), $tag_id));
527
+ }
528
+ }
529
+ }
530
+ }
531
+ }
532
+ }
533
+
534
+ public function save() {
535
+ $this->save_db();
536
+ global $wpdb;
537
+ if (!isset($_POST['current_id']) || (esc_html(stripslashes($_POST['current_id'])) == 0) || (esc_html(stripslashes($_POST['current_id'])) == '')) {
538
+ $_POST['current_id'] = (int) $wpdb->get_var('SELECT MAX(`id`) FROM ' . $wpdb->prefix . 'bwg_gallery');
539
+ }
540
+ $this->save_image_db();
541
+ $this->display();
542
+ }
543
+
544
+ public function apply() {
545
+ $this->save_db();
546
+ global $wpdb;
547
+ if (!isset($_POST['current_id']) || (esc_html(stripslashes($_POST['current_id'])) == 0) || (esc_html(stripslashes($_POST['current_id'])) == '')) {
548
+ $_POST['current_id'] = (int) $wpdb->get_var('SELECT MAX(`id`) FROM ' . $wpdb->prefix . 'bwg_gallery');
549
+ }
550
+ $this->save_image_db();
551
+ $this->edit();
552
+ }
553
+
554
+ public function delete_unknown_images() {
555
+ global $wpdb;
556
+ $wpdb->query('DELETE FROM ' . $wpdb->prefix . 'bwg_image WHERE gallery_id=0');
557
+ }
558
+
559
+ // Return random image from gallery for gallery preview.
560
+ public function get_image_for_gallery($gallery_id) {
561
+ global $wpdb;
562
+ $preview_image = $wpdb->get_var($wpdb->prepare("SELECT thumb_url FROM " . $wpdb->prefix . "bwg_image WHERE gallery_id='%d' ORDER BY rand() limit 1", $gallery_id));
563
+ return $preview_image;
564
+ }
565
+
566
+ public function bwg_get_unique_slug($slug, $id) {
567
+ global $wpdb;
568
+ $slug = sanitize_title($slug);
569
+ if ($id != 0) {
570
+ $query = $wpdb->prepare("SELECT slug FROM " . $wpdb->prefix . "bwg_gallery WHERE slug = %s AND id != %d", $slug, $id);
571
+ }
572
+ else {
573
+ $query = $wpdb->prepare("SELECT slug FROM " . $wpdb->prefix . "bwg_gallery WHERE slug = %s", $slug);
574
+ }
575
+ if ($wpdb->get_var($query)) {
576
+ $num = 2;
577
+ do {
578
+ $alt_slug = $slug . "-$num";
579
+ $num++;
580
+ $slug_check = $wpdb->get_var($wpdb->prepare("SELECT slug FROM " . $wpdb->prefix . "bwg_gallery WHERE slug = %s", $alt_slug));
581
+ } while ($slug_check);
582
+ $slug = $alt_slug;
583
+ }
584
+ return $slug;
585
+ }
586
+
587
+ public function bwg_get_unique_name($name, $id) {
588
+ global $wpdb;
589
+ if ($id != 0) {
590
+ $query = $wpdb->prepare("SELECT name FROM " . $wpdb->prefix . "bwg_gallery WHERE name = %s AND id != %d", $name, $id);
591
+ }
592
+ else {
593
+ $query = $wpdb->prepare("SELECT name FROM " . $wpdb->prefix . "bwg_gallery WHERE name = %s", $name);
594
+ }
595
+ if ($wpdb->get_var($query)) {
596
+ $num = 2;
597
+ do {
598
+ $alt_name = $name . "-$num";
599
+ $num++;
600
+ $slug_check = $wpdb->get_var($wpdb->prepare("SELECT name FROM " . $wpdb->prefix . "bwg_gallery WHERE name = %s", $alt_name));
601
+ } while ($slug_check);
602
+ $name = $alt_name;
603
+ }
604
+ return $name;
605
+ }
606
+
607
+ public function save_db() {
608
+ global $wpdb;
609
+ $id = (isset($_POST['current_id']) ? (int) $_POST['current_id'] : 0);
610
+ $name = ((isset($_POST['name']) && esc_html(stripslashes($_POST['name'])) != '') ? esc_html(stripslashes($_POST['name'])) : 'Gallery');
611
+ $name = $this->bwg_get_unique_name($name, $id);
612
+ $slug = ((isset($_POST['slug']) && esc_html(stripslashes($_POST['slug'])) != '') ? esc_html(stripslashes($_POST['slug'])) : $name);
613
+ $slug = $this->bwg_get_unique_slug($slug, $id);
614
+ $description = (isset($_POST['description']) ? stripslashes($_POST['description']) : '');
615
+ $preview_image = (isset($_POST['preview_image']) ? esc_html(stripslashes($_POST['preview_image'])) : '');
616
+ $random_preview_image = (($preview_image == '') ? $this->get_image_for_gallery($id) : '');
617
+ $published = (isset($_POST['published']) ? (int) $_POST['published'] : 1);
618
+ if ($id != 0) {
619
+ $save = $wpdb->update($wpdb->prefix . 'bwg_gallery', array(
620
+ 'name' => $name,
621
+ 'slug' => $slug,
622
+ 'description' => $description,
623
+ 'preview_image' => $preview_image,
624
+ 'random_preview_image' => $random_preview_image,
625
+ 'author' => get_current_user_id(),
626
+ 'published' => $published), array('id' => $id));
627
+ }
628
+ else {
629
+ $save = $wpdb->insert($wpdb->prefix . 'bwg_gallery', array(
630
+ 'name' => $name,
631
+ 'slug' => $slug,
632
+ 'description' => $description,
633
+ 'preview_image' => $preview_image,
634
+ 'random_preview_image' => $random_preview_image,
635
+ 'order' => ((int) $wpdb->get_var('SELECT MAX(`order`) FROM ' . $wpdb->prefix . 'bwg_gallery')) + 1,
636
+ 'author' => get_current_user_id(),
637
+ 'published' => $published,
638
+ ), array(
639
+ '%s',
640
+ '%s',
641
+ '%s',
642
+ '%s',
643
+ '%s',
644
+ '%s',
645
+ '%d',
646
+ '%d',
647
+ '%d',
648
+ ));
649
+ }
650
+ if ($save !== FALSE) {
651
+ echo WDWLibrary::message('Item Succesfully Saved.', 'updated');
652
+ }
653
+ else {
654
+ echo WDWLibrary::message('Error. Please install plugin again.', 'error');
655
+ }
656
+ }
657
+
658
+ public function save_order($flag = TRUE) {
659
+ global $wpdb;
660
+ $gallery_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'bwg_gallery');
661
+ if ($gallery_ids_col) {
662
+ foreach ($gallery_ids_col as $gallery_id) {
663
+ if (isset($_POST['order_input_' . $gallery_id])) {
664
+ $order_values[$gallery_id] = (int) $_POST['order_input_' . $gallery_id];
665
+ }
666
+ else {
667
+ $order_values[$gallery_id] = (int) $wpdb->get_var($wpdb->prepare('SELECT `order` FROM ' . $wpdb->prefix . 'bwg_gallery WHERE `id`="%d"', $gallery_id));
668
+ }
669
+ }
670
+ asort($order_values);
671
+ $i = 1;
672
+ foreach ($order_values as $key => $order_value) {
673
+ $wpdb->update($wpdb->prefix . 'bwg_gallery', array('order' => $i), array('id' => $key));
674
+ $i++;
675
+ }
676
+ if ($flag) {
677
+ echo WDWLibrary::message('Ordering Succesfully Saved.', 'updated');
678
+ }
679
+ }
680
+ $this->display();
681
+ }
682
+
683
+ public function delete($id) {
684
+ global $wpdb;
685
+ $query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_gallery WHERE id="%d"', $id);
686
+ $query_image = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_image WHERE gallery_id="%d"', $id);
687
+ $query_album_gallery = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_album_gallery WHERE alb_gal_id="%d" AND is_album="%d"', $id, 0);
688
+ if ($wpdb->query($query)) {
689
+ $wpdb->query($query_image);
690
+ $wpdb->query($query_album_gallery);
691
+ echo WDWLibrary::message('Item Succesfully Deleted.', 'updated');
692
+ }
693
+ else {
694
+ echo WDWLibrary::message('Error. Please install plugin again.', 'error');
695
+ }
696
+ $this->display();
697
+ }
698
+
699
+ public function delete_all() {
700
+ global $wpdb;
701
+ $flag = FALSE;
702
+ $gal_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'bwg_gallery');
703
+ foreach ($gal_ids_col as $gal_id) {
704
+ if (isset($_POST['check_' . $gal_id])) {
705
+ $flag = TRUE;
706
+ $query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_gallery WHERE id="%d"', $gal_id);
707
+ $wpdb->query($query);
708
+ $query_image = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_image WHERE gallery_id="%d"', $gal_id);
709
+ $wpdb->query($query_image);
710
+ $query_album_gallery = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_album_gallery WHERE alb_gal_id="%d" AND is_album="%d"', $gal_id, 0);
711
+ $wpdb->query($query_album_gallery);
712
+ }
713
+ }
714
+ if ($flag) {
715
+ echo WDWLibrary::message('Items Succesfully Deleted.', 'updated');
716
+ }
717
+ else {
718
+ echo WDWLibrary::message('You must select at least one item.', 'error');
719
+ }
720
+ $this->display();
721
+ }
722
+
723
+ public function publish($id) {
724
+ global $wpdb;
725
+ $save = $wpdb->update($wpdb->prefix . 'bwg_gallery', array('published' => 1), array('id' => $id));
726
+ if ($save !== FALSE) {
727
+ echo WDWLibrary::message('Item Succesfully Published.', 'updated');
728
+ }
729
+ else {
730
+ echo WDWLibrary::message('Error. Please install plugin again.', 'error');
731
+ }
732
+ $this->display();
733
+ }
734
+
735
+ public function publish_all() {
736
+ global $wpdb;
737
+ $flag = FALSE;
738
+ $gal_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'bwg_gallery');
739
+ foreach ($gal_ids_col as $gal_id) {
740
+ if (isset($_POST['check_' . $gal_id])) {
741
+ $flag = TRUE;
742
+ $wpdb->update($wpdb->prefix . 'bwg_gallery', array('published' => 1), array('id' => $gal_id));
743
+ }
744
+ }
745
+ if ($flag) {
746
+ echo WDWLibrary::message('Items Succesfully Published.', 'updated');
747
+ }
748
+ else {
749
+ echo WDWLibrary::message('You must select at least one item.', 'error');
750
+ }
751
+ $this->display();
752
+ }
753
+
754
+ public function unpublish($id) {
755
+ global $wpdb;
756
+ $save = $wpdb->update($wpdb->prefix . 'bwg_gallery', array('published' => 0), array('id' => $id));
757
+ if ($save !== FALSE) {
758
+ echo WDWLibrary::message('Item Succesfully Unpublished.', 'updated');
759
+ }
760
+ else {
761
+ echo WDWLibrary::message('Error. Please install plugin again.', 'error');
762
+ }
763
+ $this->display();
764
+ }
765
+
766
+ public function unpublish_all() {
767
+ global $wpdb;
768
+ $flag = FALSE;
769
+ $gal_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'bwg_gallery');
770
+ foreach ($gal_ids_col as $gal_id) {
771
+ if (isset($_POST['check_' . $gal_id])) {
772
+ $flag = TRUE;
773
+ $wpdb->update($wpdb->prefix . 'bwg_gallery', array('published' => 0), array('id' => $gal_id));
774
+ }
775
+ }
776
+ if ($flag) {
777
+ echo WDWLibrary::message('Items Succesfully Unpublished.', 'updated');
778
+ }
779
+ else {
780
+ echo WDWLibrary::message('You must select at least one item.', 'error');
781
+ }
782
+ $this->display();
783
+ }
784
+
785
+ ////////////////////////////////////////////////////////////////////////////////////////
786
+ // Getters & Setters //
787
+ ////////////////////////////////////////////////////////////////////////////////////////
788
+ ////////////////////////////////////////////////////////////////////////////////////////
789
+ // Private Methods //
790
+ ////////////////////////////////////////////////////////////////////////////////////////
791
+ ////////////////////////////////////////////////////////////////////////////////////////
792
+ // Listeners //
793
+ ////////////////////////////////////////////////////////////////////////////////////////
794
+ }
admin/controllers/BWGControllerLicensing_bwg.php ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGControllerLicensing_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ public function execute() {
22
+ $task = ((isset($_POST['task'])) ? esc_html(stripslashes($_POST['task'])) : '');
23
+ if (method_exists($this, $task)) {
24
+ $this->$task($id);
25
+ }
26
+ else {
27
+ $this->display();
28
+ }
29
+ }
30
+
31
+ public function display() {
32
+ require_once WD_BWG_DIR . "/admin/models/BWGModelLicensing_bwg.php";
33
+ $model = new BWGModelLicensing_bwg();
34
+
35
+ require_once WD_BWG_DIR . "/admin/views/BWGViewLicensing_bwg.php";
36
+ $view = new BWGViewLicensing_bwg($model);
37
+ $view->display();
38
+ }
39
+
40
+ ////////////////////////////////////////////////////////////////////////////////////////
41
+ // Getters & Setters //
42
+ ////////////////////////////////////////////////////////////////////////////////////////
43
+ ////////////////////////////////////////////////////////////////////////////////////////
44
+ // Private Methods //
45
+ ////////////////////////////////////////////////////////////////////////////////////////
46
+ ////////////////////////////////////////////////////////////////////////////////////////
47
+ // Listeners //
48
+ ////////////////////////////////////////////////////////////////////////////////////////
49
+ }
admin/controllers/BWGControllerOptions_bwg.php ADDED
@@ -0,0 +1,264 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGControllerOptions_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ public function execute() {
22
+ $task = ((isset($_POST['task'])) ? esc_html(stripslashes($_POST['task'])) : '');
23
+ $id = ((isset($_POST['current_id'])) ? esc_html(stripslashes($_POST['current_id'])) : 0);
24
+ if (method_exists($this, $task)) {
25
+ $this->$task($id);
26
+ }
27
+ else {
28
+ $this->display();
29
+ }
30
+ }
31
+
32
+ public function display() {
33
+ require_once WD_BWG_DIR . "/admin/models/BWGModelOptions_bwg.php";
34
+ $model = new BWGModelOptions_bwg();
35
+
36
+ require_once WD_BWG_DIR . "/admin/views/BWGViewOptions_bwg.php";
37
+ $view = new BWGViewOptions_bwg($model);
38
+ $view->display();
39
+ }
40
+
41
+ public function reset() {
42
+ require_once WD_BWG_DIR . "/admin/models/BWGModelOptions_bwg.php";
43
+ $model = new BWGModelOptions_bwg();
44
+
45
+ require_once WD_BWG_DIR . "/admin/views/BWGViewOptions_bwg.php";
46
+ $view = new BWGViewOptions_bwg($model);
47
+ echo WDWLibrary::message('Changes must be saved.', 'error');
48
+ $view->display(true);
49
+ }
50
+
51
+ public function save() {
52
+ $this->save_db();
53
+ $this->display();
54
+ }
55
+
56
+ public function save_db() {
57
+ global $wpdb;
58
+ $id = 1;
59
+ if (isset($_POST['old_images_directory'])) {
60
+ $old_images_directory = esc_html(stripslashes($_POST['old_images_directory']));
61
+ }
62
+ if (isset($_POST['images_directory'])) {
63
+ $images_directory = esc_html(stripslashes($_POST['images_directory']));
64
+ if (!is_dir(ABSPATH . $images_directory)) {
65
+ echo WDWLibrary::message('Uploads directory doesn\'t exist. Old value is restored.', 'error');
66
+ if ($old_images_directory) {
67
+ $images_directory = $old_images_directory;
68
+ }
69
+ else {
70
+ $upload_dir = wp_upload_dir();
71
+ if (!is_dir($upload_dir['basedir'] . '/photo-gallery')) {
72
+ mkdir($upload_dir['basedir'] . '/photo-gallery', 0777);
73
+ }
74
+ $images_directory = str_replace(ABSPATH, '', $upload_dir['basedir']);
75
+ }
76
+ }
77
+ }
78
+ else {
79
+ $upload_dir = wp_upload_dir();
80
+ if (!is_dir($upload_dir['basedir'] . '/photo-gallery')) {
81
+ mkdir($upload_dir['basedir'] . '/photo-gallery', 0777);
82
+ }
83
+ $images_directory = str_replace(ABSPATH, '', $upload_dir['basedir']);
84
+ }
85
+ $resize_image = (isset($_POST['resize_image']) ? esc_html(stripslashes($_POST['resize_image'])) : 1);
86
+ $masonry = (isset($_POST['masonry']) ? esc_html(stripslashes($_POST['masonry'])) : 'horizontal');
87
+ $image_column_number = (isset($_POST['image_column_number']) ? esc_html(stripslashes($_POST['image_column_number'])) : 5);
88
+ $images_per_page = (isset($_POST['images_per_page']) ? esc_html(stripslashes($_POST['images_per_page'])) : 30);
89
+ $thumb_width = (isset($_POST['thumb_width']) ? esc_html(stripslashes($_POST['thumb_width'])) : 120);
90
+ $thumb_height = (isset($_POST['thumb_height']) ? esc_html(stripslashes($_POST['thumb_height'])) : 90);
91
+ $image_enable_page = (isset($_POST['image_enable_page']) ? esc_html(stripslashes($_POST['image_enable_page'])) : 1);
92
+ $album_column_number = (isset($_POST['album_column_number']) ? esc_html(stripslashes($_POST['album_column_number'])) : 5);
93
+ $albums_per_page = (isset($_POST['albums_per_page']) ? esc_html(stripslashes($_POST['albums_per_page'])) : 30);
94
+ $album_title_show_hover = (isset($_POST['album_title_show_hover']) ? esc_html(stripslashes($_POST['album_title_show_hover'])) : 'hover');
95
+ $album_thumb_width = (isset($_POST['album_thumb_width']) ? esc_html(stripslashes($_POST['album_thumb_width'])) : 120);
96
+ $album_thumb_height = (isset($_POST['album_thumb_height']) ? esc_html(stripslashes($_POST['album_thumb_height'])) : 90);
97
+ $album_enable_page = (isset($_POST['album_enable_page']) ? esc_html(stripslashes($_POST['album_enable_page'])) : 1);
98
+ $extended_album_height = (isset($_POST['extended_album_height']) ? esc_html(stripslashes($_POST['extended_album_height'])) : 150);
99
+ $extended_album_description_enable = (isset($_POST['extended_album_description_enable']) ? esc_html(stripslashes($_POST['extended_album_description_enable'])) : 1);
100
+ $image_browser_width = (isset($_POST['image_browser_width']) ? esc_html(stripslashes($_POST['image_browser_width'])) : 800);
101
+ $image_browser_title_enable = (isset($_POST['image_browser_title_enable']) ? esc_html(stripslashes($_POST['image_browser_title_enable'])) : 1);
102
+ $image_browser_description_enable = (isset($_POST['image_browser_description_enable']) ? esc_html(stripslashes($_POST['image_browser_description_enable'])) : 1);
103
+ $blog_style_width = (isset($_POST['blog_style_width']) ? esc_html(stripslashes($_POST['blog_style_width'])) : 800);
104
+ $blog_style_title_enable = (isset($_POST['blog_style_title_enable']) ? esc_html(stripslashes($_POST['blog_style_title_enable'])) : 1);
105
+ $blog_style_images_per_page = (isset($_POST['blog_style_images_per_page']) ? esc_html(stripslashes($_POST['blog_style_images_per_page'])) : 5);
106
+ $blog_style_enable_page = (isset($_POST['blog_style_enable_page']) ? esc_html(stripslashes($_POST['blog_style_enable_page'])) : 1);
107
+ $slideshow_type = (isset($_POST['slideshow_type']) ? esc_html(stripslashes($_POST['slideshow_type'])) : 'fade');
108
+ $slideshow_interval = (isset($_POST['slideshow_interval']) ? esc_html(stripslashes($_POST['slideshow_interval'])) : 5);
109
+ $slideshow_width = (isset($_POST['slideshow_width']) ? esc_html(stripslashes($_POST['slideshow_width'])) : 800);
110
+ $slideshow_height = (isset($_POST['slideshow_height']) ? esc_html(stripslashes($_POST['slideshow_height'])) : 600);
111
+ $slideshow_enable_autoplay = (isset($_POST['slideshow_enable_autoplay']) ? esc_html(stripslashes($_POST['slideshow_enable_autoplay'])) : 1);
112
+ $slideshow_enable_shuffle = (isset($_POST['slideshow_enable_shuffle']) ? esc_html(stripslashes($_POST['slideshow_enable_shuffle'])) : 1);
113
+ $slideshow_enable_ctrl = (isset($_POST['slideshow_enable_ctrl']) ? esc_html(stripslashes($_POST['slideshow_enable_ctrl'])) : 1);
114
+ $slideshow_enable_filmstrip = (isset($_POST['slideshow_enable_filmstrip']) ? esc_html(stripslashes($_POST['slideshow_enable_filmstrip'])) : 1);
115
+ $slideshow_filmstrip_height = (isset($_POST['slideshow_filmstrip_height']) ? esc_html(stripslashes($_POST['slideshow_filmstrip_height'])) : 70);
116
+ $slideshow_enable_title = (isset($_POST['slideshow_enable_title']) ? esc_html(stripslashes($_POST['slideshow_enable_title'])) : 0);
117
+ $slideshow_title_position = (isset($_POST['slideshow_title_position']) ? esc_html(stripslashes($_POST['slideshow_title_position'])) : 'top-right');
118
+ $slideshow_enable_description = (isset($_POST['slideshow_enable_description']) ? esc_html(stripslashes($_POST['slideshow_enable_description'])) : 1);
119
+ $slideshow_description_position = (isset($_POST['slideshow_description_position']) ? esc_html(stripslashes($_POST['slideshow_description_position'])) : 'bottom-right');
120
+ $slideshow_enable_music = (isset($_POST['slideshow_enable_music']) ? esc_html(stripslashes($_POST['slideshow_enable_music'])) : 0);
121
+ $slideshow_audio_url = (isset($_POST['slideshow_audio_url']) ? esc_html(stripslashes($_POST['slideshow_audio_url'])) : '');
122
+ $popup_width = (isset($_POST['popup_width']) ? esc_html(stripslashes($_POST['popup_width'])) : 800);
123
+ $popup_height = (isset($_POST['popup_height']) ? esc_html(stripslashes($_POST['popup_height'])) : 600);
124
+ $popup_type = (isset($_POST['popup_type']) ? esc_html(stripslashes($_POST['popup_type'])) : 'fade');
125
+ $popup_interval = (isset($_POST['popup_interval']) ? esc_html(stripslashes($_POST['popup_interval'])) : 5);
126
+ $popup_enable_filmstrip = (isset($_POST['popup_enable_filmstrip']) ? esc_html(stripslashes($_POST['popup_enable_filmstrip'])) : 1);
127
+ $popup_filmstrip_height = (isset($_POST['popup_filmstrip_height']) ? esc_html(stripslashes($_POST['popup_filmstrip_height'])) : 50);
128
+ $popup_enable_ctrl_btn = (isset($_POST['popup_enable_ctrl_btn']) ? esc_html(stripslashes($_POST['popup_enable_ctrl_btn'])) : 1);
129
+ $popup_enable_fullscreen = (isset($_POST['popup_enable_fullscreen']) ? esc_html(stripslashes($_POST['popup_enable_fullscreen'])) : 1);
130
+ $popup_enable_comment = (isset($_POST['popup_enable_comment']) ? esc_html(stripslashes($_POST['popup_enable_comment'])) : 1);
131
+ $popup_enable_email = (isset($_POST['popup_enable_email']) ? esc_html(stripslashes($_POST['popup_enable_email'])) : 0);
132
+ $popup_enable_captcha = (isset($_POST['popup_enable_captcha']) ? esc_html(stripslashes($_POST['popup_enable_captcha'])) : 0);
133
+ $popup_enable_download = (isset($_POST['popup_enable_download']) ? esc_html(stripslashes($_POST['popup_enable_download'])) : 0);
134
+ $popup_enable_fullsize_image = (isset($_POST['popup_enable_fullsize_image']) ? esc_html(stripslashes($_POST['popup_enable_fullsize_image'])) : 0);
135
+ $popup_enable_facebook = (isset($_POST['popup_enable_facebook']) ? esc_html(stripslashes($_POST['popup_enable_facebook'])) : 1);
136
+ $popup_enable_twitter = (isset($_POST['popup_enable_twitter']) ? esc_html(stripslashes($_POST['popup_enable_twitter'])) : 1);
137
+ $popup_enable_google = (isset($_POST['popup_enable_google']) ? esc_html(stripslashes($_POST['popup_enable_google'])) : 1);
138
+ $watermark_type = (isset($_POST['watermark_type']) ? esc_html(stripslashes($_POST['watermark_type'])) : 'none');
139
+ $watermark_position = (isset($_POST['watermark_position']) ? esc_html(stripslashes($_POST['watermark_position'])) : 'bottom-right');
140
+ $watermark_width = (isset($_POST['watermark_width']) ? esc_html(stripslashes($_POST['watermark_width'])) : 600);
141
+ $watermark_height = (isset($_POST['watermark_height']) ? esc_html(stripslashes($_POST['watermark_height'])) : 600);
142
+ $watermark_url = (isset($_POST['watermark_url']) ? esc_html(stripslashes($_POST['watermark_url'])) : WD_BWG_URL . '/images/watermark.png');
143
+ $watermark_text = (isset($_POST['watermark_text']) ? esc_html(stripslashes($_POST['watermark_text'])) : 'web-dorado.com');
144
+ $watermark_link = (isset($_POST['watermark_link']) ? esc_html(stripslashes($_POST['watermark_link'])) : 'http://www.web-dorado.com');
145
+ $watermark_opacity = (isset($_POST['watermark_opacity']) ? esc_html(stripslashes($_POST['watermark_opacity'])) : 30);
146
+ $watermark_font_size = (isset($_POST['watermark_font_size']) ? esc_html(stripslashes($_POST['watermark_font_size'])) : 20);
147
+ $watermark_font = (isset($_POST['watermark_font']) ? esc_html(stripslashes($_POST['watermark_font'])) : '');
148
+ $watermark_color = (isset($_POST['watermark_color']) ? esc_html(stripslashes($_POST['watermark_color'])) : '');
149
+ $built_in_watermark_type = (isset($_POST['built_in_watermark_type']) ? esc_html(stripslashes($_POST['built_in_watermark_type'])) : 'none');
150
+ $built_in_watermark_position = (isset($_POST['built_in_watermark_position']) ? esc_html(stripslashes($_POST['built_in_watermark_position'])) : 'middle-center');
151
+ $built_in_watermark_size = (isset($_POST['built_in_watermark_size']) ? esc_html(stripslashes($_POST['built_in_watermark_size'])) : 15);
152
+ $built_in_watermark_url = (isset($_POST['built_in_watermark_url']) ? esc_html(stripslashes($_POST['built_in_watermark_url'])) : WD_BWG_URL . '/images/watermark.png');
153
+ $built_in_watermark_text = (isset($_POST['built_in_watermark_text']) ? esc_html(stripslashes($_POST['built_in_watermark_text'])) : 'web-dorado.com');
154
+ $built_in_watermark_opacity = (isset($_POST['built_in_watermark_opacity']) ? esc_html(stripslashes($_POST['built_in_watermark_opacity'])) : 30);
155
+ $built_in_watermark_font_size = (isset($_POST['built_in_watermark_font_size']) ? esc_html(stripslashes($_POST['built_in_watermark_font_size'])) : 20);
156
+ $built_in_watermark_font = (isset($_POST['built_in_watermark_font']) ? esc_html(stripslashes($_POST['built_in_watermark_font'])) : '');
157
+ $built_in_watermark_color = (isset($_POST['built_in_watermark_color']) ? esc_html(stripslashes($_POST['built_in_watermark_color'])) : '');
158
+ $gallery_role = (isset($_POST['gallery_role']) ? esc_html(stripslashes($_POST['gallery_role'])) : 0);
159
+ $album_role = (isset($_POST['album_role']) ? esc_html(stripslashes($_POST['album_role'])) : 0);
160
+ $image_role = (isset($_POST['image_role']) ? esc_html(stripslashes($_POST['image_role'])) : 0);
161
+
162
+ $save = $wpdb->update($wpdb->prefix . 'bwg_option', array(
163
+ 'images_directory' => $images_directory,
164
+ 'masonry' => $masonry,
165
+ 'image_column_number' => $image_column_number,
166
+ 'images_per_page' => $images_per_page,
167
+ 'thumb_width' => $thumb_width,
168
+ 'thumb_height' => $thumb_height,
169
+ 'image_enable_page' => $image_enable_page,
170
+ 'album_column_number' => $album_column_number,
171
+ 'albums_per_page' => $albums_per_page,
172
+ 'album_title_show_hover' => $album_title_show_hover,
173
+ 'album_thumb_width' => $album_thumb_width,
174
+ 'album_thumb_height' => $album_thumb_height,
175
+ 'album_enable_page' => $album_enable_page,
176
+ 'extended_album_height' => $extended_album_height,
177
+ 'extended_album_description_enable' => $extended_album_description_enable,
178
+ 'image_browser_width' => $image_browser_width,
179
+ 'image_browser_title_enable' => $image_browser_title_enable,
180
+ 'image_browser_description_enable' => $image_browser_description_enable,
181
+ 'blog_style_width' => $blog_style_width,
182
+ 'blog_style_title_enable' => $blog_style_title_enable,
183
+ 'blog_style_images_per_page' => $blog_style_images_per_page,
184
+ 'blog_style_enable_page' => $blog_style_enable_page,
185
+ 'slideshow_type' => $slideshow_type,
186
+ 'slideshow_interval' => $slideshow_interval,
187
+ 'slideshow_width' => $slideshow_width,
188
+ 'slideshow_height' => $slideshow_height,
189
+ 'slideshow_enable_autoplay' => $slideshow_enable_autoplay,
190
+ 'slideshow_enable_shuffle' => $slideshow_enable_shuffle,
191
+ 'slideshow_enable_ctrl' => $slideshow_enable_ctrl,
192
+ 'slideshow_enable_filmstrip' => $slideshow_enable_filmstrip,
193
+ 'slideshow_filmstrip_height' => $slideshow_filmstrip_height,
194
+ 'slideshow_enable_title' => $slideshow_enable_title,
195
+ 'slideshow_title_position' => $slideshow_title_position,
196
+ 'slideshow_enable_description' => $slideshow_enable_description,
197
+ 'slideshow_description_position' => $slideshow_description_position,
198
+ 'slideshow_enable_music' => $slideshow_enable_music,
199
+ 'slideshow_audio_url' => $slideshow_audio_url,
200
+ 'popup_width' => $popup_width,
201
+ 'popup_height' => $popup_height,
202
+ 'popup_type' => $popup_type,
203
+ 'popup_interval' => $popup_interval,
204
+ 'popup_enable_filmstrip' => $popup_enable_filmstrip,
205
+ 'popup_filmstrip_height' => $popup_filmstrip_height,
206
+ 'popup_enable_ctrl_btn' => $popup_enable_ctrl_btn,
207
+ 'popup_enable_fullscreen' => $popup_enable_fullscreen,
208
+ 'popup_enable_comment' => $popup_enable_comment,
209
+ 'popup_enable_email' => $popup_enable_email,
210
+ 'popup_enable_captcha' => $popup_enable_captcha,
211
+ 'popup_enable_download' => $popup_enable_download,
212
+ 'popup_enable_fullsize_image' => $popup_enable_fullsize_image,
213
+ 'popup_enable_facebook' => $popup_enable_facebook,
214
+ 'popup_enable_twitter' => $popup_enable_twitter,
215
+ 'popup_enable_google' => $popup_enable_google,
216
+ 'watermark_type' => $watermark_type,
217
+ 'watermark_position' => $watermark_position,
218
+ 'watermark_width' => $watermark_width,
219
+ 'watermark_height' => $watermark_height,
220
+ 'watermark_url' => $watermark_url,
221
+ 'watermark_text' => $watermark_text,
222
+ 'watermark_link' => $watermark_link,
223
+ 'watermark_font_size' => $watermark_font_size,
224
+ 'watermark_font' => $watermark_font,
225
+ 'watermark_color' => $watermark_color,
226
+ 'watermark_opacity' => $watermark_opacity,
227
+ 'built_in_watermark_type' => $built_in_watermark_type,
228
+ 'built_in_watermark_position' => $built_in_watermark_position,
229
+ 'built_in_watermark_size' => $built_in_watermark_size,
230
+ 'built_in_watermark_url' => $built_in_watermark_url,
231
+ 'built_in_watermark_text' => $built_in_watermark_text,
232
+ 'built_in_watermark_font_size' => $built_in_watermark_font_size,
233
+ 'built_in_watermark_font' => $built_in_watermark_font,
234
+ 'built_in_watermark_color' => $built_in_watermark_color,
235
+ 'built_in_watermark_opacity' => $built_in_watermark_opacity,
236
+ 'gallery_role' => $gallery_role,
237
+ 'album_role' => $album_role,
238
+ 'image_role' => $image_role
239
+ ), array('id' => 1));
240
+
241
+ if ($save !== FALSE) {
242
+ if ($old_images_directory && $old_images_directory != $images_directory) {
243
+ rename(ABSPATH . $old_images_directory . '/photo-gallery', ABSPATH . $images_directory . '/photo-gallery');
244
+ }
245
+ if (!is_dir(ABSPATH . $images_directory . '/photo-gallery')) {
246
+ mkdir(ABSPATH . $images_directory . '/photo-gallery', 0777);
247
+ }
248
+ echo WDWLibrary::message('Item Succesfully Saved.', 'updated');
249
+ }
250
+ else {
251
+ echo WDWLibrary::message('Error. Please install plugin again.', 'error');
252
+ }
253
+ }
254
+
255
+ ////////////////////////////////////////////////////////////////////////////////////////
256
+ // Getters & Setters //
257
+ ////////////////////////////////////////////////////////////////////////////////////////
258
+ ////////////////////////////////////////////////////////////////////////////////////////
259
+ // Private Methods //
260
+ ////////////////////////////////////////////////////////////////////////////////////////
261
+ ////////////////////////////////////////////////////////////////////////////////////////
262
+ // Listeners //
263
+ ////////////////////////////////////////////////////////////////////////////////////////
264
+ }
admin/controllers/BWGControllerTags_bwg.php ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGControllerTags_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ public function execute() {
22
+ $task = ((isset($_POST['task'])) ? esc_html(stripslashes($_POST['task'])) : '');
23
+ $id = ((isset($_POST['current_id'])) ? esc_html(stripslashes($_POST['current_id'])) : 0);
24
+ if (method_exists($this, $task)) {
25
+ $this->$task($id);
26
+ }
27
+ else {
28
+ $this->display();
29
+ }
30
+ }
31
+
32
+ public function display() {
33
+ require_once WD_BWG_DIR . "/admin/models/BWGModelTags_bwg.php";
34
+ $model = new BWGModelTags_bwg();
35
+
36
+ require_once WD_BWG_DIR . "/admin/views/BWGViewTags_bwg.php";
37
+ $view = new BWGViewTags_bwg($model);
38
+ $view->display();
39
+ }
40
+
41
+ public function save() {
42
+ $this->save_tag();
43
+ $this->display();
44
+ }
45
+
46
+ public function bwg_get_unique_slug($slug, $id) {
47
+ global $wpdb;
48
+ $slug = sanitize_title($slug);
49
+ if ($id != 0) {
50
+ $query = $wpdb->prepare("SELECT slug FROM " . $wpdb->prefix . "terms WHERE slug = %s AND term_id != %d", $slug, $id);
51
+ }
52
+ else {
53
+ $query = $wpdb->prepare("SELECT slug FROM " . $wpdb->prefix . "terms WHERE slug = %s", $slug);
54
+ }
55
+ if ($wpdb->get_var($query)) {
56
+ $num = 2;
57
+ do {
58
+ $alt_slug = $slug . "-$num";
59
+ $num++;
60
+ $slug_check = $wpdb->get_var($wpdb->prepare("SELECT slug FROM " . $wpdb->prefix . "terms WHERE slug = %s", $alt_slug));
61
+ } while ($slug_check);
62
+ $slug = $alt_slug;
63
+ }
64
+ return $slug;
65
+ }
66
+
67
+ public function bwg_get_unique_name($name, $id) {
68
+ global $wpdb;
69
+ if ($id != 0) {
70
+ $query = $wpdb->prepare("SELECT name FROM " . $wpdb->prefix . "terms WHERE name = %s AND term_id != %d", $name, $id);
71
+ }
72
+ else {
73
+ $query = $wpdb->prepare("SELECT name FROM " . $wpdb->prefix . "terms WHERE name = %s", $name);
74
+ }
75
+ if ($wpdb->get_var($query)) {
76
+ $num = 2;
77
+ do {
78
+ $alt_name = $name . "-$num";
79
+ $num++;
80
+ $slug_check = $wpdb->get_var($wpdb->prepare("SELECT name FROM " . $wpdb->prefix . "terms WHERE name = %s", $alt_name));
81
+ } while ($slug_check);
82
+ $name = $alt_name;
83
+ }
84
+ return $name;
85
+ }
86
+
87
+ public function save_tag() {
88
+ $name = ((isset($_POST['tagname'])) ? esc_html(stripslashes($_POST['tagname'])) : '');
89
+ $name = $this->bwg_get_unique_name($name, 0);
90
+ $slug = ((isset($_POST['slug']) && (esc_html($_POST['slug']) != '')) ? esc_html(stripslashes($_POST['slug'])) : $name);
91
+ $slug = $this->bwg_get_unique_slug($slug, 0);
92
+ $slug = sanitize_title($slug);
93
+ if ($name) {
94
+ $save = wp_insert_term($name, 'bwg_tag', array(
95
+ 'description'=> '',
96
+ 'slug' => $slug,
97
+ 'parent' => 0
98
+ )
99
+ );
100
+ if (isset($save->errors)) {
101
+ echo WDWLibrary::message('A term with the name provided already exists.', 'error');
102
+ }
103
+ else {
104
+ echo WDWLibrary::message('Item Succesfully Saved.', 'updated');
105
+ }
106
+ }
107
+ else {
108
+ echo WDWLibrary::message('Name field is required.', 'error');
109
+ }
110
+ }
111
+
112
+ function edit_tag() {
113
+ global $wpdb;
114
+ $flag = FALSE;
115
+ $id = ((isset($_REQUEST['tag_id'])) ? esc_html(stripslashes($_REQUEST['tag_id'])) : '');
116
+ $query = "SELECT count FROM " . $wpdb->prefix . "term_taxonomy WHERE term_id=" . $id;
117
+ $count = $wpdb->get_var($query);
118
+ $name = ((isset($_REQUEST['tagname'])) ? esc_html(stripslashes($_REQUEST['tagname'])) : '');
119
+ $name = $this->bwg_get_unique_name($name, $id);
120
+ if ($name) {
121
+ $slug = ((isset($_REQUEST['slug']) && (esc_html($_REQUEST['slug']) != '')) ? esc_html(stripslashes($_REQUEST['slug'])) : $name);
122
+ $slug = $this->bwg_get_unique_slug($slug, $id);
123
+ $save = wp_update_term($id, 'bwg_tag', array(
124
+ 'name' => $name,
125
+ 'slug' => $slug
126
+ ));
127
+ if (isset($save->errors)) {
128
+ echo 'The slug must be unique.';
129
+ }
130
+ else {
131
+ $flag = TRUE;
132
+ }
133
+ }
134
+ if ($flag) {
135
+ echo $name . '.' . $slug . '.' . $count;
136
+ }
137
+ die();
138
+ }
139
+
140
+ public function edit_tags() {
141
+ $flag = FALSE;
142
+ $rows = get_terms('bwg_tag', array('orderby' => 'count', 'hide_empty' => 0));
143
+ $name = ((isset($_POST['tagname'])) ? esc_html(stripslashes($_POST['tagname'])) : '');
144
+ $name = $this->bwg_get_unique_name($name, 0);
145
+ $slug = ((isset($_POST['slug']) && (esc_html($_POST['slug']) != '')) ? esc_html(stripslashes($_POST['slug'])) : $name);
146
+ $slug = $this->bwg_get_unique_slug($slug, 0);
147
+ if ($name) {
148
+ $save = wp_insert_term($name, 'bwg_tag', array(
149
+ 'description'=> '',
150
+ 'slug' => $slug,
151
+ 'parent' => 0
152
+ )
153
+ );
154
+ if (isset($save->errors)) {
155
+ echo WDWLibrary::message('A term with the name provided already exists.', 'error');
156
+ }
157
+ else {
158
+ echo WDWLibrary::message('Item Succesfully Saved.', 'updated');
159
+ }
160
+ }
161
+ foreach ($rows as $row) {
162
+ $id = $row->term_id;
163
+ $name = ((isset($_POST['tagname' . $row->term_id])) ? esc_html(stripslashes($_POST['tagname' . $id])) : '');
164
+ $name = $this->bwg_get_unique_name($name, $id);
165
+ if ($name) {
166
+ $slug = ((isset($_POST['slug' . $row->term_id]) && (esc_html($_POST['slug' . $id]) != '')) ? esc_html(stripslashes($_POST['slug' . $id])) : $name);
167
+ $slug = $this->bwg_get_unique_slug($slug, $id);
168
+ $save = wp_update_term($id, 'bwg_tag', array(
169
+ 'name' => $name,
170
+ 'slug' => $slug
171
+ ));
172
+ if (isset($save->errors)) {
173
+ echo WDWLibrary::message('The slug must be unique.', 'error');
174
+ }
175
+ else {
176
+ $flag = TRUE;
177
+ }
178
+ }
179
+ }
180
+ if ($flag) {
181
+ echo WDWLibrary::message('Item(s) Succesfully Saved.', 'updated');
182
+ }
183
+ $this->display();
184
+ }
185
+
186
+ public function delete($id) {
187
+ global $wpdb;
188
+ wp_delete_term($id, 'bwg_tag');
189
+ $query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_image_tag WHERE tag_id="%d"', $id);
190
+ $flag = $wpdb->query($query);
191
+ if ($flag !== FALSE) {
192
+ echo WDWLibrary::message('Item Succesfully Deleted.', 'updated');
193
+ }
194
+ else {
195
+ echo WDWLibrary::message('Error. Please install plugin again.', 'error');
196
+ }
197
+ $this->display();
198
+ }
199
+
200
+ public function delete_all() {
201
+ global $wpdb;
202
+ $flag = FALSE;
203
+ $tag_ids_col = $wpdb->get_col("SELECT term_id FROM " . $wpdb->prefix . "terms");
204
+ foreach ($tag_ids_col as $tag_id) {
205
+ if (isset($_POST['check_' . $tag_id])) {
206
+ wp_delete_term($tag_id, 'bwg_tag');
207
+ $wpdb->query($wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_image_tag WHERE tag_id="%d"', $tag_id));
208
+ $flag = TRUE;
209
+ }
210
+ }
211
+ if ($flag) {
212
+ echo WDWLibrary::message('Items Succesfully Deleted.', 'updated');
213
+ }
214
+ else {
215
+ echo WDWLibrary::message('You must select at least one item.', 'error');
216
+ }
217
+ $this->display();
218
+ }
219
+
220
+ ////////////////////////////////////////////////////////////////////////////////////////
221
+ // Getters & Setters //
222
+ ////////////////////////////////////////////////////////////////////////////////////////
223
+ ////////////////////////////////////////////////////////////////////////////////////////
224
+ // Private Methods //
225
+ ////////////////////////////////////////////////////////////////////////////////////////
226
+ ////////////////////////////////////////////////////////////////////////////////////////
227
+ // Listeners //
228
+ ////////////////////////////////////////////////////////////////////////////////////////
229
+ }
admin/controllers/BWGControllerThemes_bwg.php ADDED
@@ -0,0 +1,1443 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGControllerThemes_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ public function execute() {
22
+ $task = ((isset($_POST['task'])) ? esc_html($_POST['task']) : '');
23
+ $id = ((isset($_POST['current_id'])) ? esc_html($_POST['current_id']) : 0);
24
+ if (method_exists($this, $task)) {
25
+ $this->$task($id);
26
+ }
27
+ else {
28
+ $this->display();
29
+ }
30
+ }
31
+
32
+ public function display() {
33
+ require_once WD_BWG_DIR . "/admin/models/BWGModelThemes_bwg.php";
34
+ $model = new BWGModelThemes_bwg();
35
+
36
+ require_once WD_BWG_DIR . "/admin/views/BWGViewThemes_bwg.php";
37
+ $view = new BWGViewThemes_bwg($model);
38
+ $view->display();
39
+ }
40
+
41
+ public function add() {
42
+ require_once WD_BWG_DIR . "/admin/models/BWGModelThemes_bwg.php";
43
+ $model = new BWGModelThemes_bwg();
44
+
45
+ require_once WD_BWG_DIR . "/admin/views/BWGViewThemes_bwg.php";
46
+ $view = new BWGViewThemes_bwg($model);
47
+ $view->edit(0, false);
48
+ }
49
+
50
+ public function edit() {
51
+ require_once WD_BWG_DIR . "/admin/models/BWGModelThemes_bwg.php";
52
+ $model = new BWGModelThemes_bwg();
53
+
54
+ require_once WD_BWG_DIR . "/admin/views/BWGViewThemes_bwg.php";
55
+ $view = new BWGViewThemes_bwg($model);
56
+ $id = ((isset($_POST['current_id']) && esc_html($_POST['current_id']) != '') ? esc_html($_POST['current_id']) : 0);
57
+ $view->edit($id, false);
58
+ }
59
+
60
+ public function reset() {
61
+ require_once WD_BWG_DIR . "/admin/models/BWGModelThemes_bwg.php";
62
+ $model = new BWGModelThemes_bwg();
63
+
64
+ require_once WD_BWG_DIR . "/admin/views/BWGViewThemes_bwg.php";
65
+ $view = new BWGViewThemes_bwg($model);
66
+ $id = ((isset($_POST['current_id']) && esc_html($_POST['current_id']) != '') ? esc_html($_POST['current_id']) : 0);
67
+ echo WDWLibrary::message('Changes must be saved.', 'error');
68
+ $view->edit($id, TRUE);
69
+ }
70
+
71
+ public function save() {
72
+ $this->save_db();
73
+ $this->display();
74
+ }
75
+
76
+ public function apply() {
77
+ $this->save_db();
78
+ global $wpdb;
79
+ if (!isset($_POST['current_id']) || (esc_html($_POST['current_id']) == 0) || (esc_html($_POST['current_id']) == '')) {
80
+ $_POST['current_id'] = (int) $wpdb->get_var('SELECT MAX(`id`) FROM ' . $wpdb->prefix . 'bwg_theme');
81
+ }
82
+ $this->edit();
83
+ }
84
+
85
+ public function save_db() {
86
+ global $wpdb;
87
+ $id = (isset($_POST['current_id']) ? (int) esc_html(stripslashes( $_POST['current_id'])) : 0);
88
+ $name = (isset($_POST['name']) ? esc_html(stripslashes( $_POST['name'])) : 'exaple');
89
+ $thumb_margin = (isset($_POST['thumb_margin']) ? esc_html(stripslashes( $_POST['thumb_margin'])) : '');
90
+ $thumb_padding = (isset($_POST['thumb_padding']) ? esc_html(stripslashes( $_POST['thumb_padding'])) : '');
91
+ $thumb_border_radius = (isset($_POST['thumb_border_radius']) ? esc_html(stripslashes( $_POST['thumb_border_radius'])) :'');
92
+ $thumb_border_width = (isset($_POST['thumb_border_width']) ? (int) esc_html(stripslashes( $_POST['thumb_border_width'])) : 1);
93
+ $thumb_border_style = (isset($_POST['thumb_border_style']) ? esc_html(stripslashes( $_POST['thumb_border_style'])) : 'solid');
94
+ $thumb_border_color = (isset($_POST['thumb_border_color']) ? esc_html(stripslashes( $_POST['thumb_border_color'])) : '000000');
95
+ $thumb_bg_color = (isset($_POST['thumb_bg_color']) ? esc_html(stripslashes( $_POST['thumb_bg_color'])) : 'FFFFFF');
96
+ $thumbs_bg_color = (isset($_POST['thumbs_bg_color']) ? esc_html(stripslashes( $_POST['thumbs_bg_color'])) : 'FFFFFF');
97
+ $thumb_bg_transparent = (isset($_POST['thumb_bg_transparent']) ? (int) esc_html(stripslashes( $_POST['thumb_bg_transparent'])) :0);
98
+ $thumb_box_shadow = (isset($_POST['thumb_box_shadow']) ? esc_html(stripslashes( $_POST['thumb_box_shadow'])) : '');
99
+ $thumb_transparent = (isset($_POST['thumb_transparent']) ? (int) esc_html(stripslashes( $_POST['thumb_transparent'])) : 0);
100
+ $thumb_align = (isset($_POST['thumb_align']) ? esc_html(stripslashes( $_POST['thumb_align'])) : '');
101
+ $thumb_hover_effect = (isset($_POST['thumb_hover_effect']) ? esc_html(stripslashes( $_POST['thumb_hover_effect'])) : '');
102
+ $thumb_hover_effect_value = (isset($_POST['thumb_hover_effect_value']) ? esc_html(stripslashes( $_POST['thumb_hover_effect_value'])) : '');
103
+ $thumb_transition = (isset($_POST['thumb_transition']) ? (int) esc_html(stripslashes( $_POST['thumb_transition'])) : 0);
104
+ $page_nav_position = (isset($_POST['page_nav_position']) ? esc_html(stripslashes( $_POST['page_nav_position'])) : 'top');
105
+ $page_nav_align = (isset($_POST['page_nav_align']) ? esc_html(stripslashes( $_POST['page_nav_align'])) : 'center');
106
+ $page_nav_number = (isset($_POST['page_nav_number']) ? (int) esc_html(stripslashes( $_POST['page_nav_number'])) : 1);
107
+ $page_nav_font_size = (isset($_POST['page_nav_font_size']) ? (int) esc_html(stripslashes( $_POST['page_nav_font_size'])) : 13);
108
+ $page_nav_font_style = (isset($_POST['page_nav_font_style']) ? esc_html(stripslashes( $_POST['page_nav_font_style'])) : 'solid');
109
+ $page_nav_font_color = (isset($_POST['page_nav_font_color']) ? esc_html(stripslashes( $_POST['page_nav_font_color'])) : '000000');
110
+ $page_nav_font_weight = (isset($_POST['page_nav_font_weight']) ? esc_html(stripslashes( $_POST['page_nav_font_weight'])) : '');
111
+ $page_nav_border_width = (isset($_POST['page_nav_border_width']) ? (int) esc_html(stripslashes( $_POST['page_nav_border_width'])) : 1);
112
+ $page_nav_border_style = (isset($_POST['page_nav_border_style']) ? esc_html(stripslashes( $_POST['page_nav_border_style'])) : 'solid');
113
+ $page_nav_border_color = (isset($_POST['page_nav_border_color']) ? esc_html(stripslashes( $_POST['page_nav_border_color'])) : '');
114
+ $page_nav_border_radius = (isset($_POST['page_nav_border_radius']) ? esc_html(stripslashes( $_POST['page_nav_border_radius'])) : '');
115
+ $page_nav_margin = (isset($_POST['page_nav_margin']) ? esc_html(stripslashes( $_POST['page_nav_margin'])) : '');
116
+ $page_nav_padding = (isset($_POST['page_nav_padding']) ? esc_html(stripslashes( $_POST['page_nav_padding'])) : '');
117
+ $page_nav_button_bg_color = (isset($_POST['page_nav_button_bg_color']) ? esc_html(stripslashes( $_POST['page_nav_button_bg_color'])) : 'FFFFFF');
118
+ $page_nav_button_bg_transparent = (isset($_POST['page_nav_button_bg_transparent']) ? (int) esc_html(stripslashes( $_POST['page_nav_button_bg_transparent'])) : 0);
119
+ $page_nav_box_shadow = (isset($_POST['page_nav_box_shadow']) ? esc_html(stripslashes( $_POST['page_nav_box_shadow'])) : '');
120
+ $page_nav_button_transition = (isset($_POST['page_nav_button_transition']) ? (int) esc_html(stripslashes( $_POST['page_nav_button_transition'])) : 0);
121
+ $page_nav_button_text = (isset($_POST['page_nav_button_text']) ? (int) esc_html(stripslashes( $_POST['page_nav_button_text'])) : 0);
122
+ $lightbox_ctrl_btn_pos = (isset($_POST['lightbox_ctrl_btn_pos']) ? esc_html(stripslashes( $_POST['lightbox_ctrl_btn_pos'])) :'top');
123
+ $lightbox_ctrl_btn_align = (isset($_POST['lightbox_ctrl_btn_align']) ? esc_html(stripslashes( $_POST['lightbox_ctrl_btn_align'])) : 'left');
124
+ $lightbox_ctrl_btn_height = (isset($_POST['lightbox_ctrl_btn_height']) ? (int) esc_html(stripslashes( $_POST['lightbox_ctrl_btn_height'])) : 1);
125
+ $lightbox_ctrl_btn_margin_top = (isset($_POST['lightbox_ctrl_btn_margin_top']) ? (int) esc_html(stripslashes( $_POST['lightbox_ctrl_btn_margin_top'])) : 1);
126
+ $lightbox_ctrl_btn_margin_left = (isset($_POST['lightbox_ctrl_btn_margin_left']) ? (int) esc_html(stripslashes( $_POST['lightbox_ctrl_btn_margin_left'])) : 0);
127
+ $lightbox_ctrl_btn_transparent = (isset($_POST['lightbox_ctrl_btn_transparent']) ? (int) esc_html(stripslashes( $_POST['lightbox_ctrl_btn_transparent'])) : 0);
128
+ $lightbox_ctrl_btn_color = (isset($_POST['lightbox_ctrl_btn_color']) ? esc_html(stripslashes( $_POST['lightbox_ctrl_btn_color'])) : '000000');
129
+ $lightbox_toggle_btn_height = (isset($_POST['lightbox_toggle_btn_height']) ? (int) esc_html(stripslashes( $_POST['lightbox_toggle_btn_height'])) : 1);
130
+ $lightbox_toggle_btn_width = (isset($_POST['lightbox_toggle_btn_width']) ? (int) esc_html(stripslashes( $_POST['lightbox_toggle_btn_width'])) : 1);
131
+ $lightbox_ctrl_cont_bg_color = (isset($_POST['lightbox_ctrl_cont_bg_color']) ? esc_html(stripslashes( $_POST['lightbox_ctrl_cont_bg_color'])) : '000000');
132
+ $lightbox_ctrl_cont_border_radius = (isset($_POST['lightbox_ctrl_cont_border_radius']) ? (int) esc_html(stripslashes( $_POST['lightbox_ctrl_cont_border_radius'])) : 1);
133
+ $lightbox_ctrl_cont_transparent = (isset($_POST['lightbox_ctrl_cont_transparent']) ? (int) esc_html(stripslashes( $_POST['lightbox_ctrl_cont_transparent'])) : 1);
134
+ $lightbox_close_btn_bg_color = (isset($_POST['lightbox_close_btn_bg_color']) ? esc_html(stripslashes( $_POST['lightbox_close_btn_bg_color'])) : '000000');
135
+ $lightbox_close_btn_border_radius = (isset($_POST['lightbox_close_btn_border_radius']) ? esc_html(stripslashes( $_POST['lightbox_close_btn_border_radius'])) : '16px');
136
+ $lightbox_close_btn_border_width = (isset($_POST['lightbox_close_btn_border_width']) ? (int) esc_html(stripslashes( $_POST['lightbox_close_btn_border_width'])) : 1);
137
+ $lightbox_close_btn_border_style = (isset($_POST['lightbox_close_btn_border_style']) ? esc_html(stripslashes( $_POST['lightbox_close_btn_border_style'])) : 'solid');
138
+ $lightbox_close_btn_border_color = (isset($_POST['lightbox_close_btn_border_color']) ? esc_html(stripslashes( $_POST['lightbox_close_btn_border_color'])) : '000000');
139
+ $lightbox_close_btn_box_shadow = (isset($_POST['lightbox_close_btn_box_shadow']) ? esc_html(stripslashes( $_POST['lightbox_close_btn_box_shadow'])) : '');
140
+ $lightbox_close_btn_color = (isset($_POST['lightbox_close_btn_color']) ? esc_html(stripslashes( $_POST['lightbox_close_btn_color'])) : '000000');
141
+ $lightbox_close_btn_size = (isset($_POST['lightbox_close_btn_size']) ? (int) esc_html(stripslashes( $_POST['lightbox_close_btn_size'])) : 1);
142
+ $lightbox_close_btn_width = (isset($_POST['lightbox_close_btn_width']) ? (int) esc_html(stripslashes( $_POST['lightbox_close_btn_width'])) : 1);
143
+ $lightbox_close_btn_height = (isset($_POST['lightbox_close_btn_height']) ? (int) esc_html(stripslashes( $_POST['lightbox_close_btn_height'])) : 1);
144
+ $lightbox_close_btn_top = (isset($_POST['lightbox_close_btn_top']) ? esc_html(stripslashes( $_POST['lightbox_close_btn_top'])) : '');
145
+ $lightbox_close_btn_right = (isset($_POST['lightbox_close_btn_right']) ? esc_html(stripslashes( $_POST['lightbox_close_btn_right'])) : '');
146
+ $lightbox_close_btn_full_color = (isset($_POST['lightbox_close_btn_full_color']) ? esc_html(stripslashes( $_POST['lightbox_close_btn_full_color'])) : '000000');
147
+ $lightbox_close_btn_transparent = (isset($_POST['lightbox_close_btn_transparent']) ? (int) esc_html(stripslashes( $_POST['lightbox_close_btn_transparent'])) : 1);
148
+ $lightbox_rl_btn_bg_color = (isset($_POST['lightbox_rl_btn_bg_color']) ? esc_html(stripslashes( $_POST['lightbox_rl_btn_bg_color'])) : '000000');
149
+ $lightbox_rl_btn_transparent = (isset($_POST['lightbox_rl_btn_transparent']) ? esc_html(stripslashes( $_POST['lightbox_rl_btn_transparent'])) : 100);
150
+ $lightbox_rl_btn_border_radius = (isset($_POST['lightbox_rl_btn_border_radius']) ? esc_html(stripslashes( $_POST['lightbox_rl_btn_border_radius'])) : '');
151
+ $lightbox_rl_btn_border_width = (isset($_POST['lightbox_rl_btn_border_width']) ? (int) esc_html(stripslashes( $_POST['lightbox_rl_btn_border_width'])) : 1);
152
+ $lightbox_rl_btn_border_style = (isset($_POST['lightbox_rl_btn_border_style']) ? esc_html(stripslashes( $_POST['lightbox_rl_btn_border_style'])) : 'solid');
153
+ $lightbox_rl_btn_border_color = (isset($_POST['lightbox_rl_btn_border_color']) ? esc_html(stripslashes( $_POST['lightbox_rl_btn_border_color'])) : '000000');
154
+ $lightbox_rl_btn_box_shadow = (isset($_POST['lightbox_rl_btn_box_shadow']) ? esc_html(stripslashes( $_POST['lightbox_rl_btn_box_shadow'])) : '');
155
+ $lightbox_rl_btn_color = (isset($_POST['lightbox_rl_btn_color']) ? esc_html(stripslashes( $_POST['lightbox_rl_btn_color'])) : '000000');
156
+ $lightbox_rl_btn_height = (isset($_POST['lightbox_rl_btn_height']) ? (int) esc_html(stripslashes( $_POST['lightbox_rl_btn_height'])) : 1);
157
+ $lightbox_rl_btn_width = (isset($_POST['lightbox_rl_btn_width']) ? (int) esc_html(stripslashes( $_POST['lightbox_rl_btn_width'])) : 1);
158
+ $lightbox_rl_btn_size = (isset($_POST['lightbox_rl_btn_size']) ? (int) esc_html(stripslashes( $_POST['lightbox_rl_btn_size'])) : 1);
159
+ $lightbox_close_rl_btn_hover_color = (isset($_POST['lightbox_close_rl_btn_hover_color']) ? esc_html(stripslashes( $_POST['lightbox_close_rl_btn_hover_color'])) : '000000');
160
+ $lightbox_comment_pos = (isset($_POST['lightbox_comment_pos']) ? esc_html(stripslashes( $_POST['lightbox_comment_pos'])) : 'left');
161
+ $lightbox_comment_width = (isset($_POST['lightbox_comment_width']) ? (int) esc_html(stripslashes( $_POST['lightbox_comment_width'])) : 1);
162
+ $lightbox_comment_bg_color = (isset($_POST['lightbox_comment_bg_color']) ? esc_html(stripslashes( $_POST['lightbox_comment_bg_color'])) : '000000');
163
+ $lightbox_comment_font_color = (isset($_POST['lightbox_comment_font_color']) ? esc_html(stripslashes( $_POST['lightbox_comment_font_color'])) : '000000');
164
+ $lightbox_comment_font_style = (isset($_POST['lightbox_comment_font_style']) ? esc_html(stripslashes( $_POST['lightbox_comment_font_style'])) : '');
165
+ $lightbox_comment_font_size = (isset($_POST['lightbox_comment_font_size']) ? (int) esc_html(stripslashes( $_POST['lightbox_comment_font_size'])) : 1 );
166
+ $lightbox_comment_button_bg_color = (isset($_POST['lightbox_comment_button_bg_color']) ? esc_html(stripslashes( $_POST['lightbox_comment_button_bg_color'])) : '000000');
167
+ $lightbox_comment_button_border_color = (isset($_POST['lightbox_comment_button_border_color']) ? esc_html(stripslashes( $_POST['lightbox_comment_button_border_color'])) : '000000');
168
+ $lightbox_comment_button_border_width = (isset($_POST['lightbox_comment_button_border_width']) ? (int) esc_html(stripslashes( $_POST['lightbox_comment_button_border_width'])) : 1);
169
+ $lightbox_comment_button_border_style = (isset($_POST['lightbox_comment_button_border_style']) ? esc_html(stripslashes( $_POST['lightbox_comment_button_border_style'])) : 'solid');
170
+ $lightbox_comment_button_border_radius = (isset($_POST['lightbox_comment_button_border_radius']) ? esc_html(stripslashes( $_POST['lightbox_comment_button_border_radius'])) : '');
171
+ $lightbox_comment_button_padding = (isset($_POST['lightbox_comment_button_padding']) ? esc_html(stripslashes( $_POST['lightbox_comment_button_padding'])) : '');
172
+ $lightbox_comment_input_bg_color = (isset($_POST['lightbox_comment_input_bg_color']) ? esc_html(stripslashes( $_POST['lightbox_comment_input_bg_color'])) : '000000');
173
+ $lightbox_comment_input_border_color = (isset($_POST['lightbox_comment_input_border_color']) ? esc_html(stripslashes( $_POST['lightbox_comment_input_border_color'])) : '000000');
174
+ $lightbox_comment_input_border_width = (isset($_POST['lightbox_comment_input_border_width']) ? (int) esc_html(stripslashes( $_POST['lightbox_comment_input_border_width'])) : 1);
175
+ $lightbox_comment_input_border_style = (isset($_POST['lightbox_comment_input_border_style']) ? esc_html(stripslashes( $_POST['lightbox_comment_input_border_style'])) : 'solid');
176
+ $lightbox_comment_input_border_radius = (isset($_POST['lightbox_comment_input_border_radius']) ? esc_html(stripslashes( $_POST['lightbox_comment_input_border_radius'])) : '');
177
+ $lightbox_comment_input_padding = (isset($_POST['lightbox_comment_input_padding']) ? esc_html(stripslashes( $_POST['lightbox_comment_input_padding'])) : '');
178
+ $lightbox_comment_separator_width = (isset($_POST['lightbox_comment_separator_width']) ? (int) esc_html(stripslashes( $_POST['lightbox_comment_separator_width'])) : 1);
179
+ $lightbox_comment_separator_style = (isset($_POST['lightbox_comment_separator_style']) ? esc_html(stripslashes( $_POST['lightbox_comment_separator_style'])) : 'solid');
180
+ $lightbox_comment_separator_color = (isset($_POST['lightbox_comment_separator_color']) ? esc_html(stripslashes( $_POST['lightbox_comment_separator_color'])) : '000000');
181
+ $lightbox_comment_author_font_size = (isset($_POST['lightbox_comment_author_font_size']) ? (int) esc_html(stripslashes( $_POST['lightbox_comment_author_font_size'])) : 1);
182
+ $lightbox_comment_date_font_size = (isset($_POST['lightbox_comment_date_font_size']) ? (int) esc_html(stripslashes( $_POST['lightbox_comment_date_font_size'])) : 1);
183
+ $lightbox_comment_body_font_size = (isset($_POST['lightbox_comment_body_font_size']) ? (int) esc_html(stripslashes( $_POST['lightbox_comment_body_font_size'])) : 1);
184
+ $lightbox_comment_share_button_color = (isset($_POST['lightbox_comment_share_button_color']) ? esc_html(stripslashes( $_POST['lightbox_comment_share_button_color'])) : '000000');
185
+ $lightbox_filmstrip_rl_bg_color = (isset($_POST['lightbox_filmstrip_rl_bg_color']) ? esc_html(stripslashes( $_POST['lightbox_filmstrip_rl_bg_color'])) : '000000');
186
+ $lightbox_filmstrip_rl_btn_size = (isset($_POST['lightbox_filmstrip_rl_btn_size']) ? (int) esc_html(stripslashes( $_POST['lightbox_filmstrip_rl_btn_size'])) : 1);
187
+ $lightbox_filmstrip_rl_btn_color = (isset($_POST['lightbox_filmstrip_rl_btn_color']) ? esc_html(stripslashes( $_POST['lightbox_filmstrip_rl_btn_color'])) : '000000');
188
+ $lightbox_filmstrip_thumb_margin = (isset($_POST['lightbox_filmstrip_thumb_margin']) ? esc_html(stripslashes( $_POST['lightbox_filmstrip_thumb_margin'])) : '');
189
+ $lightbox_filmstrip_thumb_border_width = (isset($_POST['lightbox_filmstrip_thumb_border_width']) ? (int) esc_html(stripslashes( $_POST['lightbox_filmstrip_thumb_border_width'])) : 1);
190
+ $lightbox_filmstrip_thumb_border_style = (isset($_POST['lightbox_filmstrip_thumb_border_style']) ? esc_html(stripslashes( $_POST['lightbox_filmstrip_thumb_border_style'])) : 'solid');
191
+ $lightbox_filmstrip_thumb_border_color = (isset($_POST['lightbox_filmstrip_thumb_border_color']) ? esc_html(stripslashes( $_POST['lightbox_filmstrip_thumb_border_color'])) : '000000');
192
+ $lightbox_filmstrip_thumb_border_radius = (isset($_POST['lightbox_filmstrip_thumb_border_radius']) ? esc_html(stripslashes( $_POST['lightbox_filmstrip_thumb_border_radius'])) : '');
193
+ $lightbox_filmstrip_thumb_deactive_transparent = (isset($_POST['lightbox_filmstrip_thumb_deactive_transparent']) ? (int) esc_html(stripslashes( $_POST['lightbox_filmstrip_thumb_deactive_transparent'])) : 1);
194
+ $lightbox_filmstrip_pos = (isset($_POST['lightbox_filmstrip_pos']) ? esc_html(stripslashes( $_POST['lightbox_filmstrip_pos'])) : 'top');
195
+ $lightbox_filmstrip_thumb_active_border_width = (isset($_POST['lightbox_filmstrip_thumb_active_border_width']) ? (int) esc_html(stripslashes( $_POST['lightbox_filmstrip_thumb_active_border_width'])) : 1);
196
+ $lightbox_filmstrip_thumb_active_border_color = (isset($_POST['lightbox_filmstrip_thumb_active_border_color']) ? esc_html(stripslashes( $_POST['lightbox_filmstrip_thumb_active_border_color'])) : '000000');
197
+ $lightbox_overlay_bg_transparent = (isset($_POST['lightbox_overlay_bg_transparent']) ? (int) esc_html(stripslashes( $_POST['lightbox_overlay_bg_transparent'])) : 80);
198
+ $lightbox_bg_color = (isset($_POST['lightbox_bg_color']) ? esc_html(stripslashes( $_POST['lightbox_bg_color'])) : '000000');
199
+ $lightbox_overlay_bg_color = (isset($_POST['lightbox_overlay_bg_color']) ? esc_html(stripslashes( $_POST['lightbox_overlay_bg_color'])) : '000000');
200
+ $lightbox_rl_btn_style = (isset($_POST['lightbox_rl_btn_style']) ? esc_html(stripslashes( $_POST['lightbox_rl_btn_style'])) : 'fa-chevron');
201
+
202
+ $blog_style_margin = (isset($_POST['blog_style_margin']) ? esc_html(stripslashes( $_POST['blog_style_margin'])) : '');
203
+ $blog_style_padding = (isset($_POST['blog_style_padding']) ? esc_html(stripslashes( $_POST['blog_style_padding'])) : '');
204
+ $blog_style_border_radius = (isset($_POST['blog_style_border_radius']) ? esc_html(stripslashes( $_POST['blog_style_border_radius'])) :'');
205
+ $blog_style_border_width = (isset($_POST['blog_style_border_width']) ? (int) esc_html(stripslashes( $_POST['blog_style_border_width'])) : 1);
206
+ $blog_style_border_style = (isset($_POST['blog_style_border_style']) ? esc_html(stripslashes( $_POST['blog_style_border_style'])) : 'solid');
207
+ $blog_style_border_color = (isset($_POST['blog_style_border_color']) ? esc_html(stripslashes( $_POST['blog_style_border_color'])) : '000000');
208
+ $blog_style_bg_color = (isset($_POST['blog_style_bg_color']) ? esc_html(stripslashes( $_POST['blog_style_bg_color'])) : 'FFFFFF');
209
+ $blog_style_box_shadow = (isset($_POST['blog_style_box_shadow']) ? esc_html(stripslashes( $_POST['blog_style_box_shadow'])) : '');
210
+ $blog_style_transparent = (isset($_POST['blog_style_transparent']) ? (int) esc_html(stripslashes( $_POST['blog_style_transparent'])) : 0);
211
+ $blog_style_align = (isset($_POST['blog_style_align']) ? esc_html(stripslashes( $_POST['blog_style_align'])) : '');
212
+ $blog_style_share_buttons_margin = (isset($_POST['blog_style_share_buttons_margin']) ? esc_html(stripslashes( $_POST['blog_style_share_buttons_margin'])) : '');
213
+ $blog_style_share_buttons_border_radius = (isset($_POST['blog_style_share_buttons_border_radius']) ? esc_html(stripslashes( $_POST['blog_style_share_buttons_border_radius'])) :'');
214
+ $blog_style_share_buttons_border_width = (isset($_POST['blog_style_share_buttons_border_width']) ? (int) esc_html(stripslashes( $_POST['blog_style_share_buttons_border_width'])) : 1);
215
+ $blog_style_share_buttons_border_style = (isset($_POST['blog_style_share_buttons_border_style']) ? esc_html(stripslashes( $_POST['blog_style_share_buttons_border_style'])) : 'solid');
216
+ $blog_style_share_buttons_border_color = (isset($_POST['blog_style_share_buttons_border_color']) ? esc_html(stripslashes( $_POST['blog_style_share_buttons_border_color'])) : '000000');
217
+ $blog_style_share_buttons_bg_color = (isset($_POST['blog_style_share_buttons_bg_color']) ? esc_html(stripslashes( $_POST['blog_style_share_buttons_bg_color'])) : 'FFFFFF');
218
+ $blog_style_share_buttons_align = (isset($_POST['blog_style_share_buttons_align']) ? esc_html(stripslashes( $_POST['blog_style_share_buttons_align'])) : '');
219
+ $blog_style_img_font_size = (isset($_POST['blog_style_img_font_size']) ? (int) esc_html(stripslashes( $_POST['blog_style_img_font_size'])) : 1);
220
+ $blog_style_img_font_family = (isset($_POST['blog_style_img_font_family']) ? esc_html(stripslashes( $_POST['blog_style_img_font_family'])) : 'cursive');
221
+ $blog_style_img_font_color = (isset($_POST['blog_style_img_font_color']) ? esc_html(stripslashes( $_POST['blog_style_img_font_color'])) : '000000');
222
+ $blog_style_share_buttons_font_size = (isset($_POST['blog_style_share_buttons_font_size']) ? (int) esc_html(stripslashes( $_POST['blog_style_share_buttons_font_size'])) : 20);
223
+ $blog_style_share_buttons_color = (isset($_POST['blog_style_share_buttons_color']) ? esc_html(stripslashes( $_POST['blog_style_share_buttons_color'])) : 'C7C3C3');
224
+ $blog_style_share_buttons_bg_transparent = (isset($_POST['blog_style_share_buttons_bg_transparent']) ? (int) esc_html(stripslashes( $_POST['blog_style_share_buttons_bg_transparent'])) : 0);
225
+
226
+ $image_browser_margin = (isset($_POST['image_browser_margin']) ? esc_html(stripslashes( $_POST['image_browser_margin'])) : '');
227
+ $image_browser_padding = (isset($_POST['image_browser_padding']) ? esc_html(stripslashes( $_POST['image_browser_padding'])) : '');
228
+ $image_browser_border_radius = (isset($_POST['image_browser_border_radius']) ? esc_html(stripslashes( $_POST['image_browser_border_radius'])) :'');
229
+ $image_browser_border_width = (isset($_POST['image_browser_border_width']) ? (int) esc_html(stripslashes( $_POST['image_browser_border_width'])) : 1);
230
+ $image_browser_border_style = (isset($_POST['image_browser_border_style']) ? esc_html(stripslashes( $_POST['image_browser_border_style'])) : 'solid');
231
+ $image_browser_border_color = (isset($_POST['image_browser_border_color']) ? esc_html(stripslashes( $_POST['image_browser_border_color'])) : '000000');
232
+ $image_browser_bg_color = (isset($_POST['image_browser_bg_color']) ? esc_html(stripslashes( $_POST['image_browser_bg_color'])) : 'FFFFFF');
233
+ $image_browser_box_shadow = (isset($_POST['image_browser_box_shadow']) ? esc_html(stripslashes( $_POST['image_browser_box_shadow'])) : '');
234
+ $image_browser_transparent = (isset($_POST['image_browser_transparent']) ? (int) esc_html(stripslashes( $_POST['image_browser_transparent'])) : 0);
235
+ $image_browser_align = (isset($_POST['image_browser_align']) ? esc_html(stripslashes( $_POST['image_browser_align'])) : '');
236
+ $image_browser_image_description_margin = (isset($_POST['image_browser_image_description_margin']) ? esc_html(stripslashes( $_POST['image_browser_image_description_margin'])) : '');
237
+ $image_browser_image_description_padding = (isset($_POST['image_browser_image_description_padding']) ? esc_html(stripslashes( $_POST['image_browser_image_description_padding'])) : '');
238
+ $image_browser_image_description_border_radius = (isset($_POST['image_browser_image_description_border_radius']) ? esc_html(stripslashes( $_POST['image_browser_image_description_border_radius'])) :'');
239
+ $image_browser_image_description_border_width = (isset($_POST['image_browser_image_description_border_width']) ? (int) esc_html(stripslashes( $_POST['image_browser_image_description_border_width'])) : 1);
240
+ $image_browser_image_description_border_style = (isset($_POST['image_browser_image_description_border_style']) ? esc_html(stripslashes( $_POST['image_browser_image_description_border_style'])) : 'solid');
241
+ $image_browser_image_description_border_color = (isset($_POST['image_browser_image_description_border_color']) ? esc_html(stripslashes( $_POST['image_browser_image_description_border_color'])) : '000000');
242
+ $image_browser_image_description_bg_color = (isset($_POST['image_browser_image_description_bg_color']) ? esc_html(stripslashes( $_POST['image_browser_image_description_bg_color'])) : 'FFFFFF');
243
+ $image_browser_image_description_align = (isset($_POST['image_browser_image_description_align']) ? esc_html(stripslashes( $_POST['image_browser_image_description_align'])) : '');
244
+ $image_browser_img_font_size = (isset($_POST['image_browser_img_font_size']) ? (int) esc_html(stripslashes( $_POST['image_browser_img_font_size'])) : 1);
245
+ $image_browser_img_font_family = (isset($_POST['image_browser_img_font_family']) ? esc_html(stripslashes( $_POST['image_browser_img_font_family'])) : 'cursive');
246
+ $image_browser_img_font_color = (isset($_POST['image_browser_img_font_color']) ? esc_html(stripslashes( $_POST['image_browser_img_font_color'])) : '000000');
247
+ $image_browser_full_padding = (isset($_POST['image_browser_full_padding']) ? esc_html(stripslashes( $_POST['image_browser_full_padding'])) : '');
248
+ $image_browser_full_border_radius = (isset($_POST['image_browser_full_border_radius']) ? esc_html(stripslashes( $_POST['image_browser_full_border_radius'])) :'');
249
+ $image_browser_full_border_width = (isset($_POST['image_browser_full_border_width']) ? (int) esc_html(stripslashes( $_POST['image_browser_full_border_width'])) : 1);
250
+ $image_browser_full_border_style = (isset($_POST['image_browser_full_border_style']) ? esc_html(stripslashes( $_POST['image_browser_full_border_style'])) : 'solid');
251
+ $image_browser_full_border_color = (isset($_POST['image_browser_full_border_color']) ? esc_html(stripslashes( $_POST['image_browser_full_border_color'])) : '000000');
252
+ $image_browser_full_bg_color = (isset($_POST['image_browser_full_bg_color']) ? esc_html(stripslashes( $_POST['image_browser_full_bg_color'])) : 'FFFFFF');
253
+ $image_browser_full_transparent = (isset($_POST['image_browser_full_transparent']) ? (int) esc_html(stripslashes( $_POST['image_browser_full_transparent'])) : 0);
254
+
255
+ $album_compact_title_margin = (isset($_POST['album_compact_title_margin']) ? esc_html(stripslashes( $_POST['album_compact_title_margin'])) : '');
256
+ $album_compact_thumb_margin = (isset($_POST['album_compact_thumb_margin']) ? (int) esc_html(stripslashes( $_POST['album_compact_thumb_margin'])) : 0);
257
+ $album_compact_back_padding = (isset($_POST['album_compact_back_padding']) ? esc_html(stripslashes( $_POST['album_compact_back_padding'])) : '');
258
+ $album_compact_thumb_padding = (isset($_POST['album_compact_thumb_padding']) ? (int) esc_html(stripslashes( $_POST['album_compact_thumb_padding'])) : 0);
259
+ $album_compact_thumb_border_radius = (isset($_POST['album_compact_thumb_border_radius']) ? esc_html(stripslashes( $_POST['album_compact_thumb_border_radius'])) :'');
260
+ $album_compact_thumb_border_width = (isset($_POST['album_compact_thumb_border_width']) ? (int) esc_html(stripslashes( $_POST['album_compact_thumb_border_width'])) : 1);
261
+ $album_compact_title_font_style = (isset($_POST['album_compact_title_font_style']) ? esc_html(stripslashes( $_POST['album_compact_title_font_style'])) : 'inherit');
262
+ $album_compact_back_font_color = (isset($_POST['album_compact_back_font_color']) ? esc_html(stripslashes( $_POST['album_compact_back_font_color'])) : '000000');
263
+ $album_compact_title_font_color = (isset($_POST['album_compact_title_font_color']) ? esc_html(stripslashes( $_POST['album_compact_title_font_color'])) : 'FFFFFF');
264
+ $album_compact_title_shadow = (isset($_POST['album_compact_title_shadow']) ? esc_html(stripslashes( $_POST['album_compact_title_shadow'])) : '');
265
+ $album_compact_thumb_bg_transparent = (isset($_POST['album_compact_thumb_bg_transparent']) ? (int) esc_html(stripslashes( $_POST['album_compact_thumb_bg_transparent'])) : 0);
266
+ $album_compact_thumb_box_shadow = (isset($_POST['album_compact_thumb_box_shadow']) ? esc_html(stripslashes( $_POST['album_compact_thumb_box_shadow'])) : '');
267
+ $album_compact_thumb_transition = (isset($_POST['album_compact_thumb_transition']) ? (int) esc_html(stripslashes( $_POST['album_compact_thumb_transition'])) : 1);
268
+ $album_compact_thumb_border_style = (isset($_POST['album_compact_thumb_border_style']) ? esc_html(stripslashes( $_POST['album_compact_thumb_border_style'])) : 'solid');
269
+ $album_compact_thumb_border_color = (isset($_POST['album_compact_thumb_border_color']) ? esc_html(stripslashes( $_POST['album_compact_thumb_border_color'])) : '000000');
270
+ $album_compact_thumb_bg_color = (isset($_POST['album_compact_thumb_bg_color']) ? esc_html(stripslashes( $_POST['album_compact_thumb_bg_color'])) : 'FFFFFF');
271
+ $album_compact_back_font_weight = (isset($_POST['album_compact_back_font_weight']) ? esc_html(stripslashes( $_POST['album_compact_back_font_weight'])) : 'normal');
272
+ $album_compact_back_font_size = (isset($_POST['album_compact_back_font_size']) ? (int) esc_html(stripslashes( $_POST['album_compact_back_font_size'])) : 12);
273
+ $album_compact_back_font_style = (isset($_POST['album_compact_back_font_style']) ? esc_html(stripslashes( $_POST['album_compact_back_font_style'])) : 'inherit');
274
+ $album_compact_thumbs_bg_color = (isset($_POST['album_compact_thumbs_bg_color']) ? esc_html(stripslashes( $_POST['album_compact_thumbs_bg_color'])) : 'FFFFFF');
275
+ $album_compact_title_font_size = (isset($_POST['album_compact_title_font_size']) ? (int) esc_html(stripslashes( $_POST['album_compact_title_font_size'])) : 12);
276
+ $album_compact_title_font_weight = (isset($_POST['album_compact_title_font_weight']) ? esc_html(stripslashes( $_POST['album_compact_title_font_weight'])) : 'normal');
277
+ $album_compact_thumb_align = (isset($_POST['album_compact_thumb_align']) ? esc_html(stripslashes( $_POST['album_compact_thumb_align'])) : 'center');
278
+ $album_compact_thumb_hover_effect = (isset($_POST['album_compact_thumb_hover_effect']) ? esc_html(stripslashes( $_POST['album_compact_thumb_hover_effect'])) :'skew');
279
+ $album_compact_thumb_transparent = (isset($_POST['album_compact_thumb_transparent']) ? (int) esc_html(stripslashes( $_POST['album_compact_thumb_transparent'])) : 80);
280
+ $album_compact_thumb_hover_effect_value = (isset($_POST['album_compact_thumb_hover_effect_value']) ? esc_html(stripslashes( $_POST['album_compact_thumb_hover_effect_value'])) : '35deg');
281
+ $album_extended_thumb_margin = (isset($_POST['album_extended_thumb_margin']) ? (int) esc_html(stripslashes( $_POST['album_extended_thumb_margin'])) : 0);
282
+ $album_extended_thumb_padding = (isset($_POST['album_extended_thumb_padding']) ? (int) esc_html(stripslashes( $_POST['album_extended_thumb_padding'])) : 0);
283
+ $album_extended_thumb_border_radius = (isset($_POST['album_extended_thumb_border_radius']) ? esc_html(stripslashes( $_POST['album_extended_thumb_border_radius'])) : '');
284
+ $album_extended_thumb_border_width = (isset($_POST['album_extended_thumb_border_width']) ? (int) esc_html(stripslashes( $_POST['album_extended_thumb_border_width'])) :1);
285
+ $album_extended_thumb_border_style = (isset($_POST['album_extended_thumb_border_style']) ? esc_html(stripslashes( $_POST['album_extended_thumb_border_style'])) :'solid');
286
+ $album_extended_thumb_border_color = (isset($_POST['album_extended_thumb_border_color']) ? esc_html(stripslashes( $_POST['album_extended_thumb_border_color'])) : '000000');
287
+ $album_extended_thumb_bg_color = (isset($_POST['album_extended_thumb_bg_color']) ? esc_html(stripslashes( $_POST['album_extended_thumb_bg_color'])) : 'FFFFFF');
288
+ $album_extended_thumbs_bg_color = (isset($_POST['album_extended_thumbs_bg_color']) ? esc_html(stripslashes( $_POST['album_extended_thumbs_bg_color'])) : 'FFFFFF');
289
+ $album_extended_thumb_bg_transparent = (isset($_POST['album_extended_thumb_bg_transparent']) ? (int) esc_html(stripslashes( $_POST['album_extended_thumb_bg_transparent'])) : 80);
290
+ $album_extended_thumb_box_shadow = (isset($_POST['album_extended_thumb_box_shadow']) ? esc_html(stripslashes( $_POST['album_extended_thumb_box_shadow'])) : '');
291
+ $album_extended_thumb_transparent = (isset($_POST['album_extended_thumb_transparent']) ? (int) esc_html(stripslashes( $_POST['album_extended_thumb_transparent'])) : 80);
292
+ $album_extended_thumb_align = (isset($_POST['album_extended_thumb_align']) ? esc_html(stripslashes( $_POST['album_extended_thumb_align'])) : 'center');
293
+ $album_extended_thumb_hover_effect = (isset($_POST['album_extended_thumb_hover_effect']) ? esc_html(stripslashes( $_POST['album_extended_thumb_hover_effect'])) : '');
294
+ $album_extended_thumb_hover_effect_value = (isset($_POST['album_extended_thumb_hover_effect_value']) ? esc_html(stripslashes( $_POST['album_extended_thumb_hover_effect_value'])) : '32deg');
295
+ $album_extended_thumb_transition = (isset($_POST['album_extended_thumb_transition']) ? (int) esc_html(stripslashes( $_POST['album_extended_thumb_transition'])) : 0);
296
+ $album_extended_back_font_color = (isset($_POST['album_extended_back_font_color']) ? esc_html(stripslashes( $_POST['album_extended_back_font_color'])) : '000000');
297
+ $album_extended_back_font_style = (isset($_POST['album_extended_back_font_style']) ? esc_html(stripslashes( $_POST['album_extended_back_font_style'])) : 'inherit');
298
+ $album_extended_back_font_size = (isset($_POST['album_extended_back_font_size']) ? (int) esc_html(stripslashes( $_POST['album_extended_back_font_size'])) : 12);
299
+ $album_extended_back_font_weight = (isset($_POST['album_extended_back_font_weight']) ? esc_html(stripslashes( $_POST['album_extended_back_font_weight'])) : 'normal');
300
+ $album_extended_back_padding = (isset($_POST['album_extended_back_padding']) ? esc_html(stripslashes( $_POST['album_extended_back_padding'])) : '');
301
+ $album_extended_div_bg_color = (isset($_POST['album_extended_div_bg_color']) ? esc_html(stripslashes( $_POST['album_extended_div_bg_color'])) : 'FFFFFF');
302
+ $album_extended_div_bg_transparent = (isset($_POST['album_extended_div_bg_transparent']) ? (int) esc_html(stripslashes( $_POST['album_extended_div_bg_transparent'])) : 80);
303
+ $album_extended_div_border_radius = (isset($_POST['album_extended_div_border_radius']) ? esc_html(stripslashes( $_POST['album_extended_div_border_radius'])) : '');
304
+ $album_extended_div_margin = (isset($_POST['album_extended_div_margin']) ? esc_html(stripslashes( $_POST['album_extended_div_margin'])) : '');
305
+ $album_extended_div_padding = (isset($_POST['album_extended_div_padding']) ? (int) esc_html(stripslashes( $_POST['album_extended_div_padding'])) : 0);
306
+ $album_extended_div_separator_width = (isset($_POST['album_extended_div_separator_width']) ? (int) esc_html(stripslashes( $_POST['album_extended_div_separator_width'])) : 1);
307
+ $album_extended_div_separator_style = (isset($_POST['album_extended_div_separator_style']) ? esc_html(stripslashes( $_POST['album_extended_div_separator_style'])) : 'solid');
308
+ $album_extended_div_separator_color = (isset($_POST['album_extended_div_separator_color']) ? esc_html(stripslashes( $_POST['album_extended_div_separator_color'])) : '000000');
309
+ $album_extended_thumb_div_bg_color = (isset($_POST['album_extended_thumb_div_bg_color']) ? esc_html(stripslashes( $_POST['album_extended_thumb_div_bg_color'])) : 'FFFFFF');
310
+ $album_extended_thumb_div_border_radius = (isset($_POST['album_extended_thumb_div_border_radius']) ? esc_html(stripslashes( $_POST['album_extended_thumb_div_border_radius'])) : '');
311
+ $album_extended_thumb_div_border_width = (isset($_POST['album_extended_thumb_div_border_width']) ? (int) esc_html(stripslashes( $_POST['album_extended_thumb_div_border_width'])) : 1);
312
+ $album_extended_thumb_div_border_style = (isset($_POST['album_extended_thumb_div_border_style']) ? esc_html(stripslashes( $_POST['album_extended_thumb_div_border_style'])) : 'solid');
313
+ $album_extended_thumb_div_border_color = (isset($_POST['album_extended_thumb_div_border_color']) ? esc_html(stripslashes( $_POST['album_extended_thumb_div_border_color'])) : '000000');
314
+ $album_extended_thumb_div_padding = (isset($_POST['album_extended_thumb_div_padding']) ? esc_html(stripslashes( $_POST['album_extended_thumb_div_padding'])) : '');
315
+ $album_extended_text_div_bg_color = (isset($_POST['album_extended_text_div_bg_color']) ? esc_html(stripslashes( $_POST['album_extended_text_div_bg_color'])) : 'FFFFFF');
316
+ $album_extended_text_div_border_radius = (isset($_POST['album_extended_text_div_border_radius']) ? esc_html(stripslashes( $_POST['album_extended_text_div_border_radius'])) : '');
317
+ $album_extended_text_div_border_width = (isset($_POST['album_extended_text_div_border_width']) ? (int) esc_html(stripslashes( $_POST['album_extended_text_div_border_width'])) : 1);
318
+ $album_extended_text_div_border_style = (isset($_POST['album_extended_text_div_border_style']) ? esc_html(stripslashes( $_POST['album_extended_text_div_border_style'])) : 'solid');
319
+ $album_extended_text_div_border_color = (isset($_POST['album_extended_text_div_border_color']) ? esc_html(stripslashes( $_POST['album_extended_text_div_border_color'])) : '000000');
320
+ $album_extended_text_div_padding = (isset($_POST['album_extended_text_div_padding']) ? esc_html(stripslashes( $_POST['album_extended_text_div_padding'])) : '');
321
+ $album_extended_title_span_border_width = (isset($_POST['album_extended_title_span_border_width']) ? (int) esc_html(stripslashes( $_POST['album_extended_title_span_border_width'])) : 1);
322
+ $album_extended_title_span_border_style = (isset($_POST['album_extended_title_span_border_style']) ? esc_html(stripslashes( $_POST['album_extended_title_span_border_style'])) : 'solid');
323
+ $album_extended_title_span_border_color = (isset($_POST['album_extended_title_span_border_color']) ? esc_html(stripslashes( $_POST['album_extended_title_span_border_color'])) : '000000');
324
+ $album_extended_title_font_color = (isset($_POST['album_extended_title_font_color']) ? esc_html(stripslashes( $_POST['album_extended_title_font_color'])) : '000000');
325
+ $album_extended_title_font_style = (isset($_POST['album_extended_title_font_style']) ? esc_html(stripslashes( $_POST['album_extended_title_font_style'])) : 'inherit');
326
+ $album_extended_title_font_size = (isset($_POST['album_extended_title_font_size']) ? (int) esc_html(stripslashes( $_POST['album_extended_title_font_size'])) : 12);
327
+ $album_extended_title_font_weight = (isset($_POST['album_extended_title_font_weight']) ? esc_html(stripslashes( $_POST['album_extended_title_font_weight'])) : 'normal');
328
+ $album_extended_title_margin_bottom = (isset($_POST['album_extended_title_margin_bottom']) ? (int) esc_html(stripslashes( $_POST['album_extended_title_margin_bottom'])) : 0);
329
+ $album_extended_title_padding = (isset($_POST['album_extended_title_padding']) ? esc_html(stripslashes( $_POST['album_extended_title_padding'])) : '');
330
+ $album_extended_desc_span_border_width = (isset($_POST['album_extended_desc_span_border_width']) ? (int) esc_html(stripslashes( $_POST['album_extended_desc_span_border_width'])) : 1);
331
+ $album_extended_desc_span_border_style = (isset($_POST['album_extended_desc_span_border_style']) ? esc_html(stripslashes( $_POST['album_extended_desc_span_border_style'])) : 'solid');
332
+ $album_extended_desc_span_border_color = (isset($_POST['album_extended_desc_span_border_color']) ? esc_html(stripslashes( $_POST['album_extended_desc_span_border_color'])) : '000000');
333
+ $album_extended_desc_font_color = (isset($_POST['album_extended_desc_font_color']) ? esc_html(stripslashes( $_POST['album_extended_desc_font_color'])) : '000000');
334
+ $album_extended_desc_font_style = (isset($_POST['album_extended_desc_font_style']) ? esc_html(stripslashes( $_POST['album_extended_desc_font_style'])) : 'inherit');
335
+ $album_extended_desc_font_size = (isset($_POST['album_extended_desc_font_size']) ? (int) esc_html(stripslashes( $_POST['album_extended_desc_font_size'])) : 12);
336
+ $album_extended_desc_font_weight = (isset($_POST['album_extended_desc_font_weight']) ? esc_html(stripslashes( $_POST['album_extended_desc_font_weight'])) : 'normal');
337
+ $album_extended_desc_padding = (isset($_POST['album_extended_desc_padding']) ? esc_html(stripslashes( $_POST['album_extended_desc_padding'])) : '');
338
+ $album_extended_desc_more_color = (isset($_POST['album_extended_desc_more_color']) ? esc_html(stripslashes( $_POST['album_extended_desc_more_color'])) : '000000');
339
+ $album_extended_desc_more_size = (isset($_POST['album_extended_desc_more_size']) ? (int) esc_html(stripslashes( $_POST['album_extended_desc_more_size'])) : 12);
340
+
341
+ $slideshow_cont_bg_color = (isset($_POST['slideshow_cont_bg_color']) ? esc_html(stripslashes( $_POST['slideshow_cont_bg_color'])) : 'FFFFFF');
342
+ $slideshow_close_btn_transparent = (isset($_POST['slideshow_close_btn_transparent']) ? (int) esc_html(stripslashes( $_POST['slideshow_close_btn_transparent'])) : 80);
343
+ $slideshow_rl_btn_bg_color = (isset($_POST['slideshow_rl_btn_bg_color']) ? esc_html(stripslashes( $_POST['slideshow_rl_btn_bg_color'])) : 'FFFFFF');
344
+ $slideshow_rl_btn_border_radius = (isset($_POST['slideshow_rl_btn_border_radius']) ? esc_html(stripslashes( $_POST['slideshow_rl_btn_border_radius'])) : '');
345
+ $slideshow_rl_btn_border_width = (isset($_POST['slideshow_rl_btn_border_width']) ? (int) esc_html(stripslashes( $_POST['slideshow_rl_btn_border_width'])) : 1);
346
+ $slideshow_rl_btn_border_style = (isset($_POST['slideshow_rl_btn_border_style']) ? esc_html(stripslashes( $_POST['slideshow_rl_btn_border_style'])) : 'solid');
347
+ $slideshow_rl_btn_border_color = (isset($_POST['slideshow_rl_btn_border_color']) ? esc_html(stripslashes( $_POST['slideshow_rl_btn_border_color'])) : '000000');
348
+ $slideshow_rl_btn_box_shadow = (isset($_POST['slideshow_rl_btn_box_shadow']) ? esc_html(stripslashes( $_POST['slideshow_rl_btn_box_shadow'])) : '');
349
+ $slideshow_rl_btn_color = (isset($_POST['slideshow_rl_btn_color']) ? esc_html(stripslashes( $_POST['slideshow_rl_btn_color'])) : '000000');
350
+ $slideshow_rl_btn_height = (isset($_POST['slideshow_rl_btn_height']) ? (int) esc_html(stripslashes( $_POST['slideshow_rl_btn_height'])) : 10);
351
+ $slideshow_rl_btn_size = (isset($_POST['slideshow_rl_btn_size']) ? (int) esc_html(stripslashes( $_POST['slideshow_rl_btn_size'])) : 13);
352
+ $slideshow_rl_btn_width = (isset($_POST['slideshow_rl_btn_width']) ? (int) esc_html(stripslashes( $_POST['slideshow_rl_btn_width'])) : 30);
353
+ $slideshow_close_rl_btn_hover_color = (isset($_POST['slideshow_close_rl_btn_hover_color']) ? esc_html(stripslashes( $_POST['slideshow_close_rl_btn_hover_color'])) : 'FFFFFF');
354
+ $slideshow_filmstrip_pos = (isset($_POST['slideshow_filmstrip_pos']) ? esc_html(stripslashes( $_POST['slideshow_filmstrip_pos'])) : 'top');
355
+ $slideshow_filmstrip_thumb_border_width = (isset($_POST['slideshow_filmstrip_thumb_border_width']) ? (int) esc_html(stripslashes( $_POST['slideshow_filmstrip_thumb_border_width'])) : 1);
356
+ $slideshow_filmstrip_thumb_border_style = (isset($_POST['slideshow_filmstrip_thumb_border_style']) ? esc_html(stripslashes( $_POST['slideshow_filmstrip_thumb_border_style'])) : 'solid');
357
+ $slideshow_filmstrip_thumb_border_color = (isset($_POST['slideshow_filmstrip_thumb_border_color']) ? esc_html(stripslashes( $_POST['slideshow_filmstrip_thumb_border_color'])) : '000000');
358
+ $slideshow_filmstrip_thumb_border_radius = (isset($_POST['slideshow_filmstrip_thumb_border_radius']) ? esc_html(stripslashes( $_POST['slideshow_filmstrip_thumb_border_radius'])) : '');
359
+ $slideshow_filmstrip_thumb_margin = (isset($_POST['slideshow_filmstrip_thumb_margin']) ? esc_html(stripslashes( $_POST['slideshow_filmstrip_thumb_margin'])) : '');
360
+ $slideshow_filmstrip_thumb_active_border_width = (isset($_POST['slideshow_filmstrip_thumb_active_border_width']) ? (int) esc_html(stripslashes( $_POST['slideshow_filmstrip_thumb_active_border_width'])) : 1);
361
+ $slideshow_filmstrip_thumb_active_border_color = (isset($_POST['slideshow_filmstrip_thumb_active_border_color']) ? esc_html(stripslashes( $_POST['slideshow_filmstrip_thumb_active_border_color'])) : '000000');
362
+ $slideshow_filmstrip_thumb_deactive_transparent = (isset($_POST['slideshow_filmstrip_thumb_deactive_transparent']) ? (int) esc_html(stripslashes( $_POST['slideshow_filmstrip_thumb_deactive_transparent'])) : 80);
363
+ $slideshow_filmstrip_rl_bg_color = (isset($_POST['slideshow_filmstrip_rl_bg_color']) ? esc_html(stripslashes( $_POST['slideshow_filmstrip_rl_bg_color'])) : 'FFFFFF');
364
+ $slideshow_filmstrip_rl_btn_color = (isset($_POST['slideshow_filmstrip_rl_btn_color']) ? esc_html(stripslashes( $_POST['slideshow_filmstrip_rl_btn_color'])) : 'FFFFFF');
365
+ $slideshow_filmstrip_rl_btn_size = (isset($_POST['slideshow_filmstrip_rl_btn_size']) ? (int) esc_html(stripslashes( $_POST['slideshow_filmstrip_rl_btn_size'])) : 15);
366
+ $slideshow_title_font_size = (isset($_POST['slideshow_title_font_size']) ? (int) esc_html(stripslashes( $_POST['slideshow_title_font_size'])) : 15);
367
+ $slideshow_title_font = (isset($_POST['slideshow_title_font']) ? esc_html(stripslashes( $_POST['slideshow_title_font'])) : 'cursive');
368
+ $slideshow_title_color = (isset($_POST['slideshow_title_color']) ? esc_html(stripslashes( $_POST['slideshow_title_color'])) : '000000');
369
+ $slideshow_title_opacity = (isset($_POST['slideshow_title_opacity']) ? (int) esc_html(stripslashes( $_POST['slideshow_title_opacity'])) : 80);
370
+ $slideshow_title_border_radius = (isset($_POST['slideshow_title_border_radius']) ? esc_html(stripslashes( $_POST['slideshow_title_border_radius'])) : '');
371
+ $slideshow_title_background_color = (isset($_POST['slideshow_title_background_color']) ? esc_html(stripslashes( $_POST['slideshow_title_background_color'])) : 'FFFFFF');
372
+ $slideshow_title_padding = (isset($_POST['slideshow_title_padding']) ? esc_html(stripslashes( $_POST['slideshow_title_padding'])) : '');
373
+ $slideshow_description_font_size = (isset($_POST['slideshow_description_font_size']) ? (int) esc_html(stripslashes( $_POST['slideshow_description_font_size'])) : 15);
374
+ $slideshow_description_font = (isset($_POST['slideshow_description_font']) ? esc_html(stripslashes( $_POST['slideshow_description_font'])) : 'cursive');
375
+ $slideshow_description_color = (isset($_POST['slideshow_description_color']) ? esc_html(stripslashes( $_POST['slideshow_description_color'])) : '000000');
376
+ $slideshow_description_opacity = (isset($_POST['slideshow_description_opacity']) ? (int) esc_html(stripslashes( $_POST['slideshow_description_opacity'])) : 80);
377
+ $slideshow_description_border_radius = (isset($_POST['slideshow_description_border_radius']) ? esc_html(stripslashes( $_POST['slideshow_description_border_radius'])) : '');
378
+ $slideshow_description_background_color = (isset($_POST['slideshow_description_background_color']) ? esc_html(stripslashes( $_POST['slideshow_description_background_color'])) : 'FFFFFF');
379
+ $slideshow_description_padding = (isset($_POST['slideshow_description_padding']) ? esc_html(stripslashes( $_POST['slideshow_description_padding'])) : '');
380
+ $slideshow_dots_width = (isset($_POST['slideshow_dots_width']) ? (int) esc_html(stripslashes( $_POST['slideshow_dots_width'])) : 5);
381
+ $slideshow_dots_height = (isset($_POST['slideshow_dots_height']) ? (int) esc_html(stripslashes( $_POST['slideshow_dots_height'])) : 5);
382
+ $slideshow_dots_border_radius = (isset($_POST['slideshow_dots_border_radius']) ? esc_html(stripslashes( $_POST['slideshow_dots_border_radius'])) : '');
383
+ $slideshow_dots_background_color = (isset($_POST['slideshow_dots_background_color']) ? esc_html(stripslashes( $_POST['slideshow_dots_background_color'])) : 'FFFFFF');
384
+ $slideshow_dots_margin = (isset($_POST['slideshow_dots_margin']) ? (int) esc_html(stripslashes( $_POST['slideshow_dots_margin'])) : 0);
385
+ $slideshow_dots_active_background_color = (isset($_POST['slideshow_dots_active_background_color']) ? esc_html(stripslashes( $_POST['slideshow_dots_active_background_color'])) : 'FFFFFF');
386
+ $slideshow_dots_active_border_width = (isset($_POST['slideshow_dots_active_border_width']) ? (int) esc_html(stripslashes( $_POST['slideshow_dots_active_border_width'])) : 1);
387
+ $slideshow_dots_active_border_color = (isset($_POST['slideshow_dots_active_border_color']) ? esc_html(stripslashes( $_POST['slideshow_dots_active_border_color'])) : '000000');
388
+ $slideshow_play_pause_btn_size = (isset($_POST['slideshow_play_pause_btn_size']) ? (int) esc_html(stripslashes( $_POST['slideshow_play_pause_btn_size'])) : 15);
389
+ $slideshow_rl_btn_style = (isset($_POST['slideshow_rl_btn_style']) ? esc_html(stripslashes( $_POST['slideshow_rl_btn_style'])) : 'fa-chevron');
390
+
391
+ $masonry_thumb_padding = (isset($_POST['masonry_thumb_padding']) ? esc_html(stripslashes( $_POST['masonry_thumb_padding'])) : 4);
392
+ $masonry_thumb_border_radius = (isset($_POST['masonry_thumb_border_radius']) ? esc_html(stripslashes( $_POST['masonry_thumb_border_radius'])) : '2px');
393
+ $masonry_thumb_border_width = (isset($_POST['masonry_thumb_border_width']) ? esc_html(stripslashes( $_POST['masonry_thumb_border_width'])) : 1);
394
+ $masonry_thumb_border_style = (isset($_POST['masonry_thumb_border_style']) ? esc_html(stripslashes( $_POST['masonry_thumb_border_style'])) : 'solid');
395
+ $masonry_thumb_border_color = (isset($_POST['masonry_thumb_border_color']) ? esc_html(stripslashes( $_POST['masonry_thumb_border_color'])) : 'CCCCCC');
396
+ $masonry_thumbs_bg_color = (isset($_POST['masonry_thumbs_bg_color']) ? esc_html(stripslashes( $_POST['masonry_thumbs_bg_color'])) : 'FFFFFF');
397
+ $masonry_thumb_bg_transparent = (isset($_POST['masonry_thumb_bg_transparent']) ? esc_html(stripslashes( $_POST['masonry_thumb_bg_transparent'])) : 0);
398
+ $masonry_thumb_transparent = (isset($_POST['masonry_thumb_transparent']) ? esc_html(stripslashes( $_POST['masonry_thumb_transparent'])) : 100);
399
+ $masonry_thumb_align = (isset($_POST['masonry_thumb_align']) ? esc_html(stripslashes( $_POST['masonry_thumb_align'])) : 'left');
400
+ $masonry_thumb_hover_effect = (isset($_POST['masonry_thumb_hover_effect']) ? esc_html(stripslashes( $_POST['masonry_thumb_hover_effect'])) : 'scale');
401
+ $masonry_thumb_hover_effect_value = (isset($_POST['masonry_thumb_hover_effect_value']) ? esc_html(stripslashes( $_POST['masonry_thumb_hover_effect_value'])) : '1.3');
402
+ $masonry_thumb_transition = (isset($_POST['masonry_thumb_transition']) ? esc_html(stripslashes( $_POST['masonry_thumb_transition'])) : 0);
403
+
404
+ $default_theme = (isset($_POST['default_theme']) ? esc_html(stripslashes( $_POST['default_theme'])) : 0);
405
+ if ($id != 0) {
406
+ $save = $wpdb->update($wpdb->prefix . 'bwg_theme', array(
407
+ 'name' => $name,
408
+ 'thumb_margin' => $thumb_margin,
409
+ 'thumb_padding' => $thumb_padding,
410
+ 'thumb_border_radius' => $thumb_border_radius,
411
+ 'thumb_border_width' => $thumb_border_width,
412
+ 'thumb_border_style' => $thumb_border_style,
413
+ 'thumb_border_color' => $thumb_border_color,
414
+ 'thumb_bg_color' => $thumb_bg_color,
415
+ 'thumbs_bg_color' => $thumbs_bg_color,
416
+ 'thumb_bg_transparent' => $thumb_bg_transparent,
417
+ 'thumb_box_shadow' => $thumb_box_shadow,
418
+ 'thumb_transparent' => $thumb_transparent,
419
+ 'thumb_align' => $thumb_align,
420
+ 'thumb_hover_effect' => $thumb_hover_effect,
421
+ 'thumb_hover_effect_value' => $thumb_hover_effect_value,
422
+ 'thumb_transition' => $thumb_transition,
423
+ 'page_nav_position' => $page_nav_position,
424
+ 'page_nav_align' => $page_nav_align,
425
+ 'page_nav_number' => $page_nav_number,
426
+ 'page_nav_font_size' => $page_nav_font_size,
427
+ 'page_nav_font_style' => $page_nav_font_style,
428
+ 'page_nav_font_color' => $page_nav_font_color,
429
+ 'page_nav_font_weight' => $page_nav_font_weight,
430
+ 'page_nav_border_width' => $page_nav_border_width,
431
+ 'page_nav_border_style'=> $page_nav_border_style,
432
+ 'page_nav_border_color' => $page_nav_border_color,
433
+ 'page_nav_border_radius' => $page_nav_border_radius,
434
+ 'page_nav_margin' => $page_nav_margin,
435
+ 'page_nav_padding' => $page_nav_padding,
436
+ 'page_nav_button_bg_color' => $page_nav_button_bg_color,
437
+ 'page_nav_button_bg_transparent' => $page_nav_button_bg_transparent,
438
+ 'page_nav_box_shadow' => $page_nav_box_shadow,
439
+ 'page_nav_button_transition' => $page_nav_button_transition,
440
+ 'page_nav_button_text' => $page_nav_button_text,
441
+ 'lightbox_ctrl_btn_pos' => $lightbox_ctrl_btn_pos,
442
+ 'lightbox_ctrl_btn_align' => $lightbox_ctrl_btn_align,
443
+ 'lightbox_ctrl_btn_height' => $lightbox_ctrl_btn_height,
444
+ 'lightbox_ctrl_btn_margin_top' => $lightbox_ctrl_btn_margin_top,
445
+ 'lightbox_ctrl_btn_margin_left' => $lightbox_ctrl_btn_margin_left,
446
+ 'lightbox_ctrl_btn_transparent' => $lightbox_ctrl_btn_transparent,
447
+ 'lightbox_ctrl_btn_color' => $lightbox_ctrl_btn_color,
448
+ 'lightbox_toggle_btn_height' => $lightbox_toggle_btn_height,
449
+ 'lightbox_toggle_btn_width' => $lightbox_toggle_btn_width,
450
+ 'lightbox_ctrl_cont_bg_color' => $lightbox_ctrl_cont_bg_color,
451
+ 'lightbox_ctrl_cont_border_radius' => $lightbox_ctrl_cont_border_radius,
452
+ 'lightbox_ctrl_cont_transparent' => $lightbox_ctrl_cont_transparent,
453
+ 'lightbox_close_btn_bg_color' => $lightbox_close_btn_bg_color,
454
+ 'lightbox_close_btn_border_radius' => $lightbox_close_btn_border_radius,
455
+ 'lightbox_close_btn_border_width' => $lightbox_close_btn_border_width,
456
+ 'lightbox_close_btn_border_style' => $lightbox_close_btn_border_style,
457
+ 'lightbox_close_btn_border_color' => $lightbox_close_btn_border_color,
458
+ 'lightbox_close_btn_box_shadow' => $lightbox_close_btn_box_shadow,
459
+ 'lightbox_close_btn_color' => $lightbox_close_btn_color,
460
+ 'lightbox_close_btn_size' => $lightbox_close_btn_size,
461
+ 'lightbox_close_btn_width' => $lightbox_close_btn_width,
462
+ 'lightbox_close_btn_height' => $lightbox_close_btn_height,
463
+ 'lightbox_close_btn_top' => $lightbox_close_btn_top,
464
+ 'lightbox_close_btn_right' => $lightbox_close_btn_right,
465
+ 'lightbox_close_btn_full_color' => $lightbox_close_btn_full_color,
466
+ 'lightbox_close_btn_transparent' => $lightbox_close_btn_transparent,
467
+ 'lightbox_rl_btn_bg_color' => $lightbox_rl_btn_bg_color,
468
+ 'lightbox_rl_btn_transparent' => $lightbox_rl_btn_transparent,
469
+ 'lightbox_rl_btn_border_radius' => $lightbox_rl_btn_border_radius,
470
+ 'lightbox_rl_btn_border_width' => $lightbox_rl_btn_border_width,
471
+ 'lightbox_rl_btn_border_style' => $lightbox_rl_btn_border_style,
472
+ 'lightbox_rl_btn_border_color' => $lightbox_rl_btn_border_color,
473
+ 'lightbox_rl_btn_box_shadow' => $lightbox_rl_btn_box_shadow,
474
+ 'lightbox_rl_btn_color' => $lightbox_rl_btn_color,
475
+ 'lightbox_rl_btn_height' => $lightbox_rl_btn_height,
476
+ 'lightbox_rl_btn_width' => $lightbox_rl_btn_width,
477
+ 'lightbox_rl_btn_size' => $lightbox_rl_btn_size,
478
+ 'lightbox_close_rl_btn_hover_color' => $lightbox_close_rl_btn_hover_color,
479
+ 'lightbox_comment_pos' => $lightbox_comment_pos,
480
+ 'lightbox_comment_width' => $lightbox_comment_width,
481
+ 'lightbox_comment_bg_color' => $lightbox_comment_bg_color,
482
+ 'lightbox_comment_font_color' => $lightbox_comment_font_color,
483
+ 'lightbox_comment_font_style' => $lightbox_comment_font_style,
484
+ 'lightbox_comment_font_size' => $lightbox_comment_font_size,
485
+ 'lightbox_comment_button_bg_color' => $lightbox_comment_button_bg_color,
486
+ 'lightbox_comment_button_border_color' => $lightbox_comment_button_border_color,
487
+ 'lightbox_comment_button_border_width' => $lightbox_comment_button_border_width,
488
+ 'lightbox_comment_button_border_style' => $lightbox_comment_button_border_style,
489
+ 'lightbox_comment_button_border_radius' => $lightbox_comment_button_border_radius,
490
+ 'lightbox_comment_button_padding' => $lightbox_comment_button_padding,
491
+ 'lightbox_comment_input_bg_color' => $lightbox_comment_input_bg_color,
492
+ 'lightbox_comment_input_border_color' => $lightbox_comment_input_border_color,
493
+ 'lightbox_comment_input_border_width' => $lightbox_comment_input_border_width,
494
+ 'lightbox_comment_input_border_style' => $lightbox_comment_input_border_style,
495
+ 'lightbox_comment_input_border_radius' => $lightbox_comment_input_border_radius,
496
+ 'lightbox_comment_input_padding' => $lightbox_comment_input_padding,
497
+ 'lightbox_comment_separator_width' => $lightbox_comment_separator_width,
498
+ 'lightbox_comment_separator_style' => $lightbox_comment_separator_style,
499
+ 'lightbox_comment_separator_color' => $lightbox_comment_separator_color,
500
+ 'lightbox_comment_author_font_size' => $lightbox_comment_author_font_size,
501
+ 'lightbox_comment_date_font_size' => $lightbox_comment_date_font_size,
502
+ 'lightbox_comment_body_font_size' => $lightbox_comment_body_font_size,
503
+ 'lightbox_comment_share_button_color' => $lightbox_comment_share_button_color,
504
+ 'lightbox_filmstrip_rl_bg_color' => $lightbox_filmstrip_rl_bg_color,
505
+ 'lightbox_filmstrip_rl_btn_size' => $lightbox_filmstrip_rl_btn_size,
506
+ 'lightbox_filmstrip_rl_btn_color' => $lightbox_filmstrip_rl_btn_color,
507
+ 'lightbox_filmstrip_thumb_margin' => $lightbox_filmstrip_thumb_margin,
508
+ 'lightbox_filmstrip_thumb_border_width' => $lightbox_filmstrip_thumb_border_width,
509
+ 'lightbox_filmstrip_thumb_border_style' => $lightbox_filmstrip_thumb_border_style,
510
+ 'lightbox_filmstrip_thumb_border_color' => $lightbox_filmstrip_thumb_border_color,
511
+ 'lightbox_filmstrip_thumb_border_radius' => $lightbox_filmstrip_thumb_border_radius,
512
+ 'lightbox_filmstrip_thumb_deactive_transparent' => $lightbox_filmstrip_thumb_deactive_transparent,
513
+ 'lightbox_filmstrip_pos' => $lightbox_filmstrip_pos,
514
+ 'lightbox_filmstrip_thumb_active_border_width' => $lightbox_filmstrip_thumb_active_border_width,
515
+ 'lightbox_filmstrip_thumb_active_border_color' => $lightbox_filmstrip_thumb_active_border_color,
516
+ 'lightbox_overlay_bg_transparent' => $lightbox_overlay_bg_transparent,
517
+ 'lightbox_bg_color' => $lightbox_bg_color,
518
+ 'lightbox_overlay_bg_color' => $lightbox_overlay_bg_color,
519
+ 'lightbox_rl_btn_style' => $lightbox_rl_btn_style,
520
+
521
+ 'blog_style_margin' => $blog_style_margin,
522
+ 'blog_style_padding' => $blog_style_padding,
523
+ 'blog_style_border_radius' => $blog_style_border_radius,
524
+ 'blog_style_border_width' => $blog_style_border_width,
525
+ 'blog_style_border_style' => $blog_style_border_style,
526
+ 'blog_style_border_color' => $blog_style_border_color,
527
+ 'blog_style_bg_color' => $blog_style_bg_color,
528
+ 'blog_style_transparent' => $blog_style_transparent,
529
+ 'blog_style_box_shadow' => $blog_style_box_shadow,
530
+ 'blog_style_align' => $blog_style_align,
531
+ 'blog_style_share_buttons_margin' => $blog_style_share_buttons_margin,
532
+ 'blog_style_share_buttons_border_radius' => $blog_style_share_buttons_border_radius,
533
+ 'blog_style_share_buttons_border_width' => $blog_style_share_buttons_border_width,
534
+ 'blog_style_share_buttons_border_style' => $blog_style_share_buttons_border_style,
535
+ 'blog_style_share_buttons_border_color' => $blog_style_share_buttons_border_color,
536
+ 'blog_style_share_buttons_bg_color' => $blog_style_share_buttons_bg_color,
537
+ 'blog_style_share_buttons_align' => $blog_style_share_buttons_align,
538
+ 'blog_style_img_font_size' => $blog_style_img_font_size,
539
+ 'blog_style_img_font_family' => $blog_style_img_font_family,
540
+ 'blog_style_img_font_color' => $blog_style_img_font_color,
541
+ 'blog_style_share_buttons_font_size' => $blog_style_share_buttons_font_size,
542
+ 'blog_style_share_buttons_color' => $blog_style_share_buttons_color,
543
+ 'blog_style_share_buttons_bg_transparent' => $blog_style_share_buttons_bg_transparent,
544
+
545
+ 'image_browser_margin' => $image_browser_margin ,
546
+ 'image_browser_padding' => $image_browser_padding ,
547
+ 'image_browser_border_radius'=> $image_browser_border_radius ,
548
+ 'image_browser_border_width' => $image_browser_border_width ,
549
+ 'image_browser_border_style' => $image_browser_border_style ,
550
+ 'image_browser_border_color' => $image_browser_border_color ,
551
+ 'image_browser_bg_color' => $image_browser_bg_color ,
552
+ 'image_browser_box_shadow' => $image_browser_box_shadow ,
553
+ 'image_browser_transparent' => $image_browser_transparent ,
554
+ 'image_browser_align' => $image_browser_align ,
555
+ 'image_browser_image_description_margin' => $image_browser_image_description_margin ,
556
+ 'image_browser_image_description_padding' => $image_browser_image_description_padding ,
557
+ 'image_browser_image_description_border_radius' => $image_browser_image_description_border_radius ,
558
+ 'image_browser_image_description_border_width' => $image_browser_image_description_border_width ,
559
+ 'image_browser_image_description_border_style' => $image_browser_image_description_border_style ,
560
+ 'image_browser_image_description_border_color' => $image_browser_image_description_border_color ,
561
+ 'image_browser_image_description_bg_color' => $image_browser_image_description_bg_color ,
562
+ 'image_browser_image_description_align' => $image_browser_image_description_align ,
563
+ 'image_browser_img_font_size' => $image_browser_img_font_size ,
564
+ 'image_browser_img_font_family' => $image_browser_img_font_family ,
565
+ 'image_browser_img_font_color' => $image_browser_img_font_color ,
566
+ 'image_browser_full_padding' => $image_browser_full_padding ,
567
+ 'image_browser_full_border_radius' => $image_browser_full_border_radius ,
568
+ 'image_browser_full_border_width' => $image_browser_full_border_width ,
569
+ 'image_browser_full_border_style' => $image_browser_full_border_style ,
570
+ 'image_browser_full_border_color' => $image_browser_full_border_color ,
571
+ 'image_browser_full_bg_color' => $image_browser_full_bg_color ,
572
+ 'image_browser_full_transparent' => $image_browser_full_transparent ,
573
+
574
+ 'album_compact_title_margin' => $album_compact_title_margin ,
575
+ 'album_compact_thumb_margin' => $album_compact_thumb_margin ,
576
+ 'album_compact_back_padding' => $album_compact_back_padding ,
577
+ 'album_compact_thumb_padding' => $album_compact_thumb_padding ,
578
+ 'album_compact_thumb_border_radius' => $album_compact_thumb_border_radius ,
579
+ 'album_compact_thumb_border_width' => $album_compact_thumb_border_width ,
580
+ 'album_compact_title_font_style' => $album_compact_title_font_style ,
581
+ 'album_compact_back_font_color' => $album_compact_back_font_color ,
582
+ 'album_compact_title_font_color' => $album_compact_title_font_color ,
583
+ 'album_compact_title_shadow' => $album_compact_title_shadow ,
584
+ 'album_compact_thumb_bg_transparent' => $album_compact_thumb_bg_transparent ,
585
+ 'album_compact_thumb_box_shadow' => $album_compact_thumb_box_shadow ,
586
+ 'album_compact_thumb_transition' => $album_compact_thumb_transition ,
587
+ 'album_compact_thumb_border_style' => $album_compact_thumb_border_style ,
588
+ 'album_compact_thumb_border_color' => $album_compact_thumb_border_color ,
589
+ 'album_compact_thumb_bg_color' => $album_compact_thumb_bg_color ,
590
+ 'album_compact_back_font_weight' => $album_compact_back_font_weight ,
591
+ 'album_compact_back_font_size' => $album_compact_back_font_size ,
592
+ 'album_compact_back_font_style' => $album_compact_back_font_style ,
593
+ 'album_compact_thumbs_bg_color' => $album_compact_thumbs_bg_color ,
594
+ 'album_compact_title_font_size' => $album_compact_title_font_size ,
595
+ 'album_compact_title_font_weight' => $album_compact_title_font_weight ,
596
+ 'album_compact_thumb_align' => $album_compact_thumb_align ,
597
+ 'album_compact_thumb_hover_effect' => $album_compact_thumb_hover_effect ,
598
+ 'album_compact_thumb_transparent' => $album_compact_thumb_transparent ,
599
+ 'album_compact_thumb_hover_effect_value' => $album_compact_thumb_hover_effect_value ,
600
+ 'album_extended_thumb_margin' => $album_extended_thumb_margin ,
601
+ 'album_extended_thumb_padding' => $album_extended_thumb_padding ,
602
+ 'album_extended_thumb_border_radius' => $album_extended_thumb_border_radius ,
603
+ 'album_extended_thumb_border_width' => $album_extended_thumb_border_width ,
604
+ 'album_extended_thumb_border_style' => $album_extended_thumb_border_style ,
605
+ 'album_extended_thumb_border_color' => $album_extended_thumb_border_color ,
606
+ 'album_extended_thumb_bg_color' => $album_extended_thumb_bg_color ,
607
+ 'album_extended_thumbs_bg_color' => $album_extended_thumbs_bg_color ,
608
+ 'album_extended_thumb_bg_transparent' => $album_extended_thumb_bg_transparent ,
609
+ 'album_extended_thumb_box_shadow' => $album_extended_thumb_box_shadow ,
610
+ 'album_extended_thumb_transparent' => $album_extended_thumb_transparent ,
611
+ 'album_extended_thumb_align' => $album_extended_thumb_align ,
612
+ 'album_extended_thumb_hover_effect' => $album_extended_thumb_hover_effect ,
613
+ 'album_extended_thumb_hover_effect_value' => $album_extended_thumb_hover_effect_value ,
614
+ 'album_extended_thumb_transition' => $album_extended_thumb_transition ,
615
+ 'album_extended_back_font_color' => $album_extended_back_font_color ,
616
+ 'album_extended_back_font_style' => $album_extended_back_font_style ,
617
+ 'album_extended_back_font_size' => $album_extended_back_font_size ,
618
+ 'album_extended_back_font_weight' => $album_extended_back_font_weight ,
619
+ 'album_extended_back_padding' => $album_extended_back_padding ,
620
+ 'album_extended_div_bg_color' => $album_extended_div_bg_color ,
621
+ 'album_extended_div_bg_transparent' => $album_extended_div_bg_transparent ,
622
+ 'album_extended_div_border_radius' => $album_extended_div_border_radius ,
623
+ 'album_extended_div_margin' => $album_extended_div_margin ,
624
+ 'album_extended_div_padding' => $album_extended_div_padding ,
625
+ 'album_extended_div_separator_width' => $album_extended_div_separator_width ,
626
+ 'album_extended_div_separator_style' => $album_extended_div_separator_style ,
627
+ 'album_extended_div_separator_color' => $album_extended_div_separator_color ,
628
+ 'album_extended_thumb_div_bg_color' => $album_extended_thumb_div_bg_color ,
629
+ 'album_extended_thumb_div_border_radius' => $album_extended_thumb_div_border_radius ,
630
+ 'album_extended_thumb_div_border_width' => $album_extended_thumb_div_border_width ,
631
+ 'album_extended_thumb_div_border_style' => $album_extended_thumb_div_border_style ,
632
+ 'album_extended_thumb_div_border_color' => $album_extended_thumb_div_border_color ,
633
+ 'album_extended_thumb_div_padding' => $album_extended_thumb_div_padding ,
634
+ 'album_extended_text_div_bg_color' => $album_extended_text_div_bg_color ,
635
+ 'album_extended_text_div_border_radius' => $album_extended_text_div_border_radius ,
636
+ 'album_extended_text_div_border_width' => $album_extended_text_div_border_width ,
637
+ 'album_extended_text_div_border_style' => $album_extended_text_div_border_style ,
638
+ 'album_extended_text_div_border_color' => $album_extended_text_div_border_color ,
639
+ 'album_extended_text_div_padding' => $album_extended_text_div_padding ,
640
+ 'album_extended_title_span_border_width' => $album_extended_title_span_border_width ,
641
+ 'album_extended_title_span_border_style' => $album_extended_title_span_border_style ,
642
+ 'album_extended_title_span_border_color' => $album_extended_title_span_border_color ,
643
+ 'album_extended_title_font_color' => $album_extended_title_font_color ,
644
+ 'album_extended_title_font_style' => $album_extended_title_font_style ,
645
+ 'album_extended_title_font_size' => $album_extended_title_font_size ,
646
+ 'album_extended_title_font_weight' => $album_extended_title_font_weight ,
647
+ 'album_extended_title_margin_bottom' => $album_extended_title_margin_bottom ,
648
+ 'album_extended_title_padding' => $album_extended_title_padding ,
649
+ 'album_extended_desc_span_border_width' => $album_extended_desc_span_border_width ,
650
+ 'album_extended_desc_span_border_style' => $album_extended_desc_span_border_style ,
651
+ 'album_extended_desc_span_border_color' => $album_extended_desc_span_border_color ,
652
+ 'album_extended_desc_font_color' => $album_extended_desc_font_color ,
653
+ 'album_extended_desc_font_style' => $album_extended_desc_font_style ,
654
+ 'album_extended_desc_font_size' => $album_extended_desc_font_size ,
655
+ 'album_extended_desc_font_weight' => $album_extended_desc_font_weight ,
656
+ 'album_extended_desc_padding' => $album_extended_desc_padding ,
657
+ 'album_extended_desc_more_color' => $album_extended_desc_more_color ,
658
+ 'album_extended_desc_more_size' => $album_extended_desc_more_size ,
659
+
660
+ 'slideshow_cont_bg_color' => $slideshow_cont_bg_color ,
661
+ 'slideshow_close_btn_transparent' => $slideshow_close_btn_transparent ,
662
+ 'slideshow_rl_btn_bg_color' => $slideshow_rl_btn_bg_color ,
663
+ 'slideshow_rl_btn_border_radius' => $slideshow_rl_btn_border_radius ,
664
+ 'slideshow_rl_btn_border_width' => $slideshow_rl_btn_border_width ,
665
+ 'slideshow_rl_btn_border_style' => $slideshow_rl_btn_border_style ,
666
+ 'slideshow_rl_btn_border_color' => $slideshow_rl_btn_border_color ,
667
+ 'slideshow_rl_btn_box_shadow' => $slideshow_rl_btn_box_shadow ,
668
+ 'slideshow_rl_btn_color' => $slideshow_rl_btn_color ,
669
+ 'slideshow_rl_btn_height' => $slideshow_rl_btn_height ,
670
+ 'slideshow_rl_btn_size' => $slideshow_rl_btn_size ,
671
+ 'slideshow_rl_btn_width' => $slideshow_rl_btn_width ,
672
+ 'slideshow_close_rl_btn_hover_color' => $slideshow_close_rl_btn_hover_color ,
673
+ 'slideshow_filmstrip_pos' => $slideshow_filmstrip_pos ,
674
+ 'slideshow_filmstrip_thumb_border_width' => $slideshow_filmstrip_thumb_border_width ,
675
+ 'slideshow_filmstrip_thumb_border_style' => $slideshow_filmstrip_thumb_border_style ,
676
+ 'slideshow_filmstrip_thumb_border_color' => $slideshow_filmstrip_thumb_border_color ,
677
+ 'slideshow_filmstrip_thumb_border_radius' => $slideshow_filmstrip_thumb_border_radius ,
678
+ 'slideshow_filmstrip_thumb_margin' => $slideshow_filmstrip_thumb_margin ,
679
+ 'slideshow_filmstrip_thumb_active_border_width' => $slideshow_filmstrip_thumb_active_border_width ,
680
+ 'slideshow_filmstrip_thumb_active_border_color' => $slideshow_filmstrip_thumb_active_border_color ,
681
+ 'slideshow_filmstrip_thumb_deactive_transparent' => $slideshow_filmstrip_thumb_deactive_transparent ,
682
+ 'slideshow_filmstrip_rl_bg_color' => $slideshow_filmstrip_rl_bg_color ,
683
+ 'slideshow_filmstrip_rl_btn_color' => $slideshow_filmstrip_rl_btn_color ,
684
+ 'slideshow_filmstrip_rl_btn_size' => $slideshow_filmstrip_rl_btn_size ,
685
+ 'slideshow_title_font_size' => $slideshow_title_font_size ,
686
+ 'slideshow_title_font' => $slideshow_title_font ,
687
+ 'slideshow_title_color' => $slideshow_title_color ,
688
+ 'slideshow_title_opacity' => $slideshow_title_opacity ,
689
+ 'slideshow_title_border_radius' => $slideshow_title_border_radius ,
690
+ 'slideshow_title_background_color' => $slideshow_title_background_color ,
691
+ 'slideshow_title_padding' => $slideshow_title_padding ,
692
+ 'slideshow_description_font_size' => $slideshow_description_font_size ,
693
+ 'slideshow_description_font' => $slideshow_description_font ,
694
+ 'slideshow_description_color' => $slideshow_description_color ,
695
+ 'slideshow_description_opacity' => $slideshow_description_opacity ,
696
+ 'slideshow_description_border_radius' => $slideshow_description_border_radius ,
697
+ 'slideshow_description_background_color' => $slideshow_description_background_color ,
698
+ 'slideshow_description_padding' => $slideshow_description_padding ,
699
+ 'slideshow_dots_width' => $slideshow_dots_width ,
700
+ 'slideshow_dots_height' => $slideshow_dots_height ,
701
+ 'slideshow_dots_border_radius' => $slideshow_dots_border_radius ,
702
+ 'slideshow_dots_background_color' => $slideshow_dots_background_color ,
703
+ 'slideshow_dots_margin' => $slideshow_dots_margin ,
704
+ 'slideshow_dots_active_background_color' => $slideshow_dots_active_background_color ,
705
+ 'slideshow_dots_active_border_width' => $slideshow_dots_active_border_width ,
706
+ 'slideshow_dots_active_border_color' => $slideshow_dots_active_border_color ,
707
+ 'slideshow_play_pause_btn_size' => $slideshow_play_pause_btn_size ,
708
+ 'slideshow_rl_btn_style' => $slideshow_rl_btn_style,
709
+
710
+ 'masonry_thumb_padding' => $masonry_thumb_padding,
711
+ 'masonry_thumb_border_radius' => $masonry_thumb_border_radius,
712
+ 'masonry_thumb_border_width' => $masonry_thumb_border_width,
713
+ 'masonry_thumb_border_style' => $masonry_thumb_border_style,
714
+ 'masonry_thumb_border_color' => $masonry_thumb_border_color,
715
+ 'masonry_thumbs_bg_color' => $masonry_thumbs_bg_color,
716
+ 'masonry_thumb_bg_transparent' => $masonry_thumb_bg_transparent,
717
+ 'masonry_thumb_transparent' => $masonry_thumb_transparent,
718
+ 'masonry_thumb_align' => $masonry_thumb_align,
719
+ 'masonry_thumb_hover_effect' => $masonry_thumb_hover_effect,
720
+ 'masonry_thumb_hover_effect_value' => $masonry_thumb_hover_effect_value,
721
+ 'masonry_thumb_transition' => $masonry_thumb_transition,
722
+
723
+ 'default_theme' => $default_theme,
724
+ ), array('id' => $id));
725
+ }
726
+ else {
727
+ $save = $wpdb->insert($wpdb->prefix . 'bwg_theme', array(
728
+ 'name' => $name,
729
+ 'thumb_margin' => $thumb_margin,
730
+ 'thumb_padding' => $thumb_padding,
731
+ 'thumb_border_radius' => $thumb_border_radius,
732
+ 'thumb_border_width' => $thumb_border_width,
733
+ 'thumb_border_style' => $thumb_border_style,
734
+ 'thumb_border_color' => $thumb_border_color,
735
+ 'thumb_bg_color' => $thumb_bg_color,
736
+ 'thumbs_bg_color' => $thumbs_bg_color,
737
+ 'thumb_bg_transparent' => $thumb_bg_transparent,
738
+ 'thumb_box_shadow' => $thumb_box_shadow,
739
+ 'thumb_transparent' => $thumb_transparent,
740
+ 'thumb_align' => $thumb_align,
741
+ 'thumb_hover_effect' => $thumb_hover_effect,
742
+ 'thumb_hover_effect_value' => $thumb_hover_effect_value,
743
+ 'thumb_transition' => $thumb_transition,
744
+ 'page_nav_position' => $page_nav_position,
745
+ 'page_nav_align' => $page_nav_align,
746
+ 'page_nav_number' => $page_nav_number,
747
+ 'page_nav_font_size' => $page_nav_font_size,
748
+ 'page_nav_font_style' => $page_nav_font_style,
749
+ 'page_nav_font_color' => $page_nav_font_color,
750
+ 'page_nav_font_weight' => $page_nav_font_weight,
751
+ 'page_nav_border_width' => $page_nav_border_width,
752
+ 'page_nav_border_color' => $page_nav_border_color,
753
+ 'page_nav_border_radius' => $page_nav_border_radius,
754
+ 'page_nav_margin' => $page_nav_margin,
755
+ 'page_nav_padding' => $page_nav_padding,
756
+ 'page_nav_button_bg_color' => $page_nav_button_bg_color,
757
+ 'page_nav_button_bg_transparent' => $page_nav_button_bg_transparent,
758
+ 'page_nav_box_shadow' => $page_nav_box_shadow,
759
+ 'page_nav_button_transition' => $page_nav_button_transition,
760
+ 'page_nav_button_text' => $page_nav_button_text,
761
+ 'lightbox_ctrl_btn_pos' => $lightbox_ctrl_btn_pos,
762
+ 'lightbox_ctrl_btn_align' => $lightbox_ctrl_btn_align,
763
+ 'lightbox_ctrl_btn_height' => $lightbox_ctrl_btn_height,
764
+ 'lightbox_ctrl_btn_margin_top' => $lightbox_ctrl_btn_margin_top,
765
+ 'lightbox_ctrl_btn_margin_left' => $lightbox_ctrl_btn_margin_left,
766
+ 'lightbox_ctrl_btn_transparent' => $lightbox_ctrl_btn_transparent,
767
+ 'lightbox_ctrl_btn_color' => $lightbox_ctrl_btn_color,
768
+ 'lightbox_toggle_btn_height' => $lightbox_toggle_btn_height,
769
+ 'lightbox_toggle_btn_width' => $lightbox_toggle_btn_width,
770
+ 'lightbox_ctrl_cont_bg_color' => $lightbox_ctrl_cont_bg_color,
771
+ 'lightbox_ctrl_cont_border_radius' => $lightbox_ctrl_cont_border_radius,
772
+ 'lightbox_ctrl_cont_transparent' => $lightbox_ctrl_cont_transparent,
773
+ 'lightbox_close_btn_bg_color' => $lightbox_close_btn_bg_color,
774
+ 'lightbox_close_btn_border_radius' => $lightbox_close_btn_border_radius,
775
+ 'lightbox_close_btn_border_width' => $lightbox_close_btn_border_width,
776
+ 'lightbox_close_btn_border_style' => $lightbox_close_btn_border_style,
777
+ 'lightbox_close_btn_border_color' => $lightbox_close_btn_border_color,
778
+ 'lightbox_close_btn_box_shadow' => $lightbox_close_btn_box_shadow,
779
+ 'lightbox_close_btn_color' => $lightbox_close_btn_color,
780
+ 'lightbox_close_btn_size' => $lightbox_close_btn_size,
781
+ 'lightbox_close_btn_width' => $lightbox_close_btn_width,
782
+ 'lightbox_close_btn_height' => $lightbox_close_btn_height,
783
+ 'lightbox_close_btn_top' => $lightbox_close_btn_top,
784
+ 'lightbox_close_btn_right' => $lightbox_close_btn_right,
785
+ 'lightbox_close_btn_full_color' => $lightbox_close_btn_full_color,
786
+ 'lightbox_close_btn_transparent' => $lightbox_close_btn_transparent,
787
+ 'lightbox_rl_btn_bg_color' => $lightbox_rl_btn_bg_color,
788
+ 'lightbox_rl_btn_border_radius' => $lightbox_rl_btn_border_radius,
789
+ 'lightbox_rl_btn_border_width' => $lightbox_rl_btn_border_width,
790
+ 'lightbox_rl_btn_border_style' => $lightbox_rl_btn_border_style,
791
+ 'lightbox_rl_btn_border_color' => $lightbox_rl_btn_border_color,
792
+ 'lightbox_rl_btn_box_shadow' => $lightbox_rl_btn_box_shadow,
793
+ 'lightbox_rl_btn_color' => $lightbox_rl_btn_color,
794
+ 'lightbox_rl_btn_height' => $lightbox_rl_btn_height,
795
+ 'lightbox_rl_btn_width' => $lightbox_rl_btn_width,
796
+ 'lightbox_rl_btn_size' => $lightbox_rl_btn_size,
797
+ 'lightbox_close_rl_btn_hover_color' => $lightbox_close_rl_btn_hover_color,
798
+ 'lightbox_comment_pos' => $lightbox_comment_pos,
799
+ 'lightbox_comment_width' => $lightbox_comment_width,
800
+ 'lightbox_comment_bg_color' => $lightbox_comment_bg_color,
801
+ 'lightbox_comment_font_color' => $lightbox_comment_font_color,
802
+ 'lightbox_comment_font_style' => $lightbox_comment_font_style,
803
+ 'lightbox_comment_font_size' => $lightbox_comment_font_size,
804
+ 'lightbox_comment_button_bg_color' => $lightbox_comment_button_bg_color,
805
+ 'lightbox_comment_button_border_color' => $lightbox_comment_button_border_color,
806
+ 'lightbox_comment_button_border_width' => $lightbox_comment_button_border_width,
807
+ 'lightbox_comment_button_border_style' => $lightbox_comment_button_border_style,
808
+ 'lightbox_comment_button_border_radius' => $lightbox_comment_button_border_radius,
809
+ 'lightbox_comment_button_padding' => $lightbox_comment_button_padding,
810
+ 'lightbox_comment_input_bg_color' => $lightbox_comment_input_bg_color,
811
+ 'lightbox_comment_input_border_color' => $lightbox_comment_input_border_color,
812
+ 'lightbox_comment_input_border_width' => $lightbox_comment_input_border_width,
813
+ 'lightbox_comment_input_border_style' => $lightbox_comment_input_border_style,
814
+ 'lightbox_comment_input_border_radius' => $lightbox_comment_input_border_radius,
815
+ 'lightbox_comment_input_padding' => $lightbox_comment_input_padding,
816
+ 'lightbox_comment_separator_width' => $lightbox_comment_separator_width,
817
+ 'lightbox_comment_separator_style' => $lightbox_comment_separator_style,
818
+ 'lightbox_comment_separator_color' => $lightbox_comment_separator_color,
819
+ 'lightbox_comment_author_font_size' => $lightbox_comment_author_font_size,
820
+ 'lightbox_comment_date_font_size' => $lightbox_comment_date_font_size,
821
+ 'lightbox_comment_body_font_size' => $lightbox_comment_body_font_size,
822
+ 'lightbox_comment_share_button_color' => $lightbox_comment_share_button_color,
823
+ 'lightbox_filmstrip_rl_bg_color' => $lightbox_filmstrip_rl_bg_color,
824
+ 'lightbox_filmstrip_rl_btn_size' => $lightbox_filmstrip_rl_btn_size,
825
+ 'lightbox_filmstrip_rl_btn_color' => $lightbox_filmstrip_rl_btn_color,
826
+ 'lightbox_filmstrip_thumb_margin' => $lightbox_filmstrip_thumb_margin,
827
+ 'lightbox_filmstrip_thumb_border_width' => $lightbox_filmstrip_thumb_border_width,
828
+ 'lightbox_filmstrip_thumb_border_style' => $lightbox_filmstrip_thumb_border_style,
829
+ 'lightbox_filmstrip_thumb_border_color' => $lightbox_filmstrip_thumb_border_color,
830
+ 'lightbox_filmstrip_thumb_border_radius' => $lightbox_filmstrip_thumb_border_radius,
831
+ 'lightbox_filmstrip_thumb_deactive_transparent' => $lightbox_filmstrip_thumb_deactive_transparent,
832
+ 'lightbox_filmstrip_pos' => $lightbox_filmstrip_pos,
833
+ 'lightbox_filmstrip_thumb_active_border_width' => $lightbox_filmstrip_thumb_active_border_width,
834
+ 'lightbox_filmstrip_thumb_active_border_color' => $lightbox_filmstrip_thumb_active_border_color,
835
+ 'lightbox_overlay_bg_transparent' => $lightbox_overlay_bg_transparent,
836
+ 'lightbox_bg_color' => $lightbox_bg_color,
837
+ 'lightbox_overlay_bg_color' => $lightbox_overlay_bg_color,
838
+ 'lightbox_rl_btn_style' => $lightbox_rl_btn_style,
839
+
840
+ 'blog_style_margin' => $blog_style_margin,
841
+ 'blog_style_padding' => $blog_style_padding,
842
+ 'blog_style_border_radius' => $blog_style_border_radius,
843
+ 'blog_style_border_width' => $blog_style_border_width,
844
+ 'blog_style_border_style' => $blog_style_border_style,
845
+ 'blog_style_border_color' => $blog_style_border_color,
846
+ 'blog_style_bg_color' => $blog_style_bg_color,
847
+ 'blog_style_transparent' => $blog_style_transparent,
848
+ 'blog_style_box_shadow' => $blog_style_box_shadow,
849
+ 'blog_style_align' => $blog_style_align,
850
+ 'blog_style_share_buttons_margin' => $blog_style_share_buttons_margin,
851
+ 'blog_style_share_buttons_border_radius' => $blog_style_share_buttons_border_radius,
852
+ 'blog_style_share_buttons_border_width' => $blog_style_share_buttons_border_width,
853
+ 'blog_style_share_buttons_border_style' => $blog_style_share_buttons_border_style,
854
+ 'blog_style_share_buttons_border_color' => $blog_style_share_buttons_border_color,
855
+ 'blog_style_share_buttons_bg_color' => $blog_style_share_buttons_bg_color,
856
+ 'blog_style_share_buttons_align' => $blog_style_share_buttons_align,
857
+ 'blog_style_img_font_size' => $blog_style_img_font_size,
858
+ 'blog_style_img_font_family' => $blog_style_img_font_family,
859
+ 'blog_style_img_font_color' => $blog_style_img_font_color,
860
+ 'blog_style_share_buttons_font_size' => $blog_style_share_buttons_font_size,
861
+ 'blog_style_share_buttons_color' => $blog_style_share_buttons_color,
862
+ 'blog_style_share_buttons_bg_transparent' => $blog_style_share_buttons_bg_transparent,
863
+
864
+ 'image_browser_margin' => $image_browser_margin ,
865
+ 'image_browser_padding' => $image_browser_padding ,
866
+ 'image_browser_border_radius'=> $image_browser_border_radius ,
867
+ 'image_browser_border_width' => $image_browser_border_width ,
868
+ 'image_browser_border_style' => $image_browser_border_style ,
869
+ 'image_browser_border_color' => $image_browser_border_color ,
870
+ 'image_browser_bg_color' => $image_browser_bg_color ,
871
+ 'image_browser_box_shadow' => $image_browser_box_shadow ,
872
+ 'image_browser_transparent' => $image_browser_transparent ,
873
+ 'image_browser_align' => $image_browser_align ,
874
+ 'image_browser_image_description_margin' => $image_browser_image_description_margin ,
875
+ 'image_browser_image_description_padding' => $image_browser_image_description_padding ,
876
+ 'image_browser_image_description_border_radius' => $image_browser_image_description_border_radius ,
877
+ 'image_browser_image_description_border_width' => $image_browser_image_description_border_width ,
878
+ 'image_browser_image_description_border_style' => $image_browser_image_description_border_style ,
879
+ 'image_browser_image_description_border_color' => $image_browser_image_description_border_color ,
880
+ 'image_browser_image_description_bg_color' => $image_browser_image_description_bg_color ,
881
+ 'image_browser_image_description_align' => $image_browser_image_description_align ,
882
+ 'image_browser_img_font_size' => $image_browser_img_font_size ,
883
+ 'image_browser_img_font_family' => $image_browser_img_font_family ,
884
+ 'image_browser_img_font_color' => $image_browser_img_font_color ,
885
+ 'image_browser_full_padding' => $image_browser_full_padding ,
886
+ 'image_browser_full_border_radius' => $image_browser_full_border_radius ,
887
+ 'image_browser_full_border_width' => $image_browser_full_border_width ,
888
+ 'image_browser_full_border_style' => $image_browser_full_border_style ,
889
+ 'image_browser_full_border_color' => $image_browser_full_border_color ,
890
+ 'image_browser_full_bg_color' => $image_browser_full_bg_color ,
891
+ 'image_browser_full_transparent' => $image_browser_full_transparent ,
892
+
893
+ 'album_compact_title_margin' => $album_compact_title_margin ,
894
+ 'album_compact_thumb_margin' => $album_compact_thumb_margin ,
895
+ 'album_compact_back_padding' => $album_compact_back_padding ,
896
+ 'album_compact_thumb_padding' => $album_compact_thumb_padding ,
897
+ 'album_compact_thumb_border_radius' => $album_compact_thumb_border_radius ,
898
+ 'album_compact_thumb_border_width' => $album_compact_thumb_border_width ,
899
+ 'album_compact_title_font_style' => $album_compact_title_font_style ,
900
+ 'album_compact_back_font_color' => $album_compact_back_font_color ,
901
+ 'album_compact_title_font_color' => $album_compact_title_font_color ,
902
+ 'album_compact_title_shadow' => $album_compact_title_shadow ,
903
+ 'album_compact_thumb_bg_transparent' => $album_compact_thumb_bg_transparent ,
904
+ 'album_compact_thumb_box_shadow' => $album_compact_thumb_box_shadow ,
905
+ 'album_compact_thumb_transition' => $album_compact_thumb_transition ,
906
+ 'album_compact_thumb_border_style' => $album_compact_thumb_border_style ,
907
+ 'album_compact_thumb_border_color' => $album_compact_thumb_border_color ,
908
+ 'album_compact_thumb_bg_color' => $album_compact_thumb_bg_color ,
909
+ 'album_compact_back_font_weight' => $album_compact_back_font_weight ,
910
+ 'album_compact_back_font_size' => $album_compact_back_font_size ,
911
+ 'album_compact_back_font_style' => $album_compact_back_font_style ,
912
+ 'album_compact_thumbs_bg_color' => $album_compact_thumbs_bg_color ,
913
+ 'album_compact_title_font_size' => $album_compact_title_font_size ,
914
+ 'album_compact_title_font_weight' => $album_compact_title_font_weight ,
915
+ 'album_compact_thumb_align' => $album_compact_thumb_align ,
916
+ 'album_compact_thumb_hover_effect' => $album_compact_thumb_hover_effect ,
917
+ 'album_compact_thumb_transparent' => $album_compact_thumb_transparent ,
918
+ 'album_compact_thumb_hover_effect_value' => $album_compact_thumb_hover_effect_value ,
919
+ 'album_extended_thumb_margin' => $album_extended_thumb_margin ,
920
+ 'album_extended_thumb_padding' => $album_extended_thumb_padding ,
921
+ 'album_extended_thumb_border_radius' => $album_extended_thumb_border_radius ,
922
+ 'album_extended_thumb_border_width' => $album_extended_thumb_border_width ,
923
+ 'album_extended_thumb_border_style' => $album_extended_thumb_border_style ,
924
+ 'album_extended_thumb_border_color' => $album_extended_thumb_border_color ,
925
+ 'album_extended_thumb_bg_color' => $album_extended_thumb_bg_color ,
926
+ 'album_extended_thumbs_bg_color' => $album_extended_thumbs_bg_color ,
927
+ 'album_extended_thumb_bg_transparent' => $album_extended_thumb_bg_transparent ,
928
+ 'album_extended_thumb_box_shadow' => $album_extended_thumb_box_shadow ,
929
+ 'album_extended_thumb_transparent' => $album_extended_thumb_transparent ,
930
+ 'album_extended_thumb_align' => $album_extended_thumb_align ,
931
+ 'album_extended_thumb_hover_effect' => $album_extended_thumb_hover_effect ,
932
+ 'album_extended_thumb_hover_effect_value' => $album_extended_thumb_hover_effect_value ,
933
+ 'album_extended_thumb_transition' => $album_extended_thumb_transition ,
934
+ 'album_extended_back_font_color' => $album_extended_back_font_color ,
935
+ 'album_extended_back_font_style' => $album_extended_back_font_style ,
936
+ 'album_extended_back_font_size' => $album_extended_back_font_size ,
937
+ 'album_extended_back_font_weight' => $album_extended_back_font_weight ,
938
+ 'album_extended_back_padding' => $album_extended_back_padding ,
939
+ 'album_extended_div_bg_color' => $album_extended_div_bg_color ,
940
+ 'album_extended_div_bg_transparent' => $album_extended_div_bg_transparent ,
941
+ 'album_extended_div_border_radius' => $album_extended_div_border_radius ,
942
+ 'album_extended_div_margin' => $album_extended_div_margin ,
943
+ 'album_extended_div_padding' => $album_extended_div_padding ,
944
+ 'album_extended_div_separator_width' => $album_extended_div_separator_width ,
945
+ 'album_extended_div_separator_style' => $album_extended_div_separator_style ,
946
+ 'album_extended_div_separator_color' => $album_extended_div_separator_color ,
947
+ 'album_extended_thumb_div_bg_color' => $album_extended_thumb_div_bg_color ,
948
+ 'album_extended_thumb_div_border_radius' => $album_extended_thumb_div_border_radius ,
949
+ 'album_extended_thumb_div_border_width' => $album_extended_thumb_div_border_width ,
950
+ 'album_extended_thumb_div_border_style' => $album_extended_thumb_div_border_style ,
951
+ 'album_extended_thumb_div_border_color' => $album_extended_thumb_div_border_color ,
952
+ 'album_extended_thumb_div_padding' => $album_extended_thumb_div_padding ,
953
+ 'album_extended_text_div_bg_color' => $album_extended_text_div_bg_color ,
954
+ 'album_extended_text_div_border_radius' => $album_extended_text_div_border_radius ,
955
+ 'album_extended_text_div_border_width' => $album_extended_text_div_border_width ,
956
+ 'album_extended_text_div_border_style' => $album_extended_text_div_border_style ,
957
+ 'album_extended_text_div_border_color' => $album_extended_text_div_border_color ,
958
+ 'album_extended_text_div_padding' => $album_extended_text_div_padding ,
959
+ 'album_extended_title_span_border_width' => $album_extended_title_span_border_width ,
960
+ 'album_extended_title_span_border_style' => $album_extended_title_span_border_style ,
961
+ 'album_extended_title_span_border_color' => $album_extended_title_span_border_color ,
962
+ 'album_extended_title_font_color' => $album_extended_title_font_color ,
963
+ 'album_extended_title_font_style' => $album_extended_title_font_style ,
964
+ 'album_extended_title_font_size' => $album_extended_title_font_size ,
965
+ 'album_extended_title_font_weight' => $album_extended_title_font_weight ,
966
+ 'album_extended_title_margin_bottom' => $album_extended_title_margin_bottom ,
967
+ 'album_extended_title_padding' => $album_extended_title_padding ,
968
+ 'album_extended_desc_span_border_width' => $album_extended_desc_span_border_width ,
969
+ 'album_extended_desc_span_border_style' => $album_extended_desc_span_border_style ,
970
+ 'album_extended_desc_span_border_color' => $album_extended_desc_span_border_color ,
971
+ 'album_extended_desc_font_color' => $album_extended_desc_font_color ,
972
+ 'album_extended_desc_font_style' => $album_extended_desc_font_style ,
973
+ 'album_extended_desc_font_size' => $album_extended_desc_font_size ,
974
+ 'album_extended_desc_font_weight' => $album_extended_desc_font_weight ,
975
+ 'album_extended_desc_padding' => $album_extended_desc_padding ,
976
+ 'album_extended_desc_more_color' => $album_extended_desc_more_color ,
977
+ 'album_extended_desc_more_size' => $album_extended_desc_more_size ,
978
+
979
+ 'slideshow_cont_bg_color' => $slideshow_cont_bg_color ,
980
+ 'slideshow_close_btn_transparent' => $slideshow_close_btn_transparent ,
981
+ 'slideshow_rl_btn_bg_color' => $slideshow_rl_btn_bg_color ,
982
+ 'slideshow_rl_btn_border_radius' => $slideshow_rl_btn_border_radius ,
983
+ 'slideshow_rl_btn_border_width' => $slideshow_rl_btn_border_width ,
984
+ 'slideshow_rl_btn_border_style' => $slideshow_rl_btn_border_style ,
985
+ 'slideshow_rl_btn_border_color' => $slideshow_rl_btn_border_color ,
986
+ 'slideshow_rl_btn_box_shadow' => $slideshow_rl_btn_box_shadow ,
987
+ 'slideshow_rl_btn_color' => $slideshow_rl_btn_color ,
988
+ 'slideshow_rl_btn_height' => $slideshow_rl_btn_height ,
989
+ 'slideshow_rl_btn_size' => $slideshow_rl_btn_size ,
990
+ 'slideshow_rl_btn_width' => $slideshow_rl_btn_width ,
991
+ 'slideshow_close_rl_btn_hover_color' => $slideshow_close_rl_btn_hover_color ,
992
+ 'slideshow_filmstrip_pos' => $slideshow_filmstrip_pos ,
993
+ 'slideshow_filmstrip_thumb_border_width' => $slideshow_filmstrip_thumb_border_width ,
994
+ 'slideshow_filmstrip_thumb_border_style' => $slideshow_filmstrip_thumb_border_style ,
995
+ 'slideshow_filmstrip_thumb_border_color' => $slideshow_filmstrip_thumb_border_color ,
996
+ 'slideshow_filmstrip_thumb_border_radius' => $slideshow_filmstrip_thumb_border_radius ,
997
+ 'slideshow_filmstrip_thumb_margin' => $slideshow_filmstrip_thumb_margin ,
998
+ 'slideshow_filmstrip_thumb_active_border_width' => $slideshow_filmstrip_thumb_active_border_width ,
999
+ 'slideshow_filmstrip_thumb_active_border_color' => $slideshow_filmstrip_thumb_active_border_color ,
1000
+ 'slideshow_filmstrip_thumb_deactive_transparent' => $slideshow_filmstrip_thumb_deactive_transparent ,
1001
+ 'slideshow_filmstrip_rl_bg_color' => $slideshow_filmstrip_rl_bg_color ,
1002
+ 'slideshow_filmstrip_rl_btn_color' => $slideshow_filmstrip_rl_btn_color ,
1003
+ 'slideshow_filmstrip_rl_btn_size' => $slideshow_filmstrip_rl_btn_size ,
1004
+ 'slideshow_title_font_size' => $slideshow_title_font_size ,
1005
+ 'slideshow_title_font' => $slideshow_title_font ,
1006
+ 'slideshow_title_color' => $slideshow_title_color ,
1007
+ 'slideshow_title_opacity' => $slideshow_title_opacity ,
1008
+ 'slideshow_title_border_radius' => $slideshow_title_border_radius ,
1009
+ 'slideshow_title_background_color' => $slideshow_title_background_color ,
1010
+ 'slideshow_title_padding' => $slideshow_title_padding ,
1011
+ 'slideshow_description_font_size' => $slideshow_description_font_size ,
1012
+ 'slideshow_description_font' => $slideshow_description_font ,
1013
+ 'slideshow_description_color' => $slideshow_description_color ,
1014
+ 'slideshow_description_opacity' => $slideshow_description_opacity ,
1015
+ 'slideshow_description_border_radius' => $slideshow_description_border_radius ,
1016
+ 'slideshow_description_background_color' => $slideshow_description_background_color ,
1017
+ 'slideshow_description_padding' => $slideshow_description_padding ,
1018
+ 'slideshow_dots_width' => $slideshow_dots_width ,
1019
+ 'slideshow_dots_height' => $slideshow_dots_height ,
1020
+ 'slideshow_dots_border_radius' => $slideshow_dots_border_radius ,
1021
+ 'slideshow_dots_background_color' => $slideshow_dots_background_color ,
1022
+ 'slideshow_dots_margin' => $slideshow_dots_margin ,
1023
+ 'slideshow_dots_active_background_color' => $slideshow_dots_active_background_color ,
1024
+ 'slideshow_dots_active_border_width' => $slideshow_dots_active_border_width ,
1025
+ 'slideshow_dots_active_border_color' => $slideshow_dots_active_border_color ,
1026
+ 'slideshow_play_pause_btn_size' => $slideshow_play_pause_btn_size ,
1027
+ 'slideshow_rl_btn_style' => $slideshow_rl_btn_style,
1028
+
1029
+ 'masonry_thumb_padding' => $masonry_thumb_padding,
1030
+ 'masonry_thumb_border_radius' => $masonry_thumb_border_radius,
1031
+ 'masonry_thumb_border_width' => $masonry_thumb_border_width,
1032
+ 'masonry_thumb_border_style' => $masonry_thumb_border_style,
1033
+ 'masonry_thumb_border_color' => $masonry_thumb_border_color,
1034
+ 'masonry_thumbs_bg_color' => $masonry_thumbs_bg_color,
1035
+ 'masonry_thumb_bg_transparent' => $masonry_thumb_bg_transparent,
1036
+ 'masonry_thumb_transparent' => $masonry_thumb_transparent,
1037
+ 'masonry_thumb_align' => $masonry_thumb_align,
1038
+ 'masonry_thumb_hover_effect' => $masonry_thumb_hover_effect,
1039
+ 'masonry_thumb_hover_effect_value' => $masonry_thumb_hover_effect_value,
1040
+ 'masonry_thumb_transition' => $masonry_thumb_transition,
1041
+ 'lightbox_rl_btn_transparent' => $lightbox_rl_btn_transparent,
1042
+
1043
+ 'default_theme' => $default_theme,
1044
+ ), array(
1045
+ '%s',
1046
+ '%s',
1047
+ '%s',
1048
+ '%s',
1049
+ '%d',
1050
+ '%s',
1051
+ '%s',
1052
+ '%s',
1053
+ '%s',
1054
+ '%d',
1055
+ '%s',
1056
+ '%d',
1057
+ '%s',
1058
+ '%s',
1059
+ '%s',
1060
+ '%d',
1061
+ '%s',
1062
+ '%s',
1063
+ '%d',
1064
+ '%d',
1065
+ '%s',
1066
+ '%s',
1067
+ '%s',
1068
+ '%d',
1069
+ '%s',
1070
+ '%s',
1071
+ '%s',
1072
+ '%s',
1073
+ '%s',
1074
+ '%s',
1075
+ '%d',
1076
+ '%s',
1077
+ '%d',
1078
+ '%d',
1079
+ '%s',
1080
+ '%s',
1081
+ '%d',
1082
+ '%d',
1083
+ '%d',
1084
+ '%d',
1085
+ '%s',
1086
+ '%d',
1087
+ '%d',
1088
+ '%s',
1089
+ '%d',
1090
+ '%d',
1091
+ '%s',
1092
+ '%d',
1093
+ '%d',
1094
+ '%s',
1095
+ '%s',
1096
+ '%s',
1097
+ '%s',
1098
+ '%d',
1099
+ '%d',
1100
+ '%d',
1101
+ '%s',
1102
+ '%s',
1103
+ '%s',
1104
+ '%d',
1105
+ '%s',
1106
+ '%s',
1107
+ '%d',
1108
+ '%s',
1109
+ '%s',
1110
+ '%s',
1111
+ '%s',
1112
+ '%d',
1113
+ '%d',
1114
+ '%d',
1115
+ '%s',
1116
+ '%s',
1117
+ '%d',
1118
+ '%s',
1119
+ '%s',
1120
+ '%s',
1121
+ '%d',
1122
+ '%s',
1123
+ '%s',
1124
+ '%d',
1125
+ '%s',
1126
+ '%s',
1127
+ '%s',
1128
+ '%s',
1129
+ '%s',
1130
+ '%d',
1131
+ '%s',
1132
+ '%s',
1133
+ '%s',
1134
+ '%d',
1135
+ '%s',
1136
+ '%s',
1137
+ '%d',
1138
+ '%d',
1139
+ '%d',
1140
+ '%s',
1141
+ '%s',
1142
+ '%d',
1143
+ '%s',
1144
+ '%s',
1145
+ '%d',
1146
+ '%s',
1147
+ '%s',
1148
+ '%s',
1149
+ '%d',
1150
+ '%s',
1151
+ '%d',
1152
+ '%s',
1153
+
1154
+ '%d',
1155
+ '%s',
1156
+ '%s',
1157
+ '%s',
1158
+
1159
+ '%s',
1160
+ '%s',
1161
+ '%s',
1162
+ '%d',
1163
+ '%s',
1164
+ '%s',
1165
+ '%s',
1166
+ '%s',
1167
+ '%d',
1168
+ '%s',
1169
+
1170
+ '%s',
1171
+ '%s',
1172
+ '%d',
1173
+ '%s',
1174
+ '%s',
1175
+ '%s',
1176
+ '%s',
1177
+ '%d',
1178
+ '%s',
1179
+ '%s',
1180
+ '%d',
1181
+ '%s',
1182
+ '%d',
1183
+
1184
+ '%s',
1185
+ '%s',
1186
+ '%s',
1187
+ '%d',
1188
+ '%s',
1189
+ '%s',
1190
+ '%s',
1191
+ '%s',
1192
+ '%d',
1193
+ '%s',
1194
+ '%s',
1195
+ '%s',
1196
+ '%s',
1197
+ '%d',
1198
+ '%s',
1199
+ '%s',
1200
+ '%s',
1201
+ '%s',
1202
+ '%d',
1203
+ '%s',
1204
+ '%s',
1205
+
1206
+ '%s',
1207
+ '%s',
1208
+ '%d',
1209
+ '%s',
1210
+ '%s',
1211
+ '%s',
1212
+ '%d',
1213
+
1214
+ '%s',
1215
+ '%d',
1216
+ '%s',
1217
+ '%d',
1218
+ '%s',
1219
+ '%d',
1220
+ '%s',
1221
+ '%s',
1222
+ '%s',
1223
+ '%s',
1224
+ '%d',
1225
+ '%s',
1226
+ '%d',
1227
+ '%s',
1228
+ '%s',
1229
+ '%s',
1230
+ '%s',
1231
+ '%d',
1232
+ '%s',
1233
+ '%s',
1234
+ '%d',
1235
+ '%s',
1236
+ '%s',
1237
+ '%s',
1238
+ '%d',
1239
+ '%s',
1240
+
1241
+ '%d',
1242
+ '%d',
1243
+ '%s',
1244
+ '%d',
1245
+ '%s',
1246
+ '%s',
1247
+ '%s',
1248
+ '%s',
1249
+ '%d',
1250
+ '%s',
1251
+ '%d',
1252
+ '%s',
1253
+ '%s',
1254
+ '%s',
1255
+ '%d',
1256
+ '%s',
1257
+ '%s',
1258
+ '%d',
1259
+ '%s',
1260
+ '%s',
1261
+ '%s',
1262
+ '%d',
1263
+ '%s',
1264
+ '%s',
1265
+ '%d',
1266
+ '%d',
1267
+ '%s',
1268
+ '%s',
1269
+ '%s',
1270
+ '%s',
1271
+ '%d',
1272
+ '%s',
1273
+ '%s',
1274
+ '%s',
1275
+ '%s',
1276
+ '%s',
1277
+ '%d',
1278
+ '%s',
1279
+ '%s',
1280
+ '%s',
1281
+ '%d',
1282
+ '%s',
1283
+ '%s',
1284
+ '%s',
1285
+ '%s',
1286
+ '%d',
1287
+ '%s',
1288
+ '%d',
1289
+ '%s',
1290
+ '%d',
1291
+ '%s',
1292
+ '%s',
1293
+ '%s',
1294
+ '%s',
1295
+ '%d',
1296
+ '%s',
1297
+ '%s',
1298
+ '%s',
1299
+ '%d',
1300
+
1301
+ '%s',
1302
+ '%d',
1303
+ '%s',
1304
+ '%s',
1305
+ '%d',
1306
+ '%s',
1307
+ '%s',
1308
+ '%s',
1309
+ '%s',
1310
+ '%d',
1311
+ '%d',
1312
+ '%d',
1313
+ '%s',
1314
+ '%s',
1315
+ '%d',
1316
+ '%s',
1317
+ '%s',
1318
+ '%s',
1319
+ '%s',
1320
+ '%d',
1321
+ '%s',
1322
+ '%d',
1323
+ '%s',
1324
+ '%s',
1325
+ '%d',
1326
+ '%d',
1327
+ '%s',
1328
+ '%s',
1329
+ '%d',
1330
+ '%s',
1331
+ '%s',
1332
+ '%s',
1333
+ '%d',
1334
+ '%s',
1335
+ '%s',
1336
+ '%d',
1337
+ '%s',
1338
+ '%s',
1339
+ '%s',
1340
+ '%d',
1341
+ '%d',
1342
+ '%s',
1343
+ '%s',
1344
+ '%d',
1345
+ '%s',
1346
+ '%d',
1347
+ '%s',
1348
+ '%d',
1349
+ '%s',
1350
+
1351
+ '%d',
1352
+ '%s',
1353
+ '%d',
1354
+ '%s',
1355
+ '%s',
1356
+ '%s',
1357
+ '%d',
1358
+ '%d',
1359
+ '%s',
1360
+ '%s',
1361
+ '%s',
1362
+ '%d',
1363
+ '%d',
1364
+
1365
+ '%d',
1366
+ ));
1367
+ }
1368
+ if ($save !== FALSE) {
1369
+ echo WDWLibrary::message('Item Succesfully Saved.', 'updated');
1370
+ }
1371
+ else {
1372
+ echo WDWLibrary::message('Error. Please install plugin again.', 'error');
1373
+ }
1374
+ }
1375
+
1376
+ public function delete($id) {
1377
+ global $wpdb;
1378
+ $isDefault = $wpdb->get_var('SELECT default_theme FROM ' . $wpdb->prefix . 'bwg_theme WHERE id=' . $id);
1379
+ if ($isDefault) {
1380
+ echo WDWLibrary::message("You can't delete default theme", 'error');
1381
+ }
1382
+ else {
1383
+ $query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_theme WHERE id="%d"', $id);
1384
+ if ($wpdb->query($query)) {
1385
+ echo WDWLibrary::message('Item Succesfully Deleted.', 'updated');
1386
+ }
1387
+ else {
1388
+ echo WDWLibrary::message('Error. Please install plugin again.', 'error');
1389
+ }
1390
+ }
1391
+ $this->display();
1392
+ }
1393
+
1394
+ public function delete_all() {
1395
+ global $wpdb;
1396
+ $flag = FALSE;
1397
+ $isDefault = FALSE;
1398
+ $tag_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'bwg_theme');
1399
+ foreach ($tag_ids_col as $tag_id) {
1400
+ if (isset($_POST['check_' . $tag_id])) {
1401
+ $isDefault = $wpdb->get_var('SELECT default_theme FROM ' . $wpdb->prefix . 'bwg_theme WHERE id=' . $tag_id);
1402
+ if ($isDefault) {
1403
+ echo WDWLibrary::message("You can't delete default theme", 'error');
1404
+ }
1405
+ else {
1406
+ $flag = TRUE;
1407
+ $query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_theme WHERE id="%d"', $tag_id);
1408
+ $wpdb->query($query);
1409
+ }
1410
+ }
1411
+ }
1412
+ if ($flag) {
1413
+ echo WDWLibrary::message('Items Succesfully Deleted.', 'updated');
1414
+ }
1415
+ else {
1416
+ echo WDWLibrary::message('You must select at least one item.', 'error');
1417
+ }
1418
+ $this->display();
1419
+ }
1420
+
1421
+ public function setdefault($id) {
1422
+ global $wpdb;
1423
+ $save = $wpdb->update($wpdb->prefix . 'bwg_theme', array('default_theme' => 0), array('default_theme' => 1));
1424
+ $save = $wpdb->update($wpdb->prefix . 'bwg_theme', array('default_theme' => 1), array('id' => $id));
1425
+ if ($save !== FALSE) {
1426
+ echo WDWLibrary::message('Item Succesfully Set As Default.', 'updated');
1427
+ }
1428
+ else {
1429
+ echo WDWLibrary::message('Error. Please install plugin again.', 'error');
1430
+ }
1431
+ $this->display();
1432
+ }
1433
+
1434
+ ////////////////////////////////////////////////////////////////////////////////////////
1435
+ // Getters & Setters //
1436
+ ////////////////////////////////////////////////////////////////////////////////////////
1437
+ ////////////////////////////////////////////////////////////////////////////////////////
1438
+ // Private Methods //
1439
+ ////////////////////////////////////////////////////////////////////////////////////////
1440
+ ////////////////////////////////////////////////////////////////////////////////////////
1441
+ // Listeners //
1442
+ ////////////////////////////////////////////////////////////////////////////////////////
1443
+ }
admin/controllers/BWGControllerUninstall_bwg.php ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGControllerUninstall_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ public function execute() {
22
+ $task = ((isset($_POST['task'])) ? esc_html(stripslashes($_POST['task'])) : '');
23
+ if (method_exists($this, $task)) {
24
+ $this->$task();
25
+ }
26
+ else {
27
+ $this->display();
28
+ }
29
+ }
30
+
31
+ public function display() {
32
+ require_once WD_BWG_DIR . "/admin/models/BWGModelUninstall_bwg.php";
33
+ $model = new BWGModelUninstall_bwg();
34
+
35
+ require_once WD_BWG_DIR . "/admin/views/BWGViewUninstall_bwg.php";
36
+ $view = new BWGViewUninstall_bwg($model);
37
+ $view->display();
38
+ }
39
+
40
+ public function uninstall() {
41
+ require_once WD_BWG_DIR . "/admin/models/BWGModelUninstall_bwg.php";
42
+ $model = new BWGModelUninstall_bwg();
43
+
44
+ require_once WD_BWG_DIR . "/admin/views/BWGViewUninstall_bwg.php";
45
+ $view = new BWGViewUninstall_bwg($model);
46
+ $view->uninstall();
47
+ }
48
+ ////////////////////////////////////////////////////////////////////////////////////////
49
+ // Getters & Setters //
50
+ ////////////////////////////////////////////////////////////////////////////////////////
51
+ ////////////////////////////////////////////////////////////////////////////////////////
52
+ // Private Methods //
53
+ ////////////////////////////////////////////////////////////////////////////////////////
54
+ ////////////////////////////////////////////////////////////////////////////////////////
55
+ // Listeners //
56
+ ////////////////////////////////////////////////////////////////////////////////////////
57
+ }
admin/controllers/BWGControllerWidget.php ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGControllerWidget extends WP_Widget {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $view;
14
+ private $model;
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ // Constructor & Destructor //
17
+ ////////////////////////////////////////////////////////////////////////////////////////
18
+ public function __construct() {
19
+ $widget_ops = array(
20
+ 'classname' => 'bwp_gallery',
21
+ 'description' => 'Add Photo Gallery albums or galleries to Your widget area.'
22
+ );
23
+ // Widget Control Settings.
24
+ $control_ops = array('id_base' => 'bwp_gallery');
25
+ // Create the widget.
26
+ $this->WP_Widget('bwp_gallery', 'Photo Gallery Widget', $widget_ops, $control_ops);
27
+ require_once WD_BWG_DIR . "/admin/models/BWGModelWidget.php";
28
+ $this->model = new BWGModelWidget();
29
+
30
+ require_once WD_BWG_DIR . "/admin/views/BWGViewWidget.php";
31
+ $this->view = new BWGViewWidget($this->model);
32
+ }
33
+ ////////////////////////////////////////////////////////////////////////////////////////
34
+ // Public Methods //
35
+ ////////////////////////////////////////////////////////////////////////////////////////
36
+
37
+ public function widget($args, $instance) {
38
+ $this->view->widget($args, $instance);
39
+ }
40
+
41
+ public function form( $instance ) {
42
+ $this->view->form($instance, parent::get_field_id('title'), parent::get_field_name('title'), parent::get_field_id('type'), parent::get_field_name('type'), parent::get_field_id('show'), parent::get_field_name('show'), parent::get_field_id('gallery_id'), parent::get_field_name('gallery_id'), parent::get_field_id('album_id'), parent::get_field_name('album_id'), parent::get_field_id('count'), parent::get_field_name('count'), parent::get_field_id('width'), parent::get_field_name('width'), parent::get_field_id('height'), parent::get_field_name('height'), parent::get_field_id('theme_id'), parent::get_field_name('theme_id'));
43
+ }
44
+
45
+ // Update Settings.
46
+ public function update($new_instance, $old_instance) {
47
+ $instance['title'] = strip_tags($new_instance['title']);
48
+ $instance['type'] = $new_instance['type'];
49
+ $instance['gallery_id'] = $new_instance['gallery_id'];
50
+ $instance['album_id'] = $new_instance['album_id'];
51
+ $instance['show'] = $new_instance['show'];
52
+ $instance['count'] = $new_instance['count'];
53
+ $instance['width'] = $new_instance['width'];
54
+ $instance['height'] = $new_instance['height'];
55
+ $instance['theme_id'] = $new_instance['theme_id'];
56
+ return $instance;
57
+ }
58
+
59
+ ////////////////////////////////////////////////////////////////////////////////////////
60
+ // Getters & Setters //
61
+ ////////////////////////////////////////////////////////////////////////////////////////
62
+ ////////////////////////////////////////////////////////////////////////////////////////
63
+ // Private Methods //
64
+ ////////////////////////////////////////////////////////////////////////////////////////
65
+ ////////////////////////////////////////////////////////////////////////////////////////
66
+ // Listeners //
67
+ ////////////////////////////////////////////////////////////////////////////////////////
68
+ }
admin/controllers/BWGControllerWidgetSlideshow.php ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGControllerWidgetSlideshow extends WP_Widget {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $view;
14
+ private $model;
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ // Constructor & Destructor //
17
+ ////////////////////////////////////////////////////////////////////////////////////////
18
+ public function __construct() {
19
+ $widget_ops = array(
20
+ 'classname' => 'bwp_gallery_slideshow',
21
+ 'description' => 'Add Photo Gallery slideshow to Your widget area.'
22
+ );
23
+ // Widget Control Settings.
24
+ $control_ops = array('id_base' => 'bwp_gallery_slideshow');
25
+ // Create the widget.
26
+ $this->WP_Widget('bwp_gallery_slideshow', 'Photo Gallery Slideshow', $widget_ops, $control_ops);
27
+ require_once WD_BWG_DIR . "/admin/models/BWGModelWidgetSlideshow.php";
28
+ $this->model = new BWGModelWidgetSlideshow();
29
+
30
+ require_once WD_BWG_DIR . "/admin/views/BWGViewWidgetSlideshow.php";
31
+ $this->view = new BWGViewWidgetSlideshow($this->model);
32
+ }
33
+ ////////////////////////////////////////////////////////////////////////////////////////
34
+ // Public Methods //
35
+ ////////////////////////////////////////////////////////////////////////////////////////
36
+
37
+ public function widget($args, $instance) {
38
+ $this->view->widget($args, $instance);
39
+ }
40
+
41
+ public function form( $instance ) {
42
+ $this->view->form($instance, parent::get_field_id('title'), parent::get_field_name('title'), parent::get_field_id('gallery_id'), parent::get_field_name('gallery_id'), parent::get_field_id('width'), parent::get_field_name('width'), parent::get_field_id('height'), parent::get_field_name('height'), parent::get_field_id('effect'), parent::get_field_name('effect'), parent::get_field_id('interval'), parent::get_field_name('interval'), parent::get_field_id('shuffle'), parent::get_field_name('shuffle'), parent::get_field_id('theme_id'), parent::get_field_name('theme_id'));
43
+ }
44
+
45
+ // Update Settings.
46
+ public function update($new_instance, $old_instance) {
47
+ $instance['title'] = strip_tags($new_instance['title']);
48
+ $instance['gallery_id'] = $new_instance['gallery_id'];
49
+ $instance['width'] = $new_instance['width'];
50
+ $instance['height'] = $new_instance['height'];
51
+ $instance['effect'] = $new_instance['effect'];
52
+ $instance['interval'] = $new_instance['interval'];
53
+ $instance['shuffle'] = $new_instance['shuffle'];
54
+ $instance['theme_id'] = $new_instance['theme_id'];
55
+ return $instance;
56
+ }
57
+
58
+ ////////////////////////////////////////////////////////////////////////////////////////
59
+ // Getters & Setters //
60
+ ////////////////////////////////////////////////////////////////////////////////////////
61
+ ////////////////////////////////////////////////////////////////////////////////////////
62
+ // Private Methods //
63
+ ////////////////////////////////////////////////////////////////////////////////////////
64
+ ////////////////////////////////////////////////////////////////////////////////////////
65
+ // Listeners //
66
+ ////////////////////////////////////////////////////////////////////////////////////////
67
+ }
admin/models/BWGModelAddAlbumsGalleries.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGModelAddAlbumsGalleries {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+
22
+ public function get_rows_data($album_id) {
23
+ global $wpdb;
24
+ $where = ((isset($_POST['search_value']) && (esc_html(stripslashes($_POST['search_value'])) != '')) ? ' AND name LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
25
+ $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
26
+ $order_by = ' ORDER BY ' . ((isset($_POST['order_by']) && esc_html(stripslashes($_POST['order_by'])) != '') ? esc_html(stripslashes($_POST['order_by'])) : 'name') . ' ' . $asc_or_desc;
27
+ if (isset($_POST['page_number']) && $_POST['page_number']) {
28
+ $limit = ((int) $_POST['page_number'] - 1) * 20;
29
+ }
30
+ else {
31
+ $limit = 0;
32
+ }
33
+ $query = "SELECT id, name, 1 as is_album FROM " . $wpdb->prefix . "bwg_album WHERE published=1 AND id<>" . $album_id . " " . $where . " UNION SELECT id, name, 0 as is_album FROM " . $wpdb->prefix . "bwg_gallery WHERE published=1" . $where . $order_by . " LIMIT " . $limit . ",20";
34
+ $rows = $wpdb->get_results($query);
35
+ return $rows;
36
+ }
37
+
38
+ public function page_nav() {
39
+ global $wpdb;
40
+ $where = ((isset($_POST['search_value']) && (esc_html(stripslashes($_POST['search_value'])) != '')) ? ' AND name LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
41
+ $query = "SELECT id, name, 1 FROM " . $wpdb->prefix . "bwg_album WHERE published=1" . $where . " UNION SELECT id, name, 0 FROM " . $wpdb->prefix . "bwg_gallery WHERE published=1" . $where;
42
+ $total = $wpdb->get_var($query);
43
+ $page_nav['total'] = $total;
44
+ if (isset($_POST['page_number']) && $_POST['page_number']) {
45
+ $limit = ((int) $_POST['page_number'] - 1) * 20;
46
+ }
47
+ else {
48
+ $limit = 0;
49
+ }
50
+ $page_nav['limit'] = (int) ($limit / 20 + 1);
51
+ return $page_nav;
52
+ }
53
+ ////////////////////////////////////////////////////////////////////////////////////////
54
+ // Getters & Setters //
55
+ ////////////////////////////////////////////////////////////////////////////////////////
56
+ ////////////////////////////////////////////////////////////////////////////////////////
57
+ // Private Methods //
58
+ ////////////////////////////////////////////////////////////////////////////////////////
59
+ ////////////////////////////////////////////////////////////////////////////////////////
60
+ // Listeners //
61
+ ////////////////////////////////////////////////////////////////////////////////////////
62
+ }
admin/models/BWGModelAddTags.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGModelAddTags {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+
22
+ public function get_rows_data() {
23
+ global $wpdb;
24
+ $where = ((isset($_POST['search_value']) && (esc_html(stripslashes($_POST['search_value'])) != '')) ? ' AND name LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
25
+ $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
26
+ $order_by = ' ORDER BY ' . ((isset($_POST['order_by']) && esc_html(stripslashes($_POST['order_by'])) != '') ? esc_html(stripslashes($_POST['order_by'])) : 'name') . ' ' . $asc_or_desc;
27
+ if (isset($_POST['page_number']) && $_POST['page_number']) {
28
+ $limit = ((int) $_POST['page_number'] - 1) * 20;
29
+ }
30
+ else {
31
+ $limit = 0;
32
+ }
33
+ $query = "SELECT table1.term_id, table1.name, table1.slug FROM " . $wpdb->prefix . "terms AS table1 INNER JOIN " . $wpdb->prefix . "term_taxonomy AS table2 ON table1.term_id = table2.term_id WHERE table2.taxonomy='bwg_tag' " . $where . $order_by . " LIMIT " . $limit . ",20";
34
+ $rows = $wpdb->get_results($query);
35
+ return $rows;
36
+ }
37
+
38
+ public function page_nav() {
39
+ global $wpdb;
40
+ $where = ((isset($_POST['search_value']) && (esc_html(stripslashes($_POST['search_value'])) != '')) ? ' AND name LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
41
+ $query = "SELECT COUNT(*) FROM " . $wpdb->prefix . "terms AS table1 INNER JOIN " . $wpdb->prefix . "term_taxonomy AS table2 ON table1.term_id = table2.term_id WHERE table2.taxonomy='bwg_tag' " . $where;
42
+ $total = $wpdb->get_var($query);
43
+ $page_nav['total'] = $total;
44
+ if (isset($_POST['page_number']) && $_POST['page_number']) {
45
+ $limit = ((int) $_POST['page_number'] - 1) * 20;
46
+ }
47
+ else {
48
+ $limit = 0;
49
+ }
50
+ $page_nav['limit'] = (int) ($limit / 20 + 1);
51
+ return $page_nav;
52
+ }
53
+ ////////////////////////////////////////////////////////////////////////////////////////
54
+ // Getters & Setters //
55
+ ////////////////////////////////////////////////////////////////////////////////////////
56
+ ////////////////////////////////////////////////////////////////////////////////////////
57
+ // Private Methods //
58
+ ////////////////////////////////////////////////////////////////////////////////////////
59
+ ////////////////////////////////////////////////////////////////////////////////////////
60
+ // Listeners //
61
+ ////////////////////////////////////////////////////////////////////////////////////////
62
+ }
admin/models/BWGModelAlbums_bwg.php ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGModelAlbums_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ public function get_rows_data() {
22
+ global $wpdb;
23
+ if (!current_user_can('manage_options') && $wpdb->get_var("SELECT gallery_role FROM " . $wpdb->prefix . "bwg_option")) {
24
+ $where = " WHERE table1.author=" . get_current_user_id();
25
+ }
26
+ else {
27
+ $where = " WHERE table1.author>=0 ";
28
+ }
29
+ $where .= ((isset($_POST['search_value'])) ? ' AND table1.name LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
30
+ $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
31
+ $order_by = ' ORDER BY `' . ((isset($_POST['order_by']) && esc_html(stripslashes($_POST['order_by'])) != '') ? esc_html(stripslashes($_POST['order_by'])) : 'order') . '` ' . $asc_or_desc;
32
+ if (isset($_POST['page_number']) && $_POST['page_number']) {
33
+ $limit = ((int) $_POST['page_number'] - 1) * 20;
34
+ }
35
+ else {
36
+ $limit = 0;
37
+ }
38
+ $query = "SELECT table1.*,table2.display_name FROM " . $wpdb->prefix . "bwg_album as table1 INNER JOIN " . $wpdb->prefix . "users as table2 ON table1.author=table2.id " . $where . $order_by . " LIMIT " . $limit . ",20";
39
+ $rows = $wpdb->get_results($query);
40
+ return $rows;
41
+ }
42
+
43
+ public function get_row_data($id) {
44
+ global $wpdb;
45
+ if ($id != 0) {
46
+ if (!current_user_can('manage_options') && $wpdb->get_var("SELECT gallery_role FROM " . $wpdb->prefix . "bwg_option")) {
47
+ $where = " WHERE author=" . get_current_user_id();
48
+ }
49
+ else {
50
+ $where = " WHERE author>=0 ";
51
+ }
52
+ $row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bwg_album ' . $where . ' AND id="%d"', $id));
53
+ }
54
+ else {
55
+ $row = new stdClass();
56
+ $row->id = 0;
57
+ $row->name = '';
58
+ $row->slug = '';
59
+ $row->description = '';
60
+ $row->preview_image = '';
61
+ $row->order = 0;
62
+ $row->author = get_current_user_id();
63
+ $row->published = 1;
64
+ }
65
+ return $row;
66
+ }
67
+
68
+ public function get_albums_galleries_rows_data($album_id) {
69
+ global $wpdb;
70
+ if (!current_user_can('manage_options') && $wpdb->get_var("SELECT gallery_role FROM " . $wpdb->prefix . "bwg_option")) {
71
+ $where = " AND author=" . get_current_user_id();
72
+ }
73
+ else {
74
+ $where = " AND author>=0 ";
75
+ }
76
+ $row = $wpdb->get_results("SELECT t1.id, t2.name, t2.slug, t1.is_album, t1.alb_gal_id, t1.order FROM " . $wpdb->prefix . "bwg_album_gallery as t1 INNER JOIN " . $wpdb->prefix . "bwg_album as t2 on t1.alb_gal_id = t2.id where t1.is_album='1'" . $where . " AND t1.album_id='" . $album_id . "' union SELECT t1.id, t2.name, t2.slug, t1.is_album, t1.alb_gal_id, t1.order FROM " . $wpdb->prefix . "bwg_album_gallery as t1 INNER JOIN " . $wpdb->prefix . "bwg_gallery as t2 on t1.alb_gal_id = t2.id where t1.is_album='0'" . $where . " AND t1.album_id='" . $album_id . "' ORDER BY `order`");
77
+ return $row;
78
+ }
79
+
80
+ public function page_nav() {
81
+ global $wpdb;
82
+ $where = ((isset($_POST['search_value']) && (esc_html(stripslashes($_POST['search_value'])) != '')) ? 'WHERE name LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
83
+ $query = "SELECT COUNT(*) FROM " . $wpdb->prefix . "bwg_album " . $where;
84
+ $total = $wpdb->get_var($query);
85
+ $page_nav['total'] = $total;
86
+ if (isset($_POST['page_number']) && $_POST['page_number']) {
87
+ $limit = ((int) $_POST['page_number'] - 1) * 20;
88
+ }
89
+ else {
90
+ $limit = 0;
91
+ }
92
+ $page_nav['limit'] = (int) ($limit / 20 + 1);
93
+ return $page_nav;
94
+ }
95
+ ////////////////////////////////////////////////////////////////////////////////////////
96
+ // Getters & Setters //
97
+ ////////////////////////////////////////////////////////////////////////////////////////
98
+ ////////////////////////////////////////////////////////////////////////////////////////
99
+ // Private Methods //
100
+ ////////////////////////////////////////////////////////////////////////////////////////
101
+ ////////////////////////////////////////////////////////////////////////////////////////
102
+ // Listeners //
103
+ ////////////////////////////////////////////////////////////////////////////////////////
104
+ }
admin/models/BWGModelBWGShortcode.php ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGModelBWGShortcode {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+
22
+ public function get_gallery_rows_data() {
23
+ global $wpdb;
24
+ $query = "SELECT * FROM " . $wpdb->prefix . "bwg_gallery WHERE published=1 ORDER BY name";
25
+ $rows = $wpdb->get_results($query);
26
+ return $rows;
27
+ }
28
+
29
+ public function get_album_rows_data() {
30
+ global $wpdb;
31
+ $query = "SELECT * FROM " . $wpdb->prefix . "bwg_album WHERE published=1 ORDER BY name";
32
+ $rows = $wpdb->get_results($query);
33
+ return $rows;
34
+ }
35
+
36
+ public function get_option_row_data() {
37
+ global $wpdb;
38
+ $query = "SELECT * FROM " . $wpdb->prefix . "bwg_option WHERE id=1";
39
+ $rows = $wpdb->get_row($query);
40
+ return $rows;
41
+ }
42
+
43
+ public function get_theme_rows_data() {
44
+ global $wpdb;
45
+ $query = "SELECT * FROM " . $wpdb->prefix . "bwg_theme ORDER BY name";
46
+ $rows = $wpdb->get_results($query);
47
+ return $rows;
48
+ }
49
+
50
+ ////////////////////////////////////////////////////////////////////////////////////////
51
+ // Getters & Setters //
52
+ ////////////////////////////////////////////////////////////////////////////////////////
53
+ ////////////////////////////////////////////////////////////////////////////////////////
54
+ // Private Methods //
55
+ ////////////////////////////////////////////////////////////////////////////////////////
56
+ ////////////////////////////////////////////////////////////////////////////////////////
57
+ // Listeners //
58
+ ////////////////////////////////////////////////////////////////////////////////////////
59
+ }
admin/models/BWGModelEditThumb.php ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGModelEditThumb {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+
22
+ public function get_image_data($id) {
23
+ global $wpdb;
24
+ $row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bwg_image WHERE id="%d"', $id));
25
+ return $row;
26
+ }
27
+
28
+ public function get_option_data() {
29
+ global $wpdb;
30
+ $row = $wpdb->get_row('SELECT * FROM ' . $wpdb->prefix . 'bwg_option WHERE id=1');
31
+ return $row;
32
+ }
33
+ ////////////////////////////////////////////////////////////////////////////////////////
34
+ // Getters & Setters //
35
+ ////////////////////////////////////////////////////////////////////////////////////////
36
+ ////////////////////////////////////////////////////////////////////////////////////////
37
+ // Private Methods //
38
+ ////////////////////////////////////////////////////////////////////////////////////////
39
+ ////////////////////////////////////////////////////////////////////////////////////////
40
+ // Listeners //
41
+ ////////////////////////////////////////////////////////////////////////////////////////
42
+ }
admin/models/BWGModelFeatured_plugins_bwg.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGModelFeatured_plugins_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ ////////////////////////////////////////////////////////////////////////////////////////
22
+ // Getters & Setters //
23
+ ////////////////////////////////////////////////////////////////////////////////////////
24
+ ////////////////////////////////////////////////////////////////////////////////////////
25
+ // Private Methods //
26
+ ////////////////////////////////////////////////////////////////////////////////////////
27
+ ////////////////////////////////////////////////////////////////////////////////////////
28
+ // Listeners //
29
+ ////////////////////////////////////////////////////////////////////////////////////////
30
+ }
admin/models/BWGModelGalleries_bwg.php ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGModelGalleries_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+
22
+ public function get_image_rows_data($gallery_id) {
23
+ global $wpdb;
24
+ if (!current_user_can('manage_options') && $wpdb->get_var("SELECT image_role FROM " . $wpdb->prefix . "bwg_option")) {
25
+ $where = " WHERE author=" . get_current_user_id();
26
+ }
27
+ else {
28
+ $where = " WHERE author>=0 ";
29
+ }
30
+ $where .= ((isset($_POST['search_value'])) ? ' AND filename LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
31
+ $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
32
+ $image_order_by = ' ORDER BY `' . ((isset($_POST['image_order_by']) && esc_html(stripslashes($_POST['image_order_by'])) != '') ? esc_html(stripslashes($_POST['image_order_by'])) : 'order') . '` ' . $asc_or_desc;
33
+ if (isset($_POST['page_number']) && $_POST['page_number']) {
34
+ $limit = ((int) $_POST['page_number'] - 1) * 20;
35
+ }
36
+ else {
37
+ $limit = 0;
38
+ }
39
+ $row = $wpdb->get_results("SELECT * FROM " . $wpdb->prefix . "bwg_image " . $where . " AND gallery_id='" . $gallery_id . "' " . $image_order_by . " LIMIT " . $limit . ",20");
40
+ return $row;
41
+ }
42
+
43
+ public function get_tag_rows_data($image_id) {
44
+ global $wpdb;
45
+ $rows = $wpdb->get_results($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "terms AS table1 INNER JOIN " . $wpdb->prefix . "bwg_image_tag AS table2 ON table1.term_id=table2.tag_id WHERE table2.image_id='%d' ORDER BY table2.tag_id", $image_id));
46
+ return $rows;
47
+ }
48
+
49
+ public function get_rows_data() {
50
+ global $wpdb;
51
+ if (!current_user_can('manage_options') && $wpdb->get_var("SELECT gallery_role FROM " . $wpdb->prefix . "bwg_option")) {
52
+ $where = " WHERE table1.author=" . get_current_user_id();
53
+ }
54
+ else {
55
+ $where = " WHERE table1.author>=0 ";
56
+ }
57
+ $where .= ((isset($_POST['search_value'])) ? ' AND table1.name LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
58
+ $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
59
+ $order_by = ' ORDER BY table1.`' . ((isset($_POST['order_by']) && esc_html(stripslashes($_POST['order_by'])) != '') ? esc_html(stripslashes($_POST['order_by'])) : 'order') . '` ' . $asc_or_desc;
60
+ if (isset($_POST['page_number']) && $_POST['page_number']) {
61
+ $limit = ((int) $_POST['page_number'] - 1) * 20;
62
+ }
63
+ else {
64
+ $limit = 0;
65
+ }
66
+ $query = "SELECT table1.*,table2.display_name FROM " . $wpdb->prefix . "bwg_gallery as table1 INNER JOIN " . $wpdb->prefix . "users as table2 ON table1.author=table2.id " . $where . $order_by . " LIMIT " . $limit . ",20";
67
+ $rows = $wpdb->get_results($query);
68
+ return $rows;
69
+ }
70
+
71
+ public function get_row_data($id) {
72
+ global $wpdb;
73
+ if ($id != 0) {
74
+ if (!current_user_can('manage_options') && $wpdb->get_var("SELECT gallery_role FROM " . $wpdb->prefix . "bwg_option")) {
75
+ $where = " WHERE author=" . get_current_user_id();
76
+ }
77
+ else {
78
+ $where = " WHERE author>=0 ";
79
+ }
80
+ $row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bwg_gallery ' . $where . ' AND id="%d"', $id));
81
+ }
82
+ else {
83
+ $row = new stdClass();
84
+ $row->id = 0;
85
+ $row->name = '';
86
+ $row->slug = '';
87
+ $row->description = '';
88
+ $row->preview_image = '';
89
+ $row->order = 0;
90
+ $row->author = get_current_user_id();
91
+ $row->published = 1;
92
+ }
93
+ return $row;
94
+ }
95
+
96
+ public function page_nav() {
97
+ global $wpdb;
98
+ if (!current_user_can('manage_options') && $wpdb->get_var("SELECT gallery_role FROM " . $wpdb->prefix . "bwg_option")) {
99
+ $where = " WHERE author=" . get_current_user_id();
100
+ }
101
+ else {
102
+ $where = " WHERE author>=0 ";
103
+ }
104
+ $where .= ((isset($_POST['search_value']) && (esc_html(stripslashes($_POST['search_value'])) != '')) ? ' AND name LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
105
+ $query = "SELECT COUNT(*) FROM " . $wpdb->prefix . "bwg_gallery " . $where;
106
+ $total = $wpdb->get_var($query);
107
+ $page_nav['total'] = $total;
108
+ if (isset($_POST['page_number']) && $_POST['page_number']) {
109
+ $limit = ((int) $_POST['page_number'] - 1) * 20;
110
+ }
111
+ else {
112
+ $limit = 0;
113
+ }
114
+ $page_nav['limit'] = (int) ($limit / 20 + 1);
115
+ return $page_nav;
116
+ }
117
+
118
+ public function image_page_nav($gallery_id) {
119
+ global $wpdb;
120
+ if (!current_user_can('manage_options') && $wpdb->get_var("SELECT image_role FROM " . $wpdb->prefix . "bwg_option")) {
121
+ $where = " AND author=" . get_current_user_id();
122
+ }
123
+ else {
124
+ $where = " AND author>=0 ";
125
+ }
126
+ $where .= ((isset($_POST['search_value']) && (esc_html(stripslashes($_POST['search_value'])) != '')) ? ' AND filename LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
127
+ $query = "SELECT COUNT(*) FROM " . $wpdb->prefix . "bwg_image WHERE gallery_id='" . $gallery_id . "' " . $where;
128
+ $total = $wpdb->get_var($query);
129
+ $page_nav['total'] = $total;
130
+ if (isset($_POST['page_number']) && $_POST['page_number']) {
131
+ $limit = ((int) $_POST['page_number'] - 1) * 20;
132
+ }
133
+ else {
134
+ $limit = 0;
135
+ }
136
+ $page_nav['limit'] = (int) ($limit / 20 + 1);
137
+ return $page_nav;
138
+ }
139
+ ////////////////////////////////////////////////////////////////////////////////////////
140
+ // Getters & Setters //
141
+ ////////////////////////////////////////////////////////////////////////////////////////
142
+ ////////////////////////////////////////////////////////////////////////////////////////
143
+ // Private Methods //
144
+ ////////////////////////////////////////////////////////////////////////////////////////
145
+ ////////////////////////////////////////////////////////////////////////////////////////
146
+ // Listeners //
147
+ ////////////////////////////////////////////////////////////////////////////////////////
148
+ }
admin/models/BWGModelLicensing_bwg.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGModelLicensing_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ ////////////////////////////////////////////////////////////////////////////////////////
22
+ // Getters & Setters //
23
+ ////////////////////////////////////////////////////////////////////////////////////////
24
+ ////////////////////////////////////////////////////////////////////////////////////////
25
+ // Private Methods //
26
+ ////////////////////////////////////////////////////////////////////////////////////////
27
+ ////////////////////////////////////////////////////////////////////////////////////////
28
+ // Listeners //
29
+ ////////////////////////////////////////////////////////////////////////////////////////
30
+ }
admin/models/BWGModelOptions_bwg.php ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGModelOptions_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+
22
+ public function get_row_data($reset) {
23
+ global $wpdb;
24
+ $row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bwg_option WHERE id="%d"', 1));
25
+ $row->old_images_directory = $row->images_directory;
26
+ if ($reset) {
27
+ $upload_dir = wp_upload_dir();
28
+ if (!is_dir($upload_dir['basedir'] . '/photo-gallery')) {
29
+ mkdir($upload_dir['basedir'] . '/photo-gallery', 0777);
30
+ }
31
+ $row->images_directory = str_replace(ABSPATH, '', $upload_dir['basedir']);
32
+ $row->masonry = 'vertical';
33
+ $row->image_column_number = 5;
34
+ $row->images_per_page = 30;
35
+ $row->thumb_width = 180;
36
+ $row->thumb_height = 90;
37
+ $row->image_enable_page = 1;
38
+
39
+ $row->album_column_number = 5;
40
+ $row->albums_per_page = 30;
41
+ $row->album_title_show_hover = 'hover';
42
+ $row->album_thumb_width = 120;
43
+ $row->album_thumb_height = 90;
44
+ $row->album_enable_page = 1;
45
+ $row->extended_album_height = 150;
46
+ $row->extended_album_description_enable = 1;
47
+
48
+ $row->image_browser_width = 800;
49
+ $row->image_browser_title_enable = 1;
50
+ $row->image_browser_description_enable = 1;
51
+
52
+ $row->blog_style_width = 800;
53
+ $row->blog_style_title_enable = 1;
54
+ $row->blog_style_images_per_page = 5;
55
+ $row->blog_style_enable_page = 1;
56
+
57
+ $row->slideshow_type = 'fade';
58
+ $row->slideshow_interval = 5;
59
+ $row->slideshow_width = 800;
60
+ $row->slideshow_height = 500;
61
+ $row->slideshow_enable_autoplay = 0;
62
+ $row->slideshow_enable_shuffle = 0;
63
+ $row->slideshow_enable_ctrl = 1;
64
+ $row->slideshow_enable_filmstrip = 1;
65
+ $row->slideshow_filmstrip_height = 90;
66
+ $row->slideshow_enable_title = 0;
67
+ $row->slideshow_title_position = 'top-right';
68
+ $row->slideshow_enable_description = 0;
69
+ $row->slideshow_description_position = 'bottom-right';
70
+ $row->slideshow_enable_music = 0;
71
+ $row->slideshow_audio_url = '';
72
+
73
+ $row->popup_width = 800;
74
+ $row->popup_height = 500;
75
+ $row->popup_type = 'fade';
76
+ $row->popup_interval = 5;
77
+ $row->popup_enable_filmstrip = 1;
78
+ $row->popup_filmstrip_height = 70;
79
+ $row->popup_enable_ctrl_btn = 1;
80
+ $row->popup_enable_fullscreen = 1;
81
+ $row->popup_enable_comment = 1;
82
+ $row->popup_enable_email = 0;
83
+ $row->popup_enable_captcha = 0;
84
+ $row->popup_enable_download = 0;
85
+ $row->popup_enable_fullsize_image = 0;
86
+ $row->popup_enable_facebook = 1;
87
+ $row->popup_enable_twitter = 1;
88
+ $row->popup_enable_google = 1;
89
+
90
+ $row->watermark_type = 'none';
91
+ $row->watermark_position = 'bottom-left';
92
+ $row->watermark_width = 90;
93
+ $row->watermark_height = 90;
94
+ $row->watermark_url = WD_BWG_URL . '/images/watermark.png';
95
+ $row->watermark_text = 'web-dorado.com';
96
+ $row->watermark_link = 'http://web-dorado.com';
97
+ $row->watermark_font_size = 20;
98
+ $row->watermark_font = 'arial';
99
+ $row->watermark_color = 'FFFFFF';
100
+ $row->watermark_opacity = 30;
101
+
102
+ $row->built_in_watermark_type = 'none';
103
+ $row->built_in_watermark_position = 'middle-center';
104
+ $row->built_in_watermark_size = 15;
105
+ $row->built_in_watermark_url = WD_BWG_URL . '/images/watermark.png';
106
+ $row->built_in_watermark_text = 'web-dorado.com';
107
+ $row->built_in_watermark_font_size = 20;
108
+ $row->built_in_watermark_font = 'arial';
109
+ $row->built_in_watermark_color = 'FFFFFF';
110
+ $row->built_in_watermark_opacity = 30;
111
+
112
+ $row->gallery_role = 0;
113
+ $row->album_role = 0;
114
+ $row->image_role = 0;
115
+ }
116
+ return $row;
117
+ }
118
+ ////////////////////////////////////////////////////////////////////////////////////////
119
+ // Getters & Setters //
120
+ ////////////////////////////////////////////////////////////////////////////////////////
121
+ ////////////////////////////////////////////////////////////////////////////////////////
122
+ // Private Methods //
123
+ ////////////////////////////////////////////////////////////////////////////////////////
124
+ ////////////////////////////////////////////////////////////////////////////////////////
125
+ // Listeners //
126
+ ////////////////////////////////////////////////////////////////////////////////////////
127
+ }
admin/models/BWGModelTags_bwg.php ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGModelTags_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ public function get_rows_data() {
22
+ global $wpdb;
23
+ $where = ((isset($_POST['search_value']) && (esc_html(stripslashes($_POST['search_value'])) != '')) ? 'AND A.name LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
24
+ $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
25
+ $order_by = ' ORDER BY ' . ((isset($_POST['order_by']) && esc_html(stripslashes($_POST['order_by'])) != '') ? esc_html(stripslashes($_POST['order_by'])) : 'A.term_id') . ' ' . $asc_or_desc;
26
+ if (isset($_POST['page_number']) && $_POST['page_number']) {
27
+ $limit = ((int) $_POST['page_number'] - 1) * 20;
28
+ }
29
+ else {
30
+ $limit = 0;
31
+ }
32
+ $query ="SELECT * FROM ".$wpdb->prefix."terms as A LEFT JOIN ".$wpdb->prefix ."term_taxonomy as B ON A.term_id = B.term_id WHERE B.taxonomy ='bwg_tag' " . $where . $order_by ;
33
+ $rows = $wpdb->get_results($query);
34
+ return $rows;
35
+ }
36
+
37
+ public function page_nav() {
38
+ global $wpdb;
39
+ $where = ((isset($_POST['search_value']) && (esc_html(stripslashes($_POST['search_value'])) != '')) ? 'AND A.name LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
40
+ $query = "SELECT COUNT(*) FROM " . $wpdb->prefix . "terms as A LEFT JOIN ".$wpdb->prefix . "term_taxonomy as B ON A.term_id = B.term_id WHERE B.taxonomy ='bwg_tag' " . $where;
41
+ $total = $wpdb->get_var($query);
42
+ $page_nav['total'] = $total;
43
+ if (isset($_POST['page_number']) && $_POST['page_number']) {
44
+ $limit = ((int) $_POST['page_number'] - 1) * 20;
45
+ }
46
+ else {
47
+ $limit = 0;
48
+ }
49
+ $page_nav['limit'] = (int) ($limit / 20 + 1);
50
+ return $page_nav;
51
+ }
52
+
53
+ public function get_count_of_images($term_id) {
54
+ global $wpdb;
55
+ $query = "SELECT count FROM " . $wpdb->prefix . "term_taxonomy WHERE term_id=" . $term_id;
56
+ $count = $wpdb->get_var($query);
57
+ return $count;
58
+ }
59
+ ////////////////////////////////////////////////////////////////////////////////////////
60
+ // Getters & Setters //
61
+ ////////////////////////////////////////////////////////////////////////////////////////
62
+ ////////////////////////////////////////////////////////////////////////////////////////
63
+ // Private Methods //
64
+ ////////////////////////////////////////////////////////////////////////////////////////
65
+ ////////////////////////////////////////////////////////////////////////////////////////
66
+ // Listeners //
67
+ ////////////////////////////////////////////////////////////////////////////////////////
68
+ }
admin/models/BWGModelThemes_bwg.php ADDED
@@ -0,0 +1,404 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGModelThemes_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ public function get_rows_data() {
22
+ global $wpdb;
23
+ $where = ((isset($_POST['search_value']) && (esc_html($_POST['search_value']) != '')) ? 'WHERE name LIKE "%' . esc_html($_POST['search_value']) . '%"' : '');
24
+ $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html($_POST['asc_or_desc']) : 'asc');
25
+ $order_by = ' ORDER BY ' . ((isset($_POST['order_by']) && esc_html($_POST['order_by']) != '') ? esc_html($_POST['order_by']) : 'id') . ' ' . $asc_or_desc;
26
+ if (isset($_POST['page_number']) && $_POST['page_number']) {
27
+ $limit = ((int) $_POST['page_number'] - 1) * 20;
28
+ }
29
+ else {
30
+ $limit = 0;
31
+ }
32
+ $query = "SELECT * FROM " . $wpdb->prefix . "bwg_theme " . $where . $order_by . " LIMIT " . $limit . ",20";
33
+ $rows = $wpdb->get_results($query);
34
+ return $rows;
35
+ }
36
+
37
+ public function get_row_data($id, $reset) {
38
+ global $wpdb;
39
+ if ($id != 0) {
40
+ $row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bwg_theme WHERE id="%d"', $id));
41
+ if ($reset) {
42
+ if (!$row->default_theme) {
43
+ $row_id = $row->id;
44
+ $row_name = $row->name;
45
+ $row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bwg_theme WHERE default_theme="%d"', 1));
46
+ $row->id = $row_id;
47
+ $row->name = $row_name;
48
+ $row->default_theme = FALSE;
49
+ }
50
+ else {
51
+ $row->thumb_margin = 4;
52
+ $row->thumb_padding = 0;
53
+ $row->thumb_border_radius = '0';
54
+ $row->thumb_border_width = 0;
55
+ $row->thumb_border_style = 'none';
56
+ $row->thumb_border_color = 'CCCCCC';
57
+ $row->thumb_bg_color = 'FFFFFF';
58
+ $row->thumbs_bg_color = 'FFFFFF';
59
+ $row->thumb_bg_transparent = 0;
60
+ $row->thumb_box_shadow = '0px 0px 0px #888888';
61
+ $row->thumb_transparent = 100;
62
+ $row->thumb_align = 'left';
63
+ $row->thumb_hover_effect = 'scale';
64
+ $row->thumb_hover_effect_value = '1.1';
65
+ $row->thumb_transition = 1;
66
+
67
+ $row->page_nav_position = 'bottom';
68
+ $row->page_nav_align = 'center';
69
+ $row->page_nav_number = 1;
70
+ $row->page_nav_font_size = 12;
71
+ $row->page_nav_font_style = 'segoe ui';
72
+ $row->page_nav_font_color = '666666';
73
+ $row->page_nav_font_weight = 'bold';
74
+ $row->page_nav_border_width = 1;
75
+ $row->page_nav_border_style = 'solid';
76
+ $row->page_nav_border_color = 'E3E3E3';
77
+ $row->page_nav_border_radius = '0';
78
+ $row->page_nav_margin = '0';
79
+ $row->page_nav_padding = '3px 6px';
80
+ $row->page_nav_button_bg_color = 'FFFFFF';
81
+ $row->page_nav_button_bg_transparent = 100;
82
+ $row->page_nav_box_shadow = '0';
83
+ $row->page_nav_button_transition = 1;
84
+ $row->page_nav_button_text = 0;
85
+
86
+ $row->lightbox_overlay_bg_color = '000000';
87
+ $row->lightbox_overlay_bg_transparent = 70;
88
+ $row->lightbox_bg_color = '000000';
89
+ $row->lightbox_ctrl_btn_pos = 'bottom';
90
+ $row->lightbox_ctrl_btn_align = 'center';
91
+ $row->lightbox_ctrl_btn_height = 20;
92
+ $row->lightbox_ctrl_btn_margin_top = 10;
93
+ $row->lightbox_ctrl_btn_margin_left = 7;
94
+ $row->lightbox_ctrl_btn_transparent = 100;
95
+ $row->lightbox_ctrl_btn_color = 'FFFFFF';
96
+ $row->lightbox_toggle_btn_height = 14;
97
+ $row->lightbox_toggle_btn_width = 100;
98
+ $row->lightbox_ctrl_cont_bg_color = '000000';
99
+ $row->lightbox_ctrl_cont_transparent = 65;
100
+ $row->lightbox_ctrl_cont_border_radius = 4;
101
+ $row->lightbox_close_btn_transparent = 100;
102
+ $row->lightbox_close_btn_bg_color = '000000';
103
+ $row->lightbox_close_btn_border_width = 2;
104
+ $row->lightbox_close_btn_border_radius = '16px';
105
+ $row->lightbox_close_btn_border_style = 'none';
106
+ $row->lightbox_close_btn_border_color = 'FFFFFF';
107
+ $row->lightbox_close_btn_box_shadow = '0';
108
+ $row->lightbox_close_btn_color = 'FFFFFF';
109
+ $row->lightbox_close_btn_size = 10;
110
+ $row->lightbox_close_btn_width = 20;
111
+ $row->lightbox_close_btn_height = 20;
112
+ $row->lightbox_close_btn_top = '-10';
113
+ $row->lightbox_close_btn_right = '-10';
114
+ $row->lightbox_close_btn_full_color = 'FFFFFF';
115
+ $row->lightbox_rl_btn_bg_color = '000000';
116
+ $row->lightbox_rl_btn_border_radius = '20px';
117
+ $row->lightbox_rl_btn_border_width = 0;
118
+ $row->lightbox_rl_btn_border_style = 'none';
119
+ $row->lightbox_rl_btn_border_color = 'FFFFFF';
120
+ $row->lightbox_rl_btn_box_shadow = '';
121
+ $row->lightbox_rl_btn_color = 'FFFFFF';
122
+ $row->lightbox_rl_btn_height = 40;
123
+ $row->lightbox_rl_btn_width = 40;
124
+ $row->lightbox_rl_btn_size = 20;
125
+ $row->lightbox_close_rl_btn_hover_color = 'CCCCCC';
126
+ $row->lightbox_comment_pos = 'left';
127
+ $row->lightbox_comment_width = 400;
128
+ $row->lightbox_comment_bg_color = '000000';
129
+ $row->lightbox_comment_font_color = 'CCCCCC';
130
+ $row->lightbox_comment_font_style = 'segoe ui';
131
+ $row->lightbox_comment_font_size = 12;
132
+ $row->lightbox_comment_button_bg_color = '616161';
133
+ $row->lightbox_comment_button_border_color = '666666';
134
+ $row->lightbox_comment_button_border_width = 1;
135
+ $row->lightbox_comment_button_border_style = 'none';
136
+ $row->lightbox_comment_button_border_radius = '3px';
137
+ $row->lightbox_comment_button_padding = '3px 10px';
138
+ $row->lightbox_comment_input_bg_color = '333333';
139
+ $row->lightbox_comment_input_border_color = '666666';
140
+ $row->lightbox_comment_input_border_width = 1;
141
+ $row->lightbox_comment_input_border_style = 'none';
142
+ $row->lightbox_comment_input_border_radius = '0';
143
+ $row->lightbox_comment_input_padding = '2px';
144
+ $row->lightbox_comment_separator_width = 1;
145
+ $row->lightbox_comment_separator_style = 'solid';
146
+ $row->lightbox_comment_separator_color = '383838';
147
+ $row->lightbox_comment_author_font_size = 14;
148
+ $row->lightbox_comment_date_font_size = 10;
149
+ $row->lightbox_comment_body_font_size = 12;
150
+ $row->lightbox_comment_share_button_color = 'CCCCCC';
151
+ $row->lightbox_filmstrip_pos = 'top';
152
+ $row->lightbox_filmstrip_rl_bg_color = '3B3B3B';
153
+ $row->lightbox_filmstrip_rl_btn_size = 20;
154
+ $row->lightbox_filmstrip_rl_btn_color = 'FFFFFF';
155
+ $row->lightbox_filmstrip_thumb_margin = '0 1px';
156
+ $row->lightbox_filmstrip_thumb_border_width = 1;
157
+ $row->lightbox_filmstrip_thumb_border_style = 'solid';
158
+ $row->lightbox_filmstrip_thumb_border_color = '000000';
159
+ $row->lightbox_filmstrip_thumb_border_radius = '0';
160
+ $row->lightbox_filmstrip_thumb_deactive_transparent = 80;
161
+ $row->lightbox_filmstrip_thumb_active_border_width = 0;
162
+ $row->lightbox_filmstrip_thumb_active_border_color = 'FFFFFF';
163
+ $row->lightbox_rl_btn_style = 'fa-chevron';
164
+ $row->lightbox_rl_btn_transparent = 80;
165
+
166
+ $row->album_compact_back_font_color = '000000';
167
+ $row->album_compact_back_font_style = 'segoe ui';
168
+ $row->album_compact_back_font_size = 16;
169
+ $row->album_compact_back_font_weight = 'bold';
170
+ $row->album_compact_back_padding = '0';
171
+ $row->album_compact_title_font_color = 'FFFFFF';
172
+ $row->album_compact_title_font_style = 'segoe ui';
173
+ $row->album_compact_title_font_size = 16;
174
+ $row->album_compact_title_font_weight = 'bold';
175
+ $row->album_compact_title_margin = '2px';
176
+ $row->album_compact_title_shadow = '0px 0px 0px #888888';
177
+ $row->album_compact_thumb_margin = 4;
178
+ $row->album_compact_thumb_padding = 0;
179
+ $row->album_compact_thumb_border_radius = '0';
180
+ $row->album_compact_thumb_border_width = 0;
181
+ $row->album_compact_thumb_border_style = 'none';
182
+ $row->album_compact_thumb_border_color = 'CCCCCC';
183
+ $row->album_compact_thumb_bg_color = 'FFFFFF';
184
+ $row->album_compact_thumbs_bg_color = 'FFFFFF';
185
+ $row->album_compact_thumb_bg_transparent = 0;
186
+ $row->album_compact_thumb_box_shadow = '0px 0px 0px #888888';
187
+ $row->album_compact_thumb_transparent = 100;
188
+ $row->album_compact_thumb_align = 'left';
189
+ $row->album_compact_thumb_hover_effect = 'scale';
190
+ $row->album_compact_thumb_hover_effect_value = '1.1';
191
+ $row->album_compact_thumb_transition = 0;
192
+
193
+ $row->album_extended_thumb_margin = 2;
194
+ $row->album_extended_thumb_padding = 0;
195
+ $row->album_extended_thumb_border_radius = '0';
196
+ $row->album_extended_thumb_border_width = 0;
197
+ $row->album_extended_thumb_border_style = 'none';
198
+ $row->album_extended_thumb_border_color = 'CCCCCC';
199
+ $row->album_extended_thumb_bg_color = 'FFFFFF';
200
+ $row->album_extended_thumbs_bg_color = 'FFFFFF';
201
+ $row->album_extended_thumb_bg_transparent = 0;
202
+ $row->album_extended_thumb_box_shadow = '';
203
+ $row->album_extended_thumb_transparent = 100;
204
+ $row->album_extended_thumb_align = 'left';
205
+ $row->album_extended_thumb_hover_effect = 'scale';
206
+ $row->album_extended_thumb_hover_effect_value = '1.1';
207
+ $row->album_extended_thumb_transition = 0;
208
+ $row->album_extended_back_font_color = '000000';
209
+ $row->album_extended_back_font_style = 'segoe ui';
210
+ $row->album_extended_back_font_size = 20;
211
+ $row->album_extended_back_font_weight = 'bold';
212
+ $row->album_extended_back_padding = '0';
213
+ $row->album_extended_div_bg_color = 'FFFFFF';
214
+ $row->album_extended_div_bg_transparent = 0;
215
+ $row->album_extended_div_border_radius = '0 0 0 0';
216
+ $row->album_extended_div_margin = '0 0 5px 0';
217
+ $row->album_extended_div_padding = 10;
218
+ $row->album_extended_div_separator_width = 1;
219
+ $row->album_extended_div_separator_style = 'solid';
220
+ $row->album_extended_div_separator_color = 'E0E0E0';
221
+ $row->album_extended_thumb_div_bg_color = 'FFFFFF';
222
+ $row->album_extended_thumb_div_border_radius = '0';
223
+ $row->album_extended_thumb_div_border_width = 1;
224
+ $row->album_extended_thumb_div_border_style = 'solid';
225
+ $row->album_extended_thumb_div_border_color = 'E8E8E8';
226
+ $row->album_extended_thumb_div_padding = '5px';
227
+ $row->album_extended_text_div_bg_color = 'FFFFFF';
228
+ $row->album_extended_text_div_border_radius = '0';
229
+ $row->album_extended_text_div_border_width = 1;
230
+ $row->album_extended_text_div_border_style = 'solid';
231
+ $row->album_extended_text_div_border_color = 'E8E8E8';
232
+ $row->album_extended_text_div_padding = '5px';
233
+ $row->album_extended_title_span_border_width = 1;
234
+ $row->album_extended_title_span_border_style = 'none';
235
+ $row->album_extended_title_span_border_color = 'CCCCCC';
236
+ $row->album_extended_title_font_color = '000000';
237
+ $row->album_extended_title_font_style = 'segoe ui';
238
+ $row->album_extended_title_font_size = 16;
239
+ $row->album_extended_title_font_weight = 'bold';
240
+ $row->album_extended_title_margin_bottom = 2;
241
+ $row->album_extended_title_padding = '2px';
242
+ $row->album_extended_desc_span_border_width = 1;
243
+ $row->album_extended_desc_span_border_style = 'none';
244
+ $row->album_extended_desc_span_border_color = 'CCCCCC';
245
+ $row->album_extended_desc_font_color = '000000';
246
+ $row->album_extended_desc_font_style = 'segoe ui';
247
+ $row->album_extended_desc_font_size = 14;
248
+ $row->album_extended_desc_font_weight = 'normal';
249
+ $row->album_extended_desc_padding = '2px';
250
+ $row->album_extended_desc_more_color = 'F2D22E';
251
+ $row->album_extended_desc_more_size = 12;
252
+
253
+ $row->masonry_thumb_padding = 4;
254
+ $row->masonry_thumb_border_radius = '0';
255
+ $row->masonry_thumb_border_width = 0;
256
+ $row->masonry_thumb_border_style = 'none';
257
+ $row->masonry_thumb_border_color = 'CCCCCC';
258
+ $row->masonry_thumbs_bg_color = 'FFFFFF';
259
+ $row->masonry_thumb_bg_transparent = 0;
260
+ $row->masonry_thumb_transparent = 100;
261
+ $row->masonry_thumb_align = 'left';
262
+ $row->masonry_thumb_hover_effect = 'scale';
263
+ $row->masonry_thumb_hover_effect_value = '1.1';
264
+ $row->masonry_thumb_transition = 0;
265
+
266
+ $row->slideshow_cont_bg_color = '000000';
267
+ $row->slideshow_close_btn_transparent = 100;
268
+ $row->slideshow_rl_btn_bg_color = '000000';
269
+ $row->slideshow_rl_btn_border_radius = '20px';
270
+ $row->slideshow_rl_btn_border_width = 0;
271
+ $row->slideshow_rl_btn_border_style = 'none';
272
+ $row->slideshow_rl_btn_border_color = 'FFFFFF';
273
+ $row->slideshow_rl_btn_box_shadow = '0px 0px 0px #000000';
274
+ $row->slideshow_rl_btn_color = 'FFFFFF';
275
+ $row->slideshow_rl_btn_height = 40;
276
+ $row->slideshow_rl_btn_size = 20;
277
+ $row->slideshow_rl_btn_width = 40;
278
+ $row->slideshow_close_rl_btn_hover_color = 'CCCCCC';
279
+ $row->slideshow_filmstrip_pos = 'top';
280
+ $row->slideshow_filmstrip_thumb_border_width = 1;
281
+ $row->slideshow_filmstrip_thumb_border_style = 'solid';
282
+ $row->slideshow_filmstrip_thumb_border_color = '000000';
283
+ $row->slideshow_filmstrip_thumb_border_radius = '0';
284
+ $row->slideshow_filmstrip_thumb_margin = '0 1px';
285
+ $row->slideshow_filmstrip_thumb_active_border_width = 0;
286
+ $row->slideshow_filmstrip_thumb_active_border_color = 'FFFFFF';
287
+ $row->slideshow_filmstrip_thumb_deactive_transparent = 80;
288
+ $row->slideshow_filmstrip_rl_bg_color = '3B3B3B';
289
+ $row->slideshow_filmstrip_rl_btn_color = 'FFFFFF';
290
+ $row->slideshow_filmstrip_rl_btn_size = 20;
291
+ $row->slideshow_title_font_size = 16;
292
+ $row->slideshow_title_font = 'segoe ui';
293
+ $row->slideshow_title_color = 'FFFFFF';
294
+ $row->slideshow_title_opacity = 70;
295
+ $row->slideshow_title_border_radius = '5px';
296
+ $row->slideshow_title_background_color = '000000';
297
+ $row->slideshow_title_padding = '0 0 0 0';
298
+ $row->slideshow_description_font_size = 14;
299
+ $row->slideshow_description_font = 'segoe ui';
300
+ $row->slideshow_description_color = 'FFFFFF';
301
+ $row->slideshow_description_opacity = 70;
302
+ $row->slideshow_description_border_radius = '0';
303
+ $row->slideshow_description_background_color = '000000';
304
+ $row->slideshow_description_padding = '5px 10px 5px 10px';
305
+ $row->slideshow_dots_width = 12;
306
+ $row->slideshow_dots_height = 12;
307
+ $row->slideshow_dots_border_radius = '5px';
308
+ $row->slideshow_dots_background_color = 'F2D22E';
309
+ $row->slideshow_dots_margin = 3;
310
+ $row->slideshow_dots_active_background_color = 'FFFFFF';
311
+ $row->slideshow_dots_active_border_width = 1;
312
+ $row->slideshow_dots_active_border_color = '000000';
313
+ $row->slideshow_play_pause_btn_size = 60;
314
+ $row->slideshow_rl_btn_style = 'fa-chevron';
315
+
316
+ $row->blog_style_margin = '2px';
317
+ $row->blog_style_padding = '0';
318
+ $row->blog_style_border_radius = '0';
319
+ $row->blog_style_border_width = 1;
320
+ $row->blog_style_border_style = 'solid';
321
+ $row->blog_style_border_color = 'F5F5F5';
322
+ $row->blog_style_bg_color = 'FFFFFF';
323
+ $row->blog_style_transparent = 80;
324
+ $row->blog_style_box_shadow = '';
325
+ $row->blog_style_align = 'center';
326
+ $row->blog_style_share_buttons_margin = '5px auto 10px auto';
327
+ $row->blog_style_share_buttons_border_radius = '0';
328
+ $row->blog_style_share_buttons_border_width = 0;
329
+ $row->blog_style_share_buttons_border_style = 'none';
330
+ $row->blog_style_share_buttons_border_color = '000000';
331
+ $row->blog_style_share_buttons_bg_color = 'FFFFFF';
332
+ $row->blog_style_share_buttons_align = 'right';
333
+ $row->blog_style_img_font_size = 16;
334
+ $row->blog_style_img_font_family = 'segoe ui';
335
+ $row->blog_style_img_font_color = '000000';
336
+ $row->blog_style_share_buttons_color = 'B3AFAF';
337
+ $row->blog_style_share_buttons_bg_transparent = 0;
338
+ $row->blog_style_share_buttons_font_size = 20;
339
+
340
+ $row->image_browser_margin = '2px auto';
341
+ $row->image_browser_padding = '4px';
342
+ $row->image_browser_border_radius = '0';
343
+ $row->image_browser_border_width = 1;
344
+ $row->image_browser_border_style = 'none';
345
+ $row->image_browser_border_color = 'F5F5F5';
346
+ $row->image_browser_bg_color = 'EBEBEB';
347
+ $row->image_browser_box_shadow = '';
348
+ $row->image_browser_transparent = 80;
349
+ $row->image_browser_align = 'center';
350
+ $row->image_browser_image_description_margin = '0px 5px 0px 5px';
351
+ $row->image_browser_image_description_padding = '8px 8px 8px 8px';
352
+ $row->image_browser_image_description_border_radius = '0';
353
+ $row->image_browser_image_description_border_width = 1;
354
+ $row->image_browser_image_description_border_style = 'none';
355
+ $row->image_browser_image_description_border_color = 'FFFFFF';
356
+ $row->image_browser_image_description_bg_color = 'EBEBEB';
357
+ $row->image_browser_image_description_align = 'center';
358
+ $row->image_browser_img_font_size = 15;
359
+ $row->image_browser_img_font_family = 'segoe ui';
360
+ $row->image_browser_img_font_color = '000000';
361
+ $row->image_browser_full_padding = '4px';
362
+ $row->image_browser_full_border_radius = '0';
363
+ $row->image_browser_full_border_width = 2;
364
+ $row->image_browser_full_border_style = 'none';
365
+ $row->image_browser_full_border_color = 'F7F7F7';
366
+ $row->image_browser_full_bg_color = 'F5F5F5';
367
+ $row->image_browser_full_transparent = 90;
368
+ }
369
+ }
370
+ }
371
+ else {
372
+ $row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bwg_theme WHERE default_theme="%d"', 1));
373
+ $row->id = 0;
374
+ $row->name = '';
375
+ $row->default_theme = 0;
376
+ }
377
+ return $row;
378
+ }
379
+
380
+ public function page_nav() {
381
+ global $wpdb;
382
+ $where = ((isset($_POST['search_value']) && (esc_html($_POST['search_value']) != '')) ? 'WHERE name LIKE "%' . esc_html($_POST['search_value']) . '%"' : '');
383
+ $query = "SELECT COUNT(*) FROM " . $wpdb->prefix . "bwg_theme " . $where;
384
+ $total = $wpdb->get_var($query);
385
+ $page_nav['total'] = $total;
386
+ if (isset($_POST['page_number']) && $_POST['page_number']) {
387
+ $limit = ((int) $_POST['page_number'] - 1) * 20;
388
+ }
389
+ else {
390
+ $limit = 0;
391
+ }
392
+ $page_nav['limit'] = (int) ($limit / 20 + 1);
393
+ return $page_nav;
394
+ }
395
+ ////////////////////////////////////////////////////////////////////////////////////////
396
+ // Getters & Setters //
397
+ ////////////////////////////////////////////////////////////////////////////////////////
398
+ ////////////////////////////////////////////////////////////////////////////////////////
399
+ // Private Methods //
400
+ ////////////////////////////////////////////////////////////////////////////////////////
401
+ ////////////////////////////////////////////////////////////////////////////////////////
402
+ // Listeners //
403
+ ////////////////////////////////////////////////////////////////////////////////////////
404
+ }
admin/models/BWGModelUninstall_bwg.php ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGModelUninstall_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ public function delete_db_tables() {
22
+ global $wpdb;
23
+ $wpdb->query("DROP TABLE ".$wpdb->prefix."bwg_album");
24
+ $wpdb->query("DROP TABLE ".$wpdb->prefix."bwg_album_gallery");
25
+ $wpdb->query("DROP TABLE ".$wpdb->prefix."bwg_gallery");
26
+ $wpdb->query("DROP TABLE ".$wpdb->prefix."bwg_image");
27
+ $wpdb->query("DROP TABLE ".$wpdb->prefix."bwg_image_comment");
28
+ $wpdb->query("DROP TABLE ".$wpdb->prefix."bwg_image_tag");
29
+ $wpdb->query("DROP TABLE ".$wpdb->prefix."bwg_option");
30
+ $wpdb->query("DROP TABLE ".$wpdb->prefix."bwg_theme");
31
+ delete_option("wd_bwg_version");
32
+ // Delete terms.
33
+ $terms = get_terms('bwg_tag', array('orderby' => 'count', 'hide_empty' => 0));
34
+ foreach ($terms as $term) {
35
+ wp_delete_term($term->term_id, 'bwg_tag');
36
+ }
37
+ // Delete custom pages for galleries.
38
+ $count_posts = wp_count_posts('bwg_page');
39
+ $published_posts = $count_posts->publish;
40
+ $posts = get_posts(array('posts_per_page' => $published_posts, 'post_type' => 'bwg_gallery'));
41
+ foreach ($posts as $post) {
42
+ wp_delete_post($post->ID, TRUE);
43
+ }
44
+ // Delete custom pages for albums.
45
+ $count_posts = wp_count_posts('bwg_page');
46
+ $published_posts = $count_posts->publish;
47
+ $posts = get_posts(array('posts_per_page' => $published_posts, 'post_type' => 'bwg_album'));
48
+ foreach ($posts as $post) {
49
+ wp_delete_post($post->ID, TRUE);
50
+ }
51
+ // Delete custom pages for tags.
52
+ $count_posts = wp_count_posts('bwg_tag');
53
+ $published_posts = $count_posts->publish;
54
+ $posts = get_posts(array('posts_per_page' => $published_posts, 'post_type' => 'bwg_tag'));
55
+ foreach ($posts as $post) {
56
+ wp_delete_post($post->ID, TRUE);
57
+ }
58
+ }
59
+ ////////////////////////////////////////////////////////////////////////////////////////
60
+ // Getters & Setters //
61
+ ////////////////////////////////////////////////////////////////////////////////////////
62
+ ////////////////////////////////////////////////////////////////////////////////////////
63
+ // Private Methods //
64
+ ////////////////////////////////////////////////////////////////////////////////////////
65
+ ////////////////////////////////////////////////////////////////////////////////////////
66
+ // Listeners //
67
+ ////////////////////////////////////////////////////////////////////////////////////////
68
+ }
admin/models/BWGModelWidget.php ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGModelWidget {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+
22
+ public function get_gallery_rows_data() {
23
+ global $wpdb;
24
+ $query = "SELECT * FROM " . $wpdb->prefix . "bwg_gallery WHERE published=1";
25
+ $rows = $wpdb->get_results($query);
26
+ return $rows;
27
+ }
28
+
29
+ public function get_album_rows_data() {
30
+ global $wpdb;
31
+ $query = "SELECT * FROM " . $wpdb->prefix . "bwg_album WHERE published=1";
32
+ $rows = $wpdb->get_results($query);
33
+ return $rows;
34
+ }
35
+
36
+ public function get_theme_rows_data() {
37
+ global $wpdb;
38
+ $query = "SELECT id, name, default_theme FROM " . $wpdb->prefix . "bwg_theme ORDER BY default_theme DESC";
39
+ $rows = $wpdb->get_results($query);
40
+ return $rows;
41
+ }
42
+
43
+ ////////////////////////////////////////////////////////////////////////////////////////
44
+ // Getters & Setters //
45
+ ////////////////////////////////////////////////////////////////////////////////////////
46
+ ////////////////////////////////////////////////////////////////////////////////////////
47
+ // Private Methods //
48
+ ////////////////////////////////////////////////////////////////////////////////////////
49
+ ////////////////////////////////////////////////////////////////////////////////////////
50
+ // Listeners //
51
+ ////////////////////////////////////////////////////////////////////////////////////////
52
+ }
admin/models/BWGModelWidgetSlideshow.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGModelWidgetSlideshow {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+
22
+ public function get_gallery_rows_data() {
23
+ global $wpdb;
24
+ $query = "SELECT * FROM " . $wpdb->prefix . "bwg_gallery WHERE published=1";
25
+ $rows = $wpdb->get_results($query);
26
+ return $rows;
27
+ }
28
+
29
+ public function get_theme_rows_data() {
30
+ global $wpdb;
31
+ $query = "SELECT id, name, default_theme FROM " . $wpdb->prefix . "bwg_theme ORDER BY default_theme DESC";
32
+ $rows = $wpdb->get_results($query);
33
+ return $rows;
34
+ }
35
+
36
+ ////////////////////////////////////////////////////////////////////////////////////////
37
+ // Getters & Setters //
38
+ ////////////////////////////////////////////////////////////////////////////////////////
39
+ ////////////////////////////////////////////////////////////////////////////////////////
40
+ // Private Methods //
41
+ ////////////////////////////////////////////////////////////////////////////////////////
42
+ ////////////////////////////////////////////////////////////////////////////////////////
43
+ // Listeners //
44
+ ////////////////////////////////////////////////////////////////////////////////////////
45
+ }
admin/views/BWGViewAddAlbumsGalleries.php ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGViewAddAlbumsGalleries {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $model;
14
+
15
+
16
+ ////////////////////////////////////////////////////////////////////////////////////////
17
+ // Constructor & Destructor //
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ public function __construct($model) {
20
+ $this->model = $model;
21
+ }
22
+ ////////////////////////////////////////////////////////////////////////////////////////
23
+ // Public Methods //
24
+ ////////////////////////////////////////////////////////////////////////////////////////
25
+ public function display() {
26
+ $album_id = ((isset($_GET['album_id'])) ? esc_html(stripslashes($_GET['album_id'])) : ((isset($_POST['album_id'])) ? esc_html(stripslashes($_POST['album_id'])) : ''));
27
+ $rows_data = $this->model->get_rows_data($album_id);
28
+ $page_nav = $this->model->page_nav();
29
+ $search_value = ((isset($_POST['search_value'])) ? esc_html(stripslashes($_POST['search_value'])) : '');
30
+ $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
31
+ $order_by = (isset($_POST['order_by']) ? esc_html(stripslashes($_POST['order_by'])) : 'name');
32
+ $order_class = 'manage-column column-title sorted ' . $asc_or_desc;
33
+ ?>
34
+ <link media="all" type="text/css" href="<?php echo get_admin_url(); ?>load-styles.php?c=1&amp;dir=ltr&amp;load=admin-bar,dashicons,wp-admin,buttons,wp-auth-check" rel="stylesheet">
35
+ <link media="all" type="text/css" href="<?php echo get_admin_url(); ?>css/colors<?php echo ((get_bloginfo('version') < '3.8') ? '-fresh' : ''); ?>.min.css" id="colors-css" rel="stylesheet">
36
+ <link media="all" type="text/css" href="<?php echo WD_BWG_URL . '/css/bwg_tables.css'; ?>" id="spider_audio_player_tables-css" rel="stylesheet">
37
+ <script language="javascript" type="text/javascript" src="<?php echo get_option("siteurl"); ?>/wp-includes/js/jquery/jquery.js"></script>
38
+ <script src="<?php echo WD_BWG_URL . '/js/bwg.js'; ?>" type="text/javascript"></script>
39
+ <form class="wrap" id="albums_galleries_form" method="post" action="<?php echo add_query_arg(array('action' => 'addAlbumsGalleries', 'width' => '700', 'height' => '550', 'callback' => 'bwg_add_items', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>" style="width:95%; margin: 0 auto;">
40
+ <h2 style="width:200px;float:left">Albums/Galleries</h2>
41
+ <a href="" class="thickbox thickbox-preview" id="content-add_media" title="Add Album/Gallery" onclick="spider_get_items(event);" style="float:right; padding: 9px 0px 4px 0">
42
+ <img src="<?php echo WD_BWG_URL . '/images/add_but.png'; ?>" style="border:none;" />
43
+ </a>
44
+ <div class="tablenav top">
45
+ <?php
46
+ WDWLibrary::search('Name', $search_value, 'albums_galleries_form');
47
+ WDWLibrary::html_page_nav($page_nav['total'], $page_nav['limit'], 'albums_galleries_form');
48
+ ?>
49
+ </div>
50
+ <table class="wp-list-table widefat fixed pages">
51
+ <thead>
52
+ <th class="manage-column column-cb check-column table_small_col"><input id="check_all" type="checkbox" style="margin:0;" /></th>
53
+ <th class="table_small_col <?php if ($order_by == 'id') {echo $order_class;} ?>">
54
+ <a onclick="spider_set_input_value('order_by', 'id');
55
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'id') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
56
+ spider_form_submit(event, 'albums_galleries_form')" href="">
57
+ <span>ID</span><span class="sorting-indicator"></span>
58
+ </a>
59
+ </th>
60
+ <th class="table_medium_col_uncenter <?php if ($order_by == 'is_album') {echo $order_class;} ?>">
61
+ <a onclick="spider_set_input_value('task', '');
62
+ spider_set_input_value('order_by', 'is_album');
63
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'is_album') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
64
+ spider_form_submit(event, 'albums_galleries_form')" href="">
65
+ <span>Type</span><span class="sorting-indicator"></span>
66
+ </a>
67
+ </th>
68
+ <th class="<?php if ($order_by == 'name') {echo $order_class;} ?>">
69
+ <a onclick="spider_set_input_value('order_by', 'name');
70
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'name') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
71
+ spider_form_submit(event, 'albums_galleries_form')" href="">
72
+ <span>Name</span><span class="sorting-indicator"></span>
73
+ </a>
74
+ </th>
75
+ </thead>
76
+ <tbody id="tbody_albums_galleries">
77
+ <?php
78
+ if ($rows_data) {
79
+ $iterator = 0;
80
+ foreach ($rows_data as $row_data) {
81
+ $alternate = (!isset($alternate) || $alternate == 'class="alternate"') ? '' : 'class="alternate"';
82
+ ?>
83
+ <tr id="tr_<?php echo $iterator; ?>" <?php echo $alternate; ?>>
84
+ <td class="table_small_col check-column"><input id="check_<?php echo $iterator; ?>" name="check_<?php echo $iterator; ?>" type="checkbox" /></td>
85
+ <td id="id_<?php echo $iterator; ?>" class="table_small_col"><?php echo $row_data->id; ?></td>
86
+ <td id="url_<?php echo $iterator; ?>" class="table_medium_col_uncenter"><?php echo ($row_data->is_album ? "Album" : "Gallery") ; ?></td>
87
+ <td>
88
+ <a onclick="window.parent.bwg_add_items(['<?php echo $row_data->id?>'],['<?php echo htmlspecialchars(addslashes($row_data->name))?>'], ['<?php echo htmlspecialchars(addslashes($row_data->is_album))?>'])" id="a_<?php echo $iterator; ?>" style="cursor:pointer;">
89
+ <?php echo $row_data->name?>
90
+ </a>
91
+ </td>
92
+ </tr>
93
+ <?php
94
+ $iterator++;
95
+ }
96
+ }
97
+ ?>
98
+ </tbody>
99
+ </table>
100
+ <input id="asc_or_desc" name="asc_or_desc" type="hidden" value="asc" />
101
+ <input id="order_by" name="order_by" type="hidden" value="<?php echo $order_by; ?>" />
102
+ <input id="album_id" name="album_id" type="hidden" value="<?php echo $album_id; ?>" />
103
+ </form>
104
+ <script src="<?php echo get_admin_url(); ?>load-scripts.php?c=1&load%5B%5D=common,admin-bar" type="text/javascript"></script>
105
+ <?php
106
+ die();
107
+ }
108
+
109
+ ////////////////////////////////////////////////////////////////////////////////////////
110
+ // Getters & Setters //
111
+ ////////////////////////////////////////////////////////////////////////////////////////
112
+ ////////////////////////////////////////////////////////////////////////////////////////
113
+ // Private Methods //
114
+ ////////////////////////////////////////////////////////////////////////////////////////
115
+ ////////////////////////////////////////////////////////////////////////////////////////
116
+ // Listeners //
117
+ ////////////////////////////////////////////////////////////////////////////////////////
118
+ }
admin/views/BWGViewAddTags.php ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGViewAddTags {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $model;
14
+
15
+
16
+ ////////////////////////////////////////////////////////////////////////////////////////
17
+ // Constructor & Destructor //
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ public function __construct($model) {
20
+ $this->model = $model;
21
+ }
22
+ ////////////////////////////////////////////////////////////////////////////////////////
23
+ // Public Methods //
24
+ ////////////////////////////////////////////////////////////////////////////////////////
25
+ public function display() {
26
+ $rows_data = $this->model->get_rows_data();
27
+ $page_nav = $this->model->page_nav();
28
+ $search_value = ((isset($_POST['search_value'])) ? esc_html(stripslashes($_POST['search_value'])) : '');
29
+ $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
30
+ $order_by = (isset($_POST['order_by']) ? esc_html(stripslashes($_POST['order_by'])) : 'name');
31
+ $image_id = ((isset($_GET['image_id'])) ? esc_html($_GET['image_id']) : '0');
32
+ $order_class = 'manage-column column-title sorted ' . $asc_or_desc;
33
+ ?>
34
+ <link media="all" type="text/css" href="<?php echo get_admin_url(); ?>load-styles.php?c=1&amp;dir=ltr&amp;load=admin-bar,wp-admin,dashicons,buttons,wp-auth-check" rel="stylesheet">
35
+ <link media="all" type="text/css" href="<?php echo get_admin_url(); ?>css/colors<?php echo ((get_bloginfo('version') < '3.8') ? '-fresh' : ''); ?>.min.css" id="colors-css" rel="stylesheet">
36
+ <link media="all" type="text/css" href="<?php echo WD_BWG_URL . '/css/bwg_tables.css'; ?>" id="bwg_tables-css" rel="stylesheet">
37
+ <script language="javascript" type="text/javascript" src="<?php echo get_option("siteurl"); ?>/wp-includes/js/jquery/jquery.js"></script>
38
+ <script src="<?php echo WD_BWG_URL . '/js/bwg.js'; ?>" type="text/javascript"></script>
39
+ <form class="wrap" id="tags_form" method="post" action="<?php echo add_query_arg(array('action' => 'addTags', 'width' => '650', 'height' => '500', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>" style="width:95%; margin: 0 auto;">
40
+ <h2 style="width:200px; float:left;">Tags</h2>
41
+ <a href="" class="thickbox thickbox-preview" id="content-add_media" title="Add Tag" onclick="bwg_get_tags('<?php echo $image_id; ?>', event);" style="float:right; padding: 9px 0px 4px 0">
42
+ <img src="<?php echo WD_BWG_URL . '/images/add_but.png'; ?>" style="border:none;" />
43
+ </a>
44
+ <div class="tablenav top">
45
+ <?php
46
+ WDWLibrary::search('Name', $search_value, 'tags_form');
47
+ WDWLibrary::html_page_nav($page_nav['total'], $page_nav['limit'], 'tags_form');
48
+ ?>
49
+ </div>
50
+ <table class="wp-list-table widefat fixed pages">
51
+ <thead>
52
+ <th class="manage-column column-cb check-column table_small_col"><input id="check_all" type="checkbox" style="margin:0;" /></th>
53
+ <th class="table_small_col <?php if ($order_by == 'id') {echo $order_class;} ?>">
54
+ <a onclick="spider_set_input_value('order_by', 'id');
55
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'id') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
56
+ spider_form_submit(event, 'tags_form')" href="">
57
+ <span>ID</span><span class="sorting-indicator"></span></th>
58
+ </a>
59
+ <th class="<?php if ($order_by == 'name') {echo $order_class;} ?>">
60
+ <a onclick="spider_set_input_value('order_by', 'name');
61
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'name') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
62
+ spider_form_submit(event, 'tags_form')" href="">
63
+ <span>Name</span><span class="sorting-indicator"></span>
64
+ </a>
65
+ </th>
66
+ <th class="<?php if ($order_by == 'slug') {echo $order_class;} ?>">
67
+ <a onclick="spider_set_input_value('order_by', 'slug');
68
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'slug') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
69
+ spider_form_submit(event, 'tags_form')" href="">
70
+ <span>Slug</span><span class="sorting-indicator"></span>
71
+ </a>
72
+ </th>
73
+ </thead>
74
+ <tbody id="tbody_arr">
75
+ <?php
76
+ if ($rows_data) {
77
+ foreach ($rows_data as $row_data) {
78
+ $alternate = (!isset($alternate) || $alternate == 'class="alternate"') ? '' : 'class="alternate"';
79
+ ?>
80
+ <tr id="tr_<?php echo $row_data->term_id; ?>" <?php echo $alternate; ?>>
81
+ <td class="table_small_col check-column"><input id="check_<?php echo $row_data->term_id; ?>" name="check_<?php echo $row_data->term_id; ?>" type="checkbox" /></td>
82
+ <td class="table_small_col"><?php echo $row_data->term_id; ?></td>
83
+ <td><a onclick="window.parent.bwg_add_tag('<?php echo $image_id; ?>', ['<?php echo $row_data->term_id; ?>'],['<?php echo htmlspecialchars(addslashes($row_data->name))?>'])" id="a_<?php echo $row_data->term_id; ?>" style="cursor:pointer;"><?php echo $row_data->name; ?></a></td>
84
+ <td id="slug_<?php echo $row_data->term_id; ?>"><?php echo (($row_data->slug) ? $row_data->slug : '&nbsp;'); ?></td>
85
+ </tr>
86
+ <?php
87
+ }
88
+ }
89
+ ?>
90
+ </tbody>
91
+ </table>
92
+ <input id="asc_or_desc" name="asc_or_desc" type="hidden" value="asc" />
93
+ <input id="order_by" name="order_by" type="hidden" value="<?php echo $order_by; ?>" />
94
+ </form>
95
+ <script src="<?php echo get_admin_url(); ?>load-scripts.php?c=1&load%5B%5D=common,admin-bar" type="text/javascript"></script>
96
+ <?php
97
+ die();
98
+ }
99
+
100
+ ////////////////////////////////////////////////////////////////////////////////////////
101
+ // Getters & Setters //
102
+ ////////////////////////////////////////////////////////////////////////////////////////
103
+ ////////////////////////////////////////////////////////////////////////////////////////
104
+ // Private Methods //
105
+ ////////////////////////////////////////////////////////////////////////////////////////
106
+ ////////////////////////////////////////////////////////////////////////////////////////
107
+ // Listeners //
108
+ ////////////////////////////////////////////////////////////////////////////////////////
109
+ }
admin/views/BWGViewAlbums_bwg.php ADDED
@@ -0,0 +1,385 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGViewAlbums_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $model;
14
+
15
+
16
+ ////////////////////////////////////////////////////////////////////////////////////////
17
+ // Constructor & Destructor //
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ public function __construct($model) {
20
+ $this->model = $model;
21
+ }
22
+ ////////////////////////////////////////////////////////////////////////////////////////
23
+ // Public Methods //
24
+ ////////////////////////////////////////////////////////////////////////////////////////
25
+ public function display() {
26
+ global $WD_BWG_UPLOAD_DIR;
27
+ $rows_data = $this->model->get_rows_data();
28
+ $page_nav = $this->model->page_nav();
29
+ $search_value = ((isset($_POST['search_value'])) ? esc_html(stripslashes($_POST['search_value'])) : '');
30
+ $search_select_value = ((isset($_POST['search_select_value'])) ? (int) $_POST['search_select_value'] : 0);
31
+ $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
32
+ $order_by = (isset($_POST['order_by']) ? esc_html(stripslashes($_POST['order_by'])) : 'order');
33
+ $order_class = 'manage-column column-title sorted ' . $asc_or_desc;
34
+ $ids_string = '';
35
+ ?>
36
+ <div style="clear: both; float: left; width: 95%;">
37
+ <div style="float:left; font-size: 14px; font-weight: bold;">
38
+ This section allows you to create, edit and delete albums.
39
+ <a style="color: blue; text-decoration: none;" target="_blank" href="http://web-dorado.com/wordpress-gallery-guide-step-4.html">Read More in User Manual</a>
40
+ </div>
41
+ <div style="float: right; text-align: right;">
42
+ <a style="color: red; text-decoration: none;" target="_blank" href="http://web-dorado.com/products/wordpress-photo-gallery-plugin.html">
43
+ <img width="215" border="0" alt="web-dorado.com" src="<?php echo WD_BWG_URL . '/images/header.png'; ?>" />
44
+ <p style="font-size: 16px; margin: 0; padding: 0 20px 0 0;">Get the full version</p>
45
+ </a>
46
+ </div>
47
+ </div>
48
+ <form class="wrap" id="albums_form" method="post" action="admin.php?page=albums_bwg" style="float: left; width: 95%;">
49
+ <span class="album-icon"></span>
50
+ <h2>
51
+ Albums
52
+ <a href="" class="add-new-h2" onclick="spider_set_input_value('task', 'add');
53
+ spider_form_submit(event, 'albums_form')">Add new</a>
54
+ </h2>
55
+ <div id="draganddrop" class="updated" style="display:none;"><strong><p>Changes made in this table shoud be saved.</p></strong></div>
56
+ <div class="buttons_div">
57
+ <input id="show_hide_weights" class="button" type="button" onclick="spider_show_hide_weights();return false;" value="Hide order column" />
58
+ <input class="button" type="submit" onclick="spider_set_input_value('task', 'save_order')" value="Save Order" />
59
+ <input class="button" type="submit" onclick="spider_set_input_value('task', 'publish_all')" value="Publish" />
60
+ <input class="button" type="submit" onclick="spider_set_input_value('task', 'unpublish_all')" value="Unpublish" />
61
+ <input class="button" type="submit" onclick="if (confirm('Do you want to delete selected items?')) {
62
+ spider_set_input_value('task', 'delete_all');
63
+ } else {
64
+ return false;
65
+ }" value="Delete" />
66
+ </div>
67
+ <div class="tablenav top">
68
+ <?php
69
+ WDWLibrary::search('Name', $search_value, 'albums_form');
70
+ WDWLibrary::html_page_nav($page_nav['total'], $page_nav['limit'], 'albums_form');
71
+ ?>
72
+ </div>
73
+ <table class="wp-list-table widefat fixed pages">
74
+ <thead>
75
+ <th class="table_small_col"></th>
76
+ <th class="manage-column column-cb check-column table_small_col"><input id="check_all" type="checkbox" style="margin:0;" /></th>
77
+ <th class="table_small_col <?php if ($order_by == 'id') {echo $order_class;} ?>">
78
+ <a onclick="spider_set_input_value('task', '');
79
+ spider_set_input_value('order_by', 'id');
80
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'id') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
81
+ spider_form_submit(event, 'albums_form')" href="">
82
+ <span>ID</span><span class="sorting-indicator"></span>
83
+ </a>
84
+ </th>
85
+ <th class="<?php if ($order_by == 'name') {echo $order_class;} ?>">
86
+ <a onclick="spider_set_input_value('task', '');
87
+ spider_set_input_value('order_by', 'name');
88
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'name') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
89
+ spider_form_submit(event, 'albums_form')" href="">
90
+ <span>Name</span><span class="sorting-indicator"></span>
91
+ </a>
92
+ </th>
93
+ <th class="<?php if ($order_by == 'slug') {echo $order_class;} ?>">
94
+ <a onclick="spider_set_input_value('task', '');
95
+ spider_set_input_value('order_by', 'slug');
96
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'slug') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
97
+ spider_form_submit(event, 'albums_form')" href="">
98
+ <span>Slug</span><span class="sorting-indicator"></span>
99
+ </a>
100
+ </th>
101
+ <th class="table_extra_large_col">Thumbnail</th>
102
+ <th id="th_order" class="table_medium_col <?php if ($order_by == 'order') {echo $order_class;} ?>">
103
+ <a onclick="spider_set_input_value('task', '');
104
+ spider_set_input_value('order_by', 'order');
105
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'order') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
106
+ spider_form_submit(event, 'albums_form')" href="">
107
+ <span>Order</span><span class="sorting-indicator"></span>
108
+ </a>
109
+ </th>
110
+ <th class="<?php if ($order_by == 'display_name') {echo $order_class;} ?>">
111
+ <a onclick="spider_set_input_value('task', '');
112
+ spider_set_input_value('order_by', 'display_name');
113
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'display_name') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
114
+ spider_form_submit(event, 'albums_form')" href="">
115
+ <span>Author</span><span class="sorting-indicator"></span>
116
+ </a>
117
+ </th>
118
+ <th class="table_big_col <?php if ($order_by == 'published') {echo $order_class;} ?>">
119
+ <a onclick="spider_set_input_value('task', '');
120
+ spider_set_input_value('order_by', 'published');
121
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'published') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
122
+ spider_form_submit(event, 'albums_form')" href="">
123
+ <span>Published</span><span class="sorting-indicator"></span>
124
+ </a>
125
+ </th>
126
+ <th class="table_big_col">Edit</th>
127
+ <th class="table_big_col">Delete</th>
128
+ </thead>
129
+ <tbody id="tbody_arr">
130
+ <?php
131
+ if ($rows_data) {
132
+ foreach ($rows_data as $row_data) {
133
+ $alternate = (!isset($alternate) || $alternate == 'class="alternate"') ? '' : 'class="alternate"';
134
+ $published_image = (($row_data->published) ? 'publish' : 'unpublish');
135
+ $published = (($row_data->published) ? 'unpublish' : 'publish');
136
+ if ($row_data->preview_image == '') {
137
+ $preview_image = WD_BWG_URL . '/images/no-image.png';
138
+ }
139
+ else {
140
+ $preview_image = site_url() . '/' . $WD_BWG_UPLOAD_DIR . $row_data->preview_image;
141
+ }
142
+ ?>
143
+ <tr id="tr_<?php echo $row_data->id; ?>" <?php echo $alternate; ?>>
144
+ <td class="connectedSortable table_small_col"><div class="handle" style="margin:5px auto 0 auto;" title="Drag to re-order"></div></td>
145
+ <td class="table_small_col check-column"><input id="check_<?php echo $row_data->id; ?>" name="check_<?php echo $row_data->id; ?>" type="checkbox" /></td>
146
+ <td class="table_small_col"><?php echo $row_data->id; ?></td>
147
+ <td><a onclick="spider_set_input_value('task', 'edit');
148
+ spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
149
+ spider_form_submit(event, 'albums_form')" href="" title="Edit"><?php echo $row_data->name; ?></a></td>
150
+ <td><?php echo $row_data->slug; ?></td>
151
+ <td class="table_extra_large_col">
152
+ <img title="<?php echo $row_data->name; ?>" style="border: 1px solid #CCCCCC; max-width:60px; max-height:60px;" src="<?php echo $preview_image; ?>">
153
+ </td>
154
+ <td class="spider_order table_medium_col"><input id="order_input_<?php echo $row_data->id; ?>" name="order_input_<?php echo $row_data->id; ?>" type="text" size="1" value="<?php echo $row_data->order; ?>" /></td>
155
+ <td><?php echo $row_data->display_name; ?></td>
156
+ <td class="table_big_col"><a onclick="spider_set_input_value('task', '<?php echo $published; ?>');spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');spider_form_submit(event, 'albums_form')" href=""><img src="<?php echo WD_BWG_URL . '/images/' . $published_image . '.png'; ?>"></img></a></td>
157
+ <td class="table_big_col"><a onclick="spider_set_input_value('task', 'edit');
158
+ spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
159
+ spider_form_submit(event, 'albums_form')" href="">Edit</a></td>
160
+ <td class="table_big_col"><a onclick="spider_set_input_value('task', 'delete');
161
+ spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
162
+ spider_form_submit(event, 'albums_form')" href="">Delete</a></td>
163
+ </tr>
164
+ <?php
165
+ $ids_string .= $row_data->id . ',';
166
+ }
167
+ }
168
+ ?>
169
+ </tbody>
170
+ </table>
171
+ <input id="task" name="task" type="hidden" value="" />
172
+ <input id="current_id" name="current_id" type="hidden" value="" />
173
+ <input id="ids_string" name="ids_string" type="hidden" value="<?php echo $ids_string; ?>" />
174
+ <input id="asc_or_desc" name="asc_or_desc" type="hidden" value="asc" />
175
+ <input id="order_by" name="order_by" type="hidden" value="<?php echo $order_by; ?>" />
176
+ <script>
177
+ window.onload = spider_show_hide_weights;
178
+ </script>
179
+ </form>
180
+ <?php
181
+ }
182
+
183
+ public function edit($id) {
184
+ global $WD_BWG_UPLOAD_DIR;
185
+ $row = $this->model->get_row_data($id);
186
+ $page_title = (($id != 0) ? 'Edit album ' . $row->name : 'Create new album');
187
+ ?>
188
+ <div style="clear: both; float: left; width: 95%;">
189
+ <div style="float:left; font-size: 14px; font-weight: bold;">
190
+ This section allows you to add/edit album.
191
+ <a style="color: blue; text-decoration: none;" target="_blank" href="http://web-dorado.com/wordpress-gallery-guide-step-4.html">Read More in User Manual</a>
192
+ </div>
193
+ <div style="float: right; text-align: right;">
194
+ <a style="color: red; text-decoration: none;" target="_blank" href="http://web-dorado.com/products/wordpress-photo-gallery-plugin.html">
195
+ <img width="215" border="0" alt="web-dorado.com" src="<?php echo WD_BWG_URL . '/images/header.png'; ?>" />
196
+ <p style="font-size: 16px; margin: 0; padding: 0 20px 0 0;">Get the full version</p>
197
+ </a>
198
+ </div>
199
+ </div>
200
+ <script>
201
+ function bwg_add_preview_image(files) {
202
+ document.getElementById("preview_image").value = files[0]['thumb_url'];
203
+ document.getElementById("button_preview_image").style.display = "none";
204
+ document.getElementById("delete_preview_image").style.display = "inline-block";
205
+ if (document.getElementById("img_preview_image")) {
206
+ document.getElementById("img_preview_image").src = files[0]['reliative_url'];
207
+ document.getElementById("img_preview_image").style.display = "inline-block";
208
+ }
209
+ }
210
+
211
+ function bwg_add_items(trackIds, titles, types) {
212
+ var tbody = document.getElementById('tbody_albums_galleries');
213
+ var counter = 0;
214
+ for(i = 0; i < trackIds.length; i++) {
215
+ tr = document.createElement('tr');
216
+ tr.setAttribute('id', "tr_0:" + types[i] + ":" + trackIds[i]);
217
+ tr.setAttribute('style', 'height:35px');
218
+
219
+ var td_drag = document.createElement('td');
220
+ td_drag.setAttribute('class','connectedSortable table_small_col');
221
+ td_drag.setAttribute('title','Drag to re-order');
222
+
223
+ var div_drag = document.createElement('div');
224
+ div_drag.setAttribute('class', 'handle');
225
+
226
+ td_drag.appendChild(div_drag);
227
+ tr.appendChild(td_drag);
228
+
229
+ var td_title = document.createElement('td');
230
+ td_title.setAttribute('style', 'max-width:420px;min-width:400px;');
231
+ td_title.innerHTML = (types[i] == '1' ? 'Album: ' : 'Gallery: ') + titles[i];
232
+
233
+ tr.appendChild(td_title);
234
+
235
+ var td_delete = document.createElement('td');
236
+ td_delete.setAttribute('class', 'table_small_col');
237
+
238
+ var span_del = document.createElement('span');
239
+ span_del.setAttribute('class', 'spider_delete_img');
240
+ span_del.setAttribute('onclick', 'spider_remove_row("tbody_albums_galleries", event, this);');
241
+
242
+ td_delete.appendChild(span_del);
243
+ tr.appendChild(td_delete);
244
+
245
+ tbody.appendChild(tr);
246
+ counter++;
247
+ }
248
+ if (counter) {
249
+ document.getElementById("table_albums_galleries").style.display = "block";
250
+ }
251
+ spider_sortt('tbody_albums_galleries');
252
+ tb_remove();
253
+ }
254
+ </script>
255
+ <form class="wrap" method="post" action="admin.php?page=albums_bwg" style="float: left; width: 95%;">
256
+ <span class="album-icon"></span>
257
+ <h2><?php echo $page_title; ?></h2>
258
+ <div style="float:right;">
259
+ <input class="button" type="submit" onclick="if(spider_check_required('name', 'Name')){return false;};spider_set_input_value('task', 'save')" value="Save" />
260
+ <input class="button" type="submit" onclick="if(spider_check_required('name', 'Name')){return false;};spider_set_input_value('task', 'apply')" value="Apply" />
261
+ <input class="button" type="submit" onclick="spider_set_input_value('task', 'cancel')" value="Cancel" />
262
+ </div>
263
+ <table style="clear:both;">
264
+ <tbody>
265
+ <tr>
266
+ <td class="spider_label"><label for="name">Name: <span style="color:#FF0000;">*</span> </label></td>
267
+ <td><input type="text" id="name" name="name" value="<?php echo $row->name; ?>" size="39" /></td>
268
+ </tr>
269
+ <tr>
270
+ <td class="spider_label"><label for="slug">Slug: </label></td>
271
+ <td><input type="text" id="slug" name="slug" value="<?php echo $row->slug; ?>" size="39" /></td>
272
+ </tr>
273
+ <tr>
274
+ <td class="spider_label"><label for="description">Description: </label></td>
275
+ <td>
276
+ <div style="width:500px;">
277
+ <?php
278
+ if (user_can_richedit()) {
279
+ wp_editor($row->description, 'description', array('teeny' => FALSE, 'textarea_name' => 'description', 'media_buttons' => FALSE, 'textarea_rows' => 5));
280
+ }
281
+ else {
282
+ ?>
283
+ <textarea cols="36" rows="5" id="description" name="description" style="resize:vertical">
284
+ <?php echo $row->description; ?>
285
+ </textarea>
286
+ <?php
287
+ }
288
+ ?>
289
+ </div>
290
+ </td>
291
+ </tr>
292
+ <tr>
293
+ <td class="spider_label"><label>Author: </label></td>
294
+ <td><?php echo get_userdata($row->author)->display_name; ?></td>
295
+ </tr>
296
+ <tr>
297
+ <td class="spider_label"><label for="published1">Published: </label></td>
298
+ <td>
299
+ <input type="radio" class="inputbox" id="published0" name="published" <?php echo (($row->published) ? '' : 'checked="checked"'); ?> value="0" >
300
+ <label for="published0">No</label>
301
+ <input type="radio" class="inputbox" id="published1" name="published" <?php echo (($row->published) ? 'checked="checked"' : ''); ?> value="1" >
302
+ <label for="published1">Yes</label>
303
+ </td>
304
+ </tr>
305
+ <tr>
306
+ <td class="spider_label"><label for="url">Preview image: </label></td>
307
+ <td>
308
+ <a href="<?php echo add_query_arg(array('action' => 'addImages', 'width' => '700', 'height' => '550', 'extensions' => 'jpg,jpeg,png,gif', 'callback' => 'bwg_add_preview_image', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>"
309
+ id="button_preview_image"
310
+ class="button-primary thickbox thickbox-preview"
311
+ title="Add Preview Image"
312
+ onclick="return false;"
313
+ style="margin-bottom:5px; display:none;">
314
+ Add Preview Image
315
+ </a>
316
+ <input type="hidden" id="preview_image" name="preview_image" value="<?php echo $row->preview_image; ?>" style="display:inline-block;"/>
317
+ <img id="img_preview_image"
318
+ style="max-height:90px; max-width:120px; vertical-align:middle;"
319
+ src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $row->preview_image; ?>">
320
+ <span id="delete_preview_image" class="spider_delete_img"
321
+ onclick="spider_remove_url('button_preview_image', 'preview_image', 'delete_preview_image', 'img_preview_image')"></span>
322
+ </td>
323
+ </tr>
324
+ <tr>
325
+ <td class="spider_label"><label for="content-add_media">Albums And Galleries: </label></td>
326
+ <td>
327
+ <a href="<?php echo add_query_arg(array('action' => 'addAlbumsGalleries', 'album_id' => $id, 'width' => '700', 'height' => '550', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>" class="button-primary thickbox thickbox-preview" id="content-add_media" title="Add Images" onclick="return false;" style="margin-bottom:5px;">
328
+ Add Albums/Galleries
329
+ </a>
330
+ <?php $albums_galleries = $this->model->get_albums_galleries_rows_data($id) ?>
331
+ <table id="table_albums_galleries" class="widefat spider_table" <?php echo (($albums_galleries) ? '' : 'style="display:none;"'); ?>>
332
+ <tbody id="tbody_albums_galleries">
333
+ <?php
334
+ if ($albums_galleries) {
335
+ $hidden = "";
336
+ foreach($albums_galleries as $alb_gal) {
337
+ if ($alb_gal) {
338
+ ?>
339
+ <tr id="tr_<?php echo $alb_gal->id . ":" . $alb_gal->is_album . ":" . $alb_gal->alb_gal_id ?>" style="height:35px;">
340
+ <td class="connectedSortable table_small_col" title="Drag to re-order"><div class="handle"></div></td>
341
+ <td style="max-width:420px; min-width:400px;"><?php echo ($alb_gal->is_album ? 'Album: ' : 'Gallery: ') . $alb_gal->name; ?></td>
342
+ <td class="table_small_col">
343
+ <span class="spider_delete_img" onclick="spider_remove_row('tbody_albums_galleries', event, this)"/>
344
+ </td>
345
+ </tr>
346
+ <?php
347
+ $hidden .= $alb_gal->id . ":" . $alb_gal->is_album . ":" . $alb_gal->alb_gal_id . ",";
348
+ }
349
+ }
350
+ }
351
+ ?>
352
+ </tbody>
353
+ </table>
354
+ <input type="hidden" value="<?php echo isset($hidden) ? $hidden : ''; ?>" id="albums_galleries" name="albums_galleries"/>
355
+ </td>
356
+ </tr>
357
+ </tbody>
358
+ </table>
359
+ <input id="task" name="task" type="hidden" value="" />
360
+ <input id="current_id" name="current_id" type="hidden" value="<?php echo $row->id; ?>" />
361
+ <script>
362
+ jQuery(window).load(function() {
363
+ spider_reorder_items('tbody_albums_galleries');
364
+ });
365
+ <?php
366
+ if ($row->preview_image == '') {
367
+ ?>
368
+ spider_remove_url('button_preview_image', 'preview_image', 'delete_preview_image', 'img_preview_image');
369
+ <?php
370
+ }
371
+ ?>
372
+ </script>
373
+ </form>
374
+ <?php
375
+ }
376
+ ////////////////////////////////////////////////////////////////////////////////////////
377
+ // Getters & Setters //
378
+ ////////////////////////////////////////////////////////////////////////////////////////
379
+ ////////////////////////////////////////////////////////////////////////////////////////
380
+ // Private Methods //
381
+ ////////////////////////////////////////////////////////////////////////////////////////
382
+ ////////////////////////////////////////////////////////////////////////////////////////
383
+ // Listeners //
384
+ ////////////////////////////////////////////////////////////////////////////////////////
385
+ }
admin/views/BWGViewBWGShortcode.php ADDED
@@ -0,0 +1,1104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGViewBWGShortcode {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $model;
14
+
15
+
16
+ ////////////////////////////////////////////////////////////////////////////////////////
17
+ // Constructor & Destructor //
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ public function __construct($model) {
20
+ $this->model = $model;
21
+ }
22
+ ////////////////////////////////////////////////////////////////////////////////////////
23
+ // Public Methods //
24
+ ////////////////////////////////////////////////////////////////////////////////////////
25
+ public function display() {
26
+ $gallery_rows = $this->model->get_gallery_rows_data();
27
+ $album_rows = $this->model->get_album_rows_data();
28
+ $option_row = $this->model->get_option_row_data();
29
+ $theme_rows = $this->model->get_theme_rows_data();
30
+ $effects = array(
31
+ 'none' => 'None',
32
+ 'cubeH' => 'Cube Horizontal',
33
+ 'fade' => 'Fade',
34
+ 'sliceV' => 'Slice Vertical',
35
+ 'scaleOut' => 'Scale Out',
36
+ 'blindH' => 'Blind Horizontal',
37
+ );
38
+ $watermark_fonts = array(
39
+ 'arial' => 'Arial',
40
+ 'Lucida grande' => 'Lucida grande',
41
+ 'segoe ui' => 'Segoe ui',
42
+ 'tahoma' => 'Tahoma',
43
+ 'trebuchet ms' => 'Trebuchet ms',
44
+ 'verdana' => 'Verdana',
45
+ 'cursive' =>'Cursive',
46
+ 'fantasy' => 'Fantasy',
47
+ 'monospace' => 'Monospace',
48
+ 'serif' => 'Serif',
49
+ );
50
+ ?>
51
+ <html xmlns="http://www.w3.org/1999/xhtml">
52
+ <head>
53
+ <title>Photo Gallery</title>
54
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
55
+ <script language="javascript" type="text/javascript" src="<?php echo get_option("siteurl"); ?>/wp-includes/js/tinymce/tiny_mce_popup.js"></script>
56
+ <link rel="stylesheet" href="<?php echo get_option("siteurl"); ?>/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/dialog.css?ver=342-20110630100">
57
+ <script language="javascript" type="text/javascript" src="<?php echo get_option("siteurl"); ?>/wp-includes/js/tinymce/utils/mctabs.js"></script>
58
+ <script language="javascript" type="text/javascript" src="<?php echo get_option("siteurl"); ?>/wp-includes/js/tinymce/utils/form_utils.js"></script>
59
+
60
+ <link rel="stylesheet" href="<?php echo WD_BWG_URL . '/css/bwg_shortcode.css'; ?>">
61
+ <link rel="stylesheet" href="<?php echo WD_BWG_URL . '/css/jquery-ui-1.10.3.custom.css'; ?>">
62
+ <script language="javascript" type="text/javascript" src="<?php echo get_option("siteurl"); ?>/wp-includes/js/jquery/jquery.js"></script>
63
+ <script language="javascript" type="text/javascript" src="<?php echo get_option("siteurl"); ?>/wp-includes/js/jquery/ui/jquery.ui.core.min.js"></script>
64
+ <script language="javascript" type="text/javascript" src="<?php echo get_option("siteurl"); ?>/wp-includes/js/jquery/ui/jquery.ui.widget.min.js"></script>
65
+ <script language="javascript" type="text/javascript" src="<?php echo get_option("siteurl"); ?>/wp-includes/js/jquery/ui/jquery.ui.position.min.js"></script>
66
+ <script language="javascript" type="text/javascript" src="<?php echo get_option("siteurl"); ?>/wp-includes/js/jquery/ui/jquery.ui.tooltip.min.js"></script>
67
+
68
+ <script language="javascript" type="text/javascript" src="<?php echo WD_BWG_URL . '/js/bwg_shortcode.js'; ?>"></script>
69
+ <script language="javascript" type="text/javascript" src="<?php echo WD_BWG_URL . '/js/jscolor/jscolor.js'; ?>"></script>
70
+ <base target="_self">
71
+ </head>
72
+ <body id="link" onLoad="tinyMCEPopup.executeOnLoad('init();');document.body.style.display='';" dir="ltr" class="forceColors">
73
+ <form method="post" action="#">
74
+ <div class="tabs" role="tablist" tabindex="-1">
75
+ <ul>
76
+ <li id="display_tab" class="current" role="tab" tabindex="0">
77
+ <span>
78
+ <a href="javascript:mcTabs.displayTab('display_tab','display_panel');" onMouseDown="return false;" tabindex="-1">Display</a>
79
+ </span>
80
+ </li>
81
+ </ul>
82
+ </div>
83
+ <div class="panel_wrapper">
84
+ <div id="display_panel" class="panel current">
85
+ <div style="text-align:center; height:100px;">
86
+ <span class="gallery_type" onClick="bwg_gallery_type('thumbnails')">
87
+ <div style="text-align: center;"><input type="radio" id="thumbnails" name="gallery_type" value="thumbnails" /><label for="thumbnails">Thumbnails</label></div>
88
+ <label for="thumbnails"><img src="<?php echo WD_BWG_URL . '/images/thumbnails.jpg'; ?>" /></label>
89
+ </span>
90
+ <span title="This view is disabled in free version." class="gallery_type">
91
+ <div style="text-align: center;"><input disabled="disabled" type="radio" id="thumbnails_masonry" name="gallery_type" value="thumbnails_masonry" /><label class="spider_free_version_label" for="thumbnails_masonry">Masonry</label></div>
92
+ <label><img style="opacity:0.5; filter: Alpha(opacity=50);" disabled="disabled" src="<?php echo WD_BWG_URL . '/images/thumbnails_masonry.jpg'; ?>" /></label>
93
+ </span>
94
+ <span class="gallery_type" onClick="bwg_gallery_type('slideshow')">
95
+ <div style="text-align: center;"><input type="radio" id="slideshow" name="gallery_type" value="slideshow" /><label for="slideshow">Slideshow</label></div>
96
+ <label for="slideshow"><img src="<?php echo WD_BWG_URL . '/images/slideshow.jpg'; ?>" /></label>
97
+ </span>
98
+ <span class="gallery_type" onClick="bwg_gallery_type('image_browser')">
99
+ <div style="text-align: center;"><input type="radio" id="image_browser" name="gallery_type" value="image_browser" /><label for="image_browser">Image Browser</label></div>
100
+ <label for="image_browser"><img src="<?php echo WD_BWG_URL . '/images/image_browser.jpg'; ?>" /></label>
101
+ </span>
102
+ <span class="gallery_type" onClick="bwg_gallery_type('album_compact_preview')">
103
+ <div style="text-align: center;"><input type="radio" id="album_compact_preview" name="gallery_type" value="album_compact_preview" /><label for="album_compact_preview">Compact Album</label></div>
104
+ <label for="album_compact_preview"><img src="<?php echo WD_BWG_URL . '/images/album_compact_preview.jpg'; ?>" /></label>
105
+ </span>
106
+ <span class="gallery_type" onClick="bwg_gallery_type('album_extended_preview')">
107
+ <div style="text-align: center;"><input type="radio" id="album_extended_preview" name="gallery_type" value="album_extended_preview" /><label for="album_extended_preview">Extended Album</label></div>
108
+ <label for="album_extended_preview"><img src="<?php echo WD_BWG_URL . '/images/album_extended_preview.jpg'; ?>" /></label>
109
+ </span>
110
+ <span title="This view is disabled in free version." class="gallery_type">
111
+ <div style="text-align: center;"><input disabled="disabled" type="radio" id="blog_style" name="gallery_type" value="blog_style" /><label class="spider_free_version_label" for="blog_style">Blog Style</label></div>
112
+ <label><img style="opacity:0.5; filter: Alpha(opacity=50);" disabled="disabled" src="<?php echo WD_BWG_URL . '/images/blog_style.jpg'; ?>" /></label>
113
+ </span>
114
+ </div>
115
+ <hr />
116
+ <div class="bwg_short_div" style="border-right: 1px solid #000000;">
117
+ <table>
118
+ <tbody>
119
+ <tr id="tr_theme">
120
+ <td class="spider_label"><label for="theme">Theme: </label></td>
121
+ <td>
122
+ <select name="theme" id="theme" style="width:150px;">
123
+ <option value="0" selected="selected">Select Theme</option>
124
+ <?php
125
+ foreach ($theme_rows as $theme_row) {
126
+ ?>
127
+ <option <?php echo ($theme_row->default_theme) ? 'selected="selected"' : ''; ?> value="<?php echo $theme_row->id; ?>"><?php echo $theme_row->name; ?></option>
128
+ <?php
129
+ }
130
+ ?>
131
+ </select>
132
+ </td>
133
+ </tr>
134
+ <tr id="tr_gallery">
135
+ <td class="spider_label"><label for="gallery">Gallery: </label></td>
136
+ <td>
137
+ <select name="gallery" id="gallery" style="width:150px;">
138
+ <option value="0" selected="selected">Select Gallery</option>
139
+ <?php
140
+ foreach ($gallery_rows as $gallery_row) {
141
+ ?>
142
+ <option value="<?php echo $gallery_row->id; ?>"><?php echo $gallery_row->name; ?></option>
143
+ <?php
144
+ }
145
+ ?>
146
+ </select>
147
+ </td>
148
+ </tr>
149
+ <tr id="tr_album">
150
+ <td class="spider_label"><label for="album">Album: </label></td>
151
+ <td>
152
+ <select name="album" id="album" style="width:150px;">
153
+ <option value="0" selected="selected">Select Album</option>
154
+ <?php
155
+ foreach ($album_rows as $album_row) {
156
+ ?>
157
+ <option value="<?php echo $album_row->id; ?>"><?php echo $album_row->name; ?></option>
158
+ <?php
159
+ }
160
+ ?>
161
+ </select>
162
+ </td>
163
+ </tr>
164
+ <tr id="tr_sort_by">
165
+ <td class="spider_label"><label for="sort_by">Sort by: </label></td>
166
+ <td>
167
+ <select name="sort_by" id="sort_by" style="width:150px;">
168
+ <option value="order" selected="selected">Order</option>
169
+ <option value="alt">Title</option>
170
+ <option value="date">Date</option>
171
+ <option value="size">Size</option>
172
+ <option value="filetype">Type</option>
173
+ <option value="resolution">Resolution</option>
174
+ </select>
175
+ </td>
176
+ </tr>
177
+
178
+ <!--Thumbnails, Masonry viewies-->
179
+ <tr id="tr_masonry_hor_ver">
180
+ <td class="spider_label"><label>Masonry: </label></td>
181
+ <td>
182
+ <input type="radio" name="masonry_hor_ver" id="masonry_hor" value="horizontal" onclick="bwg_change_label('image_column_number_label', 'Max. number of image columns: ');
183
+ bwg_change_label('thumb_width_height_label', 'Image Thumbnail Height: ');
184
+ jQuery('#thumb_width').hide();
185
+ jQuery('#thumb_height').show();
186
+ jQuery('#thumb_width_height_separator').hide();" <?php echo ($option_row->masonry == 'horizontal') ? 'checked' : ''; ?> /><label for="masonry_hor">Horizontal</label>
187
+ <input type="radio" name="masonry_hor_ver" id="masonry_ver" value="vertical" onclick="bwg_change_label('image_column_number_label', 'Number of image rows: ');
188
+ bwg_change_label('thumb_width_height_label', 'Image thumbnail width: ');
189
+ jQuery('#thumb_width').show();
190
+ jQuery('#thumb_height').hide();
191
+ jQuery('#thumb_width_height_separator').hide();" <?php echo ($option_row->masonry == 'vertical') ? 'checked' : ''; ?> /><label for="masonry_ver">Vertical</label>
192
+ </td>
193
+ </tr>
194
+ <tr id="tr_image_column_number">
195
+ <td class="spider_label"><label id="image_column_number_label" for="image_column_number">Max. number of image columns: </label></td>
196
+ <td><input type="text" name="image_column_number" id="image_column_number" value="<?php echo $option_row->image_column_number; ?>" class="spider_int_input" /></td>
197
+ </tr>
198
+ <tr id="tr_images_per_page">
199
+ <td title="If you want to display all images you should leave it blank or insert 0." class="spider_label"><label for="images_per_page">Images per page: </label></td>
200
+ <td><input type="text" name="images_per_page" id="images_per_page" value="<?php echo $option_row->images_per_page; ?>" class="spider_int_input" /></td>
201
+ </tr>
202
+ <tr id="tr_image_enable_page">
203
+ <td class="spider_label"><label>Enable pagination: </label></td>
204
+ <td>
205
+ <input type="radio" name="image_enable_page" id="image_page_yes" value="1" <?php echo ($option_row->image_enable_page) ? 'checked' : ''; ?> /><label for="image_page_yes">Yes</label>
206
+ <input type="radio" name="image_enable_page" id="image_page_no" value="0" <?php echo ($option_row->image_enable_page) ? '' : 'checked'; ?> /><label for="image_page_no">No</label>
207
+ </td>
208
+ </tr>
209
+ <tr id="tr_thumb_width_height">
210
+ <td title="Maximum values for thumbnails width dimension." class="spider_label"><label id="thumb_width_height_label" for="thumb_width">Image Thumbnail dimensions: </label></td>
211
+ <td>
212
+ <input type="text" name="thumb_width" id="thumb_width" value="<?php echo $option_row->thumb_width; ?>" class="spider_int_input" /><span id="thumb_width_height_separator"> x </span>
213
+ <input type="text" name="thumb_height" id="thumb_height" value="<?php echo $option_row->thumb_height; ?>" class="spider_int_input" /> px
214
+ </td>
215
+ </tr>
216
+
217
+ <!--Compact Album view-->
218
+ <tr id="tr_compuct_album_column_number">
219
+ <td class="spider_label"><label for="compuct_album_column_number">Max. number of album columns: </label></td>
220
+ <td><input type="text" name="compuct_album_column_number" id="compuct_album_column_number" value="<?php echo $option_row->album_column_number; ?>" class="spider_int_input" /></td>
221
+ </tr>
222
+ <tr id="tr_compuct_albums_per_page">
223
+ <td title="If you want to display all albums you should leave it blank or insert 0." class="spider_label"><label for="compuct_albums_per_page">Albums per page: </label></td>
224
+ <td><input type="text" name="compuct_albums_per_page" id="compuct_albums_per_page" value="<?php echo $option_row->albums_per_page; ?>" class="spider_int_input" /></td>
225
+ </tr>
226
+ <tr id="tr_compuct_album_title_hover">
227
+ <td class="spider_label"><label>Album title: </label></td>
228
+ <td>
229
+ <input type="radio" name="compuct_album_title" id="compuct_album_title_hover" value="hover" <?php echo ($option_row->album_title_show_hover == 'hover') ? 'checked' : ''; ?> /><label for="compuct_album_title_hover">Show on hover</label><br />
230
+ <input type="radio" name="compuct_album_title" id="compuct_album_title_show" value="show" <?php echo ($option_row->album_title_show_hover == 'show') ? 'checked' : ''; ?> /><label for="compuct_album_title_show">Always show</label>
231
+ </td>
232
+ </tr>
233
+ <tr id="tr_compuct_album_thumb_width_height">
234
+ <td title="Maximum values for album thumb width and height." class="spider_label"><label for="compuct_album_thumb_width">Album Thumbnail dimensions: </label></td>
235
+ <td>
236
+ <input type="text" name="compuct_album_thumb_width" id="compuct_album_thumb_width" value="<?php echo $option_row->album_thumb_width; ?>" class="spider_int_input" /> x
237
+ <input type="text" name="compuct_album_thumb_height" id="compuct_album_thumb_height" value="<?php echo $option_row->album_thumb_height; ?>" class="spider_int_input" /> px
238
+ </td>
239
+ </tr>
240
+ <tr id="tr_compuct_album_image_column_number">
241
+ <td class="spider_label"><label for="compuct_album_image_column_number">Max. number of image columns: </label></td>
242
+ <td><input type="text" name="compuct_album_image_column_number" id="compuct_album_image_column_number" value="<?php echo $option_row->image_column_number; ?>" class="spider_int_input" /></td>
243
+ </tr>
244
+ <tr id="tr_compuct_album_images_per_page">
245
+ <td title="If you want to display all images you should leave it blank or insert 0." class="spider_label"><label for="compuct_album_images_per_page">Images per page: </label></td>
246
+ <td><input type="text" name="compuct_album_images_per_page" id="compuct_album_images_per_page" value="<?php echo $option_row->images_per_page; ?>" class="spider_int_input" /></td>
247
+ </tr>
248
+ <tr id="tr_compuct_album_image_thumb_width_height">
249
+ <td title="Maximum values for thumb width and height." class="spider_label"><label for="compuct_album_image_thumb_width">Image thumbnail dimensions: </label></td>
250
+ <td>
251
+ <input type="text" name="compuct_album_image_thumb_width" id="compuct_album_image_thumb_width" value="<?php echo $option_row->thumb_width; ?>" class="spider_int_input" /> x
252
+ <input type="text" name="compuct_album_image_thumb_height" id="compuct_album_image_thumb_height" value="<?php echo $option_row->thumb_height; ?>" class="spider_int_input" /> px
253
+ </td>
254
+ </tr>
255
+ <tr id="tr_compuct_album_enable_page">
256
+ <td class="spider_label"><label>Enable pagination: </label></td>
257
+ <td>
258
+ <input type="radio" name="compuct_album_enable_page" id="compuct_album_page_yes" value="1" <?php echo ($option_row->album_enable_page) ? 'checked' : ''; ?> /><label for="compuct_album_page_yes">Yes</label>
259
+ <input type="radio" name="compuct_album_enable_page" id="compuct_album_page_no" value="0" <?php echo ($option_row->album_enable_page) ? '' : 'checked'; ?> /><label for="compuct_album_page_no">No</label>
260
+ </td>
261
+ </tr>
262
+
263
+ <!--Extended Album view-->
264
+ <tr id="tr_extended_albums_per_page">
265
+ <td title="If you want to display all albums you should leave it blank or insert 0." class="spider_label"><label for="extended_albums_per_page">Albums per page: </label></td>
266
+ <td><input type="text" name="extended_albums_per_page" id="extended_albums_per_page" value="<?php echo $option_row->albums_per_page; ?>" class="spider_int_input" /></td>
267
+ </tr>
268
+ <tr id="tr_extended_album_height">
269
+ <td class="spider_label"><label for="extended_album_height">Album row height: </label></td>
270
+ <td><input type="text" name="extended_album_height" id="extended_album_height" value="<?php echo $option_row->extended_album_height; ?>" class="spider_int_input" /> px</td>
271
+ </tr>
272
+ <tr id="tr_extended_album_description_enable">
273
+ <td title="If you disable description only the title of the album will be displayed." class="spider_label"><label>Enable album description: </label></td>
274
+ <td>
275
+ <input type="radio" name="extended_album_description_enable" id="extended_album_description_yes" value="1" <?php echo ($option_row->extended_album_description_enable) ? 'checked' : ''; ?> /><label for="extended_album_description_yes">Yes</label>
276
+ <input type="radio" name="extended_album_description_enable" id="extended_album_description_no" value="0" <?php echo ($option_row->extended_album_description_enable) ? '' : 'checked'; ?> /><label for="extended_album_description_no">No</label>
277
+ </td>
278
+ </tr>
279
+ <tr id="tr_extended_album_thumb_width_height">
280
+ <td title="Maximum values for album thumb width and height." class="spider_label"><label for="extended_album_thumb_width">Album thumbnail dimensions: </label></td>
281
+ <td>
282
+ <input type="text" name="extended_album_thumb_width" id="extended_album_thumb_width" value="<?php echo $option_row->album_thumb_width; ?>" class="spider_int_input" /> x
283
+ <input type="text" name="extended_album_thumb_height" id="extended_album_thumb_height" value="<?php echo $option_row->album_thumb_height; ?>" class="spider_int_input" /> px
284
+ </td>
285
+ </tr>
286
+ <tr id="tr_extended_album_image_column_number">
287
+ <td class="spider_label"><label for="extended_album_image_column_number">Max. number of image columns: </label></td>
288
+ <td><input type="text" name="extended_album_image_column_number" id="extended_album_image_column_number" value="<?php echo $option_row->image_column_number; ?>" class="spider_int_input" /></td>
289
+ </tr>
290
+ <tr id="tr_extended_album_images_per_page">
291
+ <td title="If you want to display all images you should leave it blank or insert 0." class="spider_label"><label for="extended_album_images_per_page">Images per page: </label></td>
292
+ <td><input type="text" name="extended_album_images_per_page" id="extended_album_images_per_page" value="<?php echo $option_row->images_per_page; ?>" class="spider_int_input" /></td>
293
+ </tr>
294
+ <tr id="tr_extended_album_image_thumb_width_height">
295
+ <td title="Maximum values for thumb width and height." class="spider_label"><label for="extended_album_image_thumb_width">Image Thumbnail dimensions: </label></td>
296
+ <td>
297
+ <input type="text" name="extended_album_image_thumb_width" id="extended_album_image_thumb_width" value="<?php echo $option_row->thumb_width; ?>" class="spider_int_input" /> x
298
+ <input type="text" name="extended_album_image_thumb_height" id="extended_album_image_thumb_height" value="<?php echo $option_row->thumb_height; ?>" class="spider_int_input" /> px
299
+ </td>
300
+ </tr>
301
+ <tr id="tr_extended_album_enable_page">
302
+ <td class="spider_label"><label>Enable pagination: </label></td>
303
+ <td>
304
+ <input type="radio" name="extended_album_enable_page" id="extended_album_page_yes" value="1" <?php echo ($option_row->album_enable_page) ? 'checked' : ''; ?> /><label for="extended_album_page_yes">Yes</label>
305
+ <input type="radio" name="extended_album_enable_page" id="extended_album_page_no" value="0" <?php echo ($option_row->album_enable_page) ? '' : 'checked'; ?> /><label for="extended_album_page_no">No</label>
306
+ </td>
307
+ </tr>
308
+
309
+ <!--Image Browser view-->
310
+ <tr id="tr_image_browser_width_height">
311
+ <td title="Maximum value for image width." class="spider_label"><label for="image_browser_width">Image width: </label></td>
312
+ <td>
313
+ <input type="text" name="image_browser_width" id="image_browser_width" value="<?php echo $option_row->image_browser_width; ?>" class="spider_int_input" /> px
314
+ </td>
315
+ </tr>
316
+ <tr id="tr_image_browser_title_enable">
317
+ <td class="spider_label"><label>Enable image title: </label></td>
318
+ <td>
319
+ <input type="radio" name="image_browser_title_enable" id="image_browser_title_yes" value="1" <?php echo ($option_row->image_browser_title_enable) ? 'checked' : ''; ?> /><label for="image_browser_title_es">Yes</label>
320
+ <input type="radio" name="image_browser_title_enable" id="image_browser_title_no" value="0" <?php echo ($option_row->image_browser_title_enable) ? '' : 'checked'; ?> /><label for="image_browser_title_no">No</label>
321
+ </td>
322
+ </tr>
323
+ <tr id="tr_image_browser_description_enable">
324
+ <td class="spider_label"><label>Enable image description: </label></td>
325
+ <td>
326
+ <input type="radio" name="image_browser_description_enable" id="image_browser_description_yes" value="1" <?php echo ($option_row->image_browser_description_enable) ? 'checked' : ''; ?> /><label for="image_browser_description_yes">Yes</label>
327
+ <input type="radio" name="image_browser_description_enable" id="image_browser_description_no" value="0" <?php echo ($option_row->image_browser_description_enable) ? '' : 'checked'; ?> /><label for="image_browser_description_no">No</label>
328
+ </td>
329
+ </tr>
330
+
331
+ <!--Blog Style view-->
332
+ <tr id="tr_blog_style_width_height">
333
+ <td title="Maximum value for image width." class="spider_label"><label for="blog_style_width">Image width: </label></td>
334
+ <td>
335
+ <input type="text" name="blog_style_width" id="blog_style_width" value="<?php echo $option_row->blog_style_width; ?>" class="spider_int_input" /> px
336
+ </td>
337
+ </tr>
338
+ <tr id="tr_blog_style_title_enable">
339
+ <td class="spider_label"><label>Enable image title: </label></td>
340
+ <td>
341
+ <input type="radio" name="blog_style_title_enable" id="blog_style_title_yes" value="1" <?php echo ($option_row->blog_style_title_enable) ? 'checked' : ''; ?> /><label for="blog_style_title_es">Yes</label>
342
+ <input type="radio" name="blog_style_title_enable" id="blog_style_title_no" value="0" <?php echo ($option_row->blog_style_title_enable) ? '' : 'checked'; ?> /><label for="blog_style_title_no">No</label>
343
+ </td>
344
+ </tr>
345
+ <tr id="tr_blog_style_images_per_page">
346
+ <td title="If you want to display all images you should leave it blank or insert 0." class="spider_label"><label for="blog_style_images_per_page">Images per page: </label></td>
347
+ <td><input type="text" name="blog_style_images_per_page" id="blog_style_images_per_page" value="<?php echo $option_row->blog_style_images_per_page; ?>" class="spider_int_input" /></td>
348
+ </tr>
349
+ <tr id="tr_blog_style_enable_page">
350
+ <td class="spider_label"><label>Enable pagination: </label></td>
351
+ <td>
352
+ <input type="radio" name="blog_style_enable_page" id="blog_style_page_yes" value="1" <?php echo ($option_row->blog_style_enable_page) ? 'checked' : ''; ?> /><label for="blog_style_page_yes">Yes</label>
353
+ <input type="radio" name="blog_style_enable_page" id="blog_style_page_no" value="0" <?php echo ($option_row->blog_style_enable_page) ? '' : 'checked'; ?> /><label for="blog_style_page_no">No</label>
354
+ </td>
355
+ </tr>
356
+
357
+ <!--Slideshow view-->
358
+ <tr id="tr_slideshow_effect">
359
+ <td class="spider_label"><label for="slideshow_effect">Slideshow Effect: </label></td>
360
+ <td>
361
+ <select name="slideshow_effect" id="slideshow_effect" style="width:150px;">
362
+ <?php
363
+ foreach ($effects as $key => $effect) {
364
+ ?>
365
+ <option value="<?php echo $key; ?>" <?php echo ($option_row->slideshow_type == $key) ? 'selected' : ''; ?>><?php echo $effect; ?></option>
366
+ <?php
367
+ }
368
+ ?>
369
+ </select>
370
+ </td>
371
+ </tr>
372
+ <tr id="tr_slideshow_interval">
373
+ <td title="Interval between two images." class="spider_label"><label for="slideshow_interval">Time interval: </label></td>
374
+ <td><input type="text" name="slideshow_interval" id="slideshow_interval" value="<?php echo $option_row->slideshow_interval; ?>" class="spider_int_input" /> sec.</td>
375
+ </tr>
376
+ <tr id="tr_slideshow_width_height">
377
+ <td title="Maximum values for slideshow width and height." class="spider_label"><label for="slideshow_width">Slideshow dimensions: </label></td>
378
+ <td>
379
+ <input type="text" name="slideshow_width" id="slideshow_width" value="<?php echo $option_row->slideshow_width; ?>" class="spider_int_input" /> x
380
+ <input type="text" name="slideshow_height" id="slideshow_height" value="<?php echo $option_row->slideshow_height; ?>" class="spider_int_input" /> px
381
+ </td>
382
+ </tr>
383
+ <tr id="tr_enable_slideshow_autoplay">
384
+ <td class="spider_label"><label>Enable Autoplay: </label></td>
385
+ <td>
386
+ <input type="radio" name="enable_slideshow_autoplay" id="slideshow_autoplay_yes" value="1" <?php echo ($option_row->slideshow_enable_autoplay) ? 'checked' : ''; ?> /><label for="slideshow_autoplay_yes">Yes</label>
387
+ <input type="radio" name="enable_slideshow_autoplay" id="slideshow_autoplay_no" value="0" <?php echo ($option_row->slideshow_enable_autoplay) ? '' : 'checked'; ?> /><label for="slideshow_autoplay_no">No</label>
388
+ </td>
389
+ </tr>
390
+ <tr id="tr_enable_slideshow_shuffle">
391
+ <td class="spider_label"><label>Enable Shuffle: </label></td>
392
+ <td>
393
+ <input type="radio" name="enable_slideshow_shuffle" id="slideshow_shuffle_yes" value="1" <?php echo ($option_row->slideshow_enable_shuffle) ? 'checked' : ''; ?> /><label for="slideshow_shuffle_yes">Yes</label>
394
+ <input type="radio" name="enable_slideshow_shuffle" id="slideshow_shuffle_no" value="0" <?php echo ($option_row->slideshow_enable_shuffle) ? '' : 'checked'; ?> /><label for="slideshow_shuffle_no">No</label>
395
+ </td>
396
+ </tr>
397
+ <tr id="tr_enable_slideshow_ctrl">
398
+ <td class="spider_label"><label>Enable control buttons: </label></td>
399
+ <td>
400
+ <input type="radio" name="enable_slideshow_ctrl" id="slideshow_ctrl_yes" value="1" <?php echo ($option_row->slideshow_enable_ctrl) ? 'checked' : ''; ?> /><label for="slideshow_ctrl_yes">Yes</label>
401
+ <input type="radio" name="enable_slideshow_ctrl" id="slideshow_ctrl_no" value="0" <?php echo ($option_row->slideshow_enable_ctrl) ? '' : 'checked'; ?> /><label for="slideshow_ctrl_no">No</label>
402
+ </td>
403
+ </tr>
404
+ <tr id="tr_enable_slideshow_filmstrip">
405
+ <td title="Enable slideshow filmstrip view" class="spider_label spider_free_version_label"><label>Enable slideshow filmstrip: </label></td>
406
+ <td>
407
+ <input disabled="disabled" type="radio" name="enable_slideshow_filmstrip" id="slideshow_filmstrip_yes" value="1" onClick="bwg_enable_disable('', 'tr_slideshow_filmstrip_height', 'slideshow_filmstrip_yes')" <?php echo ($option_row->slideshow_enable_filmstrip) ? 'checked' : ''; ?> /><label for="slideshow_filmstrip_yes">Yes</label>
408
+ <input disabled="disabled" type="radio" name="enable_slideshow_filmstrip" id="slideshow_filmstrip_no" value="0" onClick="bwg_enable_disable('none', 'tr_slideshow_filmstrip_height', 'slideshow_filmstrip_no')" <?php echo ($option_row->slideshow_enable_filmstrip) ? '' : 'checked'; ?> /><label for="slideshow_filmstrip_no">No</label>
409
+ </td>
410
+ </tr>
411
+ <tr id="tr_slideshow_filmstrip_height">
412
+ <td class="spider_label spider_free_version_label"><label for="slideshow_filmstrip_height">Slideshow Filmstrip height: </label></td>
413
+ <td class="spider_free_version_label"><input disabled="disabled" type="text" name="slideshow_filmstrip_height" id="slideshow_filmstrip_height" value="<?php echo $option_row->slideshow_filmstrip_height; ?>" class="spider_int_input spider_free_version_label" /> px</td>
414
+ </tr>
415
+ </tbody>
416
+ </table>
417
+ </div>
418
+ <div class="bwg_short_div" style="border-right: 1px solid #000000;">
419
+ <table>
420
+ <!--Slideshow view-->
421
+ <tbody id="tbody_slideshow">
422
+ <tr id="tr_slideshow_enable_title">
423
+ <td class="spider_label"><label>Enable Image Title: </label></td>
424
+ <td>
425
+ <input type="radio" name="slideshow_enable_title" id="slideshow_title_yes" value="1" <?php echo ($option_row->slideshow_enable_title) ? 'checked' : ''; ?> onClick="bwg_enable_disable('', 'tr_slideshow_title_position', 'slideshow_title_no')" /><label for="slideshow_title_yes">Yes</label>
426
+ <input type="radio" name="slideshow_enable_title" id="slideshow_title_no" value="0" <?php echo ($option_row->slideshow_enable_title) ? '' : 'checked'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_title_position', 'slideshow_title_no')" /><label for="slideshow_title_no">No</label>
427
+ </td>
428
+ </tr>
429
+ <tr id="tr_slideshow_title_position">
430
+ <td title="Image title position on slideshow" class="spider_label"><label>Title Position: </label></td>
431
+ <td>
432
+ <table class="bws_position_table">
433
+ <tbody>
434
+ <tr>
435
+ <td><input type="radio" value="top-left" id="slideshow_title_top-left" name="slideshow_title_position" <?php echo ($option_row->slideshow_title_position == 'top-left') ? 'checked' : ''; ?>></td>
436
+ <td><input type="radio" value="top-center" id="slideshow_title_top-center" name="slideshow_title_position" <?php echo ($option_row->slideshow_title_position == 'top-center') ? 'checked' : ''; ?>></td>
437
+ <td><input type="radio" value="top-right" id="slideshow_title_top-right" name="slideshow_title_position" <?php echo ($option_row->slideshow_title_position == 'top-right') ? 'checked' : ''; ?>></td>
438
+ </tr>
439
+ <tr>
440
+ <td><input type="radio" value="middle-left" id="slideshow_title_middle-left" name="slideshow_title_position" <?php echo ($option_row->slideshow_title_position == 'middle-left') ? 'checked' : ''; ?>></td>
441
+ <td><input type="radio" value="middle-center" id="slideshow_title_middle-center" name="slideshow_title_position" <?php echo ($option_row->slideshow_title_position == 'middle-center') ? 'checked' : ''; ?>></td>
442
+ <td><input type="radio" value="middle-right" id="slideshow_title_middle-right" name="slideshow_title_position" <?php echo ($option_row->slideshow_title_position == 'middle-right') ? 'checked' : ''; ?>></td>
443
+ </tr>
444
+ <tr>
445
+ <td><input type="radio" value="bottom-left" id="slideshow_title_bottom-left" name="slideshow_title_position" <?php echo ($option_row->slideshow_title_position == 'bottom-left') ? 'checked' : ''; ?>></td>
446
+ <td><input type="radio" value="bottom-center" id="slideshow_title_bottom-center" name="slideshow_title_position" <?php echo ($option_row->slideshow_title_position == 'bottom-center') ? 'checked' : ''; ?>></td>
447
+ <td><input type="radio" value="bottom-right" id="slideshow_title_bottom-right" name="slideshow_title_position" <?php echo ($option_row->slideshow_title_position == 'bottom-right') ? 'checked' : ''; ?>></td>
448
+ </tr>
449
+ </tbody>
450
+ </table>
451
+ </td>
452
+ </tr>
453
+ <tr id="tr_slideshow_enable_description">
454
+ <td class="spider_label"><label>Enable Image Description: </label></td>
455
+ <td>
456
+ <input type="radio" name="slideshow_enable_description" id="slideshow_description_yes" value="1" <?php echo ($option_row->slideshow_enable_description) ? 'checked' : ''; ?> onClick="bwg_enable_disable('', 'tr_slideshow_description_position', 'slideshow_description_no')" /><label for="slideshow_description_yes">Yes</label>
457
+ <input type="radio" name="slideshow_enable_description" id="slideshow_description_no" value="0" <?php echo ($option_row->slideshow_enable_description) ? '' : 'checked'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_description_position', 'slideshow_description_no')" /><label for="slideshow_description_no">No</label>
458
+ </td>
459
+ </tr>
460
+ <tr id="tr_slideshow_description_position">
461
+ <td title="Image description position on slideshow" class="spider_label"><label>Description Position: </label></td>
462
+ <td>
463
+ <table class="bws_position_table">
464
+ <tbody>
465
+ <tr>
466
+ <td><input type="radio" value="top-left" id="slideshow_description_top-left" name="slideshow_description_position" <?php echo ($option_row->slideshow_description_position == 'top-left') ? 'checked' : ''; ?>></td>
467
+ <td><input type="radio" value="top-center" id="slideshow_description_top-center" name="slideshow_description_position" <?php echo ($option_row->slideshow_description_position == 'top-center') ? 'checked' : ''; ?>></td>
468
+ <td><input type="radio" value="top-right" id="slideshow_description_top-right" name="slideshow_description_position" <?php echo ($option_row->slideshow_description_position == 'top-right') ? 'checked' : ''; ?>></td>
469
+ </tr>
470
+ <tr>
471
+ <td><input type="radio" value="middle-left" id="slideshow_description_middle-left" name="slideshow_description_position" <?php echo ($option_row->slideshow_description_position == 'middle-left') ? 'checked' : ''; ?>></td>
472
+ <td><input type="radio" value="middle-center" id="slideshow_description_middle-center" name="slideshow_description_position" <?php echo ($option_row->slideshow_description_position == 'middle-center') ? 'checked' : ''; ?>></td>
473
+ <td><input type="radio" value="middle-right" id="slideshow_description_middle-right" name="slideshow_description_position" <?php echo ($option_row->slideshow_description_position == 'middle-right') ? 'checked' : ''; ?>></td>
474
+ </tr>
475
+ <tr>
476
+ <td><input type="radio" value="bottom-left" id="slideshow_description_bottm-Left" name="slideshow_description_position" <?php echo ($option_row->slideshow_description_position == 'bottom-left') ? 'checked' : ''; ?>></td>
477
+ <td><input type="radio" value="bottom-center" id="slideshow_description_bottom-center" name="slideshow_description_position" <?php echo ($option_row->slideshow_description_position == 'bottom-center') ? 'checked' : ''; ?>></td>
478
+ <td><input type="radio" value="bottom-right" id="slideshow_description_bottm-right" name="slideshow_description_position" <?php echo ($option_row->slideshow_description_position == 'bottom-right') ? 'checked' : ''; ?>></td>
479
+ </tr>
480
+ </tbody>
481
+ </table>
482
+ </td>
483
+ </tr>
484
+ <tr id="tr_enable_slideshow_music">
485
+ <td class="spider_label"><label>Enable Slideshow Music: </label></td>
486
+ <td>
487
+ <input type="radio" name="enable_slideshow_music" id="slideshow_music_yes" value="1" onClick="bwg_enable_disable('', 'tr_slideshow_music_url', 'slideshow_music_yes')" <?php echo ($option_row->slideshow_enable_music) ? 'checked' : ''; ?> /><label for="slideshow_music_yes">Yes</label>
488
+ <input type="radio" name="enable_slideshow_music" id="slideshow_music_no" value="0" onClick="bwg_enable_disable('none', 'tr_slideshow_music_url', 'slideshow_music_no')" <?php echo ($option_row->slideshow_enable_music) ? '' : 'checked'; ?> /><label for="slideshow_music_no">No</label>
489
+ </td>
490
+ </tr>
491
+ <tr id="tr_slideshow_music_url">
492
+ <td title="Enter absolute audio file url or add file from Options page." class="spider_label">
493
+ <label for="slideshow_music_url">Music url: </label>
494
+ </td>
495
+ <td>
496
+ <input type="text" id="slideshow_music_url" name="slideshow_music_url" value="<?php echo $option_row->slideshow_audio_url; ?>" style="display:inline-block;" />
497
+ </td>
498
+ </tr>
499
+ </tbody>
500
+
501
+ <!--Lightbox view-->
502
+ <tbody id="tbody_popup">
503
+ <tr id="tr_popup_width_height">
504
+ <td title="Maximum values for lightbox width and height." class="spider_label"><label for="popup_width">Lightbox dimensions: </label></td>
505
+ <td>
506
+ <input type="text" name="popup_width" id="popup_width" value="<?php echo $option_row->popup_width; ?>" class="spider_int_input" /> x
507
+ <input type="text" name="popup_height" id="popup_height" value="<?php echo $option_row->popup_height; ?>" class="spider_int_input" /> px
508
+ </td>
509
+ </tr>
510
+ <tr id="tr_popup_effect">
511
+ <td title="Lightbox slideshow effect." class="spider_label"><label for="popup_effect">Lightbox effect: </label></td>
512
+ <td>
513
+ <select name="popup_effect" id="popup_effect" style="width:150px;">
514
+ <?php
515
+ foreach ($effects as $key => $effect) {
516
+ ?>
517
+ <option value="<?php echo $key; ?>" <?php echo ($option_row->popup_type == $key) ? 'selected' : ''; ?>><?php echo $effect; ?></option>
518
+ <?php
519
+ }
520
+ ?>
521
+ </select>
522
+ </td>
523
+ </tr>
524
+ <tr id="tr_popup_interval">
525
+ <td title="Interval between two images." class="spider_label"><label for="popup_interval">Time interval: </label></td>
526
+ <td><input type="text" name="popup_interval" id="popup_interval" value="<?php echo $option_row->popup_interval; ?>" class="spider_int_input" /> sec.</td>
527
+ </tr>
528
+ <tr id="tr_popup_enable_filmstrip">
529
+ <td title="Enable filmstrip view for images<br /><br />This option is disabled in free version." class="spider_label spider_free_version_label"><label>Enable filmstrip in lightbox: </label></td>
530
+ <td>
531
+ <input disabled="disabled" type="radio" name="popup_enable_filmstrip" id="popup_filmstrip_yes" value="1" onClick="bwg_enable_disable('', 'tr_popup_filmstrip_height', 'popup_filmstrip_yes')" <?php echo ($option_row->popup_enable_filmstrip) ? 'checked' : ''; ?> /><label for="popup_filmstrip_yes">Yes</label>
532
+ <input disabled="disabled" type="radio" name="popup_enable_filmstrip" id="popup_filmstrip_no" value="0" onClick="bwg_enable_disable('none', 'tr_popup_filmstrip_height', 'popup_filmstrip_no')" <?php echo ($option_row->popup_enable_filmstrip) ? '' : 'checked'; ?> /><label for="popup_filmstrip_no">No</label>
533
+ </td>
534
+ </tr>
535
+ <tr id="tr_popup_filmstrip_height">
536
+ <td title="This option is disabled in free version." class="spider_label spider_free_version_label"><label for="popup_filmstrip_height">Filmstrip height: </label></td>
537
+ <td class="spider_free_version_label"><input disabled="disabled" type="text" name="popup_filmstrip_height" id="popup_filmstrip_height" value="<?php echo $option_row->popup_filmstrip_height; ?>" class="spider_int_input spider_free_version_label" /> px</td>
538
+ </tr>
539
+ <tr id="tr_popup_enable_ctrl_btn">
540
+ <td title="Enable control buttons in lightbox" class="spider_label"><label>Enable control buttons: </label></td>
541
+ <td>
542
+ <input type="radio" name="popup_enable_ctrl_btn" id="popup_ctrl_btn_yes" value="1" onClick="bwg_enable_disable('', 'tbody_popup_ctrl_btn', 'popup_ctrl_btn_yes');" <?php echo ($option_row->popup_enable_ctrl_btn) ? 'checked' : ''; ?> /><label for="popup_ctrl_btn_yes">Yes</label>
543
+ <input type="radio" name="popup_enable_ctrl_btn" id="popup_ctrl_btn_no" value="0" onClick="bwg_enable_disable('none', 'tbody_popup_ctrl_btn', 'popup_ctrl_btn_no');" <?php echo ($option_row->popup_enable_ctrl_btn) ? '' : 'checked'; ?> /><label for="popup_ctrl_btn_no">No</label>
544
+ </td>
545
+ </tr>
546
+ </tbody>
547
+ <tbody id="tbody_popup_ctrl_btn">
548
+ <tr id="tr_popup_enable_fullscreen">
549
+ <td title="Enable fullscreen view for images" class="spider_label"><label>Enable fullscreen: </label></td>
550
+ <td>
551
+ <input type="radio" name="popup_enable_fullscreen" id="popup_fullscreen_yes" value="1" <?php echo ($option_row->popup_enable_fullscreen) ? 'checked' : ''; ?> /><label for="popup_fullscreen_yes">Yes</label>
552
+ <input type="radio" name="popup_enable_fullscreen" id="popup_fullscreen_no" value="0" <?php echo ($option_row->popup_enable_fullscreen) ? '' : 'checked'; ?> /><label for="popup_fullscreen_no">No</label>
553
+ </td>
554
+ </tr>
555
+ <tr id="tr_popup_enable_comment">
556
+ <td title="Enable comments for images<br /><br />This option is disabled in free version." class="spider_label spider_free_version_label"><label>Enable comments: </label></td>
557
+ <td>
558
+ <input disabled="disabled" type="radio" name="popup_enable_comment" id="popup_comment_yes" value="1" <?php echo ($option_row->popup_enable_comment) ? 'checked' : ''; ?> /><label for="popup_comment_yes">Yes</label>
559
+ <input disabled="disabled" type="radio" name="popup_enable_comment" id="popup_comment_no" value="0" <?php echo ($option_row->popup_enable_comment) ? '' : 'checked'; ?> /><label for="popup_comment_no">No</label>
560
+ </td>
561
+ </tr>
562
+ <tr id="tr_popup_enable_facebook">
563
+ <td title="Enable Facebook share button for images<br /><br />This option is disabled in free version." class="spider_label spider_free_version_label"><label>Enable Facebook button: </label></td>
564
+ <td>
565
+ <input disabled="disabled" type="radio" name="popup_enable_facebook" id="popup_facebook_yes" value="1" <?php echo ($option_row->popup_enable_facebook) ? 'checked' : ''; ?> /><label for="popup_facebook_yes">Yes</label>
566
+ <input disabled="disabled" type="radio" name="popup_enable_facebook" id="popup_facebook_no" value="0" <?php echo ($option_row->popup_enable_facebook) ? '' : 'checked'; ?> /><label for="popup_facebook_no">No</label>
567
+ </td>
568
+ </tr>
569
+ <tr id="tr_popup_enable_twitter">
570
+ <td title="Enable Twitter share button for images<br /><br />This option is disabled in free version." class="spider_label spider_free_version_label"><label>Enable Twitter button: </label></td>
571
+ <td>
572
+ <input disabled="disabled" type="radio" name="popup_enable_twitter" id="popup_twitter_yes" value="1" <?php echo ($option_row->popup_enable_twitter) ? 'checked' : ''; ?> /><label for="popup_twitter_yes">Yes</label>
573
+ <input disabled="disabled" type="radio" name="popup_enable_twitter" id="popup_twitter_no" value="0" <?php echo ($option_row->popup_enable_twitter) ? '' : 'checked'; ?> /><label for="popup_twitter_no">No</label>
574
+ </td>
575
+ </tr>
576
+ <tr id="tr_popup_enable_google">
577
+ <td title="Enable Google+ share button for images<br /><br />This option is disabled in free version." class="spider_label spider_free_version_label"><label>Enable Google+ button: </label></td>
578
+ <td>
579
+ <input disabled="disabled" type="radio" name="popup_enable_google" id="popup_google_yes" value="1" <?php echo ($option_row->popup_enable_google) ? 'checked' : ''; ?> /><label for="popup_google_yes">Yes</label>
580
+ <input disabled="disabled" type="radio" name="popup_enable_google" id="popup_google_no" value="0" <?php echo ($option_row->popup_enable_google) ? '' : 'checked'; ?> /><label for="popup_google_no">No</label>
581
+ </td>
582
+ </tr>
583
+ </tbody>
584
+ </table>
585
+ </div>
586
+ <div class="bwg_short_div">
587
+ <table>
588
+ <tbody>
589
+ <tr id="tr_watermark_type">
590
+ <td class="spider_label"><label>Advertisement Type: </label></td>
591
+ <td>
592
+ <input type="radio" name="watermark_type" id="watermark_type_none" value="none" onClick="bwg_watermark('watermark_type_none')" <?php echo ($option_row->watermark_type == 'none') ? 'checked' : ''; ?> /><label for="watermark_type_none">None</label>
593
+ <input type="radio" name="watermark_type" id="watermark_type_text" value="text" onClick="bwg_watermark('watermark_type_text')" <?php echo ($option_row->watermark_type == 'text') ? 'checked' : ''; ?> /><label for="watermark_type_text">Text</label>
594
+ <input type="radio" name="watermark_type" id="watermark_type_image" value="image" onClick="bwg_watermark('watermark_type_image')" <?php echo ($option_row->watermark_type == 'image') ? 'checked' : ''; ?> /><label for="watermark_type_image">Image</label>
595
+ </td>
596
+ </tr>
597
+ <tr id="tr_watermark_link">
598
+ <td title="Enter absolute url, e.g. http://www.example.com" class="spider_label">
599
+ <label for="watermark_link">Advertisement link: </label>
600
+ </td>
601
+ <td>
602
+ <input type="text" id="watermark_link" name="watermark_link" value="<?php echo $option_row->watermark_link; ?>" style="display:inline-block;" />
603
+ </td>
604
+ </tr>
605
+ <tr id="tr_watermark_url">
606
+ <td title="Enter absolute image file url or add file from Options page." class="spider_label">
607
+ <label for="watermark_url">Advertisement url: </label>
608
+ </td>
609
+ <td>
610
+ <input type="text" id="watermark_url" name="watermark_url" value="<?php echo $option_row->watermark_url; ?>" style="display:inline-block;" />
611
+ </td>
612
+ </tr>
613
+ <tr id="tr_watermark_width_height">
614
+ <td title="Maximum values for watermark image width and height." class="spider_label"><label for="watermark_width">Advertisement dimensions: </label></td>
615
+ <td>
616
+ <input type="text" name="watermark_width" id="watermark_width" value="<?php echo $option_row->watermark_width; ?>" class="spider_int_input" /> x
617
+ <input type="text" name="watermark_height" id="watermark_height" value="<?php echo $option_row->watermark_height; ?>" class="spider_int_input" /> px
618
+ </td>
619
+ </tr>
620
+ <tr id="tr_watermark_text">
621
+ <td class="spider_label"><label for="watermark_text">Advertisement text: </label></td>
622
+ <td>
623
+ <input type="text" name="watermark_text" id="watermark_text" value="<?php echo $option_row->watermark_text; ?>" />
624
+ </td>
625
+ </tr>
626
+ <tr id="tr_watermark_font_size">
627
+ <td class="spider_label"><label for="watermark_font_size">Advertisement font size: </label></td>
628
+ <td>
629
+ <input type="text" name="watermark_font_size" id="watermark_font_size" value="<?php echo $option_row->watermark_font_size; ?>" class="spider_int_input" /> px
630
+ </td>
631
+ </tr>
632
+ <tr id="tr_watermark_font">
633
+ <td class="spider_label"><label for="watermark_font">Advertisement font style: </label></td>
634
+ <td>
635
+ <select name="watermark_font" id="watermark_font" style="width:150px;">
636
+ <?php
637
+ foreach ($watermark_fonts as $watermark_font) {
638
+ ?>
639
+ <option value="<?php echo $watermark_font; ?>" <?php echo ($option_row->watermark_font == $watermark_font) ? 'selected' : ''; ?>><?php echo $watermark_font; ?></option>
640
+ <?php
641
+ }
642
+ ?>
643
+ </select>
644
+ </td>
645
+ </tr>
646
+ <tr id="tr_watermark_color">
647
+ <td class="spider_label"><label for="watermark_color">Advertisement color: </label></td>
648
+ <td>
649
+ <input type="text" name="watermark_color" id="watermark_color" value="<?php echo $option_row->watermark_color; ?>" class="color" />
650
+ </td>
651
+ </tr>
652
+ <tr id="tr_watermark_opacity">
653
+ <td title="Value must be between 0 to 100." class="spider_label"><label for="watermark_opacity">Advertisement opacity: </label></td>
654
+ <td>
655
+ <input type="text" name="watermark_opacity" id="watermark_opacity" value="<?php echo $option_row->watermark_opacity; ?>" class="spider_int_input" /> %
656
+ </td>
657
+ </tr>
658
+ <tr id="tr_watermark_position">
659
+ <td class="spider_label"><label>Advertisement Position: </label></td>
660
+ <td>
661
+ <table class="bws_position_table">
662
+ <tbody>
663
+ <tr>
664
+ <td><input type="radio" value="top-left" id="watermark_top-left" name="watermark_position" <?php echo ($option_row->watermark_position == 'top-left') ? 'checked' : ''; ?>></td>
665
+ <td><input type="radio" value="top-center" id="watermark_top-center" name="watermark_position" <?php echo ($option_row->watermark_position == 'top-center') ? 'checked' : ''; ?>></td>
666
+ <td><input type="radio" value="top-right" id="watermark_top-right" name="watermark_position" <?php echo ($option_row->watermark_position == 'top-right') ? 'checked' : ''; ?>></td>
667
+ </tr>
668
+ <tr>
669
+ <td><input type="radio" value="middle-left" id="watermark_middle-left" name="watermark_position" <?php echo ($option_row->watermark_position == 'middle-left') ? 'checked' : ''; ?>></td>
670
+ <td><input type="radio" value="middle-center" id="watermark_middle-center" name="watermark_position" <?php echo ($option_row->watermark_position == 'middle-center') ? 'checked' : ''; ?>></td>
671
+ <td><input type="radio" value="middle-right" id="watermark_middle-right" name="watermark_position" <?php echo ($option_row->watermark_position == 'middle-right') ? 'checked' : ''; ?>></td>
672
+ </tr>
673
+ <tr>
674
+ <td><input type="radio" value="bottom-left" id="watermark_bottom-left" name="watermark_position" <?php echo ($option_row->watermark_position == 'bottom-left') ? 'checked' : ''; ?>></td>
675
+ <td><input type="radio" value="bottom-center" id="watermark_bottom-center" name="watermark_position" <?php echo ($option_row->watermark_position == 'bottom-center') ? 'checked' : ''; ?>></td>
676
+ <td><input type="radio" value="bottom-right" id="watermark_bottom-right" name="watermark_position" <?php echo ($option_row->watermark_position == 'bottom-right') ? 'checked' : ''; ?>></td>
677
+ </tr>
678
+ </tbody>
679
+ </table>
680
+ </td>
681
+ </tr>
682
+ </tbody>
683
+ </table>
684
+ </div>
685
+ </div>
686
+ </div>
687
+ <div class="mceActionPanel">
688
+ <div style="float:left;">
689
+ <input type="button" id="cancel" name="cancel" value="Cancel" onClick="tinyMCEPopup.close();"/>
690
+ </div>
691
+ <div style="float:right;">
692
+ <input type="submit" id="insert" name="insert" value="Insert" onClick="bwg_insert_shortcode();"/>
693
+ </div>
694
+ </div>
695
+ </form>
696
+ <script>window.onload = bwg_shortcode_load;</script>
697
+ <script type="text/javascript">
698
+ var content = tinyMCE.activeEditor.selection.getContent();
699
+ var short_code = get_params("Best_Wordpress_Gallery");
700
+ if (!short_code) { // Insert.
701
+ jQuery('#insert').val('Insert');
702
+ bwg_gallery_type('thumbnails');
703
+ }
704
+ else { // Update.
705
+ jQuery('#insert').val('Update');
706
+ jQuery('#insert').attr('onclick', "bwg_insert_shortcode(content)");
707
+ jQuery("select[id=theme] option[value='" + short_code['theme_id'] + "']").attr('selected', 'selected');
708
+ switch (short_code['gallery_type']) {
709
+ case 'thumbnails': {
710
+ jQuery("select[id=gallery] option[value='" + short_code['gallery_id'] + "']").attr('selected', 'selected');
711
+ jQuery("select[id=sort_by] option[value='" + short_code['sort_by'] + "']").attr('selected', 'selected');
712
+ jQuery("#image_column_number").val(short_code['image_column_number']);
713
+ jQuery("#images_per_page").val(short_code['images_per_page']);
714
+ if (short_code['image_enable_page'] == 1) {
715
+ jQuery("#image_page_yes").attr('checked', 'checked');
716
+ }
717
+ else {
718
+ jQuery("#image_page_no").attr('checked', 'checked');
719
+ }
720
+ jQuery("#thumb_width").val(short_code['thumb_width']);
721
+ jQuery("#thumb_height").val(short_code['thumb_height']);
722
+ break;
723
+
724
+ }
725
+ case 'slideshow': {
726
+ jQuery("select[id=gallery] option[value='" + short_code['gallery_id'] + "']").attr('selected', 'selected');
727
+ jQuery("select[id=sort_by] option[value='" + short_code['sort_by'] + "']").attr('selected', 'selected');
728
+ jQuery("select[id=slideshow_effect] option[value='" + short_code['slideshow_effect'] + "']").attr('selected', 'selected');
729
+ jQuery("#slideshow_interval").val(short_code['slideshow_interval']);
730
+ jQuery("#slideshow_width").val(short_code['slideshow_width']);
731
+ jQuery("#slideshow_height").val(short_code['slideshow_height']);
732
+ if (short_code['enable_slideshow_autoplay'] == 1) {
733
+ jQuery("#slideshow_autoplay_yes").attr('checked', 'checked');
734
+ }
735
+ else {
736
+ jQuery("#slideshow_autoplay_no").attr('checked', 'checked');
737
+ }
738
+ if (short_code['enable_slideshow_shuffle'] == 1) {
739
+ jQuery("#slideshow_shuffle_yes").attr('checked', 'checked');
740
+ }
741
+ else {
742
+ jQuery("#slideshow_shuffle_no").attr('checked', 'checked');
743
+ }
744
+ if (short_code['enable_slideshow_ctrl'] == 1) {
745
+ jQuery("#slideshow_ctrl_yes").attr('checked', 'checked');
746
+ }
747
+ else {
748
+ jQuery("#slideshow_ctrl_no").attr('checked', 'checked');
749
+ }
750
+ if (short_code['enable_slideshow_filmstrip'] == 1) {
751
+ jQuery("#slideshow_filmstrip_yes").attr('checked', 'checked');
752
+ jQuery("#slideshow_filmstrip_height").val(short_code['slideshow_filmstrip_height']);
753
+ bwg_enable_disable('', 'tr_slideshow_filmstrip_height', 'slideshow_filmstrip_yes');
754
+ }
755
+ else {
756
+ jQuery("#slideshow_filmstrip_no").attr('checked', 'checked');
757
+ }
758
+ if (short_code['slideshow_enable_title'] == 1) {
759
+ jQuery("#slideshow_title_yes").attr('checked', 'checked');
760
+ jQuery("#slideshow_title_" + short_code['slideshow_title_position']).attr('checked', 'checked');
761
+ bwg_enable_disable('', 'tr_slideshow_title_position', 'slideshow_title_yes');
762
+ }
763
+ else {
764
+ jQuery("#slideshow_title_no").attr('checked', 'checked');
765
+ }
766
+ if (short_code['slideshow_enable_description'] == 1) {
767
+ jQuery("#slideshow_description_yes").attr('checked', 'checked');
768
+ jQuery("#slideshow_description_" + short_code['slideshow_description_position']).attr('checked', 'checked');
769
+ bwg_enable_disable('', 'tr_slideshow_description_position', 'slideshow_description_yes');
770
+ }
771
+ else {
772
+ jQuery("#slideshow_description_no").attr('checked', 'checked');
773
+ }
774
+ if (short_code['enable_slideshow_music'] == 1) {
775
+ jQuery("#slideshow_music_yes").attr('checked', 'checked');
776
+ jQuery("#slideshow_music_url").val(short_code['slideshow_music_url']);
777
+ bwg_enable_disable('', 'tr_slideshow_music_url', 'slideshow_music_yes');
778
+ }
779
+ else {
780
+ jQuery("#slideshow_music_no").attr('checked', 'checked');
781
+ }
782
+ break;
783
+
784
+ }
785
+ case 'image_browser': {
786
+ jQuery("select[id=gallery] option[value='" + short_code['gallery_id'] + "']").attr('selected', 'selected');
787
+ jQuery("select[id=sort_by] option[value='" + short_code['sort_by'] + "']").attr('selected', 'selected');
788
+ jQuery("#image_browser_width").val(short_code['image_browser_width']);
789
+ if (short_code['image_browser_title_enable'] == 1) {
790
+ jQuery("#image_browser_title_yes").attr('checked', 'checked');
791
+ }
792
+ else {
793
+ jQuery("#image_browser_title_no").attr('checked', 'checked');
794
+ }
795
+ if (short_code['image_browser_description_enable'] == 1) {
796
+ jQuery("#image_browser_description_yes").attr('checked', 'checked');
797
+ }
798
+ else {
799
+ jQuery("#image_browser_description_no").attr('checked', 'checked');
800
+ }
801
+ break;
802
+
803
+ }
804
+ case 'album_compact_preview': {
805
+ jQuery("select[id=album] option[value='" + short_code['album_id'] + "']").attr('selected', 'selected');
806
+ jQuery("select[id=sort_by] option[value='" + short_code['sort_by'] + "']").attr('selected', 'selected');
807
+ jQuery("#compuct_album_column_number").val(short_code['compuct_album_column_number']);
808
+ jQuery("#compuct_albums_per_page").val(short_code['compuct_albums_per_page']);
809
+ jQuery("#compuct_album_title_" + short_code['compuct_album_title']).attr('checked', 'checked');
810
+ jQuery("#compuct_album_thumb_width").val(short_code['compuct_album_thumb_width']);
811
+ jQuery("#compuct_album_thumb_height").val(short_code['compuct_album_thumb_height']);
812
+ jQuery("#compuct_album_image_column_number").val(short_code['compuct_album_image_column_number']);
813
+ jQuery("#compuct_album_images_per_page").val(short_code['compuct_album_images_per_page']);
814
+ jQuery("#compuct_album_image_thumb_width").val(short_code['compuct_album_image_thumb_width']);
815
+ jQuery("#compuct_album_image_thumb_height").val(short_code['compuct_album_image_thumb_height']);
816
+ if (short_code['compuct_album_enable_page'] == 1) {
817
+ jQuery("#compuct_album_page_yes").attr('checked', 'checked');
818
+ }
819
+ else {
820
+ jQuery("#compuct_album_page_no").attr('checked', 'checked');
821
+ }
822
+ break;
823
+
824
+ }
825
+ case 'album_extended_preview': {
826
+ jQuery("select[id=album] option[value='" + short_code['album_id'] + "']").attr('selected', 'selected');
827
+ jQuery("select[id=sort_by] option[value='" + short_code['sort_by'] + "']").attr('selected', 'selected');
828
+ jQuery("#extended_albums_per_page").val(short_code['extended_albums_per_page']);
829
+ jQuery("#extended_album_height").val(short_code['extended_album_height']);
830
+ if (short_code['extended_album_description_enable'] == 1) {
831
+ jQuery("#extended_album_description_yes").attr('checked', 'checked');
832
+ }
833
+ else {
834
+ jQuery("#extended_album_description_no").attr('checked', 'checked');
835
+ }
836
+ jQuery("#extended_album_thumb_width").val(short_code['extended_album_thumb_width']);
837
+ jQuery("#extended_album_thumb_height").val(short_code['extended_album_thumb_height']);
838
+ jQuery("#extended_album_image_column_number").val(short_code['extended_album_image_column_number']);
839
+ jQuery("#extended_album_images_per_page").val(short_code['extended_album_images_per_page']);
840
+ jQuery("#extended_album_image_thumb_width").val(short_code['extended_album_image_thumb_width']);
841
+ jQuery("#extended_album_image_thumb_height").val(short_code['extended_album_image_thumb_height']);
842
+ if (short_code['extended_album_enable_page'] == 1) {
843
+ jQuery("#extended_album_page_yes").attr('checked', 'checked');
844
+ }
845
+ else {
846
+ jQuery("#extended_album_page_no").attr('checked', 'checked');
847
+ }
848
+ break;
849
+
850
+ }
851
+ }
852
+ // Lightbox.
853
+ if (short_code['gallery_type'] != 'slideshow') {
854
+ jQuery("#popup_width").val(short_code['popup_width']);
855
+ jQuery("#popup_height").val(short_code['popup_height']);
856
+ jQuery("select[id=popup_effect] option[value='" + short_code['popup_effect'] + "']").attr('selected', 'selected');
857
+ jQuery("#popup_interval").val(short_code['popup_interval']);
858
+ if (short_code['popup_enable_filmstrip'] == 1) {
859
+ jQuery("#popup_filmstrip_yes").attr('checked', 'checked');
860
+ jQuery("#popup_filmstrip_height").val(short_code['popup_filmstrip_height']);
861
+ bwg_enable_disable('', 'tr_popup_filmstrip_height', 'popup_filmstrip_yes');
862
+ }
863
+ else {
864
+ jQuery("#popup_filmstrip_no").attr('checked', 'checked');
865
+ }
866
+ if (short_code['popup_enable_ctrl_btn'] == 1) {
867
+ jQuery("#popup_ctrl_btn_yes").attr('checked', 'checked');
868
+ bwg_enable_disable('', 'tbody_popup_ctrl_btn', 'popup_ctrl_btn_yes');
869
+ if (short_code['popup_enable_fullscreen'] == 1) {
870
+ jQuery("#popup_fullscreen_yes").attr('checked', 'checked');
871
+ }
872
+ else {
873
+ jQuery("#popup_fullscreen_no").attr('checked', 'checked');
874
+ }
875
+ if (short_code['popup_enable_comment'] == 1) {
876
+ jQuery("#popup_comment_yes").attr('checked', 'checked');
877
+ }
878
+ else {
879
+ jQuery("#popup_comment_no").attr('checked', 'checked');
880
+ }
881
+ if (short_code['popup_enable_facebook'] == 1) {
882
+ jQuery("#popup_facebook_yes").attr('checked', 'checked');
883
+ }
884
+ else {
885
+ jQuery("#popup_facebook_no").attr('checked', 'checked');
886
+ }
887
+ if (short_code['popup_enable_twitter'] == 1) {
888
+ jQuery("#popup_twitter_yes").attr('checked', 'checked');
889
+ }
890
+ else {
891
+ jQuery("#popup_twitter_no").attr('checked', 'checked');
892
+ }
893
+ if (short_code['popup_enable_google'] == 1) {
894
+ jQuery("#popup_google_yes").attr('checked', 'checked');
895
+ }
896
+ else {
897
+ jQuery("#popup_google_no").attr('checked', 'checked');
898
+ }
899
+ }
900
+ else {
901
+ jQuery("#popup_ctrl_btn_no").attr('checked', 'checked');
902
+ }
903
+ }
904
+ // Watermark.
905
+ if (short_code['watermark_type'] == 'text') {
906
+ jQuery("#watermark_type_text").attr('checked', 'checked');
907
+ jQuery("#watermark_link").val(short_code['watermark_link']);
908
+ jQuery("#watermark_text").val(short_code['watermark_text']);
909
+ jQuery("#watermark_font_size").val(short_code['watermark_font_size']);
910
+ jQuery("select[id=watermark_font] option[value='" + short_code['watermark_font'] + "']").attr('selected', 'selected');
911
+ jQuery("#watermark_color").val(short_code['watermark_color']);
912
+ jQuery("#watermark_opacity").val(short_code['watermark_opacity']);
913
+ jQuery("#watermark_type_text").attr('checked', 'checked');
914
+ jQuery("#watermark_" + short_code['watermark_position']).attr('checked', 'checked');
915
+ }
916
+ else if (short_code['watermark_type'] == 'image') {
917
+ jQuery("#watermark_type_image").attr('checked', 'checked');
918
+ jQuery("#watermark_link").val(short_code['watermark_link']);
919
+ jQuery("#watermark_url").val(short_code['watermark_url']);
920
+ jQuery("#watermark_width").val(short_code['watermark_width']);
921
+ jQuery("#watermark_height").val(short_code['watermark_height']);
922
+ jQuery("#watermark_opacity").val(short_code['watermark_opacity']);
923
+ jQuery("#watermark_type_image").attr('checked', 'checked');
924
+ jQuery("#watermark_" + short_code['watermark_position']).attr('checked', 'checked');
925
+ }
926
+ else {
927
+ jQuery("#watermark_type_none").attr('checked', 'checked');
928
+
929
+ }
930
+ bwg_watermark('watermark_type_' + short_code['watermark_type']);
931
+ bwg_gallery_type(short_code['gallery_type']);
932
+ }
933
+ // Get shortcodes attributes.
934
+ function get_params(module_name) {
935
+ var selected_text = tinyMCE.activeEditor.selection.getContent();
936
+ var module_start_index = selected_text.indexOf("[" + module_name);
937
+ var module_end_index = selected_text.indexOf("]", module_start_index);
938
+ var module_str = "";
939
+ if ((module_start_index >= 0) && (module_end_index >= 0)) {
940
+ module_str = selected_text.substring(module_start_index + 1, module_end_index);
941
+ }
942
+ else {
943
+ return false;
944
+ }
945
+ var params_str = module_str.substring(module_str.indexOf(" ") + 1);
946
+ var key_values = params_str.split('" ');
947
+ var short_code_attr = new Array();
948
+ for (var key in key_values) {
949
+ var short_code_index = key_values[key].split('=')[0];
950
+ var short_code_value = key_values[key].split('=')[1];
951
+ short_code_value = short_code_value.replace(/\"/g, '');
952
+ short_code_attr[short_code_index] = short_code_value;
953
+ }
954
+ return short_code_attr;
955
+ }
956
+ function bwg_insert_shortcode(content) {
957
+ var gallery_type = jQuery("input[name=gallery_type]:checked").val();
958
+ var theme = jQuery("#theme").val();
959
+ var short_code = '[Best_Wordpress_Gallery';
960
+ var tagtext = ' gallery_type="' + gallery_type + '" theme_id="' + theme + '"';
961
+ switch (gallery_type) {
962
+ case 'thumbnails': {
963
+ tagtext += ' gallery_id="' + jQuery("#gallery").val() + '"';
964
+ tagtext += ' sort_by="' + jQuery("#sort_by").val() + '"';
965
+ tagtext += ' image_column_number="' + jQuery("#image_column_number").val() + '"';
966
+ tagtext += ' images_per_page="' + jQuery("#images_per_page").val() + '"';
967
+ tagtext += ' image_enable_page="' + jQuery("input[name=image_enable_page]:checked").val() + '"';
968
+ tagtext += ' thumb_width="' + jQuery("#thumb_width").val() + '"';
969
+ tagtext += ' thumb_height="' + jQuery("#thumb_height").val() + '"';
970
+ break;
971
+
972
+ }
973
+ case 'slideshow': {
974
+ tagtext += ' gallery_id="' + jQuery("#gallery").val() + '"';
975
+ tagtext += ' sort_by="' + jQuery("#sort_by").val() + '"';
976
+ tagtext += ' slideshow_effect="' + jQuery("#slideshow_effect").val() + '"';
977
+ tagtext += ' slideshow_interval="' + jQuery("#slideshow_interval").val() + '"';
978
+ tagtext += ' slideshow_width="' + jQuery("#slideshow_width").val() + '"';
979
+ tagtext += ' slideshow_height="' + jQuery("#slideshow_height").val() + '"';
980
+ tagtext += ' enable_slideshow_autoplay="' + jQuery("input[name=enable_slideshow_autoplay]:checked").val() + '"';
981
+ tagtext += ' enable_slideshow_shuffle="' + jQuery("input[name=enable_slideshow_shuffle]:checked").val() + '"';
982
+ tagtext += ' enable_slideshow_ctrl="' + jQuery("input[name=enable_slideshow_ctrl]:checked").val() + '"';
983
+ tagtext += ' enable_slideshow_filmstrip="' + jQuery("input[name=enable_slideshow_filmstrip]:checked").val() + '"';
984
+ tagtext += ' slideshow_filmstrip_height="' + jQuery("#slideshow_filmstrip_height").val() + '"';
985
+ tagtext += ' slideshow_enable_title="' + jQuery("input[name=slideshow_enable_title]:checked").val() + '"';
986
+ tagtext += ' slideshow_title_position="' + jQuery("input[name=slideshow_title_position]:checked").val() + '"';
987
+ tagtext += ' slideshow_enable_description="' + jQuery("input[name=slideshow_enable_description]:checked").val() + '"';
988
+ tagtext += ' slideshow_description_position="' + jQuery("input[name=slideshow_description_position]:checked").val() + '"';
989
+ tagtext += ' enable_slideshow_music="' + jQuery("input[name=enable_slideshow_music]:checked").val() + '"';
990
+ tagtext += ' slideshow_music_url="' + jQuery("#slideshow_music_url").val() + '"';
991
+ break;
992
+
993
+ }
994
+ case 'image_browser': {
995
+ tagtext += ' gallery_id="' + jQuery("#gallery").val() + '"';
996
+ tagtext += ' sort_by="' + jQuery("#sort_by").val() + '"';
997
+ tagtext += ' image_browser_width="' + jQuery("#image_browser_width").val() + '"';
998
+ tagtext += ' image_browser_title_enable="' + jQuery("input[name=image_browser_title_enable]:checked").val() + '"';
999
+ tagtext += ' image_browser_description_enable="' + jQuery("input[name=image_browser_description_enable]:checked").val() + '"';
1000
+ break;
1001
+
1002
+ }
1003
+ case 'album_compact_preview': {
1004
+ tagtext += ' album_id="' + jQuery("#album").val() + '"';
1005
+ tagtext += ' sort_by="order"';
1006
+ tagtext += ' compuct_album_column_number="' + jQuery("#compuct_album_column_number").val() + '"';
1007
+ tagtext += ' compuct_albums_per_page="' + jQuery("#compuct_albums_per_page").val() + '"';
1008
+ tagtext += ' compuct_album_title="' + jQuery("input[name=compuct_album_title]:checked").val() + '"';
1009
+ tagtext += ' compuct_album_thumb_width="' + jQuery("#compuct_album_thumb_width").val() + '"';
1010
+ tagtext += ' compuct_album_thumb_height="' + jQuery("#compuct_album_thumb_height").val() + '"';
1011
+ tagtext += ' compuct_album_image_column_number="' + jQuery("#compuct_album_image_column_number").val() + '"';
1012
+ tagtext += ' compuct_album_images_per_page="' + jQuery("#compuct_album_images_per_page").val() + '"';
1013
+ tagtext += ' compuct_album_image_thumb_width="' + jQuery("#compuct_album_image_thumb_width").val() + '"';
1014
+ tagtext += ' compuct_album_image_thumb_height="' + jQuery("#compuct_album_image_thumb_height").val() + '"';
1015
+ tagtext += ' compuct_album_enable_page="' + jQuery("input[name=compuct_album_enable_page]:checked").val() + '"';
1016
+ break;
1017
+
1018
+ }
1019
+ case 'album_extended_preview': {
1020
+ tagtext += ' album_id="' + jQuery("#album").val() + '"';
1021
+ tagtext += ' sort_by="order"';
1022
+ tagtext += ' extended_albums_per_page="' + jQuery("#extended_albums_per_page").val() + '"';
1023
+ tagtext += ' extended_album_height="' + jQuery("#extended_album_height").val() + '"';
1024
+ tagtext += ' extended_album_description_enable="' + jQuery("input[name=extended_album_description_enable]:checked").val() + '"';
1025
+ tagtext += ' extended_album_thumb_width="' + jQuery("#extended_album_thumb_width").val() + '"';
1026
+ tagtext += ' extended_album_thumb_height="' + jQuery("#extended_album_thumb_height").val() + '"';
1027
+ tagtext += ' extended_album_image_column_number="' + jQuery("#extended_album_image_column_number").val() + '"';
1028
+ tagtext += ' extended_album_images_per_page="' + jQuery("#extended_album_images_per_page").val() + '"';
1029
+ tagtext += ' extended_album_image_thumb_width="' + jQuery("#extended_album_image_thumb_width").val() + '"';
1030
+ tagtext += ' extended_album_image_thumb_height="' + jQuery("#extended_album_image_thumb_height").val() + '"';
1031
+ tagtext += ' extended_album_enable_page="' + jQuery("input[name=extended_album_enable_page]:checked").val() + '"';
1032
+ break;
1033
+
1034
+ }
1035
+ }
1036
+ // Lightbox paramteres.
1037
+ if (gallery_type != 'slideshow') {
1038
+ tagtext += ' popup_width="' + jQuery("#popup_width").val() + '"';
1039
+ tagtext += ' popup_height="' + jQuery("#popup_height").val() + '"';
1040
+ tagtext += ' popup_effect="' + jQuery("#popup_effect").val() + '"';
1041
+ tagtext += ' popup_interval="' + jQuery("#popup_interval").val() + '"';
1042
+ tagtext += ' popup_enable_filmstrip="' + jQuery("input[name=popup_enable_filmstrip]:checked").val() + '"';
1043
+ tagtext += ' popup_filmstrip_height="' + jQuery("#popup_filmstrip_height").val() + '"';
1044
+ tagtext += ' popup_enable_ctrl_btn="' + jQuery("input[name=popup_enable_ctrl_btn]:checked").val() + '"';
1045
+ tagtext += ' popup_enable_fullscreen="' + jQuery("input[name=popup_enable_fullscreen]:checked").val() + '"';
1046
+ tagtext += ' popup_enable_comment="' + jQuery("input[name=popup_enable_comment]:checked").val() + '"';
1047
+ tagtext += ' popup_enable_facebook="' + jQuery("input[name=popup_enable_facebook]:checked").val() + '"';
1048
+ tagtext += ' popup_enable_twitter="' + jQuery("input[name=popup_enable_twitter]:checked").val() + '"';
1049
+ tagtext += ' popup_enable_google="' + jQuery("input[name=popup_enable_google]:checked").val() + '"';
1050
+ }
1051
+ // Watermark parameters.
1052
+ tagtext += ' watermark_type="' + jQuery("input[name=watermark_type]:checked").val() + '"';
1053
+ tagtext += ' watermark_link="' + jQuery("#watermark_link").val() + '"';
1054
+ if (jQuery("input[name=watermark_type]:checked").val() == 'text') {
1055
+ tagtext += ' watermark_text="' + jQuery("#watermark_text").val() + '"';
1056
+ tagtext += ' watermark_font_size="' + jQuery("#watermark_font_size").val() + '"';
1057
+ tagtext += ' watermark_font="' + jQuery("#watermark_font").val() + '"';
1058
+ tagtext += ' watermark_color="' + jQuery("#watermark_color").val() + '"';
1059
+ tagtext += ' watermark_opacity="' + jQuery("#watermark_opacity").val() + '"';
1060
+ tagtext += ' watermark_position="' + jQuery("input[name=watermark_position]:checked").val() + '"';
1061
+ }
1062
+ else if (jQuery("input[name=watermark_type]:checked").val() == 'image') {
1063
+ tagtext += ' watermark_url="' + jQuery("#watermark_url").val() + '"';
1064
+ tagtext += ' watermark_width="' + jQuery("#watermark_width").val() + '"';
1065
+ tagtext += ' watermark_height="' + jQuery("#watermark_height").val() + '"';
1066
+ tagtext += ' watermark_opacity="' + jQuery("#watermark_opacity").val() + '"';
1067
+ tagtext += ' watermark_position="' + jQuery("input[name=watermark_position]:checked").val() + '"';
1068
+ }
1069
+ short_code += tagtext + ']';
1070
+ short_code = short_code.replace(/\[Best_Wordpress_Gallery([^\]]*)\]/g, function(d, c) {
1071
+ return "<img src='<?php echo WD_BWG_URL; ?>/images/bwg_shortcode.png' class='bwg_shortcode mceItem' title='Best_Wordpress_Gallery" + tagtext + "' />";
1072
+ });
1073
+
1074
+ if (window.tinymce.isIE && content) {
1075
+ // IE and Update.
1076
+ var all_content = tinyMCE.activeEditor.getContent();
1077
+ console.dir(all_content);
1078
+ all_content = all_content.replace('<p></p><p>[Best_Wordpress_Gallery', '<p>[Best_Wordpress_Gallery');
1079
+ tinyMCE.activeEditor.setContent(all_content.replace(content, "[Best_Wordpress_Gallery" + tagtext + "]"));
1080
+ }
1081
+ else {
1082
+ window.tinyMCE.execInstanceCommand('content', 'mceInsertContent', false, short_code);
1083
+ // window.tinyMCE.activeEditor.dom.setAttrib(window.tinyMCE.activeEditor.selection.getNode(), "title", "Best_Wordpress_Gallery" + tagtext);
1084
+ }
1085
+ tinyMCEPopup.editor.execCommand('mceRepaint');
1086
+ tinyMCEPopup.close();
1087
+ }
1088
+ </script>
1089
+ </body>
1090
+ </html>
1091
+ <?php
1092
+ die();
1093
+ }
1094
+
1095
+ ////////////////////////////////////////////////////////////////////////////////////////
1096
+ // Getters & Setters //
1097
+ ////////////////////////////////////////////////////////////////////////////////////////
1098
+ ////////////////////////////////////////////////////////////////////////////////////////
1099
+ // Private Methods //
1100
+ ////////////////////////////////////////////////////////////////////////////////////////
1101
+ ////////////////////////////////////////////////////////////////////////////////////////
1102
+ // Listeners //
1103
+ ////////////////////////////////////////////////////////////////////////////////////////
1104
+ }
admin/views/BWGViewEditThumb.php ADDED
@@ -0,0 +1,537 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGViewEditThumb {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $model;
14
+
15
+
16
+ ////////////////////////////////////////////////////////////////////////////////////////
17
+ // Constructor & Destructor //
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ public function __construct($model) {
20
+ $this->model = $model;
21
+ }
22
+ ////////////////////////////////////////////////////////////////////////////////////////
23
+ // Public Methods //
24
+ ////////////////////////////////////////////////////////////////////////////////////////
25
+ public function display() {
26
+ global $WD_BWG_UPLOAD_DIR;
27
+ $popup_width = ((int) (isset($_GET['width']) ? esc_html($_GET['width']) : '800')) - 30;
28
+ $image_width = $popup_width - 40;
29
+ $popup_height = ((int) (isset($_GET['height']) ? esc_html($_GET['height']) : '500')) - 50;
30
+ $image_height = $popup_height - 40;
31
+ $image_id = (isset($_GET['image_id']) ? esc_html($_GET['image_id']) : '0');
32
+ ?>
33
+ <div style="display:table; width:100%; height:<?php echo $popup_height; ?>px;">
34
+ <div style="display:table-cell; text-align:center; vertical-align:middle;">
35
+ <img id="image_display" src="" style="max-width:<?php echo $image_width; ?>px; max-height:<?php echo $image_height; ?>px;"/>
36
+ </div>
37
+ </div>
38
+ <script>
39
+ var image_url = "<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR; ?>" + window.parent.document.getElementById("image_url_<?php echo $image_id; ?>").value;
40
+ window.document.getElementById("image_display").src = image_url + "?date=<?php echo date('Y-m-y H:i:s'); ?>";
41
+ </script>
42
+ <?php
43
+ die();
44
+ }
45
+
46
+ public function thumb_display() {
47
+ global $WD_BWG_UPLOAD_DIR;
48
+ $popup_width = ((int) (isset($_GET['width']) ? esc_html($_GET['width']) : '800')) - 30;
49
+ $image_width = $popup_width - 40;
50
+ $popup_height = ((int) (isset($_GET['height']) ? esc_html($_GET['height']) : '500')) - 50;
51
+ $image_height = $popup_height - 40;
52
+ $image_id = (isset($_GET['image_id']) ? esc_html($_GET['image_id']) : '0');
53
+ ?>
54
+ <div style="display:table; width:100%; height:<?php echo $popup_height; ?>px;">
55
+ <div style="display:table-cell; text-align:center; vertical-align:middle;">
56
+ <img id="thumb_view" src="" style="max-width:<?php echo $image_width; ?>px; max-height:<?php echo $image_height; ?>px;"/>
57
+ </div>
58
+ </div>
59
+ <script>
60
+ var image_url = "<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR; ?>" + window.parent.document.getElementById("thumb_url_<?php echo $image_id; ?>").value;
61
+ window.document.getElementById("thumb_view").src = image_url + "?date=<?php echo date('Y-m-y H:i:s'); ?>";
62
+ </script>
63
+ <?php
64
+ die();
65
+ }
66
+
67
+ public function crop() {
68
+ global $WD_BWG_UPLOAD_DIR;
69
+ $options = $this->model->get_option_data();
70
+ $thumb_width = $options->thumb_width;
71
+ $thumb_height = $options->thumb_height;
72
+ $popup_width = ((int) (isset($_GET['width']) ? esc_html($_GET['width']) : '800')) - 50;
73
+ $image_width = $popup_width - $thumb_width - 70;
74
+ $popup_height = ((int) (isset($_GET['height']) ? esc_html($_GET['height']) : '500')) - 75;
75
+ $image_height = $popup_height - 70;
76
+ $image_id = (isset($_GET['image_id']) ? esc_html($_GET['image_id']) : '0');
77
+ $edit_type = (isset($_POST['edit_type']) ? esc_html($_POST['edit_type']) : '');
78
+ $x = (isset($_POST['x']) ? (int) $_POST['x'] : 0);
79
+ $y = (isset($_POST['y']) ? (int) $_POST['y'] : 0);
80
+ $w = (isset($_POST['w']) ? (int) $_POST['w'] : 0);
81
+ $h = (isset($_POST['h']) ? (int) $_POST['h'] : 0);
82
+
83
+ if (isset($_GET['image_url'])) {
84
+ $image_data->image_url = (isset($_GET['image_url']) ? esc_html($_GET['image_url']) : '');
85
+ $image_data->thumb_url = (isset($_GET['thumb_url']) ? esc_html($_GET['thumb_url']) : '');
86
+ $filename = ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->image_url;
87
+ $thumb_filename = ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->thumb_url;
88
+ $form_action = add_query_arg(array('action' => 'editThumb', 'type' => 'crop', 'image_id' => $image_id, 'image_url' => $image_data->image_url, 'thumb_url' => $image_data->thumb_url, 'width' => '800', 'height' => '500', 'TB_iframe' => '1'), admin_url('admin-ajax.php'));
89
+ }
90
+ else {
91
+ $image_data = $this->model->get_image_data($image_id);
92
+ $filename = ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->image_url;
93
+ $thumb_filename = ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->thumb_url;
94
+ $form_action = add_query_arg(array('action' => 'editThumb', 'type' => 'crop', 'image_id' => $image_id, 'width' => '800', 'height' => '500', 'TB_iframe' => '1'), admin_url('admin-ajax.php'));
95
+ }
96
+ list($width_orig, $height_orig, $type_orig) = getimagesize($filename);
97
+ if ($edit_type == 'crop') {
98
+ if ($type_orig == 2) {
99
+ $img_r = imagecreatefromjpeg($filename);
100
+ $dst_r = ImageCreateTrueColor($thumb_width, $thumb_height);
101
+ imagecopyresampled($dst_r, $img_r, 0, 0, $x, $y, $thumb_width, $thumb_height, $w, $h);
102
+ imagejpeg($dst_r, $thumb_filename, 100);
103
+ imagedestroy($img_r);
104
+ imagedestroy($dst_r);
105
+ }
106
+ elseif ($type_orig == 3) {
107
+ $img_r = imagecreatefrompng($filename);
108
+ $dst_r = ImageCreateTrueColor($thumb_width, $thumb_height);
109
+ imageColorAllocateAlpha($dst_r, 0, 0, 0, 127);
110
+ imagealphablending($dst_r, FALSE);
111
+ imagesavealpha($dst_r, TRUE);
112
+ imagecopyresampled($dst_r, $img_r, 0, 0, $x, $y, $thumb_width, $thumb_height, $w, $h);
113
+ imagealphablending($dst_r, FALSE);
114
+ imagesavealpha($dst_r, TRUE);
115
+ imagepng($dst_r, $thumb_filename, 9);
116
+ imagedestroy($img_r);
117
+ imagedestroy($dst_r);
118
+ }
119
+ elseif ($type_orig == 1) {
120
+ $img_r = imagecreatefromgif($filename);
121
+ $dst_r = ImageCreateTrueColor($thumb_width, $thumb_height);
122
+ imageColorAllocateAlpha($dst_r, 0, 0, 0, 127);
123
+ imagealphablending($dst_r, FALSE);
124
+ imagesavealpha($dst_r, TRUE);
125
+ imagecopyresampled($dst_r, $img_r, 0, 0, $x, $y, $thumb_width, $thumb_height, $w, $h);
126
+ imagealphablending($dst_r, FALSE);
127
+ imagesavealpha($dst_r, TRUE);
128
+ imagegif($dst_r, $thumb_filename);
129
+ imagedestroy($img_r);
130
+ imagedestroy($dst_r);
131
+ }
132
+ else {
133
+ ?>
134
+ <div class="thumb_message"><strong>You can't crop this type of image.</strong></div>
135
+ <?php
136
+ }
137
+ }
138
+ ?>
139
+ <script language="javascript" type="text/javascript" src="<?php echo get_option("siteurl"); ?>/wp-includes/js/jquery/jquery.js"></script>
140
+ <script src="<?php echo WD_BWG_URL . '/js/Jcrop-1902/js/jquery.Jcrop.min.js'; ?>" type="text/javascript"></script>
141
+ <link rel="stylesheet" href="<?php echo WD_BWG_URL . '/js/Jcrop-1902/css/jquery.Jcrop.css'; ?>" type="text/css" />
142
+ <style>
143
+ body {
144
+ height: <?php echo $popup_height; ?>px;
145
+ }
146
+ .spider_crop {
147
+ background: linear-gradient(to top, #ECECEC, #F9F9F9) repeat scroll 0 0 #F1F1F1;
148
+ cursor: pointer;
149
+ height: 30px;
150
+ padding: 2px;
151
+ -moz-outline-radius: 2px;
152
+ outline: 1px solid #CCCCCC;
153
+ }
154
+ .spider_crop:hover {
155
+ -moz-outline-radius: 2px;
156
+ outline: 1px solid #999999;
157
+ padding: 2px;
158
+ }
159
+ .jcrop-holder {
160
+ margin: 0 auto;
161
+ }
162
+ .thumb_preview {
163
+ height: <?php echo $thumb_height; ?>px;
164
+ margin: 0 auto;
165
+ overflow: hidden;
166
+ width: <?php echo $thumb_width; ?>px;
167
+ }
168
+ #thumb_image_preview {
169
+ display: none;
170
+ }
171
+ .thumb_preview_td {
172
+ background-color: #F5F5F5;
173
+ border-radius: 3px;
174
+ border: 1px solid #CCCCCC;
175
+ }
176
+ .thumb_message {
177
+ -moz-box-sizing: border-box;
178
+ -webkit-box-sizing: border-box;
179
+ background: linear-gradient(to top, #ECECEC, #F9F9F9) repeat scroll 0 0 #F1F1F1;
180
+ background-color: #F5F5F5;
181
+ border: 1px solid #CCCCCC;
182
+ border-radius: 3px 3px 3px 3px;
183
+ box-sizing: border-box;
184
+ color: #333333;
185
+ font-family: sans-serif;
186
+ font-size: 12px;
187
+ margin: 5px auto;
188
+ padding: 8px 5px;
189
+ width: <?php echo $popup_width; ?>;
190
+ }
191
+ #crop_button {
192
+ display: none;
193
+ height: 38px;
194
+ margin-top: 5px;
195
+ text-align: center;
196
+ }
197
+ </style>
198
+ <?php
199
+ if ($edit_type == 'crop') {
200
+ ?><div class="thumb_message" id="croped_message"><strong>The thumbnail successfully croped.</strong></div><?php
201
+ }
202
+ else {
203
+ ?><div class="thumb_message" id="thumb_message"><strong>Select the area for the thumbnail.</strong></div><?php
204
+ }
205
+ ?>
206
+ <form method="post" id="crop_image" action="<?php echo $form_action; ?>" >
207
+ <div style="height:<?php echo $popup_height - 10; ?>px; width:<?php echo $popup_width; ?>; margin: 5px auto;">
208
+ <div id="crop_button">
209
+ <img title="Crop" class="spider_crop" onclick="spider_crop('crop', 'crop_image')" src="<?php echo WD_BWG_URL . '/images/crop.png'; ?>"/>
210
+ </div>
211
+ <table style="height: inherit; top: 45px; position: absolute ;width: inherit; margin: 0 auto;">
212
+ <tr>
213
+ <td class="thumb_preview_td" style="vertical-align: middle; width: <?php echo ($popup_width - $thumb_width) - 40; ?>px;">
214
+ <img id="image_view" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_data->image_url; ?>?date=<?php echo date('Y-m-y H:i:s'); ?>" style="max-width:<?php echo $image_width; ?>px; max-height:<?php echo $image_height; ?>px;" />
215
+ </td>
216
+ <td class="thumb_preview_td" style="width:<?php echo $thumb_width + 20; ?>px;">
217
+ <div class="thumb_preview">
218
+ <img id="thumb_image_preview" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_data->image_url; ?>?date=<?php echo date('Y-m-y H:i:s'); ?>">
219
+ </div>
220
+ </td>
221
+ </tr>
222
+ </table>
223
+ </div>
224
+ <input type="hidden" name="edit_type" id="edit_type" />
225
+ <input id="x" type="hidden" name="x" value="" />
226
+ <input id="y" type="hidden" name="y" value="" />
227
+ <input id="w" type="hidden" name="w" value="" />
228
+ <input id="h" type="hidden" name="h" value="" />
229
+ </form>
230
+ <script language="javascript">
231
+ function spider_crop(type, form_id) {
232
+ document.getElementById("edit_type").value = type;
233
+ document.getElementById(form_id).submit();
234
+ }
235
+ var image_src = window.parent.document.getElementById("image_thumb_<?php echo $image_id; ?>").src;
236
+ window.parent.document.getElementById("image_thumb_<?php echo $image_id; ?>").src = image_src + "?date=<?php echo date('Y-m-y H:i:s'); ?>";
237
+ // jQuery('#image_view').Jcrop();
238
+ jQuery(window).load(function() {
239
+ var ratio = parseInt('<?php echo $width_orig; ?>') / jQuery('#image_view').width();
240
+ var thumb_width = parseInt('<?php echo $options->thumb_width; ?>');
241
+ var thumb_height = parseInt('<?php echo $options->thumb_height; ?>');
242
+ if (<?php echo $w; ?> == 0) {
243
+ jQuery('#image_view').Jcrop({
244
+ onChange: spider_update_thumb,
245
+ onSelect: spider_update_coords,
246
+ // bgColor: 'black',
247
+ bgOpacity: .7,
248
+ aspectRatio: thumb_width / thumb_height
249
+ });
250
+ }
251
+ else {
252
+ jQuery('#image_view').Jcrop({
253
+ onChange: spider_update_thumb,
254
+ onSelect: spider_update_coords,
255
+ // bgColor: 'black',
256
+ bgOpacity: .7,
257
+ setSelect: [ <?php echo $x; ?> / ratio, <?php echo $y; ?> / ratio, <?php echo $x + $w; ?> / ratio, <?php echo $y + $h; ?> / ratio ],
258
+ aspectRatio: thumb_width / thumb_height
259
+ });
260
+ }
261
+ })
262
+ function spider_update_coords(c) {
263
+ var ratio = parseInt('<?php echo $width_orig; ?>') / jQuery('#image_view').width();
264
+ jQuery('#x').val(c.x * ratio);
265
+ jQuery('#y').val(c.y * ratio);
266
+ jQuery('#w').val(c.w * ratio);
267
+ jQuery('#h').val(c.h * ratio);
268
+ jQuery('#crop_button').show();
269
+ jQuery('#thumb_message').hide();
270
+ jQuery('#croped_message').hide();
271
+ jQuery('#thumb_image_preview').show();
272
+ jQuery('.thumb_preview').css("border", "1px solid #CCCCCC");
273
+ }
274
+ function spider_update_thumb(c) {
275
+ jQuery('#crop_button').hide();
276
+ jQuery('#croped_message').show();
277
+ var thumb_width = parseInt('<?php echo $options->thumb_width; ?>');
278
+ var thumb_height = parseInt('<?php echo $options->thumb_height; ?>');
279
+ jQuery('#thumb_image_preview').css("margin-left", -c.x * (thumb_width / c.w) + "px");
280
+ jQuery('#thumb_image_preview').css("margin-top", -c.y * (thumb_height / c.h) + "px");
281
+ jQuery('#thumb_image_preview').css("width", ((thumb_width / c.w) * jQuery('#image_view').width()) + "px");
282
+ jQuery('#thumb_image_preview').css("height", ((thumb_height / c.h) * jQuery('#image_view').height()) + "px");
283
+ }
284
+ </script>
285
+ <?php
286
+ die();
287
+ }
288
+
289
+ public function rotate() {
290
+ global $WD_BWG_UPLOAD_DIR;
291
+ $popup_width = ((int) (isset($_GET['width']) ? esc_html($_GET['width']) : '650')) - 30;
292
+ $image_width = $popup_width - 40;
293
+ $popup_height = ((int) (isset($_GET['height']) ? esc_html($_GET['height']) : '500')) - 55;
294
+ $image_height = $popup_height - 70;
295
+ $image_id = (isset($_GET['image_id']) ? esc_html($_GET['image_id']) : '0');
296
+ $edit_type = (isset($_POST['edit_type']) ? esc_html($_POST['edit_type']) : '');
297
+
298
+ if (isset($_GET['image_url'])) {
299
+ $image_data->image_url = (isset($_GET['image_url']) ? esc_html($_GET['image_url']) : '');
300
+ $image_data->thumb_url = (isset($_GET['thumb_url']) ? esc_html($_GET['thumb_url']) : '');
301
+ $filename = ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->image_url;
302
+ $thumb_filename = ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->thumb_url;
303
+ $form_action = add_query_arg(array('action' => 'editThumb', 'type' => 'rotate', 'image_id' => $image_id, 'image_url' => $image_data->image_url, 'thumb_url' => $image_data->thumb_url, 'width' => '650', 'height' => '500', 'TB_iframe' => '1'), admin_url('admin-ajax.php'));
304
+ }
305
+ else {
306
+ $image_data = $this->model->get_image_data($image_id);
307
+ $filename = ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->image_url;
308
+ $thumb_filename = ABSPATH . $WD_BWG_UPLOAD_DIR . $image_data->thumb_url;
309
+ $form_action = add_query_arg(array('action' => 'editThumb', 'type' => 'rotate', 'image_id' => $image_id, 'width' => '650', 'height' => '500', 'TB_iframe' => '1'), admin_url('admin-ajax.php'));
310
+ }
311
+ list($width_rotate, $height_rotate, $type_rotate) = getimagesize($filename);
312
+ if ($edit_type == '270' || $edit_type == '90') {
313
+ if ($type_rotate == 2) {
314
+ $source = imagecreatefromjpeg($filename);
315
+ $thumb_source = imagecreatefromjpeg($thumb_filename);
316
+ $rotate = imagerotate($source, $edit_type, 0);
317
+ $thumb_rotate = imagerotate($thumb_source, $edit_type, 0);
318
+ imagejpeg($thumb_rotate, $thumb_filename, 100);
319
+ imagejpeg($rotate, $filename, 100);
320
+ imagedestroy($source);
321
+ imagedestroy($rotate);
322
+ imagedestroy($thumb_source);
323
+ imagedestroy($thumb_rotate);
324
+ }
325
+ elseif ($type_rotate == 3) {
326
+ $source = imagecreatefrompng($filename);
327
+ $thumb_source = imagecreatefrompng($thumb_filename);
328
+ imagealphablending($source, FALSE);
329
+ imagealphablending($thumb_source, FALSE);
330
+ imagesavealpha($source, TRUE);
331
+ imagesavealpha($thumb_source, TRUE);
332
+ $rotate = imagerotate($source, $edit_type, imageColorAllocateAlpha($source, 0, 0, 0, 127));
333
+ $thumb_rotate = imagerotate($thumb_source, $edit_type, imageColorAllocateAlpha($source, 0, 0, 0, 127));
334
+ imagealphablending($rotate, FALSE);
335
+ imagealphablending($thumb_rotate, FALSE);
336
+ imagesavealpha($rotate, TRUE);
337
+ imagesavealpha($thumb_rotate, TRUE);
338
+ imagepng($rotate, $filename, 9);
339
+ imagepng($thumb_rotate, $thumb_filename, 9);
340
+ imagedestroy($source);
341
+ imagedestroy($rotate);
342
+ imagedestroy($thumb_source);
343
+ imagedestroy($thumb_rotate);
344
+ }
345
+ elseif ($type_rotate == 1) {
346
+ $source = imagecreatefromgif($filename);
347
+ $thumb_source = imagecreatefromgif($thumb_filename);
348
+ imagealphablending($source, FALSE);
349
+ imagealphablending($thumb_source, FALSE);
350
+ imagesavealpha($source, TRUE);
351
+ imagesavealpha($thumb_source, TRUE);
352
+ $rotate = imagerotate($source, $edit_type, imageColorAllocateAlpha($source, 0, 0, 0, 127));
353
+ $thumb_rotate = imagerotate($thumb_source, $edit_type, imageColorAllocateAlpha($source, 0, 0, 0, 127));
354
+ imagealphablending($rotate, FALSE);
355
+ imagealphablending($thumb_rotate, FALSE);
356
+ imagesavealpha($rotate, TRUE);
357
+ imagesavealpha($thumb_rotate, TRUE);
358
+ imagegif($rotate, $filename);
359
+ imagegif($thumb_rotate, $thumb_filename);
360
+ imagedestroy($source);
361
+ imagedestroy($rotate);
362
+ imagedestroy($thumb_source);
363
+ imagedestroy($thumb_rotate);
364
+ }
365
+ else {
366
+ ?>
367
+ <div class="thumb_message"><strong>You can't rotate this type of image.</strong></div>
368
+ <?php
369
+ }
370
+ }
371
+ elseif ($edit_type == 'vertical' || $edit_type == 'horizontal' || $edit_type == 'both') {
372
+ function bwg_image_flip($imgsrc, $mode) {
373
+ $width = imagesx($imgsrc);
374
+ $height = imagesy($imgsrc);
375
+ $src_x = 0;
376
+ $src_y = 0;
377
+ $src_width = $width;
378
+ $src_height = $height;
379
+
380
+ switch ($mode) {
381
+ case 'vertical':
382
+ $src_y = $height - 1;
383
+ $src_height = -$height;
384
+ break;
385
+
386
+ case 'horizontal':
387
+ $src_x = $width - 1;
388
+ $src_width = -$width;
389
+ break;
390
+
391
+ case 'both':
392
+ $src_x = $width - 1;
393
+ $src_y = $height - 1;
394
+ $src_width = -$width;
395
+ $src_height = -$height;
396
+ break;
397
+
398
+ default:
399
+ return $imgsrc;
400
+ }
401
+ $trans_colour = imageColorAllocateAlpha($imgsrc, 0, 0, 0, 127);
402
+ $imgdest = imagecreatetruecolor($width, $height);
403
+ imagefill($imgdest, 0, 0, $trans_colour);
404
+ if (imagecopyresampled($imgdest, $imgsrc, 0, 0, $src_x, $src_y , $width, $height, $src_width, $src_height)) {
405
+ return $imgdest;
406
+ }
407
+ return $imgsrc;
408
+ }
409
+ if ($type_rotate == 2) {
410
+ $source = imagecreatefromjpeg($filename);
411
+ $flip = bwg_image_flip($source, $edit_type);
412
+ imagejpeg($flip, $filename, 100);
413
+ $thumb_source = imagecreatefromjpeg($thumb_filename);
414
+ $thumb_flip = bwg_image_flip($thumb_source, $edit_type);
415
+ imagejpeg($thumb_flip, $thumb_filename, 100);
416
+ imagedestroy($source);
417
+ imagedestroy($flip);
418
+ imagedestroy($thumb_source);
419
+ imagedestroy($thumb_flip);
420
+ }
421
+ elseif ($type_rotate == 3) {
422
+ $source = imagecreatefrompng($filename);
423
+ $thumb_source = imagecreatefrompng($thumb_filename);
424
+ imagealphablending($source, FALSE);
425
+ imagealphablending($thumb_source, FALSE);
426
+ imagesavealpha($source, TRUE);
427
+ imagesavealpha($thumb_source, TRUE);
428
+ $flip = bwg_image_flip($source, $edit_type);
429
+ $thumb_flip = bwg_image_flip($thumb_source, $edit_type);
430
+ imagealphablending($flip, FALSE);
431
+ imagealphablending($thumb_flip, FALSE);
432
+ imagesavealpha($flip, TRUE);
433
+ imagesavealpha($thumb_flip, TRUE);
434
+ imagepng($flip, $filename, 9);
435
+ imagepng($thumb_flip, $thumb_filename, 9);
436
+ imagedestroy($source);
437
+ imagedestroy($flip);
438
+ imagedestroy($thumb_source);
439
+ imagedestroy($thumb_flip);
440
+ }
441
+ elseif ($type_rotate == 1) {
442
+ $source = imagecreatefromgif($filename);
443
+ $thumb_source = imagecreatefromgif($thumb_filename);
444
+ imagealphablending($source, FALSE);
445
+ imagealphablending($thumb_source, FALSE);
446
+ imagesavealpha($source, TRUE);
447
+ imagesavealpha($thumb_source, TRUE);
448
+ $flip = bwg_image_flip($source, $edit_type);
449
+ $thumb_flip = bwg_image_flip($thumb_source, $edit_type);
450
+ imagealphablending($flip, FALSE);
451
+ imagealphablending($thumb_flip, FALSE);
452
+ imagesavealpha($flip, TRUE);
453
+ imagesavealpha($thumb_flip, TRUE);
454
+ imagegif($flip, $filename);
455
+ imagegif($thumb_flip, $thumb_filename);
456
+ imagedestroy($source);
457
+ imagedestroy($flip);
458
+ imagedestroy($thumb_source);
459
+ imagedestroy($thumb_flip);
460
+ }
461
+ else {
462
+ ?>
463
+ <div class="thumb_message"><strong>You can't flip this type of image.</strong></div>
464
+ <?php
465
+ }
466
+ }
467
+ ?>
468
+ <style>
469
+ .spider_rotate {
470
+ background: linear-gradient(to top, #ECECEC, #F9F9F9) repeat scroll 0 0 #F1F1F1;
471
+ cursor: pointer;
472
+ height: 30px;
473
+ padding: 2px;
474
+ -moz-outline-radius: 2px;
475
+ outline: 1px solid #CCCCCC;
476
+ }
477
+ .spider_rotate:hover {
478
+ -moz-outline-radius: 2px;
479
+ outline: 1px solid #999999;
480
+ padding: 2px;
481
+ }
482
+ .thumb_message {
483
+ -moz-box-sizing: border-box;
484
+ -webkit-box-sizing: border-box;
485
+ background: linear-gradient(to top, #ECECEC, #F9F9F9) repeat scroll 0 0 #F1F1F1;
486
+ background-color: #F5F5F5;
487
+ border: 1px solid #CCCCCC;
488
+ border-radius: 3px 3px 3px 3px;
489
+ box-sizing: border-box;
490
+ color: #333333;
491
+ font-family: sans-serif;
492
+ font-size: 12px;
493
+ margin: 5px auto;
494
+ padding: 7px 5px;
495
+ width: <?php echo $popup_width; ?>;
496
+ }
497
+ </style>
498
+ <script>
499
+ function spider_rotate(type, form_id) {
500
+ document.getElementById("edit_type").value = type;
501
+ document.getElementById(form_id).submit();
502
+ }
503
+ var image_src = window.parent.document.getElementById("image_thumb_<?php echo $image_id; ?>").src;
504
+ window.parent.document.getElementById("image_thumb_<?php echo $image_id; ?>").src = image_src + "?date=<?php echo date('Y-m-y H:i:s'); ?>";
505
+ </script>
506
+ <form method="post" id="rotate_image" action="<?php echo $form_action; ?>">
507
+ <div style="text-align:center; width:inherit; height:<?php echo $popup_height; ?>px;">
508
+ <div style="height:40px;">
509
+ <img title="Flip Both" class="spider_rotate" onclick="spider_rotate('both', 'rotate_image')" src="<?php echo WD_BWG_URL . '/images/flip_both.png'; ?>"/>
510
+ <img title="Flip Vertical" class="spider_rotate" onclick="spider_rotate('vertical', 'rotate_image')" src="<?php echo WD_BWG_URL . '/images/flip_vertical.png'; ?>"/>
511
+ <img title="Flip Horizontal" class="spider_rotate" onclick="spider_rotate('horizontal', 'rotate_image')" src="<?php echo WD_BWG_URL . '/images/flip_horizontal.png'; ?>"/>
512
+ <img title="Rotate Left" class="spider_rotate" onclick="spider_rotate('90', 'rotate_image')" src="<?php echo WD_BWG_URL . '/images/rotate_left.png'; ?>"/>
513
+ <img title="Rotate Right" class="spider_rotate" onclick="spider_rotate('270', 'rotate_image')" src="<?php echo WD_BWG_URL . '/images/rotate_right.png'; ?>"/>
514
+ </div>
515
+ <div style="display:table; width:100%; height:<?php echo $popup_height - 40; ?>px;">
516
+ <div style="display:table-cell; vertical-align:middle;">
517
+ <img src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $image_data->image_url; ?>?date=<?php echo date('Y-m-y H:i:s'); ?>" style="margin:0 auto; display:block; max-width:<?php echo $image_width; ?>px;max-height:<?php echo $image_height; ?>px;" />
518
+ </div>
519
+ </div>
520
+ </div>
521
+ <input type="hidden" name="edit_type" id="edit_type" />
522
+ <input type="hidden" name="image_id" id="image_id" value="<?php echo $image_id; ?>" />
523
+ </form>
524
+ <?php
525
+ die();
526
+ }
527
+
528
+ ////////////////////////////////////////////////////////////////////////////////////////
529
+ // Getters & Setters //
530
+ ////////////////////////////////////////////////////////////////////////////////////////
531
+ ////////////////////////////////////////////////////////////////////////////////////////
532
+ // Private Methods //
533
+ ////////////////////////////////////////////////////////////////////////////////////////
534
+ ////////////////////////////////////////////////////////////////////////////////////////
535
+ // Listeners //
536
+ ////////////////////////////////////////////////////////////////////////////////////////
537
+ }
admin/views/BWGViewFeatured_plugins_bwg.php ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGViewFeatured_plugins_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $model;
14
+
15
+
16
+ ////////////////////////////////////////////////////////////////////////////////////////
17
+ // Constructor & Destructor //
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ public function __construct($model) {
20
+ $this->model = $model;
21
+ }
22
+ ////////////////////////////////////////////////////////////////////////////////////////
23
+ // Public Methods //
24
+ ////////////////////////////////////////////////////////////////////////////////////////
25
+ public function display() {
26
+ ?>
27
+ <div id="main_featured_plugins_page">
28
+ <table align="center" width="90%" style="margin-top: 0px;border-bottom: rgb(111, 111, 111) solid 2px;">
29
+ <tr>
30
+ <td colspan="2" style="height: 70px;"><h3 style="margin: 0px;font-family:Segoe UI;padding-bottom: 15px;color: rgb(111, 111, 111); font-size:18pt;">Featured Plugins</h3></td>
31
+ <td></td>
32
+ </tr>
33
+ </table>
34
+ <form method="post">
35
+ <ul id="featured-plugins-list">
36
+ <li class="form-maker">
37
+ <div class="product">
38
+ <div class="title">
39
+ <strong class="heading">Form Maker</strong>
40
+ <p>Wordpress form builder plugin</p>
41
+ </div>
42
+ </div>
43
+ <div class="description">
44
+ <p>Form Maker is a modern and advanced tool for creating WordPress forms easily and fast.</p>
45
+ <a target="_blank" href="http://web-dorado.com/products/wordpress-form.html" class="download">Download</a>
46
+ </div>
47
+ </li>
48
+ <li class="spider-calendar">
49
+ <div class="product">
50
+ <div class="title">
51
+ <strong class="heading">Spider Calendar</strong>
52
+ <p>WordPress event calendar plugin</p>
53
+ </div>
54
+ </div>
55
+ <div class="description">
56
+ <p>Spider Event Calendar is a highly configurable product which allows you to have multiple organized events.</p>
57
+ <a target="_blank" href="http://web-dorado.com/products/wordpress-calendar.html" class="download">Download</a>
58
+ </div>
59
+ </li>
60
+ <li class="catalog">
61
+ <div class="product">
62
+ <div class="title">
63
+ <strong class="heading">Spider Catalog</strong>
64
+ <p>WordPress product catalog plugin</p>
65
+ </div>
66
+ </div>
67
+ <div class="description">
68
+ <p>Spider Catalog for WordPress is a convenient tool for organizing the products represented on your website into catalogs.</p>
69
+ <a target="_blank" href="http://web-dorado.com/products/wordpress-catalog.html" class="download">Download</a>
70
+ </div>
71
+ </li>
72
+ <li class="player">
73
+ <div class="product">
74
+ <div class="title">
75
+ <strong class="heading">Video Player</strong>
76
+ <p>WordPress Video player plugin</p>
77
+ </div>
78
+ </div>
79
+ <div class="description">
80
+ <p>Spider Video Player for WordPress is a Flash & HTML5 video player plugin that allows you to easily add videos to your website with the possibility</p>
81
+ <a target="_blank" href="http://web-dorado.com/products/wordpress-player.html" class="download">Download</a>
82
+ </div>
83
+ </li>
84
+ <li class="contacts">
85
+ <div class="product">
86
+ <div class="title">
87
+ <strong class="heading">Spider Contacts</strong>
88
+ <p>Wordpress staff list plugin</p>
89
+ </div>
90
+ </div>
91
+ <div class="description">
92
+ <p>Spider Contacts helps you to display information about the group of people more intelligible, effective and convenient.</p>
93
+ <a target="_blank" href="http://web-dorado.com/products/wordpress-contacts-plugin.html" class="download">Download</a>
94
+ </div>
95
+ </li>
96
+ <li class="facebook">
97
+ <div class="product">
98
+ <div class="title">
99
+ <strong class="heading">Spider Facebook</strong>
100
+ <p>WordPress Facebook plugin</p>
101
+ </div>
102
+ </div>
103
+ <div class="description">
104
+ <p>Spider Facebook is a WordPress integration tool for Facebook.It includes all the available Facebook social plugins and widgets to be added to your web</p>
105
+ <a target="_blank" href="http://web-dorado.com/products/wordpress-facebook.html" class="download">Download</a>
106
+ </div>
107
+ </li>
108
+ <li class="faq">
109
+ <div class="product">
110
+ <div class="title">
111
+ <strong class="heading">Spider FAQ</strong>
112
+ <p>WordPress FAQ Plugin</p>
113
+ </div>
114
+ </div>
115
+ <div class="description">
116
+ <p>The Spider FAQ WordPress plugin is for creating an FAQ (Frequently Asked Questions) section for your website.</p>
117
+ <a target="_blank" href="http://web-dorado.com/products/wordpress-faq-plugin.html" class="download">Download</a>
118
+ </div>
119
+ </li>
120
+ <li class="zoom">
121
+ <div class="product">
122
+ <div class="title">
123
+ <strong class="heading">Zoom</strong>
124
+ <p>WordPress text zoom plugin</p>
125
+ </div>
126
+ </div>
127
+ <div class="description">
128
+ <p>Zoom enables site users to resize the predefined areas of the web site.</p>
129
+ <a target="_blank" href="http://web-dorado.com/products/wordpress-zoom.html" class="download">Download</a>
130
+ </div>
131
+ </li>
132
+ <li class="flash-calendar">
133
+ <div class="product">
134
+ <div class="title">
135
+ <strong class="heading">Flash Calendar</strong>
136
+ <p>WordPress flash calendar plugin</p>
137
+ </div>
138
+ </div>
139
+ <div class="description">
140
+ <p>Spider Flash Calendar is a highly configurable Flash calendar plugin which allows you to have multiple organized events.</p>
141
+ <a target="_blank" href="http://web-dorado.com/products/wordpress-events-calendar.html" class="download">Download</a>
142
+ </div>
143
+ </li>
144
+ </ul>
145
+ </form>
146
+ </div >
147
+ <?php
148
+ }
149
+ ////////////////////////////////////////////////////////////////////////////////////////
150
+ // Getters & Setters //
151
+ ////////////////////////////////////////////////////////////////////////////////////////
152
+ ////////////////////////////////////////////////////////////////////////////////////////
153
+ // Private Methods //
154
+ ////////////////////////////////////////////////////////////////////////////////////////
155
+ ////////////////////////////////////////////////////////////////////////////////////////
156
+ // Listeners //
157
+ ////////////////////////////////////////////////////////////////////////////////////////
158
+ }
admin/views/BWGViewGalleries_bwg.php ADDED
@@ -0,0 +1,754 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGViewGalleries_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $model;
14
+
15
+
16
+ ////////////////////////////////////////////////////////////////////////////////////////
17
+ // Constructor & Destructor //
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ public function __construct($model) {
20
+ $this->model = $model;
21
+ }
22
+ ////////////////////////////////////////////////////////////////////////////////////////
23
+ // Public Methods //
24
+ ////////////////////////////////////////////////////////////////////////////////////////
25
+ public function display() {
26
+ global $WD_BWG_UPLOAD_DIR;
27
+ $rows_data = $this->model->get_rows_data();
28
+ $page_nav = $this->model->page_nav();
29
+ $search_value = ((isset($_POST['search_value'])) ? esc_html(stripslashes($_POST['search_value'])) : '');
30
+ $search_select_value = ((isset($_POST['search_select_value'])) ? (int) $_POST['search_select_value'] : 0);
31
+ $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
32
+ $order_by = (isset($_POST['order_by']) ? esc_html(stripslashes($_POST['order_by'])) : 'order');
33
+ $order_class = 'manage-column column-title sorted ' . $asc_or_desc;
34
+ $ids_string = '';
35
+ ?>
36
+ <div style="clear: both; float: left; width: 95%;">
37
+ <div style="float:left; font-size: 14px; font-weight: bold;">
38
+ This section allows you to create, edit and delete galleries.
39
+ <a style="color: blue; text-decoration: none;" target="_blank" href="http://web-dorado.com/wordpress-gallery-guide-step-2.html">Read More in User Manual</a>
40
+ </div>
41
+ <div style="float: right; text-align: right;">
42
+ <a style="color: red; text-decoration: none;" target="_blank" href="http://web-dorado.com/products/wordpress-photo-gallery-plugin.html">
43
+ <img width="215" border="0" alt="web-dorado.com" src="<?php echo WD_BWG_URL . '/images/header.png'; ?>" />
44
+ <p style="font-size: 16px; margin: 0; padding: 0 20px 0 0;">Get the full version</p>
45
+ </a>
46
+ </div>
47
+ </div>
48
+ <form class="wrap" id="galleries_form" method="post" action="admin.php?page=galleries_bwg" style="float: left; width: 95%;">
49
+ <span class="gallery-icon"></span>
50
+ <h2>
51
+ Galleries
52
+ <a href="" class="add-new-h2" onclick="spider_set_input_value('task', 'add');
53
+ spider_form_submit(event, 'galleries_form')">Add new</a>
54
+ </h2>
55
+ <div id="draganddrop" class="updated" style="display:none;"><strong><p>Changes made in this table shoud be saved.</p></strong></div>
56
+ <div class="buttons_div">
57
+ <input id="show_hide_weights" class="button" type="button" onclick="spider_show_hide_weights();return false;" value="Hide order column" />
58
+ <input class="button" type="submit" onclick="spider_set_input_value('task', 'save_order')" value="Save Order" />
59
+ <input class="button" type="submit" onclick="spider_set_input_value('task', 'publish_all')" value="Publish" />
60
+ <input class="button" type="submit" onclick="spider_set_input_value('task', 'unpublish_all')" value="Unpublish" />
61
+ <input class="button" type="submit" onclick="if (confirm('Do you want to delete selected items?')) {
62
+ spider_set_input_value('task', 'delete_all');
63
+ } else {
64
+ return false;
65
+ }" value="Delete" />
66
+ </div>
67
+ <div class="tablenav top">
68
+ <?php
69
+ WDWLibrary::search('Name', $search_value, 'galleries_form');
70
+ WDWLibrary::html_page_nav($page_nav['total'], $page_nav['limit'], 'galleries_form');
71
+ ?>
72
+ </div>
73
+ <table class="wp-list-table widefat fixed pages">
74
+ <thead>
75
+ <th class="table_small_col"></th>
76
+ <th class="manage-column column-cb check-column table_small_col"><input id="check_all" type="checkbox" style="margin:0;" /></th>
77
+ <th class="table_small_col <?php if ($order_by == 'id') {echo $order_class;} ?>">
78
+ <a onclick="spider_set_input_value('task', '');
79
+ spider_set_input_value('order_by', 'id');
80
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'id') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
81
+ spider_form_submit(event, 'galleries_form')" href="">
82
+ <span>ID</span><span class="sorting-indicator"></span>
83
+ </a>
84
+ </th>
85
+ <th class="table_extra_large_col">Thumbnail</th>
86
+ <th class="<?php if ($order_by == 'name') {echo $order_class;} ?>">
87
+ <a onclick="spider_set_input_value('task', '');
88
+ spider_set_input_value('order_by', 'name');
89
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'name') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
90
+ spider_form_submit(event, 'galleries_form')" href="">
91
+ <span>Name</span><span class="sorting-indicator"></span>
92
+ </a>
93
+ </th>
94
+ <th class="<?php if ($order_by == 'slug') {echo $order_class;} ?>">
95
+ <a onclick="spider_set_input_value('task', '');
96
+ spider_set_input_value('order_by', 'slug');
97
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'slug') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
98
+ spider_form_submit(event, 'galleries_form')" href="">
99
+ <span>Slug</span><span class="sorting-indicator"></span>
100
+ </a>
101
+ </th>
102
+ <th class="<?php if ($order_by == 'display_name') {echo $order_class;} ?>">
103
+ <a onclick="spider_set_input_value('task', '');
104
+ spider_set_input_value('order_by', 'display_name');
105
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'display_name') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
106
+ spider_form_submit(event, 'galleries_form')" href="">
107
+ <span>Author</span><span class="sorting-indicator"></span>
108
+ </a>
109
+ </th>
110
+ <th id="th_order" class="table_medium_col <?php if ($order_by == 'order') {echo $order_class;} ?>">
111
+ <a onclick="spider_set_input_value('task', '');
112
+ spider_set_input_value('order_by', 'order');
113
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'order') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
114
+ spider_form_submit(event, 'galleries_form')" href="">
115
+ <span>Order</span><span class="sorting-indicator"></span>
116
+ </a>
117
+ </th>
118
+ <th class="table_big_col <?php if ($order_by == 'published') {echo $order_class;} ?>">
119
+ <a onclick="spider_set_input_value('task', '');
120
+ spider_set_input_value('order_by', 'published');
121
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'published') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
122
+ spider_form_submit(event, 'galleries_form')" href="">
123
+ <span>Published</span><span class="sorting-indicator"></span>
124
+ </a>
125
+ </th>
126
+ <th class="table_big_col">Edit</th>
127
+ <th class="table_big_col">Delete</th>
128
+ </thead>
129
+ <tbody id="tbody_arr">
130
+ <?php
131
+ if ($rows_data) {
132
+ foreach ($rows_data as $row_data) {
133
+ $alternate = (!isset($alternate) || $alternate == 'class="alternate"') ? '' : 'class="alternate"';
134
+ $published_image = (($row_data->published) ? 'publish' : 'unpublish');
135
+ $published = (($row_data->published) ? 'unpublish' : 'publish');
136
+ if ($row_data->preview_image == '') {
137
+ $preview_image = WD_BWG_URL . '/images/no-image.png';
138
+ }
139
+ else {
140
+ $preview_image = site_url() . '/' . $WD_BWG_UPLOAD_DIR . $row_data->preview_image;
141
+ }
142
+ ?>
143
+ <tr id="tr_<?php echo $row_data->id; ?>" <?php echo $alternate; ?>>
144
+ <td class="connectedSortable table_small_col"><div title="Drag to re-order"class="handle" style="margin:5px auto 0 auto;"></div></td>
145
+ <td class="table_small_col check-column"><input id="check_<?php echo $row_data->id; ?>" name="check_<?php echo $row_data->id; ?>" type="checkbox" /></td>
146
+ <td class="table_small_col"><?php echo $row_data->id; ?></td>
147
+ <td class="table_extra_large_col">
148
+ <img title="<?php echo $row_data->name; ?>" style="border: 1px solid #CCCCCC; max-width:60px; max-height:60px;" src="<?php echo $preview_image . '?date=' . date('Y-m-y H:i:s'); ?>">
149
+ </td>
150
+ <td><a onclick="spider_set_input_value('task', 'edit');
151
+ spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
152
+ spider_form_submit(event, 'galleries_form')" href="" title="Edit"><?php echo $row_data->name; ?></a></td>
153
+ <td><?php echo $row_data->slug; ?></td>
154
+ <td><?php echo $row_data->display_name; ?></td>
155
+ <td class="spider_order table_medium_col"><input id="order_input_<?php echo $row_data->id; ?>" name="order_input_<?php echo $row_data->id; ?>" type="text" size="1" value="<?php echo $row_data->order; ?>" /></td>
156
+ <td class="table_big_col"><a onclick="spider_set_input_value('task', '<?php echo $published; ?>');spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');spider_form_submit(event, 'galleries_form')" href=""><img src="<?php echo WD_BWG_URL . '/images/' . $published_image . '.png'; ?>"></img></a></td>
157
+ <td class="table_big_col"><a onclick="spider_set_input_value('task', 'edit');
158
+ spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
159
+ spider_form_submit(event, 'galleries_form')" href="">Edit</a></td>
160
+ <td class="table_big_col"><a onclick="spider_set_input_value('task', 'delete');
161
+ spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
162
+ spider_form_submit(event, 'galleries_form')" href="">Delete</a></td>
163
+ </tr>
164
+ <?php
165
+ $ids_string .= $row_data->id . ',';
166
+ }
167
+ }
168
+ ?>
169
+ </tbody>
170
+ </table>
171
+ <input id="task" name="task" type="hidden" value="" />
172
+ <input id="current_id" name="current_id" type="hidden" value="" />
173
+ <input id="ids_string" name="ids_string" type="hidden" value="<?php echo $ids_string; ?>" />
174
+ <input id="asc_or_desc" name="asc_or_desc" type="hidden" value="asc" />
175
+ <input id="order_by" name="order_by" type="hidden" value="<?php echo $order_by; ?>" />
176
+ <script>
177
+ window.onload = spider_show_hide_weights;
178
+ </script>
179
+ </form>
180
+ <?php
181
+ }
182
+
183
+ public function edit($id) {
184
+ global $WD_BWG_UPLOAD_DIR;
185
+ $row = $this->model->get_row_data($id);
186
+ $pages = get_pages();
187
+ $page_title = (($id != 0) ? 'Edit gallery ' . $row->name : 'Create new gallery');
188
+ ?>
189
+ <div style="clear: both; float: left; width: 95%;">
190
+ <div style="float:left; font-size: 14px; font-weight: bold;">
191
+ This section allows you to add/edit gallery.
192
+ <a style="color: blue; text-decoration: none;" target="_blank" href="http://web-dorado.com/wordpress-gallery-guide-step-2.html">Read More in User Manual</a>
193
+ </div>
194
+ <div style="float: right; text-align: right;">
195
+ <a style="color: red; text-decoration: none;" target="_blank" href="http://web-dorado.com/products/wordpress-photo-gallery-plugin.html">
196
+ <img width="215" border="0" alt="web-dorado.com" src="<?php echo WD_BWG_URL . '/images/header.png'; ?>" />
197
+ <p style="font-size: 16px; margin: 0; padding: 0 20px 0 0;">Get the full version</p>
198
+ </a>
199
+ </div>
200
+ </div>
201
+ <script>
202
+ function spider_set_href(a, number, type) {
203
+ var image_url = document.getElementById("image_url_" + number).value;
204
+ var thumb_url = document.getElementById("thumb_url_" + number).value;
205
+ a.href='<?php echo add_query_arg(array('action' => 'editThumb', 'width' => '800', 'height' => '500'), admin_url('admin-ajax.php')); ?>&type=' + type + '&image_id=' + number + '&image_url=' + image_url + '&thumb_url=' + thumb_url + '&TB_iframe=1';
206
+ }
207
+ function bwg_add_preview_image(files) {
208
+ document.getElementById("preview_image").value = files[0]['thumb_url'];
209
+ document.getElementById("button_preview_image").style.display = "none";
210
+ document.getElementById("delete_preview_image").style.display = "inline-block";
211
+ if (document.getElementById("img_preview_image")) {
212
+ document.getElementById("img_preview_image").src = files[0]['reliative_url'];
213
+ document.getElementById("img_preview_image").style.display = "inline-block";
214
+ }
215
+ }
216
+ var j_int = 0;
217
+ var j = 'pr_' + j_int;
218
+ function bwg_add_image(files) {
219
+ var tbody = document.getElementById('tbody_arr');
220
+ for (var i in files) {
221
+ var tr = document.createElement('tr');
222
+ tr.setAttribute('id', "tr_" + j);
223
+ if (tbody.firstChild) {
224
+ tbody.insertBefore(tr, tbody.firstChild);
225
+ }
226
+ else {
227
+ tbody.appendChild(tr);
228
+ }
229
+ // Handle TD.
230
+ var td_handle = document.createElement('td');
231
+ td_handle.setAttribute('class', "connectedSortable table_small_col");
232
+ td_handle.setAttribute('title', "Drag to re-order");
233
+ tr.appendChild(td_handle);
234
+ var div_handle = document.createElement('div');
235
+ div_handle.setAttribute('class', "handle connectedSortable");
236
+ div_handle.setAttribute('style', "margin: 5px auto 0px;");
237
+ td_handle.appendChild(div_handle);
238
+ // Checkbox TD.
239
+ var td_checkbox = document.createElement('td');
240
+ td_checkbox.setAttribute('class', "table_small_col check-column");
241
+ tr.appendChild(td_checkbox);
242
+ var input_checkbox = document.createElement('input');
243
+ input_checkbox.setAttribute('id', "check_" + j);
244
+ input_checkbox.setAttribute('name', "check_" + j);
245
+ input_checkbox.setAttribute('type', "checkbox");
246
+ td_checkbox.appendChild(input_checkbox);
247
+ // Thumb TD.
248
+ var td_thumb = document.createElement('td');
249
+ td_thumb.setAttribute('class', "table_extra_large_col");
250
+ tr.appendChild(td_thumb);
251
+ var a_thumb = document.createElement('a');
252
+ a_thumb.setAttribute('class', "thickbox thickbox-preview");
253
+ a_thumb.setAttribute('href', "<?php echo add_query_arg(array('action' => 'editThumb', 'type' => 'display'/*thumb_display*/, 'width' => '650', 'height' => '500'), admin_url('admin-ajax.php')); ?>&image_id=" + j + "&TB_iframe=1");
254
+ a_thumb.setAttribute('title', files[i]['name']);
255
+ td_thumb.appendChild(a_thumb);
256
+ var img_thumb = document.createElement('img');
257
+ img_thumb.setAttribute('id', "image_thumb_" + j);
258
+ img_thumb.setAttribute('class', "thumb");
259
+ img_thumb.setAttribute('src', files[i]['thumb']);
260
+ a_thumb.appendChild(img_thumb);
261
+ // Filename TD.
262
+ var td_filename = document.createElement('td');
263
+ td_filename.setAttribute('class', "table_extra_large_col");
264
+ tr.appendChild(td_filename);
265
+ var div_filename = document.createElement('div');
266
+ div_filename.setAttribute('class', "filename");
267
+ div_filename.setAttribute('id', "filename_" + j);
268
+ td_filename.appendChild(div_filename);
269
+ var strong_filename = document.createElement('strong');
270
+ div_filename.appendChild(strong_filename);
271
+ var a_filename = document.createElement('a');
272
+ a_filename.setAttribute('href', "<?php echo add_query_arg(array('action' => 'editThumb', 'type' => 'display', 'width' => '800', 'height' => '500'), admin_url('admin-ajax.php')); ?>&image_id=" + j + "&TB_iframe=1");
273
+ a_filename.setAttribute('class', "spider_word_wrap thickbox thickbox-preview");
274
+ a_filename.setAttribute('title', files[i]['filename']);
275
+ a_filename.innerHTML = files[i]['filename'];
276
+ strong_filename.appendChild(a_filename);
277
+ var div_date_modified = document.createElement('div');
278
+ div_date_modified.setAttribute('class', "fileDescription");
279
+ div_date_modified.setAttribute('title', "Date modified");
280
+ div_date_modified.setAttribute('id', "date_modified_" + j);
281
+ div_date_modified.innerHTML = files[i]['date_modified'];
282
+ td_filename.appendChild(div_date_modified);
283
+ var div_fileresolution = document.createElement('div');
284
+ div_fileresolution.setAttribute('class', "fileDescription");
285
+ div_fileresolution.setAttribute('title', "Image Resolution");
286
+ div_fileresolution.setAttribute('id', "fileresolution" + j);
287
+ div_fileresolution.innerHTML = files[i]['resolution'];
288
+ td_filename.appendChild(div_fileresolution);
289
+ var div_filesize = document.createElement('div');
290
+ div_filesize.setAttribute('class', "fileDescription");
291
+ div_filesize.setAttribute('title', "Image size");
292
+ div_filesize.setAttribute('id', "filesize" + j);
293
+ div_filesize.innerHTML = files[i]['size'];
294
+ td_filename.appendChild(div_filesize);
295
+ var div_filetype = document.createElement('div');
296
+ div_filetype.setAttribute('class', "fileDescription");
297
+ div_filetype.setAttribute('title', "Image type");
298
+ div_filetype.setAttribute('id', "filetype" + j);
299
+ div_filetype.innerHTML = files[i]['filetype'];
300
+ td_filename.appendChild(div_filetype);
301
+ var div_edit = document.createElement('div');
302
+ td_filename.appendChild(div_edit);
303
+ var span_edit_crop = document.createElement('span');
304
+ span_edit_crop.setAttribute('class', "edit_thumb");
305
+ div_edit.appendChild(span_edit_crop);
306
+ var a_crop = document.createElement('a');
307
+ a_crop.setAttribute('class', "thickbox thickbox-preview");
308
+ a_crop.setAttribute('onclick', "spider_set_href(this, '" + j + "', 'crop');");
309
+ a_crop.innerHTML = "Crop";
310
+ span_edit_crop.appendChild(a_crop);
311
+ div_edit.innerHTML += " | ";
312
+ var span_edit_rotate = document.createElement('span');
313
+ span_edit_rotate.setAttribute('class', "edit_thumb");
314
+ div_edit.appendChild(span_edit_rotate);
315
+ var a_rotate = document.createElement('a');
316
+ a_rotate.setAttribute('class', "thickbox thickbox-preview");
317
+ a_rotate.setAttribute('onclick', "spider_set_href(this, '" + j + "', 'rotate');");
318
+ a_rotate.innerHTML = "Rotate";
319
+ span_edit_rotate.appendChild(a_rotate);
320
+ div_edit.innerHTML += " | "
321
+ var span_edit_recover = document.createElement('span');
322
+ span_edit_recover.setAttribute('class', "edit_thumb");
323
+ div_edit.appendChild(span_edit_recover);
324
+ var a_recover = document.createElement('a');
325
+ a_recover.setAttribute('onclick', 'if (confirm("Do you want to reset the image?")) { spider_set_input_value("ajax_task", "recover"); spider_set_input_value("image_current_id", "' + j + '"); spider_ajax_save("galleries_form");} return false;');
326
+ a_recover.innerHTML = "Reset";
327
+ span_edit_recover.appendChild(a_recover);
328
+ var input_image_url = document.createElement('input');
329
+ input_image_url.setAttribute('id', "image_url_" + j);
330
+ input_image_url.setAttribute('name', "image_url_" + j);
331
+ input_image_url.setAttribute('type', "hidden");
332
+ input_image_url.setAttribute('value', files[i]['url']);
333
+ td_filename.appendChild(input_image_url);
334
+ var input_thumb_url = document.createElement('input');
335
+ input_thumb_url.setAttribute('id', "thumb_url_" + j);
336
+ input_thumb_url.setAttribute('name', "thumb_url_" + j);
337
+ input_thumb_url.setAttribute('type', "hidden");
338
+ input_thumb_url.setAttribute('value', files[i]['thumb_url']);
339
+ td_filename.appendChild(input_thumb_url);
340
+ var input_filename = document.createElement('input');
341
+ input_filename.setAttribute('id', "input_filename_" + j);
342
+ input_filename.setAttribute('name', "input_filename_" + j);
343
+ input_filename.setAttribute('type', "hidden");
344
+ input_filename.setAttribute('value', files[i]['filename']);
345
+ td_filename.appendChild(input_filename);
346
+ var input_date_modified = document.createElement('input');
347
+ input_date_modified.setAttribute('id', "input_date_modified_" + j);
348
+ input_date_modified.setAttribute('name', "input_date_modified_" + j);
349
+ input_date_modified.setAttribute('type', "hidden");
350
+ input_date_modified.setAttribute('value', files[i]['date_modified']);
351
+ td_filename.appendChild(input_date_modified);
352
+ var input_resolution = document.createElement('input');
353
+ input_resolution.setAttribute('id', "input_resolution_" + j);
354
+ input_resolution.setAttribute('name', "input_resolution_" + j);
355
+ input_resolution.setAttribute('type', "hidden");
356
+ input_resolution.setAttribute('value', files[i]['resolution']);
357
+ td_filename.appendChild(input_resolution);
358
+ var input_size = document.createElement('input');
359
+ input_size.setAttribute('id', "input_size_" + j);
360
+ input_size.setAttribute('name', "input_size_" + j);
361
+ input_size.setAttribute('type', "hidden");
362
+ input_size.setAttribute('value', files[i]['size']);
363
+ td_filename.appendChild(input_size);
364
+ var input_filetype = document.createElement('input');
365
+ input_filetype.setAttribute('id', "input_filetype_" + j);
366
+ input_filetype.setAttribute('name', "input_filetype_" + j);
367
+ input_filetype.setAttribute('type', "hidden");
368
+ input_filetype.setAttribute('value', files[i]['filetype']);
369
+ td_filename.appendChild(input_filetype);
370
+ // Alt/Title TD.
371
+ var td_alt = document.createElement('td');
372
+ td_alt.setAttribute('class', "table_extra_large_col");
373
+ tr.appendChild(td_alt);
374
+ var input_alt = document.createElement('input');
375
+ input_alt.setAttribute('id', "image_alt_text_" + j);
376
+ input_alt.setAttribute('name', "image_alt_text_" + j);
377
+ input_alt.setAttribute('type', "text");
378
+ input_alt.setAttribute('size', "24");
379
+ input_alt.setAttribute('value', files[i]['filename']);
380
+ td_alt.appendChild(input_alt);
381
+ // Description TD.
382
+ var td_desc = document.createElement('td');
383
+ td_desc.setAttribute('class', "table_extra_large_col");
384
+ tr.appendChild(td_desc);
385
+ var textarea_desc = document.createElement('textarea');
386
+ textarea_desc.setAttribute('id', "image_description_" + j);
387
+ textarea_desc.setAttribute('name', "image_description_" + j);
388
+ textarea_desc.setAttribute('rows', "2");
389
+ textarea_desc.setAttribute('cols', "20");
390
+ textarea_desc.setAttribute('style', "resize:vertical;");
391
+ td_desc.appendChild(textarea_desc);
392
+ // Tag TD.
393
+ var td_tag = document.createElement('td');
394
+ td_tag.setAttribute('class', "table_extra_large_col");
395
+ tr.appendChild(td_tag);
396
+ var a_tag = document.createElement('a');
397
+ a_tag.setAttribute('class', "button button-small button-primary thickbox thickbox-preview");
398
+ a_tag.setAttribute('href', "<?php echo add_query_arg(array('action' => 'addTags', 'width' => '650', 'height' => '500'), admin_url('admin-ajax.php')); ?>&image_id=" + j + "&TB_iframe=1");
399
+ a_tag.innerHTML = 'Add tag';
400
+ td_tag.appendChild(a_tag);
401
+ var div_tag = document.createElement('div');
402
+ div_tag.setAttribute('class', "tags_div");
403
+ div_tag.setAttribute('id', "tags_div_" + j);
404
+ td_tag.appendChild(div_tag);
405
+ var hidden_tag = document.createElement('input');
406
+ hidden_tag.setAttribute('type', "hidden");
407
+ hidden_tag.setAttribute('id', "tags_" + j);
408
+ hidden_tag.setAttribute('name', "tags_" + j);
409
+ hidden_tag.setAttribute('value', "");
410
+ td_tag.appendChild(hidden_tag);
411
+ // Order TD.
412
+ var td_order = document.createElement('td');
413
+ td_order.setAttribute('class', "spider_order table_medium_col");
414
+ td_order.setAttribute('style', "display: none;");
415
+ tr.appendChild(td_order);
416
+ var input_order = document.createElement('input');
417
+ input_order.setAttribute('id', "order_input_" + j);
418
+ input_order.setAttribute('name', "order_input_" + j);
419
+ input_order.setAttribute('type', "text");
420
+ input_order.setAttribute('value', 0 - j_int);
421
+ input_order.setAttribute('size', "1");
422
+ td_order.appendChild(input_order);
423
+ // Publish TD.
424
+ var td_publish = document.createElement('td');
425
+ td_publish.setAttribute('class', "table_big_col");
426
+ tr.appendChild(td_publish);
427
+ var a_publish = document.createElement('a');
428
+ a_publish.setAttribute('onclick', "spider_set_input_value('ajax_task', 'image_unpublish');spider_set_input_value('image_current_id', '" + j + "');spider_ajax_save('galleries_form');");
429
+ td_publish.appendChild(a_publish);
430
+ var img_publish = document.createElement('img');
431
+ img_publish.setAttribute('src', "<?php echo WD_BWG_URL . '/images/publish.png'; ?>");
432
+ a_publish.appendChild(img_publish);
433
+ // Delete TD.
434
+ var td_delete = document.createElement('td');
435
+ td_delete.setAttribute('class', "table_big_col");
436
+ tr.appendChild(td_delete);
437
+ var a_delete = document.createElement('a');
438
+ a_delete.setAttribute('onclick', "spider_set_input_value('ajax_task', 'image_delete');spider_set_input_value('image_current_id', '" + j + "');spider_ajax_save('galleries_form');");
439
+ a_delete.innerHTML = 'Delete';
440
+ td_delete.appendChild(a_delete);
441
+ document.getElementById("ids_string").value += j + ',';
442
+ j_int++;
443
+ j = 'pr_' + j_int;
444
+ jQuery("#show_hide_weights").val("Hide order column");
445
+ spider_show_hide_weights();
446
+ }
447
+ }
448
+ </script>
449
+ <form class="wrap" method="post" id="galleries_form" action="admin.php?page=galleries_bwg" style="float: left; width: 95%;">
450
+ <span class="gallery-icon"></span>
451
+ <h2><?php echo $page_title; ?></h2>
452
+ <div style="float:right;">
453
+ <input class="button" type="submit" onclick="if (spider_check_required('name', 'Name')) {return false;};
454
+ spider_set_input_value('task', 'save')" value="Save" />
455
+ <input class="button" type="submit" onclick="if (spider_check_required('name', 'Name')) {return false;};
456
+ spider_set_input_value('task', 'apply')" value="Apply" />
457
+ <input class="button" type="submit" onclick="spider_set_input_value('task', 'cancel')" value="Cancel" />
458
+ </div>
459
+ <table style="clear:both;">
460
+ <tbody>
461
+ <tr>
462
+ <td class="spider_label"><label for="name">Name: <span style="color:#FF0000;">*</span> </label></td>
463
+ <td><input type="text" id="name" name="name" value="<?php echo $row->name; ?>" size="39" /></td>
464
+ </tr>
465
+ <tr>
466
+ <td class="spider_label"><label for="slug">Slug: </label></td>
467
+ <td><input type="text" id="slug" name="slug" value="<?php echo $row->slug; ?>" size="39" /></td>
468
+ </tr>
469
+ <tr>
470
+ <td class="spider_label"><label for="description">Description: </label></td>
471
+ <td>
472
+ <div style="width:500px;">
473
+ <?php
474
+ if (user_can_richedit()) {
475
+ wp_editor($row->description, 'description', array('teeny' => FALSE, 'textarea_name' => 'description', 'media_buttons' => FALSE, 'textarea_rows' => 5));
476
+ }
477
+ else {
478
+ ?>
479
+ <textarea cols="36" rows="5" id="description" name="description" style="resize:vertical">
480
+ <?php echo $row->description; ?>
481
+ </textarea>
482
+ <?php
483
+ }
484
+ ?>
485
+ </div>
486
+ </td>
487
+ </tr>
488
+ <tr>
489
+ <td class="spider_label"><label>Author: </label></td>
490
+ <td><?php echo get_userdata($row->author)->display_name; ?></td>
491
+ </tr>
492
+ <tr>
493
+ <td class="spider_label"><label for="published1">Published: </label></td>
494
+ <td>
495
+ <input type="radio" class="inputbox" id="published0" name="published" <?php echo (($row->published) ? '' : 'checked="checked"'); ?> value="0" >
496
+ <label for="published0">No</label>
497
+ <input type="radio" class="inputbox" id="published1" name="published" <?php echo (($row->published) ? 'checked="checked"' : ''); ?> value="1" >
498
+ <label for="published1">Yes</label>
499
+ </td>
500
+ </tr>
501
+ <tr>
502
+ <td class="spider_label"><label for="url">Preview image: </label></td>
503
+ <td>
504
+ <a href="<?php echo add_query_arg(array('action' => 'addImages', 'width' => '700', 'height' => '550', 'extensions' => 'jpg,jpeg,png,gif', 'callback' => 'bwg_add_preview_image', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>"
505
+ id="button_preview_image"
506
+ class="button-primary thickbox thickbox-preview"
507
+ title="Add Preview Image"
508
+ onclick="return false;"
509
+ style="margin-bottom:5px; display:none;">
510
+ Add Preview Image
511
+ </a>
512
+ <input type="hidden" id="preview_image" name="preview_image" value="<?php echo $row->preview_image; ?>" style="display:inline-block;"/>
513
+ <img id="img_preview_image"
514
+ style="max-height:90px; max-width:120px; vertical-align:middle;"
515
+ src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $row->preview_image; ?>">
516
+ <span id="delete_preview_image" class="spider_delete_img"
517
+ onclick="spider_remove_url('button_preview_image', 'preview_image', 'delete_preview_image', 'img_preview_image')"></span>
518
+ </td>
519
+ </tr>
520
+ <!--<tr>
521
+ <td class="spider_label"><label for="content-add_media">Images: </label></td>
522
+ <td>
523
+ <a href="<?php echo add_query_arg(array('action' => 'addImages', 'width' => '700', 'height' => '550', 'extensions' => 'jpg,jpeg,png,gif', 'callback' => 'bwg_add_image', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>" class="button-primary thickbox thickbox-preview" id="content-add_media" title="Add Images" onclick="return false;" style="margin-bottom:5px;">
524
+ Add Images
525
+ </a>
526
+ </td>
527
+ </tr>-->
528
+ <tr>
529
+ <td colspan=2>
530
+ <?php
531
+ echo $this->image_display($id);
532
+ ?>
533
+ </td>
534
+ </tr>
535
+ </tbody>
536
+ </table>
537
+ <input id="task" name="task" type="hidden" value="" />
538
+ <input id="current_id" name="current_id" type="hidden" value="<?php echo $row->id; ?>" />
539
+ <script>
540
+ <?php
541
+ if ($row->preview_image == '') {
542
+ ?>
543
+ spider_remove_url('button_preview_image', 'preview_image', 'delete_preview_image', 'img_preview_image');
544
+ <?php
545
+ }
546
+ ?>
547
+ </script>
548
+ </form>
549
+ <?php
550
+ }
551
+
552
+ public function image_display($id) {
553
+ global $WD_BWG_UPLOAD_DIR;
554
+ $rows_data = $this->model->get_image_rows_data($id);
555
+ $page_nav = $this->model->image_page_nav($id);
556
+ $search_value = ((isset($_POST['search_value'])) ? esc_html(stripslashes($_POST['search_value'])) : '');
557
+ $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
558
+ $image_order_by = (isset($_POST['image_order_by']) ? esc_html(stripslashes($_POST['image_order_by'])) : 'order');
559
+ $order_class = 'manage-column column-title sorted ' . $asc_or_desc;
560
+ $ids_string = '';
561
+ ?>
562
+ <div id="draganddrop" class="updated" style="display:none;"><strong><p>Changes made in this table should be saved.</p></strong></div>
563
+ <a style="margin: 5px 0;" href="<?php echo add_query_arg(array('action' => 'addImages', 'width' => '700', 'height' => '550', 'extensions' => 'jpg,jpeg,png,gif', 'callback' => 'bwg_add_image', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>" class="button-primary thickbox thickbox-preview" id="content-add_media" title="Add Images" onclick="return false;" style="margin-bottom:5px;">
564
+ Add Images
565
+ </a>
566
+ <div class="buttons_div">
567
+
568
+ <input id="show_hide_weights" class="button" type="button" onclick="spider_show_hide_weights();return false;" value="Hide order column" />
569
+ <input class="button-primary" type="submit" onclick="spider_set_input_value('ajax_task', 'image_set_watermark');
570
+ spider_ajax_save('galleries_form');
571
+ return false;" value="Set Watermark" />
572
+ <input class="button" type="submit" onclick="spider_set_input_value('ajax_task', 'image_recover_all');
573
+ spider_ajax_save('galleries_form');
574
+ return false;" value="Reset" />
575
+ <!--<input class="button-primary" type="submit" onclick="spider_set_input_value('ajax_task', '');
576
+ spider_ajax_save('galleries_form');
577
+ return false;" value="Save Images" />-->
578
+ <input class="button" type="submit" onclick="spider_set_input_value('ajax_task', 'image_publish_all');
579
+ spider_ajax_save('galleries_form');
580
+ return false;" value="Publish" />
581
+ <input class="button" type="submit" onclick="spider_set_input_value('ajax_task', 'image_unpublish_all');
582
+ spider_ajax_save('galleries_form');
583
+ return false;" value="Unpublish" />
584
+ <input class="button" type="submit" onclick="if (confirm('Do you want to delete selected items?')) {
585
+ spider_set_input_value('ajax_task', 'image_delete_all');
586
+ spider_ajax_save('galleries_form');
587
+ return false;
588
+ } else {
589
+ return false;
590
+ }" value="Delete" />
591
+ </div>
592
+ <div class="tablenav top">
593
+ <?php
594
+ WDWLibrary::ajax_search('Filename', $search_value, 'galleries_form');
595
+ WDWLibrary::ajax_html_page_nav($page_nav['total'], $page_nav['limit'], 'galleries_form');
596
+ ?>
597
+ </div>
598
+ <div id="opacity_div" style="display:none; background-color:rgba(0, 0, 0, 0.2); position: absolute;"></div>
599
+ <div id="loading_div" style="display:none; text-align:center; position:absolute;">
600
+ <img src="<?php echo WD_BWG_URL . '/images/ajax_loader.png'; ?>" class="spider_ajax_loading" style="margin-top:60px; width:50px;">
601
+ </div>
602
+ <table id="images_table" class="wp-list-table widefat fixed pages">
603
+ <thead>
604
+ <th class="check-column table_small_col"></th>
605
+ <th class="manage-column column-cb check-column table_small_col"><input id="check_all" type="checkbox" style="margin:0;" /></th>
606
+ <th class="table_extra_large_col">Thumbnail</th>
607
+ <th class="table_extra_large_col <?php if ($image_order_by == 'filename') {echo $order_class;} ?>">
608
+ <a onclick="spider_set_input_value('task', '');
609
+ spider_set_input_value('image_order_by', 'filename');
610
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['image_order_by']) && (esc_html(stripslashes($_POST['image_order_by'])) == 'filename') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
611
+ spider_ajax_save('galleries_form');">
612
+ <span>Filename</span><span class="sorting-indicator"></span>
613
+ </a>
614
+ </th>
615
+ <th class="table_extra_large_col <?php if ($image_order_by == 'alt') {echo $order_class;} ?>">
616
+ <a onclick="spider_set_input_value('task', '');
617
+ spider_set_input_value('image_order_by', 'alt');
618
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['image_order_by']) && (esc_html(stripslashes($_POST['image_order_by'])) == 'alt') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
619
+ spider_ajax_save('galleries_form');">
620
+ <span>Alt/Title</span><span class="sorting-indicator"></span>
621
+ </a>
622
+ </th>
623
+ <th class="table_extra_large_col <?php if ($image_order_by == 'description') {echo $order_class;} ?>">
624
+ <a onclick="spider_set_input_value('task', '');
625
+ spider_set_input_value('image_order_by', 'description');
626
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['image_order_by']) && (esc_html(stripslashes($_POST['image_order_by'])) == 'description') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
627
+ spider_ajax_save('galleries_form');">
628
+ <span>Description</span><span class="sorting-indicator"></span>
629
+ </a>
630
+ </th>
631
+ <th class="table_extra_large_col">Tags</th>
632
+ <th id="th_order" class="table_medium_col <?php if ($image_order_by == 'order') {echo $order_class;} ?>">
633
+ <a onclick="spider_set_input_value('task', '');
634
+ spider_set_input_value('image_order_by', 'order');
635
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['image_order_by']) && (esc_html(stripslashes($_POST['image_order_by'])) == 'order') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
636
+ spider_ajax_save('galleries_form');">
637
+ <span>Order</span><span class="sorting-indicator"></span>
638
+ </a>
639
+ </th>
640
+ <th class="table_big_col <?php if ($image_order_by == 'published') {echo $order_class;} ?>">
641
+ <a onclick="spider_set_input_value('task', '');
642
+ spider_set_input_value('image_order_by', 'published');
643
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['image_order_by']) && (esc_html(stripslashes($_POST['image_order_by'])) == 'published') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
644
+ spider_ajax_save('galleries_form');">
645
+ <span>Published</span><span class="sorting-indicator"></span>
646
+ </a>
647
+ </th>
648
+ <th class="table_big_col">Delete</th>
649
+ </thead>
650
+ <tbody id="tbody_arr">
651
+ <?php
652
+ if ($rows_data) {
653
+ foreach ($rows_data as $row_data) {
654
+ $alternate = (!isset($alternate) || $alternate == 'class="alternate"') ? '' : 'class="alternate"';
655
+ $rows_tag_data = $this->model->get_tag_rows_data($row_data->id);
656
+ $published_image = (($row_data->published) ? 'publish' : 'unpublish');
657
+ $published = (($row_data->published) ? 'unpublish' : 'publish');
658
+ ?>
659
+ <tr id="tr_<?php echo $row_data->id; ?>" <?php echo $alternate; ?>>
660
+ <td class="connectedSortable table_small_col"><div title="Drag to re-order" class="handle" style="margin:5px auto 0 auto;"></div></td>
661
+ <td class="table_small_col check-column"><input id="check_<?php echo $row_data->id; ?>" name="check_<?php echo $row_data->id; ?>" type="checkbox" /></td>
662
+ <td class="table_extra_large_col">
663
+ <a class="thickbox thickbox-preview" title="<?php echo $row_data->filename; ?>" href="<?php echo add_query_arg(array('action' => 'editThumb', 'type' => 'display'/*thumb_display*/, 'image_id' => $row_data->id, 'width' => '800', 'height' => '500', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>">
664
+ <img id="image_thumb_<?php echo $row_data->id; ?>" class="thumb" src="<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR . $row_data->thumb_url . '?date=' . date('Y-m-y H:i:s'); ?>">
665
+ </a>
666
+ </td>
667
+ <td class="table_extra_large_col">
668
+ <div class="filename" id="filename_<?php echo $row_data->id; ?>">
669
+ <strong><a title="<?php echo $row_data->filename; ?>" class="spider_word_wrap thickbox thickbox-preview" href="<?php echo add_query_arg(array('action' => 'editThumb', 'type' => 'display', 'image_id' => $row_data->id, 'width' => '800', 'height' => '500', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>"><?php echo $row_data->filename; ?></a></strong>
670
+ </div>
671
+ <div class="fileDescription" title="Date modified" id="date_modified_<?php echo $row_data->id; ?>"><?php echo date("d F Y, H:i", strtotime($row_data->date)); ?></div>
672
+ <div class="fileDescription" title="Image Resolution" id="fileresolution_<?php echo $row_data->id; ?>"><?php echo $row_data->resolution; ?></div>
673
+ <div class="fileDescription" title="Image size" id="filesize_<?php echo $row_data->id; ?>"><?php echo $row_data->size; ?></div>
674
+ <div class="fileDescription" title="Image type" id="filetype_<?php echo $row_data->id; ?>"><?php echo $row_data->filetype; ?></div>
675
+ <div>
676
+ <span class="edit_thumb"><a class="thickbox thickbox-preview" href="<?php echo add_query_arg(array('action' => 'editThumb', 'type' => 'crop', 'image_id' => $row_data->id, 'TB_iframe' => '1', 'width' => '800', 'height' => '500'), admin_url('admin-ajax.php')); ?>">Crop</a></span> |
677
+ <span class="edit_thumb"><a class="thickbox thickbox-preview" href="<?php echo add_query_arg(array('action' => 'editThumb', 'type' => 'rotate', 'image_id' => $row_data->id, 'width' => '800', 'height' => '500', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>">Rotate</a></span> |
678
+ <span class="edit_thumb"><a onclick="if (confirm('Do you want to reset the image?')) {
679
+ spider_set_input_value('ajax_task', 'recover');
680
+ spider_set_input_value('image_current_id', '<?php echo $row_data->id; ?>');
681
+ spider_ajax_save('galleries_form');
682
+ }
683
+ return false;">Reset</a></span>
684
+ </div>
685
+ <input type="hidden" id="image_url_<?php echo $row_data->id; ?>" name="image_url_<?php echo $row_data->id; ?>" value="<?php echo $row_data->image_url; ?>" />
686
+ <input type="hidden" id="thumb_url_<?php echo $row_data->id; ?>" name="thumb_url_<?php echo $row_data->id; ?>" value="<?php echo $row_data->thumb_url; ?>" />
687
+ <input type="hidden" id="input_filename_<?php echo $row_data->id; ?>" name="input_filename_<?php echo $row_data->id; ?>" value="<?php echo $row_data->filename; ?>" />
688
+ <input type="hidden" id="input_date_modified_<?php echo $row_data->id; ?>" name="input_date_modified_<?php echo $row_data->id; ?>" value="<?php echo $row_data->date; ?>" />
689
+ <input type="hidden" id="input_resolution_<?php echo $row_data->id; ?>" name="input_resolution_<?php echo $row_data->id; ?>" value="<?php echo $row_data->resolution; ?>" />
690
+ <input type="hidden" id="input_size_<?php echo $row_data->id; ?>" name="input_size_<?php echo $row_data->id; ?>" value="<?php echo $row_data->size; ?>" />
691
+ <input type="hidden" id="input_filetype_<?php echo $row_data->id; ?>" name="input_filetype_<?php echo $row_data->id; ?>" value="<?php echo $row_data->filetype; ?>" />
692
+ </td>
693
+ <td class="table_extra_large_col">
694
+ <input size="24" type="text" id="image_alt_text_<?php echo $row_data->id; ?>" name="image_alt_text_<?php echo $row_data->id; ?>" value="<?php echo $row_data->alt; ?>" />
695
+ </td>
696
+ <td class="table_extra_large_col">
697
+ <textarea cols="20" rows="2" id="image_description_<?php echo $row_data->id; ?>" name="image_description_<?php echo $row_data->id; ?>" style="resize:vertical;"><?php echo $row_data->description; ?></textarea>
698
+ </td>
699
+ <td class="table_extra_large_col">
700
+ <a href="<?php echo add_query_arg(array('action' => 'addTags', 'image_id' => $row_data->id, 'width' => '650', 'height' => '500', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>" class="button button-small button-primary thickbox thickbox-preview">Add tag</a>
701
+ <div class="tags_div" id="tags_div_<?php echo $row_data->id; ?>">
702
+ <?php
703
+ $tags_id_string = '';
704
+ if ($rows_tag_data) {
705
+ foreach($rows_tag_data as $row_tag_data) {
706
+ ?>
707
+ <div class="tag_div" id="<?php echo $row_data->id; ?>_tag_<?php echo $row_tag_data->term_id; ?>">
708
+ <span class="tag_name"><?php echo $row_tag_data->name; ?></span>
709
+ <span style="float:right;" class="spider_delete_img_small" onclick="bwg_remove_tag('<?php echo $row_tag_data->term_id; ?>', '<?php echo $row_data->id; ?>')" />
710
+ </div>
711
+ <?php
712
+ $tags_id_string .= $row_tag_data->term_id . ',';
713
+ }
714
+ }
715
+ ?>
716
+ </div>
717
+ <input type="hidden" value="<?php echo $tags_id_string; ?>" id="tags_<?php echo $row_data->id; ?>" name="tags_<?php echo $row_data->id; ?>"/>
718
+ </td>
719
+ <td class="spider_order table_medium_col"><input id="order_input_<?php echo $row_data->id; ?>" name="order_input_<?php echo $row_data->id; ?>" type="text" size="1" value="<?php echo $row_data->order; ?>" /></td>
720
+ <td class="table_big_col"><a onclick="spider_set_input_value('ajax_task', 'image_<?php echo $published; ?>');
721
+ spider_set_input_value('image_current_id', '<?php echo $row_data->id; ?>');
722
+ spider_ajax_save('galleries_form');"><img src="<?php echo WD_BWG_URL . '/images/' . $published_image . '.png'; ?>"></img></a></td>
723
+ <td class="table_big_col"><a onclick="spider_set_input_value('ajax_task', 'image_delete');
724
+ spider_set_input_value('image_current_id', '<?php echo $row_data->id; ?>');
725
+ spider_ajax_save('galleries_form');">Delete</a></td>
726
+ </tr>
727
+ <?php
728
+ $ids_string .= $row_data->id . ',';
729
+ }
730
+ }
731
+ ?>
732
+ <input id="ids_string" name="ids_string" type="hidden" value="<?php echo $ids_string; ?>" />
733
+ <input id="asc_or_desc" name="asc_or_desc" type="hidden" value="asc" />
734
+ <input id="image_order_by" name="image_order_by" type="hidden" value="<?php echo $image_order_by; ?>" />
735
+ <input id="ajax_task" name="ajax_task" type="hidden" value="" />
736
+ <input id="image_current_id" name="image_current_id" type="hidden" value="" />
737
+ </tbody>
738
+ </table>
739
+ <script>
740
+ window.onload = spider_show_hide_weights;
741
+ </script>
742
+ <?php
743
+ }
744
+
745
+ ////////////////////////////////////////////////////////////////////////////////////////
746
+ // Getters & Setters //
747
+ ////////////////////////////////////////////////////////////////////////////////////////
748
+ ////////////////////////////////////////////////////////////////////////////////////////
749
+ // Private Methods //
750
+ ////////////////////////////////////////////////////////////////////////////////////////
751
+ ////////////////////////////////////////////////////////////////////////////////////////
752
+ // Listeners //
753
+ ////////////////////////////////////////////////////////////////////////////////////////
754
+ }
admin/views/BWGViewLicensing_bwg.php ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGViewLicensing_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $model;
14
+
15
+
16
+ ////////////////////////////////////////////////////////////////////////////////////////
17
+ // Constructor & Destructor //
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ public function __construct($model) {
20
+ $this->model = $model;
21
+ }
22
+ ////////////////////////////////////////////////////////////////////////////////////////
23
+ // Public Methods //
24
+ ////////////////////////////////////////////////////////////////////////////////////////
25
+ public function display() {
26
+ ?>
27
+ <div style="text-align:center; float: left;">
28
+ <table class="data-bordered">
29
+ <thead>
30
+ <tr>
31
+ <th class="top first" nowrap="nowrap" scope="col">Features of the Gallery</th>
32
+ <th class="top notranslate" nowrap="nowrap" scope="col">Free</th>
33
+ <th class="top notranslate" nowrap="nowrap" scope="col">Pro Version</th>
34
+ </tr>
35
+ </thead>
36
+ <tbody>
37
+ <tr class="alt">
38
+ <td>WordPress 3.4+ ready</td>
39
+ <td class="icon-replace yes">yes</td>
40
+ <td class="icon-replace yes">yes</td>
41
+ </tr>
42
+ <tr>
43
+ <td>SEO-friendly</td>
44
+ <td class="icon-replace yes">yes</td>
45
+ <td class="icon-replace yes">yes</td>
46
+ </tr>
47
+ <tr class="alt">
48
+ <td>Responsive Design and Layout</td>
49
+ <td class="icon-replace yes">yes</td>
50
+ <td class="icon-replace yes">yes</td>
51
+ </tr>
52
+ <tr>
53
+ <td>Full Back End Management</td>
54
+ <td class="icon-replace yes">yes</td>
55
+ <td class="icon-replace yes">yes</td>
56
+ </tr>
57
+ <tr class="alt">
58
+ <td>Default Theme + Possibility of Creating New Themes</td>
59
+ <td class="icon-replace yes">yes</td>
60
+ <td class="icon-replace yes">yes</td>
61
+ </tr>
62
+ <tr>
63
+ <td>Watermarking Possibility</td>
64
+ <td class="icon-replace yes">yes</td>
65
+ <td class="icon-replace yes">yes</td>
66
+ </tr>
67
+ <tr class="alt">
68
+ <td>Advertising Possibility</td>
69
+ <td class="icon-replace yes">yes</td>
70
+ <td class="icon-replace yes">yes</td>
71
+ </tr>
72
+ <tr>
73
+ <td>Image Download</td>
74
+ <td class="icon-replace yes">yes</td>
75
+ <td class="icon-replace yes">yes</td>
76
+ </tr>
77
+ <tr class="alt">
78
+ <td>Standard Thumbnails View</td>
79
+ <td class="icon-replace yes">yes</td>
80
+ <td class="icon-replace yes">yes</td>
81
+ </tr>
82
+ <tr>
83
+ <td>Standard Slideshow View</td>
84
+ <td class="icon-replace yes">yes</td>
85
+ <td class="icon-replace yes">yes</td>
86
+ </tr>
87
+ <tr class="alt">
88
+ <td>Standard Image Browser View</td>
89
+ <td class="icon-replace yes">yes</td>
90
+ <td class="icon-replace yes">yes</td>
91
+ </tr>
92
+ <tr>
93
+ <td>Standard Compact Album</td>
94
+ <td class="icon-replace yes">yes</td>
95
+ <td class="icon-replace yes">yes</td>
96
+ </tr>
97
+ <tr class="alt">
98
+ <td>Standard Extended Album</td>
99
+ <td class="icon-replace yes">yes</td>
100
+ <td class="icon-replace yes">yes</td>
101
+ </tr>
102
+ <tr>
103
+ <td>Basic Tag Cloud Widget</td>
104
+ <td class="icon-replace yes">yes</td>
105
+ <td class="icon-replace yes">yes</td>
106
+ </tr>
107
+ <tr class="alt">
108
+ <td>Photo Gallery Slideshow Widget</td>
109
+ <td class="icon-replace yes">yes</td>
110
+ <td class="icon-replace yes">yes</td>
111
+ </tr>
112
+ <tr>
113
+ <td>Photo Gallery Widget</td>
114
+ <td class="icon-replace yes">yes</td>
115
+ <td class="icon-replace yes">yes</td>
116
+ </tr>
117
+ <tr class="alt">
118
+ <td>Slideshow/Lightbox Effects</td>
119
+ <td style="text-align:center;">5</td>
120
+ <td style="text-align:center;">15</td>
121
+ </tr>
122
+ <tr>
123
+ <td>Standard Masonry View </td>
124
+ <td class="icon-replace no">no</td>
125
+ <td class="icon-replace yes">yes</td>
126
+ </tr>
127
+ <tr class="alt">
128
+ <td>Standard Blog Style View</td>
129
+ <td class="icon-replace no">no</td>
130
+ <td class="icon-replace yes">yes</td>
131
+ </tr>
132
+ <tr>
133
+ <td>Pro Thumbnails View</td>
134
+ <td class="icon-replace no">no</td>
135
+ <td class="icon-replace yes">yes</td>
136
+ </tr>
137
+ <tr class="alt">
138
+ <td>Pro Slideshow View</td>
139
+ <td class="icon-replace no">no</td>
140
+ <td class="icon-replace yes">yes</td>
141
+ </tr>
142
+ <tr>
143
+ <td>Pro Image Browser View</td>
144
+ <td class="icon-replace no">no</td>
145
+ <td class="icon-replace yes">yes</td>
146
+ </tr>
147
+ <tr class="alt">
148
+ <td>Pro Compact Album</td>
149
+ <td class="icon-replace no">no</td>
150
+ <td class="icon-replace yes">yes</td>
151
+ </tr>
152
+ <tr>
153
+ <td>Pro Extended Album</td>
154
+ <td class="icon-replace no">no</td>
155
+ <td class="icon-replace yes">yes</td>
156
+ </tr>
157
+ <tr class="alt">
158
+ <td>Image Commenting</td>
159
+ <td class="icon-replace no">no</td>
160
+ <td class="icon-replace yes">yes</td>
161
+ </tr>
162
+ <tr>
163
+ <td>Image Social Sharing</td>
164
+ <td class="icon-replace no">no</td>
165
+ <td class="icon-replace yes">yes</td>
166
+ </tr>
167
+ <tr class="alt">
168
+ <td>Photo Gallery Tags Cloud Widget</td>
169
+ <td class="icon-replace no">no</td>
170
+ <td class="icon-replace yes">yes</td>
171
+ </tr>
172
+ </tbody>
173
+ </table>
174
+ </div>
175
+ <div style="float: right; text-align: right;">
176
+ <a style="color: red; text-decoration: none;" target="_blank" href="http://web-dorado.com/products/wordpress-photo-gallery-plugin.html">
177
+ <img width="215" border="0" alt="web-dorado.com" src="<?php echo WD_BWG_URL . '/images/header.png'; ?>" />
178
+ <p style="font-size: 16px; margin: 0; padding: 0 20px 0 0;">Get the full version</p>
179
+ </a>
180
+ </div>
181
+ <div style="float: left; clear: both;">
182
+ <p>After the purchasing the commercial version follow this steps:</p>
183
+ <ol>
184
+ <li>Deactivate Photo Gallery plugin.</li>
185
+ <li>Delete Photo Gallery plugin.</li>
186
+ <li>Install the downloaded commercial version of the plugin.</li>
187
+ </ol>
188
+ </div>
189
+ <?php
190
+ }
191
+ ////////////////////////////////////////////////////////////////////////////////////////
192
+ // Getters & Setters //
193
+ ////////////////////////////////////////////////////////////////////////////////////////
194
+ ////////////////////////////////////////////////////////////////////////////////////////
195
+ // Private Methods //
196
+ ////////////////////////////////////////////////////////////////////////////////////////
197
+ ////////////////////////////////////////////////////////////////////////////////////////
198
+ // Listeners //
199
+ ////////////////////////////////////////////////////////////////////////////////////////
200
+ }
admin/views/BWGViewOptions_bwg.php ADDED
@@ -0,0 +1,1067 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGViewOptions_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $model;
14
+
15
+
16
+ ////////////////////////////////////////////////////////////////////////////////////////
17
+ // Constructor & Destructor //
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ public function __construct($model) {
20
+ $this->model = $model;
21
+ }
22
+ ////////////////////////////////////////////////////////////////////////////////////////
23
+ // Public Methods //
24
+ ////////////////////////////////////////////////////////////////////////////////////////
25
+ public function display($reset = FALSE) {
26
+ global $WD_BWG_UPLOAD_DIR;
27
+ ?>
28
+ <div style="clear: both; float: left; width: 95%;">
29
+ <div style="float:left; font-size: 14px; font-weight: bold;">
30
+ This section allows you to change settings for different views and general options.
31
+ <a style="color: blue; text-decoration: none;" target="_blank" href="http://web-dorado.com/wordpress-gallery-guide-step-5/5-1.html">Read More in User Manual</a>
32
+ </div>
33
+ <div style="float: right; text-align: right;">
34
+ <a style="color: red; text-decoration: none;" target="_blank" href="http://web-dorado.com/products/wordpress-photo-gallery-plugin.html">
35
+ <img width="215" border="0" alt="web-dorado.com" src="<?php echo WD_BWG_URL . '/images/header.png'; ?>" />
36
+ <p style="font-size: 16px; margin: 0; padding: 0 20px 0 0;">Get the full version</p>
37
+ </a>
38
+ </div>
39
+ </div>
40
+ <script>
41
+ function bwg_add_music(files) {
42
+ document.getElementById("slideshow_audio_url").value = files[0]['url'];
43
+ }
44
+ function bwg_add_built_in_watermark_image(files) {
45
+ document.getElementById("built_in_watermark_url").value = '<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR; ?>' + files[0]['url'];
46
+ }
47
+ function bwg_add_watermark_image(files) {
48
+ document.getElementById("watermark_url").value = '<?php echo site_url() . '/' . $WD_BWG_UPLOAD_DIR; ?>' + files[0]['url'];
49
+ }
50
+ </script>
51
+ <?php
52
+ $row = $this->model->get_row_data($reset);
53
+ $built_in_watermark_fonts = array();
54
+ foreach (scandir(path_join(WD_BWG_DIR, 'fonts')) as $filename) {
55
+ if (strpos($filename, '.') === 0) continue;
56
+ else $built_in_watermark_fonts[] = $filename;
57
+ }
58
+ $watermark_fonts = array(
59
+ 'arial' => 'Arial',
60
+ 'Lucida grande' => 'Lucida grande',
61
+ 'segoe ui' => 'Segoe ui',
62
+ 'tahoma' => 'Tahoma',
63
+ 'trebuchet ms' => 'Trebuchet ms',
64
+ 'verdana' => 'Verdana',
65
+ 'cursive' =>'Cursive',
66
+ 'fantasy' => 'Fantasy',
67
+ 'monospace' => 'Monospace',
68
+ 'serif' => 'Serif',
69
+ );
70
+ $effects = array(
71
+ 'none' => 'None',
72
+ 'cubeH' => 'Cube Horizontal',
73
+ 'fade' => 'Fade',
74
+ 'sliceV' => 'Slice Vertical',
75
+ 'scaleOut' => 'Scale Out',
76
+ 'blindH' => 'Blind Horizontal',
77
+ );
78
+ ?>
79
+ <form method="post" class="wrap" action="admin.php?page=options_bwg" style="float: left; width: 95%;">
80
+ <span class="option-icon"></span>
81
+ <h2>Edit options</h2>
82
+ <div style="display: inline-block; width: 100%;">
83
+ <div style="float: right;">
84
+ <input class="button-primary" type="submit" onclick="if (spider_check_required('title', 'Title')) {return false;}; spider_set_input_value('task', 'save')" value="Save" />
85
+ <input class="button" type="submit" onclick="if (confirm('Do you want to reset to default?')) {
86
+ spider_set_input_value('task', 'reset');
87
+ } else {
88
+ return false;
89
+ }" value="Reset all options" />
90
+ </div>
91
+ </div>
92
+ <div style="display: none; width: 100%;" id="display_panel">
93
+ <div style="float:left;">
94
+ <div id="div_1" class="gallery_type" onclick="bwg_change_option_type('1')"> Global options</div><br/>
95
+ <div id="div_8" class="gallery_type" onclick="bwg_change_option_type('8')"> Watermark</div><br/>
96
+ <div id="div_2" class="gallery_type" onclick="bwg_change_option_type('2')"> Advertisement</div><br/>
97
+ <div id="div_3" class="gallery_type" onclick="bwg_change_option_type('3')"> Lightbox</div><br/>
98
+ <div id="div_4" class="gallery_type" onclick="bwg_change_option_type('4')"> Album options</div><br/>
99
+ <div id="div_5" class="gallery_type" onclick="bwg_change_option_type('5')"> Slideshow</div><br/>
100
+ <div id="div_6" class="gallery_type" onclick="bwg_change_option_type('6')"> Thumbnail options</div><br/>
101
+ <div id="div_7" class="gallery_type" onclick="bwg_change_option_type('7')"> Image options</div><br/>
102
+ <input type="hidden" id="type" name="type" value="<?php echo (isset($_POST["type"]) ? esc_html(stripslashes($_POST["type"])) : "1"); ?>"/>
103
+ </div>
104
+
105
+ <!--Global options-->
106
+ <div class="spider_div_options" id="div_content_1">
107
+ <table>
108
+ <tbody>
109
+ <tr>
110
+ <td class="spider_label_options">
111
+ <label for="images_directory">Images directory:</label>
112
+ </td>
113
+ <td>
114
+ <input id="images_directory" name="images_directory" type="text" style="display:inline-block; width:100%;" value="<?php echo $row->images_directory; ?>" />
115
+ <input type="hidden" id="old_images_directory" name="old_images_directory" value="<?php echo $row->old_images_directory; ?>"/>
116
+ <div class="spider_description">Input an existing directory inside the Wordpress directory to store uploaded images.<br />Old directory content will be moved to the new one.</div>
117
+ </td>
118
+ </tr>
119
+ <tr>
120
+ <td class="spider_label_options">
121
+ <label>Gallery role:</label>
122
+ </td>
123
+ <td>
124
+ <input type="radio" name="gallery_role" id="gallery_role_1" value="1" <?php if ($row->gallery_role) echo 'checked="checked"'; ?> /><label for="gallery_role_1">Yes</label>
125
+ <input type="radio" name="gallery_role" id="gallery_role_0" value="0" <?php if (!$row->gallery_role) echo 'checked="checked"'; ?> /><label for="gallery_role_0">No</label>
126
+ <div class="spider_description">Only author can change a gallery.</div>
127
+ </td>
128
+ </tr>
129
+ <tr>
130
+ <td class="spider_label_options">
131
+ <label>Album role:</label>
132
+ </td>
133
+ <td>
134
+ <input type="radio" name="album_role" id="album_role_1" value="1" <?php if ($row->album_role) echo 'checked="checked"'; ?> /><label for="album_role_1">Yes</label>
135
+ <input type="radio" name="album_role" id="album_role_0" value="0" <?php if (!$row->album_role) echo 'checked="checked"'; ?> /><label for="album_role_0">No</label>
136
+ <div class="spider_description">Only author can change an album.</div>
137
+ </td>
138
+ </tr>
139
+ <tr>
140
+ <td class="spider_label_options">
141
+ <label>Image role:</label>
142
+ </td>
143
+ <td>
144
+ <input type="radio" name="image_role" id="image_role_1" value="1" <?php if ($row->image_role) echo 'checked="checked"'; ?> /><label for="image_role_1">Yes</label>
145
+ <input type="radio" name="image_role" id="image_role_0" value="0" <?php if (!$row->image_role) echo 'checked="checked"'; ?> /><label for="image_role_0">No</label>
146
+ <div class="spider_description">Only author can change an image.</div>
147
+ </td>
148
+ </tr>
149
+ </tbody>
150
+ </table>
151
+ </div>
152
+
153
+ <!--Watermark-->
154
+ <div class="spider_div_options" id="div_content_8">
155
+ <table style="width: 100%;">
156
+ <tr>
157
+ <td style="width: 50%; vertical-align: top; height: 100%; display: table-cell;">
158
+ <table>
159
+ <tbody>
160
+ <tr id="tr_built_in_watermark_type">
161
+ <td class="spider_label_options">
162
+ <label>Watermark type: </label>
163
+ </td>
164
+ <td>
165
+ <input type="radio" name="built_in_watermark_type" id="built_in_watermark_type_none" value="none" <?php if ($row->built_in_watermark_type == 'none') echo 'checked="checked"'; ?> onClick="bwg_built_in_watermark('watermark_type_none')" />
166
+ <label for="built_in_watermark_type_none">None</label>
167
+ <input type="radio" name="built_in_watermark_type" id="built_in_watermark_type_text" value="text" <?php if ($row->built_in_watermark_type == 'text') echo 'checked="checked"'; ?> onClick="bwg_built_in_watermark('watermark_type_text')" onchange="preview_built_in_watermark()" />
168
+ <label for="built_in_watermark_type_text">Text</label>
169
+ <input type="radio" name="built_in_watermark_type" id="built_in_watermark_type_image" value="image" <?php if ($row->built_in_watermark_type == 'image') echo 'checked="checked"'; ?> onClick="bwg_built_in_watermark('watermark_type_image')" onchange="preview_built_in_watermark()" />
170
+ <label for="built_in_watermark_type_image">Image</label>
171
+ <div class="spider_description"></div>
172
+ </td>
173
+ </tr>
174
+ <tr id="tr_built_in_watermark_url">
175
+ <td class="spider_label_options">
176
+ <label for="built_in_watermark_url">Watermark url: </label>
177
+ </td>
178
+ <td>
179
+ <input type="text" id="built_in_watermark_url" name="built_in_watermark_url" style="width: 68%;" value="<?php echo $row->built_in_watermark_url; ?>" style="display:inline-block;" onchange="preview_built_in_watermark()" />
180
+ <a href="<?php echo add_query_arg(array('action' => 'addImages', 'width' => '700', 'height' => '550', 'extensions' => 'png', 'callback' => 'bwg_add_built_in_watermark_image', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>" id="button_add_built_in_watermark_image" class="button-primary thickbox thickbox-preview"
181
+ title="Add image"
182
+ onclick="return false;"
183
+ style="margin-bottom:5px;">
184
+ Add Image
185
+ </a>
186
+ <div class="spider_description">Only .png format is supported.</div>
187
+ </td>
188
+ </tr>
189
+ <tr id="tr_built_in_watermark_text">
190
+ <td class="spider_label_options">
191
+ <label for="built_in_watermark_text">Watermark text: </label>
192
+ </td>
193
+ <td>
194
+ <input type="text" name="built_in_watermark_text" id="built_in_watermark_text" style="width: 100%;" value="<?php echo $row->built_in_watermark_text; ?>" onchange="preview_built_in_watermark()" onkeypress="preview_built_in_watermark()" />
195
+ <div class="spider_description"></div>
196
+ </td>
197
+ </tr>
198
+ <tr id="tr_built_in_watermark_size">
199
+ <td class="spider_label_options">
200
+ <label for="built_in_watermark_size">Watermark size: </label>
201
+ </td>
202
+ <td>
203
+ <input type="text" name="built_in_watermark_size" id="built_in_watermark_size" value="<?php echo $row->built_in_watermark_size; ?>" class="spider_int_input" onchange="preview_built_in_watermark()" /> %
204
+ <div class="spider_description">Enter size of watermark in percents according to image.</div>
205
+ </td>
206
+ </tr>
207
+ <tr id="tr_built_in_watermark_font_size">
208
+ <td class="spider_label_options">
209
+ <label for="built_in_watermark_font_size">Watermark font size: </label>
210
+ </td>
211
+ <td>
212
+ <input type="text" name="built_in_watermark_font_size" id="built_in_watermark_font_size" value="<?php echo $row->built_in_watermark_font_size; ?>" class="spider_int_input" onchange="preview_built_in_watermark()" />
213
+ <div class="spider_description"></div>
214
+ </td>
215
+ </tr>
216
+ <tr id="tr_built_in_watermark_font">
217
+ <td class="spider_label_options">
218
+ <label for="built_in_watermark_font">Watermark font style: </label>
219
+ </td>
220
+ <td>
221
+ <select name="built_in_watermark_font" id="built_in_watermark_font" style="width:150px;" onchange="preview_built_in_watermark()">
222
+ <?php
223
+ foreach ($built_in_watermark_fonts as $watermark_font) {
224
+ ?>
225
+ <option value="<?php echo $watermark_font; ?>" <?php if ($row->watermark_font == $watermark_font) echo 'selected="selected"'; ?>><?php echo $watermark_font; ?></option>
226
+ <?php
227
+ }
228
+ ?>
229
+ </select>
230
+ <?php
231
+ foreach ($built_in_watermark_fonts as $watermark_font) {
232
+ ?>
233
+ <style>
234
+ @font-face {
235
+ font-family: <?php echo 'bwg_' . str_replace('.ttf', '', $watermark_font); ?>;
236
+ src: url("<?php echo WD_BWG_URL . '/fonts/' . $watermark_font; ?>");
237
+ }
238
+ </style>
239
+ <?php
240
+ }
241
+ ?>
242
+ <div class="spider_description"></div>
243
+ </td>
244
+ </tr>
245
+ <tr id="tr_built_in_watermark_color">
246
+ <td class="spider_label_options">
247
+ <label for="built_in_watermark_color">Watermark color: </label>
248
+ </td>
249
+ <td>
250
+ <input type="text" name="built_in_watermark_color" id="built_in_watermark_color" value="<?php echo $row->built_in_watermark_color; ?>" class="color" onchange="preview_built_in_watermark()" />
251
+ <div class="spider_description"></div>
252
+ </td>
253
+ </tr>
254
+ <tr id="tr_built_in_watermark_opacity">
255
+ <td class="spider_label_options">
256
+ <label for="built_in_watermark_opacity">Watermark opacity: </label>
257
+ </td>
258
+ <td>
259
+ <input type="text" name="built_in_watermark_opacity" id="built_in_watermark_opacity" value="<?php echo $row->built_in_watermark_opacity; ?>" class="spider_int_input" onchange="preview_built_in_watermark()" /> %
260
+ <div class="spider_description">Opacity value must be in the range of 0 to 100.</div>
261
+ </td>
262
+ </tr>
263
+ <tr id="tr_built_in_watermark_position">
264
+ <td class="spider_label_options">
265
+ <label>Watermark position: </label>
266
+ </td>
267
+ <td>
268
+ <table class="bwg_position_table">
269
+ <tbody>
270
+ <tr>
271
+ <td><input type="radio" value="top-left" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "top-left") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
272
+ <td><input type="radio" value="top-center" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "top-center") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
273
+ <td><input type="radio" value="top-right" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "top-right") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
274
+ </tr>
275
+ <tr>
276
+ <td><input type="radio" value="middle-left" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "middle-left") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
277
+ <td><input type="radio" value="middle-center" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "middle-center") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
278
+ <td><input type="radio" value="middle-right" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "middle-right") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
279
+ </tr>
280
+ <tr>
281
+ <td><input type="radio" value="bottom-left" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "bottom-left") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
282
+ <td><input type="radio" value="bottom-center" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "bottom-center") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
283
+ <td><input type="radio" value="bottom-right" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "bottom-right") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
284
+ </tr>
285
+ </tbody>
286
+ </table>
287
+ <div class="spider_description"></div>
288
+ </td>
289
+ </tr>
290
+ </tbody>
291
+ </table>
292
+ </td>
293
+ <td style="width: 50%; vertical-align: top;height: 100%; display: table-cell;">
294
+ <span id="preview_built_in_watermark" style="display:table-cell; background-image:url(<?php echo WD_BWG_URL . '/images/watermark_preview.jpg'?>);background-size:100% 100%;width:400px;height:400px;padding-top: 4px; position:relative;">
295
+ </span>
296
+ </td>
297
+ </tr>
298
+ </table>
299
+ </div>
300
+
301
+ <!--Advertisement-->
302
+ <div class="spider_div_options" id="div_content_2">
303
+ <table style="width: 100%;">
304
+ <tr>
305
+ <td style="width: 50%; vertical-align: top; height: 100%; display: table-cell;">
306
+ <table>
307
+ <tbody>
308
+ <tr id="tr_watermark_type">
309
+ <td class="spider_label_options">
310
+ <label>Advertisement type: </label>
311
+ </td>
312
+ <td>
313
+ <input type="radio" name="watermark_type" id="watermark_type_none" value="none" <?php if ($row->watermark_type == 'none') echo 'checked="checked"'; ?> onClick="bwg_watermark('watermark_type_none')" />
314
+ <label for="watermark_type_none">None</label>
315
+ <input type="radio" name="watermark_type" id="watermark_type_text" value="text" <?php if ($row->watermark_type == 'text') echo 'checked="checked"'; ?> onClick="bwg_watermark('watermark_type_text')" onchange="preview_watermark()" />
316
+ <label for="watermark_type_text">Text</label>
317
+ <input type="radio" name="watermark_type" id="watermark_type_image" value="image" <?php if ($row->watermark_type == 'image') echo 'checked="checked"'; ?> onClick="bwg_watermark('watermark_type_image')" onchange="preview_watermark()" />
318
+ <label for="watermark_type_image">Image</label>
319
+ <div class="spider_description"></div>
320
+ </td>
321
+ </tr>
322
+ <tr id="tr_watermark_url">
323
+ <td class="spider_label_options">
324
+ <label for="watermark_url">Advertisement url: </label>
325
+ </td>
326
+ <td>
327
+ <input type="text" id="watermark_url" name="watermark_url" style="width: 68%;" value="<?php echo $row->watermark_url; ?>" style="display:inline-block;" onchange="preview_watermark()" />
328
+ <a href="<?php echo add_query_arg(array('action' => 'addImages', 'width' => '700', 'height' => '550', 'extensions' => 'jpg,jpeg,png,gif', 'callback' => 'bwg_add_watermark_image', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>" id="button_add_watermark_image" class="button-primary thickbox thickbox-preview"
329
+ title="Add image"
330
+ onclick="return false;"
331
+ style="margin-bottom:5px;">
332
+ Add Image
333
+ </a>
334
+ <div class="spider_description">Enter absolute image file url or add file from Options page. (.jpg,.jpeg,.png,.gif formats are supported)</div>
335
+ </td>
336
+ </tr>
337
+ <tr id="tr_watermark_text">
338
+ <td class="spider_label_options">
339
+ <label for="watermark_text">Advertisement text: </label>
340
+ </td>
341
+ <td>
342
+ <input type="text" name="watermark_text" id="watermark_text" style="width: 100%;" value="<?php echo $row->watermark_text; ?>" onchange="preview_watermark()" onkeypress="preview_watermark()" />
343
+ <div class="spider_description"></div>
344
+ </td>
345
+ </tr>
346
+ <tr id="tr_watermark_link">
347
+ <td class="spider_label_options">
348
+ <label for="watermark_link">Advertisement link: </label>
349
+ </td>
350
+ <td>
351
+ <input type="text" name="watermark_link" id="watermark_link" style="width: 100%;" value="<?php echo $row->watermark_link; ?>" onchange="preview_watermark()" onkeypress="preview_watermark()" />
352
+ <div class="spider_description">Enter a URL to open when the advertisement banner is clicked.</div>
353
+ </td>
354
+ </tr>
355
+ <tr id="tr_watermark_width_height">
356
+ <td class="spider_label_options">
357
+ <label for="watermark_width">Advertisement dimensions: </label>
358
+ </td>
359
+ <td>
360
+ <input type="text" name="watermark_width" id="watermark_width" value="<?php echo $row->watermark_width; ?>" class="spider_int_input" onchange="preview_watermark()" /> x
361
+ <input type="text" name="watermark_height" id="watermark_height" value="<?php echo $row->watermark_height; ?>" class="spider_int_input" onchange="preview_watermark()" /> px
362
+ <div class="spider_description">Maximum values for watermark image width and height.</div>
363
+ </td>
364
+ </tr>
365
+ <tr id="tr_watermark_font_size">
366
+ <td class="spider_label_options">
367
+ <label for="watermark_font_size">Advertisement font size: </label>
368
+ </td>
369
+ <td>
370
+ <input type="text" name="watermark_font_size" id="watermark_font_size" value="<?php echo $row->watermark_font_size; ?>" class="spider_int_input" onchange="preview_watermark()" /> px
371
+ <div class="spider_description"></div>
372
+ </td>
373
+ </tr>
374
+ <tr id="tr_watermark_font">
375
+ <td class="spider_label_options">
376
+ <label for="watermark_font">Advertisement font style: </label>
377
+ </td>
378
+ <td>
379
+ <select name="watermark_font" id="watermark_font" style="width:150px;" onchange="preview_watermark()">
380
+ <?php
381
+ foreach ($watermark_fonts as $watermark_font) {
382
+ ?>
383
+ <option value="<?php echo $watermark_font; ?>" <?php if ($row->watermark_font == $watermark_font) echo 'selected="selected"'; ?>><?php echo $watermark_font; ?></option>
384
+ <?php
385
+ }
386
+ ?>
387
+ </select>
388
+ <div class="spider_description"></div>
389
+ </td>
390
+ </tr>
391
+ <tr id="tr_watermark_color">
392
+ <td class="spider_label_options">
393
+ <label for="watermark_color">Advertisement color: </label>
394
+ </td>
395
+ <td>
396
+ <input type="text" name="watermark_color" id="watermark_color" value="<?php echo $row->watermark_color; ?>" class="color" onchange="preview_watermark()" />
397
+ <div class="spider_description"></div>
398
+ </td>
399
+ </tr>
400
+ <tr id="tr_watermark_opacity">
401
+ <td class="spider_label_options">
402
+ <label for="watermark_opacity">Advertisement opacity: </label>
403
+ </td>
404
+ <td>
405
+ <input type="text" name="watermark_opacity" id="watermark_opacity" value="<?php echo $row->watermark_opacity; ?>" class="spider_int_input" onchange="preview_watermark()" /> %
406
+ <div class="spider_description">Value must be between 0 to 100.</div>
407
+ </td>
408
+ </tr>
409
+ <tr id="tr_watermark_position">
410
+ <td class="spider_label_options">
411
+ <label>Advertisement position: </label>
412
+ </td>
413
+ <td>
414
+ <table class="bwg_position_table">
415
+ <tbody>
416
+ <tr>
417
+ <td><input type="radio" value="top-left" name="watermark_position" <?php if ($row->watermark_position == "top-left") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
418
+ <td><input type="radio" value="top-center" name="watermark_position" <?php if ($row->watermark_position == "top-center") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
419
+ <td><input type="radio" value="top-right" name="watermark_position" <?php if ($row->watermark_position == "top-right") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
420
+ </tr>
421
+ <tr>
422
+ <td><input type="radio" value="middle-left" name="watermark_position" <?php if ($row->watermark_position == "middle-left") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
423
+ <td><input type="radio" value="middle-center" name="watermark_position" <?php if ($row->watermark_position == "middle-center") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
424
+ <td><input type="radio" value="middle-right" name="watermark_position" <?php if ($row->watermark_position == "middle-right") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
425
+ </tr>
426
+ <tr>
427
+ <td><input type="radio" value="bottom-left" name="watermark_position" <?php if ($row->watermark_position == "bottom-left") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
428
+ <td><input type="radio" value="bottom-center" name="watermark_position" <?php if ($row->watermark_position == "bottom-center") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
429
+ <td><input type="radio" value="bottom-right" name="watermark_position" <?php if ($row->watermark_position == "bottom-right") echo 'checked="checked"'; ?> onchange="preview_watermark()"></td>
430
+ </tr>
431
+ </tbody>
432
+ </table>
433
+ <div class="spider_description"></div>
434
+ </td>
435
+ </tr>
436
+ </tbody>
437
+ </table>
438
+ </td>
439
+ <td style="width: 50%; vertical-align: top;height: 100%; display: table-cell;">
440
+ <span id="preview_watermark" style="display:table-cell; background-image:url(<?php echo WD_BWG_URL . '/images/watermark_preview.jpg'?>);background-size:100% 100%;width:400px;height:400px;padding-top: 4px; position:relative;">
441
+ </span>
442
+ </td>
443
+ </tr>
444
+ </table>
445
+ </div>
446
+
447
+ <!--Lightbox-->
448
+ <div class="spider_div_options" id="div_content_3">
449
+ <table>
450
+ <tbody>
451
+ <tr>
452
+ <td class="spider_label_options">
453
+ <label for="popup_width">Lightbox dimensions:</label>
454
+ </td>
455
+ <td>
456
+ <input type="text" name="popup_width" id="popup_width" value="<?php echo $row->popup_width; ?>" class="spider_int_input" /> x
457
+ <input type="text" name="popup_height" id="popup_height" value="<?php echo $row->popup_height; ?>" class="spider_int_input" /> px
458
+ <div class="spider_description"></div>
459
+ </td>
460
+ </tr>
461
+ <tr>
462
+ <td class="spider_label_options">
463
+ <label for="popup_type">Lightbox effect:</label>
464
+ </td>
465
+ <td>
466
+ <select name="popup_type" id="popup_type" style="width:150px;">
467
+ <?php
468
+ foreach ($effects as $key => $effect) {
469
+ ?>
470
+ <option value="<?php echo $key; ?>" <?php if ($row->popup_type == $key) echo 'selected="selected"'; ?>><?php echo $effect; ?></option>
471
+ <?php
472
+ }
473
+ ?>
474
+ </select>
475
+ <div class="spider_description"></div>
476
+ </td>
477
+ </tr>
478
+ <tr>
479
+ <td class="spider_label_options">
480
+ <label for="popup_interval">Time interval:</label>
481
+ </td>
482
+ <td>
483
+ <input type="text" name="popup_interval" id="popup_interval" value="<?php echo $row->popup_interval; ?>" class="spider_int_input" /> sec.
484
+ <div class="spider_description"></div>
485
+ </td>
486
+ </tr>
487
+ <tr>
488
+ <td class="spider_label_options spider_free_version_label">
489
+ <label>Enable filmstrip:</label>
490
+ </td>
491
+ <td>
492
+ <input disabled="disabled" type="radio" name="popup_enable_filmstrip" id="popup_enable_filmstrip_1" value="1" <?php if ($row->popup_enable_filmstrip ) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_popup_filmstrip_height', 'popup_enable_filmstrip_1')" /><label for="popup_enable_filmstrip_1">Yes</label>
493
+ <input disabled="disabled" type="radio" name="popup_enable_filmstrip" id="popup_enable_filmstrip_0" value="0" <?php if (!$row->popup_enable_filmstrip ) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_popup_filmstrip_height', 'popup_enable_filmstrip_0')" /><label for="popup_enable_filmstrip_0">No</label>
494
+ <div class="spider_description spider_free_version">This option is disabled in free version.</div>
495
+ </td>
496
+ </tr>
497
+ <tr id="tr_popup_filmstrip_height">
498
+ <td class="spider_label_options spider_free_version_label">
499
+ <label for="popup_filmstrip_height">Filmstrip height:</label>
500
+ </td>
501
+ <td class="spider_free_version_label">
502
+ <input disabled="disabled" type="text" name="popup_filmstrip_height" id="popup_filmstrip_height" value="<?php echo $row->popup_filmstrip_height; ?>" class="spider_int_input spider_free_version_label" /> px
503
+ <div class="spider_description spider_free_version">This option is disabled in free version.</div>
504
+ </td>
505
+ </tr>
506
+ <tr>
507
+ <td class="spider_label_options">
508
+ <label>Enable control buttons:</label>
509
+ </td>
510
+ <td>
511
+ <input type="radio" name="popup_enable_ctrl_btn" id="popup_enable_ctrl_btn_1" value="1" <?php if ($row->popup_enable_ctrl_btn) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_popup_fullscreen', 'popup_enable_ctrl_btn_1');
512
+ bwg_enable_disable('', 'tr_popup_comment', 'popup_enable_ctrl_btn_1');
513
+ bwg_enable_disable('', 'tr_popup_facebook', 'popup_enable_ctrl_btn_1');
514
+ bwg_enable_disable('', 'tr_popup_twitter', 'popup_enable_ctrl_btn_1');
515
+ bwg_enable_disable('', 'tr_popup_google', 'popup_enable_ctrl_btn_1');
516
+ bwg_enable_disable('', 'tr_popup_email', 'popup_enable_ctrl_btn_1');
517
+ bwg_enable_disable('', 'tr_popup_captcha', 'popup_enable_ctrl_btn_1');
518
+ bwg_enable_disable('', 'tr_popup_download', 'popup_enable_ctrl_btn_1');
519
+ bwg_enable_disable('', 'tr_popup_fullsize_image', 'popup_enable_ctrl_btn_1');" /><label for="popup_enable_ctrl_btn_1">Yes</label>
520
+ <input type="radio" name="popup_enable_ctrl_btn" id="popup_enable_ctrl_btn_0" value="0" <?php if (!$row->popup_enable_ctrl_btn) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_popup_fullscreen', 'popup_enable_ctrl_btn_0');
521
+ bwg_enable_disable('none', 'tr_popup_comment', 'popup_enable_ctrl_btn_0');
522
+ bwg_enable_disable('none', 'tr_popup_facebook', 'popup_enable_ctrl_btn_0');
523
+ bwg_enable_disable('none', 'tr_popup_twitter', 'popup_enable_ctrl_btn_0');
524
+ bwg_enable_disable('none', 'tr_popup_google', 'popup_enable_ctrl_btn_0');
525
+ bwg_enable_disable('none', 'tr_popup_email', 'popup_enable_ctrl_btn_0');
526
+ bwg_enable_disable('none', 'tr_popup_captcha', 'popup_enable_ctrl_btn_0');
527
+ bwg_enable_disable('none', 'tr_popup_download', 'popup_enable_ctrl_btn_0');
528
+ bwg_enable_disable('none', 'tr_popup_fullsize_image', 'popup_enable_ctrl_btn_0');" /><label for="popup_enable_ctrl_btn_0">No</label>
529
+ <div class="spider_description"></div>
530
+ </td>
531
+ </tr>
532
+ <tr id="tr_popup_fullscreen">
533
+ <td class="spider_label_options">
534
+ <label>Enable fullscreen:</label>
535
+ </td>
536
+ <td>
537
+ <input type="radio" name="popup_enable_fullscreen" id="popup_enable_fullscreen_1" value="1" <?php if ($row->popup_enable_fullscreen) echo 'checked="checked"'; ?> /><label for="popup_enable_fullscreen_1">Yes</label>
538
+ <input type="radio" name="popup_enable_fullscreen" id="popup_enable_fullscreen_0" value="0" <?php if (!$row->popup_enable_fullscreen) echo 'checked="checked"'; ?> /><label for="popup_enable_fullscreen_0">No</label>
539
+ <div class="spider_description"></div>
540
+ </td>
541
+ </tr>
542
+ <tr id="tr_popup_comment">
543
+ <td class="spider_label_options spider_free_version_label">
544
+ <label>Enable comments:</label>
545
+ </td>
546
+ <td>
547
+ <input disabled="disabled" type="radio" name="popup_enable_comment" id="popup_enable_comment_1" value="1" <?php if ($row->popup_enable_comment) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_popup_email', 'popup_enable_comment_1');
548
+ bwg_enable_disable('', 'tr_popup_captcha', 'popup_enable_comment_1');" /><label for="popup_enable_comment_1">Yes</label>
549
+ <input disabled="disabled" type="radio" name="popup_enable_comment" id="popup_enable_comment_0" value="0" <?php if (!$row->popup_enable_comment) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_popup_email', 'popup_enable_comment_0');
550
+ bwg_enable_disable('none', 'tr_popup_captcha', 'popup_enable_comment_0');" /><label for="popup_enable_comment_0">No</label>
551
+ <div class="spider_description spider_free_version">This option is disabled in free version.</div>
552
+ </td>
553
+ </tr>
554
+ <tr id="tr_popup_email">
555
+ <td class="spider_label_options spider_free_version_label">
556
+ <label>Enable Email for comments:</label>
557
+ </td>
558
+ <td>
559
+ <input disabled="disabled" type="radio" name="popup_enable_email" id="popup_enable_email_1" value="1" <?php if ($row->popup_enable_email) echo 'checked="checked"'; ?> /><label for="popup_enable_email_1">Yes</label>
560
+ <input disabled="disabled" type="radio" name="popup_enable_email" id="popup_enable_email_0" value="0" <?php if (!$row->popup_enable_email) echo 'checked="checked"'; ?> /><label for="popup_enable_email_0">No</label>
561
+ <div class="spider_description spider_free_version">This option is disabled in free version.</div>
562
+ </td>
563
+ </tr>
564
+ <tr id="tr_popup_captcha">
565
+ <td class="spider_label_options spider_free_version_label">
566
+ <label>Enable Captcha for comments:</label>
567
+ </td>
568
+ <td>
569
+ <input disabled="disabled" type="radio" name="popup_enable_captcha" id="popup_enable_captcha_1" value="1" <?php if ($row->popup_enable_captcha) echo 'checked="checked"'; ?> /><label for="popup_enable_captcha_1">Yes</label>
570
+ <input disabled="disabled" type="radio" name="popup_enable_captcha" id="popup_enable_captcha_0" value="0" <?php if (!$row->popup_enable_captcha) echo 'checked="checked"'; ?> /><label for="popup_enable_captcha_0">No</label>
571
+ <div class="spider_description spider_free_version">This option is disabled in free version.</div>
572
+ </td>
573
+ </tr>
574
+ <tr id="tr_popup_fullsize_image">
575
+ <td class="spider_label_options">
576
+ <label>Enable original image display button:</label>
577
+ </td>
578
+ <td>
579
+ <input type="radio" name="popup_enable_fullsize_image" id="popup_enable_fullsize_image_1" value="1" <?php if ($row->popup_enable_fullsize_image) echo 'checked="checked"'; ?> /><label for="popup_enable_fullsize_image_1">Yes</label>
580
+ <input type="radio" name="popup_enable_fullsize_image" id="popup_enable_fullsize_image_0" value="0" <?php if (!$row->popup_enable_fullsize_image) echo 'checked="checked"'; ?> /><label for="popup_enable_fullsize_image_0">No</label>
581
+ <div class="spider_description"></div>
582
+ </td>
583
+ </tr>
584
+ <tr id="tr_popup_download">
585
+ <td class="spider_label_options">
586
+ <label>Enable download button:</label>
587
+ </td>
588
+ <td>
589
+ <input type="radio" name="popup_enable_download" id="popup_enable_download_1" value="1" <?php if ($row->popup_enable_download) echo 'checked="checked"'; ?> /><label for="popup_enable_download_1">Yes</label>
590
+ <input type="radio" name="popup_enable_download" id="popup_enable_download_0" value="0" <?php if (!$row->popup_enable_download) echo 'checked="checked"'; ?> /><label for="popup_enable_download_0">No</label>
591
+ <div class="spider_description"></div>
592
+ </td>
593
+ </tr>
594
+ <tr id="tr_popup_facebook">
595
+ <td class="spider_label_options spider_free_version_label">
596
+ <label>Enable Facebook button:</label>
597
+ </td>
598
+ <td>
599
+ <input disabled="disabled" type="radio" name="popup_enable_facebook" id="popup_enable_facebook_1" value="1" <?php if ($row->popup_enable_facebook) echo 'checked="checked"'; ?> /><label for="popup_enable_facebook_1">Yes</label>
600
+ <input disabled="disabled" type="radio" name="popup_enable_facebook" id="popup_enable_facebook_0" value="0" <?php if (!$row->popup_enable_facebook) echo 'checked="checked"'; ?> /><label for="popup_enable_facebook_0">No</label>
601
+ <div class="spider_description spider_free_version">This option is disabled in free version.</div>
602
+ </td>
603
+ </tr>
604
+ <tr id="tr_popup_twitter">
605
+ <td class="spider_label_options spider_free_version_label">
606
+ <label>Enable Twitter button:</label>
607
+ </td>
608
+ <td>
609
+ <input disabled="disabled" type="radio" name="popup_enable_twitter" id="popup_enable_facebook_1" value="1" <?php if ($row->popup_enable_twitter) echo 'checked="checked"'; ?> /><label for="popup_enable_twitter_1">Yes</label>
610
+ <input disabled="disabled" type="radio" name="popup_enable_twitter" id="popup_enable_facebook_0" value="0" <?php if (!$row->popup_enable_twitter) echo 'checked="checked"'; ?> /><label for="popup_enable_twitter_0">No</label>
611
+ <div class="spider_description spider_free_version">This option is disabled in free version.</div>
612
+ </td>
613
+ </tr>
614
+ <tr id="tr_popup_google">
615
+ <td class="spider_label_options spider_free_version_label">
616
+ <label>Enable Google+ button:</label>
617
+ </td>
618
+ <td>
619
+ <input disabled="disabled" type="radio" name="popup_enable_google" id="popup_enable_google_1" value="1" <?php if ($row->popup_enable_google) echo 'checked="checked"'; ?> /><label for="popup_enable_google_1">Yes</label>
620
+ <input disabled="disabled" type="radio" name="popup_enable_google" id="popup_enable_google_0" value="0" <?php if (!$row->popup_enable_google) echo 'checked="checked"'; ?> /><label for="popup_enable_google_0">No</label>
621
+ <div class="spider_description spider_free_version">This option is disabled in free version.</div>
622
+ </td>
623
+ </tr>
624
+ </tbody>
625
+ </table>
626
+ </div>
627
+
628
+ <!--Album options-->
629
+ <div class="spider_div_options" id="div_content_4">
630
+ <table>
631
+ <tbody>
632
+ <tr>
633
+ <td class="spider_label_options">
634
+ <label for="album_column_number">Number of album columns: </label>
635
+ </td>
636
+ <td>
637
+ <input type="text" name="album_column_number" id="album_column_number" value="<?php echo $row->album_column_number; ?>" class="spider_int_input" />
638
+ <div class="spider_description"></div>
639
+ </td>
640
+ </tr>
641
+ <tr>
642
+ <td class="spider_label_options">
643
+ <label for="albums_per_page">Albums per page: </label>
644
+ </td>
645
+ <td>
646
+ <input type="text" name="albums_per_page" id="albums_per_page" value="<?php echo $row->albums_per_page; ?>" class="spider_int_input" />
647
+ <div class="spider_description"></div>
648
+ </td>
649
+ </tr>
650
+ <tr>
651
+ <td class="spider_label_options">
652
+ <label>Enable pagination:</label>
653
+ </td>
654
+ <td>
655
+ <input type="radio" name="album_enable_page" id="album_enable_page_1" value="1" <?php if ($row->album_enable_page) echo 'checked="checked"'; ?> /><label for="album_enable_page_1">Yes</label>
656
+ <input type="radio" name="album_enable_page" id="album_enable_page_0" value="0" <?php if (!$row->album_enable_page) echo 'checked="checked"'; ?> /><label for="album_enable_page_0">No</label>
657
+ <div class="spider_description"></div>
658
+ </td>
659
+ </tr>
660
+ <tr>
661
+ <td class="spider_label_options">
662
+ <label>Show album title:</label>
663
+ </td>
664
+ <td>
665
+ <input type="radio" name="album_title_show_hover" id="album_title_show_hover_1" value="hover" <?php if ($row->album_title_show_hover == "hover") echo 'checked="checked"'; ?> /><label for="album_title_show_hover_1">Show on hover</label>
666
+ <input type="radio" name="album_title_show_hover" id="album_title_show_hover_0" value="show" <?php if ($row->album_title_show_hover == "show") echo 'checked="checked"'; ?> /><label for="album_title_show_hover_0">Always show</label>
667
+ <div class="spider_description"></div>
668
+ </td>
669
+ </tr>
670
+ <tr>
671
+ <td class="spider_label_options">
672
+ <label>Enable extended album description:</label>
673
+ </td>
674
+ <td>
675
+ <input type="radio" name="extended_album_description_enable" id="extended_album_description_enable_1" value="1" <?php if ($row->extended_album_description_enable) echo 'checked="checked"'; ?> /><label for="extended_album_description_enable_1">Yes</label>
676
+ <input type="radio" name="extended_album_description_enable" id="extended_album_description_enable_0" value="0" <?php if (!$row->extended_album_description_enable) echo 'checked="checked"'; ?> /><label for="extended_album_description_enable_0">No</label>
677
+ <div class="spider_description"></div>
678
+ </td>
679
+ </tr>
680
+ <tr>
681
+ <td class="spider_label_options">
682
+ <label for="album_thumb_width">Album thumb dimensions: </label>
683
+ </td>
684
+ <td>
685
+ <input type="text" name="album_thumb_width" id="album_thumb_width" value="<?php echo $row->album_thumb_width; ?>" class="spider_int_input" /> x
686
+ <input type="text" name="album_thumb_height" id="album_thumb_height" value="<?php echo $row->album_thumb_height; ?>" class="spider_int_input" /> px
687
+ <div class="spider_description"></div>
688
+ </td>
689
+ </tr>
690
+ <tr>
691
+ <td class="spider_label_options">
692
+ <label for="extended_album_height">Extended album height: </label>
693
+ </td>
694
+ <td>
695
+ <input type="text" name="extended_album_height" id="extended_album_height" value="<?php echo $row->extended_album_height; ?>" class="spider_int_input" /> px
696
+ <div class="spider_description"></div>
697
+ </td>
698
+ </tr>
699
+ </tbody>
700
+ </table>
701
+ </div>
702
+
703
+ <!--Slideshow-->
704
+ <div class="spider_div_options" id="div_content_5">
705
+ <table style="width: 100%;">
706
+ <tr>
707
+ <td style="width: 50%; vertical-align: top;">
708
+ <table style="display: inline-table;">
709
+ <tbody>
710
+ <tr>
711
+ <td class="spider_label_options">
712
+ <label for="slideshow_type">Slideshow effect: </label>
713
+ </td>
714
+ <td>
715
+ <select name="slideshow_type" id="slideshow_type" style="width:150px;">
716
+ <?php
717
+ foreach ($effects as $key => $effect) {
718
+ ?>
719
+ <option value="<?php echo $key; ?>" <?php if ($row->slideshow_type == $key) echo 'selected="selected"'; ?>><?php echo $effect; ?></option>
720
+ <?php
721
+ }
722
+ ?>
723
+ </select>
724
+ <div class="spider_description"></div>
725
+ </td>
726
+ </tr>
727
+ <tr>
728
+ <td class="spider_label_options">
729
+ <label for="slideshow_interval">Time interval: </label>
730
+ </td>
731
+ <td>
732
+ <input type="text" name="slideshow_interval" id="slideshow_interval" value="<?php echo $row->slideshow_interval; ?>" class="spider_int_input" /> sec.
733
+ <div class="spider_description"></div>
734
+ </td>
735
+ </tr>
736
+ <tr>
737
+ <td class="spider_label_options">
738
+ <label for="slideshow_width">Slideshow dimensions: </label>
739
+ </td>
740
+ <td>
741
+ <input type="text" name="slideshow_width" id="slideshow_width" value="<?php echo $row->slideshow_width; ?>" class="spider_int_input" /> x
742
+ <input type="text" name="slideshow_height" id="slideshow_height" value="<?php echo $row->slideshow_height; ?>" class="spider_int_input" /> px
743
+ <div class="spider_description"></div>
744
+ </td>
745
+ </tr>
746
+ <tr>
747
+ <td class="spider_label_options">
748
+ <label>Enable autoplay: </label>
749
+ </td>
750
+ <td>
751
+ <input type="radio" name="slideshow_enable_autoplay" id="slideshow_enable_autoplay_yes" value="1" <?php if ($row->slideshow_enable_autoplay) echo 'checked="checked"'; ?> /><label for="slideshow_enable_autoplay_yes">Yes</label>
752
+ <input type="radio" name="slideshow_enable_autoplay" id="slideshow_enable_autoplay_no" value="0" <?php if (!$row->slideshow_enable_autoplay) echo 'checked="checked"'; ?> /><label for="slideshow_enable_autoplay_no">No</label>
753
+ <div class="spider_description"></div>
754
+ </td>
755
+ </tr>
756
+ <tr>
757
+ <td class="spider_label_options">
758
+ <label>Enable shuffle: </label>
759
+ </td>
760
+ <td>
761
+ <input type="radio" name="slideshow_enable_shuffle" id="slideshow_enable_shuffle_yes" value="1" <?php if ($row->slideshow_enable_shuffle) echo 'checked="checked"'; ?> /><label for="slideshow_enable_shuffle_yes">Yes</label>
762
+ <input type="radio" name="slideshow_enable_shuffle" id="slideshow_enable_shuffle_no" value="0" <?php if (!$row->slideshow_enable_shuffle) echo 'checked="checked"'; ?> /><label for="slideshow_enable_shuffle_no">No</label>
763
+ <div class="spider_description"></div>
764
+ </td>
765
+ </tr>
766
+ <tr>
767
+ <td class="spider_label_options">
768
+ <label>Enable control buttons: </label>
769
+ </td>
770
+ <td>
771
+ <input type="radio" name="slideshow_enable_ctrl" id="slideshow_enable_ctrl_yes" value="1" <?php if ($row->slideshow_enable_ctrl) echo 'checked="checked"'; ?> /><label for="slideshow_enable_ctrl_yes">Yes</label>
772
+ <input type="radio" name="slideshow_enable_ctrl" id="slideshow_enable_ctrl_no" value="0" <?php if (!$row->slideshow_enable_ctrl) echo 'checked="checked"'; ?> /><label for="slideshow_enable_ctrl_no">No</label>
773
+ <div class="spider_description"></div>
774
+ </td>
775
+ </tr>
776
+ <tr>
777
+ <td class="spider_label_options spider_free_version_label"><label>Enable slideshow filmstrip: </label></td>
778
+ <td>
779
+ <input disabled="disabled" type="radio" name="slideshow_enable_filmstrip" id="slideshow_enable_filmstrip_yes" value="1" <?php if ($row->slideshow_enable_filmstrip) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_slideshow_filmstrip_height', 'slideshow_enable_filmstrip_yes')" /><label for="slideshow_enable_filmstrip_yes">Yes</label>
780
+ <input disabled="disabled" type="radio" name="slideshow_enable_filmstrip" id="slideshow_enable_filmstrip_no" value="0" <?php if (!$row->slideshow_enable_filmstrip) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_filmstrip_height', 'slideshow_enable_filmstrip_no')" /><label for="slideshow_enable_filmstrip_no">No</label>
781
+ <div class="spider_description spider_free_version">This option is disabled in free version.</div>
782
+ </td>
783
+ </tr>
784
+ <tr id="tr_slideshow_filmstrip_height">
785
+ <td class="spider_label_options spider_free_version_label"><label for="slideshow_filmstrip_height">Slideshow filmstrip height: </label></td>
786
+ <td class="spider_free_version_label">
787
+ <input disabled="disabled" type="text" name="slideshow_filmstrip_height" id="slideshow_filmstrip_height" value="<?php echo $row->slideshow_filmstrip_height; ?>" class="spider_int_input spider_free_version_label" /> px
788
+ <div class="spider_description spider_free_version">This option is disabled in free version.</div>
789
+ </td>
790
+ </tr>
791
+ </tbody>
792
+ </table>
793
+ </td>
794
+ <td style="width: 50%; vertical-align: top;">
795
+ <table style="width: 100%; display: inline-table;">
796
+ <tbody>
797
+ <tr>
798
+ <td class="spider_label_options"><label>Enable image title: </label></td>
799
+ <td>
800
+ <input type="radio" name="slideshow_enable_title" id="slideshow_enable_title_yes" value="1" <?php if ($row->slideshow_enable_title) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_slideshow_title_position', 'slideshow_enable_title_yes')" /><label for="slideshow_enable_title_yes">Yes</label>
801
+ <input type="radio" name="slideshow_enable_title" id="slideshow_enable_title_no" value="0" <?php if (!$row->slideshow_enable_title) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_title_position', 'slideshow_enable_title_no')" /><label for="slideshow_enable_title_no">No</label>
802
+ <div class="spider_description"></div>
803
+ </td>
804
+ </tr>
805
+ <tr id="tr_slideshow_title_position">
806
+ <td class="spider_label_options"><label>Title position: </label></td>
807
+ <td>
808
+ <table class="bwg_position_table">
809
+ <tbody>
810
+ <tr>
811
+ <td><input type="radio" value="top-left" id="slideshow_title_topLeft" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "top-left") echo 'checked="checked"'; ?>></td>
812
+ <td><input type="radio" value="top-center" id="slideshow_title_topCenter" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "top-center") echo 'checked="checked"'; ?>></td>
813
+ <td><input type="radio" value="top-right" id="slideshow_title_topRight" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "top-right") echo 'checked="checked"'; ?>></td>
814
+ </tr>
815
+ <tr>
816
+ <td><input type="radio" value="middle-left" id="slideshow_title_midLeft" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "middle-left") echo 'checked="checked"'; ?>></td>
817
+ <td><input type="radio" value="middle-center" id="slideshow_title_midCenter" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "middle-center") echo 'checked="checked"'; ?>></td>
818
+ <td><input type="radio" value="middle-right" id="slideshow_title_midRight" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "middle-right") echo 'checked="checked"'; ?>></td>
819
+ </tr>
820
+ <tr>
821
+ <td><input type="radio" value="bottom-left" id="slideshow_title_botLeft" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "bottom-left") echo 'checked="checked"'; ?>></td>
822
+ <td><input type="radio" value="bottom-center" id="slideshow_title_botCenter" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "bottom-center") echo 'checked="checked"'; ?>></td>
823
+ <td><input type="radio" value="bottom-right" id="slideshow_title_botRight" name="slideshow_title_position" <?php if ($row->slideshow_title_position == "bottom-right") echo 'checked="checked"'; ?>></td>
824
+ </tr>
825
+ </tbody>
826
+ </table>
827
+ <div class="spider_description">Image title position on slideshow</div>
828
+ </td>
829
+ </tr>
830
+ <tr>
831
+ <td class="spider_label_options"><label>Enable image description: </label></td>
832
+ <td>
833
+ <input type="radio" name="slideshow_enable_description" id="slideshow_enable_description_yes" value="1" <?php if ($row->slideshow_enable_description) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_slideshow_description_position', 'slideshow_enable_description_yes')" /><label for="slideshow_enable_description_yes">Yes</label>
834
+ <input type="radio" name="slideshow_enable_description" id="slideshow_enable_description_no" value="0" <?php if (!$row->slideshow_enable_description) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_description_position', 'slideshow_enable_description_no')" /><label for="slideshow_enable_description_no">No</label>
835
+ <div class="spider_description"></div>
836
+ </td>
837
+ </tr>
838
+ <tr id="tr_slideshow_description_position">
839
+ <td class="spider_label"><label>Description position: </label></td>
840
+ <td>
841
+ <table class="bwg_position_table">
842
+ <tbody>
843
+ <tr>
844
+ <td><input type="radio" value="top-left" id="slideshow_description_topLeft" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "top-left") echo 'checked="checked"'; ?>></td>
845
+ <td><input type="radio" value="top-center" id="slideshow_description_topCenter" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "top-center") echo 'checked="checked"'; ?>></td>
846
+ <td><input type="radio" value="top-right" id="slideshow_description_topRight" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "top-right") echo 'checked="checked"'; ?>></td>
847
+ </tr>
848
+ <tr>
849
+ <td><input type="radio" value="middle-left" id="slideshow_description_midLeft" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "middle-left") echo 'checked="checked"'; ?>></td>
850
+ <td><input type="radio" value="middle-center" id="slideshow_description_midCenter" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "middle-center") echo 'checked="checked"'; ?>></td>
851
+ <td><input type="radio" value="middle-right" id="slideshow_description_midRight" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "middle-right") echo 'checked="checked"'; ?>></td>
852
+ </tr>
853
+ <tr>
854
+ <td><input type="radio" value="bottom-left" id="slideshow_description_botLeft" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "bottom-left") echo 'checked="checked"'; ?>></td>
855
+ <td><input type="radio" value="bottom-center" id="slideshow_description_botCenter" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "bottom-center") echo 'checked="checked"'; ?>></td>
856
+ <td><input type="radio" value="bottom-right" id="slideshow_description_botRight" name="slideshow_description_position" <?php if ($row->slideshow_description_position == "bottom-right") echo 'checked="checked"'; ?>></td>
857
+ </tr>
858
+ </tbody>
859
+ </table>
860
+ <div class="spider_description">Image description position on slideshow</div>
861
+ </td>
862
+ </tr>
863
+ <tr>
864
+ <td class="spider_label_options">
865
+ <label>Enable slideshow Music: </label>
866
+ </td>
867
+ <td>
868
+ <input type="radio" name="slideshow_enable_music" id="slideshow_enable_music_yes" value="1" <?php if ($row->slideshow_enable_music) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('', 'tr_slideshow_music_url', 'slideshow_enable_music_yes')" /><label for="slideshow_enable_music_yes">Yes</label>
869
+ <input type="radio" name="slideshow_enable_music" id="slideshow_enable_music_no" value="0" <?php if (!$row->slideshow_enable_music) echo 'checked="checked"'; ?> onClick="bwg_enable_disable('none', 'tr_slideshow_music_url', 'slideshow_enable_music_no')" /><label for="slideshow_enable_music_no">No</label>
870
+ <div class="spider_description"></div>
871
+ </td>
872
+ </tr>
873
+ <tr id="tr_slideshow_music_url">
874
+ <td class="spider_label_options">
875
+ <label for="slideshow_audio_url">Music url: </label>
876
+ </td>
877
+ <td>
878
+ <input type="text" id="slideshow_audio_url" name="slideshow_audio_url" style="width: 70%;" value="<?php echo $row->slideshow_audio_url; ?>" style="display:inline-block;" />
879
+ <a href="<?php echo add_query_arg(array('action' => 'addMusic', 'width' => '700', 'height' => '550', 'extensions' => 'aac,m4a,f4a,mp3,ogg,oga', 'callback' => 'bwg_add_music', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>" id="button_add_music" class="button-primary thickbox thickbox-preview"
880
+ title="Add music"
881
+ onclick="return false;"
882
+ style="margin-bottom:5px;">
883
+ Add Music
884
+ </a>
885
+ <div class="spider_description">Only .aac,.m4a,.f4a,.mp3,.ogg,.oga formats are supported.</div>
886
+ </td>
887
+ </tr>
888
+ </tbody>
889
+ </table>
890
+ </td>
891
+ </tr>
892
+ </table>
893
+ </div>
894
+
895
+ <!--Thumbnail options-->
896
+ <div class="spider_div_options" id="div_content_6">
897
+ <table>
898
+ <tbody>
899
+ <tr style="display:none;">
900
+ <td class="spider_label_options">
901
+ <label>Masonry:</label>
902
+ </td>
903
+ <td>
904
+ <input type="radio" name="masonry" id="masonry_1" value="horizontal" <?php if ($row->masonry == "horizontal") echo 'checked="checked"'; ?> /><label for="masonry_1">Horizontal</label>
905
+ <input type="radio" name="masonry" id="masonry_0" value="vertical" <?php if ($row->masonry == "vertical") echo 'checked="checked"'; ?> /><label for="masonry_0">Vertical</label>
906
+ <div class="spider_description"></div>
907
+ </td>
908
+ </tr>
909
+ <tr>
910
+ <td class="spider_label_options">
911
+ <label for="image_column_number">Number of image columns: </label>
912
+ </td>
913
+ <td>
914
+ <input type="text" name="image_column_number" id="image_column_number" value="<?php echo $row->image_column_number; ?>" class="spider_int_input" />
915
+ <div class="spider_description"></div>
916
+ </td>
917
+ </tr>
918
+ <tr>
919
+ <td class="spider_label_options">
920
+ <label for="images_per_page">Images per page: </label>
921
+ </td>
922
+ <td>
923
+ <input type="text" name="images_per_page" id="images_per_page" value="<?php echo $row->images_per_page; ?>" class="spider_int_input" />
924
+ <div class="spider_description"></div>
925
+ </td>
926
+ </tr>
927
+ <tr>
928
+ <td class="spider_label_options">
929
+ <label for="thumb_width">Thumbnail dimensions: </label>
930
+ </td>
931
+ <td>
932
+ <input type="text" name="thumb_width" id="thumb_width" value="<?php echo $row->thumb_width; ?>" class="spider_int_input" /> x
933
+ <input type="text" name="thumb_height" id="thumb_height" value="<?php echo $row->thumb_height; ?>" class="spider_int_input" /> px
934
+ <div class="spider_description"></div>
935
+ </td>
936
+ </tr>
937
+ <tr>
938
+ <td class="spider_label_options"><label>Enable image pagination: </label></td>
939
+ <td>
940
+ <input type="radio" name="image_enable_page" id="image_enable_page_yes" value="1" <?php if ($row->image_enable_page) echo 'checked="checked"'; ?> /><label for="image_enable_page_yes">Yes</label>
941
+ <input type="radio" name="image_enable_page" id="image_enable_page_no" value="0" <?php if (!$row->image_enable_page) echo 'checked="checked"'; ?> /><label for="image_enable_page_no">No</label>
942
+ <div class="spider_description"></div>
943
+ </td>
944
+ </tr>
945
+ </tbody>
946
+ </table>
947
+ </div>
948
+
949
+ <!--Image options-->
950
+ <div class="spider_div_options" id="div_content_7">
951
+ <table>
952
+ <tbody>
953
+ <tr>
954
+ <td class="spider_label_options">
955
+ <label>Enable image title for Image Browser view:</label>
956
+ </td>
957
+ <td>
958
+ <input type="radio" name="image_browser_title_enable" id="image_browser_title_enable_1" value="1" <?php if ($row->image_browser_title_enable) echo 'checked="checked"'; ?> /><label for="image_browser_title_enable_1">Yes</label>
959
+ <input type="radio" name="image_browser_title_enable" id="image_browser_title_enable_0" value="0" <?php if (!$row->image_browser_title_enable) echo 'checked="checked"'; ?> /><label for="image_browser_title_enable_0">No</label>
960
+ <div class="spider_description"></div>
961
+ </td>
962
+ </tr>
963
+ <tr>
964
+ <td class="spider_label_options">
965
+ <label>Enable image description for Image Browser view:</label>
966
+ </td>
967
+ <td>
968
+ <input type="radio" name="image_browser_description_enable" id="image_browser_description_enable_1" value="1" <?php if ($row->image_browser_description_enable) echo 'checked="checked"'; ?> /><label for="image_browser_description_enable_1">Yes</label>
969
+ <input type="radio" name="image_browser_description_enable" id="image_browser_description_enable_0" value="0" <?php if (!$row->image_browser_description_enable) echo 'checked="checked"'; ?> /><label for="image_browser_description_enable_0">No</label>
970
+ <div class="spider_description"></div>
971
+ </td>
972
+ </tr>
973
+ <tr>
974
+ <td class="spider_label_options">
975
+ <label for="image_browser_width">Image width for Image Browser view:</label>
976
+ </td>
977
+ <td>
978
+ <input type="text" name="image_browser_width" id="image_browser_width" value="<?php echo $row->image_browser_width; ?>" class="spider_int_input" /> px
979
+ <div class="spider_description"></div>
980
+ </td>
981
+ </tr>
982
+ <tr>
983
+ <td colspan="2">
984
+ <div style="margin: 0;" class="spider_description spider_free_version">The Blog Style view is disabled in free version.</div>
985
+ </td>
986
+ </tr>
987
+ <tr>
988
+ <td class="spider_label_options spider_free_version_label">
989
+ <label>Enable image title for Blog Style view:</label>
990
+ </td>
991
+ <td class="spider_free_version_label">
992
+ <input disabled="disabled" type="radio" name="blog_style_title_enable" id="blog_style_title_enable_1" value="1" <?php if ($row->blog_style_title_enable) echo 'checked="checked"'; ?> /><label for="blog_style_title_enable_1">Yes</label>
993
+ <input disabled="disabled" type="radio" name="blog_style_title_enable" id="blog_style_title_enable_0" value="0" <?php if (!$row->blog_style_title_enable) echo 'checked="checked"'; ?> /><label for="blog_style_title_enable_0">No</label>
994
+ <div class="spider_description"></div>
995
+ </td>
996
+ </tr>
997
+ <tr>
998
+ <td class="spider_label_options spider_free_version_label">
999
+ <label for="blog_style_width">Image width for Blog Style view:</label>
1000
+ </td>
1001
+ <td class="spider_free_version_label">
1002
+ <input disabled="disabled" type="text" name="blog_style_width" id="blog_style_width" value="<?php echo $row->blog_style_width; ?>" class="spider_int_input spider_free_version_label" /> px
1003
+ <div class="spider_description"></div>
1004
+ </td>
1005
+ </tr>
1006
+ <tr>
1007
+ <td class="spider_label_options spider_free_version_label">
1008
+ <label for="blog_style_images_per_page">Images per page in Blog Style view:</label>
1009
+ </td>
1010
+ <td class="spider_free_version_label">
1011
+ <input disabled="disabled" type="text" name="blog_style_images_per_page" id="blog_style_images_per_page" value="<?php echo $row->blog_style_images_per_page; ?>" class="spider_int_input spider_free_version_label" />
1012
+ <div class="spider_description"></div>
1013
+ </td>
1014
+ </tr>
1015
+ <tr>
1016
+ <td class="spider_label_options spider_free_version_label">
1017
+ <label>Enable pagination for Blog Style view:</label>
1018
+ </td>
1019
+ <td class="spider_free_version_label">
1020
+ <input disabled="disabled" type="radio" name="blog_style_enable_page" id="blog_style_enable_page_1" value="1" <?php if ($row->blog_style_enable_page) echo 'checked="checked"'; ?> /><label for="blog_style_enable_page_1">Yes</label>
1021
+ <input disabled="disabled" type="radio" name="blog_style_enable_page" id="blog_style_enable_page_0" value="0" <?php if (!$row->blog_style_enable_page) echo 'checked="checked"'; ?> /><label for="blog_style_enable_page_0">No</label>
1022
+
1023
+ </td>
1024
+ </tr>
1025
+ </tbody>
1026
+ </table>
1027
+ </div>
1028
+ </div>
1029
+
1030
+ <input id="task" name="task" type="hidden" value="" />
1031
+ <input id="current_id" name="current_id" type="hidden" value="<?php echo $row->id; ?>" />
1032
+ <script>
1033
+ window.onload = bwg_change_option_type('<?php echo isset($_POST['type']) ? esc_html($_POST['type']) : '1'; ?>');
1034
+ window.onload = bwg_inputs();
1035
+ window.onload = bwg_watermark('watermark_type_<?php echo $row->watermark_type ?>');
1036
+ window.onload = bwg_built_in_watermark('watermark_type_<?php echo $row->built_in_watermark_type ?>');
1037
+ window.onload = bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_fullscreen', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_fullscreen', 'popup_enable_ctrl_btn_0'" ?>);
1038
+ window.onload = bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_download', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_download', 'popup_enable_ctrl_btn_0'" ?>);
1039
+ window.onload = bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_fullsize_image', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_fullsize_image', 'popup_enable_ctrl_btn_0'" ?>);
1040
+ window.onload = bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_comment', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_comment', 'popup_enable_ctrl_btn_0'" ?>);
1041
+ window.onload = bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? ($row->popup_enable_comment ? "'', 'tr_popup_email', 'popup_enable_comment_1'" : "'none', 'tr_popup_email', 'popup_enable_comment_0'") : "'none', 'tr_popup_email', 'popup_enable_comment_0'" ?>);
1042
+ window.onload = bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? ($row->popup_enable_comment ? "'', 'tr_popup_captcha', 'popup_enable_comment_1'" : "'none', 'tr_popup_captcha', 'popup_enable_comment_0'") : "'none', 'tr_popup_captcha', 'popup_enable_comment_0'" ?>);
1043
+ window.onload = bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_facebook', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_facebook', 'popup_enable_ctrl_btn_0'" ?>);
1044
+ window.onload = bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_twitter', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_twitter', 'popup_enable_ctrl_btn_0'" ?>);
1045
+ window.onload = bwg_enable_disable(<?php echo $row->popup_enable_ctrl_btn ? "'', 'tr_popup_google', 'popup_enable_ctrl_btn_1'" : "'none', 'tr_popup_google', 'popup_enable_ctrl_btn_0'" ?>);
1046
+ window.onload = bwg_enable_disable(<?php echo $row->popup_enable_filmstrip ? "'', 'tr_popup_filmstrip_height', 'popup_enable_filmstrip_1'" : "'none', 'tr_popup_filmstrip_height', 'popup_enable_filmstrip_0'" ?>);
1047
+ window.onload = bwg_enable_disable(<?php echo $row->slideshow_enable_filmstrip ? "'', 'tr_slideshow_filmstrip_height', 'slideshow_enable_filmstrip_yes'" : "'none', 'tr_slideshow_filmstrip_height', 'slideshow_enable_filmstrip_no'" ?>);
1048
+ window.onload = bwg_enable_disable(<?php echo $row->slideshow_enable_title ? "'', 'tr_slideshow_title_position', 'slideshow_enable_title_yes'" : "'none', 'tr_slideshow_title_position', 'slideshow_enable_title_no'" ?>);
1049
+ window.onload = bwg_enable_disable(<?php echo $row->slideshow_enable_description ? "'', 'tr_slideshow_description_position', 'slideshow_enable_description_yes'" : "'none', 'tr_slideshow_description_position', 'slideshow_enable_description_no'" ?>);
1050
+ window.onload = bwg_enable_disable(<?php echo $row->slideshow_enable_music ? "'', 'tr_slideshow_music_url', 'slideshow_enable_music_yes'" : "'none', 'tr_slideshow_music_url', 'slideshow_enable_music_no'" ?>);
1051
+ window.onload = preview_watermark();
1052
+ window.onload = preview_built_in_watermark();
1053
+ </script>
1054
+ </form>
1055
+ <?php
1056
+ }
1057
+
1058
+ ////////////////////////////////////////////////////////////////////////////////////////
1059
+ // Getters & Setters //
1060
+ ////////////////////////////////////////////////////////////////////////////////////////
1061
+ ////////////////////////////////////////////////////////////////////////////////////////
1062
+ // Private Methods //
1063
+ ////////////////////////////////////////////////////////////////////////////////////////
1064
+ ////////////////////////////////////////////////////////////////////////////////////////
1065
+ // Listeners //
1066
+ ////////////////////////////////////////////////////////////////////////////////////////
1067
+ }
admin/views/BWGViewTags_bwg.php ADDED
@@ -0,0 +1,186 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGViewTags_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $model;
14
+
15
+
16
+ ////////////////////////////////////////////////////////////////////////////////////////
17
+ // Constructor & Destructor //
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ public function __construct($model) {
20
+ $this->model = $model;
21
+ }
22
+ ////////////////////////////////////////////////////////////////////////////////////////
23
+ // Public Methods //
24
+ ////////////////////////////////////////////////////////////////////////////////////////
25
+ public function display() {
26
+ $rows_data = $this->model->get_rows_data();
27
+ $page_nav = $this->model->page_nav();
28
+ $search_value = ((isset($_POST['search_value'])) ? esc_html(stripslashes($_POST['search_value'])) : '');
29
+ $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
30
+ $order_by = (isset($_POST['order_by']) ? esc_html(stripslashes($_POST['order_by'])) : 'A.term_id');
31
+ $order_class = 'manage-column column-title sorted ' . $asc_or_desc;
32
+ $ids_string = '';
33
+ ?>
34
+ <script>
35
+ var ajax_url = "<?php echo add_query_arg(array('action' => ''), admin_url('admin-ajax.php')); ?>"
36
+ </script>
37
+ <div style="clear: both; float: left; width: 95%;">
38
+ <div style="float:left; font-size: 14px; font-weight: bold;">
39
+ This section allows you to create, edit and delete tags.
40
+ <a style="color: blue; text-decoration: none;" target="_blank" href="http://web-dorado.com/wordpress-gallery-guide-step-3.html">Read More in User Manual</a>
41
+ </div>
42
+ <div style="float: right; text-align: right;">
43
+ <a style="color: red; text-decoration: none;" target="_blank" href="http://web-dorado.com/products/wordpress-photo-gallery-plugin.html">
44
+ <img width="215" border="0" alt="web-dorado.com" src="<?php echo WD_BWG_URL . '/images/header.png'; ?>" />
45
+ <p style="font-size: 16px; margin: 0; padding: 0 20px 0 0;">Get the full version</p>
46
+ </a>
47
+ </div>
48
+ </div>
49
+ <div id="wordpress_message_1" style="width:95%;display:none"><div id="wordpress_message_2" class="updated"><p><strong>Item Succesfully Saved.</strong></p></div></div>
50
+ <form class="wrap" id="tags_form" method="post" action="admin.php?page=tags_bwg" style="float:left; width: 95%;">
51
+ <span class="tag_icon"></span>
52
+ <h2>Tags</h2>
53
+ <div class="buttons_div">
54
+ <input class="button" type="submit" value="Save" onclick="if (confirm('Do you want to edit items?')){
55
+ spider_set_input_value('task', 'edit_tags');
56
+ } else {
57
+ return false;
58
+ }" />
59
+ <input class="button" type="submit" value="Delete" onclick="if (confirm('Do you want to delete selected items?')) {
60
+ spider_set_input_value('task', 'delete_all');
61
+ } else {
62
+ return false;
63
+ }" />
64
+ </div>
65
+ <div class="tablenav top">
66
+ <?php
67
+ WDWLibrary::search('Name', $search_value, 'tags_form');
68
+ WDWLibrary::html_page_nav($page_nav['total'], $page_nav['limit'], 'tags_form');
69
+ ?>
70
+ </div>
71
+ <table class="wp-list-table widefat fixed pages">
72
+ <thead>
73
+ <tr>
74
+ <th class="manage-column column-cb check-column table_small_col"><input id="check_all" type="checkbox" style="margin:0;" /></th>
75
+ <th class="table_small_col <?php if ($order_by == 'A.term_id') {echo $order_class;} ?>">
76
+ <a onclick="spider_set_input_value('task', '');
77
+ spider_set_input_value('order_by', 'A.term_id');
78
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'A.term_id') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
79
+ spider_form_submit(event, 'tags_form')" href="">
80
+ <span>ID</span><span class="sorting-indicator"></span></th>
81
+ </a>
82
+ <th class="<?php if ($order_by == 'A.name') {echo $order_class;} ?>">
83
+ <a onclick="spider_set_input_value('task', '');
84
+ spider_set_input_value('order_by', 'A.name');
85
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'A.name') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
86
+ spider_form_submit(event, 'tags_form')" href="">
87
+ <span>Name</span><span class="sorting-indicator"></span>
88
+ </a>
89
+ </th>
90
+ <th class="<?php if ($order_by == 'A.slug') {echo $order_class;} ?>">
91
+ <a onclick="spider_set_input_value('task', '');
92
+ spider_set_input_value('order_by', 'A.slug');
93
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'A.slug') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
94
+ spider_form_submit(event, 'tags_form')" href="">
95
+ <span>Slug</span><span class="sorting-indicator"></span>
96
+ </a>
97
+ </th>
98
+ <th class="<?php if ($order_by == 'B.count') {echo $order_class;} ?> table_big_col ">
99
+ <a onclick="spider_set_input_value('task', '');
100
+ spider_set_input_value('order_by', 'B.count');
101
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'B.count') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
102
+ spider_form_submit(event, 'tags_form')" href="">
103
+ <span>Count</span><span class="sorting-indicator"></span>
104
+ </a>
105
+ </th>
106
+ <th class="table_big_col">Edit</th>
107
+ <th class="table_big_col">Delete</th>
108
+ </tr>
109
+ <tr id="tr">
110
+ <th></th>
111
+ <th></th>
112
+ <th class="edit_input">
113
+ <input class="input_th" name="tagname" type="text" value="">
114
+ </th>
115
+ <th class="edit_input">
116
+ <input class="input_th" name="slug" type="text" value="">
117
+ </th>
118
+ <th></th>
119
+ <th class="table_big_col">
120
+ <a class="add_tag_th button-primary button button-small" onclick="spider_set_input_value('task', 'save');
121
+ spider_set_input_value('current_id', '');
122
+ spider_form_submit(event, 'tags_form')" href="">Add Tag </a>
123
+ </th>
124
+ <th></th>
125
+ </tr>
126
+ </thead>
127
+ <tbody id="tbody_arr">
128
+ <?php
129
+ if ($rows_data) {
130
+ foreach ($rows_data as $row_data) {
131
+ $alternate = (!isset($alternate) || $alternate == 'class="alternate"') ? '' : 'class="alternate"';
132
+ ?>
133
+ <tr id="tr_<?php echo $row_data->term_id; ?>" <?php echo $alternate; ?>>
134
+ <td class="table_small_col check-column" id="td_check_<?php echo $row_data->term_id; ?>" ><input id="check_<?php echo $row_data->term_id; ?>" name="check_<?php echo $row_data->term_id; ?>" type="checkbox" /></td>
135
+ <td class="table_small_col" id="td_id_<?php echo $row_data->term_id; ?>" ><?php echo $row_data->term_id; ?></td>
136
+ <td id="td_name_<?php echo $row_data->term_id; ?>" >
137
+ <a class="pointer" id="name<?php echo $row_data->term_id; ?>"
138
+ onclick="edit_tag(<?php echo $row_data->term_id; ?>)"
139
+ title="Edit"><?php echo $row_data->name; ?></a>
140
+ </td>
141
+ <td id="td_slug_<?php echo $row_data->term_id; ?>">
142
+ <a class="pointer"
143
+ id="slug<?php echo $row_data->term_id; ?>"
144
+ onclick="edit_tag(<?php echo $row_data->term_id; ?>)"
145
+ title="Edit"><?php echo $row_data->slug; ?></a>
146
+ </td>
147
+ <td class="table_big_col" id="td_count_<?php echo $row_data->term_id; ?>" >
148
+ <a class="pointer"
149
+ id="count<?php echo $row_data->term_id; ?>"
150
+ onclick="edit_tag(<?php echo $row_data->term_id; ?>)"
151
+ title="Edit"><?php echo $this->model->get_count_of_images($row_data->term_id); ?></a>
152
+ </td>
153
+ <td class="table_big_col" id="td_edit_<?php echo $row_data->term_id; ?>">
154
+ <a onclick="edit_tag(<?php echo $row_data->term_id; ?>)">Edit</a>
155
+ </td>
156
+ <td class="table_big_col" id="td_delete_<?php echo $row_data->term_id; ?>">
157
+ <a onclick="spider_set_input_value('task', 'delete');
158
+ spider_set_input_value('current_id', <?php echo $row_data->term_id; ?>);
159
+ spider_form_submit(event, 'tags_form')" href="">Delete</a>
160
+ </td>
161
+ </tr>
162
+ <?php
163
+ $ids_string .= $row_data->term_id . ',';
164
+ }
165
+ }
166
+ ?>
167
+ </tbody>
168
+ </table>
169
+ <input id="task" name="task" type="hidden" value="" />
170
+ <input id="current_id" name="current_id" type="hidden" value="" />
171
+ <input id="ids_string" name="ids_string" type="hidden" value="<?php echo $ids_string; ?>" />
172
+ <input id="asc_or_desc" name="asc_or_desc" type="hidden" value="<?php echo $asc_or_desc; ?>" />
173
+ <input id="order_by" name="order_by" type="hidden" value="<?php echo $order_by; ?>" />
174
+ </form>
175
+ <?php
176
+ }
177
+ ////////////////////////////////////////////////////////////////////////////////////////
178
+ // Getters & Setters //
179
+ ////////////////////////////////////////////////////////////////////////////////////////
180
+ ////////////////////////////////////////////////////////////////////////////////////////
181
+ // Private Methods //
182
+ ////////////////////////////////////////////////////////////////////////////////////////
183
+ ////////////////////////////////////////////////////////////////////////////////////////
184
+ // Listeners //
185
+ ////////////////////////////////////////////////////////////////////////////////////////
186
+ }
admin/views/BWGViewThemes_bwg.php ADDED
@@ -0,0 +1,2893 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGViewThemes_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $model;
14
+
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ // Constructor & Destructor //
17
+ ////////////////////////////////////////////////////////////////////////////////////////
18
+ public function __construct($model) {
19
+ $this->model = $model;
20
+ }
21
+
22
+ ////////////////////////////////////////////////////////////////////////////////////////
23
+ // Public Methods //
24
+ ////////////////////////////////////////////////////////////////////////////////////////
25
+ public function display() {
26
+ $rows_data = $this->model->get_rows_data();
27
+ $page_nav = $this->model->page_nav();
28
+ $search_value = ((isset($_POST['search_value'])) ? esc_html($_POST['search_value']) : '');
29
+ $search_select_value = ((isset($_POST['search_select_value'])) ? (int)$_POST['search_select_value'] : 0);
30
+ $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html($_POST['asc_or_desc']) : 'asc');
31
+ $order_by = (isset($_POST['order_by']) ? esc_html($_POST['order_by']) : 'id');
32
+ $order_class = 'manage-column column-title sorted ' . $asc_or_desc;
33
+ $ids_string = '';
34
+ ?>
35
+ <div style="clear: both; float: left; width: 95%;">
36
+ <div style="float:left; font-size: 14px; font-weight: bold;">
37
+ This section allows you to create, edit and delete themes.
38
+ <a style="color: blue; text-decoration: none;" target="_blank" href="http://web-dorado.com/wordpress-gallery-guide-step-6/6-1.html">Read More in User Manual</a>
39
+ </div>
40
+ <div style="float: right; text-align: right;">
41
+ <a style="color: red; text-decoration: none;" target="_blank" href="http://web-dorado.com/products/wordpress-photo-gallery-plugin.html">
42
+ <img width="215" border="0" alt="web-dorado.com" src="<?php echo WD_BWG_URL . '/images/header.png'; ?>" />
43
+ <p style="font-size: 16px; margin: 0; padding: 0 20px 0 0;">Get the full version</p>
44
+ </a>
45
+ </div>
46
+ </div>
47
+ <form class="wrap" id="themes_form" method="post" action="admin.php?page=themes_bwg" style="float: left; width: 95%;">
48
+ <span class="theme_icon"></span>
49
+ <h2>
50
+ Themes
51
+ <a href="" class="add-new-h2" onclick="spider_set_input_value('task', 'add');
52
+ spider_form_submit(event, 'themes_form')">Add new</a>
53
+ </h2>
54
+ <div class="buttons_div">
55
+ <input class="button" type="submit" onclick="if (confirm('Do you want to delete selected items?')) {
56
+ spider_set_input_value('task', 'delete_all');
57
+ } else {
58
+ return false;
59
+ }" value="Delete"/>
60
+ </div>
61
+ <div class="tablenav top">
62
+ <?php
63
+ WDWLibrary::search('Title', $search_value, 'themes_form');
64
+ WDWLibrary::html_page_nav($page_nav['total'], $page_nav['limit'], 'themes_form');
65
+ ?>
66
+ </div>
67
+ <table class="wp-list-table widefat fixed pages">
68
+ <thead>
69
+ <th class="manage-column column-cb check-column table_small_col"><input id="check_all" type="checkbox" style="margin:0;"/></th>
70
+ <th class="table_small_col <?php if ($order_by == 'id') { echo $order_class; } ?>">
71
+ <a onclick="spider_set_input_value('task', '');
72
+ spider_set_input_value('order_by', 'id');
73
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html($_POST['order_by']) == 'id') && esc_html($_POST['asc_or_desc']) == 'asc') ? 'desc' : 'asc'); ?>');
74
+ spider_form_submit(event, 'themes_form')" href="">
75
+ <span>ID</span><span class="sorting-indicator"></span></a>
76
+ </th>
77
+ <th class="<?php if ($order_by == 'name') { echo $order_class; } ?>">
78
+ <a onclick="spider_set_input_value('task', '');
79
+ spider_set_input_value('order_by', 'name');
80
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html($_POST['order_by']) == 'title') && esc_html($_POST['asc_or_desc']) == 'asc') ? 'desc' : 'asc'); ?>');
81
+ spider_form_submit(event, 'themes_form')" href="">
82
+ <span>Name</span><span class="sorting-indicator"></span></a>
83
+ </th>
84
+ <th class="table_big_col <?php if ($order_by == 'default_theme') { echo $order_class; } ?>">
85
+ <a onclick="spider_set_input_value('task', '');
86
+ spider_set_input_value('order_by', 'default_theme');
87
+ spider_set_input_value('asc_or_desc', '<?php echo ((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html($_POST['order_by']) == 'default_theme') && esc_html($_POST['asc_or_desc']) == 'asc') ? 'desc' : 'asc'); ?>');
88
+ spider_form_submit(event, 'themes_form')" href="">
89
+ <span>Default</span><span class="sorting-indicator"></span></a>
90
+ </th>
91
+ <th class="table_big_col">Edit</th>
92
+ <th class="table_big_col">Delete</th>
93
+ </thead>
94
+ <tbody id="tbody_arr">
95
+ <?php
96
+ if ($rows_data) {
97
+ foreach ($rows_data as $row_data) {
98
+ $alternate = (!isset($alternate) || $alternate == 'class="alternate"') ? '' : 'class="alternate"';
99
+ $default_image = (($row_data->default_theme) ? 'default' : 'notdefault');
100
+ $default = (($row_data->default_theme) ? '' : 'setdefault');
101
+ ?>
102
+ <tr id="tr_<?php echo $row_data->id; ?>" <?php echo $alternate; ?>>
103
+ <td class="table_small_col check-column">
104
+ <input id="check_<?php echo $row_data->id; ?>" name="check_<?php echo $row_data->id; ?>" type="checkbox"/>
105
+ </td>
106
+ <td class="table_small_col"><?php echo $row_data->id; ?></td>
107
+ <td>
108
+ <a onclick="spider_set_input_value('task', 'edit');
109
+ spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
110
+ spider_form_submit(event, 'themes_form')" href="" title="Edit"><?php echo $row_data->name; ?></a>
111
+ </td>
112
+ <td class="table_big_col">
113
+ <?php
114
+ if ($default != '') {
115
+ ?>
116
+ <a onclick="spider_set_input_value('task', '<?php echo $default; ?>');
117
+ spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
118
+ spider_form_submit(event, 'themes_form')" href="">
119
+ <?php
120
+ }
121
+ ?>
122
+ <img src="<?php echo WD_BWG_URL . '/images/' . $default_image . '.png'; ?>" />
123
+ <?php
124
+ if ($default != '') {
125
+ ?>
126
+ </a>
127
+ <?php
128
+ }
129
+ ?>
130
+ </td>
131
+ <td class="table_big_col">
132
+ <a onclick="spider_set_input_value('task', 'edit');
133
+ spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
134
+ spider_form_submit(event, 'themes_form')" href="">Edit</a>
135
+ </td>
136
+ <td class="table_big_col">
137
+ <a onclick="spider_set_input_value('task', 'delete');
138
+ spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
139
+ spider_form_submit(event, 'themes_form')" href="">Delete</a>
140
+ </td>
141
+ </tr>
142
+ <?php
143
+ $ids_string .= $row_data->id . ',';
144
+ }
145
+ }
146
+ ?>
147
+ </tbody>
148
+ </table>
149
+ <input id="task" name="task" type="hidden" value=""/>
150
+ <input id="current_id" name="current_id" type="hidden" value=""/>
151
+ <input id="ids_string" name="ids_string" type="hidden" value="<?php echo $ids_string; ?>"/>
152
+ <input id="asc_or_desc" name="asc_or_desc" type="hidden" value="asc"/>
153
+ <input id="order_by" name="order_by" type="hidden" value="<?php echo $order_by; ?>"/>
154
+ </form>
155
+ <?php
156
+ }
157
+
158
+ public function edit($id, $reset) {
159
+ $row = $this->model->get_row_data($id, $reset);
160
+ $page_title = (($id != 0) ? 'Edit theme ' . $row->name : 'Create new theme');
161
+ $current_type = ((isset($_POST['current_type'])) ? esc_html($_POST['current_type']) : 'Thumbnail');
162
+ $border_styles = array(
163
+ 'none' => 'None',
164
+ 'solid' => 'Solid',
165
+ 'dotted' => 'Dotted',
166
+ 'dashed' => 'Dashed',
167
+ 'double' => 'Double',
168
+ 'groove' => 'Groove',
169
+ 'ridge' => 'Ridge',
170
+ 'inset' => 'Inset',
171
+ 'outset' => 'Outset',
172
+ );
173
+ $font_families = array(
174
+ 'arial' => 'Arial',
175
+ 'lucida grande' => 'Lucida grande',
176
+ 'segoe ui' => 'Segoe ui',
177
+ 'tahoma' => 'Tahoma',
178
+ 'trebuchet ms' => 'Trebuchet ms',
179
+ 'verdana' => 'Verdana',
180
+ 'cursive' =>'Cursive',
181
+ 'fantasy' => 'Fantasy',
182
+ 'monospace' => 'Monospace',
183
+ 'serif' => 'Serif',
184
+ );
185
+ $aligns = array(
186
+ 'left' => 'Left',
187
+ 'right' => 'Right',
188
+ 'center' => 'Center',
189
+ );
190
+ $font_weights = array(
191
+ 'bold' => 'Bold',
192
+ 'lighter' => 'Lighter',
193
+ 'normal' => 'Normal',
194
+ );
195
+ $hover_effects = array(
196
+ 'none' => 'None',
197
+ 'rotate' => 'Rotate',
198
+ 'scale' => 'Scale',
199
+ 'skew' => 'Skew',
200
+ );
201
+ $button_styles = array(
202
+ 'fa-chevron' => 'Chevron',
203
+ 'fa-angle' => 'Angle',
204
+ 'fa-angle-double' => 'Double',
205
+ );
206
+ ?>
207
+ <div style="clear: both; float: left; width: 99%;">
208
+ <div style="float:left; font-size: 14px; font-weight: bold;">
209
+ This section allows you to add/edit theme.
210
+ <a style="color: blue; text-decoration: none;" target="_blank" href="http://web-dorado.com/wordpress-gallery-guide-step-6/6-1.html">Read More in User Manual</a>
211
+ </div>
212
+ <div style="float: right; text-align: right;">
213
+ <a style="color: red; text-decoration: none;" target="_blank" href="http://web-dorado.com/products/wordpress-photo-gallery-plugin.html">
214
+ <img width="215" border="0" alt="web-dorado.com" src="<?php echo WD_BWG_URL . '/images/header.png'; ?>" />
215
+ <p style="font-size: 16px; margin: 0; padding: 0 20px 0 0;">Get the full version</p>
216
+ </a>
217
+ </div>
218
+ </div>
219
+ <form class="wrap" method="post" action="admin.php?page=themes_bwg" style="float: left; width: 99%;">
220
+ <span class="theme_icon"></span>
221
+ <h2><?php echo $page_title; ?></h2>
222
+ <div style="float: right; margin: 0 5px 0 0;">
223
+ <input class="button" type="submit" onclick="if (spider_check_required('name', 'Name')) {return false;}; spider_set_input_value('task', 'save')" value="Save"/>
224
+ <input class="button" type="submit" onclick="if (spider_check_required('name', 'Name')) {return false;}; spider_set_input_value('task', 'apply')" value="Apply"/>
225
+ <input class="button" type="submit" onclick="spider_set_input_value('task', 'cancel')" value="Cancel"/>
226
+ <input title="Reset to default theme" class="button-primary" type="submit" onclick="if (confirm('Do you want to reset to default?')) {
227
+ spider_set_input_value('task', 'reset');
228
+ } else {
229
+ return false;
230
+ }" value="Reset"/>
231
+ </div>
232
+ <div style="float: left; margin: 10px 0 0; display: none;" id="type_menu">
233
+ <div id="type_Thumbnail" class="theme_type" onclick="bwg_change_theme_type('Thumbnail')">Thumbnails</div>
234
+ <div id="type_Masonry" class="theme_type" onclick="bwg_change_theme_type('Masonry')">Masonry</div>
235
+ <div id="type_Slideshow" class="theme_type" onclick="bwg_change_theme_type('Slideshow')">Slideshow</div>
236
+ <div id="type_Image_browser" class="theme_type" onclick="bwg_change_theme_type('Image_browser')">Image Browser</div>
237
+ <div id="type_Compact_album" class="theme_type" onclick="bwg_change_theme_type('Compact_album')">Compact Album</div>
238
+ <div id="type_Extended_album" class="theme_type" onclick="bwg_change_theme_type('Extended_album')">Extended Album</div>
239
+ <div id="type_Blog_style" class="theme_type" onclick="bwg_change_theme_type('Blog_style')">Blog Style</div>
240
+ <div id="type_Lightbox" class="theme_type" onclick="bwg_change_theme_type('Lightbox')">Lightbox</div>
241
+ <div id="type_Navigation" class="theme_type" onclick="bwg_change_theme_type('Navigation')">Page Navigation</div>
242
+ <input type="hidden" id="current_type" name="current_type" value="<?php echo $current_type; ?>" />
243
+ </div>
244
+ <fieldset class="spider_fieldset">
245
+ <legend>Parameters</legend>
246
+ <table style="clear:both;">
247
+ <tbody>
248
+ <tr>
249
+ <td class="spider_label"><label for="name">Name: <span style="color:#FF0000;"> * </span> </label></td>
250
+ <td><input type="text" id="name" name="name" value="<?php echo $row->name; ?>" class="spider_text_input"/></td>
251
+ </tr>
252
+ </tbody>
253
+ </table>
254
+
255
+ <fieldset class="spider_type_fieldset" id="Thumbnail">
256
+ <fieldset class="spider_child_fieldset" id="Thumbnail_1">
257
+ <table style="clear:both;">
258
+ <tbody>
259
+ <tr>
260
+ <td class="spider_label"><label for="thumb_margin">Margin: </label></td>
261
+ <td>
262
+ <input type="text" name="thumb_margin" id="thumb_margin" value="<?php echo $row->thumb_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
263
+ </td>
264
+ </tr>
265
+ <tr>
266
+ <td class="spider_label"><label for="thumb_padding">Padding: </label></td>
267
+ <td>
268
+ <input type="text" name="thumb_padding" id="thumb_padding" value="<?php echo $row->thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
269
+ </td>
270
+ </tr>
271
+ <tr>
272
+ <td class="spider_label"><label for="thumb_border_width">Border width: </label></td>
273
+ <td>
274
+ <input type="text" name="thumb_border_width" id="thumb_border_width" value="<?php echo $row->thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
275
+ </td>
276
+ </tr>
277
+ <tr>
278
+ <td class="spider_label"><label for="thumb_border_style">Border style: </label></td>
279
+ <td>
280
+ <select name="thumb_border_style" id="thumb_border_style">
281
+ <?php
282
+ foreach ($border_styles as $key => $border_style) {
283
+ ?>
284
+ <option value="<?php echo $key; ?>" <?php echo (($row->thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
285
+ <?php
286
+ }
287
+ ?>
288
+ </select>
289
+ </td>
290
+ </tr>
291
+ <tr>
292
+ <td class="spider_label"><label for="thumb_border_color">Border color:</label></td>
293
+ <td>
294
+ <input type="text" name="thumb_border_color" id="thumb_border_color" value="<?php echo $row->thumb_border_color; ?>" class="color"/>
295
+ </td>
296
+ </tr>
297
+ <tr>
298
+ <td class="spider_label"><label for="thumb_border_radius">Border radius: </label></td>
299
+ <td>
300
+ <input type="text" name="thumb_border_radius" id="thumb_border_radius" value="<?php echo $row->thumb_border_radius; ?>" class="spider_char_input" />
301
+ <div class="spider_description">Use CSS type values.</div>
302
+ </td>
303
+ </tr>
304
+ <tr>
305
+ <td class="spider_label"><label for="thumb_box_shadow">Shadow: </label></td>
306
+ <td>
307
+ <input type="text" name="thumb_box_shadow" id="thumb_box_shadow" value="<?php echo $row->thumb_box_shadow; ?>" class="spider_box_input" />
308
+ <div class="spider_description">Use CSS type values.</div>
309
+ </td>
310
+ </tr>
311
+ </tbody>
312
+ </table>
313
+ </fieldset>
314
+ <fieldset class="spider_child_fieldset" id="Thumbnail_2">
315
+ <table style="clear:both;">
316
+ <tbody>
317
+ <tr>
318
+ <td class="spider_label">
319
+ <label for="thumb_bg_color">Thumbnail background color: </label>
320
+ </td>
321
+ <td>
322
+ <input type="text" name="thumb_bg_color" id="thumb_bg_color" value="<?php echo $row->thumb_bg_color; ?>" class="color"/>
323
+ </td>
324
+ </tr>
325
+ <tr>
326
+ <td class="spider_label"><label for="thumb_transparent">Thumbnail transparency: </label></td>
327
+ <td>
328
+ <input type="text" name="thumb_transparent" id="thumb_transparent" value="<?php echo $row->thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
329
+ <div class="spider_description">Value must be between 0 to 100.</div>
330
+ </td>
331
+ </tr>
332
+ <tr>
333
+ <td class="spider_label"><label for="thumbs_bg_color">Full background color: </label></td>
334
+ <td>
335
+ <input type="text" name="thumbs_bg_color" id="thumbs_bg_color" value="<?php echo $row->thumbs_bg_color; ?>" class="color"/>
336
+ </td>
337
+ </tr>
338
+ <tr>
339
+ <td class="spider_label"><label for="thumb_bg_transparent">Full background transparency: </label></td>
340
+ <td>
341
+ <input type="text" name="thumb_bg_transparent" id="thumb_bg_transparent" value="<?php echo $row->thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
342
+ <div class="spider_description">Value must be between 0 to 100.</div>
343
+ </td>
344
+ </tr>
345
+ <tr>
346
+ <td class="spider_label"><label for="thumb_align">Alignment: </label></td>
347
+ <td>
348
+ <select name="thumb_align" id="thumb_align">
349
+ <?php
350
+ foreach ($aligns as $key => $align) {
351
+ ?>
352
+ <option value="<?php echo $key; ?>" <?php echo (($row->thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
353
+ <?php
354
+ }
355
+ ?>
356
+ </select>
357
+ </td>
358
+ </tr>
359
+ </tbody>
360
+ </table>
361
+ </fieldset>
362
+ <fieldset class="spider_child_fieldset" id="Thumbnail_3">
363
+ <table style="clear:both;">
364
+ <tbody>
365
+ <tr>
366
+ <td class="spider_label"><label for="thumb_hover_effect">Hover effect: </label></td>
367
+ <td>
368
+ <select name="thumb_hover_effect" id="thumb_hover_effect" class="spider_int_input">
369
+ <?php
370
+ foreach ($hover_effects as $key => $hover_effect) {
371
+ ?>
372
+ <option value="<?php echo $key; ?>" <?php echo (($row->thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo $hover_effect; ?></option>
373
+ <?php
374
+ }
375
+ ?>
376
+ </select>
377
+ </td>
378
+ </tr>
379
+ <tr>
380
+ <td class="spider_label"><label for="thumb_hover_effect_value">Hover effect value: </label></td>
381
+ <td>
382
+ <input type="text" name="thumb_hover_effect_value" id="thumb_hover_effect_value" value="<?php echo $row->thumb_hover_effect_value; ?>" class="spider_char_input"/>
383
+ <div class="spider_description">E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.</div>
384
+ </td>
385
+ </tr>
386
+ <tr>
387
+ <td class="spider_label"><label for="thumb_transition1">Transition: </label></td>
388
+ <td id="thumb_transition">
389
+ <input type="radio" name="thumb_transition" id="thumb_transition1" value="1"<?php if ($row->thumb_transition == 1) echo 'checked="checked"'; ?> />
390
+ <label for="thumb_transition1" id="thumb_transition1_lbl">Yes</label>
391
+ <input type="radio" name="thumb_transition" id="thumb_transition0" value="0"<?php if ($row->thumb_transition == 0) echo 'checked="checked"'; ?> />
392
+ <label for="thumb_transition0" id="thumb_transition0_lbl">No</label>
393
+ </td>
394
+ </tr>
395
+ </tbody>
396
+ </table>
397
+ </fieldset>
398
+ </fieldset>
399
+
400
+ <fieldset class="spider_type_fieldset" id="Masonry">
401
+ <fieldset class="spider_child_fieldset" id="Masonry_1">
402
+ <table style="clear:both;">
403
+ <tbody>
404
+ <tr>
405
+ <td class="spider_label"><label for="masonry_thumb_padding">Padding: </label></td>
406
+ <td>
407
+ <input type="text" name="masonry_thumb_padding" id="masonry_thumb_padding" value="<?php echo $row->masonry_thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
408
+ </td>
409
+ </tr>
410
+ <tr>
411
+ <td class="spider_label"><label for="masonry_thumb_border_width">Border width: </label></td>
412
+ <td>
413
+ <input type="text" name="masonry_thumb_border_width" id="masonry_thumb_border_width" value="<?php echo $row->masonry_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
414
+ </td>
415
+ </tr>
416
+ <tr>
417
+ <td class="spider_label"><label for="masonry_thumb_border_style">Border style: </label></td>
418
+ <td>
419
+ <select name="masonry_thumb_border_style" id="masonry_thumb_border_style">
420
+ <?php
421
+ foreach ($border_styles as $key => $border_style) {
422
+ ?>
423
+ <option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
424
+ <?php
425
+ }
426
+ ?>
427
+ </select>
428
+ </td>
429
+ </tr>
430
+ <tr>
431
+ <td class="spider_label"><label for="masonry_thumb_border_color">Border color: </label></td>
432
+ <td>
433
+ <input type="text" name="masonry_thumb_border_color" id="masonry_thumb_border_color" value="<?php echo $row->masonry_thumb_border_color; ?>" class="color" />
434
+ </td>
435
+ </tr>
436
+ <tr>
437
+ <td class="spider_label"><label for="masonry_thumb_border_radius">Border radius: </label></td>
438
+ <td>
439
+ <input type="text" name="masonry_thumb_border_radius" id="masonry_thumb_border_radius" value="<?php echo $row->masonry_thumb_border_radius; ?>" class="spider_char_input" />
440
+ <div class="spider_description">Use CSS type values.</div>
441
+ </td>
442
+ </tr>
443
+ </tbody>
444
+ </table>
445
+ </fieldset>
446
+ <fieldset class="spider_child_fieldset" id="Masonry_2">
447
+ <table style="clear:both;">
448
+ <tbody>
449
+ <tr>
450
+ <td class="spider_label"><label for="masonry_thumb_transparent">Transparency: </label></td>
451
+ <td>
452
+ <input type="text" name="masonry_thumb_transparent" id="masonry_thumb_transparent" value="<?php echo $row->masonry_thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
453
+ <div class="spider_description">Value must be between 0 to 100.</div>
454
+ </td>
455
+ </tr>
456
+ <tr>
457
+ <td class="spider_label"><label for="masonry_thumbs_bg_color">Background color: </label></td>
458
+ <td>
459
+ <input type="text" name="masonry_thumbs_bg_color" id="masonry_thumbs_bg_color" value="<?php echo $row->masonry_thumbs_bg_color; ?>" class="color" />
460
+ </td>
461
+ </tr>
462
+ <tr>
463
+ <td class="spider_label"><label for="masonry_thumb_bg_transparent">Background transparency: </label></td>
464
+ <td>
465
+ <input type="text" name="masonry_thumb_bg_transparent" id="masonry_thumb_bg_transparent" value="<?php echo $row->masonry_thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
466
+ <div class="spider_description">Value must be between 0 to 100.</div>
467
+ </td>
468
+ </tr>
469
+ <tr>
470
+ <td class="spider_label"><label for="masonry_thumb_align0">Alignment: </label></td>
471
+ <td>
472
+ <select name="masonry_thumb_align" id="masonry_thumb_align">
473
+ <?php
474
+ foreach ($aligns as $key => $align) {
475
+ ?>
476
+ <option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
477
+ <?php
478
+ }
479
+ ?>
480
+ </select>
481
+ </td>
482
+ </tr>
483
+ </tbody>
484
+ </table>
485
+ </fieldset>
486
+ <fieldset class="spider_child_fieldset" id="Masonry_3">
487
+ <table style="clear:both;">
488
+ <tbody>
489
+ <tr>
490
+ <td class="spider_label"><label for="masonry_thumb_hover_effect">Hover effect: </label></td>
491
+ <td>
492
+ <select name="masonry_thumb_hover_effect" id="masonry_thumb_hover_effect" class="spider_int_input">
493
+ <?php
494
+ foreach ($hover_effects as $key => $hover_effect) {
495
+ ?>
496
+ <option value="<?php echo $key; ?>" <?php echo (($row->masonry_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo $hover_effect; ?></option>
497
+ <?php
498
+ }
499
+ ?>
500
+ </select>
501
+ </td>
502
+ </tr>
503
+ <tr>
504
+ <td class="spider_label"><label for="masonry_thumb_hover_effect_value">Hover effect value: </label></td>
505
+ <td>
506
+ <input type="text" name="masonry_thumb_hover_effect_value" id="masonry_thumb_hover_effect_value" value="<?php echo $row->masonry_thumb_hover_effect_value; ?>" class="spider_char_input" />
507
+ <div class="spider_description">E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.</div>
508
+ </td>
509
+ </tr>
510
+ <tr>
511
+ <td class="spider_label"><label for="masonry_thumb_transition1">Transition: </label></td>
512
+ <td id="masonry_thumb_transition">
513
+ <input type="radio" name="masonry_thumb_transition" id="masonry_thumb_transition1" value="1"<?php if ($row->masonry_thumb_transition == 1) echo 'checked="checked"'; ?> />
514
+ <label for="masonry_thumb_transition1" id="masonry_thumb_transition1_lbl">Yes</label>
515
+ <input type="radio" name="masonry_thumb_transition" id="masonry_thumb_transition0" value="0"<?php if ($row->masonry_thumb_transition == 0) echo 'checked="checked"'; ?> />
516
+ <label for="masonry_thumb_transition0" id="masonry_thumb_transition0_lbl">No</label>
517
+ </td>
518
+ </tr>
519
+ </tbody>
520
+ </table>
521
+ </fieldset>
522
+ </fieldset>
523
+
524
+ <fieldset class="spider_type_fieldset" id="Slideshow">
525
+ <fieldset class="spider_child_fieldset" id="Slideshow_1">
526
+ <table style="clear:both;">
527
+ <tbody>
528
+ <tr>
529
+ <td class="spider_label"><label for="slideshow_cont_bg_color">Background color: </label></td>
530
+ <td>
531
+ <input type="text" name="slideshow_cont_bg_color" id="slideshow_cont_bg_color" value="<?php echo $row->slideshow_cont_bg_color; ?>" class="color"/>
532
+ </td>
533
+ </tr>
534
+ <tr>
535
+ <td class="spider_label"><label for="slideshow_rl_btn_size">Right, left buttons size: </label></td>
536
+ <td>
537
+ <input type="text" name="slideshow_rl_btn_size" id="slideshow_rl_btn_size" value="<?php echo $row->slideshow_rl_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
538
+ </td>
539
+ </tr>
540
+ <tr>
541
+ <td class="spider_label"><label for="slideshow_play_pause_btn_size">Play, pause buttons size: </label></td>
542
+ <td>
543
+ <input type="text" name="slideshow_play_pause_btn_size" id="slideshow_play_pause_btn_size" value="<?php echo $row->slideshow_play_pause_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
544
+ </td>
545
+ </tr>
546
+ <tr>
547
+ <td class="spider_label"><label for="slideshow_rl_btn_color">Buttons color: </label></td>
548
+ <td>
549
+ <input type="text" name="slideshow_rl_btn_color" id="slideshow_rl_btn_color" value="<?php echo $row->slideshow_rl_btn_color; ?>" class="color"/>
550
+ </td>
551
+ </tr>
552
+ <tr>
553
+ <td class="spider_label"><label for="slideshow_close_btn_transparent">Buttons transparency: </label></td>
554
+ <td>
555
+ <input type="text" name="slideshow_close_btn_transparent" id="slideshow_close_btn_transparent" value="<?php echo $row->slideshow_close_btn_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
556
+ <div class="spider_description">Value must be between 0 to 100.</div>
557
+ </td>
558
+ </tr>
559
+ <tr>
560
+ <td class="spider_label"><label for="slideshow_close_rl_btn_hover_color">Buttons hover color: </label></td>
561
+ <td>
562
+ <input type="text" name="slideshow_close_rl_btn_hover_color" id="slideshow_close_rl_btn_hover_color" value="<?php echo $row->slideshow_close_rl_btn_hover_color; ?>" class="color"/>
563
+ </td>
564
+ </tr>
565
+ <tr>
566
+ <td class="spider_label"><label for="slideshow_rl_btn_width">Right, left buttons width: </label></td>
567
+ <td>
568
+ <input type="text" name="slideshow_rl_btn_width" id="slideshow_rl_btn_width" value="<?php echo $row->slideshow_rl_btn_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
569
+ </td>
570
+ </tr>
571
+ <tr>
572
+ <td class="spider_label"><label for="slideshow_rl_btn_height">Right, left buttons height: </label></td>
573
+ <td>
574
+ <input type="text" name="slideshow_rl_btn_height" id="slideshow_rl_btn_height" value="<?php echo $row->slideshow_rl_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
575
+ </td>
576
+ </tr>
577
+ <tr>
578
+ <td class="spider_label"><label for="slideshow_rl_btn_bg_color">Right, left buttons background color: </label></td>
579
+ <td>
580
+ <input type="text" name="slideshow_rl_btn_bg_color" id="slideshow_rl_btn_bg_color" value="<?php echo $row->slideshow_rl_btn_bg_color; ?>" class="color"/>
581
+ </td>
582
+ </tr>
583
+ <tr>
584
+ <td class="spider_label"><label for="slideshow_rl_btn_border_width">Right, left buttons border width: </label></td>
585
+ <td>
586
+ <input type="text" name="slideshow_rl_btn_border_width" id="slideshow_rl_btn_border_width" value="<?php echo $row->slideshow_rl_btn_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
587
+ </td>
588
+ </tr>
589
+ <tr>
590
+ <td class="spider_label"><label for="slideshow_rl_btn_border_style">Right, left buttons border style: </label></td>
591
+ <td>
592
+ <select name="slideshow_rl_btn_border_style" id="slideshow_rl_btn_border_style">
593
+ <?php
594
+ foreach ($border_styles as $key => $border_style) {
595
+ ?>
596
+ <option value="<?php echo $key; ?>" <?php echo (($row->slideshow_rl_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
597
+ <?php
598
+ }
599
+ ?>
600
+ </select>
601
+ </td>
602
+ </tr>
603
+ <tr>
604
+ <td class="spider_label"><label for="slideshow_rl_btn_border_color">Right, left buttons border color: </label></td>
605
+ <td>
606
+ <input type="text" name="slideshow_rl_btn_border_color" id="slideshow_rl_btn_border_color" value="<?php echo $row->slideshow_rl_btn_border_color; ?>" class="color"/>
607
+ </td>
608
+ </tr>
609
+ <tr>
610
+ <td class="spider_label"><label for="slideshow_rl_btn_border_radius">Right, left buttons border radius: </label></td>
611
+ <td>
612
+ <input type="text" name="slideshow_rl_btn_border_radius" id="slideshow_rl_btn_border_radius" value="<?php echo $row->slideshow_rl_btn_border_radius; ?>" class="spider_char_input"/>
613
+ <div class="spider_description">Use CSS type values.</div>
614
+ </td>
615
+ </tr>
616
+ <tr>
617
+ <td class="spider_label"><label for="slideshow_rl_btn_style">Right, left buttons style: </label></td>
618
+ <td>
619
+ <select name="slideshow_rl_btn_style" id="slideshow_rl_btn_style">
620
+ <?php
621
+ foreach ($button_styles as $key => $button_style) {
622
+ ?>
623
+ <option value="<?php echo $key; ?>" <?php echo (($row->slideshow_rl_btn_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $button_style; ?></option>
624
+ <?php
625
+ }
626
+ ?>
627
+ </select>
628
+ </td>
629
+ </tr>
630
+ <tr>
631
+ <td class="spider_label"><label for="slideshow_rl_btn_box_shadow">Right, left buttons box shadow: </label></td>
632
+ <td>
633
+ <input type="text" name="slideshow_rl_btn_box_shadow" id="slideshow_rl_btn_box_shadow" value="<?php echo $row->slideshow_rl_btn_box_shadow; ?>" class="spider_box_input"/>
634
+ <div class="spider_description">Use CSS type values.</div>
635
+ </td>
636
+ </tr>
637
+ </tbody>
638
+ </table>
639
+ </fieldset>
640
+ <fieldset class="spider_child_fieldset" id="Slideshow_2">
641
+ <table style="clear:both;">
642
+ <tbody>
643
+ <tr>
644
+ <td class="spider_label"><label for="slideshow_filmstrip_pos1">Filmstrip/Slider bullet position: </label></td>
645
+ <td>
646
+ <input type="radio" name="slideshow_filmstrip_pos" id="slideshow_filmstrip_pos1" value="top" <?php if ($row->slideshow_filmstrip_pos == "top") echo 'checked="checked"'; ?> />
647
+ <label for="slideshow_filmstrip_pos1" id="slideshow_filmstrip_pos1_lbl">Top</label>
648
+ <input type="radio" name="slideshow_filmstrip_pos" id="slideshow_filmstrip_pos0" value="bottom" <?php if ($row->slideshow_filmstrip_pos == "bottom") echo 'checked="checked"'; ?> />
649
+ <label for="slideshow_filmstrip_pos0" id="slideshow_filmstrip_pos0_lbl">Bottom</label>
650
+ </td>
651
+ </tr>
652
+ <tr>
653
+ <td class="spider_label"><label for="slideshow_filmstrip_thumb_margin">Filmstrip margin: </label></td>
654
+ <td>
655
+ <input type="text" name="slideshow_filmstrip_thumb_margin" id="slideshow_filmstrip_thumb_margin" value="<?php echo $row->slideshow_filmstrip_thumb_margin; ?>" class="spider_char_input"/>
656
+ <div class="spider_description">Use CSS type values.</div>
657
+ </td>
658
+ </tr>
659
+ <tr>
660
+ <td class="spider_label"><label for="slideshow_filmstrip_thumb_border_width">Filmstrip border width: </label></td>
661
+ <td>
662
+ <input type="text" name="slideshow_filmstrip_thumb_border_width" id="slideshow_filmstrip_thumb_border_width" value="<?php echo $row->slideshow_filmstrip_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
663
+ </td>
664
+ </tr>
665
+ <tr>
666
+ <td class="spider_label"><label for="slideshow_filmstrip_thumb_border_style">Filmstrip border style: </label>
667
+ </td>
668
+ <td>
669
+ <select name="slideshow_filmstrip_thumb_border_style" id="slideshow_filmstrip_thumb_border_style">
670
+ <?php
671
+ foreach ($border_styles as $key => $border_style) {
672
+ ?>
673
+ <option value="<?php echo $key; ?>" <?php echo (($row->slideshow_filmstrip_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
674
+ <?php
675
+ }
676
+ ?>
677
+ </select>
678
+ </td>
679
+ </tr>
680
+ <tr>
681
+ <td class="spider_label"><label for="slideshow_filmstrip_thumb_border_color">Filmstrip border color: </label></td>
682
+ <td>
683
+ <input type="text" name="slideshow_filmstrip_thumb_border_color" id="slideshow_filmstrip_thumb_border_color" value="<?php echo $row->slideshow_filmstrip_thumb_border_color; ?>" class="color"/>
684
+ </td>
685
+ </tr>
686
+ <tr>
687
+ <td class="spider_label"><label for="slideshow_filmstrip_thumb_border_radius">Filmstrip border radius: </label></td>
688
+ <td>
689
+ <input type="text" name="slideshow_filmstrip_thumb_border_radius" id="slideshow_filmstrip_thumb_border_radius" value="<?php echo $row->slideshow_filmstrip_thumb_border_radius; ?>" class="spider_char_input"/>
690
+ <div class="spider_description">Use CSS type values.</div>
691
+ </td>
692
+ </tr>
693
+ <tr>
694
+ <td class="spider_label"><label for="slideshow_filmstrip_thumb_active_border_width">Filmstrip active border width: </label></td>
695
+ <td>
696
+ <input type="text" name="slideshow_filmstrip_thumb_active_border_width" id="slideshow_filmstrip_thumb_active_border_width" value="<?php echo $row->slideshow_filmstrip_thumb_active_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/>px
697
+ </td>
698
+ </tr>
699
+ <tr>
700
+ <td class="spider_label"><label for="slideshow_filmstrip_thumb_active_border_color">Filmstrip active border color: </label></td>
701
+ <td>
702
+ <input type="text" name="slideshow_filmstrip_thumb_active_border_color" id="slideshow_filmstrip_thumb_active_border_color" value="<?php echo $row->slideshow_filmstrip_thumb_active_border_color; ?>" class="color"/>
703
+ </td>
704
+ </tr>
705
+ <tr id="tr_appWidth">
706
+ <td class="spider_label"><label for="slideshow_filmstrip_thumb_deactive_transparent">Filmstrip deactive transparency: </label></td>
707
+ <td>
708
+ <input type="text" name="slideshow_filmstrip_thumb_deactive_transparent" id="slideshow_filmstrip_thumb_deactive_transparent" value="<?php echo $row->slideshow_filmstrip_thumb_deactive_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
709
+ <div class="spider_description">Value must be between 0 to 100.</div>
710
+ </td>
711
+ </tr>
712
+ <tr>
713
+ <td class="spider_label"><label for="slideshow_filmstrip_rl_bg_color">Filmstrip right, left buttons background color: </label></td>
714
+ <td>
715
+ <input type="text" name="slideshow_filmstrip_rl_bg_color" id="slideshow_filmstrip_rl_bg_color" value="<?php echo $row->slideshow_filmstrip_rl_bg_color; ?>" class="color"/>
716
+ </td>
717
+ </tr>
718
+ <tr>
719
+ <td class="spider_label"><label for="slideshow_filmstrip_rl_btn_color">Filmstrip right, left buttons color: </label></td>
720
+ <td>
721
+ <input type="text" name="slideshow_filmstrip_rl_btn_color" id="slideshow_filmstrip_rl_btn_color" value="<?php echo $row->slideshow_filmstrip_rl_btn_color; ?>" class="color"/>
722
+ </td>
723
+ </tr>
724
+ <tr>
725
+ <td class="spider_label"><label for="slideshow_filmstrip_rl_btn_size">Filmstrip right, left buttons size: </label></td>
726
+ <td>
727
+ <input type="text" name="slideshow_filmstrip_rl_btn_size" id="slideshow_filmstrip_rl_btn_size" value="<?php echo $row->slideshow_filmstrip_rl_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
728
+ </td>
729
+ </tr>
730
+ <tr>
731
+ <td class="spider_label"><label for="slideshow_dots_width">Slider bullet width: </label></td>
732
+ <td>
733
+ <input type="text" name="slideshow_dots_width" id="slideshow_dots_width" value="<?php echo $row->slideshow_dots_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
734
+ </td>
735
+ </tr>
736
+ <tr>
737
+ <td class="spider_label"><label for="slideshow_dots_height">Slider bullet height: </label></td>
738
+ <td>
739
+ <input type="text" name="slideshow_dots_height" id="slideshow_dots_height" value="<?php echo $row->slideshow_dots_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
740
+ </td>
741
+ </tr>
742
+ <tr>
743
+ <td class="spider_label"><label for="slideshow_dots_border_radius">Slider bullet border radius: </label></td>
744
+ <td>
745
+ <input type="text" name="slideshow_dots_border_radius" id="slideshow_dots_border_radius" value="<?php echo $row->slideshow_dots_border_radius; ?>" class="spider_char_input"/>
746
+ <div class="spider_description">Use CSS type values.</div>
747
+ </td>
748
+ </tr>
749
+ <tr>
750
+ <td class="spider_label"><label for="slideshow_dots_background_color">Slider bullet background color: </label></td>
751
+ <td>
752
+ <input type="text" name="slideshow_dots_background_color" id="slideshow_dots_background_color" value="<?php echo $row->slideshow_dots_background_color; ?>" class="color"/>
753
+ </td>
754
+ </tr>
755
+ <tr>
756
+ <td class="spider_label"><label for="slideshow_dots_margin">Slider bullet margin: </label></td>
757
+ <td>
758
+ <input type="text" name="slideshow_dots_margin" id="slideshow_dots_margin" value="<?php echo $row->slideshow_dots_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
759
+ </td>
760
+ </tr>
761
+ <tr>
762
+ <td class="spider_label"><label for="slideshow_dots_active_background_color">Slider bullet active background color: </label></td>
763
+ <td>
764
+ <input type="text" name="slideshow_dots_active_background_color" id="slideshow_dots_active_background_color" value="<?php echo $row->slideshow_dots_active_background_color; ?>" class="color"/>
765
+ </td>
766
+ </tr>
767
+ <tr>
768
+ <td class="spider_label"><label for="slideshow_dots_active_border_width">Slider bullet active border width: </label></td>
769
+ <td>
770
+ <input type="text" name="slideshow_dots_active_border_width" id="slideshow_dots_active_border_width" value="<?php echo $row->slideshow_dots_active_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
771
+ </td>
772
+ </tr>
773
+ <tr>
774
+ <td class="spider_label"><label for="slideshow_dots_active_border_color">Slider bullet active border color: </label></td>
775
+ <td>
776
+ <input type="text" name="slideshow_dots_active_border_color" id="slideshow_dots_active_border_color" value="<?php echo $row->slideshow_dots_active_border_color; ?>" class="color"/>
777
+ </td>
778
+ </tr>
779
+ </tbody>
780
+ </table>
781
+ </fieldset>
782
+ <fieldset class="spider_child_fieldset" id="Slideshow_3">
783
+ <table style="clear:both;">
784
+ <tbody>
785
+ <tr>
786
+ <td class="spider_label"><label for="slideshow_title_background_color">Title background color: </label></td>
787
+ <td>
788
+ <input type="text" name="slideshow_title_background_color" id="slideshow_title_background_color" value="<?php echo $row->slideshow_title_background_color; ?>" class="color"/>
789
+ </td>
790
+ </tr>
791
+ <tr>
792
+ <td class="spider_label"><label for="slideshow_title_opacity">Title transparency: </label></td>
793
+ <td>
794
+ <input type="text" name="slideshow_title_opacity" id="slideshow_title_opacity" value="<?php echo $row->slideshow_title_opacity; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
795
+ <div class="spider_description">Value must be between 0 to 100.</div>
796
+ </td>
797
+ </tr>
798
+ <tr>
799
+ <td class="spider_label"><label for="slideshow_title_border_radius">Title border radius: </label></td>
800
+ <td>
801
+ <input type="text" name="slideshow_title_border_radius" id="slideshow_title_border_radius" value="<?php echo $row->slideshow_title_border_radius; ?>" class="spider_char_input"/>
802
+ <div class="spider_description">Use CSS type values.</div>
803
+ </td>
804
+ </tr>
805
+ <tr>
806
+ <td class="spider_label"><label for="slideshow_title_padding">Title padding: </label></td>
807
+ <td>
808
+ <input type="text" name="slideshow_title_padding" id="slideshow_title_padding" value="<?php echo $row->slideshow_title_padding; ?>" class="spider_char_input"/>
809
+ <div class="spider_description">Use CSS type values.</div>
810
+ </td>
811
+ </tr>
812
+ <tr>
813
+ <td class="spider_label"><label for="slideshow_title_font_size">Title font size: </label></td>
814
+ <td>
815
+ <input type="text" name="slideshow_title_font_size" id="slideshow_title_font_size" value="<?php echo $row->slideshow_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
816
+ </td>
817
+ </tr>
818
+ <tr>
819
+ <td class="spider_label"><label for="slideshow_title_color">Title color: </label></td>
820
+ <td>
821
+ <input type="text" name="slideshow_title_color" id="slideshow_title_color" value="<?php echo $row->slideshow_title_color; ?>" class="color"/>
822
+ </td>
823
+ </tr>
824
+ <tr>
825
+ <td class="spider_label"><label for="slideshow_title_font">Title font family: </label></td>
826
+ <td>
827
+ <select name="slideshow_title_font" id="slideshow_title_font">
828
+ <?php
829
+ foreach ($font_families as $key => $font_family) {
830
+ ?>
831
+ <option value="<?php echo $key; ?>" <?php echo (($row->slideshow_title_font == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
832
+ <?php
833
+ }
834
+ ?>
835
+ </select>
836
+ </td>
837
+ </tr>
838
+ <tr>
839
+ <td class="spider_label"><label for="slideshow_description_background_color">Description background color: </label></td>
840
+ <td>
841
+ <input type="text" name="slideshow_description_background_color" id="slideshow_description_background_color" value="<?php echo $row->slideshow_description_background_color; ?>" class="color"/>
842
+ </td>
843
+ </tr>
844
+ <tr>
845
+ <td class="spider_label"><label for="slideshow_description_opacity">Description transparency: </label></td>
846
+ <td>
847
+ <input type="text" name="slideshow_description_opacity" id="slideshow_description_opacity" value="<?php echo $row->slideshow_description_opacity; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
848
+ <div class="spider_description">Value must be between 0 to 100.</div>
849
+ </td>
850
+ </tr>
851
+ <tr>
852
+ <td class="spider_label"><label for="slideshow_description_border_radius">Description border radius: </label></td>
853
+ <td>
854
+ <input type="text" name="slideshow_description_border_radius" id="slideshow_description_border_radius" value="<?php echo $row->slideshow_description_border_radius; ?>" class="spider_char_input"/>
855
+ <div class="spider_description">Use CSS type values.</div>
856
+ </td>
857
+ </tr>
858
+ <tr>
859
+ <td class="spider_label"><label for="slideshow_description_padding">Description padding: </label></td>
860
+ <td>
861
+ <input type="text" name="slideshow_description_padding" id="slideshow_description_padding" value="<?php echo $row->slideshow_description_padding; ?>" class="spider_char_input"/>
862
+ <div class="spider_description">Use CSS type values.</div>
863
+ </td>
864
+ </tr>
865
+ <tr>
866
+ <td class="spider_label"><label for="slideshow_description_font_size">Description font size: </label></td>
867
+ <td>
868
+ <input type="text" name="slideshow_description_font_size" id="slideshow_description_font_size" value="<?php echo $row->slideshow_description_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
869
+ </td>
870
+ </tr>
871
+ <tr>
872
+ <td class="spider_label"><label for="slideshow_description_color">Description color: </label></td>
873
+ <td>
874
+ <input type="text" name="slideshow_description_color" id="slideshow_description_color" value="<?php echo $row->slideshow_description_color; ?>" class="color"/>
875
+ </td>
876
+ </tr>
877
+ <tr>
878
+ <td class="spider_label"><label for="slideshow_description_font">Description font family: </label></td>
879
+ <td>
880
+ <select name="slideshow_description_font" id="slideshow_description_font">
881
+ <?php
882
+ foreach ($font_families as $key => $font_family) {
883
+ ?>
884
+ <option value="<?php echo $key; ?>" <?php echo (($row->slideshow_description_font == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
885
+ <?php
886
+ }
887
+ ?>
888
+ </select>
889
+ </td>
890
+ </tr>
891
+ </tbody>
892
+ </table>
893
+ </fieldset>
894
+ </fieldset>
895
+
896
+ <fieldset class="spider_type_fieldset" id="Image_browser">
897
+ <fieldset class="spider_child_fieldset" id="Image_browser_1">
898
+ <table style="clear:both;">
899
+ <tbody>
900
+ <tr>
901
+ <td class="spider_label"><label for="image_browser_full_padding">Full padding: </label></td>
902
+ <td>
903
+ <input type="text" name="image_browser_full_padding" id="image_browser_full_padding" value="<?php echo $row->image_browser_full_padding; ?>" class="spider_char_input"/>
904
+ <div class="spider_description">Use CSS type values.</div>
905
+ </td>
906
+ </tr>
907
+ <tr>
908
+ <td class="spider_label"><label for="image_browser_full_bg_color">Full background color: </label></td>
909
+ <td>
910
+ <input type="text" name="image_browser_full_bg_color" id="image_browser_full_bg_color" value="<?php echo $row->image_browser_full_bg_color; ?>" class="color" />
911
+ </td>
912
+ </tr>
913
+ <tr>
914
+ <td class="spider_label"><label for="image_browser_full_transparent">Full background transparency: </label></td>
915
+ <td>
916
+ <input type="text" name="image_browser_full_transparent" id="image_browser_full_transparent" value="<?php echo $row->image_browser_full_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
917
+ <div class="spider_description">Value must be between 0 to 100.</div>
918
+ </td>
919
+ </tr>
920
+ <tr>
921
+ <td class="spider_label"><label for="image_browser_full_border_radius">Full border radius: </label></td>
922
+ <td>
923
+ <input type="text" name="image_browser_full_border_radius" id="image_browser_full_border_radius" value="<?php echo $row->image_browser_full_border_radius; ?>" class="spider_char_input" />
924
+ <div class="spider_description">Use CSS type values.</div>
925
+ </td>
926
+ </tr>
927
+ <tr>
928
+ <td class="spider_label"><label for="image_browser_full_border_width">Full border width: </label></td>
929
+ <td>
930
+ <input type="text" name="image_browser_full_border_width" id="image_browser_full_border_width" value="<?php echo $row->image_browser_full_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
931
+ </td>
932
+ </tr>
933
+ <tr>
934
+ <td class="spider_label"><label for="image_browser_full_border_style">Full border style: </label></td>
935
+ <td>
936
+ <select name="image_browser_full_border_style" id="image_browser_full_border_style">
937
+ <?php
938
+ foreach ($border_styles as $key => $border_style) {
939
+ ?>
940
+ <option value="<?php echo $key; ?>" <?php echo (($row->image_browser_full_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
941
+ <?php
942
+ }
943
+ ?>
944
+ </select>
945
+ </td>
946
+ </tr>
947
+ <tr>
948
+ <td class="spider_label"><label for="image_browser_full_border_color">Full border color: </label></td>
949
+ <td>
950
+ <input type="text" name="image_browser_full_border_color" id="image_browser_full_border_color" value="<?php echo $row->image_browser_full_border_color; ?>" class="color" />
951
+ </td>
952
+ </tr>
953
+ </tbody>
954
+ </table>
955
+ </fieldset>
956
+ <fieldset class="spider_child_fieldset" id="Image_browser_2">
957
+ <table style="clear:both;">
958
+ <tbody>
959
+ <tr>
960
+ <td class="spider_label"><label for="image_browser_align0">Alignment: </label></td>
961
+ <td>
962
+ <select name="image_browser_align" id="image_browser_align">
963
+ <?php
964
+ foreach ($aligns as $key => $align) {
965
+ ?>
966
+ <option value="<?php echo $key; ?>" <?php echo (($row->image_browser_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
967
+ <?php
968
+ }
969
+ ?>
970
+ </select>
971
+ </td>
972
+ </tr>
973
+ <tr>
974
+ <td class="spider_label"><label for="image_browser_margin">Margin: </label></td>
975
+ <td>
976
+ <input type="text" name="image_browser_margin" id="image_browser_margin" value="<?php echo $row->image_browser_margin; ?>" class="spider_char_input" />
977
+ <div class="spider_description">Use CSS type values.</div>
978
+ </td>
979
+ </tr>
980
+ <tr>
981
+ <td class="spider_label"><label for="image_browser_padding">Padding: </label></td>
982
+ <td>
983
+ <input type="text" name="image_browser_padding" id="image_browser_padding" value="<?php echo $row->image_browser_padding; ?>" class="spider_char_input" />
984
+ <div class="spider_description">Use CSS type values.</div>
985
+ </td>
986
+ </tr>
987
+ <tr>
988
+ <td class="spider_label"><label for="image_browser_border_width">Border width: </label></td>
989
+ <td>
990
+ <input type="text" name="image_browser_border_width" id="image_browser_border_width" value="<?php echo $row->image_browser_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
991
+ </td>
992
+ </tr>
993
+ <tr>
994
+ <td class="spider_label"><label for="image_browser_border_style">Border style: </label></td>
995
+ <td>
996
+ <select name="image_browser_border_style" id="image_browser_border_style">
997
+ <?php
998
+ foreach ($border_styles as $key => $border_style) {
999
+ ?>
1000
+ <option value="<?php echo $key; ?>" <?php echo (($row->image_browser_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
1001
+ <?php
1002
+ }
1003
+ ?>
1004
+ </select>
1005
+ </td>
1006
+ </tr>
1007
+ <tr>
1008
+ <td class="spider_label"><label for="image_browser_border_color">Border color: </label></td>
1009
+ <td>
1010
+ <input type="text" name="image_browser_border_color" id="image_browser_border_color" value="<?php echo $row->image_browser_border_color; ?>" class="color" />
1011
+ </td>
1012
+ </tr>
1013
+ <tr>
1014
+ <td class="spider_label"><label for="image_browser_border_radius">Border radius: </label></td>
1015
+ <td>
1016
+ <input type="text" name="image_browser_border_radius" id="image_browser_border_radius" value="<?php echo $row->image_browser_border_radius; ?>" class="spider_char_input" />
1017
+ <div class="spider_description">Use CSS type values.</div>
1018
+ </td>
1019
+ </tr>
1020
+ <tr>
1021
+ <td class="spider_label"><label for="image_browser_bg_color">Background color: </label></td>
1022
+ <td>
1023
+ <input type="text" name="image_browser_bg_color" id="image_browser_bg_color" value="<?php echo $row->image_browser_bg_color; ?>" class="color" />
1024
+ </td>
1025
+ </tr>
1026
+ <tr>
1027
+ <td class="spider_label"><label for="image_browser_transparent">Background transparency: </label></td>
1028
+ <td>
1029
+ <input type="text" name="image_browser_transparent" id="image_browser_transparent" value="<?php echo $row->image_browser_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
1030
+ <div class="spider_description">Value must be between 0 to 100.</div>
1031
+ </td>
1032
+ </tr>
1033
+ <tr>
1034
+ <td class="spider_label"><label for="image_browser_box_shadow">Box shadow: </label></td>
1035
+ <td>
1036
+ <input type="text" name="image_browser_box_shadow" id="image_browser_box_shadow" value="<?php echo $row->image_browser_box_shadow; ?>" class="spider_box_input" />
1037
+ <div class="spider_description">Use CSS type values.</div>
1038
+ </td>
1039
+ </tr>
1040
+ </tbody>
1041
+ </table>
1042
+ </fieldset>
1043
+ <fieldset class="spider_child_fieldset" id="Image_browser_3">
1044
+ <table style="clear:both;">
1045
+ <tbody>
1046
+ <tr>
1047
+ <td class="spider_label"><label for="image_browser_image_description_align0">Title alignment: </label></td>
1048
+ <td>
1049
+ <select name="image_browser_image_description_align" id="image_browser_image_description_align">
1050
+ <?php
1051
+ foreach ($aligns as $key => $align) {
1052
+ ?>
1053
+ <option value="<?php echo $key; ?>" <?php echo (($row->image_browser_image_description_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
1054
+ <?php
1055
+ }
1056
+ ?>
1057
+ </select>
1058
+ </td>
1059
+ </tr>
1060
+ <tr>
1061
+ <td class="spider_label"><label for="image_browser_img_font_size">Font size: </label></td>
1062
+ <td>
1063
+ <input type="text" name="image_browser_img_font_size" id="image_browser_img_font_size" value="<?php echo $row->image_browser_img_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1064
+ </td>
1065
+ </tr>
1066
+ <tr>
1067
+ <td class="spider_label"><label for="image_browser_img_font_color">Font color: </label></td>
1068
+ <td>
1069
+ <input type="text" name="image_browser_img_font_color" id="image_browser_img_font_color" value="<?php echo $row->image_browser_img_font_color; ?>" class="color" />
1070
+ </td>
1071
+ </tr>
1072
+ <tr>
1073
+ <td class="spider_label"><label for="image_browser_img_font_family">Font family: </label></td>
1074
+ <td>
1075
+ <select name="image_browser_img_font_family" id="image_browser_img_font_family">
1076
+ <?php
1077
+ foreach ($font_families as $key => $font_family) {
1078
+ ?>
1079
+ <option value="<?php echo $key; ?>" <?php echo (($row->image_browser_img_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
1080
+ <?php
1081
+ }
1082
+ ?>
1083
+ </select>
1084
+ </td>
1085
+ </tr>
1086
+ <tr>
1087
+ <td class="spider_label"><label for="image_browser_image_description_margin">Description margin: </label></td>
1088
+ <td>
1089
+ <input type="text" name="image_browser_image_description_margin" id="image_browser_image_description_margin" value="<?php echo $row->image_browser_image_description_margin; ?>" class="spider_char_input" />
1090
+ <div class="spider_description">Use CSS type values.</div>
1091
+ </td>
1092
+ </tr>
1093
+ <tr>
1094
+ <td class="spider_label"><label for="image_browser_image_description_padding">Description padding: </label></td>
1095
+ <td>
1096
+ <input type="text" name="image_browser_image_description_padding" id="image_browser_image_description_padding" value="<?php echo $row->image_browser_image_description_padding; ?>" class="spider_char_input" />
1097
+ <div class="spider_description">Use CSS type values.</div>
1098
+ </td>
1099
+ </tr>
1100
+ <tr>
1101
+ <td class="spider_label"><label for="image_browser_image_description_border_width">Description border width: </label></td>
1102
+ <td>
1103
+ <input type="text" name="image_browser_image_description_border_width" id="image_browser_image_description_border_width" value="<?php echo $row->image_browser_image_description_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
1104
+ </td>
1105
+ </tr>
1106
+ <tr>
1107
+ <td class="spider_label"><label for="image_browser_image_description_border_style">Description border style: </label></td>
1108
+ <td>
1109
+ <select name="image_browser_image_description_border_style" id="image_browser_image_description_border_style">
1110
+ <?php
1111
+ foreach ($border_styles as $key => $border_style) {
1112
+ ?>
1113
+ <option value="<?php echo $key; ?>" <?php echo (($row->image_browser_image_description_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
1114
+ <?php
1115
+ }
1116
+ ?>
1117
+ </select>
1118
+ </td>
1119
+ </tr>
1120
+ <tr>
1121
+ <td class="spider_label"><label for="image_browser_image_description_border_color">Description border color: </label></td>
1122
+ <td>
1123
+ <input type="text" name="image_browser_image_description_border_color" id="image_browser_image_description_border_color" value="<?php echo $row->image_browser_image_description_border_color; ?>" class="color" />
1124
+ </td>
1125
+ </tr>
1126
+ <tr>
1127
+ <td class="spider_label"><label for="image_browser_image_description_border_radius">Description border radius: </label></td>
1128
+ <td>
1129
+ <input type="text" name="image_browser_image_description_border_radius" id="image_browser_image_description_border_radius" value="<?php echo $row->image_browser_image_description_border_radius; ?>" class="spider_char_input" />
1130
+ <div class="spider_description">Use CSS type values.</div>
1131
+ </td>
1132
+ </tr>
1133
+ <tr>
1134
+ <td class="spider_label"><label for="image_browser_image_description_bg_color">Description background color: </label></td>
1135
+ <td>
1136
+ <input type="text" name="image_browser_image_description_bg_color" id="image_browser_image_description_bg_color" value="<?php echo $row->image_browser_image_description_bg_color; ?>" class="color" />
1137
+ </td>
1138
+ </tr>
1139
+ </tbody>
1140
+ </table>
1141
+ </fieldset>
1142
+ </fieldset>
1143
+
1144
+ <fieldset class="spider_type_fieldset" id="Compact_album">
1145
+ <fieldset class="spider_child_fieldset" id="Compact_album_1">
1146
+ <table style="clear:both;">
1147
+ <tbody>
1148
+ <tr>
1149
+ <td class="spider_label"><label for="album_compact_thumb_padding">Padding: </label></td>
1150
+ <td>
1151
+ <input type="text" name="album_compact_thumb_padding" id="album_compact_thumb_padding" value="<?php echo $row->album_compact_thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1152
+ <div class="spider_description">Use CSS type values.</div>
1153
+ </td>
1154
+ </tr>
1155
+ <tr>
1156
+ <td class="spider_label"><label for="album_compact_thumb_margin">Margin: </label></td>
1157
+ <td>
1158
+ <input type="text" name="album_compact_thumb_margin" id="album_compact_thumb_margin" value="<?php echo $row->album_compact_thumb_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1159
+ <div class="spider_description">Use CSS type values.</div>
1160
+ </td>
1161
+ </tr>
1162
+ <tr>
1163
+ <td class="spider_label"><label for="album_compact_thumb_border_width">Border width: </label></td>
1164
+ <td>
1165
+ <input type="text" name="album_compact_thumb_border_width" id="album_compact_thumb_border_width" value="<?php echo $row->album_compact_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1166
+ </td>
1167
+ </tr>
1168
+ <tr>
1169
+ <td class="spider_label"><label for="album_compact_thumb_border_style">Border style: </label></td>
1170
+ <td>
1171
+ <select name="album_compact_thumb_border_style" id="album_compact_thumb_border_style">
1172
+ <?php
1173
+ foreach ($border_styles as $key => $border_style) {
1174
+ ?>
1175
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_compact_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
1176
+ <?php
1177
+ }
1178
+ ?>
1179
+ </select>
1180
+ </td>
1181
+ </tr>
1182
+ <tr>
1183
+ <td class="spider_label"><label for="album_compact_thumb_border_color">Border color: </label></td>
1184
+ <td>
1185
+ <input type="text" name="album_compact_thumb_border_color" id="album_compact_thumb_border_color" value="<?php echo $row->album_compact_thumb_border_color; ?>" class="color" />
1186
+ </td>
1187
+ </tr>
1188
+ <tr>
1189
+ <td class="spider_label"><label for="album_compact_thumb_border_radius">Border radius: </label></td>
1190
+ <td>
1191
+ <input type="text" name="album_compact_thumb_border_radius" id="album_compact_thumb_border_radius" value="<?php echo $row->album_compact_thumb_border_radius; ?>" class="spider_char_input" />
1192
+ <div class="spider_description">Use CSS type values.</div>
1193
+ </td>
1194
+ </tr>
1195
+ <tr>
1196
+ <td class="spider_label"><label for="album_compact_thumb_box_shadow">Shadow: </label></td>
1197
+ <td>
1198
+ <input type="text" name="album_compact_thumb_box_shadow" id="album_compact_thumb_box_shadow" value="<?php echo $row->album_compact_thumb_box_shadow; ?>" class="spider_box_input" />
1199
+ <div class="spider_description">Use CSS type values.</div>
1200
+ </td>
1201
+ </tr>
1202
+ <tr>
1203
+ <td class="spider_label"><label for="album_compact_thumb_hover_effect">Hover effect: </label></td>
1204
+ <td>
1205
+ <select name="album_compact_thumb_hover_effect" id="album_compact_thumb_hover_effect">
1206
+ <?php
1207
+ foreach ($hover_effects as $key => $hover_effect) {
1208
+ ?>
1209
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_compact_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo $hover_effect; ?></option>
1210
+ <?php
1211
+ }
1212
+ ?>
1213
+ </select>
1214
+ </td>
1215
+ </tr>
1216
+ <tr>
1217
+ <td class="spider_label"><label for="album_compact_thumb_hover_effect_value">Hover effect value: </label></td>
1218
+ <td>
1219
+ <input type="text" name="album_compact_thumb_hover_effect_value" id="album_compact_thumb_hover_effect_value" value="<?php echo $row->album_compact_thumb_hover_effect_value; ?>" class="spider_char_input" />
1220
+ <div class="spider_description">E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.</div>
1221
+ </td>
1222
+ </tr>
1223
+ <tr>
1224
+ <td class="spider_label"><label for="album_compact_thumb_transition1">Thumbnail transition: </label></td>
1225
+ <td id="album_compact_thumb_transition">
1226
+ <input type="radio" name="album_compact_thumb_transition" id="album_compact_thumb_transition1" value="1"<?php if ($row->album_compact_thumb_transition == 1) echo 'checked="checked"'; ?> />
1227
+ <label for="album_compact_thumb_transition1" id="album_compact_thumb_transition1_lbl">Yes</label>
1228
+ <input type="radio" name="album_compact_thumb_transition" id="album_compact_thumb_transition0" value="0"<?php if ($row->album_compact_thumb_transition == 0) echo 'checked="checked"'; ?> />
1229
+ <label for="album_compact_thumb_transition0" id="album_compact_thumb_transition0_lbl">No</label>
1230
+ </td>
1231
+ </tr>
1232
+ </tbody>
1233
+ </table>
1234
+ </fieldset>
1235
+ <fieldset class="spider_child_fieldset" id="Compact_album_2">
1236
+ <table style="clear:both;">
1237
+ <tbody>
1238
+ <tr>
1239
+ <td class="spider_label"><label for="album_compact_thumb_bg_color">Thumbnail background color: </label></td>
1240
+ <td>
1241
+ <input type="text" name="album_compact_thumb_bg_color" id="album_compact_thumb_bg_color" value="<?php echo $row->album_compact_thumb_bg_color; ?>" class="color" />
1242
+ </td>
1243
+ </tr>
1244
+ <tr>
1245
+ <td class="spider_label"><label for="album_compact_thumb_transparent">Thumbnail transparency: </label></td>
1246
+ <td>
1247
+ <input type="text" name="album_compact_thumb_transparent" id="album_compact_thumb_transparent" value="<?php echo $row->album_compact_thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
1248
+ <div class="spider_description">Value must be between 0 to 100.</div>
1249
+ </td>
1250
+ </tr>
1251
+ <tr>
1252
+ <td class="spider_label"><label for="album_compact_thumbs_bg_color">Full background color: </label></td>
1253
+ <td>
1254
+ <input type="text" name="album_compact_thumbs_bg_color" id="album_compact_thumbs_bg_color" value="<?php echo $row->album_compact_thumbs_bg_color; ?>" class="color" />
1255
+ </td>
1256
+ </tr>
1257
+ <tr>
1258
+ <td class="spider_label"><label for="album_compact_thumb_bg_transparent">Full background transparency: </label></td>
1259
+ <td>
1260
+ <input type="text" name="album_compact_thumb_bg_transparent" id="album_compact_thumb_bg_transparent" value="<?php echo $row->album_compact_thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
1261
+ <div class="spider_description">Value must be between 0 to 100.</div>
1262
+ </td>
1263
+ </tr>
1264
+ <tr>
1265
+ <td class="spider_label"><label for="album_compact_thumb_align0">Alignment: </label></td>
1266
+ <td>
1267
+ <select name="album_compact_thumb_align" id="album_compact_thumb_align">
1268
+ <?php
1269
+ foreach ($aligns as $key => $align) {
1270
+ ?>
1271
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_compact_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
1272
+ <?php
1273
+ }
1274
+ ?>
1275
+ </select>
1276
+ </td>
1277
+ </tr>
1278
+ </tbody>
1279
+ </table>
1280
+ </fieldset>
1281
+ <fieldset class="spider_child_fieldset" id="Compact_album_3">
1282
+ <table style="clear:both;">
1283
+ <tbody>
1284
+ <tr>
1285
+ <td class="spider_label"><label for="album_compact_title_font_size">Title font size: </label></td>
1286
+ <td>
1287
+ <input type="text" name="album_compact_title_font_size" id="album_compact_title_font_size" value="<?php echo $row->album_compact_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1288
+ </td>
1289
+ </tr>
1290
+ <tr>
1291
+ <td class="spider_label"><label for="album_compact_title_font_color">Title font color: </label></td>
1292
+ <td>
1293
+ <input type="text" name="album_compact_title_font_color" id="album_compact_title_font_color" value="<?php echo $row->album_compact_title_font_color; ?>" class="color" />
1294
+ </td>
1295
+ </tr>
1296
+ <tr>
1297
+ <td class="spider_label"><label for="album_compact_title_font_style">Title font family: </label></td>
1298
+ <td>
1299
+ <select name="album_compact_title_font_style" id="album_compact_title_font_style">
1300
+ <?php
1301
+ foreach ($font_families as $key => $font_family) {
1302
+ ?>
1303
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_compact_title_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
1304
+ <?php
1305
+ }
1306
+ ?>
1307
+ </select>
1308
+ </td>
1309
+ </tr>
1310
+ <tr>
1311
+ <td class="spider_label"><label for="album_compact_title_font_weight">Title font weight: </label></td>
1312
+ <td>
1313
+ <select name="album_compact_title_font_weight" id="album_compact_title_font_weight">
1314
+ <?php
1315
+ foreach ($font_weights as $key => $font_weight) {
1316
+ ?>
1317
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_compact_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1318
+ <?php
1319
+ }
1320
+ ?>
1321
+ </select>
1322
+ </td>
1323
+ </tr>
1324
+ <tr>
1325
+ <td class="spider_label"><label for="album_compact_title_shadow">Title box shadow: </label></td>
1326
+ <td>
1327
+ <input type="text" name="album_compact_title_shadow" id="album_compact_title_shadow" value="<?php echo $row->album_compact_title_shadow; ?>" class="spider_box_input" />
1328
+ <div class="spider_description">Use CSS type values.</div>
1329
+ </td>
1330
+ </tr>
1331
+ <tr>
1332
+ <td class="spider_label"><label for="album_compact_title_margin">Title margin: </label></td>
1333
+ <td>
1334
+ <input type="text" name="album_compact_title_margin" id="album_compact_title_margin" value="<?php echo $row->album_compact_title_margin; ?>" class="spider_char_input" />
1335
+ <div class="spider_description">Use CSS type values.</div>
1336
+ </td>
1337
+ </tr>
1338
+ <tr>
1339
+ <td class="spider_label"><label for="album_compact_back_font_size">Font size: </label></td>
1340
+ <td>
1341
+ <input type="text" name="album_compact_back_font_size" id="album_compact_back_font_size" value="<?php echo $row->album_compact_back_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1342
+ </td>
1343
+ </tr>
1344
+ <tr>
1345
+ <td class="spider_label"><label for="album_compact_back_font_color">Font color: </label></td>
1346
+ <td>
1347
+ <input type="text" name="album_compact_back_font_color" id="album_compact_back_font_color" value="<?php echo $row->album_compact_back_font_color; ?>" class="color" />
1348
+ </td>
1349
+ </tr>
1350
+ <tr>
1351
+ <td class="spider_label"><label for="album_compact_back_font_style">Font family: </label></td>
1352
+ <td>
1353
+ <select name="album_compact_back_font_style" id="album_compact_back_font_style">
1354
+ <?php
1355
+ foreach ($font_families as $key => $font_family) {
1356
+ ?>
1357
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_compact_back_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
1358
+ <?php
1359
+ }
1360
+ ?>
1361
+ </select>
1362
+ </td>
1363
+ </tr>
1364
+ <tr>
1365
+ <td class="spider_label"><label for="album_compact_back_font_weight">Font weight: </label></td>
1366
+ <td>
1367
+ <select name="album_compact_back_font_weight" id="album_compact_back_font_weight">
1368
+ <?php
1369
+ foreach ($font_weights as $key => $font_weight) {
1370
+ ?>
1371
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_compact_back_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1372
+ <?php
1373
+ }
1374
+ ?>
1375
+ </select>
1376
+ </td>
1377
+ </tr>
1378
+ <tr>
1379
+ <td class="spider_label"><label for="album_compact_back_padding">Back padding: </label></td>
1380
+ <td>
1381
+ <input type="text" name="album_compact_back_padding" id="album_compact_back_padding" value="<?php echo $row->album_compact_back_padding; ?>" class="spider_char_input" />
1382
+ <div class="spider_description">Use CSS type values.</div>
1383
+ </td>
1384
+ </tr>
1385
+ </tbody>
1386
+ </table>
1387
+ </fieldset>
1388
+ </fieldset>
1389
+
1390
+ <fieldset class="spider_type_fieldset" id="Extended_album">
1391
+ <fieldset class="spider_child_fieldset" id="Extended_album_1">
1392
+ <table style="clear:both;">
1393
+ <tbody>
1394
+ <tr>
1395
+ <td class="spider_label"><label for="album_extended_thumb_margin">Thumbnail margin: </label></td>
1396
+ <td>
1397
+ <input type="text" name="album_extended_thumb_margin" id="album_extended_thumb_margin" value="<?php echo $row->album_extended_thumb_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1398
+ </td>
1399
+ </tr>
1400
+ <tr>
1401
+ <td class="spider_label"><label for="album_extended_thumb_padding">Thumbnail padding: </label></td>
1402
+ <td>
1403
+ <input type="text" name="album_extended_thumb_padding" id="album_extended_thumb_padding" value="<?php echo $row->album_extended_thumb_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1404
+ </td>
1405
+ </tr>
1406
+ <tr>
1407
+ <td class="spider_label"><label for="album_extended_thumb_border_width">Thumbnail border width: </label></td>
1408
+ <td>
1409
+ <input type="text" name="album_extended_thumb_border_width" id="album_extended_thumb_border_width" value="<?php echo $row->album_extended_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1410
+ </td>
1411
+ </tr>
1412
+ <tr>
1413
+ <td class="spider_label"><label for="album_extended_thumb_border_style">Thumbnail border style: </label></td>
1414
+ <td>
1415
+ <select name="album_extended_thumb_border_style" id="album_extended_thumb_border_style">
1416
+ <?php
1417
+ foreach ($border_styles as $key => $border_style) {
1418
+ ?>
1419
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
1420
+ <?php
1421
+ }
1422
+ ?>
1423
+ </select>
1424
+ </td>
1425
+ </tr>
1426
+ <tr>
1427
+ <td class="spider_label"><label for="album_extended_thumb_border_color">Thumbnail border color: </label></td>
1428
+ <td>
1429
+ <input type="text" name="album_extended_thumb_border_color" id="album_extended_thumb_border_color" value="<?php echo $row->album_extended_thumb_border_color; ?>" class="color"/>
1430
+ </td>
1431
+ </tr>
1432
+ <tr>
1433
+ <td class="spider_label"><label for="album_extended_thumb_border_radius">Thumbnail border radius: </label></td>
1434
+ <td>
1435
+ <input type="text" name="album_extended_thumb_border_radius" id="album_extended_thumb_border_radius" value="<?php echo $row->album_extended_thumb_border_radius; ?>" class="spider_char_input"/>
1436
+ <div class="spider_description">Use CSS type values.</div>
1437
+ </td>
1438
+ </tr>
1439
+ <tr>
1440
+ <td class="spider_label"><label for="album_extended_thumb_box_shadow">Thumbnail box shadow: </label></td>
1441
+ <td>
1442
+ <input type="text" name="album_extended_thumb_box_shadow" id="album_extended_thumb_box_shadow" value="<?php echo $row->album_extended_thumb_box_shadow; ?>" class="spider_box_input"/>
1443
+ <div class="spider_description">Use CSS type values.</div>
1444
+ </td>
1445
+ </tr>
1446
+ <tr>
1447
+ <td class="spider_label"><label for="album_extended_thumb_transition1">Thumbnail transition: </label></td>
1448
+ <td id="album_extended_thumb_transition">
1449
+ <input type="radio" name="album_extended_thumb_transition" id="album_extended_thumb_transition1" value="1"<?php if ($row->album_extended_thumb_transition == 1) echo 'checked="checked"'; ?> />
1450
+ <label for="album_extended_thumb_transition1" id="album_extended_thumb_transition1_lbl">Yes</label>
1451
+ <input type="radio" name="album_extended_thumb_transition" id="album_extended_thumb_transition0" value="0"<?php if ($row->album_extended_thumb_transition == 0) echo 'checked="checked"'; ?> />
1452
+ <label for="album_extended_thumb_transition0" id="album_extended_thumb_transition0_lbl">No</label>
1453
+ </td>
1454
+ </tr>
1455
+ <tr>
1456
+ <td class="spider_label"><label for="album_extended_thumb_align0">Thumbnail alignment: </label></td>
1457
+ <td>
1458
+ <select name="album_extended_thumb_align" id="album_extended_thumb_align">
1459
+ <?php
1460
+ foreach ($aligns as $key => $align) {
1461
+ ?>
1462
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
1463
+ <?php
1464
+ }
1465
+ ?>
1466
+ </select>
1467
+ </td>
1468
+ </tr>
1469
+ <tr>
1470
+ <td class="spider_label"><label for="album_extended_thumb_transparent">Thumbnail transparency: </label></td>
1471
+ <td>
1472
+ <input type="text" name="album_extended_thumb_transparent" id="album_extended_thumb_transparent" value="<?php echo $row->album_extended_thumb_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
1473
+ <div class="spider_description">Value must be between 0 to 100.</div>
1474
+ </td>
1475
+ </tr>
1476
+ <tr>
1477
+ <td class="spider_label"><label for="album_extended_thumb_hover_effect">Thumbnail hover effect: </label></td>
1478
+ <td>
1479
+ <select name="album_extended_thumb_hover_effect" id="album_extended_thumb_hover_effect">
1480
+ <?php
1481
+ foreach ($hover_effects as $key => $hover_effect) {
1482
+ ?>
1483
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo $hover_effect; ?></option>
1484
+ <?php
1485
+ }
1486
+ ?>
1487
+ </select>
1488
+ </td>
1489
+ </tr>
1490
+ <tr>
1491
+ <td class="spider_label"><label for="album_extended_thumb_hover_effect_value">Hover effect value: </label></td>
1492
+ <td>
1493
+ <input type="text" name="album_extended_thumb_hover_effect_value" id="album_extended_thumb_hover_effect_value" value="<?php echo $row->album_extended_thumb_hover_effect_value; ?>" class="spider_char_input"/>
1494
+ <div class="spider_description">E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.</div>
1495
+ </td>
1496
+ </tr>
1497
+ <tr>
1498
+ <td class="spider_label"><label for="album_extended_thumb_bg_color">Thumbnail background color: </label></td>
1499
+ <td>
1500
+ <input type="text" name="album_extended_thumb_bg_color" id="album_extended_thumb_bg_color" value="<?php echo $row->album_extended_thumb_bg_color; ?>" class="color"/>
1501
+ </td>
1502
+ </tr>
1503
+ <tr>
1504
+ <td class="spider_label"><label for="album_extended_thumbs_bg_color">Thumbnails background color: </label></td>
1505
+ <td>
1506
+ <input type="text" name="album_extended_thumbs_bg_color" id="album_extended_thumbs_bg_color" value="<?php echo $row->album_extended_thumbs_bg_color; ?>" class="color"/>
1507
+ </td>
1508
+ </tr>
1509
+ <tr>
1510
+ <td class="spider_label"><label for="album_extended_thumb_bg_transparent">Thumbnail background transparency: </label></td>
1511
+ <td>
1512
+ <input type="text" name="album_extended_thumb_bg_transparent" id="album_extended_thumb_bg_transparent" value="<?php echo $row->album_extended_thumb_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
1513
+ <div class="spider_description">Value must be between 0 to 100.</div>
1514
+ </td>
1515
+ </tr>
1516
+ </tbody>
1517
+ </table>
1518
+ </fieldset>
1519
+ <fieldset class="spider_child_fieldset" id="Extended_album_2">
1520
+ <table style="clear:both;">
1521
+ <tbody>
1522
+ <tr>
1523
+ <td class="spider_label"><label for="album_extended_thumb_div_padding">Thumbnail div padding: </label></td>
1524
+ <td>
1525
+ <input type="text" name="album_extended_thumb_div_padding" id="album_extended_thumb_div_padding" value="<?php echo $row->album_extended_thumb_div_padding; ?>" class="spider_char_input"/>
1526
+ <div class="spider_description">Use CSS type values.</div>
1527
+ </td>
1528
+ </tr>
1529
+ <tr>
1530
+ <td class="spider_label"><label for="album_extended_thumb_div_bg_color">Thumbnail div background color: </label></td>
1531
+ <td>
1532
+ <input type="text" name="album_extended_thumb_div_bg_color" id="album_extended_thumb_div_bg_color" value="<?php echo $row->album_extended_thumb_div_bg_color; ?>" class="color"/>
1533
+ </td>
1534
+ </tr>
1535
+ <tr>
1536
+ <td class="spider_label"><label for="album_extended_thumb_div_border_width">Thumbnail div border width: </label>
1537
+ </td>
1538
+ <td>
1539
+ <input type="text" name="album_extended_thumb_div_border_width" id="album_extended_thumb_div_border_width" value="<?php echo $row->album_extended_thumb_div_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1540
+ </td>
1541
+ </tr>
1542
+ <tr>
1543
+ <td class="spider_label"><label for="album_extended_thumb_div_border_style">Thumbnail div border style: </label></td>
1544
+ <td>
1545
+ <select name="album_extended_thumb_div_border_style" id="album_extended_thumb_div_border_style">
1546
+ <?php
1547
+ foreach ($border_styles as $key => $border_style) {
1548
+ ?>
1549
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_thumb_div_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
1550
+ <?php
1551
+ }
1552
+ ?>
1553
+ </select>
1554
+ </td>
1555
+ </tr>
1556
+ <tr>
1557
+ <td class="spider_label"><label for="album_extended_thumb_div_border_color">Thumbnail div border color: </label></td>
1558
+ <td>
1559
+ <input type="text" name="album_extended_thumb_div_border_color" id="album_extended_thumb_div_border_color" value="<?php echo $row->album_extended_thumb_div_border_color; ?>" class="color"/>
1560
+ </td>
1561
+ </tr>
1562
+ <tr>
1563
+ <td class="spider_label"><label for="album_extended_thumb_div_border_radius">Thumbnail div border radius: </label></td>
1564
+ <td>
1565
+ <input type="text" name="album_extended_thumb_div_border_radius" id="album_extended_thumb_div_border_radius" value="<?php echo $row->album_extended_thumb_div_border_radius; ?>" class="spider_char_input"/>
1566
+ <div class="spider_description">Use CSS type values.</div>
1567
+ </td>
1568
+ </tr>
1569
+ <tr>
1570
+ <td class="spider_label"><label for="album_extended_div_margin">Margin: </label></td>
1571
+ <td>
1572
+ <input type="text" name="album_extended_div_margin" id="album_extended_div_margin" value="<?php echo $row->album_extended_div_margin; ?>" class="spider_char_input"/>
1573
+ <div class="spider_description">Use CSS type values.</div>
1574
+ </td>
1575
+ </tr>
1576
+ <tr>
1577
+ <td class="spider_label"><label for="album_extended_div_padding">Padding: </label></td>
1578
+ <td>
1579
+ <input type="text" name="album_extended_div_padding" id="album_extended_div_padding" value="<?php echo $row->album_extended_div_padding; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1580
+ </td>
1581
+ </tr>
1582
+ <tr>
1583
+ <td class="spider_label"><label for="album_extended_div_bg_color">Background color: </label></td>
1584
+ <td>
1585
+ <input type="text" name="album_extended_div_bg_color" id="album_extended_div_bg_color" value="<?php echo $row->album_extended_div_bg_color; ?>" class="color"/>
1586
+ </td>
1587
+ </tr>
1588
+ <tr>
1589
+ <td class="spider_label"><label for="album_extended_div_bg_transparent">Background transparency: </label></td>
1590
+ <td>
1591
+ <input type="text" name="album_extended_div_bg_transparent" id="album_extended_div_bg_transparent" value="<?php echo $row->album_extended_div_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
1592
+ <div class="spider_description">Value must be between 0 to 100.</div>
1593
+ </td>
1594
+ </tr>
1595
+ <tr>
1596
+ <td class="spider_label"><label for="album_extended_div_border_radius">Border radius: </label></td>
1597
+ <td>
1598
+ <input type="text" name="album_extended_div_border_radius" id="album_extended_div_border_radius" value="<?php echo $row->album_extended_div_border_radius; ?>" class="spider_char_input"/>
1599
+ <div class="spider_description">Use CSS type values.</div>
1600
+ </td>
1601
+ </tr>
1602
+ <tr>
1603
+ <td class="spider_label"><label for="album_extended_div_separator_width">Separator width: </label></td>
1604
+ <td>
1605
+ <input type="text" name="album_extended_div_separator_width" id="album_extended_div_separator_width" value="<?php echo $row->album_extended_div_separator_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1606
+ </td>
1607
+ </tr>
1608
+ <tr>
1609
+ <td class="spider_label"><label for="album_extended_div_separator_style">Separator style: </label></td>
1610
+ <td>
1611
+ <select name="album_extended_div_separator_style" id="album_extended_div_separator_style">
1612
+ <?php
1613
+ foreach ($border_styles as $key => $border_style) {
1614
+ ?>
1615
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_div_separator_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
1616
+ <?php
1617
+ }
1618
+ ?>
1619
+ </select>
1620
+ </td>
1621
+ </tr>
1622
+ <tr>
1623
+ <td class="spider_label"><label for="album_extended_div_separator_color">Separator color: </label></td>
1624
+ <td>
1625
+ <input type="text" name="album_extended_div_separator_color" id="album_extended_div_separator_color" value="<?php echo $row->album_extended_div_separator_color; ?>" class="color"/>
1626
+ </td>
1627
+ </tr>
1628
+ <tr>
1629
+ <td class="spider_label"><label for="album_extended_back_padding">Back padding: </label></td>
1630
+ <td>
1631
+ <input type="text" name="album_extended_back_padding" id="album_extended_back_padding" value="<?php echo $row->album_extended_back_padding; ?>" class="spider_char_input" />
1632
+ <div class="spider_description">Use CSS type values.</div>
1633
+ </td>
1634
+ </tr>
1635
+ <tr>
1636
+ <td class="spider_label"><label for="album_extended_back_font_size">Back font size: </label></td>
1637
+ <td>
1638
+ <input type="text" name="album_extended_back_font_size" id="album_extended_back_font_size" value="<?php echo $row->album_extended_back_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1639
+ </td>
1640
+ </tr>
1641
+ <tr>
1642
+ <td class="spider_label"><label for="album_extended_back_font_color">Back font color: </label></td>
1643
+ <td>
1644
+ <input type="text" name="album_extended_back_font_color" id="album_extended_back_font_color" value="<?php echo $row->album_extended_back_font_color; ?>" class="color"/>
1645
+ </td>
1646
+ </tr>
1647
+ <tr>
1648
+ <td class="spider_label"><label for="album_extended_back_font_style">Back font family: </label></td>
1649
+ <td>
1650
+ <select name="album_extended_back_font_style" id="album_extended_back_font_style">
1651
+ <?php
1652
+ foreach ($font_families as $key => $font_family) {
1653
+ ?>
1654
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_back_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
1655
+ <?php
1656
+ }
1657
+ ?>
1658
+ </select>
1659
+ </td>
1660
+ </tr>
1661
+ <tr>
1662
+ <td class="spider_label"><label for="album_extended_back_font_weight">Back font weight: </label></td>
1663
+ <td>
1664
+ <select name="album_extended_back_font_weight" id="album_extended_back_font_weight">
1665
+ <?php
1666
+ foreach ($font_weights as $key => $font_weight) {
1667
+ ?>
1668
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_back_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1669
+ <?php
1670
+ }
1671
+ ?>
1672
+ </select>
1673
+ </td>
1674
+ </tr>
1675
+ </tbody>
1676
+ </table>
1677
+ </fieldset>
1678
+ <fieldset class="spider_child_fieldset" id="Extended_album_3">
1679
+ <table style="clear:both;">
1680
+ <tbody>
1681
+ <tr>
1682
+ <td class="spider_label"><label for="album_extended_text_div_padding">Text div padding: </label></td>
1683
+ <td>
1684
+ <input type="text" name="album_extended_text_div_padding" id="album_extended_text_div_padding" value="<?php echo $row->album_extended_text_div_padding; ?>" class="spider_char_input" />
1685
+ <div class="spider_description">Use CSS type values.</div>
1686
+ </td>
1687
+ </tr>
1688
+ <tr>
1689
+ <td class="spider_label"><label for="album_extended_text_div_border_width">Text div border width: </label></td>
1690
+ <td>
1691
+ <input type="text" name="album_extended_text_div_border_width" id="album_extended_text_div_border_width" value="<?php echo $row->album_extended_text_div_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1692
+ </td>
1693
+ </tr>
1694
+ <tr>
1695
+ <td class="spider_label"><label for="album_extended_text_div_border_style">Text border style: </label></td>
1696
+ <td>
1697
+ <select name="album_extended_text_div_border_style" id="album_extended_text_div_border_style">
1698
+ <?php
1699
+ foreach ($border_styles as $key => $border_style) {
1700
+ ?>
1701
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_text_div_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
1702
+ <?php
1703
+ }
1704
+ ?>
1705
+ </select>
1706
+ </td>
1707
+ </tr>
1708
+ <tr>
1709
+ <td class="spider_label"><label for="album_extended_text_div_border_color">Text border color: </label></td>
1710
+ <td>
1711
+ <input type="text" name="album_extended_text_div_border_color" id="album_extended_text_div_border_color" value="<?php echo $row->album_extended_text_div_border_color; ?>" class="color"/>
1712
+ </td>
1713
+ </tr>
1714
+ <tr>
1715
+ <td class="spider_label"><label for="album_extended_text_div_border_radius">Text div border radius: </label></td>
1716
+ <td>
1717
+ <input type="text" name="album_extended_text_div_border_radius" id="album_extended_text_div_border_radius" value="<?php echo $row->album_extended_text_div_border_radius; ?>" class="spider_char_input"/>
1718
+ <div class="spider_description">Use CSS type values.</div>
1719
+ </td>
1720
+ </tr>
1721
+ <tr>
1722
+ <td class="spider_label"><label for="album_extended_text_div_bg_color">Text background color: </label></td>
1723
+ <td>
1724
+ <input type="text" name="album_extended_text_div_bg_color" id="album_extended_text_div_bg_color" value="<?php echo $row->album_extended_text_div_bg_color; ?>" class="color"/>
1725
+ </td>
1726
+ </tr>
1727
+ <tr>
1728
+ <td class="spider_label"><label for="album_extended_title_margin_bottom">Title margin: </label></td>
1729
+ <td>
1730
+ <input type="text" name="album_extended_title_margin_bottom" id="album_extended_title_margin_bottom" value="<?php echo $row->album_extended_title_margin_bottom; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1731
+ </td>
1732
+ </tr>
1733
+ <tr>
1734
+ <td class="spider_label"><label for="album_extended_title_padding">Title padding: </label></td>
1735
+ <td>
1736
+ <input type="text" name="album_extended_title_padding" id="album_extended_title_padding" value="<?php echo $row->album_extended_title_padding; ?>" class="spider_char_input"/>
1737
+ <div class="spider_description">Use CSS type values.</div>
1738
+ </td>
1739
+ </tr>
1740
+ <tr>
1741
+ <td class="spider_label"><label for="album_extended_title_span_border_width">Title border width: </label></td>
1742
+ <td>
1743
+ <input type="text" name="album_extended_title_span_border_width" id="album_extended_title_span_border_width" value="<?php echo $row->album_extended_title_span_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1744
+ </td>
1745
+ </tr>
1746
+ <tr>
1747
+ <td class="spider_label"><label for="album_extended_title_span_border_style">Title border style: </label></td>
1748
+ <td>
1749
+ <select name="album_extended_title_span_border_style" id="album_extended_title_span_border_style">
1750
+ <?php
1751
+ foreach ($border_styles as $key => $border_style) {
1752
+ ?>
1753
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_title_span_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
1754
+ <?php
1755
+ }
1756
+ ?>
1757
+ </select>
1758
+ </td>
1759
+ </tr>
1760
+ <tr>
1761
+ <td class="spider_label"><label for="album_extended_title_span_border_color">Title border color: </label></td>
1762
+ <td>
1763
+ <input type="text" name="album_extended_title_span_border_color" id="album_extended_title_span_border_color" value="<?php echo $row->album_extended_title_span_border_color; ?>" class="color"/>
1764
+ </td>
1765
+ </tr>
1766
+ <tr>
1767
+ <td class="spider_label"><label for="album_extended_title_font_size">Title font size: </label></td>
1768
+ <td>
1769
+ <input type="text" name="album_extended_title_font_size" id="album_extended_title_font_size" value="<?php echo $row->album_extended_title_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1770
+ </td>
1771
+ </tr>
1772
+ <tr>
1773
+ <td class="spider_label"><label for="album_extended_title_font_color">Title font color: </label></td>
1774
+ <td>
1775
+ <input type="text" name="album_extended_title_font_color" id="album_extended_title_font_color" value="<?php echo $row->album_extended_title_font_color; ?>" class="color"/>
1776
+ </td>
1777
+ </tr>
1778
+ <tr>
1779
+ <td class="spider_label"><label for="album_extended_title_font_style">Title font family: </label></td>
1780
+ <td>
1781
+ <select name="album_extended_title_font_style" id="album_extended_title_font_style">
1782
+ <?php
1783
+ foreach ($font_families as $key => $font_family) {
1784
+ ?>
1785
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_title_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
1786
+ <?php
1787
+ }
1788
+ ?>
1789
+ </select>
1790
+ </td>
1791
+ </tr>
1792
+ <tr>
1793
+ <td class="spider_label"><label for="album_extended_title_font_weight">Title font weight: </label></td>
1794
+ <td>
1795
+ <select name="album_extended_title_font_weight" id="album_extended_title_font_weight">
1796
+ <?php
1797
+ foreach ($font_weights as $key => $font_weight) {
1798
+ ?>
1799
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1800
+ <?php
1801
+ }
1802
+ ?>
1803
+ </select>
1804
+ </td>
1805
+ </tr>
1806
+ <tr>
1807
+ <td class="spider_label"><label for="album_extended_desc_padding">Description padding: </label></td>
1808
+ <td>
1809
+ <input type="text" name="album_extended_desc_padding" id="album_extended_desc_padding" value="<?php echo $row->album_extended_desc_padding; ?>" class="spider_char_input"/>
1810
+ <div class="spider_description">Use CSS type values.</div>
1811
+ </td>
1812
+ </tr>
1813
+ <tr>
1814
+ <td class="spider_label"><label for="album_extended_desc_span_border_width">Description border width: </label></td>
1815
+ <td>
1816
+ <input type="text" name="album_extended_desc_span_border_width" id="album_extended_desc_span_border_width" value="<?php echo $row->album_extended_desc_span_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1817
+ </td>
1818
+ </tr>
1819
+ <tr>
1820
+ <td class="spider_label"><label for="album_extended_desc_span_border_style">Description border style: </label></td>
1821
+ <td>
1822
+ <select name="album_extended_desc_span_border_style" id="album_extended_desc_span_border_style">
1823
+ <?php
1824
+ foreach ($border_styles as $key => $border_style) {
1825
+ ?>
1826
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_desc_span_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
1827
+ <?php
1828
+ }
1829
+ ?>
1830
+ </select>
1831
+ </td>
1832
+ </tr>
1833
+ <tr>
1834
+ <td class="spider_label"><label for="album_extended_desc_span_border_color">Description border color: </label></td>
1835
+ <td>
1836
+ <input type="text" name="album_extended_desc_span_border_color" id="album_extended_desc_span_border_color" value="<?php echo $row->album_extended_desc_span_border_color; ?>" class="color"/>
1837
+ </td>
1838
+ </tr>
1839
+ <tr>
1840
+ <td class="spider_label"><label for="album_extended_desc_font_size">Description font size: </label></td>
1841
+ <td>
1842
+ <input type="text" name="album_extended_desc_font_size" id="album_extended_desc_font_size" value="<?php echo $row->album_extended_desc_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1843
+ </td>
1844
+ </tr>
1845
+ <tr>
1846
+ <td class="spider_label"><label for="album_extended_desc_font_color">Description font color: </label></td>
1847
+ <td>
1848
+ <input type="text" name="album_extended_desc_font_color" id="album_extended_desc_font_color" value="<?php echo $row->album_extended_desc_font_color; ?>" class="color"/>
1849
+ </td>
1850
+ </tr>
1851
+ <tr>
1852
+ <td class="spider_label"><label for="album_extended_desc_font_style">Description font family: </label></td>
1853
+ <td>
1854
+ <select name="album_extended_desc_font_style" id="album_extended_desc_font_style">
1855
+ <?php
1856
+ foreach ($font_families as $key => $font_family) {
1857
+ ?>
1858
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_desc_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
1859
+ <?php
1860
+ }
1861
+ ?>
1862
+ </select>
1863
+ </td>
1864
+ </tr>
1865
+ <tr>
1866
+ <td class="spider_label"><label for="album_extended_desc_font_weight">Description font weight: </label></td>
1867
+ <td>
1868
+ <select name="album_extended_desc_font_weight" id="album_extended_desc_font_weight">
1869
+ <?php
1870
+ foreach ($font_weights as $key => $font_weight) {
1871
+ ?>
1872
+ <option value="<?php echo $key; ?>" <?php echo (($row->album_extended_desc_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1873
+ <?php
1874
+ }
1875
+ ?>
1876
+ </select>
1877
+ </td>
1878
+ </tr>
1879
+ <tr>
1880
+ <td class="spider_label"><label for="album_extended_desc_more_size">Description more size: </label></td>
1881
+ <td>
1882
+ <input type="text" name="album_extended_desc_more_size" id="album_extended_desc_more_size" value="<?php echo $row->album_extended_desc_more_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1883
+ </td>
1884
+ </tr>
1885
+ <tr>
1886
+ <td class="spider_label"><label for="album_extended_desc_more_color">Description more color: </label></td>
1887
+ <td>
1888
+ <input type="text" name="album_extended_desc_more_color" id="album_extended_desc_more_color" value="<?php echo $row->album_extended_desc_more_color; ?>" class="color"/>
1889
+ </td>
1890
+ </tr>
1891
+ </tbody>
1892
+ </table>
1893
+ </fieldset>
1894
+ </fieldset>
1895
+
1896
+ <fieldset class="spider_type_fieldset" id="Blog_style">
1897
+ <fieldset class="spider_child_fieldset" id="Blog_style_1">
1898
+ <table style="clear:both;">
1899
+ <tbody>
1900
+ <tr>
1901
+ <td class="spider_label"><label for="blog_style_bg_color">Background color: </label></td>
1902
+ <td>
1903
+ <input type="text" name="blog_style_bg_color" id="blog_style_bg_color" value="<?php echo $row->blog_style_bg_color; ?>" class="color"/>
1904
+ </td>
1905
+ </tr>
1906
+ <tr>
1907
+ <td class="spider_label"><label for="blog_style_transparent">Background transparency: </label></td>
1908
+ <td>
1909
+ <input type="text" name="blog_style_transparent" id="blog_style_transparent" value="<?php echo $row->blog_style_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
1910
+ <div class="spider_description">Value must be between 0 to 100.</div>
1911
+ </td>
1912
+ </tr>
1913
+ <tr>
1914
+ <td class="spider_label"><label for="blog_style_align0">Alignment: </label></td>
1915
+ <td>
1916
+ <select name="blog_style_align" id="blog_style_align">
1917
+ <?php
1918
+ foreach ($aligns as $key => $align) {
1919
+ ?>
1920
+ <option value="<?php echo $key; ?>" <?php echo (($row->blog_style_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
1921
+ <?php
1922
+ }
1923
+ ?>
1924
+ </select>
1925
+ </td>
1926
+ </tr>
1927
+ <tr>
1928
+ <td class="spider_label"><label for="blog_style_margin">Margin: </label></td>
1929
+ <td>
1930
+ <input type="text" name="blog_style_margin" id="blog_style_margin" value="<?php echo $row->blog_style_margin; ?>" class="spider_char_input"/>
1931
+ <div class="spider_description">Use CSS type values.</div>
1932
+ </td>
1933
+ </tr>
1934
+ <tr>
1935
+ <td class="spider_label"><label for="blog_style_padding">Padding: </label></td>
1936
+ <td>
1937
+ <input type="text" name="blog_style_padding" id="blog_style_padding" value="<?php echo $row->blog_style_padding; ?>" class="spider_char_input"/>
1938
+ <div class="spider_description">Use CSS type values.</div>
1939
+ </td>
1940
+ </tr>
1941
+ <tr>
1942
+ <td class="spider_label"><label for="blog_style_box_shadow">Box shadow: </label></td>
1943
+ <td>
1944
+ <input type="text" name="blog_style_box_shadow" id="blog_style_box_shadow" value="<?php echo $row->blog_style_box_shadow; ?>" class="spider_box_input"/>
1945
+ <div class="spider_description">Use CSS type values.</div>
1946
+ </td>
1947
+ </tr>
1948
+ </tbody>
1949
+ </table>
1950
+ </fieldset>
1951
+ <fieldset class="spider_child_fieldset" id="Blog_style_2">
1952
+ <table style="clear:both;">
1953
+ <tbody>
1954
+ <tr>
1955
+ <td class="spider_label"><label for="blog_style_img_font_family">Font family: </label></td>
1956
+ <td>
1957
+ <select name="blog_style_img_font_family" id="blog_style_img_font_family">
1958
+ <?php
1959
+ foreach ($font_families as $key => $font_family) {
1960
+ ?>
1961
+ <option value="<?php echo $key; ?>" <?php echo (($row->blog_style_img_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
1962
+ <?php
1963
+ }
1964
+ ?>
1965
+ </select>
1966
+ </td>
1967
+ </tr>
1968
+ <tr>
1969
+ <td class="spider_label"><label for="blog_style_img_font_size">Font size: </label></td>
1970
+ <td>
1971
+ <input type="text" name="blog_style_img_font_size" id="blog_style_img_font_size" value="<?php echo $row->blog_style_img_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1972
+ </td>
1973
+ </tr>
1974
+ <tr>
1975
+ <td class="spider_label"><label for="blog_style_img_font_color">Font color: </label></td>
1976
+ <td>
1977
+ <input type="text" name="blog_style_img_font_color" id="blog_style_img_font_color" value="<?php echo $row->blog_style_img_font_color; ?>" class="color"/>
1978
+ </td>
1979
+ </tr>
1980
+ <tr>
1981
+ <td class="spider_label"><label for="blog_style_border_width">Border width: </label></td>
1982
+ <td>
1983
+ <input type="text" name="blog_style_border_width" id="blog_style_border_width" value="<?php echo $row->blog_style_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1984
+ </td>
1985
+ </tr>
1986
+ <tr>
1987
+ <td class="spider_label"><label for="blog_style_border_style">Border style: </label></td>
1988
+ <td>
1989
+ <select name="blog_style_border_style" id="blog_style_border_style">
1990
+ <?php
1991
+ foreach ($border_styles as $key => $border_style) {
1992
+ ?>
1993
+ <option value="<?php echo $key; ?>" <?php echo (($row->blog_style_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
1994
+ <?php
1995
+ }
1996
+ ?>
1997
+ </select>
1998
+ </td>
1999
+ </tr>
2000
+ <tr>
2001
+ <td class="spider_label"><label for="blog_style_border_color">Border color: </label></td>
2002
+ <td>
2003
+ <input type="text" name="blog_style_border_color" id="blog_style_border_color" value="<?php echo $row->blog_style_border_color; ?>" class="color" />
2004
+ </td>
2005
+ </tr>
2006
+ <tr>
2007
+ <td class="spider_label"><label for="blog_style_border_radius">Border radius: </label></td>
2008
+ <td>
2009
+ <input type="text" name="blog_style_border_radius" id="blog_style_border_radius" value="<?php echo $row->blog_style_border_radius; ?>" class="spider_char_input"/>
2010
+ <div class="spider_description">Use CSS type values.</div>
2011
+ </td>
2012
+ </tr>
2013
+ </tbody>
2014
+ </table>
2015
+ </fieldset>
2016
+ <fieldset class="spider_child_fieldset" id="Blog_style_3">
2017
+ <table style="clear:both;">
2018
+ <tbody>
2019
+ <tr>
2020
+ <td class="spider_label"><label for="blog_style_share_buttons_margin">Buttons and title margin: </label></td>
2021
+ <td>
2022
+ <input type="text" name="blog_style_share_buttons_margin" id="blog_style_share_buttons_margin" value="<?php echo $row->blog_style_share_buttons_margin; ?>" class="spider_char_input"/>
2023
+ <div class="spider_description">Use CSS type values.</div>
2024
+ </td>
2025
+ </tr>
2026
+ <tr>
2027
+ <td class="spider_label"><label for="blog_style_share_buttons_font_size">Buttons size: </label></td>
2028
+ <td>
2029
+ <input type="text" name="blog_style_share_buttons_font_size" id="blog_style_share_buttons_font_size" value="<?php echo $row->blog_style_share_buttons_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2030
+ </td>
2031
+ </tr>
2032
+ <tr>
2033
+ <td class="spider_label"><label for="blog_style_share_buttons_color">Buttons color: </label></td>
2034
+ <td>
2035
+ <input type="text" name="blog_style_share_buttons_color" id="blog_style_share_buttons_color" value="<?php echo $row->blog_style_share_buttons_color; ?>" class="color"/>
2036
+ </td>
2037
+ </tr>
2038
+ <tr>
2039
+ <td class="spider_label"><label for="blog_style_share_buttons_border_width">Buttons and title border width: </label></td>
2040
+ <td>
2041
+ <input type="text" name="blog_style_share_buttons_border_width" id="blog_style_share_buttons_border_width" value="<?php echo $row->blog_style_share_buttons_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2042
+ </td>
2043
+ </tr>
2044
+ <tr>
2045
+ <td class="spider_label"><label for="blog_style_share_buttons_border_style">Buttons and title border style: </label></td>
2046
+ <td>
2047
+ <select name="blog_style_share_buttons_border_style" id="blog_style_share_buttons_border_style">
2048
+ <?php
2049
+ foreach ($border_styles as $key => $border_style) {
2050
+ ?>
2051
+ <option value="<?php echo $key; ?>" <?php echo (($row->blog_style_share_buttons_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
2052
+ <?php
2053
+ }
2054
+ ?>
2055
+ </select>
2056
+ </td>
2057
+ </tr>
2058
+ <tr>
2059
+ <td class="spider_label"><label for="blog_style_share_buttons_border_color">Buttons and title border color: </label></td>
2060
+ <td>
2061
+ <input type="text" name="blog_style_share_buttons_border_color" id="blog_style_share_buttons_border_color" value="<?php echo $row->blog_style_share_buttons_border_color; ?>" class="color"/>
2062
+ </td>
2063
+ </tr>
2064
+ <tr>
2065
+ <td class="spider_label"><label for="blog_style_share_buttons_border_radius">Buttons and title border radius: </label></td>
2066
+ <td>
2067
+ <input type="text" name="blog_style_share_buttons_border_radius" id="blog_style_share_buttons_border_radius" value="<?php echo $row->blog_style_share_buttons_border_radius; ?>" class="spider_char_input"/>
2068
+ <div class="spider_description">Use CSS type values.</div>
2069
+ </td>
2070
+ </tr>
2071
+ <tr>
2072
+ <td class="spider_label"><label for="blog_style_share_buttons_bg_color">Buttons and title background color: </label></td>
2073
+ <td>
2074
+ <input type="text" name="blog_style_share_buttons_bg_color" id="blog_style_share_buttons_bg_color" value="<?php echo $row->blog_style_share_buttons_bg_color; ?>" class="color"/>
2075
+ </td>
2076
+ </tr>
2077
+ <tr>
2078
+ <td class="spider_label"><label for="blog_style_share_buttons_bg_transparent">Buttons and title background transparency: </label></td>
2079
+ <td>
2080
+ <input type="text" name="blog_style_share_buttons_bg_transparent" id="blog_style_share_buttons_bg_transparent" value="<?php echo $row->blog_style_share_buttons_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
2081
+ <div class="spider_description">Value must be between 0 to 100.</div>
2082
+ </td>
2083
+ </tr>
2084
+ <tr>
2085
+ <td class="spider_label"><label for="blog_style_share_buttons_align0">Buttons or title alignment: </label></td>
2086
+ <td>
2087
+ <select name="blog_style_share_buttons_align" id="blog_style_share_buttons_align">
2088
+ <?php
2089
+ foreach ($aligns as $key => $align) {
2090
+ ?>
2091
+ <option value="<?php echo $key; ?>" <?php echo (($row->blog_style_share_buttons_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
2092
+ <?php
2093
+ }
2094
+ ?>
2095
+ </select>
2096
+ </td>
2097
+ </tr>
2098
+ </tbody>
2099
+ </table>
2100
+ </fieldset>
2101
+ </fieldset>
2102
+
2103
+ <fieldset class="spider_type_fieldset" id="Lightbox">
2104
+ <fieldset class="spider_child_fieldset" id="Lightbox_1">
2105
+ <table style="clear:both;">
2106
+ <tbody>
2107
+ <tr id="lightbox_overlay_bg">
2108
+ <td class="spider_label"><label for="lightbox_overlay_bg_color">Overlay background color: </label></td>
2109
+ <td>
2110
+ <input type="text" name="lightbox_overlay_bg_color" id="lightbox_overlay_bg_color" value="<?php echo $row->lightbox_overlay_bg_color; ?>" class="color"/>
2111
+ </td>
2112
+ </tr>
2113
+ <tr id="lightbox_overlay">
2114
+ <td class="spider_label"><label for="lightbox_overlay_bg_transparent">Overlay background transparency: </label></td>
2115
+ <td>
2116
+ <input type="text" name="lightbox_overlay_bg_transparent" id="lightbox_overlay_bg_transparent" value="<?php echo $row->lightbox_overlay_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
2117
+ <div class="spider_description">Value must be between 0 to 100.</div>
2118
+ </td>
2119
+ </tr>
2120
+ <tr id="lightbox_bg">
2121
+ <td class="spider_label"><label for="lightbox_bg_color">Lightbox background color: </label></td>
2122
+ <td>
2123
+ <input type="text" name="lightbox_bg_color" id="lightbox_bg_color" value="<?php echo $row->lightbox_bg_color; ?>" class="color"/>
2124
+ </td>
2125
+ </tr>
2126
+ <tr id="lightbox_cntrl1">
2127
+ <td class="spider_label"><label for="lightbox_ctrl_btn_height">Control buttons height: </label></td>
2128
+ <td>
2129
+ <input type="text" name="lightbox_ctrl_btn_height" id="lightbox_ctrl_btn_height" value="<?php echo $row->lightbox_ctrl_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2130
+ </td>
2131
+ </tr>
2132
+ <tr id="lightbox_cntrl2">
2133
+ <td class="spider_label"><label for="lightbox_ctrl_btn_margin_top">Control buttons margin (top): </label></td>
2134
+ <td>
2135
+ <input type="text" name="lightbox_ctrl_btn_margin_top" id="lightbox_ctrl_btn_margin_top" value="<?php echo $row->lightbox_ctrl_btn_margin_top; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2136
+ </td>
2137
+ </tr>
2138
+ <tr id="lightbox_cntrl3">
2139
+ <td class="spider_label"><label for="lightbox_ctrl_btn_margin_left">Control buttons margin (left): </label></td>
2140
+ <td>
2141
+ <input type="text" name="lightbox_ctrl_btn_margin_left" id="lightbox_ctrl_btn_margin_left" value="<?php echo $row->lightbox_ctrl_btn_margin_left; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2142
+ </td>
2143
+ </tr>
2144
+ <tr id="lightbox_cntrl9">
2145
+ <td class="spider_label"><label for="lightbox_ctrl_btn_pos1">Control buttons position: </label></td>
2146
+ <td>
2147
+ <input type="radio" name="lightbox_ctrl_btn_pos" id="lightbox_ctrl_btn_pos1" value="top"<?php if ($row->lightbox_ctrl_btn_pos == "top") echo 'checked="checked"'; ?> />
2148
+ <label for="lightbox_ctrl_btn_pos1" id="lightbox_ctrl_btn_pos1_lbl">Top</label>
2149
+ <input type="radio" name="lightbox_ctrl_btn_pos" id="lightbox_ctrl_btn_pos0" value="bottom"<?php if ($row->lightbox_ctrl_btn_pos == "bottom") echo 'checked="checked"'; ?> />
2150
+ <label for="lightbox_ctrl_btn_pos0" id="lightbox_ctrl_btn_pos0_lbl">Bottom</label>
2151
+ </td>
2152
+ </tr>
2153
+ <tr id="lightbox_cntrl8">
2154
+ <td class="spider_label"><label for="lightbox_ctrl_cont_bg_color">Control buttons background color: </label></td>
2155
+ <td>
2156
+ <input type="text" name="lightbox_ctrl_cont_bg_color" id="lightbox_ctrl_cont_bg_color" value="<?php echo $row->lightbox_ctrl_cont_bg_color; ?>" class="color"/>
2157
+ </td>
2158
+ </tr>
2159
+ <tr id="lightbox_cntrl5">
2160
+ <td class="spider_label"><label for="lightbox_ctrl_cont_border_radius">Control buttons container border radius: </label></td>
2161
+ <td>
2162
+ <input type="text" name="lightbox_ctrl_cont_border_radius" id="lightbox_ctrl_cont_border_radius" value="<?php echo $row->lightbox_ctrl_cont_border_radius; ?>" class="spider_char_input"/>
2163
+ <div class="spider_description">Use CSS type values.</div>
2164
+ </td>
2165
+ </tr>
2166
+ <tr id="lightbox_cntrl6">
2167
+ <td class="spider_label"><label for="lightbox_ctrl_cont_transparent">Control buttons container background transparency: </label></td>
2168
+ <td>
2169
+ <input type="text" name="lightbox_ctrl_cont_transparent" id="lightbox_ctrl_cont_transparent" value="<?php echo $row->lightbox_ctrl_cont_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
2170
+ <div class="spider_description">Value must be between 0 to 100.</div>
2171
+ </td>
2172
+ </tr>
2173
+ <tr id="lightbox_cntrl10">
2174
+ <td class="spider_label"><label for="lightbox_ctrl_btn_align0">Control buttons alignment: </label></td>
2175
+ <td>
2176
+ <select name="lightbox_ctrl_btn_align" id="lightbox_ctrl_btn_align">
2177
+ <?php
2178
+ foreach ($aligns as $key => $align) {
2179
+ ?>
2180
+ <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_ctrl_btn_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
2181
+ <?php
2182
+ }
2183
+ ?>
2184
+ </select>
2185
+ </td>
2186
+ </tr>
2187
+ <tr id="lightbox_cntrl7">
2188
+ <td class="spider_label"><label for="lightbox_ctrl_btn_color">Control buttons color: </label></td>
2189
+ <td>
2190
+ <input type="text" name="lightbox_ctrl_btn_color" id="lightbox_ctrl_btn_color" value="<?php echo $row->lightbox_ctrl_btn_color; ?>" class="color"/>
2191
+ </td>
2192
+ </tr>
2193
+ <tr id="lightbox_cntrl4">
2194
+ <td class="spider_label"><label for="lightbox_ctrl_btn_transparent">Control buttons transparency: </label></td>
2195
+ <td>
2196
+ <input type="text" name="lightbox_ctrl_btn_transparent" id="lightbox_ctrl_btn_transparent" value="<?php echo $row->lightbox_ctrl_btn_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
2197
+ <div class="spider_description">Value must be between 0 to 100.</div>
2198
+ </td>
2199
+ </tr>
2200
+ <tr id="lightbox_toggle1">
2201
+ <td class="spider_label"><label for="lightbox_toggle_btn_height">Toggle button height: </label></td>
2202
+ <td>
2203
+ <input type="text" name="lightbox_toggle_btn_height" id="lightbox_toggle_btn_height" value="<?php echo $row->lightbox_toggle_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2204
+ </td>
2205
+ </tr>
2206
+ <tr id="lightbox_toggle2">
2207
+ <td class="spider_label"><label for="lightbox_toggle_btn_width">Toggle button width: </label></td>
2208
+ <td>
2209
+ <input type="text" name="lightbox_toggle_btn_width" id="lightbox_toggle_btn_width" value="<?php echo $row->lightbox_toggle_btn_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2210
+ </td>
2211
+ </tr>
2212
+ <tr id="lightbox_close1">
2213
+ <td class="spider_label"><label for="lightbox_close_btn_border_radius">Close button border radius: </label>
2214
+ </td>
2215
+ <td>
2216
+ <input type="text" name="lightbox_close_btn_border_radius" id="lightbox_close_btn_border_radius" value="<?php echo $row->lightbox_close_btn_border_radius; ?>" class="spider_char_input"/>
2217
+ <div class="spider_description">Use CSS type values.</div>
2218
+ </td>
2219
+ </tr>
2220
+ <tr id="lightbox_close2">
2221
+ <td class="spider_label"><label for="lightbox_close_btn_border_width">Close button border width: </label></td>
2222
+ <td>
2223
+ <input type="text" name="lightbox_close_btn_border_width" id="lightbox_close_btn_border_width" value="<?php echo $row->lightbox_close_btn_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2224
+ </td>
2225
+ </tr>
2226
+ <tr id="lightbox_close12">
2227
+ <td class="spider_label"><label for="lightbox_close_btn_border_style">Close button border style: </label></td>
2228
+ <td>
2229
+ <select name="lightbox_close_btn_border_style" id="lightbox_close_btn_border_style">
2230
+ <?php
2231
+ foreach ($border_styles as $key => $border_style) {
2232
+ ?>
2233
+ <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_close_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
2234
+ <?php
2235
+ }
2236
+ ?>
2237
+ </select>
2238
+ </td>
2239
+ </tr>
2240
+ <tr id="lightbox_close13">
2241
+ <td class="spider_label"><label for="lightbox_close_btn_border_color">Close button border color: </label></td>
2242
+ <td>
2243
+ <input type="text" name="lightbox_close_btn_border_color" id="lightbox_close_btn_border_color" value="<?php echo $row->lightbox_close_btn_border_color; ?>" class="color"/>
2244
+ </td>
2245
+ </tr>
2246
+ <tr id="lightbox_close3">
2247
+ <td class="spider_label"><label for="lightbox_close_btn_box_shadow">Close button box shadow: </label></td>
2248
+ <td>
2249
+ <input type="text" name="lightbox_close_btn_box_shadow" id="lightbox_close_btn_box_shadow" value="<?php echo $row->lightbox_close_btn_box_shadow; ?>" class="spider_box_input"/>
2250
+ <div class="spider_description">Use CSS type values.</div>
2251
+ </td>
2252
+ </tr>
2253
+ <tr id="lightbox_close11">
2254
+ <td class="spider_label"><label for="lightbox_close_btn_bg_color">Close button background color: </label></td>
2255
+ <td>
2256
+ <input type="text" name="lightbox_close_btn_bg_color" id="lightbox_close_btn_bg_color" value="<?php echo $row->lightbox_close_btn_bg_color; ?>" class="color"/>
2257
+ </td>
2258
+ </tr>
2259
+ <tr id="lightbox_close9">
2260
+ <td class="spider_label"><label for="lightbox_close_btn_transparent">Close button transparency: </label></td>
2261
+ <td>
2262
+ <input type="text" name="lightbox_close_btn_transparent" id="lightbox_close_btn_transparent" value="<?php echo $row->lightbox_close_btn_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
2263
+ </td>
2264
+ </tr>
2265
+ <tr id="lightbox_close5">
2266
+ <td class="spider_label"><label for="lightbox_close_btn_width">Close button width: </label></td>
2267
+ <td>
2268
+ <input type="text" name="lightbox_close_btn_width" id="lightbox_close_btn_width" value="<?php echo $row->lightbox_close_btn_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2269
+ </td>
2270
+ </tr>
2271
+ <tr id="lightbox_close6">
2272
+ <td class="spider_label"><label for="lightbox_close_btn_height">Close button height: </label></td>
2273
+ <td>
2274
+ <input type="text" name="lightbox_close_btn_height" id="lightbox_close_btn_height" value="<?php echo $row->lightbox_close_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2275
+ </td>
2276
+ </tr>
2277
+ <tr id="lightbox_close7">
2278
+ <td class="spider_label"><label for="lightbox_close_btn_top">Close button top: </label></td>
2279
+ <td>
2280
+ <input type="text" name="lightbox_close_btn_top" id="lightbox_close_btn_top" value="<?php echo $row->lightbox_close_btn_top; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2281
+ </td>
2282
+ </tr>
2283
+ <tr id="lightbox_close8">
2284
+ <td class="spider_label"><label for="lightbox_close_btn_right">Close button right: </label></td>
2285
+ <td>
2286
+ <input type="text" name="lightbox_close_btn_right" id="lightbox_close_btn_right" value="<?php echo $row->lightbox_close_btn_right; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2287
+ </td>
2288
+ </tr>
2289
+ <tr id="lightbox_close4">
2290
+ <td class="spider_label"><label for="lightbox_close_btn_size">Close button size: </label></td>
2291
+ <td>
2292
+ <input type="text" name="lightbox_close_btn_size" id="lightbox_close_btn_size" value="<?php echo $row->lightbox_close_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2293
+ </td>
2294
+ </tr>
2295
+ <tr id="lightbox_close14">
2296
+ <td class="spider_label"><label for="lightbox_close_btn_color">Close button color: </label></td>
2297
+ <td>
2298
+ <input type="text" name="lightbox_close_btn_color" id="lightbox_close_btn_color" value="<?php echo $row->lightbox_close_btn_color; ?>" class="color"/>
2299
+ </td>
2300
+ </tr>
2301
+ <tr id="lightbox_close10">
2302
+ <td class="spider_label"><label for="lightbox_close_btn_full_color">Fullscreen close button color: </label></td>
2303
+ <td>
2304
+ <input type="text" name="lightbox_close_btn_full_color" id="lightbox_close_btn_full_color" value="<?php echo $row->lightbox_close_btn_full_color; ?>" class="color"/>
2305
+ </td>
2306
+ </tr>
2307
+ <tr id="lightbox_comment24">
2308
+ <td class="spider_label"><label for="lightbox_comment_share_button_color">Share buttons color: </label></td>
2309
+ <td>
2310
+ <input type="text" name="lightbox_comment_share_button_color" id="lightbox_comment_share_button_color" value="<?php echo $row->lightbox_comment_share_button_color; ?>" class="color" />
2311
+ </td>
2312
+ </tr>
2313
+ </tbody>
2314
+ </table>
2315
+ </fieldset>
2316
+ <fieldset class="spider_child_fieldset" id="Lightbox_2">
2317
+ <table style="clear:both;">
2318
+ <tbody>
2319
+ <tr id="lightbox_right_left11">
2320
+ <td class="spider_label"><label for="lightbox_rl_btn_style">Right, left buttons style: </label></td>
2321
+ <td>
2322
+ <select name="lightbox_rl_btn_style" id="lightbox_rl_btn_style" class="spider_int_input">
2323
+ <?php
2324
+ foreach ($button_styles as $key => $button_style) {
2325
+ ?>
2326
+ <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_rl_btn_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $button_style; ?></option>
2327
+ <?php
2328
+ }
2329
+ ?>
2330
+ </select>
2331
+ </td>
2332
+ </tr>
2333
+ <tr id="lightbox_right_left7">
2334
+ <td class="spider_label"><label for="lightbox_rl_btn_bg_color">Right, left buttons background color: </label></td>
2335
+ <td>
2336
+ <input type="text" name="lightbox_rl_btn_bg_color" id="lightbox_rl_btn_bg_color" value="<?php echo $row->lightbox_rl_btn_bg_color; ?>" class="color"/>
2337
+ </td>
2338
+ </tr>
2339
+ <tr>
2340
+ <td class="spider_label"><label for="lightbox_rl_btn_transparent">Right, left buttons transparency: </label></td>
2341
+ <td>
2342
+ <input type="text" name="lightbox_rl_btn_transparent" id="lightbox_rl_btn_transparent" value="<?php echo $row->lightbox_rl_btn_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
2343
+ </td>
2344
+ </tr>
2345
+ <tr id="lightbox_right_left3">
2346
+ <td class="spider_label"><label for="lightbox_rl_btn_box_shadow">Right, left buttons box shadow: </label></td>
2347
+ <td>
2348
+ <input type="text" name="lightbox_rl_btn_box_shadow" id="lightbox_rl_btn_box_shadow" value="<?php echo $row->lightbox_rl_btn_box_shadow; ?>" class="spider_box_input"/>
2349
+ <div class="spider_description">Use CSS type values.</div>
2350
+ </td>
2351
+ </tr>
2352
+ <tr id="lightbox_right_left4">
2353
+ <td class="spider_label"><label for="lightbox_rl_btn_height">Right, left buttons height: </label></td>
2354
+ <td>
2355
+ <input type="text" name="lightbox_rl_btn_height" id="lightbox_rl_btn_height" value="<?php echo $row->lightbox_rl_btn_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2356
+ </td>
2357
+ </tr>
2358
+ <tr id="lightbox_right_left5">
2359
+ <td class="spider_label"><label for="lightbox_rl_btn_width">Right, left buttons width: </label></td>
2360
+ <td>
2361
+ <input type="text" name="lightbox_rl_btn_width" id="lightbox_rl_btn_width" value="<?php echo $row->lightbox_rl_btn_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2362
+ </td>
2363
+ </tr>
2364
+ <tr id="lightbox_right_left6">
2365
+ <td class="spider_label"><label for="lightbox_rl_btn_size">Right, left buttons size: </label></td>
2366
+ <td>
2367
+ <input type="text" name="lightbox_rl_btn_size" id="lightbox_rl_btn_size" value="<?php echo $row->lightbox_rl_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2368
+ </td>
2369
+ </tr>
2370
+ <tr id="lightbox_close15">
2371
+ <td class="spider_label"><label for="lightbox_close_rl_btn_hover_color">Right, left, close buttons hover color: </label></td>
2372
+ <td>
2373
+ <input type="text" name="lightbox_close_rl_btn_hover_color" id="lightbox_close_rl_btn_hover_color" value="<?php echo $row->lightbox_close_rl_btn_hover_color; ?>" class="color" />
2374
+ </td>
2375
+ </tr>
2376
+ <tr id="lightbox_right_left10">
2377
+ <td class="spider_label"><label for="lightbox_rl_btn_color">Right, left buttons color: </label></td>
2378
+ <td>
2379
+ <input type="text" name="lightbox_rl_btn_color" id="lightbox_rl_btn_color" value="<?php echo $row->lightbox_rl_btn_color; ?>" class="color"/>
2380
+ </td>
2381
+ </tr>
2382
+ <tr id="lightbox_right_left1">
2383
+ <td class="spider_label"><label for="lightbox_rl_btn_border_radius">Right, left buttons border radius: </label></td>
2384
+ <td>
2385
+ <input type="text" name="lightbox_rl_btn_border_radius" id="lightbox_rl_btn_border_radius" value="<?php echo $row->lightbox_rl_btn_border_radius; ?>" class="spider_char_input"/>
2386
+ <div class="spider_description">Use CSS type values.</div>
2387
+ </td>
2388
+ </tr>
2389
+ <tr id="lightbox_right_left2">
2390
+ <td class="spider_label"><label for="lightbox_rl_btn_border_width">Right, left buttons border width: </label></td>
2391
+ <td>
2392
+ <input type="text" name="lightbox_rl_btn_border_width" id="lightbox_rl_btn_border_width" value="<?php echo $row->lightbox_rl_btn_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2393
+ </td>
2394
+ </tr>
2395
+ <tr id="lightbox_right_left8">
2396
+ <td class="spider_label"><label for="lightbox_rl_btn_border_style">Right, left buttons border style: </label></td>
2397
+ <td>
2398
+ <select name="lightbox_rl_btn_border_style" id="lightbox_rl_btn_border_style">
2399
+ <?php
2400
+ foreach ($border_styles as $key => $border_style) {
2401
+ ?>
2402
+ <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_rl_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
2403
+ <?php
2404
+ }
2405
+ ?>
2406
+ </select>
2407
+ </td>
2408
+ </tr>
2409
+ <tr id="lightbox_right_left9">
2410
+ <td class="spider_label"><label for="lightbox_rl_btn_border_color">Right, left buttons border color: </label></td>
2411
+ <td>
2412
+ <input type="text" name="lightbox_rl_btn_border_color" id="lightbox_rl_btn_border_color" value="<?php echo $row->lightbox_rl_btn_border_color; ?>" class="color"/>
2413
+ </td>
2414
+ </tr>
2415
+ <tr id="lightbox_filmstrip12">
2416
+ <td class="spider_label"><label for="lightbox_filmstrip_pos1">Filmstrip position: </label></td>
2417
+ <td>
2418
+ <input type="radio" name="lightbox_filmstrip_pos" id="lightbox_filmstrip_pos1" value="top" <?php if ($row->lightbox_filmstrip_pos == "top") echo 'checked="checked"'; ?> />
2419
+ <label for="lightbox_filmstrip_pos1" id="lightbox_filmstrip_pos1_lbl">Top</label>
2420
+ <input type="radio" name="lightbox_filmstrip_pos" id="lightbox_filmstrip_pos0" value="bottom" <?php if ($row->lightbox_filmstrip_pos == "bottom") echo 'checked="checked"'; ?> />
2421
+ <label for="lightbox_filmstrip_pos0" id="lightbox_filmstrip_pos0_lbl">Bottom</label>
2422
+ </td>
2423
+ </tr>
2424
+ <tr id="lightbox_filmstrip2">
2425
+ <td class="spider_label"><label for="lightbox_filmstrip_thumb_margin">Filmstrip thumbnail margin: </label></td>
2426
+ <td>
2427
+ <input type="text" name="lightbox_filmstrip_thumb_margin" id="lightbox_filmstrip_thumb_margin" value="<?php echo $row->lightbox_filmstrip_thumb_margin; ?>" class="spider_char_input"/>
2428
+ <div class="spider_description">Use CSS type values.</div>
2429
+ </td>
2430
+ </tr>
2431
+ <tr id="lightbox_filmstrip3">
2432
+ <td class="spider_label"><label for="lightbox_filmstrip_thumb_border_width">Filmstrip thumbnail border width: </label></td>
2433
+ <td>
2434
+ <input type="text" name="lightbox_filmstrip_thumb_border_width" id="lightbox_filmstrip_thumb_border_width" value="<?php echo $row->lightbox_filmstrip_thumb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2435
+ </td>
2436
+ </tr>
2437
+ <tr id="lightbox_filmstrip9">
2438
+ <td class="spider_label"><label for="lightbox_filmstrip_thumb_border_style">Filmstrip thumbnail border style: </label></td>
2439
+ <td>
2440
+ <select name="lightbox_filmstrip_thumb_border_style" id="lightbox_filmstrip_thumb_border_style">
2441
+ <?php
2442
+ foreach ($border_styles as $key => $border_style) {
2443
+ ?>
2444
+ <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_filmstrip_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
2445
+ <?php
2446
+ }
2447
+ ?>
2448
+ </select>
2449
+ </td>
2450
+ </tr>
2451
+ <tr id="lightbox_filmstrip10">
2452
+ <td class="spider_label"><label for="lightbox_filmstrip_thumb_border_color">Filmstrip thumbnail border color: </label></td>
2453
+ <td>
2454
+ <input type="text" name="lightbox_filmstrip_thumb_border_color" id="lightbox_filmstrip_thumb_border_color" value="<?php echo $row->lightbox_filmstrip_thumb_border_color; ?>" class="color" />
2455
+ </td>
2456
+ </tr>
2457
+ <tr id="lightbox_filmstrip4">
2458
+ <td class="spider_label"><label for="lightbox_filmstrip_thumb_border_radius">Filmstrip thumbnail border radius: </label></td>
2459
+ <td>
2460
+ <input type="text" name="lightbox_filmstrip_thumb_border_radius" id="lightbox_filmstrip_thumb_border_radius" value="<?php echo $row->lightbox_filmstrip_thumb_border_radius; ?>" class="spider_char_input"/>
2461
+ <div class="spider_description">Use CSS type values.</div>
2462
+ </td>
2463
+ </tr>
2464
+ <tr id="lightbox_filmstrip6">
2465
+ <td class="spider_label"><label for="lightbox_filmstrip_thumb_active_border_width">Filmstrip thumbnail active border width: </label></td>
2466
+ <td>
2467
+ <input type="text" name="lightbox_filmstrip_thumb_active_border_width" id="lightbox_filmstrip_thumb_active_border_width" value="<?php echo $row->lightbox_filmstrip_thumb_active_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2468
+ </td>
2469
+ </tr>
2470
+ <tr id="lightbox_filmstrip11">
2471
+ <td class="spider_label"> <label for="lightbox_filmstrip_thumb_active_border_color">Filmstrip thumbnail active border color:</label></td>
2472
+ <td>
2473
+ <input type="text" name="lightbox_filmstrip_thumb_active_border_color" id="lightbox_filmstrip_thumb_active_border_color" value="<?php echo $row->lightbox_filmstrip_thumb_active_border_color; ?>" class="color"/>
2474
+ </td>
2475
+ </tr>
2476
+ <tr id="lightbox_filmstrip5">
2477
+ <td class="spider_label"><label for="lightbox_filmstrip_thumb_deactive_transparent">Filmstrip thumbnail deactive transparency: </label></td>
2478
+ <td>
2479
+ <input type="text" name="lightbox_filmstrip_thumb_deactive_transparent" id="lightbox_filmstrip_thumb_deactive_transparent" value="<?php echo $row->lightbox_filmstrip_thumb_deactive_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
2480
+ <div class="spider_description">Value must be between 0 to 100.</div>
2481
+ </td>
2482
+ </tr>
2483
+ <tr id="lightbox_filmstrip1">
2484
+ <td class="spider_label"><label for="lightbox_filmstrip_rl_btn_size">Filmstrip right, left buttons size: </label></td>
2485
+ <td>
2486
+ <input type="text" name="lightbox_filmstrip_rl_btn_size" id="lightbox_filmstrip_rl_btn_size" value="<?php echo $row->lightbox_filmstrip_rl_btn_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2487
+ </td>
2488
+ </tr>
2489
+ <tr id="lightbox_filmstrip7">
2490
+ <td class="spider_label"><label for="lightbox_filmstrip_rl_btn_color">Filmstrip right, left buttons color: </label></td>
2491
+ <td>
2492
+ <input type="text" name="lightbox_filmstrip_rl_btn_color" id="lightbox_filmstrip_rl_btn_color" value="<?php echo $row->lightbox_filmstrip_rl_btn_color; ?>" class="color"/>
2493
+ </td>
2494
+ </tr>
2495
+ <tr id="lightbox_filmstrip8">
2496
+ <td class="spider_label"><label for="lightbox_filmstrip_rl_bg_color">Filmstrip right, left button background color:</label></td>
2497
+ <td>
2498
+ <input type="text" name="lightbox_filmstrip_rl_bg_color" id="lightbox_filmstrip_rl_bg_color" value="<?php echo $row->lightbox_filmstrip_rl_bg_color; ?>" class="color"/>
2499
+ </td>
2500
+ </tr>
2501
+ </tbody>
2502
+ </table>
2503
+ </fieldset>
2504
+ <fieldset class="spider_child_fieldset" id="Lightbox_3">
2505
+ <table style="clear:both;">
2506
+ <tbody>
2507
+ <tr id="lightbox_comment1">
2508
+ <td class="spider_label"><label for="lightbox_comment_width">Comments Width: </label></td>
2509
+ <td>
2510
+ <input type="text" name="lightbox_comment_width" id="lightbox_comment_width" value="<?php echo $row->lightbox_comment_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2511
+ </td>
2512
+ </tr>
2513
+ <tr id="lightbox_comment25">
2514
+ <td class="spider_label"><label for="lightbox_comment_pos1">Comments position: </label></td>
2515
+ <td>
2516
+ <input type="radio" name="lightbox_comment_pos" id="lightbox_comment_pos1" value="left"<?php if ($row->lightbox_comment_pos == "left") echo 'checked="checked"'; ?> />
2517
+ <label for="lightbox_comment_pos1" id="lightbox_comment_pos1_lbl">Left</label>
2518
+ <input type="radio" name="lightbox_comment_pos" id="lightbox_comment_pos0" value="right"<?php if ($row->lightbox_comment_pos == "right") echo 'checked="checked"'; ?> />
2519
+ <label for="lightbox_comment_pos0" id="lightbox_comment_pos0_lbl">Right</label>
2520
+ </td>
2521
+ </tr>
2522
+ <tr id="lightbox_comment13">
2523
+ <td class="spider_label"><label for="lightbox_comment_bg_color">Comments background color: </label></td>
2524
+ <td>
2525
+ <input type="text" name="lightbox_comment_bg_color" id="lightbox_comment_bg_color" value="<?php echo $row->lightbox_comment_bg_color; ?>" class="color"/>
2526
+ </td>
2527
+ </tr>
2528
+ <tr id="lightbox_comment2">
2529
+ <td class="spider_label"><label for="lightbox_comment_font_size">Comments font size: </label></td>
2530
+ <td>
2531
+ <input type="text" name="lightbox_comment_font_size" id="lightbox_comment_font_size" value="<?php echo $row->lightbox_comment_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2532
+ </td>
2533
+ </tr>
2534
+ <tr id="lightbox_comment14">
2535
+ <td class="spider_label"><label for="lightbox_comment_font_color">Comments font color:</label></td>
2536
+ <td>
2537
+ <input type="text" name="lightbox_comment_font_color" id="lightbox_comment_font_color" value="<?php echo $row->lightbox_comment_font_color; ?>" class="color"/>
2538
+ </td>
2539
+ </tr>
2540
+ <tr id="lightbox_comment15">
2541
+ <td class="spider_label"><label for="lightbox_comment_font_style">Comments font family: </label></td>
2542
+ <td>
2543
+ <select name="lightbox_comment_font_style" id="lightbox_comment_font_style">
2544
+ <?php
2545
+ foreach ($font_families as $key => $font_family) {
2546
+ ?>
2547
+ <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_comment_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
2548
+ <?php
2549
+ }
2550
+ ?>
2551
+ </select>
2552
+ </td>
2553
+ </tr>
2554
+ <tr id="lightbox_comment10">
2555
+ <td class="spider_label"><label for="lightbox_comment_author_font_size">Comments author font size: </label>
2556
+ </td>
2557
+ <td>
2558
+ <input type="text" name="lightbox_comment_author_font_size" id="lightbox_comment_author_font_size" value="<?php echo $row->lightbox_comment_author_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2559
+ </td>
2560
+ </tr>
2561
+ <tr id="lightbox_comment11">
2562
+ <td class="spider_label"><label for="lightbox_comment_date_font_size">Comments date font size: </label></td>
2563
+ <td>
2564
+ <input type="text" name="lightbox_comment_date_font_size" id="lightbox_comment_date_font_size" value="<?php echo $row->lightbox_comment_date_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2565
+ </td>
2566
+ </tr>
2567
+ <tr id="lightbox_comment12">
2568
+ <td class="spider_label"><label for="lightbox_comment_body_font_size">Comments body font size: </label></td>
2569
+ <td>
2570
+ <input type="text" name="lightbox_comment_body_font_size" id="lightbox_comment_body_font_size" value="<?php echo $row->lightbox_comment_body_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2571
+ </td>
2572
+ </tr>
2573
+ <tr id="lightbox_comment6">
2574
+ <td class="spider_label"><label for="lightbox_comment_input_border_width">Comment input border width: </label></td>
2575
+ <td>
2576
+ <input type="text" name="lightbox_comment_input_border_width" id="lightbox_comment_input_border_width" value="<?php echo $row->lightbox_comment_input_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2577
+ </td>
2578
+ </tr>
2579
+ <tr id="lightbox_comment21">
2580
+ <td class="spider_label"><label for="lightbox_comment_input_border_style">Comment input border style: </label></td>
2581
+ <td>
2582
+ <select name="lightbox_comment_input_border_style" id="lightbox_comment_input_border_style">
2583
+ <?php
2584
+ foreach ($border_styles as $key => $border_style) {
2585
+ ?>
2586
+ <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_comment_input_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
2587
+ <?php
2588
+ }
2589
+ ?>
2590
+ </select>
2591
+ </td>
2592
+ </tr>
2593
+ <tr id="lightbox_comment20">
2594
+ <td class="spider_label"><label for="lightbox_comment_input_border_color">Comment input border color: </label></td>
2595
+ <td>
2596
+ <input type="text" name="lightbox_comment_input_border_color" id="lightbox_comment_input_border_color" value="<?php echo $row->lightbox_comment_input_border_color; ?>" class="color"/>
2597
+ </td>
2598
+ </tr>
2599
+ <tr id="lightbox_comment7">
2600
+ <td class="spider_label"><label for="lightbox_comment_input_border_radius">Comment input border radius: </label></td>
2601
+ <td>
2602
+ <input type="text" name="lightbox_comment_input_border_radius" id="lightbox_comment_input_border_radius" value="<?php echo $row->lightbox_comment_input_border_radius; ?>" class="spider_char_input"/>
2603
+ </td>
2604
+ </tr>
2605
+ <tr id="lightbox_comment8">
2606
+ <td class="spider_label"><label for="lightbox_comment_input_padding">Comment input padding: </label></td>
2607
+ <td>
2608
+ <input type="text" name="lightbox_comment_input_padding" id="lightbox_comment_input_padding" value="<?php echo $row->lightbox_comment_input_padding; ?>" class="spider_char_input"/>
2609
+ <div class="spider_description">Use CSS type values.</div>
2610
+ </td>
2611
+ </tr>
2612
+ <tr id="lightbox_comment19">
2613
+ <td class="spider_label"><label for="lightbox_comment_input_bg_color">Comment input background color: </label></td>
2614
+ <td>
2615
+ <input type="text" name="lightbox_comment_input_bg_color" id="lightbox_comment_input_bg_color" value="<?php echo $row->lightbox_comment_input_bg_color; ?>" class="color"/>
2616
+ </td>
2617
+ </tr>
2618
+ <tr id="lightbox_comment16">
2619
+ <td class="spider_label"><label for="lightbox_comment_button_bg_color">Comment button background color: </label></td>
2620
+ <td>
2621
+ <input type="text" name="lightbox_comment_button_bg_color" id="lightbox_comment_button_bg_color" value="<?php echo $row->lightbox_comment_button_bg_color; ?>" class="color"/>
2622
+ </td>
2623
+ </tr>
2624
+ <tr id="lightbox_comment5">
2625
+ <td class="spider_label"><label for="lightbox_comment_button_padding">Comment button padding: </label></td>
2626
+ <td>
2627
+ <input type="text" name="lightbox_comment_button_padding" id="lightbox_comment_button_padding" value="<?php echo $row->lightbox_comment_button_padding; ?>" class="spider_char_input"/>
2628
+ <div class="spider_description">Use CSS type values.</div>
2629
+ </td>
2630
+ </tr>
2631
+ <tr id="lightbox_comment3">
2632
+ <td class="spider_label"><label for="lightbox_comment_button_border_width">Comment button border width: </label></td>
2633
+ <td>
2634
+ <input type="text" name="lightbox_comment_button_border_width" id="lightbox_comment_button_border_width" value="<?php echo $row->lightbox_comment_button_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2635
+ </td>
2636
+ </tr>
2637
+ <tr id="lightbox_comment18">
2638
+ <td class="spider_label"><label for="lightbox_comment_button_border_style">Comment button border style: </label></td>
2639
+ <td>
2640
+ <select name="lightbox_comment_button_border_style" id="lightbox_comment_button_border_style">
2641
+ <?php
2642
+ foreach ($border_styles as $key => $border_style) {
2643
+ ?>
2644
+ <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_comment_button_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
2645
+ <?php
2646
+ }
2647
+ ?>
2648
+ </select>
2649
+ </td>
2650
+ </tr>
2651
+ <tr id="lightbox_comment17">
2652
+ <td class="spider_label"><label for="lightbox_comment_button_border_color">Comment button border color: </label></td>
2653
+ <td>
2654
+ <input type="text" name="lightbox_comment_button_border_color" id="lightbox_comment_button_border_color" value="<?php echo $row->lightbox_comment_button_border_color; ?>" class="color"/>
2655
+ </td>
2656
+ </tr>
2657
+ <tr id="lightbox_comment4">
2658
+ <td class="spider_label"><label for="lightbox_comment_button_border_radius">Comment button border radius: </label></td>
2659
+ <td>
2660
+ <input type="text" name="lightbox_comment_button_border_radius" id="lightbox_comment_button_border_radius" value="<?php echo $row->lightbox_comment_button_border_radius; ?>" class="spider_char_input" />
2661
+ <div class="spider_description">Use CSS type values.</div>
2662
+ </td>
2663
+ </tr>
2664
+ <tr id="lightbox_comment9">
2665
+ <td class="spider_label"><label for="lightbox_comment_separator_width">Comment separator width: </label></td>
2666
+ <td>
2667
+ <input type="text" name="lightbox_comment_separator_width" id="lightbox_comment_separator_width" value="<?php echo $row->lightbox_comment_separator_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2668
+ </td>
2669
+ </tr>
2670
+ <tr id="lightbox_comment22">
2671
+ <td class="spider_label"><label for="lightbox_comment_separator_style">Comment separator style: </label></td>
2672
+ <td>
2673
+ <select name="lightbox_comment_separator_style" id="lightbox_comment_separator_style">
2674
+ <?php
2675
+ foreach ($border_styles as $key => $border_style) {
2676
+ ?>
2677
+ <option value="<?php echo $key; ?>" <?php echo (($row->lightbox_comment_separator_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
2678
+ <?php
2679
+ }
2680
+ ?>
2681
+ </select>
2682
+ </td>
2683
+ </tr>
2684
+ <tr id="lightbox_comment23">
2685
+ <td class="spider_label"><label for="lightbox_comment_separator_color">Comment separator color: </label></td>
2686
+ <td>
2687
+ <input type="text" name="lightbox_comment_separator_color" id="lightbox_comment_separator_color" value="<?php echo $row->lightbox_comment_separator_color; ?>" class="color"/>
2688
+ </td>
2689
+ </tr>
2690
+ </tbody>
2691
+ </table>
2692
+ </fieldset>
2693
+ </fieldset>
2694
+
2695
+ <fieldset class="spider_type_fieldset" id="Navigation">
2696
+ <fieldset class="spider_child_fieldset" id="Navigation_1">
2697
+ <table style="clear:both;">
2698
+ <tbody>
2699
+ <tr>
2700
+ <td class="spider_label"><label for="page_nav_font_size">Font size: </label></td>
2701
+ <td>
2702
+ <input type="text" name="page_nav_font_size" id="page_nav_font_size" value="<?php echo $row->page_nav_font_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2703
+ </td>
2704
+ </tr>
2705
+ <tr>
2706
+ <td class="spider_label"><label for="page_nav_font_color">Font color: </label></td>
2707
+ <td>
2708
+ <input type="text" name="page_nav_font_color" id="page_nav_font_color" value="<?php echo $row->page_nav_font_color; ?>" class="color"/>
2709
+ </td>
2710
+ </tr>
2711
+ <tr>
2712
+ <td class="spider_label"><label for="page_nav_font_style">Font family: </label></td>
2713
+ <td>
2714
+ <select name="page_nav_font_style" id="page_nav_font_style">
2715
+ <?php
2716
+ foreach ($font_families as $key => $font_family) {
2717
+ ?>
2718
+ <option value="<?php echo $key; ?>" <?php echo (($row->page_nav_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
2719
+ <?php
2720
+ }
2721
+ ?>
2722
+ </select>
2723
+ </td>
2724
+ </tr>
2725
+ <tr>
2726
+ <td class="spider_label"><label for="page_nav_font_weight">Font weight: </label></td>
2727
+ <td>
2728
+ <select name="page_nav_font_weight" id="page_nav_font_weight">
2729
+ <?php
2730
+ foreach ($font_weights as $key => $font_weight) {
2731
+ ?>
2732
+ <option value="<?php echo $key; ?>" <?php echo (($row->page_nav_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
2733
+ <?php
2734
+ }
2735
+ ?>
2736
+ </select>
2737
+ </td>
2738
+ </tr>
2739
+ <tr>
2740
+ <td class="spider_label"><label for="page_nav_border_width">Border width: </label></td>
2741
+ <td>
2742
+ <input type="text" name="page_nav_border_width" id="page_nav_border_width" value="<?php echo $row->page_nav_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2743
+ </td>
2744
+ </tr>
2745
+ <tr>
2746
+ <td class="spider_label"><label for="page_nav_border_style">Border style: </label></td>
2747
+ <td>
2748
+ <select name="page_nav_border_style" id="page_nav_border_style">
2749
+ <?php
2750
+ foreach ($border_styles as $key => $border_style) {
2751
+ ?>
2752
+ <option value="<?php echo $key; ?>" <?php echo (($row->page_nav_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
2753
+ <?php
2754
+ }
2755
+ ?>
2756
+ </select>
2757
+ </td>
2758
+ </tr>
2759
+ <tr>
2760
+ <td class="spider_label"><label for="page_nav_border_color">Border color:</label></td>
2761
+ <td>
2762
+ <input type="text" name="page_nav_border_color" id="page_nav_border_color" value="<?php echo $row->page_nav_border_color; ?>" class="color"/>
2763
+ </td>
2764
+ </tr>
2765
+ <tr>
2766
+ <td class="spider_label"><label for="page_nav_border_radius">Border radius: </label></td>
2767
+ <td>
2768
+ <input type="text" name="page_nav_border_radius" id="page_nav_border_radius" value="<?php echo $row->page_nav_border_radius; ?>" class="spider_char_input"/>
2769
+ <div class="spider_description">Use CSS type values.</div>
2770
+ </td>
2771
+ </tr>
2772
+ </tbody>
2773
+ </table>
2774
+ </fieldset>
2775
+ <fieldset class="spider_child_fieldset" id="Navigation_2" style="display:block">
2776
+ <table style="clear:both;">
2777
+ <tbody>
2778
+ <tr>
2779
+ <td class="spider_label"><label for="page_nav_margin">Margin: </label></td>
2780
+ <td>
2781
+ <input type="text" name="page_nav_margin" id="page_nav_margin" value="<?php echo $row->page_nav_margin; ?>" class="spider_char_input"/>
2782
+ <div class="spider_description">Use CSS type values.</div>
2783
+ </td>
2784
+ </tr>
2785
+ <tr>
2786
+ <td class="spider_label"><label for="page_nav_padding">Padding: </label></td>
2787
+ <td>
2788
+ <input type="text" name="page_nav_padding" id="page_nav_padding" value="<?php echo $row->page_nav_padding; ?>" class="spider_char_input"/>
2789
+ <div class="spider_description">Use CSS type values.</div>
2790
+ </td>
2791
+ </tr>
2792
+ <tr>
2793
+ <td class="spider_label"><label for="page_nav_button_bg_color">Button background color: </label></td>
2794
+ <td>
2795
+ <input type="text" name="page_nav_button_bg_color" id="page_nav_button_bg_color" value="<?php echo $row->page_nav_button_bg_color; ?>" class="color" />
2796
+ </td>
2797
+ </tr>
2798
+ <tr>
2799
+ <td class="spider_label"><label for="page_nav_button_bg_transparent">Button background transparency: </label></td>
2800
+ <td>
2801
+ <input type="text" name="page_nav_button_bg_transparent" id="page_nav_button_bg_transparent" value="<?php echo $row->page_nav_button_bg_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
2802
+ <div class="spider_description">Value must be between 0 to 100.</div>
2803
+ </td>
2804
+ </tr>
2805
+ <tr>
2806
+ <td class="spider_label"><label for="page_nav_button_transition1">Button transition: </label></td>
2807
+ <td>
2808
+ <input type="radio" name="page_nav_button_transition" id="page_nav_button_transition1" value="1"<?php if ($row->page_nav_button_transition == 1) echo 'checked="checked"'; ?> />
2809
+ <label for="page_nav_button_transition1" id="page_nav_button_transition1_lbl">Yes</label>
2810
+ <input type="radio" name="page_nav_button_transition" id="page_nav_button_transition0" value="0"<?php if ($row->page_nav_button_transition == 0) echo 'checked="checked"'; ?> />
2811
+ <label for="page_nav_button_transition0" id="page_nav_button_transition0_lbl">No</label>
2812
+ </td>
2813
+ </tr>
2814
+ <tr>
2815
+ <td class="spider_label"><label for="page_nav_box_shadow">Box shadow: </label></td>
2816
+ <td>
2817
+ <input type="text" name="page_nav_box_shadow" id="page_nav_box_shadow" value="<?php echo $row->page_nav_box_shadow; ?>" class="spider_box_input"/>
2818
+ <div class="spider_description">Use CSS type values.</div>
2819
+ </td>
2820
+ </tr>
2821
+ </tbody>
2822
+ </table>
2823
+ </fieldset>
2824
+ <fieldset class="spider_child_fieldset" id="Navigation_3">
2825
+ <table style="clear:both;">
2826
+ <tbody>
2827
+ <tr>
2828
+ <td class="spider_label"><label for="page_nav_position1">Position: </label></td>
2829
+ <td id="page_nav_position">
2830
+ <input type="radio" name="page_nav_position" id="page_nav_position1" value="top"<?php if ($row->page_nav_position == "top") echo 'checked="checked"'; ?> />
2831
+ <label for="page_nav_position1" id="page_nav_position1_lbl">Top</label>
2832
+ <input type="radio" name="page_nav_position" id="page_nav_position0" value="bottom"<?php if ($row->page_nav_position == "bottom") echo 'checked="checked"'; ?> />
2833
+ <label for="page_nav_position0" id="page_nav_position0_lbl">Bottom</label>
2834
+ </td>
2835
+ </tr>
2836
+ <tr>
2837
+ <td class="spider_label"><label for="page_nav_align0">Alignment: </label></td>
2838
+ <td>
2839
+ <select name="page_nav_align" id="page_nav_align">
2840
+ <?php
2841
+ foreach ($aligns as $key => $align) {
2842
+ ?>
2843
+ <option value="<?php echo $key; ?>" <?php echo (($row->page_nav_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
2844
+ <?php
2845
+ }
2846
+ ?>
2847
+ </select>
2848
+ </td>
2849
+ </tr>
2850
+ <tr>
2851
+ <td class="spider_label"><label for="page_nav_number1">Numbering: </label></td>
2852
+ <td>
2853
+ <input type="radio" name="page_nav_number" id="page_nav_number1" value="1"<?php if ($row->page_nav_number == 1) echo 'checked="checked"'; ?> />
2854
+ <label for="page_nav_number1" id="page_nav_number1_lbl">Yes</label>
2855
+ <input type="radio" name="page_nav_number" id="page_nav_number0" value="0"<?php if ($row->page_nav_number == 0) echo 'checked="checked"'; ?> />
2856
+ <label for="page_nav_number0" id="page_nav_number0_lbl">No</label>
2857
+ </td>
2858
+ </tr>
2859
+ <tr>
2860
+ <td class="spider_label"><label for="page_nav_button_text1">Button text: </label></td>
2861
+ <td>
2862
+ <input type="radio" name="page_nav_button_text" id="page_nav_button_text1" value="1"<?php if ($row->page_nav_button_text == 1) echo 'checked="checked"'; ?> />
2863
+ <label for="page_nav_button_text1" id="page_nav_button_text1_lbl">Text</label>
2864
+ <input type="radio" name="page_nav_button_text" id="page_nav_button_text0" value="0"<?php if ($row->page_nav_button_text == 0) echo 'checked="checked"'; ?> />
2865
+ <label for="page_nav_button_text0" id="page_nav_button_text0_lbl">Arrow</label>
2866
+ <div class="spider_description">Next, previous buttons values.</div>
2867
+ </td>
2868
+ </tr>
2869
+ </tbody>
2870
+ </table>
2871
+ </fieldset>
2872
+ </fieldset>
2873
+ </fieldset>
2874
+ <input type="hidden" id="task" name="task" value=""/>
2875
+ <input type="hidden" id="current_id" name="current_id" value="<?php echo $row->id; ?>"/>
2876
+ <input type="hidden" id="default_theme" name="default_theme" value="<?php echo $row->default_theme; ?>"/>
2877
+ <script>
2878
+ window.onload = bwg_change_theme_type('<?php echo $current_type; ?>');
2879
+ </script>
2880
+ </form>
2881
+ <?php
2882
+ }
2883
+
2884
+ ////////////////////////////////////////////////////////////////////////////////////////
2885
+ // Getters & Setters //
2886
+ ////////////////////////////////////////////////////////////////////////////////////////
2887
+ ////////////////////////////////////////////////////////////////////////////////////////
2888
+ // Private Methods //
2889
+ ////////////////////////////////////////////////////////////////////////////////////////
2890
+ ////////////////////////////////////////////////////////////////////////////////////////
2891
+ // Listeners //
2892
+ ////////////////////////////////////////////////////////////////////////////////////////
2893
+ }
admin/views/BWGViewUninstall_bwg.php ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGViewUninstall_bwg {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $model;
14
+
15
+
16
+ ////////////////////////////////////////////////////////////////////////////////////////
17
+ // Constructor & Destructor //
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ public function __construct($model) {
20
+ $this->model = $model;
21
+ }
22
+ ////////////////////////////////////////////////////////////////////////////////////////
23
+ // Public Methods //
24
+ ////////////////////////////////////////////////////////////////////////////////////////
25
+ public function display() {
26
+ global $wpdb;
27
+ $prefix = $wpdb->prefix;
28
+ ?>
29
+ <form method="post" action="admin.php?page=uninstall_bwg" style="width:95%;">
30
+ <?php wp_nonce_field('best_wordpress_gallery uninstall');?>
31
+ <div class="wrap">
32
+ <span class="uninstall_icon"></span>
33
+ <h2>Uninstall Photo Gallery</h2>
34
+ <p>
35
+ Deactivating Photo Gallery plugin does not remove any data that may have been created. To completely remove this plugin, you can uninstall it here.
36
+ </p>
37
+ <p style="color: red;">
38
+ <strong>WARNING:</strong>
39
+ Once uninstalled, this can't be undone. You should use a Database Backup plugin of WordPress to back up all the data first.
40
+ </p>
41
+ <p style="color: red">
42
+ <strong>The following Database Tables will be deleted:</strong>
43
+ </p>
44
+ <table class="widefat">
45
+ <thead>
46
+ <tr>
47
+ <th>Database Tables</th>
48
+ </tr>
49
+ </thead>
50
+ <tr>
51
+ <td valign="top">
52
+ <ol>
53
+ <li><?php echo $prefix; ?>bwg_album</li>
54
+ <li><?php echo $prefix; ?>bwg_album_gallery</li>
55
+ <li><?php echo $prefix; ?>bwg_gallery</li>
56
+ <li><?php echo $prefix; ?>bwg_image</li>
57
+ <li><?php echo $prefix; ?>bwg_image_comment</li>
58
+ <li><?php echo $prefix; ?>bwg_image_tag</li>
59
+ <li><?php echo $prefix; ?>bwg_option</li>
60
+ <li><?php echo $prefix; ?>bwg_theme</li>
61
+ </ol>
62
+ </td>
63
+ </tr>
64
+ </table>
65
+ <p style="text-align: center;">
66
+ Do you really want to uninstall Photo Gallery?
67
+ </p>
68
+ <p style="text-align: center;">
69
+ <input type="checkbox" name="Photo Gallery" id="check_yes" value="yes" />&nbsp;<label for="check_yes">Yes</label>
70
+ </p>
71
+ <p style="text-align: center;">
72
+ <input type="submit" value="UNINSTALL" class="button-primary" onclick="if (check_yes.checked) {
73
+ if (confirm('You are About to Uninstall Photo Gallery from WordPress.\nThis Action Is Not Reversible.')) {
74
+ spider_set_input_value('task', 'uninstall');
75
+ } else {
76
+ return false;
77
+ }
78
+ }
79
+ else {
80
+ return false;
81
+ }" />
82
+ </p>
83
+ </div>
84
+ <input id="task" name="task" type="hidden" value="" />
85
+ </form>
86
+ <?php
87
+ }
88
+
89
+ public function uninstall() {
90
+ $this->model->delete_db_tables();
91
+ global $wpdb;
92
+ $prefix = $wpdb->prefix;
93
+ $deactivate_url = wp_nonce_url('plugins.php?action=deactivate&amp;plugin=photo-gallery/photo-gallery.php', 'deactivate-plugin_photo-gallery/photo-gallery.php');
94
+ ?>
95
+ <div id="message" class="updated fade">
96
+ <p>The following Database Tables succesfully deleted:</p>
97
+ <p><?php echo $prefix; ?>bwg_album,</p>
98
+ <p><?php echo $prefix; ?>bwg_album_gallery,</p>
99
+ <p><?php echo $prefix; ?>bwg_gallery,</p>
100
+ <p><?php echo $prefix; ?>bwg_image,</p>
101
+ <p><?php echo $prefix; ?>bwg_image_comment,</p>
102
+ <p><?php echo $prefix; ?>bwg_image_tag,</p>
103
+ <p><?php echo $prefix; ?>bwg_option,</p>
104
+ <p><?php echo $prefix; ?>bwg_theme.</p>
105
+ </div>
106
+ <div class="wrap">
107
+ <h2>Uninstall Photo Gallery</h2>
108
+ <p><strong><a href="<?php echo $deactivate_url; ?>">Click Here</a> To Finish the Uninstallation and Photo Gallery will be Deactivated Automatically.</strong></p>
109
+ <input id="task" name="task" type="hidden" value="" />
110
+ </div>
111
+ <?php
112
+ }
113
+
114
+ ////////////////////////////////////////////////////////////////////////////////////////
115
+ // Getters & Setters //
116
+ ////////////////////////////////////////////////////////////////////////////////////////
117
+ ////////////////////////////////////////////////////////////////////////////////////////
118
+ // Private Methods //
119
+ ////////////////////////////////////////////////////////////////////////////////////////
120
+ ////////////////////////////////////////////////////////////////////////////////////////
121
+ // Listeners //
122
+ ////////////////////////////////////////////////////////////////////////////////////////
123
+ }
admin/views/BWGViewWidget.php ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGViewWidget extends BWGControllerWidget {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $model;
14
+
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ // Constructor & Destructor //
17
+ ////////////////////////////////////////////////////////////////////////////////////////
18
+ public function __construct($model) {
19
+ $this->model = $model;
20
+ }
21
+ ////////////////////////////////////////////////////////////////////////////////////////
22
+ // Public Methods //
23
+ ////////////////////////////////////////////////////////////////////////////////////////
24
+
25
+ public function display() {
26
+ }
27
+
28
+ function widget($args, $instance) {
29
+ extract($args);
30
+ $title = $instance['title'];
31
+ $type = (isset($instance['type']) ? $instance['type'] : "gallery");
32
+ $gallery_id = (isset($instance['gallery_id']) ? $instance['gallery_id'] : 0);
33
+ $album_id = (isset($instance['album_id']) ? $instance['album_id'] : 0);
34
+ $show = (isset($instance['show']) ? $instance['show'] : "random");
35
+ $count = (isset($instance['count']) ? $instance['count'] : 4);
36
+ $width = (isset($instance['width']) ? $instance['width'] : 100);
37
+ $height = (isset($instance['height']) ? $instance['height'] : 100);
38
+ $theme_id = (isset($instance['theme_id']) ? $instance['theme_id'] : 0);
39
+ // Before widget.
40
+ echo $before_widget;
41
+ // Title of widget.
42
+ if ($title) {
43
+ echo $before_title . $title . $after_title;
44
+ }
45
+ // Widget output.
46
+ if ($id) {
47
+ if ($type == 'gallery') {
48
+ require_once(WD_BWG_DIR . '/frontend/controllers/BWGControllerThumbnails.php');
49
+ $controller_class = 'BWGControllerThumbnails';
50
+ }
51
+ else {
52
+ require_once(WD_BWG_DIR . '/frontend/controllers/BWGControllerAlbum_compact_preview.php');
53
+ $controller_class = 'BWGControllerAlbum_compact_preview';
54
+ }
55
+ $controller = new $controller_class();
56
+ global $bwg;
57
+ $params = array (
58
+ 'from' => 'widget',
59
+ 'gallery_type' => $type,
60
+ 'id' => ($type == 'gallery' ? $gallery_id : $album_id),
61
+ 'show' => $show,
62
+ 'count' => $count,
63
+ 'width' => $width,
64
+ 'height' => $height,
65
+ 'theme_id' => $theme_id);
66
+ $controller->execute($params, 1, $bwg);
67
+ $bwg++;
68
+ }
69
+ // After widget.
70
+ echo $after_widget;
71
+ }
72
+
73
+ // Widget Control Panel.
74
+ function form($instance, $id_title, $name_title, $id_type, $name_type, $id_show, $name_show, $id_gallery_id, $name_gallery_id, $id_album_id, $name_album_id, $id_count, $name_count, $id_width, $name_width, $id_height, $name_height, $id_theme_id, $name_theme_id) {
75
+ $defaults = array(
76
+ 'title' => 'Photo Gallery',
77
+ 'type' => 'gallery',
78
+ 'gallery_id' => 0,
79
+ 'album_id' => 0,
80
+ 'show' => 'random',
81
+ 'count' => 4,
82
+ 'width' => 100,
83
+ 'height' => 100,
84
+ 'theme_id' => 0,
85
+ );
86
+ $instance = wp_parse_args((array) $instance, $defaults);
87
+ $gallery_rows = $this->model->get_gallery_rows_data();
88
+ $album_rows = $this->model->get_album_rows_data();
89
+ $theme_rows = $this->model->get_theme_rows_data();
90
+ ?>
91
+ <script>
92
+ function bwg_change_type(event, obj) {
93
+ var div = jQuery(obj).closest("div");
94
+ if (jQuery(jQuery(div).find(".sel_gallery")[0]).prop("checked")) {
95
+ jQuery(jQuery(div).find("#p_galleries")).css("display", "");
96
+ jQuery(jQuery(div).find("#p_albums")).css("display", "none");
97
+ }
98
+ else {
99
+ jQuery(jQuery(div).find("#p_galleries")).css("display", "none");
100
+ jQuery(jQuery(div).find("#p_albums")).css("display", "");
101
+ }
102
+ }
103
+ </script>
104
+ <p>
105
+ <label for="<?php echo $id_title; ?>">Title:</label>
106
+ <input class="widefat" id="<?php echo $id_title; ?>" name="<?php echo $name_title; ?>'" type="text" value="<?php echo $instance['title']; ?>"/>
107
+ </p>
108
+ <p>
109
+ <input type="radio" name="<?php echo $name_type; ?>" id="<?php echo $id_type . "_1"; ?>" value="gallery" class="sel_gallery" onclick="bwg_change_type(event, this)" <?php if ($instance['type'] == "gallery") echo 'checked="checked"'; ?> /><label for="<?php echo $id_type . "_1"; ?>">Gallery</label>
110
+ <input type="radio" name="<?php echo $name_type; ?>" id="<?php echo $id_type . "_2"; ?>" value="album" class="sel_album" onclick="bwg_change_type(event, this)" <?php if ($instance['type'] == "album") echo 'checked="checked"'; ?> /><label for="<?php echo $id_type . "_2"; ?>">Album</label>
111
+ </p>
112
+ <p id="p_galleries" style="display:<?php echo ($instance['type'] == "gallery") ? "" : "none" ?>;">
113
+ <select name="<?php echo $name_gallery_id; ?>" id="<?php echo $id_gallery_id; ?>" class="widefat">
114
+ <option value="0">Select Gallery</option>
115
+ <?php
116
+ foreach ($gallery_rows as $gallery_row) {
117
+ ?>
118
+ <option value="<?php echo $gallery_row->id; ?>" <?php echo (($instance['gallery_id'] == $gallery_row->id) ? 'selected="selected"' : ''); ?>><?php echo $gallery_row->name; ?></option>
119
+ <?php
120
+ }
121
+ ?>
122
+ </select>
123
+ </p>
124
+ <p id="p_albums" style="display:<?php echo ($instance['type'] == "album") ? "" : "none" ?>;">
125
+ <select name="<?php echo $name_album_id; ?>" id="<?php echo $id_album_id; ?>" class="widefat">
126
+ <option value="0">Select Album</option>
127
+ <?php
128
+ foreach ($album_rows as $album_row) {
129
+ ?>
130
+ <option value="<?php echo $album_row->id; ?>" <?php echo (($instance['album_id'] == $album_row->id) ? 'selected="selected"' : ''); ?>><?php echo $album_row->name; ?></option>
131
+ <?php
132
+ }
133
+ ?>
134
+ </select>
135
+ </p>
136
+ <p>
137
+ <input type="radio" name="<?php echo $name_show; ?>" id="<?php echo $id_show . "_1"; ?>" value="random" onclick="bwg_change_type(event, this)" <?php if ($instance['show'] == "random") echo 'checked="checked"'; ?> /><label for="<?php echo $id_show . "_1"; ?>">Random</label>
138
+ <input type="radio" name="<?php echo $name_show; ?>" id="<?php echo $id_show . "_2"; ?>" value="last" onclick="bwg_change_type(event, this)" <?php if ($instance['show'] == "last") echo 'checked="checked"'; ?> /><label for="<?php echo $id_show . "_2"; ?>">Last</label>
139
+ </p>
140
+ <p>
141
+ <label for="<?php echo $id_count; ?>">Count:</label>
142
+ <input class="widefat" style="width:25%;" id="<?php echo $id_count; ?>" name="<?php echo $name_count; ?>'" type="text" value="<?php echo $instance['count']; ?>"/>
143
+ </p>
144
+ <p>
145
+ <label for="<?php echo $id_width; ?>">Dimensions:</label>
146
+ <input class="widefat" style="width:25%;" id="<?php echo $id_width; ?>" name="<?php echo $name_width; ?>'" type="text" value="<?php echo $instance['width']; ?>"/> x
147
+ <input class="widefat" style="width:25%;" id="<?php echo $id_height; ?>" name="<?php echo $name_height; ?>'" type="text" value="<?php echo $instance['height']; ?>"/> px
148
+ </p>
149
+ <p>
150
+ <select name="<?php echo $name_theme_id; ?>" id="<?php echo $id_theme_id; ?>" class="widefat">
151
+ <?php
152
+ foreach ($theme_rows as $theme_row) {
153
+ ?>
154
+ <option value="<?php echo $theme_row->id; ?>" <?php echo (($instance['theme_id'] == $theme_row->id || $theme_row->default_theme == 1) ? 'selected="selected"' : ''); ?>><?php echo $theme_row->name; ?></option>
155
+ <?php
156
+ }
157
+ ?>
158
+ </select>
159
+ </p>
160
+ <?php
161
+ }
162
+
163
+ ////////////////////////////////////////////////////////////////////////////////////////
164
+ // Getters & Setters //
165
+ ////////////////////////////////////////////////////////////////////////////////////////
166
+ ////////////////////////////////////////////////////////////////////////////////////////
167
+ // Private Methods //
168
+ ////////////////////////////////////////////////////////////////////////////////////////
169
+ ////////////////////////////////////////////////////////////////////////////////////////
170
+ // Listeners //
171
+ ////////////////////////////////////////////////////////////////////////////////////////
172
+ }
admin/views/BWGViewWidgetSlideshow.php ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class BWGViewWidgetSlideshow extends BWGControllerWidgetSlideshow {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $model;
14
+
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ // Constructor & Destructor //
17
+ ////////////////////////////////////////////////////////////////////////////////////////
18
+ public function __construct($model) {
19
+ $this->model = $model;
20
+ }
21
+ ////////////////////////////////////////////////////////////////////////////////////////
22
+ // Public Methods //
23
+ ////////////////////////////////////////////////////////////////////////////////////////
24
+
25
+ public function display() {
26
+ }
27
+
28
+ function widget($args, $instance) {
29
+ extract($args);
30
+ $title = $instance['title'];
31
+ $gallery_id = (isset($instance['gallery_id']) ? $instance['gallery_id'] : 0);
32
+ $width = (isset($instance['width']) ? $instance['width'] : 200);
33
+ $height = (isset($instance['height']) ? $instance['height'] : 200);
34
+ $effect = (isset($instance['effect']) ? $instance['effect'] : "fade");
35
+ $interval = (isset($instance['interval']) ? $instance['interval'] : 5);
36
+ $shuffle = (isset($instance['shuffle']) ? $instance['shuffle'] : 0);
37
+ $theme_id = (isset($instance['theme_id']) ? $instance['theme_id'] : 0);
38
+ // Before widget.
39
+ echo $before_widget;
40
+ // Title of widget.
41
+ if ($title) {
42
+ echo $before_title . $title . $after_title;
43
+ }
44
+ // Widget output.
45
+ if ($id) {
46
+ require_once(WD_BWG_DIR . '/frontend/controllers/BWGControllerSlideshow.php');
47
+ $controller_class = 'BWGControllerSlideshow';
48
+ $controller = new $controller_class();
49
+ global $bwg;
50
+ $params = array (
51
+ 'from' => 'widget',
52
+ 'gallery_type' => 'slideshow',
53
+ 'gallery_id' => $gallery_id,
54
+ 'width' => $width,
55
+ 'height' => $height,
56
+ 'effect' => $effect,
57
+ 'interval' => $interval,
58
+ 'shuffle' => $shuffle,
59
+ 'theme_id' => $theme_id);
60
+ $controller->execute($params, 1, $bwg);
61
+ $bwg++;
62
+ }
63
+ // After widget.
64
+ echo $after_widget;
65
+ }
66
+
67
+ // Widget Control Panel.
68
+ function form($instance, $id_title, $name_title, $id_gallery_id, $name_gallery_id, $id_width, $name_width, $id_height, $name_height, $id_effect, $name_effect, $id_interval, $name_interval, $id_shuffle, $name_shuffle, $id_theme_id, $name_theme_id) {
69
+ $defaults = array(
70
+ 'title' => 'Photo Gallery Slideshow',
71
+ 'gallery_id' => 0,
72
+ 'width' => 200,
73
+ 'height' => 200,
74
+ 'effect' => 'fade',
75
+ 'interval' => 5,
76
+ 'shuffle' => 0,
77
+ 'theme_id' => 0,
78
+ );
79
+ $slideshow_effects = array(
80
+ 'none' => 'None',
81
+ 'cubeH' => 'Cube Horizontal',
82
+ 'fade' => 'Fade',
83
+ 'sliceV' => 'Slice Vertical',
84
+ 'scaleOut' => 'Scale Out',
85
+ 'blindH' => 'Blind Horizontal',
86
+ );
87
+ $instance = wp_parse_args((array) $instance, $defaults);
88
+ $gallery_rows = $this->model->get_gallery_rows_data();
89
+ $theme_rows = $this->model->get_theme_rows_data();
90
+ ?>
91
+ <p>
92
+ <label for="<?php echo $id_title; ?>">Title:</label>
93
+ <input class="widefat" id="<?php echo $id_title; ?>" name="<?php echo $name_title; ?>'" type="text" value="<?php echo $instance['title']; ?>"/>
94
+ </p>
95
+ <p>
96
+ <select name="<?php echo $name_gallery_id; ?>" id="<?php echo $id_gallery_id; ?>" class="widefat">
97
+ <option value="0">Select Gallery</option>
98
+ <?php
99
+ foreach ($gallery_rows as $gallery_row) {
100
+ ?>
101
+ <option value="<?php echo $gallery_row->id; ?>" <?php echo (($instance['gallery_id'] == $gallery_row->id) ? 'selected="selected"' : ''); ?>><?php echo $gallery_row->name; ?></option>
102
+ <?php
103
+ }
104
+ ?>
105
+ </select>
106
+ </p>
107
+ <p>
108
+ <label for="<?php echo $id_width; ?>">Dimensions:</label>
109
+ <input class="widefat" style="width:25%;" id="<?php echo $id_width; ?>" name="<?php echo $name_width; ?>'" type="text" value="<?php echo $instance['width']; ?>"/> x
110
+ <input class="widefat" style="width:25%;" id="<?php echo $id_height; ?>" name="<?php echo $name_height; ?>'" type="text" value="<?php echo $instance['height']; ?>"/> px
111
+ </p>
112
+ <p>
113
+ <label for="<?php echo $id_effect; ?>">Slideshow Effect:</label>
114
+ <select name="<?php echo $name_effect; ?>" id="<?php echo $id_effect; ?>" class="widefat">
115
+ <?php
116
+ foreach ($slideshow_effects as $key => $slideshow_effect) {
117
+ ?>
118
+ <option value="<?php echo $key; ?>" <?php if ($instance['effect'] == $key) echo 'selected="selected"'; ?>><?php echo $slideshow_effect; ?></option>
119
+ <?php
120
+ }
121
+ ?>
122
+ </select>
123
+ </p>
124
+ <p>
125
+ <label for="<?php echo $id_interval; ?>">Time interval:</label>
126
+ <input class="widefat" style="width:25%;" id="<?php echo $id_interval; ?>" name="<?php echo $name_interval; ?>'" type="text" value="<?php echo $instance['interval']; ?>" /> sec.
127
+ </p>
128
+ <p>
129
+ <label>Enable shuffle:</label>
130
+ <input type="radio" name="<?php echo $name_shuffle; ?>" id="<?php echo $id_shuffle . "_1"; ?>" value="1" <?php if ($instance['shuffle']) echo 'checked="checked"'; ?> /><label for="<?php echo $id_shuffle . "_1"; ?>">Yes</label>
131
+ <input type="radio" name="<?php echo $name_shuffle; ?>" id="<?php echo $id_shuffle . "_0"; ?>" value="0" <?php if (!$instance['shuffle']) echo 'checked="checked"'; ?> /><label for="<?php echo $id_shuffle . "_0"; ?>">No</label>
132
+ </p>
133
+ <p>
134
+ <select name="<?php echo $name_theme_id; ?>" id="<?php echo $id_theme_id; ?>" class="widefat">
135
+ <?php
136
+ foreach ($theme_rows as $theme_row) {
137
+ ?>
138
+ <option value="<?php echo $theme_row->id; ?>" <?php echo (($instance['theme_id'] == $theme_row->id || $theme_row->default_theme == 1) ? 'selected="selected"' : ''); ?>><?php echo $theme_row->name; ?></option>
139
+ <?php
140
+ }
141
+ ?>
142
+ </select>
143
+ </p>
144
+ <?php
145
+ }
146
+
147
+ ////////////////////////////////////////////////////////////////////////////////////////
148
+ // Getters & Setters //
149
+ ////////////////////////////////////////////////////////////////////////////////////////
150
+ ////////////////////////////////////////////////////////////////////////////////////////
151
+ // Private Methods //
152
+ ////////////////////////////////////////////////////////////////////////////////////////
153
+ ////////////////////////////////////////////////////////////////////////////////////////
154
+ // Listeners //
155
+ ////////////////////////////////////////////////////////////////////////////////////////
156
+ }
css/bwg_featured_plugins.css ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #main_featured_plugins_page #featured-plugins-list {
2
+ position:relative;
3
+ margin:0px auto;
4
+ width:90%;
5
+ height:auto;
6
+ display:table;
7
+ list-style:none;
8
+ }
9
+
10
+ #main_featured_plugins_page #featured-plugins-list li {
11
+ display:block;
12
+ height:113px;
13
+ padding:15px 5% 15px 5%;
14
+ margin:0px 0px 12px 0px;
15
+ background:#ededed;
16
+ }
17
+
18
+ #main_featured_plugins_page #featured-plugins-list li .product {
19
+ position:relative;
20
+ float:left;
21
+ width:35%;
22
+ height:113px;
23
+ }
24
+
25
+ #main_featured_plugins_page #featured-plugins-list li .title {
26
+ float:left;
27
+ height:113px;
28
+ width:90%;
29
+ margin:0px 0px 0px 109px;
30
+ background:#cacaca;
31
+ border-top-right-radius:3px;
32
+ border-bottom-right-radius:3px;
33
+ }
34
+
35
+ #main_featured_plugins_page #featured-plugins-list li.form-maker .product {background:url(images/form.jpg) left center no-repeat;}
36
+ #main_featured_plugins_page #featured-plugins-list li.catalog .product {background:url(images/catalog.jpg) left center no-repeat;}
37
+ #main_featured_plugins_page #featured-plugins-list li.contact-maker .product {background:url(images/contact.maker.jpg) left center no-repeat;}
38
+ #main_featured_plugins_page #featured-plugins-list li.contacts .product {background:url(images/contacts.jpg) left center no-repeat;}
39
+ #main_featured_plugins_page #featured-plugins-list li.facebook .product {background:url(images/facebook.jpg) left center no-repeat;}
40
+ #main_featured_plugins_page #featured-plugins-list li.faq .product {background:url(images/faq.jpg) left center no-repeat;}
41
+ #main_featured_plugins_page #featured-plugins-list li.flash-calendar .product {background:url(images/flash.calendar.jpg) left center no-repeat;}
42
+ #main_featured_plugins_page #featured-plugins-list li.folder-menu .product {background:url(images/folder.menu.jpg) left center no-repeat;}
43
+ #main_featured_plugins_page #featured-plugins-list li.player .product {background:url(images/player.jpg) left center no-repeat;}
44
+ #main_featured_plugins_page #featured-plugins-list li.spider-calendar .product {background:url(images/spider.calendar.jpg) left center no-repeat;}
45
+ #main_featured_plugins_page #featured-plugins-list li.zoom .product {background:url(images/zoom.jpg) left center no-repeat;}
46
+
47
+
48
+ #main_featured_plugins_page #featured-plugins-list li .title .heading {
49
+ display:block;
50
+ position:relative;
51
+ font-size:24px;
52
+ color:#014f73;
53
+ margin:30px 0px -10px 20px;
54
+ }
55
+
56
+ #main_featured_plugins_page #featured-plugins-list li .title p {
57
+ font-size:14px;
58
+ color:#444;
59
+ margin-left:20px;
60
+ }
61
+
62
+ #main_featured_plugins_page #featured-plugins-list li .description {
63
+ float:right;
64
+ width:50%;
65
+ height:113px;
66
+ }
67
+
68
+ #main_featured_plugins_page #featured-plugins-list li .description p {
69
+ text-align:right;
70
+ }
71
+
72
+ #main_featured_plugins_page #featured-plugins-list li .description a.download, #main_featured_plugins_page #featured-plugins-list li .description a.download:link, #main_featured_plugins_page #featured-plugins-list li .description a.download:visited {
73
+ display:block;
74
+ width:106px;
75
+ height:32px;
76
+ text-indent:-9999px;
77
+ background:url(images/download.jpg) left top no-repeat;
78
+ float:right;
79
+ }
css/bwg_frontend.css ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .spider_popup_loading,
2
+ .footer-list-block .bwp_gallery .spider_popup_loading,
3
+ .footer-list-block .bwp_gallery_tags .spider_popup_loading {
4
+ /*background: url("../images/ajax_loader.gif") no-repeat scroll 0 0 / 50px 50px rgba(0, 0, 0, 0);*/
5
+ background-image: url("../images/ajax_loader.png");
6
+ background-color: rgba(0, 0, 0, 0);
7
+ background-repeat: no-repeat;
8
+ background-position: 0 0;
9
+ background-size: 50px 50px;
10
+ display: none;
11
+ height: 50px;
12
+ left: 50%;
13
+ margin-left: -20px;
14
+ margin-top: -20px;
15
+ overflow: hidden;
16
+ position: fixed;
17
+ top: 50%;
18
+ width: 50px;
19
+ z-index: 10102;
20
+ animation: spin 2.5s infinite linear;
21
+ -moz-animation: spin 2.5s infinite linear;
22
+ -o-animation: spin 2.5s infinite linear;
23
+ -webkit-animation: spin 2.5s infinite linear;
24
+ }
25
+
26
+ .spider_ajax_loading {
27
+ animation: spin 2.5s infinite linear;
28
+ -moz-animation: spin 2.5s infinite linear;
29
+ -o-animation: spin 2.5s infinite linear;
30
+ -webkit-animation: spin 2.5s infinite linear;
31
+ }
32
+
33
+ .spider_popup_overlay,
34
+ .footer-list-block .bwp_gallery .spider_popup_overlay,
35
+ .footer-list-block .bwp_gallery_tags .spider_popup_overlay {
36
+ cursor: pointer;
37
+ display: none;
38
+ height: 100%;
39
+ left: 0;
40
+ position: fixed;
41
+ top: 0;
42
+ width: 100%;
43
+ z-index: 10100;
44
+ }
45
+
46
+ .spider_popup_close,
47
+ .spider_popup_close_fullscreen {
48
+ -moz-box-sizing: content-box !important;
49
+ box-sizing: content-box !important;
50
+ cursor: pointer;
51
+ display: table;
52
+ line-height: 0;
53
+ position: absolute;
54
+ z-index: 11100;
55
+ }
56
+
57
+ #spider_popup_left {
58
+ left: 0;
59
+ }
60
+
61
+ #spider_popup_right {
62
+ right: 0;
63
+ }
64
+
65
+ #spider_popup_left:hover,
66
+ #spider_popup_right:hover {
67
+ visibility: visible;
68
+ }
69
+
70
+ #spider_popup_left:hover span {
71
+ left: 20px;
72
+ }
73
+
74
+ #spider_popup_right:hover span {
75
+ left: auto;
76
+ right: 20px;
77
+ }
78
+
79
+ #spider_popup_left,
80
+ #spider_popup_right {
81
+ background: transparent url("../images/blank.gif") repeat scroll 0 0;
82
+ bottom: 0;
83
+ cursor: pointer;
84
+ display: inline;
85
+ height: 100%;
86
+ outline: medium none;
87
+ position: absolute;
88
+ width: 35%;
89
+ z-index: 10130;
90
+ }
91
+
92
+ #spider_popup_left-ico,
93
+ #spider_popup_right-ico {
94
+ -moz-box-sizing: border-box;
95
+ box-sizing: border-box;
96
+ cursor: pointer;
97
+ display: table;
98
+ left: -9999px;
99
+ line-height: 0;
100
+ margin-top: -15px;
101
+ position: absolute;
102
+ top: 50%;
103
+ z-index: 10135;
104
+ }
105
+
106
+ .bwg_captcha_refresh {
107
+ background-image: url("../images/captcha_refresh.png");
108
+ background-position: center center;
109
+ background-repeat: no-repeat;
110
+ background-size: 100% 100%;
111
+ border-width: 0;
112
+ cursor: pointer;
113
+ display: inline-block;
114
+ height: 20px;
115
+ width: 20px;
116
+ margin: 0;
117
+ padding: 0;
118
+ vertical-align: middle;
119
+ }
120
+
121
+ .bwg_captcha_input {
122
+ vertical-align: middle;
123
+ width: 75px !important;
124
+ }
125
+
126
+ .bwg_captcha_img {
127
+ cursor: pointer;
128
+ margin: 0 5px 0 5px;
129
+ vertical-align: middle;
130
+ }
131
+
132
+ .bwg_comment_error {
133
+ color: #FF0000;
134
+ display: block;
135
+ }
css/bwg_licensing.css ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .data-bordered th {
2
+ background-color: #106EA2;
3
+ border-left: solid 1px #f28705;
4
+ border-top: none;
5
+ border-right: solid 1px #f28705;
6
+ color: #ffffff;
7
+ font: bold 0.85em;
8
+ font-size: 30px;
9
+ line-height: normal;
10
+ text-transform: none;
11
+ }
12
+
13
+ .data-bordered td.yes {
14
+ background-image: url("images/Plus.png");
15
+ }
16
+ .data-bordered th,
17
+ .data-bordered td {
18
+ border-left: solid 1px #b4b4b4;
19
+ border-top: solid 1px #b4b4b4;
20
+ border-right: solid 1px #b4b4b4;
21
+ padding: 5px 10px;
22
+ vertical-align: top;
23
+ }
24
+ .data-bordered {
25
+ color: #555;
26
+ border-bottom: 1px solid #B4B4B4;
27
+ border-collapse: collapse;
28
+ border-spacing: 0;
29
+ margin: 10px 0px;
30
+ text-align: center;
31
+ width: 543px;
32
+ }
33
+ .data-bordered .alt td {
34
+ background-color: #E5E5E5;
35
+ }
36
+ .data-bordered td {
37
+ font-size: 13px;
38
+ line-height: 15px;
39
+ text-align:left;
40
+ vertical-align: middle;
41
+ }
42
+ .data-bordered td.no,
43
+ .data-bordered td.yes {
44
+ background-position: center center;
45
+ background-repeat: no-repeat;
46
+ overflow: hidden;
47
+ text-indent: -9999px;
48
+ }
49
+ .data-bordered .alt td {
50
+ background-color: #E5E5E5;
51
+ }
52
+ .data-bordered .icon-replace {
53
+ min-width: 74px;
54
+ }
css/bwg_shortcode.css ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .gallery_type {
2
+ border: 1px solid #CCCCCC;
3
+ display: inline-block;
4
+ width: 13%;
5
+ }
6
+
7
+ .panel_wrapper,
8
+ #display_panel {
9
+ height: 450px !important;
10
+ overflow: auto;
11
+ font-size: 11px;
12
+ }
13
+
14
+ .bwg_short_div * {
15
+ font-size: 10px;
16
+ }
17
+
18
+ .spider_label {
19
+ font-weight: bold;
20
+ font-family: Verdana;
21
+ width: 135px;
22
+ }
23
+
24
+ .spider_free_version_label {
25
+ color: #808080 !important;
26
+ }
27
+
28
+ .spider_int_input,
29
+ .color {
30
+ width: 60px;
31
+ }
32
+
33
+ .ui-tooltip {
34
+ background-color: rgba(255,255,255,1);
35
+ border-radius: 3px;
36
+ box-shadow: 0 0 7px black;
37
+ line-height: 10px;
38
+ }
39
+
40
+ .bwg_short_div {
41
+ float: left;
42
+ height: 300px;
43
+ padding: 15px;
44
+ width: 30%;
45
+ }
46
+
47
+ .bws_position_table td,
48
+ .bws_position_table input{
49
+ border: 1px solid #CCCCCC;
50
+ margin: 2px;
51
+ }
css/bwg_tables.css ADDED
@@ -0,0 +1,460 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .spider_ajax_loading {
2
+ -webkit-animation: spin 2.5s infinite linear;
3
+ -moz-animation: spin 2.5s infinite linear;
4
+ -o-animation: spin 2.5s infinite linear;
5
+ animation: spin 2.5s infinite linear;
6
+ }
7
+
8
+ @-moz-keyframes spin {
9
+ 0% {
10
+ -moz-transform: rotate(0deg);
11
+ }
12
+ 100% {
13
+ -moz-transform: rotate(359deg);
14
+ }
15
+ }
16
+ @-webkit-keyframes spin {
17
+ 0% {
18
+ -webkit-transform: rotate(0deg);
19
+ }
20
+ 100% {
21
+ -webkit-transform: rotate(359deg);
22
+ }
23
+ }
24
+ @-o-keyframes spin {
25
+ 0% {
26
+ -o-transform: rotate(0deg);
27
+ }
28
+ 100% {
29
+ -o-transform: rotate(359deg);
30
+ }
31
+ }
32
+ @-ms-keyframes spin {
33
+ 0% {
34
+ -ms-transform: rotate(0deg);
35
+ }
36
+ 100% {
37
+ -ms-transform: rotate(359deg);
38
+ }
39
+ }
40
+ @keyframes spin {
41
+ 0% {
42
+ transform: rotate(0deg);
43
+ }
44
+ 100% {
45
+ transform: rotate(359deg);
46
+ }
47
+ }
48
+
49
+ #TB_window,
50
+ #TB_iframeContent {
51
+ width: 800px !important;
52
+ height: 500px !important;
53
+ }
54
+
55
+ #TB_window {
56
+ margin-left: -400px !important;
57
+ }
58
+
59
+ .wrap * {
60
+ font-size: 12px;
61
+ font-family: sans-serif;
62
+ }
63
+
64
+ .input_th {
65
+ margin-left: 0px !important;
66
+ width: 160px !important;
67
+ font-family: sans-serif;
68
+ }
69
+ .input_th2 {
70
+ margin-left: 0px !important;
71
+ width: 160px !important;
72
+ margin-top:5px;
73
+ height: 19px;
74
+ }
75
+
76
+ .edit_input {
77
+ height: 28px !important;
78
+ padding-bottom: 7px !important;
79
+ }
80
+
81
+ .add_tag_th {
82
+ padding-left: 21px;
83
+ font-size: 12px;
84
+ font-family: sans-serif;
85
+ }
86
+
87
+ .pointer{
88
+ cursor: pointer;
89
+ }
90
+
91
+ .non_selectable {
92
+ -webkit-touch-callout: none;
93
+ -webkit-user-select: none;
94
+ -khtml-user-select: none;
95
+ -moz-user-select: none;
96
+ -ms-user-select: none;
97
+ user-select: none;
98
+ }
99
+
100
+ .bwg_position_table td,
101
+ .bwg_position_table input{
102
+ border: 1px solid #CCCCCC;
103
+ margin: 2px;
104
+ }
105
+
106
+ .spider_div_options {
107
+ background: none repeat scroll 0 0 #F4F4F4;
108
+ border: 1px solid #8F8D8D;
109
+ border-radius: 8px 8px 8px 8px;
110
+ display: none;
111
+ margin: 2px 0 0 190px;
112
+ padding: 13px;
113
+ min-height: 300px;
114
+ min-width: 600px;
115
+ vertical-align: top;
116
+ }
117
+
118
+ .gallery_type {
119
+ background-color: #F4F4F4;
120
+ border: 1px solid #8F8D8D;
121
+ border-radius: 8px 8px 8px 8px;
122
+ cursor: pointer;
123
+ display: inline-block;
124
+ font-size: 18px;
125
+ height: 26px;
126
+ padding-top: 10px;
127
+ margin: 1px;
128
+ text-align: center;
129
+ vertical-align: middle;
130
+ width: 180px;
131
+ }
132
+
133
+ .table_small_col {
134
+ text-align: center !important;
135
+ width: 45px;
136
+ }
137
+
138
+ .table_medium_col {
139
+ text-align: center !important;
140
+ width: 70px;
141
+ }
142
+
143
+ .table_big_col {
144
+ text-align: center !important;
145
+ width: 80px;
146
+ }
147
+
148
+ .table_large_col {
149
+ text-align: center !important;
150
+ width: 140px;
151
+ }
152
+
153
+ .table_medium_col_uncenter {
154
+ width: 80px;
155
+ }
156
+
157
+ .table_extra_large_col {
158
+ padding: 4px !important;
159
+ width: 150px !important;
160
+ }
161
+
162
+ .first-page,
163
+ .prev-page,
164
+ .next-page,
165
+ .last-page,
166
+ .table_extra_large_col a,
167
+ .table_medium_col a,
168
+ .table_big_col a,
169
+ .table_small_col a {
170
+ cursor: pointer;
171
+ }
172
+
173
+ .spider_word_wrap {
174
+ word-wrap: normal;
175
+ }
176
+
177
+ .spider_description {
178
+ color: #666666;
179
+ font-size: 0.923em;
180
+ line-height: 1.231em;
181
+ margin: 2px 0 10px 2px;
182
+ }
183
+
184
+ .spider_free_version {
185
+ background-color: #DFDFDF;
186
+ border: 1px solid #797979;
187
+ border-radius: 2px;
188
+ padding: 2px;
189
+ }
190
+
191
+ .spider_free_version_label {
192
+ color: #808080 !important;
193
+ }
194
+
195
+ .handle {
196
+ background: url("../images/draggable.png") no-repeat transparent;
197
+ border: none;
198
+ height: 15px;
199
+ margin: 0 auto;
200
+ vertical-align: middle;
201
+ width: 15px;
202
+ }
203
+
204
+ .tag_icon {
205
+ background-image: url("../images/tag-icon.png");
206
+ border: none;
207
+ float: left;
208
+ height: 32px;
209
+ margin: 7px 8px 0 0;
210
+ width: 32px;
211
+ }
212
+
213
+ .gallery-icon {
214
+ background-image: url("../images/gallery-icon.png");
215
+ border: none;
216
+ float: left;
217
+ height: 32px;
218
+ margin: 7px 8px 0 0;
219
+ width: 32px;
220
+ }
221
+
222
+ .album-icon {
223
+ background-image: url("../images/album-icon.png");
224
+ border: none;
225
+ float: left;
226
+ height: 32px;
227
+ margin: 7px 8px 0 0;
228
+ width: 32px;
229
+ }
230
+
231
+ .option-icon {
232
+ background-image: url("../images/option-icon.png");
233
+ border: none;
234
+ float: left;
235
+ height: 32px;
236
+ margin: 7px 8px 0 0;
237
+ width: 32px;
238
+ }
239
+
240
+ .theme_icon {
241
+ background-image: url("../images/theme-icon.png");
242
+ border: none;
243
+ float: left;
244
+ height: 32px;
245
+ margin: 7px 8px 0 0;
246
+ width: 32px;
247
+ }
248
+
249
+ .comment_icon{
250
+ background-image: url("../images/comment-icon.png");
251
+ border: none;
252
+ float: left;
253
+ height: 32px;
254
+ margin: 7px 8px 0 0;
255
+ width: 32px;
256
+ }
257
+
258
+ .uninstall_icon {
259
+ background-image: url("../images/uninstall-icon.png");
260
+ border: none;
261
+ float: left;
262
+ height: 32px;
263
+ margin: 7px 8px 0 0;
264
+ width: 32px;
265
+ }
266
+
267
+ .connectedSortable {
268
+ cursor: move;
269
+ }
270
+
271
+ .spider_label {
272
+ font-weight: bold;
273
+ width: 100px;
274
+ }
275
+
276
+ .spider_fieldset .spider_label {
277
+ font-weight: bold;
278
+ vertical-align: top;
279
+ width: 150px;
280
+ }
281
+
282
+ .spider_label_options {
283
+ font-weight: bold;
284
+ vertical-align: top;
285
+ width: 150px;
286
+ }
287
+
288
+ .spider_int_input {
289
+ width: 80px;
290
+ }
291
+
292
+ .spider_char_input {
293
+ width: 115px;
294
+ }
295
+
296
+ .spider_text_input {
297
+ width: 190px;
298
+ }
299
+
300
+ .spider_slider_div {
301
+ display: inline-block;
302
+ vertical-align: middle;
303
+ width: 140px;
304
+ }
305
+
306
+ .spider_slider_percentage,
307
+ .spider_slider_percentage input,
308
+ .spider_slider_percentage input :focus {
309
+ background: transparent;
310
+ border: none;
311
+ color: #00AEEF;
312
+ display: inline;
313
+ font-weight: bold;
314
+ text-align: right;
315
+ vertical-align: middle;
316
+ width: 30px;
317
+ }
318
+
319
+ .updated,
320
+ .error {
321
+ margin: 5px 0 2px !important;
322
+ }
323
+
324
+ .buttons_div {
325
+ clear: both;
326
+ float: right;
327
+ margin: 5px 0;
328
+ }
329
+
330
+ .spider_delete_img {
331
+ background-image: url("../images/delete.png");
332
+ border: none;
333
+ cursor: pointer;
334
+ display: inline-block;
335
+ vertical-align: middle;
336
+ height: 14px;
337
+ width: 14px;
338
+ }
339
+
340
+ .spider_delete_img_small {
341
+ background-image: url("../images/delete.png");
342
+ background-size: 10px auto;
343
+ border: medium none;
344
+ cursor: pointer;
345
+ display: inline-block;
346
+ height: 10px;
347
+ margin-top: 2px;
348
+ vertical-align: middle;
349
+ width: 10px;
350
+ }
351
+
352
+ .spider_fieldset {
353
+ background: none repeat scroll 0 0 #F4F4F4;
354
+ border: 1px solid #8F8D8D;
355
+ border-radius: 8px 8px 8px 8px;
356
+ display: none;
357
+ float: left;
358
+ margin: 4px;
359
+ padding: 13px;
360
+ width: 97%;
361
+ }
362
+
363
+ .spider_type_fieldset {
364
+ background: none repeat scroll 0 0 #F4F4F4;
365
+ border-radius: 8px 8px 8px 8px;
366
+ display: none;
367
+ float: left;
368
+ width: 100%;
369
+ }
370
+
371
+ .spider_child_fieldset {
372
+ background: none repeat scroll 0 0 #F4F4F4;
373
+ border: 1px solid #8F8D8D;
374
+ border-radius: 8px 8px 8px 8px;
375
+ float: left;
376
+ margin: 4px;
377
+ width: 30%;
378
+ padding: 13px;
379
+ display: block;
380
+ }
381
+
382
+ .spider_table td {
383
+ padding: 0;
384
+ vertical-align: middle;
385
+ }
386
+
387
+ .spider_ctrls {
388
+ padding: 4px;
389
+ text-align: center;
390
+ width: 40px;
391
+ }
392
+
393
+ .theme_type {
394
+ background-color: #F4F4F4;
395
+ border: 1px solid #8F8D8D;
396
+ border-radius: 8px 8px 8px 8px;
397
+ cursor: pointer;
398
+ display: inline-block;
399
+ font-size: 16px;
400
+ height: 24px;
401
+ padding-top: 5px;
402
+ text-align: center;
403
+ vertical-align: middle;
404
+ width: 123px;
405
+ margin: 2px 0px 2px 0px;
406
+ }
407
+
408
+ .ui-slider-handle {
409
+ cursor: pointer !important;
410
+ }
411
+
412
+ .thumb {
413
+ border: 1px solid #CCCCCC;
414
+ max-height: 120px;
415
+ max-width: 120px;
416
+ }
417
+
418
+ .fileDescription {
419
+ color: #666666;
420
+ cursor: pointer;
421
+ font-family: sans-serif;
422
+ font-size: 12px;
423
+ }
424
+
425
+ .filename {
426
+ font-size: 13px;
427
+ }
428
+
429
+ .tag_div {
430
+ background-clip: padding-box;
431
+ background-color: #F3F3F3;
432
+ border: 1px solid #AAAAAA;
433
+ border-radius: 3px 3px 3px 3px;
434
+ box-shadow: 0 0 2px #FFFFFF inset, 0 1px 0 rgba(0, 0, 0, 0.05);
435
+ color: #666666;
436
+ line-height: 13px;
437
+ margin: 2px 0;
438
+ padding: 2px 5px 2px 5px;
439
+ width: 132px;
440
+ }
441
+
442
+ .tags_div {
443
+ overflow-y: auto;
444
+ height: 65px;
445
+ }
446
+
447
+ .tag_name {
448
+ width: 118px;
449
+ }
450
+
451
+ .edit_thumb {
452
+ cursor: pointer;
453
+ }
454
+
455
+ .spider_rotate {
456
+ border-radius: 2px;
457
+ border: 1px solid #FFFFFF;
458
+ height: 30px;
459
+
460
+ }
css/font-awesome-4.0.1/css/font-awesome.css ADDED
@@ -0,0 +1,1361 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Font Awesome 4.0.1
3
+ * the iconic font designed for Bootstrap
4
+ * ------------------------------------------------------------------------------
5
+ * The full suite of pictographic icons, examples, and documentation can be
6
+ * found at http://fontawesome.io. Stay up to date on Twitter at
7
+ * http://twitter.com/fontawesome.
8
+ *
9
+ * License
10
+ * ------------------------------------------------------------------------------
11
+ * - The Font Awesome font is licensed under SIL OFL 1.1 -
12
+ * http://scripts.sil.org/OFL
13
+ * - Font Awesome CSS, LESS, and SASS files are licensed under MIT License -
14
+ * http://opensource.org/licenses/mit-license.html
15
+ * - Font Awesome documentation licensed under CC BY 3.0 -
16
+ * http://creativecommons.org/licenses/by/3.0/
17
+ * - Attribution is no longer required in Font Awesome 3.0, but much appreciated:
18
+ * "Font Awesome by Dave Gandy - http://fontawesome.io"
19
+ *
20
+ * Author - Dave Gandy
21
+ * ------------------------------------------------------------------------------
22
+ * Email: dave@fontawesome.io
23
+ * Twitter: http://twitter.com/davegandy
24
+ * Work: Lead Product Designer @ Kyruus - http://kyruus.com
25
+ */
26
+ /* FONT PATH
27
+ * -------------------------- */
28
+ @font-face {
29
+ font-family: 'FontAwesome';
30
+ src: url('../fonts/fontawesome-webfont.eot?v=4.0.1');
31
+ src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.0.1') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff?v=4.0.1') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.0.1') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.0.1#fontawesomeregular') format('svg');
32
+ font-weight: normal;
33
+ font-style: normal;
34
+ }
35
+ .fa {
36
+ display: inline-block;
37
+ font-family: FontAwesome;
38
+ font-style: normal;
39
+ font-weight: normal;
40
+ line-height: 1;
41
+ -webkit-font-smoothing: antialiased;
42
+ -moz-osx-font-smoothing: grayscale;
43
+ }
44
+ /* makes the font 33% larger relative to the icon container */
45
+ .fa-lg {
46
+ font-size: 1.3333333333333333em;
47
+ line-height: 0.75em;
48
+ vertical-align: -15%;
49
+ }
50
+ .fa-2x {
51
+ font-size: 2em;
52
+ }
53
+ .fa-3x {
54
+ font-size: 3em;
55
+ }
56
+ .fa-4x {
57
+ font-size: 4em;
58
+ }
59
+ .fa-5x {
60
+ font-size: 5em;
61
+ }
62
+ .fa-fw {
63
+ width: 1.2857142857142858em;
64
+ text-align: center;
65
+ }
66
+ .fa-ul {
67
+ padding-left: 0;
68
+ margin-left: 2.142857142857143em;
69
+ list-style-type: none;
70
+ }
71
+ .fa-ul > li {
72
+ position: relative;
73
+ }
74
+ .fa-li {
75
+ position: absolute;
76
+ left: -2.142857142857143em;
77
+ width: 2.142857142857143em;
78
+ top: 0.14285714285714285em;
79
+ text-align: center;
80
+ }
81
+ .fa-li.fa-lg {
82
+ left: -1.8571428571428572em;
83
+ }
84
+ .fa-border {
85
+ padding: .2em .25em .15em;
86
+ border: solid 0.08em #eeeeee;
87
+ border-radius: .1em;
88
+ }
89
+ .pull-right {
90
+ float: right;
91
+ }
92
+ .pull-left {
93
+ float: left;
94
+ }
95
+ .fa.pull-left {
96
+ margin-right: .3em;
97
+ }
98
+ .fa.pull-right {
99
+ margin-left: .3em;
100
+ }
101
+ .fa-spin {
102
+ -webkit-animation: spin 2s infinite linear;
103
+ -moz-animation: spin 2s infinite linear;
104
+ -o-animation: spin 2s infinite linear;
105
+ animation: spin 2s infinite linear;
106
+ }
107
+ @-moz-keyframes spin {
108
+ 0% {
109
+ -moz-transform: rotate(0deg);
110
+ }
111
+ 100% {
112
+ -moz-transform: rotate(359deg);
113
+ }
114
+ }
115
+ @-webkit-keyframes spin {
116
+ 0% {
117
+ -webkit-transform: rotate(0deg);
118
+ }
119
+ 100% {
120
+ -webkit-transform: rotate(359deg);
121
+ }
122
+ }
123
+ @-o-keyframes spin {
124
+ 0% {
125
+ -o-transform: rotate(0deg);
126
+ }
127
+ 100% {
128
+ -o-transform: rotate(359deg);
129
+ }
130
+ }
131
+ @-ms-keyframes spin {
132
+ 0% {
133
+ -ms-transform: rotate(0deg);
134
+ }
135
+ 100% {
136
+ -ms-transform: rotate(359deg);
137
+ }
138
+ }
139
+ @keyframes spin {
140
+ 0% {
141
+ transform: rotate(0deg);
142
+ }
143
+ 100% {
144
+ transform: rotate(359deg);
145
+ }
146
+ }
147
+ .fa-rotate-90 {
148
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
149
+ -webkit-transform: rotate(90deg);
150
+ -moz-transform: rotate(90deg);
151
+ -ms-transform: rotate(90deg);
152
+ -o-transform: rotate(90deg);
153
+ transform: rotate(90deg);
154
+ }
155
+ .fa-rotate-180 {
156
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
157
+ -webkit-transform: rotate(180deg);
158
+ -moz-transform: rotate(180deg);
159
+ -ms-transform: rotate(180deg);
160
+ -o-transform: rotate(180deg);
161
+ transform: rotate(180deg);
162
+ }
163
+ .fa-rotate-270 {
164
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
165
+ -webkit-transform: rotate(270deg);
166
+ -moz-transform: rotate(270deg);
167
+ -ms-transform: rotate(270deg);
168
+ -o-transform: rotate(270deg);
169
+ transform: rotate(270deg);
170
+ }
171
+ .fa-flip-horizontal {
172
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);
173
+ -webkit-transform: scale(-1, 1);
174
+ -moz-transform: scale(-1, 1);
175
+ -ms-transform: scale(-1, 1);
176
+ -o-transform: scale(-1, 1);
177
+ transform: scale(-1, 1);
178
+ }
179
+ .fa-flip-vertical {
180
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);
181
+ -webkit-transform: scale(1, -1);
182
+ -moz-transform: scale(1, -1);
183
+ -ms-transform: scale(1, -1);
184
+ -o-transform: scale(1, -1);
185
+ transform: scale(1, -1);
186
+ }
187
+ .fa-stack {
188
+ position: relative;
189
+ display: inline-block;
190
+ width: 2em;
191
+ height: 2em;
192
+ line-height: 2em;
193
+ vertical-align: middle;
194
+ }
195
+ .fa-stack-1x,
196
+ .fa-stack-2x {
197
+ position: absolute;
198
+ left: 0;
199
+ width: 100%;
200
+ text-align: center;
201
+ }
202
+ .fa-stack-1x {
203
+ line-height: inherit;
204
+ }
205
+ .fa-stack-2x {
206
+ font-size: 2em;
207
+ }
208
+ .fa-inverse {
209
+ color: #ffffff;
210
+ }
211
+ /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
212
+ readers do not read off random characters that represent icons */
213
+ .fa-glass:before {
214
+ content: "\f000";
215
+ }
216
+ .fa-music:before {
217
+ content: "\f001";
218
+ }
219
+ .fa-search:before {
220
+ content: "\f002";
221
+ }
222
+ .fa-envelope-o:before {
223
+ content: "\f003";
224
+ }
225
+ .fa-heart:before {
226
+ content: "\f004";
227
+ }
228
+ .fa-star:before {
229
+ content: "\f005";
230
+ }
231
+ .fa-star-o:before {
232
+ content: "\f006";
233
+ }
234
+ .fa-user:before {
235
+ content: "\f007";
236
+ }
237
+ .fa-film:before {
238
+ content: "\f008";
239
+ }
240
+ .fa-th-large:before {
241
+ content: "\f009";
242
+ }
243
+ .fa-th:before {
244
+ content: "\f00a";
245
+ }
246
+ .fa-th-list:before {
247
+ content: "\f00b";
248
+ }
249
+ .fa-check:before {
250
+ content: "\f00c";
251
+ }
252
+ .fa-times:before {
253
+ content: "\f00d";
254
+ }
255
+ .fa-search-plus:before {
256
+ content: "\f00e";
257
+ }
258
+ .fa-search-minus:before {
259
+ content: "\f010";
260
+ }
261
+ .fa-power-off:before {
262
+ content: "\f011";
263
+ }
264
+ .fa-signal:before {
265
+ content: "\f012";
266
+ }
267
+ .fa-gear:before,
268
+ .fa-cog:before {
269
+ content: "\f013";
270
+ }
271
+ .fa-trash-o:before {
272
+ content: "\f014";
273
+ }
274
+ .fa-home:before {
275
+ content: "\f015";
276
+ }
277
+ .fa-file-o:before {
278
+ content: "\f016";
279
+ }
280
+ .fa-clock-o:before {
281
+ content: "\f017";
282
+ }
283
+ .fa-road:before {
284
+ content: "\f018";
285
+ }
286
+ .fa-download:before {
287
+ content: "\f019";
288
+ }
289
+ .fa-arrow-circle-o-down:before {
290
+ content: "\f01a";
291
+ }
292
+ .fa-arrow-circle-o-up:before {
293
+ content: "\f01b";
294
+ }
295
+ .fa-inbox:before {
296
+ content: "\f01c";
297
+ }
298
+ .fa-play-circle-o:before {
299
+ content: "\f01d";
300
+ }
301
+ .fa-rotate-right:before,
302
+ .fa-repeat:before {
303
+ content: "\f01e";
304
+ }
305
+ .fa-refresh:before {
306
+ content: "\f021";
307
+ }
308
+ .fa-list-alt:before {
309
+ content: "\f022";
310
+ }
311
+ .fa-lock:before {
312
+ content: "\f023";
313
+ }
314
+ .fa-flag:before {
315
+ content: "\f024";
316
+ }
317
+ .fa-headphones:before {
318
+ content: "\f025";
319
+ }
320
+ .fa-volume-off:before {
321
+ content: "\f026";
322
+ }
323
+ .fa-volume-down:before {
324
+ content: "\f027";
325
+ }
326
+ .fa-volume-up:before {
327
+ content: "\f028";
328
+ }
329
+ .fa-qrcode:before {
330
+ content: "\f029";
331
+ }
332
+ .fa-barcode:before {
333
+ content: "\f02a";
334
+ }
335
+ .fa-tag:before {
336
+ content: "\f02b";
337
+ }
338
+ .fa-tags:before {
339
+ content: "\f02c";
340
+ }
341
+ .fa-book:before {
342
+ content: "\f02d";
343
+ }
344
+ .fa-bookmark:before {
345
+ content: "\f02e";
346
+ }
347
+ .fa-print:before {
348
+ content: "\f02f";
349
+ }
350
+ .fa-camera:before {
351
+ content: "\f030";
352
+ }
353
+ .fa-font:before {
354
+ content: "\f031";
355
+ }
356
+ .fa-bold:before {
357
+ content: "\f032";
358
+ }
359
+ .fa-italic:before {
360
+ content: "\f033";
361
+ }
362
+ .fa-text-height:before {
363
+ content: "\f034";
364
+ }
365
+ .fa-text-width:before {
366
+ content: "\f035";
367
+ }
368
+ .fa-align-left:before {
369
+ content: "\f036";
370
+ }
371
+ .fa-align-center:before {
372
+ content: "\f037";
373
+ }
374
+ .fa-align-right:before {
375
+ content: "\f038";
376
+ }
377
+ .fa-align-justify:before {
378
+ content: "\f039";
379
+ }
380
+ .fa-list:before {
381
+ content: "\f03a";
382
+ }
383
+ .fa-dedent:before,
384
+ .fa-outdent:before {
385
+ content: "\f03b";
386
+ }
387
+ .fa-indent:before {
388
+ content: "\f03c";
389
+ }
390
+ .fa-video-camera:before {
391
+ content: "\f03d";
392
+ }
393
+ .fa-picture-o:before {
394
+ content: "\f03e";
395
+ }
396
+ .fa-pencil:before {
397
+ content: "\f040";
398
+ }
399
+ .fa-map-marker:before {
400
+ content: "\f041";
401
+ }
402
+ .fa-adjust:before {
403
+ content: "\f042";
404
+ }
405
+ .fa-tint:before {
406
+ content: "\f043";
407
+ }
408
+ .fa-edit:before,
409
+ .fa-pencil-square-o:before {
410
+ content: "\f044";
411
+ }
412
+ .fa-share-square-o:before {
413
+ content: "\f045";
414
+ }
415
+ .fa-check-square-o:before {
416
+ content: "\f046";
417
+ }
418
+ .fa-move:before {
419
+ content: "\f047";
420
+ }
421
+ .fa-step-backward:before {
422
+ content: "\f048";
423
+ }
424
+ .fa-fast-backward:before {
425
+ content: "\f049";
426
+ }
427
+ .fa-backward:before {
428
+ content: "\f04a";
429
+ }
430
+ .fa-play:before {
431
+ content: "\f04b";
432
+ }
433
+ .fa-pause:before {
434
+ content: "\f04c";
435
+ }
436
+ .fa-stop:before {
437
+ content: "\f04d";
438
+ }
439
+ .fa-forward:before {
440
+ content: "\f04e";
441
+ }
442
+ .fa-fast-forward:before {
443
+ content: "\f050";
444
+ }
445
+ .fa-step-forward:before {
446
+ content: "\f051";
447
+ }
448
+ .fa-eject:before {
449
+ content: "\f052";
450
+ }
451
+ .fa-chevron-left:before {
452
+ content: "\f053";
453
+ }
454
+ .fa-chevron-right:before {
455
+ content: "\f054";
456
+ }
457
+ .fa-plus-circle:before {
458
+ content: "\f055";
459
+ }
460
+ .fa-minus-circle:before {
461
+ content: "\f056";
462
+ }
463
+ .fa-times-circle:before {
464
+ content: "\f057";
465
+ }
466
+ .fa-check-circle:before {
467
+ content: "\f058";
468
+ }
469
+ .fa-question-circle:before {
470
+ content: "\f059";
471
+ }
472
+ .fa-info-circle:before {
473
+ content: "\f05a";
474
+ }
475
+ .fa-crosshairs:before {
476
+ content: "\f05b";
477
+ }
478
+ .fa-times-circle-o:before {
479
+ content: "\f05c";
480
+ }
481
+ .fa-check-circle-o:before {
482
+ content: "\f05d";
483
+ }
484
+ .fa-ban:before {
485
+ content: "\f05e";
486
+ }
487
+ .fa-arrow-left:before {
488
+ content: "\f060";
489
+ }
490
+ .fa-arrow-right:before {
491
+ content: "\f061";
492
+ }
493
+ .fa-arrow-up:before {
494
+ content: "\f062";
495
+ }
496
+ .fa-arrow-down:before {
497
+ content: "\f063";
498
+ }
499
+ .fa-mail-forward:before,
500
+ .fa-share:before {
501
+ content: "\f064";
502
+ }
503
+ .fa-resize-full:before {
504
+ content: "\f065";
505
+ }
506
+ .fa-resize-small:before {
507
+ content: "\f066";
508
+ }
509
+ .fa-plus:before {
510
+ content: "\f067";
511
+ }
512
+ .fa-minus:before {
513
+ content: "\f068";
514
+ }
515
+ .fa-asterisk:before {
516
+ content: "\f069";
517
+ }
518
+ .fa-exclamation-circle:before {
519
+ content: "\f06a";
520
+ }
521
+ .fa-gift:before {
522
+ content: "\f06b";
523
+ }
524
+ .fa-leaf:before {
525
+ content: "\f06c";
526
+ }
527
+ .fa-fire:before {
528
+ content: "\f06d";
529
+ }
530
+ .fa-eye:before {
531
+ content: "\f06e";
532
+ }
533
+ .fa-eye-slash:before {
534
+ content: "\f070";
535
+ }
536
+ .fa-warning:before,
537
+ .fa-exclamation-triangle:before {
538
+ content: "\f071";
539
+ }
540
+ .fa-plane:before {
541
+ content: "\f072";
542
+ }
543
+ .fa-calendar:before {
544
+ content: "\f073";
545
+ }
546
+ .fa-random:before {
547
+ content: "\f074";
548
+ }
549
+ .fa-comment:before {
550
+ content: "\f075";
551
+ }
552
+ .fa-magnet:before {
553
+ content: "\f076";
554
+ }
555
+ .fa-chevron-up:before {
556
+ content: "\f077";
557
+ }
558
+ .fa-chevron-down:before {
559
+ content: "\f078";
560
+ }
561
+ .fa-retweet:before {
562
+ content: "\f079";
563
+ }
564
+ .fa-shopping-cart:before {
565
+ content: "\f07a";
566
+ }
567
+ .fa-folder:before {
568
+ content: "\f07b";
569
+ }
570
+ .fa-folder-open:before {
571
+ content: "\f07c";
572
+ }
573
+ .fa-resize-vertical:before {
574
+ content: "\f07d";
575
+ }
576
+ .fa-resize-horizontal:before {
577
+ content: "\f07e";
578
+ }
579
+ .fa-bar-chart-o:before {
580
+ content: "\f080";
581
+ }
582
+ .fa-twitter-square:before {
583
+ content: "\f081";
584
+ }
585
+ .fa-facebook-square:before {
586
+ content: "\f082";
587
+ }
588
+ .fa-camera-retro:before {
589
+ content: "\f083";
590
+ }
591
+ .fa-key:before {
592
+ content: "\f084";
593
+ }
594
+ .fa-gears:before,
595
+ .fa-cogs:before {
596
+ content: "\f085";
597
+ }
598
+ .fa-comments:before {
599
+ content: "\f086";
600
+ }
601
+ .fa-thumbs-o-up:before {
602
+ content: "\f087";
603
+ }
604
+ .fa-thumbs-o-down:before {
605
+ content: "\f088";
606
+ }
607
+ .fa-star-half:before {
608
+ content: "\f089";
609
+ }
610
+ .fa-heart-o:before {
611
+ content: "\f08a";
612
+ }
613
+ .fa-sign-out:before {
614
+ content: "\f08b";
615
+ }
616
+ .fa-linkedin-square:before {
617
+ content: "\f08c";
618
+ }
619
+ .fa-thumb-tack:before {
620
+ content: "\f08d";
621
+ }
622
+ .fa-external-link:before {
623
+ content: "\f08e";
624
+ }
625
+ .fa-sign-in:before {
626
+ content: "\f090";
627
+ }
628
+ .fa-trophy:before {
629
+ content: "\f091";
630
+ }
631
+ .fa-github-square:before {
632
+ content: "\f092";
633
+ }
634
+ .fa-upload:before {
635
+ content: "\f093";
636
+ }
637
+ .fa-lemon-o:before {
638
+ content: "\f094";
639
+ }
640
+ .fa-phone:before {
641
+ content: "\f095";
642
+ }
643
+ .fa-square-o:before {
644
+ content: "\f096";
645
+ }
646
+ .fa-bookmark-o:before {
647
+ content: "\f097";
648
+ }
649
+ .fa-phone-square:before {
650
+ content: "\f098";
651
+ }
652
+ .fa-twitter:before {
653
+ content: "\f099";
654
+ }
655
+ .fa-facebook:before {
656
+ content: "\f09a";
657
+ }
658
+ .fa-github:before {
659
+ content: "\f09b";
660
+ }
661
+ .fa-unlock:before {
662
+ content: "\f09c";
663
+ }
664
+ .fa-credit-card:before {
665
+ content: "\f09d";
666
+ }
667
+ .fa-rss:before {
668
+ content: "\f09e";
669
+ }
670
+ .fa-hdd-o:before {
671
+ content: "\f0a0";
672
+ }
673
+ .fa-bullhorn:before {
674
+ content: "\f0a1";
675
+ }
676
+ .fa-bell:before {
677
+ content: "\f0f3";
678
+ }
679
+ .fa-certificate:before {
680
+ content: "\f0a3";
681
+ }
682
+ .fa-hand-o-right:before {
683
+ content: "\f0a4";
684
+ }
685
+ .fa-hand-o-left:before {
686
+ content: "\f0a5";
687
+ }
688
+ .fa-hand-o-up:before {
689
+ content: "\f0a6";
690
+ }
691
+ .fa-hand-o-down:before {
692
+ content: "\f0a7";
693
+ }
694
+ .fa-arrow-circle-left:before {
695
+ content: "\f0a8";
696
+ }
697
+ .fa-arrow-circle-right:before {
698
+ content: "\f0a9";
699
+ }
700
+ .fa-arrow-circle-up:before {
701
+ content: "\f0aa";
702
+ }
703
+ .fa-arrow-circle-down:before {
704
+ content: "\f0ab";
705
+ }
706
+ .fa-globe:before {
707
+ content: "\f0ac";
708
+ }
709
+ .fa-wrench:before {
710
+ content: "\f0ad";
711
+ }
712
+ .fa-tasks:before {
713
+ content: "\f0ae";
714
+ }
715
+ .fa-filter:before {
716
+ content: "\f0b0";
717
+ }
718
+ .fa-briefcase:before {
719
+ content: "\f0b1";
720
+ }
721
+ .fa-fullscreen:before {
722
+ content: "\f0b2";
723
+ }
724
+ .fa-group:before {
725
+ content: "\f0c0";
726
+ }
727
+ .fa-chain:before,
728
+ .fa-link:before {
729
+ content: "\f0c1";
730
+ }
731
+ .fa-cloud:before {
732
+ content: "\f0c2";
733
+ }
734
+ .fa-flask:before {
735
+ content: "\f0c3";
736
+ }
737
+ .fa-cut:before,
738
+ .fa-scissors:before {
739
+ content: "\f0c4";
740
+ }
741
+ .fa-copy:before,
742
+ .fa-files-o:before {
743
+ content: "\f0c5";
744
+ }
745
+ .fa-paperclip:before {
746
+ content: "\f0c6";
747
+ }
748
+ .fa-save:before,
749
+ .fa-floppy-o:before {
750
+ content: "\f0c7";
751
+ }
752
+ .fa-square:before {
753
+ content: "\f0c8";
754
+ }
755
+ .fa-reorder:before {
756
+ content: "\f0c9";
757
+ }
758
+ .fa-list-ul:before {
759
+ content: "\f0ca";
760
+ }
761
+ .fa-list-ol:before {
762
+ content: "\f0cb";
763
+ }
764
+ .fa-strikethrough:before {
765
+ content: "\f0cc";
766
+ }
767
+ .fa-underline:before {
768
+ content: "\f0cd";
769
+ }
770
+ .fa-table:before {
771
+ content: "\f0ce";
772
+ }
773
+ .fa-magic:before {
774
+ content: "\f0d0";
775
+ }
776
+ .fa-truck:before {
777
+ content: "\f0d1";
778
+ }
779
+ .fa-pinterest:before {
780
+ content: "\f0d2";
781
+ }
782
+ .fa-pinterest-square:before {
783
+ content: "\f0d3";
784
+ }
785
+ .fa-google-plus-square:before {
786
+ content: "\f0d4";
787
+ }
788
+ .fa-google-plus:before {
789
+ content: "\f0d5";
790
+ }
791
+ .fa-money:before {
792
+ content: "\f0d6";
793
+ }
794
+ .fa-caret-down:before {
795
+ content: "\f0d7";
796
+ }
797
+ .fa-caret-up:before {
798
+ content: "\f0d8";
799
+ }
800
+ .fa-caret-left:before {
801
+ content: "\f0d9";
802
+ }
803
+ .fa-caret-right:before {
804
+ content: "\f0da";
805
+ }
806
+ .fa-columns:before {
807
+ content: "\f0db";
808
+ }
809
+ .fa-unsorted:before,
810
+ .fa-sort:before {
811
+ content: "\f0dc";
812
+ }
813
+ .fa-sort-down:before,
814
+ .fa-sort-asc:before {
815
+ content: "\f0dd";
816
+ }
817
+ .fa-sort-up:before,
818
+ .fa-sort-desc:before {
819
+ content: "\f0de";
820
+ }
821
+ .fa-envelope:before {
822
+ content: "\f0e0";
823
+ }
824
+ .fa-linkedin:before {
825
+ content: "\f0e1";
826
+ }
827
+ .fa-rotate-left:before,
828
+ .fa-undo:before {
829
+ content: "\f0e2";
830
+ }
831
+ .fa-legal:before,
832
+ .fa-gavel:before {
833
+ content: "\f0e3";
834
+ }
835
+ .fa-dashboard:before,
836
+ .fa-tachometer:before {
837
+ content: "\f0e4";
838
+ }
839
+ .fa-comment-o:before {
840
+ content: "\f0e5";
841
+ }
842
+ .fa-comments-o:before {
843
+ content: "\f0e6";
844
+ }
845
+ .fa-flash:before,
846
+ .fa-bolt:before {
847
+ content: "\f0e7";
848
+ }
849
+ .fa-sitemap:before {
850
+ content: "\f0e8";
851
+ }
852
+ .fa-umbrella:before {
853
+ content: "\f0e9";
854
+ }
855
+ .fa-paste:before,
856
+ .fa-clipboard:before {
857
+ content: "\f0ea";
858
+ }
859
+ .fa-lightbulb-o:before {
860
+ content: "\f0eb";
861
+ }
862
+ .fa-exchange:before {
863
+ content: "\f0ec";
864
+ }
865
+ .fa-cloud-download:before {
866
+ content: "\f0ed";
867
+ }
868
+ .fa-cloud-upload:before {
869
+ content: "\f0ee";
870
+ }
871
+ .fa-user-md:before {
872
+ content: "\f0f0";
873
+ }
874
+ .fa-stethoscope:before {
875
+ content: "\f0f1";
876
+ }
877
+ .fa-suitcase:before {
878
+ content: "\f0f2";
879
+ }
880
+ .fa-bell-o:before {
881
+ content: "\f0a2";
882
+ }
883
+ .fa-coffee:before {
884
+ content: "\f0f4";
885
+ }
886
+ .fa-cutlery:before {
887
+ content: "\f0f5";
888
+ }
889
+ .fa-file-text-o:before {
890
+ content: "\f0f6";
891
+ }
892
+ .fa-building:before {
893
+ content: "\f0f7";
894
+ }
895
+ .fa-hospital:before {
896
+ content: "\f0f8";
897
+ }
898
+ .fa-ambulance:before {
899
+ content: "\f0f9";
900
+ }
901
+ .fa-medkit:before {
902
+ content: "\f0fa";
903
+ }
904
+ .fa-fighter-jet:before {
905
+ content: "\f0fb";
906
+ }
907
+ .fa-beer:before {
908
+ content: "\f0fc";
909
+ }
910
+ .fa-h-square:before {
911
+ content: "\f0fd";
912
+ }
913
+ .fa-plus-square:before {
914
+ content: "\f0fe";
915
+ }
916
+ .fa-angle-double-left:before {
917
+ content: "\f100";
918
+ }
919
+ .fa-angle-double-right:before {
920
+ content: "\f101";
921
+ }
922
+ .fa-angle-double-up:before {
923
+ content: "\f102";
924
+ }
925
+ .fa-angle-double-down:before {
926
+ content: "\f103";
927
+ }
928
+ .fa-angle-left:before {
929
+ content: "\f104";
930
+ }
931
+ .fa-angle-right:before {
932
+ content: "\f105";
933
+ }
934
+ .fa-angle-up:before {
935
+ content: "\f106";
936
+ }
937
+ .fa-angle-down:before {
938
+ content: "\f107";
939
+ }
940
+ .fa-desktop:before {
941
+ content: "\f108";
942
+ }
943
+ .fa-laptop:before {
944
+ content: "\f109";
945
+ }
946
+ .fa-tablet:before {
947
+ content: "\f10a";
948
+ }
949
+ .fa-mobile-phone:before,
950
+ .fa-mobile:before {
951
+ content: "\f10b";
952
+ }
953
+ .fa-circle-o:before {
954
+ content: "\f10c";
955
+ }
956
+ .fa-quote-left:before {
957
+ content: "\f10d";
958
+ }
959
+ .fa-quote-right:before {
960
+ content: "\f10e";
961
+ }
962
+ .fa-spinner:before {
963
+ content: "\f110";
964
+ }
965
+ .fa-circle:before {
966
+ content: "\f111";
967
+ }
968
+ .fa-mail-reply:before,
969
+ .fa-reply:before {
970
+ content: "\f112";
971
+ }
972
+ .fa-github-alt:before {
973
+ content: "\f113";
974
+ }
975
+ .fa-folder-o:before {
976
+ content: "\f114";
977
+ }
978
+ .fa-folder-open-o:before {
979
+ content: "\f115";
980
+ }
981
+ .fa-expand-o:before {
982
+ content: "\f116";
983
+ }
984
+ .fa-collapse-o:before {
985
+ content: "\f117";
986
+ }
987
+ .fa-smile-o:before {
988
+ content: "\f118";
989
+ }
990
+ .fa-frown-o:before {
991
+ content: "\f119";
992
+ }
993
+ .fa-meh-o:before {
994
+ content: "\f11a";
995
+ }
996
+ .fa-gamepad:before {
997
+ content: "\f11b";
998
+ }
999
+ .fa-keyboard-o:before {
1000
+ content: "\f11c";
1001
+ }
1002
+ .fa-flag-o:before {
1003
+ content: "\f11d";
1004
+ }
1005
+ .fa-flag-checkered:before {
1006
+ content: "\f11e";
1007
+ }
1008
+ .fa-terminal:before {
1009
+ content: "\f120";
1010
+ }
1011
+ .fa-code:before {
1012
+ content: "\f121";
1013
+ }
1014
+ .fa-reply-all:before {
1015
+ content: "\f122";
1016
+ }
1017
+ .fa-mail-reply-all:before {
1018
+ content: "\f122";
1019
+ }
1020
+ .fa-star-half-empty:before,
1021
+ .fa-star-half-full:before,
1022
+ .fa-star-half-o:before {
1023
+ content: "\f123";
1024
+ }
1025
+ .fa-location-arrow:before {
1026
+ content: "\f124";
1027
+ }
1028
+ .fa-crop:before {
1029
+ content: "\f125";
1030
+ }
1031
+ .fa-code-fork:before {
1032
+ content: "\f126";
1033
+ }
1034
+ .fa-unlink:before,
1035
+ .fa-chain-broken:before {
1036
+ content: "\f127";
1037
+ }
1038
+ .fa-question:before {
1039
+ content: "\f128";
1040
+ }
1041
+ .fa-info:before {
1042
+ content: "\f129";
1043
+ }
1044
+ .fa-exclamation:before {
1045
+ content: "\f12a";
1046
+ }
1047
+ .fa-superscript:before {
1048
+ content: "\f12b";
1049
+ }
1050
+ .fa-subscript:before {
1051
+ content: "\f12c";
1052
+ }
1053
+ .fa-eraser:before {
1054
+ content: "\f12d";
1055
+ }
1056
+ .fa-puzzle-piece:before {
1057
+ content: "\f12e";
1058
+ }
1059
+ .fa-microphone:before {
1060
+ content: "\f130";
1061
+ }
1062
+ .fa-microphone-slash:before {
1063
+ content: "\f131";
1064
+ }
1065
+ .fa-shield:before {
1066
+ content: "\f132";
1067
+ }
1068
+ .fa-calendar-o:before {
1069
+ content: "\f133";
1070
+ }
1071
+ .fa-fire-extinguisher:before {
1072
+ content: "\f134";
1073
+ }
1074
+ .fa-rocket:before {
1075
+ content: "\f135";
1076
+ }
1077
+ .fa-maxcdn:before {
1078
+ content: "\f136";
1079
+ }
1080
+ .fa-chevron-circle-left:before {
1081
+ content: "\f137";
1082
+ }
1083
+ .fa-chevron-circle-right:before {
1084
+ content: "\f138";
1085
+ }
1086
+ .fa-chevron-circle-up:before {
1087
+ content: "\f139";
1088
+ }
1089
+ .fa-chevron-circle-down:before {
1090
+ content: "\f13a";
1091
+ }
1092
+ .fa-html5:before {
1093
+ content: "\f13b";
1094
+ }
1095
+ .fa-css3:before {
1096
+ content: "\f13c";
1097
+ }
1098
+ .fa-anchor:before {
1099
+ content: "\f13d";
1100
+ }
1101
+ .fa-unlock-o:before {
1102
+ content: "\f13e";
1103
+ }
1104
+ .fa-bullseye:before {
1105
+ content: "\f140";
1106
+ }
1107
+ .fa-ellipsis-horizontal:before {
1108
+ content: "\f141";
1109
+ }
1110
+ .fa-ellipsis-vertical:before {
1111
+ content: "\f142";
1112
+ }
1113
+ .fa-rss-square:before {
1114
+ content: "\f143";
1115
+ }
1116
+ .fa-play-circle:before {
1117
+ content: "\f144";
1118
+ }
1119
+ .fa-ticket:before {
1120
+ content: "\f145";
1121
+ }
1122
+ .fa-minus-square:before {
1123
+ content: "\f146";
1124
+ }
1125
+ .fa-minus-square-o:before {
1126
+ content: "\f147";
1127
+ }
1128
+ .fa-level-up:before {
1129
+ content: "\f148";
1130
+ }
1131
+ .fa-level-down:before {
1132
+ content: "\f149";
1133
+ }
1134
+ .fa-check-square:before {
1135
+ content: "\f14a";
1136
+ }
1137
+ .fa-pencil-square:before {
1138
+ content: "\f14b";
1139
+ }
1140
+ .fa-external-link-square:before {
1141
+ content: "\f14c";
1142
+ }
1143
+ .fa-share-square:before {
1144
+ content: "\f14d";
1145
+ }
1146
+ .fa-compass:before {
1147
+ content: "\f14e";
1148
+ }
1149
+ .fa-toggle-down:before,
1150
+ .fa-caret-square-o-down:before {
1151
+ content: "\f150";
1152
+ }
1153
+ .fa-toggle-up:before,
1154
+ .fa-caret-square-o-up:before {
1155
+ content: "\f151";
1156
+ }
1157
+ .fa-toggle-right:before,
1158
+ .fa-caret-square-o-right:before {
1159
+ content: "\f152";
1160
+ }
1161
+ .fa-euro:before,
1162
+ .fa-eur:before {
1163
+ content: "\f153";
1164
+ }
1165
+ .fa-gbp:before {
1166
+ content: "\f154";
1167
+ }
1168
+ .fa-dollar:before,
1169
+ .fa-usd:before {
1170
+ content: "\f155";
1171
+ }
1172
+ .fa-rupee:before,
1173
+ .fa-inr:before {
1174
+ content: "\f156";
1175
+ }
1176
+ .fa-cny:before,
1177
+ .fa-rmb:before,
1178
+ .fa-yen:before,
1179
+ .fa-jpy:before {
1180
+ content: "\f157";
1181
+ }
1182
+ .fa-ruble:before,
1183
+ .fa-rouble:before,
1184
+ .fa-rub:before {
1185
+ content: "\f158";
1186
+ }
1187
+ .fa-won:before,
1188
+ .fa-krw:before {
1189
+ content: "\f159";
1190
+ }
1191
+ .fa-bitcoin:before,
1192
+ .fa-btc:before {
1193
+ content: "\f15a";
1194
+ }
1195
+ .fa-file:before {
1196
+ content: "\f15b";
1197
+ }
1198
+ .fa-file-text:before {
1199
+ content: "\f15c";
1200
+ }
1201
+ .fa-sort-alpha-asc:before {
1202
+ content: "\f15d";
1203
+ }
1204
+ .fa-sort-alpha-desc:before {
1205
+ content: "\f15e";
1206
+ }
1207
+ .fa-sort-amount-asc:before {
1208
+ content: "\f160";
1209
+ }
1210
+ .fa-sort-amount-desc:before {
1211
+ content: "\f161";
1212
+ }
1213
+ .fa-sort-numeric-asc:before {
1214
+ content: "\f162";
1215
+ }
1216
+ .fa-sort-numeric-desc:before {
1217
+ content: "\f163";
1218
+ }
1219
+ .fa-thumbs-up:before {
1220
+ content: "\f164";
1221
+ }
1222
+ .fa-thumbs-down:before {
1223
+ content: "\f165";
1224
+ }
1225
+ .fa-youtube-square:before {
1226
+ content: "\f166";
1227
+ }
1228
+ .fa-youtube:before {
1229
+ content: "\f167";
1230
+ }
1231
+ .fa-xing:before {
1232
+ content: "\f168";
1233
+ }
1234
+ .fa-xing-square:before {
1235
+ content: "\f169";
1236
+ }
1237
+ .fa-youtube-play:before {
1238
+ content: "\f16a";
1239
+ }
1240
+ .fa-dropbox:before {
1241
+ content: "\f16b";
1242
+ }
1243
+ .fa-stack-overflow:before {
1244
+ content: "\f16c";
1245
+ }
1246
+ .fa-instagram:before {
1247
+ content: "\f16d";
1248
+ }
1249
+ .fa-flickr:before {
1250
+ content: "\f16e";
1251
+ }
1252
+ .fa-adn:before {
1253
+ content: "\f170";
1254
+ }
1255
+ .fa-bitbucket:before {
1256
+ content: "\f171";
1257
+ }
1258
+ .fa-bitbucket-square:before {
1259
+ content: "\f172";
1260
+ }
1261
+ .fa-tumblr:before {
1262
+ content: "\f173";
1263
+ }
1264
+ .fa-tumblr-square:before {
1265
+ content: "\f174";
1266
+ }
1267
+ .fa-long-arrow-down:before {
1268
+ content: "\f175";
1269
+ }
1270
+ .fa-long-arrow-up:before {
1271
+ content: "\f176";
1272
+ }
1273
+ .fa-long-arrow-left:before {
1274
+ content: "\f177";
1275
+ }
1276
+ .fa-long-arrow-right:before {
1277
+ content: "\f178";
1278
+ }
1279
+ .fa-apple:before {
1280
+ content: "\f179";
1281
+ }
1282
+ .fa-windows:before {
1283
+ content: "\f17a";
1284
+ }
1285
+ .fa-android:before {
1286
+ content: "\f17b";
1287
+ }
1288
+ .fa-linux:before {
1289
+ content: "\f17c";
1290
+ }
1291
+ .fa-dribbble:before {
1292
+ content: "\f17d";
1293
+ }
1294
+ .fa-skype:before {
1295
+ content: "\f17e";
1296
+ }
1297
+ .fa-foursquare:before {
1298
+ content: "\f180";
1299
+ }
1300
+ .fa-trello:before {
1301
+ content: "\f181";
1302
+ }
1303
+ .fa-female:before {
1304
+ content: "\f182";
1305
+ }
1306
+ .fa-male:before {
1307
+ content: "\f183";
1308
+ }
1309
+ .fa-gittip:before {
1310
+ content: "\f184";
1311
+ }
1312
+ .fa-sun-o:before {
1313
+ content: "\f185";
1314
+ }
1315
+ .fa-moon-o:before {
1316
+ content: "\f186";
1317
+ }
1318
+ .fa-archive:before {
1319
+ content: "\f187";
1320
+ }
1321
+ .fa-bug:before {
1322
+ content: "\f188";
1323
+ }
1324
+ .fa-vk:before {
1325
+ content: "\f189";
1326
+ }
1327
+ .fa-weibo:before {
1328
+ content: "\f18a";
1329
+ }
1330
+ .fa-renren:before {
1331
+ content: "\f18b";
1332
+ }
1333
+ .fa-pagelines:before {
1334
+ content: "\f18c";
1335
+ }
1336
+ .fa-stack-exchange:before {
1337
+ content: "\f18d";
1338
+ }
1339
+ .fa-arrow-circle-o-right:before {
1340
+ content: "\f18e";
1341
+ }
1342
+ .fa-arrow-circle-o-left:before {
1343
+ content: "\f190";
1344
+ }
1345
+ .fa-toggle-left:before,
1346
+ .fa-caret-square-o-left:before {
1347
+ content: "\f191";
1348
+ }
1349
+ .fa-dot-circle-o:before {
1350
+ content: "\f192";
1351
+ }
1352
+ .fa-wheelchair:before {
1353
+ content: "\f193";
1354
+ }
1355
+ .fa-vimeo-square:before {
1356
+ content: "\f194";
1357
+ }
1358
+ .fa-turkish-lira:before,
1359
+ .fa-try:before {
1360
+ content: "\f195";
1361
+ }
css/font-awesome-4.0.1/css/font-awesome.min.css ADDED
@@ -0,0 +1,395 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.0.1');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.0.1') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff?v=4.0.1') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.0.1') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.0.1#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
2
+ .fa-lg{font-size:1.3333333333333333em;line-height:.75em;vertical-align:-15%}
3
+ .fa-2x{font-size:2em}
4
+ .fa-3x{font-size:3em}
5
+ .fa-4x{font-size:4em}
6
+ .fa-5x{font-size:5em}
7
+ .fa-fw{width:1.2857142857142858em;text-align:center}
8
+ .fa-ul{padding-left:0;margin-left:2.142857142857143em;list-style-type:none}.fa-ul>li{position:relative}
9
+ .fa-li{position:absolute;left:-2.142857142857143em;width:2.142857142857143em;top:.14285714285714285em;text-align:center}.fa-li.fa-lg{left:-1.8571428571428572em}
10
+ .fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}
11
+ .pull-right{float:right}
12
+ .pull-left{float:left}
13
+ .fa.pull-left{margin-right:.3em}
14
+ .fa.pull-right{margin-left:.3em}
15
+ .fa-spin{-webkit-animation:spin 2s infinite linear;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;animation:spin 2s infinite linear}
16
+ @-moz-keyframes spin{0%{-moz-transform:rotate(0deg)} 100%{-moz-transform:rotate(359deg)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg)} 100%{-webkit-transform:rotate(359deg)}}@-o-keyframes spin{0%{-o-transform:rotate(0deg)} 100%{-o-transform:rotate(359deg)}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg)} 100%{-ms-transform:rotate(359deg)}}@keyframes spin{0%{transform:rotate(0deg)} 100%{transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg)}
17
+ .fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}
18
+ .fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg)}
19
+ .fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1)}
20
+ .fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1)}
21
+ .fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}
22
+ .fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}
23
+ .fa-stack-1x{line-height:inherit}
24
+ .fa-stack-2x{font-size:2em}
25
+ .fa-inverse{color:#fff}
26
+ .fa-glass:before{content:"\f000"}
27
+ .fa-music:before{content:"\f001"}
28
+ .fa-search:before{content:"\f002"}
29
+ .fa-envelope-o:before{content:"\f003"}
30
+ .fa-heart:before{content:"\f004"}
31
+ .fa-star:before{content:"\f005"}
32
+ .fa-star-o:before{content:"\f006"}
33
+ .fa-user:before{content:"\f007"}
34
+ .fa-film:before{content:"\f008"}
35
+ .fa-th-large:before{content:"\f009"}
36
+ .fa-th:before{content:"\f00a"}
37
+ .fa-th-list:before{content:"\f00b"}
38
+ .fa-check:before{content:"\f00c"}
39
+ .fa-times:before{content:"\f00d"}
40
+ .fa-search-plus:before{content:"\f00e"}
41
+ .fa-search-minus:before{content:"\f010"}
42
+ .fa-power-off:before{content:"\f011"}
43
+ .fa-signal:before{content:"\f012"}
44
+ .fa-gear:before,.fa-cog:before{content:"\f013"}
45
+ .fa-trash-o:before{content:"\f014"}
46
+ .fa-home:before{content:"\f015"}
47
+ .fa-file-o:before{content:"\f016"}
48
+ .fa-clock-o:before{content:"\f017"}
49
+ .fa-road:before{content:"\f018"}
50
+ .fa-download:before{content:"\f019"}
51
+ .fa-arrow-circle-o-down:before{content:"\f01a"}
52
+ .fa-arrow-circle-o-up:before{content:"\f01b"}
53
+ .fa-inbox:before{content:"\f01c"}
54
+ .fa-play-circle-o:before{content:"\f01d"}
55
+ .fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}
56
+ .fa-refresh:before{content:"\f021"}
57
+ .fa-list-alt:before{content:"\f022"}
58
+ .fa-lock:before{content:"\f023"}
59
+ .fa-flag:before{content:"\f024"}
60
+ .fa-headphones:before{content:"\f025"}
61
+ .fa-volume-off:before{content:"\f026"}
62
+ .fa-volume-down:before{content:"\f027"}
63
+ .fa-volume-up:before{content:"\f028"}
64
+ .fa-qrcode:before{content:"\f029"}
65
+ .fa-barcode:before{content:"\f02a"}
66
+ .fa-tag:before{content:"\f02b"}
67
+ .fa-tags:before{content:"\f02c"}
68
+ .fa-book:before{content:"\f02d"}
69
+ .fa-bookmark:before{content:"\f02e"}
70
+ .fa-print:before{content:"\f02f"}
71
+ .fa-camera:before{content:"\f030"}
72
+ .fa-font:before{content:"\f031"}
73
+ .fa-bold:before{content:"\f032"}
74
+ .fa-italic:before{content:"\f033"}
75
+ .fa-text-height:before{content:"\f034"}
76
+ .fa-text-width:before{content:"\f035"}
77
+ .fa-align-left:before{content:"\f036"}
78
+ .fa-align-center:before{content:"\f037"}
79
+ .fa-align-right:before{content:"\f038"}
80
+ .fa-align-justify:before{content:"\f039"}
81
+ .fa-list:before{content:"\f03a"}
82
+ .fa-dedent:before,.fa-outdent:before{content:"\f03b"}
83
+ .fa-indent:before{content:"\f03c"}
84
+ .fa-video-camera:before{content:"\f03d"}
85
+ .fa-picture-o:before{content:"\f03e"}
86
+ .fa-pencil:before{content:"\f040"}
87
+ .fa-map-marker:before{content:"\f041"}
88
+ .fa-adjust:before{content:"\f042"}
89
+ .fa-tint:before{content:"\f043"}
90
+ .fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}
91
+ .fa-share-square-o:before{content:"\f045"}
92
+ .fa-check-square-o:before{content:"\f046"}
93
+ .fa-move:before{content:"\f047"}
94
+ .fa-step-backward:before{content:"\f048"}
95
+ .fa-fast-backward:before{content:"\f049"}
96
+ .fa-backward:before{content:"\f04a"}
97
+ .fa-play:before{content:"\f04b"}
98
+ .fa-pause:before{content:"\f04c"}
99
+ .fa-stop:before{content:"\f04d"}
100
+ .fa-forward:before{content:"\f04e"}
101
+ .fa-fast-forward:before{content:"\f050"}
102
+ .fa-step-forward:before{content:"\f051"}
103
+ .fa-eject:before{content:"\f052"}
104
+ .fa-chevron-left:before{content:"\f053"}
105
+ .fa-chevron-right:before{content:"\f054"}
106
+ .fa-plus-circle:before{content:"\f055"}
107
+ .fa-minus-circle:before{content:"\f056"}
108
+ .fa-times-circle:before{content:"\f057"}
109
+ .fa-check-circle:before{content:"\f058"}
110
+ .fa-question-circle:before{content:"\f059"}
111
+ .fa-info-circle:before{content:"\f05a"}
112
+ .fa-crosshairs:before{content:"\f05b"}
113
+ .fa-times-circle-o:before{content:"\f05c"}
114
+ .fa-check-circle-o:before{content:"\f05d"}
115
+ .fa-ban:before{content:"\f05e"}
116
+ .fa-arrow-left:before{content:"\f060"}
117
+ .fa-arrow-right:before{content:"\f061"}
118
+ .fa-arrow-up:before{content:"\f062"}
119
+ .fa-arrow-down:before{content:"\f063"}
120
+ .fa-mail-forward:before,.fa-share:before{content:"\f064"}
121
+ .fa-resize-full:before{content:"\f065"}
122
+ .fa-resize-small:before{content:"\f066"}
123
+ .fa-plus:before{content:"\f067"}
124
+ .fa-minus:before{content:"\f068"}
125
+ .fa-asterisk:before{content:"\f069"}
126
+ .fa-exclamation-circle:before{content:"\f06a"}
127
+ .fa-gift:before{content:"\f06b"}
128
+ .fa-leaf:before{content:"\f06c"}
129
+ .fa-fire:before{content:"\f06d"}
130
+ .fa-eye:before{content:"\f06e"}
131
+ .fa-eye-slash:before{content:"\f070"}
132
+ .fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}
133
+ .fa-plane:before{content:"\f072"}
134
+ .fa-calendar:before{content:"\f073"}
135
+ .fa-random:before{content:"\f074"}
136
+ .fa-comment:before{content:"\f075"}
137
+ .fa-magnet:before{content:"\f076"}
138
+ .fa-chevron-up:before{content:"\f077"}
139
+ .fa-chevron-down:before{content:"\f078"}
140
+ .fa-retweet:before{content:"\f079"}
141
+ .fa-shopping-cart:before{content:"\f07a"}
142
+ .fa-folder:before{content:"\f07b"}
143
+ .fa-folder-open:before{content:"\f07c"}
144
+ .fa-resize-vertical:before{content:"\f07d"}
145
+ .fa-resize-horizontal:before{content:"\f07e"}
146
+ .fa-bar-chart-o:before{content:"\f080"}
147
+ .fa-twitter-square:before{content:"\f081"}
148
+ .fa-facebook-square:before{content:"\f082"}
149
+ .fa-camera-retro:before{content:"\f083"}
150
+ .fa-key:before{content:"\f084"}
151
+ .fa-gears:before,.fa-cogs:before{content:"\f085"}
152
+ .fa-comments:before{content:"\f086"}
153
+ .fa-thumbs-o-up:before{content:"\f087"}
154
+ .fa-thumbs-o-down:before{content:"\f088"}
155
+ .fa-star-half:before{content:"\f089"}
156
+ .fa-heart-o:before{content:"\f08a"}
157
+ .fa-sign-out:before{content:"\f08b"}
158
+ .fa-linkedin-square:before{content:"\f08c"}
159
+ .fa-thumb-tack:before{content:"\f08d"}
160
+ .fa-external-link:before{content:"\f08e"}
161
+ .fa-sign-in:before{content:"\f090"}
162
+ .fa-trophy:before{content:"\f091"}
163
+ .fa-github-square:before{content:"\f092"}
164
+ .fa-upload:before{content:"\f093"}
165
+ .fa-lemon-o:before{content:"\f094"}
166
+ .fa-phone:before{content:"\f095"}
167
+ .fa-square-o:before{content:"\f096"}
168
+ .fa-bookmark-o:before{content:"\f097"}
169
+ .fa-phone-square:before{content:"\f098"}
170
+ .fa-twitter:before{content:"\f099"}
171
+ .fa-facebook:before{content:"\f09a"}
172
+ .fa-github:before{content:"\f09b"}
173
+ .fa-unlock:before{content:"\f09c"}
174
+ .fa-credit-card:before{content:"\f09d"}
175
+ .fa-rss:before{content:"\f09e"}
176
+ .fa-hdd-o:before{content:"\f0a0"}
177
+ .fa-bullhorn:before{content:"\f0a1"}
178
+ .fa-bell:before{content:"\f0f3"}
179
+ .fa-certificate:before{content:"\f0a3"}
180
+ .fa-hand-o-right:before{content:"\f0a4"}
181
+ .fa-hand-o-left:before{content:"\f0a5"}
182
+ .fa-hand-o-up:before{content:"\f0a6"}
183
+ .fa-hand-o-down:before{content:"\f0a7"}
184
+ .fa-arrow-circle-left:before{content:"\f0a8"}
185
+ .fa-arrow-circle-right:before{content:"\f0a9"}
186
+ .fa-arrow-circle-up:before{content:"\f0aa"}
187
+ .fa-arrow-circle-down:before{content:"\f0ab"}
188
+ .fa-globe:before{content:"\f0ac"}
189
+ .fa-wrench:before{content:"\f0ad"}
190
+ .fa-tasks:before{content:"\f0ae"}
191
+ .fa-filter:before{content:"\f0b0"}
192
+ .fa-briefcase:before{content:"\f0b1"}
193
+ .fa-fullscreen:before{content:"\f0b2"}
194
+ .fa-group:before{content:"\f0c0"}
195
+ .fa-chain:before,.fa-link:before{content:"\f0c1"}
196
+ .fa-cloud:before{content:"\f0c2"}
197
+ .fa-flask:before{content:"\f0c3"}
198
+ .fa-cut:before,.fa-scissors:before{content:"\f0c4"}
199
+ .fa-copy:before,.fa-files-o:before{content:"\f0c5"}
200
+ .fa-paperclip:before{content:"\f0c6"}
201
+ .fa-save:before,.fa-floppy-o:before{content:"\f0c7"}
202
+ .fa-square:before{content:"\f0c8"}
203
+ .fa-reorder:before{content:"\f0c9"}
204
+ .fa-list-ul:before{content:"\f0ca"}
205
+ .fa-list-ol:before{content:"\f0cb"}
206
+ .fa-strikethrough:before{content:"\f0cc"}
207
+ .fa-underline:before{content:"\f0cd"}
208
+ .fa-table:before{content:"\f0ce"}
209
+ .fa-magic:before{content:"\f0d0"}
210
+ .fa-truck:before{content:"\f0d1"}
211
+ .fa-pinterest:before{content:"\f0d2"}
212
+ .fa-pinterest-square:before{content:"\f0d3"}
213
+ .fa-google-plus-square:before{content:"\f0d4"}
214
+ .fa-google-plus:before{content:"\f0d5"}
215
+ .fa-money:before{content:"\f0d6"}
216
+ .fa-caret-down:before{content:"\f0d7"}
217
+ .fa-caret-up:before{content:"\f0d8"}
218
+ .fa-caret-left:before{content:"\f0d9"}
219
+ .fa-caret-right:before{content:"\f0da"}
220
+ .fa-columns:before{content:"\f0db"}
221
+ .fa-unsorted:before,.fa-sort:before{content:"\f0dc"}
222
+ .fa-sort-down:before,.fa-sort-asc:before{content:"\f0dd"}
223
+ .fa-sort-up:before,.fa-sort-desc:before{content:"\f0de"}
224
+ .fa-envelope:before{content:"\f0e0"}
225
+ .fa-linkedin:before{content:"\f0e1"}
226
+ .fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}
227
+ .fa-legal:before,.fa-gavel:before{content:"\f0e3"}
228
+ .fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}
229
+ .fa-comment-o:before{content:"\f0e5"}
230
+ .fa-comments-o:before{content:"\f0e6"}
231
+ .fa-flash:before,.fa-bolt:before{content:"\f0e7"}
232
+ .fa-sitemap:before{content:"\f0e8"}
233
+ .fa-umbrella:before{content:"\f0e9"}
234
+ .fa-paste:before,.fa-clipboard:before{content:"\f0ea"}
235
+ .fa-lightbulb-o:before{content:"\f0eb"}
236
+ .fa-exchange:before{content:"\f0ec"}
237
+ .fa-cloud-download:before{content:"\f0ed"}
238
+ .fa-cloud-upload:before{content:"\f0ee"}
239
+ .fa-user-md:before{content:"\f0f0"}
240
+ .fa-stethoscope:before{content:"\f0f1"}
241
+ .fa-suitcase:before{content:"\f0f2"}
242
+ .fa-bell-o:before{content:"\f0a2"}
243
+ .fa-coffee:before{content:"\f0f4"}
244
+ .fa-cutlery:before{content:"\f0f5"}
245
+ .fa-file-text-o:before{content:"\f0f6"}
246
+ .fa-building:before{content:"\f0f7"}
247
+ .fa-hospital:before{content:"\f0f8"}
248
+ .fa-ambulance:before{content:"\f0f9"}
249
+ .fa-medkit:before{content:"\f0fa"}
250
+ .fa-fighter-jet:before{content:"\f0fb"}
251
+ .fa-beer:before{content:"\f0fc"}
252
+ .fa-h-square:before{content:"\f0fd"}
253
+ .fa-plus-square:before{content:"\f0fe"}
254
+ .fa-angle-double-left:before{content:"\f100"}
255
+ .fa-angle-double-right:before{content:"\f101"}
256
+ .fa-angle-double-up:before{content:"\f102"}
257
+ .fa-angle-double-down:before{content:"\f103"}
258
+ .fa-angle-left:before{content:"\f104"}
259
+ .fa-angle-right:before{content:"\f105"}
260
+ .fa-angle-up:before{content:"\f106"}
261
+ .fa-angle-down:before{content:"\f107"}
262
+ .fa-desktop:before{content:"\f108"}
263
+ .fa-laptop:before{content:"\f109"}
264
+ .fa-tablet:before{content:"\f10a"}
265
+ .fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}
266
+ .fa-circle-o:before{content:"\f10c"}
267
+ .fa-quote-left:before{content:"\f10d"}
268
+ .fa-quote-right:before{content:"\f10e"}
269
+ .fa-spinner:before{content:"\f110"}
270
+ .fa-circle:before{content:"\f111"}
271
+ .fa-mail-reply:before,.fa-reply:before{content:"\f112"}
272
+ .fa-github-alt:before{content:"\f113"}
273
+ .fa-folder-o:before{content:"\f114"}
274
+ .fa-folder-open-o:before{content:"\f115"}
275
+ .fa-expand-o:before{content:"\f116"}
276
+ .fa-collapse-o:before{content:"\f117"}
277
+ .fa-smile-o:before{content:"\f118"}
278
+ .fa-frown-o:before{content:"\f119"}
279
+ .fa-meh-o:before{content:"\f11a"}
280
+ .fa-gamepad:before{content:"\f11b"}
281
+ .fa-keyboard-o:before{content:"\f11c"}
282
+ .fa-flag-o:before{content:"\f11d"}
283
+ .fa-flag-checkered:before{content:"\f11e"}
284
+ .fa-terminal:before{content:"\f120"}
285
+ .fa-code:before{content:"\f121"}
286
+ .fa-reply-all:before{content:"\f122"}
287
+ .fa-mail-reply-all:before{content:"\f122"}
288
+ .fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}
289
+ .fa-location-arrow:before{content:"\f124"}
290
+ .fa-crop:before{content:"\f125"}
291
+ .fa-code-fork:before{content:"\f126"}
292
+ .fa-unlink:before,.fa-chain-broken:before{content:"\f127"}
293
+ .fa-question:before{content:"\f128"}
294
+ .fa-info:before{content:"\f129"}
295
+ .fa-exclamation:before{content:"\f12a"}
296
+ .fa-superscript:before{content:"\f12b"}
297
+ .fa-subscript:before{content:"\f12c"}
298
+ .fa-eraser:before{content:"\f12d"}
299
+ .fa-puzzle-piece:before{content:"\f12e"}
300
+ .fa-microphone:before{content:"\f130"}
301
+ .fa-microphone-slash:before{content:"\f131"}
302
+ .fa-shield:before{content:"\f132"}
303
+ .fa-calendar-o:before{content:"\f133"}
304
+ .fa-fire-extinguisher:before{content:"\f134"}
305
+ .fa-rocket:before{content:"\f135"}
306
+ .fa-maxcdn:before{content:"\f136"}
307
+ .fa-chevron-circle-left:before{content:"\f137"}
308
+ .fa-chevron-circle-right:before{content:"\f138"}
309
+ .fa-chevron-circle-up:before{content:"\f139"}
310
+ .fa-chevron-circle-down:before{content:"\f13a"}
311
+ .fa-html5:before{content:"\f13b"}
312
+ .fa-css3:before{content:"\f13c"}
313
+ .fa-anchor:before{content:"\f13d"}
314
+ .fa-unlock-o:before{content:"\f13e"}
315
+ .fa-bullseye:before{content:"\f140"}
316
+ .fa-ellipsis-horizontal:before{content:"\f141"}
317
+ .fa-ellipsis-vertical:before{content:"\f142"}
318
+ .fa-rss-square:before{content:"\f143"}
319
+ .fa-play-circle:before{content:"\f144"}
320
+ .fa-ticket:before{content:"\f145"}
321
+ .fa-minus-square:before{content:"\f146"}
322
+ .fa-minus-square-o:before{content:"\f147"}
323
+ .fa-level-up:before{content:"\f148"}
324
+ .fa-level-down:before{content:"\f149"}
325
+ .fa-check-square:before{content:"\f14a"}
326
+ .fa-pencil-square:before{content:"\f14b"}
327
+ .fa-external-link-square:before{content:"\f14c"}
328
+ .fa-share-square:before{content:"\f14d"}
329
+ .fa-compass:before{content:"\f14e"}
330
+ .fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}
331
+ .fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}
332
+ .fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}
333
+ .fa-euro:before,.fa-eur:before{content:"\f153"}
334
+ .fa-gbp:before{content:"\f154"}
335
+ .fa-dollar:before,.fa-usd:before{content:"\f155"}
336
+ .fa-rupee:before,.fa-inr:before{content:"\f156"}
337
+ .fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}
338
+ .fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}
339
+ .fa-won:before,.fa-krw:before{content:"\f159"}
340
+ .fa-bitcoin:before,.fa-btc:before{content:"\f15a"}
341
+ .fa-file:before{content:"\f15b"}
342
+ .fa-file-text:before{content:"\f15c"}
343
+ .fa-sort-alpha-asc:before{content:"\f15d"}
344
+ .fa-sort-alpha-desc:before{content:"\f15e"}
345
+ .fa-sort-amount-asc:before{content:"\f160"}
346
+ .fa-sort-amount-desc:before{content:"\f161"}
347
+ .fa-sort-numeric-asc:before{content:"\f162"}
348
+ .fa-sort-numeric-desc:before{content:"\f163"}
349
+ .fa-thumbs-up:before{content:"\f164"}
350
+ .fa-thumbs-down:before{content:"\f165"}
351
+ .fa-youtube-square:before{content:"\f166"}
352
+ .fa-youtube:before{content:"\f167"}
353
+ .fa-xing:before{content:"\f168"}
354
+ .fa-xing-square:before{content:"\f169"}
355
+ .fa-youtube-play:before{content:"\f16a"}
356
+ .fa-dropbox:before{content:"\f16b"}
357
+ .fa-stack-overflow:before{content:"\f16c"}
358
+ .fa-instagram:before{content:"\f16d"}
359
+ .fa-flickr:before{content:"\f16e"}
360
+ .fa-adn:before{content:"\f170"}
361
+ .fa-bitbucket:before{content:"\f171"}
362
+ .fa-bitbucket-square:before{content:"\f172"}
363
+ .fa-tumblr:before{content:"\f173"}
364
+ .fa-tumblr-square:before{content:"\f174"}
365
+ .fa-long-arrow-down:before{content:"\f175"}
366
+ .fa-long-arrow-up:before{content:"\f176"}
367
+ .fa-long-arrow-left:before{content:"\f177"}
368
+ .fa-long-arrow-right:before{content:"\f178"}
369
+ .fa-apple:before{content:"\f179"}
370
+ .fa-windows:before{content:"\f17a"}
371
+ .fa-android:before{content:"\f17b"}
372
+ .fa-linux:before{content:"\f17c"}
373
+ .fa-dribbble:before{content:"\f17d"}
374
+ .fa-skype:before{content:"\f17e"}
375
+ .fa-foursquare:before{content:"\f180"}
376
+ .fa-trello:before{content:"\f181"}
377
+ .fa-female:before{content:"\f182"}
378
+ .fa-male:before{content:"\f183"}
379
+ .fa-gittip:before{content:"\f184"}
380
+ .fa-sun-o:before{content:"\f185"}
381
+ .fa-moon-o:before{content:"\f186"}
382
+ .fa-archive:before{content:"\f187"}
383
+ .fa-bug:before{content:"\f188"}
384
+ .fa-vk:before{content:"\f189"}
385
+ .fa-weibo:before{content:"\f18a"}
386
+ .fa-renren:before{content:"\f18b"}
387
+ .fa-pagelines:before{content:"\f18c"}
388
+ .fa-stack-exchange:before{content:"\f18d"}
389
+ .fa-arrow-circle-o-right:before{content:"\f18e"}
390
+ .fa-arrow-circle-o-left:before{content:"\f190"}
391
+ .fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}
392
+ .fa-dot-circle-o:before{content:"\f192"}
393
+ .fa-wheelchair:before{content:"\f193"}
394
+ .fa-vimeo-square:before{content:"\f194"}
395
+ .fa-turkish-lira:before,.fa-try:before{content:"\f195"}
css/font-awesome-4.0.1/fonts/FontAwesome.otf ADDED
Binary file
css/font-awesome-4.0.1/fonts/fontawesome-webfont.eot ADDED
Binary file
css/font-awesome-4.0.1/fonts/fontawesome-webfont.svg ADDED
@@ -0,0 +1,414 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata></metadata>
5
+ <defs>
6
+ <font id="fontawesomeregular" horiz-adv-x="1536" >
7
+ <font-face units-per-em="1792" ascent="1536" descent="-256" />
8
+ <missing-glyph horiz-adv-x="448" />
9
+ <glyph unicode=" " horiz-adv-x="448" />
10
+ <glyph unicode="&#x09;" horiz-adv-x="448" />
11
+ <glyph unicode="&#xa0;" horiz-adv-x="448" />
12
+ <glyph unicode="&#xa8;" horiz-adv-x="1792" />
13
+ <glyph unicode="&#xa9;" horiz-adv-x="1792" />
14
+ <glyph unicode="&#xae;" horiz-adv-x="1792" />
15
+ <glyph unicode="&#xb4;" horiz-adv-x="1792" />
16
+ <glyph unicode="&#xc6;" horiz-adv-x="1792" />
17
+ <glyph unicode="&#x2000;" horiz-adv-x="768" />
18
+ <glyph unicode="&#x2001;" />
19
+ <glyph unicode="&#x2002;" horiz-adv-x="768" />
20
+ <glyph unicode="&#x2003;" />
21
+ <glyph unicode="&#x2004;" horiz-adv-x="512" />
22
+ <glyph unicode="&#x2005;" horiz-adv-x="384" />
23
+ <glyph unicode="&#x2006;" horiz-adv-x="256" />
24
+ <glyph unicode="&#x2007;" horiz-adv-x="256" />
25
+ <glyph unicode="&#x2008;" horiz-adv-x="192" />
26
+ <glyph unicode="&#x2009;" horiz-adv-x="307" />
27
+ <glyph unicode="&#x200a;" horiz-adv-x="85" />
28
+ <glyph unicode="&#x202f;" horiz-adv-x="307" />
29
+ <glyph unicode="&#x205f;" horiz-adv-x="384" />
30
+ <glyph unicode="&#x2122;" horiz-adv-x="1792" />
31
+ <glyph unicode="&#x221e;" horiz-adv-x="1792" />
32
+ <glyph unicode="&#x2260;" horiz-adv-x="1792" />
33
+ <glyph unicode="&#xe000;" horiz-adv-x="500" d="M0 0z" />
34
+ <glyph unicode="&#xf000;" horiz-adv-x="1792" d="M1699 1350q0 -35 -43 -78l-632 -632v-768h320q26 0 45 -19t19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45t45 19h320v768l-632 632q-43 43 -43 78q0 23 18 36.5t38 17.5t43 4h1408q23 0 43 -4t38 -17.5t18 -36.5z" />
35
+ <glyph unicode="&#xf001;" d="M1536 1312v-1120q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v537l-768 -237v-709q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89 t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v967q0 31 19 56.5t49 35.5l832 256q12 4 28 4q40 0 68 -28t28 -68z" />
36
+ <glyph unicode="&#xf002;" horiz-adv-x="1664" d="M1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -52 -38 -90t-90 -38q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5 t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
37
+ <glyph unicode="&#xf003;" horiz-adv-x="1792" d="M1664 32v768q-32 -36 -69 -66q-268 -206 -426 -338q-51 -43 -83 -67t-86.5 -48.5t-102.5 -24.5h-1h-1q-48 0 -102.5 24.5t-86.5 48.5t-83 67q-158 132 -426 338q-37 30 -69 66v-768q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1664 1083v11v13.5t-0.5 13 t-3 12.5t-5.5 9t-9 7.5t-14 2.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5q0 -168 147 -284q193 -152 401 -317q6 -5 35 -29.5t46 -37.5t44.5 -31.5t50.5 -27.5t43 -9h1h1q20 0 43 9t50.5 27.5t44.5 31.5t46 37.5t35 29.5q208 165 401 317q54 43 100.5 115.5t46.5 131.5z M1792 1120v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" />
38
+ <glyph unicode="&#xf004;" horiz-adv-x="1792" d="M896 -128q-26 0 -44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124t127 -344q0 -221 -229 -450l-623 -600 q-18 -18 -44 -18z" />
39
+ <glyph unicode="&#xf005;" horiz-adv-x="1664" d="M1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -21 -10.5 -35.5t-30.5 -14.5q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455 l502 -73q56 -9 56 -46z" />
40
+ <glyph unicode="&#xf006;" horiz-adv-x="1664" d="M1137 532l306 297l-422 62l-189 382l-189 -382l-422 -62l306 -297l-73 -421l378 199l377 -199zM1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -50 -41 -50q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500 l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455l502 -73q56 -9 56 -46z" />
41
+ <glyph unicode="&#xf007;" horiz-adv-x="1408" d="M1408 131q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5t43 97.5t62 81t85.5 53.5t111.5 20q9 0 42 -21.5t74.5 -48t108 -48t133.5 -21.5t133.5 21.5t108 48t74.5 48t42 21.5q61 0 111.5 -20t85.5 -53.5t62 -81 t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5z" />
42
+ <glyph unicode="&#xf008;" horiz-adv-x="1920" d="M384 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 320v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 704v128q0 26 -19 45t-45 19h-128 q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 -64v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM384 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45 t45 -19h128q26 0 45 19t19 45zM1792 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 704v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1792 320v128 q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 704v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19 t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1920 1248v-1344q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1344q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
43
+ <glyph unicode="&#xf009;" horiz-adv-x="1664" d="M768 512v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM768 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 512v-384q0 -52 -38 -90t-90 -38 h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
44
+ <glyph unicode="&#xf00a;" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 288v-192q0 -40 -28 -68t-68 -28h-320 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68z" />
45
+ <glyph unicode="&#xf00b;" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-960 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h960q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68z" />
46
+ <glyph unicode="&#xf00c;" horiz-adv-x="1792" d="M1671 970q0 -40 -28 -68l-724 -724l-136 -136q-28 -28 -68 -28t-68 28l-136 136l-362 362q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -295l656 657q28 28 68 28t68 -28l136 -136q28 -28 28 -68z" />
47
+ <glyph unicode="&#xf00d;" horiz-adv-x="1408" d="M1298 214q0 -40 -28 -68l-136 -136q-28 -28 -68 -28t-68 28l-294 294l-294 -294q-28 -28 -68 -28t-68 28l-136 136q-28 28 -28 68t28 68l294 294l-294 294q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -294l294 294q28 28 68 28t68 -28l136 -136q28 -28 28 -68 t-28 -68l-294 -294l294 -294q28 -28 28 -68z" />
48
+ <glyph unicode="&#xf00e;" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-224q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v224h-224q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h224v224q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-224h224 q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5 t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
49
+ <glyph unicode="&#xf010;" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-576q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h576q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5z M1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z " />
50
+ <glyph unicode="&#xf011;" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61t-298 61t-245 164t-164 245t-61 298q0 182 80.5 343t226.5 270q43 32 95.5 25t83.5 -50q32 -42 24.5 -94.5t-49.5 -84.5q-98 -74 -151.5 -181t-53.5 -228q0 -104 40.5 -198.5t109.5 -163.5t163.5 -109.5 t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5q0 121 -53.5 228t-151.5 181q-42 32 -49.5 84.5t24.5 94.5q31 43 84 50t95 -25q146 -109 226.5 -270t80.5 -343zM896 1408v-640q0 -52 -38 -90t-90 -38t-90 38t-38 90v640q0 52 38 90t90 38t90 -38t38 -90z" />
51
+ <glyph unicode="&#xf012;" horiz-adv-x="1792" d="M256 96v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 224v-320q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 480v-576q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23 v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1408 864v-960q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1376v-1472q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1472q0 14 9 23t23 9h192q14 0 23 -9t9 -23z" />
52
+ <glyph unicode="&#xf013;" d="M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1536 749v-222q0 -12 -8 -23t-20 -13l-185 -28q-19 -54 -39 -91q35 -50 107 -138q10 -12 10 -25t-9 -23q-27 -37 -99 -108t-94 -71q-12 0 -26 9l-138 108q-44 -23 -91 -38 q-16 -136 -29 -186q-7 -28 -36 -28h-222q-14 0 -24.5 8.5t-11.5 21.5l-28 184q-49 16 -90 37l-141 -107q-10 -9 -25 -9q-14 0 -25 11q-126 114 -165 168q-7 10 -7 23q0 12 8 23q15 21 51 66.5t54 70.5q-27 50 -41 99l-183 27q-13 2 -21 12.5t-8 23.5v222q0 12 8 23t19 13 l186 28q14 46 39 92q-40 57 -107 138q-10 12 -10 24q0 10 9 23q26 36 98.5 107.5t94.5 71.5q13 0 26 -10l138 -107q44 23 91 38q16 136 29 186q7 28 36 28h222q14 0 24.5 -8.5t11.5 -21.5l28 -184q49 -16 90 -37l142 107q9 9 24 9q13 0 25 -10q129 -119 165 -170q7 -8 7 -22 q0 -12 -8 -23q-15 -21 -51 -66.5t-54 -70.5q26 -50 41 -98l183 -28q13 -2 21 -12.5t8 -23.5z" />
53
+ <glyph unicode="&#xf014;" horiz-adv-x="1408" d="M512 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM768 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1024 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1152 76v948h-896v-948q0 -22 7 -40.5t14.5 -27t10.5 -8.5h832q3 0 10.5 8.5t14.5 27t7 40.5zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832 q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" />
54
+ <glyph unicode="&#xf015;" horiz-adv-x="1664" d="M1408 544v-480q0 -26 -19 -45t-45 -19h-384v384h-256v-384h-384q-26 0 -45 19t-19 45v480q0 1 0.5 3t0.5 3l575 474l575 -474q1 -2 1 -6zM1631 613l-62 -74q-8 -9 -21 -11h-3q-13 0 -21 7l-692 577l-692 -577q-12 -8 -24 -7q-13 2 -21 11l-62 74q-8 10 -7 23.5t11 21.5 l719 599q32 26 76 26t76 -26l244 -204v195q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-408l219 -182q10 -8 11 -21.5t-7 -23.5z" />
55
+ <glyph unicode="&#xf016;" horiz-adv-x="1280" d="M128 0h1024v768h-416q-40 0 -68 28t-28 68v416h-512v-1280zM768 896h376q-10 29 -22 41l-313 313q-12 12 -41 22v-376zM1280 864v-896q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h640q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88z " />
56
+ <glyph unicode="&#xf017;" d="M896 992v-448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
57
+ <glyph unicode="&#xf018;" horiz-adv-x="1920" d="M1111 540v4l-24 320q-1 13 -11 22.5t-23 9.5h-186q-13 0 -23 -9.5t-11 -22.5l-24 -320v-4q-1 -12 8 -20t21 -8h244q12 0 21 8t8 20zM1870 73q0 -73 -46 -73h-704q13 0 22 9.5t8 22.5l-20 256q-1 13 -11 22.5t-23 9.5h-272q-13 0 -23 -9.5t-11 -22.5l-20 -256 q-1 -13 8 -22.5t22 -9.5h-704q-46 0 -46 73q0 54 26 116l417 1044q8 19 26 33t38 14h339q-13 0 -23 -9.5t-11 -22.5l-15 -192q-1 -14 8 -23t22 -9h166q13 0 22 9t8 23l-15 192q-1 13 -11 22.5t-23 9.5h339q20 0 38 -14t26 -33l417 -1044q26 -62 26 -116z" />
58
+ <glyph unicode="&#xf019;" horiz-adv-x="1664" d="M1280 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 416v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h465l135 -136 q58 -56 136 -56t136 56l136 136h464q40 0 68 -28t28 -68zM1339 985q17 -41 -14 -70l-448 -448q-18 -19 -45 -19t-45 19l-448 448q-31 29 -14 70q17 39 59 39h256v448q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-448h256q42 0 59 -39z" />
59
+ <glyph unicode="&#xf01a;" d="M1120 608q0 -12 -10 -24l-319 -319q-11 -9 -23 -9t-23 9l-320 320q-15 16 -7 35q8 20 30 20h192v352q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-352h192q14 0 23 -9t9 -23zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273 t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
60
+ <glyph unicode="&#xf01b;" d="M1118 660q-8 -20 -30 -20h-192v-352q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v352h-192q-14 0 -23 9t-9 23q0 12 10 24l319 319q11 9 23 9t23 -9l320 -320q15 -16 7 -35zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198 t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
61
+ <glyph unicode="&#xf01c;" d="M1023 576h316q-1 3 -2.5 8t-2.5 8l-212 496h-708l-212 -496q-1 -2 -2.5 -8t-2.5 -8h316l95 -192h320zM1536 546v-482q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v482q0 62 25 123l238 552q10 25 36.5 42t52.5 17h832q26 0 52.5 -17t36.5 -42l238 -552 q25 -61 25 -123z" />
62
+ <glyph unicode="&#xf01d;" d="M1184 640q0 -37 -32 -55l-544 -320q-15 -9 -32 -9q-16 0 -32 8q-32 19 -32 56v640q0 37 32 56q33 18 64 -1l544 -320q32 -18 32 -55zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
63
+ <glyph unicode="&#xf01e;" d="M1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l138 138q-148 137 -349 137q-104 0 -198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5q119 0 225 52t179 147q7 10 23 12q14 0 25 -9 l137 -138q9 -8 9.5 -20.5t-7.5 -22.5q-109 -132 -264 -204.5t-327 -72.5q-156 0 -298 61t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q147 0 284.5 -55.5t244.5 -156.5l130 129q29 31 70 14q39 -17 39 -59z" />
64
+ <glyph unicode="&#xf021;" d="M1511 480q0 -5 -1 -7q-64 -268 -268 -434.5t-478 -166.5q-146 0 -282.5 55t-243.5 157l-129 -129q-19 -19 -45 -19t-45 19t-19 45v448q0 26 19 45t45 19h448q26 0 45 -19t19 -45t-19 -45l-137 -137q71 -66 161 -102t187 -36q134 0 250 65t186 179q11 17 53 117 q8 23 30 23h192q13 0 22.5 -9.5t9.5 -22.5zM1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-26 0 -45 19t-19 45t19 45l138 138q-148 137 -349 137q-134 0 -250 -65t-186 -179q-11 -17 -53 -117q-8 -23 -30 -23h-199q-13 0 -22.5 9.5t-9.5 22.5v7q65 268 270 434.5t480 166.5 q146 0 284 -55.5t245 -156.5l130 129q19 19 45 19t45 -19t19 -45z" />
65
+ <glyph unicode="&#xf022;" horiz-adv-x="1792" d="M384 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M384 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1536 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5z M1536 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5zM1536 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5 t9.5 -22.5zM1664 160v832q0 13 -9.5 22.5t-22.5 9.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1792 1248v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47 t47 -113z" />
66
+ <glyph unicode="&#xf023;" horiz-adv-x="1152" d="M320 768h512v192q0 106 -75 181t-181 75t-181 -75t-75 -181v-192zM1152 672v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v192q0 184 132 316t316 132t316 -132t132 -316v-192h32q40 0 68 -28t28 -68z" />
67
+ <glyph unicode="&#xf024;" horiz-adv-x="1792" d="M320 1280q0 -72 -64 -110v-1266q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v1266q-64 38 -64 110q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -25 -12.5 -38.5t-39.5 -27.5q-215 -116 -369 -116q-61 0 -123.5 22t-108.5 48 t-115.5 48t-142.5 22q-192 0 -464 -146q-17 -9 -33 -9q-26 0 -45 19t-19 45v742q0 32 31 55q21 14 79 43q236 120 421 120q107 0 200 -29t219 -88q38 -19 88 -19q54 0 117.5 21t110 47t88 47t54.5 21q26 0 45 -19t19 -45z" />
68
+ <glyph unicode="&#xf025;" horiz-adv-x="1664" d="M1664 650q0 -166 -60 -314l-20 -49l-185 -33q-22 -83 -90.5 -136.5t-156.5 -53.5v-32q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-32q71 0 130 -35.5t93 -95.5l68 12q29 95 29 193q0 148 -88 279t-236.5 209t-315.5 78 t-315.5 -78t-236.5 -209t-88 -279q0 -98 29 -193l68 -12q34 60 93 95.5t130 35.5v32q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v32q-88 0 -156.5 53.5t-90.5 136.5l-185 33l-20 49q-60 148 -60 314q0 151 67 291t179 242.5 t266 163.5t320 61t320 -61t266 -163.5t179 -242.5t67 -291z" />
69
+ <glyph unicode="&#xf026;" horiz-adv-x="768" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45z" />
70
+ <glyph unicode="&#xf027;" horiz-adv-x="1152" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142z" />
71
+ <glyph unicode="&#xf028;" horiz-adv-x="1664" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142zM1408 640q0 -153 -85 -282.5t-225 -188.5q-13 -5 -25 -5q-27 0 -46 19t-19 45q0 39 39 59q56 29 76 44q74 54 115.5 135.5t41.5 173.5t-41.5 173.5 t-115.5 135.5q-20 15 -76 44q-39 20 -39 59q0 26 19 45t45 19q13 0 26 -5q140 -59 225 -188.5t85 -282.5zM1664 640q0 -230 -127 -422.5t-338 -283.5q-13 -5 -26 -5q-26 0 -45 19t-19 45q0 36 39 59q7 4 22.5 10.5t22.5 10.5q46 25 82 51q123 91 192 227t69 289t-69 289 t-192 227q-36 26 -82 51q-7 4 -22.5 10.5t-22.5 10.5q-39 23 -39 59q0 26 19 45t45 19q13 0 26 -5q211 -91 338 -283.5t127 -422.5z" />
72
+ <glyph unicode="&#xf029;" horiz-adv-x="1408" d="M384 384v-128h-128v128h128zM384 1152v-128h-128v128h128zM1152 1152v-128h-128v128h128zM128 129h384v383h-384v-383zM128 896h384v384h-384v-384zM896 896h384v384h-384v-384zM640 640v-640h-640v640h640zM1152 128v-128h-128v128h128zM1408 128v-128h-128v128h128z M1408 640v-384h-384v128h-128v-384h-128v640h384v-128h128v128h128zM640 1408v-640h-640v640h640zM1408 1408v-640h-640v640h640z" />
73
+ <glyph unicode="&#xf02a;" horiz-adv-x="1792" d="M63 0h-63v1408h63v-1408zM126 1h-32v1407h32v-1407zM220 1h-31v1407h31v-1407zM377 1h-31v1407h31v-1407zM534 1h-62v1407h62v-1407zM660 1h-31v1407h31v-1407zM723 1h-31v1407h31v-1407zM786 1h-31v1407h31v-1407zM943 1h-63v1407h63v-1407zM1100 1h-63v1407h63v-1407z M1226 1h-63v1407h63v-1407zM1352 1h-63v1407h63v-1407zM1446 1h-63v1407h63v-1407zM1635 1h-94v1407h94v-1407zM1698 1h-32v1407h32v-1407zM1792 0h-63v1408h63v-1408z" />
74
+ <glyph unicode="&#xf02b;" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91z" />
75
+ <glyph unicode="&#xf02c;" horiz-adv-x="1920" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91zM1899 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-36 0 -59 14t-53 45l470 470q37 37 37 90q0 52 -37 91l-715 714q-38 38 -102 64.5t-117 26.5h224q53 0 117 -26.5t102 -64.5l715 -714q37 -39 37 -91z" />
76
+ <glyph unicode="&#xf02d;" horiz-adv-x="1664" d="M1639 1058q40 -57 18 -129l-275 -906q-19 -64 -76.5 -107.5t-122.5 -43.5h-923q-77 0 -148.5 53.5t-99.5 131.5q-24 67 -2 127q0 4 3 27t4 37q1 8 -3 21.5t-3 19.5q2 11 8 21t16.5 23.5t16.5 23.5q23 38 45 91.5t30 91.5q3 10 0.5 30t-0.5 28q3 11 17 28t17 23 q21 36 42 92t25 90q1 9 -2.5 32t0.5 28q4 13 22 30.5t22 22.5q19 26 42.5 84.5t27.5 96.5q1 8 -3 25.5t-2 26.5q2 8 9 18t18 23t17 21q8 12 16.5 30.5t15 35t16 36t19.5 32t26.5 23.5t36 11.5t47.5 -5.5l-1 -3q38 9 51 9h761q74 0 114 -56t18 -130l-274 -906 q-36 -119 -71.5 -153.5t-128.5 -34.5h-869q-27 0 -38 -15q-11 -16 -1 -43q24 -70 144 -70h923q29 0 56 15.5t35 41.5l300 987q7 22 5 57q38 -15 59 -43zM575 1056q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5 t-16.5 -22.5zM492 800q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5t-16.5 -22.5z" />
77
+ <glyph unicode="&#xf02e;" horiz-adv-x="1280" d="M1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
78
+ <glyph unicode="&#xf02f;" horiz-adv-x="1664" d="M384 0h896v256h-896v-256zM384 640h896v384h-160q-40 0 -68 28t-28 68v160h-640v-640zM1536 576q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 576v-416q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-160q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68 v160h-224q-13 0 -22.5 9.5t-9.5 22.5v416q0 79 56.5 135.5t135.5 56.5h64v544q0 40 28 68t68 28h672q40 0 88 -20t76 -48l152 -152q28 -28 48 -76t20 -88v-256h64q79 0 135.5 -56.5t56.5 -135.5z" />
79
+ <glyph unicode="&#xf030;" horiz-adv-x="1920" d="M960 864q119 0 203.5 -84.5t84.5 -203.5t-84.5 -203.5t-203.5 -84.5t-203.5 84.5t-84.5 203.5t84.5 203.5t203.5 84.5zM1664 1280q106 0 181 -75t75 -181v-896q0 -106 -75 -181t-181 -75h-1408q-106 0 -181 75t-75 181v896q0 106 75 181t181 75h224l51 136 q19 49 69.5 84.5t103.5 35.5h512q53 0 103.5 -35.5t69.5 -84.5l51 -136h224zM960 128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
80
+ <glyph unicode="&#xf031;" horiz-adv-x="1664" d="M725 977l-170 -450q73 -1 153.5 -2t119 -1.5t52.5 -0.5l29 2q-32 95 -92 241q-53 132 -92 211zM21 -128h-21l2 79q22 7 80 18q89 16 110 31q20 16 48 68l237 616l280 724h75h53l11 -21l205 -480q103 -242 124 -297q39 -102 96 -235q26 -58 65 -164q24 -67 65 -149 q22 -49 35 -57q22 -19 69 -23q47 -6 103 -27q6 -39 6 -57q0 -14 -1 -26q-80 0 -192 8q-93 8 -189 8q-79 0 -135 -2l-200 -11l-58 -2q0 45 4 78l131 28q56 13 68 23q12 12 12 27t-6 32l-47 114l-92 228l-450 2q-29 -65 -104 -274q-23 -64 -23 -84q0 -31 17 -43 q26 -21 103 -32q3 0 13.5 -2t30 -5t40.5 -6q1 -28 1 -58q0 -17 -2 -27q-66 0 -349 20l-48 -8q-81 -14 -167 -14z" />
81
+ <glyph unicode="&#xf032;" horiz-adv-x="1408" d="M555 15q76 -32 140 -32q131 0 216 41t122 113q38 70 38 181q0 114 -41 180q-58 94 -141 126q-80 32 -247 32q-74 0 -101 -10v-144l-1 -173l3 -270q0 -15 12 -44zM541 761q43 -7 109 -7q175 0 264 65t89 224q0 112 -85 187q-84 75 -255 75q-52 0 -130 -13q0 -44 2 -77 q7 -122 6 -279l-1 -98q0 -43 1 -77zM0 -128l2 94q45 9 68 12q77 12 123 31q17 27 21 51q9 66 9 194l-2 497q-5 256 -9 404q-1 87 -11 109q-1 4 -12 12q-18 12 -69 15q-30 2 -114 13l-4 83l260 6l380 13l45 1q5 0 14 0.5t14 0.5q1 0 21.5 -0.5t40.5 -0.5h74q88 0 191 -27 q43 -13 96 -39q57 -29 102 -76q44 -47 65 -104t21 -122q0 -70 -32 -128t-95 -105q-26 -20 -150 -77q177 -41 267 -146q92 -106 92 -236q0 -76 -29 -161q-21 -62 -71 -117q-66 -72 -140 -108q-73 -36 -203 -60q-82 -15 -198 -11l-197 4q-84 2 -298 -11q-33 -3 -272 -11z" />
82
+ <glyph unicode="&#xf033;" horiz-adv-x="1024" d="M0 -126l17 85q4 1 77 20q76 19 116 39q29 37 41 101l27 139l56 268l12 64q8 44 17 84.5t16 67t12.5 46.5t9 30.5t3.5 11.5l29 157l16 63l22 135l8 50v38q-41 22 -144 28q-28 2 -38 4l19 103l317 -14q39 -2 73 -2q66 0 214 9q33 2 68 4.5t36 2.5q-2 -19 -6 -38 q-7 -29 -13 -51q-55 -19 -109 -31q-64 -16 -101 -31q-12 -31 -24 -88q-9 -44 -13 -82q-44 -199 -66 -306l-61 -311l-38 -158l-43 -235l-12 -45q-2 -7 1 -27q64 -15 119 -21q36 -5 66 -10q-1 -29 -7 -58q-7 -31 -9 -41q-18 0 -23 -1q-24 -2 -42 -2q-9 0 -28 3q-19 4 -145 17 l-198 2q-41 1 -174 -11q-74 -7 -98 -9z" />
83
+ <glyph unicode="&#xf034;" horiz-adv-x="1792" d="M81 1407l54 -27q20 -5 211 -5h130l19 3l115 1l215 -1h293l34 -2q14 -1 28 7t21 16l7 8l42 1q15 0 28 -1v-104.5t1 -131.5l1 -100l-1 -58q0 -32 -4 -51q-39 -15 -68 -18q-25 43 -54 128q-8 24 -15.5 62.5t-11.5 65.5t-6 29q-13 15 -27 19q-7 2 -42.5 2t-103.5 -1t-111 -1 q-34 0 -67 -5q-10 -97 -8 -136l1 -152v-332l3 -359l-1 -147q-1 -46 11 -85q49 -25 89 -32q2 0 18 -5t44 -13t43 -12q30 -8 50 -18q5 -45 5 -50q0 -10 -3 -29q-14 -1 -34 -1q-110 0 -187 10q-72 8 -238 8q-88 0 -233 -14q-48 -4 -70 -4q-2 22 -2 26l-1 26v9q21 33 79 49 q139 38 159 50q9 21 12 56q8 192 6 433l-5 428q-1 62 -0.5 118.5t0.5 102.5t-2 57t-6 15q-6 5 -14 6q-38 6 -148 6q-43 0 -100 -13.5t-73 -24.5q-13 -9 -22 -33t-22 -75t-24 -84q-6 -19 -19.5 -32t-20.5 -13q-44 27 -56 44v297v86zM1744 128q33 0 42 -18.5t-11 -44.5 l-126 -162q-20 -26 -49 -26t-49 26l-126 162q-20 26 -11 44.5t42 18.5h80v1024h-80q-33 0 -42 18.5t11 44.5l126 162q20 26 49 26t49 -26l126 -162q20 -26 11 -44.5t-42 -18.5h-80v-1024h80z" />
84
+ <glyph unicode="&#xf035;" d="M81 1407l54 -27q20 -5 211 -5h130l19 3l115 1l446 -1h318l34 -2q14 -1 28 7t21 16l7 8l42 1q15 0 28 -1v-104.5t1 -131.5l1 -100l-1 -58q0 -32 -4 -51q-39 -15 -68 -18q-25 43 -54 128q-8 24 -15.5 62.5t-11.5 65.5t-6 29q-13 15 -27 19q-7 2 -58.5 2t-138.5 -1t-128 -1 q-94 0 -127 -5q-10 -97 -8 -136l1 -152v52l3 -359l-1 -147q-1 -46 11 -85q49 -25 89 -32q2 0 18 -5t44 -13t43 -12q30 -8 50 -18q5 -45 5 -50q0 -10 -3 -29q-14 -1 -34 -1q-110 0 -187 10q-72 8 -238 8q-82 0 -233 -13q-45 -5 -70 -5q-2 22 -2 26l-1 26v9q21 33 79 49 q139 38 159 50q9 21 12 56q6 137 6 433l-5 44q0 265 -2 278q-2 11 -6 15q-6 5 -14 6q-38 6 -148 6q-50 0 -168.5 -14t-132.5 -24q-13 -9 -22 -33t-22 -75t-24 -84q-6 -19 -19.5 -32t-20.5 -13q-44 27 -56 44v297v86zM1505 113q26 -20 26 -49t-26 -49l-162 -126 q-26 -20 -44.5 -11t-18.5 42v80h-1024v-80q0 -33 -18.5 -42t-44.5 11l-162 126q-26 20 -26 49t26 49l162 126q26 20 44.5 11t18.5 -42v-80h1024v80q0 33 18.5 42t44.5 -11z" />
85
+ <glyph unicode="&#xf036;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
86
+ <glyph unicode="&#xf037;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h896q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45t-45 -19 h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h640q26 0 45 -19t19 -45z" />
87
+ <glyph unicode="&#xf038;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
88
+ <glyph unicode="&#xf039;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
89
+ <glyph unicode="&#xf03a;" horiz-adv-x="1792" d="M256 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM256 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5 t9.5 -22.5zM256 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344 q13 0 22.5 -9.5t9.5 -22.5zM256 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192 q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5z" />
90
+ <glyph unicode="&#xf03b;" horiz-adv-x="1792" d="M384 992v-576q0 -13 -9.5 -22.5t-22.5 -9.5q-14 0 -23 9l-288 288q-9 9 -9 23t9 23l288 288q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
91
+ <glyph unicode="&#xf03c;" horiz-adv-x="1792" d="M352 704q0 -14 -9 -23l-288 -288q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v576q0 13 9.5 22.5t22.5 9.5q14 0 23 -9l288 -288q9 -9 9 -23zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
92
+ <glyph unicode="&#xf03d;" horiz-adv-x="1792" d="M1792 1184v-1088q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-403 403v-166q0 -119 -84.5 -203.5t-203.5 -84.5h-704q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h704q119 0 203.5 -84.5t84.5 -203.5v-165l403 402q18 19 45 19q12 0 25 -5 q39 -17 39 -59z" />
93
+ <glyph unicode="&#xf03e;" horiz-adv-x="1920" d="M640 960q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1664 576v-448h-1408v192l320 320l160 -160l512 512zM1760 1280h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5v1216 q0 13 -9.5 22.5t-22.5 9.5zM1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
94
+ <glyph unicode="&#xf040;" d="M363 0l91 91l-235 235l-91 -91v-107h128v-128h107zM886 928q0 22 -22 22q-10 0 -17 -7l-542 -542q-7 -7 -7 -17q0 -22 22 -22q10 0 17 7l542 542q7 7 7 17zM832 1120l416 -416l-832 -832h-416v416zM1515 1024q0 -53 -37 -90l-166 -166l-416 416l166 165q36 38 90 38 q53 0 91 -38l235 -234q37 -39 37 -91z" />
95
+ <glyph unicode="&#xf041;" horiz-adv-x="1024" d="M768 896q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1024 896q0 -109 -33 -179l-364 -774q-16 -33 -47.5 -52t-67.5 -19t-67.5 19t-46.5 52l-365 774q-33 70 -33 179q0 212 150 362t362 150t362 -150t150 -362z" />
96
+ <glyph unicode="&#xf042;" d="M768 96v1088q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
97
+ <glyph unicode="&#xf043;" horiz-adv-x="1024" d="M512 384q0 36 -20 69q-1 1 -15.5 22.5t-25.5 38t-25 44t-21 50.5q-4 16 -21 16t-21 -16q-7 -23 -21 -50.5t-25 -44t-25.5 -38t-15.5 -22.5q-20 -33 -20 -69q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 512q0 -212 -150 -362t-362 -150t-362 150t-150 362 q0 145 81 275q6 9 62.5 90.5t101 151t99.5 178t83 201.5q9 30 34 47t51 17t51.5 -17t33.5 -47q28 -93 83 -201.5t99.5 -178t101 -151t62.5 -90.5q81 -127 81 -275z" />
98
+ <glyph unicode="&#xf044;" horiz-adv-x="1792" d="M888 352l116 116l-152 152l-116 -116v-56h96v-96h56zM1328 1072q-16 16 -33 -1l-350 -350q-17 -17 -1 -33t33 1l350 350q17 17 1 33zM1408 478v-190q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-14 -14 -32 -8q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v126q0 13 9 22l64 64q15 15 35 7t20 -29zM1312 1216l288 -288l-672 -672h-288v288zM1756 1084l-92 -92 l-288 288l92 92q28 28 68 28t68 -28l152 -152q28 -28 28 -68t-28 -68z" />
99
+ <glyph unicode="&#xf045;" horiz-adv-x="1664" d="M1408 547v-259q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h255v0q13 0 22.5 -9.5t9.5 -22.5q0 -27 -26 -32q-77 -26 -133 -60q-10 -4 -16 -4h-112q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832 q66 0 113 47t47 113v214q0 19 18 29q28 13 54 37q16 16 35 8q21 -9 21 -29zM1645 1043l-384 -384q-18 -19 -45 -19q-12 0 -25 5q-39 17 -39 59v192h-160q-323 0 -438 -131q-119 -137 -74 -473q3 -23 -20 -34q-8 -2 -12 -2q-16 0 -26 13q-10 14 -21 31t-39.5 68.5t-49.5 99.5 t-38.5 114t-17.5 122q0 49 3.5 91t14 90t28 88t47 81.5t68.5 74t94.5 61.5t124.5 48.5t159.5 30.5t196.5 11h160v192q0 42 39 59q13 5 25 5q26 0 45 -19l384 -384q19 -19 19 -45t-19 -45z" />
100
+ <glyph unicode="&#xf046;" horiz-adv-x="1664" d="M1408 606v-318q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-10 -10 -23 -10q-3 0 -9 2q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832 q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v254q0 13 9 22l64 64q10 10 23 10q6 0 12 -3q20 -8 20 -29zM1639 1095l-814 -814q-24 -24 -57 -24t-57 24l-430 430q-24 24 -24 57t24 57l110 110q24 24 57 24t57 -24l263 -263l647 647q24 24 57 24t57 -24l110 -110 q24 -24 24 -57t-24 -57z" />
101
+ <glyph unicode="&#xf047;" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-384v-384h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v384h-384v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45 t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h384v384h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45t-19 -45t-45 -19h-128v-384h384v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
102
+ <glyph unicode="&#xf048;" horiz-adv-x="1024" d="M979 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19z" />
103
+ <glyph unicode="&#xf049;" horiz-adv-x="1792" d="M1747 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19l710 710 q19 19 32 13t13 -32v-710q4 11 13 19z" />
104
+ <glyph unicode="&#xf04a;" horiz-adv-x="1664" d="M1619 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-8 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-19 19 -19 45t19 45l710 710q19 19 32 13t13 -32v-710q5 11 13 19z" />
105
+ <glyph unicode="&#xf04b;" horiz-adv-x="1408" d="M1384 609l-1328 -738q-23 -13 -39.5 -3t-16.5 36v1472q0 26 16.5 36t39.5 -3l1328 -738q23 -13 23 -31t-23 -31z" />
106
+ <glyph unicode="&#xf04c;" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45zM640 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45z" />
107
+ <glyph unicode="&#xf04d;" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
108
+ <glyph unicode="&#xf04e;" horiz-adv-x="1664" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q19 -19 19 -45t-19 -45l-710 -710q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" />
109
+ <glyph unicode="&#xf050;" horiz-adv-x="1792" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19l-710 -710 q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" />
110
+ <glyph unicode="&#xf051;" horiz-adv-x="1024" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19z" />
111
+ <glyph unicode="&#xf052;" horiz-adv-x="1538" d="M14 557l710 710q19 19 45 19t45 -19l710 -710q19 -19 13 -32t-32 -13h-1472q-26 0 -32 13t13 32zM1473 0h-1408q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19z" />
112
+ <glyph unicode="&#xf053;" horiz-adv-x="1152" d="M742 -37l-652 651q-37 37 -37 90.5t37 90.5l652 651q37 37 90.5 37t90.5 -37l75 -75q37 -37 37 -90.5t-37 -90.5l-486 -486l486 -485q37 -38 37 -91t-37 -90l-75 -75q-37 -37 -90.5 -37t-90.5 37z" />
113
+ <glyph unicode="&#xf054;" horiz-adv-x="1152" d="M1099 704q0 -52 -37 -91l-652 -651q-37 -37 -90 -37t-90 37l-76 75q-37 39 -37 91q0 53 37 90l486 486l-486 485q-37 39 -37 91q0 53 37 90l76 75q36 38 90 38t90 -38l652 -651q37 -37 37 -90z" />
114
+ <glyph unicode="&#xf055;" d="M1216 576v128q0 26 -19 45t-45 19h-256v256q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-256h-256q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h256v-256q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v256h256q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5 t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
115
+ <glyph unicode="&#xf056;" d="M1216 576v128q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5 t103 -385.5z" />
116
+ <glyph unicode="&#xf057;" d="M1149 414q0 26 -19 45l-181 181l181 181q19 19 19 45q0 27 -19 46l-90 90q-19 19 -46 19q-26 0 -45 -19l-181 -181l-181 181q-19 19 -45 19q-27 0 -46 -19l-90 -90q-19 -19 -19 -46q0 -26 19 -45l181 -181l-181 -181q-19 -19 -19 -45q0 -27 19 -46l90 -90q19 -19 46 -19 q26 0 45 19l181 181l181 -181q19 -19 45 -19q27 0 46 19l90 90q19 19 19 46zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
117
+ <glyph unicode="&#xf058;" d="M1284 802q0 28 -18 46l-91 90q-19 19 -45 19t-45 -19l-408 -407l-226 226q-19 19 -45 19t-45 -19l-91 -90q-18 -18 -18 -46q0 -27 18 -45l362 -362q19 -19 45 -19q27 0 46 19l543 543q18 18 18 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
118
+ <glyph unicode="&#xf059;" d="M896 160v192q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h192q14 0 23 9t9 23zM1152 832q0 88 -55.5 163t-138.5 116t-170 41q-243 0 -371 -213q-15 -24 8 -42l132 -100q7 -6 19 -6q16 0 25 12q53 68 86 92q34 24 86 24q48 0 85.5 -26t37.5 -59 q0 -38 -20 -61t-68 -45q-63 -28 -115.5 -86.5t-52.5 -125.5v-36q0 -14 9 -23t23 -9h192q14 0 23 9t9 23q0 19 21.5 49.5t54.5 49.5q32 18 49 28.5t46 35t44.5 48t28 60.5t12.5 81zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
119
+ <glyph unicode="&#xf05a;" d="M1024 160v160q0 14 -9 23t-23 9h-96v512q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h96v-320h-96q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h448q14 0 23 9t9 23zM896 1056v160q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23 t23 -9h192q14 0 23 9t9 23zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
120
+ <glyph unicode="&#xf05b;" d="M1197 512h-109q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h109q-32 108 -112.5 188.5t-188.5 112.5v-109q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v109q-108 -32 -188.5 -112.5t-112.5 -188.5h109q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-109 q32 -108 112.5 -188.5t188.5 -112.5v109q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-109q108 32 188.5 112.5t112.5 188.5zM1536 704v-128q0 -26 -19 -45t-45 -19h-143q-37 -161 -154.5 -278.5t-278.5 -154.5v-143q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v143 q-161 37 -278.5 154.5t-154.5 278.5h-143q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h143q37 161 154.5 278.5t278.5 154.5v143q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-143q161 -37 278.5 -154.5t154.5 -278.5h143q26 0 45 -19t19 -45z" />
121
+ <glyph unicode="&#xf05c;" d="M1097 457l-146 -146q-10 -10 -23 -10t-23 10l-137 137l-137 -137q-10 -10 -23 -10t-23 10l-146 146q-10 10 -10 23t10 23l137 137l-137 137q-10 10 -10 23t10 23l146 146q10 10 23 10t23 -10l137 -137l137 137q10 10 23 10t23 -10l146 -146q10 -10 10 -23t-10 -23 l-137 -137l137 -137q10 -10 10 -23t-10 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5 t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
122
+ <glyph unicode="&#xf05d;" d="M1171 723l-422 -422q-19 -19 -45 -19t-45 19l-294 294q-19 19 -19 45t19 45l102 102q19 19 45 19t45 -19l147 -147l275 275q19 19 45 19t45 -19l102 -102q19 -19 19 -45t-19 -45zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198 t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
123
+ <glyph unicode="&#xf05e;" d="M1312 643q0 161 -87 295l-754 -753q137 -89 297 -89q111 0 211.5 43.5t173.5 116.5t116 174.5t43 212.5zM313 344l755 754q-135 91 -300 91q-148 0 -273 -73t-198 -199t-73 -274q0 -162 89 -299zM1536 643q0 -157 -61 -300t-163.5 -246t-245 -164t-298.5 -61t-298.5 61 t-245 164t-163.5 246t-61 300t61 299.5t163.5 245.5t245 164t298.5 61t298.5 -61t245 -164t163.5 -245.5t61 -299.5z" />
124
+ <glyph unicode="&#xf060;" d="M1536 640v-128q0 -53 -32.5 -90.5t-84.5 -37.5h-704l293 -294q38 -36 38 -90t-38 -90l-75 -76q-37 -37 -90 -37q-52 0 -91 37l-651 652q-37 37 -37 90q0 52 37 91l651 650q38 38 91 38q52 0 90 -38l75 -74q38 -38 38 -91t-38 -91l-293 -293h704q52 0 84.5 -37.5 t32.5 -90.5z" />
125
+ <glyph unicode="&#xf061;" d="M1472 576q0 -54 -37 -91l-651 -651q-39 -37 -91 -37q-51 0 -90 37l-75 75q-38 38 -38 91t38 91l293 293h-704q-52 0 -84.5 37.5t-32.5 90.5v128q0 53 32.5 90.5t84.5 37.5h704l-293 294q-38 36 -38 90t38 90l75 75q38 38 90 38q53 0 91 -38l651 -651q37 -35 37 -90z" />
126
+ <glyph unicode="&#xf062;" horiz-adv-x="1664" d="M1611 565q0 -51 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-294 293v-704q0 -52 -37.5 -84.5t-90.5 -32.5h-128q-53 0 -90.5 32.5t-37.5 84.5v704l-294 -293q-36 -38 -90 -38t-90 38l-75 75q-38 38 -38 90q0 53 38 91l651 651q35 37 90 37q54 0 91 -37l651 -651 q37 -39 37 -91z" />
127
+ <glyph unicode="&#xf063;" horiz-adv-x="1664" d="M1611 704q0 -53 -37 -90l-651 -652q-39 -37 -91 -37q-53 0 -90 37l-651 652q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l294 -294v704q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-704l294 294q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" />
128
+ <glyph unicode="&#xf064;" horiz-adv-x="1792" d="M1792 896q0 -26 -19 -45l-512 -512q-19 -19 -45 -19t-45 19t-19 45v256h-224q-98 0 -175.5 -6t-154 -21.5t-133 -42.5t-105.5 -69.5t-80 -101t-48.5 -138.5t-17.5 -181q0 -55 5 -123q0 -6 2.5 -23.5t2.5 -26.5q0 -15 -8.5 -25t-23.5 -10q-16 0 -28 17q-7 9 -13 22 t-13.5 30t-10.5 24q-127 285 -127 451q0 199 53 333q162 403 875 403h224v256q0 26 19 45t45 19t45 -19l512 -512q19 -19 19 -45z" />
129
+ <glyph unicode="&#xf065;" d="M755 480q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23zM1536 1344v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332 q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45z" />
130
+ <glyph unicode="&#xf066;" d="M768 576v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45zM1523 1248q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45 t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23z" />
131
+ <glyph unicode="&#xf067;" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-416v-416q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v416h-416q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h416v416q0 40 28 68t68 28h192q40 0 68 -28t28 -68v-416h416q40 0 68 -28t28 -68z" />
132
+ <glyph unicode="&#xf068;" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-1216q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h1216q40 0 68 -28t28 -68z" />
133
+ <glyph unicode="&#xf069;" horiz-adv-x="1664" d="M1482 486q46 -26 59.5 -77.5t-12.5 -97.5l-64 -110q-26 -46 -77.5 -59.5t-97.5 12.5l-266 153v-307q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v307l-266 -153q-46 -26 -97.5 -12.5t-77.5 59.5l-64 110q-26 46 -12.5 97.5t59.5 77.5l266 154l-266 154 q-46 26 -59.5 77.5t12.5 97.5l64 110q26 46 77.5 59.5t97.5 -12.5l266 -153v307q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-307l266 153q46 26 97.5 12.5t77.5 -59.5l64 -110q26 -46 12.5 -97.5t-59.5 -77.5l-266 -154z" />
134
+ <glyph unicode="&#xf06a;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM896 161v190q0 14 -9 23.5t-22 9.5h-192q-13 0 -23 -10t-10 -23v-190q0 -13 10 -23t23 -10h192 q13 0 22 9.5t9 23.5zM894 505l18 621q0 12 -10 18q-10 8 -24 8h-220q-14 0 -24 -8q-10 -6 -10 -18l17 -621q0 -10 10 -17.5t24 -7.5h185q14 0 23.5 7.5t10.5 17.5z" />
135
+ <glyph unicode="&#xf06b;" d="M928 180v56v468v192h-320v-192v-468v-56q0 -25 18 -38.5t46 -13.5h192q28 0 46 13.5t18 38.5zM472 1024h195l-126 161q-26 31 -69 31q-40 0 -68 -28t-28 -68t28 -68t68 -28zM1160 1120q0 40 -28 68t-68 28q-43 0 -69 -31l-125 -161h194q40 0 68 28t28 68zM1536 864v-320 q0 -14 -9 -23t-23 -9h-96v-416q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v416h-96q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h440q-93 0 -158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5q107 0 168 -77l128 -165l128 165q61 77 168 77q93 0 158.5 -65.5t65.5 -158.5 t-65.5 -158.5t-158.5 -65.5h440q14 0 23 -9t9 -23z" />
136
+ <glyph unicode="&#xf06c;" horiz-adv-x="1792" d="M1280 832q0 26 -19 45t-45 19q-172 0 -318 -49.5t-259.5 -134t-235.5 -219.5q-19 -21 -19 -45q0 -26 19 -45t45 -19q24 0 45 19q27 24 74 71t67 66q137 124 268.5 176t313.5 52q26 0 45 19t19 45zM1792 1030q0 -95 -20 -193q-46 -224 -184.5 -383t-357.5 -268 q-214 -108 -438 -108q-148 0 -286 47q-15 5 -88 42t-96 37q-16 0 -39.5 -32t-45 -70t-52.5 -70t-60 -32q-30 0 -51 11t-31 24t-27 42q-2 4 -6 11t-5.5 10t-3 9.5t-1.5 13.5q0 35 31 73.5t68 65.5t68 56t31 48q0 4 -14 38t-16 44q-9 51 -9 104q0 115 43.5 220t119 184.5 t170.5 139t204 95.5q55 18 145 25.5t179.5 9t178.5 6t163.5 24t113.5 56.5l29.5 29.5t29.5 28t27 20t36.5 16t43.5 4.5q39 0 70.5 -46t47.5 -112t24 -124t8 -96z" />
137
+ <glyph unicode="&#xf06d;" horiz-adv-x="1408" d="M1408 -160v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1152 896q0 -78 -24.5 -144t-64 -112.5t-87.5 -88t-96 -77.5t-87.5 -72t-64 -81.5t-24.5 -96.5q0 -96 67 -224l-4 1l1 -1 q-90 41 -160 83t-138.5 100t-113.5 122.5t-72.5 150.5t-27.5 184q0 78 24.5 144t64 112.5t87.5 88t96 77.5t87.5 72t64 81.5t24.5 96.5q0 94 -66 224l3 -1l-1 1q90 -41 160 -83t138.5 -100t113.5 -122.5t72.5 -150.5t27.5 -184z" />
138
+ <glyph unicode="&#xf06e;" horiz-adv-x="1792" d="M1664 576q-152 236 -381 353q61 -104 61 -225q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 121 61 225q-229 -117 -381 -353q133 -205 333.5 -326.5t434.5 -121.5t434.5 121.5t333.5 326.5zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5 t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1792 576q0 -34 -20 -69q-140 -230 -376.5 -368.5t-499.5 -138.5t-499.5 139t-376.5 368q-20 35 -20 69t20 69q140 229 376.5 368t499.5 139t499.5 -139t376.5 -368q20 -35 20 -69z" />
139
+ <glyph unicode="&#xf070;" horiz-adv-x="1792" d="M555 201l78 141q-87 63 -136 159t-49 203q0 121 61 225q-229 -117 -381 -353q167 -258 427 -375zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1307 1151q0 -7 -1 -9 q-105 -188 -315 -566t-316 -567l-49 -89q-10 -16 -28 -16q-12 0 -134 70q-16 10 -16 28q0 12 44 87q-143 65 -263.5 173t-208.5 245q-20 31 -20 69t20 69q153 235 380 371t496 136q89 0 180 -17l54 97q10 16 28 16q5 0 18 -6t31 -15.5t33 -18.5t31.5 -18.5t19.5 -11.5 q16 -10 16 -27zM1344 704q0 -139 -79 -253.5t-209 -164.5l280 502q8 -45 8 -84zM1792 576q0 -35 -20 -69q-39 -64 -109 -145q-150 -172 -347.5 -267t-419.5 -95l74 132q212 18 392.5 137t301.5 307q-115 179 -282 294l63 112q95 -64 182.5 -153t144.5 -184q20 -34 20 -69z " />
140
+ <glyph unicode="&#xf071;" horiz-adv-x="1792" d="M1024 161v190q0 14 -9.5 23.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -23.5v-190q0 -14 9.5 -23.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 23.5zM1022 535l18 459q0 12 -10 19q-13 11 -24 11h-220q-11 0 -24 -11q-10 -7 -10 -21l17 -457q0 -10 10 -16.5t24 -6.5h185 q14 0 23.5 6.5t10.5 16.5zM1008 1469l768 -1408q35 -63 -2 -126q-17 -29 -46.5 -46t-63.5 -17h-1536q-34 0 -63.5 17t-46.5 46q-37 63 -2 126l768 1408q17 31 47 49t65 18t65 -18t47 -49z" />
141
+ <glyph unicode="&#xf072;" horiz-adv-x="1408" d="M1376 1376q44 -52 12 -148t-108 -172l-161 -161l160 -696q5 -19 -12 -33l-128 -96q-7 -6 -19 -6q-4 0 -7 1q-15 3 -21 16l-279 508l-259 -259l53 -194q5 -17 -8 -31l-96 -96q-9 -9 -23 -9h-2q-15 2 -24 13l-189 252l-252 189q-11 7 -13 23q-1 13 9 25l96 97q9 9 23 9 q6 0 8 -1l194 -53l259 259l-508 279q-14 8 -17 24q-2 16 9 27l128 128q14 13 30 8l665 -159l160 160q76 76 172 108t148 -12z" />
142
+ <glyph unicode="&#xf073;" horiz-adv-x="1664" d="M128 -128h288v288h-288v-288zM480 -128h320v288h-320v-288zM128 224h288v320h-288v-320zM480 224h320v320h-320v-320zM128 608h288v288h-288v-288zM864 -128h320v288h-320v-288zM480 608h320v288h-320v-288zM1248 -128h288v288h-288v-288zM864 224h320v320h-320v-320z M512 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1248 224h288v320h-288v-320zM864 608h320v288h-320v-288zM1248 608h288v288h-288v-288zM1280 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64 q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1664 1152v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47 h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
143
+ <glyph unicode="&#xf074;" horiz-adv-x="1792" d="M666 1055q-60 -92 -137 -273q-22 45 -37 72.5t-40.5 63.5t-51 56.5t-63 35t-81.5 14.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q250 0 410 -225zM1792 256q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192q-32 0 -85 -0.5t-81 -1t-73 1 t-71 5t-64 10.5t-63 18.5t-58 28.5t-59 40t-55 53.5t-56 69.5q59 93 136 273q22 -45 37 -72.5t40.5 -63.5t51 -56.5t63 -35t81.5 -14.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1792 1152q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5 v192h-256q-48 0 -87 -15t-69 -45t-51 -61.5t-45 -77.5q-32 -62 -78 -171q-29 -66 -49.5 -111t-54 -105t-64 -100t-74 -83t-90 -68.5t-106.5 -42t-128 -16.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q48 0 87 15t69 45t51 61.5t45 77.5q32 62 78 171q29 66 49.5 111 t54 105t64 100t74 83t90 68.5t106.5 42t128 16.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />
144
+ <glyph unicode="&#xf075;" horiz-adv-x="1792" d="M1792 640q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22q-17 -2 -30.5 9t-17.5 29v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281 q0 130 71 248.5t191 204.5t286 136.5t348 50.5q244 0 450 -85.5t326 -233t120 -321.5z" />
145
+ <glyph unicode="&#xf076;" d="M1536 704v-128q0 -201 -98.5 -362t-274 -251.5t-395.5 -90.5t-395.5 90.5t-274 251.5t-98.5 362v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-128q0 -52 23.5 -90t53.5 -57t71 -30t64 -13t44 -2t44 2t64 13t71 30t53.5 57t23.5 90v128q0 26 19 45t45 19h384 q26 0 45 -19t19 -45zM512 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45zM1536 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45z" />
146
+ <glyph unicode="&#xf077;" horiz-adv-x="1664" d="M1611 320q0 -53 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-486 485l-486 -485q-36 -38 -90 -38t-90 38l-75 75q-38 36 -38 90q0 53 38 91l651 651q37 37 90 37q52 0 91 -37l650 -651q38 -38 38 -91z" />
147
+ <glyph unicode="&#xf078;" horiz-adv-x="1664" d="M1611 832q0 -53 -37 -90l-651 -651q-38 -38 -91 -38q-54 0 -90 38l-651 651q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l486 -486l486 486q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" />
148
+ <glyph unicode="&#xf079;" horiz-adv-x="1920" d="M1280 32q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-8 0 -13.5 2t-9 7t-5.5 8t-3 11.5t-1 11.5v13v11v160v416h-192q-26 0 -45 19t-19 45q0 24 15 41l320 384q19 22 49 22t49 -22l320 -384q15 -17 15 -41q0 -26 -19 -45t-45 -19h-192v-384h576q16 0 25 -11l160 -192q7 -11 7 -21 zM1920 448q0 -24 -15 -41l-320 -384q-20 -23 -49 -23t-49 23l-320 384q-15 17 -15 41q0 26 19 45t45 19h192v384h-576q-16 0 -25 12l-160 192q-7 9 -7 20q0 13 9.5 22.5t22.5 9.5h960q8 0 13.5 -2t9 -7t5.5 -8t3 -11.5t1 -11.5v-13v-11v-160v-416h192q26 0 45 -19t19 -45z " />
149
+ <glyph unicode="&#xf07a;" horiz-adv-x="1664" d="M640 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1536 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1664 1088v-512q0 -24 -16 -42.5t-41 -21.5 l-1044 -122q1 -7 4.5 -21.5t6 -26.5t2.5 -22q0 -16 -24 -64h920q26 0 45 -19t19 -45t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 14 11 39.5t29.5 59.5t20.5 38l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t20 -15.5t13 -24.5t7.5 -26.5 t5.5 -29.5t4.5 -25.5h1201q26 0 45 -19t19 -45z" />
150
+ <glyph unicode="&#xf07b;" horiz-adv-x="1664" d="M1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />
151
+ <glyph unicode="&#xf07c;" horiz-adv-x="1920" d="M1879 584q0 -31 -31 -66l-336 -396q-43 -51 -120.5 -86.5t-143.5 -35.5h-1088q-34 0 -60.5 13t-26.5 43q0 31 31 66l336 396q43 51 120.5 86.5t143.5 35.5h1088q34 0 60.5 -13t26.5 -43zM1536 928v-160h-832q-94 0 -197 -47.5t-164 -119.5l-337 -396l-5 -6q0 4 -0.5 12.5 t-0.5 12.5v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158z" />
152
+ <glyph unicode="&#xf07d;" horiz-adv-x="768" d="M704 1216q0 -26 -19 -45t-45 -19h-128v-1024h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v1024h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45z" />
153
+ <glyph unicode="&#xf07e;" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-1024v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h1024v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
154
+ <glyph unicode="&#xf080;" horiz-adv-x="1920" d="M512 512v-384h-256v384h256zM896 1024v-896h-256v896h256zM1280 768v-640h-256v640h256zM1664 1152v-1024h-256v1024h256zM1792 32v1216q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5z M1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
155
+ <glyph unicode="&#xf081;" d="M1280 926q-56 -25 -121 -34q68 40 93 117q-65 -38 -134 -51q-61 66 -153 66q-87 0 -148.5 -61.5t-61.5 -148.5q0 -29 5 -48q-129 7 -242 65t-192 155q-29 -50 -29 -106q0 -114 91 -175q-47 1 -100 26v-2q0 -75 50 -133.5t123 -72.5q-29 -8 -51 -8q-13 0 -39 4 q21 -63 74.5 -104t121.5 -42q-116 -90 -261 -90q-26 0 -50 3q148 -94 322 -94q112 0 210 35.5t168 95t120.5 137t75 162t24.5 168.5q0 18 -1 27q63 45 105 109zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5 t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
156
+ <glyph unicode="&#xf082;" d="M1307 618l23 219h-198v109q0 49 15.5 68.5t71.5 19.5h110v219h-175q-152 0 -218 -72t-66 -213v-131h-131v-219h131v-635h262v635h175zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960 q119 0 203.5 -84.5t84.5 -203.5z" />
157
+ <glyph unicode="&#xf083;" horiz-adv-x="1792" d="M928 704q0 14 -9 23t-23 9q-66 0 -113 -47t-47 -113q0 -14 9 -23t23 -9t23 9t9 23q0 40 28 68t68 28q14 0 23 9t9 23zM1152 574q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM128 0h1536v128h-1536v-128zM1280 574q0 159 -112.5 271.5 t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM256 1216h384v128h-384v-128zM128 1024h1536v118v138h-828l-64 -128h-644v-128zM1792 1280v-1280q0 -53 -37.5 -90.5t-90.5 -37.5h-1536q-53 0 -90.5 37.5t-37.5 90.5v1280 q0 53 37.5 90.5t90.5 37.5h1536q53 0 90.5 -37.5t37.5 -90.5z" />
158
+ <glyph unicode="&#xf084;" horiz-adv-x="1792" d="M832 1024q0 80 -56 136t-136 56t-136 -56t-56 -136q0 -42 19 -83q-41 19 -83 19q-80 0 -136 -56t-56 -136t56 -136t136 -56t136 56t56 136q0 42 -19 83q41 -19 83 -19q80 0 136 56t56 136zM1683 320q0 -17 -49 -66t-66 -49q-9 0 -28.5 16t-36.5 33t-38.5 40t-24.5 26 l-96 -96l220 -220q28 -28 28 -68q0 -42 -39 -81t-81 -39q-40 0 -68 28l-671 671q-176 -131 -365 -131q-163 0 -265.5 102.5t-102.5 265.5q0 160 95 313t248 248t313 95q163 0 265.5 -102.5t102.5 -265.5q0 -189 -131 -365l355 -355l96 96q-3 3 -26 24.5t-40 38.5t-33 36.5 t-16 28.5q0 17 49 66t66 49q13 0 23 -10q6 -6 46 -44.5t82 -79.5t86.5 -86t73 -78t28.5 -41z" />
159
+ <glyph unicode="&#xf085;" horiz-adv-x="1920" d="M896 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1664 128q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 1152q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1280 731v-185q0 -10 -7 -19.5t-16 -10.5l-155 -24q-11 -35 -32 -76q34 -48 90 -115q7 -10 7 -20q0 -12 -7 -19q-23 -30 -82.5 -89.5t-78.5 -59.5q-11 0 -21 7l-115 90q-37 -19 -77 -31q-11 -108 -23 -155q-7 -24 -30 -24h-186q-11 0 -20 7.5t-10 17.5 l-23 153q-34 10 -75 31l-118 -89q-7 -7 -20 -7q-11 0 -21 8q-144 133 -144 160q0 9 7 19q10 14 41 53t47 61q-23 44 -35 82l-152 24q-10 1 -17 9.5t-7 19.5v185q0 10 7 19.5t16 10.5l155 24q11 35 32 76q-34 48 -90 115q-7 11 -7 20q0 12 7 20q22 30 82 89t79 59q11 0 21 -7 l115 -90q34 18 77 32q11 108 23 154q7 24 30 24h186q11 0 20 -7.5t10 -17.5l23 -153q34 -10 75 -31l118 89q8 7 20 7q11 0 21 -8q144 -133 144 -160q0 -9 -7 -19q-12 -16 -42 -54t-45 -60q23 -48 34 -82l152 -23q10 -2 17 -10.5t7 -19.5zM1920 198v-140q0 -16 -149 -31 q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20 t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31zM1920 1222v-140q0 -16 -149 -31q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68 q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70 q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31z" />
160
+ <glyph unicode="&#xf086;" horiz-adv-x="1792" d="M1408 768q0 -139 -94 -257t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224 q0 139 94 257t256.5 186.5t353.5 68.5t353.5 -68.5t256.5 -186.5t94 -257zM1792 512q0 -120 -71 -224.5t-195 -176.5q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7 q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230z" />
161
+ <glyph unicode="&#xf087;" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 768q0 51 -39 89.5t-89 38.5h-352q0 58 48 159.5t48 160.5q0 98 -32 145t-128 47q-26 -26 -38 -85t-30.5 -125.5t-59.5 -109.5q-22 -23 -77 -91q-4 -5 -23 -30t-31.5 -41t-34.5 -42.5 t-40 -44t-38.5 -35.5t-40 -27t-35.5 -9h-32v-640h32q13 0 31.5 -3t33 -6.5t38 -11t35 -11.5t35.5 -12.5t29 -10.5q211 -73 342 -73h121q192 0 192 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5q32 1 53.5 47t21.5 81zM1536 769 q0 -89 -49 -163q9 -33 9 -69q0 -77 -38 -144q3 -21 3 -43q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5h-36h-93q-96 0 -189.5 22.5t-216.5 65.5q-116 40 -138 40h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h274q36 24 137 155q58 75 107 128 q24 25 35.5 85.5t30.5 126.5t62 108q39 37 90 37q84 0 151 -32.5t102 -101.5t35 -186q0 -93 -48 -192h176q104 0 180 -76t76 -179z" />
162
+ <glyph unicode="&#xf088;" d="M256 1088q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 512q0 35 -21.5 81t-53.5 47q15 17 25 47.5t10 55.5q0 69 -53 119q18 32 18 69t-17.5 73.5t-47.5 52.5q5 30 5 56q0 85 -49 126t-136 41h-128q-131 0 -342 -73q-5 -2 -29 -10.5 t-35.5 -12.5t-35 -11.5t-38 -11t-33 -6.5t-31.5 -3h-32v-640h32q16 0 35.5 -9t40 -27t38.5 -35.5t40 -44t34.5 -42.5t31.5 -41t23 -30q55 -68 77 -91q41 -43 59.5 -109.5t30.5 -125.5t38 -85q96 0 128 47t32 145q0 59 -48 160.5t-48 159.5h352q50 0 89 38.5t39 89.5z M1536 511q0 -103 -76 -179t-180 -76h-176q48 -99 48 -192q0 -118 -35 -186q-35 -69 -102 -101.5t-151 -32.5q-51 0 -90 37q-34 33 -54 82t-25.5 90.5t-17.5 84.5t-31 64q-48 50 -107 127q-101 131 -137 155h-274q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5 h288q22 0 138 40q128 44 223 66t200 22h112q140 0 226.5 -79t85.5 -216v-5q60 -77 60 -178q0 -22 -3 -43q38 -67 38 -144q0 -36 -9 -69q49 -74 49 -163z" />
163
+ <glyph unicode="&#xf089;" horiz-adv-x="896" d="M832 1504v-1339l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41z" />
164
+ <glyph unicode="&#xf08a;" horiz-adv-x="1792" d="M1664 940q0 81 -21.5 143t-55 98.5t-81.5 59.5t-94 31t-98 8t-112 -25.5t-110.5 -64t-86.5 -72t-60 -61.5q-18 -22 -49 -22t-49 22q-24 28 -60 61.5t-86.5 72t-110.5 64t-112 25.5t-98 -8t-94 -31t-81.5 -59.5t-55 -98.5t-21.5 -143q0 -168 187 -355l581 -560l580 559 q188 188 188 356zM1792 940q0 -221 -229 -450l-623 -600q-18 -18 -44 -18t-44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5 q224 0 351 -124t127 -344z" />
165
+ <glyph unicode="&#xf08b;" horiz-adv-x="1664" d="M640 96q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h320q13 0 22.5 -9.5t9.5 -22.5q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-66 0 -113 -47t-47 -113v-704 q0 -66 47 -113t113 -47h288h11h13t11.5 -1t11.5 -3t8 -5.5t7 -9t2 -13.5zM1568 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45z" />
166
+ <glyph unicode="&#xf08c;" d="M237 122h231v694h-231v-694zM483 1030q-1 52 -36 86t-93 34t-94.5 -34t-36.5 -86q0 -51 35.5 -85.5t92.5 -34.5h1q59 0 95 34.5t36 85.5zM1068 122h231v398q0 154 -73 233t-193 79q-136 0 -209 -117h2v101h-231q3 -66 0 -694h231v388q0 38 7 56q15 35 45 59.5t74 24.5 q116 0 116 -157v-371zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
167
+ <glyph unicode="&#xf08d;" horiz-adv-x="1152" d="M480 672v448q0 14 -9 23t-23 9t-23 -9t-9 -23v-448q0 -14 9 -23t23 -9t23 9t9 23zM1152 320q0 -26 -19 -45t-45 -19h-429l-51 -483q-2 -12 -10.5 -20.5t-20.5 -8.5h-1q-27 0 -32 27l-76 485h-404q-26 0 -45 19t-19 45q0 123 78.5 221.5t177.5 98.5v512q-52 0 -90 38 t-38 90t38 90t90 38h640q52 0 90 -38t38 -90t-38 -90t-90 -38v-512q99 0 177.5 -98.5t78.5 -221.5z" />
168
+ <glyph unicode="&#xf08e;" horiz-adv-x="1792" d="M1408 608v-320q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v320 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1792 1472v-512q0 -26 -19 -45t-45 -19t-45 19l-176 176l-652 -652q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l652 652l-176 176q-19 19 -19 45t19 45t45 19h512q26 0 45 -19t19 -45z" />
169
+ <glyph unicode="&#xf090;" d="M1184 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45zM1536 992v-704q0 -119 -84.5 -203.5t-203.5 -84.5h-320q-13 0 -22.5 9.5t-9.5 22.5 q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q66 0 113 47t47 113v704q0 66 -47 113t-113 47h-288h-11h-13t-11.5 1t-11.5 3t-8 5.5t-7 9t-2 13.5q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q119 0 203.5 -84.5t84.5 -203.5z" />
170
+ <glyph unicode="&#xf091;" horiz-adv-x="1664" d="M458 653q-74 162 -74 371h-256v-96q0 -78 94.5 -162t235.5 -113zM1536 928v96h-256q0 -209 -74 -371q141 29 235.5 113t94.5 162zM1664 1056v-128q0 -71 -41.5 -143t-112 -130t-173 -97.5t-215.5 -44.5q-42 -54 -95 -95q-38 -34 -52.5 -72.5t-14.5 -89.5q0 -54 30.5 -91 t97.5 -37q75 0 133.5 -45.5t58.5 -114.5v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 69 58.5 114.5t133.5 45.5q67 0 97.5 37t30.5 91q0 51 -14.5 89.5t-52.5 72.5q-53 41 -95 95q-113 5 -215.5 44.5t-173 97.5t-112 130t-41.5 143v128q0 40 28 68t68 28h288v96 q0 66 47 113t113 47h576q66 0 113 -47t47 -113v-96h288q40 0 68 -28t28 -68z" />
171
+ <glyph unicode="&#xf092;" d="M394 184q-8 -9 -20 3q-13 11 -4 19q8 9 20 -3q12 -11 4 -19zM352 245q9 -12 0 -19q-8 -6 -17 7t0 18q9 7 17 -6zM291 305q-5 -7 -13 -2q-10 5 -7 12q3 5 13 2q10 -5 7 -12zM322 271q-6 -7 -16 3q-9 11 -2 16q6 6 16 -3q9 -11 2 -16zM451 159q-4 -12 -19 -6q-17 4 -13 15 t19 7q16 -5 13 -16zM514 154q0 -11 -16 -11q-17 -2 -17 11q0 11 16 11q17 2 17 -11zM572 164q2 -10 -14 -14t-18 8t14 15q16 2 18 -9zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-224q-16 0 -24.5 1t-19.5 5t-16 14.5t-5 27.5v239q0 97 -52 142q57 6 102.5 18t94 39 t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103 q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -103t0.5 -68q0 -22 -11 -33.5t-22 -13t-33 -1.5 h-224q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
172
+ <glyph unicode="&#xf093;" horiz-adv-x="1664" d="M1280 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 288v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h427q21 -56 70.5 -92 t110.5 -36h256q61 0 110.5 36t70.5 92h427q40 0 68 -28t28 -68zM1339 936q-17 -40 -59 -40h-256v-448q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v448h-256q-42 0 -59 40q-17 39 14 69l448 448q18 19 45 19t45 -19l448 -448q31 -30 14 -69z" />
173
+ <glyph unicode="&#xf094;" d="M1407 710q0 44 -7 113.5t-18 96.5q-12 30 -17 44t-9 36.5t-4 48.5q0 23 5 68.5t5 67.5q0 37 -10 55q-4 1 -13 1q-19 0 -58 -4.5t-59 -4.5q-60 0 -176 24t-175 24q-43 0 -94.5 -11.5t-85 -23.5t-89.5 -34q-137 -54 -202 -103q-96 -73 -159.5 -189.5t-88 -236t-24.5 -248.5 q0 -40 12.5 -120t12.5 -121q0 -23 -11 -66.5t-11 -65.5t12 -36.5t34 -14.5q24 0 72.5 11t73.5 11q57 0 169.5 -15.5t169.5 -15.5q181 0 284 36q129 45 235.5 152.5t166 245.5t59.5 275zM1535 712q0 -165 -70 -327.5t-196 -288t-281 -180.5q-124 -44 -326 -44 q-57 0 -170 14.5t-169 14.5q-24 0 -72.5 -14.5t-73.5 -14.5q-73 0 -123.5 55.5t-50.5 128.5q0 24 11 68t11 67q0 40 -12.5 120.5t-12.5 121.5q0 111 18 217.5t54.5 209.5t100.5 194t150 156q78 59 232 120q194 78 316 78q60 0 175.5 -24t173.5 -24q19 0 57 5t58 5 q81 0 118 -50.5t37 -134.5q0 -23 -5 -68t-5 -68q0 -10 1 -18.5t3 -17t4 -13.5t6.5 -16t6.5 -17q16 -40 25 -118.5t9 -136.5z" />
174
+ <glyph unicode="&#xf095;" horiz-adv-x="1408" d="M1408 296q0 -27 -10 -70.5t-21 -68.5q-21 -50 -122 -106q-94 -51 -186 -51q-27 0 -52.5 3.5t-57.5 12.5t-47.5 14.5t-55.5 20.5t-49 18q-98 35 -175 83q-128 79 -264.5 215.5t-215.5 264.5q-48 77 -83 175q-3 9 -18 49t-20.5 55.5t-14.5 47.5t-12.5 57.5t-3.5 52.5 q0 92 51 186q56 101 106 122q25 11 68.5 21t70.5 10q14 0 21 -3q18 -6 53 -76q11 -19 30 -54t35 -63.5t31 -53.5q3 -4 17.5 -25t21.5 -35.5t7 -28.5q0 -20 -28.5 -50t-62 -55t-62 -53t-28.5 -46q0 -9 5 -22.5t8.5 -20.5t14 -24t11.5 -19q76 -137 174 -235t235 -174 q2 -1 19 -11.5t24 -14t20.5 -8.5t22.5 -5q18 0 46 28.5t53 62t55 62t50 28.5q14 0 28.5 -7t35.5 -21.5t25 -17.5q25 -15 53.5 -31t63.5 -35t54 -30q70 -35 76 -53q3 -7 3 -21z" />
175
+ <glyph unicode="&#xf096;" horiz-adv-x="1408" d="M1120 1280h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v832q0 66 -47 113t-113 47zM1408 1120v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q119 0 203.5 -84.5t84.5 -203.5z" />
176
+ <glyph unicode="&#xf097;" horiz-adv-x="1280" d="M1152 1280h-1024v-1242l423 406l89 85l89 -85l423 -406v1242zM1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289 q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
177
+ <glyph unicode="&#xf098;" d="M1280 343q0 11 -2 16q-3 8 -38.5 29.5t-88.5 49.5l-53 29q-5 3 -19 13t-25 15t-21 5q-18 0 -47 -32.5t-57 -65.5t-44 -33q-7 0 -16.5 3.5t-15.5 6.5t-17 9.5t-14 8.5q-99 55 -170.5 126.5t-126.5 170.5q-2 3 -8.5 14t-9.5 17t-6.5 15.5t-3.5 16.5q0 13 20.5 33.5t45 38.5 t45 39.5t20.5 36.5q0 10 -5 21t-15 25t-13 19q-3 6 -15 28.5t-25 45.5t-26.5 47.5t-25 40.5t-16.5 18t-16 2q-48 0 -101 -22q-46 -21 -80 -94.5t-34 -130.5q0 -16 2.5 -34t5 -30.5t9 -33t10 -29.5t12.5 -33t11 -30q60 -164 216.5 -320.5t320.5 -216.5q6 -2 30 -11t33 -12.5 t29.5 -10t33 -9t30.5 -5t34 -2.5q57 0 130.5 34t94.5 80q22 53 22 101zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
178
+ <glyph unicode="&#xf099;" horiz-adv-x="1664" d="M1620 1128q-67 -98 -162 -167q1 -14 1 -42q0 -130 -38 -259.5t-115.5 -248.5t-184.5 -210.5t-258 -146t-323 -54.5q-271 0 -496 145q35 -4 78 -4q225 0 401 138q-105 2 -188 64.5t-114 159.5q33 -5 61 -5q43 0 85 11q-112 23 -185.5 111.5t-73.5 205.5v4q68 -38 146 -41 q-66 44 -105 115t-39 154q0 88 44 163q121 -149 294.5 -238.5t371.5 -99.5q-8 38 -8 74q0 134 94.5 228.5t228.5 94.5q140 0 236 -102q109 21 205 78q-37 -115 -142 -178q93 10 186 50z" />
179
+ <glyph unicode="&#xf09a;" horiz-adv-x="768" d="M511 980h257l-30 -284h-227v-824h-341v824h-170v284h170v171q0 182 86 275.5t283 93.5h227v-284h-142q-39 0 -62.5 -6.5t-34 -23.5t-13.5 -34.5t-3 -49.5v-142z" />
180
+ <glyph unicode="&#xf09b;" d="M1536 640q0 -251 -146.5 -451.5t-378.5 -277.5q-27 -5 -39.5 7t-12.5 30v211q0 97 -52 142q57 6 102.5 18t94 39t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5 q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23 q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -89t0.5 -54q0 -18 -13 -30t-40 -7q-232 77 -378.5 277.5t-146.5 451.5q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
181
+ <glyph unicode="&#xf09c;" horiz-adv-x="1664" d="M1664 960v-256q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45v256q0 106 -75 181t-181 75t-181 -75t-75 -181v-192h96q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h672v192q0 185 131.5 316.5t316.5 131.5 t316.5 -131.5t131.5 -316.5z" />
182
+ <glyph unicode="&#xf09d;" horiz-adv-x="1920" d="M1760 1408q66 0 113 -47t47 -113v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600zM160 1280q-13 0 -22.5 -9.5t-9.5 -22.5v-224h1664v224q0 13 -9.5 22.5t-22.5 9.5h-1600zM1760 0q13 0 22.5 9.5t9.5 22.5v608h-1664v-608 q0 -13 9.5 -22.5t22.5 -9.5h1600zM256 128v128h256v-128h-256zM640 128v128h384v-128h-384z" />
183
+ <glyph unicode="&#xf09e;" horiz-adv-x="1408" d="M384 192q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 69q2 -28 -17 -48q-18 -21 -47 -21h-135q-25 0 -43 16.5t-20 41.5q-22 229 -184.5 391.5t-391.5 184.5q-25 2 -41.5 20t-16.5 43v135q0 29 21 47q17 17 43 17h5q160 -13 306 -80.5 t259 -181.5q114 -113 181.5 -259t80.5 -306zM1408 67q2 -27 -18 -47q-18 -20 -46 -20h-143q-26 0 -44.5 17.5t-19.5 42.5q-12 215 -101 408.5t-231.5 336t-336 231.5t-408.5 102q-25 1 -42.5 19.5t-17.5 43.5v143q0 28 20 46q18 18 44 18h3q262 -13 501.5 -120t425.5 -294 q187 -186 294 -425.5t120 -501.5z" />
184
+ <glyph unicode="&#xf0a0;" d="M1040 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1296 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1408 160v320q0 13 -9.5 22.5t-22.5 9.5 h-1216q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h1216q13 0 22.5 9.5t9.5 22.5zM178 640h1180l-157 482q-4 13 -16 21.5t-26 8.5h-782q-14 0 -26 -8.5t-16 -21.5zM1536 480v-320q0 -66 -47 -113t-113 -47h-1216q-66 0 -113 47t-47 113v320q0 25 16 75 l197 606q17 53 63 86t101 33h782q55 0 101 -33t63 -86l197 -606q16 -50 16 -75z" />
185
+ <glyph unicode="&#xf0a1;" horiz-adv-x="1792" d="M1664 896q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5v-384q0 -52 -38 -90t-90 -38q-417 347 -812 380q-58 -19 -91 -66t-31 -100.5t40 -92.5q-20 -33 -23 -65.5t6 -58t33.5 -55t48 -50t61.5 -50.5q-29 -58 -111.5 -83t-168.5 -11.5t-132 55.5q-7 23 -29.5 87.5 t-32 94.5t-23 89t-15 101t3.5 98.5t22 110.5h-122q-66 0 -113 47t-47 113v192q0 66 47 113t113 47h480q435 0 896 384q52 0 90 -38t38 -90v-384zM1536 292v954q-394 -302 -768 -343v-270q377 -42 768 -341z" />
186
+ <glyph unicode="&#xf0a2;" horiz-adv-x="1664" d="M848 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM183 128h1298q-164 181 -246.5 411.5t-82.5 484.5q0 256 -320 256t-320 -256q0 -254 -82.5 -484.5t-246.5 -411.5zM1664 128q0 -52 -38 -90t-90 -38 h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q190 161 287 397.5t97 498.5q0 165 96 262t264 117q-8 18 -8 37q0 40 28 68t68 28t68 -28t28 -68q0 -19 -8 -37q168 -20 264 -117t96 -262q0 -262 97 -498.5t287 -397.5z" />
187
+ <glyph unicode="&#xf0a3;" d="M1376 640l138 -135q30 -28 20 -70q-12 -41 -52 -51l-188 -48l53 -186q12 -41 -19 -70q-29 -31 -70 -19l-186 53l-48 -188q-10 -40 -51 -52q-12 -2 -19 -2q-31 0 -51 22l-135 138l-135 -138q-28 -30 -70 -20q-41 11 -51 52l-48 188l-186 -53q-41 -12 -70 19q-31 29 -19 70 l53 186l-188 48q-40 10 -52 51q-10 42 20 70l138 135l-138 135q-30 28 -20 70q12 41 52 51l188 48l-53 186q-12 41 19 70q29 31 70 19l186 -53l48 188q10 41 51 51q41 12 70 -19l135 -139l135 139q29 30 70 19q41 -10 51 -51l48 -188l186 53q41 12 70 -19q31 -29 19 -70 l-53 -186l188 -48q40 -10 52 -51q10 -42 -20 -70z" />
188
+ <glyph unicode="&#xf0a4;" horiz-adv-x="1792" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 768q0 51 -39 89.5t-89 38.5h-576q0 20 15 48.5t33 55t33 68t15 84.5q0 67 -44.5 97.5t-115.5 30.5q-24 0 -90 -139q-24 -44 -37 -65q-40 -64 -112 -145q-71 -81 -101 -106 q-69 -57 -140 -57h-32v-640h32q72 0 167 -32t193.5 -64t179.5 -32q189 0 189 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5h331q52 0 90 38t38 90zM1792 769q0 -105 -75.5 -181t-180.5 -76h-169q-4 -62 -37 -119q3 -21 3 -43 q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5q-133 0 -322 69q-164 59 -223 59h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h288q10 0 21.5 4.5t23.5 14t22.5 18t24 22.5t20.5 21.5t19 21.5t14 17q65 74 100 129q13 21 33 62t37 72t40.5 63t55 49.5 t69.5 17.5q125 0 206.5 -67t81.5 -189q0 -68 -22 -128h374q104 0 180 -76t76 -179z" />
189
+ <glyph unicode="&#xf0a5;" horiz-adv-x="1792" d="M1376 128h32v640h-32q-35 0 -67.5 12t-62.5 37t-50 46t-49 54q-2 3 -3.5 4.5t-4 4.5t-4.5 5q-72 81 -112 145q-14 22 -38 68q-1 3 -10.5 22.5t-18.5 36t-20 35.5t-21.5 30.5t-18.5 11.5q-71 0 -115.5 -30.5t-44.5 -97.5q0 -43 15 -84.5t33 -68t33 -55t15 -48.5h-576 q-50 0 -89 -38.5t-39 -89.5q0 -52 38 -90t90 -38h331q-15 -17 -25 -47.5t-10 -55.5q0 -69 53 -119q-18 -32 -18 -69t17.5 -73.5t47.5 -52.5q-4 -24 -4 -56q0 -85 48.5 -126t135.5 -41q84 0 183 32t194 64t167 32zM1664 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45 t45 -19t45 19t19 45zM1792 768v-640q0 -53 -37.5 -90.5t-90.5 -37.5h-288q-59 0 -223 -59q-190 -69 -317 -69q-142 0 -230 77.5t-87 217.5l1 5q-61 76 -61 178q0 22 3 43q-33 57 -37 119h-169q-105 0 -180.5 76t-75.5 181q0 103 76 179t180 76h374q-22 60 -22 128 q0 122 81.5 189t206.5 67q38 0 69.5 -17.5t55 -49.5t40.5 -63t37 -72t33 -62q35 -55 100 -129q2 -3 14 -17t19 -21.5t20.5 -21.5t24 -22.5t22.5 -18t23.5 -14t21.5 -4.5h288q53 0 90.5 -37.5t37.5 -90.5z" />
190
+ <glyph unicode="&#xf0a6;" d="M1280 -64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 700q0 189 -167 189q-26 0 -56 -5q-16 30 -52.5 47.5t-73.5 17.5t-69 -18q-50 53 -119 53q-25 0 -55.5 -10t-47.5 -25v331q0 52 -38 90t-90 38q-51 0 -89.5 -39t-38.5 -89v-576 q-20 0 -48.5 15t-55 33t-68 33t-84.5 15q-67 0 -97.5 -44.5t-30.5 -115.5q0 -24 139 -90q44 -24 65 -37q64 -40 145 -112q81 -71 106 -101q57 -69 57 -140v-32h640v32q0 72 32 167t64 193.5t32 179.5zM1536 705q0 -133 -69 -322q-59 -164 -59 -223v-288q0 -53 -37.5 -90.5 t-90.5 -37.5h-640q-53 0 -90.5 37.5t-37.5 90.5v288q0 10 -4.5 21.5t-14 23.5t-18 22.5t-22.5 24t-21.5 20.5t-21.5 19t-17 14q-74 65 -129 100q-21 13 -62 33t-72 37t-63 40.5t-49.5 55t-17.5 69.5q0 125 67 206.5t189 81.5q68 0 128 -22v374q0 104 76 180t179 76 q105 0 181 -75.5t76 -180.5v-169q62 -4 119 -37q21 3 43 3q101 0 178 -60q139 1 219.5 -85t80.5 -227z" />
191
+ <glyph unicode="&#xf0a7;" d="M1408 576q0 84 -32 183t-64 194t-32 167v32h-640v-32q0 -35 -12 -67.5t-37 -62.5t-46 -50t-54 -49q-9 -8 -14 -12q-81 -72 -145 -112q-22 -14 -68 -38q-3 -1 -22.5 -10.5t-36 -18.5t-35.5 -20t-30.5 -21.5t-11.5 -18.5q0 -71 30.5 -115.5t97.5 -44.5q43 0 84.5 15t68 33 t55 33t48.5 15v-576q0 -50 38.5 -89t89.5 -39q52 0 90 38t38 90v331q46 -35 103 -35q69 0 119 53q32 -18 69 -18t73.5 17.5t52.5 47.5q24 -4 56 -4q85 0 126 48.5t41 135.5zM1280 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 580 q0 -142 -77.5 -230t-217.5 -87l-5 1q-76 -61 -178 -61q-22 0 -43 3q-54 -30 -119 -37v-169q0 -105 -76 -180.5t-181 -75.5q-103 0 -179 76t-76 180v374q-54 -22 -128 -22q-121 0 -188.5 81.5t-67.5 206.5q0 38 17.5 69.5t49.5 55t63 40.5t72 37t62 33q55 35 129 100 q3 2 17 14t21.5 19t21.5 20.5t22.5 24t18 22.5t14 23.5t4.5 21.5v288q0 53 37.5 90.5t90.5 37.5h640q53 0 90.5 -37.5t37.5 -90.5v-288q0 -59 59 -223q69 -190 69 -317z" />
192
+ <glyph unicode="&#xf0a8;" d="M1280 576v128q0 26 -19 45t-45 19h-502l189 189q19 19 19 45t-19 45l-91 91q-18 18 -45 18t-45 -18l-362 -362l-91 -91q-18 -18 -18 -45t18 -45l91 -91l362 -362q18 -18 45 -18t45 18l91 91q18 18 18 45t-18 45l-189 189h502q26 0 45 19t19 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
193
+ <glyph unicode="&#xf0a9;" d="M1285 640q0 27 -18 45l-91 91l-362 362q-18 18 -45 18t-45 -18l-91 -91q-18 -18 -18 -45t18 -45l189 -189h-502q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h502l-189 -189q-19 -19 -19 -45t19 -45l91 -91q18 -18 45 -18t45 18l362 362l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
194
+ <glyph unicode="&#xf0aa;" d="M1284 641q0 27 -18 45l-362 362l-91 91q-18 18 -45 18t-45 -18l-91 -91l-362 -362q-18 -18 -18 -45t18 -45l91 -91q18 -18 45 -18t45 18l189 189v-502q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v502l189 -189q19 -19 45 -19t45 19l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
195
+ <glyph unicode="&#xf0ab;" d="M1284 639q0 27 -18 45l-91 91q-18 18 -45 18t-45 -18l-189 -189v502q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-502l-189 189q-19 19 -45 19t-45 -19l-91 -91q-18 -18 -18 -45t18 -45l362 -362l91 -91q18 -18 45 -18t45 18l91 91l362 362q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
196
+ <glyph unicode="&#xf0ac;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1042 887q-2 -1 -9.5 -9.5t-13.5 -9.5q2 0 4.5 5t5 11t3.5 7q6 7 22 15q14 6 52 12q34 8 51 -11 q-2 2 9.5 13t14.5 12q3 2 15 4.5t15 7.5l2 22q-12 -1 -17.5 7t-6.5 21q0 -2 -6 -8q0 7 -4.5 8t-11.5 -1t-9 -1q-10 3 -15 7.5t-8 16.5t-4 15q-2 5 -9.5 10.5t-9.5 10.5q-1 2 -2.5 5.5t-3 6.5t-4 5.5t-5.5 2.5t-7 -5t-7.5 -10t-4.5 -5q-3 2 -6 1.5t-4.5 -1t-4.5 -3t-5 -3.5 q-3 -2 -8.5 -3t-8.5 -2q15 5 -1 11q-10 4 -16 3q9 4 7.5 12t-8.5 14h5q-1 4 -8.5 8.5t-17.5 8.5t-13 6q-8 5 -34 9.5t-33 0.5q-5 -6 -4.5 -10.5t4 -14t3.5 -12.5q1 -6 -5.5 -13t-6.5 -12q0 -7 14 -15.5t10 -21.5q-3 -8 -16 -16t-16 -12q-5 -8 -1.5 -18.5t10.5 -16.5 q2 -2 1.5 -4t-3.5 -4.5t-5.5 -4t-6.5 -3.5l-3 -2q-11 -5 -20.5 6t-13.5 26q-7 25 -16 30q-23 8 -29 -1q-5 13 -41 26q-25 9 -58 4q6 1 0 15q-7 15 -19 12q3 6 4 17.5t1 13.5q3 13 12 23q1 1 7 8.5t9.5 13.5t0.5 6q35 -4 50 11q5 5 11.5 17t10.5 17q9 6 14 5.5t14.5 -5.5 t14.5 -5q14 -1 15.5 11t-7.5 20q12 -1 3 17q-5 7 -8 9q-12 4 -27 -5q-8 -4 2 -8q-1 1 -9.5 -10.5t-16.5 -17.5t-16 5q-1 1 -5.5 13.5t-9.5 13.5q-8 0 -16 -15q3 8 -11 15t-24 8q19 12 -8 27q-7 4 -20.5 5t-19.5 -4q-5 -7 -5.5 -11.5t5 -8t10.5 -5.5t11.5 -4t8.5 -3 q14 -10 8 -14q-2 -1 -8.5 -3.5t-11.5 -4.5t-6 -4q-3 -4 0 -14t-2 -14q-5 5 -9 17.5t-7 16.5q7 -9 -25 -6l-10 1q-4 0 -16 -2t-20.5 -1t-13.5 8q-4 8 0 20q1 4 4 2q-4 3 -11 9.5t-10 8.5q-46 -15 -94 -41q6 -1 12 1q5 2 13 6.5t10 5.5q34 14 42 7l5 5q14 -16 20 -25 q-7 4 -30 1q-20 -6 -22 -12q7 -12 5 -18q-4 3 -11.5 10t-14.5 11t-15 5q-16 0 -22 -1q-146 -80 -235 -222q7 -7 12 -8q4 -1 5 -9t2.5 -11t11.5 3q9 -8 3 -19q1 1 44 -27q19 -17 21 -21q3 -11 -10 -18q-1 2 -9 9t-9 4q-3 -5 0.5 -18.5t10.5 -12.5q-7 0 -9.5 -16t-2.5 -35.5 t-1 -23.5l2 -1q-3 -12 5.5 -34.5t21.5 -19.5q-13 -3 20 -43q6 -8 8 -9q3 -2 12 -7.5t15 -10t10 -10.5q4 -5 10 -22.5t14 -23.5q-2 -6 9.5 -20t10.5 -23q-1 0 -2.5 -1t-2.5 -1q3 -7 15.5 -14t15.5 -13q1 -3 2 -10t3 -11t8 -2q2 20 -24 62q-15 25 -17 29q-3 5 -5.5 15.5 t-4.5 14.5q2 0 6 -1.5t8.5 -3.5t7.5 -4t2 -3q-3 -7 2 -17.5t12 -18.5t17 -19t12 -13q6 -6 14 -19.5t0 -13.5q9 0 20 -10t17 -20q5 -8 8 -26t5 -24q2 -7 8.5 -13.5t12.5 -9.5l16 -8t13 -7q5 -2 18.5 -10.5t21.5 -11.5q10 -4 16 -4t14.5 2.5t13.5 3.5q15 2 29 -15t21 -21 q36 -19 55 -11q-2 -1 0.5 -7.5t8 -15.5t9 -14.5t5.5 -8.5q5 -6 18 -15t18 -15q6 4 7 9q-3 -8 7 -20t18 -10q14 3 14 32q-31 -15 -49 18q0 1 -2.5 5.5t-4 8.5t-2.5 8.5t0 7.5t5 3q9 0 10 3.5t-2 12.5t-4 13q-1 8 -11 20t-12 15q-5 -9 -16 -8t-16 9q0 -1 -1.5 -5.5t-1.5 -6.5 q-13 0 -15 1q1 3 2.5 17.5t3.5 22.5q1 4 5.5 12t7.5 14.5t4 12.5t-4.5 9.5t-17.5 2.5q-19 -1 -26 -20q-1 -3 -3 -10.5t-5 -11.5t-9 -7q-7 -3 -24 -2t-24 5q-13 8 -22.5 29t-9.5 37q0 10 2.5 26.5t3 25t-5.5 24.5q3 2 9 9.5t10 10.5q2 1 4.5 1.5t4.5 0t4 1.5t3 6q-1 1 -4 3 q-3 3 -4 3q7 -3 28.5 1.5t27.5 -1.5q15 -11 22 2q0 1 -2.5 9.5t-0.5 13.5q5 -27 29 -9q3 -3 15.5 -5t17.5 -5q3 -2 7 -5.5t5.5 -4.5t5 0.5t8.5 6.5q10 -14 12 -24q11 -40 19 -44q7 -3 11 -2t4.5 9.5t0 14t-1.5 12.5l-1 8v18l-1 8q-15 3 -18.5 12t1.5 18.5t15 18.5q1 1 8 3.5 t15.5 6.5t12.5 8q21 19 15 35q7 0 11 9q-1 0 -5 3t-7.5 5t-4.5 2q9 5 2 16q5 3 7.5 11t7.5 10q9 -12 21 -2q7 8 1 16q5 7 20.5 10.5t18.5 9.5q7 -2 8 2t1 12t3 12q4 5 15 9t13 5l17 11q3 4 0 4q18 -2 31 11q10 11 -6 20q3 6 -3 9.5t-15 5.5q3 1 11.5 0.5t10.5 1.5 q15 10 -7 16q-17 5 -43 -12zM879 10q206 36 351 189q-3 3 -12.5 4.5t-12.5 3.5q-18 7 -24 8q1 7 -2.5 13t-8 9t-12.5 8t-11 7q-2 2 -7 6t-7 5.5t-7.5 4.5t-8.5 2t-10 -1l-3 -1q-3 -1 -5.5 -2.5t-5.5 -3t-4 -3t0 -2.5q-21 17 -36 22q-5 1 -11 5.5t-10.5 7t-10 1.5t-11.5 -7 q-5 -5 -6 -15t-2 -13q-7 5 0 17.5t2 18.5q-3 6 -10.5 4.5t-12 -4.5t-11.5 -8.5t-9 -6.5t-8.5 -5.5t-8.5 -7.5q-3 -4 -6 -12t-5 -11q-2 4 -11.5 6.5t-9.5 5.5q2 -10 4 -35t5 -38q7 -31 -12 -48q-27 -25 -29 -40q-4 -22 12 -26q0 -7 -8 -20.5t-7 -21.5q0 -6 2 -16z" />
197
+ <glyph unicode="&#xf0ad;" horiz-adv-x="1664" d="M384 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1028 484l-682 -682q-37 -37 -90 -37q-52 0 -91 37l-106 108q-38 36 -38 90q0 53 38 91l681 681q39 -98 114.5 -173.5t173.5 -114.5zM1662 919q0 -39 -23 -106q-47 -134 -164.5 -217.5 t-258.5 -83.5q-185 0 -316.5 131.5t-131.5 316.5t131.5 316.5t316.5 131.5q58 0 121.5 -16.5t107.5 -46.5q16 -11 16 -28t-16 -28l-293 -169v-224l193 -107q5 3 79 48.5t135.5 81t70.5 35.5q15 0 23.5 -10t8.5 -25z" />
198
+ <glyph unicode="&#xf0ae;" horiz-adv-x="1792" d="M1024 128h640v128h-640v-128zM640 640h1024v128h-1024v-128zM1280 1152h384v128h-384v-128zM1792 320v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 832v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19 t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
199
+ <glyph unicode="&#xf0b0;" horiz-adv-x="1408" d="M1403 1241q17 -41 -14 -70l-493 -493v-742q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-256 256q-19 19 -19 45v486l-493 493q-31 29 -14 70q17 39 59 39h1280q42 0 59 -39z" />
200
+ <glyph unicode="&#xf0b1;" horiz-adv-x="1792" d="M640 1280h512v128h-512v-128zM1792 640v-480q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v480h672v-160q0 -26 19 -45t45 -19h320q26 0 45 19t19 45v160h672zM1024 640v-128h-256v128h256zM1792 1120v-384h-1792v384q0 66 47 113t113 47h352v160q0 40 28 68 t68 28h576q40 0 68 -28t28 -68v-160h352q66 0 113 -47t47 -113z" />
201
+ <glyph unicode="&#xf0b2;" d="M1283 995l-355 -355l355 -355l144 144q29 31 70 14q39 -17 39 -59v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l144 144l-355 355l-355 -355l144 -144q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l144 -144 l355 355l-355 355l-144 -144q-19 -19 -45 -19q-12 0 -24 5q-40 17 -40 59v448q0 26 19 45t45 19h448q42 0 59 -40q17 -39 -14 -69l-144 -144l355 -355l355 355l-144 144q-31 30 -14 69q17 40 59 40h448q26 0 45 -19t19 -45v-448q0 -42 -39 -59q-13 -5 -25 -5q-26 0 -45 19z " />
202
+ <glyph unicode="&#xf0c0;" horiz-adv-x="1920" d="M593 640q-162 -5 -265 -128h-134q-82 0 -138 40.5t-56 118.5q0 353 124 353q6 0 43.5 -21t97.5 -42.5t119 -21.5q67 0 133 23q-5 -37 -5 -66q0 -139 81 -256zM1664 3q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5 t43 97.5t62 81t85.5 53.5t111.5 20q10 0 43 -21.5t73 -48t107 -48t135 -21.5t135 21.5t107 48t73 48t43 21.5q61 0 111.5 -20t85.5 -53.5t62 -81t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM640 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75 t75 -181zM1344 896q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5zM1920 671q0 -78 -56 -118.5t-138 -40.5h-134q-103 123 -265 128q81 117 81 256q0 29 -5 66q66 -23 133 -23q59 0 119 21.5t97.5 42.5 t43.5 21q124 0 124 -353zM1792 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181z" />
203
+ <glyph unicode="&#xf0c1;" horiz-adv-x="1664" d="M1456 320q0 40 -28 68l-208 208q-28 28 -68 28q-42 0 -72 -32q3 -3 19 -18.5t21.5 -21.5t15 -19t13 -25.5t3.5 -27.5q0 -40 -28 -68t-68 -28q-15 0 -27.5 3.5t-25.5 13t-19 15t-21.5 21.5t-18.5 19q-33 -31 -33 -73q0 -40 28 -68l206 -207q27 -27 68 -27q40 0 68 26 l147 146q28 28 28 67zM753 1025q0 40 -28 68l-206 207q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l208 -208q27 -27 68 -27q42 0 72 31q-3 3 -19 18.5t-21.5 21.5t-15 19t-13 25.5t-3.5 27.5q0 40 28 68t68 28q15 0 27.5 -3.5t25.5 -13t19 -15 t21.5 -21.5t18.5 -19q33 31 33 73zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-206 207q-83 83 -83 203q0 123 88 209l-88 88q-86 -88 -208 -88q-120 0 -204 84l-208 208q-84 84 -84 204t85 203l147 146q83 83 203 83q121 0 204 -85l206 -207 q83 -83 83 -203q0 -123 -88 -209l88 -88q86 88 208 88q120 0 204 -84l208 -208q84 -84 84 -204z" />
204
+ <glyph unicode="&#xf0c2;" horiz-adv-x="1920" d="M1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088q-185 0 -316.5 131.5t-131.5 316.5q0 132 71 241.5t187 163.5q-2 28 -2 43q0 212 150 362t362 150q158 0 286.5 -88t187.5 -230q70 62 166 62q106 0 181 -75t75 -181q0 -75 -41 -138q129 -30 213 -134.5t84 -239.5z " />
205
+ <glyph unicode="&#xf0c3;" horiz-adv-x="1664" d="M1527 88q56 -89 21.5 -152.5t-140.5 -63.5h-1152q-106 0 -140.5 63.5t21.5 152.5l503 793v399h-64q-26 0 -45 19t-19 45t19 45t45 19h512q26 0 45 -19t19 -45t-19 -45t-45 -19h-64v-399zM748 813l-272 -429h712l-272 429l-20 31v37v399h-128v-399v-37z" />
206
+ <glyph unicode="&#xf0c4;" horiz-adv-x="1792" d="M960 640q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1260 576l507 -398q28 -20 25 -56q-5 -35 -35 -51l-128 -64q-13 -7 -29 -7q-17 0 -31 8l-690 387l-110 -66q-8 -4 -12 -5q14 -49 10 -97q-7 -77 -56 -147.5t-132 -123.5q-132 -84 -277 -84 q-136 0 -222 78q-90 84 -79 207q7 76 56 147t131 124q132 84 278 84q83 0 151 -31q9 13 22 22l122 73l-122 73q-13 9 -22 22q-68 -31 -151 -31q-146 0 -278 84q-82 53 -131 124t-56 147q-5 59 15.5 113t63.5 93q85 79 222 79q145 0 277 -84q83 -52 132 -123t56 -148 q4 -48 -10 -97q4 -1 12 -5l110 -66l690 387q14 8 31 8q16 0 29 -7l128 -64q30 -16 35 -51q3 -36 -25 -56zM579 836q46 42 21 108t-106 117q-92 59 -192 59q-74 0 -113 -36q-46 -42 -21 -108t106 -117q92 -59 192 -59q74 0 113 36zM494 91q81 51 106 117t-21 108 q-39 36 -113 36q-100 0 -192 -59q-81 -51 -106 -117t21 -108q39 -36 113 -36q100 0 192 59zM672 704l96 -58v11q0 36 33 56l14 8l-79 47l-26 -26q-3 -3 -10 -11t-12 -12q-2 -2 -4 -3.5t-3 -2.5zM896 480l96 -32l736 576l-128 64l-768 -431v-113l-160 -96l9 -8q2 -2 7 -6 q4 -4 11 -12t11 -12l26 -26zM1600 64l128 64l-520 408l-177 -138q-2 -3 -13 -7z" />
207
+ <glyph unicode="&#xf0c5;" horiz-adv-x="1792" d="M1696 1152q40 0 68 -28t28 -68v-1216q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v288h-544q-40 0 -68 28t-28 68v672q0 40 20 88t48 76l408 408q28 28 76 48t88 20h416q40 0 68 -28t28 -68v-328q68 40 128 40h416zM1152 939l-299 -299h299v299zM512 1323l-299 -299 h299v299zM708 676l316 316v416h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h512v256q0 40 20 88t48 76zM1664 -128v1152h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h896z" />
208
+ <glyph unicode="&#xf0c6;" horiz-adv-x="1408" d="M1404 151q0 -117 -79 -196t-196 -79q-135 0 -235 100l-777 776q-113 115 -113 271q0 159 110 270t269 111q158 0 273 -113l605 -606q10 -10 10 -22q0 -16 -30.5 -46.5t-46.5 -30.5q-13 0 -23 10l-606 607q-79 77 -181 77q-106 0 -179 -75t-73 -181q0 -105 76 -181 l776 -777q63 -63 145 -63q64 0 106 42t42 106q0 82 -63 145l-581 581q-26 24 -60 24q-29 0 -48 -19t-19 -48q0 -32 25 -59l410 -410q10 -10 10 -22q0 -16 -31 -47t-47 -31q-12 0 -22 10l-410 410q-63 61 -63 149q0 82 57 139t139 57q88 0 149 -63l581 -581q100 -98 100 -235 z" />
209
+ <glyph unicode="&#xf0c7;" d="M384 0h768v384h-768v-384zM1280 0h128v896q0 14 -10 38.5t-20 34.5l-281 281q-10 10 -34 20t-39 10v-416q0 -40 -28 -68t-68 -28h-576q-40 0 -68 28t-28 68v416h-128v-1280h128v416q0 40 28 68t68 28h832q40 0 68 -28t28 -68v-416zM896 928v320q0 13 -9.5 22.5t-22.5 9.5 h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5zM1536 896v-928q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h928q40 0 88 -20t76 -48l280 -280q28 -28 48 -76t20 -88z" />
210
+ <glyph unicode="&#xf0c8;" d="M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
211
+ <glyph unicode="&#xf0c9;" d="M1536 192v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 704v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 1216v-128q0 -26 -19 -45 t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
212
+ <glyph unicode="&#xf0ca;" horiz-adv-x="1792" d="M384 128q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM384 640q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1152q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z M1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" />
213
+ <glyph unicode="&#xf0cb;" horiz-adv-x="1792" d="M381 -84q0 -80 -54.5 -126t-135.5 -46q-106 0 -172 66l57 88q49 -45 106 -45q29 0 50.5 14.5t21.5 42.5q0 64 -105 56l-26 56q8 10 32.5 43.5t42.5 54t37 38.5v1q-16 0 -48.5 -1t-48.5 -1v-53h-106v152h333v-88l-95 -115q51 -12 81 -49t30 -88zM383 543v-159h-362 q-6 36 -6 54q0 51 23.5 93t56.5 68t66 47.5t56.5 43.5t23.5 45q0 25 -14.5 38.5t-39.5 13.5q-46 0 -81 -58l-85 59q24 51 71.5 79.5t105.5 28.5q73 0 123 -41.5t50 -112.5q0 -50 -34 -91.5t-75 -64.5t-75.5 -50.5t-35.5 -52.5h127v60h105zM1792 224v-192q0 -13 -9.5 -22.5 t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1123v-99h-335v99h107q0 41 0.5 122t0.5 121v12h-2q-8 -17 -50 -54l-71 76l136 127h106v-404h108zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5 t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" />
214
+ <glyph unicode="&#xf0cc;" horiz-adv-x="1792" d="M1760 640q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1728q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h1728zM483 704q-28 35 -51 80q-48 97 -48 188q0 181 134 309q133 127 393 127q50 0 167 -19q66 -12 177 -48q10 -38 21 -118q14 -123 14 -183q0 -18 -5 -45l-12 -3l-84 6 l-14 2q-50 149 -103 205q-88 91 -210 91q-114 0 -182 -59q-67 -58 -67 -146q0 -73 66 -140t279 -129q69 -20 173 -66q58 -28 95 -52h-743zM990 448h411q7 -39 7 -92q0 -111 -41 -212q-23 -55 -71 -104q-37 -35 -109 -81q-80 -48 -153 -66q-80 -21 -203 -21q-114 0 -195 23 l-140 40q-57 16 -72 28q-8 8 -8 22v13q0 108 -2 156q-1 30 0 68l2 37v44l102 2q15 -34 30 -71t22.5 -56t12.5 -27q35 -57 80 -94q43 -36 105 -57q59 -22 132 -22q64 0 139 27q77 26 122 86q47 61 47 129q0 84 -81 157q-34 29 -137 71z" />
215
+ <glyph unicode="&#xf0cd;" d="M48 1313q-37 2 -45 4l-3 88q13 1 40 1q60 0 112 -4q132 -7 166 -7q86 0 168 3q116 4 146 5q56 0 86 2l-1 -14l2 -64v-9q-60 -9 -124 -9q-60 0 -79 -25q-13 -14 -13 -132q0 -13 0.5 -32.5t0.5 -25.5l1 -229l14 -280q6 -124 51 -202q35 -59 96 -92q88 -47 177 -47 q104 0 191 28q56 18 99 51q48 36 65 64q36 56 53 114q21 73 21 229q0 79 -3.5 128t-11 122.5t-13.5 159.5l-4 59q-5 67 -24 88q-34 35 -77 34l-100 -2l-14 3l2 86h84l205 -10q76 -3 196 10l18 -2q6 -38 6 -51q0 -7 -4 -31q-45 -12 -84 -13q-73 -11 -79 -17q-15 -15 -15 -41 q0 -7 1.5 -27t1.5 -31q8 -19 22 -396q6 -195 -15 -304q-15 -76 -41 -122q-38 -65 -112 -123q-75 -57 -182 -89q-109 -33 -255 -33q-167 0 -284 46q-119 47 -179 122q-61 76 -83 195q-16 80 -16 237v333q0 188 -17 213q-25 36 -147 39zM1536 -96v64q0 14 -9 23t-23 9h-1472 q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h1472q14 0 23 9t9 23z" />
216
+ <glyph unicode="&#xf0ce;" horiz-adv-x="1664" d="M512 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23 v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 160v192 q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192 q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1664 1248v-1088q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1344q66 0 113 -47t47 -113 z" />
217
+ <glyph unicode="&#xf0d0;" horiz-adv-x="1664" d="M1190 955l293 293l-107 107l-293 -293zM1637 1248q0 -27 -18 -45l-1286 -1286q-18 -18 -45 -18t-45 18l-198 198q-18 18 -18 45t18 45l1286 1286q18 18 45 18t45 -18l198 -198q18 -18 18 -45zM286 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM636 1276 l196 -60l-196 -60l-60 -196l-60 196l-196 60l196 60l60 196zM1566 798l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM926 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98z" />
218
+ <glyph unicode="&#xf0d1;" horiz-adv-x="1792" d="M640 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM256 640h384v256h-158q-13 0 -22 -9l-195 -195q-9 -9 -9 -22v-30zM1536 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM1792 1216v-1024q0 -15 -4 -26.5t-13.5 -18.5 t-16.5 -11.5t-23.5 -6t-22.5 -2t-25.5 0t-22.5 0.5q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-64q-3 0 -22.5 -0.5t-25.5 0t-22.5 2t-23.5 6t-16.5 11.5t-13.5 18.5t-4 26.5q0 26 19 45t45 19v320q0 8 -0.5 35t0 38 t2.5 34.5t6.5 37t14 30.5t22.5 30l198 198q19 19 50.5 32t58.5 13h160v192q0 26 19 45t45 19h1024q26 0 45 -19t19 -45z" />
219
+ <glyph unicode="&#xf0d2;" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103q-111 0 -218 32q59 93 78 164q9 34 54 211q20 -39 73 -67.5t114 -28.5q121 0 216 68.5t147 188.5t52 270q0 114 -59.5 214t-172.5 163t-255 63q-105 0 -196 -29t-154.5 -77t-109 -110.5t-67 -129.5t-21.5 -134 q0 -104 40 -183t117 -111q30 -12 38 20q2 7 8 31t8 30q6 23 -11 43q-51 61 -51 151q0 151 104.5 259.5t273.5 108.5q151 0 235.5 -82t84.5 -213q0 -170 -68.5 -289t-175.5 -119q-61 0 -98 43.5t-23 104.5q8 35 26.5 93.5t30 103t11.5 75.5q0 50 -27 83t-77 33 q-62 0 -105 -57t-43 -142q0 -73 25 -122l-99 -418q-17 -70 -13 -177q-206 91 -333 281t-127 423q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
220
+ <glyph unicode="&#xf0d3;" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-725q85 122 108 210q9 34 53 209q21 -39 73.5 -67t112.5 -28q181 0 295.5 147.5t114.5 373.5q0 84 -35 162.5t-96.5 139t-152.5 97t-197 36.5q-104 0 -194.5 -28.5t-153 -76.5 t-107.5 -109.5t-66.5 -128t-21.5 -132.5q0 -102 39.5 -180t116.5 -110q13 -5 23.5 0t14.5 19q10 44 15 61q6 23 -11 42q-50 62 -50 150q0 150 103.5 256.5t270.5 106.5q149 0 232.5 -81t83.5 -210q0 -168 -67.5 -286t-173.5 -118q-60 0 -97 43.5t-23 103.5q8 34 26.5 92.5 t29.5 102t11 74.5q0 49 -26.5 81.5t-75.5 32.5q-61 0 -103.5 -56.5t-42.5 -139.5q0 -72 24 -121l-98 -414q-24 -100 -7 -254h-183q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960z" />
221
+ <glyph unicode="&#xf0d4;" d="M678 -57q0 -38 -10 -71h-380q-95 0 -171.5 56.5t-103.5 147.5q24 45 69 77.5t100 49.5t107 24t107 7q32 0 49 -2q6 -4 30.5 -21t33 -23t31 -23t32 -25.5t27.5 -25.5t26.5 -29.5t21 -30.5t17.5 -34.5t9.5 -36t4.5 -40.5zM385 294q-234 -7 -385 -85v433q103 -118 273 -118 q32 0 70 5q-21 -61 -21 -86q0 -67 63 -149zM558 805q0 -100 -43.5 -160.5t-140.5 -60.5q-51 0 -97 26t-78 67.5t-56 93.5t-35.5 104t-11.5 99q0 96 51.5 165t144.5 69q66 0 119 -41t84 -104t47 -130t16 -128zM1536 896v-736q0 -119 -84.5 -203.5t-203.5 -84.5h-468 q39 73 39 157q0 66 -22 122.5t-55.5 93t-72 71t-72 59.5t-55.5 54.5t-22 59.5q0 36 23 68t56 61.5t65.5 64.5t55.5 93t23 131t-26.5 145.5t-75.5 118.5q-6 6 -14 11t-12.5 7.5t-10 9.5t-10.5 17h135l135 64h-437q-138 0 -244.5 -38.5t-182.5 -133.5q0 126 81 213t207 87h960 q119 0 203.5 -84.5t84.5 -203.5v-96h-256v256h-128v-256h-256v-128h256v-256h128v256h256z" />
222
+ <glyph unicode="&#xf0d5;" horiz-adv-x="1664" d="M876 71q0 21 -4.5 40.5t-9.5 36t-17.5 34.5t-21 30.5t-26.5 29.5t-27.5 25.5t-32 25.5t-31 23t-33 23t-30.5 21q-17 2 -50 2q-54 0 -106 -7t-108 -25t-98 -46t-69 -75t-27 -107q0 -68 35.5 -121.5t93 -84t120.5 -45.5t127 -15q59 0 112.5 12.5t100.5 39t74.5 73.5 t27.5 110zM756 933q0 60 -16.5 127.5t-47 130.5t-84 104t-119.5 41q-93 0 -144 -69t-51 -165q0 -47 11.5 -99t35.5 -104t56 -93.5t78 -67.5t97 -26q97 0 140.5 60.5t43.5 160.5zM625 1408h437l-135 -79h-135q71 -45 110 -126t39 -169q0 -74 -23 -131.5t-56 -92.5t-66 -64.5 t-56 -61t-23 -67.5q0 -26 16.5 -51t43 -48t58.5 -48t64 -55.5t58.5 -66t43 -85t16.5 -106.5q0 -160 -140 -282q-152 -131 -420 -131q-59 0 -119.5 10t-122 33.5t-108.5 58t-77 89t-30 121.5q0 61 37 135q32 64 96 110.5t145 71t155 36t150 13.5q-64 83 -64 149q0 12 2 23.5 t5 19.5t8 21.5t7 21.5q-40 -5 -70 -5q-149 0 -255.5 98t-106.5 246q0 140 95 250.5t234 141.5q94 20 187 20zM1664 1152v-128h-256v-256h-128v256h-256v128h256v256h128v-256h256z" />
223
+ <glyph unicode="&#xf0d6;" horiz-adv-x="1920" d="M768 384h384v96h-128v448h-114l-148 -137l77 -80q42 37 55 57h2v-288h-128v-96zM1280 640q0 -70 -21 -142t-59.5 -134t-101.5 -101t-138 -39t-138 39t-101.5 101t-59.5 134t-21 142t21 142t59.5 134t101.5 101t138 39t138 -39t101.5 -101t59.5 -134t21 -142zM1792 384 v512q-106 0 -181 75t-75 181h-1152q0 -106 -75 -181t-181 -75v-512q106 0 181 -75t75 -181h1152q0 106 75 181t181 75zM1920 1216v-1152q0 -26 -19 -45t-45 -19h-1792q-26 0 -45 19t-19 45v1152q0 26 19 45t45 19h1792q26 0 45 -19t19 -45z" />
224
+ <glyph unicode="&#xf0d7;" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" />
225
+ <glyph unicode="&#xf0d8;" horiz-adv-x="1024" d="M1024 320q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
226
+ <glyph unicode="&#xf0d9;" horiz-adv-x="640" d="M640 1088v-896q0 -26 -19 -45t-45 -19t-45 19l-448 448q-19 19 -19 45t19 45l448 448q19 19 45 19t45 -19t19 -45z" />
227
+ <glyph unicode="&#xf0da;" horiz-adv-x="640" d="M576 640q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19t-19 45v896q0 26 19 45t45 19t45 -19l448 -448q19 -19 19 -45z" />
228
+ <glyph unicode="&#xf0db;" horiz-adv-x="1664" d="M160 0h608v1152h-640v-1120q0 -13 9.5 -22.5t22.5 -9.5zM1536 32v1120h-640v-1152h608q13 0 22.5 9.5t9.5 22.5zM1664 1248v-1216q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1344q66 0 113 -47t47 -113z" />
229
+ <glyph unicode="&#xf0dc;" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45zM1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
230
+ <glyph unicode="&#xf0dd;" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" />
231
+ <glyph unicode="&#xf0de;" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
232
+ <glyph unicode="&#xf0e0;" horiz-adv-x="1792" d="M1792 826v-794q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v794q44 -49 101 -87q362 -246 497 -345q57 -42 92.5 -65.5t94.5 -48t110 -24.5h1h1q51 0 110 24.5t94.5 48t92.5 65.5q170 123 498 345q57 39 100 87zM1792 1120q0 -79 -49 -151t-122 -123 q-376 -261 -468 -325q-10 -7 -42.5 -30.5t-54 -38t-52 -32.5t-57.5 -27t-50 -9h-1h-1q-23 0 -50 9t-57.5 27t-52 32.5t-54 38t-42.5 30.5q-91 64 -262 182.5t-205 142.5q-62 42 -117 115.5t-55 136.5q0 78 41.5 130t118.5 52h1472q65 0 112.5 -47t47.5 -113z" />
233
+ <glyph unicode="&#xf0e1;" d="M349 911v-991h-330v991h330zM370 1217q1 -73 -50.5 -122t-135.5 -49h-2q-82 0 -132 49t-50 122q0 74 51.5 122.5t134.5 48.5t133 -48.5t51 -122.5zM1536 488v-568h-329v530q0 105 -40.5 164.5t-126.5 59.5q-63 0 -105.5 -34.5t-63.5 -85.5q-11 -30 -11 -81v-553h-329 q2 399 2 647t-1 296l-1 48h329v-144h-2q20 32 41 56t56.5 52t87 43.5t114.5 15.5q171 0 275 -113.5t104 -332.5z" />
234
+ <glyph unicode="&#xf0e2;" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5 t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298z" />
235
+ <glyph unicode="&#xf0e3;" horiz-adv-x="1792" d="M1771 0q0 -53 -37 -90l-107 -108q-39 -37 -91 -37q-53 0 -90 37l-363 364q-38 36 -38 90q0 53 43 96l-256 256l-126 -126q-14 -14 -34 -14t-34 14q2 -2 12.5 -12t12.5 -13t10 -11.5t10 -13.5t6 -13.5t5.5 -16.5t1.5 -18q0 -38 -28 -68q-3 -3 -16.5 -18t-19 -20.5 t-18.5 -16.5t-22 -15.5t-22 -9t-26 -4.5q-40 0 -68 28l-408 408q-28 28 -28 68q0 13 4.5 26t9 22t15.5 22t16.5 18.5t20.5 19t18 16.5q30 28 68 28q10 0 18 -1.5t16.5 -5.5t13.5 -6t13.5 -10t11.5 -10t13 -12.5t12 -12.5q-14 14 -14 34t14 34l348 348q14 14 34 14t34 -14 q-2 2 -12.5 12t-12.5 13t-10 11.5t-10 13.5t-6 13.5t-5.5 16.5t-1.5 18q0 38 28 68q3 3 16.5 18t19 20.5t18.5 16.5t22 15.5t22 9t26 4.5q40 0 68 -28l408 -408q28 -28 28 -68q0 -13 -4.5 -26t-9 -22t-15.5 -22t-16.5 -18.5t-20.5 -19t-18 -16.5q-30 -28 -68 -28 q-10 0 -18 1.5t-16.5 5.5t-13.5 6t-13.5 10t-11.5 10t-13 12.5t-12 12.5q14 -14 14 -34t-14 -34l-126 -126l256 -256q43 43 96 43q52 0 91 -37l363 -363q37 -39 37 -91z" />
236
+ <glyph unicode="&#xf0e4;" horiz-adv-x="1792" d="M384 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM576 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1004 351l101 382q6 26 -7.5 48.5t-38.5 29.5 t-48 -6.5t-30 -39.5l-101 -382q-60 -5 -107 -43.5t-63 -98.5q-20 -77 20 -146t117 -89t146 20t89 117q16 60 -6 117t-72 91zM1664 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 1024q0 53 -37.5 90.5 t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1472 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1792 384q0 -261 -141 -483q-19 -29 -54 -29h-1402q-35 0 -54 29 q-141 221 -141 483q0 182 71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
237
+ <glyph unicode="&#xf0e5;" horiz-adv-x="1792" d="M896 1152q-204 0 -381.5 -69.5t-282 -187.5t-104.5 -255q0 -112 71.5 -213.5t201.5 -175.5l87 -50l-27 -96q-24 -91 -70 -172q152 63 275 171l43 38l57 -6q69 -8 130 -8q204 0 381.5 69.5t282 187.5t104.5 255t-104.5 255t-282 187.5t-381.5 69.5zM1792 640 q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22h-5q-15 0 -27 10.5t-16 27.5v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281q0 174 120 321.5 t326 233t450 85.5t450 -85.5t326 -233t120 -321.5z" />
238
+ <glyph unicode="&#xf0e6;" horiz-adv-x="1792" d="M704 1152q-153 0 -286 -52t-211.5 -141t-78.5 -191q0 -82 53 -158t149 -132l97 -56l-35 -84q34 20 62 39l44 31l53 -10q78 -14 153 -14q153 0 286 52t211.5 141t78.5 191t-78.5 191t-211.5 141t-286 52zM704 1280q191 0 353.5 -68.5t256.5 -186.5t94 -257t-94 -257 t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224q0 139 94 257t256.5 186.5 t353.5 68.5zM1526 111q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129 q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230q0 -120 -71 -224.5t-195 -176.5z" />
239
+ <glyph unicode="&#xf0e7;" horiz-adv-x="896" d="M885 970q18 -20 7 -44l-540 -1157q-13 -25 -42 -25q-4 0 -14 2q-17 5 -25.5 19t-4.5 30l197 808l-406 -101q-4 -1 -12 -1q-18 0 -31 11q-18 15 -13 39l201 825q4 14 16 23t28 9h328q19 0 32 -12.5t13 -29.5q0 -8 -5 -18l-171 -463l396 98q8 2 12 2q19 0 34 -15z" />
240
+ <glyph unicode="&#xf0e8;" horiz-adv-x="1792" d="M1792 288v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192q0 52 38 90t90 38h512v192h-96q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-96v-192h512q52 0 90 -38t38 -90v-192h96q40 0 68 -28t28 -68 z" />
241
+ <glyph unicode="&#xf0e9;" horiz-adv-x="1664" d="M896 708v-580q0 -104 -76 -180t-180 -76t-180 76t-76 180q0 26 19 45t45 19t45 -19t19 -45q0 -50 39 -89t89 -39t89 39t39 89v580q33 11 64 11t64 -11zM1664 681q0 -13 -9.5 -22.5t-22.5 -9.5q-11 0 -23 10q-49 46 -93 69t-102 23q-68 0 -128 -37t-103 -97 q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -28 -17q-18 0 -29 17q-4 6 -14.5 24t-17.5 28q-43 60 -102.5 97t-127.5 37t-127.5 -37t-102.5 -97q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -29 -17q-17 0 -28 17q-4 6 -14.5 24t-17.5 28q-43 60 -103 97t-128 37q-58 0 -102 -23t-93 -69 q-12 -10 -23 -10q-13 0 -22.5 9.5t-9.5 22.5q0 5 1 7q45 183 172.5 319.5t298 204.5t360.5 68q140 0 274.5 -40t246.5 -113.5t194.5 -187t115.5 -251.5q1 -2 1 -7zM896 1408v-98q-42 2 -64 2t-64 -2v98q0 26 19 45t45 19t45 -19t19 -45z" />
242
+ <glyph unicode="&#xf0ea;" horiz-adv-x="1792" d="M768 -128h896v640h-416q-40 0 -68 28t-28 68v416h-384v-1152zM1024 1312v64q0 13 -9.5 22.5t-22.5 9.5h-704q-13 0 -22.5 -9.5t-9.5 -22.5v-64q0 -13 9.5 -22.5t22.5 -9.5h704q13 0 22.5 9.5t9.5 22.5zM1280 640h299l-299 299v-299zM1792 512v-672q0 -40 -28 -68t-68 -28 h-960q-40 0 -68 28t-28 68v160h-544q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h1088q40 0 68 -28t28 -68v-328q21 -13 36 -28l408 -408q28 -28 48 -76t20 -88z" />
243
+ <glyph unicode="&#xf0eb;" horiz-adv-x="1024" d="M736 960q0 -13 -9.5 -22.5t-22.5 -9.5t-22.5 9.5t-9.5 22.5q0 46 -54 71t-106 25q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5q50 0 99.5 -16t87 -54t37.5 -90zM896 960q0 72 -34.5 134t-90 101.5t-123 62t-136.5 22.5t-136.5 -22.5t-123 -62t-90 -101.5t-34.5 -134 q0 -101 68 -180q10 -11 30.5 -33t30.5 -33q128 -153 141 -298h228q13 145 141 298q10 11 30.5 33t30.5 33q68 79 68 180zM1024 960q0 -155 -103 -268q-45 -49 -74.5 -87t-59.5 -95.5t-34 -107.5q47 -28 47 -82q0 -37 -25 -64q25 -27 25 -64q0 -52 -45 -81q13 -23 13 -47 q0 -46 -31.5 -71t-77.5 -25q-20 -44 -60 -70t-87 -26t-87 26t-60 70q-46 0 -77.5 25t-31.5 71q0 24 13 47q-45 29 -45 81q0 37 25 64q-25 27 -25 64q0 54 47 82q-4 50 -34 107.5t-59.5 95.5t-74.5 87q-103 113 -103 268q0 99 44.5 184.5t117 142t164 89t186.5 32.5 t186.5 -32.5t164 -89t117 -142t44.5 -184.5z" />
244
+ <glyph unicode="&#xf0ec;" horiz-adv-x="1792" d="M1792 352v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5q-12 0 -24 10l-319 320q-9 9 -9 22q0 14 9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h1376q13 0 22.5 -9.5t9.5 -22.5zM1792 896q0 -14 -9 -23l-320 -320q-9 -9 -23 -9 q-13 0 -22.5 9.5t-9.5 22.5v192h-1376q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1376v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />
245
+ <glyph unicode="&#xf0ed;" horiz-adv-x="1920" d="M1280 608q0 14 -9 23t-23 9h-224v352q0 13 -9.5 22.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-352h-224q-13 0 -22.5 -9.5t-9.5 -22.5q0 -14 9 -23l352 -352q9 -9 23 -9t23 9l351 351q10 12 10 24zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" />
246
+ <glyph unicode="&#xf0ee;" horiz-adv-x="1920" d="M1280 672q0 14 -9 23l-352 352q-9 9 -23 9t-23 -9l-351 -351q-10 -12 -10 -24q0 -14 9 -23t23 -9h224v-352q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5v352h224q13 0 22.5 9.5t9.5 22.5zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" />
247
+ <glyph unicode="&#xf0f0;" horiz-adv-x="1408" d="M384 192q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45t45 19t45 -19t19 -45zM1408 131q0 -121 -73 -190t-194 -69h-874q-121 0 -194 69t-73 190q0 68 5.5 131t24 138t47.5 132.5t81 103t120 60.5q-22 -52 -22 -120v-203q-58 -20 -93 -70t-35 -111q0 -80 56 -136t136 -56 t136 56t56 136q0 61 -35.5 111t-92.5 70v203q0 62 25 93q132 -104 295 -104t295 104q25 -31 25 -93v-64q-106 0 -181 -75t-75 -181v-89q-32 -29 -32 -71q0 -40 28 -68t68 -28t68 28t28 68q0 42 -32 71v89q0 52 38 90t90 38t90 -38t38 -90v-89q-32 -29 -32 -71q0 -40 28 -68 t68 -28t68 28t28 68q0 42 -32 71v89q0 68 -34.5 127.5t-93.5 93.5q0 10 0.5 42.5t0 48t-2.5 41.5t-7 47t-13 40q68 -15 120 -60.5t81 -103t47.5 -132.5t24 -138t5.5 -131zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5 t271.5 -112.5t112.5 -271.5z" />
248
+ <glyph unicode="&#xf0f1;" horiz-adv-x="1408" d="M1280 832q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 832q0 -62 -35.5 -111t-92.5 -70v-395q0 -159 -131.5 -271.5t-316.5 -112.5t-316.5 112.5t-131.5 271.5v132q-164 20 -274 128t-110 252v512q0 26 19 45t45 19q6 0 16 -2q17 30 47 48 t65 18q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5q-33 0 -64 18v-402q0 -106 94 -181t226 -75t226 75t94 181v402q-31 -18 -64 -18q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5q35 0 65 -18t47 -48q10 2 16 2q26 0 45 -19t19 -45v-512q0 -144 -110 -252 t-274 -128v-132q0 -106 94 -181t226 -75t226 75t94 181v395q-57 21 -92.5 70t-35.5 111q0 80 56 136t136 56t136 -56t56 -136z" />
249
+ <glyph unicode="&#xf0f2;" horiz-adv-x="1792" d="M640 1152h512v128h-512v-128zM288 1152v-1280h-64q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h64zM1408 1152v-1280h-1024v1280h128v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h128zM1792 928v-832q0 -92 -66 -158t-158 -66h-64v1280h64q92 0 158 -66 t66 -158z" />
250
+ <glyph unicode="&#xf0f3;" horiz-adv-x="1664" d="M848 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM1664 128q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q190 161 287 397.5t97 498.5 q0 165 96 262t264 117q-8 18 -8 37q0 40 28 68t68 28t68 -28t28 -68q0 -19 -8 -37q168 -20 264 -117t96 -262q0 -262 97 -498.5t287 -397.5z" />
251
+ <glyph unicode="&#xf0f4;" horiz-adv-x="1920" d="M1664 896q0 80 -56 136t-136 56h-64v-384h64q80 0 136 56t56 136zM0 128h1792q0 -106 -75 -181t-181 -75h-1280q-106 0 -181 75t-75 181zM1856 896q0 -159 -112.5 -271.5t-271.5 -112.5h-64v-32q0 -92 -66 -158t-158 -66h-704q-92 0 -158 66t-66 158v736q0 26 19 45 t45 19h1152q159 0 271.5 -112.5t112.5 -271.5z" />
252
+ <glyph unicode="&#xf0f5;" horiz-adv-x="1408" d="M640 1472v-640q0 -61 -35.5 -111t-92.5 -70v-779q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v779q-57 20 -92.5 70t-35.5 111v640q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45 t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45zM1408 1472v-1600q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v512h-224q-13 0 -22.5 9.5t-9.5 22.5v800q0 132 94 226t226 94h256q26 0 45 -19t19 -45z" />
253
+ <glyph unicode="&#xf0f6;" horiz-adv-x="1280" d="M1024 352v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23 -9t9 -23zM1024 608v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23 -9t9 -23zM128 0h1024v768h-416q-40 0 -68 28t-28 68v416h-512v-1280z M768 896h376q-10 29 -22 41l-313 313q-12 12 -41 22v-376zM1280 864v-896q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h640q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88z" />
254
+ <glyph unicode="&#xf0f7;" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1536h-1152v-1536h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM1408 1472v-1664q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1664q0 26 19 45t45 19h1280q26 0 45 -19t19 -45z" />
255
+ <glyph unicode="&#xf0f8;" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1152h-256v-32q0 -40 -28 -68t-68 -28h-448q-40 0 -68 28t-28 68v32h-256v-1152h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM896 1056v320q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-96h-128v96q0 13 -9.5 22.5 t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5v96h128v-96q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1408 1088v-1280q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1280q0 26 19 45t45 19h320 v288q0 40 28 68t68 28h448q40 0 68 -28t28 -68v-288h320q26 0 45 -19t19 -45z" />
256
+ <glyph unicode="&#xf0f9;" horiz-adv-x="1920" d="M640 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM256 640h384v256h-158q-14 -2 -22 -9l-195 -195q-7 -12 -9 -22v-30zM1536 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1664 800v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM1920 1344v-1152 q0 -26 -19 -45t-45 -19h-192q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-128q-26 0 -45 19t-19 45t19 45t45 19v416q0 26 13 58t32 51l198 198q19 19 51 32t58 13h160v320q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
257
+ <glyph unicode="&#xf0fa;" horiz-adv-x="1792" d="M1280 416v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM640 1152h512v128h-512v-128zM256 1152v-1280h-32 q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h32zM1440 1152v-1280h-1088v1280h160v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h160zM1792 928v-832q0 -92 -66 -158t-158 -66h-32v1280h32q92 0 158 -66t66 -158z" />
258
+ <glyph unicode="&#xf0fb;" horiz-adv-x="1920" d="M1920 576q-1 -32 -288 -96l-352 -32l-224 -64h-64l-293 -352h69q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-96h-160h-64v32h64v416h-160l-192 -224h-96l-32 32v192h32v32h128v8l-192 24v128l192 24v8h-128v32h-32v192l32 32h96l192 -224h160v416h-64v32h64h160h96 q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-69l293 -352h64l224 -64l352 -32q261 -58 287 -93z" />
259
+ <glyph unicode="&#xf0fc;" horiz-adv-x="1664" d="M640 640v384h-256v-256q0 -53 37.5 -90.5t90.5 -37.5h128zM1664 192v-192h-1152v192l128 192h-128q-159 0 -271.5 112.5t-112.5 271.5v320l-64 64l32 128h480l32 128h960l32 -192l-64 -32v-800z" />
260
+ <glyph unicode="&#xf0fd;" d="M1280 192v896q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-512v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-896q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h512v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
261
+ <glyph unicode="&#xf0fe;" d="M1280 576v128q0 26 -19 45t-45 19h-320v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-320q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h320v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h320q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
262
+ <glyph unicode="&#xf100;" horiz-adv-x="1024" d="M627 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23zM1011 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23z" />
263
+ <glyph unicode="&#xf101;" horiz-adv-x="1024" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM979 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23 l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
264
+ <glyph unicode="&#xf102;" horiz-adv-x="1152" d="M1075 224q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM1075 608q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393 q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
265
+ <glyph unicode="&#xf103;" horiz-adv-x="1152" d="M1075 672q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23zM1075 1056q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
266
+ <glyph unicode="&#xf104;" horiz-adv-x="640" d="M627 992q0 -13 -10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
267
+ <glyph unicode="&#xf105;" horiz-adv-x="640" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
268
+ <glyph unicode="&#xf106;" horiz-adv-x="1152" d="M1075 352q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
269
+ <glyph unicode="&#xf107;" horiz-adv-x="1152" d="M1075 800q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
270
+ <glyph unicode="&#xf108;" horiz-adv-x="1920" d="M1792 544v832q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5zM1920 1376v-1088q0 -66 -47 -113t-113 -47h-544q0 -37 16 -77.5t32 -71t16 -43.5q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19 t-19 45q0 14 16 44t32 70t16 78h-544q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
271
+ <glyph unicode="&#xf109;" horiz-adv-x="1920" d="M416 256q-66 0 -113 47t-47 113v704q0 66 47 113t113 47h1088q66 0 113 -47t47 -113v-704q0 -66 -47 -113t-113 -47h-1088zM384 1120v-704q0 -13 9.5 -22.5t22.5 -9.5h1088q13 0 22.5 9.5t9.5 22.5v704q0 13 -9.5 22.5t-22.5 9.5h-1088q-13 0 -22.5 -9.5t-9.5 -22.5z M1760 192h160v-96q0 -40 -47 -68t-113 -28h-1600q-66 0 -113 28t-47 68v96h160h1600zM1040 96q16 0 16 16t-16 16h-160q-16 0 -16 -16t16 -16h160z" />
272
+ <glyph unicode="&#xf10a;" horiz-adv-x="1152" d="M640 128q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1024 288v960q0 13 -9.5 22.5t-22.5 9.5h-832q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h832q13 0 22.5 9.5t9.5 22.5zM1152 1248v-1088q0 -66 -47 -113t-113 -47h-832 q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h832q66 0 113 -47t47 -113z" />
273
+ <glyph unicode="&#xf10b;" horiz-adv-x="768" d="M464 128q0 33 -23.5 56.5t-56.5 23.5t-56.5 -23.5t-23.5 -56.5t23.5 -56.5t56.5 -23.5t56.5 23.5t23.5 56.5zM672 288v704q0 13 -9.5 22.5t-22.5 9.5h-512q-13 0 -22.5 -9.5t-9.5 -22.5v-704q0 -13 9.5 -22.5t22.5 -9.5h512q13 0 22.5 9.5t9.5 22.5zM480 1136 q0 16 -16 16h-160q-16 0 -16 -16t16 -16h160q16 0 16 16zM768 1152v-1024q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v1024q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
274
+ <glyph unicode="&#xf10c;" d="M768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103 t279.5 -279.5t103 -385.5z" />
275
+ <glyph unicode="&#xf10d;" horiz-adv-x="1664" d="M768 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z M1664 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z" />
276
+ <glyph unicode="&#xf10e;" horiz-adv-x="1664" d="M768 1216v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136zM1664 1216 v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136z" />
277
+ <glyph unicode="&#xf110;" horiz-adv-x="1568" d="M496 192q0 -60 -42.5 -102t-101.5 -42q-60 0 -102 42t-42 102t42 102t102 42q59 0 101.5 -42t42.5 -102zM928 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM320 640q0 -66 -47 -113t-113 -47t-113 47t-47 113 t47 113t113 47t113 -47t47 -113zM1360 192q0 -46 -33 -79t-79 -33t-79 33t-33 79t33 79t79 33t79 -33t33 -79zM528 1088q0 -73 -51.5 -124.5t-124.5 -51.5t-124.5 51.5t-51.5 124.5t51.5 124.5t124.5 51.5t124.5 -51.5t51.5 -124.5zM992 1280q0 -80 -56 -136t-136 -56 t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1536 640q0 -40 -28 -68t-68 -28t-68 28t-28 68t28 68t68 28t68 -28t28 -68zM1328 1088q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5z" />
278
+ <glyph unicode="&#xf111;" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
279
+ <glyph unicode="&#xf112;" horiz-adv-x="1792" d="M1792 416q0 -166 -127 -451q-3 -7 -10.5 -24t-13.5 -30t-13 -22q-12 -17 -28 -17q-15 0 -23.5 10t-8.5 25q0 9 2.5 26.5t2.5 23.5q5 68 5 123q0 101 -17.5 181t-48.5 138.5t-80 101t-105.5 69.5t-133 42.5t-154 21.5t-175.5 6h-224v-256q0 -26 -19 -45t-45 -19t-45 19 l-512 512q-19 19 -19 45t19 45l512 512q19 19 45 19t45 -19t19 -45v-256h224q713 0 875 -403q53 -134 53 -333z" />
280
+ <glyph unicode="&#xf113;" horiz-adv-x="1664" d="M640 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1280 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1440 320 q0 120 -69 204t-187 84q-41 0 -195 -21q-71 -11 -157 -11t-157 11q-152 21 -195 21q-118 0 -187 -84t-69 -204q0 -88 32 -153.5t81 -103t122 -60t140 -29.5t149 -7h168q82 0 149 7t140 29.5t122 60t81 103t32 153.5zM1664 496q0 -207 -61 -331q-38 -77 -105.5 -133t-141 -86 t-170 -47.5t-171.5 -22t-167 -4.5q-78 0 -142 3t-147.5 12.5t-152.5 30t-137 51.5t-121 81t-86 115q-62 123 -62 331q0 237 136 396q-27 82 -27 170q0 116 51 218q108 0 190 -39.5t189 -123.5q147 35 309 35q148 0 280 -32q105 82 187 121t189 39q51 -102 51 -218 q0 -87 -27 -168q136 -160 136 -398z" />
281
+ <glyph unicode="&#xf114;" horiz-adv-x="1664" d="M1536 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68v-960q0 -40 28 -68t68 -28h1216q40 0 68 28t28 68zM1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320 q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />
282
+ <glyph unicode="&#xf115;" horiz-adv-x="1920" d="M1781 605q0 35 -53 35h-1088q-40 0 -85.5 -21.5t-71.5 -52.5l-294 -363q-18 -24 -18 -40q0 -35 53 -35h1088q40 0 86 22t71 53l294 363q18 22 18 39zM640 768h768v160q0 40 -28 68t-68 28h-576q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68 v-853l256 315q44 53 116 87.5t140 34.5zM1909 605q0 -62 -46 -120l-295 -363q-43 -53 -116 -87.5t-140 -34.5h-1088q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158v-160h192q54 0 99 -24.5t67 -70.5q15 -32 15 -68z " />
283
+ <glyph unicode="&#xf116;" horiz-adv-x="1152" d="M896 608v-64q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-224q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v224q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-224h224q14 0 23 -9t9 -23zM1024 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 -28 t-28 -68v-704q0 -40 28 -68t68 -28h704q40 0 68 28t28 68zM1152 928v-704q0 -92 -65.5 -158t-158.5 -66h-704q-93 0 -158.5 66t-65.5 158v704q0 93 65.5 158.5t158.5 65.5h704q93 0 158.5 -65.5t65.5 -158.5z" />
284
+ <glyph unicode="&#xf117;" horiz-adv-x="1152" d="M928 1152q93 0 158.5 -65.5t65.5 -158.5v-704q0 -92 -65.5 -158t-158.5 -66h-704q-93 0 -158.5 66t-65.5 158v704q0 93 65.5 158.5t158.5 65.5h704zM1024 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 -28t-28 -68v-704q0 -40 28 -68t68 -28h704q40 0 68 28t28 68z M864 640q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-576q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h576z" />
285
+ <glyph unicode="&#xf118;" d="M1134 461q-37 -121 -138 -195t-228 -74t-228 74t-138 195q-8 25 4 48.5t38 31.5q25 8 48.5 -4t31.5 -38q25 -80 92.5 -129.5t151.5 -49.5t151.5 49.5t92.5 129.5q8 26 32 38t49 4t37 -31.5t4 -48.5zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5 t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5 t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
286
+ <glyph unicode="&#xf119;" d="M1134 307q8 -25 -4 -48.5t-37 -31.5t-49 4t-32 38q-25 80 -92.5 129.5t-151.5 49.5t-151.5 -49.5t-92.5 -129.5q-8 -26 -31.5 -38t-48.5 -4q-26 8 -38 31.5t-4 48.5q37 121 138 195t228 74t228 -74t138 -195zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204 t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
287
+ <glyph unicode="&#xf11a;" d="M1152 448q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h640q26 0 45 -19t19 -45zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
288
+ <glyph unicode="&#xf11b;" horiz-adv-x="1920" d="M832 448v128q0 14 -9 23t-23 9h-192v192q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-192h-192q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h192v-192q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v192h192q14 0 23 9t9 23zM1408 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5 t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 640q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1920 512q0 -212 -150 -362t-362 -150q-192 0 -338 128h-220q-146 -128 -338 -128q-212 0 -362 150 t-150 362t150 362t362 150h896q212 0 362 -150t150 -362z" />
289
+ <glyph unicode="&#xf11c;" horiz-adv-x="1920" d="M384 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM512 624v-96q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h224q16 0 16 -16zM384 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 368v-96q0 -16 -16 -16 h-864q-16 0 -16 16v96q0 16 16 16h864q16 0 16 -16zM768 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM640 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1024 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16 h96q16 0 16 -16zM896 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1280 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1152 880v-96 q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 880v-352q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h112v240q0 16 16 16h96q16 0 16 -16zM1792 128v896h-1664v-896 h1664zM1920 1024v-896q0 -53 -37.5 -90.5t-90.5 -37.5h-1664q-53 0 -90.5 37.5t-37.5 90.5v896q0 53 37.5 90.5t90.5 37.5h1664q53 0 90.5 -37.5t37.5 -90.5z" />
290
+ <glyph unicode="&#xf11d;" horiz-adv-x="1792" d="M1664 491v616q-169 -91 -306 -91q-82 0 -145 32q-100 49 -184 76.5t-178 27.5q-173 0 -403 -127v-599q245 113 433 113q55 0 103.5 -7.5t98 -26t77 -31t82.5 -39.5l28 -14q44 -22 101 -22q120 0 293 92zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9 h-64q-14 0 -23 9t-9 23v1266q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102 q-15 -9 -33 -9q-16 0 -32 8q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" />
291
+ <glyph unicode="&#xf11e;" horiz-adv-x="1792" d="M832 536v192q-181 -16 -384 -117v-185q205 96 384 110zM832 954v197q-172 -8 -384 -126v-189q215 111 384 118zM1664 491v184q-235 -116 -384 -71v224q-20 6 -39 15q-5 3 -33 17t-34.5 17t-31.5 15t-34.5 15.5t-32.5 13t-36 12.5t-35 8.5t-39.5 7.5t-39.5 4t-44 2 q-23 0 -49 -3v-222h19q102 0 192.5 -29t197.5 -82q19 -9 39 -15v-188q42 -17 91 -17q120 0 293 92zM1664 918v189q-169 -91 -306 -91q-45 0 -78 8v-196q148 -42 384 90zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v1266 q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102q-15 -9 -33 -9q-16 0 -32 8 q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" />
292
+ <glyph unicode="&#xf120;" horiz-adv-x="1664" d="M585 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23zM1664 96v-64q0 -14 -9 -23t-23 -9h-960q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h960q14 0 23 -9 t9 -23z" />
293
+ <glyph unicode="&#xf121;" horiz-adv-x="1920" d="M617 137l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23zM1208 1204l-373 -1291q-4 -13 -15.5 -19.5t-23.5 -2.5l-62 17q-13 4 -19.5 15.5t-2.5 24.5 l373 1291q4 13 15.5 19.5t23.5 2.5l62 -17q13 -4 19.5 -15.5t2.5 -24.5zM1865 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23z" />
294
+ <glyph unicode="&#xf122;" horiz-adv-x="1792" d="M640 454v-70q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-69l-397 -398q-19 -19 -19 -45t19 -45zM1792 416q0 -58 -17 -133.5t-38.5 -138t-48 -125t-40.5 -90.5l-20 -40q-8 -17 -28 -17q-6 0 -9 1 q-25 8 -23 34q43 400 -106 565q-64 71 -170.5 110.5t-267.5 52.5v-251q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-262q411 -28 599 -221q169 -173 169 -509z" />
295
+ <glyph unicode="&#xf123;" horiz-adv-x="1664" d="M1186 579l257 250l-356 52l-66 10l-30 60l-159 322v-963l59 -31l318 -168l-60 355l-12 66zM1638 841l-363 -354l86 -500q5 -33 -6 -51.5t-34 -18.5q-17 0 -40 12l-449 236l-449 -236q-23 -12 -40 -12q-23 0 -34 18.5t-6 51.5l86 500l-364 354q-32 32 -23 59.5t54 34.5 l502 73l225 455q20 41 49 41q28 0 49 -41l225 -455l502 -73q45 -7 54 -34.5t-24 -59.5z" />
296
+ <glyph unicode="&#xf124;" horiz-adv-x="1408" d="M1401 1187l-640 -1280q-17 -35 -57 -35q-5 0 -15 2q-22 5 -35.5 22.5t-13.5 39.5v576h-576q-22 0 -39.5 13.5t-22.5 35.5t4 42t29 30l1280 640q13 7 29 7q27 0 45 -19q15 -14 18.5 -34.5t-6.5 -39.5z" />
297
+ <glyph unicode="&#xf125;" horiz-adv-x="1664" d="M557 256h595v595zM512 301l595 595h-595v-595zM1664 224v-192q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v224h-864q-14 0 -23 9t-9 23v864h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224v224q0 14 9 23t23 9h192q14 0 23 -9t9 -23 v-224h851l246 247q10 9 23 9t23 -9q9 -10 9 -23t-9 -23l-247 -246v-851h224q14 0 23 -9t9 -23z" />
298
+ <glyph unicode="&#xf126;" horiz-adv-x="1024" d="M288 64q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM288 1216q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM928 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1024 1088q0 -52 -26 -96.5t-70 -69.5 q-2 -287 -226 -414q-68 -38 -203 -81q-128 -40 -169.5 -71t-41.5 -100v-26q44 -25 70 -69.5t26 -96.5q0 -80 -56 -136t-136 -56t-136 56t-56 136q0 52 26 96.5t70 69.5v820q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136q0 -52 -26 -96.5t-70 -69.5v-497 q54 26 154 57q55 17 87.5 29.5t70.5 31t59 39.5t40.5 51t28 69.5t8.5 91.5q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136z" />
299
+ <glyph unicode="&#xf127;" horiz-adv-x="1664" d="M439 265l-256 -256q-10 -9 -23 -9q-12 0 -23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23zM608 224v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM384 448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23t9 23t23 9h320 q14 0 23 -9t9 -23zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-334 335q-21 21 -42 56l239 18l273 -274q27 -27 68 -27.5t68 26.5l147 146q28 28 28 67q0 40 -28 68l-274 275l18 239q35 -21 56 -42l336 -336q84 -86 84 -204zM1031 1044l-239 -18 l-273 274q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l274 -274l-18 -240q-35 21 -56 42l-336 336q-84 86 -84 204q0 120 85 203l147 146q83 83 203 83q121 0 204 -85l334 -335q21 -21 42 -56zM1664 960q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9 t-9 23t9 23t23 9h320q14 0 23 -9t9 -23zM1120 1504v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM1527 1353l-256 -256q-11 -9 -23 -9t-23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23z" />
300
+ <glyph unicode="&#xf128;" horiz-adv-x="1024" d="M704 280v-240q0 -16 -12 -28t-28 -12h-240q-16 0 -28 12t-12 28v240q0 16 12 28t28 12h240q16 0 28 -12t12 -28zM1020 880q0 -54 -15.5 -101t-35 -76.5t-55 -59.5t-57.5 -43.5t-61 -35.5q-41 -23 -68.5 -65t-27.5 -67q0 -17 -12 -32.5t-28 -15.5h-240q-15 0 -25.5 18.5 t-10.5 37.5v45q0 83 65 156.5t143 108.5q59 27 84 56t25 76q0 42 -46.5 74t-107.5 32q-65 0 -108 -29q-35 -25 -107 -115q-13 -16 -31 -16q-12 0 -25 8l-164 125q-13 10 -15.5 25t5.5 28q160 266 464 266q80 0 161 -31t146 -83t106 -127.5t41 -158.5z" />
301
+ <glyph unicode="&#xf129;" horiz-adv-x="640" d="M640 192v-128q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64v384h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-576h64q26 0 45 -19t19 -45zM512 1344v-192q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v192 q0 26 19 45t45 19h256q26 0 45 -19t19 -45z" />
302
+ <glyph unicode="&#xf12a;" horiz-adv-x="640" d="M512 288v-224q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v224q0 26 19 45t45 19h256q26 0 45 -19t19 -45zM542 1344l-28 -768q-1 -26 -20.5 -45t-45.5 -19h-256q-26 0 -45.5 19t-20.5 45l-28 768q-1 26 17.5 45t44.5 19h320q26 0 44.5 -19t17.5 -45z" />
303
+ <glyph unicode="&#xf12b;" d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3l-9 -21q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109zM1534 846v-206h-514l-3 27 q-4 28 -4 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q83 65 188 65q110 0 178 -59.5t68 -158.5q0 -56 -24.5 -103t-62 -76.5t-81.5 -58.5t-82 -50.5t-65.5 -51.5t-30.5 -63h232v80 h126z" />
304
+ <glyph unicode="&#xf12c;" d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3l-9 -21q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109zM1536 -50v-206h-514l-4 27 q-3 45 -3 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q80 65 188 65q110 0 178 -59.5t68 -158.5q0 -66 -34.5 -118.5t-84 -86t-99.5 -62.5t-87 -63t-41 -73h232v80h126z" />
305
+ <glyph unicode="&#xf12d;" horiz-adv-x="1920" d="M896 128l336 384h-768l-336 -384h768zM1909 1205q15 -34 9.5 -71.5t-30.5 -65.5l-896 -1024q-38 -44 -96 -44h-768q-38 0 -69.5 20.5t-47.5 54.5q-15 34 -9.5 71.5t30.5 65.5l896 1024q38 44 96 44h768q38 0 69.5 -20.5t47.5 -54.5z" />
306
+ <glyph unicode="&#xf12e;" horiz-adv-x="1664" d="M1664 438q0 -81 -44.5 -135t-123.5 -54q-41 0 -77.5 17.5t-59 38t-56.5 38t-71 17.5q-110 0 -110 -124q0 -39 16 -115t15 -115v-5q-22 0 -33 -1q-34 -3 -97.5 -11.5t-115.5 -13.5t-98 -5q-61 0 -103 26.5t-42 83.5q0 37 17.5 71t38 56.5t38 59t17.5 77.5q0 79 -54 123.5 t-135 44.5q-84 0 -143 -45.5t-59 -127.5q0 -43 15 -83t33.5 -64.5t33.5 -53t15 -50.5q0 -45 -46 -89q-37 -35 -117 -35q-95 0 -245 24q-9 2 -27.5 4t-27.5 4l-13 2q-1 0 -3 1q-2 0 -2 1v1024q2 -1 17.5 -3.5t34 -5t21.5 -3.5q150 -24 245 -24q80 0 117 35q46 44 46 89 q0 22 -15 50.5t-33.5 53t-33.5 64.5t-15 83q0 82 59 127.5t144 45.5q80 0 134 -44.5t54 -123.5q0 -41 -17.5 -77.5t-38 -59t-38 -56.5t-17.5 -71q0 -57 42 -83.5t103 -26.5q64 0 180 15t163 17v-2q-1 -2 -3.5 -17.5t-5 -34t-3.5 -21.5q-24 -150 -24 -245q0 -80 35 -117 q44 -46 89 -46q22 0 50.5 15t53 33.5t64.5 33.5t83 15q82 0 127.5 -59t45.5 -143z" />
307
+ <glyph unicode="&#xf130;" horiz-adv-x="1152" d="M1152 832v-128q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-217 24 -364.5 187.5t-147.5 384.5v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -185 131.5 -316.5t316.5 -131.5 t316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45zM896 1216v-512q0 -132 -94 -226t-226 -94t-226 94t-94 226v512q0 132 94 226t226 94t226 -94t94 -226z" />
308
+ <glyph unicode="&#xf131;" horiz-adv-x="1408" d="M271 591l-101 -101q-42 103 -42 214v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -53 15 -113zM1385 1193l-361 -361v-128q0 -132 -94 -226t-226 -94q-55 0 -109 19l-96 -96q97 -51 205 -51q185 0 316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45v-128 q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-125 13 -235 81l-254 -254q-10 -10 -23 -10t-23 10l-82 82q-10 10 -10 23t10 23l1234 1234q10 10 23 10t23 -10l82 -82q10 -10 10 -23 t-10 -23zM1005 1325l-621 -621v512q0 132 94 226t226 94q102 0 184.5 -59t116.5 -152z" />
309
+ <glyph unicode="&#xf132;" horiz-adv-x="1280" d="M1088 576v640h-448v-1137q119 63 213 137q235 184 235 360zM1280 1344v-768q0 -86 -33.5 -170.5t-83 -150t-118 -127.5t-126.5 -103t-121 -77.5t-89.5 -49.5t-42.5 -20q-12 -6 -26 -6t-26 6q-16 7 -42.5 20t-89.5 49.5t-121 77.5t-126.5 103t-118 127.5t-83 150 t-33.5 170.5v768q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
310
+ <glyph unicode="&#xf133;" horiz-adv-x="1664" d="M128 -128h1408v1024h-1408v-1024zM512 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1280 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1664 1152v-1280 q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
311
+ <glyph unicode="&#xf134;" horiz-adv-x="1408" d="M512 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 1376v-320q0 -16 -12 -25q-8 -7 -20 -7q-4 0 -7 1l-448 96q-11 2 -18 11t-7 20h-256v-102q111 -23 183.5 -111t72.5 -203v-800q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v800 q0 106 62.5 190.5t161.5 114.5v111h-32q-59 0 -115 -23.5t-91.5 -53t-66 -66.5t-40.5 -53.5t-14 -24.5q-17 -35 -57 -35q-16 0 -29 7q-23 12 -31.5 37t3.5 49q5 10 14.5 26t37.5 53.5t60.5 70t85 67t108.5 52.5q-25 42 -25 86q0 66 47 113t113 47t113 -47t47 -113 q0 -33 -14 -64h302q0 11 7 20t18 11l448 96q3 1 7 1q12 0 20 -7q12 -9 12 -25z" />
312
+ <glyph unicode="&#xf135;" horiz-adv-x="1664" d="M1440 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1664 1376q0 -249 -75.5 -430.5t-253.5 -360.5q-81 -80 -195 -176l-20 -379q-2 -16 -16 -26l-384 -224q-7 -4 -16 -4q-12 0 -23 9l-64 64q-13 14 -8 32l85 276l-281 281l-276 -85q-3 -1 -9 -1 q-14 0 -23 9l-64 64q-17 19 -5 39l224 384q10 14 26 16l379 20q96 114 176 195q188 187 358 258t431 71q14 0 24 -9.5t10 -22.5z" />
313
+ <glyph unicode="&#xf136;" horiz-adv-x="1792" d="M1745 763l-164 -763h-334l178 832q13 56 -15 88q-27 33 -83 33h-169l-204 -953h-334l204 953h-286l-204 -953h-334l204 953l-153 327h1276q101 0 189.5 -40.5t147.5 -113.5q60 -73 81 -168.5t0 -194.5z" />
314
+ <glyph unicode="&#xf137;" d="M909 141l102 102q19 19 19 45t-19 45l-307 307l307 307q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
315
+ <glyph unicode="&#xf138;" d="M717 141l454 454q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l307 -307l-307 -307q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
316
+ <glyph unicode="&#xf139;" d="M1165 397l102 102q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l307 307l307 -307q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
317
+ <glyph unicode="&#xf13a;" d="M813 237l454 454q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-307 -307l-307 307q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
318
+ <glyph unicode="&#xf13b;" horiz-adv-x="1408" d="M1130 939l16 175h-884l47 -534h612l-22 -228l-197 -53l-196 53l-13 140h-175l22 -278l362 -100h4v1l359 99l50 544h-644l-15 181h674zM0 1408h1408l-128 -1438l-578 -162l-574 162z" />
319
+ <glyph unicode="&#xf13c;" horiz-adv-x="1792" d="M275 1408h1505l-266 -1333l-804 -267l-698 267l71 356h297l-29 -147l422 -161l486 161l68 339h-1208l58 297h1209l38 191h-1208z" />
320
+ <glyph unicode="&#xf13d;" horiz-adv-x="1792" d="M960 1280q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1792 352v-352q0 -22 -20 -30q-8 -2 -12 -2q-13 0 -23 9l-93 93q-119 -143 -318.5 -226.5t-429.5 -83.5t-429.5 83.5t-318.5 226.5l-93 -93q-9 -9 -23 -9q-4 0 -12 2q-20 8 -20 30v352 q0 14 9 23t23 9h352q22 0 30 -20q8 -19 -7 -35l-100 -100q67 -91 189.5 -153.5t271.5 -82.5v647h-192q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h192v163q-58 34 -93 92.5t-35 128.5q0 106 75 181t181 75t181 -75t75 -181q0 -70 -35 -128.5t-93 -92.5v-163h192q26 0 45 -19 t19 -45v-128q0 -26 -19 -45t-45 -19h-192v-647q149 20 271.5 82.5t189.5 153.5l-100 100q-15 16 -7 35q8 20 30 20h352q14 0 23 -9t9 -23z" />
321
+ <glyph unicode="&#xf13e;" horiz-adv-x="1152" d="M1056 768q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v320q0 185 131.5 316.5t316.5 131.5t316.5 -131.5t131.5 -316.5q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45q0 106 -75 181t-181 75t-181 -75t-75 -181 v-320h736z" />
322
+ <glyph unicode="&#xf140;" d="M1024 640q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM1152 640q0 159 -112.5 271.5t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM1280 640q0 -212 -150 -362t-362 -150t-362 150 t-150 362t150 362t362 150t362 -150t150 -362zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
323
+ <glyph unicode="&#xf141;" horiz-adv-x="1408" d="M384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM896 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM1408 800v-192q0 -40 -28 -68t-68 -28h-192 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" />
324
+ <glyph unicode="&#xf142;" horiz-adv-x="384" d="M384 288v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 1312v-192q0 -40 -28 -68t-68 -28h-192 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" />
325
+ <glyph unicode="&#xf143;" d="M512 256q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM863 162q-13 232 -177 396t-396 177q-14 1 -24 -9t-10 -23v-128q0 -13 8.5 -22t21.5 -10q154 -11 264 -121t121 -264q1 -13 10 -21.5t22 -8.5h128q13 0 23 10 t9 24zM1247 161q-5 154 -56 297.5t-139.5 260t-205 205t-260 139.5t-297.5 56q-14 1 -23 -9q-10 -10 -10 -23v-128q0 -13 9 -22t22 -10q204 -7 378 -111.5t278.5 -278.5t111.5 -378q1 -13 10 -22t22 -9h128q13 0 23 10q11 9 9 23zM1536 1120v-960q0 -119 -84.5 -203.5 t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
326
+ <glyph unicode="&#xf144;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1152 585q32 18 32 55t-32 55l-544 320q-31 19 -64 1q-32 -19 -32 -