Version Description
=
- Fixed issues (sanitized,escaped).
Step by step guide
Logo
- Show logo - Choose to show or hide your logo.
- Logo - Click "Upload" button to upload your logo.
- Logo position - Here you can choose your logo position(Left, Center, Right).
- Distance from top - Type here your logo distance from top.
- Logo Animation type - Choose animation type for your logo.
- Animation waiting time - Type here waiting time for Logo animation(in milliseconds).
- Logo max width - Type here your website logo maximum width.
- Logo max height - Type here your website logo maximum height.
Title
- Show title - Choose to show or hide your Title.
- Title - Type here the Title.
- Title color - Select the title color.
- Title Font Size - Type here title font size.
- Title Font family - Choose the font family for title.
- Title position - Choose Title position(Left, Center, Right).
- Distance from top - Type here Title field distance from top.
- Title Animation type - Choose animation type for Title.
- Animation waiting time - Type here Title animation waiting time(in milliseconds).
Message
- Show Message - Choose to show or hide Message box.
- Message - Type here message for under construction page(you can use WordPress posts/pages default editor).
- Message position - Choose position for Message box(Left, Center, Right).
- Distance from top - Type here Message box distance from top.
- Message Animation type - Choose animation type for Message box.
- Animation waiting time - Type here waiting time for Message box animation(in milliseconds).
Countdown
- Show/hide - Choose to show or hide.
- Text for Day field - Type here default text for Day field.
- Text for Hour field - Type here default text for Hour field.
- Text for Minute field - Type here default text for Minute field.
- Text for Second field - Type here default text for Second field.
- Countdown date - Type here the Countdown time(days, hour), then select the Countdown start date.
- After Countdown expired - Choose what will happens with Under construction page when Countdown expired(Disable coming soon or only hide Countdown).
- Position - Choose the position(Left, Center, Right).
- Distance from top - Type here the distance from top.
- Animation type - Choose animation type.
- Animation waiting time - Type here waiting time for animation(in milliseconds).
- Buttons type - Choose the buttons type(button, circle, vertical slider)
- Text color - Select the text color.
- Background color - Select the background color.
- Border radius - Type here the buttons border radius.
- Size - Select the size.
- Border width - Select the border width for circle buttons(only appears when you choose Countdown circle buttons).
- Font-size - Type here the countdown text font-size.
- Font family - Select the text Font family.
Progress bar
- Show Progress bar - Choose to show or hide Progress bar.
- Progress bar percentage - Here you can select Progress bar percentage.
- Width - Type here Progress bar width.
- Progress bar position - Choose position for Progress bar(Left, Center, Right).
- Distance from top - Type here Progress bar distance from top.
- Progress bar load color - Select progress bar load color.
- Border color - Select Progress bar border color.
- Border width - Choose progress bar border width.
- Border radius - Choose progress bar border radius.
- Animation type - Choose animation type for Progress bar.
- Animation waiting time - Type here waiting time for Progress bar animation(in milliseconds).
Subscribe (Mailing list)
- Show the Form - Choose to show or hide Subscribe Form.
- User First name text - Type here text for user first name field.
- User Last name text - Type here text for user last name field.
- Email field text - Type here text for email field.
- Send button text - Type here the Send button text.
- Success email text - Type here the text that will appear after users submit the correct email.
- Existing email text - Type here the text that will appear after users type already submitted email.
- Blank email field text - Type here the text that will appear after users submit a blank field.
- Invalid email text - Type here the text that will appear after users submit invalid email.
- Subscribe Form position - Choose position for Subscribe Form(Left, Center, Right).
- Distance from top - Type here Subscribe Form distance from top.
- Font Size - Type here font size for all texts in Subscribe Form.
- Email field border radius - Type here border radius for email field.
- Input max width - Type here max with for input field.
- Font family - Type here font family for all texts in Subscribe Form.
- Input field border color - Select the input field border color.
- Placeholder text color - Select default text color for input fields.
- Send button bg color - Select the send button background color.
- Send button text color - Select the send button text color.
- Input field text color - Select the input field text color.
- After submit text color - Select color of the text, that will appear after submit.
- Animation type - Choose animation type for Subscribe Form.
- Animation waiting time - Type here waiting time for Subscribe Form animation(in milliseconds).
Social buttons
- Show social buttons - Choose to show or hide social buttons.
- Facebook url - Type here Facebook url.
- Facebook img url - Type here Facebook icon url or upload it.
- Twitter url - Type here Twitter url.
- Twitter img url - Type here Twitter icon url or upload it.
- YouTube url - Type here YouTube url.
- YouTube img url - Type here YouTube icon url or upload it.
- Instagram url - Type here Instagram url.
- Instagram img url - Type here Instagram icon url or upload it.
- Social buttons position - Choose position for Social buttons(Left, Center, Right).
- Distance from top - Type here Social buttons distance from top.
- Animation type - Choose animation type for Social buttons.
- Animation waiting time - Type here waiting time for Social buttons animation(in milliseconds).
- Social buttons max width - Type here maximum width for Social buttons.
- Social buttons max height - Type here maximum height for Social buttons.
Link To Admin
- Show - Choose to show or hide Link To Admin.
- Link To Admin text - Type here Link To Admin text.
- Text color - Choose text color.
- Font Size - Type here text Font Size.
- Font family - Select Font family for Link To Admin.
- Link To Admin position - Choose position for Link To Admin(Left, Center, Right).
- Distance from top - Type here Link To Admin distance from top.
- Animation type - Choose animation type for Link To Admin.
- Animation waiting time - Type here waiting time for Link To Admin animation(in milliseconds).
Content
- Content position - Choose content position(Left top, Left middle, Left bottom, Center top, Center middle, Center bottom, Right top, Right middle, Right bottom).
- Content bg color - Select content background color.
- Content transparency - Select transparency for content.
- Border radius - Type here border radius for content.
- Content max width - Type here content maximum width.
- Padding - Type here content padding value(padding properties define the space between the element border and the element content).
- Margin - Type here content margin value(margin properties define the space around elements).
- Elements ordering - Choose the order of showing elements(you can move all elements using drop down functionality).
Background
- Background type - Select the background type you want to use.
- Set color - Select the background color(option will appear if you choose "Background color" type).
- Img url - Type the image url or just upload images for background(option will appear if you choose "Background image" type).
- Slider img urls - Type the image urls or just upload images for Background Slider(option will appear if you choose "Background Slider" type).
- YouTube video id - Type YouTube video Id, for example if YouTube video full url is "https://www.youtube.com/watch?v=0AqnCSdkjQ0", then you just need to type here "0AqnCSdkjQ0" (option will appear if you choose "YouTube Background" type).
- Video Sound - Choose mute or unmute background video(option will appear if you choose "YouTube Background" type).
Except pages and IPs
- Disable the plugin for this ips - You can disable the plugin for this ips, just type the ip and click anywhere, then type the next ip in next field that will appear.
- Disable the plugin for this urls - You can disable the plugin for this urls, just type the url and click anywhere, then type the next url in next field that will appear.
Search engine and Favicon
- Title(SEO) - Type here the Title for Search engines(It will be visible for search engines).
- Favicon - Here you can upload favicon.
- Enable Search Robots - Here you can enable or disable coming soon page for search robots(If you disable this option then your website will disappear from search engines).
- Meta Keywords - Type here meta keywords.
- Meta Description - Type here meta description.
Subscribers page
On this page you can view subscribed users emails. You can copy emails list and send emails using Gmail or other email services. You can remove emails from email list as well.
Send Mail all subscribed Users - Send Mail to all subscribed Users All fields are required - All fields are required
- Your display Email - Type here the Display Email address, your users will see it when you send them email.
- Your display Name - Type here name(company or website name) that your users will see when you send them email.
- Message title - Type here message title.
- Message - Type here message text.
All fields required, so fill all fields and click on send button, that's all.
Download this release
Release Info
Developer | wpdevart |
Plugin | Coming soon and Maintenance mode |
Version | 3.5.5 |
Comparing to | |
See all releases |
Code changes from version 3.5.4 to 3.5.5
- coming_soon.php +60 -64
- includes/admin_menu.php +2090 -2065
- includes/front_end.php +18 -18
- readme.txt +5 -1
coming_soon.php
CHANGED
@@ -1,110 +1,106 @@
|
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
* Plugin Name: Coming soon and Maintenance mode WpDevArt
|
4 |
* Plugin URI: https://wpdevart.com/wordpress-coming-soon-plugin/
|
5 |
* Author URI: https://wpdevart.com
|
6 |
* Description: Coming soon and Maintenance mode plugin is awesome tool to show your users that you are working on your website to make it better. Our coming soon plugin is the best way to create better coming soon page.
|
7 |
-
* Version: 3.5.
|
8 |
* Author: wpdevart
|
9 |
* License: GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
*/
|
11 |
-
|
12 |
-
|
13 |
-
class coming_soon_main{
|
14 |
// required variables
|
15 |
-
|
16 |
private $coming_soon_plugin_url;
|
17 |
-
|
18 |
private $coming_soon_plugin_path;
|
19 |
-
|
20 |
private $coming_soon_version;
|
21 |
-
|
22 |
public $coming_soon_options;
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
function __construct(){
|
27 |
//Create variables for the class
|
28 |
-
$this->coming_soon_plugin_url = trailingslashit(
|
29 |
-
$this->coming_soon_plugin_path = trailingslashit(
|
30 |
-
$this->coming_soon_version = 1.0;
|
31 |
$this->call_base_filters(); //Function for the main filters (hooks)
|
32 |
$this->install_databese(); //Database function
|
33 |
$this->create_admin_menu(); //Function for creating the admin menu
|
34 |
$this->coming_soon_front_end(); //Function responsible for front-end
|
35 |
-
|
36 |
}
|
37 |
|
38 |
-
|
39 |
-
|
40 |
-
public function create_admin_menu(){
|
41 |
//
|
42 |
-
define("wpdevart_comingsoon_support_url","https://wordpress.org/support/plugin/coming-soon-page");
|
43 |
// Registration of file that is responsible for admin menu
|
44 |
-
require_once($this->coming_soon_plugin_path.'includes/admin_menu.php');
|
45 |
// Creation of admin menu object type
|
46 |
-
$coming_soon_admin_menu = new coming_soon_admin_menu(array('menu_name' => 'Coming Soon','databese_parametrs'
|
47 |
//Hook that should connect admin menu with class
|
48 |
-
add_action('admin_menu', array($coming_soon_admin_menu,'create_menu'));
|
49 |
-
|
50 |
}
|
51 |
|
52 |
-
|
53 |
-
|
54 |
-
public function install_databese(){
|
55 |
//registration of file that is responsible for database
|
56 |
-
require_once($this->coming_soon_plugin_path.'includes/install_database.php');
|
57 |
//Creation of database object type
|
58 |
$coming_install_database = new install_database();
|
59 |
//Creation of database
|
60 |
$this->coming_soon_options = $coming_install_database->installed_options;
|
61 |
-
|
62 |
}
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
public function coming_soon_front_end(){
|
67 |
//Registration of file that is responsible for front-end part
|
68 |
-
require_once($this->coming_soon_plugin_path.'includes/front_end.php');
|
69 |
//Creation of front-end object type
|
70 |
-
$coming_soon_front_end = new coming_soon_front_end(array('menu_name' => 'Coming Soon Page','databese_parametrs'
|
71 |
//hook that connect frontend with class
|
72 |
-
add_action(
|
73 |
}
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
public function registr_requeried_scripts(){
|
78 |
//Registration of plugin necessary scripts and styles
|
79 |
-
wp_register_script('coming-soon-script'
|
80 |
-
wp_register_script('angularejs'
|
81 |
-
wp_register_script('coming-soon-script-admin'
|
82 |
-
wp_register_style('jquery-ui-style'
|
83 |
-
wp_register_style('coming-soon-admin-style'
|
84 |
-
wp_register_style('coming-soon-style'
|
85 |
-
|
86 |
}
|
87 |
-
|
88 |
-
/*############ Call base filters function ################*/
|
89 |
|
90 |
-
|
91 |
-
|
|
|
|
|
92 |
//for_upgrade
|
93 |
-
add_filter(
|
94 |
}
|
95 |
|
96 |
-
|
97 |
-
|
98 |
-
public function plugin_activate_sublink($links){
|
99 |
-
$plugin_submenu_added_link=array();
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
$plugin_submenu_added_link=array_merge(
|
104 |
-
$plugin_submenu_added_link=array_merge(
|
105 |
return $plugin_submenu_added_link;
|
106 |
}
|
107 |
}
|
108 |
-
$cooming_soon = new coming_soon_main(); // main object creation part
|
109 |
-
|
110 |
-
?>
|
1 |
<?php
|
2 |
+
|
3 |
/**
|
4 |
* Plugin Name: Coming soon and Maintenance mode WpDevArt
|
5 |
* Plugin URI: https://wpdevart.com/wordpress-coming-soon-plugin/
|
6 |
* Author URI: https://wpdevart.com
|
7 |
* Description: Coming soon and Maintenance mode plugin is awesome tool to show your users that you are working on your website to make it better. Our coming soon plugin is the best way to create better coming soon page.
|
8 |
+
* Version: 3.5.5
|
9 |
* Author: wpdevart
|
10 |
* License: GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
*/
|
12 |
+
|
13 |
+
// main Class
|
14 |
+
class coming_soon_main {
|
15 |
// required variables
|
16 |
+
|
17 |
private $coming_soon_plugin_url;
|
18 |
+
|
19 |
private $coming_soon_plugin_path;
|
20 |
+
|
21 |
private $coming_soon_version;
|
22 |
+
|
23 |
public $coming_soon_options;
|
24 |
+
|
25 |
+
/*############ Construct function ################*/
|
26 |
+
|
27 |
+
function __construct() {
|
28 |
//Create variables for the class
|
29 |
+
$this->coming_soon_plugin_url = trailingslashit(plugins_url('', __FILE__));
|
30 |
+
$this->coming_soon_plugin_path = trailingslashit(plugin_dir_path(__FILE__));
|
31 |
+
$this->coming_soon_version = 1.0;
|
32 |
$this->call_base_filters(); //Function for the main filters (hooks)
|
33 |
$this->install_databese(); //Database function
|
34 |
$this->create_admin_menu(); //Function for creating the admin menu
|
35 |
$this->coming_soon_front_end(); //Function responsible for front-end
|
36 |
+
|
37 |
}
|
38 |
|
39 |
+
/*############ Admin menu function ################*/
|
40 |
+
|
41 |
+
public function create_admin_menu() {
|
42 |
//
|
43 |
+
define("wpdevart_comingsoon_support_url", "https://wordpress.org/support/plugin/coming-soon-page");
|
44 |
// Registration of file that is responsible for admin menu
|
45 |
+
require_once($this->coming_soon_plugin_path . 'includes/admin_menu.php');
|
46 |
// Creation of admin menu object type
|
47 |
+
$coming_soon_admin_menu = new coming_soon_admin_menu(array('menu_name' => 'Coming Soon', 'databese_parametrs' => $this->coming_soon_options));
|
48 |
//Hook that should connect admin menu with class
|
49 |
+
add_action('admin_menu', array($coming_soon_admin_menu, 'create_menu'));
|
|
|
50 |
}
|
51 |
|
52 |
+
/*############ Install database function ################*/
|
53 |
+
|
54 |
+
public function install_databese() {
|
55 |
//registration of file that is responsible for database
|
56 |
+
require_once($this->coming_soon_plugin_path . 'includes/install_database.php');
|
57 |
//Creation of database object type
|
58 |
$coming_install_database = new install_database();
|
59 |
//Creation of database
|
60 |
$this->coming_soon_options = $coming_install_database->installed_options;
|
|
|
61 |
}
|
62 |
+
|
63 |
+
/*############ Front-end function ################*/
|
64 |
+
|
65 |
+
public function coming_soon_front_end() {
|
66 |
//Registration of file that is responsible for front-end part
|
67 |
+
require_once($this->coming_soon_plugin_path . 'includes/front_end.php');
|
68 |
//Creation of front-end object type
|
69 |
+
$coming_soon_front_end = new coming_soon_front_end(array('menu_name' => 'Coming Soon Page', 'databese_parametrs' => $this->coming_soon_options));
|
70 |
//hook that connect frontend with class
|
71 |
+
add_action('template_redirect', array($coming_soon_front_end, 'create_fornt_end'));
|
72 |
}
|
73 |
+
|
74 |
+
/*############ Register Required scripts function ################*/
|
75 |
+
|
76 |
+
public function registr_requeried_scripts() {
|
77 |
//Registration of plugin necessary scripts and styles
|
78 |
+
wp_register_script('coming-soon-script', $this->coming_soon_plugin_url . 'includes/javascript/front_end_js.js');
|
79 |
+
wp_register_script('angularejs', $this->coming_soon_plugin_url . 'includes/javascript/angular.min.js');
|
80 |
+
wp_register_script('coming-soon-script-admin', $this->coming_soon_plugin_url . 'includes/javascript/admin_coming_soon.js');
|
81 |
+
wp_register_style('jquery-ui-style', $this->coming_soon_plugin_url . 'includes/style/jquery-ui-style.css');
|
82 |
+
wp_register_style('coming-soon-admin-style', $this->coming_soon_plugin_url . 'includes/style/admin-style.css');
|
83 |
+
wp_register_style('coming-soon-style', $this->coming_soon_plugin_url . 'includes/style/style.css');
|
|
|
84 |
}
|
|
|
|
|
85 |
|
86 |
+
/*############ Call base filters function ################*/
|
87 |
+
|
88 |
+
public function call_base_filters() {
|
89 |
+
add_action('init', array($this, 'registr_requeried_scripts'));
|
90 |
//for_upgrade
|
91 |
+
add_filter('plugin_action_links_' . plugin_basename(__FILE__), array($this, 'plugin_activate_sublink'));
|
92 |
}
|
93 |
|
94 |
+
/*############ Sub-link activate function ################*/
|
95 |
+
|
96 |
+
public function plugin_activate_sublink($links) {
|
97 |
+
$plugin_submenu_added_link = array();
|
98 |
+
$added_link = array(
|
99 |
+
'<a target="_blank" style="color: #7052fb; font-weight: bold; font-size: 13px;" href="http://wpdevart.com/wordpress-coming-soon-plugin">Upgrade to Pro</a>',
|
100 |
+
);
|
101 |
+
$plugin_submenu_added_link = array_merge($plugin_submenu_added_link, $added_link);
|
102 |
+
$plugin_submenu_added_link = array_merge($plugin_submenu_added_link, $links);
|
103 |
return $plugin_submenu_added_link;
|
104 |
}
|
105 |
}
|
106 |
+
$cooming_soon = new coming_soon_main(); // main object creation part
|
|
|
|
includes/admin_menu.php
CHANGED
@@ -1,2323 +1,2348 @@
|
|
1 |
-
<?php
|
2 |
|
3 |
/*############ Admin Menu Class ################*/
|
4 |
|
5 |
-
class coming_soon_admin_menu{
|
6 |
-
|
7 |
private $menu_name;
|
8 |
private $databese_parametrs;
|
9 |
private $plugin_url;
|
10 |
private $text_parametrs;
|
11 |
|
12 |
-
/*############ Construct function ################*/
|
13 |
-
|
14 |
-
function __construct($param){
|
15 |
-
|
16 |
-
$this->text_parametrs=array(
|
17 |
-
'parametrs_sucsses_saved'=>'Successfully saved.',
|
18 |
-
'error_in_saving'=>'can\'t save "%s" plugin parameter<br>',
|
19 |
-
'missing_title'=>'Type Message Title',
|
20 |
-
'missing_fromname'=>'Type From Name',
|
21 |
-
'missing_frommail'=>'Type From mail',
|
22 |
-
'mising_massage'=>'Type Message',
|
23 |
-
'sucsses_mailed'=>'Your message was sent successfully.',
|
24 |
-
'error_maied'=>'error sending email',
|
25 |
'authorize_problem' => 'Authorization Problem'
|
26 |
-
|
27 |
-
);
|
28 |
-
|
29 |
-
$this->menu_name
|
30 |
-
$this->databese_parametrs
|
31 |
-
if(isset($params['plugin_url']))
|
32 |
-
$this->plugin_url
|
33 |
else
|
34 |
-
$this->plugin_url=trailingslashit(dirname(plugins_url('',__FILE__)));
|
35 |
|
36 |
-
add_action(
|
37 |
-
add_action(
|
38 |
}
|
39 |
|
40 |
-
/*############ Create menu function ################*/
|
41 |
-
|
42 |
-
public function create_menu(){
|
43 |
global $submenu;
|
44 |
-
$sub_men_cap=str_replace(
|
45 |
-
$main_page = add_menu_page(
|
46 |
-
$page_coming_soon = add_submenu_page(
|
47 |
-
$page_coming_soon = add_submenu_page(
|
48 |
-
$page_featured = add_submenu_page(
|
49 |
-
add_action('admin_print_styles-'
|
50 |
-
add_action('admin_print_styles-'
|
51 |
-
add_action('admin_print_styles-'
|
52 |
-
if(isset($submenu[$sub_men_cap]))
|
53 |
-
add_submenu_page(
|
54 |
-
if(isset($submenu[$sub_men_cap]))
|
55 |
-
$submenu[$sub_men_cap][3][2]=wpdevart_comingsoon_support_url;
|
56 |
}
|
57 |
-
public function any_ideas(){
|
58 |
-
|
59 |
}
|
60 |
|
61 |
-
/*############ Menu required scripts function ################*/
|
62 |
-
|
63 |
-
public function menu_requeried_scripts(){
|
64 |
-
wp_enqueue_script('wp-color-picker');
|
65 |
-
wp_enqueue_style(
|
66 |
wp_enqueue_script('jquery-ui-sortable');
|
67 |
wp_enqueue_script('angularejs');
|
68 |
-
wp_enqueue_script(
|
69 |
-
wp_enqueue_script(
|
70 |
wp_enqueue_style('jquery-ui-style');
|
71 |
-
wp_enqueue_script(
|
72 |
wp_enqueue_style('coming-soon-admin-style');
|
73 |
-
|
74 |
wp_enqueue_media();
|
75 |
}
|
76 |
-
|
77 |
-
/*############ Function for generating parameters ################*/
|
78 |
-
|
79 |
-
private function generete_parametrs($page_name){
|
80 |
-
$page_parametrs=array();
|
81 |
-
if(isset($this->databese_parametrs[$page_name])){
|
82 |
-
foreach($this->databese_parametrs[$page_name] as $key => $value){
|
83 |
-
$page_parametrs[$key]=get_option($key
|
84 |
}
|
85 |
return $page_parametrs;
|
86 |
}
|
87 |
return NULL;
|
88 |
-
|
89 |
}
|
90 |
-
|
91 |
-
/*############ Database function ################*/
|
92 |
-
|
93 |
-
public function save_in_databese(){
|
94 |
-
$kk=1;
|
95 |
-
|
96 |
-
if(isset($_POST['coming_soon_options_nonce']) && wp_verify_nonce( $_POST['coming_soon_options_nonce'],'coming_soon_options_nonce')){
|
97 |
$curent_page = sanitize_text_field($_POST['curent_page']);
|
98 |
-
foreach($this->databese_parametrs[$_POST['curent_page']] as $key => $value){
|
99 |
-
if(isset($_POST[$key])){
|
100 |
-
if(strpos($key, 'message') !== false){
|
101 |
$sanitize_post = wp_kses_post($_POST[$key]);
|
102 |
-
}else{
|
103 |
$sanitize_post = sanitize_text_field($_POST[$key]);
|
104 |
-
}
|
105 |
-
update_option($key,stripslashes_deep($sanitize_post));
|
106 |
-
}else{
|
107 |
-
$kk=0;
|
108 |
-
printf($this->text_parametrs['error_in_saving']
|
109 |
}
|
110 |
-
}
|
111 |
-
}
|
112 |
-
|
113 |
-
die($this->text_parametrs['authorize_problem']);
|
114 |
}
|
115 |
-
if($kk==0){
|
116 |
exit;
|
117 |
}
|
118 |
-
die($this->text_parametrs['parametrs_sucsses_saved']);
|
119 |
}
|
120 |
-
|
121 |
-
/*############ Main menu function ################*/
|
122 |
-
|
123 |
-
public function main_menu_function(){
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
<div class="wpdevart_plugins_header div-for-clear">
|
134 |
<div class="wpdevart_plugins_get_pro div-for-clear">
|
135 |
<div class="wpdevart_plugins_get_pro_info">
|
136 |
<h3>WpDevArt Coming Soon Premium</h3>
|
137 |
<p>Powerful and Customizable Coming Soon</p>
|
138 |
</div>
|
139 |
-
|
140 |
</div>
|
141 |
-
<a target="blank" href="<?php echo wpdevart_comingsoon_support_url; ?>" class="wpdevart_support">Have any Questions? Get a quick support!</a>
|
142 |
-
</div>
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
|
|
200 |
}
|
201 |
-
|
202 |
/*######################### Logo Function #################################*/
|
203 |
|
204 |
-
public function generete_logo_section($page_parametrs){
|
205 |
|
206 |
-
|
207 |
-
<div class="main_parametrs_group_div closed_params "
|
208 |
<div class="head_panel_div" title="Click to toggle">
|
209 |
-
|
210 |
<span class="title_parametrs_group">Logo</span>
|
211 |
<span class="enabled_or_disabled_parametr"></span>
|
212 |
-
<span class="open_or_closed"></span>
|
213 |
</div>
|
214 |
<div class="inside_information_div">
|
215 |
-
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
<tfoot>
|
292 |
<tr>
|
293 |
<th colspan="2" width="100%"><button type="button" id="coming_logo" class="save_section_parametrs button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
294 |
</tr>
|
295 |
-
</tfoot>
|
296 |
</table>
|
297 |
-
</div>
|
298 |
-
</div>
|
299 |
-
|
300 |
}
|
301 |
-
|
302 |
-
/*######################### Maintenance page Title Function #################################*/
|
303 |
-
|
304 |
-
public function generete_title_section($page_parametrs){
|
305 |
|
306 |
-
|
307 |
-
|
|
|
|
|
|
|
|
|
308 |
<div class="head_panel_div" title="Click to toggle">
|
309 |
-
|
310 |
<span class="title_parametrs_group">Title</span>
|
311 |
<span class="enabled_or_disabled_parametr"></span>
|
312 |
-
<span class="open_or_closed"></span>
|
313 |
</div>
|
314 |
<div class="inside_information_div">
|
315 |
-
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
<tfoot>
|
400 |
<tr>
|
401 |
<th colspan="2" width="100%"><button type="button" id="coming_title" class="save_section_parametrs button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
402 |
</tr>
|
403 |
-
</tfoot>
|
404 |
</table>
|
405 |
-
</div>
|
406 |
-
</div>
|
407 |
-
|
408 |
}
|
409 |
-
|
410 |
-
/*######################### Maintenance page Content function #################################*/
|
411 |
|
412 |
-
|
413 |
|
414 |
-
|
415 |
-
|
|
|
|
|
416 |
<div class="head_panel_div" title="Click to toggle">
|
417 |
-
|
418 |
<span class="title_parametrs_group">Message</span>
|
419 |
<span class="enabled_or_disabled_parametr"></span>
|
420 |
-
<span class="open_or_closed"></span>
|
421 |
</div>
|
422 |
<div class="inside_information_div">
|
423 |
-
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
<tfoot>
|
481 |
<tr>
|
482 |
<th colspan="2" width="100%"><button type="button" id="coming_message" class="save_section_parametrs button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
483 |
</tr>
|
484 |
-
</tfoot>
|
485 |
</table>
|
486 |
-
</div>
|
487 |
-
</div>
|
488 |
-
|
489 |
}
|
490 |
-
|
491 |
-
/*######################### Countdown Timer Function #################################*/
|
492 |
-
|
493 |
-
public function generete_countdown_section($page_parametrs){
|
494 |
|
495 |
-
|
496 |
-
|
|
|
|
|
|
|
|
|
497 |
<div class="head_panel_div" title="Click to toggle">
|
498 |
-
|
499 |
<span class="title_parametrs_group">Countdown Timer <span class="pro_feature_label"> (Pro feature!)</span></span>
|
500 |
<span class="enabled_or_disabled_parametr"></span>
|
501 |
-
<span class="open_or_closed"></span>
|
502 |
</div>
|
503 |
<div class="inside_information_div">
|
504 |
-
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
-
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
<tfoot>
|
695 |
<tr>
|
696 |
<th colspan="2" width="100%"><button type="button" id="coming_countdown" class="pro_input button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
697 |
</tr>
|
698 |
-
</tfoot>
|
699 |
</table>
|
700 |
-
</div>
|
701 |
-
</div>
|
702 |
-
|
703 |
}
|
704 |
-
|
705 |
-
/*######################### Maintenance page Progress bar function #################################*/
|
706 |
|
707 |
-
|
708 |
|
709 |
-
|
710 |
-
|
|
|
|
|
711 |
<div class="head_panel_div" title="Click to toggle">
|
712 |
-
|
713 |
-
<span class="title_parametrs_group">Progress bar<span class="pro_feature_label">
|
714 |
<span class="enabled_or_disabled_parametr"></span>
|
715 |
-
<span class="open_or_closed"></span>
|
716 |
</div>
|
717 |
<div class="inside_information_div">
|
718 |
-
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
|
748 |
-
|
749 |
-
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
|
755 |
-
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
|
784 |
-
|
785 |
-
|
786 |
-
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
793 |
-
|
794 |
-
|
795 |
-
|
796 |
-
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
-
|
804 |
-
|
805 |
-
|
806 |
-
|
807 |
-
|
808 |
-
|
809 |
-
|
810 |
-
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
-
|
815 |
-
|
816 |
-
|
817 |
-
|
818 |
-
|
819 |
-
|
820 |
-
|
821 |
-
|
822 |
-
|
823 |
-
|
824 |
<tfoot>
|
825 |
<tr>
|
826 |
<th colspan="2" width="100%"><button type="button" id="coming_progressbar" class="pro_input button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
827 |
</tr>
|
828 |
-
</tfoot>
|
829 |
</table>
|
830 |
-
</div>
|
831 |
-
</div>
|
832 |
-
|
833 |
}
|
834 |
-
|
835 |
/*######################### Maintenance page Subscribe function #################################*/
|
836 |
-
|
837 |
-
public function generete_subscribe_section($page_parametrs){
|
838 |
|
839 |
-
|
840 |
-
|
|
|
|
|
841 |
<div class="head_panel_div" title="Click to toggle">
|
842 |
-
|
843 |
-
<span class="title_parametrs_group">Subscribe Form (Mailing list)<span class="pro_feature_label">
|
844 |
<span class="enabled_or_disabled_parametr"></span>
|
845 |
-
<span class="open_or_closed"></span>
|
846 |
</div>
|
847 |
<div class="inside_information_div">
|
848 |
-
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
849 |
-
|
850 |
-
|
851 |
-
|
852 |
-
|
853 |
-
|
854 |
-
|
855 |
-
|
856 |
-
|
857 |
-
|
858 |
-
|
859 |
-
|
860 |
-
|
861 |
-
|
862 |
-
|
863 |
-
|
864 |
-
|
865 |
-
|
866 |
-
|
867 |
-
|
868 |
-
|
869 |
-
|
870 |
-
|
871 |
-
|
872 |
-
|
873 |
-
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
881 |
-
|
882 |
-
|
883 |
-
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
|
888 |
-
|
889 |
-
|
890 |
-
|
891 |
-
|
892 |
-
|
893 |
-
|
894 |
-
|
895 |
-
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
-
|
900 |
-
|
901 |
-
|
902 |
-
|
903 |
-
|
904 |
-
|
905 |
-
|
906 |
-
|
907 |
-
|
908 |
-
|
909 |
-
|
910 |
-
|
911 |
-
|
912 |
-
|
913 |
-
|
914 |
-
|
915 |
-
|
916 |
-
|
917 |
-
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
|
922 |
-
|
923 |
-
|
924 |
-
|
925 |
-
|
926 |
-
|
927 |
-
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
|
932 |
-
|
933 |
-
|
934 |
-
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
|
939 |
-
|
940 |
-
|
941 |
-
|
942 |
-
|
943 |
-
|
944 |
-
|
945 |
-
|
946 |
-
|
947 |
-
|
948 |
-
|
949 |
-
|
950 |
-
|
951 |
-
|
952 |
-
|
953 |
-
|
954 |
-
|
955 |
-
|
956 |
-
|
957 |
-
|
958 |
-
|
959 |
-
|
960 |
-
|
961 |
-
|
962 |
-
|
963 |
-
|
964 |
-
|
965 |
-
|
966 |
-
|
967 |
-
|
968 |
-
|
969 |
-
|
970 |
-
|
971 |
-
|
972 |
-
|
973 |
-
|
974 |
-
|
975 |
-
|
976 |
-
|
977 |
-
|
978 |
-
|
979 |
-
|
980 |
-
|
981 |
-
|
982 |
-
|
983 |
-
|
984 |
-
|
985 |
-
|
986 |
-
|
987 |
-
|
988 |
-
|
989 |
-
|
990 |
-
|
991 |
-
|
992 |
-
|
993 |
-
|
994 |
-
|
995 |
-
|
996 |
-
|
997 |
-
|
998 |
-
|
999 |
-
|
1000 |
-
|
1001 |
-
|
1002 |
-
|
1003 |
-
|
1004 |
-
|
1005 |
-
|
1006 |
-
|
1007 |
-
|
1008 |
-
|
1009 |
-
|
1010 |
-
|
1011 |
-
|
1012 |
-
|
1013 |
-
|
1014 |
-
|
1015 |
-
|
1016 |
-
|
1017 |
-
|
1018 |
-
|
1019 |
-
|
1020 |
-
|
1021 |
-
|
1022 |
-
|
1023 |
-
|
1024 |
-
|
1025 |
-
|
1026 |
-
|
1027 |
-
|
1028 |
-
|
1029 |
-
|
1030 |
-
|
1031 |
-
|
1032 |
-
|
1033 |
-
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
|
1039 |
-
|
1040 |
-
|
1041 |
-
|
1042 |
-
|
1043 |
-
|
1044 |
-
|
1045 |
-
|
1046 |
-
|
1047 |
-
|
1048 |
-
|
1049 |
-
|
1050 |
-
|
1051 |
-
|
1052 |
-
|
1053 |
-
|
1054 |
-
|
1055 |
-
|
1056 |
-
|
1057 |
-
|
1058 |
-
|
1059 |
<tfoot>
|
1060 |
<tr>
|
1061 |
<th colspan="2" width="100%"><button type="button" id="coming_subscribe" class="pro_input button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
1062 |
</tr>
|
1063 |
-
</tfoot>
|
1064 |
</table>
|
1065 |
-
</div>
|
1066 |
-
</div>
|
1067 |
-
|
1068 |
}
|
1069 |
-
/*######################### Socials Buttons Function #################################*/
|
1070 |
-
public function generete_social_network_section($page_parametrs){
|
1071 |
|
1072 |
-
|
1073 |
-
<div class="main_parametrs_group_div closed_params "
|
1074 |
<div class="head_panel_div" title="Click to toggle">
|
1075 |
-
|
1076 |
<span class="title_parametrs_group">Socials buttons</span>
|
1077 |
<span class="enabled_or_disabled_parametr"></span>
|
1078 |
-
<span class="open_or_closed"></span>
|
1079 |
</div>
|
1080 |
<div class="inside_information_div">
|
1081 |
-
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
1082 |
-
|
1083 |
-
|
1084 |
-
|
1085 |
-
|
1086 |
-
|
1087 |
-
|
1088 |
-
|
1089 |
-
|
1090 |
-
|
1091 |
-
|
1092 |
-
|
1093 |
-
|
1094 |
-
|
1095 |
-
|
1096 |
-
|
1097 |
-
|
1098 |
-
|
1099 |
-
|
1100 |
-
|
1101 |
-
|
1102 |
-
|
1103 |
-
|
1104 |
-
|
1105 |
-
|
1106 |
-
|
1107 |
-
|
1108 |
-
|
1109 |
-
|
1110 |
-
|
1111 |
-
|
1112 |
-
|
1113 |
-
|
1114 |
-
|
1115 |
-
|
1116 |
-
|
1117 |
-
|
1118 |
-
|
1119 |
-
|
1120 |
-
|
1121 |
-
|
1122 |
-
|
1123 |
-
|
1124 |
-
|
1125 |
-
|
1126 |
-
|
1127 |
-
|
1128 |
-
|
1129 |
-
|
1130 |
-
|
1131 |
-
|
1132 |
-
|
1133 |
-
|
1134 |
-
|
1135 |
-
|
1136 |
-
|
1137 |
-
|
1138 |
-
|
1139 |
-
|
1140 |
-
|
1141 |
-
|
1142 |
-
|
1143 |
-
|
1144 |
-
|
1145 |
-
|
1146 |
-
|
1147 |
-
|
1148 |
-
|
1149 |
-
|
1150 |
-
|
1151 |
-
|
1152 |
-
|
1153 |
-
|
1154 |
-
|
1155 |
-
|
1156 |
-
|
1157 |
-
|
1158 |
-
|
1159 |
-
|
1160 |
-
|
1161 |
-
|
1162 |
-
|
1163 |
-
|
1164 |
-
|
1165 |
-
|
1166 |
-
|
1167 |
-
|
1168 |
-
|
1169 |
-
|
1170 |
-
|
1171 |
-
|
1172 |
-
|
1173 |
-
|
1174 |
-
|
1175 |
-
|
1176 |
-
|
1177 |
-
|
1178 |
-
|
1179 |
-
|
1180 |
-
|
1181 |
-
|
1182 |
-
|
1183 |
-
|
1184 |
-
|
1185 |
-
|
1186 |
-
|
1187 |
-
|
1188 |
-
|
1189 |
-
|
1190 |
-
|
1191 |
-
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
1195 |
-
|
1196 |
-
|
1197 |
-
|
1198 |
-
|
1199 |
-
|
1200 |
-
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
|
1205 |
-
|
1206 |
-
|
1207 |
-
|
1208 |
-
|
1209 |
-
|
1210 |
-
|
1211 |
-
|
1212 |
-
|
1213 |
-
|
1214 |
-
|
1215 |
-
|
1216 |
-
|
1217 |
-
|
1218 |
-
|
1219 |
-
|
1220 |
-
|
1221 |
-
|
1222 |
-
|
1223 |
-
|
1224 |
-
|
1225 |
-
|
1226 |
-
|
1227 |
<tfoot>
|
1228 |
<tr>
|
1229 |
<th colspan="2" width="100%"><button type="button" id="coming_social_networks" class="save_section_parametrs button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
1230 |
</tr>
|
1231 |
-
</tfoot>
|
1232 |
</table>
|
1233 |
-
</div>
|
1234 |
-
</div>
|
1235 |
-
|
1236 |
}
|
1237 |
-
/*######################### Link To Admin Function #################################*/
|
1238 |
-
public function generete_link_to_tashboard_section($page_parametrs){
|
1239 |
|
1240 |
-
|
1241 |
-
<div class="main_parametrs_group_div closed_params "
|
1242 |
<div class="head_panel_div" title="Click to toggle">
|
1243 |
-
|
1244 |
-
<span class="title_parametrs_group">Link to Admin<span class="pro_feature_label">
|
1245 |
<span class="enabled_or_disabled_parametr"></span>
|
1246 |
-
<span class="open_or_closed"></span>
|
1247 |
</div>
|
1248 |
<div class="inside_information_div">
|
1249 |
-
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
1250 |
-
|
1251 |
-
|
1252 |
-
|
1253 |
-
|
1254 |
-
|
1255 |
-
|
1256 |
-
|
1257 |
-
|
1258 |
-
|
1259 |
-
|
1260 |
-
|
1261 |
-
|
1262 |
-
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
-
|
1267 |
-
|
1268 |
-
|
1269 |
-
|
1270 |
-
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
-
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
1280 |
-
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
1284 |
-
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
-
|
1299 |
-
|
1300 |
-
|
1301 |
-
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
-
|
1315 |
-
|
1316 |
-
|
1317 |
-
|
1318 |
-
|
1319 |
-
|
1320 |
-
|
1321 |
-
|
1322 |
-
|
1323 |
-
|
1324 |
-
|
1325 |
-
|
1326 |
-
|
1327 |
-
|
1328 |
-
|
1329 |
-
|
1330 |
-
|
1331 |
-
|
1332 |
-
|
1333 |
<tfoot>
|
1334 |
<tr>
|
1335 |
<th colspan="2" width="100%"><button type="button" id="coming_link_to_dashboard" class="pro_input button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
1336 |
</tr>
|
1337 |
-
</tfoot>
|
1338 |
</table>
|
1339 |
-
</div>
|
1340 |
-
</div>
|
1341 |
-
|
1342 |
}
|
1343 |
/*######################### Footer Message Part #################################*/
|
1344 |
-
public function generete_message_footer_section($page_parametrs){
|
1345 |
|
1346 |
-
|
1347 |
-
<div class="main_parametrs_group_div closed_params "
|
1348 |
<div class="head_panel_div" title="Click to toggle">
|
1349 |
-
|
1350 |
<span class="title_parametrs_group">Footer Message</span>
|
1351 |
<span class="enabled_or_disabled_parametr"></span>
|
1352 |
-
<span class="open_or_closed"></span>
|
1353 |
</div>
|
1354 |
<div class="inside_information_div">
|
1355 |
-
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
1356 |
-
|
1357 |
-
|
1358 |
-
|
1359 |
-
|
1360 |
-
|
1361 |
-
|
1362 |
-
|
1363 |
-
|
1364 |
-
|
1365 |
-
|
1366 |
-
|
1367 |
-
|
1368 |
-
|
1369 |
-
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
|
1375 |
-
|
1376 |
-
|
1377 |
-
|
1378 |
-
|
1379 |
-
|
1380 |
-
|
1381 |
-
|
1382 |
-
|
1383 |
-
|
1384 |
-
|
1385 |
-
|
1386 |
-
|
1387 |
-
|
1388 |
-
|
1389 |
-
|
1390 |
-
|
1391 |
-
|
1392 |
-
|
1393 |
-
|
1394 |
-
|
1395 |
-
|
1396 |
-
|
1397 |
-
|
1398 |
-
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
|
1406 |
-
|
1407 |
-
|
1408 |
-
|
1409 |
-
|
1410 |
-
|
1411 |
-
|
1412 |
<tfoot>
|
1413 |
<tr>
|
1414 |
<th colspan="2" width="100%"><button type="button" id="coming_message_footer" class="save_section_parametrs button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
1415 |
</tr>
|
1416 |
-
</tfoot>
|
1417 |
</table>
|
1418 |
-
</div>
|
1419 |
-
</div>
|
1420 |
-
|
1421 |
}
|
1422 |
-
/*######################### Search Engine Optimization Part #################################*/
|
1423 |
-
public function generete_search_engine_section($page_parametrs){
|
1424 |
|
1425 |
-
|
1426 |
-
<div class="main_parametrs_group_div closed_params "
|
1427 |
<div class="head_panel_div" title="Click to toggle">
|
1428 |
-
|
1429 |
<span class="title_parametrs_group">Search engines and Favicon</span>
|
1430 |
<span class="enabled_or_disabled_parametr"></span>
|
1431 |
-
<span class="open_or_closed"></span>
|
1432 |
</div>
|
1433 |
<div class="inside_information_div">
|
1434 |
-
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
1435 |
-
|
1436 |
-
|
1437 |
-
|
1438 |
-
|
1439 |
-
|
1440 |
-
|
1441 |
-
|
1442 |
-
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
1446 |
-
|
1447 |
-
|
1448 |
-
|
1449 |
-
|
1450 |
-
|
1451 |
-
|
1452 |
-
|
1453 |
-
|
1454 |
-
|
1455 |
-
|
1456 |
-
|
1457 |
-
|
1458 |
-
|
1459 |
-
|
1460 |
-
|
1461 |
-
|
1462 |
-
|
1463 |
-
|
1464 |
-
|
1465 |
-
|
1466 |
-
|
1467 |
-
|
1468 |
-
|
1469 |
-
|
1470 |
-
|
1471 |
-
|
1472 |
-
|
1473 |
-
|
1474 |
-
|
1475 |
-
|
1476 |
-
|
1477 |
-
|
1478 |
-
|
1479 |
-
|
1480 |
-
|
1481 |
<tfoot>
|
1482 |
<tr>
|
1483 |
<th colspan="2" width="100%"><button type="button" id="search_engine_and_favicon" class="save_section_parametrs button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
1484 |
</tr>
|
1485 |
-
</tfoot>
|
1486 |
</table>
|
1487 |
-
</div>
|
1488 |
-
</div>
|
1489 |
-
|
1490 |
}
|
1491 |
-
/*######################### Except Page or IP Part #################################*/
|
1492 |
-
public function generete_except_section($page_parametrs){
|
1493 |
|
1494 |
-
|
1495 |
-
<div class="main_parametrs_group_div closed_params "
|
1496 |
<div class="head_panel_div" title="Click to toggle">
|
1497 |
-
|
1498 |
<span class="title_parametrs_group">Except pages and IPs</span>
|
1499 |
<span class="enabled_or_disabled_parametr"></span>
|
1500 |
-
<span class="open_or_closed"></span>
|
1501 |
</div>
|
1502 |
<div class="inside_information_div">
|
1503 |
-
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
1504 |
-
|
1505 |
-
|
1506 |
-
|
1507 |
-
|
1508 |
-
|
1509 |
-
|
1510 |
-
|
1511 |
-
|
1512 |
-
|
1513 |
-
|
1514 |
-
|
1515 |
-
|
1516 |
-
|
1517 |
-
|
1518 |
-
|
1519 |
-
|
1520 |
-
|
1521 |
-
|
1522 |
-
<
|
1523 |
-
|
1524 |
-
|
1525 |
-
|
1526 |
-
|
1527 |
-
|
1528 |
-
|
1529 |
-
|
1530 |
-
|
1531 |
-
|
1532 |
-
|
|
|
1533 |
<tfoot>
|
1534 |
<tr>
|
1535 |
<th colspan="2" width="100%"><button type="button" id="except_page" class="save_section_parametrs button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
1536 |
</tr>
|
1537 |
-
</tfoot>
|
1538 |
</table>
|
1539 |
-
|
1540 |
-
|
1541 |
-
|
1542 |
-
|
1543 |
-
|
1544 |
-
|
1545 |
-
|
1546 |
-
|
1547 |
-
|
1548 |
-
|
1549 |
-
|
1550 |
-
|
1551 |
-
</div>
|
1552 |
-
<?php
|
1553 |
}
|
1554 |
-
/*######################### Background options Part #################################*/
|
1555 |
-
public function generete_background_section($page_parametrs){
|
1556 |
-
|
1557 |
-
|
1558 |
-
<div class="main_parametrs_group_div closed_params " >
|
1559 |
<div class="head_panel_div" title="Click to toggle">
|
1560 |
-
|
1561 |
<span class="title_parametrs_group">Background</span>
|
1562 |
<span class="enabled_or_disabled_parametr"></span>
|
1563 |
-
<span class="open_or_closed"></span>
|
1564 |
</div>
|
1565 |
<div class="inside_information_div">
|
1566 |
-
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
1567 |
-
|
1568 |
-
|
1569 |
-
|
1570 |
-
|
1571 |
-
|
1572 |
-
|
1573 |
-
|
1574 |
-
|
1575 |
-
|
1576 |
-
|
1577 |
-
|
1578 |
-
|
1579 |
-
|
1580 |
-
|
1581 |
-
|
1582 |
-
|
1583 |
-
|
1584 |
-
|
1585 |
-
|
1586 |
-
|
1587 |
-
|
1588 |
-
|
1589 |
-
|
1590 |
-
|
1591 |
-
|
1592 |
-
|
1593 |
-
|
1594 |
-
|
1595 |
-
|
1596 |
-
|
1597 |
-
|
1598 |
-
|
1599 |
-
|
1600 |
-
|
1601 |
-
|
1602 |
-
|
1603 |
-
|
1604 |
-
|
1605 |
-
</div>
|
1606 |
-
</div>
|
1607 |
-
|
1608 |
}
|
1609 |
-
/*######################### Content Part #################################*/
|
1610 |
-
public function generete_content_section($page_parametrs){
|
1611 |
|
1612 |
-
|
1613 |
-
<div class="main_parametrs_group_div closed_params "
|
1614 |
<div class="head_panel_div" title="Click to toggle">
|
1615 |
-
|
1616 |
-
<span class="title_parametrs_group">Content <span class="pro_feature_label">
|
1617 |
<span class="enabled_or_disabled_parametr"></span>
|
1618 |
-
<span class="open_or_closed"></span>
|
1619 |
</div>
|
1620 |
<div class="inside_information_div">
|
1621 |
-
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
1622 |
-
|
1623 |
-
|
1624 |
-
|
1625 |
-
|
1626 |
-
|
1627 |
-
|
1628 |
-
|
1629 |
-
|
1630 |
-
|
1631 |
-
|
1632 |
-
|
1633 |
-
|
1634 |
-
|
1635 |
-
|
1636 |
-
|
1637 |
-
|
1638 |
-
|
1639 |
-
|
1640 |
-
|
1641 |
-
|
1642 |
-
|
1643 |
-
|
1644 |
-
|
1645 |
-
|
1646 |
-
|
1647 |
-
|
1648 |
-
|
1649 |
-
|
1650 |
-
|
1651 |
-
|
1652 |
-
|
1653 |
-
|
1654 |
-
|
1655 |
-
|
1656 |
-
|
1657 |
-
|
1658 |
-
|
1659 |
-
|
1660 |
-
|
1661 |
-
|
1662 |
-
|
1663 |
-
|
1664 |
-
|
1665 |
-
|
1666 |
-
|
1667 |
-
|
1668 |
-
|
1669 |
-
|
1670 |
-
|
1671 |
-
|
1672 |
-
|
1673 |
-
|
1674 |
-
|
1675 |
-
|
1676 |
-
|
1677 |
-
|
1678 |
-
|
1679 |
-
|
1680 |
-
|
1681 |
-
|
1682 |
-
|
1683 |
-
|
1684 |
-
|
1685 |
-
|
1686 |
-
|
1687 |
-
|
1688 |
-
|
1689 |
-
|
1690 |
-
|
1691 |
-
|
1692 |
-
|
1693 |
-
|
1694 |
-
|
1695 |
-
|
1696 |
-
|
1697 |
-
|
1698 |
-
|
1699 |
-
|
1700 |
-
|
1701 |
-
|
1702 |
-
|
1703 |
-
|
1704 |
-
|
1705 |
-
|
1706 |
-
|
1707 |
-
|
1708 |
-
|
1709 |
-
|
1710 |
-
|
1711 |
-
|
1712 |
-
|
1713 |
<tfoot>
|
1714 |
<tr>
|
1715 |
<th colspan="2" width="100%"><button type="button" id="coming_content" class="pro_input button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
1716 |
</tr>
|
1717 |
-
</tfoot>
|
1718 |
</table>
|
1719 |
-
</div>
|
1720 |
-
</div>
|
1721 |
-
|
1722 |
}
|
1723 |
-
|
1724 |
-
|
1725 |
-
|
1726 |
-
private function generete_subscriber_table_lists($mailing_lsit_array){
|
1727 |
-
|
1728 |
-
|
1729 |
-
|
1730 |
-
|
1731 |
-
}
|
1732 |
-
$generete=rtrim($generete, ",");
|
1733 |
}
|
1734 |
-
|
1735 |
-
<style>
|
1736 |
-
.description_row:nth-child(odd){
|
1737 |
-
background-color: #f9f9f9;
|
1738 |
}
|
|
|
|
|
|
|
|
|
|
|
1739 |
</style>
|
1740 |
-
|
1741 |
-
|
1742 |
-
var my_table_list
|
1743 |
-
|
1744 |
<div>
|
1745 |
-
<form method="post"
|
1746 |
-
|
1747 |
-
|
1748 |
-
|
1749 |
-
|
1750 |
-
|
1751 |
-
|
1752 |
-
|
1753 |
-
|
1754 |
-
|
1755 |
-
|
1756 |
-
|
1757 |
-
|
1758 |
-
<
|
1759 |
-
<
|
1760 |
-
<
|
1761 |
-
|
1762 |
-
|
1763 |
-
|
1764 |
-
|
1765 |
-
|
1766 |
-
|
1767 |
-
|
1768 |
-
|
1769 |
-
|
1770 |
-
|
1771 |
-
|
1772 |
-
|
1773 |
-
|
1774 |
-
|
1775 |
-
|
1776 |
-
|
|
|
1777 |
</div>
|
1778 |
<script>
|
1779 |
-
|
1780 |
-
|
1781 |
-
|
1782 |
-
|
1783 |
-
|
1784 |
-
|
1785 |
-
|
1786 |
-
|
1787 |
-
|
1788 |
-
|
1789 |
-
|
1790 |
-
|
1791 |
-
|
1792 |
-
|
1793 |
-
|
1794 |
-
|
1795 |
-
|
1796 |
-
|
1797 |
-
|
1798 |
-
|
1799 |
-
|
1800 |
-
|
1801 |
-
|
1802 |
-
|
1803 |
-
|
1804 |
-
|
1805 |
-
|
1806 |
-
|
1807 |
-
|
1808 |
-
|
1809 |
-
|
1810 |
-
|
1811 |
-
|
1812 |
-
|
1813 |
-
|
1814 |
-
|
1815 |
-
|
1816 |
-
|
1817 |
-
|
1818 |
-
|
1819 |
-
|
1820 |
-
|
1821 |
-
|
1822 |
-
|
1823 |
-
|
1824 |
-
|
1825 |
-
|
1826 |
-
|
1827 |
-
|
1828 |
-
|
1829 |
-
|
1830 |
-
|
1831 |
-
|
1832 |
-
|
1833 |
-
|
1834 |
-
|
1835 |
-
|
1836 |
-
|
1837 |
-
|
1838 |
-
|
1839 |
-
|
1840 |
-
|
1841 |
-
|
1842 |
-
|
1843 |
-
|
1844 |
-
|
1845 |
-
|
1846 |
-
|
1847 |
-
|
1848 |
-
|
1849 |
-
|
1850 |
-
|
1851 |
-
|
1852 |
-
|
|
|
|
|
|
|
1853 |
}
|
1854 |
-
public function mailing_list(){
|
1855 |
-
$page_parametrs
|
1856 |
-
$mailing_lists=NULL;
|
1857 |
-
if($mailing_lists==NULL)
|
1858 |
-
$mailing_lists=array();
|
1859 |
-
if(isset($_GET['id']) && isset($_GET['task']) && $_GET['task']=='remove_user'){
|
1860 |
$get_id = intval($_GET['id']);
|
1861 |
unset($mailing_lists[$get_id]);
|
1862 |
-
update_option('users_mailer',json_encode($mailing_lists));
|
1863 |
}
|
1864 |
-
|
1865 |
-
|
1866 |
<div class="wpdevart_plugins_header div-for-clear">
|
1867 |
<div class="wpdevart_plugins_get_pro div-for-clear">
|
1868 |
<div class="wpdevart_plugins_get_pro_info">
|
1869 |
<h3>WpDevArt Coming Soon Premium</h3>
|
1870 |
<p>Powerful and Customizable Coming Soon</p>
|
1871 |
</div>
|
1872 |
-
|
1873 |
</div>
|
1874 |
-
<a target="blank" href="<?php echo wpdevart_comingsoon_support_url; ?>" class="wpdevart_support">Have any Questions? Get quick support!</a>
|
1875 |
</div>
|
1876 |
-
<h2>Send Mail to all subscribed Users</h2>
|
1877 |
-
|
1878 |
-
|
1879 |
-
|
1880 |
-
|
1881 |
-
|
1882 |
-
|
1883 |
-
|
1884 |
-
|
1885 |
-
|
1886 |
-
|
1887 |
-
|
1888 |
-
|
1889 |
-
|
1890 |
-
<h2>The list of the subscribed users</h2> <?php
|
1891 |
-
|
1892 |
-
|
1893 |
-
|
1894 |
-
|
1895 |
-
|
1896 |
-
|
1897 |
<script>
|
1898 |
jQuery(document).ready(function(e) {
|
1899 |
-
jQuery('#send_mailing').click(function(){
|
1900 |
jQuery('#send_mailing').addClass('padding_loading');
|
1901 |
jQuery("#send_mailing").prop('disabled', true);
|
1902 |
-
jQuery('#coming_soon_options_form_send_mail .saving_in_progress').css('display','inline-block');
|
1903 |
-
|
1904 |
jQuery.ajax({
|
1905 |
-
type:'POST',
|
1906 |
-
url: "<?php echo admin_url(
|
1907 |
-
data: {
|
|
|
|
|
|
|
|
|
|
|
1908 |
}).done(function(date) {
|
1909 |
-
switch(date){
|
1910 |
-
case "<?php echo $this->text_parametrs['sucsses_mailed'] ?>":
|
1911 |
-
jQuery('#coming_soon_options_form_send_mail .saving_in_progress').css('display','none');
|
1912 |
-
jQuery('#coming_soon_options_form_send_mail .sucsses_save').css('display','inline-block');
|
1913 |
-
setTimeout(function(){
|
1914 |
-
|
1915 |
-
|
1916 |
-
|
1917 |
-
|
1918 |
-
|
1919 |
-
|
1920 |
-
|
|
|
|
|
|
|
|
|
1921 |
jQuery('#coming_soon_options_form_send_mail .error_massage').html(date);
|
1922 |
-
setTimeout(function(){
|
1923 |
-
|
1924 |
-
|
1925 |
-
|
1926 |
-
|
1927 |
-
|
|
|
|
|
|
|
|
|
|
|
1928 |
jQuery('#coming_soon_options_form_send_mail .error_massage').html(date);
|
1929 |
-
setTimeout(function(){
|
1930 |
-
|
|
|
|
|
|
|
|
|
|
|
1931 |
default:
|
1932 |
-
jQuery('#coming_soon_options_form_send_mail .saving_in_progress').css('display','none');
|
1933 |
-
jQuery('#coming_soon_options_form_send_mail .error_in_saving').css('display','inline-block');
|
1934 |
-
jQuery('#coming_soon_options_form_send_mail .error_massage').css('display','inline-block');
|
1935 |
jQuery('#coming_soon_options_form_send_mail .error_massage').html(date);
|
1936 |
}
|
1937 |
-
});
|
1938 |
});
|
1939 |
-
});
|
1940 |
-
|
1941 |
-
|
1942 |
-
|
1943 |
}
|
1944 |
/*######################################### SUBSCRIBE #######################################*/
|
1945 |
-
public function sending_mail(){
|
1946 |
-
$mailing_lists=json_decode(stripslashes(get_option('users_mailer','')), true);
|
1947 |
-
if($mailing_lists==NULL)
|
1948 |
-
$mailing_lists=array();
|
1949 |
-
$not_sending_mails=array();
|
1950 |
-
$sending_mails=array();
|
1951 |
-
if(!(isset($_POST['massage_title']) && $_POST['massage_title']!='')){
|
1952 |
-
echo $this->text_parametrs['missing_title'];
|
1953 |
die();
|
1954 |
}
|
1955 |
-
if(!(isset($_POST['massage_description']) && $_POST['massage_description']!='')){
|
1956 |
-
echo $this->text_parametrs['mising_massage'];
|
1957 |
die();
|
1958 |
}
|
1959 |
-
if(!(isset($_POST['massage_from_name']) && $_POST['massage_from_name']!='')){
|
1960 |
-
echo $this->text_parametrs['missing_fromname'];
|
1961 |
die();
|
1962 |
}
|
1963 |
-
if(!(isset($_POST['massage_from_mail']) && $_POST['massage_from_mail']!='')){
|
1964 |
-
echo $this->text_parametrs['missing_frommail'];
|
1965 |
die();
|
1966 |
}
|
1967 |
-
$mails_array=array();
|
1968 |
-
foreach($mailing_lists as $key => $mail){
|
1969 |
-
array_push($mails_array
|
1970 |
}
|
1971 |
$headers_from = sanitize_text_field($_POST['massage_from_mail']);
|
1972 |
$message_description = sanitize_text_field($_POST['massage_description']);
|
1973 |
$message_from_name = sanitize_text_field($_POST['massage_from_name']);
|
1974 |
$message_title = sanitize_text_field($_POST['massage_title']);
|
1975 |
-
$headers='From: '
|
1976 |
-
$send=wp_mail(
|
1977 |
-
if(!$send){
|
1978 |
-
die($this->text_parametrs['error_maied']);
|
1979 |
}
|
1980 |
-
|
1981 |
-
|
1982 |
-
die($this->text_parametrs['sucsses_mailed']);
|
1983 |
-
|
1984 |
}
|
1985 |
/*################################## FEATURED PLUGINS ADMIN PAGE #########################################*/
|
1986 |
-
public function featured_plugins(){
|
1987 |
-
$plugins_array=array(
|
1988 |
-
'gallery_album'=>array(
|
1989 |
-
|
1990 |
-
|
1991 |
-
|
1992 |
-
|
1993 |
-
|
1994 |
-
'Pricing Table'=>array(
|
1995 |
-
|
1996 |
-
|
1997 |
-
|
1998 |
-
|
1999 |
-
|
2000 |
-
'countdown-extended'=>array(
|
2001 |
-
|
2002 |
-
|
2003 |
-
|
2004 |
-
|
2005 |
-
|
2006 |
-
'chart'=>array(
|
2007 |
-
|
2008 |
-
|
2009 |
-
|
2010 |
-
|
2011 |
-
|
2012 |
-
'Contact forms'=>array(
|
2013 |
-
|
2014 |
-
|
2015 |
-
|
2016 |
-
|
2017 |
-
|
2018 |
-
'Booking Calendar'=>array(
|
2019 |
-
|
2020 |
-
|
2021 |
-
|
2022 |
-
|
2023 |
-
|
2024 |
-
'youtube'=>array(
|
2025 |
-
|
2026 |
-
|
2027 |
-
|
2028 |
-
|
2029 |
-
|
2030 |
-
|
2031 |
-
|
2032 |
-
|
2033 |
-
|
2034 |
-
|
2035 |
-
|
2036 |
-
'countdown'=>array(
|
2037 |
-
|
2038 |
-
|
2039 |
-
|
2040 |
-
|
2041 |
-
|
2042 |
-
'lightbox'=>array(
|
2043 |
-
|
2044 |
-
|
2045 |
-
|
2046 |
-
|
2047 |
-
|
2048 |
-
'facebook'=>array(
|
2049 |
-
|
2050 |
-
|
2051 |
-
|
2052 |
-
|
2053 |
-
|
2054 |
-
'vertical_menu'=>array(
|
2055 |
-
|
2056 |
-
|
2057 |
-
|
2058 |
-
|
2059 |
-
|
2060 |
-
'poll'=>array(
|
2061 |
-
|
2062 |
-
|
2063 |
-
|
2064 |
-
|
2065 |
-
|
2066 |
-
'duplicate_page'=>array(
|
2067 |
-
|
2068 |
-
|
2069 |
-
|
2070 |
-
|
2071 |
-
|
2072 |
-
|
2073 |
-
|
2074 |
-
);
|
2075 |
-
?>
|
2076 |
-
<style>
|
2077 |
-
.featured_plugin_main{
|
2078 |
-
background-color: #ffffff;
|
2079 |
-
-webkit-box-sizing: border-box;
|
2080 |
-
-moz-box-sizing: border-box;
|
2081 |
-
box-sizing: border-box;
|
2082 |
-
float: left;
|
2083 |
-
margin-right: 30px;
|
2084 |
-
margin-bottom: 30px;
|
2085 |
-
width: calc((100% - 90px)/3);
|
2086 |
-
border-radius: 15px;
|
2087 |
-
box-shadow: 1px 1px 7px rgba(0,0,0,0.04);
|
2088 |
-
padding: 20px 25px;
|
2089 |
-
text-align: center;
|
2090 |
-
-webkit-transition:-webkit-transform 0.3s;
|
2091 |
-
-moz-transition:-moz-transform 0.3s;
|
2092 |
-
transition:transform 0.3s;
|
2093 |
-
-webkit-transform: translateY(0);
|
2094 |
-
-moz-transform: translateY0);
|
2095 |
-
transform: translateY(0);
|
2096 |
-
min-height: 344px;
|
2097 |
-
}
|
2098 |
-
.featured_plugin_main:hover{
|
2099 |
-
-webkit-transform: translateY(-2px);
|
2100 |
-
-moz-transform: translateY(-2px);
|
2101 |
-
transform: translateY(-2px);
|
2102 |
-
}
|
2103 |
-
.featured_plugin_image{
|
2104 |
-
max-width: 128px;
|
2105 |
-
margin: 0 auto;
|
2106 |
-
}
|
2107 |
-
.blue_button{
|
2108 |
-
display: inline-block;
|
2109 |
-
font-size: 15px;
|
2110 |
-
text-decoration: none;
|
2111 |
-
border-radius: 5px;
|
2112 |
-
color: #ffffff;
|
2113 |
-
font-weight: 400;
|
2114 |
-
opacity: 1;
|
2115 |
-
-webkit-transition: opacity 0.3s;
|
2116 |
-
-moz-transition: opacity 0.3s;
|
2117 |
-
transition: opacity 0.3s;
|
2118 |
-
background-color: #7052fb;
|
2119 |
-
padding: 10px 22px;
|
2120 |
-
text-transform: uppercase;
|
2121 |
-
}
|
2122 |
-
.blue_button:hover,
|
2123 |
-
.blue_button:focus {
|
2124 |
-
color:#ffffff;
|
2125 |
-
box-shadow: none;
|
2126 |
-
outline: none;
|
2127 |
-
}
|
2128 |
-
.featured_plugin_image img{
|
2129 |
-
max-width: 100%;
|
2130 |
-
}
|
2131 |
-
.featured_plugin_image a{
|
2132 |
-
display: inline-block;
|
2133 |
-
}
|
2134 |
-
.featured_plugin_information{
|
2135 |
|
2136 |
-
|
2137 |
-
|
2138 |
-
|
2139 |
-
|
2140 |
-
display: inline-block;
|
2141 |
-
}
|
2142 |
-
.featured_plugin_title a{
|
2143 |
-
text-decoration:none;
|
2144 |
-
font-size: 19px;
|
2145 |
-
line-height: 22px;
|
2146 |
-
color: #7052fb;
|
2147 |
-
|
2148 |
-
}
|
2149 |
-
.featured_plugin_title h4{
|
2150 |
-
margin: 0px;
|
2151 |
-
margin-top: 20px;
|
2152 |
-
min-height: 44px;
|
2153 |
-
}
|
2154 |
-
.featured_plugin_description{
|
2155 |
-
font-size: 14px;
|
2156 |
-
min-height: 63px;
|
2157 |
-
}
|
2158 |
-
@media screen and (max-width: 1460px){
|
2159 |
.featured_plugin_main {
|
2160 |
-
|
2161 |
-
|
2162 |
-
|
2163 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2164 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2165 |
.featured_plugin_description {
|
2166 |
-
font-size:
|
2167 |
min-height: 63px;
|
2168 |
}
|
2169 |
-
|
2170 |
-
|
2171 |
-
|
2172 |
-
|
2173 |
-
|
2174 |
-
|
2175 |
-
|
2176 |
-
|
2177 |
-
|
2178 |
-
|
2179 |
-
|
2180 |
-
|
2181 |
-
|
2182 |
-
|
2183 |
-
|
2184 |
-
|
2185 |
-
|
2186 |
-
|
2187 |
-
|
2188 |
-
|
2189 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2190 |
font-size: 14px;
|
2191 |
-
|
2192 |
-
|
|
|
2193 |
|
2194 |
-
</style>
|
2195 |
-
|
2196 |
<h1 style="text-align: center;font-size: 50px;font-weight: 700;color: #2b2350;margin: 20px auto 25px;line-height: 1.2;">Featured Plugins</h1>
|
2197 |
-
<?php foreach($plugins_array as $key
|
2198 |
-
|
2199 |
-
|
2200 |
-
|
2201 |
-
|
2202 |
-
|
2203 |
-
|
|
|
|
|
|
|
|
|
2204 |
</div>
|
2205 |
-
|
2206 |
-
</div>
|
2207 |
-
<?php }
|
2208 |
-
|
2209 |
}
|
2210 |
-
|
2211 |
-
/*######################### Library functions #############################*/
|
2212 |
-
private function create_select_element_for_showing_effect($select_id=''
|
2213 |
-
|
2214 |
-
|
2215 |
-
|
2216 |
-
|
2217 |
-
|
2218 |
-
|
2219 |
-
|
2220 |
-
|
2221 |
-
|
2222 |
-
|
2223 |
-
|
2224 |
-
|
2225 |
-
|
2226 |
-
|
2227 |
-
|
2228 |
-
|
2229 |
-
|
2230 |
-
|
2231 |
-
|
2232 |
-
|
2233 |
-
|
2234 |
-
|
2235 |
-
|
2236 |
-
|
2237 |
-
|
2238 |
-
|
2239 |
-
|
2240 |
-
|
2241 |
-
|
2242 |
-
|
2243 |
-
|
2244 |
-
|
2245 |
-
|
2246 |
-
|
2247 |
-
|
2248 |
-
|
2249 |
-
|
2250 |
-
|
2251 |
-
|
2252 |
-
|
2253 |
-
|
2254 |
-
|
2255 |
-
|
2256 |
-
|
2257 |
-
|
2258 |
-
|
2259 |
-
|
2260 |
-
|
2261 |
-
|
2262 |
-
|
2263 |
-
|
2264 |
-
|
2265 |
-
|
2266 |
-
|
2267 |
-
|
2268 |
-
|
2269 |
-
|
2270 |
-
|
2271 |
-
|
2272 |
-
|
2273 |
-
|
2274 |
-
|
2275 |
-
|
2276 |
-
|
2277 |
-
|
2278 |
-
|
2279 |
-
|
2280 |
}
|
2281 |
-
|
2282 |
-
|
2283 |
-
|
2284 |
-
private function create_select_element_for_font($select_id=''
|
2285 |
?>
|
2286 |
-
|
2287 |
-
|
2288 |
-
|
2289 |
-
|
2290 |
-
|
2291 |
-
|
2292 |
-
|
2293 |
-
|
2294 |
-
|
2295 |
-
|
2296 |
-
|
2297 |
-
|
2298 |
-
|
2299 |
-
|
2300 |
-
|
2301 |
-
|
2302 |
-
|
2303 |
-
|
2304 |
-
|
2305 |
-
|
2306 |
-
|
2307 |
-
|
2308 |
-
|
2309 |
-
|
2310 |
-
|
2311 |
-
|
2312 |
-
|
2313 |
-
|
2314 |
-
|
2315 |
-
|
2316 |
-
|
2317 |
-
|
2318 |
-
|
2319 |
-
|
2320 |
-
|
2321 |
}
|
2322 |
-
|
2323 |
-
}
|
1 |
+
<?php
|
2 |
|
3 |
/*############ Admin Menu Class ################*/
|
4 |
|
5 |
+
class coming_soon_admin_menu {
|
6 |
+
|
7 |
private $menu_name;
|
8 |
private $databese_parametrs;
|
9 |
private $plugin_url;
|
10 |
private $text_parametrs;
|
11 |
|
12 |
+
/*############ Construct function ################*/
|
13 |
+
|
14 |
+
function __construct($param) {
|
15 |
+
|
16 |
+
$this->text_parametrs = array(
|
17 |
+
'parametrs_sucsses_saved' => 'Successfully saved.',
|
18 |
+
'error_in_saving' => 'can\'t save "%s" plugin parameter<br>',
|
19 |
+
'missing_title' => 'Type Message Title',
|
20 |
+
'missing_fromname' => 'Type From Name',
|
21 |
+
'missing_frommail' => 'Type From mail',
|
22 |
+
'mising_massage' => 'Type Message',
|
23 |
+
'sucsses_mailed' => 'Your message was sent successfully.',
|
24 |
+
'error_maied' => 'error sending email',
|
25 |
'authorize_problem' => 'Authorization Problem'
|
26 |
+
|
27 |
+
);
|
28 |
+
|
29 |
+
$this->menu_name = $param['menu_name'];
|
30 |
+
$this->databese_parametrs = $param['databese_parametrs'];
|
31 |
+
if (isset($params['plugin_url']))
|
32 |
+
$this->plugin_url = $params['plugin_url'];
|
33 |
else
|
34 |
+
$this->plugin_url = trailingslashit(dirname(plugins_url('', __FILE__)));
|
35 |
|
36 |
+
add_action('wp_ajax_coming_soon_page_save', array($this, 'save_in_databese'));
|
37 |
+
add_action('wp_ajax_coming_soon_send_mail', array($this, 'sending_mail'));
|
38 |
}
|
39 |
|
40 |
+
/*############ Create menu function ################*/
|
41 |
+
|
42 |
+
public function create_menu() {
|
43 |
global $submenu;
|
44 |
+
$sub_men_cap = str_replace(' ', '-', $this->menu_name);
|
45 |
+
$main_page = add_menu_page('Coming Soon', 'Coming Soon', 'manage_options', 'coming-soon', array($this, 'main_menu_function'), esc_url($this->plugin_url) . 'images/menu_icon.png');
|
46 |
+
$page_coming_soon = add_submenu_page('coming-soon', 'Coming Soon', 'Coming Soon', 'manage_options','coming-soon', array($this, 'main_menu_function'));
|
47 |
+
$page_coming_soon = add_submenu_page('coming-soon', 'Subscribers', 'Subscribers', 'manage_options', 'mailing-list-subscribers', array($this, 'mailing_list'));
|
48 |
+
$page_featured = add_submenu_page('coming-soon', 'Featured Plugins', 'Featured Plugins', 'manage_options', 'coming-soon-featured-plugins', array($this, 'featured_plugins'));
|
49 |
+
add_action('admin_print_styles-' . $main_page, array($this, 'menu_requeried_scripts'));
|
50 |
+
add_action('admin_print_styles-' . $page_coming_soon, array($this, 'menu_requeried_scripts'));
|
51 |
+
add_action('admin_print_styles-' . $page_featured, array($this, 'menu_requeried_scripts'));
|
52 |
+
if (isset($submenu[$sub_men_cap]))
|
53 |
+
add_submenu_page($sub_men_cap, "Support or Any Ideas?", "<span style='color:#00ff66' >Support or Any Ideas?</span>", 'manage_options', "wpdevart_comingsoon_any_ideas", array($this, 'any_ideas'), 155);
|
54 |
+
if (isset($submenu[$sub_men_cap]))
|
55 |
+
$submenu[$sub_men_cap][3][2] = esc_url(wpdevart_comingsoon_support_url);
|
56 |
}
|
57 |
+
public function any_ideas() {
|
|
|
58 |
}
|
59 |
|
60 |
+
/*############ Menu required scripts function ################*/
|
61 |
+
|
62 |
+
public function menu_requeried_scripts() {
|
63 |
+
wp_enqueue_script('wp-color-picker');
|
64 |
+
wp_enqueue_style('wp-color-picker');
|
65 |
wp_enqueue_script('jquery-ui-sortable');
|
66 |
wp_enqueue_script('angularejs');
|
67 |
+
wp_enqueue_script('jquery-ui-datepicker');
|
68 |
+
wp_enqueue_script('coming-soon-script-admin');
|
69 |
wp_enqueue_style('jquery-ui-style');
|
70 |
+
wp_enqueue_script('jquery-ui-slider');
|
71 |
wp_enqueue_style('coming-soon-admin-style');
|
|
|
72 |
wp_enqueue_media();
|
73 |
}
|
74 |
+
|
75 |
+
/*############ Function for generating parameters ################*/
|
76 |
+
|
77 |
+
private function generete_parametrs($page_name) {
|
78 |
+
$page_parametrs = array();
|
79 |
+
if (isset($this->databese_parametrs[$page_name])) {
|
80 |
+
foreach ($this->databese_parametrs[$page_name] as $key => $value) {
|
81 |
+
$page_parametrs[$key] = get_option($key, $value);
|
82 |
}
|
83 |
return $page_parametrs;
|
84 |
}
|
85 |
return NULL;
|
|
|
86 |
}
|
87 |
+
|
88 |
+
/*############ Database function ################*/
|
89 |
+
|
90 |
+
public function save_in_databese() {
|
91 |
+
$kk = 1;
|
92 |
+
if (isset($_POST['coming_soon_options_nonce']) && wp_verify_nonce($_POST['coming_soon_options_nonce'], 'coming_soon_options_nonce')) {
|
|
|
93 |
$curent_page = sanitize_text_field($_POST['curent_page']);
|
94 |
+
foreach ($this->databese_parametrs[$_POST['curent_page']] as $key => $value) {
|
95 |
+
if (isset($_POST[$key])) {
|
96 |
+
if (strpos($key, 'message') !== false) {
|
97 |
$sanitize_post = wp_kses_post($_POST[$key]);
|
98 |
+
} else {
|
99 |
$sanitize_post = sanitize_text_field($_POST[$key]);
|
100 |
+
}
|
101 |
+
update_option($key, stripslashes_deep($sanitize_post));
|
102 |
+
} else {
|
103 |
+
$kk = 0;
|
104 |
+
printf($this->text_parametrs['error_in_saving'], $key);
|
105 |
}
|
106 |
+
}
|
107 |
+
} else {
|
108 |
+
die(esc_html($this->text_parametrs['authorize_problem']));
|
|
|
109 |
}
|
110 |
+
if ($kk == 0) {
|
111 |
exit;
|
112 |
}
|
113 |
+
die(esc_html($this->text_parametrs['parametrs_sucsses_saved']));
|
114 |
}
|
115 |
+
|
116 |
+
/*############ Main menu function ################*/
|
117 |
+
|
118 |
+
public function main_menu_function() {
|
119 |
+
$enable_disable = $this->generete_parametrs('general_save_parametr');
|
120 |
+
$enable_disable = $enable_disable['coming_soon_page_mode'];
|
121 |
+
?>
|
122 |
+
<script>
|
123 |
+
var coming_soon_ajaxurl = "<?php echo esc_url(admin_url('admin-ajax.php')); ?>";
|
124 |
+
var comig_soon_plugin_url = "<?php echo esc_url($this->plugin_url); ?>";
|
125 |
+
var comin_soon_parametrs_sucsses_saved = "<?php echo esc_html($this->text_parametrs['parametrs_sucsses_saved']); ?>";
|
126 |
+
var comin_soon_all_parametrs = <?php echo wp_json_encode($this->databese_parametrs); ?>;
|
127 |
+
</script>
|
128 |
<div class="wpdevart_plugins_header div-for-clear">
|
129 |
<div class="wpdevart_plugins_get_pro div-for-clear">
|
130 |
<div class="wpdevart_plugins_get_pro_info">
|
131 |
<h3>WpDevArt Coming Soon Premium</h3>
|
132 |
<p>Powerful and Customizable Coming Soon</p>
|
133 |
</div>
|
134 |
+
<a target="blank" href="http://wpdevart.com/wordpress-coming-soon-plugin/" class="wpdevart_upgrade">Upgrade</a>
|
135 |
</div>
|
136 |
+
<a target="blank" href="<?php echo esc_url(wpdevart_comingsoon_support_url); ?>" class="wpdevart_support">Have any Questions? Get a quick support!</a>
|
137 |
+
</div>
|
138 |
+
<div id="coming_soon_enable" class="field switch">
|
139 |
+
<label for="radio1" class="cb-enable <?php if ($enable_disable == 'on') echo 'selected'; ?>"><span>Enable</span></label>
|
140 |
+
<label for="radio2" class="cb-disable <?php if ($enable_disable == 'off') echo 'selected'; ?>"><span>Disable</span></label>
|
141 |
+
<span class="progress_enable_disable_buttons"><span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span><span class="error_massage"></span></span>
|
142 |
+
<div style="clear:both"> </div>
|
143 |
+
</div>
|
144 |
+
<br>
|
145 |
+
|
146 |
+
<div class="wp-table right_margin">
|
147 |
+
<table class="wp-list-table widefat fixed posts">
|
148 |
+
<thead>
|
149 |
+
<tr>
|
150 |
+
<th>
|
151 |
+
<h4 class="live_previev">Parameters <a target="_blank" href="<?php echo esc_url(site_url()); ?>/?special_variable_for_live_previev=sdfg564sfdh645fds4ghs515vsr5g48strh846sd6g41513btsd" style="color:#7052fb;">(Live Preview)</a></h4>
|
152 |
+
<span class="save_all_paramss"> <button type="button" id="save_all_parametrs" class="save_all_section_parametrs button button-primary"><span class="save_button_span">Save All Sections</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button></span>
|
153 |
+
</th>
|
154 |
+
</tr>
|
155 |
+
</thead>
|
156 |
+
<tbody>
|
157 |
+
<tr>
|
158 |
+
<td>
|
159 |
+
<div id="coming_soon_page">
|
160 |
+
<div class="left_sections">
|
161 |
+
<?php
|
162 |
+
$this->generete_logo_section($this->generete_parametrs('coming_logo'));
|
163 |
+
$this->generete_title_section($this->generete_parametrs('coming_title'));
|
164 |
+
$this->generete_message_section($this->generete_parametrs('coming_message'));
|
165 |
+
$this->generete_countdown_section($this->generete_parametrs('coming_countdown'));
|
166 |
+
$this->generete_progressbar_section($this->generete_parametrs('coming_progressbar'));
|
167 |
+
$this->generete_subscribe_section($this->generete_parametrs('coming_subscribe'));
|
168 |
+
$this->generete_social_network_section($this->generete_parametrs('coming_social_networks'));
|
169 |
+
$this->generete_link_to_tashboard_section($this->generete_parametrs('coming_link_to_dashboard'));
|
170 |
+
$this->generete_message_footer_section($this->generete_parametrs('coming_message_footer'));
|
171 |
+
?>
|
172 |
+
</div>
|
173 |
+
<div class="right_sections">
|
174 |
+
<?php
|
175 |
+
$this->generete_content_section($this->generete_parametrs('coming_content'));
|
176 |
+
$this->generete_background_section($this->generete_parametrs('coming_background'));
|
177 |
+
$this->generete_except_section($this->generete_parametrs('except_page'));
|
178 |
+
$this->generete_search_engine_section($this->generete_parametrs('search_engine_and_favicon'));
|
179 |
+
?>
|
180 |
+
</div>
|
181 |
+
<div style="clear:both"></div>
|
182 |
+
</td>
|
183 |
+
</tr>
|
184 |
+
</tbody>
|
185 |
+
<tfoot>
|
186 |
+
<tr>
|
187 |
+
<th>
|
188 |
+
<span class="save_all_paramss"><button type="button" id="save_all_parametrs" class="save_all_section_parametrs button button-primary"><span class="save_button_span">Save All Sections</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button></span>
|
189 |
+
</th>
|
190 |
+
</tr>
|
191 |
+
</tfoot>
|
192 |
+
</table>
|
193 |
+
</div>
|
194 |
+
<?php
|
195 |
+
wp_nonce_field('coming_soon_options_nonce', 'coming_soon_options_nonce');
|
196 |
}
|
197 |
+
|
198 |
/*######################### Logo Function #################################*/
|
199 |
|
200 |
+
public function generete_logo_section($page_parametrs) {
|
201 |
|
202 |
+
?>
|
203 |
+
<div class="main_parametrs_group_div closed_params ">
|
204 |
<div class="head_panel_div" title="Click to toggle">
|
205 |
+
<span class="title_parametrs_image"><img src="<?php echo esc_url($this->plugin_url) . 'images/logo.png' ?>"></span>
|
206 |
<span class="title_parametrs_group">Logo</span>
|
207 |
<span class="enabled_or_disabled_parametr"></span>
|
208 |
+
<span class="open_or_closed"></span>
|
209 |
</div>
|
210 |
<div class="inside_information_div">
|
211 |
+
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
212 |
+
<tbody>
|
213 |
+
<tr>
|
214 |
+
<td>
|
215 |
+
Show the Logo<span title="Use this option to show/hide your logo from Coming soon page." class="desription_class">?</span>
|
216 |
+
</td>
|
217 |
+
<td>
|
218 |
+
<select id="coming_soon_page_logo_enable">
|
219 |
+
<option <?php selected($page_parametrs['coming_soon_page_logo_enable'], '1') ?> value="1">Show</option>
|
220 |
+
<option <?php selected($page_parametrs['coming_soon_page_logo_enable'], '0') ?> value="0">Hide</option>
|
221 |
+
</select>
|
222 |
+
</td>
|
223 |
+
</tr>
|
224 |
+
<tr>
|
225 |
+
<td>
|
226 |
+
Logo<span title="Click 'Upload' button to upload coming soon page logo." class="desription_class">?</span>
|
227 |
+
</td>
|
228 |
+
<td>
|
229 |
+
<input type="text" class="upload" id="coming_soon_page_page_logo" name="coming_soon_page_page_logo" value="<?php echo esc_html($page_parametrs['coming_soon_page_page_logo']); ?>" />
|
230 |
+
<input class="upload-button button" type="button" value="Upload" />
|
231 |
+
</td>
|
232 |
+
</tr>
|
233 |
+
<tr>
|
234 |
+
<td>
|
235 |
+
Logo position<span class="pro_feature"> (pro)</span> <span title="Here you can choose Coming soon page logo position(Left, Center, Right)." class="desription_class">?</span>
|
236 |
+
</td>
|
237 |
+
<td>
|
238 |
+
<select class="pro_select" id="coming_soon_page_logo_in_content_position">
|
239 |
+
<option value="0">Left</option>
|
240 |
+
<option selected="selected" value="1">Center</option>
|
241 |
+
<option value="2">Right</option>
|
242 |
+
</select>
|
243 |
+
</td>
|
244 |
+
</tr>
|
245 |
+
<tr>
|
246 |
+
<td>
|
247 |
+
Distance from the top<span class="pro_feature"> (pro)</span> <span title="Type here your logo distance from the top." class="desription_class">?</span>
|
248 |
+
</td>
|
249 |
+
<td>
|
250 |
+
<input class="pro_input" type="text" name="coming_soon_page_logo_top_distance" id="coming_soon_page_logo_top_distance" value="10">(Px)
|
251 |
+
</td>
|
252 |
+
</tr>
|
253 |
+
|
254 |
+
<tr>
|
255 |
+
<td>
|
256 |
+
Logo maximum width<span class="pro_feature"> (pro)</span> <span title="Type here coming soon page logo maximum width(px)." class="desription_class">?</span>
|
257 |
+
</td>
|
258 |
+
<td>
|
259 |
+
<input class="pro_input" type="text" name="coming_soon_page_logo_max_width" id="coming_soon_page_logo_max_width" value="">(Px)
|
260 |
+
</td>
|
261 |
+
</tr>
|
262 |
+
<tr>
|
263 |
+
<td>
|
264 |
+
Logo maximum height<span class="pro_feature"> (pro)</span> <span title="Type here coming soon page logo maximum height(px)." class="desription_class">?</span>
|
265 |
+
</td>
|
266 |
+
<td>
|
267 |
+
<input class="pro_input" type="text" name="coming_soon_page_logo_max_height" id="coming_soon_page_logo_max_height" value="210">(Px)
|
268 |
+
</td>
|
269 |
+
</tr>
|
270 |
+
<tr>
|
271 |
+
<td>
|
272 |
+
Logo Animation type<span class="pro_feature"> (pro)</span> <span title="Select animation type for the coming soon page logo." class="desription_class">?</span>
|
273 |
+
</td>
|
274 |
+
<td>
|
275 |
+
<?php $this->create_select_element_for_showing_effect('coming_soon_page_logo_animation_type', 'none'); ?>
|
276 |
+
</td>
|
277 |
+
</tr>
|
278 |
+
<tr>
|
279 |
+
<td>
|
280 |
+
Animation waiting time<span class="pro_feature"> (pro)</span> <span title="Type here the Logo animation(in milliseconds) waiting time." class="desription_class">?</span>
|
281 |
+
</td>
|
282 |
+
<td>
|
283 |
+
<input class="pro_input" type="text" name="coming_soon_page_logo_animation_after_time" id="coming_soon_page_logo_animation_after_time" value="0">(milliseconds)
|
284 |
+
</td>
|
285 |
+
</tr>
|
286 |
+
</tbody>
|
287 |
<tfoot>
|
288 |
<tr>
|
289 |
<th colspan="2" width="100%"><button type="button" id="coming_logo" class="save_section_parametrs button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
290 |
</tr>
|
291 |
+
</tfoot>
|
292 |
</table>
|
293 |
+
</div>
|
294 |
+
</div>
|
295 |
+
<?php
|
296 |
}
|
|
|
|
|
|
|
|
|
297 |
|
298 |
+
/*######################### Maintenance page Title Function #################################*/
|
299 |
+
|
300 |
+
public function generete_title_section($page_parametrs) {
|
301 |
+
|
302 |
+
?>
|
303 |
+
<div class="main_parametrs_group_div closed_params ">
|
304 |
<div class="head_panel_div" title="Click to toggle">
|
305 |
+
<span class="title_parametrs_image"><img src="<?php echo esc_url($this->plugin_url) . 'images/title.png' ?>"></span>
|
306 |
<span class="title_parametrs_group">Title</span>
|
307 |
<span class="enabled_or_disabled_parametr"></span>
|
308 |
+
<span class="open_or_closed"></span>
|
309 |
</div>
|
310 |
<div class="inside_information_div">
|
311 |
+
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
312 |
+
<tbody>
|
313 |
+
<tr>
|
314 |
+
<td>
|
315 |
+
Show the Title<span title="Use this option to show/hide title from Coming soon page." class="desription_class">?</span>
|
316 |
+
</td>
|
317 |
+
<td>
|
318 |
+
<select id="coming_soon_page_title_enable">
|
319 |
+
<option <?php selected($page_parametrs['coming_soon_page_title_enable'], '1') ?> value="1">Show</option>
|
320 |
+
<option <?php selected($page_parametrs['coming_soon_page_title_enable'], '0') ?> value="0">Hide</option>
|
321 |
+
</select>
|
322 |
+
</td>
|
323 |
+
</tr>
|
324 |
+
<tr>
|
325 |
+
<td>
|
326 |
+
Title<span title="Type here coming soon page title." class="desription_class">?</span>
|
327 |
+
</td>
|
328 |
+
<td>
|
329 |
+
<input type="text" name="coming_soon_page_page_title" id="coming_soon_page_page_title" value="<?php echo esc_html($page_parametrs['coming_soon_page_page_title']); ?>">
|
330 |
+
</td>
|
331 |
+
</tr>
|
332 |
+
<tr>
|
333 |
+
<td>
|
334 |
+
Title color<span class="pro_feature"> (pro)</span> <span title="Select the title color." class="desription_class">?</span>
|
335 |
+
</td>
|
336 |
+
<td>
|
337 |
+
<div class="wp-picker-container disabled_picker">
|
338 |
+
<button type="button" class="button wp-color-result" aria-expanded="false" style="background-color: rgb(0, 0, 0);"><span class="wp-color-result-text">Select Color</span></button>
|
339 |
+
</div>
|
340 |
+
</td>
|
341 |
+
</tr>
|
342 |
+
<tr>
|
343 |
+
<td>
|
344 |
+
Title Font size<span class="pro_feature"> (pro)</span> <span title="Type here your coming soon page title font size(px)." class="desription_class">?</span>
|
345 |
+
</td>
|
346 |
+
<td>
|
347 |
+
<input type="text" class="pro_input" name="coming_soon_page_page_title_font_size" id="coming_soon_page_page_title_font_size" value="55">(Px)
|
348 |
+
</td>
|
349 |
+
</tr>
|
350 |
+
<tr>
|
351 |
+
<td>
|
352 |
+
Title Font-family<span class="pro_feature"> (pro)</span> <span title="Choose title font family." class="desription_class">?</span>
|
353 |
+
</td>
|
354 |
+
<td>
|
355 |
+
<?php $this->create_select_element_for_font('coming_soon_page_page_title_font', 'Times New Roman,Times,Georgia,serif') ?>
|
356 |
+
</td>
|
357 |
+
</tr>
|
358 |
+
<tr>
|
359 |
+
<td>
|
360 |
+
Title position<span class="pro_feature"> (pro)</span> <span title="Choose your coming soon page title position(Left, Center, Right)." class="desription_class">?</span>
|
361 |
+
</td>
|
362 |
+
<td>
|
363 |
+
<select class="pro_select" id="coming_soon_page_title_in_content_position">
|
364 |
+
<option value="0">Left</option>
|
365 |
+
<option selected="selected" value="1">Center</option>
|
366 |
+
<option value="2">Right</option>
|
367 |
+
</select>
|
368 |
+
</td>
|
369 |
+
</tr>
|
370 |
+
<tr>
|
371 |
+
<td>
|
372 |
+
Distance from the top<span class="pro_feature"> (pro)</span> <span title="Type here title field distance from the top." class="desription_class">?</span>
|
373 |
+
</td>
|
374 |
+
<td>
|
375 |
+
<input class="pro_input" type="text" name="coming_soon_page_title_top_distance" id="coming_soon_page_title_top_distance" value="10">(Px)
|
376 |
+
</td>
|
377 |
+
</tr>
|
378 |
+
<tr>
|
379 |
+
<td>
|
380 |
+
Title Animation type<span class="pro_feature"> (pro)</span> <span title="Choose title animation type." class="desription_class">?</span>
|
381 |
+
</td>
|
382 |
+
<td>
|
383 |
+
<?php $this->create_select_element_for_showing_effect('coming_soon_page_title_animation_type', 'none'); ?>
|
384 |
+
</td>
|
385 |
+
</tr>
|
386 |
+
<tr>
|
387 |
+
<td>
|
388 |
+
Animation waiting time<span class="pro_feature"> (pro)</span> <span title="Type here title animation(in milliseconds) waiting time." class="desription_class">?</span>
|
389 |
+
</td>
|
390 |
+
<td>
|
391 |
+
<input class="pro_input" type="text" name="coming_soon_page_title_animation_after_time" id="coming_soon_page_title_animation_after_time" value="0">(milliseconds)
|
392 |
+
</td>
|
393 |
+
</tr>
|
394 |
+
</tbody>
|
395 |
<tfoot>
|
396 |
<tr>
|
397 |
<th colspan="2" width="100%"><button type="button" id="coming_title" class="save_section_parametrs button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
398 |
</tr>
|
399 |
+
</tfoot>
|
400 |
</table>
|
401 |
+
</div>
|
402 |
+
</div>
|
403 |
+
<?php
|
404 |
}
|
|
|
|
|
405 |
|
406 |
+
/*######################### Maintenance page Content function #################################*/
|
407 |
|
408 |
+
public function generete_message_section($page_parametrs) {
|
409 |
+
|
410 |
+
?>
|
411 |
+
<div class="main_parametrs_group_div closed_params ">
|
412 |
<div class="head_panel_div" title="Click to toggle">
|
413 |
+
<span class="title_parametrs_image"><img src="<?php echo esc_url($this->plugin_url) . 'images/message.png' ?>"></span>
|
414 |
<span class="title_parametrs_group">Message</span>
|
415 |
<span class="enabled_or_disabled_parametr"></span>
|
416 |
+
<span class="open_or_closed"></span>
|
417 |
</div>
|
418 |
<div class="inside_information_div">
|
419 |
+
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
420 |
+
<tbody>
|
421 |
+
<tr>
|
422 |
+
<td>
|
423 |
+
Show the Message <span title="Use this option to show/hide Message box from Coming soon page." class="desription_class">?</span>
|
424 |
+
</td>
|
425 |
+
<td>
|
426 |
+
<select id="coming_soon_page_message_enable">
|
427 |
+
<option <?php selected($page_parametrs['coming_soon_page_message_enable'], '1') ?> value="1">Show</option>
|
428 |
+
<option <?php selected($page_parametrs['coming_soon_page_message_enable'], '0') ?> value="0">Hide</option>
|
429 |
+
</select>
|
430 |
+
</td>
|
431 |
+
</tr>
|
432 |
+
<tr>
|
433 |
+
<td colspan="2">
|
434 |
+
<b>Message</b>
|
435 |
+
<div style="width:100%"> <?php wp_editor(wp_filter_post_kses(stripslashes($page_parametrs['coming_soon_page_page_message'])), 'coming_soon_page_page_message', $settings = array('media_buttons' => false, 'textarea_rows' => 5)); ?></div>
|
436 |
+
</td>
|
437 |
+
|
438 |
+
</tr>
|
439 |
+
<tr>
|
440 |
+
<td>
|
441 |
+
Message position<span class="pro_feature"> (pro)</span> <span title="Choose Message box position(Left, Center, Right)." class="desription_class">?</span>
|
442 |
+
</td>
|
443 |
+
<td>
|
444 |
+
<select class="pro_select" id="coming_soon_page_message_in_content_position">
|
445 |
+
<option value="0">Left</option>
|
446 |
+
<option selected="selected" value="1">Center</option>
|
447 |
+
<option value="2">Right</option>
|
448 |
+
</select>
|
449 |
+
</td>
|
450 |
+
</tr>
|
451 |
+
<tr>
|
452 |
+
<td>
|
453 |
+
Distance from the top<span class="pro_feature"> (pro)</span> <span title="Type here Message box distance from the top." class="desription_class">?</span>
|
454 |
+
</td>
|
455 |
+
<td>
|
456 |
+
<input class="pro_input" type="text" name="coming_soon_page_message_top_distance" id="coming_soon_page_message_top_distance" value="10">(Px)
|
457 |
+
</td>
|
458 |
+
</tr>
|
459 |
+
<tr>
|
460 |
+
<td>
|
461 |
+
Message Animation type<span class="pro_feature"> (pro)</span> <span title="Choose the Message box animation type." class="desription_class">?</span>
|
462 |
+
</td>
|
463 |
+
<td>
|
464 |
+
<?php $this->create_select_element_for_showing_effect('coming_soon_page_message_animation_type', 'none'); ?>
|
465 |
+
</td>
|
466 |
+
</tr>
|
467 |
+
<tr>
|
468 |
+
<td>
|
469 |
+
Animation waiting time<span class="pro_feature"> (pro)</span> <span title="Type here Message box animation waiting time(in milliseconds)." class="desription_class">?</span>
|
470 |
+
</td>
|
471 |
+
<td>
|
472 |
+
<input type="text" name="coming_soon_page_message_animation_after_time" id="coming_soon_page_message_animation_after_time" value="0">(milliseconds)
|
473 |
+
</td>
|
474 |
+
</tr>
|
475 |
+
</tbody>
|
476 |
<tfoot>
|
477 |
<tr>
|
478 |
<th colspan="2" width="100%"><button type="button" id="coming_message" class="save_section_parametrs button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
479 |
</tr>
|
480 |
+
</tfoot>
|
481 |
</table>
|
482 |
+
</div>
|
483 |
+
</div>
|
484 |
+
<?php
|
485 |
}
|
|
|
|
|
|
|
|
|
486 |
|
487 |
+
/*######################### Countdown Timer Function #################################*/
|
488 |
+
|
489 |
+
public function generete_countdown_section($page_parametrs) {
|
490 |
+
|
491 |
+
?>
|
492 |
+
<div class="main_parametrs_group_div closed_params ">
|
493 |
<div class="head_panel_div" title="Click to toggle">
|
494 |
+
<span class="title_parametrs_image"><img src="<?php echo esc_url($this->plugin_url) . 'images/timer.png' ?>"></span>
|
495 |
<span class="title_parametrs_group">Countdown Timer <span class="pro_feature_label"> (Pro feature!)</span></span>
|
496 |
<span class="enabled_or_disabled_parametr"></span>
|
497 |
+
<span class="open_or_closed"></span>
|
498 |
</div>
|
499 |
<div class="inside_information_div">
|
500 |
+
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
501 |
+
<tbody>
|
502 |
+
<tr>
|
503 |
+
<td>
|
504 |
+
Display the Countdown Timer<span class="pro_feature"> (pro)</span> <span title="Show/hide Countdown from Coming soon page." class="desription_class">?</span>
|
505 |
+
</td>
|
506 |
+
<td>
|
507 |
+
<select class="pro_select" id="coming_soon_page_countdown_enable">
|
508 |
+
<option value="1">Show</option>
|
509 |
+
<option selected="selected" value="0">Hide</option>
|
510 |
+
</select>
|
511 |
+
</td>
|
512 |
+
</tr>
|
513 |
+
<tr>
|
514 |
+
<td>
|
515 |
+
Text for the day field<span class="pro_feature"> (pro)</span> <span title="Type here Day field text." class="desription_class">?</span>
|
516 |
+
</td>
|
517 |
+
<td>
|
518 |
+
<input class="pro_input" type="text" name="coming_soon_page_countdown_days_text" id="coming_soon_page_countdown_days_text" value="day">
|
519 |
+
</td>
|
520 |
+
</tr>
|
521 |
+
<tr>
|
522 |
+
<td>
|
523 |
+
Text for the hour field<span class="pro_feature"> (pro)</span> <span title="Type here Hour field text." class="desription_class">?</span>
|
524 |
+
</td>
|
525 |
+
<td>
|
526 |
+
<input class="pro_input" type="text" name="coming_soon_page_countdown_hourse_text" id="coming_soon_page_countdown_hourse_text" value="hour">
|
527 |
+
</td>
|
528 |
+
</tr>
|
529 |
+
<tr>
|
530 |
+
<td>
|
531 |
+
Text for the minute field<span class="pro_feature"> (pro)</span> <span title="Type here Minute field text." class="desription_class">?</span>
|
532 |
+
</td>
|
533 |
+
<td>
|
534 |
+
<input class="pro_input" type="text" name="coming_soon_page_countdown_minuts_text" id="coming_soon_page_countdown_minuts_text" value="minute">
|
535 |
+
</td>
|
536 |
+
</tr>
|
537 |
+
<tr>
|
538 |
+
<td>
|
539 |
+
Text for the second field<span class="pro_feature"> (pro)</span> <span title="Type here Second field text." class="desription_class">?</span>
|
540 |
+
</td>
|
541 |
+
<td>
|
542 |
+
<input class="pro_input" type="text" name="coming_soon_page_countdown_seconds_text" id="coming_soon_page_countdown_seconds_text" value="second">
|
543 |
+
</td>
|
544 |
+
</tr>
|
545 |
+
<tr>
|
546 |
+
<td>
|
547 |
+
Countdown Timer date<span class="pro_feature"> (pro)</span> <span title="Type here the Countdown time(days, hour), then select the Countdown start date." class="desription_class">?</span>
|
548 |
+
</td>
|
549 |
+
<td style="vertical-align: top !important;">
|
550 |
+
|
551 |
+
<span style="display:inline-block; width:45px;">
|
552 |
+
<input class="pro_input" type="text" onchange="refresh_countdown()" placeholder="Day" id="coming_soon_page_countdownday" size="2" value="" />
|
553 |
+
<small style="display:block">Day</small>
|
554 |
+
</span>
|
555 |
+
<span style="display:inline-block; width:65px;">
|
556 |
+
<input class="pro_input" type="text" onchange="refresh_countdown()" placeholder="Hour" id="coming_soon_page_countdownhour" size="5" value="" />
|
557 |
+
<small>Hour</small>
|
558 |
+
</span>
|
559 |
+
<span style="display:inline-block; width:100px;">
|
560 |
+
<input class="pro_input" type="text" onchange="refresh_countdown()" placeholder="Start date" id="coming_soon_page_countdownstart_day" size="9" value="" />
|
561 |
+
<small style="font-weight:bold;">Start date</small>
|
562 |
+
</span>
|
563 |
+
</td>
|
564 |
+
</tr>
|
565 |
+
<tr>
|
566 |
+
<td>
|
567 |
+
<span style="font-weight:bold;">After Countdown Timer expired</span><span class="pro_feature"> (pro)</span> <span title="Choose the action you need when Countdown timer expired(Disable coming soon or only hide Countdown)." class="desription_class">?</span>
|
568 |
+
</td>
|
569 |
+
<td>
|
570 |
+
<select class="pro_select" id="coming_soon_page_countdownstart_on">
|
571 |
+
<option value="on">Disable coming soon</option>
|
572 |
+
<option selected="selected" value="off">Hide Countdown</option>
|
573 |
+
</select>
|
574 |
+
</td>
|
575 |
+
</tr>
|
576 |
+
<tr>
|
577 |
+
<td>
|
578 |
+
Countdown Timer position<span class="pro_feature"> (pro)</span> <span title="Choose position for countdown(Left, Center, Right)." class="desription_class">?</span>
|
579 |
+
</td>
|
580 |
+
<td>
|
581 |
+
<select class="pro_select" id="coming_soon_page_countdown_in_content_position">
|
582 |
+
<option value="0">Left</option>
|
583 |
+
<option selected="selected" value="1">Center</option>
|
584 |
+
<option value="2">Right</option>
|
585 |
+
</select>
|
586 |
+
</td>
|
587 |
+
</tr>
|
588 |
+
<tr>
|
589 |
+
<td>
|
590 |
+
Distance from the top<span class="pro_feature"> (pro)</span> <span title="Type here countdown distance from the top." class="desription_class">?</span>
|
591 |
+
</td>
|
592 |
+
<td>
|
593 |
+
<input class="pro_input" type="text" name="coming_soon_page_countdown_top_distance" id="coming_soon_page_countdown_top_distance" value="10">(Px)
|
594 |
+
</td>
|
595 |
+
</tr>
|
596 |
+
|
597 |
+
<tr>
|
598 |
+
<td>
|
599 |
+
Countdown Timer Buttons type<span class="pro_feature"> (pro)</span> <span title="Choose the countdown buttons type(button, circle, vertical slider)" class="desription_class">?</span>
|
600 |
+
</td>
|
601 |
+
<td>
|
602 |
+
<select class="pro_select" id="coming_soon_page_countdown_type" class="coming_set_hiddens">
|
603 |
+
<option selected="selected" value="button">Button</option>
|
604 |
+
<option value="circle">Circle</option>
|
605 |
+
<option value="vertical_slide">Vertical Slider</option>
|
606 |
+
</select>
|
607 |
+
</td>
|
608 |
+
</tr>
|
609 |
+
|
610 |
+
<tr class="tr_button tr_circle tr_vertical_slide">
|
611 |
+
<td>
|
612 |
+
Countdown Timer text color<span class="pro_feature"> (pro)</span> <span title="Select the countdown text color." class="desription_class">?</span>
|
613 |
+
</td>
|
614 |
+
<td>
|
615 |
+
<div class="wp-picker-container disabled_picker">
|
616 |
+
<button type="button" class="button wp-color-result" aria-expanded="false" style="background-color: rgb(0, 0, 0);"><span class="wp-color-result-text">Select Color</span></button>
|
617 |
+
</div>
|
618 |
+
</td>
|
619 |
+
</tr>
|
620 |
+
<tr class="tr_button tr_circle tr_vertical_slide">
|
621 |
+
<td>
|
622 |
+
Countdown Timer background color<span class="pro_feature"> (pro)</span> <span title="Select the countdown background color." class="desription_class">?</span>
|
623 |
+
</td>
|
624 |
+
<td>
|
625 |
+
<div class="wp-picker-container disabled_picker">
|
626 |
+
<button type="button" class="button wp-color-result" aria-expanded="false" style="background-color: rgb(255, 255, 255);"><span class="wp-color-result-text">Select Color</span></button>
|
627 |
+
</div>
|
628 |
+
</td>
|
629 |
+
</tr>
|
630 |
+
<tr class="tr_circle">
|
631 |
+
<td>
|
632 |
+
Countdown Timer size<span class="pro_feature"> (pro)</span> <span title="Configure the countdown size." class="desription_class">?</span>
|
633 |
+
</td>
|
634 |
+
<td>
|
635 |
+
<input class="pro_input" type="text" name="coming_soon_page_countdown_circle_size" id="coming_soon_page_countdown_circle_size" value="120">(Px)
|
636 |
+
</td>
|
637 |
+
</tr>
|
638 |
+
|
639 |
+
<tr class="tr_circle">
|
640 |
+
<td>
|
641 |
+
Countdown Timer border width<span class="pro_feature"> (pro)</span> <span title="Select the countdown border width for circle buttons(only apears when you choose Countedown circle buttons)(px)." class="desription_class">?</span>
|
642 |
+
</td>
|
643 |
+
<td>
|
644 |
+
<input type="text" size="3" class="coming_number_slider pro_input" data-max-val="100" data-min-val="0" name="coming_soon_page_countdown_circle_border" value="3" id="coming_soon_page_countdown_circle_border" style="border:0; color:#f6931f; font-weight:bold; width:35px">%
|
645 |
+
<div class="slider_div"></div>
|
646 |
+
</td>
|
647 |
+
</tr>
|
648 |
+
<tr class="tr_button">
|
649 |
+
<td>
|
650 |
+
Countdown Timer border radius<span class="pro_feature"> (pro)</span> <span title="Type here the countdown buttons border radius(px)." class="desription_class">?</span>
|
651 |
+
</td>
|
652 |
+
<td>
|
653 |
+
<input class="pro_input" type="text" name="countdown_border_radius" id="countdown_border_radius" value="15">(Px)
|
654 |
+
</td>
|
655 |
+
</tr>
|
656 |
+
<tr class="tr_button tr_vertical_slide">
|
657 |
+
<td>
|
658 |
+
Countdown Timer font-size<span class="pro_feature"> (pro)</span> <span title="Type here the countedow text font-size(px)." class="desription_class">?</span>
|
659 |
+
</td>
|
660 |
+
<td>
|
661 |
+
<input class="pro_input" type="text" name="countdown_font_size" id="countdown_font_size" value="35">(Px)
|
662 |
+
</td>
|
663 |
+
</tr>
|
664 |
+
|
665 |
+
<tr class="tr_button tr_circle tr_vertical_slide">
|
666 |
+
<td>
|
667 |
+
Countdown Timer Font-family<span class="pro_feature"> (pro)</span> <span title="Select the countdown text Font family." class="desription_class">?</span>
|
668 |
+
</td>
|
669 |
+
<td>
|
670 |
+
<?php $this->create_select_element_for_font('coming_soon_page_countdown_font_famaly', 'monospace') ?>
|
671 |
+
</td>
|
672 |
+
</tr>
|
673 |
+
<tr>
|
674 |
+
<td>
|
675 |
+
Countdown Timer animation type<span class="pro_feature"> (pro)</span> <span title="Select animation type for countdown." class="desription_class">?</span>
|
676 |
+
</td>
|
677 |
+
<td>
|
678 |
+
<?php $this->create_select_element_for_showing_effect('coming_soon_page_countdown_animation_type', 'none'); ?>
|
679 |
+
</td>
|
680 |
+
</tr>
|
681 |
+
<tr>
|
682 |
+
<td>
|
683 |
+
Animation waiting time<span class="pro_feature"> (pro)</span> <span title="Type here waiting time for countdown animation(in milliseconds)." class="desription_class">?</span>
|
684 |
+
</td>
|
685 |
+
<td>
|
686 |
+
<input type="text" class="pro_input" name="coming_soon_page_countdown_animation_after_time" id="coming_soon_page_countdown_animation_after_time" value="0">(milliseconds)
|
687 |
+
</td>
|
688 |
+
</tr>
|
689 |
+
</tbody>
|
690 |
<tfoot>
|
691 |
<tr>
|
692 |
<th colspan="2" width="100%"><button type="button" id="coming_countdown" class="pro_input button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
693 |
</tr>
|
694 |
+
</tfoot>
|
695 |
</table>
|
696 |
+
</div>
|
697 |
+
</div>
|
698 |
+
<?php
|
699 |
}
|
|
|
|
|
700 |
|
701 |
+
/*######################### Maintenance page Progress bar function #################################*/
|
702 |
|
703 |
+
public function generete_progressbar_section($page_parametrs) {
|
704 |
+
|
705 |
+
?>
|
706 |
+
<div class="main_parametrs_group_div closed_params ">
|
707 |
<div class="head_panel_div" title="Click to toggle">
|
708 |
+
<span class="title_parametrs_image"><img src="<?php echo esc_url($this->plugin_url) . 'images/progressbar.png' ?>"></span>
|
709 |
+
<span class="title_parametrs_group">Progress bar<span class="pro_feature_label"> (Pro feature!)</span></span>
|
710 |
<span class="enabled_or_disabled_parametr"></span>
|
711 |
+
<span class="open_or_closed"></span>
|
712 |
</div>
|
713 |
<div class="inside_information_div">
|
714 |
+
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
715 |
+
<tbody>
|
716 |
+
<tr>
|
717 |
+
<td>
|
718 |
+
Show the Progress bar<span class="pro_feature"> (pro)</span> <span title="Use this option to show/hide the Progress bar from the Coming soon page." class="desription_class">?</span>
|
719 |
+
</td>
|
720 |
+
<td>
|
721 |
+
<select class="pro_select" id="coming_soon_page_progressbar_enable">
|
722 |
+
<option value="1">Show</option>
|
723 |
+
<option selected="selected" value="0">Hide</option>
|
724 |
+
</select>
|
725 |
+
</td>
|
726 |
+
</tr>
|
727 |
+
<tr>
|
728 |
+
<td>
|
729 |
+
Progress bar processing percentage<span class="pro_feature"> (pro)</span> <span title="Use this option to select the Progress bar processing percentage." class="desription_class">?</span>
|
730 |
+
</td>
|
731 |
+
<td>
|
732 |
+
<input type="text" size="3" class="coming_number_slider pro_input" data-max-val="100" data-min-val="0" name="coming_soon_page_progressbar_initial_pracent" value="25" id="coming_soon_page_progressbar_initial_pracent" style="border:0; color:#f6931f; font-weight:bold; width:35px">%
|
733 |
+
<div class="slider_div"></div>
|
734 |
+
</td>
|
735 |
+
</tr>
|
736 |
+
<tr>
|
737 |
+
<td>
|
738 |
+
Progress bar Width<span class="pro_feature"> (pro)</span> <span title="Type here Progress bar width(px)." class="desription_class">?</span>
|
739 |
+
</td>
|
740 |
+
<td>
|
741 |
+
<input type="text" size="3" class="coming_number_slider pro_input" data-max-val="100" data-min-val="0" name="coming_soon_page_progressbar_width" value="100" id="coming_soon_page_progressbar_width" style="border:0; color:#f6931f; font-weight:bold; width:35px">%
|
742 |
+
<div class="slider_div"></div>
|
743 |
+
</td>
|
744 |
+
</tr>
|
745 |
+
<tr>
|
746 |
+
<td>
|
747 |
+
Progress bar position<span class="pro_feature"> (pro)</span> <span title="Choose position for Progress bar(Left, Center, Right)." class="desription_class">?</span>
|
748 |
+
</td>
|
749 |
+
<td>
|
750 |
+
<select class="pro_select" id="coming_soon_page_progressbar_in_content_position">
|
751 |
+
<option value="0">Left</option>
|
752 |
+
<option selected="selected" value="1">Center</option>
|
753 |
+
<option value="2">Right</option>
|
754 |
+
</select>
|
755 |
+
</td>
|
756 |
+
</tr>
|
757 |
+
<tr>
|
758 |
+
<td>
|
759 |
+
Distance from the top<span class="pro_feature"> (pro)</span> <span title="Type here the Progress bar distance from the top." class="desription_class">?</span>
|
760 |
+
</td>
|
761 |
+
<td>
|
762 |
+
<input class="pro_input" type="text" name="coming_soon_page_progressbar_top_distance" id="coming_soon_page_progressbar_top_distance" value="10">(Px)
|
763 |
+
</td>
|
764 |
+
</tr>
|
765 |
+
<tr>
|
766 |
+
<td>
|
767 |
+
Progress bar load color<span class="pro_feature"> (pro)</span> <span title="Select the progress bar load color." class="desription_class">?</span>
|
768 |
+
</td>
|
769 |
+
<td>
|
770 |
+
<div class="wp-picker-container disabled_picker">
|
771 |
+
<button type="button" class="button wp-color-result" aria-expanded="false" style="background-color: rgb(255, 255, 255);"><span class="wp-color-result-text">Select Color</span></button>
|
772 |
+
</div>
|
773 |
+
</td>
|
774 |
+
</tr>
|
775 |
+
<tr>
|
776 |
+
<td>
|
777 |
+
Border color<span class="pro_feature"> (pro)</span> <span title="Select the Progress bar border color." class="desription_class">?</span>
|
778 |
+
</td>
|
779 |
+
<td>
|
780 |
+
<div class="wp-picker-container disabled_picker">
|
781 |
+
<button type="button" class="button wp-color-result" aria-expanded="false" style="background-color: rgb(0, 0, 0);"><span class="wp-color-result-text">Select Color</span></button>
|
782 |
+
</div>
|
783 |
+
</td>
|
784 |
+
</tr>
|
785 |
+
<tr>
|
786 |
+
<td>
|
787 |
+
Border width<span class="pro_feature"> (pro)</span> <span title="Set progress bar border width(px)." class="desription_class">?</span>
|
788 |
+
</td>
|
789 |
+
<td>
|
790 |
+
<input class="pro_input" type="text" name="coming_soon_page_progressbar_border_width" id="coming_soon_page_progressbar_border_width" value="3">(Px)
|
791 |
+
</td>
|
792 |
+
</tr>
|
793 |
+
<tr>
|
794 |
+
<td>
|
795 |
+
Border radius<span class="pro_feature"> (pro)</span> <span title="Set the progress bar border radius(px)." class="desription_class">?</span>
|
796 |
+
</td>
|
797 |
+
<td>
|
798 |
+
<input class="pro_input" type="text" name="coming_soon_page_progressbar_border_radius" id="coming_soon_page_progressbar_border_radius" value="15">(Px)
|
799 |
+
</td>
|
800 |
+
</tr>
|
801 |
+
|
802 |
+
<tr>
|
803 |
+
<td>
|
804 |
+
Animation type<span class="pro_feature"> (pro)</span> <span title="Choose animation type for Progress bar." class="desription_class">?</span>
|
805 |
+
</td>
|
806 |
+
<td>
|
807 |
+
<?php $this->create_select_element_for_showing_effect('coming_soon_page_progressbar_animation_type', 'none'); ?>
|
808 |
+
</td>
|
809 |
+
</tr>
|
810 |
+
<tr>
|
811 |
+
<td>
|
812 |
+
Animation waiting time<span class="pro_feature"> (pro)</span> <span title="Type here waiting time for Progress bar animation(in milliseconds)." class="desription_class">?</span>
|
813 |
+
</td>
|
814 |
+
<td>
|
815 |
+
<input class="pro_input" type="text" name="coming_soon_page_progressbar_animation_after_time" id="coming_soon_page_progressbar_animation_after_time" value="0">(milliseconds)
|
816 |
+
</td>
|
817 |
+
</tr>
|
818 |
+
|
819 |
+
</tbody>
|
820 |
<tfoot>
|
821 |
<tr>
|
822 |
<th colspan="2" width="100%"><button type="button" id="coming_progressbar" class="pro_input button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
823 |
</tr>
|
824 |
+
</tfoot>
|
825 |
</table>
|
826 |
+
</div>
|
827 |
+
</div>
|
828 |
+
<?php
|
829 |
}
|
830 |
+
|
831 |
/*######################### Maintenance page Subscribe function #################################*/
|
|
|
|
|
832 |
|
833 |
+
public function generete_subscribe_section($page_parametrs) {
|
834 |
+
|
835 |
+
?>
|
836 |
+
<div class="main_parametrs_group_div closed_params ">
|
837 |
<div class="head_panel_div" title="Click to toggle">
|
838 |
+
<span class="title_parametrs_image"><img src="<?php echo esc_url($this->plugin_url) . 'images/subscribe.png' ?>"></span>
|
839 |
+
<span class="title_parametrs_group">Subscribe Form (Mailing list)<span class="pro_feature_label"> (Pro feature!)</span></span>
|
840 |
<span class="enabled_or_disabled_parametr"></span>
|
841 |
+
<span class="open_or_closed"></span>
|
842 |
</div>
|
843 |
<div class="inside_information_div">
|
844 |
+
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
845 |
+
<tbody>
|
846 |
+
<tr>
|
847 |
+
<td>
|
848 |
+
Show the Subscribe Form<span class="pro_feature"> (pro)</span> <span title="Use this option to show or hide Subscribe Form from Coming soon page." class="desription_class">?</span>
|
849 |
+
</td>
|
850 |
+
<td>
|
851 |
+
<select class="pro_select" id="enable_mailing_list">
|
852 |
+
<option value="on">Show</option>
|
853 |
+
<option selected="selected" value="off">Hide</option>
|
854 |
+
</select>
|
855 |
+
</td>
|
856 |
+
</tr>
|
857 |
+
<tr>
|
858 |
+
<td>
|
859 |
+
First name<span class="pro_feature"> (pro)</span> <span title="Type here text for first name field." class="desription_class">?</span>
|
860 |
+
</td>
|
861 |
+
<td>
|
862 |
+
<input class="pro_input" type="text" name="coming_soon_page_subscribe_firstname" id="coming_soon_page_subscribe_firstname" value="First name">
|
863 |
+
</td>
|
864 |
+
</tr>
|
865 |
+
<tr>
|
866 |
+
<td>
|
867 |
+
Last name<span class="pro_feature"> (pro)</span> <span title="Type here text for last name field." class="desription_class">?</span>
|
868 |
+
</td>
|
869 |
+
<td>
|
870 |
+
<input class="pro_input" type="text" name="coming_soon_page_subscribe_lastname" id="coming_soon_page_subscribe_lastname" value="Last name">
|
871 |
+
</td>
|
872 |
+
</tr>
|
873 |
+
<tr>
|
874 |
+
<td>
|
875 |
+
Text for the email field <span class="pro_feature"> (pro)</span> <span title="Type here text for email field." class="desription_class">?</span>
|
876 |
+
</td>
|
877 |
+
<td>
|
878 |
+
<input class="pro_input" type="text" name="mailing_list_value_of_emptyt" id="mailing_list_value_of_emptyt" value="Email">
|
879 |
+
</td>
|
880 |
+
</tr>
|
881 |
+
<tr>
|
882 |
+
<td>
|
883 |
+
Text for the Send button<span class="pro_feature"> (pro)</span> <span title="Type here the Send button text." class="desription_class">?</span>
|
884 |
+
</td>
|
885 |
+
<td>
|
886 |
+
<input class="pro_input" type="text" name="mailing_list_button_value" id="mailing_list_button_value" value="Subscribe">
|
887 |
+
</td>
|
888 |
+
</tr>
|
889 |
+
<tr>
|
890 |
+
<td>
|
891 |
+
Success email text<span class="pro_feature"> (pro)</span> <span title="Type here message that will appear after users submit the correct email." class="desription_class">?</span>
|
892 |
+
</td>
|
893 |
+
<td>
|
894 |
+
<input class="pro_input" type="text" name="coming_soon_page_subscribe_after_text_sucsess" id="coming_soon_page_subscribe_after_text_sucsess" value="You Have Been Successfully Subscribed!">
|
895 |
+
</td>
|
896 |
+
</tr>
|
897 |
+
<tr>
|
898 |
+
<td>
|
899 |
+
Existing email text<span class="pro_feature"> (pro)</span> <span title="Type here message that will appear after users type already submitted email." class="desription_class">?</span>
|
900 |
+
</td>
|
901 |
+
<td>
|
902 |
+
<input class="pro_input" type="text" name="coming_soon_page_subscribe_after_text_alredy_exsist" id="coming_soon_page_subscribe_after_text_alredy_exsist" value="You're Already Subscribed!">
|
903 |
+
</td>
|
904 |
+
</tr>
|
905 |
+
<tr>
|
906 |
+
<td>
|
907 |
+
Blank email text<span class="pro_feature"> (pro)</span> <span title="Type here message that will appear after users submit a blank field. " class="desription_class">?</span>
|
908 |
+
</td>
|
909 |
+
<td>
|
910 |
+
<input class="pro_input" type="text" name="coming_soon_page_subscribe_after_text_none" id="coming_soon_page_subscribe_after_text_none" value="Please Type Your Email">
|
911 |
+
</td>
|
912 |
+
</tr>
|
913 |
+
<tr>
|
914 |
+
<td>
|
915 |
+
Invalid email text<span class="pro_feature"> (pro)</span> <span title="Type here message that will appear after users submit wrong email." class="desription_class">?</span>
|
916 |
+
</td>
|
917 |
+
<td>
|
918 |
+
<input class="pro_input" type="text" name="coming_soon_page_subscribe_after_text_invalid" id="coming_soon_page_subscribe_after_text_invalid" value="Email Doesn't Exist">
|
919 |
+
</td>
|
920 |
+
</tr>
|
921 |
+
|
922 |
+
<tr>
|
923 |
+
<td>
|
924 |
+
Subscribe Form position<span class="pro_feature"> (pro)</span> <span title="Choose position for Subscribe Form(Left, Center, Right)." class="desription_class">?</span>
|
925 |
+
</td>
|
926 |
+
<td>
|
927 |
+
<select class="pro_select" id="coming_soon_page_subscribe_in_content_position">
|
928 |
+
<option value="0">Left</option>
|
929 |
+
<option selected="selected" value="1">Center</option>
|
930 |
+
<option value="2">Right</option>
|
931 |
+
</select>
|
932 |
+
</td>
|
933 |
+
</tr>
|
934 |
+
<tr>
|
935 |
+
<td>
|
936 |
+
Distance from the top<span class="pro_feature"> (pro)</span> <span title="Type here Subscribe Form distance from the top(px). " class="desription_class">?</span>
|
937 |
+
</td>
|
938 |
+
<td>
|
939 |
+
<input class="pro_input" type="text" name="coming_soon_page_subscribe_top_distance" id="coming_soon_page_subscribe_top_distance" value="10">(Px)
|
940 |
+
</td>
|
941 |
+
</tr>
|
942 |
+
</tr>
|
943 |
+
<tr>
|
944 |
+
<td>
|
945 |
+
Font Size<span class="pro_feature"> (pro)</span> <span title="Type here font size for all texts in Subscribe Form(px)." class="desription_class">?</span>
|
946 |
+
</td>
|
947 |
+
<td>
|
948 |
+
<input class="pro_input" type="text" name="sendmail_input_font_size" id="sendmail_input_font_size" value="14">(Px)
|
949 |
+
</td>
|
950 |
+
</tr>
|
951 |
+
<tr>
|
952 |
+
<td>
|
953 |
+
Email field border radius<span class="pro_feature"> (pro)</span> <span title="Type here border radius for email field." class="desription_class">?</span>
|
954 |
+
</td>
|
955 |
+
<td>
|
956 |
+
<input class="pro_input" type="text" name="coming_soon_page_subscribe_button_radius" id="coming_soon_page_subscribe_button_radius" value="0">(Px)
|
957 |
+
</td>
|
958 |
+
</tr>
|
959 |
+
<tr>
|
960 |
+
<td>
|
961 |
+
Input maximum width<span class="pro_feature"> (pro)</span> <span title="Type here maximum with for input field(px)." class="desription_class">?</span>
|
962 |
+
</td>
|
963 |
+
<td>
|
964 |
+
<input class="pro_input" type="text" name="coming_soon_page_subscribe_input_max_width" id="coming_soon_page_subscribe_input_max_width" value="350">(Px)
|
965 |
+
</td>
|
966 |
+
</tr>
|
967 |
+
|
968 |
+
<tr>
|
969 |
+
<td>
|
970 |
+
Font family<span class="pro_feature"> (pro)</span> <span title="Type here font family for all texts in Subscribe Form." class="desription_class">?</span>
|
971 |
+
</td>
|
972 |
+
<td>
|
973 |
+
<?php $this->create_select_element_for_font('coming_soon_page_subscribe_font_famely', 'monospace') ?>
|
974 |
+
</td>
|
975 |
+
</tr>
|
976 |
+
<tr>
|
977 |
+
<td>
|
978 |
+
Input field border color<span class="pro_feature"> (pro)</span> <span title="Select the input field border color." class="desription_class">?</span>
|
979 |
+
</td>
|
980 |
+
<td>
|
981 |
+
<div class="wp-picker-container disabled_picker">
|
982 |
+
<button type="button" class="button wp-color-result" aria-expanded="false" style="background-color: rgb(255, 255, 255);"><span class="wp-color-result-text">Select Color</span></button>
|
983 |
+
</div>
|
984 |
+
</td>
|
985 |
+
</tr>
|
986 |
+
<tr>
|
987 |
+
<td>
|
988 |
+
Placeholder text color<span class="pro_feature"> (pro)</span> <span title="Select default text color for input fields. " class="desription_class">?</span>
|
989 |
+
</td>
|
990 |
+
<td>
|
991 |
+
<div class="wp-picker-container disabled_picker">
|
992 |
+
<button type="button" class="button wp-color-result" aria-expanded="false" style="background-color: rgb(0, 0, 0);"><span class="wp-color-result-text">Select Color</span></button>
|
993 |
+
</div>
|
994 |
+
</td>
|
995 |
+
</tr>
|
996 |
+
<tr>
|
997 |
+
<td>
|
998 |
+
Send button bg color<span class="pro_feature"> (pro)</span> <span title="Select the send button background color." class="desription_class">?</span>
|
999 |
+
</td>
|
1000 |
+
<td>
|
1001 |
+
<div class="wp-picker-container disabled_picker">
|
1002 |
+
<button type="button" class="button wp-color-result" aria-expanded="false" style="background-color: rgb(0, 0, 0);"><span class="wp-color-result-text">Select Color</span></button>
|
1003 |
+
</div>
|
1004 |
+
</td>
|
1005 |
+
</tr>
|
1006 |
+
<tr>
|
1007 |
+
<td>
|
1008 |
+
Send button text color<span class="pro_feature"> (pro)</span> <span title="Select the send button text color." class="desription_class">?</span>
|
1009 |
+
</td>
|
1010 |
+
<td>
|
1011 |
+
<div class="wp-picker-container disabled_picker">
|
1012 |
+
<button type="button" class="button wp-color-result" aria-expanded="false" style="background-color: rgb(255, 255, 255);"><span class="wp-color-result-text">Select Color</span></button>
|
1013 |
+
</div>
|
1014 |
+
</td>
|
1015 |
+
</tr>
|
1016 |
+
|
1017 |
+
<tr>
|
1018 |
+
<td>
|
1019 |
+
Input field text color<span class="pro_feature"> (pro)</span> <span title="Choose the input field text color." class="desription_class">?</span>
|
1020 |
+
</td>
|
1021 |
+
<td>
|
1022 |
+
<div class="wp-picker-container disabled_picker">
|
1023 |
+
<button type="button" class="button wp-color-result" aria-expanded="false" style="background-color: rgb(255, 255, 255);"><span class="wp-color-result-text">Select Color</span></button>
|
1024 |
+
</div>
|
1025 |
+
</td>
|
1026 |
+
</tr>
|
1027 |
+
<tr>
|
1028 |
+
<td>
|
1029 |
+
After submit text color<span class="pro_feature"> (pro)</span> <span title="Select color of the text, that will apear after submit." class="desription_class">?</span>
|
1030 |
+
</td>
|
1031 |
+
<td>
|
1032 |
+
<div class="wp-picker-container disabled_picker">
|
1033 |
+
<button type="button" class="button wp-color-result" aria-expanded="false" style="background-color: rgb(0, 0, 0);"><span class="wp-color-result-text">Select Color</span></button>
|
1034 |
+
</div>
|
1035 |
+
</td>
|
1036 |
+
</tr>
|
1037 |
+
<tr>
|
1038 |
+
<td>
|
1039 |
+
Animation type<span class="pro_feature"> (pro)</span> <span title="Choose animation type for Subscribe Form." class="desription_class">?</span>
|
1040 |
+
</td>
|
1041 |
+
<td>
|
1042 |
+
<?php $this->create_select_element_for_showing_effect('coming_soon_page_subscribe_animation_type', 'none'); ?>
|
1043 |
+
</td>
|
1044 |
+
</tr>
|
1045 |
+
<tr>
|
1046 |
+
<td>
|
1047 |
+
Animation waiting time<span class="pro_feature"> (pro)</span> <span title="Type here Subscribe Form animation waiting time(in milliseconds)." class="desription_class">?</span>
|
1048 |
+
</td>
|
1049 |
+
<td>
|
1050 |
+
<input class="pro_input" type="text" name="coming_soon_page_subscribe_animation_after_time" id="coming_soon_page_subscribe_animation_after_time" value="0">(milliseconds)
|
1051 |
+
</td>
|
1052 |
+
</tr>
|
1053 |
+
|
1054 |
+
</tbody>
|
1055 |
<tfoot>
|
1056 |
<tr>
|
1057 |
<th colspan="2" width="100%"><button type="button" id="coming_subscribe" class="pro_input button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
1058 |
</tr>
|
1059 |
+
</tfoot>
|
1060 |
</table>
|
1061 |
+
</div>
|
1062 |
+
</div>
|
1063 |
+
<?php
|
1064 |
}
|
1065 |
+
/*######################### Socials Buttons Function #################################*/
|
1066 |
+
public function generete_social_network_section($page_parametrs) {
|
1067 |
|
1068 |
+
?>
|
1069 |
+
<div class="main_parametrs_group_div closed_params ">
|
1070 |
<div class="head_panel_div" title="Click to toggle">
|
1071 |
+
<span class="title_parametrs_image"><img src="<?php echo esc_url($this->plugin_url) . 'images/social_network.png' ?>"></span>
|
1072 |
<span class="title_parametrs_group">Socials buttons</span>
|
1073 |
<span class="enabled_or_disabled_parametr"></span>
|
1074 |
+
<span class="open_or_closed"></span>
|
1075 |
</div>
|
1076 |
<div class="inside_information_div">
|
1077 |
+
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
1078 |
+
<tbody>
|
1079 |
+
<tr>
|
1080 |
+
<td>
|
1081 |
+
Show social buttons <span title="Show or hide social buttons on coming soon page." class="desription_class">?</span>
|
1082 |
+
</td>
|
1083 |
+
<td>
|
1084 |
+
<select id="coming_soon_page_socialis_enable">
|
1085 |
+
<option <?php selected($page_parametrs['coming_soon_page_socialis_enable'], '1') ?> value="1">Show</option>
|
1086 |
+
<option <?php selected($page_parametrs['coming_soon_page_socialis_enable'], '0') ?> value="0">Hide</option>
|
1087 |
+
</select>
|
1088 |
+
</td>
|
1089 |
+
</tr>
|
1090 |
+
<tr>
|
1091 |
+
<td>
|
1092 |
+
Open in new tab <span title="If you want to open social page in a new tab then enable this option" class="desription_class">?</span>
|
1093 |
+
</td>
|
1094 |
+
<td>
|
1095 |
+
<select id="coming_soon_page_open_new_tabe">
|
1096 |
+
<option <?php selected($page_parametrs['coming_soon_page_open_new_tabe'], '1') ?> value="1">Enable</option>
|
1097 |
+
<option <?php selected($page_parametrs['coming_soon_page_open_new_tabe'], '0') ?> value="0">Disable</option>
|
1098 |
+
</select>
|
1099 |
+
</td>
|
1100 |
+
</tr>
|
1101 |
+
<tr>
|
1102 |
+
<td>
|
1103 |
+
Facebook url <span title="Type here Facebook page url." class="desription_class">?</span>
|
1104 |
+
</td>
|
1105 |
+
<td>
|
1106 |
+
<input type="text" name="coming_soon_page_facebook" id="coming_soon_page_facebook" value="<?php echo esc_html($page_parametrs['coming_soon_page_facebook']); ?>">
|
1107 |
+
</td>
|
1108 |
+
</tr>
|
1109 |
+
<tr>
|
1110 |
+
<td>
|
1111 |
+
Facebook img url<span class="pro_feature"> (pro)</span> <span title="Insert here Facebook icon url or upload it." class="desription_class">?</span>
|
1112 |
+
</td>
|
1113 |
+
<td>
|
1114 |
+
<input class="pro_input" type="text" class="upload" id="social_facbook_bacground_image" name="social_facbook_bacground_image" value="" />
|
1115 |
+
<input class="button pro_input" type="button" value="Upload" />
|
1116 |
+
</td>
|
1117 |
+
</tr>
|
1118 |
+
<tr>
|
1119 |
+
<td>
|
1120 |
+
Twitter url <span title="Type here Twitter page url." class="desription_class">?</span>
|
1121 |
+
</td>
|
1122 |
+
<td>
|
1123 |
+
<input type="text" name="coming_soon_page_twitter" id="coming_soon_page_twitter" value="<?php echo esc_html($page_parametrs['coming_soon_page_twitter']); ?>">
|
1124 |
+
</td>
|
1125 |
+
</tr>
|
1126 |
+
<tr>
|
1127 |
+
<td>
|
1128 |
+
Twitter img url<span class="pro_feature"> (pro)</span> <span title="Insert here Twitter icon url or upload it." class="desription_class">?</span>
|
1129 |
+
</td>
|
1130 |
+
<td>
|
1131 |
+
<input type="text" class="pro_input" class="upload" id="social_twiter_bacground_image" name="social_twiter_bacground_image" value="" />
|
1132 |
+
<input class="pro_input button" type="button" value="Upload" />
|
1133 |
+
</td>
|
1134 |
+
</tr>
|
1135 |
+
<tr>
|
1136 |
+
<td>
|
1137 |
+
YouTube url <span title="Type here YouTube page url." class="desription_class">?</span>
|
1138 |
+
</td>
|
1139 |
+
<td>
|
1140 |
+
<input type="text" name="coming_soon_page_youtube" id="coming_soon_page_youtube" value="<?php echo esc_html($page_parametrs['coming_soon_page_youtube']) ?>">
|
1141 |
+
</td>
|
1142 |
+
</tr>
|
1143 |
+
<tr>
|
1144 |
+
<td>
|
1145 |
+
YouTube img url<span class="pro_feature"> (pro)</span> <span title="Insert here YouTube icon url or upload it." class="desription_class">?</span>
|
1146 |
+
</td>
|
1147 |
+
<td>
|
1148 |
+
<input type="text" class="pro_input" class="upload" id="social_youtobe_bacground_image" name="social_youtobe_bacground_image" value="" />
|
1149 |
+
<input class="pro_input button" type="button" value="Upload" />
|
1150 |
+
</td>
|
1151 |
+
</tr>
|
1152 |
+
<tr>
|
1153 |
+
<td>
|
1154 |
+
Instagram url <span title="Type here Instagram page url." class="desription_class">?</span>
|
1155 |
+
</td>
|
1156 |
+
<td>
|
1157 |
+
<input type="text" name="coming_soon_page_instagram" id="coming_soon_page_instagram" value="<?php echo esc_html($page_parametrs['coming_soon_page_instagram']); ?>">
|
1158 |
+
</td>
|
1159 |
+
</tr>
|
1160 |
+
<tr>
|
1161 |
+
<td>
|
1162 |
+
Instagram img url<span class="pro_feature"> (pro)</span> <span title="Insert here Instagram icon url or upload it." class="desription_class">?</span>
|
1163 |
+
</td>
|
1164 |
+
<td>
|
1165 |
+
<input type="text" class="pro_input" class="upload" id="social_instagram_bacground_image" name="social_instagram_bacground_image" value="" />
|
1166 |
+
<input class="pro_input button" type="button" value="Upload" />
|
1167 |
+
</td>
|
1168 |
+
</tr>
|
1169 |
+
<tr>
|
1170 |
+
<td>
|
1171 |
+
Social buttons position<span class="pro_feature"> (pro)</span> <span title="Choose position for Social buttons(Left, Center, Right)." class="desription_class">?</span>
|
1172 |
+
</td>
|
1173 |
+
<td>
|
1174 |
+
<select class="pro_select" id="coming_soon_page_socialis_in_content_position">
|
1175 |
+
<option value="0">Left</option>
|
1176 |
+
<option selected="selected" value="1">Center</option>
|
1177 |
+
<option value="2">Right</option>
|
1178 |
+
</select>
|
1179 |
+
</td>
|
1180 |
+
</tr>
|
1181 |
+
<tr>
|
1182 |
+
<td>
|
1183 |
+
Distance from the top<span class="pro_feature"> (pro)</span> <span title="Type here Social buttons distance from the top." class="desription_class">?</span>
|
1184 |
+
</td>
|
1185 |
+
<td>
|
1186 |
+
<input class="pro_input" type="text" name="coming_soon_page_socialis_top_distance" placeholder="Enter Distance" id="coming_soon_page_socialis_top_distance" value="10">(Px)
|
1187 |
+
</td>
|
1188 |
+
</tr>
|
1189 |
+
|
1190 |
+
<tr>
|
1191 |
+
<td>
|
1192 |
+
Social buttons maximum width<span class="pro_feature"> (pro)</span> <span title="Type here maximum width for Social buttons." class="desription_class">?</span>
|
1193 |
+
</td>
|
1194 |
+
<td>
|
1195 |
+
<input class="pro_input" type="text" name="coming_soon_page_socialis_max_width" id="coming_soon_page_socialis_max_width" value="">(Px)
|
1196 |
+
</td>
|
1197 |
+
</tr>
|
1198 |
+
<tr>
|
1199 |
+
<td>
|
1200 |
+
Social buttons maximum height<span class="pro_feature"> (pro)</span> <span title="Type here maximum height for Social buttons." class="desription_class">?</span>
|
1201 |
+
</td>
|
1202 |
+
<td>
|
1203 |
+
<input class="pro_input" type="text" name="coming_soon_page_socialis_max_height" id="coming_soon_page_socialis_max_height" value="">(Px)
|
1204 |
+
</td>
|
1205 |
+
</tr>
|
1206 |
+
<tr>
|
1207 |
+
<td>
|
1208 |
+
Animation type<span class="pro_feature"> (pro)</span> <span title="Choose animation type for Social buttons." class="desription_class">?</span>
|
1209 |
+
</td>
|
1210 |
+
<td>
|
1211 |
+
<?php $this->create_select_element_for_showing_effect('coming_soon_page_socialis_animation_type', 'none'); ?>
|
1212 |
+
</td>
|
1213 |
+
</tr>
|
1214 |
+
<tr>
|
1215 |
+
<td>
|
1216 |
+
Animation waiting time<span class="pro_feature"> (pro)</span> <span title="Type here Social buttons animation waiting time(in milliseconds)." class="desription_class">?</span>
|
1217 |
+
</td>
|
1218 |
+
<td>
|
1219 |
+
<input class="pro_input" type="text" name="coming_soon_page_socialis_animation_after_time" id="coming_soon_page_socialis_animation_after_time" value="0">(milliseconds)
|
1220 |
+
</td>
|
1221 |
+
</tr>
|
1222 |
+
</tbody>
|
1223 |
<tfoot>
|
1224 |
<tr>
|
1225 |
<th colspan="2" width="100%"><button type="button" id="coming_social_networks" class="save_section_parametrs button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
1226 |
</tr>
|
1227 |
+
</tfoot>
|
1228 |
</table>
|
1229 |
+
</div>
|
1230 |
+
</div>
|
1231 |
+
<?php
|
1232 |
}
|
1233 |
+
/*######################### Link To Admin Function #################################*/
|
1234 |
+
public function generete_link_to_tashboard_section($page_parametrs) {
|
1235 |
|
1236 |
+
?>
|
1237 |
+
<div class="main_parametrs_group_div closed_params ">
|
1238 |
<div class="head_panel_div" title="Click to toggle">
|
1239 |
+
<span class="title_parametrs_image"><img src="<?php echo esc_url($this->plugin_url) . 'images/link_dashboard.png' ?>"></span>
|
1240 |
+
<span class="title_parametrs_group">Link to Admin<span class="pro_feature_label"> (Pro feature!)</span></span>
|
1241 |
<span class="enabled_or_disabled_parametr"></span>
|
1242 |
+
<span class="open_or_closed"></span>
|
1243 |
</div>
|
1244 |
<div class="inside_information_div">
|
1245 |
+
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
1246 |
+
<tbody>
|
1247 |
+
<tr>
|
1248 |
+
<td>
|
1249 |
+
Show Link to Admin<span class="pro_feature"> (pro)</span> <span title="Choose to show or hide Link To Admin." class="desription_class">?</span>
|
1250 |
+
</td>
|
1251 |
+
<td>
|
1252 |
+
<select class="pro_select" id="coming_soon_page_link_to_dashboard_enable">
|
1253 |
+
<option value="1">Show</option>
|
1254 |
+
<option selected="selected" value="0">Hide</option>
|
1255 |
+
</select>
|
1256 |
+
</td>
|
1257 |
+
</tr>
|
1258 |
+
<tr>
|
1259 |
+
<td>
|
1260 |
+
Link To Admin text<span class="pro_feature"> (pro)</span> <span title="Type here Link To Admin text." class="desription_class">?</span>
|
1261 |
+
</td>
|
1262 |
+
<td>
|
1263 |
+
<input class="pro_input" type="text" name="coming_soon_page_page_link_to_dashboard" placeholder="Enter Link Name" id="coming_soon_page_page_link_to_dashboard" value="Link To Admin">
|
1264 |
+
</td>
|
1265 |
+
</tr>
|
1266 |
+
<tr>
|
1267 |
+
<td>
|
1268 |
+
Text color<span class="pro_feature"> (pro)</span> <span title="Choose text color." class="desription_class">?</span>
|
1269 |
+
</td>
|
1270 |
+
<td>
|
1271 |
+
<div class="wp-picker-container disabled_picker">
|
1272 |
+
<button type="button" class="button wp-color-result" aria-expanded="false" style="background-color: rgb(0, 0, 0);"><span class="wp-color-result-text">Select Color</span></button>
|
1273 |
+
</div>
|
1274 |
+
</td>
|
1275 |
+
</tr>
|
1276 |
+
<tr>
|
1277 |
+
<td>
|
1278 |
+
Font Size<span class="pro_feature"> (pro)</span> <span title="Type here text Font Size." class="desription_class">?</span>
|
1279 |
+
</td>
|
1280 |
+
<td>
|
1281 |
+
<input type="text" name="coming_soon_page_page_link_to_dashboard_font_size" id="coming_soon_page_page_link_to_dashboard_font_size" value="55">(Px)
|
1282 |
+
</td>
|
1283 |
+
</tr>
|
1284 |
+
<tr>
|
1285 |
+
<td>
|
1286 |
+
Font family<span class="pro_feature"> (pro)</span> <span title="Select Font family for Link To Admin." class="desription_class">?</span>
|
1287 |
+
</td>
|
1288 |
+
<td>
|
1289 |
+
<?php $this->create_select_element_for_font('coming_soon_page_page_link_to_dashboard_font', 'monospace') ?>
|
1290 |
+
</td>
|
1291 |
+
</tr>
|
1292 |
+
<tr>
|
1293 |
+
<td>
|
1294 |
+
Position<span class="pro_feature"> (pro)</span> <span title="Choose position for Link To Admin section(Left, Center, Right)." class="desription_class">?</span>
|
1295 |
+
</td>
|
1296 |
+
<td>
|
1297 |
+
<select id="coming_soon_page_link_to_dashboard_in_content_position">
|
1298 |
+
<option value="0">Left</option>
|
1299 |
+
<option selected="selected" value="1">Center</option>
|
1300 |
+
<option value="2">Right</option>
|
1301 |
+
</select>
|
1302 |
+
</td>
|
1303 |
+
</tr>
|
1304 |
+
<tr>
|
1305 |
+
<td>
|
1306 |
+
Distance from the top<span class="pro_feature"> (pro)</span> <span title="Type here Link To Admin distance from the top." class="desription_class">?</span>
|
1307 |
+
</td>
|
1308 |
+
<td>
|
1309 |
+
<input type="text" name="coming_soon_page_link_to_dashboard_top_distance" id="coming_soon_page_link_to_dashboard_top_distance" value="10">(Px)
|
1310 |
+
</td>
|
1311 |
+
</tr>
|
1312 |
+
<tr>
|
1313 |
+
<td>
|
1314 |
+
Animation type<span class="pro_feature"> (pro)</span> <span title="Choose animation type for Link To Admin." class="desription_class">?</span>
|
1315 |
+
</td>
|
1316 |
+
<td>
|
1317 |
+
<?php $this->create_select_element_for_showing_effect('coming_soon_page_link_to_dashboard_animation_type', 'none'); ?>
|
1318 |
+
</td>
|
1319 |
+
</tr>
|
1320 |
+
<tr>
|
1321 |
+
<td>
|
1322 |
+
Animation waiting time<span class="pro_feature"> (pro)</span> <span title="Type here waiting time for Link To Admin animation(in milliseconds)." class="desription_class">?</span>
|
1323 |
+
</td>
|
1324 |
+
<td>
|
1325 |
+
<input type="text" name="coming_soon_page_link_to_dashboard_animation_after_time" id="coming_soon_page_link_to_dashboard_animation_after_time" value="0">(milliseconds)
|
1326 |
+
</td>
|
1327 |
+
</tr>
|
1328 |
+
</tbody>
|
1329 |
<tfoot>
|
1330 |
<tr>
|
1331 |
<th colspan="2" width="100%"><button type="button" id="coming_link_to_dashboard" class="pro_input button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
1332 |
</tr>
|
1333 |
+
</tfoot>
|
1334 |
</table>
|
1335 |
+
</div>
|
1336 |
+
</div>
|
1337 |
+
<?php
|
1338 |
}
|
1339 |
/*######################### Footer Message Part #################################*/
|
1340 |
+
public function generete_message_footer_section($page_parametrs) {
|
1341 |
|
1342 |
+
?>
|
1343 |
+
<div class="main_parametrs_group_div closed_params ">
|
1344 |
<div class="head_panel_div" title="Click to toggle">
|
1345 |
+
<span class="title_parametrs_image"><img src="<?php echo esc_url($this->plugin_url) . 'images/message.png' ?>"></span>
|
1346 |
<span class="title_parametrs_group">Footer Message</span>
|
1347 |
<span class="enabled_or_disabled_parametr"></span>
|
1348 |
+
<span class="open_or_closed"></span>
|
1349 |
</div>
|
1350 |
<div class="inside_information_div">
|
1351 |
+
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
1352 |
+
<tbody>
|
1353 |
+
<tr>
|
1354 |
+
<td>
|
1355 |
+
Footer Message Section <span title="Choose to show or hide Footer Message box from Coming soon page." class="desription_class">?</span>
|
1356 |
+
</td>
|
1357 |
+
<td>
|
1358 |
+
<select id="coming_soon_page_message_footer_enable">
|
1359 |
+
<option <?php selected($page_parametrs['coming_soon_page_message_footer_enable'], '1') ?> value="1">Show</option>
|
1360 |
+
<option <?php selected($page_parametrs['coming_soon_page_message_footer_enable'], '0') ?> value="0">Hide</option>
|
1361 |
+
</select>
|
1362 |
+
</td>
|
1363 |
+
</tr>
|
1364 |
+
<tr>
|
1365 |
+
<td colspan="2">
|
1366 |
+
<b>Footer Message Content</b>
|
1367 |
+
<div style="width:100%"> <?php wp_editor(wp_filter_post_kses(stripslashes($page_parametrs['coming_soon_page_page_message_footer'])), 'coming_soon_page_page_message_footer', $settings = array('media_buttons' => false, 'textarea_rows' => 5)); ?></div>
|
1368 |
+
</td>
|
1369 |
+
|
1370 |
+
</tr>
|
1371 |
+
<tr>
|
1372 |
+
<td>
|
1373 |
+
Footer Message position <span title="Choose position for Footer Message box(Left, Center, Right)." class="desription_class">?</span>
|
1374 |
+
</td>
|
1375 |
+
<td>
|
1376 |
+
<select id="coming_soon_page_message_footer_in_content_position">
|
1377 |
+
<option <?php selected($page_parametrs['coming_soon_page_message_footer_in_content_position'], '0') ?> value="0">Left</option>
|
1378 |
+
<option <?php selected($page_parametrs['coming_soon_page_message_footer_in_content_position'], '1') ?> value="1">Center</option>
|
1379 |
+
<option <?php selected($page_parametrs['coming_soon_page_message_footer_in_content_position'], '2') ?> value="2">Right</option>
|
1380 |
+
</select>
|
1381 |
+
</td>
|
1382 |
+
</tr>
|
1383 |
+
<tr>
|
1384 |
+
<td>
|
1385 |
+
Distance from the top <span title="Type here Footer Message box distance from the top." class="desription_class">?</span>
|
1386 |
+
</td>
|
1387 |
+
<td>
|
1388 |
+
<input type="text" name="coming_soon_page_message_footer_top_distance" id="coming_soon_page_message_footer_top_distance" value="<?php echo esc_html($page_parametrs['coming_soon_page_message_footer_top_distance']); ?>">(Px)
|
1389 |
+
</td>
|
1390 |
+
</tr>
|
1391 |
+
<tr>
|
1392 |
+
<td>
|
1393 |
+
Animation type of the Footer Message <span class="pro_feature"> (pro)</span> <span title="Choose animation type for Footer Message box." class="desription_class">?</span>
|
1394 |
+
</td>
|
1395 |
+
<td>
|
1396 |
+
<?php $this->create_select_element_for_showing_effect('coming_soon_page_message_footer_animation_type', 'none'); ?>
|
1397 |
+
</td>
|
1398 |
+
</tr>
|
1399 |
+
<tr>
|
1400 |
+
<td>
|
1401 |
+
Waiting time of Animation <span class="pro_feature"> (pro)</span> <span title="Type here waiting time for Footer Message box animation(in milliseconds)." class="desription_class">?</span>
|
1402 |
+
</td>
|
1403 |
+
<td>
|
1404 |
+
<input type="text" name="coming_soon_page_message_footer_animation_after_time" id="coming_soon_page_message_footer_animation_after_time" value="0">(milliseconds)
|
1405 |
+
</td>
|
1406 |
+
</tr>
|
1407 |
+
</tbody>
|
1408 |
<tfoot>
|
1409 |
<tr>
|
1410 |
<th colspan="2" width="100%"><button type="button" id="coming_message_footer" class="save_section_parametrs button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
1411 |
</tr>
|
1412 |
+
</tfoot>
|
1413 |
</table>
|
1414 |
+
</div>
|
1415 |
+
</div>
|
1416 |
+
<?php
|
1417 |
}
|
1418 |
+
/*######################### Search Engine Optimization Part #################################*/
|
1419 |
+
public function generete_search_engine_section($page_parametrs) {
|
1420 |
|
1421 |
+
?>
|
1422 |
+
<div class="main_parametrs_group_div closed_params ">
|
1423 |
<div class="head_panel_div" title="Click to toggle">
|
1424 |
+
<span class="title_parametrs_image"><img src="<?php echo esc_url($this->plugin_url) . 'images/seo.png' ?>"></span>
|
1425 |
<span class="title_parametrs_group">Search engines and Favicon</span>
|
1426 |
<span class="enabled_or_disabled_parametr"></span>
|
1427 |
+
<span class="open_or_closed"></span>
|
1428 |
</div>
|
1429 |
<div class="inside_information_div">
|
1430 |
+
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
1431 |
+
<tbody>
|
1432 |
+
<tr>
|
1433 |
+
<td>
|
1434 |
+
Title(SEO) <span title="Type here the Title for Search engines. 60 max recommended characters(It will be visible for search engines only)." class="desription_class">?</span>
|
1435 |
+
</td>
|
1436 |
+
<td>
|
1437 |
+
<input type="text" name="coming_soon_page_page_seo_title" id="coming_soon_page_page_seo_title" value="<?php echo esc_html($page_parametrs['coming_soon_page_page_seo_title']); ?>">
|
1438 |
+
</td>
|
1439 |
+
</tr>
|
1440 |
+
<tr>
|
1441 |
+
<td>
|
1442 |
+
Favicon <span class="pro_feature"> (pro)</span> <span title="Here you can upload favicon for coming soon page." class="desription_class">?</span>
|
1443 |
+
</td>
|
1444 |
+
<td>
|
1445 |
+
<input type="text" class="upload pro_input" id="coming_soon_page_page_favicon" name="coming_soon_page_page_favicon" value="" />
|
1446 |
+
<input class="pro_input button" type="button" value="Upload" />
|
1447 |
+
</td>
|
1448 |
+
</tr>
|
1449 |
+
<tr>
|
1450 |
+
<td>
|
1451 |
+
Search Robots <span title="Here you can enable or disable coming soon page for search robots. " class="desription_class">?</span>
|
1452 |
+
</td>
|
1453 |
+
<td>
|
1454 |
+
<select id="coming_soon_page_enable_search_robots">
|
1455 |
+
<option <?php selected($page_parametrs['coming_soon_page_enable_search_robots'], '1') ?> value="1">Enable</option>
|
1456 |
+
<option <?php selected($page_parametrs['coming_soon_page_enable_search_robots'], '0') ?> value="0">Disable</option>
|
1457 |
+
</select>
|
1458 |
+
</td>
|
1459 |
+
</tr>
|
1460 |
+
<tr>
|
1461 |
+
<td>
|
1462 |
+
Meta Keywords <span title="Type here meta keywords for coming soon page(It will be visible for search engines only)." class="desription_class">?</span>
|
1463 |
+
</td>
|
1464 |
+
<td>
|
1465 |
+
<input type="text" name="coming_soon_page_meta_keywords" placeholder="Enter Meta Keywords" id="coming_soon_page_meta_keywords" value="<?php echo esc_html($page_parametrs['coming_soon_page_meta_keywords']); ?>">
|
1466 |
+
</td>
|
1467 |
+
</tr>
|
1468 |
+
<tr>
|
1469 |
+
<td>
|
1470 |
+
Meta Description <span title="Type here meta description for coming soon page. 160 max recommended characters(It will be visible for search engines only)." class="desription_class">?</span>
|
1471 |
+
</td>
|
1472 |
+
<td>
|
1473 |
+
<input type="text" name="coming_soon_page_meta_description" placeholder="Enter Meta Description" id="coming_soon_page_meta_description" value="<?php echo esc_html($page_parametrs['coming_soon_page_meta_description']) ?>">
|
1474 |
+
</td>
|
1475 |
+
</tr>
|
1476 |
+
</tbody>
|
1477 |
<tfoot>
|
1478 |
<tr>
|
1479 |
<th colspan="2" width="100%"><button type="button" id="search_engine_and_favicon" class="save_section_parametrs button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
1480 |
</tr>
|
1481 |
+
</tfoot>
|
1482 |
</table>
|
1483 |
+
</div>
|
1484 |
+
</div>
|
1485 |
+
<?php
|
1486 |
}
|
1487 |
+
/*######################### Except Page or IP Part #################################*/
|
1488 |
+
public function generete_except_section($page_parametrs) {
|
1489 |
|
1490 |
+
?>
|
1491 |
+
<div class="main_parametrs_group_div closed_params ">
|
1492 |
<div class="head_panel_div" title="Click to toggle">
|
1493 |
+
<span class="title_parametrs_image"><img src="<?php echo esc_url($this->plugin_url) . 'images/except.png' ?>"></span>
|
1494 |
<span class="title_parametrs_group">Except pages and IPs</span>
|
1495 |
<span class="enabled_or_disabled_parametr"></span>
|
1496 |
+
<span class="open_or_closed"></span>
|
1497 |
</div>
|
1498 |
<div class="inside_information_div">
|
1499 |
+
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
1500 |
+
<tbody>
|
1501 |
+
<tr>
|
1502 |
+
<td>
|
1503 |
+
Disable coming soon for these IPs <span title="You can disable coming soon for these IPs, just type the IP and click anywhere, then type the next IP in next field that will appear and so." class="desription_class">?</span>
|
1504 |
+
</td>
|
1505 |
+
<td>
|
1506 |
+
<div id="no_blocked_ips"></div>
|
1507 |
+
</td>
|
1508 |
+
</tr>
|
1509 |
+
<tr>
|
1510 |
+
<td>
|
1511 |
+
Disable coming soon for these URLs<span class="pro_feature"> (pro)</span> <span title="You can disable coming soon page for these URLs, just type the URL and click anywhere, then type the next URL in next field that will appear." class="desription_class">?</span>
|
1512 |
+
</td>
|
1513 |
+
<td>
|
1514 |
+
<input type="hidden" value="" id="coming_soon_page_showed_urls" name="coming_soon_page_showed_urls">
|
1515 |
+
<div class="emelent_coming_soon_page_showed_urls"> <input class="pro_input" type="text" placeholder="Type The URL Here" value=""><span class="remove_element remove_element_coming_soon_page_showed_urls"></span> </div>
|
1516 |
+
</td>
|
1517 |
+
</tr>
|
1518 |
+
<tr>
|
1519 |
+
<td>
|
1520 |
+
Enable only for Homepage <span title="Disable coming soon for all pages except Homepage" class="desription_class">?</span>
|
1521 |
+
</td>
|
1522 |
+
<td>
|
1523 |
+
<select id="coming_soon_enable_only_for_home">
|
1524 |
+
<option <?php selected($page_parametrs['coming_soon_enable_only_for_home'], '1') ?> value="1">Enable</option>
|
1525 |
+
<option <?php selected($page_parametrs['coming_soon_enable_only_for_home'], '0') ?> value="0">Disable</option>
|
1526 |
+
</select>
|
1527 |
+
</td>
|
1528 |
+
</tr>
|
1529 |
+
</tbody>
|
1530 |
<tfoot>
|
1531 |
<tr>
|
1532 |
<th colspan="2" width="100%"><button type="button" id="except_page" class="save_section_parametrs button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
1533 |
</tr>
|
1534 |
+
</tfoot>
|
1535 |
</table>
|
1536 |
+
<script>
|
1537 |
+
jQuery(document).ready(function(e) {
|
1538 |
+
many_inputs.main_element_for_inserting_element = 'no_blocked_ips';
|
1539 |
+
many_inputs.element_name_and_id = 'coming_soon_page_showed_ips';
|
1540 |
+
many_inputs.placeholder = 'Type Ip Here';
|
1541 |
+
many_inputs.value_jsone_encoded = '<?php echo esc_js(stripslashes($page_parametrs['coming_soon_page_showed_ips'])); ?>';
|
1542 |
+
many_inputs.creates_elements();
|
1543 |
+
});
|
1544 |
+
</script>
|
1545 |
+
</div>
|
1546 |
+
</div>
|
1547 |
+
<?php
|
|
|
|
|
1548 |
}
|
1549 |
+
/*######################### Background options Part #################################*/
|
1550 |
+
public function generete_background_section($page_parametrs) {
|
1551 |
+
?>
|
1552 |
+
<div class="main_parametrs_group_div closed_params ">
|
|
|
1553 |
<div class="head_panel_div" title="Click to toggle">
|
1554 |
+
<span class="title_parametrs_image"><img src="<?php echo esc_url($this->plugin_url) . 'images/background.png' ?>"></span>
|
1555 |
<span class="title_parametrs_group">Background</span>
|
1556 |
<span class="enabled_or_disabled_parametr"></span>
|
1557 |
+
<span class="open_or_closed"></span>
|
1558 |
</div>
|
1559 |
<div class="inside_information_div">
|
1560 |
+
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
1561 |
+
<tbody>
|
1562 |
+
<tr>
|
1563 |
+
<td>
|
1564 |
+
Background type <span title="Select the background type you want to use for your coming soon page." class="desription_class">?</span>
|
1565 |
+
</td>
|
1566 |
+
<td>
|
1567 |
+
<select id="coming_soon_page_radio_backroun" class="coming_set_hiddens">
|
1568 |
+
<option <?php selected($page_parametrs['coming_soon_page_radio_backroun'], 'back_color') ?> value="back_color">Background Color</option>
|
1569 |
+
<option <?php selected($page_parametrs['coming_soon_page_radio_backroun'], 'back_imge') ?> value="back_imge">Background Image</option>
|
1570 |
+
<option disabled value="back_imge">Background Slider<span class="pro_feature"> (pro)</span></option>
|
1571 |
+
<option disabled value="back_imge">Video background(not for mobile)<span class="pro_feature"> (pro)</span></option>
|
1572 |
+
</select>
|
1573 |
+
</td>
|
1574 |
+
</tr>
|
1575 |
+
<tr class="tr_back_color white">
|
1576 |
+
<td>
|
1577 |
+
Set the color <span title="Select the background color for coming soon page(option will apear if you choose 'Background color' type)." class="desription_class">?</span>
|
1578 |
+
</td>
|
1579 |
+
<td>
|
1580 |
+
<input type="text" class="color_option" id="coming_soon_page_background_color" name="coming_soon_page_background_color" value="<?php echo esc_html($page_parametrs['coming_soon_page_background_color']); ?>" />
|
1581 |
+
</td>
|
1582 |
+
</tr>
|
1583 |
+
<tr class="tr_back_imge white">
|
1584 |
+
<td>
|
1585 |
+
Img url <span title="ype the image url or just upload image for coming soon page background(option will apear if you choose " Background image" type). " class=" desription_class">?</span>
|
1586 |
+
</td>
|
1587 |
+
<td>
|
1588 |
+
<input type="text" class="upload" id="coming_soon_page_background_img" name="coming_soon_page_background_img" value="<?php echo esc_html($page_parametrs['coming_soon_page_background_img']); ?>" />
|
1589 |
+
<input class="upload-button button" type="button" value="Upload" />
|
1590 |
+
</td>
|
1591 |
+
</tr>
|
1592 |
+
</tbody>
|
1593 |
+
<tfoot>
|
1594 |
+
<tr>
|
1595 |
+
<th colspan="2" width="100%"><button type="button" id="coming_background" class="save_section_parametrs button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
1596 |
+
</tr>
|
1597 |
+
</tfoot>
|
1598 |
+
</table>
|
1599 |
+
</div>
|
1600 |
+
</div>
|
1601 |
+
<?php
|
1602 |
}
|
1603 |
+
/*######################### Content Part #################################*/
|
1604 |
+
public function generete_content_section($page_parametrs) {
|
1605 |
|
1606 |
+
?>
|
1607 |
+
<div class="main_parametrs_group_div closed_params ">
|
1608 |
<div class="head_panel_div" title="Click to toggle">
|
1609 |
+
<span class="title_parametrs_image"><img src="<?php echo esc_url($this->plugin_url) . 'images/content.png' ?>"></span>
|
1610 |
+
<span class="title_parametrs_group">Content <span class="pro_feature_label"> (Pro feature!)</span></span>
|
1611 |
<span class="enabled_or_disabled_parametr"></span>
|
1612 |
+
<span class="open_or_closed"></span>
|
1613 |
</div>
|
1614 |
<div class="inside_information_div">
|
1615 |
+
<table class="wp-list-table widefat fixed posts section_parametrs_table">
|
1616 |
+
<tbody>
|
1617 |
+
<tr>
|
1618 |
+
<td>
|
1619 |
+
Content position<span class="pro_feature"> (pro)</span> <span title="Choose content position on coming soon page." class="desription_class">?</span>
|
1620 |
+
</td>
|
1621 |
+
<td>
|
1622 |
+
<select class="pro_select" id="page_content_position">
|
1623 |
+
<option value="left-top">Top Left</option>
|
1624 |
+
<option value="left-middle">Middle Left</option>
|
1625 |
+
<option value="left-bottom">Bottom Left</option>
|
1626 |
+
<option value="center-top">Top center</option>
|
1627 |
+
<option selected="selected" value="center-middle">Middle center</option>
|
1628 |
+
<option value="center-bottom">Bottom center</option>
|
1629 |
+
<option value="right-top">Top right</option>
|
1630 |
+
<option value="right-middle">Middle right</option>
|
1631 |
+
<option value="right-bottom">Bottom right</option>
|
1632 |
+
</select>
|
1633 |
+
</td>
|
1634 |
+
</tr>
|
1635 |
+
<tr>
|
1636 |
+
<td>
|
1637 |
+
Content background color<span class="pro_feature"> (pro)</span> <span title="Select content background color." class="desription_class">?</span>
|
1638 |
+
</td>
|
1639 |
+
<td>
|
1640 |
+
<div class="wp-picker-container disabled_picker">
|
1641 |
+
<button type="button" class="button wp-color-result" aria-expanded="false" style="background-color: rgb(0, 0, 0);"><span class="wp-color-result-text">Select Color</span></button>
|
1642 |
+
</div>
|
1643 |
+
</td>
|
1644 |
+
</tr>
|
1645 |
+
<tr>
|
1646 |
+
<td>
|
1647 |
+
Content transparency<span class="pro_feature"> (pro)</span> <span title="Select transparency for content." class="desription_class">?</span>
|
1648 |
+
</td>
|
1649 |
+
<td>
|
1650 |
+
<input type="text" size="3" class="coming_number_slider pro_input" data-max-val="100" data-min-val="0" name="coming_soon_page_content_trasparensy" value="55" id="coming_soon_page_content_trasparensy" style="border:0; color:#f6931f; font-weight:bold; width:35px">%
|
1651 |
+
<div class="slider_div"></div>
|
1652 |
+
</td>
|
1653 |
+
</tr>
|
1654 |
+
<tr>
|
1655 |
+
<td>
|
1656 |
+
Border radius<span class="pro_feature"> (pro)</span> <span title="Type here border radius for content." class="desription_class">?</span>
|
1657 |
+
</td>
|
1658 |
+
<td>
|
1659 |
+
<input class="pro_input" type="text" name="page_content_boreder_radius" id="page_content_boreder_radius" value="8">(Px)
|
1660 |
+
</td>
|
1661 |
+
</tr>
|
1662 |
+
<tr>
|
1663 |
+
<td>
|
1664 |
+
Content maximum width<span class="pro_feature"> (pro)</span> <span title="Type here content maximum width." class="desription_class">?</span>
|
1665 |
+
</td>
|
1666 |
+
<td>
|
1667 |
+
<input class="pro_input" type="text" name="coming_soon_page_content_max_width" id="coming_soon_page_content_max_width" value="740">(Px)
|
1668 |
+
</td>
|
1669 |
+
</tr>
|
1670 |
+
<tr>
|
1671 |
+
<td>
|
1672 |
+
Padding<span class="pro_feature"> (pro)</span> <span title="Type here content padding value(padding properties define the space between the element border and the element content)." class="desription_class">?</span>
|
1673 |
+
</td>
|
1674 |
+
<td>
|
1675 |
+
<input class="pro_input" type="text" name="coming_soon_page_content_padding" id="coming_soon_page_content_padding" value="10">(Px)
|
1676 |
+
</td>
|
1677 |
+
</tr>
|
1678 |
+
<tr>
|
1679 |
+
<td>
|
1680 |
+
Margin<span class="pro_feature"> (pro)</span> <span title="Type here content margin value(margin properties define the space around elements)." class="desription_class">?</span>
|
1681 |
+
</td>
|
1682 |
+
<td>
|
1683 |
+
<input class="pro_input" type="text" name="coming_soon_page_content_margin" id="coming_soon_page_content_margin" value="15">(Px)
|
1684 |
+
</td>
|
1685 |
+
</tr>
|
1686 |
+
<tr>
|
1687 |
+
<td>
|
1688 |
+
Elements ordering<span class="pro_feature"> (pro)</span> <span title="Choose the order of showing elements on coming soon page(you can move all elements using drop down functionality)." class="desription_class">?</span>
|
1689 |
+
</td>
|
1690 |
+
<td>
|
1691 |
+
|
1692 |
+
<ul id="coming_soon_sortable">
|
1693 |
+
<li date-value="logo" class="ui-state-default">Logo<span class="ui-icon ui-icon-arrowthick-2-n-s"></span></li>
|
1694 |
+
<li date-value="title" class="ui-state-default">Title<span class="ui-icon ui-icon-arrowthick-2-n-s"></span></li>
|
1695 |
+
<li date-value="message" class="ui-state-default">Message<span class="ui-icon ui-icon-arrowthick-2-n-s"></span></li>
|
1696 |
+
<li date-value="countdown" class="ui-state-default">Countdown<span class="ui-icon ui-icon-arrowthick-2-n-s"></span></li>
|
1697 |
+
<li date-value="subscribe" class="ui-state-default">Subscribe Form<span class="ui-icon ui-icon-arrowthick-2-n-s"></span></li>
|
1698 |
+
<li date-value="loading_animation" class="ui-state-default">Progress bar<span class="ui-icon ui-icon-arrowthick-2-n-s"></span></li>
|
1699 |
+
<li date-value="link_to_dashboard" class="ui-state-default">Link to Admin<span class="ui-icon ui-icon-arrowthick-2-n-s"></span></li>
|
1700 |
+
<li date-value="share_buttons" class="ui-state-default">Social buttons<span class="ui-icon ui-icon-arrowthick-2-n-s"></span></li>
|
1701 |
+
<li date-value="message_footer" class="ui-state-default">Message footer<span class="ui-icon ui-icon-arrowthick-2-n-s"></span></li>
|
1702 |
+
</ul>
|
1703 |
+
</td>
|
1704 |
+
</tr>
|
1705 |
+
|
1706 |
+
</tbody>
|
1707 |
<tfoot>
|
1708 |
<tr>
|
1709 |
<th colspan="2" width="100%"><button type="button" id="coming_content" class="pro_input button button-primary"><span class="save_button_span">Save Section</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button><span class="error_massage"> </span></th>
|
1710 |
</tr>
|
1711 |
+
</tfoot>
|
1712 |
</table>
|
1713 |
+
</div>
|
1714 |
+
</div>
|
1715 |
+
<?php
|
1716 |
}
|
1717 |
+
|
1718 |
+
/*############ Subscribers table list function ################*/
|
1719 |
+
|
1720 |
+
private function generete_subscriber_table_lists($mailing_lsit_array) {
|
1721 |
+
$generete = '';
|
1722 |
+
if ($mailing_lsit_array) {
|
1723 |
+
foreach ($mailing_lsit_array as $key => $value) {
|
1724 |
+
$generete .= "{'email':'" . $key . "','firstname':'" . $value['firstname'] . "','lastname':'" . $value['lastname'] . "'},";
|
|
|
|
|
1725 |
}
|
1726 |
+
$generete = rtrim($generete, ",");
|
|
|
|
|
|
|
1727 |
}
|
1728 |
+
?>
|
1729 |
+
<style>
|
1730 |
+
.description_row:nth-child(odd) {
|
1731 |
+
background-color: #f9f9f9;
|
1732 |
+
}
|
1733 |
</style>
|
1734 |
+
<script>
|
1735 |
+
// jsone date for angiaulare js
|
1736 |
+
var my_table_list = <?php echo esc_js("[" . $generete . "]"); ?>
|
1737 |
+
</script>
|
1738 |
<div>
|
1739 |
+
<form method="post" action="" id="admin_form" name="admin_form" ng-app="" ng-controller="customersController">
|
1740 |
+
<div class="tablenav top" style="width:95%">
|
1741 |
+
<input type="text" placeholder="Search" ng-change="filtering_table();" ng-model="searchText">
|
1742 |
+
<div class="tablenav-pages"><span class="displaying-num">{{filtering_table().length}} items</span>
|
1743 |
+
<span ng-show="(numberOfPages()-1)>=1">
|
1744 |
+
<span class="pagination-links"><a class="first-page" ng-class="{disabled:(curPage < 1 )}" title="Go to the first page" ng-click="curPage=0">«</a>
|
1745 |
+
<a class="prev-page" title="Go to the previous page" ng-class="{disabled:(curPage < 1 )}" ng-click="curPage=curPage-1; curect()">‹</a>
|
1746 |
+
<span class="paging-input"><span class="total-pages">{{curPage + 1}}</span> of <span class="total-pages">{{ numberOfPages() }}</span></span>
|
1747 |
+
<a class="next-page" title="Go to the next page" ng-class="{disabled:(curPage >= (numberOfPages() - 1))}" ng-click=" curPage=curPage+1; curect()">›</a>
|
1748 |
+
<a class="last-page" title="Go to the last page" ng-class="{disabled:(curPage >= (numberOfPages() - 1))}" ng-click="curPage=numberOfPages()-1">»</a></span>
|
1749 |
+
</div>
|
1750 |
+
</span>
|
1751 |
+
</div>
|
1752 |
+
<table class="wp-list-table widefat fixed pages" style="width:95%">
|
1753 |
+
<thead>
|
1754 |
+
<tr>
|
1755 |
+
<th data-ng-click="order_by='email'; reverse=!reverse; ordering($event,order_by,reverse)" class="manage-column sortable desc"><a><span>Email</span><span class="sorting-indicator"></span></a></th>
|
1756 |
+
<th data-ng-click="order_by='firstname'; reverse=!reverse; ordering($event,order_by,reverse)" class="manage-column sortable desc"><a><span>First name</span><span class="sorting-indicator"></span></a></th>
|
1757 |
+
<th data-ng-click="order_by='lastname'; reverse=!reverse; ordering($event,order_by,reverse)" class="manage-column sortable desc"><a><span>Last name</span><span class="sorting-indicator"></span></a></th>
|
1758 |
+
<th style="width:80px">Delete</th>
|
1759 |
+
</tr>
|
1760 |
+
</thead>
|
1761 |
+
<tbody>
|
1762 |
+
<tr ng-repeat="rows in names | filter:filtering_table" class="description_row">
|
1763 |
+
<td><a href="#">{{rows.email}}</a></td>
|
1764 |
+
<td><a href="#">{{rows.firstname}}</a></td>
|
1765 |
+
<td><a href="#">{{rows.lastname}}</a></td>
|
1766 |
+
<td><a href="admin.php?page=mailing-list-subscribers&task=remove_user&id={{rows.email}}">Delete</a></td>
|
1767 |
+
|
1768 |
+
</tr>
|
1769 |
+
</tbody>
|
1770 |
+
</table>
|
1771 |
+
</form>
|
1772 |
</div>
|
1773 |
<script>
|
1774 |
+
jQuery(document).ready(function(e) {
|
1775 |
+
jQuery('a.disabled').click(function() {
|
1776 |
+
return false
|
1777 |
+
});
|
1778 |
+
jQuery('form').on("keyup keypress", function(e) {
|
1779 |
+
var code = e.keyCode || e.which;
|
1780 |
+
if (code == 13) {
|
1781 |
+
e.preventDefault();
|
1782 |
+
return false;
|
1783 |
+
}
|
1784 |
+
});
|
1785 |
+
});
|
1786 |
+
|
1787 |
+
function customersController($scope, $filter) {
|
1788 |
+
var orderBy = $filter('orderBy');
|
1789 |
+
$scope.previsu_search_result = '';
|
1790 |
+
$scope.oredering = new Array();
|
1791 |
+
$scope.baza = my_table_list;
|
1792 |
+
$scope.curPage = 0;
|
1793 |
+
$scope.pageSize = 10;
|
1794 |
+
$scope.names = $scope.baza.slice($scope.curPage * $scope.pageSize, ($scope.curPage + 1) * $scope.pageSize)
|
1795 |
+
$scope.numberOfPages = function() {
|
1796 |
+
return Math.ceil($scope.filtering_table().length / $scope.pageSize);
|
1797 |
+
};
|
1798 |
+
$scope.filtering_table = function() {
|
1799 |
+
var new_searched_date_array = new Array;
|
1800 |
+
new_searched_date_array = [];
|
1801 |
+
angular.forEach($scope.baza, function(value, key) {
|
1802 |
+
var catched = 0;
|
1803 |
+
angular.forEach(value, function(value_loc, key_loc) {
|
1804 |
+
if (('' + value_loc).indexOf($scope.searchText) != -1 || $scope.searchText == '' || typeof($scope.searchText) == 'undefined')
|
1805 |
+
catched = 1;
|
1806 |
+
})
|
1807 |
+
if (catched)
|
1808 |
+
new_searched_date_array.push(value);
|
1809 |
+
})
|
1810 |
+
if ($scope.previsu_search_result != $scope.searchText) {
|
1811 |
+
|
1812 |
+
$scope.previsu_search_result = $scope.searchText;
|
1813 |
+
$scope.ordering($scope.oredering[0], $scope.oredering[1], $scope.oredering[2]);
|
1814 |
+
|
1815 |
+
}
|
1816 |
+
if (new_searched_date_array.length <= $scope.pageSize)
|
1817 |
+
$scope.curPage = 0;
|
1818 |
+
return new_searched_date_array;
|
1819 |
+
}
|
1820 |
+
$scope.curect = function() {
|
1821 |
+
if ($scope.curPage < 0) {
|
1822 |
+
$scope.curPage = 0;
|
1823 |
+
}
|
1824 |
+
if ($scope.curPage > $scope.numberOfPages() - 1)
|
1825 |
+
$scope.curPage = $scope.numberOfPages() - 1;
|
1826 |
+
$scope.names = $scope.filtering_table().slice($scope.curPage * $scope.pageSize, ($scope.curPage + 1) * $scope.pageSize)
|
1827 |
+
}
|
1828 |
+
|
1829 |
+
$scope.ordering = function($event, order_by, revers) {
|
1830 |
+
if (typeof($event) != 'undefined' && typeof($event.currentTarget) != 'undefined')
|
1831 |
+
element = $event.currentTarget;
|
1832 |
+
else
|
1833 |
+
element = jQuery();
|
1834 |
+
|
1835 |
+
if (revers)
|
1836 |
+
indicator = 'asc'
|
1837 |
+
else
|
1838 |
+
indicator = 'desc'
|
1839 |
+
$scope.oredering[0] = $event;
|
1840 |
+
$scope.oredering[1] = order_by;
|
1841 |
+
$scope.oredering[2] = revers;
|
1842 |
+
jQuery(element).parent().find('.manage-column').removeClass('sortable desc asc sorted');
|
1843 |
+
jQuery(element).parent().find('.manage-column').not(element).addClass('sortable desc');
|
1844 |
+
jQuery(element).addClass('sorted ' + indicator);
|
1845 |
+
$scope.names = orderBy($scope.filtering_table(), order_by, revers).slice($scope.curPage * $scope.pageSize, ($scope.curPage + 1) * $scope.pageSize)
|
1846 |
+
}
|
1847 |
+
}
|
1848 |
+
</script>
|
1849 |
+
<?php
|
1850 |
+
|
1851 |
}
|
1852 |
+
public function mailing_list() {
|
1853 |
+
$page_parametrs = $this->generete_parametrs('mailing_list');
|
1854 |
+
$mailing_lists = NULL;
|
1855 |
+
if ($mailing_lists == NULL)
|
1856 |
+
$mailing_lists = array();
|
1857 |
+
if (isset($_GET['id']) && isset($_GET['task']) && $_GET['task'] == 'remove_user') {
|
1858 |
$get_id = intval($_GET['id']);
|
1859 |
unset($mailing_lists[$get_id]);
|
1860 |
+
update_option('users_mailer', json_encode($mailing_lists));
|
1861 |
}
|
1862 |
+
?>
|
1863 |
+
|
1864 |
<div class="wpdevart_plugins_header div-for-clear">
|
1865 |
<div class="wpdevart_plugins_get_pro div-for-clear">
|
1866 |
<div class="wpdevart_plugins_get_pro_info">
|
1867 |
<h3>WpDevArt Coming Soon Premium</h3>
|
1868 |
<p>Powerful and Customizable Coming Soon</p>
|
1869 |
</div>
|
1870 |
+
<a target="blank" href="http://wpdevart.com/wordpress-coming-soon-plugin/" class="wpdevart_upgrade">Upgrade</a>
|
1871 |
</div>
|
1872 |
+
<a target="blank" href="<?php echo esc_url(wpdevart_comingsoon_support_url); ?>" class="wpdevart_support">Have any Questions? Get quick support!</a>
|
1873 |
</div>
|
1874 |
+
<h2>Send Mail to all subscribed Users</h2>
|
1875 |
+
<p><span style="color:#7052fb;font-weight:bold;">All fields are required</span></p>
|
1876 |
+
|
1877 |
+
<form method="post" id="coming_soon_options_form_send_mail" action="admin.php?page='<?php echo 'coming-soon' ?>'">
|
1878 |
+
<span class="user_information_inputs">
|
1879 |
+
<input class="req_fields" type="text" value="" placeholder="Display Email" id="massage_from_mail" /><br />
|
1880 |
+
<input class="req_fields" type="text" value="" placeholder="Display Name " id="massage_from_name" /><br />
|
1881 |
+
<input class="req_fields" type="text" value="" placeholder="Message Title" id="massage_title" />
|
1882 |
+
</span>
|
1883 |
+
<textarea id="massage_description" placeholder="Message" style="width:400px; height:300px"></textarea><br /><br />
|
1884 |
+
<button type="button" id="send_mailing" class="save_button button button-primary"><span>Send Mail</span> <span class="saving_in_progress"> </span><span class="sucsses_save"> </span><span class="error_in_saving"> </span></button>
|
1885 |
+
<br /><br />
|
1886 |
+
<span class="error_massage mailing_list"></span>
|
1887 |
+
</form>
|
1888 |
+
<h2>The list of the subscribed users</h2> <?php $this->generete_subscriber_table_lists($mailing_lists); ?><h2>The list of the Subscribed users emails</h2><p><span style="color:#7052fb;font-weight:bold;">You can copy the emails list from the below and send emails using Gmail or other email services.</span></p><textarea readonly style="min-height:200px;width:95%">
|
1889 |
+
<?php foreach ($mailing_lists as $key => $value) {
|
1890 |
+
echo esc_html($key) . ',';
|
1891 |
+
} ?></textarea>
|
|
|
|
|
|
|
1892 |
<script>
|
1893 |
jQuery(document).ready(function(e) {
|
1894 |
+
jQuery('#send_mailing').click(function() {
|
1895 |
jQuery('#send_mailing').addClass('padding_loading');
|
1896 |
jQuery("#send_mailing").prop('disabled', true);
|
1897 |
+
jQuery('#coming_soon_options_form_send_mail .saving_in_progress').css('display', 'inline-block');
|
1898 |
+
|
1899 |
jQuery.ajax({
|
1900 |
+
type: 'POST',
|
1901 |
+
url: "<?php echo esc_url(admin_url('admin-ajax.php?action=coming_soon_send_mail')); ?>",
|
1902 |
+
data: {
|
1903 |
+
massage_from_mail: jQuery('#massage_from_mail').val(),
|
1904 |
+
massage_from_name: jQuery('#massage_from_name').val(),
|
1905 |
+
massage_description: jQuery('#massage_description').val(),
|
1906 |
+
massage_title: jQuery('#massage_title').val()
|
1907 |
+
},
|
1908 |
}).done(function(date) {
|
1909 |
+
switch (date) {
|
1910 |
+
case "<?php echo esc_html($this->text_parametrs['sucsses_mailed']); ?>":
|
1911 |
+
jQuery('#coming_soon_options_form_send_mail .saving_in_progress').css('display', 'none');
|
1912 |
+
jQuery('#coming_soon_options_form_send_mail .sucsses_save').css('display', 'inline-block');
|
1913 |
+
setTimeout(function() {
|
1914 |
+
jQuery('.sucsses_save').css('display', 'none');
|
1915 |
+
jQuery('#send_mailing').removeClass('padding_loading');
|
1916 |
+
jQuery("#send_mailing").prop('disabled', false);
|
1917 |
+
}, 2500);
|
1918 |
+
break;
|
1919 |
+
case "<?php echo esc_html($this->text_parametrs['mising_massage']); ?>":
|
1920 |
+
case "<?php echo esc_html($this->text_parametrs['missing_fromname']); ?>":
|
1921 |
+
case "<?php echo esc_html($this->text_parametrs['missing_frommail']); ?>":
|
1922 |
+
jQuery('#coming_soon_options_form_send_mail .saving_in_progress').css('display', 'none');
|
1923 |
+
jQuery('#coming_soon_options_form_send_mail .error_in_saving').css('display', 'inline-block');
|
1924 |
+
jQuery('#coming_soon_options_form_send_mail .error_massage').css('display', 'inline-block');
|
1925 |
jQuery('#coming_soon_options_form_send_mail .error_massage').html(date);
|
1926 |
+
setTimeout(function() {
|
1927 |
+
jQuery('#coming_soon_options_form_send_mail .error_massage').css('display', 'none');
|
1928 |
+
jQuery('#coming_soon_options_form_send_mail .error_in_saving').css('display', 'none');
|
1929 |
+
jQuery('#send_mailing').removeClass('padding_loading');
|
1930 |
+
jQuery("#send_mailing").prop('disabled', false);
|
1931 |
+
}, 3000);
|
1932 |
+
break;
|
1933 |
+
case "<?php echo esc_html($this->text_parametrs['missing_title']); ?>":
|
1934 |
+
jQuery('#coming_soon_options_form_send_mail .saving_in_progress').css('display', 'none');
|
1935 |
+
jQuery('#coming_soon_options_form_send_mail .error_in_saving').css('display', 'inline-block');
|
1936 |
+
jQuery('#coming_soon_options_form_send_mail .error_massage').css('display', 'inline-block');
|
1937 |
jQuery('#coming_soon_options_form_send_mail .error_massage').html(date);
|
1938 |
+
setTimeout(function() {
|
1939 |
+
jQuery('#coming_soon_options_form_send_mail .error_massage').css('display', 'none');
|
1940 |
+
jQuery('#coming_soon_options_form_send_mail .error_in_saving').css('display', 'none');
|
1941 |
+
jQuery('#send_mailing').removeClass('padding_loading');
|
1942 |
+
jQuery("#send_mailing").prop('disabled', false);
|
1943 |
+
}, 3000);
|
1944 |
+
break;
|
1945 |
default:
|
1946 |
+
jQuery('#coming_soon_options_form_send_mail .saving_in_progress').css('display', 'none');
|
1947 |
+
jQuery('#coming_soon_options_form_send_mail .error_in_saving').css('display', 'inline-block');
|
1948 |
+
jQuery('#coming_soon_options_form_send_mail .error_massage').css('display', 'inline-block');
|
1949 |
jQuery('#coming_soon_options_form_send_mail .error_massage').html(date);
|
1950 |
}
|
1951 |
+
});
|
1952 |
});
|
1953 |
+
});
|
1954 |
+
</script>
|
1955 |
+
|
1956 |
+
<?php
|
1957 |
}
|
1958 |
/*######################################### SUBSCRIBE #######################################*/
|
1959 |
+
public function sending_mail() {
|
1960 |
+
$mailing_lists = json_decode(stripslashes(get_option('users_mailer', '')), true);
|
1961 |
+
if ($mailing_lists == NULL)
|
1962 |
+
$mailing_lists = array();
|
1963 |
+
$not_sending_mails = array();
|
1964 |
+
$sending_mails = array();
|
1965 |
+
if (!(isset($_POST['massage_title']) && $_POST['massage_title'] != '')) {
|
1966 |
+
echo esc_html($this->text_parametrs['missing_title']);
|
1967 |
die();
|
1968 |
}
|
1969 |
+
if (!(isset($_POST['massage_description']) && $_POST['massage_description'] != '')) {
|
1970 |
+
echo esc_html($this->text_parametrs['mising_massage']);
|
1971 |
die();
|
1972 |
}
|
1973 |
+
if (!(isset($_POST['massage_from_name']) && $_POST['massage_from_name'] != '')) {
|
1974 |
+
echo esc_html($this->text_parametrs['missing_fromname']);
|
1975 |
die();
|
1976 |
}
|
1977 |
+
if (!(isset($_POST['massage_from_mail']) && $_POST['massage_from_mail'] != '')) {
|
1978 |
+
echo esc_js($this->text_parametrs['missing_frommail']);
|
1979 |
die();
|
1980 |
}
|
1981 |
+
$mails_array = array();
|
1982 |
+
foreach ($mailing_lists as $key => $mail) {
|
1983 |
+
array_push($mails_array, $key);
|
1984 |
}
|
1985 |
$headers_from = sanitize_text_field($_POST['massage_from_mail']);
|
1986 |
$message_description = sanitize_text_field($_POST['massage_description']);
|
1987 |
$message_from_name = sanitize_text_field($_POST['massage_from_name']);
|
1988 |
$message_title = sanitize_text_field($_POST['massage_title']);
|
1989 |
+
$headers = 'From: ' . $message_from_name . ' <' . $headers_from . '>' . "\r\n";
|
1990 |
+
$send = wp_mail($mails_array, $message_title, $message_description, $headers);
|
1991 |
+
if (!$send) {
|
1992 |
+
die(esc_html($this->text_parametrs['error_maied']));
|
1993 |
}
|
1994 |
+
die(esc_html($this->text_parametrs['sucsses_mailed']));
|
|
|
|
|
|
|
1995 |
}
|
1996 |
/*################################## FEATURED PLUGINS ADMIN PAGE #########################################*/
|
1997 |
+
public function featured_plugins() {
|
1998 |
+
$plugins_array = array(
|
1999 |
+
'gallery_album' => array(
|
2000 |
+
'image_url' => $this->plugin_url . 'images/featured_plugins/gallery-album-icon.png',
|
2001 |
+
'site_url' => 'https://wpdevart.com/wordpress-gallery-plugin',
|
2002 |
+
'title' => 'WordPress Gallery plugin',
|
2003 |
+
'description' => 'Gallery plugin is an useful tool that will help you to create Galleries and Albums. Try our nice Gallery views and awesome animations.'
|
2004 |
+
),
|
2005 |
+
'Pricing Table' => array(
|
2006 |
+
'image_url' => $this->plugin_url . 'images/featured_plugins/Pricing-table.png',
|
2007 |
+
'site_url' => 'https://wpdevart.com/wordpress-pricing-table-plugin/',
|
2008 |
+
'title' => 'WordPress Pricing Table',
|
2009 |
+
'description' => 'WordPress Pricing Table plugin is a nice tool for creating beautiful pricing tables. Use WpDevArt pricing table themes and create tables just in a few minutes.'
|
2010 |
+
),
|
2011 |
+
'countdown-extended' => array(
|
2012 |
+
'image_url' => $this->plugin_url . 'images/featured_plugins/icon-128x128.png',
|
2013 |
+
'site_url' => 'https://wpdevart.com/wordpress-countdown-extended-version/',
|
2014 |
+
'title' => 'WordPress Countdown Extended',
|
2015 |
+
'description' => 'Countdown extended is an fresh and extended version of countdown timer. You can easily create and add countdown timers to your website.'
|
2016 |
+
),
|
2017 |
+
'chart' => array(
|
2018 |
+
'image_url' => $this->plugin_url . 'images/featured_plugins/chart-featured.png',
|
2019 |
+
'site_url' => 'https://wpdevart.com/wordpress-organization-chart-plugin/',
|
2020 |
+
'title' => 'WordPress Organization Chart',
|
2021 |
+
'description' => 'WordPress organization chart plugin is a great tool for adding organizational charts to your WordPress websites.'
|
2022 |
+
),
|
2023 |
+
'Contact forms' => array(
|
2024 |
+
'image_url' => $this->plugin_url . 'images/featured_plugins/contact_forms.png',
|
2025 |
+
'site_url' => 'https://wpdevart.com/wordpress-contact-form-plugin/',
|
2026 |
+
'title' => 'Contact Form Builder',
|
2027 |
+
'description' => 'Contact Form Builder plugin is an handy tool for creating different types of contact forms on your WordPress websites.'
|
2028 |
+
),
|
2029 |
+
'Booking Calendar' => array(
|
2030 |
+
'image_url' => $this->plugin_url . 'images/featured_plugins/Booking_calendar_featured.png',
|
2031 |
+
'site_url' => 'https://wpdevart.com/wordpress-booking-calendar-plugin/',
|
2032 |
+
'title' => 'WordPress Booking Calendar',
|
2033 |
+
'description' => 'WordPress Booking Calendar plugin is an awesome tool to create a booking system for your website. Create booking calendars in a few minutes.'
|
2034 |
+
),
|
2035 |
+
'youtube' => array(
|
2036 |
+
'image_url' => $this->plugin_url . 'images/featured_plugins/youtube.png',
|
2037 |
+
'site_url' => 'https://wpdevart.com/wordpress-youtube-embed-plugin',
|
2038 |
+
'title' => 'WordPress YouTube Embed',
|
2039 |
+
'description' => 'YouTube Embed plugin is an convenient tool for adding videos to your website. Use YouTube Embed plugin for adding YouTube videos in posts/pages, widgets.'
|
2040 |
+
),
|
2041 |
+
'facebook-comments' => array(
|
2042 |
+
'image_url' => $this->plugin_url . 'images/featured_plugins/facebook-comments-icon.png',
|
2043 |
+
'site_url' => 'https://wpdevart.com/wordpress-facebook-comments-plugin/',
|
2044 |
+
'title' => 'Wpdevart Social comments',
|
2045 |
+
'description' => 'WordPress Facebook comments plugin will help you to display Facebook Comments on your website. You can use Facebook Comments on your pages/posts.'
|
2046 |
+
),
|
2047 |
+
'countdown' => array(
|
2048 |
+
'image_url' => $this->plugin_url . 'images/featured_plugins/countdown.jpg',
|
2049 |
+
'site_url' => 'https://wpdevart.com/wordpress-countdown-plugin/',
|
2050 |
+
'title' => 'WordPress Countdown plugin',
|
2051 |
+
'description' => 'WordPress Countdown plugin is an nice tool for creating countdown timers for your website posts/pages and widgets.'
|
2052 |
+
),
|
2053 |
+
'lightbox' => array(
|
2054 |
+
'image_url' => $this->plugin_url . 'images/featured_plugins/lightbox.png',
|
2055 |
+
'site_url' => 'https://wpdevart.com/wordpress-lightbox-plugin',
|
2056 |
+
'title' => 'WordPress Lightbox plugin',
|
2057 |
+
'description' => 'WordPress Lightbox Popup is an high customizable and responsive plugin for displaying images and videos in popup.'
|
2058 |
+
),
|
2059 |
+
'facebook' => array(
|
2060 |
+
'image_url' => $this->plugin_url . 'images/featured_plugins/facebook.png',
|
2061 |
+
'site_url' => 'https://wpdevart.com/wordpress-facebook-like-box-plugin',
|
2062 |
+
'title' => 'Social Like Box',
|
2063 |
+
'description' => 'Facebook like box plugin will help you to display Facebook like box on your wesite, just add Facebook Like box widget to sidebar or insert it into posts/pages and use it.'
|
2064 |
+
),
|
2065 |
+
'vertical_menu' => array(
|
2066 |
+
'image_url' => $this->plugin_url . 'images/featured_plugins/vertical-menu.png',
|
2067 |
+
'site_url' => 'https://wpdevart.com/wordpress-vertical-menu-plugin/',
|
2068 |
+
'title' => 'WordPress Vertical Menu',
|
2069 |
+
'description' => 'WordPress Vertical Menu is a handy tool for adding nice vertical menus. You can add icons for your website vertical menus using our plugin.'
|
2070 |
+
),
|
2071 |
+
'poll' => array(
|
2072 |
+
'image_url' => $this->plugin_url . 'images/featured_plugins/poll.png',
|
2073 |
+
'site_url' => 'https://wpdevart.com/wordpress-polls-plugin',
|
2074 |
+
'title' => 'WordPress Polls system',
|
2075 |
+
'description' => 'WordPress Polls system is an handy tool for creating polls and survey forms for your visitors. You can use our polls on widgets, posts and pages.'
|
2076 |
+
),
|
2077 |
+
'duplicate_page' => array(
|
2078 |
+
'image_url' => $this->plugin_url . 'images/featured_plugins/featured-duplicate.png',
|
2079 |
+
'site_url' => 'https://wpdevart.com/wordpress-duplicate-page-plugin-easily-clone-posts-and-pages/',
|
2080 |
+
'title' => 'WordPress Duplicate page',
|
2081 |
+
'description' => 'Duplicate Page or Post is a great tool that allows duplicating pages and posts. Now you can do it with one click.'
|
2082 |
+
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2083 |
|
2084 |
+
|
2085 |
+
);
|
2086 |
+
?>
|
2087 |
+
<style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2088 |
.featured_plugin_main {
|
2089 |
+
background-color: #ffffff;
|
2090 |
+
-webkit-box-sizing: border-box;
|
2091 |
+
-moz-box-sizing: border-box;
|
2092 |
+
box-sizing: border-box;
|
2093 |
+
float: left;
|
2094 |
+
margin-right: 30px;
|
2095 |
+
margin-bottom: 30px;
|
2096 |
+
width: calc((100% - 90px)/3);
|
2097 |
+
border-radius: 15px;
|
2098 |
+
box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.04);
|
2099 |
+
padding: 20px 25px;
|
2100 |
+
text-align: center;
|
2101 |
+
-webkit-transition: -webkit-transform 0.3s;
|
2102 |
+
-moz-transition: -moz-transform 0.3s;
|
2103 |
+
transition: transform 0.3s;
|
2104 |
+
-webkit-transform: translateY(0);
|
2105 |
+
-moz-transform: translateY0);
|
2106 |
+
transform: translateY(0);
|
2107 |
+
min-height: 344px;
|
2108 |
+
}
|
2109 |
+
|
2110 |
+
.featured_plugin_main:hover {
|
2111 |
+
-webkit-transform: translateY(-2px);
|
2112 |
+
-moz-transform: translateY(-2px);
|
2113 |
+
transform: translateY(-2px);
|
2114 |
+
}
|
2115 |
+
|
2116 |
+
.featured_plugin_image {
|
2117 |
+
max-width: 128px;
|
2118 |
+
margin: 0 auto;
|
2119 |
+
}
|
2120 |
+
|
2121 |
+
.blue_button {
|
2122 |
+
display: inline-block;
|
2123 |
+
font-size: 15px;
|
2124 |
+
text-decoration: none;
|
2125 |
+
border-radius: 5px;
|
2126 |
+
color: #ffffff;
|
2127 |
+
font-weight: 400;
|
2128 |
+
opacity: 1;
|
2129 |
+
-webkit-transition: opacity 0.3s;
|
2130 |
+
-moz-transition: opacity 0.3s;
|
2131 |
+
transition: opacity 0.3s;
|
2132 |
+
background-color: #7052fb;
|
2133 |
+
padding: 10px 22px;
|
2134 |
+
text-transform: uppercase;
|
2135 |
+
}
|
2136 |
+
|
2137 |
+
.blue_button:hover,
|
2138 |
+
.blue_button:focus {
|
2139 |
+
color: #ffffff;
|
2140 |
+
box-shadow: none;
|
2141 |
+
outline: none;
|
2142 |
+
}
|
2143 |
+
|
2144 |
+
.featured_plugin_image img {
|
2145 |
+
max-width: 100%;
|
2146 |
}
|
2147 |
+
|
2148 |
+
.featured_plugin_image a {
|
2149 |
+
display: inline-block;
|
2150 |
+
}
|
2151 |
+
|
2152 |
+
.featured_plugin_information {}
|
2153 |
+
|
2154 |
+
.featured_plugin_title {
|
2155 |
+
color: #7052fb;
|
2156 |
+
font-size: 18px;
|
2157 |
+
display: inline-block;
|
2158 |
+
}
|
2159 |
+
|
2160 |
+
.featured_plugin_title a {
|
2161 |
+
text-decoration: none;
|
2162 |
+
font-size: 19px;
|
2163 |
+
line-height: 22px;
|
2164 |
+
color: #7052fb;
|
2165 |
+
|
2166 |
+
}
|
2167 |
+
|
2168 |
+
.featured_plugin_title h4 {
|
2169 |
+
margin: 0px;
|
2170 |
+
margin-top: 20px;
|
2171 |
+
min-height: 44px;
|
2172 |
+
}
|
2173 |
+
|
2174 |
.featured_plugin_description {
|
2175 |
+
font-size: 14px;
|
2176 |
min-height: 63px;
|
2177 |
}
|
2178 |
+
|
2179 |
+
@media screen and (max-width: 1460px) {
|
2180 |
+
.featured_plugin_main {
|
2181 |
+
margin-right: 20px;
|
2182 |
+
margin-bottom: 20px;
|
2183 |
+
width: calc((100% - 60px)/3);
|
2184 |
+
padding: 20px 10px;
|
2185 |
+
}
|
2186 |
+
|
2187 |
+
.featured_plugin_description {
|
2188 |
+
font-size: 13px;
|
2189 |
+
min-height: 63px;
|
2190 |
+
}
|
2191 |
+
}
|
2192 |
+
|
2193 |
+
@media screen and (max-width: 1279px) {
|
2194 |
+
.featured_plugin_main {
|
2195 |
+
width: calc((100% - 60px)/2);
|
2196 |
+
padding: 20px 20px;
|
2197 |
+
min-height: 363px;
|
2198 |
+
}
|
2199 |
+
}
|
2200 |
+
|
2201 |
+
@media screen and (max-width: 768px) {
|
2202 |
+
.featured_plugin_main {
|
2203 |
+
width: calc(100% - 30px);
|
2204 |
+
padding: 20px 20px;
|
2205 |
+
min-height: auto;
|
2206 |
+
margin: 0 auto 20px;
|
2207 |
+
float: none;
|
2208 |
+
}
|
2209 |
+
|
2210 |
+
.featured_plugin_title h4 {
|
2211 |
+
min-height: auto;
|
2212 |
+
}
|
2213 |
+
|
2214 |
+
.featured_plugin_description {
|
2215 |
+
min-height: auto;
|
2216 |
font-size: 14px;
|
2217 |
+
}
|
2218 |
+
}
|
2219 |
+
</style>
|
2220 |
|
|
|
|
|
2221 |
<h1 style="text-align: center;font-size: 50px;font-weight: 700;color: #2b2350;margin: 20px auto 25px;line-height: 1.2;">Featured Plugins</h1>
|
2222 |
+
<?php foreach ($plugins_array as $key => $plugin) { ?>
|
2223 |
+
<div class="featured_plugin_main">
|
2224 |
+
<div class="featured_plugin_image"><a target="_blank" href="<?php echo esc_url($plugin['site_url']); ?>"><img src="<?php echo esc_url($plugin['image_url']); ?>"></a></div>
|
2225 |
+
<div class="featured_plugin_information">
|
2226 |
+
<div class="featured_plugin_title">
|
2227 |
+
<h4><a target="_blank" href="<?php echo esc_url($plugin['site_url']); ?>"><?php echo esc_html($plugin['title']); ?></a></h4>
|
2228 |
+
</div>
|
2229 |
+
<p class="featured_plugin_description"><?php echo esc_html($plugin['description']) ?></p>
|
2230 |
+
<a target="_blank" href="<?php echo esc_url($plugin['site_url']) ?>" class="blue_button">Check The Plugin</a>
|
2231 |
+
</div>
|
2232 |
+
<div style="clear:both"></div>
|
2233 |
</div>
|
2234 |
+
<?php }
|
|
|
|
|
|
|
2235 |
}
|
2236 |
+
|
2237 |
+
/*######################### Library functions #############################*/
|
2238 |
+
private function create_select_element_for_showing_effect($select_id = '', $curent_effect = 'none') {
|
2239 |
+
?>
|
2240 |
+
<select class="pro_select" id="<?php echo esc_html($select_id); ?>" name="<?php echo esc_html($select_id); ?>">
|
2241 |
+
<option <?php selected('none', $curent_effect); ?> value="none">none</option>
|
2242 |
+
<option <?php selected('random', $curent_effect); ?> value="random">random</option>
|
2243 |
+
<optgroup label="Attention Seekers">
|
2244 |
+
<option <?php selected('bounce', $curent_effect); ?> value="bounce">bounce</option>
|
2245 |
+
<option <?php selected('flash', $curent_effect); ?> value="flash">flash</option>
|
2246 |
+
<option <?php selected('pulse', $curent_effect); ?> value="pulse">pulse</option>
|
2247 |
+
<option <?php selected('rubberBand', $curent_effect); ?> value="rubberBand">rubberBand</option>
|
2248 |
+
<option <?php selected('shake', $curent_effect); ?> value="shake">shake</option>
|
2249 |
+
<option <?php selected('swing', $curent_effect); ?> value="swing">swing</option>
|
2250 |
+
<option <?php selected('tada', $curent_effect); ?> value="tada">tada</option>
|
2251 |
+
<option <?php selected('wobble', $curent_effect); ?> value="wobble">wobble</option>
|
2252 |
+
</optgroup>
|
2253 |
+
|
2254 |
+
<optgroup label="Bouncing Entrances">
|
2255 |
+
<option <?php selected('bounceIn', $curent_effect); ?> value="bounceIn">bounceIn</option>
|
2256 |
+
<option <?php selected('bounceInDown', $curent_effect); ?> value="bounceInDown">bounceInDown</option>
|
2257 |
+
<option <?php selected('bounceInLeft', $curent_effect); ?> value="bounceInLeft">bounceInLeft</option>
|
2258 |
+
<option <?php selected('bounceInRight', $curent_effect); ?> value="bounceInRight">bounceInRight</option>
|
2259 |
+
<option <?php selected('bounceInUp', $curent_effect); ?> value="bounceInUp">bounceInUp</option>
|
2260 |
+
</optgroup>
|
2261 |
+
|
2262 |
+
<optgroup label="Fading Entrances">
|
2263 |
+
<option <?php selected('fadeIn', $curent_effect); ?> value="fadeIn">fadeIn</option>
|
2264 |
+
<option <?php selected('fadeInDown', $curent_effect); ?> value="fadeInDown">fadeInDown</option>
|
2265 |
+
<option <?php selected('fadeInDownBig', $curent_effect); ?> value="fadeInDownBig">fadeInDownBig</option>
|
2266 |
+
<option <?php selected('fadeInLeft', $curent_effect); ?> value="fadeInLeft">fadeInLeft</option>
|
2267 |
+
<option <?php selected('fadeInLeftBig', $curent_effect); ?> value="fadeInLeftBig">fadeInLeftBig</option>
|
2268 |
+
<option <?php selected('fadeInRight', $curent_effect); ?> value="fadeInRight">fadeInRight</option>
|
2269 |
+
<option <?php selected('fadeInRightBig', $curent_effect); ?> value="fadeInRightBig">fadeInRightBig</option>
|
2270 |
+
<option <?php selected('fadeInUp', $curent_effect); ?> value="fadeInUp">fadeInUp</option>
|
2271 |
+
<option <?php selected('fadeInUpBig', $curent_effect); ?> value="fadeInUpBig">fadeInUpBig</option>
|
2272 |
+
</optgroup>
|
2273 |
+
|
2274 |
+
<optgroup label="Flippers">
|
2275 |
+
<option <?php selected('flip', $curent_effect); ?> value="flip">flip</option>
|
2276 |
+
<option <?php selected('flipInX', $curent_effect); ?> value="flipInX">flipInX</option>
|
2277 |
+
<option <?php selected('flipInY', $curent_effect); ?> value="flipInY">flipInY</option>
|
2278 |
+
</optgroup>
|
2279 |
+
|
2280 |
+
<optgroup label="Lightspeed">
|
2281 |
+
<option <?php selected('lightSpeedIn', $curent_effect); ?> value="lightSpeedIn">lightSpeedIn</option>
|
2282 |
+
</optgroup>
|
2283 |
+
|
2284 |
+
<optgroup label="Rotating Entrances">
|
2285 |
+
<option <?php selected('rotateIn', $curent_effect); ?> value="rotateIn">rotateIn</option>
|
2286 |
+
<option <?php selected('rotateInDownLeft', $curent_effect); ?> value="rotateInDownLeft">rotateInDownLeft</option>
|
2287 |
+
<option <?php selected('rotateInDownRight', $curent_effect); ?> value="rotateInDownRight">rotateInDownRight</option>
|
2288 |
+
<option <?php selected('rotateInUpLeft', $curent_effect); ?> value="rotateInUpLeft">rotateInUpLeft</option>
|
2289 |
+
<option <?php selected('rotateInUpRight', $curent_effect); ?> value="rotateInUpRight">rotateInUpRight</option>
|
2290 |
+
</optgroup>
|
2291 |
+
|
2292 |
+
<optgroup label="Specials">
|
2293 |
+
|
2294 |
+
<option <?php selected('rollIn', $curent_effect); ?> value="rollIn">rollIn</option>
|
2295 |
+
</optgroup>
|
2296 |
+
|
2297 |
+
<optgroup label="Zoom Entrances">
|
2298 |
+
<option <?php selected('zoomIn', $curent_effect); ?> value="zoomIn">zoomIn</option>
|
2299 |
+
<option <?php selected('zoomInDown', $curent_effect); ?> value="zoomInDown">zoomInDown</option>
|
2300 |
+
<option <?php selected('zoomInLeft', $curent_effect); ?> value="zoomInLeft">zoomInLeft</option>
|
2301 |
+
<option <?php selected('zoomInRight', $curent_effect); ?> value="zoomInRight">zoomInRight</option>
|
2302 |
+
<option <?php selected('zoomInUp', $curent_effect); ?> value="zoomInUp">zoomInUp</option>
|
2303 |
+
</optgroup>
|
2304 |
+
</select>
|
2305 |
+
<?php
|
2306 |
}
|
2307 |
+
|
2308 |
+
/*############ Fonts function ################*/
|
2309 |
+
|
2310 |
+
private function create_select_element_for_font($select_id = '', $curent_font = 'none') {
|
2311 |
?>
|
2312 |
+
<select class="pro_select" id="<?php echo esc_html($select_id); ?>" name="<?php echo esc_html($select_id); ?>">
|
2313 |
+
|
2314 |
+
<option <?php selected('Arial,Helvetica Neue,Helvetica,sans-serif', $curent_font); ?> value="Arial,Helvetica Neue,Helvetica,sans-serif">Arial *</option>
|
2315 |
+
<option <?php selected('Arial Black,Arial Bold,Arial,sans-serif', $curent_font); ?> value="Arial Black,Arial Bold,Arial,sans-serif">Arial Black *</option>
|
2316 |
+
<option <?php selected('Arial Narrow,Arial,Helvetica Neue,Helvetica,sans-serif', $curent_font); ?> value="Arial Narrow,Arial,Helvetica Neue,Helvetica,sans-serif">Arial Narrow *</option>
|
2317 |
+
<option <?php selected('Courier,Verdana,sans-serif', $curent_font); ?> value="Courier,Verdana,sans-serif">Courier *</option>
|
2318 |
+
<option <?php selected('Georgia,Times New Roman,Times,serif', $curent_font); ?> value="Georgia,Times New Roman,Times,serif">Georgia *</option>
|
2319 |
+
<option <?php selected('Times New Roman,Times,Georgia,serif', $curent_font); ?> value="Times New Roman,Times,Georgia,serif">Times New Roman *</option>
|
2320 |
+
<option <?php selected('Trebuchet MS,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,sans-serif', $curent_font); ?> value="Trebuchet MS,Lucida Grande,Lucida Sans Unicode,Lucida Sans,Arial,sans-serif">Trebuchet MS *</option>
|
2321 |
+
<option <?php selected('Verdana,sans-serif', $curent_font); ?> value="Verdana,sans-serif">Verdana *</option>
|
2322 |
+
<option <?php selected('American Typewriter,Georgia,serif', $curent_font); ?> value="American Typewriter,Georgia,serif">American Typewriter</option>
|
2323 |
+
<option <?php selected('Andale Mono,Consolas,Monaco,Courier,Courier New,Verdana,sans-serif', $curent_font); ?> value="Andale Mono,Consolas,Monaco,Courier,Courier New,Verdana,sans-serif">Andale Mono</option>
|
2324 |
+
<option <?php selected('Baskerville,Times New Roman,Times,serif', $curent_font); ?> value="Baskerville,Times New Roman,Times,serif">Baskerville</option>
|
2325 |
+
<option <?php selected('Bookman Old Style,Georgia,Times New Roman,Times,serif', $curent_font); ?> value="Bookman Old Style,Georgia,Times New Roman,Times,serif">Bookman Old Style</option>
|
2326 |
+
<option <?php selected('Calibri,Helvetica Neue,Helvetica,Arial,Verdana,sans-serif', $curent_font); ?> value="Calibri,Helvetica Neue,Helvetica,Arial,Verdana,sans-serif">Calibri</option>
|
2327 |
+
<option <?php selected('Cambria,Georgia,Times New Roman,Times,serif', $curent_font); ?> value="Cambria,Georgia,Times New Roman,Times,serif">Cambria</option>
|
2328 |
+
<option <?php selected('Candara,Verdana,sans-serif', $curent_font); ?> value="Candara,Verdana,sans-serif">Candara</option>
|
2329 |
+
<option <?php selected('Century Gothic,Apple Gothic,Verdana,sans-serif', $curent_font); ?> value="Century Gothic,Apple Gothic,Verdana,sans-serif">Century Gothic</option>
|
2330 |
+
<option <?php selected('Century Schoolbook,Georgia,Times New Roman,Times,serif', $curent_font); ?> value="Century Schoolbook,Georgia,Times New Roman,Times,serif">Century Schoolbook</option>
|
2331 |
+
<option <?php selected('Consolas,Andale Mono,Monaco,Courier,Courier New,Verdana,sans-serif', $curent_font); ?> value="Consolas,Andale Mono,Monaco,Courier,Courier New,Verdana,sans-serif">Consolas</option>
|
2332 |
+
<option <?php selected('Constantia,Georgia,Times New Roman,Times,serif', $curent_font); ?> value="Constantia,Georgia,Times New Roman,Times,serif">Constantia</option>
|
2333 |
+
<option <?php selected('Corbel,Lucida Grande,Lucida Sans Unicode,Arial,sans-serif', $curent_font); ?> value="Corbel,Lucida Grande,Lucida Sans Unicode,Arial,sans-serif">Corbel</option>
|
2334 |
+
<option <?php selected('Franklin Gothic Medium,Arial,sans-serif', $curent_font); ?> value="Franklin Gothic Medium,Arial,sans-serif">Franklin Gothic Medium</option>
|
2335 |
+
<option <?php selected('Garamond,Hoefler Text,Times New Roman,Times,serif', $curent_font); ?> value="Garamond,Hoefler Text,Times New Roman,Times,serif">Garamond</option>
|
2336 |
+
<option <?php selected('Gill Sans MT,Gill Sans,Calibri,Trebuchet MS,sans-serif', $curent_font); ?> value="Gill Sans MT,Gill Sans,Calibri,Trebuchet MS,sans-serif">Gill Sans MT</option>
|
2337 |
+
<option <?php selected('Helvetica Neue,Helvetica,Arial,sans-serif', $curent_font); ?> value="Helvetica Neue,Helvetica,Arial,sans-serif">Helvetica Neue</option>
|
2338 |
+
<option <?php selected('Hoefler Text,Garamond,Times New Roman,Times,sans-serif', $curent_font); ?> value="Hoefler Text,Garamond,Times New Roman,Times,sans-serif">Hoefler Text</option>
|
2339 |
+
<option <?php selected('Lucida Bright,Cambria,Georgia,Times New Roman,Times,serif', $curent_font); ?> value="Lucida Bright,Cambria,Georgia,Times New Roman,Times,serif">Lucida Bright</option>
|
2340 |
+
<option <?php selected('Lucida Grande,Lucida Sans,Lucida Sans Unicode,sans-serif', $curent_font); ?> value="Lucida Grande,Lucida Sans,Lucida Sans Unicode,sans-serif">Lucida Grande</option>
|
2341 |
+
<option <?php selected('monospace', $curent_font); ?> value="monospace">monospace</option>
|
2342 |
+
<option <?php selected('Palatino Linotype,Palatino,Georgia,Times New Roman,Times,serif', $curent_font); ?> value="Palatino Linotype,Palatino,Georgia,Times New Roman,Times,serif">Palatino Linotype</option>
|
2343 |
+
<option <?php selected('Tahoma,Geneva,Verdana,sans-serif', $curent_font); ?> value="Tahoma,Geneva,Verdana,sans-serif">Tahoma</option>
|
2344 |
+
<option <?php selected('Rockwell, Arial Black, Arial Bold, Arial, sans-serif', $curent_font); ?> value="Rockwell, Arial Black, Arial Bold, Arial, sans-serif">Rockwell</option>
|
2345 |
+
</select>
|
2346 |
+
<?php
|
2347 |
}
|
2348 |
+
}
|
|
includes/front_end.php
CHANGED
@@ -76,13 +76,13 @@ class coming_soon_front_end {
|
|
76 |
|
77 |
<head>
|
78 |
<meta charset="utf-8">
|
79 |
-
<title><?php echo $this->params['coming_soon_page_page_seo_title']; ?></title>
|
80 |
<meta name="viewport" content="width=device-width" />
|
81 |
<meta name="viewport" content="initial-scale=1.0" />
|
82 |
<meta name="robots" content="<?php if ((int)$this->params['coming_soon_page_enable_search_robots']) echo "index, follow";
|
83 |
else echo "noindex, nofollow"; ?>" />
|
84 |
-
<meta name="description" content="<?php echo $this->params['coming_soon_page_meta_description']; ?>">
|
85 |
-
<meta name="keywords" content="<?php echo $this->params['coming_soon_page_meta_keywords']; ?>">
|
86 |
<?php
|
87 |
wp_print_scripts('jquery');
|
88 |
wp_print_scripts('coming-soon-script');
|
@@ -104,9 +104,9 @@ class coming_soon_front_end {
|
|
104 |
private function generete_front_javascript() {
|
105 |
?>
|
106 |
<script type="text/javascript">
|
107 |
-
var loading_gif_url = "<?php echo $this->plugin_url . 'images/loading.gif' ?>";
|
108 |
-
var coming_soon_ajax_mail_url = "<?php echo admin_url('admin-ajax.php?action=coming_soon_page_save_user_mail'); ?>";
|
109 |
-
var curen_site_home_page = "<?php echo site_url(); ?>";
|
110 |
var animation_parametrs = []
|
111 |
</script>
|
112 |
<?php
|
@@ -174,10 +174,10 @@ class coming_soon_front_end {
|
|
174 |
private function background_css() {
|
175 |
switch ($this->params['coming_soon_page_radio_backroun']) {
|
176 |
case 'back_color':
|
177 |
-
echo 'body{ background-color:' . $this->params['coming_soon_page_background_color'] . '; }';
|
178 |
break;
|
179 |
case 'back_imge':
|
180 |
-
echo 'body{ background:url("' . $this->params['coming_soon_page_background_img'] . '") no-repeat center center fixed; }';
|
181 |
break;
|
182 |
}
|
183 |
}
|
@@ -202,7 +202,7 @@ class coming_soon_front_end {
|
|
202 |
private function content_css() {
|
203 |
$aligment_position = 'text-align:center; vertical-align:middle;';
|
204 |
echo ".information{ background: rgba(255,255,255,0.55); border-radius:8px; max-width:740px; padding-right:10px;padding-left:10px;padding-bottom:10px; }\r\n";
|
205 |
-
echo ".aligment{" . $aligment_position . ";}\r\n";
|
206 |
echo "#main_inform_div{padding:15px;}\r\n";
|
207 |
}
|
208 |
|
@@ -214,7 +214,7 @@ class coming_soon_front_end {
|
|
214 |
private function create_logo_html() {
|
215 |
if ($this->params['coming_soon_page_logo_enable']) {
|
216 |
?><div id="logo">
|
217 |
-
<img id="logo_img" src="<?php echo stripslashes($this->params['coming_soon_page_page_logo']); ?>" />
|
218 |
</div>
|
219 |
<?php }
|
220 |
}
|
@@ -232,7 +232,7 @@ class coming_soon_front_end {
|
|
232 |
if ($this->params['coming_soon_page_title_enable']) {
|
233 |
?>
|
234 |
<div id="title_style">
|
235 |
-
<h1 id="title_h1"><?php echo stripslashes($this->params['coming_soon_page_page_title']) ?></h1>
|
236 |
</div>
|
237 |
<?php
|
238 |
}
|
@@ -254,7 +254,7 @@ class coming_soon_front_end {
|
|
254 |
if ($this->params['coming_soon_page_message_enable']) {
|
255 |
?>
|
256 |
<div id="descrip">
|
257 |
-
<?php echo stripslashes($this->params['coming_soon_page_page_message']) ?>
|
258 |
</div>
|
259 |
|
260 |
<?php
|
@@ -270,7 +270,7 @@ class coming_soon_front_end {
|
|
270 |
if ($this->params['coming_soon_page_message_footer_enable'] == '1') {
|
271 |
?>
|
272 |
<div id="descrip_footer">
|
273 |
-
<?php echo stripslashes($this->params['coming_soon_page_page_message_footer']) ?>
|
274 |
</div>
|
275 |
|
276 |
<?php
|
@@ -280,7 +280,7 @@ class coming_soon_front_end {
|
|
280 |
/*############# Footer message function ################*/
|
281 |
|
282 |
private function generete_message_footer_css() {
|
283 |
-
echo '#descrip_footer{margin-top:' . $this->params['coming_soon_page_message_footer_top_distance'] . 'px;text-align:' . $this->text_align($this->params['coming_soon_page_message_footer_in_content_position']) . ';}';
|
284 |
}
|
285 |
|
286 |
/*############# Footer JS function ################*/
|
@@ -297,22 +297,22 @@ class coming_soon_front_end {
|
|
297 |
<div id="soc_icons" class="soc_icon_coneiner">
|
298 |
<?php if ($this->params['coming_soon_page_facebook']) { ?>
|
299 |
<span class="soc_icon">
|
300 |
-
<a href="<?php echo $this->params['coming_soon_page_facebook']; ?>" <?php echo $this->params['coming_soon_page_open_new_tabe'] ? ' target="_blank" ' : ''; ?>><img src="<?php echo $this->plugin_url . 'images/template1/facebook.png'; ?>" /></a>
|
301 |
</span>
|
302 |
<?php } ?>
|
303 |
<?php if ($this->params['coming_soon_page_twitter']) { ?>
|
304 |
<span class="soc_icon">
|
305 |
-
<a href="<?php echo $this->params['coming_soon_page_twitter']; ?>" <?php echo $this->params['coming_soon_page_open_new_tabe'] ? ' target="_blank" ' : ''; ?>><img src="<?php echo $this->plugin_url . 'images/template1/twiter.png'; ?>" /></a>
|
306 |
</span>
|
307 |
<?php } ?>
|
308 |
<?php if ($this->params['coming_soon_page_youtube']) { ?>
|
309 |
<span class="soc_icon">
|
310 |
-
<a href="<?php echo $this->params['coming_soon_page_youtube']; ?>" <?php echo $this->params['coming_soon_page_open_new_tabe'] ? ' target="_blank" ' : ''; ?>><img src="<?php echo $this->plugin_url . 'images/template1/youtobe.png'; ?>" /></a>
|
311 |
</span>
|
312 |
<?php } ?>
|
313 |
<?php if ($this->params['coming_soon_page_instagram']) { ?>
|
314 |
<span class="soc_icon">
|
315 |
-
<a href="<?php echo $this->params['coming_soon_page_instagram']; ?>" <?php echo $this->params['coming_soon_page_open_new_tabe'] ? ' target="_blank" ' : ''; ?>><img src="<?php echo $this->plugin_url . 'images/template1/instagram.png'; ?>" /></a>
|
316 |
</span>
|
317 |
<?php } ?>
|
318 |
</div>
|
76 |
|
77 |
<head>
|
78 |
<meta charset="utf-8">
|
79 |
+
<title><?php echo esc_html($this->params['coming_soon_page_page_seo_title']); ?></title>
|
80 |
<meta name="viewport" content="width=device-width" />
|
81 |
<meta name="viewport" content="initial-scale=1.0" />
|
82 |
<meta name="robots" content="<?php if ((int)$this->params['coming_soon_page_enable_search_robots']) echo "index, follow";
|
83 |
else echo "noindex, nofollow"; ?>" />
|
84 |
+
<meta name="description" content="<?php echo esc_html($this->params['coming_soon_page_meta_description']); ?>">
|
85 |
+
<meta name="keywords" content="<?php echo esc_html($this->params['coming_soon_page_meta_keywords']); ?>">
|
86 |
<?php
|
87 |
wp_print_scripts('jquery');
|
88 |
wp_print_scripts('coming-soon-script');
|
104 |
private function generete_front_javascript() {
|
105 |
?>
|
106 |
<script type="text/javascript">
|
107 |
+
var loading_gif_url = "<?php echo esc_url($this->plugin_url) . 'images/loading.gif' ?>";
|
108 |
+
var coming_soon_ajax_mail_url = "<?php echo esc_url(admin_url('admin-ajax.php?action=coming_soon_page_save_user_mail')); ?>";
|
109 |
+
var curen_site_home_page = "<?php echo esc_url(site_url()); ?>";
|
110 |
var animation_parametrs = []
|
111 |
</script>
|
112 |
<?php
|
174 |
private function background_css() {
|
175 |
switch ($this->params['coming_soon_page_radio_backroun']) {
|
176 |
case 'back_color':
|
177 |
+
echo 'body{ background-color:' . esc_html($this->params['coming_soon_page_background_color']) . '; }';
|
178 |
break;
|
179 |
case 'back_imge':
|
180 |
+
echo 'body{ background:url("' . esc_html($this->params['coming_soon_page_background_img']) . '") no-repeat center center fixed; }';
|
181 |
break;
|
182 |
}
|
183 |
}
|
202 |
private function content_css() {
|
203 |
$aligment_position = 'text-align:center; vertical-align:middle;';
|
204 |
echo ".information{ background: rgba(255,255,255,0.55); border-radius:8px; max-width:740px; padding-right:10px;padding-left:10px;padding-bottom:10px; }\r\n";
|
205 |
+
echo ".aligment{" . esc_html($aligment_position) . ";}\r\n";
|
206 |
echo "#main_inform_div{padding:15px;}\r\n";
|
207 |
}
|
208 |
|
214 |
private function create_logo_html() {
|
215 |
if ($this->params['coming_soon_page_logo_enable']) {
|
216 |
?><div id="logo">
|
217 |
+
<img id="logo_img" src="<?php echo stripslashes(esc_url($this->params['coming_soon_page_page_logo'])); ?>" />
|
218 |
</div>
|
219 |
<?php }
|
220 |
}
|
232 |
if ($this->params['coming_soon_page_title_enable']) {
|
233 |
?>
|
234 |
<div id="title_style">
|
235 |
+
<h1 id="title_h1"><?php echo esc_html(stripslashes($this->params['coming_soon_page_page_title'])); ?></h1>
|
236 |
</div>
|
237 |
<?php
|
238 |
}
|
254 |
if ($this->params['coming_soon_page_message_enable']) {
|
255 |
?>
|
256 |
<div id="descrip">
|
257 |
+
<?php echo stripslashes(wp_filter_post_kses($this->params['coming_soon_page_page_message'])); ?>
|
258 |
</div>
|
259 |
|
260 |
<?php
|
270 |
if ($this->params['coming_soon_page_message_footer_enable'] == '1') {
|
271 |
?>
|
272 |
<div id="descrip_footer">
|
273 |
+
<?php echo stripslashes(wp_filter_post_kses($this->params['coming_soon_page_page_message_footer'])); ?>
|
274 |
</div>
|
275 |
|
276 |
<?php
|
280 |
/*############# Footer message function ################*/
|
281 |
|
282 |
private function generete_message_footer_css() {
|
283 |
+
echo '#descrip_footer{margin-top:' . esc_html($this->params['coming_soon_page_message_footer_top_distance']) . 'px;text-align:' . esc_html($this->text_align($this->params['coming_soon_page_message_footer_in_content_position'])) . ';}';
|
284 |
}
|
285 |
|
286 |
/*############# Footer JS function ################*/
|
297 |
<div id="soc_icons" class="soc_icon_coneiner">
|
298 |
<?php if ($this->params['coming_soon_page_facebook']) { ?>
|
299 |
<span class="soc_icon">
|
300 |
+
<a href="<?php echo esc_html($this->params['coming_soon_page_facebook']); ?>" <?php echo $this->params['coming_soon_page_open_new_tabe'] ? ' target="_blank" ' : ''; ?>><img src="<?php echo esc_url($this->plugin_url) . 'images/template1/facebook.png'; ?>" /></a>
|
301 |
</span>
|
302 |
<?php } ?>
|
303 |
<?php if ($this->params['coming_soon_page_twitter']) { ?>
|
304 |
<span class="soc_icon">
|
305 |
+
<a href="<?php echo esc_html($this->params['coming_soon_page_twitter']); ?>" <?php echo $this->params['coming_soon_page_open_new_tabe'] ? ' target="_blank" ' : ''; ?>><img src="<?php echo esc_url($this->plugin_url) . 'images/template1/twiter.png'; ?>" /></a>
|
306 |
</span>
|
307 |
<?php } ?>
|
308 |
<?php if ($this->params['coming_soon_page_youtube']) { ?>
|
309 |
<span class="soc_icon">
|
310 |
+
<a href="<?php echo esc_html($this->params['coming_soon_page_youtube']); ?>" <?php echo $this->params['coming_soon_page_open_new_tabe'] ? ' target="_blank" ' : ''; ?>><img src="<?php echo esc_url($this->plugin_url) . 'images/template1/youtobe.png'; ?>" /></a>
|
311 |
</span>
|
312 |
<?php } ?>
|
313 |
<?php if ($this->params['coming_soon_page_instagram']) { ?>
|
314 |
<span class="soc_icon">
|
315 |
+
<a href="<?php echo esc_html($this->params['coming_soon_page_instagram']); ?>" <?php echo $this->params['coming_soon_page_open_new_tabe'] ? ' target="_blank" ' : ''; ?>><img src="<?php echo esc_url($this->plugin_url) . 'images/template1/instagram.png'; ?>" /></a>
|
316 |
</span>
|
317 |
<?php } ?>
|
318 |
</div>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wpdevart.com/wordpress-coming-soon-plugin/
|
|
4 |
Tags: coming soon, wordpress coming soon, maintenance, maintenance mode, under construction
|
5 |
Requires at least: 3.4.0
|
6 |
Tested up to: 5.8.1
|
7 |
-
Stable tag: 3.5.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -728,6 +728,10 @@ No dear users, you need to pay only once for pro version.
|
|
728 |
|
729 |
* Bug fixed - exclude IP.
|
730 |
|
|
|
|
|
|
|
|
|
731 |
==Step by step guide==
|
732 |
|
733 |
### Logo
|
4 |
Tags: coming soon, wordpress coming soon, maintenance, maintenance mode, under construction
|
5 |
Requires at least: 3.4.0
|
6 |
Tested up to: 5.8.1
|
7 |
+
Stable tag: 3.5.5
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
728 |
|
729 |
* Bug fixed - exclude IP.
|
730 |
|
731 |
+
= 3.5.5 ==
|
732 |
+
|
733 |
+
* Fixed issues (sanitized,escaped).
|
734 |
+
|
735 |
==Step by step guide==
|
736 |
|
737 |
### Logo
|