Gallery Bank: WordPress Photo Gallery Plugin - Version 3.0.20

Version Description

  • Bugs Fixed
  • Compatibility with 3.9
Download this release

Release Info

Developer Gallery-Bank
Plugin Icon 128x128 Gallery Bank: WordPress Photo Gallery Plugin
Version 3.0.20
Comparing to
See all releases

Code changes from version 3.0.19 to 3.0.20

front_views/gallery-bank-shortcode.php CHANGED
@@ -31,10 +31,7 @@
31
  global $wpdb;
32
  $albums = $wpdb->get_results
33
  (
34
- $wpdb->prepare
35
- (
36
- "SELECT * FROM ".gallery_bank_albums()." order by album_order asc ",""
37
- )
38
  );
39
  for ($flag = 0; $flag < count($albums); $flag++) {
40
  ?>
31
  global $wpdb;
32
  $albums = $wpdb->get_results
33
  (
34
+ "SELECT * FROM ".gallery_bank_albums()." order by album_order asc "
 
 
 
35
  );
36
  for ($flag = 0; $flag < count($albums); $flag++) {
37
  ?>
front_views/includes_common_before.php CHANGED
@@ -5,10 +5,7 @@ $unique_id = rand(100, 10000);
5
  $effect = explode("-", $special_effect);
6
  $album_css = $wpdb->get_results
7
  (
8
- $wpdb->prepare
9
- (
10
- "SELECT * FROM " . gallery_bank_settings(), ""
11
- )
12
  );
13
  if (count($album_css) != 0) {
14
  $setting_keys = array();
@@ -71,12 +68,9 @@ switch ($album_type) {
71
  $img_in_row = 0;
72
  }
73
  $album = $wpdb->get_results
74
- (
75
- $wpdb->prepare
76
- (
77
- "SELECT * FROM " . gallery_bank_albums() . " order by album_order asc", ""
78
- )
79
- );
80
  break;
81
  }
82
 
5
  $effect = explode("-", $special_effect);
6
  $album_css = $wpdb->get_results
7
  (
8
+ "SELECT * FROM " . gallery_bank_settings()
 
 
 
9
  );
10
  if (count($album_css) != 0) {
11
  $setting_keys = array();
68
  $img_in_row = 0;
69
  }
70
  $album = $wpdb->get_results
71
+ (
72
+ "SELECT * FROM " . gallery_bank_albums() . " order by album_order asc"
73
+ );
 
 
 
74
  break;
75
  }
76
 
gallery-bank.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: http://tech-banker.com
5
  Description: Gallery Bank is an easy to use Responsive WordPress Gallery Plugin for photos, videos, galleries and albums.
6
  Author: Tech Banker
7
- Version: 3.0.19
8
  Author URI: http://tech-banker.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
4
  Plugin URI: http://tech-banker.com
5
  Description: Gallery Bank is an easy to use Responsive WordPress Gallery Plugin for photos, videos, galleries and albums.
6
  Author: Tech Banker
7
+ Version: 3.0.20
8
  Author URI: http://tech-banker.com
9
  */
10
  ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
lib/add-new-album-class.php CHANGED
@@ -269,11 +269,7 @@ else
269
 
270
  $wpdb->query
271
  (
272
- $wpdb->prepare
273
- (
274
- "DELETE FROM " . gallery_bank_pics() . " WHERE pic_id in ($delete_array)",
275
- ""
276
- )
277
  );
278
  die();
279
  }
269
 
270
  $wpdb->query
271
  (
272
+ "DELETE FROM " . gallery_bank_pics() . " WHERE pic_id in ($delete_array)"
 
 
 
 
273
  );
274
  die();
275
  }
lib/gallery-bank-class.php CHANGED
@@ -10,10 +10,7 @@ function create_global_menus_for_gallery_bank()
10
  add_submenu_page("gallery_bank", "Dashboard", __("Dashboard", gallery_bank), "read", "gallery_bank", "gallery_bank");
11
  $album_count = $wpdb->get_var
12
  (
13
- $wpdb->prepare
14
- (
15
- "SELECT count(album_id) FROM ".gallery_bank_albums(),""
16
- )
17
  );
18
  if($album_count < 2)
