WD Facebook Feed – Custom Facebook Feed Plugin - Version 1.2.2

Version Description

  • Fixed: Duplicate Facebook posts on auto-update.
Download this release

Release Info

Developer 10web
Plugin Icon 128x128 WD Facebook Feed – Custom Facebook Feed Plugin
Version 1.2.2
Comparing to
See all releases

Code changes from version 1.2.0 to 1.2.2

admin/views/FFWDViewInfo_ffwd.php CHANGED
@@ -9,26 +9,34 @@ class FFWDViewInfo_ffwd {
9
  }
10
 
11
  public function display() {
12
- $rows_data = $this->model->get_rows_data();
13
- $this->model->del_ffwd_objects();
14
- $page_nav = $this->model->page_nav();
15
- $search_value = ((isset($_POST['search_value'])) ? sanitize_text_field(stripslashes($_POST['search_value'])) : '');
16
- $search_select_value = ((isset($_POST['search_select_value'])) ? (int)$_POST['search_select_value'] : 0);
17
- $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? sanitize_text_field(stripslashes($_POST['asc_or_desc'])) : 'asc');
18
- $order_by = (isset($_POST['order_by']) ? sanitize_text_field(stripslashes($_POST['order_by'])) : 'order');
19
- $order_class = 'manage-column column-title sorted ' . $asc_or_desc;
20
- $ids_string = '';
21
- $per_page = $this->model->per_page();
22
- $pager = 0;
 
 
 
 
23
  ?>
24
  <div class="ffwd_upgrade wd-clear">
25
  <div class="ffwd-left">
26
  <div style="font-size: 14px; ">
27
- <?php _e(" This section allows you to create, edit and delete Facebook Feed by 10Web.", "ffwd"); ?>
28
- <a style="color: #5CAEBD; text-decoration: none;border-bottom: 1px dotted;" target="_blank" href="https://help.10web.io/hc/en-us/articles/360017959512-Getting-Facebook-Access-Token?utm_source=facebook_feed&utm_medium=free_plugin"><?php _e("Read More in User Manual.", "ffwd"); ?></a>
 
29
  </div>
30
  </div>
31
  </div>
 
 
 
32
  <form class="wrap" id="ffwd_info_form" method="post" action="admin.php?page=info_ffwd" style="width:99%;">
33
  <?php wp_nonce_field('info_ffwd', 'ffwd_nonce'); ?>
34
  <h2></h2>
@@ -501,23 +509,26 @@ class FFWDViewInfo_ffwd {
501
  }
502
  </style>
503
  <div id="message_div" class="updated" style="display: none;"></div>
504
- <div class="ffwd_upgrade wd-clear">
 
 
 
 
 
 
505
  <div class="ffwd-left">
506
-
507
- <div style="font-size: 14px; ">
508
- <?php _e(" This section allows you to create, edit and delete Facebook Feed by 10Web.", "ffwd"); ?>
509
- <a style="color: #5CAEBD; text-decoration: none;border-bottom: 1px dotted;" target="_blank"
510
- href="https://help.10web.io/hc/en-us/articles/360017959512-Getting-Facebook-Access-Token?utm_source=facebook_feed&utm_medium=free_plugin"><?php _e("Read More in User Manual.", "ffwd"); ?></a>
511
- </div>
512
-
513
  </div>
514
-
515
- </div>
516
-
517
-
518
  <form class="wrap" method="post" id="ffwd_info_form" action="admin.php?page=info_ffwd" style="width:99%;">
519
  <h2></h2>
520
-
521
  <?php wp_nonce_field('info_ffwd', 'ffwd_nonce'); ?>
522
  <!-- <span class="wd-fb-icon"></span> -->
523
  <div style="font-size: 16px" class="ffwd_notice"></div>
9
  }
10
 
11
  public function display() {
12
+ $rows_data = $this->model->get_rows_data();
13
+ $this->model->del_ffwd_objects();
14
+ $page_nav = $this->model->page_nav();
15
+ $search_value = ((isset($_POST['search_value'])) ? sanitize_text_field(stripslashes($_POST['search_value'])) : '');
16
+ $search_select_value = ((isset($_POST['search_select_value'])) ? (int)$_POST['search_select_value'] : 0);
17
+ $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? sanitize_text_field(stripslashes($_POST['asc_or_desc'])) : 'asc');
18
+ $order_by = (isset($_POST['order_by']) ? sanitize_text_field(stripslashes($_POST['order_by'])) : 'order');
19
+ $order_class = 'manage-column column-title sorted ' . $asc_or_desc;
20
+ $ids_string = '';
21
+ $per_page = $this->model->per_page();
22
+ $pager = 0;
23
+ if ( WD_FB_IS_FREE ) {
24
+ WDW_FFWD_Library::topbar();
25
+ }
26
+ else {
27
  ?>
28
  <div class="ffwd_upgrade wd-clear">
29
  <div class="ffwd-left">
30
  <div style="font-size: 14px; ">
31
+ <?php _e('This section allows you to create, edit and delete Facebook Feed by 10Web.', 'ffwd'); ?>
32
+ <a style="color: #5CAEBD; text-decoration: none;border-bottom: 1px dotted;" target="_blank"
33
+ href="https://help.10web.io/hc/en-us/articles/360017959512-Getting-Facebook-Access-Token?utm_source=facebook_feed&utm_medium=free_plugin"><?php _e("Read More in User Manual.", "ffwd"); ?></a>
34
  </div>
35
  </div>
36
  </div>
37
+ <?php
38
+ }
39
+ ?>
40
  <form class="wrap" id="ffwd_info_form" method="post" action="admin.php?page=info_ffwd" style="width:99%;">
41
  <?php wp_nonce_field('info_ffwd', 'ffwd_nonce'); ?>
42
  <h2></h2>
509
  }
510
  </style>
511
  <div id="message_div" class="updated" style="display: none;"></div>
512
+ <?php
513
+ if ( WD_FB_IS_FREE ) {
514
+ WDW_FFWD_Library::topbar();
515
+ }
516
+ else {
517
+ ?>
518
+ <div class="ffwd_upgrade wd-clear">
519
  <div class="ffwd-left">
520
+ <div style="font-size: 14px;">
521
+ <?php _e('This section allows you to create, edit and delete Facebook Feed by 10Web.', 'ffwd'); ?>
522
+ <a style="color: #5CAEBD; text-decoration: none;border-bottom: 1px dotted;" target="_blank"
523
+ href="https://help.10web.io/hc/en-us/articles/360017959512-Getting-Facebook-Access-Token?utm_source=facebook_feed&utm_medium=free_plugin"><?php _e("Read More in User Manual.", "ffwd"); ?></a>
524
+ </div>
 
 
525
  </div>
526
+ </div>
527
+ <?php
528
+ }
529
+ ?>
530
  <form class="wrap" method="post" id="ffwd_info_form" action="admin.php?page=info_ffwd" style="width:99%;">
531
  <h2></h2>
 
532
  <?php wp_nonce_field('info_ffwd', 'ffwd_nonce'); ?>
533
  <!-- <span class="wd-fb-icon"></span> -->
534
  <div style="font-size: 16px" class="ffwd_notice"></div>
admin/views/FFWDViewOptions_ffwd.php CHANGED
@@ -1,128 +1,105 @@
1
  <?php
2
 
3
- class FFWDViewOptions_ffwd
4
- {
5
- ////////////////////////////////////////////////////////////////////////////////////////
6
- // Events //
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- ////////////////////////////////////////////////////////////////////////////////////////
9
- // Constants //
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- ////////////////////////////////////////////////////////////////////////////////////////
12
- // Variables //
13
- ////////////////////////////////////////////////////////////////////////////////////////
14
- private $model;
15
-
16
-
17
- ////////////////////////////////////////////////////////////////////////////////////////
18
- // Constructor & Destructor //
19
- ////////////////////////////////////////////////////////////////////////////////////////
20
- public function __construct($model)
21
- {
22
- $this->model = $model;
23
- }
24
- ////////////////////////////////////////////////////////////////////////////////////////
25
- // Public Methods //
26
- ////////////////////////////////////////////////////////////////////////////////////////
27
- public function display($reset = FALSE)
28
- {
29
- global $WD_BWG_UPLOAD_DIR;
30
-
31
 
 
32
 
 
 
 
33
 
34
- ?>
35
- <div class="ffwd_upgrade wd-clear" >
36
- <div class="ffwd-left">
37
-
38
- <div style="font-size: 14px; ">
39
- <?php _e("This section allows you to change settings for different views and general options.","ffwd");?>
40
- <a style="color: #5CAEBD; text-decoration: none;border-bottom: 1px dotted;" target="_blank" href="https://help.10web.io/hc/en-us/articles/360017960312-Other-Settings?utm_source=facebook_feed&utm_medium=free_plugin"><?php _e("Read More in User Manual.","ffwd");?></a>
41
- </div>
42
-
43
- </div>
 
 
 
 
 
44
  </div>
45
-
46
-
47
- <?php
48
- $row = $this->model->get_row_data($reset);
49
- ?>
50
- <script>
51
- wd_fb_log_in = false;
52
- </script>
53
- <form method="post" class="wrap" action="admin.php?page=options_ffwd" style="width:99%;">
54
- <?php wp_nonce_field('options_ffwd', 'ffwd_nonce'); ?>
55
- <h2></h2>
56
-
57
- <div class="ffwd_plugin_header">
58
- <span class="option-icon"></span>
59
- <h2 class="ffwd_page_name">Edit options</h2>
60
- </div>
61
-
62
- <div style="display: inline-block; width: 100%;">
63
- <div style="float: right;padding-top: 10px;">
64
- <input class="ffwd-button-primary ffwd-button-reset" type="submit" onclick="if (confirm('Do you want to reset to default?')) {
65
  spider_set_input_value('task', 'reset');
66
  } else {
67
  return false;
68
  }" value="Reset all options"/>
69
- <input class="ffwd-button-primary ffwd-button-save" type="submit"
70
- onclick="check_app('<?php echo WD_FB_PREFIX; ?>','save'); spider_set_input_value('task', 'save')"
71
- value="Save"/>
72
-
73
- </div>
74
- </div>
75
- <div style=" width: 100%;" id="display_panel">
76
- <?php
77
- $pages = get_option('ffwd_pages_list');
78
- ?>
79
- <div class="ffwd-access-token-missing">
80
- <a id="ffwd_login_button" class="ffwd_login_button" href="#">
81
- <?php
82
- echo (empty($pages)) ? "Log in and get my Access Token" : "Reauthenticate"
83
- ?>
84
- </a>
85
- <?php
86
- if (empty($pages)) {
87
- ?>
88
- <p>
89
- <?php _e("To use Facebook API, you need an Access Token.","ffwd");?>
90
- </p>
91
- <p>
92
- <?php _e("Click on the Log in and get my Access Token button, to generate your token.","ffwd");?>
93
- </p>
94
- <?php
95
- }
96
- else { ?>
97
- <p>
98
- <?php _e("If there is an issue with the Access Token, please click on Reauthenticate button.","ffwd");?>
99
- </p>
100
- <?php
101
- }
102
- ?>
103
- </div>
104
- <div id="ffwd_login_popup" style="display: none;">
105
- <div class="ffwd_login_popup_content">
106
- <p>Log into your Facebook account using the button below and approve the plugin to connect your account.</p>
107
- <p>
108
- <span id="ffwd_login_popup_cancle_btn">Cancel</span>
109
- <a id="ffwd_login_popup_continue_btn" href="<?php echo WDFacebookFeed::get_auth_url(); ?>">Continue</a>
110
- </p>
111
 
112
- <p id="ffwd_login_popup_notice"><b>Please note:</b> this does not give us permission to manage your Facebook pages, it simply allows the plugin to see a list of the pages you manage and retrieve an Access Token.</p>
113
-
114
- </div>
115
- </div>
116
- <!--User options-->
117
- <div class="spider_div_options" id="div_content_1" style="">
118
- <table style="width: 100%;">
119
- <tbody>
120
- <!-- <tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  <td class="spider_label_options">
122
  <label for="facebook_log_in">Facebook login / logout: </label>
123
  </td>
124
  <td>
125
- <?php //echo $this->model->log_in_log_out(); ?>
 
126
  </td>
127
  </tr>
128
 
@@ -133,130 +110,117 @@ class FFWDViewOptions_ffwd
133
  <td>
134
  <input type="number" id="autoupdate_interval_hour" class="spider_int_input"
135
  name="autoupdate_interval_hour" min="0" max="24"
136
- value="<?php //echo floor($row->autoupdate_interval / 60); ?>"/>
 
137
  hour
138
  <input type="number" id="autoupdate_interval_min" class="spider_int_input"
139
  name="autoupdate_interval_min" min="0" max="59"
140
- value="<?php //echo floor($row->autoupdate_interval % 60); ?>"/>
 
141
  min
142
  <div class="spider_description">Minimum 1 min.</div>
143
  </td>
144
  </tr>-->
145
- <tr>
146
- <td class="spider_label_options">
147
- <label>Timezone:</label>
148
- </td>
149
- <td>
150
- <input type="text" value="<?php echo $row->date_timezone ?>" name="<?php echo WD_FB_PREFIX; ?>_date_timezone" />
151
-
152
- <div class="spider_description">If left empty, the server timezone will be used</div>
153
- </td>
154
- </tr>
155
-
156
- <tr>
157
- <td class="spider_label_options">
158
- <label>Date format for posts:</label>
159
- </td>
160
- <td>
161
- <select name="<?php echo WD_FB_PREFIX; ?>_post_date_format">
162
- <?php
163
- foreach ($this->model->date_formats as $key => $date_format) {
164
- ?>
165
- <option
166
- value="<?php echo $key; ?>" <?php if ($row->post_date_format == $key) echo 'selected="selected"'; ?>><?php echo $date_format; ?></option>
167
- <?php
168
- }
169
- ?>
170
- </select>
171
- <div class="spider_description">Choose a date type.</div>
172
- </td>
173
- </tr>
174
-
175
- <tr style="display: none">
176
- <td class="spider_label_options">
177
- <label>Date format for events:</label>
178
- </td>
179
- <td>
180
- <select name="<?php echo WD_FB_PREFIX; ?>_event_date_format">
181
- <?php
182
- foreach (array_slice($this->model->date_formats, 1) as $key => $date_format) {
183
- ?>
184
- <option
185
- value="<?php echo $key; ?>" <?php if ($row->event_date_format == $key) echo 'selected="selected"'; ?>><?php echo $date_format; ?></option>
186
- <?php
187
- }
188
- ?>
189
- </select>
190
- <div class="spider_description">Choose a date type.</div>
191
- </td>
192
- </tr>
193
- <tr>
194
- <td class="spider_label_options">
195
- <label>Reset cache:</label>
196
- </td>
197
- <td>
198
- <a href="#" class="ffwd_reset_cache button">Reset cache</a>
199
- <span class="ffwd_reset_cache_res"></span>
200
- <div class="spider_description">Click to get new data from Facebook</div>
201
-
202
- </td>
203
- </tr>
204
- <tr>
205
- <tr>
206
- <td class="spider_label_options">
207
- <label>Uninstall:</label>
208
- </td>
209
- <td>
210
- <a href="admin.php?page=uninstall_ffwd" class="button">Uninstall</a>
211
- </td>
212
- </tr>
213
-
214
-
215
- </tbody>
216
- </table>
217
- </div>
218
- </div>
219
- <div id="opacity_div"
220
- style="display: none; background-color: rgba(0, 0, 0, 0.2); position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99998;"></div>
221
- <div id="loading_div"
222
- style="display:none; text-align: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99999;">
223
- <img src="<?php echo WD_FFWD_URL . '/images/ajax_loader.png'; ?>" class="spider_ajax_loading"
224
- style="margin-top: 200px; width:50px;">
225
- </div>
226
- <input id="task" name="task" type="hidden" value=""/>
227
- <input id="current_id" name="current_id" type="hidden" value="<?php /* echo $row->id; */ ?>"/>
228
- <script>
229
- // "State" global get var is for checking redirect from facebook
230
- function ffwd_show_hide_options(id, display) {
231
- jQuery("#" + id).css("display", display);
232
- }
233
-
234
- function ffwd_validate_app()
235
- {
236
- if(jQuery('#ffwd_app_id').val()=='' || jQuery('#ffwd_app_secret').val()=='' )
237
- {
238
-
239
- return false;
240
- }
241
- else
242
- {
243
- return true;
244
- }
245
- }
246
-
247
-
248
- </script>
249
- </form>
250
- <?php
251
- }
252
-
253
- ////////////////////////////////////////////////////////////////////////////////////////
254
- // Getters & Setters //
255
- ////////////////////////////////////////////////////////////////////////////////////////
256
- ////////////////////////////////////////////////////////////////////////////////////////
257
- // Private Methods //
258
- ////////////////////////////////////////////////////////////////////////////////////////
259
- ////////////////////////////////////////////////////////////////////////////////////////
260
- // Listeners //
261
- ////////////////////////////////////////////////////////////////////////////////////////
262
- }
1
  <?php
2
 
