Slider by WD – Responsive Slider - Version 1.1.89

Version Description

  • Added: Show popup notice to install Backup WD plugin.
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Slider by WD – Responsive Slider
Version 1.1.89
Comparing to
See all releases

Code changes from version 1.1.88 to 1.1.89

admin/controllers/WDSControllerGoptions_wds.php CHANGED
@@ -1,168 +1,168 @@
1
- <?php
2
-
3
- class WDSControllerGoptions_wds {
4
- ////////////////////////////////////////////////////////////////////////////////////////
5
- // Events //
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- // Constants //
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- // Variables //
12
- ////////////////////////////////////////////////////////////////////////////////////////
13
- ////////////////////////////////////////////////////////////////////////////////////////
14
- // Constructor & Destructor //
15
- ////////////////////////////////////////////////////////////////////////////////////////
16
- public function __construct() {
17
-
18
- }
19
- ////////////////////////////////////////////////////////////////////////////////////////
20
- // Public Methods //
21
- ////////////////////////////////////////////////////////////////////////////////////////
22
-
23
- public function execute() {
24
- $task = WDW_S_Library::get('task');
25
- $id = WDW_S_Library::get('current_id', 0);
26
- $message = WDW_S_Library::get('message');
27
- echo WDW_S_Library::message_id($message);
28
- if (method_exists($this, $task)) {
29
- check_admin_referer('nonce_wd', 'nonce_wd');
30
- $this->$task($id);
31
- }
32
- else {
33
- $this->display();
34
- }
35
- }
36
-
37
- public function display() {
38
- require_once WD_S_DIR . "/admin/models/WDSModelGoptions_wds.php";
39
- $model = new WDSModelGoptions_wds();
40
-
41
- require_once WD_S_DIR . "/admin/views/WDSViewGoptions_wds.php";
42
- $view = new WDSViewGoptions_wds($model);
43
- $view->display();
44
- }
45
-
46
- public function save_font_family() {
47
- $wds_global_options = json_decode(get_option("wds_global_options"), true);
48
- $possib_add_ffamily = (isset($_REQUEST['possib_add_ffamily']) ? esc_html($_REQUEST['possib_add_ffamily']) : '');
49
- $possib_add_ffamily_google = (isset($_REQUEST['possib_add_ffamily_google']) ? esc_html($_REQUEST['possib_add_ffamily_google']) : '');
50
-
51
- $wds_global_options['possib_add_ffamily'] = $possib_add_ffamily;
52
- $wds_global_options['possib_add_ffamily_google'] = $possib_add_ffamily_google;
53
- $global_options = json_encode($wds_global_options);
54
- update_option("wds_global_options", $global_options);
55
-
56
- $page = WDW_S_Library::get('page');
57
- WDW_S_Library::spider_redirect(add_query_arg(array( 'page' => $page,
58
- 'task' => 'display',
59
- 'message' => 1,
60
- ), admin_url('admin.php')));
61
- }
62
-
63
- public function save() {
64
- $register_scripts = (isset($_REQUEST['register_scripts']) ? (int) $_REQUEST['register_scripts'] : 0);
65
- $loading_gif = (isset($_REQUEST['loading_gif']) ? esc_html($_REQUEST['loading_gif']) : 0);
66
- $default_layer_fweight = (isset($_REQUEST['default_layer_fweight']) ? esc_html($_REQUEST['default_layer_fweight']) : '');
67
- $default_layer_start = (isset($_REQUEST['default_layer_start']) ? esc_html($_REQUEST['default_layer_start']) : 0);
68
- $default_layer_effect_in = (isset($_REQUEST['default_layer_effect_in']) ? esc_html($_REQUEST['default_layer_effect_in']) : '');
69
- $default_layer_duration_eff_in = (isset($_REQUEST['default_layer_duration_eff_in']) ? esc_html($_REQUEST['default_layer_duration_eff_in']) : 0);
70
- $default_layer_infinite_in = (isset($_REQUEST['default_layer_infinite_in']) ? esc_html($_REQUEST['default_layer_infinite_in']) : 1);
71
- $default_layer_end = (isset($_REQUEST['default_layer_end']) ? esc_html($_REQUEST['default_layer_end']) : 0);
72
- $default_layer_effect_out = (isset($_REQUEST['default_layer_effect_out']) ? esc_html($_REQUEST['default_layer_effect_out']) : '');
73
- $default_layer_duration_eff_out = (isset($_REQUEST['default_layer_duration_eff_out']) ? esc_html($_REQUEST['default_layer_duration_eff_out']) : 0);
74
- $default_layer_infinite_out = (isset($_REQUEST['default_layer_infinite_out']) ? esc_html($_REQUEST['default_layer_infinite_out']) : 1);
75
- $default_layer_add_class = (isset($_REQUEST['default_layer_add_class']) ? esc_html($_REQUEST['default_layer_add_class']) : '');
76
- $default_layer_ffamily = (isset($_REQUEST['default_layer_ffamily']) ? esc_html($_REQUEST['default_layer_ffamily']) : '');
77
- $default_layer_google_fonts = (isset($_REQUEST['default_layer_google_fonts']) ? esc_html($_REQUEST['default_layer_google_fonts']) : 0);
78
- $spider_uploader = (isset($_REQUEST['spider_uploader']) ? esc_html($_REQUEST['spider_uploader']) : 0);
79
- $possib_add_ffamily = (isset($_REQUEST['possib_add_ffamily']) ? esc_html($_REQUEST['possib_add_ffamily']) : '');
80
- $possib_add_ffamily_google = (isset($_REQUEST['possib_add_ffamily_google']) ? esc_html($_REQUEST['possib_add_ffamily_google']) : '');
81
- $global_options = array(
82
- 'default_layer_fweight' => $default_layer_fweight,
83
- 'default_layer_start' => $default_layer_start,
84
- 'default_layer_effect_in' => $default_layer_effect_in,
85
- 'default_layer_duration_eff_in' => $default_layer_duration_eff_in,
86
- 'default_layer_infinite_in' => $default_layer_infinite_in,
87
- 'default_layer_end' => $default_layer_end,
88
- 'default_layer_effect_out' => $default_layer_effect_out,
89
- 'default_layer_duration_eff_out' => $default_layer_duration_eff_out,
90
- 'default_layer_infinite_out' => $default_layer_infinite_out,
91
- 'default_layer_add_class' => $default_layer_add_class,
92
- 'default_layer_ffamily' => $default_layer_ffamily,
93
- 'default_layer_google_fonts' => $default_layer_google_fonts,
94
- 'register_scripts' => $register_scripts,
95
- 'loading_gif' => $loading_gif,
96
- 'spider_uploader' => $spider_uploader,
97
- 'possib_add_ffamily' => $possib_add_ffamily,
98
- 'possib_add_ffamily_google' => $possib_add_ffamily_google,
99
- );
100
- $global_options = json_encode($global_options);
101
- update_option("wds_global_options", $global_options);
102
- $page = WDW_S_Library::get('page');
103
- WDW_S_Library::spider_redirect(add_query_arg(array( 'page' => $page,
104
- 'task' => 'display',
105
- 'message' => 1,
106
- ), admin_url('admin.php')));
107
- }
108
-
109
- public function change_layer_options() {
110
- global $wpdb;
111
- $lay_option = (isset($_POST["lay_option"]) ? esc_html($_REQUEST['lay_option']) : '');
112
- $default_layer_add_class = (isset($_POST["default_layer_add_class"]) ? esc_html($_REQUEST['default_layer_add_class']) : '');
113
- $default_layer_fweight = (isset($_POST["default_layer_fweight"]) ? esc_html($_REQUEST['default_layer_fweight']) : '');
114
- $default_layer_ffamily = (isset($_POST["default_layer_ffamily"]) ? esc_html($_REQUEST['default_layer_ffamily']) : '');
115
- $default_layer_google_fonts = (isset($_POST["default_layer_google_fonts"]) ? esc_html($_REQUEST['default_layer_google_fonts']) : 0);
116
- $default_layer_start = (isset($_POST["default_layer_start"]) ? esc_html($_REQUEST['default_layer_start']) : 0);
117
- $default_layer_effect_in = (isset($_POST["default_layer_effect_in"]) ? esc_html($_REQUEST['default_layer_effect_in']) : '');
118
- $default_layer_duration_eff_in = (isset($_POST["default_layer_duration_eff_in"]) ? esc_html($_REQUEST['default_layer_duration_eff_in']) : 0);
119
- $default_layer_infinite_in = (isset($_POST["default_layer_infinite_in"]) ? esc_html($_REQUEST['default_layer_infinite_in']) : 1);
120
- $default_layer_end = (isset($_POST["default_layer_end"]) ? esc_html($_REQUEST['default_layer_end']) : 0);
121
- $default_layer_effect_out = (isset($_POST["default_layer_effect_out"]) ? esc_html($_REQUEST['default_layer_effect_out']) : '');
122
- $default_layer_duration_eff_out = (isset($_POST["default_layer_duration_eff_out"]) ? esc_html($_REQUEST['default_layer_duration_eff_out']) : 0);
123
- $default_layer_infinite_out = (isset($_POST["default_layer_infinite_out"]) ? esc_html($_REQUEST['default_layer_infinite_out']) : 1);
124
- $colls = array();
125
- switch ( $lay_option ) {
126
- case "add_class":
127
- $colls = array(
128
- '`add_class`="' . $default_layer_add_class . '"',
129
- );
130
- break;
131
- case "fweight":
132
- $colls = array(
133
- '`fweight`="' . $default_layer_fweight . '"',
134
- );
135
- break;
136
- case "font_family":
137
- $colls = array(
138
- '`ffamily`="' . $default_layer_ffamily . '"',
139
- '`google_fonts`="' . $default_layer_google_fonts . '"',
140
- );
141
- break;
142
- case "effectin":
143
- $colls = array(
144
- '`start`=' . $default_layer_start,
145
- '`layer_effect_in`="' . $default_layer_effect_in . '"',
146
- '`duration_eff_in`=' . $default_layer_duration_eff_in,
147
- '`infinite_in`=' . $default_layer_infinite_in,
148
- );
149
- break;
150
- case "effectout":
151
- $colls = array(
152
- 'end=' . $default_layer_end,
153
- 'layer_effect_out="' . $default_layer_effect_out . '"',
154
- 'duration_eff_out=' . $default_layer_duration_eff_out,
155
- 'infinite_out=' . $default_layer_infinite_out,
156
- );
157
- break;
158
- }
159
- $save = $wpdb->query('UPDATE ' . $wpdb->prefix . 'wdslayer SET ' . implode(',', $colls) . '');
160
-
161
- $messaage = $wpdb->last_error ? 2 : 1;
162
- $page = WDW_S_Library::get('page');
163
- WDW_S_Library::spider_redirect(add_query_arg(array( 'page' => $page,
164
- 'task' => 'display',
165
- 'message' => $messaage,
166
- ), admin_url('admin.php')));
167
- }
168
  }
1
+ <?php
2
+
3
+ class WDSControllerGoptions_wds {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+
18
+ }
19
+ ////////////////////////////////////////////////////////////////////////////////////////
20
+ // Public Methods //
21
+ ////////////////////////////////////////////////////////////////////////////////////////
22
+
23
+ public function execute() {
24
+ $task = WDW_S_Library::get('task');
25
+ $id = WDW_S_Library::get('current_id', 0);
26
+ $message = WDW_S_Library::get('message');
27
+ echo WDW_S_Library::message_id($message);
28
+ if (method_exists($this, $task)) {
29
+ check_admin_referer('nonce_wd', 'nonce_wd');
30
+ $this->$task($id);
31
+ }
32
+ else {
33
+ $this->display();
34
+ }
35
+ }
36
+
37
+ public function display() {
38
+ require_once WD_S_DIR . "/admin/models/WDSModelGoptions_wds.php";
39
+ $model = new WDSModelGoptions_wds();
40
+
41
+ require_once WD_S_DIR . "/admin/views/WDSViewGoptions_wds.php";
42
+ $view = new WDSViewGoptions_wds($model);
43
+ $view->display();
44
+ }
45
+
46
+ public function save_font_family() {
47
+ $wds_global_options = json_decode(get_option("wds_global_options"), true);
48
+ $possib_add_ffamily = (isset($_REQUEST['possib_add_ffamily']) ? esc_html($_REQUEST['possib_add_ffamily']) : '');
49
+ $possib_add_ffamily_google = (isset($_REQUEST['possib_add_ffamily_google']) ? esc_html($_REQUEST['possib_add_ffamily_google']) : '');
50
+
51
+ $wds_global_options['possib_add_ffamily'] = $possib_add_ffamily;
52
+ $wds_global_options['possib_add_ffamily_google'] = $possib_add_ffamily_google;
53
+ $global_options = json_encode($wds_global_options);
54
+ update_option("wds_global_options", $global_options);
55
+
56
+ $page = WDW_S_Library::get('page');
57
+ WDW_S_Library::spider_redirect(add_query_arg(array( 'page' => $page,
58
+ 'task' => 'display',
59
+ 'message' => 1,
60
+ ), admin_url('admin.php')));
61
+ }
62
+
63
+ public function save() {
64
+ $register_scripts = (isset($_REQUEST['register_scripts']) ? (int) $_REQUEST['register_scripts'] : 0);
65
+ $loading_gif = (isset($_REQUEST['loading_gif']) ? esc_html($_REQUEST['loading_gif']) : 0);
66
+ $default_layer_fweight = (isset($_REQUEST['default_layer_fweight']) ? esc_html($_REQUEST['default_layer_fweight']) : '');
67
+ $default_layer_start = (isset($_REQUEST['default_layer_start']) ? esc_html($_REQUEST['default_layer_start']) : 0);
68
+ $default_layer_effect_in = (isset($_REQUEST['default_layer_effect_in']) ? esc_html($_REQUEST['default_layer_effect_in']) : '');
69
+ $default_layer_duration_eff_in = (isset($_REQUEST['default_layer_duration_eff_in']) ? esc_html($_REQUEST['default_layer_duration_eff_in']) : 0);
70
+ $default_layer_infinite_in = (isset($_REQUEST['default_layer_infinite_in']) ? esc_html($_REQUEST['default_layer_infinite_in']) : 1);
71
+ $default_layer_end = (isset($_REQUEST['default_layer_end']) ? esc_html($_REQUEST['default_layer_end']) : 0);
72
+ $default_layer_effect_out = (isset($_REQUEST['default_layer_effect_out']) ? esc_html($_REQUEST['default_layer_effect_out']) : '');
73
+ $default_layer_duration_eff_out = (isset($_REQUEST['default_layer_duration_eff_out']) ? esc_html($_REQUEST['default_layer_duration_eff_out']) : 0);
74
+ $default_layer_infinite_out = (isset($_REQUEST['default_layer_infinite_out']) ? esc_html($_REQUEST['default_layer_infinite_out']) : 1);
75
+ $default_layer_add_class = (isset($_REQUEST['default_layer_add_class']) ? esc_html($_REQUEST['default_layer_add_class']) : '');
76
+ $default_layer_ffamily = (isset($_REQUEST['default_layer_ffamily']) ? esc_html($_REQUEST['default_layer_ffamily']) : '');
77
+ $default_layer_google_fonts = (isset($_REQUEST['default_layer_google_fonts']) ? esc_html($_REQUEST['default_layer_google_fonts']) : 0);
78
+ $spider_uploader = (isset($_REQUEST['spider_uploader']) ? esc_html($_REQUEST['spider_uploader']) : 0);
79
+ $possib_add_ffamily = (isset($_REQUEST['possib_add_ffamily']) ? esc_html($_REQUEST['possib_add_ffamily']) : '');
80
+ $possib_add_ffamily_google = (isset($_REQUEST['possib_add_ffamily_google']) ? esc_html($_REQUEST['possib_add_ffamily_google']) : '');
81
+ $global_options = array(
82
+ 'default_layer_fweight' => $default_layer_fweight,
83
+ 'default_layer_start' => $default_layer_start,
84
+ 'default_layer_effect_in' => $default_layer_effect_in,
85
+ 'default_layer_duration_eff_in' => $default_layer_duration_eff_in,
86
+ 'default_layer_infinite_in' => $default_layer_infinite_in,
87
+ 'default_layer_end' => $default_layer_end,
88
+ 'default_layer_effect_out' => $default_layer_effect_out,
89
+ 'default_layer_duration_eff_out' => $default_layer_duration_eff_out,
90
+ 'default_layer_infinite_out' => $default_layer_infinite_out,
91
+ 'default_layer_add_class' => $default_layer_add_class,
92
+ 'default_layer_ffamily' => $default_layer_ffamily,
93
+ 'default_layer_google_fonts' => $default_layer_google_fonts,
94
+ 'register_scripts' => $register_scripts,
95
+ 'loading_gif' => $loading_gif,
96
+ 'spider_uploader' => $spider_uploader,
97
+ 'possib_add_ffamily' => $possib_add_ffamily,
98
+ 'possib_add_ffamily_google' => $possib_add_ffamily_google,
99
+ );
100
+ $global_options = json_encode($global_options);
101
+ update_option("wds_global_options", $global_options);
102
+ $page = WDW_S_Library::get('page');
103
+ WDW_S_Library::spider_redirect(add_query_arg(array( 'page' => $page,
104
+ 'task' => 'display',
105
+ 'message' => 1,
106
+ ), admin_url('admin.php')));
107
+ }
108
+
109
+ public function change_layer_options() {
110
+ global $wpdb;
111
+ $lay_option = (isset($_POST["lay_option"]) ? esc_html($_REQUEST['lay_option']) : '');
112
+ $default_layer_add_class = (isset($_POST["default_layer_add_class"]) ? esc_html($_REQUEST['default_layer_add_class']) : '');
113
+ $default_layer_fweight = (isset($_POST["default_layer_fweight"]) ? esc_html($_REQUEST['default_layer_fweight']) : '');
114
+ $default_layer_ffamily = (isset($_POST["default_layer_ffamily"]) ? esc_html($_REQUEST['default_layer_ffamily']) : '');
115
+ $default_layer_google_fonts = (isset($_POST["default_layer_google_fonts"]) ? esc_html($_REQUEST['default_layer_google_fonts']) : 0);
116
+ $default_layer_start = (isset($_POST["default_layer_start"]) ? esc_html($_REQUEST['default_layer_start']) : 0);
117
+ $default_layer_effect_in = (isset($_POST["default_layer_effect_in"]) ? esc_html($_REQUEST['default_layer_effect_in']) : '');
118
+ $default_layer_duration_eff_in = (isset($_POST["default_layer_duration_eff_in"]) ? esc_html($_REQUEST['default_layer_duration_eff_in']) : 0);
119
+ $default_layer_infinite_in = (isset($_POST["default_layer_infinite_in"]) ? esc_html($_REQUEST['default_layer_infinite_in']) : 1);
120
+ $default_layer_end = (isset($_POST["default_layer_end"]) ? esc_html($_REQUEST['default_layer_end']) : 0);
121
+ $default_layer_effect_out = (isset($_POST["default_layer_effect_out"]) ? esc_html($_REQUEST['default_layer_effect_out']) : '');
122
+ $default_layer_duration_eff_out = (isset($_POST["default_layer_duration_eff_out"]) ? esc_html($_REQUEST['default_layer_duration_eff_out']) : 0);
123
+ $default_layer_infinite_out = (isset($_POST["default_layer_infinite_out"]) ? esc_html($_REQUEST['default_layer_infinite_out']) : 1);
124
+ $colls = array();
125
+ switch ( $lay_option ) {
126
+ case "add_class":
127
+ $colls = array(
128
+ '`add_class`="' . $default_layer_add_class . '"',
129
+ );
130
+ break;
131
+ case "fweight":
132
+ $colls = array(
133
+ '`fweight`="' . $default_layer_fweight . '"',
134
+ );
135
+ break;
136
+ case "font_family":
137
+ $colls = array(
138
+ '`ffamily`="' . $default_layer_ffamily . '"',
139
+ '`google_fonts`="' . $default_layer_google_fonts . '"',
140
+ );
141
+ break;
142
+ case "effectin":
143
+ $colls = array(
144
+ '`start`=' . $default_layer_start,
145
+ '`layer_effect_in`="' . $default_layer_effect_in . '"',
146
+ '`duration_eff_in`=' . $default_layer_duration_eff_in,
147
+ '`infinite_in`=' . $default_layer_infinite_in,
148
+ );
149
+ break;
150
+ case "effectout":
151
+ $colls = array(
152
+ 'end=' . $default_layer_end,
153
+ 'layer_effect_out="' . $default_layer_effect_out . '"',
154
+ 'duration_eff_out=' . $default_layer_duration_eff_out,
155
+ 'infinite_out=' . $default_layer_infinite_out,
156
+ );
157
+ break;
158
+ }
159
+ $save = $wpdb->query('UPDATE ' . $wpdb->prefix . 'wdslayer SET ' . implode(',', $colls) . '');
160
+
161
+ $messaage = $wpdb->last_error ? 2 : 1;
162
+ $page = WDW_S_Library::get('page');
163
+ WDW_S_Library::spider_redirect(add_query_arg(array( 'page' => $page,
164
+ 'task' => 'display',
165
+ 'message' => $messaage,
166
+ ), admin_url('admin.php')));
167
+ }
168
  }
admin/controllers/WDSControllerSliders_wds.php CHANGED
@@ -1,1383 +1,1383 @@
1
- <?php
2
-
3
- class WDSControllerSliders_wds {
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_S_Library::get('task');
23
- $id = WDW_S_Library::get('current_id', 0);
24
- $message = WDW_S_Library::get('message');
25
- echo WDW_S_Library::message_id($message);
26
- if (method_exists($this, $task)) {
27
- check_admin_referer('nonce_wd', 'nonce_wd');
28
- $this->$task($id);
29
- }
30
- else {
31
- $this->display();
32
- }
33
- }
34
-
35
- public function display() {
36
- require_once WD_S_DIR . "/admin/models/WDSModelSliders_wds.php";
37
- $model = new WDSModelSliders_wds();
38
-
39
- require_once WD_S_DIR . "/admin/views/WDSViewSliders_wds.php";
40
- $view = new WDSViewSliders_wds($model);
41
- $view->display();
42
- }
43
-
44
- public function add() {
45
- require_once WD_S_DIR . "/admin/models/WDSModelSliders_wds.php";
46
- $model = new WDSModelSliders_wds();
47
-
48
- require_once WD_S_DIR . "/admin/views/WDSViewSliders_wds.php";
49
- $view = new WDSViewSliders_wds($model);
50
- $view->edit(0);
51
- }
52
-
53
- public function edit() {
54
- require_once WD_S_DIR . "/admin/models/WDSModelSliders_wds.php";
55
- $model = new WDSModelSliders_wds();
56
-
57
- require_once WD_S_DIR . "/admin/views/WDSViewSliders_wds.php";
58
- $view = new WDSViewSliders_wds($model);
59
- $id = ((isset($_POST['current_id']) && esc_html(stripslashes($_POST['current_id'])) != '') ? esc_html(stripslashes($_POST['current_id'])) : 0);
60
- $view->edit($id);
61
- }
62
-
63
- public function save() {
64
- $page = WDW_S_Library::get('page');
65
- WDW_S_Library::spider_redirect(add_query_arg(array('page' => $page, 'task' => 'display', 'message' => 1), admin_url('admin.php')));
66
- }
67
-
68
- public function apply() {
69
- $this->save_slider_db();
70
- $this->save_slide_db();
71
- $this->edit();
72
- }
73
-
74
- public function save_slider_db() {
75
- global $wpdb;
76
- if (get_option("wds_theme_version")) {
77
- $allow = FALSE;
78
- }
79
- else {
80
- $allow = TRUE;
81
- }
82
- $slider_id = (isset($_POST['current_id']) ? (int) $_POST['current_id'] : 0);
83
- $slider_data = (isset($_POST['slider_data']) ? stripslashes($_POST['slider_data']) : '');
84
- $params_array = json_decode($slider_data, TRUE);
85
- $del_slide_ids_string = (isset($params_array['del_slide_ids_string']) ? substr(esc_html(stripslashes($params_array['del_slide_ids_string'])), 0, -1) : '');
86
- if ($del_slide_ids_string) {
87
- $wpdb->query('DELETE FROM ' . $wpdb->prefix . 'wdsslide WHERE slider_id=' . $slider_id . ' AND id IN (' . $del_slide_ids_string . ')');
88
- }
89
- $name = ((isset($params_array['name'])) ? esc_html(stripslashes($params_array['name'])) : '');
90
- $published = ((isset($params_array['published'])) ? (int) esc_html(stripslashes($params_array['published'])) : 1);
91
- $full_width = ((isset($params_array['full_width'])) ? (int) esc_html(stripslashes($params_array['full_width'])) : 0);
92
- $width = ((isset($params_array['width'])) ? (int) esc_html(stripslashes($params_array['width'])) : 800);
93
- $height = ((isset($params_array['height'])) ? (int) esc_html((stripslashes($params_array['height']))) : 300);
94
- $bg_fit = ((isset($params_array['bg_fit'])) ? esc_html(stripslashes($params_array['bg_fit'])) : 'cover');
95
- $align = ((isset($params_array['align'])) ? esc_html(stripslashes($params_array['align'])) : 'center');
96
- $effect = ((isset($params_array['effect'])) ? esc_html(stripslashes($params_array['effect'])) : 'fade');
97
- $time_intervval = ((isset($params_array['time_intervval'])) ? (int) esc_html(stripslashes($params_array['time_intervval'])) : 5);
98
- $autoplay = ((isset($params_array['autoplay'])) ? (int) esc_html(stripslashes($params_array['autoplay'])) : 1);
99
- $shuffle = ((isset($params_array['shuffle'])) ? (int) esc_html(stripslashes($params_array['shuffle'])) : 0);
100
- $music = ((isset($params_array['music'])) ? (int) esc_html(stripslashes($params_array['music'])) : 0);
101
- if ( isset($params_array['music_url']) && WDW_S_Library::validate_audio_file($params_array['music_url']) ) {
102
- $music_url = esc_html(stripslashes($params_array['music_url']));
103
- $music_url = str_replace(site_url(), '{site_url}', $music_url);
104
- }
105
- else {
106
- $music_url = '';
107
- }
108
- $preload_images = ((isset($params_array['preload_images'])) ? (int) esc_html(stripslashes($params_array['preload_images'])) : 1);
109
- $background_color = ((isset($params_array['background_color'])) ? esc_html(stripslashes($params_array['background_color'])) : '000000');
110
- $background_transparent = ((isset($params_array['background_transparent'])) ? (int) esc_html(stripslashes($params_array['background_transparent'])) : 100);
111
- $glb_border_width = ((isset($params_array['glb_border_width'])) ? (int) esc_html(stripslashes($params_array['glb_border_width'])) : 0);
112
- $glb_border_style = ((isset($params_array['glb_border_style'])) ? esc_html(stripslashes($params_array['glb_border_style'])) : 'none');
113
- $glb_border_color = ((isset($params_array['glb_border_color'])) ? esc_html(stripslashes($params_array['glb_border_color'])) : '000000');
114
- $glb_border_radius = ((isset($params_array['glb_border_radius'])) ? esc_html(stripslashes($params_array['glb_border_radius'])) : '');
115
- $glb_margin = ((isset($params_array['glb_margin'])) ? (int) esc_html(stripslashes($params_array['glb_margin'])) : 0);
116
- $glb_box_shadow = ((isset($params_array['glb_box_shadow'])) ? esc_html(stripslashes($params_array['glb_box_shadow'])) : '');
117
- $image_right_click = ((isset($params_array['image_right_click'])) ? (int) esc_html(stripslashes($params_array['image_right_click'])) : 0);
118
- $layer_out_next = ((isset($params_array['layer_out_next'])) ? (int) esc_html(stripslashes($params_array['layer_out_next'])) : 0);
119
- $prev_next_butt = ((isset($params_array['prev_next_butt'])) ? (int) esc_html(stripslashes($params_array['prev_next_butt'])) : 1);
120
- $play_paus_butt = ((isset($params_array['play_paus_butt'])) ? (int) esc_html(stripslashes($params_array['play_paus_butt'])) : 0);
121
- $navigation = ((isset($params_array['navigation'])) ? esc_html(stripslashes($params_array['navigation'])) : 'hover');
122
- $rl_butt_style = ((isset($params_array['rl_butt_style'])) ? esc_html(stripslashes($params_array['rl_butt_style'])) : 'fa-angle');
123
- $rl_butt_size = ((isset($params_array['rl_butt_size'])) ? (int) esc_html(stripslashes($params_array['rl_butt_size'])) : 40);
124
- $pp_butt_size = ((isset($params_array['pp_butt_size'])) ? (int) esc_html(stripslashes($params_array['pp_butt_size'])) : 40);
125
- $butts_color = ((isset($params_array['butts_color'])) ? esc_html(stripslashes($params_array['butts_color'])) : '000000');
126
- $butts_transparent = ((isset($params_array['butts_transparent'])) ? (int) esc_html(stripslashes($params_array['butts_transparent'])) : 100);
127
- $hover_color = ((isset($params_array['hover_color'])) ? esc_html(stripslashes($params_array['hover_color'])) : 'FFFFFF');
128
- $nav_border_width = ((isset($params_array['nav_border_width'])) ? (int) esc_html(stripslashes($params_array['nav_border_width'])) : 0);
129
- $nav_border_style = ((isset($params_array['nav_border_style'])) ? esc_html(stripslashes($params_array['nav_border_style'])) : 'none');
130
- $nav_border_color = ((isset($params_array['nav_border_color'])) ? esc_html(stripslashes($params_array['nav_border_color'])) : 'FFFFFF');
131
- $nav_border_radius = ((isset($params_array['nav_border_radius'])) ? esc_html(stripslashes($params_array['nav_border_radius'])) : '20px');
132
- $nav_bg_color = ((isset($params_array['nav_bg_color'])) ? esc_html(stripslashes($params_array['nav_bg_color'])) : 'FFFFFF');
133
- $bull_position = ((isset($params_array['bull_position'])) ? esc_html(stripslashes($params_array['bull_position'])) : 'bottom');
134
- if (isset($params_array['enable_bullets']) && (esc_html(stripslashes($params_array['enable_bullets'])) == 0)) {
135
- $bull_position = 'none';
136
- }
137
- $bull_style = ((isset($params_array['bull_style']) && $allow) ? esc_html(stripslashes($params_array['bull_style'])) : 'fa-square-o');
138
- $bull_size = ((isset($params_array['bull_size']) && $allow) ? (int) esc_html(stripslashes($params_array['bull_size'])) : 20);
139
- $bull_color = ((isset($params_array['bull_color']) && $allow) ? esc_html(stripslashes($params_array['bull_color'])) : 'FFFFFF');
140
- $bull_act_color = ((isset($params_array['bull_act_color']) && $allow) ? esc_html(stripslashes($params_array['bull_act_color'])) : 'FFFFFF');
141
- $bull_margin = ((isset($params_array['bull_margin']) && $allow) ? (int) esc_html(stripslashes($params_array['bull_margin'])) : 3);
142
- $film_pos = ((isset($params_array['film_pos'])) ? esc_html(stripslashes($params_array['film_pos'])) : 'none');
143
- if (isset($params_array['enable_filmstrip']) && (esc_html(stripslashes($params_array['enable_filmstrip'])) == 0)) {
144
- $film_pos = 'none';
145
- }
146
- $film_thumb_width = ((isset($params_array['film_thumb_width'])) ? (int) esc_html(stripslashes($params_array['film_thumb_width'])) : 100);
147
- $film_thumb_height = ((isset($params_array['film_thumb_height'])) ? (int) esc_html(stripslashes($params_array['film_thumb_height'])) : 50);
148
- $film_bg_color = ((isset($params_array['film_bg_color'])) ? esc_html(stripslashes($params_array['film_bg_color'])) : '000000');
149
- $film_tmb_margin = ((isset($params_array['film_tmb_margin'])) ? (int) esc_html(stripslashes($params_array['film_tmb_margin'])) : 0);
150
- $film_act_border_width = ((isset($params_array['film_act_border_width'])) ? (int) esc_html(stripslashes($params_array['film_act_border_width'])) : 0);
151
- $film_act_border_style = ((isset($params_array['film_act_border_style'])) ? esc_html(stripslashes($params_array['film_act_border_style'])) : 'none');
152
- $film_act_border_color = ((isset($params_array['film_act_border_color'])) ? esc_html(stripslashes($params_array['film_act_border_color'])) : 'FFFFFF');
153
- $film_dac_transparent = ((isset($params_array['film_dac_transparent'])) ? (int) esc_html(stripslashes($params_array['film_dac_transparent'])) : 50);
154
- $built_in_watermark_type = (isset($params_array['built_in_watermark_type']) ? esc_html(stripslashes($params_array['built_in_watermark_type'])) : 'none');
155
- $built_in_watermark_position = (isset($params_array['built_in_watermark_position']) ? esc_html(stripslashes($params_array['built_in_watermark_position'])) : 'middle-center');
156
- $built_in_watermark_size = (isset($params_array['built_in_watermark_size']) ? (int) esc_html(stripslashes($params_array['built_in_watermark_size'])) : 15);
157
- $built_in_watermark_url = (isset($params_array['built_in_watermark_url']) ? esc_html(stripslashes($params_array['built_in_watermark_url'])) : '');
158
- $built_in_watermark_url = str_replace(site_url(), '{site_url}', $built_in_watermark_url);
159
- $built_in_watermark_text = (isset($params_array['built_in_watermark_text']) ? esc_html(stripslashes($params_array['built_in_watermark_text'])) : 'web-dorado.com');
160
- $built_in_watermark_opacity = (isset($params_array['built_in_watermark_opacity']) ? (int) esc_html(stripslashes($params_array['built_in_watermark_opacity'])) : 70);
161
- $built_in_watermark_font_size = (isset($params_array['built_in_watermark_font_size']) ? (int) esc_html(stripslashes($params_array['built_in_watermark_font_size'])) : 20);
162
- $built_in_watermark_font = (isset($params_array['built_in_watermark_font']) ? esc_html(stripslashes($params_array['built_in_watermark_font'])) : '');
163
- $built_in_watermark_color = (isset($params_array['built_in_watermark_color']) ? esc_html(stripslashes($params_array['built_in_watermark_color'])) : 'FFFFFF');
164
- $css = (isset($params_array['css']) ? htmlspecialchars_decode((stripslashes($params_array['css'])), ENT_QUOTES) : '');
165
- $timer_bar_type = (isset($params_array['timer_bar_type']) ? esc_html(stripslashes($params_array['timer_bar_type'])) : 'top');
166
- if (isset($params_array['enable_time_bar']) && (esc_html(stripslashes($params_array['enable_time_bar'])) == 0)) {
167
- $timer_bar_type = 'none';
168
- }
169
- $timer_bar_size = (isset($params_array['timer_bar_size']) ? (int) esc_html(stripslashes($params_array['timer_bar_size'])) : 5);
170
- $timer_bar_color = (isset($params_array['timer_bar_color']) ? esc_html(stripslashes($params_array['timer_bar_color'])) : 'BBBBBB');
171
- $timer_bar_transparent = (isset($params_array['timer_bar_transparent']) ? (int) esc_html(stripslashes($params_array['timer_bar_transparent'])) : 50);
172
- $stop_animation = ((isset($params_array['stop_animation'])) ? (int) esc_html(stripslashes($params_array['stop_animation'])) : 0);
173
- $right_butt_url = (isset($params_array['right_butt_url']) ? esc_html(stripslashes($params_array['right_butt_url'])) : '');
174
- $right_butt_url = str_replace(site_url(), '{site_url}', $right_butt_url);
175
- $left_butt_url = (isset($params_array['left_butt_url']) ? esc_html(stripslashes($params_array['left_butt_url'])) : '');
176
- $left_butt_url = str_replace(site_url(), '{site_url}', $left_butt_url);
177
- $right_butt_hov_url = (isset($params_array['right_butt_hov_url']) ? esc_html(stripslashes($params_array['right_butt_hov_url'])) : '');
178
- $right_butt_hov_url = str_replace(site_url(), '{site_url}', $right_butt_hov_url);
179
- $left_butt_hov_url = (isset($params_array['left_butt_hov_url']) ? esc_html(stripslashes($params_array['left_butt_hov_url'])) : '');
180
- $left_butt_hov_url = str_replace(site_url(), '{site_url}', $left_butt_hov_url);
181
- $rl_butt_img_or_not = (isset($params_array['rl_butt_img_or_not']) ? esc_html(stripslashes($params_array['rl_butt_img_or_not'])) : 'style');
182
- $bullets_img_main_url = (isset($params_array['bullets_img_main_url']) ? esc_html(stripslashes($params_array['bullets_img_main_url'])) : '');
183
- $bullets_img_main_url = str_replace(site_url(), '{site_url}', $bullets_img_main_url);
184
- $bullets_img_hov_url = (isset($params_array['bullets_img_hov_url']) ? esc_html(stripslashes($params_array['bullets_img_hov_url'])) : '');
185
- $bullets_img_hov_url = str_replace(site_url(), '{site_url}', $bullets_img_hov_url);
186
- $bull_butt_img_or_not = (isset($params_array['bull_butt_img_or_not']) ? esc_html(stripslashes($params_array['bull_butt_img_or_not'])) : 'style');
187
- $play_paus_butt_img_or_not = (isset($params_array['play_paus_butt_img_or_not']) ? esc_html(stripslashes($params_array['play_paus_butt_img_or_not'])) : 'style');
188
- $play_butt_url = (isset($params_array['play_butt_url']) ? esc_html(stripslashes($params_array['play_butt_url'])) : '');
189
- $play_butt_url = str_replace(site_url(), '{site_url}', $play_butt_url);
190
- $play_butt_hov_url = (isset($params_array['play_butt_hov_url']) ? esc_html(stripslashes($params_array['play_butt_hov_url'])) : '');
191
- $play_butt_hov_url = str_replace(site_url(), '{site_url}', $play_butt_hov_url);
192
- $paus_butt_url = (isset($params_array['paus_butt_url']) ? esc_html(stripslashes($params_array['paus_butt_url'])) : '');
193
- $paus_butt_url = str_replace(site_url(), '{site_url}', $paus_butt_url);
194
- $paus_butt_hov_url = (isset($params_array['paus_butt_hov_url']) ? esc_html(stripslashes($params_array['paus_butt_hov_url'])) : '');
195
- $paus_butt_hov_url = str_replace(site_url(), '{site_url}', $paus_butt_hov_url);
196
- $start_slide_num = ((isset($params_array['start_slide_num'])) ? (int) stripslashes($params_array['start_slide_num']) : 1);
197
- $effect_duration = ((isset($params_array['effect_duration'])) ? (int) stripslashes($params_array['effect_duration']) : 800);
198
- $carousel = 0;
199
- $carousel_image_counts = 7;
200
- $carousel_image_parameters = 0.85;
201
- $carousel_fit_containerWidth = 0;
202
- $carousel_width = 1000;
203
- $parallax_effect = 0;
204
- $mouse_swipe_nav = ((isset($params_array['mouse_swipe_nav'])) ? (int) esc_html(stripslashes($params_array['mouse_swipe_nav'])) : 0);
205
- $bull_hover = ((isset($params_array['bull_hover'])) ? (int) esc_html(stripslashes($params_array['bull_hover'])) : 1);
206
- $touch_swipe_nav = ((isset($params_array['touch_swipe_nav'])) ? (int) esc_html(stripslashes($params_array['touch_swipe_nav'])) : 1);
207
- $mouse_wheel_nav = ((isset($params_array['mouse_wheel_nav'])) ? (int) esc_html(stripslashes($params_array['mouse_wheel_nav'])) : 0);
208
- $keyboard_nav = ((isset($params_array['keyboard_nav'])) ? (int) esc_html(stripslashes($params_array['keyboard_nav'])) : 0);
209
- $show_thumbnail = ((isset($params_array['show_thumbnail'])) ? (int) esc_html(stripslashes($params_array['show_thumbnail'])) : 0);
210
- $thumb_size = ((isset($params_array['thumb_size'])) ? esc_html(stripslashes($params_array['thumb_size'])) : '0.3');
211
- $fixed_bg = ((isset($params_array['fixed_bg'])) ? (int) esc_html(stripslashes($params_array['fixed_bg'])) : 0);
212
- $smart_crop = ((isset($params_array['smart_crop'])) ? (int) esc_html(stripslashes($params_array['smart_crop'])) : 0);
213
- $crop_image_position = ((isset($params_array['crop_image_position'])) ? esc_html(stripslashes($params_array['crop_image_position'])) : 'middle-center');
214
- $javascript = ((isset($params_array['javascript'])) ? $params_array['javascript'] : '');
215
- $carousel_degree = ((isset($params_array['carousel_degree'])) ? (int) esc_html(stripslashes($params_array['carousel_degree'])) : 0);
216
- $carousel_grayscale = ((isset($params_array['carousel_grayscale'])) ? (int) esc_html(stripslashes($params_array['carousel_grayscale'])) : 0);
217
- $carousel_transparency = ((isset($params_array['carousel_transparency'])) ? (int) esc_html(stripslashes($params_array['carousel_transparency'])) : 0);
218
- $bull_back_act_color = ((isset($params_array['bull_back_act_color'])) ? esc_html(stripslashes($params_array['bull_back_act_color'])) : '000000');
219
- $bull_back_color = ((isset($params_array['bull_back_color'])) ? esc_html(stripslashes($params_array['bull_back_color'])) : 'CCCCCC');
220
- $bull_radius = ((isset($params_array['bull_radius'])) ? esc_html(stripslashes($params_array['bull_radius'])) : '20px');
221
- $slider_loop = ((isset($params_array['slider_loop'])) ? (int) esc_html(stripslashes($params_array['slider_loop'])) : 1);
222
- $hide_on_mobile = ((isset($params_array['hide_on_mobile'])) ? (int) esc_html(stripslashes($params_array['hide_on_mobile'])) : 0);
223
- $twoway_slideshow = ((isset($params_array['twoway_slideshow'])) ? (int) esc_html(stripslashes($params_array['twoway_slideshow'])) : 0);
224
- $full_width_for_mobile = ((isset($params_array['full_width_for_mobile'])) ? (int) esc_html(stripslashes($params_array['full_width_for_mobile'])) : 0);
225
- $order_dir = ((isset($params_array['order_dir'])) ? esc_html(stripslashes($params_array['order_dir'])) : 'asc');
226
- $data = array(
227
- 'name' => $name,
228
- 'published' => $published,
229
- 'full_width' => $full_width,
230
- 'width' => $width,
231
- 'height' => $height,
232
- 'bg_fit' => $bg_fit,
233
- 'align' => $align,
234
- 'effect' => $effect,
235
- 'time_intervval' => $time_intervval,
236
- 'autoplay' => $autoplay,
237
- 'shuffle' => $shuffle,
238
- 'music' => $music,
239
- 'music_url' => $music_url,
240
- 'preload_images' => $preload_images,
241
- 'background_color' => $background_color,
242
- 'background_transparent' => $background_transparent,
243
- 'glb_border_width' => $glb_border_width,
244
- 'glb_border_style' => $glb_border_style,
245
- 'glb_border_color' => $glb_border_color,
246
- 'glb_border_radius' => $glb_border_radius,
247
- 'glb_margin' => $glb_margin,
248
- 'glb_box_shadow' => $glb_box_shadow,
249
- 'image_right_click' => $image_right_click,
250
- 'prev_next_butt' => $prev_next_butt,
251
- 'play_paus_butt' => $play_paus_butt,
252
- 'navigation' => $navigation,
253
- 'rl_butt_style' => $rl_butt_style,
254
- 'rl_butt_size' => $rl_butt_size,
255
- 'pp_butt_size' => $pp_butt_size,
256
- 'butts_color' => $butts_color,
257
- 'butts_transparent' => $butts_transparent,
258
- 'hover_color' => $hover_color,
259
- 'nav_border_width' => $nav_border_width,
260
- 'nav_border_style' => $nav_border_style,
261
- 'nav_border_color' => $nav_border_color,
262
- 'nav_border_radius' => $nav_border_radius,
263
- 'nav_bg_color' => $nav_bg_color,
264
- 'bull_position' => $bull_position,
265
- 'bull_style' => $bull_style,
266
- 'bull_size' => $bull_size,
267
- 'bull_color' => $bull_color,
268
- 'bull_act_color' => $bull_act_color,
269
- 'bull_margin' => $bull_margin,
270
- 'film_pos' => $film_pos,
271
- 'film_thumb_width' => $film_thumb_width,
272
- 'film_thumb_height' => $film_thumb_height,
273
- 'film_bg_color' => $film_bg_color,
274
- 'film_tmb_margin' => $film_tmb_margin,
275
- 'film_act_border_width' => $film_act_border_width,
276
- 'film_act_border_style' => $film_act_border_style,
277
- 'film_act_border_color' => $film_act_border_color,
278
- 'film_dac_transparent' => $film_dac_transparent,
279
- 'built_in_watermark_type' => $built_in_watermark_type,
280
- 'built_in_watermark_position' => $built_in_watermark_position,
281
- 'built_in_watermark_size' => $built_in_watermark_size,
282
- 'built_in_watermark_url' => $built_in_watermark_url,
283
- 'built_in_watermark_text' => $built_in_watermark_text,
284
- 'built_in_watermark_opacity' => $built_in_watermark_opacity,
285
- 'built_in_watermark_font_size' => $built_in_watermark_font_size,
286
- 'built_in_watermark_font' => $built_in_watermark_font,
287
- 'built_in_watermark_color' => $built_in_watermark_color,
288
- 'css' => $css,
289
- 'timer_bar_type' => $timer_bar_type,
290
- 'timer_bar_size' => $timer_bar_size,
291
- 'timer_bar_color' => $timer_bar_color,
292
- 'timer_bar_transparent' => $timer_bar_transparent,
293
- 'layer_out_next' => $layer_out_next,
294
- 'stop_animation' => $stop_animation,
295
- 'right_butt_url' => $right_butt_url,
296
- 'left_butt_url' => $left_butt_url,
297
- 'right_butt_hov_url' => $right_butt_hov_url,
298
- 'left_butt_hov_url' => $left_butt_hov_url,
299
- 'rl_butt_img_or_not' => $rl_butt_img_or_not,
300
- 'bullets_img_main_url' => $bullets_img_main_url,
301
- 'bullets_img_hov_url' => $bullets_img_hov_url,
302
- 'bull_butt_img_or_not' => $bull_butt_img_or_not,
303
- 'play_paus_butt_img_or_not' => $play_paus_butt_img_or_not,
304
- 'play_butt_url' => $play_butt_url,
305
- 'play_butt_hov_url' => $play_butt_hov_url,
306
- 'paus_butt_url' => $paus_butt_url,
307
- 'paus_butt_hov_url' => $paus_butt_hov_url,
308
- 'start_slide_num' => $start_slide_num,
309
- 'effect_duration' => $effect_duration,
310
- 'carousel' => $carousel,
311
- 'carousel_image_counts' => $carousel_image_counts,
312
- 'carousel_image_parameters' => $carousel_image_parameters,
313
- 'carousel_fit_containerWidth' => $carousel_fit_containerWidth,
314
- 'carousel_width' => $carousel_width,
315
- 'parallax_effect' => $parallax_effect,
316
- 'mouse_swipe_nav' => $mouse_swipe_nav,
317
- 'bull_hover' => $bull_hover,
318
- 'touch_swipe_nav' => $touch_swipe_nav,
319
- 'mouse_wheel_nav' => $mouse_wheel_nav,
320
- 'keyboard_nav' => $keyboard_nav,
321
- 'show_thumbnail' => $show_thumbnail,
322
- 'thumb_size' => $thumb_size,
323
- 'fixed_bg' => $fixed_bg,
324
- 'smart_crop' => $smart_crop,
325
- 'crop_image_position' => $crop_image_position,
326
- 'javascript' => $javascript,
327
- 'carousel_degree' => $carousel_degree,
328
- 'carousel_grayscale' => $carousel_grayscale,
329
- 'carousel_transparency' => $carousel_transparency,
330
- 'bull_back_act_color' => $bull_back_act_color,
331
- 'bull_back_color' => $bull_back_color,
332
- 'bull_radius' => $bull_radius,
333
- 'slider_loop' => $slider_loop,
334
- 'hide_on_mobile' => $hide_on_mobile,
335
- 'twoway_slideshow' => $twoway_slideshow,
336
- 'full_width_for_mobile' => $full_width_for_mobile,
337
- 'order_dir' => $order_dir,
338
- );
339
-
340
- if (!$slider_id) {
341
- $save = $wpdb->insert($wpdb->prefix . 'wdsslider', $data);
342
- $_POST['current_id'] = (int) $wpdb->insert_id;
343
- }
344
- else {
345
- $save = $wpdb->update($wpdb->prefix . 'wdsslider', $data, array('id' => $slider_id));
346
- }
347
- if ($save !== FALSE) {
348
- return 1;
349
- }
350
- else {
351
- return 2;
352
- }
353
- }
354
-
355
- public function save_slide_db() {
356
- global $wpdb;
357
- $slider_id = (isset($_POST['current_id']) ? (int) $_POST['current_id'] : 0);
358
- $save_as_copy = (isset($_POST['save_as_copy']) ? (int) $_POST['save_as_copy'] : 0);
359
- if (!$slider_id) {
360
- $slider_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslider');
361
- }
362
- if (get_option("wds_theme_version")) {
363
- $allow = FALSE;
364
- }
365
- else {
366
- $allow = TRUE;
367
- }
368
- $slides_data = (isset($_POST['slides']) ? $_POST['slides'] : array());
369
- foreach ($slides_data as $slide_data) {
370
- $params_array = json_decode(stripslashes($slide_data), TRUE);
371
- $slide_id = (isset($params_array['id']) ? $params_array['id'] : 0);
372
- if ($slide_id) {
373
- $del_layer_ids_string = ((isset($params_array['slide' . $slide_id . '_del_layer_ids_string']) && !$save_as_copy) ? substr(esc_html(stripslashes($params_array['slide' . $slide_id . '_del_layer_ids_string'])), 0, -1) : '');
374
- if ($del_layer_ids_string) {
375
- $wpdb->query('DELETE FROM ' . $wpdb->prefix . 'wdslayer WHERE id IN (' . $del_layer_ids_string . ')');
376
- }
377
- $title = ((isset($params_array['title' . $slide_id])) ? esc_html(stripslashes($params_array['title' . $slide_id])) : '');
378
- $type = ((isset($params_array['type' . $slide_id])) ? esc_html(stripslashes($params_array['type' . $slide_id])) : '');
379
- $order = ((isset($params_array['order' . $slide_id])) ? esc_html(stripslashes($params_array['order' . $slide_id])) : '');
380
- $published = ((isset($params_array['published' . $slide_id])) ? esc_html(stripslashes($params_array['published' . $slide_id])) : '');
381
- $target_attr_slide = ((isset($params_array['target_attr_slide' . $slide_id])) ? (int) esc_html(stripslashes($params_array['target_attr_slide' . $slide_id])) : 0);
382
- $link = ((isset($params_array['link' . $slide_id])) ? esc_html(stripslashes($params_array['link' . $slide_id])) : (($type == 'video') ? 0 : ''));
383
- $image_url = ((isset($params_array['image_url' . $slide_id])) ? esc_html(stripslashes($params_array['image_url' . $slide_id])) : '');
384
- $image_url = str_replace(site_url(), '{site_url}', $image_url);
385
- $thumb_url = ((isset($params_array['thumb_url' . $slide_id])) ? esc_html(stripslashes($params_array['thumb_url' . $slide_id])) : '');
386
- $thumb_url = str_replace(site_url(), '{site_url}', $thumb_url);
387
- if (strpos($slide_id, 'pr') !== FALSE || $save_as_copy) {
388
- $save = $wpdb->insert($wpdb->prefix . 'wdsslide', array(
389
- 'slider_id' => $slider_id,
390
- 'title' => $title,
391
- 'type' => $type,
392
- 'order' => $order,
393
- 'published' => $published,
394
- 'link' => $link,
395
- 'image_url' => $image_url,
396
- 'thumb_url' => $thumb_url,
397
- 'target_attr_slide' => $target_attr_slide,
398
- 'youtube_rel_video' => 0,
399
- 'video_loop' => 0,
400
- ));
401
- if ($allow) {
402
- $slide_id_pr = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslide');
403
- $this->save_layer_db($slide_id, $slide_id_pr, $params_array);
404
- }
405
- }
406
- else {
407
- $save = $wpdb->update($wpdb->prefix . 'wdsslide', array(
408
- 'slider_id' => $slider_id,
409
- 'title' => $title,
410
- 'type' => $type,
411
- 'order' => $order,
412
- 'published' => $published,
413
- 'link' => $link,
414
- 'image_url' => $image_url,
415
- 'thumb_url' => $thumb_url,
416
- 'target_attr_slide' => $target_attr_slide,
417
- ), array('id' => $slide_id));
418
- if ($allow) {
419
- $this->save_layer_db($slide_id, $slide_id, $params_array);
420
- }
421
- }
422
- }
423
- }
424
- }
425
-
426
- public function save_layer_db($slide_id, $slide_id_pr, $params_array) {
427
- global $wpdb;
428
- $save_as_copy = (isset($_POST['save_as_copy']) ? (int) $_POST['save_as_copy'] : 0);
429
- $layer_ids_string = (isset($params_array['slide' . $slide_id . '_layer_ids_string']) ? esc_html(stripslashes($params_array['slide' . $slide_id . '_layer_ids_string'])) : '');
430
- $layer_id_array = explode(',', $layer_ids_string);
431
- foreach ($layer_id_array as $layer_id) {
432
- if ($layer_id) {
433
- $prefix = 'slide' . $slide_id . '_layer' . $layer_id;
434
- $json_string = (isset($params_array[$prefix . '_json']) ? $params_array[$prefix . '_json'] : '');
435
- $params_array_layer = json_decode($json_string, TRUE);
436
- $title = ((isset($params_array_layer['title'])) ? esc_html(stripslashes($params_array_layer['title'])) : '');
437
- $type = ((isset($params_array_layer['type'])) ? esc_html(stripslashes($params_array_layer['type'])) : '');
438
- $depth = ((isset($params_array_layer['depth'])) ? esc_html(stripslashes($params_array_layer['depth'])) : '');
439
- $text = ((isset($params_array_layer['text'])) ? stripcslashes($params_array_layer['text']) : '');
440
- $link = ((isset($params_array_layer['link'])) ? esc_html(stripslashes($params_array_layer['link'])) : '');
441
- $target_attr_layer = ((isset($params_array_layer['target_attr_layer'])) ? (int) esc_html(stripslashes($params_array_layer['target_attr_layer'])) : 0);
442
- $left = ((isset($params_array_layer['left'])) ? esc_html(stripslashes($params_array_layer['left'])) : '');
443
- $top = ((isset($params_array_layer['top'])) ? esc_html(stripslashes($params_array_layer['top'])) : '');
444
- $start = ((isset($params_array_layer['start'])) ? esc_html(stripslashes($params_array_layer['start'])) : '');
445
- $end = ((isset($params_array_layer['end'])) ? esc_html(stripslashes($params_array_layer['end'])) : '');
446
- $published = ((isset($params_array_layer['published'])) ? esc_html(stripslashes($params_array_layer['published'])) : '');
447
- $color = ((isset($params_array_layer['color'])) ? esc_html(stripslashes($params_array_layer['color'])) : '');
448
- $size = ((isset($params_array_layer['size'])) ? esc_html(stripslashes($params_array_layer['size'])) : '');
449
- $ffamily = ((isset($params_array_layer['ffamily'])) ? esc_html(stripslashes($params_array_layer['ffamily'])) : '');
450
- $fweight = ((isset($params_array_layer['fweight'])) ? esc_html(stripslashes($params_array_layer['fweight'])) : '');
451
- $padding = ((isset($params_array_layer['padding'])) ? esc_html(stripslashes($params_array_layer['padding'])) : '');
452
- $fbgcolor = ((isset($params_array_layer['fbgcolor'])) ? esc_html(stripslashes($params_array_layer['fbgcolor'])) : '');
453
- $transparent = ((isset($params_array_layer['transparent'])) ? esc_html(stripslashes($params_array_layer['transparent'])) : '');
454
- $border_width = ((isset($params_array_layer['border_width'])) ? esc_html(stripslashes($params_array_layer['border_width'])) : '');
455
- $border_style = ((isset($params_array_layer['border_style'])) ? esc_html(stripslashes($params_array_layer['border_style'])) : '');
456
- $border_color = ((isset($params_array_layer['border_color'])) ? esc_html(stripslashes($params_array_layer['border_color'])) : '');
457
- $border_radius = ((isset($params_array_layer['border_radius'])) ? esc_html(stripslashes($params_array_layer['border_radius'])) : '');
458
- $shadow = ((isset($params_array_layer['shadow'])) ? esc_html(stripslashes($params_array_layer['shadow'])) : '');
459
- $image_url = ((isset($params_array_layer['image_url'])) ? esc_html(stripslashes($params_array_layer['image_url'])) : '');
460
- $image_url = str_replace(site_url(), '{site_url}', $image_url);
461
- $image_width = ((isset($params_array_layer['image_width'])) ? esc_html(stripslashes($params_array_layer['image_width'])) : '');
462
- $image_height = ((isset($params_array_layer['image_height'])) ? esc_html(stripslashes($params_array_layer['image_height'])) : '');
463
- $image_scale = ((isset($params_array_layer['image_scale'])) ? esc_html(stripslashes($params_array_layer['image_scale'])) : '');
464
- $alt = ((isset($params_array_layer['alt'])) ? esc_html(stripslashes($params_array_layer['alt'])) : '');
465
- $imgtransparent = ((isset($params_array_layer['imgtransparent'])) ? esc_html(stripslashes($params_array_layer['imgtransparent'])) : '');
466
- $social_button = ((isset($params_array_layer['social_button'])) ? esc_html(stripslashes($params_array_layer['social_button'])) : '');
467
- $hover_color = ((isset($params_array_layer['hover_color'])) ? esc_html(stripslashes($params_array_layer['hover_color'])) : '');
468
- $layer_effect_in = ((isset($params_array_layer['layer_effect_in'])) ? esc_html(stripslashes($params_array_layer['layer_effect_in'])) : '');
469
- $layer_effect_out = ((isset($params_array_layer['layer_effect_out'])) ? esc_html(stripslashes($params_array_layer['layer_effect_out'])) : '');
470
- $duration_eff_in = ((isset($params_array_layer['duration_eff_in'])) ? (int) esc_html(stripslashes($params_array_layer['duration_eff_in'])) : 3);
471
- $duration_eff_out = ((isset($params_array_layer['duration_eff_out'])) ? (int) esc_html(stripslashes($params_array_layer['duration_eff_out'])) : 3);
472
-
473
- $hotp_width = ((isset($params_array_layer['hotp_width'])) ? esc_html(stripslashes($params_array_layer['hotp_width'])) : '');
474
- $hotp_fbgcolor = ((isset($params_array_layer['hotp_fbgcolor'])) ? esc_html(stripslashes($params_array_layer['hotp_fbgcolor'])) : '');
475
- $hotp_border_width = ((isset($params_array_layer['hotp_border_width'])) ? esc_html(stripslashes($params_array_layer['hotp_border_width'])) : '');
476
- $hotp_border_style = ((isset($params_array_layer['hotp_border_style'])) ? esc_html(stripslashes($params_array_layer['hotp_border_style'])) : '');
477
- $hotp_border_color = ((isset($params_array_layer['hotp_border_color'])) ? esc_html(stripslashes($params_array_layer['hotp_border_color'])) : '');
478
- $hotp_border_radius = ((isset($params_array_layer['hotp_border_radius'])) ? esc_html(stripslashes($params_array_layer['hotp_border_radius'])) : '');
479
- $hotp_text_position = ((isset($params_array_layer['hotp_text_position'])) ? esc_html(stripslashes($params_array_layer['hotp_text_position'])) : '');
480
- $google_fonts = ((isset($params_array_layer['google_fonts'])) ? (int) esc_html(stripslashes($params_array_layer['google_fonts'])) : 0);
481
- $add_class = ((isset($params_array_layer['add_class'])) ? esc_html(stripslashes($params_array_layer['add_class'])) : '');
482
- $layer_callback_list = ((isset($params_array_layer['layer_callback_list'])) ? esc_html(stripslashes($params_array_layer['layer_callback_list'])) : '');
483
- $hover_color_text = ((isset($params_array_layer['hover_color_text'])) ? esc_html(stripslashes($params_array_layer['hover_color_text'])) : '');
484
- $text_alignment = ((isset($params_array_layer['text_alignment'])) ? esc_html(stripslashes($params_array_layer['text_alignment'])) : 'center');
485
- $link_to_slide = ((isset($params_array_layer['link_to_slide'])) ? (int) esc_html(stripslashes($params_array_layer['link_to_slide'])) : 0);
486
- $align_layer = ((isset($params_array_layer['align_layer'])) ? (int) esc_html(stripslashes($params_array_layer['align_layer'])) : 0);
487
- $static_layer = ((isset($params_array_layer['static_layer'])) ? (int) esc_html(stripslashes($params_array_layer['static_layer'])) : 0);
488
- $infinite_in = ((isset($params_array_layer['infinite_in'])) ? (int) esc_html(stripslashes($params_array_layer['infinite_in'])) : 1);
489
- $infinite_out = ((isset($params_array_layer['infinite_out'])) ? (int) esc_html(stripslashes($params_array_layer['infinite_out'])) : 1);
490
- $min_size = ((isset($params_array_layer['min_size'])) ? (int) esc_html(stripslashes($params_array_layer['min_size'])) : 11);
491
- if ($title) {
492
- if (strpos($layer_id, 'pr_') !== FALSE || $save_as_copy) {
493
- $save = $wpdb->insert($wpdb->prefix . 'wdslayer', array(
494
- 'slide_id' => $slide_id_pr,
495
- 'title' => $title,
496
- 'type' => $type,
497
- 'depth' => $depth,
498
- 'text' => $text,
499
- 'link' => $link,
500
- 'left' => $left,
501
- 'top' => $top,
502
- 'start' => $start,
503
- 'end' => $end,
504
- 'published' => $published,
505
- 'color' => $color,
506
- 'size' => $size,
507
- 'ffamily' => $ffamily,
508
- 'fweight' => $fweight,
509
- 'padding' => $padding,
510
- 'fbgcolor' => $fbgcolor,
511
- 'transparent' => $transparent,
512
- 'border_width' => $border_width,
513
- 'border_style' => $border_style,
514
- 'border_color' => $border_color,
515
- 'border_radius' => $border_radius,
516
- 'shadow' => $shadow,
517
- 'image_url' => $image_url,
518
- 'image_width' => $image_width,
519
- 'image_height' => $image_height,
520
- 'image_scale' => $image_scale,
521
- 'alt' => $alt,
522
- 'imgtransparent' => $imgtransparent,
523
- 'social_button' => $social_button,
524
- 'hover_color' => $hover_color,
525
- 'layer_effect_in' => $layer_effect_in,
526
- 'layer_effect_out' => $layer_effect_out,
527
- 'duration_eff_in' => $duration_eff_in,
528
- 'duration_eff_out' => $duration_eff_out,
529
- 'target_attr_layer' => $target_attr_layer,
530
- 'hotp_width' => $hotp_width,
531
- 'hotp_fbgcolor' => $hotp_fbgcolor,
532
- 'hotp_border_width' => $hotp_border_width,
533
- 'hotp_border_style' => $hotp_border_style,
534
- 'hotp_border_color' => $hotp_border_color,
535
- 'hotp_border_radius' => $hotp_border_radius,
536
- 'hotp_text_position' => $hotp_text_position,
537
- 'google_fonts' => $google_fonts,
538
- 'add_class' => $add_class,
539
- 'layer_video_loop' => 0,
540
- 'youtube_rel_layer_video' => 0,
541
- 'hotspot_animation' => 0,
542
- 'layer_callback_list' => $layer_callback_list,
543
- 'hotspot_text_display' => 0,
544
- 'hover_color_text' => $hover_color_text,
545
- 'text_alignment' => $text_alignment,
546
- 'link_to_slide' => $link_to_slide,
547
- 'align_layer' => $align_layer,
548
- 'static_layer' => $static_layer,
549
- 'infinite_in' => $infinite_in,
550
- 'infinite_out' => $infinite_out,
551
- 'min_size' => $min_size,
552
- ));
553
- }
554
- else {
555
- $save = $wpdb->update($wpdb->prefix . 'wdslayer', array(
556
- 'title' => $title,
557
- 'type' => $type,
558
- 'depth' => $depth,
559
- 'text' => $text,
560
- 'link' => $link,
561
- 'left' => $left,
562
- 'top' => $top,
563
- 'start' => $start,
564
- 'end' => $end,
565
- 'published' => $published,
566
- 'color' => $color,
567
- 'size' => $size,
568
- 'ffamily' => $ffamily,
569
- 'fweight' => $fweight,
570
- 'padding' => $padding,
571
- 'fbgcolor' => $fbgcolor,
572
- 'transparent' => $transparent,
573
- 'border_width' => $border_width,
574
- 'border_style' => $border_style,
575
- 'border_color' => $border_color,
576
- 'border_radius' => $border_radius,
577
- 'shadow' => $shadow,
578
- 'image_url' => $image_url,
579
- 'image_width' => $image_width,
580
- 'image_height' => $image_height,
581
- 'image_scale' => $image_scale,
582
- 'alt' => $alt,
583
- 'imgtransparent' => $imgtransparent,
584
- 'social_button' => $social_button,
585
- 'hover_color' => $hover_color,
586
- 'layer_effect_in' => $layer_effect_in,
587
- 'layer_effect_out' => $layer_effect_out,
588
- 'duration_eff_in' => $duration_eff_in,
589
- 'duration_eff_out' => $duration_eff_out,
590
- 'target_attr_layer' => $target_attr_layer,
591
- 'hotp_width' => $hotp_width,
592
- 'hotp_fbgcolor' => $hotp_fbgcolor,
593
- 'hotp_border_width' => $hotp_border_width,
594
- 'hotp_border_style' => $hotp_border_style,
595
- 'hotp_border_color' => $hotp_border_color,
596
- 'hotp_border_radius' => $hotp_border_radius,
597
- 'hotp_text_position' => $hotp_text_position,
598
- 'google_fonts' => $google_fonts,
599
- 'add_class' => $add_class,
600
- 'layer_callback_list' => $layer_callback_list,
601
- 'hover_color_text' => $hover_color_text,
602
- 'text_alignment' => $text_alignment,
603
- 'link_to_slide' => $link_to_slide,
604
- 'align_layer' => $align_layer,
605
- 'static_layer' => $static_layer,
606
- 'infinite_in' => $infinite_in,
607
- 'infinite_out' => $infinite_out,
608
- 'min_size' => $min_size,
609
- ), array('id' => $layer_id));
610
- }
611
- }
612
- }
613
- }
614
- }
615
-
616
- public function set_watermark() {
617
- global $wpdb;
618
- $slider_id = WDW_S_Library::get('current_id', 0);
619
- if (!$slider_id) {
620
- $slider_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslider');
621
- }
622
-
623
- $slider_images = $wpdb->get_col($wpdb->prepare('SELECT image_url FROM ' . $wpdb->prefix . 'wdsslide WHERE `slider_id`="%d"', $slider_id));
624
- $slider = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wdsslider WHERE `id`="%d"', $slider_id));
625
-
626
- switch ($slider->built_in_watermark_type) {
627
- case 'text': {
628
- foreach ($slider_images as $slider_image) {
629
- if ($slider_image) {
630
- $slider_image = str_replace('{site_url}', site_url(), $slider_image);
631
- $slider_image_dir = str_replace(site_url() . '/', ABSPATH, $slider_image);
632
- $last_slash_pos = strrpos($slider_image_dir, '/') + 1;
633
- $dest_dir = substr($slider_image_dir, 0, $last_slash_pos);
634
- $image_name = substr($slider_image_dir, $last_slash_pos);
635
- $new_image = $dest_dir . '.original/' . $image_name;
636
- if (!is_dir($dest_dir . '.original')) {
637
- mkdir($dest_dir . '.original', 0777, TRUE);
638
- }
639
- if (!file_exists($new_image)) {
640
- copy($slider_image_dir, $new_image);
641
- }
642
- $this->set_text_watermark($slider_image_dir, $slider_image_dir, $slider->built_in_watermark_text, $slider->built_in_watermark_font, $slider->built_in_watermark_font_size, '#' . $slider->built_in_watermark_color, $slider->built_in_watermark_opacity, $slider->built_in_watermark_position);
643
- }
644
- }
645
- break;
646
- }
647
- case 'image': {
648
- foreach ($slider_images as $slider_image) {
649
- if ($slider_image) {
650
- $slider_image = str_replace('{site_url}', site_url(), $slider_image);
651
- $slider_image_dir = str_replace(site_url() . '/', ABSPATH, $slider_image);
652
- $last_slash_pos = strrpos($slider_image_dir, '/') + 1;
653
- $dest_dir = substr($slider_image_dir, 0, $last_slash_pos);
654
- $image_name = substr($slider_image_dir, $last_slash_pos);
655
- $new_image = $dest_dir . '.original/' . $image_name;
656
- if (!is_dir($dest_dir . '.original')) {
657
- mkdir($dest_dir . '.original', 0777, TRUE);
658
- }
659
- if (!file_exists($new_image)) {
660
- copy($slider_image_dir, $new_image);
661
- }
662
- $slider->built_in_watermark_url = str_replace('{site_url}', site_url(), $slider->built_in_watermark_url);
663
- $watermark_image_dir = str_replace(site_url() . '/', ABSPATH, $slider->built_in_watermark_url);
664
- $this->set_image_watermark($slider_image_dir, $slider_image_dir, $watermark_image_dir, $slider->built_in_watermark_size, $slider->built_in_watermark_size, $slider->built_in_watermark_position);
665
- }
666
- }
667
- break;
668
- }
669
- default: {
670
- break;
671
- }
672
- }
673
- }
674
-
675
- public function reset_watermark() {
676
- global $wpdb;
677
- $slider_id = WDW_S_Library::get('current_id', 0);
678
- if (!$slider_id) {
679
- $slider_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslider');
680
- }
681
- $slider_images = $wpdb->get_col($wpdb->prepare('SELECT image_url FROM ' . $wpdb->prefix . 'wdsslide WHERE `slider_id`="%d"', $slider_id));
682
- foreach ($slider_images as $slider_image) {
683
- if ($slider_image) {
684
- $slider_image = str_replace('{site_url}', site_url(), $slider_image);
685
- $slider_image_dir = str_replace(site_url() . '/', ABSPATH, $slider_image);
686
- $last_slash_pos = strrpos($slider_image_dir, '/') + 1;
687
- $dest_dir = substr($slider_image_dir, 0, $last_slash_pos);
688
- $image_name = substr($slider_image_dir, $last_slash_pos);
689
- $new_image = $dest_dir . '.original/' . $image_name;
690
- if (file_exists($new_image)) {
691
- copy($new_image, $slider_image_dir);
692
- }
693
- else {
694
- // For 1.0.1 version.
695
- $last_dot_pos = strrpos($slider_image_dir, '.');
696
- $base_name = substr($slider_image_dir, 0, $last_dot_pos);
697
- $ext = substr($slider_image_dir, strlen($base_name));
698
- $new_image = $base_name . '-original' . $ext;
699
- if (file_exists($new_image)) {
700
- copy($new_image, $slider_image_dir);
701
- }
702
- }
703
- }
704
- }
705
- }
706
-
707
- public function reset() {
708
- global $wpdb;
709
- $slider_id = WDW_S_Library::get('current_id', 0);
710
- if (!$slider_id) {
711
- $slider_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslider');
712
- }
713
-
714
- require_once WD_S_DIR . "/admin/models/WDSModelSliders_wds.php";
715
- $model = new WDSModelSliders_wds();
716
-
717
- require_once WD_S_DIR . "/admin/views/WDSViewSliders_wds.php";
718
- $view = new WDSViewSliders_wds($model);
719
- echo WDW_S_Library::message('Changes must be saved.', 'wd_error');
720
- $view->edit($slider_id, TRUE);
721
- }
722
- public function duplicate() {
723
- $slider_id = WDW_S_Library::get('current_id', 0);
724
- $new_slider_id = $this->duplicate_tables($slider_id);
725
- require_once WD_S_DIR . "/admin/models/WDSModelSliders_wds.php";
726
- $model = new WDSModelSliders_wds();
727
- require_once WD_S_DIR . "/admin/views/WDSViewSliders_wds.php";
728
- $view = new WDSViewSliders_wds($model);
729
- echo WDW_S_Library::message('Item Succesfully Duplicated.', 'wd_updated');
730
- $view->edit($new_slider_id);
731
- }
732
-
733
- public function duplicate_all($id) {
734
- global $wpdb;
735
- $flag = FALSE;
736
- $sliders_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'wdsslider');
737
- foreach ($sliders_ids_col as $slider_id) {
738
- if (isset($_POST['check_' . $slider_id])) {
739
- $flag = TRUE;
740
- $this->duplicate_tables($slider_id);
741
- }
742
- }
743
- if ($flag) {
744
- echo WDW_S_Library::message('Items Succesfully Duplicated.', 'wd_updated');
745
- }
746
- else {
747
- echo WDW_S_Library::message('You must select at least one item.', 'wd_error');
748
- }
749
- $this->display();
750
- }
751
-
752
- public function duplicate_tables($slider_id, $new_slider_name = "") {
753
- global $wpdb;
754
- if ($slider_id) {
755
- $slider_row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wdsslider where id="%d"', $slider_id));
756
- }
757
- if ($slider_row) {
758
- $name = $new_slider_name ? $new_slider_name : $slider_row->name;
759
- $save = $wpdb->insert($wpdb->prefix . 'wdsslider', array(
760
- 'name' => $name,
761
- 'published' => $slider_row->published,
762
- 'full_width' => $slider_row->full_width,
763
- 'width' => $slider_row->width,
764
- 'height' => $slider_row->height,
765
- 'bg_fit' => $slider_row->bg_fit,
766
- 'align' => $slider_row->align,
767
- 'effect' => $slider_row->effect,
768
- 'time_intervval' => $slider_row->time_intervval,
769
- 'autoplay' => $slider_row->autoplay,
770
- 'shuffle' => $slider_row->shuffle,
771
- 'music' => $slider_row->music,
772
- 'music_url' => $slider_row->music_url,
773
- 'preload_images' => $slider_row->preload_images,
774
- 'background_color' => $slider_row->background_color,
775
- 'background_transparent' =>$slider_row-> background_transparent,
776
- 'glb_border_width' => $slider_row->glb_border_width,
777
- 'glb_border_style' => $slider_row->glb_border_style,
778
- 'glb_border_color' => $slider_row->glb_border_color,
779
- 'glb_border_radius' => $slider_row->glb_border_radius,
780
- 'glb_margin' => $slider_row->glb_margin,
781
- 'glb_box_shadow' => $slider_row->glb_box_shadow,
782
- 'image_right_click' => $slider_row->image_right_click,
783
- 'prev_next_butt' => $slider_row->prev_next_butt,
784
- 'play_paus_butt' => $slider_row->play_paus_butt,
785
- 'navigation' => $slider_row->navigation,
786
- 'rl_butt_style' => $slider_row->rl_butt_style,
787
- 'rl_butt_size' => $slider_row->rl_butt_size,
788
- 'pp_butt_size' => $slider_row->pp_butt_size,
789
- 'butts_color' => $slider_row->butts_color,
790
- 'butts_transparent' => $slider_row->butts_transparent,
791
- 'hover_color' => $slider_row->hover_color,
792
- 'nav_border_width' => $slider_row->nav_border_width,
793
- 'nav_border_style' => $slider_row->nav_border_style,
794
- 'nav_border_color' => $slider_row->nav_border_color,
795
- 'nav_border_radius' => $slider_row->nav_border_radius,
796
- 'nav_bg_color' => $slider_row->nav_bg_color,
797
- 'bull_position' => $slider_row->bull_position,
798
- 'bull_style' => $slider_row->bull_style,
799
- 'bull_size' => $slider_row->bull_size,
800
- 'bull_color' => $slider_row->bull_color,
801
- 'bull_act_color' => $slider_row->bull_act_color,
802
- 'bull_margin' => $slider_row->bull_margin,
803
- 'film_pos' => $slider_row->film_pos,
804
- 'film_thumb_width' => $slider_row->film_thumb_width,
805
- 'film_thumb_height' => $slider_row->film_thumb_height,
806
- 'film_bg_color' => $slider_row->film_bg_color,
807
- 'film_tmb_margin' => $slider_row->film_tmb_margin,
808
- 'film_act_border_width' => $slider_row->film_act_border_width,
809
- 'film_act_border_style' => $slider_row->film_act_border_style,
810
- 'film_act_border_color' => $slider_row->film_act_border_color,
811
- 'film_dac_transparent' => $slider_row->film_dac_transparent,
812
- 'built_in_watermark_type' => $slider_row->built_in_watermark_type,
813
- 'built_in_watermark_position' => $slider_row->built_in_watermark_position,
814
- 'built_in_watermark_size' => $slider_row->built_in_watermark_size,
815
- 'built_in_watermark_url' => $slider_row->built_in_watermark_url,
816
- 'built_in_watermark_text' => $slider_row->built_in_watermark_text,
817
- 'built_in_watermark_opacity' => $slider_row->built_in_watermark_opacity,
818
- 'built_in_watermark_font_size' => $slider_row->built_in_watermark_font_size,
819
- 'built_in_watermark_font' => $slider_row->built_in_watermark_font,
820
- 'built_in_watermark_color' => $slider_row->built_in_watermark_color,
821
- 'css' => $slider_row->css,
822
- 'timer_bar_type' => $slider_row->timer_bar_type,
823
- 'timer_bar_size' => $slider_row->timer_bar_size,
824
- 'timer_bar_color' => $slider_row->timer_bar_color,
825
- 'timer_bar_transparent' => $slider_row->timer_bar_transparent,
826
- 'layer_out_next' => $slider_row->layer_out_next,
827
- 'stop_animation' => $slider_row->stop_animation,
828
- 'right_butt_url' => $slider_row->right_butt_url,
829
- 'left_butt_url' => $slider_row->left_butt_url,
830
- 'right_butt_hov_url' => $slider_row->right_butt_hov_url,
831
- 'left_butt_hov_url' => $slider_row->left_butt_hov_url,
832
- 'rl_butt_img_or_not' => $slider_row->rl_butt_img_or_not,
833
- 'bullets_img_main_url' => $slider_row->bullets_img_main_url,
834
- 'bullets_img_hov_url' => $slider_row->bullets_img_hov_url,
835
- 'bull_butt_img_or_not' => $slider_row->bull_butt_img_or_not,
836
- 'play_paus_butt_img_or_not' => $slider_row->play_paus_butt_img_or_not,
837
- 'play_butt_url' => $slider_row->play_butt_url,
838
- 'play_butt_hov_url' => $slider_row->play_butt_hov_url,
839
- 'paus_butt_url' => $slider_row->paus_butt_url,
840
- 'paus_butt_hov_url' => $slider_row->paus_butt_hov_url,
841
- 'start_slide_num' => $slider_row->start_slide_num,
842
- 'effect_duration' => $slider_row->effect_duration,
843
- 'carousel' => $slider_row->carousel,
844
- 'carousel_image_counts' => $slider_row->carousel_image_counts,
845
- 'carousel_image_parameters' => $slider_row->carousel_image_parameters,
846
- 'carousel_fit_containerWidth' => $slider_row->carousel_fit_containerWidth,
847
- 'carousel_width' => $slider_row->carousel_width,
848
- 'parallax_effect' => $slider_row->parallax_effect,
849
- 'carousel_degree' => $slider_row->carousel_degree,
850
- 'carousel_grayscale' => $slider_row->carousel_grayscale,
851
- 'carousel_transparency' => $slider_row->carousel_transparency,
852
- 'bull_back_act_color' => $slider_row->bull_back_act_color,
853
- 'bull_back_color' => $slider_row->bull_back_color,
854
- 'bull_radius' => $slider_row->bull_radius,
855
- 'smart_crop' => $slider_row->smart_crop,
856
- 'crop_image_position' => $slider_row->crop_image_position,
857
- 'slider_loop' => $slider_row->slider_loop,
858
- 'bull_hover' => $slider_row->bull_hover,
859
- 'show_thumbnail' => $slider_row->show_thumbnail,
860
- 'thumb_size' => $slider_row->thumb_size,
861
- 'hide_on_mobile' => $slider_row->hide_on_mobile,
862
- 'twoway_slideshow' => $slider_row->twoway_slideshow,
863
- 'mouse_swipe_nav' => $slider_row->mouse_swipe_nav,
864
- 'touch_swipe_nav' => $slider_row->touch_swipe_nav,
865
- 'mouse_wheel_nav' => $slider_row->mouse_wheel_nav,
866
- 'keyboard_nav' => $slider_row->keyboard_nav,
867
- 'fixed_bg' => $slider_row->fixed_bg,
868
- 'full_width_for_mobile' => $slider_row->full_width_for_mobile,
869
- 'order_dir' => $slider_row->order_dir,
870
- ));
871
- $new_slider_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslider');
872
-
873
- $slider_slides = $wpdb->get_results($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wdsslide where slider_id="%d"', $slider_id));
874
- if ($slider_slides) {
875
- foreach ($slider_slides as $single_slide) {
876
- $save = $wpdb->insert($wpdb->prefix . 'wdsslide', array(
877
- 'slider_id' => $new_slider_id,
878
- 'title' => $single_slide->title,
879
- 'type' => $single_slide->type,
880
- 'order' => $single_slide->order,
881
- 'published' => $single_slide->published,
882
- 'link' => $single_slide->link,
883
- 'image_url' => $single_slide->image_url,
884
- 'thumb_url' => $single_slide->thumb_url,
885
- 'target_attr_slide' => $single_slide->target_attr_slide,
886
- 'youtube_rel_video' => $single_slide->youtube_rel_video,
887
- 'video_loop' => $single_slide->video_loop,
888
- ));
889
- $new_slide_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslide');
890
- $slider_layer = $wpdb->get_results($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wdslayer where slide_id="%d"', $single_slide->id));
891
- if ($slider_layer) {
892
- foreach ($slider_layer as $layer_id) {
893
- if ($layer_id) {
894
- $save = $wpdb->insert($wpdb->prefix . 'wdslayer', array(
895
- 'slide_id' => $new_slide_id,
896
- 'title' => $layer_id->title,
897
- 'type' => $layer_id->type,
898
- 'depth' => $layer_id->depth,
899
- 'text' => $layer_id->text,
900
- 'link' => $layer_id->link,
901
- 'left' => $layer_id->left,
902
- 'top' => $layer_id->top,
903
- 'start' => $layer_id->start,
904
- 'end' => $layer_id->end,
905
- 'published' => $layer_id->published,
906
- 'color' => $layer_id->color,
907
- 'size' => $layer_id->size,
908
- 'ffamily' => $layer_id->ffamily,
909
- 'fweight' => $layer_id->fweight,
910
- 'padding' => $layer_id->padding,
911
- 'fbgcolor' => $layer_id->fbgcolor,
912
- 'transparent' => $layer_id->transparent,
913
- 'border_width' => $layer_id->border_width,
914
- 'border_style' => $layer_id->border_style,
915
- 'border_color' => $layer_id->border_color,
916
- 'border_radius' => $layer_id->border_radius,
917
- 'shadow' => $layer_id->shadow,
918
- 'image_url' => $layer_id->image_url,
919
- 'image_width' => $layer_id->image_width,
920
- 'image_height' => $layer_id->image_height,
921
- 'image_scale' => $layer_id->image_scale,
922
- 'alt' => $layer_id->alt,
923
- 'imgtransparent' => $layer_id->imgtransparent,
924
- 'social_button' => $layer_id->social_button,
925
- 'hover_color' => $layer_id->hover_color,
926
- 'layer_effect_in' => $layer_id->layer_effect_in,
927
- 'layer_effect_out' => $layer_id->layer_effect_out,
928
- 'duration_eff_in' => $layer_id->duration_eff_in,
929
- 'duration_eff_out' => $layer_id->duration_eff_out,
930
- 'target_attr_layer' => $layer_id->target_attr_layer,
931
- 'hotp_width' => $layer_id->hotp_width,
932
- 'hotp_fbgcolor' => $layer_id->hotp_fbgcolor,
933
- 'hotp_border_width' => $layer_id->hotp_border_width,
934
- 'hotp_border_style' => $layer_id->hotp_border_style,
935
- 'hotp_border_color' => $layer_id->hotp_border_color,
936
- 'hotp_border_radius' => $layer_id->hotp_border_radius,
937
- 'hotp_text_position' => $layer_id->hotp_text_position,
938
- 'google_fonts' => $layer_id->google_fonts,
939
- 'add_class' => $layer_id->add_class,
940
- 'layer_video_loop' => $layer_id->layer_video_loop,
941
- 'youtube_rel_layer_video' => $layer_id->youtube_rel_layer_video,
942
- 'hotspot_animation' => $layer_id->hotspot_animation,
943
- 'layer_callback_list' => $layer_id->layer_callback_list,
944
- 'hotspot_text_display' => $layer_id->hotspot_text_display,
945
- 'hover_color_text' => $layer_id->hover_color_text,
946
- 'text_alignment' => $layer_id->text_alignment,
947
- 'link_to_slide' => $layer_id->link_to_slide,
948
- 'align_layer' => $layer_id->align_layer,
949
- 'static_layer' => $layer_id->static_layer,
950
- 'infinite_in' => $layer_id->infinite_in,
951
- 'infinite_out' => $layer_id->infinite_out,
952
- 'min_size' => $layer_id->min_size,
953
- ));
954
- }
955
- }
956
- }
957
- }
958
- }
959
- }
960
- return $new_slider_id;
961
- }
962
-
963
- function wds_hex2rgb($hex) {
964
- $hex = str_replace("#", "", $hex);
965
- if (strlen($hex) == 3) {
966
- $r = hexdec(substr($hex,0,1).substr($hex,0,1));
967
- $g = hexdec(substr($hex,1,1).substr($hex,1,1));
968
- $b = hexdec(substr($hex,2,1).substr($hex,2,1));
969
- }
970
- else {
971
- $r = hexdec(substr($hex,0,2));
972
- $g = hexdec(substr($hex,2,2));
973
- $b = hexdec(substr($hex,4,2));
974
- }
975
- $rgb = array($r, $g, $b);
976
- return $rgb;
977
- }
978
-
979
- function wds_imagettfbboxdimensions($font_size, $font_angle, $font, $text) {
980
- $box = @ImageTTFBBox($font_size, $font_angle, $font, $text) or die;
981
- $max_x = max(array($box[0], $box[2], $box[4], $box[6]));
982
- $max_y = max(array($box[1], $box[3], $box[5], $box[7]));
983
- $min_x = min(array($box[0], $box[2], $box[4], $box[6]));
984
- $min_y = min(array($box[1], $box[3], $box[5], $box[7]));
985
- return array(
986
- "width" => ($max_x - $min_x),
987
- "height" => ($max_y - $min_y)
988
- );
989
- }
990
-
991
- function set_text_watermark($original_filename, $dest_filename, $watermark_text, $watermark_font, $watermark_font_size, $watermark_color, $watermark_transparency, $watermark_position) {
992
- $original_filename = htmlspecialchars_decode($original_filename, ENT_COMPAT | ENT_QUOTES);
993
- $dest_filename = htmlspecialchars_decode($dest_filename, ENT_COMPAT | ENT_QUOTES);
994
-
995
- $watermark_transparency = 127 - ((100 - $watermark_transparency) * 1.27);
996
- list($width, $height, $type) = getimagesize($original_filename);
997
- $watermark_image = imagecreatetruecolor($width, $height);
998
-
999
- $watermark_color = $this->wds_hex2rgb($watermark_color);
1000
- $watermark_color = imagecolorallocatealpha($watermark_image, $watermark_color[0], $watermark_color[1], $watermark_color[2], $watermark_transparency);
1001
- $watermark_font = WD_S_DIR . '/fonts/' . $watermark_font;
1002
- $watermark_font_size = ($height * $watermark_font_size / 500);
1003
- $watermark_position = explode('-', $watermark_position);
1004
- $watermark_sizes = $this->wds_imagettfbboxdimensions($watermark_font_size, 0, $watermark_font, $watermark_text);
1005
-
1006
- $top = $height - 5;
1007
- $left = $width - $watermark_sizes['width'] - 5;
1008
- switch ($watermark_position[0]) {
1009
- case 'top':
1010
- $top = $watermark_sizes['height'] + 5;
1011
- break;
1012
- case 'middle':
1013
- $top = ($height + $watermark_sizes['height']) / 2;
1014
- break;
1015
- }
1016
- switch ($watermark_position[1]) {
1017
- case 'left':
1018
- $left = 5;
1019
- break;
1020
- case 'center':
1021
- $left = ($width - $watermark_sizes['width']) / 2;
1022
- break;
1023
- }
1024
- @ini_set('memory_limit', '-1');
1025
- if ($type == 2) {
1026
- $image = imagecreatefromjpeg($original_filename);
1027
- imagettftext($image, $watermark_font_size, 0, $left, $top, $watermark_color, $watermark_font, $watermark_text);
1028
- imagejpeg ($image, $dest_filename, 100);
1029
- imagedestroy($image);
1030
- }
1031
- elseif ($type == 3) {
1032
- $image = imagecreatefrompng($original_filename);
1033
- imagettftext($image, $watermark_font_size, 0, $left, $top, $watermark_color, $watermark_font, $watermark_text);
1034
- imageColorAllocateAlpha($image, 0, 0, 0, 127);
1035
- imagealphablending($image, FALSE);
1036
- imagesavealpha($image, TRUE);
1037
- imagepng($image, $dest_filename, 9);
1038
- imagedestroy($image);
1039
- }
1040
- elseif ($type == 1) {
1041
- $image = imagecreatefromgif($original_filename);
1042
- imageColorAllocateAlpha($watermark_image, 0, 0, 0, 127);
1043
- imagecopy($watermark_image, $image, 0, 0, 0, 0, $width, $height);
1044
- imagettftext($watermark_image, $watermark_font_size, 0, $left, $top, $watermark_color, $watermark_font, $watermark_text);
1045
- imagealphablending($watermark_image, FALSE);
1046
- imagesavealpha($watermark_image, TRUE);
1047
- imagegif($watermark_image, $dest_filename);
1048
- imagedestroy($image);
1049
- }
1050
- imagedestroy($watermark_image);
1051
- @ini_restore('memory_limit');
1052
- }
1053
-
1054
- function set_image_watermark($original_filename, $dest_filename, $watermark_url, $watermark_height, $watermark_width, $watermark_position) {
1055
- $original_filename = htmlspecialchars_decode($original_filename, ENT_COMPAT | ENT_QUOTES);
1056
- $dest_filename = htmlspecialchars_decode($dest_filename, ENT_COMPAT | ENT_QUOTES);
1057
- $watermark_url = htmlspecialchars_decode($watermark_url, ENT_COMPAT | ENT_QUOTES);
1058
-
1059
- list($width, $height, $type) = getimagesize($original_filename);
1060
- list($width_watermark, $height_watermark, $type_watermark) = getimagesize($watermark_url);
1061
-
1062
- $watermark_width = $width * $watermark_width / 100;
1063
- $watermark_height = $height_watermark * $watermark_width / $width_watermark;
1064
-
1065
- $watermark_position = explode('-', $watermark_position);
1066
- $top = $height - $watermark_height - 5;
1067
- $left = $width - $watermark_width - 5;
1068
- switch ($watermark_position[0]) {
1069
- case 'top':
1070
- $top = 5;
1071
- break;
1072
- case 'middle':
1073
- $top = ($height - $watermark_height) / 2;
1074
- break;
1075
- }
1076
- switch ($watermark_position[1]) {
1077
- case 'left':
1078
- $left = 5;
1079
- break;
1080
- case 'center':
1081
- $left = ($width - $watermark_width) / 2;
1082
- break;
1083
- }
1084
- @ini_set('memory_limit', '-1');
1085
- if ($type_watermark == 2) {
1086
- $watermark_image = imagecreatefromjpeg($watermark_url);
1087
- }
1088
- elseif ($type_watermark == 3) {
1089
- $watermark_image = imagecreatefrompng($watermark_url);
1090
- }
1091
- elseif ($type_watermark == 1) {
1092
- $watermark_image = imagecreatefromgif($watermark_url);
1093
- }
1094
- else {
1095
- return false;
1096
- }
1097
-
1098
- $watermark_image_resized = imagecreatetruecolor($watermark_width, $watermark_height);
1099
- imagecolorallocatealpha($watermark_image_resized, 255, 255, 255, 127);
1100
- imagealphablending($watermark_image_resized, FALSE);
1101
- imagesavealpha($watermark_image_resized, TRUE);
1102
- imagecopyresampled ($watermark_image_resized, $watermark_image, 0, 0, 0, 0, $watermark_width, $watermark_height, $width_watermark, $height_watermark);
1103
-
1104
- if ($type == 2) {
1105
- $image = imagecreatefromjpeg($original_filename);
1106
- imagecopy($image, $watermark_image_resized, $left, $top, 0, 0, $watermark_width, $watermark_height);
1107
- if ($dest_filename <> '') {
1108
- imagejpeg ($image, $dest_filename, 100);
1109
- } else {
1110
- header('Content-Type: image/jpeg');
1111
- imagejpeg($image, null, 100);
1112
- };
1113
- imagedestroy($image);
1114
- }
1115
- elseif ($type == 3) {
1116
- $image = imagecreatefrompng($original_filename);
1117
- imagecopy($image, $watermark_image_resized, $left, $top, 0, 0, $watermark_width, $watermark_height);
1118
- imagealphablending($image, FALSE);
1119
- imagesavealpha($image, TRUE);
1120
- imagepng($image, $dest_filename, 9);
1121
- imagedestroy($image);
1122
- }
1123
- elseif ($type == 1) {
1124
- $image = imagecreatefromgif($original_filename);
1125
- $tempimage = imagecreatetruecolor($width, $height);
1126
- imagecopy($tempimage, $image, 0, 0, 0, 0, $width, $height);
1127
- imagecopy($tempimage, $watermark_image_resized, $left, $top, 0, 0, $watermark_width, $watermark_height);
1128
- imagegif($tempimage, $dest_filename);
1129
- imagedestroy($image);
1130
- imagedestroy($tempimage);
1131
- }
1132
- imagedestroy($watermark_image);
1133
- @ini_restore('memory_limit');
1134
- }
1135
-
1136
- public function delete($id) {
1137
- global $wpdb;
1138
- $query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'wdsslider WHERE id="%d"', $id);
1139
- if ($wpdb->query($query)) {
1140
- $query_image = $wpdb->prepare('DELETE t1.*, t2.* FROM ' . $wpdb->prefix . 'wdsslide as t1 LEFT JOIN ' . $wpdb->prefix . 'wdslayer as t2 ON t1.id=t2.slide_id WHERE t1.slider_id="%d"', $id);
1141
- $wpdb->query($query_image);
1142
- echo WDW_S_Library::message('Item Succesfully Deleted.', 'wd_updated');
1143
- }
1144
- else {
1145
- echo WDW_S_Library::message('Error. Please install plugin again.', 'wd_error');
1146
- }
1147
- $this->display();
1148
- }
1149
-
1150
- public function delete_all() {
1151
- global $wpdb;
1152
- $flag = FALSE;
1153
- $sliders_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'wdsslider');
1154
- foreach ($sliders_ids_col as $slider_id) {
1155
- if (isset($_POST['check_' . $slider_id]) || isset($_POST['check_all_items'])) {
1156
- $flag = TRUE;
1157
- $query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'wdsslider WHERE id="%d"', $slider_id);
1158
- $wpdb->query($query);
1159
- $query_image = $wpdb->prepare('DELETE t1.*, t2.* FROM ' . $wpdb->prefix . 'wdsslide as t1 LEFT JOIN ' . $wpdb->prefix . 'wdslayer as t2 ON t1.id=t2.slide_id WHERE t1.slider_id="%d"', $slider_id);
1160
- $wpdb->query($query_image);
1161
- }
1162
- }
1163
- if ($flag) {
1164
- echo WDW_S_Library::message('Items Succesfully Deleted.', 'wd_updated');
1165
- }
1166
- else {
1167
- echo WDW_S_Library::message('You must select at least one item.', 'wd_error');
1168
- }
1169
- $this->display();
1170
- }
1171
-
1172
- public function publish($id) {
1173
- global $wpdb;
1174
- $save = $wpdb->update($wpdb->prefix . 'wdsslider', array('published' => 1), array('id' => $id));
1175
- if ($save !== FALSE) {
1176
- echo WDW_S_Library::message('Item Succesfully Published.', 'wd_updated');
1177
- }
1178
- else {
1179
- echo WDW_S_Library::message('Error. Please install plugin again.', 'wd_error');
1180
- }
1181
- $this->display();
1182
- }
1183
-
1184
- public function publish_all() {
1185
- global $wpdb;
1186
- $flag = FALSE;
1187
- if (isset($_POST['check_all_items'])) {
1188
- $wpdb->query('UPDATE ' . $wpdb->prefix . 'wdsslider SET published=1');
1189
- $flag = TRUE;
1190
- }
1191
- else {
1192
- $sliders_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'wdsslider');
1193
- foreach ($sliders_ids_col as $slider_id) {
1194
- if (isset($_POST['check_' . $slider_id])) {
1195
- $flag = TRUE;
1196
- $wpdb->update($wpdb->prefix . 'wdsslider', array('published' => 1), array('id' => $slider_id));
1197
- }
1198
- }
1199
- }
1200
- if ($flag) {
1201
- echo WDW_S_Library::message('Items Succesfully Published.', 'wd_updated');
1202
- }
1203
- else {
1204
- echo WDW_S_Library::message('You must select at least one item.', 'wd_error');
1205
- }
1206
- $this->display();
1207
- }
1208
-
1209
- public function unpublish($id) {
1210
- global $wpdb;
1211
- $save = $wpdb->update($wpdb->prefix . 'wdsslider', array('published' => 0), array('id' => $id));
1212
- if ($save !== FALSE) {
1213
- echo WDW_S_Library::message('Item Succesfully Unpublished.', 'wd_updated');
1214
- }
1215
- else {
1216
- echo WDW_S_Library::message('Error. Please install plugin again.', 'wd_error');
1217
- }
1218
- $this->display();
1219
- }
1220
-
1221
- public function unpublish_all() {
1222
- global $wpdb;
1223
- $flag = FALSE;
1224
- if (isset($_POST['check_all_items'])) {
1225
- $wpdb->query('UPDATE ' . $wpdb->prefix . 'wdsslider SET published=0');
1226
- $flag = TRUE;
1227
- }
1228
- else {
1229
- $sliders_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'wdsslider');
1230
- foreach ($sliders_ids_col as $slider_id) {
1231
- if (isset($_POST['check_' . $slider_id])) {
1232
- $flag = TRUE;
1233
- $wpdb->update($wpdb->prefix . 'wdsslider', array('published' => 0), array('id' => $slider_id));
1234
- }
1235
- }
1236
- }
1237
- if ($flag) {
1238
- echo WDW_S_Library::message('Items Succesfully Unpublished.', 'wd_updated');
1239
- }
1240
- else {
1241
- echo WDW_S_Library::message('You must select at least one item.', 'wd_error');
1242
- }
1243
- $this->display();
1244
- }
1245
-
1246
- public function merge_sliders() {
1247
- $flag = FALSE;
1248
- $check_sliders = array();
1249
- $sliders_names = array();
1250
- global $wpdb;
1251
- $sliders_ids_col = $wpdb->get_results('SELECT id, name FROM ' . $wpdb->prefix . 'wdsslider ORDER BY id');
1252
- $name = "Merged sliders of ";
1253
- foreach ($sliders_ids_col as $slider_id) {
1254
- if (isset($_POST['check_' . $slider_id->id])) {
1255
- $check_sliders[] = $slider_id->id;
1256
- $sliders_names[] = $slider_id->name;
1257
- }
1258
- }
1259
- if (count($check_sliders) > 1) {
1260
- $name .= implode(",", $sliders_names);
1261
- if (isset($_POST["select_slider_merge"])) {
1262
- $select_slider_merge = (int) $_POST["select_slider_merge"];
1263
- $new_slider_id = $this->duplicate_tables($select_slider_merge, $name);
1264
- $max_order = $wpdb->get_var($wpdb->prepare('SELECT MAX(`order`) FROM ' . $wpdb->prefix . 'wdsslide WHERE slider_id="%d"', $new_slider_id));
1265
- $key = array_search($select_slider_merge, $check_sliders);
1266
- if (isset($check_sliders[$key])) {
1267
- unset($check_sliders[$key]);
1268
- }
1269
- }
1270
- $this->insert_slides($new_slider_id, $check_sliders, $max_order);
1271
- $flag = TRUE;
1272
- echo WDW_S_Library::message('The selected items are merged as a new slider.', 'wd_updated');
1273
- }
1274
- else {
1275
- echo WDW_S_Library::message('You should select at least 2 sliders to merge them.', 'wd_error');
1276
- }
1277
- $this->display();
1278
- }
1279
-
1280
- public function insert_slides($slider_id, $check_sliders, $max_order) {
1281
- global $wpdb;
1282
- if ($slider_id) {
1283
- $slides = $wpdb->get_results('SELECT * FROM ' . $wpdb->prefix . 'wdsslide WHERE slider_id In ('.implode(",", $check_sliders).')');
1284
- }
1285
- if ($slides) {
1286
- foreach ($slides as $single_slide) {
1287
- $max_order++;
1288
- $save = $wpdb->insert($wpdb->prefix . 'wdsslide', array(
1289
- 'slider_id' => $slider_id,
1290
- 'title' => $single_slide->title,
1291
- 'type' => $single_slide->type,
1292
- 'order' => $max_order,
1293
- 'published' => $single_slide->published,
1294
- 'link' => $single_slide->link,
1295
- 'image_url' => $single_slide->image_url,
1296
- 'thumb_url' => $single_slide->thumb_url,
1297
- 'target_attr_slide' => $single_slide->target_attr_slide,
1298
- 'youtube_rel_video' => $single_slide->youtube_rel_video,
1299
- 'video_loop' => $single_slide->video_loop,
1300
- ));
1301
- $new_slide_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslide');
1302
- $slider_layer = $wpdb->get_results($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wdslayer where slide_id="%d"', $single_slide->id));
1303
- if ($slider_layer) {
1304
- foreach ($slider_layer as $layer_id) {
1305
- if ($layer_id) {
1306
- $save = $wpdb->insert($wpdb->prefix . 'wdslayer', array(
1307
- 'slide_id' => $new_slide_id,
1308
- 'title' => $layer_id->title,
1309
- 'type' => $layer_id->type,
1310
- 'depth' => $layer_id->depth,
1311
- 'text' => $layer_id->text,
1312
- 'link' => $layer_id->link,
1313
- 'left' => $layer_id->left,
1314
- 'top' => $layer_id->top,
1315
- 'start' => $layer_id->start,
1316
- 'end' => $layer_id->end,
1317
- 'published' => $layer_id->published,
1318
- 'color' => $layer_id->color,
1319
- 'size' => $layer_id->size,
1320
- 'ffamily' => $layer_id->ffamily,
1321
- 'fweight' => $layer_id->fweight,
1322
- 'padding' => $layer_id->padding,
1323
- 'fbgcolor' => $layer_id->fbgcolor,
1324
- 'transparent' => $layer_id->transparent,
1325
- 'border_width' => $layer_id->border_width,
1326
- 'border_style' => $layer_id->border_style,
1327
- 'border_color' => $layer_id->border_color,
1328
- 'border_radius' => $layer_id->border_radius,
1329
- 'shadow' => $layer_id->shadow,
1330
- 'image_url' => $layer_id->image_url,
1331
- 'image_width' => $layer_id->image_width,
1332
- 'image_height' => $layer_id->image_height,
1333
- 'image_scale' => $layer_id->image_scale,
1334
- 'alt' => $layer_id->alt,
1335
- 'imgtransparent' => $layer_id->imgtransparent,
1336
- 'social_button' => $layer_id->social_button,
1337
- 'hover_color' => $layer_id->hover_color,
1338
- 'layer_effect_in' => $layer_id->layer_effect_in,
1339
- 'layer_effect_out' => $layer_id->layer_effect_out,
1340
- 'duration_eff_in' => $layer_id->duration_eff_in,
1341
- 'duration_eff_out' => $layer_id->duration_eff_out,
1342
- 'target_attr_layer' => $layer_id->target_attr_layer,
1343
- 'hotp_width' => $layer_id->hotp_width,
1344
- 'hotp_fbgcolor' => $layer_id->hotp_fbgcolor,
1345
- 'hotp_border_width' => $layer_id->hotp_border_width,
1346
- 'hotp_border_style' => $layer_id->hotp_border_style,
1347
- 'hotp_border_color' => $layer_id->hotp_border_color,
1348
- 'hotp_border_radius' => $layer_id->hotp_border_radius,
1349
- 'hotp_text_position' => $layer_id->hotp_text_position,
1350
- 'google_fonts' => $layer_id->google_fonts,
1351
- 'add_class' => $layer_id->add_class,
1352
- 'layer_video_loop' => $layer_id->layer_video_loop,
1353
- 'youtube_rel_layer_video' => $layer_id->youtube_rel_layer_video,
1354
- 'hotspot_animation' => $layer_id->hotspot_animation,
1355
- 'layer_callback_list' => $layer_id->layer_callback_list,
1356
- 'hotspot_text_display' => $layer_id->hotspot_text_display,
1357
- 'hover_color_text' => $layer_id->hover_color_text,
1358
- 'text_alignment' => $layer_id->text_alignment,
1359
- 'link_to_slide' => $layer_id->link_to_slide,
1360
- 'align_layer' => $layer_id->align_layer,
1361
- 'static_layer' => $layer_id->static_layer,
1362
- 'infinite_in' => $layer_id->infinite_in,
1363
- 'infinite_out' => $layer_id->infinite_out,
1364
- 'min_size' => $layer_id->min_size,
1365
- ));
1366
- }
1367
- }
1368
- }
1369
- }
1370
- }
1371
- return $slider_id;
1372
- }
1373
-
1374
- ////////////////////////////////////////////////////////////////////////////////////////
1375
- // Getters & Setters //
1376
- ////////////////////////////////////////////////////////////////////////////////////////
1377
- ////////////////////////////////////////////////////////////////////////////////////////
1378
- // Private Methods //
1379
- ////////////////////////////////////////////////////////////////////////////////////////
1380
- ////////////////////////////////////////////////////////////////////////////////////////
1381
- // Listeners //
1382
- ////////////////////////////////////////////////////////////////////////////////////////
1383
  }
1
+ <?php
2
+
3
+ class WDSControllerSliders_wds {
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_S_Library::get('task');
23
+ $id = WDW_S_Library::get('current_id', 0);
24
+ $message = WDW_S_Library::get('message');
25
+ echo WDW_S_Library::message_id($message);
26
+ if (method_exists($this, $task)) {
27
+ check_admin_referer('nonce_wd', 'nonce_wd');
28
+ $this->$task($id);
29
+ }
30
+ else {
31
+ $this->display();
32
+ }
33
+ }
34
+
35
+ public function display() {
36
+ require_once WD_S_DIR . "/admin/models/WDSModelSliders_wds.php";
37
+ $model = new WDSModelSliders_wds();
38
+
39
+ require_once WD_S_DIR . "/admin/views/WDSViewSliders_wds.php";
40
+ $view = new WDSViewSliders_wds($model);
41
+ $view->display();
42
+ }
43
+
44
+ public function add() {
45
+ require_once WD_S_DIR . "/admin/models/WDSModelSliders_wds.php";
46
+ $model = new WDSModelSliders_wds();
47
+
48
+ require_once WD_S_DIR . "/admin/views/WDSViewSliders_wds.php";
49
+ $view = new WDSViewSliders_wds($model);
50
+ $view->edit(0);
51
+ }
52
+
53
+ public function edit() {
54
+ require_once WD_S_DIR . "/admin/models/WDSModelSliders_wds.php";
55
+ $model = new WDSModelSliders_wds();
56
+
57
+ require_once WD_S_DIR . "/admin/views/WDSViewSliders_wds.php";
58
+ $view = new WDSViewSliders_wds($model);
59
+ $id = ((isset($_POST['current_id']) && esc_html(stripslashes($_POST['current_id'])) != '') ? esc_html(stripslashes($_POST['current_id'])) : 0);
60
+ $view->edit($id);
61
+ }
62
+
63
+ public function save() {
64
+ $page = WDW_S_Library::get('page');
65
+ WDW_S_Library::spider_redirect(add_query_arg(array('page' => $page, 'task' => 'display', 'message' => 1), admin_url('admin.php')));
66
+ }
67
+
68
+ public function apply() {
69
+ $this->save_slider_db();
70
+ $this->save_slide_db();
71
+ $this->edit();
72
+ }
73
+
74
+ public function save_slider_db() {
75
+ global $wpdb;
76
+ if (get_option("wds_theme_version")) {
77
+ $allow = FALSE;
78
+ }
79
+ else {
80
+ $allow = TRUE;
81
+ }
82
+ $slider_id = (isset($_POST['current_id']) ? (int) $_POST['current_id'] : 0);
83
+ $slider_data = (isset($_POST['slider_data']) ? stripslashes($_POST['slider_data']) : '');
84
+ $params_array = json_decode($slider_data, TRUE);
85
+ $del_slide_ids_string = (isset($params_array['del_slide_ids_string']) ? substr(esc_html(stripslashes($params_array['del_slide_ids_string'])), 0, -1) : '');
86
+ if ($del_slide_ids_string) {
87
+ $wpdb->query('DELETE FROM ' . $wpdb->prefix . 'wdsslide WHERE slider_id=' . $slider_id . ' AND id IN (' . $del_slide_ids_string . ')');
88
+ }
89
+ $name = ((isset($params_array['name'])) ? esc_html(stripslashes($params_array['name'])) : '');
90
+ $published = ((isset($params_array['published'])) ? (int) esc_html(stripslashes($params_array['published'])) : 1);
91
+ $full_width = ((isset($params_array['full_width'])) ? (int) esc_html(stripslashes($params_array['full_width'])) : 0);
92
+ $width = ((isset($params_array['width'])) ? (int) esc_html(stripslashes($params_array['width'])) : 800);
93
+ $height = ((isset($params_array['height'])) ? (int) esc_html((stripslashes($params_array['height']))) : 300);
94
+ $bg_fit = ((isset($params_array['bg_fit'])) ? esc_html(stripslashes($params_array['bg_fit'])) : 'cover');
95
+ $align = ((isset($params_array['align'])) ? esc_html(stripslashes($params_array['align'])) : 'center');
96
+ $effect = ((isset($params_array['effect'])) ? esc_html(stripslashes($params_array['effect'])) : 'fade');
97
+ $time_intervval = ((isset($params_array['time_intervval'])) ? (int) esc_html(stripslashes($params_array['time_intervval'])) : 5);
98
+ $autoplay = ((isset($params_array['autoplay'])) ? (int) esc_html(stripslashes($params_array['autoplay'])) : 1);
99
+ $shuffle = ((isset($params_array['shuffle'])) ? (int) esc_html(stripslashes($params_array['shuffle'])) : 0);
100
+ $music = ((isset($params_array['music'])) ? (int) esc_html(stripslashes($params_array['music'])) : 0);
101
+ if ( isset($params_array['music_url']) && WDW_S_Library::validate_audio_file($params_array['music_url']) ) {
102
+ $music_url = esc_html(stripslashes($params_array['music_url']));
103
+ $music_url = str_replace(site_url(), '{site_url}', $music_url);
104
+ }
105
+ else {
106
+ $music_url = '';
107
+ }
108
+ $preload_images = ((isset($params_array['preload_images'])) ? (int) esc_html(stripslashes($params_array['preload_images'])) : 1);
109
+ $background_color = ((isset($params_array['background_color'])) ? esc_html(stripslashes($params_array['background_color'])) : '000000');
110
+ $background_transparent = ((isset($params_array['background_transparent'])) ? (int) esc_html(stripslashes($params_array['background_transparent'])) : 100);
111
+ $glb_border_width = ((isset($params_array['glb_border_width'])) ? (int) esc_html(stripslashes($params_array['glb_border_width'])) : 0);
112
+ $glb_border_style = ((isset($params_array['glb_border_style'])) ? esc_html(stripslashes($params_array['glb_border_style'])) : 'none');
113
+ $glb_border_color = ((isset($params_array['glb_border_color'])) ? esc_html(stripslashes($params_array['glb_border_color'])) : '000000');
114
+ $glb_border_radius = ((isset($params_array['glb_border_radius'])) ? esc_html(stripslashes($params_array['glb_border_radius'])) : '');
115
+ $glb_margin = ((isset($params_array['glb_margin'])) ? (int) esc_html(stripslashes($params_array['glb_margin'])) : 0);
116
+ $glb_box_shadow = ((isset($params_array['glb_box_shadow'])) ? esc_html(stripslashes($params_array['glb_box_shadow'])) : '');
117
+ $image_right_click = ((isset($params_array['image_right_click'])) ? (int) esc_html(stripslashes($params_array['image_right_click'])) : 0);
118
+ $layer_out_next = ((isset($params_array['layer_out_next'])) ? (int) esc_html(stripslashes($params_array['layer_out_next'])) : 0);
119
+ $prev_next_butt = ((isset($params_array['prev_next_butt'])) ? (int) esc_html(stripslashes($params_array['prev_next_butt'])) : 1);
120
+ $play_paus_butt = ((isset($params_array['play_paus_butt'])) ? (int) esc_html(stripslashes($params_array['play_paus_butt'])) : 0);
121
+ $navigation = ((isset($params_array['navigation'])) ? esc_html(stripslashes($params_array['navigation'])) : 'hover');
122
+ $rl_butt_style = ((isset($params_array['rl_butt_style'])) ? esc_html(stripslashes($params_array['rl_butt_style'])) : 'fa-angle');
123
+ $rl_butt_size = ((isset($params_array['rl_butt_size'])) ? (int) esc_html(stripslashes($params_array['rl_butt_size'])) : 40);
124
+ $pp_butt_size = ((isset($params_array['pp_butt_size'])) ? (int) esc_html(stripslashes($params_array['pp_butt_size'])) : 40);
125
+ $butts_color = ((isset($params_array['butts_color'])) ? esc_html(stripslashes($params_array['butts_color'])) : '000000');
126
+ $butts_transparent = ((isset($params_array['butts_transparent'])) ? (int) esc_html(stripslashes($params_array['butts_transparent'])) : 100);
127
+ $hover_color = ((isset($params_array['hover_color'])) ? esc_html(stripslashes($params_array['hover_color'])) : 'FFFFFF');
128
+ $nav_border_width = ((isset($params_array['nav_border_width'])) ? (int) esc_html(stripslashes($params_array['nav_border_width'])) : 0);
129
+ $nav_border_style = ((isset($params_array['nav_border_style'])) ? esc_html(stripslashes($params_array['nav_border_style'])) : 'none');
130
+ $nav_border_color = ((isset($params_array['nav_border_color'])) ? esc_html(stripslashes($params_array['nav_border_color'])) : 'FFFFFF');
131
+ $nav_border_radius = ((isset($params_array['nav_border_radius'])) ? esc_html(stripslashes($params_array['nav_border_radius'])) : '20px');
132
+ $nav_bg_color = ((isset($params_array['nav_bg_color'])) ? esc_html(stripslashes($params_array['nav_bg_color'])) : 'FFFFFF');
133
+ $bull_position = ((isset($params_array['bull_position'])) ? esc_html(stripslashes($params_array['bull_position'])) : 'bottom');
134
+ if (isset($params_array['enable_bullets']) && (esc_html(stripslashes($params_array['enable_bullets'])) == 0)) {
135
+ $bull_position = 'none';
136
+ }
137
+ $bull_style = ((isset($params_array['bull_style']) && $allow) ? esc_html(stripslashes($params_array['bull_style'])) : 'fa-square-o');
138
+ $bull_size = ((isset($params_array['bull_size']) && $allow) ? (int) esc_html(stripslashes($params_array['bull_size'])) : 20);
139
+ $bull_color = ((isset($params_array['bull_color']) && $allow) ? esc_html(stripslashes($params_array['bull_color'])) : 'FFFFFF');
140
+ $bull_act_color = ((isset($params_array['bull_act_color']) && $allow) ? esc_html(stripslashes($params_array['bull_act_color'])) : 'FFFFFF');
141
+ $bull_margin = ((isset($params_array['bull_margin']) && $allow) ? (int) esc_html(stripslashes($params_array['bull_margin'])) : 3);
142
+ $film_pos = ((isset($params_array['film_pos'])) ? esc_html(stripslashes($params_array['film_pos'])) : 'none');
143
+ if (isset($params_array['enable_filmstrip']) && (esc_html(stripslashes($params_array['enable_filmstrip'])) == 0)) {
144
+ $film_pos = 'none';
145
+ }
146
+ $film_thumb_width = ((isset($params_array['film_thumb_width'])) ? (int) esc_html(stripslashes($params_array['film_thumb_width'])) : 100);
147
+ $film_thumb_height = ((isset($params_array['film_thumb_height'])) ? (int) esc_html(stripslashes($params_array['film_thumb_height'])) : 50);
148
+ $film_bg_color = ((isset($params_array['film_bg_color'])) ? esc_html(stripslashes($params_array['film_bg_color'])) : '000000');
149
+ $film_tmb_margin = ((isset($params_array['film_tmb_margin'])) ? (int) esc_html(stripslashes($params_array['film_tmb_margin'])) : 0);
150
+ $film_act_border_width = ((isset($params_array['film_act_border_width'])) ? (int) esc_html(stripslashes($params_array['film_act_border_width'])) : 0);
151
+ $film_act_border_style = ((isset($params_array['film_act_border_style'])) ? esc_html(stripslashes($params_array['film_act_border_style'])) : 'none');
152
+ $film_act_border_color = ((isset($params_array['film_act_border_color'])) ? esc_html(stripslashes($params_array['film_act_border_color'])) : 'FFFFFF');
153
+ $film_dac_transparent = ((isset($params_array['film_dac_transparent'])) ? (int) esc_html(stripslashes($params_array['film_dac_transparent'])) : 50);
154
+ $built_in_watermark_type = (isset($params_array['built_in_watermark_type']) ? esc_html(stripslashes($params_array['built_in_watermark_type'])) : 'none');
155
+ $built_in_watermark_position = (isset($params_array['built_in_watermark_position']) ? esc_html(stripslashes($params_array['built_in_watermark_position'])) : 'middle-center');
156
+ $built_in_watermark_size = (isset($params_array['built_in_watermark_size']) ? (int) esc_html(stripslashes($params_array['built_in_watermark_size'])) : 15);
157
+ $built_in_watermark_url = (isset($params_array['built_in_watermark_url']) ? esc_html(stripslashes($params_array['built_in_watermark_url'])) : '');
158
+ $built_in_watermark_url = str_replace(site_url(), '{site_url}', $built_in_watermark_url);
159
+ $built_in_watermark_text = (isset($params_array['built_in_watermark_text']) ? esc_html(stripslashes($params_array['built_in_watermark_text'])) : 'web-dorado.com');
160
+ $built_in_watermark_opacity = (isset($params_array['built_in_watermark_opacity']) ? (int) esc_html(stripslashes($params_array['built_in_watermark_opacity'])) : 70);
161
+ $built_in_watermark_font_size = (isset($params_array['built_in_watermark_font_size']) ? (int) esc_html(stripslashes($params_array['built_in_watermark_font_size'])) : 20);
162
+ $built_in_watermark_font = (isset($params_array['built_in_watermark_font']) ? esc_html(stripslashes($params_array['built_in_watermark_font'])) : '');
163
+ $built_in_watermark_color = (isset($params_array['built_in_watermark_color']) ? esc_html(stripslashes($params_array['built_in_watermark_color'])) : 'FFFFFF');
164
+ $css = (isset($params_array['css']) ? htmlspecialchars_decode((stripslashes($params_array['css'])), ENT_QUOTES) : '');
165
+ $timer_bar_type = (isset($params_array['timer_bar_type']) ? esc_html(stripslashes($params_array['timer_bar_type'])) : 'top');
166
+ if (isset($params_array['enable_time_bar']) && (esc_html(stripslashes($params_array['enable_time_bar'])) == 0)) {
167
+ $timer_bar_type = 'none';
168
+ }
169
+ $timer_bar_size = (isset($params_array['timer_bar_size']) ? (int) esc_html(stripslashes($params_array['timer_bar_size'])) : 5);
170
+ $timer_bar_color = (isset($params_array['timer_bar_color']) ? esc_html(stripslashes($params_array['timer_bar_color'])) : 'BBBBBB');
171
+ $timer_bar_transparent = (isset($params_array['timer_bar_transparent']) ? (int) esc_html(stripslashes($params_array['timer_bar_transparent'])) : 50);
172
+ $stop_animation = ((isset($params_array['stop_animation'])) ? (int) esc_html(stripslashes($params_array['stop_animation'])) : 0);
173
+ $right_butt_url = (isset($params_array['right_butt_url']) ? esc_html(stripslashes($params_array['right_butt_url'])) : '');
174
+ $right_butt_url = str_replace(site_url(), '{site_url}', $right_butt_url);
175
+ $left_butt_url = (isset($params_array['left_butt_url']) ? esc_html(stripslashes($params_array['left_butt_url'])) : '');
176
+ $left_butt_url = str_replace(site_url(), '{site_url}', $left_butt_url);
177
+ $right_butt_hov_url = (isset($params_array['right_butt_hov_url']) ? esc_html(stripslashes($params_array['right_butt_hov_url'])) : '');
178
+ $right_butt_hov_url = str_replace(site_url(), '{site_url}', $right_butt_hov_url);
179
+ $left_butt_hov_url = (isset($params_array['left_butt_hov_url']) ? esc_html(stripslashes($params_array['left_butt_hov_url'])) : '');
180
+ $left_butt_hov_url = str_replace(site_url(), '{site_url}', $left_butt_hov_url);
181
+ $rl_butt_img_or_not = (isset($params_array['rl_butt_img_or_not']) ? esc_html(stripslashes($params_array['rl_butt_img_or_not'])) : 'style');
182
+ $bullets_img_main_url = (isset($params_array['bullets_img_main_url']) ? esc_html(stripslashes($params_array['bullets_img_main_url'])) : '');
183
+ $bullets_img_main_url = str_replace(site_url(), '{site_url}', $bullets_img_main_url);
184
+ $bullets_img_hov_url = (isset($params_array['bullets_img_hov_url']) ? esc_html(stripslashes($params_array['bullets_img_hov_url'])) : '');
185
+ $bullets_img_hov_url = str_replace(site_url(), '{site_url}', $bullets_img_hov_url);
186
+ $bull_butt_img_or_not = (isset($params_array['bull_butt_img_or_not']) ? esc_html(stripslashes($params_array['bull_butt_img_or_not'])) : 'style');
187
+ $play_paus_butt_img_or_not = (isset($params_array['play_paus_butt_img_or_not']) ? esc_html(stripslashes($params_array['play_paus_butt_img_or_not'])) : 'style');
188
+ $play_butt_url = (isset($params_array['play_butt_url']) ? esc_html(stripslashes($params_array['play_butt_url'])) : '');
189
+ $play_butt_url = str_replace(site_url(), '{site_url}', $play_butt_url);
190
+ $play_butt_hov_url = (isset($params_array['play_butt_hov_url']) ? esc_html(stripslashes($params_array['play_butt_hov_url'])) : '');
191
+ $play_butt_hov_url = str_replace(site_url(), '{site_url}', $play_butt_hov_url);
192
+ $paus_butt_url = (isset($params_array['paus_butt_url']) ? esc_html(stripslashes($params_array['paus_butt_url'])) : '');
193
+ $paus_butt_url = str_replace(site_url(), '{site_url}', $paus_butt_url);
194
+ $paus_butt_hov_url = (isset($params_array['paus_butt_hov_url']) ? esc_html(stripslashes($params_array['paus_butt_hov_url'])) : '');
195
+ $paus_butt_hov_url = str_replace(site_url(), '{site_url}', $paus_butt_hov_url);
196
+ $start_slide_num = ((isset($params_array['start_slide_num'])) ? (int) stripslashes($params_array['start_slide_num']) : 1);
197
+ $effect_duration = ((isset($params_array['effect_duration'])) ? (int) stripslashes($params_array['effect_duration']) : 800);
198
+ $carousel = 0;
199
+ $carousel_image_counts = 7;
200
+ $carousel_image_parameters = 0.85;
201
+ $carousel_fit_containerWidth = 0;
202
+ $carousel_width = 1000;
203
+ $parallax_effect = 0;
204
+ $mouse_swipe_nav = ((isset($params_array['mouse_swipe_nav'])) ? (int) esc_html(stripslashes($params_array['mouse_swipe_nav'])) : 0);
205
+ $bull_hover = ((isset($params_array['bull_hover'])) ? (int) esc_html(stripslashes($params_array['bull_hover'])) : 1);
206
+ $touch_swipe_nav = ((isset($params_array['touch_swipe_nav'])) ? (int) esc_html(stripslashes($params_array['touch_swipe_nav'])) : 1);
207
+ $mouse_wheel_nav = ((isset($params_array['mouse_wheel_nav'])) ? (int) esc_html(stripslashes($params_array['mouse_wheel_nav'])) : 0);
208
+ $keyboard_nav = ((isset($params_array['keyboard_nav'])) ? (int) esc_html(stripslashes($params_array['keyboard_nav'])) : 0);
209
+ $show_thumbnail = ((isset($params_array['show_thumbnail'])) ? (int) esc_html(stripslashes($params_array['show_thumbnail'])) : 0);
210
+ $thumb_size = ((isset($params_array['thumb_size'])) ? esc_html(stripslashes($params_array['thumb_size'])) : '0.3');
211
+ $fixed_bg = ((isset($params_array['fixed_bg'])) ? (int) esc_html(stripslashes($params_array['fixed_bg'])) : 0);
212
+ $smart_crop = ((isset($params_array['smart_crop'])) ? (int) esc_html(stripslashes($params_array['smart_crop'])) : 0);
213
+ $crop_image_position = ((isset($params_array['crop_image_position'])) ? esc_html(stripslashes($params_array['crop_image_position'])) : 'middle-center');
214
+ $javascript = ((isset($params_array['javascript'])) ? $params_array['javascript'] : '');
215
+ $carousel_degree = ((isset($params_array['carousel_degree'])) ? (int) esc_html(stripslashes($params_array['carousel_degree'])) : 0);
216
+ $carousel_grayscale = ((isset($params_array['carousel_grayscale'])) ? (int) esc_html(stripslashes($params_array['carousel_grayscale'])) : 0);
217
+ $carousel_transparency = ((isset($params_array['carousel_transparency'])) ? (int) esc_html(stripslashes($params_array['carousel_transparency'])) : 0);
218
+ $bull_back_act_color = ((isset($params_array['bull_back_act_color'])) ? esc_html(stripslashes($params_array['bull_back_act_color'])) : '000000');
219
+ $bull_back_color = ((isset($params_array['bull_back_color'])) ? esc_html(stripslashes($params_array['bull_back_color'])) : 'CCCCCC');
220
+ $bull_radius = ((isset($params_array['bull_radius'])) ? esc_html(stripslashes($params_array['bull_radius'])) : '20px');
221
+ $slider_loop = ((isset($params_array['slider_loop'])) ? (int) esc_html(stripslashes($params_array['slider_loop'])) : 1);
222
+ $hide_on_mobile = ((isset($params_array['hide_on_mobile'])) ? (int) esc_html(stripslashes($params_array['hide_on_mobile'])) : 0);
223
+ $twoway_slideshow = ((isset($params_array['twoway_slideshow'])) ? (int) esc_html(stripslashes($params_array['twoway_slideshow'])) : 0);
224
+ $full_width_for_mobile = ((isset($params_array['full_width_for_mobile'])) ? (int) esc_html(stripslashes($params_array['full_width_for_mobile'])) : 0);
225
+ $order_dir = ((isset($params_array['order_dir'])) ? esc_html(stripslashes($params_array['order_dir'])) : 'asc');
226
+ $data = array(
227
+ 'name' => $name,
228
+ 'published' => $published,
229
+ 'full_width' => $full_width,
230
+ 'width' => $width,
231
+ 'height' => $height,
232
+ 'bg_fit' => $bg_fit,
233
+ 'align' => $align,
234
+ 'effect' => $effect,
235
+ 'time_intervval' => $time_intervval,
236
+ 'autoplay' => $autoplay,
237
+ 'shuffle' => $shuffle,
238
+ 'music' => $music,
239
+ 'music_url' => $music_url,
240
+ 'preload_images' => $preload_images,
241
+ 'background_color' => $background_color,
242
+ 'background_transparent' => $background_transparent,
243
+ 'glb_border_width' => $glb_border_width,
244
+ 'glb_border_style' => $glb_border_style,
245
+ 'glb_border_color' => $glb_border_color,
246
+ 'glb_border_radius' => $glb_border_radius,
247
+ 'glb_margin' => $glb_margin,
248
+ 'glb_box_shadow' => $glb_box_shadow,
249
+ 'image_right_click' => $image_right_click,
250
+ 'prev_next_butt' => $prev_next_butt,
251
+ 'play_paus_butt' => $play_paus_butt,
252
+ 'navigation' => $navigation,
253
+ 'rl_butt_style' => $rl_butt_style,
254
+ 'rl_butt_size' => $rl_butt_size,
255
+ 'pp_butt_size' => $pp_butt_size,
256
+ 'butts_color' => $butts_color,
257
+ 'butts_transparent' => $butts_transparent,
258
+ 'hover_color' => $hover_color,
259
+ 'nav_border_width' => $nav_border_width,
260
+ 'nav_border_style' => $nav_border_style,
261
+ 'nav_border_color' => $nav_border_color,
262
+ 'nav_border_radius' => $nav_border_radius,
263
+ 'nav_bg_color' => $nav_bg_color,
264
+ 'bull_position' => $bull_position,
265
+ 'bull_style' => $bull_style,
266
+ 'bull_size' => $bull_size,
267
+ 'bull_color' => $bull_color,
268
+ 'bull_act_color' => $bull_act_color,
269
+ 'bull_margin' => $bull_margin,
270
+ 'film_pos' => $film_pos,
271
+ 'film_thumb_width' => $film_thumb_width,
272
+ 'film_thumb_height' => $film_thumb_height,
273
+ 'film_bg_color' => $film_bg_color,
274
+ 'film_tmb_margin' => $film_tmb_margin,
275
+ 'film_act_border_width' => $film_act_border_width,
276
+ 'film_act_border_style' => $film_act_border_style,
277
+ 'film_act_border_color' => $film_act_border_color,
278
+ 'film_dac_transparent' => $film_dac_transparent,
279
+ 'built_in_watermark_type' => $built_in_watermark_type,
280
+ 'built_in_watermark_position' => $built_in_watermark_position,
281
+ 'built_in_watermark_size' => $built_in_watermark_size,
282
+ 'built_in_watermark_url' => $built_in_watermark_url,
283
+ 'built_in_watermark_text' => $built_in_watermark_text,
284
+ 'built_in_watermark_opacity' => $built_in_watermark_opacity,
285
+ 'built_in_watermark_font_size' => $built_in_watermark_font_size,
286
+ 'built_in_watermark_font' => $built_in_watermark_font,
287
+ 'built_in_watermark_color' => $built_in_watermark_color,
288
+ 'css' => $css,
289
+ 'timer_bar_type' => $timer_bar_type,
290
+ 'timer_bar_size' => $timer_bar_size,
291
+ 'timer_bar_color' => $timer_bar_color,
292
+ 'timer_bar_transparent' => $timer_bar_transparent,
293
+ 'layer_out_next' => $layer_out_next,
294
+ 'stop_animation' => $stop_animation,
295
+ 'right_butt_url' => $right_butt_url,
296
+ 'left_butt_url' => $left_butt_url,
297
+ 'right_butt_hov_url' => $right_butt_hov_url,
298
+ 'left_butt_hov_url' => $left_butt_hov_url,
299
+ 'rl_butt_img_or_not' => $rl_butt_img_or_not,
300
+ 'bullets_img_main_url' => $bullets_img_main_url,
301
+ 'bullets_img_hov_url' => $bullets_img_hov_url,
302
+ 'bull_butt_img_or_not' => $bull_butt_img_or_not,
303
+ 'play_paus_butt_img_or_not' => $play_paus_butt_img_or_not,
304
+ 'play_butt_url' => $play_butt_url,
305
+ 'play_butt_hov_url' => $play_butt_hov_url,
306
+ 'paus_butt_url' => $paus_butt_url,
307
+ 'paus_butt_hov_url' => $paus_butt_hov_url,
308
+ 'start_slide_num' => $start_slide_num,
309
+ 'effect_duration' => $effect_duration,
310
+ 'carousel' => $carousel,
311
+ 'carousel_image_counts' => $carousel_image_counts,
312
+ 'carousel_image_parameters' => $carousel_image_parameters,
313
+ 'carousel_fit_containerWidth' => $carousel_fit_containerWidth,
314
+ 'carousel_width' => $carousel_width,
315
+ 'parallax_effect' => $parallax_effect,
316
+ 'mouse_swipe_nav' => $mouse_swipe_nav,
317
+ 'bull_hover' => $bull_hover,
318
+ 'touch_swipe_nav' => $touch_swipe_nav,
319
+ 'mouse_wheel_nav' => $mouse_wheel_nav,
320
+ 'keyboard_nav' => $keyboard_nav,
321
+ 'show_thumbnail' => $show_thumbnail,
322
+ 'thumb_size' => $thumb_size,
323
+ 'fixed_bg' => $fixed_bg,
324
+ 'smart_crop' => $smart_crop,
325
+ 'crop_image_position' => $crop_image_position,
326
+ 'javascript' => $javascript,
327
+ 'carousel_degree' => $carousel_degree,
328
+ 'carousel_grayscale' => $carousel_grayscale,
329
+ 'carousel_transparency' => $carousel_transparency,
330
+ 'bull_back_act_color' => $bull_back_act_color,
331
+ 'bull_back_color' => $bull_back_color,
332
+ 'bull_radius' => $bull_radius,
333
+ 'slider_loop' => $slider_loop,
334
+ 'hide_on_mobile' => $hide_on_mobile,
335
+ 'twoway_slideshow' => $twoway_slideshow,
336
+ 'full_width_for_mobile' => $full_width_for_mobile,
337
+ 'order_dir' => $order_dir,
338
+ );
339
+
340
+ if (!$slider_id) {
341
+ $save = $wpdb->insert($wpdb->prefix . 'wdsslider', $data);
342
+ $_POST['current_id'] = (int) $wpdb->insert_id;
343
+ }
344
+ else {
345
+ $save = $wpdb->update($wpdb->prefix . 'wdsslider', $data, array('id' => $slider_id));
346
+ }
347
+ if ($save !== FALSE) {
348
+ return 1;
349
+ }
350
+ else {
351
+ return 2;
352
+ }
353
+ }
354
+
355
+ public function save_slide_db() {
356
+ global $wpdb;
357
+ $slider_id = (isset($_POST['current_id']) ? (int) $_POST['current_id'] : 0);
358
+ $save_as_copy = (isset($_POST['save_as_copy']) ? (int) $_POST['save_as_copy'] : 0);
359
+ if (!$slider_id) {
360
+ $slider_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslider');
361
+ }
362
+ if (get_option("wds_theme_version")) {
363
+ $allow = FALSE;
364
+ }
365
+ else {
366
+ $allow = TRUE;
367
+ }
368
+ $slides_data = (isset($_POST['slides']) ? $_POST['slides'] : array());
369
+ foreach ($slides_data as $slide_data) {
370
+ $params_array = json_decode(stripslashes($slide_data), TRUE);
371
+ $slide_id = (isset($params_array['id']) ? $params_array['id'] : 0);
372
+ if ($slide_id) {
373
+ $del_layer_ids_string = ((isset($params_array['slide' . $slide_id . '_del_layer_ids_string']) && !$save_as_copy) ? substr(esc_html(stripslashes($params_array['slide' . $slide_id . '_del_layer_ids_string'])), 0, -1) : '');
374
+ if ($del_layer_ids_string) {
375
+ $wpdb->query('DELETE FROM ' . $wpdb->prefix . 'wdslayer WHERE id IN (' . $del_layer_ids_string . ')');
376
+ }
377
+ $title = ((isset($params_array['title' . $slide_id])) ? esc_html(stripslashes($params_array['title' . $slide_id])) : '');
378
+ $type = ((isset($params_array['type' . $slide_id])) ? esc_html(stripslashes($params_array['type' . $slide_id])) : '');
379
+ $order = ((isset($params_array['order' . $slide_id])) ? esc_html(stripslashes($params_array['order' . $slide_id])) : '');
380
+ $published = ((isset($params_array['published' . $slide_id])) ? esc_html(stripslashes($params_array['published' . $slide_id])) : '');
381
+ $target_attr_slide = ((isset($params_array['target_attr_slide' . $slide_id])) ? (int) esc_html(stripslashes($params_array['target_attr_slide' . $slide_id])) : 0);
382
+ $link = ((isset($params_array['link' . $slide_id])) ? esc_html(stripslashes($params_array['link' . $slide_id])) : (($type == 'video') ? 0 : ''));
383
+ $image_url = ((isset($params_array['image_url' . $slide_id])) ? esc_html(stripslashes($params_array['image_url' . $slide_id])) : '');
384
+ $image_url = str_replace(site_url(), '{site_url}', $image_url);
385
+ $thumb_url = ((isset($params_array['thumb_url' . $slide_id])) ? esc_html(stripslashes($params_array['thumb_url' . $slide_id])) : '');
386
+ $thumb_url = str_replace(site_url(), '{site_url}', $thumb_url);
387
+ if (strpos($slide_id, 'pr') !== FALSE || $save_as_copy) {
388
+ $save = $wpdb->insert($wpdb->prefix . 'wdsslide', array(
389
+ 'slider_id' => $slider_id,
390
+ 'title' => $title,
391
+ 'type' => $type,
392
+ 'order' => $order,
393
+ 'published' => $published,
394
+ 'link' => $link,
395
+ 'image_url' => $image_url,
396
+ 'thumb_url' => $thumb_url,
397
+ 'target_attr_slide' => $target_attr_slide,
398
+ 'youtube_rel_video' => 0,
399
+ 'video_loop' => 0,
400
+ ));
401
+ if ($allow) {
402
+ $slide_id_pr = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslide');
403
+ $this->save_layer_db($slide_id, $slide_id_pr, $params_array);
404
+ }
405
+ }
406
+ else {
407
+ $save = $wpdb->update($wpdb->prefix . 'wdsslide', array(
408
+ 'slider_id' => $slider_id,
409
+ 'title' => $title,
410
+ 'type' => $type,
411
+ 'order' => $order,
412
+ 'published' => $published,
413
+ 'link' => $link,
414
+ 'image_url' => $image_url,
415
+ 'thumb_url' => $thumb_url,
416
+ 'target_attr_slide' => $target_attr_slide,
417
+ ), array('id' => $slide_id));
418
+ if ($allow) {
419
+ $this->save_layer_db($slide_id, $slide_id, $params_array);
420
+ }
421
+ }
422
+ }
423
+ }
424
+ }
425
+
426
+ public function save_layer_db($slide_id, $slide_id_pr, $params_array) {
427
+ global $wpdb;
428
+ $save_as_copy = (isset($_POST['save_as_copy']) ? (int) $_POST['save_as_copy'] : 0);
429
+ $layer_ids_string = (isset($params_array['slide' . $slide_id . '_layer_ids_string']) ? esc_html(stripslashes($params_array['slide' . $slide_id . '_layer_ids_string'])) : '');
430
+ $layer_id_array = explode(',', $layer_ids_string);
431
+ foreach ($layer_id_array as $layer_id) {
432
+ if ($layer_id) {
433
+ $prefix = 'slide' . $slide_id . '_layer' . $layer_id;
434
+ $json_string = (isset($params_array[$prefix . '_json']) ? $params_array[$prefix . '_json'] : '');
435
+ $params_array_layer = json_decode($json_string, TRUE);
436
+ $title = ((isset($params_array_layer['title'])) ? esc_html(stripslashes($params_array_layer['title'])) : '');
437
+ $type = ((isset($params_array_layer['type'])) ? esc_html(stripslashes($params_array_layer['type'])) : '');
438
+ $depth = ((isset($params_array_layer['depth'])) ? esc_html(stripslashes($params_array_layer['depth'])) : '');
439
+ $text = ((isset($params_array_layer['text'])) ? stripcslashes($params_array_layer['text']) : '');
440
+ $link = ((isset($params_array_layer['link'])) ? esc_html(stripslashes($params_array_layer['link'])) : '');
441
+ $target_attr_layer = ((isset($params_array_layer['target_attr_layer'])) ? (int) esc_html(stripslashes($params_array_layer['target_attr_layer'])) : 0);
442
+ $left = ((isset($params_array_layer['left'])) ? esc_html(stripslashes($params_array_layer['left'])) : '');
443
+ $top = ((isset($params_array_layer['top'])) ? esc_html(stripslashes($params_array_layer['top'])) : '');
444
+ $start = ((isset($params_array_layer['start'])) ? esc_html(stripslashes($params_array_layer['start'])) : '');
445
+ $end = ((isset($params_array_layer['end'])) ? esc_html(stripslashes($params_array_layer['end'])) : '');
446
+ $published = ((isset($params_array_layer['published'])) ? esc_html(stripslashes($params_array_layer['published'])) : '');
447
+ $color = ((isset($params_array_layer['color'])) ? esc_html(stripslashes($params_array_layer['color'])) : '');
448
+ $size = ((isset($params_array_layer['size'])) ? esc_html(stripslashes($params_array_layer['size'])) : '');
449
+ $ffamily = ((isset($params_array_layer['ffamily'])) ? esc_html(stripslashes($params_array_layer['ffamily'])) : '');
450
+ $fweight = ((isset($params_array_layer['fweight'])) ? esc_html(stripslashes($params_array_layer['fweight'])) : '');
451
+ $padding = ((isset($params_array_layer['padding'])) ? esc_html(stripslashes($params_array_layer['padding'])) : '');
452
+ $fbgcolor = ((isset($params_array_layer['fbgcolor'])) ? esc_html(stripslashes($params_array_layer['fbgcolor'])) : '');
453
+ $transparent = ((isset($params_array_layer['transparent'])) ? esc_html(stripslashes($params_array_layer['transparent'])) : '');
454
+ $border_width = ((isset($params_array_layer['border_width'])) ? esc_html(stripslashes($params_array_layer['border_width'])) : '');
455
+ $border_style = ((isset($params_array_layer['border_style'])) ? esc_html(stripslashes($params_array_layer['border_style'])) : '');
456
+ $border_color = ((isset($params_array_layer['border_color'])) ? esc_html(stripslashes($params_array_layer['border_color'])) : '');
457
+ $border_radius = ((isset($params_array_layer['border_radius'])) ? esc_html(stripslashes($params_array_layer['border_radius'])) : '');
458
+ $shadow = ((isset($params_array_layer['shadow'])) ? esc_html(stripslashes($params_array_layer['shadow'])) : '');
459
+ $image_url = ((isset($params_array_layer['image_url'])) ? esc_html(stripslashes($params_array_layer['image_url'])) : '');
460
+ $image_url = str_replace(site_url(), '{site_url}', $image_url);
461
+ $image_width = ((isset($params_array_layer['image_width'])) ? esc_html(stripslashes($params_array_layer['image_width'])) : '');
462
+ $image_height = ((isset($params_array_layer['image_height'])) ? esc_html(stripslashes($params_array_layer['image_height'])) : '');
463
+ $image_scale = ((isset($params_array_layer['image_scale'])) ? esc_html(stripslashes($params_array_layer['image_scale'])) : '');
464
+ $alt = ((isset($params_array_layer['alt'])) ? esc_html(stripslashes($params_array_layer['alt'])) : '');
465
+ $imgtransparent = ((isset($params_array_layer['imgtransparent'])) ? esc_html(stripslashes($params_array_layer['imgtransparent'])) : '');
466
+ $social_button = ((isset($params_array_layer['social_button'])) ? esc_html(stripslashes($params_array_layer['social_button'])) : '');
467
+ $hover_color = ((isset($params_array_layer['hover_color'])) ? esc_html(stripslashes($params_array_layer['hover_color'])) : '');
468
+ $layer_effect_in = ((isset($params_array_layer['layer_effect_in'])) ? esc_html(stripslashes($params_array_layer['layer_effect_in'])) : '');
469
+ $layer_effect_out = ((isset($params_array_layer['layer_effect_out'])) ? esc_html(stripslashes($params_array_layer['layer_effect_out'])) : '');
470
+ $duration_eff_in = ((isset($params_array_layer['duration_eff_in'])) ? (int) esc_html(stripslashes($params_array_layer['duration_eff_in'])) : 3);
471
+ $duration_eff_out = ((isset($params_array_layer['duration_eff_out'])) ? (int) esc_html(stripslashes($params_array_layer['duration_eff_out'])) : 3);
472
+
473
+ $hotp_width = ((isset($params_array_layer['hotp_width'])) ? esc_html(stripslashes($params_array_layer['hotp_width'])) : '');
474
+ $hotp_fbgcolor = ((isset($params_array_layer['hotp_fbgcolor'])) ? esc_html(stripslashes($params_array_layer['hotp_fbgcolor'])) : '');
475
+ $hotp_border_width = ((isset($params_array_layer['hotp_border_width'])) ? esc_html(stripslashes($params_array_layer['hotp_border_width'])) : '');
476
+ $hotp_border_style = ((isset($params_array_layer['hotp_border_style'])) ? esc_html(stripslashes($params_array_layer['hotp_border_style'])) : '');
477
+ $hotp_border_color = ((isset($params_array_layer['hotp_border_color'])) ? esc_html(stripslashes($params_array_layer['hotp_border_color'])) : '');
478
+ $hotp_border_radius = ((isset($params_array_layer['hotp_border_radius'])) ? esc_html(stripslashes($params_array_layer['hotp_border_radius'])) : '');
479
+ $hotp_text_position = ((isset($params_array_layer['hotp_text_position'])) ? esc_html(stripslashes($params_array_layer['hotp_text_position'])) : '');
480
+ $google_fonts = ((isset($params_array_layer['google_fonts'])) ? (int) esc_html(stripslashes($params_array_layer['google_fonts'])) : 0);
481
+ $add_class = ((isset($params_array_layer['add_class'])) ? esc_html(stripslashes($params_array_layer['add_class'])) : '');
482
+ $layer_callback_list = ((isset($params_array_layer['layer_callback_list'])) ? esc_html(stripslashes($params_array_layer['layer_callback_list'])) : '');
483
+ $hover_color_text = ((isset($params_array_layer['hover_color_text'])) ? esc_html(stripslashes($params_array_layer['hover_color_text'])) : '');
484
+ $text_alignment = ((isset($params_array_layer['text_alignment'])) ? esc_html(stripslashes($params_array_layer['text_alignment'])) : 'center');
485
+ $link_to_slide = ((isset($params_array_layer['link_to_slide'])) ? (int) esc_html(stripslashes($params_array_layer['link_to_slide'])) : 0);
486
+ $align_layer = ((isset($params_array_layer['align_layer'])) ? (int) esc_html(stripslashes($params_array_layer['align_layer'])) : 0);
487
+ $static_layer = ((isset($params_array_layer['static_layer'])) ? (int) esc_html(stripslashes($params_array_layer['static_layer'])) : 0);
488
+ $infinite_in = ((isset($params_array_layer['infinite_in'])) ? (int) esc_html(stripslashes($params_array_layer['infinite_in'])) : 1);
489
+ $infinite_out = ((isset($params_array_layer['infinite_out'])) ? (int) esc_html(stripslashes($params_array_layer['infinite_out'])) : 1);
490
+ $min_size = ((isset($params_array_layer['min_size'])) ? (int) esc_html(stripslashes($params_array_layer['min_size'])) : 11);
491
+ if ($title) {
492
+ if (strpos($layer_id, 'pr_') !== FALSE || $save_as_copy) {
493
+ $save = $wpdb->insert($wpdb->prefix . 'wdslayer', array(
494
+ 'slide_id' => $slide_id_pr,
495
+ 'title' => $title,
496
+ 'type' => $type,
497
+ 'depth' => $depth,
498
+ 'text' => $text,
499
+ 'link' => $link,
500
+ 'left' => $left,
501
+ 'top' => $top,
502
+ 'start' => $start,
503
+ 'end' => $end,
504
+ 'published' => $published,
505
+ 'color' => $color,
506
+ 'size' => $size,
507
+ 'ffamily' => $ffamily,
508
+ 'fweight' => $fweight,
509
+ 'padding' => $padding,
510
+ 'fbgcolor' => $fbgcolor,
511
+ 'transparent' => $transparent,
512
+ 'border_width' => $border_width,
513
+ 'border_style' => $border_style,
514
+ 'border_color' => $border_color,
515
+ 'border_radius' => $border_radius,
516
+ 'shadow' => $shadow,
517
+ 'image_url' => $image_url,
518
+ 'image_width' => $image_width,
519
+ 'image_height' => $image_height,
520
+ 'image_scale' => $image_scale,
521
+ 'alt' => $alt,
522
+ 'imgtransparent' => $imgtransparent,
523
+ 'social_button' => $social_button,
524
+ 'hover_color' => $hover_color,
525
+ 'layer_effect_in' => $layer_effect_in,
526
+ 'layer_effect_out' => $layer_effect_out,
527
+ 'duration_eff_in' => $duration_eff_in,
528
+ 'duration_eff_out' => $duration_eff_out,
529
+ 'target_attr_layer' => $target_attr_layer,
530
+ 'hotp_width' => $hotp_width,
531
+ 'hotp_fbgcolor' => $hotp_fbgcolor,
532
+ 'hotp_border_width' => $hotp_border_width,
533
+ 'hotp_border_style' => $hotp_border_style,
534
+ 'hotp_border_color' => $hotp_border_color,
535
+ 'hotp_border_radius' => $hotp_border_radius,
536
+ 'hotp_text_position' => $hotp_text_position,
537
+ 'google_fonts' => $google_fonts,
538
+ 'add_class' => $add_class,
539
+ 'layer_video_loop' => 0,
540
+ 'youtube_rel_layer_video' => 0,
541
+ 'hotspot_animation' => 0,
542
+ 'layer_callback_list' => $layer_callback_list,
543
+ 'hotspot_text_display' => 0,
544
+ 'hover_color_text' => $hover_color_text,
545
+ 'text_alignment' => $text_alignment,
546
+ 'link_to_slide' => $link_to_slide,
547
+ 'align_layer' => $align_layer,
548
+ 'static_layer' => $static_layer,
549
+ 'infinite_in' => $infinite_in,
550
+ 'infinite_out' => $infinite_out,
551
+ 'min_size' => $min_size,
552
+ ));
553
+ }
554
+ else {
555
+ $save = $wpdb->update($wpdb->prefix . 'wdslayer', array(
556
+ 'title' => $title,
557
+ 'type' => $type,
558
+ 'depth' => $depth,
559
+ 'text' => $text,
560
+ 'link' => $link,
561
+ 'left' => $left,
562
+ 'top' => $top,
563
+ 'start' => $start,
564
+ 'end' => $end,
565
+ 'published' => $published,
566
+ 'color' => $color,
567
+ 'size' => $size,
568
+ 'ffamily' => $ffamily,
569
+ 'fweight' => $fweight,
570
+ 'padding' => $padding,
571
+ 'fbgcolor' => $fbgcolor,
572
+ 'transparent' => $transparent,
573
+ 'border_width' => $border_width,
574
+ 'border_style' => $border_style,
575
+ 'border_color' => $border_color,
576
+ 'border_radius' => $border_radius,
577
+ 'shadow' => $shadow,
578
+ 'image_url' => $image_url,
579
+ 'image_width' => $image_width,
580
+ 'image_height' => $image_height,
581
+ 'image_scale' => $image_scale,
582
+ 'alt' => $alt,
583
+ 'imgtransparent' => $imgtransparent,
584
+ 'social_button' => $social_button,
585
+ 'hover_color' => $hover_color,
586
+ 'layer_effect_in' => $layer_effect_in,
587
+ 'layer_effect_out' => $layer_effect_out,
588
+ 'duration_eff_in' => $duration_eff_in,
589
+ 'duration_eff_out' => $duration_eff_out,
590
+ 'target_attr_layer' => $target_attr_layer,
591
+ 'hotp_width' => $hotp_width,
592
+ 'hotp_fbgcolor' => $hotp_fbgcolor,
593
+ 'hotp_border_width' => $hotp_border_width,
594
+ 'hotp_border_style' => $hotp_border_style,
595
+ 'hotp_border_color' => $hotp_border_color,
596
+ 'hotp_border_radius' => $hotp_border_radius,
597
+ 'hotp_text_position' => $hotp_text_position,
598
+ 'google_fonts' => $google_fonts,
599
+ 'add_class' => $add_class,
600
+ 'layer_callback_list' => $layer_callback_list,
601
+ 'hover_color_text' => $hover_color_text,
602
+ 'text_alignment' => $text_alignment,
603
+ 'link_to_slide' => $link_to_slide,
604
+ 'align_layer' => $align_layer,
605
+ 'static_layer' => $static_layer,
606
+ 'infinite_in' => $infinite_in,
607
+ 'infinite_out' => $infinite_out,
608
+ 'min_size' => $min_size,
609
+ ), array('id' => $layer_id));
610
+ }
611
+ }
612
+ }
613
+ }
614
+ }
615
+
616
+ public function set_watermark() {
617
+ global $wpdb;
618
+ $slider_id = WDW_S_Library::get('current_id', 0);
619
+ if (!$slider_id) {
620
+ $slider_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslider');
621
+ }
622
+
623
+ $slider_images = $wpdb->get_col($wpdb->prepare('SELECT image_url FROM ' . $wpdb->prefix . 'wdsslide WHERE `slider_id`="%d"', $slider_id));
624
+ $slider = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wdsslider WHERE `id`="%d"', $slider_id));
625
+
626
+ switch ($slider->built_in_watermark_type) {
627
+ case 'text': {
628
+ foreach ($slider_images as $slider_image) {
629
+ if ($slider_image) {
630
+ $slider_image = str_replace('{site_url}', site_url(), $slider_image);
631
+ $slider_image_dir = str_replace(site_url() . '/', ABSPATH, $slider_image);
632
+ $last_slash_pos = strrpos($slider_image_dir, '/') + 1;
633
+ $dest_dir = substr($slider_image_dir, 0, $last_slash_pos);
634
+ $image_name = substr($slider_image_dir, $last_slash_pos);
635
+ $new_image = $dest_dir . '.original/' . $image_name;
636
+ if (!is_dir($dest_dir . '.original')) {
637
+ mkdir($dest_dir . '.original', 0777, TRUE);
638
+ }
639
+ if (!file_exists($new_image)) {
640
+ copy($slider_image_dir, $new_image);
641
+ }
642
+ $this->set_text_watermark($slider_image_dir, $slider_image_dir, $slider->built_in_watermark_text, $slider->built_in_watermark_font, $slider->built_in_watermark_font_size, '#' . $slider->built_in_watermark_color, $slider->built_in_watermark_opacity, $slider->built_in_watermark_position);
643
+ }
644
+ }
645
+ break;
646
+ }
647
+ case 'image': {
648
+ foreach ($slider_images as $slider_image) {
649
+ if ($slider_image) {
650
+ $slider_image = str_replace('{site_url}', site_url(), $slider_image);
651
+ $slider_image_dir = str_replace(site_url() . '/', ABSPATH, $slider_image);
652
+ $last_slash_pos = strrpos($slider_image_dir, '/') + 1;
653
+ $dest_dir = substr($slider_image_dir, 0, $last_slash_pos);
654
+ $image_name = substr($slider_image_dir, $last_slash_pos);
655
+ $new_image = $dest_dir . '.original/' . $image_name;
656
+ if (!is_dir($dest_dir . '.original')) {
657
+ mkdir($dest_dir . '.original', 0777, TRUE);
658
+ }
659
+ if (!file_exists($new_image)) {
660
+ copy($slider_image_dir, $new_image);
661
+ }
662
+ $slider->built_in_watermark_url = str_replace('{site_url}', site_url(), $slider->built_in_watermark_url);
663
+ $watermark_image_dir = str_replace(site_url() . '/', ABSPATH, $slider->built_in_watermark_url);
664
+ $this->set_image_watermark($slider_image_dir, $slider_image_dir, $watermark_image_dir, $slider->built_in_watermark_size, $slider->built_in_watermark_size, $slider->built_in_watermark_position);
665
+ }
666
+ }
667
+ break;
668
+ }
669
+ default: {
670
+ break;
671
+ }
672
+ }
673
+ }
674
+
675
+ public function reset_watermark() {
676
+ global $wpdb;
677
+ $slider_id = WDW_S_Library::get('current_id', 0);
678
+ if (!$slider_id) {
679
+ $slider_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslider');
680
+ }
681
+ $slider_images = $wpdb->get_col($wpdb->prepare('SELECT image_url FROM ' . $wpdb->prefix . 'wdsslide WHERE `slider_id`="%d"', $slider_id));
682
+ foreach ($slider_images as $slider_image) {
683
+ if ($slider_image) {
684
+ $slider_image = str_replace('{site_url}', site_url(), $slider_image);
685
+ $slider_image_dir = str_replace(site_url() . '/', ABSPATH, $slider_image);
686
+ $last_slash_pos = strrpos($slider_image_dir, '/') + 1;
687
+ $dest_dir = substr($slider_image_dir, 0, $last_slash_pos);
688
+ $image_name = substr($slider_image_dir, $last_slash_pos);
689
+ $new_image = $dest_dir . '.original/' . $image_name;
690
+ if (file_exists($new_image)) {
691
+ copy($new_image, $slider_image_dir);
692
+ }
693
+ else {
694
+ // For 1.0.1 version.
695
+ $last_dot_pos = strrpos($slider_image_dir, '.');
696
+ $base_name = substr($slider_image_dir, 0, $last_dot_pos);
697
+ $ext = substr($slider_image_dir, strlen($base_name));
698
+ $new_image = $base_name . '-original' . $ext;
699
+ if (file_exists($new_image)) {
700
+ copy($new_image, $slider_image_dir);
701
+ }
702
+ }
703
+ }
704
+ }
705
+ }
706
+
707
+ public function reset() {
708
+ global $wpdb;
709
+ $slider_id = WDW_S_Library::get('current_id', 0);
710
+ if (!$slider_id) {
711
+ $slider_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslider');
712
+ }
713
+
714
+ require_once WD_S_DIR . "/admin/models/WDSModelSliders_wds.php";
715
+ $model = new WDSModelSliders_wds();
716
+
717
+ require_once WD_S_DIR . "/admin/views/WDSViewSliders_wds.php";
718
+ $view = new WDSViewSliders_wds($model);
719
+ echo WDW_S_Library::message('Changes must be saved.', 'wd_error');
720
+ $view->edit($slider_id, TRUE);
721
+ }
722
+ public function duplicate() {
723
+ $slider_id = WDW_S_Library::get('current_id', 0);
724
+ $new_slider_id = $this->duplicate_tables($slider_id);
725
+ require_once WD_S_DIR . "/admin/models/WDSModelSliders_wds.php";
726
+ $model = new WDSModelSliders_wds();
727
+ require_once WD_S_DIR . "/admin/views/WDSViewSliders_wds.php";
728
+ $view = new WDSViewSliders_wds($model);
729
+ echo WDW_S_Library::message('Item Succesfully Duplicated.', 'wd_updated');
730
+ $view->edit($new_slider_id);
731
+ }
732
+
733
+ public function duplicate_all($id) {
734
+ global $wpdb;
735
+ $flag = FALSE;
736
+ $sliders_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'wdsslider');
737
+ foreach ($sliders_ids_col as $slider_id) {
738
+ if (isset($_POST['check_' . $slider_id])) {
739
+ $flag = TRUE;
740
+ $this->duplicate_tables($slider_id);
741
+ }
742
+ }
743
+ if ($flag) {
744
+ echo WDW_S_Library::message('Items Succesfully Duplicated.', 'wd_updated');
745
+ }
746
+ else {
747
+ echo WDW_S_Library::message('You must select at least one item.', 'wd_error');
748
+ }
749
+ $this->display();
750
+ }
751
+
752
+ public function duplicate_tables($slider_id, $new_slider_name = "") {
753
+ global $wpdb;
754
+ if ($slider_id) {
755
+ $slider_row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wdsslider where id="%d"', $slider_id));
756
+ }
757
+ if ($slider_row) {
758
+ $name = $new_slider_name ? $new_slider_name : $slider_row->name;
759
+ $save = $wpdb->insert($wpdb->prefix . 'wdsslider', array(
760
+ 'name' => $name,
761
+ 'published' => $slider_row->published,
762
+ 'full_width' => $slider_row->full_width,
763
+ 'width' => $slider_row->width,
764
+ 'height' => $slider_row->height,
765
+ 'bg_fit' => $slider_row->bg_fit,
766
+ 'align' => $slider_row->align,
767
+ 'effect' => $slider_row->effect,
768
+ 'time_intervval' => $slider_row->time_intervval,
769
+ 'autoplay' => $slider_row->autoplay,
770
+ 'shuffle' => $slider_row->shuffle,
771
+ 'music' => $slider_row->music,
772
+ 'music_url' => $slider_row->music_url,
773
+ 'preload_images' => $slider_row->preload_images,
774
+ 'background_color' => $slider_row->background_color,
775
+ 'background_transparent' =>$slider_row-> background_transparent,
776
+ 'glb_border_width' => $slider_row->glb_border_width,
777
+ 'glb_border_style' => $slider_row->glb_border_style,
778
+ 'glb_border_color' => $slider_row->glb_border_color,
779
+ 'glb_border_radius' => $slider_row->glb_border_radius,
780
+ 'glb_margin' => $slider_row->glb_margin,
781
+ 'glb_box_shadow' => $slider_row->glb_box_shadow,
782
+ 'image_right_click' => $slider_row->image_right_click,
783
+ 'prev_next_butt' => $slider_row->prev_next_butt,
784
+ 'play_paus_butt' => $slider_row->play_paus_butt,
785
+ 'navigation' => $slider_row->navigation,
786
+ 'rl_butt_style' => $slider_row->rl_butt_style,
787
+ 'rl_butt_size' => $slider_row->rl_butt_size,
788
+ 'pp_butt_size' => $slider_row->pp_butt_size,
789
+ 'butts_color' => $slider_row->butts_color,
790
+ 'butts_transparent' => $slider_row->butts_transparent,
791
+ 'hover_color' => $slider_row->hover_color,
792
+ 'nav_border_width' => $slider_row->nav_border_width,
793
+ 'nav_border_style' => $slider_row->nav_border_style,
794
+ 'nav_border_color' => $slider_row->nav_border_color,
795
+ 'nav_border_radius' => $slider_row->nav_border_radius,
796
+ 'nav_bg_color' => $slider_row->nav_bg_color,
797
+ 'bull_position' => $slider_row->bull_position,
798
+ 'bull_style' => $slider_row->bull_style,
799
+ 'bull_size' => $slider_row->bull_size,
800
+ 'bull_color' => $slider_row->bull_color,
801
+ 'bull_act_color' => $slider_row->bull_act_color,
802
+ 'bull_margin' => $slider_row->bull_margin,
803
+ 'film_pos' => $slider_row->film_pos,
804
+ 'film_thumb_width' => $slider_row->film_thumb_width,
805
+ 'film_thumb_height' => $slider_row->film_thumb_height,
806
+ 'film_bg_color' => $slider_row->film_bg_color,
807
+ 'film_tmb_margin' => $slider_row->film_tmb_margin,
808
+ 'film_act_border_width' => $slider_row->film_act_border_width,
809
+ 'film_act_border_style' => $slider_row->film_act_border_style,
810
+ 'film_act_border_color' => $slider_row->film_act_border_color,
811
+ 'film_dac_transparent' => $slider_row->film_dac_transparent,
812
+ 'built_in_watermark_type' => $slider_row->built_in_watermark_type,
813
+ 'built_in_watermark_position' => $slider_row->built_in_watermark_position,
814
+ 'built_in_watermark_size' => $slider_row->built_in_watermark_size,
815
+ 'built_in_watermark_url' => $slider_row->built_in_watermark_url,
816
+ 'built_in_watermark_text' => $slider_row->built_in_watermark_text,
817
+ 'built_in_watermark_opacity' => $slider_row->built_in_watermark_opacity,
818
+ 'built_in_watermark_font_size' => $slider_row->built_in_watermark_font_size,
819
+ 'built_in_watermark_font' => $slider_row->built_in_watermark_font,
820
+ 'built_in_watermark_color' => $slider_row->built_in_watermark_color,
821
+ 'css' => $slider_row->css,
822
+ 'timer_bar_type' => $slider_row->timer_bar_type,
823
+ 'timer_bar_size' => $slider_row->timer_bar_size,
824
+ 'timer_bar_color' => $slider_row->timer_bar_color,
825
+ 'timer_bar_transparent' => $slider_row->timer_bar_transparent,
826
+ 'layer_out_next' => $slider_row->layer_out_next,
827
+ 'stop_animation' => $slider_row->stop_animation,
828
+ 'right_butt_url' => $slider_row->right_butt_url,
829
+ 'left_butt_url' => $slider_row->left_butt_url,
830
+ 'right_butt_hov_url' => $slider_row->right_butt_hov_url,
831
+ 'left_butt_hov_url' => $slider_row->left_butt_hov_url,
832
+ 'rl_butt_img_or_not' => $slider_row->rl_butt_img_or_not,
833
+ 'bullets_img_main_url' => $slider_row->bullets_img_main_url,
834
+ 'bullets_img_hov_url' => $slider_row->bullets_img_hov_url,
835
+ 'bull_butt_img_or_not' => $slider_row->bull_butt_img_or_not,
836
+ 'play_paus_butt_img_or_not' => $slider_row->play_paus_butt_img_or_not,
837
+ 'play_butt_url' => $slider_row->play_butt_url,
838
+ 'play_butt_hov_url' => $slider_row->play_butt_hov_url,
839
+ 'paus_butt_url' => $slider_row->paus_butt_url,
840
+ 'paus_butt_hov_url' => $slider_row->paus_butt_hov_url,
841
+ 'start_slide_num' => $slider_row->start_slide_num,
842
+ 'effect_duration' => $slider_row->effect_duration,
843
+ 'carousel' => $slider_row->carousel,
844
+ 'carousel_image_counts' => $slider_row->carousel_image_counts,
845
+ 'carousel_image_parameters' => $slider_row->carousel_image_parameters,
846
+ 'carousel_fit_containerWidth' => $slider_row->carousel_fit_containerWidth,
847
+ 'carousel_width' => $slider_row->carousel_width,
848
+ 'parallax_effect' => $slider_row->parallax_effect,
849
+ 'carousel_degree' => $slider_row->carousel_degree,
850
+ 'carousel_grayscale' => $slider_row->carousel_grayscale,
851
+ 'carousel_transparency' => $slider_row->carousel_transparency,
852
+ 'bull_back_act_color' => $slider_row->bull_back_act_color,
853
+ 'bull_back_color' => $slider_row->bull_back_color,
854
+ 'bull_radius' => $slider_row->bull_radius,
855
+ 'smart_crop' => $slider_row->smart_crop,
856
+ 'crop_image_position' => $slider_row->crop_image_position,
857
+ 'slider_loop' => $slider_row->slider_loop,
858
+ 'bull_hover' => $slider_row->bull_hover,
859
+ 'show_thumbnail' => $slider_row->show_thumbnail,
860
+ 'thumb_size' => $slider_row->thumb_size,
861
+ 'hide_on_mobile' => $slider_row->hide_on_mobile,
862
+ 'twoway_slideshow' => $slider_row->twoway_slideshow,
863
+ 'mouse_swipe_nav' => $slider_row->mouse_swipe_nav,
864
+ 'touch_swipe_nav' => $slider_row->touch_swipe_nav,
865
+ 'mouse_wheel_nav' => $slider_row->mouse_wheel_nav,
866
+ 'keyboard_nav' => $slider_row->keyboard_nav,
867
+ 'fixed_bg' => $slider_row->fixed_bg,
868
+ 'full_width_for_mobile' => $slider_row->full_width_for_mobile,
869
+ 'order_dir' => $slider_row->order_dir,
870
+ ));
871
+ $new_slider_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslider');
872
+
873
+ $slider_slides = $wpdb->get_results($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wdsslide where slider_id="%d"', $slider_id));
874
+ if ($slider_slides) {
875
+ foreach ($slider_slides as $single_slide) {
876
+ $save = $wpdb->insert($wpdb->prefix . 'wdsslide', array(
877
+ 'slider_id' => $new_slider_id,
878
+ 'title' => $single_slide->title,
879
+ 'type' => $single_slide->type,
880
+ 'order' => $single_slide->order,
881
+ 'published' => $single_slide->published,
882
+ 'link' => $single_slide->link,
883
+ 'image_url' => $single_slide->image_url,
884
+ 'thumb_url' => $single_slide->thumb_url,
885
+ 'target_attr_slide' => $single_slide->target_attr_slide,
886
+ 'youtube_rel_video' => $single_slide->youtube_rel_video,
887
+ 'video_loop' => $single_slide->video_loop,
888
+ ));
889
+ $new_slide_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslide');
890
+ $slider_layer = $wpdb->get_results($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wdslayer where slide_id="%d"', $single_slide->id));
891
+ if ($slider_layer) {
892
+ foreach ($slider_layer as $layer_id) {
893
+ if ($layer_id) {
894
+ $save = $wpdb->insert($wpdb->prefix . 'wdslayer', array(
895
+ 'slide_id' => $new_slide_id,
896
+ 'title' => $layer_id->title,
897
+ 'type' => $layer_id->type,
898
+ 'depth' => $layer_id->depth,
899
+ 'text' => $layer_id->text,
900
+ 'link' => $layer_id->link,
901
+ 'left' => $layer_id->left,
902
+ 'top' => $layer_id->top,
903
+ 'start' => $layer_id->start,
904
+ 'end' => $layer_id->end,
905
+ 'published' => $layer_id->published,
906
+ 'color' => $layer_id->color,
907
+ 'size' => $layer_id->size,
908
+ 'ffamily' => $layer_id->ffamily,
909
+ 'fweight' => $layer_id->fweight,
910
+ 'padding' => $layer_id->padding,
911
+ 'fbgcolor' => $layer_id->fbgcolor,
912
+ 'transparent' => $layer_id->transparent,
913
+ 'border_width' => $layer_id->border_width,
914
+ 'border_style' => $layer_id->border_style,
915
+ 'border_color' => $layer_id->border_color,
916
+ 'border_radius' => $layer_id->border_radius,
917
+ 'shadow' => $layer_id->shadow,
918
+ 'image_url' => $layer_id->image_url,
919
+ 'image_width' => $layer_id->image_width,
920
+ 'image_height' => $layer_id->image_height,
921
+ 'image_scale' => $layer_id->image_scale,
922
+ 'alt' => $layer_id->alt,
923
+ 'imgtransparent' => $layer_id->imgtransparent,
924
+ 'social_button' => $layer_id->social_button,
925
+ 'hover_color' => $layer_id->hover_color,
926
+ 'layer_effect_in' => $layer_id->layer_effect_in,
927
+ 'layer_effect_out' => $layer_id->layer_effect_out,
928
+ 'duration_eff_in' => $layer_id->duration_eff_in,
929
+ 'duration_eff_out' => $layer_id->duration_eff_out,
930
+ 'target_attr_layer' => $layer_id->target_attr_layer,
931
+ 'hotp_width' => $layer_id->hotp_width,
932
+ 'hotp_fbgcolor' => $layer_id->hotp_fbgcolor,
933
+ 'hotp_border_width' => $layer_id->hotp_border_width,
934
+ 'hotp_border_style' => $layer_id->hotp_border_style,
935
+ 'hotp_border_color' => $layer_id->hotp_border_color,
936
+ 'hotp_border_radius' => $layer_id->hotp_border_radius,
937
+ 'hotp_text_position' => $layer_id->hotp_text_position,
938
+ 'google_fonts' => $layer_id->google_fonts,
939
+ 'add_class' => $layer_id->add_class,
940
+ 'layer_video_loop' => $layer_id->layer_video_loop,
941
+ 'youtube_rel_layer_video' => $layer_id->youtube_rel_layer_video,
942
+ 'hotspot_animation' => $layer_id->hotspot_animation,
943
+ 'layer_callback_list' => $layer_id->layer_callback_list,
944
+ 'hotspot_text_display' => $layer_id->hotspot_text_display,
945
+ 'hover_color_text' => $layer_id->hover_color_text,
946
+ 'text_alignment' => $layer_id->text_alignment,
947
+ 'link_to_slide' => $layer_id->link_to_slide,
948
+ 'align_layer' => $layer_id->align_layer,
949
+ 'static_layer' => $layer_id->static_layer,
950
+ 'infinite_in' => $layer_id->infinite_in,
951
+ 'infinite_out' => $layer_id->infinite_out,
952
+ 'min_size' => $layer_id->min_size,
953
+ ));
954
+ }
955
+ }
956
+ }
957
+ }
958
+ }
959
+ }
960
+ return $new_slider_id;
961
+ }
962
+
963
+ function wds_hex2rgb($hex) {
964
+ $hex = str_replace("#", "", $hex);
965
+ if (strlen($hex) == 3) {
966
+ $r = hexdec(substr($hex,0,1).substr($hex,0,1));
967
+ $g = hexdec(substr($hex,1,1).substr($hex,1,1));
968
+ $b = hexdec(substr($hex,2,1).substr($hex,2,1));
969
+ }
970
+ else {
971
+ $r = hexdec(substr($hex,0,2));
972
+ $g = hexdec(substr($hex,2,2));
973
+ $b = hexdec(substr($hex,4,2));
974
+ }
975
+ $rgb = array($r, $g, $b);
976
+ return $rgb;
977
+ }
978
+
979
+ function wds_imagettfbboxdimensions($font_size, $font_angle, $font, $text) {
980
+ $box = @ImageTTFBBox($font_size, $font_angle, $font, $text) or die;
981
+ $max_x = max(array($box[0], $box[2], $box[4], $box[6]));
982
+ $max_y = max(array($box[1], $box[3], $box[5], $box[7]));
983
+ $min_x = min(array($box[0], $box[2], $box[4], $box[6]));
984
+ $min_y = min(array($box[1], $box[3], $box[5], $box[7]));
985
+ return array(
986
+ "width" => ($max_x - $min_x),
987
+ "height" => ($max_y - $min_y)
988
+ );
989
+ }
990
+
991
+ function set_text_watermark($original_filename, $dest_filename, $watermark_text, $watermark_font, $watermark_font_size, $watermark_color, $watermark_transparency, $watermark_position) {
992
+ $original_filename = htmlspecialchars_decode($original_filename, ENT_COMPAT | ENT_QUOTES);
993
+ $dest_filename = htmlspecialchars_decode($dest_filename, ENT_COMPAT | ENT_QUOTES);
994
+
995
+ $watermark_transparency = 127 - ((100 - $watermark_transparency) * 1.27);
996
+ list($width, $height, $type) = getimagesize($original_filename);
997
+ $watermark_image = imagecreatetruecolor($width, $height);
998
+
999
+ $watermark_color = $this->wds_hex2rgb($watermark_color);
1000
+ $watermark_color = imagecolorallocatealpha($watermark_image, $watermark_color[0], $watermark_color[1], $watermark_color[2], $watermark_transparency);
1001
+ $watermark_font = WD_S_DIR . '/fonts/' . $watermark_font;
1002
+ $watermark_font_size = ($height * $watermark_font_size / 500);
1003
+ $watermark_position = explode('-', $watermark_position);
1004
+ $watermark_sizes = $this->wds_imagettfbboxdimensions($watermark_font_size, 0, $watermark_font, $watermark_text);
1005
+
1006
+ $top = $height - 5;
1007
+ $left = $width - $watermark_sizes['width'] - 5;
1008
+ switch ($watermark_position[0]) {
1009
+ case 'top':
1010
+ $top = $watermark_sizes['height'] + 5;
1011
+ break;
1012
+ case 'middle':
1013
+ $top = ($height + $watermark_sizes['height']) / 2;
1014
+ break;
1015
+ }
1016
+ switch ($watermark_position[1]) {
1017
+ case 'left':
1018
+ $left = 5;
1019
+ break;
1020
+ case 'center':
1021
+ $left = ($width - $watermark_sizes['width']) / 2;
1022
+ break;
1023
+ }
1024
+ @ini_set('memory_limit', '-1');
1025
+ if ($type == 2) {
1026
+ $image = imagecreatefromjpeg($original_filename);
1027
+ imagettftext($image, $watermark_font_size, 0, $left, $top, $watermark_color, $watermark_font, $watermark_text);
1028
+ imagejpeg ($image, $dest_filename, 100);
1029
+ imagedestroy($image);
1030
+ }
1031
+ elseif ($type == 3) {
1032
+ $image = imagecreatefrompng($original_filename);
1033
+ imagettftext($image, $watermark_font_size, 0, $left, $top, $watermark_color, $watermark_font, $watermark_text);
1034
+ imageColorAllocateAlpha($image, 0, 0, 0, 127);
1035
+ imagealphablending($image, FALSE);
1036
+ imagesavealpha($image, TRUE);
1037
+ imagepng($image, $dest_filename, 9);
1038
+ imagedestroy($image);
1039
+ }
1040
+ elseif ($type == 1) {
1041
+ $image = imagecreatefromgif($original_filename);
1042
+ imageColorAllocateAlpha($watermark_image, 0, 0, 0, 127);
1043
+ imagecopy($watermark_image, $image, 0, 0, 0, 0, $width, $height);
1044
+ imagettftext($watermark_image, $watermark_font_size, 0, $left, $top, $watermark_color, $watermark_font, $watermark_text);
1045
+ imagealphablending($watermark_image, FALSE);
1046
+ imagesavealpha($watermark_image, TRUE);
1047
+ imagegif($watermark_image, $dest_filename);
1048
+ imagedestroy($image);
1049
+ }
1050
+ imagedestroy($watermark_image);
1051
+ @ini_restore('memory_limit');
1052
+ }
1053
+
1054
+ function set_image_watermark($original_filename, $dest_filename, $watermark_url, $watermark_height, $watermark_width, $watermark_position) {
1055
+ $original_filename = htmlspecialchars_decode($original_filename, ENT_COMPAT | ENT_QUOTES);
1056
+ $dest_filename = htmlspecialchars_decode($dest_filename, ENT_COMPAT | ENT_QUOTES);
1057
+ $watermark_url = htmlspecialchars_decode($watermark_url, ENT_COMPAT | ENT_QUOTES);
1058
+
1059
+ list($width, $height, $type) = getimagesize($original_filename);
1060
+ list($width_watermark, $height_watermark, $type_watermark) = getimagesize($watermark_url);
1061
+
1062
+ $watermark_width = $width * $watermark_width / 100;
1063
+ $watermark_height = $height_watermark * $watermark_width / $width_watermark;
1064
+
1065
+ $watermark_position = explode('-', $watermark_position);
1066
+ $top = $height - $watermark_height - 5;
1067
+ $left = $width - $watermark_width - 5;
1068
+ switch ($watermark_position[0]) {
1069
+ case 'top':
1070
+ $top = 5;
1071
+ break;
1072
+ case 'middle':
1073
+ $top = ($height - $watermark_height) / 2;
1074
+ break;
1075
+ }
1076
+ switch ($watermark_position[1]) {
1077
+ case 'left':
1078
+ $left = 5;
1079
+ break;
1080
+ case 'center':
1081
+ $left = ($width - $watermark_width) / 2;
1082
+ break;
1083
+ }
1084
+ @ini_set('memory_limit', '-1');
1085
+ if ($type_watermark == 2) {
1086
+ $watermark_image = imagecreatefromjpeg($watermark_url);
1087
+ }
1088
+ elseif ($type_watermark == 3) {
1089
+ $watermark_image = imagecreatefrompng($watermark_url);
1090
+ }
1091
+ elseif ($type_watermark == 1) {
1092
+ $watermark_image = imagecreatefromgif($watermark_url);
1093
+ }
1094
+ else {
1095
+ return false;
1096
+ }
1097
+
1098
+ $watermark_image_resized = imagecreatetruecolor($watermark_width, $watermark_height);
1099
+ imagecolorallocatealpha($watermark_image_resized, 255, 255, 255, 127);
1100
+ imagealphablending($watermark_image_resized, FALSE);
1101
+ imagesavealpha($watermark_image_resized, TRUE);
1102
+ imagecopyresampled ($watermark_image_resized, $watermark_image, 0, 0, 0, 0, $watermark_width, $watermark_height, $width_watermark, $height_watermark);
1103
+
1104
+ if ($type == 2) {
1105
+ $image = imagecreatefromjpeg($original_filename);
1106
+ imagecopy($image, $watermark_image_resized, $left, $top, 0, 0, $watermark_width, $watermark_height);
1107
+ if ($dest_filename <> '') {
1108
+ imagejpeg ($image, $dest_filename, 100);
1109
+ } else {
1110
+ header('Content-Type: image/jpeg');
1111
+ imagejpeg($image, null, 100);
1112
+ };
1113
+ imagedestroy($image);
1114
+ }
1115
+ elseif ($type == 3) {
1116
+ $image = imagecreatefrompng($original_filename);
1117
+ imagecopy($image, $watermark_image_resized, $left, $top, 0, 0, $watermark_width, $watermark_height);
1118
+ imagealphablending($image, FALSE);
1119
+ imagesavealpha($image, TRUE);
1120
+ imagepng($image, $dest_filename, 9);
1121
+ imagedestroy($image);
1122
+ }
1123
+ elseif ($type == 1) {
1124
+ $image = imagecreatefromgif($original_filename);
1125
+ $tempimage = imagecreatetruecolor($width, $height);
1126
+ imagecopy($tempimage, $image, 0, 0, 0, 0, $width, $height);
1127
+ imagecopy($tempimage, $watermark_image_resized, $left, $top, 0, 0, $watermark_width, $watermark_height);
1128
+ imagegif($tempimage, $dest_filename);
1129
+ imagedestroy($image);
1130
+ imagedestroy($tempimage);
1131
+ }
1132
+ imagedestroy($watermark_image);
1133
+ @ini_restore('memory_limit');
1134
+ }
1135
+
1136
+ public function delete($id) {
1137
+ global $wpdb;
1138
+ $query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'wdsslider WHERE id="%d"', $id);
1139
+ if ($wpdb->query($query)) {
1140
+ $query_image = $wpdb->prepare('DELETE t1.*, t2.* FROM ' . $wpdb->prefix . 'wdsslide as t1 LEFT JOIN ' . $wpdb->prefix . 'wdslayer as t2 ON t1.id=t2.slide_id WHERE t1.slider_id="%d"', $id);
1141
+ $wpdb->query($query_image);
1142
+ echo WDW_S_Library::message('Item Succesfully Deleted.', 'wd_updated');
1143
+ }
1144
+ else {
1145
+ echo WDW_S_Library::message('Error. Please install plugin again.', 'wd_error');
1146
+ }
1147
+ $this->display();
1148
+ }
1149
+
1150
+ public function delete_all() {
1151
+ global $wpdb;
1152
+ $flag = FALSE;
1153
+ $sliders_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'wdsslider');
1154
+ foreach ($sliders_ids_col as $slider_id) {
1155
+ if (isset($_POST['check_' . $slider_id]) || isset($_POST['check_all_items'])) {
1156
+ $flag = TRUE;
1157
+ $query = $wpdb->prepare('DELETE FROM ' . $wpdb->prefix . 'wdsslider WHERE id="%d"', $slider_id);
1158
+ $wpdb->query($query);
1159
+ $query_image = $wpdb->prepare('DELETE t1.*, t2.* FROM ' . $wpdb->prefix . 'wdsslide as t1 LEFT JOIN ' . $wpdb->prefix . 'wdslayer as t2 ON t1.id=t2.slide_id WHERE t1.slider_id="%d"', $slider_id);
1160
+ $wpdb->query($query_image);
1161
+ }
1162
+ }
1163
+ if ($flag) {
1164
+ echo WDW_S_Library::message('Items Succesfully Deleted.', 'wd_updated');
1165
+ }
1166
+ else {
1167
+ echo WDW_S_Library::message('You must select at least one item.', 'wd_error');
1168
+ }
1169
+ $this->display();
1170
+ }
1171
+
1172
+ public function publish($id) {
1173
+ global $wpdb;
1174
+ $save = $wpdb->update($wpdb->prefix . 'wdsslider', array('published' => 1), array('id' => $id));
1175
+ if ($save !== FALSE) {
1176
+ echo WDW_S_Library::message('Item Succesfully Published.', 'wd_updated');
1177
+ }
1178
+ else {
1179
+ echo WDW_S_Library::message('Error. Please install plugin again.', 'wd_error');
1180
+ }
1181
+ $this->display();
1182
+ }
1183
+
1184
+ public function publish_all() {
1185
+ global $wpdb;
1186
+ $flag = FALSE;
1187
+ if (isset($_POST['check_all_items'])) {
1188
+ $wpdb->query('UPDATE ' . $wpdb->prefix . 'wdsslider SET published=1');
1189
+ $flag = TRUE;
1190
+ }
1191
+ else {
1192
+ $sliders_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'wdsslider');
1193
+ foreach ($sliders_ids_col as $slider_id) {
1194
+ if (isset($_POST['check_' . $slider_id])) {
1195
+ $flag = TRUE;
1196
+ $wpdb->update($wpdb->prefix . 'wdsslider', array('published' => 1), array('id' => $slider_id));
1197
+ }
1198
+ }
1199
+ }
1200
+ if ($flag) {
1201
+ echo WDW_S_Library::message('Items Succesfully Published.', 'wd_updated');
1202
+ }
1203
+ else {
1204
+ echo WDW_S_Library::message('You must select at least one item.', 'wd_error');
1205
+ }
1206
+ $this->display();
1207
+ }
1208
+
1209
+ public function unpublish($id) {
1210
+ global $wpdb;
1211
+ $save = $wpdb->update($wpdb->prefix . 'wdsslider', array('published' => 0), array('id' => $id));
1212
+ if ($save !== FALSE) {
1213
+ echo WDW_S_Library::message('Item Succesfully Unpublished.', 'wd_updated');
1214
+ }
1215
+ else {
1216
+ echo WDW_S_Library::message('Error. Please install plugin again.', 'wd_error');
1217
+ }
1218
+ $this->display();
1219
+ }
1220
+
1221
+ public function unpublish_all() {
1222
+ global $wpdb;
1223
+ $flag = FALSE;
1224
+ if (isset($_POST['check_all_items'])) {
1225
+ $wpdb->query('UPDATE ' . $wpdb->prefix . 'wdsslider SET published=0');
1226
+ $flag = TRUE;
1227
+ }
1228
+ else {
1229
+ $sliders_ids_col = $wpdb->get_col('SELECT id FROM ' . $wpdb->prefix . 'wdsslider');
1230
+ foreach ($sliders_ids_col as $slider_id) {
1231
+ if (isset($_POST['check_' . $slider_id])) {
1232
+ $flag = TRUE;
1233
+ $wpdb->update($wpdb->prefix . 'wdsslider', array('published' => 0), array('id' => $slider_id));
1234
+ }
1235
+ }
1236
+ }
1237
+ if ($flag) {
1238
+ echo WDW_S_Library::message('Items Succesfully Unpublished.', 'wd_updated');
1239
+ }
1240
+ else {
1241
+ echo WDW_S_Library::message('You must select at least one item.', 'wd_error');
1242
+ }
1243
+ $this->display();
1244
+ }
1245
+
1246
+ public function merge_sliders() {
1247
+ $flag = FALSE;
1248
+ $check_sliders = array();
1249
+ $sliders_names = array();
1250
+ global $wpdb;
1251
+ $sliders_ids_col = $wpdb->get_results('SELECT id, name FROM ' . $wpdb->prefix . 'wdsslider ORDER BY id');
1252
+ $name = "Merged sliders of ";
1253
+ foreach ($sliders_ids_col as $slider_id) {
1254
+ if (isset($_POST['check_' . $slider_id->id])) {
1255
+ $check_sliders[] = $slider_id->id;
1256
+ $sliders_names[] = $slider_id->name;
1257
+ }
1258
+ }
1259
+ if (count($check_sliders) > 1) {
1260
+ $name .= implode(",", $sliders_names);
1261
+ if (isset($_POST["select_slider_merge"])) {
1262
+ $select_slider_merge = (int) $_POST["select_slider_merge"];
1263
+ $new_slider_id = $this->duplicate_tables($select_slider_merge, $name);
1264
+ $max_order = $wpdb->get_var($wpdb->prepare('SELECT MAX(`order`) FROM ' . $wpdb->prefix . 'wdsslide WHERE slider_id="%d"', $new_slider_id));
1265
+ $key = array_search($select_slider_merge, $check_sliders);
1266
+ if (isset($check_sliders[$key])) {
1267
+ unset($check_sliders[$key]);
1268
+ }
1269
+ }
1270
+ $this->insert_slides($new_slider_id, $check_sliders, $max_order);
1271
+ $flag = TRUE;
1272
+ echo WDW_S_Library::message('The selected items are merged as a new slider.', 'wd_updated');
1273
+ }
1274
+ else {
1275
+ echo WDW_S_Library::message('You should select at least 2 sliders to merge them.', 'wd_error');
1276
+ }
1277
+ $this->display();
1278
+ }
1279
+
1280
+ public function insert_slides($slider_id, $check_sliders, $max_order) {
1281
+ global $wpdb;
1282
+ if ($slider_id) {
1283
+ $slides = $wpdb->get_results('SELECT * FROM ' . $wpdb->prefix . 'wdsslide WHERE slider_id In ('.implode(",", $check_sliders).')');
1284
+ }
1285
+ if ($slides) {
1286
+ foreach ($slides as $single_slide) {
1287
+ $max_order++;
1288
+ $save = $wpdb->insert($wpdb->prefix . 'wdsslide', array(
1289
+ 'slider_id' => $slider_id,
1290
+ 'title' => $single_slide->title,
1291
+ 'type' => $single_slide->type,
1292
+ 'order' => $max_order,
1293
+ 'published' => $single_slide->published,
1294
+ 'link' => $single_slide->link,
1295
+ 'image_url' => $single_slide->image_url,
1296
+ 'thumb_url' => $single_slide->thumb_url,
1297
+ 'target_attr_slide' => $single_slide->target_attr_slide,
1298
+ 'youtube_rel_video' => $single_slide->youtube_rel_video,
1299
+ 'video_loop' => $single_slide->video_loop,
1300
+ ));
1301
+ $new_slide_id = $wpdb->get_var('SELECT MAX(id) FROM ' . $wpdb->prefix . 'wdsslide');
1302
+ $slider_layer = $wpdb->get_results($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wdslayer where slide_id="%d"', $single_slide->id));
1303
+ if ($slider_layer) {
1304
+ foreach ($slider_layer as $layer_id) {
1305
+ if ($layer_id) {
1306
+ $save = $wpdb->insert($wpdb->prefix . 'wdslayer', array(
1307
+ 'slide_id' => $new_slide_id,
1308
+ 'title' => $layer_id->title,
1309
+ 'type' => $layer_id->type,
1310
+ 'depth' => $layer_id->depth,
1311
+ 'text' => $layer_id->text,
1312
+ 'link' => $layer_id->link,
1313
+ 'left' => $layer_id->left,
1314
+ 'top' => $layer_id->top,
1315
+ 'start' => $layer_id->start,
1316
+ 'end' => $layer_id->end,
1317
+ 'published' => $layer_id->published,
1318
+ 'color' => $layer_id->color,
1319
+ 'size' => $layer_id->size,
1320
+ 'ffamily' => $layer_id->ffamily,
1321
+ 'fweight' => $layer_id->fweight,
1322
+ 'padding' => $layer_id->padding,
1323
+ 'fbgcolor' => $layer_id->fbgcolor,
1324
+ 'transparent' => $layer_id->transparent,
1325
+ 'border_width' => $layer_id->border_width,
1326
+ 'border_style' => $layer_id->border_style,
1327
+ 'border_color' => $layer_id->border_color,
1328
+ 'border_radius' => $layer_id->border_radius,
1329
+ 'shadow' => $layer_id->shadow,
1330
+ 'image_url' => $layer_id->image_url,
1331
+ 'image_width' => $layer_id->image_width,
1332
+ 'image_height' => $layer_id->image_height,
1333
+ 'image_scale' => $layer_id->image_scale,
1334
+ 'alt' => $layer_id->alt,
1335
+ 'imgtransparent' => $layer_id->imgtransparent,
1336
+ 'social_button' => $layer_id->social_button,
1337
+ 'hover_color' => $layer_id->hover_color,
1338
+ 'layer_effect_in' => $layer_id->layer_effect_in,
1339
+ 'layer_effect_out' => $layer_id->layer_effect_out,
1340
+ 'duration_eff_in' => $layer_id->duration_eff_in,
1341
+ 'duration_eff_out' => $layer_id->duration_eff_out,
1342
+ 'target_attr_layer' => $layer_id->target_attr_layer,
1343
+ 'hotp_width' => $layer_id->hotp_width,
1344
+ 'hotp_fbgcolor' => $layer_id->hotp_fbgcolor,
1345
+ 'hotp_border_width' => $layer_id->hotp_border_width,
1346
+ 'hotp_border_style' => $layer_id->hotp_border_style,
1347
+ 'hotp_border_color' => $layer_id->hotp_border_color,
1348
+ 'hotp_border_radius' => $layer_id->hotp_border_radius,
1349
+ 'hotp_text_position' => $layer_id->hotp_text_position,
1350
+ 'google_fonts' => $layer_id->google_fonts,
1351
+ 'add_class' => $layer_id->add_class,
1352
+ 'layer_video_loop' => $layer_id->layer_video_loop,
1353
+ 'youtube_rel_layer_video' => $layer_id->youtube_rel_layer_video,
1354
+ 'hotspot_animation' => $layer_id->hotspot_animation,
1355
+ 'layer_callback_list' => $layer_id->layer_callback_list,
1356
+ 'hotspot_text_display' => $layer_id->hotspot_text_display,
1357
+ 'hover_color_text' => $layer_id->hover_color_text,
1358
+ 'text_alignment' => $layer_id->text_alignment,
1359
+ 'link_to_slide' => $layer_id->link_to_slide,
1360
+ 'align_layer' => $layer_id->align_layer,
1361
+ 'static_layer' => $layer_id->static_layer,
1362
+ 'infinite_in' => $layer_id->infinite_in,
1363
+ 'infinite_out' => $layer_id->infinite_out,
1364
+ 'min_size' => $layer_id->min_size,
1365
+ ));
1366
+ }
1367
+ }
1368
+ }
1369
+ }
1370
+ }
1371
+ return $slider_id;
1372
+ }
1373
+
1374
+ ////////////////////////////////////////////////////////////////////////////////////////
1375
+ // Getters & Setters //
1376
+ ////////////////////////////////////////////////////////////////////////////////////////
1377
+ ////////////////////////////////////////////////////////////////////////////////////////
1378
+ // Private Methods //
1379
+ ////////////////////////////////////////////////////////////////////////////////////////
1380
+ ////////////////////////////////////////////////////////////////////////////////////////
1381
+ // Listeners //
1382
+ ////////////////////////////////////////////////////////////////////////////////////////
1383
  }
admin/controllers/WDSControllerUninstall_wds.php CHANGED
@@ -1,66 +1,66 @@
1
- <?php
2
-
3
- class WDSControllerUninstall_wds {
4
- ////////////////////////////////////////////////////////////////////////////////////////
5
- // Events //
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- // Constants //
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- // Variables //
12
- ////////////////////////////////////////////////////////////////////////////////////////
13
- ////////////////////////////////////////////////////////////////////////////////////////
14
- // Constructor & Destructor //
15
- ////////////////////////////////////////////////////////////////////////////////////////
16
- public function __construct() {
17
- global $wds_options;
18
- if (!class_exists("DoradoWebConfig")) {
19
- include_once(WD_S_DIR . "/wd/config.php");
20
- }
21
- $config = new DoradoWebConfig();
22
- $config->set_options($wds_options);
23
- $deactivate_reasons = new DoradoWebDeactivate($config);
24
- $deactivate_reasons->submit_and_deactivate();
25
- }
26
- ////////////////////////////////////////////////////////////////////////////////////////
27
- // Public Methods //
28
- ////////////////////////////////////////////////////////////////////////////////////////
29
- public function execute() {
30
- $task = ((isset($_POST['task'])) ? esc_html(stripslashes($_POST['task'])) : '');
31
- if (method_exists($this, $task)) {
32
- check_admin_referer('nonce_wd', 'nonce_wd');
33
- $this->$task();
34
- }
35
- else {
36
- $this->display();
37
- }
38
- }
39
-
40
- public function display() {
41
- require_once WD_S_DIR . "/admin/models/WDSModelUninstall_wds.php";
42
- $model = new WDSModelUninstall_wds();
43
-
44
- require_once WD_S_DIR . "/admin/views/WDSViewUninstall_wds.php";
45
- $view = new WDSViewUninstall_wds($model);
46
- $view->display();
47
- }
48
-
49
- public function uninstall() {
50
- require_once WD_S_DIR . "/admin/models/WDSModelUninstall_wds.php";
51
- $model = new WDSModelUninstall_wds();
52
-
53
- require_once WD_S_DIR . "/admin/views/WDSViewUninstall_wds.php";
54
- $view = new WDSViewUninstall_wds($model);
55
- $view->uninstall();
56
- }
57
- ////////////////////////////////////////////////////////////////////////////////////////
58
- // Getters & Setters //
59
- ////////////////////////////////////////////////////////////////////////////////////////
60
- ////////////////////////////////////////////////////////////////////////////////////////
61
- // Private Methods //
62
- ////////////////////////////////////////////////////////////////////////////////////////
63
- ////////////////////////////////////////////////////////////////////////////////////////
64
- // Listeners //
65
- ////////////////////////////////////////////////////////////////////////////////////////
66
  }
1
+ <?php
2
+
3
+ class WDSControllerUninstall_wds {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ global $wds_options;
18
+ if (!class_exists("DoradoWebConfig")) {
19
+ include_once(WD_S_DIR . "/wd/config.php");
20
+ }
21
+ $config = new DoradoWebConfig();
22
+ $config->set_options($wds_options);
23
+ $deactivate_reasons = new DoradoWebDeactivate($config);
24
+ $deactivate_reasons->submit_and_deactivate();
25
+ }
26
+ ////////////////////////////////////////////////////////////////////////////////////////
27
+ // Public Methods //
28
+ ////////////////////////////////////////////////////////////////////////////////////////
29
+ public function execute() {
30
+ $task = ((isset($_POST['task'])) ? esc_html(stripslashes($_POST['task'])) : '');
31
+ if (method_exists($this, $task)) {
32
+ check_admin_referer('nonce_wd', 'nonce_wd');
33
+ $this->$task();
34
+ }
35
+ else {
36
+ $this->display();
37
+ }
38
+ }
39
+
40
+ public function display() {
41
+ require_once WD_S_DIR . "/admin/models/WDSModelUninstall_wds.php";
42
+ $model = new WDSModelUninstall_wds();
43
+
44
+ require_once WD_S_DIR . "/admin/views/WDSViewUninstall_wds.php";
45
+ $view = new WDSViewUninstall_wds($model);
46
+ $view->display();
47
+ }
48
+
49
+ public function uninstall() {
50
+ require_once WD_S_DIR . "/admin/models/WDSModelUninstall_wds.php";
51
+ $model = new WDSModelUninstall_wds();
52
+
53
+ require_once WD_S_DIR . "/admin/views/WDSViewUninstall_wds.php";
54
+ $view = new WDSViewUninstall_wds($model);
55
+ $view->uninstall();
56
+ }
57
+ ////////////////////////////////////////////////////////////////////////////////////////
58
+ // Getters & Setters //
59
+ ////////////////////////////////////////////////////////////////////////////////////////
60
+ ////////////////////////////////////////////////////////////////////////////////////////
61
+ // Private Methods //
62
+ ////////////////////////////////////////////////////////////////////////////////////////
63
+ ////////////////////////////////////////////////////////////////////////////////////////
64
+ // Listeners //
65
+ ////////////////////////////////////////////////////////////////////////////////////////
66
  }
admin/controllers/WDSControllerWDSShortcode.php CHANGED
@@ -1,43 +1,43 @@
1
- <?php
2
-
3
- class WDSControllerWDSShortcode {
4
- ////////////////////////////////////////////////////////////////////////////////////////
5
- // Events //
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- // Constants //
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- // Variables //
12
- ////////////////////////////////////////////////////////////////////////////////////////
13
- ////////////////////////////////////////////////////////////////////////////////////////
14
- // Constructor & Destructor //
15
- ////////////////////////////////////////////////////////////////////////////////////////
16
- public function __construct() {
17
- }
18
- ////////////////////////////////////////////////////////////////////////////////////////
19
- // Public Methods //
20
- ////////////////////////////////////////////////////////////////////////////////////////
21
- public function execute() {
22
- $this->display();
23
- }
24
-
25
- public function display() {
26
- require_once WD_S_DIR . "/admin/models/WDSModelWDSShortcode.php";
27
- $model = new WDSModelWDSShortcode();
28
-
29
- require_once WD_S_DIR . "/admin/views/WDSViewWDSShortcode.php";
30
- $view = new WDSViewWDSShortcode($model);
31
- $view->display();
32
- }
33
-
34
- ////////////////////////////////////////////////////////////////////////////////////////
35
- // Getters & Setters //
36
- ////////////////////////////////////////////////////////////////////////////////////////
37
- ////////////////////////////////////////////////////////////////////////////////////////
38
- // Private Methods //
39
- ////////////////////////////////////////////////////////////////////////////////////////
40
- ////////////////////////////////////////////////////////////////////////////////////////
41
- // Listeners //
42
- ////////////////////////////////////////////////////////////////////////////////////////
43
  }
1
+ <?php
2
+
3
+ class WDSControllerWDSShortcode {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+ public function execute() {
22
+ $this->display();
23
+ }
24
+
25
+ public function display() {
26
+ require_once WD_S_DIR . "/admin/models/WDSModelWDSShortcode.php";
27
+ $model = new WDSModelWDSShortcode();
28
+
29
+ require_once WD_S_DIR . "/admin/views/WDSViewWDSShortcode.php";
30
+ $view = new WDSViewWDSShortcode($model);
31
+ $view->display();
32
+ }
33
+
34
+ ////////////////////////////////////////////////////////////////////////////////////////
35
+ // Getters & Setters //
36
+ ////////////////////////////////////////////////////////////////////////////////////////
37
+ ////////////////////////////////////////////////////////////////////////////////////////
38
+ // Private Methods //
39
+ ////////////////////////////////////////////////////////////////////////////////////////
40
+ ////////////////////////////////////////////////////////////////////////////////////////
41
+ // Listeners //
42
+ ////////////////////////////////////////////////////////////////////////////////////////
43
  }
admin/controllers/WDSControllerWidgetSlideshow.php CHANGED
@@ -1,61 +1,61 @@
1
- <?php
2
-
3
- class WDSControllerWidgetSlideshow 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' => 'wdslider',
21
- 'description' => 'Add Slider to Your widget area.'
22
- );
23
- // Widget Control Settings.
24
- $control_ops = array('id_base' => 'wdslider');
25
- // Create the widget.
26
- parent::__construct('wdslider', 'Slider WD', $widget_ops, $control_ops);
27
- require_once WD_S_DIR . "/admin/models/WDSModelWidgetSlideshow.php";
28
- $this->model = new WDSModelWidgetSlideshow();
29
-
30
- require_once WD_S_DIR . "/admin/views/WDSViewWidgetSlideshow.php";
31
- $this->view = new WDSViewWidgetSlideshow($this->model);
32
- }
33
- ////////////////////////////////////////////////////////////////////////////////////////
34
- // Public Methods //
35
- ////////////////////////////////////////////////////////////////////////////////////////
36
-
37
- public function widget($args, $instance) {
38
- $this->view->widget($args, $instance);
39
- }
40
-
41
- public function form($instance) {
42
- $this->view->form($instance, parent::get_field_id('title'), parent::get_field_name('title'), parent::get_field_id('id'), parent::get_field_name('id'));
43
- }
44
-
45
- // Update Settings.
46
- public function update($new_instance, $old_instance) {
47
- $instance['title'] = strip_tags($new_instance['title']);
48
- $instance['id'] = $new_instance['id'];
49
- return $instance;
50
- }
51
-
52
- ////////////////////////////////////////////////////////////////////////////////////////
53
- // Getters & Setters //
54
- ////////////////////////////////////////////////////////////////////////////////////////
55
- ////////////////////////////////////////////////////////////////////////////////////////
56
- // Private Methods //
57
- ////////////////////////////////////////////////////////////////////////////////////////
58
- ////////////////////////////////////////////////////////////////////////////////////////
59
- // Listeners //
60
- ////////////////////////////////////////////////////////////////////////////////////////
61
  }
1
+ <?php
2
+
3
+ class WDSControllerWidgetSlideshow 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' => 'wdslider',
21
+ 'description' => 'Add Slider to Your widget area.'
22
+ );
23
+ // Widget Control Settings.
24
+ $control_ops = array('id_base' => 'wdslider');
25
+ // Create the widget.
26
+ parent::__construct('wdslider', 'Slider WD', $widget_ops, $control_ops);
27
+ require_once WD_S_DIR . "/admin/models/WDSModelWidgetSlideshow.php";
28
+ $this->model = new WDSModelWidgetSlideshow();
29
+
30
+ require_once WD_S_DIR . "/admin/views/WDSViewWidgetSlideshow.php";
31
+ $this->view = new WDSViewWidgetSlideshow($this->model);
32
+ }
33
+ ////////////////////////////////////////////////////////////////////////////////////////
34
+ // Public Methods //
35
+ ////////////////////////////////////////////////////////////////////////////////////////
36
+
37
+ public function widget($args, $instance) {
38
+ $this->view->widget($args, $instance);
39
+ }
40
+
41
+ public function form($instance) {
42
+ $this->view->form($instance, parent::get_field_id('title'), parent::get_field_name('title'), parent::get_field_id('id'), parent::get_field_name('id'));
43
+ }
44
+
45
+ // Update Settings.
46
+ public function update($new_instance, $old_instance) {
47
+ $instance['title'] = strip_tags($new_instance['title']);
48
+ $instance['id'] = $new_instance['id'];
49
+ return $instance;
50
+ }
51
+
52
+ ////////////////////////////////////////////////////////////////////////////////////////
53
+ // Getters & Setters //
54
+ ////////////////////////////////////////////////////////////////////////////////////////
55
+ ////////////////////////////////////////////////////////////////////////////////////////
56
+ // Private Methods //
57
+ ////////////////////////////////////////////////////////////////////////////////////////
58
+ ////////////////////////////////////////////////////////////////////////////////////////
59
+ // Listeners //
60
+ ////////////////////////////////////////////////////////////////////////////////////////
61
  }
admin/models/WDSModelGoptions_wds.php CHANGED
@@ -1,3 +1,3 @@
1
- <?php
2
-
3
  class WDSModelGoptions_wds {}
1
+ <?php
2
+
3
  class WDSModelGoptions_wds {}
admin/models/WDSModelSliders_wds.php CHANGED
@@ -1,274 +1,274 @@
1
- <?php
2
-
3
- class WDSModelSliders_wds {
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_slides_count($slider_id) {
23
- global $wpdb;
24
- $count = $wpdb->get_var("SELECT COUNT(id) FROM " . $wpdb->prefix . "wdsslide WHERE slider_id='". $slider_id ."' AND image_url<>'' AND image_url NOT LIKE '%images/no-image.png%'");
25
- return $count;
26
- }
27
-
28
- public function get_slides_row_data($slider_id) {
29
- global $wpdb;
30
- $rows = $wpdb->get_results($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "wdsslide WHERE slider_id='%d' ORDER BY `order` ASC", $slider_id));
31
- if (!$rows) {
32
- $rows = array();
33
- $rows[0] = new stdClass();
34
- $rows[0]->id = 'pr1';
35
- $rows[0]->title = 'Slide 1';
36
- $rows[0]->type = 'image';
37
- $rows[0]->image_url = '';
38
- $rows[0]->thumb_url = '';
39
- $rows[0]->published = 1;
40
- $rows[0]->link = '';
41
- $rows[0]->order = 1;
42
- $rows[0]->target_attr_slide = 1;
43
- $rows[0]->att_width = 0;
44
- $rows[0]->att_height = 0;
45
- $rows[0]->youtube_rel_video = 0;
46
- $rows[0]->video_loop = 0;
47
- $rows[0]->video_duration = 0;
48
- }
49
- else {
50
- foreach ($rows as $row) {
51
- $row->image_url = $row->image_url ? str_replace('{site_url}', site_url(), $row->image_url) : WD_S_URL . '/images/no-image.png';
52
- $row->thumb_url = $row->thumb_url ? str_replace('{site_url}', site_url(), $row->thumb_url) : WD_S_URL . '/images/no-image.png';
53
- }
54
- }
55
- return $rows;
56
- }
57
-
58
- public function get_layers_row_data($slide_id) {
59
- global $wpdb;
60
- $rows = $wpdb->get_results($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "wdslayer WHERE slide_id='%d' ORDER BY `depth` ASC", $slide_id));
61
- foreach ($rows as $row) {
62
- $row->image_url = $row->image_url ? str_replace('{site_url}', site_url(), $row->image_url) : WD_S_URL . '/images/no-image.png';
63
- }
64
- return $rows;
65
- }
66
-
67
- public function get_slider_prev_img($slider_id) {
68
- global $wpdb;
69
- $slider = $wpdb->get_row($wpdb->prepare("SELECT `thumb_url`, `type` FROM " . $wpdb->prefix . "wdsslide WHERE slider_id='%d' ORDER BY `order` ASC", $slider_id));
70
- $preview_img_url = WD_S_URL . '/images/no-image.png';
71
- if ($slider) {
72
- $img_url = $slider->type == 'video' && ctype_digit($slider->thumb_url) ? (wp_get_attachment_url(get_post_thumbnail_id($slider->thumb_url)) ? wp_get_attachment_url(get_post_thumbnail_id($slider->thumb_url)) : WD_S_URL . '/images/no-video.png') : $slider->thumb_url;
73
- if ($img_url) {
74
- $preview_img_url = $img_url;
75
- $preview_img_url = str_replace('{site_url}', site_url(), $preview_img_url);
76
- }
77
- }
78
- return $preview_img_url;
79
- }
80
-
81
- public function get_rows_data() {
82
- global $wpdb;
83
- $where = ((isset($_POST['search_value'])) ? 'WHERE name LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
84
- $asc_or_desc = ((isset($_POST['asc_or_desc']) && esc_html($_POST['asc_or_desc']) == 'desc') ? 'desc' : 'asc');
85
- $order_by_arr = array('id', 'name', 'published');
86
- $order_by = ((isset($_POST['order_by']) && in_array(esc_html($_POST['order_by']), $order_by_arr)) ? esc_html($_POST['order_by']) : 'id');
87
- $order_by = ' ORDER BY `' . $order_by . '` ' . $asc_or_desc;
88
- if (isset($_POST['page_number']) && $_POST['page_number']) {
89
- $limit = ((int) $_POST['page_number'] - 1) * 20;
90
- }
91
- else {
92
- $limit = 0;
93
- }
94
- $query = "SELECT * FROM " . $wpdb->prefix . "wdsslider " . $where . $order_by . " LIMIT " . $limit . ",20";
95
- $rows = $wpdb->get_results($query);
96
- return $rows;
97
- }
98
-
99
- public function get_row_data($id, $reset) {
100
- global $wpdb;
101
- if ($id != 0 && !$reset) {
102
- $row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wdsslider WHERE id="%d"', $id));
103
- if ($row) {
104
- $row->enable_bullets = $row->bull_position == 'none' ? 0 : 1;
105
- $row->enable_filmstrip = $row->film_pos == 'none' ? 0 : 1;
106
- $row->enable_time_bar = $row->timer_bar_type == 'none' ? 0 : 1;
107
- $row->music_url = str_replace('{site_url}', site_url(), $row->music_url);
108
- $row->built_in_watermark_url = str_replace('{site_url}', site_url(), $row->built_in_watermark_url);
109
- $row->right_butt_url = str_replace('{site_url}', site_url(), $row->right_butt_url);
110
- $row->left_butt_url = str_replace('{site_url}', site_url(), $row->left_butt_url);
111
- $row->right_butt_hov_url = str_replace('{site_url}', site_url(), $row->right_butt_hov_url);
112
- $row->left_butt_hov_url = str_replace('{site_url}', site_url(), $row->left_butt_hov_url);
113
- $row->bullets_img_main_url = str_replace('{site_url}', site_url(), $row->bullets_img_main_url);
114
- $row->bullets_img_hov_url = str_replace('{site_url}', site_url(), $row->bullets_img_hov_url);
115
- $row->play_butt_url = str_replace('{site_url}', site_url(), $row->play_butt_url);
116
- $row->play_butt_hov_url = str_replace('{site_url}', site_url(), $row->play_butt_hov_url);
117
- $row->paus_butt_url = str_replace('{site_url}', site_url(), $row->paus_butt_url);
118
- $row->paus_butt_hov_url = str_replace('{site_url}', site_url(), $row->paus_butt_hov_url);
119
- }
120
- }
121
- else {
122
- $row = new stdClass();
123
- if ($reset && $id) {
124
- $row = $wpdb->get_row($wpdb->prepare('SELECT name FROM ' . $wpdb->prefix . 'wdsslider WHERE id="%d"', $id));
125
- }
126
- else {
127
- $row->name = '';
128
- }
129
- $row->id = $id;
130
- $row->width = 800;
131
- $row->height = 300;
132
- $row->full_width = 0;
133
- $row->bg_fit = 'cover';
134
- $row->align = 'center';
135
- $row->effect = 'fade';
136
- $row->published = 1;
137
- $row->time_intervval = 5;
138
- $row->autoplay = 1;
139
- $row->shuffle = 0;
140
- $row->music = 0;
141
- $row->music_url = '';
142
- $row->preload_images = 1;
143
- $row->background_color = '000000';
144
- $row->background_transparent = 100;
145
- $row->glb_border_width = 0;
146
- $row->glb_border_style = 'none';
147
- $row->glb_border_color = '000000';
148
- $row->glb_border_radius = '';
149
- $row->glb_margin = 0;
150
- $row->glb_box_shadow = '';
151
- $row->image_right_click = 0;
152
- $row->layer_out_next = 0;
153
- $row->prev_next_butt = 1;
154
- $row->play_paus_butt = 0;
155
- $row->navigation = 'hover';
156
- $row->rl_butt_style = 'fa-angle';
157
- $row->rl_butt_size = 40;
158
- $row->pp_butt_size = 40;
159
- $row->butts_color = '000000';
160
- $row->hover_color = '000000';
161
- $row->nav_border_width = 0;
162
- $row->nav_border_style = 'none';
163
- $row->nav_border_color = 'FFFFFF';
164
- $row->nav_border_radius = '20px';
165
- $row->nav_bg_color = 'FFFFFF';
166
- $row->butts_transparent = 100;
167
- $row->enable_bullets = 1;
168
- $row->bull_position = 'bottom';
169
- $row->bull_style = 'fa-square-o';
170
- $row->bull_size = 20;
171
- $row->bull_color = 'FFFFFF';
172
- $row->bull_act_color = 'FFFFFF';
173
- $row->bull_margin = 3;
174
- $row->enable_filmstrip = 0;
175
- $row->film_pos = 'none';
176
- $row->film_thumb_width = 100;
177
- $row->film_thumb_height = 50;
178
- $row->film_bg_color = '000000';
179
- $row->film_tmb_margin = 0;
180
- $row->film_act_border_width = 0;
181
- $row->film_act_border_style = 'none';
182
- $row->film_act_border_color = 'FFFFFF';
183
- $row->film_dac_transparent = 50;
184
- $row->enable_time_bar = 1;
185
- $row->timer_bar_type = 'top';
186
- $row->timer_bar_size = 5;
187
- $row->timer_bar_color = 'BBBBBB';
188
- $row->timer_bar_transparent = 50;
189
- $row->built_in_watermark_type = 'none';
190
- $row->built_in_watermark_position = 'middle-center';
191
- $row->built_in_watermark_size = 15;
192
- $row->built_in_watermark_url = WD_S_URL . '/images/watermark.png';
193
- $row->built_in_watermark_text = 'web-dorado.com';
194
- $row->built_in_watermark_font_size = 20;
195
- $row->built_in_watermark_font = '';
196
- $row->built_in_watermark_color = 'FFFFFF';
197
- $row->built_in_watermark_opacity = 70;
198
- $row->stop_animation = 0;
199
- $row->css = '';
200
- $row->right_butt_url = WD_S_URL . '/images/arrow/arrow11/1/2.png';
201
- $row->left_butt_url = WD_S_URL . '/images/arrow/arrow11/1/1.png';
202
- $row->right_butt_hov_url = WD_S_URL . '/images/arrow/arrow11/1/4.png';
203
- $row->left_butt_hov_url = WD_S_URL . '/images/arrow/arrow11/1/3.png';
204
- $row->rl_butt_img_or_not = 'style';
205
- $row->bullets_img_main_url = WD_S_URL . '/images/bullet/bullet1/1/1.png';
206
- $row->bullets_img_hov_url = WD_S_URL . '/images/bullet/bullet1/1/2.png';
207
- $row->bull_butt_img_or_not = 'style';
208
- $row->play_paus_butt_img_or_not = 'style';
209
- $row->play_butt_url = WD_S_URL . '/images/button/button4/1/1.png';
210
- $row->play_butt_hov_url = WD_S_URL . '/images/button/button4/1/2.png';
211
- $row->paus_butt_url = WD_S_URL . '/images/button/button4/1/3.png';
212
- $row->paus_butt_hov_url = WD_S_URL . '/images/button/button4/1/4.png';
213
- $row->start_slide_num = 1;
214
- $row->effect_duration = 800;
215
- $row->carousel = 0;
216
- $row->carousel_image_counts = 7;
217
- $row->carousel_image_parameters = 0.85;
218
- $row->carousel_fit_containerWidth = 0;
219
- $row->carousel_width = 1000;
220
- $row->parallax_effect = 0;
221
- $row->mouse_swipe_nav = 0;
222
- $row->bull_hover = 1;
223
- $row->touch_swipe_nav = 1;
224
- $row->mouse_wheel_nav = 0;
225
- $row->keyboard_nav = 0;
226
- $row->possib_add_ffamily = '';
227
- $row->show_thumbnail = 0;
228
- $row->thumb_size = '0.3';
229
- $row->fixed_bg = 0;
230
- $row->smart_crop = 0;
231
- $row->crop_image_position = 'center center';
232
- $row->javascript = '';
233
- $row->carousel_degree = 0;
234
- $row->carousel_grayscale = 0;
235
- $row->carousel_transparency = 0;
236
- $row->bull_back_act_color = '000000';
237
- $row->bull_back_color = 'CCCCCC';
238
- $row->bull_radius = '20px';
239
- $row->possib_add_google_fonts = 0;
240
- $row->possib_add_ffamily_google = '';
241
- $row->slider_loop = 1;
242
- $row->hide_on_mobile = 0;
243
- $row->twoway_slideshow = 0;
244
- $row->full_width_for_mobile = 0;
245
- $row->order_dir = 'asc';
246
- }
247
- return $row;
248
- }
249
-
250
- public function page_nav() {
251
- global $wpdb;
252
- $where = ((isset($_POST['search_value']) && (esc_html(stripslashes($_POST['search_value'])) != '')) ? 'WHERE name LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
253
- $total = $wpdb->get_var("SELECT COUNT(*) FROM " . $wpdb->prefix . "wdsslider " . $where);
254
- $page_nav['total'] = $total;
255
- if (isset($_POST['page_number']) && $_POST['page_number']) {
256
- $limit = ((int) $_POST['page_number'] - 1) * 20;
257
- }
258
- else {
259
- $limit = 0;
260
- }
261
- $page_nav['limit'] = (int) ($limit / 20 + 1);
262
- return $page_nav;
263
- }
264
-
265
- ////////////////////////////////////////////////////////////////////////////////////////
266
- // Getters & Setters //
267
- ////////////////////////////////////////////////////////////////////////////////////////
268
- ////////////////////////////////////////////////////////////////////////////////////////
269
- // Private Methods //
270
- ////////////////////////////////////////////////////////////////////////////////////////
271
- ////////////////////////////////////////////////////////////////////////////////////////
272
- // Listeners //
273
- ////////////////////////////////////////////////////////////////////////////////////////
274
  }
1
+ <?php
2
+
3
+ class WDSModelSliders_wds {
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_slides_count($slider_id) {
23
+ global $wpdb;
24
+ $count = $wpdb->get_var("SELECT COUNT(id) FROM " . $wpdb->prefix . "wdsslide WHERE slider_id='". $slider_id ."' AND image_url<>'' AND image_url NOT LIKE '%images/no-image.png%'");
25
+ return $count;
26
+ }
27
+
28
+ public function get_slides_row_data($slider_id) {
29
+ global $wpdb;
30
+ $rows = $wpdb->get_results($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "wdsslide WHERE slider_id='%d' ORDER BY `order` ASC", $slider_id));
31
+ if (!$rows) {
32
+ $rows = array();
33
+ $rows[0] = new stdClass();
34
+ $rows[0]->id = 'pr1';
35
+ $rows[0]->title = 'Slide 1';
36
+ $rows[0]->type = 'image';
37
+ $rows[0]->image_url = '';
38
+ $rows[0]->thumb_url = '';
39
+ $rows[0]->published = 1;
40
+ $rows[0]->link = '';
41
+ $rows[0]->order = 1;
42
+ $rows[0]->target_attr_slide = 1;
43
+ $rows[0]->att_width = 0;
44
+ $rows[0]->att_height = 0;
45
+ $rows[0]->youtube_rel_video = 0;
46
+ $rows[0]->video_loop = 0;
47
+ $rows[0]->video_duration = 0;
48
+ }
49
+ else {
50
+ foreach ($rows as $row) {
51
+ $row->image_url = $row->image_url ? str_replace('{site_url}', site_url(), $row->image_url) : WD_S_URL . '/images/no-image.png';
52
+ $row->thumb_url = $row->thumb_url ? str_replace('{site_url}', site_url(), $row->thumb_url) : WD_S_URL . '/images/no-image.png';
53
+ }
54
+ }
55
+ return $rows;
56
+ }
57
+
58
+ public function get_layers_row_data($slide_id) {
59
+ global $wpdb;
60
+ $rows = $wpdb->get_results($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "wdslayer WHERE slide_id='%d' ORDER BY `depth` ASC", $slide_id));
61
+ foreach ($rows as $row) {
62
+ $row->image_url = $row->image_url ? str_replace('{site_url}', site_url(), $row->image_url) : WD_S_URL . '/images/no-image.png';
63
+ }
64
+ return $rows;
65
+ }
66
+
67
+ public function get_slider_prev_img($slider_id) {
68
+ global $wpdb;
69
+ $slider = $wpdb->get_row($wpdb->prepare("SELECT `thumb_url`, `type` FROM " . $wpdb->prefix . "wdsslide WHERE slider_id='%d' ORDER BY `order` ASC", $slider_id));
70
+ $preview_img_url = WD_S_URL . '/images/no-image.png';
71
+ if ($slider) {
72
+ $img_url = $slider->type == 'video' && ctype_digit($slider->thumb_url) ? (wp_get_attachment_url(get_post_thumbnail_id($slider->thumb_url)) ? wp_get_attachment_url(get_post_thumbnail_id($slider->thumb_url)) : WD_S_URL . '/images/no-video.png') : $slider->thumb_url;
73
+ if ($img_url) {
74
+ $preview_img_url = $img_url;
75
+ $preview_img_url = str_replace('{site_url}', site_url(), $preview_img_url);
76
+ }
77
+ }
78
+ return $preview_img_url;
79
+ }
80
+
81
+ public function get_rows_data() {
82
+ global $wpdb;
83
+ $where = ((isset($_POST['search_value'])) ? 'WHERE name LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
84
+ $asc_or_desc = ((isset($_POST['asc_or_desc']) && esc_html($_POST['asc_or_desc']) == 'desc') ? 'desc' : 'asc');
85
+ $order_by_arr = array('id', 'name', 'published');
86
+ $order_by = ((isset($_POST['order_by']) && in_array(esc_html($_POST['order_by']), $order_by_arr)) ? esc_html($_POST['order_by']) : 'id');
87
+ $order_by = ' ORDER BY `' . $order_by . '` ' . $asc_or_desc;
88
+ if (isset($_POST['page_number']) && $_POST['page_number']) {
89
+ $limit = ((int) $_POST['page_number'] - 1) * 20;
90
+ }
91
+ else {
92
+ $limit = 0;
93
+ }
94
+ $query = "SELECT * FROM " . $wpdb->prefix . "wdsslider " . $where . $order_by . " LIMIT " . $limit . ",20";
95
+ $rows = $wpdb->get_results($query);
96
+ return $rows;
97
+ }
98
+
99
+ public function get_row_data($id, $reset) {
100
+ global $wpdb;
101
+ if ($id != 0 && !$reset) {
102
+ $row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'wdsslider WHERE id="%d"', $id));
103
+ if ($row) {
104
+ $row->enable_bullets = $row->bull_position == 'none' ? 0 : 1;
105
+ $row->enable_filmstrip = $row->film_pos == 'none' ? 0 : 1;
106
+ $row->enable_time_bar = $row->timer_bar_type == 'none' ? 0 : 1;
107
+ $row->music_url = str_replace('{site_url}', site_url(), $row->music_url);
108
+ $row->built_in_watermark_url = str_replace('{site_url}', site_url(), $row->built_in_watermark_url);
109
+ $row->right_butt_url = str_replace('{site_url}', site_url(), $row->right_butt_url);
110
+ $row->left_butt_url = str_replace('{site_url}', site_url(), $row->left_butt_url);
111
+ $row->right_butt_hov_url = str_replace('{site_url}', site_url(), $row->right_butt_hov_url);
112
+ $row->left_butt_hov_url = str_replace('{site_url}', site_url(), $row->left_butt_hov_url);
113
+ $row->bullets_img_main_url = str_replace('{site_url}', site_url(), $row->bullets_img_main_url);
114
+ $row->bullets_img_hov_url = str_replace('{site_url}', site_url(), $row->bullets_img_hov_url);
115
+ $row->play_butt_url = str_replace('{site_url}', site_url(), $row->play_butt_url);
116
+ $row->play_butt_hov_url = str_replace('{site_url}', site_url(), $row->play_butt_hov_url);
117
+ $row->paus_butt_url = str_replace('{site_url}', site_url(), $row->paus_butt_url);
118
+ $row->paus_butt_hov_url = str_replace('{site_url}', site_url(), $row->paus_butt_hov_url);
119
+ }
120
+ }
121
+ else {
122
+ $row = new stdClass();
123
+ if ($reset && $id) {
124
+ $row = $wpdb->get_row($wpdb->prepare('SELECT name FROM ' . $wpdb->prefix . 'wdsslider WHERE id="%d"', $id));
125
+ }
126
+ else {
127
+ $row->name = '';
128
+ }
129
+ $row->id = $id;
130
+ $row->width = 800;
131
+ $row->height = 300;
132
+ $row->full_width = 0;
133
+ $row->bg_fit = 'cover';
134
+ $row->align = 'center';
135
+ $row->effect = 'fade';
136
+ $row->published = 1;
137
+ $row->time_intervval = 5;
138
+ $row->autoplay = 1;
139
+ $row->shuffle = 0;
140
+ $row->music = 0;
141
+ $row->music_url = '';
142
+ $row->preload_images = 1;
143
+ $row->background_color = '000000';
144
+ $row->background_transparent = 100;
145
+ $row->glb_border_width = 0;
146
+ $row->glb_border_style = 'none';
147
+ $row->glb_border_color = '000000';
148
+ $row->glb_border_radius = '';
149
+ $row->glb_margin = 0;
150
+ $row->glb_box_shadow = '';
151
+ $row->image_right_click = 0;
152
+ $row->layer_out_next = 0;
153
+ $row->prev_next_butt = 1;
154
+ $row->play_paus_butt = 0;
155
+ $row->navigation = 'hover';
156
+ $row->rl_butt_style = 'fa-angle';
157
+ $row->rl_butt_size = 40;
158
+ $row->pp_butt_size = 40;
159
+ $row->butts_color = '000000';
160
+ $row->hover_color = '000000';
161
+ $row->nav_border_width = 0;
162
+ $row->nav_border_style = 'none';
163
+ $row->nav_border_color = 'FFFFFF';
164
+ $row->nav_border_radius = '20px';
165
+ $row->nav_bg_color = 'FFFFFF';
166
+ $row->butts_transparent = 100;
167
+ $row->enable_bullets = 1;
168
+ $row->bull_position = 'bottom';
169
+ $row->bull_style = 'fa-square-o';
170
+ $row->bull_size = 20;
171
+ $row->bull_color = 'FFFFFF';
172
+ $row->bull_act_color = 'FFFFFF';
173
+ $row->bull_margin = 3;
174
+ $row->enable_filmstrip = 0;
175
+ $row->film_pos = 'none';
176
+ $row->film_thumb_width = 100;
177
+ $row->film_thumb_height = 50;
178
+ $row->film_bg_color = '000000';
179
+ $row->film_tmb_margin = 0;
180
+ $row->film_act_border_width = 0;
181
+ $row->film_act_border_style = 'none';
182
+ $row->film_act_border_color = 'FFFFFF';
183
+ $row->film_dac_transparent = 50;
184
+ $row->enable_time_bar = 1;
185
+ $row->timer_bar_type = 'top';
186
+ $row->timer_bar_size = 5;
187
+ $row->timer_bar_color = 'BBBBBB';
188
+ $row->timer_bar_transparent = 50;
189
+ $row->built_in_watermark_type = 'none';
190
+ $row->built_in_watermark_position = 'middle-center';
191
+ $row->built_in_watermark_size = 15;
192
+ $row->built_in_watermark_url = WD_S_URL . '/images/watermark.png';
193
+ $row->built_in_watermark_text = 'web-dorado.com';
194
+ $row->built_in_watermark_font_size = 20;
195
+ $row->built_in_watermark_font = '';
196
+ $row->built_in_watermark_color = 'FFFFFF';
197
+ $row->built_in_watermark_opacity = 70;
198
+ $row->stop_animation = 0;
199
+ $row->css = '';
200
+ $row->right_butt_url = WD_S_URL . '/images/arrow/arrow11/1/2.png';
201
+ $row->left_butt_url = WD_S_URL . '/images/arrow/arrow11/1/1.png';
202
+ $row->right_butt_hov_url = WD_S_URL . '/images/arrow/arrow11/1/4.png';
203
+ $row->left_butt_hov_url = WD_S_URL . '/images/arrow/arrow11/1/3.png';
204
+ $row->rl_butt_img_or_not = 'style';
205
+ $row->bullets_img_main_url = WD_S_URL . '/images/bullet/bullet1/1/1.png';
206
+ $row->bullets_img_hov_url = WD_S_URL . '/images/bullet/bullet1/1/2.png';
207
+ $row->bull_butt_img_or_not = 'style';
208
+ $row->play_paus_butt_img_or_not = 'style';
209
+ $row->play_butt_url = WD_S_URL . '/images/button/button4/1/1.png';
210
+ $row->play_butt_hov_url = WD_S_URL . '/images/button/button4/1/2.png';
211
+ $row->paus_butt_url = WD_S_URL . '/images/button/button4/1/3.png';
212
+ $row->paus_butt_hov_url = WD_S_URL . '/images/button/button4/1/4.png';
213
+ $row->start_slide_num = 1;
214
+ $row->effect_duration = 800;
215
+ $row->carousel = 0;
216
+ $row->carousel_image_counts = 7;
217
+ $row->carousel_image_parameters = 0.85;
218
+ $row->carousel_fit_containerWidth = 0;
219
+ $row->carousel_width = 1000;
220
+ $row->parallax_effect = 0;
221
+ $row->mouse_swipe_nav = 0;
222
+ $row->bull_hover = 1;
223
+ $row->touch_swipe_nav = 1;
224
+ $row->mouse_wheel_nav = 0;
225
+ $row->keyboard_nav = 0;
226
+ $row->possib_add_ffamily = '';
227
+ $row->show_thumbnail = 0;
228
+ $row->thumb_size = '0.3';
229
+ $row->fixed_bg = 0;
230
+ $row->smart_crop = 0;
231
+ $row->crop_image_position = 'center center';
232
+ $row->javascript = '';
233
+ $row->carousel_degree = 0;
234
+ $row->carousel_grayscale = 0;
235
+ $row->carousel_transparency = 0;
236
+ $row->bull_back_act_color = '000000';
237
+ $row->bull_back_color = 'CCCCCC';
238
+ $row->bull_radius = '20px';
239
+ $row->possib_add_google_fonts = 0;
240
+ $row->possib_add_ffamily_google = '';
241
+ $row->slider_loop = 1;
242
+ $row->hide_on_mobile = 0;
243
+ $row->twoway_slideshow = 0;
244
+ $row->full_width_for_mobile = 0;
245
+ $row->order_dir = 'asc';
246
+ }
247
+ return $row;
248
+ }
249
+
250
+ public function page_nav() {
251
+ global $wpdb;
252
+ $where = ((isset($_POST['search_value']) && (esc_html(stripslashes($_POST['search_value'])) != '')) ? 'WHERE name LIKE "%' . esc_html(stripslashes($_POST['search_value'])) . '%"' : '');
253
+ $total = $wpdb->get_var("SELECT COUNT(*) FROM " . $wpdb->prefix . "wdsslider " . $where);
254
+ $page_nav['total'] = $total;
255
+ if (isset($_POST['page_number']) && $_POST['page_number']) {
256
+ $limit = ((int) $_POST['page_number'] - 1) * 20;
257
+ }
258
+ else {
259
+ $limit = 0;
260
+ }
261
+ $page_nav['limit'] = (int) ($limit / 20 + 1);
262
+ return $page_nav;
263
+ }
264
+
265
+ ////////////////////////////////////////////////////////////////////////////////////////
266
+ // Getters & Setters //
267
+ ////////////////////////////////////////////////////////////////////////////////////////
268
+ ////////////////////////////////////////////////////////////////////////////////////////
269
+ // Private Methods //
270
+ ////////////////////////////////////////////////////////////////////////////////////////
271
+ ////////////////////////////////////////////////////////////////////////////////////////
272
+ // Listeners //
273
+ ////////////////////////////////////////////////////////////////////////////////////////
274
  }
admin/models/WDSModelUninstall_wds.php CHANGED
@@ -1,41 +1,18 @@
1
- <?php
2
-
3
- class WDSModelUninstall_wds {
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 . "wdsslider");
24
- $wpdb->query("DROP TABLE " . $wpdb->prefix . "wdsslide");
25
- $wpdb->query("DROP TABLE " . $wpdb->prefix . "wdslayer");
26
-
27
- delete_option("wds_version");
28
- delete_option("wds_theme_version");
29
- delete_option("wds_global_options");
30
- delete_option("wds_subscribe_done");
31
- }
32
- ////////////////////////////////////////////////////////////////////////////////////////
33
- // Getters & Setters //
34
- ////////////////////////////////////////////////////////////////////////////////////////
35
- ////////////////////////////////////////////////////////////////////////////////////////
36
- // Private Methods //
37
- ////////////////////////////////////////////////////////////////////////////////////////
38
- ////////////////////////////////////////////////////////////////////////////////////////
39
- // Listeners //
40
- ////////////////////////////////////////////////////////////////////////////////////////
41
  }
1
+ <?php
2
+
3
+ class WDSModelUninstall_wds {
4
+ public function __construct() {
5
+ }
6
+ public function delete_db_tables() {
7
+ global $wpdb;
8
+ $wpdb->query("DROP TABLE " . $wpdb->prefix . "wdsslider");
9
+ $wpdb->query("DROP TABLE " . $wpdb->prefix . "wdsslide");
10
+ $wpdb->query("DROP TABLE " . $wpdb->prefix . "wdslayer");
11
+
12
+ delete_option("wds_version");
13
+ delete_option("wds_theme_version");
14
+ delete_option("wds_global_options");
15
+ delete_option("wds_subscribe_done");
16
+ delete_option('wds_bk_notice_status');
17
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  }
admin/models/WDSModelWDSShortcode.php CHANGED
@@ -1,37 +1,37 @@
1
- <?php
2
-
3
- class WDSModelWDSShortcode {
4
- ////////////////////////////////////////////////////////////////////////////////////////
5
- // Events //
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- // Constants //
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- // Variables //
12
- ////////////////////////////////////////////////////////////////////////////////////////
13
- ////////////////////////////////////////////////////////////////////////////////////////
14
- // Constructor & Destructor //
15
- ////////////////////////////////////////////////////////////////////////////////////////
16
- public function __construct() {
17
- }
18
- ////////////////////////////////////////////////////////////////////////////////////////
19
- // Public Methods //
20
- ////////////////////////////////////////////////////////////////////////////////////////
21
-
22
- public function get_row_data() {
23
- global $wpdb;
24
- $row = $wpdb->get_results("SELECT id, name FROM " . $wpdb->prefix . "wdsslider ORDER BY `name` ASC");
25
- return $row;
26
- }
27
-
28
- ////////////////////////////////////////////////////////////////////////////////////////
29
- // Getters & Setters //
30
- ////////////////////////////////////////////////////////////////////////////////////////
31
- ////////////////////////////////////////////////////////////////////////////////////////
32
- // Private Methods //
33
- ////////////////////////////////////////////////////////////////////////////////////////
34
- ////////////////////////////////////////////////////////////////////////////////////////
35
- // Listeners //
36
- ////////////////////////////////////////////////////////////////////////////////////////
37
  }
1
+ <?php
2
+
3
+ class WDSModelWDSShortcode {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ ////////////////////////////////////////////////////////////////////////////////////////
14
+ // Constructor & Destructor //
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ public function __construct() {
17
+ }
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ // Public Methods //
20
+ ////////////////////////////////////////////////////////////////////////////////////////
21
+
22
+ public function get_row_data() {
23
+ global $wpdb;
24
+ $row = $wpdb->get_results("SELECT id, name FROM " . $wpdb->prefix . "wdsslider ORDER BY `name` ASC");
25
+ return $row;
26
+ }
27
+
28
+ ////////////////////////////////////////////////////////////////////////////////////////
29
+ // Getters & Setters //
30
+ ////////////////////////////////////////////////////////////////////////////////////////
31
+ ////////////////////////////////////////////////////////////////////////////////////////
32
+ // Private Methods //
33
+ ////////////////////////////////////////////////////////////////////////////////////////
34
+ ////////////////////////////////////////////////////////////////////////////////////////
35
+ // Listeners //
36
+ ////////////////////////////////////////////////////////////////////////////////////////
37
  }
admin/models/WDSModelWidgetSlideshow.php CHANGED
@@ -1,37 +1,37 @@
1
- <?php
2
-
3
- class WDSModelWidgetSlideshow {
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_slider_rows_data() {
23
- global $wpdb;
24
- $rows = $wpdb->get_results("SELECT * FROM " . $wpdb->prefix . "wdsslider WHERE published=1");
25
- return $rows;
26
- }
27
-
28
- ////////////////////////////////////////////////////////////////////////////////////////
29
- // Getters & Setters //
30
- ////////////////////////////////////////////////////////////////////////////////////////
31
- ////////////////////////////////////////////////////////////////////////////////////////
32
- // Private Methods //
33
- ////////////////////////////////////////////////////////////////////////////////////////
34
- ////////////////////////////////////////////////////////////////////////////////////////
35
- // Listeners //
36
- ////////////////////////////////////////////////////////////////////////////////////////
37
  }
1
+ <?php
2
+
3
+ class WDSModelWidgetSlideshow {
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_slider_rows_data() {
23
+ global $wpdb;
24
+ $rows = $wpdb->get_results("SELECT * FROM " . $wpdb->prefix . "wdsslider WHERE published=1");
25
+ return $rows;
26
+ }
27
+
28
+ ////////////////////////////////////////////////////////////////////////////////////////
29
+ // Getters & Setters //
30
+ ////////////////////////////////////////////////////////////////////////////////////////
31
+ ////////////////////////////////////////////////////////////////////////////////////////
32
+ // Private Methods //
33
+ ////////////////////////////////////////////////////////////////////////////////////////
34
+ ////////////////////////////////////////////////////////////////////////////////////////
35
+ // Listeners //
36
+ ////////////////////////////////////////////////////////////////////////////////////////
37
  }
admin/views/WDSViewGoptions_wds.php CHANGED
@@ -1,328 +1,328 @@
1
- <?php
2
-
3
- class WDSViewGoptions_wds {
4
- ////////////////////////////////////////////////////////////////////////////////////////
5
- // Events //
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- // Constants //
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- // Variables //
12
- ////////////////////////////////////////////////////////////////////////////////////////
13
- private $model;
14
-
15
- ////////////////////////////////////////////////////////////////////////////////////////
16
- // Constructor & Destructor //
17
- ////////////////////////////////////////////////////////////////////////////////////////
18
- public function __construct($model) {
19
- $this->model = $model;
20
- }
21
- ////////////////////////////////////////////////////////////////////////////////////////
22
- // Public Methods //
23
- ////////////////////////////////////////////////////////////////////////////////////////
24
-
25
- public function display() {
26
- $default_layer_fweights = array(
27
- 'lighter' => __('Lighter', 'wds'),
28
- 'normal' => __('Normal', 'wds'),
29
- 'bold' => __('Bold', 'wds'),
30
- );
31
- $default_layer_effects_in = array(
32
- 'none' => __('None', 'wds'),
33
- 'bounce' => __('Bounce', 'wds'),
34
- 'flash' => __('Flash', 'wds'),
35
- 'pulse' => __('Pulse', 'wds'),
36
- 'rubberBand' => __('RubberBand', 'wds'),
37
- 'shake' => __('Shake', 'wds'),
38
- 'swing' => __('Swing', 'wds'),
39
- 'tada' => __('Tada', 'wds'),
40
- 'wobble' => __('Wobble', 'wds'),
41
- 'hinge' => __('Hinge', 'wds'),
42
- 'lightSpeedIn' => __('LightSpeedIn', 'wds'),
43
- 'rollIn' => __('RollIn', 'wds'),
44
- 'bounceIn' => __('BounceIn', 'wds'),
45
- 'bounceInDown' => __('BounceInDown', 'wds'),
46
- 'bounceInLeft' => __('BounceInLeft', 'wds'),
47
- 'bounceInRight' => __('BounceInRight', 'wds'),
48
- 'bounceInUp' => __('BounceInUp', 'wds'),
49
- 'fadeIn' => __('FadeIn', 'wds'),
50
- 'fadeInDown' => __('FadeInDown', 'wds'),
51
- 'fadeInDownBig' => __('FadeInDownBig', 'wds'),
52
- 'fadeInLeft' => __('FadeInLeft', 'wds'),
53
- 'fadeInLeftBig' => __('FadeInLeftBig', 'wds'),
54
- 'fadeInRight' => __('FadeInRight', 'wds'),
55
- 'fadeInRightBig' => __('FadeInRightBig', 'wds'),
56
- 'fadeInUp' => __('FadeInUp', 'wds'),
57
- 'fadeInUpBig' => __('FadeInUpBig', 'wds'),
58
- 'flip' => __('Flip', 'wds'),
59
- 'flipInX' => __('FlipInX', 'wds'),
60
- 'flipInY' => __('FlipInY', 'wds'),
61
- 'rotateIn' => __('RotateIn', 'wds'),
62
- 'rotateInDownLeft' => __('RotateInDownLeft', 'wds'),
63
- 'rotateInDownRight' => __('RotateInDownRight', 'wds'),
64
- 'rotateInUpLeft' => __('RotateInUpLeft', 'wds'),
65
- 'rotateInUpRight' => __('RotateInUpRight', 'wds'),
66
- 'zoomIn' => __('ZoomIn', 'wds'),
67
- 'zoomInDown' => __('ZoomInDown', 'wds'),
68
- 'zoomInLeft' => __('ZoomInLeft', 'wds'),
69
- 'zoomInRight' => __('ZoomInRight', 'wds'),
70
- 'zoomInUp' => __('ZoomInUp', 'wds'),
71
- );
72
- $default_layer_effects_out = array(
73
- 'none' => __('None', 'wds'),
74
- 'bounce' => __('Bounce', 'wds'),
75
- 'flash' => __('Flash', 'wds'),
76
- 'pulse' => __('Pulse', 'wds'),
77
- 'rubberBand' => __('RubberBand', 'wds'),
78
- 'shake' => __('Shake', 'wds'),
79
- 'swing' => __('Swing', 'wds'),
80
- 'tada' => __('Tada', 'wds'),
81
- 'wobble' => __('Wobble', 'wds'),
82
- 'hinge' => __('Hinge', 'wds'),
83
- 'lightSpeedOut' => __('LightSpeedOut', 'wds'),
84
- 'rollOut' => __('RollOut', 'wds'),
85
- 'bounceOut' => __('BounceOut', 'wds'),
86
- 'bounceOutDown' => __('BounceOutDown', 'wds'),
87
- 'bounceOutLeft' => __('BounceOutLeft', 'wds'),
88
- 'bounceOutRight' => __('BounceOutRight', 'wds'),
89
- 'bounceOutUp' => __('BounceOutUp', 'wds'),
90
- 'fadeOut' => __('FadeOut', 'wds'),
91
- 'fadeOutDown' => __('FadeOutDown', 'wds'),
92
- 'fadeOutDownBig' => __('FadeOutDownBig', 'wds'),
93
- 'fadeOutLeft' => __('FadeOutLeft', 'wds'),
94
- 'fadeOutLeftBig' => __('FadeOutLeftBig', 'wds'),
95
- 'fadeOutRight' => __('FadeOutRight', 'wds'),
96
- 'fadeOutRightBig' => __('FadeOutRightBig', 'wds'),
97
- 'fadeOutUp' => __('FadeOutUp', 'wds'),
98
- 'fadeOutUpBig' => __('FadeOutUpBig', 'wds'),
99
- 'flip' => __('Flip', 'wds'),
100
- 'flipOutX' => __('FlipOutX', 'wds'),
101
- 'flipOutY' => __('FlipOutY', 'wds'),
102
- 'rotateOut' => __('RubberBand', 'wds'),
103
- 'rotateOutDownLeft' => __('RotateOutDownLeft', 'wds'),
104
- 'rotateOutDownRight' => __('RotateOutDownRight', 'wds'),
105
- 'rotateOutUpLeft' => __('RotateOutUpLeft', 'wds'),
106
- 'rotateOutUpRight' => __('RotateOutUpRight', 'wds'),
107
- 'zoomOut' => __('ZoomOut', 'wds'),
108
- 'zoomOutDown' => __('ZoomOutDown', 'wds'),
109
- 'zoomOutLeft' => __('ZoomOutLeft', 'wds'),
110
- 'zoomOutRight' => __('ZoomOutRight', 'wds'),
111
- 'zoomOutUp' => __('ZoomOutUp', 'wds'),
112
- );
113
- $font_families = WDW_S_Library::get_font_families();
114
- $google_fonts = WDW_S_Library::get_google_fonts();
115
- $loading_gifs = array(
116
- 0 => __('Loading default', 'wds'),
117
- 1 => __('Loading1', 'wds'),
118
- 2 => __('Loading2', 'wds'),
119
- 3 => __('Loading3', 'wds'),
120
- 4 => __('Loading4', 'wds'),
121
- 5 => __('Loading5', 'wds'),
122
- );
123
-
124
- $wds_global_options = get_option("wds_global_options", 0);
125
- $global_options = json_decode($wds_global_options);
126
- if ( !$wds_global_options ) {
127
- $global_options = (object) wds_global_options_defults();
128
- $global_options->loading_gif = get_option("wds_loading_gif", 0);
129
- $global_options->register_scripts = get_option("wds_register_scripts", 0);
130
- }
131
-
132
- ?>
133
- <div class="clear"></div>
134
- <form class="wrap wds_form" id="sliders_form" method="post" action="admin.php?page=goptions_wds" style="width: 98%;" enctype="multipart/form-data">
135
- <?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
136
- <div class="wds-options-page-banner">
137
- <div class="wds-options-logo"></div>
138
- <div class="wds-options-logo-title">
139
- <?php _e('Global Options', 'wds'); ?>
140
- </div>
141
- <div class="wds-page-actions">
142
- <button class="wds_button-secondary wds_save_slider" onclick="spider_set_input_value('task', 'save');">
143
- <span></span>
144
- <?php _e('Save', 'wds'); ?>
145
- </button>
146
- </div>
147
- </div>
148
- <table>
149
- <tbody>
150
- <tr>
151
- <td class="spider_label"><label><?php _e('Include scripts/styles only on necessary pages', 'wds'); ?>:</label></td>
152
- <td>
153
- <input type="radio" id="register_scripts1" name="register_scripts" <?php echo (($global_options->register_scripts == 1)? "checked='checked'" : ""); ?> value="1" /><label <?php echo ($global_options->register_scripts ? 'class="selected_color"' : ''); ?> for="register_scripts1"><?php _e('Yes', 'wds'); ?></label>
154
- <input type="radio" id="register_scripts0" name="register_scripts" <?php echo (($global_options->register_scripts == 0)? "checked='checked'" : ""); ?> value="0" /><label <?php echo ($global_options->register_scripts ? '' : 'class="selected_color"'); ?> for="register_scripts0"><?php _e('No', 'wds'); ?></label>
155
- <div class="spider_description"><?php _e('Helps to decrease page load time. Might not function with some custom themes.', 'wds'); ?></div>
156
- </td>
157
- </tr>
158
- <tr>
159
- <td class="spider_label">
160
- <label for="loading_gif"><?php _e('Loading icon:', 'wds'); ?></label>
161
- </td>
162
- <td>
163
- <select class="select_icon select_icon_320 select_gif" name="loading_gif" id="loading_gif" onchange="wds_loading_gif(jQuery(this).val(), '<?php echo WD_S_URL ?>')">
164
- <?php
165
- foreach ($loading_gifs as $key => $loading_gif) {
166
- ?>
167
- <option value="<?php echo $key; ?>" <?php if ($global_options->loading_gif == $key) echo 'selected="selected"'; ?>><?php echo $loading_gif; ?></option>
168
- <?php
169
- }
170
- ?>
171
- </select>
172
- <fieldset class="wds_fieldset wds_center">
173
- <legend><?php _e('Preview', 'wds'); ?></legend>
174
- <img id="load_gif_img" class="load_gif_img" src="<?php echo WD_S_URL . '/images/loading/' . $global_options->loading_gif . '.gif'; ?>" />
175
- </fieldset>
176
- <div class="spider_description"></div>
177
- </td>
178
- </tr>
179
- <tr>
180
- <td class="spider_label"><label><?php _e('Turn SliderWD Media Upload', 'wds'); ?>:</label></td>
181
- <td>
182
- <input type="radio" id="spider_uploader1" name="spider_uploader" <?php echo (($global_options->spider_uploader == 1)? "checked='checked'" : ""); ?> value="1" /><label <?php echo ($global_options->spider_uploader ? 'class="selected_color"' : ''); ?> for="spider_uploader1"><?php _e('Yes', 'wds'); ?></label>
183
- <input type="radio" id="spider_uploader0" name="spider_uploader" <?php echo (($global_options->spider_uploader == 0)? "checked='checked'" : ""); ?> value="0" /><label <?php echo ($global_options->spider_uploader ? '' : 'class="selected_color"'); ?> for="spider_uploader0"><?php _e('No', 'wds'); ?></label>
184
- <div class="spider_description"><?php _e('Choose the option to use the custom media upload instead of the WordPress default for adding images.', 'wds'); ?></div>
185
- </td>
186
- </tr>
187
- <tr>
188
- <td class="spider_label"><label for="possib_add_ffamily_input"><?php _e('Add font-family:', 'wds'); ?> </label></td>
189
- <td>
190
- <input type="text" id="possib_add_ffamily_input" value="" class="spider_box_input"/>
191
- <input type="hidden" id="possib_add_ffamily" name="possib_add_ffamily" value="<?php echo $global_options->possib_add_ffamily; ?>"/>
192
- <input type="hidden" id="possib_add_ffamily_google" name="possib_add_ffamily_google" value="<?php echo $global_options->possib_add_ffamily_google; ?>"/>
193
- <input id="possib_add_google_fonts" type="checkbox" name="possib_add_google_fonts" value="1"/><label for="possib_add_google_fonts"><?php _e('Add to Google fonts', 'wds'); ?></label>
194
- <input id="add_font_family" class="wds_not_image_buttons" type="button" onclick="set_ffamily_value();spider_set_input_value('task', 'save_font_family');spider_form_submit(event, 'sliders_form')" value="<?php _e('Add font-family', 'wds'); ?>"/>
195
- <div class="spider_description"><?php _e('The added font family will appear in the drop-down list of fonts.', 'wds'); ?></div>
196
- </td>
197
- </tr>
198
- </tbody>
199
- </table>
200
- <fieldset class="wds_fieldset" disabled="disabled">
201
- <legend><?php _e('Default options for layers', 'wds'); ?></legend>
202
- <div class="wd_error" style="padding: 5px; font-size: 14px; color: #000000 !important;"><?php _e('This functionality is disabled in free version.', 'wds'); ?></div>
203
- <table>
204
- <tbody>
205
- <tr>
206
- <td class="spider_label">
207
- <label for="default_layer_ffamily"><?php _e('Font family:', 'wds'); ?></label>
208
- </td>
209
- <td>
210
- <select class="select_icon select_icon_320" style="width: 200px;" id="default_layer_ffamily" onchange="wds_change_fonts('', 1)" name="default_layer_ffamily">
211
- <?php
212
- $fonts = (isset($global_options->default_layer_google_fonts) && $global_options->default_layer_google_fonts) ? $google_fonts : $font_families;
213
- foreach ($fonts as $key => $font_family) {
214
- ?>
215
- <option value="<?php echo $key; ?>" <?php echo (($global_options->default_layer_ffamily == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
216
- <?php
217
- }
218
- ?>
219
- </select>
220
- <input id="default_layer_google_fonts1" type="radio" name="default_layer_google_fonts" value="1" <?php echo (($global_options->default_layer_google_fonts) ? 'checked="checked"' : ''); ?> onchange="wds_change_fonts()" />
221
- <label for="default_layer_google_fonts1"><?php __('Google fonts', 'wds'); ?></label>
222
- <input id="default_layer_google_fonts0" type="radio" name="default_layer_google_fonts" value="0" <?php echo (($global_options->default_layer_google_fonts) ? '' : 'checked="checked"'); ?> onchange="wds_change_fonts()" />
223
- <label for="default_layer_google_fonts0"><?php _e('Default', 'wds'); ?></label>
224
- <div class="spider_description"></div>
225
- </td>
226
- </tr>
227
- <tr>
228
- <td class="spider_label">
229
- <label for="default_layer_fweight"><?php _e('Font weight:', 'wds'); ?></label>
230
- </td>
231
- <td>
232
- <select class="select_icon select_icon_320" style="width:70px" id="default_layer_fweight" name="default_layer_fweight">
233
- <?php
234
- foreach ($default_layer_fweights as $key => $default_layer_fweight) {
235
- ?>
236
- <option value="<?php echo $key; ?>" <?php echo (($global_options->default_layer_fweight == $key) ? 'selected="selected"' : ''); ?>><?php echo $default_layer_fweight; ?></option>
237
- <?php
238
- }
239
- ?>
240
- </select>
241
- <div class="spider_description"></div>
242
- </td>
243
- </tr>
244
- <tr>
245
- <td class="spider_label">
246
- <label for="default_layer_effect_in"><?php _e('Effect In:' , 'wds'); ?></label>
247
- </td>
248
- <td>
249
- <span style="display: table-cell;">
250
- <input id="default_layer_start" class="spider_int_input" type="text" value="<?php echo $global_options->default_layer_start; ?>" name="default_layer_start"/><?php _e('ms' , 'wds'); ?>
251
- <div class="spider_description"><?php __('Start', 'wds'); ?></div>
252
- </span>
253
- <span style="display: table-cell;">
254
- <select class="select_icon select_icon_320" name="default_layer_effect_in" id="default_layer_effect_in" style="width:150px;">
255
- <?php
256
- foreach ( $default_layer_effects_in as $key => $default_layer_effect_in ) {
257
- ?>
258
- <option value="<?php echo $key; ?>" <?php if ( $global_options->default_layer_effect_in == $key ) {
259
- echo 'selected="selected"';
260
- } ?>><?php echo $default_layer_effect_in; ?></option>
261
- <?php
262
- }
263
- ?>
264
- </select>
265
- <div class="spider_description"><?php _e('Effect', 'wds'); ?></div>
266
- </span>
267
- <span style="display: table-cell;">
268
- <input id="default_layer_duration_eff_in" class="spider_int_input" type="text" value="<?php echo $global_options->default_layer_duration_eff_in; ?>" name="default_layer_duration_eff_in"/><?php _e('ms' , 'wds'); ?>
269
- <div class="spider_description"><?php _e('Duration', 'wds'); ?></div>
270
- </span>
271
- <span style="display: table-cell;">
272
- <input id="default_layer_infinite_in" type="text" name="default_layer_infinite_in" value="<?php echo $global_options->default_layer_infinite_in; ?>" class="spider_int_input" title="0 for play infinte times" />
273
- <div class="spider_description"><?php _e('Iteration', 'wds'); ?></div>
274
- </span>
275
- </td>
276
- </tr>
277
- <tr>
278
- <td class="spider_label">
279
- <label for="default_layer_effect_out"><?php _e('Effect Out:','wds'); ?></label>
280
- </td>
281
- <td>
282
- <span style="display: table-cell;">
283
- <input id="default_layer_end" class="spider_int_input" type="text" value="<?php echo $global_options->default_layer_end; ?>" name="default_layer_end"><?php _e('ms' , 'wds'); ?>
284
- <div class="spider_description"><?php _e('Start', 'wds'); ?></div>
285
- </span>
286
- <span style="display: table-cell;">
287
- <select class="select_icon select_icon_320" name="default_layer_effect_out" id="default_layer_effect_out" style="width:150px;">
288
- <?php
289
- foreach ($default_layer_effects_out as $key => $default_layer_effect_out) {
290
- ?>
291
- <option value="<?php echo $key; ?>" <?php if ($global_options->default_layer_effect_out == $key) echo 'selected="selected"'; ?>><?php echo $default_layer_effect_out; ?></option>
292
- <?php
293
- }
294
- ?>
295
- </select>
296
- <div class="spider_description"><?php _e('Effect', 'wds'); ?></div>
297
- </span>
298
- <span style="display: table-cell;">
299
- <input id="default_layer_duration_eff_out" class="spider_int_input" type="text" onkeypress="return spider_check_isnum(event)" value="<?php echo $global_options->default_layer_duration_eff_out; ?>" name="default_layer_duration_eff_out">ms
300
- <div class="spider_description"><?php _e('Duration', 'wds'); ?></div>
301
- </span>
302
- <span style="display: table-cell;">
303
- <input id="default_layer_infinite_out" type="text" name="default_layer_infinite_out" value="<?php echo $global_options->default_layer_infinite_out; ?>" class="spider_int_input" title="0 for play infinte times" />
304
- <div class="spider_description"><?php _e('Iteration', 'wds'); ?></div>
305
- </span>
306
- </td>
307
- </tr>
308
- <tr>
309
- <td title="Add class" class="spider_label">
310
- <label for="default_layer_add_class"><?php _e('Add class:', 'wds'); ?> </label>
311
- </td>
312
- <td>
313
- <input id="default_layer_add_class" class="spider_char_input" type="text" value="<?php echo $global_options->default_layer_add_class; ?>" name="default_layer_add_class" />
314
- </td>
315
- </tr>
316
- <tr>
317
- <td colspan="2" style="text-align: right;">
318
- <input type="button" class="wds_buttons_320 action_buttons add_posts wds_free_button button_padding" value="<?php _e('Apply to existing layers', 'wds'); ?>"/>
319
- </td>
320
- </tr>
321
- </tbody>
322
- </table>
323
- </fieldset>
324
- <input id="task" name="task" type="hidden" value="" />
325
- </form>
326
- <?php
327
- }
328
- }
1
+ <?php
2
+
3
+ class WDSViewGoptions_wds {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $model;
14
+
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ // Constructor & Destructor //
17
+ ////////////////////////////////////////////////////////////////////////////////////////
18
+ public function __construct($model) {
19
+ $this->model = $model;
20
+ }
21
+ ////////////////////////////////////////////////////////////////////////////////////////
22
+ // Public Methods //
23
+ ////////////////////////////////////////////////////////////////////////////////////////
24
+
25
+ public function display() {
26
+ $default_layer_fweights = array(
27
+ 'lighter' => __('Lighter', 'wds'),
28
+ 'normal' => __('Normal', 'wds'),
29
+ 'bold' => __('Bold', 'wds'),
30
+ );
31
+ $default_layer_effects_in = array(
32
+ 'none' => __('None', 'wds'),
33
+ 'bounce' => __('Bounce', 'wds'),
34
+ 'flash' => __('Flash', 'wds'),
35
+ 'pulse' => __('Pulse', 'wds'),
36
+ 'rubberBand' => __('RubberBand', 'wds'),
37
+ 'shake' => __('Shake', 'wds'),
38
+ 'swing' => __('Swing', 'wds'),
39
+ 'tada' => __('Tada', 'wds'),
40
+ 'wobble' => __('Wobble', 'wds'),
41
+ 'hinge' => __('Hinge', 'wds'),
42
+ 'lightSpeedIn' => __('LightSpeedIn', 'wds'),
43
+ 'rollIn' => __('RollIn', 'wds'),
44
+ 'bounceIn' => __('BounceIn', 'wds'),
45
+ 'bounceInDown' => __('BounceInDown', 'wds'),
46
+ 'bounceInLeft' => __('BounceInLeft', 'wds'),
47
+ 'bounceInRight' => __('BounceInRight', 'wds'),
48
+ 'bounceInUp' => __('BounceInUp', 'wds'),
49
+ 'fadeIn' => __('FadeIn', 'wds'),
50
+ 'fadeInDown' => __('FadeInDown', 'wds'),
51
+ 'fadeInDownBig' => __('FadeInDownBig', 'wds'),
52
+ 'fadeInLeft' => __('FadeInLeft', 'wds'),
53
+ 'fadeInLeftBig' => __('FadeInLeftBig', 'wds'),
54
+ 'fadeInRight' => __('FadeInRight', 'wds'),
55
+ 'fadeInRightBig' => __('FadeInRightBig', 'wds'),
56
+ 'fadeInUp' => __('FadeInUp', 'wds'),
57
+ 'fadeInUpBig' => __('FadeInUpBig', 'wds'),
58
+ 'flip' => __('Flip', 'wds'),
59
+ 'flipInX' => __('FlipInX', 'wds'),
60
+ 'flipInY' => __('FlipInY', 'wds'),
61
+ 'rotateIn' => __('RotateIn', 'wds'),
62
+ 'rotateInDownLeft' => __('RotateInDownLeft', 'wds'),
63
+ 'rotateInDownRight' => __('RotateInDownRight', 'wds'),
64
+ 'rotateInUpLeft' => __('RotateInUpLeft', 'wds'),
65
+ 'rotateInUpRight' => __('RotateInUpRight', 'wds'),
66
+ 'zoomIn' => __('ZoomIn', 'wds'),
67
+ 'zoomInDown' => __('ZoomInDown', 'wds'),
68
+ 'zoomInLeft' => __('ZoomInLeft', 'wds'),
69
+ 'zoomInRight' => __('ZoomInRight', 'wds'),
70
+ 'zoomInUp' => __('ZoomInUp', 'wds'),
71
+ );
72
+ $default_layer_effects_out = array(
73
+ 'none' => __('None', 'wds'),
74
+ 'bounce' => __('Bounce', 'wds'),
75
+ 'flash' => __('Flash', 'wds'),
76
+ 'pulse' => __('Pulse', 'wds'),
77
+ 'rubberBand' => __('RubberBand', 'wds'),
78
+ 'shake' => __('Shake', 'wds'),
79
+ 'swing' => __('Swing', 'wds'),
80
+ 'tada' => __('Tada', 'wds'),
81
+ 'wobble' => __('Wobble', 'wds'),
82
+ 'hinge' => __('Hinge', 'wds'),
83
+ 'lightSpeedOut' => __('LightSpeedOut', 'wds'),
84
+ 'rollOut' => __('RollOut', 'wds'),
85
+ 'bounceOut' => __('BounceOut', 'wds'),
86
+ 'bounceOutDown' => __('BounceOutDown', 'wds'),
87
+ 'bounceOutLeft' => __('BounceOutLeft', 'wds'),
88
+ 'bounceOutRight' => __('BounceOutRight', 'wds'),
89
+ 'bounceOutUp' => __('BounceOutUp', 'wds'),
90
+ 'fadeOut' => __('FadeOut', 'wds'),
91
+ 'fadeOutDown' => __('FadeOutDown', 'wds'),
92
+ 'fadeOutDownBig' => __('FadeOutDownBig', 'wds'),
93
+ 'fadeOutLeft' => __('FadeOutLeft', 'wds'),
94
+ 'fadeOutLeftBig' => __('FadeOutLeftBig', 'wds'),
95
+ 'fadeOutRight' => __('FadeOutRight', 'wds'),
96
+ 'fadeOutRightBig' => __('FadeOutRightBig', 'wds'),
97
+ 'fadeOutUp' => __('FadeOutUp', 'wds'),
98
+ 'fadeOutUpBig' => __('FadeOutUpBig', 'wds'),
99
+ 'flip' => __('Flip', 'wds'),
100
+ 'flipOutX' => __('FlipOutX', 'wds'),
101
+ 'flipOutY' => __('FlipOutY', 'wds'),
102
+ 'rotateOut' => __('RubberBand', 'wds'),
103
+ 'rotateOutDownLeft' => __('RotateOutDownLeft', 'wds'),
104
+ 'rotateOutDownRight' => __('RotateOutDownRight', 'wds'),
105
+ 'rotateOutUpLeft' => __('RotateOutUpLeft', 'wds'),
106
+ 'rotateOutUpRight' => __('RotateOutUpRight', 'wds'),
107
+ 'zoomOut' => __('ZoomOut', 'wds'),
108
+ 'zoomOutDown' => __('ZoomOutDown', 'wds'),
109
+ 'zoomOutLeft' => __('ZoomOutLeft', 'wds'),
110
+ 'zoomOutRight' => __('ZoomOutRight', 'wds'),
111
+ 'zoomOutUp' => __('ZoomOutUp', 'wds'),
112
+ );
113
+ $font_families = WDW_S_Library::get_font_families();
114
+ $google_fonts = WDW_S_Library::get_google_fonts();
115
+ $loading_gifs = array(
116
+ 0 => __('Loading default', 'wds'),
117
+ 1 => __('Loading1', 'wds'),
118
+ 2 => __('Loading2', 'wds'),
119
+ 3 => __('Loading3', 'wds'),
120
+ 4 => __('Loading4', 'wds'),
121
+ 5 => __('Loading5', 'wds'),
122
+ );
123
+
124
+ $wds_global_options = get_option("wds_global_options", 0);
125
+ $global_options = json_decode($wds_global_options);
126
+ if ( !$wds_global_options ) {
127
+ $global_options = (object) wds_global_options_defults();
128
+ $global_options->loading_gif = get_option("wds_loading_gif", 0);
129
+ $global_options->register_scripts = get_option("wds_register_scripts", 0);
130
+ }
131
+
132
+ ?>
133
+ <div class="clear"></div>
134
+ <form class="wrap wds_form" id="sliders_form" method="post" action="admin.php?page=goptions_wds" style="width: 98%;" enctype="multipart/form-data">
135
+ <?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
136
+ <div class="wds-options-page-banner">
137
+ <div class="wds-options-logo"></div>
138
+ <div class="wds-options-logo-title">
139
+ <?php _e('Global Options', 'wds'); ?>
140
+ </div>
141
+ <div class="wds-page-actions">
142
+ <button class="wds_button-secondary wds_save_slider" onclick="spider_set_input_value('task', 'save');">
143
+ <span></span>
144
+ <?php _e('Save', 'wds'); ?>
145
+ </button>
146
+ </div>
147
+ </div>
148
+ <table>
149
+ <tbody>
150
+ <tr>
151
+ <td class="spider_label"><label><?php _e('Include scripts/styles only on necessary pages', 'wds'); ?>:</label></td>
152
+ <td>
153
+ <input type="radio" id="register_scripts1" name="register_scripts" <?php echo (($global_options->register_scripts == 1)? "checked='checked'" : ""); ?> value="1" /><label <?php echo ($global_options->register_scripts ? 'class="selected_color"' : ''); ?> for="register_scripts1"><?php _e('Yes', 'wds'); ?></label>
154
+ <input type="radio" id="register_scripts0" name="register_scripts" <?php echo (($global_options->register_scripts == 0)? "checked='checked'" : ""); ?> value="0" /><label <?php echo ($global_options->register_scripts ? '' : 'class="selected_color"'); ?> for="register_scripts0"><?php _e('No', 'wds'); ?></label>
155
+ <div class="spider_description"><?php _e('Helps to decrease page load time. Might not function with some custom themes.', 'wds'); ?></div>
156
+ </td>
157
+ </tr>
158
+ <tr>
159
+ <td class="spider_label">
160
+ <label for="loading_gif"><?php _e('Loading icon:', 'wds'); ?></label>
161
+ </td>
162
+ <td>
163
+ <select class="select_icon select_icon_320 select_gif" name="loading_gif" id="loading_gif" onchange="wds_loading_gif(jQuery(this).val(), '<?php echo WD_S_URL ?>')">
164
+ <?php
165
+ foreach ($loading_gifs as $key => $loading_gif) {
166
+ ?>
167
+ <option value="<?php echo $key; ?>" <?php if ($global_options->loading_gif == $key) echo 'selected="selected"'; ?>><?php echo $loading_gif; ?></option>
168
+ <?php
169
+ }
170
+ ?>
171
+ </select>
172
+ <fieldset class="wds_fieldset wds_center">
173
+ <legend><?php _e('Preview', 'wds'); ?></legend>
174
+ <img id="load_gif_img" class="load_gif_img" src="<?php echo WD_S_URL . '/images/loading/' . $global_options->loading_gif . '.gif'; ?>" />
175
+ </fieldset>
176
+ <div class="spider_description"></div>
177
+ </td>
178
+ </tr>
179
+ <tr>
180
+ <td class="spider_label"><label><?php _e('Turn SliderWD Media Upload', 'wds'); ?>:</label></td>
181
+ <td>
182
+ <input type="radio" id="spider_uploader1" name="spider_uploader" <?php echo (($global_options->spider_uploader == 1)? "checked='checked'" : ""); ?> value="1" /><label <?php echo ($global_options->spider_uploader ? 'class="selected_color"' : ''); ?> for="spider_uploader1"><?php _e('Yes', 'wds'); ?></label>
183
+ <input type="radio" id="spider_uploader0" name="spider_uploader" <?php echo (($global_options->spider_uploader == 0)? "checked='checked'" : ""); ?> value="0" /><label <?php echo ($global_options->spider_uploader ? '' : 'class="selected_color"'); ?> for="spider_uploader0"><?php _e('No', 'wds'); ?></label>
184
+ <div class="spider_description"><?php _e('Choose the option to use the custom media upload instead of the WordPress default for adding images.', 'wds'); ?></div>
185
+ </td>
186
+ </tr>
187
+ <tr>
188
+ <td class="spider_label"><label for="possib_add_ffamily_input"><?php _e('Add font-family:', 'wds'); ?> </label></td>
189
+ <td>
190
+ <input type="text" id="possib_add_ffamily_input" value="" class="spider_box_input"/>
191
+ <input type="hidden" id="possib_add_ffamily" name="possib_add_ffamily" value="<?php echo $global_options->possib_add_ffamily; ?>"/>
192
+ <input type="hidden" id="possib_add_ffamily_google" name="possib_add_ffamily_google" value="<?php echo $global_options->possib_add_ffamily_google; ?>"/>
193
+ <input id="possib_add_google_fonts" type="checkbox" name="possib_add_google_fonts" value="1"/><label for="possib_add_google_fonts"><?php _e('Add to Google fonts', 'wds'); ?></label>
194
+ <input id="add_font_family" class="wds_not_image_buttons" type="button" onclick="set_ffamily_value();spider_set_input_value('task', 'save_font_family');spider_form_submit(event, 'sliders_form')" value="<?php _e('Add font-family', 'wds'); ?>"/>
195
+ <div class="spider_description"><?php _e('The added font family will appear in the drop-down list of fonts.', 'wds'); ?></div>
196
+ </td>
197
+ </tr>
198
+ </tbody>
199
+ </table>
200
+ <fieldset class="wds_fieldset" disabled="disabled">
201
+ <legend><?php _e('Default options for layers', 'wds'); ?></legend>
202
+ <div class="wd_error" style="padding: 5px; font-size: 14px; color: #000000 !important;"><?php _e('This functionality is disabled in free version.', 'wds'); ?></div>
203
+ <table>
204
+ <tbody>
205
+ <tr>
206
+ <td class="spider_label">
207
+ <label for="default_layer_ffamily"><?php _e('Font family:', 'wds'); ?></label>
208
+ </td>
209
+ <td>
210
+ <select class="select_icon select_icon_320" style="width: 200px;" id="default_layer_ffamily" onchange="wds_change_fonts('', 1)" name="default_layer_ffamily">
211
+ <?php
212
+ $fonts = (isset($global_options->default_layer_google_fonts) && $global_options->default_layer_google_fonts) ? $google_fonts : $font_families;
213
+ foreach ($fonts as $key => $font_family) {
214
+ ?>
215
+ <option value="<?php echo $key; ?>" <?php echo (($global_options->default_layer_ffamily == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
216
+ <?php
217
+ }
218
+ ?>
219
+ </select>
220
+ <input id="default_layer_google_fonts1" type="radio" name="default_layer_google_fonts" value="1" <?php echo (($global_options->default_layer_google_fonts) ? 'checked="checked"' : ''); ?> onchange="wds_change_fonts()" />
221
+ <label for="default_layer_google_fonts1"><?php __('Google fonts', 'wds'); ?></label>
222
+ <input id="default_layer_google_fonts0" type="radio" name="default_layer_google_fonts" value="0" <?php echo (($global_options->default_layer_google_fonts) ? '' : 'checked="checked"'); ?> onchange="wds_change_fonts()" />
223
+ <label for="default_layer_google_fonts0"><?php _e('Default', 'wds'); ?></label>
224
+ <div class="spider_description"></div>
225
+ </td>
226
+ </tr>
227
+ <tr>
228
+ <td class="spider_label">
229
+ <label for="default_layer_fweight"><?php _e('Font weight:', 'wds'); ?></label>
230
+ </td>
231
+ <td>
232
+ <select class="select_icon select_icon_320" style="width:70px" id="default_layer_fweight" name="default_layer_fweight">
233
+ <?php
234
+ foreach ($default_layer_fweights as $key => $default_layer_fweight) {
235
+ ?>
236
+ <option value="<?php echo $key; ?>" <?php echo (($global_options->default_layer_fweight == $key) ? 'selected="selected"' : ''); ?>><?php echo $default_layer_fweight; ?></option>
237
+ <?php
238
+ }
239
+ ?>
240
+ </select>
241
+ <div class="spider_description"></div>
242
+ </td>
243
+ </tr>
244
+ <tr>
245
+ <td class="spider_label">
246
+ <label for="default_layer_effect_in"><?php _e('Effect In:' , 'wds'); ?></label>
247
+ </td>
248
+ <td>
249
+ <span style="display: table-cell;">
250
+ <input id="default_layer_start" class="spider_int_input" type="text" value="<?php echo $global_options->default_layer_start; ?>" name="default_layer_start"/><?php _e('ms' , 'wds'); ?>
251
+ <div class="spider_description"><?php __('Start', 'wds'); ?></div>
252
+ </span>
253
+ <span style="display: table-cell;">
254
+ <select class="select_icon select_icon_320" name="default_layer_effect_in" id="default_layer_effect_in" style="width:150px;">
255
+ <?php
256
+ foreach ( $default_layer_effects_in as $key => $default_layer_effect_in ) {
257
+ ?>
258
+ <option value="<?php echo $key; ?>" <?php if ( $global_options->default_layer_effect_in == $key ) {
259
+ echo 'selected="selected"';
260
+ } ?>><?php echo $default_layer_effect_in; ?></option>
261
+ <?php
262
+ }
263
+ ?>
264
+ </select>
265
+ <div class="spider_description"><?php _e('Effect', 'wds'); ?></div>
266
+ </span>
267
+ <span style="display: table-cell;">
268
+ <input id="default_layer_duration_eff_in" class="spider_int_input" type="text" value="<?php echo $global_options->default_layer_duration_eff_in; ?>" name="default_layer_duration_eff_in"/><?php _e('ms' , 'wds'); ?>
269
+ <div class="spider_description"><?php _e('Duration', 'wds'); ?></div>
270
+ </span>
271
+ <span style="display: table-cell;">
272
+ <input id="default_layer_infinite_in" type="text" name="default_layer_infinite_in" value="<?php echo $global_options->default_layer_infinite_in; ?>" class="spider_int_input" title="0 for play infinte times" />
273
+ <div class="spider_description"><?php _e('Iteration', 'wds'); ?></div>
274
+ </span>
275
+ </td>
276
+ </tr>
277
+ <tr>
278
+ <td class="spider_label">
279
+ <label for="default_layer_effect_out"><?php _e('Effect Out:','wds'); ?></label>
280
+ </td>
281
+ <td>
282
+ <span style="display: table-cell;">
283
+ <input id="default_layer_end" class="spider_int_input" type="text" value="<?php echo $global_options->default_layer_end; ?>" name="default_layer_end"><?php _e('ms' , 'wds'); ?>
284
+ <div class="spider_description"><?php _e('Start', 'wds'); ?></div>
285
+ </span>
286
+ <span style="display: table-cell;">
287
+ <select class="select_icon select_icon_320" name="default_layer_effect_out" id="default_layer_effect_out" style="width:150px;">
288
+ <?php
289
+ foreach ($default_layer_effects_out as $key => $default_layer_effect_out) {
290
+ ?>
291
+ <option value="<?php echo $key; ?>" <?php if ($global_options->default_layer_effect_out == $key) echo 'selected="selected"'; ?>><?php echo $default_layer_effect_out; ?></option>
292
+ <?php
293
+ }
294
+ ?>
295
+ </select>
296
+ <div class="spider_description"><?php _e('Effect', 'wds'); ?></div>
297
+ </span>
298
+ <span style="display: table-cell;">
299
+ <input id="default_layer_duration_eff_out" class="spider_int_input" type="text" onkeypress="return spider_check_isnum(event)" value="<?php echo $global_options->default_layer_duration_eff_out; ?>" name="default_layer_duration_eff_out">ms
300
+ <div class="spider_description"><?php _e('Duration', 'wds'); ?></div>
301
+ </span>
302
+ <span style="display: table-cell;">
303
+ <input id="default_layer_infinite_out" type="text" name="default_layer_infinite_out" value="<?php echo $global_options->default_layer_infinite_out; ?>" class="spider_int_input" title="0 for play infinte times" />
304
+ <div class="spider_description"><?php _e('Iteration', 'wds'); ?></div>
305
+ </span>
306
+ </td>
307
+ </tr>
308
+ <tr>
309
+ <td title="Add class" class="spider_label">
310
+ <label for="default_layer_add_class"><?php _e('Add class:', 'wds'); ?> </label>
311
+ </td>
312
+ <td>
313
+ <input id="default_layer_add_class" class="spider_char_input" type="text" value="<?php echo $global_options->default_layer_add_class; ?>" name="default_layer_add_class" />
314
+ </td>
315
+ </tr>
316
+ <tr>
317
+ <td colspan="2" style="text-align: right;">
318
+ <input type="button" class="wds_buttons_320 action_buttons add_posts wds_free_button button_padding" value="<?php _e('Apply to existing layers', 'wds'); ?>"/>
319
+ </td>
320
+ </tr>
321
+ </tbody>
322
+ </table>
323
+ </fieldset>
324
+ <input id="task" name="task" type="hidden" value="" />
325
+ </form>
326
+ <?php
327
+ }
328
+ }
admin/views/WDSViewSliders_wds.php CHANGED
@@ -1,3215 +1,3215 @@
1
- <?php
2
- class WDSViewSliders_wds {
3
- ////////////////////////////////////////////////////////////////////////////////////////
4
- // Events //
5
- ////////////////////////////////////////////////////////////////////////////////////////
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- // Constants //
8
- ////////////////////////////////////////////////////////////////////////////////////////
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- // Variables //
11
- ////////////////////////////////////////////////////////////////////////////////////////
12
- private $model;
13
-
14
-
15
- ////////////////////////////////////////////////////////////////////////////////////////
16
- // Constructor & Destructor //
17
- ////////////////////////////////////////////////////////////////////////////////////////
18
- public function __construct($model) {
19
- $this->model = $model;
20
- }
21
- ////////////////////////////////////////////////////////////////////////////////////////
22
- // Public Methods //
23
- ////////////////////////////////////////////////////////////////////////////////////////
24
-
25
- public function display() {
26
- $rows_data = $this->model->get_rows_data();
27
- $page_nav = $this->model->page_nav();
28
- $search_value = ((isset($_POST['search_value'])) ? esc_html(stripslashes($_POST['search_value'])) : '');
29
- $search_select_value = ((isset($_POST['search_select_value'])) ? (int) $_POST['search_select_value'] : 0);
30
- $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
31
- $order_by = (isset($_POST['order_by']) ? esc_html(stripslashes($_POST['order_by'])) : 'id');
32
- $order_class = 'manage-column column-title sorted ' . $asc_or_desc;
33
- $ids_string = '';
34
- $header_title = __('Sliders', 'wds');
35
- $functionality_disabled_version = __('This functionality is disabled in free version.', 'wds');
36
- $option_disabled_version = __('This option is disabled in free version.', 'wds');
37
- $slider_button_array = array(
38
- 'publish_all' => __('Publish', 'wds'),
39
- 'unpublish_all' => __('Unpublish', 'wds'),
40
- 'delete_all' => __('Delete', 'wds'),
41
- 'duplicate_all' => __('Duplicate', 'wds'),
42
- 'export' => __('Export', 'wds'),
43
- 'merge_sliders' => __('Merge', 'wds')
44
- );
45
- global $wp_version;
46
- if (version_compare($wp_version, '4','<')) {
47
- ?>
48
- <style>
49
- #wpwrap {
50
- background-color: #F1F1F1;
51
- }
52
- @media screen and (max-width: 640px) {
53
- .buttons_div input {
54
- width: 31%;
55
- font-size: 10px;
56
- }
57
- .tablenav{
58
- height:auto
59
- }
60
- #wpcontent {
61
- margin-left: 40px !important
62
- }
63
- .alignleft {
64
- display:none;
65
- }
66
- }
67
- </style>
68
- <?php
69
- }
70
- ?>
71
- <form class="wrap wds_form" id="sliders_form" method="post" action="admin.php?page=sliders_wds" style="float: left; width: 98%;">
72
- <?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
73
- <div class="wds_opacity_export" onclick="jQuery('.wds_opacity_export').hide();jQuery('.wds_exports').hide();"></div>
74
- <div class="wds_exports">
75
- <input type="checkbox" name="imagesexport" id="imagesexport" checked="checked" />
76
- <label for="imagesexport"><?php _e('Check the box to export the images included within sliders.', 'wds'); ?></label>
77
- <a class="button-secondary wds_export" type="button" href="<?php echo add_query_arg(array('action' => 'WDSExport'), admin_url('admin-ajax.php')); ?>" onclick="wds_get_checked()"><?php _e('Export', 'wds'); ?></a>
78
- <input type="button" class="button-secondary" onclick="jQuery('.wds_exports').hide();jQuery('.wds_opacity_export').hide(); return false;" value="Cancel" />
79
- </div>
80
- <div class="wds_opacity_merge" onclick="jQuery('.wds_opacity_merge').hide();jQuery('.wds_merge').hide();"></div>
81
- <div class="wds_merge">
82
- <select class="select_icon select_icon_320" style="width:200px" name="select_slider_merge" id="select_slider_merge" style="margin-bottom: 6px;">
83
- <?php
84
- foreach ($rows_data as $row_data) {
85
- ?>
86
- <option value="<?php echo $row_data->id; ?>"><?php echo $row_data->name; ?></option>
87
- <?php
88
- }
89
- ?>
90
- </select>
91
- <input class="button-secondary" type="submit" onclick="spider_set_input_value('task', 'merge_sliders');" value="Merge" />
92
- <input type="button" class="button-secondary" onclick="jQuery('.wds_merge').hide();jQuery('.wds_opacity_merge').hide(); return false;" value="<?php _e('Cancel', 'wds'); ?>" />
93
- <div class="spider_description"><?php _e('Select slider to use settings from.', 'wds'); ?></div>
94
- </div>
95
- <div class="wds_opacity_import" onclick="jQuery('.wds_opacity_import').hide();jQuery('.wds_imports').hide();"></div>
96
- <div class="wds_imports">
97
- <input type="file" name="fileimport" id="fileimport" />
98
- <input class="button-secondary" type="submit" onclick="if(wds_getfileextension(document.getElementById('fileimport').value)){spider_set_input_value('task', 'import');} else return false;" value="<?php _e('Import', 'wds'); ?>" />
99
- <input type="button" class="button-secondary" onclick="jQuery('.wds_imports').hide();jQuery('.wds_opacity_import').hide(); return false;" value="<?php _e('Cancel', 'wds'); ?>" />
100
- <div class="spider_description"><?php _e('Choose file (use .zip format).', 'wds'); ?></div>
101
- </div>
102
- <div>
103
- <span class="slider-icon"></span>
104
- <h2 class="wds_default">
105
- <?php echo $header_title; ?>
106
- <a href="" class="add-new-h2" onclick="spider_set_input_value('task', 'add'); spider_form_submit(event, 'sliders_form')"><?php _e('Add new', 'wds'); ?></a>
107
- </h2>
108
- </div>
109
- <div class="buttons_div_right">
110
- <input type="button" class="wds_button-secondary wds_import" onclick="alert('<?php echo $functionality_disabled_version; ?>')" value="<?php _e('Import', 'wds'); ?>" />
111
- </div>
112
- <?php WDW_S_Library::search( __('Name', 'wds'), $search_value, 'sliders_form'); ?>
113
- <div class="tablenav bottom buttons_div buttons_div_left">
114
- <span class="wds_button-secondary non_selectable wds_check_all" onclick="spider_check_all_items()">
115
- <input type="checkbox" id="check_all_items" name="check_all_items" onclick="spider_check_all_items_checkbox()" style="margin: 0; vertical-align: middle;" />
116
- <span style="vertical-align: middle;"><?php _e('Select All', 'wds'); ?></span>
117
- </span>
118
- <select class="select_icon bulk_action" style="margin-bottom: 6px;">
119
- <option value=""><?php _e('Bulk Actions', 'wds'); ?></option>
120
- <?php
121
- foreach ($slider_button_array as $key => $value) {
122
- ?>
123
- <option value="<?php echo $key; ?>"><?php echo $value; ?></option>
124
- <?php
125
- }
126
- ?>
127
- </select>
128
- <input class="wds_button-secondary wds_apply_slider" type="button" title="<?php _e('Apply', 'wds'); ?>" onclick="if (!wds_bulk_actions('.bulk_action')) {return false}" value="<?php _e('Apply', 'wds'); ?>" />
129
- <?php WDW_S_Library::html_page_nav($page_nav['total'], $page_nav['limit'], 'sliders_form'); ?>
130
- </div>
131
- <table class="wp-list-table widefat fixed pages">
132
- <thead>
133
- <th class="manage-column column-cb check-column table_small_col"><input id="check_all" type="checkbox" onclick="spider_check_all(this)" style="margin:0;" /></th>
134
- <th class="sortable table_small_col <?php if ($order_by == 'id') {echo $order_class;} ?>">
135
- <a onclick="spider_set_input_value('task', '');
136
- spider_set_input_value('order_by', 'id');
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'])) == 'id') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
138
- spider_form_submit(event, 'sliders_form')" href="">
139
- <span>ID</span><span class="sorting-indicator"></span>
140
- </a>
141
- </th>
142
- <th class="mobile_hide table_big_col"><?php _e('Slider', 'wds'); ?></th>
143
- <th class="sortable <?php if ($order_by == 'name') {echo $order_class;} ?>">
144
- <a onclick="spider_set_input_value('task', '');
145
- spider_set_input_value('order_by', 'name');
146
- 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'); ?>');
147
- spider_form_submit(event, 'sliders_form')" href="">
148
- <span><?php _e('Name', 'wds'); ?></span><span class="sorting-indicator"></span>
149
- </a>
150
- </th>
151
- <th class="mobile_hide table_big_col"><?php _e('Slides', 'wds'); ?></th>
152
- <th class="table_big_col"><?php _e('Shortcode', 'wds'); ?></th>
153
- <th class="mobile_hide table_large_col"><?php _e('PHP function', 'wds'); ?></th>
154
- <th class="sortable mobile_hide table_bigger_col <?php if ($order_by == 'published') {echo $order_class;} ?>">
155
- <a onclick="spider_set_input_value('task', '');
156
- spider_set_input_value('order_by', 'published');
157
- 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'); ?>');
158
- spider_form_submit(event, 'sliders_form')" href="">
159
- <span><?php _e('Published', 'wds'); ?></span><span class="sorting-indicator"></span>
160
- </a>
161
- </th>
162
- <th class="mobile_hide table_big_col wds_table_big_col_action" colspan="3"><?php _e('Action', 'wds'); ?></th>
163
- </thead>
164
- <tbody id="tbody_arr">
165
- <?php
166
- if ($rows_data) {
167
- $alternate = '';
168
- foreach ($rows_data as $row_data) {
169
- $alternate = ($alternate == 'class="wds_alternate"') ? '' : 'class="wds_alternate"';
170
- $published_image = (($row_data->published) ? 'publish_slide' : 'unpublish_slide');
171
- $published = (($row_data->published) ? 'unpublish' : 'publish');
172
- $prev_img_url = $this->model->get_slider_prev_img($row_data->id);
173
- $slides_count = $this->model->get_slides_count($row_data->id);
174
- ?>
175
- <tr id="tr_<?php echo $row_data->id; ?>" <?php echo $alternate; ?>>
176
- <td class="table_small_col check-column"><input id="check_<?php echo $row_data->id; ?>" name="check_<?php echo $row_data->id; ?>" onclick="spider_check_all(this)" type="checkbox" /></td>
177
- <td class="table_small_col"><?php echo $row_data->id; ?></td>
178
- <td class="mobile_hide table_big_col">
179
- <img title="<?php echo $row_data->name; ?>" style="border: 1px solid #CCCCCC; max-width: 70px; max-height: 50px;" src="<?php echo add_query_arg('date', date('Y-m-y H:i:s'), $prev_img_url); ?>">
180
- </td>
181
- <td class="wds_640">
182
- <a onclick="spider_set_input_value('task', 'edit');
183
- spider_set_input_value('page_number', '1');
184
- spider_set_input_value('search_value', '');
185
- spider_set_input_value('search_or_not', '');
186
- spider_set_input_value('asc_or_desc', 'asc');
187
- spider_set_input_value('order_by', 'order');
188
- spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
189
- spider_form_submit(event, 'sliders_form')" href="" title="Edit"><?php echo $row_data->name; ?>
190
- </a>
191
- </td>
192
- <td class="mobile_hide table_big_col"><?php echo $slides_count; ?></td>
193
- <td class="table_big_col" style="padding-left: 0; padding-right: 0;">
194
- <input type="text" value='[wds id="<?php echo $row_data->id; ?>"]' onclick="spider_select_value(this)" size="11" readonly="readonly" style="padding-left: 1px; padding-right: 1px;" />
195
- </td>
196
- <td class="mobile_hide table_large_col" style="padding-left: 0; padding-right: 0;">
197
- <input type="text" value="&#60;?php wd_slider(<?php echo $row_data->id; ?>); ?&#62;" onclick="spider_select_value(this)" size="23" readonly="readonly" style="padding-left: 1px; padding-right: 1px;" />
198
- </td>
199
- <td class="mobile_hide table_bigger_col">
200
- <a onclick="spider_set_input_value('task', '<?php echo $published; ?>');spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');spider_form_submit(event, 'sliders_form')" href=""><img src="<?php echo WD_S_URL . '/images/sliderwdpng/' . $published_image . '.png'; ?>"></img></a>
201
- </td>
202
- <td class="mobile_hide table_big_col" colspan="3">
203
- <div class="slider_edit_buttons">
204
- <div class="slider_edit">
205
- <input type="button" value="<?php _e('Edit', 'wds'); ?>" class="action_buttons edit_slider" onclick="spider_set_input_value('task', 'edit');
206
- spider_set_input_value('page_number', '1');
207
- spider_set_input_value('search_value', '');
208
- spider_set_input_value('search_or_not', '');
209
- spider_set_input_value('asc_or_desc', 'asc');
210
- spider_set_input_value('order_by', 'order');
211
- spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
212
- spider_form_submit(event, 'sliders_form')" />
213
- </div>
214
- <div class="slider_delete">
215
- <input type="button" value="<?php _e('Delete', 'wds'); ?>" class="action_buttons wds_delete_slider" onclick="if (confirm('<?php echo _e('Do you want to delete selected items?', 'wds'); ?>')) {spider_set_input_value('task', 'delete');
216
- spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
217
- spider_form_submit(event, 'sliders_form')} else {return false;}" />
218
- </div>
219
- <div class="clear"></div>
220
- </div>
221
- </td>
222
- </tr>
223
- <?php
224
- $ids_string .= $row_data->id . ',';
225
- }
226
- }
227
- else {
228
- echo WDW_S_Library::no_items($header_title);
229
- }
230
- ?>
231
- </tbody>
232
- </table>
233
- <input id="task" name="task" type="hidden" value="" />
234
- <input id="current_id" name="current_id" type="hidden" value="" />
235
- <input id="ids_string" name="ids_string" type="hidden" value="<?php echo $ids_string; ?>" />
236
- <input id="asc_or_desc" name="asc_or_desc" type="hidden" value="asc" />
237
- <input id="order_by" name="order_by" type="hidden" value="<?php echo $order_by; ?>" />
238
- </form>
239
- <?php
240
- }
241
-
242
- public function edit($id, $reset = FALSE) {
243
- $wds_global_options = get_option("wds_global_options", 0);
244
- $global_options = json_decode($wds_global_options);
245
- $spider_uploader = isset($global_options->spider_uploader) ? $global_options->spider_uploader : 0;
246
-
247
- $query_url = add_query_arg(array('action' => 'addImage', 'width' => '700', 'height' => '550', 'extensions' => 'jpg,jpeg,png,gif', 'callback' => 'bwg_add_preview_image'), admin_url('admin-ajax.php'));
248
- $query_url = wp_nonce_url($query_url, 'addImage', 'nonce_wd');
249
-
250
- $row = $this->model->get_row_data($id, $reset);
251
- $slides_row = $this->model->get_slides_row_data($id);
252
- $slide_ids_string = '';
253
- $sub_tab_type = WDW_S_Library::get('sub_tab', '');
254
-
255
- $functionality_disabled_version = __('This functionality is disabled in free version.', 'wds');
256
- $option_disabled_version = __('This option is disabled in free version.', 'wds');
257
- $page_title = (($id != 0) ? 'Edit slider ' . $row->name : 'Create new slider');
258
- $aligns = array(
259
- 'left' => __('Left', 'wds'),
260
- 'center' => __('Center', 'wds'),
261
- 'right' => __('Right', 'wds'),
262
- );
263
- $border_styles = array(
264
- 'none' => __('None', 'wds'),
265
- 'solid' => __('Solid', 'wds'),
266
- 'dotted' => __('Dotted', 'wds'),
267
- 'dashed' => __('Dashed', 'wds'),
268
- 'double' => __('Double', 'wds'),
269
- 'groove' => __('Groove', 'wds'),
270
- 'ridge' => __('Ridge', 'wds'),
271
- 'inset' => __('Inset', 'wds'),
272
- 'outset' => __('Outset', 'wds'),
273
- );
274
- $button_styles = array(
275
- 'fa-chevron' => __('Chevron', 'wds'),
276
- 'fa-angle' => __('Angle', 'wds'),
277
- 'fa-angle-double' => __('Double', 'wds'),
278
- );
279
- $bull_styles = array(
280
- 'fa-circle-o' => __('Circle O', 'wds'),
281
- 'fa-circle' => __('Circle', 'wds'),
282
- 'fa-minus' => __('Minus', 'wds'),
283
- 'fa-square-o' => __('Square O', 'wds'),
284
- 'fa-square' => __('Square', 'wds'),
285
- );
286
- $font_families = WDW_S_Library::get_font_families();
287
- $google_fonts = WDW_S_Library::get_google_fonts();
288
-
289
- $font_weights = array(
290
- 'lighter' => __('Lighter', 'wds'),
291
- 'normal' => __('Normal', 'wds'),
292
- 'bold' => __('Bold', 'wds'),
293
- );
294
- $social_buttons = array(
295
- 'facebook' => __('Facebook', 'wds'),
296
- 'google-plus' => __('Google+', 'wds'),
297
- 'twitter' => __('Twitter', 'wds'),
298
- 'pinterest' => __('Pinterest', 'wds'),
299
- 'tumblr' => __('Tumblr', 'wds'),
300
- );
301
- $free_effects = array('none', 'fade', 'sliceH', 'fan', 'scaleIn');
302
- $effects = array(
303
- 'none' => __('None', 'wds'),
304
- 'fade' => __('Fade', 'wds'),
305
- 'sliceH' => __('Slice Horizontal', 'wds'),
306
- 'fan' => __('Fan', 'wds'),
307
- 'scaleIn' => __('Scale In', 'wds'),
308
- 'zoomFade' => __('Zoom Fade', 'wds'),
309
- 'parallelSlideH' => __('Parallel Slide Horizontal', 'wds'),
310
- 'parallelSlideV' => __('Parallel Slide Vertical', 'wds'),
311
- 'slic3DH' => __('Slice 3D Horizontal', 'wds'),
312
- 'slic3DV' => __('Slice 3D Vertical', 'wds'),
313
- 'slicR3DH' => __('Slice 3D Horizontal Random', 'wds'),
314
- 'slicR3DV' => __('Slice 3D Vertical Random', 'wds'),
315
- 'blindR' => __('Blind', 'wds'),
316
- 'tilesR' => __('Tiles', 'wds'),
317
- 'blockScaleR' => __('Block Scale Random', 'wds'),
318
- 'cubeH' => __('Cube Horizontal', 'wds'),
319
- 'cubeV' => __('Cube Vertical', 'wds'),
320
- 'cubeR' => __('Cube Random', 'wds'),
321
- 'sliceV' => __('Slice Vertical', 'wds'),
322
- 'slideH' => __('Slide Horizontal', 'wds'),
323
- 'slideV' => __('Slide Vertical', 'wds'),
324
- 'scaleOut' => __('Scale Out', 'wds'),
325
- 'blockScale' => __('Block Scale', 'wds'),
326
- 'kaleidoscope' => __('Kaleidoscope', 'wds'),
327
- 'blindH' => __('Blind Horizontal', 'wds'),
328
- 'blindV' => __('Blind Vertical', 'wds'),
329
- 'random' => __('Random', 'wds'),
330
- '3Drandom' => __('3D Random', 'wds'),
331
- );
332
- $free_layer_effects = array('none', 'bounce', 'tada', 'bounceInDown', 'bounceOutUp', 'fadeInLeft', 'fadeOutRight');
333
- $layer_effects_in = array(
334
- 'none' => __('None', 'wds'),
335
- 'bounce' => __('Bounce', 'wds'),
336
- 'tada' => __('Tada', 'wds'),
337
- 'bounceInDown' => __('BounceInDown', 'wds'),
338
- 'fadeInLeft' => __('FadeInLeft', 'wds'),
339
- 'flash' => __('Flash', 'wds'),
340
- 'pulse' => __('Pulse', 'wds'),
341
- 'rubberBand' => __('RubberBand', 'wds'),
342
- 'shake' => __('Shake', 'wds'),
343
- 'swing' => __('Swing', 'wds'),
344
- 'wobble' => __('Wobble', 'wds'),
345
- 'hinge' => __('Hinge', 'wds'),
346
-
347
- 'lightSpeedIn' => __('LightSpeedIn', 'wds'),
348
- 'rollIn' => __('RollIn', 'wds'),
349
-
350
- 'bounceIn' => __('BounceIn', 'wds'),
351
- 'bounceInLeft' => __('BounceInLeft', 'wds'),
352
- 'bounceInRight' => __('BounceInRight', 'wds'),
353
- 'bounceInUp' => __('BounceInUp', 'wds'),
354
-
355
- 'fadeIn' => __('FadeIn', 'wds'),
356
- 'fadeInDown' => __('FadeInDown', 'wds'),
357
- 'fadeInDownBig' => __('FadeInDownBig', 'wds'),
358
- 'fadeInLeftBig' => __('FadeInLeftBig', 'wds'),
359
- 'fadeInRight' => __('FadeInRight', 'wds'),
360
- 'fadeInRightBig' => __('FadeInRightBig', 'wds'),
361
- 'fadeInUp' => __('FadeInUp', 'wds'),
362
- 'fadeInUpBig' => __('FadeInUpBig', 'wds'),
363
-
364
- 'flip' => __('Flip', 'wds'),
365
- 'flipInX' => __('FlipInX', 'wds'),
366
- 'flipInY' => __('FlipInY', 'wds'),
367
-
368
- 'rotateIn' => __('RotateIn', 'wds'),
369
- 'rotateInDownLeft' => __('RotateInDownLeft', 'wds'),
370
- 'rotateInDownRight' => __('RotateInDownRight', 'wds'),
371
- 'rotateInUpLeft' => __('RotateInUpLeft', 'wds'),
372
- 'rotateInUpRight' => __('RotateInUpRight', 'wds'),
373
-
374
- 'zoomIn' => __('ZoomIn', 'wds'),
375
- 'zoomInDown' => __('ZoomInDown', 'wds'),
376
- 'zoomInLeft' => __('ZoomInLeft', 'wds'),
377
- 'zoomInRight' => __('ZoomInRight', 'wds'),
378
- 'zoomInUp' => __('ZoomInUp', 'wds'),
379
- );
380
- $layer_effects_out = array(
381
- 'none' => __('None', 'wds'),
382
- 'bounce' => __('Bounce', 'wds'),
383
- 'tada' => __('Tada', 'wds'),
384
- 'bounceOutUp' => __('BounceOutUp', 'wds'),
385
- 'fadeOutRight' => __('FadeOutRight', 'wds'),
386
- 'flash' => __('Flash', 'wds'),
387
- 'pulse' => __('Pulse', 'wds'),
388
- 'rubberBand' => __('RubberBand', 'wds'),
389
- 'shake' => __('Shake', 'wds'),
390
- 'swing' => __('Swing', 'wds'),
391
- 'wobble' => __('Wobble', 'wds'),
392
- 'hinge' => __('Hinge', 'wds'),
393
-
394
- 'lightSpeedOut' => __('LightSpeedOut', 'wds'),
395
- 'rollOut' => __('RollOut', 'wds'),
396
-
397
- 'bounceOut' => __('BounceOut', 'wds'),
398
- 'bounceOutDown' => __('BounceOutDown', 'wds'),
399
- 'bounceOutLeft' => __('BounceOutLeft', 'wds'),
400
- 'bounceOutRight' =>__('BounceOutRight', 'wds'),
401
-
402
- 'fadeOut' => __('FadeOut', 'wds'),
403
- 'fadeOutDown' => __('FadeOutDown', 'wds'),
404
- 'fadeOutDownBig' => __('FadeOutDownBig', 'wds'),
405
- 'fadeOutLeft' => __('FadeOutLeft', 'wds'),
406
- 'fadeOutLeftBig' => __('FadeOutLeftBig', 'wds'),
407
- 'fadeOutRightBig' => __('FadeOutRightBig', 'wds'),
408
- 'fadeOutUp' => __('FadeOutUp', 'wds'),
409
- 'fadeOutUpBig' => __('FadeOutUpBig', 'wds'),
410
-
411
- 'flip' => __('Flip', 'wds'),
412
- 'flipOutX' => __('FlipOutX', 'wds'),
413
- 'flipOutY' => __('FlipOutY', 'wds'),
414
-
415
- 'rotateOut' => __('RotateOut', 'wds'),
416
- 'rotateOutDownLeft' => __('RotateOutDownLeft', 'wds'),
417
- 'rotateOutDownRight' => __('RotateOutDownRight', 'wds'),
418
- 'rotateOutUpLeft' => __('RotateOutUpLeft', 'wds'),
419
- 'rotateOutUpRight' => __('RotateOutUpRight', 'wds'),
420
-
421
- 'zoomOut' => __('ZoomOut', 'wds'),
422
- 'zoomOutDown' => __('ZoomOutDown', 'wds'),
423
- 'zoomOutLeft' => __('ZoomOutLeft', 'wds'),
424
- 'zoomOutRight' => __('ZoomOutRight', 'wds'),
425
- 'zoomOutUp' => __('ZoomOutUp', 'wds'),
426
- );
427
- $slider_callbacks = array(
428
- 'onSliderI' => __('On slider Init', 'wds'),
429
- 'onSliderCS' => __('On slide change start', 'wds'),
430
- 'onSliderCE' => __('On slide change end', 'wds'),
431
- 'onSliderPlay' => __('On slide play', 'wds'),
432
- 'onSliderPause' => __('On slide pause', 'wds'),
433
- 'onSliderHover' => __('On slide hover', 'wds'),
434
- 'onSliderBlur' => __('On slide blur', 'wds'),
435
- 'onSliderR' => __('On slider resize', 'wds'),
436
- 'onSwipeS' => __('On swipe start', 'wds'),
437
- );
438
- $text_alignments = array(
439
- 'center' => __('Center', 'wds'),
440
- 'left' => __('Left', 'wds'),
441
- 'right' => __('Right', 'wds'),
442
- );
443
- $built_in_watermark_fonts = array();
444
- foreach (scandir(path_join(WD_S_DIR, 'fonts')) as $filename) {
445
- if (strpos($filename, '.') === 0) {
446
- continue;
447
- }
448
- else {
449
- $built_in_watermark_fonts[] = $filename;
450
- }
451
- }
452
- if (get_option("wds_theme_version")) {
453
- $fv = TRUE;
454
- $fv_class = 'spider_free_version_label';
455
- $fv_disabled = 'disabled="disabled"';
456
- $fv_message = '<tr><td colspan="2"><div class="wd_error" style="padding: 5px; font-size: 14px; color: #000000 !important;">'. __('Some options are disabled in free version.', 'wds').'</div></td></tr>';
457
- $fv_title = ' title="'.$option_disabled_version.'"';
458
- }
459
- else {
460
- $fv = FALSE;
461
- $fv_class = '';
462
- $fv_disabled = '';
463
- $fv_message = '';
464
- $fv_title = '';
465
- }
466
- global $wp_version;
467
- if (version_compare($wp_version, '4','<')) {
468
- ?>
469
- <style>
470
- #wpwrap {
471
- background-color:#F1F1F1
472
- }
473
-
474
- .tab_button_wrap {
475
- width:46%;
476
- }
477
-
478
- .tab_button_wrap .wds_button-secondary {
479
- margin-right: 7px;
480
- }
481
- @media screen and (max-width: 640px) {
482
- .buttons_div input {
483
- width:31%;
484
- font-size:11px
485
- }
486
-
487
- body{
488
- min-width:inherit !Important;
489
- }
490
-
491
- .tablenav{
492
- height:auto
493
- }
494
-
495
- #wpcontent{
496
- margin-left:40px!important
497
- }
498
- .tab_button_wrap, .buttons_conteiner .wds_buttons .wds_button_wrap {
499
- width:48.5%;
500
- }
501
- .action_buttons {
502
- font-size: 10px !important;
503
- }
504
- .add_social_layer {
505
- padding: 0 7px 1px 35px !important;
506
- }
507
- #TB_window{
508
- top:5% !important
509
- }
510
-
511
- .attachments-browser .attachments{
512
- right:0 !Important
513
- }
514
- .media-modal {
515
- width: 100% !Important;
516
- left:0 !Important;
517
- position:fixed !important
518
- }
519
- .media-sidebar{
520
- bottom:120% !Important;
521
- padding:0 !Important
522
- }
523
- .media-modal-backdrop{
524
- position:fixed !important
525
- }
526
- .uploader-inline{
527
- right:0!important
528
- }
529
-
530
- }
531
- </style>
532
- <?php
533
- }
534
- ?>
535
- <div class="spider_message_cont"></div>
536
- <div class="spider_load">
537
- <div class="spider_load_cont"></div>
538
- <div class="spider_load_icon"><img class="spider_ajax_loading" src="<?php echo WD_S_URL . '/images/ajax_loader_back.gif'; ?>"></div>
539
- </div>
540
- <form class="wrap wds_form" method="post" id="sliders_form" action="admin.php?page=sliders_wds" style="float: left; width: 98%;">
541
- <?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
542
- <span class="slider-icon"></span>
543
- <h2 class="wds_default"><?php echo $page_title; ?></h2>
544
- <div class="buttons_conteiner">
545
- <div class="slider_title_conteiner">
546
- <span class="spider_label"><label for="name"><?php _e('Slider Title', 'wds'); ?> <span style="color:#FF0000;">*</span> </label></span>
547
- <span><input type="text" id="name" name="name" value="<?php echo $row->name; ?>" size="20" class="wds_requried" data-name="<?php _e('Slider title', 'wds'); ?>" /></span>
548
- </div>
549
- <div class="wds_buttons">
550
- <div class="wds_button_wrap">
551
- <input class="wds_button-secondary wds_save_slider" type="button" onclick="spider_set_input_value('task', 'save'); spider_ajax_save('sliders_form', event);" value="<?php _e('Save', 'wds'); ?>" />
552
- </div>
553
- <div class="wds_button_wrap">
554
- <input class="wds_button-secondary wds_apply_slider" type="button" onclick="spider_set_input_value('task', 'apply'); spider_ajax_save('sliders_form', event);" value="<?php _e('Apply', 'wds'); ?>" />
555
- </div>
556
- <div class="wds_button_wrap">
557
- <input class="wds_button-secondary wds_dublicate_slide" type="button" value="<?php _e('Save as Copy', 'wds'); ?>" onclick="if (!wds_check_required()) {return false;};
558
- spider_set_input_value('current_id', '0' );
559
- spider_set_input_value('save_as_copy', '1');
560
- spider_set_input_value('task', 'apply');
561
- spider_ajax_save('sliders_form', event);"
562
- />
563
- </div>
564
- <div class="wds_button_wrap">
565
- <input id="wds_preview" type="button" class="action_buttons" value="<?php _e('Preview', 'wds'); ?>" onclick="spider_set_input_value('task', 'preview'); spider_ajax_save('sliders_form', event); return false;" />
566
- </div>
567
- <div class="wds_button_wrap">
568
- <input type="button" class="wds_button-secondary wds_export_one" onclick="alert('<?php echo $functionality_disabled_version; ?>')" value="<?php _e('Export', 'wds'); ?>" />
569
- </div>
570
- <div class="wds_button_wrap">
571
- <input class="wds_button-secondary last wds_cancel" type="submit" onclick="spider_set_input_value('task', 'cancel')" value="<?php _e('Cancel', 'wds'); ?>" />
572
- </div>
573
- </div>
574
- <div class="wds_clear"></div>
575
- </div>
576
- <div>
577
- <div class="wds_reset_button">
578
- <input class="reset_settings" type="button" onclick="spider_set_input_value('task', 'reset'); spider_ajax_save('sliders_form', event);" value="<?php _e('Reset Settings', 'wds'); ?>" />
579
- </div>
580
- <!--------------Settings tab----------->
581
- <div class="wds_box wds_settings_box">
582
- <table>
583
- <thead>
584
- <tr>
585
- <td colspan="4">
586
- <div class="tab_conteiner">
587
- <div class="tab_button_wrap setting_tab_button_wrap" onclick="wds_change_tab(this, 'wds_settings_box')">
588
- <a class="wds_button-secondary wds_settings" href="#">
589
- <span tab_type="settings" class="wds_tab_label"><?php _e('Settings', 'wds'); ?></span>
590
- </a>
591
- </div>
592
- <div class="tab_button_wrap slides_tab_button_wrap" onclick="wds_change_tab(this, 'wds_slides_box')">
593
- <a class="wds_button-secondary wds_slides" href="#">
594
- <span tab_type="slides" class="wds_tab_label"><?php _e('Slides', 'wds'); ?></span>
595
- </a>
596
- </div>
597
- <div class="clear"></div>
598
- </div>
599
- </td>
600
- </tr>
601
- </thead>
602
- </table>
603
- <div class="wds_nav_tabs">
604
- <div class="wds_menu_icon" onclick="jQuery('.wds_nav_tabs ul').slideToggle(500);"></div>
605
- <ul>
606
- <li tab_type="global" onclick="wds_change_nav(this, 'wds_nav_global_box')">
607
- <a href="#"><?php _e('Global', 'wds'); ?></a>
608
- </li>
609
- <li tab_type="carousel" onclick="wds_change_nav(this, 'wds_nav_carousel_box')">
610
- <a href="#"><?php _e('Carousel', 'wds'); ?></a>
611
- </li>
612
- <li tab_type="navigation" onclick="wds_change_nav(this, 'wds_nav_navigation_box')" >
613
- <a href="#"><?php _e('Navigation', 'wds'); ?></a>
614
- </li>
615
- <li tab_type="bullets" onclick="wds_change_nav(this, 'wds_nav_bullets_box')" >
616
- <a href="#"><?php _e('Bullets', 'wds'); ?></a>
617
- </li>
618
- <li tab_type="filmstrip" onclick="wds_change_nav(this, 'wds_nav_filmstrip_box')" >
619
- <a href="#"><?php _e('Filmstrip', 'wds'); ?></a>
620
- </li>
621
- <li tab_type="timer_bar" onclick="wds_change_nav(this, 'wds_nav_timer_bar_box')" >
622
- <a href="#"><?php _e('Timer bar', 'wds'); ?></a>
623
- </li>
624
- <li tab_type="watermark" onclick="wds_change_nav(this, 'wds_nav_watermark_box')" >
625
- <a href="#"><?php _e('Watermark', 'wds'); ?></a>
626
- </li>
627
- <li tab_type="css" onclick="wds_change_nav(this, 'wds_nav_css_box')" >
628
- <a href="#"><?php _e('CSS', 'wds'); ?></a>
629
- </li>
630
- <li tab_type="callbacks" onclick="wds_change_nav(this, 'wds_nav_callbacks_box')" >
631
- <a href="#"><?php _e('Slider Callbacks', 'wds'); ?></a>
632
- </li>
633
- </ul>
634
- </div>
635
- <div>
636
- <div class="wds_nav_box wds_nav_global_box">
637
- <table>
638
- <tbody>
639
- <tr>
640
- <td class="spider_label"><label><?php _e('Dimensions:', 'wds'); ?> </label></td>
641
- <td>
642
- <input type="text" name="width" id="width" value="<?php echo $row->width; ?>" class="spider_int_input" onchange="wds_whr('width')" onkeypress="return spider_check_isnum(event)" /> x
643
- <input type="text" name="height" id="height" value="<?php echo $row->height; ?>" class="spider_int_input" onchange="wds_whr('height')" onkeypress="return spider_check_isnum(event)" /> px
644
- <div class="spider_description"><?php _e('Maximum width and height for slider.', 'wds'); ?></div>
645
- </td>
646
- </tr>
647
- <tr>
648
- <td class="spider_label"><label for="hide_on_mobile"><?php _e('Hide on small screens:', 'wds'); ?> </label></td>
649
- <td>
650
- <input type="text" id="hide_on_mobile" name="hide_on_mobile" value="<?php echo $row->hide_on_mobile; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
651
- <div class="spider_description"><?php _e('Hide slider when resolution is smaller than.', 'wds'); ?></div>
652
- </td>
653
- </tr>
654
- <tr>
655
- <td class="spider_label"><label><?php _e('Full width:', 'wds'); ?> </label></td>
656
- <td>
657
- <input type="radio" id="full_width1" name="full_width" <?php echo (($row->full_width) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->full_width) ? 'class="selected_color"' : ''); ?> for="full_width1"><?php _e('Yes', 'wds'); ?></label>
658
- <input type="radio" id="full_width0" name="full_width" <?php echo (($row->full_width) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo ($row->full_width) ? '' : 'class="selected_color"'; ?> for="full_width0"><?php _e('No', 'wds'); ?></label>
659
- <input type="text" name="ratio" id="ratio" value="" class="spider_int_input" onchange="wds_whr('ratio')" onkeypress="return spider_check_isnum(event)" /><label for="ratio"><?php _e('Ratio', 'wds'); ?></label>
660
- <div class="spider_description"><?php _e('The image will stretch to the page width, taking the height based on dimensions ratio.', 'wds'); ?></div>
661
- </td>
662
- </tr>
663
- <tr>
664
- <td class="spider_label"><label for="full_width_for_mobile"><?php _e('Full width on small screens:', 'wds'); ?> </label></td>
665
- <td>
666
- <input type="text" id="full_width_for_mobile" name="full_width_for_mobile" value="<?php echo $row->full_width_for_mobile; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
667
- <div class="spider_description"><?php _e('Full width slider when resolution is smaller than.', 'wds'); ?></div>
668
- </td>
669
- </tr>
670
- <tr>
671
- <td class="spider_label"><label><?php _e('Background fit:', 'wds'); ?> </label></td>
672
- <td>
673
- <input onClick="bwg_enable_disable('', 'tr_smart_crop', 'bg_fit_cover')" type="radio" name="bg_fit" id="bg_fit_cover" value="cover" <?php if ($row->bg_fit == 'cover') echo 'checked="checked"'; ?> onchange="jQuery('div[id^=\'wds_preview_image\']').css({backgroundSize: 'cover'})" /><label <?php echo $row->bg_fit == 'cover' ? 'class="selected_color"' : ''; ?> for="bg_fit_cover">Cover</label>
674
- <input onClick="bwg_enable_disable('none', 'tr_smart_crop', 'bg_fit_fill'); jQuery('#smart_crop0').click();" type="radio" name="bg_fit" id="bg_fit_fill" value="100% 100%" <?php if ($row->bg_fit == '100% 100%') echo 'checked="checked"'; ?> onchange="jQuery('div[id^=\'wds_preview_image\']').css({backgroundSize: '100% 100%'})" /><label <?php echo $row->bg_fit == '100% 100%' ? 'class="selected_color"' : ''; ?> for="bg_fit_fill"><?php _e('Fill', 'wds'); ?></label>
675
- <input onClick="bwg_enable_disable('', 'tr_smart_crop', 'bg_fit_contain')" type="radio" name="bg_fit" id="bg_fit_contain" value="contain" <?php if ($row->bg_fit == 'contain') echo 'checked="checked"'; ?> onchange="jQuery('div[id^=\'wds_preview_image\']').css({backgroundSize: 'contain'})" /><label <?php echo $row->bg_fit == 'contain' ? 'class="selected_color"' : ''; ?> for="bg_fit_contain"><?php _e('Contain', 'wds'); ?></label>
676
- </td>
677
- </tr>
678
- <tr id="tr_smart_crop">
679
- <td class="spider_label"><label><?php _e('Smart Crop', 'wds'); ?></label></td>
680
- <td>
681
- <input onClick="bwg_enable_disable('', 'tr_crop_pos', 'smart_crop1')" type="radio" id="smart_crop1" name="smart_crop" <?php echo (($row->smart_crop) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->smart_crop) ? 'class="selected_color"' : ''); ?> for="smart_crop1"><?php _e('Yes', 'wds'); ?></label>
682
- <input onClick="bwg_enable_disable('none', 'tr_crop_pos', 'smart_crop0')" type="radio" id="smart_crop0" name="smart_crop" <?php echo (($row->smart_crop) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo ((!$row->smart_crop) ? 'class="selected_color"' : ''); ?> for="smart_crop0"><?php _e('No', 'wds'); ?></label>
683
- <div class="spider_description"></div>
684
- </td>
685
- </tr>
686
- <tr id="tr_crop_pos">
687
- <td class="spider_label_options">
688
- <label for="smart_crop"><?php _e('Crop Image Position', 'wds'); ?></label>
689
- </td>
690
- <td>
691
- <table class="wds_position_table">
692
- <tbody>
693
- <tr>
694
- <td class="wds_position_td"><input type="radio" value="left top" name="crop_image_position" <?php if ($row->crop_image_position == "left top") echo 'checked="checked"'; ?> ></td>
695
- <td class="wds_position_td"><input type="radio" value="center top" name="crop_image_position" <?php if ($row->crop_image_position == "center top") echo 'checked="checked"'; ?> ></td>
696
- <td class="wds_position_td"><input type="radio" value="right top" name="crop_image_position" <?php if ($row->crop_image_position == "right top") echo 'checked="checked"'; ?> ></td>
697
- </tr>
698
- <tr>
699
- <td class="wds_position_td"><input type="radio" value="left center" name="crop_image_position" <?php if ($row->crop_image_position == "left center") echo 'checked="checked"'; ?> ></td>
700
- <td class="wds_position_td"><input type="radio" value="center center" name="crop_image_position" <?php if ($row->crop_image_position == "center center") echo 'checked="checked"'; ?> ></td>
701
- <td class="wds_position_td"><input type="radio" value="right center" name="crop_image_position" <?php if ($row->crop_image_position == "right center") echo 'checked="checked"'; ?> ></td>
702
- </tr>
703
- <tr>
704
- <td class="wds_position_td"><input type="radio" value="left bottom" name="crop_image_position" <?php if ($row->crop_image_position == "left bottom") echo 'checked="checked"'; ?> ></td>
705
- <td class="wds_position_td"><input type="radio" value="center bottom" name="crop_image_position" <?php if ($row->crop_image_position == "center bottom") echo 'checked="checked"'; ?> ></td>
706
- <td class="wds_position_td"><input type="radio" value="right bottom" name="crop_image_position" <?php if ($row->crop_image_position == "right bottom") echo 'checked="checked"'; ?> ></td>
707
- </tr>
708
- </tbody>
709
- </table>
710
- </td>
711
- </tr>
712
- <tr>
713
- <td class="spider_label"><label><?php _e('Fixed background:', 'wds'); ?></label></td>
714
- <td>
715
- <input type="radio" id="fixed_bg1" name="fixed_bg" <?php echo (($row->fixed_bg) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->fixed_bg) ? 'class="selected_color"' : ''); ?> for="fixed_bg1"><?php _e('Yes', 'wds'); ?></label>
716
- <input type="radio" id="fixed_bg0" name="fixed_bg" <?php echo (($row->fixed_bg) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo ((!$row->fixed_bg) ? 'class="selected_color"' : ''); ?> for="fixed_bg0"><?php _e('No', 'wds'); ?></label>
717
- <div class="spider_description"></div>
718
- </td>
719
- </tr>
720
- <tr>
721
- <td class="spider_label"><label><?php _e('Slides order direction:', 'wds'); ?></label></td>
722
- <td>
723
- <input type="radio" id="order_dir1" name="order_dir" <?php echo checked('asc', $row->order_dir); ?> value="asc" /><label <?php echo (($row->order_dir == 'asc') ? 'class="selected_color"' : ''); ?> for="order_dir1">Ascending</label>
724
- <input type="radio" id="order_dir0" name="order_dir" <?php checked('desc', $row->order_dir); ?> value="desc" /><label <?php echo (($row->order_dir == 'desc') ? 'class="selected_color"' : ''); ?> for="order_dir0">Descending</label>
725
- <div class="spider_description"></div>
726
- </td>
727
- </tr>
728
- <tr>
729
- <td class="spider_label"><label for="align"><?php _e('Align:', 'wds'); ?></label></td>
730
- <td>
731
- <select class="select_icon select_icon_320" name="align" id="align">
732
- <?php
733
- foreach ($aligns as $key => $align) {
734
- ?>
735
- <option value="<?php echo $key; ?>" <?php echo (($row->align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
736
- <?php
737
- }
738
- ?>
739
- </select>
740
- <div class="spider_description"><?php _e('Set the alignment of the slider.', 'wds'); ?></div>
741
- </td>
742
- </tr>
743
- <tr>
744
- <td class="spider_label_options">
745
- <label for="effect"><?php _e('Effect:', 'wds'); ?></label>
746
- </td>
747
- <td>
748
- <select class="select_icon select_icon_320" name="effect" id="effect">
749
- <?php
750
- foreach ($effects as $key => $effect) {
751
- ?>
752
- <option value="<?php echo $key; ?>" <?php echo (!in_array($key, $free_effects)) ? 'disabled="disabled" title="'.__('This effect is disabled in free version.', 'wds').'"' : ''; ?> <?php if ($row->effect == $key) echo 'selected="selected"'; ?>><?php echo $effect; ?></option>
753
- <?php
754
- }
755
- ?>
756
- </select>
757
- <div class="spider_description spider_free_version"><?php _e('Some effects are disabled in free version.', 'wds'); ?></div>
758
- </td>
759
- </tr>
760
- <tr>
761
- <td class="spider_label"><label for="effect_duration"><?php _e('Effect duration:', 'wds'); ?></label></td>
762
- <td>
763
- <input type="text" id="effect_duration" name="effect_duration" value="<?php echo $row->effect_duration; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> <?php _e('ms', 'wds'); ?>
764
- <div class="spider_description"><?php _e('Define the time for the effect.', 'wds'); ?></div>
765
- </td>
766
- </tr>
767
- <tr>
768
- <td class="spider_label spider_free_version_label"><label><?php _e('Parallax Effect:', 'wds'); ?></label></td>
769
- <td title="<?php echo $option_disabled_version; ?>">
770
- <input disabled="disabled" type="radio" id="parallax_effect1" name="parallax_effect" <?php echo (($row->parallax_effect) ? 'checked="checked"' : ''); ?> value="1" /><label for="parallax_effect1"><?php _e('Yes', 'wds'); ?></label>
771
- <input disabled="disabled" type="radio" id="parallax_effect0" name="parallax_effect" <?php echo (($row->parallax_effect) ? '' : 'checked="checked"'); ?> value="0" /><label for="parallax_effect0"><?php _e('No', 'wds'); ?></label>
772
- <div class="spider_description"><?php _e('The direction of the movement, as well as the layer moving pace depend on the z-index value.', 'wds'); ?></div>
773
- </td>
774
- </tr>
775
- <tr>
776
- <td class="spider_label"><label><?php _e('Autoplay:', 'wds'); ?></label></td>
777
- <td>
778
- <input type="radio" id="autoplay1" name="autoplay" <?php echo (($row->autoplay) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->autoplay) ? 'class="selected_color"' : ''); ?> for="autoplay1"><?php _e('Yes', 'wds'); ?></label>
779
- <input type="radio" id="autoplay0" name="autoplay" <?php echo (($row->autoplay) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->autoplay) ? '' : 'class="selected_color"'); ?> for="autoplay0"><?php _e('No', 'wds'); ?></label>
780
- <div class="spider_description"><?php _e('Choose whether to autoplay the sliders or not.', 'wds'); ?></div>
781
- </td>
782
- </tr>
783
- <tr>
784
- <td class="spider_label"><label><?php _e('Two way slideshow:', 'wds'); ?></label></td>
785
- <td>
786
- <input type="radio" id="twoway_slideshow1" name="twoway_slideshow" <?php echo (($row->twoway_slideshow) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->twoway_slideshow) ? 'class="selected_color"' : ''); ?> for="twoway_slideshow1"><?php _e('Yes', 'wds'); ?></label>
787
- <input type="radio" id="twoway_slideshow0" name="twoway_slideshow" <?php echo (($row->twoway_slideshow) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->twoway_slideshow) ? '' : 'class="selected_color"'); ?> for="twoway_slideshow0"><?php _e('No', 'wds'); ?></label>
788
- <div class="spider_description"><?php _e('Slideshow can go backwards if someone switch to a previous slide.', 'wds'); ?></div>
789
- </td>
790
- </tr>
791
- <tr>
792
- <td class="spider_label"><label><?php _e('Enable loop:', 'wds'); ?></label></td>
793
- <td>
794
- <input type="radio" id="slider_loop1" name="slider_loop" <?php echo (($row->slider_loop) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->slider_loop) ? 'class="selected_color"' : ''); ?> for="slider_loop1"><?php _e('Yes', 'wds'); ?></label>
795
- <input type="radio" id="slider_loop0" name="slider_loop" <?php echo (($row->slider_loop) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->slider_loop) ? '' : 'class="selected_color"'); ?> for="slider_loop0"><?php _e('No', 'wds'); ?></label>
796
- <div class="spider_description"></div>
797
- </td>
798
- </tr>
799
- <tr>
800
- <td class="spider_label"><label for="time_intervval"><?php _e('Time Interval:', 'wds'); ?></label></td>
801
- <td>
802
- <input type="text" id="time_intervval" name="time_intervval" value="<?php echo $row->time_intervval; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> <?php _e('sec.', 'wds'); ?>
803
- <div class="spider_description"><?php _e('Set the time interval for the change of the sliders when autoplay is on.', 'wds'); ?></div>
804
- </td>
805
- </tr>
806
- <tr>
807
- <td class="spider_label"><label><?php _e('Stop on hover:', 'wds'); ?></label></td>
808
- <td>
809
- <input type="radio" id="stop_animation1" name="stop_animation" <?php echo (($row->stop_animation) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->stop_animation) ? 'class="selected_color"' : ''); ?> for="stop_animation1"><?php _e('Yes', 'wds'); ?></label>
810
- <input type="radio" id="stop_animation0" name="stop_animation" <?php echo (($row->stop_animation) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->stop_animation) ? '' : 'class="selected_color"'); ?> for="stop_animation0"><?php _e('No', 'wds'); ?></label>
811
- <div class="spider_description"><?php _e('The option works when autoplay is on.', 'wds'); ?></div>
812
- </td>
813
- </tr>
814
- <tr>
815
- <td class="spider_label"><label><?php _e('Shuffle:', 'wds'); ?></label></td>
816
- <td>
817
- <input type="radio" id="shuffle1" name="shuffle" <?php echo (($row->shuffle) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->shuffle) ? 'class="selected_color"' : ''); ?> for="shuffle1"><?php _e('Yes', 'wds'); ?></label>
818
- <input type="radio" id="shuffle0" name="shuffle" <?php echo (($row->shuffle) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->shuffle) ? '' : 'class="selected_color"'); ?> for="shuffle0"><?php _e('No', 'wds'); ?></label>
819
- <div class="spider_description"><?php _e('Choose whether to have the slides change in a random manner or to keep the original sequence.', 'wds'); ?></div>
820
- </td>
821
- </tr>
822
- <tr>
823
- <td class="spider_label"><label for="start_slide_num"><?php _e('Start with slide:', 'wds'); ?></label></td>
824
- <td>
825
- <input type="text" name="start_slide_num" id="start_slide_num" value="<?php echo $row->start_slide_num; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" />
826
- <div class="spider_description"><?php _e('The slider will start with the specified slide. You can use the value 0 for random.', 'wds'); ?></div>
827
- </td>
828
- </tr>
829
- <tr>
830
- <td class="spider_label"><label><?php _e('Music:', 'wds'); ?></label></td>
831
- <td>
832
- <input type="radio" id="music1" name="music" <?php echo (($row->music) ? 'checked="checked"' : ''); ?> value="1" onClick="bwg_enable_disable('', 'tr_music_url', 'music1')" /><label <?php echo (($row->music) ? 'class="selected_color"' : ''); ?> for="music1"><?php _e('Yes', 'wds'); ?></label>
833
- <input type="radio" id="music0" name="music" <?php echo (($row->music) ? '' : 'checked="checked"'); ?> value="0" onClick="bwg_enable_disable('none', 'tr_music_url', 'music0')" /><label <?php echo (($row->music) ? '' : 'class="selected_color"'); ?> for="music0"><?php _e('No', 'wds'); ?></label>
834
- <div class="spider_description"><?php _e('Choose whether to have music/audio track playback with the slider or not.', 'wds'); ?></div>
835
- </td>
836
- </tr>
837
- <tr id="tr_music_url">
838
- <td class="spider_label_options">
839
- <label for="music_url"><?php _e('Music url:', 'wds'); ?></label>
840
- </td>
841
- <td>
842
- <input type="text" id="music_url" name="music_url" size="39" value="<?php echo $row->music_url; ?>" style="display:inline-block;" />
843
- <input id="add_music_url" class="wds_not_image_buttons" type="button" onclick="spider_media_uploader('music', event, false); return false;" value="<?php _e('Add music', 'wds'); ?>" />
844
- <div class="spider_description"><?php _e('Only .aac,.m4a,.f4a,.mp3,.ogg,.oga formats are supported.', 'wds'); ?></div>
845
- </td>
846
- </tr>
847
- <tr>
848
- <td class="spider_label"><label><?php _e('Smart Load:', 'wds'); ?></label></td>
849
- <td>
850
- <input type="radio" id="preload_images1" name="preload_images" <?php echo (($row->preload_images) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->preload_images) ? 'class="selected_color"' : ''); ?> for="preload_images1"><?php _e('Yes', 'wds'); ?></label>
851
- <input type="radio" id="preload_images0" name="preload_images" <?php echo (($row->preload_images) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->preload_images) ? '' : 'class="selected_color"'); ?> for="preload_images0"><?php _e('No', 'wds'); ?></label>
852
- <div class="spider_description"><?php _e('Choose to have faster load for the first few images and process the rest meanwhile.', 'wds'); ?></div>
853
- </td>
854
- </tr>
855
- <tr>
856
- <td class="spider_label"><label for="background_color"><?php _e('Background color:', 'wds'); ?></label></td>
857
- <td>
858
- <input type="text" name="background_color" id="background_color" value="<?php echo $row->background_color; ?>" class="color" onchange="jQuery('div[id^=\'wds_preview_image\']').css({backgroundColor: wds_hex_rgba(jQuery(this).val(), 100 - jQuery('#background_transparent').val())})" />
859
- <input id="background_transparent" name="background_transparent" class="spider_int_input" type="text" onchange="jQuery('div[id^=\'wds_preview_image\']').css({backgroundColor: wds_hex_rgba(jQuery('#background_color').val(), 100 - jQuery(this).val())})" onkeypress="return spider_check_isnum(event)" value="<?php echo $row->background_transparent; ?>" /> %
860
- <div class="spider_description"><?php _e('Transparency value must be between 0 to 100.', 'wds'); ?></div>
861
- </td>
862
- </tr>
863
- <tr>
864
- <td class="spider_label"><label for="glb_border_width"><?php _e('Border:', 'wds'); ?></label></td>
865
- <td>
866
- <input type="text" name="glb_border_width" id="glb_border_width" value="<?php echo $row->glb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
867
- <select class="select_icon select_icon_320" name="glb_border_style" id="glb_border_style">
868
- <?php
869
- foreach ($border_styles as $key => $border_style) {
870
- ?>
871
- <option value="<?php echo $key; ?>" <?php echo (($row->glb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
872
- <?php
873
- }
874
- ?>
875
- </select>
876
- <input type="text" name="glb_border_color" id="glb_border_color" value="<?php echo $row->glb_border_color; ?>" class="color" />
877
- <div class="spider_description"><?php _e('Set the border width, type and the color.', 'wds'); ?></div>
878
- </td>
879
- </tr>
880
- <tr>
881
- <td class="spider_label"><label for="glb_border_radius"><?php _e('Border radius:', 'wds'); ?></label></td>
882
- <td>
883
- <input type="text" name="glb_border_radius" id="glb_border_radius" value="<?php echo $row->glb_border_radius; ?>" class="spider_char_input" />
884
- <div class="spider_description"><?php _e('Use CSS type values.', 'wds'); ?></div>
885
- </td>
886
- </tr>
887
- <tr>
888
- <td class="spider_label"><label for="glb_margin"><?php _e('Margin:', 'wds'); ?></label></td>
889
- <td>
890
- <input type="text" name="glb_margin" id="glb_margin" value="<?php echo $row->glb_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
891
- <div class="spider_description"><?php _e('Set a margin for the slider.', 'wds'); ?></div>
892
- </td>
893
- </tr>
894
- <tr>
895
- <td class="spider_label"><label for="glb_box_shadow"><?php _e('Shadow:', 'wds'); ?></label></td>
896
- <td>
897
- <input type="text" name="glb_box_shadow" id="glb_box_shadow" value="<?php echo $row->glb_box_shadow; ?>" class="spider_box_input" />
898
- <div class="spider_description"><?php _e('Use CSS type values (e.g. 10px 10px 5px #888888).', 'wds'); ?></div>
899
- </td>
900
- </tr>
901
- <tr>
902
- <td class="spider_label_options">
903
- <label><?php _e('Right click protection:', 'wds'); ?></label>
904
- </td>
905
- <td>
906
- <input type="radio" name="image_right_click" id="image_right_click_1" value="1" <?php if ($row->image_right_click) echo 'checked="checked"'; ?> /><label <?php echo $row->image_right_click ? 'class="selected_color"' : ''; ?> for="image_right_click_1"><?php _e('Yes', 'wds'); ?></label>
907
- <input type="radio" name="image_right_click" id="image_right_click_0" value="0" <?php if (!$row->image_right_click) echo 'checked="checked"'; ?> /><label <?php echo $row->image_right_click ? '' : 'class="selected_color"'; ?> for="image_right_click_0"><?php _e('No', 'wds'); ?></label>
908
- <div class="spider_description"><?php _e('Disable image right click possibility.', 'wds'); ?></div>
909
- </td>
910
- </tr>
911
- <tr>
912
- <td class="spider_label_options">
913
- <label><?php _e('Layer out on next:', 'wds'); ?></label>
914
- </td>
915
- <td>
916
- <input type="radio" name="layer_out_next" id="layer_out_next_1" value="1" <?php if ($row->layer_out_next) echo 'checked="checked"'; ?> /><label <?php echo $row->layer_out_next ? 'class="selected_color"' : ''; ?> for="layer_out_next_1"><?php _e('Yes', 'wds'); ?></label>
917
- <input type="radio" name="layer_out_next" id="layer_out_next_0" value="0" <?php if (!$row->layer_out_next) echo 'checked="checked"'; ?> /><label <?php echo $row->layer_out_next ? '' : 'class="selected_color"'; ?> for="layer_out_next_0"><?php _e('No', 'wds'); ?></label>
918
- <div class="spider_description"><?php _e('Choose whether to have the layer effect out regardless of the timing between the hit to the next slider or skip the effect out and get to the next image.', 'wds'); ?></div>
919
- </td>
920
- </tr>
921
- <tr>
922
- <td class="spider_label"><label><?php _e('Published:', 'wds'); ?></label></td>
923
- <td>
924
- <input type="radio" id="published1" name="published" <?php echo (($row->published) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->published) ? 'class="selected_color"' : ''); ?> for="published1"><?php _e('Yes', 'wds'); ?></label>
925
- <input type="radio" id="published0" name="published" <?php echo (($row->published) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->published) ? '' : 'class="selected_color"'); ?> for="published0"><?php _e('No', 'wds');?></label>
926
- <div class="spider_description"><?php _e('Choose whether to publish the mentioned slider or not.', 'wds'); ?></div>
927
- </td>
928
- </tr>
929
- </tbody>
930
- </table>
931
- </div>
932
- <div class="wds_nav_box wds_nav_carousel_box spider_free_version_label" title="<?php echo $functionality_disabled_version; ?>">
933
- <table>
934
- <tbody>
935
- <tr>
936
- <td colspan="2">
937
- <div class="wd_error" style="padding: 5px; font-size: 14px; color: #000000 !important;"><?php _e('Carousel is disabled in free version.', 'wds'); ?></div>
938
- </td>
939
- </tr>
940
- <tr>
941
- <td class="spider_label"><label><?php _e('Carousel:', 'wds'); ?></label></td>
942
- <td>
943
- <input disabled="disabled" type="radio" id="carousel1" name="carousel" <?php echo (($row->carousel) ? 'checked="checked"' : ''); ?> value="1" onClick="showhide_for_carousel_fildes(1)" /><label for="carousel1"><?php _e('Yes', 'wds'); ?></label>
944
- <input disabled="disabled" type="radio" id="carousel0" name="carousel" <?php echo (($row->carousel) ? '' : 'checked="checked"'); ?> value="0" onClick="showhide_for_carousel_fildes(0)" /><label for="carousel0"><?php _e('No', 'wds'); ?></label>
945
- <div class="spider_description"><?php _e('If you activate this feature the effects you had chosen in Global settings for your slider will not play.', 'wds'); ?></div>
946
- </td>
947
- </tr>
948
- </tbody>
949
- <tbody id="carousel_fildes">
950
- <tr>
951
- <td class="spider_label"><label for="carousel_image_counts"><?php _e('Number of images for carousel:', 'wds'); ?></label></td>
952
- <td>
953
- <input disabled="disabled" type="text" id="carousel_image_counts" name="carousel_image_counts" value="<?php echo $row->carousel_image_counts; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" />
954
- <div class="spider_description"></div>
955
- </td>
956
- </tr>
957
- <tr>
958
- <td class="spider_label"><label for="carousel_image_parameters"><?php _e('Carousel image ratio:', 'wds'); ?></label></td>
959
- <td>
960
- <input disabled="disabled" type="text" id="carousel_image_parameters" name="carousel_image_parameters" value="<?php echo $row->carousel_image_parameters; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" />
961
- <div class="spider_description"><?php _e('The value must be between 0 and 1.', 'wds'); ?></div>
962
- </td>
963
- </tr>
964
- <tr>
965
- <td class="spider_label"><label><?php _e('Container fit:', 'wds'); ?></label></td>
966
- <td>
967
- <input disabled="disabled" type="radio" id="carousel_fit_containerWidth1" name="carousel_fit_containerWidth" <?php echo (($row->carousel_fit_containerWidth) ? 'checked="checked"' : ''); ?> value="1" /><label for="carousel_fit_containerWidth1"><?php _e('Yes', 'wds'); ?></label>
968
- <input disabled="disabled" type="radio" id="carousel_fit_containerWidth0" name="carousel_fit_containerWidth" <?php echo (($row->carousel_fit_containerWidth) ? '' : 'checked="checked"'); ?> value="0" /><label for="carousel_fit_containerWidth0"><?php _e('No', 'wds'); ?></label>
969
- <div class="spider_description"></div>
970
- </td>
971
- </tr>
972
- <tr>
973
- <td class="spider_label"><label for="carousel_width"><?php _e('Fixed width:', 'wds'); ?></label></td>
974
- <td>
975
- <input disabled="disabled" type="text" id="carousel_width" name="carousel_width" value="<?php echo $row->carousel_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
976
- <div class="spider_description"></div>
977
- </td>
978
- </tr>
979
- <tr>
980
- <td class="spider_label"><label for="carousel_degree"><?php _e('Background image angle:', 'wds'); ?></label></td>
981
- <td>
982
- <input type="text" id="carousel_degree" name="carousel_degree" value="<?php echo $row->carousel_degree; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> deg
983
- <div class="spider_description"></div>
984
- </td>
985
- </tr>
986
- <tr>
987
- <td class="spider_label"><label for="carousel_grayscale"><?php _e('Background image grayscale:', 'wds'); ?></label></td>
988
- <td>
989
- <input type="text" name="carousel_grayscale" id="carousel_grayscale" value="<?php echo $row->carousel_grayscale; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/>%
990
- <div class="spider_description"><?php _e('You can change the color scheme for background images to grayscale. Values must be between 0 to 100', 'wds'); ?></div>
991
- </td>
992
- </tr>
993
- <tr>
994
- <td class="spider_label"><label for="carousel_transparency"><?php _e('Background image transparency:', 'wds'); ?></label></td>
995
- <td>
996
- <input type="text" name="carousel_transparency" id="carousel_transparency" value="<?php echo $row->carousel_transparency; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/>%
997
- <div class="spider_description"><?php _e('You can set transparency level for background images. Values should be between 0 to 100', 'wds'); ?></div>
998
- </td>
999
- </tr>
1000
- </tbody>
1001
- </table>
1002
- </div>
1003
- <div class="wds_nav_box wds_nav_navigation_box">
1004
- <table>
1005
- <tbody>
1006
- <tr>
1007
- <td class="spider_label_options">
1008
- <label><?php _e('Next / Previous buttons:', 'wds'); ?></label>
1009
- </td>
1010
- <td>
1011
- <input type="radio" name="prev_next_butt" id="prev_next_butt_1" value="1" <?php if ($row->prev_next_butt) echo 'checked="checked"'; ?> /><label <?php echo $row->prev_next_butt ? 'class="selected_color"' : ''; ?> for="prev_next_butt_1"><?php _e('Yes', 'wds'); ?></label>
1012
- <input type="radio" name="prev_next_butt" id="prev_next_butt_0" value="0" <?php if (!$row->prev_next_butt) echo 'checked="checked"'; ?> /><label <?php echo $row->prev_next_butt ? '' : 'class="selected_color"'; ?> for="prev_next_butt_0"><?php _e('No', 'wds'); ?></label>
1013
- <div class="spider_description"><?php _e('Choose whether to display Previous and Next buttons or not.', 'wds'); ?></div>
1014
- </td>
1015
- </tr>
1016
- <tr>
1017
- <td class="spider_label_options">
1018
- <label><?php _e('Mouse swipe navigation:', 'wds'); ?></label>
1019
- </td>
1020
- <td>
1021
- <input type="radio" name="mouse_swipe_nav" id="mouse_swipe_nav_1" value="1" <?php if ($row->mouse_swipe_nav) echo 'checked="checked"'; ?> /><label <?php echo $row->mouse_swipe_nav ? 'class="selected_color"' : ''; ?> for="mouse_swipe_nav_1"><?php _e('Yes', 'wds'); ?></label>
1022
- <input type="radio" name="mouse_swipe_nav" id="mouse_swipe_nav_0" value="0" <?php if (!$row->mouse_swipe_nav) echo 'checked="checked"'; ?> /><label <?php echo $row->mouse_swipe_nav ? '' : 'class="selected_color"'; ?> for="mouse_swipe_nav_0"><?php _e('No', 'wds'); ?></label>
1023
- <div class="spider_description"></div>
1024
- </td>
1025
- </tr>
1026
- <tr>
1027
- <td class="spider_label_options">
1028
- <label><?php _e('Touch swipe navigation:', 'wds'); ?></label>
1029
- </td>
1030
- <td>
1031
- <input type="radio" name="touch_swipe_nav" id="touch_swipe_nav_1" value="1" <?php if ($row->touch_swipe_nav) echo 'checked="checked"'; ?> /><label <?php echo $row->touch_swipe_nav ? 'class="selected_color"' : ''; ?> for="touch_swipe_nav_1"><?php _e('Yes', 'wds'); ?></label>
1032
- <input type="radio" name="touch_swipe_nav" id="touch_swipe_nav_0" value="0" <?php if (!$row->touch_swipe_nav) echo 'checked="checked"'; ?> /><label <?php echo $row->touch_swipe_nav ? '' : 'class="selected_color"'; ?> for="touch_swipe_nav_0"><?php _e('No', 'wds'); ?></label>
1033
- <div class="spider_description"></div>
1034
- </td>
1035
- </tr>
1036
- <tr>
1037
- <td class="spider_label_options">
1038
- <label><?php _e('Mouse wheel navigation:', 'wds'); ?></label>
1039
- </td>
1040
- <td>
1041
- <input type="radio" name="mouse_wheel_nav" id="mouse_wheel_nav_1" value="1" <?php if ($row->mouse_wheel_nav) echo 'checked="checked"'; ?> /><label <?php echo $row->mouse_wheel_nav ? 'class="selected_color"' : ''; ?> for="mouse_wheel_nav_1"><?php _e('Yes', 'wds'); ?></label>
1042
- <input type="radio" name="mouse_wheel_nav" id="mouse_wheel_nav_0" value="0" <?php if (!$row->mouse_wheel_nav) echo 'checked="checked"'; ?> /><label <?php echo $row->mouse_wheel_nav ? '' : 'class="selected_color"'; ?> for="mouse_wheel_nav_0"><?php _e('No', 'wds'); ?></label>
1043
- <div class="spider_description"></div>
1044
- </td>
1045
- </tr>
1046
- <tr>
1047
- <td class="spider_label_options">
1048
- <label><?php _e('Keyboard navigation:', 'wds'); ?></label>
1049
- </td>
1050
- <td>
1051
- <input type="radio" name="keyboard_nav" id="keyboard_nav_1" value="1" <?php if ($row->keyboard_nav) echo 'checked="checked"'; ?> /><label <?php echo $row->keyboard_nav ? 'class="selected_color"' : ''; ?> for="keyboard_nav_1"><?php _e('Yes', 'wds'); ?></label>
1052
- <input type="radio" name="keyboard_nav" id="keyboard_nav_0" value="0" <?php if (!$row->keyboard_nav) echo 'checked="checked"'; ?> /><label <?php echo $row->keyboard_nav ? '' : 'class="selected_color"'; ?> for="keyboard_nav_0"><?php _e('No', 'wds'); ?></label>
1053
- <div class="spider_description"></div>
1054
- </td>
1055
- </tr>
1056
- <tr>
1057
- <td class="spider_label_options">
1058
- <label><?php _e('Show Navigation buttons:', 'wds'); ?></label>
1059
- </td>
1060
- <td>
1061
- <input type="radio" name="navigation" id="navigation_1" value="hover" <?php if ($row->navigation == 'hover') echo 'checked="checked"'; ?> /><label <?php echo $row->navigation == 'hover' ? 'class="selected_color"' : ''; ?> for="navigation_1"><?php _e('On hover', 'wds'); ?></label>
1062
- <input type="radio" name="navigation" id="navigation_0" value="always" <?php if ($row->navigation == 'always' ) echo 'checked="checked"'; ?> /><label <?php echo $row->navigation == 'always' ? 'class="selected_color"' : ''; ?> for="navigation_0"><?php _e('Always', 'wds'); ?></label>
1063
- <div class="spider_description"><?php _e('Select between the option of always displaying the navigation buttons or only when hovered.', 'wds'); ?></div>
1064
- </td>
1065
- </tr>
1066
- <tr>
1067
- <td class="spider_label_options">
1068
- <label><?php _e('Image for Next / Previous buttons:', 'wds'); ?></label>
1069
- </td>
1070
- <td>
1071
- <input type="radio" name="rl_butt_img_or_not" id="rl_butt_img_or_not_our" value="our" <?php if ($row->rl_butt_img_or_not == 'our') echo 'checked="checked"'; ?> onClick="image_for_next_prev_butt('our')" /><label <?php if ($row->rl_butt_img_or_not == 'our') echo 'class="selected_color"'; ?> for="rl_butt_img_or_not_our"><?php _e('Default', 'wds'); ?></label>
1072
- <input type="radio" name="rl_butt_img_or_not" id="rl_butt_img_or_not_cust" value="custom" <?php if ($row->rl_butt_img_or_not == 'custom') echo 'checked="checked"'; ?> onClick="image_for_next_prev_butt('custom')" /><label <?php if ($row->rl_butt_img_or_not == 'custom') echo 'class="selected_color"'; ?> for="rl_butt_img_or_not_cust"><?php _e('Custom', 'wds'); ?></label>
1073
- <input type="radio" name="rl_butt_img_or_not" id="rl_butt_img_or_not_style" value="style" <?php if ($row->rl_butt_img_or_not == 'style') echo 'checked="checked"'; ?> onClick="image_for_next_prev_butt('style')" /><label <?php if ($row->rl_butt_img_or_not == 'style') echo 'class="selected_color"'; ?> for="rl_butt_img_or_not_style"><?php _e('Styled', 'wds'); ?></label>
1074
- <input type="hidden" id="right_butt_url" name="right_butt_url" value="<?php echo $row->right_butt_url; ?>" />
1075
- <input type="hidden" id="right_butt_hov_url" name="right_butt_hov_url" value="<?php echo $row->right_butt_hov_url; ?>" />
1076
- <input type="hidden" id="left_butt_url" name="left_butt_url" value="<?php echo $row->left_butt_url; ?>" />
1077
- <input type="hidden" id="left_butt_hov_url" name="left_butt_hov_url" value="<?php echo $row->left_butt_hov_url; ?>" />
1078
- <div class="spider_description"><?php _e('Choose whether to use default navigation buttons or to upload custom ones.', 'wds'); ?></div>
1079
- </td>
1080
- </tr>
1081
- </tbody>
1082
- <tbody class="<?php echo $fv_class; ?>"<?php echo $fv_title; ?>>
1083
- <?php echo $fv_message; ?>
1084
- <tr id="right_left_butt_style">
1085
- <td class="spider_label <?php echo $fv_class; ?>"><label for="rl_butt_style"><?php _e('Next / Previous buttons style:', 'wds'); ?></label></td>
1086
- <td>
1087
- <div style="display: table;">
1088
- <div style="display: table-cell; vertical-align: middle;">
1089
- <select class="select_icon select_icon_320" name="rl_butt_style" id="rl_butt_style" onchange="change_rl_butt_style(jQuery(this).val())">
1090
- <?php
1091
- foreach ($button_styles as $key => $button_style) {
1092
- ?>
1093
- <option value="<?php echo $key; ?>" <?php echo (($row->rl_butt_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $button_style; ?></option>
1094
- <?php
1095
- }
1096
- ?>
1097
- </select>
1098
- </div>
1099
- <div style="display: table-cell; vertical-align: middle; background-color: rgba(229, 229, 229, 0.62); text-align: center;">
1100
- <i id="wds_left_style" class="fa <?php echo $row->rl_butt_style; ?>-left" style="color: #<?php echo $row->butts_color; ?>; display: inline-block; font-size: 40px; width: 40px; height: 40px;"></i>
1101
- <i id="wds_right_style" class="fa <?php echo $row->rl_butt_style; ?>-right" style="color: #<?php echo $row->butts_color; ?>; display: inline-block; font-size: 40px; width: 40px; height: 40px;"></i>
1102
- </div>
1103
- </div>
1104
- <div class="spider_description"><?php _e('Choose the style of the button you prefer to have as navigation buttons.', 'wds'); ?></div>
1105
- </td>
1106
- </tr>
1107
- <tr id="right_butt_upl">
1108
- <td class="spider_label_options" style="vertical-align: middle;">
1109
- <label><?php _e('Upload buttons images:', 'wds'); ?></label>
1110
- </td>
1111
- <td>
1112
- <div style="display: table;">
1113
- <div style="display: table-cell; vertical-align: middle;" class="display_block">
1114
- <input class="wds_nav_buttons wds_ctrl_btn_upload wds_free_button" type="button" value="<?php _e('Previous Button', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1115
- <input class="wds_nav_buttons wds_ctrl_btn_upload wds_free_button" type="button" value="<?php _e('Previous Button Hover', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1116
- </div>
1117
- <div style="display: table-cell; vertical-align: middle;" class="display_block">
1118
- <input class="wds_nav_buttons wds_ctrl_btn_upload wds_free_button" type="button" value="<?php _e('Next Button', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1119
- <input class="wds_nav_buttons wds_ctrl_btn_upload wds_free_button" type="button" value="<?php _e('Next Button Hover', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1120
- </div>
1121
- <div style="width:100px; display: table-cell; vertical-align: middle; text-align: center;background-color: rgba(229, 229, 229, 0.62); padding-top: 4px; border-radius: 3px;" class="display_block">
1122
- <img id="left_butt_img" src="<?php echo $row->left_butt_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1123
- <img id="right_butt_img" src="<?php echo $row->right_butt_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1124
- <img id="left_butt_hov_img" src="<?php echo $row->left_butt_hov_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1125
- <img id="right_butt_hov_img" src="<?php echo $row->right_butt_hov_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1126
- </div>
1127
- <div style="display: table-cell; text-align: center; vertical-align: middle;" class="display_block wds_reverse_cont">
1128
- <input type="button" class="wds_reverse_buttons button-small wds_reverse" onclick="wds_change_custom_src()" value="<?php _e('Reverse', 'wds'); ?>" />
1129
- </div>
1130
- </div>
1131
- </td>
1132
- </tr>
1133
- <script>
1134
- var wds_rl_butt_type = [];
1135
- var rl_butt_dir = '<?php echo WD_S_URL . '/images/arrow/'; ?>';
1136
- var type_cur_fold = '1';
1137
- <?php
1138
- $folder_names = scandir(WD_S_DIR . '/images/arrow');
1139
- $cur_fold_name = '';
1140
- $cur_type_key = '';
1141
- $cur_color_key = '';
1142
- $cur_sub_fold_names = array();
1143
- array_splice($folder_names, 0, 2);
1144
- $flag = FALSE;
1145
- foreach ($folder_names as $type_key => $folder_name) {
1146
- if (is_dir(WD_S_DIR . '/images/arrow/' . $folder_name)) {
1147
- ?>
1148
- wds_rl_butt_type["<?php echo $type_key; ?>"] = [];
1149
- wds_rl_butt_type["<?php echo $type_key; ?>"]["type_name"] = "<?php echo $folder_name; ?>";
1150
- <?php
1151
- if ($row->left_butt_url != '') {
1152
- /* Getting current button's type folder and color folder.*/
1153
- $check_cur_fold = explode('/' , $row->left_butt_url);
1154
- if (in_array($folder_name, $check_cur_fold)) {
1155
- $flag = TRUE;
1156
- $cur_fold_name = $folder_name;
1157
- $cur_type_key = $type_key;
1158
- $cur_sub_fold_names = scandir(WD_S_DIR . '/images/arrow/' . $cur_fold_name);
1159
- array_splice($cur_sub_fold_names, 0, 2);
1160
- ?>
1161
- type_cur_fold = '<?php echo $cur_type_key;?>';
1162
- <?php
1163
- }
1164
- }
1165
- $sub_folder_names = scandir( WD_S_DIR . '/images/arrow/' . $folder_name);
1166
- array_splice($sub_folder_names, 0, 2);
1167
- foreach ($sub_folder_names as $color_key => $sub_folder_name) {
1168
- if (is_dir(WD_S_DIR . '/images/arrow/' . $folder_name . '/' . $sub_folder_name)) {
1169
- if ($cur_fold_name == $folder_name) {
1170
- /* Getting current button's color key.*/
1171
- if (in_array($sub_folder_name, $check_cur_fold)) {
1172
- $cur_color_key = $color_key;
1173
- }
1174
- }
1175
- ?>
1176
- wds_rl_butt_type["<?php echo $type_key; ?>"]["<?php echo $color_key; ?>"] = "<?php echo $sub_folder_name; ?>";
1177
- <?php
1178
- }
1179
- }
1180
- }
1181
- else {
1182
- ?>
1183
- console.log('<?php echo $folder_name . " is not a directory."; ?>');
1184
- <?php
1185
- }
1186
- }
1187
- ?>
1188
- </script>
1189
- <tr id="right_left_butt_select">
1190
- <td class="spider_label_options" style="vertical-align: middle;">
1191
- <label for="right_butt_url"><?php _e('Choose buttons:', 'wds'); ?></label>
1192
- </td>
1193
- <td style="display: block;">
1194
- <div style="display: table; margin-bottom: 14px;">
1195
- <div style="display: table-cell; vertical-align: middle;" class="display_block">
1196
- <div style="display: block; width: 180px;" class="default_buttons">
1197
- <div class="spider_choose_option" onclick="wds_choose_option(this)">
1198
- <div class="spider_option_main_title"><?php _e('Choose group', 'wds'); ?></div>
1199
- <div class="spider_sel_option_ic"><i class="fa fa-angle-down fa-lg" style="color: #1E8CBE"></i></div>
1200
- </div>
1201
- <div class="spider_options_cont">
1202
- <?php
1203
- foreach ($folder_names as $type_key => $folder_name) {
1204
- ?>
1205
- <div class="spider_option_cont wds_rl_butt_groups" value="<?php echo $type_key; ?>" <?php echo (($cur_type_key == $type_key) ? 'selected="selected" style="background-color: #3399FF;"' : ''); ?> onclick="change_rl_butt_type(this)">
1206
- <div class="spider_option_cont_title">
1207
- <?php _e('Group', 'wds'); echo '-'. ++$type_key; ?>
1208
- </div>
1209
- <div class="spider_option_cont_img">
1210
- <img class="src_top_left" style="display: inline-block; width: 14px; height: 14px;" />
1211
- <img class="src_top_right" style="display: inline-block; width: 14px; height: 14px;" />
1212
- <img class="src_bottom_left" style="display: inline-block; width: 14px; height: 14px;" />
1213
- <img class="src_bottom_right" style="display: inline-block; width: 14px; height: 14px;" />
1214
- </div>
1215
- </div>
1216
- <?php
1217
- }
1218
- if (!$flag) {
1219
- /* Folder doesn't exist.*/
1220
- ?>
1221
- <div class="spider_option_cont" value="0" selected="selected" disabled="disabled"><?php _e('Custom', 'wds'); ?></div>
1222
- <?php
1223
- }
1224
- ?>
1225
- </div>
1226
- </div>
1227
- </div>
1228
- <div style="display:table-cell;vertical-align: middle;" class="display_block">
1229
- <div style="display: block; width: 180px; margin-left: 12px;" class="default_buttons">
1230
- <div class="spider_choose_option" onclick="alert('<?php echo $functionality_disabled_version; ?>')">
1231
- <div class="spider_option_main_title"><?php _e('Choose color', 'wds'); ?></div>
1232
- <div class="spider_sel_option_ic"><i class="fa fa-angle-down fa-lg" style="color:#1E8CBE"></i></div>
1233
- </div>
1234
- </div>
1235
- </div>
1236
- <div style="width:100px; display: table-cell; vertical-align: middle; text-align: center;" class="display_block">
1237
- <div style=" display: block; margin-left: 12px; vertical-align: middle; text-align: center;background-color: rgba(229, 229, 229, 0.62); padding-top: 4px; border-radius: 3px;" class="play_buttons_cont">
1238
- <img id="rl_butt_img_l" src="<?php echo $row->left_butt_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1239
- <img id="rl_butt_img_r" src="<?php echo $row->right_butt_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1240
- <img id="rl_butt_hov_img_l" src="<?php echo $row->left_butt_hov_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1241
- <img id="rl_butt_hov_img_r" src="<?php echo $row->right_butt_hov_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1242
- </div>
1243
- </div>
1244
- <div style="display: table-cell; text-align: center; vertical-align: middle;">
1245
- <input type="button" class="wds_reverse_buttons button-small wds_reverse" onclick="change_src()" value="<?php _e('Reverse', 'wds'); ?>" />
1246
- </div>
1247
- </div>
1248
- <div class="spider_description"><?php _e('Choose the type and color for navigation button images. The option is designed for limited preview (colors not included) purposes and can&rsquo;t be saved.', 'wds'); ?></div>
1249
- </td>
1250
- </tr>
1251
- <tr id="right_left_butt_size">
1252
- <td class="spider_label <?php echo $fv_class; ?>"><label for="rl_butt_size"><?php _e('Next / Previous buttons size:', 'wds'); ?></label></td>
1253
- <td>
1254
- <input type="text" name="rl_butt_size" id="rl_butt_size" value="<?php echo $row->rl_butt_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" <?php echo $fv_disabled; ?> /> px
1255
- <div class="spider_description"><?php _e('Set the size for the next / previous buttons.', 'wds'); ?></div>
1256
- </td>
1257
- </tr>
1258
- <tr>
1259
- <td class="spider_label_options">
1260
- <label><?php _e('Play / Pause button:', 'wds'); ?></label>
1261
- </td>
1262
- <td>
1263
- <input type="radio" name="play_paus_butt" id="play_paus_butt_1" value="1" <?php if ($row->play_paus_butt) echo 'checked="checked"'; ?> /><label for="play_paus_butt_1"><?php _e('Yes', 'wds'); ?></label>
1264
- <input type="radio" name="play_paus_butt" id="play_paus_butt_0" value="0" <?php if (!$row->play_paus_butt) echo 'checked="checked"'; ?> /><label for="play_paus_butt_0"><?php _e('No', 'wds'); ?></label>
1265
- <div class="spider_description"><?php _e('Choose whether to display Play and Pause buttons or not.', 'wds'); ?></div>
1266
- </td>
1267
- </tr>
1268
- </tbody>
1269
- <tbody>
1270
- <tr>
1271
- <td class="spider_label_options">
1272
- <label><?php _e('Image for Play / Pause buttons:', 'wds'); ?></label>
1273
- </td>
1274
- <td>
1275
- <input type="radio" name="play_paus_butt_img_or_not" id="play_pause_butt_img_or_not_our" value="our" <?php if ($row->play_paus_butt_img_or_not == 'our') echo 'checked="checked"'; ?> onClick="image_for_play_pause_butt('our')" /><label <?php if ($row->play_paus_butt_img_or_not == 'our') echo 'class="selected_color"'; ?> for="play_pause_butt_img_or_not_our"><?php _e('Default', 'wds'); ?></label>
1276
- <input type="radio" name="play_paus_butt_img_or_not" id="play_pause_butt_img_or_not_cust" value="custom" <?php if ($row->play_paus_butt_img_or_not == 'custom') echo 'checked="checked"'; ?> onClick="image_for_play_pause_butt('custom')" /><label <?php if ($row->play_paus_butt_img_or_not == 'custom') echo 'class="selected_color"'; ?> for="play_pause_butt_img_or_not_cust"><?php _e('Custom', 'wds'); ?></label>
1277
- <input type="radio" name="play_paus_butt_img_or_not" id="play_pause_butt_img_or_not_select" value="style" <?php if ($row->play_paus_butt_img_or_not == 'style') echo 'checked="checked"'; ?> onClick="image_for_play_pause_butt('style')" /><label <?php if ($row->play_paus_butt_img_or_not == 'style') echo 'class="selected_color"'; ?> for="play_pause_butt_img_or_not_select"><?php _e('Styled', 'wds'); ?></label>
1278
- <input type="hidden" id="play_butt_url" name="play_butt_url" value="<?php echo $row->play_butt_url; ?>" />
1279
- <input type="hidden" id="play_butt_hov_url" name="play_butt_hov_url" value="<?php echo $row->play_butt_hov_url; ?>" />
1280
- <input type="hidden" id="paus_butt_url" name="paus_butt_url" value="<?php echo $row->paus_butt_url; ?>" />
1281
- <input type="hidden" id="paus_butt_hov_url" name="paus_butt_hov_url" value="<?php echo $row->paus_butt_hov_url; ?>" />
1282
- <div class="spider_description"><?php _e('Choose whether to use default play/pause buttons or to upload custom ones.', 'wds'); ?></div>
1283
- </td>
1284
- </tr>
1285
- </tbody>
1286
- <tbody class="<?php echo $fv_class; ?>"<?php echo $fv_title; ?>>
1287
- <tr id="play_pause_butt_style">
1288
- <td class="spider_label"><label for="pp_butt_style"><?php _e('Play / Pause buttons style:', 'wds'); ?></label></td>
1289
- <td>
1290
- <div style="display: table-cell; vertical-align: middle; background-color: rgba(229, 229, 229, 0.62); text-align: center;">
1291
- <i id="wds_play_style" class="fa fa-play" style="color: #<?php echo $row->butts_color; ?>; display: inline-block; font-size: 40px; width: 40px; height: 40px;"></i>
1292
- <i id="wds_paus_style" class="fa fa-pause" style="color: #<?php echo $row->butts_color; ?>; display: inline-block; font-size: 40px; width: 40px; height: 40px;"></i>
1293
- </div>
1294
- </td>
1295
- </tr>
1296
- <tr id="play_pause_butt_cust">
1297
- <td class="spider_label_options" style="vertical-align: middle;">
1298
- <label><?php _e('Upload buttons images:', 'wds'); ?></label>
1299
- </td>
1300
- <td>
1301
- <div style="display: table;">
1302
- <div style="display: table-cell; vertical-align: middle;" class="display_block">
1303
- <input class="wds_nav_buttons wds_ctrl_btn_upload wds_free_button" type="button" value="<?php _e('Play Button', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1304
- <input class="wds_nav_buttons wds_ctrl_btn_upload wds_free_button" type="button" value="<?php _e('Play Button Hovern', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1305
- </div>
1306
- <div style="display: table-cell; vertical-align: middle;" class="display_block">
1307
- <input class="wds_nav_buttons wds_ctrl_btn_upload wds_free_button" type="button" value="<?php _e('Pause Button', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1308
- <input class="wds_nav_buttons wds_ctrl_btn_upload wds_free_button" type="button" value="<?php _e('Pause Button Hover', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1309
- </div>
1310
- <div style="width:100px; display: table-cell; vertical-align: middle; text-align: center;background-color: rgba(229, 229, 229, 0.62); padding-top: 4px; border-radius: 3px;">
1311
- <img id="play_butt_img" src="<?php echo $row->play_butt_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1312
- <img id="paus_butt_img" src="<?php echo $row->paus_butt_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1313
- <img id="play_butt_hov_img" src="<?php echo $row->play_butt_hov_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1314
- <img id="paus_butt_hov_img" src="<?php echo $row->paus_butt_hov_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1315
- </div>
1316
- <div style="display: table-cell; text-align: center; vertical-align: middle;" class="display_block wds_reverse_cont">
1317
- <input type="button" class="wds_reverse_buttons button-small wds_reverse" onclick="wds_change_play_paus_custom_src()" value="<?php _e('Reverse', 'wds'); ?>" />
1318
- </div>
1319
- </div>
1320
- </td>
1321
- </tr>
1322
- <script>
1323
- var wds_pp_butt_type = [];
1324
- var pp_butt_dir = '<?php echo WD_S_URL . '/images/button/'; ?>';
1325
- var pp_type_cur_fold = '1';
1326
- <?php
1327
- $folder_names = scandir(WD_S_DIR . '/images/button');
1328
- $butt_cur_fold_name = '';
1329
- $butt_cur_type_key = '';
1330
- $butt_cur_color_key = '';
1331
- $butt_cur_sub_fold_names = array();
1332
- array_splice($folder_names, 0, 2);
1333
- $flag = FALSE;
1334
- foreach ($folder_names as $type_key => $folder_name) {
1335
- if (is_dir(WD_S_DIR . '/images/button/' . $folder_name)) {
1336
- ?>
1337
- wds_pp_butt_type["<?php echo $type_key; ?>"] = [];
1338
- wds_pp_butt_type["<?php echo $type_key; ?>"]["type_name"] = "<?php echo $folder_name; ?>";
1339
- <?php
1340
- if ($row->play_butt_url != '') {
1341
- /* Getting current button's type folder and color folder.*/
1342
- $check_butt_cur_fold = explode('/' , $row->play_butt_url);
1343
- if (in_array($folder_name, $check_butt_cur_fold)) {
1344
- $flag = TRUE;
1345
- $butt_cur_fold_name = $folder_name;
1346
- $butt_cur_type_key = $type_key;
1347
- $butt_cur_sub_fold_names = scandir(WD_S_DIR . '/images/button/' . $butt_cur_fold_name);
1348
- array_splice($butt_cur_sub_fold_names, 0, 2);
1349
- ?>
1350
- pp_type_cur_fold = '<?php echo $butt_cur_type_key;?>';
1351
- <?php
1352
- }
1353
- }
1354
- $sub_folder_names = scandir( WD_S_DIR . '/images/button/' . $folder_name);
1355
- array_splice($sub_folder_names, 0, 2);
1356
- foreach ($sub_folder_names as $color_key => $sub_folder_name) {
1357
- if (is_dir(WD_S_DIR . '/images/button/' . $folder_name . '/' . $sub_folder_name)) {
1358
- if ($butt_cur_fold_name == $folder_name) {
1359
- /* Getting current button's color key.*/
1360
- if (in_array($sub_folder_name, $check_butt_cur_fold)) {
1361
- $butt_cur_color_key = $color_key;
1362
- }
1363
- }
1364
- ?>
1365
- wds_pp_butt_type["<?php echo $type_key; ?>"]["<?php echo $color_key; ?>"] = "<?php echo $sub_folder_name; ?>";
1366
- <?php
1367
- }
1368
- }
1369
- }
1370
- else {
1371
- ?>
1372
- console.log('<?php echo $folder_name . " is not a directory."; ?>');
1373
- <?php
1374
- }
1375
- }
1376
- ?>
1377
- </script>
1378
- <tr id="play_pause_butt_select">
1379
- <td class="spider_label_options" style="vertical-align: middle;">
1380
- <label for="right_butt_url"><?php _e('Choose buttons:', 'wds'); ?></label>
1381
- </td>
1382
- <td style="display: block;">
1383
- <div style="display: table; margin-bottom: 14px;">
1384
- <div style="display: table-cell; vertical-align: middle;" class="display_block" >
1385
- <div style="display: block; width: 180px;" class="default_buttons">
1386
- <div class="spider_choose_option" onclick="wds_choose_pp_option(this)">
1387
- <div class="spider_option_main_title"><?php _e('Choose group', 'wds'); ?></div>
1388
- <div class="spider_sel_option_ic"><i class="fa fa-angle-down fa-lg" style="color: #1E8CBE"></i></div>
1389
- </div>
1390
- <div class="spider_pp_options_cont">
1391
- <?php
1392
- foreach ($folder_names as $type_key => $folder_name) {
1393
- ?>
1394
- <div class="spider_option_cont wds_pp_butt_groups" value="<?php echo $type_key; ?>" <?php echo (($butt_cur_type_key == $type_key) ? 'selected="selected" style="background-color: #3399FF;"' : ''); ?> onclick="change_play_paus_butt_type(this)">
1395
- <div class="spider_option_cont_title">
1396
- <?php _e('Group', 'wds'); echo '-' . ++$type_key; ?>
1397
- </div>
1398
- <div class="spider_option_cont_img">
1399
- <img class="pp_src_top_left" style="display: inline-block; width: 14px; height: 14px;" />
1400
- <img class="pp_src_top_right" style="display: inline-block; width: 14px; height: 14px;" />
1401
- <img class="pp_src_bottom_left" style="display: inline-block; width: 14px; height: 14px;" />
1402
- <img class="pp_src_bottom_right" style="display: inline-block; width: 14px; height: 14px;" />
1403
- </div>
1404
- </div>
1405
- <?php
1406
- }
1407
- if (!$flag) {
1408
- /* Folder doesn't exist.*/
1409
- ?>
1410
- <div class="spider_option_cont" value="0" selected="selected" disabled="disabled"><?php _e('Custom', 'wds'); ?></div>
1411
- <?php
1412
- }
1413
- ?>
1414
- </div>
1415
- </div>
1416
- </div>
1417
- <div style="display:table-cell;vertical-align: middle;" class="display_block">
1418
- <div style="display: block; width: 180px; margin-left: 12px;" class="default_buttons">
1419
- <div class="spider_choose_option" onclick="alert('<?php echo $functionality_disabled_version; ?>')">
1420
- <div class="spider_option_main_title">Choose color</div>
1421
- <div class="spider_sel_option_ic"><i class="fa fa-angle-down fa-lg" style="color:#1E8CBE"></i></div>
1422
- </div>
1423
- </div>
1424
- </div>
1425
- <div style="width:100px; display: table-cell; vertical-align: middle; text-align: center;" class="display_block">
1426
- <div style=" display: block; margin-left: 12px; vertical-align: middle; text-align: center;background-color: rgba(229, 229, 229, 0.62); padding-top: 4px; border-radius: 3px;" class="play_buttons_cont">
1427
- <img id="pp_butt_img_play" src="<?php echo $row->play_butt_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1428
- <img id="pp_butt_img_paus" src="<?php echo $row->paus_butt_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1429
- <img id="pp_butt_hov_img_play" src="<?php echo $row->play_butt_hov_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1430
- <img id="pp_butt_hov_img_paus" src="<?php echo $row->paus_butt_hov_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1431
- </div>
1432
- </div>
1433
- <div style="display: table-cell; text-align: center; vertical-align: middle;">
1434
- <input type="button" class="wds_reverse_buttons button-small wds_reverse" onclick="change_play_paus_src()" value="<?php _e('Reverse', 'wds'); ?>" />
1435
- </div>
1436
- </div>
1437
- <div class="spider_description"><?php _e('Choose the type and color for navigation button images. The option is designed for limited preview (colors not included) purposes and can&rsquo;t be saved.', 'wds'); ?></div>
1438
- </td>
1439
- </tr>
1440
- <tr id="play_pause_butt_size">
1441
- <td class="spider_label <?php echo $fv_class; ?>"><label for="pp_butt_size"><?php _e('Play / Pause button size:', 'wds'); ?></label></td>
1442
- <td>
1443
- <input type="text" name="pp_butt_size" id="pp_butt_size" value="<?php echo $row->pp_butt_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" <?php echo $fv_disabled; ?> /> px
1444
- <div class="spider_description"><?php _e('Set the size for the play / pause buttons.', 'wds'); ?></div>
1445
- </td>
1446
- </tr>
1447
- <tr id="tr_butts_color">
1448
- <td class="spider_label <?php echo $fv_class; ?>"><label for="butts_color"><?php _e('Buttons color:', 'wds'); ?></label></td>
1449
- <td>
1450
- <input type="text" name="butts_color" id="butts_color" value="<?php echo $row->butts_color; ?>" class="color" <?php echo $fv_disabled; ?> onchange="jQuery('#wds_left_style,#wds_right_style').css({color: '#' + jQuery(this).val()})" />
1451
- <div class="spider_description"><?php _e('Select a color for the navigation buttons.', 'wds'); ?></div>
1452
- </td>
1453
- </tr>
1454
- <tr id="tr_hover_color">
1455
- <td class="spider_label <?php echo $fv_class; ?>"><label for="hover_color"><?php _e('Hover color:', 'wds'); ?></label></td>
1456
- <td>
1457
- <input type="text" name="hover_color" id="hover_color" value="<?php echo $row->hover_color; ?>" class="color" <?php echo $fv_disabled; ?> />
1458
- <div class="spider_description"><?php _e('Select a hover color for the navigation buttons.', 'wds'); ?></div>
1459
- </td>
1460
- </tr>
1461
- <tr>
1462
- <td class="spider_label <?php echo $fv_class; ?>"><label for="nav_border_width"><?php _e('Border:', 'wds'); ?></label></td>
1463
- <td>
1464
- <input type="text" name="nav_border_width" id="nav_border_width" value="<?php echo $row->nav_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" <?php echo $fv_disabled; ?> /> px
1465
- <select class="select_icon select_icon_320" name="nav_border_style" id="nav_border_style" <?php echo $fv_disabled; ?>>
1466
- <?php
1467
- foreach ($border_styles as $key => $border_style) {
1468
- ?>
1469
- <option value="<?php echo $key; ?>" <?php echo (($row->nav_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
1470
- <?php
1471
- }
1472
- ?>
1473
- </select>
1474
- <input type="text" name="nav_border_color" id="nav_border_color" value="<?php echo $row->nav_border_color; ?>" class="color" <?php echo $fv_disabled; ?> />
1475
- <div class="spider_description"><?php _e('Select the type, size and the color of border for the navigation buttons.', 'wds'); ?></div>
1476
- </td>
1477
- </tr>
1478
- <tr>
1479
- <td class="spider_label <?php echo $fv_class; ?>"><label for="nav_border_radius"><?php _e('Border radius:', 'wds'); ?></label></td>
1480
- <td>
1481
- <input type="text" name="nav_border_radius" id="nav_border_radius" value="<?php echo $row->nav_border_radius; ?>" class="spider_char_input" <?php echo $fv_disabled; ?> />
1482
- <div class="spider_description"><?php _e('Use CSS type values.', 'wds'); ?></div>
1483
- </td>
1484
- </tr>
1485
- <tr>
1486
- <td class="spider_label <?php echo $fv_class; ?>"><label for="nav_bg_color"><?php _e('Background color:', 'wds'); ?></label></td>
1487
- <td>
1488
- <input type="text" name="nav_bg_color" id="nav_bg_color" value="<?php echo $row->nav_bg_color; ?>" class="color" <?php echo $fv_disabled; ?> />
1489
- <input type="text" name="butts_transparent" id="butts_transparent" value="<?php echo $row->butts_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" <?php echo $fv_disabled; ?> /> %
1490
- <div class="spider_description"><?php _e('Transparency value must be between 0 to 100.', 'wds'); ?></div>
1491
- </td>
1492
- </tr>
1493
- </tbody>
1494
- </table>
1495
- </div>
1496
- <div class="wds_nav_box wds_nav_bullets_box">
1497
- <table>
1498
- <tbody>
1499
- <tr>
1500
- <td class="spider_label"><label><?php _e('Enable bullets:', 'wds'); ?></label></td>
1501
- <td>
1502
- <input type="radio" id="enable_bullets1" name="enable_bullets" <?php echo (($row->enable_bullets) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->enable_bullets) ? 'class="selected_color"' : ''); ?> for="enable_bullets1"><?php _e('Yes', 'wds'); ?></label>
1503
- <input type="radio" id="enable_bullets0" name="enable_bullets" <?php echo (($row->enable_bullets) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->enable_bullets) ? '' : 'class="selected_color"'); ?> for="enable_bullets0"><?php _e('No', 'wds'); ?></label>
1504
- <div class="spider_description"><?php _e('Choose whether to have navigation bullets or not.', 'wds'); ?></div>
1505
- </td>
1506
- </tr>
1507
- <tr>
1508
- <td class="spider_label_options">
1509
- <label><?php _e('Show bullets:', 'wds'); ?></label>
1510
- </td>
1511
- <td>
1512
- <input type="radio" name="bull_hover" id="bull_hover_0" value="0" <?php if ($row->bull_hover == 0) echo 'checked="checked"'; ?> /><label <?php if ($row->bull_hover == 0) echo 'class="selected_color"'; ?> for="bull_hover_0"><?php _e('On hover', 'wds'); ?></label>
1513
- <input type="radio" name="bull_hover" id="bull_hover_1" value="1" <?php if ($row->bull_hover == 1) echo 'checked="checked"'; ?> /><label <?php if ($row->bull_hover == 1) echo 'class="selected_color"'; ?> for="bull_hover_1"><?php _e('Always', 'wds'); ?></label>
1514
- <div class="spider_description"><?php _e('Select between the option of always displaying the bullets or only when hovered.', 'wds'); ?></div>
1515
- </td>
1516
- </tr>
1517
- <tr>
1518
- <td class="spider_label"><label><?php _e('Show thumbnail on bullet hover:', 'wds'); ?></label></td>
1519
- <td>
1520
- <input onClick="bwg_enable_disable('', 'tr_thumb_size', 'show_thumbnail1')" type="radio" id="show_thumbnail1" name="show_thumbnail" <?php echo (($row->show_thumbnail) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->show_thumbnail) ? 'class="selected_color"' : ''); ?> for="show_thumbnail1"><?php _e('Yes', 'wds'); ?></label>
1521
- <input onClick="bwg_enable_disable('none', 'tr_thumb_size', 'show_thumbnail0')" type="radio" id="show_thumbnail0" name="show_thumbnail" <?php echo (($row->show_thumbnail) ? '' : 'checked="checked"'); ?> value="0" /><label for="show_thumbnail0"><?php _e('No', 'wds'); ?></label>
1522
- <div class="spider_description"></div>
1523
- </td>
1524
- </tr>
1525
- <tr id="tr_thumb_size">
1526
- <td class="spider_label_options">
1527
- <label for="wds_thumb_size"><?php _e('Thumbnail Size:', 'wds'); ?></label>
1528
- </td>
1529
- <td>
1530
- <input onblur="wds_check_number()" type="text" id="wds_thumb_size" name="wds_thumb_size" size="15" value="<?php echo $row->thumb_size; ?>" style="display:inline-block;" />
1531
- <div class="spider_description"><?php _e('Value must be between 0 to 1.', 'wds'); ?></div>
1532
- </td>
1533
- </tr>
1534
- <tr>
1535
- <td class="spider_label"><label><?php _e('Position:', 'wds'); ?></label></td>
1536
- <td>
1537
- <select class="select_icon select_icon_320" name="bull_position" id="bull_position">
1538
- <option value="top" <?php echo (($row->bull_position == "top") ? 'selected="selected"' : ''); ?>><?php _e('Top', 'wds'); ?></option>
1539
- <option value="bottom" <?php echo (($row->bull_position == "bottom") ? 'selected="selected"' : ''); ?>><?php _e('Bottom', 'wds'); ?></option>
1540
- </select>
1541
- <div class="spider_description"><?php _e('Select the position for the navigation bullets.', 'wds'); ?></div>
1542
- </td>
1543
- </tr>
1544
- <tr>
1545
- <td class="spider_label_options">
1546
- <label><?php _e('Bullets type:', 'wds'); ?></label>
1547
- </td>
1548
- <td>
1549
- <input type="radio" name="bull_butt_img_or_not" id="bull_butt_img_or_not_our" value="our" <?php if ($row->bull_butt_img_or_not == 'our') echo 'checked="checked"'; ?> onClick="image_for_bull_butt('our')" /><label <?php if ($row->bull_butt_img_or_not == 'our') echo 'class="selected_color"'; ?> for="bull_butt_img_or_not_our"><?php _e('Default', 'wds'); ?></label>
1550
- <input type="radio" name="bull_butt_img_or_not" id="bull_butt_img_or_not_cust" value="custom" <?php if ($row->bull_butt_img_or_not == 'custom') echo 'checked="checked"'; ?> onClick="image_for_bull_butt('custom')" /><label <?php if ($row->bull_butt_img_or_not == 'custom') echo 'class="selected_color"'; ?> for="bull_butt_img_or_not_cust"><?php _e('Custom', 'wds'); ?></label>
1551
- <input type="radio" name="bull_butt_img_or_not" id="bull_butt_img_or_not_stl" value="style" <?php if ($row->bull_butt_img_or_not == 'style') echo 'checked="checked"'; ?> onClick="image_for_bull_butt('style')" /><label <?php if ($row->bull_butt_img_or_not == 'style') echo 'class="selected_color"'; ?> for="bull_butt_img_or_not_stl"><?php _e('Styled', 'wds'); ?></label>
1552
- <input type="radio" name="bull_butt_img_or_not" id="bull_butt_img_or_not_txt" value="text" <?php if ($row->bull_butt_img_or_not == 'text') echo 'checked="checked"'; ?> onClick="image_for_bull_butt('text')" /><label <?php if ($row->bull_butt_img_or_not == 'text') echo 'class="selected_color"'; ?> for="bull_butt_img_or_not_txt"><?php _e('Text', 'wds'); ?></label>
1553
- <input type="hidden" id="bullets_img_main_url" name="bullets_img_main_url" value="<?php echo $row->bullets_img_main_url; ?>" />
1554
- <input type="hidden" id="bullets_img_hov_url" name="bullets_img_hov_url" value="<?php echo $row->bullets_img_hov_url; ?>" />
1555
- <div class="spider_description"></div>
1556
- </td>
1557
- </tr>
1558
- </tbody>
1559
- <tbody class="<?php echo $fv_class; ?>"<?php echo $fv_title; ?>>
1560
- <?php echo $fv_message; ?>
1561
- <tr id="bullets_style">
1562
- <td class="spider_label <?php echo $fv_class; ?>"><label for="bull_style"><?php _e('Bullet style:', 'wds'); ?></label></td>
1563
- <td>
1564
- <div style="display: table;">
1565
- <div style="display: table-cell; vertical-align: middle;">
1566
- <select class="select_icon select_icon_320" name="bull_style" id="bull_style" <?php echo $fv_disabled; ?> onchange="change_bull_style(jQuery(this).val())">
1567
- <?php
1568
- foreach ($bull_styles as $key => $bull_style) {
1569
- ?>
1570
- <option value="<?php echo $key; ?>" <?php echo (($row->bull_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $bull_style; ?></option>
1571
- <?php
1572
- }
1573
- ?>
1574
- </select>
1575
- </div>
1576
- <div style="display: table-cell; vertical-align: middle; background-color: rgba(229, 229, 229, 0.62); text-align: center;">
1577
- <i id="wds_act_bull_style" class="fa <?php echo str_replace('-o', '', $row->bull_style); ?>" style="color: #<?php echo $row->bull_act_color; ?>; display: inline-block; font-size: 40px; width: 40px; height: 40px;"></i>
1578
- <i id="wds_deact_bull_style" class="fa <?php echo $row->bull_style; ?>" style="color: #<?php echo $row->bull_color; ?>; display: inline-block; font-size: 40px; width: 40px; height: 40px;"></i>
1579
- </div>
1580
- </div>
1581
- <div class="spider_description"><?php _e('Choose the style for the bullets.', 'wds'); ?></div>
1582
- </td>
1583
- </tr>
1584
- <script>
1585
- var wds_blt_img_type = [];
1586
- var blt_img_dir = '<?php echo WD_S_URL . '/images/bullet/'; ?>';
1587
- var bull_type_cur_fold = '1';
1588
- <?php
1589
- $folder_names = scandir(WD_S_DIR . '/images/bullet');
1590
- $bull_cur_fold_name = '';
1591
- $bull_cur_type_key = '';
1592
- $bull_cur_color_key = '';
1593
- $bull_cur_sub_fold_names = array();
1594
- array_splice($folder_names, 0, 2);
1595
- $flag = FALSE;
1596
- foreach ($folder_names as $type_key => $folder_name) {
1597
- if (is_dir(WD_S_DIR . '/images/bullet/' . $folder_name)) {
1598
- ?>
1599
- wds_blt_img_type["<?php echo $type_key; ?>"] = [];
1600
- wds_blt_img_type["<?php echo $type_key; ?>"]["type_name"] = "<?php echo $folder_name; ?>";
1601
- <?php
1602
- if ($row->bullets_img_main_url != '') {
1603
- /* Getting current button's type folder and color folder.*/
1604
- $check_bull_cur_fold = explode('/' , $row->bullets_img_main_url);
1605
- if (in_array($folder_name, $check_bull_cur_fold)) {
1606
- $flag = TRUE;
1607
- $bull_cur_fold_name = $folder_name;
1608
- $bull_cur_type_key = $type_key;
1609
- $bull_cur_sub_fold_names = scandir(WD_S_DIR . '/images/bullet/' . $bull_cur_fold_name);
1610
- array_splice($bull_cur_sub_fold_names, 0, 2);
1611
- ?>
1612
- bull_type_cur_fold = '<?php echo $bull_cur_type_key;?>';
1613
- <?php
1614
- }
1615
- }
1616
- $sub_folder_names = scandir(WD_S_DIR . '/images/bullet/' . $folder_name);
1617
- array_splice($sub_folder_names, 0, 2);
1618
- foreach ($sub_folder_names as $color_key => $sub_folder_name) {
1619
- if (is_dir(WD_S_DIR . '/images/bullet/' . $folder_name . '/' . $sub_folder_name)) {
1620
- if ($bull_cur_fold_name == $folder_name) {
1621
- /* Getting current button's color key.*/
1622
- if (in_array($sub_folder_name, $check_bull_cur_fold)) {
1623
- $bull_cur_color_key = $color_key;
1624
- }
1625
- }
1626
- ?>
1627
- wds_blt_img_type["<?php echo $type_key; ?>"]["<?php echo $color_key; ?>"] = "<?php echo $sub_folder_name; ?>";
1628
- <?php
1629
- }
1630
- }
1631
- }
1632
- else {
1633
- ?>
1634
- console.log('<?php echo $folder_name . " is not a directory."; ?>');
1635
- <?php
1636
- }
1637
- }
1638
- ?>
1639
- </script>
1640
- <tr id="bullets_images_cust">
1641
- <td class="spider_label_options" style="vertical-align: middle;">
1642
- <label><?php _e('Upload buttons images:', 'wds'); ?></label>
1643
- </td>
1644
- <td>
1645
- <div style="display: table;">
1646
- <div style="display: table-cell; vertical-align: middle;">
1647
- <input class="wds_bull_buttons wds_ctrl_btn_upload wds_free_button" type="button" value="<?php _e('Active Button', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1648
- </div>
1649
- <div style="display: table-cell; vertical-align: middle;">
1650
- <input class="wds_bull_buttons wds_free_button" type="button" value="<?php _e('Deactive Button', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1651
- </div>
1652
- <div style="width:100px; display: table-cell; vertical-align: middle; text-align: center;background-color: rgba(229, 229, 229, 0.62); padding-top: 4px; border-radius: 3px;">
1653
- <img id="bull_img_main" src="<?php echo $row->bullets_img_main_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1654
- <img id="bull_img_hov" src="<?php echo $row->bullets_img_hov_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1655
- </div>
1656
- <div style="display: table-cell; text-align: center; vertical-align: middle;">
1657
- <input type="button" class="wds_reverse_buttons button-small wds_reverse" onclick="wds_change_bullets_custom_src()" value="<?php _e('Reverse', 'wds'); ?>" />
1658
- </div>
1659
- </div>
1660
- </td>
1661
- </tr>
1662
- <tr id="bullets_images_select">
1663
- <td class="spider_label_options" style="vertical-align: middle;">
1664
- <label for="bullets_images_url"><?php _e('Choose buttons:', 'wds'); ?></label>
1665
- </td>
1666
- <td style="display: block;">
1667
- <div style="display: table; margin-bottom: 14px;">
1668
- <div style="display: table-cell; vertical-align: middle;" class="display_block">
1669
- <div style="display: block; width: 180px;" class="default_buttons">
1670
- <div class="spider_choose_option" onclick="wds_choose_bull_option(this)">
1671
- <div class="spider_option_main_title"><?php _e('Choose group', 'wds'); ?></div>
1672
- <div class="spider_sel_option_ic"><i class="fa fa-angle-down fa-lg" style="color: #1E8CBE;"></i></div>
1673
- </div>
1674
- <div class="spider_bull_options_cont">
1675
- <?php
1676
- foreach ($folder_names as $type_key => $folder_name) {
1677
- ?>
1678
- <div class="spider_option_cont wds_bull_butt_groups" value="<?php echo $type_key; ?>" <?php echo (($bull_cur_type_key == $type_key) ? 'selected="selected" style="background-color: #3399FF;"' : ''); ?> onclick="change_bullets_images_type(this)">
1679
- <div class="spider_option_cont_title" style="width: 64%;">
1680
- <?php _e('Group', 'wds'); echo '-' . ++$type_key; ?>
1681
- </div>
1682
- <div class="spider_option_cont_img">
1683
- <img class="bull_src_left" style="display: inline-block; width: 14px; height: 14px;" />
1684
- <img class="bull_src_right" style="display: inline-block; width: 14px; height: 14px;" />
1685
- </div>
1686
- </div>
1687
- <?php
1688
- }
1689
- if (!$flag) {
1690
- /* Folder doesn't exist.*/
1691
- ?>
1692
- <div class="spider_option_cont" value="0" selected="selected" disabled="disabled"><?php _e('Custom', 'wds'); ?></div>
1693
- <?php
1694
- }
1695
- ?>
1696
- </div>
1697
- </div>
1698
- </div>
1699
- <div style="display: table-cell; vertical-align: middle;" class="display_block">
1700
- <div style="display: block; width: 180px; margin-left: 12px;">
1701
- <div class="spider_choose_option" onclick="alert('<?php echo $functionality_disabled_version; ?>')" >
1702
- <div class="spider_option_main_title"><?php _e('Choose color', 'wds'); ?></div>
1703
- <div class="spider_sel_option_ic"><i class="fa fa-angle-down fa-lg" style="color: #1E8CBE;"></i></div>
1704
- </div>
1705
- </div>
1706
- </div>
1707
- <div style="width: 100px; display: table-cell; vertical-align: middle; text-align: center;">
1708
- <div style="display: block; vertical-align: middle; margin-left: 12px; text-align: center; background-color: rgba(229, 229, 229, 0.62); padding-top: 4px; border-radius: 3px;">
1709
- <img id="bullets_img_main" src="<?php echo $row->bullets_img_main_url; ?>" style="display: inline-block; width: 40px; height: 40px;" />
1710
- <img id="bullets_img_hov" src="<?php echo $row->bullets_img_hov_url; ?>" style="display: inline-block; width: 40px; height: 40px;" />
1711
- </div>
1712
- </div>
1713
- <div style="display: table-cell; text-align: center; vertical-align: middle;">
1714
- <input type="button" class="wds_reverse_buttons button-small wds_reverse" onclick="change_bullets_src()" value="<?php _e('Reverse', 'wds'); ?>" />
1715
- </div>
1716
- </div>
1717
- <div class="spider_description"><?php _e('Choose the type and color for the bullets. The option is designed for limited preview (colors not included) purposes and can&rsquo;t be saved.', 'wds'); ?></div>
1718
- </td>
1719
- </tr>
1720
- <tr id="bullet_size">
1721
- <td class="spider_label <?php echo $fv_class; ?>"><label for="bull_size"><?php _e('Size:', 'wds'); ?></label></td>
1722
- <td>
1723
- <input type="text" name="bull_size" id="bull_size" value="<?php echo $row->bull_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" <?php echo $fv_disabled; ?> /> px
1724
- <div class="spider_description"><?php _e('Define the size of the navigation bullets.', 'wds'); ?></div>
1725
- </td>
1726
- </tr>
1727
- <tr id="bullets_color">
1728
- <td class="spider_label <?php echo $fv_class; ?>"><label for="bull_color"><?php _e('Color:', 'wds'); ?></label></td>
1729
- <td>
1730
- <input type="text" name="bull_color" id="bull_color" value="<?php echo $row->bull_color; ?>" class="color" <?php echo $fv_disabled; ?> onchange="jQuery('#wds_deact_bull_style').css({color: '#' + jQuery(this).val()})" />
1731
- <div class="spider_description"><?php _e('Select the color for the navigation bullets.', 'wds'); ?></div>
1732
- </td>
1733
- </tr>
1734
- <tr id="bullets_act_color">
1735
- <td class="spider_label <?php echo $fv_class; ?>"><label for="bull_act_color"><?php _e('Active color:', 'wds'); ?></label></td>
1736
- <td>
1737
- <input type="text" name="bull_act_color" id="bull_act_color" value="<?php echo $row->bull_act_color; ?>" class="color" <?php echo $fv_disabled; ?> onchange="jQuery('#wds_act_bull_style').css({color: '#' + jQuery(this).val()})" />
1738
- <div class="spider_description"><?php _e('Select the color for the bullet, which is currently displaying a corresponding image.', 'wds'); ?></div>
1739
- </td>
1740
- </tr>
1741
- <tr id="bullets_back_act_color">
1742
- <td class="spider_label <?php echo $fv_class; ?>"><label for="bull_back_act_color"><?php _e('Active Background color:', 'wds'); ?></label></td>
1743
- <td>
1744
- <input type="text" name="bull_back_act_color" id="bull_back_act_color" value="<?php echo $row->bull_back_act_color; ?>" class="color" <?php echo $fv_disabled; ?> onchange="jQuery('#wds_back_act_bull_text').css({color: '#' + jQuery(this).val()})" />
1745
- <div class="spider_description"><?php _e('Select the background color for the bullet, which is currently displaying a corresponding image.', 'wds'); ?></div>
1746
- </td>
1747
- </tr>
1748
- <tr id="bullets_back_color">
1749
- <td class="spider_label <?php echo $fv_class; ?>"><label for="bull_back_color"><?php _e('Background color:', 'wds'); ?></label></td>
1750
- <td>
1751
- <input type="text" name="bull_back_color" id="bull_back_color" value="<?php echo $row->bull_back_color; ?>" class="color" <?php echo $fv_disabled; ?> onchange="jQuery('#wds_back_bull_text').css({color: '#' + jQuery(this).val()})" />
1752
- <div class="spider_description"><?php _e('Select the background color for the bullet.', 'wds'); ?></div>
1753
- </td>
1754
- </tr>
1755
- <tr id="bullets_radius">
1756
- <td class="spider_label <?php echo $fv_class; ?>"><label for="bull_radius"><?php _e('Border radius:', 'wds'); ?></label></td>
1757
- <td>
1758
- <input type="text" name="bull_radius" id="bull_radius" value="<?php echo $row->bull_radius; ?>" class="spider_char_input" <?php echo $fv_disabled; ?> />
1759
- <div class="spider_description"><?php _e('Use CSS type values.', 'wds'); ?></div>
1760
- </td>
1761
- </tr>
1762
- <tr id="bullet_margin">
1763
- <td class="spider_label <?php echo $fv_class; ?>"><label for="bull_margin"><?php _e('Margin:', 'wds'); ?></label></td>
1764
- <td>
1765
- <input type="text" name="bull_margin" id="bull_margin" value="<?php echo $row->bull_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" <?php echo $fv_disabled; ?> /> px
1766
- <div class="spider_description"><?php _e('Set the margin for the navigation bullets in pixels.', 'wds'); ?></div>
1767
- </td>
1768
- </tr>
1769
- </tbody>
1770
- </table>
1771
- </div>
1772
- <div class="wds_nav_box wds_nav_filmstrip_box spider_free_version_label" title="<?php echo $functionality_disabled_version; ?>">
1773
- <table>
1774
- <tbody>
1775
- <tr>
1776
- <td colspan="2">
1777
- <div class="wd_error" style="padding: 5px; font-size: 14px; color: #000000 !important;"><?php _e('Filmstrip is disabled in free version.', 'wds'); ?></div>
1778
- </td>
1779
- </tr>
1780
- <tr>
1781
- <td class="spider_label spider_free_version_label"><label><?php _e('Enable filmstrip:', 'wds'); ?></label></td>
1782
- <td>
1783
- <input disabled="disabled" type="radio" id="enable_filmstrip1" name="enable_filmstrip" <?php echo (($row->enable_filmstrip) ? 'checked="checked"' : ''); ?> value="1" /><label for="filmstrip1"><?php _e('Yes', 'wds'); ?></label>
1784
- <input disabled="disabled" type="radio" id="enable_filmstrip0" name="enable_filmstrip" <?php echo (($row->enable_filmstrip) ? '' : 'checked="checked"'); ?> value="0" /><label for="filmstrip0"><?php _e('No', 'wds'); ?></label>
1785
- <div class="spider_description"><?php _e('Choose whether to have thumbnails of the slides displayed as a filmstrip or not.', 'wds'); ?></div>
1786
- </td>
1787
- </tr>
1788
- <tr id="filmstrip_position">
1789
- <td class="spider_label"><label><?php _e('Position:', 'wds'); ?></label></td>
1790
- <td>
1791
- <select class="select_icon select_icon_320" disabled="disabled" name="film_pos" id="film_pos">
1792
- <option value="top" <?php echo (($row->film_pos == "top") ? 'selected="selected"' : ''); ?>><?php _e('Top', 'wds'); ?></option>
1793
- <option value="right" <?php echo (($row->film_pos == "right") ? 'selected="selected"' : ''); ?>><?php _e('Right', 'wds'); ?></option>
1794
- <option value="bottom" <?php echo (($row->film_pos == "bottom") ? 'selected="selected"' : ''); ?>><?php _e('Bottom', 'wds'); ?></option>
1795
- <option value="left" <?php echo (($row->film_pos == "left") ? 'selected="selected"' : ''); ?>><?php _e('Left', 'wds'); ?></option>
1796
- </select>
1797
- <div class="spider_description"><?php _e('Set the position of the filmstrip.', 'wds'); ?></div>
1798
- </td>
1799
- </tr>
1800
- <tr id="filmstrip_size">
1801
- <td class="spider_label"><label for="film_thumb_width"><?php _e('Thumbnail dimensions:', 'wds'); ?></label></td>
1802
- <td>
1803
- <input disabled="disabled" type="text" name="film_thumb_width" id="film_thumb_width" value="<?php echo $row->film_thumb_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> x
1804
- <input disabled="disabled" type="text" name="film_thumb_height" id="film_thumb_height" value="<?php echo $row->film_thumb_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
1805
- <div class="spider_description"><?php _e('Define the maximum width and heigth of the filmstrip thumbnails.', 'wds'); ?></div>
1806
- </td>
1807
- </tr>
1808
- <tr>
1809
- <td class="spider_label"><label for="film_bg_color"><?php _e('Background color:', 'wds'); ?></label></td>
1810
- <td>
1811
- <input disabled="disabled" type="text" name="film_bg_color" id="film_bg_color" value="<?php echo $row->film_bg_color; ?>" class="color" />
1812
- <div class="spider_description"><?php _e('Select the background color for the filmstrip.', 'wds'); ?></div>
1813
- </td>
1814
- </tr>
1815
- <tr id="filmstrip_thumb_margin">
1816
- <td class="spider_label"><label for="film_tmb_margin"><?php _e('Thumbnail separator:', 'wds'); ?></label></td>
1817
- <td>
1818
- <input disabled="disabled" type="text" name="film_tmb_margin" id="film_tmb_margin" value="<?php echo $row->film_tmb_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1819
- <div class="spider_description"><?php _e('Set the separator for the thumbnails.', 'wds'); ?></div>
1820
- </td>
1821
- </tr>
1822
- <tr>
1823
- <td class="spider_label"><label for="film_act_border_width"><?php _e('Active border:', 'wds'); ?></label></td>
1824
- <td>
1825
- <input disabled="disabled" type="text" name="film_act_border_width" id="film_act_border_width" value="<?php echo $row->film_act_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1826
- <select class="select_icon select_icon_320" disabled="disabled" name="film_act_border_style" id="film_act_border_style">
1827
- <?php
1828
- foreach ($border_styles as $key => $border_style) {
1829
- ?>
1830
- <option value="<?php echo $key; ?>" <?php echo (($row->film_act_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
1831
- <?php
1832
- }
1833
- ?>
1834
- </select>
1835
- <input disabled="disabled" type="text" name="film_act_border_color" id="film_act_border_color" value="<?php echo $row->film_act_border_color; ?>" class="color"/>
1836
- <div class="spider_description"><?php _e('The thumbnail for the currently displayed image will have a border. You can set its size, type and color.', 'wds'); ?></div>
1837
- </td>
1838
- </tr>
1839
- <tr>
1840
- <td class="spider_label"><label for="film_dac_transparent"><?php _e('Deactive transparency:', 'wds'); ?></label></td>
1841
- <td>
1842
- <input disabled="disabled" type="text" name="film_dac_transparent" id="film_dac_transparent" value="<?php echo $row->film_dac_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
1843
- <div class="spider_description"><?php _e('You can set a transparency level for the inactive filmstrip items which must be between 0 to 100..', 'wds'); ?></div>
1844
- </td>
1845
- </tr>
1846
- </tbody>
1847
- </table>
1848
- </div>
1849
- <div class="wds_nav_box wds_nav_timer_bar_box">
1850
- <table>
1851
- <tbody>
1852
- <tr>
1853
- <td class="spider_label"><label><?php _e('Enable timer bar:', 'wds'); ?></label></td>
1854
- <td>
1855
- <input type="radio" id="enable_time_bar1" name="enable_time_bar" <?php echo (($row->enable_time_bar) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->enable_time_bar) ? 'class="selected_color"' : ''); ?> for="enable_time_bar1"><?php _e('Yes', 'wds'); ?></label>
1856
- <input type="radio" id="enable_time_bar0" name="enable_time_bar" <?php echo (($row->enable_time_bar) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->enable_time_bar) ? '' : 'class="selected_color"'); ?> for="enable_time_bar0"><?php _e('No', 'wds'); ?></label>
1857
- <div class="spider_description"><?php _e('You can add a bar displaying the timing left to switching to the next slide on autoplay.', 'wds'); ?></div>
1858
- </td>
1859
- </tr>
1860
- <tr>
1861
- <td class="spider_label"><label for="timer_bar_type"><?php _e('Type:', 'wds'); ?></label></td>
1862
- <td>
1863
- <select class="select_icon select_icon_320" name="timer_bar_type" id="timer_bar_type">
1864
- <option value="top" <?php echo (($row->timer_bar_type == "top") ? 'selected="selected"' : ''); ?>><?php _e('Line top', 'wds'); ?></option>
1865
- <option value="bottom" <?php echo (($row->timer_bar_type == "bottom") ? 'selected="selected"' : ''); ?>><?php _e('Line Bottom', 'wds'); ?></option>
1866
- <option value="circle_top_left" <?php echo (($row->timer_bar_type == "circle_top_left") ? 'selected="selected"' : ''); ?>><?php _e('Circle top left', 'wds'); ?></option>
1867
- <option value="circle_top_right" <?php echo (($row->timer_bar_type == "circle_top_right") ? 'selected="selected"' : ''); ?>><?php _e('Circle top right', 'wds'); ?></option>
1868
- <option value="circle_bot_left" <?php echo (($row->timer_bar_type == "circle_bot_left") ? 'selected="selected"' : ''); ?>><?php _e('Circle bottom left', 'wds'); ?></option>
1869
- <option value="circle_bot_right" <?php echo (($row->timer_bar_type == "circle_bot_right") ? 'selected="selected"' : ''); ?>><?php _e('Circle bottom right', 'wds'); ?></option>
1870
- </select>
1871
- <div class="spider_description"><?php _e('Choose the type of the timer bar to be used within the slider.', 'wds'); ?></div>
1872
- </td>
1873
- </tr>
1874
- <tr>
1875
- <td class="spider_label"><label for="timer_bar_size"><?php _e('Size:', 'wds'); ?></label></td>
1876
- <td>
1877
- <input type="text" name="timer_bar_size" id="timer_bar_size" value="<?php echo $row->timer_bar_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
1878
- <div class="spider_description"><?php _e('Define the height of the timer bar.', 'wds'); ?></div>
1879
- </td>
1880
- </tr>
1881
- <tr>
1882
- <td class="spider_label"><label for="timer_bar_color"><?php _e('Color:', 'wds'); ?></label></td>
1883
- <td>
1884
- <input type="text" name="timer_bar_color" id="timer_bar_color" value="<?php echo $row->timer_bar_color; ?>" class="color" />
1885
- <input type="text" name="timer_bar_transparent" id="timer_bar_transparent" value="<?php echo $row->timer_bar_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
1886
- <div class="spider_description"><?php _e('Transparency value must be between 0 to 100.', 'wds'); ?></div>
1887
- </td>
1888
- </tr>
1889
- </tbody>
1890
- </table>
1891
- </div>
1892
- <div class="wds_nav_box wds_nav_watermark_box">
1893
- <div class="wd_updated">
1894
- <p>
1895
- <?php _e('Please note that the <b>Fill</b> and <b>Contain</b> options will work fine with <b>Watermark</b> option regardless of the image dimensions, whereas for the <b>Cover</b> option you should have the image identical to the size set in the <b>Dimensions</b> settings. If you have uploaded the image with another dimension, you will need to resize the image and upload it again.', 'wds'); ?>
1896
- </p>
1897
- </div>
1898
- <table>
1899
- <tbody>
1900
- <tr>
1901
- <td style="width: 50%; vertical-align: top; height: 100%; display: table-cell;">
1902
- <table>
1903
- <tbody>
1904
- <tr id="tr_built_in_watermark_type">
1905
- <td class="spider_label_options">
1906
- <label><?php _e('Watermark type:', 'wds'); ?></label>
1907
- </td>
1908
- <td>
1909
- <input type="radio" name="built_in_watermark_type" id="built_in_watermark_type_none" value="none" <?php if ($row->built_in_watermark_type == 'none') echo 'checked="checked"'; ?> onClick="bwg_built_in_watermark('watermark_type_none')" />
1910
- <label <?php if ($row->built_in_watermark_type == 'none') echo 'class="selected_color"'; ?> for="built_in_watermark_type_none"><?php _e('None', 'wds'); ?></label>
1911
- <input type="radio" name="built_in_watermark_type" id="built_in_watermark_type_text" value="text" <?php if ($row->built_in_watermark_type == 'text') echo 'checked="checked"'; ?> onClick="bwg_built_in_watermark('watermark_type_text')" onchange="preview_built_in_watermark()" />
1912
- <label <?php if ($row->built_in_watermark_type == 'text') echo 'class="selected_color"'; ?> for="built_in_watermark_type_text"><?php _e('Text', 'wds'); ?></label>
1913
- <input type="radio" name="built_in_watermark_type" id="built_in_watermark_type_image" value="image" <?php if ($row->built_in_watermark_type == 'image') echo 'checked="checked"'; ?> onClick="bwg_built_in_watermark('watermark_type_image')" onchange="preview_built_in_watermark()" />
1914
- <label <?php if ($row->built_in_watermark_type == 'image') echo 'class="selected_color"'; ?> for="built_in_watermark_type_image"><?php _e('Image', 'wds'); ?></label>
1915
- <div class="spider_description"><?php _e('Choose what kind of watermark you want to use.', 'wds'); ?></div>
1916
- </td>
1917
- </tr>
1918
- <tr id="tr_built_in_watermark_url">
1919
- <td class="spider_label_options">
1920
- <label for="built_in_watermark_url"><?php _e('Watermark url:', 'wds'); ?></label>
1921
- </td>
1922
- <td>
1923
- <input type="text" id="built_in_watermark_url" name="built_in_watermark_url" style="width: 68%;" value="<?php echo $row->built_in_watermark_url; ?>" style="display:inline-block;" onchange="preview_built_in_watermark()" />
1924
- <?php
1925
- if (!$spider_uploader) {
1926
- ?>
1927
- <input id="wat_img_add_butt" class="wds_not_image_buttons" type="button" onclick="spider_media_uploader('watermark', event, false); return false;" value="<?php _e('Add Images', 'wds'); ?>" />
1928
- <?php
1929
- }
1930
- else {
1931
- ?>
1932
- <a href="<?php echo add_query_arg(array('callback' => 'wds_add_image', 'image_for' => 'watermark', 'TB_iframe' => '1'), $query_url); ?>" class="wds_not_image_buttons thickbox thickbox-preview" title="<?php _e('Add Image', 'wds'); ?>" onclick="return false;">
1933
- <?php _e('Add Image', 'wds'); ?>
1934
- </a>
1935
- <?php
1936
- }
1937
- ?>
1938
- <div class="spider_description"><?php _e('Only .png format is supported.', 'wds'); ?></div>
1939
- </td>
1940
- </tr>
1941
- <tr id="tr_built_in_watermark_text">
1942
- <td class="spider_label_options">
1943
- <label for="built_in_watermark_text"><?php _e('Watermark text:', 'wds'); ?></label>
1944
- </td>
1945
- <td>
1946
- <input type="text" name="built_in_watermark_text" id="built_in_watermark_text" style="width: 100%;" value="<?php echo $row->built_in_watermark_text; ?>" onchange="preview_built_in_watermark()" onkeypress="preview_built_in_watermark()" />
1947
- <div class="spider_description"><?php _e('Provide the text which will be displayed over the slides.', 'wds'); ?></div>
1948
- </td>
1949
- </tr>
1950
- <tr id="tr_built_in_watermark_size">
1951
- <td class="spider_label_options">
1952
- <label for="built_in_watermark_size"><?php _e('Watermark size:', 'wds'); ?></label>
1953
- </td>
1954
- <td>
1955
- <input type="text" name="built_in_watermark_size" id="built_in_watermark_size" value="<?php echo $row->built_in_watermark_size; ?>" class="spider_int_input" onchange="preview_built_in_watermark()" /> %
1956
- <div class="spider_description"><?php _e('Enter size of watermark in percents according to image.', 'wds'); ?></div>
1957
- </td>
1958
- </tr>
1959
- <tr id="tr_built_in_watermark_font_size">
1960
- <td class="spider_label_options">
1961
- <label for="built_in_watermark_font_size"><?php _e('Watermark font size:', 'wds'); ?></label>
1962
- </td>
1963
- <td>
1964
- <input type="text" name="built_in_watermark_font_size" id="built_in_watermark_font_size" value="<?php echo $row->built_in_watermark_font_size; ?>" class="spider_int_input" onchange="preview_built_in_watermark()" onkeypress="return spider_check_isnum(event)" /> px
1965
- <div class="spider_description"><?php _e('Specify the font size of the watermark.', 'wds'); ?></div>
1966
- </td>
1967
- </tr>
1968
- <tr id="tr_built_in_watermark_font">
1969
- <td class="spider_label_options">
1970
- <label for="built_in_watermark_font"><?php _e('Watermark font style:', 'wds'); ?></label>
1971
- </td>
1972
- <td>
1973
- <select class="select_icon select_icon_320" name="built_in_watermark_font" id="built_in_watermark_font" style="width:150px;" onchange="preview_built_in_watermark()">
1974
- <?php
1975
- foreach ($built_in_watermark_fonts as $watermark_font) {
1976
- ?>
1977
- <option value="<?php echo $watermark_font; ?>" <?php if ($row->built_in_watermark_font == $watermark_font) echo 'selected="selected"'; ?>><?php echo $watermark_font; ?></option>
1978
- <?php
1979
- }
1980
- ?>
1981
- </select>
1982
- <?php
1983
- foreach ($built_in_watermark_fonts as $watermark_font) {
1984
- ?>
1985
- <style>
1986
- @font-face {
1987
- font-family: <?php echo 'bwg_' . str_replace('.ttf', '', $watermark_font); ?>;
1988
- src: url("<?php echo WD_S_URL . '/fonts/' . $watermark_font; ?>");
1989
- }
1990
- </style>
1991
- <?php
1992
- }
1993
- ?>
1994
- <div class="spider_description"><?php _e('Specify the font family for the watermark text.', 'wds'); ?></div>
1995
- </td>
1996
- </tr>
1997
- <tr id="tr_built_in_watermark_color">
1998
- <td class="spider_label_options">
1999
- <label for="built_in_watermark_color"><?php _e('Watermark color:', 'wds'); ?></label>
2000
- </td>
2001
- <td>
2002
- <input type="text" name="built_in_watermark_color" id="built_in_watermark_color" value="<?php echo $row->built_in_watermark_color; ?>" class="color" onchange="preview_built_in_watermark()" />
2003
- <input type="text" name="built_in_watermark_opacity" id="built_in_watermark_opacity" value="<?php echo $row->built_in_watermark_opacity; ?>" class="spider_int_input" onchange="preview_built_in_watermark()" /> %
2004
- <div class="spider_description"><?php _e('Transparency value must be between 0 to 100.', 'wds'); ?></div>
2005
- </td>
2006
- </tr>
2007
- <tr id="tr_built_in_watermark_position">
2008
- <td class="spider_label_options">
2009
- <label><?php _e('Watermark position:', 'wds'); ?></label>
2010
- </td>
2011
- <td>
2012
- <table class="wds_position_table">
2013
- <tbody>
2014
- <tr>
2015
- <td class="wds_position_td"><input type="radio" value="top-left" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "top-left") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
2016
- <td class="wds_position_td"><input type="radio" value="top-center" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "top-center") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
2017
- <td class="wds_position_td"><input type="radio" value="top-right" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "top-right") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
2018
- </tr>
2019
- <tr>
2020
- <td class="wds_position_td"><input type="radio" value="middle-left" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "middle-left") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
2021
- <td class="wds_position_td"><input type="radio" value="middle-center" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "middle-center") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
2022
- <td class="wds_position_td"><input type="radio" value="middle-right" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "middle-right") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
2023
- </tr>
2024
- <tr>
2025
- <td class="wds_position_td"><input type="radio" value="bottom-left" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "bottom-left") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
2026
- <td class="wds_position_td"><input type="radio" value="bottom-center" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "bottom-center") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
2027
- <td class="wds_position_td"><input type="radio" value="bottom-right" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "bottom-right") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
2028
- </tr>
2029
- </tbody>
2030
- </table>
2031
- <div class="spider_description"><?php _e('Choose the positioning of the watermark.', 'wds'); ?></div>
2032
- </td>
2033
- </tr>
2034
- </tbody>
2035
- </table>
2036
- </td>
2037
- <td style="width: 50%; vertical-align: top;height: 100%; display: table-cell;">
2038
- <span id="preview_built_in_watermark" style='display:table-cell; background-image:url("<?php echo WD_S_URL . '/images/watermark_preview.jpg'?>"); background-size:100% 100%;width:400px;height:400px;padding-top: 4px; position:relative;'></span>
2039
- </td>
2040
- </tr>
2041
- </tbody>
2042
- </table>
2043
- </div>
2044
- <div class="wds_nav_box wds_nav_css_box">
2045
- <table style="width:50%">
2046
- <tbody>
2047
- <tr>
2048
- <td class="spider_label"><label for="css"><?php _e('Css:', 'wds'); ?></label></td>
2049
- </tr>
2050
- <tr>
2051
- <td style="width: 90%;">
2052
- <div class="spider_description"><?php _e('Add custom CSS to apply custom changes to the slider.', 'wds'); ?></div>
2053
- <textarea id="css" name="css" rows="30" style="width: 100%;"><?php echo htmlspecialchars($row->css); ?></textarea>
2054
- </td>
2055
- </tr>
2056
- </tbody>
2057
- </table>
2058
- </div>
2059
- <div class="wds_nav_box wds_nav_callbacks_box">
2060
- <?php $callback_items = json_decode(htmlspecialchars_decode($row->javascript), TRUE); ?>
2061
- <table>
2062
- <tr>
2063
- <td class="spider_label_options callback_label_options">
2064
- <label for="css"><?php _e('Add new callback:', 'wds'); ?></label>
2065
- </td>
2066
- <td>
2067
- <div style="vertical-align: middle;">
2068
- <select class="select_icon select_icon_320" name="callback_list" id="callback_list">
2069
- <?php
2070
- foreach ($slider_callbacks as $key => $slider_callback) {
2071
- ?>
2072
- <option value="<?php echo $key; ?>" <?php echo (($row->javascript == $key) ? 'selected="selected"' : ''); ?> <?php echo (isset($callback_items[$key]))? "style='display:none'" : ""; ?>><?php echo $slider_callback; ?></option>
2073
- <?php
2074
- }
2075
- ?>
2076
- </select>
2077
-
2078
- <button type="button" id="add_callback" class="action_buttons add_callback" onclick="add_new_callback(jQuery(this).closest('tr'),jQuery(this).closest('tr').find('select'));"></button>
2079
- <div class="spider_description"></div>
2080
- </div>
2081
- </td>
2082
- </tr>
2083
- <tr>
2084
- <td colspan="2">
2085
- <?php
2086
- if (is_array($callback_items) && count($callback_items)) {
2087
- foreach ($callback_items as $key => $callback_item) {
2088
- ?>
2089
- <div class="callbeck-item">
2090
- <span class="spider_label_options"><?php echo $slider_callbacks[$key]; ?></span>
2091
- <textarea class="callbeck-textarea" name="<?php echo $key; ?>"><?php echo $callback_item; ?></textarea>
2092
- <button type="button" id="remove_callback" class="action_buttons remove_callback" onclick="remove_callback_item(this);"><?php _e('Slider WD', 'wds');?></button>
2093
- </div>
2094
- <?php
2095
- }
2096
- }
2097
- ?>
2098
- </td>
2099
- </tr>
2100
- </table>
2101
- </div>
2102
- </div>
2103
- </div>
2104
- <!--------------Slides tab----------->
2105
- <div class="wds_box wds_slides_box">
2106
- <table>
2107
- <thead>
2108
- <tr>
2109
- <td colspan="4">
2110
- <div class="tab_conteiner">
2111
- <div class="tab_button_wrap setting_tab_button_wrap" onclick="wds_change_tab(this, 'wds_settings_box')">
2112
- <a class="wds_button-secondary wds_settings" href="#">
2113
- <span tab_type="settings" class="wds_tab_label"><?php _e('Settings', 'wds'); ?></span>
2114
- </a>
2115
- </div>
2116
- <div class="tab_button_wrap slides_tab_button_wrap" onclick="wds_change_tab(this, 'wds_slides_box')" >
2117
- <a class="wds_button-secondary wds_slides" href="#">
2118
- <span tab_type="slides" class="wds_tab_label"><?php _e('Slides', 'wds'); ?></span>
2119
- </a>
2120
- </div>
2121
- <div class="clear"></div>
2122
- </div>
2123
- <div class="wds_buttons">
2124
- <?php
2125
- if ($spider_uploader) {
2126
- ?>
2127
- <div class="wds_button_wrap">
2128
- <a href="<?php echo add_query_arg(array('callback' => 'wds_add_image', 'image_for' => 'add_slides', 'TB_iframe' => '1'), $query_url); ?>" class="wds_buttons_320 action_buttons thickbox thickbox-preview add_images" title="<?php _e('Add Images', 'wds'); ?>" onclick="return false;">
2129
- <?php _e('Add Images', 'wds'); ?>
2130
- </a>
2131
- </div>
2132
- <?php
2133
- }
2134
- else {
2135
- ?>
2136
- <div class="wds_button_wrap">
2137
- <input type="button" class="action_buttons add_images" id="button_image_url" onclick="spider_media_uploader('button_image_url', event, true); return false;" value="<?php _e('Add Images', 'wds'); ?>" />
2138
- </div>
2139
- <?php
2140
- }
2141
- ?>
2142
- <div class="wds_button_wrap">
2143
- <input class="wds_buttons_320 action_buttons add_posts wds_free_button" type="button" onclick="alert('<?php echo $functionality_disabled_version; ?>')" value="<?php _e('Add Posts', 'wds'); ?>" />
2144
- </div>
2145
- <div class="wds_button_wrap">
2146
- <input class="wds_buttons_320 action_buttons set_watermark" type="button" onclick="spider_set_input_value('task', 'set_watermark'); spider_ajax_save('sliders_form', event);" value="<?php _e('Set Watermark', 'wds'); ?>" />
2147
- </div>
2148
- <div class="wds_button_wrap">
2149
- <input class="wds_buttons_320 action_buttons reset_watermark" type="button" onclick="spider_set_input_value('task', 'reset_watermark'); spider_ajax_save('sliders_form', event);" value="<?php _e('Reset Watermark', 'wds'); ?>" />
2150
- </div>
2151
- </div>
2152
- </td>
2153
- </tr>
2154
- </thead>
2155
- <tbody style="display: block;">
2156
- <tr style="display: block;">
2157
- <td colspan="4" style="display: block;">
2158
- <div class="bgcolor wds_tabs wbs_subtab aui-sortable">
2159
- <h2 class="titles"><?php _e('Slides', 'wds'); ?></h2>
2160
- <?php
2161
- foreach ($slides_row as $key => $slide_row) {
2162
- ?>
2163
- <script>
2164
- jQuery(function(){
2165
- jQuery(document).on("click","#wds_tab_image<?php echo $slide_row->id; ?>",function(){
2166
- wds_change_sub_tab(this, 'wds_slide<?php echo $slide_row->id; ?>');
2167
- });
2168
- jQuery(document).on("click","#wds_tab_image<?php echo $slide_row->id; ?> input",function(e){
2169
- e.stopPropagation();
2170
- });
2171
- jQuery(document).on("click","#title<?php echo $slide_row->id; ?>",function(){
2172
- wds_change_sub_tab(jQuery("#wds_tab_image<?php echo $slide_row->id; ?>"), 'wds_slide<?php echo $slide_row->id; ?>');
2173
- wds_change_sub_tab_title(this, 'wds_slide<?php echo $slide_row->id; ?>');
2174
- });
2175
- });
2176
- </script>
2177
- <div id="wds_subtab_wrap<?php echo $slide_row->id; ?>" class="wds_subtab_wrap connectedSortable">
2178
- <div id="wbs_subtab<?php echo $slide_row->id; ?>" class="tab_link <?php echo (((($id == 0 || !$sub_tab_type) || (strpos($sub_tab_type, 'pr') !== FALSE)) && $key == 0) || ('slide' . $slide_row->id == $sub_tab_type)) ? 'wds_sub_active' : ''; ?>" href="#" >
2179
- <div style='background-image:url("<?php echo $slide_row->type != 'image' ? ($slide_row->type == 'video' && ctype_digit($slide_row->thumb_url) ? (wp_get_attachment_url(get_post_thumbnail_id($slide_row->thumb_url)) ? wp_get_attachment_url(get_post_thumbnail_id($slide_row->thumb_url)) : WD_S_URL . '/images/no-video.png') : $slide_row->thumb_url) : $slide_row->thumb_url ?>");background-position: center' class="tab_image" id="wds_tab_image<?php echo $slide_row->id; ?>" >
2180
- <div class="tab_buttons">
2181
- <div class="handle_wrap">
2182
- <div class="handle" title="<?php _e('Drag to re-order', 'wds'); ?>"></div>
2183
- </div>
2184
- <div class="wds_tab_title_wrap">
2185
- <input type="text" id="title<?php echo $slide_row->id; ?>" name="title<?php echo $slide_row->id; ?>" value="<?php echo $slide_row->title; ?>" class="wds_tab_title" tab_type="slide<?php echo $slide_row->id; ?>" />
2186
- </div>
2187
- <input type="hidden" name="order<?php echo $slide_row->id; ?>" id="order<?php echo $slide_row->id; ?>" value="<?php echo $slide_row->order; ?>" />
2188
- </div>
2189
- <div class="overlay" >
2190
- <div id="hover_buttons">
2191
- <?php
2192
- if ($spider_uploader) {
2193
- ?>
2194
- <a href="<?php echo add_query_arg(array('callback' => 'wds_add_image', 'image_for' => 'add_update_slide','slide_id' => $slide_row->id, 'TB_iframe' => '1'), $query_url); ?>" class="wds_change_thumbnail thickbox thickbox-preview" title="<?php _e('Add/Edit Image', 'wds'); ?>" onclick="return false;">
2195
- </a>
2196
- <?php
2197
- }
2198
- else {
2199
- ?>
2200
- <span class="wds_change_thumbnail" onclick="spider_media_uploader('<?php echo $slide_row->id; ?>', event, false); return false;" title="<?php _e('Add/Edit Image', 'wds'); ?>" value="<?php _e('Edit Image', 'wds'); ?>"></span>
2201
- <?php
2202
- }
2203
- ?>
2204
- <span class="wds_slide_dublicate" title="Duplicate Slide" onclick="wds_duplicate_slide('<?php echo $slide_row->id; ?>');"></span>
2205
- <span class="wds_tab_remove" title="Remove Slide" onclick="wds_remove_slide('<?php echo $slide_row->id; ?>')"></span>
2206
- <input type="hidden" name="order<?php echo $slide_row->id; ?>" id="order<?php echo $slide_row->id; ?>" value="<?php echo $slide_row->order; ?>" />
2207
- <span class="wds_clear"></span>
2208
- </div>
2209
- </div>
2210
- </div>
2211
- </div>
2212
- </div>
2213
- <?php
2214
- }
2215
- ?>
2216
- <div class="wds_subtab_wrap new_tab_image">
2217
- <div class="new_tab_link" onclick="wds_add_slide()"></div>
2218
- </div>
2219
- <div class="wds_clear"></div>
2220
- </div>
2221
- <?php
2222
- foreach ($slides_row as $key => $slide_row) {
2223
- ?>
2224
- <div class="wds_box <?php echo (((($id == 0 || !$sub_tab_type) || (strpos($sub_tab_type, 'pr') !== FALSE)) && $key == 0) || ('slide' . $slide_row->id == $sub_tab_type)) ? 'wds_sub_active' : ''; ?> wds_slide<?php echo $slide_row->id; ?>">
2225
- <table class="ui-sortable<?php echo $slide_row->id; ?>">
2226
- <thead><tr><td colspan="4">&nbsp;</td></tr></thead>
2227
- <tbody>
2228
- <input type="hidden" name="type<?php echo $slide_row->id; ?>" id="type<?php echo $slide_row->id; ?>" value="<?php echo $slide_row->type; ?>" />
2229
- <tr class="bgcolor">
2230
- <td colspan="4">
2231
- <h2 class="titles"><?php _e('Edit Slide', 'wds'); ?></h2>
2232
- <div id="slide_add_buttons">
2233
- <?php
2234
- if (!$spider_uploader) {
2235
- ?>
2236
- <div class="slide_add_buttons_wrap">
2237
- <input type="button" class="action_buttons edit_slide" id="button_image_url<?php echo $slide_row->id; ?>" onclick="spider_media_uploader('<?php echo $slide_row->id; ?>', event, false); return false;" value="<?php _e('Add/Edit Image', 'wds'); ?>" />
2238
- </div>
2239
- <?php
2240
- }
2241
- else {
2242
- ?>
2243
- <div class="slide_add_buttons_wrap">
2244
- <a href="<?php echo add_query_arg(array('callback' => 'wds_add_image', 'image_for' => 'add_update_slide', 'slide_id' => $slide_row->id, 'TB_iframe' => '1'), $query_url); ?>" class="action_buttons edit_slide thickbox thickbox-preview" title="<?php _e('Add/Edit Image', 'wds'); ?>" onclick="return false;">
2245
- <?php _e('Add/Edit Image', 'wds'); ?>
2246
- </a>
2247
- </div>
2248
- <?php
2249
- }
2250
- ?>
2251
- <div class="slide_add_buttons_wrap">
2252
- <input type="button" class="action_buttons add_by_url" onclick="wds_add_image_url('<?php echo $slide_row->id; ?>')" value="<?php _e('Add Image by URL', 'wds'); ?>" />
2253
- </div>
2254
- <div class="slide_add_buttons_wrap">
2255
- <input type="button" class="action_buttons add_video wds_free_button" onclick="alert('<?php echo $functionality_disabled_version; ?>')" value="<?php _e('Add Video', 'wds'); ?>" />
2256
- </div>
2257
- <div class="slide_add_buttons_wrap">
2258
- <input type="button" class="action_buttons embed_media wds_free_button" onclick="alert('<?php echo $functionality_disabled_version; ?>')" value="<?php _e('Embed Media', 'wds'); ?>" />
2259
- </div>
2260
- <div class="slide_add_buttons_wrap">
2261
- <input class="action_buttons add_post wds_free_button" type="button" value="<?php _e('Add Post', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
2262
- </div>
2263
- <div class="slide_add_buttons_wrap">
2264
- <input type="button" class="action_buttons delete" id="delete_image_url<?php echo $slide_row->id; ?>" onclick="wds_remove_slide('<?php echo $slide_row->id; ?>')" value="<?php _e('Delete', 'wds'); ?>" />
2265
- </div>
2266
- <div class="slide_add_buttons_wrap">
2267
- <input type="button" class="action_buttons edit_thumb wds_free_button" id="button_image_url<?php echo $slide_row->id; ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>'); return false;" value="<?php _e('Edit Thumbnail', 'wds'); ?>" />
2268
- </div>
2269
- <input type="hidden" id="image_url<?php echo $slide_row->id; ?>" name="image_url<?php echo $slide_row->id; ?>" value="<?php echo $slide_row->image_url; ?>" />
2270
- <input type="hidden" id="thumb_url<?php echo $slide_row->id; ?>" name="thumb_url<?php echo $slide_row->id; ?>" value="<?php echo $slide_row->thumb_url; ?>" />
2271
- <div class="clear"></div>
2272
- </div>
2273
- </td>
2274
- </tr>
2275
- <tr class="bgcolor">
2276
- <td colspan="4">
2277
- <div id="wds_preview_wrapper_<?php echo $slide_row->id; ?>" class="wds_preview_wrapper" style="width: <?php echo $row->width; ?>px; height: <?php echo $row->height; ?>px;">
2278
- <div class="wds_preview" style="overflow: hidden; position: absolute; width: inherit; height: inherit; background-color: transparent; background-image: none; display: block;">
2279
- <div id="wds_preview_image<?php echo $slide_row->id; ?>" class="wds_preview_image<?php echo $slide_row->id; ?> wds_preview_image"
2280
- style='background-color: <?php echo WDW_S_Library::spider_hex2rgba($row->background_color, (100 - $row->background_transparent) / 100); ?>;
2281
- background-image: url("<?php echo $slide_row->type != 'image' ? $slide_row->thumb_url : $slide_row->image_url . '?date=' . date('Y-m-d H:i:s'); ?>");
2282
- background-position: <?php echo ($row->smart_crop == '1' && ($row->bg_fit == 'cover' || $row->bg_fit == 'contain')) ? $row->crop_image_position : 'center center'; ?>;
2283
- background-repeat: no-repeat;
2284
- background-size: <?php echo $row->bg_fit; ?>;
2285
- width: inherit;
2286
- height: inherit;
2287
- /*position: relative;*/'>
2288
- <?php
2289
- $layers_row = $this->model->get_layers_row_data($slide_row->id);
2290
- if ($layers_row) {
2291
- foreach ($layers_row as $key => $layer) {
2292
- $prefix = 'slide' . $slide_row->id . '_layer' . $layer->id;
2293
- $fonts = (isset($layer->google_fonts) && $layer->google_fonts) ? $google_fonts : $font_families;
2294
- switch ($layer->type) {
2295
- case 'text': {
2296
- ?>
2297
- <span id="<?php echo $prefix; ?>" class="wds_draggable_<?php echo $slide_row->id; ?> wds_draggable ui-draggable" data-type="wds_text_parent" onclick="wds_showhide_layer('<?php echo $prefix; ?>_tbody', 1)"
2298
- style="<?php echo $layer->image_width ? 'width: ' . $layer->image_width . '%; ' : ''; ?><?php echo $layer->image_height ? 'height: ' . $layer->image_height . '%; ' : ''; ?>word-break: <?php echo ($layer->image_scale ? 'normal' : 'break-all'); ?>; display: inline-block; position: absolute; left: <?php echo $layer->left; ?>px; top: <?php echo $layer->top; ?>px; z-index: <?php echo $layer->depth; ?>; color: #<?php echo $layer->color; ?>; font-size: <?php echo $layer->size; ?>px; line-height: 1.25em; font-family: <?php echo $fonts[$layer->ffamily]; ?>; font-weight: <?php echo $layer->fweight; ?>; padding: <?php echo $layer->padding; ?>; background-color: <?php echo WDW_S_Library::spider_hex2rgba($layer->fbgcolor, (100 - $layer->transparent) / 100); ?>; border: <?php echo $layer->border_width; ?>px <?php echo $layer->border_style; ?> #<?php echo $layer->border_color; ?>; border-radius: <?php echo $layer->border_radius; ?>; box-shadow: <?php echo $layer->shadow; ?>; text-align: <?php echo $layer->text_alignment; ?>"><?php echo str_replace(array("\r\n", "\r", "\n"), "<br>", $layer->text); ?></span>
2299
- <?php
2300
- break;
2301
- }
2302
- case 'image': {
2303
- ?>
2304
- <img id="<?php echo $prefix; ?>" class="wds_draggable_<?php echo $slide_row->id; ?> wds_draggable ui-draggabe" onclick="wds_showhide_layer('<?php echo $prefix; ?>_tbody', 1)" src="<?php echo $layer->image_url; ?>"
2305
- style="opacity: <?php echo (100 - $layer->imgtransparent) / 100; ?>; filter: Alpha(opacity=<?php echo 100 - $layer->imgtransparent; ?>); position: absolute; left: <?php echo $layer->left; ?>px; top: <?php echo $layer->top; ?>px; z-index: <?php echo $layer->depth; ?>; border: <?php echo $layer->border_width; ?>px <?php echo $layer->border_style; ?> #<?php echo $layer->border_color; ?>; border-radius: <?php echo $layer->border_radius; ?>; box-shadow: <?php echo $layer->shadow; ?>; " />
2306
- <?php
2307
- break;
2308
- }
2309
- case 'video': {
2310
- ?>
2311
- <img id="<?php echo $prefix; ?>" class="wds_draggable_<?php echo $slide_row->id; ?> wds_draggable ui-draggable" onclick="wds_showhide_layer('<?php echo $prefix; ?>_tbody', 1)" src="<?php echo $layer->image_url; ?>"
2312
- style="max-width: <?php echo $layer->image_width; ?>px; width: <?php echo $layer->image_width; ?>px; max-height: <?php echo $layer->image_height; ?>px; height: <?php echo $layer->image_height; ?>px; position: absolute; left: <?php echo $layer->left; ?>px; top: <?php echo $layer->top; ?>px; z-index: <?php echo $layer->depth; ?>; border: <?php echo $layer->border_width; ?>px <?php echo $layer->border_style; ?> #<?php echo $layer->border_color; ?>; border-radius: <?php echo $layer->border_radius; ?>; box-shadow: <?php echo $layer->shadow; ?>;" />
2313
- <?php
2314
- break;
2315
- }
2316
- case 'social': {
2317
- ?>
2318
- <i id="<?php echo $prefix; ?>" class="wds_draggable_<?php echo $slide_row->id; ?> wds_draggable fa fa-<?php echo $layer->social_button; ?> ui-draggable" onclick="wds_showhide_layer('<?php echo $prefix; ?>_tbody', 1)"
2319
- style="opacity: <?php echo (100 - $layer->transparent) / 100; ?>; filter: Alpha(opacity=<?php echo 100 - $layer->transparent; ?>); position: absolute; left: <?php echo $layer->left; ?>px; top: <?php echo $layer->top; ?>px; z-index: <?php echo $layer->depth; ?>; color: #<?php echo $layer->color; ?>; font-size: <?php echo $layer->size; ?>px; line-height: <?php echo $layer->size; ?>px; padding: <?php echo $layer->padding; ?>; "></i>
2320
- <?php
2321
- break;
2322
- }
2323
- default:
2324
- break;
2325
- }
2326
- }
2327
- }
2328
- ?>
2329
- </div>
2330
- </div>
2331
- </div>
2332
- </td>
2333
- </tr>
2334
- <tr>
2335
- <td>
2336
- <table class="wds_slide_radio_left">
2337
- <tr>
2338
- <td class="spider_label"><label><?php _e('Published:', 'wds'); ?></label></td>
2339
- <td>
2340
- <input type="radio" id="published<?php echo $slide_row->id; ?>1" name="published<?php echo $slide_row->id; ?>" <?php echo (($slide_row->published) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($slide_row->published) ? 'class="selected_color"' : ''); ?> for="published<?php echo $slide_row->id; ?>1"><?php _e('Yes', 'wds'); ?></label>
2341
- <input type="radio" id="published<?php echo $slide_row->id; ?>0" name="published<?php echo $slide_row->id; ?>" <?php echo (($slide_row->published) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($slide_row->published) ? '' : 'class="selected_color"'); ?> for="published<?php echo $slide_row->id; ?>0"><?php _e('No', 'wds'); ?></label>
2342
- </td>
2343
- </tr>
2344
- </table>
2345
- <table class="wds_slide_radio_right">
2346
- <tr id="trlink<?php echo $slide_row->id; ?>" <?php echo $slide_row->type == 'image' ? '' : 'style="display: none;"'; ?>>
2347
- <td title="<?php _e('You can set a redirection link, so that the user will get to the mentioned location upon hitting the slide.Use http:// and https:// for external links.', 'wds'); ?>" class="wds_tooltip spider_label">
2348
- <label for="link<?php echo $slide_row->id; ?>"><?php _e('Link the slide to:', 'wds'); ?></label>
2349
- </td>
2350
- <td>
2351
- <input class="wds_external_link" id="link<?php echo $slide_row->id; ?>" type="text" value="<?php echo $slide_row->link; ?>" name="link<?php echo $slide_row->id; ?>" />
2352
- <input id="target_attr_slide<?php echo $slide_row->id; ?>" type="checkbox" name="target_attr_slide<?php echo $slide_row->id; ?>" <?php echo (($slide_row->target_attr_slide) ? 'checked="checked"' : ''); ?> value="1" /><label for="target_attr_slide<?php echo $slide_row->id; ?>"><?php _e('Open in a new window', 'wds'); ?></label>
2353
- </td>
2354
- </tr>
2355
- </table>
2356
- </td>
2357
- </tr>
2358
- <tr class="bgcolor">
2359
- <td colspan="4">
2360
- <h2 class="titles"><?php _e('Layers', 'wds'); ?></h2>
2361
- <div id="layer_add_buttons">
2362
- <div class="layer_add_buttons_wrap">
2363
- <button class="action_buttons add_text_layer <?php echo !$fv ? "" : "wds_free_button"; ?> button-small" onclick="<?php echo !$fv ? "wds_add_layer('text', '" . $slide_row->id . "')" : "alert('". $functionality_disabled_version ."')"; ?>; return false;" ><?php _e('Add Text Layer', 'wds'); ?></button>
2364
- </div>
2365
- <?php
2366
- if (!$spider_uploader) {
2367
- ?>
2368
- <div class="layer_add_buttons_wrap">
2369
- <button class="action_buttons add_image_layer <?php echo " wds_free_button"; ?> button-small" onclick="<?php echo "alert('". $functionality_disabled_version ."')"; ?>; return false;"><?php _e('Add Image Layer', 'wds'); ?></button>
2370
- </div>
2371
- <?php
2372
- }
2373
- else {
2374
- ?>
2375
- <div class="layer_add_buttons_wrap">
2376
- <a href="<?php echo $fv ? add_query_arg(array('callback' => 'wds_add_image', 'image_for' => 'add_layer', 'slide_id' => $slide_row->id, 'TB_iframe' => '1'), $query_url) : ''; ?>" onclick="<?php echo "alert('". $functionality_disabled_version ."')"; ?>; return false;" class="action_buttons add_image_layer <?php echo " wds_free_button"; ?> button-small" title="<?php _e('Add Image Layer', 'wds'); ?>">
2377
- <?php _e('Add Image Layer', 'wds'); ?>
2378
- </a>
2379
- </div>
2380
- <?php
2381
- }
2382
- ?>
2383
- <div class="layer_add_buttons_wrap">
2384
- <input type="button" class="action_buttons add_video_layer button-small wds_free_button" id="button_video_url<?php echo $slide_row->id; ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>'); return false;" value="Add Video Layer" />
2385
- </div>
2386
- <div class="layer_add_buttons_wrap">
2387
- <input type="button" class="action_buttons add_embed_layer button-small wds_free_button" onclick="alert('<?php echo $functionality_disabled_version; ?>'); return false;" value="<?php _e('Embed Media Layer', 'wds'); ?>" />
2388
- </div>
2389
- <div class="layer_add_buttons_wrap">
2390
- <button class="action_buttons add_social_layer button-small wds_free_button" onclick="alert('<?php echo $functionality_disabled_version; ?>'); return false;"><?php _e('Social Button Layer', 'wds'); ?></button>
2391
- </div>
2392
- <div class="layer_add_buttons_wrap">
2393
- <button class="action_buttons add_hotspot_layer button-small wds_free_button" onclick="alert('<?php echo $functionality_disabled_version; ?>'); return false;"><?php _e('Add Hotspot Layer', 'wds'); ?></button>
2394
- </div>
2395
- <div class="clear"></div>
2396
- </div>
2397
- </td>
2398
- </tr>
2399
- </tbody>
2400
- <?php
2401
- $layer_ids_string = '';
2402
- if ($layers_row) {
2403
- foreach ($layers_row as $key => $layer) {
2404
- $prefix = 'slide' . $slide_row->id . '_layer' . $layer->id;
2405
- ?>
2406
- <tbody class="layer_table_count" id="<?php echo $prefix; ?>_tbody">
2407
- <tr class="wds_layer_head_tr">
2408
- <td class="wds_layer_head" colspan="4">
2409
- <div class="wds_layer_left">
2410
- <div class="layer_handle handle connectedSortable" title="Drag to re-order"></div>
2411
- <span class="wds_layer_label" onclick="wds_showhide_layer('<?php echo $prefix; ?>_tbody', 0)"><input id="<?php echo $prefix; ?>_title" name="<?php echo $prefix; ?>_title" type="text" class="wds_layer_title" value="<?php echo $layer->title; ?>" title="<?php _e('Layer title', 'wds'); ?>" /></span>
2412
- </div>
2413
- <div class="wds_layer_right">
2414
- <span class="wds_layer_remove" onclick="wds_delete_layer('<?php echo $slide_row->id; ?>', '<?php echo $layer->id; ?>'); " title="Delete layer"></span>
2415
- <span class="wds_layer_dublicate" onclick="wds_add_layer('<?php echo $layer->type; ?>', '<?php echo $slide_row->id; ?>', '', 1, 0); wds_duplicate_layer('<?php echo $layer->type; ?>', '<?php echo $slide_row->id; ?>', '<?php echo $layer->id; ?>');" title="Duplicate layer"></span>
2416
- <input id="<?php echo $prefix; ?>_depth" class="wds_layer_depth spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({zIndex: jQuery(this).val()})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->depth; ?>" prefix="<?php echo $prefix; ?>" name="<?php echo $prefix; ?>_depth" title="z-index" />
2417
- </div>
2418
- <div class="wds_clear"></div>
2419
- </td>
2420
- </tr>
2421
- <?php
2422
- switch ($layer->type) {
2423
- /*--------text layer----------*/
2424
- case 'text': {
2425
- ?>
2426
- <tr style="display:none">
2427
- <td colspan="2">
2428
- <table class="layer_table_left">
2429
- <tr class="wds_layer_tr" >
2430
- <td class="spider_label">
2431
- <label for="<?php echo $prefix; ?>_text"><?php _e('Text:', 'wds'); ?></label>
2432
- </td>
2433
- <td>
2434
- <textarea id="<?php echo $prefix; ?>_text" class="wds_textarea" name="<?php echo $prefix; ?>_text" style="width: 222px; height: 60px; resize: vertical;" onkeyup="wds_new_line('<?php echo $prefix; ?>');"><?php echo $layer->text; ?></textarea>
2435
- <input type="button" class="wds_editor_btn button-secondary" onclick="alert('<?php echo $functionality_disabled_version; ?>')" value="Editor" />
2436
- <div class="spider_description"></div>
2437
- </td>
2438
- </tr>
2439
- <tr class="wds_layer_tr">
2440
- <td class="spider_label">
2441
- <label for="<?php echo $prefix; ?>_static_layer"><?php _e('Static layer:', 'wds'); ?></label>
2442
- </td>
2443
- <td>
2444
- <input id="<?php echo $prefix; ?>_static_layer" type="checkbox" name="<?php echo $prefix; ?>_static_layer" <?php echo checked(1, $layer->static_layer); ?> value="1" />
2445
- <div class="spider_description"><?php _e('The layer will be visible on all slides.', 'wds'); ?></div>
2446
- </td>
2447
- </tr>
2448
- <tr class="wds_layer_tr">
2449
- <td title="Leave blank to keep the initial width and height." class="wds_tooltip spider_label">
2450
- <label for="<?php echo $prefix; ?>_image_width"><?php _e('Dimensions:', 'wds'); ?></label>
2451
- </td>
2452
- <td>
2453
- <input id="<?php echo $prefix; ?>_image_width" class="spider_int_input" type="text" onchange="wds_text_width(this,'<?php echo $prefix; ?>')" value="<?php echo $layer->image_width; ?>" name="<?php echo $prefix; ?>_image_width" /> x
2454
- <input id="<?php echo $prefix; ?>_image_height" class="spider_int_input" type="text" onchange="wds_text_height(this,'<?php echo $prefix; ?>')" value="<?php echo $layer->image_height; ?>" name="<?php echo $prefix; ?>_image_height" /> %
2455
- <input id="<?php echo $prefix; ?>_image_scale" type="checkbox" onchange="wds_break_word(this, '<?php echo $prefix; ?>')" name="<?php echo $prefix; ?>_image_scale" <?php echo (($layer->image_scale) ? 'checked="checked"' : ''); ?> /><label for="<?php echo $prefix; ?>_image_scale"><?php _e('Break-word', 'wds'); ?></label>
2456
- </td>
2457
- </tr>
2458
- <tr class="wds_layer_tr" >
2459
- <td title="<?php _e('In addition you can drag and drop the layer to a desired position.', 'wds'); ?>" class="wds_tooltip spider_label">
2460
- <label><?php _e('Position:', 'wds'); ?></label>
2461
- </td>
2462
- <td>
2463
- X <input id="<?php echo $prefix; ?>_left" class="spider_int_input" type="text" <?php echo ($layer->align_layer) ? 'disabled="disabled"' : ''; ?> onchange="jQuery('#<?php echo $prefix; ?>').css({left: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->left; ?>" name="<?php echo $prefix; ?>_left" />
2464
- Y <input id="<?php echo $prefix; ?>_top" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({top: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->top; ?>" name="<?php echo $prefix; ?>_top" />
2465
- <input id="<?php echo $prefix; ?>_align_layer" type="checkbox" name="<?php echo $prefix; ?>_align_layer" <?php echo checked(1, $layer->align_layer ); ?> value="1" onchange="wds_position_left_disabled('<?php echo $prefix; ?>')" /><label for="<?php echo $prefix; ?>_align_layer"><?php _e('Fixed step (left, center, right)', 'wds'); ?></label>
2466
- </td>
2467
- </tr>
2468
- <tr class="wds_layer_tr">
2469
- <td class="spider_label">
2470
- <label for="<?php echo $prefix; ?>_size"><?php _e('Size:', 'wds'); ?> </label>
2471
- </td>
2472
- <td>
2473
- <span style="display: table-cell">
2474
- <input id="<?php echo $prefix; ?>_size" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({fontSize: jQuery(this).val() + 'px', lineHeight: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->size; ?>" name="<?php echo $prefix; ?>_size" /> px
2475
- </span>
2476
- <span style="display: table-cell;">
2477
- <input id="<?php echo $prefix; ?>_min_size" class="spider_int_input" type="text" onchange="wds_min_size_validation('<?php echo $prefix; ?>')" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->min_size; ?>" name="<?php echo $prefix; ?>_min_size" /> px
2478
- <div class="spider_description"><?php _e('Minimal size must be less than the actual size.', 'wds'); ?></div>
2479
- </span>
2480
- </td>
2481
- </tr>
2482
- <tr class="wds_layer_tr" >
2483
- <td class="spider_label">
2484
- <label for="<?php echo $prefix; ?>_color"><?php _e('Color:', 'wds'); ?></label>
2485
- </td>
2486
- <td>
2487
- <input id="<?php echo $prefix; ?>_color" class="color" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({color: '#' + jQuery(this).val()})" value="<?php echo $layer->color; ?>" name="<?php echo $prefix; ?>_color" />
2488
- <div class="spider_description"></div>
2489
- </td>
2490
- </tr>
2491
- <tr class="wds_layer_tr">
2492
- <td class="spider_label">
2493
- <label for="<?php echo $prefix; ?>_hover_color_text"><?php _e('Hover Color:', 'wds'); ?></label>
2494
- </td>
2495
- <td>
2496
- <input id="<?php echo $prefix; ?>_hover_color_text" class="color" type="text" value="<?php echo $layer->hover_color_text; ?>" name="<?php echo $prefix; ?>_hover_color_text" />
2497
- <div class="spider_description"></div>
2498
- </td>
2499
- </tr>
2500
- <tr class="wds_layer_tr" >
2501
- <td class="spider_label">
2502
- <label for="<?php echo $prefix; ?>_ffamily"><?php _e('Font family:', 'wds'); ?></label>
2503
- </td>
2504
- <td>
2505
- <select class="select_icon select_icon_320" style="width: 200px;" id="<?php echo $prefix; ?>_ffamily" onchange="wds_change_fonts('<?php echo $prefix; ?>', 1)" name="<?php echo $prefix; ?>_ffamily">
2506
- <?php
2507
- $fonts = (isset($layer->google_fonts) && $layer->google_fonts) ? $google_fonts : $font_families;
2508
- foreach ($fonts as $key => $font_family) {
2509
- ?>
2510
- <option value="<?php echo $key; ?>" <?php echo (($layer->ffamily == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
2511
- <?php
2512
- }
2513
- ?>
2514
- </select>
2515
- <input id="<?php echo $prefix; ?>_google_fonts1" type="radio" name="<?php echo $prefix; ?>_google_fonts" value="1" <?php echo (($layer->google_fonts) ? 'checked="checked"' : ''); ?> onchange="wds_change_fonts('<?php echo $prefix; ?>')" />
2516
- <label for="<?php echo $prefix; ?>_google_fonts1"><?php _e('Google fonts', 'wds'); ?></label>
2517
- <input id="<?php echo $prefix; ?>_google_fonts0" type="radio" name="<?php echo $prefix;?>_google_fonts" value="0" <?php echo (($layer->google_fonts) ? '' : 'checked="checked"'); ?> onchange="wds_change_fonts('<?php echo $prefix; ?>')" />
2518
- <label for="<?php echo $prefix; ?>_google_fonts0"><?php _e('Default', 'wds'); ?></label>
2519
- <div class="spider_description"></div>
2520
- </td>
2521
- </tr>
2522
- <tr class="wds_layer_tr" >
2523
- <td class="spider_label">
2524
- <label for="<?php echo $prefix; ?>_fweight"><?php _e('Font weight:', 'wds'); ?></label>
2525
- </td>
2526
- <td>
2527
- <select class="select_icon select_icon_320" style="width:70px" id="<?php echo $prefix; ?>_fweight" onchange="jQuery('#<?php echo $prefix; ?>').css({fontWeight: jQuery(this).val()})" name="<?php echo $prefix; ?>_fweight">
2528
- <?php
2529
- foreach ($font_weights as $key => $fweight) {
2530
- ?>
2531
- <option value="<?php echo $key; ?>" <?php echo (($layer->fweight == $key) ? 'selected="selected"' : ''); ?>><?php echo $fweight; ?></option>
2532
- <?php
2533
- }
2534
- ?>
2535
- </select>
2536
- <div class="spider_description"></div>
2537
- </td>
2538
- </tr>
2539
- <tr class="wds_layer_tr" >
2540
- <td title="<?php _e('Use http:// and https:// for external links.', 'wds'); ?>" class="wds_tooltip spider_label">
2541
- <label for="<?php echo $prefix; ?>_link"><?php _e('Link:', 'wds'); ?></label>
2542
- </td>
2543
- <td>
2544
- <input id="<?php echo $prefix; ?>_link" class="wds_link" type="text" value="<?php echo $layer->link; ?>" name="<?php echo $prefix; ?>_link" />
2545
- <input id="<?php echo $prefix; ?>_target_attr_layer" type="checkbox" name="<?php echo $prefix; ?>_target_attr_layer" <?php echo (($layer->target_attr_layer) ? 'checked="checked"' : ''); ?> value="1" /><label for="<?php echo $prefix; ?>_target_attr_layer"><?php _e('Published', 'wds'); ?></label>
2546
- </td>
2547
- </tr>
2548
- <tr class="wds_layer_tr" >
2549
- <td class="spider_label">
2550
- <label><?php _e('Published:', 'wds'); ?></label>
2551
- </td>
2552
- <td>
2553
- <input id="<?php echo $prefix; ?>_published1" type="radio" name="<?php echo $prefix; ?>_published" value="1" <?php echo (($layer->published) ? 'checked="checked"' : ''); ?> />
2554
- <label for="<?php echo $prefix; ?>_published1"><?php _e('Yes', 'wds'); ?></label>
2555
- <input id="<?php echo $prefix; ?>_published0" type="radio" name="<?php echo $prefix; ?>_published" value="0" <?php echo (($layer->published) ? '' : 'checked="checked"'); ?> />
2556
- <label for="<?php echo $prefix; ?>_published0"><?php _e('No', 'wds'); ?></label>
2557
- <div class="spider_description"></div>
2558
- </td>
2559
- </tr>
2560
- </table>
2561
- <table class="layer_table_right">
2562
- <tr class="wds_layer_tr" >
2563
- <td class="spider_label">
2564
- <label for="<?php echo $prefix; ?>_layer_effect_in"><?php _e('Effect In:', 'wds'); ?></label>
2565
- </td>
2566
- <td>
2567
- <span style="display: table-cell;">
2568
- <input id="<?php echo $prefix; ?>_start" class="spider_int_input" type="text" value="<?php echo $layer->start; ?>" name="<?php echo $prefix; ?>_start" /><?php _e('ms', 'wds'); ?>
2569
- <div class="spider_description"><?php _e('Start', 'wds'); ?></div>
2570
- </span>
2571
- <span style="display: table-cell;">
2572
- <select class="select_icon select_icon_320" name="<?php echo $prefix; ?>_layer_effect_in" id="<?php echo $prefix; ?>_layer_effect_in" style="width:150px;" onchange="wds_trans_effect_in('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery(this).val());">
2573
- <?php
2574
- foreach ($layer_effects_in as $key => $layer_effect_in) {
2575
- ?>
2576
- <option value="<?php echo $key; ?>" <?php echo (!in_array($key, $free_layer_effects)) ? 'disabled="disabled" title="'. __('This effect is disabled in free version.', 'wds') .'"' : ''; ?> <?php if ($layer->layer_effect_in == $key) echo 'selected="selected"'; ?>><?php echo $layer_effect_in; ?></option>
2577
- <?php
2578
- }
2579
- ?>
2580
- </select>
2581
- <div class="spider_description"><?php _e('Effect', 'wds'); ?></div>
2582
- </span>
2583
- <span style="display: table-cell;">
2584
- <input id="<?php echo $prefix; ?>_duration_eff_in" class="spider_int_input" type="text" onkeypress="return spider_check_isnum(event)" onchange="wds_trans_effect_in('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_in').val());" value="<?php echo $layer->duration_eff_in; ?>" name="<?php echo $prefix; ?>_duration_eff_in" /><?php _e('ms', 'wds'); ?>
2585
- <div class="spider_description"><?php _e('Duration', 'wds'); ?></div>
2586
- </span>
2587
- <span style="display: table-cell;">
2588
- <input id="<?php echo $prefix; ?>_infinite_in" type="text" name="<?php echo $prefix; ?>_infinite_in" value="<?php echo $layer->infinite_in; ?>" class="spider_int_input" title="0 for play infinte times" <?php echo ($layer->layer_effect_in == 'none') ? 'disabled="disabled"' : ''; ?> onchange="wds_trans_effect_in('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_in').val());" />
2589
- <div class="spider_description"><?php _e('Iteration', 'wds'); ?></div>
2590
- </span>
2591
- <div class="spider_description spider_free_version"><?php _e('Some effects are disabled in free version.', 'wds'); ?></div>
2592
- </td>
2593
- </tr>
2594
- <tr class="wds_layer_tr">
2595
- <td class="spider_label">
2596
- <label for="<?php echo $prefix; ?>_layer_effect_out"><?php _e('Effect Out:', 'wds'); ?></label>
2597
- </td>
2598
- <td>
2599
- <span style="display: table-cell;">
2600
- <input id="<?php echo $prefix; ?>_end" class="spider_int_input" type="text" value="<?php echo $layer->end; ?>" name="<?php echo $prefix; ?>_end"><?php _e('ms', 'wds'); ?>
2601
- <div class="spider_description"><?php _e('Start', 'wds'); ?></div>
2602
- </span>
2603
- <span style="display: table-cell;">
2604
- <select class="select_icon select_icon_320" name="<?php echo $prefix; ?>_layer_effect_out" id="<?php echo $prefix; ?>_layer_effect_out" style="width:150px;" onchange="wds_trans_effect_out('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery(this).val());">
2605
- <?php
2606
- foreach ($layer_effects_out as $key => $layer_effect_out) {
2607
- ?>
2608
- <option value="<?php echo $key; ?>" <?php echo (!in_array($key, $free_layer_effects)) ? 'disabled="disabled" title="'. __('This effect is disabled in free version.', 'wds') .'"' : ''; ?> <?php if ($layer->layer_effect_out == $key) echo 'selected="selected"'; ?>><?php echo $layer_effect_out; ?></option>
2609
- <?php
2610
- }
2611
- ?>
2612
- </select>
2613
- <div class="spider_description"><?php _e('Effect', 'wds'); ?></div>
2614
- </span>
2615
- <span style="display: table-cell;">
2616
- <input id="<?php echo $prefix; ?>_duration_eff_out" class="spider_int_input" type="text" onkeypress="return spider_check_isnum(event)" onchange="wds_trans_effect_out('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_out').val());" value="<?php echo $layer->duration_eff_out; ?>" name="<?php echo $prefix; ?>_duration_eff_out"><?php _e('ms', 'wds'); ?>
2617
- <div class="spider_description"><?php _e('Duration', 'wds'); ?></div>
2618
- </span>
2619
- <span style="display: table-cell;">
2620
- <input id="<?php echo $prefix; ?>_infinite_out" type="text" name="<?php echo $prefix; ?>_infinite_out" value="<?php echo $layer->infinite_out; ?>" class="spider_int_input" title="0 for play infinte times" <?php echo ($layer->layer_effect_out == 'none') ? 'disabled="disabled"' : ''; ?> onchange="wds_trans_effect_out('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 1); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_out').val());" />
2621
- <div class="spider_description"><?php _e('Iteration', 'wds'); ?></div>
2622
- </span>
2623
- <div class="spider_description spider_free_version"><?php _e('Some effects are disabled in free version.', 'wds'); ?></div>
2624
- </td>
2625
- </tr>
2626
- <tr class="wds_layer_tr">
2627
- <td title="Use CSS type values." class="wds_tooltip spider_label">
2628
- <label for="<?php echo $prefix; ?>_padding"><?php _e('Padding:', 'wds'); ?></label>
2629
- </td>
2630
- <td>
2631
- <input id="<?php echo $prefix; ?>_padding" class="spider_char_input" type="text" onchange="document.getElementById('<?php echo $prefix; ?>').style.padding=jQuery(this).val();" value="<?php echo $layer->padding; ?>" name="<?php echo $prefix; ?>_padding">
2632
- <div class="spider_description"></div>
2633
- </td>
2634
- </tr>
2635
- <tr class="wds_layer_tr">
2636
- <td class="spider_label">
2637
- <label for="<?php echo $prefix; ?>_fbgcolor"><?php _e('Background Color:', 'wds'); ?></label>
2638
- </td>
2639
- <td>
2640
- <input id="<?php echo $prefix; ?>_fbgcolor" class="color" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({backgroundColor: wds_hex_rgba(jQuery(this).val(), 100 - jQuery('#<?php echo $prefix; ?>_transparent').val())})" value="<?php echo $layer->fbgcolor; ?>" name="<?php echo $prefix; ?>_fbgcolor" />
2641
- <div class="spider_description"></div>
2642
- </td>
2643
- </tr>
2644
- <tr class="wds_layer_tr">
2645
- <td title="Value must be between 0 to 100." class="wds_tooltip spider_label">
2646
- <label for="<?php echo $prefix; ?>_transparent"><?php _e('Transparent:', 'wds'); ?></label>
2647
- </td>
2648
- <td>
2649
- <input id="<?php echo $prefix; ?>_transparent" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({backgroundColor: wds_hex_rgba(jQuery('#<?php echo $prefix; ?>_fbgcolor').val(), 100 - jQuery(this).val())})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->transparent; ?>" name="<?php echo $prefix; ?>_transparent"> %
2650
- <div class="spider_description"></div>
2651
- </td>
2652
- </tr>
2653
- <tr class="wds_layer_tr">
2654
- <td class="spider_label">
2655
- <label for="<?php echo $prefix; ?>_border_width"><?php _e('Border:', 'wds'); ?></label>
2656
- </td>
2657
- <td>
2658
- <input id="<?php echo $prefix; ?>_border_width" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({borderWidth: jQuery(this).val()})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->border_width; ?>" name="<?php echo $prefix; ?>_border_width"> px
2659
- <select class="select_icon select_icon_320" id="<?php echo $prefix; ?>_border_style" onchange="jQuery('#<?php echo $prefix; ?>').css({borderStyle: jQuery(this).val()})" style="width: 80px;" name="<?php echo $prefix; ?>_border_style">
2660
- <?php
2661
- foreach ($border_styles as $key => $border_style) {
2662
- ?>
2663
- <option value="<?php echo $key; ?>" <?php echo (($layer->border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
2664
- <?php
2665
- }
2666
- ?>
2667
- </select>
2668
- <input id="<?php echo $prefix; ?>_border_color" class="color" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({borderColor: '#' + jQuery(this).val()})" value="<?php echo $layer->border_color; ?>" name="<?php echo $prefix; ?>_border_color" />
2669
- <div class="spider_description"></div>
2670
- </td>
2671
- </tr>
2672
- <tr class="wds_layer_tr">
2673
- <td title="<?php _e('Use CSS type values.', 'wds'); ?>" class="wds_tooltip spider_label">
2674
- <label for="<?php echo $prefix; ?>_border_radius"><?php _e('Radius:', 'wds'); ?></label>
2675
- </td>
2676
- <td>
2677
- <input id="<?php echo $prefix; ?>_border_radius" class="spider_char_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({borderRadius: jQuery(this).val()})" value="<?php echo $layer->border_radius; ?>" name="<?php echo $prefix; ?>_border_radius">
2678
- <div class="spider_description"></div>
2679
- </td>
2680
- </tr>
2681
- <tr class="wds_layer_tr">
2682
- <td title="<?php _e('Use CSS type values (e.g. 10px 10px 5px #888888).', 'wds'); ?>" class="wds_tooltip spider_label">
2683
- <label for="<?php echo $prefix; ?>_shadow"><?php _e('Shadow:', 'wds'); ?></label>
2684
- </td>
2685
- <td>
2686
- <input id="<?php echo $prefix; ?>_shadow" class="spider_char_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({boxShadow: jQuery(this).val()})" value="<?php echo $layer->shadow; ?>" name="<?php echo $prefix; ?>_shadow" />
2687
- </td>
2688
- </tr>
2689
- <tr class="wds_layer_tr" >
2690
- <td title="<?php _e('Add class', 'wds'); ?>" class="wds_tooltip spider_label">
2691
- <label for="<?php echo $prefix; ?>_add_class"><?php _e('Add class:', 'wds'); ?></label>
2692
- </td>
2693
- <td>
2694
- <input id="<?php echo $prefix; ?>_add_class" class="spider_char_input" type="text" value="<?php echo $layer->add_class; ?>" name="<?php echo $prefix; ?>_add_class" />
2695
- </td>
2696
- </tr>
2697
- <tr class="wds_layer_tr" >
2698
- <td class="spider_label">
2699
- <label for="<?php echo $prefix; ?>_text_alignment"><?php _e('Text alignment:', 'wds'); ?></label>
2700
- </td>
2701
- <td>
2702
- <select class="select_icon select_icon_320" style="width:70px" id="<?php echo $prefix; ?>_text_alignment" onchange="jQuery('#<?php echo $prefix; ?>').css({textAlign: jQuery(this).val()})" name="<?php echo $prefix; ?>_text_alignment">
2703
- <?php
2704
- foreach ($text_alignments as $key => $text_alignment) {
2705
- ?>
2706
- <option value="<?php echo $key; ?>" <?php echo (($layer->text_alignment == $key) ? 'selected="selected"' : ''); ?>><?php echo $text_alignment; ?></option>
2707
- <?php
2708
- }
2709
- ?>
2710
- </select>
2711
- <div class="spider_description"></div>
2712
- </td>
2713
- </tr>
2714
- </table>
2715
- </td>
2716
- </tr>
2717
- <?php
2718
- break;
2719
- }
2720
- /*--------image layer----------*/
2721
- case 'image': {
2722
- ?>
2723
- <tr style="display:none">
2724
- <td>
2725
- <table class="layer_table_left">
2726
- <tr class="wds_layer_tr" >
2727
- <td class="spider_label">
2728
- <label for="<?php echo $prefix; ?>_static_layer"><?php _e('Static layer:', 'wds'); ?></label>
2729
- </td>
2730
- <td>
2731
- <input id="<?php echo $prefix; ?>_static_layer" type="checkbox" name="<?php echo $prefix; ?>_static_layer" <?php echo checked(1, $layer->static_layer); ?> value="1" />
2732
- <div class="spider_description"><?php _e('The layer will be visible on all slides.', 'wds'); ?></div>
2733
- </td>
2734
- </tr>
2735
- <tr class="wds_layer_tr">
2736
- <td title="<?php _e('Set width and height of the image.', 'wds'); ?>" class="wds_tooltip spider_label">
2737
- <label><?php _e('Dimensions:', 'wds'); ?></label>
2738
- </td>
2739
- <td>
2740
- <input type="hidden" name="<?php echo $prefix; ?>_image_url" id="<?php echo $prefix; ?>_image_url" value="<?php echo $layer->image_url; ?>" />
2741
- <input id="<?php echo $prefix; ?>_image_width" class="spider_int_input" type="text" onkeyup="wds_scale('#<?php echo $prefix; ?>_image_scale', '<?php echo $prefix; ?>')" value="<?php echo $layer->image_width; ?>" name="<?php echo $prefix; ?>_image_width" /> x
2742
- <input id="<?php echo $prefix; ?>_image_height" class="spider_int_input" type="text" onkeyup="wds_scale('#<?php echo $prefix; ?>_image_scale', '<?php echo $prefix; ?>')" value="<?php echo $layer->image_height; ?>" name="<?php echo $prefix; ?>_image_height" /> px
2743
- <input id="<?php echo $prefix; ?>_image_scale" type="checkbox" onchange="wds_scale(this, '<?php echo $prefix; ?>')" name="<?php echo $prefix; ?>_image_scale" <?php echo (($layer->image_scale) ? 'checked="checked"' : ''); ?> /><label for="<?php echo $prefix; ?>_image_scale"><?php _e('Scale', 'wds'); ?></label>
2744
- <input class="wds_not_image_buttons_grey wds_free_button" type="button" value="Edit Image" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
2745
- </td>
2746
- </tr>
2747
- <tr class="wds_layer_tr" >
2748
- <td title="<?php _e('Set the HTML attribute specified in the IMG tag.', 'wds'); ?>" class="wds_tooltip spider_label">
2749
- <label for="<?php echo $prefix; ?>_alt"><?php _e('Alt:', 'wds'); ?></label>
2750
- </td>
2751
- <td>
2752
- <input id="<?php echo $prefix; ?>_alt" type="text" size="39" value="<?php echo $layer->alt; ?>" name="<?php echo $prefix; ?>_alt" />
2753
- </td>
2754
- </tr>
2755
- <tr class="wds_layer_tr" >
2756
- <td title="<?php _e('Use http:// and https:// for external links.', 'wds'); ?>" class="wds_tooltip spider_label">
2757
- <label for="<?php echo $prefix; ?>_link"><?php _e('Link:', 'wds'); ?></label>
2758
- </td>
2759
- <td>
2760
- <input id="<?php echo $prefix; ?>_link" type="text" size="39" value="<?php echo $layer->link; ?>" name="<?php echo $prefix; ?>_link" />
2761
- <input id="<?php echo $prefix; ?>_target_attr_layer" type="checkbox" name="<?php echo $prefix; ?>_target_attr_layer" <?php echo (($layer->target_attr_layer) ? 'checked="checked"' : ''); ?> value="1" /><label for="<?php echo $prefix; ?>_target_attr_layer"> <?php _e('Open in a new window', 'wds'); ?></label>
2762
- </td>
2763
- </tr>
2764
- <tr class="wds_layer_tr" >
2765
- <td title="<?php _e('In addition you can drag and drop the layer to a desired position.', 'wds'); ?>" class="wds_tooltip spider_label">
2766
- <label><?php _e('Position:', 'wds'); ?></label>
2767
- </td>
2768
- <td>
2769
- X <input id="<?php echo $prefix; ?>_left" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({left: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->left; ?>" name="<?php echo $prefix; ?>_left" />
2770
- Y <input id="<?php echo $prefix; ?>_top" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({top: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->top; ?>" name="<?php echo $prefix; ?>_top" />
2771
- </td>
2772
- </tr>
2773
- <tr class="wds_layer_tr" >
2774
- <td title="Value must be between 0 to 100." class="wds_tooltip spider_label">
2775
- <label for="<?php echo $prefix; ?>_imgtransparent"><?php _e('Transparent:', 'wds'); ?></label>
2776
- </td>
2777
- <td>
2778
- <input id="<?php echo $prefix; ?>_imgtransparent" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({opacity: (100 - jQuery(this).val()) / 100, filter: 'Alpha(opacity=' + 100 - jQuery(this).val() + ')'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->imgtransparent; ?>" name="<?php echo $prefix; ?>_imgtransparent"> %
2779
- </td>
2780
- </tr>
2781
- <tr class="wds_layer_tr" >
2782
- <td class="spider_label">
2783
- <label><?php _e('Published:', 'wds'); ?></label>
2784
- </td>
2785
- <td>
2786
- <input id="<?php echo $prefix; ?>_published1" type="radio" name="<?php echo $prefix; ?>_published" value="1" <?php echo (($layer->published) ? 'checked="checked"' : ''); ?> />
2787
- <label for="<?php echo $prefix; ?>_published1"><?php _e('Yes', 'wds'); ?></label>
2788
- <input id="<?php echo $prefix; ?>_published0" type="radio" name="<?php echo $prefix; ?>_published" value="0" <?php echo (($layer->published) ? '' : 'checked="checked"'); ?>/>
2789
- <label for="<?php echo $prefix; ?>_published0"><?php _e('No', 'wds'); ?></label>
2790
- <div class="spider_description"></div>
2791
- </td>
2792
- </tr>
2793
- </table>
2794
- <table class="layer_table_right">
2795
- <tr class="wds_layer_tr">
2796
- <td class="spider_label">
2797
- <label for="<?php echo $prefix; ?>_layer_effect_in"><?php _e('Effect In:', 'wds'); ?></label>
2798
- </td>
2799
- <td>
2800
- <span style="display: table-cell;">
2801
- <input id="<?php echo $prefix; ?>_start" class="spider_int_input" type="text" value="<?php echo $layer->start; ?>" name="<?php echo $prefix; ?>_start" /><?php _e('ms', 'wds'); ?>
2802
- <div class="spider_description"><?php _e('Start', 'wds'); ?></div>
2803
- </span>
2804
- <span style="display: table-cell;">
2805
- <select name="<?php echo $prefix; ?>_layer_effect_in" id="<?php echo $prefix; ?>_layer_effect_in" style="width:150px;" onchange="wds_trans_effect_in('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery(this).val());">
2806
- <?php
2807
- foreach ($layer_effects_in as $key => $layer_effect_in) {
2808
- ?>
2809
- <option value="<?php echo $key; ?>" <?php echo (!in_array($key, $free_layer_effects)) ? 'disabled="disabled" title="'. __('This effect is disabled in free version.', 'wds') .'"' : ''; ?> <?php if ($layer->layer_effect_in == $key) echo 'selected="selected"'; ?>><?php echo $layer_effect_in; ?></option>
2810
- <?php
2811
- }
2812
- ?>
2813
- </select>
2814
- <div class="spider_description"><?php _e('Effect', 'wds'); ?></div>
2815
- </span>
2816
- <span style="display: table-cell;">
2817
- <input id="<?php echo $prefix; ?>_duration_eff_in" class="spider_int_input" type="text" onkeypress="return spider_check_isnum(event)" onchange="wds_trans_effect_in('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_in').val());" value="<?php echo $layer->duration_eff_in; ?>" name="<?php echo $prefix; ?>_duration_eff_in" /><?php _e('ms', 'wds'); ?>
2818
- <div class="spider_description"><?php _e('Duration', 'wds'); ?></div>
2819
- </span>
2820
- <span style="display: table-cell;">
2821
- <input id="<?php echo $prefix; ?>_infinite_in" type="text" name="<?php echo $prefix; ?>_infinite_in" value="<?php echo $layer->infinite_in; ?>" class="spider_int_input" title="0 for play infinte times" <?php echo ($layer->layer_effect_in == 'none') ? 'disabled="disabled"' : ''; ?> onchange="wds_trans_effect_in('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_in').val());" />
2822
- <div class="spider_description"><?php _e('Iteration', 'wds'); ?></div>
2823
- </span>
2824
- <div class="spider_description spider_free_version"><?php _e('Some effects are disabled in free version.', 'wds'); ?></div>
2825
- </td>
2826
- </tr>
2827
- <tr class="wds_layer_tr" >
2828
- <td class="spider_label">
2829
- <label for="<?php echo $prefix; ?>_layer_effect_out"><?php _e('Effect Out:', 'wds'); ?></label>
2830
- </td>
2831
- <td>
2832
- <span style="display: table-cell;">
2833
- <input id="<?php echo $prefix; ?>_end" class="spider_int_input" type="text" value="<?php echo $layer->end; ?>" name="<?php echo $prefix; ?>_end"><?php _e('ms', 'wds'); ?>
2834
- <div class="spider_description"><?php _e('Start', 'wds'); ?></div>
2835
- </span>
2836
- <span style="display: table-cell;">
2837
- <select name="<?php echo $prefix; ?>_layer_effect_out" id="<?php echo $prefix; ?>_layer_effect_out" style="width:150px;" onchange="wds_trans_effect_out('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery(this).val());">
2838
- <?php
2839
- foreach ($layer_effects_out as $key => $layer_effect_out) {
2840
- ?>
2841
- <option value="<?php echo $key; ?>" <?php echo (!in_array($key, $free_layer_effects)) ? 'disabled="disabled" title="'. __('This effect is disabled in free version.', 'wds'). '"' : ''; ?> <?php if ($layer->layer_effect_out == $key) echo 'selected="selected"'; ?>><?php echo $layer_effect_out; ?></option>
2842
- <?php
2843
- }
2844
- ?>
2845
- </select>
2846
- <div class="spider_description"><?php _e('Effect', 'wds'); ?></div>
2847
- </span>
2848
- <span style="display: table-cell;">
2849
- <input id="<?php echo $prefix; ?>_duration_eff_out" class="spider_int_input" type="text" onkeypress="return spider_check_isnum(event)" onchange="wds_trans_effect_out('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_out').val());" value="<?php echo $layer->duration_eff_out; ?>" name="<?php echo $prefix; ?>_duration_eff_out"><?php _e('ms', 'wds'); ?>
2850
- <div class="spider_description"><?php _e('Duration', 'wds'); ?></div>
2851
- </span>
2852
- <span style="display: table-cell;">
2853
- <input id="<?php echo $prefix; ?>_infinite_out" type="text" name="<?php echo $prefix; ?>_infinite_out" value="<?php echo $layer->infinite_out; ?>" class="spider_int_input" title="0 for play infinte times" <?php echo ($layer->layer_effect_out == 'none') ? 'disabled="disabled"' : ''; ?> onchange="wds_trans_effect_out('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 1); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_out').val());" />
2854
- <div class="spider_description"><?php _e('Iteration', 'wds'); ?></div>
2855
- </span>
2856
- <div class="spider_description spider_free_version"><?php _e('Some effects are disabled in free version.', 'wds'); ?></div>
2857
- </td>
2858
- </tr>
2859
- <tr class="wds_layer_tr">
2860
- <td class="spider_label">
2861
- <label for="<?php echo $prefix; ?>_border_width"><?php _e('Border:', 'wds'); ?></label>
2862
- </td>
2863
- <td>
2864
- <input id="<?php echo $prefix; ?>_border_width" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({borderWidth: jQuery(this).val()})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->border_width; ?>" name="<?php echo $prefix; ?>_border_width"> px
2865
- <select id="<?php echo $prefix; ?>_border_style" onchange="jQuery('#<?php echo $prefix; ?>').css({borderStyle: jQuery(this).val()})" style="width: 80px;" name="<?php echo $prefix; ?>_border_style">
2866
- <?php
2867
- foreach ($border_styles as $key => $border_style) {
2868
- ?>
2869
- <option value="<?php echo $key; ?>" <?php echo (($layer->border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
2870
- <?php
2871
- }
2872
- ?>
2873
- </select>
2874
- <input id="<?php echo $prefix; ?>_border_color" class="color" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({borderColor: '#' + jQuery(this).val()})" value="<?php echo $layer->border_color; ?>" name="<?php echo $prefix; ?>_border_color" />
2875
- <div class="spider_description"></div>
2876
- </td>
2877
- </tr>
2878
- <tr class="wds_layer_tr">
2879
- <td title="<?php _e('Use CSS type values.', 'wds'); ?>" class="wds_tooltip spider_label">
2880
- <label for="<?php echo $prefix; ?>_border_radius"><?php _e('Radius:', 'wds'); ?></label>
2881
- </td>
2882
- <td>
2883
- <input id="<?php echo $prefix; ?>_border_radius" class="spider_char_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({borderRadius: jQuery(this).val()})" value="<?php echo $layer->border_radius; ?>" name="<?php echo $prefix; ?>_border_radius">
2884
- </td>
2885
- </tr>
2886
- <tr class="wds_layer_tr">
2887
- <td class="wds_tooltip spider_label">
2888
- <label for="<?php echo $prefix; ?>_shadow"><?php _e('Shadow:', 'wds'); ?></label>
2889
- </td>
2890
- <td>
2891
- <input id="<?php echo $prefix; ?>_shadow" class="spider_char_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({boxShadow: jQuery(this).val()})" value="<?php echo $layer->shadow; ?>" name="<?php echo $prefix; ?>_shadow" />
2892
- </td>
2893
- </tr>
2894
- <tr class="wds_layer_tr">
2895
- <td title="<?php _e('Add class:', 'wds'); ?>" class="wds_tooltip spider_label">
2896
- <label for="<?php echo $prefix; ?>_add_class"><?php _e('Add class:', 'wds'); ?></label>
2897
- </td>
2898
- <td>
2899
- <input id="<?php echo $prefix; ?>_add_class" class="spider_char_input" type="text" value="<?php echo $layer->add_class; ?>" name="<?php echo $prefix; ?>_add_class" />
2900
- </td>
2901
- </tr>
2902
- </table>
2903
- </td>
2904
- </tr>
2905
- <?php
2906
- break;
2907
- }
2908
- /*--------social button layer----------*/
2909
- case 'social': {
2910
- ?>
2911
- <tr style="display:none">
2912
- <td>
2913
- <table class="layer_table_left">
2914
- <tr class="wds_layer_tr">
2915
- <td class="spider_label">
2916
- <label for="<?php echo $prefix; ?>_static_layer"><?php _e('Static layer:', 'wds'); ?></label>
2917
- </td>
2918
- <td>
2919
- <input id="<?php echo $prefix; ?>_static_layer" type="checkbox" name="<?php echo $prefix; ?>_static_layer" <?php echo checked(1, $layer->static_layer); ?> value="1" />
2920
- <div class="spider_description"><?php _e('The layer will be visible on all slides.', 'wds'); ?></div>
2921
- </td>
2922
- </tr>
2923
- <tr class="wds_layer_tr">
2924
- <td title="<?php _e('In addition you can drag and drop the layer to a desired position.', 'wds'); ?>" class="wds_tooltip spider_label">
2925
- <label><?php _e('Position:', 'wds'); ?></label>
2926
- </td>
2927
- <td>
2928
- X <input id="<?php echo $prefix; ?>_left" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({left: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->left; ?>" name="<?php echo $prefix; ?>_left" />
2929
- Y <input id="<?php echo $prefix; ?>_top" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({top: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->top; ?>" name="<?php echo $prefix; ?>_top" />
2930
- <div class="spider_description"><?php _e('In addition you can drag and drop the layer to a desired position.', 'wds'); ?></div>
2931
- </td>
2932
- </tr>
2933
- <tr class="wds_layer_tr">
2934
- <td class="spider_label">
2935
- <label for="<?php echo $prefix; ?>_social_button"><?php _e('Social button:', 'wds'); ?></label>
2936
- </td>
2937
- <td>
2938
- <select id="<?php echo $prefix; ?>_social_button" onchange="jQuery('#<?php echo $prefix; ?>').attr('class', 'wds_draggable_<?php echo $slide_row->id; ?> wds_draggable fa fa-' + jQuery(this).val())" name="<?php echo $prefix; ?>_social_button">
2939
- <?php
2940
- foreach ($social_buttons as $key => $social_button) {
2941
- ?>
2942
- <option value="<?php echo $key; ?>" <?php echo (($layer->social_button == $key) ? 'selected="selected"' : ''); ?>><?php echo $social_button; ?></option>
2943
- <?php
2944
- }
2945
- ?>
2946
- </select>
2947
- <div class="spider_description"></div>
2948
- </td>
2949
- </tr>
2950
- <tr class="wds_layer_tr">
2951
- <td class="spider_label">
2952
- <label for="<?php echo $prefix; ?>_size"><?php _e('Size:', 'wds'); ?></label>
2953
- </td>
2954
- <td>
2955
- <input id="<?php echo $prefix; ?>_size" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({fontSize: jQuery(this).val() + 'px', lineHeight: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->size; ?>" name="<?php echo $prefix; ?>_size" /> <?php _e('px', 'wds'); ?>
2956
- <div class="spider_description"></div>
2957
- </td>
2958
- <td class="spider_label">
2959
- <label for="<?php echo $prefix; ?>_color"><?php _e('Color:', 'wds'); ?></label>
2960
- </td>
2961
- <td>
2962
- <input id="<?php echo $prefix; ?>_color" class="color" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({color: '#' + jQuery(this).val()})" value="<?php echo $layer->color; ?>" name="<?php echo $prefix; ?>_color" />
2963
- <div class="spider_description"></div>
2964
- </td>
2965
- </tr>
2966
- <tr class="wds_layer_tr" >
2967
- <td class="spider_label">
2968
- <label><?php _e('Published:', 'wds'); ?></label>
2969
- </td>
2970
- <td>
2971
- <input id="<?php echo $prefix; ?>_published1" type="radio" name="<?php echo $prefix; ?>_published" value="1" <?php echo (($layer->published) ? 'checked="checked"' : ''); ?> />
2972
- <label for="<?php echo $prefix; ?>_published1"><?php _e('Yes', 'wds'); ?></label>
2973
- <input id="<?php echo $prefix; ?>_published0" type="radio" name="<?php echo $prefix; ?>_published" value="0" <?php echo (($layer->published) ? '' : 'checked="checked"'); ?>/>
2974
- <label for="<?php echo $prefix; ?>_published0"><?php _e('No', 'wds'); ?></label>
2975
- <div class="spider_description"></div>
2976
- </td>
2977
- </tr>
2978
- </table>
2979
- <table class="layer_table_right">
2980
- <tr class="wds_layer_tr">
2981
- <td class="spider_label">
2982
- <label for="<?php echo $prefix; ?>_layer_effect_in"><?php _e('Effect In:', 'wds'); ?></label>
2983
- </td>
2984
- <td>
2985
- <span style="display: table-cell;">
2986
- <input id="<?php echo $prefix; ?>_start" class="spider_int_input" type="text" value="<?php echo $layer->start; ?>" name="<?php echo $prefix; ?>_start" /><?php _e('ms', 'wds'); ?>
2987
- <div class="spider_description"><?php _e('Start', 'wds'); ?></div>
2988
- </span>
2989
- <span style="display: table-cell;">
2990
- <select name="<?php echo $prefix; ?>_layer_effect_in" id="<?php echo $prefix; ?>_layer_effect_in" style="width:150px;" onchange="wds_trans_effect_in('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 1); wds_trans_end('<?php echo $prefix; ?>', jQuery(this).val());">
2991
- <?php
2992
- foreach ($layer_effects_in as $key => $layer_effect_in) {
2993
- ?>
2994
- <option value="<?php echo $key; ?>" <?php echo (!in_array($key, $free_layer_effects)) ? 'disabled="disabled" title="This effect is disabled in free version."' : ''; ?> <?php if ($layer->layer_effect_in == $key) echo 'selected="selected"'; ?>><?php echo $layer_effect_in; ?></option>
2995
- <?php
2996
- }
2997
- ?>
2998
- </select>
2999
- <div class="spider_description"><?php _e('Effect', 'wds'); ?></div>
3000
- </span>
3001
- <span style="display: table-cell;">
3002
- <input id="<?php echo $prefix; ?>_duration_eff_in" class="spider_int_input" type="text" onkeypress="return spider_check_isnum(event)" onchange="wds_trans_effect_in('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 1); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_in').val());" value="<?php echo $layer->duration_eff_in; ?>" name="<?php echo $prefix; ?>_duration_eff_in" /><?php _e('ms', 'wds'); ?>
3003
- <div class="spider_description"><?php _e('Duration', 'wds'); ?></div>
3004
- </span>
3005
- <span style="display: table-cell;">
3006
- <input id="<?php echo $prefix; ?>_infinite_in" type="text" name="<?php echo $prefix; ?>_infinite_in" value="<?php echo $layer->infinite_in; ?>" class="spider_int_input" title="0 for play infinte times" <?php echo ($layer->layer_effect_in == 'none') ? 'disabled="disabled"' : ''; ?> onchange="wds_trans_effect_in('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_in').val());" />
3007
- <div class="spider_description"><?php _e('Iteration', 'wds'); ?></div>
3008
- </span>
3009
- <div class="spider_description spider_free_version"><?php _e('Some effects are disabled in free version.', 'wds'); ?></div>
3010
- </td>
3011
- </tr>
3012
- <tr class="wds_layer_tr">
3013
- <td class="spider_label">
3014
- <label for="<?php echo $prefix; ?>_layer_effect_out"><?php _e('Effect Out:', 'wds'); ?></label>
3015
- </td>
3016
- <td>
3017
- <span style="display: table-cell;">
3018
- <input id="<?php echo $prefix; ?>_end" class="spider_int_input" type="text" value="<?php echo $layer->end; ?>" name="<?php echo $prefix; ?>_end"><?php _e('ms', 'wds'); ?>
3019
- <div class="spider_description"><?php _e('Start', 'wds'); ?></div>
3020
- </span>
3021
- <span style="display: table-cell;">
3022
- <select name="<?php echo $prefix; ?>_layer_effect_out" id="<?php echo $prefix; ?>_layer_effect_out" style="width:150px;" onchange="wds_trans_effect_out('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 1); wds_trans_end('<?php echo $prefix; ?>', jQuery(this).val());">
3023
- <?php
3024
- foreach ($layer_effects_out as $key => $layer_effect_out) {
3025
- ?>
3026
- <option value="<?php echo $key; ?>" <?php echo (!in_array($key, $free_layer_effects)) ? 'disabled="disabled" title="'. __('This effect is disabled in free version.', 'wds') .'"' : ''; ?> <?php if ($layer->layer_effect_out == $key) echo 'selected="selected"'; ?>><?php echo $layer_effect_out; ?></option>
3027
- <?php
3028
- }
3029
- ?>
3030
- </select>
3031
- <div class="spider_description"><?php _e('Effect', 'wds'); ?></div>
3032
- </span>
3033
- <span style="display: table-cell;">
3034
- <input id="<?php echo $prefix; ?>_duration_eff_out" class="spider_int_input" type="text" onkeypress="return spider_check_isnum(event)" onchange="wds_trans_effect_out('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 1); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_out').val());" value="<?php echo $layer->duration_eff_out; ?>" name="<?php echo $prefix; ?>_duration_eff_out"><?php _e('ms', 'wds'); ?>
3035
- <div class="spider_description"><?php _e('Duration', 'wds'); ?></div>
3036
- </span>
3037
- <span style="display: table-cell;">
3038
- <input id="<?php echo $prefix; ?>_infinite_out" type="text" name="<?php echo $prefix; ?>_infinite_out" value="<?php echo $layer->infinite_out; ?>" class="spider_int_input" title="0 for play infinte times" <?php echo ($layer->layer_effect_out == 'none') ? 'disabled="disabled"' : ''; ?> onchange="wds_trans_effect_out('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 1); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_out').val());" />
3039
- <div class="spider_description"><?php _e('Iteration', 'wds'); ?></div>
3040
- </span>
3041
- <div class="spider_description spider_free_version"><?php _e('Some effects are disabled in free version.', 'wds'); ?></div>
3042
- </td>
3043
- </tr>
3044
- <tr class="wds_layer_tr">
3045
- <td class="spider_label">
3046
- <label for="<?php echo $prefix; ?>_transparent"><?php _e('Transparent:', 'wds'); ?></label>
3047
- </td>
3048
- <td>
3049
- <input id="<?php echo $prefix; ?>_transparent" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({opacity: (100 - jQuery(this).val()) / 100, filter: 'Alpha(opacity=' + 100 - jQuery(this).val() + ')'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->transparent; ?>" name="<?php echo $prefix; ?>_transparent" /> %
3050
- <div class="spider_description"><?php _e('Value must be between 0 to 100.', 'wds'); ?></div>
3051
- </td>
3052
- <td class="spider_label">
3053
- <label for="<?php echo $prefix; ?>_hover_color"><?php _e('Hover Color:', 'wds'); ?></label>
3054
- </td>
3055
- <td>
3056
- <input id="<?php echo $prefix; ?>_hover_color" class="color" type="text" value="<?php echo $layer->hover_color; ?>" name="<?php echo $prefix; ?>_hover_color" />
3057
- <div class="spider_description"></div>
3058
- </td>
3059
- </tr>
3060
- <tr class="wds_layer_tr" >
3061
- <td title="Add class" class="wds_tooltip spider_label">
3062
- <label for="<?php echo $prefix; ?>_add_class"><?php _e('Add class:', 'wds'); ?></label>
3063
- </td>
3064
- <td>
3065
- <input id="<?php echo $prefix; ?>_add_class" class="spider_char_input" type="text" value="<?php echo $layer->add_class; ?>" name="<?php echo $prefix; ?>_add_class" />
3066
- </td>
3067
- </tr>
3068
- </table>
3069
- </td>
3070
- </tr>
3071
- <?php
3072
- break;
3073
- }
3074
- default:
3075
- break;
3076
- }
3077
- ?>
3078
- <input type="hidden" name="<?php echo $prefix; ?>_type" id="<?php echo $prefix; ?>_type" value="<?php echo $layer->type; ?>" />
3079
- </tbody>
3080
- <?php
3081
- $layer_ids_string .= $layer->id . ',';
3082
- }
3083
- }
3084
- ?>
3085
- </table>
3086
- <input id="slide<?php echo $slide_row->id; ?>_layer_ids_string" name="slide<?php echo $slide_row->id; ?>_layer_ids_string" type="hidden" value="<?php echo $layer_ids_string; ?>" />
3087
- <input id="slide<?php echo $slide_row->id; ?>_del_layer_ids_string" name="slide<?php echo $slide_row->id; ?>_del_layer_ids_string" type="hidden" value="" />
3088
- </div>
3089
- <script>
3090
- jQuery(document).ready(function() {
3091
- image_for_next_prev_butt('<?php echo $row->rl_butt_img_or_not; ?>');
3092
- image_for_bull_butt('<?php echo $row->bull_butt_img_or_not; ?>');
3093
- image_for_play_pause_butt('<?php echo $row->play_paus_butt_img_or_not; ?>');
3094
- showhide_for_carousel_fildes('<?php echo $row->carousel; ?>');
3095
- wds_whr('width');
3096
- wds_drag_layer('<?php echo $slide_row->id; ?>');
3097
- wds_layer_weights('<?php echo $slide_row->id; ?>');
3098
- <?php
3099
- if ($layers_row) {
3100
- foreach ($layers_row as $key => $layer) {
3101
- if ($layer->type == 'image') {
3102
- $prefix = 'slide' . $slide_row->id . '_layer' . $layer->id;
3103
- ?>
3104
- wds_scale('#<?php echo $prefix; ?>_image_scale', '<?php echo $prefix; ?>');
3105
- <?php
3106
- }
3107
- if ($layer->type == 'text') {
3108
- $prefix = 'slide' . $slide_row->id . '_layer' . $layer->id;
3109
- ?>
3110
- jQuery('#<?php echo $prefix; ?>').hover(
3111
- function() {
3112
- jQuery(this).css({
3113
- color: '#' + jQuery('#<?php echo $prefix; ?>_hover_color_text').val()
3114
- });
3115
- },
3116
- function() {
3117
- jQuery(this).css({
3118
- color: '#' + jQuery('#<?php echo $prefix; ?>_color').val()
3119
- });
3120
- }
3121
- );
3122
- <?php
3123
- }
3124
- if ($layer->type == 'social') {
3125
- $prefix = 'slide' . $slide_row->id . '_layer' . $layer->id;
3126
- ?>
3127
- jQuery('#<?php echo $prefix; ?>').hover(
3128
- function() {
3129
- jQuery(this).css({
3130
- color: '#' + jQuery('#<?php echo $prefix; ?>_hover_color').val()
3131
- });
3132
- },
3133
- function() {
3134
- jQuery(this).css({
3135
- color: '#' + jQuery('#<?php echo $prefix; ?>_color').val()
3136
- });
3137
- }
3138
- );
3139
- <?php
3140
- }
3141
- }
3142
- }
3143
- ?>
3144
- });
3145
- </script>
3146
- <?php
3147
- $slide_ids_string .= $slide_row->id . ',';
3148
- }
3149
- ?>
3150
- </td>
3151
- </tr>
3152
- </tbody>
3153
- </table>
3154
- </div>
3155
- </div>
3156
- <div class="wds_task_cont">
3157
- <input id="current_id" name="current_id" type="hidden" value="<?php echo $row->id; ?>" />
3158
- <input id="save_as_copy" name="save_as_copy" type="hidden" value="" />
3159
- <input id="slide_ids_string" name="slide_ids_string" type="hidden" value="<?php echo $slide_ids_string; ?>" />
3160
- <input id="del_slide_ids_string" name="del_slide_ids_string" type="hidden" value="" />
3161
- <input id="nav_tab" name="nav_tab" type="hidden" value="<?php echo WDW_S_Library::get('nav_tab', 'global'); ?>" />
3162
- <input id="tab" name="tab" type="hidden" value="<?php echo WDW_S_Library::get('tab', 'slides'); ?>" />
3163
- <input id="sub_tab" name="sub_tab" type="hidden" value="<?php echo $sub_tab_type; ?>" />
3164
- <script>
3165
- var spider_uploader = <?php echo $spider_uploader; ?>;
3166
- </script>
3167
- </div>
3168
- <input id="task" name="task" type="hidden" value="" />
3169
- <script>
3170
- var wds_preview_url = "<?php echo add_query_arg(array('action' => 'WDSPreview', 'slider_id' => $id ? $id : 'sliderID', 'width' => '700', 'height' => '550', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>";
3171
- var uploader_href = '<?php echo add_query_arg(array('callback' => 'wds_add_image', 'image_for' => 'add_update_slide', 'slide_id' => 'slideID', 'layer_id' => 'layerID', 'TB_iframe' => '1'), $query_url); ?>';
3172
- var fv = '<?php echo $fv; ?>';
3173
- jQuery(document).ready(function() {
3174
- wds_onload();
3175
- });
3176
- jQuery("#sliders_form").on("click", "a", function(e) {
3177
- e.preventDefault();
3178
- });
3179
- jQuery(".wds_tab_title").keyup(function (e) {
3180
- var code = e.which;
3181
- if (code == 13) {
3182
- jQuery(".wds_sub_active .wds_tab_title").blur();
3183
- jQuery(".wds_tab_title_wrap").removeClass("wds_sub_active");
3184
- }
3185
- });
3186
- var plugin_dir = '<?php echo WD_S_URL . "/images/sliderwdpng/"; ?>';
3187
- </script>
3188
- <div class="opacity_add_image_url opacity_add_video wds_opacity_video" onclick="jQuery('.opacity_add_video').hide();jQuery('.opacity_add_image_url').hide();"></div>
3189
- <div class="opacity_add_video wds_add_video">
3190
- <input type="text" id="video_url" name="video_url" value="" />
3191
- <input type="button" id="add_video_button" class="wds_not_image_buttons" value="<?php _e('Add', 'wds'); ?>" />
3192
- <input type="button" class="wds_not_image_buttons_grey" onclick="jQuery('.opacity_add_video').hide(); return false;" value="<?php _e('Cancel', 'wds'); ?>" />
3193
- <div class="spider_description"><?php _e('Enter YouTube or Vimeo link here.', 'wds'); ?></div>
3194
- </div>
3195
- <div class="opacity_add_image_url wds_resize_image">
3196
- <input type="text" id="image_url_input" name="image_url_input" value="" />
3197
- <input type="button" id="add_image_url_button" class="wds_not_image_buttons" value="<?php _e('Add', 'wds'); ?>" />
3198
- <input type="button" class="wds_not_image_buttons_grey" onclick="jQuery('.opacity_add_image_url').hide(); return false;" value="<?php _e('Cancel', 'wds'); ?>" />
3199
- <div class="spider_description"><?php _e('Enter absolute url of the image.', 'wds'); ?></div>
3200
- <input type="hidden" id="current_prefix" value="" />
3201
- </div>
3202
- </form>
3203
- <?php
3204
- }
3205
-
3206
- ////////////////////////////////////////////////////////////////////////////////////////
3207
- // Getters & Setters //
3208
- ////////////////////////////////////////////////////////////////////////////////////////
3209
- ////////////////////////////////////////////////////////////////////////////////////////
3210
- // Private Methods //
3211
- ////////////////////////////////////////////////////////////////////////////////////////
3212
- ////////////////////////////////////////////////////////////////////////////////////////
3213
- // Listeners //
3214
- ////////////////////////////////////////////////////////////////////////////////////////
3215
  }
1
+ <?php
2
+ class WDSViewSliders_wds {
3
+ ////////////////////////////////////////////////////////////////////////////////////////
4
+ // Events //
5
+ ////////////////////////////////////////////////////////////////////////////////////////
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ // Constants //
8
+ ////////////////////////////////////////////////////////////////////////////////////////
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ // Variables //
11
+ ////////////////////////////////////////////////////////////////////////////////////////
12
+ private $model;
13
+
14
+
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ // Constructor & Destructor //
17
+ ////////////////////////////////////////////////////////////////////////////////////////
18
+ public function __construct($model) {
19
+ $this->model = $model;
20
+ }
21
+ ////////////////////////////////////////////////////////////////////////////////////////
22
+ // Public Methods //
23
+ ////////////////////////////////////////////////////////////////////////////////////////
24
+
25
+ public function display() {
26
+ $rows_data = $this->model->get_rows_data();
27
+ $page_nav = $this->model->page_nav();
28
+ $search_value = ((isset($_POST['search_value'])) ? esc_html(stripslashes($_POST['search_value'])) : '');
29
+ $search_select_value = ((isset($_POST['search_select_value'])) ? (int) $_POST['search_select_value'] : 0);
30
+ $asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html(stripslashes($_POST['asc_or_desc'])) : 'asc');
31
+ $order_by = (isset($_POST['order_by']) ? esc_html(stripslashes($_POST['order_by'])) : 'id');
32
+ $order_class = 'manage-column column-title sorted ' . $asc_or_desc;
33
+ $ids_string = '';
34
+ $header_title = __('Sliders', 'wds');
35
+ $functionality_disabled_version = __('This functionality is disabled in free version.', 'wds');
36
+ $option_disabled_version = __('This option is disabled in free version.', 'wds');
37
+ $slider_button_array = array(
38
+ 'publish_all' => __('Publish', 'wds'),
39
+ 'unpublish_all' => __('Unpublish', 'wds'),
40
+ 'delete_all' => __('Delete', 'wds'),
41
+ 'duplicate_all' => __('Duplicate', 'wds'),
42
+ 'export' => __('Export', 'wds'),
43
+ 'merge_sliders' => __('Merge', 'wds')
44
+ );
45
+ global $wp_version;
46
+ if (version_compare($wp_version, '4','<')) {
47
+ ?>
48
+ <style>
49
+ #wpwrap {
50
+ background-color: #F1F1F1;
51
+ }
52
+ @media screen and (max-width: 640px) {
53
+ .buttons_div input {
54
+ width: 31%;
55
+ font-size: 10px;
56
+ }
57
+ .tablenav{
58
+ height:auto
59
+ }
60
+ #wpcontent {
61
+ margin-left: 40px !important
62
+ }
63
+ .alignleft {
64
+ display:none;
65
+ }
66
+ }
67
+ </style>
68
+ <?php
69
+ }
70
+ ?>
71
+ <form class="wrap wds_form" id="sliders_form" method="post" action="admin.php?page=sliders_wds" style="float: left; width: 98%;">
72
+ <?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
73
+ <div class="wds_opacity_export" onclick="jQuery('.wds_opacity_export').hide();jQuery('.wds_exports').hide();"></div>
74
+ <div class="wds_exports">
75
+ <input type="checkbox" name="imagesexport" id="imagesexport" checked="checked" />
76
+ <label for="imagesexport"><?php _e('Check the box to export the images included within sliders.', 'wds'); ?></label>
77
+ <a class="button-secondary wds_export" type="button" href="<?php echo add_query_arg(array('action' => 'WDSExport'), admin_url('admin-ajax.php')); ?>" onclick="wds_get_checked()"><?php _e('Export', 'wds'); ?></a>
78
+ <input type="button" class="button-secondary" onclick="jQuery('.wds_exports').hide();jQuery('.wds_opacity_export').hide(); return false;" value="Cancel" />
79
+ </div>
80
+ <div class="wds_opacity_merge" onclick="jQuery('.wds_opacity_merge').hide();jQuery('.wds_merge').hide();"></div>
81
+ <div class="wds_merge">
82
+ <select class="select_icon select_icon_320" style="width:200px" name="select_slider_merge" id="select_slider_merge" style="margin-bottom: 6px;">
83
+ <?php
84
+ foreach ($rows_data as $row_data) {
85
+ ?>
86
+ <option value="<?php echo $row_data->id; ?>"><?php echo $row_data->name; ?></option>
87
+ <?php
88
+ }
89
+ ?>
90
+ </select>
91
+ <input class="button-secondary" type="submit" onclick="spider_set_input_value('task', 'merge_sliders');" value="Merge" />
92
+ <input type="button" class="button-secondary" onclick="jQuery('.wds_merge').hide();jQuery('.wds_opacity_merge').hide(); return false;" value="<?php _e('Cancel', 'wds'); ?>" />
93
+ <div class="spider_description"><?php _e('Select slider to use settings from.', 'wds'); ?></div>
94
+ </div>
95
+ <div class="wds_opacity_import" onclick="jQuery('.wds_opacity_import').hide();jQuery('.wds_imports').hide();"></div>
96
+ <div class="wds_imports">
97
+ <input type="file" name="fileimport" id="fileimport" />
98
+ <input class="button-secondary" type="submit" onclick="if(wds_getfileextension(document.getElementById('fileimport').value)){spider_set_input_value('task', 'import');} else return false;" value="<?php _e('Import', 'wds'); ?>" />
99
+ <input type="button" class="button-secondary" onclick="jQuery('.wds_imports').hide();jQuery('.wds_opacity_import').hide(); return false;" value="<?php _e('Cancel', 'wds'); ?>" />
100
+ <div class="spider_description"><?php _e('Choose file (use .zip format).', 'wds'); ?></div>
101
+ </div>
102
+ <div>
103
+ <span class="slider-icon"></span>
104
+ <h2 class="wds_default">
105
+ <?php echo $header_title; ?>
106
+ <a href="" class="add-new-h2" onclick="spider_set_input_value('task', 'add'); spider_form_submit(event, 'sliders_form')"><?php _e('Add new', 'wds'); ?></a>
107
+ </h2>
108
+ </div>
109
+ <div class="buttons_div_right">
110
+ <input type="button" class="wds_button-secondary wds_import" onclick="alert('<?php echo $functionality_disabled_version; ?>')" value="<?php _e('Import', 'wds'); ?>" />
111
+ </div>
112
+ <?php WDW_S_Library::search( __('Name', 'wds'), $search_value, 'sliders_form'); ?>
113
+ <div class="tablenav bottom buttons_div buttons_div_left">
114
+ <span class="wds_button-secondary non_selectable wds_check_all" onclick="spider_check_all_items()">
115
+ <input type="checkbox" id="check_all_items" name="check_all_items" onclick="spider_check_all_items_checkbox()" style="margin: 0; vertical-align: middle;" />
116
+ <span style="vertical-align: middle;"><?php _e('Select All', 'wds'); ?></span>
117
+ </span>
118
+ <select class="select_icon bulk_action" style="margin-bottom: 6px;">
119
+ <option value=""><?php _e('Bulk Actions', 'wds'); ?></option>
120
+ <?php
121
+ foreach ($slider_button_array as $key => $value) {
122
+ ?>
123
+ <option value="<?php echo $key; ?>"><?php echo $value; ?></option>
124
+ <?php
125
+ }
126
+ ?>
127
+ </select>
128
+ <input class="wds_button-secondary wds_apply_slider" type="button" title="<?php _e('Apply', 'wds'); ?>" onclick="if (!wds_bulk_actions('.bulk_action')) {return false}" value="<?php _e('Apply', 'wds'); ?>" />
129
+ <?php WDW_S_Library::html_page_nav($page_nav['total'], $page_nav['limit'], 'sliders_form'); ?>
130
+ </div>
131
+ <table class="wp-list-table widefat fixed pages">
132
+ <thead>
133
+ <th class="manage-column column-cb check-column table_small_col"><input id="check_all" type="checkbox" onclick="spider_check_all(this)" style="margin:0;" /></th>
134
+ <th class="sortable table_small_col <?php if ($order_by == 'id') {echo $order_class;} ?>">
135
+ <a onclick="spider_set_input_value('task', '');
136
+ spider_set_input_value('order_by', 'id');
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'])) == 'id') && esc_html(stripslashes($_POST['asc_or_desc'])) == 'asc') ? 'desc' : 'asc'); ?>');
138
+ spider_form_submit(event, 'sliders_form')" href="">
139
+ <span>ID</span><span class="sorting-indicator"></span>
140
+ </a>
141
+ </th>
142
+ <th class="mobile_hide table_big_col"><?php _e('Slider', 'wds'); ?></th>
143
+ <th class="sortable <?php if ($order_by == 'name') {echo $order_class;} ?>">
144
+ <a onclick="spider_set_input_value('task', '');
145
+ spider_set_input_value('order_by', 'name');
146
+ 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'); ?>');
147
+ spider_form_submit(event, 'sliders_form')" href="">
148
+ <span><?php _e('Name', 'wds'); ?></span><span class="sorting-indicator"></span>
149
+ </a>
150
+ </th>
151
+ <th class="mobile_hide table_big_col"><?php _e('Slides', 'wds'); ?></th>
152
+ <th class="table_big_col"><?php _e('Shortcode', 'wds'); ?></th>
153
+ <th class="mobile_hide table_large_col"><?php _e('PHP function', 'wds'); ?></th>
154
+ <th class="sortable mobile_hide table_bigger_col <?php if ($order_by == 'published') {echo $order_class;} ?>">
155
+ <a onclick="spider_set_input_value('task', '');
156
+ spider_set_input_value('order_by', 'published');
157
+ 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'); ?>');
158
+ spider_form_submit(event, 'sliders_form')" href="">
159
+ <span><?php _e('Published', 'wds'); ?></span><span class="sorting-indicator"></span>
160
+ </a>
161
+ </th>
162
+ <th class="mobile_hide table_big_col wds_table_big_col_action" colspan="3"><?php _e('Action', 'wds'); ?></th>
163
+ </thead>
164
+ <tbody id="tbody_arr">
165
+ <?php
166
+ if ($rows_data) {
167
+ $alternate = '';
168
+ foreach ($rows_data as $row_data) {
169
+ $alternate = ($alternate == 'class="wds_alternate"') ? '' : 'class="wds_alternate"';
170
+ $published_image = (($row_data->published) ? 'publish_slide' : 'unpublish_slide');
171
+ $published = (($row_data->published) ? 'unpublish' : 'publish');
172
+ $prev_img_url = $this->model->get_slider_prev_img($row_data->id);
173
+ $slides_count = $this->model->get_slides_count($row_data->id);
174
+ ?>
175
+ <tr id="tr_<?php echo $row_data->id; ?>" <?php echo $alternate; ?>>
176
+ <td class="table_small_col check-column"><input id="check_<?php echo $row_data->id; ?>" name="check_<?php echo $row_data->id; ?>" onclick="spider_check_all(this)" type="checkbox" /></td>
177
+ <td class="table_small_col"><?php echo $row_data->id; ?></td>
178
+ <td class="mobile_hide table_big_col">
179
+ <img title="<?php echo $row_data->name; ?>" style="border: 1px solid #CCCCCC; max-width: 70px; max-height: 50px;" src="<?php echo add_query_arg('date', date('Y-m-y H:i:s'), $prev_img_url); ?>">
180
+ </td>
181
+ <td class="wds_640">
182
+ <a onclick="spider_set_input_value('task', 'edit');
183
+ spider_set_input_value('page_number', '1');
184
+ spider_set_input_value('search_value', '');
185
+ spider_set_input_value('search_or_not', '');
186
+ spider_set_input_value('asc_or_desc', 'asc');
187
+ spider_set_input_value('order_by', 'order');
188
+ spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
189
+ spider_form_submit(event, 'sliders_form')" href="" title="Edit"><?php echo $row_data->name; ?>
190
+ </a>
191
+ </td>
192
+ <td class="mobile_hide table_big_col"><?php echo $slides_count; ?></td>
193
+ <td class="table_big_col" style="padding-left: 0; padding-right: 0;">
194
+ <input type="text" value='[wds id="<?php echo $row_data->id; ?>"]' onclick="spider_select_value(this)" size="11" readonly="readonly" style="padding-left: 1px; padding-right: 1px;" />
195
+ </td>
196
+ <td class="mobile_hide table_large_col" style="padding-left: 0; padding-right: 0;">
197
+ <input type="text" value="&#60;?php wd_slider(<?php echo $row_data->id; ?>); ?&#62;" onclick="spider_select_value(this)" size="23" readonly="readonly" style="padding-left: 1px; padding-right: 1px;" />
198
+ </td>
199
+ <td class="mobile_hide table_bigger_col">
200
+ <a onclick="spider_set_input_value('task', '<?php echo $published; ?>');spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');spider_form_submit(event, 'sliders_form')" href=""><img src="<?php echo WD_S_URL . '/images/sliderwdpng/' . $published_image . '.png'; ?>"></img></a>
201
+ </td>
202
+ <td class="mobile_hide table_big_col" colspan="3">
203
+ <div class="slider_edit_buttons">
204
+ <div class="slider_edit">
205
+ <input type="button" value="<?php _e('Edit', 'wds'); ?>" class="action_buttons edit_slider" onclick="spider_set_input_value('task', 'edit');
206
+ spider_set_input_value('page_number', '1');
207
+ spider_set_input_value('search_value', '');
208
+ spider_set_input_value('search_or_not', '');
209
+ spider_set_input_value('asc_or_desc', 'asc');
210
+ spider_set_input_value('order_by', 'order');
211
+ spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
212
+ spider_form_submit(event, 'sliders_form')" />
213
+ </div>
214
+ <div class="slider_delete">
215
+ <input type="button" value="<?php _e('Delete', 'wds'); ?>" class="action_buttons wds_delete_slider" onclick="if (confirm('<?php echo _e('Do you want to delete selected items?', 'wds'); ?>')) {spider_set_input_value('task', 'delete');
216
+ spider_set_input_value('current_id', '<?php echo $row_data->id; ?>');
217
+ spider_form_submit(event, 'sliders_form')} else {return false;}" />
218
+ </div>
219
+ <div class="clear"></div>
220
+ </div>
221
+ </td>
222
+ </tr>
223
+ <?php
224
+ $ids_string .= $row_data->id . ',';
225
+ }
226
+ }
227
+ else {
228
+ echo WDW_S_Library::no_items($header_title);
229
+ }
230
+ ?>
231
+ </tbody>
232
+ </table>
233
+ <input id="task" name="task" type="hidden" value="" />
234
+ <input id="current_id" name="current_id" type="hidden" value="" />
235
+ <input id="ids_string" name="ids_string" type="hidden" value="<?php echo $ids_string; ?>" />
236
+ <input id="asc_or_desc" name="asc_or_desc" type="hidden" value="asc" />
237
+ <input id="order_by" name="order_by" type="hidden" value="<?php echo $order_by; ?>" />
238
+ </form>
239
+ <?php
240
+ }
241
+
242
+ public function edit($id, $reset = FALSE) {
243
+ $wds_global_options = get_option("wds_global_options", 0);
244
+ $global_options = json_decode($wds_global_options);
245
+ $spider_uploader = isset($global_options->spider_uploader) ? $global_options->spider_uploader : 0;
246
+
247
+ $query_url = add_query_arg(array('action' => 'addImage', 'width' => '700', 'height' => '550', 'extensions' => 'jpg,jpeg,png,gif', 'callback' => 'bwg_add_preview_image'), admin_url('admin-ajax.php'));
248
+ $query_url = wp_nonce_url($query_url, 'addImage', 'nonce_wd');
249
+
250
+ $row = $this->model->get_row_data($id, $reset);
251
+ $slides_row = $this->model->get_slides_row_data($id);
252
+ $slide_ids_string = '';
253
+ $sub_tab_type = WDW_S_Library::get('sub_tab', '');
254
+
255
+ $functionality_disabled_version = __('This functionality is disabled in free version.', 'wds');
256
+ $option_disabled_version = __('This option is disabled in free version.', 'wds');
257
+ $page_title = (($id != 0) ? 'Edit slider ' . $row->name : 'Create new slider');
258
+ $aligns = array(
259
+ 'left' => __('Left', 'wds'),
260
+ 'center' => __('Center', 'wds'),
261
+ 'right' => __('Right', 'wds'),
262
+ );
263
+ $border_styles = array(
264
+ 'none' => __('None', 'wds'),
265
+ 'solid' => __('Solid', 'wds'),
266
+ 'dotted' => __('Dotted', 'wds'),
267
+ 'dashed' => __('Dashed', 'wds'),
268
+ 'double' => __('Double', 'wds'),
269
+ 'groove' => __('Groove', 'wds'),
270
+ 'ridge' => __('Ridge', 'wds'),
271
+ 'inset' => __('Inset', 'wds'),
272
+ 'outset' => __('Outset', 'wds'),
273
+ );
274
+ $button_styles = array(
275
+ 'fa-chevron' => __('Chevron', 'wds'),
276
+ 'fa-angle' => __('Angle', 'wds'),
277
+ 'fa-angle-double' => __('Double', 'wds'),
278
+ );
279
+ $bull_styles = array(
280
+ 'fa-circle-o' => __('Circle O', 'wds'),
281
+ 'fa-circle' => __('Circle', 'wds'),
282
+ 'fa-minus' => __('Minus', 'wds'),
283
+ 'fa-square-o' => __('Square O', 'wds'),
284
+ 'fa-square' => __('Square', 'wds'),
285
+ );
286
+ $font_families = WDW_S_Library::get_font_families();
287
+ $google_fonts = WDW_S_Library::get_google_fonts();
288
+
289
+ $font_weights = array(
290
+ 'lighter' => __('Lighter', 'wds'),
291
+ 'normal' => __('Normal', 'wds'),
292
+ 'bold' => __('Bold', 'wds'),
293
+ );
294
+ $social_buttons = array(
295
+ 'facebook' => __('Facebook', 'wds'),
296
+ 'google-plus' => __('Google+', 'wds'),
297
+ 'twitter' => __('Twitter', 'wds'),
298
+ 'pinterest' => __('Pinterest', 'wds'),
299
+ 'tumblr' => __('Tumblr', 'wds'),
300
+ );
301
+ $free_effects = array('none', 'fade', 'sliceH', 'fan', 'scaleIn');
302
+ $effects = array(
303
+ 'none' => __('None', 'wds'),
304
+ 'fade' => __('Fade', 'wds'),
305
+ 'sliceH' => __('Slice Horizontal', 'wds'),
306
+ 'fan' => __('Fan', 'wds'),
307
+ 'scaleIn' => __('Scale In', 'wds'),
308
+ 'zoomFade' => __('Zoom Fade', 'wds'),
309
+ 'parallelSlideH' => __('Parallel Slide Horizontal', 'wds'),
310
+ 'parallelSlideV' => __('Parallel Slide Vertical', 'wds'),
311
+ 'slic3DH' => __('Slice 3D Horizontal', 'wds'),
312
+ 'slic3DV' => __('Slice 3D Vertical', 'wds'),
313
+ 'slicR3DH' => __('Slice 3D Horizontal Random', 'wds'),
314
+ 'slicR3DV' => __('Slice 3D Vertical Random', 'wds'),
315
+ 'blindR' => __('Blind', 'wds'),
316
+ 'tilesR' => __('Tiles', 'wds'),
317
+ 'blockScaleR' => __('Block Scale Random', 'wds'),
318
+ 'cubeH' => __('Cube Horizontal', 'wds'),
319
+ 'cubeV' => __('Cube Vertical', 'wds'),
320
+ 'cubeR' => __('Cube Random', 'wds'),
321
+ 'sliceV' => __('Slice Vertical', 'wds'),
322
+ 'slideH' => __('Slide Horizontal', 'wds'),
323
+ 'slideV' => __('Slide Vertical', 'wds'),
324
+ 'scaleOut' => __('Scale Out', 'wds'),
325
+ 'blockScale' => __('Block Scale', 'wds'),
326
+ 'kaleidoscope' => __('Kaleidoscope', 'wds'),
327
+ 'blindH' => __('Blind Horizontal', 'wds'),
328
+ 'blindV' => __('Blind Vertical', 'wds'),
329
+ 'random' => __('Random', 'wds'),
330
+ '3Drandom' => __('3D Random', 'wds'),
331
+ );
332
+ $free_layer_effects = array('none', 'bounce', 'tada', 'bounceInDown', 'bounceOutUp', 'fadeInLeft', 'fadeOutRight');
333
+ $layer_effects_in = array(
334
+ 'none' => __('None', 'wds'),
335
+ 'bounce' => __('Bounce', 'wds'),
336
+ 'tada' => __('Tada', 'wds'),
337
+ 'bounceInDown' => __('BounceInDown', 'wds'),
338
+ 'fadeInLeft' => __('FadeInLeft', 'wds'),
339
+ 'flash' => __('Flash', 'wds'),
340
+ 'pulse' => __('Pulse', 'wds'),
341
+ 'rubberBand' => __('RubberBand', 'wds'),
342
+ 'shake' => __('Shake', 'wds'),
343
+ 'swing' => __('Swing', 'wds'),
344
+ 'wobble' => __('Wobble', 'wds'),
345
+ 'hinge' => __('Hinge', 'wds'),
346
+
347
+ 'lightSpeedIn' => __('LightSpeedIn', 'wds'),
348
+ 'rollIn' => __('RollIn', 'wds'),
349
+
350
+ 'bounceIn' => __('BounceIn', 'wds'),
351
+ 'bounceInLeft' => __('BounceInLeft', 'wds'),
352
+ 'bounceInRight' => __('BounceInRight', 'wds'),
353
+ 'bounceInUp' => __('BounceInUp', 'wds'),
354
+
355
+ 'fadeIn' => __('FadeIn', 'wds'),
356
+ 'fadeInDown' => __('FadeInDown', 'wds'),
357
+ 'fadeInDownBig' => __('FadeInDownBig', 'wds'),
358
+ 'fadeInLeftBig' => __('FadeInLeftBig', 'wds'),
359
+ 'fadeInRight' => __('FadeInRight', 'wds'),
360
+ 'fadeInRightBig' => __('FadeInRightBig', 'wds'),
361
+ 'fadeInUp' => __('FadeInUp', 'wds'),
362
+ 'fadeInUpBig' => __('FadeInUpBig', 'wds'),
363
+
364
+ 'flip' => __('Flip', 'wds'),
365
+ 'flipInX' => __('FlipInX', 'wds'),
366
+ 'flipInY' => __('FlipInY', 'wds'),
367
+
368
+ 'rotateIn' => __('RotateIn', 'wds'),
369
+ 'rotateInDownLeft' => __('RotateInDownLeft', 'wds'),
370
+ 'rotateInDownRight' => __('RotateInDownRight', 'wds'),
371
+ 'rotateInUpLeft' => __('RotateInUpLeft', 'wds'),
372
+ 'rotateInUpRight' => __('RotateInUpRight', 'wds'),
373
+
374
+ 'zoomIn' => __('ZoomIn', 'wds'),
375
+ 'zoomInDown' => __('ZoomInDown', 'wds'),
376
+ 'zoomInLeft' => __('ZoomInLeft', 'wds'),
377
+ 'zoomInRight' => __('ZoomInRight', 'wds'),
378
+ 'zoomInUp' => __('ZoomInUp', 'wds'),
379
+ );
380
+ $layer_effects_out = array(
381
+ 'none' => __('None', 'wds'),
382
+ 'bounce' => __('Bounce', 'wds'),
383
+ 'tada' => __('Tada', 'wds'),
384
+ 'bounceOutUp' => __('BounceOutUp', 'wds'),
385
+ 'fadeOutRight' => __('FadeOutRight', 'wds'),
386
+ 'flash' => __('Flash', 'wds'),
387
+ 'pulse' => __('Pulse', 'wds'),
388
+ 'rubberBand' => __('RubberBand', 'wds'),
389
+ 'shake' => __('Shake', 'wds'),
390
+ 'swing' => __('Swing', 'wds'),
391
+ 'wobble' => __('Wobble', 'wds'),
392
+ 'hinge' => __('Hinge', 'wds'),
393
+
394
+ 'lightSpeedOut' => __('LightSpeedOut', 'wds'),
395
+ 'rollOut' => __('RollOut', 'wds'),
396
+
397
+ 'bounceOut' => __('BounceOut', 'wds'),
398
+ 'bounceOutDown' => __('BounceOutDown', 'wds'),
399
+ 'bounceOutLeft' => __('BounceOutLeft', 'wds'),
400
+ 'bounceOutRight' =>__('BounceOutRight', 'wds'),
401
+
402
+ 'fadeOut' => __('FadeOut', 'wds'),
403
+ 'fadeOutDown' => __('FadeOutDown', 'wds'),
404
+ 'fadeOutDownBig' => __('FadeOutDownBig', 'wds'),
405
+ 'fadeOutLeft' => __('FadeOutLeft', 'wds'),
406
+ 'fadeOutLeftBig' => __('FadeOutLeftBig', 'wds'),
407
+ 'fadeOutRightBig' => __('FadeOutRightBig', 'wds'),
408
+ 'fadeOutUp' => __('FadeOutUp', 'wds'),
409
+ 'fadeOutUpBig' => __('FadeOutUpBig', 'wds'),
410
+
411
+ 'flip' => __('Flip', 'wds'),
412
+ 'flipOutX' => __('FlipOutX', 'wds'),
413
+ 'flipOutY' => __('FlipOutY', 'wds'),
414
+
415
+ 'rotateOut' => __('RotateOut', 'wds'),
416
+ 'rotateOutDownLeft' => __('RotateOutDownLeft', 'wds'),
417
+ 'rotateOutDownRight' => __('RotateOutDownRight', 'wds'),
418
+ 'rotateOutUpLeft' => __('RotateOutUpLeft', 'wds'),
419
+ 'rotateOutUpRight' => __('RotateOutUpRight', 'wds'),
420
+
421
+ 'zoomOut' => __('ZoomOut', 'wds'),
422
+ 'zoomOutDown' => __('ZoomOutDown', 'wds'),
423
+ 'zoomOutLeft' => __('ZoomOutLeft', 'wds'),
424
+ 'zoomOutRight' => __('ZoomOutRight', 'wds'),
425
+ 'zoomOutUp' => __('ZoomOutUp', 'wds'),
426
+ );
427
+ $slider_callbacks = array(
428
+ 'onSliderI' => __('On slider Init', 'wds'),
429
+ 'onSliderCS' => __('On slide change start', 'wds'),
430
+ 'onSliderCE' => __('On slide change end', 'wds'),
431
+ 'onSliderPlay' => __('On slide play', 'wds'),
432
+ 'onSliderPause' => __('On slide pause', 'wds'),
433
+ 'onSliderHover' => __('On slide hover', 'wds'),
434
+ 'onSliderBlur' => __('On slide blur', 'wds'),
435
+ 'onSliderR' => __('On slider resize', 'wds'),
436
+ 'onSwipeS' => __('On swipe start', 'wds'),
437
+ );
438
+ $text_alignments = array(
439
+ 'center' => __('Center', 'wds'),
440
+ 'left' => __('Left', 'wds'),
441
+ 'right' => __('Right', 'wds'),
442
+ );
443
+ $built_in_watermark_fonts = array();
444
+ foreach (scandir(path_join(WD_S_DIR, 'fonts')) as $filename) {
445
+ if (strpos($filename, '.') === 0) {
446
+ continue;
447
+ }
448
+ else {
449
+ $built_in_watermark_fonts[] = $filename;
450
+ }
451
+ }
452
+ if (get_option("wds_theme_version")) {
453
+ $fv = TRUE;
454
+ $fv_class = 'spider_free_version_label';
455
+ $fv_disabled = 'disabled="disabled"';
456
+ $fv_message = '<tr><td colspan="2"><div class="wd_error" style="padding: 5px; font-size: 14px; color: #000000 !important;">'. __('Some options are disabled in free version.', 'wds').'</div></td></tr>';
457
+ $fv_title = ' title="'.$option_disabled_version.'"';
458
+ }
459
+ else {
460
+ $fv = FALSE;
461
+ $fv_class = '';
462
+ $fv_disabled = '';
463
+ $fv_message = '';
464
+ $fv_title = '';
465
+ }
466
+ global $wp_version;
467
+ if (version_compare($wp_version, '4','<')) {
468
+ ?>
469
+ <style>
470
+ #wpwrap {
471
+ background-color:#F1F1F1
472
+ }
473
+
474
+ .tab_button_wrap {
475
+ width:46%;
476
+ }
477
+
478
+ .tab_button_wrap .wds_button-secondary {
479
+ margin-right: 7px;
480
+ }
481
+ @media screen and (max-width: 640px) {
482
+ .buttons_div input {
483
+ width:31%;
484
+ font-size:11px
485
+ }
486
+
487
+ body{
488
+ min-width:inherit !Important;
489
+ }
490
+
491
+ .tablenav{
492
+ height:auto
493
+ }
494
+
495
+ #wpcontent{
496
+ margin-left:40px!important
497
+ }
498
+ .tab_button_wrap, .buttons_conteiner .wds_buttons .wds_button_wrap {
499
+ width:48.5%;
500
+ }
501
+ .action_buttons {
502
+ font-size: 10px !important;
503
+ }
504
+ .add_social_layer {
505
+ padding: 0 7px 1px 35px !important;
506
+ }
507
+ #TB_window{
508
+ top:5% !important
509
+ }
510
+
511
+ .attachments-browser .attachments{
512
+ right:0 !Important
513
+ }
514
+ .media-modal {
515
+ width: 100% !Important;
516
+ left:0 !Important;
517
+ position:fixed !important
518
+ }
519
+ .media-sidebar{
520
+ bottom:120% !Important;
521
+ padding:0 !Important
522
+ }
523
+ .media-modal-backdrop{
524
+ position:fixed !important
525
+ }
526
+ .uploader-inline{
527
+ right:0!important
528
+ }
529
+
530
+ }
531
+ </style>
532
+ <?php
533
+ }
534
+ ?>
535
+ <div class="spider_message_cont"></div>
536
+ <div class="spider_load">
537
+ <div class="spider_load_cont"></div>
538
+ <div class="spider_load_icon"><img class="spider_ajax_loading" src="<?php echo WD_S_URL . '/images/ajax_loader_back.gif'; ?>"></div>
539
+ </div>
540
+ <form class="wrap wds_form" method="post" id="sliders_form" action="admin.php?page=sliders_wds" style="float: left; width: 98%;">
541
+ <?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
542
+ <span class="slider-icon"></span>
543
+ <h2 class="wds_default"><?php echo $page_title; ?></h2>
544
+ <div class="buttons_conteiner">
545
+ <div class="slider_title_conteiner">
546
+ <span class="spider_label"><label for="name"><?php _e('Slider Title', 'wds'); ?> <span style="color:#FF0000;">*</span> </label></span>
547
+ <span><input type="text" id="name" name="name" value="<?php echo $row->name; ?>" size="20" class="wds_requried" data-name="<?php _e('Slider title', 'wds'); ?>" /></span>
548
+ </div>
549
+ <div class="wds_buttons">
550
+ <div class="wds_button_wrap">
551
+ <input class="wds_button-secondary wds_save_slider" type="button" onclick="spider_set_input_value('task', 'save'); spider_ajax_save('sliders_form', event);" value="<?php _e('Save', 'wds'); ?>" />
552
+ </div>
553
+ <div class="wds_button_wrap">
554
+ <input class="wds_button-secondary wds_apply_slider" type="button" onclick="spider_set_input_value('task', 'apply'); spider_ajax_save('sliders_form', event);" value="<?php _e('Apply', 'wds'); ?>" />
555
+ </div>
556
+ <div class="wds_button_wrap">
557
+ <input class="wds_button-secondary wds_dublicate_slide" type="button" value="<?php _e('Save as Copy', 'wds'); ?>" onclick="if (!wds_check_required()) {return false;};
558
+ spider_set_input_value('current_id', '0' );
559
+ spider_set_input_value('save_as_copy', '1');
560
+ spider_set_input_value('task', 'apply');
561
+ spider_ajax_save('sliders_form', event);"
562
+ />
563
+ </div>
564
+ <div class="wds_button_wrap">
565
+ <input id="wds_preview" type="button" class="action_buttons" value="<?php _e('Preview', 'wds'); ?>" onclick="spider_set_input_value('task', 'preview'); spider_ajax_save('sliders_form', event); return false;" />
566
+ </div>
567
+ <div class="wds_button_wrap">
568
+ <input type="button" class="wds_button-secondary wds_export_one" onclick="alert('<?php echo $functionality_disabled_version; ?>')" value="<?php _e('Export', 'wds'); ?>" />
569
+ </div>
570
+ <div class="wds_button_wrap">
571
+ <input class="wds_button-secondary last wds_cancel" type="submit" onclick="spider_set_input_value('task', 'cancel')" value="<?php _e('Cancel', 'wds'); ?>" />
572
+ </div>
573
+ </div>
574
+ <div class="wds_clear"></div>
575
+ </div>
576
+ <div>
577
+ <div class="wds_reset_button">
578
+ <input class="reset_settings" type="button" onclick="spider_set_input_value('task', 'reset'); spider_ajax_save('sliders_form', event);" value="<?php _e('Reset Settings', 'wds'); ?>" />
579
+ </div>
580
+ <!--------------Settings tab----------->
581
+ <div class="wds_box wds_settings_box">
582
+ <table>
583
+ <thead>
584
+ <tr>
585
+ <td colspan="4">
586
+ <div class="tab_conteiner">
587
+ <div class="tab_button_wrap setting_tab_button_wrap" onclick="wds_change_tab(this, 'wds_settings_box')">
588
+ <a class="wds_button-secondary wds_settings" href="#">
589
+ <span tab_type="settings" class="wds_tab_label"><?php _e('Settings', 'wds'); ?></span>
590
+ </a>
591
+ </div>
592
+ <div class="tab_button_wrap slides_tab_button_wrap" onclick="wds_change_tab(this, 'wds_slides_box')">
593
+ <a class="wds_button-secondary wds_slides" href="#">
594
+ <span tab_type="slides" class="wds_tab_label"><?php _e('Slides', 'wds'); ?></span>
595
+ </a>
596
+ </div>
597
+ <div class="clear"></div>
598
+ </div>
599
+ </td>
600
+ </tr>
601
+ </thead>
602
+ </table>
603
+ <div class="wds_nav_tabs">
604
+ <div class="wds_menu_icon" onclick="jQuery('.wds_nav_tabs ul').slideToggle(500);"></div>
605
+ <ul>
606
+ <li tab_type="global" onclick="wds_change_nav(this, 'wds_nav_global_box')">
607
+ <a href="#"><?php _e('Global', 'wds'); ?></a>
608
+ </li>
609
+ <li tab_type="carousel" onclick="wds_change_nav(this, 'wds_nav_carousel_box')">
610
+ <a href="#"><?php _e('Carousel', 'wds'); ?></a>
611
+ </li>
612
+ <li tab_type="navigation" onclick="wds_change_nav(this, 'wds_nav_navigation_box')" >
613
+ <a href="#"><?php _e('Navigation', 'wds'); ?></a>
614
+ </li>
615
+ <li tab_type="bullets" onclick="wds_change_nav(this, 'wds_nav_bullets_box')" >
616
+ <a href="#"><?php _e('Bullets', 'wds'); ?></a>
617
+ </li>
618
+ <li tab_type="filmstrip" onclick="wds_change_nav(this, 'wds_nav_filmstrip_box')" >
619
+ <a href="#"><?php _e('Filmstrip', 'wds'); ?></a>
620
+ </li>
621
+ <li tab_type="timer_bar" onclick="wds_change_nav(this, 'wds_nav_timer_bar_box')" >
622
+ <a href="#"><?php _e('Timer bar', 'wds'); ?></a>
623
+ </li>
624
+ <li tab_type="watermark" onclick="wds_change_nav(this, 'wds_nav_watermark_box')" >
625
+ <a href="#"><?php _e('Watermark', 'wds'); ?></a>
626
+ </li>
627
+ <li tab_type="css" onclick="wds_change_nav(this, 'wds_nav_css_box')" >
628
+ <a href="#"><?php _e('CSS', 'wds'); ?></a>
629
+ </li>
630
+ <li tab_type="callbacks" onclick="wds_change_nav(this, 'wds_nav_callbacks_box')" >
631
+ <a href="#"><?php _e('Slider Callbacks', 'wds'); ?></a>
632
+ </li>
633
+ </ul>
634
+ </div>
635
+ <div>
636
+ <div class="wds_nav_box wds_nav_global_box">
637
+ <table>
638
+ <tbody>
639
+ <tr>
640
+ <td class="spider_label"><label><?php _e('Dimensions:', 'wds'); ?> </label></td>
641
+ <td>
642
+ <input type="text" name="width" id="width" value="<?php echo $row->width; ?>" class="spider_int_input" onchange="wds_whr('width')" onkeypress="return spider_check_isnum(event)" /> x
643
+ <input type="text" name="height" id="height" value="<?php echo $row->height; ?>" class="spider_int_input" onchange="wds_whr('height')" onkeypress="return spider_check_isnum(event)" /> px
644
+ <div class="spider_description"><?php _e('Maximum width and height for slider.', 'wds'); ?></div>
645
+ </td>
646
+ </tr>
647
+ <tr>
648
+ <td class="spider_label"><label for="hide_on_mobile"><?php _e('Hide on small screens:', 'wds'); ?> </label></td>
649
+ <td>
650
+ <input type="text" id="hide_on_mobile" name="hide_on_mobile" value="<?php echo $row->hide_on_mobile; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
651
+ <div class="spider_description"><?php _e('Hide slider when resolution is smaller than.', 'wds'); ?></div>
652
+ </td>
653
+ </tr>
654
+ <tr>
655
+ <td class="spider_label"><label><?php _e('Full width:', 'wds'); ?> </label></td>
656
+ <td>
657
+ <input type="radio" id="full_width1" name="full_width" <?php echo (($row->full_width) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->full_width) ? 'class="selected_color"' : ''); ?> for="full_width1"><?php _e('Yes', 'wds'); ?></label>
658
+ <input type="radio" id="full_width0" name="full_width" <?php echo (($row->full_width) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo ($row->full_width) ? '' : 'class="selected_color"'; ?> for="full_width0"><?php _e('No', 'wds'); ?></label>
659
+ <input type="text" name="ratio" id="ratio" value="" class="spider_int_input" onchange="wds_whr('ratio')" onkeypress="return spider_check_isnum(event)" /><label for="ratio"><?php _e('Ratio', 'wds'); ?></label>
660
+ <div class="spider_description"><?php _e('The image will stretch to the page width, taking the height based on dimensions ratio.', 'wds'); ?></div>
661
+ </td>
662
+ </tr>
663
+ <tr>
664
+ <td class="spider_label"><label for="full_width_for_mobile"><?php _e('Full width on small screens:', 'wds'); ?> </label></td>
665
+ <td>
666
+ <input type="text" id="full_width_for_mobile" name="full_width_for_mobile" value="<?php echo $row->full_width_for_mobile; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
667
+ <div class="spider_description"><?php _e('Full width slider when resolution is smaller than.', 'wds'); ?></div>
668
+ </td>
669
+ </tr>
670
+ <tr>
671
+ <td class="spider_label"><label><?php _e('Background fit:', 'wds'); ?> </label></td>
672
+ <td>
673
+ <input onClick="bwg_enable_disable('', 'tr_smart_crop', 'bg_fit_cover')" type="radio" name="bg_fit" id="bg_fit_cover" value="cover" <?php if ($row->bg_fit == 'cover') echo 'checked="checked"'; ?> onchange="jQuery('div[id^=\'wds_preview_image\']').css({backgroundSize: 'cover'})" /><label <?php echo $row->bg_fit == 'cover' ? 'class="selected_color"' : ''; ?> for="bg_fit_cover">Cover</label>
674
+ <input onClick="bwg_enable_disable('none', 'tr_smart_crop', 'bg_fit_fill'); jQuery('#smart_crop0').click();" type="radio" name="bg_fit" id="bg_fit_fill" value="100% 100%" <?php if ($row->bg_fit == '100% 100%') echo 'checked="checked"'; ?> onchange="jQuery('div[id^=\'wds_preview_image\']').css({backgroundSize: '100% 100%'})" /><label <?php echo $row->bg_fit == '100% 100%' ? 'class="selected_color"' : ''; ?> for="bg_fit_fill"><?php _e('Fill', 'wds'); ?></label>
675
+ <input onClick="bwg_enable_disable('', 'tr_smart_crop', 'bg_fit_contain')" type="radio" name="bg_fit" id="bg_fit_contain" value="contain" <?php if ($row->bg_fit == 'contain') echo 'checked="checked"'; ?> onchange="jQuery('div[id^=\'wds_preview_image\']').css({backgroundSize: 'contain'})" /><label <?php echo $row->bg_fit == 'contain' ? 'class="selected_color"' : ''; ?> for="bg_fit_contain"><?php _e('Contain', 'wds'); ?></label>
676
+ </td>
677
+ </tr>
678
+ <tr id="tr_smart_crop">
679
+ <td class="spider_label"><label><?php _e('Smart Crop', 'wds'); ?></label></td>
680
+ <td>
681
+ <input onClick="bwg_enable_disable('', 'tr_crop_pos', 'smart_crop1')" type="radio" id="smart_crop1" name="smart_crop" <?php echo (($row->smart_crop) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->smart_crop) ? 'class="selected_color"' : ''); ?> for="smart_crop1"><?php _e('Yes', 'wds'); ?></label>
682
+ <input onClick="bwg_enable_disable('none', 'tr_crop_pos', 'smart_crop0')" type="radio" id="smart_crop0" name="smart_crop" <?php echo (($row->smart_crop) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo ((!$row->smart_crop) ? 'class="selected_color"' : ''); ?> for="smart_crop0"><?php _e('No', 'wds'); ?></label>
683
+ <div class="spider_description"></div>
684
+ </td>
685
+ </tr>
686
+ <tr id="tr_crop_pos">
687
+ <td class="spider_label_options">
688
+ <label for="smart_crop"><?php _e('Crop Image Position', 'wds'); ?></label>
689
+ </td>
690
+ <td>
691
+ <table class="wds_position_table">
692
+ <tbody>
693
+ <tr>
694
+ <td class="wds_position_td"><input type="radio" value="left top" name="crop_image_position" <?php if ($row->crop_image_position == "left top") echo 'checked="checked"'; ?> ></td>
695
+ <td class="wds_position_td"><input type="radio" value="center top" name="crop_image_position" <?php if ($row->crop_image_position == "center top") echo 'checked="checked"'; ?> ></td>
696
+ <td class="wds_position_td"><input type="radio" value="right top" name="crop_image_position" <?php if ($row->crop_image_position == "right top") echo 'checked="checked"'; ?> ></td>
697
+ </tr>
698
+ <tr>
699
+ <td class="wds_position_td"><input type="radio" value="left center" name="crop_image_position" <?php if ($row->crop_image_position == "left center") echo 'checked="checked"'; ?> ></td>
700
+ <td class="wds_position_td"><input type="radio" value="center center" name="crop_image_position" <?php if ($row->crop_image_position == "center center") echo 'checked="checked"'; ?> ></td>
701
+ <td class="wds_position_td"><input type="radio" value="right center" name="crop_image_position" <?php if ($row->crop_image_position == "right center") echo 'checked="checked"'; ?> ></td>
702
+ </tr>
703
+ <tr>
704
+ <td class="wds_position_td"><input type="radio" value="left bottom" name="crop_image_position" <?php if ($row->crop_image_position == "left bottom") echo 'checked="checked"'; ?> ></td>
705
+ <td class="wds_position_td"><input type="radio" value="center bottom" name="crop_image_position" <?php if ($row->crop_image_position == "center bottom") echo 'checked="checked"'; ?> ></td>
706
+ <td class="wds_position_td"><input type="radio" value="right bottom" name="crop_image_position" <?php if ($row->crop_image_position == "right bottom") echo 'checked="checked"'; ?> ></td>
707
+ </tr>
708
+ </tbody>
709
+ </table>
710
+ </td>
711
+ </tr>
712
+ <tr>
713
+ <td class="spider_label"><label><?php _e('Fixed background:', 'wds'); ?></label></td>
714
+ <td>
715
+ <input type="radio" id="fixed_bg1" name="fixed_bg" <?php echo (($row->fixed_bg) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->fixed_bg) ? 'class="selected_color"' : ''); ?> for="fixed_bg1"><?php _e('Yes', 'wds'); ?></label>
716
+ <input type="radio" id="fixed_bg0" name="fixed_bg" <?php echo (($row->fixed_bg) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo ((!$row->fixed_bg) ? 'class="selected_color"' : ''); ?> for="fixed_bg0"><?php _e('No', 'wds'); ?></label>
717
+ <div class="spider_description"></div>
718
+ </td>
719
+ </tr>
720
+ <tr>
721
+ <td class="spider_label"><label><?php _e('Slides order direction:', 'wds'); ?></label></td>
722
+ <td>
723
+ <input type="radio" id="order_dir1" name="order_dir" <?php echo checked('asc', $row->order_dir); ?> value="asc" /><label <?php echo (($row->order_dir == 'asc') ? 'class="selected_color"' : ''); ?> for="order_dir1">Ascending</label>
724
+ <input type="radio" id="order_dir0" name="order_dir" <?php checked('desc', $row->order_dir); ?> value="desc" /><label <?php echo (($row->order_dir == 'desc') ? 'class="selected_color"' : ''); ?> for="order_dir0">Descending</label>
725
+ <div class="spider_description"></div>
726
+ </td>
727
+ </tr>
728
+ <tr>
729
+ <td class="spider_label"><label for="align"><?php _e('Align:', 'wds'); ?></label></td>
730
+ <td>
731
+ <select class="select_icon select_icon_320" name="align" id="align">
732
+ <?php
733
+ foreach ($aligns as $key => $align) {
734
+ ?>
735
+ <option value="<?php echo $key; ?>" <?php echo (($row->align == $key) ? 'selected="selected"' : ''); ?>><?php echo $align; ?></option>
736
+ <?php
737
+ }
738
+ ?>
739
+ </select>
740
+ <div class="spider_description"><?php _e('Set the alignment of the slider.', 'wds'); ?></div>
741
+ </td>
742
+ </tr>
743
+ <tr>
744
+ <td class="spider_label_options">
745
+ <label for="effect"><?php _e('Effect:', 'wds'); ?></label>
746
+ </td>
747
+ <td>
748
+ <select class="select_icon select_icon_320" name="effect" id="effect">
749
+ <?php
750
+ foreach ($effects as $key => $effect) {
751
+ ?>
752
+ <option value="<?php echo $key; ?>" <?php echo (!in_array($key, $free_effects)) ? 'disabled="disabled" title="'.__('This effect is disabled in free version.', 'wds').'"' : ''; ?> <?php if ($row->effect == $key) echo 'selected="selected"'; ?>><?php echo $effect; ?></option>
753
+ <?php
754
+ }
755
+ ?>
756
+ </select>
757
+ <div class="spider_description spider_free_version"><?php _e('Some effects are disabled in free version.', 'wds'); ?></div>
758
+ </td>
759
+ </tr>
760
+ <tr>
761
+ <td class="spider_label"><label for="effect_duration"><?php _e('Effect duration:', 'wds'); ?></label></td>
762
+ <td>
763
+ <input type="text" id="effect_duration" name="effect_duration" value="<?php echo $row->effect_duration; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> <?php _e('ms', 'wds'); ?>
764
+ <div class="spider_description"><?php _e('Define the time for the effect.', 'wds'); ?></div>
765
+ </td>
766
+ </tr>
767
+ <tr>
768
+ <td class="spider_label spider_free_version_label"><label><?php _e('Parallax Effect:', 'wds'); ?></label></td>
769
+ <td title="<?php echo $option_disabled_version; ?>">
770
+ <input disabled="disabled" type="radio" id="parallax_effect1" name="parallax_effect" <?php echo (($row->parallax_effect) ? 'checked="checked"' : ''); ?> value="1" /><label for="parallax_effect1"><?php _e('Yes', 'wds'); ?></label>
771
+ <input disabled="disabled" type="radio" id="parallax_effect0" name="parallax_effect" <?php echo (($row->parallax_effect) ? '' : 'checked="checked"'); ?> value="0" /><label for="parallax_effect0"><?php _e('No', 'wds'); ?></label>
772
+ <div class="spider_description"><?php _e('The direction of the movement, as well as the layer moving pace depend on the z-index value.', 'wds'); ?></div>
773
+ </td>
774
+ </tr>
775
+ <tr>
776
+ <td class="spider_label"><label><?php _e('Autoplay:', 'wds'); ?></label></td>
777
+ <td>
778
+ <input type="radio" id="autoplay1" name="autoplay" <?php echo (($row->autoplay) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->autoplay) ? 'class="selected_color"' : ''); ?> for="autoplay1"><?php _e('Yes', 'wds'); ?></label>
779
+ <input type="radio" id="autoplay0" name="autoplay" <?php echo (($row->autoplay) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->autoplay) ? '' : 'class="selected_color"'); ?> for="autoplay0"><?php _e('No', 'wds'); ?></label>
780
+ <div class="spider_description"><?php _e('Choose whether to autoplay the sliders or not.', 'wds'); ?></div>
781
+ </td>
782
+ </tr>
783
+ <tr>
784
+ <td class="spider_label"><label><?php _e('Two way slideshow:', 'wds'); ?></label></td>
785
+ <td>
786
+ <input type="radio" id="twoway_slideshow1" name="twoway_slideshow" <?php echo (($row->twoway_slideshow) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->twoway_slideshow) ? 'class="selected_color"' : ''); ?> for="twoway_slideshow1"><?php _e('Yes', 'wds'); ?></label>
787
+ <input type="radio" id="twoway_slideshow0" name="twoway_slideshow" <?php echo (($row->twoway_slideshow) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->twoway_slideshow) ? '' : 'class="selected_color"'); ?> for="twoway_slideshow0"><?php _e('No', 'wds'); ?></label>
788
+ <div class="spider_description"><?php _e('Slideshow can go backwards if someone switch to a previous slide.', 'wds'); ?></div>
789
+ </td>
790
+ </tr>
791
+ <tr>
792
+ <td class="spider_label"><label><?php _e('Enable loop:', 'wds'); ?></label></td>
793
+ <td>
794
+ <input type="radio" id="slider_loop1" name="slider_loop" <?php echo (($row->slider_loop) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->slider_loop) ? 'class="selected_color"' : ''); ?> for="slider_loop1"><?php _e('Yes', 'wds'); ?></label>
795
+ <input type="radio" id="slider_loop0" name="slider_loop" <?php echo (($row->slider_loop) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->slider_loop) ? '' : 'class="selected_color"'); ?> for="slider_loop0"><?php _e('No', 'wds'); ?></label>
796
+ <div class="spider_description"></div>
797
+ </td>
798
+ </tr>
799
+ <tr>
800
+ <td class="spider_label"><label for="time_intervval"><?php _e('Time Interval:', 'wds'); ?></label></td>
801
+ <td>
802
+ <input type="text" id="time_intervval" name="time_intervval" value="<?php echo $row->time_intervval; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> <?php _e('sec.', 'wds'); ?>
803
+ <div class="spider_description"><?php _e('Set the time interval for the change of the sliders when autoplay is on.', 'wds'); ?></div>
804
+ </td>
805
+ </tr>
806
+ <tr>
807
+ <td class="spider_label"><label><?php _e('Stop on hover:', 'wds'); ?></label></td>
808
+ <td>
809
+ <input type="radio" id="stop_animation1" name="stop_animation" <?php echo (($row->stop_animation) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->stop_animation) ? 'class="selected_color"' : ''); ?> for="stop_animation1"><?php _e('Yes', 'wds'); ?></label>
810
+ <input type="radio" id="stop_animation0" name="stop_animation" <?php echo (($row->stop_animation) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->stop_animation) ? '' : 'class="selected_color"'); ?> for="stop_animation0"><?php _e('No', 'wds'); ?></label>
811
+ <div class="spider_description"><?php _e('The option works when autoplay is on.', 'wds'); ?></div>
812
+ </td>
813
+ </tr>
814
+ <tr>
815
+ <td class="spider_label"><label><?php _e('Shuffle:', 'wds'); ?></label></td>
816
+ <td>
817
+ <input type="radio" id="shuffle1" name="shuffle" <?php echo (($row->shuffle) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->shuffle) ? 'class="selected_color"' : ''); ?> for="shuffle1"><?php _e('Yes', 'wds'); ?></label>
818
+ <input type="radio" id="shuffle0" name="shuffle" <?php echo (($row->shuffle) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->shuffle) ? '' : 'class="selected_color"'); ?> for="shuffle0"><?php _e('No', 'wds'); ?></label>
819
+ <div class="spider_description"><?php _e('Choose whether to have the slides change in a random manner or to keep the original sequence.', 'wds'); ?></div>
820
+ </td>
821
+ </tr>
822
+ <tr>
823
+ <td class="spider_label"><label for="start_slide_num"><?php _e('Start with slide:', 'wds'); ?></label></td>
824
+ <td>
825
+ <input type="text" name="start_slide_num" id="start_slide_num" value="<?php echo $row->start_slide_num; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" />
826
+ <div class="spider_description"><?php _e('The slider will start with the specified slide. You can use the value 0 for random.', 'wds'); ?></div>
827
+ </td>
828
+ </tr>
829
+ <tr>
830
+ <td class="spider_label"><label><?php _e('Music:', 'wds'); ?></label></td>
831
+ <td>
832
+ <input type="radio" id="music1" name="music" <?php echo (($row->music) ? 'checked="checked"' : ''); ?> value="1" onClick="bwg_enable_disable('', 'tr_music_url', 'music1')" /><label <?php echo (($row->music) ? 'class="selected_color"' : ''); ?> for="music1"><?php _e('Yes', 'wds'); ?></label>
833
+ <input type="radio" id="music0" name="music" <?php echo (($row->music) ? '' : 'checked="checked"'); ?> value="0" onClick="bwg_enable_disable('none', 'tr_music_url', 'music0')" /><label <?php echo (($row->music) ? '' : 'class="selected_color"'); ?> for="music0"><?php _e('No', 'wds'); ?></label>
834
+ <div class="spider_description"><?php _e('Choose whether to have music/audio track playback with the slider or not.', 'wds'); ?></div>
835
+ </td>
836
+ </tr>
837
+ <tr id="tr_music_url">
838
+ <td class="spider_label_options">
839
+ <label for="music_url"><?php _e('Music url:', 'wds'); ?></label>
840
+ </td>
841
+ <td>
842
+ <input type="text" id="music_url" name="music_url" size="39" value="<?php echo $row->music_url; ?>" style="display:inline-block;" />
843
+ <input id="add_music_url" class="wds_not_image_buttons" type="button" onclick="spider_media_uploader('music', event, false); return false;" value="<?php _e('Add music', 'wds'); ?>" />
844
+ <div class="spider_description"><?php _e('Only .aac,.m4a,.f4a,.mp3,.ogg,.oga formats are supported.', 'wds'); ?></div>
845
+ </td>
846
+ </tr>
847
+ <tr>
848
+ <td class="spider_label"><label><?php _e('Smart Load:', 'wds'); ?></label></td>
849
+ <td>
850
+ <input type="radio" id="preload_images1" name="preload_images" <?php echo (($row->preload_images) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->preload_images) ? 'class="selected_color"' : ''); ?> for="preload_images1"><?php _e('Yes', 'wds'); ?></label>
851
+ <input type="radio" id="preload_images0" name="preload_images" <?php echo (($row->preload_images) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->preload_images) ? '' : 'class="selected_color"'); ?> for="preload_images0"><?php _e('No', 'wds'); ?></label>
852
+ <div class="spider_description"><?php _e('Choose to have faster load for the first few images and process the rest meanwhile.', 'wds'); ?></div>
853
+ </td>
854
+ </tr>
855
+ <tr>
856
+ <td class="spider_label"><label for="background_color"><?php _e('Background color:', 'wds'); ?></label></td>
857
+ <td>
858
+ <input type="text" name="background_color" id="background_color" value="<?php echo $row->background_color; ?>" class="color" onchange="jQuery('div[id^=\'wds_preview_image\']').css({backgroundColor: wds_hex_rgba(jQuery(this).val(), 100 - jQuery('#background_transparent').val())})" />
859
+ <input id="background_transparent" name="background_transparent" class="spider_int_input" type="text" onchange="jQuery('div[id^=\'wds_preview_image\']').css({backgroundColor: wds_hex_rgba(jQuery('#background_color').val(), 100 - jQuery(this).val())})" onkeypress="return spider_check_isnum(event)" value="<?php echo $row->background_transparent; ?>" /> %
860
+ <div class="spider_description"><?php _e('Transparency value must be between 0 to 100.', 'wds'); ?></div>
861
+ </td>
862
+ </tr>
863
+ <tr>
864
+ <td class="spider_label"><label for="glb_border_width"><?php _e('Border:', 'wds'); ?></label></td>
865
+ <td>
866
+ <input type="text" name="glb_border_width" id="glb_border_width" value="<?php echo $row->glb_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
867
+ <select class="select_icon select_icon_320" name="glb_border_style" id="glb_border_style">
868
+ <?php
869
+ foreach ($border_styles as $key => $border_style) {
870
+ ?>
871
+ <option value="<?php echo $key; ?>" <?php echo (($row->glb_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
872
+ <?php
873
+ }
874
+ ?>
875
+ </select>
876
+ <input type="text" name="glb_border_color" id="glb_border_color" value="<?php echo $row->glb_border_color; ?>" class="color" />
877
+ <div class="spider_description"><?php _e('Set the border width, type and the color.', 'wds'); ?></div>
878
+ </td>
879
+ </tr>
880
+ <tr>
881
+ <td class="spider_label"><label for="glb_border_radius"><?php _e('Border radius:', 'wds'); ?></label></td>
882
+ <td>
883
+ <input type="text" name="glb_border_radius" id="glb_border_radius" value="<?php echo $row->glb_border_radius; ?>" class="spider_char_input" />
884
+ <div class="spider_description"><?php _e('Use CSS type values.', 'wds'); ?></div>
885
+ </td>
886
+ </tr>
887
+ <tr>
888
+ <td class="spider_label"><label for="glb_margin"><?php _e('Margin:', 'wds'); ?></label></td>
889
+ <td>
890
+ <input type="text" name="glb_margin" id="glb_margin" value="<?php echo $row->glb_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
891
+ <div class="spider_description"><?php _e('Set a margin for the slider.', 'wds'); ?></div>
892
+ </td>
893
+ </tr>
894
+ <tr>
895
+ <td class="spider_label"><label for="glb_box_shadow"><?php _e('Shadow:', 'wds'); ?></label></td>
896
+ <td>
897
+ <input type="text" name="glb_box_shadow" id="glb_box_shadow" value="<?php echo $row->glb_box_shadow; ?>" class="spider_box_input" />
898
+ <div class="spider_description"><?php _e('Use CSS type values (e.g. 10px 10px 5px #888888).', 'wds'); ?></div>
899
+ </td>
900
+ </tr>
901
+ <tr>
902
+ <td class="spider_label_options">
903
+ <label><?php _e('Right click protection:', 'wds'); ?></label>
904
+ </td>
905
+ <td>
906
+ <input type="radio" name="image_right_click" id="image_right_click_1" value="1" <?php if ($row->image_right_click) echo 'checked="checked"'; ?> /><label <?php echo $row->image_right_click ? 'class="selected_color"' : ''; ?> for="image_right_click_1"><?php _e('Yes', 'wds'); ?></label>
907
+ <input type="radio" name="image_right_click" id="image_right_click_0" value="0" <?php if (!$row->image_right_click) echo 'checked="checked"'; ?> /><label <?php echo $row->image_right_click ? '' : 'class="selected_color"'; ?> for="image_right_click_0"><?php _e('No', 'wds'); ?></label>
908
+ <div class="spider_description"><?php _e('Disable image right click possibility.', 'wds'); ?></div>
909
+ </td>
910
+ </tr>
911
+ <tr>
912
+ <td class="spider_label_options">
913
+ <label><?php _e('Layer out on next:', 'wds'); ?></label>
914
+ </td>
915
+ <td>
916
+ <input type="radio" name="layer_out_next" id="layer_out_next_1" value="1" <?php if ($row->layer_out_next) echo 'checked="checked"'; ?> /><label <?php echo $row->layer_out_next ? 'class="selected_color"' : ''; ?> for="layer_out_next_1"><?php _e('Yes', 'wds'); ?></label>
917
+ <input type="radio" name="layer_out_next" id="layer_out_next_0" value="0" <?php if (!$row->layer_out_next) echo 'checked="checked"'; ?> /><label <?php echo $row->layer_out_next ? '' : 'class="selected_color"'; ?> for="layer_out_next_0"><?php _e('No', 'wds'); ?></label>
918
+ <div class="spider_description"><?php _e('Choose whether to have the layer effect out regardless of the timing between the hit to the next slider or skip the effect out and get to the next image.', 'wds'); ?></div>
919
+ </td>
920
+ </tr>
921
+ <tr>
922
+ <td class="spider_label"><label><?php _e('Published:', 'wds'); ?></label></td>
923
+ <td>
924
+ <input type="radio" id="published1" name="published" <?php echo (($row->published) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->published) ? 'class="selected_color"' : ''); ?> for="published1"><?php _e('Yes', 'wds'); ?></label>
925
+ <input type="radio" id="published0" name="published" <?php echo (($row->published) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->published) ? '' : 'class="selected_color"'); ?> for="published0"><?php _e('No', 'wds');?></label>
926
+ <div class="spider_description"><?php _e('Choose whether to publish the mentioned slider or not.', 'wds'); ?></div>
927
+ </td>
928
+ </tr>
929
+ </tbody>
930
+ </table>
931
+ </div>
932
+ <div class="wds_nav_box wds_nav_carousel_box spider_free_version_label" title="<?php echo $functionality_disabled_version; ?>">
933
+ <table>
934
+ <tbody>
935
+ <tr>
936
+ <td colspan="2">
937
+ <div class="wd_error" style="padding: 5px; font-size: 14px; color: #000000 !important;"><?php _e('Carousel is disabled in free version.', 'wds'); ?></div>
938
+ </td>
939
+ </tr>
940
+ <tr>
941
+ <td class="spider_label"><label><?php _e('Carousel:', 'wds'); ?></label></td>
942
+ <td>
943
+ <input disabled="disabled" type="radio" id="carousel1" name="carousel" <?php echo (($row->carousel) ? 'checked="checked"' : ''); ?> value="1" onClick="showhide_for_carousel_fildes(1)" /><label for="carousel1"><?php _e('Yes', 'wds'); ?></label>
944
+ <input disabled="disabled" type="radio" id="carousel0" name="carousel" <?php echo (($row->carousel) ? '' : 'checked="checked"'); ?> value="0" onClick="showhide_for_carousel_fildes(0)" /><label for="carousel0"><?php _e('No', 'wds'); ?></label>
945
+ <div class="spider_description"><?php _e('If you activate this feature the effects you had chosen in Global settings for your slider will not play.', 'wds'); ?></div>
946
+ </td>
947
+ </tr>
948
+ </tbody>
949
+ <tbody id="carousel_fildes">
950
+ <tr>
951
+ <td class="spider_label"><label for="carousel_image_counts"><?php _e('Number of images for carousel:', 'wds'); ?></label></td>
952
+ <td>
953
+ <input disabled="disabled" type="text" id="carousel_image_counts" name="carousel_image_counts" value="<?php echo $row->carousel_image_counts; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" />
954
+ <div class="spider_description"></div>
955
+ </td>
956
+ </tr>
957
+ <tr>
958
+ <td class="spider_label"><label for="carousel_image_parameters"><?php _e('Carousel image ratio:', 'wds'); ?></label></td>
959
+ <td>
960
+ <input disabled="disabled" type="text" id="carousel_image_parameters" name="carousel_image_parameters" value="<?php echo $row->carousel_image_parameters; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" />
961
+ <div class="spider_description"><?php _e('The value must be between 0 and 1.', 'wds'); ?></div>
962
+ </td>
963
+ </tr>
964
+ <tr>
965
+ <td class="spider_label"><label><?php _e('Container fit:', 'wds'); ?></label></td>
966
+ <td>
967
+ <input disabled="disabled" type="radio" id="carousel_fit_containerWidth1" name="carousel_fit_containerWidth" <?php echo (($row->carousel_fit_containerWidth) ? 'checked="checked"' : ''); ?> value="1" /><label for="carousel_fit_containerWidth1"><?php _e('Yes', 'wds'); ?></label>
968
+ <input disabled="disabled" type="radio" id="carousel_fit_containerWidth0" name="carousel_fit_containerWidth" <?php echo (($row->carousel_fit_containerWidth) ? '' : 'checked="checked"'); ?> value="0" /><label for="carousel_fit_containerWidth0"><?php _e('No', 'wds'); ?></label>
969
+ <div class="spider_description"></div>
970
+ </td>
971
+ </tr>
972
+ <tr>
973
+ <td class="spider_label"><label for="carousel_width"><?php _e('Fixed width:', 'wds'); ?></label></td>
974
+ <td>
975
+ <input disabled="disabled" type="text" id="carousel_width" name="carousel_width" value="<?php echo $row->carousel_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
976
+ <div class="spider_description"></div>
977
+ </td>
978
+ </tr>
979
+ <tr>
980
+ <td class="spider_label"><label for="carousel_degree"><?php _e('Background image angle:', 'wds'); ?></label></td>
981
+ <td>
982
+ <input type="text" id="carousel_degree" name="carousel_degree" value="<?php echo $row->carousel_degree; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> deg
983
+ <div class="spider_description"></div>
984
+ </td>
985
+ </tr>
986
+ <tr>
987
+ <td class="spider_label"><label for="carousel_grayscale"><?php _e('Background image grayscale:', 'wds'); ?></label></td>
988
+ <td>
989
+ <input type="text" name="carousel_grayscale" id="carousel_grayscale" value="<?php echo $row->carousel_grayscale; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/>%
990
+ <div class="spider_description"><?php _e('You can change the color scheme for background images to grayscale. Values must be between 0 to 100', 'wds'); ?></div>
991
+ </td>
992
+ </tr>
993
+ <tr>
994
+ <td class="spider_label"><label for="carousel_transparency"><?php _e('Background image transparency:', 'wds'); ?></label></td>
995
+ <td>
996
+ <input type="text" name="carousel_transparency" id="carousel_transparency" value="<?php echo $row->carousel_transparency; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/>%
997
+ <div class="spider_description"><?php _e('You can set transparency level for background images. Values should be between 0 to 100', 'wds'); ?></div>
998
+ </td>
999
+ </tr>
1000
+ </tbody>
1001
+ </table>
1002
+ </div>
1003
+ <div class="wds_nav_box wds_nav_navigation_box">
1004
+ <table>
1005
+ <tbody>
1006
+ <tr>
1007
+ <td class="spider_label_options">
1008
+ <label><?php _e('Next / Previous buttons:', 'wds'); ?></label>
1009
+ </td>
1010
+ <td>
1011
+ <input type="radio" name="prev_next_butt" id="prev_next_butt_1" value="1" <?php if ($row->prev_next_butt) echo 'checked="checked"'; ?> /><label <?php echo $row->prev_next_butt ? 'class="selected_color"' : ''; ?> for="prev_next_butt_1"><?php _e('Yes', 'wds'); ?></label>
1012
+ <input type="radio" name="prev_next_butt" id="prev_next_butt_0" value="0" <?php if (!$row->prev_next_butt) echo 'checked="checked"'; ?> /><label <?php echo $row->prev_next_butt ? '' : 'class="selected_color"'; ?> for="prev_next_butt_0"><?php _e('No', 'wds'); ?></label>
1013
+ <div class="spider_description"><?php _e('Choose whether to display Previous and Next buttons or not.', 'wds'); ?></div>
1014
+ </td>
1015
+ </tr>
1016
+ <tr>
1017
+ <td class="spider_label_options">
1018
+ <label><?php _e('Mouse swipe navigation:', 'wds'); ?></label>
1019
+ </td>
1020
+ <td>
1021
+ <input type="radio" name="mouse_swipe_nav" id="mouse_swipe_nav_1" value="1" <?php if ($row->mouse_swipe_nav) echo 'checked="checked"'; ?> /><label <?php echo $row->mouse_swipe_nav ? 'class="selected_color"' : ''; ?> for="mouse_swipe_nav_1"><?php _e('Yes', 'wds'); ?></label>
1022
+ <input type="radio" name="mouse_swipe_nav" id="mouse_swipe_nav_0" value="0" <?php if (!$row->mouse_swipe_nav) echo 'checked="checked"'; ?> /><label <?php echo $row->mouse_swipe_nav ? '' : 'class="selected_color"'; ?> for="mouse_swipe_nav_0"><?php _e('No', 'wds'); ?></label>
1023
+ <div class="spider_description"></div>
1024
+ </td>
1025
+ </tr>
1026
+ <tr>
1027
+ <td class="spider_label_options">
1028
+ <label><?php _e('Touch swipe navigation:', 'wds'); ?></label>
1029
+ </td>
1030
+ <td>
1031
+ <input type="radio" name="touch_swipe_nav" id="touch_swipe_nav_1" value="1" <?php if ($row->touch_swipe_nav) echo 'checked="checked"'; ?> /><label <?php echo $row->touch_swipe_nav ? 'class="selected_color"' : ''; ?> for="touch_swipe_nav_1"><?php _e('Yes', 'wds'); ?></label>
1032
+ <input type="radio" name="touch_swipe_nav" id="touch_swipe_nav_0" value="0" <?php if (!$row->touch_swipe_nav) echo 'checked="checked"'; ?> /><label <?php echo $row->touch_swipe_nav ? '' : 'class="selected_color"'; ?> for="touch_swipe_nav_0"><?php _e('No', 'wds'); ?></label>
1033
+ <div class="spider_description"></div>
1034
+ </td>
1035
+ </tr>
1036
+ <tr>
1037
+ <td class="spider_label_options">
1038
+ <label><?php _e('Mouse wheel navigation:', 'wds'); ?></label>
1039
+ </td>
1040
+ <td>
1041
+ <input type="radio" name="mouse_wheel_nav" id="mouse_wheel_nav_1" value="1" <?php if ($row->mouse_wheel_nav) echo 'checked="checked"'; ?> /><label <?php echo $row->mouse_wheel_nav ? 'class="selected_color"' : ''; ?> for="mouse_wheel_nav_1"><?php _e('Yes', 'wds'); ?></label>
1042
+ <input type="radio" name="mouse_wheel_nav" id="mouse_wheel_nav_0" value="0" <?php if (!$row->mouse_wheel_nav) echo 'checked="checked"'; ?> /><label <?php echo $row->mouse_wheel_nav ? '' : 'class="selected_color"'; ?> for="mouse_wheel_nav_0"><?php _e('No', 'wds'); ?></label>
1043
+ <div class="spider_description"></div>
1044
+ </td>
1045
+ </tr>
1046
+ <tr>
1047
+ <td class="spider_label_options">
1048
+ <label><?php _e('Keyboard navigation:', 'wds'); ?></label>
1049
+ </td>
1050
+ <td>
1051
+ <input type="radio" name="keyboard_nav" id="keyboard_nav_1" value="1" <?php if ($row->keyboard_nav) echo 'checked="checked"'; ?> /><label <?php echo $row->keyboard_nav ? 'class="selected_color"' : ''; ?> for="keyboard_nav_1"><?php _e('Yes', 'wds'); ?></label>
1052
+ <input type="radio" name="keyboard_nav" id="keyboard_nav_0" value="0" <?php if (!$row->keyboard_nav) echo 'checked="checked"'; ?> /><label <?php echo $row->keyboard_nav ? '' : 'class="selected_color"'; ?> for="keyboard_nav_0"><?php _e('No', 'wds'); ?></label>
1053
+ <div class="spider_description"></div>
1054
+ </td>
1055
+ </tr>
1056
+ <tr>
1057
+ <td class="spider_label_options">
1058
+ <label><?php _e('Show Navigation buttons:', 'wds'); ?></label>
1059
+ </td>
1060
+ <td>
1061
+ <input type="radio" name="navigation" id="navigation_1" value="hover" <?php if ($row->navigation == 'hover') echo 'checked="checked"'; ?> /><label <?php echo $row->navigation == 'hover' ? 'class="selected_color"' : ''; ?> for="navigation_1"><?php _e('On hover', 'wds'); ?></label>
1062
+ <input type="radio" name="navigation" id="navigation_0" value="always" <?php if ($row->navigation == 'always' ) echo 'checked="checked"'; ?> /><label <?php echo $row->navigation == 'always' ? 'class="selected_color"' : ''; ?> for="navigation_0"><?php _e('Always', 'wds'); ?></label>
1063
+ <div class="spider_description"><?php _e('Select between the option of always displaying the navigation buttons or only when hovered.', 'wds'); ?></div>
1064
+ </td>
1065
+ </tr>
1066
+ <tr>
1067
+ <td class="spider_label_options">
1068
+ <label><?php _e('Image for Next / Previous buttons:', 'wds'); ?></label>
1069
+ </td>
1070
+ <td>
1071
+ <input type="radio" name="rl_butt_img_or_not" id="rl_butt_img_or_not_our" value="our" <?php if ($row->rl_butt_img_or_not == 'our') echo 'checked="checked"'; ?> onClick="image_for_next_prev_butt('our')" /><label <?php if ($row->rl_butt_img_or_not == 'our') echo 'class="selected_color"'; ?> for="rl_butt_img_or_not_our"><?php _e('Default', 'wds'); ?></label>
1072
+ <input type="radio" name="rl_butt_img_or_not" id="rl_butt_img_or_not_cust" value="custom" <?php if ($row->rl_butt_img_or_not == 'custom') echo 'checked="checked"'; ?> onClick="image_for_next_prev_butt('custom')" /><label <?php if ($row->rl_butt_img_or_not == 'custom') echo 'class="selected_color"'; ?> for="rl_butt_img_or_not_cust"><?php _e('Custom', 'wds'); ?></label>
1073
+ <input type="radio" name="rl_butt_img_or_not" id="rl_butt_img_or_not_style" value="style" <?php if ($row->rl_butt_img_or_not == 'style') echo 'checked="checked"'; ?> onClick="image_for_next_prev_butt('style')" /><label <?php if ($row->rl_butt_img_or_not == 'style') echo 'class="selected_color"'; ?> for="rl_butt_img_or_not_style"><?php _e('Styled', 'wds'); ?></label>
1074
+ <input type="hidden" id="right_butt_url" name="right_butt_url" value="<?php echo $row->right_butt_url; ?>" />
1075
+ <input type="hidden" id="right_butt_hov_url" name="right_butt_hov_url" value="<?php echo $row->right_butt_hov_url; ?>" />
1076
+ <input type="hidden" id="left_butt_url" name="left_butt_url" value="<?php echo $row->left_butt_url; ?>" />
1077
+ <input type="hidden" id="left_butt_hov_url" name="left_butt_hov_url" value="<?php echo $row->left_butt_hov_url; ?>" />
1078
+ <div class="spider_description"><?php _e('Choose whether to use default navigation buttons or to upload custom ones.', 'wds'); ?></div>
1079
+ </td>
1080
+ </tr>
1081
+ </tbody>
1082
+ <tbody class="<?php echo $fv_class; ?>"<?php echo $fv_title; ?>>
1083
+ <?php echo $fv_message; ?>
1084
+ <tr id="right_left_butt_style">
1085
+ <td class="spider_label <?php echo $fv_class; ?>"><label for="rl_butt_style"><?php _e('Next / Previous buttons style:', 'wds'); ?></label></td>
1086
+ <td>
1087
+ <div style="display: table;">
1088
+ <div style="display: table-cell; vertical-align: middle;">
1089
+ <select class="select_icon select_icon_320" name="rl_butt_style" id="rl_butt_style" onchange="change_rl_butt_style(jQuery(this).val())">
1090
+ <?php
1091
+ foreach ($button_styles as $key => $button_style) {
1092
+ ?>
1093
+ <option value="<?php echo $key; ?>" <?php echo (($row->rl_butt_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $button_style; ?></option>
1094
+ <?php
1095
+ }
1096
+ ?>
1097
+ </select>
1098
+ </div>
1099
+ <div style="display: table-cell; vertical-align: middle; background-color: rgba(229, 229, 229, 0.62); text-align: center;">
1100
+ <i id="wds_left_style" class="fa <?php echo $row->rl_butt_style; ?>-left" style="color: #<?php echo $row->butts_color; ?>; display: inline-block; font-size: 40px; width: 40px; height: 40px;"></i>
1101
+ <i id="wds_right_style" class="fa <?php echo $row->rl_butt_style; ?>-right" style="color: #<?php echo $row->butts_color; ?>; display: inline-block; font-size: 40px; width: 40px; height: 40px;"></i>
1102
+ </div>
1103
+ </div>
1104
+ <div class="spider_description"><?php _e('Choose the style of the button you prefer to have as navigation buttons.', 'wds'); ?></div>
1105
+ </td>
1106
+ </tr>
1107
+ <tr id="right_butt_upl">
1108
+ <td class="spider_label_options" style="vertical-align: middle;">
1109
+ <label><?php _e('Upload buttons images:', 'wds'); ?></label>
1110
+ </td>
1111
+ <td>
1112
+ <div style="display: table;">
1113
+ <div style="display: table-cell; vertical-align: middle;" class="display_block">
1114
+ <input class="wds_nav_buttons wds_ctrl_btn_upload wds_free_button" type="button" value="<?php _e('Previous Button', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1115
+ <input class="wds_nav_buttons wds_ctrl_btn_upload wds_free_button" type="button" value="<?php _e('Previous Button Hover', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1116
+ </div>
1117
+ <div style="display: table-cell; vertical-align: middle;" class="display_block">
1118
+ <input class="wds_nav_buttons wds_ctrl_btn_upload wds_free_button" type="button" value="<?php _e('Next Button', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1119
+ <input class="wds_nav_buttons wds_ctrl_btn_upload wds_free_button" type="button" value="<?php _e('Next Button Hover', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1120
+ </div>
1121
+ <div style="width:100px; display: table-cell; vertical-align: middle; text-align: center;background-color: rgba(229, 229, 229, 0.62); padding-top: 4px; border-radius: 3px;" class="display_block">
1122
+ <img id="left_butt_img" src="<?php echo $row->left_butt_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1123
+ <img id="right_butt_img" src="<?php echo $row->right_butt_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1124
+ <img id="left_butt_hov_img" src="<?php echo $row->left_butt_hov_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1125
+ <img id="right_butt_hov_img" src="<?php echo $row->right_butt_hov_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1126
+ </div>
1127
+ <div style="display: table-cell; text-align: center; vertical-align: middle;" class="display_block wds_reverse_cont">
1128
+ <input type="button" class="wds_reverse_buttons button-small wds_reverse" onclick="wds_change_custom_src()" value="<?php _e('Reverse', 'wds'); ?>" />
1129
+ </div>
1130
+ </div>
1131
+ </td>
1132
+ </tr>
1133
+ <script>
1134
+ var wds_rl_butt_type = [];
1135
+ var rl_butt_dir = '<?php echo WD_S_URL . '/images/arrow/'; ?>';
1136
+ var type_cur_fold = '1';
1137
+ <?php
1138
+ $folder_names = scandir(WD_S_DIR . '/images/arrow');
1139
+ $cur_fold_name = '';
1140
+ $cur_type_key = '';
1141
+ $cur_color_key = '';
1142
+ $cur_sub_fold_names = array();
1143
+ array_splice($folder_names, 0, 2);
1144
+ $flag = FALSE;
1145
+ foreach ($folder_names as $type_key => $folder_name) {
1146
+ if (is_dir(WD_S_DIR . '/images/arrow/' . $folder_name)) {
1147
+ ?>
1148
+ wds_rl_butt_type["<?php echo $type_key; ?>"] = [];
1149
+ wds_rl_butt_type["<?php echo $type_key; ?>"]["type_name"] = "<?php echo $folder_name; ?>";
1150
+ <?php
1151
+ if ($row->left_butt_url != '') {
1152
+ /* Getting current button's type folder and color folder.*/
1153
+ $check_cur_fold = explode('/' , $row->left_butt_url);
1154
+ if (in_array($folder_name, $check_cur_fold)) {
1155
+ $flag = TRUE;
1156
+ $cur_fold_name = $folder_name;
1157
+ $cur_type_key = $type_key;
1158
+ $cur_sub_fold_names = scandir(WD_S_DIR . '/images/arrow/' . $cur_fold_name);
1159
+ array_splice($cur_sub_fold_names, 0, 2);
1160
+ ?>
1161
+ type_cur_fold = '<?php echo $cur_type_key;?>';
1162
+ <?php
1163
+ }
1164
+ }
1165
+ $sub_folder_names = scandir( WD_S_DIR . '/images/arrow/' . $folder_name);
1166
+ array_splice($sub_folder_names, 0, 2);
1167
+ foreach ($sub_folder_names as $color_key => $sub_folder_name) {
1168
+ if (is_dir(WD_S_DIR . '/images/arrow/' . $folder_name . '/' . $sub_folder_name)) {
1169
+ if ($cur_fold_name == $folder_name) {
1170
+ /* Getting current button's color key.*/
1171
+ if (in_array($sub_folder_name, $check_cur_fold)) {
1172
+ $cur_color_key = $color_key;
1173
+ }
1174
+ }
1175
+ ?>
1176
+ wds_rl_butt_type["<?php echo $type_key; ?>"]["<?php echo $color_key; ?>"] = "<?php echo $sub_folder_name; ?>";
1177
+ <?php
1178
+ }
1179
+ }
1180
+ }
1181
+ else {
1182
+ ?>
1183
+ console.log('<?php echo $folder_name . " is not a directory."; ?>');
1184
+ <?php
1185
+ }
1186
+ }
1187
+ ?>
1188
+ </script>
1189
+ <tr id="right_left_butt_select">
1190
+ <td class="spider_label_options" style="vertical-align: middle;">
1191
+ <label for="right_butt_url"><?php _e('Choose buttons:', 'wds'); ?></label>
1192
+ </td>
1193
+ <td style="display: block;">
1194
+ <div style="display: table; margin-bottom: 14px;">
1195
+ <div style="display: table-cell; vertical-align: middle;" class="display_block">
1196
+ <div style="display: block; width: 180px;" class="default_buttons">
1197
+ <div class="spider_choose_option" onclick="wds_choose_option(this)">
1198
+ <div class="spider_option_main_title"><?php _e('Choose group', 'wds'); ?></div>
1199
+ <div class="spider_sel_option_ic"><i class="fa fa-angle-down fa-lg" style="color: #1E8CBE"></i></div>
1200
+ </div>
1201
+ <div class="spider_options_cont">
1202
+ <?php
1203
+ foreach ($folder_names as $type_key => $folder_name) {
1204
+ ?>
1205
+ <div class="spider_option_cont wds_rl_butt_groups" value="<?php echo $type_key; ?>" <?php echo (($cur_type_key == $type_key) ? 'selected="selected" style="background-color: #3399FF;"' : ''); ?> onclick="change_rl_butt_type(this)">
1206
+ <div class="spider_option_cont_title">
1207
+ <?php _e('Group', 'wds'); echo '-'. ++$type_key; ?>
1208
+ </div>
1209
+ <div class="spider_option_cont_img">
1210
+ <img class="src_top_left" style="display: inline-block; width: 14px; height: 14px;" />
1211
+ <img class="src_top_right" style="display: inline-block; width: 14px; height: 14px;" />
1212
+ <img class="src_bottom_left" style="display: inline-block; width: 14px; height: 14px;" />
1213
+ <img class="src_bottom_right" style="display: inline-block; width: 14px; height: 14px;" />
1214
+ </div>
1215
+ </div>
1216
+ <?php
1217
+ }
1218
+ if (!$flag) {
1219
+ /* Folder doesn't exist.*/
1220
+ ?>
1221
+ <div class="spider_option_cont" value="0" selected="selected" disabled="disabled"><?php _e('Custom', 'wds'); ?></div>
1222
+ <?php
1223
+ }
1224
+ ?>
1225
+ </div>
1226
+ </div>
1227
+ </div>
1228
+ <div style="display:table-cell;vertical-align: middle;" class="display_block">
1229
+ <div style="display: block; width: 180px; margin-left: 12px;" class="default_buttons">
1230
+ <div class="spider_choose_option" onclick="alert('<?php echo $functionality_disabled_version; ?>')">
1231
+ <div class="spider_option_main_title"><?php _e('Choose color', 'wds'); ?></div>
1232
+ <div class="spider_sel_option_ic"><i class="fa fa-angle-down fa-lg" style="color:#1E8CBE"></i></div>
1233
+ </div>
1234
+ </div>
1235
+ </div>
1236
+ <div style="width:100px; display: table-cell; vertical-align: middle; text-align: center;" class="display_block">
1237
+ <div style=" display: block; margin-left: 12px; vertical-align: middle; text-align: center;background-color: rgba(229, 229, 229, 0.62); padding-top: 4px; border-radius: 3px;" class="play_buttons_cont">
1238
+ <img id="rl_butt_img_l" src="<?php echo $row->left_butt_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1239
+ <img id="rl_butt_img_r" src="<?php echo $row->right_butt_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1240
+ <img id="rl_butt_hov_img_l" src="<?php echo $row->left_butt_hov_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1241
+ <img id="rl_butt_hov_img_r" src="<?php echo $row->right_butt_hov_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1242
+ </div>
1243
+ </div>
1244
+ <div style="display: table-cell; text-align: center; vertical-align: middle;">
1245
+ <input type="button" class="wds_reverse_buttons button-small wds_reverse" onclick="change_src()" value="<?php _e('Reverse', 'wds'); ?>" />
1246
+ </div>
1247
+ </div>
1248
+ <div class="spider_description"><?php _e('Choose the type and color for navigation button images. The option is designed for limited preview (colors not included) purposes and can&rsquo;t be saved.', 'wds'); ?></div>
1249
+ </td>
1250
+ </tr>
1251
+ <tr id="right_left_butt_size">
1252
+ <td class="spider_label <?php echo $fv_class; ?>"><label for="rl_butt_size"><?php _e('Next / Previous buttons size:', 'wds'); ?></label></td>
1253
+ <td>
1254
+ <input type="text" name="rl_butt_size" id="rl_butt_size" value="<?php echo $row->rl_butt_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" <?php echo $fv_disabled; ?> /> px
1255
+ <div class="spider_description"><?php _e('Set the size for the next / previous buttons.', 'wds'); ?></div>
1256
+ </td>
1257
+ </tr>
1258
+ <tr>
1259
+ <td class="spider_label_options">
1260
+ <label><?php _e('Play / Pause button:', 'wds'); ?></label>
1261
+ </td>
1262
+ <td>
1263
+ <input type="radio" name="play_paus_butt" id="play_paus_butt_1" value="1" <?php if ($row->play_paus_butt) echo 'checked="checked"'; ?> /><label for="play_paus_butt_1"><?php _e('Yes', 'wds'); ?></label>
1264
+ <input type="radio" name="play_paus_butt" id="play_paus_butt_0" value="0" <?php if (!$row->play_paus_butt) echo 'checked="checked"'; ?> /><label for="play_paus_butt_0"><?php _e('No', 'wds'); ?></label>
1265
+ <div class="spider_description"><?php _e('Choose whether to display Play and Pause buttons or not.', 'wds'); ?></div>
1266
+ </td>
1267
+ </tr>
1268
+ </tbody>
1269
+ <tbody>
1270
+ <tr>
1271
+ <td class="spider_label_options">
1272
+ <label><?php _e('Image for Play / Pause buttons:', 'wds'); ?></label>
1273
+ </td>
1274
+ <td>
1275
+ <input type="radio" name="play_paus_butt_img_or_not" id="play_pause_butt_img_or_not_our" value="our" <?php if ($row->play_paus_butt_img_or_not == 'our') echo 'checked="checked"'; ?> onClick="image_for_play_pause_butt('our')" /><label <?php if ($row->play_paus_butt_img_or_not == 'our') echo 'class="selected_color"'; ?> for="play_pause_butt_img_or_not_our"><?php _e('Default', 'wds'); ?></label>
1276
+ <input type="radio" name="play_paus_butt_img_or_not" id="play_pause_butt_img_or_not_cust" value="custom" <?php if ($row->play_paus_butt_img_or_not == 'custom') echo 'checked="checked"'; ?> onClick="image_for_play_pause_butt('custom')" /><label <?php if ($row->play_paus_butt_img_or_not == 'custom') echo 'class="selected_color"'; ?> for="play_pause_butt_img_or_not_cust"><?php _e('Custom', 'wds'); ?></label>
1277
+ <input type="radio" name="play_paus_butt_img_or_not" id="play_pause_butt_img_or_not_select" value="style" <?php if ($row->play_paus_butt_img_or_not == 'style') echo 'checked="checked"'; ?> onClick="image_for_play_pause_butt('style')" /><label <?php if ($row->play_paus_butt_img_or_not == 'style') echo 'class="selected_color"'; ?> for="play_pause_butt_img_or_not_select"><?php _e('Styled', 'wds'); ?></label>
1278
+ <input type="hidden" id="play_butt_url" name="play_butt_url" value="<?php echo $row->play_butt_url; ?>" />
1279
+ <input type="hidden" id="play_butt_hov_url" name="play_butt_hov_url" value="<?php echo $row->play_butt_hov_url; ?>" />
1280
+ <input type="hidden" id="paus_butt_url" name="paus_butt_url" value="<?php echo $row->paus_butt_url; ?>" />
1281
+ <input type="hidden" id="paus_butt_hov_url" name="paus_butt_hov_url" value="<?php echo $row->paus_butt_hov_url; ?>" />
1282
+ <div class="spider_description"><?php _e('Choose whether to use default play/pause buttons or to upload custom ones.', 'wds'); ?></div>
1283
+ </td>
1284
+ </tr>
1285
+ </tbody>
1286
+ <tbody class="<?php echo $fv_class; ?>"<?php echo $fv_title; ?>>
1287
+ <tr id="play_pause_butt_style">
1288
+ <td class="spider_label"><label for="pp_butt_style"><?php _e('Play / Pause buttons style:', 'wds'); ?></label></td>
1289
+ <td>
1290
+ <div style="display: table-cell; vertical-align: middle; background-color: rgba(229, 229, 229, 0.62); text-align: center;">
1291
+ <i id="wds_play_style" class="fa fa-play" style="color: #<?php echo $row->butts_color; ?>; display: inline-block; font-size: 40px; width: 40px; height: 40px;"></i>
1292
+ <i id="wds_paus_style" class="fa fa-pause" style="color: #<?php echo $row->butts_color; ?>; display: inline-block; font-size: 40px; width: 40px; height: 40px;"></i>
1293
+ </div>
1294
+ </td>
1295
+ </tr>
1296
+ <tr id="play_pause_butt_cust">
1297
+ <td class="spider_label_options" style="vertical-align: middle;">
1298
+ <label><?php _e('Upload buttons images:', 'wds'); ?></label>
1299
+ </td>
1300
+ <td>
1301
+ <div style="display: table;">
1302
+ <div style="display: table-cell; vertical-align: middle;" class="display_block">
1303
+ <input class="wds_nav_buttons wds_ctrl_btn_upload wds_free_button" type="button" value="<?php _e('Play Button', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1304
+ <input class="wds_nav_buttons wds_ctrl_btn_upload wds_free_button" type="button" value="<?php _e('Play Button Hovern', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1305
+ </div>
1306
+ <div style="display: table-cell; vertical-align: middle;" class="display_block">
1307
+ <input class="wds_nav_buttons wds_ctrl_btn_upload wds_free_button" type="button" value="<?php _e('Pause Button', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1308
+ <input class="wds_nav_buttons wds_ctrl_btn_upload wds_free_button" type="button" value="<?php _e('Pause Button Hover', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1309
+ </div>
1310
+ <div style="width:100px; display: table-cell; vertical-align: middle; text-align: center;background-color: rgba(229, 229, 229, 0.62); padding-top: 4px; border-radius: 3px;">
1311
+ <img id="play_butt_img" src="<?php echo $row->play_butt_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1312
+ <img id="paus_butt_img" src="<?php echo $row->paus_butt_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1313
+ <img id="play_butt_hov_img" src="<?php echo $row->play_butt_hov_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1314
+ <img id="paus_butt_hov_img" src="<?php echo $row->paus_butt_hov_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1315
+ </div>
1316
+ <div style="display: table-cell; text-align: center; vertical-align: middle;" class="display_block wds_reverse_cont">
1317
+ <input type="button" class="wds_reverse_buttons button-small wds_reverse" onclick="wds_change_play_paus_custom_src()" value="<?php _e('Reverse', 'wds'); ?>" />
1318
+ </div>
1319
+ </div>
1320
+ </td>
1321
+ </tr>
1322
+ <script>
1323
+ var wds_pp_butt_type = [];
1324
+ var pp_butt_dir = '<?php echo WD_S_URL . '/images/button/'; ?>';
1325
+ var pp_type_cur_fold = '1';
1326
+ <?php
1327
+ $folder_names = scandir(WD_S_DIR . '/images/button');
1328
+ $butt_cur_fold_name = '';
1329
+ $butt_cur_type_key = '';
1330
+ $butt_cur_color_key = '';
1331
+ $butt_cur_sub_fold_names = array();
1332
+ array_splice($folder_names, 0, 2);
1333
+ $flag = FALSE;
1334
+ foreach ($folder_names as $type_key => $folder_name) {
1335
+ if (is_dir(WD_S_DIR . '/images/button/' . $folder_name)) {
1336
+ ?>
1337
+ wds_pp_butt_type["<?php echo $type_key; ?>"] = [];
1338
+ wds_pp_butt_type["<?php echo $type_key; ?>"]["type_name"] = "<?php echo $folder_name; ?>";
1339
+ <?php
1340
+ if ($row->play_butt_url != '') {
1341
+ /* Getting current button's type folder and color folder.*/
1342
+ $check_butt_cur_fold = explode('/' , $row->play_butt_url);
1343
+ if (in_array($folder_name, $check_butt_cur_fold)) {
1344
+ $flag = TRUE;
1345
+ $butt_cur_fold_name = $folder_name;
1346
+ $butt_cur_type_key = $type_key;
1347
+ $butt_cur_sub_fold_names = scandir(WD_S_DIR . '/images/button/' . $butt_cur_fold_name);
1348
+ array_splice($butt_cur_sub_fold_names, 0, 2);
1349
+ ?>
1350
+ pp_type_cur_fold = '<?php echo $butt_cur_type_key;?>';
1351
+ <?php
1352
+ }
1353
+ }
1354
+ $sub_folder_names = scandir( WD_S_DIR . '/images/button/' . $folder_name);
1355
+ array_splice($sub_folder_names, 0, 2);
1356
+ foreach ($sub_folder_names as $color_key => $sub_folder_name) {
1357
+ if (is_dir(WD_S_DIR . '/images/button/' . $folder_name . '/' . $sub_folder_name)) {
1358
+ if ($butt_cur_fold_name == $folder_name) {
1359
+ /* Getting current button's color key.*/
1360
+ if (in_array($sub_folder_name, $check_butt_cur_fold)) {
1361
+ $butt_cur_color_key = $color_key;
1362
+ }
1363
+ }
1364
+ ?>
1365
+ wds_pp_butt_type["<?php echo $type_key; ?>"]["<?php echo $color_key; ?>"] = "<?php echo $sub_folder_name; ?>";
1366
+ <?php
1367
+ }
1368
+ }
1369
+ }
1370
+ else {
1371
+ ?>
1372
+ console.log('<?php echo $folder_name . " is not a directory."; ?>');
1373
+ <?php
1374
+ }
1375
+ }
1376
+ ?>
1377
+ </script>
1378
+ <tr id="play_pause_butt_select">
1379
+ <td class="spider_label_options" style="vertical-align: middle;">
1380
+ <label for="right_butt_url"><?php _e('Choose buttons:', 'wds'); ?></label>
1381
+ </td>
1382
+ <td style="display: block;">
1383
+ <div style="display: table; margin-bottom: 14px;">
1384
+ <div style="display: table-cell; vertical-align: middle;" class="display_block" >
1385
+ <div style="display: block; width: 180px;" class="default_buttons">
1386
+ <div class="spider_choose_option" onclick="wds_choose_pp_option(this)">
1387
+ <div class="spider_option_main_title"><?php _e('Choose group', 'wds'); ?></div>
1388
+ <div class="spider_sel_option_ic"><i class="fa fa-angle-down fa-lg" style="color: #1E8CBE"></i></div>
1389
+ </div>
1390
+ <div class="spider_pp_options_cont">
1391
+ <?php
1392
+ foreach ($folder_names as $type_key => $folder_name) {
1393
+ ?>
1394
+ <div class="spider_option_cont wds_pp_butt_groups" value="<?php echo $type_key; ?>" <?php echo (($butt_cur_type_key == $type_key) ? 'selected="selected" style="background-color: #3399FF;"' : ''); ?> onclick="change_play_paus_butt_type(this)">
1395
+ <div class="spider_option_cont_title">
1396
+ <?php _e('Group', 'wds'); echo '-' . ++$type_key; ?>
1397
+ </div>
1398
+ <div class="spider_option_cont_img">
1399
+ <img class="pp_src_top_left" style="display: inline-block; width: 14px; height: 14px;" />
1400
+ <img class="pp_src_top_right" style="display: inline-block; width: 14px; height: 14px;" />
1401
+ <img class="pp_src_bottom_left" style="display: inline-block; width: 14px; height: 14px;" />
1402
+ <img class="pp_src_bottom_right" style="display: inline-block; width: 14px; height: 14px;" />
1403
+ </div>
1404
+ </div>
1405
+ <?php
1406
+ }
1407
+ if (!$flag) {
1408
+ /* Folder doesn't exist.*/
1409
+ ?>
1410
+ <div class="spider_option_cont" value="0" selected="selected" disabled="disabled"><?php _e('Custom', 'wds'); ?></div>
1411
+ <?php
1412
+ }
1413
+ ?>
1414
+ </div>
1415
+ </div>
1416
+ </div>
1417
+ <div style="display:table-cell;vertical-align: middle;" class="display_block">
1418
+ <div style="display: block; width: 180px; margin-left: 12px;" class="default_buttons">
1419
+ <div class="spider_choose_option" onclick="alert('<?php echo $functionality_disabled_version; ?>')">
1420
+ <div class="spider_option_main_title">Choose color</div>
1421
+ <div class="spider_sel_option_ic"><i class="fa fa-angle-down fa-lg" style="color:#1E8CBE"></i></div>
1422
+ </div>
1423
+ </div>
1424
+ </div>
1425
+ <div style="width:100px; display: table-cell; vertical-align: middle; text-align: center;" class="display_block">
1426
+ <div style=" display: block; margin-left: 12px; vertical-align: middle; text-align: center;background-color: rgba(229, 229, 229, 0.62); padding-top: 4px; border-radius: 3px;" class="play_buttons_cont">
1427
+ <img id="pp_butt_img_play" src="<?php echo $row->play_butt_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1428
+ <img id="pp_butt_img_paus" src="<?php echo $row->paus_butt_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1429
+ <img id="pp_butt_hov_img_play" src="<?php echo $row->play_butt_hov_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1430
+ <img id="pp_butt_hov_img_paus" src="<?php echo $row->paus_butt_hov_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1431
+ </div>
1432
+ </div>
1433
+ <div style="display: table-cell; text-align: center; vertical-align: middle;">
1434
+ <input type="button" class="wds_reverse_buttons button-small wds_reverse" onclick="change_play_paus_src()" value="<?php _e('Reverse', 'wds'); ?>" />
1435
+ </div>
1436
+ </div>
1437
+ <div class="spider_description"><?php _e('Choose the type and color for navigation button images. The option is designed for limited preview (colors not included) purposes and can&rsquo;t be saved.', 'wds'); ?></div>
1438
+ </td>
1439
+ </tr>
1440
+ <tr id="play_pause_butt_size">
1441
+ <td class="spider_label <?php echo $fv_class; ?>"><label for="pp_butt_size"><?php _e('Play / Pause button size:', 'wds'); ?></label></td>
1442
+ <td>
1443
+ <input type="text" name="pp_butt_size" id="pp_butt_size" value="<?php echo $row->pp_butt_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" <?php echo $fv_disabled; ?> /> px
1444
+ <div class="spider_description"><?php _e('Set the size for the play / pause buttons.', 'wds'); ?></div>
1445
+ </td>
1446
+ </tr>
1447
+ <tr id="tr_butts_color">
1448
+ <td class="spider_label <?php echo $fv_class; ?>"><label for="butts_color"><?php _e('Buttons color:', 'wds'); ?></label></td>
1449
+ <td>
1450
+ <input type="text" name="butts_color" id="butts_color" value="<?php echo $row->butts_color; ?>" class="color" <?php echo $fv_disabled; ?> onchange="jQuery('#wds_left_style,#wds_right_style').css({color: '#' + jQuery(this).val()})" />
1451
+ <div class="spider_description"><?php _e('Select a color for the navigation buttons.', 'wds'); ?></div>
1452
+ </td>
1453
+ </tr>
1454
+ <tr id="tr_hover_color">
1455
+ <td class="spider_label <?php echo $fv_class; ?>"><label for="hover_color"><?php _e('Hover color:', 'wds'); ?></label></td>
1456
+ <td>
1457
+ <input type="text" name="hover_color" id="hover_color" value="<?php echo $row->hover_color; ?>" class="color" <?php echo $fv_disabled; ?> />
1458
+ <div class="spider_description"><?php _e('Select a hover color for the navigation buttons.', 'wds'); ?></div>
1459
+ </td>
1460
+ </tr>
1461
+ <tr>
1462
+ <td class="spider_label <?php echo $fv_class; ?>"><label for="nav_border_width"><?php _e('Border:', 'wds'); ?></label></td>
1463
+ <td>
1464
+ <input type="text" name="nav_border_width" id="nav_border_width" value="<?php echo $row->nav_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" <?php echo $fv_disabled; ?> /> px
1465
+ <select class="select_icon select_icon_320" name="nav_border_style" id="nav_border_style" <?php echo $fv_disabled; ?>>
1466
+ <?php
1467
+ foreach ($border_styles as $key => $border_style) {
1468
+ ?>
1469
+ <option value="<?php echo $key; ?>" <?php echo (($row->nav_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
1470
+ <?php
1471
+ }
1472
+ ?>
1473
+ </select>
1474
+ <input type="text" name="nav_border_color" id="nav_border_color" value="<?php echo $row->nav_border_color; ?>" class="color" <?php echo $fv_disabled; ?> />
1475
+ <div class="spider_description"><?php _e('Select the type, size and the color of border for the navigation buttons.', 'wds'); ?></div>
1476
+ </td>
1477
+ </tr>
1478
+ <tr>
1479
+ <td class="spider_label <?php echo $fv_class; ?>"><label for="nav_border_radius"><?php _e('Border radius:', 'wds'); ?></label></td>
1480
+ <td>
1481
+ <input type="text" name="nav_border_radius" id="nav_border_radius" value="<?php echo $row->nav_border_radius; ?>" class="spider_char_input" <?php echo $fv_disabled; ?> />
1482
+ <div class="spider_description"><?php _e('Use CSS type values.', 'wds'); ?></div>
1483
+ </td>
1484
+ </tr>
1485
+ <tr>
1486
+ <td class="spider_label <?php echo $fv_class; ?>"><label for="nav_bg_color"><?php _e('Background color:', 'wds'); ?></label></td>
1487
+ <td>
1488
+ <input type="text" name="nav_bg_color" id="nav_bg_color" value="<?php echo $row->nav_bg_color; ?>" class="color" <?php echo $fv_disabled; ?> />
1489
+ <input type="text" name="butts_transparent" id="butts_transparent" value="<?php echo $row->butts_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" <?php echo $fv_disabled; ?> /> %
1490
+ <div class="spider_description"><?php _e('Transparency value must be between 0 to 100.', 'wds'); ?></div>
1491
+ </td>
1492
+ </tr>
1493
+ </tbody>
1494
+ </table>
1495
+ </div>
1496
+ <div class="wds_nav_box wds_nav_bullets_box">
1497
+ <table>
1498
+ <tbody>
1499
+ <tr>
1500
+ <td class="spider_label"><label><?php _e('Enable bullets:', 'wds'); ?></label></td>
1501
+ <td>
1502
+ <input type="radio" id="enable_bullets1" name="enable_bullets" <?php echo (($row->enable_bullets) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->enable_bullets) ? 'class="selected_color"' : ''); ?> for="enable_bullets1"><?php _e('Yes', 'wds'); ?></label>
1503
+ <input type="radio" id="enable_bullets0" name="enable_bullets" <?php echo (($row->enable_bullets) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->enable_bullets) ? '' : 'class="selected_color"'); ?> for="enable_bullets0"><?php _e('No', 'wds'); ?></label>
1504
+ <div class="spider_description"><?php _e('Choose whether to have navigation bullets or not.', 'wds'); ?></div>
1505
+ </td>
1506
+ </tr>
1507
+ <tr>
1508
+ <td class="spider_label_options">
1509
+ <label><?php _e('Show bullets:', 'wds'); ?></label>
1510
+ </td>
1511
+ <td>
1512
+ <input type="radio" name="bull_hover" id="bull_hover_0" value="0" <?php if ($row->bull_hover == 0) echo 'checked="checked"'; ?> /><label <?php if ($row->bull_hover == 0) echo 'class="selected_color"'; ?> for="bull_hover_0"><?php _e('On hover', 'wds'); ?></label>
1513
+ <input type="radio" name="bull_hover" id="bull_hover_1" value="1" <?php if ($row->bull_hover == 1) echo 'checked="checked"'; ?> /><label <?php if ($row->bull_hover == 1) echo 'class="selected_color"'; ?> for="bull_hover_1"><?php _e('Always', 'wds'); ?></label>
1514
+ <div class="spider_description"><?php _e('Select between the option of always displaying the bullets or only when hovered.', 'wds'); ?></div>
1515
+ </td>
1516
+ </tr>
1517
+ <tr>
1518
+ <td class="spider_label"><label><?php _e('Show thumbnail on bullet hover:', 'wds'); ?></label></td>
1519
+ <td>
1520
+ <input onClick="bwg_enable_disable('', 'tr_thumb_size', 'show_thumbnail1')" type="radio" id="show_thumbnail1" name="show_thumbnail" <?php echo (($row->show_thumbnail) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->show_thumbnail) ? 'class="selected_color"' : ''); ?> for="show_thumbnail1"><?php _e('Yes', 'wds'); ?></label>
1521
+ <input onClick="bwg_enable_disable('none', 'tr_thumb_size', 'show_thumbnail0')" type="radio" id="show_thumbnail0" name="show_thumbnail" <?php echo (($row->show_thumbnail) ? '' : 'checked="checked"'); ?> value="0" /><label for="show_thumbnail0"><?php _e('No', 'wds'); ?></label>
1522
+ <div class="spider_description"></div>
1523
+ </td>
1524
+ </tr>
1525
+ <tr id="tr_thumb_size">
1526
+ <td class="spider_label_options">
1527
+ <label for="wds_thumb_size"><?php _e('Thumbnail Size:', 'wds'); ?></label>
1528
+ </td>
1529
+ <td>
1530
+ <input onblur="wds_check_number()" type="text" id="wds_thumb_size" name="wds_thumb_size" size="15" value="<?php echo $row->thumb_size; ?>" style="display:inline-block;" />
1531
+ <div class="spider_description"><?php _e('Value must be between 0 to 1.', 'wds'); ?></div>
1532
+ </td>
1533
+ </tr>
1534
+ <tr>
1535
+ <td class="spider_label"><label><?php _e('Position:', 'wds'); ?></label></td>
1536
+ <td>
1537
+ <select class="select_icon select_icon_320" name="bull_position" id="bull_position">
1538
+ <option value="top" <?php echo (($row->bull_position == "top") ? 'selected="selected"' : ''); ?>><?php _e('Top', 'wds'); ?></option>
1539
+ <option value="bottom" <?php echo (($row->bull_position == "bottom") ? 'selected="selected"' : ''); ?>><?php _e('Bottom', 'wds'); ?></option>
1540
+ </select>
1541
+ <div class="spider_description"><?php _e('Select the position for the navigation bullets.', 'wds'); ?></div>
1542
+ </td>
1543
+ </tr>
1544
+ <tr>
1545
+ <td class="spider_label_options">
1546
+ <label><?php _e('Bullets type:', 'wds'); ?></label>
1547
+ </td>
1548
+ <td>
1549
+ <input type="radio" name="bull_butt_img_or_not" id="bull_butt_img_or_not_our" value="our" <?php if ($row->bull_butt_img_or_not == 'our') echo 'checked="checked"'; ?> onClick="image_for_bull_butt('our')" /><label <?php if ($row->bull_butt_img_or_not == 'our') echo 'class="selected_color"'; ?> for="bull_butt_img_or_not_our"><?php _e('Default', 'wds'); ?></label>
1550
+ <input type="radio" name="bull_butt_img_or_not" id="bull_butt_img_or_not_cust" value="custom" <?php if ($row->bull_butt_img_or_not == 'custom') echo 'checked="checked"'; ?> onClick="image_for_bull_butt('custom')" /><label <?php if ($row->bull_butt_img_or_not == 'custom') echo 'class="selected_color"'; ?> for="bull_butt_img_or_not_cust"><?php _e('Custom', 'wds'); ?></label>
1551
+ <input type="radio" name="bull_butt_img_or_not" id="bull_butt_img_or_not_stl" value="style" <?php if ($row->bull_butt_img_or_not == 'style') echo 'checked="checked"'; ?> onClick="image_for_bull_butt('style')" /><label <?php if ($row->bull_butt_img_or_not == 'style') echo 'class="selected_color"'; ?> for="bull_butt_img_or_not_stl"><?php _e('Styled', 'wds'); ?></label>
1552
+ <input type="radio" name="bull_butt_img_or_not" id="bull_butt_img_or_not_txt" value="text" <?php if ($row->bull_butt_img_or_not == 'text') echo 'checked="checked"'; ?> onClick="image_for_bull_butt('text')" /><label <?php if ($row->bull_butt_img_or_not == 'text') echo 'class="selected_color"'; ?> for="bull_butt_img_or_not_txt"><?php _e('Text', 'wds'); ?></label>
1553
+ <input type="hidden" id="bullets_img_main_url" name="bullets_img_main_url" value="<?php echo $row->bullets_img_main_url; ?>" />
1554
+ <input type="hidden" id="bullets_img_hov_url" name="bullets_img_hov_url" value="<?php echo $row->bullets_img_hov_url; ?>" />
1555
+ <div class="spider_description"></div>
1556
+ </td>
1557
+ </tr>
1558
+ </tbody>
1559
+ <tbody class="<?php echo $fv_class; ?>"<?php echo $fv_title; ?>>
1560
+ <?php echo $fv_message; ?>
1561
+ <tr id="bullets_style">
1562
+ <td class="spider_label <?php echo $fv_class; ?>"><label for="bull_style"><?php _e('Bullet style:', 'wds'); ?></label></td>
1563
+ <td>
1564
+ <div style="display: table;">
1565
+ <div style="display: table-cell; vertical-align: middle;">
1566
+ <select class="select_icon select_icon_320" name="bull_style" id="bull_style" <?php echo $fv_disabled; ?> onchange="change_bull_style(jQuery(this).val())">
1567
+ <?php
1568
+ foreach ($bull_styles as $key => $bull_style) {
1569
+ ?>
1570
+ <option value="<?php echo $key; ?>" <?php echo (($row->bull_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $bull_style; ?></option>
1571
+ <?php
1572
+ }
1573
+ ?>
1574
+ </select>
1575
+ </div>
1576
+ <div style="display: table-cell; vertical-align: middle; background-color: rgba(229, 229, 229, 0.62); text-align: center;">
1577
+ <i id="wds_act_bull_style" class="fa <?php echo str_replace('-o', '', $row->bull_style); ?>" style="color: #<?php echo $row->bull_act_color; ?>; display: inline-block; font-size: 40px; width: 40px; height: 40px;"></i>
1578
+ <i id="wds_deact_bull_style" class="fa <?php echo $row->bull_style; ?>" style="color: #<?php echo $row->bull_color; ?>; display: inline-block; font-size: 40px; width: 40px; height: 40px;"></i>
1579
+ </div>
1580
+ </div>
1581
+ <div class="spider_description"><?php _e('Choose the style for the bullets.', 'wds'); ?></div>
1582
+ </td>
1583
+ </tr>
1584
+ <script>
1585
+ var wds_blt_img_type = [];
1586
+ var blt_img_dir = '<?php echo WD_S_URL . '/images/bullet/'; ?>';
1587
+ var bull_type_cur_fold = '1';
1588
+ <?php
1589
+ $folder_names = scandir(WD_S_DIR . '/images/bullet');
1590
+ $bull_cur_fold_name = '';
1591
+ $bull_cur_type_key = '';
1592
+ $bull_cur_color_key = '';
1593
+ $bull_cur_sub_fold_names = array();
1594
+ array_splice($folder_names, 0, 2);
1595
+ $flag = FALSE;
1596
+ foreach ($folder_names as $type_key => $folder_name) {
1597
+ if (is_dir(WD_S_DIR . '/images/bullet/' . $folder_name)) {
1598
+ ?>
1599
+ wds_blt_img_type["<?php echo $type_key; ?>"] = [];
1600
+ wds_blt_img_type["<?php echo $type_key; ?>"]["type_name"] = "<?php echo $folder_name; ?>";
1601
+ <?php
1602
+ if ($row->bullets_img_main_url != '') {
1603
+ /* Getting current button's type folder and color folder.*/
1604
+ $check_bull_cur_fold = explode('/' , $row->bullets_img_main_url);
1605
+ if (in_array($folder_name, $check_bull_cur_fold)) {
1606
+ $flag = TRUE;
1607
+ $bull_cur_fold_name = $folder_name;
1608
+ $bull_cur_type_key = $type_key;
1609
+ $bull_cur_sub_fold_names = scandir(WD_S_DIR . '/images/bullet/' . $bull_cur_fold_name);
1610
+ array_splice($bull_cur_sub_fold_names, 0, 2);
1611
+ ?>
1612
+ bull_type_cur_fold = '<?php echo $bull_cur_type_key;?>';
1613
+ <?php
1614
+ }
1615
+ }
1616
+ $sub_folder_names = scandir(WD_S_DIR . '/images/bullet/' . $folder_name);
1617
+ array_splice($sub_folder_names, 0, 2);
1618
+ foreach ($sub_folder_names as $color_key => $sub_folder_name) {
1619
+ if (is_dir(WD_S_DIR . '/images/bullet/' . $folder_name . '/' . $sub_folder_name)) {
1620
+ if ($bull_cur_fold_name == $folder_name) {
1621
+ /* Getting current button's color key.*/
1622
+ if (in_array($sub_folder_name, $check_bull_cur_fold)) {
1623
+ $bull_cur_color_key = $color_key;
1624
+ }
1625
+ }
1626
+ ?>
1627
+ wds_blt_img_type["<?php echo $type_key; ?>"]["<?php echo $color_key; ?>"] = "<?php echo $sub_folder_name; ?>";
1628
+ <?php
1629
+ }
1630
+ }
1631
+ }
1632
+ else {
1633
+ ?>
1634
+ console.log('<?php echo $folder_name . " is not a directory."; ?>');
1635
+ <?php
1636
+ }
1637
+ }
1638
+ ?>
1639
+ </script>
1640
+ <tr id="bullets_images_cust">
1641
+ <td class="spider_label_options" style="vertical-align: middle;">
1642
+ <label><?php _e('Upload buttons images:', 'wds'); ?></label>
1643
+ </td>
1644
+ <td>
1645
+ <div style="display: table;">
1646
+ <div style="display: table-cell; vertical-align: middle;">
1647
+ <input class="wds_bull_buttons wds_ctrl_btn_upload wds_free_button" type="button" value="<?php _e('Active Button', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1648
+ </div>
1649
+ <div style="display: table-cell; vertical-align: middle;">
1650
+ <input class="wds_bull_buttons wds_free_button" type="button" value="<?php _e('Deactive Button', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
1651
+ </div>
1652
+ <div style="width:100px; display: table-cell; vertical-align: middle; text-align: center;background-color: rgba(229, 229, 229, 0.62); padding-top: 4px; border-radius: 3px;">
1653
+ <img id="bull_img_main" src="<?php echo $row->bullets_img_main_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1654
+ <img id="bull_img_hov" src="<?php echo $row->bullets_img_hov_url; ?>" style="display:inline-block; width: 40px; height: 40px;" />
1655
+ </div>
1656
+ <div style="display: table-cell; text-align: center; vertical-align: middle;">
1657
+ <input type="button" class="wds_reverse_buttons button-small wds_reverse" onclick="wds_change_bullets_custom_src()" value="<?php _e('Reverse', 'wds'); ?>" />
1658
+ </div>
1659
+ </div>
1660
+ </td>
1661
+ </tr>
1662
+ <tr id="bullets_images_select">
1663
+ <td class="spider_label_options" style="vertical-align: middle;">
1664
+ <label for="bullets_images_url"><?php _e('Choose buttons:', 'wds'); ?></label>
1665
+ </td>
1666
+ <td style="display: block;">
1667
+ <div style="display: table; margin-bottom: 14px;">
1668
+ <div style="display: table-cell; vertical-align: middle;" class="display_block">
1669
+ <div style="display: block; width: 180px;" class="default_buttons">
1670
+ <div class="spider_choose_option" onclick="wds_choose_bull_option(this)">
1671
+ <div class="spider_option_main_title"><?php _e('Choose group', 'wds'); ?></div>
1672
+ <div class="spider_sel_option_ic"><i class="fa fa-angle-down fa-lg" style="color: #1E8CBE;"></i></div>
1673
+ </div>
1674
+ <div class="spider_bull_options_cont">
1675
+ <?php
1676
+ foreach ($folder_names as $type_key => $folder_name) {
1677
+ ?>
1678
+ <div class="spider_option_cont wds_bull_butt_groups" value="<?php echo $type_key; ?>" <?php echo (($bull_cur_type_key == $type_key) ? 'selected="selected" style="background-color: #3399FF;"' : ''); ?> onclick="change_bullets_images_type(this)">
1679
+ <div class="spider_option_cont_title" style="width: 64%;">
1680
+ <?php _e('Group', 'wds'); echo '-' . ++$type_key; ?>
1681
+ </div>
1682
+ <div class="spider_option_cont_img">
1683
+ <img class="bull_src_left" style="display: inline-block; width: 14px; height: 14px;" />
1684
+ <img class="bull_src_right" style="display: inline-block; width: 14px; height: 14px;" />
1685
+ </div>
1686
+ </div>
1687
+ <?php
1688
+ }
1689
+ if (!$flag) {
1690
+ /* Folder doesn't exist.*/
1691
+ ?>
1692
+ <div class="spider_option_cont" value="0" selected="selected" disabled="disabled"><?php _e('Custom', 'wds'); ?></div>
1693
+ <?php
1694
+ }
1695
+ ?>
1696
+ </div>
1697
+ </div>
1698
+ </div>
1699
+ <div style="display: table-cell; vertical-align: middle;" class="display_block">
1700
+ <div style="display: block; width: 180px; margin-left: 12px;">
1701
+ <div class="spider_choose_option" onclick="alert('<?php echo $functionality_disabled_version; ?>')" >
1702
+ <div class="spider_option_main_title"><?php _e('Choose color', 'wds'); ?></div>
1703
+ <div class="spider_sel_option_ic"><i class="fa fa-angle-down fa-lg" style="color: #1E8CBE;"></i></div>
1704
+ </div>
1705
+ </div>
1706
+ </div>
1707
+ <div style="width: 100px; display: table-cell; vertical-align: middle; text-align: center;">
1708
+ <div style="display: block; vertical-align: middle; margin-left: 12px; text-align: center; background-color: rgba(229, 229, 229, 0.62); padding-top: 4px; border-radius: 3px;">
1709
+ <img id="bullets_img_main" src="<?php echo $row->bullets_img_main_url; ?>" style="display: inline-block; width: 40px; height: 40px;" />
1710
+ <img id="bullets_img_hov" src="<?php echo $row->bullets_img_hov_url; ?>" style="display: inline-block; width: 40px; height: 40px;" />
1711
+ </div>
1712
+ </div>
1713
+ <div style="display: table-cell; text-align: center; vertical-align: middle;">
1714
+ <input type="button" class="wds_reverse_buttons button-small wds_reverse" onclick="change_bullets_src()" value="<?php _e('Reverse', 'wds'); ?>" />
1715
+ </div>
1716
+ </div>
1717
+ <div class="spider_description"><?php _e('Choose the type and color for the bullets. The option is designed for limited preview (colors not included) purposes and can&rsquo;t be saved.', 'wds'); ?></div>
1718
+ </td>
1719
+ </tr>
1720
+ <tr id="bullet_size">
1721
+ <td class="spider_label <?php echo $fv_class; ?>"><label for="bull_size"><?php _e('Size:', 'wds'); ?></label></td>
1722
+ <td>
1723
+ <input type="text" name="bull_size" id="bull_size" value="<?php echo $row->bull_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" <?php echo $fv_disabled; ?> /> px
1724
+ <div class="spider_description"><?php _e('Define the size of the navigation bullets.', 'wds'); ?></div>
1725
+ </td>
1726
+ </tr>
1727
+ <tr id="bullets_color">
1728
+ <td class="spider_label <?php echo $fv_class; ?>"><label for="bull_color"><?php _e('Color:', 'wds'); ?></label></td>
1729
+ <td>
1730
+ <input type="text" name="bull_color" id="bull_color" value="<?php echo $row->bull_color; ?>" class="color" <?php echo $fv_disabled; ?> onchange="jQuery('#wds_deact_bull_style').css({color: '#' + jQuery(this).val()})" />
1731
+ <div class="spider_description"><?php _e('Select the color for the navigation bullets.', 'wds'); ?></div>
1732
+ </td>
1733
+ </tr>
1734
+ <tr id="bullets_act_color">
1735
+ <td class="spider_label <?php echo $fv_class; ?>"><label for="bull_act_color"><?php _e('Active color:', 'wds'); ?></label></td>
1736
+ <td>
1737
+ <input type="text" name="bull_act_color" id="bull_act_color" value="<?php echo $row->bull_act_color; ?>" class="color" <?php echo $fv_disabled; ?> onchange="jQuery('#wds_act_bull_style').css({color: '#' + jQuery(this).val()})" />
1738
+ <div class="spider_description"><?php _e('Select the color for the bullet, which is currently displaying a corresponding image.', 'wds'); ?></div>
1739
+ </td>
1740
+ </tr>
1741
+ <tr id="bullets_back_act_color">
1742
+ <td class="spider_label <?php echo $fv_class; ?>"><label for="bull_back_act_color"><?php _e('Active Background color:', 'wds'); ?></label></td>
1743
+ <td>
1744
+ <input type="text" name="bull_back_act_color" id="bull_back_act_color" value="<?php echo $row->bull_back_act_color; ?>" class="color" <?php echo $fv_disabled; ?> onchange="jQuery('#wds_back_act_bull_text').css({color: '#' + jQuery(this).val()})" />
1745
+ <div class="spider_description"><?php _e('Select the background color for the bullet, which is currently displaying a corresponding image.', 'wds'); ?></div>
1746
+ </td>
1747
+ </tr>
1748
+ <tr id="bullets_back_color">
1749
+ <td class="spider_label <?php echo $fv_class; ?>"><label for="bull_back_color"><?php _e('Background color:', 'wds'); ?></label></td>
1750
+ <td>
1751
+ <input type="text" name="bull_back_color" id="bull_back_color" value="<?php echo $row->bull_back_color; ?>" class="color" <?php echo $fv_disabled; ?> onchange="jQuery('#wds_back_bull_text').css({color: '#' + jQuery(this).val()})" />
1752
+ <div class="spider_description"><?php _e('Select the background color for the bullet.', 'wds'); ?></div>
1753
+ </td>
1754
+ </tr>
1755
+ <tr id="bullets_radius">
1756
+ <td class="spider_label <?php echo $fv_class; ?>"><label for="bull_radius"><?php _e('Border radius:', 'wds'); ?></label></td>
1757
+ <td>
1758
+ <input type="text" name="bull_radius" id="bull_radius" value="<?php echo $row->bull_radius; ?>" class="spider_char_input" <?php echo $fv_disabled; ?> />
1759
+ <div class="spider_description"><?php _e('Use CSS type values.', 'wds'); ?></div>
1760
+ </td>
1761
+ </tr>
1762
+ <tr id="bullet_margin">
1763
+ <td class="spider_label <?php echo $fv_class; ?>"><label for="bull_margin"><?php _e('Margin:', 'wds'); ?></label></td>
1764
+ <td>
1765
+ <input type="text" name="bull_margin" id="bull_margin" value="<?php echo $row->bull_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" <?php echo $fv_disabled; ?> /> px
1766
+ <div class="spider_description"><?php _e('Set the margin for the navigation bullets in pixels.', 'wds'); ?></div>
1767
+ </td>
1768
+ </tr>
1769
+ </tbody>
1770
+ </table>
1771
+ </div>
1772
+ <div class="wds_nav_box wds_nav_filmstrip_box spider_free_version_label" title="<?php echo $functionality_disabled_version; ?>">
1773
+ <table>
1774
+ <tbody>
1775
+ <tr>
1776
+ <td colspan="2">
1777
+ <div class="wd_error" style="padding: 5px; font-size: 14px; color: #000000 !important;"><?php _e('Filmstrip is disabled in free version.', 'wds'); ?></div>
1778
+ </td>
1779
+ </tr>
1780
+ <tr>
1781
+ <td class="spider_label spider_free_version_label"><label><?php _e('Enable filmstrip:', 'wds'); ?></label></td>
1782
+ <td>
1783
+ <input disabled="disabled" type="radio" id="enable_filmstrip1" name="enable_filmstrip" <?php echo (($row->enable_filmstrip) ? 'checked="checked"' : ''); ?> value="1" /><label for="filmstrip1"><?php _e('Yes', 'wds'); ?></label>
1784
+ <input disabled="disabled" type="radio" id="enable_filmstrip0" name="enable_filmstrip" <?php echo (($row->enable_filmstrip) ? '' : 'checked="checked"'); ?> value="0" /><label for="filmstrip0"><?php _e('No', 'wds'); ?></label>
1785
+ <div class="spider_description"><?php _e('Choose whether to have thumbnails of the slides displayed as a filmstrip or not.', 'wds'); ?></div>
1786
+ </td>
1787
+ </tr>
1788
+ <tr id="filmstrip_position">
1789
+ <td class="spider_label"><label><?php _e('Position:', 'wds'); ?></label></td>
1790
+ <td>
1791
+ <select class="select_icon select_icon_320" disabled="disabled" name="film_pos" id="film_pos">
1792
+ <option value="top" <?php echo (($row->film_pos == "top") ? 'selected="selected"' : ''); ?>><?php _e('Top', 'wds'); ?></option>
1793
+ <option value="right" <?php echo (($row->film_pos == "right") ? 'selected="selected"' : ''); ?>><?php _e('Right', 'wds'); ?></option>
1794
+ <option value="bottom" <?php echo (($row->film_pos == "bottom") ? 'selected="selected"' : ''); ?>><?php _e('Bottom', 'wds'); ?></option>
1795
+ <option value="left" <?php echo (($row->film_pos == "left") ? 'selected="selected"' : ''); ?>><?php _e('Left', 'wds'); ?></option>
1796
+ </select>
1797
+ <div class="spider_description"><?php _e('Set the position of the filmstrip.', 'wds'); ?></div>
1798
+ </td>
1799
+ </tr>
1800
+ <tr id="filmstrip_size">
1801
+ <td class="spider_label"><label for="film_thumb_width"><?php _e('Thumbnail dimensions:', 'wds'); ?></label></td>
1802
+ <td>
1803
+ <input disabled="disabled" type="text" name="film_thumb_width" id="film_thumb_width" value="<?php echo $row->film_thumb_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> x
1804
+ <input disabled="disabled" type="text" name="film_thumb_height" id="film_thumb_height" value="<?php echo $row->film_thumb_height; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
1805
+ <div class="spider_description"><?php _e('Define the maximum width and heigth of the filmstrip thumbnails.', 'wds'); ?></div>
1806
+ </td>
1807
+ </tr>
1808
+ <tr>
1809
+ <td class="spider_label"><label for="film_bg_color"><?php _e('Background color:', 'wds'); ?></label></td>
1810
+ <td>
1811
+ <input disabled="disabled" type="text" name="film_bg_color" id="film_bg_color" value="<?php echo $row->film_bg_color; ?>" class="color" />
1812
+ <div class="spider_description"><?php _e('Select the background color for the filmstrip.', 'wds'); ?></div>
1813
+ </td>
1814
+ </tr>
1815
+ <tr id="filmstrip_thumb_margin">
1816
+ <td class="spider_label"><label for="film_tmb_margin"><?php _e('Thumbnail separator:', 'wds'); ?></label></td>
1817
+ <td>
1818
+ <input disabled="disabled" type="text" name="film_tmb_margin" id="film_tmb_margin" value="<?php echo $row->film_tmb_margin; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1819
+ <div class="spider_description"><?php _e('Set the separator for the thumbnails.', 'wds'); ?></div>
1820
+ </td>
1821
+ </tr>
1822
+ <tr>
1823
+ <td class="spider_label"><label for="film_act_border_width"><?php _e('Active border:', 'wds'); ?></label></td>
1824
+ <td>
1825
+ <input disabled="disabled" type="text" name="film_act_border_width" id="film_act_border_width" value="<?php echo $row->film_act_border_width; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> px
1826
+ <select class="select_icon select_icon_320" disabled="disabled" name="film_act_border_style" id="film_act_border_style">
1827
+ <?php
1828
+ foreach ($border_styles as $key => $border_style) {
1829
+ ?>
1830
+ <option value="<?php echo $key; ?>" <?php echo (($row->film_act_border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
1831
+ <?php
1832
+ }
1833
+ ?>
1834
+ </select>
1835
+ <input disabled="disabled" type="text" name="film_act_border_color" id="film_act_border_color" value="<?php echo $row->film_act_border_color; ?>" class="color"/>
1836
+ <div class="spider_description"><?php _e('The thumbnail for the currently displayed image will have a border. You can set its size, type and color.', 'wds'); ?></div>
1837
+ </td>
1838
+ </tr>
1839
+ <tr>
1840
+ <td class="spider_label"><label for="film_dac_transparent"><?php _e('Deactive transparency:', 'wds'); ?></label></td>
1841
+ <td>
1842
+ <input disabled="disabled" type="text" name="film_dac_transparent" id="film_dac_transparent" value="<?php echo $row->film_dac_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
1843
+ <div class="spider_description"><?php _e('You can set a transparency level for the inactive filmstrip items which must be between 0 to 100..', 'wds'); ?></div>
1844
+ </td>
1845
+ </tr>
1846
+ </tbody>
1847
+ </table>
1848
+ </div>
1849
+ <div class="wds_nav_box wds_nav_timer_bar_box">
1850
+ <table>
1851
+ <tbody>
1852
+ <tr>
1853
+ <td class="spider_label"><label><?php _e('Enable timer bar:', 'wds'); ?></label></td>
1854
+ <td>
1855
+ <input type="radio" id="enable_time_bar1" name="enable_time_bar" <?php echo (($row->enable_time_bar) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($row->enable_time_bar) ? 'class="selected_color"' : ''); ?> for="enable_time_bar1"><?php _e('Yes', 'wds'); ?></label>
1856
+ <input type="radio" id="enable_time_bar0" name="enable_time_bar" <?php echo (($row->enable_time_bar) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($row->enable_time_bar) ? '' : 'class="selected_color"'); ?> for="enable_time_bar0"><?php _e('No', 'wds'); ?></label>
1857
+ <div class="spider_description"><?php _e('You can add a bar displaying the timing left to switching to the next slide on autoplay.', 'wds'); ?></div>
1858
+ </td>
1859
+ </tr>
1860
+ <tr>
1861
+ <td class="spider_label"><label for="timer_bar_type"><?php _e('Type:', 'wds'); ?></label></td>
1862
+ <td>
1863
+ <select class="select_icon select_icon_320" name="timer_bar_type" id="timer_bar_type">
1864
+ <option value="top" <?php echo (($row->timer_bar_type == "top") ? 'selected="selected"' : ''); ?>><?php _e('Line top', 'wds'); ?></option>
1865
+ <option value="bottom" <?php echo (($row->timer_bar_type == "bottom") ? 'selected="selected"' : ''); ?>><?php _e('Line Bottom', 'wds'); ?></option>
1866
+ <option value="circle_top_left" <?php echo (($row->timer_bar_type == "circle_top_left") ? 'selected="selected"' : ''); ?>><?php _e('Circle top left', 'wds'); ?></option>
1867
+ <option value="circle_top_right" <?php echo (($row->timer_bar_type == "circle_top_right") ? 'selected="selected"' : ''); ?>><?php _e('Circle top right', 'wds'); ?></option>
1868
+ <option value="circle_bot_left" <?php echo (($row->timer_bar_type == "circle_bot_left") ? 'selected="selected"' : ''); ?>><?php _e('Circle bottom left', 'wds'); ?></option>
1869
+ <option value="circle_bot_right" <?php echo (($row->timer_bar_type == "circle_bot_right") ? 'selected="selected"' : ''); ?>><?php _e('Circle bottom right', 'wds'); ?></option>
1870
+ </select>
1871
+ <div class="spider_description"><?php _e('Choose the type of the timer bar to be used within the slider.', 'wds'); ?></div>
1872
+ </td>
1873
+ </tr>
1874
+ <tr>
1875
+ <td class="spider_label"><label for="timer_bar_size"><?php _e('Size:', 'wds'); ?></label></td>
1876
+ <td>
1877
+ <input type="text" name="timer_bar_size" id="timer_bar_size" value="<?php echo $row->timer_bar_size; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)" /> px
1878
+ <div class="spider_description"><?php _e('Define the height of the timer bar.', 'wds'); ?></div>
1879
+ </td>
1880
+ </tr>
1881
+ <tr>
1882
+ <td class="spider_label"><label for="timer_bar_color"><?php _e('Color:', 'wds'); ?></label></td>
1883
+ <td>
1884
+ <input type="text" name="timer_bar_color" id="timer_bar_color" value="<?php echo $row->timer_bar_color; ?>" class="color" />
1885
+ <input type="text" name="timer_bar_transparent" id="timer_bar_transparent" value="<?php echo $row->timer_bar_transparent; ?>" class="spider_int_input" onkeypress="return spider_check_isnum(event)"/> %
1886
+ <div class="spider_description"><?php _e('Transparency value must be between 0 to 100.', 'wds'); ?></div>
1887
+ </td>
1888
+ </tr>
1889
+ </tbody>
1890
+ </table>
1891
+ </div>
1892
+ <div class="wds_nav_box wds_nav_watermark_box">
1893
+ <div class="wd_updated">
1894
+ <p>
1895
+ <?php _e('Please note that the <b>Fill</b> and <b>Contain</b> options will work fine with <b>Watermark</b> option regardless of the image dimensions, whereas for the <b>Cover</b> option you should have the image identical to the size set in the <b>Dimensions</b> settings. If you have uploaded the image with another dimension, you will need to resize the image and upload it again.', 'wds'); ?>
1896
+ </p>
1897
+ </div>
1898
+ <table>
1899
+ <tbody>
1900
+ <tr>
1901
+ <td style="width: 50%; vertical-align: top; height: 100%; display: table-cell;">
1902
+ <table>
1903
+ <tbody>
1904
+ <tr id="tr_built_in_watermark_type">
1905
+ <td class="spider_label_options">
1906
+ <label><?php _e('Watermark type:', 'wds'); ?></label>
1907
+ </td>
1908
+ <td>
1909
+ <input type="radio" name="built_in_watermark_type" id="built_in_watermark_type_none" value="none" <?php if ($row->built_in_watermark_type == 'none') echo 'checked="checked"'; ?> onClick="bwg_built_in_watermark('watermark_type_none')" />
1910
+ <label <?php if ($row->built_in_watermark_type == 'none') echo 'class="selected_color"'; ?> for="built_in_watermark_type_none"><?php _e('None', 'wds'); ?></label>
1911
+ <input type="radio" name="built_in_watermark_type" id="built_in_watermark_type_text" value="text" <?php if ($row->built_in_watermark_type == 'text') echo 'checked="checked"'; ?> onClick="bwg_built_in_watermark('watermark_type_text')" onchange="preview_built_in_watermark()" />
1912
+ <label <?php if ($row->built_in_watermark_type == 'text') echo 'class="selected_color"'; ?> for="built_in_watermark_type_text"><?php _e('Text', 'wds'); ?></label>
1913
+ <input type="radio" name="built_in_watermark_type" id="built_in_watermark_type_image" value="image" <?php if ($row->built_in_watermark_type == 'image') echo 'checked="checked"'; ?> onClick="bwg_built_in_watermark('watermark_type_image')" onchange="preview_built_in_watermark()" />
1914
+ <label <?php if ($row->built_in_watermark_type == 'image') echo 'class="selected_color"'; ?> for="built_in_watermark_type_image"><?php _e('Image', 'wds'); ?></label>
1915
+ <div class="spider_description"><?php _e('Choose what kind of watermark you want to use.', 'wds'); ?></div>
1916
+ </td>
1917
+ </tr>
1918
+ <tr id="tr_built_in_watermark_url">
1919
+ <td class="spider_label_options">
1920
+ <label for="built_in_watermark_url"><?php _e('Watermark url:', 'wds'); ?></label>
1921
+ </td>
1922
+ <td>
1923
+ <input type="text" id="built_in_watermark_url" name="built_in_watermark_url" style="width: 68%;" value="<?php echo $row->built_in_watermark_url; ?>" style="display:inline-block;" onchange="preview_built_in_watermark()" />
1924
+ <?php
1925
+ if (!$spider_uploader) {
1926
+ ?>
1927
+ <input id="wat_img_add_butt" class="wds_not_image_buttons" type="button" onclick="spider_media_uploader('watermark', event, false); return false;" value="<?php _e('Add Images', 'wds'); ?>" />
1928
+ <?php
1929
+ }
1930
+ else {
1931
+ ?>
1932
+ <a href="<?php echo add_query_arg(array('callback' => 'wds_add_image', 'image_for' => 'watermark', 'TB_iframe' => '1'), $query_url); ?>" class="wds_not_image_buttons thickbox thickbox-preview" title="<?php _e('Add Image', 'wds'); ?>" onclick="return false;">
1933
+ <?php _e('Add Image', 'wds'); ?>
1934
+ </a>
1935
+ <?php
1936
+ }
1937
+ ?>
1938
+ <div class="spider_description"><?php _e('Only .png format is supported.', 'wds'); ?></div>
1939
+ </td>
1940
+ </tr>
1941
+ <tr id="tr_built_in_watermark_text">
1942
+ <td class="spider_label_options">
1943
+ <label for="built_in_watermark_text"><?php _e('Watermark text:', 'wds'); ?></label>
1944
+ </td>
1945
+ <td>
1946
+ <input type="text" name="built_in_watermark_text" id="built_in_watermark_text" style="width: 100%;" value="<?php echo $row->built_in_watermark_text; ?>" onchange="preview_built_in_watermark()" onkeypress="preview_built_in_watermark()" />
1947
+ <div class="spider_description"><?php _e('Provide the text which will be displayed over the slides.', 'wds'); ?></div>
1948
+ </td>
1949
+ </tr>
1950
+ <tr id="tr_built_in_watermark_size">
1951
+ <td class="spider_label_options">
1952
+ <label for="built_in_watermark_size"><?php _e('Watermark size:', 'wds'); ?></label>
1953
+ </td>
1954
+ <td>
1955
+ <input type="text" name="built_in_watermark_size" id="built_in_watermark_size" value="<?php echo $row->built_in_watermark_size; ?>" class="spider_int_input" onchange="preview_built_in_watermark()" /> %
1956
+ <div class="spider_description"><?php _e('Enter size of watermark in percents according to image.', 'wds'); ?></div>
1957
+ </td>
1958
+ </tr>
1959
+ <tr id="tr_built_in_watermark_font_size">
1960
+ <td class="spider_label_options">
1961
+ <label for="built_in_watermark_font_size"><?php _e('Watermark font size:', 'wds'); ?></label>
1962
+ </td>
1963
+ <td>
1964
+ <input type="text" name="built_in_watermark_font_size" id="built_in_watermark_font_size" value="<?php echo $row->built_in_watermark_font_size; ?>" class="spider_int_input" onchange="preview_built_in_watermark()" onkeypress="return spider_check_isnum(event)" /> px
1965
+ <div class="spider_description"><?php _e('Specify the font size of the watermark.', 'wds'); ?></div>
1966
+ </td>
1967
+ </tr>
1968
+ <tr id="tr_built_in_watermark_font">
1969
+ <td class="spider_label_options">
1970
+ <label for="built_in_watermark_font"><?php _e('Watermark font style:', 'wds'); ?></label>
1971
+ </td>
1972
+ <td>
1973
+ <select class="select_icon select_icon_320" name="built_in_watermark_font" id="built_in_watermark_font" style="width:150px;" onchange="preview_built_in_watermark()">
1974
+ <?php
1975
+ foreach ($built_in_watermark_fonts as $watermark_font) {
1976
+ ?>
1977
+ <option value="<?php echo $watermark_font; ?>" <?php if ($row->built_in_watermark_font == $watermark_font) echo 'selected="selected"'; ?>><?php echo $watermark_font; ?></option>
1978
+ <?php
1979
+ }
1980
+ ?>
1981
+ </select>
1982
+ <?php
1983
+ foreach ($built_in_watermark_fonts as $watermark_font) {
1984
+ ?>
1985
+ <style>
1986
+ @font-face {
1987
+ font-family: <?php echo 'bwg_' . str_replace('.ttf', '', $watermark_font); ?>;
1988
+ src: url("<?php echo WD_S_URL . '/fonts/' . $watermark_font; ?>");
1989
+ }
1990
+ </style>
1991
+ <?php
1992
+ }
1993
+ ?>
1994
+ <div class="spider_description"><?php _e('Specify the font family for the watermark text.', 'wds'); ?></div>
1995
+ </td>
1996
+ </tr>
1997
+ <tr id="tr_built_in_watermark_color">
1998
+ <td class="spider_label_options">
1999
+ <label for="built_in_watermark_color"><?php _e('Watermark color:', 'wds'); ?></label>
2000
+ </td>
2001
+ <td>
2002
+ <input type="text" name="built_in_watermark_color" id="built_in_watermark_color" value="<?php echo $row->built_in_watermark_color; ?>" class="color" onchange="preview_built_in_watermark()" />
2003
+ <input type="text" name="built_in_watermark_opacity" id="built_in_watermark_opacity" value="<?php echo $row->built_in_watermark_opacity; ?>" class="spider_int_input" onchange="preview_built_in_watermark()" /> %
2004
+ <div class="spider_description"><?php _e('Transparency value must be between 0 to 100.', 'wds'); ?></div>
2005
+ </td>
2006
+ </tr>
2007
+ <tr id="tr_built_in_watermark_position">
2008
+ <td class="spider_label_options">
2009
+ <label><?php _e('Watermark position:', 'wds'); ?></label>
2010
+ </td>
2011
+ <td>
2012
+ <table class="wds_position_table">
2013
+ <tbody>
2014
+ <tr>
2015
+ <td class="wds_position_td"><input type="radio" value="top-left" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "top-left") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
2016
+ <td class="wds_position_td"><input type="radio" value="top-center" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "top-center") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
2017
+ <td class="wds_position_td"><input type="radio" value="top-right" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "top-right") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
2018
+ </tr>
2019
+ <tr>
2020
+ <td class="wds_position_td"><input type="radio" value="middle-left" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "middle-left") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
2021
+ <td class="wds_position_td"><input type="radio" value="middle-center" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "middle-center") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
2022
+ <td class="wds_position_td"><input type="radio" value="middle-right" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "middle-right") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
2023
+ </tr>
2024
+ <tr>
2025
+ <td class="wds_position_td"><input type="radio" value="bottom-left" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "bottom-left") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
2026
+ <td class="wds_position_td"><input type="radio" value="bottom-center" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "bottom-center") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
2027
+ <td class="wds_position_td"><input type="radio" value="bottom-right" name="built_in_watermark_position" <?php if ($row->built_in_watermark_position == "bottom-right") echo 'checked="checked"'; ?> onchange="preview_built_in_watermark()"></td>
2028
+ </tr>
2029
+ </tbody>
2030
+ </table>
2031
+ <div class="spider_description"><?php _e('Choose the positioning of the watermark.', 'wds'); ?></div>
2032
+ </td>
2033
+ </tr>
2034
+ </tbody>
2035
+ </table>
2036
+ </td>
2037
+ <td style="width: 50%; vertical-align: top;height: 100%; display: table-cell;">
2038
+ <span id="preview_built_in_watermark" style='display:table-cell; background-image:url("<?php echo WD_S_URL . '/images/watermark_preview.jpg'?>"); background-size:100% 100%;width:400px;height:400px;padding-top: 4px; position:relative;'></span>
2039
+ </td>
2040
+ </tr>
2041
+ </tbody>
2042
+ </table>
2043
+ </div>
2044
+ <div class="wds_nav_box wds_nav_css_box">
2045
+ <table style="width:50%">
2046
+ <tbody>
2047
+ <tr>
2048
+ <td class="spider_label"><label for="css"><?php _e('Css:', 'wds'); ?></label></td>
2049
+ </tr>
2050
+ <tr>
2051
+ <td style="width: 90%;">
2052
+ <div class="spider_description"><?php _e('Add custom CSS to apply custom changes to the slider.', 'wds'); ?></div>
2053
+ <textarea id="css" name="css" rows="30" style="width: 100%;"><?php echo htmlspecialchars($row->css); ?></textarea>
2054
+ </td>
2055
+ </tr>
2056
+ </tbody>
2057
+ </table>
2058
+ </div>
2059
+ <div class="wds_nav_box wds_nav_callbacks_box">
2060
+ <?php $callback_items = json_decode(htmlspecialchars_decode($row->javascript), TRUE); ?>
2061
+ <table>
2062
+ <tr>
2063
+ <td class="spider_label_options callback_label_options">
2064
+ <label for="css"><?php _e('Add new callback:', 'wds'); ?></label>
2065
+ </td>
2066
+ <td>
2067
+ <div style="vertical-align: middle;">
2068
+ <select class="select_icon select_icon_320" name="callback_list" id="callback_list">
2069
+ <?php
2070
+ foreach ($slider_callbacks as $key => $slider_callback) {
2071
+ ?>
2072
+ <option value="<?php echo $key; ?>" <?php echo (($row->javascript == $key) ? 'selected="selected"' : ''); ?> <?php echo (isset($callback_items[$key]))? "style='display:none'" : ""; ?>><?php echo $slider_callback; ?></option>
2073
+ <?php
2074
+ }
2075
+ ?>
2076
+ </select>
2077
+
2078
+ <button type="button" id="add_callback" class="action_buttons add_callback" onclick="add_new_callback(jQuery(this).closest('tr'),jQuery(this).closest('tr').find('select'));"></button>
2079
+ <div class="spider_description"></div>
2080
+ </div>
2081
+ </td>
2082
+ </tr>
2083
+ <tr>
2084
+ <td colspan="2">
2085
+ <?php
2086
+ if (is_array($callback_items) && count($callback_items)) {
2087
+ foreach ($callback_items as $key => $callback_item) {
2088
+ ?>
2089
+ <div class="callbeck-item">
2090
+ <span class="spider_label_options"><?php echo $slider_callbacks[$key]; ?></span>
2091
+ <textarea class="callbeck-textarea" name="<?php echo $key; ?>"><?php echo $callback_item; ?></textarea>
2092
+ <button type="button" id="remove_callback" class="action_buttons remove_callback" onclick="remove_callback_item(this);"><?php _e('Slider WD', 'wds');?></button>
2093
+ </div>
2094
+ <?php
2095
+ }
2096
+ }
2097
+ ?>
2098
+ </td>
2099
+ </tr>
2100
+ </table>
2101
+ </div>
2102
+ </div>
2103
+ </div>
2104
+ <!--------------Slides tab----------->
2105
+ <div class="wds_box wds_slides_box">
2106
+ <table>
2107
+ <thead>
2108
+ <tr>
2109
+ <td colspan="4">
2110
+ <div class="tab_conteiner">
2111
+ <div class="tab_button_wrap setting_tab_button_wrap" onclick="wds_change_tab(this, 'wds_settings_box')">
2112
+ <a class="wds_button-secondary wds_settings" href="#">
2113
+ <span tab_type="settings" class="wds_tab_label"><?php _e('Settings', 'wds'); ?></span>
2114
+ </a>
2115
+ </div>
2116
+ <div class="tab_button_wrap slides_tab_button_wrap" onclick="wds_change_tab(this, 'wds_slides_box')" >
2117
+ <a class="wds_button-secondary wds_slides" href="#">
2118
+ <span tab_type="slides" class="wds_tab_label"><?php _e('Slides', 'wds'); ?></span>
2119
+ </a>
2120
+ </div>
2121
+ <div class="clear"></div>
2122
+ </div>
2123
+ <div class="wds_buttons">
2124
+ <?php
2125
+ if ($spider_uploader) {
2126
+ ?>
2127
+ <div class="wds_button_wrap">
2128
+ <a href="<?php echo add_query_arg(array('callback' => 'wds_add_image', 'image_for' => 'add_slides', 'TB_iframe' => '1'), $query_url); ?>" class="wds_buttons_320 action_buttons thickbox thickbox-preview add_images" title="<?php _e('Add Images', 'wds'); ?>" onclick="return false;">
2129
+ <?php _e('Add Images', 'wds'); ?>
2130
+ </a>
2131
+ </div>
2132
+ <?php
2133
+ }
2134
+ else {
2135
+ ?>
2136
+ <div class="wds_button_wrap">
2137
+ <input type="button" class="action_buttons add_images" id="button_image_url" onclick="spider_media_uploader('button_image_url', event, true); return false;" value="<?php _e('Add Images', 'wds'); ?>" />
2138
+ </div>
2139
+ <?php
2140
+ }
2141
+ ?>
2142
+ <div class="wds_button_wrap">
2143
+ <input class="wds_buttons_320 action_buttons add_posts wds_free_button" type="button" onclick="alert('<?php echo $functionality_disabled_version; ?>')" value="<?php _e('Add Posts', 'wds'); ?>" />
2144
+ </div>
2145
+ <div class="wds_button_wrap">
2146
+ <input class="wds_buttons_320 action_buttons set_watermark" type="button" onclick="spider_set_input_value('task', 'set_watermark'); spider_ajax_save('sliders_form', event);" value="<?php _e('Set Watermark', 'wds'); ?>" />
2147
+ </div>
2148
+ <div class="wds_button_wrap">
2149
+ <input class="wds_buttons_320 action_buttons reset_watermark" type="button" onclick="spider_set_input_value('task', 'reset_watermark'); spider_ajax_save('sliders_form', event);" value="<?php _e('Reset Watermark', 'wds'); ?>" />
2150
+ </div>
2151
+ </div>
2152
+ </td>
2153
+ </tr>
2154
+ </thead>
2155
+ <tbody style="display: block;">
2156
+ <tr style="display: block;">
2157
+ <td colspan="4" style="display: block;">
2158
+ <div class="bgcolor wds_tabs wbs_subtab aui-sortable">
2159
+ <h2 class="titles"><?php _e('Slides', 'wds'); ?></h2>
2160
+ <?php
2161
+ foreach ($slides_row as $key => $slide_row) {
2162
+ ?>
2163
+ <script>
2164
+ jQuery(function(){
2165
+ jQuery(document).on("click","#wds_tab_image<?php echo $slide_row->id; ?>",function(){
2166
+ wds_change_sub_tab(this, 'wds_slide<?php echo $slide_row->id; ?>');
2167
+ });
2168
+ jQuery(document).on("click","#wds_tab_image<?php echo $slide_row->id; ?> input",function(e){
2169
+ e.stopPropagation();
2170
+ });
2171
+ jQuery(document).on("click","#title<?php echo $slide_row->id; ?>",function(){
2172
+ wds_change_sub_tab(jQuery("#wds_tab_image<?php echo $slide_row->id; ?>"), 'wds_slide<?php echo $slide_row->id; ?>');
2173
+ wds_change_sub_tab_title(this, 'wds_slide<?php echo $slide_row->id; ?>');
2174
+ });
2175
+ });
2176
+ </script>
2177
+ <div id="wds_subtab_wrap<?php echo $slide_row->id; ?>" class="wds_subtab_wrap connectedSortable">
2178
+ <div id="wbs_subtab<?php echo $slide_row->id; ?>" class="tab_link <?php echo (((($id == 0 || !$sub_tab_type) || (strpos($sub_tab_type, 'pr') !== FALSE)) && $key == 0) || ('slide' . $slide_row->id == $sub_tab_type)) ? 'wds_sub_active' : ''; ?>" href="#" >
2179
+ <div style='background-image:url("<?php echo $slide_row->type != 'image' ? ($slide_row->type == 'video' && ctype_digit($slide_row->thumb_url) ? (wp_get_attachment_url(get_post_thumbnail_id($slide_row->thumb_url)) ? wp_get_attachment_url(get_post_thumbnail_id($slide_row->thumb_url)) : WD_S_URL . '/images/no-video.png') : $slide_row->thumb_url) : $slide_row->thumb_url ?>");background-position: center' class="tab_image" id="wds_tab_image<?php echo $slide_row->id; ?>" >
2180
+ <div class="tab_buttons">
2181
+ <div class="handle_wrap">
2182
+ <div class="handle" title="<?php _e('Drag to re-order', 'wds'); ?>"></div>
2183
+ </div>
2184
+ <div class="wds_tab_title_wrap">
2185
+ <input type="text" id="title<?php echo $slide_row->id; ?>" name="title<?php echo $slide_row->id; ?>" value="<?php echo $slide_row->title; ?>" class="wds_tab_title" tab_type="slide<?php echo $slide_row->id; ?>" />
2186
+ </div>
2187
+ <input type="hidden" name="order<?php echo $slide_row->id; ?>" id="order<?php echo $slide_row->id; ?>" value="<?php echo $slide_row->order; ?>" />
2188
+ </div>
2189
+ <div class="overlay" >
2190
+ <div id="hover_buttons">
2191
+ <?php
2192
+ if ($spider_uploader) {
2193
+ ?>
2194
+ <a href="<?php echo add_query_arg(array('callback' => 'wds_add_image', 'image_for' => 'add_update_slide','slide_id' => $slide_row->id, 'TB_iframe' => '1'), $query_url); ?>" class="wds_change_thumbnail thickbox thickbox-preview" title="<?php _e('Add/Edit Image', 'wds'); ?>" onclick="return false;">
2195
+ </a>
2196
+ <?php
2197
+ }
2198
+ else {
2199
+ ?>
2200
+ <span class="wds_change_thumbnail" onclick="spider_media_uploader('<?php echo $slide_row->id; ?>', event, false); return false;" title="<?php _e('Add/Edit Image', 'wds'); ?>" value="<?php _e('Edit Image', 'wds'); ?>"></span>
2201
+ <?php
2202
+ }
2203
+ ?>
2204
+ <span class="wds_slide_dublicate" title="Duplicate Slide" onclick="wds_duplicate_slide('<?php echo $slide_row->id; ?>');"></span>
2205
+ <span class="wds_tab_remove" title="Remove Slide" onclick="wds_remove_slide('<?php echo $slide_row->id; ?>')"></span>
2206
+ <input type="hidden" name="order<?php echo $slide_row->id; ?>" id="order<?php echo $slide_row->id; ?>" value="<?php echo $slide_row->order; ?>" />
2207
+ <span class="wds_clear"></span>
2208
+ </div>
2209
+ </div>
2210
+ </div>
2211
+ </div>
2212
+ </div>
2213
+ <?php
2214
+ }
2215
+ ?>
2216
+ <div class="wds_subtab_wrap new_tab_image">
2217
+ <div class="new_tab_link" onclick="wds_add_slide()"></div>
2218
+ </div>
2219
+ <div class="wds_clear"></div>
2220
+ </div>
2221
+ <?php
2222
+ foreach ($slides_row as $key => $slide_row) {
2223
+ ?>
2224
+ <div class="wds_box <?php echo (((($id == 0 || !$sub_tab_type) || (strpos($sub_tab_type, 'pr') !== FALSE)) && $key == 0) || ('slide' . $slide_row->id == $sub_tab_type)) ? 'wds_sub_active' : ''; ?> wds_slide<?php echo $slide_row->id; ?>">
2225
+ <table class="ui-sortable<?php echo $slide_row->id; ?>">
2226
+ <thead><tr><td colspan="4">&nbsp;</td></tr></thead>
2227
+ <tbody>
2228
+ <input type="hidden" name="type<?php echo $slide_row->id; ?>" id="type<?php echo $slide_row->id; ?>" value="<?php echo $slide_row->type; ?>" />
2229
+ <tr class="bgcolor">
2230
+ <td colspan="4">
2231
+ <h2 class="titles"><?php _e('Edit Slide', 'wds'); ?></h2>
2232
+ <div id="slide_add_buttons">
2233
+ <?php
2234
+ if (!$spider_uploader) {
2235
+ ?>
2236
+ <div class="slide_add_buttons_wrap">
2237
+ <input type="button" class="action_buttons edit_slide" id="button_image_url<?php echo $slide_row->id; ?>" onclick="spider_media_uploader('<?php echo $slide_row->id; ?>', event, false); return false;" value="<?php _e('Add/Edit Image', 'wds'); ?>" />
2238
+ </div>
2239
+ <?php
2240
+ }
2241
+ else {
2242
+ ?>
2243
+ <div class="slide_add_buttons_wrap">
2244
+ <a href="<?php echo add_query_arg(array('callback' => 'wds_add_image', 'image_for' => 'add_update_slide', 'slide_id' => $slide_row->id, 'TB_iframe' => '1'), $query_url); ?>" class="action_buttons edit_slide thickbox thickbox-preview" title="<?php _e('Add/Edit Image', 'wds'); ?>" onclick="return false;">
2245
+ <?php _e('Add/Edit Image', 'wds'); ?>
2246
+ </a>
2247
+ </div>
2248
+ <?php
2249
+ }
2250
+ ?>
2251
+ <div class="slide_add_buttons_wrap">
2252
+ <input type="button" class="action_buttons add_by_url" onclick="wds_add_image_url('<?php echo $slide_row->id; ?>')" value="<?php _e('Add Image by URL', 'wds'); ?>" />
2253
+ </div>
2254
+ <div class="slide_add_buttons_wrap">
2255
+ <input type="button" class="action_buttons add_video wds_free_button" onclick="alert('<?php echo $functionality_disabled_version; ?>')" value="<?php _e('Add Video', 'wds'); ?>" />
2256
+ </div>
2257
+ <div class="slide_add_buttons_wrap">
2258
+ <input type="button" class="action_buttons embed_media wds_free_button" onclick="alert('<?php echo $functionality_disabled_version; ?>')" value="<?php _e('Embed Media', 'wds'); ?>" />
2259
+ </div>
2260
+ <div class="slide_add_buttons_wrap">
2261
+ <input class="action_buttons add_post wds_free_button" type="button" value="<?php _e('Add Post', 'wds'); ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
2262
+ </div>
2263
+ <div class="slide_add_buttons_wrap">
2264
+ <input type="button" class="action_buttons delete" id="delete_image_url<?php echo $slide_row->id; ?>" onclick="wds_remove_slide('<?php echo $slide_row->id; ?>')" value="<?php _e('Delete', 'wds'); ?>" />
2265
+ </div>
2266
+ <div class="slide_add_buttons_wrap">
2267
+ <input type="button" class="action_buttons edit_thumb wds_free_button" id="button_image_url<?php echo $slide_row->id; ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>'); return false;" value="<?php _e('Edit Thumbnail', 'wds'); ?>" />
2268
+ </div>
2269
+ <input type="hidden" id="image_url<?php echo $slide_row->id; ?>" name="image_url<?php echo $slide_row->id; ?>" value="<?php echo $slide_row->image_url; ?>" />
2270
+ <input type="hidden" id="thumb_url<?php echo $slide_row->id; ?>" name="thumb_url<?php echo $slide_row->id; ?>" value="<?php echo $slide_row->thumb_url; ?>" />
2271
+ <div class="clear"></div>
2272
+ </div>
2273
+ </td>
2274
+ </tr>
2275
+ <tr class="bgcolor">
2276
+ <td colspan="4">
2277
+ <div id="wds_preview_wrapper_<?php echo $slide_row->id; ?>" class="wds_preview_wrapper" style="width: <?php echo $row->width; ?>px; height: <?php echo $row->height; ?>px;">
2278
+ <div class="wds_preview" style="overflow: hidden; position: absolute; width: inherit; height: inherit; background-color: transparent; background-image: none; display: block;">
2279
+ <div id="wds_preview_image<?php echo $slide_row->id; ?>" class="wds_preview_image<?php echo $slide_row->id; ?> wds_preview_image"
2280
+ style='background-color: <?php echo WDW_S_Library::spider_hex2rgba($row->background_color, (100 - $row->background_transparent) / 100); ?>;
2281
+ background-image: url("<?php echo $slide_row->type != 'image' ? $slide_row->thumb_url : $slide_row->image_url . '?date=' . date('Y-m-d H:i:s'); ?>");
2282
+ background-position: <?php echo ($row->smart_crop == '1' && ($row->bg_fit == 'cover' || $row->bg_fit == 'contain')) ? $row->crop_image_position : 'center center'; ?>;
2283
+ background-repeat: no-repeat;
2284
+ background-size: <?php echo $row->bg_fit; ?>;
2285
+ width: inherit;
2286
+ height: inherit;
2287
+ /*position: relative;*/'>
2288
+ <?php
2289
+ $layers_row = $this->model->get_layers_row_data($slide_row->id);
2290
+ if ($layers_row) {
2291
+ foreach ($layers_row as $key => $layer) {
2292
+ $prefix = 'slide' . $slide_row->id . '_layer' . $layer->id;
2293
+ $fonts = (isset($layer->google_fonts) && $layer->google_fonts) ? $google_fonts : $font_families;
2294
+ switch ($layer->type) {
2295
+ case 'text': {
2296
+ ?>
2297
+ <span id="<?php echo $prefix; ?>" class="wds_draggable_<?php echo $slide_row->id; ?> wds_draggable ui-draggable" data-type="wds_text_parent" onclick="wds_showhide_layer('<?php echo $prefix; ?>_tbody', 1)"
2298
+ style="<?php echo $layer->image_width ? 'width: ' . $layer->image_width . '%; ' : ''; ?><?php echo $layer->image_height ? 'height: ' . $layer->image_height . '%; ' : ''; ?>word-break: <?php echo ($layer->image_scale ? 'normal' : 'break-all'); ?>; display: inline-block; position: absolute; left: <?php echo $layer->left; ?>px; top: <?php echo $layer->top; ?>px; z-index: <?php echo $layer->depth; ?>; color: #<?php echo $layer->color; ?>; font-size: <?php echo $layer->size; ?>px; line-height: 1.25em; font-family: <?php echo $fonts[$layer->ffamily]; ?>; font-weight: <?php echo $layer->fweight; ?>; padding: <?php echo $layer->padding; ?>; background-color: <?php echo WDW_S_Library::spider_hex2rgba($layer->fbgcolor, (100 - $layer->transparent) / 100); ?>; border: <?php echo $layer->border_width; ?>px <?php echo $layer->border_style; ?> #<?php echo $layer->border_color; ?>; border-radius: <?php echo $layer->border_radius; ?>; box-shadow: <?php echo $layer->shadow; ?>; text-align: <?php echo $layer->text_alignment; ?>"><?php echo str_replace(array("\r\n", "\r", "\n"), "<br>", $layer->text); ?></span>
2299
+ <?php
2300
+ break;
2301
+ }
2302
+ case 'image': {
2303
+ ?>
2304
+ <img id="<?php echo $prefix; ?>" class="wds_draggable_<?php echo $slide_row->id; ?> wds_draggable ui-draggabe" onclick="wds_showhide_layer('<?php echo $prefix; ?>_tbody', 1)" src="<?php echo $layer->image_url; ?>"
2305
+ style="opacity: <?php echo (100 - $layer->imgtransparent) / 100; ?>; filter: Alpha(opacity=<?php echo 100 - $layer->imgtransparent; ?>); position: absolute; left: <?php echo $layer->left; ?>px; top: <?php echo $layer->top; ?>px; z-index: <?php echo $layer->depth; ?>; border: <?php echo $layer->border_width; ?>px <?php echo $layer->border_style; ?> #<?php echo $layer->border_color; ?>; border-radius: <?php echo $layer->border_radius; ?>; box-shadow: <?php echo $layer->shadow; ?>; " />
2306
+ <?php
2307
+ break;
2308
+ }
2309
+ case 'video': {
2310
+ ?>
2311
+ <img id="<?php echo $prefix; ?>" class="wds_draggable_<?php echo $slide_row->id; ?> wds_draggable ui-draggable" onclick="wds_showhide_layer('<?php echo $prefix; ?>_tbody', 1)" src="<?php echo $layer->image_url; ?>"
2312
+ style="max-width: <?php echo $layer->image_width; ?>px; width: <?php echo $layer->image_width; ?>px; max-height: <?php echo $layer->image_height; ?>px; height: <?php echo $layer->image_height; ?>px; position: absolute; left: <?php echo $layer->left; ?>px; top: <?php echo $layer->top; ?>px; z-index: <?php echo $layer->depth; ?>; border: <?php echo $layer->border_width; ?>px <?php echo $layer->border_style; ?> #<?php echo $layer->border_color; ?>; border-radius: <?php echo $layer->border_radius; ?>; box-shadow: <?php echo $layer->shadow; ?>;" />
2313
+ <?php
2314
+ break;
2315
+ }
2316
+ case 'social': {
2317
+ ?>
2318
+ <i id="<?php echo $prefix; ?>" class="wds_draggable_<?php echo $slide_row->id; ?> wds_draggable fa fa-<?php echo $layer->social_button; ?> ui-draggable" onclick="wds_showhide_layer('<?php echo $prefix; ?>_tbody', 1)"
2319
+ style="opacity: <?php echo (100 - $layer->transparent) / 100; ?>; filter: Alpha(opacity=<?php echo 100 - $layer->transparent; ?>); position: absolute; left: <?php echo $layer->left; ?>px; top: <?php echo $layer->top; ?>px; z-index: <?php echo $layer->depth; ?>; color: #<?php echo $layer->color; ?>; font-size: <?php echo $layer->size; ?>px; line-height: <?php echo $layer->size; ?>px; padding: <?php echo $layer->padding; ?>; "></i>
2320
+ <?php
2321
+ break;
2322
+ }
2323
+ default:
2324
+ break;
2325
+ }
2326
+ }
2327
+ }
2328
+ ?>
2329
+ </div>
2330
+ </div>
2331
+ </div>
2332
+ </td>
2333
+ </tr>
2334
+ <tr>
2335
+ <td>
2336
+ <table class="wds_slide_radio_left">
2337
+ <tr>
2338
+ <td class="spider_label"><label><?php _e('Published:', 'wds'); ?></label></td>
2339
+ <td>
2340
+ <input type="radio" id="published<?php echo $slide_row->id; ?>1" name="published<?php echo $slide_row->id; ?>" <?php echo (($slide_row->published) ? 'checked="checked"' : ''); ?> value="1" /><label <?php echo (($slide_row->published) ? 'class="selected_color"' : ''); ?> for="published<?php echo $slide_row->id; ?>1"><?php _e('Yes', 'wds'); ?></label>
2341
+ <input type="radio" id="published<?php echo $slide_row->id; ?>0" name="published<?php echo $slide_row->id; ?>" <?php echo (($slide_row->published) ? '' : 'checked="checked"'); ?> value="0" /><label <?php echo (($slide_row->published) ? '' : 'class="selected_color"'); ?> for="published<?php echo $slide_row->id; ?>0"><?php _e('No', 'wds'); ?></label>
2342
+ </td>
2343
+ </tr>
2344
+ </table>
2345
+ <table class="wds_slide_radio_right">
2346
+ <tr id="trlink<?php echo $slide_row->id; ?>" <?php echo $slide_row->type == 'image' ? '' : 'style="display: none;"'; ?>>
2347
+ <td title="<?php _e('You can set a redirection link, so that the user will get to the mentioned location upon hitting the slide.Use http:// and https:// for external links.', 'wds'); ?>" class="wds_tooltip spider_label">
2348
+ <label for="link<?php echo $slide_row->id; ?>"><?php _e('Link the slide to:', 'wds'); ?></label>
2349
+ </td>
2350
+ <td>
2351
+ <input class="wds_external_link" id="link<?php echo $slide_row->id; ?>" type="text" value="<?php echo $slide_row->link; ?>" name="link<?php echo $slide_row->id; ?>" />
2352
+ <input id="target_attr_slide<?php echo $slide_row->id; ?>" type="checkbox" name="target_attr_slide<?php echo $slide_row->id; ?>" <?php echo (($slide_row->target_attr_slide) ? 'checked="checked"' : ''); ?> value="1" /><label for="target_attr_slide<?php echo $slide_row->id; ?>"><?php _e('Open in a new window', 'wds'); ?></label>
2353
+ </td>
2354
+ </tr>
2355
+ </table>
2356
+ </td>
2357
+ </tr>
2358
+ <tr class="bgcolor">
2359
+ <td colspan="4">
2360
+ <h2 class="titles"><?php _e('Layers', 'wds'); ?></h2>
2361
+ <div id="layer_add_buttons">
2362
+ <div class="layer_add_buttons_wrap">
2363
+ <button class="action_buttons add_text_layer <?php echo !$fv ? "" : "wds_free_button"; ?> button-small" onclick="<?php echo !$fv ? "wds_add_layer('text', '" . $slide_row->id . "')" : "alert('". $functionality_disabled_version ."')"; ?>; return false;" ><?php _e('Add Text Layer', 'wds'); ?></button>
2364
+ </div>
2365
+ <?php
2366
+ if (!$spider_uploader) {
2367
+ ?>
2368
+ <div class="layer_add_buttons_wrap">
2369
+ <button class="action_buttons add_image_layer <?php echo " wds_free_button"; ?> button-small" onclick="<?php echo "alert('". $functionality_disabled_version ."')"; ?>; return false;"><?php _e('Add Image Layer', 'wds'); ?></button>
2370
+ </div>
2371
+ <?php
2372
+ }
2373
+ else {
2374
+ ?>
2375
+ <div class="layer_add_buttons_wrap">
2376
+ <a href="<?php echo $fv ? add_query_arg(array('callback' => 'wds_add_image', 'image_for' => 'add_layer', 'slide_id' => $slide_row->id, 'TB_iframe' => '1'), $query_url) : ''; ?>" onclick="<?php echo "alert('". $functionality_disabled_version ."')"; ?>; return false;" class="action_buttons add_image_layer <?php echo " wds_free_button"; ?> button-small" title="<?php _e('Add Image Layer', 'wds'); ?>">
2377
+ <?php _e('Add Image Layer', 'wds'); ?>
2378
+ </a>
2379
+ </div>
2380
+ <?php
2381
+ }
2382
+ ?>
2383
+ <div class="layer_add_buttons_wrap">
2384
+ <input type="button" class="action_buttons add_video_layer button-small wds_free_button" id="button_video_url<?php echo $slide_row->id; ?>" onclick="alert('<?php echo $functionality_disabled_version; ?>'); return false;" value="Add Video Layer" />
2385
+ </div>
2386
+ <div class="layer_add_buttons_wrap">
2387
+ <input type="button" class="action_buttons add_embed_layer button-small wds_free_button" onclick="alert('<?php echo $functionality_disabled_version; ?>'); return false;" value="<?php _e('Embed Media Layer', 'wds'); ?>" />
2388
+ </div>
2389
+ <div class="layer_add_buttons_wrap">
2390
+ <button class="action_buttons add_social_layer button-small wds_free_button" onclick="alert('<?php echo $functionality_disabled_version; ?>'); return false;"><?php _e('Social Button Layer', 'wds'); ?></button>
2391
+ </div>
2392
+ <div class="layer_add_buttons_wrap">
2393
+ <button class="action_buttons add_hotspot_layer button-small wds_free_button" onclick="alert('<?php echo $functionality_disabled_version; ?>'); return false;"><?php _e('Add Hotspot Layer', 'wds'); ?></button>
2394
+ </div>
2395
+ <div class="clear"></div>
2396
+ </div>
2397
+ </td>
2398
+ </tr>
2399
+ </tbody>
2400
+ <?php
2401
+ $layer_ids_string = '';
2402
+ if ($layers_row) {
2403
+ foreach ($layers_row as $key => $layer) {
2404
+ $prefix = 'slide' . $slide_row->id . '_layer' . $layer->id;
2405
+ ?>
2406
+ <tbody class="layer_table_count" id="<?php echo $prefix; ?>_tbody">
2407
+ <tr class="wds_layer_head_tr">
2408
+ <td class="wds_layer_head" colspan="4">
2409
+ <div class="wds_layer_left">
2410
+ <div class="layer_handle handle connectedSortable" title="Drag to re-order"></div>
2411
+ <span class="wds_layer_label" onclick="wds_showhide_layer('<?php echo $prefix; ?>_tbody', 0)"><input id="<?php echo $prefix; ?>_title" name="<?php echo $prefix; ?>_title" type="text" class="wds_layer_title" value="<?php echo $layer->title; ?>" title="<?php _e('Layer title', 'wds'); ?>" /></span>
2412
+ </div>
2413
+ <div class="wds_layer_right">
2414
+ <span class="wds_layer_remove" onclick="wds_delete_layer('<?php echo $slide_row->id; ?>', '<?php echo $layer->id; ?>'); " title="Delete layer"></span>
2415
+ <span class="wds_layer_dublicate" onclick="wds_add_layer('<?php echo $layer->type; ?>', '<?php echo $slide_row->id; ?>', '', 1, 0); wds_duplicate_layer('<?php echo $layer->type; ?>', '<?php echo $slide_row->id; ?>', '<?php echo $layer->id; ?>');" title="Duplicate layer"></span>
2416
+ <input id="<?php echo $prefix; ?>_depth" class="wds_layer_depth spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({zIndex: jQuery(this).val()})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->depth; ?>" prefix="<?php echo $prefix; ?>" name="<?php echo $prefix; ?>_depth" title="z-index" />
2417
+ </div>
2418
+ <div class="wds_clear"></div>
2419
+ </td>
2420
+ </tr>
2421
+ <?php
2422
+ switch ($layer->type) {
2423
+ /*--------text layer----------*/
2424
+ case 'text': {
2425
+ ?>
2426
+ <tr style="display:none">
2427
+ <td colspan="2">
2428
+ <table class="layer_table_left">
2429
+ <tr class="wds_layer_tr" >
2430
+ <td class="spider_label">
2431
+ <label for="<?php echo $prefix; ?>_text"><?php _e('Text:', 'wds'); ?></label>
2432
+ </td>
2433
+ <td>
2434
+ <textarea id="<?php echo $prefix; ?>_text" class="wds_textarea" name="<?php echo $prefix; ?>_text" style="width: 222px; height: 60px; resize: vertical;" onkeyup="wds_new_line('<?php echo $prefix; ?>');"><?php echo $layer->text; ?></textarea>
2435
+ <input type="button" class="wds_editor_btn button-secondary" onclick="alert('<?php echo $functionality_disabled_version; ?>')" value="Editor" />
2436
+ <div class="spider_description"></div>
2437
+ </td>
2438
+ </tr>
2439
+ <tr class="wds_layer_tr">
2440
+ <td class="spider_label">
2441
+ <label for="<?php echo $prefix; ?>_static_layer"><?php _e('Static layer:', 'wds'); ?></label>
2442
+ </td>
2443
+ <td>
2444
+ <input id="<?php echo $prefix; ?>_static_layer" type="checkbox" name="<?php echo $prefix; ?>_static_layer" <?php echo checked(1, $layer->static_layer); ?> value="1" />
2445
+ <div class="spider_description"><?php _e('The layer will be visible on all slides.', 'wds'); ?></div>
2446
+ </td>
2447
+ </tr>
2448
+ <tr class="wds_layer_tr">
2449
+ <td title="Leave blank to keep the initial width and height." class="wds_tooltip spider_label">
2450
+ <label for="<?php echo $prefix; ?>_image_width"><?php _e('Dimensions:', 'wds'); ?></label>
2451
+ </td>
2452
+ <td>
2453
+ <input id="<?php echo $prefix; ?>_image_width" class="spider_int_input" type="text" onchange="wds_text_width(this,'<?php echo $prefix; ?>')" value="<?php echo $layer->image_width; ?>" name="<?php echo $prefix; ?>_image_width" /> x
2454
+ <input id="<?php echo $prefix; ?>_image_height" class="spider_int_input" type="text" onchange="wds_text_height(this,'<?php echo $prefix; ?>')" value="<?php echo $layer->image_height; ?>" name="<?php echo $prefix; ?>_image_height" /> %
2455
+ <input id="<?php echo $prefix; ?>_image_scale" type="checkbox" onchange="wds_break_word(this, '<?php echo $prefix; ?>')" name="<?php echo $prefix; ?>_image_scale" <?php echo (($layer->image_scale) ? 'checked="checked"' : ''); ?> /><label for="<?php echo $prefix; ?>_image_scale"><?php _e('Break-word', 'wds'); ?></label>
2456
+ </td>
2457
+ </tr>
2458
+ <tr class="wds_layer_tr" >
2459
+ <td title="<?php _e('In addition you can drag and drop the layer to a desired position.', 'wds'); ?>" class="wds_tooltip spider_label">
2460
+ <label><?php _e('Position:', 'wds'); ?></label>
2461
+ </td>
2462
+ <td>
2463
+ X <input id="<?php echo $prefix; ?>_left" class="spider_int_input" type="text" <?php echo ($layer->align_layer) ? 'disabled="disabled"' : ''; ?> onchange="jQuery('#<?php echo $prefix; ?>').css({left: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->left; ?>" name="<?php echo $prefix; ?>_left" />
2464
+ Y <input id="<?php echo $prefix; ?>_top" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({top: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->top; ?>" name="<?php echo $prefix; ?>_top" />
2465
+ <input id="<?php echo $prefix; ?>_align_layer" type="checkbox" name="<?php echo $prefix; ?>_align_layer" <?php echo checked(1, $layer->align_layer ); ?> value="1" onchange="wds_position_left_disabled('<?php echo $prefix; ?>')" /><label for="<?php echo $prefix; ?>_align_layer"><?php _e('Fixed step (left, center, right)', 'wds'); ?></label>
2466
+ </td>
2467
+ </tr>
2468
+ <tr class="wds_layer_tr">
2469
+ <td class="spider_label">
2470
+ <label for="<?php echo $prefix; ?>_size"><?php _e('Size:', 'wds'); ?> </label>
2471
+ </td>
2472
+ <td>
2473
+ <span style="display: table-cell">
2474
+ <input id="<?php echo $prefix; ?>_size" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({fontSize: jQuery(this).val() + 'px', lineHeight: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->size; ?>" name="<?php echo $prefix; ?>_size" /> px
2475
+ </span>
2476
+ <span style="display: table-cell;">
2477
+ <input id="<?php echo $prefix; ?>_min_size" class="spider_int_input" type="text" onchange="wds_min_size_validation('<?php echo $prefix; ?>')" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->min_size; ?>" name="<?php echo $prefix; ?>_min_size" /> px
2478
+ <div class="spider_description"><?php _e('Minimal size must be less than the actual size.', 'wds'); ?></div>
2479
+ </span>
2480
+ </td>
2481
+ </tr>
2482
+ <tr class="wds_layer_tr" >
2483
+ <td class="spider_label">
2484
+ <label for="<?php echo $prefix; ?>_color"><?php _e('Color:', 'wds'); ?></label>
2485
+ </td>
2486
+ <td>
2487
+ <input id="<?php echo $prefix; ?>_color" class="color" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({color: '#' + jQuery(this).val()})" value="<?php echo $layer->color; ?>" name="<?php echo $prefix; ?>_color" />
2488
+ <div class="spider_description"></div>
2489
+ </td>
2490
+ </tr>
2491
+ <tr class="wds_layer_tr">
2492
+ <td class="spider_label">
2493
+ <label for="<?php echo $prefix; ?>_hover_color_text"><?php _e('Hover Color:', 'wds'); ?></label>
2494
+ </td>
2495
+ <td>
2496
+ <input id="<?php echo $prefix; ?>_hover_color_text" class="color" type="text" value="<?php echo $layer->hover_color_text; ?>" name="<?php echo $prefix; ?>_hover_color_text" />
2497
+ <div class="spider_description"></div>
2498
+ </td>
2499
+ </tr>
2500
+ <tr class="wds_layer_tr" >
2501
+ <td class="spider_label">
2502
+ <label for="<?php echo $prefix; ?>_ffamily"><?php _e('Font family:', 'wds'); ?></label>
2503
+ </td>
2504
+ <td>
2505
+ <select class="select_icon select_icon_320" style="width: 200px;" id="<?php echo $prefix; ?>_ffamily" onchange="wds_change_fonts('<?php echo $prefix; ?>', 1)" name="<?php echo $prefix; ?>_ffamily">
2506
+ <?php
2507
+ $fonts = (isset($layer->google_fonts) && $layer->google_fonts) ? $google_fonts : $font_families;
2508
+ foreach ($fonts as $key => $font_family) {
2509
+ ?>
2510
+ <option value="<?php echo $key; ?>" <?php echo (($layer->ffamily == $key) ? 'selected="selected"' : ''); ?>><?php echo $font_family; ?></option>
2511
+ <?php
2512
+ }
2513
+ ?>
2514
+ </select>
2515
+ <input id="<?php echo $prefix; ?>_google_fonts1" type="radio" name="<?php echo $prefix; ?>_google_fonts" value="1" <?php echo (($layer->google_fonts) ? 'checked="checked"' : ''); ?> onchange="wds_change_fonts('<?php echo $prefix; ?>')" />
2516
+ <label for="<?php echo $prefix; ?>_google_fonts1"><?php _e('Google fonts', 'wds'); ?></label>
2517
+ <input id="<?php echo $prefix; ?>_google_fonts0" type="radio" name="<?php echo $prefix;?>_google_fonts" value="0" <?php echo (($layer->google_fonts) ? '' : 'checked="checked"'); ?> onchange="wds_change_fonts('<?php echo $prefix; ?>')" />
2518
+ <label for="<?php echo $prefix; ?>_google_fonts0"><?php _e('Default', 'wds'); ?></label>
2519
+ <div class="spider_description"></div>
2520
+ </td>
2521
+ </tr>
2522
+ <tr class="wds_layer_tr" >
2523
+ <td class="spider_label">
2524
+ <label for="<?php echo $prefix; ?>_fweight"><?php _e('Font weight:', 'wds'); ?></label>
2525
+ </td>
2526
+ <td>
2527
+ <select class="select_icon select_icon_320" style="width:70px" id="<?php echo $prefix; ?>_fweight" onchange="jQuery('#<?php echo $prefix; ?>').css({fontWeight: jQuery(this).val()})" name="<?php echo $prefix; ?>_fweight">
2528
+ <?php
2529
+ foreach ($font_weights as $key => $fweight) {
2530
+ ?>
2531
+ <option value="<?php echo $key; ?>" <?php echo (($layer->fweight == $key) ? 'selected="selected"' : ''); ?>><?php echo $fweight; ?></option>
2532
+ <?php
2533
+ }
2534
+ ?>
2535
+ </select>
2536
+ <div class="spider_description"></div>
2537
+ </td>
2538
+ </tr>
2539
+ <tr class="wds_layer_tr" >
2540
+ <td title="<?php _e('Use http:// and https:// for external links.', 'wds'); ?>" class="wds_tooltip spider_label">
2541
+ <label for="<?php echo $prefix; ?>_link"><?php _e('Link:', 'wds'); ?></label>
2542
+ </td>
2543
+ <td>
2544
+ <input id="<?php echo $prefix; ?>_link" class="wds_link" type="text" value="<?php echo $layer->link; ?>" name="<?php echo $prefix; ?>_link" />
2545
+ <input id="<?php echo $prefix; ?>_target_attr_layer" type="checkbox" name="<?php echo $prefix; ?>_target_attr_layer" <?php echo (($layer->target_attr_layer) ? 'checked="checked"' : ''); ?> value="1" /><label for="<?php echo $prefix; ?>_target_attr_layer"><?php _e('Published', 'wds'); ?></label>
2546
+ </td>
2547
+ </tr>
2548
+ <tr class="wds_layer_tr" >
2549
+ <td class="spider_label">
2550
+ <label><?php _e('Published:', 'wds'); ?></label>
2551
+ </td>
2552
+ <td>
2553
+ <input id="<?php echo $prefix; ?>_published1" type="radio" name="<?php echo $prefix; ?>_published" value="1" <?php echo (($layer->published) ? 'checked="checked"' : ''); ?> />
2554
+ <label for="<?php echo $prefix; ?>_published1"><?php _e('Yes', 'wds'); ?></label>
2555
+ <input id="<?php echo $prefix; ?>_published0" type="radio" name="<?php echo $prefix; ?>_published" value="0" <?php echo (($layer->published) ? '' : 'checked="checked"'); ?> />
2556
+ <label for="<?php echo $prefix; ?>_published0"><?php _e('No', 'wds'); ?></label>
2557
+ <div class="spider_description"></div>
2558
+ </td>
2559
+ </tr>
2560
+ </table>
2561
+ <table class="layer_table_right">
2562
+ <tr class="wds_layer_tr" >
2563
+ <td class="spider_label">
2564
+ <label for="<?php echo $prefix; ?>_layer_effect_in"><?php _e('Effect In:', 'wds'); ?></label>
2565
+ </td>
2566
+ <td>
2567
+ <span style="display: table-cell;">
2568
+ <input id="<?php echo $prefix; ?>_start" class="spider_int_input" type="text" value="<?php echo $layer->start; ?>" name="<?php echo $prefix; ?>_start" /><?php _e('ms', 'wds'); ?>
2569
+ <div class="spider_description"><?php _e('Start', 'wds'); ?></div>
2570
+ </span>
2571
+ <span style="display: table-cell;">
2572
+ <select class="select_icon select_icon_320" name="<?php echo $prefix; ?>_layer_effect_in" id="<?php echo $prefix; ?>_layer_effect_in" style="width:150px;" onchange="wds_trans_effect_in('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery(this).val());">
2573
+ <?php
2574
+ foreach ($layer_effects_in as $key => $layer_effect_in) {
2575
+ ?>
2576
+ <option value="<?php echo $key; ?>" <?php echo (!in_array($key, $free_layer_effects)) ? 'disabled="disabled" title="'. __('This effect is disabled in free version.', 'wds') .'"' : ''; ?> <?php if ($layer->layer_effect_in == $key) echo 'selected="selected"'; ?>><?php echo $layer_effect_in; ?></option>
2577
+ <?php
2578
+ }
2579
+ ?>
2580
+ </select>
2581
+ <div class="spider_description"><?php _e('Effect', 'wds'); ?></div>
2582
+ </span>
2583
+ <span style="display: table-cell;">
2584
+ <input id="<?php echo $prefix; ?>_duration_eff_in" class="spider_int_input" type="text" onkeypress="return spider_check_isnum(event)" onchange="wds_trans_effect_in('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_in').val());" value="<?php echo $layer->duration_eff_in; ?>" name="<?php echo $prefix; ?>_duration_eff_in" /><?php _e('ms', 'wds'); ?>
2585
+ <div class="spider_description"><?php _e('Duration', 'wds'); ?></div>
2586
+ </span>
2587
+ <span style="display: table-cell;">
2588
+ <input id="<?php echo $prefix; ?>_infinite_in" type="text" name="<?php echo $prefix; ?>_infinite_in" value="<?php echo $layer->infinite_in; ?>" class="spider_int_input" title="0 for play infinte times" <?php echo ($layer->layer_effect_in == 'none') ? 'disabled="disabled"' : ''; ?> onchange="wds_trans_effect_in('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_in').val());" />
2589
+ <div class="spider_description"><?php _e('Iteration', 'wds'); ?></div>
2590
+ </span>
2591
+ <div class="spider_description spider_free_version"><?php _e('Some effects are disabled in free version.', 'wds'); ?></div>
2592
+ </td>
2593
+ </tr>
2594
+ <tr class="wds_layer_tr">
2595
+ <td class="spider_label">
2596
+ <label for="<?php echo $prefix; ?>_layer_effect_out"><?php _e('Effect Out:', 'wds'); ?></label>
2597
+ </td>
2598
+ <td>
2599
+ <span style="display: table-cell;">
2600
+ <input id="<?php echo $prefix; ?>_end" class="spider_int_input" type="text" value="<?php echo $layer->end; ?>" name="<?php echo $prefix; ?>_end"><?php _e('ms', 'wds'); ?>
2601
+ <div class="spider_description"><?php _e('Start', 'wds'); ?></div>
2602
+ </span>
2603
+ <span style="display: table-cell;">
2604
+ <select class="select_icon select_icon_320" name="<?php echo $prefix; ?>_layer_effect_out" id="<?php echo $prefix; ?>_layer_effect_out" style="width:150px;" onchange="wds_trans_effect_out('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery(this).val());">
2605
+ <?php
2606
+ foreach ($layer_effects_out as $key => $layer_effect_out) {
2607
+ ?>
2608
+ <option value="<?php echo $key; ?>" <?php echo (!in_array($key, $free_layer_effects)) ? 'disabled="disabled" title="'. __('This effect is disabled in free version.', 'wds') .'"' : ''; ?> <?php if ($layer->layer_effect_out == $key) echo 'selected="selected"'; ?>><?php echo $layer_effect_out; ?></option>
2609
+ <?php
2610
+ }
2611
+ ?>
2612
+ </select>
2613
+ <div class="spider_description"><?php _e('Effect', 'wds'); ?></div>
2614
+ </span>
2615
+ <span style="display: table-cell;">
2616
+ <input id="<?php echo $prefix; ?>_duration_eff_out" class="spider_int_input" type="text" onkeypress="return spider_check_isnum(event)" onchange="wds_trans_effect_out('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_out').val());" value="<?php echo $layer->duration_eff_out; ?>" name="<?php echo $prefix; ?>_duration_eff_out"><?php _e('ms', 'wds'); ?>
2617
+ <div class="spider_description"><?php _e('Duration', 'wds'); ?></div>
2618
+ </span>
2619
+ <span style="display: table-cell;">
2620
+ <input id="<?php echo $prefix; ?>_infinite_out" type="text" name="<?php echo $prefix; ?>_infinite_out" value="<?php echo $layer->infinite_out; ?>" class="spider_int_input" title="0 for play infinte times" <?php echo ($layer->layer_effect_out == 'none') ? 'disabled="disabled"' : ''; ?> onchange="wds_trans_effect_out('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 1); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_out').val());" />
2621
+ <div class="spider_description"><?php _e('Iteration', 'wds'); ?></div>
2622
+ </span>
2623
+ <div class="spider_description spider_free_version"><?php _e('Some effects are disabled in free version.', 'wds'); ?></div>
2624
+ </td>
2625
+ </tr>
2626
+ <tr class="wds_layer_tr">
2627
+ <td title="Use CSS type values." class="wds_tooltip spider_label">
2628
+ <label for="<?php echo $prefix; ?>_padding"><?php _e('Padding:', 'wds'); ?></label>
2629
+ </td>
2630
+ <td>
2631
+ <input id="<?php echo $prefix; ?>_padding" class="spider_char_input" type="text" onchange="document.getElementById('<?php echo $prefix; ?>').style.padding=jQuery(this).val();" value="<?php echo $layer->padding; ?>" name="<?php echo $prefix; ?>_padding">
2632
+ <div class="spider_description"></div>
2633
+ </td>
2634
+ </tr>
2635
+ <tr class="wds_layer_tr">
2636
+ <td class="spider_label">
2637
+ <label for="<?php echo $prefix; ?>_fbgcolor"><?php _e('Background Color:', 'wds'); ?></label>
2638
+ </td>
2639
+ <td>
2640
+ <input id="<?php echo $prefix; ?>_fbgcolor" class="color" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({backgroundColor: wds_hex_rgba(jQuery(this).val(), 100 - jQuery('#<?php echo $prefix; ?>_transparent').val())})" value="<?php echo $layer->fbgcolor; ?>" name="<?php echo $prefix; ?>_fbgcolor" />
2641
+ <div class="spider_description"></div>
2642
+ </td>
2643
+ </tr>
2644
+ <tr class="wds_layer_tr">
2645
+ <td title="Value must be between 0 to 100." class="wds_tooltip spider_label">
2646
+ <label for="<?php echo $prefix; ?>_transparent"><?php _e('Transparent:', 'wds'); ?></label>
2647
+ </td>
2648
+ <td>
2649
+ <input id="<?php echo $prefix; ?>_transparent" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({backgroundColor: wds_hex_rgba(jQuery('#<?php echo $prefix; ?>_fbgcolor').val(), 100 - jQuery(this).val())})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->transparent; ?>" name="<?php echo $prefix; ?>_transparent"> %
2650
+ <div class="spider_description"></div>
2651
+ </td>
2652
+ </tr>
2653
+ <tr class="wds_layer_tr">
2654
+ <td class="spider_label">
2655
+ <label for="<?php echo $prefix; ?>_border_width"><?php _e('Border:', 'wds'); ?></label>
2656
+ </td>
2657
+ <td>
2658
+ <input id="<?php echo $prefix; ?>_border_width" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({borderWidth: jQuery(this).val()})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->border_width; ?>" name="<?php echo $prefix; ?>_border_width"> px
2659
+ <select class="select_icon select_icon_320" id="<?php echo $prefix; ?>_border_style" onchange="jQuery('#<?php echo $prefix; ?>').css({borderStyle: jQuery(this).val()})" style="width: 80px;" name="<?php echo $prefix; ?>_border_style">
2660
+ <?php
2661
+ foreach ($border_styles as $key => $border_style) {
2662
+ ?>
2663
+ <option value="<?php echo $key; ?>" <?php echo (($layer->border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
2664
+ <?php
2665
+ }
2666
+ ?>
2667
+ </select>
2668
+ <input id="<?php echo $prefix; ?>_border_color" class="color" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({borderColor: '#' + jQuery(this).val()})" value="<?php echo $layer->border_color; ?>" name="<?php echo $prefix; ?>_border_color" />
2669
+ <div class="spider_description"></div>
2670
+ </td>
2671
+ </tr>
2672
+ <tr class="wds_layer_tr">
2673
+ <td title="<?php _e('Use CSS type values.', 'wds'); ?>" class="wds_tooltip spider_label">
2674
+ <label for="<?php echo $prefix; ?>_border_radius"><?php _e('Radius:', 'wds'); ?></label>
2675
+ </td>
2676
+ <td>
2677
+ <input id="<?php echo $prefix; ?>_border_radius" class="spider_char_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({borderRadius: jQuery(this).val()})" value="<?php echo $layer->border_radius; ?>" name="<?php echo $prefix; ?>_border_radius">
2678
+ <div class="spider_description"></div>
2679
+ </td>
2680
+ </tr>
2681
+ <tr class="wds_layer_tr">
2682
+ <td title="<?php _e('Use CSS type values (e.g. 10px 10px 5px #888888).', 'wds'); ?>" class="wds_tooltip spider_label">
2683
+ <label for="<?php echo $prefix; ?>_shadow"><?php _e('Shadow:', 'wds'); ?></label>
2684
+ </td>
2685
+ <td>
2686
+ <input id="<?php echo $prefix; ?>_shadow" class="spider_char_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({boxShadow: jQuery(this).val()})" value="<?php echo $layer->shadow; ?>" name="<?php echo $prefix; ?>_shadow" />
2687
+ </td>
2688
+ </tr>
2689
+ <tr class="wds_layer_tr" >
2690
+ <td title="<?php _e('Add class', 'wds'); ?>" class="wds_tooltip spider_label">
2691
+ <label for="<?php echo $prefix; ?>_add_class"><?php _e('Add class:', 'wds'); ?></label>
2692
+ </td>
2693
+ <td>
2694
+ <input id="<?php echo $prefix; ?>_add_class" class="spider_char_input" type="text" value="<?php echo $layer->add_class; ?>" name="<?php echo $prefix; ?>_add_class" />
2695
+ </td>
2696
+ </tr>
2697
+ <tr class="wds_layer_tr" >
2698
+ <td class="spider_label">
2699
+ <label for="<?php echo $prefix; ?>_text_alignment"><?php _e('Text alignment:', 'wds'); ?></label>
2700
+ </td>
2701
+ <td>
2702
+ <select class="select_icon select_icon_320" style="width:70px" id="<?php echo $prefix; ?>_text_alignment" onchange="jQuery('#<?php echo $prefix; ?>').css({textAlign: jQuery(this).val()})" name="<?php echo $prefix; ?>_text_alignment">
2703
+ <?php
2704
+ foreach ($text_alignments as $key => $text_alignment) {
2705
+ ?>
2706
+ <option value="<?php echo $key; ?>" <?php echo (($layer->text_alignment == $key) ? 'selected="selected"' : ''); ?>><?php echo $text_alignment; ?></option>
2707
+ <?php
2708
+ }
2709
+ ?>
2710
+ </select>
2711
+ <div class="spider_description"></div>
2712
+ </td>
2713
+ </tr>
2714
+ </table>
2715
+ </td>
2716
+ </tr>
2717
+ <?php
2718
+ break;
2719
+ }
2720
+ /*--------image layer----------*/
2721
+ case 'image': {
2722
+ ?>
2723
+ <tr style="display:none">
2724
+ <td>
2725
+ <table class="layer_table_left">
2726
+ <tr class="wds_layer_tr" >
2727
+ <td class="spider_label">
2728
+ <label for="<?php echo $prefix; ?>_static_layer"><?php _e('Static layer:', 'wds'); ?></label>
2729
+ </td>
2730
+ <td>
2731
+ <input id="<?php echo $prefix; ?>_static_layer" type="checkbox" name="<?php echo $prefix; ?>_static_layer" <?php echo checked(1, $layer->static_layer); ?> value="1" />
2732
+ <div class="spider_description"><?php _e('The layer will be visible on all slides.', 'wds'); ?></div>
2733
+ </td>
2734
+ </tr>
2735
+ <tr class="wds_layer_tr">
2736
+ <td title="<?php _e('Set width and height of the image.', 'wds'); ?>" class="wds_tooltip spider_label">
2737
+ <label><?php _e('Dimensions:', 'wds'); ?></label>
2738
+ </td>
2739
+ <td>
2740
+ <input type="hidden" name="<?php echo $prefix; ?>_image_url" id="<?php echo $prefix; ?>_image_url" value="<?php echo $layer->image_url; ?>" />
2741
+ <input id="<?php echo $prefix; ?>_image_width" class="spider_int_input" type="text" onkeyup="wds_scale('#<?php echo $prefix; ?>_image_scale', '<?php echo $prefix; ?>')" value="<?php echo $layer->image_width; ?>" name="<?php echo $prefix; ?>_image_width" /> x
2742
+ <input id="<?php echo $prefix; ?>_image_height" class="spider_int_input" type="text" onkeyup="wds_scale('#<?php echo $prefix; ?>_image_scale', '<?php echo $prefix; ?>')" value="<?php echo $layer->image_height; ?>" name="<?php echo $prefix; ?>_image_height" /> px
2743
+ <input id="<?php echo $prefix; ?>_image_scale" type="checkbox" onchange="wds_scale(this, '<?php echo $prefix; ?>')" name="<?php echo $prefix; ?>_image_scale" <?php echo (($layer->image_scale) ? 'checked="checked"' : ''); ?> /><label for="<?php echo $prefix; ?>_image_scale"><?php _e('Scale', 'wds'); ?></label>
2744
+ <input class="wds_not_image_buttons_grey wds_free_button" type="button" value="Edit Image" onclick="alert('<?php echo $functionality_disabled_version; ?>')" />
2745
+ </td>
2746
+ </tr>
2747
+ <tr class="wds_layer_tr" >
2748
+ <td title="<?php _e('Set the HTML attribute specified in the IMG tag.', 'wds'); ?>" class="wds_tooltip spider_label">
2749
+ <label for="<?php echo $prefix; ?>_alt"><?php _e('Alt:', 'wds'); ?></label>
2750
+ </td>
2751
+ <td>
2752
+ <input id="<?php echo $prefix; ?>_alt" type="text" size="39" value="<?php echo $layer->alt; ?>" name="<?php echo $prefix; ?>_alt" />
2753
+ </td>
2754
+ </tr>
2755
+ <tr class="wds_layer_tr" >
2756
+ <td title="<?php _e('Use http:// and https:// for external links.', 'wds'); ?>" class="wds_tooltip spider_label">
2757
+ <label for="<?php echo $prefix; ?>_link"><?php _e('Link:', 'wds'); ?></label>
2758
+ </td>
2759
+ <td>
2760
+ <input id="<?php echo $prefix; ?>_link" type="text" size="39" value="<?php echo $layer->link; ?>" name="<?php echo $prefix; ?>_link" />
2761
+ <input id="<?php echo $prefix; ?>_target_attr_layer" type="checkbox" name="<?php echo $prefix; ?>_target_attr_layer" <?php echo (($layer->target_attr_layer) ? 'checked="checked"' : ''); ?> value="1" /><label for="<?php echo $prefix; ?>_target_attr_layer"> <?php _e('Open in a new window', 'wds'); ?></label>
2762
+ </td>
2763
+ </tr>
2764
+ <tr class="wds_layer_tr" >
2765
+ <td title="<?php _e('In addition you can drag and drop the layer to a desired position.', 'wds'); ?>" class="wds_tooltip spider_label">
2766
+ <label><?php _e('Position:', 'wds'); ?></label>
2767
+ </td>
2768
+ <td>
2769
+ X <input id="<?php echo $prefix; ?>_left" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({left: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->left; ?>" name="<?php echo $prefix; ?>_left" />
2770
+ Y <input id="<?php echo $prefix; ?>_top" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({top: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->top; ?>" name="<?php echo $prefix; ?>_top" />
2771
+ </td>
2772
+ </tr>
2773
+ <tr class="wds_layer_tr" >
2774
+ <td title="Value must be between 0 to 100." class="wds_tooltip spider_label">
2775
+ <label for="<?php echo $prefix; ?>_imgtransparent"><?php _e('Transparent:', 'wds'); ?></label>
2776
+ </td>
2777
+ <td>
2778
+ <input id="<?php echo $prefix; ?>_imgtransparent" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({opacity: (100 - jQuery(this).val()) / 100, filter: 'Alpha(opacity=' + 100 - jQuery(this).val() + ')'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->imgtransparent; ?>" name="<?php echo $prefix; ?>_imgtransparent"> %
2779
+ </td>
2780
+ </tr>
2781
+ <tr class="wds_layer_tr" >
2782
+ <td class="spider_label">
2783
+ <label><?php _e('Published:', 'wds'); ?></label>
2784
+ </td>
2785
+ <td>
2786
+ <input id="<?php echo $prefix; ?>_published1" type="radio" name="<?php echo $prefix; ?>_published" value="1" <?php echo (($layer->published) ? 'checked="checked"' : ''); ?> />
2787
+ <label for="<?php echo $prefix; ?>_published1"><?php _e('Yes', 'wds'); ?></label>
2788
+ <input id="<?php echo $prefix; ?>_published0" type="radio" name="<?php echo $prefix; ?>_published" value="0" <?php echo (($layer->published) ? '' : 'checked="checked"'); ?>/>
2789
+ <label for="<?php echo $prefix; ?>_published0"><?php _e('No', 'wds'); ?></label>
2790
+ <div class="spider_description"></div>
2791
+ </td>
2792
+ </tr>
2793
+ </table>
2794
+ <table class="layer_table_right">
2795
+ <tr class="wds_layer_tr">
2796
+ <td class="spider_label">
2797
+ <label for="<?php echo $prefix; ?>_layer_effect_in"><?php _e('Effect In:', 'wds'); ?></label>
2798
+ </td>
2799
+ <td>
2800
+ <span style="display: table-cell;">
2801
+ <input id="<?php echo $prefix; ?>_start" class="spider_int_input" type="text" value="<?php echo $layer->start; ?>" name="<?php echo $prefix; ?>_start" /><?php _e('ms', 'wds'); ?>
2802
+ <div class="spider_description"><?php _e('Start', 'wds'); ?></div>
2803
+ </span>
2804
+ <span style="display: table-cell;">
2805
+ <select name="<?php echo $prefix; ?>_layer_effect_in" id="<?php echo $prefix; ?>_layer_effect_in" style="width:150px;" onchange="wds_trans_effect_in('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery(this).val());">
2806
+ <?php
2807
+ foreach ($layer_effects_in as $key => $layer_effect_in) {
2808
+ ?>
2809
+ <option value="<?php echo $key; ?>" <?php echo (!in_array($key, $free_layer_effects)) ? 'disabled="disabled" title="'. __('This effect is disabled in free version.', 'wds') .'"' : ''; ?> <?php if ($layer->layer_effect_in == $key) echo 'selected="selected"'; ?>><?php echo $layer_effect_in; ?></option>
2810
+ <?php
2811
+ }
2812
+ ?>
2813
+ </select>
2814
+ <div class="spider_description"><?php _e('Effect', 'wds'); ?></div>
2815
+ </span>
2816
+ <span style="display: table-cell;">
2817
+ <input id="<?php echo $prefix; ?>_duration_eff_in" class="spider_int_input" type="text" onkeypress="return spider_check_isnum(event)" onchange="wds_trans_effect_in('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_in').val());" value="<?php echo $layer->duration_eff_in; ?>" name="<?php echo $prefix; ?>_duration_eff_in" /><?php _e('ms', 'wds'); ?>
2818
+ <div class="spider_description"><?php _e('Duration', 'wds'); ?></div>
2819
+ </span>
2820
+ <span style="display: table-cell;">
2821
+ <input id="<?php echo $prefix; ?>_infinite_in" type="text" name="<?php echo $prefix; ?>_infinite_in" value="<?php echo $layer->infinite_in; ?>" class="spider_int_input" title="0 for play infinte times" <?php echo ($layer->layer_effect_in == 'none') ? 'disabled="disabled"' : ''; ?> onchange="wds_trans_effect_in('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_in').val());" />
2822
+ <div class="spider_description"><?php _e('Iteration', 'wds'); ?></div>
2823
+ </span>
2824
+ <div class="spider_description spider_free_version"><?php _e('Some effects are disabled in free version.', 'wds'); ?></div>
2825
+ </td>
2826
+ </tr>
2827
+ <tr class="wds_layer_tr" >
2828
+ <td class="spider_label">
2829
+ <label for="<?php echo $prefix; ?>_layer_effect_out"><?php _e('Effect Out:', 'wds'); ?></label>
2830
+ </td>
2831
+ <td>
2832
+ <span style="display: table-cell;">
2833
+ <input id="<?php echo $prefix; ?>_end" class="spider_int_input" type="text" value="<?php echo $layer->end; ?>" name="<?php echo $prefix; ?>_end"><?php _e('ms', 'wds'); ?>
2834
+ <div class="spider_description"><?php _e('Start', 'wds'); ?></div>
2835
+ </span>
2836
+ <span style="display: table-cell;">
2837
+ <select name="<?php echo $prefix; ?>_layer_effect_out" id="<?php echo $prefix; ?>_layer_effect_out" style="width:150px;" onchange="wds_trans_effect_out('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery(this).val());">
2838
+ <?php
2839
+ foreach ($layer_effects_out as $key => $layer_effect_out) {
2840
+ ?>
2841
+ <option value="<?php echo $key; ?>" <?php echo (!in_array($key, $free_layer_effects)) ? 'disabled="disabled" title="'. __('This effect is disabled in free version.', 'wds'). '"' : ''; ?> <?php if ($layer->layer_effect_out == $key) echo 'selected="selected"'; ?>><?php echo $layer_effect_out; ?></option>
2842
+ <?php
2843
+ }
2844
+ ?>
2845
+ </select>
2846
+ <div class="spider_description"><?php _e('Effect', 'wds'); ?></div>
2847
+ </span>
2848
+ <span style="display: table-cell;">
2849
+ <input id="<?php echo $prefix; ?>_duration_eff_out" class="spider_int_input" type="text" onkeypress="return spider_check_isnum(event)" onchange="wds_trans_effect_out('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_out').val());" value="<?php echo $layer->duration_eff_out; ?>" name="<?php echo $prefix; ?>_duration_eff_out"><?php _e('ms', 'wds'); ?>
2850
+ <div class="spider_description"><?php _e('Duration', 'wds'); ?></div>
2851
+ </span>
2852
+ <span style="display: table-cell;">
2853
+ <input id="<?php echo $prefix; ?>_infinite_out" type="text" name="<?php echo $prefix; ?>_infinite_out" value="<?php echo $layer->infinite_out; ?>" class="spider_int_input" title="0 for play infinte times" <?php echo ($layer->layer_effect_out == 'none') ? 'disabled="disabled"' : ''; ?> onchange="wds_trans_effect_out('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 1); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_out').val());" />
2854
+ <div class="spider_description"><?php _e('Iteration', 'wds'); ?></div>
2855
+ </span>
2856
+ <div class="spider_description spider_free_version"><?php _e('Some effects are disabled in free version.', 'wds'); ?></div>
2857
+ </td>
2858
+ </tr>
2859
+ <tr class="wds_layer_tr">
2860
+ <td class="spider_label">
2861
+ <label for="<?php echo $prefix; ?>_border_width"><?php _e('Border:', 'wds'); ?></label>
2862
+ </td>
2863
+ <td>
2864
+ <input id="<?php echo $prefix; ?>_border_width" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({borderWidth: jQuery(this).val()})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->border_width; ?>" name="<?php echo $prefix; ?>_border_width"> px
2865
+ <select id="<?php echo $prefix; ?>_border_style" onchange="jQuery('#<?php echo $prefix; ?>').css({borderStyle: jQuery(this).val()})" style="width: 80px;" name="<?php echo $prefix; ?>_border_style">
2866
+ <?php
2867
+ foreach ($border_styles as $key => $border_style) {
2868
+ ?>
2869
+ <option value="<?php echo $key; ?>" <?php echo (($layer->border_style == $key) ? 'selected="selected"' : ''); ?>><?php echo $border_style; ?></option>
2870
+ <?php
2871
+ }
2872
+ ?>
2873
+ </select>
2874
+ <input id="<?php echo $prefix; ?>_border_color" class="color" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({borderColor: '#' + jQuery(this).val()})" value="<?php echo $layer->border_color; ?>" name="<?php echo $prefix; ?>_border_color" />
2875
+ <div class="spider_description"></div>
2876
+ </td>
2877
+ </tr>
2878
+ <tr class="wds_layer_tr">
2879
+ <td title="<?php _e('Use CSS type values.', 'wds'); ?>" class="wds_tooltip spider_label">
2880
+ <label for="<?php echo $prefix; ?>_border_radius"><?php _e('Radius:', 'wds'); ?></label>
2881
+ </td>
2882
+ <td>
2883
+ <input id="<?php echo $prefix; ?>_border_radius" class="spider_char_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({borderRadius: jQuery(this).val()})" value="<?php echo $layer->border_radius; ?>" name="<?php echo $prefix; ?>_border_radius">
2884
+ </td>
2885
+ </tr>
2886
+ <tr class="wds_layer_tr">
2887
+ <td class="wds_tooltip spider_label">
2888
+ <label for="<?php echo $prefix; ?>_shadow"><?php _e('Shadow:', 'wds'); ?></label>
2889
+ </td>
2890
+ <td>
2891
+ <input id="<?php echo $prefix; ?>_shadow" class="spider_char_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({boxShadow: jQuery(this).val()})" value="<?php echo $layer->shadow; ?>" name="<?php echo $prefix; ?>_shadow" />
2892
+ </td>
2893
+ </tr>
2894
+ <tr class="wds_layer_tr">
2895
+ <td title="<?php _e('Add class:', 'wds'); ?>" class="wds_tooltip spider_label">
2896
+ <label for="<?php echo $prefix; ?>_add_class"><?php _e('Add class:', 'wds'); ?></label>
2897
+ </td>
2898
+ <td>
2899
+ <input id="<?php echo $prefix; ?>_add_class" class="spider_char_input" type="text" value="<?php echo $layer->add_class; ?>" name="<?php echo $prefix; ?>_add_class" />
2900
+ </td>
2901
+ </tr>
2902
+ </table>
2903
+ </td>
2904
+ </tr>
2905
+ <?php
2906
+ break;
2907
+ }
2908
+ /*--------social button layer----------*/
2909
+ case 'social': {
2910
+ ?>
2911
+ <tr style="display:none">
2912
+ <td>
2913
+ <table class="layer_table_left">
2914
+ <tr class="wds_layer_tr">
2915
+ <td class="spider_label">
2916
+ <label for="<?php echo $prefix; ?>_static_layer"><?php _e('Static layer:', 'wds'); ?></label>
2917
+ </td>
2918
+ <td>
2919
+ <input id="<?php echo $prefix; ?>_static_layer" type="checkbox" name="<?php echo $prefix; ?>_static_layer" <?php echo checked(1, $layer->static_layer); ?> value="1" />
2920
+ <div class="spider_description"><?php _e('The layer will be visible on all slides.', 'wds'); ?></div>
2921
+ </td>
2922
+ </tr>
2923
+ <tr class="wds_layer_tr">
2924
+ <td title="<?php _e('In addition you can drag and drop the layer to a desired position.', 'wds'); ?>" class="wds_tooltip spider_label">
2925
+ <label><?php _e('Position:', 'wds'); ?></label>
2926
+ </td>
2927
+ <td>
2928
+ X <input id="<?php echo $prefix; ?>_left" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({left: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->left; ?>" name="<?php echo $prefix; ?>_left" />
2929
+ Y <input id="<?php echo $prefix; ?>_top" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({top: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->top; ?>" name="<?php echo $prefix; ?>_top" />
2930
+ <div class="spider_description"><?php _e('In addition you can drag and drop the layer to a desired position.', 'wds'); ?></div>
2931
+ </td>
2932
+ </tr>
2933
+ <tr class="wds_layer_tr">
2934
+ <td class="spider_label">
2935
+ <label for="<?php echo $prefix; ?>_social_button"><?php _e('Social button:', 'wds'); ?></label>
2936
+ </td>
2937
+ <td>
2938
+ <select id="<?php echo $prefix; ?>_social_button" onchange="jQuery('#<?php echo $prefix; ?>').attr('class', 'wds_draggable_<?php echo $slide_row->id; ?> wds_draggable fa fa-' + jQuery(this).val())" name="<?php echo $prefix; ?>_social_button">
2939
+ <?php
2940
+ foreach ($social_buttons as $key => $social_button) {
2941
+ ?>
2942
+ <option value="<?php echo $key; ?>" <?php echo (($layer->social_button == $key) ? 'selected="selected"' : ''); ?>><?php echo $social_button; ?></option>
2943
+ <?php
2944
+ }
2945
+ ?>
2946
+ </select>
2947
+ <div class="spider_description"></div>
2948
+ </td>
2949
+ </tr>
2950
+ <tr class="wds_layer_tr">
2951
+ <td class="spider_label">
2952
+ <label for="<?php echo $prefix; ?>_size"><?php _e('Size:', 'wds'); ?></label>
2953
+ </td>
2954
+ <td>
2955
+ <input id="<?php echo $prefix; ?>_size" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({fontSize: jQuery(this).val() + 'px', lineHeight: jQuery(this).val() + 'px'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->size; ?>" name="<?php echo $prefix; ?>_size" /> <?php _e('px', 'wds'); ?>
2956
+ <div class="spider_description"></div>
2957
+ </td>
2958
+ <td class="spider_label">
2959
+ <label for="<?php echo $prefix; ?>_color"><?php _e('Color:', 'wds'); ?></label>
2960
+ </td>
2961
+ <td>
2962
+ <input id="<?php echo $prefix; ?>_color" class="color" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({color: '#' + jQuery(this).val()})" value="<?php echo $layer->color; ?>" name="<?php echo $prefix; ?>_color" />
2963
+ <div class="spider_description"></div>
2964
+ </td>
2965
+ </tr>
2966
+ <tr class="wds_layer_tr" >
2967
+ <td class="spider_label">
2968
+ <label><?php _e('Published:', 'wds'); ?></label>
2969
+ </td>
2970
+ <td>
2971
+ <input id="<?php echo $prefix; ?>_published1" type="radio" name="<?php echo $prefix; ?>_published" value="1" <?php echo (($layer->published) ? 'checked="checked"' : ''); ?> />
2972
+ <label for="<?php echo $prefix; ?>_published1"><?php _e('Yes', 'wds'); ?></label>
2973
+ <input id="<?php echo $prefix; ?>_published0" type="radio" name="<?php echo $prefix; ?>_published" value="0" <?php echo (($layer->published) ? '' : 'checked="checked"'); ?>/>
2974
+ <label for="<?php echo $prefix; ?>_published0"><?php _e('No', 'wds'); ?></label>
2975
+ <div class="spider_description"></div>
2976
+ </td>
2977
+ </tr>
2978
+ </table>
2979
+ <table class="layer_table_right">
2980
+ <tr class="wds_layer_tr">
2981
+ <td class="spider_label">
2982
+ <label for="<?php echo $prefix; ?>_layer_effect_in"><?php _e('Effect In:', 'wds'); ?></label>
2983
+ </td>
2984
+ <td>
2985
+ <span style="display: table-cell;">
2986
+ <input id="<?php echo $prefix; ?>_start" class="spider_int_input" type="text" value="<?php echo $layer->start; ?>" name="<?php echo $prefix; ?>_start" /><?php _e('ms', 'wds'); ?>
2987
+ <div class="spider_description"><?php _e('Start', 'wds'); ?></div>
2988
+ </span>
2989
+ <span style="display: table-cell;">
2990
+ <select name="<?php echo $prefix; ?>_layer_effect_in" id="<?php echo $prefix; ?>_layer_effect_in" style="width:150px;" onchange="wds_trans_effect_in('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 1); wds_trans_end('<?php echo $prefix; ?>', jQuery(this).val());">
2991
+ <?php
2992
+ foreach ($layer_effects_in as $key => $layer_effect_in) {
2993
+ ?>
2994
+ <option value="<?php echo $key; ?>" <?php echo (!in_array($key, $free_layer_effects)) ? 'disabled="disabled" title="This effect is disabled in free version."' : ''; ?> <?php if ($layer->layer_effect_in == $key) echo 'selected="selected"'; ?>><?php echo $layer_effect_in; ?></option>
2995
+ <?php
2996
+ }
2997
+ ?>
2998
+ </select>
2999
+ <div class="spider_description"><?php _e('Effect', 'wds'); ?></div>
3000
+ </span>
3001
+ <span style="display: table-cell;">
3002
+ <input id="<?php echo $prefix; ?>_duration_eff_in" class="spider_int_input" type="text" onkeypress="return spider_check_isnum(event)" onchange="wds_trans_effect_in('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 1); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_in').val());" value="<?php echo $layer->duration_eff_in; ?>" name="<?php echo $prefix; ?>_duration_eff_in" /><?php _e('ms', 'wds'); ?>
3003
+ <div class="spider_description"><?php _e('Duration', 'wds'); ?></div>
3004
+ </span>
3005
+ <span style="display: table-cell;">
3006
+ <input id="<?php echo $prefix; ?>_infinite_in" type="text" name="<?php echo $prefix; ?>_infinite_in" value="<?php echo $layer->infinite_in; ?>" class="spider_int_input" title="0 for play infinte times" <?php echo ($layer->layer_effect_in == 'none') ? 'disabled="disabled"' : ''; ?> onchange="wds_trans_effect_in('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 0); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_in').val());" />
3007
+ <div class="spider_description"><?php _e('Iteration', 'wds'); ?></div>
3008
+ </span>
3009
+ <div class="spider_description spider_free_version"><?php _e('Some effects are disabled in free version.', 'wds'); ?></div>
3010
+ </td>
3011
+ </tr>
3012
+ <tr class="wds_layer_tr">
3013
+ <td class="spider_label">
3014
+ <label for="<?php echo $prefix; ?>_layer_effect_out"><?php _e('Effect Out:', 'wds'); ?></label>
3015
+ </td>
3016
+ <td>
3017
+ <span style="display: table-cell;">
3018
+ <input id="<?php echo $prefix; ?>_end" class="spider_int_input" type="text" value="<?php echo $layer->end; ?>" name="<?php echo $prefix; ?>_end"><?php _e('ms', 'wds'); ?>
3019
+ <div class="spider_description"><?php _e('Start', 'wds'); ?></div>
3020
+ </span>
3021
+ <span style="display: table-cell;">
3022
+ <select name="<?php echo $prefix; ?>_layer_effect_out" id="<?php echo $prefix; ?>_layer_effect_out" style="width:150px;" onchange="wds_trans_effect_out('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 1); wds_trans_end('<?php echo $prefix; ?>', jQuery(this).val());">
3023
+ <?php
3024
+ foreach ($layer_effects_out as $key => $layer_effect_out) {
3025
+ ?>
3026
+ <option value="<?php echo $key; ?>" <?php echo (!in_array($key, $free_layer_effects)) ? 'disabled="disabled" title="'. __('This effect is disabled in free version.', 'wds') .'"' : ''; ?> <?php if ($layer->layer_effect_out == $key) echo 'selected="selected"'; ?>><?php echo $layer_effect_out; ?></option>
3027
+ <?php
3028
+ }
3029
+ ?>
3030
+ </select>
3031
+ <div class="spider_description"><?php _e('Effect', 'wds'); ?></div>
3032
+ </span>
3033
+ <span style="display: table-cell;">
3034
+ <input id="<?php echo $prefix; ?>_duration_eff_out" class="spider_int_input" type="text" onkeypress="return spider_check_isnum(event)" onchange="wds_trans_effect_out('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 1); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_out').val());" value="<?php echo $layer->duration_eff_out; ?>" name="<?php echo $prefix; ?>_duration_eff_out"><?php _e('ms', 'wds'); ?>
3035
+ <div class="spider_description"><?php _e('Duration', 'wds'); ?></div>
3036
+ </span>
3037
+ <span style="display: table-cell;">
3038
+ <input id="<?php echo $prefix; ?>_infinite_out" type="text" name="<?php echo $prefix; ?>_infinite_out" value="<?php echo $layer->infinite_out; ?>" class="spider_int_input" title="0 for play infinte times" <?php echo ($layer->layer_effect_out == 'none') ? 'disabled="disabled"' : ''; ?> onchange="wds_trans_effect_out('<?php echo $slide_row->id; ?>', '<?php echo $prefix; ?>', 1); wds_trans_end('<?php echo $prefix; ?>', jQuery('#<?php echo $prefix; ?>_layer_effect_out').val());" />
3039
+ <div class="spider_description"><?php _e('Iteration', 'wds'); ?></div>
3040
+ </span>
3041
+ <div class="spider_description spider_free_version"><?php _e('Some effects are disabled in free version.', 'wds'); ?></div>
3042
+ </td>
3043
+ </tr>
3044
+ <tr class="wds_layer_tr">
3045
+ <td class="spider_label">
3046
+ <label for="<?php echo $prefix; ?>_transparent"><?php _e('Transparent:', 'wds'); ?></label>
3047
+ </td>
3048
+ <td>
3049
+ <input id="<?php echo $prefix; ?>_transparent" class="spider_int_input" type="text" onchange="jQuery('#<?php echo $prefix; ?>').css({opacity: (100 - jQuery(this).val()) / 100, filter: 'Alpha(opacity=' + 100 - jQuery(this).val() + ')'})" onkeypress="return spider_check_isnum(event)" value="<?php echo $layer->transparent; ?>" name="<?php echo $prefix; ?>_transparent" /> %
3050
+ <div class="spider_description"><?php _e('Value must be between 0 to 100.', 'wds'); ?></div>
3051
+ </td>
3052
+ <td class="spider_label">
3053
+ <label for="<?php echo $prefix; ?>_hover_color"><?php _e('Hover Color:', 'wds'); ?></label>
3054
+ </td>
3055
+ <td>
3056
+ <input id="<?php echo $prefix; ?>_hover_color" class="color" type="text" value="<?php echo $layer->hover_color; ?>" name="<?php echo $prefix; ?>_hover_color" />
3057
+ <div class="spider_description"></div>
3058
+ </td>
3059
+ </tr>
3060
+ <tr class="wds_layer_tr" >
3061
+ <td title="Add class" class="wds_tooltip spider_label">
3062
+ <label for="<?php echo $prefix; ?>_add_class"><?php _e('Add class:', 'wds'); ?></label>
3063
+ </td>
3064
+ <td>
3065
+ <input id="<?php echo $prefix; ?>_add_class" class="spider_char_input" type="text" value="<?php echo $layer->add_class; ?>" name="<?php echo $prefix; ?>_add_class" />
3066
+ </td>
3067
+ </tr>
3068
+ </table>
3069
+ </td>
3070
+ </tr>
3071
+ <?php
3072
+ break;
3073
+ }
3074
+ default:
3075
+ break;
3076
+ }
3077
+ ?>
3078
+ <input type="hidden" name="<?php echo $prefix; ?>_type" id="<?php echo $prefix; ?>_type" value="<?php echo $layer->type; ?>" />
3079
+ </tbody>
3080
+ <?php
3081
+ $layer_ids_string .= $layer->id . ',';
3082
+ }
3083
+ }
3084
+ ?>
3085
+ </table>
3086
+ <input id="slide<?php echo $slide_row->id; ?>_layer_ids_string" name="slide<?php echo $slide_row->id; ?>_layer_ids_string" type="hidden" value="<?php echo $layer_ids_string; ?>" />
3087
+ <input id="slide<?php echo $slide_row->id; ?>_del_layer_ids_string" name="slide<?php echo $slide_row->id; ?>_del_layer_ids_string" type="hidden" value="" />
3088
+ </div>
3089
+ <script>
3090
+ jQuery(document).ready(function() {
3091
+ image_for_next_prev_butt('<?php echo $row->rl_butt_img_or_not; ?>');
3092
+ image_for_bull_butt('<?php echo $row->bull_butt_img_or_not; ?>');
3093
+ image_for_play_pause_butt('<?php echo $row->play_paus_butt_img_or_not; ?>');
3094
+ showhide_for_carousel_fildes('<?php echo $row->carousel; ?>');
3095
+ wds_whr('width');
3096
+ wds_drag_layer('<?php echo $slide_row->id; ?>');
3097
+ wds_layer_weights('<?php echo $slide_row->id; ?>');
3098
+ <?php
3099
+ if ($layers_row) {
3100
+ foreach ($layers_row as $key => $layer) {
3101
+ if ($layer->type == 'image') {
3102
+ $prefix = 'slide' . $slide_row->id . '_layer' . $layer->id;
3103
+ ?>
3104
+ wds_scale('#<?php echo $prefix; ?>_image_scale', '<?php echo $prefix; ?>');
3105
+ <?php
3106
+ }
3107
+ if ($layer->type == 'text') {
3108
+ $prefix = 'slide' . $slide_row->id . '_layer' . $layer->id;
3109
+ ?>
3110
+ jQuery('#<?php echo $prefix; ?>').hover(
3111
+ function() {
3112
+ jQuery(this).css({
3113
+ color: '#' + jQuery('#<?php echo $prefix; ?>_hover_color_text').val()
3114
+ });
3115
+ },
3116
+ function() {
3117
+ jQuery(this).css({
3118
+ color: '#' + jQuery('#<?php echo $prefix; ?>_color').val()
3119
+ });
3120
+ }
3121
+ );
3122
+ <?php
3123
+ }
3124
+ if ($layer->type == 'social') {
3125
+ $prefix = 'slide' . $slide_row->id . '_layer' . $layer->id;
3126
+ ?>
3127
+ jQuery('#<?php echo $prefix; ?>').hover(
3128
+ function() {
3129
+ jQuery(this).css({
3130
+ color: '#' + jQuery('#<?php echo $prefix; ?>_hover_color').val()
3131
+ });
3132
+ },
3133
+ function() {
3134
+ jQuery(this).css({
3135
+ color: '#' + jQuery('#<?php echo $prefix; ?>_color').val()
3136
+ });
3137
+ }
3138
+ );
3139
+ <?php
3140
+ }
3141
+ }
3142
+ }
3143
+ ?>
3144
+ });
3145
+ </script>
3146
+ <?php
3147
+ $slide_ids_string .= $slide_row->id . ',';
3148
+ }
3149
+ ?>
3150
+ </td>
3151
+ </tr>
3152
+ </tbody>
3153
+ </table>
3154
+ </div>
3155
+ </div>
3156
+ <div class="wds_task_cont">
3157
+ <input id="current_id" name="current_id" type="hidden" value="<?php echo $row->id; ?>" />
3158
+ <input id="save_as_copy" name="save_as_copy" type="hidden" value="" />
3159
+ <input id="slide_ids_string" name="slide_ids_string" type="hidden" value="<?php echo $slide_ids_string; ?>" />
3160
+ <input id="del_slide_ids_string" name="del_slide_ids_string" type="hidden" value="" />
3161
+ <input id="nav_tab" name="nav_tab" type="hidden" value="<?php echo WDW_S_Library::get('nav_tab', 'global'); ?>" />
3162
+ <input id="tab" name="tab" type="hidden" value="<?php echo WDW_S_Library::get('tab', 'slides'); ?>" />
3163
+ <input id="sub_tab" name="sub_tab" type="hidden" value="<?php echo $sub_tab_type; ?>" />
3164
+ <script>
3165
+ var spider_uploader = <?php echo $spider_uploader; ?>;
3166
+ </script>
3167
+ </div>
3168
+ <input id="task" name="task" type="hidden" value="" />
3169
+ <script>
3170
+ var wds_preview_url = "<?php echo add_query_arg(array('action' => 'WDSPreview', 'slider_id' => $id ? $id : 'sliderID', 'width' => '700', 'height' => '550', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>";
3171
+ var uploader_href = '<?php echo add_query_arg(array('callback' => 'wds_add_image', 'image_for' => 'add_update_slide', 'slide_id' => 'slideID', 'layer_id' => 'layerID', 'TB_iframe' => '1'), $query_url); ?>';
3172
+ var fv = '<?php echo $fv; ?>';
3173
+ jQuery(document).ready(function() {
3174
+ wds_onload();
3175
+ });
3176
+ jQuery("#sliders_form").on("click", "a", function(e) {
3177
+ e.preventDefault();
3178
+ });
3179
+ jQuery(".wds_tab_title").keyup(function (e) {
3180
+ var code = e.which;
3181
+ if (code == 13) {
3182
+ jQuery(".wds_sub_active .wds_tab_title").blur();
3183
+ jQuery(".wds_tab_title_wrap").removeClass("wds_sub_active");
3184
+ }
3185
+ });
3186
+ var plugin_dir = '<?php echo WD_S_URL . "/images/sliderwdpng/"; ?>';
3187
+ </script>
3188
+ <div class="opacity_add_image_url opacity_add_video wds_opacity_video" onclick="jQuery('.opacity_add_video').hide();jQuery('.opacity_add_image_url').hide();"></div>
3189
+ <div class="opacity_add_video wds_add_video">
3190
+ <input type="text" id="video_url" name="video_url" value="" />
3191
+ <input type="button" id="add_video_button" class="wds_not_image_buttons" value="<?php _e('Add', 'wds'); ?>" />
3192
+ <input type="button" class="wds_not_image_buttons_grey" onclick="jQuery('.opacity_add_video').hide(); return false;" value="<?php _e('Cancel', 'wds'); ?>" />
3193
+ <div class="spider_description"><?php _e('Enter YouTube or Vimeo link here.', 'wds'); ?></div>
3194
+ </div>
3195
+ <div class="opacity_add_image_url wds_resize_image">
3196
+ <input type="text" id="image_url_input" name="image_url_input" value="" />
3197
+ <input type="button" id="add_image_url_button" class="wds_not_image_buttons" value="<?php _e('Add', 'wds'); ?>" />
3198
+ <input type="button" class="wds_not_image_buttons_grey" onclick="jQuery('.opacity_add_image_url').hide(); return false;" value="<?php _e('Cancel', 'wds'); ?>" />
3199
+ <div class="spider_description"><?php _e('Enter absolute url of the image.', 'wds'); ?></div>
3200
+ <input type="hidden" id="current_prefix" value="" />
3201
+ </div>
3202
+ </form>
3203
+ <?php
3204
+ }
3205
+
3206
+ ////////////////////////////////////////////////////////////////////////////////////////
3207
+ // Getters & Setters //
3208
+ ////////////////////////////////////////////////////////////////////////////////////////
3209
+ ////////////////////////////////////////////////////////////////////////////////////////
3210
+ // Private Methods //
3211
+ ////////////////////////////////////////////////////////////////////////////////////////
3212
+ ////////////////////////////////////////////////////////////////////////////////////////
3213
+ // Listeners //
3214
+ ////////////////////////////////////////////////////////////////////////////////////////
3215
  }
admin/views/WDSViewUninstall_wds.php CHANGED
@@ -1,118 +1,118 @@
1
- <?php
2
-
3
- class WDSViewUninstall_wds {
4
- ////////////////////////////////////////////////////////////////////////////////////////
5
- // Events //
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- // Constants //
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- // Variables //
12
- ////////////////////////////////////////////////////////////////////////////////////////
13
- private $model;
14
-
15
-
16
- ////////////////////////////////////////////////////////////////////////////////////////
17
- // Constructor & Destructor //
18
- ////////////////////////////////////////////////////////////////////////////////////////
19
- public function __construct($model) {
20
- $this->model = $model;
21
- }
22
- ////////////////////////////////////////////////////////////////////////////////////////
23
- // Public Methods //
24
- ////////////////////////////////////////////////////////////////////////////////////////
25
- public function display() {
26
- global $wpdb;
27
- $prefix = $wpdb->prefix;
28
- ?>
29
- <form class="wds_form" method="post" action="admin.php?page=uninstall_wds" style="width:99%;">
30
- <?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
31
- <div class="wrap">
32
- <span class="uninstall_icon"></span>
33
- <h2><?php _e('Uninstall Slider WD', 'wds'); ?></h2>
34
- <div class="goodbye-text">
35
- <?php
36
- $support_team = '<a href="https://web-dorado.com/support/contact-us.html?source=slider-wd" target="_blank">' . __('support team', 'wde') . '</a>';
37
- $contact_us = '<a href="https://web-dorado.com/support/contact-us.html?source=slider-wd" target="_blank">' . __('Contact us', 'wde') . '</a>';
38
- echo sprintf(__("Before uninstalling the plugin, please Contact our %s. We'll do our best to help you out with your issue. We value each and every user and value what's right for our users in everything we do.<br />
39
- However, if anyway you have made a decision to uninstall the plugin, please take a minute to %s and tell what you didn't like for our plugins further improvement and development. Thank you !!!", "wde"), $support_team, $contact_us); ?>
40
- </div>
41
- <p><?php _e('Deactivating Slider WD plugin does not remove any data that may have been created. To completely remove this plugin, you can uninstall it here.', 'wds'); ?></p>
42
- <p style="color: red;">
43
- <strong><?php _e('WARNING:', 'wds'); ?></strong>
44
- <?php _e('Once uninstalled, this can&rsquo;t be undone. You should use a Database Backup plugin of WordPress to back up all the data first.', 'wds'); ?>
45
- </p>
46
- <p style="color: red">
47
- <strong><?php _e('The following Database Tables will be deleted:', 'wds'); ?></strong>
48
- </p>
49
- <table class="widefat">
50
- <thead>
51
- <tr>
52
- <th><?php _e('Database Tables', 'wds'); ?></th>
53
- </tr>
54
- </thead>
55
- <tr>
56
- <td valign="top">
57
- <ol>
58
- <li><?php echo $prefix; ?>wdsslider</li>
59
- <li><?php echo $prefix; ?>wdsslide</li>
60
- <li><?php echo $prefix; ?>wdslayer</li>
61
- </ol>
62
- </td>
63
- </tr>
64
- </table>
65
- <p style="text-align: center;"><?php _e('Do you really want to uninstall Slider WD plugin?', 'wds'); ?></p>
66
- <p style="text-align: center;">
67
- <input type="checkbox" name="Slider WD" id="check_yes" value="yes" />&nbsp;<label for="check_yes"><?php _e('Yes', 'wds'); ?></label>
68
- </p>
69
- <p style="text-align: center;">
70
- <input type="submit" value="<?php _e('UNINSTALL', 'wds'); ?>" class="button-primary" onclick="if (check_yes.checked) {
71
- if (confirm('<?php _e("You are About to Uninstall Slider WD plugin from WordPress.", 'wds');?>\n<?php _e("This Action Is Not Reversible.", 'wds');?>')) {
72
- spider_set_input_value('task', 'uninstall');
73
- } else {
74
- return false;
75
- }
76
- }
77
- else {
78
- return false;
79
- }" />
80
- </p>
81
- </div>
82
- <input id="task" name="task" type="hidden" value="" />
83
- </form>
84
- <?php
85
- }
86
-
87
- public function uninstall() {
88
- $flag = TRUE;
89
- global $wpdb;
90
- $this->model->delete_db_tables();
91
- $prefix = $wpdb->prefix;
92
- $deactivate_url = add_query_arg(array('action' => 'deactivate', 'plugin' => WD_S_NAME . '/slider-wd.php'), admin_url('plugins.php'));
93
- $deactivate_url = wp_nonce_url($deactivate_url, 'deactivate-plugin_' . WD_S_NAME . '/slider-wd.php');
94
- ?>
95
- <div id="message" class="wd_updated fade">
96
- <p><?php _e("The following Database Tables successfully deleted:", 'wds'); ?></p>
97
- <p><?php echo $prefix; ?>wdsslider,</p>
98
- <p><?php echo $prefix; ?>wdsslide,</p>
99
- <p><?php echo $prefix; ?>wdslayer.</p>
100
- </div>
101
- <div class="wrap">
102
- <h2><?php _e("Uninstall Slider WD", 'wds'); ?></h2>
103
- <p><strong><a href="<?php echo $deactivate_url; ?>" class="wds_deactivate_link" data-uninstall="1"><?php _e("Click Here", 'wds'); ?></a> <?php _e("To Finish the Uninstallation and Slider WD will be Deactivated Automatically.", 'wds'); ?></strong></p>
104
- <input id="task" name="task" type="hidden" value="" />
105
- </div>
106
- <?php
107
- }
108
-
109
- ////////////////////////////////////////////////////////////////////////////////////////
110
- // Getters & Setters //
111
- ////////////////////////////////////////////////////////////////////////////////////////
112
- ////////////////////////////////////////////////////////////////////////////////////////
113
- // Private Methods //
114
- ////////////////////////////////////////////////////////////////////////////////////////
115
- ////////////////////////////////////////////////////////////////////////////////////////
116
- // Listeners //
117
- ////////////////////////////////////////////////////////////////////////////////////////
118
  }
1
+ <?php
2
+
3
+ class WDSViewUninstall_wds {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $model;
14
+
15
+
16
+ ////////////////////////////////////////////////////////////////////////////////////////
17
+ // Constructor & Destructor //
18
+ ////////////////////////////////////////////////////////////////////////////////////////
19
+ public function __construct($model) {
20
+ $this->model = $model;
21
+ }
22
+ ////////////////////////////////////////////////////////////////////////////////////////
23
+ // Public Methods //
24
+ ////////////////////////////////////////////////////////////////////////////////////////
25
+ public function display() {
26
+ global $wpdb;
27
+ $prefix = $wpdb->prefix;
28
+ ?>
29
+ <form class="wds_form" method="post" action="admin.php?page=uninstall_wds" style="width:99%;">
30
+ <?php wp_nonce_field('nonce_wd', 'nonce_wd'); ?>
31
+ <div class="wrap">
32
+ <span class="uninstall_icon"></span>
33
+ <h2><?php _e('Uninstall Slider WD', 'wds'); ?></h2>
34
+ <div class="goodbye-text">
35
+ <?php
36
+ $support_team = '<a href="https://web-dorado.com/support/contact-us.html?source=slider-wd" target="_blank">' . __('support team', 'wde') . '</a>';
37
+ $contact_us = '<a href="https://web-dorado.com/support/contact-us.html?source=slider-wd" target="_blank">' . __('Contact us', 'wde') . '</a>';
38
+ echo sprintf(__("Before uninstalling the plugin, please Contact our %s. We'll do our best to help you out with your issue. We value each and every user and value what's right for our users in everything we do.<br />
39
+ However, if anyway you have made a decision to uninstall the plugin, please take a minute to %s and tell what you didn't like for our plugins further improvement and development. Thank you !!!", "wde"), $support_team, $contact_us); ?>
40
+ </div>
41
+ <p><?php _e('Deactivating Slider WD plugin does not remove any data that may have been created. To completely remove this plugin, you can uninstall it here.', 'wds'); ?></p>
42
+ <p style="color: red;">
43
+ <strong><?php _e('WARNING:', 'wds'); ?></strong>
44
+ <?php _e('Once uninstalled, this can&rsquo;t be undone. You should use a Database Backup plugin of WordPress to back up all the data first.', 'wds'); ?>
45
+ </p>
46
+ <p style="color: red">
47
+ <strong><?php _e('The following Database Tables will be deleted:', 'wds'); ?></strong>
48
+ </p>
49
+ <table class="widefat">
50
+ <thead>
51
+ <tr>
52
+ <th><?php _e('Database Tables', 'wds'); ?></th>
53
+ </tr>
54
+ </thead>
55
+ <tr>
56
+ <td valign="top">
57
+ <ol>
58
+ <li><?php echo $prefix; ?>wdsslider</li>
59
+ <li><?php echo $prefix; ?>wdsslide</li>
60
+ <li><?php echo $prefix; ?>wdslayer</li>
61
+ </ol>
62
+ </td>
63
+ </tr>
64
+ </table>
65
+ <p style="text-align: center;"><?php _e('Do you really want to uninstall Slider WD plugin?', 'wds'); ?></p>
66
+ <p style="text-align: center;">
67
+ <input type="checkbox" name="Slider WD" id="check_yes" value="yes" />&nbsp;<label for="check_yes"><?php _e('Yes', 'wds'); ?></label>
68
+ </p>
69
+ <p style="text-align: center;">
70
+ <input type="submit" value="<?php _e('UNINSTALL', 'wds'); ?>" class="button-primary" onclick="if (check_yes.checked) {
71
+ if (confirm('<?php _e("You are About to Uninstall Slider WD plugin from WordPress.", 'wds');?>\n<?php _e("This Action Is Not Reversible.", 'wds');?>')) {
72
+ spider_set_input_value('task', 'uninstall');
73
+ } else {
74
+ return false;
75
+ }
76
+ }
77
+ else {
78
+ return false;
79
+ }" />
80
+ </p>
81
+ </div>
82
+ <input id="task" name="task" type="hidden" value="" />
83
+ </form>
84
+ <?php
85
+ }
86
+
87
+ public function uninstall() {
88
+ $flag = TRUE;
89
+ global $wpdb;
90
+ $this->model->delete_db_tables();
91
+ $prefix = $wpdb->prefix;
92
+ $deactivate_url = add_query_arg(array('action' => 'deactivate', 'plugin' => WD_S_NAME . '/slider-wd.php'), admin_url('plugins.php'));
93
+ $deactivate_url = wp_nonce_url($deactivate_url, 'deactivate-plugin_' . WD_S_NAME . '/slider-wd.php');
94
+ ?>
95
+ <div id="message" class="wd_updated fade">
96
+ <p><?php _e("The following Database Tables successfully deleted:", 'wds'); ?></p>
97
+ <p><?php echo $prefix; ?>wdsslider,</p>
98
+ <p><?php echo $prefix; ?>wdsslide,</p>
99
+ <p><?php echo $prefix; ?>wdslayer.</p>
100
+ </div>
101
+ <div class="wrap">
102
+ <h2><?php _e("Uninstall Slider WD", 'wds'); ?></h2>
103
+ <p><strong><a href="<?php echo $deactivate_url; ?>" class="wds_deactivate_link" data-uninstall="1"><?php _e("Click Here", 'wds'); ?></a> <?php _e("To Finish the Uninstallation and Slider WD will be Deactivated Automatically.", 'wds'); ?></strong></p>
104
+ <input id="task" name="task" type="hidden" value="" />
105
+ </div>
106
+ <?php
107
+ }
108
+
109
+ ////////////////////////////////////////////////////////////////////////////////////////
110
+ // Getters & Setters //
111
+ ////////////////////////////////////////////////////////////////////////////////////////
112
+ ////////////////////////////////////////////////////////////////////////////////////////
113
+ // Private Methods //
114
+ ////////////////////////////////////////////////////////////////////////////////////////
115
+ ////////////////////////////////////////////////////////////////////////////////////////
116
+ // Listeners //
117
+ ////////////////////////////////////////////////////////////////////////////////////////
118
  }
admin/views/WDSViewWDSShortcode.php CHANGED
@@ -1,92 +1,92 @@
1
- <?php
2
-
3
- class WDSViewWDSShortcode {
4
- private $model;
5
-
6
- public function __construct($model) {
7
- $this->model = $model;
8
- }
9
-
10
- public function display() {
11
- $rows = $this->model->get_row_data();
12
- wp_print_scripts('jquery');
13
- ?>
14
- <link rel="stylesheet" href="<?php echo site_url(); ?>/wp-includes/js/tinymce/<?php echo ((get_bloginfo('version') < '3.8') ? 'themes/advanced/skins/wp_theme' : 'plugins/compat3x/css'); ?>/dialog.css" />
15
- <div class="tabs" role="tablist" tabindex="-1">
16
- <ul>
17
- <li id="display_tab" class="current" role="tab" tabindex="0">
18
- <span>
19
- <a href="javascript:mcTabs.displayTab('display_tab','display_panel');" onMouseDown="return false;" tabindex="-1"><?php _e("Slider WD", 'wds'); ?></a>
20
- </span>
21
- </li>
22
- </ul>
23
- </div>
24
- <div class="panel_wrapper">
25
- <div id="display_panel" class="panel current" style="height: 90px !important;">
26
- <table>
27
- <tr>
28
- <td style="vertical-align: middle; text-align: left;"><?php _e("Select a Slider", 'wds'); ?></td>
29
- <td style="vertical-align: middle; text-align: left;">
30
- <select name="wds_id" id="wds_id" style="width: 230px; text-align: left;">
31
- <option value="0" selected="selected"><?php _e("- Select a Slider -", 'wds'); ?></option>
32
- <?php
33
- foreach ($rows as $row) {
34
- ?>
35
- <option value="<?php echo $row->id; ?>"><?php echo $row->name; ?></option>
36
- <?php
37
- }
38
- ?>
39
- </select>
40
- </td>
41
- </tr>
42
- </table>
43
- </div>
44
- </div>
45
- <div class="mceActionPanel">
46
- <div style="float: left;">
47
- <input type="button" id="cancel" name="cancel" value="Cancel" onClick="window.parent.tb_remove();" />
48
- </div>
49
- <div style="float: right;">
50
- <input type="submit" id="insert" name="insert" value="<?php _e('Insert', 'wds');?>" onClick="wds_insert_shortcode();" />
51
- </div>
52
- </div>
53
- <script>
54
- var short_code = get_params("wds");
55
- if (short_code['id']) {
56
- document.getElementById("wds_id").value = short_code['id'];
57
- }
58
-
59
- // Get shortcodes attributes.
60
- function get_params(module_name) {
61
- var selected_text = top.tinyMCE.activeEditor.selection.getContent();
62
- var module_start_index = selected_text.indexOf("[" + module_name);
63
- var module_end_index = selected_text.indexOf("]", module_start_index);
64
- var module_str = "";
65
- if ((module_start_index == 0) && (module_end_index > 0)) {
66
- module_str = selected_text.substring(module_start_index + 1, module_end_index);
67
- }
68
- else {
69
- return false;
70
- }
71
- var params_str = module_str.substring(module_str.indexOf(" ") + 1);
72
- var key_values = params_str.split(" ");
73
- var short_code_attr = new Array();
74
- for (var key in key_values) {
75
- var short_code_index = key_values[key].split('=')[0];
76
- var short_code_value = key_values[key].split('=')[1];
77
- short_code_value = short_code_value.substring(1, short_code_value.length - 1);
78
- short_code_attr[short_code_index] = short_code_value;
79
- }
80
- return short_code_attr;
81
- }
82
- function wds_insert_shortcode() {
83
- if (document.getElementById("wds_id").value && document.getElementById("wds_id").value != 0) {
84
- window.parent.send_to_editor('[wds id="' + document.getElementById('wds_id').value + '"]');
85
- }
86
- window.parent.tb_remove();
87
- }
88
- </script>
89
- <?php
90
- die();
91
- }
92
- }
1
+ <?php
2
+
3
+ class WDSViewWDSShortcode {
4
+ private $model;
5
+
6
+ public function __construct($model) {
7
+ $this->model = $model;
8
+ }
9
+
10
+ public function display() {
11
+ $rows = $this->model->get_row_data();
12
+ wp_print_scripts('jquery');
13
+ ?>
14
+ <link rel="stylesheet" href="<?php echo site_url(); ?>/wp-includes/js/tinymce/<?php echo ((get_bloginfo('version') < '3.8') ? 'themes/advanced/skins/wp_theme' : 'plugins/compat3x/css'); ?>/dialog.css" />
15
+ <div class="tabs" role="tablist" tabindex="-1">
16
+ <ul>
17
+ <li id="display_tab" class="current" role="tab" tabindex="0">
18
+ <span>
19
+ <a href="javascript:mcTabs.displayTab('display_tab','display_panel');" onMouseDown="return false;" tabindex="-1"><?php _e("Slider WD", 'wds'); ?></a>
20
+ </span>
21
+ </li>
22
+ </ul>
23
+ </div>
24
+ <div class="panel_wrapper">
25
+ <div id="display_panel" class="panel current" style="height: 90px !important;">
26
+ <table>
27
+ <tr>
28
+ <td style="vertical-align: middle; text-align: left;"><?php _e("Select a Slider", 'wds'); ?></td>
29
+ <td style="vertical-align: middle; text-align: left;">
30
+ <select name="wds_id" id="wds_id" style="width: 230px; text-align: left;">
31
+ <option value="0" selected="selected"><?php _e("- Select a Slider -", 'wds'); ?></option>
32
+ <?php
33
+ foreach ($rows as $row) {
34
+ ?>
35
+ <option value="<?php echo $row->id; ?>"><?php echo $row->name; ?></option>
36
+ <?php
37
+ }
38
+ ?>
39
+ </select>
40
+ </td>
41
+ </tr>
42
+ </table>
43
+ </div>
44
+ </div>
45
+ <div class="mceActionPanel">
46
+ <div style="float: left;">
47
+ <input type="button" id="cancel" name="cancel" value="Cancel" onClick="window.parent.tb_remove();" />
48
+ </div>
49
+ <div style="float: right;">
50
+ <input type="submit" id="insert" name="insert" value="<?php _e('Insert', 'wds');?>" onClick="wds_insert_shortcode();" />
51
+ </div>
52
+ </div>
53
+ <script>
54
+ var short_code = get_params("wds");
55
+ if (short_code['id']) {
56
+ document.getElementById("wds_id").value = short_code['id'];
57
+ }
58
+
59
+ // Get shortcodes attributes.
60
+ function get_params(module_name) {
61
+ var selected_text = top.tinyMCE.activeEditor.selection.getContent();
62
+ var module_start_index = selected_text.indexOf("[" + module_name);
63
+ var module_end_index = selected_text.indexOf("]", module_start_index);
64
+ var module_str = "";
65
+ if ((module_start_index == 0) && (module_end_index > 0)) {
66
+ module_str = selected_text.substring(module_start_index + 1, module_end_index);
67
+ }
68
+ else {
69
+ return false;
70
+ }
71
+ var params_str = module_str.substring(module_str.indexOf(" ") + 1);
72
+ var key_values = params_str.split(" ");
73
+ var short_code_attr = new Array();
74
+ for (var key in key_values) {
75
+ var short_code_index = key_values[key].split('=')[0];
76
+ var short_code_value = key_values[key].split('=')[1];
77
+ short_code_value = short_code_value.substring(1, short_code_value.length - 1);
78
+ short_code_attr[short_code_index] = short_code_value;
79
+ }
80
+ return short_code_attr;
81
+ }
82
+ function wds_insert_shortcode() {
83
+ if (document.getElementById("wds_id").value && document.getElementById("wds_id").value != 0) {
84
+ window.parent.send_to_editor('[wds id="' + document.getElementById('wds_id').value + '"]');
85
+ }
86
+ window.parent.tb_remove();
87
+ }
88
+ </script>
89
+ <?php
90
+ die();
91
+ }
92
+ }
admin/views/WDSViewWidgetSlideshow.php CHANGED
@@ -1,87 +1,87 @@
1
- <?php
2
-
3
- class WDSViewWidgetSlideshow {
4
- ////////////////////////////////////////////////////////////////////////////////////////
5
- // Events //
6
- ////////////////////////////////////////////////////////////////////////////////////////
7
- ////////////////////////////////////////////////////////////////////////////////////////
8
- // Constants //
9
- ////////////////////////////////////////////////////////////////////////////////////////
10
- ////////////////////////////////////////////////////////////////////////////////////////
11
- // Variables //
12
- ////////////////////////////////////////////////////////////////////////////////////////
13
- private $model;
14
-
15
- ////////////////////////////////////////////////////////////////////////////////////////
16
- // Constructor & Destructor //
17
- ////////////////////////////////////////////////////////////////////////////////////////
18
- public function __construct($model) {
19
- $this->model = $model;
20
- }
21
- ////////////////////////////////////////////////////////////////////////////////////////
22
- // Public Methods //
23
- ////////////////////////////////////////////////////////////////////////////////////////
24
-
25
- public function display() {
26
- }
27
-
28
- function widget($args, $instance) {
29
- extract($args);
30
- $title = (isset($instance['title']) ? $instance['title'] : "");
31
- $id = (isset($instance['id']) ? $instance['id'] : 0);
32
- // Before widget.
33
- echo $before_widget;
34
- // Title of widget.
35
- if ($title) {
36
- echo $before_title . $title . $after_title;
37
- }
38
- // Widget output.
39
- require_once(WD_S_DIR . '/frontend/controllers/WDSControllerSlider.php');
40
- $controller_class = 'WDSControllerSlider';
41
- $controller = new $controller_class();
42
- global $wds;
43
- $params = array('id' => $id);
44
- $controller->execute($id, 1, $wds);
45
- $wds++;
46
- // After widget.
47
- echo $after_widget;
48
- }
49
-
50
- // Widget Control Panel.
51
- function form($instance, $id_title, $name_title, $id_gallery_id, $name_gallery_id) {
52
- $defaults = array(
53
- 'title' => 'Slider',
54
- 'id' => 0,
55
- );
56
- $instance = wp_parse_args((array) $instance, $defaults);
57
- $slider_rows = $this->model->get_slider_rows_data();
58
- ?>
59
- <p>
60
- <label for="<?php echo $id_title; ?>"><?php _e("Title:", 'wds'); ?></label>
61
- <input class="widefat" id="<?php echo $id_title; ?>" name="<?php echo $name_title; ?>" type="text" value="<?php echo $instance['title']; ?>" />
62
- </p>
63
- <p>
64
- <select name="<?php echo $name_gallery_id; ?>" id="<?php echo $id_gallery_id; ?>" class="widefat">
65
- <option value="0"><?php _e("Select Slider", 'wds'); ?></option>
66
- <?php
67
- foreach ($slider_rows as $slider_row) {
68
- ?>
69
- <option value="<?php echo $slider_row->id; ?>" <?php echo (($instance['id'] == $slider_row->id) ? 'selected="selected"' : ''); ?>><?php echo $slider_row->name; ?></option>
70
- <?php
71
- }
72
- ?>
73
- </select>
74
- </p>
75
- <?php
76
- }
77
-
78
- ////////////////////////////////////////////////////////////////////////////////////////
79
- // Getters & Setters //
80
- ////////////////////////////////////////////////////////////////////////////////////////
81
- ////////////////////////////////////////////////////////////////////////////////////////
82
- // Private Methods //
83
- ////////////////////////////////////////////////////////////////////////////////////////
84
- ////////////////////////////////////////////////////////////////////////////////////////
85
- // Listeners //
86
- ////////////////////////////////////////////////////////////////////////////////////////
87
  }
1
+ <?php
2
+
3
+ class WDSViewWidgetSlideshow {
4
+ ////////////////////////////////////////////////////////////////////////////////////////
5
+ // Events //
6
+ ////////////////////////////////////////////////////////////////////////////////////////
7
+ ////////////////////////////////////////////////////////////////////////////////////////
8
+ // Constants //
9
+ ////////////////////////////////////////////////////////////////////////////////////////
10
+ ////////////////////////////////////////////////////////////////////////////////////////
11
+ // Variables //
12
+ ////////////////////////////////////////////////////////////////////////////////////////
13
+ private $model;
14
+
15
+ ////////////////////////////////////////////////////////////////////////////////////////
16
+ // Constructor & Destructor //
17
+ ////////////////////////////////////////////////////////////////////////////////////////
18
+ public function __construct($model) {
19
+ $this->model = $model;
20
+ }
21
+ ////////////////////////////////////////////////////////////////////////////////////////
22
+ // Public Methods //
23
+ ////////////////////////////////////////////////////////////////////////////////////////
24
+
25
+ public function display() {
26
+ }
27
+
28
+ function widget($args, $instance) {
29
+ extract($args);
30
+ $title = (isset($instance['title']) ? $instance['title'] : "");
31
+ $id = (isset($instance['id']) ? $instance['id'] : 0);
32
+ // Before widget.
33
+ echo $before_widget;
34
+ // Title of widget.
35
+ if ($title) {
36
+ echo $before_title . $title . $after_title;
37
+ }
38
+ // Widget output.
39
+ require_once(WD_S_DIR . '/frontend/controllers/WDSControllerSlider.php');
40
+ $controller_class = 'WDSControllerSlider';
41
+ $controller = new $controller_class();
42
+ global $wds;
43
+ $params = array('id' => $id);
44
+ $controller->execute($id, 1, $wds);
45
+ $wds++;
46
+ // After widget.
47
+ echo $after_widget;
48
+ }
49
+
50
+ // Widget Control Panel.
51
+ function form($instance, $id_title, $name_title, $id_gallery_id, $name_gallery_id) {
52
+ $defaults = array(
53
+ 'title' => 'Slider',
54
+ 'id' => 0,
55
+ );
56
+ $instance = wp_parse_args((array) $instance, $defaults);
57
+ $slider_rows = $this->model->get_slider_rows_data();
58
+ ?>
59
+ <p>
60
+ <label for="<?php echo $id_title; ?>"><?php _e("Title:", 'wds'); ?></label>
61
+ <input class="widefat" id="<?php echo $id_title; ?>" name="<?php echo $name_title; ?>" type="text" value="<?php echo $instance['title']; ?>" />
62
+ </p>
63
+ <p>
64
+ <select name="<?php echo $name_gallery_id; ?>" id="<?php echo $id_gallery_id; ?>" class="widefat">
65
+ <option value="0"><?php _e("Select Slider", 'wds'); ?></option>
66
+ <?php
67
+ foreach ($slider_rows as $slider_row) {
68
+ ?>
69
+ <option value="<?php echo $slider_row->id; ?>" <?php echo (($instance['id'] == $slider_row->id) ? 'selected="selected"' : ''); ?>><?php echo $slider_row->name; ?></option>
70
+ <?php
71
+ }
72
+ ?>
73
+ </select>
74
+ </p>
75
+ <?php
76
+ }
77
+
78
+ ////////////////////////////////////////////////////////////////////////////////////////
79
+ // Getters & Setters //
80
+ ////////////////////////////////////////////////////////////////////////////////////////
81
+ ////////////////////////////////////////////////////////////////////////////////////////
82
+ // Private Methods //
83
+ ////////////////////////////////////////////////////////////////////////////////////////
84
+ ////////////////////////////////////////////////////////////////////////////////////////
85
+ // Listeners //
86
+ ////////////////////////////////////////////////////////////////////////////////////////
87
  }
css/font-awesome/font-awesome.css CHANGED
@@ -1,2201 +1,2201 @@
1
- /*!
2
- * Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome
3
- * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4
- */
5
- /* FONT PATH
6
- * -------------------------- */
7
- @font-face {
8
- font-family: 'FontAwesome';
9
- src: url('fonts/fontawesome-webfont.eot?v=4.6.3');
10
- src: url('fonts/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'), url('fonts/fontawesome-webfont.woff2?v=4.6.3') format('woff2'), url('fonts/fontawesome-webfont.woff?v=4.6.3') format('woff'), url('fonts/fontawesome-webfont.ttf?v=4.6.3') format('truetype'), url('fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular') format('svg');
11
- font-weight: normal;
12
- font-style: normal;
13
- }
14
- .fa {
15
- display: inline-block;
16
- font-family: FontAwesome !important;
17
- font-style: normal;
18
- font-weight: normal;
19
- text-rendering: auto;
20
- line-height: 1 !important;
21
- -webkit-font-smoothing: antialiased !important;
22
- -moz-osx-font-smoothing: grayscale !important;
23
- }
24
- /* makes the font 33% larger relative to the icon container */
25
- .fa-lg {
26
- font-size: 1.33333333em;
27
- line-height: 0.75em;
28
- vertical-align: -15%;
29
- }
30
- .fa-2x {
31
- font-size: 2em;
32
- }
33
- .fa-3x {
34
- font-size: 3em;
35
- }
36
- .fa-4x {
37
- font-size: 4em;
38
- }
39
- .fa-5x {
40
- font-size: 5em;
41
- }
42
- .fa-fw {
43
- width: 1.28571429em;
44
- text-align: center;
45
- }
46
- .fa-ul {
47
- padding-left: 0;
48
- margin-left: 2.14285714em;
49
- list-style-type: none;
50
- }
51
- .fa-ul > li {
52
- position: relative;
53
- }
54
- .fa-li {
55
- position: absolute;
56
- left: -2.14285714em;
57
- width: 2.14285714em;
58
- top: 0.14285714em;
59
- text-align: center;
60
- }
61
- .fa-li.fa-lg {
62
- left: -1.85714286em;
63
- }
64
- .fa-border {
65
- padding: .2em .25em .15em;
66
- border: solid 0.08em #eee;
67
- border-radius: .1em;
68
- }
69
- .fa-pull-left {
70
- float: left;
71
- }
72
- .fa-pull-right {
73
- float: right;
74
- }
75
- .fa.fa-pull-left {
76
- margin-right: .3em;
77
- }
78
- .fa.fa-pull-right {
79
- margin-left: .3em;
80
- }
81
- /* Deprecated as of 4.4.0 */
82
- .pull-right {
83
- float: right;
84
- }
85
- .pull-left {
86
- float: left;
87
- }
88
- .fa.pull-left {
89
- margin-right: .3em;
90
- }
91
- .fa.pull-right {
92
- margin-left: .3em;
93
- }
94
- .fa-spin {
95
- -webkit-animation: fa-spin 2s infinite linear;
96
- animation: fa-spin 2s infinite linear;
97
- }
98
- .fa-pulse {
99
- -webkit-animation: fa-spin 1s infinite steps(8);
100
- animation: fa-spin 1s infinite steps(8);
101
- }
102
- @-webkit-keyframes fa-spin {
103
- 0% {
104
- -webkit-transform: rotate(0deg);
105
- transform: rotate(0deg);
106
- }
107
- 100% {
108
- -webkit-transform: rotate(359deg);
109
- transform: rotate(359deg);
110
- }
111
- }
112
- @keyframes fa-spin {
113
- 0% {
114
- -webkit-transform: rotate(0deg);
115
- transform: rotate(0deg);
116
- }
117
- 100% {
118
- -webkit-transform: rotate(359deg);
119
- transform: rotate(359deg);
120
- }
121
- }
122
- .fa-rotate-90 {
123
- -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
124
- -webkit-transform: rotate(90deg);
125
- -ms-transform: rotate(90deg);
126
- transform: rotate(90deg);
127
- }
128
- .fa-rotate-180 {
129
- -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
130
- -webkit-transform: rotate(180deg);
131
- -ms-transform: rotate(180deg);
132
- transform: rotate(180deg);
133
- }
134
- .fa-rotate-270 {
135
- -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";
136
- -webkit-transform: rotate(270deg);
137
- -ms-transform: rotate(270deg);
138
- transform: rotate(270deg);
139
- }
140
- .fa-flip-horizontal {
141
- -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
142
- -webkit-transform: scale(-1, 1);
143
- -ms-transform: scale(-1, 1);
144
- transform: scale(-1, 1);
145
- }
146
- .fa-flip-vertical {
147
- -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
148
- -webkit-transform: scale(1, -1);
149
- -ms-transform: scale(1, -1);
150
- transform: scale(1, -1);
151
- }
152
- :root .fa-rotate-90,
153
- :root .fa-rotate-180,
154
- :root .fa-rotate-270,
155
- :root .fa-flip-horizontal,
156
- :root .fa-flip-vertical {
157
- filter: none;
158
- }
159
- .fa-stack {
160
- position: relative;
161
- display: inline-block;
162
- width: 2em;
163
- height: 2em;
164
- line-height: 2em;
165
- vertical-align: middle;
166
- }
167
- .fa-stack-1x,
168
- .fa-stack-2x {
169
- position: absolute;
170
- left: 0;
171
- width: 100%;
172
- text-align: center;
173
- }
174
- .fa-stack-1x {
175
- line-height: inherit;
176
- }
177
- .fa-stack-2x {
178
- font-size: 2em;
179
- }
180
- .fa-inverse {
181
- color: #fff;
182
- }
183
- /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
184
- readers do not read off random characters that represent icons */
185
- .fa-glass:before {
186
- content: "\f000";
187
- }
188
- .fa-music:before {
189
- content: "\f001";
190
- }
191
- .fa-search:before {
192
- content: "\f002";
193
- }
194
- .fa-envelope-o:before {
195
- content: "\f003";
196
- }
197
- .fa-heart:before {
198
- content: "\f004";
199
- }
200
- .fa-star:before {
201
- content: "\f005";
202
- }
203
- .fa-star-o:before {
204
- content: "\f006";
205
- }
206
- .fa-user:before {
207
- content: "\f007";
208
- }
209
- .fa-film:before {
210
- content: "\f008";
211
- }
212
- .fa-th-large:before {
213
- content: "\f009";
214
- }
215
- .fa-th:before {
216
- content: "\f00a";
217
- }
218
- .fa-th-list:before {
219
- content: "\f00b";
220
- }
221
- .fa-check:before {
222
- content: "\f00c";
223
- }
224
- .fa-remove:before,
225
- .fa-close:before,
226
- .fa-times:before {
227
- content: "\f00d";
228
- }
229
- .fa-search-plus:before {
230
- content: "\f00e";
231
- }
232
- .fa-search-minus:before {
233
- content: "\f010";
234
- }
235
- .fa-power-off:before {
236
- content: "\f011";
237
- }
238
- .fa-signal:before {
239
- content: "\f012";
240
- }
241
- .fa-gear:before,
242
- .fa-cog:before {
243
- content: "\f013";
244
- }
245
- .fa-trash-o:before {
246
- content: "\f014";
247
- }
248
- .fa-home:before {
249
- content: "\f015";
250
- }
251
- .fa-file-o:before {
252
- content: "\f016";
253
- }
254
- .fa-clock-o:before {
255
- content: "\f017";
256
- }
257
- .fa-road:before {
258
- content: "\f018";
259
- }
260
- .fa-download:before {
261
- content: "\f019";
262
- }
263
- .fa-arrow-circle-o-down:before {
264
- content: "\f01a";
265
- }
266
- .fa-arrow-circle-o-up:before {
267
- content: "\f01b";
268
- }
269
- .fa-inbox:before {
270
- content: "\f01c";
271
- }
272
- .fa-play-circle-o:before {
273
- content: "\f01d";
274
- }
275
- .fa-rotate-right:before,
276
- .fa-repeat:before {
277
- content: "\f01e";
278
- }
279
- .fa-refresh:before {
280
- content: "\f021";
281
- }
282
- .fa-list-alt:before {
283
- content: "\f022";
284
- }
285
- .fa-lock:before {
286
- content: "\f023";
287
- }
288
- .fa-flag:before {
289
- content: "\f024";
290
- }
291
- .fa-headphones:before {
292
- content: "\f025";
293
- }
294
- .fa-volume-off:before {
295
- content: "\f026";
296
- }
297
- .fa-volume-down:before {
298
- content: "\f027";
299
- }
300
- .fa-volume-up:before {
301
- content: "\f028";
302
- }
303
- .fa-qrcode:before {
304
- content: "\f029";
305
- }
306
- .fa-barcode:before {
307
- content: "\f02a";
308
- }
309
- .fa-tag:before {
310
- content: "\f02b";
311
- }
312
- .fa-tags:before {
313
- content: "\f02c";
314
- }
315
- .fa-book:before {
316
- content: "\f02d";
317
- }
318
- .fa-bookmark:before {
319
- content: "\f02e";
320
- }
321
- .fa-print:before {
322
- content: "\f02f";
323
- }
324
- .fa-camera:before {
325
- content: "\f030";
326
- }
327
- .fa-font:before {
328
- content: "\f031";
329
- }
330
- .fa-bold:before {
331
- content: "\f032";
332
- }
333
- .fa-italic:before {
334
- content: "\f033";
335
- }
336
- .fa-text-height:before {
337
- content: "\f034";
338
- }
339
- .fa-text-width:before {
340
- content: "\f035";
341
- }
342
- .fa-align-left:before {
343
- content: "\f036";
344
- }
345
- .fa-align-center:before {
346
- content: "\f037";
347
- }
348
- .fa-align-right:before {
349
- content: "\f038";
350
- }
351
- .fa-align-justify:before {
352
- content: "\f039";
353
- }
354
- .fa-list:before {
355
- content: "\f03a";
356
- }
357
- .fa-dedent:before,
358
- .fa-outdent:before {
359
- content: "\f03b";
360
- }
361
- .fa-indent:before {
362
- content: "\f03c";
363
- }
364
- .fa-video-camera:before {
365
- content: "\f03d";
366
- }
367
- .fa-photo:before,
368
- .fa-image:before,
369
- .fa-picture-o:before {
370
- content: "\f03e";
371
- }
372
- .fa-pencil:before {
373
- content: "\f040";
374
- }
375
- .fa-map-marker:before {
376
- content: "\f041";
377
- }
378
- .fa-adjust:before {
379
- content: "\f042";
380
- }
381
- .fa-tint:before {
382
- content: "\f043";
383
- }
384
- .fa-edit:before,
385
- .fa-pencil-square-o:before {
386
- content: "\f044";
387
- }
388
- .fa-share-square-o:before {
389
- content: "\f045";
390
- }
391
- .fa-check-square-o:before {
392
- content: "\f046";
393
- }
394
- .fa-arrows:before {
395
- content: "\f047";
396
- }
397
- .fa-step-backward:before {
398
- content: "\f048";
399
- }
400
- .fa-fast-backward:before {
401
- content: "\f049";
402
- }
403
- .fa-backward:before {
404
- content: "\f04a";
405
- }
406
- .fa-play:before {
407
- content: "\f04b";
408
- }
409
- .fa-pause:before {
410
- content: "\f04c";
411
- }
412
- .fa-stop:before {
413
- content: "\f04d";
414
- }
415
- .fa-forward:before {
416
- content: "\f04e";
417
- }
418
- .fa-fast-forward:before {
419
- content: "\f050";
420
- }
421
- .fa-step-forward:before {
422
- content: "\f051";
423
- }
424
- .fa-eject:before {
425
- content: "\f052";
426
- }
427
- .fa-chevron-left:before {
428
- content: "\f053";
429
- }
430
- .fa-chevron-right:before {
431
- content: "\f054";
432
- }
433
- .fa-plus-circle:before {
434
- content: "\f055";
435
- }
436
- .fa-minus-circle:before {
437
- content: "\f056";
438
- }
439
- .fa-times-circle:before {
440
- content: "\f057";
441
- }
442
- .fa-check-circle:before {
443
- content: "\f058";
444
- }
445
- .fa-question-circle:before {
446
- content: "\f059";
447
- }
448
- .fa-info-circle:before {
449
- content: "\f05a";
450
- }
451
- .fa-crosshairs:before {
452
- content: "\f05b";
453
- }
454
- .fa-times-circle-o:before {
455
- content: "\f05c";
456
- }
457
- .fa-check-circle-o:before {
458
- content: "\f05d";
459
- }
460
- .fa-ban:before {
461
- content: "\f05e";
462
- }
463
- .fa-arrow-left:before {
464
- content: "\f060";
465
- }
466
- .fa-arrow-right:before {
467
- content: "\f061";
468
- }
469
- .fa-arrow-up:before {
470
- content: "\f062";
471
- }
472
- .fa-arrow-down:before {
473
- content: "\f063";
474
- }
475
- .fa-mail-forward:before,
476
- .fa-share:before {
477
- content: "\f064";
478
- }
479
- .fa-expand:before {
480
- content: "\f065";
481
- }
482
- .fa-compress:before {
483
- content: "\f066";
484
- }
485
- .fa-plus:before {
486
- content: "\f067";
487
- }
488
- .fa-minus:before {
489
- content: "\f068";
490
- }
491
- .fa-asterisk:before {
492
- content: "\f069";
493
- }
494
- .fa-exclamation-circle:before {
495
- content: "\f06a";
496
- }
497
- .fa-gift:before {
498
- content: "\f06b";
499
- }
500
- .fa-leaf:before {
501
- content: "\f06c";
502
- }
503
- .fa-fire:before {
504
- content: "\f06d";
505
- }
506
- .fa-eye:before {
507
- content: "\f06e";
508
- }
509
- .fa-eye-slash:before {
510
- content: "\f070";
511
- }
512
- .fa-warning:before,
513
- .fa-exclamation-triangle:before {
514
- content: "\f071";
515
- }
516
- .fa-plane:before {
517
- content: "\f072";
518
- }
519
- .fa-calendar:before {
520
- content: "\f073";
521
- }
522
- .fa-random:before {
523
- content: "\f074";
524
- }
525
- .fa-comment:before {
526
- content: "\f075";
527
- }
528
- .fa-magnet:before {
529
- content: "\f076";
530
- }
531
- .fa-chevron-up:before {
532
- content: "\f077";
533
- }
534
- .fa-chevron-down:before {
535
- content: "\f078";
536
- }
537
- .fa-retweet:before {
538
- content: "\f079";
539
- }
540
- .fa-shopping-cart:before {
541
- content: "\f07a";
542
- }
543
- .fa-folder:before {
544
- content: "\f07b";
545
- }
546
- .fa-folder-open:before {
547
- content: "\f07c";
548
- }
549
- .fa-arrows-v:before {
550
- content: "\f07d";
551
- }
552
- .fa-arrows-h:before {
553
- content: "\f07e";
554
- }
555
- .fa-bar-chart-o:before,
556
- .fa-bar-chart:before {
557
- content: "\f080";
558
- }
559
- .fa-twitter-square:before {
560
- content: "\f081";
561
- }
562
- .fa-facebook-square:before {
563
- content: "\f082";
564
- }
565
- .fa-camera-retro:before {
566
- content: "\f083";
567
- }
568
- .fa-key:before {
569
- content: "\f084";
570
- }
571
- .fa-gears:before,
572
- .fa-cogs:before {
573
- content: "\f085";
574
- }
575
- .fa-comments:before {
576
- content: "\f086";
577
- }
578
- .fa-thumbs-o-up:before {
579
- content: "\f087";
580
- }
581
- .fa-thumbs-o-down:before {
582
- content: "\f088";
583
- }
584
- .fa-star-half:before {
585
- content: "\f089";
586
- }
587
- .fa-heart-o:before {
588
- content: "\f08a";
589
- }
590
- .fa-sign-out:before {
591
- content: "\f08b";
592
- }
593
- .fa-linkedin-square:before {
594
- content: "\f08c";
595
- }
596
- .fa-thumb-tack:before {
597
- content: "\f08d";
598
- }
599
- .fa-external-link:before {
600
- content: "\f08e";
601
- }
602
- .fa-sign-in:before {
603
- content: "\f090";
604
- }
605
- .fa-trophy:before {
606
- content: "\f091";
607
- }
608
- .fa-github-square:before {
609
- content: "\f092";
610
- }
611
- .fa-upload:before {
612
- content: "\f093";
613
- }
614
- .fa-lemon-o:before {
615
- content: "\f094";
616
- }
617
- .fa-phone:before {
618
- content: "\f095";
619
- }
620
- .fa-square-o:before {
621
- content: "\f096";
622
- }
623
- .fa-bookmark-o:before {
624
- content: "\f097";
625
- }
626
- .fa-phone-square:before {
627
- content: "\f098";
628
- }
629
- .fa-twitter:before {
630
- content: "\f099";
631
- }
632
- .fa-facebook-f:before,
633
- .fa-facebook:before {
634
- content: "\f09a";
635
- }
636
- .fa-github:before {
637
- content: "\f09b";
638
- }
639
- .fa-unlock:before {
640
- content: "\f09c";
641
- }
642
- .fa-credit-card:before {
643
- content: "\f09d";
644
- }
645
- .fa-feed:before,
646
- .fa-rss:before {
647
- content: "\f09e";
648
- }
649
- .fa-hdd-o:before {
650
- content: "\f0a0";
651
- }
652
- .fa-bullhorn:before {
653
- content: "\f0a1";
654
- }
655
- .fa-bell:before {
656
- content: "\f0f3";
657
- }
658
- .fa-certificate:before {
659
- content: "\f0a3";
660
- }
661
- .fa-hand-o-right:before {
662
- content: "\f0a4";
663
- }
664
- .fa-hand-o-left:before {
665
- content: "\f0a5";
666
- }
667
- .fa-hand-o-up:before {
668
- content: "\f0a6";
669
- }
670
- .fa-hand-o-down:before {
671
- content: "\f0a7";
672
- }
673
- .fa-arrow-circle-left:before {
674
- content: "\f0a8";
675
- }
676
- .fa-arrow-circle-right:before {
677
- content: "\f0a9";
678
- }
679
- .fa-arrow-circle-up:before {
680
- content: "\f0aa";
681
- }
682
- .fa-arrow-circle-down:before {
683
- content: "\f0ab";
684
- }
685
- .fa-globe:before {
686
- content: "\f0ac";
687
- }
688
- .fa-wrench:before {
689
- content: "\f0ad";
690
- }
691
- .fa-tasks:before {
692
- content: "\f0ae";
693
- }
694
- .fa-filter:before {
695
- content: "\f0b0";
696
- }
697
- .fa-briefcase:before {
698
- content: "\f0b1";
699
- }
700
- .fa-arrows-alt:before {
701
- content: "\f0b2";
702
- }
703
- .fa-group:before,
704
- .fa-users:before {
705
- content: "\f0c0";
706
- }
707
- .fa-chain:before,
708
- .fa-link:before {
709
- content: "\f0c1";
710
- }
711
- .fa-cloud:before {
712
- content: "\f0c2";
713
- }
714
- .fa-flask:before {
715
- content: "\f0c3";
716
- }
717
- .fa-cut:before,
718
- .fa-scissors:before {
719
- content: "\f0c4";
720
- }
721
- .fa-copy:before,
722
- .fa-files-o:before {
723
- content: "\f0c5";
724
- }
725
- .fa-paperclip:before {
726
- content: "\f0c6";
727
- }
728
- .fa-save:before,
729
- .fa-floppy-o:before {
730
- content: "\f0c7";
731
- }
732
- .fa-square:before {
733
- content: "\f0c8";
734
- }
735
- .fa-navicon:before,
736
- .fa-reorder:before,
737
- .fa-bars:before {
738
- content: "\f0c9";
739
- }
740
- .fa-list-ul:before {
741
- content: "\f0ca";
742
- }
743
- .fa-list-ol:before {
744
- content: "\f0cb";
745
- }
746
- .fa-strikethrough:before {
747
- content: "\f0cc";
748
- }
749
- .fa-underline:before {
750
- content: "\f0cd";
751
- }
752
- .fa-table:before {
753
- content: "\f0ce";
754
- }
755
- .fa-magic:before {
756
- content: "\f0d0";
757
- }
758
- .fa-truck:before {
759
- content: "\f0d1";
760
- }
761
- .fa-pinterest:before {
762
- content: "\f0d2";
763
- }
764
- .fa-pinterest-square:before {
765
- content: "\f0d3";
766
- }
767
- .fa-google-plus-square:before {
768
- content: "\f0d4";
769
- }
770
- .fa-google-plus:before {
771
- content: "\f0d5";
772
- }
773
- .fa-money:before {
774
- content: "\f0d6";
775
- }
776
- .fa-caret-down:before {
777
- content: "\f0d7";
778
- }
779
- .fa-caret-up:before {
780
- content: "\f0d8";
781
- }
782
- .fa-caret-left:before {
783
- content: "\f0d9";
784
- }
785
- .fa-caret-right:before {
786
- content: "\f0da";
787
- }
788
- .fa-columns:before {
789
- content: "\f0db";
790
- }
791
- .fa-unsorted:before,
792
- .fa-sort:before {
793
- content: "\f0dc";
794
- }
795
- .fa-sort-down:before,
796
- .fa-sort-desc:before {
797
- content: "\f0dd";
798
- }
799
- .fa-sort-up:before,
800
- .fa-sort-asc:before {
801
- content: "\f0de";
802
- }
803
- .fa-envelope:before {
804
- content: "\f0e0";
805
- }
806
- .fa-linkedin:before {
807
- content: "\f0e1";
808
- }
809
- .fa-rotate-left:before,
810
- .fa-undo:before {
811
- content: "\f0e2";
812
- }
813
- .fa-legal:before,
814
- .fa-gavel:before {
815
- content: "\f0e3";
816
- }
817
- .fa-dashboard:before,
818
- .fa-tachometer:before {
819
- content: "\f0e4";
820
- }
821
- .fa-comment-o:before {
822
- content: "\f0e5";
823
- }
824
- .fa-comments-o:before {
825
- content: "\f0e6";
826
- }
827
- .fa-flash:before,
828
- .fa-bolt:before {
829
- content: "\f0e7";
830
- }
831
- .fa-sitemap:before {
832
- content: "\f0e8";
833
- }
834
- .fa-umbrella:before {
835
- content: "\f0e9";
836
- }
837
- .fa-paste:before,
838
- .fa-clipboard:before {
839
- content: "\f0ea";
840
- }
841
- .fa-lightbulb-o:before {
842
- content: "\f0eb";
843
- }
844
- .fa-exchange:before {
845
- content: "\f0ec";
846
- }
847
- .fa-cloud-download:before {
848
- content: "\f0ed";
849
- }
850
- .fa-cloud-upload:before {
851
- content: "\f0ee";
852
- }
853
- .fa-user-md:before {
854
- content: "\f0f0";
855
- }
856
- .fa-stethoscope:before {
857
- content: "\f0f1";
858
- }
859
- .fa-suitcase:before {
860
- content: "\f0f2";
861
- }
862
- .fa-bell-o:before {
863
- content: "\f0a2";
864
- }
865
- .fa-coffee:before {
866
- content: "\f0f4";
867
- }
868
- .fa-cutlery:before {
869
- content: "\f0f5";
870
- }
871
- .fa-file-text-o:before {
872
- content: "\f0f6";
873
- }
874
- .fa-building-o:before {
875
- content: "\f0f7";
876
- }
877
- .fa-hospital-o:before {
878
- content: "\f0f8";
879
- }
880
- .fa-ambulance:before {
881
- content: "\f0f9";
882
- }
883
- .fa-medkit:before {
884
- content: "\f0fa";
885
- }
886
- .fa-fighter-jet:before {
887
- content: "\f0fb";
888
- }
889
- .fa-beer:before {
890
- content: "\f0fc";
891
- }
892
- .fa-h-square:before {
893
- content: "\f0fd";
894
- }
895
- .fa-plus-square:before {
896
- content: "\f0fe";
897
- }
898
- .fa-angle-double-left:before {
899
- content: "\f100";
900
- }
901
- .fa-angle-double-right:before {
902
- content: "\f101";
903
- }
904
- .fa-angle-double-up:before {
905
- content: "\f102";
906
- }
907
- .fa-angle-double-down:before {
908
- content: "\f103";
909
- }
910
- .fa-angle-left:before {
911
- content: "\f104";
912
- }
913
- .fa-angle-right:before {
914
- content: "\f105";
915
- }
916
- .fa-angle-up:before {
917
- content: "\f106";
918
- }
919
- .fa-angle-down:before {
920
- content: "\f107";
921
- }
922
- .fa-desktop:before {
923
- content: "\f108";
924
- }
925
- .fa-laptop:before {
926
- content: "\f109";
927
- }
928
- .fa-tablet:before {
929
- content: "\f10a";
930
- }
931
- .fa-mobile-phone:before,
932
- .fa-mobile:before {
933
- content: "\f10b";
934
- }
935
- .fa-circle-o:before {
936
- content: "\f10c";
937
- }
938
- .fa-quote-left:before {
939
- content: "\f10d";
940
- }
941
- .fa-quote-right:before {
942
- content: "\f10e";
943
- }
944
- .fa-spinner:before {
945
- content: "\f110";
946
- }
947
- .fa-circle:before {
948
- content: "\f111";
949
- }
950
- .fa-mail-reply:before,
951
- .fa-reply:before {
952
- content: "\f112";
953
- }
954
- .fa-github-alt:before {
955
- content: "\f113";
956
- }
957
- .fa-folder-o:before {
958
- content: "\f114";
959
- }
960
- .fa-folder-open-o:before {
961
- content: "\f115";
962
- }
963
- .fa-smile-o:before {
964
- content: "\f118";
965
- }
966
- .fa-frown-o:before {
967
- content: "\f119";
968
- }
969
- .fa-meh-o:before {
970
- content: "\f11a";
971
- }
972
- .fa-gamepad:before {
973
- content: "\f11b";
974
- }
975
- .fa-keyboard-o:before {
976
- content: "\f11c";
977
- }
978
- .fa-flag-o:before {
979
- content: "\f11d";
980
- }
981
- .fa-flag-checkered:before {
982
- content: "\f11e";
983
- }
984
- .fa-terminal:before {
985
- content: "\f120";
986
- }
987
- .fa-code:before {
988
- content: "\f121";
989
- }
990
- .fa-mail-reply-all:before,
991
- .fa-reply-all:before {
992
- content: "\f122";
993
- }
994
- .fa-star-half-empty:before,
995
- .fa-star-half-full:before,
996
- .fa-star-half-o:before {
997
- content: "\f123";
998
- }
999
- .fa-location-arrow:before {
1000
- content: "\f124";
1001
- }
1002
- .fa-crop:before {
1003
- content: "\f125";
1004
- }
1005
- .fa-code-fork:before {
1006
- content: "\f126";
1007
- }
1008
- .fa-unlink:before,
1009
- .fa-chain-broken:before {
1010
- content: "\f127";
1011
- }
1012
- .fa-question:before {
1013
- content: "\f128";
1014
- }
1015
- .fa-info:before {
1016
- content: "\f129";
1017
- }
1018
- .fa-exclamation:before {
1019
- content: "\f12a";
1020
- }
1021
- .fa-superscript:before {
1022
- content: "\f12b";
1023
- }
1024
- .fa-subscript:before {
1025
- content: "\f12c";
1026
- }
1027
- .fa-eraser:before {
1028
- content: "\f12d";
1029
- }
1030
- .fa-puzzle-piece:before {
1031
- content: "\f12e";
1032
- }
1033
- .fa-microphone:before {
1034
- content: "\f130";
1035
- }
1036
- .fa-microphone-slash:before {
1037
- content: "\f131";
1038
- }
1039
- .fa-shield:before {
1040
- content: "\f132";
1041
- }
1042
- .fa-calendar-o:before {
1043
- content: "\f133";
1044
- }
1045
- .fa-fire-extinguisher:before {
1046
- content: "\f134";
1047
- }
1048
- .fa-rocket:before {
1049
- content: "\f135";
1050
- }
1051
- .fa-maxcdn:before {
1052
- content: "\f136";
1053
- }
1054
- .fa-chevron-circle-left:before {
1055
- content: "\f137";
1056
- }
1057
- .fa-chevron-circle-right:before {
1058
- content: "\f138";
1059
- }
1060
- .fa-chevron-circle-up:before {
1061
- content: "\f139";
1062
- }
1063
- .fa-chevron-circle-down:before {
1064
- content: "\f13a";
1065
- }
1066
- .fa-html5:before {
1067
- content: "\f13b";
1068
- }
1069
- .fa-css3:before {
1070
- content: "\f13c";
1071
- }
1072
- .fa-anchor:before {
1073
- content: "\f13d";
1074
- }
1075
- .fa-unlock-alt:before {
1076
- content: "\f13e";
1077
- }
1078
- .fa-bullseye:before {
1079
- content: "\f140";
1080
- }
1081
- .fa-ellipsis-h:before {
1082
- content: "\f141";
1083
- }
1084
- .fa-ellipsis-v:before {
1085
- content: "\f142";
1086
- }
1087
- .fa-rss-square:before {
1088
- content: "\f143";
1089
- }
1090
- .fa-play-circle:before {
1091
- content: "\f144";
1092
- }
1093
- .fa-ticket:before {
1094
- content: "\f145";
1095
- }
1096
- .fa-minus-square:before {
1097
- content: "\f146";
1098
- }
1099
- .fa-minus-square-o:before {
1100
- content: "\f147";
1101
- }
1102
- .fa-level-up:before {
1103
- content: "\f148";
1104
- }
1105
- .fa-level-down:before {
1106
- content: "\f149";
1107
- }
1108
- .fa-check-square:before {
1109
- content: "\f14a";
1110
- }
1111
- .fa-pencil-square:before {
1112
- content: "\f14b";
1113
- }
1114
- .fa-external-link-square:before {
1115
- content: "\f14c";
1116
- }
1117
- .fa-share-square:before {
1118
- content: "\f14d";
1119
- }
1120
- .fa-compass:before {
1121
- content: "\f14e";
1122
- }
1123
- .fa-toggle-down:before,
1124
- .fa-caret-square-o-down:before {
1125
- content: "\f150";
1126
- }
1127
- .fa-toggle-up:before,
1128
- .fa-caret-square-o-up:before {
1129
- content: "\f151";
1130
- }
1131
- .fa-toggle-right:before,
1132
- .fa-caret-square-o-right:before {
1133
- content: "\f152";
1134
- }
1135
- .fa-euro:before,
1136
- .fa-eur:before {
1137
- content: "\f153";
1138
- }
1139
- .fa-gbp:before {
1140
- content: "\f154";
1141
- }
1142
- .fa-dollar:before,
1143
- .fa-usd:before {
1144
- content: "\f155";
1145
- }
1146
- .fa-rupee:before,
1147
- .fa-inr:before {
1148
- content: "\f156";
1149
- }
1150
- .fa-cny:before,
1151
- .fa-rmb:before,
1152
- .fa-yen:before,
1153
- .fa-jpy:before {
1154
- content: "\f157";
1155
- }
1156
- .fa-ruble:before,
1157
- .fa-rouble:before,
1158
- .fa-rub:before {
1159
- content: "\f158";
1160
- }
1161
- .fa-won:before,
1162
- .fa-krw:before {
1163
- content: "\f159";
1164
- }
1165
- .fa-bitcoin:before,
1166
- .fa-btc:before {
1167
- content: "\f15a";
1168
- }
1169
- .fa-file:before {
1170
- content: "\f15b";
1171
- }
1172
- .fa-file-text:before {
1173
- content: "\f15c";
1174
- }
1175
- .fa-sort-alpha-asc:before {
1176
- content: "\f15d";
1177
- }
1178
- .fa-sort-alpha-desc:before {
1179
- content: "\f15e";
1180
- }
1181
- .fa-sort-amount-asc:before {
1182
- content: "\f160";
1183
- }
1184
- .fa-sort-amount-desc:before {
1185
- content: "\f161";
1186
- }
1187
- .fa-sort-numeric-asc:before {
1188
- content: "\f162";
1189
- }
1190
- .fa-sort-numeric-desc:before {
1191
- content: "\f163";
1192
- }
1193
- .fa-thumbs-up:before {
1194
- content: "\f164";
1195
- }
1196
- .fa-thumbs-down:before {
1197
- content: "\f165";
1198
- }
1199
- .fa-youtube-square:before {
1200
- content: "\f166";
1201
- }
1202
- .fa-youtube:before {
1203
- content: "\f167";
1204
- }
1205
- .fa-xing:before {
1206
- content: "\f168";
1207
- }
1208
- .fa-xing-square:before {
1209
- content: "\f169";
1210
- }
1211
- .fa-youtube-play:before {
1212
- content: "\f16a";
1213
- }
1214
- .fa-dropbox:before {
1215
- content: "\f16b";
1216
- }
1217
- .fa-stack-overflow:before {
1218
- content: "\f16c";
1219
- }
1220
- .fa-instagram:before {
1221
- content: "\f16d";
1222
- }
1223
- .fa-flickr:before {
1224
- content: "\f16e";
1225
- }
1226
- .fa-adn:before {
1227
- content: "\f170";
1228
- }
1229
- .fa-bitbucket:before {
1230
- content: "\f171";
1231
- }
1232
- .fa-bitbucket-square:before {
1233
- content: "\f172";
1234
- }
1235
- .fa-tumblr:before {
1236
- content: "\f173";
1237
- }
1238
- .fa-tumblr-square:before {
1239
- content: "\f174";
1240
- }
1241
- .fa-long-arrow-down:before {
1242
- content: "\f175";
1243
- }
1244
- .fa-long-arrow-up:before {
1245
- content: "\f176";
1246
- }
1247
- .fa-long-arrow-left:before {
1248
- content: "\f177";
1249
- }
1250
- .fa-long-arrow-right:before {
1251
- content: "\f178";
1252
- }
1253
- .fa-apple:before {
1254
- content: "\f179";
1255
- }
1256
- .fa-windows:before {
1257
- content: "\f17a";
1258
- }
1259
- .fa-android:before {
1260
- content: "\f17b";
1261
- }
1262
- .fa-linux:before {
1263
- content: "\f17c";
1264
- }
1265
- .fa-dribbble:before {
1266
- content: "\f17d";
1267
- }
1268
- .fa-skype:before {
1269
- content: "\f17e";
1270
- }
1271
- .fa-foursquare:before {
1272
- content: "\f180";
1273
- }
1274
- .fa-trello:before {
1275
- content: "\f181";
1276
- }
1277
- .fa-female:before {
1278
- content: "\f182";
1279
- }
1280
- .fa-male:before {
1281
- content: "\f183";
1282
- }
1283
- .fa-gittip:before,
1284
- .fa-gratipay:before {
1285
- content: "\f184";
1286
- }
1287
- .fa-sun-o:before {
1288
- content: "\f185";
1289
- }
1290
- .fa-moon-o:before {
1291
- content: "\f186";
1292
- }
1293
- .fa-archive:before {
1294
- content: "\f187";
1295
- }
1296
- .fa-bug:before {
1297
- content: "\f188";
1298
- }
1299
- .fa-vk:before {
1300
- content: "\f189";
1301
- }
1302
- .fa-weibo:before {
1303
- content: "\f18a";
1304
- }
1305
- .fa-renren:before {
1306
- content: "\f18b";
1307
- }
1308
- .fa-pagelines:before {
1309
- content: "\f18c";
1310
- }
1311
- .fa-stack-exchange:before {
1312
- content: "\f18d";
1313
- }
1314
- .fa-arrow-circle-o-right:before {
1315
- content: "\f18e";
1316
- }
1317
- .fa-arrow-circle-o-left:before {
1318
- content: "\f190";
1319
- }
1320
- .fa-toggle-left:before,
1321
- .fa-caret-square-o-left:before {
1322
- content: "\f191";
1323
- }
1324
- .fa-dot-circle-o:before {
1325
- content: "\f192";
1326
- }
1327
- .fa-wheelchair:before {
1328
- content: "\f193";
1329
- }
1330
- .fa-vimeo-square:before {
1331
- content: "\f194";
1332
- }
1333
- .fa-turkish-lira:before,
1334
- .fa-try:before {
1335
- content: "\f195";
1336
- }
1337
- .fa-plus-square-o:before {
1338
- content: "\f196";
1339
- }
1340
- .fa-space-shuttle:before {
1341
- content: "\f197";
1342
- }
1343
- .fa-slack:before {
1344
- content: "\f198";
1345
- }
1346
- .fa-envelope-square:before {
1347
- content: "\f199";
1348
- }
1349
- .fa-wordpress:before {
1350
- content: "\f19a";
1351
- }
1352
- .fa-openid:before {
1353
- content: "\f19b";
1354
- }
1355
- .fa-institution:before,
1356
- .fa-bank:before,
1357
- .fa-university:before {
1358
- content: "\f19c";
1359
- }
1360
- .fa-mortar-board:before,
1361
- .fa-graduation-cap:before {
1362
- content: "\f19d";
1363
- }
1364
- .fa-yahoo:before {
1365
- content: "\f19e";
1366
- }
1367
- .fa-google:before {
1368
- content: "\f1a0";
1369
- }
1370
- .fa-reddit:before {
1371
- content: "\f1a1";
1372
- }
1373
- .fa-reddit-square:before {
1374
- content: "\f1a2";
1375
- }
1376
- .fa-stumbleupon-circle:before {
1377
- content: "\f1a3";
1378
- }
1379
- .fa-stumbleupon:before {
1380
- content: "\f1a4";
1381
- }
1382
- .fa-delicious:before {
1383
- content: "\f1a5";
1384
- }
1385
- .fa-digg:before {
1386
- content: "\f1a6";
1387
- }
1388
- .fa-pied-piper-pp:before {
1389
- content: "\f1a7";
1390
- }
1391
- .fa-pied-piper-alt:before {
1392
- content: "\f1a8";
1393
- }
1394
- .fa-drupal:before {
1395
- content: "\f1a9";
1396
- }
1397
- .fa-joomla:before {
1398
- content: "\f1aa";
1399
- }
1400
- .fa-language:before {
1401
- content: "\f1ab";
1402
- }
1403
- .fa-fax:before {
1404
- content: "\f1ac";
1405
- }
1406
- .fa-building:before {
1407
- content: "\f1ad";
1408
- }
1409
- .fa-child:before {
1410
- content: "\f1ae";
1411
- }
1412
- .fa-paw:before {
1413
- content: "\f1b0";
1414
- }
1415
- .fa-spoon:before {
1416
- content: "\f1b1";
1417
- }
1418
- .fa-cube:before {
1419
- content: "\f1b2";
1420
- }
1421
- .fa-cubes:before {
1422
- content: "\f1b3";
1423
- }
1424
- .fa-behance:before {
1425
- content: "\f1b4";
1426
- }
1427
- .fa-behance-square:before {
1428
- content: "\f1b5";
1429
- }
1430
- .fa-steam:before {
1431
- content: "\f1b6";
1432
- }
1433
- .fa-steam-square:before {
1434
- content: "\f1b7";
1435
- }
1436
- .fa-recycle:before {
1437
- content: "\f1b8";
1438
- }
1439
- .fa-automobile:before,
1440
- .fa-car:before {
1441
- content: "\f1b9";
1442
- }
1443
- .fa-cab:before,
1444
- .fa-taxi:before {
1445
- content: "\f1ba";
1446
- }
1447
- .fa-tree:before {
1448
- content: "\f1bb";
1449
- }
1450
- .fa-spotify:before {
1451
- content: "\f1bc";
1452
- }
1453
- .fa-deviantart:before {
1454
- content: "\f1bd";
1455
- }
1456
- .fa-soundcloud:before {
1457
- content: "\f1be";
1458
- }
1459
- .fa-database:before {
1460
- content: "\f1c0";
1461
- }
1462
- .fa-file-pdf-o:before {
1463
- content: "\f1c1";
1464
- }
1465
- .fa-file-word-o:before {
1466
- content: "\f1c2";
1467
- }
1468
- .fa-file-excel-o:before {
1469
- content: "\f1c3";
1470
- }
1471
- .fa-file-powerpoint-o:before {
1472
- content: "\f1c4";
1473
- }
1474
- .fa-file-photo-o:before,
1475
- .fa-file-picture-o:before,
1476
- .fa-file-image-o:before {
1477
- content: "\f1c5";
1478
- }
1479
- .fa-file-zip-o:before,
1480
- .fa-file-archive-o:before {
1481
- content: "\f1c6";
1482
- }
1483
- .fa-file-sound-o:before,
1484
- .fa-file-audio-o:before {
1485
- content: "\f1c7";
1486
- }
1487
- .fa-file-movie-o:before,
1488
- .fa-file-video-o:before {
1489
- content: "\f1c8";
1490
- }
1491
- .fa-file-code-o:before {
1492
- content: "\f1c9";
1493
- }
1494
- .fa-vine:before {
1495
- content: "\f1ca";
1496
- }
1497
- .fa-codepen:before {
1498
- content: "\f1cb";
1499
- }
1500
- .fa-jsfiddle:before {
1501
- content: "\f1cc";
1502
- }
1503
- .fa-life-bouy:before,
1504
- .fa-life-buoy:before,
1505
- .fa-life-saver:before,
1506
- .fa-support:before,
1507
- .fa-life-ring:before {
1508
- content: "\f1cd";
1509
- }
1510
- .fa-circle-o-notch:before {
1511
- content: "\f1ce";
1512
- }
1513
- .fa-ra:before,
1514
- .fa-resistance:before,
1515
- .fa-rebel:before {
1516
- content: "\f1d0";
1517
- }
1518
- .fa-ge:before,
1519
- .fa-empire:before {
1520
- content: "\f1d1";
1521
- }
1522
- .fa-git-square:before {
1523
- content: "\f1d2";
1524
- }
1525
- .fa-git:before {
1526
- content: "\f1d3";
1527
- }
1528
- .fa-y-combinator-square:before,
1529
- .fa-yc-square:before,
1530
- .fa-hacker-news:before {
1531
- content: "\f1d4";
1532
- }
1533
- .fa-tencent-weibo:before {
1534
- content: "\f1d5";
1535
- }
1536
- .fa-qq:before {
1537
- content: "\f1d6";
1538
- }
1539
- .fa-wechat:before,
1540
- .fa-weixin:before {
1541
- content: "\f1d7";
1542
- }
1543
- .fa-send:before,
1544
- .fa-paper-plane:before {
1545
- content: "\f1d8";
1546
- }
1547
- .fa-send-o:before,
1548
- .fa-paper-plane-o:before {
1549
- content: "\f1d9";
1550
- }
1551
- .fa-history:before {
1552
- content: "\f1da";
1553
- }
1554
- .fa-circle-thin:before {
1555
- content: "\f1db";
1556
- }
1557
- .fa-header:before {
1558
- content: "\f1dc";
1559
- }
1560
- .fa-paragraph:before {
1561
- content: "\f1dd";
1562
- }
1563
- .fa-sliders:before {
1564
- content: "\f1de";
1565
- }
1566
- .fa-share-alt:before {
1567
- content: "\f1e0";
1568
- }
1569
- .fa-share-alt-square:before {
1570
- content: "\f1e1";
1571
- }
1572
- .fa-bomb:before {
1573
- content: "\f1e2";
1574
- }
1575
- .fa-soccer-ball-o:before,
1576
- .fa-futbol-o:before {
1577
- content: "\f1e3";
1578
- }
1579
- .fa-tty:before {
1580
- content: "\f1e4";
1581
- }
1582
- .fa-binoculars:before {
1583
- content: "\f1e5";
1584
- }
1585
- .fa-plug:before {
1586
- content: "\f1e6";
1587
- }
1588
- .fa-slideshare:before {
1589
- content: "\f1e7";
1590
- }
1591
- .fa-twitch:before {
1592
- content: "\f1e8";
1593
- }
1594
- .fa-yelp:before {
1595
- content: "\f1e9";
1596
- }
1597
- .fa-newspaper-o:before {
1598
- content: "\f1ea";
1599
- }
1600
- .fa-wifi:before {
1601
- content: "\f1eb";
1602
- }
1603
- .fa-calculator:before {
1604
- content: "\f1ec";
1605
- }
1606
- .fa-paypal:before {
1607
- content: "\f1ed";
1608
- }
1609
- .fa-google-wallet:before {
1610
- content: "\f1ee";
1611
- }
1612
- .fa-cc-visa:before {
1613
- content: "\f1f0";
1614
- }
1615
- .fa-cc-mastercard:before {
1616
- content: "\f1f1";
1617
- }
1618
- .fa-cc-discover:before {
1619
- content: "\f1f2";
1620
- }
1621
- .fa-cc-amex:before {
1622
- content: "\f1f3";
1623
- }
1624
- .fa-cc-paypal:before {
1625
- content: "\f1f4";
1626
- }
1627
- .fa-cc-stripe:before {
1628
- content: "\f1f5";
1629
- }
1630
- .fa-bell-slash:before {
1631
- content: "\f1f6";
1632
- }
1633
- .fa-bell-slash-o:before {
1634
- content: "\f1f7";
1635
- }
1636
- .fa-trash:before {
1637
- content: "\f1f8";
1638
- }
1639
- .fa-copyright:before {
1640
- content: "\f1f9";
1641
- }
1642
- .fa-at:before {
1643
- content: "\f1fa";
1644
- }
1645
- .fa-eyedropper:before {
1646
- content: "\f1fb";
1647
- }
1648
- .fa-paint-brush:before {
1649
- content: "\f1fc";
1650
- }
1651
- .fa-birthday-cake:before {
1652
- content: "\f1fd";
1653
- }
1654
- .fa-area-chart:before {
1655
- content: "\f1fe";
1656
- }
1657
- .fa-pie-chart:before {
1658
- content: "\f200";
1659
- }
1660
- .fa-line-chart:before {
1661
- content: "\f201";
1662
- }
1663
- .fa-lastfm:before {
1664
- content: "\f202";
1665
- }
1666
- .fa-lastfm-square:before {
1667
- content: "\f203";
1668
- }
1669
- .fa-toggle-off:before {
1670
- content: "\f204";
1671
- }
1672
- .fa-toggle-on:before {
1673
- content: "\f205";
1674
- }
1675
- .fa-bicycle:before {
1676
- content: "\f206";
1677
- }
1678
- .fa-bus:before {
1679
- content: "\f207";
1680
- }
1681
- .fa-ioxhost:before {
1682
- content: "\f208";
1683
- }
1684
- .fa-angellist:before {
1685
- content: "\f209";
1686
- }
1687
- .fa-cc:before {
1688
- content: "\f20a";
1689
- }
1690
- .fa-shekel:before,
1691
- .fa-sheqel:before,
1692
- .fa-ils:before {
1693
- content: "\f20b";
1694
- }
1695
- .fa-meanpath:before {
1696
- content: "\f20c";
1697
- }
1698
- .fa-buysellads:before {
1699
- content: "\f20d";
1700
- }
1701
- .fa-connectdevelop:before {
1702
- content: "\f20e";
1703
- }
1704
- .fa-dashcube:before {
1705
- content: "\f210";
1706
- }
1707
- .fa-forumbee:before {
1708
- content: "\f211";
1709
- }
1710
- .fa-leanpub:before {
1711
- content: "\f212";
1712
- }
1713
- .fa-sellsy:before {
1714
- content: "\f213";
1715
- }
1716
- .fa-shirtsinbulk:before {
1717
- content: "\f214";
1718
- }
1719
- .fa-simplybuilt:before {
1720
- content: "\f215";
1721
- }
1722
- .fa-skyatlas:before {
1723
- content: "\f216";
1724
- }
1725
- .fa-cart-plus:before {
1726
- content: "\f217";
1727
- }
1728
- .fa-cart-arrow-down:before {
1729
- content: "\f218";
1730
- }
1731
- .fa-diamond:before {
1732
- content: "\f219";
1733
- }
1734
- .fa-ship:before {
1735
- content: "\f21a";
1736
- }
1737
- .fa-user-secret:before {
1738
- content: "\f21b";
1739
- }
1740
- .fa-motorcycle:before {
1741
- content: "\f21c";
1742
- }
1743
- .fa-street-view:before {
1744
- content: "\f21d";
1745
- }
1746
- .fa-heartbeat:before {
1747
- content: "\f21e";
1748
- }
1749
- .fa-venus:before {
1750
- content: "\f221";
1751
- }
1752
- .fa-mars:before {
1753
- content: "\f222";
1754
- }
1755
- .fa-mercury:before {
1756
- content: "\f223";
1757
- }
1758
- .fa-intersex:before,
1759
- .fa-transgender:before {
1760
- content: "\f224";
1761
- }
1762
- .fa-transgender-alt:before {
1763
- content: "\f225";
1764
- }
1765
- .fa-venus-double:before {
1766
- content: "\f226";
1767
- }
1768
- .fa-mars-double:before {
1769
- content: "\f227";
1770
- }
1771
- .fa-venus-mars:before {
1772
- content: "\f228";
1773
- }
1774
- .fa-mars-stroke:before {
1775
- content: "\f229";
1776
- }
1777
- .fa-mars-stroke-v:before {
1778
- content: "\f22a";
1779
- }
1780
- .fa-mars-stroke-h:before {
1781
- content: "\f22b";
1782
- }
1783
- .fa-neuter:before {
1784
- content: "\f22c";
1785
- }
1786
- .fa-genderless:before {
1787
- content: "\f22d";
1788
- }
1789
- .fa-facebook-official:before {
1790
- content: "\f230";
1791
- }
1792
- .fa-pinterest-p:before {
1793
- content: "\f231";
1794
- }
1795
- .fa-whatsapp:before {
1796
- content: "\f232";
1797
- }
1798
- .fa-server:before {
1799
- content: "\f233";
1800
- }
1801
- .fa-user-plus:before {
1802
- content: "\f234";
1803
- }
1804
- .fa-user-times:before {
1805
- content: "\f235";
1806
- }
1807
- .fa-hotel:before,
1808
- .fa-bed:before {
1809
- content: "\f236";
1810
- }
1811
- .fa-viacoin:before {
1812
- content: "\f237";
1813
- }
1814
- .fa-train:before {
1815
- content: "\f238";
1816
- }
1817
- .fa-subway:before {
1818
- content: "\f239";
1819
- }
1820
- .fa-medium:before {
1821
- content: "\f23a";
1822
- }
1823
- .fa-yc:before,
1824
- .fa-y-combinator:before {
1825
- content: "\f23b";
1826
- }
1827
- .fa-optin-monster:before {
1828
- content: "\f23c";
1829
- }
1830
- .fa-opencart:before {
1831
- content: "\f23d";
1832
- }
1833
- .fa-expeditedssl:before {
1834
- content: "\f23e";
1835
- }
1836
- .fa-battery-4:before,
1837
- .fa-battery-full:before {
1838
- content: "\f240";
1839
- }
1840
- .fa-battery-3:before,
1841
- .fa-battery-three-quarters:before {
1842
- content: "\f241";
1843
- }
1844
- .fa-battery-2:before,
1845
- .fa-battery-half:before {
1846
- content: "\f242";
1847
- }
1848
- .fa-battery-1:before,
1849
- .fa-battery-quarter:before {
1850
- content: "\f243";
1851
- }
1852
- .fa-battery-0:before,
1853
- .fa-battery-empty:before {
1854
- content: "\f244";
1855
- }
1856
- .fa-mouse-pointer:before {
1857
- content: "\f245";
1858
- }
1859
- .fa-i-cursor:before {
1860
- content: "\f246";
1861
- }
1862
- .fa-object-group:before {
1863
- content: "\f247";
1864
- }
1865
- .fa-object-ungroup:before {
1866
- content: "\f248";
1867
- }
1868
- .fa-sticky-note:before {
1869
- content: "\f249";
1870
- }
1871
- .fa-sticky-note-o:before {
1872
- content: "\f24a";
1873
- }
1874
- .fa-cc-jcb:before {
1875
- content: "\f24b";
1876
- }
1877
- .fa-cc-diners-club:before {
1878
- content: "\f24c";
1879
- }
1880
- .fa-clone:before {
1881
- content: "\f24d";
1882
- }
1883
- .fa-balance-scale:before {
1884
- content: "\f24e";
1885
- }
1886
- .fa-hourglass-o:before {
1887
- content: "\f250";
1888
- }
1889
- .fa-hourglass-1:before,
1890
- .fa-hourglass-start:before {
1891
- content: "\f251";
1892
- }
1893
- .fa-hourglass-2:before,
1894
- .fa-hourglass-half:before {
1895
- content: "\f252";
1896
- }
1897
- .fa-hourglass-3:before,
1898
- .fa-hourglass-end:before {
1899
- content: "\f253";
1900
- }
1901
- .fa-hourglass:before {
1902
- content: "\f254";
1903
- }
1904
- .fa-hand-grab-o:before,
1905
- .fa-hand-rock-o:before {
1906
- content: "\f255";
1907
- }
1908
- .fa-hand-stop-o:before,
1909
- .fa-hand-paper-o:before {
1910
- content: "\f256";
1911
- }
1912
- .fa-hand-scissors-o:before {
1913
- content: "\f257";
1914
- }
1915
- .fa-hand-lizard-o:before {
1916
- content: "\f258";
1917
- }
1918
- .fa-hand-spock-o:before {
1919
- content: "\f259";
1920
- }
1921
- .fa-hand-pointer-o:before {
1922
- content: "\f25a";
1923
- }
1924
- .fa-hand-peace-o:before {
1925
- content: "\f25b";
1926
- }
1927
- .fa-trademark:before {
1928
- content: "\f25c";
1929
- }
1930
- .fa-registered:before {
1931
- content: "\f25d";
1932
- }
1933
- .fa-creative-commons:before {
1934
- content: "\f25e";
1935
- }
1936
- .fa-gg:before {
1937
- content: "\f260";
1938
- }
1939
- .fa-gg-circle:before {
1940
- content: "\f261";
1941
- }
1942
- .fa-tripadvisor:before {
1943
- content: "\f262";
1944
- }
1945
- .fa-odnoklassniki:before {
1946
- content: "\f263";
1947
- }
1948
- .fa-odnoklassniki-square:before {
1949
- content: "\f264";
1950
- }
1951
- .fa-get-pocket:before {
1952
- content: "\f265";
1953
- }
1954
- .fa-wikipedia-w:before {
1955
- content: "\f266";
1956
- }
1957
- .fa-safari:before {
1958
- content: "\f267";
1959
- }
1960
- .fa-chrome:before {
1961
- content: "\f268";
1962
- }
1963
- .fa-firefox:before {
1964
- content: "\f269";
1965
- }
1966
- .fa-opera:before {
1967
- content: "\f26a";
1968
- }
1969
- .fa-internet-explorer:before {
1970
- content: "\f26b";
1971
- }
1972
- .fa-tv:before,
1973
- .fa-television:before {
1974
- content: "\f26c";
1975
- }
1976
- .fa-contao:before {
1977
- content: "\f26d";
1978
- }
1979
- .fa-500px:before {
1980
- content: "\f26e";
1981
- }
1982
- .fa-amazon:before {
1983
- content: "\f270";
1984
- }
1985
- .fa-calendar-plus-o:before {
1986
- content: "\f271";
1987
- }
1988
- .fa-calendar-minus-o:before {
1989
- content: "\f272";
1990
- }
1991
- .fa-calendar-times-o:before {
1992
- content: "\f273";
1993
- }
1994
- .fa-calendar-check-o:before {
1995
- content: "\f274";
1996
- }
1997
- .fa-industry:before {
1998
- content: "\f275";
1999
- }
2000
- .fa-map-pin:before {
2001
- content: "\f276";
2002
- }
2003
- .fa-map-signs:before {
2004
- content: "\f277";
2005
- }
2006
- .fa-map-o:before {
2007
- content: "\f278";
2008
- }
2009
- .fa-map:before {
2010
- content: "\f279";
2011
- }
2012
- .fa-commenting:before {
2013
- content: "\f27a";
2014
- }
2015
- .fa-commenting-o:before {
2016
- content: "\f27b";
2017
- }
2018
- .fa-houzz:before {
2019
- content: "\f27c";
2020
- }
2021
- .fa-vimeo:before {
2022
- content: "\f27d";
2023
- }
2024
- .fa-black-tie:before {
2025
- content: "\f27e";
2026
- }
2027
- .fa-fonticons:before {
2028
- content: "\f280";
2029
- }
2030
- .fa-reddit-alien:before {
2031
- content: "\f281";
2032
- }
2033
- .fa-edge:before {
2034
- content: "\f282";
2035
- }
2036
- .fa-credit-card-alt:before {
2037
- content: "\f283";
2038
- }
2039
- .fa-codiepie:before {
2040
- content: "\f284";
2041
- }
2042
- .fa-modx:before {
2043
- content: "\f285";
2044
- }
2045
- .fa-fort-awesome:before {
2046
- content: "\f286";
2047
- }
2048
- .fa-usb:before {
2049
- content: "\f287";
2050
- }
2051
- .fa-product-hunt:before {
2052
- content: "\f288";
2053
- }
2054
- .fa-mixcloud:before {
2055
- content: "\f289";
2056
- }
2057
- .fa-scribd:before {
2058
- content: "\f28a";
2059
- }
2060
- .fa-pause-circle:before {
2061
- content: "\f28b";
2062
- }
2063
- .fa-pause-circle-o:before {
2064
- content: "\f28c";
2065
- }
2066
- .fa-stop-circle:before {
2067
- content: "\f28d";
2068
- }
2069
- .fa-stop-circle-o:before {
2070
- content: "\f28e";
2071
- }
2072
- .fa-shopping-bag:before {
2073
- content: "\f290";
2074
- }
2075
- .fa-shopping-basket:before {
2076
- content: "\f291";
2077
- }
2078
- .fa-hashtag:before {
2079
- content: "\f292";
2080
- }
2081
- .fa-bluetooth:before {
2082
- content: "\f293";
2083
- }
2084
- .fa-bluetooth-b:before {
2085
- content: "\f294";
2086
- }
2087
- .fa-percent:before {
2088
- content: "\f295";
2089
- }
2090
- .fa-gitlab:before {
2091
- content: "\f296";
2092
- }
2093
- .fa-wpbeginner:before {
2094
- content: "\f297";
2095
- }
2096
- .fa-wpforms:before {
2097
- content: "\f298";
2098
- }
2099
- .fa-envira:before {
2100
- content: "\f299";
2101
- }
2102
- .fa-universal-access:before {
2103
- content: "\f29a";
2104
- }
2105
- .fa-wheelchair-alt:before {
2106
- content: "\f29b";
2107
- }
2108
- .fa-question-circle-o:before {
2109
- content: "\f29c";
2110
- }
2111
- .fa-blind:before {
2112
- content: "\f29d";
2113
- }
2114
- .fa-audio-description:before {
2115
- content: "\f29e";
2116
- }
2117
- .fa-volume-control-phone:before {
2118
- content: "\f2a0";
2119
- }
2120
- .fa-braille:before {
2121
- content: "\f2a1";
2122
- }
2123
- .fa-assistive-listening-systems:before {
2124
- content: "\f2a2";
2125
- }
2126
- .fa-asl-interpreting:before,
2127
- .fa-american-sign-language-interpreting:before {
2128
- content: "\f2a3";
2129
- }
2130
- .fa-deafness:before,
2131
- .fa-hard-of-hearing:before,
2132
- .fa-deaf:before {
2133
- content: "\f2a4";
2134
- }
2135
- .fa-glide:before {
2136
- content: "\f2a5";
2137
- }
2138
- .fa-glide-g:before {
2139
- content: "\f2a6";
2140
- }
2141
- .fa-signing:before,
2142
- .fa-sign-language:before {
2143
- content: "\f2a7";
2144
- }
2145
- .fa-low-vision:before {
2146
- content: "\f2a8";
2147
- }
2148
- .fa-viadeo:before {
2149
- content: "\f2a9";
2150
- }
2151
- .fa-viadeo-square:before {
2152
- content: "\f2aa";
2153
- }
2154
- .fa-snapchat:before {
2155
- content: "\f2ab";
2156
- }
2157
- .fa-snapchat-ghost:before {
2158
- content: "\f2ac";
2159
- }
2160
- .fa-snapchat-square:before {
2161
- content: "\f2ad";
2162
- }
2163
- .fa-pied-piper:before {
2164
- content: "\f2ae";
2165
- }
2166
- .fa-first-order:before {
2167
- content: "\f2b0";
2168
- }
2169
- .fa-yoast:before {
2170
- content: "\f2b1";
2171
- }
2172
- .fa-themeisle:before {
2173
- content: "\f2b2";
2174
- }
2175
- .fa-google-plus-circle:before,
2176
- .fa-google-plus-official:before {
2177
- content: "\f2b3";
2178
- }
2179
- .fa-fa:before,
2180
- .fa-font-awesome:before {
2181
- content: "\f2b4";
2182
- }
2183
- .sr-only {
2184
- position: absolute;
2185
- width: 1px;
2186
- height: 1px;
2187
- padding: 0;
2188
- margin: -1px;
2189
- overflow: hidden;
2190
- clip: rect(0, 0, 0, 0);
2191
- border: 0;
2192
- }
2193
- .sr-only-focusable:active,
2194
- .sr-only-focusable:focus {
2195
- position: static;
2196
- width: auto;
2197
- height: auto;
2198
- margin: 0;
2199
- overflow: visible;
2200
- clip: auto;
2201
- }
1
+ /*!
2
+ * Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome
3
+ * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4
+ */
5
+ /* FONT PATH
6
+ * -------------------------- */
7
+ @font-face {
8
+ font-family: 'FontAwesome';
9
+ src: url('fonts/fontawesome-webfont.eot?v=4.6.3');
10
+ src: url('fonts/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'), url('fonts/fontawesome-webfont.woff2?v=4.6.3') format('woff2'), url('fonts/fontawesome-webfont.woff?v=4.6.3') format('woff'), url('fonts/fontawesome-webfont.ttf?v=4.6.3') format('truetype'), url('fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular') format('svg');
11
+ font-weight: normal;
12
+ font-style: normal;
13
+ }
14
+ .fa {
15
+ display: inline-block;
16
+ font-family: FontAwesome !important;
17
+ font-style: normal;
18
+ font-weight: normal;
19
+ text-rendering: auto;
20
+ line-height: 1 !important;
21
+ -webkit-font-smoothing: antialiased !important;
22
+ -moz-osx-font-smoothing: grayscale !important;
23
+ }
24
+ /* makes the font 33% larger relative to the icon container */
25
+ .fa-lg {
26
+ font-size: 1.33333333em;
27
+ line-height: 0.75em;
28
+ vertical-align: -15%;
29
+ }
30
+ .fa-2x {
31
+ font-size: 2em;
32
+ }
33
+ .fa-3x {
34
+ font-size: 3em;
35
+ }
36
+ .fa-4x {
37
+ font-size: 4em;
38
+ }
39
+ .fa-5x {
40
+ font-size: 5em;
41
+ }
42
+ .fa-fw {
43
+ width: 1.28571429em;
44
+ text-align: center;
45
+ }
46
+ .fa-ul {
47
+ padding-left: 0;
48
+ margin-left: 2.14285714em;
49
+ list-style-type: none;
50
+ }
51
+ .fa-ul > li {
52
+ position: relative;
53
+ }
54
+ .fa-li {
55
+ position: absolute;
56
+ left: -2.14285714em;
57
+ width: 2.14285714em;
58
+ top: 0.14285714em;
59
+ text-align: center;
60
+ }
61
+ .fa-li.fa-lg {
62
+ left: -1.85714286em;
63
+ }
64
+ .fa-border {
65
+ padding: .2em .25em .15em;
66
+ border: solid 0.08em #eee;
67
+ border-radius: .1em;
68
+ }
69
+ .fa-pull-left {
70
+ float: left;
71
+ }
72
+ .fa-pull-right {
73
+ float: right;
74
+ }
75
+ .fa.fa-pull-left {
76
+ margin-right: .3em;
77
+ }
78
+ .fa.fa-pull-right {
79
+ margin-left: .3em;
80
+ }
81
+ /* Deprecated as of 4.4.0 */
82
+ .pull-right {
83
+ float: right;
84
+ }
85
+ .pull-left {
86
+ float: left;
87
+ }
88
+ .fa.pull-left {
89
+ margin-right: .3em;
90
+ }
91
+ .fa.pull-right {
92
+ margin-left: .3em;
93
+ }
94
+ .fa-spin {
95
+ -webkit-animation: fa-spin 2s infinite linear;
96
+ animation: fa-spin 2s infinite linear;
97
+ }
98
+ .fa-pulse {
99
+ -webkit-animation: fa-spin 1s infinite steps(8);
100
+ animation: fa-spin 1s infinite steps(8);
101
+ }
102
+ @-webkit-keyframes fa-spin {
103
+ 0% {
104
+ -webkit-transform: rotate(0deg);
105
+ transform: rotate(0deg);
106
+ }
107
+ 100% {
108
+ -webkit-transform: rotate(359deg);
109
+ transform: rotate(359deg);
110
+ }
111
+ }
112
+ @keyframes fa-spin {
113
+ 0% {
114
+ -webkit-transform: rotate(0deg);
115
+ transform: rotate(0deg);
116
+ }
117
+ 100% {
118
+ -webkit-transform: rotate(359deg);
119
+ transform: rotate(359deg);
120
+ }
121
+ }
122
+ .fa-rotate-90 {
123
+ -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
124
+ -webkit-transform: rotate(90deg);
125
+ -ms-transform: rotate(90deg);
126
+ transform: rotate(90deg);
127
+ }
128
+ .fa-rotate-180 {
129
+ -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
130
+ -webkit-transform: rotate(180deg);
131
+ -ms-transform: rotate(180deg);
132
+ transform: rotate(180deg);
133
+ }
134
+ .fa-rotate-270 {
135
+ -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";
136
+ -webkit-transform: rotate(270deg);
137
+ -ms-transform: rotate(270deg);
138
+ transform: rotate(270deg);
139
+ }
140
+ .fa-flip-horizontal {
141
+ -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
142
+ -webkit-transform: scale(-1, 1);
143
+ -ms-transform: scale(-1, 1);
144
+ transform: scale(-1, 1);
145
+ }
146
+ .fa-flip-vertical {
147
+ -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
148
+ -webkit-transform: scale(1, -1);
149
+ -ms-transform: scale(1, -1);
150
+ transform: scale(1, -1);
151
+ }
152
+ :root .fa-rotate-90,
153
+ :root .fa-rotate-180,
154
+ :root .fa-rotate-270,
155
+ :root .fa-flip-horizontal,
156
+ :root .fa-flip-vertical {
157
+ filter: none;
158
+ }
159
+ .fa-stack {
160
+ position: relative;
161
+ display: inline-block;
162
+ width: 2em;
163
+ height: 2em;
164
+ line-height: 2em;
165
+ vertical-align: middle;
166
+ }
167
+ .fa-stack-1x,
168
+ .fa-stack-2x {
169
+ position: absolute;
170
+ left: 0;
171
+ width: 100%;
172
+ text-align: center;
173
+ }
174
+ .fa-stack-1x {
175
+ line-height: inherit;
176
+ }
177
+ .fa-stack-2x {
178
+ font-size: 2em;
179
+ }
180
+ .fa-inverse {
181
+ color: #fff;
182
+ }
183
+ /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
184
+ readers do not read off random characters that represent icons */
185
+ .fa-glass:before {
186
+ content: "\f000";
187
+ }
188
+ .fa-music:before {
189
+ content: "\f001";
190
+ }
191
+ .fa-search:before {
192
+ content: "\f002";
193
+ }
194
+ .fa-envelope-o:before {
195
+ content: "\f003";
196
+ }
197
+ .fa-heart:before {
198
+ content: "\f004";
199
+ }
200
+ .fa-star:before {
201
+ content: "\f005";
202
+ }
203
+ .fa-star-o:before {
204
+ content: "\f006";
205
+ }
206
+ .fa-user:before {
207
+ content: "\f007";
208
+ }
209
+ .fa-film:before {
210
+ content: "\f008";
211
+ }
212
+ .fa-th-large:before {
213
+ content: "\f009";
214
+ }
215
+ .fa-th:before {
216
+ content: "\f00a";
217
+ }
218
+ .fa-th-list:before {
219
+ content: "\f00b";
220
+ }
221
+ .fa-check:before {
222
+ content: "\f00c";
223
+ }
224
+ .fa-remove:before,
225
+ .fa-close:before,
226
+ .fa-times:before {
227
+ content: "\f00d";
228
+ }
229
+ .fa-search-plus:before {
230
+ content: "\f00e";
231
+ }
232
+ .fa-search-minus:before {
233
+ content: "\f010";
234
+ }
235
+ .fa-power-off:before {
236
+ content: "\f011";
237
+ }
238
+ .fa-signal:before {
239
+ content: "\f012";
240
+ }
241
+ .fa-gear:before,
242
+ .fa-cog:before {
243
+ content: "\f013";
244
+ }
245
+ .fa-trash-o:before {
246
+ content: "\f014";
247
+ }
248
+ .fa-home:before {
249
+ content: "\f015";
250
+ }
251
+ .fa-file-o:before {
252
+ content: "\f016";
253
+ }
254
+ .fa-clock-o:before {
255
+ content: "\f017";
256
+ }
257
+ .fa-road:before {
258
+ content: "\f018";
259
+ }
260
+ .fa-download:before {
261
+ content: "\f019";
262
+ }
263
+ .fa-arrow-circle-o-down:before {
264
+ content: "\f01a";
265
+ }
266
+ .fa-arrow-circle-o-up:before {
267
+ content: "\f01b";
268
+ }
269
+ .fa-inbox:before {
270
+ content: "\f01c";
271
+ }
272
+ .fa-play-circle-o:before {
273
+ content: "\f01d";
274
+ }
275
+ .fa-rotate-right:before,
276
+ .fa-repeat:before {
277
+ content: "\f01e";
278
+ }
279
+ .fa-refresh:before {
280
+ content: "\f021";
281
+ }
282
+ .fa-list-alt:before {
283
+ content: "\f022";
284
+ }
285
+ .fa-lock:before {
286
+ content: "\f023";
287
+ }
288
+ .fa-flag:before {
289
+ content: "\f024";
290
+ }
291
+ .fa-headphones:before {
292
+ content: "\f025";
293
+ }
294
+ .fa-volume-off:before {
295
+ content: "\f026";
296
+ }
297
+ .fa-volume-down:before {
298
+ content: "\f027";
299
+ }
300
+ .fa-volume-up:before {
301
+ content: "\f028";
302
+ }
303
+ .fa-qrcode:before {
304
+ content: "\f029";
305
+ }
306
+ .fa-barcode:before {
307
+ content: "\f02a";
308
+ }
309
+ .fa-tag:before {
310
+ content: "\f02b";
311
+ }
312
+ .fa-tags:before {
313
+ content: "\f02c";
314
+ }
315
+ .fa-book:before {
316
+ content: "\f02d";
317
+ }
318
+ .fa-bookmark:before {
319
+ content: "\f02e";
320
+ }
321
+ .fa-print:before {
322
+ content: "\f02f";
323
+ }
324
+ .fa-camera:before {
325
+ content: "\f030";
326
+ }
327
+ .fa-font:before {
328
+ content: "\f031";
329
+ }
330
+ .fa-bold:before {
331
+ content: "\f032";
332
+ }
333
+ .fa-italic:before {
334
+ content: "\f033";
335
+ }
336
+ .fa-text-height:before {
337
+ content: "\f034";
338
+ }
339
+ .fa-text-width:before {
340
+ content: "\f035";
341
+ }
342
+ .fa-align-left:before {
343
+ content: "\f036";
344
+ }
345
+ .fa-align-center:before {
346
+ content: "\f037";
347
+ }
348
+ .fa-align-right:before {
349
+ content: "\f038";
350
+ }
351
+ .fa-align-justify:before {
352
+ content: "\f039";
353
+ }
354
+ .fa-list:before {
355
+ content: "\f03a";
356
+ }
357
+ .fa-dedent:before,
358
+ .fa-outdent:before {
359
+ content: "\f03b";
360
+ }
361
+ .fa-indent:before {
362
+ content: "\f03c";
363
+ }
364
+ .fa-video-camera:before {
365
+ content: "\f03d";
366
+ }
367
+ .fa-photo:before,
368
+ .fa-image:before,
369
+ .fa-picture-o:before {
370
+ content: "\f03e";
371
+ }
372
+ .fa-pencil:before {
373
+ content: "\f040";
374
+ }
375
+ .fa-map-marker:before {
376
+ content: "\f041";
377
+ }
378
+ .fa-adjust:before {
379
+ content: "\f042";
380
+ }
381
+ .fa-tint:before {
382
+ content: "\f043";
383
+ }
384
+ .fa-edit:before,
385
+ .fa-pencil-square-o:before {
386
+ content: "\f044";
387
+ }
388
+ .fa-share-square-o:before {
389
+ content: "\f045";
390
+ }
391
+ .fa-check-square-o:before {
392
+ content: "\f046";
393
+ }
394
+ .fa-arrows:before {
395
+ content: "\f047";
396
+ }
397
+ .fa-step-backward:before {
398
+ content: "\f048";
399
+ }
400
+ .fa-fast-backward:before {
401
+ content: "\f049";
402
+ }
403
+ .fa-backward:before {
404
+ content: "\f04a";
405
+ }
406
+ .fa-play:before {
407
+ content: "\f04b";
408
+ }
409
+ .fa-pause:before {
410
+ content: "\f04c";
411
+ }
412
+ .fa-stop:before {
413
+ content: "\f04d";
414
+ }
415
+ .fa-forward:before {
416
+ content: "\f04e";
417
+ }
418
+ .fa-fast-forward:before {
419
+ content: "\f050";
420
+ }
421
+ .fa-step-forward:before {
422
+ content: "\f051";
423
+ }
424
+ .fa-eject:before {
425
+ content: "\f052";
426
+ }
427
+ .fa-chevron-left:before {
428
+ content: "\f053";
429
+ }
430
+ .fa-chevron-right:before {
431
+ content: "\f054";
432
+ }
433
+ .fa-plus-circle:before {
434
+ content: "\f055";
435
+ }
436
+ .fa-minus-circle:before {
437
+ content: "\f056";
438
+ }
439
+ .fa-times-circle:before {
440
+ content: "\f057";
441
+ }
442
+ .fa-check-circle:before {
443
+ content: "\f058";
444
+ }
445
+ .fa-question-circle:before {
446
+ content: "\f059";
447
+ }
448
+ .fa-info-circle:before {
449
+ content: "\f05a";
450
+ }
451
+ .fa-crosshairs:before {
452
+ content: "\f05b";
453
+ }
454
+ .fa-times-circle-o:before {
455
+ content: "\f05c";
456
+ }
457
+ .fa-check-circle-o:before {
458
+ content: "\f05d";
459
+ }
460
+ .fa-ban:before {
461
+ content: "\f05e";
462
+ }
463
+ .fa-arrow-left:before {
464
+ content: "\f060";
465
+ }
466
+ .fa-arrow-right:before {
467
+ content: "\f061";
468
+ }
469
+ .fa-arrow-up:before {
470
+ content: "\f062";
471
+ }
472
+ .fa-arrow-down:before {
473
+ content: "\f063";
474
+ }
475
+ .fa-mail-forward:before,
476
+ .fa-share:before {
477
+ content: "\f064";
478
+ }
479
+ .fa-expand:before {
480
+ content: "\f065";
481
+ }
482
+ .fa-compress:before {
483
+ content: "\f066";
484
+ }
485
+ .fa-plus:before {
486
+ content: "\f067";
487
+ }
488
+ .fa-minus:before {
489
+ content: "\f068";
490
+ }
491
+ .fa-asterisk:before {
492
+ content: "\f069";
493
+ }
494
+ .fa-exclamation-circle:before {
495
+ content: "\f06a";
496
+ }
497
+ .fa-gift:before {
498
+ content: "\f06b";
499
+ }
500
+ .fa-leaf:before {
501
+ content: "\f06c";
502
+ }
503
+ .fa-fire:before {
504
+ content: "\f06d";
505
+ }
506
+ .fa-eye:before {
507
+ content: "\f06e";
508
+ }
509
+ .fa-eye-slash:before {
510
+ content: "\f070";
511
+ }
512
+ .fa-warning:before,
513
+ .fa-exclamation-triangle:before {
514
+ content: "\f071";
515
+ }
516
+ .fa-plane:before {
517
+ content: "\f072";
518
+ }
519
+ .fa-calendar:before {
520
+ content: "\f073";
521
+ }
522
+ .fa-random:before {
523
+ content: "\f074";
524
+ }
525
+ .fa-comment:before {
526
+ content: "\f075";
527
+ }
528
+ .fa-magnet:before {
529
+ content: "\f076";
530
+ }
531
+ .fa-chevron-up:before {
532
+ content: "\f077";
533
+ }
534
+ .fa-chevron-down:before {
535
+ content: "\f078";
536
+ }
537
+ .fa-retweet:before {
538
+ content: "\f079";
539
+ }
540
+ .fa-shopping-cart:before {
541
+ content: "\f07a";
542
+ }
543
+ .fa-folder:before {
544
+ content: "\f07b";
545
+ }
546
+ .fa-folder-open:before {
547
+ content: "\f07c";
548
+ }
549
+ .fa-arrows-v:before {
550
+ content: "\f07d";
551
+ }
552
+ .fa-arrows-h:before {
553
+ content: "\f07e";
554
+ }
555
+ .fa-bar-chart-o:before,
556
+ .fa-bar-chart:before {
557
+ content: "\f080";
558
+ }
559
+ .fa-twitter-square:before {
560
+ content: "\f081";
561
+ }
562
+ .fa-facebook-square:before {
563
+ content: "\f082";
564
+ }
565
+ .fa-camera-retro:before {
566
+ content: "\f083";
567
+ }
568
+ .fa-key:before {
569
+ content: "\f084";
570
+ }
571
+ .fa-gears:before,
572
+ .fa-cogs:before {
573
+ content: "\f085";
574
+ }
575
+ .fa-comments:before {
576
+ content: "\f086";
577
+ }
578
+ .fa-thumbs-o-up:before {
579
+ content: "\f087";
580
+ }
581
+ .fa-thumbs-o-down:before {
582
+ content: "\f088";
583
+ }
584
+ .fa-star-half:before {
585
+ content: "\f089";
586
+ }
587
+ .fa-heart-o:before {
588
+ content: "\f08a";
589
+ }
590
+ .fa-sign-out:before {
591
+ content: "\f08b";
592
+ }
593
+ .fa-linkedin-square:before {
594
+ content: "\f08c";
595
+ }
596
+ .fa-thumb-tack:before {
597
+ content: "\f08d";
598
+ }
599
+ .fa-external-link:before {
600
+ content: "\f08e";
601
+ }
602
+ .fa-sign-in:before {
603
+ content: "\f090";
604
+ }
605
+ .fa-trophy:before {
606
+ content: "\f091";
607
+ }
608
+ .fa-github-square:before {
609
+ content: "\f092";
610
+ }
611
+ .fa-upload:before {
612
+ content: "\f093";
613
+ }
614
+ .fa-lemon-o:before {
615
+ content: "\f094";
616
+ }
617
+ .fa-phone:before {
618
+ content: "\f095";
619
+ }
620
+ .fa-square-o:before {
621
+ content: "\f096";
622
+ }
623
+ .fa-bookmark-o:before {
624
+ content: "\f097";
625
+ }
626
+ .fa-phone-square:before {
627
+ content: "\f098";
628
+ }
629
+ .fa-twitter:before {
630
+ content: "\f099";
631
+ }
632
+ .fa-facebook-f:before,
633
+ .fa-facebook:before {
634
+ content: "\f09a";
635
+ }
636
+ .fa-github:before {
637
+ content: "\f09b";
638
+ }
639
+ .fa-unlock:before {
640
+ content: "\f09c";
641
+ }
642
+ .fa-credit-card:before {
643
+ content: "\f09d";
644
+ }
645
+ .fa-feed:before,
646
+ .fa-rss:before {
647
+ content: "\f09e";
648
+ }
649
+ .fa-hdd-o:before {
650
+ content: "\f0a0";
651
+ }
652
+ .fa-bullhorn:before {
653
+ content: "\f0a1";
654
+ }
655
+ .fa-bell:before {
656
+ content: "\f0f3";
657
+ }
658
+ .fa-certificate:before {
659
+ content: "\f0a3";
660
+ }
661
+ .fa-hand-o-right:before {
662
+ content: "\f0a4";
663
+ }
664
+ .fa-hand-o-left:before {
665
+ content: "\f0a5";
666
+ }
667
+ .fa-hand-o-up:before {
668
+ content: "\f0a6";
669
+ }
670
+ .fa-hand-o-down:before {
671
+ content: "\f0a7";
672
+ }
673
+ .fa-arrow-circle-left:before {
674
+ content: "\f0a8";
675
+ }
676
+ .fa-arrow-circle-right:before {
677
+ content: "\f0a9";
678
+ }
679
+ .fa-arrow-circle-up:before {
680
+ content: "\f0aa";
681
+ }
682
+ .fa-arrow-circle-down:before {
683
+ content: "\f0ab";
684
+ }
685
+ .fa-globe:before {
686
+ content: "\f0ac";
687
+ }
688
+ .fa-wrench:before {
689
+ content: "\f0ad";
690
+ }
691
+ .fa-tasks:before {
692
+ content: "\f0ae";
693
+ }
694
+ .fa-filter:before {
695
+ content: "\f0b0";
696
+ }
697
+ .fa-briefcase:before {
698
+ content: "\f0b1";
699
+ }
700
+ .fa-arrows-alt:before {
701
+ content: "\f0b2";
702
+ }
703
+ .fa-group:before,
704
+ .fa-users:before {
705
+ content: "\f0c0";
706
+ }
707
+ .fa-chain:before,
708
+ .fa-link:before {
709
+ content: "\f0c1";
710
+ }
711
+ .fa-cloud:before {
712
+ content: "\f0c2";
713
+ }
714
+ .fa-flask:before {
715
+ content: "\f0c3";
716
+ }
717
+ .fa-cut:before,
718
+ .fa-scissors:before {
719
+ content: "\f0c4";
720
+ }
721
+ .fa-copy:before,
722
+ .fa-files-o:before {
723
+ content: "\f0c5";
724
+ }
725
+ .fa-paperclip:before {
726
+ content: "\f0c6";
727
+ }
728
+ .fa-save:before,
729
+ .fa-floppy-o:before {
730
+ content: "\f0c7";
731
+ }
732
+ .fa-square:before {
733
+ content: "\f0c8";
734
+ }
735
+ .fa-navicon:before,
736
+ .fa-reorder:before,
737
+ .fa-bars:before {
738
+ content: "\f0c9";
739
+ }
740
+ .fa-list-ul:before {
741
+ content: "\f0ca";
742
+ }
743
+ .fa-list-ol:before {
744
+ content: "\f0cb";
745
+ }
746
+ .fa-strikethrough:before {
747
+ content: "\f0cc";
748
+ }
749
+ .fa-underline:before {
750
+ content: "\f0cd";
751
+ }
752
+ .fa-table:before {
753
+ content: "\f0ce";
754
+ }
755
+ .fa-magic:before {
756
+ content: "\f0d0";
757
+ }
758
+ .fa-truck:before {
759
+ content: "\f0d1";
760
+ }
761
+ .fa-pinterest:before {
762
+ content: "\f0d2";
763
+ }
764
+ .fa-pinterest-square:before {
765
+ content: "\f0d3";
766
+ }
767
+ .fa-google-plus-square:before {
768
+ content: "\f0d4";
769
+ }
770
+ .fa-google-plus:before {
771
+ content: "\f0d5";
772
+ }
773
+ .fa-money:before {
774
+ content: "\f0d6";
775
+ }
776
+ .fa-caret-down:before {
777
+ content: "\f0d7";
778
+ }
779
+ .fa-caret-up:before {
780
+ content: "\f0d8";
781
+ }
782
+ .fa-caret-left:before {
783
+ content: "\f0d9";
784
+ }
785
+ .fa-caret-right:before {
786
+ content: "\f0da";
787
+ }
788
+ .fa-columns:before {
789
+ content: "\f0db";
790
+ }
791
+ .fa-unsorted:before,
792
+ .fa-sort:before {
793
+ content: "\f0dc";
794
+ }
795
+ .fa-sort-down:before,
796
+ .fa-sort-desc:before {
797
+ content: "\f0dd";
798
+ }
799
+ .fa-sort-up:before,
800
+ .fa-sort-asc:before {
801
+ content: "\f0de";
802
+ }
803
+ .fa-envelope:before {
804
+ content: "\f0e0";
805
+ }
806
+ .fa-linkedin:before {
807
+ content: "\f0e1";
808
+ }
809
+ .fa-rotate-left:before,
810
+ .fa-undo:before {
811
+ content: "\f0e2";
812
+ }
813
+ .fa-legal:before,
814
+ .fa-gavel:before {
815
+ content: "\f0e3";
816
+ }
817
+ .fa-dashboard:before,
818
+ .fa-tachometer:before {
819
+ content: "\f0e4";
820
+ }
821
+ .fa-comment-o:before {
822
+ content: "\f0e5";
823
+ }
824
+ .fa-comments-o:before {
825
+ content: "\f0e6";
826
+ }
827
+ .fa-flash:before,
828
+ .fa-bolt:before {
829
+ content: "\f0e7";
830
+ }
831
+ .fa-sitemap:before {
832
+ content: "\f0e8";
833
+ }
834
+ .fa-umbrella:before {
835
+ content: "\f0e9";
836
+ }
837
+ .fa-paste:before,
838
+ .fa-clipboard:before {
839
+ content: "\f0ea";
840
+ }
841
+ .fa-lightbulb-o:before {
842
+ content: "\f0eb";
843
+ }
844
+ .fa-exchange:before {
845
+ content: "\f0ec";
846
+ }
847
+ .fa-cloud-download:before {
848
+ content: "\f0ed";
849
+ }
850
+ .fa-cloud-upload:before {
851
+ content: "\f0ee";
852
+ }
853
+ .fa-user-md:before {
854
+ content: "\f0f0";
855
+ }
856
+ .fa-stethoscope:before {
857
+ content: "\f0f1";
858
+ }
859
+ .fa-suitcase:before {
860
+ content: "\f0f2";
861
+ }
862
+ .fa-bell-o:before {
863
+ content: "\f0a2";
864
+ }
865
+ .fa-coffee:before {
866
+ content: "\f0f4";
867
+ }
868
+ .fa-cutlery:before {
869
+ content: "\f0f5";
870
+ }
871
+ .fa-file-text-o:before {
872
+ content: "\f0f6";
873
+ }
874
+ .fa-building-o:before {
875
+ content: "\f0f7";
876
+ }
877
+ .fa-hospital-o:before {
878
+ content: "\f0f8";
879
+ }
880
+ .fa-ambulance:before {
881
+ content: "\f0f9";
882
+ }
883
+ .fa-medkit:before {
884
+ content: "\f0fa";
885
+ }
886
+ .fa-fighter-jet:before {
887
+ content: "\f0fb";
888
+ }
889
+ .fa-beer:before {
890
+ content: "\f0fc";
891
+ }
892
+ .fa-h-square:before {
893
+ content: "\f0fd";
894
+ }
895
+ .fa-plus-square:before {
896
+ content: "\f0fe";
897
+ }
898
+ .fa-angle-double-left:before {
899
+ content: "\f100";
900
+ }
901
+ .fa-angle-double-right:before {
902
+ content: "\f101";
903
+ }
904
+ .fa-angle-double-up:before {
905
+ content: "\f102";
906
+ }
907
+ .fa-angle-double-down:before {
908
+ content: "\f103";
909
+ }
910
+ .fa-angle-left:before {
911
+ content: "\f104";
912
+ }
913
+ .fa-angle-right:before {
914
+ content: "\f105";
915
+ }
916
+ .fa-angle-up:before {
917
+ content: "\f106";
918
+ }
919
+ .fa-angle-down:before {
920
+ content: "\f107";
921
+ }
922
+ .fa-desktop:before {
923
+ content: "\f108";
924
+ }
925
+ .fa-laptop:before {
926
+ content: "\f109";
927
+ }
928
+ .fa-tablet:before {
929
+ content: "\f10a";
930
+ }
931
+ .fa-mobile-phone:before,
932
+ .fa-mobile:before {
933
+ content: "\f10b";
934
+ }
935
+ .fa-circle-o:before {
936
+ content: "\f10c";
937
+ }
938
+ .fa-quote-left:before {
939
+ content: "\f10d";
940
+ }
941
+ .fa-quote-right:before {
942
+ content: "\f10e";
943
+ }
944
+ .fa-spinner:before {
945
+ content: "\f110";
946
+ }
947
+ .fa-circle:before {
948
+ content: "\f111";
949
+ }
950
+ .fa-mail-reply:before,
951
+ .fa-reply:before {
952
+ content: "\f112";
953
+ }
954
+ .fa-github-alt:before {
955
+ content: "\f113";
956
+ }
957
+ .fa-folder-o:before {
958
+ content: "\f114";
959
+ }
960
+ .fa-folder-open-o:before {
961
+ content: "\f115";
962
+ }
963
+ .fa-smile-o:before {
964
+ content: "\f118";
965
+ }
966
+ .fa-frown-o:before {
967
+ content: "\f119";
968
+ }
969
+ .fa-meh-o:before {
970
+ content: "\f11a";
971
+ }
972
+ .fa-gamepad:before {
973
+ content: "\f11b";
974
+ }
975
+ .fa-keyboard-o:before {
976
+ content: "\f11c";
977
+ }
978
+ .fa-flag-o:before {
979
+ content: "\f11d";
980
+ }
981
+ .fa-flag-checkered:before {
982
+ content: "\f11e";
983
+ }
984
+ .fa-terminal:before {
985
+ content: "\f120";
986
+ }
987
+ .fa-code:before {
988
+ content: "\f121";
989
+ }
990
+ .fa-mail-reply-all:before,
991
+ .fa-reply-all:before {
992
+ content: "\f122";
993
+ }
994
+ .fa-star-half-empty:before,
995
+ .fa-star-half-full:before,
996
+ .fa-star-half-o:before {
997
+ content: "\f123";
998
+ }
999
+ .fa-location-arrow:before {
1000
+ content: "\f124";
1001
+ }
1002
+ .fa-crop:before {
1003
+ content: "\f125";
1004
+ }
1005
+ .fa-code-fork:before {
1006
+ content: "\f126";
1007
+ }
1008
+ .fa-unlink:before,
1009
+ .fa-chain-broken:before {
1010
+ content: "\f127";
1011
+ }
1012
+ .fa-question:before {
1013
+ content: "\f128";
1014
+ }
1015
+ .fa-info:before {
1016
+ content: "\f129";
1017
+ }
1018
+ .fa-exclamation:before {
1019
+ content: "\f12a";
1020
+ }
1021
+ .fa-superscript:before {
1022
+ content: "\f12b";
1023
+ }
1024
+ .fa-subscript:before {
1025
+ content: "\f12c";
1026
+ }
1027
+ .fa-eraser:before {
1028
+ content: "\f12d";
1029
+ }
1030
+ .fa-puzzle-piece:before {
1031
+ content: "\f12e";
1032
+ }
1033
+ .fa-microphone:before {
1034
+ content: "\f130";
1035
+ }
1036
+ .fa-microphone-slash:before {
1037
+ content: "\f131";
1038
+ }
1039
+ .fa-shield:before {
1040
+ content: "\f132";
1041
+ }
1042
+ .fa-calendar-o:before {
1043
+ content: "\f133";
1044
+ }
1045
+ .fa-fire-extinguisher:before {
1046
+ content: "\f134";
1047
+ }
1048
+ .fa-rocket:before {
1049
+ content: "\f135";
1050
+ }
1051
+ .fa-maxcdn:before {
1052
+ content: "\f136";
1053
+ }
1054
+ .fa-chevron-circle-left:before {
1055
+ content: "\f137";
1056
+ }
1057
+ .fa-chevron-circle-right:before {
1058
+ content: "\f138";
1059
+ }
1060
+ .fa-chevron-circle-up:before {
1061
+ content: "\f139";
1062
+ }
1063
+ .fa-chevron-circle-down:before {
1064
+ content: "\f13a";
1065
+ }
1066
+ .fa-html5:before {
1067
+ content: "\f13b";
1068
+ }
1069
+ .fa-css3:before {
1070
+ content: "\f13c";
1071
+ }
1072
+ .fa-anchor:before {
1073
+ content: "\f13d";
1074
+ }
1075
+ .fa-unlock-alt:before {
1076
+ content: "\f13e";
1077
+ }
1078
+ .fa-bullseye:before {
1079
+ content: "\f140";
1080
+ }
1081
+ .fa-ellipsis-h:before {
1082
+ content: "\f141";
1083
+ }
1084
+ .fa-ellipsis-v:before {
1085
+ content: "\f142";
1086
+ }
1087
+ .fa-rss-square:before {
1088
+ content: "\f143";
1089
+ }
1090
+ .fa-play-circle:before {
1091
+ content: "\f144";
1092
+ }
1093
+ .fa-ticket:before {
1094
+ content: "\f145";
1095
+ }
1096
+ .fa-minus-square:before {
1097
+ content: "\f146";
1098
+ }
1099
+ .fa-minus-square-o:before {
1100
+ content: "\f147";
1101
+ }
1102
+ .fa-level-up:before {
1103
+ content: "\f148";
1104
+ }
1105
+ .fa-level-down:before {
1106
+ content: "\f149";
1107
+ }
1108
+ .fa-check-square:before {
1109
+ content: "\f14a";
1110
+ }
1111
+ .fa-pencil-square:before {
1112
+ content: "\f14b";
1113
+ }
1114
+ .fa-external-link-square:before {
1115
+ content: "\f14c";
1116
+ }
1117
+ .fa-share-square:before {
1118
+ content: "\f14d";
1119
+ }
1120
+ .fa-compass:before {
1121
+ content: "\f14e";
1122
+ }
1123
+ .fa-toggle-down:before,
1124
+ .fa-caret-square-o-down:before {
1125
+ content: "\f150";
1126
+ }
1127
+ .fa-toggle-up:before,
1128
+ .fa-caret-square-o-up:before {
1129
+ content: "\f151";
1130
+ }
1131
+ .fa-toggle-right:before,
1132
+ .fa-caret-square-o-right:before {
1133
+ content: "\f152";
1134
+ }
1135
+ .fa-euro:before,
1136
+ .fa-eur:before {
1137
+ content: "\f153";
1138
+ }
1139
+ .fa-gbp:before {
1140
+ content: "\f154";
1141
+ }
1142
+ .fa-dollar:before,
1143
+ .fa-usd:before {
1144
+ content: "\f155";
1145
+ }
1146
+ .fa-rupee:before,
1147
+ .fa-inr:before {
1148
+ content: "\f156";
1149
+ }
1150
+ .fa-cny:before,
1151
+ .fa-rmb:before,
1152
+ .fa-yen:before,
1153
+ .fa-jpy:before {
1154
+ content: "\f157";
1155
+ }
1156
+ .fa-ruble:before,
1157
+ .fa-rouble:before,
1158
+ .fa-rub:before {
1159
+ content: "\f158";
1160
+ }
1161
+ .fa-won:before,
1162
+ .fa-krw:before {
1163
+ content: "\f159";
1164
+ }
1165
+ .fa-bitcoin:before,
1166
+ .fa-btc:before {
1167
+ content: "\f15a";
1168
+ }
1169
+ .fa-file:before {
1170
+ content: "\f15b";
1171
+ }
1172
+ .fa-file-text:before {
1173
+ content: "\f15c";
1174
+ }
1175
+ .fa-sort-alpha-asc:before {
1176
+ content: "\f15d";
1177
+ }
1178
+ .fa-sort-alpha-desc:before {
1179
+ content: "\f15e";
1180
+ }
1181
+ .fa-sort-amount-asc:before {
1182
+ content: "\f160";
1183
+ }
1184
+ .fa-sort-amount-desc:before {
1185
+ content: "\f161";
1186
+ }
1187
+ .fa-sort-numeric-asc:before {
1188
+ content: "\f162";
1189
+ }
1190
+ .fa-sort-numeric-desc:before {
1191
+ content: "\f163";
1192
+ }
1193
+ .fa-thumbs-up:before {
1194
+ content: "\f164";
1195
+ }
1196
+ .fa-thumbs-down:before {
1197
+ content: "\f165";
1198
+ }
1199
+ .fa-youtube-square:before {
1200
+ content: "\f166";
1201
+ }
1202
+ .fa-youtube:before {
1203
+ content: "\f167";
1204
+ }
1205
+ .fa-xing:before {
1206
+ content: "\f168";
1207
+ }
1208
+ .fa-xing-square:before {
1209
+ content: "\f169";
1210
+ }
1211
+ .fa-youtube-play:before {
1212
+ content: "\f16a";
1213
+ }
1214
+ .fa-dropbox:before {
1215
+ content: "\f16b";
1216
+ }
1217
+ .fa-stack-overflow:before {
1218
+ content: "\f16c";
1219
+ }
1220
+ .fa-instagram:before {
1221
+ content: "\f16d";
1222
+ }
1223
+ .fa-flickr:before {
1224
+ content: "\f16e";
1225
+ }
1226
+ .fa-adn:before {
1227
+ content: "\f170";
1228
+ }
1229
+ .fa-bitbucket:before {
1230
+ content: "\f171";
1231
+ }
1232
+ .fa-bitbucket-square:before {
1233
+ content: "\f172";
1234
+ }
1235
+ .fa-tumblr:before {
1236
+ content: "\f173";
1237
+ }
1238
+ .fa-tumblr-square:before {
1239
+ content: "\f174";
1240
+ }
1241
+ .fa-long-arrow-down:before {
1242
+ content: "\f175";
1243
+ }
1244
+ .fa-long-arrow-up:before {
1245
+ content: "\f176";
1246
+ }
1247
+ .fa-long-arrow-left:before {
1248
+ content: "\f177";
1249
+ }
1250
+ .fa-long-arrow-right:before {
1251
+ content: "\f178";
1252
+ }
1253
+ .fa-apple:before {
1254
+ content: "\f179";
1255
+ }
1256
+ .fa-windows:before {
1257
+ content: "\f17a";
1258
+ }
1259
+ .fa-android:before {
1260
+ content: "\f17b";
1261
+ }
1262
+ .fa-linux:before {
1263
+ content: "\f17c";
1264
+ }
1265
+ .fa-dribbble:before {
1266
+ content: "\f17d";
1267
+ }
1268
+ .fa-skype:before {
1269
+ content: "\f17e";
1270
+ }
1271
+ .fa-foursquare:before {
1272
+ content: "\f180";
1273
+ }
1274
+ .fa-trello:before {
1275
+ content: "\f181";
1276
+ }
1277
+ .fa-female:before {
1278
+ content: "\f182";
1279
+ }
1280
+ .fa-male:before {
1281
+ content: "\f183";
1282
+ }
1283
+ .fa-gittip:before,
1284
+ .fa-gratipay:before {
1285
+ content: "\f184";
1286
+ }
1287
+ .fa-sun-o:before {
1288
+ content: "\f185";
1289
+ }
1290
+ .fa-moon-o:before {
1291
+ content: "\f186";
1292
+ }
1293
+ .fa-archive:before {
1294
+ content: "\f187";
1295
+ }
1296
+ .fa-bug:before {
1297
+ content: "\f188";
1298
+ }
1299
+ .fa-vk:before {
1300
+ content: "\f189";
1301
+ }
1302
+ .fa-weibo:before {
1303
+ content: "\f18a";
1304
+ }
1305
+ .fa-renren:before {
1306
+ content: "\f18b";
1307
+ }
1308
+ .fa-pagelines:before {
1309
+ content: "\f18c";
1310
+ }
1311
+ .fa-stack-exchange:before {
1312
+ content: "\f18d";
1313
+ }
1314
+ .fa-arrow-circle-o-right:before {
1315
+ content: "\f18e";
1316
+ }
1317
+ .fa-arrow-circle-o-left:before {
1318
+ content: "\f190";
1319
+ }
1320
+ .fa-toggle-left:before,
1321
+ .fa-caret-square-o-left:before {
1322
+ content: "\f191";
1323
+ }
1324
+ .fa-dot-circle-o:before {
1325
+ content: "\f192";
1326
+ }
1327
+ .fa-wheelchair:before {
1328
+ content: "\f193";
1329
+ }
1330
+ .fa-vimeo-square:before {
1331
+ content: "\f194";
1332
+ }
1333
+ .fa-turkish-lira:before,
1334
+ .fa-try:before {
1335
+ content: "\f195";
1336
+ }
1337
+ .fa-plus-square-o:before {
1338
+ content: "\f196";
1339
+ }
1340
+ .fa-space-shuttle:before {
1341
+ content: "\f197";
1342
+ }
1343
+ .fa-slack:before {
1344
+ content: "\f198";
1345
+ }
1346
+ .fa-envelope-square:before {
1347
+ content: "\f199";
1348
+ }
1349
+ .fa-wordpress:before {
1350
+ content: "\f19a";
1351
+ }
1352
+ .fa-openid:before {
1353
+ content: "\f19b";
1354
+ }
1355
+ .fa-institution:before,
1356
+ .fa-bank:before,
1357
+ .fa-university:before {
1358
+ content: "\f19c";
1359
+ }
1360
+ .fa-mortar-board:before,
1361
+ .fa-graduation-cap:before {
1362
+ content: "\f19d";
1363
+ }
1364
+ .fa-yahoo:before {
1365
+ content: "\f19e";
1366
+ }
1367
+ .fa-google:before {
1368
+ content: "\f1a0";
1369
+ }
1370
+ .fa-reddit:before {
1371
+ content: "\f1a1";
1372
+ }
1373
+ .fa-reddit-square:before {
1374
+ content: "\f1a2";
1375
+ }
1376
+ .fa-stumbleupon-circle:before {
1377
+ content: "\f1a3";
1378
+ }
1379
+ .fa-stumbleupon:before {
1380
+ content: "\f1a4";
1381
+ }
1382
+ .fa-delicious:before {
1383
+ content: "\f1a5";
1384
+ }
1385
+ .fa-digg:before {
1386
+ content: "\f1a6";
1387
+ }
1388
+ .fa-pied-piper-pp:before {
1389
+ content: "\f1a7";
1390
+ }
1391
+ .fa-pied-piper-alt:before {
1392
+ content: "\f1a8";
1393
+ }
1394
+ .fa-drupal:before {
1395
+ content: "\f1a9";
1396
+ }
1397
+ .fa-joomla:before {
1398
+ content: "\f1aa";
1399
+ }
1400
+ .fa-language:before {
1401
+ content: "\f1ab";
1402
+ }
1403
+ .fa-fax:before {
1404
+ content: "\f1ac";
1405
+ }
1406
+ .fa-building:before {
1407
+ content: "\f1ad";
1408
+ }
1409
+ .fa-child:before {
1410
+ content: "\f1ae";
1411
+ }
1412
+ .fa-paw:before {
1413
+ content: "\f1b0";
1414
+ }
1415
+ .fa-spoon:before {
1416
+ content: "\f1b1";
1417
+ }
1418
+ .fa-cube:before {
1419
+ content: "\f1b2";
1420
+ }
1421
+ .fa-cubes:before {
1422
+ content: "\f1b3";
1423
+ }
1424
+ .fa-behance:before {
1425
+ content: "\f1b4";
1426
+ }
1427
+ .fa-behance-square:before {
1428
+ content: "\f1b5";
1429
+ }
1430
+ .fa-steam:before {
1431
+ content: "\f1b6";
1432
+ }
1433
+ .fa-steam-square:before {
1434
+ content: "\f1b7";
1435
+ }
1436
+ .fa-recycle:before {
1437
+ content: "\f1b8";
1438
+ }
1439
+ .fa-automobile:before,
1440
+ .fa-car:before {
1441
+ content: "\f1b9";
1442
+ }
1443
+ .fa-cab:before,
1444
+ .fa-taxi:before {
1445
+ content: "\f1ba";
1446
+ }
1447
+ .fa-tree:before {
1448
+ content: "\f1bb";
1449
+ }
1450
+ .fa-spotify:before {
1451
+ content: "\f1bc";
1452
+ }
1453
+ .fa-deviantart:before {
1454
+ content: "\f1bd";
1455
+ }
1456
+ .fa-soundcloud:before {
1457
+ content: "\f1be";
1458
+ }
1459
+ .fa-database:before {
1460
+ content: "\f1c0";
1461
+ }
1462
+ .fa-file-pdf-o:before {
1463
+ content: "\f1c1";
1464
+ }
1465
+ .fa-file-word-o:before {
1466
+ content: "\f1c2";
1467
+ }
1468
+ .fa-file-excel-o:before {
1469
+ content: "\f1c3";
1470
+ }
1471
+ .fa-file-powerpoint-o:before {
1472
+ content: "\f1c4";
1473
+ }
1474
+ .fa-file-photo-o:before,
1475
+ .fa-file-picture-o:before,
1476
+ .fa-file-image-o:before {
1477
+ content: "\f1c5";
1478
+ }
1479
+ .fa-file-zip-o:before,
1480
+ .fa-file-archive-o:before {
1481
+ content: "\f1c6";
1482
+ }
1483
+ .fa-file-sound-o:before,
1484
+ .fa-file-audio-o:before {
1485
+ content: "\f1c7";
1486
+ }
1487
+ .fa-file-movie-o:before,
1488
+ .fa-file-video-o:before {
1489
+ content: "\f1c8";
1490
+ }
1491
+ .fa-file-code-o:before {
1492
+ content: "\f1c9";
1493
+ }
1494
+ .fa-vine:before {
1495
+ content: "\f1ca";
1496
+ }
1497
+ .fa-codepen:before {
1498
+ content: "\f1cb";
1499
+ }
1500
+ .fa-jsfiddle:before {
1501
+ content: "\f1cc";
1502
+ }
1503
+ .fa-life-bouy:before,
1504
+ .fa-life-buoy:before,
1505
+ .fa-life-saver:before,
1506
+ .fa-support:before,
1507
+ .fa-life-ring:before {
1508
+ content: "\f1cd";
1509
+ }
1510
+ .fa-circle-o-notch:before {
1511
+ content: "\f1ce";
1512
+ }
1513
+ .fa-ra:before,
1514
+ .fa-resistance:before,
1515
+ .fa-rebel:before {
1516
+ content: "\f1d0";
1517
+ }
1518
+ .fa-ge:before,
1519
+ .fa-empire:before {
1520
+ content: "\f1d1";
1521
+ }
1522
+ .fa-git-square:before {
1523
+ content: "\f1d2";
1524
+ }
1525
+ .fa-git:before {
1526
+ content: "\f1d3";
1527
+ }
1528
+ .fa-y-combinator-square:before,
1529
+ .fa-yc-square:before,
1530
+ .fa-hacker-news:before {
1531
+ content: "\f1d4";
1532
+ }
1533
+ .fa-tencent-weibo:before {
1534
+ content: "\f1d5";
1535
+ }
1536
+ .fa-qq:before {
1537
+ content: "\f1d6";
1538
+ }
1539
+ .fa-wechat:before,
1540
+ .fa-weixin:before {
1541
+ content: "\f1d7";
1542
+ }
1543
+ .fa-send:before,
1544
+ .fa-paper-plane:before {
1545
+ content: "\f1d8";
1546
+ }
1547
+ .fa-send-o:before,
1548
+ .fa-paper-plane-o:before {
1549
+ content: "\f1d9";
1550
+ }
1551
+ .fa-history:before {
1552
+ content: "\f1da";
1553
+ }
1554
+ .fa-circle-thin:before {
1555
+ content: "\f1db";
1556
+ }
1557
+ .fa-header:before {
1558
+ content: "\f1dc";
1559
+ }
1560
+ .fa-paragraph:before {
1561
+ content: "\f1dd";
1562
+ }
1563
+ .fa-sliders:before {
1564
+ content: "\f1de";
1565
+ }
1566
+ .fa-share-alt:before {
1567
+ content: "\f1e0";
1568
+ }
1569
+ .fa-share-alt-square:before {
1570
+ content: "\f1e1";
1571
+ }
1572
+ .fa-bomb:before {
1573
+ content: "\f1e2";
1574
+ }
1575
+ .fa-soccer-ball-o:before,
1576
+ .fa-futbol-o:before {
1577
+ content: "\f1e3";
1578
+ }
1579
+ .fa-tty:before {
1580
+ content: "\f1e4";
1581
+ }
1582
+ .fa-binoculars:before {
1583
+ content: "\f1e5";
1584
+ }
1585
+ .fa-plug:before {
1586
+ content: "\f1e6";
1587
+ }
1588
+ .fa-slideshare:before {
1589
+ content: "\f1e7";
1590
+ }
1591
+ .fa-twitch:before {
1592
+ content: "\f1e8";
1593
+ }
1594
+ .fa-yelp:before {
1595
+ content: "\f1e9";
1596
+ }
1597
+ .fa-newspaper-o:before {
1598
+ content: "\f1ea";
1599
+ }
1600
+ .fa-wifi:before {
1601
+ content: "\f1eb";
1602
+ }
1603
+ .fa-calculator:before {
1604
+ content: "\f1ec";
1605
+ }
1606
+ .fa-paypal:before {
1607
+ content: "\f1ed";
1608
+ }
1609
+ .fa-google-wallet:before {
1610
+ content: "\f1ee";
1611
+ }
1612
+ .fa-cc-visa:before {
1613
+ content: "\f1f0";
1614
+ }
1615
+ .fa-cc-mastercard:before {
1616
+ content: "\f1f1";
1617
+ }
1618
+ .fa-cc-discover:before {
1619
+ content: "\f1f2";
1620
+ }
1621
+ .fa-cc-amex:before {
1622
+ content: "\f1f3";
1623
+ }
1624
+ .fa-cc-paypal:before {
1625
+ content: "\f1f4";
1626
+ }
1627
+ .fa-cc-stripe:before {
1628
+ content: "\f1f5";
1629
+ }
1630
+ .fa-bell-slash:before {
1631
+ content: "\f1f6";
1632
+ }
1633
+ .fa-bell-slash-o:before {
1634
+ content: "\f1f7";
1635
+ }
1636
+ .fa-trash:before {
1637
+ content: "\f1f8";
1638
+ }
1639
+ .fa-copyright:before {
1640
+ content: "\f1f9";
1641
+ }
1642
+ .fa-at:before {
1643
+ content: "\f1fa";
1644
+ }
1645
+ .fa-eyedropper:before {
1646
+ content: "\f1fb";
1647
+ }
1648
+ .fa-paint-brush:before {
1649
+ content: "\f1fc";
1650
+ }
1651
+ .fa-birthday-cake:before {
1652
+ content: "\f1fd";
1653
+ }
1654
+ .fa-area-chart:before {
1655
+ content: "\f1fe";
1656
+ }
1657
+ .fa-pie-chart:before {
1658
+ content: "\f200";
1659
+ }
1660
+ .fa-line-chart:before {
1661
+ content: "\f201";
1662
+ }
1663
+ .fa-lastfm:before {
1664
+ content: "\f202";
1665
+ }
1666
+ .fa-lastfm-square:before {
1667
+ content: "\f203";
1668
+ }
1669
+ .fa-toggle-off:before {
1670
+ content: "\f204";
1671
+ }
1672
+ .fa-toggle-on:before {
1673
+ content: "\f205";
1674
+ }
1675
+ .fa-bicycle:before {
1676
+ content: "\f206";
1677
+ }
1678
+ .fa-bus:before {
1679
+ content: "\f207";
1680
+ }
1681
+ .fa-ioxhost:before {
1682
+ content: "\f208";
1683
+ }
1684
+ .fa-angellist:before {
1685
+ content: "\f209";
1686
+ }
1687
+ .fa-cc:before {
1688
+ content: "\f20a";
1689
+ }
1690
+ .fa-shekel:before,
1691
+ .fa-sheqel:before,
1692
+ .fa-ils:before {
1693
+ content: "\f20b";
1694
+ }
1695
+ .fa-meanpath:before {
1696
+ content: "\f20c";
1697
+ }
1698
+ .fa-buysellads:before {
1699
+ content: "\f20d";
1700
+ }
1701
+ .fa-connectdevelop:before {
1702
+ content: "\f20e";
1703
+ }
1704
+ .fa-dashcube:before {
1705
+ content: "\f210";
1706
+ }
1707
+ .fa-forumbee:before {
1708
+ content: "\f211";
1709
+ }
1710
+ .fa-leanpub:before {
1711
+ content: "\f212";
1712
+ }
1713
+ .fa-sellsy:before {
1714
+ content: "\f213";
1715
+ }
1716
+ .fa-shirtsinbulk:before {
1717
+ content: "\f214";
1718
+ }
1719
+ .fa-simplybuilt:before {
1720
+ content: "\f215";
1721
+ }
1722
+ .fa-skyatlas:before {
1723
+ content: "\f216";
1724
+ }
1725
+ .fa-cart-plus:before {
1726
+ content: "\f217";
1727
+ }
1728
+ .fa-cart-arrow-down:before {
1729
+ content: "\f218";
1730
+ }
1731
+ .fa-diamond:before {
1732
+ content: "\f219";
1733
+ }
1734
+ .fa-ship:before {
1735
+ content: "\f21a";
1736
+ }
1737
+ .fa-user-secret:before {
1738
+ content: "\f21b";
1739
+ }
1740
+ .fa-motorcycle:before {
1741
+ content: "\f21c";
1742
+ }
1743
+ .fa-street-view:before {
1744
+ content: "\f21d";
1745
+ }
1746
+ .fa-heartbeat:before {
1747
+ content: "\f21e";
1748
+ }
1749
+ .fa-venus:before {
1750
+ content: "\f221";
1751
+ }
1752
+ .fa-mars:before {
1753
+ content: "\f222";
1754
+ }
1755
+ .fa-mercury:before {
1756
+ content: "\f223";
1757
+ }
1758
+ .fa-intersex:before,
1759
+ .fa-transgender:before {
1760
+ content: "\f224";
1761
+ }
1762
+ .fa-transgender-alt:before {
1763
+ content: "\f225";
1764
+ }
1765
+ .fa-venus-double:before {
1766
+ content: "\f226";
1767
+ }
1768
+ .fa-mars-double:before {
1769
+ content: "\f227";
1770
+ }
1771
+ .fa-venus-mars:before {
1772
+ content: "\f228";
1773
+ }
1774
+ .fa-mars-stroke:before {
1775
+ content: "\f229";
1776
+ }
1777
+ .fa-mars-stroke-v:before {
1778
+ content: "\f22a";
1779
+ }
1780
+ .fa-mars-stroke-h:before {
1781
+ content: "\f22b";
1782
+ }
1783
+ .fa-neuter:before {
1784
+ content: "\f22c";
1785
+ }
1786
+ .fa-genderless:before {
1787
+ content: "\f22d";
1788
+ }
1789
+ .fa-facebook-official:before {
1790
+ content: "\f230";
1791
+ }
1792
+ .fa-pinterest-p:before {
1793
+ content: "\f231";
1794
+ }
1795
+ .fa-whatsapp:before {
1796
+ content: "\f232";
1797
+ }
1798
+ .fa-server:before {
1799
+ content: "\f233";
1800
+ }
1801
+ .fa-user-plus:before {
1802
+ content: "\f234";
1803
+ }
1804
+ .fa-user-times:before {
1805
+ content: "\f235";
1806
+ }
1807
+ .fa-hotel:before,
1808
+ .fa-bed:before {
1809
+ content: "\f236";
1810
+ }
1811
+ .fa-viacoin:before {
1812
+ content: "\f237";
1813
+ }
1814
+ .fa-train:before {
1815
+ content: "\f238";
1816
+ }
1817
+ .fa-subway:before {
1818
+ content: "\f239";
1819
+ }
1820
+ .fa-medium:before {
1821
+ content: "\f23a";
1822
+ }
1823
+ .fa-yc:before,
1824
+ .fa-y-combinator:before {
1825
+ content: "\f23b";
1826
+ }
1827
+ .fa-optin-monster:before {
1828
+ content: "\f23c";
1829
+ }
1830
+ .fa-opencart:before {
1831
+ content: "\f23d";
1832
+ }
1833
+ .fa-expeditedssl:before {
1834
+ content: "\f23e";
1835
+ }
1836
+ .fa-battery-4:before,
1837
+ .fa-battery-full:before {
1838
+ content: "\f240";
1839
+ }
1840
+ .fa-battery-3:before,
1841
+ .fa-battery-three-quarters:before {
1842
+ content: "\f241";
1843
+ }
1844
+ .fa-battery-2:before,
1845
+ .fa-battery-half:before {
1846
+ content: "\f242";
1847
+ }
1848
+ .fa-battery-1:before,
1849
+ .fa-battery-quarter:before {
1850
+ content: "\f243";
1851
+ }
1852
+ .fa-battery-0:before,
1853
+ .fa-battery-empty:before {
1854
+ content: "\f244";
1855
+ }
1856
+ .fa-mouse-pointer:before {
1857
+ content: "\f245";
1858
+ }
1859
+ .fa-i-cursor:before {
1860
+ content: "\f246";
1861
+ }
1862
+ .fa-object-group:before {
1863
+ content: "\f247";
1864
+ }
1865
+ .fa-object-ungroup:before {
1866
+ content: "\f248";
1867
+ }
1868
+ .fa-sticky-note:before {
1869
+ content: "\f249";
1870
+ }
1871
+ .fa-sticky-note-o:before {
1872
+ content: "\f24a";
1873
+ }
1874
+ .fa-cc-jcb:before {
1875
+ content: "\f24b";
1876
+ }
1877
+ .fa-cc-diners-club:before {
1878
+ content: "\f24c";
1879
+ }
1880
+ .fa-clone:before {
1881
+ content: "\f24d";
1882
+ }
1883
+ .fa-balance-scale:before {
1884
+ content: "\f24e";
1885
+ }
1886
+ .fa-hourglass-o:before {
1887
+ content: "\f250";
1888
+ }
1889
+ .fa-hourglass-1:before,
1890
+ .fa-hourglass-start:before {
1891
+ content: "\f251";
1892
+ }
1893
+ .fa-hourglass-2:before,
1894
+ .fa-hourglass-half:before {
1895
+ content: "\f252";
1896
+ }
1897
+ .fa-hourglass-3:before,
1898
+ .fa-hourglass-end:before {
1899
+ content: "\f253";
1900
+ }
1901
+ .fa-hourglass:before {
1902
+ content: "\f254";
1903
+ }
1904
+ .fa-hand-grab-o:before,
1905
+ .fa-hand-rock-o:before {
1906
+ content: "\f255";
1907
+ }
1908
+ .fa-hand-stop-o:before,
1909
+ .fa-hand-paper-o:before {
1910
+ content: "\f256";
1911
+ }
1912
+ .fa-hand-scissors-o:before {
1913
+ content: "\f257";
1914
+ }
1915
+ .fa-hand-lizard-o:before {
1916
+ content: "\f258";
1917
+ }
1918
+ .fa-hand-spock-o:before {
1919
+ content: "\f259";
1920
+ }
1921
+ .fa-hand-pointer-o:before {
1922
+ content: "\f25a";
1923
+ }
1924
+ .fa-hand-peace-o:before {
1925
+ content: "\f25b";
1926
+ }
1927
+ .fa-trademark:before {
1928
+ content: "\f25c";
1929
+ }
1930
+ .fa-registered:before {
1931
+ content: "\f25d";
1932
+ }
1933
+ .fa-creative-commons:before {
1934
+ content: "\f25e";
1935
+ }
1936
+ .fa-gg:before {
1937
+ content: "\f260";
1938
+ }
1939
+ .fa-gg-circle:before {
1940
+ content: "\f261";
1941
+ }
1942
+ .fa-tripadvisor:before {
1943
+ content: "\f262";
1944
+ }
1945
+ .fa-odnoklassniki:before {
1946
+ content: "\f263";
1947
+ }
1948
+ .fa-odnoklassniki-square:before {
1949
+ content: "\f264";
1950
+ }
1951
+ .fa-get-pocket:before {
1952
+ content: "\f265";
1953
+ }
1954
+ .fa-wikipedia-w:before {
1955
+ content: "\f266";
1956
+ }
1957
+ .fa-safari:before {
1958
+ content: "\f267";
1959
+ }
1960
+ .fa-chrome:before {
1961
+ content: "\f268";
1962
+ }
1963
+ .fa-firefox:before {
1964
+ content: "\f269";
1965
+ }
1966
+ .fa-opera:before {
1967
+ content: "\f26a";
1968
+ }
1969
+ .fa-internet-explorer:before {
1970
+ content: "\f26b";
1971
+ }
1972
+ .fa-tv:before,
1973
+ .fa-television:before {
1974
+ content: "\f26c";
1975
+ }
1976
+ .fa-contao:before {
1977
+ content: "\f26d";
1978
+ }
1979
+ .fa-500px:before {
1980
+ content: "\f26e";
1981
+ }
1982
+ .fa-amazon:before {
1983
+ content: "\f270";
1984
+ }
1985
+ .fa-calendar-plus-o:before {
1986
+ content: "\f271";
1987
+ }
1988
+ .fa-calendar-minus-o:before {
1989
+ content: "\f272";
1990
+ }
1991
+ .fa-calendar-times-o:before {
1992
+ content: "\f273";
1993
+ }
1994
+ .fa-calendar-check-o:before {
1995
+ content: "\f274";
1996
+ }
1997
+ .fa-industry:before {
1998
+ content: "\f275";
1999
+ }
2000
+ .fa-map-pin:before {
2001
+ content: "\f276";
2002
+ }
2003
+ .fa-map-signs:before {
2004
+ content: "\f277";
2005
+ }
2006
+ .fa-map-o:before {
2007
+ content: "\f278";
2008
+ }
2009
+ .fa-map:before {
2010
+ content: "\f279";
2011
+ }
2012
+ .fa-commenting:before {
2013
+ content: "\f27a";
2014
+ }
2015
+ .fa-commenting-o:before {
2016
+ content: "\f27b";
2017
+ }
2018
+ .fa-houzz:before {
2019
+ content: "\f27c";
2020
+ }
2021
+ .fa-vimeo:before {
2022
+ content: "\f27d";
2023
+ }
2024
+ .fa-black-tie:before {
2025
+ content: "\f27e";
2026
+ }
2027
+ .fa-fonticons:before {
2028
+ content: "\f280";
2029
+ }
2030
+ .fa-reddit-alien:before {
2031
+ content: "\f281";
2032
+ }
2033
+ .fa-edge:before {
2034
+ content: "\f282";
2035
+ }
2036
+ .fa-credit-card-alt:before {
2037
+ content: "\f283";
2038
+ }
2039
+ .fa-codiepie:before {
2040
+ content: "\f284";
2041
+ }
2042
+ .fa-modx:before {
2043
+ content: "\f285";
2044
+ }
2045
+ .fa-fort-awesome:before {
2046
+ content: "\f286";
2047
+ }
2048
+ .fa-usb:before {
2049
+ content: "\f287";
2050
+ }
2051
+ .fa-product-hunt:before {
2052
+ content: "\f288";
2053
+ }
2054
+ .fa-mixcloud:before {
2055
+ content: "\f289";
2056
+ }
2057
+ .fa-scribd:before {
2058
+ content: "\f28a";
2059
+ }
2060
+ .fa-pause-circle:before {
2061
+ content: "\f28b";
2062
+ }
2063
+ .fa-pause-circle-o:before {
2064
+ content: "\f28c";
2065
+ }
2066
+ .fa-stop-circle:before {
2067
+ content: "\f28d";
2068
+ }
2069
+ .fa-stop-circle-o:before {
2070
+ content: "\f28e";
2071
+ }
2072
+ .fa-shopping-bag:before {
2073
+ content: "\f290";
2074
+ }
2075
+ .fa-shopping-basket:before {
2076
+ content: "\f291";
2077
+ }
2078
+ .fa-hashtag:before {
2079
+ content: "\f292";
2080
+ }
2081
+ .fa-bluetooth:before {
2082
+ content: "\f293";
2083
+ }
2084
+ .fa-bluetooth-b:before {
2085
+ content: "\f294";
2086
+ }
2087
+ .fa-percent:before {
2088
+ content: "\f295";
2089
+ }
2090
+ .fa-gitlab:before {
2091
+ content: "\f296";
2092
+ }
2093
+ .fa-wpbeginner:before {
2094
+ content: "\f297";
2095
+ }
2096
+ .fa-wpforms:before {
2097
+ content: "\f298";
2098
+ }
2099
+ .fa-envira:before {
2100
+ content: "\f299";
2101
+ }
2102
+ .fa-universal-access:before {
2103
+ content: "\f29a";
2104
+ }
2105
+ .fa-wheelchair-alt:before {
2106
+ content: "\f29b";
2107
+ }
2108
+ .fa-question-circle-o:before {
2109
+ content: "\f29c";
2110
+ }
2111
+ .fa-blind:before {
2112
+ content: "\f29d";
2113
+ }
2114
+ .fa-audio-description:before {
2115
+ content: "\f29e";
2116
+ }
2117
+ .fa-volume-control-phone:before {
2118
+ content: "\f2a0";
2119
+ }
2120
+ .fa-braille:before {
2121
+ content: "\f2a1";
2122
+ }
2123
+ .fa-assistive-listening-systems:before {
2124
+ content: "\f2a2";
2125
+ }
2126
+ .fa-asl-interpreting:before,
2127
+ .fa-american-sign-language-interpreting:before {
2128
+ content: "\f2a3";
2129
+ }
2130
+ .fa-deafness:before,
2131
+ .fa-hard-of-hearing:before,
2132
+ .fa-deaf:before {
2133
+ content: "\f2a4";
2134
+ }
2135
+ .fa-glide:before {
2136
+ content: "\f2a5";
2137
+ }
2138
+ .fa-glide-g:before {
2139
+ content: "\f2a6";
2140
+ }
2141
+ .fa-signing:before,
2142
+ .fa-sign-language:before {
2143
+ content: "\f2a7";
2144
+ }
2145
+ .fa-low-vision:before {
2146
+ content: "\f2a8";
2147
+ }
2148
+ .fa-viadeo:before {
2149
+ content: "\f2a9";
2150
+ }
2151
+ .fa-viadeo-square:before {
2152
+ content: "\f2aa";
2153
+ }
2154
+ .fa-snapchat:before {
2155
+ content: "\f2ab";
2156
+ }
2157
+ .fa-snapchat-ghost:before {
2158
+ content: "\f2ac";
2159
+ }
2160
+ .fa-snapchat-square:before {
2161
+ content: "\f2ad";
2162
+ }
2163
+ .fa-pied-piper:before {
2164
+ content: "\f2ae";
2165
+ }
2166
+ .fa-first-order:before {
2167
+ content: "\f2b0";
2168
+ }
2169
+ .fa-yoast:before {
2170
+ content: "\f2b1";
2171
+ }
2172
+ .fa-themeisle:before {
2173
+ content: "\f2b2";
2174
+ }
2175
+ .fa-google-plus-circle:before,
2176
+ .fa-google-plus-official:before {
2177
+ content: "\f2b3";
2178
+ }
2179
+ .fa-fa:before,
2180
+ .fa-font-awesome:before {
2181
+ content: "\f2b4";
2182
+ }
2183
+ .sr-only {
2184
+ position: absolute;
2185
+ width: 1px;
2186
+ height: 1px;
2187
+ padding: 0;
2188
+ margin: -1px;
2189
+ overflow: hidden;
2190
+ clip: rect(0, 0, 0, 0);
2191
+ border: 0;
2192
+ }
2193
+ .sr-only-focusable:active,
2194
+ .sr-only-focusable:focus {
2195
+ position: static;
2196
+ width: auto;
2197
+ height: auto;
2198
+ margin: 0;
2199
+ overflow: visible;
2200
+ clip: auto;
2201
+ }
css/font-awesome/fonts/fontawesome-webfont.svg CHANGED
@@ -1,685 +1,685 @@
1
- <?xml version="1.0" standalone="no"?>
2
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
- <svg xmlns="http://www.w3.org/2000/svg">
4
- <metadata></metadata>
5
- <defs>
6
- <font id="fontawesomeregular" horiz-adv-x="1536" >
7
- <font-face units-per-em="1792" ascent="1536" descent="-256" />
8
- <missing-glyph horiz-adv-x="448" />
9
- <glyph unicode=" " horiz-adv-x="448" />
10
- <glyph unicode="&#x09;" horiz-adv-x="448" />
11
- <glyph unicode="&#xa0;" horiz-adv-x="448" />
12
- <glyph unicode="&#xa8;" horiz-adv-x="1792" />
13
- <glyph unicode="&#xa9;" horiz-adv-x="1792" />
14
- <glyph unicode="&#xae;" horiz-adv-x="1792" />
15
- <glyph unicode="&#xb4;" horiz-adv-x="1792" />
16
- <glyph unicode="&#xc6;" horiz-adv-x="1792" />
17
- <glyph unicode="&#xd8;" horiz-adv-x="1792" />
18
- <glyph unicode="&#x2000;" horiz-adv-x="768" />
19
- <glyph unicode="&#x2001;" horiz-adv-x="1537" />
20
- <glyph unicode="&#x2002;" horiz-adv-x="768" />
21
- <glyph unicode="&#x2003;" horiz-adv-x="1537" />
22
- <glyph unicode="&#x2004;" horiz-adv-x="512" />
23
- <glyph unicode="&#x2005;" horiz-adv-x="384" />
24
- <glyph unicode="&#x2006;" horiz-adv-x="256" />
25
- <glyph unicode="&#x2007;" horiz-adv-x="256" />
26
- <glyph unicode="&#x2008;" horiz-adv-x="192" />
27
- <glyph unicode="&#x2009;" horiz-adv-x="307" />
28
- <glyph unicode="&#x200a;" horiz-adv-x="85" />
29
- <glyph unicode="&#x202f;" horiz-adv-x="307" />
30
- <glyph unicode="&#x205f;" horiz-adv-x="384" />
31
- <glyph unicode="&#x2122;" horiz-adv-x="1792" />
32
- <glyph unicode="&#x221e;" horiz-adv-x="1792" />
33
- <glyph unicode="&#x2260;" horiz-adv-x="1792" />
34
- <glyph unicode="&#x25fc;" horiz-adv-x="500" d="M0 0z" />
35
- <glyph unicode="&#xf000;" horiz-adv-x="1792" d="M1699 1350q0 -35 -43 -78l-632 -632v-768h320q26 0 45 -19t19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45t45 19h320v768l-632 632q-43 43 -43 78q0 23 18 36.5t38 17.5t43 4h1408q23 0 43 -4t38 -17.5t18 -36.5z" />
36
- <glyph unicode="&#xf001;" d="M1536 1312v-1120q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v537l-768 -237v-709q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89 t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v967q0 31 19 56.5t49 35.5l832 256q12 4 28 4q40 0 68 -28t28 -68z" />
37
- <glyph unicode="&#xf002;" horiz-adv-x="1664" d="M1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -52 -38 -90t-90 -38q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5 t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
38
- <glyph unicode="&#xf003;" horiz-adv-x="1792" d="M1664 32v768q-32 -36 -69 -66q-268 -206 -426 -338q-51 -43 -83 -67t-86.5 -48.5t-102.5 -24.5h-1h-1q-48 0 -102.5 24.5t-86.5 48.5t-83 67q-158 132 -426 338q-37 30 -69 66v-768q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1664 1083v11v13.5t-0.5 13 t-3 12.5t-5.5 9t-9 7.5t-14 2.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5q0 -168 147 -284q193 -152 401 -317q6 -5 35 -29.5t46 -37.5t44.5 -31.5t50.5 -27.5t43 -9h1h1q20 0 43 9t50.5 27.5t44.5 31.5t46 37.5t35 29.5q208 165 401 317q54 43 100.5 115.5t46.5 131.5z M1792 1120v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" />
39
- <glyph unicode="&#xf004;" horiz-adv-x="1792" d="M896 -128q-26 0 -44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124t127 -344q0 -221 -229 -450l-623 -600 q-18 -18 -44 -18z" />
40
- <glyph unicode="&#xf005;" horiz-adv-x="1664" d="M1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -21 -10.5 -35.5t-30.5 -14.5q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455 l502 -73q56 -9 56 -46z" />
41
- <glyph unicode="&#xf006;" horiz-adv-x="1664" d="M1137 532l306 297l-422 62l-189 382l-189 -382l-422 -62l306 -297l-73 -421l378 199l377 -199zM1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -50 -41 -50q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500 l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455l502 -73q56 -9 56 -46z" />
42
- <glyph unicode="&#xf007;" horiz-adv-x="1408" d="M1408 131q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5t43 97.5t62 81t85.5 53.5t111.5 20q9 0 42 -21.5t74.5 -48t108 -48t133.5 -21.5t133.5 21.5t108 48t74.5 48t42 21.5q61 0 111.5 -20t85.5 -53.5t62 -81 t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5z" />
43
- <glyph unicode="&#xf008;" horiz-adv-x="1920" d="M384 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 320v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 704v128q0 26 -19 45t-45 19h-128 q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 -64v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM384 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45 t45 -19h128q26 0 45 19t19 45zM1792 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 704v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1792 320v128 q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 704v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19 t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1920 1248v-1344q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1344q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
44
- <glyph unicode="&#xf009;" horiz-adv-x="1664" d="M768 512v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM768 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 512v-384q0 -52 -38 -90t-90 -38 h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
45
- <glyph unicode="&#xf00a;" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 288v-192q0 -40 -28 -68t-68 -28h-320 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68z" />
46
- <glyph unicode="&#xf00b;" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-960 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h960q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68z" />
47
- <glyph unicode="&#xf00c;" horiz-adv-x="1792" d="M1671 970q0 -40 -28 -68l-724 -724l-136 -136q-28 -28 -68 -28t-68 28l-136 136l-362 362q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -295l656 657q28 28 68 28t68 -28l136 -136q28 -28 28 -68z" />
48
- <glyph unicode="&#xf00d;" horiz-adv-x="1408" d="M1298 214q0 -40 -28 -68l-136 -136q-28 -28 -68 -28t-68 28l-294 294l-294 -294q-28 -28 -68 -28t-68 28l-136 136q-28 28 -28 68t28 68l294 294l-294 294q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -294l294 294q28 28 68 28t68 -28l136 -136q28 -28 28 -68 t-28 -68l-294 -294l294 -294q28 -28 28 -68z" />
49
- <glyph unicode="&#xf00e;" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-224q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v224h-224q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h224v224q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-224h224 q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5 t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
50
- <glyph unicode="&#xf010;" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-576q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h576q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5z M1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z " />
51
- <glyph unicode="&#xf011;" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61t-298 61t-245 164t-164 245t-61 298q0 182 80.5 343t226.5 270q43 32 95.5 25t83.5 -50q32 -42 24.5 -94.5t-49.5 -84.5q-98 -74 -151.5 -181t-53.5 -228q0 -104 40.5 -198.5t109.5 -163.5t163.5 -109.5 t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5q0 121 -53.5 228t-151.5 181q-42 32 -49.5 84.5t24.5 94.5q31 43 84 50t95 -25q146 -109 226.5 -270t80.5 -343zM896 1408v-640q0 -52 -38 -90t-90 -38t-90 38t-38 90v640q0 52 38 90t90 38t90 -38t38 -90z" />
52
- <glyph unicode="&#xf012;" horiz-adv-x="1792" d="M256 96v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 224v-320q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 480v-576q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23 v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1408 864v-960q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1376v-1472q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1472q0 14 9 23t23 9h192q14 0 23 -9t9 -23z" />
53
- <glyph unicode="&#xf013;" d="M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1536 749v-222q0 -12 -8 -23t-20 -13l-185 -28q-19 -54 -39 -91q35 -50 107 -138q10 -12 10 -25t-9 -23q-27 -37 -99 -108t-94 -71q-12 0 -26 9l-138 108q-44 -23 -91 -38 q-16 -136 -29 -186q-7 -28 -36 -28h-222q-14 0 -24.5 8.5t-11.5 21.5l-28 184q-49 16 -90 37l-141 -107q-10 -9 -25 -9q-14 0 -25 11q-126 114 -165 168q-7 10 -7 23q0 12 8 23q15 21 51 66.5t54 70.5q-27 50 -41 99l-183 27q-13 2 -21 12.5t-8 23.5v222q0 12 8 23t19 13 l186 28q14 46 39 92q-40 57 -107 138q-10 12 -10 24q0 10 9 23q26 36 98.5 107.5t94.5 71.5q13 0 26 -10l138 -107q44 23 91 38q16 136 29 186q7 28 36 28h222q14 0 24.5 -8.5t11.5 -21.5l28 -184q49 -16 90 -37l142 107q9 9 24 9q13 0 25 -10q129 -119 165 -170q7 -8 7 -22 q0 -12 -8 -23q-15 -21 -51 -66.5t-54 -70.5q26 -50 41 -98l183 -28q13 -2 21 -12.5t8 -23.5z" />
54
- <glyph unicode="&#xf014;" horiz-adv-x="1408" d="M512 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM768 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1024 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1152 76v948h-896v-948q0 -22 7 -40.5t14.5 -27t10.5 -8.5h832q3 0 10.5 8.5t14.5 27t7 40.5zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832 q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" />
55
- <glyph unicode="&#xf015;" horiz-adv-x="1664" d="M1408 544v-480q0 -26 -19 -45t-45 -19h-384v384h-256v-384h-384q-26 0 -45 19t-19 45v480q0 1 0.5 3t0.5 3l575 474l575 -474q1 -2 1 -6zM1631 613l-62 -74q-8 -9 -21 -11h-3q-13 0 -21 7l-692 577l-692 -577q-12 -8 -24 -7q-13 2 -21 11l-62 74q-8 10 -7 23.5t11 21.5 l719 599q32 26 76 26t76 -26l244 -204v195q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-408l219 -182q10 -8 11 -21.5t-7 -23.5z" />
56
- <glyph unicode="&#xf016;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z " />
57
- <glyph unicode="&#xf017;" d="M896 992v-448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
58
- <glyph unicode="&#xf018;" horiz-adv-x="1920" d="M1111 540v4l-24 320q-1 13 -11 22.5t-23 9.5h-186q-13 0 -23 -9.5t-11 -22.5l-24 -320v-4q-1 -12 8 -20t21 -8h244q12 0 21 8t8 20zM1870 73q0 -73 -46 -73h-704q13 0 22 9.5t8 22.5l-20 256q-1 13 -11 22.5t-23 9.5h-272q-13 0 -23 -9.5t-11 -22.5l-20 -256 q-1 -13 8 -22.5t22 -9.5h-704q-46 0 -46 73q0 54 26 116l417 1044q8 19 26 33t38 14h339q-13 0 -23 -9.5t-11 -22.5l-15 -192q-1 -14 8 -23t22 -9h166q13 0 22 9t8 23l-15 192q-1 13 -11 22.5t-23 9.5h339q20 0 38 -14t26 -33l417 -1044q26 -62 26 -116z" />
59
- <glyph unicode="&#xf019;" horiz-adv-x="1664" d="M1280 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 416v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h465l135 -136 q58 -56 136 -56t136 56l136 136h464q40 0 68 -28t28 -68zM1339 985q17 -41 -14 -70l-448 -448q-18 -19 -45 -19t-45 19l-448 448q-31 29 -14 70q17 39 59 39h256v448q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-448h256q42 0 59 -39z" />
60
- <glyph unicode="&#xf01a;" d="M1120 608q0 -12 -10 -24l-319 -319q-11 -9 -23 -9t-23 9l-320 320q-15 16 -7 35q8 20 30 20h192v352q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-352h192q14 0 23 -9t9 -23zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273 t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
61
- <glyph unicode="&#xf01b;" d="M1118 660q-8 -20 -30 -20h-192v-352q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v352h-192q-14 0 -23 9t-9 23q0 12 10 24l319 319q11 9 23 9t23 -9l320 -320q15 -16 7 -35zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198 t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
62
- <glyph unicode="&#xf01c;" d="M1023 576h316q-1 3 -2.5 8t-2.5 8l-212 496h-708l-212 -496q-1 -2 -2.5 -8t-2.5 -8h316l95 -192h320zM1536 546v-482q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v482q0 62 25 123l238 552q10 25 36.5 42t52.5 17h832q26 0 52.5 -17t36.5 -42l238 -552 q25 -61 25 -123z" />
63
- <glyph unicode="&#xf01d;" d="M1184 640q0 -37 -32 -55l-544 -320q-15 -9 -32 -9q-16 0 -32 8q-32 19 -32 56v640q0 37 32 56q33 18 64 -1l544 -320q32 -18 32 -55zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
64
- <glyph unicode="&#xf01e;" d="M1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l138 138q-148 137 -349 137q-104 0 -198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5q119 0 225 52t179 147q7 10 23 12q14 0 25 -9 l137 -138q9 -8 9.5 -20.5t-7.5 -22.5q-109 -132 -264 -204.5t-327 -72.5q-156 0 -298 61t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q147 0 284.5 -55.5t244.5 -156.5l130 129q29 31 70 14q39 -17 39 -59z" />
65
- <glyph unicode="&#xf021;" d="M1511 480q0 -5 -1 -7q-64 -268 -268 -434.5t-478 -166.5q-146 0 -282.5 55t-243.5 157l-129 -129q-19 -19 -45 -19t-45 19t-19 45v448q0 26 19 45t45 19h448q26 0 45 -19t19 -45t-19 -45l-137 -137q71 -66 161 -102t187 -36q134 0 250 65t186 179q11 17 53 117 q8 23 30 23h192q13 0 22.5 -9.5t9.5 -22.5zM1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-26 0 -45 19t-19 45t19 45l138 138q-148 137 -349 137q-134 0 -250 -65t-186 -179q-11 -17 -53 -117q-8 -23 -30 -23h-199q-13 0 -22.5 9.5t-9.5 22.5v7q65 268 270 434.5t480 166.5 q146 0 284 -55.5t245 -156.5l130 129q19 19 45 19t45 -19t19 -45z" />
66
- <glyph unicode="&#xf022;" horiz-adv-x="1792" d="M384 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M384 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1536 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5z M1536 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5zM1536 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5 t9.5 -22.5zM1664 160v832q0 13 -9.5 22.5t-22.5 9.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1792 1248v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47 t47 -113z" />
67
- <glyph unicode="&#xf023;" horiz-adv-x="1152" d="M320 768h512v192q0 106 -75 181t-181 75t-181 -75t-75 -181v-192zM1152 672v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v192q0 184 132 316t316 132t316 -132t132 -316v-192h32q40 0 68 -28t28 -68z" />
68
- <glyph unicode="&#xf024;" horiz-adv-x="1792" d="M320 1280q0 -72 -64 -110v-1266q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v1266q-64 38 -64 110q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -25 -12.5 -38.5t-39.5 -27.5q-215 -116 -369 -116q-61 0 -123.5 22t-108.5 48 t-115.5 48t-142.5 22q-192 0 -464 -146q-17 -9 -33 -9q-26 0 -45 19t-19 45v742q0 32 31 55q21 14 79 43q236 120 421 120q107 0 200 -29t219 -88q38 -19 88 -19q54 0 117.5 21t110 47t88 47t54.5 21q26 0 45 -19t19 -45z" />
69
- <glyph unicode="&#xf025;" horiz-adv-x="1664" d="M1664 650q0 -166 -60 -314l-20 -49l-185 -33q-22 -83 -90.5 -136.5t-156.5 -53.5v-32q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-32q71 0 130 -35.5t93 -95.5l68 12q29 95 29 193q0 148 -88 279t-236.5 209t-315.5 78 t-315.5 -78t-236.5 -209t-88 -279q0 -98 29 -193l68 -12q34 60 93 95.5t130 35.5v32q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v32q-88 0 -156.5 53.5t-90.5 136.5l-185 33l-20 49q-60 148 -60 314q0 151 67 291t179 242.5 t266 163.5t320 61t320 -61t266 -163.5t179 -242.5t67 -291z" />
70
- <glyph unicode="&#xf026;" horiz-adv-x="768" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45z" />
71
- <glyph unicode="&#xf027;" horiz-adv-x="1152" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142z" />
72
- <glyph unicode="&#xf028;" horiz-adv-x="1664" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142zM1408 640q0 -153 -85 -282.5t-225 -188.5q-13 -5 -25 -5q-27 0 -46 19t-19 45q0 39 39 59q56 29 76 44q74 54 115.5 135.5t41.5 173.5t-41.5 173.5 t-115.5 135.5q-20 15 -76 44q-39 20 -39 59q0 26 19 45t45 19q13 0 26 -5q140 -59 225 -188.5t85 -282.5zM1664 640q0 -230 -127 -422.5t-338 -283.5q-13 -5 -26 -5q-26 0 -45 19t-19 45q0 36 39 59q7 4 22.5 10.5t22.5 10.5q46 25 82 51q123 91 192 227t69 289t-69 289 t-192 227q-36 26 -82 51q-7 4 -22.5 10.5t-22.5 10.5q-39 23 -39 59q0 26 19 45t45 19q13 0 26 -5q211 -91 338 -283.5t127 -422.5z" />
73
- <glyph unicode="&#xf029;" horiz-adv-x="1408" d="M384 384v-128h-128v128h128zM384 1152v-128h-128v128h128zM1152 1152v-128h-128v128h128zM128 129h384v383h-384v-383zM128 896h384v384h-384v-384zM896 896h384v384h-384v-384zM640 640v-640h-640v640h640zM1152 128v-128h-128v128h128zM1408 128v-128h-128v128h128z M1408 640v-384h-384v128h-128v-384h-128v640h384v-128h128v128h128zM640 1408v-640h-640v640h640zM1408 1408v-640h-640v640h640z" />
74
- <glyph unicode="&#xf02a;" horiz-adv-x="1792" d="M63 0h-63v1408h63v-1408zM126 1h-32v1407h32v-1407zM220 1h-31v1407h31v-1407zM377 1h-31v1407h31v-1407zM534 1h-62v1407h62v-1407zM660 1h-31v1407h31v-1407zM723 1h-31v1407h31v-1407zM786 1h-31v1407h31v-1407zM943 1h-63v1407h63v-1407zM1100 1h-63v1407h63v-1407z M1226 1h-63v1407h63v-1407zM1352 1h-63v1407h63v-1407zM1446 1h-63v1407h63v-1407zM1635 1h-94v1407h94v-1407zM1698 1h-32v1407h32v-1407zM1792 0h-63v1408h63v-1408z" />
75
- <glyph unicode="&#xf02b;" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91z" />
76
- <glyph unicode="&#xf02c;" horiz-adv-x="1920" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91zM1899 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-36 0 -59 14t-53 45l470 470q37 37 37 90q0 52 -37 91l-715 714q-38 38 -102 64.5t-117 26.5h224q53 0 117 -26.5t102 -64.5l715 -714q37 -39 37 -91z" />
77
- <glyph unicode="&#xf02d;" horiz-adv-x="1664" d="M1639 1058q40 -57 18 -129l-275 -906q-19 -64 -76.5 -107.5t-122.5 -43.5h-923q-77 0 -148.5 53.5t-99.5 131.5q-24 67 -2 127q0 4 3 27t4 37q1 8 -3 21.5t-3 19.5q2 11 8 21t16.5 23.5t16.5 23.5q23 38 45 91.5t30 91.5q3 10 0.5 30t-0.5 28q3 11 17 28t17 23 q21 36 42 92t25 90q1 9 -2.5 32t0.5 28q4 13 22 30.5t22 22.5q19 26 42.5 84.5t27.5 96.5q1 8 -3 25.5t-2 26.5q2 8 9 18t18 23t17 21q8 12 16.5 30.5t15 35t16 36t19.5 32t26.5 23.5t36 11.5t47.5 -5.5l-1 -3q38 9 51 9h761q74 0 114 -56t18 -130l-274 -906 q-36 -119 -71.5 -153.5t-128.5 -34.5h-869q-27 0 -38 -15q-11 -16 -1 -43q24 -70 144 -70h923q29 0 56 15.5t35 41.5l300 987q7 22 5 57q38 -15 59 -43zM575 1056q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5 t-16.5 -22.5zM492 800q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5t-16.5 -22.5z" />
78
- <glyph unicode="&#xf02e;" horiz-adv-x="1280" d="M1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
79
- <glyph unicode="&#xf02f;" horiz-adv-x="1664" d="M384 0h896v256h-896v-256zM384 640h896v384h-160q-40 0 -68 28t-28 68v160h-640v-640zM1536 576q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 576v-416q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-160q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68 v160h-224q-13 0 -22.5 9.5t-9.5 22.5v416q0 79 56.5 135.5t135.5 56.5h64v544q0 40 28 68t68 28h672q40 0 88 -20t76 -48l152 -152q28 -28 48 -76t20 -88v-256h64q79 0 135.5 -56.5t56.5 -135.5z" />
80
- <glyph unicode="&#xf030;" horiz-adv-x="1920" d="M960 864q119 0 203.5 -84.5t84.5 -203.5t-84.5 -203.5t-203.5 -84.5t-203.5 84.5t-84.5 203.5t84.5 203.5t203.5 84.5zM1664 1280q106 0 181 -75t75 -181v-896q0 -106 -75 -181t-181 -75h-1408q-106 0 -181 75t-75 181v896q0 106 75 181t181 75h224l51 136 q19 49 69.5 84.5t103.5 35.5h512q53 0 103.5 -35.5t69.5 -84.5l51 -136h224zM960 128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
81
- <glyph unicode="&#xf031;" horiz-adv-x="1664" d="M725 977l-170 -450q33 0 136.5 -2t160.5 -2q19 0 57 2q-87 253 -184 452zM0 -128l2 79q23 7 56 12.5t57 10.5t49.5 14.5t44.5 29t31 50.5l237 616l280 724h75h53q8 -14 11 -21l205 -480q33 -78 106 -257.5t114 -274.5q15 -34 58 -144.5t72 -168.5q20 -45 35 -57 q19 -15 88 -29.5t84 -20.5q6 -38 6 -57q0 -4 -0.5 -13t-0.5 -13q-63 0 -190 8t-191 8q-76 0 -215 -7t-178 -8q0 43 4 78l131 28q1 0 12.5 2.5t15.5 3.5t14.5 4.5t15 6.5t11 8t9 11t2.5 14q0 16 -31 96.5t-72 177.5t-42 100l-450 2q-26 -58 -76.5 -195.5t-50.5 -162.5 q0 -22 14 -37.5t43.5 -24.5t48.5 -13.5t57 -8.5t41 -4q1 -19 1 -58q0 -9 -2 -27q-58 0 -174.5 10t-174.5 10q-8 0 -26.5 -4t-21.5 -4q-80 -14 -188 -14z" />
82
- <glyph unicode="&#xf032;" horiz-adv-x="1408" d="M555 15q74 -32 140 -32q376 0 376 335q0 114 -41 180q-27 44 -61.5 74t-67.5 46.5t-80.5 25t-84 10.5t-94.5 2q-73 0 -101 -10q0 -53 -0.5 -159t-0.5 -158q0 -8 -1 -67.5t-0.5 -96.5t4.5 -83.5t12 -66.5zM541 761q42 -7 109 -7q82 0 143 13t110 44.5t74.5 89.5t25.5 142 q0 70 -29 122.5t-79 82t-108 43.5t-124 14q-50 0 -130 -13q0 -50 4 -151t4 -152q0 -27 -0.5 -80t-0.5 -79q0 -46 1 -69zM0 -128l2 94q15 4 85 16t106 27q7 12 12.5 27t8.5 33.5t5.5 32.5t3 37.5t0.5 34v35.5v30q0 982 -22 1025q-4 8 -22 14.5t-44.5 11t-49.5 7t-48.5 4.5 t-30.5 3l-4 83q98 2 340 11.5t373 9.5q23 0 68.5 -0.5t67.5 -0.5q70 0 136.5 -13t128.5 -42t108 -71t74 -104.5t28 -137.5q0 -52 -16.5 -95.5t-39 -72t-64.5 -57.5t-73 -45t-84 -40q154 -35 256.5 -134t102.5 -248q0 -100 -35 -179.5t-93.5 -130.5t-138 -85.5t-163.5 -48.5 t-176 -14q-44 0 -132 3t-132 3q-106 0 -307 -11t-231 -12z" />
83
- <glyph unicode="&#xf033;" horiz-adv-x="1024" d="M0 -126l17 85q6 2 81.5 21.5t111.5 37.5q28 35 41 101q1 7 62 289t114 543.5t52 296.5v25q-24 13 -54.5 18.5t-69.5 8t-58 5.5l19 103q33 -2 120 -6.5t149.5 -7t120.5 -2.5q48 0 98.5 2.5t121 7t98.5 6.5q-5 -39 -19 -89q-30 -10 -101.5 -28.5t-108.5 -33.5 q-8 -19 -14 -42.5t-9 -40t-7.5 -45.5t-6.5 -42q-27 -148 -87.5 -419.5t-77.5 -355.5q-2 -9 -13 -58t-20 -90t-16 -83.5t-6 -57.5l1 -18q17 -4 185 -31q-3 -44 -16 -99q-11 0 -32.5 -1.5t-32.5 -1.5q-29 0 -87 10t-86 10q-138 2 -206 2q-51 0 -143 -9t-121 -11z" />
84
- <glyph unicode="&#xf034;" horiz-adv-x="1792" d="M1744 128q33 0 42 -18.5t-11 -44.5l-126 -162q-20 -26 -49 -26t-49 26l-126 162q-20 26 -11 44.5t42 18.5h80v1024h-80q-33 0 -42 18.5t11 44.5l126 162q20 26 49 26t49 -26l126 -162q20 -26 11 -44.5t-42 -18.5h-80v-1024h80zM81 1407l54 -27q12 -5 211 -5q44 0 132 2 t132 2q36 0 107.5 -0.5t107.5 -0.5h293q6 0 21 -0.5t20.5 0t16 3t17.5 9t15 17.5l42 1q4 0 14 -0.5t14 -0.5q2 -112 2 -336q0 -80 -5 -109q-39 -14 -68 -18q-25 44 -54 128q-3 9 -11 48t-14.5 73.5t-7.5 35.5q-6 8 -12 12.5t-15.5 6t-13 2.5t-18 0.5t-16.5 -0.5 q-17 0 -66.5 0.5t-74.5 0.5t-64 -2t-71 -6q-9 -81 -8 -136q0 -94 2 -388t2 -455q0 -16 -2.5 -71.5t0 -91.5t12.5 -69q40 -21 124 -42.5t120 -37.5q5 -40 5 -50q0 -14 -3 -29l-34 -1q-76 -2 -218 8t-207 10q-50 0 -151 -9t-152 -9q-3 51 -3 52v9q17 27 61.5 43t98.5 29t78 27 q19 42 19 383q0 101 -3 303t-3 303v117q0 2 0.5 15.5t0.5 25t-1 25.5t-3 24t-5 14q-11 12 -162 12q-33 0 -93 -12t-80 -26q-19 -13 -34 -72.5t-31.5 -111t-42.5 -53.5q-42 26 -56 44v383z" />
85
- <glyph unicode="&#xf035;" d="M81 1407l54 -27q12 -5 211 -5q44 0 132 2t132 2q70 0 246.5 1t304.5 0.5t247 -4.5q33 -1 56 31l42 1q4 0 14 -0.5t14 -0.5q2 -112 2 -336q0 -80 -5 -109q-39 -14 -68 -18q-25 44 -54 128q-3 9 -11 47.5t-15 73.5t-7 36q-10 13 -27 19q-5 2 -66 2q-30 0 -93 1t-103 1 t-94 -2t-96 -7q-9 -81 -8 -136l1 -152v52q0 -55 1 -154t1.5 -180t0.5 -153q0 -16 -2.5 -71.5t0 -91.5t12.5 -69q40 -21 124 -42.5t120 -37.5q5 -40 5 -50q0 -14 -3 -29l-34 -1q-76 -2 -218 8t-207 10q-50 0 -151 -9t-152 -9q-3 51 -3 52v9q17 27 61.5 43t98.5 29t78 27 q7 16 11.5 74t6 145.5t1.5 155t-0.5 153.5t-0.5 89q0 7 -2.5 21.5t-2.5 22.5q0 7 0.5 44t1 73t0 76.5t-3 67.5t-6.5 32q-11 12 -162 12q-41 0 -163 -13.5t-138 -24.5q-19 -12 -34 -71.5t-31.5 -111.5t-42.5 -54q-42 26 -56 44v383zM1310 125q12 0 42 -19.5t57.5 -41.5 t59.5 -49t36 -30q26 -21 26 -49t-26 -49q-4 -3 -36 -30t-59.5 -49t-57.5 -41.5t-42 -19.5q-13 0 -20.5 10.5t-10 28.5t-2.5 33.5t1.5 33t1.5 19.5h-1024q0 -2 1.5 -19.5t1.5 -33t-2.5 -33.5t-10 -28.5t-20.5 -10.5q-12 0 -42 19.5t-57.5 41.5t-59.5 49t-36 30q-26 21 -26 49 t26 49q4 3 36 30t59.5 49t57.5 41.5t42 19.5q13 0 20.5 -10.5t10 -28.5t2.5 -33.5t-1.5 -33t-1.5 -19.5h1024q0 2 -1.5 19.5t-1.5 33t2.5 33.5t10 28.5t20.5 10.5z" />
86
- <glyph unicode="&#xf036;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
87
- <glyph unicode="&#xf037;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h896q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45t-45 -19 h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h640q26 0 45 -19t19 -45z" />
88
- <glyph unicode="&#xf038;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
89
- <glyph unicode="&#xf039;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
90
- <glyph unicode="&#xf03a;" horiz-adv-x="1792" d="M256 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM256 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5 t9.5 -22.5zM256 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344 q13 0 22.5 -9.5t9.5 -22.5zM256 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192 q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5z" />
91
- <glyph unicode="&#xf03b;" horiz-adv-x="1792" d="M384 992v-576q0 -13 -9.5 -22.5t-22.5 -9.5q-14 0 -23 9l-288 288q-9 9 -9 23t9 23l288 288q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
92
- <glyph unicode="&#xf03c;" horiz-adv-x="1792" d="M352 704q0 -14 -9 -23l-288 -288q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v576q0 13 9.5 22.5t22.5 9.5q14 0 23 -9l288 -288q9 -9 9 -23zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
93
- <glyph unicode="&#xf03d;" horiz-adv-x="1792" d="M1792 1184v-1088q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-403 403v-166q0 -119 -84.5 -203.5t-203.5 -84.5h-704q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h704q119 0 203.5 -84.5t84.5 -203.5v-165l403 402q18 19 45 19q12 0 25 -5 q39 -17 39 -59z" />
94
- <glyph unicode="&#xf03e;" horiz-adv-x="1920" d="M640 960q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1664 576v-448h-1408v192l320 320l160 -160l512 512zM1760 1280h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5v1216 q0 13 -9.5 22.5t-22.5 9.5zM1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
95
- <glyph unicode="&#xf040;" d="M363 0l91 91l-235 235l-91 -91v-107h128v-128h107zM886 928q0 22 -22 22q-10 0 -17 -7l-542 -542q-7 -7 -7 -17q0 -22 22 -22q10 0 17 7l542 542q7 7 7 17zM832 1120l416 -416l-832 -832h-416v416zM1515 1024q0 -53 -37 -90l-166 -166l-416 416l166 165q36 38 90 38 q53 0 91 -38l235 -234q37 -39 37 -91z" />
96
- <glyph unicode="&#xf041;" horiz-adv-x="1024" d="M768 896q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1024 896q0 -109 -33 -179l-364 -774q-16 -33 -47.5 -52t-67.5 -19t-67.5 19t-46.5 52l-365 774q-33 70 -33 179q0 212 150 362t362 150t362 -150t150 -362z" />
97
- <glyph unicode="&#xf042;" d="M768 96v1088q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
98
- <glyph unicode="&#xf043;" horiz-adv-x="1024" d="M512 384q0 36 -20 69q-1 1 -15.5 22.5t-25.5 38t-25 44t-21 50.5q-4 16 -21 16t-21 -16q-7 -23 -21 -50.5t-25 -44t-25.5 -38t-15.5 -22.5q-20 -33 -20 -69q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 512q0 -212 -150 -362t-362 -150t-362 150t-150 362 q0 145 81 275q6 9 62.5 90.5t101 151t99.5 178t83 201.5q9 30 34 47t51 17t51.5 -17t33.5 -47q28 -93 83 -201.5t99.5 -178t101 -151t62.5 -90.5q81 -127 81 -275z" />
99
- <glyph unicode="&#xf044;" horiz-adv-x="1792" d="M888 352l116 116l-152 152l-116 -116v-56h96v-96h56zM1328 1072q-16 16 -33 -1l-350 -350q-17 -17 -1 -33t33 1l350 350q17 17 1 33zM1408 478v-190q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-14 -14 -32 -8q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v126q0 13 9 22l64 64q15 15 35 7t20 -29zM1312 1216l288 -288l-672 -672h-288v288zM1756 1084l-92 -92 l-288 288l92 92q28 28 68 28t68 -28l152 -152q28 -28 28 -68t-28 -68z" />
100
- <glyph unicode="&#xf045;" horiz-adv-x="1664" d="M1408 547v-259q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h255v0q13 0 22.5 -9.5t9.5 -22.5q0 -27 -26 -32q-77 -26 -133 -60q-10 -4 -16 -4h-112q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832 q66 0 113 47t47 113v214q0 19 18 29q28 13 54 37q16 16 35 8q21 -9 21 -29zM1645 1043l-384 -384q-18 -19 -45 -19q-12 0 -25 5q-39 17 -39 59v192h-160q-323 0 -438 -131q-119 -137 -74 -473q3 -23 -20 -34q-8 -2 -12 -2q-16 0 -26 13q-10 14 -21 31t-39.5 68.5t-49.5 99.5 t-38.5 114t-17.5 122q0 49 3.5 91t14 90t28 88t47 81.5t68.5 74t94.5 61.5t124.5 48.5t159.5 30.5t196.5 11h160v192q0 42 39 59q13 5 25 5q26 0 45 -19l384 -384q19 -19 19 -45t-19 -45z" />
101
- <glyph unicode="&#xf046;" horiz-adv-x="1664" d="M1408 606v-318q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-10 -10 -23 -10q-3 0 -9 2q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832 q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v254q0 13 9 22l64 64q10 10 23 10q6 0 12 -3q20 -8 20 -29zM1639 1095l-814 -814q-24 -24 -57 -24t-57 24l-430 430q-24 24 -24 57t24 57l110 110q24 24 57 24t57 -24l263 -263l647 647q24 24 57 24t57 -24l110 -110 q24 -24 24 -57t-24 -57z" />
102
- <glyph unicode="&#xf047;" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-384v-384h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v384h-384v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45 t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h384v384h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45t-19 -45t-45 -19h-128v-384h384v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
103
- <glyph unicode="&#xf048;" horiz-adv-x="1024" d="M979 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19z" />
104
- <glyph unicode="&#xf049;" horiz-adv-x="1792" d="M1747 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19l710 710 q19 19 32 13t13 -32v-710q4 11 13 19z" />
105
- <glyph unicode="&#xf04a;" horiz-adv-x="1664" d="M1619 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-8 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-19 19 -19 45t19 45l710 710q19 19 32 13t13 -32v-710q5 11 13 19z" />
106
- <glyph unicode="&#xf04b;" horiz-adv-x="1408" d="M1384 609l-1328 -738q-23 -13 -39.5 -3t-16.5 36v1472q0 26 16.5 36t39.5 -3l1328 -738q23 -13 23 -31t-23 -31z" />
107
- <glyph unicode="&#xf04c;" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45zM640 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45z" />
108
- <glyph unicode="&#xf04d;" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
109
- <glyph unicode="&#xf04e;" horiz-adv-x="1664" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q19 -19 19 -45t-19 -45l-710 -710q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" />
110
- <glyph unicode="&#xf050;" horiz-adv-x="1792" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19l-710 -710 q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" />
111
- <glyph unicode="&#xf051;" horiz-adv-x="1024" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19z" />
112
- <glyph unicode="&#xf052;" horiz-adv-x="1538" d="M14 557l710 710q19 19 45 19t45 -19l710 -710q19 -19 13 -32t-32 -13h-1472q-26 0 -32 13t13 32zM1473 0h-1408q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19z" />
113
- <glyph unicode="&#xf053;" horiz-adv-x="1280" d="M1171 1235l-531 -531l531 -531q19 -19 19 -45t-19 -45l-166 -166q-19 -19 -45 -19t-45 19l-742 742q-19 19 -19 45t19 45l742 742q19 19 45 19t45 -19l166 -166q19 -19 19 -45t-19 -45z" />
114
- <glyph unicode="&#xf054;" horiz-adv-x="1280" d="M1107 659l-742 -742q-19 -19 -45 -19t-45 19l-166 166q-19 19 -19 45t19 45l531 531l-531 531q-19 19 -19 45t19 45l166 166q19 19 45 19t45 -19l742 -742q19 -19 19 -45t-19 -45z" />
115
- <glyph unicode="&#xf055;" d="M1216 576v128q0 26 -19 45t-45 19h-256v256q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-256h-256q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h256v-256q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v256h256q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5 t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
116
- <glyph unicode="&#xf056;" d="M1216 576v128q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5 t103 -385.5z" />
117
- <glyph unicode="&#xf057;" d="M1149 414q0 26 -19 45l-181 181l181 181q19 19 19 45q0 27 -19 46l-90 90q-19 19 -46 19q-26 0 -45 -19l-181 -181l-181 181q-19 19 -45 19q-27 0 -46 -19l-90 -90q-19 -19 -19 -46q0 -26 19 -45l181 -181l-181 -181q-19 -19 -19 -45q0 -27 19 -46l90 -90q19 -19 46 -19 q26 0 45 19l181 181l181 -181q19 -19 45 -19q27 0 46 19l90 90q19 19 19 46zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
118
- <glyph unicode="&#xf058;" d="M1284 802q0 28 -18 46l-91 90q-19 19 -45 19t-45 -19l-408 -407l-226 226q-19 19 -45 19t-45 -19l-91 -90q-18 -18 -18 -46q0 -27 18 -45l362 -362q19 -19 45 -19q27 0 46 19l543 543q18 18 18 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
119
- <glyph unicode="&#xf059;" d="M896 160v192q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h192q14 0 23 9t9 23zM1152 832q0 88 -55.5 163t-138.5 116t-170 41q-243 0 -371 -213q-15 -24 8 -42l132 -100q7 -6 19 -6q16 0 25 12q53 68 86 92q34 24 86 24q48 0 85.5 -26t37.5 -59 q0 -38 -20 -61t-68 -45q-63 -28 -115.5 -86.5t-52.5 -125.5v-36q0 -14 9 -23t23 -9h192q14 0 23 9t9 23q0 19 21.5 49.5t54.5 49.5q32 18 49 28.5t46 35t44.5 48t28 60.5t12.5 81zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
120
- <glyph unicode="&#xf05a;" d="M1024 160v160q0 14 -9 23t-23 9h-96v512q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h96v-320h-96q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h448q14 0 23 9t9 23zM896 1056v160q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23 t23 -9h192q14 0 23 9t9 23zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
121
- <glyph unicode="&#xf05b;" d="M1197 512h-109q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h109q-32 108 -112.5 188.5t-188.5 112.5v-109q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v109q-108 -32 -188.5 -112.5t-112.5 -188.5h109q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-109 q32 -108 112.5 -188.5t188.5 -112.5v109q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-109q108 32 188.5 112.5t112.5 188.5zM1536 704v-128q0 -26 -19 -45t-45 -19h-143q-37 -161 -154.5 -278.5t-278.5 -154.5v-143q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v143 q-161 37 -278.5 154.5t-154.5 278.5h-143q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h143q37 161 154.5 278.5t278.5 154.5v143q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-143q161 -37 278.5 -154.5t154.5 -278.5h143q26 0 45 -19t19 -45z" />
122
- <glyph unicode="&#xf05c;" d="M1097 457l-146 -146q-10 -10 -23 -10t-23 10l-137 137l-137 -137q-10 -10 -23 -10t-23 10l-146 146q-10 10 -10 23t10 23l137 137l-137 137q-10 10 -10 23t10 23l146 146q10 10 23 10t23 -10l137 -137l137 137q10 10 23 10t23 -10l146 -146q10 -10 10 -23t-10 -23 l-137 -137l137 -137q10 -10 10 -23t-10 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5 t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
123
- <glyph unicode="&#xf05d;" d="M1171 723l-422 -422q-19 -19 -45 -19t-45 19l-294 294q-19 19 -19 45t19 45l102 102q19 19 45 19t45 -19l147 -147l275 275q19 19 45 19t45 -19l102 -102q19 -19 19 -45t-19 -45zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198 t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
124
- <glyph unicode="&#xf05e;" d="M1312 643q0 161 -87 295l-754 -753q137 -89 297 -89q111 0 211.5 43.5t173.5 116.5t116 174.5t43 212.5zM313 344l755 754q-135 91 -300 91q-148 0 -273 -73t-198 -199t-73 -274q0 -162 89 -299zM1536 643q0 -157 -61 -300t-163.5 -246t-245 -164t-298.5 -61t-298.5 61 t-245 164t-163.5 246t-61 300t61 299.5t163.5 245.5t245 164t298.5 61t298.5 -61t245 -164t163.5 -245.5t61 -299.5z" />
125
- <glyph unicode="&#xf060;" d="M1536 640v-128q0 -53 -32.5 -90.5t-84.5 -37.5h-704l293 -294q38 -36 38 -90t-38 -90l-75 -76q-37 -37 -90 -37q-52 0 -91 37l-651 652q-37 37 -37 90q0 52 37 91l651 650q38 38 91 38q52 0 90 -38l75 -74q38 -38 38 -91t-38 -91l-293 -293h704q52 0 84.5 -37.5 t32.5 -90.5z" />
126
- <glyph unicode="&#xf061;" d="M1472 576q0 -54 -37 -91l-651 -651q-39 -37 -91 -37q-51 0 -90 37l-75 75q-38 38 -38 91t38 91l293 293h-704q-52 0 -84.5 37.5t-32.5 90.5v128q0 53 32.5 90.5t84.5 37.5h704l-293 294q-38 36 -38 90t38 90l75 75q38 38 90 38q53 0 91 -38l651 -651q37 -35 37 -90z" />
127
- <glyph unicode="&#xf062;" horiz-adv-x="1664" d="M1611 565q0 -51 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-294 293v-704q0 -52 -37.5 -84.5t-90.5 -32.5h-128q-53 0 -90.5 32.5t-37.5 84.5v704l-294 -293q-36 -38 -90 -38t-90 38l-75 75q-38 38 -38 90q0 53 38 91l651 651q35 37 90 37q54 0 91 -37l651 -651 q37 -39 37 -91z" />
128
- <glyph unicode="&#xf063;" horiz-adv-x="1664" d="M1611 704q0 -53 -37 -90l-651 -652q-39 -37 -91 -37q-53 0 -90 37l-651 652q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l294 -294v704q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-704l294 294q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" />
129
- <glyph unicode="&#xf064;" horiz-adv-x="1792" d="M1792 896q0 -26 -19 -45l-512 -512q-19 -19 -45 -19t-45 19t-19 45v256h-224q-98 0 -175.5 -6t-154 -21.5t-133 -42.5t-105.5 -69.5t-80 -101t-48.5 -138.5t-17.5 -181q0 -55 5 -123q0 -6 2.5 -23.5t2.5 -26.5q0 -15 -8.5 -25t-23.5 -10q-16 0 -28 17q-7 9 -13 22 t-13.5 30t-10.5 24q-127 285 -127 451q0 199 53 333q162 403 875 403h224v256q0 26 19 45t45 19t45 -19l512 -512q19 -19 19 -45z" />
130
- <glyph unicode="&#xf065;" d="M755 480q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23zM1536 1344v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332 q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45z" />
131
- <glyph unicode="&#xf066;" d="M768 576v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45zM1523 1248q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45 t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23z" />
132
- <glyph unicode="&#xf067;" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-416v-416q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v416h-416q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h416v416q0 40 28 68t68 28h192q40 0 68 -28t28 -68v-416h416q40 0 68 -28t28 -68z" />
133
- <glyph unicode="&#xf068;" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-1216q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h1216q40 0 68 -28t28 -68z" />
134
- <glyph unicode="&#xf069;" horiz-adv-x="1664" d="M1482 486q46 -26 59.5 -77.5t-12.5 -97.5l-64 -110q-26 -46 -77.5 -59.5t-97.5 12.5l-266 153v-307q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v307l-266 -153q-46 -26 -97.5 -12.5t-77.5 59.5l-64 110q-26 46 -12.5 97.5t59.5 77.5l266 154l-266 154 q-46 26 -59.5 77.5t12.5 97.5l64 110q26 46 77.5 59.5t97.5 -12.5l266 -153v307q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-307l266 153q46 26 97.5 12.5t77.5 -59.5l64 -110q26 -46 12.5 -97.5t-59.5 -77.5l-266 -154z" />
135
- <glyph unicode="&#xf06a;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM896 161v190q0 14 -9 23.5t-22 9.5h-192q-13 0 -23 -10t-10 -23v-190q0 -13 10 -23t23 -10h192 q13 0 22 9.5t9 23.5zM894 505l18 621q0 12 -10 18q-10 8 -24 8h-220q-14 0 -24 -8q-10 -6 -10 -18l17 -621q0 -10 10 -17.5t24 -7.5h185q14 0 23.5 7.5t10.5 17.5z" />
136
- <glyph unicode="&#xf06b;" d="M928 180v56v468v192h-320v-192v-468v-56q0 -25 18 -38.5t46 -13.5h192q28 0 46 13.5t18 38.5zM472 1024h195l-126 161q-26 31 -69 31q-40 0 -68 -28t-28 -68t28 -68t68 -28zM1160 1120q0 40 -28 68t-68 28q-43 0 -69 -31l-125 -161h194q40 0 68 28t28 68zM1536 864v-320 q0 -14 -9 -23t-23 -9h-96v-416q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v416h-96q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h440q-93 0 -158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5q107 0 168 -77l128 -165l128 165q61 77 168 77q93 0 158.5 -65.5t65.5 -158.5 t-65.5 -158.5t-158.5 -65.5h440q14 0 23 -9t9 -23z" />
137
- <glyph unicode="&#xf06c;" horiz-adv-x="1792" d="M1280 832q0 26 -19 45t-45 19q-172 0 -318 -49.5t-259.5 -134t-235.5 -219.5q-19 -21 -19 -45q0 -26 19 -45t45 -19q24 0 45 19q27 24 74 71t67 66q137 124 268.5 176t313.5 52q26 0 45 19t19 45zM1792 1030q0 -95 -20 -193q-46 -224 -184.5 -383t-357.5 -268 q-214 -108 -438 -108q-148 0 -286 47q-15 5 -88 42t-96 37q-16 0 -39.5 -32t-45 -70t-52.5 -70t-60 -32q-30 0 -51 11t-31 24t-27 42q-2 4 -6 11t-5.5 10t-3 9.5t-1.5 13.5q0 35 31 73.5t68 65.5t68 56t31 48q0 4 -14 38t-16 44q-9 51 -9 104q0 115 43.5 220t119 184.5 t170.5 139t204 95.5q55 18 145 25.5t179.5 9t178.5 6t163.5 24t113.5 56.5l29.5 29.5t29.5 28t27 20t36.5 16t43.5 4.5q39 0 70.5 -46t47.5 -112t24 -124t8 -96z" />
138
- <glyph unicode="&#xf06d;" horiz-adv-x="1408" d="M1408 -160v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1152 896q0 -78 -24.5 -144t-64 -112.5t-87.5 -88t-96 -77.5t-87.5 -72t-64 -81.5t-24.5 -96.5q0 -96 67 -224l-4 1l1 -1 q-90 41 -160 83t-138.5 100t-113.5 122.5t-72.5 150.5t-27.5 184q0 78 24.5 144t64 112.5t87.5 88t96 77.5t87.5 72t64 81.5t24.5 96.5q0 94 -66 224l3 -1l-1 1q90 -41 160 -83t138.5 -100t113.5 -122.5t72.5 -150.5t27.5 -184z" />
139
- <glyph unicode="&#xf06e;" horiz-adv-x="1792" d="M1664 576q-152 236 -381 353q61 -104 61 -225q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 121 61 225q-229 -117 -381 -353q133 -205 333.5 -326.5t434.5 -121.5t434.5 121.5t333.5 326.5zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5 t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1792 576q0 -34 -20 -69q-140 -230 -376.5 -368.5t-499.5 -138.5t-499.5 139t-376.5 368q-20 35 -20 69t20 69q140 229 376.5 368t499.5 139t499.5 -139t376.5 -368q20 -35 20 -69z" />
140
- <glyph unicode="&#xf070;" horiz-adv-x="1792" d="M555 201l78 141q-87 63 -136 159t-49 203q0 121 61 225q-229 -117 -381 -353q167 -258 427 -375zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1307 1151q0 -7 -1 -9 q-105 -188 -315 -566t-316 -567l-49 -89q-10 -16 -28 -16q-12 0 -134 70q-16 10 -16 28q0 12 44 87q-143 65 -263.5 173t-208.5 245q-20 31 -20 69t20 69q153 235 380 371t496 136q89 0 180 -17l54 97q10 16 28 16q5 0 18 -6t31 -15.5t33 -18.5t31.5 -18.5t19.5 -11.5 q16 -10 16 -27zM1344 704q0 -139 -79 -253.5t-209 -164.5l280 502q8 -45 8 -84zM1792 576q0 -35 -20 -69q-39 -64 -109 -145q-150 -172 -347.5 -267t-419.5 -95l74 132q212 18 392.5 137t301.5 307q-115 179 -282 294l63 112q95 -64 182.5 -153t144.5 -184q20 -34 20 -69z " />
141
- <glyph unicode="&#xf071;" horiz-adv-x="1792" d="M1024 161v190q0 14 -9.5 23.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -23.5v-190q0 -14 9.5 -23.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 23.5zM1022 535l18 459q0 12 -10 19q-13 11 -24 11h-220q-11 0 -24 -11q-10 -7 -10 -21l17 -457q0 -10 10 -16.5t24 -6.5h185 q14 0 23.5 6.5t10.5 16.5zM1008 1469l768 -1408q35 -63 -2 -126q-17 -29 -46.5 -46t-63.5 -17h-1536q-34 0 -63.5 17t-46.5 46q-37 63 -2 126l768 1408q17 31 47 49t65 18t65 -18t47 -49z" />
142
- <glyph unicode="&#xf072;" horiz-adv-x="1408" d="M1376 1376q44 -52 12 -148t-108 -172l-161 -161l160 -696q5 -19 -12 -33l-128 -96q-7 -6 -19 -6q-4 0 -7 1q-15 3 -21 16l-279 508l-259 -259l53 -194q5 -17 -8 -31l-96 -96q-9 -9 -23 -9h-2q-15 2 -24 13l-189 252l-252 189q-11 7 -13 23q-1 13 9 25l96 97q9 9 23 9 q6 0 8 -1l194 -53l259 259l-508 279q-14 8 -17 24q-2 16 9 27l128 128q14 13 30 8l665 -159l160 160q76 76 172 108t148 -12z" />
143
- <glyph unicode="&#xf073;" horiz-adv-x="1664" d="M128 -128h288v288h-288v-288zM480 -128h320v288h-320v-288zM128 224h288v320h-288v-320zM480 224h320v320h-320v-320zM128 608h288v288h-288v-288zM864 -128h320v288h-320v-288zM480 608h320v288h-320v-288zM1248 -128h288v288h-288v-288zM864 224h320v320h-320v-320z M512 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1248 224h288v320h-288v-320zM864 608h320v288h-320v-288zM1248 608h288v288h-288v-288zM1280 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64 q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1664 1152v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47 h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
144
- <glyph unicode="&#xf074;" horiz-adv-x="1792" d="M666 1055q-60 -92 -137 -273q-22 45 -37 72.5t-40.5 63.5t-51 56.5t-63 35t-81.5 14.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q250 0 410 -225zM1792 256q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192q-32 0 -85 -0.5t-81 -1t-73 1 t-71 5t-64 10.5t-63 18.5t-58 28.5t-59 40t-55 53.5t-56 69.5q59 93 136 273q22 -45 37 -72.5t40.5 -63.5t51 -56.5t63 -35t81.5 -14.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1792 1152q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5 v192h-256q-48 0 -87 -15t-69 -45t-51 -61.5t-45 -77.5q-32 -62 -78 -171q-29 -66 -49.5 -111t-54 -105t-64 -100t-74 -83t-90 -68.5t-106.5 -42t-128 -16.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q48 0 87 15t69 45t51 61.5t45 77.5q32 62 78 171q29 66 49.5 111 t54 105t64 100t74 83t90 68.5t106.5 42t128 16.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />
145
- <glyph unicode="&#xf075;" horiz-adv-x="1792" d="M1792 640q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22q-17 -2 -30.5 9t-17.5 29v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281 q0 130 71 248.5t191 204.5t286 136.5t348 50.5q244 0 450 -85.5t326 -233t120 -321.5z" />
146
- <glyph unicode="&#xf076;" d="M1536 704v-128q0 -201 -98.5 -362t-274 -251.5t-395.5 -90.5t-395.5 90.5t-274 251.5t-98.5 362v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-128q0 -52 23.5 -90t53.5 -57t71 -30t64 -13t44 -2t44 2t64 13t71 30t53.5 57t23.5 90v128q0 26 19 45t45 19h384 q26 0 45 -19t19 -45zM512 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45zM1536 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45z" />
147
- <glyph unicode="&#xf077;" horiz-adv-x="1792" d="M1683 205l-166 -165q-19 -19 -45 -19t-45 19l-531 531l-531 -531q-19 -19 -45 -19t-45 19l-166 165q-19 19 -19 45.5t19 45.5l742 741q19 19 45 19t45 -19l742 -741q19 -19 19 -45.5t-19 -45.5z" />
148
- <glyph unicode="&#xf078;" horiz-adv-x="1792" d="M1683 728l-742 -741q-19 -19 -45 -19t-45 19l-742 741q-19 19 -19 45.5t19 45.5l166 165q19 19 45 19t45 -19l531 -531l531 531q19 19 45 19t45 -19l166 -165q19 -19 19 -45.5t-19 -45.5z" />
149
- <glyph unicode="&#xf079;" horiz-adv-x="1920" d="M1280 32q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-8 0 -13.5 2t-9 7t-5.5 8t-3 11.5t-1 11.5v13v11v160v416h-192q-26 0 -45 19t-19 45q0 24 15 41l320 384q19 22 49 22t49 -22l320 -384q15 -17 15 -41q0 -26 -19 -45t-45 -19h-192v-384h576q16 0 25 -11l160 -192q7 -11 7 -21 zM1920 448q0 -24 -15 -41l-320 -384q-20 -23 -49 -23t-49 23l-320 384q-15 17 -15 41q0 26 19 45t45 19h192v384h-576q-16 0 -25 12l-160 192q-7 9 -7 20q0 13 9.5 22.5t22.5 9.5h960q8 0 13.5 -2t9 -7t5.5 -8t3 -11.5t1 -11.5v-13v-11v-160v-416h192q26 0 45 -19t19 -45z " />
150
- <glyph unicode="&#xf07a;" horiz-adv-x="1664" d="M640 0q0 -52 -38 -90t-90 -38t-90 38t-38 90t38 90t90 38t90 -38t38 -90zM1536 0q0 -52 -38 -90t-90 -38t-90 38t-38 90t38 90t90 38t90 -38t38 -90zM1664 1088v-512q0 -24 -16.5 -42.5t-40.5 -21.5l-1044 -122q13 -60 13 -70q0 -16 -24 -64h920q26 0 45 -19t19 -45 t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 11 8 31.5t16 36t21.5 40t15.5 29.5l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t19.5 -15.5t13 -24.5t8 -26t5.5 -29.5t4.5 -26h1201q26 0 45 -19t19 -45z" />
151
- <glyph unicode="&#xf07b;" horiz-adv-x="1664" d="M1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />
152
- <glyph unicode="&#xf07c;" horiz-adv-x="1920" d="M1879 584q0 -31 -31 -66l-336 -396q-43 -51 -120.5 -86.5t-143.5 -35.5h-1088q-34 0 -60.5 13t-26.5 43q0 31 31 66l336 396q43 51 120.5 86.5t143.5 35.5h1088q34 0 60.5 -13t26.5 -43zM1536 928v-160h-832q-94 0 -197 -47.5t-164 -119.5l-337 -396l-5 -6q0 4 -0.5 12.5 t-0.5 12.5v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158z" />
153
- <glyph unicode="&#xf07d;" horiz-adv-x="768" d="M704 1216q0 -26 -19 -45t-45 -19h-128v-1024h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v1024h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45z" />
154
- <glyph unicode="&#xf07e;" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-1024v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h1024v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
155
- <glyph unicode="&#xf080;" horiz-adv-x="2048" d="M640 640v-512h-256v512h256zM1024 1152v-1024h-256v1024h256zM2048 0v-128h-2048v1536h128v-1408h1920zM1408 896v-768h-256v768h256zM1792 1280v-1152h-256v1152h256z" />
156
- <glyph unicode="&#xf081;" d="M1280 926q-56 -25 -121 -34q68 40 93 117q-65 -38 -134 -51q-61 66 -153 66q-87 0 -148.5 -61.5t-61.5 -148.5q0 -29 5 -48q-129 7 -242 65t-192 155q-29 -50 -29 -106q0 -114 91 -175q-47 1 -100 26v-2q0 -75 50 -133.5t123 -72.5q-29 -8 -51 -8q-13 0 -39 4 q21 -63 74.5 -104t121.5 -42q-116 -90 -261 -90q-26 0 -50 3q148 -94 322 -94q112 0 210 35.5t168 95t120.5 137t75 162t24.5 168.5q0 18 -1 27q63 45 105 109zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5 t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
157
- <glyph unicode="&#xf082;" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-188v595h199l30 232h-229v148q0 56 23.5 84t91.5 28l122 1v207q-63 9 -178 9q-136 0 -217.5 -80t-81.5 -226v-171h-200v-232h200v-595h-532q-119 0 -203.5 84.5t-84.5 203.5v960 q0 119 84.5 203.5t203.5 84.5h960z" />
158
- <glyph unicode="&#xf083;" horiz-adv-x="1792" d="M928 704q0 14 -9 23t-23 9q-66 0 -113 -47t-47 -113q0 -14 9 -23t23 -9t23 9t9 23q0 40 28 68t68 28q14 0 23 9t9 23zM1152 574q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM128 0h1536v128h-1536v-128zM1280 574q0 159 -112.5 271.5 t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM256 1216h384v128h-384v-128zM128 1024h1536v118v138h-828l-64 -128h-644v-128zM1792 1280v-1280q0 -53 -37.5 -90.5t-90.5 -37.5h-1536q-53 0 -90.5 37.5t-37.5 90.5v1280 q0 53 37.5 90.5t90.5 37.5h1536q53 0 90.5 -37.5t37.5 -90.5z" />
159
- <glyph unicode="&#xf084;" horiz-adv-x="1792" d="M832 1024q0 80 -56 136t-136 56t-136 -56t-56 -136q0 -42 19 -83q-41 19 -83 19q-80 0 -136 -56t-56 -136t56 -136t136 -56t136 56t56 136q0 42 -19 83q41 -19 83 -19q80 0 136 56t56 136zM1683 320q0 -17 -49 -66t-66 -49q-9 0 -28.5 16t-36.5 33t-38.5 40t-24.5 26 l-96 -96l220 -220q28 -28 28 -68q0 -42 -39 -81t-81 -39q-40 0 -68 28l-671 671q-176 -131 -365 -131q-163 0 -265.5 102.5t-102.5 265.5q0 160 95 313t248 248t313 95q163 0 265.5 -102.5t102.5 -265.5q0 -189 -131 -365l355 -355l96 96q-3 3 -26 24.5t-40 38.5t-33 36.5 t-16 28.5q0 17 49 66t66 49q13 0 23 -10q6 -6 46 -44.5t82 -79.5t86.5 -86t73 -78t28.5 -41z" />
160
- <glyph unicode="&#xf085;" horiz-adv-x="1920" d="M896 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1664 128q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 1152q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1280 731v-185q0 -10 -7 -19.5t-16 -10.5l-155 -24q-11 -35 -32 -76q34 -48 90 -115q7 -10 7 -20q0 -12 -7 -19q-23 -30 -82.5 -89.5t-78.5 -59.5q-11 0 -21 7l-115 90q-37 -19 -77 -31q-11 -108 -23 -155q-7 -24 -30 -24h-186q-11 0 -20 7.5t-10 17.5 l-23 153q-34 10 -75 31l-118 -89q-7 -7 -20 -7q-11 0 -21 8q-144 133 -144 160q0 9 7 19q10 14 41 53t47 61q-23 44 -35 82l-152 24q-10 1 -17 9.5t-7 19.5v185q0 10 7 19.5t16 10.5l155 24q11 35 32 76q-34 48 -90 115q-7 11 -7 20q0 12 7 20q22 30 82 89t79 59q11 0 21 -7 l115 -90q34 18 77 32q11 108 23 154q7 24 30 24h186q11 0 20 -7.5t10 -17.5l23 -153q34 -10 75 -31l118 89q8 7 20 7q11 0 21 -8q144 -133 144 -160q0 -9 -7 -19q-12 -16 -42 -54t-45 -60q23 -48 34 -82l152 -23q10 -2 17 -10.5t7 -19.5zM1920 198v-140q0 -16 -149 -31 q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20 t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31zM1920 1222v-140q0 -16 -149 -31q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68 q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70 q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31z" />
161
- <glyph unicode="&#xf086;" horiz-adv-x="1792" d="M1408 768q0 -139 -94 -257t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224 q0 139 94 257t256.5 186.5t353.5 68.5t353.5 -68.5t256.5 -186.5t94 -257zM1792 512q0 -120 -71 -224.5t-195 -176.5q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7 q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230z" />
162
- <glyph unicode="&#xf087;" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 768q0 51 -39 89.5t-89 38.5h-352q0 58 48 159.5t48 160.5q0 98 -32 145t-128 47q-26 -26 -38 -85t-30.5 -125.5t-59.5 -109.5q-22 -23 -77 -91q-4 -5 -23 -30t-31.5 -41t-34.5 -42.5 t-40 -44t-38.5 -35.5t-40 -27t-35.5 -9h-32v-640h32q13 0 31.5 -3t33 -6.5t38 -11t35 -11.5t35.5 -12.5t29 -10.5q211 -73 342 -73h121q192 0 192 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5q32 1 53.5 47t21.5 81zM1536 769 q0 -89 -49 -163q9 -33 9 -69q0 -77 -38 -144q3 -21 3 -43q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5h-36h-93q-96 0 -189.5 22.5t-216.5 65.5q-116 40 -138 40h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h274q36 24 137 155q58 75 107 128 q24 25 35.5 85.5t30.5 126.5t62 108q39 37 90 37q84 0 151 -32.5t102 -101.5t35 -186q0 -93 -48 -192h176q104 0 180 -76t76 -179z" />
163
- <glyph unicode="&#xf088;" d="M256 1088q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 512q0 35 -21.5 81t-53.5 47q15 17 25 47.5t10 55.5q0 69 -53 119q18 32 18 69t-17.5 73.5t-47.5 52.5q5 30 5 56q0 85 -49 126t-136 41h-128q-131 0 -342 -73q-5 -2 -29 -10.5 t-35.5 -12.5t-35 -11.5t-38 -11t-33 -6.5t-31.5 -3h-32v-640h32q16 0 35.5 -9t40 -27t38.5 -35.5t40 -44t34.5 -42.5t31.5 -41t23 -30q55 -68 77 -91q41 -43 59.5 -109.5t30.5 -125.5t38 -85q96 0 128 47t32 145q0 59 -48 160.5t-48 159.5h352q50 0 89 38.5t39 89.5z M1536 511q0 -103 -76 -179t-180 -76h-176q48 -99 48 -192q0 -118 -35 -186q-35 -69 -102 -101.5t-151 -32.5q-51 0 -90 37q-34 33 -54 82t-25.5 90.5t-17.5 84.5t-31 64q-48 50 -107 127q-101 131 -137 155h-274q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5 h288q22 0 138 40q128 44 223 66t200 22h112q140 0 226.5 -79t85.5 -216v-5q60 -77 60 -178q0 -22 -3 -43q38 -67 38 -144q0 -36 -9 -69q49 -74 49 -163z" />
164
- <glyph unicode="&#xf089;" horiz-adv-x="896" d="M832 1504v-1339l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41z" />
165
- <glyph unicode="&#xf08a;" horiz-adv-x="1792" d="M1664 940q0 81 -21.5 143t-55 98.5t-81.5 59.5t-94 31t-98 8t-112 -25.5t-110.5 -64t-86.5 -72t-60 -61.5q-18 -22 -49 -22t-49 22q-24 28 -60 61.5t-86.5 72t-110.5 64t-112 25.5t-98 -8t-94 -31t-81.5 -59.5t-55 -98.5t-21.5 -143q0 -168 187 -355l581 -560l580 559 q188 188 188 356zM1792 940q0 -221 -229 -450l-623 -600q-18 -18 -44 -18t-44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5 q224 0 351 -124t127 -344z" />
166
- <glyph unicode="&#xf08b;" horiz-adv-x="1664" d="M640 96q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h320q13 0 22.5 -9.5t9.5 -22.5q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-66 0 -113 -47t-47 -113v-704 q0 -66 47 -113t113 -47h288h11h13t11.5 -1t11.5 -3t8 -5.5t7 -9t2 -13.5zM1568 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45z" />
167
- <glyph unicode="&#xf08c;" d="M237 122h231v694h-231v-694zM483 1030q-1 52 -36 86t-93 34t-94.5 -34t-36.5 -86q0 -51 35.5 -85.5t92.5 -34.5h1q59 0 95 34.5t36 85.5zM1068 122h231v398q0 154 -73 233t-193 79q-136 0 -209 -117h2v101h-231q3 -66 0 -694h231v388q0 38 7 56q15 35 45 59.5t74 24.5 q116 0 116 -157v-371zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
168
- <glyph unicode="&#xf08d;" horiz-adv-x="1152" d="M480 672v448q0 14 -9 23t-23 9t-23 -9t-9 -23v-448q0 -14 9 -23t23 -9t23 9t9 23zM1152 320q0 -26 -19 -45t-45 -19h-429l-51 -483q-2 -12 -10.5 -20.5t-20.5 -8.5h-1q-27 0 -32 27l-76 485h-404q-26 0 -45 19t-19 45q0 123 78.5 221.5t177.5 98.5v512q-52 0 -90 38 t-38 90t38 90t90 38h640q52 0 90 -38t38 -90t-38 -90t-90 -38v-512q99 0 177.5 -98.5t78.5 -221.5z" />
169
- <glyph unicode="&#xf08e;" horiz-adv-x="1792" d="M1408 608v-320q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v320 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1792 1472v-512q0 -26 -19 -45t-45 -19t-45 19l-176 176l-652 -652q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l652 652l-176 176q-19 19 -19 45t19 45t45 19h512q26 0 45 -19t19 -45z" />
170
- <glyph unicode="&#xf090;" d="M1184 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45zM1536 992v-704q0 -119 -84.5 -203.5t-203.5 -84.5h-320q-13 0 -22.5 9.5t-9.5 22.5 q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q66 0 113 47t47 113v704q0 66 -47 113t-113 47h-288h-11h-13t-11.5 1t-11.5 3t-8 5.5t-7 9t-2 13.5q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q119 0 203.5 -84.5t84.5 -203.5z" />
171
- <glyph unicode="&#xf091;" horiz-adv-x="1664" d="M458 653q-74 162 -74 371h-256v-96q0 -78 94.5 -162t235.5 -113zM1536 928v96h-256q0 -209 -74 -371q141 29 235.5 113t94.5 162zM1664 1056v-128q0 -71 -41.5 -143t-112 -130t-173 -97.5t-215.5 -44.5q-42 -54 -95 -95q-38 -34 -52.5 -72.5t-14.5 -89.5q0 -54 30.5 -91 t97.5 -37q75 0 133.5 -45.5t58.5 -114.5v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 69 58.5 114.5t133.5 45.5q67 0 97.5 37t30.5 91q0 51 -14.5 89.5t-52.5 72.5q-53 41 -95 95q-113 5 -215.5 44.5t-173 97.5t-112 130t-41.5 143v128q0 40 28 68t68 28h288v96 q0 66 47 113t113 47h576q66 0 113 -47t47 -113v-96h288q40 0 68 -28t28 -68z" />
172
- <glyph unicode="&#xf092;" d="M519 336q4 6 -3 13q-9 7 -14 2q-4 -6 3 -13q9 -7 14 -2zM491 377q-5 7 -12 4q-6 -4 0 -12q7 -8 12 -5q6 4 0 13zM450 417q2 4 -5 8q-7 2 -8 -2q-3 -5 4 -8q8 -2 9 2zM471 394q2 1 1.5 4.5t-3.5 5.5q-6 7 -10 3t1 -11q6 -6 11 -2zM557 319q2 7 -9 11q-9 3 -13 -4 q-2 -7 9 -11q9 -3 13 4zM599 316q0 8 -12 8q-10 0 -10 -8t11 -8t11 8zM638 323q-2 7 -13 5t-9 -9q2 -8 12 -6t10 10zM1280 640q0 212 -150 362t-362 150t-362 -150t-150 -362q0 -167 98 -300.5t252 -185.5q18 -3 26.5 5t8.5 20q0 52 -1 95q-6 -1 -15.5 -2.5t-35.5 -2t-48 4 t-43.5 20t-29.5 41.5q-23 59 -57 74q-2 1 -4.5 3.5l-8 8t-7 9.5t4 7.5t19.5 3.5q6 0 15 -2t30 -15.5t33 -35.5q16 -28 37.5 -42t43.5 -14t38 3.5t30 9.5q7 47 33 69q-49 6 -86 18.5t-73 39t-55.5 76t-19.5 119.5q0 79 53 137q-24 62 5 136q19 6 54.5 -7.5t60.5 -29.5l26 -16 q58 17 128 17t128 -17q11 7 28.5 18t55.5 26t57 9q29 -74 5 -136q53 -58 53 -137q0 -57 -14 -100.5t-35.5 -70t-53.5 -44.5t-62.5 -26t-68.5 -12q35 -31 35 -95q0 -40 -0.5 -89t-0.5 -51q0 -12 8.5 -20t26.5 -5q154 52 252 185.5t98 300.5zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
173
- <glyph unicode="&#xf093;" horiz-adv-x="1664" d="M1280 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 288v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h427q21 -56 70.5 -92 t110.5 -36h256q61 0 110.5 36t70.5 92h427q40 0 68 -28t28 -68zM1339 936q-17 -40 -59 -40h-256v-448q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v448h-256q-42 0 -59 40q-17 39 14 69l448 448q18 19 45 19t45 -19l448 -448q31 -30 14 -69z" />
174
- <glyph unicode="&#xf094;" d="M1407 710q0 44 -7 113.5t-18 96.5q-12 30 -17 44t-9 36.5t-4 48.5q0 23 5 68.5t5 67.5q0 37 -10 55q-4 1 -13 1q-19 0 -58 -4.5t-59 -4.5q-60 0 -176 24t-175 24q-43 0 -94.5 -11.5t-85 -23.5t-89.5 -34q-137 -54 -202 -103q-96 -73 -159.5 -189.5t-88 -236t-24.5 -248.5 q0 -40 12.5 -120t12.5 -121q0 -23 -11 -66.5t-11 -65.5t12 -36.5t34 -14.5q24 0 72.5 11t73.5 11q57 0 169.5 -15.5t169.5 -15.5q181 0 284 36q129 45 235.5 152.5t166 245.5t59.5 275zM1535 712q0 -165 -70 -327.5t-196 -288t-281 -180.5q-124 -44 -326 -44 q-57 0 -170 14.5t-169 14.5q-24 0 -72.5 -14.5t-73.5 -14.5q-73 0 -123.5 55.5t-50.5 128.5q0 24 11 68t11 67q0 40 -12.5 120.5t-12.5 121.5q0 111 18 217.5t54.5 209.5t100.5 194t150 156q78 59 232 120q194 78 316 78q60 0 175.5 -24t173.5 -24q19 0 57 5t58 5 q81 0 118 -50.5t37 -134.5q0 -23 -5 -68t-5 -68q0 -10 1 -18.5t3 -17t4 -13.5t6.5 -16t6.5 -17q16 -40 25 -118.5t9 -136.5z" />
175
- <glyph unicode="&#xf095;" horiz-adv-x="1408" d="M1408 296q0 -27 -10 -70.5t-21 -68.5q-21 -50 -122 -106q-94 -51 -186 -51q-27 0 -52.5 3.5t-57.5 12.5t-47.5 14.5t-55.5 20.5t-49 18q-98 35 -175 83q-128 79 -264.5 215.5t-215.5 264.5q-48 77 -83 175q-3 9 -18 49t-20.5 55.5t-14.5 47.5t-12.5 57.5t-3.5 52.5 q0 92 51 186q56 101 106 122q25 11 68.5 21t70.5 10q14 0 21 -3q18 -6 53 -76q11 -19 30 -54t35 -63.5t31 -53.5q3 -4 17.5 -25t21.5 -35.5t7 -28.5q0 -20 -28.5 -50t-62 -55t-62 -53t-28.5 -46q0 -9 5 -22.5t8.5 -20.5t14 -24t11.5 -19q76 -137 174 -235t235 -174 q2 -1 19 -11.5t24 -14t20.5 -8.5t22.5 -5q18 0 46 28.5t53 62t55 62t50 28.5q14 0 28.5 -7t35.5 -21.5t25 -17.5q25 -15 53.5 -31t63.5 -35t54 -30q70 -35 76 -53q3 -7 3 -21z" />
176
- <glyph unicode="&#xf096;" horiz-adv-x="1408" d="M1120 1280h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v832q0 66 -47 113t-113 47zM1408 1120v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q119 0 203.5 -84.5t84.5 -203.5z" />
177
- <glyph unicode="&#xf097;" horiz-adv-x="1280" d="M1152 1280h-1024v-1242l423 406l89 85l89 -85l423 -406v1242zM1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289 q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
178
- <glyph unicode="&#xf098;" d="M1280 343q0 11 -2 16q-3 8 -38.5 29.5t-88.5 49.5l-53 29q-5 3 -19 13t-25 15t-21 5q-18 0 -47 -32.5t-57 -65.5t-44 -33q-7 0 -16.5 3.5t-15.5 6.5t-17 9.5t-14 8.5q-99 55 -170.5 126.5t-126.5 170.5q-2 3 -8.5 14t-9.5 17t-6.5 15.5t-3.5 16.5q0 13 20.5 33.5t45 38.5 t45 39.5t20.5 36.5q0 10 -5 21t-15 25t-13 19q-3 6 -15 28.5t-25 45.5t-26.5 47.5t-25 40.5t-16.5 18t-16 2q-48 0 -101 -22q-46 -21 -80 -94.5t-34 -130.5q0 -16 2.5 -34t5 -30.5t9 -33t10 -29.5t12.5 -33t11 -30q60 -164 216.5 -320.5t320.5 -216.5q6 -2 30 -11t33 -12.5 t29.5 -10t33 -9t30.5 -5t34 -2.5q57 0 130.5 34t94.5 80q22 53 22 101zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
179
- <glyph unicode="&#xf099;" horiz-adv-x="1664" d="M1620 1128q-67 -98 -162 -167q1 -14 1 -42q0 -130 -38 -259.5t-115.5 -248.5t-184.5 -210.5t-258 -146t-323 -54.5q-271 0 -496 145q35 -4 78 -4q225 0 401 138q-105 2 -188 64.5t-114 159.5q33 -5 61 -5q43 0 85 11q-112 23 -185.5 111.5t-73.5 205.5v4q68 -38 146 -41 q-66 44 -105 115t-39 154q0 88 44 163q121 -149 294.5 -238.5t371.5 -99.5q-8 38 -8 74q0 134 94.5 228.5t228.5 94.5q140 0 236 -102q109 21 205 78q-37 -115 -142 -178q93 10 186 50z" />
180
- <glyph unicode="&#xf09a;" horiz-adv-x="1024" d="M959 1524v-264h-157q-86 0 -116 -36t-30 -108v-189h293l-39 -296h-254v-759h-306v759h-255v296h255v218q0 186 104 288.5t277 102.5q147 0 228 -12z" />
181
- <glyph unicode="&#xf09b;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5q0 -251 -146.5 -451.5t-378.5 -277.5q-27 -5 -40 7t-13 30q0 3 0.5 76.5t0.5 134.5q0 97 -52 142q57 6 102.5 18t94 39t81 66.5t53 105t20.5 150.5q0 119 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24 q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-85 13.5q-45 -113 -8 -204q-79 -87 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-39 -36 -49 -103q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5 t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -88.5t0.5 -54.5q0 -18 -13 -30t-40 -7q-232 77 -378.5 277.5t-146.5 451.5q0 209 103 385.5t279.5 279.5t385.5 103zM291 305q3 7 -7 12 q-10 3 -13 -2q-3 -7 7 -12q9 -6 13 2zM322 271q7 5 -2 16q-10 9 -16 3q-7 -5 2 -16q10 -10 16 -3zM352 226q9 7 0 19q-8 13 -17 6q-9 -5 0 -18t17 -7zM394 184q8 8 -4 19q-12 12 -20 3q-9 -8 4 -19q12 -12 20 -3zM451 159q3 11 -13 16q-15 4 -19 -7t13 -15q15 -6 19 6z M514 154q0 13 -17 11q-16 0 -16 -11q0 -13 17 -11q16 0 16 11zM572 164q-2 11 -18 9q-16 -3 -14 -15t18 -8t14 14z" />
182
- <glyph unicode="&#xf09c;" horiz-adv-x="1664" d="M1664 960v-256q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45v256q0 106 -75 181t-181 75t-181 -75t-75 -181v-192h96q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h672v192q0 185 131.5 316.5t316.5 131.5 t316.5 -131.5t131.5 -316.5z" />
183
- <glyph unicode="&#xf09d;" horiz-adv-x="1920" d="M1760 1408q66 0 113 -47t47 -113v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600zM160 1280q-13 0 -22.5 -9.5t-9.5 -22.5v-224h1664v224q0 13 -9.5 22.5t-22.5 9.5h-1600zM1760 0q13 0 22.5 9.5t9.5 22.5v608h-1664v-608 q0 -13 9.5 -22.5t22.5 -9.5h1600zM256 128v128h256v-128h-256zM640 128v128h384v-128h-384z" />
184
- <glyph unicode="&#xf09e;" horiz-adv-x="1408" d="M384 192q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 69q2 -28 -17 -48q-18 -21 -47 -21h-135q-25 0 -43 16.5t-20 41.5q-22 229 -184.5 391.5t-391.5 184.5q-25 2 -41.5 20t-16.5 43v135q0 29 21 47q17 17 43 17h5q160 -13 306 -80.5 t259 -181.5q114 -113 181.5 -259t80.5 -306zM1408 67q2 -27 -18 -47q-18 -20 -46 -20h-143q-26 0 -44.5 17.5t-19.5 42.5q-12 215 -101 408.5t-231.5 336t-336 231.5t-408.5 102q-25 1 -42.5 19.5t-17.5 43.5v143q0 28 20 46q18 18 44 18h3q262 -13 501.5 -120t425.5 -294 q187 -186 294 -425.5t120 -501.5z" />
185
- <glyph unicode="&#xf0a0;" d="M1040 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1296 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1408 160v320q0 13 -9.5 22.5t-22.5 9.5 h-1216q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h1216q13 0 22.5 9.5t9.5 22.5zM178 640h1180l-157 482q-4 13 -16 21.5t-26 8.5h-782q-14 0 -26 -8.5t-16 -21.5zM1536 480v-320q0 -66 -47 -113t-113 -47h-1216q-66 0 -113 47t-47 113v320q0 25 16 75 l197 606q17 53 63 86t101 33h782q55 0 101 -33t63 -86l197 -606q16 -50 16 -75z" />
186
- <glyph unicode="&#xf0a1;" horiz-adv-x="1792" d="M1664 896q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5v-384q0 -52 -38 -90t-90 -38q-417 347 -812 380q-58 -19 -91 -66t-31 -100.5t40 -92.5q-20 -33 -23 -65.5t6 -58t33.5 -55t48 -50t61.5 -50.5q-29 -58 -111.5 -83t-168.5 -11.5t-132 55.5q-7 23 -29.5 87.5 t-32 94.5t-23 89t-15 101t3.5 98.5t22 110.5h-122q-66 0 -113 47t-47 113v192q0 66 47 113t113 47h480q435 0 896 384q52 0 90 -38t38 -90v-384zM1536 292v954q-394 -302 -768 -343v-270q377 -42 768 -341z" />
187
- <glyph unicode="&#xf0a2;" horiz-adv-x="1792" d="M912 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM246 128h1300q-266 300 -266 832q0 51 -24 105t-69 103t-121.5 80.5t-169.5 31.5t-169.5 -31.5t-121.5 -80.5t-69 -103t-24 -105q0 -532 -266 -832z M1728 128q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q50 42 91 88t85 119.5t74.5 158.5t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q190 -28 307 -158.5 t117 -282.5q0 -139 19.5 -260t50 -206t74.5 -158.5t85 -119.5t91 -88z" />
188
- <glyph unicode="&#xf0a3;" d="M1376 640l138 -135q30 -28 20 -70q-12 -41 -52 -51l-188 -48l53 -186q12 -41 -19 -70q-29 -31 -70 -19l-186 53l-48 -188q-10 -40 -51 -52q-12 -2 -19 -2q-31 0 -51 22l-135 138l-135 -138q-28 -30 -70 -20q-41 11 -51 52l-48 188l-186 -53q-41 -12 -70 19q-31 29 -19 70 l53 186l-188 48q-40 10 -52 51q-10 42 20 70l138 135l-138 135q-30 28 -20 70q12 41 52 51l188 48l-53 186q-12 41 19 70q29 31 70 19l186 -53l48 188q10 41 51 51q41 12 70 -19l135 -139l135 139q29 30 70 19q41 -10 51 -51l48 -188l186 53q41 12 70 -19q31 -29 19 -70 l-53 -186l188 -48q40 -10 52 -51q10 -42 -20 -70z" />
189
- <glyph unicode="&#xf0a4;" horiz-adv-x="1792" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 768q0 51 -39 89.5t-89 38.5h-576q0 20 15 48.5t33 55t33 68t15 84.5q0 67 -44.5 97.5t-115.5 30.5q-24 0 -90 -139q-24 -44 -37 -65q-40 -64 -112 -145q-71 -81 -101 -106 q-69 -57 -140 -57h-32v-640h32q72 0 167 -32t193.5 -64t179.5 -32q189 0 189 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5h331q52 0 90 38t38 90zM1792 769q0 -105 -75.5 -181t-180.5 -76h-169q-4 -62 -37 -119q3 -21 3 -43 q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5q-133 0 -322 69q-164 59 -223 59h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h288q10 0 21.5 4.5t23.5 14t22.5 18t24 22.5t20.5 21.5t19 21.5t14 17q65 74 100 129q13 21 33 62t37 72t40.5 63t55 49.5 t69.5 17.5q125 0 206.5 -67t81.5 -189q0 -68 -22 -128h374q104 0 180 -76t76 -179z" />
190
- <glyph unicode="&#xf0a5;" horiz-adv-x="1792" d="M1376 128h32v640h-32q-35 0 -67.5 12t-62.5 37t-50 46t-49 54q-2 3 -3.5 4.5t-4 4.5t-4.5 5q-72 81 -112 145q-14 22 -38 68q-1 3 -10.5 22.5t-18.5 36t-20 35.5t-21.5 30.5t-18.5 11.5q-71 0 -115.5 -30.5t-44.5 -97.5q0 -43 15 -84.5t33 -68t33 -55t15 -48.5h-576 q-50 0 -89 -38.5t-39 -89.5q0 -52 38 -90t90 -38h331q-15 -17 -25 -47.5t-10 -55.5q0 -69 53 -119q-18 -32 -18 -69t17.5 -73.5t47.5 -52.5q-4 -24 -4 -56q0 -85 48.5 -126t135.5 -41q84 0 183 32t194 64t167 32zM1664 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45 t45 -19t45 19t19 45zM1792 768v-640q0 -53 -37.5 -90.5t-90.5 -37.5h-288q-59 0 -223 -59q-190 -69 -317 -69q-142 0 -230 77.5t-87 217.5l1 5q-61 76 -61 178q0 22 3 43q-33 57 -37 119h-169q-105 0 -180.5 76t-75.5 181q0 103 76 179t180 76h374q-22 60 -22 128 q0 122 81.5 189t206.5 67q38 0 69.5 -17.5t55 -49.5t40.5 -63t37 -72t33 -62q35 -55 100 -129q2 -3 14 -17t19 -21.5t20.5 -21.5t24 -22.5t22.5 -18t23.5 -14t21.5 -4.5h288q53 0 90.5 -37.5t37.5 -90.5z" />
191
- <glyph unicode="&#xf0a6;" d="M1280 -64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 700q0 189 -167 189q-26 0 -56 -5q-16 30 -52.5 47.5t-73.5 17.5t-69 -18q-50 53 -119 53q-25 0 -55.5 -10t-47.5 -25v331q0 52 -38 90t-90 38q-51 0 -89.5 -39t-38.5 -89v-576 q-20 0 -48.5 15t-55 33t-68 33t-84.5 15q-67 0 -97.5 -44.5t-30.5 -115.5q0 -24 139 -90q44 -24 65 -37q64 -40 145 -112q81 -71 106 -101q57 -69 57 -140v-32h640v32q0 72 32 167t64 193.5t32 179.5zM1536 705q0 -133 -69 -322q-59 -164 -59 -223v-288q0 -53 -37.5 -90.5 t-90.5 -37.5h-640q-53 0 -90.5 37.5t-37.5 90.5v288q0 10 -4.5 21.5t-14 23.5t-18 22.5t-22.5 24t-21.5 20.5t-21.5 19t-17 14q-74 65 -129 100q-21 13 -62 33t-72 37t-63 40.5t-49.5 55t-17.5 69.5q0 125 67 206.5t189 81.5q68 0 128 -22v374q0 104 76 180t179 76 q105 0 181 -75.5t76 -180.5v-169q62 -4 119 -37q21 3 43 3q101 0 178 -60q139 1 219.5 -85t80.5 -227z" />
192
- <glyph unicode="&#xf0a7;" d="M1408 576q0 84 -32 183t-64 194t-32 167v32h-640v-32q0 -35 -12 -67.5t-37 -62.5t-46 -50t-54 -49q-9 -8 -14 -12q-81 -72 -145 -112q-22 -14 -68 -38q-3 -1 -22.5 -10.5t-36 -18.5t-35.5 -20t-30.5 -21.5t-11.5 -18.5q0 -71 30.5 -115.5t97.5 -44.5q43 0 84.5 15t68 33 t55 33t48.5 15v-576q0 -50 38.5 -89t89.5 -39q52 0 90 38t38 90v331q46 -35 103 -35q69 0 119 53q32 -18 69 -18t73.5 17.5t52.5 47.5q24 -4 56 -4q85 0 126 48.5t41 135.5zM1280 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 580 q0 -142 -77.5 -230t-217.5 -87l-5 1q-76 -61 -178 -61q-22 0 -43 3q-54 -30 -119 -37v-169q0 -105 -76 -180.5t-181 -75.5q-103 0 -179 76t-76 180v374q-54 -22 -128 -22q-121 0 -188.5 81.5t-67.5 206.5q0 38 17.5 69.5t49.5 55t63 40.5t72 37t62 33q55 35 129 100 q3 2 17 14t21.5 19t21.5 20.5t22.5 24t18 22.5t14 23.5t4.5 21.5v288q0 53 37.5 90.5t90.5 37.5h640q53 0 90.5 -37.5t37.5 -90.5v-288q0 -59 59 -223q69 -190 69 -317z" />
193
- <glyph unicode="&#xf0a8;" d="M1280 576v128q0 26 -19 45t-45 19h-502l189 189q19 19 19 45t-19 45l-91 91q-18 18 -45 18t-45 -18l-362 -362l-91 -91q-18 -18 -18 -45t18 -45l91 -91l362 -362q18 -18 45 -18t45 18l91 91q18 18 18 45t-18 45l-189 189h502q26 0 45 19t19 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
194
- <glyph unicode="&#xf0a9;" d="M1285 640q0 27 -18 45l-91 91l-362 362q-18 18 -45 18t-45 -18l-91 -91q-18 -18 -18 -45t18 -45l189 -189h-502q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h502l-189 -189q-19 -19 -19 -45t19 -45l91 -91q18 -18 45 -18t45 18l362 362l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
195
- <glyph unicode="&#xf0aa;" d="M1284 641q0 27 -18 45l-362 362l-91 91q-18 18 -45 18t-45 -18l-91 -91l-362 -362q-18 -18 -18 -45t18 -45l91 -91q18 -18 45 -18t45 18l189 189v-502q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v502l189 -189q19 -19 45 -19t45 19l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
196
- <glyph unicode="&#xf0ab;" d="M1284 639q0 27 -18 45l-91 91q-18 18 -45 18t-45 -18l-189 -189v502q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-502l-189 189q-19 19 -45 19t-45 -19l-91 -91q-18 -18 -18 -45t18 -45l362 -362l91 -91q18 -18 45 -18t45 18l91 91l362 362q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
197
- <glyph unicode="&#xf0ac;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1042 887q-2 -1 -9.5 -9.5t-13.5 -9.5q2 0 4.5 5t5 11t3.5 7q6 7 22 15q14 6 52 12q34 8 51 -11 q-2 2 9.5 13t14.5 12q3 2 15 4.5t15 7.5l2 22q-12 -1 -17.5 7t-6.5 21q0 -2 -6 -8q0 7 -4.5 8t-11.5 -1t-9 -1q-10 3 -15 7.5t-8 16.5t-4 15q-2 5 -9.5 10.5t-9.5 10.5q-1 2 -2.5 5.5t-3 6.5t-4 5.5t-5.5 2.5t-7 -5t-7.5 -10t-4.5 -5q-3 2 -6 1.5t-4.5 -1t-4.5 -3t-5 -3.5 q-3 -2 -8.5 -3t-8.5 -2q15 5 -1 11q-10 4 -16 3q9 4 7.5 12t-8.5 14h5q-1 4 -8.5 8.5t-17.5 8.5t-13 6q-8 5 -34 9.5t-33 0.5q-5 -6 -4.5 -10.5t4 -14t3.5 -12.5q1 -6 -5.5 -13t-6.5 -12q0 -7 14 -15.5t10 -21.5q-3 -8 -16 -16t-16 -12q-5 -8 -1.5 -18.5t10.5 -16.5 q2 -2 1.5 -4t-3.5 -4.5t-5.5 -4t-6.5 -3.5l-3 -2q-11 -5 -20.5 6t-13.5 26q-7 25 -16 30q-23 8 -29 -1q-5 13 -41 26q-25 9 -58 4q6 1 0 15q-7 15 -19 12q3 6 4 17.5t1 13.5q3 13 12 23q1 1 7 8.5t9.5 13.5t0.5 6q35 -4 50 11q5 5 11.5 17t10.5 17q9 6 14 5.5t14.5 -5.5 t14.5 -5q14 -1 15.5 11t-7.5 20q12 -1 3 17q-5 7 -8 9q-12 4 -27 -5q-8 -4 2 -8q-1 1 -9.5 -10.5t-16.5 -17.5t-16 5q-1 1 -5.5 13.5t-9.5 13.5q-8 0 -16 -15q3 8 -11 15t-24 8q19 12 -8 27q-7 4 -20.5 5t-19.5 -4q-5 -7 -5.5 -11.5t5 -8t10.5 -5.5t11.5 -4t8.5 -3 q14 -10 8 -14q-2 -1 -8.5 -3.5t-11.5 -4.5t-6 -4q-3 -4 0 -14t-2 -14q-5 5 -9 17.5t-7 16.5q7 -9 -25 -6l-10 1q-4 0 -16 -2t-20.5 -1t-13.5 8q-4 8 0 20q1 4 4 2q-4 3 -11 9.5t-10 8.5q-46 -15 -94 -41q6 -1 12 1q5 2 13 6.5t10 5.5q34 14 42 7l5 5q14 -16 20 -25 q-7 4 -30 1q-20 -6 -22 -12q7 -12 5 -18q-4 3 -11.5 10t-14.5 11t-15 5q-16 0 -22 -1q-146 -80 -235 -222q7 -7 12 -8q4 -1 5 -9t2.5 -11t11.5 3q9 -8 3 -19q1 1 44 -27q19 -17 21 -21q3 -11 -10 -18q-1 2 -9 9t-9 4q-3 -5 0.5 -18.5t10.5 -12.5q-7 0 -9.5 -16t-2.5 -35.5 t-1 -23.5l2 -1q-3 -12 5.5 -34.5t21.5 -19.5q-13 -3 20 -43q6 -8 8 -9q3 -2 12 -7.5t15 -10t10 -10.5q4 -5 10 -22.5t14 -23.5q-2 -6 9.5 -20t10.5 -23q-1 0 -2.5 -1t-2.5 -1q3 -7 15.5 -14t15.5 -13q1 -3 2 -10t3 -11t8 -2q2 20 -24 62q-15 25 -17 29q-3 5 -5.5 15.5 t-4.5 14.5q2 0 6 -1.5t8.5 -3.5t7.5 -4t2 -3q-3 -7 2 -17.5t12 -18.5t17 -19t12 -13q6 -6 14 -19.5t0 -13.5q9 0 20 -10t17 -20q5 -8 8 -26t5 -24q2 -7 8.5 -13.5t12.5 -9.5l16 -8t13 -7q5 -2 18.5 -10.5t21.5 -11.5q10 -4 16 -4t14.5 2.5t13.5 3.5q15 2 29 -15t21 -21 q36 -19 55 -11q-2 -1 0.5 -7.5t8 -15.5t9 -14.5t5.5 -8.5q5 -6 18 -15t18 -15q6 4 7 9q-3 -8 7 -20t18 -10q14 3 14 32q-31 -15 -49 18q0 1 -2.5 5.5t-4 8.5t-2.5 8.5t0 7.5t5 3q9 0 10 3.5t-2 12.5t-4 13q-1 8 -11 20t-12 15q-5 -9 -16 -8t-16 9q0 -1 -1.5 -5.5t-1.5 -6.5 q-13 0 -15 1q1 3 2.5 17.5t3.5 22.5q1 4 5.5 12t7.5 14.5t4 12.5t-4.5 9.5t-17.5 2.5q-19 -1 -26 -20q-1 -3 -3 -10.5t-5 -11.5t-9 -7q-7 -3 -24 -2t-24 5q-13 8 -22.5 29t-9.5 37q0 10 2.5 26.5t3 25t-5.5 24.5q3 2 9 9.5t10 10.5q2 1 4.5 1.5t4.5 0t4 1.5t3 6q-1 1 -4 3 q-3 3 -4 3q7 -3 28.5 1.5t27.5 -1.5q15 -11 22 2q0 1 -2.5 9.5t-0.5 13.5q5 -27 29 -9q3 -3 15.5 -5t17.5 -5q3 -2 7 -5.5t5.5 -4.5t5 0.5t8.5 6.5q10 -14 12 -24q11 -40 19 -44q7 -3 11 -2t4.5 9.5t0 14t-1.5 12.5l-1 8v18l-1 8q-15 3 -18.5 12t1.5 18.5t15 18.5q1 1 8 3.5 t15.5 6.5t12.5 8q21 19 15 35q7 0 11 9q-1 0 -5 3t-7.5 5t-4.5 2q9 5 2 16q5 3 7.5 11t7.5 10q9 -12 21 -2q7 8 1 16q5 7 20.5 10.5t18.5 9.5q7 -2 8 2t1 12t3 12q4 5 15 9t13 5l17 11q3 4 0 4q18 -2 31 11q10 11 -6 20q3 6 -3 9.5t-15 5.5q3 1 11.5 0.5t10.5 1.5 q15 10 -7 16q-17 5 -43 -12zM879 10q206 36 351 189q-3 3 -12.5 4.5t-12.5 3.5q-18 7 -24 8q1 7 -2.5 13t-8 9t-12.5 8t-11 7q-2 2 -7 6t-7 5.5t-7.5 4.5t-8.5 2t-10 -1l-3 -1q-3 -1 -5.5 -2.5t-5.5 -3t-4 -3t0 -2.5q-21 17 -36 22q-5 1 -11 5.5t-10.5 7t-10 1.5t-11.5 -7 q-5 -5 -6 -15t-2 -13q-7 5 0 17.5t2 18.5q-3 6 -10.5 4.5t-12 -4.5t-11.5 -8.5t-9 -6.5t-8.5 -5.5t-8.5 -7.5q-3 -4 -6 -12t-5 -11q-2 4 -11.5 6.5t-9.5 5.5q2 -10 4 -35t5 -38q7 -31 -12 -48q-27 -25 -29 -40q-4 -22 12 -26q0 -7 -8 -20.5t-7 -21.5q0 -6 2 -16z" />
198
- <glyph unicode="&#xf0ad;" horiz-adv-x="1664" d="M384 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1028 484l-682 -682q-37 -37 -90 -37q-52 0 -91 37l-106 108q-38 36 -38 90q0 53 38 91l681 681q39 -98 114.5 -173.5t173.5 -114.5zM1662 919q0 -39 -23 -106q-47 -134 -164.5 -217.5 t-258.5 -83.5q-185 0 -316.5 131.5t-131.5 316.5t131.5 316.5t316.5 131.5q58 0 121.5 -16.5t107.5 -46.5q16 -11 16 -28t-16 -28l-293 -169v-224l193 -107q5 3 79 48.5t135.5 81t70.5 35.5q15 0 23.5 -10t8.5 -25z" />
199
- <glyph unicode="&#xf0ae;" horiz-adv-x="1792" d="M1024 128h640v128h-640v-128zM640 640h1024v128h-1024v-128zM1280 1152h384v128h-384v-128zM1792 320v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 832v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19 t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
200
- <glyph unicode="&#xf0b0;" horiz-adv-x="1408" d="M1403 1241q17 -41 -14 -70l-493 -493v-742q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-256 256q-19 19 -19 45v486l-493 493q-31 29 -14 70q17 39 59 39h1280q42 0 59 -39z" />
201
- <glyph unicode="&#xf0b1;" horiz-adv-x="1792" d="M640 1280h512v128h-512v-128zM1792 640v-480q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v480h672v-160q0 -26 19 -45t45 -19h320q26 0 45 19t19 45v160h672zM1024 640v-128h-256v128h256zM1792 1120v-384h-1792v384q0 66 47 113t113 47h352v160q0 40 28 68 t68 28h576q40 0 68 -28t28 -68v-160h352q66 0 113 -47t47 -113z" />
202
- <glyph unicode="&#xf0b2;" d="M1283 995l-355 -355l355 -355l144 144q29 31 70 14q39 -17 39 -59v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l144 144l-355 355l-355 -355l144 -144q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l144 -144 l355 355l-355 355l-144 -144q-19 -19 -45 -19q-12 0 -24 5q-40 17 -40 59v448q0 26 19 45t45 19h448q42 0 59 -40q17 -39 -14 -69l-144 -144l355 -355l355 355l-144 144q-31 30 -14 69q17 40 59 40h448q26 0 45 -19t19 -45v-448q0 -42 -39 -59q-13 -5 -25 -5q-26 0 -45 19z " />
203
- <glyph unicode="&#xf0c0;" horiz-adv-x="1920" d="M593 640q-162 -5 -265 -128h-134q-82 0 -138 40.5t-56 118.5q0 353 124 353q6 0 43.5 -21t97.5 -42.5t119 -21.5q67 0 133 23q-5 -37 -5 -66q0 -139 81 -256zM1664 3q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5 t43 97.5t62 81t85.5 53.5t111.5 20q10 0 43 -21.5t73 -48t107 -48t135 -21.5t135 21.5t107 48t73 48t43 21.5q61 0 111.5 -20t85.5 -53.5t62 -81t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM640 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75 t75 -181zM1344 896q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5zM1920 671q0 -78 -56 -118.5t-138 -40.5h-134q-103 123 -265 128q81 117 81 256q0 29 -5 66q66 -23 133 -23q59 0 119 21.5t97.5 42.5 t43.5 21q124 0 124 -353zM1792 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181z" />
204
- <glyph unicode="&#xf0c1;" horiz-adv-x="1664" d="M1456 320q0 40 -28 68l-208 208q-28 28 -68 28q-42 0 -72 -32q3 -3 19 -18.5t21.5 -21.5t15 -19t13 -25.5t3.5 -27.5q0 -40 -28 -68t-68 -28q-15 0 -27.5 3.5t-25.5 13t-19 15t-21.5 21.5t-18.5 19q-33 -31 -33 -73q0 -40 28 -68l206 -207q27 -27 68 -27q40 0 68 26 l147 146q28 28 28 67zM753 1025q0 40 -28 68l-206 207q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l208 -208q27 -27 68 -27q42 0 72 31q-3 3 -19 18.5t-21.5 21.5t-15 19t-13 25.5t-3.5 27.5q0 40 28 68t68 28q15 0 27.5 -3.5t25.5 -13t19 -15 t21.5 -21.5t18.5 -19q33 31 33 73zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-206 207q-83 83 -83 203q0 123 88 209l-88 88q-86 -88 -208 -88q-120 0 -204 84l-208 208q-84 84 -84 204t85 203l147 146q83 83 203 83q121 0 204 -85l206 -207 q83 -83 83 -203q0 -123 -88 -209l88 -88q86 88 208 88q120 0 204 -84l208 -208q84 -84 84 -204z" />
205
- <glyph unicode="&#xf0c2;" horiz-adv-x="1920" d="M1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088q-185 0 -316.5 131.5t-131.5 316.5q0 132 71 241.5t187 163.5q-2 28 -2 43q0 212 150 362t362 150q158 0 286.5 -88t187.5 -230q70 62 166 62q106 0 181 -75t75 -181q0 -75 -41 -138q129 -30 213 -134.5t84 -239.5z " />
206
- <glyph unicode="&#xf0c3;" horiz-adv-x="1664" d="M1527 88q56 -89 21.5 -152.5t-140.5 -63.5h-1152q-106 0 -140.5 63.5t21.5 152.5l503 793v399h-64q-26 0 -45 19t-19 45t19 45t45 19h512q26 0 45 -19t19 -45t-19 -45t-45 -19h-64v-399zM748 813l-272 -429h712l-272 429l-20 31v37v399h-128v-399v-37z" />
207
- <glyph unicode="&#xf0c4;" horiz-adv-x="1792" d="M960 640q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1260 576l507 -398q28 -20 25 -56q-5 -35 -35 -51l-128 -64q-13 -7 -29 -7q-17 0 -31 8l-690 387l-110 -66q-8 -4 -12 -5q14 -49 10 -97q-7 -77 -56 -147.5t-132 -123.5q-132 -84 -277 -84 q-136 0 -222 78q-90 84 -79 207q7 76 56 147t131 124q132 84 278 84q83 0 151 -31q9 13 22 22l122 73l-122 73q-13 9 -22 22q-68 -31 -151 -31q-146 0 -278 84q-82 53 -131 124t-56 147q-5 59 15.5 113t63.5 93q85 79 222 79q145 0 277 -84q83 -52 132 -123t56 -148 q4 -48 -10 -97q4 -1 12 -5l110 -66l690 387q14 8 31 8q16 0 29 -7l128 -64q30 -16 35 -51q3 -36 -25 -56zM579 836q46 42 21 108t-106 117q-92 59 -192 59q-74 0 -113 -36q-46 -42 -21 -108t106 -117q92 -59 192 -59q74 0 113 36zM494 91q81 51 106 117t-21 108 q-39 36 -113 36q-100 0 -192 -59q-81 -51 -106 -117t21 -108q39 -36 113 -36q100 0 192 59zM672 704l96 -58v11q0 36 33 56l14 8l-79 47l-26 -26q-3 -3 -10 -11t-12 -12q-2 -2 -4 -3.5t-3 -2.5zM896 480l96 -32l736 576l-128 64l-768 -431v-113l-160 -96l9 -8q2 -2 7 -6 q4 -4 11 -12t11 -12l26 -26zM1600 64l128 64l-520 408l-177 -138q-2 -3 -13 -7z" />
208
- <glyph unicode="&#xf0c5;" horiz-adv-x="1792" d="M1696 1152q40 0 68 -28t28 -68v-1216q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v288h-544q-40 0 -68 28t-28 68v672q0 40 20 88t48 76l408 408q28 28 76 48t88 20h416q40 0 68 -28t28 -68v-328q68 40 128 40h416zM1152 939l-299 -299h299v299zM512 1323l-299 -299 h299v299zM708 676l316 316v416h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h512v256q0 40 20 88t48 76zM1664 -128v1152h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h896z" />
209
- <glyph unicode="&#xf0c6;" horiz-adv-x="1408" d="M1404 151q0 -117 -79 -196t-196 -79q-135 0 -235 100l-777 776q-113 115 -113 271q0 159 110 270t269 111q158 0 273 -113l605 -606q10 -10 10 -22q0 -16 -30.5 -46.5t-46.5 -30.5q-13 0 -23 10l-606 607q-79 77 -181 77q-106 0 -179 -75t-73 -181q0 -105 76 -181 l776 -777q63 -63 145 -63q64 0 106 42t42 106q0 82 -63 145l-581 581q-26 24 -60 24q-29 0 -48 -19t-19 -48q0 -32 25 -59l410 -410q10 -10 10 -22q0 -16 -31 -47t-47 -31q-12 0 -22 10l-410 410q-63 61 -63 149q0 82 57 139t139 57q88 0 149 -63l581 -581q100 -98 100 -235 z" />
210
- <glyph unicode="&#xf0c7;" d="M384 0h768v384h-768v-384zM1280 0h128v896q0 14 -10 38.5t-20 34.5l-281 281q-10 10 -34 20t-39 10v-416q0 -40 -28 -68t-68 -28h-576q-40 0 -68 28t-28 68v416h-128v-1280h128v416q0 40 28 68t68 28h832q40 0 68 -28t28 -68v-416zM896 928v320q0 13 -9.5 22.5t-22.5 9.5 h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5zM1536 896v-928q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h928q40 0 88 -20t76 -48l280 -280q28 -28 48 -76t20 -88z" />
211
- <glyph unicode="&#xf0c8;" d="M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
212
- <glyph unicode="&#xf0c9;" d="M1536 192v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 704v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 1216v-128q0 -26 -19 -45 t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
213
- <glyph unicode="&#xf0ca;" horiz-adv-x="1792" d="M384 128q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM384 640q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1152q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z M1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" />
214
- <glyph unicode="&#xf0cb;" horiz-adv-x="1792" d="M381 -84q0 -80 -54.5 -126t-135.5 -46q-106 0 -172 66l57 88q49 -45 106 -45q29 0 50.5 14.5t21.5 42.5q0 64 -105 56l-26 56q8 10 32.5 43.5t42.5 54t37 38.5v1q-16 0 -48.5 -1t-48.5 -1v-53h-106v152h333v-88l-95 -115q51 -12 81 -49t30 -88zM383 543v-159h-362 q-6 36 -6 54q0 51 23.5 93t56.5 68t66 47.5t56.5 43.5t23.5 45q0 25 -14.5 38.5t-39.5 13.5q-46 0 -81 -58l-85 59q24 51 71.5 79.5t105.5 28.5q73 0 123 -41.5t50 -112.5q0 -50 -34 -91.5t-75 -64.5t-75.5 -50.5t-35.5 -52.5h127v60h105zM1792 224v-192q0 -13 -9.5 -22.5 t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1123v-99h-335v99h107q0 41 0.5 122t0.5 121v12h-2q-8 -17 -50 -54l-71 76l136 127h106v-404h108zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5 t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" />
215
- <glyph unicode="&#xf0cc;" horiz-adv-x="1792" d="M1760 640q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1728q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h1728zM483 704q-28 35 -51 80q-48 97 -48 188q0 181 134 309q133 127 393 127q50 0 167 -19q66 -12 177 -48q10 -38 21 -118q14 -123 14 -183q0 -18 -5 -45l-12 -3l-84 6 l-14 2q-50 149 -103 205q-88 91 -210 91q-114 0 -182 -59q-67 -58 -67 -146q0 -73 66 -140t279 -129q69 -20 173 -66q58 -28 95 -52h-743zM990 448h411q7 -39 7 -92q0 -111 -41 -212q-23 -55 -71 -104q-37 -35 -109 -81q-80 -48 -153 -66q-80 -21 -203 -21q-114 0 -195 23 l-140 40q-57 16 -72 28q-8 8 -8 22v13q0 108 -2 156q-1 30 0 68l2 37v44l102 2q15 -34 30 -71t22.5 -56t12.5 -27q35 -57 80 -94q43 -36 105 -57q59 -22 132 -22q64 0 139 27q77 26 122 86q47 61 47 129q0 84 -81 157q-34 29 -137 71z" />
216
- <glyph unicode="&#xf0cd;" d="M48 1313q-37 2 -45 4l-3 88q13 1 40 1q60 0 112 -4q132 -7 166 -7q86 0 168 3q116 4 146 5q56 0 86 2l-1 -14l2 -64v-9q-60 -9 -124 -9q-60 0 -79 -25q-13 -14 -13 -132q0 -13 0.5 -32.5t0.5 -25.5l1 -229l14 -280q6 -124 51 -202q35 -59 96 -92q88 -47 177 -47 q104 0 191 28q56 18 99 51q48 36 65 64q36 56 53 114q21 73 21 229q0 79 -3.5 128t-11 122.5t-13.5 159.5l-4 59q-5 67 -24 88q-34 35 -77 34l-100 -2l-14 3l2 86h84l205 -10q76 -3 196 10l18 -2q6 -38 6 -51q0 -7 -4 -31q-45 -12 -84 -13q-73 -11 -79 -17q-15 -15 -15 -41 q0 -7 1.5 -27t1.5 -31q8 -19 22 -396q6 -195 -15 -304q-15 -76 -41 -122q-38 -65 -112 -123q-75 -57 -182 -89q-109 -33 -255 -33q-167 0 -284 46q-119 47 -179 122q-61 76 -83 195q-16 80 -16 237v333q0 188 -17 213q-25 36 -147 39zM1536 -96v64q0 14 -9 23t-23 9h-1472 q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h1472q14 0 23 9t9 23z" />
217
- <glyph unicode="&#xf0ce;" horiz-adv-x="1664" d="M512 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23 v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 160v192 q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192 q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1664 1248v-1088q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1344q66 0 113 -47t47 -113 z" />
218
- <glyph unicode="&#xf0d0;" horiz-adv-x="1664" d="M1190 955l293 293l-107 107l-293 -293zM1637 1248q0 -27 -18 -45l-1286 -1286q-18 -18 -45 -18t-45 18l-198 198q-18 18 -18 45t18 45l1286 1286q18 18 45 18t45 -18l198 -198q18 -18 18 -45zM286 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM636 1276 l196 -60l-196 -60l-60 -196l-60 196l-196 60l196 60l60 196zM1566 798l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM926 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98z" />
219
- <glyph unicode="&#xf0d1;" horiz-adv-x="1792" d="M640 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM256 640h384v256h-158q-13 0 -22 -9l-195 -195q-9 -9 -9 -22v-30zM1536 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM1792 1216v-1024q0 -15 -4 -26.5t-13.5 -18.5 t-16.5 -11.5t-23.5 -6t-22.5 -2t-25.5 0t-22.5 0.5q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-64q-3 0 -22.5 -0.5t-25.5 0t-22.5 2t-23.5 6t-16.5 11.5t-13.5 18.5t-4 26.5q0 26 19 45t45 19v320q0 8 -0.5 35t0 38 t2.5 34.5t6.5 37t14 30.5t22.5 30l198 198q19 19 50.5 32t58.5 13h160v192q0 26 19 45t45 19h1024q26 0 45 -19t19 -45z" />
220
- <glyph unicode="&#xf0d2;" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103q-111 0 -218 32q59 93 78 164q9 34 54 211q20 -39 73 -67.5t114 -28.5q121 0 216 68.5t147 188.5t52 270q0 114 -59.5 214t-172.5 163t-255 63q-105 0 -196 -29t-154.5 -77t-109 -110.5t-67 -129.5t-21.5 -134 q0 -104 40 -183t117 -111q30 -12 38 20q2 7 8 31t8 30q6 23 -11 43q-51 61 -51 151q0 151 104.5 259.5t273.5 108.5q151 0 235.5 -82t84.5 -213q0 -170 -68.5 -289t-175.5 -119q-61 0 -98 43.5t-23 104.5q8 35 26.5 93.5t30 103t11.5 75.5q0 50 -27 83t-77 33 q-62 0 -105 -57t-43 -142q0 -73 25 -122l-99 -418q-17 -70 -13 -177q-206 91 -333 281t-127 423q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
221
- <glyph unicode="&#xf0d3;" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-725q85 122 108 210q9 34 53 209q21 -39 73.5 -67t112.5 -28q181 0 295.5 147.5t114.5 373.5q0 84 -35 162.5t-96.5 139t-152.5 97t-197 36.5q-104 0 -194.5 -28.5t-153 -76.5 t-107.5 -109.5t-66.5 -128t-21.5 -132.5q0 -102 39.5 -180t116.5 -110q13 -5 23.5 0t14.5 19q10 44 15 61q6 23 -11 42q-50 62 -50 150q0 150 103.5 256.5t270.5 106.5q149 0 232.5 -81t83.5 -210q0 -168 -67.5 -286t-173.5 -118q-60 0 -97 43.5t-23 103.5q8 34 26.5 92.5 t29.5 102t11 74.5q0 49 -26.5 81.5t-75.5 32.5q-61 0 -103.5 -56.5t-42.5 -139.5q0 -72 24 -121l-98 -414q-24 -100 -7 -254h-183q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960z" />
222
- <glyph unicode="&#xf0d4;" d="M917 631q0 26 -6 64h-362v-132h217q-3 -24 -16.5 -50t-37.5 -53t-66.5 -44.5t-96.5 -17.5q-99 0 -169 71t-70 171t70 171t169 71q92 0 153 -59l104 101q-108 100 -257 100q-160 0 -272 -112.5t-112 -271.5t112 -271.5t272 -112.5q165 0 266.5 105t101.5 270zM1262 585 h109v110h-109v110h-110v-110h-110v-110h110v-110h110v110zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
223
- <glyph unicode="&#xf0d5;" horiz-adv-x="2304" d="M1437 623q0 -208 -87 -370.5t-248 -254t-369 -91.5q-149 0 -285 58t-234 156t-156 234t-58 285t58 285t156 234t234 156t285 58q286 0 491 -192l-199 -191q-117 113 -292 113q-123 0 -227.5 -62t-165.5 -168.5t-61 -232.5t61 -232.5t165.5 -168.5t227.5 -62 q83 0 152.5 23t114.5 57.5t78.5 78.5t49 83t21.5 74h-416v252h692q12 -63 12 -122zM2304 745v-210h-209v-209h-210v209h-209v210h209v209h210v-209h209z" />
224
- <glyph unicode="&#xf0d6;" horiz-adv-x="1920" d="M768 384h384v96h-128v448h-114l-148 -137l77 -80q42 37 55 57h2v-288h-128v-96zM1280 640q0 -70 -21 -142t-59.5 -134t-101.5 -101t-138 -39t-138 39t-101.5 101t-59.5 134t-21 142t21 142t59.5 134t101.5 101t138 39t138 -39t101.5 -101t59.5 -134t21 -142zM1792 384 v512q-106 0 -181 75t-75 181h-1152q0 -106 -75 -181t-181 -75v-512q106 0 181 -75t75 -181h1152q0 106 75 181t181 75zM1920 1216v-1152q0 -26 -19 -45t-45 -19h-1792q-26 0 -45 19t-19 45v1152q0 26 19 45t45 19h1792q26 0 45 -19t19 -45z" />
225
- <glyph unicode="&#xf0d7;" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" />
226
- <glyph unicode="&#xf0d8;" horiz-adv-x="1024" d="M1024 320q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
227
- <glyph unicode="&#xf0d9;" horiz-adv-x="640" d="M640 1088v-896q0 -26 -19 -45t-45 -19t-45 19l-448 448q-19 19 -19 45t19 45l448 448q19 19 45 19t45 -19t19 -45z" />
228
- <glyph unicode="&#xf0da;" horiz-adv-x="640" d="M576 640q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19t-19 45v896q0 26 19 45t45 19t45 -19l448 -448q19 -19 19 -45z" />
229
- <glyph unicode="&#xf0db;" horiz-adv-x="1664" d="M160 0h608v1152h-640v-1120q0 -13 9.5 -22.5t22.5 -9.5zM1536 32v1120h-640v-1152h608q13 0 22.5 9.5t9.5 22.5zM1664 1248v-1216q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1344q66 0 113 -47t47 -113z" />
230
- <glyph unicode="&#xf0dc;" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45zM1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
231
- <glyph unicode="&#xf0dd;" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" />
232
- <glyph unicode="&#xf0de;" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
233
- <glyph unicode="&#xf0e0;" horiz-adv-x="1792" d="M1792 826v-794q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v794q44 -49 101 -87q362 -246 497 -345q57 -42 92.5 -65.5t94.5 -48t110 -24.5h1h1q51 0 110 24.5t94.5 48t92.5 65.5q170 123 498 345q57 39 100 87zM1792 1120q0 -79 -49 -151t-122 -123 q-376 -261 -468 -325q-10 -7 -42.5 -30.5t-54 -38t-52 -32.5t-57.5 -27t-50 -9h-1h-1q-23 0 -50 9t-57.5 27t-52 32.5t-54 38t-42.5 30.5q-91 64 -262 182.5t-205 142.5q-62 42 -117 115.5t-55 136.5q0 78 41.5 130t118.5 52h1472q65 0 112.5 -47t47.5 -113z" />
234
- <glyph unicode="&#xf0e1;" d="M349 911v-991h-330v991h330zM370 1217q1 -73 -50.5 -122t-135.5 -49h-2q-82 0 -132 49t-50 122q0 74 51.5 122.5t134.5 48.5t133 -48.5t51 -122.5zM1536 488v-568h-329v530q0 105 -40.5 164.5t-126.5 59.5q-63 0 -105.5 -34.5t-63.5 -85.5q-11 -30 -11 -81v-553h-329 q2 399 2 647t-1 296l-1 48h329v-144h-2q20 32 41 56t56.5 52t87 43.5t114.5 15.5q171 0 275 -113.5t104 -332.5z" />
235
- <glyph unicode="&#xf0e2;" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5 t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298z" />
236
- <glyph unicode="&#xf0e3;" horiz-adv-x="1792" d="M1771 0q0 -53 -37 -90l-107 -108q-39 -37 -91 -37q-53 0 -90 37l-363 364q-38 36 -38 90q0 53 43 96l-256 256l-126 -126q-14 -14 -34 -14t-34 14q2 -2 12.5 -12t12.5 -13t10 -11.5t10 -13.5t6 -13.5t5.5 -16.5t1.5 -18q0 -38 -28 -68q-3 -3 -16.5 -18t-19 -20.5 t-18.5 -16.5t-22 -15.5t-22 -9t-26 -4.5q-40 0 -68 28l-408 408q-28 28 -28 68q0 13 4.5 26t9 22t15.5 22t16.5 18.5t20.5 19t18 16.5q30 28 68 28q10 0 18 -1.5t16.5 -5.5t13.5 -6t13.5 -10t11.5 -10t13 -12.5t12 -12.5q-14 14 -14 34t14 34l348 348q14 14 34 14t34 -14 q-2 2 -12.5 12t-12.5 13t-10 11.5t-10 13.5t-6 13.5t-5.5 16.5t-1.5 18q0 38 28 68q3 3 16.5 18t19 20.5t18.5 16.5t22 15.5t22 9t26 4.5q40 0 68 -28l408 -408q28 -28 28 -68q0 -13 -4.5 -26t-9 -22t-15.5 -22t-16.5 -18.5t-20.5 -19t-18 -16.5q-30 -28 -68 -28 q-10 0 -18 1.5t-16.5 5.5t-13.5 6t-13.5 10t-11.5 10t-13 12.5t-12 12.5q14 -14 14 -34t-14 -34l-126 -126l256 -256q43 43 96 43q52 0 91 -37l363 -363q37 -39 37 -91z" />
237
- <glyph unicode="&#xf0e4;" horiz-adv-x="1792" d="M384 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM576 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1004 351l101 382q6 26 -7.5 48.5t-38.5 29.5 t-48 -6.5t-30 -39.5l-101 -382q-60 -5 -107 -43.5t-63 -98.5q-20 -77 20 -146t117 -89t146 20t89 117q16 60 -6 117t-72 91zM1664 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 1024q0 53 -37.5 90.5 t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1472 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1792 384q0 -261 -141 -483q-19 -29 -54 -29h-1402q-35 0 -54 29 q-141 221 -141 483q0 182 71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
238
- <glyph unicode="&#xf0e5;" horiz-adv-x="1792" d="M896 1152q-204 0 -381.5 -69.5t-282 -187.5t-104.5 -255q0 -112 71.5 -213.5t201.5 -175.5l87 -50l-27 -96q-24 -91 -70 -172q152 63 275 171l43 38l57 -6q69 -8 130 -8q204 0 381.5 69.5t282 187.5t104.5 255t-104.5 255t-282 187.5t-381.5 69.5zM1792 640 q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22h-5q-15 0 -27 10.5t-16 27.5v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281q0 174 120 321.5 t326 233t450 85.5t450 -85.5t326 -233t120 -321.5z" />
239
- <glyph unicode="&#xf0e6;" horiz-adv-x="1792" d="M704 1152q-153 0 -286 -52t-211.5 -141t-78.5 -191q0 -82 53 -158t149 -132l97 -56l-35 -84q34 20 62 39l44 31l53 -10q78 -14 153 -14q153 0 286 52t211.5 141t78.5 191t-78.5 191t-211.5 141t-286 52zM704 1280q191 0 353.5 -68.5t256.5 -186.5t94 -257t-94 -257 t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224q0 139 94 257t256.5 186.5 t353.5 68.5zM1526 111q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129 q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230q0 -120 -71 -224.5t-195 -176.5z" />
240
- <glyph unicode="&#xf0e7;" horiz-adv-x="896" d="M885 970q18 -20 7 -44l-540 -1157q-13 -25 -42 -25q-4 0 -14 2q-17 5 -25.5 19t-4.5 30l197 808l-406 -101q-4 -1 -12 -1q-18 0 -31 11q-18 15 -13 39l201 825q4 14 16 23t28 9h328q19 0 32 -12.5t13 -29.5q0 -8 -5 -18l-171 -463l396 98q8 2 12 2q19 0 34 -15z" />
241
- <glyph unicode="&#xf0e8;" horiz-adv-x="1792" d="M1792 288v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192q0 52 38 90t90 38h512v192h-96q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-96v-192h512q52 0 90 -38t38 -90v-192h96q40 0 68 -28t28 -68 z" />
242
- <glyph unicode="&#xf0e9;" horiz-adv-x="1664" d="M896 708v-580q0 -104 -76 -180t-180 -76t-180 76t-76 180q0 26 19 45t45 19t45 -19t19 -45q0 -50 39 -89t89 -39t89 39t39 89v580q33 11 64 11t64 -11zM1664 681q0 -13 -9.5 -22.5t-22.5 -9.5q-11 0 -23 10q-49 46 -93 69t-102 23q-68 0 -128 -37t-103 -97 q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -28 -17q-18 0 -29 17q-4 6 -14.5 24t-17.5 28q-43 60 -102.5 97t-127.5 37t-127.5 -37t-102.5 -97q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -29 -17q-17 0 -28 17q-4 6 -14.5 24t-17.5 28q-43 60 -103 97t-128 37q-58 0 -102 -23t-93 -69 q-12 -10 -23 -10q-13 0 -22.5 9.5t-9.5 22.5q0 5 1 7q45 183 172.5 319.5t298 204.5t360.5 68q140 0 274.5 -40t246.5 -113.5t194.5 -187t115.5 -251.5q1 -2 1 -7zM896 1408v-98q-42 2 -64 2t-64 -2v98q0 26 19 45t45 19t45 -19t19 -45z" />
243
- <glyph unicode="&#xf0ea;" horiz-adv-x="1792" d="M768 -128h896v640h-416q-40 0 -68 28t-28 68v416h-384v-1152zM1024 1312v64q0 13 -9.5 22.5t-22.5 9.5h-704q-13 0 -22.5 -9.5t-9.5 -22.5v-64q0 -13 9.5 -22.5t22.5 -9.5h704q13 0 22.5 9.5t9.5 22.5zM1280 640h299l-299 299v-299zM1792 512v-672q0 -40 -28 -68t-68 -28 h-960q-40 0 -68 28t-28 68v160h-544q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h1088q40 0 68 -28t28 -68v-328q21 -13 36 -28l408 -408q28 -28 48 -76t20 -88z" />
244
- <glyph unicode="&#xf0eb;" horiz-adv-x="1024" d="M736 960q0 -13 -9.5 -22.5t-22.5 -9.5t-22.5 9.5t-9.5 22.5q0 46 -54 71t-106 25q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5q50 0 99.5 -16t87 -54t37.5 -90zM896 960q0 72 -34.5 134t-90 101.5t-123 62t-136.5 22.5t-136.5 -22.5t-123 -62t-90 -101.5t-34.5 -134 q0 -101 68 -180q10 -11 30.5 -33t30.5 -33q128 -153 141 -298h228q13 145 141 298q10 11 30.5 33t30.5 33q68 79 68 180zM1024 960q0 -155 -103 -268q-45 -49 -74.5 -87t-59.5 -95.5t-34 -107.5q47 -28 47 -82q0 -37 -25 -64q25 -27 25 -64q0 -52 -45 -81q13 -23 13 -47 q0 -46 -31.5 -71t-77.5 -25q-20 -44 -60 -70t-87 -26t-87 26t-60 70q-46 0 -77.5 25t-31.5 71q0 24 13 47q-45 29 -45 81q0 37 25 64q-25 27 -25 64q0 54 47 82q-4 50 -34 107.5t-59.5 95.5t-74.5 87q-103 113 -103 268q0 99 44.5 184.5t117 142t164 89t186.5 32.5 t186.5 -32.5t164 -89t117 -142t44.5 -184.5z" />
245
- <glyph unicode="&#xf0ec;" horiz-adv-x="1792" d="M1792 352v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5q-12 0 -24 10l-319 320q-9 9 -9 22q0 14 9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h1376q13 0 22.5 -9.5t9.5 -22.5zM1792 896q0 -14 -9 -23l-320 -320q-9 -9 -23 -9 q-13 0 -22.5 9.5t-9.5 22.5v192h-1376q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1376v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />
246
- <glyph unicode="&#xf0ed;" horiz-adv-x="1920" d="M1280 608q0 14 -9 23t-23 9h-224v352q0 13 -9.5 22.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-352h-224q-13 0 -22.5 -9.5t-9.5 -22.5q0 -14 9 -23l352 -352q9 -9 23 -9t23 9l351 351q10 12 10 24zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" />
247
- <glyph unicode="&#xf0ee;" horiz-adv-x="1920" d="M1280 672q0 14 -9 23l-352 352q-9 9 -23 9t-23 -9l-351 -351q-10 -12 -10 -24q0 -14 9 -23t23 -9h224v-352q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5v352h224q13 0 22.5 9.5t9.5 22.5zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" />
248
- <glyph unicode="&#xf0f0;" horiz-adv-x="1408" d="M384 192q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45t45 19t45 -19t19 -45zM1408 131q0 -121 -73 -190t-194 -69h-874q-121 0 -194 69t-73 190q0 68 5.5 131t24 138t47.5 132.5t81 103t120 60.5q-22 -52 -22 -120v-203q-58 -20 -93 -70t-35 -111q0 -80 56 -136t136 -56 t136 56t56 136q0 61 -35.5 111t-92.5 70v203q0 62 25 93q132 -104 295 -104t295 104q25 -31 25 -93v-64q-106 0 -181 -75t-75 -181v-89q-32 -29 -32 -71q0 -40 28 -68t68 -28t68 28t28 68q0 42 -32 71v89q0 52 38 90t90 38t90 -38t38 -90v-89q-32 -29 -32 -71q0 -40 28 -68 t68 -28t68 28t28 68q0 42 -32 71v89q0 68 -34.5 127.5t-93.5 93.5q0 10 0.5 42.5t0 48t-2.5 41.5t-7 47t-13 40q68 -15 120 -60.5t81 -103t47.5 -132.5t24 -138t5.5 -131zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5 t271.5 -112.5t112.5 -271.5z" />
249
- <glyph unicode="&#xf0f1;" horiz-adv-x="1408" d="M1280 832q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 832q0 -62 -35.5 -111t-92.5 -70v-395q0 -159 -131.5 -271.5t-316.5 -112.5t-316.5 112.5t-131.5 271.5v132q-164 20 -274 128t-110 252v512q0 26 19 45t45 19q6 0 16 -2q17 30 47 48 t65 18q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5q-33 0 -64 18v-402q0 -106 94 -181t226 -75t226 75t94 181v402q-31 -18 -64 -18q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5q35 0 65 -18t47 -48q10 2 16 2q26 0 45 -19t19 -45v-512q0 -144 -110 -252 t-274 -128v-132q0 -106 94 -181t226 -75t226 75t94 181v395q-57 21 -92.5 70t-35.5 111q0 80 56 136t136 56t136 -56t56 -136z" />
250
- <glyph unicode="&#xf0f2;" horiz-adv-x="1792" d="M640 1152h512v128h-512v-128zM288 1152v-1280h-64q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h64zM1408 1152v-1280h-1024v1280h128v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h128zM1792 928v-832q0 -92 -66 -158t-158 -66h-64v1280h64q92 0 158 -66 t66 -158z" />
251
- <glyph unicode="&#xf0f3;" horiz-adv-x="1792" d="M912 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM1728 128q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q50 42 91 88t85 119.5t74.5 158.5 t50 206t19.5 260q0 152 117 282.5t307 158.5q-8 19 -8 39q0 40 28 68t68 28t68 -28t28 -68q0 -20 -8 -39q190 -28 307 -158.5t117 -282.5q0 -139 19.5 -260t50 -206t74.5 -158.5t85 -119.5t91 -88z" />
252
- <glyph unicode="&#xf0f4;" horiz-adv-x="1920" d="M1664 896q0 80 -56 136t-136 56h-64v-384h64q80 0 136 56t56 136zM0 128h1792q0 -106 -75 -181t-181 -75h-1280q-106 0 -181 75t-75 181zM1856 896q0 -159 -112.5 -271.5t-271.5 -112.5h-64v-32q0 -92 -66 -158t-158 -66h-704q-92 0 -158 66t-66 158v736q0 26 19 45 t45 19h1152q159 0 271.5 -112.5t112.5 -271.5z" />
253
- <glyph unicode="&#xf0f5;" horiz-adv-x="1408" d="M640 1472v-640q0 -61 -35.5 -111t-92.5 -70v-779q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v779q-57 20 -92.5 70t-35.5 111v640q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45 t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45zM1408 1472v-1600q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v512h-224q-13 0 -22.5 9.5t-9.5 22.5v800q0 132 94 226t226 94h256q26 0 45 -19t19 -45z" />
254
- <glyph unicode="&#xf0f6;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z M384 736q0 14 9 23t23 9h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64zM1120 512q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704zM1120 256q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704 q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704z" />
255
- <glyph unicode="&#xf0f7;" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1536h-1152v-1536h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM1408 1472v-1664q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1664q0 26 19 45t45 19h1280q26 0 45 -19t19 -45z" />
256
- <glyph unicode="&#xf0f8;" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1152h-256v-32q0 -40 -28 -68t-68 -28h-448q-40 0 -68 28t-28 68v32h-256v-1152h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM896 1056v320q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-96h-128v96q0 13 -9.5 22.5 t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5v96h128v-96q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1408 1088v-1280q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1280q0 26 19 45t45 19h320 v288q0 40 28 68t68 28h448q40 0 68 -28t28 -68v-288h320q26 0 45 -19t19 -45z" />
257
- <glyph unicode="&#xf0f9;" horiz-adv-x="1920" d="M640 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM256 640h384v256h-158q-14 -2 -22 -9l-195 -195q-7 -12 -9 -22v-30zM1536 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1664 800v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM1920 1344v-1152 q0 -26 -19 -45t-45 -19h-192q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-128q-26 0 -45 19t-19 45t19 45t45 19v416q0 26 13 58t32 51l198 198q19 19 51 32t58 13h160v320q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
258
- <glyph unicode="&#xf0fa;" horiz-adv-x="1792" d="M1280 416v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM640 1152h512v128h-512v-128zM256 1152v-1280h-32 q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h32zM1440 1152v-1280h-1088v1280h160v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h160zM1792 928v-832q0 -92 -66 -158t-158 -66h-32v1280h32q92 0 158 -66t66 -158z" />
259
- <glyph unicode="&#xf0fb;" horiz-adv-x="1920" d="M1920 576q-1 -32 -288 -96l-352 -32l-224 -64h-64l-293 -352h69q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-96h-160h-64v32h64v416h-160l-192 -224h-96l-32 32v192h32v32h128v8l-192 24v128l192 24v8h-128v32h-32v192l32 32h96l192 -224h160v416h-64v32h64h160h96 q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-69l293 -352h64l224 -64l352 -32q261 -58 287 -93z" />
260
- <glyph unicode="&#xf0fc;" horiz-adv-x="1664" d="M640 640v384h-256v-256q0 -53 37.5 -90.5t90.5 -37.5h128zM1664 192v-192h-1152v192l128 192h-128q-159 0 -271.5 112.5t-112.5 271.5v320l-64 64l32 128h480l32 128h960l32 -192l-64 -32v-800z" />
261
- <glyph unicode="&#xf0fd;" d="M1280 192v896q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-512v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-896q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h512v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
262
- <glyph unicode="&#xf0fe;" d="M1280 576v128q0 26 -19 45t-45 19h-320v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-320q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h320v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h320q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
263
- <glyph unicode="&#xf100;" horiz-adv-x="1024" d="M627 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23zM1011 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23z" />
264
- <glyph unicode="&#xf101;" horiz-adv-x="1024" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM979 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23 l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
265
- <glyph unicode="&#xf102;" horiz-adv-x="1152" d="M1075 224q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM1075 608q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393 q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
266
- <glyph unicode="&#xf103;" horiz-adv-x="1152" d="M1075 672q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23zM1075 1056q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
267
- <glyph unicode="&#xf104;" horiz-adv-x="640" d="M627 992q0 -13 -10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
268
- <glyph unicode="&#xf105;" horiz-adv-x="640" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
269
- <glyph unicode="&#xf106;" horiz-adv-x="1152" d="M1075 352q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
270
- <glyph unicode="&#xf107;" horiz-adv-x="1152" d="M1075 800q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
271
- <glyph unicode="&#xf108;" horiz-adv-x="1920" d="M1792 544v832q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5zM1920 1376v-1088q0 -66 -47 -113t-113 -47h-544q0 -37 16 -77.5t32 -71t16 -43.5q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19 t-19 45q0 14 16 44t32 70t16 78h-544q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
272
- <glyph unicode="&#xf109;" horiz-adv-x="1920" d="M416 256q-66 0 -113 47t-47 113v704q0 66 47 113t113 47h1088q66 0 113 -47t47 -113v-704q0 -66 -47 -113t-113 -47h-1088zM384 1120v-704q0 -13 9.5 -22.5t22.5 -9.5h1088q13 0 22.5 9.5t9.5 22.5v704q0 13 -9.5 22.5t-22.5 9.5h-1088q-13 0 -22.5 -9.5t-9.5 -22.5z M1760 192h160v-96q0 -40 -47 -68t-113 -28h-1600q-66 0 -113 28t-47 68v96h160h1600zM1040 96q16 0 16 16t-16 16h-160q-16 0 -16 -16t16 -16h160z" />
273
- <glyph unicode="&#xf10a;" horiz-adv-x="1152" d="M640 128q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1024 288v960q0 13 -9.5 22.5t-22.5 9.5h-832q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h832q13 0 22.5 9.5t9.5 22.5zM1152 1248v-1088q0 -66 -47 -113t-113 -47h-832 q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h832q66 0 113 -47t47 -113z" />
274
- <glyph unicode="&#xf10b;" horiz-adv-x="768" d="M464 128q0 33 -23.5 56.5t-56.5 23.5t-56.5 -23.5t-23.5 -56.5t23.5 -56.5t56.5 -23.5t56.5 23.5t23.5 56.5zM672 288v704q0 13 -9.5 22.5t-22.5 9.5h-512q-13 0 -22.5 -9.5t-9.5 -22.5v-704q0 -13 9.5 -22.5t22.5 -9.5h512q13 0 22.5 9.5t9.5 22.5zM480 1136 q0 16 -16 16h-160q-16 0 -16 -16t16 -16h160q16 0 16 16zM768 1152v-1024q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v1024q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
275
- <glyph unicode="&#xf10c;" d="M768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103 t279.5 -279.5t103 -385.5z" />
276
- <glyph unicode="&#xf10d;" horiz-adv-x="1664" d="M768 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z M1664 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z" />
277
- <glyph unicode="&#xf10e;" horiz-adv-x="1664" d="M768 1216v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136zM1664 1216 v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136z" />
278
- <glyph unicode="&#xf110;" horiz-adv-x="1792" d="M526 142q0 -53 -37.5 -90.5t-90.5 -37.5q-52 0 -90 38t-38 90q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1024 -64q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM320 640q0 -53 -37.5 -90.5t-90.5 -37.5 t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1522 142q0 -52 -38 -90t-90 -38q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM558 1138q0 -66 -47 -113t-113 -47t-113 47t-47 113t47 113t113 47t113 -47t47 -113z M1728 640q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1088 1344q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1618 1138q0 -93 -66 -158.5t-158 -65.5q-93 0 -158.5 65.5t-65.5 158.5 q0 92 65.5 158t158.5 66q92 0 158 -66t66 -158z" />
279
- <glyph unicode="&#xf111;" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
280
- <glyph unicode="&#xf112;" horiz-adv-x="1792" d="M1792 416q0 -166 -127 -451q-3 -7 -10.5 -24t-13.5 -30t-13 -22q-12 -17 -28 -17q-15 0 -23.5 10t-8.5 25q0 9 2.5 26.5t2.5 23.5q5 68 5 123q0 101 -17.5 181t-48.5 138.5t-80 101t-105.5 69.5t-133 42.5t-154 21.5t-175.5 6h-224v-256q0 -26 -19 -45t-45 -19t-45 19 l-512 512q-19 19 -19 45t19 45l512 512q19 19 45 19t45 -19t19 -45v-256h224q713 0 875 -403q53 -134 53 -333z" />
281
- <glyph unicode="&#xf113;" horiz-adv-x="1664" d="M640 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1280 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1440 320 q0 120 -69 204t-187 84q-41 0 -195 -21q-71 -11 -157 -11t-157 11q-152 21 -195 21q-118 0 -187 -84t-69 -204q0 -88 32 -153.5t81 -103t122 -60t140 -29.5t149 -7h168q82 0 149 7t140 29.5t122 60t81 103t32 153.5zM1664 496q0 -207 -61 -331q-38 -77 -105.5 -133t-141 -86 t-170 -47.5t-171.5 -22t-167 -4.5q-78 0 -142 3t-147.5 12.5t-152.5 30t-137 51.5t-121 81t-86 115q-62 123 -62 331q0 237 136 396q-27 82 -27 170q0 116 51 218q108 0 190 -39.5t189 -123.5q147 35 309 35q148 0 280 -32q105 82 187 121t189 39q51 -102 51 -218 q0 -87 -27 -168q136 -160 136 -398z" />
282
- <glyph unicode="&#xf114;" horiz-adv-x="1664" d="M1536 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68v-960q0 -40 28 -68t68 -28h1216q40 0 68 28t28 68zM1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320 q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />
283
- <glyph unicode="&#xf115;" horiz-adv-x="1920" d="M1781 605q0 35 -53 35h-1088q-40 0 -85.5 -21.5t-71.5 -52.5l-294 -363q-18 -24 -18 -40q0 -35 53 -35h1088q40 0 86 22t71 53l294 363q18 22 18 39zM640 768h768v160q0 40 -28 68t-68 28h-576q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68 v-853l256 315q44 53 116 87.5t140 34.5zM1909 605q0 -62 -46 -120l-295 -363q-43 -53 -116 -87.5t-140 -34.5h-1088q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158v-160h192q54 0 99 -24.5t67 -70.5q15 -32 15 -68z " />
284
- <glyph unicode="&#xf116;" horiz-adv-x="1792" />
285
- <glyph unicode="&#xf117;" horiz-adv-x="1792" />
286
- <glyph unicode="&#xf118;" d="M1134 461q-37 -121 -138 -195t-228 -74t-228 74t-138 195q-8 25 4 48.5t38 31.5q25 8 48.5 -4t31.5 -38q25 -80 92.5 -129.5t151.5 -49.5t151.5 49.5t92.5 129.5q8 26 32 38t49 4t37 -31.5t4 -48.5zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5 t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5 t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
287
- <glyph unicode="&#xf119;" d="M1134 307q8 -25 -4 -48.5t-37 -31.5t-49 4t-32 38q-25 80 -92.5 129.5t-151.5 49.5t-151.5 -49.5t-92.5 -129.5q-8 -26 -31.5 -38t-48.5 -4q-26 8 -38 31.5t-4 48.5q37 121 138 195t228 74t228 -74t138 -195zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204 t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
288
- <glyph unicode="&#xf11a;" d="M1152 448q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h640q26 0 45 -19t19 -45zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
289
- <glyph u