19
  {
@@ -65,10 +62,7 @@ function add_album()
65
  global $wpdb;
66
  $album_count = $wpdb->get_var
67
  (
68
- $wpdb->prepare
69
- (
70
- "SELECT count(album_id) FROM ".gallery_bank_albums(),""
71
- )
72
  );
73
  if($album_count < 2)
74
  {
10
  add_submenu_page("gallery_bank", "Dashboard", __("Dashboard", gallery_bank), "read", "gallery_bank", "gallery_bank");
11
  $album_count = $wpdb->get_var
12
  (
13
+ "SELECT count(album_id) FROM ".gallery_bank_albums()
 
 
 
14
  );
15
  if($album_count < 2)
16
  {
62
  global $wpdb;
63
  $album_count = $wpdb->get_var
64
  (
65
+ "SELECT count(album_id) FROM ".gallery_bank_albums()
 
 
 
66
  );
67
  if($album_count < 2)
68
  {
lib/install-script.php CHANGED
@@ -13,10 +13,7 @@ if($version == "")
13
  {
14
  $albums = $wpdb->get_results
15
  (
16
- $wpdb->prepare
17
- (
18
- "Select * FROM " . gallery_bank_albums(), ""
19
- )
20
  );
21
 
22
  $sql = "DROP TABLE " . gallery_bank_albums();
@@ -53,10 +50,7 @@ if($version == "")
53
  {
54
  $album_pics = $wpdb->get_results
55
  (
56
- $wpdb->prepare
57
- (
58
- "Select * FROM " . gallery_bank_pics(), ""
59
- )
60
  );
61
 
62
  $sql = "DROP TABLE " . gallery_bank_pics();
13
  {
14
  $albums = $wpdb->get_results
15
  (
16
+ "Select * FROM " . gallery_bank_albums()
 
 
 
17
  );
18
 
19
  $sql = "DROP TABLE " . gallery_bank_albums();
50
  {
51
  $album_pics = $wpdb->get_results
52
  (
53
+ "Select * FROM " . gallery_bank_pics()
 
 
 
54
  );
55
 
56
  $sql = "DROP TABLE " . gallery_bank_pics();
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: Gallery-Bank,contact-banker
3
  Tags: admin, album, best gallery plugin, best portfolio plugin, comments, easy media gallery, filterable gallery, filterable portfolio, gallery, gallery album, gallery bank, gallery wordpress plugin, grid gallery, image, image album, image slider, images, links, media, nextgen, page, pagination gallery, pagination portfolio, photo album, photo albums, photo gallery, photo slider, photos, pictures, plugin, portfolio, portfolio gallery, portfolio wordpress plugin, post, posts, responsive gallery, seo image,sidebar, slideshow, thumbnails, videos, widget, wordpress gallery plugin, wordpress portfolio plugin, wp gallery, wp gallery plugin
4
  Requires at least: 3.3
5
- Tested up to: 3.8.3
6
- Stable tag: 3.0.19
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
@@ -40,13 +40,15 @@ Gallery Bank has become the **Best Plugin** in the world for WordPress sites to
40
  > * [Demo Using Blog Style Layout in Grid Format](http://tech-banker.com/gallery-bank/demo/albums-in-grid-format-with-title-and-description-blog-style-layout/)
41
  > * [Demo Using Blog Style Layout in List Format](http://tech-banker.com/gallery-bank/demo/albums-in-list-format-with-title-and-description-blog-style-layout/)
42
 
 
 
43
  It provides a powerful engine for uploading and managing galleries of images & videos, with the ability to batch upload, add/delete/rearrange/sort images, edit thumbnails, 100+ settings, and even much more. It also provides different front-end display styles (filmstrips, slideshows, masonry, blog styles and thumbnail galleries), all of them comes with a wide array of options for controlling size, style, timing, transitions, controls, lightbox effects, and more.
44
 
45
  ***The Gallery Bank WordPress Gallery Plugin is now proudly maintained by <a href="http://www.tech-banker.com">Tech Banker Pte Ltd.</a> since March 2014.***
46
 
47
  Gallery Bank is designed to adapt each portfolio to any situation and can be easily used on mobiles as it is a Responsive Plugin.
48
 
49
- ***April 16, 2014: We're happy to announce that Gallery Bank reached 108,100+ plugin downloads in only 11 months. We frequently receive positive feedback from people using our Gallery Bank Plugin for WordPress. Thanks so much for your support!***
50
  `
51
  <a href="http://tech-banker.com/forum/gallery-bank-support/" target="_blank">Support Desk - feel free to ask your Queries</a>
52
 
@@ -223,7 +225,12 @@ With Global Settings, you can define different settings for Thumbnails, Albums,
223
 
224
  == Changelog ==
225
 
226
- = 3.0.17 =
 
 
 
 
 
227
 
228
  * Language Updated - Finnish
229
 
2
  Contributors: Gallery-Bank,contact-banker
3
  Tags: admin, album, best gallery plugin, best portfolio plugin, comments, easy media gallery, filterable gallery, filterable portfolio, gallery, gallery album, gallery bank, gallery wordpress plugin, grid gallery, image, image album, image slider, images, links, media, nextgen, page, pagination gallery, pagination portfolio, photo album, photo albums, photo gallery, photo slider, photos, pictures, plugin, portfolio, portfolio gallery, portfolio wordpress plugin, post, posts, responsive gallery, seo image,sidebar, slideshow, thumbnails, videos, widget, wordpress gallery plugin, wordpress portfolio plugin, wp gallery, wp gallery plugin
4
  Requires at least: 3.3
5
+ Tested up to: 3.9
6
+ Stable tag: 3.0.20
7
  License: GPLv3 or later
8
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
9
 
40
  > * [Demo Using Blog Style Layout in Grid Format](http://tech-banker.com/gallery-bank/demo/albums-in-grid-format-with-title-and-description-blog-style-layout/)
41
  > * [Demo Using Blog Style Layout in List Format](http://tech-banker.com/gallery-bank/demo/albums-in-list-format-with-title-and-description-blog-style-layout/)
42
 
43
+ [vimeo https://vimeo.com/92378296]
44
+
45
  It provides a powerful engine for uploading and managing galleries of images & videos, with the ability to batch upload, add/delete/rearrange/sort images, edit thumbnails, 100+ settings, and even much more. It also provides different front-end display styles (filmstrips, slideshows, masonry, blog styles and thumbnail galleries), all of them comes with a wide array of options for controlling size, style, timing, transitions, controls, lightbox effects, and more.
46
 
47
  ***The Gallery Bank WordPress Gallery Plugin is now proudly maintained by <a href="http://www.tech-banker.com">Tech Banker Pte Ltd.</a> since March 2014.***
48
 
49
  Gallery Bank is designed to adapt each portfolio to any situation and can be easily used on mobiles as it is a Responsive Plugin.
50
 
51
+ ***April 19 2014: We're happy to announce that Gallery Bank reached 109,850+ plugin downloads in only 11 months. We frequently receive positive feedback from people using our Gallery Bank Plugin for WordPress. Thanks so much for your support!***
52
  `
53
  <a href="http://tech-banker.com/forum/gallery-bank-support/" target="_blank">Support Desk - feel free to ask your Queries</a>
54
 
225
 
226
  == Changelog ==
227
 
228
+ = 3.0.20 =
229
+
230
+ * Bugs Fixed
231
+ * Compatibility with 3.9
232
+
233
+ = 3.0.19 =
234
 
235
  * Language Updated - Finnish
236
 
views/add-new-album.php CHANGED
@@ -2,11 +2,7 @@
2
  global $wpdb;
3
  $album_css = $wpdb->get_results
4
  (
5
- $wpdb->prepare
6
- (
7
- "SELECT * FROM " . gallery_bank_settings(), ""
8
-
9
- )
10
  );
11
  if (count($album_css) != 0) {
12
  $setting_keys = array();
2
  global $wpdb;
3
  $album_css = $wpdb->get_results
4
  (
5
+ "SELECT * FROM " . gallery_bank_settings()
 
 
 
 
6
  );
7
  if (count($album_css) != 0) {
8
  $setting_keys = array();
views/album-sorting.php CHANGED
@@ -11,80 +11,57 @@ if (isset($_REQUEST["order_id"])) {
11
  switch ($_REQUEST["order_id"]) {
12
  case "unsort":
13
  $album = $wpdb->get_results
14
- (
15
- $wpdb->prepare
16
- (
17
- "SELECT * FROM " . gallery_bank_albums(), ""
18
- )
19
- );
20
  break;
21
  case "albumId":
22
  $album = $wpdb->get_results
23
- (
24
- $wpdb->prepare
25
- (
26
- "SELECT * FROM " . gallery_bank_albums() . " order by album_id asc", ""
27
- )
28
- );
29
  break;
30
  case "name":
31
  $album = $wpdb->get_results
32
- (
33
- $wpdb->prepare
34
- (
35
- "SELECT * FROM " . gallery_bank_albums() . " order by album_name asc", ""
36
- )
37
- );
38
  break;
39
  case "date":
40
  $album = $wpdb->get_results
41
- (
42
- $wpdb->prepare
43
- (
44
- "SELECT * FROM " . gallery_bank_albums() . " order by album_date asc", ""
45
- )
46
- );
47
  break;
48
  case "asc":
49
  $album = $wpdb->get_results
50
- (
51
- $wpdb->prepare
52
- (
53
- "SELECT * FROM " . gallery_bank_albums() . " order by album_id asc", ""
54
- )
55
- );
56
  break;
57
  case "desc":
58
  $album = $wpdb->get_results
59
- (
60
- $wpdb->prepare
61
- (
62
- "SELECT * FROM " . gallery_bank_albums() . " order by album_id desc", ""
63
- )
64
- );
65
  break;
66
  }
67
  } else {
68
  $album = $wpdb->get_results
69
- (
70
- $wpdb->prepare
71
- (
72
- "SELECT * FROM " . gallery_bank_albums() . " order by album_order asc ", ""
73
- )
74
- );
75
  }
76
 
77
  $album_css = $wpdb->get_results
78
- (
79
- $wpdb->prepare
80
- (
81
- "SELECT * FROM " . gallery_bank_settings(), ""
82
-
83
- )
84
- );
85
- if (count($album_css) != 0) {
86
  $setting_keys = array();
87
- for ($flag = 0; $flag < count($album_css); $flag++) {
 
88
  array_push($setting_keys, $album_css[$flag]->setting_key);
89
  }
90
  $index = array_search("cover_thumbnail_width", $setting_keys);
11
  switch ($_REQUEST["order_id"]) {
12
  case "unsort":
13
  $album = $wpdb->get_results
14
+ (
15
+ "SELECT * FROM " . gallery_bank_albums()
16
+ );
 
 
 
17
  break;
18
  case "albumId":
19
  $album = $wpdb->get_results
20
+ (
21
+ "SELECT * FROM " . gallery_bank_albums() . " order by album_id asc"
22
+ );
 
 
 
23
  break;
24
  case "name":
25
  $album = $wpdb->get_results
26
+ (
27
+ "SELECT * FROM " . gallery_bank_albums() . " order by album_name asc"
28
+ );
 
 
 
29
  break;
30
  case "date":
31
  $album = $wpdb->get_results
32
+ (
33
+ "SELECT * FROM " . gallery_bank_albums() . " order by album_date asc"
34
+ );
 
 
 
35
  break;
36
  case "asc":
37
  $album = $wpdb->get_results
38
+ (
39
+ "SELECT * FROM " . gallery_bank_albums() . " order by album_id asc"
40
+ );
 
 
 
41
  break;
42
  case "desc":
43
  $album = $wpdb->get_results
44
+ (
45
+ "SELECT * FROM " . gallery_bank_albums() . " order by album_id desc"
46
+ );
 
 
 
47
  break;
48
  }
49
  } else {
50
  $album = $wpdb->get_results
51
+ (
52
+ "SELECT * FROM " . gallery_bank_albums() . " order by album_order asc "
53
+ );
 
 
 
54
  }
55
 
56
  $album_css = $wpdb->get_results
57
+ (
58
+ "SELECT * FROM " . gallery_bank_settings()
59
+ );
60
+ if (count($album_css) != 0)
61
+ {
 
 
 
62
  $setting_keys = array();
63
+ for ($flag = 0; $flag < count($album_css); $flag++)
64
+ {
65
  array_push($setting_keys, $album_css[$flag]->setting_key);
66
  }
67
  $index = array_search("cover_thumbnail_width", $setting_keys);
views/dashboard.php CHANGED
@@ -41,17 +41,11 @@
41
  }
42
  $album = $wpdb->get_results
43
  (
44
- $wpdb->prepare
45
- (
46
- "SELECT * FROM ".gallery_bank_albums()." order by album_order asc ",""
47
- )
48
  );
49
  $album_css = $wpdb->get_results
50
  (
51
- $wpdb->prepare
52
- (
53
- "SELECT * FROM ".gallery_bank_settings(),""
54
- )
55
  );
56
  if(count($album_css) != 0)
57
  {
@@ -140,10 +134,7 @@
140
  <?php
141
  $album_count = $wpdb->get_var
142
  (
143
- $wpdb->prepare
144
- (
145
- "SELECT count(album_id) FROM ".gallery_bank_albums(),""
146
- )
147
  );
148
  if($album_count < 2)
149
  {
41
  }
42
  $album = $wpdb->get_results
43
  (
44
+ "SELECT * FROM ".gallery_bank_albums()." order by album_order asc "
 
 
 
45
  );
46
  $album_css = $wpdb->get_results
47
  (
48
+ "SELECT * FROM ".gallery_bank_settings()
 
 
 
49
  );
50
  if(count($album_css) != 0)
51
  {
134
  <?php
135
  $album_count = $wpdb->get_var
136
  (
137
+ "SELECT count(album_id) FROM ".gallery_bank_albums()
 
 
 
138
  );
139
  if($album_count < 2)
140
  {
views/edit-album.php CHANGED
@@ -21,14 +21,13 @@ $pics = $wpdb->get_results
21
 
22
  $album_css = $wpdb->get_results
23
  (
24
- $wpdb->prepare
25
- (
26
- "SELECT * FROM " . gallery_bank_settings(), ""
27
- )
28
  );
29
- if (count($album_css) != 0) {
 
30
  $setting_keys = array();
31
- for ($flag = 0; $flag < count($album_css); $flag++) {
 
32
  array_push($setting_keys, $album_css[$flag]->setting_key);
33
  }
34
 
21
 
22
  $album_css = $wpdb->get_results
23
  (
24
+ "SELECT * FROM " . gallery_bank_settings()
 
 
 
25
  );
26
+ if (count($album_css) != 0)
27
+ {
28
  $setting_keys = array();
29
+ for ($flag = 0; $flag < count($album_css); $flag++)
30
+ {
31
  array_push($setting_keys, $album_css[$flag]->setting_key);
32
  }
33
 
views/images-sorting.php CHANGED
@@ -88,24 +88,22 @@ if (isset($_REQUEST["order_id"])) {
88
  }
89
 
90
  $album = $wpdb->get_row
91
- (
92
- $wpdb->prepare
93
- (
94
- "SELECT * FROM " . gallery_bank_albums() . " where album_id = %d",
95
- $album_id
96
- )
97
- );
98
  $album_css = $wpdb->get_results
99
- (
100
- $wpdb->prepare
101
- (
102
- "SELECT * FROM " . gallery_bank_settings(), ""
103
-
104
- )
105
- );
106
- if (count($album_css) != 0) {
107
  $setting_keys = array();
108
- for ($flag = 0; $flag < count($album_css); $flag++) {
 
109
  array_push($setting_keys, $album_css[$flag]->setting_key);
110
  }
111
  $index = array_search("thumbnails_width", $setting_keys);
88
  }
89
 
90
  $album = $wpdb->get_row
91
+ (
92
+ $wpdb->prepare
93
+ (
94
+ "SELECT * FROM " . gallery_bank_albums() . " where album_id = %d",
95
+ $album_id
96
+ )
97
+ );
98
  $album_css = $wpdb->get_results
99
+ (
100
+ "SELECT * FROM " . gallery_bank_settings()
101
+ );
102
+ if (count($album_css) != 0)
103
+ {
 
 
 
104
  $setting_keys = array();
105
+ for ($flag = 0; $flag < count($album_css); $flag++)
106
+ {
107
  array_push($setting_keys, $album_css[$flag]->setting_key);
108
  }
109
  $index = array_search("thumbnails_width", $setting_keys);
views/includes_common_before.php CHANGED
@@ -20,10 +20,7 @@ $album = $wpdb->get_var
20
  );
21
  $album_css = $wpdb->get_results
22
  (
23
- $wpdb->prepare
24
- (
25
- "SELECT * FROM " . gallery_bank_settings(), ""
26
- )
27
  );
28
  /***** Global Queries ******/
29
 
@@ -145,6 +142,46 @@ if (count($album_css) != 0) {
145
  -khtml-opacity: <?php echo $thumbnails_opacity; ?> !important;
146
  margin-right: <?php echo $margin_btw_thumbnails;?>px !important;
147
  margin-bottom: <?php echo $margin_btw_thumbnails;?>px !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
  }
149
  .imgLiquidFill {
150
  width: <?php echo $thumbnails_width;?>px !important;
@@ -159,7 +196,7 @@ if (count($album_css) != 0) {
159
  .pp_pic_holder.pp_default {
160
  background-color: #ffffff;
161
  }
162
-
163
  div.pp_overlay {
164
  background-color: <?php echo $lightbox_overlay_bg_color;?> !important;
165
  opacity: <?php echo $lightbox_overlay_opacity;?> !important;
20
  );
21
  $album_css = $wpdb->get_results
22
  (
23
+ "SELECT * FROM " . gallery_bank_settings()
 
 
 
24
  );
25
  /***** Global Queries ******/
26
 
142
  -khtml-opacity: <?php echo $thumbnails_opacity; ?> !important;
143
  margin-right: <?php echo $margin_btw_thumbnails;?>px !important;
144
  margin-bottom: <?php echo $margin_btw_thumbnails;?>px !important;
145
+ }
146
+ <?php
147
+ if($responsive != "true")
148
+ {
149
+ ?>
150
+ .images-in-row_<?php echo $unique_id;?>
151
+ {
152
+ <?php
153
+
154
+ if($gallery_type != "masonry")
155
+ {
156
+ if($pagination_setting == 1)
157
+ {
158
+ ?>
159
+ height: <?php echo ($thumbnails_height + $margin_btw_thumbnails) * ceil($images_per_page / $img_in_row) + 20 ;?>px !important;
160
+ <?php
161
+ }
162
+ else
163
+ {
164
+ ?>
165
+ height: <?php echo ($thumbnails_height + $margin_btw_thumbnails) * ceil(count($pics) / $img_in_row) + 20 ;?>px !important;
166
+ <?php
167
+ }
168
+ ?> width: <?php echo ($thumbnails_width + ($margin_btw_thumbnails * 2)) * $img_in_row ;?>px !important;
169
+ <?php
170
+ }
171
+ else if($gallery_type == "masonry")
172
+ {
173
+
174
+ ?> width: <?php echo ($thumbnails_width + ($margin_btw_thumbnails * 2) + ($thumbnails_border_size * 2)) * $img_in_row ;?>px !important;
175
+ <?php
176
+ }
177
+ ?> clear: both;
178
+ }
179
+ <?php
180
+ }
181
+ ?>
182
+ .images-in-row_<?php echo $unique_id;?> a
183
+ {
184
+ text-decoration:none !important;
185
  }
186
  .imgLiquidFill {
187
  width: <?php echo $thumbnails_width;?>px !important;
196
  .pp_pic_holder.pp_default {
197
  background-color: #ffffff;
198
  }
199
+
200
  div.pp_overlay {
201
  background-color: <?php echo $lightbox_overlay_bg_color;?> !important;
202
  opacity: <?php echo $lightbox_overlay_opacity;?> !important;
views/settings.php CHANGED
@@ -3,10 +3,7 @@ global $wpdb, $current_user,$wp_version;
3
 
4
  $album_css = $wpdb->get_results
5
  (
6
- $wpdb->prepare
7
- (
8
- "SELECT * FROM " . gallery_bank_settings(), ""
9
- )
10
  );
11
  if (count($album_css) != 0) {
12
  $setting_keys = array();
3
 
4
  $album_css = $wpdb->get_results
5
  (
6
+ "SELECT * FROM " . gallery_bank_settings()
 
 
 
7
  );
8
  if (count($album_css) != 0) {
9
  $setting_keys = array();