Version Description
Download this release
Release Info
Developer | webdorado |
Plugin | WD Facebook Feed – Custom Facebook Feed Plugin |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
- admin/controllers/FFWDControllerFFWDShortcode.php +53 -53
- admin/controllers/FFWDControllerInfo_ffwd.php +237 -237
- admin/controllers/FFWDControllerOptions_ffwd.php +110 -110
- admin/controllers/FFWDControllerThemes_ffwd.php +492 -492
- admin/controllers/FFWDControllerUninstall_ffwd.php +61 -61
- admin/controllers/FFWDControllerWidget.php +64 -64
- admin/models/FFWDModelFFWDShortcode.php +45 -45
- admin/models/FFWDModelInfo_ffwd.php +470 -470
- admin/models/FFWDModelOptions_ffwd.php +280 -280
- admin/models/FFWDModelThemes_ffwd.php +391 -391
- admin/models/FFWDModelUninstall_ffwd.php +38 -38
- admin/models/FFWDModelWidget.php +49 -49
- admin/views/FFWDViewFFWDShortcode.php +196 -196
- admin/views/FFWDViewInfo_ffwd.php +2417 -2416
- admin/views/FFWDViewLicensing_ffwd.php +1 -1
- admin/views/FFWDViewOptions_ffwd.php +214 -214
- admin/views/FFWDViewThemes_ffwd.php +2954 -3433
admin/controllers/FFWDControllerFFWDShortcode.php
CHANGED
@@ -1,54 +1,54 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class FFWDControllerFFWDShortcode {
|
4 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
-
// Events //
|
6 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
-
// Constants //
|
9 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
-
// Variables //
|
12 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
-
// Constructor & Destructor //
|
15 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
-
public function __construct() {
|
17 |
-
}
|
18 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
-
// Public Methods //
|
20 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
-
public function execute() {
|
22 |
-
$task = WDW_FFWD_Library::get('task');
|
23 |
-
$from_menu = ((isset($_GET['page']) && (esc_html($_GET['page']) == 'FFWDShortcode')) ? TRUE : FALSE);
|
24 |
-
if($task != '' && $from_menu){
|
25 |
-
if(!WDW_FFWD_Library::verify_nonce('FFWDShortcode')){
|
26 |
-
die('Sorry, your nonce did not verify.');
|
27 |
-
}
|
28 |
-
}
|
29 |
-
if (method_exists($this, $task)) {
|
30 |
-
$this->$task();
|
31 |
-
}
|
32 |
-
$this->display();
|
33 |
-
}
|
34 |
-
|
35 |
-
public function display() {
|
36 |
-
require_once WD_FFWD_DIR . "/admin/models/FFWDModelFFWDShortcode.php";
|
37 |
-
$model = new FFWDModelFFWDShortcode();
|
38 |
-
|
39 |
-
require_once WD_FFWD_DIR . "/admin/views/FFWDViewFFWDShortcode.php";
|
40 |
-
$view = new FFWDViewFFWDShortcode($model);
|
41 |
-
$view->display();
|
42 |
-
}
|
43 |
-
|
44 |
-
|
45 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
46 |
-
// Getters & Setters //
|
47 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
48 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
49 |
-
// Private Methods //
|
50 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
51 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
52 |
-
// Listeners //
|
53 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
54 |
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FFWDControllerFFWDShortcode {
|
4 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
+
// Events //
|
6 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
+
// Constants //
|
9 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
+
// Variables //
|
12 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
+
// Constructor & Destructor //
|
15 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
+
public function __construct() {
|
17 |
+
}
|
18 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
+
// Public Methods //
|
20 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
+
public function execute() {
|
22 |
+
$task = WDW_FFWD_Library::get('task');
|
23 |
+
$from_menu = ((isset($_GET['page']) && (esc_html($_GET['page']) == 'FFWDShortcode')) ? TRUE : FALSE);
|
24 |
+
if($task != '' && $from_menu){
|
25 |
+
if(!WDW_FFWD_Library::verify_nonce('FFWDShortcode')){
|
26 |
+
die('Sorry, your nonce did not verify.');
|
27 |
+
}
|
28 |
+
}
|
29 |
+
if (method_exists($this, $task)) {
|
30 |
+
$this->$task();
|
31 |
+
}
|
32 |
+
$this->display();
|
33 |
+
}
|
34 |
+
|
35 |
+
public function display() {
|
36 |
+
require_once WD_FFWD_DIR . "/admin/models/FFWDModelFFWDShortcode.php";
|
37 |
+
$model = new FFWDModelFFWDShortcode();
|
38 |
+
|
39 |
+
require_once WD_FFWD_DIR . "/admin/views/FFWDViewFFWDShortcode.php";
|
40 |
+
$view = new FFWDViewFFWDShortcode($model);
|
41 |
+
$view->display();
|
42 |
+
}
|
43 |
+
|
44 |
+
|
45 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
46 |
+
// Getters & Setters //
|
47 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
48 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
49 |
+
// Private Methods //
|
50 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
51 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
52 |
+
// Listeners //
|
53 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
54 |
}
|
admin/controllers/FFWDControllerInfo_ffwd.php
CHANGED
@@ -1,238 +1,238 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class FFWDControllerInfo_ffwd {
|
4 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
-
// Events //
|
6 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
-
// Constants //
|
9 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
-
// Variables //
|
12 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
-
// Constructor & Destructor //
|
15 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
-
public function __construct() {
|
17 |
-
}
|
18 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
-
// Public Methods //
|
20 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
-
public function execute() {
|
22 |
-
$task = ((isset($_REQUEST['task'])) ? esc_html(stripslashes($_REQUEST['task'])) : '');
|
23 |
-
$id = ((isset($_REQUEST['current_id'])) ? esc_html(stripslashes($_REQUEST['current_id'])) : 0);
|
24 |
-
if($task != ''){
|
25 |
-
if(!WDW_FFWD_Library::verify_nonce('info_ffwd')){
|
26 |
-
die('Sorry, your nonce did not verify.');
|
27 |
-
}
|
28 |
-
}
|
29 |
-
|
30 |
-
if (method_exists($this, $task)) {
|
31 |
-
$this->$task($id);
|
32 |
-
}
|
33 |
-
else {
|
34 |
-
$this->display();
|
35 |
-
}
|
36 |
-
}
|
37 |
-
|
38 |
-
public function display() {
|
39 |
-
require_once WD_FFWD_DIR . "/admin/models/FFWDModelInfo_ffwd.php";
|
40 |
-
$model = new FFWDModelInfo_ffwd();
|
41 |
-
|
42 |
-
require_once WD_FFWD_DIR . "/admin/views/FFWDViewInfo_ffwd.php";
|
43 |
-
$view = new FFWDViewInfo_ffwd($model);
|
44 |
-
//$this->delete_unknown_images();
|
45 |
-
$view->display();
|
46 |
-
}
|
47 |
-
|
48 |
-
public function add() {
|
49 |
-
require_once WD_FFWD_DIR . "/admin/models/FFWDModelInfo_ffwd.php";
|
50 |
-
$model = new FFWDModelInfo_ffwd();
|
51 |
-
|
52 |
-
require_once WD_FFWD_DIR . "/admin/views/FFWDViewInfo_ffwd.php";
|
53 |
-
$view = new FFWDViewInfo_ffwd($model);
|
54 |
-
$view->edit(0);
|
55 |
-
}
|
56 |
-
|
57 |
-
public function edit() {
|
58 |
-
require_once WD_FFWD_DIR . "/admin/models/FFWDModelInfo_ffwd.php";
|
59 |
-
$model = new FFWDModelInfo_ffwd();
|
60 |
-
|
61 |
-
require_once WD_FFWD_DIR . "/admin/views/FFWDViewInfo_ffwd.php";
|
62 |
-
$view = new FFWDViewInfo_ffwd($model);
|
63 |
-
$id = ((isset($_POST['current_id']) && esc_html(stripslashes($_POST['current_id'])) != '') ? esc_html(stripslashes($_POST['current_id'])) : 0);
|
64 |
-
$view->edit($id);
|
65 |
-
}
|
66 |
-
|
67 |
-
public function save() {
|
68 |
-
$this->display();
|
69 |
-
echo WDW_FFWD_Library::message('Item Succesfully Saved.', 'updated');
|
70 |
-
}
|
71 |
-
|
72 |
-
public function bwg_get_unique_name($name, $id) {
|
73 |
-
global $wpdb;
|
74 |
-
if ($id != 0) {
|
75 |
-
$query = $wpdb->prepare("SELECT name FROM " . $wpdb->prefix . "bwg_gallery WHERE name = %s AND id != %d", $name, $id);
|
76 |
-
}
|
77 |
-
else {
|
78 |
-
$query = $wpdb->prepare("SELECT name FROM " . $wpdb->prefix . "bwg_gallery WHERE name = %s", $name);
|
79 |
-
}
|
80 |
-
if ($wpdb->get_var($query)) {
|
81 |
-
$num = 2;
|
82 |
-
do {
|
83 |
-
$alt_name = $name . "-$num";
|
84 |
-
$num++;
|
85 |
-
$slug_check = $wpdb->get_var($wpdb->prepare("SELECT name FROM " . $wpdb->prefix . "bwg_gallery WHERE name = %s", $alt_name));
|
86 |
-
} while ($slug_check);
|
87 |
-
$name = $alt_name;
|
88 |
-
}
|
89 |
-
return $name;
|
90 |
-
}
|
91 |
-
|
92 |
-
public function save_order($flag = TRUE) {
|
93 |
-
global $wpdb;
|
94 |
-
$gallery_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'wd_fb_info');
|
95 |
-
if ($gallery_ids_col) {
|
96 |
-
foreach ($gallery_ids_col as $gallery_id) {
|
97 |
-
if (isset($_POST['order_input_' . $gallery_id])) {
|
98 |
-
$order_values[$gallery_id] = (int) $_POST['order_input_' . $gallery_id];
|
99 |
-
}
|
100 |
-
else {
|
101 |
-
$order_values[$gallery_id] = (int) $wpdb->get_var($wpdb->prepare('SELECT `order` FROM ' . $wpdb->prefix . 'wd_fb_info WHERE `id`="%d"', $gallery_id));
|
102 |
-
}
|
103 |
-
}
|
104 |
-
asort($order_values);
|
105 |
-
$i = 1;
|
106 |
-
foreach ($order_values as $key => $order_value) {
|
107 |
-
$wpdb->update($wpdb->prefix . 'wd_fb_info', array('order' => $i), array('id' => $key));
|
108 |
-
$i++;
|
109 |
-
}
|
110 |
-
if ($flag) {
|
111 |
-
echo WDW_FFWD_Library::message('Ordering Succesfully Saved.', 'updated');
|
112 |
-
}
|
113 |
-
}
|
114 |
-
$this->display();
|
115 |
-
}
|
116 |
-
|
117 |
-
public function delete($id) {
|
118 |
-
global $wpdb;
|
119 |
-
$query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'wd_fb_info WHERE id="%d"', $id);
|
120 |
-
$fb_data = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'wd_fb_data WHERE fb_id="%d"', $id);
|
121 |
-
if ($wpdb->query($query)) {
|
122 |
-
$wpdb->query($fb_data);
|
123 |
-
echo WDW_FFWD_Library::message('Item Succesfully Deleted.', 'updated');
|
124 |
-
}
|
125 |
-
else {
|
126 |
-
echo WDW_FFWD_Library::message('Error. Please install plugin again.', 'error');
|
127 |
-
}
|
128 |
-
$this->display();
|
129 |
-
}
|
130 |
-
|
131 |
-
public function delete_all() {
|
132 |
-
global $wpdb;
|
133 |
-
$flag = FALSE;
|
134 |
-
$fb_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'wd_fb_info');
|
135 |
-
foreach ($fb_ids_col as $fb_id) {
|
136 |
-
if (isset($_POST['check_' . $fb_id]) || isset($_POST['check_all_items'])) {
|
137 |
-
$flag = TRUE;
|
138 |
-
$query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'wd_fb_info WHERE id="%d"', $fb_id);
|
139 |
-
$wpdb->query($query);
|
140 |
-
$query_image = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'wd_fb_data WHERE fb_id="%d"', $fb_id);
|
141 |
-
$wpdb->query($query_image);
|
142 |
-
// $query_album_gallery = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_album_gallery WHERE alb_gal_id="%d" AND is_album="%d"', $fb_id, 0);
|
143 |
-
// $wpdb->query($query_album_gallery);
|
144 |
-
}
|
145 |
-
}
|
146 |
-
if ($flag) {
|
147 |
-
echo WDW_FFWD_Library::message('Items Succesfully Deleted.', 'updated');
|
148 |
-
}
|
149 |
-
else {
|
150 |
-
echo WDW_FFWD_Library::message('You must select at least one item.', 'error');
|
151 |
-
}
|
152 |
-
$this->display();
|
153 |
-
}
|
154 |
-
|
155 |
-
public function publish($id) {
|
156 |
-
global $wpdb;
|
157 |
-
$save = $wpdb->update($wpdb->prefix . 'wd_fb_info', array('published' => 1), array('id' => $id));
|
158 |
-
if ($save !== FALSE) {
|
159 |
-
echo WDW_FFWD_Library::message('Item Succesfully Published.', 'updated');
|
160 |
-
}
|
161 |
-
else {
|
162 |
-
echo WDW_FFWD_Library::message('Error. Please install plugin again.', 'error');
|
163 |
-
}
|
164 |
-
$this->display();
|
165 |
-
}
|
166 |
-
|
167 |
-
public function publish_all() {
|
168 |
-
global $wpdb;
|
169 |
-
$flag = FALSE;
|
170 |
-
if (isset($_POST['check_all_items'])) {
|
171 |
-
$wpdb->query('UPDATE ' . $wpdb->prefix . 'wd_fb_info SET published=1');
|
172 |
-
$flag = TRUE;
|
173 |
-
}
|
174 |
-
else {
|
175 |
-
$gal_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'wd_fb_info');
|
176 |
-
foreach ($gal_ids_col as $gal_id) {
|
177 |
-
if (isset($_POST['check_' . $gal_id])) {
|
178 |
-
$flag = TRUE;
|
179 |
-
$wpdb->update($wpdb->prefix . 'wd_fb_info', array('published' => 1), array('id' => $gal_id));
|
180 |
-
}
|
181 |
-
}
|
182 |
-
}
|
183 |
-
if ($flag) {
|
184 |
-
echo WDW_FFWD_Library::message('Items Succesfully Published.', 'updated');
|
185 |
-
}
|
186 |
-
else {
|
187 |
-
echo WDW_FFWD_Library::message('You must select at least one item.', 'error');
|
188 |
-
}
|
189 |
-
$this->display();
|
190 |
-
}
|
191 |
-
|
192 |
-
public function unpublish($id) {
|
193 |
-
global $wpdb;
|
194 |
-
$save = $wpdb->update($wpdb->prefix . 'wd_fb_info', array('published' => 0), array('id' => $id));
|
195 |
-
if ($save !== FALSE) {
|
196 |
-
echo WDW_FFWD_Library::message('Item Succesfully Unpublished.', 'updated');
|
197 |
-
}
|
198 |
-
else {
|
199 |
-
echo WDW_FFWD_Library::message('Error. Please install plugin again.', 'error');
|
200 |
-
}
|
201 |
-
$this->display();
|
202 |
-
}
|
203 |
-
|
204 |
-
public function unpublish_all() {
|
205 |
-
global $wpdb;
|
206 |
-
$flag = FALSE;
|
207 |
-
if (isset($_POST['check_all_items'])) {
|
208 |
-
$wpdb->query('UPDATE ' . $wpdb->prefix . 'wd_fb_info SET published=0');
|
209 |
-
$flag = TRUE;
|
210 |
-
}
|
211 |
-
else {
|
212 |
-
$gal_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'wd_fb_info');
|
213 |
-
foreach ($gal_ids_col as $gal_id) {
|
214 |
-
if (isset($_POST['check_' . $gal_id])) {
|
215 |
-
$flag = TRUE;
|
216 |
-
$wpdb->update($wpdb->prefix . 'wd_fb_info', array('published' => 0), array('id' => $gal_id));
|
217 |
-
}
|
218 |
-
}
|
219 |
-
}
|
220 |
-
if ($flag) {
|
221 |
-
echo WDW_FFWD_Library::message('Items Succesfully Unpublished.', 'updated');
|
222 |
-
}
|
223 |
-
else {
|
224 |
-
echo WDW_FFWD_Library::message('You must select at least one item.', 'error');
|
225 |
-
}
|
226 |
-
$this->display();
|
227 |
-
}
|
228 |
-
|
229 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
230 |
-
// Getters & Setters //
|
231 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
232 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
233 |
-
// Private Methods //
|
234 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
235 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
236 |
-
// Listeners //
|
237 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
238 |
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FFWDControllerInfo_ffwd {
|
4 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
+
// Events //
|
6 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
+
// Constants //
|
9 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
+
// Variables //
|
12 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
+
// Constructor & Destructor //
|
15 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
+
public function __construct() {
|
17 |
+
}
|
18 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
+
// Public Methods //
|
20 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
+
public function execute() {
|
22 |
+
$task = ((isset($_REQUEST['task'])) ? esc_html(stripslashes($_REQUEST['task'])) : '');
|
23 |
+
$id = ((isset($_REQUEST['current_id'])) ? esc_html(stripslashes($_REQUEST['current_id'])) : 0);
|
24 |
+
if($task != ''){
|
25 |
+
if(!WDW_FFWD_Library::verify_nonce('info_ffwd')){
|
26 |
+
die('Sorry, your nonce did not verify.');
|
27 |
+
}
|
28 |
+
}
|
29 |
+
|
30 |
+
if (method_exists($this, $task)) {
|
31 |
+
$this->$task($id);
|
32 |
+
}
|
33 |
+
else {
|
34 |
+
$this->display();
|
35 |
+
}
|
36 |
+
}
|
37 |
+
|
38 |
+
public function display() {
|
39 |
+
require_once WD_FFWD_DIR . "/admin/models/FFWDModelInfo_ffwd.php";
|
40 |
+
$model = new FFWDModelInfo_ffwd();
|
41 |
+
|
42 |
+
require_once WD_FFWD_DIR . "/admin/views/FFWDViewInfo_ffwd.php";
|
43 |
+
$view = new FFWDViewInfo_ffwd($model);
|
44 |
+
//$this->delete_unknown_images();
|
45 |
+
$view->display();
|
46 |
+
}
|
47 |
+
|
48 |
+
public function add() {
|
49 |
+
require_once WD_FFWD_DIR . "/admin/models/FFWDModelInfo_ffwd.php";
|
50 |
+
$model = new FFWDModelInfo_ffwd();
|
51 |
+
|
52 |
+
require_once WD_FFWD_DIR . "/admin/views/FFWDViewInfo_ffwd.php";
|
53 |
+
$view = new FFWDViewInfo_ffwd($model);
|
54 |
+
$view->edit(0);
|
55 |
+
}
|
56 |
+
|
57 |
+
public function edit() {
|
58 |
+
require_once WD_FFWD_DIR . "/admin/models/FFWDModelInfo_ffwd.php";
|
59 |
+
$model = new FFWDModelInfo_ffwd();
|
60 |
+
|
61 |
+
require_once WD_FFWD_DIR . "/admin/views/FFWDViewInfo_ffwd.php";
|
62 |
+
$view = new FFWDViewInfo_ffwd($model);
|
63 |
+
$id = ((isset($_POST['current_id']) && esc_html(stripslashes($_POST['current_id'])) != '') ? esc_html(stripslashes($_POST['current_id'])) : 0);
|
64 |
+
$view->edit($id);
|
65 |
+
}
|
66 |
+
|
67 |
+
public function save() {
|
68 |
+
$this->display();
|
69 |
+
echo WDW_FFWD_Library::message('Item Succesfully Saved.', 'updated');
|
70 |
+
}
|
71 |
+
|
72 |
+
public function bwg_get_unique_name($name, $id) {
|
73 |
+
global $wpdb;
|
74 |
+
if ($id != 0) {
|
75 |
+
$query = $wpdb->prepare("SELECT name FROM " . $wpdb->prefix . "bwg_gallery WHERE name = %s AND id != %d", $name, $id);
|
76 |
+
}
|
77 |
+
else {
|
78 |
+
$query = $wpdb->prepare("SELECT name FROM " . $wpdb->prefix . "bwg_gallery WHERE name = %s", $name);
|
79 |
+
}
|
80 |
+
if ($wpdb->get_var($query)) {
|
81 |
+
$num = 2;
|
82 |
+
do {
|
83 |
+
$alt_name = $name . "-$num";
|
84 |
+
$num++;
|
85 |
+
$slug_check = $wpdb->get_var($wpdb->prepare("SELECT name FROM " . $wpdb->prefix . "bwg_gallery WHERE name = %s", $alt_name));
|
86 |
+
} while ($slug_check);
|
87 |
+
$name = $alt_name;
|
88 |
+
}
|
89 |
+
return $name;
|
90 |
+
}
|
91 |
+
|
92 |
+
public function save_order($flag = TRUE) {
|
93 |
+
global $wpdb;
|
94 |
+
$gallery_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'wd_fb_info');
|
95 |
+
if ($gallery_ids_col) {
|
96 |
+
foreach ($gallery_ids_col as $gallery_id) {
|
97 |
+
if (isset($_POST['order_input_' . $gallery_id])) {
|
98 |
+
$order_values[$gallery_id] = (int) $_POST['order_input_' . $gallery_id];
|
99 |
+
}
|
100 |
+
else {
|
101 |
+
$order_values[$gallery_id] = (int) $wpdb->get_var($wpdb->prepare('SELECT `order` FROM ' . $wpdb->prefix . 'wd_fb_info WHERE `id`="%d"', $gallery_id));
|
102 |
+
}
|
103 |
+
}
|
104 |
+
asort($order_values);
|
105 |
+
$i = 1;
|
106 |
+
foreach ($order_values as $key => $order_value) {
|
107 |
+
$wpdb->update($wpdb->prefix . 'wd_fb_info', array('order' => $i), array('id' => $key));
|
108 |
+
$i++;
|
109 |
+
}
|
110 |
+
if ($flag) {
|
111 |
+
echo WDW_FFWD_Library::message('Ordering Succesfully Saved.', 'updated');
|
112 |
+
}
|
113 |
+
}
|
114 |
+
$this->display();
|
115 |
+
}
|
116 |
+
|
117 |
+
public function delete($id) {
|
118 |
+
global $wpdb;
|
119 |
+
$query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'wd_fb_info WHERE id="%d"', $id);
|
120 |
+
$fb_data = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'wd_fb_data WHERE fb_id="%d"', $id);
|
121 |
+
if ($wpdb->query($query)) {
|
122 |
+
$wpdb->query($fb_data);
|
123 |
+
echo WDW_FFWD_Library::message('Item Succesfully Deleted.', 'updated');
|
124 |
+
}
|
125 |
+
else {
|
126 |
+
echo WDW_FFWD_Library::message('Error. Please install plugin again.', 'error');
|
127 |
+
}
|
128 |
+
$this->display();
|
129 |
+
}
|
130 |
+
|
131 |
+
public function delete_all() {
|
132 |
+
global $wpdb;
|
133 |
+
$flag = FALSE;
|
134 |
+
$fb_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'wd_fb_info');
|
135 |
+
foreach ($fb_ids_col as $fb_id) {
|
136 |
+
if (isset($_POST['check_' . $fb_id]) || isset($_POST['check_all_items'])) {
|
137 |
+
$flag = TRUE;
|
138 |
+
$query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'wd_fb_info WHERE id="%d"', $fb_id);
|
139 |
+
$wpdb->query($query);
|
140 |
+
$query_image = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'wd_fb_data WHERE fb_id="%d"', $fb_id);
|
141 |
+
$wpdb->query($query_image);
|
142 |
+
// $query_album_gallery = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'bwg_album_gallery WHERE alb_gal_id="%d" AND is_album="%d"', $fb_id, 0);
|
143 |
+
// $wpdb->query($query_album_gallery);
|
144 |
+
}
|
145 |
+
}
|
146 |
+
if ($flag) {
|
147 |
+
echo WDW_FFWD_Library::message('Items Succesfully Deleted.', 'updated');
|
148 |
+
}
|
149 |
+
else {
|
150 |
+
echo WDW_FFWD_Library::message('You must select at least one item.', 'error');
|
151 |
+
}
|
152 |
+
$this->display();
|
153 |
+
}
|
154 |
+
|
155 |
+
public function publish($id) {
|
156 |
+
global $wpdb;
|
157 |
+
$save = $wpdb->update($wpdb->prefix . 'wd_fb_info', array('published' => 1), array('id' => $id));
|
158 |
+
if ($save !== FALSE) {
|
159 |
+
echo WDW_FFWD_Library::message('Item Succesfully Published.', 'updated');
|
160 |
+
}
|
161 |
+
else {
|
162 |
+
echo WDW_FFWD_Library::message('Error. Please install plugin again.', 'error');
|
163 |
+
}
|
164 |
+
$this->display();
|
165 |
+
}
|
166 |
+
|
167 |
+
public function publish_all() {
|
168 |
+
global $wpdb;
|
169 |
+
$flag = FALSE;
|
170 |
+
if (isset($_POST['check_all_items'])) {
|
171 |
+
$wpdb->query('UPDATE ' . $wpdb->prefix . 'wd_fb_info SET published=1');
|
172 |
+
$flag = TRUE;
|
173 |
+
}
|
174 |
+
else {
|
175 |
+
$gal_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'wd_fb_info');
|
176 |
+
foreach ($gal_ids_col as $gal_id) {
|
177 |
+
if (isset($_POST['check_' . $gal_id])) {
|
178 |
+
$flag = TRUE;
|
179 |
+
$wpdb->update($wpdb->prefix . 'wd_fb_info', array('published' => 1), array('id' => $gal_id));
|
180 |
+
}
|
181 |
+
}
|
182 |
+
}
|
183 |
+
if ($flag) {
|
184 |
+
echo WDW_FFWD_Library::message('Items Succesfully Published.', 'updated');
|
185 |
+
}
|
186 |
+
else {
|
187 |
+
echo WDW_FFWD_Library::message('You must select at least one item.', 'error');
|
188 |
+
}
|
189 |
+
$this->display();
|
190 |
+
}
|
191 |
+
|
192 |
+
public function unpublish($id) {
|
193 |
+
global $wpdb;
|
194 |
+
$save = $wpdb->update($wpdb->prefix . 'wd_fb_info', array('published' => 0), array('id' => $id));
|
195 |
+
if ($save !== FALSE) {
|
196 |
+
echo WDW_FFWD_Library::message('Item Succesfully Unpublished.', 'updated');
|
197 |
+
}
|
198 |
+
else {
|
199 |
+
echo WDW_FFWD_Library::message('Error. Please install plugin again.', 'error');
|
200 |
+
}
|
201 |
+
$this->display();
|
202 |
+
}
|
203 |
+
|
204 |
+
public function unpublish_all() {
|
205 |
+
global $wpdb;
|
206 |
+
$flag = FALSE;
|
207 |
+
if (isset($_POST['check_all_items'])) {
|
208 |
+
$wpdb->query('UPDATE ' . $wpdb->prefix . 'wd_fb_info SET published=0');
|
209 |
+
$flag = TRUE;
|
210 |
+
}
|
211 |
+
else {
|
212 |
+
$gal_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'wd_fb_info');
|
213 |
+
foreach ($gal_ids_col as $gal_id) {
|
214 |
+
if (isset($_POST['check_' . $gal_id])) {
|
215 |
+
$flag = TRUE;
|
216 |
+
$wpdb->update($wpdb->prefix . 'wd_fb_info', array('published' => 0), array('id' => $gal_id));
|
217 |
+
}
|
218 |
+
}
|
219 |
+
}
|
220 |
+
if ($flag) {
|
221 |
+
echo WDW_FFWD_Library::message('Items Succesfully Unpublished.', 'updated');
|
222 |
+
}
|
223 |
+
else {
|
224 |
+
echo WDW_FFWD_Library::message('You must select at least one item.', 'error');
|
225 |
+
}
|
226 |
+
$this->display();
|
227 |
+
}
|
228 |
+
|
229 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
230 |
+
// Getters & Setters //
|
231 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
232 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
233 |
+
// Private Methods //
|
234 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
235 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
236 |
+
// Listeners //
|
237 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
238 |
}
|
admin/controllers/FFWDControllerOptions_ffwd.php
CHANGED
@@ -1,110 +1,110 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class FFWDControllerOptions_ffwd {
|
4 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
-
// Events //
|
6 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
-
// Constants //
|
9 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
-
// Variables //
|
12 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
-
// Constructor & Destructor //
|
15 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
-
public function __construct() {
|
17 |
-
}
|
18 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
-
// Public Methods //
|
20 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
-
public function execute() {
|
22 |
-
$task = ((isset($_POST['task'])) ? esc_html(stripslashes($_POST['task'])) : '');
|
23 |
-
$id = ((isset($_POST['current_id'])) ? esc_html(stripslashes($_POST['current_id'])) : 0);
|
24 |
-
if($task != ''){
|
25 |
-
if(!WDW_FFWD_Library::verify_nonce('options_ffwd')){
|
26 |
-
die('Sorry, your nonce did not verify.');
|
27 |
-
}
|
28 |
-
}
|
29 |
-
if (method_exists($this, $task)) {
|
30 |
-
$this->$task($id);
|
31 |
-
}
|
32 |
-
else {
|
33 |
-
$this->display();
|
34 |
-
}
|
35 |
-
}
|
36 |
-
|
37 |
-
public function display() {
|
38 |
-
require_once WD_FFWD_DIR . "/admin/models/FFWDModelOptions_ffwd.php";
|
39 |
-
$model = new FFWDModelOptions_ffwd();
|
40 |
-
|
41 |
-
require_once WD_FFWD_DIR . "/admin/views/FFWDViewOptions_ffwd.php";
|
42 |
-
$view = new FFWDViewOptions_ffwd($model);
|
43 |
-
$view->display();
|
44 |
-
}
|
45 |
-
|
46 |
-
public function reset() {
|
47 |
-
require_once WD_FFWD_DIR . "/admin/models/FFWDModelOptions_ffwd.php";
|
48 |
-
$model = new FFWDModelOptions_ffwd();
|
49 |
-
|
50 |
-
require_once WD_FFWD_DIR . "/admin/views/FFWDViewOptions_ffwd.php";
|
51 |
-
$view = new FFWDViewOptions_ffwd($model);
|
52 |
-
echo WDW_FFWD_Library::message('Changes must be saved.', 'error');
|
53 |
-
$view->display(true);
|
54 |
-
}
|
55 |
-
|
56 |
-
public function save() {
|
57 |
-
$this->save_db();
|
58 |
-
$this->display();
|
59 |
-
}
|
60 |
-
|
61 |
-
public function save_db() {
|
62 |
-
//facebook user_id pahel autoupdate_interval
|
63 |
-
global $wpdb;
|
64 |
-
$id = 1;
|
65 |
-
$autoupdate_interval = (isset($_POST['autoupdate_interval_hour']) && isset($_POST['autoupdate_interval_min']) ? ((int) $_POST['autoupdate_interval_hour'] * 60 + (int) $_POST['autoupdate_interval_min']) : 30);
|
66 |
-
/*minimum autoupdate interval is 1 min*/
|
67 |
-
$autoupdate_interval = ($autoupdate_interval >= 1 ? $autoupdate_interval : 1 );
|
68 |
-
$facebook_app_id = (isset($_POST[WD_FB_PREFIX . '_app_id']) ? esc_html(stripslashes($_POST[WD_FB_PREFIX . '_app_id'])) : '');
|
69 |
-
$facebook_app_secret = (isset($_POST[ WD_FB_PREFIX . '_app_secret']) ? esc_html(stripslashes($_POST[WD_FB_PREFIX . '_app_secret'])) : '');
|
70 |
-
$date_timezone = (isset($_POST[ WD_FB_PREFIX . '_date_timezone']) ? esc_html(stripslashes($_POST[WD_FB_PREFIX . '_date_timezone'])) : 'Pacific/Midway');
|
71 |
-
$post_date_format = (isset($_POST[ WD_FB_PREFIX . '_post_date_format']) ? esc_html(stripslashes($_POST[WD_FB_PREFIX . '_post_date_format'])) : 'Pacific/Midway');
|
72 |
-
$event_date_format = (isset($_POST[ WD_FB_PREFIX . '_event_date_format']) ? esc_html(stripslashes($_POST[WD_FB_PREFIX . '_event_date_format'])) : 'Pacific/Midway');
|
73 |
-
$save = $wpdb->update($wpdb->prefix . 'wd_fb_option', array(
|
74 |
-
'autoupdate_interval' => $autoupdate_interval,
|
75 |
-
'app_id' => $facebook_app_id,
|
76 |
-
'app_secret' => $facebook_app_secret,
|
77 |
-
'date_timezone' => $date_timezone,
|
78 |
-
'post_date_format' => $post_date_format,
|
79 |
-
'event_date_format' =>$event_date_format,
|
80 |
-
), array('id' => 1));
|
81 |
-
|
82 |
-
if ($save !== FALSE) {
|
83 |
-
echo WDW_FFWD_Library::message('Item Succesfully Saved.', 'updated');
|
84 |
-
/*
|
85 |
-
* Clear hook for scheduled events,
|
86 |
-
* refresh filter according to new time interval,
|
87 |
-
* then add new schedule with the same hook name
|
88 |
-
*/
|
89 |
-
wp_clear_scheduled_hook( 'wd_fb_schedule_event_hook' );
|
90 |
-
remove_filter( 'cron_schedules', 'wd_fb_add_autoupdate_interval' );
|
91 |
-
add_filter( 'cron_schedules', 'wd_fb_add_autoupdate_interval' );
|
92 |
-
wp_schedule_event( time(), 'wd_fb_autoupdate_interval', 'wd_fb_schedule_event_hook' );
|
93 |
-
// $schedule_info = wp_get_schedules();
|
94 |
-
// print_r($schedule_info);
|
95 |
-
}
|
96 |
-
else {
|
97 |
-
echo WDW_FFWD_Library::message('Error. Please install plugin again.', 'error');
|
98 |
-
}
|
99 |
-
}
|
100 |
-
|
101 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
102 |
-
// Getters & Setters //
|
103 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
104 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
105 |
-
// Private Methods //
|
106 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
107 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
108 |
-
// Listeners //
|
109 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
110 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FFWDControllerOptions_ffwd {
|
4 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
+
// Events //
|
6 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
+
// Constants //
|
9 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
+
// Variables //
|
12 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
+
// Constructor & Destructor //
|
15 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
+
public function __construct() {
|
17 |
+
}
|
18 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
+
// Public Methods //
|
20 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
+
public function execute() {
|
22 |
+
$task = ((isset($_POST['task'])) ? esc_html(stripslashes($_POST['task'])) : '');
|
23 |
+
$id = ((isset($_POST['current_id'])) ? esc_html(stripslashes($_POST['current_id'])) : 0);
|
24 |
+
if($task != ''){
|
25 |
+
if(!WDW_FFWD_Library::verify_nonce('options_ffwd')){
|
26 |
+
die('Sorry, your nonce did not verify.');
|
27 |
+
}
|
28 |
+
}
|
29 |
+
if (method_exists($this, $task)) {
|
30 |
+
$this->$task($id);
|
31 |
+
}
|
32 |
+
else {
|
33 |
+
$this->display();
|
34 |
+
}
|
35 |
+
}
|
36 |
+
|
37 |
+
public function display() {
|
38 |
+
require_once WD_FFWD_DIR . "/admin/models/FFWDModelOptions_ffwd.php";
|
39 |
+
$model = new FFWDModelOptions_ffwd();
|
40 |
+
|
41 |
+
require_once WD_FFWD_DIR . "/admin/views/FFWDViewOptions_ffwd.php";
|
42 |
+
$view = new FFWDViewOptions_ffwd($model);
|
43 |
+
$view->display();
|
44 |
+
}
|
45 |
+
|
46 |
+
public function reset() {
|
47 |
+
require_once WD_FFWD_DIR . "/admin/models/FFWDModelOptions_ffwd.php";
|
48 |
+
$model = new FFWDModelOptions_ffwd();
|
49 |
+
|
50 |
+
require_once WD_FFWD_DIR . "/admin/views/FFWDViewOptions_ffwd.php";
|
51 |
+
$view = new FFWDViewOptions_ffwd($model);
|
52 |
+
echo WDW_FFWD_Library::message('Changes must be saved.', 'error');
|
53 |
+
$view->display(true);
|
54 |
+
}
|
55 |
+
|
56 |
+
public function save() {
|
57 |
+
$this->save_db();
|
58 |
+
$this->display();
|
59 |
+
}
|
60 |
+
|
61 |
+
public function save_db() {
|
62 |
+
//facebook user_id pahel autoupdate_interval
|
63 |
+
global $wpdb;
|
64 |
+
$id = 1;
|
65 |
+
$autoupdate_interval = (isset($_POST['autoupdate_interval_hour']) && isset($_POST['autoupdate_interval_min']) ? ((int) $_POST['autoupdate_interval_hour'] * 60 + (int) $_POST['autoupdate_interval_min']) : 30);
|
66 |
+
/*minimum autoupdate interval is 1 min*/
|
67 |
+
$autoupdate_interval = ($autoupdate_interval >= 1 ? $autoupdate_interval : 1 );
|
68 |
+
$facebook_app_id = (isset($_POST[WD_FB_PREFIX . '_app_id']) ? esc_html(stripslashes($_POST[WD_FB_PREFIX . '_app_id'])) : '');
|
69 |
+
$facebook_app_secret = (isset($_POST[ WD_FB_PREFIX . '_app_secret']) ? esc_html(stripslashes($_POST[WD_FB_PREFIX . '_app_secret'])) : '');
|
70 |
+
$date_timezone = (isset($_POST[ WD_FB_PREFIX . '_date_timezone']) ? esc_html(stripslashes($_POST[WD_FB_PREFIX . '_date_timezone'])) : 'Pacific/Midway');
|
71 |
+
$post_date_format = (isset($_POST[ WD_FB_PREFIX . '_post_date_format']) ? esc_html(stripslashes($_POST[WD_FB_PREFIX . '_post_date_format'])) : 'Pacific/Midway');
|
72 |
+
$event_date_format = (isset($_POST[ WD_FB_PREFIX . '_event_date_format']) ? esc_html(stripslashes($_POST[WD_FB_PREFIX . '_event_date_format'])) : 'Pacific/Midway');
|
73 |
+
$save = $wpdb->update($wpdb->prefix . 'wd_fb_option', array(
|
74 |
+
'autoupdate_interval' => $autoupdate_interval,
|
75 |
+
'app_id' => $facebook_app_id,
|
76 |
+
'app_secret' => $facebook_app_secret,
|
77 |
+
'date_timezone' => $date_timezone,
|
78 |
+
'post_date_format' => $post_date_format,
|
79 |
+
'event_date_format' =>$event_date_format,
|
80 |
+
), array('id' => 1));
|
81 |
+
|
82 |
+
if ($save !== FALSE) {
|
83 |
+
echo WDW_FFWD_Library::message('Item Succesfully Saved.', 'updated');
|
84 |
+
/*
|
85 |
+
* Clear hook for scheduled events,
|
86 |
+
* refresh filter according to new time interval,
|
87 |
+
* then add new schedule with the same hook name
|
88 |
+
*/
|
89 |
+
wp_clear_scheduled_hook( 'wd_fb_schedule_event_hook' );
|
90 |
+
remove_filter( 'cron_schedules', 'wd_fb_add_autoupdate_interval' );
|
91 |
+
add_filter( 'cron_schedules', 'wd_fb_add_autoupdate_interval' );
|
92 |
+
wp_schedule_event( time(), 'wd_fb_autoupdate_interval', 'wd_fb_schedule_event_hook' );
|
93 |
+
// $schedule_info = wp_get_schedules();
|
94 |
+
// print_r($schedule_info);
|
95 |
+
}
|
96 |
+
else {
|
97 |
+
echo WDW_FFWD_Library::message('Error. Please install plugin again.', 'error');
|
98 |
+
}
|
99 |
+
}
|
100 |
+
|
101 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
102 |
+
// Getters & Setters //
|
103 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
104 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
105 |
+
// Private Methods //
|
106 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
107 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
108 |
+
// Listeners //
|
109 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
110 |
+
}
|
admin/controllers/FFWDControllerThemes_ffwd.php
CHANGED
@@ -1,492 +1,492 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class FFWDControllerThemes_ffwd
|
4 |
-
{
|
5 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
6 |
-
// Events //
|
7 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
9 |
-
// Constants //
|
10 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
12 |
-
// Variables //
|
13 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
15 |
-
// Constructor & Destructor //
|
16 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
17 |
-
public function __construct()
|
18 |
-
{
|
19 |
-
}
|
20 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
-
// Public Methods //
|
22 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
23 |
-
public function execute()
|
24 |
-
{
|
25 |
-
$task = WDW_FFWD_Library::get('task');
|
26 |
-
$id = WDW_FFWD_Library::get('current_id', 0);
|
27 |
-
$message = WDW_FFWD_Library::get('message');
|
28 |
-
if ($task != '') {
|
29 |
-
if (!WDW_FFWD_Library::verify_nonce('themes_ffwd')) {
|
30 |
-
die('Sorry, your nonce did not verify.');
|
31 |
-
}
|
32 |
-
}
|
33 |
-
echo WDW_FFWD_Library::message_id($message);
|
34 |
-
if (method_exists($this, $task)) {
|
35 |
-
$this->$task($id);
|
36 |
-
} else {
|
37 |
-
$this->display();
|
38 |
-
}
|
39 |
-
}
|
40 |
-
|
41 |
-
public function display()
|
42 |
-
{
|
43 |
-
require_once WD_FFWD_DIR . "/admin/models/FFWDModelThemes_ffwd.php";
|
44 |
-
$model = new FFWDModelThemes_ffwd();
|
45 |
-
|
46 |
-
require_once WD_FFWD_DIR . "/admin/views/FFWDViewThemes_ffwd.php";
|
47 |
-
$view = new FFWDViewThemes_ffwd($model);
|
48 |
-
$view->display();
|
49 |
-
}
|
50 |
-
|
51 |
-
public function add()
|
52 |
-
{
|
53 |
-
require_once WD_FFWD_DIR . "/admin/models/FFWDModelThemes_ffwd.php";
|
54 |
-
$model = new FFWDModelThemes_ffwd();
|
55 |
-
|
56 |
-
require_once WD_FFWD_DIR . "/admin/views/FFWDViewThemes_ffwd.php";
|
57 |
-
$view = new FFWDViewThemes_ffwd($model);
|
58 |
-
$view->edit(0, false);
|
59 |
-
}
|
60 |
-
|
61 |
-
public function edit()
|
62 |
-
{
|
63 |
-
require_once WD_FFWD_DIR . "/admin/models/FFWDModelThemes_ffwd.php";
|
64 |
-
$model = new FFWDModelThemes_ffwd();
|
65 |
-
|
66 |
-
require_once WD_FFWD_DIR . "/admin/views/FFWDViewThemes_ffwd.php";
|
67 |
-
$view = new FFWDViewThemes_ffwd($model);
|
68 |
-
$id = WDW_FFWD_Library::get('current_id', 0);
|
69 |
-
$view->edit($id, false);
|
70 |
-
}
|
71 |
-
|
72 |
-
public function reset()
|
73 |
-
{
|
74 |
-
require_once WD_FFWD_DIR . "/admin/models/FFWDModelThemes_ffwd.php";
|
75 |
-
$model = new FFWDModelThemes_ffwd();
|
76 |
-
|
77 |
-
require_once WD_FFWD_DIR . "/admin/views/FFWDViewThemes_ffwd.php";
|
78 |
-
$view = new FFWDViewThemes_ffwd($model);
|
79 |
-
$id = WDW_FFWD_Library::get('current_id', 0);
|
80 |
-
echo WDW_FFWD_Library::message('Changes must be saved.', 'error');
|
81 |
-
$view->edit($id, TRUE);
|
82 |
-
}
|
83 |
-
|
84 |
-
public function save()
|
85 |
-
{
|
86 |
-
$message = $this->save_db();
|
87 |
-
$page = WDW_FFWD_Library::get('page');
|
88 |
-
$query_url = wp_nonce_url(admin_url('admin.php'), 'themes_ffwd', 'ffwd_nonce');
|
89 |
-
$query_url = add_query_arg(array('page' => $page, 'task' => 'display', 'message' => $message), $query_url);
|
90 |
-
WDW_FFWD_Library::spider_redirect($query_url);
|
91 |
-
}
|
92 |
-
|
93 |
-
public function apply()
|
94 |
-
{
|
95 |
-
$message = $this->save_db();
|
96 |
-
global $wpdb;
|
97 |
-
$id = (int)$wpdb->get_var('SELECT MAX(`id`) FROM ' . $wpdb->prefix . 'wd_fb_theme');
|
98 |
-
$current_id = WDW_FFWD_Library::get('current_id', $id);
|
99 |
-
$page = WDW_FFWD_Library::get('page');
|
100 |
-
$current_type = WDW_FFWD_Library::get('current_type', 'Thumbnail');
|
101 |
-
$query_url = wp_nonce_url(admin_url('admin.php'), 'themes_ffwd', 'ffwd_nonce');
|
102 |
-
$query_url = add_query_arg(array('page' => $page, 'task' => 'edit', 'current_id' => $current_id, 'message' => $message, 'current_type' => $current_type), $query_url);
|
103 |
-
WDW_FFWD_Library::spider_redirect($query_url);
|
104 |
-
}
|
105 |
-
|
106 |
-
public function save_db()
|
107 |
-
{
|
108 |
-
global $wpdb;
|
109 |
-
$id = (int)WDW_FFWD_Library::get('current_id', 0);
|
110 |
-
$name = (isset($_POST['name']) ? esc_html(stripslashes($_POST['name'])) : 'exaple');
|
111 |
-
$default_theme = (isset($_POST['default_theme']) ? esc_html(stripslashes($_POST['default_theme'])) : 0);
|
112 |
-
|
113 |
-
$theme_params_keys = array('thumb_margin',
|
114 |
-
'thumb_padding',
|
115 |
-
'thumb_border_radius',
|
116 |
-
'thumb_border_width',
|
117 |
-
'thumb_border_style',
|
118 |
-
'thumb_border_color',
|
119 |
-
'thumb_bg_color',
|
120 |
-
'thumbs_bg_color',
|
121 |
-
'thumb_bg_transparent',
|
122 |
-
'thumb_box_shadow',
|
123 |
-
'thumb_transparent',
|
124 |
-
'thumb_align',
|
125 |
-
'thumb_hover_effect',
|
126 |
-
'thumb_hover_effect_value',
|
127 |
-
'thumb_transition',
|
128 |
-
'thumb_title_font_color',
|
129 |
-
'thumb_title_font_style',
|
130 |
-
'thumb_title_pos',
|
131 |
-
'thumb_title_font_size',
|
132 |
-
'thumb_title_font_weight',
|
133 |
-
'thumb_title_margin',
|
134 |
-
'thumb_title_shadow',
|
135 |
-
'thumb_like_comm_pos',
|
136 |
-
'thumb_like_comm_font_size',
|
137 |
-
'thumb_like_comm_font_color',
|
138 |
-
'thumb_like_comm_font_style',
|
139 |
-
'thumb_like_comm_font_weight',
|
140 |
-
'thumb_like_comm_shadow',
|
141 |
-
'masonry_thumb_padding',
|
142 |
-
'masonry_thumb_border_radius',
|
143 |
-
'masonry_thumb_border_width',
|
144 |
-
'masonry_thumb_border_style',
|
145 |
-
'masonry_thumb_border_color',
|
146 |
-
'masonry_thumbs_bg_color',
|
147 |
-
'masonry_thumb_bg_transparent',
|
148 |
-
'masonry_thumb_transparent',
|
149 |
-
'masonry_thumb_align',
|
150 |
-
'masonry_thumb_hover_effect',
|
151 |
-
'masonry_thumb_hover_effect_value',
|
152 |
-
'masonry_thumb_transition',
|
153 |
-
'masonry_description_font_size',
|
154 |
-
'masonry_description_color',
|
155 |
-
'masonry_description_font_style',
|
156 |
-
'masonry_like_comm_pos',
|
157 |
-
'masonry_like_comm_font_size',
|
158 |
-
'masonry_like_comm_font_color',
|
159 |
-
'masonry_like_comm_font_style',
|
160 |
-
'masonry_like_comm_font_weight',
|
161 |
-
'masonry_like_comm_shadow',
|
162 |
-
'blog_style_align',
|
163 |
-
'blog_style_bg_color',
|
164 |
-
'blog_style_fd_name_bg_color',
|
165 |
-
'blog_style_fd_name_align',
|
166 |
-
'blog_style_fd_name_padding',
|
167 |
-
'blog_style_fd_name_color',
|
168 |
-
'blog_style_fd_name_size',
|
169 |
-
'blog_style_fd_name_font_weight',
|
170 |
-
'blog_style_fd_icon',
|
171 |
-
'blog_style_fd_icon_color',
|
172 |
-
'blog_style_fd_icon_size',
|
173 |
-
'blog_style_transparent',
|
174 |
-
'blog_style_obj_img_align',
|
175 |
-
'blog_style_margin',
|
176 |
-
'blog_style_box_shadow',
|
177 |
-
'blog_style_border_width',
|
178 |
-
'blog_style_border_style',
|
179 |
-
'blog_style_border_color',
|
180 |
-
'blog_style_border_type',
|
181 |
-
'blog_style_border_radius',
|
182 |
-
'blog_style_obj_icons_color',
|
183 |
-
'blog_style_obj_date_pos',
|
184 |
-
'blog_style_obj_font_family',
|
185 |
-
'blog_style_obj_info_bg_color',
|
186 |
-
'blog_style_page_name_color',
|
187 |
-
'blog_style_obj_page_name_size',
|
188 |
-
'blog_style_obj_page_name_font_weight',
|
189 |
-
'blog_style_obj_story_color',
|
190 |
-
'blog_style_obj_story_size',
|
191 |
-
'blog_style_obj_story_font_weight',
|
192 |
-
'blog_style_obj_place_color',
|
193 |
-
'blog_style_obj_place_size',
|
194 |
-
'blog_style_obj_place_font_weight',
|
195 |
-
'blog_style_obj_name_color',
|
196 |
-
'blog_style_obj_name_size',
|
197 |
-
'blog_style_obj_name_font_weight',
|
198 |
-
'blog_style_obj_message_color',
|
199 |
-
'blog_style_obj_message_size',
|
200 |
-
'blog_style_obj_message_font_weight',
|
201 |
-
'blog_style_obj_hashtags_color',
|
202 |
-
'blog_style_obj_hashtags_size',
|
203 |
-
'blog_style_obj_hashtags_font_weight',
|
204 |
-
'blog_style_obj_likes_social_bg_color',
|
205 |
-
'blog_style_obj_likes_social_color',
|
206 |
-
'blog_style_obj_likes_social_size',
|
207 |
-
'blog_style_obj_likes_social_font_weight',
|
208 |
-
'blog_style_obj_comments_bg_color',
|
209 |
-
'blog_style_obj_comments_color',
|
210 |
-
'blog_style_obj_comments_font_family',
|
211 |
-
'blog_style_obj_comments_font_size',
|
212 |
-
'blog_style_obj_users_font_color',
|
213 |
-
'blog_style_obj_comments_social_font_weight',
|
214 |
-
'blog_style_obj_comment_border_width',
|
215 |
-
'blog_style_obj_comment_border_style',
|
216 |
-
'blog_style_obj_comment_border_color',
|
217 |
-
'blog_style_obj_comment_border_type',
|
218 |
-
'blog_style_evt_str_color',
|
219 |
-
'blog_style_evt_str_size',
|
220 |
-
'blog_style_evt_str_font_weight',
|
221 |
-
'blog_style_evt_ctzpcn_color',
|
222 |
-
'blog_style_evt_ctzpcn_size',
|
223 |
-
'blog_style_evt_ctzpcn_font_weight',
|
224 |
-
'blog_style_evt_map_color',
|
225 |
-
'blog_style_evt_map_size',
|
226 |
-
'blog_style_evt_map_font_weight',
|
227 |
-
'blog_style_evt_date_color',
|
228 |
-
'blog_style_evt_date_size',
|
229 |
-
'blog_style_evt_date_font_weight',
|
230 |
-
'blog_style_evt_info_font_family',
|
231 |
-
'album_compact_back_font_color',
|
232 |
-
'album_compact_back_font_style',
|
233 |
-
'album_compact_back_font_size',
|
234 |
-
'album_compact_back_font_weight',
|
235 |
-
'album_compact_back_padding',
|
236 |
-
'album_compact_title_font_color',
|
237 |
-
'album_compact_title_font_style',
|
238 |
-
'album_compact_thumb_title_pos',
|
239 |
-
'album_compact_title_font_size',
|
240 |
-
'album_compact_title_font_weight',
|
241 |
-
'album_compact_title_margin',
|
242 |
-
'album_compact_title_shadow',
|
243 |
-
'album_compact_thumb_margin',
|
244 |
-
'album_compact_thumb_padding',
|
245 |
-
'album_compact_thumb_border_radius',
|
246 |
-
'album_compact_thumb_border_width',
|
247 |
-
'album_compact_thumb_border_style',
|
248 |
-
'album_compact_thumb_border_color',
|
249 |
-
'album_compact_thumb_bg_color',
|
250 |
-
'album_compact_thumbs_bg_color',
|
251 |
-
'album_compact_thumb_bg_transparent',
|
252 |
-
'album_compact_thumb_box_shadow',
|
253 |
-
'album_compact_thumb_transparent',
|
254 |
-
'album_compact_thumb_align',
|
255 |
-
'album_compact_thumb_hover_effect',
|
256 |
-
'album_compact_thumb_hover_effect_value',
|
257 |
-
'album_compact_thumb_transition',
|
258 |
-
'lightbox_overlay_bg_color',
|
259 |
-
'lightbox_overlay_bg_transparent',
|
260 |
-
'lightbox_bg_color',
|
261 |
-
'lightbox_ctrl_btn_pos',
|
262 |
-
'lightbox_ctrl_btn_align',
|
263 |
-
'lightbox_ctrl_btn_height',
|
264 |
-
'lightbox_ctrl_btn_margin_top',
|
265 |
-
'lightbox_ctrl_btn_margin_left',
|
266 |
-
'lightbox_ctrl_btn_transparent',
|
267 |
-
'lightbox_ctrl_btn_color',
|
268 |
-
'lightbox_toggle_btn_height',
|
269 |
-
'lightbox_toggle_btn_width',
|
270 |
-
'lightbox_ctrl_cont_bg_color',
|
271 |
-
'lightbox_ctrl_cont_transparent',
|
272 |
-
'lightbox_ctrl_cont_border_radius',
|
273 |
-
'lightbox_close_btn_transparent',
|
274 |
-
'lightbox_close_btn_bg_color',
|
275 |
-
'lightbox_close_btn_border_width',
|
276 |
-
'lightbox_close_btn_border_radius',
|
277 |
-
'lightbox_close_btn_border_style',
|
278 |
-
'lightbox_close_btn_border_color',
|
279 |
-
'lightbox_close_btn_box_shadow',
|
280 |
-
'lightbox_close_btn_color',
|
281 |
-
'lightbox_close_btn_size',
|
282 |
-
'lightbox_close_btn_width',
|
283 |
-
'lightbox_close_btn_height',
|
284 |
-
'lightbox_close_btn_top',
|
285 |
-
'lightbox_close_btn_right',
|
286 |
-
'lightbox_close_btn_full_color',
|
287 |
-
'lightbox_rl_btn_bg_color',
|
288 |
-
'lightbox_rl_btn_transparent',
|
289 |
-
'lightbox_rl_btn_border_radius',
|
290 |
-
'lightbox_rl_btn_border_width',
|
291 |
-
'lightbox_rl_btn_border_style',
|
292 |
-
'lightbox_rl_btn_border_color',
|
293 |
-
'lightbox_rl_btn_box_shadow',
|
294 |
-
'lightbox_rl_btn_color',
|
295 |
-
'lightbox_rl_btn_height',
|
296 |
-
'lightbox_rl_btn_width',
|
297 |
-
'lightbox_rl_btn_size',
|
298 |
-
'lightbox_close_rl_btn_hover_color',
|
299 |
-
'lightbox_obj_pos',
|
300 |
-
'lightbox_obj_width',
|
301 |
-
'lightbox_obj_icons_color',
|
302 |
-
'lightbox_obj_date_pos',
|
303 |
-
'lightbox_obj_font_family',
|
304 |
-
'lightbox_obj_info_bg_color',
|
305 |
-
'lightbox_page_name_color',
|
306 |
-
'lightbox_obj_page_name_size',
|
307 |
-
'lightbox_obj_page_name_font_weight',
|
308 |
-
'lightbox_obj_story_color',
|
309 |
-
'lightbox_obj_story_size',
|
310 |
-
'lightbox_obj_story_font_weight',
|
311 |
-
'lightbox_obj_place_color',
|
312 |
-
'lightbox_obj_place_size',
|
313 |
-
'lightbox_obj_place_font_weight',
|
314 |
-
'lightbox_obj_name_color',
|
315 |
-
'lightbox_obj_name_size',
|
316 |
-
'lightbox_obj_name_font_weight',
|
317 |
-
'lightbox_obj_message_color',
|
318 |
-
'lightbox_obj_message_size',
|
319 |
-
'lightbox_obj_message_font_weight',
|
320 |
-
'lightbox_obj_hashtags_color',
|
321 |
-
'lightbox_obj_hashtags_size',
|
322 |
-
'lightbox_obj_hashtags_font_weight',
|
323 |
-
'lightbox_obj_likes_social_bg_color',
|
324 |
-
'lightbox_obj_likes_social_color',
|
325 |
-
'lightbox_obj_likes_social_size',
|
326 |
-
'lightbox_obj_likes_social_font_weight',
|
327 |
-
'lightbox_obj_comments_bg_color',
|
328 |
-
'lightbox_obj_comments_color',
|
329 |
-
'lightbox_obj_comments_font_family',
|
330 |
-
'lightbox_obj_comments_font_size',
|
331 |
-
'lightbox_obj_users_font_color',
|
332 |
-
'lightbox_obj_comments_social_font_weight',
|
333 |
-
'lightbox_obj_comment_border_width',
|
334 |
-
'lightbox_obj_comment_border_style',
|
335 |
-
'lightbox_obj_comment_border_color',
|
336 |
-
'lightbox_obj_comment_border_type',
|
337 |
-
'lightbox_filmstrip_pos',
|
338 |
-
'lightbox_filmstrip_rl_bg_color',
|
339 |
-
'lightbox_filmstrip_rl_btn_size',
|
340 |
-
'lightbox_filmstrip_rl_btn_color',
|
341 |
-
'lightbox_filmstrip_thumb_margin',
|
342 |
-
'lightbox_filmstrip_thumb_border_width',
|
343 |
-
'lightbox_filmstrip_thumb_border_style',
|
344 |
-
'lightbox_filmstrip_thumb_border_color',
|
345 |
-
'lightbox_filmstrip_thumb_border_radius',
|
346 |
-
'lightbox_filmstrip_thumb_deactive_transparent',
|
347 |
-
'lightbox_filmstrip_thumb_active_border_width',
|
348 |
-
'lightbox_filmstrip_thumb_active_border_color',
|
349 |
-
'lightbox_rl_btn_style',
|
350 |
-
'lightbox_evt_str_color',
|
351 |
-
'lightbox_evt_str_size',
|
352 |
-
'lightbox_evt_str_font_weight',
|
353 |
-
'lightbox_evt_ctzpcn_color',
|
354 |
-
'lightbox_evt_ctzpcn_size',
|
355 |
-
'lightbox_evt_ctzpcn_font_weight',
|
356 |
-
'lightbox_evt_map_color',
|
357 |
-
'lightbox_evt_map_size',
|
358 |
-
'lightbox_evt_map_font_weight',
|
359 |
-
'lightbox_evt_date_color',
|
360 |
-
'lightbox_evt_date_size',
|
361 |
-
'lightbox_evt_date_font_weight',
|
362 |
-
'lightbox_evt_info_font_family',
|
363 |
-
'page_nav_position',
|
364 |
-
'page_nav_align',
|
365 |
-
'page_nav_number',
|
366 |
-
'page_nav_font_size',
|
367 |
-
'page_nav_font_style',
|
368 |
-
'page_nav_font_color',
|
369 |
-
'page_nav_font_weight',
|
370 |
-
'page_nav_border_width',
|
371 |
-
'page_nav_border_style',
|
372 |
-
'page_nav_border_color',
|
373 |
-
'page_nav_border_radius',
|
374 |
-
'page_nav_margin',
|
375 |
-
'page_nav_padding',
|
376 |
-
'page_nav_button_bg_color',
|
377 |
-
'page_nav_button_bg_transparent',
|
378 |
-
'page_nav_box_shadow',
|
379 |
-
'page_nav_button_transition',
|
380 |
-
'page_nav_button_text',
|
381 |
-
'lightbox_obj_icons_color_likes_comments_count');
|
382 |
-
|
383 |
-
|
384 |
-
$params = array();
|
385 |
-
foreach ($theme_params_keys as $theme_param_key) {
|
386 |
-
|
387 |
-
$params[$theme_param_key] = (isset($_POST[$theme_param_key]) ? esc_html(stripslashes($_POST[$theme_param_key])) : '');
|
388 |
-
}
|
389 |
-
|
390 |
-
|
391 |
-
if ($id != 0) {
|
392 |
-
$save = $wpdb->update($wpdb->prefix . 'wd_fb_theme', array(
|
393 |
-
'name' => $name,
|
394 |
-
'params' => json_encode($params),
|
395 |
-
'default_theme' => $default_theme,
|
396 |
-
), array('id' => $id));
|
397 |
-
} else {
|
398 |
-
$save = $wpdb->insert($wpdb->prefix . 'wd_fb_theme', array(
|
399 |
-
'name' => $name,
|
400 |
-
'params' => json_encode($params),
|
401 |
-
'default_theme' => $default_theme,
|
402 |
-
), array(
|
403 |
-
'%s',
|
404 |
-
'%s',
|
405 |
-
'%d',
|
406 |
-
));
|
407 |
-
}
|
408 |
-
if ($save !== FALSE) {
|
409 |
-
return 1;
|
410 |
-
} else {
|
411 |
-
return 2;
|
412 |
-
}
|
413 |
-
}
|
414 |
-
|
415 |
-
public function delete($id)
|
416 |
-
{
|
417 |
-
global $wpdb;
|
418 |
-
$isDefault = $wpdb->get_var('SELECT default_theme FROM ' . $wpdb->prefix . 'wd_fb_theme WHERE id=' . $id);
|
419 |
-
if ($isDefault) {
|
420 |
-
echo WDW_FFWD_Library::message("You can't delete default theme", 'error');
|
421 |
-
} else {
|
422 |
-
$query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'wd_fb_theme WHERE id="%d"', $id);
|
423 |
-
if ($wpdb->query($query)) {
|
424 |
-
echo WDW_FFWD_Library::message('Item Succesfully Deleted.', 'updated');
|
425 |
-
$message = 3;
|
426 |
-
} else {
|
427 |
-
$message = 2;
|
428 |
-
}
|
429 |
-
}
|
430 |
-
$page = WDW_FFWD_Library::get('page');
|
431 |
-
$query_url = wp_nonce_url(admin_url('admin.php'), 'themes_ffwd', 'ffwd_nonce');
|
432 |
-
$query_url = add_query_arg(array('page' => $page, 'task' => 'display', 'message' => $message), $query_url);
|
433 |
-
WDW_FFWD_Library::spider_redirect($query_url);
|
434 |
-
}
|
435 |
-
|
436 |
-
public function delete_all()
|
437 |
-
{
|
438 |
-
global $wpdb;
|
439 |
-
$flag = FALSE;
|
440 |
-
$isDefault = FALSE;
|
441 |
-
$tag_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'wd_fb_theme');
|
442 |
-
foreach ($tag_ids_col as $tag_id) {
|
443 |
-
if (isset($_POST['check_' . $tag_id])) {
|
444 |
-
$isDefault = $wpdb->get_var('SELECT default_theme FROM ' . $wpdb->prefix . 'wd_fb_theme WHERE id=' . $tag_id);
|
445 |
-
if ($isDefault) {
|
446 |
-
$message = 4;
|
447 |
-
} else {
|
448 |
-
$flag = TRUE;
|
449 |
-
$query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'wd_fb_theme WHERE id="%d"', $tag_id);
|
450 |
-
$wpdb->query($query);
|
451 |
-
}
|
452 |
-
}
|
453 |
-
}
|
454 |
-
if ($flag) {
|
455 |
-
$message = 5;
|
456 |
-
} else {
|
457 |
-
$message = 6;
|
458 |
-
}
|
459 |
-
$page = WDW_FFWD_Library::get('page');
|
460 |
-
$query_url = wp_nonce_url(admin_url('admin.php'), 'themes_ffwd', 'ffwd_nonce');
|
461 |
-
$query_url = add_query_arg(array('page' => $page, 'task' => 'display', 'message' => $message), $query_url);
|
462 |
-
WDW_FFWD_Library::spider_redirect($query_url);
|
463 |
-
}
|
464 |
-
|
465 |
-
public function setdefault($id)
|
466 |
-
{
|
467 |
-
global $wpdb;
|
468 |
-
$save = $wpdb->update($wpdb->prefix . 'wd_fb_theme', array('default_theme' => 0), array('default_theme' => 1));
|
469 |
-
$save = $wpdb->update($wpdb->prefix . 'wd_fb_theme', array('default_theme' => 1), array('id' => $id));
|
470 |
-
if ($save !== FALSE) {
|
471 |
-
$message = 7;
|
472 |
-
} else {
|
473 |
-
$message = 2;
|
474 |
-
}
|
475 |
-
$page = WDW_FFWD_Library::get('page');
|
476 |
-
$query_url = wp_nonce_url(admin_url('admin.php'), 'themes_ffwd', 'ffwd_nonce');
|
477 |
-
$query_url = add_query_arg(array('page' => $page, 'task' => 'display', 'message' => $message), $query_url);
|
478 |
-
WDW_FFWD_Library::spider_redirect($query_url);
|
479 |
-
}
|
480 |
-
|
481 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
482 |
-
// Getters & Setters //
|
483 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
484 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
485 |
-
// Private Methods //
|
486 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
487 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
488 |
-
// Listeners //
|
489 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
490 |
-
|
491 |
-
|
492 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FFWDControllerThemes_ffwd
|
4 |
+
{
|
5 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
6 |
+
// Events //
|
7 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
9 |
+
// Constants //
|
10 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
12 |
+
// Variables //
|
13 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
15 |
+
// Constructor & Destructor //
|
16 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
17 |
+
public function __construct()
|
18 |
+
{
|
19 |
+
}
|
20 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
+
// Public Methods //
|
22 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
23 |
+
public function execute()
|
24 |
+
{
|
25 |
+
$task = WDW_FFWD_Library::get('task');
|
26 |
+
$id = WDW_FFWD_Library::get('current_id', 0);
|
27 |
+
$message = WDW_FFWD_Library::get('message');
|
28 |
+
if ($task != '') {
|
29 |
+
if (!WDW_FFWD_Library::verify_nonce('themes_ffwd')) {
|
30 |
+
die('Sorry, your nonce did not verify.');
|
31 |
+
}
|
32 |
+
}
|
33 |
+
echo WDW_FFWD_Library::message_id($message);
|
34 |
+
if (method_exists($this, $task)) {
|
35 |
+
$this->$task($id);
|
36 |
+
} else {
|
37 |
+
$this->display();
|
38 |
+
}
|
39 |
+
}
|
40 |
+
|
41 |
+
public function display()
|
42 |
+
{
|
43 |
+
require_once WD_FFWD_DIR . "/admin/models/FFWDModelThemes_ffwd.php";
|
44 |
+
$model = new FFWDModelThemes_ffwd();
|
45 |
+
|
46 |
+
require_once WD_FFWD_DIR . "/admin/views/FFWDViewThemes_ffwd.php";
|
47 |
+
$view = new FFWDViewThemes_ffwd($model);
|
48 |
+
$view->display();
|
49 |
+
}
|
50 |
+
|
51 |
+
public function add()
|
52 |
+
{
|
53 |
+
require_once WD_FFWD_DIR . "/admin/models/FFWDModelThemes_ffwd.php";
|
54 |
+
$model = new FFWDModelThemes_ffwd();
|
55 |
+
|
56 |
+
require_once WD_FFWD_DIR . "/admin/views/FFWDViewThemes_ffwd.php";
|
57 |
+
$view = new FFWDViewThemes_ffwd($model);
|
58 |
+
$view->edit(0, false);
|
59 |
+
}
|
60 |
+
|
61 |
+
public function edit()
|
62 |
+
{
|
63 |
+
require_once WD_FFWD_DIR . "/admin/models/FFWDModelThemes_ffwd.php";
|
64 |
+
$model = new FFWDModelThemes_ffwd();
|
65 |
+
|
66 |
+
require_once WD_FFWD_DIR . "/admin/views/FFWDViewThemes_ffwd.php";
|
67 |
+
$view = new FFWDViewThemes_ffwd($model);
|
68 |
+
$id = WDW_FFWD_Library::get('current_id', 0);
|
69 |
+
$view->edit($id, false);
|
70 |
+
}
|
71 |
+
|
72 |
+
public function reset()
|
73 |
+
{
|
74 |
+
require_once WD_FFWD_DIR . "/admin/models/FFWDModelThemes_ffwd.php";
|
75 |
+
$model = new FFWDModelThemes_ffwd();
|
76 |
+
|
77 |
+
require_once WD_FFWD_DIR . "/admin/views/FFWDViewThemes_ffwd.php";
|
78 |
+
$view = new FFWDViewThemes_ffwd($model);
|
79 |
+
$id = WDW_FFWD_Library::get('current_id', 0);
|
80 |
+
echo WDW_FFWD_Library::message('Changes must be saved.', 'error');
|
81 |
+
$view->edit($id, TRUE);
|
82 |
+
}
|
83 |
+
|
84 |
+
public function save()
|
85 |
+
{
|
86 |
+
$message = $this->save_db();
|
87 |
+
$page = WDW_FFWD_Library::get('page');
|
88 |
+
$query_url = wp_nonce_url(admin_url('admin.php'), 'themes_ffwd', 'ffwd_nonce');
|
89 |
+
$query_url = add_query_arg(array('page' => $page, 'task' => 'display', 'message' => $message), $query_url);
|
90 |
+
WDW_FFWD_Library::spider_redirect($query_url);
|
91 |
+
}
|
92 |
+
|
93 |
+
public function apply()
|
94 |
+
{
|
95 |
+
$message = $this->save_db();
|
96 |
+
global $wpdb;
|
97 |
+
$id = (int)$wpdb->get_var('SELECT MAX(`id`) FROM ' . $wpdb->prefix . 'wd_fb_theme');
|
98 |
+
$current_id = WDW_FFWD_Library::get('current_id', $id);
|
99 |
+
$page = WDW_FFWD_Library::get('page');
|
100 |
+
$current_type = WDW_FFWD_Library::get('current_type', 'Thumbnail');
|
101 |
+
$query_url = wp_nonce_url(admin_url('admin.php'), 'themes_ffwd', 'ffwd_nonce');
|
102 |
+
$query_url = add_query_arg(array('page' => $page, 'task' => 'edit', 'current_id' => $current_id, 'message' => $message, 'current_type' => $current_type), $query_url);
|
103 |
+
WDW_FFWD_Library::spider_redirect($query_url);
|
104 |
+
}
|
105 |
+
|
106 |
+
public function save_db()
|
107 |
+
{
|
108 |
+
global $wpdb;
|
109 |
+
$id = (int)WDW_FFWD_Library::get('current_id', 0);
|
110 |
+
$name = (isset($_POST['name']) ? esc_html(stripslashes($_POST['name'])) : 'exaple');
|
111 |
+
$default_theme = (isset($_POST['default_theme']) ? esc_html(stripslashes($_POST['default_theme'])) : 0);
|
112 |
+
|
113 |
+
$theme_params_keys = array('thumb_margin',
|
114 |
+
'thumb_padding',
|
115 |
+
'thumb_border_radius',
|
116 |
+
'thumb_border_width',
|
117 |
+
'thumb_border_style',
|
118 |
+
'thumb_border_color',
|
119 |
+
'thumb_bg_color',
|
120 |
+
'thumbs_bg_color',
|
121 |
+
'thumb_bg_transparent',
|
122 |
+
'thumb_box_shadow',
|
123 |
+
'thumb_transparent',
|
124 |
+
'thumb_align',
|
125 |
+
'thumb_hover_effect',
|
126 |
+
'thumb_hover_effect_value',
|
127 |
+
'thumb_transition',
|
128 |
+
'thumb_title_font_color',
|
129 |
+
'thumb_title_font_style',
|
130 |
+
'thumb_title_pos',
|
131 |
+
'thumb_title_font_size',
|
132 |
+
'thumb_title_font_weight',
|
133 |
+
'thumb_title_margin',
|
134 |
+
'thumb_title_shadow',
|
135 |
+
'thumb_like_comm_pos',
|
136 |
+
'thumb_like_comm_font_size',
|
137 |
+
'thumb_like_comm_font_color',
|
138 |
+
'thumb_like_comm_font_style',
|
139 |
+
'thumb_like_comm_font_weight',
|
140 |
+
'thumb_like_comm_shadow',
|
141 |
+
'masonry_thumb_padding',
|
142 |
+
'masonry_thumb_border_radius',
|
143 |
+
'masonry_thumb_border_width',
|
144 |
+
'masonry_thumb_border_style',
|
145 |
+
'masonry_thumb_border_color',
|
146 |
+
'masonry_thumbs_bg_color',
|
147 |
+
'masonry_thumb_bg_transparent',
|
148 |
+
'masonry_thumb_transparent',
|
149 |
+
'masonry_thumb_align',
|
150 |
+
'masonry_thumb_hover_effect',
|
151 |
+
'masonry_thumb_hover_effect_value',
|
152 |
+
'masonry_thumb_transition',
|
153 |
+
'masonry_description_font_size',
|
154 |
+
'masonry_description_color',
|
155 |
+
'masonry_description_font_style',
|
156 |
+
'masonry_like_comm_pos',
|
157 |
+
'masonry_like_comm_font_size',
|
158 |
+
'masonry_like_comm_font_color',
|
159 |
+
'masonry_like_comm_font_style',
|
160 |
+
'masonry_like_comm_font_weight',
|
161 |
+
'masonry_like_comm_shadow',
|
162 |
+
'blog_style_align',
|
163 |
+
'blog_style_bg_color',
|
164 |
+
'blog_style_fd_name_bg_color',
|
165 |
+
'blog_style_fd_name_align',
|
166 |
+
'blog_style_fd_name_padding',
|
167 |
+
'blog_style_fd_name_color',
|
168 |
+
'blog_style_fd_name_size',
|
169 |
+
'blog_style_fd_name_font_weight',
|
170 |
+
'blog_style_fd_icon',
|
171 |
+
'blog_style_fd_icon_color',
|
172 |
+
'blog_style_fd_icon_size',
|
173 |
+
'blog_style_transparent',
|
174 |
+
'blog_style_obj_img_align',
|
175 |
+
'blog_style_margin',
|
176 |
+
'blog_style_box_shadow',
|
177 |
+
'blog_style_border_width',
|
178 |
+
'blog_style_border_style',
|
179 |
+
'blog_style_border_color',
|
180 |
+
'blog_style_border_type',
|
181 |
+
'blog_style_border_radius',
|
182 |
+
'blog_style_obj_icons_color',
|
183 |
+
'blog_style_obj_date_pos',
|
184 |
+
'blog_style_obj_font_family',
|
185 |
+
'blog_style_obj_info_bg_color',
|
186 |
+
'blog_style_page_name_color',
|
187 |
+
'blog_style_obj_page_name_size',
|
188 |
+
'blog_style_obj_page_name_font_weight',
|
189 |
+
'blog_style_obj_story_color',
|
190 |
+
'blog_style_obj_story_size',
|
191 |
+
'blog_style_obj_story_font_weight',
|
192 |
+
'blog_style_obj_place_color',
|
193 |
+
'blog_style_obj_place_size',
|
194 |
+
'blog_style_obj_place_font_weight',
|
195 |
+
'blog_style_obj_name_color',
|
196 |
+
'blog_style_obj_name_size',
|
197 |
+
'blog_style_obj_name_font_weight',
|
198 |
+
'blog_style_obj_message_color',
|
199 |
+
'blog_style_obj_message_size',
|
200 |
+
'blog_style_obj_message_font_weight',
|
201 |
+
'blog_style_obj_hashtags_color',
|
202 |
+
'blog_style_obj_hashtags_size',
|
203 |
+
'blog_style_obj_hashtags_font_weight',
|
204 |
+
'blog_style_obj_likes_social_bg_color',
|
205 |
+
'blog_style_obj_likes_social_color',
|
206 |
+
'blog_style_obj_likes_social_size',
|
207 |
+
'blog_style_obj_likes_social_font_weight',
|
208 |
+
'blog_style_obj_comments_bg_color',
|
209 |
+
'blog_style_obj_comments_color',
|
210 |
+
'blog_style_obj_comments_font_family',
|
211 |
+
'blog_style_obj_comments_font_size',
|
212 |
+
'blog_style_obj_users_font_color',
|
213 |
+
'blog_style_obj_comments_social_font_weight',
|
214 |
+
'blog_style_obj_comment_border_width',
|
215 |
+
'blog_style_obj_comment_border_style',
|
216 |
+
'blog_style_obj_comment_border_color',
|
217 |
+
'blog_style_obj_comment_border_type',
|
218 |
+
'blog_style_evt_str_color',
|
219 |
+
'blog_style_evt_str_size',
|
220 |
+
'blog_style_evt_str_font_weight',
|
221 |
+
'blog_style_evt_ctzpcn_color',
|
222 |
+
'blog_style_evt_ctzpcn_size',
|
223 |
+
'blog_style_evt_ctzpcn_font_weight',
|
224 |
+
'blog_style_evt_map_color',
|
225 |
+
'blog_style_evt_map_size',
|
226 |
+
'blog_style_evt_map_font_weight',
|
227 |
+
'blog_style_evt_date_color',
|
228 |
+
'blog_style_evt_date_size',
|
229 |
+
'blog_style_evt_date_font_weight',
|
230 |
+
'blog_style_evt_info_font_family',
|
231 |
+
'album_compact_back_font_color',
|
232 |
+
'album_compact_back_font_style',
|
233 |
+
'album_compact_back_font_size',
|
234 |
+
'album_compact_back_font_weight',
|
235 |
+
'album_compact_back_padding',
|
236 |
+
'album_compact_title_font_color',
|
237 |
+
'album_compact_title_font_style',
|
238 |
+
'album_compact_thumb_title_pos',
|
239 |
+
'album_compact_title_font_size',
|
240 |
+
'album_compact_title_font_weight',
|
241 |
+
'album_compact_title_margin',
|
242 |
+
'album_compact_title_shadow',
|
243 |
+
'album_compact_thumb_margin',
|
244 |
+
'album_compact_thumb_padding',
|
245 |
+
'album_compact_thumb_border_radius',
|
246 |
+
'album_compact_thumb_border_width',
|
247 |
+
'album_compact_thumb_border_style',
|
248 |
+
'album_compact_thumb_border_color',
|
249 |
+
'album_compact_thumb_bg_color',
|
250 |
+
'album_compact_thumbs_bg_color',
|
251 |
+
'album_compact_thumb_bg_transparent',
|
252 |
+
'album_compact_thumb_box_shadow',
|
253 |
+
'album_compact_thumb_transparent',
|
254 |
+
'album_compact_thumb_align',
|
255 |
+
'album_compact_thumb_hover_effect',
|
256 |
+
'album_compact_thumb_hover_effect_value',
|
257 |
+
'album_compact_thumb_transition',
|
258 |
+
'lightbox_overlay_bg_color',
|
259 |
+
'lightbox_overlay_bg_transparent',
|
260 |
+
'lightbox_bg_color',
|
261 |
+
'lightbox_ctrl_btn_pos',
|
262 |
+
'lightbox_ctrl_btn_align',
|
263 |
+
'lightbox_ctrl_btn_height',
|
264 |
+
'lightbox_ctrl_btn_margin_top',
|
265 |
+
'lightbox_ctrl_btn_margin_left',
|
266 |
+
'lightbox_ctrl_btn_transparent',
|
267 |
+
'lightbox_ctrl_btn_color',
|
268 |
+
'lightbox_toggle_btn_height',
|
269 |
+
'lightbox_toggle_btn_width',
|
270 |
+
'lightbox_ctrl_cont_bg_color',
|
271 |
+
'lightbox_ctrl_cont_transparent',
|
272 |
+
'lightbox_ctrl_cont_border_radius',
|
273 |
+
'lightbox_close_btn_transparent',
|
274 |
+
'lightbox_close_btn_bg_color',
|
275 |
+
'lightbox_close_btn_border_width',
|
276 |
+
'lightbox_close_btn_border_radius',
|
277 |
+
'lightbox_close_btn_border_style',
|
278 |
+
'lightbox_close_btn_border_color',
|
279 |
+
'lightbox_close_btn_box_shadow',
|
280 |
+
'lightbox_close_btn_color',
|
281 |
+
'lightbox_close_btn_size',
|
282 |
+
'lightbox_close_btn_width',
|
283 |
+
'lightbox_close_btn_height',
|
284 |
+
'lightbox_close_btn_top',
|
285 |
+
'lightbox_close_btn_right',
|
286 |
+
'lightbox_close_btn_full_color',
|
287 |
+
'lightbox_rl_btn_bg_color',
|
288 |
+
'lightbox_rl_btn_transparent',
|
289 |
+
'lightbox_rl_btn_border_radius',
|
290 |
+
'lightbox_rl_btn_border_width',
|
291 |
+
'lightbox_rl_btn_border_style',
|
292 |
+
'lightbox_rl_btn_border_color',
|
293 |
+
'lightbox_rl_btn_box_shadow',
|
294 |
+
'lightbox_rl_btn_color',
|
295 |
+
'lightbox_rl_btn_height',
|
296 |
+
'lightbox_rl_btn_width',
|
297 |
+
'lightbox_rl_btn_size',
|
298 |
+
'lightbox_close_rl_btn_hover_color',
|
299 |
+
'lightbox_obj_pos',
|
300 |
+
'lightbox_obj_width',
|
301 |
+
'lightbox_obj_icons_color',
|
302 |
+
'lightbox_obj_date_pos',
|
303 |
+
'lightbox_obj_font_family',
|
304 |
+
'lightbox_obj_info_bg_color',
|
305 |
+
'lightbox_page_name_color',
|
306 |
+
'lightbox_obj_page_name_size',
|
307 |
+
'lightbox_obj_page_name_font_weight',
|
308 |
+
'lightbox_obj_story_color',
|
309 |
+
'lightbox_obj_story_size',
|
310 |
+
'lightbox_obj_story_font_weight',
|
311 |
+
'lightbox_obj_place_color',
|
312 |
+
'lightbox_obj_place_size',
|
313 |
+
'lightbox_obj_place_font_weight',
|
314 |
+
'lightbox_obj_name_color',
|
315 |
+
'lightbox_obj_name_size',
|
316 |
+
'lightbox_obj_name_font_weight',
|
317 |
+
'lightbox_obj_message_color',
|
318 |
+
'lightbox_obj_message_size',
|
319 |
+
'lightbox_obj_message_font_weight',
|
320 |
+
'lightbox_obj_hashtags_color',
|
321 |
+
'lightbox_obj_hashtags_size',
|
322 |
+
'lightbox_obj_hashtags_font_weight',
|
323 |
+
'lightbox_obj_likes_social_bg_color',
|
324 |
+
'lightbox_obj_likes_social_color',
|
325 |
+
'lightbox_obj_likes_social_size',
|
326 |
+
'lightbox_obj_likes_social_font_weight',
|
327 |
+
'lightbox_obj_comments_bg_color',
|
328 |
+
'lightbox_obj_comments_color',
|
329 |
+
'lightbox_obj_comments_font_family',
|
330 |
+
'lightbox_obj_comments_font_size',
|
331 |
+
'lightbox_obj_users_font_color',
|
332 |
+
'lightbox_obj_comments_social_font_weight',
|
333 |
+
'lightbox_obj_comment_border_width',
|
334 |
+
'lightbox_obj_comment_border_style',
|
335 |
+
'lightbox_obj_comment_border_color',
|
336 |
+
'lightbox_obj_comment_border_type',
|
337 |
+
'lightbox_filmstrip_pos',
|
338 |
+
'lightbox_filmstrip_rl_bg_color',
|
339 |
+
'lightbox_filmstrip_rl_btn_size',
|
340 |
+
'lightbox_filmstrip_rl_btn_color',
|
341 |
+
'lightbox_filmstrip_thumb_margin',
|
342 |
+
'lightbox_filmstrip_thumb_border_width',
|
343 |
+
'lightbox_filmstrip_thumb_border_style',
|
344 |
+
'lightbox_filmstrip_thumb_border_color',
|
345 |
+
'lightbox_filmstrip_thumb_border_radius',
|
346 |
+
'lightbox_filmstrip_thumb_deactive_transparent',
|
347 |
+
'lightbox_filmstrip_thumb_active_border_width',
|
348 |
+
'lightbox_filmstrip_thumb_active_border_color',
|
349 |
+
'lightbox_rl_btn_style',
|
350 |
+
'lightbox_evt_str_color',
|
351 |
+
'lightbox_evt_str_size',
|
352 |
+
'lightbox_evt_str_font_weight',
|
353 |
+
'lightbox_evt_ctzpcn_color',
|
354 |
+
'lightbox_evt_ctzpcn_size',
|
355 |
+
'lightbox_evt_ctzpcn_font_weight',
|
356 |
+
'lightbox_evt_map_color',
|
357 |
+
'lightbox_evt_map_size',
|
358 |
+
'lightbox_evt_map_font_weight',
|
359 |
+
'lightbox_evt_date_color',
|
360 |
+
'lightbox_evt_date_size',
|
361 |
+
'lightbox_evt_date_font_weight',
|
362 |
+
'lightbox_evt_info_font_family',
|
363 |
+
'page_nav_position',
|
364 |
+
'page_nav_align',
|
365 |
+
'page_nav_number',
|
366 |
+
'page_nav_font_size',
|
367 |
+
'page_nav_font_style',
|
368 |
+
'page_nav_font_color',
|
369 |
+
'page_nav_font_weight',
|
370 |
+
'page_nav_border_width',
|
371 |
+
'page_nav_border_style',
|
372 |
+
'page_nav_border_color',
|
373 |
+
'page_nav_border_radius',
|
374 |
+
'page_nav_margin',
|
375 |
+
'page_nav_padding',
|
376 |
+
'page_nav_button_bg_color',
|
377 |
+
'page_nav_button_bg_transparent',
|
378 |
+
'page_nav_box_shadow',
|
379 |
+
'page_nav_button_transition',
|
380 |
+
'page_nav_button_text',
|
381 |
+
'lightbox_obj_icons_color_likes_comments_count');
|
382 |
+
|
383 |
+
|
384 |
+
$params = array();
|
385 |
+
foreach ($theme_params_keys as $theme_param_key) {
|
386 |
+
|
387 |
+
$params[$theme_param_key] = (isset($_POST[$theme_param_key]) ? esc_html(stripslashes($_POST[$theme_param_key])) : '');
|
388 |
+
}
|
389 |
+
|
390 |
+
|
391 |
+
if ($id != 0) {
|
392 |
+
$save = $wpdb->update($wpdb->prefix . 'wd_fb_theme', array(
|
393 |
+
'name' => $name,
|
394 |
+
'params' => json_encode($params),
|
395 |
+
'default_theme' => $default_theme,
|
396 |
+
), array('id' => $id));
|
397 |
+
} else {
|
398 |
+
$save = $wpdb->insert($wpdb->prefix . 'wd_fb_theme', array(
|
399 |
+
'name' => $name,
|
400 |
+
'params' => json_encode($params),
|
401 |
+
'default_theme' => $default_theme,
|
402 |
+
), array(
|
403 |
+
'%s',
|
404 |
+
'%s',
|
405 |
+
'%d',
|
406 |
+
));
|
407 |
+
}
|
408 |
+
if ($save !== FALSE) {
|
409 |
+
return 1;
|
410 |
+
} else {
|
411 |
+
return 2;
|
412 |
+
}
|
413 |
+
}
|
414 |
+
|
415 |
+
public function delete($id)
|
416 |
+
{
|
417 |
+
global $wpdb;
|
418 |
+
$isDefault = $wpdb->get_var('SELECT default_theme FROM ' . $wpdb->prefix . 'wd_fb_theme WHERE id=' . $id);
|
419 |
+
if ($isDefault) {
|
420 |
+
echo WDW_FFWD_Library::message("You can't delete default theme", 'error');
|
421 |
+
} else {
|
422 |
+
$query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'wd_fb_theme WHERE id="%d"', $id);
|
423 |
+
if ($wpdb->query($query)) {
|
424 |
+
echo WDW_FFWD_Library::message('Item Succesfully Deleted.', 'updated');
|
425 |
+
$message = 3;
|
426 |
+
} else {
|
427 |
+
$message = 2;
|
428 |
+
}
|
429 |
+
}
|
430 |
+
$page = WDW_FFWD_Library::get('page');
|
431 |
+
$query_url = wp_nonce_url(admin_url('admin.php'), 'themes_ffwd', 'ffwd_nonce');
|
432 |
+
$query_url = add_query_arg(array('page' => $page, 'task' => 'display', 'message' => $message), $query_url);
|
433 |
+
WDW_FFWD_Library::spider_redirect($query_url);
|
434 |
+
}
|
435 |
+
|
436 |
+
public function delete_all()
|
437 |
+
{
|
438 |
+
global $wpdb;
|
439 |
+
$flag = FALSE;
|
440 |
+
$isDefault = FALSE;
|
441 |
+
$tag_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'wd_fb_theme');
|
442 |
+
foreach ($tag_ids_col as $tag_id) {
|
443 |
+
if (isset($_POST['check_' . $tag_id])) {
|
444 |
+
$isDefault = $wpdb->get_var('SELECT default_theme FROM ' . $wpdb->prefix . 'wd_fb_theme WHERE id=' . $tag_id);
|
445 |
+
if ($isDefault) {
|
446 |
+
$message = 4;
|
447 |
+
} else {
|
448 |
+
$flag = TRUE;
|
449 |
+
$query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'wd_fb_theme WHERE id="%d"', $tag_id);
|
450 |
+
$wpdb->query($query);
|
451 |
+
}
|
452 |
+
}
|
453 |
+
}
|
454 |
+
if ($flag) {
|
455 |
+
$message = 5;
|
456 |
+
} else {
|
457 |
+
$message = 6;
|
458 |
+
}
|
459 |
+
$page = WDW_FFWD_Library::get('page');
|
460 |
+
$query_url = wp_nonce_url(admin_url('admin.php'), 'themes_ffwd', 'ffwd_nonce');
|
461 |
+
$query_url = add_query_arg(array('page' => $page, 'task' => 'display', 'message' => $message), $query_url);
|
462 |
+
WDW_FFWD_Library::spider_redirect($query_url);
|
463 |
+
}
|
464 |
+
|
465 |
+
public function setdefault($id)
|
466 |
+
{
|
467 |
+
global $wpdb;
|
468 |
+
$save = $wpdb->update($wpdb->prefix . 'wd_fb_theme', array('default_theme' => 0), array('default_theme' => 1));
|
469 |
+
$save = $wpdb->update($wpdb->prefix . 'wd_fb_theme', array('default_theme' => 1), array('id' => $id));
|
470 |
+
if ($save !== FALSE) {
|
471 |
+
$message = 7;
|
472 |
+
} else {
|
473 |
+
$message = 2;
|
474 |
+
}
|
475 |
+
$page = WDW_FFWD_Library::get('page');
|
476 |
+
$query_url = wp_nonce_url(admin_url('admin.php'), 'themes_ffwd', 'ffwd_nonce');
|
477 |
+
$query_url = add_query_arg(array('page' => $page, 'task' => 'display', 'message' => $message), $query_url);
|
478 |
+
WDW_FFWD_Library::spider_redirect($query_url);
|
479 |
+
}
|
480 |
+
|
481 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
482 |
+
// Getters & Setters //
|
483 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
484 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
485 |
+
// Private Methods //
|
486 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
487 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
488 |
+
// Listeners //
|
489 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
490 |
+
|
491 |
+
|
492 |
+
}
|
admin/controllers/FFWDControllerUninstall_ffwd.php
CHANGED
@@ -1,62 +1,62 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class FFWDControllerUninstall_ffwd {
|
4 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
-
// Events //
|
6 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
-
// Constants //
|
9 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
-
// Variables //
|
12 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
-
// Constructor & Destructor //
|
15 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
-
public function __construct() {
|
17 |
-
}
|
18 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
-
// Public Methods //
|
20 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
-
public function execute() {
|
22 |
-
$task = ((isset($_POST['task'])) ? esc_html(stripslashes($_POST['task'])) : '');
|
23 |
-
if($task != ''){
|
24 |
-
if(!WDW_FFWD_Library::verify_nonce('uninstall_ffwd')){
|
25 |
-
die('Sorry, your nonce did not verify.');
|
26 |
-
}
|
27 |
-
}
|
28 |
-
if (method_exists($this, $task)) {
|
29 |
-
$this->$task();
|
30 |
-
}
|
31 |
-
else {
|
32 |
-
$this->display();
|
33 |
-
}
|
34 |
-
}
|
35 |
-
|
36 |
-
public function display() {
|
37 |
-
require_once WD_FFWD_DIR . "/admin/models/FFWDModelUninstall_ffwd.php";
|
38 |
-
$model = new FFWDModelUninstall_ffwd();
|
39 |
-
|
40 |
-
require_once WD_FFWD_DIR . "/admin/views/FFWDViewUninstall_ffwd.php";
|
41 |
-
$view = new FFWDViewUninstall_ffwd($model);
|
42 |
-
$view->display();
|
43 |
-
}
|
44 |
-
|
45 |
-
public function uninstall() {
|
46 |
-
require_once WD_FFWD_DIR . "/admin/models/FFWDModelUninstall_ffwd.php";
|
47 |
-
$model = new FFWDModelUninstall_ffwd();
|
48 |
-
|
49 |
-
require_once WD_FFWD_DIR . "/admin/views/FFWDViewUninstall_ffwd.php";
|
50 |
-
$view = new FFWDViewUninstall_ffwd($model);
|
51 |
-
$view->uninstall();
|
52 |
-
}
|
53 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
54 |
-
// Getters & Setters //
|
55 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
56 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
57 |
-
// Private Methods //
|
58 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
59 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
60 |
-
// Listeners //
|
61 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
62 |
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FFWDControllerUninstall_ffwd {
|
4 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
+
// Events //
|
6 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
+
// Constants //
|
9 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
+
// Variables //
|
12 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
+
// Constructor & Destructor //
|
15 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
+
public function __construct() {
|
17 |
+
}
|
18 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
+
// Public Methods //
|
20 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
+
public function execute() {
|
22 |
+
$task = ((isset($_POST['task'])) ? esc_html(stripslashes($_POST['task'])) : '');
|
23 |
+
if($task != ''){
|
24 |
+
if(!WDW_FFWD_Library::verify_nonce('uninstall_ffwd')){
|
25 |
+
die('Sorry, your nonce did not verify.');
|
26 |
+
}
|
27 |
+
}
|
28 |
+
if (method_exists($this, $task)) {
|
29 |
+
$this->$task();
|
30 |
+
}
|
31 |
+
else {
|
32 |
+
$this->display();
|
33 |
+
}
|
34 |
+
}
|
35 |
+
|
36 |
+
public function display() {
|
37 |
+
require_once WD_FFWD_DIR . "/admin/models/FFWDModelUninstall_ffwd.php";
|
38 |
+
$model = new FFWDModelUninstall_ffwd();
|
39 |
+
|
40 |
+
require_once WD_FFWD_DIR . "/admin/views/FFWDViewUninstall_ffwd.php";
|
41 |
+
$view = new FFWDViewUninstall_ffwd($model);
|
42 |
+
$view->display();
|
43 |
+
}
|
44 |
+
|
45 |
+
public function uninstall() {
|
46 |
+
require_once WD_FFWD_DIR . "/admin/models/FFWDModelUninstall_ffwd.php";
|
47 |
+
$model = new FFWDModelUninstall_ffwd();
|
48 |
+
|
49 |
+
require_once WD_FFWD_DIR . "/admin/views/FFWDViewUninstall_ffwd.php";
|
50 |
+
$view = new FFWDViewUninstall_ffwd($model);
|
51 |
+
$view->uninstall();
|
52 |
+
}
|
53 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
54 |
+
// Getters & Setters //
|
55 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
56 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
57 |
+
// Private Methods //
|
58 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
59 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
60 |
+
// Listeners //
|
61 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
62 |
}
|
admin/controllers/FFWDControllerWidget.php
CHANGED
@@ -1,65 +1,65 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class FFWDControllerWidget extends WP_Widget {
|
4 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
-
// Events //
|
6 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
-
// Constants //
|
9 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
-
// Variables //
|
12 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
-
private $view;
|
14 |
-
private $model;
|
15 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
-
// Constructor & Destructor //
|
17 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
18 |
-
public function __construct() {
|
19 |
-
$widget_ops = array(
|
20 |
-
'classname' => 'ffwd_info',
|
21 |
-
'description' => 'Add Facebook feed to Your widget area.'
|
22 |
-
);
|
23 |
-
// Widget Control Settings.
|
24 |
-
$control_ops = array('id_base' => 'ffwd_info');
|
25 |
-
// Create the widget.
|
26 |
-
parent::__construct('ffwd_info', 'Facebook Feed WD', $widget_ops, $control_ops);
|
27 |
-
require_once WD_FFWD_DIR . "/admin/models/FFWDModelWidget.php";
|
28 |
-
$this->model = new FFWDModelWidget();
|
29 |
-
require_once WD_FFWD_DIR . "/admin/views/FFWDViewWidget.php";
|
30 |
-
$this->view = new FFWDViewWidget($this->model);
|
31 |
-
}
|
32 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
33 |
-
// Public Methods //
|
34 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
35 |
-
|
36 |
-
public function widget($args, $instance) {
|
37 |
-
$this->view->widget($args, $instance);
|
38 |
-
}
|
39 |
-
|
40 |
-
public function form( $instance ) {
|
41 |
-
$this->view->form($instance, parent::get_field_id('title'), parent::get_field_name('title'), parent::get_field_id('id'), parent::get_field_name('id'), parent::get_field_id('count'), parent::get_field_name('count'), parent::get_field_id('width'), parent::get_field_name('width'), parent::get_field_id('height'), parent::get_field_name('height'), parent::get_field_id('theme_id'), parent::get_field_name('theme_id'), parent::get_field_id('view_type'), parent::get_field_name('view_type'));
|
42 |
-
}
|
43 |
-
|
44 |
-
// Update Settings.
|
45 |
-
public function update($new_instance, $old_instance) {
|
46 |
-
$instance['title'] = strip_tags($new_instance['title']);
|
47 |
-
$instance['id'] = $new_instance['id'];
|
48 |
-
$instance['count'] = $new_instance['count'];
|
49 |
-
$instance['width'] = $new_instance['width'];
|
50 |
-
$instance['height'] = $new_instance['height'];
|
51 |
-
//$instance['theme_id'] = $new_instance['theme_id'];
|
52 |
-
//$instance['view_type'] = $new_instance['view_type'];
|
53 |
-
return $instance;
|
54 |
-
}
|
55 |
-
|
56 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
57 |
-
// Getters & Setters //
|
58 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
59 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
60 |
-
// Private Methods //
|
61 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
62 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
63 |
-
// Listeners //
|
64 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
65 |
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FFWDControllerWidget extends WP_Widget {
|
4 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
+
// Events //
|
6 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
+
// Constants //
|
9 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
+
// Variables //
|
12 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
+
private $view;
|
14 |
+
private $model;
|
15 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
+
// Constructor & Destructor //
|
17 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
18 |
+
public function __construct() {
|
19 |
+
$widget_ops = array(
|
20 |
+
'classname' => 'ffwd_info',
|
21 |
+
'description' => 'Add Facebook feed to Your widget area.'
|
22 |
+
);
|
23 |
+
// Widget Control Settings.
|
24 |
+
$control_ops = array('id_base' => 'ffwd_info');
|
25 |
+
// Create the widget.
|
26 |
+
parent::__construct('ffwd_info', 'Facebook Feed WD', $widget_ops, $control_ops);
|
27 |
+
require_once WD_FFWD_DIR . "/admin/models/FFWDModelWidget.php";
|
28 |
+
$this->model = new FFWDModelWidget();
|
29 |
+
require_once WD_FFWD_DIR . "/admin/views/FFWDViewWidget.php";
|
30 |
+
$this->view = new FFWDViewWidget($this->model);
|
31 |
+
}
|
32 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
33 |
+
// Public Methods //
|
34 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
35 |
+
|
36 |
+
public function widget($args, $instance) {
|
37 |
+
$this->view->widget($args, $instance);
|
38 |
+
}
|
39 |
+
|
40 |
+
public function form( $instance ) {
|
41 |
+
$this->view->form($instance, parent::get_field_id('title'), parent::get_field_name('title'), parent::get_field_id('id'), parent::get_field_name('id'), parent::get_field_id('count'), parent::get_field_name('count'), parent::get_field_id('width'), parent::get_field_name('width'), parent::get_field_id('height'), parent::get_field_name('height'), parent::get_field_id('theme_id'), parent::get_field_name('theme_id'), parent::get_field_id('view_type'), parent::get_field_name('view_type'));
|
42 |
+
}
|
43 |
+
|
44 |
+
// Update Settings.
|
45 |
+
public function update($new_instance, $old_instance) {
|
46 |
+
$instance['title'] = strip_tags($new_instance['title']);
|
47 |
+
$instance['id'] = $new_instance['id'];
|
48 |
+
$instance['count'] = $new_instance['count'];
|
49 |
+
$instance['width'] = $new_instance['width'];
|
50 |
+
$instance['height'] = $new_instance['height'];
|
51 |
+
//$instance['theme_id'] = $new_instance['theme_id'];
|
52 |
+
//$instance['view_type'] = $new_instance['view_type'];
|
53 |
+
return $instance;
|
54 |
+
}
|
55 |
+
|
56 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
57 |
+
// Getters & Setters //
|
58 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
59 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
60 |
+
// Private Methods //
|
61 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
62 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
63 |
+
// Listeners //
|
64 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
65 |
}
|
admin/models/FFWDModelFFWDShortcode.php
CHANGED
@@ -1,46 +1,46 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class FFWDModelFFWDShortcode {
|
4 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
-
// Events //
|
6 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
-
// Constants //
|
9 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
-
// Variables //
|
12 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
-
// Constructor & Destructor //
|
15 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
-
public function __construct() {
|
17 |
-
}
|
18 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
-
// Public Methods //
|
20 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
public function get_wd_fb_data() {
|
27 |
-
global $wpdb;
|
28 |
-
$query = "SELECT * FROM " . $wpdb->prefix . "wd_fb_info WHERE published=1 ORDER BY name";
|
29 |
-
$rows = $wpdb->get_results($query);
|
30 |
-
return $rows;
|
31 |
-
}
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
38 |
-
// Getters & Setters //
|
39 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
40 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
41 |
-
// Private Methods //
|
42 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
43 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
44 |
-
// Listeners //
|
45 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
46 |
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FFWDModelFFWDShortcode {
|
4 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
+
// Events //
|
6 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
+
// Constants //
|
9 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
+
// Variables //
|
12 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
+
// Constructor & Destructor //
|
15 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
+
public function __construct() {
|
17 |
+
}
|
18 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
+
// Public Methods //
|
20 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
+
|
22 |
+
|
23 |
+
|
24 |
+
|
25 |
+
|
26 |
+
public function get_wd_fb_data() {
|
27 |
+
global $wpdb;
|
28 |
+
$query = "SELECT * FROM " . $wpdb->prefix . "wd_fb_info WHERE published=1 ORDER BY name";
|
29 |
+
$rows = $wpdb->get_results($query);
|
30 |
+
return $rows;
|
31 |
+
}
|
32 |
+
|
33 |
+
|
34 |
+
|
35 |
+
|
36 |
+
|
37 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
38 |
+
// Getters & Setters //
|
39 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
40 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
41 |
+
// Private Methods //
|
42 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
43 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
44 |
+
// Listeners //
|
45 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
46 |
}
|
admin/models/FFWDModelInfo_ffwd.php
CHANGED
@@ -1,470 +1,470 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class FFWDModelInfo_ffwd {
|
4 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
-
// Events //
|
6 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
-
// Constants //
|
9 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
-
// Variables //
|
12 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
-
private $per_page = 20;
|
14 |
-
private $facebook_sdk;
|
15 |
-
private $app_id;
|
16 |
-
private $app_secret;
|
17 |
-
private $access_token;
|
18 |
-
public $ffwd_objects;
|
19 |
-
public $date_timezones = array(
|
20 |
-
'Pacific/Midway' => "(GMT-11:00) Midway Island",
|
21 |
-
'US/Samoa' => "(GMT-11:00) Samoa",
|
22 |
-
'US/Hawaii' => "(GMT-10:00) Hawaii",
|
23 |
-
'US/Alaska' => "(GMT-09:00) Alaska",
|
24 |
-
'US/Pacific' => "(GMT-08:00) Pacific Time (US & Canada)",
|
25 |
-
'America/Tijuana' => "(GMT-08:00) Tijuana",
|
26 |
-
'US/Arizona' => "(GMT-07:00) Arizona",
|
27 |
-
'US/Mountain' => "(GMT-07:00) Mountain Time (US & Canada)",
|
28 |
-
'America/Chihuahua' => "(GMT-07:00) Chihuahua",
|
29 |
-
'America/Mazatlan' => "(GMT-07:00) Mazatlan",
|
30 |
-
'America/Mexico_City' => "(GMT-06:00) Mexico City",
|
31 |
-
'America/Monterrey' => "(GMT-06:00) Monterrey",
|
32 |
-
'Canada/Saskatchewan' => "(GMT-06:00) Saskatchewan",
|
33 |
-
'US/Central' => "(GMT-06:00) Central Time (US & Canada)",
|
34 |
-
'US/Eastern' => "(GMT-05:00) Eastern Time (US & Canada)",
|
35 |
-
'US/East-Indiana' => "(GMT-05:00) Indiana (East)",
|
36 |
-
'America/Bogota' => "(GMT-05:00) Bogota",
|
37 |
-
'America/Lima' => "(GMT-05:00) Lima",
|
38 |
-
'America/Caracas' => "(GMT-04:30) Caracas",
|
39 |
-
'Canada/Atlantic' => "(GMT-04:00) Atlantic Time (Canada)",
|
40 |
-
'America/La_Paz' => "(GMT-04:00) La Paz",
|
41 |
-
'America/Santiago' => "(GMT-04:00) Santiago",
|
42 |
-
'Canada/Newfoundland' => "(GMT-03:30) Newfoundland",
|
43 |
-
'America/Buenos_Aires' => "(GMT-03:00) Buenos Aires",
|
44 |
-
'Greenland' => "(GMT-03:00) Greenland",
|
45 |
-
'Atlantic/Stanley' => "(GMT-02:00) Stanley",
|
46 |
-
'Atlantic/Azores' => "(GMT-01:00) Azores",
|
47 |
-
'Atlantic/Cape_Verde' => "(GMT-01:00) Cape Verde Is.",
|
48 |
-
'Africa/Casablanca' => "(GMT) Casablanca",
|
49 |
-
'Europe/Dublin' => "(GMT) Dublin",
|
50 |
-
'Europe/Lisbon' => "(GMT) Lisbon",
|
51 |
-
'Europe/London' => "(GMT) London",
|
52 |
-
'Africa/Monrovia' => "(GMT) Monrovia",
|
53 |
-
'Europe/Amsterdam' => "(GMT+01:00) Amsterdam",
|
54 |
-
'Europe/Belgrade' => "(GMT+01:00) Belgrade",
|
55 |
-
'Europe/Berlin' => "(GMT+01:00) Berlin",
|
56 |
-
'Europe/Bratislava' => "(GMT+01:00) Bratislava",
|
57 |
-
'Europe/Brussels' => "(GMT+01:00) Brussels",
|
58 |
-
'Europe/Budapest' => "(GMT+01:00) Budapest",
|
59 |
-
'Europe/Copenhagen' => "(GMT+01:00) Copenhagen",
|
60 |
-
'Europe/Ljubljana' => "(GMT+01:00) Ljubljana",
|
61 |
-
'Europe/Madrid' => "(GMT+01:00) Madrid",
|
62 |
-
'Europe/Paris' => "(GMT+01:00) Paris",
|
63 |
-
'Europe/Prague' => "(GMT+01:00) Prague",
|
64 |
-
'Europe/Rome' => "(GMT+01:00) Rome",
|
65 |
-
'Europe/Sarajevo' => "(GMT+01:00) Sarajevo",
|
66 |
-
'Europe/Skopje' => "(GMT+01:00) Skopje",
|
67 |
-
'Europe/Stockholm' => "(GMT+01:00) Stockholm",
|
68 |
-
'Europe/Vienna' => "(GMT+01:00) Vienna",
|
69 |
-
'Europe/Warsaw' => "(GMT+01:00) Warsaw",
|
70 |
-
'Europe/Zagreb' => "(GMT+01:00) Zagreb",
|
71 |
-
'Europe/Athens' => "(GMT+02:00) Athens",
|
72 |
-
'Europe/Bucharest' => "(GMT+02:00) Bucharest",
|
73 |
-
'Africa/Cairo' => "(GMT+02:00) Cairo",
|
74 |
-
'Africa/Harare' => "(GMT+02:00) Harare",
|
75 |
-
'Europe/Helsinki' => "(GMT+02:00) Helsinki",
|
76 |
-
'Europe/Istanbul' => "(GMT+02:00) Istanbul",
|
77 |
-
'Asia/Jerusalem' => "(GMT+02:00) Jerusalem",
|
78 |
-
'Europe/Kiev' => "(GMT+02:00) Kyiv",
|
79 |
-
'Europe/Minsk' => "(GMT+02:00) Minsk",
|
80 |
-
'Europe/Riga' => "(GMT+02:00) Riga",
|
81 |
-
'Europe/Sofia' => "(GMT+02:00) Sofia",
|
82 |
-
'Europe/Tallinn' => "(GMT+02:00) Tallinn",
|
83 |
-
'Europe/Vilnius' => "(GMT+02:00) Vilnius",
|
84 |
-
'Asia/Baghdad' => "(GMT+03:00) Baghdad",
|
85 |
-
'Asia/Kuwait' => "(GMT+03:00) Kuwait",
|
86 |
-
'Africa/Nairobi' => "(GMT+03:00) Nairobi",
|
87 |
-
'Asia/Riyadh' => "(GMT+03:00) Riyadh",
|
88 |
-
'Europe/Moscow' => "(GMT+03:00) Moscow",
|
89 |
-
'Asia/Tehran' => "(GMT+03:30) Tehran",
|
90 |
-
'Asia/Baku' => "(GMT+04:00) Baku",
|
91 |
-
'Europe/Volgograd' => "(GMT+04:00) Volgograd",
|
92 |
-
'Asia/Muscat' => "(GMT+04:00) Muscat",
|
93 |
-
'Asia/Tbilisi' => "(GMT+04:00) Tbilisi",
|
94 |
-
'Asia/Yerevan' => "(GMT+04:00) Yerevan",
|
95 |
-
'Asia/Kabul' => "(GMT+04:30) Kabul",
|
96 |
-
'Asia/Karachi' => "(GMT+05:00) Karachi",
|
97 |
-
'Asia/Tashkent' => "(GMT+05:00) Tashkent",
|
98 |
-
'Asia/Kolkata' => "(GMT+05:30) Kolkata",
|
99 |
-
'Asia/Kathmandu' => "(GMT+05:45) Kathmandu",
|
100 |
-
'Asia/Yekaterinburg' => "(GMT+06:00) Ekaterinburg",
|
101 |
-
'Asia/Almaty' => "(GMT+06:00) Almaty",
|
102 |
-
'Asia/Dhaka' => "(GMT+06:00) Dhaka",
|
103 |
-
'Asia/Novosibirsk' => "(GMT+07:00) Novosibirsk",
|
104 |
-
'Asia/Bangkok' => "(GMT+07:00) Bangkok",
|
105 |
-
'Asia/Jakarta' => "(GMT+07:00) Jakarta",
|
106 |
-
'Asia/Krasnoyarsk' => "(GMT+08:00) Krasnoyarsk",
|
107 |
-
'Asia/Chongqing' => "(GMT+08:00) Chongqing",
|
108 |
-
'Asia/Hong_Kong' => "(GMT+08:00) Hong Kong",
|
109 |
-
'Asia/Kuala_Lumpur' => "(GMT+08:00) Kuala Lumpur",
|
110 |
-
'Australia/Perth' => "(GMT+08:00) Perth",
|
111 |
-
'Asia/Singapore' => "(GMT+08:00) Singapore",
|
112 |
-
'Asia/Taipei' => "(GMT+08:00) Taipei",
|
113 |
-
'Asia/Ulaanbaatar' => "(GMT+08:00) Ulaan Bataar",
|
114 |
-
'Asia/Urumqi' => "(GMT+08:00) Urumqi",
|
115 |
-
'Asia/Irkutsk' => "(GMT+09:00) Irkutsk",
|
116 |
-
'Asia/Seoul' => "(GMT+09:00) Seoul",
|
117 |
-
'Asia/Tokyo' => "(GMT+09:00) Tokyo",
|
118 |
-
'Australia/Adelaide' => "(GMT+09:30) Adelaide",
|
119 |
-
'Australia/Darwin' => "(GMT+09:30) Darwin",
|
120 |
-
'Asia/Yakutsk' => "(GMT+10:00) Yakutsk",
|
121 |
-
'Australia/Brisbane' => "(GMT+10:00) Brisbane",
|
122 |
-
'Australia/Canberra' => "(GMT+10:00) Canberra",
|
123 |
-
'Pacific/Guam' => "(GMT+10:00) Guam",
|
124 |
-
'Australia/Hobart' => "(GMT+10:00) Hobart",
|
125 |
-
'Australia/Melbourne' => "(GMT+10:00) Melbourne",
|
126 |
-
'Pacific/Port_Moresby' => "(GMT+10:00) Port Moresby",
|
127 |
-
'Australia/Sydney' => "(GMT+10:00) Sydney",
|
128 |
-
'Asia/Vladivostok' => "(GMT+11:00) Vladivostok",
|
129 |
-
'Asia/Magadan' => "(GMT+12:00) Magadan",
|
130 |
-
'Pacific/Auckland' => "(GMT+12:00) Auckland",
|
131 |
-
'Pacific/Fiji' => "(GMT+12:00) Fiji",
|
132 |
-
);
|
133 |
-
public $date_formats = array(
|
134 |
-
"ago" => "2 days ago",
|
135 |
-
"F j, Y, g:i a" => "March 10, 2015, 5:16 pm",
|
136 |
-
"F j, Y" => "March 10, 2015",
|
137 |
-
"l, F jS, Y" => "Tuesday, March 10th, 2015",
|
138 |
-
"l, F jS, Y, g:i a" => "Tuesday, March 10th, 2015, 5:16 pm",
|
139 |
-
"Y/m/d \a\\t g:i a" => "2015/03/10 at 12:50 AM",
|
140 |
-
"Y/m/d" => " 2015/03/10",
|
141 |
-
"Y.m.d" => " 2015.03.10",
|
142 |
-
);
|
143 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
144 |
-
// Constructor & Destructor //
|
145 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
146 |
-
public function __construct() {
|
147 |
-
$user = get_current_user_id();
|
148 |
-
$screen = get_current_screen();
|
149 |
-
$option = $screen->get_option('per_page', 'option');
|
150 |
-
|
151 |
-
$this->per_page = get_user_meta($user, $option, true);
|
152 |
-
|
153 |
-
if ( empty ( $this->per_page) || $this->per_page < 1 ) {
|
154 |
-
$this->per_page = $screen->get_option( 'per_page', 'default' );
|
155 |
-
|
156 |
-
}
|
157 |
-
}
|
158 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
159 |
-
// Public Methods //
|
160 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
161 |
-
|
162 |
-
public function get_image_rows_data($gallery_id) {
|
163 |
-
global $wpdb;
|
164 |
-
if (!current_user_can('manage_options') && $wpdb->get_var("SELECT image_role FROM " . $wpdb->prefix . "bwg_option")) {
|
165 |
-
$where = " WHERE author=" . get_current_user_id();
|
166 |
-
}
|
167 |
-
else {
|
168 |
-
$where = " WHERE author>=0 ";
|
169 |
-
}
|
170 |
-
$where .= ((isset($_POST['search_value'])) ? ' AND filename LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
|
171 |
-
$asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
|
172 |
-
$asc_or_desc = ($asc_or_desc != 'asc') ? 'desc' : 'asc';
|
173 |
-
$image_order_by = ' ORDER BY `' . ((isset($_POST['image_order_by']) && esc_html(stripslashes($_POST['image_order_by'])) != '') ? esc_html(stripslashes($_POST['image_order_by'])) : 'order') . '` ' . $asc_or_desc;
|
174 |
-
if (isset($_POST['page_number']) && $_POST['page_number']) {
|
175 |
-
$limit = ((int) $_POST['page_number'] - 1) * $this->per_page;
|
176 |
-
}
|
177 |
-
else {
|
178 |
-
$limit = 0;
|
179 |
-
}
|
180 |
-
$row = $wpdb->get_results("SELECT * FROM " . $wpdb->prefix . "bwg_image " . $where . " AND gallery_id='" . $gallery_id . "' " . $image_order_by . " LIMIT " . $limit . ",".$this->per_page);
|
181 |
-
return $row;
|
182 |
-
}
|
183 |
-
|
184 |
-
public function get_tag_rows_data($image_id) {
|
185 |
-
global $wpdb;
|
186 |
-
$rows = $wpdb->get_results($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "terms AS table1 INNER JOIN " . $wpdb->prefix . "bwg_image_tag AS table2 ON table1.term_id=table2.tag_id WHERE table2.image_id='%d' ORDER BY table2.tag_id", $image_id));
|
187 |
-
return $rows;
|
188 |
-
}
|
189 |
-
|
190 |
-
public function check_logged_in_user() {
|
191 |
-
if(!class_exists('WDFacebookFeed'))
|
192 |
-
require_once(WD_FFWD_DIR . '/framework/WDFacebookFeed.php');
|
193 |
-
return WDFacebookFeed::check_logged_in_user();
|
194 |
-
}
|
195 |
-
|
196 |
-
public function get_facebook_data() {
|
197 |
-
if(!class_exists('Facebook'))
|
198 |
-
include WD_FFWD_DIR . "/framework/facebook-sdk/facebook.php";
|
199 |
-
global $wpdb;
|
200 |
-
//get app_id and secret from facebook login response
|
201 |
-
$row = $wpdb->get_row($wpdb->prepare('SELECT app_id, app_secret FROM ' . $wpdb->prefix . 'wd_fb_option WHERE id="%d"', 1));
|
202 |
-
|
203 |
-
//$facebook_app_id = (isset($_REQUEST['appId'])) ? esc_html(stripslashes($_REQUEST['appId'])) : '';
|
204 |
-
//$facebook_app_secret = (isset($_REQUEST['secret'])) ? esc_html(stripslashes($_REQUEST['secret'])) : '';
|
205 |
-
|
206 |
-
$this->app_id = $row->app_id;
|
207 |
-
$this->app_secret = $row->app_secret;
|
208 |
-
$this->access_token = $row->user_access_token;
|
209 |
-
|
210 |
-
$this->facebook_sdk = new Facebook(array(
|
211 |
-
'appId' => $this->app_id,
|
212 |
-
'secret' => $this->app_secret,
|
213 |
-
));
|
214 |
-
if(isset($_POST['app_log_out'])) {
|
215 |
-
//setcookie('fbs_'.$this->facebook_sdk->getAppId(), '', time()-100, '/', 'http://localhost/wordpress_rfe/');
|
216 |
-
session_destroy();
|
217 |
-
//although you need reload the page for loging out
|
218 |
-
}
|
219 |
-
if($this->facebook_sdk->getUser()) {
|
220 |
-
try{
|
221 |
-
}
|
222 |
-
catch (FacebookApiException $e) {
|
223 |
-
echo "<!--DEBUG: ".$e." :END-->";
|
224 |
-
error_log($e);
|
225 |
-
}
|
226 |
-
}
|
227 |
-
}
|
228 |
-
|
229 |
-
public function log_in_log_out() {
|
230 |
-
$this->get_facebook_data();
|
231 |
-
$user = $this->facebook_sdk->getUser();
|
232 |
-
if ($user) {
|
233 |
-
try {
|
234 |
-
$old_access_token = $this->access_token;
|
235 |
-
// Proceed knowing you have a logged in user who's authenticated.
|
236 |
-
$user_profile = $this->facebook_sdk->api('/me');
|
237 |
-
$this->facebook_sdk->setExtendedAccessToken();
|
238 |
-
$access_token = $this->facebook_sdk->getAccessToken();
|
239 |
-
$this->access_token = $access_token;
|
240 |
-
} catch (FacebookApiException $e) {
|
241 |
-
echo '<div class="error"><p><strong>OAuth Error</strong>Error added to error_log: '.$e.'</p></div>';
|
242 |
-
error_log($e);
|
243 |
-
$user = null;
|
244 |
-
}
|
245 |
-
}
|
246 |
-
// Login or logout url will be needed depending on current user state.
|
247 |
-
$app_link_text = $app_link_url = null;
|
248 |
-
if ($user && !isset($_POST['app_log_out'])) {
|
249 |
-
$app_link_url = $this->facebook_sdk->getLogoutUrl(array('next' => admin_url() . 'admin.php?page=options_bwg'));
|
250 |
-
$app_link_text = __("Logout of your app", 'facebook-albums');
|
251 |
-
} else {
|
252 |
-
$app_link_url = $this->facebook_sdk->getLoginUrl(array('scope' => 'user_photos,user_videos,read_stream,user_posts'));
|
253 |
-
$app_link_text = __('Log into Facebook with your app', 'facebook-albums');
|
254 |
-
} ?>
|
255 |
-
<!--<input type="hidden" name="facebookalbum[app_id]" value="<?php echo $this->app_id; ?>" />
|
256 |
-
<input type="hidden" name="facebookalbum[app_secret]" value="<?php echo $this->app_secret; ?>" />
|
257 |
-
<input type="hidden" name="facebookalbum[access_token]" value="<?php echo $this->access_token; ?>" /> -->
|
258 |
-
<?php if($user && !isset($_POST['app_log_out'])) : ?>
|
259 |
-
<div style="float: right;"><span style="margin: 0 10px;"><?php echo $user_profile['name']; ?></span><img src="https://graph.facebook.com/<?php echo $user_profile['id']; ?>/picture?type=square" style="vertical-align: middle"/></div>
|
260 |
-
<ul style="margin:0px;list-style-type:none">
|
261 |
-
<li><a href="https://developers.facebook.com/apps/<?php echo $this->app_id; ?>" target="_blank"><?php _e("View your application's settings.", 'facebook-albums'); ?></a></li>
|
262 |
-
<input class="button-primary" type="submit" name="app_log_out" value="Log out from app" />
|
263 |
-
</ul>
|
264 |
-
<?php else : ?>
|
265 |
-
<a class="button button-primary" id="<?php echo WD_FB_PREFIX; ?>_login_button" href="<?php echo $app_link_url; ?>"><?php echo $app_link_text; ?></a>
|
266 |
-
<?php endif; ?>
|
267 |
-
<div style="clear: both;"> </div>
|
268 |
-
<?php
|
269 |
-
/*<!-- <p><?php printf(__('Having issues once logged in? Try <a href="?page=facebook-album&reset_application=%s">resetting application data.</a> <em>warning: removes App ID and App Secret</em>'), wp_create_nonce($current_user->data->user_email)); ?></p>
|
270 |
-
<p><strong>Notice!</strong> Your extended access token will only last about 2 months. So visit this page every month or so to keep the access token fresh.</p> -->*/
|
271 |
-
}
|
272 |
-
|
273 |
-
public function get_rows_data() {
|
274 |
-
global $wpdb;
|
275 |
-
$where = ((isset($_POST['search_value'])) ? ' WHERE name LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
|
276 |
-
$asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
|
277 |
-
$asc_or_desc = ($asc_or_desc != 'asc') ? 'desc' : 'asc';
|
278 |
-
$order_by = ' ORDER BY `' . ((isset($_POST['order_by']) && esc_html(stripslashes($_POST['order_by'])) != '') ? esc_html(stripslashes($_POST['order_by'])) : 'order') . '` ' . $asc_or_desc;
|
279 |
-
if (isset($_POST['page_number']) && $_POST['page_number']) {
|
280 |
-
$limit = ((int) $_POST['page_number'] - 1) * $this->per_page;
|
281 |
-
}
|
282 |
-
else {
|
283 |
-
$limit = 0;
|
284 |
-
}
|
285 |
-
$query = "SELECT * FROM " . $wpdb->prefix . "wd_fb_info " . $where . $order_by . " LIMIT " . $limit . ",".$this->per_page;
|
286 |
-
$rows = $wpdb->get_results($query);
|
287 |
-
return $rows;
|
288 |
-
}
|
289 |
-
|
290 |
-
public function del_ffwd_objects() {
|
291 |
-
global $wpdb;
|
292 |
-
$query = "SELECT * FROM " . $wpdb->prefix . "wd_fb_info WHERE `update_mode` <> 'no_update'";
|
293 |
-
$rows = $wpdb->get_results($query);
|
294 |
-
require_once(WD_FFWD_DIR . '/framework/WDFacebookFeed.php');
|
295 |
-
WDFacebookFeed::prepare_to_delete($rows);
|
296 |
-
$this->ffwd_objects = json_encode(WDFacebookFeed::$client_side_check, true);
|
297 |
-
}
|
298 |
-
|
299 |
-
public function get_row_data($id) {
|
300 |
-
global $wpdb;
|
301 |
-
if ($id != 0) {
|
302 |
-
$row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wd_fb_info WHERE id="%d"', $id));
|
303 |
-
}
|
304 |
-
else {
|
305 |
-
$row = new stdClass();
|
306 |
-
$row->id = 0;
|
307 |
-
$row->name = '';
|
308 |
-
$row->type = '';
|
309 |
-
$row->content_type = 'specific';
|
310 |
-
$row->content = 'photos';
|
311 |
-
$row->order = 0;
|
312 |
-
$row->content_url = '';
|
313 |
-
$row->timeline_type = 'posts';
|
314 |
-
$row->limit = 10;
|
315 |
-
$row->app_id = '';
|
316 |
-
$row->app_secret = '';
|
317 |
-
$row->exist_access = 1;
|
318 |
-
$row->access_token = '';
|
319 |
-
$row->published = 1;
|
320 |
-
$row->update_mode = 'keep_old';
|
321 |
-
$row->view_on_fb= 1;
|
322 |
-
$row->post_text_length= 200;
|
323 |
-
$row->post_date_format= 'ago';
|
324 |
-
$row->fb_view_type= '';
|
325 |
-
$row->date_timezone= 'Pacific/Midway';
|
326 |
-
$row->event_street= 1;
|
327 |
-
$row->event_city= 1;
|
328 |
-
$row->event_country= 1;
|
329 |
-
$row->event_zip= 1;
|
330 |
-
$row->event_map= 1;
|
331 |
-
$row->event_date= 1;
|
332 |
-
$row->event_date_format= 'F j; Y; g:i a';
|
333 |
-
$row->event_desp_length= 200;
|
334 |
-
$row->comments_replies= 1;
|
335 |
-
$row->comments_filter= 'toplevel';
|
336 |
-
$row->comments_order= 'chronological';
|
337 |
-
$row->page_plugin_pos= 'bottom';
|
338 |
-
$row->page_plugin_fans= 1;
|
339 |
-
$row->page_plugin_cover= 1;
|
340 |
-
$row->page_plugin_header= 0;
|
341 |
-
$row->page_plugin_width= 380;
|
342 |
-
////////////////////////////////////////////
|
343 |
-
|
344 |
-
$row->popup_fullscreen= 0;
|
345 |
-
$row->popup_autoplay= 0;
|
346 |
-
$row->open_commentbox= 1;
|
347 |
-
$row->popup_width= 800;
|
348 |
-
$row->popup_height= 600;
|
349 |
-
$row->popup_effect= 'fade';
|
350 |
-
$row->popup_interval= 5;
|
351 |
-
$row->popup_enable_filmstrip= 0;
|
352 |
-
$row->popup_filmstrip_height= 70;
|
353 |
-
$row->popup_comments= 1;
|
354 |
-
$row->popup_likes= 1;
|
355 |
-
$row->popup_shares= 1;
|
356 |
-
$row->popup_author= 1;
|
357 |
-
$row->popup_name= 1;
|
358 |
-
$row->popup_place_name= 1;
|
359 |
-
$row->popup_message_desc= 1;
|
360 |
-
$row->popup_enable_ctrl_btn= 1;
|
361 |
-
$row->popup_enable_fullscreen= 1;
|
362 |
-
$row->popup_enable_info_btn= 1;
|
363 |
-
$row->popup_enable_facebook= 1;
|
364 |
-
$row->popup_enable_twitter= 1;
|
365 |
-
$row->popup_enable_google= 1;
|
366 |
-
$row->popup_enable_pinterest= 0;
|
367 |
-
$row->popup_enable_tumblr= 0;
|
368 |
-
/////////////////////////////////////
|
369 |
-
$row->image_max_columns= 5;
|
370 |
-
$row->thumb_width= 200;
|
371 |
-
$row->thumb_height= 150;
|
372 |
-
$row->thumb_comments= 1;
|
373 |
-
$row->thumb_likes= 1;
|
374 |
-
$row->thumb_name= 1;
|
375 |
-
$row->masonry_hor_ver= "vertical";
|
376 |
-
$row->blog_style_width= 700;
|
377 |
-
$row->blog_style_height= "";
|
378 |
-
$row->blog_style_view_type= 1;
|
379 |
-
$row->blog_style_comments= 1;
|
380 |
-
$row->blog_style_likes= 1;
|
381 |
-
$row->blog_style_message_desc= 1;
|
382 |
-
$row->blog_style_shares_butt= 0;
|
383 |
-
$row->blog_style_shares= 1;
|
384 |
-
$row->blog_style_author= 1;
|
385 |
-
$row->blog_style_name= 1;
|
386 |
-
$row->blog_style_place_name= 1;
|
387 |
-
$row->blog_style_facebook= 0;
|
388 |
-
$row->blog_style_twitter= 0;
|
389 |
-
$row->blog_style_google= 0;
|
390 |
-
$row->album_max_columns= 5;
|
391 |
-
$row->album_thumb_width= 200;
|
392 |
-
$row->album_thumb_height= 150;
|
393 |
-
$row->album_title= "show";
|
394 |
-
$row->fb_plugin= 0;
|
395 |
-
$row->fb_name= 0;
|
396 |
-
$row->pagination_type= 1;
|
397 |
-
$row->objects_per_page= 10;
|
398 |
-
$row->image_onclick_action= 'lightbox';
|
399 |
-
$row->album_image_thumb_width= 200;
|
400 |
-
$row->album_image_thumb_height= 150;
|
401 |
-
$row->album_image_max_columns= 5;
|
402 |
-
}
|
403 |
-
return $row;
|
404 |
-
}
|
405 |
-
|
406 |
-
public function page_nav() {
|
407 |
-
global $wpdb;
|
408 |
-
$where = ((isset($_POST['search_value']) && (esc_html(stripslashes($_POST['search_value'])) != '')) ? ' WHERE name LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
|
409 |
-
$query = "SELECT COUNT(*) FROM " . $wpdb->prefix . "wd_fb_info " . $where;
|
410 |
-
$total = $wpdb->get_var($query);
|
411 |
-
$page_nav['total'] = $total;
|
412 |
-
if (isset($_POST['page_number']) && $_POST['page_number']) {
|
413 |
-
$limit = ((int) $_POST['page_number'] - 1) * $this->per_page;
|
414 |
-
}
|
415 |
-
else {
|
416 |
-
$limit = 0;
|
417 |
-
}
|
418 |
-
$page_nav['limit'] = (int) ($limit / $this->per_page + 1);
|
419 |
-
return $page_nav;
|
420 |
-
}
|
421 |
-
|
422 |
-
public function image_page_nav($gallery_id) {
|
423 |
-
global $wpdb;
|
424 |
-
if (!current_user_can('manage_options') && $wpdb->get_var("SELECT image_role FROM " . $wpdb->prefix . "bwg_option")) {
|
425 |
-
$where = " AND author=" . get_current_user_id();
|
426 |
-
}
|
427 |
-
else {
|
428 |
-
$where = " AND author>=0 ";
|
429 |
-
}
|
430 |
-
$where .= ((isset($_POST['search_value']) && (esc_html(stripslashes($_POST['search_value'])) != '')) ? ' AND filename LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
|
431 |
-
$query = "SELECT COUNT(*) FROM " . $wpdb->prefix . "bwg_image WHERE gallery_id='" . $gallery_id . "' " . $where;
|
432 |
-
$total = $wpdb->get_var($query);
|
433 |
-
$page_nav['total'] = $total;
|
434 |
-
if (isset($_POST['page_number']) && $_POST['page_number']) {
|
435 |
-
$limit = ((int) $_POST['page_number'] - 1) * $this->per_page;
|
436 |
-
}
|
437 |
-
else {
|
438 |
-
$limit = 0;
|
439 |
-
}
|
440 |
-
$page_nav['limit'] = (int) ($limit / $this->per_page + 1);
|
441 |
-
return $page_nav;
|
442 |
-
}
|
443 |
-
|
444 |
-
public function get_option_row_data() {
|
445 |
-
global $wpdb;
|
446 |
-
$row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wd_fb_option WHERE id="%d"', 1));
|
447 |
-
return $row;
|
448 |
-
}
|
449 |
-
|
450 |
-
public function get_theme_rows_data() {
|
451 |
-
global $wpdb;
|
452 |
-
$query = "SELECT * FROM " . $wpdb->prefix . "wd_fb_theme ORDER BY name";
|
453 |
-
$rows = $wpdb->get_results($query);
|
454 |
-
return $rows;
|
455 |
-
}
|
456 |
-
|
457 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
458 |
-
// Getters & Setters //
|
459 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
460 |
-
public function per_page(){
|
461 |
-
return $this->per_page;
|
462 |
-
|
463 |
-
}
|
464 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
465 |
-
// Private Methods //
|
466 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
467 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
468 |
-
// Listeners //
|
469 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
470 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FFWDModelInfo_ffwd {
|
4 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
+
// Events //
|
6 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
+
// Constants //
|
9 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
+
// Variables //
|
12 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
+
private $per_page = 20;
|
14 |
+
private $facebook_sdk;
|
15 |
+
private $app_id;
|
16 |
+
private $app_secret;
|
17 |
+
private $access_token;
|
18 |
+
public $ffwd_objects;
|
19 |
+
public $date_timezones = array(
|
20 |
+
'Pacific/Midway' => "(GMT-11:00) Midway Island",
|
21 |
+
'US/Samoa' => "(GMT-11:00) Samoa",
|
22 |
+
'US/Hawaii' => "(GMT-10:00) Hawaii",
|
23 |
+
'US/Alaska' => "(GMT-09:00) Alaska",
|
24 |
+
'US/Pacific' => "(GMT-08:00) Pacific Time (US & Canada)",
|
25 |
+
'America/Tijuana' => "(GMT-08:00) Tijuana",
|
26 |
+
'US/Arizona' => "(GMT-07:00) Arizona",
|
27 |
+
'US/Mountain' => "(GMT-07:00) Mountain Time (US & Canada)",
|
28 |
+
'America/Chihuahua' => "(GMT-07:00) Chihuahua",
|
29 |
+
'America/Mazatlan' => "(GMT-07:00) Mazatlan",
|
30 |
+
'America/Mexico_City' => "(GMT-06:00) Mexico City",
|
31 |
+
'America/Monterrey' => "(GMT-06:00) Monterrey",
|
32 |
+
'Canada/Saskatchewan' => "(GMT-06:00) Saskatchewan",
|
33 |
+
'US/Central' => "(GMT-06:00) Central Time (US & Canada)",
|
34 |
+
'US/Eastern' => "(GMT-05:00) Eastern Time (US & Canada)",
|
35 |
+
'US/East-Indiana' => "(GMT-05:00) Indiana (East)",
|
36 |
+
'America/Bogota' => "(GMT-05:00) Bogota",
|
37 |
+
'America/Lima' => "(GMT-05:00) Lima",
|
38 |
+
'America/Caracas' => "(GMT-04:30) Caracas",
|
39 |
+
'Canada/Atlantic' => "(GMT-04:00) Atlantic Time (Canada)",
|
40 |
+
'America/La_Paz' => "(GMT-04:00) La Paz",
|
41 |
+
'America/Santiago' => "(GMT-04:00) Santiago",
|
42 |
+
'Canada/Newfoundland' => "(GMT-03:30) Newfoundland",
|
43 |
+
'America/Buenos_Aires' => "(GMT-03:00) Buenos Aires",
|
44 |
+
'Greenland' => "(GMT-03:00) Greenland",
|
45 |
+
'Atlantic/Stanley' => "(GMT-02:00) Stanley",
|
46 |
+
'Atlantic/Azores' => "(GMT-01:00) Azores",
|
47 |
+
'Atlantic/Cape_Verde' => "(GMT-01:00) Cape Verde Is.",
|
48 |
+
'Africa/Casablanca' => "(GMT) Casablanca",
|
49 |
+
'Europe/Dublin' => "(GMT) Dublin",
|
50 |
+
'Europe/Lisbon' => "(GMT) Lisbon",
|
51 |
+
'Europe/London' => "(GMT) London",
|
52 |
+
'Africa/Monrovia' => "(GMT) Monrovia",
|
53 |
+
'Europe/Amsterdam' => "(GMT+01:00) Amsterdam",
|
54 |
+
'Europe/Belgrade' => "(GMT+01:00) Belgrade",
|
55 |
+
'Europe/Berlin' => "(GMT+01:00) Berlin",
|
56 |
+
'Europe/Bratislava' => "(GMT+01:00) Bratislava",
|
57 |
+
'Europe/Brussels' => "(GMT+01:00) Brussels",
|
58 |
+
'Europe/Budapest' => "(GMT+01:00) Budapest",
|
59 |
+
'Europe/Copenhagen' => "(GMT+01:00) Copenhagen",
|
60 |
+
'Europe/Ljubljana' => "(GMT+01:00) Ljubljana",
|
61 |
+
'Europe/Madrid' => "(GMT+01:00) Madrid",
|
62 |
+
'Europe/Paris' => "(GMT+01:00) Paris",
|
63 |
+
'Europe/Prague' => "(GMT+01:00) Prague",
|
64 |
+
'Europe/Rome' => "(GMT+01:00) Rome",
|
65 |
+
'Europe/Sarajevo' => "(GMT+01:00) Sarajevo",
|
66 |
+
'Europe/Skopje' => "(GMT+01:00) Skopje",
|
67 |
+
'Europe/Stockholm' => "(GMT+01:00) Stockholm",
|
68 |
+
'Europe/Vienna' => "(GMT+01:00) Vienna",
|
69 |
+
'Europe/Warsaw' => "(GMT+01:00) Warsaw",
|
70 |
+
'Europe/Zagreb' => "(GMT+01:00) Zagreb",
|
71 |
+
'Europe/Athens' => "(GMT+02:00) Athens",
|
72 |
+
'Europe/Bucharest' => "(GMT+02:00) Bucharest",
|
73 |
+
'Africa/Cairo' => "(GMT+02:00) Cairo",
|
74 |
+
'Africa/Harare' => "(GMT+02:00) Harare",
|
75 |
+
'Europe/Helsinki' => "(GMT+02:00) Helsinki",
|
76 |
+
'Europe/Istanbul' => "(GMT+02:00) Istanbul",
|
77 |
+
'Asia/Jerusalem' => "(GMT+02:00) Jerusalem",
|
78 |
+
'Europe/Kiev' => "(GMT+02:00) Kyiv",
|
79 |
+
'Europe/Minsk' => "(GMT+02:00) Minsk",
|
80 |
+
'Europe/Riga' => "(GMT+02:00) Riga",
|
81 |
+
'Europe/Sofia' => "(GMT+02:00) Sofia",
|
82 |
+
'Europe/Tallinn' => "(GMT+02:00) Tallinn",
|
83 |
+
'Europe/Vilnius' => "(GMT+02:00) Vilnius",
|
84 |
+
'Asia/Baghdad' => "(GMT+03:00) Baghdad",
|
85 |
+
'Asia/Kuwait' => "(GMT+03:00) Kuwait",
|
86 |
+
'Africa/Nairobi' => "(GMT+03:00) Nairobi",
|
87 |
+
'Asia/Riyadh' => "(GMT+03:00) Riyadh",
|
88 |
+
'Europe/Moscow' => "(GMT+03:00) Moscow",
|
89 |
+
'Asia/Tehran' => "(GMT+03:30) Tehran",
|
90 |
+
'Asia/Baku' => "(GMT+04:00) Baku",
|
91 |
+
'Europe/Volgograd' => "(GMT+04:00) Volgograd",
|
92 |
+
'Asia/Muscat' => "(GMT+04:00) Muscat",
|
93 |
+
'Asia/Tbilisi' => "(GMT+04:00) Tbilisi",
|
94 |
+
'Asia/Yerevan' => "(GMT+04:00) Yerevan",
|
95 |
+
'Asia/Kabul' => "(GMT+04:30) Kabul",
|
96 |
+
'Asia/Karachi' => "(GMT+05:00) Karachi",
|
97 |
+
'Asia/Tashkent' => "(GMT+05:00) Tashkent",
|
98 |
+
'Asia/Kolkata' => "(GMT+05:30) Kolkata",
|
99 |
+
'Asia/Kathmandu' => "(GMT+05:45) Kathmandu",
|
100 |
+
'Asia/Yekaterinburg' => "(GMT+06:00) Ekaterinburg",
|
101 |
+
'Asia/Almaty' => "(GMT+06:00) Almaty",
|
102 |
+
'Asia/Dhaka' => "(GMT+06:00) Dhaka",
|
103 |
+
'Asia/Novosibirsk' => "(GMT+07:00) Novosibirsk",
|
104 |
+
'Asia/Bangkok' => "(GMT+07:00) Bangkok",
|
105 |
+
'Asia/Jakarta' => "(GMT+07:00) Jakarta",
|
106 |
+
'Asia/Krasnoyarsk' => "(GMT+08:00) Krasnoyarsk",
|
107 |
+
'Asia/Chongqing' => "(GMT+08:00) Chongqing",
|
108 |
+
'Asia/Hong_Kong' => "(GMT+08:00) Hong Kong",
|
109 |
+
'Asia/Kuala_Lumpur' => "(GMT+08:00) Kuala Lumpur",
|
110 |
+
'Australia/Perth' => "(GMT+08:00) Perth",
|
111 |
+
'Asia/Singapore' => "(GMT+08:00) Singapore",
|
112 |
+
'Asia/Taipei' => "(GMT+08:00) Taipei",
|
113 |
+
'Asia/Ulaanbaatar' => "(GMT+08:00) Ulaan Bataar",
|
114 |
+
'Asia/Urumqi' => "(GMT+08:00) Urumqi",
|
115 |
+
'Asia/Irkutsk' => "(GMT+09:00) Irkutsk",
|
116 |
+
'Asia/Seoul' => "(GMT+09:00) Seoul",
|
117 |
+
'Asia/Tokyo' => "(GMT+09:00) Tokyo",
|
118 |
+
'Australia/Adelaide' => "(GMT+09:30) Adelaide",
|
119 |
+
'Australia/Darwin' => "(GMT+09:30) Darwin",
|
120 |
+
'Asia/Yakutsk' => "(GMT+10:00) Yakutsk",
|
121 |
+
'Australia/Brisbane' => "(GMT+10:00) Brisbane",
|
122 |
+
'Australia/Canberra' => "(GMT+10:00) Canberra",
|
123 |
+
'Pacific/Guam' => "(GMT+10:00) Guam",
|
124 |
+
'Australia/Hobart' => "(GMT+10:00) Hobart",
|
125 |
+
'Australia/Melbourne' => "(GMT+10:00) Melbourne",
|
126 |
+
'Pacific/Port_Moresby' => "(GMT+10:00) Port Moresby",
|
127 |
+
'Australia/Sydney' => "(GMT+10:00) Sydney",
|
128 |
+
'Asia/Vladivostok' => "(GMT+11:00) Vladivostok",
|
129 |
+
'Asia/Magadan' => "(GMT+12:00) Magadan",
|
130 |
+
'Pacific/Auckland' => "(GMT+12:00) Auckland",
|
131 |
+
'Pacific/Fiji' => "(GMT+12:00) Fiji",
|
132 |
+
);
|
133 |
+
public $date_formats = array(
|
134 |
+
"ago" => "2 days ago",
|
135 |
+
"F j, Y, g:i a" => "March 10, 2015, 5:16 pm",
|
136 |
+
"F j, Y" => "March 10, 2015",
|
137 |
+
"l, F jS, Y" => "Tuesday, March 10th, 2015",
|
138 |
+
"l, F jS, Y, g:i a" => "Tuesday, March 10th, 2015, 5:16 pm",
|
139 |
+
"Y/m/d \a\\t g:i a" => "2015/03/10 at 12:50 AM",
|
140 |
+
"Y/m/d" => " 2015/03/10",
|
141 |
+
"Y.m.d" => " 2015.03.10",
|
142 |
+
);
|
143 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
144 |
+
// Constructor & Destructor //
|
145 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
146 |
+
public function __construct() {
|
147 |
+
$user = get_current_user_id();
|
148 |
+
$screen = get_current_screen();
|
149 |
+
$option = $screen->get_option('per_page', 'option');
|
150 |
+
|
151 |
+
$this->per_page = get_user_meta($user, $option, true);
|
152 |
+
|
153 |
+
if ( empty ( $this->per_page) || $this->per_page < 1 ) {
|
154 |
+
$this->per_page = $screen->get_option( 'per_page', 'default' );
|
155 |
+
|
156 |
+
}
|
157 |
+
}
|
158 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
159 |
+
// Public Methods //
|
160 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
161 |
+
|
162 |
+
public function get_image_rows_data($gallery_id) {
|
163 |
+
global $wpdb;
|
164 |
+
if (!current_user_can('manage_options') && $wpdb->get_var("SELECT image_role FROM " . $wpdb->prefix . "bwg_option")) {
|
165 |
+
$where = " WHERE author=" . get_current_user_id();
|
166 |
+
}
|
167 |
+
else {
|
168 |
+
$where = " WHERE author>=0 ";
|
169 |
+
}
|
170 |
+
$where .= ((isset($_POST['search_value'])) ? ' AND filename LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
|
171 |
+
$asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
|
172 |
+
$asc_or_desc = ($asc_or_desc != 'asc') ? 'desc' : 'asc';
|
173 |
+
$image_order_by = ' ORDER BY `' . ((isset($_POST['image_order_by']) && esc_html(stripslashes($_POST['image_order_by'])) != '') ? esc_html(stripslashes($_POST['image_order_by'])) : 'order') . '` ' . $asc_or_desc;
|
174 |
+
if (isset($_POST['page_number']) && $_POST['page_number']) {
|
175 |
+
$limit = ((int) $_POST['page_number'] - 1) * $this->per_page;
|
176 |
+
}
|
177 |
+
else {
|
178 |
+
$limit = 0;
|
179 |
+
}
|
180 |
+
$row = $wpdb->get_results("SELECT * FROM " . $wpdb->prefix . "bwg_image " . $where . " AND gallery_id='" . $gallery_id . "' " . $image_order_by . " LIMIT " . $limit . ",".$this->per_page);
|
181 |
+
return $row;
|
182 |
+
}
|
183 |
+
|
184 |
+
public function get_tag_rows_data($image_id) {
|
185 |
+
global $wpdb;
|
186 |
+
$rows = $wpdb->get_results($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "terms AS table1 INNER JOIN " . $wpdb->prefix . "bwg_image_tag AS table2 ON table1.term_id=table2.tag_id WHERE table2.image_id='%d' ORDER BY table2.tag_id", $image_id));
|
187 |
+
return $rows;
|
188 |
+
}
|
189 |
+
|
190 |
+
public function check_logged_in_user() {
|
191 |
+
if(!class_exists('WDFacebookFeed'))
|
192 |
+
require_once(WD_FFWD_DIR . '/framework/WDFacebookFeed.php');
|
193 |
+
return WDFacebookFeed::check_logged_in_user();
|
194 |
+
}
|
195 |
+
|
196 |
+
public function get_facebook_data() {
|
197 |
+
if(!class_exists('Facebook'))
|
198 |
+
include WD_FFWD_DIR . "/framework/facebook-sdk/facebook.php";
|
199 |
+
global $wpdb;
|
200 |
+
//get app_id and secret from facebook login response
|
201 |
+
$row = $wpdb->get_row($wpdb->prepare('SELECT app_id, app_secret FROM ' . $wpdb->prefix . 'wd_fb_option WHERE id="%d"', 1));
|
202 |
+
|
203 |
+
//$facebook_app_id = (isset($_REQUEST['appId'])) ? esc_html(stripslashes($_REQUEST['appId'])) : '';
|
204 |
+
//$facebook_app_secret = (isset($_REQUEST['secret'])) ? esc_html(stripslashes($_REQUEST['secret'])) : '';
|
205 |
+
|
206 |
+
$this->app_id = $row->app_id;
|
207 |
+
$this->app_secret = $row->app_secret;
|
208 |
+
$this->access_token = $row->user_access_token;
|
209 |
+
|
210 |
+
$this->facebook_sdk = new Facebook(array(
|
211 |
+
'appId' => $this->app_id,
|
212 |
+
'secret' => $this->app_secret,
|
213 |
+
));
|
214 |
+
if(isset($_POST['app_log_out'])) {
|
215 |
+
//setcookie('fbs_'.$this->facebook_sdk->getAppId(), '', time()-100, '/', 'http://localhost/wordpress_rfe/');
|
216 |
+
session_destroy();
|
217 |
+
//although you need reload the page for loging out
|
218 |
+
}
|
219 |
+
if($this->facebook_sdk->getUser()) {
|
220 |
+
try{
|
221 |
+
}
|
222 |
+
catch (FacebookApiException $e) {
|
223 |
+
echo "<!--DEBUG: ".$e." :END-->";
|
224 |
+
error_log($e);
|
225 |
+
}
|
226 |
+
}
|
227 |
+
}
|
228 |
+
|
229 |
+
public function log_in_log_out() {
|
230 |
+
$this->get_facebook_data();
|
231 |
+
$user = $this->facebook_sdk->getUser();
|
232 |
+
if ($user) {
|
233 |
+
try {
|
234 |
+
$old_access_token = $this->access_token;
|
235 |
+
// Proceed knowing you have a logged in user who's authenticated.
|
236 |
+
$user_profile = $this->facebook_sdk->api('/me');
|
237 |
+
$this->facebook_sdk->setExtendedAccessToken();
|
238 |
+
$access_token = $this->facebook_sdk->getAccessToken();
|
239 |
+
$this->access_token = $access_token;
|
240 |
+
} catch (FacebookApiException $e) {
|
241 |
+
echo '<div class="error"><p><strong>OAuth Error</strong>Error added to error_log: '.$e.'</p></div>';
|
242 |
+
error_log($e);
|
243 |
+
$user = null;
|
244 |
+
}
|
245 |
+
}
|
246 |
+
// Login or logout url will be needed depending on current user state.
|
247 |
+
$app_link_text = $app_link_url = null;
|
248 |
+
if ($user && !isset($_POST['app_log_out'])) {
|
249 |
+
$app_link_url = $this->facebook_sdk->getLogoutUrl(array('next' => admin_url() . 'admin.php?page=options_bwg'));
|
250 |
+
$app_link_text = __("Logout of your app", 'facebook-albums');
|
251 |
+
} else {
|
252 |
+
$app_link_url = $this->facebook_sdk->getLoginUrl(array('scope' => 'user_photos,user_videos,read_stream,user_posts'));
|
253 |
+
$app_link_text = __('Log into Facebook with your app', 'facebook-albums');
|
254 |
+
} ?>
|
255 |
+
<!--<input type="hidden" name="facebookalbum[app_id]" value="<?php echo $this->app_id; ?>" />
|
256 |
+
<input type="hidden" name="facebookalbum[app_secret]" value="<?php echo $this->app_secret; ?>" />
|
257 |
+
<input type="hidden" name="facebookalbum[access_token]" value="<?php echo $this->access_token; ?>" /> -->
|
258 |
+
<?php if($user && !isset($_POST['app_log_out'])) : ?>
|
259 |
+
<div style="float: right;"><span style="margin: 0 10px;"><?php echo $user_profile['name']; ?></span><img src="https://graph.facebook.com/<?php echo $user_profile['id']; ?>/picture?type=square" style="vertical-align: middle"/></div>
|
260 |
+
<ul style="margin:0px;list-style-type:none">
|
261 |
+
<li><a href="https://developers.facebook.com/apps/<?php echo $this->app_id; ?>" target="_blank"><?php _e("View your application's settings.", 'facebook-albums'); ?></a></li>
|
262 |
+
<input class="button-primary" type="submit" name="app_log_out" value="Log out from app" />
|
263 |
+
</ul>
|
264 |
+
<?php else : ?>
|
265 |
+
<a class="button button-primary" id="<?php echo WD_FB_PREFIX; ?>_login_button" href="<?php echo $app_link_url; ?>"><?php echo $app_link_text; ?></a>
|
266 |
+
<?php endif; ?>
|
267 |
+
<div style="clear: both;"> </div>
|
268 |
+
<?php
|
269 |
+
/*<!-- <p><?php printf(__('Having issues once logged in? Try <a href="?page=facebook-album&reset_application=%s">resetting application data.</a> <em>warning: removes App ID and App Secret</em>'), wp_create_nonce($current_user->data->user_email)); ?></p>
|
270 |
+
<p><strong>Notice!</strong> Your extended access token will only last about 2 months. So visit this page every month or so to keep the access token fresh.</p> -->*/
|
271 |
+
}
|
272 |
+
|
273 |
+
public function get_rows_data() {
|
274 |
+
global $wpdb;
|
275 |
+
$where = ((isset($_POST['search_value'])) ? ' WHERE name LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
|
276 |
+
$asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
|
277 |
+
$asc_or_desc = ($asc_or_desc != 'asc') ? 'desc' : 'asc';
|
278 |
+
$order_by = ' ORDER BY `' . ((isset($_POST['order_by']) && esc_html(stripslashes($_POST['order_by'])) != '') ? esc_html(stripslashes($_POST['order_by'])) : 'order') . '` ' . $asc_or_desc;
|
279 |
+
if (isset($_POST['page_number']) && $_POST['page_number']) {
|
280 |
+
$limit = ((int) $_POST['page_number'] - 1) * $this->per_page;
|
281 |
+
}
|
282 |
+
else {
|
283 |
+
$limit = 0;
|
284 |
+
}
|
285 |
+
$query = "SELECT * FROM " . $wpdb->prefix . "wd_fb_info " . $where . $order_by . " LIMIT " . $limit . ",".$this->per_page;
|
286 |
+
$rows = $wpdb->get_results($query);
|
287 |
+
return $rows;
|
288 |
+
}
|
289 |
+
|
290 |
+
public function del_ffwd_objects() {
|
291 |
+
global $wpdb;
|
292 |
+
$query = "SELECT * FROM " . $wpdb->prefix . "wd_fb_info WHERE `update_mode` <> 'no_update'";
|
293 |
+
$rows = $wpdb->get_results($query);
|
294 |
+
require_once(WD_FFWD_DIR . '/framework/WDFacebookFeed.php');
|
295 |
+
WDFacebookFeed::prepare_to_delete($rows);
|
296 |
+
$this->ffwd_objects = json_encode(WDFacebookFeed::$client_side_check, true);
|
297 |
+
}
|
298 |
+
|
299 |
+
public function get_row_data($id) {
|
300 |
+
global $wpdb;
|
301 |
+
if ($id != 0) {
|
302 |
+
$row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wd_fb_info WHERE id="%d"', $id));
|
303 |
+
}
|
304 |
+
else {
|
305 |
+
$row = new stdClass();
|
306 |
+
$row->id = 0;
|
307 |
+
$row->name = '';
|
308 |
+
$row->type = '';
|
309 |
+
$row->content_type = 'specific';
|
310 |
+
$row->content = 'photos';
|
311 |
+
$row->order = 0;
|
312 |
+
$row->content_url = '';
|
313 |
+
$row->timeline_type = 'posts';
|
314 |
+
$row->limit = 10;
|
315 |
+
$row->app_id = '';
|
316 |
+
$row->app_secret = '';
|
317 |
+
$row->exist_access = 1;
|
318 |
+
$row->access_token = '';
|
319 |
+
$row->published = 1;
|
320 |
+
$row->update_mode = 'keep_old';
|
321 |
+
$row->view_on_fb= 1;
|
322 |
+
$row->post_text_length= 200;
|
323 |
+
$row->post_date_format= 'ago';
|
324 |
+
$row->fb_view_type= '';
|
325 |
+
$row->date_timezone= 'Pacific/Midway';
|
326 |
+
$row->event_street= 1;
|
327 |
+
$row->event_city= 1;
|
328 |
+
$row->event_country= 1;
|
329 |
+
$row->event_zip= 1;
|
330 |
+
$row->event_map= 1;
|
331 |
+
$row->event_date= 1;
|
332 |
+
$row->event_date_format= 'F j; Y; g:i a';
|
333 |
+
$row->event_desp_length= 200;
|
334 |
+
$row->comments_replies= 1;
|
335 |
+
$row->comments_filter= 'toplevel';
|
336 |
+
$row->comments_order= 'chronological';
|
337 |
+
$row->page_plugin_pos= 'bottom';
|
338 |
+
$row->page_plugin_fans= 1;
|
339 |
+
$row->page_plugin_cover= 1;
|
340 |
+
$row->page_plugin_header= 0;
|
341 |
+
$row->page_plugin_width= 380;
|
342 |
+
////////////////////////////////////////////
|
343 |
+
|
344 |
+
$row->popup_fullscreen= 0;
|
345 |
+
$row->popup_autoplay= 0;
|
346 |
+
$row->open_commentbox= 1;
|
347 |
+
$row->popup_width= 800;
|
348 |
+
$row->popup_height= 600;
|
349 |
+
$row->popup_effect= 'fade';
|
350 |
+
$row->popup_interval= 5;
|
351 |
+
$row->popup_enable_filmstrip= 0;
|
352 |
+
$row->popup_filmstrip_height= 70;
|
353 |
+
$row->popup_comments= 1;
|
354 |
+
$row->popup_likes= 1;
|
355 |
+
$row->popup_shares= 1;
|
356 |
+
$row->popup_author= 1;
|
357 |
+
$row->popup_name= 1;
|
358 |
+
$row->popup_place_name= 1;
|
359 |
+
$row->popup_message_desc= 1;
|
360 |
+
$row->popup_enable_ctrl_btn= 1;
|
361 |
+
$row->popup_enable_fullscreen= 1;
|
362 |
+
$row->popup_enable_info_btn= 1;
|
363 |
+
$row->popup_enable_facebook= 1;
|
364 |
+
$row->popup_enable_twitter= 1;
|
365 |
+
$row->popup_enable_google= 1;
|
366 |
+
$row->popup_enable_pinterest= 0;
|
367 |
+
$row->popup_enable_tumblr= 0;
|
368 |
+
/////////////////////////////////////
|
369 |
+
$row->image_max_columns= 5;
|
370 |
+
$row->thumb_width= 200;
|
371 |
+
$row->thumb_height= 150;
|
372 |
+
$row->thumb_comments= 1;
|
373 |
+
$row->thumb_likes= 1;
|
374 |
+
$row->thumb_name= 1;
|
375 |
+
$row->masonry_hor_ver= "vertical";
|
376 |
+
$row->blog_style_width= 700;
|
377 |
+
$row->blog_style_height= "";
|
378 |
+
$row->blog_style_view_type= 1;
|
379 |
+
$row->blog_style_comments= 1;
|
380 |
+
$row->blog_style_likes= 1;
|
381 |
+
$row->blog_style_message_desc= 1;
|
382 |
+
$row->blog_style_shares_butt= 0;
|
383 |
+
$row->blog_style_shares= 1;
|
384 |
+
$row->blog_style_author= 1;
|
385 |
+
$row->blog_style_name= 1;
|
386 |
+
$row->blog_style_place_name= 1;
|
387 |
+
$row->blog_style_facebook= 0;
|
388 |
+
$row->blog_style_twitter= 0;
|
389 |
+
$row->blog_style_google= 0;
|
390 |
+
$row->album_max_columns= 5;
|
391 |
+
$row->album_thumb_width= 200;
|
392 |
+
$row->album_thumb_height= 150;
|
393 |
+
$row->album_title= "show";
|
394 |
+
$row->fb_plugin= 0;
|
395 |
+
$row->fb_name= 0;
|
396 |
+
$row->pagination_type= 1;
|
397 |
+
$row->objects_per_page= 10;
|
398 |
+
$row->image_onclick_action= 'lightbox';
|
399 |
+
$row->album_image_thumb_width= 200;
|
400 |
+
$row->album_image_thumb_height= 150;
|
401 |
+
$row->album_image_max_columns= 5;
|
402 |
+
}
|
403 |
+
return $row;
|
404 |
+
}
|
405 |
+
|
406 |
+
public function page_nav() {
|
407 |
+
global $wpdb;
|
408 |
+
$where = ((isset($_POST['search_value']) && (esc_html(stripslashes($_POST['search_value'])) != '')) ? ' WHERE name LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
|
409 |
+
$query = "SELECT COUNT(*) FROM " . $wpdb->prefix . "wd_fb_info " . $where;
|
410 |
+
$total = $wpdb->get_var($query);
|
411 |
+
$page_nav['total'] = $total;
|
412 |
+
if (isset($_POST['page_number']) && $_POST['page_number']) {
|
413 |
+
$limit = ((int) $_POST['page_number'] - 1) * $this->per_page;
|
414 |
+
}
|
415 |
+
else {
|
416 |
+
$limit = 0;
|
417 |
+
}
|
418 |
+
$page_nav['limit'] = (int) ($limit / $this->per_page + 1);
|
419 |
+
return $page_nav;
|
420 |
+
}
|
421 |
+
|
422 |
+
public function image_page_nav($gallery_id) {
|
423 |
+
global $wpdb;
|
424 |
+
if (!current_user_can('manage_options') && $wpdb->get_var("SELECT image_role FROM " . $wpdb->prefix . "bwg_option")) {
|
425 |
+
$where = " AND author=" . get_current_user_id();
|
426 |
+
}
|
427 |
+
else {
|
428 |
+
$where = " AND author>=0 ";
|
429 |
+
}
|
430 |
+
$where .= ((isset($_POST['search_value']) && (esc_html(stripslashes($_POST['search_value'])) != '')) ? ' AND filename LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
|
431 |
+
$query = "SELECT COUNT(*) FROM " . $wpdb->prefix . "bwg_image WHERE gallery_id='" . $gallery_id . "' " . $where;
|
432 |
+
$total = $wpdb->get_var($query);
|
433 |
+
$page_nav['total'] = $total;
|
434 |
+
if (isset($_POST['page_number']) && $_POST['page_number']) {
|
435 |
+
$limit = ((int) $_POST['page_number'] - 1) * $this->per_page;
|
436 |
+
}
|
437 |
+
else {
|
438 |
+
$limit = 0;
|
439 |
+
}
|
440 |
+
$page_nav['limit'] = (int) ($limit / $this->per_page + 1);
|
441 |
+
return $page_nav;
|
442 |
+
}
|
443 |
+
|
444 |
+
public function get_option_row_data() {
|
445 |
+
global $wpdb;
|
446 |
+
$row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wd_fb_option WHERE id="%d"', 1));
|
447 |
+
return $row;
|
448 |
+
}
|
449 |
+
|
450 |
+
public function get_theme_rows_data() {
|
451 |
+
global $wpdb;
|
452 |
+
$query = "SELECT * FROM " . $wpdb->prefix . "wd_fb_theme ORDER BY name";
|
453 |
+
$rows = $wpdb->get_results($query);
|
454 |
+
return $rows;
|
455 |
+
}
|
456 |
+
|
457 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
458 |
+
// Getters & Setters //
|
459 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
460 |
+
public function per_page(){
|
461 |
+
return $this->per_page;
|
462 |
+
|
463 |
+
}
|
464 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
465 |
+
// Private Methods //
|
466 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
467 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
468 |
+
// Listeners //
|
469 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
470 |
+
}
|
admin/models/FFWDModelOptions_ffwd.php
CHANGED
@@ -1,281 +1,281 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class FFWDModelOptions_ffwd {
|
4 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
-
// Events //
|
6 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
-
// Constants //
|
9 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
-
// Variables //
|
12 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
-
private $facebook_sdk;
|
14 |
-
private $app_id;
|
15 |
-
private $app_secret;
|
16 |
-
private $access_token;
|
17 |
-
public $date_timezones = array(
|
18 |
-
'Pacific/Midway' => "(GMT-11:00) Midway Island",
|
19 |
-
'US/Samoa' => "(GMT-11:00) Samoa",
|
20 |
-
'US/Hawaii' => "(GMT-10:00) Hawaii",
|
21 |
-
'US/Alaska' => "(GMT-09:00) Alaska",
|
22 |
-
'US/Pacific' => "(GMT-08:00) Pacific Time (US & Canada)",
|
23 |
-
'America/Tijuana' => "(GMT-08:00) Tijuana",
|
24 |
-
'US/Arizona' => "(GMT-07:00) Arizona",
|
25 |
-
'US/Mountain' => "(GMT-07:00) Mountain Time (US & Canada)",
|
26 |
-
'America/Chihuahua' => "(GMT-07:00) Chihuahua",
|
27 |
-
'America/Mazatlan' => "(GMT-07:00) Mazatlan",
|
28 |
-
'America/Mexico_City' => "(GMT-06:00) Mexico City",
|
29 |
-
'America/Monterrey' => "(GMT-06:00) Monterrey",
|
30 |
-
'Canada/Saskatchewan' => "(GMT-06:00) Saskatchewan",
|
31 |
-
'US/Central' => "(GMT-06:00) Central Time (US & Canada)",
|
32 |
-
'US/Eastern' => "(GMT-05:00) Eastern Time (US & Canada)",
|
33 |
-
'US/East-Indiana' => "(GMT-05:00) Indiana (East)",
|
34 |
-
'America/Bogota' => "(GMT-05:00) Bogota",
|
35 |
-
'America/Lima' => "(GMT-05:00) Lima",
|
36 |
-
'America/Caracas' => "(GMT-04:30) Caracas",
|
37 |
-
'Canada/Atlantic' => "(GMT-04:00) Atlantic Time (Canada)",
|
38 |
-
'America/La_Paz' => "(GMT-04:00) La Paz",
|
39 |
-
'America/Santiago' => "(GMT-04:00) Santiago",
|
40 |
-
'Canada/Newfoundland' => "(GMT-03:30) Newfoundland",
|
41 |
-
'America/Buenos_Aires' => "(GMT-03:00) Buenos Aires",
|
42 |
-
'Greenland' => "(GMT-03:00) Greenland",
|
43 |
-
'Atlantic/Stanley' => "(GMT-02:00) Stanley",
|
44 |
-
'Atlantic/Azores' => "(GMT-01:00) Azores",
|
45 |
-
'Atlantic/Cape_Verde' => "(GMT-01:00) Cape Verde Is.",
|
46 |
-
'Africa/Casablanca' => "(GMT) Casablanca",
|
47 |
-
'Europe/Dublin' => "(GMT) Dublin",
|
48 |
-
'Europe/Lisbon' => "(GMT) Lisbon",
|
49 |
-
'Europe/London' => "(GMT) London",
|
50 |
-
'Africa/Monrovia' => "(GMT) Monrovia",
|
51 |
-
'Europe/Amsterdam' => "(GMT+01:00) Amsterdam",
|
52 |
-
'Europe/Belgrade' => "(GMT+01:00) Belgrade",
|
53 |
-
'Europe/Berlin' => "(GMT+01:00) Berlin",
|
54 |
-
'Europe/Bratislava' => "(GMT+01:00) Bratislava",
|
55 |
-
'Europe/Brussels' => "(GMT+01:00) Brussels",
|
56 |
-
'Europe/Budapest' => "(GMT+01:00) Budapest",
|
57 |
-
'Europe/Copenhagen' => "(GMT+01:00) Copenhagen",
|
58 |
-
'Europe/Ljubljana' => "(GMT+01:00) Ljubljana",
|
59 |
-
'Europe/Madrid' => "(GMT+01:00) Madrid",
|
60 |
-
'Europe/Paris' => "(GMT+01:00) Paris",
|
61 |
-
'Europe/Prague' => "(GMT+01:00) Prague",
|
62 |
-
'Europe/Rome' => "(GMT+01:00) Rome",
|
63 |
-
'Europe/Sarajevo' => "(GMT+01:00) Sarajevo",
|
64 |
-
'Europe/Skopje' => "(GMT+01:00) Skopje",
|
65 |
-
'Europe/Stockholm' => "(GMT+01:00) Stockholm",
|
66 |
-
'Europe/Vienna' => "(GMT+01:00) Vienna",
|
67 |
-
'Europe/Warsaw' => "(GMT+01:00) Warsaw",
|
68 |
-
'Europe/Zagreb' => "(GMT+01:00) Zagreb",
|
69 |
-
'Europe/Athens' => "(GMT+02:00) Athens",
|
70 |
-
'Europe/Bucharest' => "(GMT+02:00) Bucharest",
|
71 |
-
'Africa/Cairo' => "(GMT+02:00) Cairo",
|
72 |
-
'Africa/Harare' => "(GMT+02:00) Harare",
|
73 |
-
'Europe/Helsinki' => "(GMT+02:00) Helsinki",
|
74 |
-
'Europe/Istanbul' => "(GMT+02:00) Istanbul",
|
75 |
-
'Asia/Jerusalem' => "(GMT+02:00) Jerusalem",
|
76 |
-
'Europe/Kiev' => "(GMT+02:00) Kyiv",
|
77 |
-
'Europe/Minsk' => "(GMT+02:00) Minsk",
|
78 |
-
'Europe/Riga' => "(GMT+02:00) Riga",
|
79 |
-
'Europe/Sofia' => "(GMT+02:00) Sofia",
|
80 |
-
'Europe/Tallinn' => "(GMT+02:00) Tallinn",
|
81 |
-
'Europe/Vilnius' => "(GMT+02:00) Vilnius",
|
82 |
-
'Asia/Baghdad' => "(GMT+03:00) Baghdad",
|
83 |
-
'Asia/Kuwait' => "(GMT+03:00) Kuwait",
|
84 |
-
'Africa/Nairobi' => "(GMT+03:00) Nairobi",
|
85 |
-
'Asia/Riyadh' => "(GMT+03:00) Riyadh",
|
86 |
-
'Europe/Moscow' => "(GMT+03:00) Moscow",
|
87 |
-
'Asia/Tehran' => "(GMT+03:30) Tehran",
|
88 |
-
'Asia/Baku' => "(GMT+04:00) Baku",
|
89 |
-
'Europe/Volgograd' => "(GMT+04:00) Volgograd",
|
90 |
-
'Asia/Muscat' => "(GMT+04:00) Muscat",
|
91 |
-
'Asia/Tbilisi' => "(GMT+04:00) Tbilisi",
|
92 |
-
'Asia/Yerevan' => "(GMT+04:00) Yerevan",
|
93 |
-
'Asia/Kabul' => "(GMT+04:30) Kabul",
|
94 |
-
'Asia/Karachi' => "(GMT+05:00) Karachi",
|
95 |
-
'Asia/Tashkent' => "(GMT+05:00) Tashkent",
|
96 |
-
'Asia/Kolkata' => "(GMT+05:30) Kolkata",
|
97 |
-
'Asia/Kathmandu' => "(GMT+05:45) Kathmandu",
|
98 |
-
'Asia/Yekaterinburg' => "(GMT+06:00) Ekaterinburg",
|
99 |
-
'Asia/Almaty' => "(GMT+06:00) Almaty",
|
100 |
-
'Asia/Dhaka' => "(GMT+06:00) Dhaka",
|
101 |
-
'Asia/Novosibirsk' => "(GMT+07:00) Novosibirsk",
|
102 |
-
'Asia/Bangkok' => "(GMT+07:00) Bangkok",
|
103 |
-
'Asia/Jakarta' => "(GMT+07:00) Jakarta",
|
104 |
-
'Asia/Krasnoyarsk' => "(GMT+08:00) Krasnoyarsk",
|
105 |
-
'Asia/Chongqing' => "(GMT+08:00) Chongqing",
|
106 |
-
'Asia/Hong_Kong' => "(GMT+08:00) Hong Kong",
|
107 |
-
'Asia/Kuala_Lumpur' => "(GMT+08:00) Kuala Lumpur",
|
108 |
-
'Australia/Perth' => "(GMT+08:00) Perth",
|
109 |
-
'Asia/Singapore' => "(GMT+08:00) Singapore",
|
110 |
-
'Asia/Taipei' => "(GMT+08:00) Taipei",
|
111 |
-
'Asia/Ulaanbaatar' => "(GMT+08:00) Ulaan Bataar",
|
112 |
-
'Asia/Urumqi' => "(GMT+08:00) Urumqi",
|
113 |
-
'Asia/Irkutsk' => "(GMT+09:00) Irkutsk",
|
114 |
-
'Asia/Seoul' => "(GMT+09:00) Seoul",
|
115 |
-
'Asia/Tokyo' => "(GMT+09:00) Tokyo",
|
116 |
-
'Australia/Adelaide' => "(GMT+09:30) Adelaide",
|
117 |
-
'Australia/Darwin' => "(GMT+09:30) Darwin",
|
118 |
-
'Asia/Yakutsk' => "(GMT+10:00) Yakutsk",
|
119 |
-
'Australia/Brisbane' => "(GMT+10:00) Brisbane",
|
120 |
-
'Australia/Canberra' => "(GMT+10:00) Canberra",
|
121 |
-
'Pacific/Guam' => "(GMT+10:00) Guam",
|
122 |
-
'Australia/Hobart' => "(GMT+10:00) Hobart",
|
123 |
-
'Australia/Melbourne' => "(GMT+10:00) Melbourne",
|
124 |
-
'Pacific/Port_Moresby' => "(GMT+10:00) Port Moresby",
|
125 |
-
'Australia/Sydney' => "(GMT+10:00) Sydney",
|
126 |
-
'Asia/Vladivostok' => "(GMT+11:00) Vladivostok",
|
127 |
-
'Asia/Magadan' => "(GMT+12:00) Magadan",
|
128 |
-
'Pacific/Auckland' => "(GMT+12:00) Auckland",
|
129 |
-
'Pacific/Fiji' => "(GMT+12:00) Fiji",
|
130 |
-
);
|
131 |
-
public $date_formats = array(
|
132 |
-
"ago" => "2 days ago",
|
133 |
-
"F j, Y, g:i a" => "March 10, 2015, 5:16 pm",
|
134 |
-
"F j, Y" => "March 10, 2015",
|
135 |
-
"l, F jS, Y" => "Tuesday, March 10th, 2015",
|
136 |
-
"l, F jS, Y, g:i a" => "Tuesday, March 10th, 2015, 5:16 pm",
|
137 |
-
"Y/m/d \a\\t g:i a" => "2015/03/10 at 12:50 AM",
|
138 |
-
"Y/m/d" => " 2015/03/10",
|
139 |
-
"Y.m.d" => " 2015.03.10",
|
140 |
-
);
|
141 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
142 |
-
// Constructor & Destructor //
|
143 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
144 |
-
public function __construct() {
|
145 |
-
}
|
146 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
147 |
-
// Public Methods //
|
148 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
149 |
-
public function get_facebook_data() {
|
150 |
-
global $wpdb;
|
151 |
-
if(!class_exists('Facebook'))
|
152 |
-
include WD_FFWD_DIR . "/framework/facebook-sdk/facebook.php";
|
153 |
-
|
154 |
-
$row = $this->get_row_data(false);
|
155 |
-
$this->app_id = $row->app_id;
|
156 |
-
$this->app_secret = $row->app_secret;
|
157 |
-
//$this->access_token = $row->user_access_token;
|
158 |
-
$this->facebook_sdk = new Facebook(array(
|
159 |
-
'appId' => $this->app_id,
|
160 |
-
'secret' => $this->app_secret,
|
161 |
-
));
|
162 |
-
if(isset($_POST['app_log_out'])) {
|
163 |
-
//setcookie('fbs_'.$this->facebook_sdk->getAppId(), '', time()-100, '/', 'http://localhost/wordpress_rfe/');
|
164 |
-
session_destroy();
|
165 |
-
}
|
166 |
-
if($this->facebook_sdk->getUser()) {
|
167 |
-
try{
|
168 |
-
}
|
169 |
-
catch (FacebookApiException $e) {
|
170 |
-
echo "<!--DEBUG: ".$e." :END-->";
|
171 |
-
error_log($e);
|
172 |
-
}
|
173 |
-
}
|
174 |
-
//echo $this->facebook_sdk->getAccessToken();
|
175 |
-
return $this->facebook_sdk->getUser();
|
176 |
-
}
|
177 |
-
|
178 |
-
public function log_in_log_out() {
|
179 |
-
global $wpdb;
|
180 |
-
$this->get_facebook_data();
|
181 |
-
$user = $this->facebook_sdk->getUser();
|
182 |
-
if ($user) {
|
183 |
-
try {
|
184 |
-
// Proceed knowing you have a logged in user who's authenticated.
|
185 |
-
$user_profile = $this->facebook_sdk->api('/me');
|
186 |
-
$this->facebook_sdk->setExtendedAccessToken();
|
187 |
-
$access_token = $this->facebook_sdk->getAccessToken();
|
188 |
-
} catch (FacebookApiException $e) {
|
189 |
-
echo '<div class="error"><p><strong>OAuth Error</strong>Error added to error_log: '.$e.'</p></div>';
|
190 |
-
error_log($e);
|
191 |
-
$user = null;
|
192 |
-
}
|
193 |
-
}
|
194 |
-
// Login or logout url will be needed depending on current user state.
|
195 |
-
$app_link_text = $app_link_url = null;
|
196 |
-
if ($user && !isset($_POST['app_log_out'])) {
|
197 |
-
$app_link_url = '#';
|
198 |
-
$app_link_text = __("Logout of your app", 'facebook-albums');
|
199 |
-
} else {
|
200 |
-
$app_link_url = '#';
|
201 |
-
$app_link_text = __('Log into Facebook with your app', 'facebook-albums');
|
202 |
-
} ?>
|
203 |
-
<?php
|
204 |
-
if($user && !isset($_POST['app_log_out'])) :
|
205 |
-
?>
|
206 |
-
<script>
|
207 |
-
wd_fb_log_in = true;
|
208 |
-
</script>
|
209 |
-
<div style="float: right;">
|
210 |
-
<span style="margin: 0 10px;"><?php echo $user_profile['name']; ?></span>
|
211 |
-
<img src="https://graph.facebook.com/<?php echo $user_profile['id']; ?>/picture?type=square" style="vertical-align: middle"/>
|
212 |
-
</div>
|
213 |
-
<ul style="margin:0px;list-style-type:none">
|
214 |
-
<li>
|
215 |
-
<a href="https://developers.facebook.com/apps/<?php echo $this->app_id; ?>" target="_blank"><?php _e("View your application's settings.", 'facebook-albums'); ?></a>
|
216 |
-
|
217 |
-
</li>
|
218 |
-
<input class="button-primary" type="submit" name="app_log_out" value="Log out from app" />
|
219 |
-
</ul>
|
220 |
-
<?php
|
221 |
-
else :
|
222 |
-
if(isset($_POST['app_log_out'])) {
|
223 |
-
?>
|
224 |
-
<script>
|
225 |
-
window.location = '<?php echo admin_url() . 'admin.php?page=options_ffwd'; ?>';
|
226 |
-
</script>
|
227 |
-
<?php
|
228 |
-
}
|
229 |
-
?>
|
230 |
-
<a id="<?php echo WD_FB_PREFIX; ?>_login_button" class="<?php echo WD_FB_PREFIX; ?>_login_button" href="<?php echo $app_link_url; ?>"><?php echo $app_link_text; ?></a>
|
231 |
-
<br>
|
232 |
-
<label for="" class="ffwd_pro_only">This Feature is Available Only in PRO
|
233 |
-
version</label>
|
234 |
-
|
235 |
-
<?php
|
236 |
-
endif;
|
237 |
-
?>
|
238 |
-
<div style="clear: both;"> </div>
|
239 |
-
<?php
|
240 |
-
}
|
241 |
-
|
242 |
-
public function get_row_data($reset) {
|
243 |
-
global $wpdb;
|
244 |
-
$row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wd_fb_option WHERE id="%d"', 1));
|
245 |
-
if ($reset) {
|
246 |
-
$row->autoupdate_interval = 90;
|
247 |
-
$row->app_id = '';
|
248 |
-
$row->app_secret = '';
|
249 |
-
$row->view_on_fb = 1;
|
250 |
-
$row->post_text_length = 200;
|
251 |
-
$row->post_date_format = '';
|
252 |
-
$row->date_timezone = 'Pacific/Midway';
|
253 |
-
$row->event_street = 1;
|
254 |
-
$row->event_city = 1;
|
255 |
-
$row->event_country = 1;
|
256 |
-
$row->event_zip = 1;
|
257 |
-
$row->event_map = 1;
|
258 |
-
$row->event_date = 1;
|
259 |
-
$row->event_date_format = '';
|
260 |
-
$row->event_desp_length = 200;
|
261 |
-
$row->comments_replies = 1;
|
262 |
-
$row->comments_filter = 'toplevel';
|
263 |
-
$row->comments_order = 'chronological';
|
264 |
-
$row->page_plugin_pos = 'bottom';
|
265 |
-
$row->page_plugin_fans = 1;
|
266 |
-
$row->page_plugin_cover = 1;
|
267 |
-
$row->page_plugin_header = 0;
|
268 |
-
$row->page_plugin_width = 380;
|
269 |
-
}
|
270 |
-
return $row;
|
271 |
-
}
|
272 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
273 |
-
// Getters & Setters //
|
274 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
275 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
276 |
-
// Private Methods //
|
277 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
278 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
279 |
-
// Listeners //
|
280 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
281 |
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FFWDModelOptions_ffwd {
|
4 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
+
// Events //
|
6 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
+
// Constants //
|
9 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
+
// Variables //
|
12 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
+
private $facebook_sdk;
|
14 |
+
private $app_id;
|
15 |
+
private $app_secret;
|
16 |
+
private $access_token;
|
17 |
+
public $date_timezones = array(
|
18 |
+
'Pacific/Midway' => "(GMT-11:00) Midway Island",
|
19 |
+
'US/Samoa' => "(GMT-11:00) Samoa",
|
20 |
+
'US/Hawaii' => "(GMT-10:00) Hawaii",
|
21 |
+
'US/Alaska' => "(GMT-09:00) Alaska",
|
22 |
+
'US/Pacific' => "(GMT-08:00) Pacific Time (US & Canada)",
|
23 |
+
'America/Tijuana' => "(GMT-08:00) Tijuana",
|
24 |
+
'US/Arizona' => "(GMT-07:00) Arizona",
|
25 |
+
'US/Mountain' => "(GMT-07:00) Mountain Time (US & Canada)",
|
26 |
+
'America/Chihuahua' => "(GMT-07:00) Chihuahua",
|
27 |
+
'America/Mazatlan' => "(GMT-07:00) Mazatlan",
|
28 |
+
'America/Mexico_City' => "(GMT-06:00) Mexico City",
|
29 |
+
'America/Monterrey' => "(GMT-06:00) Monterrey",
|
30 |
+
'Canada/Saskatchewan' => "(GMT-06:00) Saskatchewan",
|
31 |
+
'US/Central' => "(GMT-06:00) Central Time (US & Canada)",
|
32 |
+
'US/Eastern' => "(GMT-05:00) Eastern Time (US & Canada)",
|
33 |
+
'US/East-Indiana' => "(GMT-05:00) Indiana (East)",
|
34 |
+
'America/Bogota' => "(GMT-05:00) Bogota",
|
35 |
+
'America/Lima' => "(GMT-05:00) Lima",
|
36 |
+
'America/Caracas' => "(GMT-04:30) Caracas",
|
37 |
+
'Canada/Atlantic' => "(GMT-04:00) Atlantic Time (Canada)",
|
38 |
+
'America/La_Paz' => "(GMT-04:00) La Paz",
|
39 |
+
'America/Santiago' => "(GMT-04:00) Santiago",
|
40 |
+
'Canada/Newfoundland' => "(GMT-03:30) Newfoundland",
|
41 |
+
'America/Buenos_Aires' => "(GMT-03:00) Buenos Aires",
|
42 |
+
'Greenland' => "(GMT-03:00) Greenland",
|
43 |
+
'Atlantic/Stanley' => "(GMT-02:00) Stanley",
|
44 |
+
'Atlantic/Azores' => "(GMT-01:00) Azores",
|
45 |
+
'Atlantic/Cape_Verde' => "(GMT-01:00) Cape Verde Is.",
|
46 |
+
'Africa/Casablanca' => "(GMT) Casablanca",
|
47 |
+
'Europe/Dublin' => "(GMT) Dublin",
|
48 |
+
'Europe/Lisbon' => "(GMT) Lisbon",
|
49 |
+
'Europe/London' => "(GMT) London",
|
50 |
+
'Africa/Monrovia' => "(GMT) Monrovia",
|
51 |
+
'Europe/Amsterdam' => "(GMT+01:00) Amsterdam",
|
52 |
+
'Europe/Belgrade' => "(GMT+01:00) Belgrade",
|
53 |
+
'Europe/Berlin' => "(GMT+01:00) Berlin",
|
54 |
+
'Europe/Bratislava' => "(GMT+01:00) Bratislava",
|
55 |
+
'Europe/Brussels' => "(GMT+01:00) Brussels",
|
56 |
+
'Europe/Budapest' => "(GMT+01:00) Budapest",
|
57 |
+
'Europe/Copenhagen' => "(GMT+01:00) Copenhagen",
|
58 |
+
'Europe/Ljubljana' => "(GMT+01:00) Ljubljana",
|
59 |
+
'Europe/Madrid' => "(GMT+01:00) Madrid",
|
60 |
+
'Europe/Paris' => "(GMT+01:00) Paris",
|
61 |
+
'Europe/Prague' => "(GMT+01:00) Prague",
|
62 |
+
'Europe/Rome' => "(GMT+01:00) Rome",
|
63 |
+
'Europe/Sarajevo' => "(GMT+01:00) Sarajevo",
|
64 |
+
'Europe/Skopje' => "(GMT+01:00) Skopje",
|
65 |
+
'Europe/Stockholm' => "(GMT+01:00) Stockholm",
|
66 |
+
'Europe/Vienna' => "(GMT+01:00) Vienna",
|
67 |
+
'Europe/Warsaw' => "(GMT+01:00) Warsaw",
|
68 |
+
'Europe/Zagreb' => "(GMT+01:00) Zagreb",
|
69 |
+
'Europe/Athens' => "(GMT+02:00) Athens",
|
70 |
+
'Europe/Bucharest' => "(GMT+02:00) Bucharest",
|
71 |
+
'Africa/Cairo' => "(GMT+02:00) Cairo",
|
72 |
+
'Africa/Harare' => "(GMT+02:00) Harare",
|
73 |
+
'Europe/Helsinki' => "(GMT+02:00) Helsinki",
|
74 |
+
'Europe/Istanbul' => "(GMT+02:00) Istanbul",
|
75 |
+
'Asia/Jerusalem' => "(GMT+02:00) Jerusalem",
|
76 |
+
'Europe/Kiev' => "(GMT+02:00) Kyiv",
|
77 |
+
'Europe/Minsk' => "(GMT+02:00) Minsk",
|
78 |
+
'Europe/Riga' => "(GMT+02:00) Riga",
|
79 |
+
'Europe/Sofia' => "(GMT+02:00) Sofia",
|
80 |
+
'Europe/Tallinn' => "(GMT+02:00) Tallinn",
|
81 |
+
'Europe/Vilnius' => "(GMT+02:00) Vilnius",
|
82 |
+
'Asia/Baghdad' => "(GMT+03:00) Baghdad",
|
83 |
+
'Asia/Kuwait' => "(GMT+03:00) Kuwait",
|
84 |
+
'Africa/Nairobi' => "(GMT+03:00) Nairobi",
|
85 |
+
'Asia/Riyadh' => "(GMT+03:00) Riyadh",
|
86 |
+
'Europe/Moscow' => "(GMT+03:00) Moscow",
|
87 |
+
'Asia/Tehran' => "(GMT+03:30) Tehran",
|
88 |
+
'Asia/Baku' => "(GMT+04:00) Baku",
|
89 |
+
'Europe/Volgograd' => "(GMT+04:00) Volgograd",
|
90 |
+
'Asia/Muscat' => "(GMT+04:00) Muscat",
|
91 |
+
'Asia/Tbilisi' => "(GMT+04:00) Tbilisi",
|
92 |
+
'Asia/Yerevan' => "(GMT+04:00) Yerevan",
|
93 |
+
'Asia/Kabul' => "(GMT+04:30) Kabul",
|
94 |
+
'Asia/Karachi' => "(GMT+05:00) Karachi",
|
95 |
+
'Asia/Tashkent' => "(GMT+05:00) Tashkent",
|
96 |
+
'Asia/Kolkata' => "(GMT+05:30) Kolkata",
|
97 |
+
'Asia/Kathmandu' => "(GMT+05:45) Kathmandu",
|
98 |
+
'Asia/Yekaterinburg' => "(GMT+06:00) Ekaterinburg",
|
99 |
+
'Asia/Almaty' => "(GMT+06:00) Almaty",
|
100 |
+
'Asia/Dhaka' => "(GMT+06:00) Dhaka",
|
101 |
+
'Asia/Novosibirsk' => "(GMT+07:00) Novosibirsk",
|
102 |
+
'Asia/Bangkok' => "(GMT+07:00) Bangkok",
|
103 |
+
'Asia/Jakarta' => "(GMT+07:00) Jakarta",
|
104 |
+
'Asia/Krasnoyarsk' => "(GMT+08:00) Krasnoyarsk",
|
105 |
+
'Asia/Chongqing' => "(GMT+08:00) Chongqing",
|
106 |
+
'Asia/Hong_Kong' => "(GMT+08:00) Hong Kong",
|
107 |
+
'Asia/Kuala_Lumpur' => "(GMT+08:00) Kuala Lumpur",
|
108 |
+
'Australia/Perth' => "(GMT+08:00) Perth",
|
109 |
+
'Asia/Singapore' => "(GMT+08:00) Singapore",
|
110 |
+
'Asia/Taipei' => "(GMT+08:00) Taipei",
|
111 |
+
'Asia/Ulaanbaatar' => "(GMT+08:00) Ulaan Bataar",
|
112 |
+
'Asia/Urumqi' => "(GMT+08:00) Urumqi",
|
113 |
+
'Asia/Irkutsk' => "(GMT+09:00) Irkutsk",
|
114 |
+
'Asia/Seoul' => "(GMT+09:00) Seoul",
|
115 |
+
'Asia/Tokyo' => "(GMT+09:00) Tokyo",
|
116 |
+
'Australia/Adelaide' => "(GMT+09:30) Adelaide",
|
117 |
+
'Australia/Darwin' => "(GMT+09:30) Darwin",
|
118 |
+
'Asia/Yakutsk' => "(GMT+10:00) Yakutsk",
|
119 |
+
'Australia/Brisbane' => "(GMT+10:00) Brisbane",
|
120 |
+
'Australia/Canberra' => "(GMT+10:00) Canberra",
|
121 |
+
'Pacific/Guam' => "(GMT+10:00) Guam",
|
122 |
+
'Australia/Hobart' => "(GMT+10:00) Hobart",
|
123 |
+
'Australia/Melbourne' => "(GMT+10:00) Melbourne",
|
124 |
+
'Pacific/Port_Moresby' => "(GMT+10:00) Port Moresby",
|
125 |
+
'Australia/Sydney' => "(GMT+10:00) Sydney",
|
126 |
+
'Asia/Vladivostok' => "(GMT+11:00) Vladivostok",
|
127 |
+
'Asia/Magadan' => "(GMT+12:00) Magadan",
|
128 |
+
'Pacific/Auckland' => "(GMT+12:00) Auckland",
|
129 |
+
'Pacific/Fiji' => "(GMT+12:00) Fiji",
|
130 |
+
);
|
131 |
+
public $date_formats = array(
|
132 |
+
"ago" => "2 days ago",
|
133 |
+
"F j, Y, g:i a" => "March 10, 2015, 5:16 pm",
|
134 |
+
"F j, Y" => "March 10, 2015",
|
135 |
+
"l, F jS, Y" => "Tuesday, March 10th, 2015",
|
136 |
+
"l, F jS, Y, g:i a" => "Tuesday, March 10th, 2015, 5:16 pm",
|
137 |
+
"Y/m/d \a\\t g:i a" => "2015/03/10 at 12:50 AM",
|
138 |
+
"Y/m/d" => " 2015/03/10",
|
139 |
+
"Y.m.d" => " 2015.03.10",
|
140 |
+
);
|
141 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
142 |
+
// Constructor & Destructor //
|
143 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
144 |
+
public function __construct() {
|
145 |
+
}
|
146 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
147 |
+
// Public Methods //
|
148 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
149 |
+
public function get_facebook_data() {
|
150 |
+
global $wpdb;
|
151 |
+
if(!class_exists('Facebook'))
|
152 |
+
include WD_FFWD_DIR . "/framework/facebook-sdk/facebook.php";
|
153 |
+
|
154 |
+
$row = $this->get_row_data(false);
|
155 |
+
$this->app_id = $row->app_id;
|
156 |
+
$this->app_secret = $row->app_secret;
|
157 |
+
//$this->access_token = $row->user_access_token;
|
158 |
+
$this->facebook_sdk = new Facebook(array(
|
159 |
+
'appId' => $this->app_id,
|
160 |
+
'secret' => $this->app_secret,
|
161 |
+
));
|
162 |
+
if(isset($_POST['app_log_out'])) {
|
163 |
+
//setcookie('fbs_'.$this->facebook_sdk->getAppId(), '', time()-100, '/', 'http://localhost/wordpress_rfe/');
|
164 |
+
session_destroy();
|
165 |
+
}
|
166 |
+
if($this->facebook_sdk->getUser()) {
|
167 |
+
try{
|
168 |
+
}
|
169 |
+
catch (FacebookApiException $e) {
|
170 |
+
echo "<!--DEBUG: ".$e." :END-->";
|
171 |
+
error_log($e);
|
172 |
+
}
|
173 |
+
}
|
174 |
+
//echo $this->facebook_sdk->getAccessToken();
|
175 |
+
return $this->facebook_sdk->getUser();
|
176 |
+
}
|
177 |
+
|
178 |
+
public function log_in_log_out() {
|
179 |
+
global $wpdb;
|
180 |
+
$this->get_facebook_data();
|
181 |
+
$user = $this->facebook_sdk->getUser();
|
182 |
+
if ($user) {
|
183 |
+
try {
|
184 |
+
// Proceed knowing you have a logged in user who's authenticated.
|
185 |
+
$user_profile = $this->facebook_sdk->api('/me');
|
186 |
+
$this->facebook_sdk->setExtendedAccessToken();
|
187 |
+
$access_token = $this->facebook_sdk->getAccessToken();
|
188 |
+
} catch (FacebookApiException $e) {
|
189 |
+
echo '<div class="error"><p><strong>OAuth Error</strong>Error added to error_log: '.$e.'</p></div>';
|
190 |
+
error_log($e);
|
191 |
+
$user = null;
|
192 |
+
}
|
193 |
+
}
|
194 |
+
// Login or logout url will be needed depending on current user state.
|
195 |
+
$app_link_text = $app_link_url = null;
|
196 |
+
if ($user && !isset($_POST['app_log_out'])) {
|
197 |
+
$app_link_url = '#';
|
198 |
+
$app_link_text = __("Logout of your app", 'facebook-albums');
|
199 |
+
} else {
|
200 |
+
$app_link_url = '#';
|
201 |
+
$app_link_text = __('Log into Facebook with your app', 'facebook-albums');
|
202 |
+
} ?>
|
203 |
+
<?php
|
204 |
+
if($user && !isset($_POST['app_log_out'])) :
|
205 |
+
?>
|
206 |
+
<script>
|
207 |
+
wd_fb_log_in = true;
|
208 |
+
</script>
|
209 |
+
<div style="float: right;">
|
210 |
+
<span style="margin: 0 10px;"><?php echo $user_profile['name']; ?></span>
|
211 |
+
<img src="https://graph.facebook.com/<?php echo $user_profile['id']; ?>/picture?type=square" style="vertical-align: middle"/>
|
212 |
+
</div>
|
213 |
+
<ul style="margin:0px;list-style-type:none">
|
214 |
+
<li>
|
215 |
+
<a href="https://developers.facebook.com/apps/<?php echo $this->app_id; ?>" target="_blank"><?php _e("View your application's settings.", 'facebook-albums'); ?></a>
|
216 |
+
|
217 |
+
</li>
|
218 |
+
<input class="button-primary" type="submit" name="app_log_out" value="Log out from app" />
|
219 |
+
</ul>
|
220 |
+
<?php
|
221 |
+
else :
|
222 |
+
if(isset($_POST['app_log_out'])) {
|
223 |
+
?>
|
224 |
+
<script>
|
225 |
+
window.location = '<?php echo admin_url() . 'admin.php?page=options_ffwd'; ?>';
|
226 |
+
</script>
|
227 |
+
<?php
|
228 |
+
}
|
229 |
+
?>
|
230 |
+
<a id="<?php echo WD_FB_PREFIX; ?>_login_button" class="<?php echo WD_FB_PREFIX; ?>_login_button" href="<?php echo $app_link_url; ?>"><?php echo $app_link_text; ?></a>
|
231 |
+
<br>
|
232 |
+
<label for="" class="ffwd_pro_only">This Feature is Available Only in PRO
|
233 |
+
version</label>
|
234 |
+
|
235 |
+
<?php
|
236 |
+
endif;
|
237 |
+
?>
|
238 |
+
<div style="clear: both;"> </div>
|
239 |
+
<?php
|
240 |
+
}
|
241 |
+
|
242 |
+
public function get_row_data($reset) {
|
243 |
+
global $wpdb;
|
244 |
+
$row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wd_fb_option WHERE id="%d"', 1));
|
245 |
+
if ($reset) {
|
246 |
+
$row->autoupdate_interval = 90;
|
247 |
+
$row->app_id = '';
|
248 |
+
$row->app_secret = '';
|
249 |
+
$row->view_on_fb = 1;
|
250 |
+
$row->post_text_length = 200;
|
251 |
+
$row->post_date_format = '';
|
252 |
+
$row->date_timezone = 'Pacific/Midway';
|
253 |
+
$row->event_street = 1;
|
254 |
+
$row->event_city = 1;
|
255 |
+
$row->event_country = 1;
|
256 |
+
$row->event_zip = 1;
|
257 |
+
$row->event_map = 1;
|
258 |
+
$row->event_date = 1;
|
259 |
+
$row->event_date_format = '';
|
260 |
+
$row->event_desp_length = 200;
|
261 |
+
$row->comments_replies = 1;
|
262 |
+
$row->comments_filter = 'toplevel';
|
263 |
+
$row->comments_order = 'chronological';
|
264 |
+
$row->page_plugin_pos = 'bottom';
|
265 |
+
$row->page_plugin_fans = 1;
|
266 |
+
$row->page_plugin_cover = 1;
|
267 |
+
$row->page_plugin_header = 0;
|
268 |
+
$row->page_plugin_width = 380;
|
269 |
+
}
|
270 |
+
return $row;
|
271 |
+
}
|
272 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
273 |
+
// Getters & Setters //
|
274 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
275 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
276 |
+
// Private Methods //
|
277 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
278 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
279 |
+
// Listeners //
|
280 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
281 |
}
|
admin/models/FFWDModelThemes_ffwd.php
CHANGED
@@ -1,391 +1,391 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class FFWDModelThemes_ffwd {
|
4 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
-
// Events //
|
6 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
-
// Constants //
|
9 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
-
// Variables //
|
12 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
-
private $per_page = 20;
|
14 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
15 |
-
// Constructor & Destructor //
|
16 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
17 |
-
public function __construct() {
|
18 |
-
$user = get_current_user_id();
|
19 |
-
$screen = get_current_screen();
|
20 |
-
$option = $screen->get_option('per_page', 'option');
|
21 |
-
|
22 |
-
$this->per_page = get_user_meta($user, $option, true);
|
23 |
-
|
24 |
-
if ( empty ( $this->per_page) || $this->per_page < 1 ) {
|
25 |
-
$this->per_page = $screen->get_option( 'per_page', 'default' );
|
26 |
-
}
|
27 |
-
}
|
28 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
29 |
-
// Public Methods //
|
30 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
31 |
-
public function get_rows_data() {
|
32 |
-
global $wpdb;
|
33 |
-
$where = ((isset($_POST['search_value']) && (esc_html($_POST['search_value']) != '')) ? 'WHERE name LIKE "%' . esc_html($_POST['search_value']) . '%"' : '');
|
34 |
-
$asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html($_POST['asc_or_desc']) : 'asc');
|
35 |
-
$asc_or_desc = ($asc_or_desc != 'asc') ? 'desc' : 'asc';
|
36 |
-
$order_by = ' ORDER BY ' . ((isset($_POST['order_by']) && esc_html($_POST['order_by']) != '') ? esc_html($_POST['order_by']) : 'id') . ' ' . $asc_or_desc;
|
37 |
-
if (isset($_POST['page_number']) && $_POST['page_number']) {
|
38 |
-
$limit = ((int) $_POST['page_number'] - 1) * $this->per_page;
|
39 |
-
}
|
40 |
-
else {
|
41 |
-
$limit = 0;
|
42 |
-
}
|
43 |
-
$query = "SELECT * FROM " . $wpdb->prefix . "wd_fb_theme " . $where . $order_by . " LIMIT " . $limit . ",".$this->per_page;
|
44 |
-
$rows = $wpdb->get_results($query);
|
45 |
-
return $rows;
|
46 |
-
}
|
47 |
-
|
48 |
-
public function get_row_data($id, $reset) {
|
49 |
-
global $wpdb;
|
50 |
-
if ($id != 0) {
|
51 |
-
$row = $wpdb->get_row($wpdb->prepare('SELECT id,name,default_theme FROM ' . $wpdb->prefix . 'wd_fb_theme WHERE id="%d"', $id));
|
52 |
-
$params = $wpdb->get_var($wpdb->prepare('SELECT params FROM ' . $wpdb->prefix . 'wd_fb_theme WHERE id="%d"', $id));
|
53 |
-
|
54 |
-
|
55 |
-
$row = (object) array_merge((array)$row, (array)json_decode($params));
|
56 |
-
|
57 |
-
if ($reset) {
|
58 |
-
if (!$row->default_theme) {
|
59 |
-
$row_id = $row->id;
|
60 |
-
$row_name = $row->name;
|
61 |
-
$row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wd_fb_theme WHERE default_theme="%d"', 1));
|
62 |
-
|
63 |
-
$row = (object) array_merge((array)$row, (array)json_decode( $row->params));
|
64 |
-
unset($row->params);
|
65 |
-
|
66 |
-
$row->id = $row_id;
|
67 |
-
$row->name = $row_name;
|
68 |
-
$row->default_theme = FALSE;
|
69 |
-
}
|
70 |
-
else {
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
$row->thumb_margin='10';
|
76 |
-
$row->thumb_padding='2';
|
77 |
-
$row->thumb_border_radius='2px';
|
78 |
-
$row->thumb_border_width='1';
|
79 |
-
$row->thumb_border_style='none';
|
80 |
-
$row->thumb_border_color='000000';
|
81 |
-
$row->thumb_bg_color='FFFFFF';
|
82 |
-
$row->thumbs_bg_color='FFFFFF';
|
83 |
-
$row->thumb_bg_transparent='100';
|
84 |
-
$row->thumb_box_shadow='0px 0px 1px #000000';
|
85 |
-
$row->thumb_transparent='100';
|
86 |
-
$row->thumb_align='center';
|
87 |
-
$row->thumb_hover_effect='rotate';
|
88 |
-
$row->thumb_hover_effect_value='2deg';
|
89 |
-
$row->thumb_transition='1';
|
90 |
-
$row->thumb_title_font_color='797979';
|
91 |
-
$row->thumb_title_font_style='inherit';
|
92 |
-
$row->thumb_title_pos='bottom';
|
93 |
-
$row->thumb_title_font_size='11';
|
94 |
-
$row->thumb_title_font_weight='normal';
|
95 |
-
$row->thumb_title_margin='10';
|
96 |
-
$row->thumb_title_shadow='';
|
97 |
-
$row->thumb_like_comm_pos='bottom';
|
98 |
-
$row->thumb_like_comm_font_size='11';
|
99 |
-
$row->thumb_like_comm_font_color='FFFFFF';
|
100 |
-
$row->thumb_like_comm_font_style='inherit';
|
101 |
-
$row->thumb_like_comm_font_weight='normal';
|
102 |
-
$row->thumb_like_comm_shadow='0px 0px 1px #000000';
|
103 |
-
$row->masonry_thumb_padding='4';
|
104 |
-
$row->masonry_thumb_border_radius='2px';
|
105 |
-
$row->masonry_thumb_border_width='1';
|
106 |
-
$row->masonry_thumb_border_style='solid';
|
107 |
-
$row->masonry_thumb_border_color='FFFFFF';
|
108 |
-
$row->masonry_thumbs_bg_color='FFFFFF';
|
109 |
-
$row->masonry_thumb_bg_transparent='100';
|
110 |
-
$row->masonry_thumb_transparent='100';
|
111 |
-
$row->masonry_thumb_align='center';
|
112 |
-
$row->masonry_thumb_hover_effect='scale';
|
113 |
-
$row->masonry_thumb_hover_effect_value='1.1';
|
114 |
-
$row->masonry_thumb_transition='1';
|
115 |
-
$row->masonry_description_font_size='11';
|
116 |
-
$row->masonry_description_color='A3A3A3';
|
117 |
-
$row->masonry_description_font_style='inherit';
|
118 |
-
$row->masonry_like_comm_pos='bottom';
|
119 |
-
$row->masonry_like_comm_font_size='11';
|
120 |
-
$row->masonry_like_comm_font_color='FFFFFF';
|
121 |
-
$row->masonry_like_comm_font_style='inherit';
|
122 |
-
$row->masonry_like_comm_font_weight='normal';
|
123 |
-
$row->masonry_like_comm_shadow='0px 0px 1px #000000';
|
124 |
-
$row->blog_style_align='left';
|
125 |
-
$row->blog_style_bg_color='FFFFFF';
|
126 |
-
$row->blog_style_fd_name_bg_color='000000';
|
127 |
-
$row->blog_style_fd_name_align='center';
|
128 |
-
$row->blog_style_fd_name_padding='10';
|
129 |
-
$row->blog_style_fd_name_color='FFFFFF';
|
130 |
-
$row->blog_style_fd_name_size='15';
|
131 |
-
$row->blog_style_fd_name_font_weight='normal';
|
132 |
-
$row->blog_style_fd_icon='';
|
133 |
-
$row->blog_style_fd_icon_color='';
|
134 |
-
$row->blog_style_fd_icon_size='';
|
135 |
-
$row->blog_style_transparent='100';
|
136 |
-
$row->blog_style_obj_img_align='center';
|
137 |
-
$row->blog_style_margin='10';
|
138 |
-
$row->blog_style_box_shadow='';
|
139 |
-
$row->blog_style_border_width='1';
|
140 |
-
$row->blog_style_border_style='solid';
|
141 |
-
$row->blog_style_border_color='C9C9C9';
|
142 |
-
$row->blog_style_border_type='top';
|
143 |
-
$row->blog_style_border_radius='';
|
144 |
-
$row->blog_style_obj_icons_color='gray';
|
145 |
-
$row->blog_style_obj_date_pos='after';
|
146 |
-
$row->blog_style_obj_font_family='inherit';
|
147 |
-
$row->blog_style_obj_info_bg_color='FFFFFF';
|
148 |
-
$row->blog_style_page_name_color='000000';
|
149 |
-
$row->blog_style_obj_page_name_size='13';
|
150 |
-
$row->blog_style_obj_page_name_font_weight='bold';
|
151 |
-
$row->blog_style_obj_story_color='000000';
|
152 |
-
$row->blog_style_obj_story_size='11';
|
153 |
-
$row->blog_style_obj_story_font_weight='normal';
|
154 |
-
$row->blog_style_obj_place_color='000000';
|
155 |
-
$row->blog_style_obj_place_size='13';
|
156 |
-
$row->blog_style_obj_place_font_weight='normal';
|
157 |
-
$row->blog_style_obj_name_color='000000';
|
158 |
-
$row->blog_style_obj_name_size='13';
|
159 |
-
$row->blog_style_obj_name_font_weight='bold';
|
160 |
-
$row->blog_style_obj_message_color='000000';
|
161 |
-
$row->blog_style_obj_message_size='11';
|
162 |
-
$row->blog_style_obj_message_font_weight='normal';
|
163 |
-
$row->blog_style_obj_hashtags_color='000000';
|
164 |
-
$row->blog_style_obj_hashtags_size='12';
|
165 |
-
$row->blog_style_obj_hashtags_font_weight='normal';
|
166 |
-
$row->blog_style_obj_likes_social_bg_color='EAEAEA';
|
167 |
-
$row->blog_style_obj_likes_social_color='656565';
|
168 |
-
$row->blog_style_obj_likes_social_size='11';
|
169 |
-
$row->blog_style_obj_likes_social_font_weight='normal';
|
170 |
-
$row->blog_style_obj_comments_bg_color='FFFFFF';
|
171 |
-
$row->blog_style_obj_comments_color='000000';
|
172 |
-
$row->blog_style_obj_comments_font_family='inherit';
|
173 |
-
$row->blog_style_obj_comments_font_size='11';
|
174 |
-
$row->blog_style_obj_users_font_color='000000';
|
175 |
-
$row->blog_style_obj_comments_social_font_weight='normal';
|
176 |
-
$row->blog_style_obj_comment_border_width='1';
|
177 |
-
$row->blog_style_obj_comment_border_style='solid';
|
178 |
-
$row->blog_style_obj_comment_border_color='C9C9C9';
|
179 |
-
$row->blog_style_obj_comment_border_type='top';
|
180 |
-
$row->blog_style_evt_str_color='000000';
|
181 |
-
$row->blog_style_evt_str_size='11';
|
182 |
-
$row->blog_style_evt_str_font_weight='normal';
|
183 |
-
$row->blog_style_evt_ctzpcn_color='000000';
|
184 |
-
$row->blog_style_evt_ctzpcn_size='11';
|
185 |
-
$row->blog_style_evt_ctzpcn_font_weight='normal';
|
186 |
-
$row->blog_style_evt_map_color='000000';
|
187 |
-
$row->blog_style_evt_map_size='11';
|
188 |
-
$row->blog_style_evt_map_font_weight='normal';
|
189 |
-
$row->blog_style_evt_date_color='000000';
|
190 |
-
$row->blog_style_evt_date_size='11';
|
191 |
-
$row->blog_style_evt_date_font_weight='normal';
|
192 |
-
$row->blog_style_evt_info_font_family='inherit';
|
193 |
-
$row->album_compact_back_font_color='000000';
|
194 |
-
$row->album_compact_back_font_style='inherit';
|
195 |
-
$row->album_compact_back_font_size='16';
|
196 |
-
$row->album_compact_back_font_weight='bold';
|
197 |
-
$row->album_compact_back_padding='0';
|
198 |
-
$row->album_compact_title_font_color='797979';
|
199 |
-
$row->album_compact_title_font_style='inherit';
|
200 |
-
$row->album_compact_thumb_title_pos='bottom';
|
201 |
-
$row->album_compact_title_font_size='13';
|
202 |
-
$row->album_compact_title_font_weight='normal';
|
203 |
-
$row->album_compact_title_margin='2px';
|
204 |
-
$row->album_compact_title_shadow='0px 0px 0px #888888';
|
205 |
-
$row->album_compact_thumb_margin='4';
|
206 |
-
$row->album_compact_thumb_padding='0';
|
207 |
-
$row->album_compact_thumb_border_radius='0';
|
208 |
-
$row->album_compact_thumb_border_width='0';
|
209 |
-
$row->album_compact_thumb_border_style='none';
|
210 |
-
$row->album_compact_thumb_border_color='CCCCCC';
|
211 |
-
$row->album_compact_thumb_bg_color='FFFFFF';
|
212 |
-
$row->album_compact_thumbs_bg_color='FFFFFF';
|
213 |
-
$row->album_compact_thumb_bg_transparent='0';
|
214 |
-
$row->album_compact_thumb_box_shadow='0px 0px 0px #888888';
|
215 |
-
$row->album_compact_thumb_transparent='100';
|
216 |
-
$row->album_compact_thumb_align='center';
|
217 |
-
$row->album_compact_thumb_hover_effect='scale';
|
218 |
-
$row->album_compact_thumb_hover_effect_value='1.1';
|
219 |
-
$row->album_compact_thumb_transition='0';
|
220 |
-
$row->lightbox_overlay_bg_color='000000';
|
221 |
-
$row->lightbox_overlay_bg_transparent='70';
|
222 |
-
$row->lightbox_bg_color='000000';
|
223 |
-
$row->lightbox_ctrl_btn_pos='bottom';
|
224 |
-
$row->lightbox_ctrl_btn_align='center';
|
225 |
-
$row->lightbox_ctrl_btn_height='20';
|
226 |
-
$row->lightbox_ctrl_btn_margin_top='10';
|
227 |
-
$row->lightbox_ctrl_btn_margin_left='7';
|
228 |
-
$row->lightbox_ctrl_btn_transparent='100';
|
229 |
-
$row->lightbox_ctrl_btn_color='';
|
230 |
-
$row->lightbox_toggle_btn_height='14';
|
231 |
-
$row->lightbox_toggle_btn_width='100';
|
232 |
-
$row->lightbox_ctrl_cont_bg_color='000000';
|
233 |
-
$row->lightbox_ctrl_cont_transparent='65';
|
234 |
-
$row->lightbox_ctrl_cont_border_radius='4';
|
235 |
-
$row->lightbox_close_btn_transparent='100';
|
236 |
-
$row->lightbox_close_btn_bg_color='000000';
|
237 |
-
$row->lightbox_close_btn_border_width='2';
|
238 |
-
$row->lightbox_close_btn_border_radius='16px';
|
239 |
-
$row->lightbox_close_btn_border_style='none';
|
240 |
-
$row->lightbox_close_btn_border_color='FFFFFF';
|
241 |
-
$row->lightbox_close_btn_box_shadow='0';
|
242 |
-
$row->lightbox_close_btn_color='';
|
243 |
-
$row->lightbox_close_btn_size='10';
|
244 |
-
$row->lightbox_close_btn_width='20';
|
245 |
-
$row->lightbox_close_btn_height='20';
|
246 |
-
$row->lightbox_close_btn_top='-10';
|
247 |
-
$row->lightbox_close_btn_right='-10';
|
248 |
-
$row->lightbox_close_btn_full_color='';
|
249 |
-
$row->lightbox_rl_btn_bg_color='000000';
|
250 |
-
$row->lightbox_rl_btn_transparent='80';
|
251 |
-
$row->lightbox_rl_btn_border_radius='20px';
|
252 |
-
$row->lightbox_rl_btn_border_width='0';
|
253 |
-
$row->lightbox_rl_btn_border_style='none';
|
254 |
-
$row->lightbox_rl_btn_border_color='FFFFFF';
|
255 |
-
$row->lightbox_rl_btn_box_shadow='';
|
256 |
-
$row->lightbox_rl_btn_color='';
|
257 |
-
$row->lightbox_rl_btn_height='40';
|
258 |
-
$row->lightbox_rl_btn_width='40';
|
259 |
-
$row->lightbox_rl_btn_size='20';
|
260 |
-
$row->lightbox_close_rl_btn_hover_color='';
|
261 |
-
$row->lightbox_obj_pos='left';
|
262 |
-
$row->lightbox_obj_width='350';
|
263 |
-
$row->lightbox_obj_icons_color='gray';
|
264 |
-
$row->lightbox_obj_date_pos='after';
|
265 |
-
$row->lightbox_obj_font_family='inherit';
|
266 |
-
$row->lightbox_obj_info_bg_color='E2E2E2';
|
267 |
-
$row->lightbox_page_name_color='4B4B4B';
|
268 |
-
$row->lightbox_obj_page_name_size='14';
|
269 |
-
$row->lightbox_obj_page_name_font_weight='bold';
|
270 |
-
$row->lightbox_obj_story_color='4B4B4B';
|
271 |
-
$row->lightbox_obj_story_size='11';
|
272 |
-
$row->lightbox_obj_story_font_weight='normal';
|
273 |
-
$row->lightbox_obj_place_color='000000';
|
274 |
-
$row->lightbox_obj_place_size='13';
|
275 |
-
$row->lightbox_obj_place_font_weight='normal';
|
276 |
-
$row->lightbox_obj_name_color='4B4B4B';
|
277 |
-
$row->lightbox_obj_name_size='14';
|
278 |
-
$row->lightbox_obj_name_font_weight='bold';
|
279 |
-
$row->lightbox_obj_message_color='000000';
|
280 |
-
$row->lightbox_obj_message_size='11';
|
281 |
-
$row->lightbox_obj_message_font_weight='normal';
|
282 |
-
$row->lightbox_obj_hashtags_color='000000';
|
283 |
-
$row->lightbox_obj_hashtags_size='12';
|
284 |
-
$row->lightbox_obj_hashtags_font_weight='normal';
|
285 |
-
$row->lightbox_obj_likes_social_bg_color='878787';
|
286 |
-
$row->lightbox_obj_likes_social_color='FFFFFF';
|
287 |
-
$row->lightbox_obj_likes_social_size='11';
|
288 |
-
$row->lightbox_obj_likes_social_font_weight='normal';
|
289 |
-
$row->lightbox_obj_comments_bg_color='EAEAEA';
|
290 |
-
$row->lightbox_obj_comments_color='4A4A4A';
|
291 |
-
$row->lightbox_obj_comments_font_family='inherit';
|
292 |
-
$row->lightbox_obj_comments_font_size='11';
|
293 |
-
$row->lightbox_obj_users_font_color='4B4B4B';
|
294 |
-
$row->lightbox_obj_comments_social_font_weight='normal';
|
295 |
-
$row->lightbox_obj_comment_border_width='1';
|
296 |
-
$row->lightbox_obj_comment_border_style='solid';
|
297 |
-
$row->lightbox_obj_comment_border_color='C9C9C9';
|
298 |
-
$row->lightbox_obj_comment_border_type='top';
|
299 |
-
$row->lightbox_filmstrip_pos='top';
|
300 |
-
$row->lightbox_filmstrip_rl_bg_color='3B3B3B';
|
301 |
-
$row->lightbox_filmstrip_rl_btn_size='20';
|
302 |
-
$row->lightbox_filmstrip_rl_btn_color='';
|
303 |
-
$row->lightbox_filmstrip_thumb_margin='0 1px';
|
304 |
-
$row->lightbox_filmstrip_thumb_border_width='1';
|
305 |
-
$row->lightbox_filmstrip_thumb_border_style='solid';
|
306 |
-
$row->lightbox_filmstrip_thumb_border_color='000000';
|
307 |
-
$row->lightbox_filmstrip_thumb_border_radius='0';
|
308 |
-
$row->lightbox_filmstrip_thumb_deactive_transparent='80';
|
309 |
-
$row->lightbox_filmstrip_thumb_active_border_width='0';
|
310 |
-
$row->lightbox_filmstrip_thumb_active_border_color='FFFFFF';
|
311 |
-
$row->lightbox_rl_btn_style='';
|
312 |
-
$row->lightbox_evt_str_color='000000';
|
313 |
-
$row->lightbox_evt_str_size='11';
|
314 |
-
$row->lightbox_evt_str_font_weight='normal';
|
315 |
-
$row->lightbox_evt_ctzpcn_color='000000';
|
316 |
-
$row->lightbox_evt_ctzpcn_size='11';
|
317 |
-
$row->lightbox_evt_ctzpcn_font_weight='normal';
|
318 |
-
$row->lightbox_evt_map_color='000000';
|
319 |
-
$row->lightbox_evt_map_size='11';
|
320 |
-
$row->lightbox_evt_map_font_weight='normal';
|
321 |
-
$row->lightbox_evt_date_color='000000';
|
322 |
-
$row->lightbox_evt_date_size='11';
|
323 |
-
$row->lightbox_evt_date_font_weight='normal';
|
324 |
-
$row->lightbox_evt_info_font_family='inherit';
|
325 |
-
$row->page_nav_position='bottom';
|
326 |
-
$row->page_nav_align='center';
|
327 |
-
$row->page_nav_number='0';
|
328 |
-
$row->page_nav_font_size='12';
|
329 |
-
$row->page_nav_font_style='inherit';
|
330 |
-
$row->page_nav_font_color='666666';
|
331 |
-
$row->page_nav_font_weight='bold';
|
332 |
-
$row->page_nav_border_width='1';
|
333 |
-
$row->page_nav_border_style='solid';
|
334 |
-
$row->page_nav_border_color='E3E3E3';
|
335 |
-
$row->page_nav_border_radius='0';
|
336 |
-
$row->page_nav_margin='0';
|
337 |
-
$row->page_nav_padding='3px 6px';
|
338 |
-
$row->page_nav_button_bg_color='FFFFFF';
|
339 |
-
$row->page_nav_button_bg_transparent='100';
|
340 |
-
$row->page_nav_box_shadow='0';
|
341 |
-
$row->page_nav_button_transition='1';
|
342 |
-
$row->page_nav_button_text='0';
|
343 |
-
$row->lightbox_obj_icons_color_likes_comments_count='white';
|
344 |
-
}
|
345 |
-
}
|
346 |
-
}
|
347 |
-
else {
|
348 |
-
|
349 |
-
$row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wd_fb_theme WHERE default_theme="%d"', 1));
|
350 |
-
$row = (object) array_merge((array)$row, (array)json_decode( $row->params));
|
351 |
-
unset($row->params);
|
352 |
-
|
353 |
-
$row->id = 0;
|
354 |
-
$row->name = '';
|
355 |
-
$row->default_theme = 0;
|
356 |
-
}
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
return $row;
|
361 |
-
}
|
362 |
-
|
363 |
-
public function page_nav() {
|
364 |
-
global $wpdb;
|
365 |
-
$where = ((isset($_POST['search_value']) && (esc_html($_POST['search_value']) != '')) ? 'WHERE name LIKE "%' . esc_html($_POST['search_value']) . '%"' : '');
|
366 |
-
$query = "SELECT COUNT(*) FROM " . $wpdb->prefix . "wd_fb_theme " . $where;
|
367 |
-
$total = $wpdb->get_var($query);
|
368 |
-
$page_nav['total'] = $total;
|
369 |
-
if (isset($_POST['page_number']) && $_POST['page_number']) {
|
370 |
-
$limit = ((int) $_POST['page_number'] - 1) * $this->per_page;
|
371 |
-
}
|
372 |
-
else {
|
373 |
-
$limit = 0;
|
374 |
-
}
|
375 |
-
$page_nav['limit'] = (int) ($limit / $this->per_page + 1);
|
376 |
-
return $page_nav;
|
377 |
-
}
|
378 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
379 |
-
// Getters & Setters //
|
380 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
381 |
-
public function per_page(){
|
382 |
-
return $this->per_page;
|
383 |
-
|
384 |
-
}
|
385 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
386 |
-
// Private Methods //
|
387 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
388 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
389 |
-
// Listeners //
|
390 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
391 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FFWDModelThemes_ffwd {
|
4 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
+
// Events //
|
6 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
+
// Constants //
|
9 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
+
// Variables //
|
12 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
+
private $per_page = 20;
|
14 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
15 |
+
// Constructor & Destructor //
|
16 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
17 |
+
public function __construct() {
|
18 |
+
$user = get_current_user_id();
|
19 |
+
$screen = get_current_screen();
|
20 |
+
$option = $screen->get_option('per_page', 'option');
|
21 |
+
|
22 |
+
$this->per_page = get_user_meta($user, $option, true);
|
23 |
+
|
24 |
+
if ( empty ( $this->per_page) || $this->per_page < 1 ) {
|
25 |
+
$this->per_page = $screen->get_option( 'per_page', 'default' );
|
26 |
+
}
|
27 |
+
}
|
28 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
29 |
+
// Public Methods //
|
30 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
31 |
+
public function get_rows_data() {
|
32 |
+
global $wpdb;
|
33 |
+
$where = ((isset($_POST['search_value']) && (esc_html($_POST['search_value']) != '')) ? 'WHERE name LIKE "%' . esc_html($_POST['search_value']) . '%"' : '');
|
34 |
+
$asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html($_POST['asc_or_desc']) : 'asc');
|
35 |
+
$asc_or_desc = ($asc_or_desc != 'asc') ? 'desc' : 'asc';
|
36 |
+
$order_by = ' ORDER BY ' . ((isset($_POST['order_by']) && esc_html($_POST['order_by']) != '') ? esc_html($_POST['order_by']) : 'id') . ' ' . $asc_or_desc;
|
37 |
+
if (isset($_POST['page_number']) && $_POST['page_number']) {
|
38 |
+
$limit = ((int) $_POST['page_number'] - 1) * $this->per_page;
|
39 |
+
}
|
40 |
+
else {
|
41 |
+
$limit = 0;
|
42 |
+
}
|
43 |
+
$query = "SELECT * FROM " . $wpdb->prefix . "wd_fb_theme " . $where . $order_by . " LIMIT " . $limit . ",".$this->per_page;
|
44 |
+
$rows = $wpdb->get_results($query);
|
45 |
+
return $rows;
|
46 |
+
}
|
47 |
+
|
48 |
+
public function get_row_data($id, $reset) {
|
49 |
+
global $wpdb;
|
50 |
+
if ($id != 0) {
|
51 |
+
$row = $wpdb->get_row($wpdb->prepare('SELECT id,name,default_theme FROM ' . $wpdb->prefix . 'wd_fb_theme WHERE id="%d"', $id));
|
52 |
+
$params = $wpdb->get_var($wpdb->prepare('SELECT params FROM ' . $wpdb->prefix . 'wd_fb_theme WHERE id="%d"', $id));
|
53 |
+
|
54 |
+
|
55 |
+
$row = (object) array_merge((array)$row, (array)json_decode($params));
|
56 |
+
|
57 |
+
if ($reset) {
|
58 |
+
if (!$row->default_theme) {
|
59 |
+
$row_id = $row->id;
|
60 |
+
$row_name = $row->name;
|
61 |
+
$row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wd_fb_theme WHERE default_theme="%d"', 1));
|
62 |
+
|
63 |
+
$row = (object) array_merge((array)$row, (array)json_decode( $row->params));
|
64 |
+
unset($row->params);
|
65 |
+
|
66 |
+
$row->id = $row_id;
|
67 |
+
$row->name = $row_name;
|
68 |
+
$row->default_theme = FALSE;
|
69 |
+
}
|
70 |
+
else {
|
71 |
+
|
72 |
+
|
73 |
+
|
74 |
+
|
75 |
+
$row->thumb_margin='10';
|
76 |
+
$row->thumb_padding='2';
|
77 |
+
$row->thumb_border_radius='2px';
|
78 |
+
$row->thumb_border_width='1';
|
79 |
+
$row->thumb_border_style='none';
|
80 |
+
$row->thumb_border_color='000000';
|
81 |
+
$row->thumb_bg_color='FFFFFF';
|
82 |
+
$row->thumbs_bg_color='FFFFFF';
|
83 |
+
$row->thumb_bg_transparent='100';
|
84 |
+
$row->thumb_box_shadow='0px 0px 1px #000000';
|
85 |
+
$row->thumb_transparent='100';
|
86 |
+
$row->thumb_align='center';
|
87 |
+
$row->thumb_hover_effect='rotate';
|
88 |
+
$row->thumb_hover_effect_value='2deg';
|
89 |
+
$row->thumb_transition='1';
|
90 |
+
$row->thumb_title_font_color='797979';
|
91 |
+
$row->thumb_title_font_style='inherit';
|
92 |
+
$row->thumb_title_pos='bottom';
|
93 |
+
$row->thumb_title_font_size='11';
|
94 |
+
$row->thumb_title_font_weight='normal';
|
95 |
+
$row->thumb_title_margin='10';
|
96 |
+
$row->thumb_title_shadow='';
|
97 |
+
$row->thumb_like_comm_pos='bottom';
|
98 |
+
$row->thumb_like_comm_font_size='11';
|
99 |
+
$row->thumb_like_comm_font_color='FFFFFF';
|
100 |
+
$row->thumb_like_comm_font_style='inherit';
|
101 |
+
$row->thumb_like_comm_font_weight='normal';
|
102 |
+
$row->thumb_like_comm_shadow='0px 0px 1px #000000';
|
103 |
+
$row->masonry_thumb_padding='4';
|
104 |
+
$row->masonry_thumb_border_radius='2px';
|
105 |
+
$row->masonry_thumb_border_width='1';
|
106 |
+
$row->masonry_thumb_border_style='solid';
|
107 |
+
$row->masonry_thumb_border_color='FFFFFF';
|
108 |
+
$row->masonry_thumbs_bg_color='FFFFFF';
|
109 |
+
$row->masonry_thumb_bg_transparent='100';
|
110 |
+
$row->masonry_thumb_transparent='100';
|
111 |
+
$row->masonry_thumb_align='center';
|
112 |
+
$row->masonry_thumb_hover_effect='scale';
|
113 |
+
$row->masonry_thumb_hover_effect_value='1.1';
|
114 |
+
$row->masonry_thumb_transition='1';
|
115 |
+
$row->masonry_description_font_size='11';
|
116 |
+
$row->masonry_description_color='A3A3A3';
|
117 |
+
$row->masonry_description_font_style='inherit';
|
118 |
+
$row->masonry_like_comm_pos='bottom';
|
119 |
+
$row->masonry_like_comm_font_size='11';
|
120 |
+
$row->masonry_like_comm_font_color='FFFFFF';
|
121 |
+
$row->masonry_like_comm_font_style='inherit';
|
122 |
+
$row->masonry_like_comm_font_weight='normal';
|
123 |
+
$row->masonry_like_comm_shadow='0px 0px 1px #000000';
|
124 |
+
$row->blog_style_align='left';
|
125 |
+
$row->blog_style_bg_color='FFFFFF';
|
126 |
+
$row->blog_style_fd_name_bg_color='000000';
|
127 |
+
$row->blog_style_fd_name_align='center';
|
128 |
+
$row->blog_style_fd_name_padding='10';
|
129 |
+
$row->blog_style_fd_name_color='FFFFFF';
|
130 |
+
$row->blog_style_fd_name_size='15';
|
131 |
+
$row->blog_style_fd_name_font_weight='normal';
|
132 |
+
$row->blog_style_fd_icon='';
|
133 |
+
$row->blog_style_fd_icon_color='';
|
134 |
+
$row->blog_style_fd_icon_size='';
|
135 |
+
$row->blog_style_transparent='100';
|
136 |
+
$row->blog_style_obj_img_align='center';
|
137 |
+
$row->blog_style_margin='10';
|
138 |
+
$row->blog_style_box_shadow='';
|
139 |
+
$row->blog_style_border_width='1';
|
140 |
+
$row->blog_style_border_style='solid';
|
141 |
+
$row->blog_style_border_color='C9C9C9';
|
142 |
+
$row->blog_style_border_type='top';
|
143 |
+
$row->blog_style_border_radius='';
|
144 |
+
$row->blog_style_obj_icons_color='gray';
|
145 |
+
$row->blog_style_obj_date_pos='after';
|
146 |
+
$row->blog_style_obj_font_family='inherit';
|
147 |
+
$row->blog_style_obj_info_bg_color='FFFFFF';
|
148 |
+
$row->blog_style_page_name_color='000000';
|
149 |
+
$row->blog_style_obj_page_name_size='13';
|
150 |
+
$row->blog_style_obj_page_name_font_weight='bold';
|
151 |
+
$row->blog_style_obj_story_color='000000';
|
152 |
+
$row->blog_style_obj_story_size='11';
|
153 |
+
$row->blog_style_obj_story_font_weight='normal';
|
154 |
+
$row->blog_style_obj_place_color='000000';
|
155 |
+
$row->blog_style_obj_place_size='13';
|
156 |
+
$row->blog_style_obj_place_font_weight='normal';
|
157 |
+
$row->blog_style_obj_name_color='000000';
|
158 |
+
$row->blog_style_obj_name_size='13';
|
159 |
+
$row->blog_style_obj_name_font_weight='bold';
|
160 |
+
$row->blog_style_obj_message_color='000000';
|
161 |
+
$row->blog_style_obj_message_size='11';
|
162 |
+
$row->blog_style_obj_message_font_weight='normal';
|
163 |
+
$row->blog_style_obj_hashtags_color='000000';
|
164 |
+
$row->blog_style_obj_hashtags_size='12';
|
165 |
+
$row->blog_style_obj_hashtags_font_weight='normal';
|
166 |
+
$row->blog_style_obj_likes_social_bg_color='EAEAEA';
|
167 |
+
$row->blog_style_obj_likes_social_color='656565';
|
168 |
+
$row->blog_style_obj_likes_social_size='11';
|
169 |
+
$row->blog_style_obj_likes_social_font_weight='normal';
|
170 |
+
$row->blog_style_obj_comments_bg_color='FFFFFF';
|
171 |
+
$row->blog_style_obj_comments_color='000000';
|
172 |
+
$row->blog_style_obj_comments_font_family='inherit';
|
173 |
+
$row->blog_style_obj_comments_font_size='11';
|
174 |
+
$row->blog_style_obj_users_font_color='000000';
|
175 |
+
$row->blog_style_obj_comments_social_font_weight='normal';
|
176 |
+
$row->blog_style_obj_comment_border_width='1';
|
177 |
+
$row->blog_style_obj_comment_border_style='solid';
|
178 |
+
$row->blog_style_obj_comment_border_color='C9C9C9';
|
179 |
+
$row->blog_style_obj_comment_border_type='top';
|
180 |
+
$row->blog_style_evt_str_color='000000';
|
181 |
+
$row->blog_style_evt_str_size='11';
|
182 |
+
$row->blog_style_evt_str_font_weight='normal';
|
183 |
+
$row->blog_style_evt_ctzpcn_color='000000';
|
184 |
+
$row->blog_style_evt_ctzpcn_size='11';
|
185 |
+
$row->blog_style_evt_ctzpcn_font_weight='normal';
|
186 |
+
$row->blog_style_evt_map_color='000000';
|
187 |
+
$row->blog_style_evt_map_size='11';
|
188 |
+
$row->blog_style_evt_map_font_weight='normal';
|
189 |
+
$row->blog_style_evt_date_color='000000';
|
190 |
+
$row->blog_style_evt_date_size='11';
|
191 |
+
$row->blog_style_evt_date_font_weight='normal';
|
192 |
+
$row->blog_style_evt_info_font_family='inherit';
|
193 |
+
$row->album_compact_back_font_color='000000';
|
194 |
+
$row->album_compact_back_font_style='inherit';
|
195 |
+
$row->album_compact_back_font_size='16';
|
196 |
+
$row->album_compact_back_font_weight='bold';
|
197 |
+
$row->album_compact_back_padding='0';
|
198 |
+
$row->album_compact_title_font_color='797979';
|
199 |
+
$row->album_compact_title_font_style='inherit';
|
200 |
+
$row->album_compact_thumb_title_pos='bottom';
|
201 |
+
$row->album_compact_title_font_size='13';
|
202 |
+
$row->album_compact_title_font_weight='normal';
|
203 |
+
$row->album_compact_title_margin='2px';
|
204 |
+
$row->album_compact_title_shadow='0px 0px 0px #888888';
|
205 |
+
$row->album_compact_thumb_margin='4';
|
206 |
+
$row->album_compact_thumb_padding='0';
|
207 |
+
$row->album_compact_thumb_border_radius='0';
|
208 |
+
$row->album_compact_thumb_border_width='0';
|
209 |
+
$row->album_compact_thumb_border_style='none';
|
210 |
+
$row->album_compact_thumb_border_color='CCCCCC';
|
211 |
+
$row->album_compact_thumb_bg_color='FFFFFF';
|
212 |
+
$row->album_compact_thumbs_bg_color='FFFFFF';
|
213 |
+
$row->album_compact_thumb_bg_transparent='0';
|
214 |
+
$row->album_compact_thumb_box_shadow='0px 0px 0px #888888';
|
215 |
+
$row->album_compact_thumb_transparent='100';
|
216 |
+
$row->album_compact_thumb_align='center';
|
217 |
+
$row->album_compact_thumb_hover_effect='scale';
|
218 |
+
$row->album_compact_thumb_hover_effect_value='1.1';
|
219 |
+
$row->album_compact_thumb_transition='0';
|
220 |
+
$row->lightbox_overlay_bg_color='000000';
|
221 |
+
$row->lightbox_overlay_bg_transparent='70';
|
222 |
+
$row->lightbox_bg_color='000000';
|
223 |
+
$row->lightbox_ctrl_btn_pos='bottom';
|
224 |
+
$row->lightbox_ctrl_btn_align='center';
|
225 |
+
$row->lightbox_ctrl_btn_height='20';
|
226 |
+
$row->lightbox_ctrl_btn_margin_top='10';
|
227 |
+
$row->lightbox_ctrl_btn_margin_left='7';
|
228 |
+
$row->lightbox_ctrl_btn_transparent='100';
|
229 |
+
$row->lightbox_ctrl_btn_color='';
|
230 |
+
$row->lightbox_toggle_btn_height='14';
|
231 |
+
$row->lightbox_toggle_btn_width='100';
|
232 |
+
$row->lightbox_ctrl_cont_bg_color='000000';
|
233 |
+
$row->lightbox_ctrl_cont_transparent='65';
|
234 |
+
$row->lightbox_ctrl_cont_border_radius='4';
|
235 |
+
$row->lightbox_close_btn_transparent='100';
|
236 |
+
$row->lightbox_close_btn_bg_color='000000';
|
237 |
+
$row->lightbox_close_btn_border_width='2';
|
238 |
+
$row->lightbox_close_btn_border_radius='16px';
|
239 |
+
$row->lightbox_close_btn_border_style='none';
|
240 |
+
$row->lightbox_close_btn_border_color='FFFFFF';
|
241 |
+
$row->lightbox_close_btn_box_shadow='0';
|
242 |
+
$row->lightbox_close_btn_color='';
|
243 |
+
$row->lightbox_close_btn_size='10';
|
244 |
+
$row->lightbox_close_btn_width='20';
|
245 |
+
$row->lightbox_close_btn_height='20';
|
246 |
+
$row->lightbox_close_btn_top='-10';
|
247 |
+
$row->lightbox_close_btn_right='-10';
|
248 |
+
$row->lightbox_close_btn_full_color='';
|
249 |
+
$row->lightbox_rl_btn_bg_color='000000';
|
250 |
+
$row->lightbox_rl_btn_transparent='80';
|
251 |
+
$row->lightbox_rl_btn_border_radius='20px';
|
252 |
+
$row->lightbox_rl_btn_border_width='0';
|
253 |
+
$row->lightbox_rl_btn_border_style='none';
|
254 |
+
$row->lightbox_rl_btn_border_color='FFFFFF';
|
255 |
+
$row->lightbox_rl_btn_box_shadow='';
|
256 |
+
$row->lightbox_rl_btn_color='';
|
257 |
+
$row->lightbox_rl_btn_height='40';
|
258 |
+
$row->lightbox_rl_btn_width='40';
|
259 |
+
$row->lightbox_rl_btn_size='20';
|
260 |
+
$row->lightbox_close_rl_btn_hover_color='';
|
261 |
+
$row->lightbox_obj_pos='left';
|
262 |
+
$row->lightbox_obj_width='350';
|
263 |
+
$row->lightbox_obj_icons_color='gray';
|
264 |
+
$row->lightbox_obj_date_pos='after';
|
265 |
+
$row->lightbox_obj_font_family='inherit';
|
266 |
+
$row->lightbox_obj_info_bg_color='E2E2E2';
|
267 |
+
$row->lightbox_page_name_color='4B4B4B';
|
268 |
+
$row->lightbox_obj_page_name_size='14';
|
269 |
+
$row->lightbox_obj_page_name_font_weight='bold';
|
270 |
+
$row->lightbox_obj_story_color='4B4B4B';
|
271 |
+
$row->lightbox_obj_story_size='11';
|
272 |
+
$row->lightbox_obj_story_font_weight='normal';
|
273 |
+
$row->lightbox_obj_place_color='000000';
|
274 |
+
$row->lightbox_obj_place_size='13';
|
275 |
+
$row->lightbox_obj_place_font_weight='normal';
|
276 |
+
$row->lightbox_obj_name_color='4B4B4B';
|
277 |
+
$row->lightbox_obj_name_size='14';
|
278 |
+
$row->lightbox_obj_name_font_weight='bold';
|
279 |
+
$row->lightbox_obj_message_color='000000';
|
280 |
+
$row->lightbox_obj_message_size='11';
|
281 |
+
$row->lightbox_obj_message_font_weight='normal';
|
282 |
+
$row->lightbox_obj_hashtags_color='000000';
|
283 |
+
$row->lightbox_obj_hashtags_size='12';
|
284 |
+
$row->lightbox_obj_hashtags_font_weight='normal';
|
285 |
+
$row->lightbox_obj_likes_social_bg_color='878787';
|
286 |
+
$row->lightbox_obj_likes_social_color='FFFFFF';
|
287 |
+
$row->lightbox_obj_likes_social_size='11';
|
288 |
+
$row->lightbox_obj_likes_social_font_weight='normal';
|
289 |
+
$row->lightbox_obj_comments_bg_color='EAEAEA';
|
290 |
+
$row->lightbox_obj_comments_color='4A4A4A';
|
291 |
+
$row->lightbox_obj_comments_font_family='inherit';
|
292 |
+
$row->lightbox_obj_comments_font_size='11';
|
293 |
+
$row->lightbox_obj_users_font_color='4B4B4B';
|
294 |
+
$row->lightbox_obj_comments_social_font_weight='normal';
|
295 |
+
$row->lightbox_obj_comment_border_width='1';
|
296 |
+
$row->lightbox_obj_comment_border_style='solid';
|
297 |
+
$row->lightbox_obj_comment_border_color='C9C9C9';
|
298 |
+
$row->lightbox_obj_comment_border_type='top';
|
299 |
+
$row->lightbox_filmstrip_pos='top';
|
300 |
+
$row->lightbox_filmstrip_rl_bg_color='3B3B3B';
|
301 |
+
$row->lightbox_filmstrip_rl_btn_size='20';
|
302 |
+
$row->lightbox_filmstrip_rl_btn_color='';
|
303 |
+
$row->lightbox_filmstrip_thumb_margin='0 1px';
|
304 |
+
$row->lightbox_filmstrip_thumb_border_width='1';
|
305 |
+
$row->lightbox_filmstrip_thumb_border_style='solid';
|
306 |
+
$row->lightbox_filmstrip_thumb_border_color='000000';
|
307 |
+
$row->lightbox_filmstrip_thumb_border_radius='0';
|
308 |
+
$row->lightbox_filmstrip_thumb_deactive_transparent='80';
|
309 |
+
$row->lightbox_filmstrip_thumb_active_border_width='0';
|
310 |
+
$row->lightbox_filmstrip_thumb_active_border_color='FFFFFF';
|
311 |
+
$row->lightbox_rl_btn_style='';
|
312 |
+
$row->lightbox_evt_str_color='000000';
|
313 |
+
$row->lightbox_evt_str_size='11';
|
314 |
+
$row->lightbox_evt_str_font_weight='normal';
|
315 |
+
$row->lightbox_evt_ctzpcn_color='000000';
|
316 |
+
$row->lightbox_evt_ctzpcn_size='11';
|
317 |
+
$row->lightbox_evt_ctzpcn_font_weight='normal';
|
318 |
+
$row->lightbox_evt_map_color='000000';
|
319 |
+
$row->lightbox_evt_map_size='11';
|
320 |
+
$row->lightbox_evt_map_font_weight='normal';
|
321 |
+
$row->lightbox_evt_date_color='000000';
|
322 |
+
$row->lightbox_evt_date_size='11';
|
323 |
+
$row->lightbox_evt_date_font_weight='normal';
|
324 |
+
$row->lightbox_evt_info_font_family='inherit';
|
325 |
+
$row->page_nav_position='bottom';
|
326 |
+
$row->page_nav_align='center';
|
327 |
+
$row->page_nav_number='0';
|
328 |
+
$row->page_nav_font_size='12';
|
329 |
+
$row->page_nav_font_style='inherit';
|
330 |
+
$row->page_nav_font_color='666666';
|
331 |
+
$row->page_nav_font_weight='bold';
|
332 |
+
$row->page_nav_border_width='1';
|
333 |
+
$row->page_nav_border_style='solid';
|
334 |
+
$row->page_nav_border_color='E3E3E3';
|
335 |
+
$row->page_nav_border_radius='0';
|
336 |
+
$row->page_nav_margin='0';
|
337 |
+
$row->page_nav_padding='3px 6px';
|
338 |
+
$row->page_nav_button_bg_color='FFFFFF';
|
339 |
+
$row->page_nav_button_bg_transparent='100';
|
340 |
+
$row->page_nav_box_shadow='0';
|
341 |
+
$row->page_nav_button_transition='1';
|
342 |
+
$row->page_nav_button_text='0';
|
343 |
+
$row->lightbox_obj_icons_color_likes_comments_count='white';
|
344 |
+
}
|
345 |
+
}
|
346 |
+
}
|
347 |
+
else {
|
348 |
+
|
349 |
+
$row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wd_fb_theme WHERE default_theme="%d"', 1));
|
350 |
+
$row = (object) array_merge((array)$row, (array)json_decode( $row->params));
|
351 |
+
unset($row->params);
|
352 |
+
|
353 |
+
$row->id = 0;
|
354 |
+
$row->name = '';
|
355 |
+
$row->default_theme = 0;
|
356 |
+
}
|
357 |
+
|
358 |
+
|
359 |
+
|
360 |
+
return $row;
|
361 |
+
}
|
362 |
+
|
363 |
+
public function page_nav() {
|
364 |
+
global $wpdb;
|
365 |
+
$where = ((isset($_POST['search_value']) && (esc_html($_POST['search_value']) != '')) ? 'WHERE name LIKE "%' . esc_html($_POST['search_value']) . '%"' : '');
|
366 |
+
$query = "SELECT COUNT(*) FROM " . $wpdb->prefix . "wd_fb_theme " . $where;
|
367 |
+
$total = $wpdb->get_var($query);
|
368 |
+
$page_nav['total'] = $total;
|
369 |
+
if (isset($_POST['page_number']) && $_POST['page_number']) {
|
370 |
+
$limit = ((int) $_POST['page_number'] - 1) * $this->per_page;
|
371 |
+
}
|
372 |
+
else {
|
373 |
+
$limit = 0;
|
374 |
+
}
|
375 |
+
$page_nav['limit'] = (int) ($limit / $this->per_page + 1);
|
376 |
+
return $page_nav;
|
377 |
+
}
|
378 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
379 |
+
// Getters & Setters //
|
380 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
381 |
+
public function per_page(){
|
382 |
+
return $this->per_page;
|
383 |
+
|
384 |
+
}
|
385 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
386 |
+
// Private Methods //
|
387 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
388 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
389 |
+
// Listeners //
|
390 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
391 |
+
}
|
admin/models/FFWDModelUninstall_ffwd.php
CHANGED
@@ -1,39 +1,39 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class FFWDModelUninstall_ffwd {
|
4 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
-
// Events //
|
6 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
-
// Constants //
|
9 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
-
// Variables //
|
12 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
-
// Constructor & Destructor //
|
15 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
-
public function __construct() {
|
17 |
-
}
|
18 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
-
// Public Methods //
|
20 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
-
public function delete_db_tables() {
|
22 |
-
global $wpdb;
|
23 |
-
$wpdb->query("DROP TABLE " . $wpdb->prefix . "wd_fb_info");
|
24 |
-
$wpdb->query("DROP TABLE " . $wpdb->prefix . "wd_fb_data");
|
25 |
-
$wpdb->query("DROP TABLE " . $wpdb->prefix . "wd_fb_option");
|
26 |
-
$wpdb->query("DROP TABLE " . $wpdb->prefix . "wd_fb_theme");
|
27 |
-
$wpdb->query("DROP TABLE " . $wpdb->prefix . "wd_fb_shortcode");
|
28 |
-
delete_option("ffwd_version");
|
29 |
-
}
|
30 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
31 |
-
// Getters & Setters //
|
32 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
33 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
34 |
-
// Private Methods //
|
35 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
36 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
37 |
-
// Listeners //
|
38 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
39 |
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FFWDModelUninstall_ffwd {
|
4 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
+
// Events //
|
6 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
+
// Constants //
|
9 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
+
// Variables //
|
12 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
+
// Constructor & Destructor //
|
15 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
+
public function __construct() {
|
17 |
+
}
|
18 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
+
// Public Methods //
|
20 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
+
public function delete_db_tables() {
|
22 |
+
global $wpdb;
|
23 |
+
$wpdb->query("DROP TABLE " . $wpdb->prefix . "wd_fb_info");
|
24 |
+
$wpdb->query("DROP TABLE " . $wpdb->prefix . "wd_fb_data");
|
25 |
+
$wpdb->query("DROP TABLE " . $wpdb->prefix . "wd_fb_option");
|
26 |
+
$wpdb->query("DROP TABLE " . $wpdb->prefix . "wd_fb_theme");
|
27 |
+
$wpdb->query("DROP TABLE " . $wpdb->prefix . "wd_fb_shortcode");
|
28 |
+
delete_option("ffwd_version");
|
29 |
+
}
|
30 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
31 |
+
// Getters & Setters //
|
32 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
33 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
34 |
+
// Private Methods //
|
35 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
36 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
37 |
+
// Listeners //
|
38 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
39 |
}
|
admin/models/FFWDModelWidget.php
CHANGED
@@ -1,50 +1,50 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class FFWDModelWidget {
|
4 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
-
// Events //
|
6 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
-
// Constants //
|
9 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
-
// Variables //
|
12 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
-
// Constructor & Destructor //
|
15 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
-
public function __construct() {
|
17 |
-
}
|
18 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
-
// Public Methods //
|
20 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
-
|
22 |
-
public function get_ffwd_feeds() {
|
23 |
-
global $wpdb;
|
24 |
-
$query = "SELECT * FROM " . $wpdb->prefix . "wd_fb_info WHERE published=1";
|
25 |
-
$rows = $wpdb->get_results($query);
|
26 |
-
return $rows;
|
27 |
-
}
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
public function get_ffwd_feed($id) {
|
32 |
-
global $wpdb;
|
33 |
-
|
34 |
-
$query = "SELECT fb_view_type,theme FROM " . $wpdb->prefix . "wd_fb_info WHERE id=".$id;
|
35 |
-
|
36 |
-
$row = $wpdb->get_row($query);
|
37 |
-
return $row;
|
38 |
-
}
|
39 |
-
|
40 |
-
|
41 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
42 |
-
// Getters & Setters //
|
43 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
44 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
45 |
-
// Private Methods //
|
46 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
47 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
48 |
-
// Listeners //
|
49 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
50 |
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FFWDModelWidget {
|
4 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
5 |
+
// Events //
|
6 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
7 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
+
// Constants //
|
9 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
10 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
+
// Variables //
|
12 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
13 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
+
// Constructor & Destructor //
|
15 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
16 |
+
public function __construct() {
|
17 |
+
}
|
18 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
+
// Public Methods //
|
20 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
+
|
22 |
+
public function get_ffwd_feeds() {
|
23 |
+
global $wpdb;
|
24 |
+
$query = "SELECT * FROM " . $wpdb->prefix . "wd_fb_info WHERE published=1";
|
25 |
+
$rows = $wpdb->get_results($query);
|
26 |
+
return $rows;
|
27 |
+
}
|
28 |
+
|
29 |
+
|
30 |
+
|
31 |
+
public function get_ffwd_feed($id) {
|
32 |
+
global $wpdb;
|
33 |
+
|
34 |
+
$query = "SELECT fb_view_type,theme FROM " . $wpdb->prefix . "wd_fb_info WHERE id=".$id;
|
35 |
+
|
36 |
+
$row = $wpdb->get_row($query);
|
37 |
+
return $row;
|
38 |
+
}
|
39 |
+
|
40 |
+
|
41 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
42 |
+
// Getters & Setters //
|
43 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
44 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
45 |
+
// Private Methods //
|
46 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
47 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
48 |
+
// Listeners //
|
49 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
50 |
}
|
admin/views/FFWDViewFFWDShortcode.php
CHANGED
@@ -1,196 +1,196 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class FFWDViewFFWDShortcode
|
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()
|
28 |
-
{
|
29 |
-
$wd_fb_rows = $this->model->get_wd_fb_data();
|
30 |
-
?>
|
31 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
32 |
-
<head>
|
33 |
-
<title>WD Facebook Feed</title>
|
34 |
-
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
35 |
-
<script language="javascript" type="text/javascript"
|
36 |
-
src="<?php echo site_url(); ?>/wp-includes/js/tinymce/tiny_mce_popup.js"></script>
|
37 |
-
<script language="javascript" type="text/javascript"
|
38 |
-
src="<?php echo site_url(); ?>/wp-includes/js/tinymce/utils/mctabs.js"></script>
|
39 |
-
<script language="javascript" type="text/javascript"
|
40 |
-
src="<?php echo site_url(); ?>/wp-includes/js/tinymce/utils/form_utils.js"></script>
|
41 |
-
<?php
|
42 |
-
wp_print_scripts('jquery');
|
43 |
-
wp_print_scripts('jquery-ui-core');
|
44 |
-
wp_print_scripts('jquery-ui-widget');
|
45 |
-
wp_print_scripts('jquery-ui-position');
|
46 |
-
wp_print_scripts('jquery-ui-tooltip');
|
47 |
-
?>
|
48 |
-
<link rel="stylesheet" href="<?php echo WD_FFWD_URL . '/css/ffwd_shortcode.css?ver=' . ffwd_version(); ?>">
|
49 |
-
<link rel="stylesheet" href="<?php echo WD_FFWD_URL . '/css/jquery-ui-1.10.3.custom.css'; ?>">
|
50 |
-
<script language="javascript" type="text/javascript"
|
51 |
-
src="<?php echo WD_FFWD_URL . '/js/ffwd_shortcode.js?ver=' . ffwd_version(); ?>"></script>
|
52 |
-
<script language="javascript" type="text/javascript"
|
53 |
-
src="<?php echo WD_FFWD_URL . '/js/jscolor/jscolor.js?ver=' . ffwd_version(); ?>"></script>
|
54 |
-
<base target="_self">
|
55 |
-
</head>
|
56 |
-
<body id="link" onLoad="tinyMCEPopup.executeOnLoad('init();');document.body.style.display='';" dir="ltr"
|
57 |
-
class="forceColors">
|
58 |
-
<?php if (isset($_POST['tagtext'])) {
|
59 |
-
echo '<script>tinyMCEPopup.close();</script></body></html>';
|
60 |
-
die();
|
61 |
-
} ?>
|
62 |
-
<form method="post" action="#" id="bwg_shortcode_form">
|
63 |
-
<?php wp_nonce_field('FFWDShortcode', 'ffwd_nonce'); ?>
|
64 |
-
<div class="tabs" role="tablist" tabindex="-1">
|
65 |
-
<ul>
|
66 |
-
<li id="display_tab" class="current" role="tab" tabindex="0">
|
67 |
-
<span>
|
68 |
-
<a href="javascript:mcTabs.displayTab('display_tab','display_panel');" onMouseDown="return false;"
|
69 |
-
tabindex="-1">Display</a>
|
70 |
-
</span>
|
71 |
-
</li>
|
72 |
-
</ul>
|
73 |
-
</div>
|
74 |
-
<div class="panel_wrapper">
|
75 |
-
<div id="display_panel" class="panel current">
|
76 |
-
<div style="">
|
77 |
-
<div style="float:left">
|
78 |
-
<div class="gallery_type" style="border-style:none">
|
79 |
-
<select name="wd_fb_feed" id="wd_fb_feed"
|
80 |
-
onchange="wd_fb_display_type('wd_fb', jQuery(this))">
|
81 |
-
<option value="0" fb_content_type="0" selected="selected">Select Facebook Feed
|
82 |
-
</option>
|
83 |
-
<?php
|
84 |
-
foreach ($wd_fb_rows as $gallery_row) {
|
85 |
-
?>
|
86 |
-
<option value="<?php echo $gallery_row->id; ?>"
|
87 |
-
fb_type="<?php echo $gallery_row->type; ?>"
|
88 |
-
fb_content_type="<?php echo $gallery_row->content_type; ?>"
|
89 |
-
fb_content="<?php echo $gallery_row->content; ?>"> <?php echo $gallery_row->name; ?></option>
|
90 |
-
<?php
|
91 |
-
}
|
92 |
-
?>
|
93 |
-
</select>
|
94 |
-
</div>
|
95 |
-
</div>
|
96 |
-
<div style="clear:both"></div>
|
97 |
-
</div>
|
98 |
-
</div>
|
99 |
-
</div>
|
100 |
-
<div class="mceActionPanel">
|
101 |
-
<div style="float:left;">
|
102 |
-
<input type="button" id="cancel" name="cancel" value="Cancel" onClick="tinyMCEPopup.close();"/>
|
103 |
-
</div>
|
104 |
-
<div style="float:right;">
|
105 |
-
<input type="button" id="insert" name="insert" value="Insert"
|
106 |
-
onClick="bwg_insert_shortcode('wd_fb', '');"/>
|
107 |
-
</div>
|
108 |
-
<div style="clear:both"></div>
|
109 |
-
</div>
|
110 |
-
<input type="hidden" id="tagtext" name="tagtext" value=""/>
|
111 |
-
<input type="hidden" id="currrent_id" name="currrent_id" value=""/>
|
112 |
-
<input type="hidden" id="bwg_insert" name="bwg_insert" value=""/>
|
113 |
-
<input type="hidden" id="task" name="task" value=""/>
|
114 |
-
</form>
|
115 |
-
<script type="text/javascript">
|
116 |
-
|
117 |
-
|
118 |
-
var params = get_params("WD_FB");
|
119 |
-
|
120 |
-
var bwg_insert = 1;
|
121 |
-
|
122 |
-
var content = tinyMCE.activeEditor.selection.getContent();
|
123 |
-
|
124 |
-
|
125 |
-
// Get shortcodes attributes.
|
126 |
-
function get_params(module_name) {
|
127 |
-
var selected_text = tinyMCE.activeEditor.selection.getContent();
|
128 |
-
var module_start_index = selected_text.indexOf("[" + module_name);
|
129 |
-
var module_end_index = selected_text.indexOf("]", module_start_index);
|
130 |
-
var module_str = "";
|
131 |
-
if ((module_start_index >= 0) && (module_end_index >= 0)) {
|
132 |
-
module_str = selected_text.substring(module_start_index + 1, module_end_index);
|
133 |
-
}
|
134 |
-
else {
|
135 |
-
return false;
|
136 |
-
}
|
137 |
-
var params_str = module_str.substring(module_str.indexOf(" ") + 1);
|
138 |
-
var key_values = params_str.split('" ');
|
139 |
-
var short_code_attr = new Array();
|
140 |
-
for (var key in key_values) {
|
141 |
-
var short_code_index = key_values[key].split('=')[0];
|
142 |
-
var short_code_value = key_values[key].split('=')[1];
|
143 |
-
short_code_value = short_code_value.replace(/\"/g, '');
|
144 |
-
short_code_attr['id'] = short_code_value;
|
145 |
-
}
|
146 |
-
return short_code_attr;
|
147 |
-
}
|
148 |
-
|
149 |
-
|
150 |
-
function bwg_insert_shortcode(wd_fb_prefix, content) {
|
151 |
-
|
152 |
-
short_code = '[WD_FB';
|
153 |
-
|
154 |
-
|
155 |
-
short_code += ' id="' + jQuery("#wd_fb_feed").val() + '"]';
|
156 |
-
var short_id = ' id="' + jQuery("#wd_fb_feed").val() + '"';
|
157 |
-
short_code = short_code.replace(/\[WD_FB([^\]]*)\]/g, function (d, c) {
|
158 |
-
return "<img src='<?php echo WD_FFWD_URL; ?>/images/ffwd/ffwd_logo_large.png' class='wd_fb_shortcode mceItem' title='WD_FB" + short_id + "' />";
|
159 |
-
});
|
160 |
-
|
161 |
-
jQuery("#bwg_shortcode_form").submit();
|
162 |
-
if (window.tinymce.isIE && content) {
|
163 |
-
// IE and Update.
|
164 |
-
var all_content = tinyMCE.activeEditor.getContent();
|
165 |
-
all_content = all_content.replace('<p></p><p>[WD_FB', '<p>[WD_FB');
|
166 |
-
tinyMCE.activeEditor.setContent(all_content.replace(content, '[WD_FB id="' + jQuery("#wd_fb_feed").val() + '"]'));
|
167 |
-
}
|
168 |
-
else {
|
169 |
-
window.tinyMCE.execCommand('mceInsertContent', false, short_code);
|
170 |
-
}
|
171 |
-
tinyMCEPopup.editor.execCommand('mceRepaint');
|
172 |
-
}
|
173 |
-
|
174 |
-
|
175 |
-
params = get_params('WD_FB');
|
176 |
-
if (params['id'])
|
177 |
-
jQuery('#wd_fb_feed').val(params['id']);
|
178 |
-
|
179 |
-
|
180 |
-
</script>
|
181 |
-
</body>
|
182 |
-
</html>
|
183 |
-
<?php
|
184 |
-
die();
|
185 |
-
}
|
186 |
-
|
187 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
188 |
-
// Getters & Setters //
|
189 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
190 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
191 |
-
// Private Methods //
|
192 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
193 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
194 |
-
// Listeners //
|
195 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
196 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FFWDViewFFWDShortcode
|
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()
|
28 |
+
{
|
29 |
+
$wd_fb_rows = $this->model->get_wd_fb_data();
|
30 |
+
?>
|
31 |
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
32 |
+
<head>
|
33 |
+
<title>WD Facebook Feed</title>
|
34 |
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
35 |
+
<script language="javascript" type="text/javascript"
|
36 |
+
src="<?php echo site_url(); ?>/wp-includes/js/tinymce/tiny_mce_popup.js"></script>
|
37 |
+
<script language="javascript" type="text/javascript"
|
38 |
+
src="<?php echo site_url(); ?>/wp-includes/js/tinymce/utils/mctabs.js"></script>
|
39 |
+
<script language="javascript" type="text/javascript"
|
40 |
+
src="<?php echo site_url(); ?>/wp-includes/js/tinymce/utils/form_utils.js"></script>
|
41 |
+
<?php
|
42 |
+
wp_print_scripts('jquery');
|
43 |
+
wp_print_scripts('jquery-ui-core');
|
44 |
+
wp_print_scripts('jquery-ui-widget');
|
45 |
+
wp_print_scripts('jquery-ui-position');
|
46 |
+
wp_print_scripts('jquery-ui-tooltip');
|
47 |
+
?>
|
48 |
+
<link rel="stylesheet" href="<?php echo WD_FFWD_URL . '/css/ffwd_shortcode.css?ver=' . ffwd_version(); ?>">
|
49 |
+
<link rel="stylesheet" href="<?php echo WD_FFWD_URL . '/css/jquery-ui-1.10.3.custom.css'; ?>">
|
50 |
+
<script language="javascript" type="text/javascript"
|
51 |
+
src="<?php echo WD_FFWD_URL . '/js/ffwd_shortcode.js?ver=' . ffwd_version(); ?>"></script>
|
52 |
+
<script language="javascript" type="text/javascript"
|
53 |
+
src="<?php echo WD_FFWD_URL . '/js/jscolor/jscolor.js?ver=' . ffwd_version(); ?>"></script>
|
54 |
+
<base target="_self">
|
55 |
+
</head>
|
56 |
+
<body id="link" onLoad="tinyMCEPopup.executeOnLoad('init();');document.body.style.display='';" dir="ltr"
|
57 |
+
class="forceColors">
|
58 |
+
<?php if (isset($_POST['tagtext'])) {
|
59 |
+
echo '<script>tinyMCEPopup.close();</script></body></html>';
|
60 |
+
die();
|
61 |
+
} ?>
|
62 |
+
<form method="post" action="#" id="bwg_shortcode_form">
|
63 |
+
<?php wp_nonce_field('FFWDShortcode', 'ffwd_nonce'); ?>
|
64 |
+
<div class="tabs" role="tablist" tabindex="-1">
|
65 |
+
<ul>
|
66 |
+
<li id="display_tab" class="current" role="tab" tabindex="0">
|
67 |
+
<span>
|
68 |
+
<a href="javascript:mcTabs.displayTab('display_tab','display_panel');" onMouseDown="return false;"
|
69 |
+
tabindex="-1">Display</a>
|
70 |
+
</span>
|
71 |
+
</li>
|
72 |
+
</ul>
|
73 |
+
</div>
|
74 |
+
<div class="panel_wrapper">
|
75 |
+
<div id="display_panel" class="panel current">
|
76 |
+
<div style="">
|
77 |
+
<div style="float:left">
|
78 |
+
<div class="gallery_type" style="border-style:none">
|
79 |
+
<select name="wd_fb_feed" id="wd_fb_feed"
|
80 |
+
onchange="wd_fb_display_type('wd_fb', jQuery(this))">
|
81 |
+
<option value="0" fb_content_type="0" selected="selected">Select Facebook Feed
|
82 |
+
</option>
|
83 |
+
<?php
|
84 |
+
foreach ($wd_fb_rows as $gallery_row) {
|
85 |
+
?>
|
86 |
+
<option value="<?php echo $gallery_row->id; ?>"
|
87 |
+
fb_type="<?php echo $gallery_row->type; ?>"
|
88 |
+
fb_content_type="<?php echo $gallery_row->content_type; ?>"
|
89 |
+
fb_content="<?php echo $gallery_row->content; ?>"> <?php echo $gallery_row->name; ?></option>
|
90 |
+
<?php
|
91 |
+
}
|
92 |
+
?>
|
93 |
+
</select>
|
94 |
+
</div>
|
95 |
+
</div>
|
96 |
+
<div style="clear:both"></div>
|
97 |
+
</div>
|
98 |
+
</div>
|
99 |
+
</div>
|
100 |
+
<div class="mceActionPanel">
|
101 |
+
<div style="float:left;">
|
102 |
+
<input type="button" id="cancel" name="cancel" value="Cancel" onClick="tinyMCEPopup.close();"/>
|
103 |
+
</div>
|
104 |
+
<div style="float:right;">
|
105 |
+
<input type="button" id="insert" name="insert" value="Insert"
|
106 |
+
onClick="bwg_insert_shortcode('wd_fb', '');"/>
|
107 |
+
</div>
|
108 |
+
<div style="clear:both"></div>
|
109 |
+
</div>
|
110 |
+
<input type="hidden" id="tagtext" name="tagtext" value=""/>
|
111 |
+
<input type="hidden" id="currrent_id" name="currrent_id" value=""/>
|
112 |
+
<input type="hidden" id="bwg_insert" name="bwg_insert" value=""/>
|
113 |
+
<input type="hidden" id="task" name="task" value=""/>
|
114 |
+
</form>
|
115 |
+
<script type="text/javascript">
|
116 |
+
|
117 |
+
|
118 |
+
var params = get_params("WD_FB");
|
119 |
+
|
120 |
+
var bwg_insert = 1;
|
121 |
+
|
122 |
+
var content = tinyMCE.activeEditor.selection.getContent();
|
123 |
+
|
124 |
+
|
125 |
+
// Get shortcodes attributes.
|
126 |
+
function get_params(module_name) {
|
127 |
+
var selected_text = tinyMCE.activeEditor.selection.getContent();
|
128 |
+
var module_start_index = selected_text.indexOf("[" + module_name);
|
129 |
+
var module_end_index = selected_text.indexOf("]", module_start_index);
|
130 |
+
var module_str = "";
|
131 |
+
if ((module_start_index >= 0) && (module_end_index >= 0)) {
|
132 |
+
module_str = selected_text.substring(module_start_index + 1, module_end_index);
|
133 |
+
}
|
134 |
+
else {
|
135 |
+
return false;
|
136 |
+
}
|
137 |
+
var params_str = module_str.substring(module_str.indexOf(" ") + 1);
|
138 |
+
var key_values = params_str.split('" ');
|
139 |
+
var short_code_attr = new Array();
|
140 |
+
for (var key in key_values) {
|
141 |
+
var short_code_index = key_values[key].split('=')[0];
|
142 |
+
var short_code_value = key_values[key].split('=')[1];
|
143 |
+
short_code_value = short_code_value.replace(/\"/g, '');
|
144 |
+
short_code_attr['id'] = short_code_value;
|
145 |
+
}
|
146 |
+
return short_code_attr;
|
147 |
+
}
|
148 |
+
|
149 |
+
|
150 |
+
function bwg_insert_shortcode(wd_fb_prefix, content) {
|
151 |
+
|
152 |
+
short_code = '[WD_FB';
|
153 |
+
|
154 |
+
|
155 |
+
short_code += ' id="' + jQuery("#wd_fb_feed").val() + '"]';
|
156 |
+
var short_id = ' id="' + jQuery("#wd_fb_feed").val() + '"';
|
157 |
+
short_code = short_code.replace(/\[WD_FB([^\]]*)\]/g, function (d, c) {
|
158 |
+
return "<img src='<?php echo WD_FFWD_URL; ?>/images/ffwd/ffwd_logo_large.png' class='wd_fb_shortcode mceItem' title='WD_FB" + short_id + "' />";
|
159 |
+
});
|
160 |
+
|
161 |
+
jQuery("#bwg_shortcode_form").submit();
|
162 |
+
if (window.tinymce.isIE && content) {
|
163 |
+
// IE and Update.
|
164 |
+
var all_content = tinyMCE.activeEditor.getContent();
|
165 |
+
all_content = all_content.replace('<p></p><p>[WD_FB', '<p>[WD_FB');
|
166 |
+
tinyMCE.activeEditor.setContent(all_content.replace(content, '[WD_FB id="' + jQuery("#wd_fb_feed").val() + '"]'));
|
167 |
+
}
|
168 |
+
else {
|
169 |
+
window.tinyMCE.execCommand('mceInsertContent', false, short_code);
|
170 |
+
}
|
171 |
+
tinyMCEPopup.editor.execCommand('mceRepaint');
|
172 |
+
}
|
173 |
+
|
174 |
+
|
175 |
+
params = get_params('WD_FB');
|
176 |
+
if (params['id'])
|
177 |
+
jQuery('#wd_fb_feed').val(params['id']);
|
178 |
+
|
179 |
+
|
180 |
+
</script>
|
181 |
+
</body>
|
182 |
+
</html>
|
183 |
+
<?php
|
184 |
+
die();
|
185 |
+
}
|
186 |
+
|
187 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
188 |
+
// Getters & Setters //
|
189 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
190 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
191 |
+
// Private Methods //
|
192 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
193 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
194 |
+
// Listeners //
|
195 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
196 |
+
}
|
admin/views/FFWDViewInfo_ffwd.php
CHANGED
@@ -1,2416 +1,2417 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class FFWDViewInfo_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()
|
28 |
-
{
|
29 |
-
|
30 |
-
$rows_data = $this->model->get_rows_data();
|
31 |
-
$this->model->del_ffwd_objects();
|
32 |
-
$page_nav = $this->model->page_nav();
|
33 |
-
$search_value = ((isset($_POST['search_value'])) ? esc_html(stripslashes($_POST['search_value'])) : '');
|
34 |
-
$search_select_value = ((isset($_POST['search_select_value'])) ? (int)$_POST['search_select_value'] : 0);
|
35 |
-
$asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
|
36 |
-
$order_by = (isset($_POST['order_by']) ? esc_html(stripslashes($_POST['order_by'])) : 'order');
|
37 |
-
$order_class = 'manage-column column-title sorted ' . $asc_or_desc;
|
38 |
-
$ids_string = '';
|
39 |
-
$per_page = $this->model->per_page();
|
40 |
-
$pager = 0;
|
41 |
-
?>
|
42 |
-
|
43 |
-
|
44 |
-
<div style="font-size: 14px; font-weight: bold;">
|
45 |
-
This section allows you to create, edit and delete Facebook Feed WD.
|
46 |
-
<a style="color: blue; text-decoration: none;" target="_blank"
|
47 |
-
href="https://web-dorado.com/wordpress-facebook-feed/creating-feed.html">Read More in User Manual</a>
|
48 |
-
</div>
|
49 |
-
<form class="wrap" id="ffwd_info_form" method="post" action="admin.php?page=info_ffwd" style="width:99%;">
|
50 |
-
<?php wp_nonce_field('info_ffwd', 'ffwd_nonce'); ?>
|
51 |
-
|
52 |
-
<div class="ffwd_plugin_header">
|
53 |
-
<span class="wd-fb-icon"></span>
|
54 |
-
<h2 class="ffwd_page_name">
|
55 |
-
Feeds
|
56 |
-
<a href="" class="ffwd-button-primary ffwd-button-add-new" onclick="spider_set_input_value('task', 'add');
|
57 |
-
spider_form_submit(event, 'ffwd_info_form')"> Add new</a>
|
58 |
-
|
59 |
-
|
60 |
-
</h2>
|
61 |
-
</div>
|
62 |
-
|
63 |
-
<div id="draganddrop" class="updated" style="display:none;"><strong><p>Changes made in this table should be
|
64 |
-
saved.</p></strong></div>
|
65 |
-
|
66 |
-
|
67 |
-
<div class="ffwd_upgrade ffwd-clear">
|
68 |
-
<div class="ffwd-right">
|
69 |
-
<a href="https://web-dorado.com/products/wordpress-facebook-feed-plugin.html" target="_blank">
|
70 |
-
<div class="ffwd-table">
|
71 |
-
<div class="ffwd-cell ffwd-cell-valign-middle">
|
72 |
-
Upgrade to paid version </div>
|
73 |
-
|
74 |
-
<div class="ffwd-cell ffwd-cell-valign-middle">
|
75 |
-
<img src="
|
76 |
-
</div>
|
77 |
-
</div>
|
78 |
-
</a>
|
79 |
-
</div>
|
80 |
-
</div>
|
81 |
-
|
82 |
-
|
83 |
-
<div class="buttons_div">
|
84 |
-
<span class="ffwd-button-secondary non_selectable" onclick="spider_check_all_items()">
|
85 |
-
<input type="checkbox" id="check_all_items" name="check_all_items" onclick="spider_check_all_items_checkbox()"
|
86 |
-
style="margin: 0; vertical-align: middle;"/>
|
87 |
-
<span style="vertical-align: middle;">Select All</span>
|
88 |
-
</span>
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
<input id="show_hide_weights" class="ffwd-button-secondary ffwd-button-show-order" type="button"
|
94 |
-
onclick="spider_show_hide_weights();return false;" value="Hide order column"/>
|
95 |
-
<input class="ffwd-button-secondary ffwd-button-save-order" type="submit"
|
96 |
-
onclick="spider_set_input_value('task', 'save_order')"
|
97 |
-
value="Save Order"/>
|
98 |
-
<input class="ffwd-button-secondary ffwd-button-publish" type="submit"
|
99 |
-
onclick="spider_set_input_value('task', 'publish_all')"
|
100 |
-
value="Publish"/>
|
101 |
-
<input class="ffwd-button-secondary ffwd-button-unpublish" type="submit"
|
102 |
-
onclick="spider_set_input_value('task', 'unpublish_all')"
|
103 |
-
value="Unpublish"/>
|
104 |
-
<input class="ffwd-button-secondary ffwd-button-delete" type="submit" onclick="if (confirm('Do you want to delete selected items?')) {
|
105 |
-
spider_set_input_value('task', 'delete_all');
|
106 |
-
} else {
|
107 |
-
return false;
|
108 |
-
}" value="Delete"/>
|
109 |
-
</div>
|
110 |
-
<div class="tablenav top">
|
111 |
-
<?php
|
112 |
-
WDW_FFWD_Library::search('Name', $search_value, 'ffwd_info_form');
|
113 |
-
WDW_FFWD_Library::html_page_nav($page_nav['total'], $pager++, $page_nav['limit'], 'ffwd_info_form', $per_page);
|
114 |
-
?>
|
115 |
-
</div>
|
116 |
-
<table class="wp-list-table widefat fixed pages">
|
117 |
-
<thead>
|
118 |
-
<th class="table_small_col"></th>
|
119 |
-
<th class="manage-column column-cb check-column table_small_col"><input id="check_all" type="checkbox"
|
120 |
-
onclick="spider_check_all(this)"
|
121 |
-
style="margin:0;"/></th>
|
122 |
-
<th class="table_small_col <?php if ($order_by == 'id') {
|
123 |
-
echo $order_class;
|
124 |
-
} ?>">
|
125 |
-
<a onclick="spider_set_input_value('task', '');
|
126 |
-
spider_set_input_value('order_by', 'id');
|
127 |
-
spider_set_input_value('asc_or_desc', '<?php echo((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'id') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
|
128 |
-
spider_form_submit(event, 'ffwd_info_form')" href="">
|
129 |
-
<span>ID</span><span class="sorting-indicator"></span>
|
130 |
-
</a>
|
131 |
-
</th>
|
132 |
-
<th class="<?php if ($order_by == 'name') {
|
133 |
-
echo $order_class;
|
134 |
-
} ?>">
|
135 |
-
<a onclick="spider_set_input_value('task', '');
|
136 |
-
spider_set_input_value('order_by', 'name');
|
137 |
-
spider_set_input_value('asc_or_desc', '<?php echo((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'name') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
|
138 |
-
spider_form_submit(event, 'ffwd_info_form')" href="">
|
139 |
-
<span>Name</span><span class="sorting-indicator"></span>
|
140 |
-
</a>
|
141 |
-
</th>
|
142 |
-
<th>Shortcode</th>
|
143 |
-
<th id="th_order" class="table_medium_col <?php if ($order_by == 'order') {
|
144 |
-
echo $order_class;
|
145 |
-
} ?>">
|
146 |
-
<a onclick="spider_set_input_value('task', '');
|
147 |
-
spider_set_input_value('order_by', 'order');
|
148 |
-
spider_set_input_value('asc_or_desc', '<?php echo((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'order') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
|
149 |
-
spider_form_submit(event, 'ffwd_info_form')" href="">
|
150 |
-
<span>Order</span><span class="sorting-indicator"></span>
|
151 |
-
</a>
|
152 |
-
</th>
|
153 |
-
<th class="table_big_col <?php if ($order_by == 'published') {
|
154 |
-
echo $order_class;
|
155 |
-
} ?>">
|
156 |
-
<a onclick="spider_set_input_value('task', '');
|
157 |
-
spider_set_input_value('order_by', 'published');
|
158 |
-
spider_set_input_value('asc_or_desc', '<?php echo((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'published') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
|
159 |
-
spider_form_submit(event, 'ffwd_info_form')" href="">
|
160 |
-
<span>Published</span><span class="sorting-indicator"></span>
|
161 |
-
</a>
|
162 |
-
</th>
|
163 |
-
<th class="table_big_col">Edit</th>
|
164 |
-
<th class="table_big_col">Delete</th>
|
165 |
-
</thead>
|
166 |
-
<tbody id="tbody_arr">
|
167 |
-
<?php
|
168 |
-
if ($rows_data) {
|
169 |
-
foreach ($rows_data as $row_data) {
|
170 |
-
$alternate = (!isset($alternate) || $alternate == 'class="alternate"') ? '' : 'class="alternate"';
|
171 |
-
$published_image = (($row_data->published) ? '-413px' : '-383px');
|
172 |
-
$published = (($row_data->published) ? 'unpublish' : 'publish');
|
173 |
-
?>
|
174 |
-
<tr id="tr_<?php echo $row_data->id; ?>" <?php echo $alternate; ?>>
|
175 |
-
<td class="connectedSortable table_small_col">
|
176 |
-
<div title="Drag to re-order" class="handle" style="margin:5px auto 0 auto;"></div>
|
177 |
-
</td>
|
178 |
-
<td class="table_small_col check-column"><input id="check_<?php echo $row_data->id; ?>"
|
179 |
-
name="check_<?php echo $row_data->id; ?>"
|
180 |
-
onclick="spider_check_all(this)"
|
181 |
-
type="checkbox"/></td>
|
182 |
-
<td class="table_small_col"><?php echo $row_data->id; ?></td>
|
183 |
-
<td><a onclick="spider_set_input_value('task', 'edit');
|
184 |
-
spider_set_input_value('page_number', '1');
|
185 |
-
spider_set_input_value('search_value', '');
|
186 |
-
spider_set_input_value('search_or_not', '');
|
187 |
-
spider_set_input_value('asc_or_desc', 'asc');
|
188 |
-
spider_set_input_value('order_by', 'order');
|
189 |
-
spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
|
190 |
-
spider_form_submit(event, 'ffwd_info_form')"
|
191 |
-
href=""><?php echo $row_data->name; ?></a></td>
|
192 |
-
<td class="spider_order table_medium_col"><input
|
193 |
-
id="order_input_<?php echo $row_data->id; ?>"
|
194 |
-
name="order_input_<?php echo $row_data->id; ?>" type="text" size="1"
|
195 |
-
value="<?php echo $row_data->order; ?>"/></td>
|
196 |
-
<td><input readonly type="text" onclick="jQuery(this).focus();jQuery(this).select();" value='[WD_FB id="<?php echo $row_data->id ?>"]' /></td>
|
197 |
-
|
198 |
-
<td class="table_big_col"><a
|
199 |
-
onclick="spider_set_input_value('task', '<?php echo $published; ?>');spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');spider_form_submit(event, 'ffwd_info_form')"
|
200 |
-
href="" style="display: block;height: 20px;overflow: hidden;"><img
|
201 |
-
src="<?php echo WD_FFWD_URL . '/images/ffwd/button-icons2.png'; ?>"
|
202 |
-
style="position: relative;top:<?php echo $published_image ?>"></img></a>
|
203 |
-
</td>
|
204 |
-
<td class="table_big_col"><a onclick="spider_set_input_value('task', 'edit');
|
205 |
-
spider_set_input_value('page_number', '1');
|
206 |
-
spider_set_input_value('search_value', '');
|
207 |
-
spider_set_input_value('search_or_not', '');
|
208 |
-
spider_set_input_value('asc_or_desc', 'asc');
|
209 |
-
spider_set_input_value('order_by', 'order');
|
210 |
-
spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
|
211 |
-
spider_form_submit(event, 'ffwd_info_form')" href="">Edit</a></td>
|
212 |
-
<td class="table_big_col"><a
|
213 |
-
onclick="if(! confirm('Are you sure you want to delete ?'))return false;
|
214 |
-
spider_set_input_value('task', 'delete');
|
215 |
-
spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
|
216 |
-
spider_form_submit(event, 'ffwd_info_form')" href="">Delete</a></td>
|
217 |
-
</tr>
|
218 |
-
<?php
|
219 |
-
$ids_string .= $row_data->id . ',';
|
220 |
-
}
|
221 |
-
}
|
222 |
-
?>
|
223 |
-
</tbody>
|
224 |
-
</table>
|
225 |
-
<div class="tablenav bottom">
|
226 |
-
<?php
|
227 |
-
WDW_FFWD_Library::html_page_nav($page_nav['total'], $pager++, $page_nav['limit'], 'ffwd_info_form', $per_page);
|
228 |
-
?>
|
229 |
-
</div>
|
230 |
-
<input id="task" name="task" type="hidden" value=""/>
|
231 |
-
<input id="current_id" name="current_id" type="hidden" value=""/>
|
232 |
-
<input id="ids_string" name="ids_string" type="hidden" value="<?php echo $ids_string; ?>"/>
|
233 |
-
<input id="asc_or_desc" name="asc_or_desc" type="hidden" value="asc"/>
|
234 |
-
<input id="order_by" name="order_by" type="hidden" value="<?php echo $order_by; ?>"/>
|
235 |
-
<script>
|
236 |
-
window.onload = spider_show_hide_weights;
|
237 |
-
var dropped_ids = [],
|
238 |
-
ffwd_data = jQuery.parseJSON('<?php echo $this->model->ffwd_objects; ?>');
|
239 |
-
for (var i = 0; i < ffwd_data.length; i++) {
|
240 |
-
for (var j = 0; j < ffwd_data[i].length; j++) {
|
241 |
-
jQuery.getJSON(
|
242 |
-
ffwd_data[i][j]['fb_graph_url'],
|
243 |
-
createSuccessCallback(i, j)
|
244 |
-
).error(createCallback(i, j));
|
245 |
-
}
|
246 |
-
}
|
247 |
-
function createCallback(i, j) {
|
248 |
-
return function (e) {
|
249 |
-
do_something_with_data(i, j, e);
|
250 |
-
};
|
251 |
-
}
|
252 |
-
function do_something_with_data(i, j, e) {
|
253 |
-
var error = jQuery.parseJSON(e.responseText);
|
254 |
-
if (error == null) return;
|
255 |
-
if (error['error']['message'].indexOf('Unsupported get request.') != -1) {
|
256 |
-
var ffwd_nonce = jQuery("#ffwd_nonce").val();
|
257 |
-
var data = {};
|
258 |
-
data["action"] = 'dropp_objects';
|
259 |
-
data["ids"] = ffwd_data[i][j]['id'];
|
260 |
-
data["ffwd_nonce"] = ffwd_nonce;
|
261 |
-
jQuery.ajax({
|
262 |
-
method: "POST",
|
263 |
-
url: ajax_url,
|
264 |
-
data: data,
|
265 |
-
success: function (result) {
|
266 |
-
console.log(result);
|
267 |
-
}
|
268 |
-
});
|
269 |
-
}
|
270 |
-
}
|
271 |
-
function createSuccessCallback(i, j) {
|
272 |
-
return;
|
273 |
-
}
|
274 |
-
</script>
|
275 |
-
</form>
|
276 |
-
<?php
|
277 |
-
}
|
278 |
-
|
279 |
-
public function edit($id)
|
280 |
-
{
|
281 |
-
|
282 |
-
///////////////////////////////
|
283 |
-
$row = $this->model->get_row_data($id);
|
284 |
-
$theme_rows = $this->model->get_theme_rows_data();
|
285 |
-
$fb_glob_optons = $this->model->get_option_row_data();
|
286 |
-
$page_title = (($id != 0) ? 'Edit Facebook Feed WD ' . $row->name : 'Create new Facebook Feed WD');
|
287 |
-
$type = $row->type;
|
288 |
-
$content_url = $row->content_url;
|
289 |
-
$disabled = ($id != 0) ? 'disabled' : '';
|
290 |
-
|
291 |
-
$effects = array(
|
292 |
-
'none' => 'None',
|
293 |
-
'fade' => 'Fade',
|
294 |
-
'0' => 'Cube Horizontal',
|
295 |
-
'1' => 'Cube Vertical',
|
296 |
-
|
297 |
-
'2' => 'Slice Horizontal',
|
298 |
-
'3' => 'Slice Vertical',
|
299 |
-
'4' => 'Slide Horizontal',
|
300 |
-
'5' => 'Slide Vertical',
|
301 |
-
'6' => 'Scale Out',
|
302 |
-
'7' => 'Scale In',
|
303 |
-
'8' => 'Block Scale',
|
304 |
-
'9' => 'Kaleidoscope',
|
305 |
-
'10' => 'Fan',
|
306 |
-
'11' => 'Blind Horizontal',
|
307 |
-
'12' => 'Blind Vertical',
|
308 |
-
'13' => 'Random',
|
309 |
-
);
|
310 |
-
|
311 |
-
|
312 |
-
?>
|
313 |
-
<style>
|
314 |
-
|
315 |
-
|
316 |
-
.ffwd_header {
|
317 |
-
/*background-image: url("../images/ffwd_logo.png");*/
|
318 |
-
background: url('<?php echo WD_FFWD_URL; ?>/images/ffwd_logo.png') no-repeat 0px center;
|
319 |
-
padding: 20px 0px 20px 80px;
|
320 |
-
background-size: 70px;
|
321 |
-
}
|
322 |
-
|
323 |
-
.ffwd_main {
|
324 |
-
display: block;
|
325 |
-
margin: 20px 0px 0px 0px;
|
326 |
-
}
|
327 |
-
|
328 |
-
.ffwd_main_set_c {
|
329 |
-
width: 598px;
|
330 |
-
/*height: 400px;*/
|
331 |
-
padding: 9px;
|
332 |
-
}
|
333 |
-
|
334 |
-
.ffwd_lightbox_settings, .ffwd_comments_tab, .ffwd_page_plugin_tab, .ffwd_events_tab {
|
335 |
-
display: none;
|
336 |
-
margin: 20px 0px 0px 0px;
|
337 |
-
}
|
338 |
-
|
339 |
-
.ffwd_varied {
|
340 |
-
display: none;
|
341 |
-
margin: 20px 0px 0px 0px;
|
342 |
-
}
|
343 |
-
|
344 |
-
.ffwd_varied:after {
|
345 |
-
visibility: hidden;
|
346 |
-
display: block;
|
347 |
-
font-size: 0;
|
348 |
-
content: " ";
|
349 |
-
clear: both;
|
350 |
-
height: 0;
|
351 |
-
}
|
352 |
-
|
353 |
-
.ffwd_view {
|
354 |
-
width: 120px;
|
355 |
-
height: 133px;
|
356 |
-
background-size: 120px;
|
357 |
-
background-repeat: no-repeat;
|
358 |
-
float: left;
|
359 |
-
margin: 0px 10px 0px 0px;
|
360 |
-
cursor: pointer;
|
361 |
-
}
|
362 |
-
|
363 |
-
.ffwd_view_t {
|
364 |
-
background-image: url("<?php echo WD_FFWD_URL; ?>/images/ffwd/ffwd_thumb.png");
|
365 |
-
background-size: 105px;
|
366 |
-
background-position: center 24px;
|
367 |
-
}
|
368 |
-
|
369 |
-
.ffwd_view_m {
|
370 |
-
background-image: url("<?php echo WD_FFWD_URL; ?>/images/ffwd/ffwd_masonry.png");
|
371 |
-
background-size: 106px;
|
372 |
-
background-position: center 23px;
|
373 |
-
}
|
374 |
-
|
375 |
-
.ffwd_view_bf {
|
376 |
-
background-image: url("<?php echo WD_FFWD_URL; ?>/images/ffwd/ffwd_blog.png");
|
377 |
-
background-position: center 24px;
|
378 |
-
}
|
379 |
-
|
380 |
-
.ffwd_view_bh {
|
381 |
-
background-image: url("<?php echo WD_FFWD_URL; ?>/images/ffwd/ffwd_blog.png");
|
382 |
-
background-position: center 24px;
|
383 |
-
|
384 |
-
}
|
385 |
-
|
386 |
-
.ffwd_view_a {
|
387 |
-
background-image: url("<?php echo WD_FFWD_URL; ?>/images/ffwd/ffwd_album.png");
|
388 |
-
background-position: center 24px;
|
389 |
-
}
|
390 |
-
|
391 |
-
}
|
392 |
-
.ffwd_views_set {
|
393 |
-
margin: 10px 0px 0px 0px;
|
394 |
-
/*width: 860px;*/
|
395 |
-
}
|
396 |
-
|
397 |
-
.ffwd_view_l_s, .ffwd_varied_s {
|
398 |
-
padding: 9px;
|
399 |
-
box-sizing: border-box;
|
400 |
-
width: 415px;
|
401 |
-
}
|
402 |
-
|
403 |
-
.ffwd_view_t_s, .ffwd_varied_f {
|
404 |
-
padding: 9px;
|
405 |
-
box-sizing: border-box;
|
406 |
-
width: 440px;
|
407 |
-
margin: 0px 10px 0px 0px;
|
408 |
-
}
|
409 |
-
|
410 |
-
.ffwd_views_set:after {
|
411 |
-
visibility: hidden;
|
412 |
-
display: block;
|
413 |
-
font-size: 0;
|
414 |
-
content: " ";
|
415 |
-
clear: both;
|
416 |
-
height: 0;
|
417 |
-
}
|
418 |
-
|
419 |
-
.ffwd_tab {
|
420 |
-
font-size: 17px;
|
421 |
-
float: left;
|
422 |
-
padding: 10px;
|
423 |
-
background-color: #fff;
|
424 |
-
border: 1px solid #FBFBFB;
|
425 |
-
border-bottom: none;
|
426 |
-
margin-right: 0px;
|
427 |
-
position: relative;
|
428 |
-
z-index: 2;
|
429 |
-
top: 2px;
|
430 |
-
}
|
431 |
-
|
432 |
-
.ffwd_tab:hover {
|
433 |
-
cursor: pointer;
|
434 |
-
background-color: #fff;
|
435 |
-
border-bottom: none;
|
436 |
-
margin-bottom: 1px;
|
437 |
-
}
|
438 |
-
|
439 |
-
.ffwd_tab_s {
|
440 |
-
background-color: #fff !important;
|
441 |
-
top: 3px;
|
442 |
-
border-left: 1px solid #3b5a9a;
|
443 |
-
border-right: 1px solid #3b5a9a;
|
444 |
-
border-top: 1px solid #3b5a9a;
|
445 |
-
}
|
446 |
-
|
447 |
-
}
|
448 |
-
|
449 |
-
.ffwd_tabs:after {
|
450 |
-
visibility: hidden;
|
451 |
-
display: block;
|
452 |
-
font-size: 0;
|
453 |
-
content: " ";
|
454 |
-
clear: both;
|
455 |
-
height: 0;
|
456 |
-
}
|
457 |
-
|
458 |
-
.ffwd_views_c:after {
|
459 |
-
visibility: hidden;
|
460 |
-
display: block;
|
461 |
-
font-size: 0;
|
462 |
-
content: " ";
|
463 |
-
clear: both;
|
464 |
-
height: 0;
|
465 |
-
}
|
466 |
-
|
467 |
-
.ffwd_button {
|
468 |
-
|
469 |
-
}
|
470 |
-
|
471 |
-
.ffwd_tabs_cont {
|
472 |
-
float: left;
|
473 |
-
margin: 17px 0px 0px 0px;
|
474 |
-
position: relative;
|
475 |
-
top: 4px;
|
476 |
-
}
|
477 |
-
|
478 |
-
.ffwd_butts_c {
|
479 |
-
float: right;
|
480 |
-
margin: 17px 0px 0px 0px;
|
481 |
-
}
|
482 |
-
|
483 |
-
.ffwd_tabs {
|
484 |
-
margin: 0;
|
485 |
-
padding: 0;
|
486 |
-
}
|
487 |
-
|
488 |
-
.ffwd_button {
|
489 |
-
background: #0071BC;
|
490 |
-
outline: none;
|
491 |
-
padding: 7px;
|
492 |
-
color: #ffffff;
|
493 |
-
border: 0;
|
494 |
-
margin: 0;
|
495 |
-
cursor: pointer;
|
496 |
-
box-shadow: 0px 0px 3px #FFFFFF;
|
497 |
-
}
|
498 |
-
|
499 |
-
.ffwd_button:hover {
|
500 |
-
background-color: #47C6AB;
|
501 |
-
}
|
502 |
-
|
503 |
-
.ffwd_set_l {
|
504 |
-
font-weight: bolder;
|
505 |
-
padding: 4px;
|
506 |
-
color: #4E4E4E;
|
507 |
-
}
|
508 |
-
|
509 |
-
.ffwd_set_i {
|
510 |
-
vertical-align: middle;
|
511 |
-
}
|
512 |
-
|
513 |
-
.ffwd_header_l {
|
514 |
-
color: #0071BC;
|
515 |
-
font-size: 14px;
|
516 |
-
font-weight: bolder;
|
517 |
-
/*border-bottom-style: solid;
|
518 |
-
border-width: 1px;
|
519 |
-
border-color: white;*/
|
520 |
-
padding: 10px 10px 10px 10px;
|
521 |
-
background: #F5F5F5;
|
522 |
-
display: block;
|
523 |
-
}
|
524 |
-
|
525 |
-
.ffwd_header_c {
|
526 |
-
margin: 0px 0px 10px 0px;
|
527 |
-
}
|
528 |
-
|
529 |
-
.ffwd_sett_tabl {
|
530 |
-
width: 100%;
|
531 |
-
}
|
532 |
-
|
533 |
-
.ffwd_view div {
|
534 |
-
line-height: 22px;
|
535 |
-
text-align: center;
|
536 |
-
color: #000;
|
537 |
-
|
538 |
-
}
|
539 |
-
|
540 |
-
.ffwd_border_wrapper {
|
541 |
-
|
542 |
-
border: 1px solid #3b5a9a;
|
543 |
-
padding: 5px;
|
544 |
-
background-color: #FFFFFF;
|
545 |
-
|
546 |
-
}
|
547 |
-
</style>
|
548 |
-
|
549 |
-
|
550 |
-
<div id="message_div" class="updated" style="display: none;"></div>
|
551 |
-
<div style="font-size: 14px; font-weight: bold;">
|
552 |
-
This section allows you to add/edit Facebook Feed WD.
|
553 |
-
<a style="color: blue; text-decoration: none;" target="_blank"
|
554 |
-
href="https://web-dorado.com/wordpress-facebook-feed/creating-feed.html">Read More in User Manual</a>
|
555 |
-
</div>
|
556 |
-
|
557 |
-
<script src="http://malsup.github.io/jquery.form.js"></script>
|
558 |
-
<form class="wrap" method="post" id="ffwd_info_form" action="admin.php?page=info_ffwd" style="width:99%;">
|
559 |
-
<?php wp_nonce_field('info_ffwd', 'ffwd_nonce'); ?>
|
560 |
-
<!-- <span class="wd-fb-icon"></span> -->
|
561 |
-
<div class="ffwd_plugin_header">
|
562 |
-
<div class="ffwd_upgrade ffwd-clear">
|
563 |
-
<div class="ffwd-right">
|
564 |
-
<a href="https://web-dorado.com/products/wordpress-facebook-feed-plugin.html" target="_blank">
|
565 |
-
<div class="ffwd-table">
|
566 |
-
<div class="ffwd-cell ffwd-cell-valign-middle">
|
567 |
-
Upgrade to paid version </div>
|
568 |
-
|
569 |
-
<div class="ffwd-cell ffwd-cell-valign-middle">
|
570 |
-
<img src="
|
571 |
-
</div>
|
572 |
-
</div>
|
573 |
-
</a>
|
574 |
-
</div>
|
575 |
-
</div>
|
576 |
-
<span class="wd-fb-icon"></span>
|
577 |
-
<h2 class="ffwd_page_name"><?php echo $page_title; ?></h2>
|
578 |
-
</div>
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
<div class="ffwd_tabs_cont" style="float:left;">
|
584 |
-
|
585 |
-
<ul class="ffwd_tabs">
|
586 |
-
<li class="ffwd_tab ffwd_tab_s" show="main" onclick="ffwd_change_tab(this)">Main</li>
|
587 |
-
<li class="ffwd_tab" id="ffwd_tab_lightbox" show="lightbox_settings"
|
588 |
-
onclick="ffwd_change_tab(this)">Lightbox settings
|
589 |
-
</li>
|
590 |
-
<li class="ffwd_tab" id="ffwd_tab_comments" show="comments_tab" onclick="ffwd_change_tab(this)">
|
591 |
-
Comments
|
592 |
-
</li>
|
593 |
-
<li class="ffwd_tab" id="ffwd_tab_page_plugin" show="page_plugin_tab"
|
594 |
-
onclick="ffwd_change_tab(this)">Page plugin
|
595 |
-
</li>
|
596 |
-
<li class="ffwd_tab" id="ffwd_tab_events" show="events_tab" onclick="ffwd_change_tab(this)">Events
|
597 |
-
</li>
|
598 |
-
</ul>
|
599 |
-
</div>
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
<div class="ffwd_butts_c" style="float:right;">
|
605 |
-
<input class=" ffwd-button-primary ffwd-button-save" type="button"
|
606 |
-
onclick="if (spider_check_required('name', 'Name'))return false;
|
607 |
-
spider_set_input_value('task', 'save');
|
608 |
-
spider_ajax_save('<?php echo WD_FB_PREFIX; ?>');" value="Save"/>
|
609 |
-
<input class=" ffwd-button-primary ffwd-button-apply" type="button"
|
610 |
-
onclick="if (spider_check_required('name', 'Name')) return false;
|
611 |
-
spider_set_input_value('task', 'apply');
|
612 |
-
spider_ajax_save('<?php echo WD_FB_PREFIX; ?>');" value="Apply"/>
|
613 |
-
<input class=" ffwd-button-secondary ffwd-button-cancel" type="submit" onclick="spider_set_input_value('page_number', '1');
|
614 |
-
spider_set_input_value('task', 'cancel')"
|
615 |
-
value="Cancel"/>
|
616 |
-
</div>
|
617 |
-
<div style="clear:both"></div>
|
618 |
-
|
619 |
-
<div class="ffwd_border_wrapper">
|
620 |
-
<div class="ffwd_p ffwd_main">
|
621 |
-
|
622 |
-
|
623 |
-
<div class="ffwd_main_set_c">
|
624 |
-
<table>
|
625 |
-
<tbody>
|
626 |
-
<tr>
|
627 |
-
<td class="ffwd_set_l"><label for="name">Name: <span style="color:#FF0000;">*</span>
|
628 |
-
</label></td>
|
629 |
-
<td><input type="text" id="name" name="name" value="<?php echo $row->name; ?>"
|
630 |
-
size="39"/></td>
|
631 |
-
</tr>
|
632 |
-
<tr>
|
633 |
-
<td class="ffwd_set_l"><label for="<?php echo WD_FB_PREFIX; ?>_type">FB type: </label>
|
634 |
-
</td>
|
635 |
-
<td style="margin-bottom:15px">
|
636 |
-
<select name="<?php echo WD_FB_PREFIX; ?>_type"
|
637 |
-
id="<?php echo WD_FB_PREFIX; ?>_type" style="width:90px;"
|
638 |
-
onchange="choose_fb_type('<?php echo WD_FB_PREFIX; ?>', jQuery(this).val());">
|
639 |
-
<option value="selected" <?php if ($type == '') echo 'selected="selected"'; ?>>
|
640 |
-
Select
|
641 |
-
</option>
|
642 |
-
<option value="page" <?php if ($type == 'page') echo 'selected="selected"'; ?>>
|
643 |
-
Page
|
644 |
-
</option>
|
645 |
-
<option
|
646 |
-
value="group" <?php if ($type == 'group') echo 'selected="selected"'; ?>>
|
647 |
-
Group
|
648 |
-
</option>
|
649 |
-
<option disabled
|
650 |
-
value="profile">
|
651 |
-
Profile
|
652 |
-
</option>
|
653 |
-
</select>
|
654 |
-
<br>
|
655 |
-
<label for="" class="ffwd_pro_only">Profile Type is Available Only in PRO
|
656 |
-
version</label>
|
657 |
-
</td>
|
658 |
-
</tr>
|
659 |
-
</tbody>
|
660 |
-
<!-- fb type page -->
|
661 |
-
<tbody id="<?php echo WD_FB_PREFIX; ?>_type_page"
|
662 |
-
style="display:<?php echo($type == 'page' ? 'table-row-group' : 'none'); ?>;">
|
663 |
-
<tr>
|
664 |
-
<td class="ffwd_set_l"><label for="<?php echo WD_FB_PREFIX; ?>_page_url">Page
|
665 |
-
url: </label></td>
|
666 |
-
<td style="margin-bottom:15px"><input type="text"
|
667 |
-
id="<?php echo WD_FB_PREFIX; ?>_page_url"
|
668 |
-
name="<?php echo WD_FB_PREFIX; ?>_page_url"
|
669 |
-
value="<?php echo $row->content_url; ?>"
|
670 |
-
size="64"/></td>
|
671 |
-
</tr>
|
672 |
-
<tr>
|
673 |
-
<td class="ffwd_set_l"><label for="<?php echo WD_FB_PREFIX; ?>_page_exist_access_tok">Use
|
674 |
-
Existing access token: </label></td>
|
675 |
-
<td style="margin-bottom:15px"><input type="checkbox"
|
676 |
-
id="<?php echo WD_FB_PREFIX; ?>_page_exist_access_tok"
|
677 |
-
name="<?php echo WD_FB_PREFIX; ?>_page_exist_access_tok"
|
678 |
-
value="<?php echo $row->exist_access; ?>" <?php echo($row->exist_access ? 'checked="checked"' : ''); ?>
|
679 |
-
onchange="if(jQuery('#<?php echo WD_FB_PREFIX; ?>_access_token_cont').css('display') == 'none') jQuery('#<?php echo WD_FB_PREFIX; ?>_access_token_cont').show(); else jQuery('#<?php echo WD_FB_PREFIX; ?>_access_token_cont').hide();"/>
|
680 |
-
</td>
|
681 |
-
</tr>
|
682 |
-
</tbody>
|
683 |
-
<!-- fb type group -->
|
684 |
-
<tbody id="<?php echo WD_FB_PREFIX; ?>_type_group"
|
685 |
-
style="display:<?php echo($type == 'group' ? 'table-row-group' : 'none'); ?>;">
|
686 |
-
<tr>
|
687 |
-
<td class="ffwd_set_l"><label for="<?php echo WD_FB_PREFIX; ?>_group_url">Group
|
688 |
-
id: </label></td>
|
689 |
-
<td style="margin-bottom:15px"><input type="text"
|
690 |
-
id="<?php echo WD_FB_PREFIX; ?>_group_url"
|
691 |
-
name="<?php echo WD_FB_PREFIX; ?>_group_url"
|
692 |
-
value="<?php echo $row->content_url; ?>"
|
693 |
-
size="18"/>
|
694 |
-
<div class="spider_description">To get your Group ID copy the group URL and paste it to <a href="https://lookup-id.com/" target="_blank">https://lookup-id.com/</a> and press Lookup button.</div>
|
695 |
-
|
696 |
-
|
697 |
-
</td>
|
698 |
-
</tr>
|
699 |
-
<tr>
|
700 |
-
<td class="ffwd_set_l"><label for="<?php echo WD_FB_PREFIX; ?>_group_exist_access_tok">Use
|
701 |
-
Existing access token: </label></td>
|
702 |
-
<td style="margin-bottom:15px"><input type="checkbox"
|
703 |
-
id="<?php echo WD_FB_PREFIX; ?>_group_exist_access_tok"
|
704 |
-
name="<?php echo WD_FB_PREFIX; ?>_group_exist_access_tok"
|
705 |
-
value="<?php echo $row->exist_access; ?>" <?php echo($row->exist_access ? 'checked="checked"' : ''); ?>
|
706 |
-
onchange="if(jQuery('#<?php echo WD_FB_PREFIX; ?>_access_token_cont').css('display') == 'none') jQuery('#<?php echo WD_FB_PREFIX; ?>_access_token_cont').show(); else jQuery('#<?php echo WD_FB_PREFIX; ?>_access_token_cont').hide();"/>
|
707 |
-
</td>
|
708 |
-
</tr>
|
709 |
-
</tbody>
|
710 |
-
<!-- fb type profile -->
|
711 |
-
<tbody id="<?php echo WD_FB_PREFIX; ?>_type_profile"
|
712 |
-
style="display:<?php echo($type == 'profile' ? 'table-row-group' : 'none'); ?>;">
|
713 |
-
<?php if (!$this->model->check_logged_in_user()): ?>
|
714 |
-
<tr>
|
715 |
-
<td class="ffwd_set_l" style="margin-bottom:15px;vertical-align:middle"></td>
|
716 |
-
<td>
|
717 |
-
<label for="wd_fb_facebook_log_in" class="wd_fb_facebook_log_in" style="">Please
|
718 |
-
login. Press Options button bellow: </label>
|
719 |
-
<a href="admin.php?page=options_ffwd" class="wd_fb_options_button" style="">
|
720 |
-
Options </a>
|
721 |
-
</td>
|
722 |
-
</tr>
|
723 |
-
<?php endif; ?>
|
724 |
-
</tbody>
|
725 |
-
<!-- fb content type -->
|
726 |
-
<tbody id="<?php echo WD_FB_PREFIX; ?>_content_type"
|
727 |
-
style="display:<?php echo($type != '' ? 'table-row-group' : 'none'); ?>;">
|
728 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_access_token_cont"
|
729 |
-
style="display:<?php echo(!$row->exist_access ? 'table-row' : 'none'); ?>;">
|
730 |
-
<td class="ffwd_set_l"><label for="<?php echo WD_FB_PREFIX; ?>_access_token">Your access
|
731 |
-
token: </label></td>
|
732 |
-
<td style="margin-bottom:15px"><input type="text"
|
733 |
-
id="<?php echo WD_FB_PREFIX; ?>_access_token"
|
734 |
-
name="<?php echo WD_FB_PREFIX; ?>_access_token"
|
735 |
-
value="<?php echo $row->access_token; ?>"
|
736 |
-
size="64"/></td>
|
737 |
-
</tr>
|
738 |
-
<tr>
|
739 |
-
<td class="ffwd_set_l"><label>Content type: </label></td>
|
740 |
-
<td style="margin-bottom:15px">
|
741 |
-
<input type="radio" class="inputbox"
|
742 |
-
id="<?php echo WD_FB_PREFIX; ?>_content_timeline"
|
743 |
-
name="<?php echo WD_FB_PREFIX; ?>_content_type" checked="checked"
|
744 |
-
value="timeline"
|
745 |
-
onchange="choose_fb_content_type('<?php echo WD_FB_PREFIX; ?>', jQuery(this).val());">
|
746 |
-
<label for="<?php echo WD_FB_PREFIX; ?>_content_timeline">Timeline</label>
|
747 |
-
<input disabled type="radio" class="inputbox"
|
748 |
-
id="<?php echo WD_FB_PREFIX; ?>_content_specific"
|
749 |
-
name="<?php echo WD_FB_PREFIX; ?>_content_type"
|
750 |
-
value="specific"
|
751 |
-
onchange="choose_fb_content_type('<?php echo WD_FB_PREFIX; ?>', jQuery(this).val());">
|
752 |
-
<label for="<?php echo WD_FB_PREFIX; ?>_content_specific">Specific</label>
|
753 |
-
<br>
|
754 |
-
<label for="" class="ffwd_pro_only">Specific Content Type is Available Only in PRO
|
755 |
-
version</label>
|
756 |
-
</td>
|
757 |
-
</tr>
|
758 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_content_type_timeline_type"
|
759 |
-
style="display:<?php echo($row->content_type == 'timeline' ? 'table-row' : 'none'); ?>;">
|
760 |
-
<td class="ffwd_set_l"><label>Show posts by: </label></td>
|
761 |
-
<td style="margin-bottom:15px">
|
762 |
-
<select name="<?php echo WD_FB_PREFIX; ?>_timeline_type"
|
763 |
-
id="<?php echo WD_FB_PREFIX; ?>_timeline_type" style="width:130px">
|
764 |
-
<option
|
765 |
-
value="posts" <?php if ($row->timeline_type == 'posts') echo 'selected="selected"'; ?>>
|
766 |
-
Owner
|
767 |
-
</option>
|
768 |
-
<option
|
769 |
-
value="others" <?php if ($row->timeline_type == 'others') echo 'selected="selected"'; ?>>
|
770 |
-
Others
|
771 |
-
</option>
|
772 |
-
<option
|
773 |
-
value="feed" <?php if ($row->timeline_type == 'feed') echo 'selected="selected"'; ?>>
|
774 |
-
Owner and others
|
775 |
-
</option>
|
776 |
-
</select>
|
777 |
-
</td>
|
778 |
-
</tr>
|
779 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_content_type_timeline"
|
780 |
-
style="display:<?php echo($row->content_type == 'timeline' ? 'table-row' : 'none'); ?>;">
|
781 |
-
<td class="ffwd_set_l"><label>Post type: </label></td>
|
782 |
-
<td>
|
783 |
-
<input disabled type="checkbox" class="inputbox"
|
784 |
-
id="<?php echo WD_FB_PREFIX; ?>_timeline_statuses"
|
785 |
-
name="<?php echo WD_FB_PREFIX; ?>_timeline_statuses" checked="checked"
|
786 |
-
value="statuses">
|
787 |
-
<label for="<?php echo WD_FB_PREFIX; ?>_timeline_statuses">Statuses</label>
|
788 |
-
<br>
|
789 |
-
<input disabled type="checkbox" class="inputbox"
|
790 |
-
id="<?php echo WD_FB_PREFIX; ?>_timeline_photos"
|
791 |
-
name="<?php echo WD_FB_PREFIX; ?>_timeline_photos" checked="checked"
|
792 |
-
value="photos">
|
793 |
-
<label for="<?php echo WD_FB_PREFIX; ?>_timeline_photos">Photos</label>
|
794 |
-
<br>
|
795 |
-
<input disabled type="checkbox" class="inputbox"
|
796 |
-
id="<?php echo WD_FB_PREFIX; ?>_timeline_videos"
|
797 |
-
name="<?php echo WD_FB_PREFIX; ?>_timeline_videos" checked="checked"
|
798 |
-
value="videos">
|
799 |
-
<label for="<?php echo WD_FB_PREFIX; ?>_timeline_videos">Videos</label>
|
800 |
-
<br>
|
801 |
-
<input disabled type="checkbox" class="inputbox"
|
802 |
-
id="<?php echo WD_FB_PREFIX; ?>_timeline_links"
|
803 |
-
name="<?php echo WD_FB_PREFIX; ?>_timeline_links" checked="checked"
|
804 |
-
value="links">
|
805 |
-
<label for="<?php echo WD_FB_PREFIX; ?>_timeline_links">Links</label>
|
806 |
-
<br>
|
807 |
-
<input disabled type="checkbox" class="inputbox"
|
808 |
-
id="<?php echo WD_FB_PREFIX; ?>_timeline_events"
|
809 |
-
name="<?php echo WD_FB_PREFIX; ?>_timeline_events" checked="checked"
|
810 |
-
style="display:<?php echo($type != 'profile' ? 'inline-block' : 'none'); ?>;"
|
811 |
-
value="events">
|
812 |
-
<label style="display:<?php echo($type != 'profile' ? 'inline-block' : 'none'); ?>;"
|
813 |
-
for="<?php echo WD_FB_PREFIX; ?>_timeline_events">Events</label>
|
814 |
-
|
815 |
-
<br>
|
816 |
-
<label for="" class="ffwd_pro_only">This Feature is Available Only in PRO
|
817 |
-
version</label>
|
818 |
-
|
819 |
-
</td>
|
820 |
-
</tr>
|
821 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_content_type_specific"
|
822 |
-
style="display:<?php echo($row->content_type == 'specific' ? 'table-row' : 'none'); ?>;">
|
823 |
-
<td class="ffwd_set_l"><label>Use page's: </label></td>
|
824 |
-
<td>
|
825 |
-
<input type="radio" class="inputbox"
|
826 |
-
id="<?php echo WD_FB_PREFIX; ?>_specific_photos"
|
827 |
-
onchange="choose_fb_content_type('<?php echo WD_FB_PREFIX; ?>', 'specific');"
|
828 |
-
name="<?php echo WD_FB_PREFIX; ?>_specific" <?php echo (strpos($row->content, 'photos') !== false) ? 'checked="checked"' : ''; ?>
|
829 |
-
value="photos">
|
830 |
-
<label for="<?php echo WD_FB_PREFIX; ?>_specific_photos">Photos</label>
|
831 |
-
<br>
|
832 |
-
<input type="radio" class="inputbox"
|
833 |
-
id="<?php echo WD_FB_PREFIX; ?>_specific_videos"
|
834 |
-
onchange="choose_fb_content_type('<?php echo WD_FB_PREFIX; ?>', 'specific');"
|
835 |
-
name="<?php echo WD_FB_PREFIX; ?>_specific" <?php echo (strpos($row->content, 'videos') !== false) ? 'checked="checked"' : ''; ?>
|
836 |
-
value="videos">
|
837 |
-
<label for="<?php echo WD_FB_PREFIX; ?>_specific_videos">Videos</label>
|
838 |
-
<br>
|
839 |
-
<input type="radio" class="inputbox"
|
840 |
-
id="<?php echo WD_FB_PREFIX; ?>_specific_albums"
|
841 |
-
onchange="choose_fb_content_type('<?php echo WD_FB_PREFIX; ?>', 'specific');"
|
842 |
-
name="<?php echo WD_FB_PREFIX; ?>_specific" <?php echo (strpos($row->content, 'albums') !== false) ? 'checked="checked"' : ''; ?>
|
843 |
-
value="albums">
|
844 |
-
<label for="<?php echo WD_FB_PREFIX; ?>_specific_albums">Albums</label>
|
845 |
-
<br>
|
846 |
-
<input type="radio" class="inputbox"
|
847 |
-
id="<?php echo WD_FB_PREFIX; ?>_specific_events"
|
848 |
-
onchange="choose_fb_content_type('<?php echo WD_FB_PREFIX; ?>', 'specific');"
|
849 |
-
name="<?php echo WD_FB_PREFIX; ?>_specific" <?php echo (strpos($row->content, 'events') !== false) ? 'checked="checked"' : ''; ?>
|
850 |
-
value="events">
|
851 |
-
<label for="<?php echo WD_FB_PREFIX; ?>_specific_events">Events</label>
|
852 |
-
</td>
|
853 |
-
</tr>
|
854 |
-
<tr>
|
855 |
-
<td class="ffwd_set_l"><label for="<?php echo WD_FB_PREFIX; ?>_limit">Number of posts: </label>
|
856 |
-
</td>
|
857 |
-
<td><input type="number" id="<?php echo WD_FB_PREFIX; ?>_limit"
|
858 |
-
name="<?php echo WD_FB_PREFIX; ?>_limit" value="<?php echo $row->limit; ?>"
|
859 |
-
size="19"/></td>
|
860 |
-
</tr>
|
861 |
-
<tr>
|
862 |
-
<td class="ffwd_set_l"><label>Published: </label></td>
|
863 |
-
<td>
|
864 |
-
<input type="radio" class="inputbox" id="published0"
|
865 |
-
name="published" <?php echo(($row->published) ? '' : 'checked="checked"'); ?>
|
866 |
-
value="0">
|
867 |
-
<label for="published0">No</label>
|
868 |
-
<input type="radio" class="inputbox" id="published1"
|
869 |
-
name="published" <?php echo(($row->published) ? 'checked="checked"' : ''); ?>
|
870 |
-
value="1">
|
871 |
-
<label for="published1">Yes</label>
|
872 |
-
</td>
|
873 |
-
</tr>
|
874 |
-
<tr>
|
875 |
-
<td class="ffwd_set_l"><label>Update: </label></td>
|
876 |
-
<td>
|
877 |
-
<input type="radio" class="inputbox" id="remove_old"
|
878 |
-
name="update_mode" <?php echo(($row->update_mode == 'remove_old') ? 'checked="checked"' : ''); ?>
|
879 |
-
value="remove_old">
|
880 |
-
<label for="remove_old">Add new ones remove old</label><br>
|
881 |
-
<input type="radio" class="inputbox" id="keep_old"
|
882 |
-
name="update_mode" <?php echo(($row->update_mode == 'keep_old') ? 'checked="checked"' : ''); ?>
|
883 |
-
value="keep_old">
|
884 |
-
<label for="keep_old">Add new ones keep old</label><br>
|
885 |
-
<input type="radio" class="inputbox" id="no_update"
|
886 |
-
name="update_mode" <?php echo(($row->update_mode == 'no_update') ? 'checked="checked"' : ''); ?>
|
887 |
-
value="no_update">
|
888 |
-
<label for="no_update">No update</label>
|
889 |
-
</td>
|
890 |
-
</tr>
|
891 |
-
</tbody>
|
892 |
-
</table>
|
893 |
-
</div>
|
894 |
-
<div class="ffwd_views_c" <?php if ($row->type == '') echo 'style="display:none"' ?>>
|
895 |
-
|
896 |
-
<div class="ffwd_view ffwd_view_en ffwd_view_t ffwd_thumbnails"
|
897 |
-
onClick="ffwd_view_type('<?php echo WD_FB_PREFIX; ?>', 'thumbnails', this)">
|
898 |
-
<div><input type="radio" name="ffwd_view_select"/> Thumbnails View</div>
|
899 |
-
</div>
|
900 |
-
<div class="ffwd_view ffwd_view_m ffwd_thumbnails_masonry"
|
901 |
-
onClick="ffwd_view_type('<?php echo WD_FB_PREFIX; ?>', 'thumbnails_masonry', this)">
|
902 |
-
<div><input type="radio" name="ffwd_view_select"/> Masonry View</div>
|
903 |
-
</div>
|
904 |
-
<div class="ffwd_view ffwd_view_bh ffwd_blog_style"
|
905 |
-
onClick="ffwd_view_type('<?php echo WD_FB_PREFIX; ?>', 'blog_style', this)">
|
906 |
-
<div><input type="radio" name="ffwd_view_select"/>BlogStyle View</div>
|
907 |
-
</div>
|
908 |
-
<div class="ffwd_view ffwd_view_a ffwd_album_compact"
|
909 |
-
onClick="ffwd_view_type('<?php echo WD_FB_PREFIX; ?>', 'album_compact', this)">
|
910 |
-
<div><input type="radio" name="ffwd_view_select"/>Album View</div>
|
911 |
-
</div>
|
912 |
-
<input type="hidden" id="ffwd_fb_view_type" name="ffwd_fb_view_type"
|
913 |
-
value="<?php echo $row->fb_view_type ?>"/>
|
914 |
-
</div>
|
915 |
-
<div class="ffwd_views_set">
|
916 |
-
<div class="ffwd_header_c">
|
917 |
-
<label class="ffwd_header_l">View settings</label>
|
918 |
-
</div>
|
919 |
-
<div class="ffwd_view_t_s">
|
920 |
-
|
921 |
-
<table class="ffwd_sett_tabl">
|
922 |
-
<tbody>
|
923 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_theme">
|
924 |
-
<td class="ffwd_set_l"><label
|
925 |
-
for="<?php echo WD_FB_PREFIX; ?>_theme">Theme: </label></td>
|
926 |
-
<td class="ffwd_set_i">
|
927 |
-
<select disabled name="<?php echo WD_FB_PREFIX; ?>_theme"
|
928 |
-
id="<?php echo WD_FB_PREFIX; ?>_theme" style="width:150px;">
|
929 |
-
<option value="0" selected="selected">Select Theme</option>
|
930 |
-
<?php
|
931 |
-
foreach ($theme_rows as $theme_row) {
|
932 |
-
?>
|
933 |
-
<option <?php echo ($theme_row->default_theme) ? 'selected="selected"' : ''; ?>
|
934 |
-
value="<?php echo $theme_row->id; ?>"><?php echo $theme_row->name; ?></option>
|
935 |
-
<?php
|
936 |
-
}
|
937 |
-
?>
|
938 |
-
</select>
|
939 |
-
<br>
|
940 |
-
<label class="ffwd_pro_only">Changing Theme is Available Only in PRO version</label>
|
941 |
-
</td>
|
942 |
-
</tr>
|
943 |
-
<!--Thumbnails, Masonry viewies-->
|
944 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_masonry_hor_ver">
|
945 |
-
<td class="ffwd_set_l"><label>Masonry: </label></td>
|
946 |
-
<td class="ffwd_set_i">
|
947 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_masonry_hor_ver"
|
948 |
-
id="<?php echo WD_FB_PREFIX; ?>_masonry_ver" value="vertical"
|
949 |
-
onclick="ffwd_change_label('<?php echo WD_FB_PREFIX; ?>_image_max_columns_label', 'Max. number of image columns: ');
|
950 |
-
ffwd_change_label('<?php echo WD_FB_PREFIX; ?>_thumb_width_height_label', 'Image thumbnail width: ');
|
951 |
-
jQuery('#<?php echo WD_FB_PREFIX; ?>_thumb_width').show();
|
952 |
-
jQuery('#<?php echo WD_FB_PREFIX; ?>_thumb_height').hide();
|
953 |
-
jQuery('#<?php echo WD_FB_PREFIX; ?>_tr_thumb_name').css('display', 'table-row');
|
954 |
-
jQuery('#<?php echo WD_FB_PREFIX; ?>_pagination_type').children()[2].disabled = false;
|
955 |
-
jQuery('#<?php echo WD_FB_PREFIX; ?>_pagination_type').children()[3].disabled = false;
|
956 |
-
jQuery('#<?php echo WD_FB_PREFIX; ?>_thumb_width_height_separator').hide();"
|
957 |
-
checked <?php checked($row->masonry_hor_ver, 'vertical') ?> /><label
|
958 |
-
for="<?php echo WD_FB_PREFIX; ?>_masonry_ver">Vertical</label>
|
959 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_masonry_hor_ver"
|
960 |
-
id="<?php echo WD_FB_PREFIX; ?>_masonry_hor" value="horizontal"
|
961 |
-
onclick="ffwd_change_label('<?php echo WD_FB_PREFIX; ?>_image_max_columns_label', 'Number of image rows: ');
|
962 |
-
ffwd_change_label('<?php echo WD_FB_PREFIX; ?>_thumb_width_height_label', 'Image thumbnail Height: ');
|
963 |
-
jQuery('#<?php echo WD_FB_PREFIX; ?>_thumb_width').hide();
|
964 |
-
jQuery('#<?php echo WD_FB_PREFIX; ?>_thumb_height').show();
|
965 |
-
jQuery('#<?php echo WD_FB_PREFIX; ?>_tr_thumb_name').css('display', 'none');
|
966 |
-
jQuery('#<?php echo WD_FB_PREFIX; ?>_pagination_type').children()[1].selected = true;
|
967 |
-
jQuery('#<?php echo WD_FB_PREFIX; ?>_pagination_type').children()[2].disabled = true;
|
968 |
-
jQuery('#<?php echo WD_FB_PREFIX; ?>_pagination_type').children()[3].disabled = true;
|
969 |
-
jQuery('#<?php echo WD_FB_PREFIX; ?>_thumb_width_height_separator').hide();" <?php checked($row->masonry_hor_ver, 'horizontal') ?> /><label
|
970 |
-
for="<?php echo WD_FB_PREFIX; ?>_masonry_hor">Horizontal</label>
|
971 |
-
</td>
|
972 |
-
</tr>
|
973 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_image_max_columns">
|
974 |
-
<td class="ffwd_set_l"><label
|
975 |
-
id="<?php echo WD_FB_PREFIX; ?>_image_max_columns_label"
|
976 |
-
for="<?php echo WD_FB_PREFIX; ?>_image_max_columns">Max. number of image
|
977 |
-
columns: </label></td>
|
978 |
-
<td><input type="text" name="<?php echo WD_FB_PREFIX; ?>_image_max_columns"
|
979 |
-
id="<?php echo WD_FB_PREFIX; ?>_image_max_columns"
|
980 |
-
value="<?php echo $row->image_max_columns == 0 ? '5' : $row->image_max_columns ?>"
|
981 |
-
class="spider_int_input"/></td>
|
982 |
-
</tr>
|
983 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_thumb_width_height">
|
984 |
-
<td title="Maximum values for thumbnail dimension." class="ffwd_set_l"><label
|
985 |
-
id="<?php echo WD_FB_PREFIX; ?>_thumb_width_height_label"
|
986 |
-
for="<?php echo WD_FB_PREFIX; ?>_thumb_width">Image Thumbnail
|
987 |
-
dimensions: </label></td>
|
988 |
-
<td class="ffwd_set_i">
|
989 |
-
<input type="text" name="<?php echo WD_FB_PREFIX; ?>_thumb_width"
|
990 |
-
id="<?php echo WD_FB_PREFIX; ?>_thumb_width"
|
991 |
-
value="<?php echo $row->thumb_width == 0 ? '200' : $row->thumb_width ?>"
|
992 |
-
class="spider_int_input"/><span
|
993 |
-
id="<?php echo WD_FB_PREFIX; ?>_thumb_width_height_separator"> x </span>
|
994 |
-
<input type="text" name="<?php echo WD_FB_PREFIX; ?>_thumb_height"
|
995 |
-
id="<?php echo WD_FB_PREFIX; ?>_thumb_height"
|
996 |
-
value="<?php echo $row->thumb_height == 0 ? '150' : $row->thumb_height ?>"
|
997 |
-
class="spider_int_input"/> px
|
998 |
-
</td>
|
999 |
-
</tr>
|
1000 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_thumb_comments">
|
1001 |
-
<td title="Show comments" class="ffwd_set_l"><label>Show comments: </label></td>
|
1002 |
-
<td class="ffwd_set_i">
|
1003 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_thumb_comments"
|
1004 |
-
id="<?php echo WD_FB_PREFIX; ?>_thumb_comments_1" value="1"
|
1005 |
-
checked="checked" <?php checked($row->thumb_comments, 1) ?> /><label
|
1006 |
-
for="<?php echo WD_FB_PREFIX; ?>_thumb_comments_yes">Yes</label>
|
1007 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_thumb_comments"
|
1008 |
-
id="<?php echo WD_FB_PREFIX; ?>_thumb_comments_0"
|
1009 |
-
value="0" <?php checked($row->thumb_comments, 0) ?> /><label
|
1010 |
-
for="<?php echo WD_FB_PREFIX; ?>_thumb_comments_no">No</label>
|
1011 |
-
</td>
|
1012 |
-
</tr>
|
1013 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_thumb_likes">
|
1014 |
-
<td title="Show likes" class="ffwd_set_l"><label>Show likes: </label></td>
|
1015 |
-
<td class="ffwd_set_i">
|
1016 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_thumb_likes"
|
1017 |
-
id="<?php echo WD_FB_PREFIX; ?>_thumb_likes_1" value="1"
|
1018 |
-
checked="checked" <?php checked($row->thumb_likes, 1) ?> /><label
|
1019 |
-
for="<?php echo WD_FB_PREFIX; ?>_thumb_likes_yes">Yes</label>
|
1020 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_thumb_likes"
|
1021 |
-
id="<?php echo WD_FB_PREFIX; ?>_thumb_likes_0"
|
1022 |
-
value="0" <?php checked($row->thumb_likes, 0) ?> /><label
|
1023 |
-
for="<?php echo WD_FB_PREFIX; ?>_thumb_likes_no">No</label>
|
1024 |
-
</td>
|
1025 |
-
</tr>
|
1026 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_thumb_name">
|
1027 |
-
<td title="Show likes" class="ffwd_set_l"><label>Show name: </label></td>
|
1028 |
-
<td class="ffwd_set_i">
|
1029 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_thumb_name"
|
1030 |
-
id="<?php echo WD_FB_PREFIX; ?>_thumb_name_1" value="1"
|
1031 |
-
checked="checked" <?php checked($row->thumb_name, 1) ?> /><label
|
1032 |
-
for="<?php echo WD_FB_PREFIX; ?>_thumb_name_1">Yes</label>
|
1033 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_thumb_name"
|
1034 |
-
id="<?php echo WD_FB_PREFIX; ?>_thumb_name_0"
|
1035 |
-
value="0" <?php checked($row->thumb_name, 0) ?> /><label
|
1036 |
-
for="<?php echo WD_FB_PREFIX; ?>_thumb_name_0">No</label>
|
1037 |
-
</td>
|
1038 |
-
</tr>
|
1039 |
-
<!--Blog Style view-->
|
1040 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_width">
|
1041 |
-
<td title="Maximum value for image width." class="ffwd_set_l"><label
|
1042 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_width">Width: </label></td>
|
1043 |
-
<td class="ffwd_set_i">
|
1044 |
-
<input type="text" name="<?php echo WD_FB_PREFIX; ?>_blog_style_width"
|
1045 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_width"
|
1046 |
-
value="<?php echo $row->blog_style_width == 0 ? '700' : $row->blog_style_width ?>"
|
1047 |
-
class="spider_int_input"/>
|
1048 |
-
</td>
|
1049 |
-
</tr>
|
1050 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_height">
|
1051 |
-
<td title="Maximum value for image height." class="ffwd_set_l"><label
|
1052 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_height">Height: </label></td>
|
1053 |
-
<td class="ffwd_set_i">
|
1054 |
-
<input type="text" name="<?php echo WD_FB_PREFIX; ?>_blog_style_height"
|
1055 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_height"
|
1056 |
-
value="<?php echo $row->blog_style_height == 0 ? '' : $row->blog_style_height ?>"
|
1057 |
-
class="spider_int_input"/>
|
1058 |
-
</td>
|
1059 |
-
</tr>
|
1060 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_view_type">
|
1061 |
-
<td title="Maximum value for image width." class="ffwd_set_l"><label
|
1062 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_view_type_1">View
|
1063 |
-
style: </label></td>
|
1064 |
-
<td class="ffwd_set_i">
|
1065 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_view_type"
|
1066 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_view_type_1" value="1"
|
1067 |
-
checked="checked" <?php checked($row->blog_style_view_type, 1) ?>
|
1068 |
-
onchange=""/><label
|
1069 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_view_type_1">Full width</label>
|
1070 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_view_type"
|
1071 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_view_type_0"
|
1072 |
-
value="0" <?php checked($row->blog_style_view_type, 0) ?>
|
1073 |
-
onchange=""/><label
|
1074 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_view_type_0">Half width</label>
|
1075 |
-
</td>
|
1076 |
-
</tr>
|
1077 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_comments">
|
1078 |
-
<td title="Show comments" class="ffwd_set_l"><label>Show comments: </label></td>
|
1079 |
-
<td class="ffwd_set_i">
|
1080 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_comments"
|
1081 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_comments_1" value="1"
|
1082 |
-
checked="checked" <?php checked($row->blog_style_comments, 1) ?> /><label
|
1083 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_comments_yes">Yes</label>
|
1084 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_comments"
|
1085 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_comments_0"
|
1086 |
-
value="0" <?php checked($row->blog_style_comments, 0) ?> /><label
|
1087 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_comments_no">No</label>
|
1088 |
-
</td>
|
1089 |
-
</tr>
|
1090 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_likes">
|
1091 |
-
<td title="Show likes" class="ffwd_set_l"><label>Show likes: </label></td>
|
1092 |
-
<td class="ffwd_set_i">
|
1093 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_likes"
|
1094 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_likes_1"
|
1095 |
-
value="1" <?php checked($row->blog_style_likes, 1) ?> checked="checked"/><label
|
1096 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_likes_yes">Yes</label>
|
1097 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_likes"
|
1098 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_likes_0"
|
1099 |
-
value="0" <?php checked($row->blog_style_likes, 0) ?> /><label
|
1100 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_likes_no">No</label>
|
1101 |
-
</td>
|
1102 |
-
</tr>
|
1103 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_message_desc">
|
1104 |
-
<td title="Show likes" class="ffwd_set_l"><label>Show message(description): </label>
|
1105 |
-
</td>
|
1106 |
-
<td class="ffwd_set_i">
|
1107 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_message_desc"
|
1108 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_message_desc_1" value="1"
|
1109 |
-
checked="checked"/><label
|
1110 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_message_desc_1">Yes</label>
|
1111 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_message_desc"
|
1112 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_message_desc_0"
|
1113 |
-
value="0" <?php checked($row->blog_style_message_desc, 0) ?> /><label
|
1114 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_message_desc_0">No</label>
|
1115 |
-
</td>
|
1116 |
-
</tr>
|
1117 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_shares">
|
1118 |
-
<td title="Show share" class="ffwd_set_l"><label>Show share: </label></td>
|
1119 |
-
<td class="ffwd_set_i">
|
1120 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_shares"
|
1121 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_1" value="1"
|
1122 |
-
checked="checked"/><label
|
1123 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_1">Yes</label>
|
1124 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_shares"
|
1125 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_0"
|
1126 |
-
value="0" <?php checked($row->blog_style_shares, 0) ?> /><label
|
1127 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_0">No</label>
|
1128 |
-
</td>
|
1129 |
-
</tr>
|
1130 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_shares_butt">
|
1131 |
-
<td title="Show share buttons" class="ffwd_set_l"><label>Show share
|
1132 |
-
buttons: </label></td>
|
1133 |
-
<td class="ffwd_set_i">
|
1134 |
-
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_butt"
|
1135 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_butt_1" value="1"
|
1136 |
-
/><label
|
1137 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_butt_1">Yes</label>
|
1138 |
-
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_butt"
|
1139 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_butt_0"
|
1140 |
-
value="0" checked="checked" /><label
|
1141 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_butt_0">No</label>
|
1142 |
-
<br>
|
1143 |
-
<label for="" class="ffwd_pro_only">This Feature is Available Only in PRO
|
1144 |
-
version</label>
|
1145 |
-
</td>
|
1146 |
-
</tr>
|
1147 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_facebook">
|
1148 |
-
<td title="Show Facebook share button" class="ffwd_set_l"><label>Show Facebook
|
1149 |
-
button: </label></td>
|
1150 |
-
<td class="ffwd_set_i">
|
1151 |
-
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_facebook"
|
1152 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_facebook_1" value="1"
|
1153 |
-
/><label
|
1154 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_facebook_1">Yes</label>
|
1155 |
-
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_facebook"
|
1156 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_facebook_0"
|
1157 |
-
value="0" checked="checked" /><label
|
1158 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_facebook_0">No</label>
|
1159 |
-
<br>
|
1160 |
-
<label for="" class="ffwd_pro_only">This Feature is Available Only in PRO
|
1161 |
-
version</label>
|
1162 |
-
</td>
|
1163 |
-
</tr>
|
1164 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_twitter">
|
1165 |
-
<td title="Show Twitter share button" class="ffwd_set_l"><label>Show Twitter
|
1166 |
-
button: </label></td>
|
1167 |
-
<td class="ffwd_set_i">
|
1168 |
-
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_twitter"
|
1169 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_twitter_1" value="1"
|
1170 |
-
/><label
|
1171 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_twitter_1">Yes</label>
|
1172 |
-
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_twitter"
|
1173 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_twitter_0"
|
1174 |
-
value="0" checked="checked" /><label
|
1175 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_twitter_0">No</label>
|
1176 |
-
<br>
|
1177 |
-
<label for="" class="ffwd_pro_only">This Feature is Available Only in PRO
|
1178 |
-
version</label>
|
1179 |
-
</td>
|
1180 |
-
</tr>
|
1181 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_google">
|
1182 |
-
<td title="Show Google+ share button" class="ffwd_set_l"><label>Show Google+
|
1183 |
-
button: </label></td>
|
1184 |
-
<td class="ffwd_set_i">
|
1185 |
-
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_google"
|
1186 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_google_1" value="1"
|
1187 |
-
/><label
|
1188 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_google_1">Yes</label>
|
1189 |
-
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_google"
|
1190 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_google_0"
|
1191 |
-
value="0" checked="checked" /><label
|
1192 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_google_0">No</label>
|
1193 |
-
<br>
|
1194 |
-
<label for="" class="ffwd_pro_only">This Feature is Available Only in PRO
|
1195 |
-
version</label>
|
1196 |
-
</td>
|
1197 |
-
</tr>
|
1198 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_author">
|
1199 |
-
<td title="Show author" class="ffwd_set_l"><label>Show author: </label></td>
|
1200 |
-
<td class="ffwd_set_i">
|
1201 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_author"
|
1202 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_author_1" value="1"
|
1203 |
-
checked="checked"/><label
|
1204 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_author_1">Yes</label>
|
1205 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_author"
|
1206 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_author_0"
|
1207 |
-
value="0" <?php checked($row->blog_style_author, 0) ?> /><label
|
1208 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_author_0">No</label>
|
1209 |
-
</td>
|
1210 |
-
</tr>
|
1211 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_name">
|
1212 |
-
<td title="Show post name" class="ffwd_set_l"><label>Show post name: </label></td>
|
1213 |
-
<td class="ffwd_set_i">
|
1214 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_name"
|
1215 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_name_1" value="1"
|
1216 |
-
checked="checked"/><label
|
1217 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_name_1">Yes</label>
|
1218 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_name"
|
1219 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_name_0"
|
1220 |
-
value="0" <?php checked($row->blog_style_name, 0) ?> /><label
|
1221 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_name_0">No</label>
|
1222 |
-
</td>
|
1223 |
-
</tr>
|
1224 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_place_name">
|
1225 |
-
<td title="Show place name" class="ffwd_set_l"><label>Show place name: </label></td>
|
1226 |
-
<td class="ffwd_set_i">
|
1227 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_place_name"
|
1228 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_place_name_1" value="1"
|
1229 |
-
checked="checked"/><label
|
1230 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_place_name_1">Yes</label>
|
1231 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_place_name"
|
1232 |
-
id="<?php echo WD_FB_PREFIX; ?>_blog_style_place_name_0"
|
1233 |
-
value="0" <?php checked($row->blog_style_place_name, 0) ?> /><label
|
1234 |
-
for="<?php echo WD_FB_PREFIX; ?>_blog_style_place_name_0">No</label>
|
1235 |
-
</td>
|
1236 |
-
</tr>
|
1237 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_fb_name">
|
1238 |
-
<td title="Show fb name" class="ffwd_set_l"><label>Show feed name: </label></td>
|
1239 |
-
<td class="ffwd_set_i">
|
1240 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_fb_name"
|
1241 |
-
id="<?php echo WD_FB_PREFIX; ?>_fb_name_1" value="1"
|
1242 |
-
checked="checked"/><label
|
1243 |
-
for="<?php echo WD_FB_PREFIX; ?>_fb_name_1">Yes</label>
|
1244 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_fb_name"
|
1245 |
-
id="<?php echo WD_FB_PREFIX; ?>_fb_name_0"
|
1246 |
-
value="0" <?php checked($row->fb_name, 0) ?> /><label
|
1247 |
-
for="<?php echo WD_FB_PREFIX; ?>_fb_name_0">No</label>
|
1248 |
-
</td>
|
1249 |
-
</tr>
|
1250 |
-
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_fb_plugin">
|
1251 |
-
<td title="
|
1252 |
-
</td>
|
1253 |
-
<td class="ffwd_set_i">
|
1254 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_fb_plugin"
|
1255 |
-
id="<?php echo WD_FB_PREFIX; ?>_fb_plugin_1" value="1" checked="checked"
|
1256 |
-
onchange="ffwd_toggle_page_plugin(1)"/><label
|
1257 |
-
for="<?php echo WD_FB_PREFIX; ?>_fb_plugin_1">Yes</label>
|
1258 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_fb_plugin"
|
1259 |
-
id="<?php echo WD_FB_PREFIX; ?>_fb_plugin_0"
|
1260 |
-
value="0" <?php checked($row->fb_plugin, 0) ?>
|
1261 |
-
onchange="ffwd_toggle_page_plugin(0)"/><label
|
1262 |
-
for="<?php echo WD_FB_PREFIX; ?>_fb_plugin_0">No</label>
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
-
|
1267 |
-
|
1268 |
-
|
1269 |
-
|
1270 |
-
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
-
|
1277 |
-
|
1278 |
-
|
1279 |
-
<td class="
|
1280 |
-
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
1284 |
-
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
-
|
1299 |
-
|
1300 |
-
|
1301 |
-
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
-
|
1315 |
-
|
1316 |
-
|
1317 |
-
|
1318 |
-
|
1319 |
-
|
1320 |
-
|
1321 |
-
|
1322 |
-
|
1323 |
-
|
1324 |
-
<td class="
|
1325 |
-
|
1326 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_title" id="<?php echo WD_FB_PREFIX; ?>
|
1327 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_title" id="<?php echo WD_FB_PREFIX; ?>
|
1328 |
-
|
1329 |
-
|
1330 |
-
|
1331 |
-
|
1332 |
-
|
1333 |
-
|
1334 |
-
|
1335 |
-
|
1336 |
-
|
1337 |
-
|
1338 |
-
|
1339 |
-
|
1340 |
-
|
1341 |
-
|
1342 |
-
|
1343 |
-
|
1344 |
-
|
1345 |
-
|
1346 |
-
|
1347 |
-
|
1348 |
-
|
1349 |
-
|
1350 |
-
|
1351 |
-
|
1352 |
-
|
1353 |
-
|
1354 |
-
|
1355 |
-
|
1356 |
-
|
1357 |
-
|
1358 |
-
|
1359 |
-
<option value="
|
1360 |
-
|
1361 |
-
|
1362 |
-
|
1363 |
-
|
1364 |
-
|
1365 |
-
|
1366 |
-
|
1367 |
-
|
1368 |
-
|
1369 |
-
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
|
1375 |
-
|
1376 |
-
|
1377 |
-
|
1378 |
-
|
1379 |
-
|
1380 |
-
|
1381 |
-
|
1382 |
-
<td class="
|
1383 |
-
|
1384 |
-
|
1385 |
-
|
1386 |
-
|
1387 |
-
|
1388 |
-
|
1389 |
-
|
1390 |
-
|
1391 |
-
|
1392 |
-
|
1393 |
-
|
1394 |
-
|
1395 |
-
|
1396 |
-
|
1397 |
-
|
1398 |
-
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
</
|
1404 |
-
|
1405 |
-
|
1406 |
-
|
1407 |
-
|
1408 |
-
|
1409 |
-
|
1410 |
-
|
1411 |
-
|
1412 |
-
|
1413 |
-
|
1414 |
-
|
1415 |
-
|
1416 |
-
|
1417 |
-
|
1418 |
-
|
1419 |
-
|
1420 |
-
|
1421 |
-
|
1422 |
-
|
1423 |
-
|
1424 |
-
|
1425 |
-
|
1426 |
-
|
1427 |
-
|
1428 |
-
|
1429 |
-
|
1430 |
-
|
1431 |
-
|
1432 |
-
|
1433 |
-
|
1434 |
-
|
1435 |
-
|
1436 |
-
|
1437 |
-
|
1438 |
-
|
1439 |
-
|
1440 |
-
|
1441 |
-
|
1442 |
-
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
1446 |
-
|
1447 |
-
|
1448 |
-
|
1449 |
-
|
1450 |
-
|
1451 |
-
|
1452 |
-
|
1453 |
-
|
1454 |
-
|
1455 |
-
|
1456 |
-
|
1457 |
-
|
1458 |
-
|
1459 |
-
|
1460 |
-
|
1461 |
-
|
1462 |
-
|
1463 |
-
<
|
1464 |
-
|
1465 |
-
|
1466 |
-
|
1467 |
-
|
1468 |
-
|
1469 |
-
|
1470 |
-
|
1471 |
-
|
1472 |
-
|
1473 |
-
|
1474 |
-
|
1475 |
-
|
1476 |
-
checked($row->popup_fullscreen,
|
1477 |
-
|
1478 |
-
|
1479 |
-
|
1480 |
-
|
1481 |
-
|
1482 |
-
|
1483 |
-
|
1484 |
-
|
1485 |
-
|
1486 |
-
|
1487 |
-
|
1488 |
-
|
1489 |
-
|
1490 |
-
|
1491 |
-
|
1492 |
-
|
1493 |
-
|
1494 |
-
|
1495 |
-
|
1496 |
-
|
1497 |
-
|
1498 |
-
|
1499 |
-
|
1500 |
-
|
1501 |
-
|
1502 |
-
|
1503 |
-
|
1504 |
-
|
1505 |
-
|
1506 |
-
|
1507 |
-
|
1508 |
-
|
1509 |
-
|
1510 |
-
|
1511 |
-
|
1512 |
-
|
1513 |
-
|
1514 |
-
|
1515 |
-
|
1516 |
-
|
1517 |
-
|
1518 |
-
|
1519 |
-
|
1520 |
-
|
1521 |
-
|
1522 |
-
|
1523 |
-
|
1524 |
-
|
1525 |
-
|
1526 |
-
|
1527 |
-
|
1528 |
-
|
1529 |
-
|
1530 |
-
|
1531 |
-
|
1532 |
-
|
1533 |
-
|
1534 |
-
|
1535 |
-
|
1536 |
-
|
1537 |
-
|
1538 |
-
|
1539 |
-
|
1540 |
-
|
1541 |
-
|
1542 |
-
|
1543 |
-
|
1544 |
-
|
1545 |
-
|
1546 |
-
|
1547 |
-
|
1548 |
-
|
1549 |
-
|
1550 |
-
|
1551 |
-
|
1552 |
-
|
1553 |
-
|
1554 |
-
|
1555 |
-
|
1556 |
-
|
1557 |
-
|
1558 |
-
|
1559 |
-
|
1560 |
-
|
1561 |
-
|
1562 |
-
|
1563 |
-
|
1564 |
-
|
1565 |
-
|
1566 |
-
|
1567 |
-
|
1568 |
-
|
1569 |
-
|
1570 |
-
|
1571 |
-
|
1572 |
-
|
1573 |
-
|
1574 |
-
|
1575 |
-
|
1576 |
-
|
1577 |
-
|
1578 |
-
|
1579 |
-
<
|
1580 |
-
|
1581 |
-
|
1582 |
-
|
1583 |
-
|
1584 |
-
|
1585 |
-
|
1586 |
-
|
1587 |
-
|
1588 |
-
|
1589 |
-
|
1590 |
-
|
1591 |
-
|
1592 |
-
|
1593 |
-
|
1594 |
-
|
1595 |
-
<td class="
|
1596 |
-
|
1597 |
-
|
1598 |
-
|
1599 |
-
|
1600 |
-
|
1601 |
-
|
1602 |
-
|
1603 |
-
|
1604 |
-
|
1605 |
-
|
1606 |
-
|
1607 |
-
|
1608 |
-
<td class="
|
1609 |
-
|
1610 |
-
|
1611 |
-
|
1612 |
-
|
1613 |
-
|
1614 |
-
|
1615 |
-
|
1616 |
-
|
1617 |
-
|
1618 |
-
|
1619 |
-
|
1620 |
-
|
1621 |
-
<td class="
|
1622 |
-
|
1623 |
-
|
1624 |
-
|
1625 |
-
|
1626 |
-
|
1627 |
-
|
1628 |
-
|
1629 |
-
|
1630 |
-
|
1631 |
-
|
1632 |
-
|
1633 |
-
|
1634 |
-
<td class="
|
1635 |
-
|
1636 |
-
|
1637 |
-
|
1638 |
-
|
1639 |
-
|
1640 |
-
|
1641 |
-
|
1642 |
-
|
1643 |
-
|
1644 |
-
|
1645 |
-
|
1646 |
-
|
1647 |
-
<td class="
|
1648 |
-
|
1649 |
-
|
1650 |
-
|
1651 |
-
|
1652 |
-
|
1653 |
-
|
1654 |
-
|
1655 |
-
|
1656 |
-
|
1657 |
-
|
1658 |
-
|
1659 |
-
<td class="
|
1660 |
-
|
1661 |
-
|
1662 |
-
|
1663 |
-
|
1664 |
-
|
1665 |
-
|
1666 |
-
|
1667 |
-
|
1668 |
-
|
1669 |
-
|
1670 |
-
|
1671 |
-
|
1672 |
-
|
1673 |
-
|
1674 |
-
|
1675 |
-
|
1676 |
-
|
1677 |
-
|
1678 |
-
|
1679 |
-
|
1680 |
-
|
1681 |
-
|
1682 |
-
|
1683 |
-
|
1684 |
-
|
1685 |
-
|
1686 |
-
</
|
1687 |
-
|
1688 |
-
<
|
1689 |
-
|
1690 |
-
|
1691 |
-
|
1692 |
-
|
1693 |
-
|
1694 |
-
|
1695 |
-
|
1696 |
-
|
1697 |
-
|
1698 |
-
|
1699 |
-
|
1700 |
-
|
1701 |
-
|
1702 |
-
|
1703 |
-
|
1704 |
-
|
1705 |
-
|
1706 |
-
|
1707 |
-
|
1708 |
-
|
1709 |
-
|
1710 |
-
|
1711 |
-
|
1712 |
-
|
1713 |
-
|
1714 |
-
|
1715 |
-
<
|
1716 |
-
|
1717 |
-
|
1718 |
-
|
1719 |
-
|
1720 |
-
|
1721 |
-
|
1722 |
-
|
1723 |
-
|
1724 |
-
|
1725 |
-
|
1726 |
-
|
1727 |
-
|
1728 |
-
|
1729 |
-
|
1730 |
-
|
1731 |
-
|
1732 |
-
|
1733 |
-
|
1734 |
-
|
1735 |
-
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
|
1741 |
-
|
1742 |
-
|
1743 |
-
|
1744 |
-
|
1745 |
-
|
1746 |
-
|
1747 |
-
|
1748 |
-
|
1749 |
-
|
1750 |
-
|
1751 |
-
|
1752 |
-
|
1753 |
-
|
1754 |
-
|
1755 |
-
|
1756 |
-
|
1757 |
-
|
1758 |
-
|
1759 |
-
|
1760 |
-
|
1761 |
-
|
1762 |
-
|
1763 |
-
<
|
1764 |
-
|
1765 |
-
|
1766 |
-
|
1767 |
-
|
1768 |
-
|
1769 |
-
|
1770 |
-
|
1771 |
-
|
1772 |
-
|
1773 |
-
|
1774 |
-
|
1775 |
-
|
1776 |
-
|
1777 |
-
|
1778 |
-
|
1779 |
-
|
1780 |
-
<
|
1781 |
-
|
1782 |
-
|
1783 |
-
|
1784 |
-
|
1785 |
-
|
1786 |
-
<td class="
|
1787 |
-
|
1788 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_enable_pinterest" id="<?php echo WD_FB_PREFIX; ?>
|
1789 |
-
|
1790 |
-
|
1791 |
-
|
1792 |
-
|
1793 |
-
<td class="
|
1794 |
-
|
1795 |
-
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_enable_tumblr" id="<?php echo WD_FB_PREFIX; ?>
|
1796 |
-
|
1797 |
-
|
1798 |
-
|
1799 |
-
|
1800 |
-
|
1801 |
-
|
1802 |
-
|
1803 |
-
|
1804 |
-
|
1805 |
-
|
1806 |
-
|
1807 |
-
|
1808 |
-
|
1809 |
-
|
1810 |
-
|
1811 |
-
|
1812 |
-
|
1813 |
-
|
1814 |
-
|
1815 |
-
|
1816 |
-
|
1817 |
-
|
1818 |
-
|
1819 |
-
|
1820 |
-
|
1821 |
-
|
1822 |
-
|
1823 |
-
|
1824 |
-
|
1825 |
-
|
1826 |
-
|
1827 |
-
|
1828 |
-
|
1829 |
-
|
1830 |
-
|
1831 |
-
|
1832 |
-
|
1833 |
-
|
1834 |
-
|
1835 |
-
|
1836 |
-
|
1837 |
-
|
1838 |
-
|
1839 |
-
|
1840 |
-
|
1841 |
-
|
1842 |
-
|
1843 |
-
|
1844 |
-
|
1845 |
-
|
1846 |
-
|
1847 |
-
|
1848 |
-
|
1849 |
-
|
1850 |
-
|
1851 |
-
|
1852 |
-
|
1853 |
-
|
1854 |
-
|
1855 |
-
|
1856 |
-
|
1857 |
-
|
1858 |
-
|
1859 |
-
|
1860 |
-
|
1861 |
-
|
1862 |
-
|
1863 |
-
|
1864 |
-
|
1865 |
-
|
1866 |
-
|
1867 |
-
|
1868 |
-
|
1869 |
-
|
1870 |
-
|
1871 |
-
|
1872 |
-
|
1873 |
-
|
1874 |
-
|
1875 |
-
|
1876 |
-
|
1877 |
-
|
1878 |
-
|
1879 |
-
|
1880 |
-
|
1881 |
-
|
1882 |
-
|
1883 |
-
|
1884 |
-
|
1885 |
-
|
1886 |
-
|
1887 |
-
|
1888 |
-
|
1889 |
-
|
1890 |
-
|
1891 |
-
|
1892 |
-
|
1893 |
-
|
1894 |
-
|
1895 |
-
|
1896 |
-
|
1897 |
-
|
1898 |
-
|
1899 |
-
|
1900 |
-
|
1901 |
-
|
1902 |
-
|
1903 |
-
|
1904 |
-
|
1905 |
-
|
1906 |
-
|
1907 |
-
|
1908 |
-
|
1909 |
-
|
1910 |
-
|
1911 |
-
|
1912 |
-
|
1913 |
-
|
1914 |
-
|
1915 |
-
|
1916 |
-
|
1917 |
-
|
1918 |
-
|
1919 |
-
|
1920 |
-
|
1921 |
-
|
1922 |
-
|
1923 |
-
|
1924 |
-
|
1925 |
-
|
1926 |
-
|
1927 |
-
|
1928 |
-
|
1929 |
-
|
1930 |
-
|
1931 |
-
|
1932 |
-
|
1933 |
-
|
1934 |
-
|
1935 |
-
|
1936 |
-
|
1937 |
-
|
1938 |
-
|
1939 |
-
|
1940 |
-
|
1941 |
-
|
1942 |
-
|
1943 |
-
|
1944 |
-
|
1945 |
-
|
1946 |
-
|
1947 |
-
|
1948 |
-
|
1949 |
-
|
1950 |
-
|
1951 |
-
|
1952 |
-
|
1953 |
-
|
1954 |
-
|
1955 |
-
|
1956 |
-
|
1957 |
-
|
1958 |
-
|
1959 |
-
|
1960 |
-
|
1961 |
-
|
1962 |
-
|
1963 |
-
|
1964 |
-
|
1965 |
-
|
1966 |
-
|
1967 |
-
|
1968 |
-
|
1969 |
-
|
1970 |
-
|
1971 |
-
|
1972 |
-
|
1973 |
-
|
1974 |
-
|
1975 |
-
|
1976 |
-
|
1977 |
-
|
1978 |
-
|
1979 |
-
|
1980 |
-
|
1981 |
-
|
1982 |
-
|
1983 |
-
|
1984 |
-
|
1985 |
-
|
1986 |
-
|
1987 |
-
|
1988 |
-
|
1989 |
-
|
1990 |
-
|
1991 |
-
|
1992 |
-
|
1993 |
-
|
1994 |
-
|
1995 |
-
|
1996 |
-
|
1997 |
-
|
1998 |
-
|
1999 |
-
|
2000 |
-
|
2001 |
-
|
2002 |
-
|
2003 |
-
|
2004 |
-
|
2005 |
-
|
2006 |
-
|
2007 |
-
|
2008 |
-
|
2009 |
-
|
2010 |
-
|
2011 |
-
|
2012 |
-
|
2013 |
-
|
2014 |
-
|
2015 |
-
|
2016 |
-
|
2017 |
-
|
2018 |
-
|
2019 |
-
|
2020 |
-
|
2021 |
-
|
2022 |
-
|
2023 |
-
|
2024 |
-
|
2025 |
-
|
2026 |
-
|
2027 |
-
|
2028 |
-
|
2029 |
-
|
2030 |
-
|
2031 |
-
|
2032 |
-
|
2033 |
-
|
2034 |
-
|
2035 |
-
|
2036 |
-
|
2037 |
-
|
2038 |
-
|
2039 |
-
|
2040 |
-
|
2041 |
-
|
2042 |
-
|
2043 |
-
|
2044 |
-
|
2045 |
-
|
2046 |
-
|
2047 |
-
|
2048 |
-
|
2049 |
-
|
2050 |
-
|
2051 |
-
|
2052 |
-
|
2053 |
-
|
2054 |
-
|
2055 |
-
|
2056 |
-
|
2057 |
-
|
2058 |
-
|
2059 |
-
|
2060 |
-
|
2061 |
-
|
2062 |
-
|
2063 |
-
|
2064 |
-
|
2065 |
-
|
2066 |
-
|
2067 |
-
|
2068 |
-
|
2069 |
-
|
2070 |
-
|
2071 |
-
|
2072 |
-
|
2073 |
-
|
2074 |
-
|
2075 |
-
|
2076 |
-
|
2077 |
-
|
2078 |
-
|
2079 |
-
|
2080 |
-
|
2081 |
-
|
2082 |
-
|
2083 |
-
|
2084 |
-
|
2085 |
-
|
2086 |
-
|
2087 |
-
|
2088 |
-
|
2089 |
-
|
2090 |
-
|
2091 |
-
|
2092 |
-
<input id="
|
2093 |
-
<
|
2094 |
-
|
2095 |
-
|
2096 |
-
|
2097 |
-
|
2098 |
-
|
2099 |
-
|
2100 |
-
|
2101 |
-
|
2102 |
-
|
2103 |
-
|
2104 |
-
|
2105 |
-
jQuery(
|
2106 |
-
jQuery(
|
2107 |
-
jQuery('.
|
2108 |
-
|
2109 |
-
|
2110 |
-
|
2111 |
-
|
2112 |
-
|
2113 |
-
|
2114 |
-
|
2115 |
-
|
2116 |
-
|
2117 |
-
|
2118 |
-
|
2119 |
-
jQuery(
|
2120 |
-
jQuery(that).
|
2121 |
-
|
2122 |
-
|
2123 |
-
|
2124 |
-
|
2125 |
-
jQuery("#" + wd_fb_prefix + "
|
2126 |
-
jQuery("#" + wd_fb_prefix + "
|
2127 |
-
jQuery("#" + wd_fb_prefix + "
|
2128 |
-
jQuery("#" + wd_fb_prefix + "
|
2129 |
-
|
2130 |
-
|
2131 |
-
|
2132 |
-
jQuery("#" + wd_fb_prefix + "
|
2133 |
-
jQuery("#" + wd_fb_prefix + "
|
2134 |
-
jQuery("#" + wd_fb_prefix + "
|
2135 |
-
jQuery("#" + wd_fb_prefix + "
|
2136 |
-
jQuery("#" + wd_fb_prefix + "
|
2137 |
-
jQuery("#" + wd_fb_prefix + "
|
2138 |
-
jQuery("#" + wd_fb_prefix + "
|
2139 |
-
jQuery("#" + wd_fb_prefix + "
|
2140 |
-
jQuery("#" + wd_fb_prefix + "
|
2141 |
-
jQuery("#" + wd_fb_prefix + "
|
2142 |
-
jQuery("#" + wd_fb_prefix + "
|
2143 |
-
jQuery("#" + wd_fb_prefix + "
|
2144 |
-
jQuery("#" + wd_fb_prefix + "
|
2145 |
-
|
2146 |
-
|
2147 |
-
|
2148 |
-
|
2149 |
-
jQuery("#" + wd_fb_prefix + "
|
2150 |
-
jQuery("#" + wd_fb_prefix + "
|
2151 |
-
jQuery("#" + wd_fb_prefix + "
|
2152 |
-
jQuery("#" + wd_fb_prefix + "
|
2153 |
-
jQuery("#" + wd_fb_prefix + "
|
2154 |
-
jQuery("#" + wd_fb_prefix + "
|
2155 |
-
jQuery("#" + wd_fb_prefix + "
|
2156 |
-
|
2157 |
-
|
2158 |
-
|
2159 |
-
jQuery("#" + wd_fb_prefix + "
|
2160 |
-
|
2161 |
-
|
2162 |
-
|
2163 |
-
jQuery("#" + wd_fb_prefix + "
|
2164 |
-
jQuery("#" + wd_fb_prefix + "
|
2165 |
-
jQuery("#" + wd_fb_prefix + "
|
2166 |
-
jQuery("#" + wd_fb_prefix + "
|
2167 |
-
jQuery("#" + wd_fb_prefix + "
|
2168 |
-
jQuery("#" + wd_fb_prefix + "
|
2169 |
-
jQuery("#" + wd_fb_prefix + "
|
2170 |
-
jQuery("#" + wd_fb_prefix + "
|
2171 |
-
jQuery("#" + wd_fb_prefix + "
|
2172 |
-
jQuery("#" + wd_fb_prefix + "
|
2173 |
-
jQuery("#" + wd_fb_prefix + "
|
2174 |
-
jQuery("#" + wd_fb_prefix + "
|
2175 |
-
jQuery("#" + wd_fb_prefix + "
|
2176 |
-
jQuery("#" + wd_fb_prefix + "
|
2177 |
-
jQuery("#" + wd_fb_prefix + "
|
2178 |
-
jQuery("#" + wd_fb_prefix + "
|
2179 |
-
jQuery("#" + wd_fb_prefix + "
|
2180 |
-
jQuery("#" + wd_fb_prefix + "
|
2181 |
-
jQuery("#" + wd_fb_prefix + "
|
2182 |
-
jQuery("#" + wd_fb_prefix + "
|
2183 |
-
|
2184 |
-
|
2185 |
-
|
2186 |
-
|
2187 |
-
|
2188 |
-
ffwd_change_label(wd_fb_prefix + '
|
2189 |
-
|
2190 |
-
jQuery('#' + wd_fb_prefix + '
|
2191 |
-
jQuery(
|
2192 |
-
jQuery("#" + wd_fb_prefix + "
|
2193 |
-
jQuery("#" + wd_fb_prefix + "
|
2194 |
-
jQuery("#" + wd_fb_prefix + "
|
2195 |
-
jQuery("#" + wd_fb_prefix + "
|
2196 |
-
|
2197 |
-
|
2198 |
-
|
2199 |
-
|
2200 |
-
|
2201 |
-
|
2202 |
-
|
2203 |
-
ffwd_change_label(wd_fb_prefix + '
|
2204 |
-
|
2205 |
-
jQuery('#' + wd_fb_prefix + '
|
2206 |
-
|
2207 |
-
|
2208 |
-
|
2209 |
-
ffwd_change_label(wd_fb_prefix + '
|
2210 |
-
|
2211 |
-
jQuery('#' + wd_fb_prefix + '
|
2212 |
-
jQuery(
|
2213 |
-
|
2214 |
-
|
2215 |
-
jQuery(
|
2216 |
-
jQuery(
|
2217 |
-
jQuery("#" + wd_fb_prefix + "
|
2218 |
-
jQuery("#" + wd_fb_prefix + "
|
2219 |
-
jQuery("#" + wd_fb_prefix + "
|
2220 |
-
|
2221 |
-
|
2222 |
-
|
2223 |
-
|
2224 |
-
|
2225 |
-
|
2226 |
-
|
2227 |
-
|
2228 |
-
jQuery("#" + wd_fb_prefix + "_tr_blog_style_view_type").css('display', '');
|
2229 |
-
jQuery("#" + wd_fb_prefix + "
|
2230 |
-
jQuery("#" + wd_fb_prefix + "
|
2231 |
-
jQuery("#" + wd_fb_prefix + "
|
2232 |
-
jQuery("#" + wd_fb_prefix + "
|
2233 |
-
jQuery("#" + wd_fb_prefix + "
|
2234 |
-
jQuery("#" + wd_fb_prefix + "
|
2235 |
-
jQuery("#" + wd_fb_prefix + "
|
2236 |
-
jQuery("#" + wd_fb_prefix + "
|
2237 |
-
jQuery("#" + wd_fb_prefix + "
|
2238 |
-
jQuery("#" + wd_fb_prefix + "
|
2239 |
-
jQuery("#" + wd_fb_prefix + "
|
2240 |
-
jQuery("#" + wd_fb_prefix + "
|
2241 |
-
jQuery("#" + wd_fb_prefix + "
|
2242 |
-
jQuery("#" + wd_fb_prefix + "
|
2243 |
-
|
2244 |
-
|
2245 |
-
|
2246 |
-
|
2247 |
-
|
2248 |
-
|
2249 |
-
|
2250 |
-
jQuery("#" + wd_fb_prefix + "
|
2251 |
-
jQuery("#" + wd_fb_prefix + "
|
2252 |
-
jQuery("#" + wd_fb_prefix + "
|
2253 |
-
jQuery("#" + wd_fb_prefix + "
|
2254 |
-
jQuery("#" + wd_fb_prefix + "
|
2255 |
-
jQuery("#" + wd_fb_prefix + "
|
2256 |
-
jQuery("#" + wd_fb_prefix + "
|
2257 |
-
|
2258 |
-
|
2259 |
-
|
2260 |
-
|
2261 |
-
|
2262 |
-
|
2263 |
-
|
2264 |
-
|
2265 |
-
|
2266 |
-
jQuery("#" + wd_fb_prefix + "
|
2267 |
-
jQuery("#" + wd_fb_prefix + "
|
2268 |
-
jQuery("#" + wd_fb_prefix + "
|
2269 |
-
|
2270 |
-
|
2271 |
-
|
2272 |
-
|
2273 |
-
|
2274 |
-
|
2275 |
-
|
2276 |
-
|
2277 |
-
|
2278 |
-
|
2279 |
-
|
2280 |
-
|
2281 |
-
|
2282 |
-
|
2283 |
-
|
2284 |
-
|
2285 |
-
|
2286 |
-
|
2287 |
-
|
2288 |
-
|
2289 |
-
jQuery("#" + wd_fb_prefix + "
|
2290 |
-
jQuery("#" + wd_fb_prefix + "
|
2291 |
-
jQuery("#" + wd_fb_prefix + "
|
2292 |
-
jQuery("#" + wd_fb_prefix + "
|
2293 |
-
jQuery("#" + wd_fb_prefix + "
|
2294 |
-
jQuery("#" + wd_fb_prefix + "
|
2295 |
-
jQuery("#" + wd_fb_prefix + "
|
2296 |
-
|
2297 |
-
|
2298 |
-
jQuery("#" + wd_fb_prefix + "
|
2299 |
-
jQuery("#" + wd_fb_prefix + "
|
2300 |
-
jQuery("#" + wd_fb_prefix + "
|
2301 |
-
jQuery("#" + wd_fb_prefix + "
|
2302 |
-
jQuery("#" + wd_fb_prefix + "
|
2303 |
-
jQuery("#" + wd_fb_prefix + "
|
2304 |
-
|
2305 |
-
|
2306 |
-
|
2307 |
-
|
2308 |
-
|
2309 |
-
|
2310 |
-
|
2311 |
-
|
2312 |
-
|
2313 |
-
|
2314 |
-
|
2315 |
-
case "
|
2316 |
-
case "
|
2317 |
-
|
2318 |
-
jQuery("#" + wd_fb_prefix + "
|
2319 |
-
jQuery("#" + wd_fb_prefix + "
|
2320 |
-
jQuery("#" + wd_fb_prefix + "
|
2321 |
-
|
2322 |
-
|
2323 |
-
|
2324 |
-
jQuery("#" + wd_fb_prefix + "
|
2325 |
-
jQuery("#" + wd_fb_prefix + "
|
2326 |
-
jQuery("#" + wd_fb_prefix + "
|
2327 |
-
|
2328 |
-
|
2329 |
-
|
2330 |
-
|
2331 |
-
|
2332 |
-
|
2333 |
-
|
2334 |
-
|
2335 |
-
|
2336 |
-
|
2337 |
-
|
2338 |
-
|
2339 |
-
|
2340 |
-
|
2341 |
-
|
2342 |
-
|
2343 |
-
|
2344 |
-
|
2345 |
-
|
2346 |
-
|
2347 |
-
|
2348 |
-
|
2349 |
-
|
2350 |
-
|
2351 |
-
|
2352 |
-
|
2353 |
-
|
2354 |
-
|
2355 |
-
|
2356 |
-
|
2357 |
-
|
2358 |
-
|
2359 |
-
|
2360 |
-
|
2361 |
-
|
2362 |
-
|
2363 |
-
|
2364 |
-
|
2365 |
-
|
2366 |
-
|
2367 |
-
|
2368 |
-
|
2369 |
-
|
2370 |
-
|
2371 |
-
|
2372 |
-
|
2373 |
-
elem.css('display'
|
2374 |
-
|
2375 |
-
|
2376 |
-
|
2377 |
-
|
2378 |
-
|
2379 |
-
|
2380 |
-
|
2381 |
-
|
2382 |
-
|
2383 |
-
|
2384 |
-
|
2385 |
-
|
2386 |
-
|
2387 |
-
|
2388 |
-
|
2389 |
-
|
2390 |
-
|
2391 |
-
|
2392 |
-
|
2393 |
-
|
2394 |
-
|
2395 |
-
|
2396 |
-
|
2397 |
-
|
2398 |
-
|
2399 |
-
|
2400 |
-
|
2401 |
-
|
2402 |
-
|
2403 |
-
|
2404 |
-
|
2405 |
-
|
2406 |
-
|
2407 |
-
|
2408 |
-
|
2409 |
-
|
2410 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
2411 |
-
|
2412 |
-
|
2413 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
2414 |
-
|
2415 |
-
|
2416 |
-
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FFWDViewInfo_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()
|
28 |
+
{
|
29 |
+
|
30 |
+
$rows_data = $this->model->get_rows_data();
|
31 |
+
$this->model->del_ffwd_objects();
|
32 |
+
$page_nav = $this->model->page_nav();
|
33 |
+
$search_value = ((isset($_POST['search_value'])) ? esc_html(stripslashes($_POST['search_value'])) : '');
|
34 |
+
$search_select_value = ((isset($_POST['search_select_value'])) ? (int)$_POST['search_select_value'] : 0);
|
35 |
+
$asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
|
36 |
+
$order_by = (isset($_POST['order_by']) ? esc_html(stripslashes($_POST['order_by'])) : 'order');
|
37 |
+
$order_class = 'manage-column column-title sorted ' . $asc_or_desc;
|
38 |
+
$ids_string = '';
|
39 |
+
$per_page = $this->model->per_page();
|
40 |
+
$pager = 0;
|
41 |
+
?>
|
42 |
+
|
43 |
+
|
44 |
+
<div style="font-size: 14px; font-weight: bold;">
|
45 |
+
This section allows you to create, edit and delete Facebook Feed WD.
|
46 |
+
<a style="color: blue; text-decoration: none;" target="_blank"
|
47 |
+
href="https://web-dorado.com/wordpress-facebook-feed/creating-feed.html">Read More in User Manual</a>
|
48 |
+
</div>
|
49 |
+
<form class="wrap" id="ffwd_info_form" method="post" action="admin.php?page=info_ffwd" style="width:99%;">
|
50 |
+
<?php wp_nonce_field('info_ffwd', 'ffwd_nonce'); ?>
|
51 |
+
|
52 |
+
<div class="ffwd_plugin_header">
|
53 |
+
<span class="wd-fb-icon"></span>
|
54 |
+
<h2 class="ffwd_page_name">
|
55 |
+
Feeds
|
56 |
+
<a href="" class="ffwd-button-primary ffwd-button-add-new" onclick="spider_set_input_value('task', 'add');
|
57 |
+
spider_form_submit(event, 'ffwd_info_form')"> Add new</a>
|
58 |
+
|
59 |
+
|
60 |
+
</h2>
|
61 |
+
</div>
|
62 |
+
|
63 |
+
<div id="draganddrop" class="updated" style="display:none;"><strong><p>Changes made in this table should be
|
64 |
+
saved.</p></strong></div>
|
65 |
+
|
66 |
+
|
67 |
+
<div class="ffwd_upgrade ffwd-clear">
|
68 |
+
<div class="ffwd-right">
|
69 |
+
<a href="https://web-dorado.com/products/wordpress-facebook-feed-plugin.html" target="_blank">
|
70 |
+
<div class="ffwd-table">
|
71 |
+
<div class="ffwd-cell ffwd-cell-valign-middle">
|
72 |
+
Upgrade to paid version </div>
|
73 |
+
|
74 |
+
<div class="ffwd-cell ffwd-cell-valign-middle">
|
75 |
+
<img src="<?php echo WD_FFWD_URL ?>/images/web-dorado.png">
|
76 |
+
</div>
|
77 |
+
</div>
|
78 |
+
</a>
|
79 |
+
</div>
|
80 |
+
</div>
|
81 |
+
|
82 |
+
|
83 |
+
<div class="buttons_div">
|
84 |
+
<span class="ffwd-button-secondary non_selectable" onclick="spider_check_all_items()">
|
85 |
+
<input type="checkbox" id="check_all_items" name="check_all_items" onclick="spider_check_all_items_checkbox()"
|
86 |
+
style="margin: 0; vertical-align: middle;"/>
|
87 |
+
<span style="vertical-align: middle;">Select All</span>
|
88 |
+
</span>
|
89 |
+
|
90 |
+
|
91 |
+
|
92 |
+
|
93 |
+
<input id="show_hide_weights" class="ffwd-button-secondary ffwd-button-show-order" type="button"
|
94 |
+
onclick="spider_show_hide_weights();return false;" value="Hide order column"/>
|
95 |
+
<input class="ffwd-button-secondary ffwd-button-save-order" type="submit"
|
96 |
+
onclick="spider_set_input_value('task', 'save_order')"
|
97 |
+
value="Save Order"/>
|
98 |
+
<input class="ffwd-button-secondary ffwd-button-publish" type="submit"
|
99 |
+
onclick="spider_set_input_value('task', 'publish_all')"
|
100 |
+
value="Publish"/>
|
101 |
+
<input class="ffwd-button-secondary ffwd-button-unpublish" type="submit"
|
102 |
+
onclick="spider_set_input_value('task', 'unpublish_all')"
|
103 |
+
value="Unpublish"/>
|
104 |
+
<input class="ffwd-button-secondary ffwd-button-delete" type="submit" onclick="if (confirm('Do you want to delete selected items?')) {
|
105 |
+
spider_set_input_value('task', 'delete_all');
|
106 |
+
} else {
|
107 |
+
return false;
|
108 |
+
}" value="Delete"/>
|
109 |
+
</div>
|
110 |
+
<div class="tablenav top">
|
111 |
+
<?php
|
112 |
+
WDW_FFWD_Library::search('Name', $search_value, 'ffwd_info_form');
|
113 |
+
WDW_FFWD_Library::html_page_nav($page_nav['total'], $pager++, $page_nav['limit'], 'ffwd_info_form', $per_page);
|
114 |
+
?>
|
115 |
+
</div>
|
116 |
+
<table class="wp-list-table widefat fixed pages">
|
117 |
+
<thead>
|
118 |
+
<th class="table_small_col"></th>
|
119 |
+
<th class="manage-column column-cb check-column table_small_col"><input id="check_all" type="checkbox"
|
120 |
+
onclick="spider_check_all(this)"
|
121 |
+
style="margin:0;"/></th>
|
122 |
+
<th class="table_small_col <?php if ($order_by == 'id') {
|
123 |
+
echo $order_class;
|
124 |
+
} ?>">
|
125 |
+
<a onclick="spider_set_input_value('task', '');
|
126 |
+
spider_set_input_value('order_by', 'id');
|
127 |
+
spider_set_input_value('asc_or_desc', '<?php echo((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'id') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
|
128 |
+
spider_form_submit(event, 'ffwd_info_form')" href="">
|
129 |
+
<span>ID</span><span class="sorting-indicator"></span>
|
130 |
+
</a>
|
131 |
+
</th>
|
132 |
+
<th class="<?php if ($order_by == 'name') {
|
133 |
+
echo $order_class;
|
134 |
+
} ?>">
|
135 |
+
<a onclick="spider_set_input_value('task', '');
|
136 |
+
spider_set_input_value('order_by', 'name');
|
137 |
+
spider_set_input_value('asc_or_desc', '<?php echo((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'name') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
|
138 |
+
spider_form_submit(event, 'ffwd_info_form')" href="">
|
139 |
+
<span>Name</span><span class="sorting-indicator"></span>
|
140 |
+
</a>
|
141 |
+
</th>
|
142 |
+
<th>Shortcode</th>
|
143 |
+
<th id="th_order" class="table_medium_col <?php if ($order_by == 'order') {
|
144 |
+
echo $order_class;
|
145 |
+
} ?>">
|
146 |
+
<a onclick="spider_set_input_value('task', '');
|
147 |
+
spider_set_input_value('order_by', 'order');
|
148 |
+
spider_set_input_value('asc_or_desc', '<?php echo((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'order') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
|
149 |
+
spider_form_submit(event, 'ffwd_info_form')" href="">
|
150 |
+
<span>Order</span><span class="sorting-indicator"></span>
|
151 |
+
</a>
|
152 |
+
</th>
|
153 |
+
<th class="table_big_col <?php if ($order_by == 'published') {
|
154 |
+
echo $order_class;
|
155 |
+
} ?>">
|
156 |
+
<a onclick="spider_set_input_value('task', '');
|
157 |
+
spider_set_input_value('order_by', 'published');
|
158 |
+
spider_set_input_value('asc_or_desc', '<?php echo((isset($_POST['asc_or_desc']) && isset($_POST['order_by']) && (esc_html(stripslashes($_POST['order_by'])) == 'published') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
|
159 |
+
spider_form_submit(event, 'ffwd_info_form')" href="">
|
160 |
+
<span>Published</span><span class="sorting-indicator"></span>
|
161 |
+
</a>
|
162 |
+
</th>
|
163 |
+
<th class="table_big_col">Edit</th>
|
164 |
+
<th class="table_big_col">Delete</th>
|
165 |
+
</thead>
|
166 |
+
<tbody id="tbody_arr">
|
167 |
+
<?php
|
168 |
+
if ($rows_data) {
|
169 |
+
foreach ($rows_data as $row_data) {
|
170 |
+
$alternate = (!isset($alternate) || $alternate == 'class="alternate"') ? '' : 'class="alternate"';
|
171 |
+
$published_image = (($row_data->published) ? '-413px' : '-383px');
|
172 |
+
$published = (($row_data->published) ? 'unpublish' : 'publish');
|
173 |
+
?>
|
174 |
+
<tr id="tr_<?php echo $row_data->id; ?>" <?php echo $alternate; ?>>
|
175 |
+
<td class="connectedSortable table_small_col">
|
176 |
+
<div title="Drag to re-order" class="handle" style="margin:5px auto 0 auto;"></div>
|
177 |
+
</td>
|
178 |
+
<td class="table_small_col check-column"><input id="check_<?php echo $row_data->id; ?>"
|
179 |
+
name="check_<?php echo $row_data->id; ?>"
|
180 |
+
onclick="spider_check_all(this)"
|
181 |
+
type="checkbox"/></td>
|
182 |
+
<td class="table_small_col"><?php echo $row_data->id; ?></td>
|
183 |
+
<td><a onclick="spider_set_input_value('task', 'edit');
|
184 |
+
spider_set_input_value('page_number', '1');
|
185 |
+
spider_set_input_value('search_value', '');
|
186 |
+
spider_set_input_value('search_or_not', '');
|
187 |
+
spider_set_input_value('asc_or_desc', 'asc');
|
188 |
+
spider_set_input_value('order_by', 'order');
|
189 |
+
spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
|
190 |
+
spider_form_submit(event, 'ffwd_info_form')"
|
191 |
+
href=""><?php echo $row_data->name; ?></a></td>
|
192 |
+
<td class="spider_order table_medium_col"><input
|
193 |
+
id="order_input_<?php echo $row_data->id; ?>"
|
194 |
+
name="order_input_<?php echo $row_data->id; ?>" type="text" size="1"
|
195 |
+
value="<?php echo $row_data->order; ?>"/></td>
|
196 |
+
<td><input readonly type="text" onclick="jQuery(this).focus();jQuery(this).select();" value='[WD_FB id="<?php echo $row_data->id ?>"]' /></td>
|
197 |
+
|
198 |
+
<td class="table_big_col"><a
|
199 |
+
onclick="spider_set_input_value('task', '<?php echo $published; ?>');spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');spider_form_submit(event, 'ffwd_info_form')"
|
200 |
+
href="" style="display: block;height: 20px;overflow: hidden;"><img
|
201 |
+
src="<?php echo WD_FFWD_URL . '/images/ffwd/button-icons2.png'; ?>"
|
202 |
+
style="position: relative;top:<?php echo $published_image ?>"></img></a>
|
203 |
+
</td>
|
204 |
+
<td class="table_big_col"><a onclick="spider_set_input_value('task', 'edit');
|
205 |
+
spider_set_input_value('page_number', '1');
|
206 |
+
spider_set_input_value('search_value', '');
|
207 |
+
spider_set_input_value('search_or_not', '');
|
208 |
+
spider_set_input_value('asc_or_desc', 'asc');
|
209 |
+
spider_set_input_value('order_by', 'order');
|
210 |
+
spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
|
211 |
+
spider_form_submit(event, 'ffwd_info_form')" href="">Edit</a></td>
|
212 |
+
<td class="table_big_col"><a
|
213 |
+
onclick="if(! confirm('Are you sure you want to delete ?'))return false;
|
214 |
+
spider_set_input_value('task', 'delete');
|
215 |
+
spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
|
216 |
+
spider_form_submit(event, 'ffwd_info_form')" href="">Delete</a></td>
|
217 |
+
</tr>
|
218 |
+
<?php
|
219 |
+
$ids_string .= $row_data->id . ',';
|
220 |
+
}
|
221 |
+
}
|
222 |
+
?>
|
223 |
+
</tbody>
|
224 |
+
</table>
|
225 |
+
<div class="tablenav bottom">
|
226 |
+
<?php
|
227 |
+
WDW_FFWD_Library::html_page_nav($page_nav['total'], $pager++, $page_nav['limit'], 'ffwd_info_form', $per_page);
|
228 |
+
?>
|
229 |
+
</div>
|
230 |
+
<input id="task" name="task" type="hidden" value=""/>
|
231 |
+
<input id="current_id" name="current_id" type="hidden" value=""/>
|
232 |
+
<input id="ids_string" name="ids_string" type="hidden" value="<?php echo $ids_string; ?>"/>
|
233 |
+
<input id="asc_or_desc" name="asc_or_desc" type="hidden" value="asc"/>
|
234 |
+
<input id="order_by" name="order_by" type="hidden" value="<?php echo $order_by; ?>"/>
|
235 |
+
<script>
|
236 |
+
window.onload = spider_show_hide_weights;
|
237 |
+
var dropped_ids = [],
|
238 |
+
ffwd_data = jQuery.parseJSON('<?php echo $this->model->ffwd_objects; ?>');
|
239 |
+
for (var i = 0; i < ffwd_data.length; i++) {
|
240 |
+
for (var j = 0; j < ffwd_data[i].length; j++) {
|
241 |
+
jQuery.getJSON(
|
242 |
+
ffwd_data[i][j]['fb_graph_url'],
|
243 |
+
createSuccessCallback(i, j)
|
244 |
+
).error(createCallback(i, j));
|
245 |
+
}
|
246 |
+
}
|
247 |
+
function createCallback(i, j) {
|
248 |
+
return function (e) {
|
249 |
+
do_something_with_data(i, j, e);
|
250 |
+
};
|
251 |
+
}
|
252 |
+
function do_something_with_data(i, j, e) {
|
253 |
+
var error = jQuery.parseJSON(e.responseText);
|
254 |
+
if (error == null) return;
|
255 |
+
if (error['error']['message'].indexOf('Unsupported get request.') != -1) {
|
256 |
+
var ffwd_nonce = jQuery("#ffwd_nonce").val();
|
257 |
+
var data = {};
|
258 |
+
data["action"] = 'dropp_objects';
|
259 |
+
data["ids"] = ffwd_data[i][j]['id'];
|
260 |
+
data["ffwd_nonce"] = ffwd_nonce;
|
261 |
+
jQuery.ajax({
|
262 |
+
method: "POST",
|
263 |
+
url: ajax_url,
|
264 |
+
data: data,
|
265 |
+
success: function (result) {
|
266 |
+
console.log(result);
|
267 |
+
}
|
268 |
+
});
|
269 |
+
}
|
270 |
+
}
|
271 |
+
function createSuccessCallback(i, j) {
|
272 |
+
return;
|
273 |
+
}
|
274 |
+
</script>
|
275 |
+
</form>
|
276 |
+
<?php
|
277 |
+
}
|
278 |
+
|
279 |
+
public function edit($id)
|
280 |
+
{
|
281 |
+
|
282 |
+
///////////////////////////////
|
283 |
+
$row = $this->model->get_row_data($id);
|
284 |
+
$theme_rows = $this->model->get_theme_rows_data();
|
285 |
+
$fb_glob_optons = $this->model->get_option_row_data();
|
286 |
+
$page_title = (($id != 0) ? 'Edit Facebook Feed WD ' . $row->name : 'Create new Facebook Feed WD');
|
287 |
+
$type = $row->type;
|
288 |
+
$content_url = $row->content_url;
|
289 |
+
$disabled = ($id != 0) ? 'disabled' : '';
|
290 |
+
|
291 |
+
$effects = array(
|
292 |
+
'none' => 'None',
|
293 |
+
'fade' => 'Fade',
|
294 |
+
'0' => 'Cube Horizontal',
|
295 |
+
'1' => 'Cube Vertical',
|
296 |
+
|
297 |
+
'2' => 'Slice Horizontal',
|
298 |
+
'3' => 'Slice Vertical',
|
299 |
+
'4' => 'Slide Horizontal',
|
300 |
+
'5' => 'Slide Vertical',
|
301 |
+
'6' => 'Scale Out',
|
302 |
+
'7' => 'Scale In',
|
303 |
+
'8' => 'Block Scale',
|
304 |
+
'9' => 'Kaleidoscope',
|
305 |
+
'10' => 'Fan',
|
306 |
+
'11' => 'Blind Horizontal',
|
307 |
+
'12' => 'Blind Vertical',
|
308 |
+
'13' => 'Random',
|
309 |
+
);
|
310 |
+
|
311 |
+
|
312 |
+
?>
|
313 |
+
<style>
|
314 |
+
|
315 |
+
|
316 |
+
.ffwd_header {
|
317 |
+
/*background-image: url("../images/ffwd_logo.png");*/
|
318 |
+
background: url('<?php echo WD_FFWD_URL; ?>/images/ffwd_logo.png') no-repeat 0px center;
|
319 |
+
padding: 20px 0px 20px 80px;
|
320 |
+
background-size: 70px;
|
321 |
+
}
|
322 |
+
|
323 |
+
.ffwd_main {
|
324 |
+
display: block;
|
325 |
+
margin: 20px 0px 0px 0px;
|
326 |
+
}
|
327 |
+
|
328 |
+
.ffwd_main_set_c {
|
329 |
+
width: 598px;
|
330 |
+
/*height: 400px;*/
|
331 |
+
padding: 9px;
|
332 |
+
}
|
333 |
+
|
334 |
+
.ffwd_lightbox_settings, .ffwd_comments_tab, .ffwd_page_plugin_tab, .ffwd_events_tab {
|
335 |
+
display: none;
|
336 |
+
margin: 20px 0px 0px 0px;
|
337 |
+
}
|
338 |
+
|
339 |
+
.ffwd_varied {
|
340 |
+
display: none;
|
341 |
+
margin: 20px 0px 0px 0px;
|
342 |
+
}
|
343 |
+
|
344 |
+
.ffwd_varied:after {
|
345 |
+
visibility: hidden;
|
346 |
+
display: block;
|
347 |
+
font-size: 0;
|
348 |
+
content: " ";
|
349 |
+
clear: both;
|
350 |
+
height: 0;
|
351 |
+
}
|
352 |
+
|
353 |
+
.ffwd_view {
|
354 |
+
width: 120px;
|
355 |
+
height: 133px;
|
356 |
+
background-size: 120px;
|
357 |
+
background-repeat: no-repeat;
|
358 |
+
float: left;
|
359 |
+
margin: 0px 10px 0px 0px;
|
360 |
+
cursor: pointer;
|
361 |
+
}
|
362 |
+
|
363 |
+
.ffwd_view_t {
|
364 |
+
background-image: url("<?php echo WD_FFWD_URL; ?>/images/ffwd/ffwd_thumb.png");
|
365 |
+
background-size: 105px;
|
366 |
+
background-position: center 24px;
|
367 |
+
}
|
368 |
+
|
369 |
+
.ffwd_view_m {
|
370 |
+
background-image: url("<?php echo WD_FFWD_URL; ?>/images/ffwd/ffwd_masonry.png");
|
371 |
+
background-size: 106px;
|
372 |
+
background-position: center 23px;
|
373 |
+
}
|
374 |
+
|
375 |
+
.ffwd_view_bf {
|
376 |
+
background-image: url("<?php echo WD_FFWD_URL; ?>/images/ffwd/ffwd_blog.png");
|
377 |
+
background-position: center 24px;
|
378 |
+
}
|
379 |
+
|
380 |
+
.ffwd_view_bh {
|
381 |
+
background-image: url("<?php echo WD_FFWD_URL; ?>/images/ffwd/ffwd_blog.png");
|
382 |
+
background-position: center 24px;
|
383 |
+
|
384 |
+
}
|
385 |
+
|
386 |
+
.ffwd_view_a {
|
387 |
+
background-image: url("<?php echo WD_FFWD_URL; ?>/images/ffwd/ffwd_album.png");
|
388 |
+
background-position: center 24px;
|
389 |
+
}
|
390 |
+
|
391 |
+
}
|
392 |
+
.ffwd_views_set {
|
393 |
+
margin: 10px 0px 0px 0px;
|
394 |
+
/*width: 860px;*/
|
395 |
+
}
|
396 |
+
|
397 |
+
.ffwd_view_l_s, .ffwd_varied_s {
|
398 |
+
padding: 9px;
|
399 |
+
box-sizing: border-box;
|
400 |
+
width: 415px;
|
401 |
+
}
|
402 |
+
|
403 |
+
.ffwd_view_t_s, .ffwd_varied_f {
|
404 |
+
padding: 9px;
|
405 |
+
box-sizing: border-box;
|
406 |
+
width: 440px;
|
407 |
+
margin: 0px 10px 0px 0px;
|
408 |
+
}
|
409 |
+
|
410 |
+
.ffwd_views_set:after {
|
411 |
+
visibility: hidden;
|
412 |
+
display: block;
|
413 |
+
font-size: 0;
|
414 |
+
content: " ";
|
415 |
+
clear: both;
|
416 |
+
height: 0;
|
417 |
+
}
|
418 |
+
|
419 |
+
.ffwd_tab {
|
420 |
+
font-size: 17px;
|
421 |
+
float: left;
|
422 |
+
padding: 10px;
|
423 |
+
background-color: #fff;
|
424 |
+
border: 1px solid #FBFBFB;
|
425 |
+
border-bottom: none;
|
426 |
+
margin-right: 0px;
|
427 |
+
position: relative;
|
428 |
+
z-index: 2;
|
429 |
+
top: 2px;
|
430 |
+
}
|
431 |
+
|
432 |
+
.ffwd_tab:hover {
|
433 |
+
cursor: pointer;
|
434 |
+
background-color: #fff;
|
435 |
+
border-bottom: none;
|
436 |
+
margin-bottom: 1px;
|
437 |
+
}
|
438 |
+
|
439 |
+
.ffwd_tab_s {
|
440 |
+
background-color: #fff !important;
|
441 |
+
top: 3px;
|
442 |
+
border-left: 1px solid #3b5a9a;
|
443 |
+
border-right: 1px solid #3b5a9a;
|
444 |
+
border-top: 1px solid #3b5a9a;
|
445 |
+
}
|
446 |
+
|
447 |
+
}
|
448 |
+
|
449 |
+
.ffwd_tabs:after {
|
450 |
+
visibility: hidden;
|
451 |
+
display: block;
|
452 |
+
font-size: 0;
|
453 |
+
content: " ";
|
454 |
+
clear: both;
|
455 |
+
height: 0;
|
456 |
+
}
|
457 |
+
|
458 |
+
.ffwd_views_c:after {
|
459 |
+
visibility: hidden;
|
460 |
+
display: block;
|
461 |
+
font-size: 0;
|
462 |
+
content: " ";
|
463 |
+
clear: both;
|
464 |
+
height: 0;
|
465 |
+
}
|
466 |
+
|
467 |
+
.ffwd_button {
|
468 |
+
|
469 |
+
}
|
470 |
+
|
471 |
+
.ffwd_tabs_cont {
|
472 |
+
float: left;
|
473 |
+
margin: 17px 0px 0px 0px;
|
474 |
+
position: relative;
|
475 |
+
top: 4px;
|
476 |
+
}
|
477 |
+
|
478 |
+
.ffwd_butts_c {
|
479 |
+
float: right;
|
480 |
+
margin: 17px 0px 0px 0px;
|
481 |
+
}
|
482 |
+
|
483 |
+
.ffwd_tabs {
|
484 |
+
margin: 0;
|
485 |
+
padding: 0;
|
486 |
+
}
|
487 |
+
|
488 |
+
.ffwd_button {
|
489 |
+
background: #0071BC;
|
490 |
+
outline: none;
|
491 |
+
padding: 7px;
|
492 |
+
color: #ffffff;
|
493 |
+
border: 0;
|
494 |
+
margin: 0;
|
495 |
+
cursor: pointer;
|
496 |
+
box-shadow: 0px 0px 3px #FFFFFF;
|
497 |
+
}
|
498 |
+
|
499 |
+
.ffwd_button:hover {
|
500 |
+
background-color: #47C6AB;
|
501 |
+
}
|
502 |
+
|
503 |
+
.ffwd_set_l {
|
504 |
+
font-weight: bolder;
|
505 |
+
padding: 4px;
|
506 |
+
color: #4E4E4E;
|
507 |
+
}
|
508 |
+
|
509 |
+
.ffwd_set_i {
|
510 |
+
vertical-align: middle;
|
511 |
+
}
|
512 |
+
|
513 |
+
.ffwd_header_l {
|
514 |
+
color: #0071BC;
|
515 |
+
font-size: 14px;
|
516 |
+
font-weight: bolder;
|
517 |
+
/*border-bottom-style: solid;
|
518 |
+
border-width: 1px;
|
519 |
+
border-color: white;*/
|
520 |
+
padding: 10px 10px 10px 10px;
|
521 |
+
background: #F5F5F5;
|
522 |
+
display: block;
|
523 |
+
}
|
524 |
+
|
525 |
+
.ffwd_header_c {
|
526 |
+
margin: 0px 0px 10px 0px;
|
527 |
+
}
|
528 |
+
|
529 |
+
.ffwd_sett_tabl {
|
530 |
+
width: 100%;
|
531 |
+
}
|
532 |
+
|
533 |
+
.ffwd_view div {
|
534 |
+
line-height: 22px;
|
535 |
+
text-align: center;
|
536 |
+
color: #000;
|
537 |
+
|
538 |
+
}
|
539 |
+
|
540 |
+
.ffwd_border_wrapper {
|
541 |
+
|
542 |
+
border: 1px solid #3b5a9a;
|
543 |
+
padding: 5px;
|
544 |
+
background-color: #FFFFFF;
|
545 |
+
|
546 |
+
}
|
547 |
+
</style>
|
548 |
+
|
549 |
+
|
550 |
+
<div id="message_div" class="updated" style="display: none;"></div>
|
551 |
+
<div style="font-size: 14px; font-weight: bold;">
|
552 |
+
This section allows you to add/edit Facebook Feed WD.
|
553 |
+
<a style="color: blue; text-decoration: none;" target="_blank"
|
554 |
+
href="https://web-dorado.com/wordpress-facebook-feed/creating-feed.html">Read More in User Manual</a>
|
555 |
+
</div>
|
556 |
+
|
557 |
+
<script src="http://malsup.github.io/jquery.form.js"></script>
|
558 |
+
<form class="wrap" method="post" id="ffwd_info_form" action="admin.php?page=info_ffwd" style="width:99%;">
|
559 |
+
<?php wp_nonce_field('info_ffwd', 'ffwd_nonce'); ?>
|
560 |
+
<!-- <span class="wd-fb-icon"></span> -->
|
561 |
+
<div class="ffwd_plugin_header">
|
562 |
+
<div class="ffwd_upgrade ffwd-clear">
|
563 |
+
<div class="ffwd-right">
|
564 |
+
<a href="https://web-dorado.com/products/wordpress-facebook-feed-plugin.html" target="_blank">
|
565 |
+
<div class="ffwd-table">
|
566 |
+
<div class="ffwd-cell ffwd-cell-valign-middle">
|
567 |
+
Upgrade to paid version </div>
|
568 |
+
|
569 |
+
<div class="ffwd-cell ffwd-cell-valign-middle">
|
570 |
+
<img src="<?php echo WD_FFWD_URL ?>/images/web-dorado.png">
|
571 |
+
</div>
|
572 |
+
</div>
|
573 |
+
</a>
|
574 |
+
</div>
|
575 |
+
</div>
|
576 |
+
<span class="wd-fb-icon"></span>
|
577 |
+
<h2 class="ffwd_page_name"><?php echo $page_title; ?></h2>
|
578 |
+
</div>
|
579 |
+
|
580 |
+
|
581 |
+
|
582 |
+
|
583 |
+
<div class="ffwd_tabs_cont" style="float:left;">
|
584 |
+
|
585 |
+
<ul class="ffwd_tabs">
|
586 |
+
<li class="ffwd_tab ffwd_tab_s" show="main" onclick="ffwd_change_tab(this)">Main</li>
|
587 |
+
<li class="ffwd_tab" id="ffwd_tab_lightbox" show="lightbox_settings"
|
588 |
+
onclick="ffwd_change_tab(this)">Lightbox settings
|
589 |
+
</li>
|
590 |
+
<li class="ffwd_tab" id="ffwd_tab_comments" show="comments_tab" onclick="ffwd_change_tab(this)">
|
591 |
+
Comments
|
592 |
+
</li>
|
593 |
+
<li class="ffwd_tab" id="ffwd_tab_page_plugin" show="page_plugin_tab"
|
594 |
+
onclick="ffwd_change_tab(this)">Page plugin
|
595 |
+
</li>
|
596 |
+
<li class="ffwd_tab" id="ffwd_tab_events" show="events_tab" onclick="ffwd_change_tab(this)">Events
|
597 |
+
</li>
|
598 |
+
</ul>
|
599 |
+
</div>
|
600 |
+
|
601 |
+
|
602 |
+
|
603 |
+
|
604 |
+
<div class="ffwd_butts_c" style="float:right;">
|
605 |
+
<input class=" ffwd-button-primary ffwd-button-save" type="button"
|
606 |
+
onclick="if (spider_check_required('name', 'Name'))return false;
|
607 |
+
spider_set_input_value('task', 'save');
|
608 |
+
spider_ajax_save('<?php echo WD_FB_PREFIX; ?>');" value="Save"/>
|
609 |
+
<input class=" ffwd-button-primary ffwd-button-apply" type="button"
|
610 |
+
onclick="if (spider_check_required('name', 'Name')) return false;
|
611 |
+
spider_set_input_value('task', 'apply');
|
612 |
+
spider_ajax_save('<?php echo WD_FB_PREFIX; ?>');" value="Apply"/>
|
613 |
+
<input class=" ffwd-button-secondary ffwd-button-cancel" type="submit" onclick="spider_set_input_value('page_number', '1');
|
614 |
+
spider_set_input_value('task', 'cancel')"
|
615 |
+
value="Cancel"/>
|
616 |
+
</div>
|
617 |
+
<div style="clear:both"></div>
|
618 |
+
|
619 |
+
<div class="ffwd_border_wrapper">
|
620 |
+
<div class="ffwd_p ffwd_main">
|
621 |
+
|
622 |
+
|
623 |
+
<div class="ffwd_main_set_c">
|
624 |
+
<table>
|
625 |
+
<tbody>
|
626 |
+
<tr>
|
627 |
+
<td class="ffwd_set_l"><label for="name">Name: <span style="color:#FF0000;">*</span>
|
628 |
+
</label></td>
|
629 |
+
<td><input type="text" id="name" name="name" value="<?php echo $row->name; ?>"
|
630 |
+
size="39"/></td>
|
631 |
+
</tr>
|
632 |
+
<tr>
|
633 |
+
<td class="ffwd_set_l"><label for="<?php echo WD_FB_PREFIX; ?>_type">FB type: </label>
|
634 |
+
</td>
|
635 |
+
<td style="margin-bottom:15px">
|
636 |
+
<select name="<?php echo WD_FB_PREFIX; ?>_type"
|
637 |
+
id="<?php echo WD_FB_PREFIX; ?>_type" style="width:90px;"
|
638 |
+
onchange="choose_fb_type('<?php echo WD_FB_PREFIX; ?>', jQuery(this).val());">
|
639 |
+
<option value="selected" <?php if ($type == '') echo 'selected="selected"'; ?>>
|
640 |
+
Select
|
641 |
+
</option>
|
642 |
+
<option value="page" <?php if ($type == 'page') echo 'selected="selected"'; ?>>
|
643 |
+
Page
|
644 |
+
</option>
|
645 |
+
<option
|
646 |
+
value="group" <?php if ($type == 'group') echo 'selected="selected"'; ?>>
|
647 |
+
Group
|
648 |
+
</option>
|
649 |
+
<option disabled
|
650 |
+
value="profile">
|
651 |
+
Profile
|
652 |
+
</option>
|
653 |
+
</select>
|
654 |
+
<br>
|
655 |
+
<label for="" class="ffwd_pro_only">Profile Type is Available Only in PRO
|
656 |
+
version</label>
|
657 |
+
</td>
|
658 |
+
</tr>
|
659 |
+
</tbody>
|
660 |
+
<!-- fb type page -->
|
661 |
+
<tbody id="<?php echo WD_FB_PREFIX; ?>_type_page"
|
662 |
+
style="display:<?php echo($type == 'page' ? 'table-row-group' : 'none'); ?>;">
|
663 |
+
<tr>
|
664 |
+
<td class="ffwd_set_l"><label for="<?php echo WD_FB_PREFIX; ?>_page_url">Page
|
665 |
+
url: </label></td>
|
666 |
+
<td style="margin-bottom:15px"><input type="text"
|
667 |
+
id="<?php echo WD_FB_PREFIX; ?>_page_url"
|
668 |
+
name="<?php echo WD_FB_PREFIX; ?>_page_url"
|
669 |
+
value="<?php echo $row->content_url; ?>"
|
670 |
+
size="64"/></td>
|
671 |
+
</tr>
|
672 |
+
<tr>
|
673 |
+
<td class="ffwd_set_l"><label for="<?php echo WD_FB_PREFIX; ?>_page_exist_access_tok">Use
|
674 |
+
Existing access token: </label></td>
|
675 |
+
<td style="margin-bottom:15px"><input type="checkbox"
|
676 |
+
id="<?php echo WD_FB_PREFIX; ?>_page_exist_access_tok"
|
677 |
+
name="<?php echo WD_FB_PREFIX; ?>_page_exist_access_tok"
|
678 |
+
value="<?php echo $row->exist_access; ?>" <?php echo($row->exist_access ? 'checked="checked"' : ''); ?>
|
679 |
+
onchange="if(jQuery('#<?php echo WD_FB_PREFIX; ?>_access_token_cont').css('display') == 'none') jQuery('#<?php echo WD_FB_PREFIX; ?>_access_token_cont').show(); else jQuery('#<?php echo WD_FB_PREFIX; ?>_access_token_cont').hide();"/>
|
680 |
+
</td>
|
681 |
+
</tr>
|
682 |
+
</tbody>
|
683 |
+
<!-- fb type group -->
|
684 |
+
<tbody id="<?php echo WD_FB_PREFIX; ?>_type_group"
|
685 |
+
style="display:<?php echo($type == 'group' ? 'table-row-group' : 'none'); ?>;">
|
686 |
+
<tr>
|
687 |
+
<td class="ffwd_set_l"><label for="<?php echo WD_FB_PREFIX; ?>_group_url">Group
|
688 |
+
id: </label></td>
|
689 |
+
<td style="margin-bottom:15px"><input type="text"
|
690 |
+
id="<?php echo WD_FB_PREFIX; ?>_group_url"
|
691 |
+
name="<?php echo WD_FB_PREFIX; ?>_group_url"
|
692 |
+
value="<?php echo $row->content_url; ?>"
|
693 |
+
size="18"/>
|
694 |
+
<div class="spider_description">To get your Group ID copy the group URL and paste it to <a href="https://lookup-id.com/" target="_blank">https://lookup-id.com/</a> and press Lookup button.</div>
|
695 |
+
|
696 |
+
|
697 |
+
</td>
|
698 |
+
</tr>
|
699 |
+
<tr>
|
700 |
+
<td class="ffwd_set_l"><label for="<?php echo WD_FB_PREFIX; ?>_group_exist_access_tok">Use
|
701 |
+
Existing access token: </label></td>
|
702 |
+
<td style="margin-bottom:15px"><input type="checkbox"
|
703 |
+
id="<?php echo WD_FB_PREFIX; ?>_group_exist_access_tok"
|
704 |
+
name="<?php echo WD_FB_PREFIX; ?>_group_exist_access_tok"
|
705 |
+
value="<?php echo $row->exist_access; ?>" <?php echo($row->exist_access ? 'checked="checked"' : ''); ?>
|
706 |
+
onchange="if(jQuery('#<?php echo WD_FB_PREFIX; ?>_access_token_cont').css('display') == 'none') jQuery('#<?php echo WD_FB_PREFIX; ?>_access_token_cont').show(); else jQuery('#<?php echo WD_FB_PREFIX; ?>_access_token_cont').hide();"/>
|
707 |
+
</td>
|
708 |
+
</tr>
|
709 |
+
</tbody>
|
710 |
+
<!-- fb type profile -->
|
711 |
+
<tbody id="<?php echo WD_FB_PREFIX; ?>_type_profile"
|
712 |
+
style="display:<?php echo($type == 'profile' ? 'table-row-group' : 'none'); ?>;">
|
713 |
+
<?php if (!$this->model->check_logged_in_user()): ?>
|
714 |
+
<tr>
|
715 |
+
<td class="ffwd_set_l" style="margin-bottom:15px;vertical-align:middle"></td>
|
716 |
+
<td>
|
717 |
+
<label for="wd_fb_facebook_log_in" class="wd_fb_facebook_log_in" style="">Please
|
718 |
+
login. Press Options button bellow: </label>
|
719 |
+
<a href="admin.php?page=options_ffwd" class="wd_fb_options_button" style="">
|
720 |
+
Options </a>
|
721 |
+
</td>
|
722 |
+
</tr>
|
723 |
+
<?php endif; ?>
|
724 |
+
</tbody>
|
725 |
+
<!-- fb content type -->
|
726 |
+
<tbody id="<?php echo WD_FB_PREFIX; ?>_content_type"
|
727 |
+
style="display:<?php echo($type != '' ? 'table-row-group' : 'none'); ?>;">
|
728 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_access_token_cont"
|
729 |
+
style="display:<?php echo(!$row->exist_access ? 'table-row' : 'none'); ?>;">
|
730 |
+
<td class="ffwd_set_l"><label for="<?php echo WD_FB_PREFIX; ?>_access_token">Your access
|
731 |
+
token: </label></td>
|
732 |
+
<td style="margin-bottom:15px"><input type="text"
|
733 |
+
id="<?php echo WD_FB_PREFIX; ?>_access_token"
|
734 |
+
name="<?php echo WD_FB_PREFIX; ?>_access_token"
|
735 |
+
value="<?php echo $row->access_token; ?>"
|
736 |
+
size="64"/></td>
|
737 |
+
</tr>
|
738 |
+
<tr>
|
739 |
+
<td class="ffwd_set_l"><label>Content type: </label></td>
|
740 |
+
<td style="margin-bottom:15px">
|
741 |
+
<input type="radio" class="inputbox"
|
742 |
+
id="<?php echo WD_FB_PREFIX; ?>_content_timeline"
|
743 |
+
name="<?php echo WD_FB_PREFIX; ?>_content_type" checked="checked"
|
744 |
+
value="timeline"
|
745 |
+
onchange="choose_fb_content_type('<?php echo WD_FB_PREFIX; ?>', jQuery(this).val());">
|
746 |
+
<label for="<?php echo WD_FB_PREFIX; ?>_content_timeline">Timeline</label>
|
747 |
+
<input disabled type="radio" class="inputbox"
|
748 |
+
id="<?php echo WD_FB_PREFIX; ?>_content_specific"
|
749 |
+
name="<?php echo WD_FB_PREFIX; ?>_content_type"
|
750 |
+
value="specific"
|
751 |
+
onchange="choose_fb_content_type('<?php echo WD_FB_PREFIX; ?>', jQuery(this).val());">
|
752 |
+
<label for="<?php echo WD_FB_PREFIX; ?>_content_specific">Specific</label>
|
753 |
+
<br>
|
754 |
+
<label for="" class="ffwd_pro_only">Specific Content Type is Available Only in PRO
|
755 |
+
version</label>
|
756 |
+
</td>
|
757 |
+
</tr>
|
758 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_content_type_timeline_type"
|
759 |
+
style="display:<?php echo($row->content_type == 'timeline' ? 'table-row' : 'none'); ?>;">
|
760 |
+
<td class="ffwd_set_l"><label>Show posts by: </label></td>
|
761 |
+
<td style="margin-bottom:15px">
|
762 |
+
<select name="<?php echo WD_FB_PREFIX; ?>_timeline_type"
|
763 |
+
id="<?php echo WD_FB_PREFIX; ?>_timeline_type" style="width:130px">
|
764 |
+
<option
|
765 |
+
value="posts" <?php if ($row->timeline_type == 'posts') echo 'selected="selected"'; ?>>
|
766 |
+
Owner
|
767 |
+
</option>
|
768 |
+
<option
|
769 |
+
value="others" <?php if ($row->timeline_type == 'others') echo 'selected="selected"'; ?>>
|
770 |
+
Others
|
771 |
+
</option>
|
772 |
+
<option
|
773 |
+
value="feed" <?php if ($row->timeline_type == 'feed') echo 'selected="selected"'; ?>>
|
774 |
+
Owner and others
|
775 |
+
</option>
|
776 |
+
</select>
|
777 |
+
</td>
|
778 |
+
</tr>
|
779 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_content_type_timeline"
|
780 |
+
style="display:<?php echo($row->content_type == 'timeline' ? 'table-row' : 'none'); ?>;">
|
781 |
+
<td class="ffwd_set_l"><label>Post type: </label></td>
|
782 |
+
<td>
|
783 |
+
<input disabled type="checkbox" class="inputbox"
|
784 |
+
id="<?php echo WD_FB_PREFIX; ?>_timeline_statuses"
|
785 |
+
name="<?php echo WD_FB_PREFIX; ?>_timeline_statuses" checked="checked"
|
786 |
+
value="statuses">
|
787 |
+
<label for="<?php echo WD_FB_PREFIX; ?>_timeline_statuses">Statuses</label>
|
788 |
+
<br>
|
789 |
+
<input disabled type="checkbox" class="inputbox"
|
790 |
+
id="<?php echo WD_FB_PREFIX; ?>_timeline_photos"
|
791 |
+
name="<?php echo WD_FB_PREFIX; ?>_timeline_photos" checked="checked"
|
792 |
+
value="photos">
|
793 |
+
<label for="<?php echo WD_FB_PREFIX; ?>_timeline_photos">Photos</label>
|
794 |
+
<br>
|
795 |
+
<input disabled type="checkbox" class="inputbox"
|
796 |
+
id="<?php echo WD_FB_PREFIX; ?>_timeline_videos"
|
797 |
+
name="<?php echo WD_FB_PREFIX; ?>_timeline_videos" checked="checked"
|
798 |
+
value="videos">
|
799 |
+
<label for="<?php echo WD_FB_PREFIX; ?>_timeline_videos">Videos</label>
|
800 |
+
<br>
|
801 |
+
<input disabled type="checkbox" class="inputbox"
|
802 |
+
id="<?php echo WD_FB_PREFIX; ?>_timeline_links"
|
803 |
+
name="<?php echo WD_FB_PREFIX; ?>_timeline_links" checked="checked"
|
804 |
+
value="links">
|
805 |
+
<label for="<?php echo WD_FB_PREFIX; ?>_timeline_links">Links</label>
|
806 |
+
<br>
|
807 |
+
<input disabled type="checkbox" class="inputbox"
|
808 |
+
id="<?php echo WD_FB_PREFIX; ?>_timeline_events"
|
809 |
+
name="<?php echo WD_FB_PREFIX; ?>_timeline_events" checked="checked"
|
810 |
+
style="display:<?php echo($type != 'profile' ? 'inline-block' : 'none'); ?>;"
|
811 |
+
value="events">
|
812 |
+
<label style="display:<?php echo($type != 'profile' ? 'inline-block' : 'none'); ?>;"
|
813 |
+
for="<?php echo WD_FB_PREFIX; ?>_timeline_events">Events</label>
|
814 |
+
|
815 |
+
<br>
|
816 |
+
<label for="" class="ffwd_pro_only">This Feature is Available Only in PRO
|
817 |
+
version</label>
|
818 |
+
|
819 |
+
</td>
|
820 |
+
</tr>
|
821 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_content_type_specific"
|
822 |
+
style="display:<?php echo($row->content_type == 'specific' ? 'table-row' : 'none'); ?>;">
|
823 |
+
<td class="ffwd_set_l"><label>Use page's: </label></td>
|
824 |
+
<td>
|
825 |
+
<input type="radio" class="inputbox"
|
826 |
+
id="<?php echo WD_FB_PREFIX; ?>_specific_photos"
|
827 |
+
onchange="choose_fb_content_type('<?php echo WD_FB_PREFIX; ?>', 'specific');"
|
828 |
+
name="<?php echo WD_FB_PREFIX; ?>_specific" <?php echo (strpos($row->content, 'photos') !== false) ? 'checked="checked"' : ''; ?>
|
829 |
+
value="photos">
|
830 |
+
<label for="<?php echo WD_FB_PREFIX; ?>_specific_photos">Photos</label>
|
831 |
+
<br>
|
832 |
+
<input type="radio" class="inputbox"
|
833 |
+
id="<?php echo WD_FB_PREFIX; ?>_specific_videos"
|
834 |
+
onchange="choose_fb_content_type('<?php echo WD_FB_PREFIX; ?>', 'specific');"
|
835 |
+
name="<?php echo WD_FB_PREFIX; ?>_specific" <?php echo (strpos($row->content, 'videos') !== false) ? 'checked="checked"' : ''; ?>
|
836 |
+
value="videos">
|
837 |
+
<label for="<?php echo WD_FB_PREFIX; ?>_specific_videos">Videos</label>
|
838 |
+
<br>
|
839 |
+
<input type="radio" class="inputbox"
|
840 |
+
id="<?php echo WD_FB_PREFIX; ?>_specific_albums"
|
841 |
+
onchange="choose_fb_content_type('<?php echo WD_FB_PREFIX; ?>', 'specific');"
|
842 |
+
name="<?php echo WD_FB_PREFIX; ?>_specific" <?php echo (strpos($row->content, 'albums') !== false) ? 'checked="checked"' : ''; ?>
|
843 |
+
value="albums">
|
844 |
+
<label for="<?php echo WD_FB_PREFIX; ?>_specific_albums">Albums</label>
|
845 |
+
<br>
|
846 |
+
<input type="radio" class="inputbox"
|
847 |
+
id="<?php echo WD_FB_PREFIX; ?>_specific_events"
|
848 |
+
onchange="choose_fb_content_type('<?php echo WD_FB_PREFIX; ?>', 'specific');"
|
849 |
+
name="<?php echo WD_FB_PREFIX; ?>_specific" <?php echo (strpos($row->content, 'events') !== false) ? 'checked="checked"' : ''; ?>
|
850 |
+
value="events">
|
851 |
+
<label for="<?php echo WD_FB_PREFIX; ?>_specific_events">Events</label>
|
852 |
+
</td>
|
853 |
+
</tr>
|
854 |
+
<tr>
|
855 |
+
<td class="ffwd_set_l"><label for="<?php echo WD_FB_PREFIX; ?>_limit">Number of posts: </label>
|
856 |
+
</td>
|
857 |
+
<td><input type="number" id="<?php echo WD_FB_PREFIX; ?>_limit"
|
858 |
+
name="<?php echo WD_FB_PREFIX; ?>_limit" value="<?php echo $row->limit; ?>"
|
859 |
+
size="19"/></td>
|
860 |
+
</tr>
|
861 |
+
<tr>
|
862 |
+
<td class="ffwd_set_l"><label>Published: </label></td>
|
863 |
+
<td>
|
864 |
+
<input type="radio" class="inputbox" id="published0"
|
865 |
+
name="published" <?php echo(($row->published) ? '' : 'checked="checked"'); ?>
|
866 |
+
value="0">
|
867 |
+
<label for="published0">No</label>
|
868 |
+
<input type="radio" class="inputbox" id="published1"
|
869 |
+
name="published" <?php echo(($row->published) ? 'checked="checked"' : ''); ?>
|
870 |
+
value="1">
|
871 |
+
<label for="published1">Yes</label>
|
872 |
+
</td>
|
873 |
+
</tr>
|
874 |
+
<tr>
|
875 |
+
<td class="ffwd_set_l"><label>Update: </label></td>
|
876 |
+
<td>
|
877 |
+
<input type="radio" class="inputbox" id="remove_old"
|
878 |
+
name="update_mode" <?php echo(($row->update_mode == 'remove_old') ? 'checked="checked"' : ''); ?>
|
879 |
+
value="remove_old">
|
880 |
+
<label for="remove_old">Add new ones remove old</label><br>
|
881 |
+
<input type="radio" class="inputbox" id="keep_old"
|
882 |
+
name="update_mode" <?php echo(($row->update_mode == 'keep_old') ? 'checked="checked"' : ''); ?>
|
883 |
+
value="keep_old">
|
884 |
+
<label for="keep_old">Add new ones keep old</label><br>
|
885 |
+
<input type="radio" class="inputbox" id="no_update"
|
886 |
+
name="update_mode" <?php echo(($row->update_mode == 'no_update') ? 'checked="checked"' : ''); ?>
|
887 |
+
value="no_update">
|
888 |
+
<label for="no_update">No update</label>
|
889 |
+
</td>
|
890 |
+
</tr>
|
891 |
+
</tbody>
|
892 |
+
</table>
|
893 |
+
</div>
|
894 |
+
<div class="ffwd_views_c" <?php if ($row->type == '') echo 'style="display:none"' ?>>
|
895 |
+
|
896 |
+
<div class="ffwd_view ffwd_view_en ffwd_view_t ffwd_thumbnails"
|
897 |
+
onClick="ffwd_view_type('<?php echo WD_FB_PREFIX; ?>', 'thumbnails', this)">
|
898 |
+
<div><input type="radio" name="ffwd_view_select"/> Thumbnails View</div>
|
899 |
+
</div>
|
900 |
+
<div class="ffwd_view ffwd_view_m ffwd_thumbnails_masonry"
|
901 |
+
onClick="ffwd_view_type('<?php echo WD_FB_PREFIX; ?>', 'thumbnails_masonry', this)">
|
902 |
+
<div><input type="radio" name="ffwd_view_select"/> Masonry View</div>
|
903 |
+
</div>
|
904 |
+
<div class="ffwd_view ffwd_view_bh ffwd_blog_style"
|
905 |
+
onClick="ffwd_view_type('<?php echo WD_FB_PREFIX; ?>', 'blog_style', this)">
|
906 |
+
<div><input type="radio" name="ffwd_view_select"/>BlogStyle View</div>
|
907 |
+
</div>
|
908 |
+
<div class="ffwd_view ffwd_view_a ffwd_album_compact"
|
909 |
+
onClick="ffwd_view_type('<?php echo WD_FB_PREFIX; ?>', 'album_compact', this)">
|
910 |
+
<div><input type="radio" name="ffwd_view_select"/>Album View</div>
|
911 |
+
</div>
|
912 |
+
<input type="hidden" id="ffwd_fb_view_type" name="ffwd_fb_view_type"
|
913 |
+
value="<?php echo $row->fb_view_type ?>"/>
|
914 |
+
</div>
|
915 |
+
<div class="ffwd_views_set">
|
916 |
+
<div class="ffwd_header_c">
|
917 |
+
<label class="ffwd_header_l">View settings</label>
|
918 |
+
</div>
|
919 |
+
<div class="ffwd_view_t_s">
|
920 |
+
|
921 |
+
<table class="ffwd_sett_tabl">
|
922 |
+
<tbody>
|
923 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_theme">
|
924 |
+
<td class="ffwd_set_l"><label
|
925 |
+
for="<?php echo WD_FB_PREFIX; ?>_theme">Theme: </label></td>
|
926 |
+
<td class="ffwd_set_i">
|
927 |
+
<select disabled name="<?php echo WD_FB_PREFIX; ?>_theme"
|
928 |
+
id="<?php echo WD_FB_PREFIX; ?>_theme" style="width:150px;">
|
929 |
+
<option value="0" selected="selected">Select Theme</option>
|
930 |
+
<?php
|
931 |
+
foreach ($theme_rows as $theme_row) {
|
932 |
+
?>
|
933 |
+
<option <?php echo ($theme_row->default_theme) ? 'selected="selected"' : ''; ?>
|
934 |
+
value="<?php echo $theme_row->id; ?>"><?php echo $theme_row->name; ?></option>
|
935 |
+
<?php
|
936 |
+
}
|
937 |
+
?>
|
938 |
+
</select>
|
939 |
+
<br>
|
940 |
+
<label class="ffwd_pro_only">Changing Theme is Available Only in PRO version</label>
|
941 |
+
</td>
|
942 |
+
</tr>
|
943 |
+
<!--Thumbnails, Masonry viewies-->
|
944 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_masonry_hor_ver">
|
945 |
+
<td class="ffwd_set_l"><label>Masonry: </label></td>
|
946 |
+
<td class="ffwd_set_i">
|
947 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_masonry_hor_ver"
|
948 |
+
id="<?php echo WD_FB_PREFIX; ?>_masonry_ver" value="vertical"
|
949 |
+
onclick="ffwd_change_label('<?php echo WD_FB_PREFIX; ?>_image_max_columns_label', 'Max. number of image columns: ');
|
950 |
+
ffwd_change_label('<?php echo WD_FB_PREFIX; ?>_thumb_width_height_label', 'Image thumbnail width: ');
|
951 |
+
jQuery('#<?php echo WD_FB_PREFIX; ?>_thumb_width').show();
|
952 |
+
jQuery('#<?php echo WD_FB_PREFIX; ?>_thumb_height').hide();
|
953 |
+
jQuery('#<?php echo WD_FB_PREFIX; ?>_tr_thumb_name').css('display', 'table-row');
|
954 |
+
jQuery('#<?php echo WD_FB_PREFIX; ?>_pagination_type').children()[2].disabled = false;
|
955 |
+
jQuery('#<?php echo WD_FB_PREFIX; ?>_pagination_type').children()[3].disabled = false;
|
956 |
+
jQuery('#<?php echo WD_FB_PREFIX; ?>_thumb_width_height_separator').hide();"
|
957 |
+
checked <?php checked($row->masonry_hor_ver, 'vertical') ?> /><label
|
958 |
+
for="<?php echo WD_FB_PREFIX; ?>_masonry_ver">Vertical</label>
|
959 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_masonry_hor_ver"
|
960 |
+
id="<?php echo WD_FB_PREFIX; ?>_masonry_hor" value="horizontal"
|
961 |
+
onclick="ffwd_change_label('<?php echo WD_FB_PREFIX; ?>_image_max_columns_label', 'Number of image rows: ');
|
962 |
+
ffwd_change_label('<?php echo WD_FB_PREFIX; ?>_thumb_width_height_label', 'Image thumbnail Height: ');
|
963 |
+
jQuery('#<?php echo WD_FB_PREFIX; ?>_thumb_width').hide();
|
964 |
+
jQuery('#<?php echo WD_FB_PREFIX; ?>_thumb_height').show();
|
965 |
+
jQuery('#<?php echo WD_FB_PREFIX; ?>_tr_thumb_name').css('display', 'none');
|
966 |
+
jQuery('#<?php echo WD_FB_PREFIX; ?>_pagination_type').children()[1].selected = true;
|
967 |
+
jQuery('#<?php echo WD_FB_PREFIX; ?>_pagination_type').children()[2].disabled = true;
|
968 |
+
jQuery('#<?php echo WD_FB_PREFIX; ?>_pagination_type').children()[3].disabled = true;
|
969 |
+
jQuery('#<?php echo WD_FB_PREFIX; ?>_thumb_width_height_separator').hide();" <?php checked($row->masonry_hor_ver, 'horizontal') ?> /><label
|
970 |
+
for="<?php echo WD_FB_PREFIX; ?>_masonry_hor">Horizontal</label>
|
971 |
+
</td>
|
972 |
+
</tr>
|
973 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_image_max_columns">
|
974 |
+
<td class="ffwd_set_l"><label
|
975 |
+
id="<?php echo WD_FB_PREFIX; ?>_image_max_columns_label"
|
976 |
+
for="<?php echo WD_FB_PREFIX; ?>_image_max_columns">Max. number of image
|
977 |
+
columns: </label></td>
|
978 |
+
<td><input type="text" name="<?php echo WD_FB_PREFIX; ?>_image_max_columns"
|
979 |
+
id="<?php echo WD_FB_PREFIX; ?>_image_max_columns"
|
980 |
+
value="<?php echo $row->image_max_columns == 0 ? '5' : $row->image_max_columns ?>"
|
981 |
+
class="spider_int_input"/></td>
|
982 |
+
</tr>
|
983 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_thumb_width_height">
|
984 |
+
<td title="Maximum values for thumbnail dimension." class="ffwd_set_l"><label
|
985 |
+
id="<?php echo WD_FB_PREFIX; ?>_thumb_width_height_label"
|
986 |
+
for="<?php echo WD_FB_PREFIX; ?>_thumb_width">Image Thumbnail
|
987 |
+
dimensions: </label></td>
|
988 |
+
<td class="ffwd_set_i">
|
989 |
+
<input type="text" name="<?php echo WD_FB_PREFIX; ?>_thumb_width"
|
990 |
+
id="<?php echo WD_FB_PREFIX; ?>_thumb_width"
|
991 |
+
value="<?php echo $row->thumb_width == 0 ? '200' : $row->thumb_width ?>"
|
992 |
+
class="spider_int_input"/><span
|
993 |
+
id="<?php echo WD_FB_PREFIX; ?>_thumb_width_height_separator"> x </span>
|
994 |
+
<input type="text" name="<?php echo WD_FB_PREFIX; ?>_thumb_height"
|
995 |
+
id="<?php echo WD_FB_PREFIX; ?>_thumb_height"
|
996 |
+
value="<?php echo $row->thumb_height == 0 ? '150' : $row->thumb_height ?>"
|
997 |
+
class="spider_int_input"/> px
|
998 |
+
</td>
|
999 |
+
</tr>
|
1000 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_thumb_comments">
|
1001 |
+
<td title="Show comments" class="ffwd_set_l"><label>Show comments: </label></td>
|
1002 |
+
<td class="ffwd_set_i">
|
1003 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_thumb_comments"
|
1004 |
+
id="<?php echo WD_FB_PREFIX; ?>_thumb_comments_1" value="1"
|
1005 |
+
checked="checked" <?php checked($row->thumb_comments, 1) ?> /><label
|
1006 |
+
for="<?php echo WD_FB_PREFIX; ?>_thumb_comments_yes">Yes</label>
|
1007 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_thumb_comments"
|
1008 |
+
id="<?php echo WD_FB_PREFIX; ?>_thumb_comments_0"
|
1009 |
+
value="0" <?php checked($row->thumb_comments, 0) ?> /><label
|
1010 |
+
for="<?php echo WD_FB_PREFIX; ?>_thumb_comments_no">No</label>
|
1011 |
+
</td>
|
1012 |
+
</tr>
|
1013 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_thumb_likes">
|
1014 |
+
<td title="Show likes" class="ffwd_set_l"><label>Show likes: </label></td>
|
1015 |
+
<td class="ffwd_set_i">
|
1016 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_thumb_likes"
|
1017 |
+
id="<?php echo WD_FB_PREFIX; ?>_thumb_likes_1" value="1"
|
1018 |
+
checked="checked" <?php checked($row->thumb_likes, 1) ?> /><label
|
1019 |
+
for="<?php echo WD_FB_PREFIX; ?>_thumb_likes_yes">Yes</label>
|
1020 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_thumb_likes"
|
1021 |
+
id="<?php echo WD_FB_PREFIX; ?>_thumb_likes_0"
|
1022 |
+
value="0" <?php checked($row->thumb_likes, 0) ?> /><label
|
1023 |
+
for="<?php echo WD_FB_PREFIX; ?>_thumb_likes_no">No</label>
|
1024 |
+
</td>
|
1025 |
+
</tr>
|
1026 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_thumb_name">
|
1027 |
+
<td title="Show likes" class="ffwd_set_l"><label>Show name: </label></td>
|
1028 |
+
<td class="ffwd_set_i">
|
1029 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_thumb_name"
|
1030 |
+
id="<?php echo WD_FB_PREFIX; ?>_thumb_name_1" value="1"
|
1031 |
+
checked="checked" <?php checked($row->thumb_name, 1) ?> /><label
|
1032 |
+
for="<?php echo WD_FB_PREFIX; ?>_thumb_name_1">Yes</label>
|
1033 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_thumb_name"
|
1034 |
+
id="<?php echo WD_FB_PREFIX; ?>_thumb_name_0"
|
1035 |
+
value="0" <?php checked($row->thumb_name, 0) ?> /><label
|
1036 |
+
for="<?php echo WD_FB_PREFIX; ?>_thumb_name_0">No</label>
|
1037 |
+
</td>
|
1038 |
+
</tr>
|
1039 |
+
<!--Blog Style view-->
|
1040 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_width">
|
1041 |
+
<td title="Maximum value for image width." class="ffwd_set_l"><label
|
1042 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_width">Width: </label></td>
|
1043 |
+
<td class="ffwd_set_i">
|
1044 |
+
<input type="text" name="<?php echo WD_FB_PREFIX; ?>_blog_style_width"
|
1045 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_width"
|
1046 |
+
value="<?php echo $row->blog_style_width == 0 ? '700' : $row->blog_style_width ?>"
|
1047 |
+
class="spider_int_input"/>
|
1048 |
+
</td>
|
1049 |
+
</tr>
|
1050 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_height">
|
1051 |
+
<td title="Maximum value for image height." class="ffwd_set_l"><label
|
1052 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_height">Height: </label></td>
|
1053 |
+
<td class="ffwd_set_i">
|
1054 |
+
<input type="text" name="<?php echo WD_FB_PREFIX; ?>_blog_style_height"
|
1055 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_height"
|
1056 |
+
value="<?php echo $row->blog_style_height == 0 ? '' : $row->blog_style_height ?>"
|
1057 |
+
class="spider_int_input"/>
|
1058 |
+
</td>
|
1059 |
+
</tr>
|
1060 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_view_type">
|
1061 |
+
<td title="Maximum value for image width." class="ffwd_set_l"><label
|
1062 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_view_type_1">View
|
1063 |
+
style: </label></td>
|
1064 |
+
<td class="ffwd_set_i">
|
1065 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_view_type"
|
1066 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_view_type_1" value="1"
|
1067 |
+
checked="checked" <?php checked($row->blog_style_view_type, 1) ?>
|
1068 |
+
onchange=""/><label
|
1069 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_view_type_1">Full width</label>
|
1070 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_view_type"
|
1071 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_view_type_0"
|
1072 |
+
value="0" <?php checked($row->blog_style_view_type, 0) ?>
|
1073 |
+
onchange=""/><label
|
1074 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_view_type_0">Half width</label>
|
1075 |
+
</td>
|
1076 |
+
</tr>
|
1077 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_comments">
|
1078 |
+
<td title="Show comments" class="ffwd_set_l"><label>Show comments: </label></td>
|
1079 |
+
<td class="ffwd_set_i">
|
1080 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_comments"
|
1081 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_comments_1" value="1"
|
1082 |
+
checked="checked" <?php checked($row->blog_style_comments, 1) ?> /><label
|
1083 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_comments_yes">Yes</label>
|
1084 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_comments"
|
1085 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_comments_0"
|
1086 |
+
value="0" <?php checked($row->blog_style_comments, 0) ?> /><label
|
1087 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_comments_no">No</label>
|
1088 |
+
</td>
|
1089 |
+
</tr>
|
1090 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_likes">
|
1091 |
+
<td title="Show likes" class="ffwd_set_l"><label>Show likes: </label></td>
|
1092 |
+
<td class="ffwd_set_i">
|
1093 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_likes"
|
1094 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_likes_1"
|
1095 |
+
value="1" <?php checked($row->blog_style_likes, 1) ?> checked="checked"/><label
|
1096 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_likes_yes">Yes</label>
|
1097 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_likes"
|
1098 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_likes_0"
|
1099 |
+
value="0" <?php checked($row->blog_style_likes, 0) ?> /><label
|
1100 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_likes_no">No</label>
|
1101 |
+
</td>
|
1102 |
+
</tr>
|
1103 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_message_desc">
|
1104 |
+
<td title="Show likes" class="ffwd_set_l"><label>Show message(description): </label>
|
1105 |
+
</td>
|
1106 |
+
<td class="ffwd_set_i">
|
1107 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_message_desc"
|
1108 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_message_desc_1" value="1"
|
1109 |
+
checked="checked"/><label
|
1110 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_message_desc_1">Yes</label>
|
1111 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_message_desc"
|
1112 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_message_desc_0"
|
1113 |
+
value="0" <?php checked($row->blog_style_message_desc, 0) ?> /><label
|
1114 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_message_desc_0">No</label>
|
1115 |
+
</td>
|
1116 |
+
</tr>
|
1117 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_shares">
|
1118 |
+
<td title="Show share" class="ffwd_set_l"><label>Show share: </label></td>
|
1119 |
+
<td class="ffwd_set_i">
|
1120 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_shares"
|
1121 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_1" value="1"
|
1122 |
+
checked="checked"/><label
|
1123 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_1">Yes</label>
|
1124 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_shares"
|
1125 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_0"
|
1126 |
+
value="0" <?php checked($row->blog_style_shares, 0) ?> /><label
|
1127 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_0">No</label>
|
1128 |
+
</td>
|
1129 |
+
</tr>
|
1130 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_shares_butt">
|
1131 |
+
<td title="Show share buttons" class="ffwd_set_l"><label>Show share
|
1132 |
+
buttons: </label></td>
|
1133 |
+
<td class="ffwd_set_i">
|
1134 |
+
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_butt"
|
1135 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_butt_1" value="1"
|
1136 |
+
/><label
|
1137 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_butt_1">Yes</label>
|
1138 |
+
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_butt"
|
1139 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_butt_0"
|
1140 |
+
value="0" checked="checked" /><label
|
1141 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_shares_butt_0">No</label>
|
1142 |
+
<br>
|
1143 |
+
<label for="" class="ffwd_pro_only">This Feature is Available Only in PRO
|
1144 |
+
version</label>
|
1145 |
+
</td>
|
1146 |
+
</tr>
|
1147 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_facebook">
|
1148 |
+
<td title="Show Facebook share button" class="ffwd_set_l"><label>Show Facebook
|
1149 |
+
button: </label></td>
|
1150 |
+
<td class="ffwd_set_i">
|
1151 |
+
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_facebook"
|
1152 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_facebook_1" value="1"
|
1153 |
+
/><label
|
1154 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_facebook_1">Yes</label>
|
1155 |
+
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_facebook"
|
1156 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_facebook_0"
|
1157 |
+
value="0" checked="checked" /><label
|
1158 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_facebook_0">No</label>
|
1159 |
+
<br>
|
1160 |
+
<label for="" class="ffwd_pro_only">This Feature is Available Only in PRO
|
1161 |
+
version</label>
|
1162 |
+
</td>
|
1163 |
+
</tr>
|
1164 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_twitter">
|
1165 |
+
<td title="Show Twitter share button" class="ffwd_set_l"><label>Show Twitter
|
1166 |
+
button: </label></td>
|
1167 |
+
<td class="ffwd_set_i">
|
1168 |
+
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_twitter"
|
1169 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_twitter_1" value="1"
|
1170 |
+
/><label
|
1171 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_twitter_1">Yes</label>
|
1172 |
+
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_twitter"
|
1173 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_twitter_0"
|
1174 |
+
value="0" checked="checked" /><label
|
1175 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_twitter_0">No</label>
|
1176 |
+
<br>
|
1177 |
+
<label for="" class="ffwd_pro_only">This Feature is Available Only in PRO
|
1178 |
+
version</label>
|
1179 |
+
</td>
|
1180 |
+
</tr>
|
1181 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_google">
|
1182 |
+
<td title="Show Google+ share button" class="ffwd_set_l"><label>Show Google+
|
1183 |
+
button: </label></td>
|
1184 |
+
<td class="ffwd_set_i">
|
1185 |
+
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_google"
|
1186 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_google_1" value="1"
|
1187 |
+
/><label
|
1188 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_google_1">Yes</label>
|
1189 |
+
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_google"
|
1190 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_google_0"
|
1191 |
+
value="0" checked="checked" /><label
|
1192 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_google_0">No</label>
|
1193 |
+
<br>
|
1194 |
+
<label for="" class="ffwd_pro_only">This Feature is Available Only in PRO
|
1195 |
+
version</label>
|
1196 |
+
</td>
|
1197 |
+
</tr>
|
1198 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_author">
|
1199 |
+
<td title="Show author" class="ffwd_set_l"><label>Show author: </label></td>
|
1200 |
+
<td class="ffwd_set_i">
|
1201 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_author"
|
1202 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_author_1" value="1"
|
1203 |
+
checked="checked"/><label
|
1204 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_author_1">Yes</label>
|
1205 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_author"
|
1206 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_author_0"
|
1207 |
+
value="0" <?php checked($row->blog_style_author, 0) ?> /><label
|
1208 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_author_0">No</label>
|
1209 |
+
</td>
|
1210 |
+
</tr>
|
1211 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_name">
|
1212 |
+
<td title="Show post name" class="ffwd_set_l"><label>Show post name: </label></td>
|
1213 |
+
<td class="ffwd_set_i">
|
1214 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_name"
|
1215 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_name_1" value="1"
|
1216 |
+
checked="checked"/><label
|
1217 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_name_1">Yes</label>
|
1218 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_name"
|
1219 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_name_0"
|
1220 |
+
value="0" <?php checked($row->blog_style_name, 0) ?> /><label
|
1221 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_name_0">No</label>
|
1222 |
+
</td>
|
1223 |
+
</tr>
|
1224 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_blog_style_place_name">
|
1225 |
+
<td title="Show place name" class="ffwd_set_l"><label>Show place name: </label></td>
|
1226 |
+
<td class="ffwd_set_i">
|
1227 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_place_name"
|
1228 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_place_name_1" value="1"
|
1229 |
+
checked="checked"/><label
|
1230 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_place_name_1">Yes</label>
|
1231 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_blog_style_place_name"
|
1232 |
+
id="<?php echo WD_FB_PREFIX; ?>_blog_style_place_name_0"
|
1233 |
+
value="0" <?php checked($row->blog_style_place_name, 0) ?> /><label
|
1234 |
+
for="<?php echo WD_FB_PREFIX; ?>_blog_style_place_name_0">No</label>
|
1235 |
+
</td>
|
1236 |
+
</tr>
|
1237 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_fb_name">
|
1238 |
+
<td title="Show fb name" class="ffwd_set_l"><label>Show feed name: </label></td>
|
1239 |
+
<td class="ffwd_set_i">
|
1240 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_fb_name"
|
1241 |
+
id="<?php echo WD_FB_PREFIX; ?>_fb_name_1" value="1"
|
1242 |
+
checked="checked"/><label
|
1243 |
+
for="<?php echo WD_FB_PREFIX; ?>_fb_name_1">Yes</label>
|
1244 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_fb_name"
|
1245 |
+
id="<?php echo WD_FB_PREFIX; ?>_fb_name_0"
|
1246 |
+
value="0" <?php checked($row->fb_name, 0) ?> /><label
|
1247 |
+
for="<?php echo WD_FB_PREFIX; ?>_fb_name_0">No</label>
|
1248 |
+
</td>
|
1249 |
+
</tr>
|
1250 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_fb_plugin">
|
1251 |
+
<td title="Displays page basic information and allows to like the page" class="ffwd_set_l"><label>Show Page Plugin: </label>
|
1252 |
+
</td>
|
1253 |
+
<td class="ffwd_set_i">
|
1254 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_fb_plugin"
|
1255 |
+
id="<?php echo WD_FB_PREFIX; ?>_fb_plugin_1" value="1" checked="checked"
|
1256 |
+
onchange="ffwd_toggle_page_plugin(1)"/><label
|
1257 |
+
for="<?php echo WD_FB_PREFIX; ?>_fb_plugin_1">Yes</label>
|
1258 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_fb_plugin"
|
1259 |
+
id="<?php echo WD_FB_PREFIX; ?>_fb_plugin_0"
|
1260 |
+
value="0" <?php checked($row->fb_plugin, 0) ?>
|
1261 |
+
onchange="ffwd_toggle_page_plugin(0)"/><label
|
1262 |
+
for="<?php echo WD_FB_PREFIX; ?>_fb_plugin_0">No</label>
|
1263 |
+
<p class="description">Displays page basic information and allows to like the page</p>
|
1264 |
+
</td>
|
1265 |
+
</tr>
|
1266 |
+
|
1267 |
+
<!--Compact Album view-->
|
1268 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_compuct_album_column_number">
|
1269 |
+
<td class="ffwd_set_l"><label
|
1270 |
+
for="<?php echo WD_FB_PREFIX; ?>_compuct_album_column_number">Max. number of
|
1271 |
+
album columns: </label></td>
|
1272 |
+
<td><input type="text"
|
1273 |
+
name="<?php echo WD_FB_PREFIX; ?>_compuct_album_column_number"
|
1274 |
+
id="<?php echo WD_FB_PREFIX; ?>_compuct_album_column_number"
|
1275 |
+
value="<?php echo $row->album_max_columns == 0 ? '5' : $row->album_max_columns ?>"
|
1276 |
+
class="spider_int_input"/></td>
|
1277 |
+
</tr>
|
1278 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_compuct_album_title_hover">
|
1279 |
+
<td class="ffwd_set_l"><label>Album title: </label></td>
|
1280 |
+
<td class="ffwd_set_i">
|
1281 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_compuct_album_title"
|
1282 |
+
id="<?php echo WD_FB_PREFIX; ?>_compuct_album_title_hover" value="hover"
|
1283 |
+
checked/><label
|
1284 |
+
for="<?php echo WD_FB_PREFIX; ?>_compuct_album_title_hover">Show on
|
1285 |
+
hover</label><br/>
|
1286 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_compuct_album_title"
|
1287 |
+
id="<?php echo WD_FB_PREFIX; ?>_compuct_album_title_show"
|
1288 |
+
value="show" <?php checked($row->album_title, 'show') ?> /><label
|
1289 |
+
for="<?php echo WD_FB_PREFIX; ?>_compuct_album_title_show">Always
|
1290 |
+
show</label><br/>
|
1291 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_compuct_album_title"
|
1292 |
+
id="<?php echo WD_FB_PREFIX; ?>_compuct_album_title_none"
|
1293 |
+
value="none" <?php checked($row->album_title, 'none') ?> /><label
|
1294 |
+
for="<?php echo WD_FB_PREFIX; ?>_compuct_album_title_none">Don't
|
1295 |
+
show</label>
|
1296 |
+
</td>
|
1297 |
+
</tr>
|
1298 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_compuct_album_thumb_width_height">
|
1299 |
+
<td title="Maximum values for album thumb width and height." class="ffwd_set_l">
|
1300 |
+
<label for="<?php echo WD_FB_PREFIX; ?>_compuct_album_thumb_width">Album
|
1301 |
+
Thumbnail dimensions: </label></td>
|
1302 |
+
<td class="ffwd_set_i">
|
1303 |
+
<input type="text" name="<?php echo WD_FB_PREFIX; ?>_compuct_album_thumb_width"
|
1304 |
+
id="<?php echo WD_FB_PREFIX; ?>_compuct_album_thumb_width"
|
1305 |
+
value="<?php echo $row->album_thumb_width == 0 ? '200' : $row->album_thumb_width ?>"
|
1306 |
+
class="spider_int_input"/> x
|
1307 |
+
<input type="text" name="<?php echo WD_FB_PREFIX; ?>_compuct_album_thumb_height"
|
1308 |
+
id="<?php echo WD_FB_PREFIX; ?>_compuct_album_thumb_height"
|
1309 |
+
value="<?php echo $row->album_thumb_height == 0 ? '150' : $row->album_thumb_height ?>"
|
1310 |
+
class="spider_int_input"/> px
|
1311 |
+
</td>
|
1312 |
+
</tr>
|
1313 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_compuct_album_image_column_number">
|
1314 |
+
<td class="ffwd_set_l"><label
|
1315 |
+
for="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_column_number">Max.
|
1316 |
+
number of image columns: </label></td>
|
1317 |
+
<td><input type="text"
|
1318 |
+
name="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_column_number"
|
1319 |
+
id="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_column_number"
|
1320 |
+
value="<?php echo $row->album_image_max_columns == 0 ? '5' : $row->album_image_max_columns ?>"
|
1321 |
+
class="spider_int_input"/></td>
|
1322 |
+
</tr>
|
1323 |
+
<!-- <tr id="<?php echo WD_FB_PREFIX; ?>_tr_compuct_album_image_title">
|
1324 |
+
<td class="ffwd_set_l"><label>Image title: </label></td>
|
1325 |
+
<td class="ffwd_set_i">
|
1326 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_title" id="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_title_hover" value="hover" checked /><label for="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_title_hover">Show on hover</label><br />
|
1327 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_title" id="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_title_show" value="show" /><label for="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_title_show">Always show</label><br />
|
1328 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_title" id="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_title_none" value="none" /><label for="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_title_none">Don't show</label>
|
1329 |
+
</td>
|
1330 |
+
</tr> -->
|
1331 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_compuct_album_image_thumb_width_height">
|
1332 |
+
<td title="Maximum values for thumbnail width and height." class="ffwd_set_l"><label
|
1333 |
+
for="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_thumb_width"
|
1334 |
+
id="compuct_album_image_thumb_dimensions">Image thumbnail
|
1335 |
+
dimensions: </label></td>
|
1336 |
+
<td class="ffwd_set_i">
|
1337 |
+
<input type="text"
|
1338 |
+
name="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_thumb_width"
|
1339 |
+
id="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_thumb_width"
|
1340 |
+
value="<?php echo $row->album_image_thumb_width == 0 ? '200' : $row->album_image_thumb_width ?>"
|
1341 |
+
class="spider_int_input"/><span
|
1342 |
+
id="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_thumb_dimensions_x"> x </span>
|
1343 |
+
<input type="text"
|
1344 |
+
name="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_thumb_height"
|
1345 |
+
id="<?php echo WD_FB_PREFIX; ?>_compuct_album_image_thumb_height"
|
1346 |
+
value="<?php echo $row->album_image_thumb_height == 0 ? '150' : $row->album_image_thumb_height ?>"
|
1347 |
+
class="spider_int_input"/> px
|
1348 |
+
</td>
|
1349 |
+
</tr>
|
1350 |
+
|
1351 |
+
<!-- For Pagination -->
|
1352 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_pagination_type">
|
1353 |
+
<td title="If you want to display all images you should leave it blank or insert 0."
|
1354 |
+
class="ffwd_set_l"><label for="<?php echo WD_FB_PREFIX; ?>_pagination_type">Pagination
|
1355 |
+
type: </label></td>
|
1356 |
+
<td class="ffwd_set_i">
|
1357 |
+
<select name="<?php echo WD_FB_PREFIX; ?>_pagination_type"
|
1358 |
+
id="<?php echo WD_FB_PREFIX; ?>_pagination_type">
|
1359 |
+
<option value="0" <?php selected($row->pagination_type, 0) ?> >No</option>
|
1360 |
+
<option value="1" <?php selected($row->pagination_type, 1) ?> >Numbers
|
1361 |
+
</option>
|
1362 |
+
<option value="2" <?php selected($row->pagination_type, 2) ?> >Load more
|
1363 |
+
</option>
|
1364 |
+
<option value="3" <?php selected($row->pagination_type, 3) ?> >Infinite
|
1365 |
+
Scroll
|
1366 |
+
</option>
|
1367 |
+
</select>
|
1368 |
+
</td>
|
1369 |
+
</tr>
|
1370 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_objects_per_page">
|
1371 |
+
<td title="If you want to display all images you should leave it blank or insert 0."
|
1372 |
+
class="ffwd_set_l"><label for="<?php echo WD_FB_PREFIX; ?>_objects_per_page">Objects
|
1373 |
+
per page: </label></td>
|
1374 |
+
<td><input type="text" name="<?php echo WD_FB_PREFIX; ?>_objects_per_page"
|
1375 |
+
id="<?php echo WD_FB_PREFIX; ?>_objects_per_page"
|
1376 |
+
value="<?php echo $row->objects_per_page == 0 ? '20' : $row->objects_per_page ?>"
|
1377 |
+
class="spider_int_input"/></td>
|
1378 |
+
</tr>
|
1379 |
+
|
1380 |
+
|
1381 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_image_onclick_action">
|
1382 |
+
<td class="ffwd_set_l"><label>Image Onclick: </label></td>
|
1383 |
+
<td class="ffwd_set_i">
|
1384 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_image_onclick_action"
|
1385 |
+
id="<?php echo WD_FB_PREFIX; ?>_image_onclick_action_lightbox"
|
1386 |
+
onchange="toggle_lightbox_tab('lightbox')"
|
1387 |
+
value="lightbox" <?php checked($row->image_onclick_action, 'lightbox') ?> /><label
|
1388 |
+
for="<?php echo WD_FB_PREFIX; ?>_image_onclick_action_lightbox">Open
|
1389 |
+
Lightbox</label><br/>
|
1390 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_image_onclick_action"
|
1391 |
+
id="<?php echo WD_FB_PREFIX; ?>_image_onclick_action_facebook"
|
1392 |
+
onchange="toggle_lightbox_tab('facebook')"
|
1393 |
+
value="facebook" <?php checked($row->image_onclick_action, 'facebook') ?> /><label
|
1394 |
+
for="<?php echo WD_FB_PREFIX; ?>_image_onclick_action_facebook">Redirect To
|
1395 |
+
Facebook</label><br/>
|
1396 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_image_onclick_action"
|
1397 |
+
id="<?php echo WD_FB_PREFIX; ?>_image_onclick_action_none"
|
1398 |
+
onchange="toggle_lightbox_tab('none')"
|
1399 |
+
value="none" <?php checked($row->image_onclick_action, 'none') ?> /><label
|
1400 |
+
for="<?php echo WD_FB_PREFIX; ?>_image_onclick_action_none">Do
|
1401 |
+
Nothing </label>
|
1402 |
+
</td>
|
1403 |
+
</tr>
|
1404 |
+
</tbody>
|
1405 |
+
</table>
|
1406 |
+
</div>
|
1407 |
+
|
1408 |
+
|
1409 |
+
</div>
|
1410 |
+
<div class="ffwd_header_c">
|
1411 |
+
<label class="ffwd_header_l">Post</label>
|
1412 |
+
</div>
|
1413 |
+
<div class="ffwd_varied_f">
|
1414 |
+
|
1415 |
+
<div class="ffwd_varied_f_p">
|
1416 |
+
|
1417 |
+
<table class="ffwd_sett_tabl">
|
1418 |
+
<tr>
|
1419 |
+
<td class="ffwd_set_l">
|
1420 |
+
<label>Maximum Post message(description) Length:</label>
|
1421 |
+
</td>
|
1422 |
+
<td class="ffwd_set_i">
|
1423 |
+
<input type="text" name="<?php echo WD_FB_PREFIX; ?>_post_text_length"
|
1424 |
+
id="<?php echo WD_FB_PREFIX; ?>_post_text_length" size="10"
|
1425 |
+
value="<?php echo $row->post_text_length == '' ? '200' : $row->post_text_length; ?>"
|
1426 |
+
class=""/>
|
1427 |
+
<div class="spider_description"></div>
|
1428 |
+
</td>
|
1429 |
+
</tr>
|
1430 |
+
<tr id="tr_view_on_facebook">
|
1431 |
+
<td class="ffwd_set_l">
|
1432 |
+
<label>Link to facebook:</label>
|
1433 |
+
</td>
|
1434 |
+
<td class="ffwd_set_i">
|
1435 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_view_on_fb"
|
1436 |
+
id="<?php echo WD_FB_PREFIX; ?>_view_on_fb_1"
|
1437 |
+
value="1" <?php if ($row->view_on_fb) echo 'checked="checked"'; ?> /><label
|
1438 |
+
for="<?php echo WD_FB_PREFIX; ?>_view_on_fb_1">Yes</label>
|
1439 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_view_on_fb"
|
1440 |
+
id="<?php echo WD_FB_PREFIX; ?>_view_on_fb_0"
|
1441 |
+
value="0" <?php if (!$row->view_on_fb) echo 'checked="checked"'; ?> /><label
|
1442 |
+
for="<?php echo WD_FB_PREFIX; ?>_view_on_fb_0">No</label>
|
1443 |
+
<div class="spider_description"></div>
|
1444 |
+
</td>
|
1445 |
+
</tr>
|
1446 |
+
|
1447 |
+
|
1448 |
+
</table>
|
1449 |
+
</div>
|
1450 |
+
</div>
|
1451 |
+
|
1452 |
+
</div>
|
1453 |
+
<div class="ffwd_p ffwd_lightbox_settings">
|
1454 |
+
|
1455 |
+
<div class="ffwd_views_set">
|
1456 |
+
<div class="ffwd_header_c">
|
1457 |
+
<label class="ffwd_header_l">Lightbox settings</label>
|
1458 |
+
</div>
|
1459 |
+
<div class="ffwd_view_l_s">
|
1460 |
+
|
1461 |
+
<table class="ffwd_sett_tabl">
|
1462 |
+
<!--Lightbox view-->
|
1463 |
+
<tbody id="<?php echo WD_FB_PREFIX; ?>_tbody_popup">
|
1464 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_fullscreen">
|
1465 |
+
<td title="Show full width feature for the lightbox." class="ffwd_set_l">
|
1466 |
+
<label>Full width lightbox:</label>
|
1467 |
+
</td>
|
1468 |
+
<td class="ffwd_set_i">
|
1469 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_fullscreen"
|
1470 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_fullscreen_1"
|
1471 |
+
value="1" <?php checked($row->popup_fullscreen, 1) ?>
|
1472 |
+
onchange="bwg_popup_fullscreen(1)"/><label
|
1473 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_fullscreen_1">Yes</label>
|
1474 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_fullscreen"
|
1475 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_fullscreen_0"
|
1476 |
+
value="0" <?php checked($row->popup_fullscreen, 0);
|
1477 |
+
checked($row->popup_fullscreen, '') ?>onchange="bwg_popup_fullscreen(0)"/><label
|
1478 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_fullscreen_0">No</label>
|
1479 |
+
</td>
|
1480 |
+
</tr>
|
1481 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_width_height">
|
1482 |
+
<td title="Maximum values for lightbox width and height." class="ffwd_set_l"><label
|
1483 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_width">Lightbox dimensions: </label>
|
1484 |
+
</td>
|
1485 |
+
<td class="ffwd_set_i">
|
1486 |
+
<input type="text" name="<?php echo WD_FB_PREFIX; ?>_popup_width"
|
1487 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_width"
|
1488 |
+
value="<?php echo $row->popup_width == 0 ? '800' : $row->popup_width ?>"
|
1489 |
+
class="spider_int_input"/> x
|
1490 |
+
<input type="text" name="<?php echo WD_FB_PREFIX; ?>_popup_height"
|
1491 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_height"
|
1492 |
+
value="<?php echo $row->popup_height == 0 ? '500' : $row->popup_height ?>"
|
1493 |
+
class="spider_int_input"/> px
|
1494 |
+
</td>
|
1495 |
+
</tr>
|
1496 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_effect">
|
1497 |
+
<td title="Lightbox slideshow effect." class="ffwd_set_l"><label
|
1498 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_effect">Lightbox effect: </label>
|
1499 |
+
</td>
|
1500 |
+
<td class="ffwd_set_i">
|
1501 |
+
<select name="<?php echo WD_FB_PREFIX; ?>_popup_effect"
|
1502 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_effect" style="width:150px;">
|
1503 |
+
<?php
|
1504 |
+
$i=0;
|
1505 |
+
foreach ($effects as $key => $effect) {
|
1506 |
+
?>
|
1507 |
+
<option <?php if($i>1) echo 'disabled'; ?>
|
1508 |
+
value="<?php echo $key; ?>" <?php selected($row->popup_effect, $key) ?>><?php echo $effect; ?></option>
|
1509 |
+
<?php
|
1510 |
+
$i++;
|
1511 |
+
}
|
1512 |
+
?>
|
1513 |
+
</select>
|
1514 |
+
</td>
|
1515 |
+
</tr>
|
1516 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_autoplay">
|
1517 |
+
<td class="ffwd_set_l">
|
1518 |
+
<label>Lightbox autoplay: </label>
|
1519 |
+
</td>
|
1520 |
+
<td class="ffwd_set_i">
|
1521 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_autoplay"
|
1522 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_autoplay_1" <?php checked($row->popup_autoplay, 1) ?>
|
1523 |
+
value="1"/><label
|
1524 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_autoplay_1">Yes</label>
|
1525 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_autoplay"
|
1526 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_autoplay_0"
|
1527 |
+
value="0" <?php checked($row->popup_autoplay, 0);
|
1528 |
+
checked($row->popup_autoplay, '') ?> /><label
|
1529 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_autoplay_0">No</label>
|
1530 |
+
</td>
|
1531 |
+
</tr>
|
1532 |
+
|
1533 |
+
|
1534 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_interval">
|
1535 |
+
<td title="Interval between two images." class="ffwd_set_l"><label
|
1536 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_interval">Time interval: </label>
|
1537 |
+
</td>
|
1538 |
+
<td><input type="text" name="<?php echo WD_FB_PREFIX; ?>_popup_interval"
|
1539 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_interval"
|
1540 |
+
value="<?php echo $row->popup_interval == 0 ? '3' : $row->popup_interval ?>"
|
1541 |
+
class="spider_int_input"/> sec.
|
1542 |
+
</td>
|
1543 |
+
</tr>
|
1544 |
+
|
1545 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_open_commentbox">
|
1546 |
+
<td class="ffwd_set_l">
|
1547 |
+
<label>Open comment box :</label>
|
1548 |
+
</td>
|
1549 |
+
<td class="ffwd_set_i">
|
1550 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_open_commentbox"
|
1551 |
+
id="<?php echo WD_FB_PREFIX; ?>_open_commentbox_1" <?php checked($row->open_commentbox, 1) ?>
|
1552 |
+
value="1"/><label
|
1553 |
+
for="<?php echo WD_FB_PREFIX; ?>_open_commentbox_1">Yes</label>
|
1554 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_open_commentbox"
|
1555 |
+
id="<?php echo WD_FB_PREFIX; ?>_open_commentbox_0"
|
1556 |
+
value="0" <?php checked($row->open_commentbox, 0);
|
1557 |
+
checked($row->open_commentbox, '') ?> /><label
|
1558 |
+
for="<?php echo WD_FB_PREFIX; ?>_open_commentbox_0">No</label>
|
1559 |
+
</td>
|
1560 |
+
</tr>
|
1561 |
+
|
1562 |
+
|
1563 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_enable_filmstrip">
|
1564 |
+
<td title="Show filmstrip view for images" class="ffwd_set_l"><label>Show filmstrip
|
1565 |
+
in lightbox: </label></td>
|
1566 |
+
<td class="ffwd_set_i">
|
1567 |
+
<input disabled type="radio"
|
1568 |
+
name="<?php echo WD_FB_PREFIX; ?>_popup_enable_filmstrip"
|
1569 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_filmstrip_yes" value="1"
|
1570 |
+
|
1571 |
+
onClick="bwg_enable_disable('', '<?php echo WD_FB_PREFIX; ?>_tr_popup_filmstrip_height', '<?php echo WD_FB_PREFIX; ?>_popup_filmstrip_yes')"/><label
|
1572 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_filmstrip_yes">Yes</label>
|
1573 |
+
<input disabled type="radio"
|
1574 |
+
name="<?php echo WD_FB_PREFIX; ?>_popup_enable_filmstrip"
|
1575 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_filmstrip_no"
|
1576 |
+
value="0" checked
|
1577 |
+
onClick="bwg_enable_disable('none', '<?php echo WD_FB_PREFIX; ?>_tr_popup_filmstrip_height', '<?php echo WD_FB_PREFIX; ?>_popup_filmstrip_no')"/><label
|
1578 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_filmstrip_no">No</label>
|
1579 |
+
<br>
|
1580 |
+
<label for="" class="ffwd_pro_only">This Feature is Available Only in PRO
|
1581 |
+
version</label>
|
1582 |
+
</td>
|
1583 |
+
</tr>
|
1584 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_filmstrip_height">
|
1585 |
+
<td class="ffwd_set_l"><label
|
1586 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_filmstrip_height">Filmstrip
|
1587 |
+
size: </label></td>
|
1588 |
+
<td><input type="text" name="<?php echo WD_FB_PREFIX; ?>_popup_filmstrip_height"
|
1589 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_filmstrip_height"
|
1590 |
+
value="<?php if ($row->popup_filmstrip_height == 0) echo '75'; else echo $row->popup_filmstrip_height ?>"
|
1591 |
+
class="spider_int_input"/> px
|
1592 |
+
</td>
|
1593 |
+
</tr>
|
1594 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_comments">
|
1595 |
+
<td title="Show comments" class="ffwd_set_l"><label>Show comments: </label></td>
|
1596 |
+
<td class="ffwd_set_i">
|
1597 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_comments"
|
1598 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_comments_1" value="1"
|
1599 |
+
checked="checked"/><label
|
1600 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_comments_yes">Yes</label>
|
1601 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_comments"
|
1602 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_comments_0"
|
1603 |
+
value="0" <?php checked($row->popup_comments, 0) ?> /><label
|
1604 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_comments_no">No</label>
|
1605 |
+
</td>
|
1606 |
+
</tr>
|
1607 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_likes">
|
1608 |
+
<td title="Show likes" class="ffwd_set_l"><label>Show likes: </label></td>
|
1609 |
+
<td class="ffwd_set_i">
|
1610 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_likes"
|
1611 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_likes_1" value="1"
|
1612 |
+
checked="checked"/><label
|
1613 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_likes_yes">Yes</label>
|
1614 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_likes"
|
1615 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_likes_0"
|
1616 |
+
value="0" <?php checked($row->popup_likes, 0) ?> /><label
|
1617 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_likes_no">No</label>
|
1618 |
+
</td>
|
1619 |
+
</tr>
|
1620 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_shares">
|
1621 |
+
<td title="Show share" class="ffwd_set_l"><label>Show share: </label></td>
|
1622 |
+
<td class="ffwd_set_i">
|
1623 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_shares"
|
1624 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_shares_1" value="1"
|
1625 |
+
checked="checked"/><label
|
1626 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_shares_1">Yes</label>
|
1627 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_shares"
|
1628 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_shares_0"
|
1629 |
+
value="0" <?php checked($row->popup_shares, 0) ?> /><label
|
1630 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_shares_0">No</label>
|
1631 |
+
</td>
|
1632 |
+
</tr>
|
1633 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_author">
|
1634 |
+
<td title="Show author" class="ffwd_set_l"><label>Show author: </label></td>
|
1635 |
+
<td class="ffwd_set_i">
|
1636 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_author"
|
1637 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_author_1" value="1"
|
1638 |
+
checked="checked"/><label
|
1639 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_author_1">Yes</label>
|
1640 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_author"
|
1641 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_author_0"
|
1642 |
+
value="0" <?php checked($row->popup_author, 0) ?> /><label
|
1643 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_author_0">No</label>
|
1644 |
+
</td>
|
1645 |
+
</tr>
|
1646 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_name">
|
1647 |
+
<td title="Show post name" class="ffwd_set_l"><label>Show post name: </label></td>
|
1648 |
+
<td class="ffwd_set_i">
|
1649 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_name"
|
1650 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_name_1" value="1"
|
1651 |
+
checked="checked"/><label for="<?php echo WD_FB_PREFIX; ?>_popup_name_1">Yes</label>
|
1652 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_name"
|
1653 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_name_0"
|
1654 |
+
value="0" <?php checked($row->popup_name, 0) ?> /><label
|
1655 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_name_0">No</label>
|
1656 |
+
</td>
|
1657 |
+
</tr>
|
1658 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_place_name">
|
1659 |
+
<td title="Show place name" class="ffwd_set_l"><label>Show place name: </label></td>
|
1660 |
+
<td class="ffwd_set_i">
|
1661 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_place_name"
|
1662 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_place_name_1" value="1"
|
1663 |
+
checked="checked"/><label
|
1664 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_place_name_1">Yes</label>
|
1665 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_place_name"
|
1666 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_place_name_0"
|
1667 |
+
value="0" <?php checked($row->popup_place_name, 0) ?> /><label
|
1668 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_place_name_0">No</label>
|
1669 |
+
</td>
|
1670 |
+
</tr>
|
1671 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_enable_ctrl_btn">
|
1672 |
+
<td title="Show control buttons in lightbox" class="ffwd_set_l"><label>Show control
|
1673 |
+
buttons: </label></td>
|
1674 |
+
<td class="ffwd_set_i">
|
1675 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_enable_ctrl_btn"
|
1676 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_ctrl_btn_yes" value="1"
|
1677 |
+
onClick="bwg_enable_disable('', '<?php echo WD_FB_PREFIX; ?>_tbody_popup_ctrl_btn', 'popup_ctrl_btn_yes');"
|
1678 |
+
checked="checked"/><label
|
1679 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_ctrl_btn_yes">Yes</label>
|
1680 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_enable_ctrl_btn"
|
1681 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_ctrl_btn_no"
|
1682 |
+
value="0" <?php checked($row->popup_enable_ctrl_btn, 0) ?>
|
1683 |
+
onClick="bwg_enable_disable('none', '<?php echo WD_FB_PREFIX; ?>_tbody_popup_ctrl_btn', 'popup_ctrl_btn_no');"/><label
|
1684 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_ctrl_btn_no">No</label>
|
1685 |
+
</td>
|
1686 |
+
</tr>
|
1687 |
+
</tbody>
|
1688 |
+
<tbody id="<?php echo WD_FB_PREFIX; ?>_tbody_popup_ctrl_btn">
|
1689 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_enable_fullscreen">
|
1690 |
+
<td title="Show fullscreen view for images" class="ffwd_set_l"><label>Show
|
1691 |
+
fullscreen: </label></td>
|
1692 |
+
<td class="ffwd_set_i">
|
1693 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_enable_fullscreen"
|
1694 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_enable_fullscreen_1" value="1"
|
1695 |
+
checked="checked"/><label
|
1696 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_enable_fullscreen_1">Yes</label>
|
1697 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_enable_fullscreen"
|
1698 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_enable_fullscreen_0" <?php checked($row->popup_enable_fullscreen, 0) ?>
|
1699 |
+
value="0"/><label
|
1700 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_enable_fullscreen_0">No</label>
|
1701 |
+
</td>
|
1702 |
+
</tr>
|
1703 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_enable_info_btn">
|
1704 |
+
<td title="Show object info button for view name etc" class="ffwd_set_l"><label>Show
|
1705 |
+
info and comments: </label></td>
|
1706 |
+
<td class="ffwd_set_i">
|
1707 |
+
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_enable_info"
|
1708 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_enable_info_1" value="1"
|
1709 |
+
/><label
|
1710 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_enable_info_1">Yes</label>
|
1711 |
+
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_enable_info"
|
1712 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_enable_info_0"
|
1713 |
+
value="0" checked="checked" /><label
|
1714 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_enable_info_0">No</label>
|
1715 |
+
<br>
|
1716 |
+
<label for="" class="ffwd_pro_only">This Feature is Available Only in PRO
|
1717 |
+
version</label>
|
1718 |
+
</td>
|
1719 |
+
</tr>
|
1720 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_message_desc">
|
1721 |
+
<td title="Show object info button for view name etc" class="ffwd_set_l"><label>Show
|
1722 |
+
message(description): </label></td>
|
1723 |
+
<td class="ffwd_set_i">
|
1724 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_message_desc"
|
1725 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_message_desc_1" value="1"
|
1726 |
+
checked="checked"/><label
|
1727 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_message_desc_1">Yes</label>
|
1728 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_message_desc"
|
1729 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_message_desc_0"
|
1730 |
+
value="0" <?php checked($row->popup_message_desc, 0) ?> /><label
|
1731 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_message_desc_0">No</label>
|
1732 |
+
</td>
|
1733 |
+
</tr>
|
1734 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_enable_facebook">
|
1735 |
+
<td title="Show Facebook share button for images" class="ffwd_set_l"><label>Show
|
1736 |
+
Facebook button: </label></td>
|
1737 |
+
<td class="ffwd_set_i">
|
1738 |
+
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_enable_facebook"
|
1739 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_facebook_1" value="1"
|
1740 |
+
/><label
|
1741 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_facebook_1">Yes</label>
|
1742 |
+
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_enable_facebook"
|
1743 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_facebook_0"
|
1744 |
+
value="0" checked="checked" /><label
|
1745 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_facebook_0">No</label>
|
1746 |
+
<br>
|
1747 |
+
<label for="" class="ffwd_pro_only">This Feature is Available Only in PRO
|
1748 |
+
version</label>
|
1749 |
+
</td>
|
1750 |
+
</tr>
|
1751 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_enable_twitter">
|
1752 |
+
<td title="Show Twitter share button for images" class="ffwd_set_l"><label>Show
|
1753 |
+
Twitter button: </label></td>
|
1754 |
+
<td class="ffwd_set_i">
|
1755 |
+
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_enable_twitter"
|
1756 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_twitter_1" value="1"
|
1757 |
+
/><label
|
1758 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_twitter_1">Yes</label>
|
1759 |
+
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_enable_twitter"
|
1760 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_twitter_0"
|
1761 |
+
value="0" checked="checked" /><label
|
1762 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_twitter_0">No</label>
|
1763 |
+
<br>
|
1764 |
+
<label for="" class="ffwd_pro_only">This Feature is Available Only in PRO
|
1765 |
+
version</label>
|
1766 |
+
</td>
|
1767 |
+
</tr>
|
1768 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_enable_google">
|
1769 |
+
<td title="Show Google+ share button for images" class="ffwd_set_l"><label>Show
|
1770 |
+
Google+ button: </label></td>
|
1771 |
+
<td class="ffwd_set_i">
|
1772 |
+
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_enable_google"
|
1773 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_google_1" value="1"
|
1774 |
+
/><label
|
1775 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_google_1">Yes</label>
|
1776 |
+
<input disabled type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_enable_google"
|
1777 |
+
id="<?php echo WD_FB_PREFIX; ?>_popup_google_0"
|
1778 |
+
value="0" checked="checked" /><label
|
1779 |
+
for="<?php echo WD_FB_PREFIX; ?>_popup_google_0">No</label>
|
1780 |
+
<br>
|
1781 |
+
<label for="" class="ffwd_pro_only">This Feature is Available Only in PRO
|
1782 |
+
version</label>
|
1783 |
+
</td>
|
1784 |
+
</tr>
|
1785 |
+
<!-- <tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_enable_pinterest">
|
1786 |
+
<td title="Show Pinterest share button for images" class="ffwd_set_l"><label>Show Pinterest button: </label></td>
|
1787 |
+
<td class="ffwd_set_i">
|
1788 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_enable_pinterest" id="<?php echo WD_FB_PREFIX; ?>_popup_pinterest_1" value="1" /><label for="<?php echo WD_FB_PREFIX; ?>_popup_pinterest_1">Yes</label>
|
1789 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_enable_pinterest" id="<?php echo WD_FB_PREFIX; ?>_popup_pinterest_0" value="0" checked="checked" /><label for="<?php echo WD_FB_PREFIX; ?>_popup_pinterest_0">No</label>
|
1790 |
+
</td>
|
1791 |
+
</tr>
|
1792 |
+
<tr id="<?php echo WD_FB_PREFIX; ?>_tr_popup_enable_tumblr">
|
1793 |
+
<td title="Show Tumblr share button for images" class="ffwd_set_l"><label>Show Tumblr button: </label></td>
|
1794 |
+
<td class="ffwd_set_i">
|
1795 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_enable_tumblr" id="<?php echo WD_FB_PREFIX; ?>_popup_tumblr_1" value="1" /><label for="<?php echo WD_FB_PREFIX; ?>_popup_tumblr_1">Yes</label>
|
1796 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_popup_enable_tumblr" id="<?php echo WD_FB_PREFIX; ?>_popup_tumblr_0" value="0" checked="checked" /><label for="<?php echo WD_FB_PREFIX; ?>_popup_tumblr_0">No</label>
|
1797 |
+
</td>
|
1798 |
+
</tr> -->
|
1799 |
+
</tbody>
|
1800 |
+
</table>
|
1801 |
+
</div>
|
1802 |
+
</div>
|
1803 |
+
</div>
|
1804 |
+
|
1805 |
+
<div class="ffwd_p ffwd_comments_tab">
|
1806 |
+
<div class="ffwd_header_c">
|
1807 |
+
<label class="ffwd_header_l">Comments</label>
|
1808 |
+
</div>
|
1809 |
+
<div class="ffwd_varied_s">
|
1810 |
+
|
1811 |
+
<div class="ffwd_varied_s_c">
|
1812 |
+
|
1813 |
+
<table class="ffwd_sett_tabl">
|
1814 |
+
<tr>
|
1815 |
+
<td class="ffwd_set_l">
|
1816 |
+
<label>Comments filter:</label>
|
1817 |
+
</td>
|
1818 |
+
<td class="ffwd_set_i">
|
1819 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_comments_filter"
|
1820 |
+
id="<?php echo WD_FB_PREFIX; ?>_comments_filter_1"
|
1821 |
+
value="toplevel" <?php checked($row->comments_filter, 'toplevel');
|
1822 |
+
checked($row->comments_filter, '') ?>
|
1823 |
+
onchange="ffwd_show_hide_options('tr_comments_replies', 'table-row')"/><label
|
1824 |
+
for="<?php echo WD_FB_PREFIX; ?>_comments_filter_1">Toplevel</label>
|
1825 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_comments_filter"
|
1826 |
+
id="<?php echo WD_FB_PREFIX; ?>_comments_filter_0"
|
1827 |
+
value="stream" <?php checked($row->comments_filter, 'stream') ?>
|
1828 |
+
onchange="ffwd_show_hide_options('tr_comments_replies', 'none')"/><label
|
1829 |
+
for="<?php echo WD_FB_PREFIX; ?>_comments_filter_0">Stream</label>
|
1830 |
+
<div class="spider_description">
|
1831 |
+
Toplevel - same structure as they appear on Facebook.
|
1832 |
+
Comments count (excluding replies).<br>
|
1833 |
+
Stream - all-level comments.
|
1834 |
+
Comments count (including replies).
|
1835 |
+
<!-- stream-total count including replies, toplevel-total count without replies -->
|
1836 |
+
</div>
|
1837 |
+
</td>
|
1838 |
+
</tr>
|
1839 |
+
<tr id="tr_comments_replies">
|
1840 |
+
<td class="ffwd_set_l">
|
1841 |
+
<label>Show replies:</label>
|
1842 |
+
</td>
|
1843 |
+
<td class="ffwd_set_i">
|
1844 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_comments_replies"
|
1845 |
+
id="<?php echo WD_FB_PREFIX; ?>_comments_replies_1"
|
1846 |
+
value="1" <?php if ($row->comments_replies) echo 'checked="checked"'; ?> /><label
|
1847 |
+
for="<?php echo WD_FB_PREFIX; ?>_comments_replies_1">Yes</label>
|
1848 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_comments_replies"
|
1849 |
+
id="<?php echo WD_FB_PREFIX; ?>_comments_replies_0"
|
1850 |
+
value="0" <?php if (!$row->comments_replies) echo 'checked="checked"'; ?> /><label
|
1851 |
+
for="<?php echo WD_FB_PREFIX; ?>_comments_replies_0">No</label>
|
1852 |
+
</td>
|
1853 |
+
</tr>
|
1854 |
+
<tr>
|
1855 |
+
<td class="ffwd_set_l">
|
1856 |
+
<label>Comments order:</label>
|
1857 |
+
</td>
|
1858 |
+
<td class="ffwd_set_i">
|
1859 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_comments_order"
|
1860 |
+
id="<?php echo WD_FB_PREFIX; ?>_comments_order_1"
|
1861 |
+
value="chronological" <?php checked($row->comments_order, "chronological");
|
1862 |
+
checked($row->comments_order, "") ?> /><label
|
1863 |
+
for="<?php echo WD_FB_PREFIX; ?>_comments_order_1">Chronological</label>
|
1864 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_comments_order"
|
1865 |
+
id="<?php echo WD_FB_PREFIX; ?>_comments_order_0"
|
1866 |
+
value="reverse_chronological" <?php checked($row->comments_order, "reverse_chronological") ?> /><label
|
1867 |
+
for="<?php echo WD_FB_PREFIX; ?>_comments_order_0">Reverse
|
1868 |
+
chronological</label>
|
1869 |
+
</td>
|
1870 |
+
</tr>
|
1871 |
+
</table>
|
1872 |
+
</div>
|
1873 |
+
|
1874 |
+
</div>
|
1875 |
+
</div>
|
1876 |
+
|
1877 |
+
|
1878 |
+
<div class="ffwd_p ffwd_page_plugin_tab">
|
1879 |
+
<div class="ffwd_header_c">
|
1880 |
+
<label class="ffwd_header_l">Page plugin</label>
|
1881 |
+
</div>
|
1882 |
+
<div class="ffwd_varied_f">
|
1883 |
+
|
1884 |
+
<div class="ffwd_varied_f_pp">
|
1885 |
+
|
1886 |
+
<table class="ffwd_sett_tabl">
|
1887 |
+
<tr id="tr_page_plugin_pos">
|
1888 |
+
<td class="ffwd_set_l">
|
1889 |
+
<label>Position:</label>
|
1890 |
+
</td>
|
1891 |
+
<td class="ffwd_set_i">
|
1892 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_page_plugin_pos"
|
1893 |
+
id="<?php echo WD_FB_PREFIX; ?>_page_plugin_pos_1"
|
1894 |
+
value="top" <?php checked($row->page_plugin_pos, 'top');
|
1895 |
+
checked($row->page_plugin_pos, '') ?> /><label
|
1896 |
+
for="<?php echo WD_FB_PREFIX; ?>_page_plugin_pos_1">Top</label>
|
1897 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_page_plugin_pos"
|
1898 |
+
id="<?php echo WD_FB_PREFIX; ?>_page_plugin_pos_0"
|
1899 |
+
value="bottom" <?php checked($row->page_plugin_pos, 'bottom') ?> /><label
|
1900 |
+
for="<?php echo WD_FB_PREFIX; ?>_page_plugin_pos_0">Bottom</label>
|
1901 |
+
<!-- <div class="spider_description"></div> -->
|
1902 |
+
</td>
|
1903 |
+
</tr>
|
1904 |
+
<tr id="tr_page_plugin_fans">
|
1905 |
+
<td class="ffwd_set_l">
|
1906 |
+
<label>Show fans:</label>
|
1907 |
+
</td>
|
1908 |
+
<td class="ffwd_set_i">
|
1909 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_page_plugin_fans"
|
1910 |
+
id="<?php echo WD_FB_PREFIX; ?>_page_plugin_fans_1"
|
1911 |
+
value="1" <?php if ($row->page_plugin_fans) echo 'checked="checked"'; ?> /><label
|
1912 |
+
for="<?php echo WD_FB_PREFIX; ?>_page_plugin_fans_1">Yes</label>
|
1913 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_page_plugin_fans"
|
1914 |
+
id="<?php echo WD_FB_PREFIX; ?>_page_plugin_fans_0"
|
1915 |
+
value="0" <?php if (!$row->page_plugin_fans) echo 'checked="checked"'; ?> /><label
|
1916 |
+
for="<?php echo WD_FB_PREFIX; ?>_page_plugin_fans_0">No</label>
|
1917 |
+
</td>
|
1918 |
+
</tr>
|
1919 |
+
<tr id="tr_page_plugin_width">
|
1920 |
+
<td class="ffwd_set_l">
|
1921 |
+
<label>Width:</label>
|
1922 |
+
</td>
|
1923 |
+
<td class="ffwd_set_i">
|
1924 |
+
<input type="number" id="<?php echo WD_FB_PREFIX; ?>_page_plugin_width"
|
1925 |
+
class="spider_int_input"
|
1926 |
+
name="<?php echo WD_FB_PREFIX; ?>_page_plugin_width" min="0" max="500"
|
1927 |
+
value="<?php echo $row->page_plugin_width == '' ? '380' : $row->page_plugin_width; ?>"/>px
|
1928 |
+
</td>
|
1929 |
+
</tr>
|
1930 |
+
<tr id="tr_page_plugin_cover">
|
1931 |
+
<td class="ffwd_set_l">
|
1932 |
+
<label>Hide cover photo:</label>
|
1933 |
+
</td>
|
1934 |
+
<td class="ffwd_set_i">
|
1935 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_page_plugin_cover"
|
1936 |
+
id="<?php echo WD_FB_PREFIX; ?>_page_plugin_cover_1"
|
1937 |
+
value="1" <?php if ($row->page_plugin_cover) echo 'checked="checked"'; ?> /><label
|
1938 |
+
for="<?php echo WD_FB_PREFIX; ?>_page_plugin_cover_1">Yes</label>
|
1939 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_page_plugin_cover"
|
1940 |
+
id="<?php echo WD_FB_PREFIX; ?>_page_plugin_cover_0"
|
1941 |
+
value="0" <?php if (!$row->page_plugin_cover) echo 'checked="checked"'; ?> /><label
|
1942 |
+
for="<?php echo WD_FB_PREFIX; ?>_page_plugin_cover_0">No</label>
|
1943 |
+
</td>
|
1944 |
+
</tr>
|
1945 |
+
<tr id="tr_page_plugin_header">
|
1946 |
+
<td class="ffwd_set_l">
|
1947 |
+
<label>Use Small Header:</label>
|
1948 |
+
</td>
|
1949 |
+
<td class="ffwd_set_i">
|
1950 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_page_plugin_header"
|
1951 |
+
id="<?php echo WD_FB_PREFIX; ?>_page_plugin_header_1"
|
1952 |
+
value="1" <?php if ($row->page_plugin_header) echo 'checked="checked"'; ?> /><label
|
1953 |
+
for="<?php echo WD_FB_PREFIX; ?>_page_plugin_header_1">Yes</label>
|
1954 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_page_plugin_header"
|
1955 |
+
id="<?php echo WD_FB_PREFIX; ?>_page_plugin_header_0"
|
1956 |
+
value="0" <?php if (!$row->page_plugin_header) echo 'checked="checked"'; ?> /><label
|
1957 |
+
for="<?php echo WD_FB_PREFIX; ?>_page_plugin_header_0">No</label>
|
1958 |
+
</td>
|
1959 |
+
</tr>
|
1960 |
+
</table>
|
1961 |
+
</div>
|
1962 |
+
|
1963 |
+
</div>
|
1964 |
+
</div>
|
1965 |
+
|
1966 |
+
|
1967 |
+
<div class="ffwd_p ffwd_events_tab">
|
1968 |
+
<div class="ffwd_header_c">
|
1969 |
+
<label class="ffwd_header_l">Events</label>
|
1970 |
+
</div>
|
1971 |
+
<div class="ffwd_varied_s">
|
1972 |
+
|
1973 |
+
<div class="ffwd_varied_s_e">
|
1974 |
+
|
1975 |
+
<table class="ffwd_sett_tabl">
|
1976 |
+
<tr>
|
1977 |
+
<td class="ffwd_set_l">
|
1978 |
+
<label>Show place(street):</label>
|
1979 |
+
</td>
|
1980 |
+
<td class="ffwd_set_i">
|
1981 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_event_street"
|
1982 |
+
id="<?php echo WD_FB_PREFIX; ?>_event_street_1"
|
1983 |
+
value="1" <?php if ($row->event_street) echo 'checked="checked"'; ?> /><label
|
1984 |
+
for="<?php echo WD_FB_PREFIX; ?>_event_street_1">Yes</label>
|
1985 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_event_street"
|
1986 |
+
id="<?php echo WD_FB_PREFIX; ?>_event_street_0"
|
1987 |
+
value="0" <?php if (!$row->event_street) echo 'checked="checked"'; ?> /><label
|
1988 |
+
for="<?php echo WD_FB_PREFIX; ?>_event_street_0">No</label>
|
1989 |
+
<div class="spider_description"></div>
|
1990 |
+
</td>
|
1991 |
+
</tr>
|
1992 |
+
<tr>
|
1993 |
+
<td class="ffwd_set_l">
|
1994 |
+
<label>Show place(city):</label>
|
1995 |
+
</td>
|
1996 |
+
<td class="ffwd_set_i">
|
1997 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_event_city"
|
1998 |
+
id="<?php echo WD_FB_PREFIX; ?>_event_city_1"
|
1999 |
+
value="1" <?php if ($row->event_city) echo 'checked="checked"'; ?> /><label
|
2000 |
+
for="<?php echo WD_FB_PREFIX; ?>_event_city_1">Yes</label>
|
2001 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_event_city"
|
2002 |
+
id="<?php echo WD_FB_PREFIX; ?>_event_city_0"
|
2003 |
+
value="0" <?php if (!$row->event_city) echo 'checked="checked"'; ?> /><label
|
2004 |
+
for="<?php echo WD_FB_PREFIX; ?>_event_city_0">No</label>
|
2005 |
+
<div class="spider_description"></div>
|
2006 |
+
</td>
|
2007 |
+
</tr>
|
2008 |
+
<tr>
|
2009 |
+
<td class="ffwd_set_l">
|
2010 |
+
<label>Show place(country):</label>
|
2011 |
+
</td>
|
2012 |
+
<td class="ffwd_set_i">
|
2013 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_event_country"
|
2014 |
+
id="<?php echo WD_FB_PREFIX; ?>_event_country_1"
|
2015 |
+
value="1" <?php if ($row->event_country) echo 'checked="checked"'; ?> /><label
|
2016 |
+
for="<?php echo WD_FB_PREFIX; ?>_event_country_1">Yes</label>
|
2017 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_event_country"
|
2018 |
+
id="<?php echo WD_FB_PREFIX; ?>_event_country_0"
|
2019 |
+
value="0" <?php if (!$row->event_country) echo 'checked="checked"'; ?> /><label
|
2020 |
+
for="<?php echo WD_FB_PREFIX; ?>_event_country_0">No</label>
|
2021 |
+
<div class="spider_description"></div>
|
2022 |
+
</td>
|
2023 |
+
</tr>
|
2024 |
+
<tr>
|
2025 |
+
<td class="ffwd_set_l">
|
2026 |
+
<label>Show place(zip):</label>
|
2027 |
+
</td>
|
2028 |
+
<td class="ffwd_set_i">
|
2029 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_event_zip"
|
2030 |
+
id="<?php echo WD_FB_PREFIX; ?>_event_zip_1"
|
2031 |
+
value="1" <?php if ($row->event_zip) echo 'checked="checked"'; ?> /><label
|
2032 |
+
for="<?php echo WD_FB_PREFIX; ?>_event_zip_1">Yes</label>
|
2033 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_event_zip"
|
2034 |
+
id="<?php echo WD_FB_PREFIX; ?>_event_zip_0"
|
2035 |
+
value="0" <?php if (!$row->event_zip) echo 'checked="checked"'; ?> /><label
|
2036 |
+
for="<?php echo WD_FB_PREFIX; ?>_event_zip_0">No</label>
|
2037 |
+
<div class="spider_description"></div>
|
2038 |
+
</td>
|
2039 |
+
</tr>
|
2040 |
+
<tr>
|
2041 |
+
<td class="ffwd_set_l">
|
2042 |
+
<label>Show place(map):</label>
|
2043 |
+
</td>
|
2044 |
+
<td class="ffwd_set_i">
|
2045 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_event_map"
|
2046 |
+
id="<?php echo WD_FB_PREFIX; ?>_event_map_1"
|
2047 |
+
value="1" <?php if ($row->event_map) echo 'checked="checked"'; ?> /><label
|
2048 |
+
for="<?php echo WD_FB_PREFIX; ?>_event_map_1">Yes</label>
|
2049 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_event_map"
|
2050 |
+
id="<?php echo WD_FB_PREFIX; ?>_event_map_0"
|
2051 |
+
value="0" <?php if (!$row->event_map) echo 'checked="checked"'; ?> /><label
|
2052 |
+
for="<?php echo WD_FB_PREFIX; ?>_event_map_0">No</label>
|
2053 |
+
<div class="spider_description"></div>
|
2054 |
+
</td>
|
2055 |
+
</tr>
|
2056 |
+
<tr>
|
2057 |
+
<td class="ffwd_set_l">
|
2058 |
+
<label>Show date:</label>
|
2059 |
+
</td>
|
2060 |
+
<td class="ffwd_set_i">
|
2061 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_event_date"
|
2062 |
+
id="<?php echo WD_FB_PREFIX; ?>_event_date_1"
|
2063 |
+
value="1" <?php if ($row->event_date) echo 'checked="checked"'; ?> /><label
|
2064 |
+
for="<?php echo WD_FB_PREFIX; ?>_event_date_1">Yes</label>
|
2065 |
+
<input type="radio" name="<?php echo WD_FB_PREFIX; ?>_event_date"
|
2066 |
+
id="<?php echo WD_FB_PREFIX; ?>_event_date_0"
|
2067 |
+
value="0" <?php if (!$row->event_date) echo 'checked="checked"'; ?> /><label
|
2068 |
+
for="<?php echo WD_FB_PREFIX; ?>_event_date_0">No</label>
|
2069 |
+
<div class="spider_description"></div>
|
2070 |
+
</td>
|
2071 |
+
</tr>
|
2072 |
+
|
2073 |
+
<tr id="tr_popup_hit_counter">
|
2074 |
+
<td class="ffwd_set_l">
|
2075 |
+
<label>Maximum Event description Length:</label>
|
2076 |
+
</td>
|
2077 |
+
<td class="ffwd_set_i">
|
2078 |
+
<input type="text" name="<?php echo WD_FB_PREFIX; ?>_event_desp_length"
|
2079 |
+
id="<?php echo WD_FB_PREFIX; ?>_event_desp_length" size="10"
|
2080 |
+
value="<?php echo $row->event_desp_length == '' ? '200' : $row->event_desp_length; ?>"
|
2081 |
+
class=""/>
|
2082 |
+
<div class="spider_description"></div>
|
2083 |
+
</td>
|
2084 |
+
</tr>
|
2085 |
+
</table>
|
2086 |
+
</div>
|
2087 |
+
</div>
|
2088 |
+
</div>
|
2089 |
+
|
2090 |
+
|
2091 |
+
</div>
|
2092 |
+
<input id="task" name="task" type="hidden" value=""/>
|
2093 |
+
<input id="current_id" name="current_id" type="hidden" value="<?php echo $row->id; ?>"/>
|
2094 |
+
<div id="opacity_div"
|
2095 |
+
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>
|
2096 |
+
<div id="loading_div"
|
2097 |
+
style="display:none; text-align: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99999;">
|
2098 |
+
<img src="<?php echo WD_FFWD_URL . '/images/ajax_loader.png'; ?>" class="spider_ajax_loading"
|
2099 |
+
style="margin-top: 200px; width:50px;">
|
2100 |
+
</div>
|
2101 |
+
</form>
|
2102 |
+
<script>
|
2103 |
+
function ffwd_change_tab(that) {
|
2104 |
+
var show = that.getAttribute("show");
|
2105 |
+
jQuery('.ffwd_tab').removeClass('ffwd_tab_s');
|
2106 |
+
jQuery(that).addClass('ffwd_tab_s');
|
2107 |
+
jQuery('.ffwd_p').css('display', 'none');
|
2108 |
+
jQuery('.ffwd_' + show).css('display', 'block')
|
2109 |
+
}
|
2110 |
+
function ffwd_change_label(id, text) {
|
2111 |
+
jQuery('#' + id).html(text);
|
2112 |
+
}
|
2113 |
+
function ffwd_view_type(wd_fb_prefix, view_type, that) {
|
2114 |
+
var fb_type = jQuery("select[id=" + wd_fb_prefix + "_type]").find(":selected").val(),
|
2115 |
+
fb_content_type = jQuery("input[name=" + wd_fb_prefix + "_content_type]:checked").val(),
|
2116 |
+
fb_content = (fb_content_type == 'specific') ? jQuery('input[name=' + wd_fb_prefix + '_specific]:checked').val() : 'timeline_content';
|
2117 |
+
/*jQuery("#" + wd_fb_prefix + view_type).prop('checked', true);*/
|
2118 |
+
|
2119 |
+
jQuery('.ffwd_view').removeClass('ffwd_view_s');
|
2120 |
+
jQuery(that).addClass('ffwd_view_s');
|
2121 |
+
jQuery(that).find('input[type="radio"]').attr('checked', 'checked');
|
2122 |
+
// Thumbnails, Masonry.
|
2123 |
+
jQuery("#" + wd_fb_prefix + "_tr_masonry_hor_ver").css('display', 'none');
|
2124 |
+
ffwd_change_label("col_num_label", 'Max. number of image columns');
|
2125 |
+
jQuery("#" + wd_fb_prefix + "_tr_image_max_columns").css('display', 'none');
|
2126 |
+
jQuery("#" + wd_fb_prefix + "_tr_thumb_width_height").css('display', 'none');
|
2127 |
+
jQuery("#" + wd_fb_prefix + "_tr_thumb_comments").css('display', 'none');
|
2128 |
+
jQuery("#" + wd_fb_prefix + "_tr_thumb_likes").css('display', 'none');
|
2129 |
+
jQuery("#" + wd_fb_prefix + "_tr_thumb_name").css('display', 'none');
|
2130 |
+
|
2131 |
+
// Blog Style.
|
2132 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_view_type").css('display', 'none');
|
2133 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_comments").css('display', 'none');
|
2134 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_likes").css('display', 'none');
|
2135 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_message_desc").css('display', 'none');
|
2136 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_shares").css('display', 'none');
|
2137 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_shares_butt").css('display', 'none');
|
2138 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_width").css('display', 'none');
|
2139 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_height").css('display', 'none');
|
2140 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_author").css('display', 'none');
|
2141 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_name").css('display', 'none');
|
2142 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_place_name").css('display', 'none');
|
2143 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_facebook").css('display', 'none');
|
2144 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_twitter").css('display', 'none');
|
2145 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_google").css('display', 'none');
|
2146 |
+
|
2147 |
+
|
2148 |
+
//Album compact
|
2149 |
+
jQuery("#" + wd_fb_prefix + "_tr_compuct_album_column_number").css('display', 'none');
|
2150 |
+
jQuery("#" + wd_fb_prefix + "_tr_compuct_albums_per_page").css('display', 'none');
|
2151 |
+
jQuery("#" + wd_fb_prefix + "_tr_compuct_album_title_hover").css('display', 'none');
|
2152 |
+
jQuery("#" + wd_fb_prefix + "_tr_compuct_album_thumb_width_height").css('display', 'none');
|
2153 |
+
jQuery("#" + wd_fb_prefix + "_tr_compuct_album_image_column_number").css('display', 'none');
|
2154 |
+
jQuery("#" + wd_fb_prefix + "_tr_compuct_album_images_per_page").css('display', 'none');
|
2155 |
+
jQuery("#" + wd_fb_prefix + "_tr_compuct_album_image_title").css('display', 'none');
|
2156 |
+
jQuery("#" + wd_fb_prefix + "_tr_compuct_album_image_thumb_width_height").css('display', 'none');
|
2157 |
+
|
2158 |
+
// For all
|
2159 |
+
jQuery("#" + wd_fb_prefix + "_tr_fb_plugin").css('display', 'none');
|
2160 |
+
jQuery("#" + wd_fb_prefix + "_tr_fb_name").css('display', 'none');
|
2161 |
+
|
2162 |
+
// Popup.
|
2163 |
+
jQuery("#" + wd_fb_prefix + "_trtbody_popup").css('display', 'none');
|
2164 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_width_height").css('display', 'none');
|
2165 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_effect").css('display', 'none');
|
2166 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_interval").css('display', 'none');
|
2167 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_filmstrip").css('display', 'none');
|
2168 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_filmstrip_height").css('display', 'none');
|
2169 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_ctrl_btn").css('display', 'none');
|
2170 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_fullscreen").css('display', 'none');
|
2171 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_info_btn").css('display', 'none');
|
2172 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_facebook").css('display', 'none');
|
2173 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_twitter").css('display', 'none');
|
2174 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_google").css('display', 'none');
|
2175 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_pinterest").css('display', 'none');
|
2176 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_tumblr").css('display', 'none');
|
2177 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_comments").css('display', 'none');
|
2178 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_likes").css('display', 'none');
|
2179 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_shares").css('display', 'none');
|
2180 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_author").css('display', 'none');
|
2181 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_name").css('display', 'none');
|
2182 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_place_name").css('display', 'none');
|
2183 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_message_desc").css('display', 'none');
|
2184 |
+
|
2185 |
+
switch (view_type) {
|
2186 |
+
case 'thumbnails':
|
2187 |
+
{
|
2188 |
+
ffwd_change_label(wd_fb_prefix + '_image_max_columns_label', 'Max. number of image columns: ');
|
2189 |
+
ffwd_change_label(wd_fb_prefix + '_thumb_width_height_label', 'Image thumbnail dimensions: ');
|
2190 |
+
jQuery('#' + wd_fb_prefix + '_thumb_width').show();
|
2191 |
+
jQuery('#' + wd_fb_prefix + '_thumb_height').show();
|
2192 |
+
jQuery("#" + wd_fb_prefix + "_tr_image_max_columns").css('display', '');
|
2193 |
+
jQuery("#" + wd_fb_prefix + "_tr_thumb_width_height").css('display', '');
|
2194 |
+
jQuery("#" + wd_fb_prefix + "_tr_thumb_comments").css('display', '');
|
2195 |
+
jQuery("#" + wd_fb_prefix + "_tr_thumb_likes").css('display', '');
|
2196 |
+
jQuery("#" + wd_fb_prefix + "_tr_thumb_name").css('display', '');
|
2197 |
+
break;
|
2198 |
+
|
2199 |
+
}
|
2200 |
+
case 'thumbnails_masonry':
|
2201 |
+
{
|
2202 |
+
if (jQuery("input[name=" + wd_fb_prefix + "_masonry_hor_ver]:checked").val() == 'horizontal') {
|
2203 |
+
ffwd_change_label(wd_fb_prefix + '_image_max_columns_label', 'Number of image rows: ');
|
2204 |
+
ffwd_change_label(wd_fb_prefix + '_thumb_width_height_label', 'Image thumbnail height: ');
|
2205 |
+
jQuery('#' + wd_fb_prefix + '_thumb_width').hide();
|
2206 |
+
jQuery('#' + wd_fb_prefix + '_thumb_height').show();
|
2207 |
+
}
|
2208 |
+
else {
|
2209 |
+
ffwd_change_label(wd_fb_prefix + '_image_max_columns_label', 'Max. number of image columns: ');
|
2210 |
+
ffwd_change_label(wd_fb_prefix + '_thumb_width_height_label', 'Image thumbnail width: ');
|
2211 |
+
jQuery('#' + wd_fb_prefix + '_thumb_width').show();
|
2212 |
+
jQuery('#' + wd_fb_prefix + '_thumb_height').hide();
|
2213 |
+
jQuery("#" + wd_fb_prefix + "_tr_thumb_name").css('display', '');
|
2214 |
+
}
|
2215 |
+
jQuery("#" + wd_fb_prefix + "_tr_masonry_hor_ver").css('display', '');
|
2216 |
+
jQuery('#' + wd_fb_prefix + '_thumb_width_height_separator').hide();
|
2217 |
+
jQuery("#" + wd_fb_prefix + "_tr_image_max_columns").css('display', '');
|
2218 |
+
jQuery("#" + wd_fb_prefix + "_tr_thumb_width_height").css('display', '');
|
2219 |
+
jQuery("#" + wd_fb_prefix + "_tr_thumb_comments").css('display', '');
|
2220 |
+
jQuery("#" + wd_fb_prefix + "_tr_thumb_likes").css('display', '');
|
2221 |
+
/*jQuery("#"+wd_fb_prefix+"_tr_thumb_name").css('display', '');*/
|
2222 |
+
break;
|
2223 |
+
|
2224 |
+
}
|
2225 |
+
|
2226 |
+
case 'blog_style':
|
2227 |
+
{
|
2228 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_view_type").css('display', '');
|
2229 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_view_type").css('display', '');
|
2230 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_comments").css('display', '');
|
2231 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_likes").css('display', '');
|
2232 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_message_desc").css('display', '');
|
2233 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_shares").css('display', '');
|
2234 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_shares_butt").css('display', '');
|
2235 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_width").css('display', '');
|
2236 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_height").css('display', '');
|
2237 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_author").css('display', '');
|
2238 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_name").css('display', '');
|
2239 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_place_name").css('display', '');
|
2240 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_facebook").css('display', '');
|
2241 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_twitter").css('display', '');
|
2242 |
+
jQuery("#" + wd_fb_prefix + "_tr_blog_style_google").css('display', '');
|
2243 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_filmstrip_height").css('display', '');
|
2244 |
+
|
2245 |
+
break;
|
2246 |
+
}
|
2247 |
+
|
2248 |
+
case 'album_compact':
|
2249 |
+
{
|
2250 |
+
jQuery("#" + wd_fb_prefix + "_tr_compuct_album_column_number").css('display', '');
|
2251 |
+
jQuery("#" + wd_fb_prefix + "_tr_compuct_albums_per_page").css('display', '');
|
2252 |
+
jQuery("#" + wd_fb_prefix + "_tr_compuct_album_title_hover").css('display', '');
|
2253 |
+
jQuery("#" + wd_fb_prefix + "_tr_compuct_album_thumb_width_height").css('display', '');
|
2254 |
+
jQuery("#" + wd_fb_prefix + "_tr_compuct_album_image_column_number").css('display', '');
|
2255 |
+
jQuery("#" + wd_fb_prefix + "_tr_compuct_album_images_per_page").css('display', '');
|
2256 |
+
jQuery("#" + wd_fb_prefix + "_tr_compuct_album_image_title").css('display', '');
|
2257 |
+
jQuery("#" + wd_fb_prefix + "_tr_compuct_album_image_thumb_width_height").css('display', '');
|
2258 |
+
|
2259 |
+
break;
|
2260 |
+
}
|
2261 |
+
}
|
2262 |
+
|
2263 |
+
jQuery("#" + wd_fb_prefix + "_tr_fb_name").css('display', '');
|
2264 |
+
if (fb_type == "page")
|
2265 |
+
jQuery("#" + wd_fb_prefix + "_tr_fb_plugin").css('display', '');
|
2266 |
+
jQuery("#" + wd_fb_prefix + "_tbody_popup").css('display', '');
|
2267 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_width_height").css('display', '');
|
2268 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_effect").css('display', '');
|
2269 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_interval").css('display', '');
|
2270 |
+
if (view_type != 'blog_style' && view_type != 'album_compact' || fb_content_type == 'timeline') {
|
2271 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_filmstrip").css('display', '');
|
2272 |
+
if (jQuery("input[name=" + wd_fb_prefix + "_popup_enable_filmstrip]:checked").val() == 1) {
|
2273 |
+
bwg_enable_disable('', wd_fb_prefix + '_tr_popup_filmstrip_height', wd_fb_prefix + '_popup_filmstrip_yes');
|
2274 |
+
}
|
2275 |
+
else {
|
2276 |
+
bwg_enable_disable('none', wd_fb_prefix + '_tr_popup_filmstrip_height', wd_fb_prefix + '_popup_filmstrip_no');
|
2277 |
+
}
|
2278 |
+
} else {
|
2279 |
+
|
2280 |
+
bwg_enable_disable('none', wd_fb_prefix + '_tr_popup_filmstrip_height', wd_fb_prefix + '_popup_filmstrip_no');
|
2281 |
+
}
|
2282 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_ctrl_btn").css('display', '');
|
2283 |
+
if (jQuery("input[name=" + wd_fb_prefix + "_popup_enable_ctrl_btn]:checked").val() == 1) {
|
2284 |
+
bwg_enable_disable('', wd_fb_prefix + '_tbody_popup_ctrl_btn', wd_fb_prefix + '_popup_ctrl_btn_yes');
|
2285 |
+
}
|
2286 |
+
else {
|
2287 |
+
bwg_enable_disable('none', wd_fb_prefix + '_tbody_popup_ctrl_btn', wd_fb_prefix + '_popup_ctrl_btn_no');
|
2288 |
+
}
|
2289 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_author").css('display', '');
|
2290 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_fullscreen").css('display', '');
|
2291 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_info_btn").css('display', '');
|
2292 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_facebook").css('display', '');
|
2293 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_twitter").css('display', '');
|
2294 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_google").css('display', '');
|
2295 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_pinterest").css('display', '');
|
2296 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_tumblr").css('display', '');
|
2297 |
+
if (fb_content_type == "timeline") {
|
2298 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_name").css('display', '');
|
2299 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_place_name").css('display', '');
|
2300 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_comments").css('display', '');
|
2301 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_likes").css('display', '');
|
2302 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_shares").css('display', '');
|
2303 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_message_desc").css('display', '');
|
2304 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_enable_filmstrip").css('display', '');
|
2305 |
+
|
2306 |
+
if (jQuery("input[name=" + wd_fb_prefix + "_popup_enable_filmstrip]:checked").val() == 1) {
|
2307 |
+
bwg_enable_disable('', wd_fb_prefix + '_tr_popup_filmstrip_height', wd_fb_prefix + '_popup_filmstrip_yes');
|
2308 |
+
}
|
2309 |
+
else {
|
2310 |
+
bwg_enable_disable('none', wd_fb_prefix + '_tr_popup_filmstrip_height', wd_fb_prefix + '_popup_filmstrip_no');
|
2311 |
+
}
|
2312 |
+
}
|
2313 |
+
else {
|
2314 |
+
switch (fb_content) {
|
2315 |
+
case "photos":
|
2316 |
+
case "videos":
|
2317 |
+
case "albums":
|
2318 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_name").css('display', '');
|
2319 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_comments").css('display', '');
|
2320 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_likes").css('display', '');
|
2321 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_message_desc").css('display', '');
|
2322 |
+
break;
|
2323 |
+
case "events":
|
2324 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_name").css('display', '');
|
2325 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_comments").css('display', '');
|
2326 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_message_desc").css('display', '');
|
2327 |
+
jQuery("#" + wd_fb_prefix + "_tr_popup_place_name").css('display', '');
|
2328 |
+
break;
|
2329 |
+
}
|
2330 |
+
}
|
2331 |
+
;
|
2332 |
+
|
2333 |
+
|
2334 |
+
jQuery('#ffwd_fb_view_type').val(view_type);
|
2335 |
+
}
|
2336 |
+
|
2337 |
+
function toggle_lightbox_tab(val) {
|
2338 |
+
if (val == 'lightbox') {
|
2339 |
+
jQuery('#ffwd_tab_lightbox').css('display', '');
|
2340 |
+
|
2341 |
+
}
|
2342 |
+
else {
|
2343 |
+
|
2344 |
+
jQuery('#ffwd_tab_lightbox').css('display', 'none');
|
2345 |
+
|
2346 |
+
}
|
2347 |
+
|
2348 |
+
|
2349 |
+
}
|
2350 |
+
|
2351 |
+
|
2352 |
+
function ffwd_toggle_page_plugin(val) {
|
2353 |
+
|
2354 |
+
if (val == '1') {
|
2355 |
+
jQuery('#ffwd_tab_page_plugin').css('display', '');
|
2356 |
+
|
2357 |
+
}
|
2358 |
+
else {
|
2359 |
+
|
2360 |
+
jQuery('#ffwd_tab_page_plugin').css('display', 'none');
|
2361 |
+
|
2362 |
+
}
|
2363 |
+
|
2364 |
+
|
2365 |
+
}
|
2366 |
+
|
2367 |
+
|
2368 |
+
jQuery(document).ready(function () {
|
2369 |
+
ffwd_view_type('<?php echo WD_FB_PREFIX; ?>', '<?php echo $row->fb_view_type ?>', jQuery('.<?php echo WD_FB_PREFIX; ?>_<?php echo $row->fb_view_type ?>'))
|
2370 |
+
choose_fb_content_type('<?php echo WD_FB_PREFIX; ?>', '<?php echo $row->content_type ?>')
|
2371 |
+
/*jQuery('body').on('click', '.ffwd_header_c', function () {
|
2372 |
+
var elem = jQuery(this).parent().find('.ffwd_sett_tabl'),
|
2373 |
+
d = (elem.css('display') == 'none') ? 'block' : 'none';
|
2374 |
+
elem.css('display', d);
|
2375 |
+
})*/
|
2376 |
+
|
2377 |
+
|
2378 |
+
bwg_popup_fullscreen(<?php echo $row->popup_fullscreen ?>);
|
2379 |
+
|
2380 |
+
<?php
|
2381 |
+
|
2382 |
+
if($row->comments_filter == 'stream')
|
2383 |
+
{
|
2384 |
+
?>
|
2385 |
+
ffwd_show_hide_options('tr_comments_replies', 'none');
|
2386 |
+
|
2387 |
+
<?php
|
2388 |
+
}
|
2389 |
+
|
2390 |
+
?>
|
2391 |
+
|
2392 |
+
|
2393 |
+
|
2394 |
+
toggle_lightbox_tab('<?php echo $row->image_onclick_action ?>');
|
2395 |
+
ffwd_toggle_page_plugin('<?php echo $row->fb_plugin ?>');
|
2396 |
+
|
2397 |
+
|
2398 |
+
});
|
2399 |
+
|
2400 |
+
function ffwd_show_hide_options(id, display) {
|
2401 |
+
jQuery("#" + id).css("display", display);
|
2402 |
+
}
|
2403 |
+
|
2404 |
+
|
2405 |
+
</script>
|
2406 |
+
<?php
|
2407 |
+
}
|
2408 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
2409 |
+
// Getters & Setters //
|
2410 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
2411 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
2412 |
+
// Private Methods //
|
2413 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
2414 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
2415 |
+
// Listeners //
|
2416 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
2417 |
+
}
|
admin/views/FFWDViewLicensing_ffwd.php
CHANGED
@@ -112,7 +112,7 @@ class FFWDViewLicensing_ffwd {
|
|
112 |
Upgrade to paid version </div>
|
113 |
|
114 |
<div class="ffwd-cell ffwd-cell-valign-middle">
|
115 |
-
<img src="
|
116 |
</div>
|
117 |
</div>
|
118 |
</a>
|
112 |
Upgrade to paid version </div>
|
113 |
|
114 |
<div class="ffwd-cell ffwd-cell-valign-middle">
|
115 |
+
<img src="<?php echo WD_FFWD_URL ?>/images/web-dorado.png">
|
116 |
</div>
|
117 |
</div>
|
118 |
</a>
|
admin/views/FFWDViewOptions_ffwd.php
CHANGED
@@ -1,214 +1,214 @@
|
|
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 |
-
<div style="font-size: 14px; font-weight: bold;">
|
34 |
-
This section allows you to change settings for different views and general options.
|
35 |
-
<a style="color: blue; text-decoration: none;" target="_blank"
|
36 |
-
href="https://web-dorado.com/wordpress-facebook-feed/options.html">Read More in User Manual</a>
|
37 |
-
</div>
|
38 |
-
<?php
|
39 |
-
$row = $this->model->get_row_data($reset);
|
40 |
-
?>
|
41 |
-
<script>
|
42 |
-
wd_fb_log_in = false;
|
43 |
-
</script>
|
44 |
-
<form method="post" class="wrap" action="admin.php?page=options_ffwd" style="width:99%;">
|
45 |
-
<?php wp_nonce_field('options_ffwd', 'ffwd_nonce'); ?>
|
46 |
-
<div class="ffwd_plugin_header">
|
47 |
-
<span class="option-icon"></span>
|
48 |
-
<h2 class="ffwd_page_name">Edit options</h2>
|
49 |
-
</div>
|
50 |
-
<div class="ffwd_upgrade ffwd-clear">
|
51 |
-
<div class="ffwd-right">
|
52 |
-
<a href="https://web-dorado.com/products/wordpress-facebook-feed-plugin.html" target="_blank">
|
53 |
-
<div class="ffwd-table">
|
54 |
-
<div class="ffwd-cell ffwd-cell-valign-middle">
|
55 |
-
Upgrade to paid version </div>
|
56 |
-
|
57 |
-
<div class="ffwd-cell ffwd-cell-valign-middle">
|
58 |
-
<img src="
|
59 |
-
</div>
|
60 |
-
</div>
|
61 |
-
</a>
|
62 |
-
</div>
|
63 |
-
</div>
|
64 |
-
<div style="display: inline-block; width: 100%;">
|
65 |
-
<div style="float: right;padding-top: 10px;">
|
66 |
-
<input class="ffwd-button-primary ffwd-button-reset" type="submit" onclick="if (confirm('Do you want to reset to default?')) {
|
67 |
-
spider_set_input_value('task', 'reset');
|
68 |
-
} else {
|
69 |
-
return false;
|
70 |
-
}" value="Reset all options"/>
|
71 |
-
<input class="ffwd-button-primary ffwd-button-save" type="submit"
|
72 |
-
onclick="if (spider_check_required('title', 'Title')) {return false;}; check_app('<?php echo WD_FB_PREFIX; ?>'); spider_set_input_value('task', 'save')"
|
73 |
-
value="Save"/>
|
74 |
-
|
75 |
-
</div>
|
76 |
-
</div>
|
77 |
-
<div style=" width: 100%;" id="display_panel">
|
78 |
-
|
79 |
-
<!--User options-->
|
80 |
-
<div class="spider_div_options" id="div_content_1" style="">
|
81 |
-
<table style="width: 60%;">
|
82 |
-
<tbody>
|
83 |
-
<tr>
|
84 |
-
<td class="spider_label_options">
|
85 |
-
<label for="<?php echo WD_FB_PREFIX; ?>_app_id">Facebook app Id: </label>
|
86 |
-
</td>
|
87 |
-
<td>
|
88 |
-
<input type="text" name="<?php echo WD_FB_PREFIX; ?>_app_id"
|
89 |
-
id="<?php echo WD_FB_PREFIX; ?>_app_id" size="30"
|
90 |
-
value="<?php echo $row->app_id; ?>" class=""
|
91 |
-
onchange="if(wd_fb_log_in) alert('Before change app id and secret please logout from curent app.')"/>
|
92 |
-
|
93 |
-
</td>
|
94 |
-
</tr>
|
95 |
-
<tr>
|
96 |
-
<td class="spider_label_options">
|
97 |
-
<label for="<?php echo WD_FB_PREFIX; ?>_app_secret">Facebook app Secret: </label>
|
98 |
-
</td>
|
99 |
-
<td>
|
100 |
-
<input type="text" name="<?php echo WD_FB_PREFIX; ?>_app_secret"
|
101 |
-
id="<?php echo WD_FB_PREFIX; ?>_app_secret" size="40"
|
102 |
-
value="<?php echo $row->app_secret; ?>" class=""
|
103 |
-
onchange="if(wd_fb_log_in) alert('Before change app id and secret please logout from curent app.'); "/>
|
104 |
-
<div class="spider_description">App ID and App Secret are optional. You only need to fill in this fields if you want your application Access Token to be used instead of the default Access Token.</div>
|
105 |
-
|
106 |
-
</td>
|
107 |
-
</tr>
|
108 |
-
<tr>
|
109 |
-
<td class="spider_label_options">
|
110 |
-
<label for="facebook_log_in">Facebook login / logout: </label>
|
111 |
-
</td>
|
112 |
-
<td>
|
113 |
-
<?php echo $this->model->log_in_log_out(); ?>
|
114 |
-
</td>
|
115 |
-
</tr>
|
116 |
-
|
117 |
-
<tr>
|
118 |
-
<td class="spider_label_options">
|
119 |
-
<label>Feed autoupdate interval:</label>
|
120 |
-
</td>
|
121 |
-
<td>
|
122 |
-
<input type="number" id="autoupdate_interval_hour" class="spider_int_input"
|
123 |
-
name="autoupdate_interval_hour" min="0" max="24"
|
124 |
-
value="<?php echo floor($row->autoupdate_interval / 60); ?>"/>
|
125 |
-
hour
|
126 |
-
<input type="number" id="autoupdate_interval_min" class="spider_int_input"
|
127 |
-
name="autoupdate_interval_min" min="0" max="59"
|
128 |
-
value="<?php echo floor($row->autoupdate_interval % 60); ?>"/>
|
129 |
-
min
|
130 |
-
<div class="spider_description">Minimum 1 min.</div>
|
131 |
-
</td>
|
132 |
-
</tr>
|
133 |
-
<tr>
|
134 |
-
<td class="spider_label_options">
|
135 |
-
<label>Timezone:</label>
|
136 |
-
</td>
|
137 |
-
<td>
|
138 |
-
<input type="text" value="<?php echo $row->date_timezone ?>" name="<?php echo WD_FB_PREFIX; ?>_date_timezone" />
|
139 |
-
|
140 |
-
<div class="spider_description">If left empty, the server timezone will be used</div>
|
141 |
-
</td>
|
142 |
-
</tr>
|
143 |
-
|
144 |
-
<tr>
|
145 |
-
<td class="spider_label_options">
|
146 |
-
<label>Date format for posts:</label>
|
147 |
-
</td>
|
148 |
-
<td>
|
149 |
-
<select name="<?php echo WD_FB_PREFIX; ?>_post_date_format">
|
150 |
-
<?php
|
151 |
-
foreach ($this->model->date_formats as $key => $date_format) {
|
152 |
-
?>
|
153 |
-
<option
|
154 |
-
value="<?php echo $key; ?>" <?php if ($row->post_date_format == $key) echo 'selected="selected"'; ?>><?php echo $date_format; ?></option>
|
155 |
-
<?php
|
156 |
-
}
|
157 |
-
?>
|
158 |
-
</select>
|
159 |
-
<div class="spider_description">Choose a date type.</div>
|
160 |
-
</td>
|
161 |
-
</tr>
|
162 |
-
|
163 |
-
<tr>
|
164 |
-
<td class="spider_label_options">
|
165 |
-
<label>Date format for events:</label>
|
166 |
-
</td>
|
167 |
-
<td>
|
168 |
-
<select name="<?php echo WD_FB_PREFIX; ?>_event_date_format">
|
169 |
-
<?php
|
170 |
-
foreach (array_slice($this->model->date_formats, 1) as $key => $date_format) {
|
171 |
-
?>
|
172 |
-
<option
|
173 |
-
value="<?php echo $key; ?>" <?php if ($row->event_date_format == $key) echo 'selected="selected"'; ?>><?php echo $date_format; ?></option>
|
174 |
-
<?php
|
175 |
-
}
|
176 |
-
?>
|
177 |
-
</select>
|
178 |
-
<div class="spider_description">Choose a date type.</div>
|
179 |
-
</td>
|
180 |
-
</tr>
|
181 |
-
|
182 |
-
</tbody>
|
183 |
-
</table>
|
184 |
-
</div>
|
185 |
-
</div>
|
186 |
-
<div id="opacity_div"
|
187 |
-
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>
|
188 |
-
<div id="loading_div"
|
189 |
-
style="display:none; text-align: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99999;">
|
190 |
-
<img src="<?php echo WD_FFWD_URL . '/images/ajax_loader.png'; ?>" class="spider_ajax_loading"
|
191 |
-
style="margin-top: 200px; width:50px;">
|
192 |
-
</div>
|
193 |
-
<input id="task" name="task" type="hidden" value=""/>
|
194 |
-
<input id="current_id" name="current_id" type="hidden" value="<?php /* echo $row->id; */ ?>"/>
|
195 |
-
<script>
|
196 |
-
// "State" global get var is for checking redirect from facebook
|
197 |
-
function ffwd_show_hide_options(id, display) {
|
198 |
-
jQuery("#" + id).css("display", display);
|
199 |
-
}
|
200 |
-
</script>
|
201 |
-
</form>
|
202 |
-
<?php
|
203 |
-
}
|
204 |
-
|
205 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
206 |
-
// Getters & Setters //
|
207 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
208 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
209 |
-
// Private Methods //
|
210 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
211 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
212 |
-
// Listeners //
|
213 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
214 |
-
}
|
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 |
+
<div style="font-size: 14px; font-weight: bold;">
|
34 |
+
This section allows you to change settings for different views and general options.
|
35 |
+
<a style="color: blue; text-decoration: none;" target="_blank"
|
36 |
+
href="https://web-dorado.com/wordpress-facebook-feed/options.html">Read More in User Manual</a>
|
37 |
+
</div>
|
38 |
+
<?php
|
39 |
+
$row = $this->model->get_row_data($reset);
|
40 |
+
?>
|
41 |
+
<script>
|
42 |
+
wd_fb_log_in = false;
|
43 |
+
</script>
|
44 |
+
<form method="post" class="wrap" action="admin.php?page=options_ffwd" style="width:99%;">
|
45 |
+
<?php wp_nonce_field('options_ffwd', 'ffwd_nonce'); ?>
|
46 |
+
<div class="ffwd_plugin_header">
|
47 |
+
<span class="option-icon"></span>
|
48 |
+
<h2 class="ffwd_page_name">Edit options</h2>
|
49 |
+
</div>
|
50 |
+
<div class="ffwd_upgrade ffwd-clear">
|
51 |
+
<div class="ffwd-right">
|
52 |
+
<a href="https://web-dorado.com/products/wordpress-facebook-feed-plugin.html" target="_blank">
|
53 |
+
<div class="ffwd-table">
|
54 |
+
<div class="ffwd-cell ffwd-cell-valign-middle">
|
55 |
+
Upgrade to paid version </div>
|
56 |
+
|
57 |
+
<div class="ffwd-cell ffwd-cell-valign-middle">
|
58 |
+
<img src="<?php echo WD_FFWD_URL ?>/images/web-dorado.png">
|
59 |
+
</div>
|
60 |
+
</div>
|
61 |
+
</a>
|
62 |
+
</div>
|
63 |
+
</div>
|
64 |
+
<div style="display: inline-block; width: 100%;">
|
65 |
+
<div style="float: right;padding-top: 10px;">
|
66 |
+
<input class="ffwd-button-primary ffwd-button-reset" type="submit" onclick="if (confirm('Do you want to reset to default?')) {
|
67 |
+
spider_set_input_value('task', 'reset');
|
68 |
+
} else {
|
69 |
+
return false;
|
70 |
+
}" value="Reset all options"/>
|
71 |
+
<input class="ffwd-button-primary ffwd-button-save" type="submit"
|
72 |
+
onclick="if (spider_check_required('title', 'Title')) {return false;}; check_app('<?php echo WD_FB_PREFIX; ?>'); spider_set_input_value('task', 'save')"
|
73 |
+
value="Save"/>
|
74 |
+
|
75 |
+
</div>
|
76 |
+
</div>
|
77 |
+
<div style=" width: 100%;" id="display_panel">
|
78 |
+
|
79 |
+
<!--User options-->
|
80 |
+
<div class="spider_div_options" id="div_content_1" style="">
|
81 |
+
<table style="width: 60%;">
|
82 |
+
<tbody>
|
83 |
+
<tr>
|
84 |
+
<td class="spider_label_options">
|
85 |
+
<label for="<?php echo WD_FB_PREFIX; ?>_app_id">Facebook app Id: </label>
|
86 |
+
</td>
|
87 |
+
<td>
|
88 |
+
<input type="text" name="<?php echo WD_FB_PREFIX; ?>_app_id"
|
89 |
+
id="<?php echo WD_FB_PREFIX; ?>_app_id" size="30"
|
90 |
+
value="<?php echo $row->app_id; ?>" class=""
|
91 |
+
onchange="if(wd_fb_log_in) alert('Before change app id and secret please logout from curent app.')"/>
|
92 |
+
|
93 |
+
</td>
|
94 |
+
</tr>
|
95 |
+
<tr>
|
96 |
+
<td class="spider_label_options">
|
97 |
+
<label for="<?php echo WD_FB_PREFIX; ?>_app_secret">Facebook app Secret: </label>
|
98 |
+
</td>
|
99 |
+
<td>
|
100 |
+
<input type="text" name="<?php echo WD_FB_PREFIX; ?>_app_secret"
|
101 |
+
id="<?php echo WD_FB_PREFIX; ?>_app_secret" size="40"
|
102 |
+
value="<?php echo $row->app_secret; ?>" class=""
|
103 |
+
onchange="if(wd_fb_log_in) alert('Before change app id and secret please logout from curent app.'); "/>
|
104 |
+
<div class="spider_description">App ID and App Secret are optional. You only need to fill in this fields if you want your application Access Token to be used instead of the default Access Token.</div>
|
105 |
+
|
106 |
+
</td>
|
107 |
+
</tr>
|
108 |
+
<tr>
|
109 |
+
<td class="spider_label_options">
|
110 |
+
<label for="facebook_log_in">Facebook login / logout: </label>
|
111 |
+
</td>
|
112 |
+
<td>
|
113 |
+
<?php echo $this->model->log_in_log_out(); ?>
|
114 |
+
</td>
|
115 |
+
</tr>
|
116 |
+
|
117 |
+
<tr>
|
118 |
+
<td class="spider_label_options">
|
119 |
+
<label>Feed autoupdate interval:</label>
|
120 |
+
</td>
|
121 |
+
<td>
|
122 |
+
<input type="number" id="autoupdate_interval_hour" class="spider_int_input"
|
123 |
+
name="autoupdate_interval_hour" min="0" max="24"
|
124 |
+
value="<?php echo floor($row->autoupdate_interval / 60); ?>"/>
|
125 |
+
hour
|
126 |
+
<input type="number" id="autoupdate_interval_min" class="spider_int_input"
|
127 |
+
name="autoupdate_interval_min" min="0" max="59"
|
128 |
+
value="<?php echo floor($row->autoupdate_interval % 60); ?>"/>
|
129 |
+
min
|
130 |
+
<div class="spider_description">Minimum 1 min.</div>
|
131 |
+
</td>
|
132 |
+
</tr>
|
133 |
+
<tr>
|
134 |
+
<td class="spider_label_options">
|
135 |
+
<label>Timezone:</label>
|
136 |
+
</td>
|
137 |
+
<td>
|
138 |
+
<input type="text" value="<?php echo $row->date_timezone ?>" name="<?php echo WD_FB_PREFIX; ?>_date_timezone" />
|
139 |
+
|
140 |
+
<div class="spider_description">If left empty, the server timezone will be used</div>
|
141 |
+
</td>
|
142 |
+
</tr>
|
143 |
+
|
144 |
+
<tr>
|
145 |
+
<td class="spider_label_options">
|
146 |
+
<label>Date format for posts:</label>
|
147 |
+
</td>
|
148 |
+
<td>
|
149 |
+
<select name="<?php echo WD_FB_PREFIX; ?>_post_date_format">
|
150 |
+
<?php
|
151 |
+
foreach ($this->model->date_formats as $key => $date_format) {
|
152 |
+
?>
|
153 |
+
<option
|
154 |
+
value="<?php echo $key; ?>" <?php if ($row->post_date_format == $key) echo 'selected="selected"'; ?>><?php echo $date_format; ?></option>
|
155 |
+
<?php
|
156 |
+
}
|
157 |
+
?>
|
158 |
+
</select>
|
159 |
+
<div class="spider_description">Choose a date type.</div>
|
160 |
+
</td>
|
161 |
+
</tr>
|
162 |
+
|
163 |
+
<tr>
|
164 |
+
<td class="spider_label_options">
|
165 |
+
<label>Date format for events:</label>
|
166 |
+
</td>
|
167 |
+
<td>
|
168 |
+
<select name="<?php echo WD_FB_PREFIX; ?>_event_date_format">
|
169 |
+
<?php
|
170 |
+
foreach (array_slice($this->model->date_formats, 1) as $key => $date_format) {
|
171 |
+
?>
|
172 |
+
<option
|
173 |
+
value="<?php echo $key; ?>" <?php if ($row->event_date_format == $key) echo 'selected="selected"'; ?>><?php echo $date_format; ?></option>
|
174 |
+
<?php
|
175 |
+
}
|
176 |
+
?>
|
177 |
+
</select>
|
178 |
+
<div class="spider_description">Choose a date type.</div>
|
179 |
+
</td>
|
180 |
+
</tr>
|
181 |
+
|
182 |
+
</tbody>
|
183 |
+
</table>
|
184 |
+
</div>
|
185 |
+
</div>
|
186 |
+
<div id="opacity_div"
|
187 |
+
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>
|
188 |
+
<div id="loading_div"
|
189 |
+
style="display:none; text-align: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 99999;">
|
190 |
+
<img src="<?php echo WD_FFWD_URL . '/images/ajax_loader.png'; ?>" class="spider_ajax_loading"
|
191 |
+
style="margin-top: 200px; width:50px;">
|
192 |
+
</div>
|
193 |
+
<input id="task" name="task" type="hidden" value=""/>
|
194 |
+
<input id="current_id" name="current_id" type="hidden" value="<?php /* echo $row->id; */ ?>"/>
|
195 |
+
<script>
|
196 |
+
// "State" global get var is for checking redirect from facebook
|
197 |
+
function ffwd_show_hide_options(id, display) {
|
198 |
+
jQuery("#" + id).css("display", display);
|
199 |
+
}
|
200 |
+
</script>
|
201 |
+
</form>
|
202 |
+
<?php
|
203 |
+
}
|
204 |
+
|
205 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
206 |
+
// Getters & Setters //
|
207 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
208 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
209 |
+
// Private Methods //
|
210 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
211 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
212 |
+
// Listeners //
|
213 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
214 |
+
}
|
admin/views/FFWDViewThemes_ffwd.php
CHANGED
@@ -1,3433 +1,3433 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class FFWDViewThemes_ffwd
|
4 |
-
{
|
5 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
6 |
-
// Events //
|
7 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
9 |
-
// Constants //
|
10 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
12 |
-
// Variables //
|
13 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
-
private $model;
|
15 |
-
|
16 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
17 |
-
// Constructor & Destructor //
|
18 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
-
public function __construct($model)
|
20 |
-
{
|
21 |
-
$this->model = $model;
|
22 |
-
}
|
23 |
-
|
24 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
25 |
-
// Public Methods //
|
26 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
27 |
-
public function display()
|
28 |
-
{
|
29 |
-
?>
|
30 |
-
<div class="ffwd_upgrade ffwd-clear">
|
31 |
-
<div class="ffwd-right">
|
32 |
-
<a href="https://web-dorado.com/products/wordpress-facebook-feed-plugin.html" target="_blank">
|
33 |
-
<div class="ffwd-table">
|
34 |
-
<div class="ffwd-cell ffwd-cell-valign-middle">
|
35 |
-
Upgrade to paid version
|
36 |
-
</div>
|
37 |
-
|
38 |
-
<div class="ffwd-cell ffwd-cell-valign-middle">
|
39 |
-
<img
|
40 |
-
src="
|
41 |
-
</div>
|
42 |
-
</div>
|
43 |
-
</a>
|
44 |
-
</div>
|
45 |
-
</div>
|
46 |
-
<div style="clear: both;float: right;color: #15699F; font-size: 20px; margin-top:10px; padding:8px 15px;">
|
47 |
-
This is FREE version, Customizing themes is available only in the PAID version.
|
48 |
-
</div>
|
49 |
-
|
50 |
-
<img src='<?php echo plugins_url('../../images/themes/thumbnail.png', __FILE__) ?>'/><br>
|
51 |
-
<img src='<?php echo plugins_url('../../images/themes/masonry.png', __FILE__) ?>'/><br>
|
52 |
-
<img src='<?php echo plugins_url('../../images/themes/album.png', __FILE__) ?>'/><br>
|
53 |
-
<img src='<?php echo plugins_url('../../images/themes/blog.png', __FILE__) ?>'/><br>
|
54 |
-
<img src='<?php echo plugins_url('../../images/themes/lightbox.png', __FILE__) ?>'/><br>
|
55 |
-
<img src='<?php echo plugins_url('../../images/themes/pagenav.png', __FILE__) ?>'/><br>
|
56 |
-
<?php
|
57 |
-
|
58 |
-
}
|
59 |
-
|
60 |
-
public function edit($id, $reset)
|
61 |
-
{
|
62 |
-
$row = $this->model->get_row_data($id, $reset);
|
63 |
-
$page_title = (($id != 0) ? 'Edit theme ' . $row->name : 'Create new theme');
|
64 |
-
$current_type = WDW_FFWD_Library::get('current_type', 'Thumbnail');
|
65 |
-
$border_styles = array(
|
66 |
-
'none' => 'None',
|
67 |
-
'solid' => 'Solid',
|
68 |
-
'dotted' => 'Dotted',
|
69 |
-
'dashed' => 'Dashed',
|
70 |
-
'double' => 'Double',
|
71 |
-
'groove' => 'Groove',
|
72 |
-
'ridge' => 'Ridge',
|
73 |
-
'inset' => 'Inset',
|
74 |
-
'outset' => 'Outset',
|
75 |
-
);
|
76 |
-
$font_families = array(
|
77 |
-
'inherit' => 'Inherit',
|
78 |
-
'arial' => 'Arial',
|
79 |
-
'lucida grande' => 'Lucida grande',
|
80 |
-
'segoe ui' => 'Segoe ui',
|
81 |
-
'tahoma' => 'Tahoma',
|
82 |
-
'trebuchet ms' => 'Trebuchet ms',
|
83 |
-
'verdana' => 'Verdana',
|
84 |
-
'cursive' => 'Cursive',
|
85 |
-
'fantasy' => 'Fantasy',
|
86 |
-
'monospace' => 'Monospace',
|
87 |
-
'serif' => 'Serif',
|
88 |
-
// 'helvetica, arial, sans-serif' => 'Helvetica',
|
89 |
-
'helvetica' => 'Helvetica',
|
90 |
-
);
|
91 |
-
$aligns = array(
|
92 |
-
'left' => 'Left',
|
93 |
-
'center' => 'Center',
|
94 |
-
'right' => 'Right',
|
95 |
-
);
|
96 |
-
$font_weights = array(
|
97 |
-
'lighter' => 'Lighter',
|
98 |
-
'normal' => 'Normal',
|
99 |
-
'bold' => 'Bold',
|
100 |
-
);
|
101 |
-
$fd_header_icons = array(
|
102 |
-
'fa fa-vimeo' => 'Vimeo',
|
103 |
-
'fa fa-wordpress' => 'Wordpress',
|
104 |
-
'fa fa-facebook' => 'Facebook',
|
105 |
-
'fa fa-android' => 'Android',
|
106 |
-
'fa fa-apple' => 'Apple',
|
107 |
-
'fa fa-youtube' => 'Youtube',
|
108 |
-
'fa fa-facebook-official' => 'Facebook official',
|
109 |
-
'fa fa-calendar' => 'Event',
|
110 |
-
'fa fa-calendar-plus-o' => 'Calendar plus',
|
111 |
-
'fa fa-calendar-check-o' => 'Calendar check',
|
112 |
-
'fa fa-camera' => 'Camera',
|
113 |
-
'fa fa-hand-peace-o' => 'Hand-peace',
|
114 |
-
'fa fa-futbol-o' => 'Soccer',
|
115 |
-
'fa fa-car' => 'Car',
|
116 |
-
'fa fa-instagram' => 'Instagram',
|
117 |
-
);
|
118 |
-
$hover_effects = array(
|
119 |
-
'none' => 'None',
|
120 |
-
'rotate' => 'Rotate',
|
121 |
-
'scale' => 'Scale',
|
122 |
-
'skew' => 'Skew',
|
123 |
-
);
|
124 |
-
$button_styles = array(
|
125 |
-
'fa-chevron' => 'Chevron',
|
126 |
-
'fa-angle' => 'Angle',
|
127 |
-
'fa-angle-double' => 'Double',
|
128 |
-
);
|
129 |
-
$rate_icons = array(
|
130 |
-
'star' => 'Star',
|
131 |
-
'bell' => 'Bell',
|
132 |
-
'circle' => 'Circle',
|
133 |
-
'flag' => 'Flag',
|
134 |
-
'heart' => 'Heart',
|
135 |
-
'square' => 'Square',
|
136 |
-
);
|
137 |
-
?>
|
138 |
-
<div style="font-size: 14px; font-weight: bold;">
|
139 |
-
This section allows you to add/edit theme.
|
140 |
-
<a style="color: blue; text-decoration: none;" target="_blank"
|
141 |
-
href="http://web-dorado.com/wordpress-gallery-guide-step-6/6-1.html">Read More in User Manual</a>
|
142 |
-
</div>
|
143 |
-
<form class="wrap" method="post" id="themes_form" action="admin.php?page=themes_ffwd" style="width:99%;">
|
144 |
-
<?php wp_nonce_field('themes_ffwd', 'ffwd_nonce'); ?>
|
145 |
-
|
146 |
-
<div class="ffwd_plugin_header">
|
147 |
-
<span class="theme_icon"></span>
|
148 |
-
|
149 |
-
<h2 class="ffwd_page_name"><?php echo $page_title; ?></h2>
|
150 |
-
</div>
|
151 |
-
<div style="float: right; margin: 0 5px 0 0;padding-top: 10px">
|
152 |
-
<input class="ffwd-button-primary ffwd-button-save" type="submit"
|
153 |
-
onclick="if (spider_check_required('name', 'Name')) {return false;}; spider_set_input_value('task', 'save')"
|
154 |
-
value="Save"/>
|
155 |
-
<input class="ffwd-button-primary ffwd-button-apply" type="submit"
|
156 |
-
onclick="if (spider_check_required('name', 'Name')) {return false;}; spider_set_input_value('task', 'apply')"
|
157 |
-
value="Apply"/>
|
158 |
-
<input class="ffwd-button-secondary ffwd-button-cancel" type="submit"
|
159 |
-
onclick="spider_set_input_value('task', 'cancel')"
|
160 |
-
value="Cancel"/>
|
161 |
-
<input title="Reset to default theme" class="ffwd-button-primary ffwd-button-reset" type="submit"
|
162 |
-
onclick="if (confirm('Do you want to reset to default?')) {
|
163 |
-
spider_set_input_value('task', 'reset');
|
164 |
-
} else {
|
165 |
-
return false;
|
166 |
-
}" value="Reset"/>
|
167 |
-
</div>
|
168 |
-
<div style="float: left; margin: 10px 0 0; display: none;" id="type_menu">
|
169 |
-
<div id="type_Thumbnail" class="theme_type" onclick="bwg_change_theme_type('Thumbnail')">Thumbnails
|
170 |
-
</div>
|
171 |
-
<div id="type_Masonry" class="theme_type" onclick="bwg_change_theme_type('Masonry')">Masonry</div>
|
172 |
-
<div id="type_Compact_album" class="theme_type" onclick="bwg_change_theme_type('Compact_album')">Compact
|
173 |
-
Album
|
174 |
-
</div>
|
175 |
-
<div id="type_Blog_style" class="theme_type" onclick="bwg_change_theme_type('Blog_style')">Blog Style
|
176 |
-
</div>
|
177 |
-
<div id="type_Lightbox" class="theme_type" onclick="bwg_change_theme_type('Lightbox')">Lightbox</div>
|
178 |
-
<div id="type_Navigation" class="theme_type" onclick="bwg_change_theme_type('Navigation')">Page
|
179 |
-
Navigation
|
180 |
-
</div>
|
181 |
-
<input type="hidden" id="current_type" name="current_type" value="<?php echo $current_type; ?>"/>
|
182 |
-
</div>
|
183 |
-
<fieldset class="spider_fieldset">
|
184 |
-
|
185 |
-
<table style="clear:both;">
|
186 |
-
<tbody>
|
187 |
-
<tr>
|
188 |
-
<td class="spider_label"><label for="name">Name: <span style="color:#FF0000;"> * </span>
|
189 |
-
</label></td>
|
190 |
-
<td><input type="text" id="name" name="name" value="<?php echo $row->name; ?>"
|
191 |
-
class="spider_text_input"/></td>
|
192 |
-
</tr>
|
193 |
-
</tbody>
|
194 |
-
</table>
|
195 |
-
|
196 |
-
<fieldset class="spider_type_fieldset" id="Thumbnail">
|
197 |
-
<fieldset class="spider_child_fieldset" id="Thumbnail_1">
|
198 |
-
<table style="clear:both;">
|
199 |
-
<tbody>
|
200 |
-
<tr>
|
201 |
-
<td class="spider_label"><label for="thumb_margin">Margin: </label></td>
|
202 |
-
<td>
|
203 |
-
<input type="text" name="thumb_margin" id="thumb_margin"
|
204 |
-
value="<?php echo $row->thumb_margin; ?>" class="spider_int_input"
|
205 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
206 |
-
</td>
|
207 |
-
</tr>
|
208 |
-
<tr>
|
209 |
-
<td class="spider_label"><label for="thumb_padding">Padding: </label></td>
|
210 |
-
<td>
|
211 |
-
<input type="text" name="thumb_padding" id="thumb_padding"
|
212 |
-
value="<?php echo $row->thumb_padding; ?>" class="spider_int_input"
|
213 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
214 |
-
</td>
|
215 |
-
</tr>
|
216 |
-
<tr>
|
217 |
-
<td class="spider_label"><label for="thumb_border_width">Border width: </label></td>
|
218 |
-
<td>
|
219 |
-
<input type="text" name="thumb_border_width" id="thumb_border_width"
|
220 |
-
value="<?php echo $row->thumb_border_width; ?>" class="spider_int_input"
|
221 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
222 |
-
</td>
|
223 |
-
</tr>
|
224 |
-
<tr>
|
225 |
-
<td class="spider_label"><label for="thumb_border_style">Border style: </label></td>
|
226 |
-
<td>
|
227 |
-
<select name="thumb_border_style" id="thumb_border_style">
|
228 |
-
<?php
|
229 |
-
foreach ($border_styles as $key => $border_style) {
|
230 |
-
?>
|
231 |
-
<option
|
232 |
-
value="<?php echo $key; ?>" <?php echo(($row->thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
|
233 |
-
<?php
|
234 |
-
}
|
235 |
-
?>
|
236 |
-
</select>
|
237 |
-
</td>
|
238 |
-
</tr>
|
239 |
-
<tr>
|
240 |
-
<td class="spider_label"><label for="thumb_border_color">Border color:</label></td>
|
241 |
-
<td>
|
242 |
-
<input type="text" name="thumb_border_color" id="thumb_border_color"
|
243 |
-
value="<?php echo $row->thumb_border_color; ?>" class="color"/>
|
244 |
-
</td>
|
245 |
-
</tr>
|
246 |
-
<tr>
|
247 |
-
<td class="spider_label"><label for="thumb_border_radius">Border radius: </label></td>
|
248 |
-
<td>
|
249 |
-
<input type="text" name="thumb_border_radius" id="thumb_border_radius"
|
250 |
-
value="<?php echo $row->thumb_border_radius; ?>" class="spider_char_input"/>
|
251 |
-
<div class="spider_description">Use CSS type values.</div>
|
252 |
-
</td>
|
253 |
-
</tr>
|
254 |
-
<tr>
|
255 |
-
<td class="spider_label"><label for="thumb_box_shadow">Shadow: </label></td>
|
256 |
-
<td>
|
257 |
-
<input type="text" name="thumb_box_shadow" id="thumb_box_shadow"
|
258 |
-
value="<?php echo $row->thumb_box_shadow; ?>" class="spider_box_input"/>
|
259 |
-
<div class="spider_description">Use CSS type values.</div>
|
260 |
-
</td>
|
261 |
-
</tr>
|
262 |
-
<tr>
|
263 |
-
<td class="spider_label"><label for="thumb_hover_effect">Hover effect: </label></td>
|
264 |
-
<td>
|
265 |
-
<select name="thumb_hover_effect" id="thumb_hover_effect" class="spider_int_input">
|
266 |
-
<?php
|
267 |
-
foreach ($hover_effects as $key => $hover_effect) {
|
268 |
-
?>
|
269 |
-
<option
|
270 |
-
value="<?php echo $key; ?>" <?php echo(($row->thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo $hover_effect; ?></option>
|
271 |
-
<?php
|
272 |
-
}
|
273 |
-
?>
|
274 |
-
</select>
|
275 |
-
</td>
|
276 |
-
</tr>
|
277 |
-
<tr>
|
278 |
-
<td class="spider_label"><label for="thumb_hover_effect_value">Hover effect
|
279 |
-
value: </label></td>
|
280 |
-
<td>
|
281 |
-
<input type="text" name="thumb_hover_effect_value" id="thumb_hover_effect_value"
|
282 |
-
value="<?php echo $row->thumb_hover_effect_value; ?>"
|
283 |
-
class="spider_char_input"/>
|
284 |
-
<div class="spider_description">E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.</div>
|
285 |
-
</td>
|
286 |
-
</tr>
|
287 |
-
<tr>
|
288 |
-
<td class="spider_label"><label>Transition: </label></td>
|
289 |
-
<td id="thumb_transition">
|
290 |
-
<input type="radio" name="thumb_transition" id="thumb_transition1"
|
291 |
-
value="1"<?php if ($row->thumb_transition == 1) echo 'checked="checked"'; ?> />
|
292 |
-
<label for="thumb_transition1" id="thumb_transition1_lbl">Yes</label>
|
293 |
-
<input type="radio" name="thumb_transition" id="thumb_transition0"
|
294 |
-
value="0"<?php if ($row->thumb_transition == 0) echo 'checked="checked"'; ?> />
|
295 |
-
<label for="thumb_transition0" id="thumb_transition0_lbl">No</label>
|
296 |
-
</td>
|
297 |
-
</tr>
|
298 |
-
</tbody>
|
299 |
-
</table>
|
300 |
-
</fieldset>
|
301 |
-
<fieldset class="spider_child_fieldset" id="Thumbnail_2">
|
302 |
-
<table style="clear:both;">
|
303 |
-
<tbody>
|
304 |
-
<tr>
|
305 |
-
<td class="spider_label">
|
306 |
-
<label for="thumb_bg_color">Thumbnail background color: </label>
|
307 |
-
</td>
|
308 |
-
<td>
|
309 |
-
<input type="text" name="thumb_bg_color" id="thumb_bg_color"
|
310 |
-
value="<?php echo $row->thumb_bg_color; ?>" class="color"/>
|
311 |
-
</td>
|
312 |
-
</tr>
|
313 |
-
<tr>
|
314 |
-
<td class="spider_label"><label for="thumb_transparent">Thumbnail transparency: </label>
|
315 |
-
</td>
|
316 |
-
<td>
|
317 |
-
<input type="text" name="thumb_transparent" id="thumb_transparent"
|
318 |
-
value="<?php echo $row->thumb_transparent; ?>" class="spider_int_input"
|
319 |
-
onkeypress="return spider_check_isnum(event)"/> %
|
320 |
-
<div class="spider_description">Value must be between 0 to 100.</div>
|
321 |
-
</td>
|
322 |
-
</tr>
|
323 |
-
<tr>
|
324 |
-
<td class="spider_label"><label for="thumbs_bg_color">Full background color: </label>
|
325 |
-
</td>
|
326 |
-
<td>
|
327 |
-
<input type="text" name="thumbs_bg_color" id="thumbs_bg_color"
|
328 |
-
value="<?php echo $row->thumbs_bg_color; ?>" class="color"/>
|
329 |
-
</td>
|
330 |
-
</tr>
|
331 |
-
<tr>
|
332 |
-
<td class="spider_label"><label for="thumb_bg_transparent">Full background
|
333 |
-
transparency: </label></td>
|
334 |
-
<td>
|
335 |
-
<input type="text" name="thumb_bg_transparent" id="thumb_bg_transparent"
|
336 |
-
value="<?php echo $row->thumb_bg_transparent; ?>" class="spider_int_input"
|
337 |
-
onkeypress="return spider_check_isnum(event)"/> %
|
338 |
-
<div class="spider_description">Value must be between 0 to 100.</div>
|
339 |
-
</td>
|
340 |
-
</tr>
|
341 |
-
<tr>
|
342 |
-
<td class="spider_label"><label for="thumb_align">Alignment: </label></td>
|
343 |
-
<td>
|
344 |
-
<select name="thumb_align" id="thumb_align">
|
345 |
-
<?php
|
346 |
-
foreach ($aligns as $key => $align) {
|
347 |
-
?>
|
348 |
-
<option
|
349 |
-
value="<?php echo $key; ?>" <?php echo(($row->thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
|
350 |
-
<?php
|
351 |
-
}
|
352 |
-
?>
|
353 |
-
</select>
|
354 |
-
</td>
|
355 |
-
</tr>
|
356 |
-
</tbody>
|
357 |
-
</table>
|
358 |
-
</fieldset>
|
359 |
-
<fieldset class="spider_child_fieldset" id="Thumbnail_3">
|
360 |
-
<table style="clear:both;">
|
361 |
-
<tbody>
|
362 |
-
<tr>
|
363 |
-
<td class="spider_label"><label>Title position: </label></td>
|
364 |
-
<td>
|
365 |
-
<input type="radio" name="thumb_title_pos" id="thumb_title_pos1"
|
366 |
-
value="top" <?php if ($row->thumb_title_pos == "top") echo 'checked="checked"'; ?> />
|
367 |
-
<label for="thumb_title_pos1" id="thumb_title_pos1_lbl">Top</label>
|
368 |
-
<input type="radio" name="thumb_title_pos" id="thumb_title_pos0"
|
369 |
-
value="bottom" <?php if ($row->thumb_title_pos == "bottom") echo 'checked="checked"'; ?> />
|
370 |
-
<label for="thumb_title_pos0" id="thumb_title_pos0_lbl">Bottom</label>
|
371 |
-
</td>
|
372 |
-
</tr>
|
373 |
-
<tr>
|
374 |
-
<td class="spider_label"><label for="thumb_title_font_size">Title font size: </label>
|
375 |
-
</td>
|
376 |
-
<td>
|
377 |
-
<input type="text" name="thumb_title_font_size" id="thumb_title_font_size"
|
378 |
-
value="<?php echo $row->thumb_title_font_size; ?>" class="spider_int_input"
|
379 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
380 |
-
</td>
|
381 |
-
</tr>
|
382 |
-
<tr>
|
383 |
-
<td class="spider_label"><label for="thumb_title_font_color">Title font color: </label>
|
384 |
-
</td>
|
385 |
-
<td>
|
386 |
-
<input type="text" name="thumb_title_font_color" id="thumb_title_font_color"
|
387 |
-
value="<?php echo $row->thumb_title_font_color; ?>" class="color"/>
|
388 |
-
</td>
|
389 |
-
</tr>
|
390 |
-
<tr>
|
391 |
-
<td class="spider_label"><label for="thumb_title_font_style">Title font family: </label>
|
392 |
-
</td>
|
393 |
-
<td>
|
394 |
-
<select name="thumb_title_font_style" id="thumb_title_font_style">
|
395 |
-
<?php
|
396 |
-
foreach ($font_families as $key => $font_family) {
|
397 |
-
?>
|
398 |
-
<option
|
399 |
-
value="<?php echo $key; ?>" <?php echo(($row->thumb_title_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
400 |
-
<?php
|
401 |
-
}
|
402 |
-
?>
|
403 |
-
</select>
|
404 |
-
</td>
|
405 |
-
</tr>
|
406 |
-
<tr>
|
407 |
-
<td class="spider_label"><label for="thumb_title_font_weight">Title font
|
408 |
-
weight: </label></td>
|
409 |
-
<td>
|
410 |
-
<select name="thumb_title_font_weight" id="thumb_title_font_weight">
|
411 |
-
<?php
|
412 |
-
foreach ($font_weights as $key => $font_weight) {
|
413 |
-
?>
|
414 |
-
<option
|
415 |
-
value="<?php echo $key; ?>" <?php echo(($row->thumb_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
416 |
-
<?php
|
417 |
-
}
|
418 |
-
?>
|
419 |
-
</select>
|
420 |
-
</td>
|
421 |
-
</tr>
|
422 |
-
<tr>
|
423 |
-
<td class="spider_label"><label for="thumb_title_shadow">Title box shadow: </label></td>
|
424 |
-
<td>
|
425 |
-
<input type="text" name="thumb_title_shadow" id="thumb_title_shadow"
|
426 |
-
value="<?php echo $row->thumb_title_shadow; ?>" class="spider_box_input"/>
|
427 |
-
<div class="spider_description">Use CSS type values.</div>
|
428 |
-
</td>
|
429 |
-
</tr>
|
430 |
-
<tr>
|
431 |
-
<td class="spider_label"><label for="thumb_title_margin">Title margin: </label></td>
|
432 |
-
<td>
|
433 |
-
<input type="text" name="thumb_title_margin" id="thumb_title_margin"
|
434 |
-
value="<?php echo $row->thumb_title_margin; ?>" class="spider_char_input"/>
|
435 |
-
<div class="spider_description">Use CSS type values.</div>
|
436 |
-
</td>
|
437 |
-
</tr>
|
438 |
-
</tbody>
|
439 |
-
</table>
|
440 |
-
</fieldset>
|
441 |
-
|
442 |
-
<fieldset class="spider_child_fieldset" id="Thumbnail_4">
|
443 |
-
<table style="clear:both;">
|
444 |
-
<tbody>
|
445 |
-
<tr>
|
446 |
-
<td class="spider_label"><label>Like , comment position: </label></td>
|
447 |
-
<td>
|
448 |
-
<input type="radio" name="thumb_like_comm_pos" id="thumb_like_comm_pos1"
|
449 |
-
value="top" <?php if ($row->thumb_like_comm_pos == "top") echo 'checked="checked"'; ?> />
|
450 |
-
<label for="thumb_like_comm_pos1" id="thumb_like_comm_pos1_lbl">Top</label>
|
451 |
-
<input type="radio" name="thumb_like_comm_pos" id="thumb_like_comm_pos0"
|
452 |
-
value="bottom" <?php if ($row->thumb_like_comm_pos == "bottom") echo 'checked="checked"'; ?> />
|
453 |
-
<label for="thumb_like_comm_pos0" id="thumb_like_comm_pos0_lbl">Bottom</label>
|
454 |
-
</td>
|
455 |
-
</tr>
|
456 |
-
<!-- <tr>
|
457 |
-
<td class="spider_label"><label for="thumb_like_comm_c_bg_color">Like , comment count background color: </label></td>
|
458 |
-
<td>
|
459 |
-
<input type="text" name="thumb_like_comm_c_bg_color" id="thumb_like_comm_c_bg_color" value="" class="color" />
|
460 |
-
</td> -->
|
461 |
-
</tr>
|
462 |
-
<tr>
|
463 |
-
<td class="spider_label"><label for="thumb_like_comm_font_size">Like , comment font
|
464 |
-
size: </label></td>
|
465 |
-
<td>
|
466 |
-
<input type="text" name="thumb_like_comm_font_size" id="thumb_like_comm_font_size"
|
467 |
-
value="<?php echo $row->thumb_like_comm_font_size; ?>"
|
468 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
469 |
-
</td>
|
470 |
-
</tr>
|
471 |
-
<tr>
|
472 |
-
<td class="spider_label"><label for="thumb_like_comm_font_color">Like , comment font
|
473 |
-
color: </label></td>
|
474 |
-
<td>
|
475 |
-
<input type="text" name="thumb_like_comm_font_color" id="thumb_like_comm_font_color"
|
476 |
-
value="<?php echo $row->thumb_like_comm_font_color; ?>" class="color"/>
|
477 |
-
</td>
|
478 |
-
</tr>
|
479 |
-
<tr>
|
480 |
-
<td class="spider_label"><label for="thumb_like_comm_font_style">Like , comment font
|
481 |
-
family: </label></td>
|
482 |
-
<td>
|
483 |
-
<select name="thumb_like_comm_font_style" id="thumb_like_comm_font_style">
|
484 |
-
<?php
|
485 |
-
foreach ($font_families as $key => $font_family) {
|
486 |
-
?>
|
487 |
-
<option
|
488 |
-
value="<?php echo $key; ?>" <?php echo(($row->thumb_like_comm_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
489 |
-
<?php
|
490 |
-
}
|
491 |
-
?>
|
492 |
-
</select>
|
493 |
-
</td>
|
494 |
-
</tr>
|
495 |
-
<tr>
|
496 |
-
<td class="spider_label"><label for="thumb_like_comm_font_weight">Like , comment font
|
497 |
-
weight: </label></td>
|
498 |
-
<td>
|
499 |
-
<select name="thumb_like_comm_font_weight" id="thumb_like_comm_font_weight">
|
500 |
-
<?php
|
501 |
-
foreach ($font_weights as $key => $font_weight) {
|
502 |
-
?>
|
503 |
-
<option
|
504 |
-
value="<?php echo $key; ?>" <?php echo(($row->thumb_like_comm_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
505 |
-
<?php
|
506 |
-
}
|
507 |
-
?>
|
508 |
-
</select>
|
509 |
-
</td>
|
510 |
-
</tr>
|
511 |
-
<tr>
|
512 |
-
<td class="spider_label"><label for="thumb_like_comm_shadow">Like , comment box
|
513 |
-
shadow: </label></td>
|
514 |
-
<td>
|
515 |
-
<input type="text" name="thumb_like_comm_shadow" id="thumb_like_comm_shadow"
|
516 |
-
value="<?php echo $row->thumb_like_comm_shadow; ?>"
|
517 |
-
class="spider_box_input"/>
|
518 |
-
<div class="spider_description">Use CSS type values.</div>
|
519 |
-
</td>
|
520 |
-
</tr>
|
521 |
-
</tbody>
|
522 |
-
</table>
|
523 |
-
</fieldset>
|
524 |
-
|
525 |
-
</fieldset>
|
526 |
-
<fieldset class="spider_type_fieldset" id="Masonry">
|
527 |
-
<fieldset class="spider_child_fieldset" id="Masonry_1">
|
528 |
-
<table style="clear:both;">
|
529 |
-
<tbody>
|
530 |
-
<tr>
|
531 |
-
<td class="spider_label"><label for="masonry_thumb_padding">Padding: </label></td>
|
532 |
-
<td>
|
533 |
-
<input type="text" name="masonry_thumb_padding" id="masonry_thumb_padding"
|
534 |
-
value="<?php echo $row->masonry_thumb_padding; ?>" class="spider_int_input"
|
535 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
536 |
-
</td>
|
537 |
-
</tr>
|
538 |
-
<tr>
|
539 |
-
<td class="spider_label"><label for="masonry_thumb_border_width">Border width: </label>
|
540 |
-
</td>
|
541 |
-
<td>
|
542 |
-
<input type="text" name="masonry_thumb_border_width" id="masonry_thumb_border_width"
|
543 |
-
value="<?php echo $row->masonry_thumb_border_width; ?>"
|
544 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
545 |
-
</td>
|
546 |
-
</tr>
|
547 |
-
<tr>
|
548 |
-
<td class="spider_label"><label for="masonry_thumb_border_style">Border style: </label>
|
549 |
-
</td>
|
550 |
-
<td>
|
551 |
-
<select name="masonry_thumb_border_style" id="masonry_thumb_border_style">
|
552 |
-
<?php
|
553 |
-
foreach ($border_styles as $key => $border_style) {
|
554 |
-
?>
|
555 |
-
<option
|
556 |
-
value="<?php echo $key; ?>" <?php echo(($row->masonry_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
|
557 |
-
<?php
|
558 |
-
}
|
559 |
-
?>
|
560 |
-
</select>
|
561 |
-
</td>
|
562 |
-
</tr>
|
563 |
-
<tr>
|
564 |
-
<td class="spider_label"><label for="masonry_thumb_border_color">Border color: </label>
|
565 |
-
</td>
|
566 |
-
<td>
|
567 |
-
<input type="text" name="masonry_thumb_border_color" id="masonry_thumb_border_color"
|
568 |
-
value="<?php echo $row->masonry_thumb_border_color; ?>" class="color"/>
|
569 |
-
</td>
|
570 |
-
</tr>
|
571 |
-
<tr>
|
572 |
-
<td class="spider_label"><label for="masonry_thumb_border_radius">Border
|
573 |
-
radius: </label></td>
|
574 |
-
<td>
|
575 |
-
<input type="text" name="masonry_thumb_border_radius"
|
576 |
-
id="masonry_thumb_border_radius"
|
577 |
-
value="<?php echo $row->masonry_thumb_border_radius; ?>"
|
578 |
-
class="spider_char_input"/>
|
579 |
-
<div class="spider_description">Use CSS type values.</div>
|
580 |
-
</td>
|
581 |
-
</tr>
|
582 |
-
</tbody>
|
583 |
-
</table>
|
584 |
-
</fieldset>
|
585 |
-
<fieldset class="spider_child_fieldset" id="Masonry_2">
|
586 |
-
<table style="clear:both;">
|
587 |
-
<tbody>
|
588 |
-
<tr>
|
589 |
-
<td class="spider_label"><label for="masonry_thumb_transparent">Transparency: </label>
|
590 |
-
</td>
|
591 |
-
<td>
|
592 |
-
<input type="text" name="masonry_thumb_transparent" id="masonry_thumb_transparent"
|
593 |
-
value="<?php echo $row->masonry_thumb_transparent; ?>"
|
594 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
595 |
-
<div class="spider_description">Value must be between 0 to 100.</div>
|
596 |
-
</td>
|
597 |
-
</tr>
|
598 |
-
<tr>
|
599 |
-
<td class="spider_label"><label for="masonry_thumbs_bg_color">Background color: </label>
|
600 |
-
</td>
|
601 |
-
<td>
|
602 |
-
<input type="text" name="masonry_thumbs_bg_color" id="masonry_thumbs_bg_color"
|
603 |
-
value="<?php echo $row->masonry_thumbs_bg_color; ?>" class="color"/>
|
604 |
-
</td>
|
605 |
-
</tr>
|
606 |
-
<tr>
|
607 |
-
<td class="spider_label"><label for="masonry_thumb_bg_transparent">Background
|
608 |
-
transparency: </label></td>
|
609 |
-
<td>
|
610 |
-
<input type="text" name="masonry_thumb_bg_transparent"
|
611 |
-
id="masonry_thumb_bg_transparent"
|
612 |
-
value="<?php echo $row->masonry_thumb_bg_transparent; ?>"
|
613 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
614 |
-
<div class="spider_description">Value must be between 0 to 100.</div>
|
615 |
-
</td>
|
616 |
-
</tr>
|
617 |
-
<tr>
|
618 |
-
<td class="spider_label"><label for="masonry_thumb_align0">Alignment: </label></td>
|
619 |
-
<td>
|
620 |
-
<select name="masonry_thumb_align" id="masonry_thumb_align">
|
621 |
-
<?php
|
622 |
-
foreach ($aligns as $key => $align) {
|
623 |
-
?>
|
624 |
-
<option
|
625 |
-
value="<?php echo $key; ?>" <?php echo(($row->masonry_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
|
626 |
-
<?php
|
627 |
-
}
|
628 |
-
?>
|
629 |
-
</select>
|
630 |
-
</td>
|
631 |
-
</tr>
|
632 |
-
</tbody>
|
633 |
-
</table>
|
634 |
-
</fieldset>
|
635 |
-
<fieldset class="spider_child_fieldset" id="Masonry_3">
|
636 |
-
<table style="clear:both;">
|
637 |
-
<tbody>
|
638 |
-
<tr>
|
639 |
-
<td class="spider_label"><label for="masonry_thumb_hover_effect">Hover effect: </label>
|
640 |
-
</td>
|
641 |
-
<td>
|
642 |
-
<select name="masonry_thumb_hover_effect" id="masonry_thumb_hover_effect"
|
643 |
-
class="spider_int_input">
|
644 |
-
<?php
|
645 |
-
foreach ($hover_effects as $key => $hover_effect) {
|
646 |
-
?>
|
647 |
-
<option
|
648 |
-
value="<?php echo $key; ?>" <?php echo(($row->masonry_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo $hover_effect; ?></option>
|
649 |
-
<?php
|
650 |
-
}
|
651 |
-
?>
|
652 |
-
</select>
|
653 |
-
</td>
|
654 |
-
</tr>
|
655 |
-
<tr>
|
656 |
-
<td class="spider_label"><label for="masonry_thumb_hover_effect_value">Hover effect
|
657 |
-
value: </label></td>
|
658 |
-
<td>
|
659 |
-
<input type="text" name="masonry_thumb_hover_effect_value"
|
660 |
-
id="masonry_thumb_hover_effect_value"
|
661 |
-
value="<?php echo $row->masonry_thumb_hover_effect_value; ?>"
|
662 |
-
class="spider_char_input"/>
|
663 |
-
<div class="spider_description">E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.</div>
|
664 |
-
</td>
|
665 |
-
</tr>
|
666 |
-
<tr>
|
667 |
-
<td class="spider_label"><label>Transition: </label></td>
|
668 |
-
<td id="masonry_thumb_transition">
|
669 |
-
<input type="radio" name="masonry_thumb_transition" id="masonry_thumb_transition1"
|
670 |
-
value="1"<?php if ($row->masonry_thumb_transition == 1) echo 'checked="checked"'; ?> />
|
671 |
-
<label for="masonry_thumb_transition1"
|
672 |
-
id="masonry_thumb_transition1_lbl">Yes</label>
|
673 |
-
<input type="radio" name="masonry_thumb_transition" id="masonry_thumb_transition0"
|
674 |
-
value="0"<?php if ($row->masonry_thumb_transition == 0) echo 'checked="checked"'; ?> />
|
675 |
-
<label for="masonry_thumb_transition0" id="masonry_thumb_transition0_lbl">No</label>
|
676 |
-
</td>
|
677 |
-
</tr>
|
678 |
-
<tr>
|
679 |
-
<td class="spider_label"><label for="masonry_description_font_size">Description font
|
680 |
-
size: </label></td>
|
681 |
-
<td>
|
682 |
-
<input type="text" name="masonry_description_font_size"
|
683 |
-
id="masonry_description_font_size"
|
684 |
-
value="<?php echo $row->masonry_description_font_size; ?>"
|
685 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
686 |
-
</td>
|
687 |
-
</tr>
|
688 |
-
<tr>
|
689 |
-
<td class="spider_label"><label for="masonry_description_color">Description font
|
690 |
-
color: </label></td>
|
691 |
-
<td>
|
692 |
-
<input type="text" name="masonry_description_color" id="masonry_description_color"
|
693 |
-
value="<?php echo $row->masonry_description_color; ?>" class="color"/>
|
694 |
-
</td>
|
695 |
-
</tr>
|
696 |
-
<tr>
|
697 |
-
<td class="spider_label"><label for="masonry_description_font_style">Description font
|
698 |
-
family: </label></td>
|
699 |
-
<td>
|
700 |
-
<select name="masonry_description_font_style" id="masonry_description_font_style">
|
701 |
-
<?php
|
702 |
-
foreach ($font_families as $key => $font_family) {
|
703 |
-
?>
|
704 |
-
<option
|
705 |
-
value="<?php echo $key; ?>" <?php echo(($row->masonry_description_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
706 |
-
<?php
|
707 |
-
}
|
708 |
-
?>
|
709 |
-
</select>
|
710 |
-
</td>
|
711 |
-
</tr>
|
712 |
-
</tbody>
|
713 |
-
</table>
|
714 |
-
</fieldset>
|
715 |
-
<fieldset class="spider_child_fieldset" id="Masonry_4">
|
716 |
-
<table style="clear:both;">
|
717 |
-
<tbody>
|
718 |
-
<tr>
|
719 |
-
<td class="spider_label"><label>Like , comment position: </label></td>
|
720 |
-
<td>
|
721 |
-
<input type="radio" name="masonry_like_comm_pos" id="masonry_like_comm_pos1"
|
722 |
-
value="top" <?php if ($row->masonry_like_comm_pos == "top") echo 'checked="checked"'; ?> />
|
723 |
-
<label for="masonry_like_comm_pos1" id="masonry_like_comm_pos1_lbl">Top</label>
|
724 |
-
<input type="radio" name="masonry_like_comm_pos" id="masonry_like_comm_pos0"
|
725 |
-
value="bottom" <?php if ($row->masonry_like_comm_pos == "bottom") echo 'checked="checked"'; ?> />
|
726 |
-
<label for="masonry_like_comm_pos0" id="masonry_like_comm_pos0_lbl">Bottom</label>
|
727 |
-
</td>
|
728 |
-
</tr>
|
729 |
-
<!-- <tr>
|
730 |
-
<td class="spider_label"><label for="masonry_like_comm_c_bg_color">Like , comment count background color: </label></td>
|
731 |
-
<td>
|
732 |
-
<input type="text" name="masonry_like_comm_c_bg_color" id="masonry_like_comm_c_bg_color" value="" class="color" />
|
733 |
-
</td> -->
|
734 |
-
</tr>
|
735 |
-
<tr>
|
736 |
-
<td class="spider_label"><label for="masonry_like_comm_font_size">Like , comment font
|
737 |
-
size: </label></td>
|
738 |
-
<td>
|
739 |
-
<input type="text" name="masonry_like_comm_font_size"
|
740 |
-
id="masonry_like_comm_font_size"
|
741 |
-
value="<?php echo $row->masonry_like_comm_font_size; ?>"
|
742 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
743 |
-
</td>
|
744 |
-
</tr>
|
745 |
-
<tr>
|
746 |
-
<td class="spider_label"><label for="masonry_like_comm_font_color">Like , comment font
|
747 |
-
color: </label></td>
|
748 |
-
<td>
|
749 |
-
<input type="text" name="masonry_like_comm_font_color"
|
750 |
-
id="masonry_like_comm_font_color"
|
751 |
-
value="<?php echo $row->masonry_like_comm_font_color; ?>" class="color"/>
|
752 |
-
</td>
|
753 |
-
</tr>
|
754 |
-
<tr>
|
755 |
-
<td class="spider_label"><label for="masonry_like_comm_font_style">Like , comment font
|
756 |
-
family: </label></td>
|
757 |
-
<td>
|
758 |
-
<select name="masonry_like_comm_font_style" id="masonry_like_comm_font_style">
|
759 |
-
<?php
|
760 |
-
foreach ($font_families as $key => $font_family) {
|
761 |
-
?>
|
762 |
-
<option
|
763 |
-
value="<?php echo $key; ?>" <?php echo(($row->masonry_like_comm_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
764 |
-
<?php
|
765 |
-
}
|
766 |
-
?>
|
767 |
-
</select>
|
768 |
-
</td>
|
769 |
-
</tr>
|
770 |
-
<tr>
|
771 |
-
<td class="spider_label"><label for="masonry_like_comm_font_weight">Like , comment font
|
772 |
-
weight: </label></td>
|
773 |
-
<td>
|
774 |
-
<select name="masonry_like_comm_font_weight" id="masonry_like_comm_font_weight">
|
775 |
-
<?php
|
776 |
-
foreach ($font_weights as $key => $font_weight) {
|
777 |
-
?>
|
778 |
-
<option
|
779 |
-
value="<?php echo $key; ?>" <?php echo(($row->masonry_like_comm_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
780 |
-
<?php
|
781 |
-
}
|
782 |
-
?>
|
783 |
-
</select>
|
784 |
-
</td>
|
785 |
-
</tr>
|
786 |
-
<tr>
|
787 |
-
<td class="spider_label"><label for="masonry_like_comm_shadow">Like , comment box
|
788 |
-
shadow: </label></td>
|
789 |
-
<td>
|
790 |
-
<input type="text" name="masonry_like_comm_shadow" id="masonry_like_comm_shadow"
|
791 |
-
value="<?php echo $row->masonry_like_comm_shadow; ?>"
|
792 |
-
class="spider_box_input"/>
|
793 |
-
<div class="spider_description">Use CSS type values.</div>
|
794 |
-
</td>
|
795 |
-
</tr>
|
796 |
-
</tbody>
|
797 |
-
</table>
|
798 |
-
</fieldset>
|
799 |
-
</fieldset>
|
800 |
-
|
801 |
-
<fieldset class="spider_type_fieldset" id="Compact_album">
|
802 |
-
<fieldset class="spider_child_fieldset" id="Compact_album_1">
|
803 |
-
<table style="clear:both;">
|
804 |
-
<tbody>
|
805 |
-
<tr>
|
806 |
-
<td class="spider_label"><label for="album_compact_thumb_padding">Padding: </label></td>
|
807 |
-
<td>
|
808 |
-
<input type="text" name="album_compact_thumb_padding"
|
809 |
-
id="album_compact_thumb_padding"
|
810 |
-
value="<?php echo $row->album_compact_thumb_padding; ?>"
|
811 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
812 |
-
<div class="spider_description">Use CSS type values.</div>
|
813 |
-
</td>
|
814 |
-
</tr>
|
815 |
-
<tr>
|
816 |
-
<td class="spider_label"><label for="album_compact_thumb_margin">Margin: </label></td>
|
817 |
-
<td>
|
818 |
-
<input type="text" name="album_compact_thumb_margin" id="album_compact_thumb_margin"
|
819 |
-
value="<?php echo $row->album_compact_thumb_margin; ?>"
|
820 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
821 |
-
<div class="spider_description">Use CSS type values.</div>
|
822 |
-
</td>
|
823 |
-
</tr>
|
824 |
-
<tr>
|
825 |
-
<td class="spider_label"><label for="album_compact_thumb_border_width">Border
|
826 |
-
width: </label></td>
|
827 |
-
<td>
|
828 |
-
<input type="text" name="album_compact_thumb_border_width"
|
829 |
-
id="album_compact_thumb_border_width"
|
830 |
-
value="<?php echo $row->album_compact_thumb_border_width; ?>"
|
831 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
832 |
-
</td>
|
833 |
-
</tr>
|
834 |
-
<tr>
|
835 |
-
<td class="spider_label"><label for="album_compact_thumb_border_style">Border
|
836 |
-
style: </label></td>
|
837 |
-
<td>
|
838 |
-
<select name="album_compact_thumb_border_style"
|
839 |
-
id="album_compact_thumb_border_style">
|
840 |
-
<?php
|
841 |
-
foreach ($border_styles as $key => $border_style) {
|
842 |
-
?>
|
843 |
-
<option
|
844 |
-
value="<?php echo $key; ?>" <?php echo(($row->album_compact_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
|
845 |
-
<?php
|
846 |
-
}
|
847 |
-
?>
|
848 |
-
</select>
|
849 |
-
</td>
|
850 |
-
</tr>
|
851 |
-
<tr>
|
852 |
-
<td class="spider_label"><label for="album_compact_thumb_border_color">Border
|
853 |
-
color: </label></td>
|
854 |
-
<td>
|
855 |
-
<input type="text" name="album_compact_thumb_border_color"
|
856 |
-
id="album_compact_thumb_border_color"
|
857 |
-
value="<?php echo $row->album_compact_thumb_border_color; ?>" class="color"/>
|
858 |
-
</td>
|
859 |
-
</tr>
|
860 |
-
<tr>
|
861 |
-
<td class="spider_label"><label for="album_compact_thumb_border_radius">Border
|
862 |
-
radius: </label></td>
|
863 |
-
<td>
|
864 |
-
<input type="text" name="album_compact_thumb_border_radius"
|
865 |
-
id="album_compact_thumb_border_radius"
|
866 |
-
value="<?php echo $row->album_compact_thumb_border_radius; ?>"
|
867 |
-
class="spider_char_input"/>
|
868 |
-
<div class="spider_description">Use CSS type values.</div>
|
869 |
-
</td>
|
870 |
-
</tr>
|
871 |
-
<tr>
|
872 |
-
<td class="spider_label"><label for="album_compact_thumb_box_shadow">Shadow: </label>
|
873 |
-
</td>
|
874 |
-
<td>
|
875 |
-
<input type="text" name="album_compact_thumb_box_shadow"
|
876 |
-
id="album_compact_thumb_box_shadow"
|
877 |
-
value="<?php echo $row->album_compact_thumb_box_shadow; ?>"
|
878 |
-
class="spider_box_input"/>
|
879 |
-
<div class="spider_description">Use CSS type values.</div>
|
880 |
-
</td>
|
881 |
-
</tr>
|
882 |
-
<tr>
|
883 |
-
<td class="spider_label"><label for="album_compact_thumb_hover_effect">Hover
|
884 |
-
effect: </label></td>
|
885 |
-
<td>
|
886 |
-
<select name="album_compact_thumb_hover_effect"
|
887 |
-
id="album_compact_thumb_hover_effect">
|
888 |
-
<?php
|
889 |
-
foreach ($hover_effects as $key => $hover_effect) {
|
890 |
-
?>
|
891 |
-
<option
|
892 |
-
value="<?php echo $key; ?>" <?php echo(($row->album_compact_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo $hover_effect; ?></option>
|
893 |
-
<?php
|
894 |
-
}
|
895 |
-
?>
|
896 |
-
</select>
|
897 |
-
</td>
|
898 |
-
</tr>
|
899 |
-
<tr>
|
900 |
-
<td class="spider_label"><label for="album_compact_thumb_hover_effect_value">Hover
|
901 |
-
effect value: </label></td>
|
902 |
-
<td>
|
903 |
-
<input type="text" name="album_compact_thumb_hover_effect_value"
|
904 |
-
id="album_compact_thumb_hover_effect_value"
|
905 |
-
value="<?php echo $row->album_compact_thumb_hover_effect_value; ?>"
|
906 |
-
class="spider_char_input"/>
|
907 |
-
<div class="spider_description">E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.</div>
|
908 |
-
</td>
|
909 |
-
</tr>
|
910 |
-
<tr>
|
911 |
-
<td class="spider_label"><label>Thumbnail transition: </label></td>
|
912 |
-
<td id="album_compact_thumb_transition">
|
913 |
-
<input type="radio" name="album_compact_thumb_transition"
|
914 |
-
id="album_compact_thumb_transition1"
|
915 |
-
value="1"<?php if ($row->album_compact_thumb_transition == 1) echo 'checked="checked"'; ?> />
|
916 |
-
<label for="album_compact_thumb_transition1"
|
917 |
-
id="album_compact_thumb_transition1_lbl">Yes</label>
|
918 |
-
<input type="radio" name="album_compact_thumb_transition"
|
919 |
-
id="album_compact_thumb_transition0"
|
920 |
-
value="0"<?php if ($row->album_compact_thumb_transition == 0) echo 'checked="checked"'; ?> />
|
921 |
-
<label for="album_compact_thumb_transition0"
|
922 |
-
id="album_compact_thumb_transition0_lbl">No</label>
|
923 |
-
</td>
|
924 |
-
</tr>
|
925 |
-
</tbody>
|
926 |
-
</table>
|
927 |
-
</fieldset>
|
928 |
-
<fieldset class="spider_child_fieldset" id="Compact_album_2">
|
929 |
-
<table style="clear:both;">
|
930 |
-
<tbody>
|
931 |
-
<tr>
|
932 |
-
<td class="spider_label"><label for="album_compact_thumb_bg_color">Thumbnail background
|
933 |
-
color: </label></td>
|
934 |
-
<td>
|
935 |
-
<input type="text" name="album_compact_thumb_bg_color"
|
936 |
-
id="album_compact_thumb_bg_color"
|
937 |
-
value="<?php echo $row->album_compact_thumb_bg_color; ?>" class="color"/>
|
938 |
-
</td>
|
939 |
-
</tr>
|
940 |
-
<tr>
|
941 |
-
<td class="spider_label"><label for="album_compact_thumb_transparent">Thumbnail
|
942 |
-
transparency: </label></td>
|
943 |
-
<td>
|
944 |
-
<input type="text" name="album_compact_thumb_transparent"
|
945 |
-
id="album_compact_thumb_transparent"
|
946 |
-
value="<?php echo $row->album_compact_thumb_transparent; ?>"
|
947 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
948 |
-
<div class="spider_description">Value must be between 0 to 100.</div>
|
949 |
-
</td>
|
950 |
-
</tr>
|
951 |
-
<tr>
|
952 |
-
<td class="spider_label"><label for="album_compact_thumbs_bg_color">Full background
|
953 |
-
color: </label></td>
|
954 |
-
<td>
|
955 |
-
<input type="text" name="album_compact_thumbs_bg_color"
|
956 |
-
id="album_compact_thumbs_bg_color"
|
957 |
-
value="<?php echo $row->album_compact_thumbs_bg_color; ?>" class="color"/>
|
958 |
-
</td>
|
959 |
-
</tr>
|
960 |
-
<tr>
|
961 |
-
<td class="spider_label"><label for="album_compact_thumb_bg_transparent">Full background
|
962 |
-
transparency: </label></td>
|
963 |
-
<td>
|
964 |
-
<input type="text" name="album_compact_thumb_bg_transparent"
|
965 |
-
id="album_compact_thumb_bg_transparent"
|
966 |
-
value="<?php echo $row->album_compact_thumb_bg_transparent; ?>"
|
967 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
968 |
-
<div class="spider_description">Value must be between 0 to 100.</div>
|
969 |
-
</td>
|
970 |
-
</tr>
|
971 |
-
<tr>
|
972 |
-
<td class="spider_label"><label for="album_compact_thumb_align0">Alignment: </label>
|
973 |
-
</td>
|
974 |
-
<td>
|
975 |
-
<select name="album_compact_thumb_align" id="album_compact_thumb_align">
|
976 |
-
<?php
|
977 |
-
foreach ($aligns as $key => $align) {
|
978 |
-
?>
|
979 |
-
<option
|
980 |
-
value="<?php echo $key; ?>" <?php echo(($row->album_compact_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
|
981 |
-
<?php
|
982 |
-
}
|
983 |
-
?>
|
984 |
-
</select>
|
985 |
-
</td>
|
986 |
-
</tr>
|
987 |
-
</tbody>
|
988 |
-
</table>
|
989 |
-
</fieldset>
|
990 |
-
<fieldset class="spider_child_fieldset" id="Compact_album_3">
|
991 |
-
<table style="clear:both;">
|
992 |
-
<tbody>
|
993 |
-
<tr>
|
994 |
-
<td class="spider_label"><label>Title position: </label></td>
|
995 |
-
<td>
|
996 |
-
<input type="radio" name="album_compact_thumb_title_pos"
|
997 |
-
id="album_compact_thumb_title_pos1"
|
998 |
-
value="top" <?php if ($row->album_compact_thumb_title_pos == "top") echo 'checked="checked"'; ?> />
|
999 |
-
<label for="album_compact_thumb_title_pos1" id="album_compact_thumb_title_pos1_lbl">Top</label>
|
1000 |
-
<input type="radio" name="album_compact_thumb_title_pos"
|
1001 |
-
id="album_compact_thumb_title_pos0"
|
1002 |
-
value="bottom" <?php if ($row->album_compact_thumb_title_pos == "bottom") echo 'checked="checked"'; ?> />
|
1003 |
-
<label for="album_compact_thumb_title_pos0" id="album_compact_thumb_title_pos0_lbl">Bottom</label>
|
1004 |
-
</td>
|
1005 |
-
</tr>
|
1006 |
-
<tr>
|
1007 |
-
<td class="spider_label"><label for="album_compact_title_font_size">Title font
|
1008 |
-
size: </label></td>
|
1009 |
-
<td>
|
1010 |
-
<input type="text" name="album_compact_title_font_size"
|
1011 |
-
id="album_compact_title_font_size"
|
1012 |
-
value="<?php echo $row->album_compact_title_font_size; ?>"
|
1013 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1014 |
-
</td>
|
1015 |
-
</tr>
|
1016 |
-
<tr>
|
1017 |
-
<td class="spider_label"><label for="album_compact_title_font_color">Title font
|
1018 |
-
color: </label></td>
|
1019 |
-
<td>
|
1020 |
-
<input type="text" name="album_compact_title_font_color"
|
1021 |
-
id="album_compact_title_font_color"
|
1022 |
-
value="<?php echo $row->album_compact_title_font_color; ?>" class="color"/>
|
1023 |
-
</td>
|
1024 |
-
</tr>
|
1025 |
-
<tr>
|
1026 |
-
<td class="spider_label"><label for="album_compact_title_font_style">Title font
|
1027 |
-
family: </label></td>
|
1028 |
-
<td>
|
1029 |
-
<select name="album_compact_title_font_style" id="album_compact_title_font_style">
|
1030 |
-
<?php
|
1031 |
-
foreach ($font_families as $key => $font_family) {
|
1032 |
-
?>
|
1033 |
-
<option
|
1034 |
-
value="<?php echo $key; ?>" <?php echo(($row->album_compact_title_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
1035 |
-
<?php
|
1036 |
-
}
|
1037 |
-
?>
|
1038 |
-
</select>
|
1039 |
-
</td>
|
1040 |
-
</tr>
|
1041 |
-
<tr>
|
1042 |
-
<td class="spider_label"><label for="album_compact_title_font_weight">Title font
|
1043 |
-
weight: </label></td>
|
1044 |
-
<td>
|
1045 |
-
<select name="album_compact_title_font_weight" id="album_compact_title_font_weight">
|
1046 |
-
<?php
|
1047 |
-
foreach ($font_weights as $key => $font_weight) {
|
1048 |
-
?>
|
1049 |
-
<option
|
1050 |
-
value="<?php echo $key; ?>" <?php echo(($row->album_compact_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1051 |
-
<?php
|
1052 |
-
}
|
1053 |
-
?>
|
1054 |
-
</select>
|
1055 |
-
</td>
|
1056 |
-
</tr>
|
1057 |
-
<tr>
|
1058 |
-
<td class="spider_label"><label for="album_compact_title_shadow">Title box
|
1059 |
-
shadow: </label></td>
|
1060 |
-
<td>
|
1061 |
-
<input type="text" name="album_compact_title_shadow" id="album_compact_title_shadow"
|
1062 |
-
value="<?php echo $row->album_compact_title_shadow; ?>"
|
1063 |
-
class="spider_box_input"/>
|
1064 |
-
<div class="spider_description">Use CSS type values.</div>
|
1065 |
-
</td>
|
1066 |
-
</tr>
|
1067 |
-
<tr>
|
1068 |
-
<td class="spider_label"><label for="album_compact_title_margin">Title margin: </label>
|
1069 |
-
</td>
|
1070 |
-
<td>
|
1071 |
-
<input type="text" name="album_compact_title_margin" id="album_compact_title_margin"
|
1072 |
-
value="<?php echo $row->album_compact_title_margin; ?>"
|
1073 |
-
class="spider_char_input"/>
|
1074 |
-
<div class="spider_description">Use CSS type values.</div>
|
1075 |
-
</td>
|
1076 |
-
</tr>
|
1077 |
-
<tr>
|
1078 |
-
<td class="spider_label"><label for="album_compact_back_font_size">Back button Font
|
1079 |
-
size: </label></td>
|
1080 |
-
<td>
|
1081 |
-
<input type="text" name="album_compact_back_font_size"
|
1082 |
-
id="album_compact_back_font_size"
|
1083 |
-
value="<?php echo $row->album_compact_back_font_size; ?>"
|
1084 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1085 |
-
</td>
|
1086 |
-
</tr>
|
1087 |
-
<tr>
|
1088 |
-
<td class="spider_label"><label for="album_compact_back_font_color">Back button Font
|
1089 |
-
color: </label></td>
|
1090 |
-
<td>
|
1091 |
-
<input type="text" name="album_compact_back_font_color"
|
1092 |
-
id="album_compact_back_font_color"
|
1093 |
-
value="<?php echo $row->album_compact_back_font_color; ?>" class="color"/>
|
1094 |
-
</td>
|
1095 |
-
</tr>
|
1096 |
-
<tr>
|
1097 |
-
<td class="spider_label"><label for="album_compact_back_font_style">Back button Font
|
1098 |
-
family: </label></td>
|
1099 |
-
<td>
|
1100 |
-
<select name="album_compact_back_font_style" id="album_compact_back_font_style">
|
1101 |
-
<?php
|
1102 |
-
foreach ($font_families as $key => $font_family) {
|
1103 |
-
?>
|
1104 |
-
<option
|
1105 |
-
value="<?php echo $key; ?>" <?php echo(($row->album_compact_back_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
1106 |
-
<?php
|
1107 |
-
}
|
1108 |
-
?>
|
1109 |
-
</select>
|
1110 |
-
</td>
|
1111 |
-
</tr>
|
1112 |
-
<tr>
|
1113 |
-
<td class="spider_label"><label for="album_compact_back_font_weight">Back button Font
|
1114 |
-
weight: </label></td>
|
1115 |
-
<td>
|
1116 |
-
<select name="album_compact_back_font_weight" id="album_compact_back_font_weight">
|
1117 |
-
<?php
|
1118 |
-
foreach ($font_weights as $key => $font_weight) {
|
1119 |
-
?>
|
1120 |
-
<option
|
1121 |
-
value="<?php echo $key; ?>" <?php echo(($row->album_compact_back_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1122 |
-
<?php
|
1123 |
-
}
|
1124 |
-
?>
|
1125 |
-
</select>
|
1126 |
-
</td>
|
1127 |
-
</tr>
|
1128 |
-
<tr>
|
1129 |
-
<td class="spider_label"><label for="album_compact_back_padding">Back button
|
1130 |
-
padding: </label></td>
|
1131 |
-
<td>
|
1132 |
-
<input type="text" name="album_compact_back_padding" id="album_compact_back_padding"
|
1133 |
-
value="<?php echo $row->album_compact_back_padding; ?>"
|
1134 |
-
class="spider_char_input"/>
|
1135 |
-
<div class="spider_description">Use CSS type values.</div>
|
1136 |
-
</td>
|
1137 |
-
</tr>
|
1138 |
-
</tbody>
|
1139 |
-
</table>
|
1140 |
-
</fieldset>
|
1141 |
-
</fieldset>
|
1142 |
-
|
1143 |
-
<fieldset class="spider_type_fieldset" id="Blog_style">
|
1144 |
-
<fieldset class="spider_child_fieldset" id="Blog_style_1">
|
1145 |
-
<table style="clear:both;">
|
1146 |
-
<tbody>
|
1147 |
-
<tr>
|
1148 |
-
<td class="spider_label"><label for="blog_style_align">Alignment: </label></td>
|
1149 |
-
<td>
|
1150 |
-
<select name="blog_style_align" id="blog_style_align">
|
1151 |
-
<?php
|
1152 |
-
foreach ($aligns as $key => $align) {
|
1153 |
-
?>
|
1154 |
-
<option
|
1155 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
|
1156 |
-
<?php
|
1157 |
-
}
|
1158 |
-
?>
|
1159 |
-
</select>
|
1160 |
-
</td>
|
1161 |
-
</tr>
|
1162 |
-
<tr>
|
1163 |
-
<td class="spider_label"><label for="blog_style_bg_color">Background color: </label>
|
1164 |
-
</td>
|
1165 |
-
<td>
|
1166 |
-
<input type="text" name="blog_style_bg_color" id="blog_style_bg_color"
|
1167 |
-
value="<?php echo $row->blog_style_bg_color; ?>" class="color"/>
|
1168 |
-
</td>
|
1169 |
-
</tr>
|
1170 |
-
<tr>
|
1171 |
-
<td class="spider_label"><label for="blog_style_transparent">Background
|
1172 |
-
transparency: </label></td>
|
1173 |
-
<td>
|
1174 |
-
<input type="text" name="blog_style_transparent" id="blog_style_transparent"
|
1175 |
-
value="<?php echo $row->blog_style_transparent; ?>" class="spider_int_input"
|
1176 |
-
onkeypress="return spider_check_isnum(event)"/> %
|
1177 |
-
<div class="spider_description">Value must be between 0 to 100.</div>
|
1178 |
-
</td>
|
1179 |
-
</tr>
|
1180 |
-
|
1181 |
-
<tr>
|
1182 |
-
<td class="spider_label"><label for="blog_style_fd_name_bg_color">Feed name background
|
1183 |
-
color: </label></td>
|
1184 |
-
<td>
|
1185 |
-
<input type="text" name="blog_style_fd_name_bg_color"
|
1186 |
-
id="blog_style_fd_name_bg_color"
|
1187 |
-
value="<?php echo $row->blog_style_fd_name_bg_color; ?>" class="color"/>
|
1188 |
-
</td>
|
1189 |
-
</tr>
|
1190 |
-
<tr>
|
1191 |
-
<td class="spider_label"><label for="blog_style_fd_name_align">Feed name
|
1192 |
-
alignment: </label></td>
|
1193 |
-
<td>
|
1194 |
-
<select name="blog_style_fd_name_align" id="blog_style_fd_name_align">
|
1195 |
-
<?php
|
1196 |
-
foreach ($aligns as $key => $align) {
|
1197 |
-
?>
|
1198 |
-
<option
|
1199 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_fd_name_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
|
1200 |
-
<?php
|
1201 |
-
}
|
1202 |
-
?>
|
1203 |
-
</select>
|
1204 |
-
</td>
|
1205 |
-
</tr>
|
1206 |
-
<tr>
|
1207 |
-
<td class="spider_label"><label for="blog_style_fd_name_padding">Feed name
|
1208 |
-
padding: </label></td>
|
1209 |
-
<td>
|
1210 |
-
<input type="text" name="blog_style_fd_name_padding" id="blog_style_fd_name_padding"
|
1211 |
-
value="<?php echo $row->blog_style_fd_name_padding; ?>"
|
1212 |
-
class="spider_char_input"/>
|
1213 |
-
<div class="blog_style_fd_name_padding">Use CSS type values.</div>
|
1214 |
-
</td>
|
1215 |
-
</tr>
|
1216 |
-
|
1217 |
-
<tr>
|
1218 |
-
<td class="spider_label"><label for="blog_style_fd_name_color">Feed name color: </label>
|
1219 |
-
</td>
|
1220 |
-
<td>
|
1221 |
-
<input type="text" name="blog_style_fd_name_color" id="blog_style_fd_name_color"
|
1222 |
-
value="<?php echo $row->blog_style_fd_name_color; ?>" class="color"/>
|
1223 |
-
</td>
|
1224 |
-
</tr>
|
1225 |
-
<tr>
|
1226 |
-
<td class="spider_label"><label for="blog_style_fd_name_size">Feed name font
|
1227 |
-
size: </label></td>
|
1228 |
-
<td>
|
1229 |
-
<input type="text" name="blog_style_fd_name_size" id="blog_style_fd_name_size"
|
1230 |
-
value="<?php echo $row->blog_style_fd_name_size; ?>" class="spider_int_input"
|
1231 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
1232 |
-
</td>
|
1233 |
-
</tr>
|
1234 |
-
<tr>
|
1235 |
-
<td class="spider_label"><label for="blog_style_fd_name_font_weight">Feed name font
|
1236 |
-
weight: </label></td>
|
1237 |
-
<td>
|
1238 |
-
<select name="blog_style_fd_name_font_weight" id="blog_style_fd_name_font_weight">
|
1239 |
-
<?php
|
1240 |
-
foreach ($font_weights as $key => $font_weight) {
|
1241 |
-
?>
|
1242 |
-
<option
|
1243 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_fd_name_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1244 |
-
<?php
|
1245 |
-
}
|
1246 |
-
?>
|
1247 |
-
</select>
|
1248 |
-
</td>
|
1249 |
-
</tr>
|
1250 |
-
|
1251 |
-
|
1252 |
-
<tr>
|
1253 |
-
<td class="spider_label"><label for="blog_style_obj_img_align">Image(video)
|
1254 |
-
alignment: </label></td>
|
1255 |
-
<td>
|
1256 |
-
<select name="blog_style_obj_img_align" id="blog_style_obj_img_align">
|
1257 |
-
<?php
|
1258 |
-
foreach ($aligns as $key => $align) {
|
1259 |
-
?>
|
1260 |
-
<option
|
1261 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_img_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
|
1262 |
-
<?php
|
1263 |
-
}
|
1264 |
-
?>
|
1265 |
-
</select>
|
1266 |
-
</td>
|
1267 |
-
</tr>
|
1268 |
-
<tr>
|
1269 |
-
<td class="spider_label"><label for="blog_style_margin">Margin: </label></td>
|
1270 |
-
<td>
|
1271 |
-
<input type="text" name="blog_style_margin" id="blog_style_margin"
|
1272 |
-
value="<?php echo $row->blog_style_margin; ?>" class="spider_char_input"/>
|
1273 |
-
<div class="spider_description">Use CSS type values.</div>
|
1274 |
-
</td>
|
1275 |
-
</tr>
|
1276 |
-
<tr>
|
1277 |
-
<td class="spider_label"><label for="blog_style_box_shadow">Box shadow: </label></td>
|
1278 |
-
<td>
|
1279 |
-
<input type="text" name="blog_style_box_shadow" id="blog_style_box_shadow"
|
1280 |
-
value="<?php echo $row->blog_style_box_shadow; ?>" class="spider_box_input"/>
|
1281 |
-
<div class="spider_description">Use CSS type values.</div>
|
1282 |
-
</td>
|
1283 |
-
</tr>
|
1284 |
-
<tr>
|
1285 |
-
<td class="spider_label"><label for="blog_style_border_width">Border width: </label>
|
1286 |
-
</td>
|
1287 |
-
<td>
|
1288 |
-
<input type="text" name="blog_style_border_width" id="blog_style_border_width"
|
1289 |
-
value="<?php echo $row->blog_style_border_width; ?>" class="spider_int_input"
|
1290 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
1291 |
-
</td>
|
1292 |
-
</tr>
|
1293 |
-
<tr>
|
1294 |
-
<td class="spider_label"><label for="blog_style_border_style">Border style: </label>
|
1295 |
-
</td>
|
1296 |
-
<td>
|
1297 |
-
<select name="blog_style_border_style" id="blog_style_border_style">
|
1298 |
-
<?php
|
1299 |
-
foreach ($border_styles as $key => $border_style) {
|
1300 |
-
?>
|
1301 |
-
<option
|
1302 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
|
1303 |
-
<?php
|
1304 |
-
}
|
1305 |
-
?>
|
1306 |
-
</select>
|
1307 |
-
</td>
|
1308 |
-
</tr>
|
1309 |
-
<tr>
|
1310 |
-
<td class="spider_label"><label for="blog_style_border_color">Border color: </label>
|
1311 |
-
</td>
|
1312 |
-
<td>
|
1313 |
-
<input type="text" name="blog_style_border_color" id="blog_style_border_color"
|
1314 |
-
value="<?php echo $row->blog_style_border_color; ?>" class="color"/>
|
1315 |
-
</td>
|
1316 |
-
</tr>
|
1317 |
-
<tr>
|
1318 |
-
<td class="spider_label"><label for="blog_style_border_type">Border type: </label></td>
|
1319 |
-
<td>
|
1320 |
-
<select name="blog_style_border_type" id="blog_style_border_type">
|
1321 |
-
<option
|
1322 |
-
value="all" <?php echo(($row->blog_style_border_type == "all") ? 'selected="selected"' : ''); ?>>
|
1323 |
-
All
|
1324 |
-
</option>
|
1325 |
-
<option
|
1326 |
-
value="top" <?php echo(($row->blog_style_border_type == "top") ? 'selected="selected"' : ''); ?>>
|
1327 |
-
Top
|
1328 |
-
</option>
|
1329 |
-
<option
|
1330 |
-
value="right" <?php echo(($row->blog_style_border_type == "right") ? 'selected="selected"' : ''); ?>>
|
1331 |
-
Right
|
1332 |
-
</option>
|
1333 |
-
<option
|
1334 |
-
value="bottom" <?php echo(($row->blog_style_border_type == "bottom") ? 'selected="selected"' : ''); ?>>
|
1335 |
-
Bottom
|
1336 |
-
</option>
|
1337 |
-
<option
|
1338 |
-
value="left" <?php echo(($row->blog_style_border_type == "left") ? 'selected="selected"' : ''); ?>>
|
1339 |
-
Left
|
1340 |
-
</option>
|
1341 |
-
</select>
|
1342 |
-
</td>
|
1343 |
-
</tr>
|
1344 |
-
<tr>
|
1345 |
-
<td class="spider_label"><label for="blog_style_border_radius">Border radius: </label>
|
1346 |
-
</td>
|
1347 |
-
<td>
|
1348 |
-
<input type="text" name="blog_style_border_radius" id="blog_style_border_radius"
|
1349 |
-
value="<?php echo $row->blog_style_border_radius; ?>"
|
1350 |
-
class="spider_char_input"/>
|
1351 |
-
<div class="spider_description">Use CSS type values.</div>
|
1352 |
-
</td>
|
1353 |
-
</tr>
|
1354 |
-
<tr>
|
1355 |
-
<td class="spider_label"><label for="blog_style_obj_icons_color">Icons color: </label>
|
1356 |
-
</td>
|
1357 |
-
<td>
|
1358 |
-
<select name="blog_style_obj_icons_color" id="blog_style_obj_icons_color">
|
1359 |
-
<option
|
1360 |
-
value="gray" <?php echo(($row->blog_style_obj_icons_color == "gray") ? 'selected="selected"' : ''); ?>>
|
1361 |
-
Gray
|
1362 |
-
</option>
|
1363 |
-
<option
|
1364 |
-
value="white" <?php echo(($row->blog_style_obj_icons_color == "white") ? 'selected="selected"' : ''); ?>>
|
1365 |
-
White
|
1366 |
-
</option>
|
1367 |
-
<option
|
1368 |
-
value="blue" <?php echo(($row->blog_style_obj_icons_color == "blue") ? 'selected="selected"' : ''); ?>>
|
1369 |
-
Blue
|
1370 |
-
</option>
|
1371 |
-
</select>
|
1372 |
-
</td>
|
1373 |
-
</tr>
|
1374 |
-
<tr>
|
1375 |
-
<td class="spider_label"><label for="blog_style_obj_date_pos">Date position: </label>
|
1376 |
-
</td>
|
1377 |
-
<td>
|
1378 |
-
<select name="blog_style_obj_date_pos" id="blog_style_obj_date_pos">
|
1379 |
-
<option
|
1380 |
-
value="before" <?php echo(($row->blog_style_obj_date_pos == "before") ? 'selected="selected"' : ''); ?>>
|
1381 |
-
Before post author
|
1382 |
-
</option>
|
1383 |
-
<option
|
1384 |
-
value="after" <?php echo(($row->blog_style_obj_date_pos == "after") ? 'selected="selected"' : ''); ?>>
|
1385 |
-
After post author
|
1386 |
-
</option>
|
1387 |
-
<option
|
1388 |
-
value="bottom" <?php echo(($row->blog_style_obj_date_pos == "bottom") ? 'selected="selected"' : ''); ?>>
|
1389 |
-
At the bottom of the post
|
1390 |
-
</option>
|
1391 |
-
</select>
|
1392 |
-
</td>
|
1393 |
-
</tr>
|
1394 |
-
<tr>
|
1395 |
-
<td class="spider_label"><label for="blog_style_obj_font_family">Font family: </label>
|
1396 |
-
</td>
|
1397 |
-
<td>
|
1398 |
-
<select name="blog_style_obj_font_family" id="blog_style_obj_font_family">
|
1399 |
-
<?php
|
1400 |
-
foreach ($font_families as $key => $font_family) {
|
1401 |
-
?>
|
1402 |
-
<option
|
1403 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
1404 |
-
<?php
|
1405 |
-
}
|
1406 |
-
?>
|
1407 |
-
</select>
|
1408 |
-
</td>
|
1409 |
-
</tr>
|
1410 |
-
</tbody>
|
1411 |
-
</table>
|
1412 |
-
</fieldset>
|
1413 |
-
<fieldset class="spider_child_fieldset" id="Blog_style_2">
|
1414 |
-
<table style="clear:both;">
|
1415 |
-
<tbody>
|
1416 |
-
<tr>
|
1417 |
-
<td class="spider_label"><label for="blog_style_obj_info_bg_color">Info background
|
1418 |
-
color: </label></td>
|
1419 |
-
<td>
|
1420 |
-
<input type="text" name="blog_style_obj_info_bg_color"
|
1421 |
-
id="blog_style_obj_info_bg_color"
|
1422 |
-
value="<?php echo $row->blog_style_obj_info_bg_color; ?>" class="color"/>
|
1423 |
-
</td>
|
1424 |
-
</tr>
|
1425 |
-
<tr>
|
1426 |
-
<td class="spider_label"><label for="blog_style_page_name_color">Page(group, profile)
|
1427 |
-
name color: </label></td>
|
1428 |
-
<td>
|
1429 |
-
<input type="text" name="blog_style_page_name_color" id="blog_style_page_name_color"
|
1430 |
-
value="<?php echo $row->blog_style_page_name_color; ?>" class="color"/>
|
1431 |
-
</td>
|
1432 |
-
</tr>
|
1433 |
-
<tr>
|
1434 |
-
<td class="spider_label"><label for="blog_style_obj_page_name_size">Page(group, profile)
|
1435 |
-
name font size: </label></td>
|
1436 |
-
<td>
|
1437 |
-
<input type="text" name="blog_style_obj_page_name_size"
|
1438 |
-
id="blog_style_obj_page_name_size"
|
1439 |
-
value="<?php echo $row->blog_style_obj_page_name_size; ?>"
|
1440 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1441 |
-
</td>
|
1442 |
-
</tr>
|
1443 |
-
<tr>
|
1444 |
-
<td class="spider_label"><label for="blog_style_obj_page_name_font_weight">Page(group,
|
1445 |
-
profile) name font weight: </label></td>
|
1446 |
-
<td>
|
1447 |
-
<select name="blog_style_obj_page_name_font_weight"
|
1448 |
-
id="blog_style_obj_page_name_weight">
|
1449 |
-
<?php
|
1450 |
-
foreach ($font_weights as $key => $font_weight) {
|
1451 |
-
?>
|
1452 |
-
<option
|
1453 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_page_name_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1454 |
-
<?php
|
1455 |
-
}
|
1456 |
-
?>
|
1457 |
-
</select>
|
1458 |
-
</td>
|
1459 |
-
</tr>
|
1460 |
-
<tr>
|
1461 |
-
<td class="spider_label"><label for="blog_style_obj_story_color">Story color: </label>
|
1462 |
-
</td>
|
1463 |
-
<td>
|
1464 |
-
<input type="text" name="blog_style_obj_story_color" id="blog_style_obj_story_color"
|
1465 |
-
value="<?php echo $row->blog_style_obj_story_color; ?>" class="color"/>
|
1466 |
-
</td>
|
1467 |
-
</tr>
|
1468 |
-
<tr>
|
1469 |
-
<td class="spider_label"><label for="blog_style_obj_story_size">Story font
|
1470 |
-
size: </label></td>
|
1471 |
-
<td>
|
1472 |
-
<input type="text" name="blog_style_obj_story_size" id="blog_style_obj_story_size"
|
1473 |
-
value="<?php echo $row->blog_style_obj_story_size; ?>"
|
1474 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1475 |
-
</td>
|
1476 |
-
</tr>
|
1477 |
-
<tr>
|
1478 |
-
<td class="spider_label"><label for="blog_style_obj_story_font_weight">Story font
|
1479 |
-
weight: </label></td>
|
1480 |
-
<td>
|
1481 |
-
<select name="blog_style_obj_story_font_weight"
|
1482 |
-
id="blog_style_obj_story_font_weight">
|
1483 |
-
<?php
|
1484 |
-
foreach ($font_weights as $key => $font_weight) {
|
1485 |
-
?>
|
1486 |
-
<option
|
1487 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_story_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1488 |
-
<?php
|
1489 |
-
}
|
1490 |
-
?>
|
1491 |
-
</select>
|
1492 |
-
</td>
|
1493 |
-
</tr>
|
1494 |
-
<tr>
|
1495 |
-
<td class="spider_label"><label for="blog_style_obj_place_color">Place color: </label>
|
1496 |
-
</td>
|
1497 |
-
<td>
|
1498 |
-
<input type="text" name="blog_style_obj_place_color" id="blog_style_obj_place_color"
|
1499 |
-
value="<?php echo $row->blog_style_obj_place_color; ?>" class="color"/>
|
1500 |
-
</td>
|
1501 |
-
</tr>
|
1502 |
-
<tr>
|
1503 |
-
<td class="spider_label"><label for="blog_style_obj_place_size">Place font
|
1504 |
-
size: </label></td>
|
1505 |
-
<td>
|
1506 |
-
<input type="text" name="blog_style_obj_place_size" id="blog_style_obj_place_size"
|
1507 |
-
value="<?php echo $row->blog_style_obj_place_size; ?>"
|
1508 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1509 |
-
</td>
|
1510 |
-
</tr>
|
1511 |
-
<tr>
|
1512 |
-
<td class="spider_label"><label for="blog_style_obj_place_font_weight">Place font
|
1513 |
-
weight: </label></td>
|
1514 |
-
<td>
|
1515 |
-
<select name="blog_style_obj_place_font_weight"
|
1516 |
-
id="blog_style_obj_place_font_weight">
|
1517 |
-
<?php
|
1518 |
-
foreach ($font_weights as $key => $font_weight) {
|
1519 |
-
?>
|
1520 |
-
<option
|
1521 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_place_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1522 |
-
<?php
|
1523 |
-
}
|
1524 |
-
?>
|
1525 |
-
</select>
|
1526 |
-
</td>
|
1527 |
-
</tr>
|
1528 |
-
<tr>
|
1529 |
-
<td class="spider_label"><label for="blog_style_obj_name_color">Name color: </label>
|
1530 |
-
</td>
|
1531 |
-
<td>
|
1532 |
-
<input type="text" name="blog_style_obj_name_color" id="blog_style_obj_name_color"
|
1533 |
-
value="<?php echo $row->blog_style_obj_name_color; ?>" class="color"/>
|
1534 |
-
</td>
|
1535 |
-
</tr>
|
1536 |
-
<tr>
|
1537 |
-
<td class="spider_label"><label for="blog_style_obj_name_size">Name font size: </label>
|
1538 |
-
</td>
|
1539 |
-
<td>
|
1540 |
-
<input type="text" name="blog_style_obj_name_size" id="blog_style_obj_name_size"
|
1541 |
-
value="<?php echo $row->blog_style_obj_name_size; ?>"
|
1542 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1543 |
-
</td>
|
1544 |
-
</tr>
|
1545 |
-
<tr>
|
1546 |
-
<td class="spider_label"><label for="blog_style_obj_name_font_weight">Name font
|
1547 |
-
weight: </label></td>
|
1548 |
-
<td>
|
1549 |
-
<select name="blog_style_obj_name_font_weight" id="blog_style_obj_name_font_weight">
|
1550 |
-
<?php
|
1551 |
-
foreach ($font_weights as $key => $font_weight) {
|
1552 |
-
?>
|
1553 |
-
<option
|
1554 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_name_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1555 |
-
<?php
|
1556 |
-
}
|
1557 |
-
?>
|
1558 |
-
</select>
|
1559 |
-
</td>
|
1560 |
-
</tr>
|
1561 |
-
<tr>
|
1562 |
-
<td class="spider_label"><label for="blog_style_evt_str_color">Event place(street)
|
1563 |
-
color: </label></td>
|
1564 |
-
<td>
|
1565 |
-
<input type="text" name="blog_style_evt_str_color" id="blog_style_evt_str_color"
|
1566 |
-
value="<?php echo $row->blog_style_evt_str_color; ?>" class="color"/>
|
1567 |
-
</td>
|
1568 |
-
</tr>
|
1569 |
-
<tr>
|
1570 |
-
<td class="spider_label"><label for="blog_style_evt_str_size">Event place(street) font
|
1571 |
-
size: </label></td>
|
1572 |
-
<td>
|
1573 |
-
<input type="text" name="blog_style_evt_str_size" id="blog_style_evt_str_size"
|
1574 |
-
value="<?php echo $row->blog_style_evt_str_size; ?>" class="spider_int_input"
|
1575 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
1576 |
-
</td>
|
1577 |
-
</tr>
|
1578 |
-
<tr>
|
1579 |
-
<td class="spider_label"><label for="blog_style_evt_str_font_weight">Event place(street)
|
1580 |
-
font weight: </label></td>
|
1581 |
-
<td>
|
1582 |
-
<select name="blog_style_evt_str_font_weight" id="blog_style_evt_str_font_weight">
|
1583 |
-
<?php
|
1584 |
-
foreach ($font_weights as $key => $font_weight) {
|
1585 |
-
?>
|
1586 |
-
<option
|
1587 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_evt_str_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1588 |
-
<?php
|
1589 |
-
}
|
1590 |
-
?>
|
1591 |
-
</select>
|
1592 |
-
</td>
|
1593 |
-
</tr>
|
1594 |
-
<tr>
|
1595 |
-
<td class="spider_label"><label for="blog_style_evt_ctzpcn_color">Event place(city, zip,
|
1596 |
-
country) color: </label></td>
|
1597 |
-
<td>
|
1598 |
-
<input type="text" name="blog_style_evt_ctzpcn_color"
|
1599 |
-
id="blog_style_evt_ctzpcn_color"
|
1600 |
-
value="<?php echo $row->blog_style_evt_ctzpcn_color; ?>" class="color"/>
|
1601 |
-
</td>
|
1602 |
-
</tr>
|
1603 |
-
<tr>
|
1604 |
-
<td class="spider_label"><label for="blog_style_evt_ctzpcn_size">Event place(city, zip,
|
1605 |
-
country) font size: </label></td>
|
1606 |
-
<td>
|
1607 |
-
<input type="text" name="blog_style_evt_ctzpcn_size" id="blog_style_evt_ctzpcn_size"
|
1608 |
-
value="<?php echo $row->blog_style_evt_ctzpcn_size; ?>"
|
1609 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1610 |
-
</td>
|
1611 |
-
</tr>
|
1612 |
-
<tr>
|
1613 |
-
<td class="spider_label"><label for="blog_style_evt_ctzpcn_font_weight">Event
|
1614 |
-
place(city, zip, country) font weight: </label></td>
|
1615 |
-
<td>
|
1616 |
-
<select name="blog_style_evt_ctzpcn_font_weight"
|
1617 |
-
id="blog_style_evt_ctzpcn_font_weight">
|
1618 |
-
<?php
|
1619 |
-
foreach ($font_weights as $key => $font_weight) {
|
1620 |
-
?>
|
1621 |
-
<option
|
1622 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_evt_ctzpcn_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1623 |
-
<?php
|
1624 |
-
}
|
1625 |
-
?>
|
1626 |
-
</select>
|
1627 |
-
</td>
|
1628 |
-
</tr>
|
1629 |
-
<tr>
|
1630 |
-
<td class="spider_label"><label for="blog_style_evt_map_color">Event place(map)
|
1631 |
-
color: </label></td>
|
1632 |
-
<td>
|
1633 |
-
<input type="text" name="blog_style_evt_map_color" id="blog_style_evt_map_color"
|
1634 |
-
value="<?php echo $row->blog_style_evt_map_color; ?>" class="color"/>
|
1635 |
-
</td>
|
1636 |
-
</tr>
|
1637 |
-
<tr>
|
1638 |
-
<td class="spider_label"><label for="blog_style_evt_map_size">Event place(map) font
|
1639 |
-
size: </label></td>
|
1640 |
-
<td>
|
1641 |
-
<input type="text" name="blog_style_evt_map_size" id="blog_style_evt_map_size"
|
1642 |
-
value="<?php echo $row->blog_style_evt_map_size; ?>" class="spider_int_input"
|
1643 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
1644 |
-
</td>
|
1645 |
-
</tr>
|
1646 |
-
<tr>
|
1647 |
-
<td class="spider_label"><label for="blog_style_evt_map_font_weight">Event place(map)
|
1648 |
-
font weight: </label></td>
|
1649 |
-
<td>
|
1650 |
-
<select name="blog_style_evt_map_font_weight" id="blog_style_evt_map_font_weight">
|
1651 |
-
<?php
|
1652 |
-
foreach ($font_weights as $key => $font_weight) {
|
1653 |
-
?>
|
1654 |
-
<option
|
1655 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_evt_map_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1656 |
-
<?php
|
1657 |
-
}
|
1658 |
-
?>
|
1659 |
-
</select>
|
1660 |
-
</td>
|
1661 |
-
</tr>
|
1662 |
-
<tr>
|
1663 |
-
<td class="spider_label"><label for="blog_style_evt_date_color">Event date
|
1664 |
-
color: </label></td>
|
1665 |
-
<td>
|
1666 |
-
<input type="text" name="blog_style_evt_date_color" id="blog_style_evt_date_color"
|
1667 |
-
value="<?php echo $row->blog_style_evt_date_color; ?>" class="color"/>
|
1668 |
-
</td>
|
1669 |
-
</tr>
|
1670 |
-
<tr>
|
1671 |
-
<td class="spider_label"><label for="blog_style_evt_date_size">Event date font
|
1672 |
-
size: </label></td>
|
1673 |
-
<td>
|
1674 |
-
<input type="text" name="blog_style_evt_date_size" id="blog_style_evt_date_size"
|
1675 |
-
value="<?php echo $row->blog_style_evt_date_size; ?>"
|
1676 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1677 |
-
</td>
|
1678 |
-
</tr>
|
1679 |
-
<tr>
|
1680 |
-
<td class="spider_label"><label for="blog_style_evt_date_font_weight">Event date font
|
1681 |
-
weight: </label></td>
|
1682 |
-
<td>
|
1683 |
-
<select name="blog_style_evt_date_font_weight" id="blog_style_evt_date_font_weight">
|
1684 |
-
<?php
|
1685 |
-
foreach ($font_weights as $key => $font_weight) {
|
1686 |
-
?>
|
1687 |
-
<option
|
1688 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_evt_date_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1689 |
-
<?php
|
1690 |
-
}
|
1691 |
-
?>
|
1692 |
-
</select>
|
1693 |
-
</td>
|
1694 |
-
</tr>
|
1695 |
-
<tr>
|
1696 |
-
<td class="spider_label"><label for="blog_style_evt_info_font_family">Event font
|
1697 |
-
family: </label></td>
|
1698 |
-
<td>
|
1699 |
-
<select name="blog_style_evt_info_font_family" id="blog_style_evt_info_font_family">
|
1700 |
-
<?php
|
1701 |
-
foreach ($font_families as $key => $font_family) {
|
1702 |
-
?>
|
1703 |
-
<option
|
1704 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_evt_info_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
1705 |
-
<?php
|
1706 |
-
}
|
1707 |
-
?>
|
1708 |
-
</select>
|
1709 |
-
</td>
|
1710 |
-
</tr>
|
1711 |
-
</tbody>
|
1712 |
-
</table>
|
1713 |
-
</fieldset>
|
1714 |
-
<fieldset class="spider_child_fieldset" id="Blog_style_3">
|
1715 |
-
<table style="clear:both;">
|
1716 |
-
<tbody>
|
1717 |
-
<tr>
|
1718 |
-
<td class="spider_label"><label for="blog_style_obj_message_color">Message and
|
1719 |
-
description color: </label></td>
|
1720 |
-
<td>
|
1721 |
-
<input type="text" name="blog_style_obj_message_color"
|
1722 |
-
id="blog_style_obj_message_color"
|
1723 |
-
value="<?php echo $row->blog_style_obj_message_color; ?>" class="color"/>
|
1724 |
-
</td>
|
1725 |
-
</tr>
|
1726 |
-
<tr>
|
1727 |
-
<td class="spider_label"><label for="blog_style_obj_message_size">Message and
|
1728 |
-
description font size: </label></td>
|
1729 |
-
<td>
|
1730 |
-
<input type="text" name="blog_style_obj_message_size"
|
1731 |
-
id="blog_style_obj_message_size"
|
1732 |
-
value="<?php echo $row->blog_style_obj_message_size; ?>"
|
1733 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1734 |
-
</td>
|
1735 |
-
</tr>
|
1736 |
-
<tr>
|
1737 |
-
<td class="spider_label"><label for="blog_style_obj_message_font_weight">Message and
|
1738 |
-
description font weight: </label></td>
|
1739 |
-
<td>
|
1740 |
-
<select name="blog_style_obj_message_font_weight"
|
1741 |
-
id="blog_style_obj_message_font_weight">
|
1742 |
-
<?php
|
1743 |
-
foreach ($font_weights as $key => $font_weight) {
|
1744 |
-
?>
|
1745 |
-
<option
|
1746 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_message_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1747 |
-
<?php
|
1748 |
-
}
|
1749 |
-
?>
|
1750 |
-
</select>
|
1751 |
-
</td>
|
1752 |
-
</tr>
|
1753 |
-
<tr>
|
1754 |
-
<td class="spider_label"><label for="blog_style_obj_hashtags_color">Hashtags
|
1755 |
-
color: </label></td>
|
1756 |
-
<td>
|
1757 |
-
<input type="text" name="blog_style_obj_hashtags_color"
|
1758 |
-
id="blog_style_obj_hashtags_color"
|
1759 |
-
value="<?php echo $row->blog_style_obj_hashtags_color; ?>" class="color"/>
|
1760 |
-
</td>
|
1761 |
-
</tr>
|
1762 |
-
<tr>
|
1763 |
-
<td class="spider_label"><label for="blog_style_obj_hashtags_size">Hashtags font
|
1764 |
-
size: </label></td>
|
1765 |
-
<td>
|
1766 |
-
<input type="text" name="blog_style_obj_hashtags_size"
|
1767 |
-
id="blog_style_obj_hashtags_size"
|
1768 |
-
value="<?php echo $row->blog_style_obj_hashtags_size; ?>"
|
1769 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1770 |
-
</td>
|
1771 |
-
</tr>
|
1772 |
-
<tr>
|
1773 |
-
<td class="spider_label"><label for="blog_style_obj_hashtags_font_weight">Hashtags font
|
1774 |
-
weight: </label></td>
|
1775 |
-
<td>
|
1776 |
-
<select name="blog_style_obj_hashtags_font_weight"
|
1777 |
-
id="blog_style_obj_hashtags_font_weight">
|
1778 |
-
<?php
|
1779 |
-
foreach ($font_weights as $key => $font_weight) {
|
1780 |
-
?>
|
1781 |
-
<option
|
1782 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_hashtags_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1783 |
-
<?php
|
1784 |
-
}
|
1785 |
-
?>
|
1786 |
-
</select>
|
1787 |
-
</td>
|
1788 |
-
</tr>
|
1789 |
-
<tr>
|
1790 |
-
<td class="spider_label"><label for="blog_style_obj_likes_social_bg_color">Likes(share,
|
1791 |
-
comment) and social buttons background color: </label></td>
|
1792 |
-
<td>
|
1793 |
-
<input type="text" name="blog_style_obj_likes_social_bg_color"
|
1794 |
-
id="blog_style_obj_likes_social_bg_color"
|
1795 |
-
value="<?php echo $row->blog_style_obj_likes_social_bg_color; ?>"
|
1796 |
-
class="color"/>
|
1797 |
-
</td>
|
1798 |
-
</tr>
|
1799 |
-
|
1800 |
-
<tr>
|
1801 |
-
<td class="spider_label"><label for="blog_style_obj_likes_social_color">Likes(share,
|
1802 |
-
comment) color: </label></td>
|
1803 |
-
<td>
|
1804 |
-
<input type="text" name="blog_style_obj_likes_social_color"
|
1805 |
-
id="blog_style_obj_likes_social_color"
|
1806 |
-
value="<?php echo $row->blog_style_obj_likes_social_color; ?>"
|
1807 |
-
class="color"/>
|
1808 |
-
</td>
|
1809 |
-
</tr>
|
1810 |
-
<tr>
|
1811 |
-
<td class="spider_label"><label for="blog_style_obj_likes_social_size">Likes(share,
|
1812 |
-
comment) and social size: </label></td>
|
1813 |
-
<td>
|
1814 |
-
<input type="text" name="blog_style_obj_likes_social_size"
|
1815 |
-
id="blog_style_obj_likes_social_size"
|
1816 |
-
value="<?php echo $row->blog_style_obj_likes_social_size; ?>"
|
1817 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1818 |
-
</td>
|
1819 |
-
</tr>
|
1820 |
-
<tr>
|
1821 |
-
<td class="spider_label"><label for="blog_style_obj_likes_social_font_weight">Likes(share,
|
1822 |
-
comment) and social font weight: </label></td>
|
1823 |
-
<td>
|
1824 |
-
<select name="blog_style_obj_likes_social_font_weight"
|
1825 |
-
id="blog_style_obj_likes_social_font_weight">
|
1826 |
-
<?php
|
1827 |
-
foreach ($font_weights as $key => $font_weight) {
|
1828 |
-
?>
|
1829 |
-
<option
|
1830 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_likes_social_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1831 |
-
<?php
|
1832 |
-
}
|
1833 |
-
?>
|
1834 |
-
</select>
|
1835 |
-
</td>
|
1836 |
-
</tr>
|
1837 |
-
</tbody>
|
1838 |
-
</table>
|
1839 |
-
</fieldset>
|
1840 |
-
<fieldset class="spider_child_fieldset" id="Blog_style_4">
|
1841 |
-
<table style="clear:both;">
|
1842 |
-
<tbody>
|
1843 |
-
<tr>
|
1844 |
-
<td class="spider_label"><label for="blog_style_obj_comments_bg_color">Comments
|
1845 |
-
background color: </label></td>
|
1846 |
-
<td>
|
1847 |
-
<input type="text" name="blog_style_obj_comments_bg_color"
|
1848 |
-
id="blog_style_obj_comments_bg_color"
|
1849 |
-
value="<?php echo $row->blog_style_obj_comments_bg_color; ?>" class="color"/>
|
1850 |
-
</td>
|
1851 |
-
</tr>
|
1852 |
-
<tr>
|
1853 |
-
<td class="spider_label"><label for="blog_style_obj_comments_color">Comments
|
1854 |
-
color: </label></td>
|
1855 |
-
<td>
|
1856 |
-
<input type="text" name="blog_style_obj_comments_color"
|
1857 |
-
id="blog_style_obj_comments_color"
|
1858 |
-
value="<?php echo $row->blog_style_obj_comments_color; ?>" class="color"/>
|
1859 |
-
</td>
|
1860 |
-
</tr>
|
1861 |
-
<tr>
|
1862 |
-
<td class="spider_label"><label for="blog_style_obj_comments_font_family">Comments font
|
1863 |
-
family: </label></td>
|
1864 |
-
<td>
|
1865 |
-
<select name="blog_style_obj_comments_font_family"
|
1866 |
-
id="blog_style_obj_comments_font_family">
|
1867 |
-
<?php
|
1868 |
-
foreach ($font_families as $key => $font_family) {
|
1869 |
-
?>
|
1870 |
-
<option
|
1871 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_comments_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
1872 |
-
<?php
|
1873 |
-
}
|
1874 |
-
?>
|
1875 |
-
</select>
|
1876 |
-
</td>
|
1877 |
-
</tr>
|
1878 |
-
<tr>
|
1879 |
-
<td class="spider_label"><label for="blog_style_obj_comments_font_size">Comments font
|
1880 |
-
size: </label></td>
|
1881 |
-
<td>
|
1882 |
-
<input type="text" name="blog_style_obj_comments_font_size"
|
1883 |
-
id="blog_style_obj_comments_font_size"
|
1884 |
-
value="<?php echo $row->blog_style_obj_comments_font_size; ?>"
|
1885 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1886 |
-
</td>
|
1887 |
-
</tr>
|
1888 |
-
<tr>
|
1889 |
-
<td class="spider_label"><label for="blog_style_obj_users_font_color">Users
|
1890 |
-
color: </label></td>
|
1891 |
-
<td>
|
1892 |
-
<input type="text" name="blog_style_obj_users_font_color"
|
1893 |
-
id="blog_style_obj_users_font_color"
|
1894 |
-
value="<?php echo $row->blog_style_obj_users_font_color; ?>" class="color"/>
|
1895 |
-
</td>
|
1896 |
-
</tr>
|
1897 |
-
<tr>
|
1898 |
-
<td class="spider_label"><label for="blog_style_obj_comments_social_font_weight">Comments
|
1899 |
-
font weight: </label></td>
|
1900 |
-
<td>
|
1901 |
-
<select name="blog_style_obj_comments_social_font_weight"
|
1902 |
-
id="blog_style_obj_comments_social_font_weight">
|
1903 |
-
<?php
|
1904 |
-
foreach ($font_weights as $key => $font_weight) {
|
1905 |
-
?>
|
1906 |
-
<option
|
1907 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_comments_social_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1908 |
-
<?php
|
1909 |
-
}
|
1910 |
-
?>
|
1911 |
-
</select>
|
1912 |
-
</td>
|
1913 |
-
</tr>
|
1914 |
-
<tr>
|
1915 |
-
<td class="spider_label"><label for="blog_style_obj_comment_border_width">Comment border
|
1916 |
-
width: </label></td>
|
1917 |
-
<td>
|
1918 |
-
<input type="text" name="blog_style_obj_comment_border_width"
|
1919 |
-
id="blog_style_obj_comment_border_width"
|
1920 |
-
value="<?php echo $row->blog_style_obj_comment_border_width; ?>"
|
1921 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1922 |
-
</td>
|
1923 |
-
</tr>
|
1924 |
-
<tr>
|
1925 |
-
<td class="spider_label"><label for="blog_style_obj_comment_border_style">Comment border
|
1926 |
-
style: </label></td>
|
1927 |
-
<td>
|
1928 |
-
<select name="blog_style_obj_comment_border_style"
|
1929 |
-
id="blog_style_obj_comment_border_style">
|
1930 |
-
<?php
|
1931 |
-
foreach ($border_styles as $key => $border_style) {
|
1932 |
-
?>
|
1933 |
-
<option
|
1934 |
-
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_comment_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
|
1935 |
-
<?php
|
1936 |
-
}
|
1937 |
-
?>
|
1938 |
-
</select>
|
1939 |
-
</td>
|
1940 |
-
</tr>
|
1941 |
-
<tr>
|
1942 |
-
<td class="spider_label"><label for="blog_style_obj_comment_border_color">Comment border
|
1943 |
-
color: </label></td>
|
1944 |
-
<td>
|
1945 |
-
<input type="text" name="blog_style_obj_comment_border_color"
|
1946 |
-
id="blog_style_obj_comment_border_color"
|
1947 |
-
value="<?php echo $row->blog_style_obj_comment_border_color; ?>"
|
1948 |
-
class="color"/>
|
1949 |
-
</td>
|
1950 |
-
</tr>
|
1951 |
-
<tr>
|
1952 |
-
<td class="spider_label"><label for="blog_style_obj_comment_border_type">Comment border
|
1953 |
-
type: </label></td>
|
1954 |
-
<td>
|
1955 |
-
<select name="blog_style_obj_comment_border_type" id="blog_style_border_type">
|
1956 |
-
<option
|
1957 |
-
value="all" <?php echo(($row->blog_style_obj_comment_border_type == "all") ? 'selected="selected"' : ''); ?>>
|
1958 |
-
All
|
1959 |
-
</option>
|
1960 |
-
<option
|
1961 |
-
value="top" <?php echo(($row->blog_style_obj_comment_border_type == "top") ? 'selected="selected"' : ''); ?>>
|
1962 |
-
Top
|
1963 |
-
</option>
|
1964 |
-
<option
|
1965 |
-
value="right" <?php echo(($row->blog_style_obj_comment_border_type == "right") ? 'selected="selected"' : ''); ?>>
|
1966 |
-
Right
|
1967 |
-
</option>
|
1968 |
-
<option
|
1969 |
-
value="bottom" <?php echo(($row->blog_style_obj_comment_border_type == "bottom") ? 'selected="selected"' : ''); ?>>
|
1970 |
-
Bottom
|
1971 |
-
</option>
|
1972 |
-
<option
|
1973 |
-
value="left" <?php echo(($row->blog_style_obj_comment_border_type == "left") ? 'selected="selected"' : ''); ?>>
|
1974 |
-
Left
|
1975 |
-
</option>
|
1976 |
-
</select>
|
1977 |
-
</td>
|
1978 |
-
</tr>
|
1979 |
-
</tbody>
|
1980 |
-
</table>
|
1981 |
-
</fieldset>
|
1982 |
-
</fieldset>
|
1983 |
-
<fieldset class="spider_type_fieldset" id="Lightbox">
|
1984 |
-
<fieldset class="spider_child_fieldset" id="Lightbox_1">
|
1985 |
-
<table style="clear:both;">
|
1986 |
-
<tbody>
|
1987 |
-
<tr id="lightbox_overlay_bg">
|
1988 |
-
<td class="spider_label"><label for="lightbox_overlay_bg_color">Overlay background
|
1989 |
-
color: </label></td>
|
1990 |
-
<td>
|
1991 |
-
<input type="text" name="lightbox_overlay_bg_color" id="lightbox_overlay_bg_color"
|
1992 |
-
value="<?php echo $row->lightbox_overlay_bg_color; ?>" class="color"/>
|
1993 |
-
</td>
|
1994 |
-
</tr>
|
1995 |
-
<tr id="lightbox_overlay">
|
1996 |
-
<td class="spider_label"><label for="lightbox_overlay_bg_transparent">Overlay background
|
1997 |
-
transparency: </label></td>
|
1998 |
-
<td>
|
1999 |
-
<input type="text" name="lightbox_overlay_bg_transparent"
|
2000 |
-
id="lightbox_overlay_bg_transparent"
|
2001 |
-
value="<?php echo $row->lightbox_overlay_bg_transparent; ?>"
|
2002 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
2003 |
-
<div class="spider_description">Value must be between 0 to 100.</div>
|
2004 |
-
</td>
|
2005 |
-
</tr>
|
2006 |
-
<tr id="lightbox_bg">
|
2007 |
-
<td class="spider_label"><label for="lightbox_bg_color">Lightbox background
|
2008 |
-
color: </label></td>
|
2009 |
-
<td>
|
2010 |
-
<input type="text" name="lightbox_bg_color" id="lightbox_bg_color"
|
2011 |
-
value="<?php echo $row->lightbox_bg_color; ?>" class="color"/>
|
2012 |
-
</td>
|
2013 |
-
</tr>
|
2014 |
-
<tr id="lightbox_cntrl1">
|
2015 |
-
<td class="spider_label"><label for="lightbox_ctrl_btn_height">Control buttons
|
2016 |
-
height: </label></td>
|
2017 |
-
<td>
|
2018 |
-
<input type="text" name="lightbox_ctrl_btn_height" id="lightbox_ctrl_btn_height"
|
2019 |
-
value="<?php echo $row->lightbox_ctrl_btn_height; ?>"
|
2020 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2021 |
-
</td>
|
2022 |
-
</tr>
|
2023 |
-
<tr id="lightbox_cntrl2">
|
2024 |
-
<td class="spider_label"><label for="lightbox_ctrl_btn_margin_top">Control buttons
|
2025 |
-
margin (top): </label></td>
|
2026 |
-
<td>
|
2027 |
-
<input type="text" name="lightbox_ctrl_btn_margin_top"
|
2028 |
-
id="lightbox_ctrl_btn_margin_top"
|
2029 |
-
value="<?php echo $row->lightbox_ctrl_btn_margin_top; ?>"
|
2030 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2031 |
-
</td>
|
2032 |
-
</tr>
|
2033 |
-
<tr id="lightbox_cntrl3">
|
2034 |
-
<td class="spider_label"><label for="lightbox_ctrl_btn_margin_left">Control buttons
|
2035 |
-
margin (left): </label></td>
|
2036 |
-
<td>
|
2037 |
-
<input type="text" name="lightbox_ctrl_btn_margin_left"
|
2038 |
-
id="lightbox_ctrl_btn_margin_left"
|
2039 |
-
value="<?php echo $row->lightbox_ctrl_btn_margin_left; ?>"
|
2040 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2041 |
-
</td>
|
2042 |
-
</tr>
|
2043 |
-
<tr id="lightbox_cntrl9">
|
2044 |
-
<td class="spider_label"><label>Control buttons position: </label></td>
|
2045 |
-
<td>
|
2046 |
-
<input type="radio" name="lightbox_ctrl_btn_pos" id="lightbox_ctrl_btn_pos1"
|
2047 |
-
value="top"<?php if ($row->lightbox_ctrl_btn_pos == "top") echo 'checked="checked"'; ?> />
|
2048 |
-
<label for="lightbox_ctrl_btn_pos1" id="lightbox_ctrl_btn_pos1_lbl">Top</label>
|
2049 |
-
<input type="radio" name="lightbox_ctrl_btn_pos" id="lightbox_ctrl_btn_pos0"
|
2050 |
-
value="bottom"<?php if ($row->lightbox_ctrl_btn_pos == "bottom") echo 'checked="checked"'; ?> />
|
2051 |
-
<label for="lightbox_ctrl_btn_pos0" id="lightbox_ctrl_btn_pos0_lbl">Bottom</label>
|
2052 |
-
</td>
|
2053 |
-
</tr>
|
2054 |
-
<tr id="lightbox_cntrl8">
|
2055 |
-
<td class="spider_label"><label for="lightbox_ctrl_cont_bg_color">Control buttons
|
2056 |
-
background color: </label></td>
|
2057 |
-
<td>
|
2058 |
-
<input type="text" name="lightbox_ctrl_cont_bg_color"
|
2059 |
-
id="lightbox_ctrl_cont_bg_color"
|
2060 |
-
value="<?php echo $row->lightbox_ctrl_cont_bg_color; ?>" class="color"/>
|
2061 |
-
</td>
|
2062 |
-
</tr>
|
2063 |
-
<tr id="lightbox_cntrl5">
|
2064 |
-
<td class="spider_label"><label for="lightbox_ctrl_cont_border_radius">Control buttons
|
2065 |
-
container border radius: </label></td>
|
2066 |
-
<td>
|
2067 |
-
<input type="text" name="lightbox_ctrl_cont_border_radius"
|
2068 |
-
id="lightbox_ctrl_cont_border_radius"
|
2069 |
-
value="<?php echo $row->lightbox_ctrl_cont_border_radius; ?>"
|
2070 |
-
class="spider_char_input"/>
|
2071 |
-
<div class="spider_description">Use CSS type values.</div>
|
2072 |
-
</td>
|
2073 |
-
</tr>
|
2074 |
-
<tr id="lightbox_cntrl6">
|
2075 |
-
<td class="spider_label"><label for="lightbox_ctrl_cont_transparent">Control buttons
|
2076 |
-
container background transparency: </label></td>
|
2077 |
-
<td>
|
2078 |
-
<input type="text" name="lightbox_ctrl_cont_transparent"
|
2079 |
-
id="lightbox_ctrl_cont_transparent"
|
2080 |
-
value="<?php echo $row->lightbox_ctrl_cont_transparent; ?>"
|
2081 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
2082 |
-
<div class="spider_description">Value must be between 0 to 100.</div>
|
2083 |
-
</td>
|
2084 |
-
</tr>
|
2085 |
-
<tr id="lightbox_cntrl10">
|
2086 |
-
<td class="spider_label"><label for="lightbox_ctrl_btn_align0">Control buttons
|
2087 |
-
alignment: </label></td>
|
2088 |
-
<td>
|
2089 |
-
<select name="lightbox_ctrl_btn_align" id="lightbox_ctrl_btn_align">
|
2090 |
-
<?php
|
2091 |
-
foreach ($aligns as $key => $align) {
|
2092 |
-
?>
|
2093 |
-
<option
|
2094 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_ctrl_btn_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
|
2095 |
-
<?php
|
2096 |
-
}
|
2097 |
-
?>
|
2098 |
-
</select>
|
2099 |
-
</td>
|
2100 |
-
</tr>
|
2101 |
-
<!-- <tr id="lightbox_cntrl7">
|
2102 |
-
<td class="spider_label"><label for="lightbox_ctrl_btn_color">Control buttons color: </label></td>
|
2103 |
-
<td>
|
2104 |
-
<input type="text" name="lightbox_ctrl_btn_color" id="lightbox_ctrl_btn_color" value="<?php echo $row->lightbox_ctrl_btn_color; ?>" class="color"/>
|
2105 |
-
</td>
|
2106 |
-
</tr> -->
|
2107 |
-
<tr id="lightbox_cntrl4">
|
2108 |
-
<td class="spider_label"><label for="lightbox_ctrl_btn_transparent">Control buttons
|
2109 |
-
transparency: </label></td>
|
2110 |
-
<td>
|
2111 |
-
<input type="text" name="lightbox_ctrl_btn_transparent"
|
2112 |
-
id="lightbox_ctrl_btn_transparent"
|
2113 |
-
value="<?php echo $row->lightbox_ctrl_btn_transparent; ?>"
|
2114 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
2115 |
-
<div class="spider_description">Value must be between 0 to 100.</div>
|
2116 |
-
</td>
|
2117 |
-
</tr>
|
2118 |
-
<tr id="lightbox_toggle1">
|
2119 |
-
<td class="spider_label"><label for="lightbox_toggle_btn_height">Toggle button
|
2120 |
-
height: </label></td>
|
2121 |
-
<td>
|
2122 |
-
<input type="text" name="lightbox_toggle_btn_height" id="lightbox_toggle_btn_height"
|
2123 |
-
value="<?php echo $row->lightbox_toggle_btn_height; ?>"
|
2124 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2125 |
-
</td>
|
2126 |
-
</tr>
|
2127 |
-
<tr id="lightbox_toggle2">
|
2128 |
-
<td class="spider_label"><label for="lightbox_toggle_btn_width">Toggle button
|
2129 |
-
width: </label></td>
|
2130 |
-
<td>
|
2131 |
-
<input type="text" name="lightbox_toggle_btn_width" id="lightbox_toggle_btn_width"
|
2132 |
-
value="<?php echo $row->lightbox_toggle_btn_width; ?>"
|
2133 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2134 |
-
</td>
|
2135 |
-
</tr>
|
2136 |
-
<tr id="lightbox_close1">
|
2137 |
-
<td class="spider_label"><label for="lightbox_close_btn_border_radius">Close button
|
2138 |
-
border radius: </label>
|
2139 |
-
</td>
|
2140 |
-
<td>
|
2141 |
-
<input type="text" name="lightbox_close_btn_border_radius"
|
2142 |
-
id="lightbox_close_btn_border_radius"
|
2143 |
-
value="<?php echo $row->lightbox_close_btn_border_radius; ?>"
|
2144 |
-
class="spider_char_input"/>
|
2145 |
-
<div class="spider_description">Use CSS type values.</div>
|
2146 |
-
</td>
|
2147 |
-
</tr>
|
2148 |
-
<tr id="lightbox_close2">
|
2149 |
-
<td class="spider_label"><label for="lightbox_close_btn_border_width">Close button
|
2150 |
-
border width: </label></td>
|
2151 |
-
<td>
|
2152 |
-
<input type="text" name="lightbox_close_btn_border_width"
|
2153 |
-
id="lightbox_close_btn_border_width"
|
2154 |
-
value="<?php echo $row->lightbox_close_btn_border_width; ?>"
|
2155 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2156 |
-
</td>
|
2157 |
-
</tr>
|
2158 |
-
<tr id="lightbox_close12">
|
2159 |
-
<td class="spider_label"><label for="lightbox_close_btn_border_style">Close button
|
2160 |
-
border style: </label></td>
|
2161 |
-
<td>
|
2162 |
-
<select name="lightbox_close_btn_border_style" id="lightbox_close_btn_border_style">
|
2163 |
-
<?php
|
2164 |
-
foreach ($border_styles as $key => $border_style) {
|
2165 |
-
?>
|
2166 |
-
<option
|
2167 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_close_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
|
2168 |
-
<?php
|
2169 |
-
}
|
2170 |
-
?>
|
2171 |
-
</select>
|
2172 |
-
</td>
|
2173 |
-
</tr>
|
2174 |
-
<tr id="lightbox_close13">
|
2175 |
-
<td class="spider_label"><label for="lightbox_close_btn_border_color">Close button
|
2176 |
-
border color: </label></td>
|
2177 |
-
<td>
|
2178 |
-
<input type="text" name="lightbox_close_btn_border_color"
|
2179 |
-
id="lightbox_close_btn_border_color"
|
2180 |
-
value="<?php echo $row->lightbox_close_btn_border_color; ?>" class="color"/>
|
2181 |
-
</td>
|
2182 |
-
</tr>
|
2183 |
-
<tr id="lightbox_close3">
|
2184 |
-
<td class="spider_label"><label for="lightbox_close_btn_box_shadow">Close button box
|
2185 |
-
shadow: </label></td>
|
2186 |
-
<td>
|
2187 |
-
<input type="text" name="lightbox_close_btn_box_shadow"
|
2188 |
-
id="lightbox_close_btn_box_shadow"
|
2189 |
-
value="<?php echo $row->lightbox_close_btn_box_shadow; ?>"
|
2190 |
-
class="spider_box_input"/>
|
2191 |
-
<div class="spider_description">Use CSS type values.</div>
|
2192 |
-
</td>
|
2193 |
-
</tr>
|
2194 |
-
<tr id="lightbox_close11">
|
2195 |
-
<td class="spider_label"><label for="lightbox_close_btn_bg_color">Close button
|
2196 |
-
background color: </label></td>
|
2197 |
-
<td>
|
2198 |
-
<input type="text" name="lightbox_close_btn_bg_color"
|
2199 |
-
id="lightbox_close_btn_bg_color"
|
2200 |
-
value="<?php echo $row->lightbox_close_btn_bg_color; ?>" class="color"/>
|
2201 |
-
</td>
|
2202 |
-
</tr>
|
2203 |
-
<tr id="lightbox_close9">
|
2204 |
-
<td class="spider_label"><label for="lightbox_close_btn_transparent">Close button
|
2205 |
-
transparency: </label></td>
|
2206 |
-
<td>
|
2207 |
-
<input type="text" name="lightbox_close_btn_transparent"
|
2208 |
-
id="lightbox_close_btn_transparent"
|
2209 |
-
value="<?php echo $row->lightbox_close_btn_transparent; ?>"
|
2210 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
2211 |
-
</td>
|
2212 |
-
</tr>
|
2213 |
-
<tr id="lightbox_close5">
|
2214 |
-
<td class="spider_label"><label for="lightbox_close_btn_width">Close button
|
2215 |
-
width: </label></td>
|
2216 |
-
<td>
|
2217 |
-
<input type="text" name="lightbox_close_btn_width" id="lightbox_close_btn_width"
|
2218 |
-
value="<?php echo $row->lightbox_close_btn_width; ?>"
|
2219 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2220 |
-
</td>
|
2221 |
-
</tr>
|
2222 |
-
<tr id="lightbox_close6">
|
2223 |
-
<td class="spider_label"><label for="lightbox_close_btn_height">Close button
|
2224 |
-
height: </label></td>
|
2225 |
-
<td>
|
2226 |
-
<input type="text" name="lightbox_close_btn_height" id="lightbox_close_btn_height"
|
2227 |
-
value="<?php echo $row->lightbox_close_btn_height; ?>"
|
2228 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2229 |
-
</td>
|
2230 |
-
</tr>
|
2231 |
-
<tr id="lightbox_close7">
|
2232 |
-
<td class="spider_label"><label for="lightbox_close_btn_top">Close button top: </label>
|
2233 |
-
</td>
|
2234 |
-
<td>
|
2235 |
-
<input type="text" name="lightbox_close_btn_top" id="lightbox_close_btn_top"
|
2236 |
-
value="<?php echo $row->lightbox_close_btn_top; ?>" class="spider_int_input"
|
2237 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
2238 |
-
</td>
|
2239 |
-
</tr>
|
2240 |
-
<tr id="lightbox_close8">
|
2241 |
-
<td class="spider_label"><label for="lightbox_close_btn_right">Close button
|
2242 |
-
right: </label></td>
|
2243 |
-
<td>
|
2244 |
-
<input type="text" name="lightbox_close_btn_right" id="lightbox_close_btn_right"
|
2245 |
-
value="<?php echo $row->lightbox_close_btn_right; ?>"
|
2246 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2247 |
-
</td>
|
2248 |
-
</tr>
|
2249 |
-
<tr id="lightbox_close4">
|
2250 |
-
<td class="spider_label"><label for="lightbox_close_btn_size">Close button
|
2251 |
-
size: </label></td>
|
2252 |
-
<td>
|
2253 |
-
<input type="text" name="lightbox_close_btn_size" id="lightbox_close_btn_size"
|
2254 |
-
value="<?php echo $row->lightbox_close_btn_size; ?>" class="spider_int_input"
|
2255 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
2256 |
-
</td>
|
2257 |
-
</tr>
|
2258 |
-
<!-- <tr id="lightbox_close14">
|
2259 |
-
<td class="spider_label"><label for="lightbox_close_btn_color">Close button color: </label></td>
|
2260 |
-
<td>
|
2261 |
-
<input type="text" name="lightbox_close_btn_color" id="lightbox_close_btn_color" value="<?php echo $row->lightbox_close_btn_color; ?>" class="color"/>
|
2262 |
-
</td>
|
2263 |
-
</tr>
|
2264 |
-
<tr id="lightbox_close10">
|
2265 |
-
<td class="spider_label"><label for="lightbox_close_btn_full_color">Fullscreen close button color: </label></td>
|
2266 |
-
<td>
|
2267 |
-
<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"/>
|
2268 |
-
</td>
|
2269 |
-
</tr> -->
|
2270 |
-
</tbody>
|
2271 |
-
</table>
|
2272 |
-
</fieldset>
|
2273 |
-
<fieldset class="spider_child_fieldset" id="Lightbox_2">
|
2274 |
-
<table style="clear:both;">
|
2275 |
-
<tbody>
|
2276 |
-
<!-- <tr id="lightbox_right_left11">
|
2277 |
-
<td class="spider_label"><label for="lightbox_rl_btn_style">Right, left buttons style: </label></td>
|
2278 |
-
<td>
|
2279 |
-
<select name="lightbox_rl_btn_style" id="lightbox_rl_btn_style" class="spider_int_input">
|
2280 |
-
<?php
|
2281 |
-
foreach ($button_styles as $key => $button_style) {
|
2282 |
-
?>
|
2283 |
-
<option value="<?php echo $key; ?>" <?php echo(($row->lightbox_rl_btn_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $button_style; ?></option>
|
2284 |
-
<?php
|
2285 |
-
}
|
2286 |
-
?>
|
2287 |
-
</select>
|
2288 |
-
</td>
|
2289 |
-
</tr> -->
|
2290 |
-
<tr id="lightbox_right_left7">
|
2291 |
-
<td class="spider_label"><label for="lightbox_rl_btn_bg_color">Right, left buttons
|
2292 |
-
background color: </label></td>
|
2293 |
-
<td>
|
2294 |
-
<input type="text" name="lightbox_rl_btn_bg_color" id="lightbox_rl_btn_bg_color"
|
2295 |
-
value="<?php echo $row->lightbox_rl_btn_bg_color; ?>" class="color"/>
|
2296 |
-
</td>
|
2297 |
-
</tr>
|
2298 |
-
<tr>
|
2299 |
-
<td class="spider_label"><label for="lightbox_rl_btn_transparent">Right, left buttons
|
2300 |
-
transparency: </label></td>
|
2301 |
-
<td>
|
2302 |
-
<input type="text" name="lightbox_rl_btn_transparent"
|
2303 |
-
id="lightbox_rl_btn_transparent"
|
2304 |
-
value="<?php echo $row->lightbox_rl_btn_transparent; ?>"
|
2305 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
2306 |
-
</td>
|
2307 |
-
</tr>
|
2308 |
-
<tr id="lightbox_right_left3">
|
2309 |
-
<td class="spider_label"><label for="lightbox_rl_btn_box_shadow">Right, left buttons box
|
2310 |
-
shadow: </label></td>
|
2311 |
-
<td>
|
2312 |
-
<input type="text" name="lightbox_rl_btn_box_shadow" id="lightbox_rl_btn_box_shadow"
|
2313 |
-
value="<?php echo $row->lightbox_rl_btn_box_shadow; ?>"
|
2314 |
-
class="spider_box_input"/>
|
2315 |
-
<div class="spider_description">Use CSS type values.</div>
|
2316 |
-
</td>
|
2317 |
-
</tr>
|
2318 |
-
<tr id="lightbox_right_left4">
|
2319 |
-
<td class="spider_label"><label for="lightbox_rl_btn_height">Right, left buttons
|
2320 |
-
height: </label></td>
|
2321 |
-
<td>
|
2322 |
-
<input type="text" name="lightbox_rl_btn_height" id="lightbox_rl_btn_height"
|
2323 |
-
value="<?php echo $row->lightbox_rl_btn_height; ?>" class="spider_int_input"
|
2324 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
2325 |
-
</td>
|
2326 |
-
</tr>
|
2327 |
-
<tr id="lightbox_right_left5">
|
2328 |
-
<td class="spider_label"><label for="lightbox_rl_btn_width">Right, left buttons
|
2329 |
-
width: </label></td>
|
2330 |
-
<td>
|
2331 |
-
<input type="text" name="lightbox_rl_btn_width" id="lightbox_rl_btn_width"
|
2332 |
-
value="<?php echo $row->lightbox_rl_btn_width; ?>" class="spider_int_input"
|
2333 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
2334 |
-
</td>
|
2335 |
-
</tr>
|
2336 |
-
<tr id="lightbox_right_left6">
|
2337 |
-
<td class="spider_label"><label for="lightbox_rl_btn_size">Right, left buttons
|
2338 |
-
size: </label></td>
|
2339 |
-
<td>
|
2340 |
-
<input type="text" name="lightbox_rl_btn_size" id="lightbox_rl_btn_size"
|
2341 |
-
value="<?php echo $row->lightbox_rl_btn_size; ?>" class="spider_int_input"
|
2342 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
2343 |
-
</td>
|
2344 |
-
</tr>
|
2345 |
-
<!-- <tr id="lightbox_close15">
|
2346 |
-
<td class="spider_label"><label for="lightbox_close_rl_btn_hover_color">Right, left, close buttons hover color: </label></td>
|
2347 |
-
<td>
|
2348 |
-
<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" />
|
2349 |
-
</td>
|
2350 |
-
</tr>
|
2351 |
-
<tr id="lightbox_right_left10">
|
2352 |
-
<td class="spider_label"><label for="lightbox_rl_btn_color">Right, left buttons color: </label></td>
|
2353 |
-
<td>
|
2354 |
-
<input type="text" name="lightbox_rl_btn_color" id="lightbox_rl_btn_color" value="<?php echo $row->lightbox_rl_btn_color; ?>" class="color"/>
|
2355 |
-
</td>
|
2356 |
-
</tr> -->
|
2357 |
-
<tr id="lightbox_right_left1">
|
2358 |
-
<td class="spider_label"><label for="lightbox_rl_btn_border_radius">Right, left buttons
|
2359 |
-
border radius: </label></td>
|
2360 |
-
<td>
|
2361 |
-
<input type="text" name="lightbox_rl_btn_border_radius"
|
2362 |
-
id="lightbox_rl_btn_border_radius"
|
2363 |
-
value="<?php echo $row->lightbox_rl_btn_border_radius; ?>"
|
2364 |
-
class="spider_char_input"/>
|
2365 |
-
<div class="spider_description">Use CSS type values.</div>
|
2366 |
-
</td>
|
2367 |
-
</tr>
|
2368 |
-
<tr id="lightbox_right_left2">
|
2369 |
-
<td class="spider_label"><label for="lightbox_rl_btn_border_width">Right, left buttons
|
2370 |
-
border width: </label></td>
|
2371 |
-
<td>
|
2372 |
-
<input type="text" name="lightbox_rl_btn_border_width"
|
2373 |
-
id="lightbox_rl_btn_border_width"
|
2374 |
-
value="<?php echo $row->lightbox_rl_btn_border_width; ?>"
|
2375 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2376 |
-
</td>
|
2377 |
-
</tr>
|
2378 |
-
<tr id="lightbox_right_left8">
|
2379 |
-
<td class="spider_label"><label for="lightbox_rl_btn_border_style">Right, left buttons
|
2380 |
-
border style: </label></td>
|
2381 |
-
<td>
|
2382 |
-
<select name="lightbox_rl_btn_border_style" id="lightbox_rl_btn_border_style">
|
2383 |
-
<?php
|
2384 |
-
foreach ($border_styles as $key => $border_style) {
|
2385 |
-
?>
|
2386 |
-
<option
|
2387 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_rl_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
|
2388 |
-
<?php
|
2389 |
-
}
|
2390 |
-
?>
|
2391 |
-
</select>
|
2392 |
-
</td>
|
2393 |
-
</tr>
|
2394 |
-
<tr id="lightbox_right_left9">
|
2395 |
-
<td class="spider_label"><label for="lightbox_rl_btn_border_color">Right, left buttons
|
2396 |
-
border color: </label></td>
|
2397 |
-
<td>
|
2398 |
-
<input type="text" name="lightbox_rl_btn_border_color"
|
2399 |
-
id="lightbox_rl_btn_border_color"
|
2400 |
-
value="<?php echo $row->lightbox_rl_btn_border_color; ?>" class="color"/>
|
2401 |
-
</td>
|
2402 |
-
</tr>
|
2403 |
-
<tr id="lightbox_filmstrip12">
|
2404 |
-
<td class="spider_label"><label>Filmstrip position: </label></td>
|
2405 |
-
<td>
|
2406 |
-
<select name="lightbox_filmstrip_pos" id="lightbox_filmstrip_pos">
|
2407 |
-
<option
|
2408 |
-
value="top" <?php echo(($row->lightbox_filmstrip_pos == "top") ? 'selected="selected"' : ''); ?>>
|
2409 |
-
Top
|
2410 |
-
</option>
|
2411 |
-
<option
|
2412 |
-
value="right" <?php echo(($row->lightbox_filmstrip_pos == "right") ? 'selected="selected"' : ''); ?>>
|
2413 |
-
Right
|
2414 |
-
</option>
|
2415 |
-
<option
|
2416 |
-
value="bottom" <?php echo(($row->lightbox_filmstrip_pos == "bottom") ? 'selected="selected"' : ''); ?>>
|
2417 |
-
Bottom
|
2418 |
-
</option>
|
2419 |
-
<option
|
2420 |
-
value="left" <?php echo(($row->lightbox_filmstrip_pos == "left") ? 'selected="selected"' : ''); ?>>
|
2421 |
-
Left
|
2422 |
-
</option>
|
2423 |
-
</select>
|
2424 |
-
</td>
|
2425 |
-
</tr>
|
2426 |
-
<tr id="lightbox_filmstrip2">
|
2427 |
-
<td class="spider_label"><label for="lightbox_filmstrip_thumb_margin">Filmstrip
|
2428 |
-
thumbnail margin: </label></td>
|
2429 |
-
<td>
|
2430 |
-
<input type="text" name="lightbox_filmstrip_thumb_margin"
|
2431 |
-
id="lightbox_filmstrip_thumb_margin"
|
2432 |
-
value="<?php echo $row->lightbox_filmstrip_thumb_margin; ?>"
|
2433 |
-
class="spider_char_input"/>
|
2434 |
-
<div class="spider_description">Use CSS type values.</div>
|
2435 |
-
</td>
|
2436 |
-
</tr>
|
2437 |
-
<tr id="lightbox_filmstrip3">
|
2438 |
-
<td class="spider_label"><label for="lightbox_filmstrip_thumb_border_width">Filmstrip
|
2439 |
-
thumbnail border width: </label></td>
|
2440 |
-
<td>
|
2441 |
-
<input type="text" name="lightbox_filmstrip_thumb_border_width"
|
2442 |
-
id="lightbox_filmstrip_thumb_border_width"
|
2443 |
-
value="<?php echo $row->lightbox_filmstrip_thumb_border_width; ?>"
|
2444 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2445 |
-
</td>
|
2446 |
-
</tr>
|
2447 |
-
<tr id="lightbox_filmstrip9">
|
2448 |
-
<td class="spider_label"><label for="lightbox_filmstrip_thumb_border_style">Filmstrip
|
2449 |
-
thumbnail border style: </label></td>
|
2450 |
-
<td>
|
2451 |
-
<select name="lightbox_filmstrip_thumb_border_style"
|
2452 |
-
id="lightbox_filmstrip_thumb_border_style">
|
2453 |
-
<?php
|
2454 |
-
foreach ($border_styles as $key => $border_style) {
|
2455 |
-
?>
|
2456 |
-
<option
|
2457 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_filmstrip_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
|
2458 |
-
<?php
|
2459 |
-
}
|
2460 |
-
?>
|
2461 |
-
</select>
|
2462 |
-
</td>
|
2463 |
-
</tr>
|
2464 |
-
<tr id="lightbox_filmstrip10">
|
2465 |
-
<td class="spider_label"><label for="lightbox_filmstrip_thumb_border_color">Filmstrip
|
2466 |
-
thumbnail border color: </label></td>
|
2467 |
-
<td>
|
2468 |
-
<input type="text" name="lightbox_filmstrip_thumb_border_color"
|
2469 |
-
id="lightbox_filmstrip_thumb_border_color"
|
2470 |
-
value="<?php echo $row->lightbox_filmstrip_thumb_border_color; ?>"
|
2471 |
-
class="color"/>
|
2472 |
-
</td>
|
2473 |
-
</tr>
|
2474 |
-
<tr id="lightbox_filmstrip4">
|
2475 |
-
<td class="spider_label"><label for="lightbox_filmstrip_thumb_border_radius">Filmstrip
|
2476 |
-
thumbnail border radius: </label></td>
|
2477 |
-
<td>
|
2478 |
-
<input type="text" name="lightbox_filmstrip_thumb_border_radius"
|
2479 |
-
id="lightbox_filmstrip_thumb_border_radius"
|
2480 |
-
value="<?php echo $row->lightbox_filmstrip_thumb_border_radius; ?>"
|
2481 |
-
class="spider_char_input"/>
|
2482 |
-
<div class="spider_description">Use CSS type values.</div>
|
2483 |
-
</td>
|
2484 |
-
</tr>
|
2485 |
-
<tr id="lightbox_filmstrip6">
|
2486 |
-
<td class="spider_label"><label for="lightbox_filmstrip_thumb_active_border_width">Filmstrip
|
2487 |
-
thumbnail active border width: </label></td>
|
2488 |
-
<td>
|
2489 |
-
<input type="text" name="lightbox_filmstrip_thumb_active_border_width"
|
2490 |
-
id="lightbox_filmstrip_thumb_active_border_width"
|
2491 |
-
value="<?php echo $row->lightbox_filmstrip_thumb_active_border_width; ?>"
|
2492 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2493 |
-
</td>
|
2494 |
-
</tr>
|
2495 |
-
<tr id="lightbox_filmstrip11">
|
2496 |
-
<td class="spider_label"><label for="lightbox_filmstrip_thumb_active_border_color">Filmstrip
|
2497 |
-
thumbnail active border color:</label></td>
|
2498 |
-
<td>
|
2499 |
-
<input type="text" name="lightbox_filmstrip_thumb_active_border_color"
|
2500 |
-
id="lightbox_filmstrip_thumb_active_border_color"
|
2501 |
-
value="<?php echo $row->lightbox_filmstrip_thumb_active_border_color; ?>"
|
2502 |
-
class="color"/>
|
2503 |
-
</td>
|
2504 |
-
</tr>
|
2505 |
-
<tr id="lightbox_filmstrip5">
|
2506 |
-
<td class="spider_label"><label for="lightbox_filmstrip_thumb_deactive_transparent">Filmstrip
|
2507 |
-
thumbnail deactive transparency: </label></td>
|
2508 |
-
<td>
|
2509 |
-
<input type="text" name="lightbox_filmstrip_thumb_deactive_transparent"
|
2510 |
-
id="lightbox_filmstrip_thumb_deactive_transparent"
|
2511 |
-
value="<?php echo $row->lightbox_filmstrip_thumb_deactive_transparent; ?>"
|
2512 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
2513 |
-
<div class="spider_description">Value must be between 0 to 100.</div>
|
2514 |
-
</td>
|
2515 |
-
</tr>
|
2516 |
-
<tr id="lightbox_filmstrip1">
|
2517 |
-
<td class="spider_label"><label for="lightbox_filmstrip_rl_btn_size">Filmstrip right,
|
2518 |
-
left buttons size: </label></td>
|
2519 |
-
<td>
|
2520 |
-
<input type="text" name="lightbox_filmstrip_rl_btn_size"
|
2521 |
-
id="lightbox_filmstrip_rl_btn_size"
|
2522 |
-
value="<?php echo $row->lightbox_filmstrip_rl_btn_size; ?>"
|
2523 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2524 |
-
</td>
|
2525 |
-
</tr>
|
2526 |
-
<!-- <tr id="lightbox_filmstrip7">
|
2527 |
-
<td class="spider_label"><label for="lightbox_filmstrip_rl_btn_color">Filmstrip right, left buttons color: </label></td>
|
2528 |
-
<td>
|
2529 |
-
<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"/>
|
2530 |
-
</td>
|
2531 |
-
</tr> -->
|
2532 |
-
<tr id="lightbox_filmstrip8">
|
2533 |
-
<td class="spider_label"><label for="lightbox_filmstrip_rl_bg_color">Filmstrip right,
|
2534 |
-
left button background color:</label></td>
|
2535 |
-
<td>
|
2536 |
-
<input type="text" name="lightbox_filmstrip_rl_bg_color"
|
2537 |
-
id="lightbox_filmstrip_rl_bg_color"
|
2538 |
-
value="<?php echo $row->lightbox_filmstrip_rl_bg_color; ?>" class="color"/>
|
2539 |
-
</td>
|
2540 |
-
</tr>
|
2541 |
-
<tr>
|
2542 |
-
<td class="spider_label"><label for="lightbox_evt_str_color">Event place(street)
|
2543 |
-
color: </label></td>
|
2544 |
-
<td>
|
2545 |
-
<input type="text" name="lightbox_evt_str_color" id="lightbox_evt_str_color"
|
2546 |
-
value="<?php echo $row->lightbox_evt_str_color; ?>" class="color"/>
|
2547 |
-
</td>
|
2548 |
-
</tr>
|
2549 |
-
<tr>
|
2550 |
-
<td class="spider_label"><label for="lightbox_evt_str_size">Event place(street) font
|
2551 |
-
size: </label></td>
|
2552 |
-
<td>
|
2553 |
-
<input type="text" name="lightbox_evt_str_size" id="lightbox_evt_str_size"
|
2554 |
-
value="<?php echo $row->lightbox_evt_str_size; ?>" class="spider_int_input"
|
2555 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
2556 |
-
</td>
|
2557 |
-
</tr>
|
2558 |
-
<tr>
|
2559 |
-
<td class="spider_label"><label for="lightbox_evt_str_font_weight">Event place(street)
|
2560 |
-
font weight: </label></td>
|
2561 |
-
<td>
|
2562 |
-
<select name="lightbox_evt_str_font_weight" id="lightbox_evt_str_font_weight">
|
2563 |
-
<?php
|
2564 |
-
foreach ($font_weights as $key => $font_weight) {
|
2565 |
-
?>
|
2566 |
-
<option
|
2567 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_evt_str_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
2568 |
-
<?php
|
2569 |
-
}
|
2570 |
-
?>
|
2571 |
-
</select>
|
2572 |
-
</td>
|
2573 |
-
</tr>
|
2574 |
-
<tr>
|
2575 |
-
<td class="spider_label"><label for="lightbox_evt_ctzpcn_color">Event place(city, zip,
|
2576 |
-
country) color: </label></td>
|
2577 |
-
<td>
|
2578 |
-
<input type="text" name="lightbox_evt_ctzpcn_color" id="lightbox_evt_ctzpcn_color"
|
2579 |
-
value="<?php echo $row->lightbox_evt_ctzpcn_color; ?>" class="color"/>
|
2580 |
-
</td>
|
2581 |
-
</tr>
|
2582 |
-
<tr>
|
2583 |
-
<td class="spider_label"><label for="lightbox_evt_ctzpcn_size">Event place(city, zip,
|
2584 |
-
country) font size: </label></td>
|
2585 |
-
<td>
|
2586 |
-
<input type="text" name="lightbox_evt_ctzpcn_size" id="lightbox_evt_ctzpcn_size"
|
2587 |
-
value="<?php echo $row->lightbox_evt_ctzpcn_size; ?>"
|
2588 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2589 |
-
</td>
|
2590 |
-
</tr>
|
2591 |
-
<tr>
|
2592 |
-
<td class="spider_label"><label for="lightbox_evt_ctzpcn_font_weight">Event place(city,
|
2593 |
-
zip, country) font weight: </label></td>
|
2594 |
-
<td>
|
2595 |
-
<select name="lightbox_evt_ctzpcn_font_weight" id="lightbox_evt_ctzpcn_font_weight">
|
2596 |
-
<?php
|
2597 |
-
foreach ($font_weights as $key => $font_weight) {
|
2598 |
-
?>
|
2599 |
-
<option
|
2600 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_evt_ctzpcn_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
2601 |
-
<?php
|
2602 |
-
}
|
2603 |
-
?>
|
2604 |
-
</select>
|
2605 |
-
</td>
|
2606 |
-
</tr>
|
2607 |
-
<tr>
|
2608 |
-
<td class="spider_label"><label for="lightbox_evt_map_color">Event place(map)
|
2609 |
-
color: </label></td>
|
2610 |
-
<td>
|
2611 |
-
<input type="text" name="lightbox_evt_map_color" id="lightbox_evt_map_color"
|
2612 |
-
value="<?php echo $row->lightbox_evt_map_color; ?>" class="color"/>
|
2613 |
-
</td>
|
2614 |
-
</tr>
|
2615 |
-
<tr>
|
2616 |
-
<td class="spider_label"><label for="lightbox_evt_map_size">Event place(map) font
|
2617 |
-
size: </label></td>
|
2618 |
-
<td>
|
2619 |
-
<input type="text" name="lightbox_evt_map_size" id="lightbox_evt_map_size"
|
2620 |
-
value="<?php echo $row->lightbox_evt_map_size; ?>" class="spider_int_input"
|
2621 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
2622 |
-
</td>
|
2623 |
-
</tr>
|
2624 |
-
<tr>
|
2625 |
-
<td class="spider_label"><label for="lightbox_evt_map_font_weight">Event place(map) font
|
2626 |
-
weight: </label></td>
|
2627 |
-
<td>
|
2628 |
-
<select name="lightbox_evt_map_font_weight" id="lightbox_evt_map_font_weight">
|
2629 |
-
<?php
|
2630 |
-
foreach ($font_weights as $key => $font_weight) {
|
2631 |
-
?>
|
2632 |
-
<option
|
2633 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_evt_map_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
2634 |
-
<?php
|
2635 |
-
}
|
2636 |
-
?>
|
2637 |
-
</select>
|
2638 |
-
</td>
|
2639 |
-
</tr>
|
2640 |
-
<tr>
|
2641 |
-
<td class="spider_label"><label for="lightbox_evt_date_color">Event date color: </label>
|
2642 |
-
</td>
|
2643 |
-
<td>
|
2644 |
-
<input type="text" name="lightbox_evt_date_color" id="lightbox_evt_date_color"
|
2645 |
-
value="<?php echo $row->lightbox_evt_date_color; ?>" class="color"/>
|
2646 |
-
</td>
|
2647 |
-
</tr>
|
2648 |
-
<tr>
|
2649 |
-
<td class="spider_label"><label for="lightbox_evt_date_size">Event date font
|
2650 |
-
size: </label></td>
|
2651 |
-
<td>
|
2652 |
-
<input type="text" name="lightbox_evt_date_size" id="lightbox_evt_date_size"
|
2653 |
-
value="<?php echo $row->lightbox_evt_date_size; ?>" class="spider_int_input"
|
2654 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
2655 |
-
</td>
|
2656 |
-
</tr>
|
2657 |
-
<tr>
|
2658 |
-
<td class="spider_label"><label for="lightbox_evt_date_font_weight">Event date font
|
2659 |
-
weight: </label></td>
|
2660 |
-
<td>
|
2661 |
-
<select name="lightbox_evt_date_font_weight" id="lightbox_evt_date_font_weight">
|
2662 |
-
<?php
|
2663 |
-
foreach ($font_weights as $key => $font_weight) {
|
2664 |
-
?>
|
2665 |
-
<option
|
2666 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_evt_date_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
2667 |
-
<?php
|
2668 |
-
}
|
2669 |
-
?>
|
2670 |
-
</select>
|
2671 |
-
</td>
|
2672 |
-
</tr>
|
2673 |
-
<tr>
|
2674 |
-
<td class="spider_label"><label for="lightbox_evt_info_font_family">Event font
|
2675 |
-
family: </label></td>
|
2676 |
-
<td>
|
2677 |
-
<select name="lightbox_evt_info_font_family" id="lightbox_evt_info_font_family">
|
2678 |
-
<?php
|
2679 |
-
foreach ($font_families as $key => $font_family) {
|
2680 |
-
?>
|
2681 |
-
<option
|
2682 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_evt_info_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
2683 |
-
<?php
|
2684 |
-
}
|
2685 |
-
?>
|
2686 |
-
</select>
|
2687 |
-
</td>
|
2688 |
-
</tr>
|
2689 |
-
|
2690 |
-
</tbody>
|
2691 |
-
</table>
|
2692 |
-
</fieldset>
|
2693 |
-
<fieldset class="spider_child_fieldset" id="Lightbox_3">
|
2694 |
-
<table style="clear:both;">
|
2695 |
-
<tbody>
|
2696 |
-
<tr>
|
2697 |
-
<td class="spider_label"><label for="lightbox_obj_width">Info Width: </label></td>
|
2698 |
-
<td>
|
2699 |
-
<input type="text" name="lightbox_obj_width" id="lightbox_obj_width"
|
2700 |
-
value="<?php echo $row->lightbox_obj_width; ?>" class="spider_int_input"
|
2701 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
2702 |
-
</td>
|
2703 |
-
</tr>
|
2704 |
-
<tr id="lightbox_comment25">
|
2705 |
-
<td class="spider_label"><label>Info position: </label></td>
|
2706 |
-
<td>
|
2707 |
-
<input type="radio" name="lightbox_obj_pos" id="lightbox_obj_pos1"
|
2708 |
-
value="left"<?php if ($row->lightbox_obj_pos == "left") echo 'checked="checked"'; ?> />
|
2709 |
-
<label for="lightbox_obj_pos1" id="lightbox_obj_pos1_lbl">Left</label>
|
2710 |
-
<input type="radio" name="lightbox_obj_pos" id="lightbox_obj_pos0"
|
2711 |
-
value="right"<?php if ($row->lightbox_obj_pos == "right") echo 'checked="checked"'; ?> />
|
2712 |
-
<label for="lightbox_obj_pos0" id="lightbox_obj_pos0_lbl">Right</label>
|
2713 |
-
</td>
|
2714 |
-
</tr>
|
2715 |
-
<tr>
|
2716 |
-
<td class="spider_label"><label for="lightbox_obj_info_bg_color">Info background
|
2717 |
-
color: </label></td>
|
2718 |
-
<td>
|
2719 |
-
<input type="text" name="lightbox_obj_info_bg_color" id="lightbox_obj_info_bg_color"
|
2720 |
-
value="<?php echo $row->lightbox_obj_info_bg_color; ?>" class="color"/>
|
2721 |
-
</td>
|
2722 |
-
</tr>
|
2723 |
-
<tr>
|
2724 |
-
<td class="spider_label"><label for="lightbox_obj_icons_color">Info icons
|
2725 |
-
color: </label></td>
|
2726 |
-
<td>
|
2727 |
-
<select name="lightbox_obj_icons_color" id="lightbox_obj_icons_color">
|
2728 |
-
<option
|
2729 |
-
value="gray" <?php echo(($row->lightbox_obj_icons_color == "gray") ? 'selected="selected"' : ''); ?>>
|
2730 |
-
Gray
|
2731 |
-
</option>
|
2732 |
-
<option
|
2733 |
-
value="white" <?php echo(($row->lightbox_obj_icons_color == "white") ? 'selected="selected"' : ''); ?>>
|
2734 |
-
White
|
2735 |
-
</option>
|
2736 |
-
<option
|
2737 |
-
value="blue" <?php echo(($row->lightbox_obj_icons_color == "blue") ? 'selected="selected"' : ''); ?>>
|
2738 |
-
Blue
|
2739 |
-
</option>
|
2740 |
-
</select>
|
2741 |
-
</td>
|
2742 |
-
</tr>
|
2743 |
-
<tr>
|
2744 |
-
<td class="spider_label"><label for="lightbox_obj_icons_color_likes_comments_count">Info
|
2745 |
-
icons
|
2746 |
-
color _comments_count: </label></td>
|
2747 |
-
<td>
|
2748 |
-
<select name="lightbox_obj_icons_color_likes_comments_count"
|
2749 |
-
id="lightbox_obj_icons_color_likes_comments_count">
|
2750 |
-
<option
|
2751 |
-
value="gray" <?php echo((isset($row->lightbox_obj_icons_color_likes_comments_count) && $row->lightbox_obj_icons_color_likes_comments_count == "gray") ? 'selected="selected"' : ''); ?>>
|
2752 |
-
Gray
|
2753 |
-
</option>
|
2754 |
-
<option
|
2755 |
-
value="white" <?php echo((isset($row->lightbox_obj_icons_color_likes_comments_count) && $row->lightbox_obj_icons_color_likes_comments_count == "white") ? 'selected="selected"' : ''); ?>>
|
2756 |
-
White
|
2757 |
-
</option>
|
2758 |
-
<option
|
2759 |
-
value="blue" <?php echo((isset($row->lightbox_obj_icons_color_likes_comments_count) && $row->lightbox_obj_icons_color_likes_comments_count == "blue") ? 'selected="selected"' : ''); ?>>
|
2760 |
-
Blue
|
2761 |
-
</option>
|
2762 |
-
</select>
|
2763 |
-
</td>
|
2764 |
-
</tr>
|
2765 |
-
<tr>
|
2766 |
-
<td class="spider_label"><label for="lightbox_obj_font_family">Font family: </label>
|
2767 |
-
</td>
|
2768 |
-
<td>
|
2769 |
-
<select name="lightbox_obj_font_family" id="lightbox_obj_font_family">
|
2770 |
-
<?php
|
2771 |
-
foreach ($font_families as $key => $font_family) {
|
2772 |
-
?>
|
2773 |
-
<option
|
2774 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
2775 |
-
<?php
|
2776 |
-
}
|
2777 |
-
?>
|
2778 |
-
</select>
|
2779 |
-
</td>
|
2780 |
-
</tr>
|
2781 |
-
<tr>
|
2782 |
-
<td class="spider_label"><label for="lightbox_obj_date_pos">Date position: </label></td>
|
2783 |
-
<td>
|
2784 |
-
<select name="lightbox_obj_date_pos" id="lightbox_obj_date_pos">
|
2785 |
-
<option
|
2786 |
-
value="before" <?php echo(($row->lightbox_obj_date_pos == "before") ? 'selected="selected"' : ''); ?>>
|
2787 |
-
Before post author
|
2788 |
-
</option>
|
2789 |
-
<option
|
2790 |
-
value="after" <?php echo(($row->lightbox_obj_date_pos == "after") ? 'selected="selected"' : ''); ?>>
|
2791 |
-
After post author
|
2792 |
-
</option>
|
2793 |
-
<option
|
2794 |
-
value="bottom" <?php echo(($row->lightbox_obj_date_pos == "bottom") ? 'selected="selected"' : ''); ?>>
|
2795 |
-
At the bottom of the post
|
2796 |
-
</option>
|
2797 |
-
</select>
|
2798 |
-
</td>
|
2799 |
-
</tr>
|
2800 |
-
|
2801 |
-
<tr>
|
2802 |
-
<td class="spider_label"><label for="lightbox_page_name_color">Page(group, profile) name
|
2803 |
-
color: </label></td>
|
2804 |
-
<td>
|
2805 |
-
<input type="text" name="lightbox_page_name_color" id="lightbox_page_name_color"
|
2806 |
-
value="<?php echo $row->lightbox_page_name_color; ?>" class="color"/>
|
2807 |
-
</td>
|
2808 |
-
</tr>
|
2809 |
-
<tr>
|
2810 |
-
<td class="spider_label"><label for="lightbox_obj_page_name_size">Page(group, profile)
|
2811 |
-
name font size: </label></td>
|
2812 |
-
<td>
|
2813 |
-
<input type="text" name="lightbox_obj_page_name_size"
|
2814 |
-
id="lightbox_obj_page_name_size"
|
2815 |
-
value="<?php echo $row->lightbox_obj_page_name_size; ?>"
|
2816 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2817 |
-
</td>
|
2818 |
-
</tr>
|
2819 |
-
<tr>
|
2820 |
-
<td class="spider_label"><label for="lightbox_obj_page_name_font_weight">Page(group,
|
2821 |
-
profile) name font weight: </label></td>
|
2822 |
-
<td>
|
2823 |
-
<select name="lightbox_obj_page_name_font_weight"
|
2824 |
-
id="lightbox_obj_page_name_weight">
|
2825 |
-
<?php
|
2826 |
-
foreach ($font_weights as $key => $font_weight) {
|
2827 |
-
?>
|
2828 |
-
<option
|
2829 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_page_name_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
2830 |
-
<?php
|
2831 |
-
}
|
2832 |
-
?>
|
2833 |
-
</select>
|
2834 |
-
</td>
|
2835 |
-
</tr>
|
2836 |
-
<tr>
|
2837 |
-
<td class="spider_label"><label for="lightbox_obj_story_color">Story color: </label>
|
2838 |
-
</td>
|
2839 |
-
<td>
|
2840 |
-
<input type="text" name="lightbox_obj_story_color" id="lightbox_obj_story_color"
|
2841 |
-
value="<?php echo $row->lightbox_obj_story_color; ?>" class="color"/>
|
2842 |
-
</td>
|
2843 |
-
</tr>
|
2844 |
-
<tr>
|
2845 |
-
<td class="spider_label"><label for="lightbox_obj_story_size">Story font size: </label>
|
2846 |
-
</td>
|
2847 |
-
<td>
|
2848 |
-
<input type="text" name="lightbox_obj_story_size" id="lightbox_obj_story_size"
|
2849 |
-
value="<?php echo $row->lightbox_obj_story_size; ?>" class="spider_int_input"
|
2850 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
2851 |
-
</td>
|
2852 |
-
</tr>
|
2853 |
-
<tr>
|
2854 |
-
<td class="spider_label"><label for="lightbox_obj_story_font_weight">Story font
|
2855 |
-
weight: </label></td>
|
2856 |
-
<td>
|
2857 |
-
<select name="lightbox_obj_story_font_weight" id="lightbox_obj_story_font_weight">
|
2858 |
-
<?php
|
2859 |
-
foreach ($font_weights as $key => $font_weight) {
|
2860 |
-
?>
|
2861 |
-
<option
|
2862 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_story_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
2863 |
-
<?php
|
2864 |
-
}
|
2865 |
-
?>
|
2866 |
-
</select>
|
2867 |
-
</td>
|
2868 |
-
</tr>
|
2869 |
-
<tr>
|
2870 |
-
<td class="spider_label"><label for="lightbox_obj_place_color">Place color: </label>
|
2871 |
-
</td>
|
2872 |
-
<td>
|
2873 |
-
<input type="text" name="lightbox_obj_place_color" id="lightbox_obj_place_color"
|
2874 |
-
value="<?php echo $row->lightbox_obj_place_color; ?>" class="color"/>
|
2875 |
-
</td>
|
2876 |
-
</tr>
|
2877 |
-
<tr>
|
2878 |
-
<td class="spider_label"><label for="lightbox_obj_place_size">Place font size: </label>
|
2879 |
-
</td>
|
2880 |
-
<td>
|
2881 |
-
<input type="text" name="lightbox_obj_place_size" id="lightbox_obj_place_size"
|
2882 |
-
value="<?php echo $row->lightbox_obj_place_size; ?>" class="spider_int_input"
|
2883 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
2884 |
-
</td>
|
2885 |
-
</tr>
|
2886 |
-
<tr>
|
2887 |
-
<td class="spider_label"><label for="lightbox_obj_place_font_weight">Place font
|
2888 |
-
weight: </label></td>
|
2889 |
-
<td>
|
2890 |
-
<select name="lightbox_obj_place_font_weight" id="lightbox_obj_place_font_weight">
|
2891 |
-
<?php
|
2892 |
-
foreach ($font_weights as $key => $font_weight) {
|
2893 |
-
?>
|
2894 |
-
<option
|
2895 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_place_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
2896 |
-
<?php
|
2897 |
-
}
|
2898 |
-
?>
|
2899 |
-
</select>
|
2900 |
-
</td>
|
2901 |
-
</tr>
|
2902 |
-
<tr>
|
2903 |
-
<td class="spider_label"><label for="lightbox_obj_name_color">Name color: </label></td>
|
2904 |
-
<td>
|
2905 |
-
<input type="text" name="lightbox_obj_name_color" id="lightbox_obj_name_color"
|
2906 |
-
value="<?php echo $row->lightbox_obj_name_color; ?>" class="color"/>
|
2907 |
-
</td>
|
2908 |
-
</tr>
|
2909 |
-
<tr>
|
2910 |
-
<td class="spider_label"><label for="lightbox_obj_name_size">Name font size: </label>
|
2911 |
-
</td>
|
2912 |
-
<td>
|
2913 |
-
<input type="text" name="lightbox_obj_name_size" id="lightbox_obj_name_size"
|
2914 |
-
value="<?php echo $row->lightbox_obj_name_size; ?>" class="spider_int_input"
|
2915 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
2916 |
-
</td>
|
2917 |
-
</tr>
|
2918 |
-
<tr>
|
2919 |
-
<td class="spider_label"><label for="lightbox_obj_name_font_weight">Name font
|
2920 |
-
weight: </label></td>
|
2921 |
-
<td>
|
2922 |
-
<select name="lightbox_obj_name_font_weight" id="lightbox_obj_name_font_weight">
|
2923 |
-
<?php
|
2924 |
-
foreach ($font_weights as $key => $font_weight) {
|
2925 |
-
?>
|
2926 |
-
<option
|
2927 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_name_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
2928 |
-
<?php
|
2929 |
-
}
|
2930 |
-
?>
|
2931 |
-
</select>
|
2932 |
-
</td>
|
2933 |
-
</tr>
|
2934 |
-
</tbody>
|
2935 |
-
</table>
|
2936 |
-
</fieldset>
|
2937 |
-
<fieldset class="spider_child_fieldset" id="Lightbox_4">
|
2938 |
-
<table style="clear:both;">
|
2939 |
-
<tbody>
|
2940 |
-
<tr>
|
2941 |
-
<td class="spider_label"><label for="lightbox_obj_message_color">Message and description
|
2942 |
-
color: </label></td>
|
2943 |
-
<td>
|
2944 |
-
<input type="text" name="lightbox_obj_message_color" id="lightbox_obj_message_color"
|
2945 |
-
value="<?php echo $row->lightbox_obj_message_color; ?>" class="color"/>
|
2946 |
-
</td>
|
2947 |
-
</tr>
|
2948 |
-
<tr>
|
2949 |
-
<td class="spider_label"><label for="lightbox_obj_message_size">Message and description
|
2950 |
-
font size: </label></td>
|
2951 |
-
<td>
|
2952 |
-
<input type="text" name="lightbox_obj_message_size" id="lightbox_obj_message_size"
|
2953 |
-
value="<?php echo $row->lightbox_obj_message_size; ?>"
|
2954 |
-
|
2955 |
-
</td>
|
2956 |
-
</tr>
|
2957 |
-
<tr>
|
2958 |
-
<td class="spider_label"><label for="lightbox_obj_message_font_weight">Message and
|
2959 |
-
description font weight: </label></td>
|
2960 |
-
<td>
|
2961 |
-
<select name="lightbox_obj_message_font_weight"
|
2962 |
-
id="lightbox_obj_message_font_weight">
|
2963 |
-
<?php
|
2964 |
-
foreach ($font_weights as $key => $font_weight) {
|
2965 |
-
?>
|
2966 |
-
<option
|
2967 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_message_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
2968 |
-
<?php
|
2969 |
-
}
|
2970 |
-
?>
|
2971 |
-
</select>
|
2972 |
-
</td>
|
2973 |
-
</tr>
|
2974 |
-
<tr>
|
2975 |
-
<td class="spider_label"><label for="lightbox_obj_hashtags_color">Hashtags
|
2976 |
-
color: </label></td>
|
2977 |
-
<td>
|
2978 |
-
<input type="text" name="lightbox_obj_hashtags_color"
|
2979 |
-
id="lightbox_obj_hashtags_color"
|
2980 |
-
value="<?php echo $row->lightbox_obj_hashtags_color; ?>" class="color"/>
|
2981 |
-
</td>
|
2982 |
-
</tr>
|
2983 |
-
<tr>
|
2984 |
-
<td class="spider_label"><label for="lightbox_obj_hashtags_size">Hashtags font
|
2985 |
-
size: </label></td>
|
2986 |
-
<td>
|
2987 |
-
<input type="text" name="lightbox_obj_hashtags_size" id="lightbox_obj_hashtags_size"
|
2988 |
-
value="<?php echo $row->lightbox_obj_hashtags_size; ?>"
|
2989 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2990 |
-
</td>
|
2991 |
-
</tr>
|
2992 |
-
<tr>
|
2993 |
-
<td class="spider_label"><label for="lightbox_obj_hashtags_font_weight">Hashtags font
|
2994 |
-
weight: </label></td>
|
2995 |
-
<td>
|
2996 |
-
<select name="lightbox_obj_hashtags_font_weight"
|
2997 |
-
id="lightbox_obj_hashtags_font_weight">
|
2998 |
-
<?php
|
2999 |
-
foreach ($font_weights as $key => $font_weight) {
|
3000 |
-
?>
|
3001 |
-
<option
|
3002 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_hashtags_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
3003 |
-
<?php
|
3004 |
-
}
|
3005 |
-
?>
|
3006 |
-
</select>
|
3007 |
-
</td>
|
3008 |
-
</tr>
|
3009 |
-
<tr>
|
3010 |
-
<td class="spider_label"><label for="lightbox_obj_likes_social_bg_color">Likes(share,
|
3011 |
-
comment) and social buttons background color: </label></td>
|
3012 |
-
<td>
|
3013 |
-
<input type="text" name="lightbox_obj_likes_social_bg_color"
|
3014 |
-
id="lightbox_obj_likes_social_bg_color"
|
3015 |
-
value="<?php echo $row->lightbox_obj_likes_social_bg_color; ?>"
|
3016 |
-
class="color"/>
|
3017 |
-
</td>
|
3018 |
-
</tr>
|
3019 |
-
<tr>
|
3020 |
-
<td class="spider_label"><label for="lightbox_obj_likes_social_color">Likes(share,
|
3021 |
-
comment) color: </label></td>
|
3022 |
-
<td>
|
3023 |
-
<input type="text" name="lightbox_obj_likes_social_color"
|
3024 |
-
id="lightbox_obj_likes_social_color"
|
3025 |
-
value="<?php echo $row->lightbox_obj_likes_social_color; ?>" class="color"/>
|
3026 |
-
</td>
|
3027 |
-
</tr>
|
3028 |
-
<tr>
|
3029 |
-
<td class="spider_label"><label for="lightbox_obj_likes_social_size">Likes(share,
|
3030 |
-
comment) and social size: </label></td>
|
3031 |
-
<td>
|
3032 |
-
<input type="text" name="lightbox_obj_likes_social_size"
|
3033 |
-
id="lightbox_obj_likes_social_size"
|
3034 |
-
value="<?php echo $row->lightbox_obj_likes_social_size; ?>"
|
3035 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
3036 |
-
</td>
|
3037 |
-
</tr>
|
3038 |
-
<tr>
|
3039 |
-
<td class="spider_label"><label for="lightbox_obj_likes_social_font_weight">Likes(share,
|
3040 |
-
comment) and social font weight: </label></td>
|
3041 |
-
<td>
|
3042 |
-
<select name="lightbox_obj_likes_social_font_weight"
|
3043 |
-
id="lightbox_obj_likes_social_font_weight">
|
3044 |
-
<?php
|
3045 |
-
foreach ($font_weights as $key => $font_weight) {
|
3046 |
-
?>
|
3047 |
-
<option
|
3048 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_likes_social_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
3049 |
-
<?php
|
3050 |
-
}
|
3051 |
-
?>
|
3052 |
-
</select>
|
3053 |
-
</td>
|
3054 |
-
</tr>
|
3055 |
-
</tbody>
|
3056 |
-
</table>
|
3057 |
-
</fieldset>
|
3058 |
-
<fieldset class="spider_child_fieldset" id="Lightbox_5">
|
3059 |
-
<table style="clear:both;">
|
3060 |
-
<tbody>
|
3061 |
-
<tr>
|
3062 |
-
<td class="spider_label"><label for="lightbox_obj_comments_bg_color">Comments background
|
3063 |
-
color: </label></td>
|
3064 |
-
<td>
|
3065 |
-
<input type="text" name="lightbox_obj_comments_bg_color"
|
3066 |
-
id="lightbox_obj_comments_bg_color"
|
3067 |
-
value="<?php echo $row->lightbox_obj_comments_bg_color; ?>" class="color"/>
|
3068 |
-
</td>
|
3069 |
-
</tr>
|
3070 |
-
<tr>
|
3071 |
-
<td class="spider_label"><label for="lightbox_obj_comments_color">Comments
|
3072 |
-
color: </label></td>
|
3073 |
-
<td>
|
3074 |
-
<input type="text" name="lightbox_obj_comments_color"
|
3075 |
-
id="lightbox_obj_comments_color"
|
3076 |
-
value="<?php echo $row->lightbox_obj_comments_color; ?>" class="color"/>
|
3077 |
-
</td>
|
3078 |
-
</tr>
|
3079 |
-
<tr>
|
3080 |
-
<td class="spider_label"><label for="lightbox_obj_comments_font_family">Comments font
|
3081 |
-
family: </label></td>
|
3082 |
-
<td>
|
3083 |
-
<select name="lightbox_obj_comments_font_family"
|
3084 |
-
id="lightbox_obj_comments_font_family">
|
3085 |
-
<?php
|
3086 |
-
foreach ($font_families as $key => $font_family) {
|
3087 |
-
?>
|
3088 |
-
<option
|
3089 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_comments_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
3090 |
-
<?php
|
3091 |
-
}
|
3092 |
-
?>
|
3093 |
-
</select>
|
3094 |
-
</td>
|
3095 |
-
</tr>
|
3096 |
-
<tr>
|
3097 |
-
<td class="spider_label"><label for="lightbox_obj_comments_font_size">Comments font
|
3098 |
-
size: </label></td>
|
3099 |
-
<td>
|
3100 |
-
<input type="text" name="lightbox_obj_comments_font_size"
|
3101 |
-
id="lightbox_obj_comments_font_size"
|
3102 |
-
value="<?php echo $row->lightbox_obj_comments_font_size; ?>"
|
3103 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
3104 |
-
</td>
|
3105 |
-
</tr>
|
3106 |
-
<tr>
|
3107 |
-
<td class="spider_label"><label for="lightbox_obj_users_font_color">Users
|
3108 |
-
color: </label></td>
|
3109 |
-
<td>
|
3110 |
-
<input type="text" name="lightbox_obj_users_font_color"
|
3111 |
-
id="lightbox_obj_users_font_color"
|
3112 |
-
value="<?php echo $row->lightbox_obj_users_font_color; ?>" class="color"/>
|
3113 |
-
</td>
|
3114 |
-
</tr>
|
3115 |
-
<tr>
|
3116 |
-
<td class="spider_label"><label for="lightbox_obj_comments_social_font_weight">Comments
|
3117 |
-
font weight: </label></td>
|
3118 |
-
<td>
|
3119 |
-
<select name="lightbox_obj_comments_social_font_weight"
|
3120 |
-
id="lightbox_obj_comments_social_font_weight">
|
3121 |
-
<?php
|
3122 |
-
foreach ($font_weights as $key => $font_weight) {
|
3123 |
-
?>
|
3124 |
-
<option
|
3125 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_comments_social_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
3126 |
-
<?php
|
3127 |
-
}
|
3128 |
-
?>
|
3129 |
-
</select>
|
3130 |
-
</td>
|
3131 |
-
</tr>
|
3132 |
-
<tr>
|
3133 |
-
<td class="spider_label"><label for="lightbox_obj_comment_border_width">Comment border
|
3134 |
-
width: </label></td>
|
3135 |
-
<td>
|
3136 |
-
<input type="text" name="lightbox_obj_comment_border_width"
|
3137 |
-
id="lightbox_obj_comment_border_width"
|
3138 |
-
value="<?php echo $row->lightbox_obj_comment_border_width; ?>"
|
3139 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
3140 |
-
</td>
|
3141 |
-
</tr>
|
3142 |
-
<tr>
|
3143 |
-
<td class="spider_label"><label for="lightbox_obj_comment_border_style">Comment border
|
3144 |
-
style: </label></td>
|
3145 |
-
<td>
|
3146 |
-
<select name="lightbox_obj_comment_border_style"
|
3147 |
-
id="lightbox_obj_comment_border_style">
|
3148 |
-
<?php
|
3149 |
-
foreach ($border_styles as $key => $border_style) {
|
3150 |
-
?>
|
3151 |
-
<option
|
3152 |
-
value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_comment_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
|
3153 |
-
<?php
|
3154 |
-
}
|
3155 |
-
?>
|
3156 |
-
</select>
|
3157 |
-
</td>
|
3158 |
-
</tr>
|
3159 |
-
<tr>
|
3160 |
-
<td class="spider_label"><label for="lightbox_obj_comment_border_color">Comment border
|
3161 |
-
color: </label></td>
|
3162 |
-
<td>
|
3163 |
-
<input type="text" name="lightbox_obj_comment_border_color"
|
3164 |
-
id="lightbox_obj_comment_border_color"
|
3165 |
-
value="<?php echo $row->lightbox_obj_comment_border_color; ?>"
|
3166 |
-
class="color"/>
|
3167 |
-
</td>
|
3168 |
-
</tr>
|
3169 |
-
<tr>
|
3170 |
-
<td class="spider_label"><label for="lightbox_obj_comment_border_type">Comment border
|
3171 |
-
type: </label></td>
|
3172 |
-
<td>
|
3173 |
-
<select name="lightbox_obj_comment_border_type" id="lightbox_border_type">
|
3174 |
-
<option
|
3175 |
-
value="all" <?php echo(($row->lightbox_obj_comment_border_type == "all") ? 'selected="selected"' : ''); ?>>
|
3176 |
-
All
|
3177 |
-
</option>
|
3178 |
-
<option
|
3179 |
-
value="top" <?php echo(($row->lightbox_obj_comment_border_type == "top") ? 'selected="selected"' : ''); ?>>
|
3180 |
-
Top
|
3181 |
-
</option>
|
3182 |
-
<option
|
3183 |
-
value="right" <?php echo(($row->lightbox_obj_comment_border_type == "right") ? 'selected="selected"' : ''); ?>>
|
3184 |
-
Right
|
3185 |
-
</option>
|
3186 |
-
<option
|
3187 |
-
value="bottom" <?php echo(($row->lightbox_obj_comment_border_type == "bottom") ? 'selected="selected"' : ''); ?>>
|
3188 |
-
Bottom
|
3189 |
-
</option>
|
3190 |
-
<option
|
3191 |
-
value="left" <?php echo(($row->lightbox_obj_comment_border_type == "left") ? 'selected="selected"' : ''); ?>>
|
3192 |
-
Left
|
3193 |
-
</option>
|
3194 |
-
</select>
|
3195 |
-
</td>
|
3196 |
-
</tr>
|
3197 |
-
</tbody>
|
3198 |
-
</table>
|
3199 |
-
</fieldset>
|
3200 |
-
</fieldset>
|
3201 |
-
<fieldset class="spider_type_fieldset" id="Navigation">
|
3202 |
-
<fieldset class="spider_child_fieldset" id="Navigation_1">
|
3203 |
-
<table style="clear:both;">
|
3204 |
-
<tbody>
|
3205 |
-
<tr>
|
3206 |
-
<td class="spider_label"><label for="page_nav_font_size">Font size: </label></td>
|
3207 |
-
<td>
|
3208 |
-
<input type="text" name="page_nav_font_size" id="page_nav_font_size"
|
3209 |
-
value="<?php echo $row->page_nav_font_size; ?>" class="spider_int_input"
|
3210 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
3211 |
-
</td>
|
3212 |
-
</tr>
|
3213 |
-
<tr>
|
3214 |
-
<td class="spider_label"><label for="page_nav_font_color">Font color: </label></td>
|
3215 |
-
<td>
|
3216 |
-
<input type="text" name="page_nav_font_color" id="page_nav_font_color"
|
3217 |
-
value="<?php echo $row->page_nav_font_color; ?>" class="color"/>
|
3218 |
-
</td>
|
3219 |
-
</tr>
|
3220 |
-
<tr>
|
3221 |
-
<td class="spider_label"><label for="page_nav_font_style">Font family: </label></td>
|
3222 |
-
<td>
|
3223 |
-
<select name="page_nav_font_style" id="page_nav_font_style">
|
3224 |
-
<?php
|
3225 |
-
foreach ($font_families as $key => $font_family) {
|
3226 |
-
?>
|
3227 |
-
<option
|
3228 |
-
value="<?php echo $key; ?>" <?php echo(($row->page_nav_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
3229 |
-
<?php
|
3230 |
-
}
|
3231 |
-
?>
|
3232 |
-
</select>
|
3233 |
-
</td>
|
3234 |
-
</tr>
|
3235 |
-
<tr>
|
3236 |
-
<td class="spider_label"><label for="page_nav_font_weight">Font weight: </label></td>
|
3237 |
-
<td>
|
3238 |
-
<select name="page_nav_font_weight" id="page_nav_font_weight">
|
3239 |
-
<?php
|
3240 |
-
foreach ($font_weights as $key => $font_weight) {
|
3241 |
-
?>
|
3242 |
-
<option
|
3243 |
-
value="<?php echo $key; ?>" <?php echo(($row->page_nav_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
3244 |
-
<?php
|
3245 |
-
}
|
3246 |
-
?>
|
3247 |
-
</select>
|
3248 |
-
</td>
|
3249 |
-
</tr>
|
3250 |
-
<tr>
|
3251 |
-
<td class="spider_label"><label for="page_nav_border_width">Border width: </label></td>
|
3252 |
-
<td>
|
3253 |
-
<input type="text" name="page_nav_border_width" id="page_nav_border_width"
|
3254 |
-
value="<?php echo $row->page_nav_border_width; ?>" class="spider_int_input"
|
3255 |
-
onkeypress="return spider_check_isnum(event)"/> px
|
3256 |
-
</td>
|
3257 |
-
</tr>
|
3258 |
-
<tr>
|
3259 |
-
<td class="spider_label"><label for="page_nav_border_style">Border style: </label></td>
|
3260 |
-
<td>
|
3261 |
-
<select name="page_nav_border_style" id="page_nav_border_style">
|
3262 |
-
<?php
|
3263 |
-
foreach ($border_styles as $key => $border_style) {
|
3264 |
-
?>
|
3265 |
-
<option
|
3266 |
-
value="<?php echo $key; ?>" <?php echo(($row->page_nav_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
|
3267 |
-
<?php
|
3268 |
-
}
|
3269 |
-
?>
|
3270 |
-
</select>
|
3271 |
-
</td>
|
3272 |
-
</tr>
|
3273 |
-
<tr>
|
3274 |
-
<td class="spider_label"><label for="page_nav_border_color">Border color:</label></td>
|
3275 |
-
<td>
|
3276 |
-
<input type="text" name="page_nav_border_color" id="page_nav_border_color"
|
3277 |
-
value="<?php echo $row->page_nav_border_color; ?>" class="color"/>
|
3278 |
-
</td>
|
3279 |
-
</tr>
|
3280 |
-
<tr>
|
3281 |
-
<td class="spider_label"><label for="page_nav_border_radius">Border radius: </label>
|
3282 |
-
</td>
|
3283 |
-
<td>
|
3284 |
-
<input type="text" name="page_nav_border_radius" id="page_nav_border_radius"
|
3285 |
-
value="<?php echo $row->page_nav_border_radius; ?>"
|
3286 |
-
class="spider_char_input"/>
|
3287 |
-
<div class="spider_description">Use CSS type values.</div>
|
3288 |
-
</td>
|
3289 |
-
</tr>
|
3290 |
-
</tbody>
|
3291 |
-
</table>
|
3292 |
-
</fieldset>
|
3293 |
-
<fieldset class="spider_child_fieldset" id="Navigation_2" style="display:block">
|
3294 |
-
<table style="clear:both;">
|
3295 |
-
<tbody>
|
3296 |
-
<tr>
|
3297 |
-
<td class="spider_label"><label for="page_nav_margin">Margin: </label></td>
|
3298 |
-
<td>
|
3299 |
-
<input type="text" name="page_nav_margin" id="page_nav_margin"
|
3300 |
-
value="<?php echo $row->page_nav_margin; ?>" class="spider_char_input"/>
|
3301 |
-
<div class="spider_description">Use CSS type values.</div>
|
3302 |
-
</td>
|
3303 |
-
</tr>
|
3304 |
-
<tr>
|
3305 |
-
<td class="spider_label"><label for="page_nav_padding">Padding: </label></td>
|
3306 |
-
<td>
|
3307 |
-
<input type="text" name="page_nav_padding" id="page_nav_padding"
|
3308 |
-
value="<?php echo $row->page_nav_padding; ?>" class="spider_char_input"/>
|
3309 |
-
<div class="spider_description">Use CSS type values.</div>
|
3310 |
-
</td>
|
3311 |
-
</tr>
|
3312 |
-
<tr>
|
3313 |
-
<td class="spider_label"><label for="page_nav_button_bg_color">Button background
|
3314 |
-
color: </label></td>
|
3315 |
-
<td>
|
3316 |
-
<input type="text" name="page_nav_button_bg_color" id="page_nav_button_bg_color"
|
3317 |
-
value="<?php echo $row->page_nav_button_bg_color; ?>" class="color"/>
|
3318 |
-
</td>
|
3319 |
-
</tr>
|
3320 |
-
<tr>
|
3321 |
-
<td class="spider_label"><label for="page_nav_button_bg_transparent">Button background
|
3322 |
-
transparency: </label></td>
|
3323 |
-
<td>
|
3324 |
-
<input type="text" name="page_nav_button_bg_transparent"
|
3325 |
-
id="page_nav_button_bg_transparent"
|
3326 |
-
value="<?php echo $row->page_nav_button_bg_transparent; ?>"
|
3327 |
-
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
3328 |
-
<div class="spider_description">Value must be between 0 to 100.</div>
|
3329 |
-
</td>
|
3330 |
-
</tr>
|
3331 |
-
<tr>
|
3332 |
-
<td class="spider_label"><label>Button transition: </label></td>
|
3333 |
-
<td>
|
3334 |
-
<input type="radio" name="page_nav_button_transition"
|
3335 |
-
id="page_nav_button_transition1"
|
3336 |
-
value="1"<?php if ($row->page_nav_button_transition == 1) echo 'checked="checked"'; ?> />
|
3337 |
-
<label for="page_nav_button_transition1"
|
3338 |
-
id="page_nav_button_transition1_lbl">Yes</label>
|
3339 |
-
<input type="radio" name="page_nav_button_transition"
|
3340 |
-
id="page_nav_button_transition0"
|
3341 |
-
value="0"<?php if ($row->page_nav_button_transition == 0) echo 'checked="checked"'; ?> />
|
3342 |
-
<label for="page_nav_button_transition0"
|
3343 |
-
id="page_nav_button_transition0_lbl">No</label>
|
3344 |
-
</td>
|
3345 |
-
</tr>
|
3346 |
-
<tr>
|
3347 |
-
<td class="spider_label"><label for="page_nav_box_shadow">Box shadow: </label></td>
|
3348 |
-
<td>
|
3349 |
-
<input type="text" name="page_nav_box_shadow" id="page_nav_box_shadow"
|
3350 |
-
value="<?php echo $row->page_nav_box_shadow; ?>" class="spider_box_input"/>
|
3351 |
-
<div class="spider_description">Use CSS type values.</div>
|
3352 |
-
</td>
|
3353 |
-
</tr>
|
3354 |
-
</tbody>
|
3355 |
-
</table>
|
3356 |
-
</fieldset>
|
3357 |
-
<fieldset class="spider_child_fieldset" id="Navigation_3">
|
3358 |
-
<table style="clear:both;">
|
3359 |
-
<tbody>
|
3360 |
-
<tr>
|
3361 |
-
<td class="spider_label"><label>Position: </label></td>
|
3362 |
-
<td id="page_nav_position">
|
3363 |
-
<input type="radio" name="page_nav_position" id="page_nav_position1"
|
3364 |
-
value="top"<?php if ($row->page_nav_position == "top") echo 'checked="checked"'; ?> />
|
3365 |
-
<label for="page_nav_position1" id="page_nav_position1_lbl">Top</label>
|
3366 |
-
<input type="radio" name="page_nav_position" id="page_nav_position0"
|
3367 |
-
value="bottom"<?php if ($row->page_nav_position == "bottom") echo 'checked="checked"'; ?> />
|
3368 |
-
<label for="page_nav_position0" id="page_nav_position0_lbl">Bottom</label>
|
3369 |
-
</td>
|
3370 |
-
</tr>
|
3371 |
-
<tr>
|
3372 |
-
<td class="spider_label"><label for="page_nav_align0">Alignment: </label></td>
|
3373 |
-
<td>
|
3374 |
-
<select name="page_nav_align" id="page_nav_align">
|
3375 |
-
<?php
|
3376 |
-
foreach ($aligns as $key => $align) {
|
3377 |
-
?>
|
3378 |
-
<option
|
3379 |
-
value="<?php echo $key; ?>" <?php echo(($row->page_nav_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
|
3380 |
-
<?php
|
3381 |
-
}
|
3382 |
-
?>
|
3383 |
-
</select>
|
3384 |
-
</td>
|
3385 |
-
</tr>
|
3386 |
-
<tr>
|
3387 |
-
<td class="spider_label"><label>Numbering: </label></td>
|
3388 |
-
<td>
|
3389 |
-
<input type="radio" name="page_nav_number" id="page_nav_number1"
|
3390 |
-
value="1"<?php if ($row->page_nav_number == 1) echo 'checked="checked"'; ?> />
|
3391 |
-
<label for="page_nav_number1" id="page_nav_number1_lbl">Yes</label>
|
3392 |
-
<input type="radio" name="page_nav_number" id="page_nav_number0"
|
3393 |
-
value="0"<?php if ($row->page_nav_number == 0) echo 'checked="checked"'; ?> />
|
3394 |
-
<label for="page_nav_number0" id="page_nav_number0_lbl">No</label>
|
3395 |
-
</td>
|
3396 |
-
</tr>
|
3397 |
-
<tr>
|
3398 |
-
<td class="spider_label"><label>Button text: </label></td>
|
3399 |
-
<td>
|
3400 |
-
<input type="radio" name="page_nav_button_text" id="page_nav_button_text1"
|
3401 |
-
value="1"<?php if ($row->page_nav_button_text == 1) echo 'checked="checked"'; ?> />
|
3402 |
-
<label for="page_nav_button_text1" id="page_nav_button_text1_lbl">Text</label>
|
3403 |
-
<input type="radio" name="page_nav_button_text" id="page_nav_button_text0"
|
3404 |
-
value="0"<?php if ($row->page_nav_button_text == 0) echo 'checked="checked"'; ?> />
|
3405 |
-
<label for="page_nav_button_text0" id="page_nav_button_text0_lbl">Arrow</label>
|
3406 |
-
<div class="spider_description">Next, previous buttons values.</div>
|
3407 |
-
</td>
|
3408 |
-
</tr>
|
3409 |
-
</tbody>
|
3410 |
-
</table>
|
3411 |
-
</fieldset>
|
3412 |
-
</fieldset>
|
3413 |
-
</fieldset>
|
3414 |
-
<input type="hidden" id="task" name="task" value=""/>
|
3415 |
-
<input type="hidden" id="current_id" name="current_id" value="<?php echo $row->id; ?>"/>
|
3416 |
-
<input type="hidden" id="default_theme" name="default_theme" value="<?php echo $row->default_theme; ?>"/>
|
3417 |
-
<script>
|
3418 |
-
window.onload = bwg_change_theme_type('<?php echo $current_type; ?>');
|
3419 |
-
</script>
|
3420 |
-
</form>
|
3421 |
-
<?php
|
3422 |
-
}
|
3423 |
-
|
3424 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
3425 |
-
// Getters & Setters //
|
3426 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
3427 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
3428 |
-
// Private Methods //
|
3429 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
3430 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
3431 |
-
// Listeners //
|
3432 |
-
////////////////////////////////////////////////////////////////////////////////////////
|
3433 |
-
}
|
1 |
+
<?php
|
2 |
+
|
3 |
+
class FFWDViewThemes_ffwd
|
4 |
+
{
|
5 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
6 |
+
// Events //
|
7 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
8 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
9 |
+
// Constants //
|
10 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
11 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
12 |
+
// Variables //
|
13 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
14 |
+
private $model;
|
15 |
+
|
16 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
17 |
+
// Constructor & Destructor //
|
18 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
19 |
+
public function __construct($model)
|
20 |
+
{
|
21 |
+
$this->model = $model;
|
22 |
+
}
|
23 |
+
|
24 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
25 |
+
// Public Methods //
|
26 |
+
////////////////////////////////////////////////////////////////////////////////////////
|
27 |
+
public function display()
|
28 |
+
{
|
29 |
+
?>
|
30 |
+
<div class="ffwd_upgrade ffwd-clear">
|
31 |
+
<div class="ffwd-right">
|
32 |
+
<a href="https://web-dorado.com/products/wordpress-facebook-feed-plugin.html" target="_blank">
|
33 |
+
<div class="ffwd-table">
|
34 |
+
<div class="ffwd-cell ffwd-cell-valign-middle">
|
35 |
+
Upgrade to paid version
|
36 |
+
</div>
|
37 |
+
|
38 |
+
<div class="ffwd-cell ffwd-cell-valign-middle">
|
39 |
+
<img
|
40 |
+
src="<?php echo WD_FFWD_URL ?>/images/web-dorado.png">
|
41 |
+
</div>
|
42 |
+
</div>
|
43 |
+
</a>
|
44 |
+
</div>
|
45 |
+
</div>
|
46 |
+
<div style="clear: both;float: right;color: #15699F; font-size: 20px; margin-top:10px; padding:8px 15px;">
|
47 |
+
This is FREE version, Customizing themes is available only in the PAID version.
|
48 |
+
</div>
|
49 |
+
|
50 |
+
<img src='<?php echo plugins_url('../../images/themes/thumbnail.png', __FILE__) ?>'/><br>
|
51 |
+
<img src='<?php echo plugins_url('../../images/themes/masonry.png', __FILE__) ?>'/><br>
|
52 |
+
<img src='<?php echo plugins_url('../../images/themes/album.png', __FILE__) ?>'/><br>
|
53 |
+
<img src='<?php echo plugins_url('../../images/themes/blog.png', __FILE__) ?>'/><br>
|
54 |
+
<img src='<?php echo plugins_url('../../images/themes/lightbox.png', __FILE__) ?>'/><br>
|
55 |
+
<img src='<?php echo plugins_url('../../images/themes/pagenav.png', __FILE__) ?>'/><br>
|
56 |
+
<?php
|
57 |
+
|
58 |
+
}
|
59 |
+
|
60 |
+
public function edit($id, $reset)
|
61 |
+
{
|
62 |
+
$row = $this->model->get_row_data($id, $reset);
|
63 |
+
$page_title = (($id != 0) ? 'Edit theme ' . $row->name : 'Create new theme');
|
64 |
+
$current_type = WDW_FFWD_Library::get('current_type', 'Thumbnail');
|
65 |
+
$border_styles = array(
|
66 |
+
'none' => 'None',
|
67 |
+
'solid' => 'Solid',
|
68 |
+
'dotted' => 'Dotted',
|
69 |
+
'dashed' => 'Dashed',
|
70 |
+
'double' => 'Double',
|
71 |
+
'groove' => 'Groove',
|
72 |
+
'ridge' => 'Ridge',
|
73 |
+
'inset' => 'Inset',
|
74 |
+
'outset' => 'Outset',
|
75 |
+
);
|
76 |
+
$font_families = array(
|
77 |
+
'inherit' => 'Inherit',
|
78 |
+
'arial' => 'Arial',
|
79 |
+
'lucida grande' => 'Lucida grande',
|
80 |
+
'segoe ui' => 'Segoe ui',
|
81 |
+
'tahoma' => 'Tahoma',
|
82 |
+
'trebuchet ms' => 'Trebuchet ms',
|
83 |
+
'verdana' => 'Verdana',
|
84 |
+
'cursive' => 'Cursive',
|
85 |
+
'fantasy' => 'Fantasy',
|
86 |
+
'monospace' => 'Monospace',
|
87 |
+
'serif' => 'Serif',
|
88 |
+
// 'helvetica, arial, sans-serif' => 'Helvetica',
|
89 |
+
'helvetica' => 'Helvetica',
|
90 |
+
);
|
91 |
+
$aligns = array(
|
92 |
+
'left' => 'Left',
|
93 |
+
'center' => 'Center',
|
94 |
+
'right' => 'Right',
|
95 |
+
);
|
96 |
+
$font_weights = array(
|
97 |
+
'lighter' => 'Lighter',
|
98 |
+
'normal' => 'Normal',
|
99 |
+
'bold' => 'Bold',
|
100 |
+
);
|
101 |
+
$fd_header_icons = array(
|
102 |
+
'fa fa-vimeo' => 'Vimeo',
|
103 |
+
'fa fa-wordpress' => 'Wordpress',
|
104 |
+
'fa fa-facebook' => 'Facebook',
|
105 |
+
'fa fa-android' => 'Android',
|
106 |
+
'fa fa-apple' => 'Apple',
|
107 |
+
'fa fa-youtube' => 'Youtube',
|
108 |
+
'fa fa-facebook-official' => 'Facebook official',
|
109 |
+
'fa fa-calendar' => 'Event',
|
110 |
+
'fa fa-calendar-plus-o' => 'Calendar plus',
|
111 |
+
'fa fa-calendar-check-o' => 'Calendar check',
|
112 |
+
'fa fa-camera' => 'Camera',
|
113 |
+
'fa fa-hand-peace-o' => 'Hand-peace',
|
114 |
+
'fa fa-futbol-o' => 'Soccer',
|
115 |
+
'fa fa-car' => 'Car',
|
116 |
+
'fa fa-instagram' => 'Instagram',
|
117 |
+
);
|
118 |
+
$hover_effects = array(
|
119 |
+
'none' => 'None',
|
120 |
+
'rotate' => 'Rotate',
|
121 |
+
'scale' => 'Scale',
|
122 |
+
'skew' => 'Skew',
|
123 |
+
);
|
124 |
+
$button_styles = array(
|
125 |
+
'fa-chevron' => 'Chevron',
|
126 |
+
'fa-angle' => 'Angle',
|
127 |
+
'fa-angle-double' => 'Double',
|
128 |
+
);
|
129 |
+
$rate_icons = array(
|
130 |
+
'star' => 'Star',
|
131 |
+
'bell' => 'Bell',
|
132 |
+
'circle' => 'Circle',
|
133 |
+
'flag' => 'Flag',
|
134 |
+
'heart' => 'Heart',
|
135 |
+
'square' => 'Square',
|
136 |
+
);
|
137 |
+
?>
|
138 |
+
<div style="font-size: 14px; font-weight: bold;">
|
139 |
+
This section allows you to add/edit theme.
|
140 |
+
<a style="color: blue; text-decoration: none;" target="_blank"
|
141 |
+
href="http://web-dorado.com/wordpress-gallery-guide-step-6/6-1.html">Read More in User Manual</a>
|
142 |
+
</div>
|
143 |
+
<form class="wrap" method="post" id="themes_form" action="admin.php?page=themes_ffwd" style="width:99%;">
|
144 |
+
<?php wp_nonce_field('themes_ffwd', 'ffwd_nonce'); ?>
|
145 |
+
|
146 |
+
<div class="ffwd_plugin_header">
|
147 |
+
<span class="theme_icon"></span>
|
148 |
+
|
149 |
+
<h2 class="ffwd_page_name"><?php echo $page_title; ?></h2>
|
150 |
+
</div>
|
151 |
+
<div style="float: right; margin: 0 5px 0 0;padding-top: 10px">
|
152 |
+
<input class="ffwd-button-primary ffwd-button-save" type="submit"
|
153 |
+
onclick="if (spider_check_required('name', 'Name')) {return false;}; spider_set_input_value('task', 'save')"
|
154 |
+
value="Save"/>
|
155 |
+
<input class="ffwd-button-primary ffwd-button-apply" type="submit"
|
156 |
+
onclick="if (spider_check_required('name', 'Name')) {return false;}; spider_set_input_value('task', 'apply')"
|
157 |
+
value="Apply"/>
|
158 |
+
<input class="ffwd-button-secondary ffwd-button-cancel" type="submit"
|
159 |
+
onclick="spider_set_input_value('task', 'cancel')"
|
160 |
+
value="Cancel"/>
|
161 |
+
<input title="Reset to default theme" class="ffwd-button-primary ffwd-button-reset" type="submit"
|
162 |
+
onclick="if (confirm('Do you want to reset to default?')) {
|
163 |
+
spider_set_input_value('task', 'reset');
|
164 |
+
} else {
|
165 |
+
return false;
|
166 |
+
}" value="Reset"/>
|
167 |
+
</div>
|
168 |
+
<div style="float: left; margin: 10px 0 0; display: none;" id="type_menu">
|
169 |
+
<div id="type_Thumbnail" class="theme_type" onclick="bwg_change_theme_type('Thumbnail')">Thumbnails
|
170 |
+
</div>
|
171 |
+
<div id="type_Masonry" class="theme_type" onclick="bwg_change_theme_type('Masonry')">Masonry</div>
|
172 |
+
<div id="type_Compact_album" class="theme_type" onclick="bwg_change_theme_type('Compact_album')">Compact
|
173 |
+
Album
|
174 |
+
</div>
|
175 |
+
<div id="type_Blog_style" class="theme_type" onclick="bwg_change_theme_type('Blog_style')">Blog Style
|
176 |
+
</div>
|
177 |
+
<div id="type_Lightbox" class="theme_type" onclick="bwg_change_theme_type('Lightbox')">Lightbox</div>
|
178 |
+
<div id="type_Navigation" class="theme_type" onclick="bwg_change_theme_type('Navigation')">Page
|
179 |
+
Navigation
|
180 |
+
</div>
|
181 |
+
<input type="hidden" id="current_type" name="current_type" value="<?php echo $current_type; ?>"/>
|
182 |
+
</div>
|
183 |
+
<fieldset class="spider_fieldset">
|
184 |
+
|
185 |
+
<table style="clear:both;">
|
186 |
+
<tbody>
|
187 |
+
<tr>
|
188 |
+
<td class="spider_label"><label for="name">Name: <span style="color:#FF0000;"> * </span>
|
189 |
+
</label></td>
|
190 |
+
<td><input type="text" id="name" name="name" value="<?php echo $row->name; ?>"
|
191 |
+
class="spider_text_input"/></td>
|
192 |
+
</tr>
|
193 |
+
</tbody>
|
194 |
+
</table>
|
195 |
+
|
196 |
+
<fieldset class="spider_type_fieldset" id="Thumbnail">
|
197 |
+
<fieldset class="spider_child_fieldset" id="Thumbnail_1">
|
198 |
+
<table style="clear:both;">
|
199 |
+
<tbody>
|
200 |
+
<tr>
|
201 |
+
<td class="spider_label"><label for="thumb_margin">Margin: </label></td>
|
202 |
+
<td>
|
203 |
+
<input type="text" name="thumb_margin" id="thumb_margin"
|
204 |
+
value="<?php echo $row->thumb_margin; ?>" class="spider_int_input"
|
205 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
206 |
+
</td>
|
207 |
+
</tr>
|
208 |
+
<tr>
|
209 |
+
<td class="spider_label"><label for="thumb_padding">Padding: </label></td>
|
210 |
+
<td>
|
211 |
+
<input type="text" name="thumb_padding" id="thumb_padding"
|
212 |
+
value="<?php echo $row->thumb_padding; ?>" class="spider_int_input"
|
213 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
214 |
+
</td>
|
215 |
+
</tr>
|
216 |
+
<tr>
|
217 |
+
<td class="spider_label"><label for="thumb_border_width">Border width: </label></td>
|
218 |
+
<td>
|
219 |
+
<input type="text" name="thumb_border_width" id="thumb_border_width"
|
220 |
+
value="<?php echo $row->thumb_border_width; ?>" class="spider_int_input"
|
221 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
222 |
+
</td>
|
223 |
+
</tr>
|
224 |
+
<tr>
|
225 |
+
<td class="spider_label"><label for="thumb_border_style">Border style: </label></td>
|
226 |
+
<td>
|
227 |
+
<select name="thumb_border_style" id="thumb_border_style">
|
228 |
+
<?php
|
229 |
+
foreach ($border_styles as $key => $border_style) {
|
230 |
+
?>
|
231 |
+
<option
|
232 |
+
value="<?php echo $key; ?>" <?php echo(($row->thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
|
233 |
+
<?php
|
234 |
+
}
|
235 |
+
?>
|
236 |
+
</select>
|
237 |
+
</td>
|
238 |
+
</tr>
|
239 |
+
<tr>
|
240 |
+
<td class="spider_label"><label for="thumb_border_color">Border color:</label></td>
|
241 |
+
<td>
|
242 |
+
<input type="text" name="thumb_border_color" id="thumb_border_color"
|
243 |
+
value="<?php echo $row->thumb_border_color; ?>" class="color"/>
|
244 |
+
</td>
|
245 |
+
</tr>
|
246 |
+
<tr>
|
247 |
+
<td class="spider_label"><label for="thumb_border_radius">Border radius: </label></td>
|
248 |
+
<td>
|
249 |
+
<input type="text" name="thumb_border_radius" id="thumb_border_radius"
|
250 |
+
value="<?php echo $row->thumb_border_radius; ?>" class="spider_char_input"/>
|
251 |
+
<div class="spider_description">Use CSS type values.</div>
|
252 |
+
</td>
|
253 |
+
</tr>
|
254 |
+
<tr>
|
255 |
+
<td class="spider_label"><label for="thumb_box_shadow">Shadow: </label></td>
|
256 |
+
<td>
|
257 |
+
<input type="text" name="thumb_box_shadow" id="thumb_box_shadow"
|
258 |
+
value="<?php echo $row->thumb_box_shadow; ?>" class="spider_box_input"/>
|
259 |
+
<div class="spider_description">Use CSS type values.</div>
|
260 |
+
</td>
|
261 |
+
</tr>
|
262 |
+
<tr>
|
263 |
+
<td class="spider_label"><label for="thumb_hover_effect">Hover effect: </label></td>
|
264 |
+
<td>
|
265 |
+
<select name="thumb_hover_effect" id="thumb_hover_effect" class="spider_int_input">
|
266 |
+
<?php
|
267 |
+
foreach ($hover_effects as $key => $hover_effect) {
|
268 |
+
?>
|
269 |
+
<option
|
270 |
+
value="<?php echo $key; ?>" <?php echo(($row->thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo $hover_effect; ?></option>
|
271 |
+
<?php
|
272 |
+
}
|
273 |
+
?>
|
274 |
+
</select>
|
275 |
+
</td>
|
276 |
+
</tr>
|
277 |
+
<tr>
|
278 |
+
<td class="spider_label"><label for="thumb_hover_effect_value">Hover effect
|
279 |
+
value: </label></td>
|
280 |
+
<td>
|
281 |
+
<input type="text" name="thumb_hover_effect_value" id="thumb_hover_effect_value"
|
282 |
+
value="<?php echo $row->thumb_hover_effect_value; ?>"
|
283 |
+
class="spider_char_input"/>
|
284 |
+
<div class="spider_description">E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.</div>
|
285 |
+
</td>
|
286 |
+
</tr>
|
287 |
+
<tr>
|
288 |
+
<td class="spider_label"><label>Transition: </label></td>
|
289 |
+
<td id="thumb_transition">
|
290 |
+
<input type="radio" name="thumb_transition" id="thumb_transition1"
|
291 |
+
value="1"<?php if ($row->thumb_transition == 1) echo 'checked="checked"'; ?> />
|
292 |
+
<label for="thumb_transition1" id="thumb_transition1_lbl">Yes</label>
|
293 |
+
<input type="radio" name="thumb_transition" id="thumb_transition0"
|
294 |
+
value="0"<?php if ($row->thumb_transition == 0) echo 'checked="checked"'; ?> />
|
295 |
+
<label for="thumb_transition0" id="thumb_transition0_lbl">No</label>
|
296 |
+
</td>
|
297 |
+
</tr>
|
298 |
+
</tbody>
|
299 |
+
</table>
|
300 |
+
</fieldset>
|
301 |
+
<fieldset class="spider_child_fieldset" id="Thumbnail_2">
|
302 |
+
<table style="clear:both;">
|
303 |
+
<tbody>
|
304 |
+
<tr>
|
305 |
+
<td class="spider_label">
|
306 |
+
<label for="thumb_bg_color">Thumbnail background color: </label>
|
307 |
+
</td>
|
308 |
+
<td>
|
309 |
+
<input type="text" name="thumb_bg_color" id="thumb_bg_color"
|
310 |
+
value="<?php echo $row->thumb_bg_color; ?>" class="color"/>
|
311 |
+
</td>
|
312 |
+
</tr>
|
313 |
+
<tr>
|
314 |
+
<td class="spider_label"><label for="thumb_transparent">Thumbnail transparency: </label>
|
315 |
+
</td>
|
316 |
+
<td>
|
317 |
+
<input type="text" name="thumb_transparent" id="thumb_transparent"
|
318 |
+
value="<?php echo $row->thumb_transparent; ?>" class="spider_int_input"
|
319 |
+
onkeypress="return spider_check_isnum(event)"/> %
|
320 |
+
<div class="spider_description">Value must be between 0 to 100.</div>
|
321 |
+
</td>
|
322 |
+
</tr>
|
323 |
+
<tr>
|
324 |
+
<td class="spider_label"><label for="thumbs_bg_color">Full background color: </label>
|
325 |
+
</td>
|
326 |
+
<td>
|
327 |
+
<input type="text" name="thumbs_bg_color" id="thumbs_bg_color"
|
328 |
+
value="<?php echo $row->thumbs_bg_color; ?>" class="color"/>
|
329 |
+
</td>
|
330 |
+
</tr>
|
331 |
+
<tr>
|
332 |
+
<td class="spider_label"><label for="thumb_bg_transparent">Full background
|
333 |
+
transparency: </label></td>
|
334 |
+
<td>
|
335 |
+
<input type="text" name="thumb_bg_transparent" id="thumb_bg_transparent"
|
336 |
+
value="<?php echo $row->thumb_bg_transparent; ?>" class="spider_int_input"
|
337 |
+
onkeypress="return spider_check_isnum(event)"/> %
|
338 |
+
<div class="spider_description">Value must be between 0 to 100.</div>
|
339 |
+
</td>
|
340 |
+
</tr>
|
341 |
+
<tr>
|
342 |
+
<td class="spider_label"><label for="thumb_align">Alignment: </label></td>
|
343 |
+
<td>
|
344 |
+
<select name="thumb_align" id="thumb_align">
|
345 |
+
<?php
|
346 |
+
foreach ($aligns as $key => $align) {
|
347 |
+
?>
|
348 |
+
<option
|
349 |
+
value="<?php echo $key; ?>" <?php echo(($row->thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
|
350 |
+
<?php
|
351 |
+
}
|
352 |
+
?>
|
353 |
+
</select>
|
354 |
+
</td>
|
355 |
+
</tr>
|
356 |
+
</tbody>
|
357 |
+
</table>
|
358 |
+
</fieldset>
|
359 |
+
<fieldset class="spider_child_fieldset" id="Thumbnail_3">
|
360 |
+
<table style="clear:both;">
|
361 |
+
<tbody>
|
362 |
+
<tr>
|
363 |
+
<td class="spider_label"><label>Title position: </label></td>
|
364 |
+
<td>
|
365 |
+
<input type="radio" name="thumb_title_pos" id="thumb_title_pos1"
|
366 |
+
value="top" <?php if ($row->thumb_title_pos == "top") echo 'checked="checked"'; ?> />
|
367 |
+
<label for="thumb_title_pos1" id="thumb_title_pos1_lbl">Top</label>
|
368 |
+
<input type="radio" name="thumb_title_pos" id="thumb_title_pos0"
|
369 |
+
value="bottom" <?php if ($row->thumb_title_pos == "bottom") echo 'checked="checked"'; ?> />
|
370 |
+
<label for="thumb_title_pos0" id="thumb_title_pos0_lbl">Bottom</label>
|
371 |
+
</td>
|
372 |
+
</tr>
|
373 |
+
<tr>
|
374 |
+
<td class="spider_label"><label for="thumb_title_font_size">Title font size: </label>
|
375 |
+
</td>
|
376 |
+
<td>
|
377 |
+
<input type="text" name="thumb_title_font_size" id="thumb_title_font_size"
|
378 |
+
value="<?php echo $row->thumb_title_font_size; ?>" class="spider_int_input"
|
379 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
380 |
+
</td>
|
381 |
+
</tr>
|
382 |
+
<tr>
|
383 |
+
<td class="spider_label"><label for="thumb_title_font_color">Title font color: </label>
|
384 |
+
</td>
|
385 |
+
<td>
|
386 |
+
<input type="text" name="thumb_title_font_color" id="thumb_title_font_color"
|
387 |
+
value="<?php echo $row->thumb_title_font_color; ?>" class="color"/>
|
388 |
+
</td>
|
389 |
+
</tr>
|
390 |
+
<tr>
|
391 |
+
<td class="spider_label"><label for="thumb_title_font_style">Title font family: </label>
|
392 |
+
</td>
|
393 |
+
<td>
|
394 |
+
<select name="thumb_title_font_style" id="thumb_title_font_style">
|
395 |
+
<?php
|
396 |
+
foreach ($font_families as $key => $font_family) {
|
397 |
+
?>
|
398 |
+
<option
|
399 |
+
value="<?php echo $key; ?>" <?php echo(($row->thumb_title_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
400 |
+
<?php
|
401 |
+
}
|
402 |
+
?>
|
403 |
+
</select>
|
404 |
+
</td>
|
405 |
+
</tr>
|
406 |
+
<tr>
|
407 |
+
<td class="spider_label"><label for="thumb_title_font_weight">Title font
|
408 |
+
weight: </label></td>
|
409 |
+
<td>
|
410 |
+
<select name="thumb_title_font_weight" id="thumb_title_font_weight">
|
411 |
+
<?php
|
412 |
+
foreach ($font_weights as $key => $font_weight) {
|
413 |
+
?>
|
414 |
+
<option
|
415 |
+
value="<?php echo $key; ?>" <?php echo(($row->thumb_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
416 |
+
<?php
|
417 |
+
}
|
418 |
+
?>
|
419 |
+
</select>
|
420 |
+
</td>
|
421 |
+
</tr>
|
422 |
+
<tr>
|
423 |
+
<td class="spider_label"><label for="thumb_title_shadow">Title box shadow: </label></td>
|
424 |
+
<td>
|
425 |
+
<input type="text" name="thumb_title_shadow" id="thumb_title_shadow"
|
426 |
+
value="<?php echo $row->thumb_title_shadow; ?>" class="spider_box_input"/>
|
427 |
+
<div class="spider_description">Use CSS type values.</div>
|
428 |
+
</td>
|
429 |
+
</tr>
|
430 |
+
<tr>
|
431 |
+
<td class="spider_label"><label for="thumb_title_margin">Title margin: </label></td>
|
432 |
+
<td>
|
433 |
+
<input type="text" name="thumb_title_margin" id="thumb_title_margin"
|
434 |
+
value="<?php echo $row->thumb_title_margin; ?>" class="spider_char_input"/>
|
435 |
+
<div class="spider_description">Use CSS type values.</div>
|
436 |
+
</td>
|
437 |
+
</tr>
|
438 |
+
</tbody>
|
439 |
+
</table>
|
440 |
+
</fieldset>
|
441 |
+
|
442 |
+
<fieldset class="spider_child_fieldset" id="Thumbnail_4">
|
443 |
+
<table style="clear:both;">
|
444 |
+
<tbody>
|
445 |
+
<tr>
|
446 |
+
<td class="spider_label"><label>Like , comment position: </label></td>
|
447 |
+
<td>
|
448 |
+
<input type="radio" name="thumb_like_comm_pos" id="thumb_like_comm_pos1"
|
449 |
+
value="top" <?php if ($row->thumb_like_comm_pos == "top") echo 'checked="checked"'; ?> />
|
450 |
+
<label for="thumb_like_comm_pos1" id="thumb_like_comm_pos1_lbl">Top</label>
|
451 |
+
<input type="radio" name="thumb_like_comm_pos" id="thumb_like_comm_pos0"
|
452 |
+
value="bottom" <?php if ($row->thumb_like_comm_pos == "bottom") echo 'checked="checked"'; ?> />
|
453 |
+
<label for="thumb_like_comm_pos0" id="thumb_like_comm_pos0_lbl">Bottom</label>
|
454 |
+
</td>
|
455 |
+
</tr>
|
456 |
+
<!-- <tr>
|
457 |
+
<td class="spider_label"><label for="thumb_like_comm_c_bg_color">Like , comment count background color: </label></td>
|
458 |
+
<td>
|
459 |
+
<input type="text" name="thumb_like_comm_c_bg_color" id="thumb_like_comm_c_bg_color" value="" class="color" />
|
460 |
+
</td> -->
|
461 |
+
</tr>
|
462 |
+
<tr>
|
463 |
+
<td class="spider_label"><label for="thumb_like_comm_font_size">Like , comment font
|
464 |
+
size: </label></td>
|
465 |
+
<td>
|
466 |
+
<input type="text" name="thumb_like_comm_font_size" id="thumb_like_comm_font_size"
|
467 |
+
value="<?php echo $row->thumb_like_comm_font_size; ?>"
|
468 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
469 |
+
</td>
|
470 |
+
</tr>
|
471 |
+
<tr>
|
472 |
+
<td class="spider_label"><label for="thumb_like_comm_font_color">Like , comment font
|
473 |
+
color: </label></td>
|
474 |
+
<td>
|
475 |
+
<input type="text" name="thumb_like_comm_font_color" id="thumb_like_comm_font_color"
|
476 |
+
value="<?php echo $row->thumb_like_comm_font_color; ?>" class="color"/>
|
477 |
+
</td>
|
478 |
+
</tr>
|
479 |
+
<tr>
|
480 |
+
<td class="spider_label"><label for="thumb_like_comm_font_style">Like , comment font
|
481 |
+
family: </label></td>
|
482 |
+
<td>
|
483 |
+
<select name="thumb_like_comm_font_style" id="thumb_like_comm_font_style">
|
484 |
+
<?php
|
485 |
+
foreach ($font_families as $key => $font_family) {
|
486 |
+
?>
|
487 |
+
<option
|
488 |
+
value="<?php echo $key; ?>" <?php echo(($row->thumb_like_comm_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
489 |
+
<?php
|
490 |
+
}
|
491 |
+
?>
|
492 |
+
</select>
|
493 |
+
</td>
|
494 |
+
</tr>
|
495 |
+
<tr>
|
496 |
+
<td class="spider_label"><label for="thumb_like_comm_font_weight">Like , comment font
|
497 |
+
weight: </label></td>
|
498 |
+
<td>
|
499 |
+
<select name="thumb_like_comm_font_weight" id="thumb_like_comm_font_weight">
|
500 |
+
<?php
|
501 |
+
foreach ($font_weights as $key => $font_weight) {
|
502 |
+
?>
|
503 |
+
<option
|
504 |
+
value="<?php echo $key; ?>" <?php echo(($row->thumb_like_comm_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
505 |
+
<?php
|
506 |
+
}
|
507 |
+
?>
|
508 |
+
</select>
|
509 |
+
</td>
|
510 |
+
</tr>
|
511 |
+
<tr>
|
512 |
+
<td class="spider_label"><label for="thumb_like_comm_shadow">Like , comment box
|
513 |
+
shadow: </label></td>
|
514 |
+
<td>
|
515 |
+
<input type="text" name="thumb_like_comm_shadow" id="thumb_like_comm_shadow"
|
516 |
+
value="<?php echo $row->thumb_like_comm_shadow; ?>"
|
517 |
+
class="spider_box_input"/>
|
518 |
+
<div class="spider_description">Use CSS type values.</div>
|
519 |
+
</td>
|
520 |
+
</tr>
|
521 |
+
</tbody>
|
522 |
+
</table>
|
523 |
+
</fieldset>
|
524 |
+
|
525 |
+
</fieldset>
|
526 |
+
<fieldset class="spider_type_fieldset" id="Masonry">
|
527 |
+
<fieldset class="spider_child_fieldset" id="Masonry_1">
|
528 |
+
<table style="clear:both;">
|
529 |
+
<tbody>
|
530 |
+
<tr>
|
531 |
+
<td class="spider_label"><label for="masonry_thumb_padding">Padding: </label></td>
|
532 |
+
<td>
|
533 |
+
<input type="text" name="masonry_thumb_padding" id="masonry_thumb_padding"
|
534 |
+
value="<?php echo $row->masonry_thumb_padding; ?>" class="spider_int_input"
|
535 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
536 |
+
</td>
|
537 |
+
</tr>
|
538 |
+
<tr>
|
539 |
+
<td class="spider_label"><label for="masonry_thumb_border_width">Border width: </label>
|
540 |
+
</td>
|
541 |
+
<td>
|
542 |
+
<input type="text" name="masonry_thumb_border_width" id="masonry_thumb_border_width"
|
543 |
+
value="<?php echo $row->masonry_thumb_border_width; ?>"
|
544 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
545 |
+
</td>
|
546 |
+
</tr>
|
547 |
+
<tr>
|
548 |
+
<td class="spider_label"><label for="masonry_thumb_border_style">Border style: </label>
|
549 |
+
</td>
|
550 |
+
<td>
|
551 |
+
<select name="masonry_thumb_border_style" id="masonry_thumb_border_style">
|
552 |
+
<?php
|
553 |
+
foreach ($border_styles as $key => $border_style) {
|
554 |
+
?>
|
555 |
+
<option
|
556 |
+
value="<?php echo $key; ?>" <?php echo(($row->masonry_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
|
557 |
+
<?php
|
558 |
+
}
|
559 |
+
?>
|
560 |
+
</select>
|
561 |
+
</td>
|
562 |
+
</tr>
|
563 |
+
<tr>
|
564 |
+
<td class="spider_label"><label for="masonry_thumb_border_color">Border color: </label>
|
565 |
+
</td>
|
566 |
+
<td>
|
567 |
+
<input type="text" name="masonry_thumb_border_color" id="masonry_thumb_border_color"
|
568 |
+
value="<?php echo $row->masonry_thumb_border_color; ?>" class="color"/>
|
569 |
+
</td>
|
570 |
+
</tr>
|
571 |
+
<tr>
|
572 |
+
<td class="spider_label"><label for="masonry_thumb_border_radius">Border
|
573 |
+
radius: </label></td>
|
574 |
+
<td>
|
575 |
+
<input type="text" name="masonry_thumb_border_radius"
|
576 |
+
id="masonry_thumb_border_radius"
|
577 |
+
value="<?php echo $row->masonry_thumb_border_radius; ?>"
|
578 |
+
class="spider_char_input"/>
|
579 |
+
<div class="spider_description">Use CSS type values.</div>
|
580 |
+
</td>
|
581 |
+
</tr>
|
582 |
+
</tbody>
|
583 |
+
</table>
|
584 |
+
</fieldset>
|
585 |
+
<fieldset class="spider_child_fieldset" id="Masonry_2">
|
586 |
+
<table style="clear:both;">
|
587 |
+
<tbody>
|
588 |
+
<tr>
|
589 |
+
<td class="spider_label"><label for="masonry_thumb_transparent">Transparency: </label>
|
590 |
+
</td>
|
591 |
+
<td>
|
592 |
+
<input type="text" name="masonry_thumb_transparent" id="masonry_thumb_transparent"
|
593 |
+
value="<?php echo $row->masonry_thumb_transparent; ?>"
|
594 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
595 |
+
<div class="spider_description">Value must be between 0 to 100.</div>
|
596 |
+
</td>
|
597 |
+
</tr>
|
598 |
+
<tr>
|
599 |
+
<td class="spider_label"><label for="masonry_thumbs_bg_color">Background color: </label>
|
600 |
+
</td>
|
601 |
+
<td>
|
602 |
+
<input type="text" name="masonry_thumbs_bg_color" id="masonry_thumbs_bg_color"
|
603 |
+
value="<?php echo $row->masonry_thumbs_bg_color; ?>" class="color"/>
|
604 |
+
</td>
|
605 |
+
</tr>
|
606 |
+
<tr>
|
607 |
+
<td class="spider_label"><label for="masonry_thumb_bg_transparent">Background
|
608 |
+
transparency: </label></td>
|
609 |
+
<td>
|
610 |
+
<input type="text" name="masonry_thumb_bg_transparent"
|
611 |
+
id="masonry_thumb_bg_transparent"
|
612 |
+
value="<?php echo $row->masonry_thumb_bg_transparent; ?>"
|
613 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
614 |
+
<div class="spider_description">Value must be between 0 to 100.</div>
|
615 |
+
</td>
|
616 |
+
</tr>
|
617 |
+
<tr>
|
618 |
+
<td class="spider_label"><label for="masonry_thumb_align0">Alignment: </label></td>
|
619 |
+
<td>
|
620 |
+
<select name="masonry_thumb_align" id="masonry_thumb_align">
|
621 |
+
<?php
|
622 |
+
foreach ($aligns as $key => $align) {
|
623 |
+
?>
|
624 |
+
<option
|
625 |
+
value="<?php echo $key; ?>" <?php echo(($row->masonry_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
|
626 |
+
<?php
|
627 |
+
}
|
628 |
+
?>
|
629 |
+
</select>
|
630 |
+
</td>
|
631 |
+
</tr>
|
632 |
+
</tbody>
|
633 |
+
</table>
|
634 |
+
</fieldset>
|
635 |
+
<fieldset class="spider_child_fieldset" id="Masonry_3">
|
636 |
+
<table style="clear:both;">
|
637 |
+
<tbody>
|
638 |
+
<tr>
|
639 |
+
<td class="spider_label"><label for="masonry_thumb_hover_effect">Hover effect: </label>
|
640 |
+
</td>
|
641 |
+
<td>
|
642 |
+
<select name="masonry_thumb_hover_effect" id="masonry_thumb_hover_effect"
|
643 |
+
class="spider_int_input">
|
644 |
+
<?php
|
645 |
+
foreach ($hover_effects as $key => $hover_effect) {
|
646 |
+
?>
|
647 |
+
<option
|
648 |
+
value="<?php echo $key; ?>" <?php echo(($row->masonry_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo $hover_effect; ?></option>
|
649 |
+
<?php
|
650 |
+
}
|
651 |
+
?>
|
652 |
+
</select>
|
653 |
+
</td>
|
654 |
+
</tr>
|
655 |
+
<tr>
|
656 |
+
<td class="spider_label"><label for="masonry_thumb_hover_effect_value">Hover effect
|
657 |
+
value: </label></td>
|
658 |
+
<td>
|
659 |
+
<input type="text" name="masonry_thumb_hover_effect_value"
|
660 |
+
id="masonry_thumb_hover_effect_value"
|
661 |
+
value="<?php echo $row->masonry_thumb_hover_effect_value; ?>"
|
662 |
+
class="spider_char_input"/>
|
663 |
+
<div class="spider_description">E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.</div>
|
664 |
+
</td>
|
665 |
+
</tr>
|
666 |
+
<tr>
|
667 |
+
<td class="spider_label"><label>Transition: </label></td>
|
668 |
+
<td id="masonry_thumb_transition">
|
669 |
+
<input type="radio" name="masonry_thumb_transition" id="masonry_thumb_transition1"
|
670 |
+
value="1"<?php if ($row->masonry_thumb_transition == 1) echo 'checked="checked"'; ?> />
|
671 |
+
<label for="masonry_thumb_transition1"
|
672 |
+
id="masonry_thumb_transition1_lbl">Yes</label>
|
673 |
+
<input type="radio" name="masonry_thumb_transition" id="masonry_thumb_transition0"
|
674 |
+
value="0"<?php if ($row->masonry_thumb_transition == 0) echo 'checked="checked"'; ?> />
|
675 |
+
<label for="masonry_thumb_transition0" id="masonry_thumb_transition0_lbl">No</label>
|
676 |
+
</td>
|
677 |
+
</tr>
|
678 |
+
<tr>
|
679 |
+
<td class="spider_label"><label for="masonry_description_font_size">Description font
|
680 |
+
size: </label></td>
|
681 |
+
<td>
|
682 |
+
<input type="text" name="masonry_description_font_size"
|
683 |
+
id="masonry_description_font_size"
|
684 |
+
value="<?php echo $row->masonry_description_font_size; ?>"
|
685 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
686 |
+
</td>
|
687 |
+
</tr>
|
688 |
+
<tr>
|
689 |
+
<td class="spider_label"><label for="masonry_description_color">Description font
|
690 |
+
color: </label></td>
|
691 |
+
<td>
|
692 |
+
<input type="text" name="masonry_description_color" id="masonry_description_color"
|
693 |
+
value="<?php echo $row->masonry_description_color; ?>" class="color"/>
|
694 |
+
</td>
|
695 |
+
</tr>
|
696 |
+
<tr>
|
697 |
+
<td class="spider_label"><label for="masonry_description_font_style">Description font
|
698 |
+
family: </label></td>
|
699 |
+
<td>
|
700 |
+
<select name="masonry_description_font_style" id="masonry_description_font_style">
|
701 |
+
<?php
|
702 |
+
foreach ($font_families as $key => $font_family) {
|
703 |
+
?>
|
704 |
+
<option
|
705 |
+
value="<?php echo $key; ?>" <?php echo(($row->masonry_description_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
706 |
+
<?php
|
707 |
+
}
|
708 |
+
?>
|
709 |
+
</select>
|
710 |
+
</td>
|
711 |
+
</tr>
|
712 |
+
</tbody>
|
713 |
+
</table>
|
714 |
+
</fieldset>
|
715 |
+
<fieldset class="spider_child_fieldset" id="Masonry_4">
|
716 |
+
<table style="clear:both;">
|
717 |
+
<tbody>
|
718 |
+
<tr>
|
719 |
+
<td class="spider_label"><label>Like , comment position: </label></td>
|
720 |
+
<td>
|
721 |
+
<input type="radio" name="masonry_like_comm_pos" id="masonry_like_comm_pos1"
|
722 |
+
value="top" <?php if ($row->masonry_like_comm_pos == "top") echo 'checked="checked"'; ?> />
|
723 |
+
<label for="masonry_like_comm_pos1" id="masonry_like_comm_pos1_lbl">Top</label>
|
724 |
+
<input type="radio" name="masonry_like_comm_pos" id="masonry_like_comm_pos0"
|
725 |
+
value="bottom" <?php if ($row->masonry_like_comm_pos == "bottom") echo 'checked="checked"'; ?> />
|
726 |
+
<label for="masonry_like_comm_pos0" id="masonry_like_comm_pos0_lbl">Bottom</label>
|
727 |
+
</td>
|
728 |
+
</tr>
|
729 |
+
<!-- <tr>
|
730 |
+
<td class="spider_label"><label for="masonry_like_comm_c_bg_color">Like , comment count background color: </label></td>
|
731 |
+
<td>
|
732 |
+
<input type="text" name="masonry_like_comm_c_bg_color" id="masonry_like_comm_c_bg_color" value="" class="color" />
|
733 |
+
</td> -->
|
734 |
+
</tr>
|
735 |
+
<tr>
|
736 |
+
<td class="spider_label"><label for="masonry_like_comm_font_size">Like , comment font
|
737 |
+
size: </label></td>
|
738 |
+
<td>
|
739 |
+
<input type="text" name="masonry_like_comm_font_size"
|
740 |
+
id="masonry_like_comm_font_size"
|
741 |
+
value="<?php echo $row->masonry_like_comm_font_size; ?>"
|
742 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
743 |
+
</td>
|
744 |
+
</tr>
|
745 |
+
<tr>
|
746 |
+
<td class="spider_label"><label for="masonry_like_comm_font_color">Like , comment font
|
747 |
+
color: </label></td>
|
748 |
+
<td>
|
749 |
+
<input type="text" name="masonry_like_comm_font_color"
|
750 |
+
id="masonry_like_comm_font_color"
|
751 |
+
value="<?php echo $row->masonry_like_comm_font_color; ?>" class="color"/>
|
752 |
+
</td>
|
753 |
+
</tr>
|
754 |
+
<tr>
|
755 |
+
<td class="spider_label"><label for="masonry_like_comm_font_style">Like , comment font
|
756 |
+
family: </label></td>
|
757 |
+
<td>
|
758 |
+
<select name="masonry_like_comm_font_style" id="masonry_like_comm_font_style">
|
759 |
+
<?php
|
760 |
+
foreach ($font_families as $key => $font_family) {
|
761 |
+
?>
|
762 |
+
<option
|
763 |
+
value="<?php echo $key; ?>" <?php echo(($row->masonry_like_comm_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
764 |
+
<?php
|
765 |
+
}
|
766 |
+
?>
|
767 |
+
</select>
|
768 |
+
</td>
|
769 |
+
</tr>
|
770 |
+
<tr>
|
771 |
+
<td class="spider_label"><label for="masonry_like_comm_font_weight">Like , comment font
|
772 |
+
weight: </label></td>
|
773 |
+
<td>
|
774 |
+
<select name="masonry_like_comm_font_weight" id="masonry_like_comm_font_weight">
|
775 |
+
<?php
|
776 |
+
foreach ($font_weights as $key => $font_weight) {
|
777 |
+
?>
|
778 |
+
<option
|
779 |
+
value="<?php echo $key; ?>" <?php echo(($row->masonry_like_comm_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
780 |
+
<?php
|
781 |
+
}
|
782 |
+
?>
|
783 |
+
</select>
|
784 |
+
</td>
|
785 |
+
</tr>
|
786 |
+
<tr>
|
787 |
+
<td class="spider_label"><label for="masonry_like_comm_shadow">Like , comment box
|
788 |
+
shadow: </label></td>
|
789 |
+
<td>
|
790 |
+
<input type="text" name="masonry_like_comm_shadow" id="masonry_like_comm_shadow"
|
791 |
+
value="<?php echo $row->masonry_like_comm_shadow; ?>"
|
792 |
+
class="spider_box_input"/>
|
793 |
+
<div class="spider_description">Use CSS type values.</div>
|
794 |
+
</td>
|
795 |
+
</tr>
|
796 |
+
</tbody>
|
797 |
+
</table>
|
798 |
+
</fieldset>
|
799 |
+
</fieldset>
|
800 |
+
|
801 |
+
<fieldset class="spider_type_fieldset" id="Compact_album">
|
802 |
+
<fieldset class="spider_child_fieldset" id="Compact_album_1">
|
803 |
+
<table style="clear:both;">
|
804 |
+
<tbody>
|
805 |
+
<tr>
|
806 |
+
<td class="spider_label"><label for="album_compact_thumb_padding">Padding: </label></td>
|
807 |
+
<td>
|
808 |
+
<input type="text" name="album_compact_thumb_padding"
|
809 |
+
id="album_compact_thumb_padding"
|
810 |
+
value="<?php echo $row->album_compact_thumb_padding; ?>"
|
811 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
812 |
+
<div class="spider_description">Use CSS type values.</div>
|
813 |
+
</td>
|
814 |
+
</tr>
|
815 |
+
<tr>
|
816 |
+
<td class="spider_label"><label for="album_compact_thumb_margin">Margin: </label></td>
|
817 |
+
<td>
|
818 |
+
<input type="text" name="album_compact_thumb_margin" id="album_compact_thumb_margin"
|
819 |
+
value="<?php echo $row->album_compact_thumb_margin; ?>"
|
820 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
821 |
+
<div class="spider_description">Use CSS type values.</div>
|
822 |
+
</td>
|
823 |
+
</tr>
|
824 |
+
<tr>
|
825 |
+
<td class="spider_label"><label for="album_compact_thumb_border_width">Border
|
826 |
+
width: </label></td>
|
827 |
+
<td>
|
828 |
+
<input type="text" name="album_compact_thumb_border_width"
|
829 |
+
id="album_compact_thumb_border_width"
|
830 |
+
value="<?php echo $row->album_compact_thumb_border_width; ?>"
|
831 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
832 |
+
</td>
|
833 |
+
</tr>
|
834 |
+
<tr>
|
835 |
+
<td class="spider_label"><label for="album_compact_thumb_border_style">Border
|
836 |
+
style: </label></td>
|
837 |
+
<td>
|
838 |
+
<select name="album_compact_thumb_border_style"
|
839 |
+
id="album_compact_thumb_border_style">
|
840 |
+
<?php
|
841 |
+
foreach ($border_styles as $key => $border_style) {
|
842 |
+
?>
|
843 |
+
<option
|
844 |
+
value="<?php echo $key; ?>" <?php echo(($row->album_compact_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
|
845 |
+
<?php
|
846 |
+
}
|
847 |
+
?>
|
848 |
+
</select>
|
849 |
+
</td>
|
850 |
+
</tr>
|
851 |
+
<tr>
|
852 |
+
<td class="spider_label"><label for="album_compact_thumb_border_color">Border
|
853 |
+
color: </label></td>
|
854 |
+
<td>
|
855 |
+
<input type="text" name="album_compact_thumb_border_color"
|
856 |
+
id="album_compact_thumb_border_color"
|
857 |
+
value="<?php echo $row->album_compact_thumb_border_color; ?>" class="color"/>
|
858 |
+
</td>
|
859 |
+
</tr>
|
860 |
+
<tr>
|
861 |
+
<td class="spider_label"><label for="album_compact_thumb_border_radius">Border
|
862 |
+
radius: </label></td>
|
863 |
+
<td>
|
864 |
+
<input type="text" name="album_compact_thumb_border_radius"
|
865 |
+
id="album_compact_thumb_border_radius"
|
866 |
+
value="<?php echo $row->album_compact_thumb_border_radius; ?>"
|
867 |
+
class="spider_char_input"/>
|
868 |
+
<div class="spider_description">Use CSS type values.</div>
|
869 |
+
</td>
|
870 |
+
</tr>
|
871 |
+
<tr>
|
872 |
+
<td class="spider_label"><label for="album_compact_thumb_box_shadow">Shadow: </label>
|
873 |
+
</td>
|
874 |
+
<td>
|
875 |
+
<input type="text" name="album_compact_thumb_box_shadow"
|
876 |
+
id="album_compact_thumb_box_shadow"
|
877 |
+
value="<?php echo $row->album_compact_thumb_box_shadow; ?>"
|
878 |
+
class="spider_box_input"/>
|
879 |
+
<div class="spider_description">Use CSS type values.</div>
|
880 |
+
</td>
|
881 |
+
</tr>
|
882 |
+
<tr>
|
883 |
+
<td class="spider_label"><label for="album_compact_thumb_hover_effect">Hover
|
884 |
+
effect: </label></td>
|
885 |
+
<td>
|
886 |
+
<select name="album_compact_thumb_hover_effect"
|
887 |
+
id="album_compact_thumb_hover_effect">
|
888 |
+
<?php
|
889 |
+
foreach ($hover_effects as $key => $hover_effect) {
|
890 |
+
?>
|
891 |
+
<option
|
892 |
+
value="<?php echo $key; ?>" <?php echo(($row->album_compact_thumb_hover_effect == $key) ? 'selected="selected"' : ''); ?>><?php echo $hover_effect; ?></option>
|
893 |
+
<?php
|
894 |
+
}
|
895 |
+
?>
|
896 |
+
</select>
|
897 |
+
</td>
|
898 |
+
</tr>
|
899 |
+
<tr>
|
900 |
+
<td class="spider_label"><label for="album_compact_thumb_hover_effect_value">Hover
|
901 |
+
effect value: </label></td>
|
902 |
+
<td>
|
903 |
+
<input type="text" name="album_compact_thumb_hover_effect_value"
|
904 |
+
id="album_compact_thumb_hover_effect_value"
|
905 |
+
value="<?php echo $row->album_compact_thumb_hover_effect_value; ?>"
|
906 |
+
class="spider_char_input"/>
|
907 |
+
<div class="spider_description">E.g. Rotate: 10deg, Scale: 1.5, Skew: 10deg.</div>
|
908 |
+
</td>
|
909 |
+
</tr>
|
910 |
+
<tr>
|
911 |
+
<td class="spider_label"><label>Thumbnail transition: </label></td>
|
912 |
+
<td id="album_compact_thumb_transition">
|
913 |
+
<input type="radio" name="album_compact_thumb_transition"
|
914 |
+
id="album_compact_thumb_transition1"
|
915 |
+
value="1"<?php if ($row->album_compact_thumb_transition == 1) echo 'checked="checked"'; ?> />
|
916 |
+
<label for="album_compact_thumb_transition1"
|
917 |
+
id="album_compact_thumb_transition1_lbl">Yes</label>
|
918 |
+
<input type="radio" name="album_compact_thumb_transition"
|
919 |
+
id="album_compact_thumb_transition0"
|
920 |
+
value="0"<?php if ($row->album_compact_thumb_transition == 0) echo 'checked="checked"'; ?> />
|
921 |
+
<label for="album_compact_thumb_transition0"
|
922 |
+
id="album_compact_thumb_transition0_lbl">No</label>
|
923 |
+
</td>
|
924 |
+
</tr>
|
925 |
+
</tbody>
|
926 |
+
</table>
|
927 |
+
</fieldset>
|
928 |
+
<fieldset class="spider_child_fieldset" id="Compact_album_2">
|
929 |
+
<table style="clear:both;">
|
930 |
+
<tbody>
|
931 |
+
<tr>
|
932 |
+
<td class="spider_label"><label for="album_compact_thumb_bg_color">Thumbnail background
|
933 |
+
color: </label></td>
|
934 |
+
<td>
|
935 |
+
<input type="text" name="album_compact_thumb_bg_color"
|
936 |
+
id="album_compact_thumb_bg_color"
|
937 |
+
value="<?php echo $row->album_compact_thumb_bg_color; ?>" class="color"/>
|
938 |
+
</td>
|
939 |
+
</tr>
|
940 |
+
<tr>
|
941 |
+
<td class="spider_label"><label for="album_compact_thumb_transparent">Thumbnail
|
942 |
+
transparency: </label></td>
|
943 |
+
<td>
|
944 |
+
<input type="text" name="album_compact_thumb_transparent"
|
945 |
+
id="album_compact_thumb_transparent"
|
946 |
+
value="<?php echo $row->album_compact_thumb_transparent; ?>"
|
947 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
948 |
+
<div class="spider_description">Value must be between 0 to 100.</div>
|
949 |
+
</td>
|
950 |
+
</tr>
|
951 |
+
<tr>
|
952 |
+
<td class="spider_label"><label for="album_compact_thumbs_bg_color">Full background
|
953 |
+
color: </label></td>
|
954 |
+
<td>
|
955 |
+
<input type="text" name="album_compact_thumbs_bg_color"
|
956 |
+
id="album_compact_thumbs_bg_color"
|
957 |
+
value="<?php echo $row->album_compact_thumbs_bg_color; ?>" class="color"/>
|
958 |
+
</td>
|
959 |
+
</tr>
|
960 |
+
<tr>
|
961 |
+
<td class="spider_label"><label for="album_compact_thumb_bg_transparent">Full background
|
962 |
+
transparency: </label></td>
|
963 |
+
<td>
|
964 |
+
<input type="text" name="album_compact_thumb_bg_transparent"
|
965 |
+
id="album_compact_thumb_bg_transparent"
|
966 |
+
value="<?php echo $row->album_compact_thumb_bg_transparent; ?>"
|
967 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
968 |
+
<div class="spider_description">Value must be between 0 to 100.</div>
|
969 |
+
</td>
|
970 |
+
</tr>
|
971 |
+
<tr>
|
972 |
+
<td class="spider_label"><label for="album_compact_thumb_align0">Alignment: </label>
|
973 |
+
</td>
|
974 |
+
<td>
|
975 |
+
<select name="album_compact_thumb_align" id="album_compact_thumb_align">
|
976 |
+
<?php
|
977 |
+
foreach ($aligns as $key => $align) {
|
978 |
+
?>
|
979 |
+
<option
|
980 |
+
value="<?php echo $key; ?>" <?php echo(($row->album_compact_thumb_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
|
981 |
+
<?php
|
982 |
+
}
|
983 |
+
?>
|
984 |
+
</select>
|
985 |
+
</td>
|
986 |
+
</tr>
|
987 |
+
</tbody>
|
988 |
+
</table>
|
989 |
+
</fieldset>
|
990 |
+
<fieldset class="spider_child_fieldset" id="Compact_album_3">
|
991 |
+
<table style="clear:both;">
|
992 |
+
<tbody>
|
993 |
+
<tr>
|
994 |
+
<td class="spider_label"><label>Title position: </label></td>
|
995 |
+
<td>
|
996 |
+
<input type="radio" name="album_compact_thumb_title_pos"
|
997 |
+
id="album_compact_thumb_title_pos1"
|
998 |
+
value="top" <?php if ($row->album_compact_thumb_title_pos == "top") echo 'checked="checked"'; ?> />
|
999 |
+
<label for="album_compact_thumb_title_pos1" id="album_compact_thumb_title_pos1_lbl">Top</label>
|
1000 |
+
<input type="radio" name="album_compact_thumb_title_pos"
|
1001 |
+
id="album_compact_thumb_title_pos0"
|
1002 |
+
value="bottom" <?php if ($row->album_compact_thumb_title_pos == "bottom") echo 'checked="checked"'; ?> />
|
1003 |
+
<label for="album_compact_thumb_title_pos0" id="album_compact_thumb_title_pos0_lbl">Bottom</label>
|
1004 |
+
</td>
|
1005 |
+
</tr>
|
1006 |
+
<tr>
|
1007 |
+
<td class="spider_label"><label for="album_compact_title_font_size">Title font
|
1008 |
+
size: </label></td>
|
1009 |
+
<td>
|
1010 |
+
<input type="text" name="album_compact_title_font_size"
|
1011 |
+
id="album_compact_title_font_size"
|
1012 |
+
value="<?php echo $row->album_compact_title_font_size; ?>"
|
1013 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1014 |
+
</td>
|
1015 |
+
</tr>
|
1016 |
+
<tr>
|
1017 |
+
<td class="spider_label"><label for="album_compact_title_font_color">Title font
|
1018 |
+
color: </label></td>
|
1019 |
+
<td>
|
1020 |
+
<input type="text" name="album_compact_title_font_color"
|
1021 |
+
id="album_compact_title_font_color"
|
1022 |
+
value="<?php echo $row->album_compact_title_font_color; ?>" class="color"/>
|
1023 |
+
</td>
|
1024 |
+
</tr>
|
1025 |
+
<tr>
|
1026 |
+
<td class="spider_label"><label for="album_compact_title_font_style">Title font
|
1027 |
+
family: </label></td>
|
1028 |
+
<td>
|
1029 |
+
<select name="album_compact_title_font_style" id="album_compact_title_font_style">
|
1030 |
+
<?php
|
1031 |
+
foreach ($font_families as $key => $font_family) {
|
1032 |
+
?>
|
1033 |
+
<option
|
1034 |
+
value="<?php echo $key; ?>" <?php echo(($row->album_compact_title_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
1035 |
+
<?php
|
1036 |
+
}
|
1037 |
+
?>
|
1038 |
+
</select>
|
1039 |
+
</td>
|
1040 |
+
</tr>
|
1041 |
+
<tr>
|
1042 |
+
<td class="spider_label"><label for="album_compact_title_font_weight">Title font
|
1043 |
+
weight: </label></td>
|
1044 |
+
<td>
|
1045 |
+
<select name="album_compact_title_font_weight" id="album_compact_title_font_weight">
|
1046 |
+
<?php
|
1047 |
+
foreach ($font_weights as $key => $font_weight) {
|
1048 |
+
?>
|
1049 |
+
<option
|
1050 |
+
value="<?php echo $key; ?>" <?php echo(($row->album_compact_title_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1051 |
+
<?php
|
1052 |
+
}
|
1053 |
+
?>
|
1054 |
+
</select>
|
1055 |
+
</td>
|
1056 |
+
</tr>
|
1057 |
+
<tr>
|
1058 |
+
<td class="spider_label"><label for="album_compact_title_shadow">Title box
|
1059 |
+
shadow: </label></td>
|
1060 |
+
<td>
|
1061 |
+
<input type="text" name="album_compact_title_shadow" id="album_compact_title_shadow"
|
1062 |
+
value="<?php echo $row->album_compact_title_shadow; ?>"
|
1063 |
+
class="spider_box_input"/>
|
1064 |
+
<div class="spider_description">Use CSS type values.</div>
|
1065 |
+
</td>
|
1066 |
+
</tr>
|
1067 |
+
<tr>
|
1068 |
+
<td class="spider_label"><label for="album_compact_title_margin">Title margin: </label>
|
1069 |
+
</td>
|
1070 |
+
<td>
|
1071 |
+
<input type="text" name="album_compact_title_margin" id="album_compact_title_margin"
|
1072 |
+
value="<?php echo $row->album_compact_title_margin; ?>"
|
1073 |
+
class="spider_char_input"/>
|
1074 |
+
<div class="spider_description">Use CSS type values.</div>
|
1075 |
+
</td>
|
1076 |
+
</tr>
|
1077 |
+
<tr>
|
1078 |
+
<td class="spider_label"><label for="album_compact_back_font_size">Back button Font
|
1079 |
+
size: </label></td>
|
1080 |
+
<td>
|
1081 |
+
<input type="text" name="album_compact_back_font_size"
|
1082 |
+
id="album_compact_back_font_size"
|
1083 |
+
value="<?php echo $row->album_compact_back_font_size; ?>"
|
1084 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1085 |
+
</td>
|
1086 |
+
</tr>
|
1087 |
+
<tr>
|
1088 |
+
<td class="spider_label"><label for="album_compact_back_font_color">Back button Font
|
1089 |
+
color: </label></td>
|
1090 |
+
<td>
|
1091 |
+
<input type="text" name="album_compact_back_font_color"
|
1092 |
+
id="album_compact_back_font_color"
|
1093 |
+
value="<?php echo $row->album_compact_back_font_color; ?>" class="color"/>
|
1094 |
+
</td>
|
1095 |
+
</tr>
|
1096 |
+
<tr>
|
1097 |
+
<td class="spider_label"><label for="album_compact_back_font_style">Back button Font
|
1098 |
+
family: </label></td>
|
1099 |
+
<td>
|
1100 |
+
<select name="album_compact_back_font_style" id="album_compact_back_font_style">
|
1101 |
+
<?php
|
1102 |
+
foreach ($font_families as $key => $font_family) {
|
1103 |
+
?>
|
1104 |
+
<option
|
1105 |
+
value="<?php echo $key; ?>" <?php echo(($row->album_compact_back_font_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
1106 |
+
<?php
|
1107 |
+
}
|
1108 |
+
?>
|
1109 |
+
</select>
|
1110 |
+
</td>
|
1111 |
+
</tr>
|
1112 |
+
<tr>
|
1113 |
+
<td class="spider_label"><label for="album_compact_back_font_weight">Back button Font
|
1114 |
+
weight: </label></td>
|
1115 |
+
<td>
|
1116 |
+
<select name="album_compact_back_font_weight" id="album_compact_back_font_weight">
|
1117 |
+
<?php
|
1118 |
+
foreach ($font_weights as $key => $font_weight) {
|
1119 |
+
?>
|
1120 |
+
<option
|
1121 |
+
value="<?php echo $key; ?>" <?php echo(($row->album_compact_back_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1122 |
+
<?php
|
1123 |
+
}
|
1124 |
+
?>
|
1125 |
+
</select>
|
1126 |
+
</td>
|
1127 |
+
</tr>
|
1128 |
+
<tr>
|
1129 |
+
<td class="spider_label"><label for="album_compact_back_padding">Back button
|
1130 |
+
padding: </label></td>
|
1131 |
+
<td>
|
1132 |
+
<input type="text" name="album_compact_back_padding" id="album_compact_back_padding"
|
1133 |
+
value="<?php echo $row->album_compact_back_padding; ?>"
|
1134 |
+
class="spider_char_input"/>
|
1135 |
+
<div class="spider_description">Use CSS type values.</div>
|
1136 |
+
</td>
|
1137 |
+
</tr>
|
1138 |
+
</tbody>
|
1139 |
+
</table>
|
1140 |
+
</fieldset>
|
1141 |
+
</fieldset>
|
1142 |
+
|
1143 |
+
<fieldset class="spider_type_fieldset" id="Blog_style">
|
1144 |
+
<fieldset class="spider_child_fieldset" id="Blog_style_1">
|
1145 |
+
<table style="clear:both;">
|
1146 |
+
<tbody>
|
1147 |
+
<tr>
|
1148 |
+
<td class="spider_label"><label for="blog_style_align">Alignment: </label></td>
|
1149 |
+
<td>
|
1150 |
+
<select name="blog_style_align" id="blog_style_align">
|
1151 |
+
<?php
|
1152 |
+
foreach ($aligns as $key => $align) {
|
1153 |
+
?>
|
1154 |
+
<option
|
1155 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
|
1156 |
+
<?php
|
1157 |
+
}
|
1158 |
+
?>
|
1159 |
+
</select>
|
1160 |
+
</td>
|
1161 |
+
</tr>
|
1162 |
+
<tr>
|
1163 |
+
<td class="spider_label"><label for="blog_style_bg_color">Background color: </label>
|
1164 |
+
</td>
|
1165 |
+
<td>
|
1166 |
+
<input type="text" name="blog_style_bg_color" id="blog_style_bg_color"
|
1167 |
+
value="<?php echo $row->blog_style_bg_color; ?>" class="color"/>
|
1168 |
+
</td>
|
1169 |
+
</tr>
|
1170 |
+
<tr>
|
1171 |
+
<td class="spider_label"><label for="blog_style_transparent">Background
|
1172 |
+
transparency: </label></td>
|
1173 |
+
<td>
|
1174 |
+
<input type="text" name="blog_style_transparent" id="blog_style_transparent"
|
1175 |
+
value="<?php echo $row->blog_style_transparent; ?>" class="spider_int_input"
|
1176 |
+
onkeypress="return spider_check_isnum(event)"/> %
|
1177 |
+
<div class="spider_description">Value must be between 0 to 100.</div>
|
1178 |
+
</td>
|
1179 |
+
</tr>
|
1180 |
+
|
1181 |
+
<tr>
|
1182 |
+
<td class="spider_label"><label for="blog_style_fd_name_bg_color">Feed name background
|
1183 |
+
color: </label></td>
|
1184 |
+
<td>
|
1185 |
+
<input type="text" name="blog_style_fd_name_bg_color"
|
1186 |
+
id="blog_style_fd_name_bg_color"
|
1187 |
+
value="<?php echo $row->blog_style_fd_name_bg_color; ?>" class="color"/>
|
1188 |
+
</td>
|
1189 |
+
</tr>
|
1190 |
+
<tr>
|
1191 |
+
<td class="spider_label"><label for="blog_style_fd_name_align">Feed name
|
1192 |
+
alignment: </label></td>
|
1193 |
+
<td>
|
1194 |
+
<select name="blog_style_fd_name_align" id="blog_style_fd_name_align">
|
1195 |
+
<?php
|
1196 |
+
foreach ($aligns as $key => $align) {
|
1197 |
+
?>
|
1198 |
+
<option
|
1199 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_fd_name_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
|
1200 |
+
<?php
|
1201 |
+
}
|
1202 |
+
?>
|
1203 |
+
</select>
|
1204 |
+
</td>
|
1205 |
+
</tr>
|
1206 |
+
<tr>
|
1207 |
+
<td class="spider_label"><label for="blog_style_fd_name_padding">Feed name
|
1208 |
+
padding: </label></td>
|
1209 |
+
<td>
|
1210 |
+
<input type="text" name="blog_style_fd_name_padding" id="blog_style_fd_name_padding"
|
1211 |
+
value="<?php echo $row->blog_style_fd_name_padding; ?>"
|
1212 |
+
class="spider_char_input"/>
|
1213 |
+
<div class="blog_style_fd_name_padding">Use CSS type values.</div>
|
1214 |
+
</td>
|
1215 |
+
</tr>
|
1216 |
+
|
1217 |
+
<tr>
|
1218 |
+
<td class="spider_label"><label for="blog_style_fd_name_color">Feed name color: </label>
|
1219 |
+
</td>
|
1220 |
+
<td>
|
1221 |
+
<input type="text" name="blog_style_fd_name_color" id="blog_style_fd_name_color"
|
1222 |
+
value="<?php echo $row->blog_style_fd_name_color; ?>" class="color"/>
|
1223 |
+
</td>
|
1224 |
+
</tr>
|
1225 |
+
<tr>
|
1226 |
+
<td class="spider_label"><label for="blog_style_fd_name_size">Feed name font
|
1227 |
+
size: </label></td>
|
1228 |
+
<td>
|
1229 |
+
<input type="text" name="blog_style_fd_name_size" id="blog_style_fd_name_size"
|
1230 |
+
value="<?php echo $row->blog_style_fd_name_size; ?>" class="spider_int_input"
|
1231 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
1232 |
+
</td>
|
1233 |
+
</tr>
|
1234 |
+
<tr>
|
1235 |
+
<td class="spider_label"><label for="blog_style_fd_name_font_weight">Feed name font
|
1236 |
+
weight: </label></td>
|
1237 |
+
<td>
|
1238 |
+
<select name="blog_style_fd_name_font_weight" id="blog_style_fd_name_font_weight">
|
1239 |
+
<?php
|
1240 |
+
foreach ($font_weights as $key => $font_weight) {
|
1241 |
+
?>
|
1242 |
+
<option
|
1243 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_fd_name_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1244 |
+
<?php
|
1245 |
+
}
|
1246 |
+
?>
|
1247 |
+
</select>
|
1248 |
+
</td>
|
1249 |
+
</tr>
|
1250 |
+
|
1251 |
+
|
1252 |
+
<tr>
|
1253 |
+
<td class="spider_label"><label for="blog_style_obj_img_align">Image(video)
|
1254 |
+
alignment: </label></td>
|
1255 |
+
<td>
|
1256 |
+
<select name="blog_style_obj_img_align" id="blog_style_obj_img_align">
|
1257 |
+
<?php
|
1258 |
+
foreach ($aligns as $key => $align) {
|
1259 |
+
?>
|
1260 |
+
<option
|
1261 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_img_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
|
1262 |
+
<?php
|
1263 |
+
}
|
1264 |
+
?>
|
1265 |
+
</select>
|
1266 |
+
</td>
|
1267 |
+
</tr>
|
1268 |
+
<tr>
|
1269 |
+
<td class="spider_label"><label for="blog_style_margin">Margin: </label></td>
|
1270 |
+
<td>
|
1271 |
+
<input type="text" name="blog_style_margin" id="blog_style_margin"
|
1272 |
+
value="<?php echo $row->blog_style_margin; ?>" class="spider_char_input"/>
|
1273 |
+
<div class="spider_description">Use CSS type values.</div>
|
1274 |
+
</td>
|
1275 |
+
</tr>
|
1276 |
+
<tr>
|
1277 |
+
<td class="spider_label"><label for="blog_style_box_shadow">Box shadow: </label></td>
|
1278 |
+
<td>
|
1279 |
+
<input type="text" name="blog_style_box_shadow" id="blog_style_box_shadow"
|
1280 |
+
value="<?php echo $row->blog_style_box_shadow; ?>" class="spider_box_input"/>
|
1281 |
+
<div class="spider_description">Use CSS type values.</div>
|
1282 |
+
</td>
|
1283 |
+
</tr>
|
1284 |
+
<tr>
|
1285 |
+
<td class="spider_label"><label for="blog_style_border_width">Border width: </label>
|
1286 |
+
</td>
|
1287 |
+
<td>
|
1288 |
+
<input type="text" name="blog_style_border_width" id="blog_style_border_width"
|
1289 |
+
value="<?php echo $row->blog_style_border_width; ?>" class="spider_int_input"
|
1290 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
1291 |
+
</td>
|
1292 |
+
</tr>
|
1293 |
+
<tr>
|
1294 |
+
<td class="spider_label"><label for="blog_style_border_style">Border style: </label>
|
1295 |
+
</td>
|
1296 |
+
<td>
|
1297 |
+
<select name="blog_style_border_style" id="blog_style_border_style">
|
1298 |
+
<?php
|
1299 |
+
foreach ($border_styles as $key => $border_style) {
|
1300 |
+
?>
|
1301 |
+
<option
|
1302 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
|
1303 |
+
<?php
|
1304 |
+
}
|
1305 |
+
?>
|
1306 |
+
</select>
|
1307 |
+
</td>
|
1308 |
+
</tr>
|
1309 |
+
<tr>
|
1310 |
+
<td class="spider_label"><label for="blog_style_border_color">Border color: </label>
|
1311 |
+
</td>
|
1312 |
+
<td>
|
1313 |
+
<input type="text" name="blog_style_border_color" id="blog_style_border_color"
|
1314 |
+
value="<?php echo $row->blog_style_border_color; ?>" class="color"/>
|
1315 |
+
</td>
|
1316 |
+
</tr>
|
1317 |
+
<tr>
|
1318 |
+
<td class="spider_label"><label for="blog_style_border_type">Border type: </label></td>
|
1319 |
+
<td>
|
1320 |
+
<select name="blog_style_border_type" id="blog_style_border_type">
|
1321 |
+
<option
|
1322 |
+
value="all" <?php echo(($row->blog_style_border_type == "all") ? 'selected="selected"' : ''); ?>>
|
1323 |
+
All
|
1324 |
+
</option>
|
1325 |
+
<option
|
1326 |
+
value="top" <?php echo(($row->blog_style_border_type == "top") ? 'selected="selected"' : ''); ?>>
|
1327 |
+
Top
|
1328 |
+
</option>
|
1329 |
+
<option
|
1330 |
+
value="right" <?php echo(($row->blog_style_border_type == "right") ? 'selected="selected"' : ''); ?>>
|
1331 |
+
Right
|
1332 |
+
</option>
|
1333 |
+
<option
|
1334 |
+
value="bottom" <?php echo(($row->blog_style_border_type == "bottom") ? 'selected="selected"' : ''); ?>>
|
1335 |
+
Bottom
|
1336 |
+
</option>
|
1337 |
+
<option
|
1338 |
+
value="left" <?php echo(($row->blog_style_border_type == "left") ? 'selected="selected"' : ''); ?>>
|
1339 |
+
Left
|
1340 |
+
</option>
|
1341 |
+
</select>
|
1342 |
+
</td>
|
1343 |
+
</tr>
|
1344 |
+
<tr>
|
1345 |
+
<td class="spider_label"><label for="blog_style_border_radius">Border radius: </label>
|
1346 |
+
</td>
|
1347 |
+
<td>
|
1348 |
+
<input type="text" name="blog_style_border_radius" id="blog_style_border_radius"
|
1349 |
+
value="<?php echo $row->blog_style_border_radius; ?>"
|
1350 |
+
class="spider_char_input"/>
|
1351 |
+
<div class="spider_description">Use CSS type values.</div>
|
1352 |
+
</td>
|
1353 |
+
</tr>
|
1354 |
+
<tr>
|
1355 |
+
<td class="spider_label"><label for="blog_style_obj_icons_color">Icons color: </label>
|
1356 |
+
</td>
|
1357 |
+
<td>
|
1358 |
+
<select name="blog_style_obj_icons_color" id="blog_style_obj_icons_color">
|
1359 |
+
<option
|
1360 |
+
value="gray" <?php echo(($row->blog_style_obj_icons_color == "gray") ? 'selected="selected"' : ''); ?>>
|
1361 |
+
Gray
|
1362 |
+
</option>
|
1363 |
+
<option
|
1364 |
+
value="white" <?php echo(($row->blog_style_obj_icons_color == "white") ? 'selected="selected"' : ''); ?>>
|
1365 |
+
White
|
1366 |
+
</option>
|
1367 |
+
<option
|
1368 |
+
value="blue" <?php echo(($row->blog_style_obj_icons_color == "blue") ? 'selected="selected"' : ''); ?>>
|
1369 |
+
Blue
|
1370 |
+
</option>
|
1371 |
+
</select>
|
1372 |
+
</td>
|
1373 |
+
</tr>
|
1374 |
+
<tr>
|
1375 |
+
<td class="spider_label"><label for="blog_style_obj_date_pos">Date position: </label>
|
1376 |
+
</td>
|
1377 |
+
<td>
|
1378 |
+
<select name="blog_style_obj_date_pos" id="blog_style_obj_date_pos">
|
1379 |
+
<option
|
1380 |
+
value="before" <?php echo(($row->blog_style_obj_date_pos == "before") ? 'selected="selected"' : ''); ?>>
|
1381 |
+
Before post author
|
1382 |
+
</option>
|
1383 |
+
<option
|
1384 |
+
value="after" <?php echo(($row->blog_style_obj_date_pos == "after") ? 'selected="selected"' : ''); ?>>
|
1385 |
+
After post author
|
1386 |
+
</option>
|
1387 |
+
<option
|
1388 |
+
value="bottom" <?php echo(($row->blog_style_obj_date_pos == "bottom") ? 'selected="selected"' : ''); ?>>
|
1389 |
+
At the bottom of the post
|
1390 |
+
</option>
|
1391 |
+
</select>
|
1392 |
+
</td>
|
1393 |
+
</tr>
|
1394 |
+
<tr>
|
1395 |
+
<td class="spider_label"><label for="blog_style_obj_font_family">Font family: </label>
|
1396 |
+
</td>
|
1397 |
+
<td>
|
1398 |
+
<select name="blog_style_obj_font_family" id="blog_style_obj_font_family">
|
1399 |
+
<?php
|
1400 |
+
foreach ($font_families as $key => $font_family) {
|
1401 |
+
?>
|
1402 |
+
<option
|
1403 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
1404 |
+
<?php
|
1405 |
+
}
|
1406 |
+
?>
|
1407 |
+
</select>
|
1408 |
+
</td>
|
1409 |
+
</tr>
|
1410 |
+
</tbody>
|
1411 |
+
</table>
|
1412 |
+
</fieldset>
|
1413 |
+
<fieldset class="spider_child_fieldset" id="Blog_style_2">
|
1414 |
+
<table style="clear:both;">
|
1415 |
+
<tbody>
|
1416 |
+
<tr>
|
1417 |
+
<td class="spider_label"><label for="blog_style_obj_info_bg_color">Info background
|
1418 |
+
color: </label></td>
|
1419 |
+
<td>
|
1420 |
+
<input type="text" name="blog_style_obj_info_bg_color"
|
1421 |
+
id="blog_style_obj_info_bg_color"
|
1422 |
+
value="<?php echo $row->blog_style_obj_info_bg_color; ?>" class="color"/>
|
1423 |
+
</td>
|
1424 |
+
</tr>
|
1425 |
+
<tr>
|
1426 |
+
<td class="spider_label"><label for="blog_style_page_name_color">Page(group, profile)
|
1427 |
+
name color: </label></td>
|
1428 |
+
<td>
|
1429 |
+
<input type="text" name="blog_style_page_name_color" id="blog_style_page_name_color"
|
1430 |
+
value="<?php echo $row->blog_style_page_name_color; ?>" class="color"/>
|
1431 |
+
</td>
|
1432 |
+
</tr>
|
1433 |
+
<tr>
|
1434 |
+
<td class="spider_label"><label for="blog_style_obj_page_name_size">Page(group, profile)
|
1435 |
+
name font size: </label></td>
|
1436 |
+
<td>
|
1437 |
+
<input type="text" name="blog_style_obj_page_name_size"
|
1438 |
+
id="blog_style_obj_page_name_size"
|
1439 |
+
value="<?php echo $row->blog_style_obj_page_name_size; ?>"
|
1440 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1441 |
+
</td>
|
1442 |
+
</tr>
|
1443 |
+
<tr>
|
1444 |
+
<td class="spider_label"><label for="blog_style_obj_page_name_font_weight">Page(group,
|
1445 |
+
profile) name font weight: </label></td>
|
1446 |
+
<td>
|
1447 |
+
<select name="blog_style_obj_page_name_font_weight"
|
1448 |
+
id="blog_style_obj_page_name_weight">
|
1449 |
+
<?php
|
1450 |
+
foreach ($font_weights as $key => $font_weight) {
|
1451 |
+
?>
|
1452 |
+
<option
|
1453 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_page_name_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1454 |
+
<?php
|
1455 |
+
}
|
1456 |
+
?>
|
1457 |
+
</select>
|
1458 |
+
</td>
|
1459 |
+
</tr>
|
1460 |
+
<tr>
|
1461 |
+
<td class="spider_label"><label for="blog_style_obj_story_color">Story color: </label>
|
1462 |
+
</td>
|
1463 |
+
<td>
|
1464 |
+
<input type="text" name="blog_style_obj_story_color" id="blog_style_obj_story_color"
|
1465 |
+
value="<?php echo $row->blog_style_obj_story_color; ?>" class="color"/>
|
1466 |
+
</td>
|
1467 |
+
</tr>
|
1468 |
+
<tr>
|
1469 |
+
<td class="spider_label"><label for="blog_style_obj_story_size">Story font
|
1470 |
+
size: </label></td>
|
1471 |
+
<td>
|
1472 |
+
<input type="text" name="blog_style_obj_story_size" id="blog_style_obj_story_size"
|
1473 |
+
value="<?php echo $row->blog_style_obj_story_size; ?>"
|
1474 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1475 |
+
</td>
|
1476 |
+
</tr>
|
1477 |
+
<tr>
|
1478 |
+
<td class="spider_label"><label for="blog_style_obj_story_font_weight">Story font
|
1479 |
+
weight: </label></td>
|
1480 |
+
<td>
|
1481 |
+
<select name="blog_style_obj_story_font_weight"
|
1482 |
+
id="blog_style_obj_story_font_weight">
|
1483 |
+
<?php
|
1484 |
+
foreach ($font_weights as $key => $font_weight) {
|
1485 |
+
?>
|
1486 |
+
<option
|
1487 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_story_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1488 |
+
<?php
|
1489 |
+
}
|
1490 |
+
?>
|
1491 |
+
</select>
|
1492 |
+
</td>
|
1493 |
+
</tr>
|
1494 |
+
<tr>
|
1495 |
+
<td class="spider_label"><label for="blog_style_obj_place_color">Place color: </label>
|
1496 |
+
</td>
|
1497 |
+
<td>
|
1498 |
+
<input type="text" name="blog_style_obj_place_color" id="blog_style_obj_place_color"
|
1499 |
+
value="<?php echo $row->blog_style_obj_place_color; ?>" class="color"/>
|
1500 |
+
</td>
|
1501 |
+
</tr>
|
1502 |
+
<tr>
|
1503 |
+
<td class="spider_label"><label for="blog_style_obj_place_size">Place font
|
1504 |
+
size: </label></td>
|
1505 |
+
<td>
|
1506 |
+
<input type="text" name="blog_style_obj_place_size" id="blog_style_obj_place_size"
|
1507 |
+
value="<?php echo $row->blog_style_obj_place_size; ?>"
|
1508 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1509 |
+
</td>
|
1510 |
+
</tr>
|
1511 |
+
<tr>
|
1512 |
+
<td class="spider_label"><label for="blog_style_obj_place_font_weight">Place font
|
1513 |
+
weight: </label></td>
|
1514 |
+
<td>
|
1515 |
+
<select name="blog_style_obj_place_font_weight"
|
1516 |
+
id="blog_style_obj_place_font_weight">
|
1517 |
+
<?php
|
1518 |
+
foreach ($font_weights as $key => $font_weight) {
|
1519 |
+
?>
|
1520 |
+
<option
|
1521 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_place_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1522 |
+
<?php
|
1523 |
+
}
|
1524 |
+
?>
|
1525 |
+
</select>
|
1526 |
+
</td>
|
1527 |
+
</tr>
|
1528 |
+
<tr>
|
1529 |
+
<td class="spider_label"><label for="blog_style_obj_name_color">Name color: </label>
|
1530 |
+
</td>
|
1531 |
+
<td>
|
1532 |
+
<input type="text" name="blog_style_obj_name_color" id="blog_style_obj_name_color"
|
1533 |
+
value="<?php echo $row->blog_style_obj_name_color; ?>" class="color"/>
|
1534 |
+
</td>
|
1535 |
+
</tr>
|
1536 |
+
<tr>
|
1537 |
+
<td class="spider_label"><label for="blog_style_obj_name_size">Name font size: </label>
|
1538 |
+
</td>
|
1539 |
+
<td>
|
1540 |
+
<input type="text" name="blog_style_obj_name_size" id="blog_style_obj_name_size"
|
1541 |
+
value="<?php echo $row->blog_style_obj_name_size; ?>"
|
1542 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1543 |
+
</td>
|
1544 |
+
</tr>
|
1545 |
+
<tr>
|
1546 |
+
<td class="spider_label"><label for="blog_style_obj_name_font_weight">Name font
|
1547 |
+
weight: </label></td>
|
1548 |
+
<td>
|
1549 |
+
<select name="blog_style_obj_name_font_weight" id="blog_style_obj_name_font_weight">
|
1550 |
+
<?php
|
1551 |
+
foreach ($font_weights as $key => $font_weight) {
|
1552 |
+
?>
|
1553 |
+
<option
|
1554 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_name_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1555 |
+
<?php
|
1556 |
+
}
|
1557 |
+
?>
|
1558 |
+
</select>
|
1559 |
+
</td>
|
1560 |
+
</tr>
|
1561 |
+
<tr>
|
1562 |
+
<td class="spider_label"><label for="blog_style_evt_str_color">Event place(street)
|
1563 |
+
color: </label></td>
|
1564 |
+
<td>
|
1565 |
+
<input type="text" name="blog_style_evt_str_color" id="blog_style_evt_str_color"
|
1566 |
+
value="<?php echo $row->blog_style_evt_str_color; ?>" class="color"/>
|
1567 |
+
</td>
|
1568 |
+
</tr>
|
1569 |
+
<tr>
|
1570 |
+
<td class="spider_label"><label for="blog_style_evt_str_size">Event place(street) font
|
1571 |
+
size: </label></td>
|
1572 |
+
<td>
|
1573 |
+
<input type="text" name="blog_style_evt_str_size" id="blog_style_evt_str_size"
|
1574 |
+
value="<?php echo $row->blog_style_evt_str_size; ?>" class="spider_int_input"
|
1575 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
1576 |
+
</td>
|
1577 |
+
</tr>
|
1578 |
+
<tr>
|
1579 |
+
<td class="spider_label"><label for="blog_style_evt_str_font_weight">Event place(street)
|
1580 |
+
font weight: </label></td>
|
1581 |
+
<td>
|
1582 |
+
<select name="blog_style_evt_str_font_weight" id="blog_style_evt_str_font_weight">
|
1583 |
+
<?php
|
1584 |
+
foreach ($font_weights as $key => $font_weight) {
|
1585 |
+
?>
|
1586 |
+
<option
|
1587 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_evt_str_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1588 |
+
<?php
|
1589 |
+
}
|
1590 |
+
?>
|
1591 |
+
</select>
|
1592 |
+
</td>
|
1593 |
+
</tr>
|
1594 |
+
<tr>
|
1595 |
+
<td class="spider_label"><label for="blog_style_evt_ctzpcn_color">Event place(city, zip,
|
1596 |
+
country) color: </label></td>
|
1597 |
+
<td>
|
1598 |
+
<input type="text" name="blog_style_evt_ctzpcn_color"
|
1599 |
+
id="blog_style_evt_ctzpcn_color"
|
1600 |
+
value="<?php echo $row->blog_style_evt_ctzpcn_color; ?>" class="color"/>
|
1601 |
+
</td>
|
1602 |
+
</tr>
|
1603 |
+
<tr>
|
1604 |
+
<td class="spider_label"><label for="blog_style_evt_ctzpcn_size">Event place(city, zip,
|
1605 |
+
country) font size: </label></td>
|
1606 |
+
<td>
|
1607 |
+
<input type="text" name="blog_style_evt_ctzpcn_size" id="blog_style_evt_ctzpcn_size"
|
1608 |
+
value="<?php echo $row->blog_style_evt_ctzpcn_size; ?>"
|
1609 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1610 |
+
</td>
|
1611 |
+
</tr>
|
1612 |
+
<tr>
|
1613 |
+
<td class="spider_label"><label for="blog_style_evt_ctzpcn_font_weight">Event
|
1614 |
+
place(city, zip, country) font weight: </label></td>
|
1615 |
+
<td>
|
1616 |
+
<select name="blog_style_evt_ctzpcn_font_weight"
|
1617 |
+
id="blog_style_evt_ctzpcn_font_weight">
|
1618 |
+
<?php
|
1619 |
+
foreach ($font_weights as $key => $font_weight) {
|
1620 |
+
?>
|
1621 |
+
<option
|
1622 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_evt_ctzpcn_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1623 |
+
<?php
|
1624 |
+
}
|
1625 |
+
?>
|
1626 |
+
</select>
|
1627 |
+
</td>
|
1628 |
+
</tr>
|
1629 |
+
<tr>
|
1630 |
+
<td class="spider_label"><label for="blog_style_evt_map_color">Event place(map)
|
1631 |
+
color: </label></td>
|
1632 |
+
<td>
|
1633 |
+
<input type="text" name="blog_style_evt_map_color" id="blog_style_evt_map_color"
|
1634 |
+
value="<?php echo $row->blog_style_evt_map_color; ?>" class="color"/>
|
1635 |
+
</td>
|
1636 |
+
</tr>
|
1637 |
+
<tr>
|
1638 |
+
<td class="spider_label"><label for="blog_style_evt_map_size">Event place(map) font
|
1639 |
+
size: </label></td>
|
1640 |
+
<td>
|
1641 |
+
<input type="text" name="blog_style_evt_map_size" id="blog_style_evt_map_size"
|
1642 |
+
value="<?php echo $row->blog_style_evt_map_size; ?>" class="spider_int_input"
|
1643 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
1644 |
+
</td>
|
1645 |
+
</tr>
|
1646 |
+
<tr>
|
1647 |
+
<td class="spider_label"><label for="blog_style_evt_map_font_weight">Event place(map)
|
1648 |
+
font weight: </label></td>
|
1649 |
+
<td>
|
1650 |
+
<select name="blog_style_evt_map_font_weight" id="blog_style_evt_map_font_weight">
|
1651 |
+
<?php
|
1652 |
+
foreach ($font_weights as $key => $font_weight) {
|
1653 |
+
?>
|
1654 |
+
<option
|
1655 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_evt_map_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1656 |
+
<?php
|
1657 |
+
}
|
1658 |
+
?>
|
1659 |
+
</select>
|
1660 |
+
</td>
|
1661 |
+
</tr>
|
1662 |
+
<tr>
|
1663 |
+
<td class="spider_label"><label for="blog_style_evt_date_color">Event date
|
1664 |
+
color: </label></td>
|
1665 |
+
<td>
|
1666 |
+
<input type="text" name="blog_style_evt_date_color" id="blog_style_evt_date_color"
|
1667 |
+
value="<?php echo $row->blog_style_evt_date_color; ?>" class="color"/>
|
1668 |
+
</td>
|
1669 |
+
</tr>
|
1670 |
+
<tr>
|
1671 |
+
<td class="spider_label"><label for="blog_style_evt_date_size">Event date font
|
1672 |
+
size: </label></td>
|
1673 |
+
<td>
|
1674 |
+
<input type="text" name="blog_style_evt_date_size" id="blog_style_evt_date_size"
|
1675 |
+
value="<?php echo $row->blog_style_evt_date_size; ?>"
|
1676 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1677 |
+
</td>
|
1678 |
+
</tr>
|
1679 |
+
<tr>
|
1680 |
+
<td class="spider_label"><label for="blog_style_evt_date_font_weight">Event date font
|
1681 |
+
weight: </label></td>
|
1682 |
+
<td>
|
1683 |
+
<select name="blog_style_evt_date_font_weight" id="blog_style_evt_date_font_weight">
|
1684 |
+
<?php
|
1685 |
+
foreach ($font_weights as $key => $font_weight) {
|
1686 |
+
?>
|
1687 |
+
<option
|
1688 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_evt_date_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1689 |
+
<?php
|
1690 |
+
}
|
1691 |
+
?>
|
1692 |
+
</select>
|
1693 |
+
</td>
|
1694 |
+
</tr>
|
1695 |
+
<tr>
|
1696 |
+
<td class="spider_label"><label for="blog_style_evt_info_font_family">Event font
|
1697 |
+
family: </label></td>
|
1698 |
+
<td>
|
1699 |
+
<select name="blog_style_evt_info_font_family" id="blog_style_evt_info_font_family">
|
1700 |
+
<?php
|
1701 |
+
foreach ($font_families as $key => $font_family) {
|
1702 |
+
?>
|
1703 |
+
<option
|
1704 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_evt_info_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
1705 |
+
<?php
|
1706 |
+
}
|
1707 |
+
?>
|
1708 |
+
</select>
|
1709 |
+
</td>
|
1710 |
+
</tr>
|
1711 |
+
</tbody>
|
1712 |
+
</table>
|
1713 |
+
</fieldset>
|
1714 |
+
<fieldset class="spider_child_fieldset" id="Blog_style_3">
|
1715 |
+
<table style="clear:both;">
|
1716 |
+
<tbody>
|
1717 |
+
<tr>
|
1718 |
+
<td class="spider_label"><label for="blog_style_obj_message_color">Message and
|
1719 |
+
description color: </label></td>
|
1720 |
+
<td>
|
1721 |
+
<input type="text" name="blog_style_obj_message_color"
|
1722 |
+
id="blog_style_obj_message_color"
|
1723 |
+
value="<?php echo $row->blog_style_obj_message_color; ?>" class="color"/>
|
1724 |
+
</td>
|
1725 |
+
</tr>
|
1726 |
+
<tr>
|
1727 |
+
<td class="spider_label"><label for="blog_style_obj_message_size">Message and
|
1728 |
+
description font size: </label></td>
|
1729 |
+
<td>
|
1730 |
+
<input type="text" name="blog_style_obj_message_size"
|
1731 |
+
id="blog_style_obj_message_size"
|
1732 |
+
value="<?php echo $row->blog_style_obj_message_size; ?>"
|
1733 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1734 |
+
</td>
|
1735 |
+
</tr>
|
1736 |
+
<tr>
|
1737 |
+
<td class="spider_label"><label for="blog_style_obj_message_font_weight">Message and
|
1738 |
+
description font weight: </label></td>
|
1739 |
+
<td>
|
1740 |
+
<select name="blog_style_obj_message_font_weight"
|
1741 |
+
id="blog_style_obj_message_font_weight">
|
1742 |
+
<?php
|
1743 |
+
foreach ($font_weights as $key => $font_weight) {
|
1744 |
+
?>
|
1745 |
+
<option
|
1746 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_message_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1747 |
+
<?php
|
1748 |
+
}
|
1749 |
+
?>
|
1750 |
+
</select>
|
1751 |
+
</td>
|
1752 |
+
</tr>
|
1753 |
+
<tr>
|
1754 |
+
<td class="spider_label"><label for="blog_style_obj_hashtags_color">Hashtags
|
1755 |
+
color: </label></td>
|
1756 |
+
<td>
|
1757 |
+
<input type="text" name="blog_style_obj_hashtags_color"
|
1758 |
+
id="blog_style_obj_hashtags_color"
|
1759 |
+
value="<?php echo $row->blog_style_obj_hashtags_color; ?>" class="color"/>
|
1760 |
+
</td>
|
1761 |
+
</tr>
|
1762 |
+
<tr>
|
1763 |
+
<td class="spider_label"><label for="blog_style_obj_hashtags_size">Hashtags font
|
1764 |
+
size: </label></td>
|
1765 |
+
<td>
|
1766 |
+
<input type="text" name="blog_style_obj_hashtags_size"
|
1767 |
+
id="blog_style_obj_hashtags_size"
|
1768 |
+
value="<?php echo $row->blog_style_obj_hashtags_size; ?>"
|
1769 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1770 |
+
</td>
|
1771 |
+
</tr>
|
1772 |
+
<tr>
|
1773 |
+
<td class="spider_label"><label for="blog_style_obj_hashtags_font_weight">Hashtags font
|
1774 |
+
weight: </label></td>
|
1775 |
+
<td>
|
1776 |
+
<select name="blog_style_obj_hashtags_font_weight"
|
1777 |
+
id="blog_style_obj_hashtags_font_weight">
|
1778 |
+
<?php
|
1779 |
+
foreach ($font_weights as $key => $font_weight) {
|
1780 |
+
?>
|
1781 |
+
<option
|
1782 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_hashtags_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1783 |
+
<?php
|
1784 |
+
}
|
1785 |
+
?>
|
1786 |
+
</select>
|
1787 |
+
</td>
|
1788 |
+
</tr>
|
1789 |
+
<tr>
|
1790 |
+
<td class="spider_label"><label for="blog_style_obj_likes_social_bg_color">Likes(share,
|
1791 |
+
comment) and social buttons background color: </label></td>
|
1792 |
+
<td>
|
1793 |
+
<input type="text" name="blog_style_obj_likes_social_bg_color"
|
1794 |
+
id="blog_style_obj_likes_social_bg_color"
|
1795 |
+
value="<?php echo $row->blog_style_obj_likes_social_bg_color; ?>"
|
1796 |
+
class="color"/>
|
1797 |
+
</td>
|
1798 |
+
</tr>
|
1799 |
+
|
1800 |
+
<tr>
|
1801 |
+
<td class="spider_label"><label for="blog_style_obj_likes_social_color">Likes(share,
|
1802 |
+
comment) color: </label></td>
|
1803 |
+
<td>
|
1804 |
+
<input type="text" name="blog_style_obj_likes_social_color"
|
1805 |
+
id="blog_style_obj_likes_social_color"
|
1806 |
+
value="<?php echo $row->blog_style_obj_likes_social_color; ?>"
|
1807 |
+
class="color"/>
|
1808 |
+
</td>
|
1809 |
+
</tr>
|
1810 |
+
<tr>
|
1811 |
+
<td class="spider_label"><label for="blog_style_obj_likes_social_size">Likes(share,
|
1812 |
+
comment) and social size: </label></td>
|
1813 |
+
<td>
|
1814 |
+
<input type="text" name="blog_style_obj_likes_social_size"
|
1815 |
+
id="blog_style_obj_likes_social_size"
|
1816 |
+
value="<?php echo $row->blog_style_obj_likes_social_size; ?>"
|
1817 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1818 |
+
</td>
|
1819 |
+
</tr>
|
1820 |
+
<tr>
|
1821 |
+
<td class="spider_label"><label for="blog_style_obj_likes_social_font_weight">Likes(share,
|
1822 |
+
comment) and social font weight: </label></td>
|
1823 |
+
<td>
|
1824 |
+
<select name="blog_style_obj_likes_social_font_weight"
|
1825 |
+
id="blog_style_obj_likes_social_font_weight">
|
1826 |
+
<?php
|
1827 |
+
foreach ($font_weights as $key => $font_weight) {
|
1828 |
+
?>
|
1829 |
+
<option
|
1830 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_likes_social_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1831 |
+
<?php
|
1832 |
+
}
|
1833 |
+
?>
|
1834 |
+
</select>
|
1835 |
+
</td>
|
1836 |
+
</tr>
|
1837 |
+
</tbody>
|
1838 |
+
</table>
|
1839 |
+
</fieldset>
|
1840 |
+
<fieldset class="spider_child_fieldset" id="Blog_style_4">
|
1841 |
+
<table style="clear:both;">
|
1842 |
+
<tbody>
|
1843 |
+
<tr>
|
1844 |
+
<td class="spider_label"><label for="blog_style_obj_comments_bg_color">Comments
|
1845 |
+
background color: </label></td>
|
1846 |
+
<td>
|
1847 |
+
<input type="text" name="blog_style_obj_comments_bg_color"
|
1848 |
+
id="blog_style_obj_comments_bg_color"
|
1849 |
+
value="<?php echo $row->blog_style_obj_comments_bg_color; ?>" class="color"/>
|
1850 |
+
</td>
|
1851 |
+
</tr>
|
1852 |
+
<tr>
|
1853 |
+
<td class="spider_label"><label for="blog_style_obj_comments_color">Comments
|
1854 |
+
color: </label></td>
|
1855 |
+
<td>
|
1856 |
+
<input type="text" name="blog_style_obj_comments_color"
|
1857 |
+
id="blog_style_obj_comments_color"
|
1858 |
+
value="<?php echo $row->blog_style_obj_comments_color; ?>" class="color"/>
|
1859 |
+
</td>
|
1860 |
+
</tr>
|
1861 |
+
<tr>
|
1862 |
+
<td class="spider_label"><label for="blog_style_obj_comments_font_family">Comments font
|
1863 |
+
family: </label></td>
|
1864 |
+
<td>
|
1865 |
+
<select name="blog_style_obj_comments_font_family"
|
1866 |
+
id="blog_style_obj_comments_font_family">
|
1867 |
+
<?php
|
1868 |
+
foreach ($font_families as $key => $font_family) {
|
1869 |
+
?>
|
1870 |
+
<option
|
1871 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_comments_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
1872 |
+
<?php
|
1873 |
+
}
|
1874 |
+
?>
|
1875 |
+
</select>
|
1876 |
+
</td>
|
1877 |
+
</tr>
|
1878 |
+
<tr>
|
1879 |
+
<td class="spider_label"><label for="blog_style_obj_comments_font_size">Comments font
|
1880 |
+
size: </label></td>
|
1881 |
+
<td>
|
1882 |
+
<input type="text" name="blog_style_obj_comments_font_size"
|
1883 |
+
id="blog_style_obj_comments_font_size"
|
1884 |
+
value="<?php echo $row->blog_style_obj_comments_font_size; ?>"
|
1885 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1886 |
+
</td>
|
1887 |
+
</tr>
|
1888 |
+
<tr>
|
1889 |
+
<td class="spider_label"><label for="blog_style_obj_users_font_color">Users
|
1890 |
+
color: </label></td>
|
1891 |
+
<td>
|
1892 |
+
<input type="text" name="blog_style_obj_users_font_color"
|
1893 |
+
id="blog_style_obj_users_font_color"
|
1894 |
+
value="<?php echo $row->blog_style_obj_users_font_color; ?>" class="color"/>
|
1895 |
+
</td>
|
1896 |
+
</tr>
|
1897 |
+
<tr>
|
1898 |
+
<td class="spider_label"><label for="blog_style_obj_comments_social_font_weight">Comments
|
1899 |
+
font weight: </label></td>
|
1900 |
+
<td>
|
1901 |
+
<select name="blog_style_obj_comments_social_font_weight"
|
1902 |
+
id="blog_style_obj_comments_social_font_weight">
|
1903 |
+
<?php
|
1904 |
+
foreach ($font_weights as $key => $font_weight) {
|
1905 |
+
?>
|
1906 |
+
<option
|
1907 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_comments_social_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
1908 |
+
<?php
|
1909 |
+
}
|
1910 |
+
?>
|
1911 |
+
</select>
|
1912 |
+
</td>
|
1913 |
+
</tr>
|
1914 |
+
<tr>
|
1915 |
+
<td class="spider_label"><label for="blog_style_obj_comment_border_width">Comment border
|
1916 |
+
width: </label></td>
|
1917 |
+
<td>
|
1918 |
+
<input type="text" name="blog_style_obj_comment_border_width"
|
1919 |
+
id="blog_style_obj_comment_border_width"
|
1920 |
+
value="<?php echo $row->blog_style_obj_comment_border_width; ?>"
|
1921 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
1922 |
+
</td>
|
1923 |
+
</tr>
|
1924 |
+
<tr>
|
1925 |
+
<td class="spider_label"><label for="blog_style_obj_comment_border_style">Comment border
|
1926 |
+
style: </label></td>
|
1927 |
+
<td>
|
1928 |
+
<select name="blog_style_obj_comment_border_style"
|
1929 |
+
id="blog_style_obj_comment_border_style">
|
1930 |
+
<?php
|
1931 |
+
foreach ($border_styles as $key => $border_style) {
|
1932 |
+
?>
|
1933 |
+
<option
|
1934 |
+
value="<?php echo $key; ?>" <?php echo(($row->blog_style_obj_comment_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
|
1935 |
+
<?php
|
1936 |
+
}
|
1937 |
+
?>
|
1938 |
+
</select>
|
1939 |
+
</td>
|
1940 |
+
</tr>
|
1941 |
+
<tr>
|
1942 |
+
<td class="spider_label"><label for="blog_style_obj_comment_border_color">Comment border
|
1943 |
+
color: </label></td>
|
1944 |
+
<td>
|
1945 |
+
<input type="text" name="blog_style_obj_comment_border_color"
|
1946 |
+
id="blog_style_obj_comment_border_color"
|
1947 |
+
value="<?php echo $row->blog_style_obj_comment_border_color; ?>"
|
1948 |
+
class="color"/>
|
1949 |
+
</td>
|
1950 |
+
</tr>
|
1951 |
+
<tr>
|
1952 |
+
<td class="spider_label"><label for="blog_style_obj_comment_border_type">Comment border
|
1953 |
+
type: </label></td>
|
1954 |
+
<td>
|
1955 |
+
<select name="blog_style_obj_comment_border_type" id="blog_style_border_type">
|
1956 |
+
<option
|
1957 |
+
value="all" <?php echo(($row->blog_style_obj_comment_border_type == "all") ? 'selected="selected"' : ''); ?>>
|
1958 |
+
All
|
1959 |
+
</option>
|
1960 |
+
<option
|
1961 |
+
value="top" <?php echo(($row->blog_style_obj_comment_border_type == "top") ? 'selected="selected"' : ''); ?>>
|
1962 |
+
Top
|
1963 |
+
</option>
|
1964 |
+
<option
|
1965 |
+
value="right" <?php echo(($row->blog_style_obj_comment_border_type == "right") ? 'selected="selected"' : ''); ?>>
|
1966 |
+
Right
|
1967 |
+
</option>
|
1968 |
+
<option
|
1969 |
+
value="bottom" <?php echo(($row->blog_style_obj_comment_border_type == "bottom") ? 'selected="selected"' : ''); ?>>
|
1970 |
+
Bottom
|
1971 |
+
</option>
|
1972 |
+
<option
|
1973 |
+
value="left" <?php echo(($row->blog_style_obj_comment_border_type == "left") ? 'selected="selected"' : ''); ?>>
|
1974 |
+
Left
|
1975 |
+
</option>
|
1976 |
+
</select>
|
1977 |
+
</td>
|
1978 |
+
</tr>
|
1979 |
+
</tbody>
|
1980 |
+
</table>
|
1981 |
+
</fieldset>
|
1982 |
+
</fieldset>
|
1983 |
+
<fieldset class="spider_type_fieldset" id="Lightbox">
|
1984 |
+
<fieldset class="spider_child_fieldset" id="Lightbox_1">
|
1985 |
+
<table style="clear:both;">
|
1986 |
+
<tbody>
|
1987 |
+
<tr id="lightbox_overlay_bg">
|
1988 |
+
<td class="spider_label"><label for="lightbox_overlay_bg_color">Overlay background
|
1989 |
+
color: </label></td>
|
1990 |
+
<td>
|
1991 |
+
<input type="text" name="lightbox_overlay_bg_color" id="lightbox_overlay_bg_color"
|
1992 |
+
value="<?php echo $row->lightbox_overlay_bg_color; ?>" class="color"/>
|
1993 |
+
</td>
|
1994 |
+
</tr>
|
1995 |
+
<tr id="lightbox_overlay">
|
1996 |
+
<td class="spider_label"><label for="lightbox_overlay_bg_transparent">Overlay background
|
1997 |
+
transparency: </label></td>
|
1998 |
+
<td>
|
1999 |
+
<input type="text" name="lightbox_overlay_bg_transparent"
|
2000 |
+
id="lightbox_overlay_bg_transparent"
|
2001 |
+
value="<?php echo $row->lightbox_overlay_bg_transparent; ?>"
|
2002 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
2003 |
+
<div class="spider_description">Value must be between 0 to 100.</div>
|
2004 |
+
</td>
|
2005 |
+
</tr>
|
2006 |
+
<tr id="lightbox_bg">
|
2007 |
+
<td class="spider_label"><label for="lightbox_bg_color">Lightbox background
|
2008 |
+
color: </label></td>
|
2009 |
+
<td>
|
2010 |
+
<input type="text" name="lightbox_bg_color" id="lightbox_bg_color"
|
2011 |
+
value="<?php echo $row->lightbox_bg_color; ?>" class="color"/>
|
2012 |
+
</td>
|
2013 |
+
</tr>
|
2014 |
+
<tr id="lightbox_cntrl1">
|
2015 |
+
<td class="spider_label"><label for="lightbox_ctrl_btn_height">Control buttons
|
2016 |
+
height: </label></td>
|
2017 |
+
<td>
|
2018 |
+
<input type="text" name="lightbox_ctrl_btn_height" id="lightbox_ctrl_btn_height"
|
2019 |
+
value="<?php echo $row->lightbox_ctrl_btn_height; ?>"
|
2020 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2021 |
+
</td>
|
2022 |
+
</tr>
|
2023 |
+
<tr id="lightbox_cntrl2">
|
2024 |
+
<td class="spider_label"><label for="lightbox_ctrl_btn_margin_top">Control buttons
|
2025 |
+
margin (top): </label></td>
|
2026 |
+
<td>
|
2027 |
+
<input type="text" name="lightbox_ctrl_btn_margin_top"
|
2028 |
+
id="lightbox_ctrl_btn_margin_top"
|
2029 |
+
value="<?php echo $row->lightbox_ctrl_btn_margin_top; ?>"
|
2030 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2031 |
+
</td>
|
2032 |
+
</tr>
|
2033 |
+
<tr id="lightbox_cntrl3">
|
2034 |
+
<td class="spider_label"><label for="lightbox_ctrl_btn_margin_left">Control buttons
|
2035 |
+
margin (left): </label></td>
|
2036 |
+
<td>
|
2037 |
+
<input type="text" name="lightbox_ctrl_btn_margin_left"
|
2038 |
+
id="lightbox_ctrl_btn_margin_left"
|
2039 |
+
value="<?php echo $row->lightbox_ctrl_btn_margin_left; ?>"
|
2040 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2041 |
+
</td>
|
2042 |
+
</tr>
|
2043 |
+
<tr id="lightbox_cntrl9">
|
2044 |
+
<td class="spider_label"><label>Control buttons position: </label></td>
|
2045 |
+
<td>
|
2046 |
+
<input type="radio" name="lightbox_ctrl_btn_pos" id="lightbox_ctrl_btn_pos1"
|
2047 |
+
value="top"<?php if ($row->lightbox_ctrl_btn_pos == "top") echo 'checked="checked"'; ?> />
|
2048 |
+
<label for="lightbox_ctrl_btn_pos1" id="lightbox_ctrl_btn_pos1_lbl">Top</label>
|
2049 |
+
<input type="radio" name="lightbox_ctrl_btn_pos" id="lightbox_ctrl_btn_pos0"
|
2050 |
+
value="bottom"<?php if ($row->lightbox_ctrl_btn_pos == "bottom") echo 'checked="checked"'; ?> />
|
2051 |
+
<label for="lightbox_ctrl_btn_pos0" id="lightbox_ctrl_btn_pos0_lbl">Bottom</label>
|
2052 |
+
</td>
|
2053 |
+
</tr>
|
2054 |
+
<tr id="lightbox_cntrl8">
|
2055 |
+
<td class="spider_label"><label for="lightbox_ctrl_cont_bg_color">Control buttons
|
2056 |
+
background color: </label></td>
|
2057 |
+
<td>
|
2058 |
+
<input type="text" name="lightbox_ctrl_cont_bg_color"
|
2059 |
+
id="lightbox_ctrl_cont_bg_color"
|
2060 |
+
value="<?php echo $row->lightbox_ctrl_cont_bg_color; ?>" class="color"/>
|
2061 |
+
</td>
|
2062 |
+
</tr>
|
2063 |
+
<tr id="lightbox_cntrl5">
|
2064 |
+
<td class="spider_label"><label for="lightbox_ctrl_cont_border_radius">Control buttons
|
2065 |
+
container border radius: </label></td>
|
2066 |
+
<td>
|
2067 |
+
<input type="text" name="lightbox_ctrl_cont_border_radius"
|
2068 |
+
id="lightbox_ctrl_cont_border_radius"
|
2069 |
+
value="<?php echo $row->lightbox_ctrl_cont_border_radius; ?>"
|
2070 |
+
class="spider_char_input"/>
|
2071 |
+
<div class="spider_description">Use CSS type values.</div>
|
2072 |
+
</td>
|
2073 |
+
</tr>
|
2074 |
+
<tr id="lightbox_cntrl6">
|
2075 |
+
<td class="spider_label"><label for="lightbox_ctrl_cont_transparent">Control buttons
|
2076 |
+
container background transparency: </label></td>
|
2077 |
+
<td>
|
2078 |
+
<input type="text" name="lightbox_ctrl_cont_transparent"
|
2079 |
+
id="lightbox_ctrl_cont_transparent"
|
2080 |
+
value="<?php echo $row->lightbox_ctrl_cont_transparent; ?>"
|
2081 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
2082 |
+
<div class="spider_description">Value must be between 0 to 100.</div>
|
2083 |
+
</td>
|
2084 |
+
</tr>
|
2085 |
+
<tr id="lightbox_cntrl10">
|
2086 |
+
<td class="spider_label"><label for="lightbox_ctrl_btn_align0">Control buttons
|
2087 |
+
alignment: </label></td>
|
2088 |
+
<td>
|
2089 |
+
<select name="lightbox_ctrl_btn_align" id="lightbox_ctrl_btn_align">
|
2090 |
+
<?php
|
2091 |
+
foreach ($aligns as $key => $align) {
|
2092 |
+
?>
|
2093 |
+
<option
|
2094 |
+
value="<?php echo $key; ?>" <?php echo(($row->lightbox_ctrl_btn_align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
|
2095 |
+
<?php
|
2096 |
+
}
|
2097 |
+
?>
|
2098 |
+
</select>
|
2099 |
+
</td>
|
2100 |
+
</tr>
|
2101 |
+
<!-- <tr id="lightbox_cntrl7">
|
2102 |
+
<td class="spider_label"><label for="lightbox_ctrl_btn_color">Control buttons color: </label></td>
|
2103 |
+
<td>
|
2104 |
+
<input type="text" name="lightbox_ctrl_btn_color" id="lightbox_ctrl_btn_color" value="<?php echo $row->lightbox_ctrl_btn_color; ?>" class="color"/>
|
2105 |
+
</td>
|
2106 |
+
</tr> -->
|
2107 |
+
<tr id="lightbox_cntrl4">
|
2108 |
+
<td class="spider_label"><label for="lightbox_ctrl_btn_transparent">Control buttons
|
2109 |
+
transparency: </label></td>
|
2110 |
+
<td>
|
2111 |
+
<input type="text" name="lightbox_ctrl_btn_transparent"
|
2112 |
+
id="lightbox_ctrl_btn_transparent"
|
2113 |
+
value="<?php echo $row->lightbox_ctrl_btn_transparent; ?>"
|
2114 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
2115 |
+
<div class="spider_description">Value must be between 0 to 100.</div>
|
2116 |
+
</td>
|
2117 |
+
</tr>
|
2118 |
+
<tr id="lightbox_toggle1">
|
2119 |
+
<td class="spider_label"><label for="lightbox_toggle_btn_height">Toggle button
|
2120 |
+
height: </label></td>
|
2121 |
+
<td>
|
2122 |
+
<input type="text" name="lightbox_toggle_btn_height" id="lightbox_toggle_btn_height"
|
2123 |
+
value="<?php echo $row->lightbox_toggle_btn_height; ?>"
|
2124 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2125 |
+
</td>
|
2126 |
+
</tr>
|
2127 |
+
<tr id="lightbox_toggle2">
|
2128 |
+
<td class="spider_label"><label for="lightbox_toggle_btn_width">Toggle button
|
2129 |
+
width: </label></td>
|
2130 |
+
<td>
|
2131 |
+
<input type="text" name="lightbox_toggle_btn_width" id="lightbox_toggle_btn_width"
|
2132 |
+
value="<?php echo $row->lightbox_toggle_btn_width; ?>"
|
2133 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2134 |
+
</td>
|
2135 |
+
</tr>
|
2136 |
+
<tr id="lightbox_close1">
|
2137 |
+
<td class="spider_label"><label for="lightbox_close_btn_border_radius">Close button
|
2138 |
+
border radius: </label>
|
2139 |
+
</td>
|
2140 |
+
<td>
|
2141 |
+
<input type="text" name="lightbox_close_btn_border_radius"
|
2142 |
+
id="lightbox_close_btn_border_radius"
|
2143 |
+
value="<?php echo $row->lightbox_close_btn_border_radius; ?>"
|
2144 |
+
class="spider_char_input"/>
|
2145 |
+
<div class="spider_description">Use CSS type values.</div>
|
2146 |
+
</td>
|
2147 |
+
</tr>
|
2148 |
+
<tr id="lightbox_close2">
|
2149 |
+
<td class="spider_label"><label for="lightbox_close_btn_border_width">Close button
|
2150 |
+
border width: </label></td>
|
2151 |
+
<td>
|
2152 |
+
<input type="text" name="lightbox_close_btn_border_width"
|
2153 |
+
id="lightbox_close_btn_border_width"
|
2154 |
+
value="<?php echo $row->lightbox_close_btn_border_width; ?>"
|
2155 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2156 |
+
</td>
|
2157 |
+
</tr>
|
2158 |
+
<tr id="lightbox_close12">
|
2159 |
+
<td class="spider_label"><label for="lightbox_close_btn_border_style">Close button
|
2160 |
+
border style: </label></td>
|
2161 |
+
<td>
|
2162 |
+
<select name="lightbox_close_btn_border_style" id="lightbox_close_btn_border_style">
|
2163 |
+
<?php
|
2164 |
+
foreach ($border_styles as $key => $border_style) {
|
2165 |
+
?>
|
2166 |
+
<option
|
2167 |
+
value="<?php echo $key; ?>" <?php echo(($row->lightbox_close_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
|
2168 |
+
<?php
|
2169 |
+
}
|
2170 |
+
?>
|
2171 |
+
</select>
|
2172 |
+
</td>
|
2173 |
+
</tr>
|
2174 |
+
<tr id="lightbox_close13">
|
2175 |
+
<td class="spider_label"><label for="lightbox_close_btn_border_color">Close button
|
2176 |
+
border color: </label></td>
|
2177 |
+
<td>
|
2178 |
+
<input type="text" name="lightbox_close_btn_border_color"
|
2179 |
+
id="lightbox_close_btn_border_color"
|
2180 |
+
value="<?php echo $row->lightbox_close_btn_border_color; ?>" class="color"/>
|
2181 |
+
</td>
|
2182 |
+
</tr>
|
2183 |
+
<tr id="lightbox_close3">
|
2184 |
+
<td class="spider_label"><label for="lightbox_close_btn_box_shadow">Close button box
|
2185 |
+
shadow: </label></td>
|
2186 |
+
<td>
|
2187 |
+
<input type="text" name="lightbox_close_btn_box_shadow"
|
2188 |
+
id="lightbox_close_btn_box_shadow"
|
2189 |
+
value="<?php echo $row->lightbox_close_btn_box_shadow; ?>"
|
2190 |
+
class="spider_box_input"/>
|
2191 |
+
<div class="spider_description">Use CSS type values.</div>
|
2192 |
+
</td>
|
2193 |
+
</tr>
|
2194 |
+
<tr id="lightbox_close11">
|
2195 |
+
<td class="spider_label"><label for="lightbox_close_btn_bg_color">Close button
|
2196 |
+
background color: </label></td>
|
2197 |
+
<td>
|
2198 |
+
<input type="text" name="lightbox_close_btn_bg_color"
|
2199 |
+
id="lightbox_close_btn_bg_color"
|
2200 |
+
value="<?php echo $row->lightbox_close_btn_bg_color; ?>" class="color"/>
|
2201 |
+
</td>
|
2202 |
+
</tr>
|
2203 |
+
<tr id="lightbox_close9">
|
2204 |
+
<td class="spider_label"><label for="lightbox_close_btn_transparent">Close button
|
2205 |
+
transparency: </label></td>
|
2206 |
+
<td>
|
2207 |
+
<input type="text" name="lightbox_close_btn_transparent"
|
2208 |
+
id="lightbox_close_btn_transparent"
|
2209 |
+
value="<?php echo $row->lightbox_close_btn_transparent; ?>"
|
2210 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
2211 |
+
</td>
|
2212 |
+
</tr>
|
2213 |
+
<tr id="lightbox_close5">
|
2214 |
+
<td class="spider_label"><label for="lightbox_close_btn_width">Close button
|
2215 |
+
width: </label></td>
|
2216 |
+
<td>
|
2217 |
+
<input type="text" name="lightbox_close_btn_width" id="lightbox_close_btn_width"
|
2218 |
+
value="<?php echo $row->lightbox_close_btn_width; ?>"
|
2219 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2220 |
+
</td>
|
2221 |
+
</tr>
|
2222 |
+
<tr id="lightbox_close6">
|
2223 |
+
<td class="spider_label"><label for="lightbox_close_btn_height">Close button
|
2224 |
+
height: </label></td>
|
2225 |
+
<td>
|
2226 |
+
<input type="text" name="lightbox_close_btn_height" id="lightbox_close_btn_height"
|
2227 |
+
value="<?php echo $row->lightbox_close_btn_height; ?>"
|
2228 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2229 |
+
</td>
|
2230 |
+
</tr>
|
2231 |
+
<tr id="lightbox_close7">
|
2232 |
+
<td class="spider_label"><label for="lightbox_close_btn_top">Close button top: </label>
|
2233 |
+
</td>
|
2234 |
+
<td>
|
2235 |
+
<input type="text" name="lightbox_close_btn_top" id="lightbox_close_btn_top"
|
2236 |
+
value="<?php echo $row->lightbox_close_btn_top; ?>" class="spider_int_input"
|
2237 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
2238 |
+
</td>
|
2239 |
+
</tr>
|
2240 |
+
<tr id="lightbox_close8">
|
2241 |
+
<td class="spider_label"><label for="lightbox_close_btn_right">Close button
|
2242 |
+
right: </label></td>
|
2243 |
+
<td>
|
2244 |
+
<input type="text" name="lightbox_close_btn_right" id="lightbox_close_btn_right"
|
2245 |
+
value="<?php echo $row->lightbox_close_btn_right; ?>"
|
2246 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2247 |
+
</td>
|
2248 |
+
</tr>
|
2249 |
+
<tr id="lightbox_close4">
|
2250 |
+
<td class="spider_label"><label for="lightbox_close_btn_size">Close button
|
2251 |
+
size: </label></td>
|
2252 |
+
<td>
|
2253 |
+
<input type="text" name="lightbox_close_btn_size" id="lightbox_close_btn_size"
|
2254 |
+
value="<?php echo $row->lightbox_close_btn_size; ?>" class="spider_int_input"
|
2255 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
2256 |
+
</td>
|
2257 |
+
</tr>
|
2258 |
+
<!-- <tr id="lightbox_close14">
|
2259 |
+
<td class="spider_label"><label for="lightbox_close_btn_color">Close button color: </label></td>
|
2260 |
+
<td>
|
2261 |
+
<input type="text" name="lightbox_close_btn_color" id="lightbox_close_btn_color" value="<?php echo $row->lightbox_close_btn_color; ?>" class="color"/>
|
2262 |
+
</td>
|
2263 |
+
</tr>
|
2264 |
+
<tr id="lightbox_close10">
|
2265 |
+
<td class="spider_label"><label for="lightbox_close_btn_full_color">Fullscreen close button color: </label></td>
|
2266 |
+
<td>
|
2267 |
+
<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"/>
|
2268 |
+
</td>
|
2269 |
+
</tr> -->
|
2270 |
+
</tbody>
|
2271 |
+
</table>
|
2272 |
+
</fieldset>
|
2273 |
+
<fieldset class="spider_child_fieldset" id="Lightbox_2">
|
2274 |
+
<table style="clear:both;">
|
2275 |
+
<tbody>
|
2276 |
+
<!-- <tr id="lightbox_right_left11">
|
2277 |
+
<td class="spider_label"><label for="lightbox_rl_btn_style">Right, left buttons style: </label></td>
|
2278 |
+
<td>
|
2279 |
+
<select name="lightbox_rl_btn_style" id="lightbox_rl_btn_style" class="spider_int_input">
|
2280 |
+
<?php
|
2281 |
+
foreach ($button_styles as $key => $button_style) {
|
2282 |
+
?>
|
2283 |
+
<option value="<?php echo $key; ?>" <?php echo(($row->lightbox_rl_btn_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $button_style; ?></option>
|
2284 |
+
<?php
|
2285 |
+
}
|
2286 |
+
?>
|
2287 |
+
</select>
|
2288 |
+
</td>
|
2289 |
+
</tr> -->
|
2290 |
+
<tr id="lightbox_right_left7">
|
2291 |
+
<td class="spider_label"><label for="lightbox_rl_btn_bg_color">Right, left buttons
|
2292 |
+
background color: </label></td>
|
2293 |
+
<td>
|
2294 |
+
<input type="text" name="lightbox_rl_btn_bg_color" id="lightbox_rl_btn_bg_color"
|
2295 |
+
value="<?php echo $row->lightbox_rl_btn_bg_color; ?>" class="color"/>
|
2296 |
+
</td>
|
2297 |
+
</tr>
|
2298 |
+
<tr>
|
2299 |
+
<td class="spider_label"><label for="lightbox_rl_btn_transparent">Right, left buttons
|
2300 |
+
transparency: </label></td>
|
2301 |
+
<td>
|
2302 |
+
<input type="text" name="lightbox_rl_btn_transparent"
|
2303 |
+
id="lightbox_rl_btn_transparent"
|
2304 |
+
value="<?php echo $row->lightbox_rl_btn_transparent; ?>"
|
2305 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
2306 |
+
</td>
|
2307 |
+
</tr>
|
2308 |
+
<tr id="lightbox_right_left3">
|
2309 |
+
<td class="spider_label"><label for="lightbox_rl_btn_box_shadow">Right, left buttons box
|
2310 |
+
shadow: </label></td>
|
2311 |
+
<td>
|
2312 |
+
<input type="text" name="lightbox_rl_btn_box_shadow" id="lightbox_rl_btn_box_shadow"
|
2313 |
+
value="<?php echo $row->lightbox_rl_btn_box_shadow; ?>"
|
2314 |
+
class="spider_box_input"/>
|
2315 |
+
<div class="spider_description">Use CSS type values.</div>
|
2316 |
+
</td>
|
2317 |
+
</tr>
|
2318 |
+
<tr id="lightbox_right_left4">
|
2319 |
+
<td class="spider_label"><label for="lightbox_rl_btn_height">Right, left buttons
|
2320 |
+
height: </label></td>
|
2321 |
+
<td>
|
2322 |
+
<input type="text" name="lightbox_rl_btn_height" id="lightbox_rl_btn_height"
|
2323 |
+
value="<?php echo $row->lightbox_rl_btn_height; ?>" class="spider_int_input"
|
2324 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
2325 |
+
</td>
|
2326 |
+
</tr>
|
2327 |
+
<tr id="lightbox_right_left5">
|
2328 |
+
<td class="spider_label"><label for="lightbox_rl_btn_width">Right, left buttons
|
2329 |
+
width: </label></td>
|
2330 |
+
<td>
|
2331 |
+
<input type="text" name="lightbox_rl_btn_width" id="lightbox_rl_btn_width"
|
2332 |
+
value="<?php echo $row->lightbox_rl_btn_width; ?>" class="spider_int_input"
|
2333 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
2334 |
+
</td>
|
2335 |
+
</tr>
|
2336 |
+
<tr id="lightbox_right_left6">
|
2337 |
+
<td class="spider_label"><label for="lightbox_rl_btn_size">Right, left buttons
|
2338 |
+
size: </label></td>
|
2339 |
+
<td>
|
2340 |
+
<input type="text" name="lightbox_rl_btn_size" id="lightbox_rl_btn_size"
|
2341 |
+
value="<?php echo $row->lightbox_rl_btn_size; ?>" class="spider_int_input"
|
2342 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
2343 |
+
</td>
|
2344 |
+
</tr>
|
2345 |
+
<!-- <tr id="lightbox_close15">
|
2346 |
+
<td class="spider_label"><label for="lightbox_close_rl_btn_hover_color">Right, left, close buttons hover color: </label></td>
|
2347 |
+
<td>
|
2348 |
+
<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" />
|
2349 |
+
</td>
|
2350 |
+
</tr>
|
2351 |
+
<tr id="lightbox_right_left10">
|
2352 |
+
<td class="spider_label"><label for="lightbox_rl_btn_color">Right, left buttons color: </label></td>
|
2353 |
+
<td>
|
2354 |
+
<input type="text" name="lightbox_rl_btn_color" id="lightbox_rl_btn_color" value="<?php echo $row->lightbox_rl_btn_color; ?>" class="color"/>
|
2355 |
+
</td>
|
2356 |
+
</tr> -->
|
2357 |
+
<tr id="lightbox_right_left1">
|
2358 |
+
<td class="spider_label"><label for="lightbox_rl_btn_border_radius">Right, left buttons
|
2359 |
+
border radius: </label></td>
|
2360 |
+
<td>
|
2361 |
+
<input type="text" name="lightbox_rl_btn_border_radius"
|
2362 |
+
id="lightbox_rl_btn_border_radius"
|
2363 |
+
value="<?php echo $row->lightbox_rl_btn_border_radius; ?>"
|
2364 |
+
class="spider_char_input"/>
|
2365 |
+
<div class="spider_description">Use CSS type values.</div>
|
2366 |
+
</td>
|
2367 |
+
</tr>
|
2368 |
+
<tr id="lightbox_right_left2">
|
2369 |
+
<td class="spider_label"><label for="lightbox_rl_btn_border_width">Right, left buttons
|
2370 |
+
border width: </label></td>
|
2371 |
+
<td>
|
2372 |
+
<input type="text" name="lightbox_rl_btn_border_width"
|
2373 |
+
id="lightbox_rl_btn_border_width"
|
2374 |
+
value="<?php echo $row->lightbox_rl_btn_border_width; ?>"
|
2375 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2376 |
+
</td>
|
2377 |
+
</tr>
|
2378 |
+
<tr id="lightbox_right_left8">
|
2379 |
+
<td class="spider_label"><label for="lightbox_rl_btn_border_style">Right, left buttons
|
2380 |
+
border style: </label></td>
|
2381 |
+
<td>
|
2382 |
+
<select name="lightbox_rl_btn_border_style" id="lightbox_rl_btn_border_style">
|
2383 |
+
<?php
|
2384 |
+
foreach ($border_styles as $key => $border_style) {
|
2385 |
+
?>
|
2386 |
+
<option
|
2387 |
+
value="<?php echo $key; ?>" <?php echo(($row->lightbox_rl_btn_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
|
2388 |
+
<?php
|
2389 |
+
}
|
2390 |
+
?>
|
2391 |
+
</select>
|
2392 |
+
</td>
|
2393 |
+
</tr>
|
2394 |
+
<tr id="lightbox_right_left9">
|
2395 |
+
<td class="spider_label"><label for="lightbox_rl_btn_border_color">Right, left buttons
|
2396 |
+
border color: </label></td>
|
2397 |
+
<td>
|
2398 |
+
<input type="text" name="lightbox_rl_btn_border_color"
|
2399 |
+
id="lightbox_rl_btn_border_color"
|
2400 |
+
value="<?php echo $row->lightbox_rl_btn_border_color; ?>" class="color"/>
|
2401 |
+
</td>
|
2402 |
+
</tr>
|
2403 |
+
<tr id="lightbox_filmstrip12">
|
2404 |
+
<td class="spider_label"><label>Filmstrip position: </label></td>
|
2405 |
+
<td>
|
2406 |
+
<select name="lightbox_filmstrip_pos" id="lightbox_filmstrip_pos">
|
2407 |
+
<option
|
2408 |
+
value="top" <?php echo(($row->lightbox_filmstrip_pos == "top") ? 'selected="selected"' : ''); ?>>
|
2409 |
+
Top
|
2410 |
+
</option>
|
2411 |
+
<option
|
2412 |
+
value="right" <?php echo(($row->lightbox_filmstrip_pos == "right") ? 'selected="selected"' : ''); ?>>
|
2413 |
+
Right
|
2414 |
+
</option>
|
2415 |
+
<option
|
2416 |
+
value="bottom" <?php echo(($row->lightbox_filmstrip_pos == "bottom") ? 'selected="selected"' : ''); ?>>
|
2417 |
+
Bottom
|
2418 |
+
</option>
|
2419 |
+
<option
|
2420 |
+
value="left" <?php echo(($row->lightbox_filmstrip_pos == "left") ? 'selected="selected"' : ''); ?>>
|
2421 |
+
Left
|
2422 |
+
</option>
|
2423 |
+
</select>
|
2424 |
+
</td>
|
2425 |
+
</tr>
|
2426 |
+
<tr id="lightbox_filmstrip2">
|
2427 |
+
<td class="spider_label"><label for="lightbox_filmstrip_thumb_margin">Filmstrip
|
2428 |
+
thumbnail margin: </label></td>
|
2429 |
+
<td>
|
2430 |
+
<input type="text" name="lightbox_filmstrip_thumb_margin"
|
2431 |
+
id="lightbox_filmstrip_thumb_margin"
|
2432 |
+
value="<?php echo $row->lightbox_filmstrip_thumb_margin; ?>"
|
2433 |
+
class="spider_char_input"/>
|
2434 |
+
<div class="spider_description">Use CSS type values.</div>
|
2435 |
+
</td>
|
2436 |
+
</tr>
|
2437 |
+
<tr id="lightbox_filmstrip3">
|
2438 |
+
<td class="spider_label"><label for="lightbox_filmstrip_thumb_border_width">Filmstrip
|
2439 |
+
thumbnail border width: </label></td>
|
2440 |
+
<td>
|
2441 |
+
<input type="text" name="lightbox_filmstrip_thumb_border_width"
|
2442 |
+
id="lightbox_filmstrip_thumb_border_width"
|
2443 |
+
value="<?php echo $row->lightbox_filmstrip_thumb_border_width; ?>"
|
2444 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2445 |
+
</td>
|
2446 |
+
</tr>
|
2447 |
+
<tr id="lightbox_filmstrip9">
|
2448 |
+
<td class="spider_label"><label for="lightbox_filmstrip_thumb_border_style">Filmstrip
|
2449 |
+
thumbnail border style: </label></td>
|
2450 |
+
<td>
|
2451 |
+
<select name="lightbox_filmstrip_thumb_border_style"
|
2452 |
+
id="lightbox_filmstrip_thumb_border_style">
|
2453 |
+
<?php
|
2454 |
+
foreach ($border_styles as $key => $border_style) {
|
2455 |
+
?>
|
2456 |
+
<option
|
2457 |
+
value="<?php echo $key; ?>" <?php echo(($row->lightbox_filmstrip_thumb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
|
2458 |
+
<?php
|
2459 |
+
}
|
2460 |
+
?>
|
2461 |
+
</select>
|
2462 |
+
</td>
|
2463 |
+
</tr>
|
2464 |
+
<tr id="lightbox_filmstrip10">
|
2465 |
+
<td class="spider_label"><label for="lightbox_filmstrip_thumb_border_color">Filmstrip
|
2466 |
+
thumbnail border color: </label></td>
|
2467 |
+
<td>
|
2468 |
+
<input type="text" name="lightbox_filmstrip_thumb_border_color"
|
2469 |
+
id="lightbox_filmstrip_thumb_border_color"
|
2470 |
+
value="<?php echo $row->lightbox_filmstrip_thumb_border_color; ?>"
|
2471 |
+
class="color"/>
|
2472 |
+
</td>
|
2473 |
+
</tr>
|
2474 |
+
<tr id="lightbox_filmstrip4">
|
2475 |
+
<td class="spider_label"><label for="lightbox_filmstrip_thumb_border_radius">Filmstrip
|
2476 |
+
thumbnail border radius: </label></td>
|
2477 |
+
<td>
|
2478 |
+
<input type="text" name="lightbox_filmstrip_thumb_border_radius"
|
2479 |
+
id="lightbox_filmstrip_thumb_border_radius"
|
2480 |
+
value="<?php echo $row->lightbox_filmstrip_thumb_border_radius; ?>"
|
2481 |
+
class="spider_char_input"/>
|
2482 |
+
<div class="spider_description">Use CSS type values.</div>
|
2483 |
+
</td>
|
2484 |
+
</tr>
|
2485 |
+
<tr id="lightbox_filmstrip6">
|
2486 |
+
<td class="spider_label"><label for="lightbox_filmstrip_thumb_active_border_width">Filmstrip
|
2487 |
+
thumbnail active border width: </label></td>
|
2488 |
+
<td>
|
2489 |
+
<input type="text" name="lightbox_filmstrip_thumb_active_border_width"
|
2490 |
+
id="lightbox_filmstrip_thumb_active_border_width"
|
2491 |
+
value="<?php echo $row->lightbox_filmstrip_thumb_active_border_width; ?>"
|
2492 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2493 |
+
</td>
|
2494 |
+
</tr>
|
2495 |
+
<tr id="lightbox_filmstrip11">
|
2496 |
+
<td class="spider_label"><label for="lightbox_filmstrip_thumb_active_border_color">Filmstrip
|
2497 |
+
thumbnail active border color:</label></td>
|
2498 |
+
<td>
|
2499 |
+
<input type="text" name="lightbox_filmstrip_thumb_active_border_color"
|
2500 |
+
id="lightbox_filmstrip_thumb_active_border_color"
|
2501 |
+
value="<?php echo $row->lightbox_filmstrip_thumb_active_border_color; ?>"
|
2502 |
+
class="color"/>
|
2503 |
+
</td>
|
2504 |
+
</tr>
|
2505 |
+
<tr id="lightbox_filmstrip5">
|
2506 |
+
<td class="spider_label"><label for="lightbox_filmstrip_thumb_deactive_transparent">Filmstrip
|
2507 |
+
thumbnail deactive transparency: </label></td>
|
2508 |
+
<td>
|
2509 |
+
<input type="text" name="lightbox_filmstrip_thumb_deactive_transparent"
|
2510 |
+
id="lightbox_filmstrip_thumb_deactive_transparent"
|
2511 |
+
value="<?php echo $row->lightbox_filmstrip_thumb_deactive_transparent; ?>"
|
2512 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
|
2513 |
+
<div class="spider_description">Value must be between 0 to 100.</div>
|
2514 |
+
</td>
|
2515 |
+
</tr>
|
2516 |
+
<tr id="lightbox_filmstrip1">
|
2517 |
+
<td class="spider_label"><label for="lightbox_filmstrip_rl_btn_size">Filmstrip right,
|
2518 |
+
left buttons size: </label></td>
|
2519 |
+
<td>
|
2520 |
+
<input type="text" name="lightbox_filmstrip_rl_btn_size"
|
2521 |
+
id="lightbox_filmstrip_rl_btn_size"
|
2522 |
+
value="<?php echo $row->lightbox_filmstrip_rl_btn_size; ?>"
|
2523 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2524 |
+
</td>
|
2525 |
+
</tr>
|
2526 |
+
<!-- <tr id="lightbox_filmstrip7">
|
2527 |
+
<td class="spider_label"><label for="lightbox_filmstrip_rl_btn_color">Filmstrip right, left buttons color: </label></td>
|
2528 |
+
<td>
|
2529 |
+
<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"/>
|
2530 |
+
</td>
|
2531 |
+
</tr> -->
|
2532 |
+
<tr id="lightbox_filmstrip8">
|
2533 |
+
<td class="spider_label"><label for="lightbox_filmstrip_rl_bg_color">Filmstrip right,
|
2534 |
+
left button background color:</label></td>
|
2535 |
+
<td>
|
2536 |
+
<input type="text" name="lightbox_filmstrip_rl_bg_color"
|
2537 |
+
id="lightbox_filmstrip_rl_bg_color"
|
2538 |
+
value="<?php echo $row->lightbox_filmstrip_rl_bg_color; ?>" class="color"/>
|
2539 |
+
</td>
|
2540 |
+
</tr>
|
2541 |
+
<tr>
|
2542 |
+
<td class="spider_label"><label for="lightbox_evt_str_color">Event place(street)
|
2543 |
+
color: </label></td>
|
2544 |
+
<td>
|
2545 |
+
<input type="text" name="lightbox_evt_str_color" id="lightbox_evt_str_color"
|
2546 |
+
value="<?php echo $row->lightbox_evt_str_color; ?>" class="color"/>
|
2547 |
+
</td>
|
2548 |
+
</tr>
|
2549 |
+
<tr>
|
2550 |
+
<td class="spider_label"><label for="lightbox_evt_str_size">Event place(street) font
|
2551 |
+
size: </label></td>
|
2552 |
+
<td>
|
2553 |
+
<input type="text" name="lightbox_evt_str_size" id="lightbox_evt_str_size"
|
2554 |
+
value="<?php echo $row->lightbox_evt_str_size; ?>" class="spider_int_input"
|
2555 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
2556 |
+
</td>
|
2557 |
+
</tr>
|
2558 |
+
<tr>
|
2559 |
+
<td class="spider_label"><label for="lightbox_evt_str_font_weight">Event place(street)
|
2560 |
+
font weight: </label></td>
|
2561 |
+
<td>
|
2562 |
+
<select name="lightbox_evt_str_font_weight" id="lightbox_evt_str_font_weight">
|
2563 |
+
<?php
|
2564 |
+
foreach ($font_weights as $key => $font_weight) {
|
2565 |
+
?>
|
2566 |
+
<option
|
2567 |
+
value="<?php echo $key; ?>" <?php echo(($row->lightbox_evt_str_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
2568 |
+
<?php
|
2569 |
+
}
|
2570 |
+
?>
|
2571 |
+
</select>
|
2572 |
+
</td>
|
2573 |
+
</tr>
|
2574 |
+
<tr>
|
2575 |
+
<td class="spider_label"><label for="lightbox_evt_ctzpcn_color">Event place(city, zip,
|
2576 |
+
country) color: </label></td>
|
2577 |
+
<td>
|
2578 |
+
<input type="text" name="lightbox_evt_ctzpcn_color" id="lightbox_evt_ctzpcn_color"
|
2579 |
+
value="<?php echo $row->lightbox_evt_ctzpcn_color; ?>" class="color"/>
|
2580 |
+
</td>
|
2581 |
+
</tr>
|
2582 |
+
<tr>
|
2583 |
+
<td class="spider_label"><label for="lightbox_evt_ctzpcn_size">Event place(city, zip,
|
2584 |
+
country) font size: </label></td>
|
2585 |
+
<td>
|
2586 |
+
<input type="text" name="lightbox_evt_ctzpcn_size" id="lightbox_evt_ctzpcn_size"
|
2587 |
+
value="<?php echo $row->lightbox_evt_ctzpcn_size; ?>"
|
2588 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2589 |
+
</td>
|
2590 |
+
</tr>
|
2591 |
+
<tr>
|
2592 |
+
<td class="spider_label"><label for="lightbox_evt_ctzpcn_font_weight">Event place(city,
|
2593 |
+
zip, country) font weight: </label></td>
|
2594 |
+
<td>
|
2595 |
+
<select name="lightbox_evt_ctzpcn_font_weight" id="lightbox_evt_ctzpcn_font_weight">
|
2596 |
+
<?php
|
2597 |
+
foreach ($font_weights as $key => $font_weight) {
|
2598 |
+
?>
|
2599 |
+
<option
|
2600 |
+
value="<?php echo $key; ?>" <?php echo(($row->lightbox_evt_ctzpcn_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
2601 |
+
<?php
|
2602 |
+
}
|
2603 |
+
?>
|
2604 |
+
</select>
|
2605 |
+
</td>
|
2606 |
+
</tr>
|
2607 |
+
<tr>
|
2608 |
+
<td class="spider_label"><label for="lightbox_evt_map_color">Event place(map)
|
2609 |
+
color: </label></td>
|
2610 |
+
<td>
|
2611 |
+
<input type="text" name="lightbox_evt_map_color" id="lightbox_evt_map_color"
|
2612 |
+
value="<?php echo $row->lightbox_evt_map_color; ?>" class="color"/>
|
2613 |
+
</td>
|
2614 |
+
</tr>
|
2615 |
+
<tr>
|
2616 |
+
<td class="spider_label"><label for="lightbox_evt_map_size">Event place(map) font
|
2617 |
+
size: </label></td>
|
2618 |
+
<td>
|
2619 |
+
<input type="text" name="lightbox_evt_map_size" id="lightbox_evt_map_size"
|
2620 |
+
value="<?php echo $row->lightbox_evt_map_size; ?>" class="spider_int_input"
|
2621 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
2622 |
+
</td>
|
2623 |
+
</tr>
|
2624 |
+
<tr>
|
2625 |
+
<td class="spider_label"><label for="lightbox_evt_map_font_weight">Event place(map) font
|
2626 |
+
weight: </label></td>
|
2627 |
+
<td>
|
2628 |
+
<select name="lightbox_evt_map_font_weight" id="lightbox_evt_map_font_weight">
|
2629 |
+
<?php
|
2630 |
+
foreach ($font_weights as $key => $font_weight) {
|
2631 |
+
?>
|
2632 |
+
<option
|
2633 |
+
value="<?php echo $key; ?>" <?php echo(($row->lightbox_evt_map_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
2634 |
+
<?php
|
2635 |
+
}
|
2636 |
+
?>
|
2637 |
+
</select>
|
2638 |
+
</td>
|
2639 |
+
</tr>
|
2640 |
+
<tr>
|
2641 |
+
<td class="spider_label"><label for="lightbox_evt_date_color">Event date color: </label>
|
2642 |
+
</td>
|
2643 |
+
<td>
|
2644 |
+
<input type="text" name="lightbox_evt_date_color" id="lightbox_evt_date_color"
|
2645 |
+
value="<?php echo $row->lightbox_evt_date_color; ?>" class="color"/>
|
2646 |
+
</td>
|
2647 |
+
</tr>
|
2648 |
+
<tr>
|
2649 |
+
<td class="spider_label"><label for="lightbox_evt_date_size">Event date font
|
2650 |
+
size: </label></td>
|
2651 |
+
<td>
|
2652 |
+
<input type="text" name="lightbox_evt_date_size" id="lightbox_evt_date_size"
|
2653 |
+
value="<?php echo $row->lightbox_evt_date_size; ?>" class="spider_int_input"
|
2654 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
2655 |
+
</td>
|
2656 |
+
</tr>
|
2657 |
+
<tr>
|
2658 |
+
<td class="spider_label"><label for="lightbox_evt_date_font_weight">Event date font
|
2659 |
+
weight: </label></td>
|
2660 |
+
<td>
|
2661 |
+
<select name="lightbox_evt_date_font_weight" id="lightbox_evt_date_font_weight">
|
2662 |
+
<?php
|
2663 |
+
foreach ($font_weights as $key => $font_weight) {
|
2664 |
+
?>
|
2665 |
+
<option
|
2666 |
+
value="<?php echo $key; ?>" <?php echo(($row->lightbox_evt_date_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
2667 |
+
<?php
|
2668 |
+
}
|
2669 |
+
?>
|
2670 |
+
</select>
|
2671 |
+
</td>
|
2672 |
+
</tr>
|
2673 |
+
<tr>
|
2674 |
+
<td class="spider_label"><label for="lightbox_evt_info_font_family">Event font
|
2675 |
+
family: </label></td>
|
2676 |
+
<td>
|
2677 |
+
<select name="lightbox_evt_info_font_family" id="lightbox_evt_info_font_family">
|
2678 |
+
<?php
|
2679 |
+
foreach ($font_families as $key => $font_family) {
|
2680 |
+
?>
|
2681 |
+
<option
|
2682 |
+
value="<?php echo $key; ?>" <?php echo(($row->lightbox_evt_info_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
2683 |
+
<?php
|
2684 |
+
}
|
2685 |
+
?>
|
2686 |
+
</select>
|
2687 |
+
</td>
|
2688 |
+
</tr>
|
2689 |
+
|
2690 |
+
</tbody>
|
2691 |
+
</table>
|
2692 |
+
</fieldset>
|
2693 |
+
<fieldset class="spider_child_fieldset" id="Lightbox_3">
|
2694 |
+
<table style="clear:both;">
|
2695 |
+
<tbody>
|
2696 |
+
<tr>
|
2697 |
+
<td class="spider_label"><label for="lightbox_obj_width">Info Width: </label></td>
|
2698 |
+
<td>
|
2699 |
+
<input type="text" name="lightbox_obj_width" id="lightbox_obj_width"
|
2700 |
+
value="<?php echo $row->lightbox_obj_width; ?>" class="spider_int_input"
|
2701 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
2702 |
+
</td>
|
2703 |
+
</tr>
|
2704 |
+
<tr id="lightbox_comment25">
|
2705 |
+
<td class="spider_label"><label>Info position: </label></td>
|
2706 |
+
<td>
|
2707 |
+
<input type="radio" name="lightbox_obj_pos" id="lightbox_obj_pos1"
|
2708 |
+
value="left"<?php if ($row->lightbox_obj_pos == "left") echo 'checked="checked"'; ?> />
|
2709 |
+
<label for="lightbox_obj_pos1" id="lightbox_obj_pos1_lbl">Left</label>
|
2710 |
+
<input type="radio" name="lightbox_obj_pos" id="lightbox_obj_pos0"
|
2711 |
+
value="right"<?php if ($row->lightbox_obj_pos == "right") echo 'checked="checked"'; ?> />
|
2712 |
+
<label for="lightbox_obj_pos0" id="lightbox_obj_pos0_lbl">Right</label>
|
2713 |
+
</td>
|
2714 |
+
</tr>
|
2715 |
+
<tr>
|
2716 |
+
<td class="spider_label"><label for="lightbox_obj_info_bg_color">Info background
|
2717 |
+
color: </label></td>
|
2718 |
+
<td>
|
2719 |
+
<input type="text" name="lightbox_obj_info_bg_color" id="lightbox_obj_info_bg_color"
|
2720 |
+
value="<?php echo $row->lightbox_obj_info_bg_color; ?>" class="color"/>
|
2721 |
+
</td>
|
2722 |
+
</tr>
|
2723 |
+
<tr>
|
2724 |
+
<td class="spider_label"><label for="lightbox_obj_icons_color">Info icons
|
2725 |
+
color: </label></td>
|
2726 |
+
<td>
|
2727 |
+
<select name="lightbox_obj_icons_color" id="lightbox_obj_icons_color">
|
2728 |
+
<option
|
2729 |
+
value="gray" <?php echo(($row->lightbox_obj_icons_color == "gray") ? 'selected="selected"' : ''); ?>>
|
2730 |
+
Gray
|
2731 |
+
</option>
|
2732 |
+
<option
|
2733 |
+
value="white" <?php echo(($row->lightbox_obj_icons_color == "white") ? 'selected="selected"' : ''); ?>>
|
2734 |
+
White
|
2735 |
+
</option>
|
2736 |
+
<option
|
2737 |
+
value="blue" <?php echo(($row->lightbox_obj_icons_color == "blue") ? 'selected="selected"' : ''); ?>>
|
2738 |
+
Blue
|
2739 |
+
</option>
|
2740 |
+
</select>
|
2741 |
+
</td>
|
2742 |
+
</tr>
|
2743 |
+
<tr>
|
2744 |
+
<td class="spider_label"><label for="lightbox_obj_icons_color_likes_comments_count">Info
|
2745 |
+
icons
|
2746 |
+
color _comments_count: </label></td>
|
2747 |
+
<td>
|
2748 |
+
<select name="lightbox_obj_icons_color_likes_comments_count"
|
2749 |
+
id="lightbox_obj_icons_color_likes_comments_count">
|
2750 |
+
<option
|
2751 |
+
value="gray" <?php echo((isset($row->lightbox_obj_icons_color_likes_comments_count) && $row->lightbox_obj_icons_color_likes_comments_count == "gray") ? 'selected="selected"' : ''); ?>>
|
2752 |
+
Gray
|
2753 |
+
</option>
|
2754 |
+
<option
|
2755 |
+
value="white" <?php echo((isset($row->lightbox_obj_icons_color_likes_comments_count) && $row->lightbox_obj_icons_color_likes_comments_count == "white") ? 'selected="selected"' : ''); ?>>
|
2756 |
+
White
|
2757 |
+
</option>
|
2758 |
+
<option
|
2759 |
+
value="blue" <?php echo((isset($row->lightbox_obj_icons_color_likes_comments_count) && $row->lightbox_obj_icons_color_likes_comments_count == "blue") ? 'selected="selected"' : ''); ?>>
|
2760 |
+
Blue
|
2761 |
+
</option>
|
2762 |
+
</select>
|
2763 |
+
</td>
|
2764 |
+
</tr>
|
2765 |
+
<tr>
|
2766 |
+
<td class="spider_label"><label for="lightbox_obj_font_family">Font family: </label>
|
2767 |
+
</td>
|
2768 |
+
<td>
|
2769 |
+
<select name="lightbox_obj_font_family" id="lightbox_obj_font_family">
|
2770 |
+
<?php
|
2771 |
+
foreach ($font_families as $key => $font_family) {
|
2772 |
+
?>
|
2773 |
+
<option
|
2774 |
+
value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_font_family == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
|
2775 |
+
<?php
|
2776 |
+
}
|
2777 |
+
?>
|
2778 |
+
</select>
|
2779 |
+
</td>
|
2780 |
+
</tr>
|
2781 |
+
<tr>
|
2782 |
+
<td class="spider_label"><label for="lightbox_obj_date_pos">Date position: </label></td>
|
2783 |
+
<td>
|
2784 |
+
<select name="lightbox_obj_date_pos" id="lightbox_obj_date_pos">
|
2785 |
+
<option
|
2786 |
+
value="before" <?php echo(($row->lightbox_obj_date_pos == "before") ? 'selected="selected"' : ''); ?>>
|
2787 |
+
Before post author
|
2788 |
+
</option>
|
2789 |
+
<option
|
2790 |
+
value="after" <?php echo(($row->lightbox_obj_date_pos == "after") ? 'selected="selected"' : ''); ?>>
|
2791 |
+
After post author
|
2792 |
+
</option>
|
2793 |
+
<option
|
2794 |
+
value="bottom" <?php echo(($row->lightbox_obj_date_pos == "bottom") ? 'selected="selected"' : ''); ?>>
|
2795 |
+
At the bottom of the post
|
2796 |
+
</option>
|
2797 |
+
</select>
|
2798 |
+
</td>
|
2799 |
+
</tr>
|
2800 |
+
|
2801 |
+
<tr>
|
2802 |
+
<td class="spider_label"><label for="lightbox_page_name_color">Page(group, profile) name
|
2803 |
+
color: </label></td>
|
2804 |
+
<td>
|
2805 |
+
<input type="text" name="lightbox_page_name_color" id="lightbox_page_name_color"
|
2806 |
+
value="<?php echo $row->lightbox_page_name_color; ?>" class="color"/>
|
2807 |
+
</td>
|
2808 |
+
</tr>
|
2809 |
+
<tr>
|
2810 |
+
<td class="spider_label"><label for="lightbox_obj_page_name_size">Page(group, profile)
|
2811 |
+
name font size: </label></td>
|
2812 |
+
<td>
|
2813 |
+
<input type="text" name="lightbox_obj_page_name_size"
|
2814 |
+
id="lightbox_obj_page_name_size"
|
2815 |
+
value="<?php echo $row->lightbox_obj_page_name_size; ?>"
|
2816 |
+
class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
|
2817 |
+
</td>
|
2818 |
+
</tr>
|
2819 |
+
<tr>
|
2820 |
+
<td class="spider_label"><label for="lightbox_obj_page_name_font_weight">Page(group,
|
2821 |
+
profile) name font weight: </label></td>
|
2822 |
+
<td>
|
2823 |
+
<select name="lightbox_obj_page_name_font_weight"
|
2824 |
+
id="lightbox_obj_page_name_weight">
|
2825 |
+
<?php
|
2826 |
+
foreach ($font_weights as $key => $font_weight) {
|
2827 |
+
?>
|
2828 |
+
<option
|
2829 |
+
value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_page_name_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
2830 |
+
<?php
|
2831 |
+
}
|
2832 |
+
?>
|
2833 |
+
</select>
|
2834 |
+
</td>
|
2835 |
+
</tr>
|
2836 |
+
<tr>
|
2837 |
+
<td class="spider_label"><label for="lightbox_obj_story_color">Story color: </label>
|
2838 |
+
</td>
|
2839 |
+
<td>
|
2840 |
+
<input type="text" name="lightbox_obj_story_color" id="lightbox_obj_story_color"
|
2841 |
+
value="<?php echo $row->lightbox_obj_story_color; ?>" class="color"/>
|
2842 |
+
</td>
|
2843 |
+
</tr>
|
2844 |
+
<tr>
|
2845 |
+
<td class="spider_label"><label for="lightbox_obj_story_size">Story font size: </label>
|
2846 |
+
</td>
|
2847 |
+
<td>
|
2848 |
+
<input type="text" name="lightbox_obj_story_size" id="lightbox_obj_story_size"
|
2849 |
+
value="<?php echo $row->lightbox_obj_story_size; ?>" class="spider_int_input"
|
2850 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
2851 |
+
</td>
|
2852 |
+
</tr>
|
2853 |
+
<tr>
|
2854 |
+
<td class="spider_label"><label for="lightbox_obj_story_font_weight">Story font
|
2855 |
+
weight: </label></td>
|
2856 |
+
<td>
|
2857 |
+
<select name="lightbox_obj_story_font_weight" id="lightbox_obj_story_font_weight">
|
2858 |
+
<?php
|
2859 |
+
foreach ($font_weights as $key => $font_weight) {
|
2860 |
+
?>
|
2861 |
+
<option
|
2862 |
+
value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_story_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
2863 |
+
<?php
|
2864 |
+
}
|
2865 |
+
?>
|
2866 |
+
</select>
|
2867 |
+
</td>
|
2868 |
+
</tr>
|
2869 |
+
<tr>
|
2870 |
+
<td class="spider_label"><label for="lightbox_obj_place_color">Place color: </label>
|
2871 |
+
</td>
|
2872 |
+
<td>
|
2873 |
+
<input type="text" name="lightbox_obj_place_color" id="lightbox_obj_place_color"
|
2874 |
+
value="<?php echo $row->lightbox_obj_place_color; ?>" class="color"/>
|
2875 |
+
</td>
|
2876 |
+
</tr>
|
2877 |
+
<tr>
|
2878 |
+
<td class="spider_label"><label for="lightbox_obj_place_size">Place font size: </label>
|
2879 |
+
</td>
|
2880 |
+
<td>
|
2881 |
+
<input type="text" name="lightbox_obj_place_size" id="lightbox_obj_place_size"
|
2882 |
+
value="<?php echo $row->lightbox_obj_place_size; ?>" class="spider_int_input"
|
2883 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
2884 |
+
</td>
|
2885 |
+
</tr>
|
2886 |
+
<tr>
|
2887 |
+
<td class="spider_label"><label for="lightbox_obj_place_font_weight">Place font
|
2888 |
+
weight: </label></td>
|
2889 |
+
<td>
|
2890 |
+
<select name="lightbox_obj_place_font_weight" id="lightbox_obj_place_font_weight">
|
2891 |
+
<?php
|
2892 |
+
foreach ($font_weights as $key => $font_weight) {
|
2893 |
+
?>
|
2894 |
+
<option
|
2895 |
+
value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_place_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
2896 |
+
<?php
|
2897 |
+
}
|
2898 |
+
?>
|
2899 |
+
</select>
|
2900 |
+
</td>
|
2901 |
+
</tr>
|
2902 |
+
<tr>
|
2903 |
+
<td class="spider_label"><label for="lightbox_obj_name_color">Name color: </label></td>
|
2904 |
+
<td>
|
2905 |
+
<input type="text" name="lightbox_obj_name_color" id="lightbox_obj_name_color"
|
2906 |
+
value="<?php echo $row->lightbox_obj_name_color; ?>" class="color"/>
|
2907 |
+
</td>
|
2908 |
+
</tr>
|
2909 |
+
<tr>
|
2910 |
+
<td class="spider_label"><label for="lightbox_obj_name_size">Name font size: </label>
|
2911 |
+
</td>
|
2912 |
+
<td>
|
2913 |
+
<input type="text" name="lightbox_obj_name_size" id="lightbox_obj_name_size"
|
2914 |
+
value="<?php echo $row->lightbox_obj_name_size; ?>" class="spider_int_input"
|
2915 |
+
onkeypress="return spider_check_isnum(event)"/> px
|
2916 |
+
</td>
|
2917 |
+
</tr>
|
2918 |
+
<tr>
|
2919 |
+
<td class="spider_label"><label for="lightbox_obj_name_font_weight">Name font
|
2920 |
+
weight: </label></td>
|
2921 |
+
<td>
|
2922 |
+
<select name="lightbox_obj_name_font_weight" id="lightbox_obj_name_font_weight">
|
2923 |
+
<?php
|
2924 |
+
foreach ($font_weights as $key => $font_weight) {
|
2925 |
+
?>
|
2926 |
+
<option
|
2927 |
+
value="<?php echo $key; ?>" <?php echo(($row->lightbox_obj_name_font_weight == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_weight; ?></option>
|
2928 |
+
<?php
|
2929 |
+
}
|
2930 |
+
?>
|
2931 |
+
</select>
|
2932 |
+
</td>
|
2933 |
+
</tr>
|
2934 |
+
</tbody>
|
2935 |
+
</table>
|
2936 |
+
</fieldset>
|
2937 |
+
<fieldset class="spider_child_fieldset" id="Lightbox_4">
|
2938 |
+
<table style="clear:both;">
|
2939 |
+
<tbody>
|
2940 |
+
<tr>
|
2941 |
+
<td class="spider_label"><label for="lightbox_obj_message_color">Message and description
|
2942 |
+
color: </label></td>
|
2943 |
+
<td>
|
2944 |
+
<input type="text" name="lightbox_obj_message_color" id="lightbox_obj_message_color"
|
2945 |
+
value="<?php echo $row->lightbox_obj_message_color; ?>" class="color"/>
|
2946 |
+
</td>
|
2947 |
+
</tr>
|
2948 |
+
<tr>
|
2949 |
+
<td class="spider_label"><label for="lightbox_obj_message_size">Message and description
|
2950 |
+
font size: </label></td>
|
2951 |
+
<td>
|
2952 |
+
<input type="text" name="lightbox_obj_message_size" id="lightbox_obj_message_size"
|
2953 |
+
value="<?php echo $row->lightbox_obj_message_size; ?>"
|
2954 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|