3
+ class FFWDViewOptions_ffwd {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
 
5
+ private $model;
6
 
7
+ public function __construct( $model ) {
8
+ $this->model = $model;
9
+ }
10
 
11
+ public function display( $reset = FALSE ) {
12
+ global $WD_BWG_UPLOAD_DIR;
13
+ $row = $this->model->get_row_data($reset);
14
+ if ( WD_FB_IS_FREE ) {
15
+ WDW_FFWD_Library::topbar();
16
+ }
17
+ else {
18
+ ?>
19
+ <div class="ffwd_upgrade wd-clear">
20
+ <div class="ffwd-left">
21
+ <div style="font-size: 14px; ">
22
+ <?php _e('This section allows you to change settings for different views and general options.', 'ffwd'); ?>
23
+ <a style="color: #5CAEBD; text-decoration: none;border-bottom: 1px dotted;" target="_blank"
24
+ href="https://help.10web.io/hc/en-us/articles/360017960312-Other-Settings?utm_source=facebook_feed&utm_medium=free_plugin"><?php _e("Read More in User Manual.", "ffwd"); ?></a>
25
+ </div>
26
  </div>
27
+ </div>
28
+ <?php
29
+ }
30
+ ?>
31
+ <script>wd_fb_log_in = false;</script>
32
+ <form method="post" class="wrap" action="admin.php?page=options_ffwd" style="width:99%;">
33
+ <?php wp_nonce_field('options_ffwd', 'ffwd_nonce'); ?>
34
+ <h2></h2>
35
+ <div class="ffwd_plugin_header">
36
+ <span class="option-icon"></span>
37
+ <h2 class="ffwd_page_name">Edit options</h2>
38
+ </div>
39
+ <div style="display: inline-block; width: 100%;">
40
+ <div style="float: right;padding-top: 10px;">
41
+ <input class="ffwd-button-primary ffwd-button-reset" type="submit" onclick="if (confirm('Do you want to reset to default?')) {
 
 
 
 
 
42
  spider_set_input_value('task', 'reset');
43
  } else {
44
  return false;
45
  }" value="Reset all options"/>
46
+ <input class="ffwd-button-primary ffwd-button-save" type="submit"
47
+ onclick="check_app('<?php echo WD_FB_PREFIX; ?>','save'); spider_set_input_value('task', 'save')"
48
+ value="Save"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
 
50
+ </div>
51
+ </div>
52
+ <div style=" width: 100%;" id="display_panel">
53
+ <?php
54
+ $pages = get_option('ffwd_pages_list');
55
+ ?>
56
+ <div class="ffwd-access-token-missing">
57
+ <a id="ffwd_login_button" class="ffwd_login_button" href="#">
58
+ <?php
59
+ echo (empty($pages)) ? "Log in and get my Access Token" : "Reauthenticate"
60
+ ?>
61
+ </a>
62
+ <?php
63
+ if ( empty($pages) ) {
64
+ ?>
65
+ <p>
66
+ <?php _e("To use Facebook API, you need an Access Token.", "ffwd"); ?>
67
+ </p>
68
+ <p>
69
+ <?php _e("Click on the Log in and get my Access Token button, to generate your token.", "ffwd"); ?>
70
+ </p>
71
+ <?php
72
+ }
73
+ else { ?>
74
+ <p>
75
+ <?php _e("If there is an issue with the Access Token, please click on Reauthenticate button.", "ffwd"); ?>
76
+ </p>
77
+ <?php
78
+ }
79
+ ?>
80
+ </div>
81
+ <div id="ffwd_login_popup" style="display: none;">
82
+ <div class="ffwd_login_popup_content">
83
+ <p>Log into your Facebook account using the button below and approve the plugin to connect your account.</p>
84
+ <p>
85
+ <span id="ffwd_login_popup_cancle_btn">Cancel</span>
86
+ <a id="ffwd_login_popup_continue_btn" href="<?php echo WDFacebookFeed::get_auth_url(); ?>">Continue</a>
87
+ </p>
88
+ <p id="ffwd_login_popup_notice"><b>Please note:</b> this does not give us permission to manage your Facebook
89
+ pages, it simply allows the plugin to see a list of the pages you manage and retrieve an Access Token.</p>
90
+ </div>
91
+ </div>
92
+ <!--User options-->
93
+ <div class="spider_div_options" id="div_content_1" style="">
94
+ <table style="width: 100%;">
95
+ <tbody>
96
+ <!-- <tr>
97
  <td class="spider_label_options">
98
  <label for="facebook_log_in">Facebook login / logout: </label>
99
  </td>
100
  <td>
101
+ <?php //echo $this->model->log_in_log_out();
102
+ ?>
103
  </td>
104
  </tr>
105
 
110
  <td>
111
  <input type="number" id="autoupdate_interval_hour" class="spider_int_input"
112
  name="autoupdate_interval_hour" min="0" max="24"
113
+ value="<?php //echo floor($row->autoupdate_interval / 60);
114
+ ?>"/>
115
  hour
116
  <input type="number" id="autoupdate_interval_min" class="spider_int_input"
117
  name="autoupdate_interval_min" min="0" max="59"
118
+ value="<?php //echo floor($row->autoupdate_interval % 60);
119
+ ?>"/>
120
  min
121
  <div class="spider_description">Minimum 1 min.</div>
122
  </td>
123
  </tr>-->
124
+ <tr>
125
+ <td class="spider_label_options">
126
+ <label>Timezone:</label>
127
+ </td>
128
+ <td>
129
+ <input type="text" value="<?php echo $row->date_timezone ?>"
130
+ name="<?php echo WD_FB_PREFIX; ?>_date_timezone"/>
131
+
132
+ <div class="spider_description">If left empty, the server timezone will be used</div>
133
+ </td>
134
+ </tr>
135
+
136
+ <tr>
137
+ <td class="spider_label_options">
138
+ <label>Date format for posts:</label>
139
+ </td>
140
+ <td>
141
+ <select name="<?php echo WD_FB_PREFIX; ?>_post_date_format">
142
+ <?php
143
+ foreach ( $this->model->date_formats as $key => $date_format ) {
144
+ ?>
145
+ <option
146
+ value="<?php echo $key; ?>" <?php if ( $row->post_date_format == $key ) {
147
+ echo 'selected="selected"';
148
+ } ?>><?php echo $date_format; ?></option>
149
+ <?php
150
+ }
151
+ ?>
152
+ </select>
153
+ <div class="spider_description">Choose a date type.</div>
154
+ </td>
155
+ </tr>
156
+ <tr style="display: none">
157
+ <td class="spider_label_options">
158
+ <label>Date format for events:</label>
159
+ </td>
160
+ <td>
161
+ <select name="<?php echo WD_FB_PREFIX; ?>_event_date_format">
162
+ <?php
163
+ foreach ( array_slice($this->model->date_formats, 1) as $key => $date_format ) {
164
+ ?>
165
+ <option
166
+ value="<?php echo $key; ?>" <?php if ( $row->event_date_format == $key ) {
167
+ echo 'selected="selected"';
168
+ } ?>><?php echo $date_format; ?></option>
169
+ <?php
170
+ }
171
+ ?>
172
+ </select>
173
+ <div class="spider_description">Choose a date type.</div>
174
+ </td>
175
+ </tr>
176
+ <tr>
177
+ <td class="spider_label_options">
178
+ <label>Reset cache:</label>
179
+ </td>
180
+ <td>
181
+ <a href="#" class="ffwd_reset_cache button">Reset cache</a>
182
+ <span class="ffwd_reset_cache_res"></span>
183
+ <div class="spider_description">Click to get new data from Facebook</div>
184
+
185
+ </td>
186
+ </tr>
187
+ <tr>
188
+ <tr>
189
+ <td class="spider_label_options">
190
+ <label>Uninstall:</label>
191
+ </td>
192
+ <td>
193
+ <a href="admin.php?page=uninstall_ffwd" class="button">Uninstall</a>
194
+ </td>
195
+ </tr>
196
+ </tbody>
197
+ </table>
198
+ </div>
199
+ </div>
200
+ <div id="opacity_div"
201
+ style="display: none; background-color: rgba(0, 0, 0, 0.2); position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99998;"></div>
202
+ <div id="loading_div"
203
+ style="display:none; text-align: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99999;">
204
+ <img src="<?php echo WD_FFWD_URL . '/images/ajax_loader.png'; ?>" class="spider_ajax_loading"
205
+ style="margin-top: 200px; width:50px;">
206
+ </div>
207
+ <input id="task" name="task" type="hidden" value=""/>
208
+ <input id="current_id" name="current_id" type="hidden" value="<?php /* echo $row->id; */ ?>"/>
209
+ <script>
210
+ // "State" global get var is for checking redirect from facebook
211
+ function ffwd_show_hide_options( id, display ) {
212
+ jQuery("#" + id).css("display", display);
213
+ }
214
+ function ffwd_validate_app() {
215
+ if ( jQuery('#ffwd_app_id').val() == '' || jQuery('#ffwd_app_secret').val() == '' ) {
216
+ return false;
217
+ }
218
+ else {
219
+ return true;
220
+ }
221
+ }
222
+ </script>
223
+ </form>
224
+ <?php
225
+ }
226
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/views/FFWDViewThemes_ffwd.php CHANGED
@@ -14,7 +14,7 @@ class FFWDViewThemes_ffwd {
14
  ?>
15
  <div class="wrap">
16
  <div style="clear: both;float: right;color: #15699F; font-size: 20px; margin-top:10px; padding:8px 15px;">
17
- This is FREE version, Customizing themes is available only in the PAID version.
18
  </div>
19
  </div>
20
  <img src='<?php echo plugins_url('../../images/themes/thumbnail.png', __FILE__) ?>'/><br>
@@ -25,3522 +25,5 @@ class FFWDViewThemes_ffwd {
25
  <img src='<?php echo plugins_url('../../images/themes/pagenav.png', __FILE__) ?>'/><br>
26
  <?php
27
  }
28
- else {
29
- $rows_data = $this->model->get_rows_data();
30
- $page_nav = $this->model->page_nav();
31
- $search_value = ((isset($_POST['search_value'])) ? sanitize_text_field($_POST['search_value']) : '');
32
- $search_select_value = ((isset($_POST['search_select_value'])) ? (int) $_POST['search_select_value'] : 0);
33
- $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? sanitize_text_field($_POST['asc_or_desc']) : 'asc');
34
- $order_by = (isset($_POST['order_by']) ? sanitize_text_field($_POST['order_by']) : 'id');
35
- $order_class = 'manage-column column-title sorted ' . $asc_or_desc;
36
- $ids_string = '';
37
- $per_page = $this->model->per_page();
38
- $pager = 0;
39
- ?>
40
- <div class="ffwd_upgrade wd-clear">
41
- <div class="ffwd-left">
42
- <div style="font-size: 14px; ">
43
- <?php _e("This section allows you to create, edit and delete themes.", "ffwd"); ?>
44
- <a style="color: #5CAEBD; text-decoration: none;border-bottom: 1px dotted;" target="_blank"
45
- href="https://help.10web.io/hc/en-us/articles/360017960352--Facebook-Feed-WD-Themes?utm_source=facebook_feed&utm_medium=free_plugin"><?php _e("Read More in User Manual.", "ffwd"); ?></a>
46
- </div>
47
- </div>
48
- </div>
49
- <form class="wrap" id="themes_form" method="post" action="admin.php?page=themes_ffwd" style="width:99%;">
50
- <?php wp_nonce_field('themes_ffwd', 'ffwd_nonce'); ?>
51
- <h2></h2>
52
- <div class="ffwd_plugin_header">
53
- <span class="theme_icon"></span>
54
- <h2 class="ffwd_page_name">Themes <a href="" class="ffwd-button-primary ffwd-button-add-new"
55
- onclick="spider_set_input_value('task', 'add'); spider_form_submit(event, 'themes_form')">Add
56
- new</a></h2>
57
- </div>
58
- <div class="buttons_div">
59
- <input class="ffwd-button-secondary ffwd-button-delete" type="submit" onclick="if (confirm('Do you want to delete selected items?')) {
60
- spider_set_input_value('task', 'delete_all');
61
- } else {
62
- return false;
63
- }" value="Delete"/>
64
- </div>
65
- <div class="tablenav top">
66
- <?php
67
- WDW_FFWD_Library::search('Title', $search_value, 'themes_form');
68
- WDW_FFWD_Library::html_page_nav($page_nav['total'], $pager++, $page_nav['limit'], 'themes_form', $per_page);
69
- ?>
70
- </div>
71
- <table class="wp-list-table widefat fixed pages">
72
- <thead>
73
- <th class="manage-column column-cb check-column table_small_col">
74
- <input id="check_all" type="checkbox" style="margin:0;"/>
75
- </th>
76
- <th class="table_small_col <?php if ( $order_by == 'id' ) {
77
- echo $order_class;
78
- } ?>">
79
- <a onclick="spider_set_input_value('task', '');
80
- spider_set_input_value('order_by', 'id');
81
- spider_set_input_value('asc_or_desc', '<?php echo((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (sanitize_text_field($_POST['order_by']) == 'id') && sanitize_text_field($_POST['asc_or_desc']) == 'asc') ? 'desc' : 'asc'); ?>');
82
- spider_form_submit(event, 'themes_form')" href="">
83
- <span>ID</span><span class="sorting-indicator"></span></a>
84
- </th>
85
- <th class="<?php if ( $order_by == 'name' ) {
86
- echo $order_class;
87
- } ?>">
88
- <a onclick="spider_set_input_value('task', '');
89
- spider_set_input_value('order_by', 'name');
90
- spider_set_input_value('asc_or_desc', '<?php echo((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (sanitize_text_field($_POST['order_by']) == 'title') && sanitize_text_field($_POST['asc_or_desc']) == 'asc') ? 'desc' : 'asc'); ?>');
91
- spider_form_submit(event, 'themes_form')" href="">
92
- <span>Name</span><span class="sorting-indicator"></span></a>
93
- </th>
94
- <th class="table_big_col <?php if ( $order_by == 'default_theme' ) {
95
- echo $order_class;
96
- } ?>">
97
- <a onclick="spider_set_input_value('task', '');
98
- spider_set_input_value('order_by', 'default_theme');
99
- spider_set_input_value('asc_or_desc', '<?php echo((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (sanitize_text_field($_POST['order_by']) == 'default_theme') && sanitize_text_field($_POST['asc_or_desc']) == 'asc') ? 'desc' : 'asc'); ?>');
100
- spider_form_submit(event, 'themes_form')" href="">
101
- <span>Default</span><span class="sorting-indicator"></span></a>
102
- </th>
103
- <th class="table_big_col">Edit</th>
104
- <th class="table_big_col">Delete</th>
105
- </thead>
106
- <tbody id="tbody_arr">
107
- <?php
108
- if ( $rows_data ) {
109
- foreach ( $rows_data as $row_data ) {
110
- $alternate = (!isset($alternate) || $alternate == 'class="alternate"') ? '' : 'class="alternate"';
111
- $default_image = (($row_data->default_theme) ? 'default' : 'notdefault');
112
- $default = (($row_data->default_theme) ? '' : 'setdefault');
113
- ?>
114
- <tr id="tr_<?php echo $row_data->id; ?>" <?php echo $alternate; ?>>
115
- <td class="table_small_col check-column">
116
- <input id="check_<?php echo $row_data->id; ?>" name="check_<?php echo $row_data->id; ?>"
117
- type="checkbox"/>
118
- </td>
119
- <td class="table_small_col"><?php echo $row_data->id; ?></td>
120
- <td>
121
- <a onclick="spider_set_input_value('task', 'edit');
122
- spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
123
- spider_form_submit(event, 'themes_form')" href="" title="Edit"><?php echo $row_data->name; ?></a>
124
- </td>
125
- <td class="table_big_col">
126
- <?php
127
- if ($default != '') {
128
- ?>
129
- <a onclick="spider_set_input_value('task', '<?php echo $default; ?>');
130
- spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
131
- spider_form_submit(event, 'themes_form')" href="">
132
- <?php
133
- }
134
- ?>
135
- <img src="<?php echo WD_FFWD_URL . '/images/' . $default_image . '.png'; ?>"/>
136
- <?php
137
- if ($default != '') {
138
- ?>
139
- </a>
140
- <?php
141
- }
142
- ?>
143
- </td>
144
- <td class="table_big_col">
145
- <a onclick="spider_set_input_value('task', 'edit');
146
- spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
147
- spider_form_submit(event, 'themes_form')" href="">Edit</a>
148
- </td>
149
- <td class="table_big_col">
150
- <a onclick="spider_set_input_value('task', 'delete');
151
- spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
152
- spider_form_submit(event, 'themes_form')" href="">Delete</a>
153
- </td>
154
- </tr>
155
- <?php
156
- $ids_string .= $row_data->id . ',';
157
- }
158
- }
159
- ?>
160
- </tbody>
161
- </table>
162
- <div class="tablenav bottom">
163
- <?php
164
- WDW_FFWD_Library::html_page_nav($page_nav['total'], $pager++, $page_nav['limit'], 'themes_form', $per_page);
165
- ?>
166
- </div>
167
- <input id="task" name="task" type="hidden" value=""/>
168
- <input id="current_id" name="current_id" type="hidden" value=""/>
169
- <input id="ids_string" name="ids_string" type="hidden" value="<?php echo $ids_string; ?>"/>
170
- <input id="asc_or_desc" name="asc_or_desc" type="hidden" value="asc"/>
171
- <input id="order_by" name="order_by" type="hidden" value="<?php echo $order_by; ?>"/>
172
- </form>
173
- <?php
174
- }
175
- }
176
-
177
- public function edit($id, $reset)
178
- {
179
- $row = $this->model->get_row_data($id, $reset);
180
- $page_title = (($id != 0) ? 'Edit theme ' . $row->name : 'Create new theme');
181
- $current_type = WDW_FFWD_Library::get('current_type', 'Thumbnail');
182
- $border_styles = array(
183
- 'none' => 'None',
184
- 'solid' => 'Solid',
185
- 'dotted' => 'Dotted',
186
- 'dashed' => 'Dashed',
187
- 'double' => 'Double',
188
- 'groove' => 'Groove',
189
- 'ridge' => 'Ridge',
190
- 'inset' => 'Inset',
191
- 'outset' => 'Outset',
192
- );
193
- $font_families = array(
194
- 'inherit' => 'Inherit',
195
- 'arial' => 'Arial',
196
- 'lucida grande' => 'Lucida grande',
197
- 'segoe ui' => 'Segoe ui',
198
- 'tahoma' => 'Tahoma',
199
- 'trebuchet ms' => 'Trebuchet ms',
200
- 'verdana' => 'Verdana',
201
- 'cursive' => 'Cursive',
202
- 'fantasy' => 'Fantasy',
203
- 'monospace' => 'Monospace',
204
- 'serif' => 'Serif',
205
- // 'helvetica, arial, sans-serif' => 'Helvetica',
206
- 'helvetica' => 'Helvetica',
207
- );
208
- $aligns = array(
209
- 'left' => 'Left',
210
- 'center' => 'Center',
211
- 'right' => 'Right',
212
- );
213
- $font_weights = array(
214
- 'lighter' => 'Lighter',
215
- 'normal' => 'Normal',
216
- 'bold' => 'Bold',
217
- );
218
-
219
- $hover_effects = array(
220
- 'none' => 'None',
221
- 'rotate' => 'Rotate',
222
- 'scale' => 'Scale',
223
- 'skew' => 'Skew',
224
- );
225
- $button_styles = array(
226
- 'fa-chevron' => 'Chevron',
227
- 'fa-angle' => 'Angle',
228
- 'fa-angle-double' => 'Double',
229
- );
230
- $rate_icons = array(
231
- 'star' => 'Star',
232
- 'bell' => 'Bell',
233
- 'circle' => 'Circle',
234
- 'flag' => 'Flag',
235
- 'heart' => 'Heart',
236
- 'square' => 'Square',
237
- );
238
- ?>
239
-
240
- <div class="ffwd_upgrade wd-clear" >
241
- <div class="ffwd-left">
242
-
243
- <div style="font-size: 14px; ">
244
- <?php _e("This section allows you to add/edit themes.","ffwd");?>
245
- <a style="color: #5CAEBD; text-decoration: none;border-bottom: 1px dotted;" target="_blank" href="https://help.10web.io/hc/en-us/articles/360017960352--Facebook-Feed-WD-Themes?utm_source=facebook_feed&utm_medium=free_plugin"><?php _e("Read More in User Manual.","ffwd");?></a>
246
- </div>
247
-
248
- </div>
249
- </div>
250
-
251
-
252
-
253
-
254
- <form class="wrap" method="post" id="themes_form" action="admin.php?page=themes_ffwd" style="width:99%;">
255
- <?php wp_nonce_field('themes_ffwd', 'ffwd_nonce'); ?>
256
- <h2></h2>
257
-
258
- <div class="ffwd_plugin_header">
259
- <span class="theme_icon"></span>
260
-
261
- <h2 class="ffwd_page_name"><?php echo $page_title; ?></h2>
262
- </div>
263
- <div style="float: right; margin: 0 5px 0 0;padding-top: 10px">
264
- <input class="ffwd-button-primary ffwd-button-save" type="submit"
265
- onclick="if (spider_check_required('name', 'Name')) {return false;}; spider_set_input_value('task', 'save')"
266
- value="Save"/>
267
- <input class="ffwd-button-primary ffwd-button-apply" type="submit"
268
- onclick="if (spider_check_required('name', 'Name')) {return false;}; spider_set_input_value('task', 'apply')"
269
- value="Apply"/>
270
- <input class="ffwd-button-secondary ffwd-button-cancel" type="submit" onclick="spider_set_input_value('task', 'cancel')"
271
- value="Cancel"/>
272
- <input title="Reset to default theme" class="ffwd-button-primary ffwd-button-reset" type="submit" onclick="if (confirm('Do you want to reset to default?')) {
273
- spider_set_input_value('task', 'reset');
274
- } else {
275
- return false;
276
- }" value="Reset"/>
277
- </div>
278
- <div style="float: left; margin: 10px 0 0; display: none;" id="type_menu">
279
- <div id="type_Thumbnail" class="theme_type" onclick="bwg_change_theme_type('Thumbnail')">Thumbnails
280
- </div>
281
- <div id="type_Masonry" class="theme_type" onclick="bwg_change_theme_type('Masonry')">Masonry</div>
282
- <div id="type_Compact_album" class="theme_type" onclick="bwg_change_theme_type('Compact_album')">Compact
283
- Album
284
- </div>
285
- <div id="type_Blog_style" class="theme_type" onclick="bwg_change_theme_type('Blog_style')">Blog Style
286
- </div>
287
- <div id="type_Lightbox" class="theme_type" onclick="bwg_change_theme_type('Lightbox')">Lightbox</div>
288
- <div id="type_Navigation" class="theme_type" onclick="bwg_change_theme_type('Navigation')">Page
289
- Navigation
290
- </div>
291
- <input type="hidden" id="current_type" name="current_type" value="<?php echo $current_type; ?>"/>
292
- </div>
293
- <fieldset class="spider_fieldset">
294
-
295
- <table style="clear:both;">
296
- <tbody>
297
- <tr>
298
- <td class="spider_label"><label for="name">Name: <span style="color:#FF0000;"> * </span>
299
- </label></td>
300
- <td><input type="text" id="name" name="name" value="<?php echo $row->name; ?>"
301
- class="spider_text_input"/></td>
302
- </tr>
303
- </tbody>
304
- </table>
305
-
306
- <fieldset class="spider_type_fieldset" id="Thumbnail">
307
- <fieldset class="spider_child_fieldset" id="Thumbnail_1">
308
- <table style="clear:both;">
309
- <tbody>
310
- <tr>
311
- <td class="spider_label"><label for="thumb_margin">Margin: </label></td>
312
- <td>
313
- <input type="text" name="thumb_margin" id="thumb_margin"
314
- value="<?php echo $row->thumb_margin; ?>" class="spider_int_input"
315
- onkeypress="return spider_check_isnum(event)"/> px
316
- </td>
317
- </tr>
318
- <tr>
319
- <td class="spider_label"><label for="thumb_padding">Padding: </label></td>
320
- <td>
321
- <input type="text" name="thumb_padding" id="thumb_padding"
322
- value="<?php echo $row->thumb_padding; ?>" class="spider_int_input"
323
- onkeypress="return spider_check_isnum(event)"/> px
324
- </td>
325
- </tr>
326
- <tr>
327
- <td class="spider_label"><label for="thumb_border_width">Border width: </label></td>
328
- <td>
329
- <input type="text" name="thumb_border_width" id="thumb_border_width"
330
- value="<?php echo $row->thumb_border_width; ?>" class="spider_int_input"
331
- onkeypress="return spider_check_isnum(event)"/> px
332
- </td>
333
- </tr>
334
- <tr>
335
- <td class="spider_label"><label for="thumb_border_style">Border style: </label></td>
336
- <td>
337
- <select name="thumb_border_style" id="thumb_border_style">
338
- <?php
339
- foreach ($border_styles as $key => $border_style) {
340
- ?>
341
- <option
342
- value="<?php echo $key; ?>" <?php echo(($row->thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
343
- <?php
344
- }
345
- ?>
346
- </select>
347
- </td>
348
- </tr>
349
- <tr>
350
- <td class="spider_label"><label for="thumb_border_color">Border color:</label></td>
351
- <td>
352
- <input type="text" name="thumb_border_color" id="thumb_border_color"
353
- value="<?php echo $row->thumb_border_color; ?>" class="color"/>
354
- </td>
355
- </tr>
356
- <tr>
357
- <td class="spider_label"><label for="thumb_border_radius">Border radius: </label></td>
358
- <td>
359
- <input type="text" name="thumb_border_radius" id="thumb_border_radius"
360
- value="<?php echo $row->thumb_border_radius; ?>" class="spider_char_input"/>
361
- <div class="spider_description">Use CSS type values.</div>
362
- </td>
363
- </tr>
364
- <tr>
365
- <td class="spider_label"><label for="thumb_box_shadow">Shadow: </label></td>
366
- <td>
367
- <input type="text" name="thumb_box_shadow" id="thumb_box_shadow"
368
- value="<?php echo $row->thumb_box_shadow; ?>" class="spider_box_input"/>
369
- <div class="spider_description">Use CSS type values.</div>
370
- </td>
371
- </tr>
372
- <tr>
373
- <td class="spider_label"><label for="thumb_hover_effect">Hover effect: </label></td>
374
- <td>
375
- <select name="thumb_hover_effect" id="thumb_hover_effect" class="spider_int_input">
376
- <?php
377
- foreach ($hover_effects as $key => $hover_effect) {
378
- ?>
379
- <option
380
- value="<?php echo $key; ?>" <?php echo(($row->thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo $hover_effect; ?></option>
381
- <?php
382
- }
383
- ?>
384
- </select>
385
- </td>
386
- </tr>
387
- <tr>
388
- <td class="spider_label"><label for="thumb_hover_effect_value">Hover effect
389
- value: </label></td>
390
- <td>
391
- <input type="text" name="thumb_hover_effect_value" id="thumb_hover_effect_value"
392
- value="<?php echo $row->thumb_hover_effect_value; ?>"
393
- class="spider_char_input"/>
394
- <div class="spider_description">E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.</div>
395
- </td>
396
- </tr>
397
- <tr>
398
- <td class="spider_label"><label>Transition: </label></td>
399
- <td id="thumb_transition">
400
- <input type="radio" name="thumb_transition" id="thumb_transition1"
401
- value="1"<?php if ($row->thumb_transition == 1) echo 'checked="checked"'; ?> />
402
- <label for="thumb_transition1" id="thumb_transition1_lbl">Yes</label>
403
- <input type="radio" name="thumb_transition" id="thumb_transition0"
404
- value="0"<?php if ($row->thumb_transition == 0) echo 'checked="checked"'; ?> />
405
- <label for="thumb_transition0" id="thumb_transition0_lbl">No</label>
406
- </td>
407
- </tr>
408
- </tbody>
409
- </table>
410
- </fieldset>
411
- <fieldset class="spider_child_fieldset" id="Thumbnail_2">
412
- <table style="clear:both;">
413
- <tbody>
414
- <tr>
415
- <td class="spider_label">
416
- <label for="thumb_bg_color">Thumbnail background color: </label>
417
- </td>
418
- <td>
419
- <input type="text" name="thumb_bg_color" id="thumb_bg_color"
420
- value="<?php echo $row->thumb_bg_color; ?>" class="color"/>
421
- </td>
422
- </tr>
423
- <tr>
424
- <td class="spider_label"><label for="thumb_transparent">Thumbnail transparency: </label>
425
- </td>
426
- <td>
427
- <input type="text" name="thumb_transparent" id="thumb_transparent"
428
- value="<?php echo $row->thumb_transparent; ?>" class="spider_int_input"
429
- onkeypress="return spider_check_isnum(event)"/> %
430
- <div class="spider_description">Value must be between 0 to 100.</div>
431
- </td>
432
- </tr>
433
- <tr>
434
- <td class="spider_label"><label for="thumbs_bg_color">Full background color: </label>
435
- </td>
436
- <td>
437
- <input type="text" name="thumbs_bg_color" id="thumbs_bg_color"
438
- value="<?php echo $row->thumbs_bg_color; ?>" class="color"/>
439
- </td>
440
- </tr>
441
- <tr>
442
- <td class="spider_label"><label for="thumb_bg_transparent">Full background
443
- transparency: </label></td>
444
- <td>
445
- <input type="text" name="thumb_bg_transparent" id="thumb_bg_transparent"
446
- value="<?php echo $row->thumb_bg_transparent; ?>" class="spider_int_input"
447
- onkeypress="return spider_check_isnum(event)"/> %
448
- <div class="spider_description">Value must be between 0 to 100.</div>
449
- </td>
450
- </tr>
451
- <tr>
452
- <td class="spider_label"><label for="thumb_align">Alignment: </label></td>
453
- <td>
454
- <select name="thumb_align" id="thumb_align">
455
- <?php
456
- foreach ($aligns as $key => $align) {
457
- ?>
458
- <option
459
- value="<?php echo $key; ?>" <?php echo(($row->thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
460
- <?php
461
- }
462
- ?>
463
- </select>
464
- </td>
465
- </tr>
466
- </tbody>
467
- </table>
468
- </fieldset>
469
- <fieldset class="spider_child_fieldset" id="Thumbnail_3">
470
- <table style="clear:both;">
471
- <tbody>
472
- <tr>
473
- <td class="spider_label"><label>Title position: </label></td>
474
- <td>
475
- <input type="radio" name="thumb_title_pos" id="thumb_title_pos1"
476
- value="top" <?php if ($row->thumb_title_pos == "top") echo 'checked="checked"'; ?> />
477
- <label for="thumb_title_pos1" id="thumb_title_pos1_lbl">Top</label>
478
- <input type="radio" name="thumb_title_pos" id="thumb_title_pos0"
479
- value="bottom" <?php if ($row->thumb_title_pos == "bottom") echo 'checked="checked"'; ?> />
480
- <label for="thumb_title_pos0" id="thumb_title_pos0_lbl">Bottom</label>
481
- </td>
482
- </tr>
483
- <tr>
484
- <td class="spider_label"><label for="thumb_title_font_size">Title font size: </label>
485
- </td>
486
- <td>
487
- <input type="text" name="thumb_title_font_size" id="thumb_title_font_size"
488
- value="<?php echo $row->thumb_title_font_size; ?>" class="spider_int_input"
489
- onkeypress="return spider_check_isnum(event)"/> px
490
- </td>
491
- </tr>
492
- <tr>
493
- <td class="spider_label"><label for="thumb_title_font_color">Title font color: </label>
494
- </td>
495
- <td>
496
- <input type="text" name="thumb_title_font_color" id="thumb_title_font_color"
497
- value="<?php echo $row->thumb_title_font_color; ?>" class="color"/>
498
- </td>
499
- </tr>
500
- <tr>
501
- <td class="spider_label"><label for="thumb_title_font_style">Title font family: </label>
502
- </td>
503
- <td>
504
- <select name="thumb_title_font_style" id="thumb_title_font_style">
505
- <?php
506
- foreach ($font_families as $key => $font_family) {
507
- ?>
508
- <option
509
- value="<?php echo $key; ?>" <?php echo(($row->thumb_title_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
510
- <?php
511
- }
512
- ?>
513
- </select>
514
- </td>
515
- </tr>
516
- <tr>
517
- <td class="spider_label"><label for="thumb_title_font_weight">Title font
518
- weight: </label></td>
519
- <td>
520
- <select name="thumb_title_font_weight" id="thumb_title_font_weight">
521
- <?php
522
- foreach ($font_weights as $key => $font_weight) {
523
- ?>
524
- <option
525
- value="<?php echo $key; ?>" <?php echo(($row->thumb_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
526
- <?php
527
- }
528
- ?>
529
- </select>
530
- </td>
531
- </tr>
532
- <tr>
533
- <td class="spider_label"><label for="thumb_title_shadow">Title box shadow: </label></td>
534
- <td>
535
- <input type="text" name="thumb_title_shadow" id="thumb_title_shadow"
536
- value="<?php echo $row->thumb_title_shadow; ?>" class="spider_box_input"/>
537
- <div class="spider_description">Use CSS type values.</div>
538
- </td>
539
- </tr>
540
- <tr>
541
- <td class="spider_label"><label for="thumb_title_margin">Title margin: </label></td>
542
- <td>
543
- <input type="text" name="thumb_title_margin" id="thumb_title_margin"
544
- value="<?php echo $row->thumb_title_margin; ?>" class="spider_char_input"/>
545
- <div class="spider_description">Use CSS type values.</div>
546
- </td>
547
- </tr>
548
- </tbody>
549
- </table>
550
- </fieldset>
551
-
552
- <fieldset class="spider_child_fieldset" id="Thumbnail_4">
553
- <table style="clear:both;">
554
- <tbody>
555
- <tr>
556
- <td class="spider_label"><label>Like , comment position: </label></td>
557
- <td>
558
- <input type="radio" name="thumb_like_comm_pos" id="thumb_like_comm_pos1"
559
- value="top" <?php if ($row->thumb_like_comm_pos == "top") echo 'checked="checked"'; ?> />
560
- <label for="thumb_like_comm_pos1" id="thumb_like_comm_pos1_lbl">Top</label>
561
- <input type="radio" name="thumb_like_comm_pos" id="thumb_like_comm_pos0"
562
- value="bottom" <?php if ($row->thumb_like_comm_pos == "bottom") echo 'checked="checked"'; ?> />
563
- <label for="thumb_like_comm_pos0" id="thumb_like_comm_pos0_lbl">Bottom</label>
564
- </td>
565
- </tr>
566
- <!-- <tr>
567
- <td class="spider_label"><label for="thumb_like_comm_c_bg_color">Like , comment count background color: </label></td>
568
- <td>
569
- <input type="text" name="thumb_like_comm_c_bg_color" id="thumb_like_comm_c_bg_color" value="" class="color" />
570
- </td> -->
571
- </tr>
572
- <tr>
573
- <td class="spider_label"><label for="thumb_like_comm_font_size">Like , comment font
574
- size: </label></td>
575
- <td>
576
- <input type="text" name="thumb_like_comm_font_size" id="thumb_like_comm_font_size"
577
- value="<?php echo $row->thumb_like_comm_font_size; ?>"
578
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
579
- </td>
580
- </tr>
581
- <tr>
582
- <td class="spider_label"><label for="thumb_like_comm_font_color">Like , comment font
583
- color: </label></td>
584
- <td>
585
- <input type="text" name="thumb_like_comm_font_color" id="thumb_like_comm_font_color"
586
- value="<?php echo $row->thumb_like_comm_font_color; ?>" class="color"/>
587
- </td>
588
- </tr>
589
- <tr>
590
- <td class="spider_label"><label for="thumb_like_comm_font_style">Like , comment font
591
- family: </label></td>
592
- <td>
593
- <select name="thumb_like_comm_font_style" id="thumb_like_comm_font_style">
594
- <?php
595
- foreach ($font_families as $key => $font_family) {
596
- ?>
597
- <option
598
- value="<?php echo $key; ?>" <?php echo(($row->thumb_like_comm_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
599
- <?php
600
- }
601
- ?>
602
- </select>
603
- </td>
604
- </tr>
605
- <tr>
606
- <td class="spider_label"><label for="thumb_like_comm_font_weight">Like , comment font
607
- weight: </label></td>
608
- <td>
609
- <select name="thumb_like_comm_font_weight" id="thumb_like_comm_font_weight">
610
- <?php
611
- foreach ($font_weights as $key => $font_weight) {
612
- ?>
613
- <option
614
- value="<?php echo $key; ?>" <?php echo(($row->thumb_like_comm_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
615
- <?php
616
- }
617
- ?>
618
- </select>
619
- </td>
620
- </tr>
621
- <tr>
622
- <td class="spider_label"><label for="thumb_like_comm_shadow">Like , comment box
623
- shadow: </label></td>
624
- <td>
625
- <input type="text" name="thumb_like_comm_shadow" id="thumb_like_comm_shadow"
626
- value="<?php echo $row->thumb_like_comm_shadow; ?>"
627
- class="spider_box_input"/>
628
- <div class="spider_description">Use CSS type values.</div>
629
- </td>
630
- </tr>
631
- </tbody>
632
- </table>
633
- </fieldset>
634
-
635
- </fieldset>
636
- <fieldset class="spider_type_fieldset" id="Masonry">
637
- <fieldset class="spider_child_fieldset" id="Masonry_1">
638
- <table style="clear:both;">
639
- <tbody>
640
- <tr>
641
- <td class="spider_label"><label for="masonry_thumb_padding">Padding: </label></td>
642
- <td>
643
- <input type="text" name="masonry_thumb_padding" id="masonry_thumb_padding"
644
- value="<?php echo $row->masonry_thumb_padding; ?>" class="spider_int_input"
645
- onkeypress="return spider_check_isnum(event)"/> px
646
- </td>
647
- </tr>
648
- <tr>
649
- <td class="spider_label"><label for="masonry_thumb_border_width">Border width: </label>
650
- </td>
651
- <td>
652
- <input type="text" name="masonry_thumb_border_width" id="masonry_thumb_border_width"
653
- value="<?php echo $row->masonry_thumb_border_width; ?>"
654
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
655
- </td>
656
- </tr>
657
- <tr>
658
- <td class="spider_label"><label for="masonry_thumb_border_style">Border style: </label>
659
- </td>
660
- <td>
661
- <select name="masonry_thumb_border_style" id="masonry_thumb_border_style">
662
- <?php
663
- foreach ($border_styles as $key => $border_style) {
664
- ?>
665
- <option
666
- value="<?php echo $key; ?>" <?php echo(($row->masonry_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
667
- <?php
668
- }
669
- ?>
670
- </select>
671
- </td>
672
- </tr>
673
- <tr>
674
- <td class="spider_label"><label for="masonry_thumb_border_color">Border color: </label>
675
- </td>
676
- <td>
677
- <input type="text" name="masonry_thumb_border_color" id="masonry_thumb_border_color"
678
- value="<?php echo $row->masonry_thumb_border_color; ?>" class="color"/>
679
- </td>
680
- </tr>
681
- <tr>
682
- <td class="spider_label"><label for="masonry_thumb_border_radius">Border
683
- radius: </label></td>
684
- <td>
685
- <input type="text" name="masonry_thumb_border_radius"
686
- id="masonry_thumb_border_radius"
687
- value="<?php echo $row->masonry_thumb_border_radius; ?>"
688
- class="spider_char_input"/>
689
- <div class="spider_description">Use CSS type values.</div>
690
- </td>
691
- </tr>
692
- </tbody>
693
- </table>
694
- </fieldset>
695
- <fieldset class="spider_child_fieldset" id="Masonry_2">
696
- <table style="clear:both;">
697
- <tbody>
698
- <tr>
699
- <td class="spider_label"><label for="masonry_thumb_transparent">Transparency: </label>
700
- </td>
701
- <td>
702
- <input type="text" name="masonry_thumb_transparent" id="masonry_thumb_transparent"
703
- value="<?php echo $row->masonry_thumb_transparent; ?>"
704
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
705
- <div class="spider_description">Value must be between 0 to 100.</div>
706
- </td>
707
- </tr>
708
- <tr>
709
- <td class="spider_label"><label for="masonry_thumbs_bg_color">Background color: </label>
710
- </td>
711
- <td>
712
- <input type="text" name="masonry_thumbs_bg_color" id="masonry_thumbs_bg_color"
713
- value="<?php echo $row->masonry_thumbs_bg_color; ?>" class="color"/>
714
- </td>
715
- </tr>
716
- <tr>
717
- <td class="spider_label"><label for="masonry_thumb_bg_transparent">Background
718
- transparency: </label></td>
719
- <td>
720
- <input type="text" name="masonry_thumb_bg_transparent"
721
- id="masonry_thumb_bg_transparent"
722
- value="<?php echo $row->masonry_thumb_bg_transparent; ?>"
723
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
724
- <div class="spider_description">Value must be between 0 to 100.</div>
725
- </td>
726
- </tr>
727
- <tr>
728
- <td class="spider_label"><label for="masonry_thumb_align0">Alignment: </label></td>
729
- <td>
730
- <select name="masonry_thumb_align" id="masonry_thumb_align">
731
- <?php
732
- foreach ($aligns as $key => $align) {
733
- ?>
734
- <option
735
- value="<?php echo $key; ?>" <?php echo(($row->masonry_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
736
- <?php
737
- }
738
- ?>
739
- </select>
740
- </td>
741
- </tr>
742
- </tbody>
743
- </table>
744
- </fieldset>
745
- <fieldset class="spider_child_fieldset" id="Masonry_3">
746
- <table style="clear:both;">
747
- <tbody>
748
- <tr>
749
- <td class="spider_label"><label for="masonry_thumb_hover_effect">Hover effect: </label>
750
- </td>
751
- <td>
752
- <select name="masonry_thumb_hover_effect" id="masonry_thumb_hover_effect"
753
- class="spider_int_input">
754
- <?php
755
- foreach ($hover_effects as $key => $hover_effect) {
756
- ?>
757
- <option
758
- value="<?php echo $key; ?>" <?php echo(($row->masonry_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo $hover_effect; ?></option>
759
- <?php
760
- }
761
- ?>
762
- </select>
763
- </td>
764
- </tr>
765
- <tr>
766
- <td class="spider_label"><label for="masonry_thumb_hover_effect_value">Hover effect
767
- value: </label></td>
768
- <td>
769
- <input type="text" name="masonry_thumb_hover_effect_value"
770
- id="masonry_thumb_hover_effect_value"
771
- value="<?php echo $row->masonry_thumb_hover_effect_value; ?>"
772
- class="spider_char_input"/>
773
- <div class="spider_description">E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.</div>
774
- </td>
775
- </tr>
776
- <tr>
777
- <td class="spider_label"><label>Transition: </label></td>
778
- <td id="masonry_thumb_transition">
779
- <input type="radio" name="masonry_thumb_transition" id="masonry_thumb_transition1"
780
- value="1"<?php if ($row->masonry_thumb_transition == 1) echo 'checked="checked"'; ?> />
781
- <label for="masonry_thumb_transition1"
782
- id="masonry_thumb_transition1_lbl">Yes</label>
783
- <input type="radio" name="masonry_thumb_transition" id="masonry_thumb_transition0"
784
- value="0"<?php if ($row->masonry_thumb_transition == 0) echo 'checked="checked"'; ?> />
785
- <label for="masonry_thumb_transition0" id="masonry_thumb_transition0_lbl">No</label>
786
- </td>
787
- </tr>
788
- <tr>
789
- <td class="spider_label"><label for="masonry_description_font_size">Description font
790
- size: </label></td>
791
- <td>
792
- <input type="text" name="masonry_description_font_size"
793
- id="masonry_description_font_size"
794
- value="<?php echo $row->masonry_description_font_size; ?>"
795
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
796
- </td>
797
- </tr>
798
- <tr>
799
- <td class="spider_label"><label for="masonry_description_color">Description font
800
- color: </label></td>
801
- <td>
802
- <input type="text" name="masonry_description_color" id="masonry_description_color"
803
- value="<?php echo $row->masonry_description_color; ?>" class="color"/>
804
- </td>
805
- </tr>
806
- <tr>
807
- <td class="spider_label"><label for="masonry_description_font_style">Description font
808
- family: </label></td>
809
- <td>
810
- <select name="masonry_description_font_style" id="masonry_description_font_style">
811
- <?php
812
- foreach ($font_families as $key => $font_family) {
813
- ?>
814
- <option
815
- value="<?php echo $key; ?>" <?php echo(($row->masonry_description_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
816
- <?php
817
- }
818
- ?>
819
- </select>
820
- </td>
821
- </tr>
822
- </tbody>
823
- </table>
824
- </fieldset>
825
- <fieldset class="spider_child_fieldset" id="Masonry_4">
826
- <table style="clear:both;">
827
- <tbody>
828
- <tr>
829
- <td class="spider_label"><label>Like , comment position: </label></td>
830
- <td>
831
- <input type="radio" name="masonry_like_comm_pos" id="masonry_like_comm_pos1"
832
- value="top" <?php if ($row->masonry_like_comm_pos == "top") echo 'checked="checked"'; ?> />
833
- <label for="masonry_like_comm_pos1" id="masonry_like_comm_pos1_lbl">Top</label>
834
- <input type="radio" name="masonry_like_comm_pos" id="masonry_like_comm_pos0"
835
- value="bottom" <?php if ($row->masonry_like_comm_pos == "bottom") echo 'checked="checked"'; ?> />
836
- <label for="masonry_like_comm_pos0" id="masonry_like_comm_pos0_lbl">Bottom</label>
837
- </td>
838
- </tr>
839
- <!-- <tr>
840
- <td class="spider_label"><label for="masonry_like_comm_c_bg_color">Like , comment count background color: </label></td>
841
- <td>
842
- <input type="text" name="masonry_like_comm_c_bg_color" id="masonry_like_comm_c_bg_color" value="" class="color" />
843
- </td> -->
844
- </tr>
845
- <tr>
846
- <td class="spider_label"><label for="masonry_like_comm_font_size">Like , comment font
847
- size: </label></td>
848
- <td>
849
- <input type="text" name="masonry_like_comm_font_size"
850
- id="masonry_like_comm_font_size"
851
- value="<?php echo $row->masonry_like_comm_font_size; ?>"
852
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
853
- </td>
854
- </tr>
855
- <tr>
856
- <td class="spider_label"><label for="masonry_like_comm_font_color">Like , comment font
857
- color: </label></td>
858
- <td>
859
- <input type="text" name="masonry_like_comm_font_color"
860
- id="masonry_like_comm_font_color"
861
- value="<?php echo $row->masonry_like_comm_font_color; ?>" class="color"/>
862
- </td>
863
- </tr>
864
- <tr>
865
- <td class="spider_label"><label for="masonry_like_comm_font_style">Like , comment font
866
- family: </label></td>
867
- <td>
868
- <select name="masonry_like_comm_font_style" id="masonry_like_comm_font_style">
869
- <?php
870
- foreach ($font_families as $key => $font_family) {
871
- ?>
872
- <option
873
- value="<?php echo $key; ?>" <?php echo(($row->masonry_like_comm_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
874
- <?php
875
- }
876
- ?>
877
- </select>
878
- </td>
879
- </tr>
880
- <tr>
881
- <td class="spider_label"><label for="masonry_like_comm_font_weight">Like , comment font
882
- weight: </label></td>
883
- <td>
884
- <select name="masonry_like_comm_font_weight" id="masonry_like_comm_font_weight">
885
- <?php
886
- foreach ($font_weights as $key => $font_weight) {
887
- ?>
888
- <option
889
- value="<?php echo $key; ?>" <?php echo(($row->masonry_like_comm_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
890
- <?php
891
- }
892
- ?>
893
- </select>
894
- </td>
895
- </tr>
896
- <tr>
897
- <td class="spider_label"><label for="masonry_like_comm_shadow">Like , comment box
898
- shadow: </label></td>
899
- <td>
900
- <input type="text" name="masonry_like_comm_shadow" id="masonry_like_comm_shadow"
901
- value="<?php echo $row->masonry_like_comm_shadow; ?>"
902
- class="spider_box_input"/>
903
- <div class="spider_description">Use CSS type values.</div>
904
- </td>
905
- </tr>
906
- </tbody>
907
- </table>
908
- </fieldset>
909
- </fieldset>
910
-
911
- <fieldset class="spider_type_fieldset" id="Compact_album">
912
- <fieldset class="spider_child_fieldset" id="Compact_album_1">
913
- <table style="clear:both;">
914
- <tbody>
915
- <tr>
916
- <td class="spider_label"><label for="album_compact_thumb_padding">Padding: </label></td>
917
- <td>
918
- <input type="text" name="album_compact_thumb_padding"
919
- id="album_compact_thumb_padding"
920
- value="<?php echo $row->album_compact_thumb_padding; ?>"
921
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
922
- <div class="spider_description">Use CSS type values.</div>
923
- </td>
924
- </tr>
925
- <tr>
926
- <td class="spider_label"><label for="album_compact_thumb_margin">Margin: </label></td>
927
- <td>
928
- <input type="text" name="album_compact_thumb_margin" id="album_compact_thumb_margin"
929
- value="<?php echo $row->album_compact_thumb_margin; ?>"
930
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
931
- <div class="spider_description">Use CSS type values.</div>
932
- </td>
933
- </tr>
934
- <tr>
935
- <td class="spider_label"><label for="album_compact_thumb_border_width">Border
936
- width: </label></td>
937
- <td>
938
- <input type="text" name="album_compact_thumb_border_width"
939
- id="album_compact_thumb_border_width"
940
- value="<?php echo $row->album_compact_thumb_border_width; ?>"
941
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
942
- </td>
943
- </tr>
944
- <tr>
945
- <td class="spider_label"><label for="album_compact_thumb_border_style">Border
946
- style: </label></td>
947
- <td>
948
- <select name="album_compact_thumb_border_style"
949
- id="album_compact_thumb_border_style">
950
- <?php
951
- foreach ($border_styles as $key => $border_style) {
952
- ?>
953
- <option
954
- value="<?php echo $key; ?>" <?php echo(($row->album_compact_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
955
- <?php
956
- }
957
- ?>
958
- </select>
959
- </td>
960
- </tr>
961
- <tr>
962
- <td class="spider_label"><label for="album_compact_thumb_border_color">Border
963
- color: </label></td>
964
- <td>
965
- <input type="text" name="album_compact_thumb_border_color"
966
- id="album_compact_thumb_border_color"
967
- value="<?php echo $row->album_compact_thumb_border_color; ?>" class="color"/>
968
- </td>
969
- </tr>
970
- <tr>
971
- <td class="spider_label"><label for="album_compact_thumb_border_radius">Border
972
- radius: </label></td>
973
- <td>
974
- <input type="text" name="album_compact_thumb_border_radius"
975
- id="album_compact_thumb_border_radius"
976
- value="<?php echo $row->album_compact_thumb_border_radius; ?>"
977
- class="spider_char_input"/>
978
- <div class="spider_description">Use CSS type values.</div>
979
- </td>
980
- </tr>
981
- <tr>
982
- <td class="spider_label"><label for="album_compact_thumb_box_shadow">Shadow: </label>
983
- </td>
984
- <td>
985
- <input type="text" name="album_compact_thumb_box_shadow"
986
- id="album_compact_thumb_box_shadow"
987
- value="<?php echo $row->album_compact_thumb_box_shadow; ?>"
988
- class="spider_box_input"/>
989
- <div class="spider_description">Use CSS type values.</div>
990
- </td>
991
- </tr>
992
- <tr>
993
- <td class="spider_label"><label for="album_compact_thumb_hover_effect">Hover
994
- effect: </label></td>
995
- <td>
996
- <select name="album_compact_thumb_hover_effect"
997
- id="album_compact_thumb_hover_effect">
998
- <?php
999
- foreach ($hover_effects as $key => $hover_effect) {
1000
- ?>
1001
- <option
1002
- value="<?php echo $key; ?>" <?php echo(($row->album_compact_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo $hover_effect; ?></option>
1003
- <?php
1004
- }
1005
- ?>
1006
- </select>
1007
- </td>
1008
- </tr>
1009
- <tr>
1010
- <td class="spider_label"><label for="album_compact_thumb_hover_effect_value">Hover
1011
- effect value: </label></td>
1012
- <td>
1013
- <input type="text" name="album_compact_thumb_hover_effect_value"
1014
- id="album_compact_thumb_hover_effect_value"
1015
- value="<?php echo $row->album_compact_thumb_hover_effect_value; ?>"
1016
- class="spider_char_input"/>
1017
- <div class="spider_description">E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.</div>
1018
- </td>
1019
- </tr>
1020
- <tr>
1021
- <td class="spider_label"><label>Thumbnail transition: </label></td>
1022
- <td id="album_compact_thumb_transition">
1023
- <input type="radio" name="album_compact_thumb_transition"
1024
- id="album_compact_thumb_transition1"
1025
- value="1"<?php if ($row->album_compact_thumb_transition == 1) echo 'checked="checked"'; ?> />
1026
- <label for="album_compact_thumb_transition1"
1027
- id="album_compact_thumb_transition1_lbl">Yes</label>
1028
- <input type="radio" name="album_compact_thumb_transition"
1029
- id="album_compact_thumb_transition0"
1030
- value="0"<?php if ($row->album_compact_thumb_transition == 0) echo 'checked="checked"'; ?> />
1031
- <label for="album_compact_thumb_transition0"
1032
- id="album_compact_thumb_transition0_lbl">No</label>
1033
- </td>
1034
- </tr>
1035
- </tbody>
1036
- </table>
1037
- </fieldset>
1038
- <fieldset class="spider_child_fieldset" id="Compact_album_2">
1039
- <table style="clear:both;">
1040
- <tbody>
1041
- <tr>
1042
- <td class="spider_label"><label for="album_compact_thumb_bg_color">Thumbnail background
1043
- color: </label></td>
1044
- <td>
1045
- <input type="text" name="album_compact_thumb_bg_color"
1046
- id="album_compact_thumb_bg_color"
1047
- value="<?php echo $row->album_compact_thumb_bg_color; ?>" class="color"/>
1048
- </td>
1049
- </tr>
1050
- <tr>
1051
- <td class="spider_label"><label for="album_compact_thumb_transparent">Thumbnail
1052
- transparency: </label></td>
1053
- <td>
1054
- <input type="text" name="album_compact_thumb_transparent"
1055
- id="album_compact_thumb_transparent"
1056
- value="<?php echo $row->album_compact_thumb_transparent; ?>"
1057
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
1058
- <div class="spider_description">Value must be between 0 to 100.</div>
1059
- </td>
1060
- </tr>
1061
- <tr>
1062
- <td class="spider_label"><label for="album_compact_thumbs_bg_color">Full background
1063
- color: </label></td>
1064
- <td>
1065
- <input type="text" name="album_compact_thumbs_bg_color"
1066
- id="album_compact_thumbs_bg_color"
1067
- value="<?php echo $row->album_compact_thumbs_bg_color; ?>" class="color"/>
1068
- </td>
1069
- </tr>
1070
- <tr>
1071
- <td class="spider_label"><label for="album_compact_thumb_bg_transparent">Full background
1072
- transparency: </label></td>
1073
- <td>
1074
- <input type="text" name="album_compact_thumb_bg_transparent"
1075
- id="album_compact_thumb_bg_transparent"
1076
- value="<?php echo $row->album_compact_thumb_bg_transparent; ?>"
1077
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
1078
- <div class="spider_description">Value must be between 0 to 100.</div>
1079
- </td>
1080
- </tr>
1081
- <tr>
1082
- <td class="spider_label"><label for="album_compact_thumb_align0">Alignment: </label>
1083
- </td>
1084
- <td>
1085
- <select name="album_compact_thumb_align" id="album_compact_thumb_align">
1086
- <?php
1087
- foreach ($aligns as $key => $align) {
1088
- ?>
1089
- <option
1090
- value="<?php echo $key; ?>" <?php echo(($row->album_compact_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
1091
- <?php
1092
- }
1093
- ?>
1094
- </select>
1095
- </td>
1096
- </tr>
1097
- </tbody>
1098
- </table>
1099
- </fieldset>
1100
- <fieldset class="spider_child_fieldset" id="Compact_album_3">
1101
- <table style="clear:both;">
1102
- <tbody>
1103
- <tr>
1104
- <td class="spider_label"><label>Title position: </label></td>
1105
- <td>
1106
- <input type="radio" name="album_compact_thumb_title_pos"
1107
- id="album_compact_thumb_title_pos1"
1108
- value="top" <?php if ($row->album_compact_thumb_title_pos == "top") echo 'checked="checked"'; ?> />
1109
- <label for="album_compact_thumb_title_pos1" id="album_compact_thumb_title_pos1_lbl">Top</label>
1110
- <input type="radio" name="album_compact_thumb_title_pos"
1111
- id="album_compact_thumb_title_pos0"
1112
- value="bottom" <?php if ($row->album_compact_thumb_title_pos == "bottom") echo 'checked="checked"'; ?> />
1113
- <label for="album_compact_thumb_title_pos0" id="album_compact_thumb_title_pos0_lbl">Bottom</label>
1114
- </td>
1115
- </tr>
1116
- <tr>
1117
- <td class="spider_label"><label for="album_compact_title_font_size">Title font
1118
- size: </label></td>
1119
- <td>
1120
- <input type="text" name="album_compact_title_font_size"
1121
- id="album_compact_title_font_size"
1122
- value="<?php echo $row->album_compact_title_font_size; ?>"
1123
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1124
- </td>
1125
- </tr>
1126
- <tr>
1127
- <td class="spider_label"><label for="album_compact_title_font_color">Title font
1128
- color: </label></td>
1129
- <td>
1130
- <input type="text" name="album_compact_title_font_color"
1131
- id="album_compact_title_font_color"
1132
- value="<?php echo $row->album_compact_title_font_color; ?>" class="color"/>
1133
- </td>
1134
- </tr>
1135
- <tr>
1136
- <td class="spider_label"><label for="album_compact_title_font_style">Title font
1137
- family: </label></td>
1138
- <td>
1139
- <select name="album_compact_title_font_style" id="album_compact_title_font_style">
1140
- <?php
1141
- foreach ($font_families as $key => $font_family) {
1142
- ?>
1143
- <option
1144
- value="<?php echo $key; ?>" <?php echo(($row->album_compact_title_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
1145
- <?php
1146
- }
1147
- ?>
1148
- </select>
1149
- </td>
1150
- </tr>
1151
- <tr>
1152
- <td class="spider_label"><label for="album_compact_title_font_weight">Title font
1153
- weight: </label></td>
1154
- <td>
1155
- <select name="album_compact_title_font_weight" id="album_compact_title_font_weight">
1156
- <?php
1157
- foreach ($font_weights as $key => $font_weight) {
1158
- ?>
1159
- <option
1160
- value="<?php echo $key; ?>" <?php echo(($row->album_compact_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1161
- <?php
1162
- }
1163
- ?>
1164
- </select>
1165
- </td>
1166
- </tr>
1167
- <tr>
1168
- <td class="spider_label"><label for="album_compact_title_shadow">Title box
1169
- shadow: </label></td>
1170
- <td>
1171
- <input type="text" name="album_compact_title_shadow" id="album_compact_title_shadow"
1172
- value="<?php echo $row->album_compact_title_shadow; ?>"
1173
- class="spider_box_input"/>
1174
- <div class="spider_description">Use CSS type values.</div>
1175
- </td>
1176
- </tr>
1177
- <tr>
1178
- <td class="spider_label"><label for="album_compact_title_margin">Title margin: </label>
1179
- </td>
1180
- <td>
1181
- <input type="text" name="album_compact_title_margin" id="album_compact_title_margin"
1182
- value="<?php echo $row->album_compact_title_margin; ?>"
1183
- class="spider_char_input"/>
1184
- <div class="spider_description">Use CSS type values.</div>
1185
- </td>
1186
- </tr>
1187
- <tr>
1188
- <td class="spider_label"><label for="album_compact_back_font_size">Back button Font
1189
- size: </label></td>
1190
- <td>
1191
- <input type="text" name="album_compact_back_font_size"
1192
- id="album_compact_back_font_size"
1193
- value="<?php echo $row->album_compact_back_font_size; ?>"
1194
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1195
- </td>
1196
- </tr>
1197
- <tr>
1198
- <td class="spider_label"><label for="album_compact_back_font_color">Back button Font
1199
- color: </label></td>
1200
- <td>
1201
- <input type="text" name="album_compact_back_font_color"
1202
- id="album_compact_back_font_color"
1203
- value="<?php echo $row->album_compact_back_font_color; ?>" class="color"/>
1204
- </td>
1205
- </tr>
1206
- <tr>
1207
- <td class="spider_label"><label for="album_compact_back_font_style">Back button Font
1208
- family: </label></td>
1209
- <td>
1210
- <select name="album_compact_back_font_style" id="album_compact_back_font_style">
1211
- <?php
1212
- foreach ($font_families as $key => $font_family) {
1213
- ?>
1214
- <option
1215
- value="<?php echo $key; ?>" <?php echo(($row->album_compact_back_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
1216
- <?php
1217
- }
1218
- ?>
1219
- </select>
1220
- </td>
1221
- </tr>
1222
- <tr>
1223
- <td class="spider_label"><label for="album_compact_back_font_weight">Back button Font
1224
- weight: </label></td>
1225
- <td>
1226
- <select name="album_compact_back_font_weight" id="album_compact_back_font_weight">
1227
- <?php
1228
- foreach ($font_weights as $key => $font_weight) {
1229
- ?>
1230
- <option
1231
- value="<?php echo $key; ?>" <?php echo(($row->album_compact_back_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1232
- <?php
1233
- }
1234
- ?>
1235
- </select>
1236
- </td>
1237
- </tr>
1238
- <tr>
1239
- <td class="spider_label"><label for="album_compact_back_padding">Back button
1240
- padding: </label></td>
1241
- <td>
1242
- <input type="text" name="album_compact_back_padding" id="album_compact_back_padding"
1243
- value="<?php echo $row->album_compact_back_padding; ?>"
1244
- class="spider_char_input"/>
1245
- <div class="spider_description">Use CSS type values.</div>
1246
- </td>
1247
- </tr>
1248
- </tbody>
1249
- </table>
1250
- </fieldset>
1251
- </fieldset>
1252
-
1253
- <fieldset class="spider_type_fieldset" id="Blog_style">
1254
- <fieldset class="spider_child_fieldset" id="Blog_style_1">
1255
- <table style="clear:both;">
1256
- <tbody>
1257
- <tr>
1258
- <td class="spider_label"><label for="blog_style_align">Alignment: </label></td>
1259
- <td>
1260
- <select name="blog_style_align" id="blog_style_align">
1261
- <?php
1262
- foreach ($aligns as $key => $align) {
1263
- ?>
1264
- <option
1265
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
1266
- <?php
1267
- }
1268
- ?>
1269
- </select>
1270
- </td>
1271
- </tr>
1272
- <tr>
1273
- <td class="spider_label"><label for="blog_style_bg_color">Background color: </label>
1274
- </td>
1275
- <td>
1276
- <input type="text" name="blog_style_bg_color" id="blog_style_bg_color"
1277
- value="<?php echo $row->blog_style_bg_color; ?>" class="color"/>
1278
- </td>
1279
- </tr>
1280
- <tr>
1281
- <td class="spider_label"><label for="blog_style_transparent">Background
1282
- transparency: </label></td>
1283
- <td>
1284
- <input type="text" name="blog_style_transparent" id="blog_style_transparent"
1285
- value="<?php echo $row->blog_style_transparent; ?>" class="spider_int_input"
1286
- onkeypress="return spider_check_isnum(event)"/> %
1287
- <div class="spider_description">Value must be between 0 to 100.</div>
1288
- </td>
1289
- </tr>
1290
-
1291
- <tr>
1292
- <td class="spider_label"><label for="blog_style_fd_name_bg_color">Feed name background
1293
- color: </label></td>
1294
- <td>
1295
- <input type="text" name="blog_style_fd_name_bg_color"
1296
- id="blog_style_fd_name_bg_color"
1297
- value="<?php echo $row->blog_style_fd_name_bg_color; ?>" class="color"/>
1298
- </td>
1299
- </tr>
1300
- <tr>
1301
- <td class="spider_label"><label for="blog_style_fd_name_align">Feed name
1302
- alignment: </label></td>
1303
- <td>
1304
- <select name="blog_style_fd_name_align" id="blog_style_fd_name_align">
1305
- <?php
1306
- foreach ($aligns as $key => $align) {
1307
- ?>
1308
- <option
1309
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_fd_name_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
1310
- <?php
1311
- }
1312
- ?>
1313
- </select>
1314
- </td>
1315
- </tr>
1316
- <tr>
1317
- <td class="spider_label"><label for="blog_style_fd_name_padding">Feed name
1318
- padding: </label></td>
1319
- <td>
1320
- <input type="text" name="blog_style_fd_name_padding" id="blog_style_fd_name_padding"
1321
- value="<?php echo $row->blog_style_fd_name_padding; ?>"
1322
- class="spider_char_input"/>
1323
- <div class="blog_style_fd_name_padding">Use CSS type values.</div>
1324
- </td>
1325
- </tr>
1326
-
1327
- <tr>
1328
- <td class="spider_label"><label for="blog_style_fd_name_color">Feed name color: </label>
1329
- </td>
1330
- <td>
1331
- <input type="text" name="blog_style_fd_name_color" id="blog_style_fd_name_color"
1332
- value="<?php echo $row->blog_style_fd_name_color; ?>" class="color"/>
1333
- </td>
1334
- </tr>
1335
- <tr>
1336
- <td class="spider_label"><label for="blog_style_fd_name_size">Feed name font
1337
- size: </label></td>
1338
- <td>
1339
- <input type="text" name="blog_style_fd_name_size" id="blog_style_fd_name_size"
1340
- value="<?php echo $row->blog_style_fd_name_size; ?>" class="spider_int_input"
1341
- onkeypress="return spider_check_isnum(event)"/> px
1342
- </td>
1343
- </tr>
1344
- <tr>
1345
- <td class="spider_label"><label for="blog_style_fd_name_font_weight">Feed name font
1346
- weight: </label></td>
1347
- <td>
1348
- <select name="blog_style_fd_name_font_weight" id="blog_style_fd_name_font_weight">
1349
- <?php
1350
- foreach ($font_weights as $key => $font_weight) {
1351
- ?>
1352
- <option
1353
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_fd_name_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1354
- <?php
1355
- }
1356
- ?>
1357
- </select>
1358
- </td>
1359
- </tr>
1360
-
1361
-
1362
- <tr>
1363
- <td class="spider_label"><label for="blog_style_obj_img_align">Image(video)
1364
- alignment: </label></td>
1365
- <td>
1366
- <select name="blog_style_obj_img_align" id="blog_style_obj_img_align">
1367
- <?php
1368
- foreach ($aligns as $key => $align) {
1369
- ?>
1370
- <option
1371
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_img_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
1372
- <?php
1373
- }
1374
- ?>
1375
- </select>
1376
- </td>
1377
- </tr>
1378
- <tr>
1379
- <td class="spider_label"><label for="blog_style_margin">Margin: </label></td>
1380
- <td>
1381
- <input type="text" name="blog_style_margin" id="blog_style_margin"
1382
- value="<?php echo $row->blog_style_margin; ?>" class="spider_char_input"/>
1383
- <div class="spider_description">Use CSS type values.</div>
1384
- </td>
1385
- </tr>
1386
- <tr>
1387
- <td class="spider_label"><label for="blog_style_box_shadow">Box shadow: </label></td>
1388
- <td>
1389
- <input type="text" name="blog_style_box_shadow" id="blog_style_box_shadow"
1390
- value="<?php echo $row->blog_style_box_shadow; ?>" class="spider_box_input"/>
1391
- <div class="spider_description">Use CSS type values.</div>
1392
- </td>
1393
- </tr>
1394
- <tr>
1395
- <td class="spider_label"><label for="blog_style_border_width">Border width: </label>
1396
- </td>
1397
- <td>
1398
- <input type="text" name="blog_style_border_width" id="blog_style_border_width"
1399
- value="<?php echo $row->blog_style_border_width; ?>" class="spider_int_input"
1400
- onkeypress="return spider_check_isnum(event)"/> px
1401
- </td>
1402
- </tr>
1403
- <tr>
1404
- <td class="spider_label"><label for="blog_style_border_style">Border style: </label>
1405
- </td>
1406
- <td>
1407
- <select name="blog_style_border_style" id="blog_style_border_style">
1408
- <?php
1409
- foreach ($border_styles as $key => $border_style) {
1410
- ?>
1411
- <option
1412
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
1413
- <?php
1414
- }
1415
- ?>
1416
- </select>
1417
- </td>
1418
- </tr>
1419
- <tr>
1420
- <td class="spider_label"><label for="blog_style_border_color">Border color: </label>
1421
- </td>
1422
- <td>
1423
- <input type="text" name="blog_style_border_color" id="blog_style_border_color"
1424
- value="<?php echo $row->blog_style_border_color; ?>" class="color"/>
1425
- </td>
1426
- </tr>
1427
- <tr>
1428
- <td class="spider_label"><label for="blog_style_border_type">Border type: </label></td>
1429
- <td>
1430
- <select name="blog_style_border_type" id="blog_style_border_type">
1431
- <option
1432
- value="all" <?php echo(($row->blog_style_border_type == "all") ? 'selected="selected"' : ''); ?>>
1433
- All
1434
- </option>
1435
- <option
1436
- value="top" <?php echo(($row->blog_style_border_type == "top") ? 'selected="selected"' : ''); ?>>
1437
- Top
1438
- </option>
1439
- <option
1440
- value="right" <?php echo(($row->blog_style_border_type == "right") ? 'selected="selected"' : ''); ?>>
1441
- Right
1442
- </option>
1443
- <option
1444
- value="bottom" <?php echo(($row->blog_style_border_type == "bottom") ? 'selected="selected"' : ''); ?>>
1445
- Bottom
1446
- </option>
1447
- <option
1448
- value="left" <?php echo(($row->blog_style_border_type == "left") ? 'selected="selected"' : ''); ?>>
1449
- Left
1450
- </option>
1451
- </select>
1452
- </td>
1453
- </tr>
1454
- <tr>
1455
- <td class="spider_label"><label for="blog_style_border_radius">Border radius: </label>
1456
- </td>
1457
- <td>
1458
- <input type="text" name="blog_style_border_radius" id="blog_style_border_radius"
1459
- value="<?php echo $row->blog_style_border_radius; ?>"
1460
- class="spider_char_input"/>
1461
- <div class="spider_description">Use CSS type values.</div>
1462
- </td>
1463
- </tr>
1464
- <tr>
1465
- <td class="spider_label"><label for="blog_style_obj_icons_color">Icons color: </label>
1466
- </td>
1467
- <td>
1468
- <select name="blog_style_obj_icons_color" id="blog_style_obj_icons_color">
1469
- <option
1470
- value="gray" <?php echo(($row->blog_style_obj_icons_color == "gray") ? 'selected="selected"' : ''); ?>>
1471
- Gray
1472
- </option>
1473
- <option
1474
- value="white" <?php echo(($row->blog_style_obj_icons_color == "white") ? 'selected="selected"' : ''); ?>>
1475
- White
1476
- </option>
1477
- <option
1478
- value="blue" <?php echo(($row->blog_style_obj_icons_color == "blue") ? 'selected="selected"' : ''); ?>>
1479
- Blue
1480
- </option>
1481
- </select>
1482
- </td>
1483
- </tr>
1484
- <tr>
1485
- <td class="spider_label"><label for="blog_style_obj_date_pos">Date position: </label>
1486
- </td>
1487
- <td>
1488
- <select name="blog_style_obj_date_pos" id="blog_style_obj_date_pos">
1489
- <option
1490
- value="before" <?php echo(($row->blog_style_obj_date_pos == "before") ? 'selected="selected"' : ''); ?>>
1491
- Before post author
1492
- </option>
1493
- <option
1494
- value="after" <?php echo(($row->blog_style_obj_date_pos == "after") ? 'selected="selected"' : ''); ?>>
1495
- After post author
1496
- </option>
1497
- <option
1498
- value="bottom" <?php echo(($row->blog_style_obj_date_pos == "bottom") ? 'selected="selected"' : ''); ?>>
1499
- At the bottom of the post
1500
- </option>
1501
- </select>
1502
- </td>
1503
- </tr>
1504
- <tr>
1505
- <td class="spider_label"><label for="blog_style_obj_font_family">Font family: </label>
1506
- </td>
1507
- <td>
1508
- <select name="blog_style_obj_font_family" id="blog_style_obj_font_family">
1509
- <?php
1510
- foreach ($font_families as $key => $font_family) {
1511
- ?>
1512
- <option
1513
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
1514
- <?php
1515
- }
1516
- ?>
1517
- </select>
1518
- </td>
1519
- </tr>
1520
- </tbody>
1521
- </table>
1522
- </fieldset>
1523
- <fieldset class="spider_child_fieldset" id="Blog_style_2">
1524
- <table style="clear:both;">
1525
- <tbody>
1526
- <tr>
1527
- <td class="spider_label"><label for="blog_style_obj_info_bg_color">Info background
1528
- color: </label></td>
1529
- <td>
1530
- <input type="text" name="blog_style_obj_info_bg_color"
1531
- id="blog_style_obj_info_bg_color"
1532
- value="<?php echo $row->blog_style_obj_info_bg_color; ?>" class="color"/>
1533
- </td>
1534
- </tr>
1535
- <tr>
1536
- <td class="spider_label"><label for="blog_style_page_name_color">Page(group, profile)
1537
- name color: </label></td>
1538
- <td>
1539
- <input type="text" name="blog_style_page_name_color" id="blog_style_page_name_color"
1540
- value="<?php echo $row->blog_style_page_name_color; ?>" class="color"/>
1541
- </td>
1542
- </tr>
1543
- <tr>
1544
- <td class="spider_label"><label for="blog_style_obj_page_name_size">Page(group, profile)
1545
- name font size: </label></td>
1546
- <td>
1547
- <input type="text" name="blog_style_obj_page_name_size"
1548
- id="blog_style_obj_page_name_size"
1549
- value="<?php echo $row->blog_style_obj_page_name_size; ?>"
1550
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1551
- </td>
1552
- </tr>
1553
- <tr>
1554
- <td class="spider_label"><label for="blog_style_obj_page_name_font_weight">Page(group,
1555
- profile) name font weight: </label></td>
1556
- <td>
1557
- <select name="blog_style_obj_page_name_font_weight"
1558
- id="blog_style_obj_page_name_weight">
1559
- <?php
1560
- foreach ($font_weights as $key => $font_weight) {
1561
- ?>
1562
- <option
1563
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_page_name_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1564
- <?php
1565
- }
1566
- ?>
1567
- </select>
1568
- </td>
1569
- </tr>
1570
- <tr>
1571
- <td class="spider_label"><label for="blog_style_obj_story_color">Story color: </label>
1572
- </td>
1573
- <td>
1574
- <input type="text" name="blog_style_obj_story_color" id="blog_style_obj_story_color"
1575
- value="<?php echo $row->blog_style_obj_story_color; ?>" class="color"/>
1576
- </td>
1577
- </tr>
1578
- <tr>
1579
- <td class="spider_label"><label for="blog_style_obj_story_size">Story font
1580
- size: </label></td>
1581
- <td>
1582
- <input type="text" name="blog_style_obj_story_size" id="blog_style_obj_story_size"
1583
- value="<?php echo $row->blog_style_obj_story_size; ?>"
1584
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1585
- </td>
1586
- </tr>
1587
- <tr>
1588
- <td class="spider_label"><label for="blog_style_obj_story_font_weight">Story font
1589
- weight: </label></td>
1590
- <td>
1591
- <select name="blog_style_obj_story_font_weight"
1592
- id="blog_style_obj_story_font_weight">
1593
- <?php
1594
- foreach ($font_weights as $key => $font_weight) {
1595
- ?>
1596
- <option
1597
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_story_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1598
- <?php
1599
- }
1600
- ?>
1601
- </select>
1602
- </td>
1603
- </tr>
1604
- <tr>
1605
- <td class="spider_label"><label for="blog_style_obj_place_color">Place color: </label>
1606
- </td>
1607
- <td>
1608
- <input type="text" name="blog_style_obj_place_color" id="blog_style_obj_place_color"
1609
- value="<?php echo $row->blog_style_obj_place_color; ?>" class="color"/>
1610
- </td>
1611
- </tr>
1612
- <tr>
1613
- <td class="spider_label"><label for="blog_style_obj_place_size">Place font
1614
- size: </label></td>
1615
- <td>
1616
- <input type="text" name="blog_style_obj_place_size" id="blog_style_obj_place_size"
1617
- value="<?php echo $row->blog_style_obj_place_size; ?>"
1618
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1619
- </td>
1620
- </tr>
1621
- <tr>
1622
- <td class="spider_label"><label for="blog_style_obj_place_font_weight">Place font
1623
- weight: </label></td>
1624
- <td>
1625
- <select name="blog_style_obj_place_font_weight"
1626
- id="blog_style_obj_place_font_weight">
1627
- <?php
1628
- foreach ($font_weights as $key => $font_weight) {
1629
- ?>
1630
- <option
1631
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_place_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1632
- <?php
1633
- }
1634
- ?>
1635
- </select>
1636
- </td>
1637
- </tr>
1638
- <tr>
1639
- <td class="spider_label"><label for="blog_style_obj_name_color">Name color: </label>
1640
- </td>
1641
- <td>
1642
- <input type="text" name="blog_style_obj_name_color" id="blog_style_obj_name_color"
1643
- value="<?php echo $row->blog_style_obj_name_color; ?>" class="color"/>
1644
- </td>
1645
- </tr>
1646
- <tr>
1647
- <td class="spider_label"><label for="blog_style_obj_name_size">Name font size: </label>
1648
- </td>
1649
- <td>
1650
- <input type="text" name="blog_style_obj_name_size" id="blog_style_obj_name_size"
1651
- value="<?php echo $row->blog_style_obj_name_size; ?>"
1652
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1653
- </td>
1654
- </tr>
1655
- <tr>
1656
- <td class="spider_label"><label for="blog_style_obj_name_font_weight">Name font
1657
- weight: </label></td>
1658
- <td>
1659
- <select name="blog_style_obj_name_font_weight" id="blog_style_obj_name_font_weight">
1660
- <?php
1661
- foreach ($font_weights as $key => $font_weight) {
1662
- ?>
1663
- <option
1664
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_name_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1665
- <?php
1666
- }
1667
- ?>
1668
- </select>
1669
- </td>
1670
- </tr>
1671
- </tbody>
1672
- <tbody style="display: none;">
1673
- <tr>
1674
- <td class="spider_label"><label for="blog_style_evt_str_color">Event place(street)
1675
- color: </label></td>
1676
- <td>
1677
- <input type="text" name="blog_style_evt_str_color" id="blog_style_evt_str_color"
1678
- value="<?php echo $row->blog_style_evt_str_color; ?>" class="color"/>
1679
- </td>
1680
- </tr>
1681
- <tr>
1682
- <td class="spider_label"><label for="blog_style_evt_str_size">Event place(street) font
1683
- size: </label></td>
1684
- <td>
1685
- <input type="text" name="blog_style_evt_str_size" id="blog_style_evt_str_size"
1686
- value="<?php echo $row->blog_style_evt_str_size; ?>" class="spider_int_input"
1687
- onkeypress="return spider_check_isnum(event)"/> px
1688
- </td>
1689
- </tr>
1690
- <tr>
1691
- <td class="spider_label"><label for="blog_style_evt_str_font_weight">Event place(street)
1692
- font weight: </label></td>
1693
- <td>
1694
- <select name="blog_style_evt_str_font_weight" id="blog_style_evt_str_font_weight">
1695
- <?php
1696
- foreach ($font_weights as $key => $font_weight) {
1697
- ?>
1698
- <option
1699
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_evt_str_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1700
- <?php
1701
- }
1702
- ?>
1703
- </select>
1704
- </td>
1705
- </tr>
1706
- <tr>
1707
- <td class="spider_label"><label for="blog_style_evt_ctzpcn_color">Event place(city, zip,
1708
- country) color: </label></td>
1709
- <td>
1710
- <input type="text" name="blog_style_evt_ctzpcn_color"
1711
- id="blog_style_evt_ctzpcn_color"
1712
- value="<?php echo $row->blog_style_evt_ctzpcn_color; ?>" class="color"/>
1713
- </td>
1714
- </tr>
1715
- <tr>
1716
- <td class="spider_label"><label for="blog_style_evt_ctzpcn_size">Event place(city, zip,
1717
- country) font size: </label></td>
1718
- <td>
1719
- <input type="text" name="blog_style_evt_ctzpcn_size" id="blog_style_evt_ctzpcn_size"
1720
- value="<?php echo $row->blog_style_evt_ctzpcn_size; ?>"
1721
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1722
- </td>
1723
- </tr>
1724
- <tr>
1725
- <td class="spider_label"><label for="blog_style_evt_ctzpcn_font_weight">Event
1726
- place(city, zip, country) font weight: </label></td>
1727
- <td>
1728
- <select name="blog_style_evt_ctzpcn_font_weight"
1729
- id="blog_style_evt_ctzpcn_font_weight">
1730
- <?php
1731
- foreach ($font_weights as $key => $font_weight) {
1732
- ?>
1733
- <option
1734
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_evt_ctzpcn_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1735
- <?php
1736
- }
1737
- ?>
1738
- </select>
1739
- </td>
1740
- </tr>
1741
- <tr>
1742
- <td class="spider_label"><label for="blog_style_evt_map_color">Event place(map)
1743
- color: </label></td>
1744
- <td>
1745
- <input type="text" name="blog_style_evt_map_color" id="blog_style_evt_map_color"
1746
- value="<?php echo $row->blog_style_evt_map_color; ?>" class="color"/>
1747
- </td>
1748
- </tr>
1749
- <tr>
1750
- <td class="spider_label"><label for="blog_style_evt_map_size">Event place(map) font
1751
- size: </label></td>
1752
- <td>
1753
- <input type="text" name="blog_style_evt_map_size" id="blog_style_evt_map_size"
1754
- value="<?php echo $row->blog_style_evt_map_size; ?>" class="spider_int_input"
1755
- onkeypress="return spider_check_isnum(event)"/> px
1756
- </td>
1757
- </tr>
1758
- <tr>
1759
- <td class="spider_label"><label for="blog_style_evt_map_font_weight">Event place(map)
1760
- font weight: </label></td>
1761
- <td>
1762
- <select name="blog_style_evt_map_font_weight" id="blog_style_evt_map_font_weight">
1763
- <?php
1764
- foreach ($font_weights as $key => $font_weight) {
1765
- ?>
1766
- <option
1767
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_evt_map_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1768
- <?php
1769
- }
1770
- ?>
1771
- </select>
1772
- </td>
1773
- </tr>
1774
- <tr>
1775
- <td class="spider_label"><label for="blog_style_evt_date_color">Event date
1776
- color: </label></td>
1777
- <td>
1778
- <input type="text" name="blog_style_evt_date_color" id="blog_style_evt_date_color"
1779
- value="<?php echo $row->blog_style_evt_date_color; ?>" class="color"/>
1780
- </td>
1781
- </tr>
1782
- <tr>
1783
- <td class="spider_label"><label for="blog_style_evt_date_size">Event date font
1784
- size: </label></td>
1785
- <td>
1786
- <input type="text" name="blog_style_evt_date_size" id="blog_style_evt_date_size"
1787
- value="<?php echo $row->blog_style_evt_date_size; ?>"
1788
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1789
- </td>
1790
- </tr>
1791
- <tr>
1792
- <td class="spider_label"><label for="blog_style_evt_date_font_weight">Event date font
1793
- weight: </label></td>
1794
- <td>
1795
- <select name="blog_style_evt_date_font_weight" id="blog_style_evt_date_font_weight">
1796
- <?php
1797
- foreach ($font_weights as $key => $font_weight) {
1798
- ?>
1799
- <option
1800
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_evt_date_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1801
- <?php
1802
- }
1803
- ?>
1804
- </select>
1805
- </td>
1806
- </tr>
1807
- <tr>
1808
- <td class="spider_label"><label for="blog_style_evt_info_font_family">Event font
1809
- family: </label></td>
1810
- <td>
1811
- <select name="blog_style_evt_info_font_family" id="blog_style_evt_info_font_family">
1812
- <?php
1813
- foreach ($font_families as $key => $font_family) {
1814
- ?>
1815
- <option
1816
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_evt_info_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
1817
- <?php
1818
- }
1819
- ?>
1820
- </select>
1821
- </td>
1822
- </tr>
1823
-
1824
- </tbody>
1825
- </table>
1826
- </fieldset>
1827
- <fieldset class="spider_child_fieldset" id="Blog_style_3">
1828
- <table style="clear:both;">
1829
- <tbody>
1830
- <tr>
1831
- <td class="spider_label"><label for="blog_style_obj_message_color">Message and
1832
- description color: </label></td>
1833
- <td>
1834
- <input type="text" name="blog_style_obj_message_color"
1835
- id="blog_style_obj_message_color"
1836
- value="<?php echo $row->blog_style_obj_message_color; ?>" class="color"/>
1837
- </td>
1838
- </tr>
1839
- <tr>
1840
- <td class="spider_label"><label for="blog_style_obj_message_size">Message and
1841
- description font size: </label></td>
1842
- <td>
1843
- <input type="text" name="blog_style_obj_message_size"
1844
- id="blog_style_obj_message_size"
1845
- value="<?php echo $row->blog_style_obj_message_size; ?>"
1846
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1847
- </td>
1848
- </tr>
1849
- <tr>
1850
- <td class="spider_label"><label for="blog_style_obj_message_font_weight">Message and
1851
- description font weight: </label></td>
1852
- <td>
1853
- <select name="blog_style_obj_message_font_weight"
1854
- id="blog_style_obj_message_font_weight">
1855
- <?php
1856
- foreach ($font_weights as $key => $font_weight) {
1857
- ?>
1858
- <option
1859
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_message_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1860
- <?php
1861
- }
1862
- ?>
1863
- </select>
1864
- </td>
1865
- </tr>
1866
- <tr>
1867
- <td class="spider_label"><label for="blog_style_obj_hashtags_color">Hashtags
1868
- color: </label></td>
1869
- <td>
1870
- <input type="text" name="blog_style_obj_hashtags_color"
1871
- id="blog_style_obj_hashtags_color"
1872
- value="<?php echo $row->blog_style_obj_hashtags_color; ?>" class="color"/>
1873
- </td>
1874
- </tr>
1875
- <tr>
1876
- <td class="spider_label"><label for="blog_style_obj_hashtags_size">Hashtags font
1877
- size: </label></td>
1878
- <td>
1879
- <input type="text" name="blog_style_obj_hashtags_size"
1880
- id="blog_style_obj_hashtags_size"
1881
- value="<?php echo $row->blog_style_obj_hashtags_size; ?>"
1882
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1883
- </td>
1884
- </tr>
1885
- <tr>
1886
- <td class="spider_label"><label for="blog_style_obj_hashtags_font_weight">Hashtags font
1887
- weight: </label></td>
1888
- <td>
1889
- <select name="blog_style_obj_hashtags_font_weight"
1890
- id="blog_style_obj_hashtags_font_weight">
1891
- <?php
1892
- foreach ($font_weights as $key => $font_weight) {
1893
- ?>
1894
- <option
1895
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_hashtags_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1896
- <?php
1897
- }
1898
- ?>
1899
- </select>
1900
- </td>
1901
- </tr>
1902
- <tr>
1903
- <td class="spider_label"><label for="blog_style_obj_likes_social_bg_color">Likes(share,
1904
- comment) and social buttons background color: </label></td>
1905
- <td>
1906
- <input type="text" name="blog_style_obj_likes_social_bg_color"
1907
- id="blog_style_obj_likes_social_bg_color"
1908
- value="<?php echo $row->blog_style_obj_likes_social_bg_color; ?>"
1909
- class="color"/>
1910
- </td>
1911
- </tr>
1912
-
1913
- <tr>
1914
- <td class="spider_label"><label for="blog_style_obj_likes_social_color">Likes(share,
1915
- comment) color: </label></td>
1916
- <td>
1917
- <input type="text" name="blog_style_obj_likes_social_color"
1918
- id="blog_style_obj_likes_social_color"
1919
- value="<?php echo $row->blog_style_obj_likes_social_color; ?>"
1920
- class="color"/>
1921
- </td>
1922
- </tr>
1923
- <tr>
1924
- <td class="spider_label"><label for="blog_style_obj_likes_social_size">Likes(share,
1925
- comment) and social size: </label></td>
1926
- <td>
1927
- <input type="text" name="blog_style_obj_likes_social_size"
1928
- id="blog_style_obj_likes_social_size"
1929
- value="<?php echo $row->blog_style_obj_likes_social_size; ?>"
1930
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1931
- </td>
1932
- </tr>
1933
- <tr>
1934
- <td class="spider_label"><label for="blog_style_obj_likes_social_font_weight">Likes(share,
1935
- comment) and social font weight: </label></td>
1936
- <td>
1937
- <select name="blog_style_obj_likes_social_font_weight"
1938
- id="blog_style_obj_likes_social_font_weight">
1939
- <?php
1940
- foreach ($font_weights as $key => $font_weight) {
1941
- ?>
1942
- <option
1943
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_likes_social_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
1944
- <?php
1945
- }
1946
- ?>
1947
- </select>
1948
- </td>
1949
- </tr>
1950
- </tbody>
1951
- </table>
1952
- </fieldset>
1953
- <fieldset class="spider_child_fieldset" id="Blog_style_4">
1954
- <table style="clear:both;">
1955
- <tbody>
1956
- <tr>
1957
- <td class="spider_label"><label for="blog_style_obj_comments_bg_color">Comments
1958
- background color: </label></td>
1959
- <td>
1960
- <input type="text" name="blog_style_obj_comments_bg_color"
1961
- id="blog_style_obj_comments_bg_color"
1962
- value="<?php echo $row->blog_style_obj_comments_bg_color; ?>" class="color"/>
1963
- </td>
1964
- </tr>
1965
- <tr>
1966
- <td class="spider_label"><label for="blog_style_obj_comments_color">Comments
1967
- color: </label></td>
1968
- <td>
1969
- <input type="text" name="blog_style_obj_comments_color"
1970
- id="blog_style_obj_comments_color"
1971
- value="<?php echo $row->blog_style_obj_comments_color; ?>" class="color"/>
1972
- </td>
1973
- </tr>
1974
- <tr>
1975
- <td class="spider_label"><label for="blog_style_obj_comments_font_family">Comments font
1976
- family: </label></td>
1977
- <td>
1978
- <select name="blog_style_obj_comments_font_family"
1979
- id="blog_style_obj_comments_font_family">
1980
- <?php
1981
- foreach ($font_families as $key => $font_family) {
1982
- ?>
1983
- <option
1984
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_comments_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
1985
- <?php
1986
- }
1987
- ?>
1988
- </select>
1989
- </td>
1990
- </tr>
1991
- <tr>
1992
- <td class="spider_label"><label for="blog_style_obj_comments_font_size">Comments font
1993
- size: </label></td>
1994
- <td>
1995
- <input type="text" name="blog_style_obj_comments_font_size"
1996
- id="blog_style_obj_comments_font_size"
1997
- value="<?php echo $row->blog_style_obj_comments_font_size; ?>"
1998
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1999
- </td>
2000
- </tr>
2001
- <tr>
2002
- <td class="spider_label"><label for="blog_style_obj_users_font_color">Users
2003
- color: </label></td>
2004
- <td>
2005
- <input type="text" name="blog_style_obj_users_font_color"
2006
- id="blog_style_obj_users_font_color"
2007
- value="<?php echo $row->blog_style_obj_users_font_color; ?>" class="color"/>
2008
- </td>
2009
- </tr>
2010
- <tr>
2011
- <td class="spider_label"><label for="blog_style_obj_comments_social_font_weight">Comments
2012
- font weight: </label></td>
2013
- <td>
2014
- <select name="blog_style_obj_comments_social_font_weight"
2015
- id="blog_style_obj_comments_social_font_weight">
2016
- <?php
2017
- foreach ($font_weights as $key => $font_weight) {
2018
- ?>
2019
- <option
2020
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_comments_social_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
2021
- <?php
2022
- }
2023
- ?>
2024
- </select>
2025
- </td>
2026
- </tr>
2027
- <tr>
2028
- <td class="spider_label"><label for="blog_style_obj_comment_border_width">Comment border
2029
- width: </label></td>
2030
- <td>
2031
- <input type="text" name="blog_style_obj_comment_border_width"
2032
- id="blog_style_obj_comment_border_width"
2033
- value="<?php echo $row->blog_style_obj_comment_border_width; ?>"
2034
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2035
- </td>
2036
- </tr>
2037
- <tr>
2038
- <td class="spider_label"><label for="blog_style_obj_comment_border_style">Comment border
2039
- style: </label></td>
2040
- <td>
2041
- <select name="blog_style_obj_comment_border_style"
2042
- id="blog_style_obj_comment_border_style">
2043
- <?php
2044
- foreach ($border_styles as $key => $border_style) {
2045
- ?>
2046
- <option
2047
- value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_comment_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
2048
- <?php
2049
- }
2050
- ?>
2051
- </select>
2052
- </td>
2053
- </tr>
2054
- <tr>
2055
- <td class="spider_label"><label for="blog_style_obj_comment_border_color">Comment border
2056
- color: </label></td>
2057
- <td>
2058
- <input type="text" name="blog_style_obj_comment_border_color"
2059
- id="blog_style_obj_comment_border_color"
2060
- value="<?php echo $row->blog_style_obj_comment_border_color; ?>"
2061
- class="color"/>
2062
- </td>
2063
- </tr>
2064
- <tr>
2065
- <td class="spider_label"><label for="blog_style_obj_comment_border_type">Comment border
2066
- type: </label></td>
2067
- <td>
2068
- <select name="blog_style_obj_comment_border_type" id="blog_style_border_type">
2069
- <option
2070
- value="all" <?php echo(($row->blog_style_obj_comment_border_type == "all") ? 'selected="selected"' : ''); ?>>
2071
- All
2072
- </option>
2073
- <option
2074
- value="top" <?php echo(($row->blog_style_obj_comment_border_type == "top") ? 'selected="selected"' : ''); ?>>
2075
- Top
2076
- </option>
2077
- <option
2078
- value="right" <?php echo(($row->blog_style_obj_comment_border_type == "right") ? 'selected="selected"' : ''); ?>>
2079
- Right
2080
- </option>
2081
- <option
2082
- value="bottom" <?php echo(($row->blog_style_obj_comment_border_type == "bottom") ? 'selected="selected"' : ''); ?>>
2083
- Bottom
2084
- </option>
2085
- <option
2086
- value="left" <?php echo(($row->blog_style_obj_comment_border_type == "left") ? 'selected="selected"' : ''); ?>>
2087
- Left
2088
- </option>
2089
- </select>
2090
- </td>
2091
- </tr>
2092
- </tbody>
2093
- </table>
2094
- </fieldset>
2095
- </fieldset>
2096
- <fieldset class="spider_type_fieldset" id="Lightbox">
2097
- <fieldset class="spider_child_fieldset" id="Lightbox_1">
2098
- <table style="clear:both;">
2099
- <tbody>
2100
- <tr id="lightbox_overlay_bg">
2101
- <td class="spider_label"><label for="lightbox_overlay_bg_color">Overlay background
2102
- color: </label></td>
2103
- <td>
2104
- <input type="text" name="lightbox_overlay_bg_color" id="lightbox_overlay_bg_color"
2105
- value="<?php echo $row->lightbox_overlay_bg_color; ?>" class="color"/>
2106
- </td>
2107
- </tr>
2108
- <tr id="lightbox_overlay">
2109
- <td class="spider_label"><label for="lightbox_overlay_bg_transparent">Overlay background
2110
- transparency: </label></td>
2111
- <td>
2112
- <input type="text" name="lightbox_overlay_bg_transparent"
2113
- id="lightbox_overlay_bg_transparent"
2114
- value="<?php echo $row->lightbox_overlay_bg_transparent; ?>"
2115
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
2116
- <div class="spider_description">Value must be between 0 to 100.</div>
2117
- </td>
2118
- </tr>
2119
- <tr id="lightbox_bg">
2120
- <td class="spider_label"><label for="lightbox_bg_color">Lightbox background
2121
- color: </label></td>
2122
- <td>
2123
- <input type="text" name="lightbox_bg_color" id="lightbox_bg_color"
2124
- value="<?php echo $row->lightbox_bg_color; ?>" class="color"/>
2125
- </td>
2126
- </tr>
2127
- <tr id="lightbox_cntrl1">
2128
- <td class="spider_label"><label for="lightbox_ctrl_btn_height">Control buttons
2129
- height: </label></td>
2130
- <td>
2131
- <input type="text" name="lightbox_ctrl_btn_height" id="lightbox_ctrl_btn_height"
2132
- value="<?php echo $row->lightbox_ctrl_btn_height; ?>"
2133
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2134
- </td>
2135
- </tr>
2136
- <tr id="lightbox_cntrl2">
2137
- <td class="spider_label"><label for="lightbox_ctrl_btn_margin_top">Control buttons
2138
- margin (top): </label></td>
2139
- <td>
2140
- <input type="text" name="lightbox_ctrl_btn_margin_top"
2141
- id="lightbox_ctrl_btn_margin_top"
2142
- value="<?php echo $row->lightbox_ctrl_btn_margin_top; ?>"
2143
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2144
- </td>
2145
- </tr>
2146
- <tr id="lightbox_cntrl3">
2147
- <td class="spider_label"><label for="lightbox_ctrl_btn_margin_left">Control buttons
2148
- margin (left): </label></td>
2149
- <td>
2150
- <input type="text" name="lightbox_ctrl_btn_margin_left"
2151
- id="lightbox_ctrl_btn_margin_left"
2152
- value="<?php echo $row->lightbox_ctrl_btn_margin_left; ?>"
2153
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2154
- </td>
2155
- </tr>
2156
- <tr id="lightbox_cntrl9">
2157
- <td class="spider_label"><label>Control buttons position: </label></td>
2158
- <td>
2159
- <input type="radio" name="lightbox_ctrl_btn_pos" id="lightbox_ctrl_btn_pos1"
2160
- value="top"<?php if ($row->lightbox_ctrl_btn_pos == "top") echo 'checked="checked"'; ?> />
2161
- <label for="lightbox_ctrl_btn_pos1" id="lightbox_ctrl_btn_pos1_lbl">Top</label>
2162
- <input type="radio" name="lightbox_ctrl_btn_pos" id="lightbox_ctrl_btn_pos0"
2163
- value="bottom"<?php if ($row->lightbox_ctrl_btn_pos == "bottom") echo 'checked="checked"'; ?> />
2164
- <label for="lightbox_ctrl_btn_pos0" id="lightbox_ctrl_btn_pos0_lbl">Bottom</label>
2165
- </td>
2166
- </tr>
2167
- <tr id="lightbox_cntrl8">
2168
- <td class="spider_label"><label for="lightbox_ctrl_cont_bg_color">Control buttons
2169
- background color: </label></td>
2170
- <td>
2171
- <input type="text" name="lightbox_ctrl_cont_bg_color"
2172
- id="lightbox_ctrl_cont_bg_color"
2173
- value="<?php echo $row->lightbox_ctrl_cont_bg_color; ?>" class="color"/>
2174
- </td>
2175
- </tr>
2176
- <tr id="lightbox_cntrl5">
2177
- <td class="spider_label"><label for="lightbox_ctrl_cont_border_radius">Control buttons
2178
- container border radius: </label></td>
2179
- <td>
2180
- <input type="text" name="lightbox_ctrl_cont_border_radius"
2181
- id="lightbox_ctrl_cont_border_radius"
2182
- value="<?php echo $row->lightbox_ctrl_cont_border_radius; ?>"
2183
- class="spider_char_input"/>
2184
- <div class="spider_description">Use CSS type values.</div>
2185
- </td>
2186
- </tr>
2187
- <tr id="lightbox_cntrl6">
2188
- <td class="spider_label"><label for="lightbox_ctrl_cont_transparent">Control buttons
2189
- container background transparency: </label></td>
2190
- <td>
2191
- <input type="text" name="lightbox_ctrl_cont_transparent"
2192
- id="lightbox_ctrl_cont_transparent"
2193
- value="<?php echo $row->lightbox_ctrl_cont_transparent; ?>"
2194
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
2195
- <div class="spider_description">Value must be between 0 to 100.</div>
2196
- </td>
2197
- </tr>
2198
- <tr id="lightbox_cntrl10">
2199
- <td class="spider_label"><label for="lightbox_ctrl_btn_align0">Control buttons
2200
- alignment: </label></td>
2201
- <td>
2202
- <select name="lightbox_ctrl_btn_align" id="lightbox_ctrl_btn_align">
2203
- <?php
2204
- foreach ($aligns as $key => $align) {
2205
- ?>
2206
- <option
2207
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_ctrl_btn_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
2208
- <?php
2209
- }
2210
- ?>
2211
- </select>
2212
- </td>
2213
- </tr>
2214
- <tr id="lightbox_cntrl7">
2215
- <td class="spider_label"><label for="lightbox_ctrl_btn_color">Control buttons color: </label></td>
2216
- <td>
2217
- <input type="text" name="lightbox_ctrl_btn_color" id="lightbox_ctrl_btn_color" value="<?php echo $row->lightbox_ctrl_btn_color; ?>" class="color"/>
2218
- </td>
2219
- </tr>
2220
- <tr id="lightbox_cntrl4">
2221
- <td class="spider_label"><label for="lightbox_ctrl_btn_transparent">Control buttons
2222
- transparency: </label></td>
2223
- <td>
2224
- <input type="text" name="lightbox_ctrl_btn_transparent"
2225
- id="lightbox_ctrl_btn_transparent"
2226
- value="<?php echo $row->lightbox_ctrl_btn_transparent; ?>"
2227
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
2228
- <div class="spider_description">Value must be between 0 to 100.</div>
2229
- </td>
2230
- </tr>
2231
- <tr id="lightbox_toggle1">
2232
- <td class="spider_label"><label for="lightbox_toggle_btn_height">Toggle button
2233
- height: </label></td>
2234
- <td>
2235
- <input type="text" name="lightbox_toggle_btn_height" id="lightbox_toggle_btn_height"
2236
- value="<?php echo $row->lightbox_toggle_btn_height; ?>"
2237
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2238
- </td>
2239
- </tr>
2240
- <tr id="lightbox_toggle2">
2241
- <td class="spider_label"><label for="lightbox_toggle_btn_width">Toggle button
2242
- width: </label></td>
2243
- <td>
2244
- <input type="text" name="lightbox_toggle_btn_width" id="lightbox_toggle_btn_width"
2245
- value="<?php echo $row->lightbox_toggle_btn_width; ?>"
2246
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2247
- </td>
2248
- </tr>
2249
- <tr id="lightbox_close1">
2250
- <td class="spider_label"><label for="lightbox_close_btn_border_radius">Close button
2251
- border radius: </label>
2252
- </td>
2253
- <td>
2254
- <input type="text" name="lightbox_close_btn_border_radius"
2255
- id="lightbox_close_btn_border_radius"
2256
- value="<?php echo $row->lightbox_close_btn_border_radius; ?>"
2257
- class="spider_char_input"/>
2258
- <div class="spider_description">Use CSS type values.</div>
2259
- </td>
2260
- </tr>
2261
- <tr id="lightbox_close2">
2262
- <td class="spider_label"><label for="lightbox_close_btn_border_width">Close button
2263
- border width: </label></td>
2264
- <td>
2265
- <input type="text" name="lightbox_close_btn_border_width"
2266
- id="lightbox_close_btn_border_width"
2267
- value="<?php echo $row->lightbox_close_btn_border_width; ?>"
2268
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2269
- </td>
2270
- </tr>
2271
- <tr id="lightbox_close12">
2272
- <td class="spider_label"><label for="lightbox_close_btn_border_style">Close button
2273
- border style: </label></td>
2274
- <td>
2275
- <select name="lightbox_close_btn_border_style" id="lightbox_close_btn_border_style">
2276
- <?php
2277
- foreach ($border_styles as $key => $border_style) {
2278
- ?>
2279
- <option
2280
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_close_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
2281
- <?php
2282
- }
2283
- ?>
2284
- </select>
2285
- </td>
2286
- </tr>
2287
- <tr id="lightbox_close13">
2288
- <td class="spider_label"><label for="lightbox_close_btn_border_color">Close button
2289
- border color: </label></td>
2290
- <td>
2291
- <input type="text" name="lightbox_close_btn_border_color"
2292
- id="lightbox_close_btn_border_color"
2293
- value="<?php echo $row->lightbox_close_btn_border_color; ?>" class="color"/>
2294
- </td>
2295
- </tr>
2296
- <tr id="lightbox_close3">
2297
- <td class="spider_label"><label for="lightbox_close_btn_box_shadow">Close button box
2298
- shadow: </label></td>
2299
- <td>
2300
- <input type="text" name="lightbox_close_btn_box_shadow"
2301
- id="lightbox_close_btn_box_shadow"
2302
- value="<?php echo $row->lightbox_close_btn_box_shadow; ?>"
2303
- class="spider_box_input"/>
2304
- <div class="spider_description">Use CSS type values.</div>
2305
- </td>
2306
- </tr>
2307
- <tr id="lightbox_close11">
2308
- <td class="spider_label"><label for="lightbox_close_btn_bg_color">Close button
2309
- background color: </label></td>
2310
- <td>
2311
- <input type="text" name="lightbox_close_btn_bg_color"
2312
- id="lightbox_close_btn_bg_color"
2313
- value="<?php echo $row->lightbox_close_btn_bg_color; ?>" class="color"/>
2314
- </td>
2315
- </tr>
2316
- <tr id="lightbox_close9">
2317
- <td class="spider_label"><label for="lightbox_close_btn_transparent">Close button
2318
- transparency: </label></td>
2319
- <td>
2320
- <input type="text" name="lightbox_close_btn_transparent"
2321
- id="lightbox_close_btn_transparent"
2322
- value="<?php echo $row->lightbox_close_btn_transparent; ?>"
2323
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
2324
- </td>
2325
- </tr>
2326
- <tr id="lightbox_close5">
2327
- <td class="spider_label"><label for="lightbox_close_btn_width">Close button
2328
- width: </label></td>
2329
- <td>
2330
- <input type="text" name="lightbox_close_btn_width" id="lightbox_close_btn_width"
2331
- value="<?php echo $row->lightbox_close_btn_width; ?>"
2332
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2333
- </td>
2334
- </tr>
2335
- <tr id="lightbox_close6">
2336
- <td class="spider_label"><label for="lightbox_close_btn_height">Close button
2337
- height: </label></td>
2338
- <td>
2339
- <input type="text" name="lightbox_close_btn_height" id="lightbox_close_btn_height"
2340
- value="<?php echo $row->lightbox_close_btn_height; ?>"
2341
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2342
- </td>
2343
- </tr>
2344
- <tr id="lightbox_close7">
2345
- <td class="spider_label"><label for="lightbox_close_btn_top">Close button top: </label>
2346
- </td>
2347
- <td>
2348
- <input type="text" name="lightbox_close_btn_top" id="lightbox_close_btn_top"
2349
- value="<?php echo $row->lightbox_close_btn_top; ?>" class="spider_int_input"
2350
- onkeypress="return spider_check_isnum(event)"/> px
2351
- </td>
2352
- </tr>
2353
- <tr id="lightbox_close8">
2354
- <td class="spider_label"><label for="lightbox_close_btn_right">Close button
2355
- right: </label></td>
2356
- <td>
2357
- <input type="text" name="lightbox_close_btn_right" id="lightbox_close_btn_right"
2358
- value="<?php echo $row->lightbox_close_btn_right; ?>"
2359
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2360
- </td>
2361
- </tr>
2362
- <tr id="lightbox_close4">
2363
- <td class="spider_label"><label for="lightbox_close_btn_size">Close button
2364
- size: </label></td>
2365
- <td>
2366
- <input type="text" name="lightbox_close_btn_size" id="lightbox_close_btn_size"
2367
- value="<?php echo $row->lightbox_close_btn_size; ?>" class="spider_int_input"
2368
- onkeypress="return spider_check_isnum(event)"/> px
2369
- </td>
2370
- </tr>
2371
- <!-- <tr id="lightbox_close14">
2372
- <td class="spider_label"><label for="lightbox_close_btn_color">Close button color: </label></td>
2373
- <td>
2374
- <input type="text" name="lightbox_close_btn_color" id="lightbox_close_btn_color" value="<?php echo $row->lightbox_close_btn_color; ?>" class="color"/>
2375
- </td>
2376
- </tr>
2377
- <tr id="lightbox_close10">
2378
- <td class="spider_label"><label for="lightbox_close_btn_full_color">Fullscreen close button color: </label></td>
2379
- <td>
2380
- <input type="text" name="lightbox_close_btn_full_color" id="lightbox_close_btn_full_color" value="<?php echo $row->lightbox_close_btn_full_color; ?>" class="color"/>
2381
- </td>
2382
- </tr> -->
2383
- </tbody>
2384
- </table>
2385
- </fieldset>
2386
- <fieldset class="spider_child_fieldset" id="Lightbox_2">
2387
- <table style="clear:both;">
2388
- <tbody>
2389
- <!-- <tr id="lightbox_right_left11">
2390
- <td class="spider_label"><label for="lightbox_rl_btn_style">Right, left buttons style: </label></td>
2391
- <td>
2392
- <select name="lightbox_rl_btn_style" id="lightbox_rl_btn_style" class="spider_int_input">
2393
- <?php
2394
- foreach ($button_styles as $key => $button_style) {
2395
- ?>
2396
- <option value="<?php echo $key; ?>" <?php echo(($row->lightbox_rl_btn_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $button_style; ?></option>
2397
- <?php
2398
- }
2399
- ?>
2400
- </select>
2401
- </td>
2402
- </tr> -->
2403
- <tr id="lightbox_right_left7">
2404
- <td class="spider_label"><label for="lightbox_rl_btn_bg_color">Right, left buttons
2405
- background color: </label></td>
2406
- <td>
2407
- <input type="text" name="lightbox_rl_btn_bg_color" id="lightbox_rl_btn_bg_color"
2408
- value="<?php echo $row->lightbox_rl_btn_bg_color; ?>" class="color"/>
2409
- </td>
2410
- </tr>
2411
- <tr>
2412
- <td class="spider_label"><label for="lightbox_rl_btn_transparent">Right, left buttons
2413
- transparency: </label></td>
2414
- <td>
2415
- <input type="text" name="lightbox_rl_btn_transparent"
2416
- id="lightbox_rl_btn_transparent"
2417
- value="<?php echo $row->lightbox_rl_btn_transparent; ?>"
2418
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
2419
- </td>
2420
- </tr>
2421
- <tr id="lightbox_right_left3">
2422
- <td class="spider_label"><label for="lightbox_rl_btn_box_shadow">Right, left buttons box
2423
- shadow: </label></td>
2424
- <td>
2425
- <input type="text" name="lightbox_rl_btn_box_shadow" id="lightbox_rl_btn_box_shadow"
2426
- value="<?php echo $row->lightbox_rl_btn_box_shadow; ?>"
2427
- class="spider_box_input"/>
2428
- <div class="spider_description">Use CSS type values.</div>
2429
- </td>
2430
- </tr>
2431
- <tr id="lightbox_right_left4">
2432
- <td class="spider_label"><label for="lightbox_rl_btn_height">Right, left buttons
2433
- height: </label></td>
2434
- <td>
2435
- <input type="text" name="lightbox_rl_btn_height" id="lightbox_rl_btn_height"
2436
- value="<?php echo $row->lightbox_rl_btn_height; ?>" class="spider_int_input"
2437
- onkeypress="return spider_check_isnum(event)"/> px
2438
- </td>
2439
- </tr>
2440
- <tr id="lightbox_right_left5">
2441
- <td class="spider_label"><label for="lightbox_rl_btn_width">Right, left buttons
2442
- width: </label></td>
2443
- <td>
2444
- <input type="text" name="lightbox_rl_btn_width" id="lightbox_rl_btn_width"
2445
- value="<?php echo $row->lightbox_rl_btn_width; ?>" class="spider_int_input"
2446
- onkeypress="return spider_check_isnum(event)"/> px
2447
- </td>
2448
- </tr>
2449
- <tr id="lightbox_right_left6">
2450
- <td class="spider_label"><label for="lightbox_rl_btn_size">Right, left buttons
2451
- size: </label></td>
2452
- <td>
2453
- <input type="text" name="lightbox_rl_btn_size" id="lightbox_rl_btn_size"
2454
- value="<?php echo $row->lightbox_rl_btn_size; ?>" class="spider_int_input"
2455
- onkeypress="return spider_check_isnum(event)"/> px
2456
- </td>
2457
- </tr>
2458
- <!-- <tr id="lightbox_close15">
2459
- <td class="spider_label"><label for="lightbox_close_rl_btn_hover_color">Right, left, close buttons hover color: </label></td>
2460
- <td>
2461
- <input type="text" name="lightbox_close_rl_btn_hover_color" id="lightbox_close_rl_btn_hover_color" value="<?php echo $row->lightbox_close_rl_btn_hover_color; ?>" class="color" />
2462
- </td>
2463
- </tr>
2464
- <tr id="lightbox_right_left10">
2465
- <td class="spider_label"><label for="lightbox_rl_btn_color">Right, left buttons color: </label></td>
2466
- <td>
2467
- <input type="text" name="lightbox_rl_btn_color" id="lightbox_rl_btn_color" value="<?php echo $row->lightbox_rl_btn_color; ?>" class="color"/>
2468
- </td>
2469
- </tr> -->
2470
- <tr id="lightbox_right_left1">
2471
- <td class="spider_label"><label for="lightbox_rl_btn_border_radius">Right, left buttons
2472
- border radius: </label></td>
2473
- <td>
2474
- <input type="text" name="lightbox_rl_btn_border_radius"
2475
- id="lightbox_rl_btn_border_radius"
2476
- value="<?php echo $row->lightbox_rl_btn_border_radius; ?>"
2477
- class="spider_char_input"/>
2478
- <div class="spider_description">Use CSS type values.</div>
2479
- </td>
2480
- </tr>
2481
- <tr id="lightbox_right_left2">
2482
- <td class="spider_label"><label for="lightbox_rl_btn_border_width">Right, left buttons
2483
- border width: </label></td>
2484
- <td>
2485
- <input type="text" name="lightbox_rl_btn_border_width"
2486
- id="lightbox_rl_btn_border_width"
2487
- value="<?php echo $row->lightbox_rl_btn_border_width; ?>"
2488
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2489
- </td>
2490
- </tr>
2491
- <tr id="lightbox_right_left8">
2492
- <td class="spider_label"><label for="lightbox_rl_btn_border_style">Right, left buttons
2493
- border style: </label></td>
2494
- <td>
2495
- <select name="lightbox_rl_btn_border_style" id="lightbox_rl_btn_border_style">
2496
- <?php
2497
- foreach ($border_styles as $key => $border_style) {
2498
- ?>
2499
- <option
2500
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_rl_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
2501
- <?php
2502
- }
2503
- ?>
2504
- </select>
2505
- </td>
2506
- </tr>
2507
- <tr id="lightbox_right_left9">
2508
- <td class="spider_label"><label for="lightbox_rl_btn_border_color">Right, left buttons
2509
- border color: </label></td>
2510
- <td>
2511
- <input type="text" name="lightbox_rl_btn_border_color"
2512
- id="lightbox_rl_btn_border_color"
2513
- value="<?php echo $row->lightbox_rl_btn_border_color; ?>" class="color"/>
2514
- </td>
2515
- </tr>
2516
- <tr id="lightbox_filmstrip12">
2517
- <td class="spider_label"><label>Filmstrip position: </label></td>
2518
- <td>
2519
- <select name="lightbox_filmstrip_pos" id="lightbox_filmstrip_pos">
2520
- <option
2521
- value="top" <?php echo(($row->lightbox_filmstrip_pos == "top") ? 'selected="selected"' : ''); ?>>
2522
- Top
2523
- </option>
2524
- <option
2525
- value="right" <?php echo(($row->lightbox_filmstrip_pos == "right") ? 'selected="selected"' : ''); ?>>
2526
- Right
2527
- </option>
2528
- <option
2529
- value="bottom" <?php echo(($row->lightbox_filmstrip_pos == "bottom") ? 'selected="selected"' : ''); ?>>
2530
- Bottom
2531
- </option>
2532
- <option
2533
- value="left" <?php echo(($row->lightbox_filmstrip_pos == "left") ? 'selected="selected"' : ''); ?>>
2534
- Left
2535
- </option>
2536
- </select>
2537
- </td>
2538
- </tr>
2539
- <tr id="lightbox_filmstrip2">
2540
- <td class="spider_label"><label for="lightbox_filmstrip_thumb_margin">Filmstrip
2541
- thumbnail margin: </label></td>
2542
- <td>
2543
- <input type="text" name="lightbox_filmstrip_thumb_margin"
2544
- id="lightbox_filmstrip_thumb_margin"
2545
- value="<?php echo $row->lightbox_filmstrip_thumb_margin; ?>"
2546
- class="spider_char_input"/>
2547
- <div class="spider_description">Use CSS type values.</div>
2548
- </td>
2549
- </tr>
2550
- <tr id="lightbox_filmstrip3">
2551
- <td class="spider_label"><label for="lightbox_filmstrip_thumb_border_width">Filmstrip
2552
- thumbnail border width: </label></td>
2553
- <td>
2554
- <input type="text" name="lightbox_filmstrip_thumb_border_width"
2555
- id="lightbox_filmstrip_thumb_border_width"
2556
- value="<?php echo $row->lightbox_filmstrip_thumb_border_width; ?>"
2557
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2558
- </td>
2559
- </tr>
2560
- <tr id="lightbox_filmstrip9">
2561
- <td class="spider_label"><label for="lightbox_filmstrip_thumb_border_style">Filmstrip
2562
- thumbnail border style: </label></td>
2563
- <td>
2564
- <select name="lightbox_filmstrip_thumb_border_style"
2565
- id="lightbox_filmstrip_thumb_border_style">
2566
- <?php
2567
- foreach ($border_styles as $key => $border_style) {
2568
- ?>
2569
- <option
2570
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_filmstrip_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
2571
- <?php
2572
- }
2573
- ?>
2574
- </select>
2575
- </td>
2576
- </tr>
2577
- <tr id="lightbox_filmstrip10">
2578
- <td class="spider_label"><label for="lightbox_filmstrip_thumb_border_color">Filmstrip
2579
- thumbnail border color: </label></td>
2580
- <td>
2581
- <input type="text" name="lightbox_filmstrip_thumb_border_color"
2582
- id="lightbox_filmstrip_thumb_border_color"
2583
- value="<?php echo $row->lightbox_filmstrip_thumb_border_color; ?>"
2584
- class="color"/>
2585
- </td>
2586
- </tr>
2587
- <tr id="lightbox_filmstrip4">
2588
- <td class="spider_label"><label for="lightbox_filmstrip_thumb_border_radius">Filmstrip
2589
- thumbnail border radius: </label></td>
2590
- <td>
2591
- <input type="text" name="lightbox_filmstrip_thumb_border_radius"
2592
- id="lightbox_filmstrip_thumb_border_radius"
2593
- value="<?php echo $row->lightbox_filmstrip_thumb_border_radius; ?>"
2594
- class="spider_char_input"/>
2595
- <div class="spider_description">Use CSS type values.</div>
2596
- </td>
2597
- </tr>
2598
- <tr id="lightbox_filmstrip6">
2599
- <td class="spider_label"><label for="lightbox_filmstrip_thumb_active_border_width">Filmstrip
2600
- thumbnail active border width: </label></td>
2601
- <td>
2602
- <input type="text" name="lightbox_filmstrip_thumb_active_border_width"
2603
- id="lightbox_filmstrip_thumb_active_border_width"
2604
- value="<?php echo $row->lightbox_filmstrip_thumb_active_border_width; ?>"
2605
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2606
- </td>
2607
- </tr>
2608
- <tr id="lightbox_filmstrip11">
2609
- <td class="spider_label"><label for="lightbox_filmstrip_thumb_active_border_color">Filmstrip
2610
- thumbnail active border color:</label></td>
2611
- <td>
2612
- <input type="text" name="lightbox_filmstrip_thumb_active_border_color"
2613
- id="lightbox_filmstrip_thumb_active_border_color"
2614
- value="<?php echo $row->lightbox_filmstrip_thumb_active_border_color; ?>"
2615
- class="color"/>
2616
- </td>
2617
- </tr>
2618
- <tr id="lightbox_filmstrip5">
2619
- <td class="spider_label"><label for="lightbox_filmstrip_thumb_deactive_transparent">Filmstrip
2620
- thumbnail deactive transparency: </label></td>
2621
- <td>
2622
- <input type="text" name="lightbox_filmstrip_thumb_deactive_transparent"
2623
- id="lightbox_filmstrip_thumb_deactive_transparent"
2624
- value="<?php echo $row->lightbox_filmstrip_thumb_deactive_transparent; ?>"
2625
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
2626
- <div class="spider_description">Value must be between 0 to 100.</div>
2627
- </td>
2628
- </tr>
2629
- <tr id="lightbox_filmstrip1">
2630
- <td class="spider_label"><label for="lightbox_filmstrip_rl_btn_size">Filmstrip right,
2631
- left buttons size: </label></td>
2632
- <td>
2633
- <input type="text" name="lightbox_filmstrip_rl_btn_size"
2634
- id="lightbox_filmstrip_rl_btn_size"
2635
- value="<?php echo $row->lightbox_filmstrip_rl_btn_size; ?>"
2636
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2637
- </td>
2638
- </tr>
2639
- <tr id="lightbox_filmstrip7">
2640
- <td class="spider_label"><label for="lightbox_filmstrip_rl_btn_color">Filmstrip right, left buttons color: </label></td>
2641
- <td>
2642
- <input type="text" name="lightbox_filmstrip_rl_btn_color" id="lightbox_filmstrip_rl_btn_color" value="<?php echo $row->lightbox_filmstrip_rl_btn_color; ?>" class="color"/>
2643
- </td>
2644
- </tr>
2645
- <tr id="lightbox_filmstrip8">
2646
- <td class="spider_label"><label for="lightbox_filmstrip_rl_bg_color">Filmstrip right,
2647
- left button background color:</label></td>
2648
- <td>
2649
- <input type="text" name="lightbox_filmstrip_rl_bg_color"
2650
- id="lightbox_filmstrip_rl_bg_color"
2651
- value="<?php echo $row->lightbox_filmstrip_rl_bg_color; ?>" class="color"/>
2652
- </td>
2653
- </tr>
2654
- </tbody>
2655
- <tbody style="display: none">
2656
- <tr>
2657
- <td class="spider_label"><label for="lightbox_evt_str_color">Event place(street)
2658
- color: </label></td>
2659
- <td>
2660
- <input type="text" name="lightbox_evt_str_color" id="lightbox_evt_str_color"
2661
- value="<?php echo $row->lightbox_evt_str_color; ?>" class="color"/>
2662
- </td>
2663
- </tr>
2664
- <tr>
2665
- <td class="spider_label"><label for="lightbox_evt_str_size">Event place(street) font
2666
- size: </label></td>
2667
- <td>
2668
- <input type="text" name="lightbox_evt_str_size" id="lightbox_evt_str_size"
2669
- value="<?php echo $row->lightbox_evt_str_size; ?>" class="spider_int_input"
2670
- onkeypress="return spider_check_isnum(event)"/> px
2671
- </td>
2672
- </tr>
2673
- <tr>
2674
- <td class="spider_label"><label for="lightbox_evt_str_font_weight">Event place(street)
2675
- font weight: </label></td>
2676
- <td>
2677
- <select name="lightbox_evt_str_font_weight" id="lightbox_evt_str_font_weight">
2678
- <?php
2679
- foreach ($font_weights as $key => $font_weight) {
2680
- ?>
2681
- <option
2682
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_evt_str_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
2683
- <?php
2684
- }
2685
- ?>
2686
- </select>
2687
- </td>
2688
- </tr>
2689
- <tr>
2690
- <td class="spider_label"><label for="lightbox_evt_ctzpcn_color">Event place(city, zip,
2691
- country) color: </label></td>
2692
- <td>
2693
- <input type="text" name="lightbox_evt_ctzpcn_color" id="lightbox_evt_ctzpcn_color"
2694
- value="<?php echo $row->lightbox_evt_ctzpcn_color; ?>" class="color"/>
2695
- </td>
2696
- </tr>
2697
- <tr>
2698
- <td class="spider_label"><label for="lightbox_evt_ctzpcn_size">Event place(city, zip,
2699
- country) font size: </label></td>
2700
- <td>
2701
- <input type="text" name="lightbox_evt_ctzpcn_size" id="lightbox_evt_ctzpcn_size"
2702
- value="<?php echo $row->lightbox_evt_ctzpcn_size; ?>"
2703
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2704
- </td>
2705
- </tr>
2706
- <tr>
2707
- <td class="spider_label"><label for="lightbox_evt_ctzpcn_font_weight">Event place(city,
2708
- zip, country) font weight: </label></td>
2709
- <td>
2710
- <select name="lightbox_evt_ctzpcn_font_weight" id="lightbox_evt_ctzpcn_font_weight">
2711
- <?php
2712
- foreach ($font_weights as $key => $font_weight) {
2713
- ?>
2714
- <option
2715
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_evt_ctzpcn_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
2716
- <?php
2717
- }
2718
- ?>
2719
- </select>
2720
- </td>
2721
- </tr>
2722
- <tr>
2723
- <td class="spider_label"><label for="lightbox_evt_map_color">Event place(map)
2724
- color: </label></td>
2725
- <td>
2726
- <input type="text" name="lightbox_evt_map_color" id="lightbox_evt_map_color"
2727
- value="<?php echo $row->lightbox_evt_map_color; ?>" class="color"/>
2728
- </td>
2729
- </tr>
2730
- <tr>
2731
- <td class="spider_label"><label for="lightbox_evt_map_size">Event place(map) font
2732
- size: </label></td>
2733
- <td>
2734
- <input type="text" name="lightbox_evt_map_size" id="lightbox_evt_map_size"
2735
- value="<?php echo $row->lightbox_evt_map_size; ?>" class="spider_int_input"
2736
- onkeypress="return spider_check_isnum(event)"/> px
2737
- </td>
2738
- </tr>
2739
- <tr>
2740
- <td class="spider_label"><label for="lightbox_evt_map_font_weight">Event place(map) font
2741
- weight: </label></td>
2742
- <td>
2743
- <select name="lightbox_evt_map_font_weight" id="lightbox_evt_map_font_weight">
2744
- <?php
2745
- foreach ($font_weights as $key => $font_weight) {
2746
- ?>
2747
- <option
2748
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_evt_map_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
2749
- <?php
2750
- }
2751
- ?>
2752
- </select>
2753
- </td>
2754
- </tr>
2755
- <tr>
2756
- <td class="spider_label"><label for="lightbox_evt_date_color">Event date color: </label>
2757
- </td>
2758
- <td>
2759
- <input type="text" name="lightbox_evt_date_color" id="lightbox_evt_date_color"
2760
- value="<?php echo $row->lightbox_evt_date_color; ?>" class="color"/>
2761
- </td>
2762
- </tr>
2763
- <tr>
2764
- <td class="spider_label"><label for="lightbox_evt_date_size">Event date font
2765
- size: </label></td>
2766
- <td>
2767
- <input type="text" name="lightbox_evt_date_size" id="lightbox_evt_date_size"
2768
- value="<?php echo $row->lightbox_evt_date_size; ?>" class="spider_int_input"
2769
- onkeypress="return spider_check_isnum(event)"/> px
2770
- </td>
2771
- </tr>
2772
- <tr>
2773
- <td class="spider_label"><label for="lightbox_evt_date_font_weight">Event date font
2774
- weight: </label></td>
2775
- <td>
2776
- <select name="lightbox_evt_date_font_weight" id="lightbox_evt_date_font_weight">
2777
- <?php
2778
- foreach ($font_weights as $key => $font_weight) {
2779
- ?>
2780
- <option
2781
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_evt_date_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
2782
- <?php
2783
- }
2784
- ?>
2785
- </select>
2786
- </td>
2787
- </tr>
2788
- <tr>
2789
- <td class="spider_label"><label for="lightbox_evt_info_font_family">Event font
2790
- family: </label></td>
2791
- <td>
2792
- <select name="lightbox_evt_info_font_family" id="lightbox_evt_info_font_family">
2793
- <?php
2794
- foreach ($font_families as $key => $font_family) {
2795
- ?>
2796
- <option
2797
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_evt_info_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
2798
- <?php
2799
- }
2800
- ?>
2801
- </select>
2802
- </td>
2803
- </tr>
2804
-
2805
- </tbody>
2806
- </table>
2807
- </fieldset>
2808
- <fieldset class="spider_child_fieldset" id="Lightbox_3">
2809
- <table style="clear:both;">
2810
- <tbody>
2811
- <tr>
2812
- <td class="spider_label"><label for="lightbox_obj_width">Info Width: </label></td>
2813
- <td>
2814
- <input type="text" name="lightbox_obj_width" id="lightbox_obj_width"
2815
- value="<?php echo $row->lightbox_obj_width; ?>" class="spider_int_input"
2816
- onkeypress="return spider_check_isnum(event)"/> px
2817
- </td>
2818
- </tr>
2819
- <tr id="lightbox_comment25">
2820
- <td class="spider_label"><label>Info position: </label></td>
2821
- <td>
2822
- <input type="radio" name="lightbox_obj_pos" id="lightbox_obj_pos1"
2823
- value="left"<?php if ($row->lightbox_obj_pos == "left") echo 'checked="checked"'; ?> />
2824
- <label for="lightbox_obj_pos1" id="lightbox_obj_pos1_lbl">Left</label>
2825
- <input type="radio" name="lightbox_obj_pos" id="lightbox_obj_pos0"
2826
- value="right"<?php if ($row->lightbox_obj_pos == "right") echo 'checked="checked"'; ?> />
2827
- <label for="lightbox_obj_pos0" id="lightbox_obj_pos0_lbl">Right</label>
2828
- </td>
2829
- </tr>
2830
- <tr>
2831
- <td class="spider_label"><label for="lightbox_obj_info_bg_color">Info background
2832
- color: </label></td>
2833
- <td>
2834
- <input type="text" name="lightbox_obj_info_bg_color" id="lightbox_obj_info_bg_color"
2835
- value="<?php echo $row->lightbox_obj_info_bg_color; ?>" class="color"/>
2836
- </td>
2837
- </tr>
2838
- <tr>
2839
- <td class="spider_label"><label for="lightbox_obj_icons_color">Info icons
2840
- color: </label></td>
2841
- <td>
2842
- <select name="lightbox_obj_icons_color" id="lightbox_obj_icons_color">
2843
- <option
2844
- value="gray" <?php echo(($row->lightbox_obj_icons_color == "gray") ? 'selected="selected"' : ''); ?>>
2845
- Gray
2846
- </option>
2847
- <option
2848
- value="white" <?php echo(($row->lightbox_obj_icons_color == "white") ? 'selected="selected"' : ''); ?>>
2849
- White
2850
- </option>
2851
- <option
2852
- value="blue" <?php echo(($row->lightbox_obj_icons_color == "blue") ? 'selected="selected"' : ''); ?>>
2853
- Blue
2854
- </option>
2855
- </select>
2856
- </td>
2857
- </tr>
2858
- <tr>
2859
- <td class="spider_label"><label for="lightbox_obj_icons_color_likes_comments_count">Info icons
2860
- color _comments_count: </label></td>
2861
- <td>
2862
- <select name="lightbox_obj_icons_color_likes_comments_count" id="lightbox_obj_icons_color_likes_comments_count">
2863
- <option
2864
- value="gray" <?php echo((isset($row->lightbox_obj_icons_color_likes_comments_count) && $row->lightbox_obj_icons_color_likes_comments_count == "gray") ? 'selected="selected"' : ''); ?>>
2865
- Gray
2866
- </option>
2867
- <option
2868
- value="white" <?php echo((isset($row->lightbox_obj_icons_color_likes_comments_count) && $row->lightbox_obj_icons_color_likes_comments_count == "white") ? 'selected="selected"' : ''); ?>>
2869
- White
2870
- </option>
2871
- <option
2872
- value="blue" <?php echo((isset($row->lightbox_obj_icons_color_likes_comments_count) && $row->lightbox_obj_icons_color_likes_comments_count == "blue") ? 'selected="selected"' : ''); ?>>
2873
- Blue
2874
- </option>
2875
- </select>
2876
- </td>
2877
- </tr>
2878
- <tr>
2879
- <td class="spider_label"><label for="lightbox_obj_font_family">Font family: </label>
2880
- </td>
2881
- <td>
2882
- <select name="lightbox_obj_font_family" id="lightbox_obj_font_family">
2883
- <?php
2884
- foreach ($font_families as $key => $font_family) {
2885
- ?>
2886
- <option
2887
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
2888
- <?php
2889
- }
2890
- ?>
2891
- </select>
2892
- </td>
2893
- </tr>
2894
- <tr>
2895
- <td class="spider_label"><label for="lightbox_obj_date_pos">Date position: </label></td>
2896
- <td>
2897
- <select name="lightbox_obj_date_pos" id="lightbox_obj_date_pos">
2898
- <option
2899
- value="before" <?php echo(($row->lightbox_obj_date_pos == "before") ? 'selected="selected"' : ''); ?>>
2900
- Before post author
2901
- </option>
2902
- <option
2903
- value="after" <?php echo(($row->lightbox_obj_date_pos == "after") ? 'selected="selected"' : ''); ?>>
2904
- After post author
2905
- </option>
2906
- <option
2907
- value="bottom" <?php echo(($row->lightbox_obj_date_pos == "bottom") ? 'selected="selected"' : ''); ?>>
2908
- At the bottom of the post
2909
- </option>
2910
- </select>
2911
- </td>
2912
- </tr>
2913
-
2914
- <tr>
2915
- <td class="spider_label"><label for="lightbox_page_name_color">Page(group, profile) name
2916
- color: </label></td>
2917
- <td>
2918
- <input type="text" name="lightbox_page_name_color" id="lightbox_page_name_color"
2919
- value="<?php echo $row->lightbox_page_name_color; ?>" class="color"/>
2920
- </td>
2921
- </tr>
2922
- <tr>
2923
- <td class="spider_label"><label for="lightbox_obj_page_name_size">Page(group, profile)
2924
- name font size: </label></td>
2925
- <td>
2926
- <input type="text" name="lightbox_obj_page_name_size"
2927
- id="lightbox_obj_page_name_size"
2928
- value="<?php echo $row->lightbox_obj_page_name_size; ?>"
2929
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
2930
- </td>
2931
- </tr>
2932
- <tr>
2933
- <td class="spider_label"><label for="lightbox_obj_page_name_font_weight">Page(group,
2934
- profile) name font weight: </label></td>
2935
- <td>
2936
- <select name="lightbox_obj_page_name_font_weight"
2937
- id="lightbox_obj_page_name_weight">
2938
- <?php
2939
- foreach ($font_weights as $key => $font_weight) {
2940
- ?>
2941
- <option
2942
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_page_name_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
2943
- <?php
2944
- }
2945
- ?>
2946
- </select>
2947
- </td>
2948
- </tr>
2949
- <tr>
2950
- <td class="spider_label"><label for="lightbox_obj_story_color">Story color: </label>
2951
- </td>
2952
- <td>
2953
- <input type="text" name="lightbox_obj_story_color" id="lightbox_obj_story_color"
2954
- value="<?php echo $row->lightbox_obj_story_color; ?>" class="color"/>
2955
- </td>
2956
- </tr>
2957
- <tr>
2958
- <td class="spider_label"><label for="lightbox_obj_story_size">Story font size: </label>
2959
- </td>
2960
- <td>
2961
- <input type="text" name="lightbox_obj_story_size" id="lightbox_obj_story_size"
2962
- value="<?php echo $row->lightbox_obj_story_size; ?>" class="spider_int_input"
2963
- onkeypress="return spider_check_isnum(event)"/> px
2964
- </td>
2965
- </tr>
2966
- <tr>
2967
- <td class="spider_label"><label for="lightbox_obj_story_font_weight">Story font
2968
- weight: </label></td>
2969
- <td>
2970
- <select name="lightbox_obj_story_font_weight" id="lightbox_obj_story_font_weight">
2971
- <?php
2972
- foreach ($font_weights as $key => $font_weight) {
2973
- ?>
2974
- <option
2975
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_story_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
2976
- <?php
2977
- }
2978
- ?>
2979
- </select>
2980
- </td>
2981
- </tr>
2982
- <tr>
2983
- <td class="spider_label"><label for="lightbox_obj_place_color">Place color: </label>
2984
- </td>
2985
- <td>
2986
- <input type="text" name="lightbox_obj_place_color" id="lightbox_obj_place_color"
2987
- value="<?php echo $row->lightbox_obj_place_color; ?>" class="color"/>
2988
- </td>
2989
- </tr>
2990
- <tr>
2991
- <td class="spider_label"><label for="lightbox_obj_place_size">Place font size: </label>
2992
- </td>
2993
- <td>
2994
- <input type="text" name="lightbox_obj_place_size" id="lightbox_obj_place_size"
2995
- value="<?php echo $row->lightbox_obj_place_size; ?>" class="spider_int_input"
2996
- onkeypress="return spider_check_isnum(event)"/> px
2997
- </td>
2998
- </tr>
2999
- <tr>
3000
- <td class="spider_label"><label for="lightbox_obj_place_font_weight">Place font
3001
- weight: </label></td>
3002
- <td>
3003
- <select name="lightbox_obj_place_font_weight" id="lightbox_obj_place_font_weight">
3004
- <?php
3005
- foreach ($font_weights as $key => $font_weight) {
3006
- ?>
3007
- <option
3008
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_place_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
3009
- <?php
3010
- }
3011
- ?>
3012
- </select>
3013
- </td>
3014
- </tr>
3015
- <tr>
3016
- <td class="spider_label"><label for="lightbox_obj_name_color">Name color: </label></td>
3017
- <td>
3018
- <input type="text" name="lightbox_obj_name_color" id="lightbox_obj_name_color"
3019
- value="<?php echo $row->lightbox_obj_name_color; ?>" class="color"/>
3020
- </td>
3021
- </tr>
3022
- <tr>
3023
- <td class="spider_label"><label for="lightbox_obj_name_size">Name font size: </label>
3024
- </td>
3025
- <td>
3026
- <input type="text" name="lightbox_obj_name_size" id="lightbox_obj_name_size"
3027
- value="<?php echo $row->lightbox_obj_name_size; ?>" class="spider_int_input"
3028
- onkeypress="return spider_check_isnum(event)"/> px
3029
- </td>
3030
- </tr>
3031
- <tr>
3032
- <td class="spider_label"><label for="lightbox_obj_name_font_weight">Name font
3033
- weight: </label></td>
3034
- <td>
3035
- <select name="lightbox_obj_name_font_weight" id="lightbox_obj_name_font_weight">
3036
- <?php
3037
- foreach ($font_weights as $key => $font_weight) {
3038
- ?>
3039
- <option
3040
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_name_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
3041
- <?php
3042
- }
3043
- ?>
3044
- </select>
3045
- </td>
3046
- </tr>
3047
- </tbody>
3048
- </table>
3049
- </fieldset>
3050
- <fieldset class="spider_child_fieldset" id="Lightbox_4">
3051
- <table style="clear:both;">
3052
- <tbody>
3053
- <tr>
3054
- <td class="spider_label"><label for="lightbox_obj_message_color">Message and description
3055
- color: </label></td>
3056
- <td>
3057
- <input type="text" name="lightbox_obj_message_color" id="lightbox_obj_message_color"
3058
- value="<?php echo $row->lightbox_obj_message_color; ?>" class="color"/>
3059
- </td>
3060
- </tr>
3061
- <tr>
3062
- <td class="spider_label"><label for="lightbox_obj_message_size">Message and description
3063
- font size: </label></td>
3064
- <td>
3065
- <input type="text" name="lightbox_obj_message_size" id="lightbox_obj_message_size"
3066
- value="<?php echo $row->lightbox_obj_message_size; ?>"
3067
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
3068
- </td>
3069
- </tr>
3070
- <tr>
3071
- <td class="spider_label"><label for="lightbox_obj_message_font_weight">Message and
3072
- description font weight: </label></td>
3073
- <td>
3074
- <select name="lightbox_obj_message_font_weight"
3075
- id="lightbox_obj_message_font_weight">
3076
- <?php
3077
- foreach ($font_weights as $key => $font_weight) {
3078
- ?>
3079
- <option
3080
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_message_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
3081
- <?php
3082
- }
3083
- ?>
3084
- </select>
3085
- </td>
3086
- </tr>
3087
- <tr>
3088
- <td class="spider_label"><label for="lightbox_obj_hashtags_color">Hashtags
3089
- color: </label></td>
3090
- <td>
3091
- <input type="text" name="lightbox_obj_hashtags_color"
3092
- id="lightbox_obj_hashtags_color"
3093
- value="<?php echo $row->lightbox_obj_hashtags_color; ?>" class="color"/>
3094
- </td>
3095
- </tr>
3096
- <tr>
3097
- <td class="spider_label"><label for="lightbox_obj_hashtags_size">Hashtags font
3098
- size: </label></td>
3099
- <td>
3100
- <input type="text" name="lightbox_obj_hashtags_size" id="lightbox_obj_hashtags_size"
3101
- value="<?php echo $row->lightbox_obj_hashtags_size; ?>"
3102
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
3103
- </td>
3104
- </tr>
3105
- <tr>
3106
- <td class="spider_label"><label for="lightbox_obj_hashtags_font_weight">Hashtags font
3107
- weight: </label></td>
3108
- <td>
3109
- <select name="lightbox_obj_hashtags_font_weight"
3110
- id="lightbox_obj_hashtags_font_weight">
3111
- <?php
3112
- foreach ($font_weights as $key => $font_weight) {
3113
- ?>
3114
- <option
3115
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_hashtags_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
3116
- <?php
3117
- }
3118
- ?>
3119
- </select>
3120
- </td>
3121
- </tr>
3122
- <tr>
3123
- <td class="spider_label"><label for="lightbox_obj_likes_social_bg_color">Likes(share,
3124
- comment) and social buttons background color: </label></td>
3125
- <td>
3126
- <input type="text" name="lightbox_obj_likes_social_bg_color"
3127
- id="lightbox_obj_likes_social_bg_color"
3128
- value="<?php echo $row->lightbox_obj_likes_social_bg_color; ?>"
3129
- class="color"/>
3130
- </td>
3131
- </tr>
3132
- <tr>
3133
- <td class="spider_label"><label for="lightbox_obj_likes_social_color">Likes(share,
3134
- comment) color: </label></td>
3135
- <td>
3136
- <input type="text" name="lightbox_obj_likes_social_color"
3137
- id="lightbox_obj_likes_social_color"
3138
- value="<?php echo $row->lightbox_obj_likes_social_color; ?>" class="color"/>
3139
- </td>
3140
- </tr>
3141
- <tr>
3142
- <td class="spider_label"><label for="lightbox_obj_likes_social_size">Likes(share,
3143
- comment) and social size: </label></td>
3144
- <td>
3145
- <input type="text" name="lightbox_obj_likes_social_size"
3146
- id="lightbox_obj_likes_social_size"
3147
- value="<?php echo $row->lightbox_obj_likes_social_size; ?>"
3148
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
3149
- </td>
3150
- </tr>
3151
- <tr>
3152
- <td class="spider_label"><label for="lightbox_obj_likes_social_font_weight">Likes(share,
3153
- comment) and social font weight: </label></td>
3154
- <td>
3155
- <select name="lightbox_obj_likes_social_font_weight"
3156
- id="lightbox_obj_likes_social_font_weight">
3157
- <?php
3158
- foreach ($font_weights as $key => $font_weight) {
3159
- ?>
3160
- <option
3161
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_likes_social_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
3162
- <?php
3163
- }
3164
- ?>
3165
- </select>
3166
- </td>
3167
- </tr>
3168
- </tbody>
3169
- </table>
3170
- </fieldset>
3171
- <fieldset class="spider_child_fieldset" id="Lightbox_5">
3172
- <table style="clear:both;">
3173
- <tbody>
3174
- <tr>
3175
- <td class="spider_label"><label for="lightbox_obj_comments_bg_color">Comments background
3176
- color: </label></td>
3177
- <td>
3178
- <input type="text" name="lightbox_obj_comments_bg_color"
3179
- id="lightbox_obj_comments_bg_color"
3180
- value="<?php echo $row->lightbox_obj_comments_bg_color; ?>" class="color"/>
3181
- </td>
3182
- </tr>
3183
- <tr>
3184
- <td class="spider_label"><label for="lightbox_obj_comments_color">Comments
3185
- color: </label></td>
3186
- <td>
3187
- <input type="text" name="lightbox_obj_comments_color"
3188
- id="lightbox_obj_comments_color"
3189
- value="<?php echo $row->lightbox_obj_comments_color; ?>" class="color"/>
3190
- </td>
3191
- </tr>
3192
- <tr>
3193
- <td class="spider_label"><label for="lightbox_obj_comments_font_family">Comments font
3194
- family: </label></td>
3195
- <td>
3196
- <select name="lightbox_obj_comments_font_family"
3197
- id="lightbox_obj_comments_font_family">
3198
- <?php
3199
- foreach ($font_families as $key => $font_family) {
3200
- ?>
3201
- <option
3202
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_comments_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
3203
- <?php
3204
- }
3205
- ?>
3206
- </select>
3207
- </td>
3208
- </tr>
3209
- <tr>
3210
- <td class="spider_label"><label for="lightbox_obj_comments_font_size">Comments font
3211
- size: </label></td>
3212
- <td>
3213
- <input type="text" name="lightbox_obj_comments_font_size"
3214
- id="lightbox_obj_comments_font_size"
3215
- value="<?php echo $row->lightbox_obj_comments_font_size; ?>"
3216
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
3217
- </td>
3218
- </tr>
3219
- <tr>
3220
- <td class="spider_label"><label for="lightbox_obj_users_font_color">Users
3221
- color: </label></td>
3222
- <td>
3223
- <input type="text" name="lightbox_obj_users_font_color"
3224
- id="lightbox_obj_users_font_color"
3225
- value="<?php echo $row->lightbox_obj_users_font_color; ?>" class="color"/>
3226
- </td>
3227
- </tr>
3228
- <tr>
3229
- <td class="spider_label"><label for="lightbox_obj_comments_social_font_weight">Comments
3230
- font weight: </label></td>
3231
- <td>
3232
- <select name="lightbox_obj_comments_social_font_weight"
3233
- id="lightbox_obj_comments_social_font_weight">
3234
- <?php
3235
- foreach ($font_weights as $key => $font_weight) {
3236
- ?>
3237
- <option
3238
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_comments_social_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
3239
- <?php
3240
- }
3241
- ?>
3242
- </select>
3243
- </td>
3244
- </tr>
3245
- <tr>
3246
- <td class="spider_label"><label for="lightbox_obj_comment_border_width">Comment border
3247
- width: </label></td>
3248
- <td>
3249
- <input type="text" name="lightbox_obj_comment_border_width"
3250
- id="lightbox_obj_comment_border_width"
3251
- value="<?php echo $row->lightbox_obj_comment_border_width; ?>"
3252
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
3253
- </td>
3254
- </tr>
3255
- <tr>
3256
- <td class="spider_label"><label for="lightbox_obj_comment_border_style">Comment border
3257
- style: </label></td>
3258
- <td>
3259
- <select name="lightbox_obj_comment_border_style"
3260
- id="lightbox_obj_comment_border_style">
3261
- <?php
3262
- foreach ($border_styles as $key => $border_style) {
3263
- ?>
3264
- <option
3265
- value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_comment_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
3266
- <?php
3267
- }
3268
- ?>
3269
- </select>
3270
- </td>
3271
- </tr>
3272
- <tr>
3273
- <td class="spider_label"><label for="lightbox_obj_comment_border_color">Comment border
3274
- color: </label></td>
3275
- <td>
3276
- <input type="text" name="lightbox_obj_comment_border_color"
3277
- id="lightbox_obj_comment_border_color"
3278
- value="<?php echo $row->lightbox_obj_comment_border_color; ?>"
3279
- class="color"/>
3280
- </td>
3281
- </tr>
3282
- <tr>
3283
- <td class="spider_label"><label for="lightbox_obj_comment_border_type">Comment border
3284
- type: </label></td>
3285
- <td>
3286
- <select name="lightbox_obj_comment_border_type" id="lightbox_border_type">
3287
- <option
3288
- value="all" <?php echo(($row->lightbox_obj_comment_border_type == "all") ? 'selected="selected"' : ''); ?>>
3289
- All
3290
- </option>
3291
- <option
3292
- value="top" <?php echo(($row->lightbox_obj_comment_border_type == "top") ? 'selected="selected"' : ''); ?>>
3293
- Top
3294
- </option>
3295
- <option
3296
- value="right" <?php echo(($row->lightbox_obj_comment_border_type == "right") ? 'selected="selected"' : ''); ?>>
3297
- Right
3298
- </option>
3299
- <option
3300
- value="bottom" <?php echo(($row->lightbox_obj_comment_border_type == "bottom") ? 'selected="selected"' : ''); ?>>
3301
- Bottom
3302
- </option>
3303
- <option
3304
- value="left" <?php echo(($row->lightbox_obj_comment_border_type == "left") ? 'selected="selected"' : ''); ?>>
3305
- Left
3306
- </option>
3307
- </select>
3308
- </td>
3309
- </tr>
3310
- </tbody>
3311
- </table>
3312
- </fieldset>
3313
- </fieldset>
3314
- <fieldset class="spider_type_fieldset" id="Navigation">
3315
- <fieldset class="spider_child_fieldset" id="Navigation_1">
3316
- <table style="clear:both;">
3317
- <tbody>
3318
- <tr>
3319
- <td class="spider_label"><label for="page_nav_font_size">Font size: </label></td>
3320
- <td>
3321
- <input type="text" name="page_nav_font_size" id="page_nav_font_size"
3322
- value="<?php echo $row->page_nav_font_size; ?>" class="spider_int_input"
3323
- onkeypress="return spider_check_isnum(event)"/> px
3324
- </td>
3325
- </tr>
3326
- <tr>
3327
- <td class="spider_label"><label for="page_nav_font_color">Font color: </label></td>
3328
- <td>
3329
- <input type="text" name="page_nav_font_color" id="page_nav_font_color"
3330
- value="<?php echo $row->page_nav_font_color; ?>" class="color"/>
3331
- </td>
3332
- </tr>
3333
- <tr>
3334
- <td class="spider_label"><label for="page_nav_font_style">Font family: </label></td>
3335
- <td>
3336
- <select name="page_nav_font_style" id="page_nav_font_style">
3337
- <?php
3338
- foreach ($font_families as $key => $font_family) {
3339
- ?>
3340
- <option
3341
- value="<?php echo $key; ?>" <?php echo(($row->page_nav_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
3342
- <?php
3343
- }
3344
- ?>
3345
- </select>
3346
- </td>
3347
- </tr>
3348
- <tr>
3349
- <td class="spider_label"><label for="page_nav_font_weight">Font weight: </label></td>
3350
- <td>
3351
- <select name="page_nav_font_weight" id="page_nav_font_weight">
3352
- <?php
3353
- foreach ($font_weights as $key => $font_weight) {
3354
- ?>
3355
- <option
3356
- value="<?php echo $key; ?>" <?php echo(($row->page_nav_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
3357
- <?php
3358
- }
3359
- ?>
3360
- </select>
3361
- </td>
3362
- </tr>
3363
- <tr>
3364
- <td class="spider_label"><label for="page_nav_border_width">Border width: </label></td>
3365
- <td>
3366
- <input type="text" name="page_nav_border_width" id="page_nav_border_width"
3367
- value="<?php echo $row->page_nav_border_width; ?>" class="spider_int_input"
3368
- onkeypress="return spider_check_isnum(event)"/> px
3369
- </td>
3370
- </tr>
3371
- <tr>
3372
- <td class="spider_label"><label for="page_nav_border_style">Border style: </label></td>
3373
- <td>
3374
- <select name="page_nav_border_style" id="page_nav_border_style">
3375
- <?php
3376
- foreach ($border_styles as $key => $border_style) {
3377
- ?>
3378
- <option
3379
- value="<?php echo $key; ?>" <?php echo(($row->page_nav_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
3380
- <?php
3381
- }
3382
- ?>
3383
- </select>
3384
- </td>
3385
- </tr>
3386
- <tr>
3387
- <td class="spider_label"><label for="page_nav_border_color">Border color:</label></td>
3388
- <td>
3389
- <input type="text" name="page_nav_border_color" id="page_nav_border_color"
3390
- value="<?php echo $row->page_nav_border_color; ?>" class="color"/>
3391
- </td>
3392
- </tr>
3393
- <tr>
3394
- <td class="spider_label"><label for="page_nav_border_radius">Border radius: </label>
3395
- </td>
3396
- <td>
3397
- <input type="text" name="page_nav_border_radius" id="page_nav_border_radius"
3398
- value="<?php echo $row->page_nav_border_radius; ?>"
3399
- class="spider_char_input"/>
3400
- <div class="spider_description">Use CSS type values.</div>
3401
- </td>
3402
- </tr>
3403
- </tbody>
3404
- </table>
3405
- </fieldset>
3406
- <fieldset class="spider_child_fieldset" id="Navigation_2" style="display:block">
3407
- <table style="clear:both;">
3408
- <tbody>
3409
- <tr>
3410
- <td class="spider_label"><label for="page_nav_margin">Margin: </label></td>
3411
- <td>
3412
- <input type="text" name="page_nav_margin" id="page_nav_margin"
3413
- value="<?php echo $row->page_nav_margin; ?>" class="spider_char_input"/>
3414
- <div class="spider_description">Use CSS type values.</div>
3415
- </td>
3416
- </tr>
3417
- <tr>
3418
- <td class="spider_label"><label for="page_nav_padding">Padding: </label></td>
3419
- <td>
3420
- <input type="text" name="page_nav_padding" id="page_nav_padding"
3421
- value="<?php echo $row->page_nav_padding; ?>" class="spider_char_input"/>
3422
- <div class="spider_description">Use CSS type values.</div>
3423
- </td>
3424
- </tr>
3425
- <tr>
3426
- <td class="spider_label"><label for="page_nav_button_bg_color">Button background
3427
- color: </label></td>
3428
- <td>
3429
- <input type="text" name="page_nav_button_bg_color" id="page_nav_button_bg_color"
3430
- value="<?php echo $row->page_nav_button_bg_color; ?>" class="color"/>
3431
- </td>
3432
- </tr>
3433
- <tr>
3434
- <td class="spider_label"><label for="page_nav_button_bg_transparent">Button background
3435
- transparency: </label></td>
3436
- <td>
3437
- <input type="text" name="page_nav_button_bg_transparent"
3438
- id="page_nav_button_bg_transparent"
3439
- value="<?php echo $row->page_nav_button_bg_transparent; ?>"
3440
- class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
3441
- <div class="spider_description">Value must be between 0 to 100.</div>
3442
- </td>
3443
- </tr>
3444
- <tr>
3445
- <td class="spider_label"><label>Button transition: </label></td>
3446
- <td>
3447
- <input type="radio" name="page_nav_button_transition"
3448
- id="page_nav_button_transition1"
3449
- value="1"<?php if ($row->page_nav_button_transition == 1) echo 'checked="checked"'; ?> />
3450
- <label for="page_nav_button_transition1"
3451
- id="page_nav_button_transition1_lbl">Yes</label>
3452
- <input type="radio" name="page_nav_button_transition"
3453
- id="page_nav_button_transition0"
3454
- value="0"<?php if ($row->page_nav_button_transition == 0) echo 'checked="checked"'; ?> />
3455
- <label for="page_nav_button_transition0"
3456
- id="page_nav_button_transition0_lbl">No</label>
3457
- </td>
3458
- </tr>
3459
- <tr>
3460
- <td class="spider_label"><label for="page_nav_box_shadow">Box shadow: </label></td>
3461
- <td>
3462
- <input type="text" name="page_nav_box_shadow" id="page_nav_box_shadow"
3463
- value="<?php echo $row->page_nav_box_shadow; ?>" class="spider_box_input"/>
3464
- <div class="spider_description">Use CSS type values.</div>
3465
- </td>
3466
- </tr>
3467
- </tbody>
3468
- </table>
3469
- </fieldset>
3470
- <fieldset class="spider_child_fieldset" id="Navigation_3">
3471
- <table style="clear:both;">
3472
- <tbody>
3473
- <tr>
3474
- <td class="spider_label"><label>Position: </label></td>
3475
- <td id="page_nav_position">
3476
- <input type="radio" name="page_nav_position" id="page_nav_position1"
3477
- value="top"<?php if ($row->page_nav_position == "top") echo 'checked="checked"'; ?> />
3478
- <label for="page_nav_position1" id="page_nav_position1_lbl">Top</label>
3479
- <input type="radio" name="page_nav_position" id="page_nav_position0"
3480
- value="bottom"<?php if ($row->page_nav_position == "bottom") echo 'checked="checked"'; ?> />
3481
- <label for="page_nav_position0" id="page_nav_position0_lbl">Bottom</label>
3482
- </td>
3483
- </tr>
3484
- <tr>
3485
- <td class="spider_label"><label for="page_nav_align0">Alignment: </label></td>
3486
- <td>
3487
- <select name="page_nav_align" id="page_nav_align">
3488
- <?php
3489
- foreach ($aligns as $key => $align) {
3490
- ?>
3491
- <option
3492
- value="<?php echo $key; ?>" <?php echo(($row->page_nav_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
3493
- <?php
3494
- }
3495
- ?>
3496
- </select>
3497
- </td>
3498
- </tr>
3499
- <tr>
3500
- <td class="spider_label"><label>Numbering: </label></td>
3501
- <td>
3502
- <input type="radio" name="page_nav_number" id="page_nav_number1"
3503
- value="1"<?php if ($row->page_nav_number == 1) echo 'checked="checked"'; ?> />
3504
- <label for="page_nav_number1" id="page_nav_number1_lbl">Yes</label>
3505
- <input type="radio" name="page_nav_number" id="page_nav_number0"
3506
- value="0"<?php if ($row->page_nav_number == 0) echo 'checked="checked"'; ?> />
3507
- <label for="page_nav_number0" id="page_nav_number0_lbl">No</label>
3508
- </td>
3509
- </tr>
3510
- <tr>
3511
- <td class="spider_label"><label>Button text: </label></td>
3512
- <td>
3513
- <input type="radio" name="page_nav_button_text" id="page_nav_button_text1"
3514
- value="1"<?php if ($row->page_nav_button_text == 1) echo 'checked="checked"'; ?> />
3515
- <label for="page_nav_button_text1" id="page_nav_button_text1_lbl">Text</label>
3516
- <input type="radio" name="page_nav_button_text" id="page_nav_button_text0"
3517
- value="0"<?php if ($row->page_nav_button_text == 0) echo 'checked="checked"'; ?> />
3518
- <label for="page_nav_button_text0" id="page_nav_button_text0_lbl">Arrow</label>
3519
- <div class="spider_description">Next, previous buttons values.</div>
3520
- </td>
3521
- </tr>
3522
- </tbody>
3523
- </table>
3524
- </fieldset>
3525
- </fieldset>
3526
- </fieldset>
3527
- <input type="hidden" id="task" name="task" value=""/>
3528
- <input type="hidden" id="current_id" name="current_id" value="<?php echo $row->id; ?>"/>
3529
- <input type="hidden" id="default_theme" name="default_theme" value="<?php echo $row->default_theme; ?>"/>
3530
- <script>
3531
- window.onload = bwg_change_theme_type('<?php echo $current_type; ?>');
3532
- </script>
3533
- </form>
3534
- <?php
3535
  }
3536
-
3537
- ////////////////////////////////////////////////////////////////////////////////////////
3538
- // Getters & Setters //
3539
- ////////////////////////////////////////////////////////////////////////////////////////
3540
- ////////////////////////////////////////////////////////////////////////////////////////
3541
- // Private Methods //
3542
- ////////////////////////////////////////////////////////////////////////////////////////
3543
- ////////////////////////////////////////////////////////////////////////////////////////
3544
- // Listeners //
3545
- ////////////////////////////////////////////////////////////////////////////////////////
3546
- }
14
  ?>
15
  <div class="wrap">
16
  <div style="clear: both;float: right;color: #15699F; font-size: 20px; margin-top:10px; padding:8px 15px;">
17
+ <?php _e('This is FREE version, Customizing themes is available only in the PAID version.', 'ffwd'); ?>
18
  </div>
19
  </div>
20
  <img src='<?php echo plugins_url('../../images/themes/thumbnail.png', __FILE__) ?>'/><br>
25
  <img src='<?php echo plugins_url('../../images/themes/pagenav.png', __FILE__) ?>'/><br>
26
  <?php
27
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  }
29
+ }
 
 
 
 
 
 
 
 
 
 
facebook-feed-wd.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: 10Web Social Feed
4
  * Plugin URI: https://10web.io/plugins/wordpress-facebook-feed/?utm_source=facebook_feed&utm_medium=free_plugin
5
  * Description: 10Web Social Feed is a completely customizable, responsive solution to help you display your Facebook feed on your WordPress website.
6
- * Version: 1.2.0
7
  * Author: 10Web
8
  * Author URI: https://10web.io/plugins/?utm_source=facebook_feed&utm_medium=free_plugin
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -15,7 +15,7 @@ define('WD_FFWD_MAIN_FILE', plugin_basename(__FILE__));
15
  define('WD_FB_PREFIX', 'ffwd');
16
  define('WD_FB_IS_FREE', true);
17
  if ( !defined('FFWD_VERSION') ) {
18
- define('FFWD_VERSION', '1.2.0');
19
  }
20
  add_action( 'admin_init', 'ffwd_init' );
21
 
@@ -367,6 +367,7 @@ function ffwd_shortcode($params) {
367
  }
368
 
369
  add_shortcode('WD_FB', 'ffwd_shortcode');
 
370
  $ffwd = 0;
371
  function ffwd_front_end( $params ) {
372
  /* Enqueue css/js in frontend */
3
  * Plugin Name: 10Web Social Feed
4
  * Plugin URI: https://10web.io/plugins/wordpress-facebook-feed/?utm_source=facebook_feed&utm_medium=free_plugin
5
  * Description: 10Web Social Feed is a completely customizable, responsive solution to help you display your Facebook feed on your WordPress website.
6
+ * Version: 1.2.2
7
  * Author: 10Web
8
  * Author URI: https://10web.io/plugins/?utm_source=facebook_feed&utm_medium=free_plugin
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
15
  define('WD_FB_PREFIX', 'ffwd');
16
  define('WD_FB_IS_FREE', true);
17
  if ( !defined('FFWD_VERSION') ) {
18
+ define('FFWD_VERSION', '1.2.2');
19
  }
20
  add_action( 'admin_init', 'ffwd_init' );
21
 
367
  }
368
 
369
  add_shortcode('WD_FB', 'ffwd_shortcode');
370
+
371
  $ffwd = 0;
372
  function ffwd_front_end( $params ) {
373
  /* Enqueue css/js in frontend */
framework/WDFacebookFeed.php CHANGED
@@ -734,13 +734,9 @@ class WDFacebookFeed {
734
  foreach ( $rows as $row ) {
735
  $update_ids[$row->object_id] = $row->id;
736
  }
737
- // max ids count for endpoint is 50
738
- $update_ids_parts = array_chunk($update_ids, 50, TRUE);
739
- foreach ( $update_ids_parts as $update_ids_part ) {
740
- $fb_graph_url_update = $fb_graph_url;
741
- $update_data = self::decap_do_curl($fb_graph_url_update);
742
- self::update_wd_fb_data($update_data, $update_ids_part);
743
- }
744
  }
745
 
746
  $data['data'] = self::complite_timeline($fb_graph_url);
@@ -1874,7 +1870,7 @@ class WDFacebookFeed {
1874
  'scope' => '',
1875
  ), "https://www.facebook.com/dialog/oauth");
1876
 
1877
- $fb_url .= '&state=' . base64_encode(json_encode($state));
1878
  return $fb_url;
1879
  }
1880
 
734
  foreach ( $rows as $row ) {
735
  $update_ids[$row->object_id] = $row->id;
736
  }
737
+ $fb_graph_url_update = $fb_graph_url;
738
+ $update_data = self::decap_do_curl($fb_graph_url_update);
739
+ self::update_wd_fb_data($update_data, $update_ids);
 
 
 
 
740
  }
741
 
742
  $data['data'] = self::complite_timeline($fb_graph_url);
1870
  'scope' => '',
1871
  ), "https://www.facebook.com/dialog/oauth");
1872
 
1873
+ $fb_url .= '&scope=pages_read_engagement,pages_manage_metadata,pages_read_user_content&state=' . base64_encode(json_encode($state));
1874
  return $fb_url;
1875
  }
1876
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: customizable facebook feed, facebook, facebook feed, facebook group, faceb
4
  Requires at least: 3.4
5
  Requires PHP: 5.2
6
  Tested up to: 5.7
7
- Stable tag: 1.2.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -104,6 +104,12 @@ If you think you found a bug in 10Web Facebook Feed or have any problem/question
104
  The plugin uses Facebook API to get public data from Facebook. All the received data is cached in WordPress database for some short customizable period to provide optimization. You can delete or update cached data. You can optionally enable like button for Facebook page. If you do so, Facebook will load some JS and embedded content which may track visitors. Facebook embeds are regulated under terms of Facebook privacy policy https://www.facebook.com/policy.php.
105
 
106
  == Changelog ==
 
 
 
 
 
 
107
  = 1.2.0 =
108
  * Changed: Facebook Graph API v10.0 integration․
109
 
4
  Requires at least: 3.4
5
  Requires PHP: 5.2
6
  Tested up to: 5.7
7
+ Stable tag: 1.2.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
104
  The plugin uses Facebook API to get public data from Facebook. All the received data is cached in WordPress database for some short customizable period to provide optimization. You can delete or update cached data. You can optionally enable like button for Facebook page. If you do so, Facebook will load some JS and embedded content which may track visitors. Facebook embeds are regulated under terms of Facebook privacy policy https://www.facebook.com/policy.php.
105
 
106
  == Changelog ==
107
+ = 1.2.2 =
108
+ * Fixed: Duplicate Facebook posts on auto-update.
109
+
110
+ = 1.2.1 =
111
+ * Fixed: Facebook page connection.
112
+
113
  = 1.2.0 =
114
  * Changed: Facebook Graph API v10.0 integration․
115