Version Description
- Few Bugs Fixed
- Languages Updated
Download this release
Release Info
Developer | Gallery-Bank |
Plugin | Gallery Bank: WordPress Photo Gallery Plugin |
Version | 2.0.8 |
Comparing to | |
See all releases |
Code changes from version 2.0.7 to 2.0.8
- gallery-bank.php +1 -1
- lib/front-view-album-class.php +256 -35
- lib/gallery-bank-class.php +1 -0
- lib/image_sorting_class.php +96 -23
- readme.txt +7 -1
- views/add-new-album.php +1 -1
- views/album_preview.php +267 -41
- views/front-view-albums.php +38 -8
- views/front-view-all-albums.php +36 -6
- views/front_view.php +252 -31
- views/images_sorting.php +95 -22
gallery-bank.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin URI: http://gallery-bank.com
|
5 |
Description: Gallery Bank is an interactive WordPress photo gallery plugin, best fit for creative and corporate portfolio websites.
|
6 |
Author: Gallery-Bank
|
7 |
-
Version: 2.0.
|
8 |
Author URI: http://gallery-bank.com
|
9 |
*/
|
10 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
4 |
Plugin URI: http://gallery-bank.com
|
5 |
Description: Gallery Bank is an interactive WordPress photo gallery plugin, best fit for creative and corporate portfolio websites.
|
6 |
Author: Gallery-Bank
|
7 |
+
Version: 2.0.8
|
8 |
Author URI: http://gallery-bank.com
|
9 |
*/
|
10 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
lib/front-view-album-class.php
CHANGED
@@ -82,6 +82,8 @@
|
|
82 |
$slide_interval = explode(":", $slideshow_settings[1]);
|
83 |
|
84 |
$pagination = explode(":", $content[4]);
|
|
|
|
|
85 |
if($auto_play[1] == "1")
|
86 |
{
|
87 |
$autoplay = true;
|
@@ -101,19 +103,28 @@
|
|
101 |
<?php
|
102 |
}
|
103 |
$count = 1;
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
110 |
for ($flag = 0; $flag <count($pic_detail); $flag++)
|
111 |
{
|
112 |
if($pagination[1] == 1)
|
113 |
{
|
114 |
if($count == 1)
|
115 |
{
|
116 |
-
|
117 |
?>
|
118 |
<tr><td>
|
119 |
<?php
|
@@ -146,13 +157,13 @@
|
|
146 |
{
|
147 |
if($images_in_row[1] == 1)
|
148 |
{
|
149 |
-
|
150 |
<div class="view da-thumbs" style="height:<?php echo $custom_height; ?>;width:<?php echo $custom_width; ?>;">
|
151 |
-
|
152 |
-
|
153 |
}
|
154 |
-
else
|
155 |
-
|
|
|
156 |
<div class="view da-thumbs" style="float:left;height:<?php echo $custom_height; ?>;width:<?php echo $custom_width; ?>;">
|
157 |
<?php
|
158 |
}
|
@@ -163,7 +174,21 @@
|
|
163 |
{
|
164 |
?>
|
165 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
166 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
168 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
169 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -181,7 +206,21 @@
|
|
181 |
{
|
182 |
?>
|
183 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
184 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
186 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
187 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -204,8 +243,21 @@
|
|
204 |
if($image_content[1] == 1)
|
205 |
{
|
206 |
|
207 |
-
|
208 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
210 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
211 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -221,8 +273,20 @@
|
|
221 |
else
|
222 |
{
|
223 |
|
224 |
-
|
|
|
|
|
225 |
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
227 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
228 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -300,7 +364,21 @@
|
|
300 |
{
|
301 |
?>
|
302 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
303 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
304 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
305 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
306 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -318,7 +396,21 @@
|
|
318 |
{
|
319 |
?>
|
320 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
321 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
322 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
323 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
324 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -341,8 +433,20 @@
|
|
341 |
if($image_content[1] == 1)
|
342 |
{
|
343 |
|
344 |
-
|
345 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
346 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
347 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
348 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -359,8 +463,20 @@
|
|
359 |
else
|
360 |
{
|
361 |
|
362 |
-
|
363 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
364 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
365 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
366 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -422,7 +538,21 @@
|
|
422 |
{
|
423 |
?>
|
424 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
425 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
426 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
427 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
428 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -440,7 +570,21 @@
|
|
440 |
{
|
441 |
?>
|
442 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
443 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
444 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
445 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
446 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -462,8 +606,20 @@
|
|
462 |
if($image_content[1] == 1)
|
463 |
{
|
464 |
|
465 |
-
|
466 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
467 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
468 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
469 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -481,8 +637,20 @@
|
|
481 |
else
|
482 |
{
|
483 |
|
484 |
-
|
485 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
486 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
487 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
488 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -560,7 +728,21 @@
|
|
560 |
{
|
561 |
?>
|
562 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
563 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
564 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
565 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
566 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -578,7 +760,21 @@
|
|
578 |
{
|
579 |
?>
|
580 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
581 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
582 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
583 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
584 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -599,8 +795,21 @@
|
|
599 |
<?php
|
600 |
if($image_content[1] == 1)
|
601 |
{
|
602 |
-
|
603 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
604 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
605 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
606 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -617,8 +826,20 @@
|
|
617 |
else
|
618 |
{
|
619 |
|
620 |
-
|
621 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
622 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
623 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
624 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
82 |
$slide_interval = explode(":", $slideshow_settings[1]);
|
83 |
|
84 |
$pagination = explode(":", $content[4]);
|
85 |
+
$pagename = 'temp';
|
86 |
+
$fileName = GALLERY_BK_PLUGIN_DIR.'/lib/cache/'.$pagename.".txt";
|
87 |
if($auto_play[1] == "1")
|
88 |
{
|
89 |
$autoplay = true;
|
103 |
<?php
|
104 |
}
|
105 |
$count = 1;
|
106 |
+
if(file_exists($fileName)!=false)
|
107 |
+
{
|
108 |
+
$default_height = 151 + ($image_border_size_value[1] * 2) . "px;" . "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
109 |
+
$default_width = 155 + ($image_border_size_value[1] * 2) . "px;" ."border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
110 |
+
$custom_height = $image_height[1] + 1 + ($image_border_size_value[1] * 2) . "px;" . "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
111 |
+
$custom_width = $image_width[1] + 5 + ($image_border_size_value[1] * 2) . "px;" . "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
112 |
+
$radius_for_shutter = "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
113 |
+
}
|
114 |
+
else
|
115 |
+
{
|
116 |
+
$default_height = 151 + (0) . "px;" . "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
117 |
+
$default_width = 155 + (0) . "px;" ."border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
118 |
+
$custom_height = $image_height[1] + 1 + (0) . "px;" . "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
119 |
+
$custom_width = $image_width[1] + 5 + (0) . "px;" . "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
120 |
+
$radius_for_shutter = "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
121 |
+
}
|
122 |
for ($flag = 0; $flag <count($pic_detail); $flag++)
|
123 |
{
|
124 |
if($pagination[1] == 1)
|
125 |
{
|
126 |
if($count == 1)
|
127 |
{
|
|
|
128 |
?>
|
129 |
<tr><td>
|
130 |
<?php
|
157 |
{
|
158 |
if($images_in_row[1] == 1)
|
159 |
{
|
160 |
+
?>
|
161 |
<div class="view da-thumbs" style="height:<?php echo $custom_height; ?>;width:<?php echo $custom_width; ?>;">
|
162 |
+
<?php
|
|
|
163 |
}
|
164 |
+
else
|
165 |
+
{
|
166 |
+
?>
|
167 |
<div class="view da-thumbs" style="float:left;height:<?php echo $custom_height; ?>;width:<?php echo $custom_width; ?>;">
|
168 |
<?php
|
169 |
}
|
174 |
{
|
175 |
?>
|
176 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
177 |
+
<?php
|
178 |
+
if(file_exists($fileName)!=false)
|
179 |
+
{
|
180 |
+
?>
|
181 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
182 |
+
<?php
|
183 |
+
}
|
184 |
+
else
|
185 |
+
{
|
186 |
+
?>
|
187 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin-left:5px;width:155px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
188 |
+
<?php
|
189 |
+
}
|
190 |
+
?>
|
191 |
+
|
192 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
193 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
194 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
206 |
{
|
207 |
?>
|
208 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
209 |
+
<?php
|
210 |
+
if(file_exists($fileName)!=false)
|
211 |
+
{
|
212 |
+
?>
|
213 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
214 |
+
<?php
|
215 |
+
}
|
216 |
+
else
|
217 |
+
{
|
218 |
+
?>
|
219 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
220 |
+
<?php
|
221 |
+
}
|
222 |
+
?>
|
223 |
+
|
224 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
225 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
226 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
243 |
if($image_content[1] == 1)
|
244 |
{
|
245 |
|
246 |
+
|
247 |
+
if(file_exists($fileName)!=false)
|
248 |
+
{
|
249 |
+
?>
|
250 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
251 |
+
<?php
|
252 |
+
}
|
253 |
+
else
|
254 |
+
{
|
255 |
+
?>
|
256 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin-left:5px;width:155px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
257 |
+
<?php
|
258 |
+
}
|
259 |
+
?>
|
260 |
+
|
261 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
262 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
263 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
273 |
else
|
274 |
{
|
275 |
|
276 |
+
if(file_exists($fileName)!=false)
|
277 |
+
{
|
278 |
+
?>
|
279 |
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
280 |
+
<?php
|
281 |
+
}
|
282 |
+
else
|
283 |
+
{
|
284 |
+
?>
|
285 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
286 |
+
<?php
|
287 |
+
}
|
288 |
+
?>
|
289 |
+
|
290 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
291 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
292 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
364 |
{
|
365 |
?>
|
366 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
367 |
+
<?php
|
368 |
+
if(file_exists($fileName)!=false)
|
369 |
+
{
|
370 |
+
?>
|
371 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
372 |
+
<?php
|
373 |
+
}
|
374 |
+
else
|
375 |
+
{
|
376 |
+
?>
|
377 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin-left:5px;width:155px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
378 |
+
<?php
|
379 |
+
}
|
380 |
+
?>
|
381 |
+
|
382 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
383 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
384 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
396 |
{
|
397 |
?>
|
398 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
399 |
+
<?php
|
400 |
+
if(file_exists($fileName)!=false)
|
401 |
+
{
|
402 |
+
?>
|
403 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
404 |
+
<?php
|
405 |
+
}
|
406 |
+
else
|
407 |
+
{
|
408 |
+
?>
|
409 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
410 |
+
<?php
|
411 |
+
}
|
412 |
+
?>
|
413 |
+
|
414 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
415 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
416 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
433 |
if($image_content[1] == 1)
|
434 |
{
|
435 |
|
436 |
+
if(file_exists($fileName)!=false)
|
437 |
+
{
|
438 |
+
?>
|
439 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
440 |
+
<?php
|
441 |
+
}
|
442 |
+
else
|
443 |
+
{
|
444 |
+
?>
|
445 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin-left:5px;width:155px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
446 |
+
<?php
|
447 |
+
}
|
448 |
+
?>
|
449 |
+
|
450 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
451 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
452 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
463 |
else
|
464 |
{
|
465 |
|
466 |
+
if(file_exists($fileName)!=false)
|
467 |
+
{
|
468 |
+
?>
|
469 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
470 |
+
<?php
|
471 |
+
}
|
472 |
+
else
|
473 |
+
{
|
474 |
+
?>
|
475 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
476 |
+
<?php
|
477 |
+
}
|
478 |
+
?>
|
479 |
+
|
480 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
481 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
482 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
538 |
{
|
539 |
?>
|
540 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
541 |
+
<?php
|
542 |
+
if(file_exists($fileName)!=false)
|
543 |
+
{
|
544 |
+
?>
|
545 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
546 |
+
<?php
|
547 |
+
}
|
548 |
+
else
|
549 |
+
{
|
550 |
+
?>
|
551 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin-left:5px;width:155px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
552 |
+
<?php
|
553 |
+
}
|
554 |
+
?>
|
555 |
+
|
556 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
557 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
558 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
570 |
{
|
571 |
?>
|
572 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
573 |
+
<?php
|
574 |
+
if(file_exists($fileName)!=false)
|
575 |
+
{
|
576 |
+
?>
|
577 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
578 |
+
<?php
|
579 |
+
}
|
580 |
+
else
|
581 |
+
{
|
582 |
+
?>
|
583 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
584 |
+
<?php
|
585 |
+
}
|
586 |
+
?>
|
587 |
+
|
588 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
589 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
590 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
606 |
if($image_content[1] == 1)
|
607 |
{
|
608 |
|
609 |
+
if(file_exists($fileName)!=false)
|
610 |
+
{
|
611 |
+
?>
|
612 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
613 |
+
<?php
|
614 |
+
}
|
615 |
+
else
|
616 |
+
{
|
617 |
+
?>
|
618 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin-left:5px;width:155px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
619 |
+
<?php
|
620 |
+
}
|
621 |
+
?>
|
622 |
+
|
623 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
624 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
625 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
637 |
else
|
638 |
{
|
639 |
|
640 |
+
if(file_exists($fileName)!=false)
|
641 |
+
{
|
642 |
+
?>
|
643 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
644 |
+
<?php
|
645 |
+
}
|
646 |
+
else
|
647 |
+
{
|
648 |
+
?>
|
649 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
650 |
+
<?php
|
651 |
+
}
|
652 |
+
?>
|
653 |
+
|
654 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
655 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
656 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
728 |
{
|
729 |
?>
|
730 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
731 |
+
<?php
|
732 |
+
if(file_exists($fileName)!=false)
|
733 |
+
{
|
734 |
+
?>
|
735 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
736 |
+
<?php
|
737 |
+
}
|
738 |
+
else
|
739 |
+
{
|
740 |
+
?>
|
741 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin-left:5px;width:155px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
742 |
+
<?php
|
743 |
+
}
|
744 |
+
?>
|
745 |
+
|
746 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
747 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
748 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
760 |
{
|
761 |
?>
|
762 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
763 |
+
<?php
|
764 |
+
if(file_exists($fileName)!=false)
|
765 |
+
{
|
766 |
+
?>
|
767 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
768 |
+
<?php
|
769 |
+
}
|
770 |
+
else
|
771 |
+
{
|
772 |
+
?>
|
773 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
774 |
+
<?php
|
775 |
+
}
|
776 |
+
?>
|
777 |
+
|
778 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
779 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
780 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
795 |
<?php
|
796 |
if($image_content[1] == 1)
|
797 |
{
|
798 |
+
|
799 |
+
if(file_exists($fileName)!=false)
|
800 |
+
{
|
801 |
+
?>
|
802 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
803 |
+
<?php
|
804 |
+
}
|
805 |
+
else
|
806 |
+
{
|
807 |
+
?>
|
808 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin-left:5px;width:155px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
809 |
+
<?php
|
810 |
+
}
|
811 |
+
?>
|
812 |
+
|
813 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
814 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
815 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
826 |
else
|
827 |
{
|
828 |
|
829 |
+
if(file_exists($fileName)!=false)
|
830 |
+
{
|
831 |
+
?>
|
832 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
833 |
+
<?php
|
834 |
+
}
|
835 |
+
else
|
836 |
+
{
|
837 |
+
?>
|
838 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
839 |
+
<?php
|
840 |
+
}
|
841 |
+
?>
|
842 |
+
|
843 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
844 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
845 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
lib/gallery-bank-class.php
CHANGED
@@ -158,6 +158,7 @@ function backend_scripts_calls()
|
|
158 |
wp_enqueue_script('mColorPicker_small.js', GALLERY_BK_PLUGIN_URL .'/assets/js/colorpicker/js/mColorPicker_small.js');
|
159 |
wp_enqueue_script('jquery.validate.min.js', GALLERY_BK_PLUGIN_URL .'/assets/js/plugins/forms/jquery.validate.min.js');
|
160 |
wp_enqueue_script('jquery.titanlighbox.js', GALLERY_BK_PLUGIN_URL .'/assets/js/jquery.titanlighbox.js');
|
|
|
161 |
wp_enqueue_script('compare.js', GALLERY_BK_PLUGIN_URL .'/assets/js/compare.js');
|
162 |
wp_enqueue_script('frontend.js', GALLERY_BK_PLUGIN_URL .'/assets/js/frontend.js');
|
163 |
}
|
158 |
wp_enqueue_script('mColorPicker_small.js', GALLERY_BK_PLUGIN_URL .'/assets/js/colorpicker/js/mColorPicker_small.js');
|
159 |
wp_enqueue_script('jquery.validate.min.js', GALLERY_BK_PLUGIN_URL .'/assets/js/plugins/forms/jquery.validate.min.js');
|
160 |
wp_enqueue_script('jquery.titanlighbox.js', GALLERY_BK_PLUGIN_URL .'/assets/js/jquery.titanlighbox.js');
|
161 |
+
//wp_enqueue_script('jquery.masonry.min.js', GALLERY_BK_PLUGIN_URL .'/assets/js/jquery.masonry.min.js');
|
162 |
wp_enqueue_script('compare.js', GALLERY_BK_PLUGIN_URL .'/assets/js/compare.js');
|
163 |
wp_enqueue_script('frontend.js', GALLERY_BK_PLUGIN_URL .'/assets/js/frontend.js');
|
164 |
}
|
lib/image_sorting_class.php
CHANGED
@@ -26,8 +26,8 @@ if(isset($_REQUEST['param']))
|
|
26 |
(
|
27 |
$wpdb->prepare
|
28 |
(
|
29 |
-
|
30 |
-
|
31 |
)
|
32 |
);
|
33 |
if($get_settings == 1)
|
@@ -36,9 +36,9 @@ if(isset($_REQUEST['param']))
|
|
36 |
(
|
37 |
$wpdb->prepare
|
38 |
(
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
)
|
43 |
);
|
44 |
}
|
@@ -48,9 +48,9 @@ if(isset($_REQUEST['param']))
|
|
48 |
(
|
49 |
$wpdb->prepare
|
50 |
(
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
)
|
55 |
);
|
56 |
}
|
@@ -64,7 +64,6 @@ if(isset($_REQUEST['param']))
|
|
64 |
$image_border_size_value = explode(":", $image_settings[5]);
|
65 |
$image_radius_value = explode(":", $image_settings[6]);
|
66 |
$border_color = explode(":", $image_settings[7]);
|
67 |
-
|
68 |
$lightbox_settings = explode(";", $content[2]);
|
69 |
$overlay_opacity = explode(":", $lightbox_settings[0]);
|
70 |
$overlay_border_size_value = explode(":", $lightbox_settings[1]);
|
@@ -80,6 +79,8 @@ if(isset($_REQUEST['param']))
|
|
80 |
$pagination_value = str_replace(";","",$pagination[1]);
|
81 |
$count = 1;
|
82 |
$row_id_images = "";
|
|
|
|
|
83 |
if($album_id != 0)
|
84 |
{
|
85 |
?>
|
@@ -123,17 +124,35 @@ if(isset($_REQUEST['param']))
|
|
123 |
<?php
|
124 |
if($image_content[1] == 1)
|
125 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
|
127 |
-
?>
|
128 |
-
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
129 |
-
<?php
|
130 |
}
|
131 |
else
|
132 |
{
|
133 |
-
|
134 |
-
|
|
|
135 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
136 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
}
|
138 |
$row_id_images .= "/" . $pic_detail[$flag]->pic_id;
|
139 |
|
@@ -143,17 +162,35 @@ if(isset($_REQUEST['param']))
|
|
143 |
|
144 |
if($image_content[1] == 1)
|
145 |
{
|
146 |
-
|
147 |
-
|
|
|
148 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
149 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
}
|
151 |
else
|
152 |
{
|
153 |
-
|
154 |
-
|
|
|
155 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
156 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
}
|
158 |
$row_id_images .= "-". $pic_detail[$flag]->pic_id;
|
159 |
|
@@ -168,17 +205,35 @@ if(isset($_REQUEST['param']))
|
|
168 |
<?php
|
169 |
if($image_content[1] == 1)
|
170 |
{
|
171 |
-
|
172 |
-
|
|
|
173 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
174 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
}
|
176 |
else
|
177 |
{
|
178 |
-
|
|
|
179 |
?>
|
180 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
181 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
}
|
183 |
$row_id_images .= "/" . $pic_detail[$flag]->pic_id;
|
184 |
|
@@ -190,17 +245,35 @@ if(isset($_REQUEST['param']))
|
|
190 |
<?php
|
191 |
if($image_content[1] == 1)
|
192 |
{
|
193 |
-
|
|
|
194 |
?>
|
195 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
196 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
197 |
}
|
198 |
else
|
199 |
{
|
200 |
-
|
|
|
201 |
?>
|
202 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
203 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
}
|
205 |
$row_id_images .= "-". $pic_detail[$flag]->pic_id;
|
206 |
|
26 |
(
|
27 |
$wpdb->prepare
|
28 |
(
|
29 |
+
"SELECT album_settings FROM ". gallery_bank_settings(). " WHERE album_id = %d",
|
30 |
+
$album_id
|
31 |
)
|
32 |
);
|
33 |
if($get_settings == 1)
|
36 |
(
|
37 |
$wpdb->prepare
|
38 |
(
|
39 |
+
"SELECT * FROM ". gallery_bank_settings(). " WHERE album_settings = %d and album_id = %d",
|
40 |
+
$get_settings,
|
41 |
+
0
|
42 |
)
|
43 |
);
|
44 |
}
|
48 |
(
|
49 |
$wpdb->prepare
|
50 |
(
|
51 |
+
"SELECT * FROM ". gallery_bank_settings(). " WHERE album_settings = %d and album_id =%d",
|
52 |
+
$get_settings,
|
53 |
+
$album_id
|
54 |
)
|
55 |
);
|
56 |
}
|
64 |
$image_border_size_value = explode(":", $image_settings[5]);
|
65 |
$image_radius_value = explode(":", $image_settings[6]);
|
66 |
$border_color = explode(":", $image_settings[7]);
|
|
|
67 |
$lightbox_settings = explode(";", $content[2]);
|
68 |
$overlay_opacity = explode(":", $lightbox_settings[0]);
|
69 |
$overlay_border_size_value = explode(":", $lightbox_settings[1]);
|
79 |
$pagination_value = str_replace(";","",$pagination[1]);
|
80 |
$count = 1;
|
81 |
$row_id_images = "";
|
82 |
+
$pagename = 'temp';
|
83 |
+
$fileName = GALLERY_BK_PLUGIN_DIR.'/lib/cache/'.$pagename.".txt";
|
84 |
if($album_id != 0)
|
85 |
{
|
86 |
?>
|
124 |
<?php
|
125 |
if($image_content[1] == 1)
|
126 |
{
|
127 |
+
if(file_exists($fileName)!=false)
|
128 |
+
{
|
129 |
+
?>
|
130 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
131 |
+
<?php
|
132 |
+
}
|
133 |
+
else
|
134 |
+
{
|
135 |
+
?>
|
136 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin:5px;width:150px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
137 |
+
<?php
|
138 |
+
}
|
139 |
|
|
|
|
|
|
|
140 |
}
|
141 |
else
|
142 |
{
|
143 |
+
if(file_exists($fileName)!=false)
|
144 |
+
{
|
145 |
+
?>
|
146 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
147 |
<?php
|
148 |
+
}
|
149 |
+
else
|
150 |
+
{
|
151 |
+
?>
|
152 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
153 |
+
<?php
|
154 |
+
}
|
155 |
+
|
156 |
}
|
157 |
$row_id_images .= "/" . $pic_detail[$flag]->pic_id;
|
158 |
|
162 |
|
163 |
if($image_content[1] == 1)
|
164 |
{
|
165 |
+
if(file_exists($fileName)!=false)
|
166 |
+
{
|
167 |
+
?>
|
168 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
169 |
<?php
|
170 |
+
}
|
171 |
+
else
|
172 |
+
{
|
173 |
+
?>
|
174 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin:5px;width:150px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
175 |
+
<?php
|
176 |
+
}
|
177 |
+
|
178 |
}
|
179 |
else
|
180 |
{
|
181 |
+
if(file_exists($fileName)!=false)
|
182 |
+
{
|
183 |
+
?>
|
184 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
185 |
<?php
|
186 |
+
}
|
187 |
+
else
|
188 |
+
{
|
189 |
+
?>
|
190 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
191 |
+
<?php
|
192 |
+
}
|
193 |
+
|
194 |
}
|
195 |
$row_id_images .= "-". $pic_detail[$flag]->pic_id;
|
196 |
|
205 |
<?php
|
206 |
if($image_content[1] == 1)
|
207 |
{
|
208 |
+
if(file_exists($fileName)!=false)
|
209 |
+
{
|
210 |
+
?>
|
211 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
212 |
<?php
|
213 |
+
}
|
214 |
+
else
|
215 |
+
{
|
216 |
+
?>
|
217 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin:5px;width:150px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
218 |
+
<?php
|
219 |
+
}
|
220 |
+
|
221 |
}
|
222 |
else
|
223 |
{
|
224 |
+
if(file_exists($fileName)!=false)
|
225 |
+
{
|
226 |
?>
|
227 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
228 |
<?php
|
229 |
+
}
|
230 |
+
else
|
231 |
+
{
|
232 |
+
?>
|
233 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
234 |
+
<?php
|
235 |
+
}
|
236 |
+
|
237 |
}
|
238 |
$row_id_images .= "/" . $pic_detail[$flag]->pic_id;
|
239 |
|
245 |
<?php
|
246 |
if($image_content[1] == 1)
|
247 |
{
|
248 |
+
if(file_exists($fileName)!=false)
|
249 |
+
{
|
250 |
?>
|
251 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
252 |
<?php
|
253 |
+
}
|
254 |
+
else
|
255 |
+
{
|
256 |
+
?>
|
257 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin:5px;width:150px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
258 |
+
<?php
|
259 |
+
}
|
260 |
+
|
261 |
}
|
262 |
else
|
263 |
{
|
264 |
+
if(file_exists($fileName)!=false)
|
265 |
+
{
|
266 |
?>
|
267 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
268 |
<?php
|
269 |
+
}
|
270 |
+
else
|
271 |
+
{
|
272 |
+
?>
|
273 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
274 |
+
<?php
|
275 |
+
}
|
276 |
+
|
277 |
}
|
278 |
$row_id_images .= "-". $pic_detail[$flag]->pic_id;
|
279 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Gallery-Bank
|
|
3 |
Tags: gallery, image, gallery images, album, foto, fotoalbum, website gallery, multiple pictures, pictures, photo, photoalbum, photogallery, photo gallery, lightbox,media, nextgen, nextgen gallery,photo, photo albums, picture, pictures, thumbnails, slideshow
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 3.6
|
6 |
-
Stable tag: 2.0.
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -133,6 +133,12 @@ With this bulk deletion feature, you can now delete the pictures you want in bul
|
|
133 |
6. Opening Image of the Album in Lightbox.
|
134 |
|
135 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
136 |
= 2.0.7 =
|
137 |
|
138 |
* Plugin Confliction with JetPack Fixed
|
3 |
Tags: gallery, image, gallery images, album, foto, fotoalbum, website gallery, multiple pictures, pictures, photo, photoalbum, photogallery, photo gallery, lightbox,media, nextgen, nextgen gallery,photo, photo albums, picture, pictures, thumbnails, slideshow
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 3.6
|
6 |
+
Stable tag: 2.0.8
|
7 |
License: GPLv3 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
133 |
6. Opening Image of the Album in Lightbox.
|
134 |
|
135 |
== Changelog ==
|
136 |
+
|
137 |
+
= 2.0.8 =
|
138 |
+
|
139 |
+
* Few Bugs Fixed
|
140 |
+
* Languages Updated
|
141 |
+
|
142 |
= 2.0.7 =
|
143 |
|
144 |
* Plugin Confliction with JetPack Fixed
|
views/add-new-album.php
CHANGED
@@ -141,7 +141,7 @@
|
|
141 |
<div class="block well">
|
142 |
<div class="navbar">
|
143 |
<div class="navbar-inner">
|
144 |
-
<h5><?php _e(
|
145 |
<div class="nav pull-right">
|
146 |
<a class="just-icon" data-toggle="collapse" data-target="#album_cover">
|
147 |
<i class="font-resize-vertical"></i>
|
141 |
<div class="block well">
|
142 |
<div class="navbar">
|
143 |
<div class="navbar-inner">
|
144 |
+
<h5><?php _e("Album Cover", gallery_bank); ?></h5>
|
145 |
<div class="nav pull-right">
|
146 |
<a class="just-icon" data-toggle="collapse" data-target="#album_cover">
|
147 |
<i class="font-resize-vertical"></i>
|
views/album_preview.php
CHANGED
@@ -100,8 +100,11 @@
|
|
100 |
$pagination = explode(":", $pagination_settings[0]);
|
101 |
|
102 |
$count = 1;
|
|
|
|
|
|
|
103 |
?>
|
104 |
-
|
105 |
<div class="block well" style="min-height:400px;">
|
106 |
<div class="navbar">
|
107 |
<div class="navbar-inner">
|
@@ -109,7 +112,7 @@
|
|
109 |
</div>
|
110 |
</div>
|
111 |
<div class="body" style="margin:10px;">
|
112 |
-
<a class="btn btn-inverse" href="admin.php?page=gallery_bank"><?php _e(
|
113 |
<div class="separator-doubled"></div>
|
114 |
<div class="row-fluid">
|
115 |
<div class="span12">
|
@@ -119,6 +122,7 @@
|
|
119 |
<h5><?php echo stripcslashes(htmlspecialchars_decode($album->album_name));?></h5>
|
120 |
</div>
|
121 |
</div>
|
|
|
122 |
<div class="imgContainerSingle" style="margin:10px;">
|
123 |
|
124 |
<?php
|
@@ -133,12 +137,13 @@
|
|
133 |
<table style="width:100%;"><tr><td>
|
134 |
<?php
|
135 |
}
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
|
|
142 |
for ($flag = 0; $flag <count($pic_detail); $flag++)
|
143 |
{
|
144 |
if($pagination[1] == 1)
|
@@ -178,14 +183,15 @@
|
|
178 |
if($images_in_row[1] == 1)
|
179 |
{
|
180 |
?>
|
181 |
-
|
182 |
<?php
|
183 |
|
184 |
}
|
185 |
-
else
|
|
|
186 |
?>
|
187 |
-
|
188 |
-
|
189 |
}
|
190 |
}
|
191 |
|
@@ -196,7 +202,21 @@
|
|
196 |
|
197 |
?>
|
198 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
199 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
201 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
202 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -205,7 +225,7 @@
|
|
205 |
<span class="zoom"></span>
|
206 |
</div>
|
207 |
</article>
|
208 |
-
|
209 |
</div>
|
210 |
<?php
|
211 |
|
@@ -215,7 +235,20 @@
|
|
215 |
|
216 |
?>
|
217 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
218 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
220 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
221 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -225,7 +258,7 @@
|
|
225 |
</span>
|
226 |
</div>
|
227 |
</article>
|
228 |
-
|
229 |
</div>
|
230 |
<?php
|
231 |
}
|
@@ -237,9 +270,20 @@
|
|
237 |
<?php
|
238 |
if($image_content[1] == 1)
|
239 |
{
|
240 |
-
|
241 |
-
|
242 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
243 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
244 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
245 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -255,9 +299,20 @@
|
|
255 |
}
|
256 |
else
|
257 |
{
|
258 |
-
|
259 |
-
|
260 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
261 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
262 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
263 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -337,7 +392,21 @@
|
|
337 |
|
338 |
?>
|
339 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
340 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
341 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
342 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
343 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -356,7 +425,21 @@
|
|
356 |
|
357 |
?>
|
358 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
359 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
360 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
361 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
362 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -380,9 +463,20 @@
|
|
380 |
<?php
|
381 |
if($image_content[1] == 1)
|
382 |
{
|
383 |
-
|
384 |
-
|
385 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
386 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
387 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
388 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -399,8 +493,20 @@
|
|
399 |
else
|
400 |
{
|
401 |
|
402 |
-
|
403 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
404 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
405 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
406 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -464,7 +570,21 @@
|
|
464 |
|
465 |
?>
|
466 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
467 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
468 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
469 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
470 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -484,7 +604,21 @@
|
|
484 |
|
485 |
?>
|
486 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
487 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
488 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
489 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
490 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -508,8 +642,21 @@
|
|
508 |
if($image_content[1] == 1)
|
509 |
{
|
510 |
|
511 |
-
|
512 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
513 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
514 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
515 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -527,8 +674,20 @@
|
|
527 |
else
|
528 |
{
|
529 |
|
530 |
-
|
531 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
532 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
533 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
534 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -608,7 +767,21 @@
|
|
608 |
|
609 |
?>
|
610 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
611 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
612 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
613 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
614 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -628,7 +801,21 @@
|
|
628 |
|
629 |
?>
|
630 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
631 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
632 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
633 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
634 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -652,8 +839,21 @@
|
|
652 |
if($image_content[1] == 1)
|
653 |
{
|
654 |
|
655 |
-
|
656 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
657 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
658 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
659 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -671,8 +871,20 @@
|
|
671 |
else
|
672 |
{
|
673 |
|
674 |
-
|
675 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
676 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
677 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
678 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -722,6 +934,7 @@
|
|
722 |
</div>
|
723 |
</div>
|
724 |
</div>
|
|
|
725 |
</div>
|
726 |
</div>
|
727 |
<script type="text/javascript">
|
@@ -773,6 +986,19 @@
|
|
773 |
"bSort": false
|
774 |
});
|
775 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
776 |
</script>
|
777 |
|
778 |
|
100 |
$pagination = explode(":", $pagination_settings[0]);
|
101 |
|
102 |
$count = 1;
|
103 |
+
$pagename = 'temp';
|
104 |
+
$fileName = GALLERY_BK_PLUGIN_DIR.'/lib/cache/'.$pagename.".txt";
|
105 |
+
|
106 |
?>
|
107 |
+
|
108 |
<div class="block well" style="min-height:400px;">
|
109 |
<div class="navbar">
|
110 |
<div class="navbar-inner">
|
112 |
</div>
|
113 |
</div>
|
114 |
<div class="body" style="margin:10px;">
|
115 |
+
<a class="btn btn-inverse" href="admin.php?page=gallery_bank"><?php _e("Back to Album Overview", gallery_bank); ?></a>
|
116 |
<div class="separator-doubled"></div>
|
117 |
<div class="row-fluid">
|
118 |
<div class="span12">
|
122 |
<h5><?php echo stripcslashes(htmlspecialchars_decode($album->album_name));?></h5>
|
123 |
</div>
|
124 |
</div>
|
125 |
+
<div id="view_bank_album_<?php echo $unique_id;?>">
|
126 |
<div class="imgContainerSingle" style="margin:10px;">
|
127 |
|
128 |
<?php
|
137 |
<table style="width:100%;"><tr><td>
|
138 |
<?php
|
139 |
}
|
140 |
+
|
141 |
+
$default_height = 151 + ($image_border_size_value[1] * 2) . "px;" . "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
142 |
+
$default_width = 155 + ($image_border_size_value[1] * 2) . "px;" ."border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
143 |
+
$custom_height = $image_height[1] + 1 + ($image_border_size_value[1] * 2) . "px;" . "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
144 |
+
$custom_width = $image_width[1] + 5 + ($image_border_size_value[1] * 2) . "px;" . "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
145 |
+
$radius_for_shutter = "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1];
|
146 |
+
|
147 |
for ($flag = 0; $flag <count($pic_detail); $flag++)
|
148 |
{
|
149 |
if($pagination[1] == 1)
|
183 |
if($images_in_row[1] == 1)
|
184 |
{
|
185 |
?>
|
186 |
+
<div class="view da-thumbs" style="height:<?php echo $custom_height; ?>;width:<?php echo $custom_width; ?>;">
|
187 |
<?php
|
188 |
|
189 |
}
|
190 |
+
else
|
191 |
+
{
|
192 |
?>
|
193 |
+
<div class="view da-thumbs" style="float:left;height:<?php echo $custom_height; ?>;width:<?php echo $custom_width; ?>;">
|
194 |
+
<?php
|
195 |
}
|
196 |
}
|
197 |
|
202 |
|
203 |
?>
|
204 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
205 |
+
<?php
|
206 |
+
if(file_exists($fileName)!=false)
|
207 |
+
{
|
208 |
+
?>
|
209 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
210 |
+
<?php
|
211 |
+
}
|
212 |
+
else
|
213 |
+
{
|
214 |
+
?>
|
215 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url );?>" style="margin-left:5px;width: 150px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
216 |
+
<?php
|
217 |
+
}
|
218 |
+
?>
|
219 |
+
|
220 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
221 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
222 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
225 |
<span class="zoom"></span>
|
226 |
</div>
|
227 |
</article>
|
228 |
+
</a>
|
229 |
</div>
|
230 |
<?php
|
231 |
|
235 |
|
236 |
?>
|
237 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
238 |
+
<?php
|
239 |
+
if(file_exists($fileName)!=false)
|
240 |
+
{
|
241 |
+
?>
|
242 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
243 |
+
<?php
|
244 |
+
}
|
245 |
+
else
|
246 |
+
{
|
247 |
+
?>
|
248 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url );?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
249 |
+
<?php
|
250 |
+
}
|
251 |
+
?>
|
252 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
253 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
254 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
258 |
</span>
|
259 |
</div>
|
260 |
</article>
|
261 |
+
</a>
|
262 |
</div>
|
263 |
<?php
|
264 |
}
|
270 |
<?php
|
271 |
if($image_content[1] == 1)
|
272 |
{
|
273 |
+
if(file_exists($fileName)!=false)
|
274 |
+
{
|
275 |
+
?>
|
276 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
277 |
+
<?php
|
278 |
+
}
|
279 |
+
else
|
280 |
+
{
|
281 |
+
?>
|
282 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url );?>" style="margin-left:5px;width: 150px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
283 |
+
<?php
|
284 |
+
}
|
285 |
+
?>
|
286 |
+
|
287 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
288 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
289 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
299 |
}
|
300 |
else
|
301 |
{
|
302 |
+
if(file_exists($fileName)!=false)
|
303 |
+
{
|
304 |
+
?>
|
305 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
306 |
+
<?php
|
307 |
+
}
|
308 |
+
else
|
309 |
+
{
|
310 |
+
?>
|
311 |
+
<img src="<?php echo trim(stripcslashes($pic_detail[$flag]->thumbnail_url ));?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
312 |
+
<?php
|
313 |
+
}
|
314 |
+
?>
|
315 |
+
|
316 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
317 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
318 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
392 |
|
393 |
?>
|
394 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
395 |
+
<?php
|
396 |
+
if(file_exists($fileName)!=false)
|
397 |
+
{
|
398 |
+
?>
|
399 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
400 |
+
<?php
|
401 |
+
}
|
402 |
+
else
|
403 |
+
{
|
404 |
+
?>
|
405 |
+
<img src="<?php echo trim(stripcslashes($pic_detail[$flag]->thumbnail_url ));?>" style="margin-left:5px;width:150px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
406 |
+
<?php
|
407 |
+
}
|
408 |
+
?>
|
409 |
+
|
410 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
411 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
412 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
425 |
|
426 |
?>
|
427 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
428 |
+
<?php
|
429 |
+
if(file_exists($fileName)!=false)
|
430 |
+
{
|
431 |
+
?>
|
432 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
433 |
+
<?php
|
434 |
+
}
|
435 |
+
else
|
436 |
+
{
|
437 |
+
?>
|
438 |
+
<img src="<?php echo trim(stripcslashes($pic_detail[$flag]->thumbnail_url ));?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
439 |
+
<?php
|
440 |
+
}
|
441 |
+
?>
|
442 |
+
|
443 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
444 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
445 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
463 |
<?php
|
464 |
if($image_content[1] == 1)
|
465 |
{
|
466 |
+
if(file_exists($fileName)!=false)
|
467 |
+
{
|
468 |
+
?>
|
469 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
470 |
+
<?php
|
471 |
+
}
|
472 |
+
else
|
473 |
+
{
|
474 |
+
?>
|
475 |
+
<img src="<?php echo trim(stripcslashes($pic_detail[$flag]->thumbnail_url ));?>" style="margin-left:5px;width:150px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
476 |
+
<?php
|
477 |
+
}
|
478 |
+
?>
|
479 |
+
|
480 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
481 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
482 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
493 |
else
|
494 |
{
|
495 |
|
496 |
+
if(file_exists($fileName)!=false)
|
497 |
+
{
|
498 |
+
?>
|
499 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
500 |
+
<?php
|
501 |
+
}
|
502 |
+
else
|
503 |
+
{
|
504 |
+
?>
|
505 |
+
<img src="<?php echo trim(stripcslashes($pic_detail[$flag]->thumbnail_url ));?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
506 |
+
<?php
|
507 |
+
}
|
508 |
+
?>
|
509 |
+
|
510 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
511 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
512 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
570 |
|
571 |
?>
|
572 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
573 |
+
<?php
|
574 |
+
if(file_exists($fileName)!=false)
|
575 |
+
{
|
576 |
+
?>
|
577 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
578 |
+
<?php
|
579 |
+
}
|
580 |
+
else
|
581 |
+
{
|
582 |
+
?>
|
583 |
+
<img src="<?php echo trim(stripcslashes($pic_detail[$flag]->thumbnail_url ));?>" style="margin-left:5px;width:150px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
584 |
+
<?php
|
585 |
+
}
|
586 |
+
?>
|
587 |
+
|
588 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
589 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
590 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
604 |
|
605 |
?>
|
606 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
607 |
+
<?php
|
608 |
+
if(file_exists($fileName)!=false)
|
609 |
+
{
|
610 |
+
?>
|
611 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
612 |
+
<?php
|
613 |
+
}
|
614 |
+
else
|
615 |
+
{
|
616 |
+
?>
|
617 |
+
<img src="<?php echo trim(stripcslashes($pic_detail[$flag]->thumbnail_url ));?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
618 |
+
<?php
|
619 |
+
}
|
620 |
+
?>
|
621 |
+
|
622 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
623 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
624 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
642 |
if($image_content[1] == 1)
|
643 |
{
|
644 |
|
645 |
+
|
646 |
+
if(file_exists($fileName)!=false)
|
647 |
+
{
|
648 |
+
?>
|
649 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
650 |
+
<?php
|
651 |
+
}
|
652 |
+
else
|
653 |
+
{
|
654 |
+
?>
|
655 |
+
<img src="<?php echo trim(stripcslashes($pic_detail[$flag]->thumbnail_url ));?>" style="margin-left:5px;width:150px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
656 |
+
<?php
|
657 |
+
}
|
658 |
+
?>
|
659 |
+
|
660 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
661 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
662 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
674 |
else
|
675 |
{
|
676 |
|
677 |
+
if(file_exists($fileName)!=false)
|
678 |
+
{
|
679 |
+
?>
|
680 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
681 |
+
<?php
|
682 |
+
}
|
683 |
+
else
|
684 |
+
{
|
685 |
+
?>
|
686 |
+
<img src="<?php echo trim(stripcslashes($pic_detail[$flag]->thumbnail_url ));?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
687 |
+
<?php
|
688 |
+
}
|
689 |
+
?>
|
690 |
+
|
691 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
692 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
693 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
767 |
|
768 |
?>
|
769 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
770 |
+
<?php
|
771 |
+
if(file_exists($fileName)!=false)
|
772 |
+
{
|
773 |
+
?>
|
774 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
775 |
+
<?php
|
776 |
+
}
|
777 |
+
else
|
778 |
+
{
|
779 |
+
?>
|
780 |
+
<img src="<?php echo trim(stripcslashes($pic_detail[$flag]->thumbnail_url ));?>" style="margin-left:5px;width:150px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
781 |
+
<?php
|
782 |
+
}
|
783 |
+
?>
|
784 |
+
|
785 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
786 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
787 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
801 |
|
802 |
?>
|
803 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
804 |
+
<?php
|
805 |
+
if(file_exists($fileName)!=false)
|
806 |
+
{
|
807 |
+
?>
|
808 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
809 |
+
<?php
|
810 |
+
}
|
811 |
+
else
|
812 |
+
{
|
813 |
+
?>
|
814 |
+
<img src="<?php echo trim(stripcslashes($pic_detail[$flag]->thumbnail_url ));?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
815 |
+
<?php
|
816 |
+
}
|
817 |
+
?>
|
818 |
+
|
819 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
820 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
821 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
839 |
if($image_content[1] == 1)
|
840 |
{
|
841 |
|
842 |
+
|
843 |
+
if(file_exists($fileName)!=false)
|
844 |
+
{
|
845 |
+
?>
|
846 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
847 |
+
<?php
|
848 |
+
}
|
849 |
+
else
|
850 |
+
{
|
851 |
+
?>
|
852 |
+
<img src="<?php echo trim(stripcslashes($pic_detail[$flag]->thumbnail_url ));?>" style="margin-left:5px;width:150px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
853 |
+
<?php
|
854 |
+
}
|
855 |
+
?>
|
856 |
+
|
857 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
858 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
859 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
871 |
else
|
872 |
{
|
873 |
|
874 |
+
if(file_exists($fileName)!=false)
|
875 |
+
{
|
876 |
+
?>
|
877 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;;<?php echo $css_image_thumbnail; ?>" />
|
878 |
+
<?php
|
879 |
+
}
|
880 |
+
else
|
881 |
+
{
|
882 |
+
?>
|
883 |
+
<img src="<?php echo trim(stripcslashes($pic_detail[$flag]->thumbnail_url ));?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
884 |
+
<?php
|
885 |
+
}
|
886 |
+
?>
|
887 |
+
|
888 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
889 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
890 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
934 |
</div>
|
935 |
</div>
|
936 |
</div>
|
937 |
+
</div>
|
938 |
</div>
|
939 |
</div>
|
940 |
<script type="text/javascript">
|
986 |
"bSort": false
|
987 |
});
|
988 |
});
|
989 |
+
// var $container_<?php echo $unique_id;?> = jQuery('#view_bank_album_<?php echo $unique_id;?>');
|
990 |
+
// $container_<?php echo $unique_id;?>.imagesLoaded( function(){
|
991 |
+
// $container_<?php echo $unique_id;?>.masonry({
|
992 |
+
// itemSelector : '.imgContainerSingle',
|
993 |
+
// isAnimated: true,
|
994 |
+
// animationOptions: {
|
995 |
+
// duration: 750,
|
996 |
+
// easing: 'linear',
|
997 |
+
// queue: false
|
998 |
+
// }
|
999 |
+
// });
|
1000 |
+
//
|
1001 |
+
// });
|
1002 |
</script>
|
1003 |
|
1004 |
|
views/front-view-albums.php
CHANGED
@@ -73,12 +73,13 @@ global $wpdb;
|
|
73 |
$pagination_settings = explode(";", $content[4]);
|
74 |
$pagination = explode(":", $pagination_settings[0]);
|
75 |
|
76 |
-
$default_height = 151 +
|
77 |
-
$default_width = 155 +
|
78 |
-
$custom_height = $cover_height[1]
|
79 |
-
$custom_width = $cover_width[1]
|
80 |
$radius_for_shutter = "-moz-border-radius:". $cover_border_radius[1] ."; -webkit-border-radius:". $cover_border_radius[1] . ";-khtml-border-radius:". $cover_border_radius[1] . ";-o-border-radius:" . $cover_border_radius[1] . ";border-radius:" . $cover_border_radius[1];
|
81 |
-
|
|
|
82 |
?>
|
83 |
<button id="back_button<?php echo $unique_id;?>" style="margin-top:10px; display: none;" onclick="view_albums<?php echo $unique_id;?>();">
|
84 |
<span style="color: #000;"> « <?php _e('Back to Albums', gallery_bank); ?></span>
|
@@ -96,7 +97,7 @@ if(($setting_cover->album_cover == "undefined") || ($setting_cover->album_cover
|
|
96 |
?>
|
97 |
<div class="view da-thumbs" style="height:<?php echo $default_height; ?>;width:<?php echo $default_width; ?>;float:left;">
|
98 |
<a onclick="view_images_<?php echo $unique_id;?>(<?php echo $album_id;?>);" style="cursor: pointer" >
|
99 |
-
<img class="imgHolder" src="<?php echo stripcslashes($url); ?>" style="cursor:pointer;margin-left:5px;;margin-top:
|
100 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
101 |
<p <?php if ( $album->album_name == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
102 |
<?php echo stripcslashes(htmlspecialchars_decode($album->album_name)); ?>
|
@@ -131,7 +132,21 @@ else
|
|
131 |
?>
|
132 |
<div class="view da-thumbs" style="height:<?php echo $default_height; ?>;width:<?php echo $default_width; ?>;float:left;">
|
133 |
<a onclick="view_images_<?php echo $unique_id;?>(<?php echo $album_id;?>);" style="cursor: pointer" >
|
134 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
136 |
<p <?php if ( $album->album_name == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
137 |
<?php echo stripcslashes(htmlspecialchars_decode($album->album_name)); ?>
|
@@ -154,7 +169,22 @@ else
|
|
154 |
|
155 |
<div class="view da-thumbs" style="height:<?php echo $custom_height; ?>;width:<?php echo $custom_width; ?>;float:left;">
|
156 |
<a onclick="view_images_<?php echo $unique_id;?>(<?php echo $album_id;?>);" style="cursor: pointer" >
|
157 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
159 |
<p <?php if ( $album->album_name == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
160 |
<?php echo stripcslashes(htmlspecialchars_decode($album->album_name)); ?>
|
73 |
$pagination_settings = explode(";", $content[4]);
|
74 |
$pagination = explode(":", $pagination_settings[0]);
|
75 |
|
76 |
+
$default_height = 151 + "px;" . "-moz-border-radius:". $cover_border_radius[1] ."; -webkit-border-radius:". $cover_border_radius[1] . ";-khtml-border-radius:". $cover_border_radius[1] . ";-o-border-radius:" . $cover_border_radius[1] . ";border-radius:" . $cover_border_radius[1];
|
77 |
+
$default_width = 155 + "px;" ."-moz-border-radius:". $cover_border_radius[1] ."; -webkit-border-radius:". $cover_border_radius[1] . ";-khtml-border-radius:". $cover_border_radius[1] . ";-o-border-radius:" . $cover_border_radius[1] . ";border-radius:" . $cover_border_radius[1];
|
78 |
+
$custom_height = $cover_height[1] + 1 +"px;" . "-moz-border-radius:". $cover_border_radius[1] ."; -webkit-border-radius:". $cover_border_radius[1] . ";-khtml-border-radius:". $cover_border_radius[1] . ";-o-border-radius:" . $cover_border_radius[1] . ";border-radius:" . $cover_border_radius[1];
|
79 |
+
$custom_width = $cover_width[1] + 5 +"px;" . "-moz-border-radius:". $cover_border_radius[1] ."; -webkit-border-radius:". $cover_border_radius[1] . ";-khtml-border-radius:". $cover_border_radius[1] . ";-o-border-radius:" . $cover_border_radius[1] . ";border-radius:" . $cover_border_radius[1];
|
80 |
$radius_for_shutter = "-moz-border-radius:". $cover_border_radius[1] ."; -webkit-border-radius:". $cover_border_radius[1] . ";-khtml-border-radius:". $cover_border_radius[1] . ";-o-border-radius:" . $cover_border_radius[1] . ";border-radius:" . $cover_border_radius[1];
|
81 |
+
$pagename = 'temp';
|
82 |
+
$fileName = GALLERY_BK_PLUGIN_DIR.'/lib/cache/'.$pagename.".txt";
|
83 |
?>
|
84 |
<button id="back_button<?php echo $unique_id;?>" style="margin-top:10px; display: none;" onclick="view_albums<?php echo $unique_id;?>();">
|
85 |
<span style="color: #000;"> « <?php _e('Back to Albums', gallery_bank); ?></span>
|
97 |
?>
|
98 |
<div class="view da-thumbs" style="height:<?php echo $default_height; ?>;width:<?php echo $default_width; ?>;float:left;">
|
99 |
<a onclick="view_images_<?php echo $unique_id;?>(<?php echo $album_id;?>);" style="cursor: pointer" >
|
100 |
+
<img class="imgHolder" src="<?php echo stripcslashes($url); ?>" style="cursor:pointer;margin-left:5px;;margin-top:3px;<?php echo $album_custom_cover_css; ?>" />
|
101 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
102 |
<p <?php if ( $album->album_name == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
103 |
<?php echo stripcslashes(htmlspecialchars_decode($album->album_name)); ?>
|
132 |
?>
|
133 |
<div class="view da-thumbs" style="height:<?php echo $default_height; ?>;width:<?php echo $default_width; ?>;float:left;">
|
134 |
<a onclick="view_images_<?php echo $unique_id;?>(<?php echo $album_id;?>);" style="cursor: pointer" >
|
135 |
+
<?php
|
136 |
+
if(file_exists($fileName)!=false)
|
137 |
+
{
|
138 |
+
?>
|
139 |
+
<img class="imgHolder" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.stripcslashes($setting_cover->album_cover).'&h=150&w=150&zc=1&q=100';?>" style="cursor:pointer;margin-left:5px;margin-top:3p;<?php echo $album_custom_cover_css; ?>" />
|
140 |
+
<?php
|
141 |
+
}
|
142 |
+
else
|
143 |
+
{
|
144 |
+
?>
|
145 |
+
<img class="imgHolder" src="<?php echo stripcslashes($setting_cover->album_cover);?>" style="cursor:pointer;margin-left:5px;width:150px;height:155px;margin-top:3px;<?php echo $album_custom_cover_css; ?>" />
|
146 |
+
<?php
|
147 |
+
}
|
148 |
+
?>
|
149 |
+
|
150 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
151 |
<p <?php if ( $album->album_name == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
152 |
<?php echo stripcslashes(htmlspecialchars_decode($album->album_name)); ?>
|
169 |
|
170 |
<div class="view da-thumbs" style="height:<?php echo $custom_height; ?>;width:<?php echo $custom_width; ?>;float:left;">
|
171 |
<a onclick="view_images_<?php echo $unique_id;?>(<?php echo $album_id;?>);" style="cursor: pointer" >
|
172 |
+
<?php
|
173 |
+
if(file_exists($fileName)!=false)
|
174 |
+
{
|
175 |
+
?>
|
176 |
+
<img class="imgHolder" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.stripcslashes($setting_cover->album_cover).'&h='.$cover_height[1].'&w='.$cover_width[1].'&zc=1&q=100';?>" style="margin-left:5px;;margin-top:3px;cursor:pointer;<?php echo $album_cover_css; ?>"/>
|
177 |
+
<?php
|
178 |
+
}
|
179 |
+
else
|
180 |
+
{
|
181 |
+
?>
|
182 |
+
<img class="imgHolder" src="<?php echo stripcslashes($setting_cover->album_cover);?>";" style="margin-left:5px;margin-top:3px;cursor:pointer;width:<?php echo $cover_width[1];?>;height:<?php echo $cover_height[1];?>;<?php echo $album_cover_css;?>" />
|
183 |
+
|
184 |
+
<?php
|
185 |
+
}
|
186 |
+
?>
|
187 |
+
|
188 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
189 |
<p <?php if ( $album->album_name == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
190 |
<?php echo stripcslashes(htmlspecialchars_decode($album->album_name)); ?>
|
views/front-view-all-albums.php
CHANGED
@@ -72,11 +72,13 @@
|
|
72 |
$pagination_settings = explode(";", $content[4]);
|
73 |
$pagination = explode(":", $pagination_settings[0]);
|
74 |
|
75 |
-
$default_height = 151 +
|
76 |
-
$default_width = 155 +
|
77 |
-
$custom_height = $cover_height[1] + 1 +
|
78 |
-
$custom_width = $cover_width[1] + 5 +
|
79 |
$radius_for_shutter = ";-moz-border-radius:". $cover_border_radius[1] ."; -webkit-border-radius:". $cover_border_radius[1] . ";-khtml-border-radius:". $cover_border_radius[1] . ";-o-border-radius:" . $cover_border_radius[1] . ";border-radius:" . $cover_border_radius[1];
|
|
|
|
|
80 |
?>
|
81 |
<tr id="tr_<?php echo $album[$flag]->album_id;?>"><td style="border:0px;">
|
82 |
<?php
|
@@ -126,7 +128,21 @@
|
|
126 |
|
127 |
<div class="view da-thumbs" style="height:<?php echo $default_height; ?>;width:<?php echo $default_width; ?>;float:left;">
|
128 |
<a onclick="view_images<?php echo $unique_id;?>(<?php echo $album[$flag]->album_id;?>);" style="cursor: pointer" >
|
129 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
131 |
<p <?php if ( $album[$flag]->album_name == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
132 |
<?php echo stripcslashes(htmlspecialchars_decode($album[$flag]->album_name)); ?>
|
@@ -147,7 +163,21 @@
|
|
147 |
?>
|
148 |
<div class="view da-thumbs" style="height:<?php echo $custom_height; ?>;width:<?php echo $custom_width; ?>;float:left;">
|
149 |
<a onclick="view_images<?php echo $unique_id;?>(<?php echo $album[$flag]->album_id;?>);" style="cursor: pointer" >
|
150 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
152 |
<p <?php if ( $album[$flag]->album_name == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
153 |
<?php echo stripcslashes(htmlspecialchars_decode($album[$flag]->album_name)); ?>
|
72 |
$pagination_settings = explode(";", $content[4]);
|
73 |
$pagination = explode(":", $pagination_settings[0]);
|
74 |
|
75 |
+
$default_height = 151 + "px;" . ";-moz-border-radius:". $cover_border_radius[1] ."; -webkit-border-radius:". $cover_border_radius[1] . ";-khtml-border-radius:". $cover_border_radius[1] . ";-o-border-radius:" . $cover_border_radius[1] . ";border-radius:" . $cover_border_radius[1];
|
76 |
+
$default_width = 155 + "px;" . ";-moz-border-radius:". $cover_border_radius[1] ."; -webkit-border-radius:". $cover_border_radius[1] . ";-khtml-border-radius:". $cover_border_radius[1] . ";-o-border-radius:" . $cover_border_radius[1] . ";border-radius:" . $cover_border_radius[1];
|
77 |
+
$custom_height = $cover_height[1] + 1 + "px;" . ";-moz-border-radius:". $cover_border_radius[1] ."; -webkit-border-radius:". $cover_border_radius[1] . ";-khtml-border-radius:". $cover_border_radius[1] . ";-o-border-radius:" . $cover_border_radius[1] . ";border-radius:" . $cover_border_radius[1];
|
78 |
+
$custom_width = $cover_width[1] + 5 + "px;" . ";-moz-border-radius:". $cover_border_radius[1] ."; -webkit-border-radius:". $cover_border_radius[1] . ";-khtml-border-radius:". $cover_border_radius[1] . ";-o-border-radius:" . $cover_border_radius[1] . ";border-radius:" . $cover_border_radius[1];
|
79 |
$radius_for_shutter = ";-moz-border-radius:". $cover_border_radius[1] ."; -webkit-border-radius:". $cover_border_radius[1] . ";-khtml-border-radius:". $cover_border_radius[1] . ";-o-border-radius:" . $cover_border_radius[1] . ";border-radius:" . $cover_border_radius[1];
|
80 |
+
$pagename = 'temp';
|
81 |
+
$fileName = GALLERY_BK_PLUGIN_DIR.'/lib/cache/'.$pagename.".txt";
|
82 |
?>
|
83 |
<tr id="tr_<?php echo $album[$flag]->album_id;?>"><td style="border:0px;">
|
84 |
<?php
|
128 |
|
129 |
<div class="view da-thumbs" style="height:<?php echo $default_height; ?>;width:<?php echo $default_width; ?>;float:left;">
|
130 |
<a onclick="view_images<?php echo $unique_id;?>(<?php echo $album[$flag]->album_id;?>);" style="cursor: pointer" >
|
131 |
+
<?php
|
132 |
+
if(file_exists($fileName)!=false)
|
133 |
+
{
|
134 |
+
?>
|
135 |
+
<img class="imgHolder" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.stripcslashes($get_settings->album_cover).'&h=150&w=150&zc=1&q=100';?>" style="cursor:pointer;margin-left:5px;;margin-top:3p;<?php echo $album_custom_cover_css; ?>" />
|
136 |
+
<?php
|
137 |
+
}
|
138 |
+
else
|
139 |
+
{
|
140 |
+
?>
|
141 |
+
<img class="imgHolder" src="<?php echo stripcslashes($get_settings->album_cover);?>" style="cursor:pointer;margin-left:5px;width:150px;height:155px;margin-top:3px;<?php echo $album_custom_cover_css; ?>" />
|
142 |
+
<?php
|
143 |
+
}
|
144 |
+
?>
|
145 |
+
|
146 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
147 |
<p <?php if ( $album[$flag]->album_name == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
148 |
<?php echo stripcslashes(htmlspecialchars_decode($album[$flag]->album_name)); ?>
|
163 |
?>
|
164 |
<div class="view da-thumbs" style="height:<?php echo $custom_height; ?>;width:<?php echo $custom_width; ?>;float:left;">
|
165 |
<a onclick="view_images<?php echo $unique_id;?>(<?php echo $album[$flag]->album_id;?>);" style="cursor: pointer" >
|
166 |
+
<?php
|
167 |
+
if(file_exists($fileName)!=false)
|
168 |
+
{
|
169 |
+
?>
|
170 |
+
<img class="imgHolder" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.stripcslashes($get_settings->album_cover).'&h='.$cover_height[1].'&w='.$cover_width[1].'&zc=1&q=100';?>" style="cursor:pointer;margin-left:5px;;margin-top:3p;<?php echo $album_cover_css; ?>" />
|
171 |
+
<?php
|
172 |
+
}
|
173 |
+
else
|
174 |
+
{
|
175 |
+
?>
|
176 |
+
<img class="imgHolder" src="<?php echo stripcslashes($get_settings->album_cover);?>" style="cursor:pointer;margin-left:5px;width:<?php echo $cover_width[1];?>;height:<?php echo $cover_height[1];?>;margin-top:3px;<?php echo $album_cover_css; ?>" />
|
177 |
+
<?php
|
178 |
+
}
|
179 |
+
?>
|
180 |
+
|
181 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
182 |
<p <?php if ( $album[$flag]->album_name == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
183 |
<?php echo stripcslashes(htmlspecialchars_decode($album[$flag]->album_name)); ?>
|
views/front_view.php
CHANGED
@@ -100,6 +100,8 @@
|
|
100 |
$pagination = explode(":", $pagination_settings[0]);
|
101 |
|
102 |
$count = 1;
|
|
|
|
|
103 |
?>
|
104 |
<h3><?php echo stripcslashes(htmlspecialchars_decode($album->album_name));?></h3>
|
105 |
<div class="imgContainerSingle">
|
@@ -111,12 +113,23 @@
|
|
111 |
<table class='table table-striped' id='images_view_data_table_<?php echo $unique_id;?>'>
|
112 |
<?php
|
113 |
}
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
for ($flag = 0; $flag <count($pic_detail); $flag++)
|
121 |
{
|
122 |
if($pagination[1] == 1)
|
@@ -174,7 +187,21 @@
|
|
174 |
{
|
175 |
?>
|
176 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
177 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
178 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
179 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
180 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -192,7 +219,20 @@
|
|
192 |
{
|
193 |
?>
|
194 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
195 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
196 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
197 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
198 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -214,9 +254,20 @@
|
|
214 |
<?php
|
215 |
if($image_content[1] == 1)
|
216 |
{
|
217 |
-
|
218 |
-
|
219 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
221 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
222 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -233,8 +284,20 @@
|
|
233 |
else
|
234 |
{
|
235 |
|
236 |
-
|
237 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
239 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
240 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -312,7 +375,21 @@
|
|
312 |
{
|
313 |
?>
|
314 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
315 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
316 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
317 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
318 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -330,7 +407,21 @@
|
|
330 |
{
|
331 |
?>
|
332 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
333 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
334 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
335 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
336 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -353,8 +444,21 @@
|
|
353 |
if($image_content[1] == 1)
|
354 |
{
|
355 |
|
356 |
-
|
357 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
358 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
359 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
360 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -371,8 +475,20 @@
|
|
371 |
else
|
372 |
{
|
373 |
|
374 |
-
|
375 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
376 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
377 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
378 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -434,7 +550,21 @@
|
|
434 |
{
|
435 |
?>
|
436 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
437 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
438 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
439 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
440 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -452,7 +582,21 @@
|
|
452 |
{
|
453 |
?>
|
454 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
455 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
456 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
457 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
458 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -475,8 +619,21 @@
|
|
475 |
if($image_content[1] == 1)
|
476 |
{
|
477 |
|
478 |
-
|
479 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
480 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
481 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
482 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -494,8 +651,20 @@
|
|
494 |
else
|
495 |
{
|
496 |
|
497 |
-
|
498 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
499 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
500 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
501 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -573,7 +742,21 @@
|
|
573 |
{
|
574 |
?>
|
575 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
576 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
577 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
578 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
579 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -591,7 +774,21 @@
|
|
591 |
{
|
592 |
?>
|
593 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
594 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
595 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
596 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
597 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -614,8 +811,20 @@
|
|
614 |
if($image_content[1] == 1)
|
615 |
{
|
616 |
|
617 |
-
|
618 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
619 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
620 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
621 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
@@ -633,8 +842,20 @@
|
|
633 |
else
|
634 |
{
|
635 |
|
636 |
-
|
637 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
638 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
639 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
640 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
100 |
$pagination = explode(":", $pagination_settings[0]);
|
101 |
|
102 |
$count = 1;
|
103 |
+
$pagename = 'temp';
|
104 |
+
$fileName = GALLERY_BK_PLUGIN_DIR.'/lib/cache/'.$pagename.".txt";
|
105 |
?>
|
106 |
<h3><?php echo stripcslashes(htmlspecialchars_decode($album->album_name));?></h3>
|
107 |
<div class="imgContainerSingle">
|
113 |
<table class='table table-striped' id='images_view_data_table_<?php echo $unique_id;?>'>
|
114 |
<?php
|
115 |
}
|
116 |
+
if(file_exists($fileName)!=false)
|
117 |
+
{
|
118 |
+
$default_height = 151 + ($image_border_size_value[1] * 2) . "px;" . "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
119 |
+
$default_width = 155 + ($image_border_size_value[1] * 2) . "px;" ."border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
120 |
+
$custom_height = $image_height[1] + 1 + ($image_border_size_value[1] * 2) . "px;" . "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
121 |
+
$custom_width = $image_width[1] + 5 + ($image_border_size_value[1] * 2) . "px;" . "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
122 |
+
$radius_for_shutter = "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1];
|
123 |
+
}
|
124 |
+
else
|
125 |
+
{
|
126 |
+
$default_height = 151 + (0) . "px;" . "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
127 |
+
$default_width = 155 + (0) . "px;" ."border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
128 |
+
$custom_height = $image_height[1] + 1 + (0) . "px;" . "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
129 |
+
$custom_width = $image_width[1] + 5 + (0) . "px;" . "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1] . ";";
|
130 |
+
$radius_for_shutter = "border-radius:" . $image_radius_value[1]. ";-moz-border-radius:" . $image_radius_value[1]. ";-webkit-border-radius:" . $image_radius_value[1]. ";-khtml-border-radius:" . $image_radius_value[1]. ";-o-border-radius:" . $image_radius_value[1];
|
131 |
+
}
|
132 |
+
|
133 |
for ($flag = 0; $flag <count($pic_detail); $flag++)
|
134 |
{
|
135 |
if($pagination[1] == 1)
|
187 |
{
|
188 |
?>
|
189 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
190 |
+
<?php
|
191 |
+
if(file_exists($fileName)!=false)
|
192 |
+
{
|
193 |
+
?>
|
194 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
195 |
+
<?php
|
196 |
+
}
|
197 |
+
else
|
198 |
+
{
|
199 |
+
?>
|
200 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url);?>" style="margin-left:5px;width:150px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
201 |
+
<?php
|
202 |
+
}
|
203 |
+
?>
|
204 |
+
|
205 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
206 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
207 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
219 |
{
|
220 |
?>
|
221 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
222 |
+
<?php
|
223 |
+
if(file_exists($fileName)!=false)
|
224 |
+
{
|
225 |
+
?>
|
226 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
227 |
+
<?php
|
228 |
+
}
|
229 |
+
else
|
230 |
+
{
|
231 |
+
?>
|
232 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url);?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
233 |
+
<?php
|
234 |
+
}
|
235 |
+
?>
|
236 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
237 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
238 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
254 |
<?php
|
255 |
if($image_content[1] == 1)
|
256 |
{
|
257 |
+
if(file_exists($fileName)!=false)
|
258 |
+
{
|
259 |
+
?>
|
260 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
261 |
+
<?php
|
262 |
+
}
|
263 |
+
else
|
264 |
+
{
|
265 |
+
?>
|
266 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url);?>" style="margin-left:5px;width:150;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
267 |
+
<?php
|
268 |
+
}
|
269 |
+
?>
|
270 |
+
|
271 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
272 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
273 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
284 |
else
|
285 |
{
|
286 |
|
287 |
+
if(file_exists($fileName)!=false)
|
288 |
+
{
|
289 |
+
?>
|
290 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
291 |
+
<?php
|
292 |
+
}
|
293 |
+
else
|
294 |
+
{
|
295 |
+
?>
|
296 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url);?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
297 |
+
<?php
|
298 |
+
}
|
299 |
+
?>
|
300 |
+
|
301 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
302 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
303 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
375 |
{
|
376 |
?>
|
377 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
378 |
+
<?php
|
379 |
+
if(file_exists($fileName)!=false)
|
380 |
+
{
|
381 |
+
?>
|
382 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
383 |
+
<?php
|
384 |
+
}
|
385 |
+
else
|
386 |
+
{
|
387 |
+
?>
|
388 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url);?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
389 |
+
<?php
|
390 |
+
}
|
391 |
+
?>
|
392 |
+
|
393 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
394 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
395 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
407 |
{
|
408 |
?>
|
409 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
410 |
+
<?php
|
411 |
+
if(file_exists($fileName)!=false)
|
412 |
+
{
|
413 |
+
?>
|
414 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
415 |
+
<?php
|
416 |
+
}
|
417 |
+
else
|
418 |
+
{
|
419 |
+
?>
|
420 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url);?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
421 |
+
<?php
|
422 |
+
}
|
423 |
+
?>
|
424 |
+
|
425 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
426 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
427 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
444 |
if($image_content[1] == 1)
|
445 |
{
|
446 |
|
447 |
+
|
448 |
+
if(file_exists($fileName)!=false)
|
449 |
+
{
|
450 |
+
?>
|
451 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
452 |
+
<?php
|
453 |
+
}
|
454 |
+
else
|
455 |
+
{
|
456 |
+
?>
|
457 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url);?>" style="margin-left:5px;width:150;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
458 |
+
<?php
|
459 |
+
}
|
460 |
+
?>
|
461 |
+
|
462 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
463 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
464 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
475 |
else
|
476 |
{
|
477 |
|
478 |
+
if(file_exists($fileName)!=false)
|
479 |
+
{
|
480 |
+
?>
|
481 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
482 |
+
<?php
|
483 |
+
}
|
484 |
+
else
|
485 |
+
{
|
486 |
+
?>
|
487 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url);?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
488 |
+
<?php
|
489 |
+
}
|
490 |
+
?>
|
491 |
+
|
492 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
493 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
494 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
550 |
{
|
551 |
?>
|
552 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
553 |
+
<?php
|
554 |
+
if(file_exists($fileName)!=false)
|
555 |
+
{
|
556 |
+
?>
|
557 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
558 |
+
<?php
|
559 |
+
}
|
560 |
+
else
|
561 |
+
{
|
562 |
+
?>
|
563 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url);?>" style="margin-left:5px;width:150;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
564 |
+
<?php
|
565 |
+
}
|
566 |
+
?>
|
567 |
+
|
568 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
569 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
570 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
582 |
{
|
583 |
?>
|
584 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
585 |
+
<?php
|
586 |
+
if(file_exists($fileName)!=false)
|
587 |
+
{
|
588 |
+
?>
|
589 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
590 |
+
<?php
|
591 |
+
}
|
592 |
+
else
|
593 |
+
{
|
594 |
+
?>
|
595 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url);?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
596 |
+
<?php
|
597 |
+
}
|
598 |
+
?>
|
599 |
+
|
600 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
601 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
602 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
619 |
if($image_content[1] == 1)
|
620 |
{
|
621 |
|
622 |
+
|
623 |
+
if(file_exists($fileName)!=false)
|
624 |
+
{
|
625 |
+
?>
|
626 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
627 |
+
<?php
|
628 |
+
}
|
629 |
+
else
|
630 |
+
{
|
631 |
+
?>
|
632 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url);?>" style="margin-left:5px;width:150;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
633 |
+
<?php
|
634 |
+
}
|
635 |
+
?>
|
636 |
+
|
637 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
638 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
639 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
651 |
else
|
652 |
{
|
653 |
|
654 |
+
if(file_exists($fileName)!=false)
|
655 |
+
{
|
656 |
+
?>
|
657 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
658 |
+
<?php
|
659 |
+
}
|
660 |
+
else
|
661 |
+
{
|
662 |
+
?>
|
663 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url);?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
664 |
+
<?php
|
665 |
+
}
|
666 |
+
?>
|
667 |
+
|
668 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
669 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
670 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
742 |
{
|
743 |
?>
|
744 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
745 |
+
<?php
|
746 |
+
if(file_exists($fileName)!=false)
|
747 |
+
{
|
748 |
+
?>
|
749 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
750 |
+
<?php
|
751 |
+
}
|
752 |
+
else
|
753 |
+
{
|
754 |
+
?>
|
755 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url);?>" style="margin-left:5px;width:150;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
756 |
+
<?php
|
757 |
+
}
|
758 |
+
?>
|
759 |
+
|
760 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
761 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
762 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
774 |
{
|
775 |
?>
|
776 |
<a href="<?php echo $pic_detail[$flag]->url;?>" target="_blank">
|
777 |
+
<?php
|
778 |
+
if(file_exists($fileName)!=false)
|
779 |
+
{
|
780 |
+
?>
|
781 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
782 |
+
<?php
|
783 |
+
}
|
784 |
+
else
|
785 |
+
{
|
786 |
+
?>
|
787 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url);?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
788 |
+
<?php
|
789 |
+
}
|
790 |
+
?>
|
791 |
+
|
792 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
793 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
794 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
811 |
if($image_content[1] == 1)
|
812 |
{
|
813 |
|
814 |
+
if(file_exists($fileName)!=false)
|
815 |
+
{
|
816 |
+
?>
|
817 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
818 |
+
<?php
|
819 |
+
}
|
820 |
+
else
|
821 |
+
{
|
822 |
+
?>
|
823 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url);?>" style="margin-left:5px;width:150;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
824 |
+
<?php
|
825 |
+
}
|
826 |
+
?>
|
827 |
+
|
828 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
829 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
830 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
842 |
else
|
843 |
{
|
844 |
|
845 |
+
if(file_exists($fileName)!=false)
|
846 |
+
{
|
847 |
+
?>
|
848 |
+
<img src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin-left:5px;<?php echo $css_image_thumbnail; ?>" />
|
849 |
+
<?php
|
850 |
+
}
|
851 |
+
else
|
852 |
+
{
|
853 |
+
?>
|
854 |
+
<img src="<?php echo stripcslashes($pic_detail[$flag]->thumbnail_url);?>" style="margin-left:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
855 |
+
<?php
|
856 |
+
}
|
857 |
+
?>
|
858 |
+
|
859 |
<article class="da-animate da-slideFromRight" style="<?php echo $radius_for_shutter; ?>">
|
860 |
<p <?php if ( $pic_detail[$flag]->title == '' ) { echo 'style="display:none !important;"'; } ?> class="emgfittext">
|
861 |
<?php echo stripcslashes(htmlspecialchars($pic_detail[$flag]->title)); ?>
|
views/images_sorting.php
CHANGED
@@ -76,7 +76,8 @@
|
|
76 |
$pagination_value = str_replace(";","",$pagination[1]);
|
77 |
$count = 1;
|
78 |
$row_id_images = "";
|
79 |
-
|
|
|
80 |
?>
|
81 |
<div class="block well" style="min-height:400px;">
|
82 |
<div class="navbar">
|
@@ -127,17 +128,35 @@
|
|
127 |
<?php
|
128 |
if($image_content[1] == 1)
|
129 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
|
131 |
-
?>
|
132 |
-
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
133 |
-
<?php
|
134 |
}
|
135 |
else
|
136 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
|
138 |
-
?>
|
139 |
-
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
140 |
-
<?php
|
141 |
}
|
142 |
$row_id_images .= "/" . $pic_detail[$flag]->pic_id;
|
143 |
|
@@ -147,17 +166,35 @@
|
|
147 |
|
148 |
if($image_content[1] == 1)
|
149 |
{
|
150 |
-
|
151 |
-
|
|
|
152 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
153 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
}
|
155 |
else
|
156 |
{
|
157 |
-
|
158 |
-
|
|
|
159 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
160 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
}
|
162 |
$row_id_images .= "-". $pic_detail[$flag]->pic_id;
|
163 |
}
|
@@ -171,17 +208,35 @@
|
|
171 |
<?php
|
172 |
if($image_content[1] == 1)
|
173 |
{
|
174 |
-
|
175 |
-
|
|
|
176 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
177 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
178 |
}
|
179 |
else
|
180 |
{
|
181 |
-
|
182 |
-
|
|
|
183 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
184 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
}
|
186 |
$row_id_images .= "/" . $pic_detail[$flag]->pic_id;
|
187 |
|
@@ -193,17 +248,35 @@
|
|
193 |
<?php
|
194 |
if($image_content[1] == 1)
|
195 |
{
|
196 |
-
|
197 |
-
|
|
|
198 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
199 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
}
|
201 |
else
|
202 |
{
|
203 |
-
|
204 |
-
|
|
|
205 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
206 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
}
|
208 |
$row_id_images .= "-". $pic_detail[$flag]->pic_id;
|
209 |
|
76 |
$pagination_value = str_replace(";","",$pagination[1]);
|
77 |
$count = 1;
|
78 |
$row_id_images = "";
|
79 |
+
$pagename = 'temp';
|
80 |
+
$fileName = GALLERY_BK_PLUGIN_DIR.'/lib/cache/'.$pagename.".txt";
|
81 |
?>
|
82 |
<div class="block well" style="min-height:400px;">
|
83 |
<div class="navbar">
|
128 |
<?php
|
129 |
if($image_content[1] == 1)
|
130 |
{
|
131 |
+
if(file_exists($fileName)!=false)
|
132 |
+
{
|
133 |
+
?>
|
134 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
135 |
+
<?php
|
136 |
+
}
|
137 |
+
else
|
138 |
+
{
|
139 |
+
?>
|
140 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin:5px;width:150px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
141 |
+
<?php
|
142 |
+
}
|
143 |
|
|
|
|
|
|
|
144 |
}
|
145 |
else
|
146 |
{
|
147 |
+
if(file_exists($fileName)!=false)
|
148 |
+
{
|
149 |
+
?>
|
150 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
151 |
+
<?php
|
152 |
+
}
|
153 |
+
else
|
154 |
+
{
|
155 |
+
?>
|
156 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
157 |
+
<?php
|
158 |
+
}
|
159 |
|
|
|
|
|
|
|
160 |
}
|
161 |
$row_id_images .= "/" . $pic_detail[$flag]->pic_id;
|
162 |
|
166 |
|
167 |
if($image_content[1] == 1)
|
168 |
{
|
169 |
+
if(file_exists($fileName)!=false)
|
170 |
+
{
|
171 |
+
?>
|
172 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
173 |
+
<?php
|
174 |
+
}
|
175 |
+
else
|
176 |
+
{
|
177 |
+
?>
|
178 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin:5px;width:150px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
179 |
+
<?php
|
180 |
+
}
|
181 |
+
|
182 |
}
|
183 |
else
|
184 |
{
|
185 |
+
if(file_exists($fileName)!=false)
|
186 |
+
{
|
187 |
+
?>
|
188 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
189 |
<?php
|
190 |
+
}
|
191 |
+
else
|
192 |
+
{
|
193 |
+
?>
|
194 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
195 |
+
<?php
|
196 |
+
}
|
197 |
+
|
198 |
}
|
199 |
$row_id_images .= "-". $pic_detail[$flag]->pic_id;
|
200 |
}
|
208 |
<?php
|
209 |
if($image_content[1] == 1)
|
210 |
{
|
211 |
+
if(file_exists($fileName)!=false)
|
212 |
+
{
|
213 |
+
?>
|
214 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
215 |
+
<?php
|
216 |
+
}
|
217 |
+
else
|
218 |
+
{
|
219 |
+
?>
|
220 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin:5px;width:150px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
221 |
+
<?php
|
222 |
+
}
|
223 |
+
|
224 |
}
|
225 |
else
|
226 |
{
|
227 |
+
if(file_exists($fileName)!=false)
|
228 |
+
{
|
229 |
+
?>
|
230 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
231 |
+
<?php
|
232 |
+
}
|
233 |
+
else
|
234 |
+
{
|
235 |
+
?>
|
236 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
237 |
+
<?php
|
238 |
+
}
|
239 |
+
|
240 |
}
|
241 |
$row_id_images .= "/" . $pic_detail[$flag]->pic_id;
|
242 |
|
248 |
<?php
|
249 |
if($image_content[1] == 1)
|
250 |
{
|
251 |
+
if(file_exists($fileName)!=false)
|
252 |
+
{
|
253 |
+
?>
|
254 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h=150&w=150&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
255 |
<?php
|
256 |
+
}
|
257 |
+
else
|
258 |
+
{
|
259 |
+
?>
|
260 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin:5px;width:150px;height:155px;<?php echo $css_image_thumbnail; ?>" />
|
261 |
+
<?php
|
262 |
+
}
|
263 |
+
|
264 |
}
|
265 |
else
|
266 |
{
|
267 |
+
if(file_exists($fileName)!=false)
|
268 |
+
{
|
269 |
+
?>
|
270 |
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes(GALLERY_BK_PLUGIN_URL).'/lib/timthumb.php?src='.trim(stripcslashes($pic_detail[$flag]->pic_path)).'&h='.$image_height[1].'&w='.$image_width[1].'&zc=1&q=100';?>" style="margin:5px;<?php echo $css_image_thumbnail; ?>" />
|
271 |
<?php
|
272 |
+
}
|
273 |
+
else
|
274 |
+
{
|
275 |
+
?>
|
276 |
+
<img id="recordsArray_<?php echo $pic_detail[$flag]->pic_id; ?>" src="<?php echo stripcslashes($pic_detail[$flag]->pic_path);?>" style="margin:5px;width:<?php echo $image_width[1];?>;height:<?php echo $image_height[1];?>;<?php echo $css_image_thumbnail; ?>" />
|
277 |
+
<?php
|
278 |
+
}
|
279 |
+
|
280 |
}
|
281 |
$row_id_images .= "-". $pic_detail[$flag]->pic_id;
|
282 |
|