Version Description
Added option to enable/disable sending 503 header, Added more flexibility in customizing templates,Subscription form added to template 4, Several bugs fixed, Improved code, Translation supported. Check https://wordpress.org/plugins/coming-soon-maintenance-mode-from-acurax/changelog/ for more info.
Download this release
Release Info
Developer | Acurax |
Plugin | Under Construction / Maintenance Mode from Acurax |
Version | 2.5.1 |
Comparing to | |
See all releases |
Code changes from version 2.5 to 2.5.1
- acx_csma.php +16 -9
- css/admin.css +19 -7
- css/csma_addons.css +58 -0
- css/layout.css +645 -0
- function.php +335 -86
- images/addon_ppm.png +0 -0
- images/addon_private_url.jpg +0 -0
- images/addon_stp_1.gif +0 -0
- images/csma_04.png +0 -0
- includes/acx_csma_addons.php +40 -0
- includes/acx_csma_admin.php +602 -317
- includes/acx_csma_display_variables.php +1 -1
- includes/acx_csma_expert_support.php +23 -23
- includes/acx_csma_help.php +3 -3
- includes/acx_csma_misc.php +38 -64
- includes/acx_csma_subscribers.php +12 -12
- includes/defaults.php +248 -201
- includes/hook_functions.php +97 -21
- includes/hooks.php +37 -0
- includes/updates.php +2 -2
- js/color.js +60 -0
- readme.txt +81 -59
- templates/1/index.php +140 -25
- templates/1/style.css +22 -0
- templates/2/index.php +131 -17
- templates/2/style.css +9 -1
- templates/3/index.php +178 -70
- templates/3/style.css +10 -1
- templates/4/index.php +284 -9
- templates/4/style.css +91 -0
- templates/5/index.php +176 -67
- templates/5/style.css +9 -0
acx_csma.php
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Under Construction / Maintenance Mode From Acurax
|
4 |
-
Plugin URI: http://www.acurax.com/construction-maintenance-mode-
|
5 |
Description: Simple and the best Coming Soon or Maintenance Mode Plugin Which Supports Practically Unlimited Responsive Designs.
|
6 |
Author: Acurax
|
7 |
-
Version: 2.5
|
8 |
Author URI: http://wordpress.acurax.com
|
9 |
License: GPLv2 or later
|
|
|
10 |
*/
|
11 |
/*
|
12 |
This program is free software; you can redistribute it and/or
|
@@ -26,7 +27,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
26 |
?>
|
27 |
<?php
|
28 |
/*************** Admin function ***************/
|
29 |
-
define("ACX_CSMA_CURRENT_VERSION","2.5");
|
30 |
define("ACX_CSMA_TOTAL_THEMES",5);
|
31 |
define("ACX_CSMA_BASE_LOCATION",plugin_dir_url( __FILE__ ));
|
32 |
|
@@ -48,6 +49,10 @@ include_once(plugin_dir_path( __FILE__ ).'includes/hook_functions.php');
|
|
48 |
{
|
49 |
include(plugin_dir_path( __FILE__ ).'includes/acx_csma_subscribers.php');
|
50 |
}
|
|
|
|
|
|
|
|
|
51 |
|
52 |
function acx_csma_misc()
|
53 |
{
|
@@ -75,16 +80,18 @@ include_once(plugin_dir_path( __FILE__ ).'includes/hook_functions.php');
|
|
75 |
function acx_csma_admin_actions()
|
76 |
{
|
77 |
global $acx_csma_hide_expert_support_menu;
|
78 |
-
add_menu_page( 'Maintenance Mode / Coming Soon Configuration', 'Maintenance Mode', 'manage_options', 'Acurax-Coming-Soon-Maintenance-Mode-Settings','acx_csma_admin',plugin_dir_url( __FILE__ ).'/images/admin.png' ); // manage_options for admin
|
79 |
-
add_submenu_page('Acurax-Coming-Soon-Maintenance-Mode-Settings', 'Coming Soon/Maintenance From Acurax Subscribers List', 'View All Subscribers', 'manage_options', 'Acurax-Coming-Soon-Maintenance-Mode-Subscribers' ,'acx_csma_subscribers');
|
80 |
-
add_submenu_page('Acurax-Coming-Soon-Maintenance-Mode-Settings', 'Coming Soon/Maintenance From Acurax Misc Settings', 'Misc', 'manage_options', 'Acurax-Coming-Soon-Maintenance-Mode-Misc' ,'acx_csma_misc');
|
|
|
|
|
81 |
|
82 |
if($acx_csma_hide_expert_support_menu == "no") {
|
83 |
-
add_submenu_page('Acurax-Coming-Soon-Maintenance-Mode-Settings', 'Acurax Expert Support', 'Expert Support', 'manage_options', 'Acurax-Coming-Soon-Maintenance-Mode-Expert-Support' ,'acx_csma_expert_support');
|
84 |
}
|
85 |
-
add_submenu_page('Acurax-Coming-Soon-Maintenance-Mode-Settings', 'Coming Soon/Maintenance From Acurax Display Variables', 'Display Variables', 'manage_options', 'Acurax-Coming-Soon-Maintenance-Mode-Variables' ,'acx_csma_display_variable_menu');
|
86 |
|
87 |
-
add_submenu_page('Acurax-Coming-Soon-Maintenance-Mode-Settings', 'Coming Soon/Maintenance From Acurax Help and Support', 'Help', 'manage_options', 'Acurax-Coming-Soon-Maintenance-Mode-Help' ,'acx_csma_help');
|
88 |
}
|
89 |
if ( is_admin() )
|
90 |
{
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Under Construction / Maintenance Mode From Acurax
|
4 |
+
Plugin URI: http://www.acurax.com/products/under-construction-maintenance-mode-wordpress-plugin
|
5 |
Description: Simple and the best Coming Soon or Maintenance Mode Plugin Which Supports Practically Unlimited Responsive Designs.
|
6 |
Author: Acurax
|
7 |
+
Version: 2.5.1
|
8 |
Author URI: http://wordpress.acurax.com
|
9 |
License: GPLv2 or later
|
10 |
+
Text Domain: coming-soon-maintenance-mode-from-acurax
|
11 |
*/
|
12 |
/*
|
13 |
This program is free software; you can redistribute it and/or
|
27 |
?>
|
28 |
<?php
|
29 |
/*************** Admin function ***************/
|
30 |
+
define("ACX_CSMA_CURRENT_VERSION","2.5.1");
|
31 |
define("ACX_CSMA_TOTAL_THEMES",5);
|
32 |
define("ACX_CSMA_BASE_LOCATION",plugin_dir_url( __FILE__ ));
|
33 |
|
49 |
{
|
50 |
include(plugin_dir_path( __FILE__ ).'includes/acx_csma_subscribers.php');
|
51 |
}
|
52 |
+
function acx_csma_addons()
|
53 |
+
{
|
54 |
+
include(plugin_dir_path( __FILE__ ).'includes/acx_csma_addons.php');
|
55 |
+
}
|
56 |
|
57 |
function acx_csma_misc()
|
58 |
{
|
80 |
function acx_csma_admin_actions()
|
81 |
{
|
82 |
global $acx_csma_hide_expert_support_menu;
|
83 |
+
add_menu_page( __('Maintenance Mode / Coming Soon Configuration','coming-soon-maintenance-mode-from-acurax'), __('Maintenance Mode','coming-soon-maintenance-mode-from-acurax'), 'manage_options', 'Acurax-Coming-Soon-Maintenance-Mode-Settings','acx_csma_admin',plugin_dir_url( __FILE__ ).'/images/admin.png' ); // manage_options for admin
|
84 |
+
add_submenu_page('Acurax-Coming-Soon-Maintenance-Mode-Settings', __('Coming Soon/Maintenance From Acurax Subscribers List','coming-soon-maintenance-mode-from-acurax'), __('View All Subscribers','coming-soon-maintenance-mode-from-acurax'), 'manage_options', 'Acurax-Coming-Soon-Maintenance-Mode-Subscribers' ,'acx_csma_subscribers');
|
85 |
+
add_submenu_page('Acurax-Coming-Soon-Maintenance-Mode-Settings', __('Coming Soon/Maintenance From Acurax Misc Settings','coming-soon-maintenance-mode-from-acurax'), __('Misc','coming-soon-maintenance-mode-from-acurax'), 'manage_options', 'Acurax-Coming-Soon-Maintenance-Mode-Misc' ,'acx_csma_misc');
|
86 |
+
|
87 |
+
add_submenu_page('Acurax-Coming-Soon-Maintenance-Mode-Settings', __('Coming Soon/Maintenance From Acurax Available Add-ons','coming-soon-maintenance-mode-from-acurax'), __('Add-ons','coming-soon-maintenance-mode-from-acurax'), 'manage_options', 'Acurax-Coming-Soon-Maintenance-Mode-Add-ons' ,'acx_csma_addons');
|
88 |
|
89 |
if($acx_csma_hide_expert_support_menu == "no") {
|
90 |
+
add_submenu_page('Acurax-Coming-Soon-Maintenance-Mode-Settings', __('Acurax Expert Support','coming-soon-maintenance-mode-from-acurax'), __('Expert Support','coming-soon-maintenance-mode-from-acurax'), 'manage_options', 'Acurax-Coming-Soon-Maintenance-Mode-Expert-Support' ,'acx_csma_expert_support');
|
91 |
}
|
92 |
+
add_submenu_page('Acurax-Coming-Soon-Maintenance-Mode-Settings', __('Coming Soon/Maintenance From Acurax Display Variables','coming-soon-maintenance-mode-from-acurax'), __('Display Variables','coming-soon-maintenance-mode-from-acurax'), 'manage_options', 'Acurax-Coming-Soon-Maintenance-Mode-Variables' ,'acx_csma_display_variable_menu');
|
93 |
|
94 |
+
add_submenu_page('Acurax-Coming-Soon-Maintenance-Mode-Settings', __('Coming Soon/Maintenance From Acurax Help and Support','coming-soon-maintenance-mode-from-acurax'), __('Help','coming-soon-maintenance-mode-from-acurax'), 'manage_options', 'Acurax-Coming-Soon-Maintenance-Mode-Help' ,'acx_csma_help');
|
95 |
}
|
96 |
if ( is_admin() )
|
97 |
{
|
css/admin.css
CHANGED
@@ -285,7 +285,13 @@ width: 100%;
|
|
285 |
text-decoration:none !important;
|
286 |
color:#006400;
|
287 |
}
|
288 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
289 |
{
|
290 |
max-width: 95%;
|
291 |
width: 765px;
|
@@ -389,7 +395,11 @@ width: 15%;
|
|
389 |
{
|
390 |
display:block;
|
391 |
}
|
392 |
-
#
|
|
|
|
|
|
|
|
|
393 |
{
|
394 |
max-width: 70%;
|
395 |
}
|
@@ -786,10 +796,12 @@ z-index:9999;
|
|
786 |
|
787 |
.acx_csma_disp_edit_inner
|
788 |
{
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
|
|
|
|
793 |
}
|
794 |
|
795 |
.acx_csma_disp_edit_close_btn
|
@@ -798,7 +810,7 @@ background:url(../images/close_btn.png) no-repeat center center;
|
|
798 |
width:40px;
|
799 |
height:40px;
|
800 |
position:absolute;
|
801 |
-
right: -
|
802 |
top: -6px;
|
803 |
cursor:pointer;
|
804 |
}
|
285 |
text-decoration:none !important;
|
286 |
color:#006400;
|
287 |
}
|
288 |
+
#acurax_csma_misc_form
|
289 |
+
{
|
290 |
+
//max-width: 95%;
|
291 |
+
width: 100%;
|
292 |
+
float:left;
|
293 |
+
}
|
294 |
+
#acx_csma_form
|
295 |
{
|
296 |
max-width: 95%;
|
297 |
width: 765px;
|
395 |
{
|
396 |
display:block;
|
397 |
}
|
398 |
+
#acurax_csma_misc_form
|
399 |
+
{
|
400 |
+
max-width: 100%;
|
401 |
+
}
|
402 |
+
#acx_csma_form
|
403 |
{
|
404 |
max-width: 70%;
|
405 |
}
|
796 |
|
797 |
.acx_csma_disp_edit_inner
|
798 |
{
|
799 |
+
background: #fff none repeat scroll 0 0;
|
800 |
+
border: 1px solid lightblue;
|
801 |
+
border-radius: 4px;
|
802 |
+
margin: 50px auto 0;
|
803 |
+
max-width: 700px;
|
804 |
+
position: relative;
|
805 |
}
|
806 |
|
807 |
.acx_csma_disp_edit_close_btn
|
810 |
width:40px;
|
811 |
height:40px;
|
812 |
position:absolute;
|
813 |
+
right: -7px;
|
814 |
top: -6px;
|
815 |
cursor:pointer;
|
816 |
}
|
css/csma_addons.css
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#csma_addons_intro_holder
|
2 |
+
{
|
3 |
+
display: block;
|
4 |
+
width: 98%;
|
5 |
+
}
|
6 |
+
.csma_addons_intro
|
7 |
+
{
|
8 |
+
background: white none repeat scroll 0 0;
|
9 |
+
border: 1px solid #7cbac3;
|
10 |
+
border-radius: 2px;
|
11 |
+
box-sizing: border-box;
|
12 |
+
cursor: pointer;
|
13 |
+
display: block;
|
14 |
+
float: left;
|
15 |
+
font-family: arial;
|
16 |
+
font-size: 12px;
|
17 |
+
height: 420px;
|
18 |
+
margin-bottom: 2%;
|
19 |
+
margin-right: 2%;
|
20 |
+
max-height: 420px;
|
21 |
+
max-width: 100%;
|
22 |
+
padding: 10px;
|
23 |
+
text-align: center;
|
24 |
+
width: 22%;
|
25 |
+
}
|
26 |
+
.csma_addons_intro > img {
|
27 |
+
border: 1px dotted lightgray;
|
28 |
+
width: 100%;
|
29 |
+
}
|
30 |
+
.csma_addons_intro h3 {
|
31 |
+
color: #3c87b3;
|
32 |
+
font-family: arial;
|
33 |
+
font-size: 15px;
|
34 |
+
text-decoration: none;
|
35 |
+
text-transform: capitalize;
|
36 |
+
}
|
37 |
+
.csma_addons_intro > p {
|
38 |
+
font-family: Helvetica;
|
39 |
+
font-size: 12px;
|
40 |
+
height: 130px;
|
41 |
+
line-height: 18px;
|
42 |
+
text-align: justify;
|
43 |
+
}
|
44 |
+
.csma_addons_intro .csma_addon_button {
|
45 |
+
border: 1px solid black;
|
46 |
+
box-sizing: border-box;
|
47 |
+
color: black;
|
48 |
+
display: block;
|
49 |
+
margin-left: auto;
|
50 |
+
margin-right: auto;
|
51 |
+
padding: 6px;
|
52 |
+
text-decoration: none;
|
53 |
+
border-radius: 2px;
|
54 |
+
width: 85%;
|
55 |
+
}
|
56 |
+
.csma_addons_intro .csma_addon_button:hover {
|
57 |
+
background:#f8f8f8;
|
58 |
+
}
|
css/layout.css
ADDED
@@ -0,0 +1,645 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* Regular */
|
2 |
+
@font-face {
|
3 |
+
font-family: 'OpenSans-Regular';
|
4 |
+
|
5 |
+
src: url('fonts/OpenSans-Regular-webfont.eot');
|
6 |
+
src: url('fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
|
7 |
+
url('fonts/OpenSans-Regular-webfont.woff') format('woff'),
|
8 |
+
url('fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
|
9 |
+
url('fonts/OpenSans-Regular-webfont.svg#OpenSansRegular') format('svg');
|
10 |
+
font-weight: normal;
|
11 |
+
font-weight: 400;
|
12 |
+
font-style: normal;
|
13 |
+
}
|
14 |
+
/* Semibold */
|
15 |
+
@font-face {
|
16 |
+
font-family: 'OpenSans-Semibold';
|
17 |
+
src: url('fonts/OpenSans-Semibold-webfont.eot');
|
18 |
+
src: url('fonts/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
|
19 |
+
url('fonts/OpenSans-Semibold-webfont.woff') format('woff'),
|
20 |
+
url('fonts/OpenSans-Semibold-webfont.ttf') format('truetype'),
|
21 |
+
url('fonts/OpenSans-Semibold-webfont.svg#OpenSansSemibold') format('svg');
|
22 |
+
font-weight: 500;
|
23 |
+
font-style: normal;
|
24 |
+
}
|
25 |
+
/* Oswald-Regular */
|
26 |
+
@font-face {
|
27 |
+
font-family: 'Oswald-Regular';
|
28 |
+
src:url('fonts/Oswald-Regular.ttf') format('truetype');
|
29 |
+
font-weight:normal;
|
30 |
+
font-style: normal;
|
31 |
+
}
|
32 |
+
#acx_csma_stars
|
33 |
+
{
|
34 |
+
color: #e6b800;
|
35 |
+
display: table;
|
36 |
+
text-align: center;
|
37 |
+
width: 100%;
|
38 |
+
margin-bottom:10px;
|
39 |
+
}
|
40 |
+
#acx_csma_stars span
|
41 |
+
{
|
42 |
+
cursor: pointer;
|
43 |
+
font-size: 30px;
|
44 |
+
margin: 6px;
|
45 |
+
}
|
46 |
+
#acx_csma_stars span:hover
|
47 |
+
{
|
48 |
+
color:#dcb208;
|
49 |
+
}
|
50 |
+
#acx_csma_option_page_holder
|
51 |
+
{
|
52 |
+
background: white none repeat scroll 0 0;
|
53 |
+
border: 1px solid lightgrey;
|
54 |
+
box-sizing: border-box;
|
55 |
+
margin-top: 10px;
|
56 |
+
min-height: 200px;
|
57 |
+
padding: 10px;
|
58 |
+
width: 99%;
|
59 |
+
display: inline-block;
|
60 |
+
}
|
61 |
+
.acx_csma_option_page_left
|
62 |
+
{
|
63 |
+
box-sizing: border-box;
|
64 |
+
display: inline-block;
|
65 |
+
float: left;
|
66 |
+
min-height: 200px;
|
67 |
+
width: 100%;
|
68 |
+
}
|
69 |
+
.acx_csma_option_page_right
|
70 |
+
{
|
71 |
+
box-sizing: border-box;
|
72 |
+
display: none;
|
73 |
+
float: left;
|
74 |
+
margin-left: 2%;
|
75 |
+
min-height: 200px;
|
76 |
+
width: 30%;
|
77 |
+
}
|
78 |
+
.acx_csma_option_head {
|
79 |
+
font-family: arial;
|
80 |
+
font-size: 20px;
|
81 |
+
font-weight: 400;
|
82 |
+
margin: 12px 0;
|
83 |
+
padding: 0;
|
84 |
+
text-indent: 5px;
|
85 |
+
}
|
86 |
+
.acx_csma_q_holder {
|
87 |
+
background: #f0f0f0 none repeat scroll 0 0;
|
88 |
+
border: 1px solid lightgray;
|
89 |
+
box-sizing: border-box;
|
90 |
+
width: 100%;
|
91 |
+
margin-bottom: 15px;
|
92 |
+
}
|
93 |
+
.acx_csma_q_holder h4 {
|
94 |
+
box-sizing: border-box;
|
95 |
+
color: #393939;
|
96 |
+
font-size: 14px;
|
97 |
+
font-weight: normal;
|
98 |
+
margin: 0;
|
99 |
+
padding: 7px;
|
100 |
+
width: 100%;
|
101 |
+
}
|
102 |
+
.acx_csma_q_holder_c {
|
103 |
+
background: white none repeat scroll 0 0;
|
104 |
+
box-sizing: border-box;
|
105 |
+
display: inline-block;
|
106 |
+
padding: 12px;
|
107 |
+
width: 100%;
|
108 |
+
}
|
109 |
+
.acx_csma_q_holder .label {
|
110 |
+
float: left;
|
111 |
+
padding-top: 4px;
|
112 |
+
width: 20%;
|
113 |
+
}
|
114 |
+
.acx_csma_q_holder_c input,.acx_csma_q_holder_c select,.acx_csma_q_holder_c textarea {
|
115 |
+
border: 1px solid lightblue;
|
116 |
+
box-sizing: border-box;
|
117 |
+
float: left;
|
118 |
+
width: 79%;
|
119 |
+
}
|
120 |
+
.acx_csma_q_holder_c textarea
|
121 |
+
{
|
122 |
+
height: 100px;
|
123 |
+
}
|
124 |
+
.acx_csma_q_holder_c label {
|
125 |
+
float: left;
|
126 |
+
padding-top: 4px;
|
127 |
+
}
|
128 |
+
.acx_csma_q_holder_c input[type="radio"] {
|
129 |
+
float: left;
|
130 |
+
margin-left: 5px;
|
131 |
+
margin-right: 20px;
|
132 |
+
margin-top: 6px;
|
133 |
+
width: auto;
|
134 |
+
}
|
135 |
+
.acx_csma_q_holder_c .acx_csma_q_sep {
|
136 |
+
float: left;
|
137 |
+
height: 8px;
|
138 |
+
width: 100%;
|
139 |
+
}
|
140 |
+
.acx_csma_q_holder .note {
|
141 |
+
color: gray;
|
142 |
+
float: left;
|
143 |
+
font-family: arial;
|
144 |
+
font-size: 12px;
|
145 |
+
margin-top: 3px;
|
146 |
+
width: 100%;
|
147 |
+
}
|
148 |
+
#acx_csma_c_icon_p_info_lb_h
|
149 |
+
{
|
150 |
+
background: rgba(0, 0, 0, 0.8) none repeat scroll 0 0;
|
151 |
+
height: 100%;
|
152 |
+
left: 0;
|
153 |
+
position: fixed;
|
154 |
+
top: 0;
|
155 |
+
width: 100%;
|
156 |
+
z-index: 199999;
|
157 |
+
}
|
158 |
+
#acx_csma_c_icon_p_info_lb_h .acx_csma_c_icon_p_info_c
|
159 |
+
{
|
160 |
+
background: white none repeat scroll 0 0;
|
161 |
+
border: 1px solid lightblue;
|
162 |
+
border-radius: 2px;
|
163 |
+
box-sizing: border-box;
|
164 |
+
margin-left: 24%;
|
165 |
+
margin-top: 7%;
|
166 |
+
position: relative;
|
167 |
+
width: 50%;
|
168 |
+
}
|
169 |
+
#acx_csma_c_icon_p_info_lb_h .acx_csma_c_icon_p_info_close
|
170 |
+
{
|
171 |
+
background: rgba(0, 0, 0, 0) url("../images/close.png") repeat scroll 0 0;
|
172 |
+
cursor: pointer;
|
173 |
+
height: 30px;
|
174 |
+
position: absolute;
|
175 |
+
right: 0;
|
176 |
+
top: 0;
|
177 |
+
width: 35px;
|
178 |
+
}
|
179 |
+
.csma_info_lb
|
180 |
+
{
|
181 |
+
cursor:pointer;
|
182 |
+
}
|
183 |
+
#acx_csma_c_icon_p_info_lb_h h4
|
184 |
+
{
|
185 |
+
background: #f0f0f0 none repeat scroll 0 0;
|
186 |
+
box-sizing: border-box;
|
187 |
+
font-family: arial;
|
188 |
+
font-size: 16px;
|
189 |
+
font-weight: normal;
|
190 |
+
margin: 0;
|
191 |
+
padding: 8px;
|
192 |
+
}
|
193 |
+
#acx_csma_c_icon_p_info_lb_h .acx_csma_c_icon_p_info_content
|
194 |
+
{
|
195 |
+
background: white none repeat scroll 0 0;
|
196 |
+
box-sizing: border-box;
|
197 |
+
font-family: arial;
|
198 |
+
font-size: 16px;
|
199 |
+
line-height: 22px;
|
200 |
+
min-height: 100px;
|
201 |
+
padding: 15px;
|
202 |
+
color:#707171;
|
203 |
+
}
|
204 |
+
.acx_csma_c_icon_p_info_content a {
|
205 |
+
border-bottom: 1px dashed;
|
206 |
+
font-family: arial;
|
207 |
+
font-size: 15px;
|
208 |
+
font-style: normal;
|
209 |
+
text-decoration: none;
|
210 |
+
}
|
211 |
+
#acx_csma_admin_left_section h4
|
212 |
+
{
|
213 |
+
box-sizing: border-box;
|
214 |
+
color: #393939;
|
215 |
+
font-weight: normal;
|
216 |
+
margin: 0;
|
217 |
+
padding: 7px;
|
218 |
+
text-transform: capitalize;
|
219 |
+
width: 100%;
|
220 |
+
}
|
221 |
+
@media screen and (min-width:840px)
|
222 |
+
{
|
223 |
+
.acx_csma_option_page_left
|
224 |
+
{
|
225 |
+
width: 68%;
|
226 |
+
}
|
227 |
+
.acx_csma_option_page_right
|
228 |
+
{
|
229 |
+
display:block;
|
230 |
+
}
|
231 |
+
}
|
232 |
+
/* STYLES Expert Support */
|
233 |
+
.acx_csma_es_common_raw
|
234 |
+
{
|
235 |
+
border: 1px dotted white;
|
236 |
+
border-radius: 8px;
|
237 |
+
float: left;
|
238 |
+
/* margin-top: 20px; */
|
239 |
+
width: 100%;
|
240 |
+
}
|
241 |
+
|
242 |
+
.acx_csma_es_common_bg
|
243 |
+
{
|
244 |
+
background:#004050;
|
245 |
+
}
|
246 |
+
.acx_csma_es_middle_section
|
247 |
+
{
|
248 |
+
margin-left:auto;
|
249 |
+
margin-right:auto;
|
250 |
+
}
|
251 |
+
|
252 |
+
.acx_csma_es_acx_content_area
|
253 |
+
{
|
254 |
+
float:left;
|
255 |
+
width:100%;
|
256 |
+
padding: 25px 0;
|
257 |
+
}
|
258 |
+
|
259 |
+
.acx_csma_es_wp_left_area
|
260 |
+
{
|
261 |
+
float:left;
|
262 |
+
width:550px;
|
263 |
+
padding-right: 60px;
|
264 |
+
}
|
265 |
+
.acx_csma_es_wp_left_content_inner
|
266 |
+
{
|
267 |
+
float:left;
|
268 |
+
width:100%;
|
269 |
+
}
|
270 |
+
|
271 |
+
.acx_csma_es_wp_main_head
|
272 |
+
{
|
273 |
+
float:left;
|
274 |
+
display:table;
|
275 |
+
color:#66d1ec;
|
276 |
+
font-family:Oswald-Regular;
|
277 |
+
font-size:32px;
|
278 |
+
line-height:44px;
|
279 |
+
text-align:left;
|
280 |
+
margin-bottom: 20px;
|
281 |
+
}
|
282 |
+
|
283 |
+
.acx_csma_es_wp_sub_para_des
|
284 |
+
{
|
285 |
+
float:left;
|
286 |
+
display:table;
|
287 |
+
color:#fff;
|
288 |
+
font-family:Opensans-Regular;
|
289 |
+
font-size:14px;
|
290 |
+
line-height:24px;
|
291 |
+
text-align:left;
|
292 |
+
margin-bottom: 15px;
|
293 |
+
}
|
294 |
+
|
295 |
+
.acx_csma_es_wp_sub_para_des a,
|
296 |
+
.acx_csma_es_wp_footer_area_desc a
|
297 |
+
{
|
298 |
+
color:#3ad0f5;
|
299 |
+
display:inline;
|
300 |
+
text-decoration:underline;
|
301 |
+
}
|
302 |
+
|
303 |
+
.acx_csma_es_wp_sub_para_des a:hover
|
304 |
+
{
|
305 |
+
color:#ffbf43;
|
306 |
+
}
|
307 |
+
|
308 |
+
.acx_csma_es_wp_acx_service_list
|
309 |
+
{
|
310 |
+
float:left;
|
311 |
+
width:100%;
|
312 |
+
}
|
313 |
+
|
314 |
+
.acx_csma_es_wp_acx_service_list ul
|
315 |
+
{
|
316 |
+
display:block;
|
317 |
+
float:left;
|
318 |
+
width:100%;
|
319 |
+
}
|
320 |
+
|
321 |
+
.acx_csma_es_wp_acx_service_list ul li
|
322 |
+
{
|
323 |
+
color:#fff;
|
324 |
+
font-family:Opensans-Semibold;
|
325 |
+
font-size:14px;
|
326 |
+
text-align:left;
|
327 |
+
display:block;
|
328 |
+
margin-top:10px;
|
329 |
+
padding-left:20px;
|
330 |
+
background-repeat:no-repeat;
|
331 |
+
background-position:0px 6px;
|
332 |
+
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAJCAYAAAAPU20uAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAExJREFUeNqM0LENgDAQQ9FLxwJMwUBswhjUbJJxmIGa4lGgdFzIl9xZlu1AxYL4Uni5cWDODI0LG6bM0DixohSInP03YbhDd0X3h2cAIc3gGqTftKUAAAAASUVORK5CYII=);
|
333 |
+
}
|
334 |
+
|
335 |
+
|
336 |
+
.acx_csma_es_wp_send_ylw_para
|
337 |
+
{
|
338 |
+
float:left;
|
339 |
+
display:table;
|
340 |
+
color:#ffde9e;
|
341 |
+
font-family:Opensans-Regular;
|
342 |
+
font-size:13px;
|
343 |
+
line-height:22px;
|
344 |
+
text-align:left;
|
345 |
+
margin-top:25px;
|
346 |
+
}
|
347 |
+
|
348 |
+
|
349 |
+
.acx_csma_es_wp_right_area
|
350 |
+
{
|
351 |
+
width:350px;
|
352 |
+
float:left;
|
353 |
+
}
|
354 |
+
|
355 |
+
.acx_csma_es_wp_right_inner_form_wrap
|
356 |
+
{
|
357 |
+
float:left;
|
358 |
+
width:100%;
|
359 |
+
}
|
360 |
+
|
361 |
+
.acx_csma_es_wp_inner_wp_form
|
362 |
+
{
|
363 |
+
width:100%;
|
364 |
+
float:left;
|
365 |
+
background:#134d5b;
|
366 |
+
padding:40px 30px;
|
367 |
+
border-radius:3px;
|
368 |
+
}
|
369 |
+
|
370 |
+
.acx_csma_es_wp_form_head
|
371 |
+
{
|
372 |
+
float:left;
|
373 |
+
display:table;
|
374 |
+
color:#ffde9e;
|
375 |
+
font-family:Opensans-Semibold;
|
376 |
+
font-size:18px;
|
377 |
+
line-height:26px;
|
378 |
+
text-align:center;
|
379 |
+
margin-bottom: 20px;
|
380 |
+
}
|
381 |
+
|
382 |
+
form.acx_csma_es_wp_support_acx
|
383 |
+
{
|
384 |
+
display:block;
|
385 |
+
float:left;
|
386 |
+
width:100%;
|
387 |
+
}
|
388 |
+
span.acx_csma_es_cnvas_input
|
389 |
+
{
|
390 |
+
display:block;
|
391 |
+
float:left;
|
392 |
+
width:100%;
|
393 |
+
margin-bottom:8px;
|
394 |
+
}
|
395 |
+
|
396 |
+
span.acx_csma_es_cnvas_input input,
|
397 |
+
span.acx_csma_es_cnvas_input textarea
|
398 |
+
{
|
399 |
+
display:block;
|
400 |
+
float:left;
|
401 |
+
width:100%;
|
402 |
+
padding:8px 10px;
|
403 |
+
font-family:Opensans-Regular;
|
404 |
+
font-size:14px;
|
405 |
+
color:#444;
|
406 |
+
border:none;
|
407 |
+
border-radius:3px;
|
408 |
+
}
|
409 |
+
|
410 |
+
span.acx_csma_es_cnvas_input input.acx_csma_es_wp_acx_submit
|
411 |
+
{
|
412 |
+
background:#ffb11a;
|
413 |
+
font-family:Opensans-Semibold;
|
414 |
+
font-size:16px;
|
415 |
+
color:#7d5200;
|
416 |
+
cursor:pointer;
|
417 |
+
}
|
418 |
+
span.acx_csma_es_cnvas_input input.acx_csma_es_wp_acx_submit:hover
|
419 |
+
{
|
420 |
+
background:#ff961a;
|
421 |
+
}
|
422 |
+
|
423 |
+
.acx_csma_es_footer_content_cvr
|
424 |
+
{
|
425 |
+
display:block;
|
426 |
+
float:left;
|
427 |
+
width:100%;
|
428 |
+
padding: 20px 0;
|
429 |
+
border-top:1px solid #072e38;
|
430 |
+
}
|
431 |
+
|
432 |
+
.acx_csma_es_wp_footer_area_desc
|
433 |
+
{
|
434 |
+
float:left;
|
435 |
+
display:table;
|
436 |
+
color:#5f93a0;
|
437 |
+
font-family:Opensans-Regular;
|
438 |
+
font-size:11px;
|
439 |
+
line-height:14px;
|
440 |
+
text-align:left;
|
441 |
+
}
|
442 |
+
/***** Desktop *****/
|
443 |
+
|
444 |
+
@media screen and (min-width:1024px)
|
445 |
+
{
|
446 |
+
.acx_csma_es_middle_section
|
447 |
+
{
|
448 |
+
max-width:1000px;
|
449 |
+
}
|
450 |
+
}
|
451 |
+
|
452 |
+
/***** Small Desktop Tablets *****/
|
453 |
+
|
454 |
+
@media screen and (min-width:960px) and (max-width:1023px)
|
455 |
+
{
|
456 |
+
.acx_csma_es_middle_section
|
457 |
+
{
|
458 |
+
max-width:900px;
|
459 |
+
}
|
460 |
+
.acx_csma_es_wp_right_area {
|
461 |
+
width: 380px;
|
462 |
+
}
|
463 |
+
|
464 |
+
.acx_csma_es_wp_left_area {
|
465 |
+
width: 520px;
|
466 |
+
}
|
467 |
+
}
|
468 |
+
|
469 |
+
/***** portrait Tablets *****/
|
470 |
+
|
471 |
+
@media screen and (min-width:768px) and (max-width:1245px)
|
472 |
+
{
|
473 |
+
.acx_csma_es_middle_section
|
474 |
+
{
|
475 |
+
max-width:700px;
|
476 |
+
}
|
477 |
+
.acx_csma_es_wp_right_area {
|
478 |
+
width: 100%;
|
479 |
+
margin-top:50px
|
480 |
+
}
|
481 |
+
|
482 |
+
.acx_csma_es_wp_left_area {
|
483 |
+
width:100%;
|
484 |
+
padding:0;
|
485 |
+
}
|
486 |
+
.acx_csma_es_half_width_sec {
|
487 |
+
width: 49% !important;
|
488 |
+
}
|
489 |
+
|
490 |
+
.acx_csma_es_haif_marg_left
|
491 |
+
{
|
492 |
+
margin-left:1%;
|
493 |
+
}
|
494 |
+
|
495 |
+
.acx_csma_es_haif_marg_right
|
496 |
+
{
|
497 |
+
margin-right:1%;
|
498 |
+
}
|
499 |
+
}
|
500 |
+
/***** Smart Phones *****/
|
501 |
+
|
502 |
+
@media screen and (min-width:540px) and (max-width:767px)
|
503 |
+
{
|
504 |
+
.acx_csma_es_middle_section
|
505 |
+
{
|
506 |
+
max-width:500px;
|
507 |
+
}
|
508 |
+
.acx_csma_es_wp_right_area {
|
509 |
+
width: 100%;
|
510 |
+
margin-top:50px
|
511 |
+
}
|
512 |
+
|
513 |
+
.acx_csma_es_wp_left_area {
|
514 |
+
width:100%;
|
515 |
+
padding:0;
|
516 |
+
}
|
517 |
+
}
|
518 |
+
|
519 |
+
/***** Small Screens (Mobiles) *****/
|
520 |
+
|
521 |
+
@media screen and (max-width:539px)
|
522 |
+
{
|
523 |
+
.acx_csma_es_middle_section
|
524 |
+
{
|
525 |
+
max-width:90%;
|
526 |
+
}
|
527 |
+
.acx_csma_es_wp_right_area
|
528 |
+
{
|
529 |
+
width: 100%;
|
530 |
+
margin-top:50px
|
531 |
+
}
|
532 |
+
.acx_csma_es_wp_left_area
|
533 |
+
{
|
534 |
+
width:100%;
|
535 |
+
padding:0;
|
536 |
+
}
|
537 |
+
.acx_csma_es_wp_inner_wp_form
|
538 |
+
{
|
539 |
+
padding: 40px 15px;
|
540 |
+
}
|
541 |
+
}
|
542 |
+
/* Starting SIDEBAR */
|
543 |
+
.acx_csma_option_page_right #acx_csma_sidebar
|
544 |
+
{
|
545 |
+
box-sizing: border-box;
|
546 |
+
display: inline-block;
|
547 |
+
padding-top: 17px;
|
548 |
+
width: 100%;
|
549 |
+
margin:0 !important;
|
550 |
+
}
|
551 |
+
#acx_csma_sidebar .acx_csma_sidebar_widget
|
552 |
+
{
|
553 |
+
border: 1px dotted lightgray;
|
554 |
+
box-sizing: border-box;
|
555 |
+
float: left;
|
556 |
+
margin-bottom: 15px;
|
557 |
+
min-height: 100px;
|
558 |
+
width: 100%;
|
559 |
+
}
|
560 |
+
#acx_csma_sidebar .acx_csma_sidebar_w_title
|
561 |
+
{
|
562 |
+
background: lavender none repeat scroll 0 0;
|
563 |
+
box-sizing: border-box;
|
564 |
+
font-family: arial;
|
565 |
+
font-size: 14px;
|
566 |
+
font-weight: bold;
|
567 |
+
padding: 10px;
|
568 |
+
width: 100%;
|
569 |
+
}
|
570 |
+
#acx_csma_sidebar .acx_csma_sidebar_w_content
|
571 |
+
{
|
572 |
+
box-sizing: border-box;
|
573 |
+
display: table;
|
574 |
+
font-family: arial;
|
575 |
+
font-size: 12px;
|
576 |
+
line-height: 20px;
|
577 |
+
padding: 10px;
|
578 |
+
width: 100%;
|
579 |
+
}
|
580 |
+
/* Starting Ad Banner Code */
|
581 |
+
#acx_ad_banners_csma
|
582 |
+
{
|
583 |
+
float: left;
|
584 |
+
margin-bottom: 10px;
|
585 |
+
min-height: 80px;
|
586 |
+
width: 100%;
|
587 |
+
}
|
588 |
+
#acx_ad_banners_csma .acx_ad_csma_1
|
589 |
+
{
|
590 |
+
border: 1px solid lightgray;
|
591 |
+
display: block;
|
592 |
+
float: left;
|
593 |
+
height: auto;
|
594 |
+
margin-bottom: 12px;
|
595 |
+
overflow: hidden;
|
596 |
+
padding-bottom: 15px;
|
597 |
+
text-decoration: none;
|
598 |
+
width: 100%;
|
599 |
+
}
|
600 |
+
#acx_ad_banners_csma .acx_ad_csma_title
|
601 |
+
{
|
602 |
+
background: lavender none repeat scroll 0 0;
|
603 |
+
box-sizing: border-box;
|
604 |
+
color: black;
|
605 |
+
float: left;
|
606 |
+
font-family: arial;
|
607 |
+
font-size: 14px;
|
608 |
+
font-weight: bold;
|
609 |
+
opacity: 0.8;
|
610 |
+
padding: 10px;
|
611 |
+
text-align: left;
|
612 |
+
width: 100%;
|
613 |
+
}
|
614 |
+
#acx_ad_banners_csma .acx_ad_csma_1:hover {
|
615 |
+
border: 1px solid #00a0d2;
|
616 |
+
}
|
617 |
+
#acx_ad_banners_csma .acx_ad_csma_desc
|
618 |
+
{
|
619 |
+
background: rgba(0, 0, 0, 0) url("../images/wp.png") no-repeat scroll 5px 0;
|
620 |
+
box-sizing: border-box;
|
621 |
+
color: black;
|
622 |
+
float: left;
|
623 |
+
font-family: arial;
|
624 |
+
font-size: 13px;
|
625 |
+
height: 32px;
|
626 |
+
padding-right:3px;
|
627 |
+
margin-top: 15px;
|
628 |
+
padding-left: 42px;
|
629 |
+
padding-top: 6px;
|
630 |
+
text-transform: capitalize;
|
631 |
+
width: 100%;
|
632 |
+
}
|
633 |
+
#acx_ad_banners_csma .acx_ad_csma_desc2
|
634 |
+
{
|
635 |
+
background: url("../images/des.png") no-repeat scroll 5px center rgba(0, 0, 0, 0);
|
636 |
+
}
|
637 |
+
#acx_ad_banners_csma .acx_ad_csma_desc3
|
638 |
+
{
|
639 |
+
background: url("../images/plug.png") no-repeat scroll 5px center rgba(0, 0, 0, 0);
|
640 |
+
}
|
641 |
+
#acx_ad_banners_csma .acx_ad_csma_desc4
|
642 |
+
{
|
643 |
+
background: url("../images/quick.png") no-repeat scroll 5px center rgba(0, 0, 0, 0);
|
644 |
+
}
|
645 |
+
/* Ending Ad Banner Code */
|
function.php
CHANGED
@@ -33,50 +33,50 @@ if(empty($acx_csma_display_var_arr))
|
|
33 |
{
|
34 |
$acx_csma_display_var_arr=array(
|
35 |
'year'=>array(
|
36 |
-
'singular'=>'Year',
|
37 |
-
'plural'=>'Years',
|
38 |
-
'default_singular'=>'Year',
|
39 |
-
'default_plural'=>'Years'
|
40 |
),
|
41 |
'month'=>array(
|
42 |
-
'singular'=>'Month',
|
43 |
-
'plural'=>'Months',
|
44 |
-
'default_singular'=>'Month',
|
45 |
-
'default_plural'=>'Months'
|
46 |
),
|
47 |
'week'=>array(
|
48 |
-
'singular'=>'Week',
|
49 |
-
'plural'=>'Weeks',
|
50 |
-
'default_singular'=>'Week',
|
51 |
-
'default_plural'=>'Weeks'
|
52 |
),
|
53 |
'day'=>array(
|
54 |
-
'singular'=>'Day',
|
55 |
-
'plural'=>'Days',
|
56 |
-
'default_singular'=>'Day',
|
57 |
-
'default_plural'=>'Days'
|
58 |
),
|
59 |
'hour'=>array(
|
60 |
-
'singular'=>'Hour',
|
61 |
-
'plural'=>'Hours',
|
62 |
-
'default_singular'=>'Hour',
|
63 |
-
'default_plural'=>'Hours'
|
64 |
),
|
65 |
'minute'=>array(
|
66 |
-
'singular'=>'Minute',
|
67 |
-
'plural'=>'Minutes',
|
68 |
-
'default_singular'=>'Minute',
|
69 |
-
'default_plural'=>'Minutes'
|
70 |
),
|
71 |
'second'=>array(
|
72 |
-
'singular'=>'Second',
|
73 |
-
'plural'=>'Seconds',
|
74 |
-
'default_singular'=>'Second',
|
75 |
-
'default_plural'=>'Seconds'
|
76 |
),
|
77 |
'next'=>array(
|
78 |
-
'singular'=>'Next',
|
79 |
-
'default_singular'=>'Next'
|
80 |
)
|
81 |
);
|
82 |
if(!is_serialized($acx_csma_display_var_arr))
|
@@ -89,6 +89,10 @@ function acx_csma_styles()
|
|
89 |
{
|
90 |
wp_register_style('acx_csmaadmin_style', plugins_url('css/admin.css', __FILE__));
|
91 |
wp_enqueue_style('acx_csmaadmin_style');
|
|
|
|
|
|
|
|
|
92 |
wp_register_style('acx_csmabox_style', plugins_url('css/acx_csma_box.css', __FILE__));
|
93 |
wp_enqueue_style('acx_csmabox_style');
|
94 |
wp_register_style('acx_datepick_style', plugins_url('css/jquery.datetimepicker.css', __FILE__));
|
@@ -143,7 +147,7 @@ function filter_acx_csma_template_array($acx_csma_template_array)
|
|
143 |
$acx_csma_parent_folder = basename(dirname(__FILE__));
|
144 |
$acx_csma_template_array['0'] = array(
|
145 |
'id' => 0,
|
146 |
-
'name' =>'Custom Html',
|
147 |
'index' =>'acx_csma_custom_template',
|
148 |
'description' => '',
|
149 |
'parent' => $acx_csma_parent_folder,
|
@@ -152,7 +156,7 @@ function filter_acx_csma_template_array($acx_csma_template_array)
|
|
152 |
);
|
153 |
$acx_csma_template_array['1'] = array(
|
154 |
'id' => 1,
|
155 |
-
'name' =>'Template 1',
|
156 |
'index' =>'acx_csma_template1',
|
157 |
'description' => '',
|
158 |
'parent' => $acx_csma_parent_folder,
|
@@ -161,7 +165,7 @@ function filter_acx_csma_template_array($acx_csma_template_array)
|
|
161 |
);
|
162 |
$acx_csma_template_array['2'] = array(
|
163 |
'id' => 2,
|
164 |
-
'name' =>'Template 2',
|
165 |
'index' =>'acx_csma_template2',
|
166 |
'description' => '',
|
167 |
'parent' => $acx_csma_parent_folder,
|
@@ -170,7 +174,7 @@ function filter_acx_csma_template_array($acx_csma_template_array)
|
|
170 |
);
|
171 |
$acx_csma_template_array['3'] = array(
|
172 |
'id' => 3,
|
173 |
-
'name' =>'Template 3',
|
174 |
'index' =>'acx_csma_template3',
|
175 |
'description' => '',
|
176 |
'parent' => $acx_csma_parent_folder,
|
@@ -179,7 +183,7 @@ function filter_acx_csma_template_array($acx_csma_template_array)
|
|
179 |
);
|
180 |
$acx_csma_template_array['4'] = array(
|
181 |
'id' => 4,
|
182 |
-
'name' =>'Template 4',
|
183 |
'index' =>'acx_csma_template4',
|
184 |
'description' => '',
|
185 |
'parent' => $acx_csma_parent_folder,
|
@@ -188,7 +192,7 @@ function filter_acx_csma_template_array($acx_csma_template_array)
|
|
188 |
);
|
189 |
$acx_csma_template_array['5'] = array(
|
190 |
'id' => 5,
|
191 |
-
'name' =>'Template 5',
|
192 |
'index' =>'acx_csma_template5',
|
193 |
'description' => '',
|
194 |
'parent' => $acx_csma_parent_folder,
|
@@ -237,6 +241,8 @@ if($acx_csma_display_template==true)
|
|
237 |
function acx_csma_plugin_activation()
|
238 |
{
|
239 |
global $wpdb,$acx_csma_display_template,$acx_csma_template_path,$acx_csma_template_array;
|
|
|
|
|
240 |
if($acx_csma_display_template==true)
|
241 |
{
|
242 |
if (is_user_logged_in())
|
@@ -251,6 +257,7 @@ function acx_csma_plugin_activation()
|
|
251 |
|
252 |
foreach($roles as $key=>$value)
|
253 |
{
|
|
|
254 |
$user_roles=ucwords($value);
|
255 |
}
|
256 |
if(is_array($acx_csma_role_array))
|
@@ -283,15 +290,6 @@ function acx_csma_plugin_activation()
|
|
283 |
}
|
284 |
}
|
285 |
$acx_csma_display_template = apply_filters('acx_csma_display_template_filter',$acx_csma_display_template);
|
286 |
-
function filter_acx_csma_template($acx_csma_display_template)
|
287 |
-
{
|
288 |
-
if($acx_csma_display_template != '')
|
289 |
-
{
|
290 |
-
return $acx_csma_display_template;
|
291 |
-
}
|
292 |
-
}
|
293 |
-
|
294 |
-
add_filter('acx_csma_display_template_filter','filter_acx_csma_template',5);
|
295 |
|
296 |
if($acx_csma_display_template == true)
|
297 |
{
|
@@ -299,7 +297,10 @@ function acx_csma_plugin_activation()
|
|
299 |
$protocol = "HTTP/1.0";
|
300 |
if ( "HTTP/1.1" == $_SERVER["SERVER_PROTOCOL"] )
|
301 |
$protocol = "HTTP/1.1";
|
302 |
-
|
|
|
|
|
|
|
303 |
$end_time = get_option('acx_csma_date_time');
|
304 |
if($end_time != "")
|
305 |
{
|
@@ -323,11 +324,20 @@ function acx_csma_plugin_activation()
|
|
323 |
}
|
324 |
|
325 |
}
|
326 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
327 |
function acx_csma_template_preview()
|
328 |
{
|
329 |
global $acx_csma_template_array;
|
330 |
-
|
|
|
331 |
if(ISSET($_GET['acx_csma_preview']) && current_user_can( 'manage_options' )){
|
332 |
$acx_csma_preview=$_GET['acx_csma_preview'];
|
333 |
if(array_key_exists($acx_csma_preview,$acx_csma_template_array))
|
@@ -335,7 +345,10 @@ function acx_csma_template_preview()
|
|
335 |
$protocol = "HTTP/1.0";
|
336 |
if ( "HTTP/1.1" == $_SERVER["SERVER_PROTOCOL"] )
|
337 |
$protocol = "HTTP/1.1";
|
338 |
-
|
|
|
|
|
|
|
339 |
$end_time = get_option('acx_csma_date_time');
|
340 |
if($end_time != "")
|
341 |
{
|
@@ -358,7 +371,7 @@ add_action('template_redirect','acx_csma_template_preview');
|
|
358 |
$acx_csma_inside_title3 = $acx_csma_appearence_array['3']['acx_csma_inside_title3'];
|
359 |
if(strcmp($acx_csma_inside_title3,"Estimate Time Before Lunching") === 0 )
|
360 |
{
|
361 |
-
$acx_csma_appearence_array['3']['acx_csma_inside_title3'] = "Estimate Time Before Launching";
|
362 |
}
|
363 |
}
|
364 |
acx_csma_update_array_value($acx_csma_appearence_array);
|
@@ -465,19 +478,19 @@ else
|
|
465 |
{
|
466 |
$current_user_acx = $acx_email;
|
467 |
}
|
468 |
-
$headers[] = 'From: ' . $acx_name . ' <' . $current_user_acx . '>';
|
469 |
-
$headers[] = 'Content-Type: text/html; charset=UTF-8';
|
470 |
-
$message =
|
471 |
-
$message = $message .
|
472 |
if($acx_phone != "")
|
473 |
{
|
474 |
-
$message = $message .
|
475 |
}
|
476 |
// In case any of our lines are larger than 70 characters, we should use wordwrap()
|
477 |
$acx_question = wordwrap($acx_question, 70, "\r\n <br>");
|
478 |
-
$message = $message .
|
479 |
-
$message = $message .
|
480 |
-
$message = $message .
|
481 |
$emailed = wp_mail( 'info@acurax.com', $acx_subject, $message, $headers );
|
482 |
if($emailed)
|
483 |
{
|
@@ -496,7 +509,7 @@ function acx_csma_add_items($admin_bar)
|
|
496 |
$args = array(
|
497 |
'id' => 'acx_csma_activation_msg',
|
498 |
'parent' => 'top-secondary',
|
499 |
-
'title' => 'Maintenance Mode is Activated',
|
500 |
'href' => 'admin.php?page=Acurax-Coming-Soon-Maintenance-Mode-Settings'
|
501 |
);
|
502 |
if (!current_user_can('manage_options') ) {
|
@@ -598,7 +611,7 @@ function acx_csma_subscribe_ajax()
|
|
598 |
header('Content-Type: text/csv');
|
599 |
header('Content-Disposition: attachment;filename='.$filename);
|
600 |
$fp = fopen('php://output', 'w');
|
601 |
-
fputcsv($fp, array('Name','Email','Date'));
|
602 |
foreach ($acx_csma_subscribe_details as $item=> $value) {
|
603 |
if(ISSET($value['ip']))
|
604 |
{
|
@@ -620,8 +633,9 @@ function acx_csma_subscribe_ajax()
|
|
620 |
add_action( 'wp_ajax_acx_csma_subscribe_ajax', 'acx_csma_subscribe_ajax' );
|
621 |
function acx_csma_addon_ua_demo()
|
622 |
{
|
|
|
623 |
echo "<div id='acx_csma_addon_demo_ua'><br><hr>
|
624 |
-
<img src='".plugins_url('/images/addon_ua_demo.png',__FILE__)."' style='border:0px;width:100%;height:auto;' class='acx_csma_info_lb' lb_title='Private Access URL Feature - Premium Addon Plugin' lb_content='<p style=\"font-size:13px;\">You may needs to showcase the website to your friends, contacts or clients to get approval, or get suggestions
|
625 |
</div>";
|
626 |
}
|
627 |
add_action('acx_csma_hook_mainoptions_below_general_settings','acx_csma_addon_ua_demo',50);
|
@@ -655,13 +669,13 @@ function acx_csma_service_addon_demo()
|
|
655 |
{
|
656 |
$acx_theme_addon_demo_array = array();
|
657 |
}
|
658 |
-
$acx_csma_lb_title =
|
659 |
-
$acx_csma_lb_content = "<p style=\"font-size:14px;\">We have prepared 4 special themes ( <a href=\"https://clients.acurax.com/link.php?id=18\" target=\"_blank\" title=\"Preview This Theme\">STP1-A</a>, <a href=\"https://clients.acurax.com/link.php?id=19\" target=\"_blank\" title=\"Preview This Theme\">STP1-B</a>, <a href=\"https://clients.acurax.com/link.php?id=20\" target=\"_blank\" title=\"Preview This Theme\">STP1-C</a> and <a href=\"https://clients.acurax.com/link.php?id=21\" target=\"_blank\" title=\"Preview This Theme\">STP1-D</a> ) as an Addon plugin labeled \"Service Theme Pack 1\" which you can install just like a normal plugin after purchase. And the additional themes will be available here. These themes are designed and developed with high customizable options
|
660 |
foreach($acx_theme_addon_demo_array as $key => $value)
|
661 |
{
|
662 |
foreach($value as $k => $v)
|
663 |
{
|
664 |
-
echo "<div id='img_holder' class='img_holder_demo'><label for='".$k."'><img src='".$v['image']."' class='acx_csma_info_lb' lb_title='".$acx_csma_lb_title."' lb_content='".$acx_csma_lb_content."'></label><br /><input type='radio' class='acx_csma_info_lb acx_csma_info_lb_demo' name='acx_csma_template_demo' id='".$k."' lb_title='".$acx_csma_lb_title."' lb_content='".$acx_csma_lb_content."' />".$v['name']."<br /><a href='"
|
665 |
}
|
666 |
}
|
667 |
}
|
@@ -734,7 +748,7 @@ $acx_csma_appearence_array=acx_csma_get_db_array_value();
|
|
734 |
}
|
735 |
if(!array_key_exists('acx_csma_subscribe_btn_text2',$acx_csma_appearence_array['2']))
|
736 |
{
|
737 |
-
$acx_csma_appearence_array['2']['acx_csma_subscribe_btn_text2'] = "Submit";
|
738 |
}
|
739 |
if(!array_key_exists('acx_csma_custom_html_above_timer',$acx_csma_appearence_array['2']))
|
740 |
{
|
@@ -803,7 +817,7 @@ $acx_csma_appearence_array=acx_csma_get_db_array_value();
|
|
803 |
}
|
804 |
if(!array_key_exists('acx_csma_subscribe_btn_text5',$acx_csma_appearence_array['5']))
|
805 |
{
|
806 |
-
$acx_csma_appearence_array['5']['acx_csma_subscribe_btn_text5'] = "Submit";
|
807 |
}
|
808 |
if(!array_key_exists('acx_csma_custom_html_top_sub',$acx_csma_appearence_array['5']))
|
809 |
{
|
@@ -822,8 +836,9 @@ $acx_csma_appearence_array=acx_csma_get_db_array_value();
|
|
822 |
$acx_csma_appearence_array['5']['acx_csma_custom_css_temp5'] = "";
|
823 |
}
|
824 |
}
|
825 |
-
|
826 |
-
|
|
|
827 |
}
|
828 |
add_action('acx_csma_hook_mainoptions_inside_else_submit','acx_csma_updated_fields_content');
|
829 |
function acx_csma_getrealip()
|
@@ -951,7 +966,7 @@ function acx_csma_display_var_content()
|
|
951 |
}
|
952 |
$display_content.="<hr />";
|
953 |
ksort($acx_csma_display_var_arr);
|
954 |
-
$display_content.="<table class='wp-list-table widefat fixed striped'><th>Text</th><th>Variable</th><th>Action</th>";
|
955 |
|
956 |
foreach($acx_csma_display_var_arr as $key => $values)
|
957 |
{
|
@@ -976,7 +991,7 @@ function acx_csma_display_var_content()
|
|
976 |
else{
|
977 |
$value = $singular;
|
978 |
}
|
979 |
-
$display_content.="<tr><td>".ucfirst($key)."</td><td>"
|
980 |
}
|
981 |
$display_content.="</table>";
|
982 |
return $display_content;
|
@@ -1024,7 +1039,7 @@ function acx_csma_display_variables()
|
|
1024 |
var key=jQuery('#acx_csma_edit_key').val();
|
1025 |
if(key=="")
|
1026 |
{
|
1027 |
-
alert('Something Wrong\nTry Again!!!');
|
1028 |
return false;
|
1029 |
}
|
1030 |
var singular=jQuery('#acx_csma_edit_singular').val();
|
@@ -1045,7 +1060,7 @@ function acx_csma_display_variables()
|
|
1045 |
jQuery('.acx_csma_disp_edit_litbx').hide();
|
1046 |
}
|
1047 |
else{
|
1048 |
-
alert('Something Went Wrong\
|
1049 |
}
|
1050 |
});
|
1051 |
}
|
@@ -1064,7 +1079,7 @@ function acx_csma_display_variables()
|
|
1064 |
}
|
1065 |
else
|
1066 |
{
|
1067 |
-
alert('Something Went Wrong\
|
1068 |
}
|
1069 |
});
|
1070 |
}
|
@@ -1074,9 +1089,9 @@ function acx_csma_display_variables()
|
|
1074 |
|
1075 |
function acx_csma_reset_disp_var_callback()
|
1076 |
{
|
1077 |
-
if (!isset($_POST['acx_csma_reset_var'])) die("<br><br>Unknown Error Occurred, Try Again... <a href = ''>Click Here</a>");
|
1078 |
-
if (!wp_verify_nonce($_POST['acx_csma_reset_var'],'acx_csma_reset_var')) die("<br><br>Unknown Error Occurred, Try Again... <a href = ''>Click Here</a>");
|
1079 |
-
if(!current_user_can('manage_options')) die("<br><br>Sorry, You have no permission to do this action
|
1080 |
if (isset($_POST['key']))
|
1081 |
{
|
1082 |
$acx_csma_reset_key = $_POST['key'];
|
@@ -1114,9 +1129,9 @@ add_action( 'wp_ajax_acx_csma_reset_disp_var', 'acx_csma_reset_disp_var_callback
|
|
1114 |
|
1115 |
function acx_csma_edit_disp_var_callback()
|
1116 |
{
|
1117 |
-
if (!isset($_POST['acx_csma_edit_var'])) die("<br><br>Unknown Error Occurred, Try Again... <a href = ''>Click Here</a>");
|
1118 |
-
if (!wp_verify_nonce($_POST['acx_csma_edit_var'],'acx_csma_edit_var')) die("<br><br>Unknown Error Occurred, Try Again... <a href = ''>Click Here</a>");
|
1119 |
-
if(!current_user_can('manage_options')) die("<br><br>Sorry, You have no permission to do this action
|
1120 |
if (isset($_POST['key']))
|
1121 |
{
|
1122 |
$acx_csma_edit_key = $_POST['key'];
|
@@ -1168,9 +1183,9 @@ function acx_csma_edit_disp_var_callback()
|
|
1168 |
add_action( 'wp_ajax_acx_csma_edit_disp_var', 'acx_csma_edit_disp_var_callback' );
|
1169 |
function acx_csma_open_disp_var_callback()
|
1170 |
{
|
1171 |
-
if (!isset($_POST['acx_csma_open_disp_var_e'])) die("<br><br>Unknown Error Occurred, Try Again... <a href = ''>Click Here</a>");
|
1172 |
-
if (!wp_verify_nonce($_POST['acx_csma_open_disp_var_e'],'acx_csma_open_disp_var_e')) die("<br><br>Unknown Error Occurred, Try Again... <a href = ''>Click Here</a>");
|
1173 |
-
if(!current_user_can('manage_options')) die("<br><br>Sorry, You have no permission to do this action
|
1174 |
$response ='';
|
1175 |
if (isset($_POST['key']))
|
1176 |
{
|
@@ -1202,16 +1217,16 @@ function acx_csma_open_disp_var_callback()
|
|
1202 |
$acx_csma_display_var_arr=unserialize($acx_csma_display_var_arr);
|
1203 |
}
|
1204 |
$heading = ucfirst($acx_csma_key);
|
1205 |
-
$response .= "<div id='acx_csma_edit_box'><div id='acx_csma_edit_box_inner'><span id='acx_csma_heading'><h3>Edit Text for
|
1206 |
if(ISSET($acx_csma_display_var_arr[$acx_csma_key]['default_singular']))
|
1207 |
{
|
1208 |
-
$response .= "<div class='acx_csma_input_cvr'><span class='acx_csma_disp_label'>Text for Singular
|
1209 |
}
|
1210 |
if(ISSET($acx_csma_display_var_arr[$acx_csma_key]['default_plural']))
|
1211 |
{
|
1212 |
-
$response .= "<div class='acx_csma_input_cvr'><span class='acx_csma_disp_label'>Text for Plural: </span><span class='acx_csma_disp_input'><input type='text' name='acx_csma_edit_plural' id='acx_csma_edit_plural' value='"
|
1213 |
}
|
1214 |
-
$response .= "<span class='acx_csma_disp_input'><input type='hidden' name='acx_csma_edit_key' id='acx_csma_edit_key' value='".$acx_csma_key."'></span><span class='acx_csma_disp_btn'><button type='button' class='button' onclick='acx_csma_edit_disp_var();'>Save</button></span></div></div></div>";
|
1215 |
echo $response;
|
1216 |
|
1217 |
|
@@ -1311,5 +1326,239 @@ function acx_csma_appearence_array_refresh()
|
|
1311 |
}
|
1312 |
}
|
1313 |
add_action( 'init', 'acx_csma_appearence_array_refresh');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1314 |
// --- Making Sure acx_csma_appearence_array has all indexes ends here -----
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1315 |
?>
|
33 |
{
|
34 |
$acx_csma_display_var_arr=array(
|
35 |
'year'=>array(
|
36 |
+
'singular'=>__('Year','coming-soon-maintenance-mode-from-acurax'),
|
37 |
+
'plural'=>__('Years','coming-soon-maintenance-mode-from-acurax'),
|
38 |
+
'default_singular'=>__('Year','coming-soon-maintenance-mode-from-acurax'),
|
39 |
+
'default_plural'=>__('Years','coming-soon-maintenance-mode-from-acurax')
|
40 |
),
|
41 |
'month'=>array(
|
42 |
+
'singular'=>__('Month','coming-soon-maintenance-mode-from-acurax'),
|
43 |
+
'plural'=>__('Months','coming-soon-maintenance-mode-from-acurax'),
|
44 |
+
'default_singular'=>__('Month','coming-soon-maintenance-mode-from-acurax'),
|
45 |
+
'default_plural'=>__('Months','coming-soon-maintenance-mode-from-acurax')
|
46 |
),
|
47 |
'week'=>array(
|
48 |
+
'singular'=>__('Week','coming-soon-maintenance-mode-from-acurax'),
|
49 |
+
'plural'=>__('Weeks','coming-soon-maintenance-mode-from-acurax'),
|
50 |
+
'default_singular'=>__('Week','coming-soon-maintenance-mode-from-acurax'),
|
51 |
+
'default_plural'=>__('Weeks','coming-soon-maintenance-mode-from-acurax')
|
52 |
),
|
53 |
'day'=>array(
|
54 |
+
'singular'=>__('Day','coming-soon-maintenance-mode-from-acurax'),
|
55 |
+
'plural'=>__('Days','coming-soon-maintenance-mode-from-acurax'),
|
56 |
+
'default_singular'=>__('Day','coming-soon-maintenance-mode-from-acurax'),
|
57 |
+
'default_plural'=>__('Days','coming-soon-maintenance-mode-from-acurax')
|
58 |
),
|
59 |
'hour'=>array(
|
60 |
+
'singular'=>__('Hour','coming-soon-maintenance-mode-from-acurax'),
|
61 |
+
'plural'=>__('Hours','coming-soon-maintenance-mode-from-acurax'),
|
62 |
+
'default_singular'=>__('Hour','coming-soon-maintenance-mode-from-acurax'),
|
63 |
+
'default_plural'=>__('Hours','coming-soon-maintenance-mode-from-acurax')
|
64 |
),
|
65 |
'minute'=>array(
|
66 |
+
'singular'=>__('Minute','coming-soon-maintenance-mode-from-acurax'),
|
67 |
+
'plural'=>__('Minutes','coming-soon-maintenance-mode-from-acurax'),
|
68 |
+
'default_singular'=>__('Minute','coming-soon-maintenance-mode-from-acurax'),
|
69 |
+
'default_plural'=>__('Minutes','coming-soon-maintenance-mode-from-acurax')
|
70 |
),
|
71 |
'second'=>array(
|
72 |
+
'singular'=>__('Second','coming-soon-maintenance-mode-from-acurax'),
|
73 |
+
'plural'=>__('Seconds','coming-soon-maintenance-mode-from-acurax'),
|
74 |
+
'default_singular'=>__('Second','coming-soon-maintenance-mode-from-acurax'),
|
75 |
+
'default_plural'=>__('Seconds','coming-soon-maintenance-mode-from-acurax')
|
76 |
),
|
77 |
'next'=>array(
|
78 |
+
'singular'=>__('Next','coming-soon-maintenance-mode-from-acurax'),
|
79 |
+
'default_singular'=>__('Next','coming-soon-maintenance-mode-from-acurax')
|
80 |
)
|
81 |
);
|
82 |
if(!is_serialized($acx_csma_display_var_arr))
|
89 |
{
|
90 |
wp_register_style('acx_csmaadmin_style', plugins_url('css/admin.css', __FILE__));
|
91 |
wp_enqueue_style('acx_csmaadmin_style');
|
92 |
+
wp_register_style('acx_csmaaddons_style', plugins_url('css/csma_addons.css', __FILE__));
|
93 |
+
wp_enqueue_style('acx_csmaaddons_style');
|
94 |
+
wp_register_style('acx_csma_layout_style', plugins_url('css/layout.css', __FILE__));
|
95 |
+
wp_enqueue_style('acx_csma_layout_style');
|
96 |
wp_register_style('acx_csmabox_style', plugins_url('css/acx_csma_box.css', __FILE__));
|
97 |
wp_enqueue_style('acx_csmabox_style');
|
98 |
wp_register_style('acx_datepick_style', plugins_url('css/jquery.datetimepicker.css', __FILE__));
|
147 |
$acx_csma_parent_folder = basename(dirname(__FILE__));
|
148 |
$acx_csma_template_array['0'] = array(
|
149 |
'id' => 0,
|
150 |
+
'name' =>__('Custom Html','coming-soon-maintenance-mode-from-acurax'),
|
151 |
'index' =>'acx_csma_custom_template',
|
152 |
'description' => '',
|
153 |
'parent' => $acx_csma_parent_folder,
|
156 |
);
|
157 |
$acx_csma_template_array['1'] = array(
|
158 |
'id' => 1,
|
159 |
+
'name' =>__('Template 1','coming-soon-maintenance-mode-from-acurax'),
|
160 |
'index' =>'acx_csma_template1',
|
161 |
'description' => '',
|
162 |
'parent' => $acx_csma_parent_folder,
|
165 |
);
|
166 |
$acx_csma_template_array['2'] = array(
|
167 |
'id' => 2,
|
168 |
+
'name' =>__('Template 2','coming-soon-maintenance-mode-from-acurax'),
|
169 |
'index' =>'acx_csma_template2',
|
170 |
'description' => '',
|
171 |
'parent' => $acx_csma_parent_folder,
|
174 |
);
|
175 |
$acx_csma_template_array['3'] = array(
|
176 |
'id' => 3,
|
177 |
+
'name' =>__('Template 3','coming-soon-maintenance-mode-from-acurax'),
|
178 |
'index' =>'acx_csma_template3',
|
179 |
'description' => '',
|
180 |
'parent' => $acx_csma_parent_folder,
|
183 |
);
|
184 |
$acx_csma_template_array['4'] = array(
|
185 |
'id' => 4,
|
186 |
+
'name' =>__('Template 4','coming-soon-maintenance-mode-from-acurax'),
|
187 |
'index' =>'acx_csma_template4',
|
188 |
'description' => '',
|
189 |
'parent' => $acx_csma_parent_folder,
|
192 |
);
|
193 |
$acx_csma_template_array['5'] = array(
|
194 |
'id' => 5,
|
195 |
+
'name' =>__('Template 5','coming-soon-maintenance-mode-from-acurax'),
|
196 |
'index' =>'acx_csma_template5',
|
197 |
'description' => '',
|
198 |
'parent' => $acx_csma_parent_folder,
|
241 |
function acx_csma_plugin_activation()
|
242 |
{
|
243 |
global $wpdb,$acx_csma_display_template,$acx_csma_template_path,$acx_csma_template_array;
|
244 |
+
$acx_csma_send_header_option = get_option('acx_csma_send_header_option');
|
245 |
+
if ($acx_csma_send_header_option == "") { $acx_csma_send_header_option = "yes"; }
|
246 |
if($acx_csma_display_template==true)
|
247 |
{
|
248 |
if (is_user_logged_in())
|
257 |
|
258 |
foreach($roles as $key=>$value)
|
259 |
{
|
260 |
+
$value = str_replace("_"," ",$value);
|
261 |
$user_roles=ucwords($value);
|
262 |
}
|
263 |
if(is_array($acx_csma_role_array))
|
290 |
}
|
291 |
}
|
292 |
$acx_csma_display_template = apply_filters('acx_csma_display_template_filter',$acx_csma_display_template);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
293 |
|
294 |
if($acx_csma_display_template == true)
|
295 |
{
|
297 |
$protocol = "HTTP/1.0";
|
298 |
if ( "HTTP/1.1" == $_SERVER["SERVER_PROTOCOL"] )
|
299 |
$protocol = "HTTP/1.1";
|
300 |
+
if($acx_csma_send_header_option == "yes")
|
301 |
+
{
|
302 |
+
header( "$protocol 503 Service Unavailable", true, 503 );
|
303 |
+
}
|
304 |
$end_time = get_option('acx_csma_date_time');
|
305 |
if($end_time != "")
|
306 |
{
|
324 |
}
|
325 |
|
326 |
}
|
327 |
+
function filter_acx_csma_template($acx_csma_display_template)
|
328 |
+
{
|
329 |
+
if($acx_csma_display_template != '')
|
330 |
+
{
|
331 |
+
return $acx_csma_display_template;
|
332 |
+
}
|
333 |
+
}
|
334 |
+
|
335 |
+
add_filter('acx_csma_display_template_filter','filter_acx_csma_template',5);
|
336 |
function acx_csma_template_preview()
|
337 |
{
|
338 |
global $acx_csma_template_array;
|
339 |
+
$acx_csma_send_header_option = get_option('acx_csma_send_header_option');
|
340 |
+
if ($acx_csma_send_header_option == "") { $acx_csma_send_header_option = "yes"; }
|
341 |
if(ISSET($_GET['acx_csma_preview']) && current_user_can( 'manage_options' )){
|
342 |
$acx_csma_preview=$_GET['acx_csma_preview'];
|
343 |
if(array_key_exists($acx_csma_preview,$acx_csma_template_array))
|
345 |
$protocol = "HTTP/1.0";
|
346 |
if ( "HTTP/1.1" == $_SERVER["SERVER_PROTOCOL"] )
|
347 |
$protocol = "HTTP/1.1";
|
348 |
+
if($acx_csma_send_header_option == "yes")
|
349 |
+
{
|
350 |
+
header( "$protocol 503 Service Unavailable", true, 503 );
|
351 |
+
}
|
352 |
$end_time = get_option('acx_csma_date_time');
|
353 |
if($end_time != "")
|
354 |
{
|
371 |
$acx_csma_inside_title3 = $acx_csma_appearence_array['3']['acx_csma_inside_title3'];
|
372 |
if(strcmp($acx_csma_inside_title3,"Estimate Time Before Lunching") === 0 )
|
373 |
{
|
374 |
+
$acx_csma_appearence_array['3']['acx_csma_inside_title3'] = __("Estimate Time Before Launching","coming-soon-maintenance-mode-from-acurax");
|
375 |
}
|
376 |
}
|
377 |
acx_csma_update_array_value($acx_csma_appearence_array);
|
478 |
{
|
479 |
$current_user_acx = $acx_email;
|
480 |
}
|
481 |
+
$headers[] = __('From: ','coming-soon-maintenance-mode-from-acurax') . $acx_name . ' <' . $current_user_acx . '>';
|
482 |
+
$headers[] = __('Content-Type: text/html; charset=UTF-8','coming-soon-maintenance-mode-from-acurax');
|
483 |
+
$message = __('Name: ','coming-soon-maintenance-mode-from-acurax').$acx_name . "\r\n <br>";
|
484 |
+
$message = $message . __('Email: ','coming-soon-maintenance-mode-from-acurax').$acx_email . "\r\n <br>";
|
485 |
if($acx_phone != "")
|
486 |
{
|
487 |
+
$message = $message . __('Phone:','coming-soon-maintenance-mode-from-acurax').$acx_phone . "\r\n <br>";
|
488 |
}
|
489 |
// In case any of our lines are larger than 70 characters, we should use wordwrap()
|
490 |
$acx_question = wordwrap($acx_question, 70, "\r\n <br>");
|
491 |
+
$message = $message . __('Request From: CSMA - Expert Help Request Form','coming-soon-maintenance-mode-from-acurax').' \r\n <br>';
|
492 |
+
$message = $message . __('Website: ','coming-soon-maintenance-mode-from-acurax').$acx_weburl . "\r\n <br>";
|
493 |
+
$message = $message . __('Question: ','coming-soon-maintenance-mode-from-acurax').$acx_question . "\r\n <br>";
|
494 |
$emailed = wp_mail( 'info@acurax.com', $acx_subject, $message, $headers );
|
495 |
if($emailed)
|
496 |
{
|
509 |
$args = array(
|
510 |
'id' => 'acx_csma_activation_msg',
|
511 |
'parent' => 'top-secondary',
|
512 |
+
'title' => __('Maintenance Mode is Activated','coming-soon-maintenance-mode-from-acurax'),
|
513 |
'href' => 'admin.php?page=Acurax-Coming-Soon-Maintenance-Mode-Settings'
|
514 |
);
|
515 |
if (!current_user_can('manage_options') ) {
|
611 |
header('Content-Type: text/csv');
|
612 |
header('Content-Disposition: attachment;filename='.$filename);
|
613 |
$fp = fopen('php://output', 'w');
|
614 |
+
fputcsv($fp, array(__('Name','coming-soon-maintenance-mode-from-acurax'),__('Email','coming-soon-maintenance-mode-from-acurax'),__('Date','coming-soon-maintenance-mode-from-acurax')));
|
615 |
foreach ($acx_csma_subscribe_details as $item=> $value) {
|
616 |
if(ISSET($value['ip']))
|
617 |
{
|
633 |
add_action( 'wp_ajax_acx_csma_subscribe_ajax', 'acx_csma_subscribe_ajax' );
|
634 |
function acx_csma_addon_ua_demo()
|
635 |
{
|
636 |
+
|
637 |
echo "<div id='acx_csma_addon_demo_ua'><br><hr>
|
638 |
+
<img src='".plugins_url('/images/addon_ua_demo.png',__FILE__)."' style='border:0px;width:100%;height:auto;' class='acx_csma_info_lb' lb_title='".__('Private Access URL Feature - Premium Addon Plugin','coming-soon-maintenance-mode-from-acurax')."' lb_content='<p style=\"font-size:13px;\">".__('You may needs to showcase the website to your friends, contacts or clients to get approval, or get suggestions.','coming-soon-maintenance-mode-from-acurax')."<br><br>".__('When website is in under construction mode, they may needs to login or provide you their ip address to grand them access.','coming-soon-maintenance-mode-from-acurax')."<br><br>".__('But using Private Access URL Addon, You will get the option to generate a private URL which you can provide to anyone, and they can access your website, They wont see the under construction page until the url expire.','coming-soon-maintenance-mode-from-acurax')."<br><br>". __('While generating a URL, You can set expiry, It can be Never, So URL is valid until you delete it. Can set expiry as Hours, So URL will be active for specified hours from their first visit.','coming-soon-maintenance-mode-from-acurax')."<br><br>".__('Can also set expiry as page views. Lets say, you generated a URL for 10 Page views, and when someone visit the URL and access 10 pages or visited 10 times.URL will automatically gets expired.','coming-soon-maintenance-mode-from-acurax')."<br><br><a style=\"float: left; color: black; border: 1px solid black; border-radius: 3px; padding: 4px; font-size: 13px; opacity: 0.8;\"href=\"http://www.acurax.com/products/under-construction-maintenance-mode-wordpress-plugin/?feature=url-access&utm_source=link_1&utm_medium=csma_1&utm_campaign=csma\" style=\"float:right;\" target=\"_blank\">".__('View Screenshots/More Details','coming-soon-maintenance-mode-from-acurax')."</a><a href=\"https://clients.acurax.com/order.php?pid=csmauapa&utm_source=link_1&utm_medium=csma_1&utm_campaign=csma\" style=\"float:right;\" target=\"_blank\">".__('Order Now','coming-soon-maintenance-mode-from-acurax')."</a></p><p><br></p>'>
|
639 |
</div>";
|
640 |
}
|
641 |
add_action('acx_csma_hook_mainoptions_below_general_settings','acx_csma_addon_ua_demo',50);
|
669 |
{
|
670 |
$acx_theme_addon_demo_array = array();
|
671 |
}
|
672 |
+
$acx_csma_lb_title = __('Showcase Products and Services While Your Website Is Under Construction','coming-soon-maintenance-mode-from-acurax');
|
673 |
+
$acx_csma_lb_content = "<p style=\"font-size:14px;\">".__('We have prepared 4 special themes ','coming-soon-maintenance-mode-from-acurax')."( <a href=\"https://clients.acurax.com/link.php?id=18\" target=\"_blank\" title=\"Preview This Theme\">".__('STP1-A','coming-soon-maintenance-mode-from-acurax')."</a>, <a href=\"https://clients.acurax.com/link.php?id=19\" target=\"_blank\" title=\"Preview This Theme\">".__('STP1-B','coming-soon-maintenance-mode-from-acurax')."</a>, <a href=\"https://clients.acurax.com/link.php?id=20\" target=\"_blank\" title=\"Preview This Theme\">".__('STP1-C','coming-soon-maintenance-mode-from-acurax')."</a>".__(' and','coming-soon-maintenance-mode-from-acurax')." <a href=\"https://clients.acurax.com/link.php?id=21\" target=\"_blank\" title=\"Preview This Theme\">".__('STP1-D','coming-soon-maintenance-mode-from-acurax')."</a> )". __('as an Addon plugin labeled \"Service Theme Pack 1\" which you can install just like a normal plugin after purchase. And the additional themes will be available here. These themes are designed and developed with high customizable options.','coming-soon-maintenance-mode-from-acurax')."<br><br>".__('This theme pack have 4 highly customizable themes with Contact/Lead Capture Form,Service/Product Showcase, About us Section etc... Check preview for a live preview.','coming-soon-maintenance-mode-from-acurax')."<br><br><a style=\"float: left; color: black; border: 1px solid black; border-radius: 3px; padding: 4px; font-size: 13px; opacity: 0.8;\"href=\"http://www.acurax.com/products/under-construction-maintenance-mode-wordpress-plugin/?feature=service-theme-pack-1&utm_source=preview_link&utm_medium=csma&utm_campaign=csma\" style=\"float:right;\" target=\"_blank\">".__('View Screenshots/More Details','coming-soon-maintenance-mode-from-acurax')."</a><a href=\"https://clients.acurax.com/order.php?pid=csmastp1&utm_source=preview_link&utm_medium=csma&utm_campaign=csma\" style=\"float:right;\" target=\"_blank\" class=\"button\">".__('Click Here to Order Now','coming-soon-maintenance-mode-from-acurax')."</a><br></p><p><br></p>";
|
674 |
foreach($acx_theme_addon_demo_array as $key => $value)
|
675 |
{
|
676 |
foreach($value as $k => $v)
|
677 |
{
|
678 |
+
echo "<div id='img_holder' class='img_holder_demo'><label for='".$k."'><img src='".$v['image']."' class='acx_csma_info_lb' lb_title='".$acx_csma_lb_title."' lb_content='".$acx_csma_lb_content."'></label><br /><input type='radio' class='acx_csma_info_lb acx_csma_info_lb_demo' name='acx_csma_template_demo' id='".$k."' lb_title='".$acx_csma_lb_title."' lb_content='".$acx_csma_lb_content."' />".$v['name']."<br /><a href='".esc_url($v['preview'])."' target='_blank'>".__('Preview','coming-soon-maintenance-mode-from-acurax')."</a></div>";
|
679 |
}
|
680 |
}
|
681 |
}
|
748 |
}
|
749 |
if(!array_key_exists('acx_csma_subscribe_btn_text2',$acx_csma_appearence_array['2']))
|
750 |
{
|
751 |
+
$acx_csma_appearence_array['2']['acx_csma_subscribe_btn_text2'] = __("Submit","coming-soon-maintenance-mode-from-acurax");
|
752 |
}
|
753 |
if(!array_key_exists('acx_csma_custom_html_above_timer',$acx_csma_appearence_array['2']))
|
754 |
{
|
817 |
}
|
818 |
if(!array_key_exists('acx_csma_subscribe_btn_text5',$acx_csma_appearence_array['5']))
|
819 |
{
|
820 |
+
$acx_csma_appearence_array['5']['acx_csma_subscribe_btn_text5'] = __("Submit","coming-soon-maintenance-mode-from-acurax");
|
821 |
}
|
822 |
if(!array_key_exists('acx_csma_custom_html_top_sub',$acx_csma_appearence_array['5']))
|
823 |
{
|
836 |
$acx_csma_appearence_array['5']['acx_csma_custom_css_temp5'] = "";
|
837 |
}
|
838 |
}
|
839 |
+
|
840 |
+
|
841 |
+
}$acx_csma_appearence_array=acx_csma_get_db_array_value();
|
842 |
}
|
843 |
add_action('acx_csma_hook_mainoptions_inside_else_submit','acx_csma_updated_fields_content');
|
844 |
function acx_csma_getrealip()
|
966 |
}
|
967 |
$display_content.="<hr />";
|
968 |
ksort($acx_csma_display_var_arr);
|
969 |
+
$display_content.="<table class='wp-list-table widefat fixed striped'><th>".__('Text','coming-soon-maintenance-mode-from-acurax')."</th><th>".__('Variable','coming-soon-maintenance-mode-from-acurax')."</th><th>".__('Action','coming-soon-maintenance-mode-from-acurax')."</th>";
|
970 |
|
971 |
foreach($acx_csma_display_var_arr as $key => $values)
|
972 |
{
|
991 |
else{
|
992 |
$value = $singular;
|
993 |
}
|
994 |
+
$display_content.="<tr><td>".ucfirst($key)."</td><td>".acx_csma_option_text_after_save_hook_fn($value)."</td><td><span id='acx_disp_edit_link'><a onclick='acx_csma_disp_var_edit(\"$key\",\"$singular\",\"$plural\");' id='acx_csma_disp_var_edit'> ".__('Edit','coming-soon-maintenance-mode-from-acurax')."</a></span><span id='acx_disp_reset_link' style='margin-left: 23px;'><a onclick='acx_csma_disp_var_reset(\"$key\");' id='acx_csma_disp_var_edit'> ".__('Reset to Default','coming-soon-maintenance-mode-from-acurax')."</a></span></td></tr>";
|
995 |
}
|
996 |
$display_content.="</table>";
|
997 |
return $display_content;
|
1039 |
var key=jQuery('#acx_csma_edit_key').val();
|
1040 |
if(key=="")
|
1041 |
{
|
1042 |
+
alert('<?php _e('Something Went Wrong\nTry Again!!!','coming-soon-maintenance-mode-from-acurax');?>');
|
1043 |
return false;
|
1044 |
}
|
1045 |
var singular=jQuery('#acx_csma_edit_singular').val();
|
1060 |
jQuery('.acx_csma_disp_edit_litbx').hide();
|
1061 |
}
|
1062 |
else{
|
1063 |
+
alert('<?php _e('Something Went Wrong\nTry Again!!!','coming-soon-maintenance-mode-from-acurax');?>');
|
1064 |
}
|
1065 |
});
|
1066 |
}
|
1079 |
}
|
1080 |
else
|
1081 |
{
|
1082 |
+
alert('<?php _e('Something Went Wrong\nTry Again!!!','coming-soon-maintenance-mode-from-acurax');?>');
|
1083 |
}
|
1084 |
});
|
1085 |
}
|
1089 |
|
1090 |
function acx_csma_reset_disp_var_callback()
|
1091 |
{
|
1092 |
+
if (!isset($_POST['acx_csma_reset_var'])) die("<br><br>__('Unknown Error Occurred, Try Again... ','coming-soon-maintenance-mode-from-acurax')<a href = ''>__('Click Here','coming-soon-maintenance-mode-from-acurax')</a>");
|
1093 |
+
if (!wp_verify_nonce($_POST['acx_csma_reset_var'],'acx_csma_reset_var')) die("<br><br>__('Unknown Error Occurred, Try Again... ,'coming-soon-maintenance-mode-from-acurax')<a href = ''>__('Click Here,'coming-soon-maintenance-mode-from-acurax')</a>");
|
1094 |
+
if(!current_user_can('manage_options')) die("<br><br>__('Sorry, You have no permission to do this action...','coming-soon-maintenance-mode-from-acurax')</a>");
|
1095 |
if (isset($_POST['key']))
|
1096 |
{
|
1097 |
$acx_csma_reset_key = $_POST['key'];
|
1129 |
|
1130 |
function acx_csma_edit_disp_var_callback()
|
1131 |
{
|
1132 |
+
if (!isset($_POST['acx_csma_edit_var'])) die("<br><br>__('Unknown Error Occurred, Try Again... ','coming-soon-maintenance-mode-from-acurax')<a href = ''>__('Click Here','coming-soon-maintenance-mode-from-acurax')</a>");
|
1133 |
+
if (!wp_verify_nonce($_POST['acx_csma_edit_var'],'acx_csma_edit_var')) die("<br><br>__('Unknown Error Occurred, Try Again... ','coming-soon-maintenance-mode-from-acurax')<a href = ''>Click Here</a>");
|
1134 |
+
if(!current_user_can('manage_options')) die("<br><br>__('Sorry, You have no permission to do this action...','coming-soon-maintenance-mode-from-acurax')</a>");
|
1135 |
if (isset($_POST['key']))
|
1136 |
{
|
1137 |
$acx_csma_edit_key = $_POST['key'];
|
1183 |
add_action( 'wp_ajax_acx_csma_edit_disp_var', 'acx_csma_edit_disp_var_callback' );
|
1184 |
function acx_csma_open_disp_var_callback()
|
1185 |
{
|
1186 |
+
if (!isset($_POST['acx_csma_open_disp_var_e'])) die("<br><br>__('Unknown Error Occurred, Try Again... ','coming-soon-maintenance-mode-from-acurax')<a href = ''>__('Click Here','coming-soon-maintenance-mode-from-acurax')</a>");
|
1187 |
+
if (!wp_verify_nonce($_POST['acx_csma_open_disp_var_e'],'acx_csma_open_disp_var_e')) die("<br><br>__('Unknown Error Occurred, Try Again... ','coming-soon-maintenance-mode-from-acurax')<a href = ''>__('Click Here','coming-soon-maintenance-mode-from-acurax')</a>");
|
1188 |
+
if(!current_user_can('manage_options')) die("<br><br>__('Sorry, You have no permission to do this action...','coming-soon-maintenance-mode-from-acurax')</a>");
|
1189 |
$response ='';
|
1190 |
if (isset($_POST['key']))
|
1191 |
{
|
1217 |
$acx_csma_display_var_arr=unserialize($acx_csma_display_var_arr);
|
1218 |
}
|
1219 |
$heading = ucfirst($acx_csma_key);
|
1220 |
+
$response .= "<div id='acx_csma_edit_box'><div id='acx_csma_edit_box_inner'><span id='acx_csma_heading'><h3>".__('Edit Text for ','coming-soon-maintenance-mode-from-acurax') .$heading."</h3></span><hr><div id='acx_csma_disp_var_inside_cnt'>";
|
1221 |
if(ISSET($acx_csma_display_var_arr[$acx_csma_key]['default_singular']))
|
1222 |
{
|
1223 |
+
$response .= "<div class='acx_csma_input_cvr'><span class='acx_csma_disp_label'>".__('Text for Singular:','coming-soon-maintenance-mode-from-acurax')."</span><span class='acx_csma_disp_input'><input type='text' name='acx_csma_edit_singular' id='acx_csma_edit_singular' value='".acx_csma_option_text_after_save_hook_fn($acx_csma_singular)."'></span></div>";
|
1224 |
}
|
1225 |
if(ISSET($acx_csma_display_var_arr[$acx_csma_key]['default_plural']))
|
1226 |
{
|
1227 |
+
$response .= "<div class='acx_csma_input_cvr'><span class='acx_csma_disp_label'>".__('Text for Plural: ','coming-soon-maintenance-mode-from-acurax')."</span><span class='acx_csma_disp_input'><input type='text' name='acx_csma_edit_plural' id='acx_csma_edit_plural' value='".acx_csma_option_text_after_save_hook_fn($acx_csma_plural)."'></span></div>";
|
1228 |
}
|
1229 |
+
$response .= "<span class='acx_csma_disp_input'><input type='hidden' name='acx_csma_edit_key' id='acx_csma_edit_key' value='".$acx_csma_key."'></span><span class='acx_csma_disp_btn'><button type='button' class='button' onclick='acx_csma_edit_disp_var();'>".__('Save','coming-soon-maintenance-mode-from-acurax')."</button></span></div></div></div>";
|
1230 |
echo $response;
|
1231 |
|
1232 |
|
1326 |
}
|
1327 |
}
|
1328 |
add_action( 'init', 'acx_csma_appearence_array_refresh');
|
1329 |
+
function update_acx_csma_display_var_array()
|
1330 |
+
{
|
1331 |
+
$acx_csma_display_var_arr=get_option('acx_csma_display_var_arr');
|
1332 |
+
$change_status = false;
|
1333 |
+
if(is_serialized($acx_csma_display_var_arr))
|
1334 |
+
{
|
1335 |
+
$acx_csma_display_var_arr=unserialize($acx_csma_display_var_arr);
|
1336 |
+
}
|
1337 |
+
if(is_array($acx_csma_display_var_arr))
|
1338 |
+
{
|
1339 |
+
if(!ISSET($acx_csma_display_var_arr['Subscription Name Placeholder']))
|
1340 |
+
{
|
1341 |
+
$acx_csma_display_var_arr['Subscription Name Placeholder'] = array(
|
1342 |
+
'singular'=>__('Enter Your Name Here','coming-soon-maintenance-mode-from-acurax'),
|
1343 |
+
'default_singular'=>__('Enter Your Name Here','coming-soon-maintenance-mode-from-acurax'),
|
1344 |
+
);
|
1345 |
+
$change_status = true;
|
1346 |
+
}
|
1347 |
+
if(!ISSET($acx_csma_display_var_arr['Subscription Email Placeholder']))
|
1348 |
+
{
|
1349 |
+
$acx_csma_display_var_arr['Subscription Email Placeholder'] = array(
|
1350 |
+
'singular'=>__('Enter Your Email Here','coming-soon-maintenance-mode-from-acurax'),
|
1351 |
+
'default_singular'=>__('Enter Your Email Here','coming-soon-maintenance-mode-from-acurax'),
|
1352 |
+
);
|
1353 |
+
$change_status = true;
|
1354 |
+
}
|
1355 |
+
if(!ISSET($acx_csma_display_var_arr['Subscription Name Error Message']))
|
1356 |
+
{
|
1357 |
+
$acx_csma_display_var_arr['Subscription Name Error Message'] = array(
|
1358 |
+
'singular'=>__('Please Enter Your Name Here','coming-soon-maintenance-mode-from-acurax'),
|
1359 |
+
'default_singular'=>__('Please Enter Your Name Here','coming-soon-maintenance-mode-from-acurax'),
|
1360 |
+
);
|
1361 |
+
$change_status = true;
|
1362 |
+
}
|
1363 |
+
if(!ISSET($acx_csma_display_var_arr['Subscription Email Error Message']))
|
1364 |
+
{
|
1365 |
+
$acx_csma_display_var_arr['Subscription Email Error Message'] = array(
|
1366 |
+
'singular'=>__('Please Enter Your Email Here','coming-soon-maintenance-mode-from-acurax'),
|
1367 |
+
'default_singular'=>__('Please Enter Your Email Here','coming-soon-maintenance-mode-from-acurax'),
|
1368 |
+
);
|
1369 |
+
$change_status = true;
|
1370 |
+
}
|
1371 |
+
if(!ISSET($acx_csma_display_var_arr['Subscription Email Exists Message']))
|
1372 |
+
{
|
1373 |
+
$acx_csma_display_var_arr['Subscription Email Exists Message'] = array(
|
1374 |
+
'singular'=>__('Email Already Exists','coming-soon-maintenance-mode-from-acurax'),
|
1375 |
+
'default_singular'=>__('Email Already Exists','coming-soon-maintenance-mode-from-acurax'),
|
1376 |
+
);
|
1377 |
+
$change_status = true;
|
1378 |
+
}
|
1379 |
+
|
1380 |
+
if($change_status == true)
|
1381 |
+
{
|
1382 |
+
if(!is_serialized($acx_csma_display_var_arr))
|
1383 |
+
{
|
1384 |
+
$acx_csma_display_var_arr = serialize($acx_csma_display_var_arr);
|
1385 |
+
}
|
1386 |
+
update_option('acx_csma_display_var_arr',$acx_csma_display_var_arr);
|
1387 |
+
}
|
1388 |
+
}
|
1389 |
+
}
|
1390 |
+
add_action('init','update_acx_csma_display_var_array');
|
1391 |
// --- Making Sure acx_csma_appearence_array has all indexes ends here -----
|
1392 |
+
function print_acx_csma_option_heading($heading)
|
1393 |
+
{
|
1394 |
+
$heading_format = "<h2 class='acx_csma_option_head'>";
|
1395 |
+
$heading_format .= $heading;
|
1396 |
+
$heading_format .= "</h2>";
|
1397 |
+
return $heading_format;
|
1398 |
+
}
|
1399 |
+
function print_acx_csma_option_block_start($title,$pre_fix="",$suf_fix="")
|
1400 |
+
{
|
1401 |
+
global $acx_csma_options_uid;
|
1402 |
+
if(!$acx_csma_options_uid || $acx_csma_options_uid == "")
|
1403 |
+
{
|
1404 |
+
$acx_csma_options_uid = 0;
|
1405 |
+
}
|
1406 |
+
$acx_csma_options_uid = $acx_csma_options_uid+1;
|
1407 |
+
echo "<div class='acx_csma_q_holder acx_csma_q_holder_".$acx_csma_options_uid."'>";
|
1408 |
+
echo $pre_fix;
|
1409 |
+
echo "<h4>".$title."</h4>";
|
1410 |
+
echo $suf_fix;
|
1411 |
+
echo "<div class='acx_csma_q_holder_c acx_csma_q_holder_c_".$acx_csma_options_uid."'>";
|
1412 |
+
}
|
1413 |
+
function print_acx_csma_option_block_end()
|
1414 |
+
{
|
1415 |
+
echo "</div> <!-- acx_csma_q_holder_c -->";
|
1416 |
+
echo "</div> <!-- acx_csma_q_holder -->";
|
1417 |
+
}
|
1418 |
+
function acx_csma_post_isset_check($field)
|
1419 |
+
{
|
1420 |
+
$value = "";
|
1421 |
+
if(ISSET($_POST[$field]))
|
1422 |
+
{
|
1423 |
+
$value = $_POST[$field];
|
1424 |
+
}
|
1425 |
+
return $value;
|
1426 |
+
}
|
1427 |
+
/******************* MISC PAGE ****************************************/
|
1428 |
+
/* Acurax Service/Info Settings HTML - Get - Set Default Logic Starts Here */
|
1429 |
+
function acx_csma_misc_service_info_html()
|
1430 |
+
{
|
1431 |
+
$acx_string = __('Acurax Service/Info Settings','coming-soon-maintenance-mode-from-acurax');
|
1432 |
+
print_acx_csma_option_block_start($acx_string);
|
1433 |
+
do_action('acx_csma_misc_service_info');
|
1434 |
+
echo "<span class='acx_csma_q_sep'></span>";
|
1435 |
+
print_acx_csma_option_block_end();
|
1436 |
+
} add_action('acx_csma_misc_hook_option_fields','acx_csma_misc_service_info_html',100);
|
1437 |
+
|
1438 |
+
function acx_csma_service_info_option()
|
1439 |
+
{
|
1440 |
+
global $acx_csma_service_banners;
|
1441 |
+
echo "<span class='label' style='width:50%;'>". __('Acurax Service Info ','coming-soon-maintenance-mode-from-acurax')."</span>";?>
|
1442 |
+
<select name="acx_csma_service_banners" style="width:49%;">
|
1443 |
+
<option value="yes"<?php if ($acx_csma_service_banners == "yes") { echo 'selected="selected"'; } ?>><?php _e('Show Acurax Service Banner','coming-soon-maintenance-mode-from-acurax');?></option>
|
1444 |
+
<option value="no"<?php if ($acx_csma_service_banners == "no") { echo 'selected="selected"'; } ?>><?php _e('Hide Acurax Service Banner','coming-soon-maintenance-mode-from-acurax'); ?></option>
|
1445 |
+
</select>
|
1446 |
+
<?php
|
1447 |
+
echo "<span class='acx_csma_q_sep'></span>";
|
1448 |
+
|
1449 |
+
}
|
1450 |
+
add_action('acx_csma_misc_service_info','acx_csma_service_info_option',100);
|
1451 |
+
|
1452 |
+
function acx_csma_service_info_if()
|
1453 |
+
{
|
1454 |
+
global $acx_csma_service_banners;
|
1455 |
+
$acx_csma_service_banners = sanitize_text_field(acx_csma_post_isset_check('acx_csma_service_banners'));
|
1456 |
+
update_option('acx_csma_service_banners', $acx_csma_service_banners);
|
1457 |
+
} add_action('acx_csma_misc_hook_option_onpost','acx_csma_service_info_if');
|
1458 |
+
|
1459 |
+
function acx_csma_service_info_else()
|
1460 |
+
{
|
1461 |
+
global $acx_csma_service_banners;
|
1462 |
+
$acx_csma_service_banners = get_option('acx_csma_service_banners');
|
1463 |
+
}
|
1464 |
+
add_action('acx_csma_misc_hook_option_postelse','acx_csma_service_info_else');
|
1465 |
+
function acx_csma_service_info_after_else()
|
1466 |
+
{
|
1467 |
+
global $acx_csma_service_banners;
|
1468 |
+
|
1469 |
+
if ($acx_csma_service_banners == "") { $acx_csma_service_banners = "yes"; }
|
1470 |
+
} add_action('acx_csma_misc_hook_option_after_else','acx_csma_service_info_after_else');
|
1471 |
+
|
1472 |
+
/* Acurax Service/Info Settings HTML - Get - Set Default Logic Ends Here */
|
1473 |
+
|
1474 |
+
/* Expert Support Menu Settings HTML - Get - Set Default Logic Starts Here */
|
1475 |
+
function acx_csma_misc_expert_support_option()
|
1476 |
+
{
|
1477 |
+
global $acx_csma_hide_expert_support_menu;
|
1478 |
+
echo "<span class='label' style='width:50%;'>". __('Expert Support Menu','coming-soon-maintenance-mode-from-acurax')."</span>";?>
|
1479 |
+
<select name="acx_csma_hide_expert_support_menu" style="width:49%;">
|
1480 |
+
<option value="yes"<?php if ($acx_csma_hide_expert_support_menu == "yes") { echo 'selected="selected"'; } ?>><?php _e('Hide Expert Support Menu From Acurax');?></option>
|
1481 |
+
<option value="no"<?php if ($acx_csma_hide_expert_support_menu == "no") { echo 'selected="selected"'; } ?>><?php _e('Show Expert Support Menu From Acurax');?></option>
|
1482 |
+
</select>
|
1483 |
+
<?php
|
1484 |
+
echo "<span class='acx_csma_q_sep'></span>";
|
1485 |
+
|
1486 |
+
}
|
1487 |
+
add_action('acx_csma_misc_service_info','acx_csma_misc_expert_support_option',300);
|
1488 |
+
|
1489 |
+
|
1490 |
+
function acx_csma_expert_support_if()
|
1491 |
+
{
|
1492 |
+
global $acx_csma_hide_expert_support_menu;
|
1493 |
+
$acx_csma_hide_expert_support_menu = sanitize_text_field(acx_csma_post_isset_check('acx_csma_hide_expert_support_menu'));
|
1494 |
+
update_option('acx_csma_hide_expert_support_menu', $acx_csma_hide_expert_support_menu);
|
1495 |
+
} add_action('acx_csma_misc_hook_option_onpost','acx_csma_expert_support_if');
|
1496 |
+
|
1497 |
+
function acx_csma_expert_support_else()
|
1498 |
+
{
|
1499 |
+
global $acx_csma_hide_expert_support_menu;
|
1500 |
+
$acx_csma_hide_expert_support_menu = get_option('acx_csma_hide_expert_support_menu');
|
1501 |
+
}
|
1502 |
+
add_action('acx_csma_misc_hook_option_postelse','acx_csma_expert_support_else');
|
1503 |
+
function acx_csma_expert_support_after_else()
|
1504 |
+
{
|
1505 |
+
global $acx_csma_hide_expert_support_menu;
|
1506 |
+
|
1507 |
+
if ($acx_csma_hide_expert_support_menu == "") { $acx_csma_hide_expert_support_menu = "no"; }
|
1508 |
+
} add_action('acx_csma_misc_hook_option_after_else','acx_csma_expert_support_after_else');
|
1509 |
+
|
1510 |
+
/* Expert Support Menu Settings Settings HTML - Get - Set Default Logic Ends Here */
|
1511 |
+
|
1512 |
+
/* Send Header Settings HTML - Get - Set Default Logic Starts Here */
|
1513 |
+
function acx_csma_send_header_option()
|
1514 |
+
{
|
1515 |
+
global $acx_csma_send_header_option;
|
1516 |
+
echo "<span class='label' style='width:50%;'>". __('Send ','coming-soon-maintenance-mode-from-acurax')."<a href='https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.4' target='_blank'>". __('503 Header [?]','coming-soon-maintenance-mode-from-acurax')."</a>". __(' On Maintenance Mode?','coming-soon-maintenance-mode-from-acurax')."</span>";?>
|
1517 |
+
<select name="acx_csma_send_header_option" style="width:49%;">
|
1518 |
+
<option value="yes"<?php if ($acx_csma_send_header_option == "yes") { echo 'selected="selected"'; } ?>><?php _e('Yes, Send 503 Header');?></option>
|
1519 |
+
<option value="no"<?php if ($acx_csma_send_header_option == "no") { echo 'selected="selected"'; } ?>><?php _e('No, Dont Send 503 Header');?></option>
|
1520 |
+
</select>
|
1521 |
+
<?php
|
1522 |
+
echo "<span class='acx_csma_q_sep'></span>";
|
1523 |
+
|
1524 |
+
}
|
1525 |
+
add_action('acx_csma_misc_service_info','acx_csma_send_header_option',300);
|
1526 |
+
|
1527 |
+
|
1528 |
+
function acx_csma_send_header_if()
|
1529 |
+
{
|
1530 |
+
global $acx_csma_send_header_option;
|
1531 |
+
$acx_csma_send_header_option = sanitize_text_field(acx_csma_post_isset_check('acx_csma_send_header_option'));
|
1532 |
+
update_option('acx_csma_send_header_option', $acx_csma_send_header_option);
|
1533 |
+
} add_action('acx_csma_misc_hook_option_onpost','acx_csma_send_header_if');
|
1534 |
+
|
1535 |
+
function acx_csma_send_header_else()
|
1536 |
+
{
|
1537 |
+
global $acx_csma_send_header_option;
|
1538 |
+
$acx_csma_send_header_option = get_option('acx_csma_send_header_option');
|
1539 |
+
}
|
1540 |
+
add_action('acx_csma_misc_hook_option_postelse','acx_csma_send_header_else');
|
1541 |
+
function acx_csma_send_header_after_else()
|
1542 |
+
{
|
1543 |
+
global $acx_csma_send_header_option;
|
1544 |
+
|
1545 |
+
if ($acx_csma_send_header_option == "") { $acx_csma_send_header_option = "yes"; }
|
1546 |
+
} add_action('acx_csma_misc_hook_option_after_else','acx_csma_send_header_after_else');
|
1547 |
+
|
1548 |
+
/* Send Header Settings Settings HTML - Get - Set Default Logic Ends Here */
|
1549 |
+
|
1550 |
+
/* Define Misc Submit Button Starts Here */
|
1551 |
+
function acx_csma_misc_submit_button_html()
|
1552 |
+
{
|
1553 |
+
echo "<span class='acx_csma_q_sep'></span>";?>
|
1554 |
+
<input type="submit" name="Submit" class="button button-primary" value="<?php _e("Save Settings","coming-soon-maintenance-mode-from-acurax") ;?>" />
|
1555 |
+
<?php
|
1556 |
+
echo "<span class='acx_csma_q_sep'></span>";
|
1557 |
+
}
|
1558 |
+
add_action('acx_csma_misc_hook_option_fields','acx_csma_misc_submit_button_html',300);
|
1559 |
+
/* Define Misc Submit Button Ends Here */
|
1560 |
+
function acx_csma_load_plugin_textdomain() {
|
1561 |
+
load_plugin_textdomain( 'coming-soon-maintenance-mode-from-acurax', FALSE, basename( dirname( __FILE__ ) ) . '/lang/' );
|
1562 |
+
}
|
1563 |
+
add_action( 'plugins_loaded', 'acx_csma_load_plugin_textdomain' );
|
1564 |
?>
|
images/addon_ppm.png
ADDED
Binary file
|
images/addon_private_url.jpg
ADDED
Binary file
|
images/addon_stp_1.gif
ADDED
Binary file
|
images/csma_04.png
CHANGED
Binary file
|
includes/acx_csma_addons.php
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$csma_addons_intro = array();
|
3 |
+
$csma_addons_intro[] = array(
|
4 |
+
'name' => 'URL Access Addon',
|
5 |
+
'img' => plugins_url('/images/addon_private_url.jpg',dirname(__FILE__)),
|
6 |
+
'desc' => 'Allows you to generate private urls which you can provide to your clients or contacts, So they can view your website even if under maintenance is active. You can define the URL expiry while generating the URL',
|
7 |
+
'url' => 'http://www.acurax.com/products/under-construction-maintenance-mode-wordpress-plugin/?feature=url-access&utm_source=csma&utm_campaign=addon-page',
|
8 |
+
'button' => 'View Details'
|
9 |
+
);
|
10 |
+
$csma_addons_intro[] = array(
|
11 |
+
'name' => 'Service Theme Pack 1',
|
12 |
+
'img' => plugins_url('/images/addon_stp_1.gif',dirname(__FILE__)),
|
13 |
+
'desc' => 'Its a theme pack, consisting of 4 entirely differant premium under maintenance themes which you can use when your website is under construction mode. It acts like your website, You can list your services, add contact form etc...',
|
14 |
+
'url' => 'http://www.acurax.com/products/under-construction-maintenance-mode-wordpress-plugin/?feature=service-theme-pack-1&utm_source=csma&utm_campaign=addon-page',
|
15 |
+
'button' => 'View Demo and More'
|
16 |
+
);
|
17 |
+
$csma_addons_intro[] = array(
|
18 |
+
'name' => 'Page Policy Manager',
|
19 |
+
'img' => plugins_url('/images/addon_ppm.png',dirname(__FILE__)),
|
20 |
+
'desc' => 'Page Policy Manager is a simple and easy addon which helps you to Include/Exclude Pages/Posts from showing Under Construction/Maintenance Pages. Choose a list of Pages/Posts & set the condition as Show/Not to Show Maintenance Mode for the Selected Pages',
|
21 |
+
'url' => 'http://www.acurax.com/products/under-construction-maintenance-mode-wordpress-plugin/?feature=page-policy-manager&utm_source=csma&utm_campaign=addon-page',
|
22 |
+
'button' => 'Screenshots and More'
|
23 |
+
);
|
24 |
+
?>
|
25 |
+
<h2><?php _e("Coming Soon/Maintenance - Available Addons","coming-soon-maintenance-mode-from-acurax"); ?></h2>
|
26 |
+
<div id="csma_addons_intro_holder">
|
27 |
+
<?php
|
28 |
+
foreach($csma_addons_intro as $key => $value)
|
29 |
+
{
|
30 |
+
?>
|
31 |
+
<div class="csma_addons_intro" onclick="window.open('<?php echo $value['url']; ?>'); return false;">
|
32 |
+
<img src="<?php echo $value['img']; ?>">
|
33 |
+
<h3><?php echo $value['name']; ?></h3>
|
34 |
+
<p>
|
35 |
+
<?php echo $value['desc']; ?>
|
36 |
+
</p>
|
37 |
+
<a class="csma_addon_button" href="<?php echo $value['url']; ?>" target="_blank"><?php echo $value['button']; ?></a>
|
38 |
+
</div> <!-- csma_addons_intro -->
|
39 |
+
<?php } ?>
|
40 |
+
</div> <!-- csma_addons_intro_holder -->
|
includes/acx_csma_admin.php
CHANGED
@@ -44,9 +44,9 @@ else
|
|
44 |
}
|
45 |
if($acx_csma_hidden == 'Y')
|
46 |
{
|
47 |
-
if (!isset($_POST['acx_csma_save_config'])) die("<br><br>Unknown Error Occurred, Try Again... <a href=''>Click Here</a>");
|
48 |
-
if (!wp_verify_nonce($_POST['acx_csma_save_config'],'acx_csma_save_config')) die("<br><br>Unknown Error Occurred, Try Again... <a href=''>Click Here</a>");
|
49 |
-
if(!current_user_can('manage_options')) die("<br><br>Sorry, You have no permission to do this action
|
50 |
//Form data sent
|
51 |
acx_csma_hook_function('acx_csma_hook_mainoptions_inside_if_submit');
|
52 |
$acx_csma_activation_status =$_POST['acx_csma_activate'];
|
@@ -164,6 +164,9 @@ $acx_csma_appearence_array=acx_csma_get_db_array_value();
|
|
164 |
$acx_csma_timer_iptext_color1=sanitize_text_field($_POST['acx_csma_timer_iptext_color1']);
|
165 |
$acx_csma_timer_iptext_color1 = acx_csma_text_before_save_hook_fn('acx_csma_timer_iptext_color1',$acx_csma_timer_iptext_color1);
|
166 |
if($acx_csma_timer_iptext_color1==""){$acx_csma_timer_iptext_color1=$acx_csma_appearence_array['1']['acx_csma_timer_iptext_color1'];}
|
|
|
|
|
|
|
167 |
$acx_csma_timer_head_color1=sanitize_text_field($_POST['acx_csma_timer_head_color1']);
|
168 |
$acx_csma_timer_head_color1 = acx_csma_text_before_save_hook_fn('acx_csma_timer_head_color1',$acx_csma_timer_head_color1);
|
169 |
if($acx_csma_timer_head_color1==""){$acx_csma_timer_head_color1=$acx_csma_appearence_array['1']['acx_csma_timer_head_color1'];}
|
@@ -171,6 +174,9 @@ $acx_csma_appearence_array=acx_csma_get_db_array_value();
|
|
171 |
$acx_csma_show_subscription=sanitize_text_field($_POST['acx_csma_show_subscription']);
|
172 |
|
173 |
if($acx_csma_show_subscription==""){ $acx_csma_show_subscription=$acx_csma_appearence_array['1']['acx_csma_show_subscription'];}
|
|
|
|
|
|
|
174 |
|
175 |
$acx_csma_custom_html_top_sub1=$_POST['acx_csma_custom_html_top_sub1'];
|
176 |
$acx_csma_custom_html_top_sub1 = acx_csma_custom_html_before_save_hook_fn('acx_csma_custom_html_top_sub1', $acx_csma_custom_html_top_sub1);
|
@@ -260,12 +266,19 @@ $acx_csma_appearence_array=acx_csma_get_db_array_value();
|
|
260 |
$acx_csma_show_subscription2=$_POST['acx_csma_show_subscription2'];
|
261 |
$acx_csma_show_subscription2 = acx_csma_text_before_save_hook_fn('acx_csma_show_subscription2',$acx_csma_show_subscription2);
|
262 |
if($acx_csma_show_subscription2==""){ $acx_csma_show_subscription2=$acx_csma_appearence_array['2']['acx_csma_show_subscription2'];}
|
|
|
|
|
|
|
|
|
263 |
$acx_csma_subscribe_btn_text2=$_POST['acx_csma_subscribe_btn_text2'];
|
264 |
$acx_csma_subscribe_btn_text2 = acx_csma_text_before_save_hook_fn('acx_csma_subscribe_btn_text2',$acx_csma_subscribe_btn_text2);
|
265 |
if($acx_csma_subscribe_btn_text2==""){$acx_csma_subscribe_btn_text2=$acx_csma_appearence_array['2']['acx_csma_subscribe_btn_text2'];}
|
266 |
$acx_csma_timer_title2=$_POST['acx_csma_timer_title2'];
|
267 |
$acx_csma_timer_title2 = acx_csma_text_before_save_hook_fn('acx_csma_timer_title2',$acx_csma_timer_title2);
|
268 |
|
|
|
|
|
|
|
269 |
$acx_csma_subscribe_btn_color2=$_POST['acx_csma_subscribe_btn_color2'];
|
270 |
$acx_csma_subscribe_btn_color2 = acx_csma_text_before_save_hook_fn('acx_csma_subscribe_btn_color2',$acx_csma_subscribe_btn_color2);
|
271 |
if($acx_csma_subscribe_btn_color2==""){$acx_csma_subscribe_btn_color2=$acx_csma_appearence_array['2']['acx_csma_subscribe_btn_color2'];}
|
@@ -299,6 +312,15 @@ if($acx_csma_subscribe_btn_text2==""){$acx_csma_subscribe_btn_text2=$acx_csma_ap
|
|
299 |
$acx_csma_desc_text_color2=$_POST['acx_csma_desc_text_color2'];
|
300 |
$acx_csma_desc_text_color2 = acx_csma_text_before_save_hook_fn('acx_csma_desc_text_color2',$acx_csma_desc_text_color2);
|
301 |
if($acx_csma_desc_text_color2==""){$acx_csma_desc_text_color2=$acx_csma_appearence_array['2']['acx_csma_desc_text_color2'];}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
302 |
$acx_csma_fb_link2=esc_url_raw($_POST['acx_csma_fb_link2']);
|
303 |
$acx_csma_twitter_link2=esc_url_raw($_POST['acx_csma_twitter_link2']);
|
304 |
$acx_csma_linkedin_link2=esc_url_raw($_POST['acx_csma_linkedin_link2']);
|
@@ -362,6 +384,9 @@ if($acx_csma_subscribe_btn_text2==""){$acx_csma_subscribe_btn_text2=$acx_csma_ap
|
|
362 |
$acx_csma_show_subscription3=$_POST['acx_csma_show_subscription3'];
|
363 |
$acx_csma_show_subscription3 = acx_csma_text_before_save_hook_fn('acx_csma_show_subscription3',$acx_csma_show_subscription3);
|
364 |
if($acx_csma_show_subscription3==""){ $acx_csma_show_subscription3=$acx_csma_appearence_array['3']['acx_csma_show_subscription3'];}
|
|
|
|
|
|
|
365 |
$acx_csma_show_timer3=$_POST['acx_csma_show_timer3'];
|
366 |
$acx_csma_show_timer3 = acx_csma_text_before_save_hook_fn('acx_csma_show_timer3',$acx_csma_show_timer3);
|
367 |
if($acx_csma_show_timer3==""){ $acx_csma_show_timer3=$acx_csma_appearence_array['3']['acx_csma_show_timer3'];}
|
@@ -411,6 +436,11 @@ if($acx_csma_subscribe_btn_text2==""){$acx_csma_subscribe_btn_text2=$acx_csma_ap
|
|
411 |
$acx_csma_desc_text_color3 = acx_csma_text_before_save_hook_fn('acx_csma_desc_text_color3',$acx_csma_desc_text_color3);
|
412 |
|
413 |
if($acx_csma_desc_text_color3==""){$acx_csma_desc_text_color3=$acx_csma_appearence_array['3']['acx_csma_desc_text_color3'];}
|
|
|
|
|
|
|
|
|
|
|
414 |
$acx_csma_footer_text3= $_POST['acx_csma_footer_text3'];
|
415 |
$acx_csma_footer_text3 = acx_csma_text_before_save_hook_fn('acx_csma_footer_text3',$acx_csma_footer_text3);
|
416 |
$acx_csma_footer_color3 = $_POST['acx_csma_footer_color3'];
|
@@ -474,8 +504,43 @@ if($acx_csma_subscribe_btn_text2==""){$acx_csma_subscribe_btn_text2=$acx_csma_ap
|
|
474 |
$acx_csma_progress_bar_color4=$_POST['acx_csma_progress_bar_color4'];
|
475 |
$acx_csma_progress_bar_color4 = acx_csma_text_before_save_hook_fn('acx_csma_progress_bar_color4',$acx_csma_progress_bar_color4);
|
476 |
if($acx_csma_progress_bar_color4==""){$acx_csma_progress_bar_color4=$acx_csma_appearence_array['4']['acx_csma_progress_bar_color4'];}
|
|
|
|
|
|
|
|
|
|
|
|
|
477 |
$acx_csma_custom_html_bottom_temp4=$_POST['acx_csma_custom_html_bottom_temp4'];
|
478 |
$acx_csma_custom_html_bottom_temp4 = acx_csma_custom_html_before_save_hook_fn('acx_csma_custom_html_bottom_temp4', $acx_csma_custom_html_bottom_temp4);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
479 |
$acx_csma_fb_link4=esc_url_raw($_POST['acx_csma_fb_link4']);
|
480 |
$acx_csma_twitter_link4=esc_url_raw($_POST['acx_csma_twitter_link4']);
|
481 |
$acx_csma_linkedin_link4=esc_url_raw($_POST['acx_csma_linkedin_link4']);
|
@@ -529,6 +594,12 @@ if($acx_csma_subscribe_btn_text2==""){$acx_csma_subscribe_btn_text2=$acx_csma_ap
|
|
529 |
$acx_csma_progress_bar_color5=$_POST['acx_csma_progress_bar_color5'];
|
530 |
$acx_csma_progress_bar_color5 = acx_csma_text_before_save_hook_fn('acx_csma_progress_bar_color5',$acx_csma_progress_bar_color5);
|
531 |
if($acx_csma_progress_bar_color5==""){$acx_csma_progress_bar_color5=$acx_csma_appearence_array['5']['acx_csma_progress_bar_color5'];}
|
|
|
|
|
|
|
|
|
|
|
|
|
532 |
$acx_csma_custom_html_bottom_temp5=$_POST['acx_csma_custom_html_bottom_temp5'];
|
533 |
$acx_csma_custom_html_bottom_temp5 = acx_csma_custom_html_before_save_hook_fn('acx_csma_custom_html_bottom_temp5', $acx_csma_custom_html_bottom_temp5);
|
534 |
$acx_csma_subscribe_bg_color5=$_POST['acx_csma_subscribe_bg_color5'];
|
@@ -540,6 +611,9 @@ if($acx_csma_subscribe_btn_text2==""){$acx_csma_subscribe_btn_text2=$acx_csma_ap
|
|
540 |
$acx_csma_show_subscription5=$_POST['acx_csma_show_subscription5'];
|
541 |
$acx_csma_show_subscription5 = acx_csma_text_before_save_hook_fn('acx_csma_show_subscription5',$acx_csma_show_subscription5);
|
542 |
if($acx_csma_show_subscription5==""){ $acx_csma_show_subscription5=$acx_csma_appearence_array['5']['acx_csma_show_subscription5'];}
|
|
|
|
|
|
|
543 |
$acx_csma_subscribe_btn_text5=$_POST['acx_csma_subscribe_btn_text5'];
|
544 |
$acx_csma_subscribe_btn_text5 = acx_csma_text_before_save_hook_fn('acx_csma_subscribe_btn_text5',$acx_csma_subscribe_btn_text5);
|
545 |
if($acx_csma_subscribe_btn_text5==""){ $acx_csma_subscribe_btn_text5=$acx_csma_appearence_array['5']['acx_csma_subscribe_btn_text5'];}
|
@@ -605,7 +679,9 @@ if($acx_csma_subscribe_btn_text2==""){$acx_csma_subscribe_btn_text2=$acx_csma_ap
|
|
605 |
'acx_csma_timer_bg_color1'=>$acx_csma_timer_bg_color1,
|
606 |
'acx_csma_timer_iptext_color1'=>$acx_csma_timer_iptext_color1,
|
607 |
'acx_csma_timer_head_color1'=>$acx_csma_timer_head_color1,
|
|
|
608 |
'acx_csma_show_subscription'=>$acx_csma_show_subscription,
|
|
|
609 |
'acx_csma_custom_html_top_sub1'=>$acx_csma_custom_html_top_sub1,
|
610 |
'acx_csma_custom_html_bottom_sub1'=>$acx_csma_custom_html_bottom_sub1,
|
611 |
'acx_csma_subscribe_bg_color1'=>$acx_csma_subscribe_bg_color1,
|
@@ -645,10 +721,12 @@ if($acx_csma_subscribe_btn_text2==""){$acx_csma_subscribe_btn_text2=$acx_csma_ap
|
|
645 |
'acx_csma_inside_bg_color2'=>$acx_csma_inside_bg_color2,
|
646 |
'acx_csma_custom_html_top_timer'=>$acx_csma_custom_html_top_timer,
|
647 |
'acx_csma_show_subscription2'=>$acx_csma_show_subscription2,
|
|
|
648 |
'acx_csma_subscribe_btn_text2'=>$acx_csma_subscribe_btn_text2,
|
649 |
'acx_csma_custom_html_above_timer'=>$acx_csma_custom_html_above_timer,
|
650 |
'acx_csma_show_timer2'=>$acx_csma_show_timer2,
|
651 |
'acx_csma_timer_title2'=>$acx_csma_timer_title2,
|
|
|
652 |
'acx_csma_subscribe_btn_color2'=>$acx_csma_subscribe_btn_color2,
|
653 |
'acx_csma_subscribe_success2'=>$acx_csma_subscribe_success2,
|
654 |
'acx_csma_subscribe_invalid2'=>$acx_csma_subscribe_invalid2,
|
@@ -659,6 +737,9 @@ if($acx_csma_subscribe_btn_text2==""){$acx_csma_subscribe_btn_text2=$acx_csma_ap
|
|
659 |
'acx_csma_desc_title2'=>$acx_csma_desc_title2,
|
660 |
'acx_csma_desc_subtitle2'=>$acx_csma_desc_subtitle2,
|
661 |
'acx_csma_desc_text_color2'=>$acx_csma_desc_text_color2,
|
|
|
|
|
|
|
662 |
'acx_csma_fb_link2'=>$acx_csma_fb_link2,
|
663 |
'acx_csma_twitter_link2'=>$acx_csma_twitter_link2,
|
664 |
'acx_csma_linkedin_link2'=>$acx_csma_linkedin_link2,
|
@@ -697,6 +778,7 @@ if($acx_csma_subscribe_btn_text2==""){$acx_csma_subscribe_btn_text2=$acx_csma_ap
|
|
697 |
'acx_csma_subscribe_invalid3'=>$acx_csma_subscribe_invalid3,
|
698 |
'acx_csma_inside_title3'=>$acx_csma_inside_title3,
|
699 |
'acx_csma_show_subscription3'=>$acx_csma_show_subscription3,
|
|
|
700 |
'acx_csma_show_timer3'=>$acx_csma_show_timer3,
|
701 |
'acx_csma_inside_title_color3'=>$acx_csma_inside_title_color3,
|
702 |
'acx_csma_timer_iptext_color3'=>$acx_csma_timer_iptext_color3,
|
@@ -707,6 +789,7 @@ if($acx_csma_subscribe_btn_text2==""){$acx_csma_subscribe_btn_text2=$acx_csma_ap
|
|
707 |
'acx_csma_desc_title3'=>$acx_csma_desc_title3,
|
708 |
'acx_csma_desc_subtitle3'=>$acx_csma_desc_subtitle3,
|
709 |
'acx_csma_desc_text_color3'=>$acx_csma_desc_text_color3,
|
|
|
710 |
'acx_csma_footer_text3'=>$acx_csma_footer_text3,
|
711 |
'acx_csma_footer_color3'=>$acx_csma_footer_color3,
|
712 |
'acx_csma_social_link_title3'=>$acx_csma_social_link_title3,
|
@@ -740,7 +823,19 @@ if($acx_csma_subscribe_btn_text2==""){$acx_csma_subscribe_btn_text2=$acx_csma_ap
|
|
740 |
'acx_csma_timer_head_color4'=>$acx_csma_timer_head_color4,
|
741 |
'acx_csma_show_progressbar4'=>$acx_csma_show_progressbar4,
|
742 |
'acx_csma_progress_bar_color4'=>$acx_csma_progress_bar_color4,
|
|
|
|
|
743 |
'acx_csma_custom_html_bottom_temp4'=>$acx_csma_custom_html_bottom_temp4,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
744 |
'acx_csma_fb_link4'=>$acx_csma_fb_link4,
|
745 |
'acx_csma_twitter_link4'=>$acx_csma_twitter_link4,
|
746 |
'acx_csma_linkedin_link4'=>$acx_csma_linkedin_link4,
|
@@ -770,8 +865,11 @@ if($acx_csma_subscribe_btn_text2==""){$acx_csma_subscribe_btn_text2=$acx_csma_ap
|
|
770 |
'acx_csma_timer_head_color5'=>$acx_csma_timer_head_color5,
|
771 |
'acx_csma_show_progressbar5'=>$acx_csma_show_progressbar5,
|
772 |
'acx_csma_progress_bar_color5'=>$acx_csma_progress_bar_color5,
|
|
|
|
|
773 |
'acx_csma_custom_html_bottom_temp5'=>$acx_csma_custom_html_bottom_temp5,
|
774 |
'acx_csma_show_subscription5'=>$acx_csma_show_subscription5,
|
|
|
775 |
'acx_csma_subscribe_btn_text5'=>$acx_csma_subscribe_btn_text5,
|
776 |
'acx_csma_custom_html_top_sub'=>$acx_csma_custom_html_top_sub,
|
777 |
'acx_csma_custom_html_bottom_sub'=>$acx_csma_custom_html_bottom_sub,
|
@@ -790,7 +888,7 @@ if($acx_csma_subscribe_btn_text2==""){$acx_csma_subscribe_btn_text2=$acx_csma_ap
|
|
790 |
acx_csma_update_array_value($acx_csma_appearence_array);
|
791 |
}
|
792 |
?>
|
793 |
-
<div class="updated"><p><strong><?php _e('Coming Soon/Maintenance From Acurax Settings Saved!.'); ?></strong></p></div>
|
794 |
<script type="text/javascript">
|
795 |
setTimeout(function(){
|
796 |
jQuery('.updated').fadeOut('slow');
|
@@ -807,7 +905,7 @@ else
|
|
807 |
$acx_csma_meta_title =get_option('acx_csma_meta_title');
|
808 |
if($acx_csma_meta_title =="")
|
809 |
{
|
810 |
-
$acx_csma_meta_title ="Under Construction";
|
811 |
update_option('acx_csma_meta_title',$acx_csma_meta_title);
|
812 |
}
|
813 |
$acx_csma_meta_description=get_option('acx_csma_meta_description');
|
@@ -838,11 +936,6 @@ else
|
|
838 |
update_option('acx_csma_date_time',$timestamp1);
|
839 |
}
|
840 |
$acx_csma_ga_trakng_code=get_option('acx_csma_ga_trakng_code');
|
841 |
-
/* if($acx_csma_ga_trakng_code == "")
|
842 |
-
{
|
843 |
-
$acx_csma_ga_trakng_code = '';
|
844 |
-
update_option('acx_csma_ga_trakng_code',$acx_csma_ga_trakng_code);
|
845 |
-
} */
|
846 |
|
847 |
$acx_csma_ip_list=get_option('acx_csma_ip_list');
|
848 |
if($acx_csma_ip_list=="")
|
@@ -887,7 +980,7 @@ else
|
|
887 |
}
|
888 |
if(get_option('acx_csma_custom_html_val')=="")
|
889 |
{
|
890 |
-
$acx_csma_custom_html_val = "<html><head><title>Page Under Maintenance</title></head><body>Sorry, This page is under maintenance
|
891 |
$acx_csma_custom_html_val = trim($acx_csma_custom_html_val);
|
892 |
|
893 |
update_option('acx_csma_custom_html_val',$acx_csma_custom_html_val);
|
@@ -918,15 +1011,15 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
918 |
<div class="wrap">
|
919 |
<div style='background: white none repeat scroll 0% 0%; height: 100%; margin-top: 5px; border-radius: 15px; min-height: 450px; box-sizing: border-box; margin-left: auto; margin-right: auto; width: 98%; padding: 1%;display: table;'>
|
920 |
<?php acx_csma_hook_function('acx_csma_hook_mainoptions_above_title'); ?>
|
921 |
-
<?php echo "<h2 class='acx_csma_page_h2'>" . __( 'Acurax Coming Soon / Maintenance Options','
|
922 |
-
<form name="acx_csma_form" id="acx_csma_form" method="post" action="<?php echo str_replace( '%7E', '~',$_SERVER['REQUEST_URI']); ?>"><hr/>
|
923 |
<table>
|
924 |
<tr>
|
925 |
<td><input type="hidden" name="acx_csma_hidden" value="Y"/></td>
|
926 |
</tr>
|
927 |
<tr>
|
928 |
-
<td><a id="acx_csma_tab_1" class="acx_csma_tab" onclick="javascript:acx_csma_show_div(1);"
|
929 |
-
<td><a id="acx_csma_tab_2" class="acx_csma_tab" onclick="javascript:acx_csma_show_div(2);"
|
930 |
<?php acx_csma_hook_function('acx_csma_hook_mainoptions_add_settings'); ?>
|
931 |
</tr>
|
932 |
</table><hr/>
|
@@ -935,16 +1028,16 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
935 |
<tr>
|
936 |
<?php $acx_csma_activation_status=get_option('acx_csma_activation_status');
|
937 |
?>
|
938 |
-
<td><?php _e('Status:', '
|
939 |
-
<td><input type="radio" id="acx_csma_activate" name="acx_csma_activate" value="1" <?php if($acx_csma_activation_status=="1"){echo "checked='checked'";}?> /> <?php _e('Activate', '
|
940 |
-
<tr><td><p><?php _e("Page Meta Title: " ); ?></p></td>
|
941 |
<td><input type="text" name="acx_csma_meta_title" value="<?php echo stripslashes(esc_attr(get_option('acx_csma_meta_title'))); ?>" size="20"/></td>
|
942 |
</tr>
|
943 |
-
<tr><td><p><?php _e("Page Meta Description: " ); ?></p></td>
|
944 |
<td><input type="text" name="acx_csma_meta_description" value="<?php echo stripslashes(esc_attr(get_option('acx_csma_meta_description'))); ?>" size="20"/></td></tr>
|
945 |
-
<tr><td><p><?php _e("Page Meta Keywords: " ); ?></p></td>
|
946 |
<td><input type="text" name="acx_csma_meta_keywords" value="<?php echo stripslashes(esc_attr(get_option('acx_csma_meta_keywords'))); ?>" size="20"/></td></tr>
|
947 |
-
<tr><td><?php _e("Upload Favicon: " ); ?></td>
|
948 |
<td>
|
949 |
<?php
|
950 |
$favicon_attach_id = get_option('acx_csma_favicon');
|
@@ -958,31 +1051,31 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
958 |
<img id="acx_csma_favicon" src="<?php echo $url; ?>" style="width:20px;height:auto;">
|
959 |
<input type="hidden" id="acx_csma_favicon_field" name="acx_csma_favicon_field" value="<?php echo $favicon_attach_id; ?>" size="20">
|
960 |
|
961 |
-
<a id="acx_csma_favicon_button" class="button"
|
962 |
-
<span><?php _e("Recommended size 16 X 16
|
963 |
</td>
|
964 |
</tr>
|
965 |
-
<tr><td><?php _e("Expected Date and Time to end Maintenance mode: " ); $format = "Y/m/d H:i"; ?></td>
|
966 |
<td>
|
967 |
<?php
|
968 |
$timestamp1=get_option('acx_csma_date_time');
|
969 |
?>
|
970 |
-
<input type="text" value="<?php print date_i18n($format, $timestamp1); ?>" id="datetimepicker" name="acx_csma_date_time"/> Current Wordpress Time:
|
971 |
<?php print date_i18n($format, current_time('timestamp')); ?><br><br></td></tr>
|
972 |
<tr>
|
973 |
-
<td><?php _e("Would you like to end the maintenance mode automatically on the above specified time?: " ); ?></td>
|
974 |
<?php $acx_csma_auto_launch=get_option('acx_csma_auto_launch');
|
975 |
?>
|
976 |
-
<td><input type="radio" id="acx_csma_auto_launch" name="acx_csma_auto_launch" value="1" <?php if($acx_csma_auto_launch=="1"){echo "checked='checked'";}?> /> <?php _e('YES', '
|
977 |
<tr>
|
978 |
<td><?php _e("Google Analytics Tracking Code: " ); ?></td>
|
979 |
-
<td><textarea id="acx_csma_ga_trakng_code" name="acx_csma_ga_trakng_code" placeholder="Google Analytics Tracking Code Here"><?php echo stripslashes($acx_csma_ga_trakng_code); ?></textarea></td>
|
980 |
</tr>
|
981 |
</table>
|
982 |
<hr />
|
983 |
<table>
|
984 |
-
<tr><td><b><?php echo "<h4>" . __( 'Access Settings', '
|
985 |
-
<tr><td><?php _e("Do not show maintenance page for the following IPs:"); ?></td></tr>
|
986 |
<tr>
|
987 |
<td><p><?php $acx_csma_ip_list=get_option('acx_csma_ip_list');if(is_serialized($acx_csma_ip_list)){$acx_csma_ip_list=unserialize($acx_csma_ip_list);}?>
|
988 |
<select name="acx_csma_ip_list[]" id="acx_csma_ip_list1" multiple>
|
@@ -992,13 +1085,13 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
992 |
</select><br/><br/>
|
993 |
<?php $acx_csma_real_ip = acx_csma_getrealip(); ?>
|
994 |
<input type="text" name="acx_csma_txt_ip" id="acx_csma_txt_ip" value="<?php echo $acx_csma_real_ip; ?>"/>
|
995 |
-
<input type="button" name="acx_csma_add_list" id="acx_csma_add_list" class="button" value="
|
996 |
-
<input type="button" name="acx_csma_del_list" id="acx_csma_del_list" class="button" value="
|
997 |
</td></tr>
|
998 |
</table>
|
999 |
|
1000 |
<table>
|
1001 |
-
<tr><td><?php _e("Do not show maintenance page for the following Roles:"); ?></td></tr>
|
1002 |
<?php
|
1003 |
$acx_csma_restrict_role=get_option('acx_csma_restrict_role');
|
1004 |
if($acx_csma_restrict_role =="")
|
@@ -1027,7 +1120,7 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1027 |
|
1028 |
?>
|
1029 |
<div id="acx_csma_tab_block_2" class="acx_csma_tab_block acx_csma_appearence" style="display:none;">
|
1030 |
-
<h3
|
1031 |
<div id="main">
|
1032 |
<?php $acx_csma_template = get_option('acx_csma_template');
|
1033 |
$acx_csma_base_template = get_option('acx_csma_base_template');
|
@@ -1049,7 +1142,7 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1049 |
?>
|
1050 |
<div id="img_holder">
|
1051 |
<label for="<?php echo $value['index']; ?>">
|
1052 |
-
<img src="<?php echo $value['thumb'].'images/template'.$value['id'].'.png'; ?>"></label><br /><input type="radio" name="acx_csma_template" id="<?php echo $value['index']; ?>" value="<?php echo $value['id']; ?>" <?php if ($acx_csma_template==$value['id']) {echo "checked=checked";} ?> onclick="acx_csma_rdbtn_show_div(<?php echo $value['id']; ?>);"/><?php echo $value['name']." "; ?><a href="<?php echo $value['path']."?acx_csma_preview=".$value['id']; ?>" target="_blank"
|
1053 |
</div>
|
1054 |
<?php
|
1055 |
}
|
@@ -1061,7 +1154,7 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1061 |
?>
|
1062 |
<div id="img_holder">
|
1063 |
<label for="<?php echo $value['index']; ?>">
|
1064 |
-
<img src="<?php echo $value['thumb'].'images/template'.$value['id'].'.png'; ?>"></label><br /><input type="radio" name="acx_csma_template" id="<?php echo $value['index']; ?>" value="<?php echo $value['id']; ?>" <?php if ($acx_csma_template==$value['id']) {echo "checked=checked";}?> onclick="acx_csma_rdbtn_show_div(<?php echo $value['id']; ?>);"/><?php echo $value['name']." "; ?><a href="<?php echo $value['path']."?acx_csma_preview=".$value['id']; ?>" target="_blank"
|
1065 |
</div>
|
1066 |
<?php
|
1067 |
}
|
@@ -1082,12 +1175,12 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1082 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
1083 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1084 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1085 |
-
Background Settings
|
1086 |
</span>
|
1087 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1088 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1089 |
<div class="acx_csmap_q_and_a_inside">
|
1090 |
-
<label
|
1091 |
<div class="acx_qa_field">
|
1092 |
<?php
|
1093 |
$acx_csma_background_image1_id = $acx_csma_appearence_array['1']['acx_csma_background_image1'];
|
@@ -1102,8 +1195,8 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1102 |
<img id="custom_uploader_template_1_img_field_preview" src="<?php echo $bg_image1_url; ?>" style="width:100px;height:auto;">
|
1103 |
<input type="hidden" id="custom_uploader_template_1_img_field" name="acx_csma_background_image1" value="<?php echo $acx_csma_background_image1_id; ?>" size="20">
|
1104 |
<br>
|
1105 |
-
<a id="acx_upload_button_img1" class="button"
|
1106 |
-
<a id="acx_upload_button_reset_img1" onclick="acx_csma_restore_default('custom_uploader_template_1_img_field_preview','<?php echo ACX_CSMA_BASE_LOCATION . 'templates/1/images/body_bg.jpg'; ?>','custom_uploader_template_1_img_field');" class="button"
|
1107 |
</div> <!-- acx_qa_field -->
|
1108 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
1109 |
</div> <!-- acx_csmap_q_and_a -->
|
@@ -1113,7 +1206,7 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1113 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
1114 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1115 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1116 |
-
Logo Settings
|
1117 |
</span>
|
1118 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1119 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
@@ -1122,8 +1215,8 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1122 |
<table cellspacing="10">
|
1123 |
<tr><td>
|
1124 |
|
1125 |
-
<input type="radio" name="acx_csma_logo_choice1" class="acx_csma_logo" id="acx_csma_logo_image1" value="image" onclick="acx_csma_rdbtn_show_logo('image','1');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['1'])){if($acx_csma_appearence_array['1']['acx_csma_logo_choice'] == 'image' || $acx_csma_appearence_array['1']['acx_csma_logo_choice']==''){echo "checked='checked'";}} else{ echo "checked='checked'";} ?>/><p
|
1126 |
-
<input type="radio" name="acx_csma_logo_choice1" class="acx_csma_logo" id="acx_csma_logo_text1" value="text" onclick="acx_csma_rdbtn_show_logo('text','1');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['1'])){if($acx_csma_appearence_array['1']['acx_csma_logo_choice'] == 'text'){echo "checked='checked'";}}?>/><p
|
1127 |
</table>
|
1128 |
</div><!--acx_csma_logo_main -->
|
1129 |
<div id="acx_show_logo_image_1" class="acx_csma_logo_block acx_csma_logo_block_1">
|
@@ -1138,17 +1231,17 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1138 |
|
1139 |
?>
|
1140 |
<label>
|
1141 |
-
Logo Image: <span id="acx_csma_span">(Recommended size 231x67)</span>
|
1142 |
</label>
|
1143 |
<div class="acx_qa_field">
|
1144 |
<img id="custom_uploader_template_1_logo_field_preview" src="<?php echo $logo1_url; ?>" style="width:100px;height:auto;">
|
1145 |
-
<input type="hidden" id="custom_uploader_template_1_logo_field" name="acx_csma_logo1" value="<?php echo $acx_csma_logo1_id; ?>" size="20"><br><a id="acx_upload_button_logo1" class="button"
|
1146 |
-
<a id="acx_upload_button_reset_logo1" onclick="acx_csma_restore_default('custom_uploader_template_1_logo_field_preview','<?php echo ACX_CSMA_BASE_LOCATION . 'templates/1/images/logo.png'; ?>','custom_uploader_template_1_logo_field');" class="button"
|
1147 |
</div> <!-- acx_qa_field -->
|
1148 |
</div> <!-- acx_show_logo_image-->
|
1149 |
<div id="acx_show_logo_text_1" class="acx_csma_logo_block acx_csma_logo_block_1">
|
1150 |
<label>
|
1151 |
-
Logo Text:
|
1152 |
</label>
|
1153 |
<div class="acx_qa_field">
|
1154 |
<?php if(is_array($acx_csma_appearence_array['1']) && array_key_exists('acx_csma_logo_text1',$acx_csma_appearence_array['1'])){$acx_csma_logo_text1=$acx_csma_appearence_array['1']['acx_csma_logo_text1'];
|
@@ -1158,10 +1251,10 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1158 |
}}else{
|
1159 |
$acx_csma_logo_text1=get_bloginfo('name');
|
1160 |
}?>
|
1161 |
-
<input type="text" name="acx_csma_logo_text1" placeholder="Logo Text Here" value="<?php echo $acx_csma_logo_text1 = acx_csma_option_text_after_save_hook_fn($acx_csma_logo_text1); ?>" size="20"/>
|
1162 |
</div> <!-- acx_qa_field -->
|
1163 |
<label>
|
1164 |
-
Logo Text Color: <a onclick="acx_csma_restore_default('','#ffffff','acx_csma_logo_text_color1');" class="acx_csmap_button_reset">[Reset To Default]</a>
|
1165 |
</label>
|
1166 |
<div class="acx_qa_field">
|
1167 |
<?php if(is_array($acx_csma_appearence_array['1']) && array_key_exists('acx_csma_logo_text_color1',$acx_csma_appearence_array['1'])){$acx_csma_logo_text_color1=$acx_csma_appearence_array['1']['acx_csma_logo_text_color1'];
|
@@ -1181,33 +1274,33 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1181 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
1182 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1183 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1184 |
-
Configure Heading Under Logo
|
1185 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1186 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1187 |
<div class="acx_csmap_q_and_a_inside">
|
1188 |
<label>
|
1189 |
-
Title Text:
|
1190 |
</label>
|
1191 |
<div class="acx_qa_field">
|
1192 |
<?php $acx_csma_title1 = $acx_csma_appearence_array['1']['acx_csma_title1']; ?>
|
1193 |
<input type="text" name="acx_csma_title1" id="acx_csma_title1" value="<?php echo $acx_csma_title1 = acx_csma_option_text_after_save_hook_fn($acx_csma_title1); ?>" size="20"/>
|
1194 |
</div> <!-- acx_qa_field -->
|
1195 |
<label>
|
1196 |
-
Title Color:
|
1197 |
</label>
|
1198 |
<div class="acx_qa_field">
|
1199 |
<input type="text" name="acx_csma_title_color1" id="acx_csma_title_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_title_color1']; ?>" size="20" />
|
1200 |
<div style="position: absolute;" id="acx_csma_title_color1_div"></div>
|
1201 |
</div> <!-- acx_qa_field -->
|
1202 |
<label>
|
1203 |
-
Subtitle Text:
|
1204 |
</label>
|
1205 |
<div class="acx_qa_field">
|
1206 |
<?php $acx_csma_subtitle_text1 = $acx_csma_appearence_array['1']['acx_csma_subtitle_text1']; ?>
|
1207 |
<input type="text" name="acx_csma_subtitle_text1" id="acx_csma_subtitle_text1" value="<?php echo $acx_csma_subtitle_text1 = acx_csma_option_text_after_save_hook_fn($acx_csma_subtitle_text1); ?>" size="20"/>
|
1208 |
</div> <!-- acx_qa_field -->
|
1209 |
<label>
|
1210 |
-
Subtitle Color
|
1211 |
</label>
|
1212 |
<div class="acx_qa_field">
|
1213 |
<input type="text" name="acx_csma_subtitle_color1" id="acx_csma_subtitle_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_subtitle_color1']; ?>" size="20"/>
|
@@ -1222,54 +1315,54 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1222 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
1223 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1224 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1225 |
-
Countdown Timer Heading & Custom HTML Settings
|
1226 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1227 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1228 |
<div class="acx_csmap_q_and_a_inside">
|
1229 |
|
1230 |
<label>
|
1231 |
-
Custom HTML Block Above Countdown Timer
|
1232 |
</label>
|
1233 |
<div class="acx_qa_field">
|
1234 |
<?php $acx_csma_custom_html_top_temp1 = $acx_csma_appearence_array['1']['acx_csma_custom_html_top_temp1']; ?>
|
1235 |
-
<textarea id="acx_csma_custom_html_top_temp1" name="acx_csma_custom_html_top_temp1" placeholder="HTML Code Here"><?php echo $temp_html1 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_temp1); ?></textarea>
|
1236 |
</div><!-- acx_qa_field -->
|
1237 |
<div class="f_w"></div>
|
1238 |
<label>
|
1239 |
-
Background Color
|
1240 |
</label>
|
1241 |
<div class="acx_qa_field">
|
1242 |
<input type="text" name="acx_csma_inside_bg_color1" id="acx_csma_inside_bg_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_inside_bg_color1']; ?>" size="20"/>
|
1243 |
<div style="position: absolute;" id="acx_csma_inside_bg_color1_div"></div>
|
1244 |
</div> <!-- acx_qa_field -->
|
1245 |
<label>
|
1246 |
-
Title:
|
1247 |
</label>
|
1248 |
<div class="acx_qa_field">
|
1249 |
<?php $acx_csma_inside_title1 = $acx_csma_appearence_array['1']['acx_csma_inside_title1']; ?>
|
1250 |
<input type="text" name="acx_csma_inside_title1" value="<?php echo $acx_csma_inside_title1 = acx_csma_option_text_after_save_hook_fn($acx_csma_inside_title1); ?>" size="20"/>
|
1251 |
</div> <!-- acx_qa_field -->
|
1252 |
<label>
|
1253 |
-
Custom HTML Block below the tittle
|
1254 |
</label>
|
1255 |
<div class="acx_qa_field">
|
1256 |
<?php $acx_csma_custom_html_top_temp1_title = $acx_csma_appearence_array['1']['acx_csma_custom_html_top_temp1_title']; ?>
|
1257 |
-
<textarea id="acx_csma_custom_html_top_temp1_title" name="acx_csma_custom_html_top_temp1_title" placeholder="HTML Code Here"><?php echo $acx_csma_custom_html_top_temp1_title = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_temp1_title); ?></textarea>
|
1258 |
</div><!-- acx_qa_field -->
|
1259 |
<div class="f_w"></div>
|
1260 |
<label>
|
1261 |
-
Title Color
|
1262 |
</label>
|
1263 |
<div class="acx_qa_field">
|
1264 |
<input type="text" name="acx_csma_inside_title_color1" id="acx_csma_inside_title_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_inside_title_color1']; ?>" size="20"/>
|
1265 |
<div style="position: absolute;" id="acx_csma_inside_title_color1_div"></div>
|
1266 |
</div> <!-- acx_qa_field -->
|
1267 |
<label>
|
1268 |
-
Custom HTML Block Below Countdown Timer
|
1269 |
</label>
|
1270 |
<div class="acx_qa_field">
|
1271 |
<?php $acx_csma_custom_html_bottom_temp1 =$acx_csma_appearence_array['1']['acx_csma_custom_html_bottom_temp1']; ?>
|
1272 |
-
<textarea id="acx_csma_custom_html_bottom_temp1" name="acx_csma_custom_html_bottom_temp1" placeholder="HTML Code Here"><?php echo $acx_csma_custom_html_bottom_temp1 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_bottom_temp1); ?></textarea>
|
1273 |
|
1274 |
</div><!-- acx_qa_field -->
|
1275 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
@@ -1282,36 +1375,43 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1282 |
|
1283 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1284 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1285 |
-
Countdown Timer Settings
|
1286 |
</span>
|
1287 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1288 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1289 |
<div class="acx_csmap_q_and_a_inside">
|
1290 |
<label>
|
1291 |
-
Would you like to show Timer?
|
1292 |
</label>
|
1293 |
<div class="acx_qa_field">
|
1294 |
<select name="acx_csma_show_timer1">
|
1295 |
-
<option value="1" <?php if ($acx_csma_appearence_array['1']['acx_csma_show_timer1'] == "1") { echo 'selected="selected"'; }
|
1296 |
-
<option value="0" <?php if ($acx_csma_appearence_array['1']['acx_csma_show_timer1'] == "0") { echo 'selected="selected"'; }
|
1297 |
</select>
|
1298 |
</div>
|
1299 |
<label>
|
1300 |
-
Background Color
|
1301 |
</label>
|
1302 |
<div class="acx_qa_field">
|
1303 |
<input type="text" name="acx_csma_timer_bg_color1" id="acx_csma_timer_bg_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_timer_bg_color1']; ?>" size="20"/></td>
|
1304 |
<td><div style="position: absolute;" id="acx_csma_timer_bg_color1_div"></div>
|
1305 |
</div> <!-- acx_qa_field -->
|
1306 |
<label>
|
1307 |
-
Input text Color
|
1308 |
</label>
|
1309 |
<div class="acx_qa_field">
|
1310 |
<input type="text" name="acx_csma_timer_iptext_color1" id="acx_csma_timer_iptext_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_timer_iptext_color1']; ?>" size="20"/>
|
1311 |
<div style="position: absolute;" id="acx_csma_timer_iptext_color1_div"></div>
|
1312 |
</div> <!-- acx_qa_field -->
|
1313 |
<label>
|
1314 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1315 |
</label>
|
1316 |
<div class="acx_qa_field">
|
1317 |
<input type="text" name="acx_csma_timer_head_color1" id="acx_csma_timer_head_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_timer_head_color1']; ?>" size="20"/>
|
@@ -1327,37 +1427,45 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1327 |
|
1328 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1329 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1330 |
-
Subscription Form Settings
|
1331 |
</span>
|
1332 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1333 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1334 |
<div class="acx_csmap_q_and_a_inside">
|
1335 |
|
1336 |
<label>
|
1337 |
-
Would you like to show Subscription form?
|
1338 |
</label>
|
1339 |
<div class="acx_qa_field">
|
1340 |
<select name="acx_csma_show_subscription">
|
1341 |
-
<option value="1" <?php if ($acx_csma_appearence_array['1']['acx_csma_show_subscription'] == "1") { echo 'selected="selected"'; }
|
1342 |
-
<option value="0" <?php if ($acx_csma_appearence_array['1']['acx_csma_show_subscription'] == "0") { echo 'selected="selected"'; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1343 |
</select>
|
1344 |
</div>
|
1345 |
-
|
1346 |
<label>
|
1347 |
-
Custom HTML Block Above Subscription form
|
1348 |
</label>
|
1349 |
<div class="acx_qa_field">
|
1350 |
<?php $acx_csma_custom_html_top_sub1 = $acx_csma_appearence_array['1']['acx_csma_custom_html_top_sub1']; ?>
|
1351 |
-
<textarea id="acx_csma_custom_html_top_sub1" name="acx_csma_custom_html_top_sub1" placeholder="HTML Code Here"><?php echo $acx_csma_custom_html_top_sub1 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_sub1); ?></textarea>
|
1352 |
</div><!-- acx_qa_field -->
|
1353 |
<div class="f_w"></div>
|
1354 |
|
1355 |
<label>
|
1356 |
-
Custom HTML Block Below Subscription form
|
1357 |
</label>
|
1358 |
<div class="acx_qa_field">
|
1359 |
<?php $acx_csma_custom_html_bottom_sub1 = $acx_csma_appearence_array['1']['acx_csma_custom_html_bottom_sub1']; ?>
|
1360 |
-
<textarea id="acx_csma_custom_html_bottom_sub1" name="acx_csma_custom_html_bottom_sub1" placeholder="HTML Code Here"><?php echo $acx_csma_custom_html_bottom_sub1 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_bottom_sub1); ?></textarea>
|
1361 |
</div><!-- acx_qa_field -->
|
1362 |
<div class="f_w"></div>
|
1363 |
<!-- **********************************************************************-->
|
@@ -1367,14 +1475,14 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1367 |
|
1368 |
|
1369 |
<label>
|
1370 |
-
Background Color
|
1371 |
</label>
|
1372 |
<div class="acx_qa_field">
|
1373 |
<input type="text" name="acx_csma_subscribe_bg_color1" id="acx_csma_subscribe_bg_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_subscribe_bg_color1']; ?>" size="20"/>
|
1374 |
<div style="position: absolute;" id="acx_csma_subscribe_bg_color1_div"></div>
|
1375 |
</div> <!-- acx_qa_field -->
|
1376 |
<label>
|
1377 |
-
Button Text
|
1378 |
</label>
|
1379 |
<div class="acx_qa_field">
|
1380 |
<?php $acx_csma_subscribe_btn_text1 = $acx_csma_appearence_array['1']['acx_csma_subscribe_btn_text1']; ?>
|
@@ -1382,56 +1490,56 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1382 |
</div> <!-- acx_qa_field -->
|
1383 |
|
1384 |
<label>
|
1385 |
-
Button Text Color
|
1386 |
</label>
|
1387 |
<div class="acx_qa_field">
|
1388 |
<input type="text" name="acx_csma_subscribe_btn_text_color1" id="acx_csma_subscribe_btn_text_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_subscribe_btn_text_color1']; ?>" size="20"/>
|
1389 |
<div style="position: absolute;" id="acx_csma_subscribe_btn_text_color1_div"></div>
|
1390 |
</div> <!-- acx_qa_field -->
|
1391 |
<label>
|
1392 |
-
Button Color
|
1393 |
</label>
|
1394 |
<div class="acx_qa_field">
|
1395 |
<input type="text" name="acx_csma_subscribe_btn_color1" id="acx_csma_subscribe_btn_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_subscribe_btn_color1']; ?>" size="20"/>
|
1396 |
<div style="position: absolute;" id="acx_csma_subscribe_btn_color1_div"></div>
|
1397 |
</div> <!-- acx_qa_field -->
|
1398 |
<label>
|
1399 |
-
Button Hover Text Color
|
1400 |
</label>
|
1401 |
<div class="acx_qa_field">
|
1402 |
<input type="text" name="acx_csma_subscribe_btn_hover_color1" id="acx_csma_subscribe_btn_hover_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_subscribe_btn_hover_color1']; ?>" size="20"/>
|
1403 |
<div style="position: absolute;" id="acx_csma_subscribe_btn_hover_color1_div"></div>
|
1404 |
</div> <!-- acx_qa_field -->
|
1405 |
<label>
|
1406 |
-
Button Hover Background Color
|
1407 |
</label>
|
1408 |
<div class="acx_qa_field">
|
1409 |
<input type="text" name="acx_csma_subscribe_btn_hover_bgcolor1" id="acx_csma_subscribe_btn_hover_bgcolor1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_subscribe_btn_hover_bgcolor1']; ?>" size="20"/>
|
1410 |
<div style="position: absolute;" id="acx_csma_subscribe_btn_hover_bgcolor1_div"></div>
|
1411 |
</div> <!-- acx_qa_field -->
|
1412 |
<label>
|
1413 |
-
Subscribe Title:
|
1414 |
</label>
|
1415 |
<div class="acx_qa_field">
|
1416 |
<?php $acx_csma_subscribe_title1 = $acx_csma_appearence_array['1']['acx_csma_subscribe_title1']; ?>
|
1417 |
<input type="text" name="acx_csma_subscribe_title1" value="<?php echo $acx_csma_subscribe_title1 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_title1); ?>" size="20"/>
|
1418 |
</div> <!-- acx_qa_field -->
|
1419 |
<label>
|
1420 |
-
Subscribe Title Color
|
1421 |
</label>
|
1422 |
<div class="acx_qa_field">
|
1423 |
<input type="text" name="acx_csma_subscribe_title_color1" id="acx_csma_subscribe_title_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_subscribe_title_color1']; ?>" size="20"/>
|
1424 |
<div style="position: absolute;" id="acx_csma_subscribe_title_color1_div"></div>
|
1425 |
</div> <!-- acx_qa_field -->
|
1426 |
<label>
|
1427 |
-
Subscribe Success Message:
|
1428 |
</label>
|
1429 |
<div class="acx_qa_field">
|
1430 |
<?php $acx_csma_subscribe_success1 = $acx_csma_appearence_array['1']['acx_csma_subscribe_success1']; ?>
|
1431 |
<input type="text" name="acx_csma_subscribe_success1" value="<?php echo $acx_csma_subscribe_success1 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_success1); ?>" size="20"/>
|
1432 |
</div> <!-- acx_qa_field -->
|
1433 |
<label>
|
1434 |
-
Subscribe Invalid Message:
|
1435 |
</label>
|
1436 |
<div class="acx_qa_field">
|
1437 |
<?php $acx_csma_subscribe_invalid1 = $acx_csma_appearence_array['1']['acx_csma_subscribe_invalid1']; ?>
|
@@ -1448,27 +1556,27 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1448 |
|
1449 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1450 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1451 |
-
Footer Settings
|
1452 |
</span>
|
1453 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1454 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1455 |
<div class="acx_csmap_q_and_a_inside">
|
1456 |
|
1457 |
<label>
|
1458 |
-
Footer Background
|
1459 |
</label>
|
1460 |
<div class="acx_qa_field">
|
1461 |
<input type="text" name="acx_csma_footer_bgcolor1" id="acx_csma_footer_bgcolor1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_footer_bgcolor1']; ?>" size="20"/>
|
1462 |
<div style="position: absolute;" id="acx_csma_footer_bgcolor1_div"></div></div> <!-- acx_qa_field -->
|
1463 |
<label>
|
1464 |
-
Footer Text:
|
1465 |
</label>
|
1466 |
<div class="acx_qa_field">
|
1467 |
<?php $acx_csma_footer_text1 = $acx_csma_appearence_array['1']['acx_csma_footer_text1']; ?>
|
1468 |
<input type="text" name="acx_csma_footer_text1" value="<?php echo $acx_csma_footer_text1 = acx_csma_option_text_after_save_hook_fn($acx_csma_footer_text1); ?>" size="20"/>
|
1469 |
</div> <!-- acx_qa_field -->
|
1470 |
<label>
|
1471 |
-
Footer Text Color
|
1472 |
</label>
|
1473 |
<div class="acx_qa_field">
|
1474 |
<input type="text" name="acx_csma_footer_text_color1" id="acx_csma_footer_text_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_footer_text_color1']; ?>" size="20"/>
|
@@ -1483,18 +1591,18 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1483 |
|
1484 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1485 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1486 |
-
Custom css Settings
|
1487 |
</span>
|
1488 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1489 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1490 |
<div class="acx_csmap_q_and_a_inside">
|
1491 |
|
1492 |
<label>
|
1493 |
-
Custom css
|
1494 |
</label>
|
1495 |
<div class="acx_qa_field">
|
1496 |
<?php $acx_csma_custom_css_temp1 = $acx_csma_appearence_array['1']['acx_csma_custom_css_temp1']; ?>
|
1497 |
-
<textarea id="acx_csma_custom_css_temp1" name="acx_csma_custom_css_temp1" placeholder="CSS Code Here"><?php echo stripslashes($acx_csma_custom_css_temp1); ?></textarea>
|
1498 |
</div><!-- acx_qa_field -->
|
1499 |
<div class="f_w"></div>
|
1500 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
@@ -1519,13 +1627,13 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1519 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
1520 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1521 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1522 |
-
Background Settings
|
1523 |
</span>
|
1524 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1525 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1526 |
<div class="acx_csmap_q_and_a_inside">
|
1527 |
-
<label
|
1528 |
-
<a onclick="acx_csma_restore_default('','#e4e4e4','acx_csma_bg_color2');" class="acx_csmap_button_reset">[Reset To Default]</a>
|
1529 |
</label>
|
1530 |
<div class="acx_qa_field">
|
1531 |
<input type="text" name="acx_csma_bg_color2" id="acx_csma_bg_color2" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_bg_color2']; ?>" onblur="acx_csma_validate(this.value);" size="20"/>
|
@@ -1541,7 +1649,7 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1541 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
1542 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1543 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1544 |
-
Logo Settings
|
1545 |
</span>
|
1546 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1547 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
@@ -1549,12 +1657,12 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1549 |
<div class="acx_csma_logo_main">
|
1550 |
<table cellspacing="10">
|
1551 |
<tr><td>
|
1552 |
-
<input type="radio" name="acx_csma_logo_choice2" class="acx_csma_logo" id="acx_csma_logo_image2" value="image" onclick="acx_csma_rdbtn_show_logo('image','2');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['2'])){if($acx_csma_appearence_array['2']['acx_csma_logo_choice'] == 'image' || $acx_csma_appearence_array['2']['acx_csma_logo_choice']==''){echo "checked='checked'";}}else{ echo "checked='checked'";}
|
1553 |
-
<input type="radio" name="acx_csma_logo_choice2" class="acx_csma_logo" id="acx_csma_logo_text2" value="text" onclick="acx_csma_rdbtn_show_logo('text','2');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['2'])){if($acx_csma_appearence_array['2']['acx_csma_logo_choice'] == 'text'){echo "checked='checked'";}}
|
1554 |
</div><!--acx_csma_logo_main -->
|
1555 |
<div id="acx_show_logo_image_2" class="acx_csma_logo_block acx_csma_logo_block_2" style="display:none;">
|
1556 |
<label>
|
1557 |
-
Logo
|
1558 |
</label>
|
1559 |
<div class="acx_qa_field">
|
1560 |
<?php
|
@@ -1570,13 +1678,13 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1570 |
<img id="custom_uploader_template_2_logo_field_preview" src="<?php echo $logo2_url; ?>" style="width:100px;height:auto;">
|
1571 |
<input type="hidden" id="custom_uploader_template_2_logo_field" name="acx_csma_logo2" value="<?php echo $acx_csma_logo2_id; ?>" size="20">
|
1572 |
<br>
|
1573 |
-
<a id="acx_upload_button_logo2" class="button">Pick a Logo
|
1574 |
-
<a id="acx_upload_button_logo2" onclick="acx_csma_restore_default('custom_uploader_template_2_logo_field_preview','<?php echo ACX_CSMA_BASE_LOCATION . 'templates/2/images/logo.png'; ?>','custom_uploader_template_2_logo_field');" class="button"
|
1575 |
</div> <!-- acx_qa_field -->
|
1576 |
</div><!--acx_show_logo_image-->
|
1577 |
<div id="acx_show_logo_text_2" class="acx_csma_logo_block acx_csma_logo_block_2" style="display:none;">
|
1578 |
<label>
|
1579 |
-
Logo Text:
|
1580 |
</label>
|
1581 |
<div class="acx_qa_field">
|
1582 |
<?php if(array_key_exists('acx_csma_logo_text2',$acx_csma_appearence_array['2'])){$acx_csma_logo_text2=$acx_csma_appearence_array['2']['acx_csma_logo_text2'];
|
@@ -1586,10 +1694,10 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1586 |
}}else{
|
1587 |
$acx_csma_logo_text2=get_bloginfo('name');
|
1588 |
}?>
|
1589 |
-
<input type="text" name="acx_csma_logo_text2" placeholder="Logo Text Here" value="<?php echo $acx_csma_logo_text2 = acx_csma_option_text_after_save_hook_fn($acx_csma_logo_text2); ?>" size="20"/>
|
1590 |
</div> <!-- acx_qa_field -->
|
1591 |
<label>
|
1592 |
-
Logo Text Color: <a onclick="acx_csma_restore_default('','#ffffff','acx_csma_logo_text_color2');" class="acx_csmap_button_reset">[Reset To Default]</a>
|
1593 |
</label>
|
1594 |
<div class="acx_qa_field">
|
1595 |
<?php if(array_key_exists('acx_csma_logo_text_color2',$acx_csma_appearence_array['2'])){$acx_csma_logo_text_color2=$acx_csma_appearence_array['2']['acx_csma_logo_text_color2'];
|
@@ -1611,20 +1719,20 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1611 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
1612 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1613 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1614 |
-
Heading and Subheading Settings
|
1615 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1616 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1617 |
<div class="acx_csmap_q_and_a_inside">
|
1618 |
<label>
|
1619 |
-
Title Text :
|
1620 |
</label>
|
1621 |
<div class="acx_qa_field">
|
1622 |
<?php $acx_csma_title2 = $acx_csma_appearence_array['2']['acx_csma_title2']; ?>
|
1623 |
<input type="text" name="acx_csma_title2" id="acx_csma_title2" value="<?php echo $acx_csma_title2 = acx_csma_option_text_after_save_hook_fn($acx_csma_title2); ?>" size="20"/>
|
1624 |
</div> <!-- acx_qa_field -->
|
1625 |
<label>
|
1626 |
-
Title Color:
|
1627 |
-
<a onclick="acx_csma_restore_default('','#000000','acx_csma_title_color2');" class="acx_csmap_button_reset">[Reset To Default]</a>
|
1628 |
|
1629 |
</label>
|
1630 |
<div class="acx_qa_field">
|
@@ -1632,22 +1740,22 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1632 |
<div style="position: absolute;" id="acx_csma_title_color2_div"></div>
|
1633 |
</div> <!-- acx_qa_field -->
|
1634 |
<label>
|
1635 |
-
Subtitle Text:
|
1636 |
</label>
|
1637 |
<div class="acx_qa_field">
|
1638 |
<?php $acx_csma_subtitle_text2 = $acx_csma_appearence_array['2']['acx_csma_subtitle_text2']; ?>
|
1639 |
<input type="text" name="acx_csma_subtitle_text2" id="acx_csma_subtitle_text2" value="<?php echo $acx_csma_subtitle_text2 = acx_csma_option_text_after_save_hook_fn($acx_csma_subtitle_text2); ?>" size="20"/>
|
1640 |
</div> <!-- acx_qa_field -->
|
1641 |
<label>
|
1642 |
-
Subtitle Color:
|
1643 |
-
<a onclick="acx_csma_restore_default('','#000000','acx_csma_subtitle_color2');" class="acx_csmap_button_reset">[Reset To Default]</a>
|
1644 |
</label>
|
1645 |
<div class="acx_qa_field">
|
1646 |
<input type="text" name="acx_csma_subtitle_color2" id="acx_csma_subtitle_color2" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_subtitle_color2']; ?>" size="20"/>
|
1647 |
<div style="position: absolute;" id="acx_csma_subtitle_color2_div"></div>
|
1648 |
</div> <!-- acx_qa_field -->
|
1649 |
<label>
|
1650 |
-
Background Color
|
1651 |
</label>
|
1652 |
<div class="acx_qa_field">
|
1653 |
<input type="text" name="acx_csma_inside_bg_color2" id="acx_csma_inside_bg_color2" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_inside_bg_color2']; ?>" size="20"/>
|
@@ -1662,73 +1770,89 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1662 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
1663 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1664 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1665 |
-
Countdown Timer, Subscription Form & Custom HTML Settings </span>
|
1666 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1667 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1668 |
<div class="acx_csmap_q_and_a_inside">
|
1669 |
<label>
|
1670 |
-
Would you like to show Timer?
|
1671 |
</label>
|
1672 |
<div class="acx_qa_field">
|
1673 |
<select name="acx_csma_show_timer2">
|
1674 |
-
<option value="1" <?php if ($acx_csma_appearence_array['2']['acx_csma_show_timer2'] == "1") { echo 'selected="selected"'; }
|
1675 |
-
<option value="0" <?php if ($acx_csma_appearence_array['2']['acx_csma_show_timer2'] == "0") { echo 'selected="selected"'; }
|
1676 |
</select>
|
1677 |
</div>
|
1678 |
<label>
|
1679 |
-
Custom HTML Block above Timer
|
1680 |
</label>
|
1681 |
<div class="acx_qa_field">
|
1682 |
<?php $acx_csma_custom_html_above_timer =$acx_csma_appearence_array['2']['acx_csma_custom_html_above_timer']; ?>
|
1683 |
-
<textarea id="acx_csma_custom_html_above_timer" name="acx_csma_custom_html_above_timer" placeholder="HTML Code Here"><?php echo $acx_csma_custom_html_above_timer = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_above_timer); ?></textarea>
|
1684 |
</div><!-- acx_qa_field -->
|
1685 |
<div class="f_w"></div>
|
1686 |
<label>
|
1687 |
-
Custom HTML Block below Timer
|
1688 |
</label>
|
1689 |
<div class="acx_qa_field">
|
1690 |
<?php $acx_csma_custom_html_top_timer =$acx_csma_appearence_array['2']['acx_csma_custom_html_top_timer']; ?>
|
1691 |
-
<textarea id="acx_csma_custom_html_top_timer" name="acx_csma_custom_html_top_timer" placeholder="HTML Code Here"><?php echo $acx_csma_custom_html_top_timer = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_timer); ?></textarea>
|
1692 |
</div><!-- acx_qa_field -->
|
1693 |
<div class="f_w"></div>
|
1694 |
<label>
|
1695 |
-
Timer Block Title
|
1696 |
</label>
|
1697 |
<div class="acx_qa_field">
|
1698 |
<?php $acx_csma_timer_title2 = $acx_csma_appearence_array['2']['acx_csma_timer_title2']; ?>
|
1699 |
<input type="text" name="acx_csma_timer_title2" value="<?php echo $acx_csma_timer_title2 = acx_csma_option_text_after_save_hook_fn($acx_csma_timer_title2); ?>" size="20"/>
|
1700 |
</div> <!-- acx_qa_field -->
|
1701 |
<label>
|
1702 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1703 |
</label>
|
1704 |
<div class="acx_qa_field">
|
1705 |
<select name="acx_csma_show_subscription2">
|
1706 |
-
<option value="1" <?php if ($acx_csma_appearence_array['2']['acx_csma_show_subscription2'] == "1") { echo 'selected="selected"'; }
|
1707 |
-
<option value="0" <?php if ($acx_csma_appearence_array['2']['acx_csma_show_subscription2'] == "0") { echo 'selected="selected"'; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1708 |
</select>
|
1709 |
</div>
|
1710 |
<label>
|
1711 |
-
Subscribe Button Text
|
1712 |
</label>
|
1713 |
<div class="acx_qa_field">
|
1714 |
<?php $acx_csma_subscribe_btn_text2 = $acx_csma_appearence_array['2']['acx_csma_subscribe_btn_text2']; ?>
|
1715 |
<input type="text" name="acx_csma_subscribe_btn_text2" value="<?php echo $acx_csma_subscribe_btn_text2 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_btn_text2); ?>" size="20"/>
|
1716 |
</div> <!-- acx_qa_field -->
|
1717 |
-
<label
|
1718 |
</label>
|
1719 |
<div class="acx_qa_field">
|
1720 |
<input type="text" name="acx_csma_subscribe_btn_color2" id="acx_csma_subscribe_btn_color2" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_subscribe_btn_color2']; ?>" size="20"/>
|
1721 |
<div style="position: absolute;" id="acx_csma_subscribe_btn_color2_div"></div>
|
1722 |
</div> <!-- acx_qa_field -->
|
1723 |
<label>
|
1724 |
-
Subscribe Success Message:
|
1725 |
</label>
|
1726 |
<div class="acx_qa_field">
|
1727 |
<?php $acx_csma_subscribe_success2 = $acx_csma_appearence_array['2']['acx_csma_subscribe_success2']; ?>
|
1728 |
<input type="text" name="acx_csma_subscribe_success2" value="<?php echo $acx_csma_subscribe_success2 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_success2); ?>" size="20"/>
|
1729 |
</div> <!-- acx_qa_field -->
|
1730 |
<label>
|
1731 |
-
Subscribe Invalid Message:
|
1732 |
</label>
|
1733 |
<div class="acx_qa_field">
|
1734 |
<?php $acx_csma_subscribe_invalid2 = $acx_csma_appearence_array['2']['acx_csma_subscribe_invalid2'] ;?>
|
@@ -1736,43 +1860,43 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1736 |
</div> <!-- acx_qa_field -->
|
1737 |
|
1738 |
<label>
|
1739 |
-
Timer Input BackgroundColor
|
1740 |
</label>
|
1741 |
<div class="acx_qa_field">
|
1742 |
<input type="text" name="acx_csma_timer_input_bg_color2" id="acx_csma_timer_input_bg_color2" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_timer_input_bg_color2']; ?>" size="20"/>
|
1743 |
<div style="position: absolute;" id="acx_csma_timer_input_bg_color2_div"></div>
|
1744 |
</div> <!-- acx_qa_field -->
|
1745 |
<label>
|
1746 |
-
Input TextColor
|
1747 |
</label>
|
1748 |
<div class="acx_qa_field">
|
1749 |
<input type="text" name="acx_csma_timer_iptext_color2" id="acx_csma_timer_iptext_color2" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_timer_iptext_color2']; ?>" size="20"/>
|
1750 |
<div style="position: absolute;" id="acx_csma_timer_iptext_color2_div"></div>
|
1751 |
</div> <!-- acx_qa_field -->
|
1752 |
<label>
|
1753 |
-
Heading Color
|
1754 |
</label>
|
1755 |
<div class="acx_qa_field">
|
1756 |
<input type="text" name="acx_csma_timer_head_color2" id="acx_csma_timer_head_color2" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_timer_head_color2']; ?>" size="20"/>
|
1757 |
<div style="position: absolute;" id="acx_csma_timer_head_color2_div"></div>
|
1758 |
</div> <!-- acx_qa_field -->
|
1759 |
<label>
|
1760 |
-
Custom HTML Block Above Description Block
|
1761 |
</label>
|
1762 |
<div class="acx_qa_field">
|
1763 |
<?php $acx_csma_custom_html_top_temp2 =$acx_csma_appearence_array['2']['acx_csma_custom_html_top_temp2']; ?>
|
1764 |
-
<textarea id="acx_csma_custom_html_top_temp2" name="acx_csma_custom_html_top_temp2" placeholder="HTML Code Here"><?php echo $acx_csma_custom_html_top_temp2 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_temp2); ?></textarea>
|
1765 |
</div><!-- acx_qa_field -->
|
1766 |
<div class="f_w"></div>
|
1767 |
<label>
|
1768 |
-
Description Title:
|
1769 |
</label>
|
1770 |
<div class="acx_qa_field">
|
1771 |
<?php $acx_csma_desc_title2 = $acx_csma_appearence_array['2']['acx_csma_desc_title2']; ?>
|
1772 |
<input type="text" name="acx_csma_desc_title2" id="acx_csma_desc_title2" value="<?php echo $acx_csma_desc_title2 = acx_csma_option_text_after_save_hook_fn($acx_csma_desc_title2); ?>" size="20"/>
|
1773 |
</div> <!-- acx_qa_field -->
|
1774 |
<label>
|
1775 |
-
Description Content:
|
1776 |
</label>
|
1777 |
<div class="acx_qa_field">
|
1778 |
<?php $acx_csma_desc_subtitle2 = $acx_csma_appearence_array['2']['acx_csma_desc_subtitle2'];?>
|
@@ -1780,13 +1904,19 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1780 |
</div> <!-- acx_qa_field -->
|
1781 |
<div class="f_w"></div>
|
1782 |
<label>
|
1783 |
-
Description
|
1784 |
</label>
|
1785 |
<div class="acx_qa_field">
|
1786 |
<input type="text" name="acx_csma_desc_text_color2" id="acx_csma_desc_text_color2" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_desc_text_color2']; ?>" size="20"/>
|
1787 |
<div style="position: absolute;" id="acx_csma_desc_text_color2_div"></div>
|
1788 |
</div> <!-- acx_qa_field -->
|
1789 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1790 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
1791 |
</div> <!-- acx_csmap_q_and_a -->
|
1792 |
</div> <!-- acx_csmap_q_and_a_h -->
|
@@ -1795,25 +1925,39 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1795 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
1796 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1797 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1798 |
-
Social Media Settings
|
1799 |
</span>
|
1800 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1801 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1802 |
<div class="acx_csmap_q_and_a_inside">
|
1803 |
<label>
|
1804 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1805 |
</label>
|
1806 |
<div class="acx_qa_field">
|
1807 |
<input type="text" name="acx_csma_fb_link2" id="acx_csma_fb_link2" value="<?php echo esc_url($acx_csma_appearence_array['2']['acx_csma_fb_link2']); ?>" size="20"/>
|
1808 |
</div> <!-- acx_qa_field -->
|
1809 |
<label>
|
1810 |
-
Twitter Link
|
1811 |
</label>
|
1812 |
<div class="acx_qa_field">
|
1813 |
<input type="text" name="acx_csma_twitter_link2" id="acx_csma_twitter_link2" value="<?php echo esc_url($acx_csma_appearence_array['2']['acx_csma_twitter_link2']); ?>" size="20"/>
|
1814 |
</div> <!-- acx_qa_field -->
|
1815 |
<label>
|
1816 |
-
LinkedIn Link
|
1817 |
</label>
|
1818 |
<div class="acx_qa_field">
|
1819 |
<input type="text" name="acx_csma_linkedin_link2" id="acx_csma_linkedin_link2" value="<?php echo esc_url($acx_csma_appearence_array['2']['acx_csma_linkedin_link2']); ?>" size="20"/>
|
@@ -1827,18 +1971,18 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1827 |
|
1828 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1829 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1830 |
-
Custom css Settings
|
1831 |
</span>
|
1832 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1833 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1834 |
<div class="acx_csmap_q_and_a_inside">
|
1835 |
|
1836 |
<label>
|
1837 |
-
Custom css
|
1838 |
</label>
|
1839 |
<div class="acx_qa_field">
|
1840 |
<?php $acx_csma_custom_css_temp2 = $acx_csma_appearence_array['2']['acx_csma_custom_css_temp2']; ?>
|
1841 |
-
<textarea id="acx_csma_custom_css_temp2" name="acx_csma_custom_css_temp2" placeholder="CSS Code Here"><?php echo stripslashes($acx_csma_custom_css_temp2); ?></textarea>
|
1842 |
</div><!-- acx_qa_field -->
|
1843 |
<div class="f_w"></div>
|
1844 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
@@ -1856,7 +2000,7 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1856 |
|
1857 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1858 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1859 |
-
Logo Settings
|
1860 |
</span>
|
1861 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1862 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
@@ -1864,12 +2008,12 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1864 |
<div class="acx_csma_logo_main">
|
1865 |
<table cellspacing="10">
|
1866 |
<tr><td>
|
1867 |
-
<input type="radio" name="acx_csma_logo_choice3" class="acx_csma_logo" id="acx_csma_logo_image3" value="image" onclick="acx_csma_rdbtn_show_logo('image','3');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['3'])){if($acx_csma_appearence_array['3']['acx_csma_logo_choice'] == 'image' || $acx_csma_appearence_array['3']['acx_csma_logo_choice']==''){echo "checked='checked'";}}else{ echo "checked='checked'";}
|
1868 |
-
<input type="radio" name="acx_csma_logo_choice3" class="acx_csma_logo" id="acx_csma_logo_text3" value="text" onclick="acx_csma_rdbtn_show_logo('text','3');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['3'])){ if($acx_csma_appearence_array['3']['acx_csma_logo_choice'] == 'text'){echo "checked='checked'";}}
|
1869 |
</div><!--acx_csma_logo_main -->
|
1870 |
<div id="acx_show_logo_image_3" class="acx_csma_logo_block acx_csma_logo_block_3" style="display:none;">
|
1871 |
<label>
|
1872 |
-
Logo
|
1873 |
</label>
|
1874 |
<div class="acx_qa_field">
|
1875 |
<?php
|
@@ -1884,14 +2028,14 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1884 |
?>
|
1885 |
|
1886 |
<img id="custom_uploader_template_3_logo_field_preview" src="<?php echo $logo3_url; ?>" style="width:100px;height:auto;">
|
1887 |
-
<input type="hidden" id="custom_uploader_template_3_logo_field" name="acx_csma_logo3" value="<?php echo $acx_csma_logo3_id; ?>" size="20"><br><a id="acx_upload_button_logo3" class="button"
|
1888 |
-
<a id="acx_upload_button_reset_img1" onclick="acx_csma_restore_default('custom_uploader_template_3_logo_field_preview','<?php echo ACX_CSMA_BASE_LOCATION . 'templates/3/images/logo.png'; ?>','custom_uploader_template_3_logo_field');" class="button"
|
1889 |
|
1890 |
</div> <!-- acx_qa_field -->
|
1891 |
</div><!--acx_show_logo_image -->
|
1892 |
<div id="acx_show_logo_text_3" class="acx_csma_logo_block acx_csma_logo_block_3" style="display:none;">
|
1893 |
<label>
|
1894 |
-
Logo Text:
|
1895 |
</label>
|
1896 |
<div class="acx_qa_field">
|
1897 |
<?php if(array_key_exists('acx_csma_logo_text3',$acx_csma_appearence_array['3'])){ $acx_csma_logo_text3=$acx_csma_appearence_array['3']['acx_csma_logo_text3'];
|
@@ -1901,10 +2045,10 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1901 |
}}else{
|
1902 |
$acx_csma_logo_text3=get_bloginfo('name');
|
1903 |
}?>
|
1904 |
-
<input type="text" name="acx_csma_logo_text3" placeholder="Logo Text Here" value="<?php echo $acx_csma_logo_text3 = acx_csma_option_text_after_save_hook_fn($acx_csma_logo_text3); ?>" size="20"/>
|
1905 |
</div> <!-- acx_qa_field -->
|
1906 |
<label>
|
1907 |
-
Logo Text Color: <a onclick="acx_csma_restore_default('','#ffffff','acx_csma_logo_text_color3');" class="acx_csmap_button_reset">[Reset To Default]</a>
|
1908 |
</label>
|
1909 |
<div class="acx_qa_field">
|
1910 |
<?php if(array_key_exists('acx_csma_logo_text_color3',$acx_csma_appearence_array['3'])){$acx_csma_logo_text_color3=$acx_csma_appearence_array['3']['acx_csma_logo_text_color3'];
|
@@ -1934,34 +2078,34 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1934 |
|
1935 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1936 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1937 |
-
Background Settings
|
1938 |
</span>
|
1939 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1940 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1941 |
<div class="acx_csmap_q_and_a_inside">
|
1942 |
<label>
|
1943 |
-
Primary Background Color
|
1944 |
</label>
|
1945 |
<div class="acx_qa_field">
|
1946 |
<input type="text" name="acx_csma_primary_color3" id="acx_csma_primary_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_primary_color3']; ?>" size="20" />
|
1947 |
<div style="position: absolute;" id="acx_csma_primary_color3_div"></div>
|
1948 |
</div> <!-- acx_qa_field -->
|
1949 |
<label>
|
1950 |
-
Secondary Background Color
|
1951 |
</label>
|
1952 |
<div class="acx_qa_field">
|
1953 |
<input type="text" name="acx_csma_secondary_color3" id="acx_csma_secondary_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_secondary_color3']; ?>" size="20" />
|
1954 |
<div style="position: absolute;" id="acx_csma_secondary_color3_div"></div>
|
1955 |
</div> <!-- acx_qa_field -->
|
1956 |
<label>
|
1957 |
-
Left Side-bar Background Color
|
1958 |
</label>
|
1959 |
<div class="acx_qa_field">
|
1960 |
<input type="text" name="acx_csma_left_bar_color3" id="acx_csma_left_bar_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_left_bar_color3']; ?>" size="20" />
|
1961 |
<div style="position: absolute;" id="acx_csma_left_bar_color3_div"></div>
|
1962 |
</div> <!-- acx_qa_field -->
|
1963 |
<label>
|
1964 |
-
Timer Background Color
|
1965 |
</label>
|
1966 |
<div class="acx_qa_field">
|
1967 |
<input type="text" name="acx_csma_timer_color3" id="acx_csma_timer_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_timer_color3']; ?>" size="20" />
|
@@ -1980,34 +2124,34 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
1980 |
|
1981 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1982 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1983 |
-
Heading and Subheading Settings - Left Side
|
1984 |
</span>
|
1985 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1986 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1987 |
<div class="acx_csmap_q_and_a_inside">
|
1988 |
<label>
|
1989 |
-
Title:
|
1990 |
</label>
|
1991 |
<div class="acx_qa_field">
|
1992 |
<?php $acx_csma_title3 = $acx_csma_appearence_array['3']['acx_csma_title3'];?>
|
1993 |
<input type="text" name="acx_csma_title3" value="<?php echo $acx_csma_title3 = acx_csma_option_text_after_save_hook_fn($acx_csma_title3); ?>" size="20"/>
|
1994 |
</div> <!-- acx_qa_field -->
|
1995 |
<label>
|
1996 |
-
Title Color
|
1997 |
</label>
|
1998 |
<div class="acx_qa_field">
|
1999 |
<input type="text" name="acx_csma_title_color3" id="acx_csma_title_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_title_color3']; ?>" size="20" />
|
2000 |
<div style="position: absolute;" id="acx_csma_title_color3_div"></div>
|
2001 |
</div> <!-- acx_qa_field -->
|
2002 |
<label>
|
2003 |
-
Sub Title:
|
2004 |
</label>
|
2005 |
<div class="acx_qa_field">
|
2006 |
<?php $acx_csma_subtitle_text3 = $acx_csma_appearence_array['3']['acx_csma_subtitle_text3']; ?>
|
2007 |
<input type="text" name="acx_csma_subtitle_text3" value="<?php echo $acx_csma_subtitle_text3 = acx_csma_option_text_after_save_hook_fn($acx_csma_subtitle_text3); ?>" size="20"/>
|
2008 |
</div> <!-- acx_qa_field -->
|
2009 |
<label>
|
2010 |
-
SubTitle Color
|
2011 |
</label>
|
2012 |
<div class="acx_qa_field">
|
2013 |
<input type="text" name="acx_csma_subtitle_color3" id="acx_csma_subtitle_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_subtitle_color3']; ?>" size="20" />
|
@@ -2022,79 +2166,87 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2022 |
|
2023 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2024 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2025 |
-
Subscription Form Settings
|
2026 |
</span>
|
2027 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2028 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2029 |
<div class="acx_csmap_q_and_a_inside">
|
2030 |
-
|
2031 |
<label>
|
2032 |
-
Would you like to show Subscription form?
|
2033 |
</label>
|
2034 |
<div class="acx_qa_field">
|
2035 |
<select name="acx_csma_show_subscription3">
|
2036 |
-
<option value="1" <?php if ($acx_csma_appearence_array['3']['acx_csma_show_subscription3'] == "1") { echo 'selected="selected"'; }
|
2037 |
-
<option value="0" <?php if ($acx_csma_appearence_array['3']['acx_csma_show_subscription3'] == "0") { echo 'selected="selected"'; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2038 |
</select>
|
2039 |
</div>
|
2040 |
<label>
|
2041 |
-
Title:
|
2042 |
</label>
|
2043 |
<div class="acx_qa_field">
|
2044 |
<?php $acx_csma_subscribe_title3 = $acx_csma_appearence_array['3']['acx_csma_subscribe_title3'];?>
|
2045 |
<input type="text" name="acx_csma_subscribe_title3" value="<?php echo $acx_csma_subscribe_title3 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_title3); ?>" size="20"/>
|
2046 |
</div> <!-- acx_qa_field -->
|
2047 |
<label>
|
2048 |
-
Title Color
|
2049 |
</label>
|
2050 |
<div class="acx_qa_field">
|
2051 |
<input type="text" name="acx_csma_subscribe_title_color3" id="acx_csma_subscribe_title_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_subscribe_title_color3']; ?>" size="20"/>
|
2052 |
<div style="position: absolute;" id="acx_csma_subscribe_title_color3_div"></div>
|
2053 |
</div> <!-- acx_qa_field -->
|
2054 |
<label>
|
2055 |
-
Button Text
|
2056 |
</label>
|
2057 |
<div class="acx_qa_field">
|
2058 |
<?php $acx_csma_subscribe_btn_text3 = $acx_csma_appearence_array['3']['acx_csma_subscribe_btn_text3']; ?>
|
2059 |
<input type="text" name="acx_csma_subscribe_btn_text3" value="<?php echo $acx_csma_subscribe_btn_text3 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_btn_text3); ?>" size="20"/>
|
2060 |
</div> <!-- acx_qa_field -->
|
2061 |
<label>
|
2062 |
-
Button Text Color
|
2063 |
</label>
|
2064 |
<div class="acx_qa_field">
|
2065 |
<input type="text" name="acx_csma_subscribe_btn_text_color3" id="acx_csma_subscribe_btn_text_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_subscribe_btn_text_color3']; ?>" size="20"/>
|
2066 |
<div style="position: absolute;" id="acx_csma_subscribe_btn_text_color3_div"></div>
|
2067 |
</div> <!-- acx_qa_field -->
|
2068 |
<label>
|
2069 |
-
Button Color
|
2070 |
</label>
|
2071 |
<div class="acx_qa_field">
|
2072 |
<input type="text" name="acx_csma_subscribe_btn_color3" id="acx_csma_subscribe_btn_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_subscribe_btn_color3']; ?>" size="20"/>
|
2073 |
<div style="position: absolute;" id="acx_csma_subscribe_btn_color3_div"></div>
|
2074 |
</div> <!-- acx_qa_field -->
|
2075 |
<label>
|
2076 |
-
Button Hover Text Color
|
2077 |
</label>
|
2078 |
<div class="acx_qa_field">
|
2079 |
<input type="text" name="acx_csma_subscribe_btn_hover_color3" id="acx_csma_subscribe_btn_hover_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_subscribe_btn_hover_color3']; ?>" size="20"/>
|
2080 |
<div style="position: absolute;" id="acx_csma_subscribe_btn_hover_color3_div"></div>
|
2081 |
</div> <!-- acx_qa_field -->
|
2082 |
<label>
|
2083 |
-
Button Hover Background Color
|
2084 |
</label>
|
2085 |
<div class="acx_qa_field">
|
2086 |
<input type="text" name="acx_csma_subscribe_btn_hover_bgcolor3" id="acx_csma_subscribe_btn_hover_bgcolor3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_subscribe_btn_hover_bgcolor3']; ?>" size="20"/>
|
2087 |
<div style="position: absolute;" id="acx_csma_subscribe_btn_hover_bgcolor3_div"></div>
|
2088 |
</div> <!-- acx_qa_field -->
|
2089 |
<label>
|
2090 |
-
Subscribe Success Message:
|
2091 |
</label>
|
2092 |
<div class="acx_qa_field">
|
2093 |
<?php $acx_csma_subscribe_success3 = $acx_csma_appearence_array['3']['acx_csma_subscribe_success3']; ?>
|
2094 |
<input type="text" name="acx_csma_subscribe_success3" value="<?php echo $acx_csma_subscribe_success3 =acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_success3); ?>" size="20"/>
|
2095 |
</div> <!-- acx_qa_field -->
|
2096 |
<label>
|
2097 |
-
Subscribe Invalid Message:
|
2098 |
</label>
|
2099 |
<div class="acx_qa_field">
|
2100 |
<?php $acx_csma_subscribe_invalid3 = $acx_csma_appearence_array['3']['acx_csma_subscribe_invalid3']; ?>
|
@@ -2109,20 +2261,20 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2109 |
|
2110 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2111 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2112 |
-
Heading Settings - Right Side
|
2113 |
</span>
|
2114 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2115 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2116 |
<div class="acx_csmap_q_and_a_inside">
|
2117 |
<label>
|
2118 |
-
Title:
|
2119 |
</label>
|
2120 |
<div class="acx_qa_field">
|
2121 |
<?php $acx_csma_inside_title3 = $acx_csma_appearence_array['3']['acx_csma_inside_title3']; ?>
|
2122 |
<input type="text" name="acx_csma_inside_title3" value="<?php echo acx_csma_option_text_after_save_hook_fn($acx_csma_appearence_array['3']['acx_csma_inside_title3']); ?>" size="20"/>
|
2123 |
</div> <!-- acx_qa_field -->
|
2124 |
<label>
|
2125 |
-
Title Color
|
2126 |
</label>
|
2127 |
<div class="acx_qa_field">
|
2128 |
<input type="text" name="acx_csma_inside_title_color3" id="acx_csma_inside_title_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_inside_title_color3']; ?>" size="20"/>
|
@@ -2137,71 +2289,71 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2137 |
|
2138 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2139 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2140 |
-
Right Side Content & Custom HTML Settings
|
2141 |
</span>
|
2142 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2143 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2144 |
<div class="acx_csmap_q_and_a_inside">
|
2145 |
|
2146 |
<label>
|
2147 |
-
Would you like to show Timer?
|
2148 |
</label>
|
2149 |
<div class="acx_qa_field">
|
2150 |
<select name="acx_csma_show_timer3">
|
2151 |
-
<option value="1" <?php if ($acx_csma_appearence_array['3']['acx_csma_show_timer3'] == "1") { echo 'selected="selected"'; }
|
2152 |
-
<option value="0" <?php if ($acx_csma_appearence_array['3']['acx_csma_show_timer3'] == "0") { echo 'selected="selected"'; }
|
2153 |
</select>
|
2154 |
</div>
|
2155 |
|
2156 |
<label>
|
2157 |
-
Custom HTML Block Above Timer
|
2158 |
</label>
|
2159 |
<div class="acx_qa_field">
|
2160 |
<?php $acx_csma_custom_html_top_timer_temp3 = $acx_csma_appearence_array['3']['acx_csma_custom_html_top_timer_temp3']; ?>
|
2161 |
-
<textarea id="acx_csma_custom_html_top_timer_temp3" name="acx_csma_custom_html_top_timer_temp3" placeholder="HTML Code Here"><?php echo $acx_csma_custom_html_top_timer_temp3 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_timer_temp3); ?></textarea>
|
2162 |
</div><!-- acx_qa_field -->
|
2163 |
<div class="f_w"></div>
|
2164 |
|
2165 |
<label>
|
2166 |
-
Custom HTML Block Below Description
|
2167 |
</label>
|
2168 |
<div class="acx_qa_field">
|
2169 |
<?php $acx_csma_custom_html_bottom_temp3 =$acx_csma_appearence_array['3']['acx_csma_custom_html_bottom_temp3']; ?>
|
2170 |
-
<textarea id="acx_csma_custom_html_bottom_temp3" name="acx_csma_custom_html_bottom_temp3" placeholder="HTML Code Here"><?php echo $acx_csma_custom_html_bottom_temp3 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_bottom_temp3); ?></textarea>
|
2171 |
</div><!-- acx_qa_field -->
|
2172 |
<div class="f_w"></div>
|
2173 |
|
2174 |
<label>
|
2175 |
-
Input Text Color
|
2176 |
</label>
|
2177 |
<div class="acx_qa_field">
|
2178 |
<input type="text" name="acx_csma_timer_iptext_color3" id="acx_csma_timer_iptext_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_timer_iptext_color3']; ?>" size="20"/>
|
2179 |
<div style="position: absolute;" id="acx_csma_timer_iptext_color3_div"></div>
|
2180 |
</div> <!-- acx_qa_field -->
|
2181 |
<label>
|
2182 |
-
Heading Color
|
2183 |
</label>
|
2184 |
<div class="acx_qa_field">
|
2185 |
<input type="text" name="acx_csma_timer_head_color3" id="acx_csma_timer_head_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_timer_head_color3']; ?>" size="20"/>
|
2186 |
<div style="position: absolute;" id="acx_csma_timer_head_color3_div"></div>
|
2187 |
</div> <!-- acx_qa_field -->
|
2188 |
<label>
|
2189 |
-
Custom HTML Block Above Description Block
|
2190 |
</label>
|
2191 |
<div class="acx_qa_field">
|
2192 |
<?php $acx_csma_custom_html_top_temp3 =$acx_csma_appearence_array['3']['acx_csma_custom_html_top_temp3']; ?>
|
2193 |
-
<textarea id="acx_csma_custom_html_top_temp3" name="acx_csma_custom_html_top_temp3" placeholder="HTML Code Here"><?php echo $acx_csma_custom_html_top_temp3 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_temp3); ?></textarea>
|
2194 |
</div><!-- acx_qa_field -->
|
2195 |
<div class="f_w"></div>
|
2196 |
<label>
|
2197 |
-
Description Title:
|
2198 |
</label>
|
2199 |
<div class="acx_qa_field">
|
2200 |
<?php $acx_csma_desc_title3 = $acx_csma_appearence_array['3']['acx_csma_desc_title3']; ?>
|
2201 |
<input type="text" name="acx_csma_desc_title3" value="<?php echo $acx_csma_desc_title3 = acx_csma_option_text_after_save_hook_fn($acx_csma_desc_title3); ?>" size="20"/>
|
2202 |
</div> <!-- acx_qa_field -->
|
2203 |
<label>
|
2204 |
-
Description Sub Title:
|
2205 |
</label>
|
2206 |
<div class="acx_qa_field">
|
2207 |
<?php $acx_csma_desc_subtitle3 = $acx_csma_appearence_array['3']['acx_csma_desc_subtitle3']; ?>
|
@@ -2209,12 +2361,19 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2209 |
</div> <!-- acx_qa_field -->
|
2210 |
<div class="f_w"></div>
|
2211 |
<label>
|
2212 |
-
Description
|
2213 |
</label>
|
2214 |
<div class="acx_qa_field">
|
2215 |
<input type="text" name="acx_csma_desc_text_color3" id="acx_csma_desc_text_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_desc_text_color3']; ?>" size="20"/>
|
2216 |
<div style="position: absolute;" id="acx_csma_desc_text_color3_div"></div>
|
2217 |
</div> <!-- acx_qa_field -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2218 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
2219 |
</div> <!-- acx_csmap_q_and_a -->
|
2220 |
</div> <!-- acx_csmap_q_and_a_h -->
|
@@ -2223,20 +2382,20 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2223 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
2224 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2225 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2226 |
-
Footer Settings
|
2227 |
</span>
|
2228 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2229 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2230 |
<div class="acx_csmap_q_and_a_inside">
|
2231 |
<label>
|
2232 |
-
Footer Text:
|
2233 |
</label>
|
2234 |
<div class="acx_qa_field">
|
2235 |
<?php $acx_csma_footer_text3 = $acx_csma_appearence_array['3']['acx_csma_footer_text3']; ?>
|
2236 |
<input type="text" name="acx_csma_footer_text3" value="<?php echo $acx_csma_footer_text3 = acx_csma_option_text_after_save_hook_fn($acx_csma_footer_text3); ?>" size="20"/>
|
2237 |
</div> <!-- acx_qa_field -->
|
2238 |
<label>
|
2239 |
-
Footer Color
|
2240 |
</label>
|
2241 |
<div class="acx_qa_field">
|
2242 |
<input type="text" name="acx_csma_footer_color3" id="acx_csma_footer_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_footer_color3']; ?>" size="20"/>
|
@@ -2252,39 +2411,39 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2252 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
2253 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2254 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2255 |
-
Social Media Settings
|
2256 |
</span>
|
2257 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2258 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2259 |
<div class="acx_csmap_q_and_a_inside">
|
2260 |
<label>
|
2261 |
-
Social Media Text:
|
2262 |
</label>
|
2263 |
<div class="acx_qa_field">
|
2264 |
<?php $acx_csma_social_link_title3 = $acx_csma_appearence_array['3']['acx_csma_social_link_title3']; ?>
|
2265 |
<input type="text" name="acx_csma_social_link_title3" value="<?php echo $acx_csma_social_link_title3 = acx_csma_option_text_after_save_hook_fn($acx_csma_social_link_title3 ); ?>" size="20"/>
|
2266 |
</div> <!-- acx_qa_field -->
|
2267 |
<label>
|
2268 |
-
Social Media Text Color
|
2269 |
</label>
|
2270 |
<div class="acx_qa_field">
|
2271 |
<input type="text" name="acx_csma_social_link_title_color3" id="acx_csma_social_link_title_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_social_link_title_color3']; ?>" size="20"/>
|
2272 |
<div style="position: absolute;" id="acx_csma_social_link_title_color3_div"></div>
|
2273 |
</div> <!-- acx_qa_field -->
|
2274 |
<label>
|
2275 |
-
Facebook Link:
|
2276 |
</label>
|
2277 |
<div class="acx_qa_field">
|
2278 |
<input type="text" name="acx_csma_fb_link3" id="acx_csma_fb_link3" value="<?php echo esc_url($acx_csma_appearence_array['3']['acx_csma_fb_link3']); ?>" size="20"/>
|
2279 |
</div> <!-- acx_qa_field -->
|
2280 |
<label>
|
2281 |
-
Twitter Link:
|
2282 |
</label>
|
2283 |
<div class="acx_qa_field">
|
2284 |
<input type="text" name="acx_csma_twitter_link3" id="acx_csma_twitter_link3" value="<?php echo esc_url($acx_csma_appearence_array['3']['acx_csma_twitter_link3']); ?>" size="20"/>
|
2285 |
</div> <!-- acx_qa_field -->
|
2286 |
<label>
|
2287 |
-
LinkedIn Link:
|
2288 |
</label>
|
2289 |
<div class="acx_qa_field">
|
2290 |
<input type="text" name="acx_csma_linkedin_link3" id="acx_csma_linkedin_link3" value="<?php echo esc_url($acx_csma_appearence_array['3']['acx_csma_linkedin_link3']); ?>" size="20"/>
|
@@ -2298,18 +2457,18 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2298 |
|
2299 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2300 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2301 |
-
Custom css Settings
|
2302 |
</span>
|
2303 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2304 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2305 |
<div class="acx_csmap_q_and_a_inside">
|
2306 |
|
2307 |
<label>
|
2308 |
-
Custom css
|
2309 |
</label>
|
2310 |
<div class="acx_qa_field">
|
2311 |
<?php $acx_csma_custom_css_temp3 = $acx_csma_appearence_array['3']['acx_csma_custom_css_temp3']; ?>
|
2312 |
-
<textarea id="acx_csma_custom_css_temp3" name="acx_csma_custom_css_temp3" placeholder="CSS Code Here"><?php echo stripslashes($acx_csma_custom_css_temp3); ?></textarea>
|
2313 |
</div><!-- acx_qa_field -->
|
2314 |
<div class="f_w"></div>
|
2315 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
@@ -2327,13 +2486,13 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2327 |
|
2328 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2329 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2330 |
-
Background Settings
|
2331 |
</span>
|
2332 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2333 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2334 |
<div class="acx_csmap_q_and_a_inside">
|
2335 |
<label>
|
2336 |
-
Background Image:
|
2337 |
</label>
|
2338 |
<div class="acx_qa_field">
|
2339 |
<?php
|
@@ -2349,8 +2508,8 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2349 |
<img id="custom_uploader_template_4_img_field_preview" src="<?php echo $bg4_url; ?>" style="width:100px;height:auto;">
|
2350 |
<input type="hidden" id="custom_uploader_template_4_img_field" name="acx_csma_background_image4" value="<?php echo $acx_csma_bg4_id; ?>" size="20">
|
2351 |
<br>
|
2352 |
-
<a id="acx_upload_button_img4" class="button"
|
2353 |
-
<a id="acx_upload_button_reset_img1" onclick="acx_csma_restore_default('custom_uploader_template_4_img_field_preview','<?php echo ACX_CSMA_BASE_LOCATION . 'templates/4/images/body_bg.jpg'; ?>','custom_uploader_template_4_img_field');" class="button"
|
2354 |
</div> <!-- acx_qa_field -->
|
2355 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
2356 |
</div> <!-- acx_csmap_q_and_a -->
|
@@ -2361,7 +2520,7 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2361 |
|
2362 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2363 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2364 |
-
Logo Settings
|
2365 |
</span>
|
2366 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2367 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
@@ -2369,12 +2528,12 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2369 |
<div class="acx_csma_logo_main">
|
2370 |
<table cellspacing="10">
|
2371 |
<tr><td>
|
2372 |
-
<input type="radio" name="acx_csma_logo_choice4" class="acx_csma_logo" id="acx_csma_logo_image4" value="image" onclick="acx_csma_rdbtn_show_logo('image','4');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['4'])){if($acx_csma_appearence_array['4']['acx_csma_logo_choice'] == 'image' || $acx_csma_appearence_array['4']['acx_csma_logo_choice']==''){echo "checked='checked'";}}else{ echo "checked='checked'";}
|
2373 |
-
<input type="radio" name="acx_csma_logo_choice4" class="acx_csma_logo" id="acx_csma_logo_text4" value="text" onclick="acx_csma_rdbtn_show_logo('text','4');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['4'])){if($acx_csma_appearence_array['4']['acx_csma_logo_choice'] == 'text'){echo "checked='checked'";}}
|
2374 |
</div><!--acx_csma_logo_main -->
|
2375 |
<div id="acx_show_logo_image_4" class="acx_csma_logo_block acx_csma_logo_block_4" style="display:none;">
|
2376 |
<label>
|
2377 |
-
Logo
|
2378 |
</label>
|
2379 |
<div class="acx_qa_field">
|
2380 |
<?php
|
@@ -2391,13 +2550,13 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2391 |
<img id="custom_uploader_template_4_logo_field_preview" src="<?php echo $logo4_url; ?>" style="width:100px;height:auto;">
|
2392 |
<input type="hidden" id="custom_uploader_template_4_logo_field" name="acx_csma_logo4" value="<?php echo $acx_csma_logo4_id; ?>" size="20">
|
2393 |
<br>
|
2394 |
-
<a id="acx_upload_button_logo4" class="button"
|
2395 |
-
<a id="acx_upload_button_reset_img1" onclick="acx_csma_restore_default('custom_uploader_template_4_logo_field_preview','<?php echo ACX_CSMA_BASE_LOCATION . 'templates/4/images/logo.png'; ?>','custom_uploader_template_4_logo_field');" class="button"
|
2396 |
</div> <!-- acx_qa_field -->
|
2397 |
</div><!--acx_show_logo_image-->
|
2398 |
<div id="acx_show_logo_text_4" class="acx_csma_logo_block acx_csma_logo_block_4" style="display:none;">
|
2399 |
<label>
|
2400 |
-
Logo Text:
|
2401 |
</label>
|
2402 |
<div class="acx_qa_field">
|
2403 |
<?php if(array_key_exists('acx_csma_logo_text4',$acx_csma_appearence_array['4'])){ $acx_csma_logo_text4=$acx_csma_appearence_array['4']['acx_csma_logo_text4'];
|
@@ -2408,10 +2567,10 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2408 |
else{
|
2409 |
$acx_csma_logo_text4=get_bloginfo('name');
|
2410 |
}?>
|
2411 |
-
<input type="text" name="acx_csma_logo_text4" placeholder="Logo Text Here" value="<?php echo $acx_csma_logo_text4 = acx_csma_option_text_after_save_hook_fn($acx_csma_logo_text4); ?>" size="20"/>
|
2412 |
</div> <!-- acx_qa_field -->
|
2413 |
<label>
|
2414 |
-
Logo Text Color: <a onclick="acx_csma_restore_default('','#ffffff','acx_csma_logo_text_color4');" class="acx_csmap_button_reset">[Reset To Default]</a>
|
2415 |
</label>
|
2416 |
<div class="acx_qa_field">
|
2417 |
<?php if(array_key_exists('acx_csma_logo_text_color4',$acx_csma_appearence_array['4'])){ $acx_csma_logo_text_color4=$acx_csma_appearence_array['4']['acx_csma_logo_text_color4'];
|
@@ -2433,35 +2592,35 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2433 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
2434 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2435 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2436 |
-
Main Heading & Custom HTML Settings
|
2437 |
</span>
|
2438 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2439 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2440 |
<div class="acx_csmap_q_and_a_inside">
|
2441 |
<label>
|
2442 |
-
Background Color
|
2443 |
</label>
|
2444 |
<div class="acx_qa_field">
|
2445 |
<input type="text" name="acx_csma_inside_bg_color4" id="acx_csma_inside_bg_color4" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['4']['acx_csma_inside_bg_color4']; ?>" size="20"/>
|
2446 |
<div style="position: absolute;" id="acx_csma_inside_bg_color4_div"></div>
|
2447 |
</div> <!-- acx_qa_field -->
|
2448 |
<label>
|
2449 |
-
Title Text:
|
2450 |
</label>
|
2451 |
<div class="acx_qa_field">
|
2452 |
<?php $acx_csma_title4 = $acx_csma_appearence_array['4']['acx_csma_title4']; ?>
|
2453 |
<input type="text" name="acx_csma_title4" value="<?php echo $acx_csma_title4 = acx_csma_option_text_after_save_hook_fn($acx_csma_title4); ?>" size="20"/>
|
2454 |
</div> <!-- acx_qa_field -->
|
2455 |
<label>
|
2456 |
-
Custom HTML Block Above Countdown Timer
|
2457 |
</label>
|
2458 |
<div class="acx_qa_field">
|
2459 |
<?php $acx_csma_custom_html_top_temp4 =$acx_csma_appearence_array['4']['acx_csma_custom_html_top_temp4']; ?>
|
2460 |
-
<textarea id="acx_csma_custom_html_top_temp4" name="acx_csma_custom_html_top_temp4" placeholder="HTML Code Here"><?php echo $acx_csma_custom_html_top_temp4 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_temp4); ?></textarea>
|
2461 |
</div><!-- acx_qa_field -->
|
2462 |
<div class="f_w"></div>
|
2463 |
<label>
|
2464 |
-
Title Text color
|
2465 |
</label>
|
2466 |
<div class="acx_qa_field">
|
2467 |
<input type="text" name="acx_csma_title_color4" id="acx_csma_title_color4" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['4']['acx_csma_title_color4']; ?>" size="20"/>
|
@@ -2476,22 +2635,22 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2476 |
|
2477 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2478 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2479 |
-
Countdown Timer, Progress Bar & Custom HTML Settings
|
2480 |
</span>
|
2481 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2482 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2483 |
<div class="acx_csmap_q_and_a_inside">
|
2484 |
<label>
|
2485 |
-
Would you like to show Timer?
|
2486 |
</label>
|
2487 |
<div class="acx_qa_field">
|
2488 |
<select name="acx_csma_show_timer4">
|
2489 |
-
<option value="1" <?php if ($acx_csma_appearence_array['4']['acx_csma_show_timer4'] == "1") { echo 'selected="selected"'; }
|
2490 |
-
<option value="0" <?php if ($acx_csma_appearence_array['4']['acx_csma_show_timer4'] == "0") { echo 'selected="selected"'; }
|
2491 |
</select>
|
2492 |
</div>
|
2493 |
<label>
|
2494 |
-
Input Text Color
|
2495 |
</label>
|
2496 |
<div class="acx_qa_field">
|
2497 |
<input type="text" name="acx_csma_timer_iptext_color4" id="acx_csma_timer_iptext_color4" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['4']['acx_csma_timer_iptext_color4']; ?>" size="20"/>
|
@@ -2499,62 +2658,165 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2499 |
</div> <!-- acx_qa_field -->
|
2500 |
|
2501 |
<label>
|
2502 |
-
Heading Color
|
2503 |
</label>
|
2504 |
<div class="acx_qa_field">
|
2505 |
<input type="text" name="acx_csma_timer_head_color4" id="acx_csma_timer_head_color4" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['4']['acx_csma_timer_head_color4']; ?>" size="20"/>
|
2506 |
<div style="position: absolute;" id="acx_csma_timer_head_color4_div"></div>
|
2507 |
</div> <!-- acx_qa_field -->
|
2508 |
<label>
|
2509 |
-
Would you like to show Progress Bar?
|
2510 |
</label>
|
2511 |
<div class="acx_qa_field">
|
2512 |
<select name="acx_csma_show_progressbar4">
|
2513 |
-
<option value="1" <?php if ($acx_csma_appearence_array['4']['acx_csma_show_progressbar4'] == "1") { echo 'selected="selected"'; }
|
2514 |
-
<option value="0" <?php if ($acx_csma_appearence_array['4']['acx_csma_show_progressbar4'] == "0") { echo 'selected="selected"'; }
|
2515 |
</select>
|
2516 |
</div>
|
2517 |
<label>
|
2518 |
-
Progress Bar Color
|
2519 |
</label>
|
2520 |
<div class="acx_qa_field">
|
2521 |
<input type="text" name="acx_csma_progress_bar_color4" id="acx_csma_progress_bar_color4" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['4']['acx_csma_progress_bar_color4']; ?>" size="20"/>
|
2522 |
<div style="position: absolute;" id="acx_csma_progress_bar_color4_div"></div>
|
2523 |
</div> <!-- acx_qa_field -->
|
2524 |
<label>
|
2525 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2526 |
</label>
|
2527 |
<div class="acx_qa_field">
|
2528 |
<?php $acx_csma_custom_html_bottom_temp4 =$acx_csma_appearence_array['4']['acx_csma_custom_html_bottom_temp4']; ?>
|
2529 |
-
<textarea id="acx_csma_custom_html_bottom_temp4" name="acx_csma_custom_html_bottom_temp4" placeholder="HTML Code Here"><?php echo $acx_csma_custom_html_bottom_temp4 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_bottom_temp4); ?></textarea>
|
2530 |
</div><!-- acx_qa_field -->
|
2531 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
2532 |
</div> <!-- acx_csmap_q_and_a -->
|
2533 |
</div> <!-- acx_csmap_q_and_a_h -->
|
2534 |
<!-- ################################# QUESTION AND ANSWER SET ENDS HERE #############################################-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2535 |
<!-- ################################ QUESTION AND ANSWER SET STARTS HERE ########################################### -->
|
2536 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
2537 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2538 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2539 |
-
Social Media Settings
|
2540 |
</span>
|
2541 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2542 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2543 |
<div class="acx_csmap_q_and_a_inside">
|
2544 |
<label>
|
2545 |
-
Facebook Link
|
2546 |
</label>
|
2547 |
<div class="acx_qa_field">
|
2548 |
<input type="text" name="acx_csma_fb_link4" id="acx_csma_fb_link4" value="<?php echo esc_url($acx_csma_appearence_array['4']['acx_csma_fb_link4']); ?>" size="20"/>
|
2549 |
</div> <!-- acx_qa_field -->
|
2550 |
<label>
|
2551 |
-
Twitter Link
|
2552 |
</label>
|
2553 |
<div class="acx_qa_field">
|
2554 |
<input type="text" name="acx_csma_twitter_link4" id="acx_csma_twitter_link4" value="<?php echo esc_url($acx_csma_appearence_array['4']['acx_csma_twitter_link4']); ?>" size="20"/>
|
2555 |
</div> <!-- acx_qa_field -->
|
2556 |
<label>
|
2557 |
-
LinkedIn Link
|
2558 |
</label>
|
2559 |
<div class="acx_qa_field">
|
2560 |
<input type="text" name="acx_csma_linkedin_link4" id="acx_csma_linkedin_link4" value="<?php echo esc_url($acx_csma_appearence_array['4']['acx_csma_linkedin_link4']); ?>" size="20"/>
|
@@ -2569,18 +2831,18 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2569 |
|
2570 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2571 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2572 |
-
Custom css Settings
|
2573 |
</span>
|
2574 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2575 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2576 |
<div class="acx_csmap_q_and_a_inside">
|
2577 |
|
2578 |
<label>
|
2579 |
-
Custom css
|
2580 |
</label>
|
2581 |
<div class="acx_qa_field">
|
2582 |
<?php $acx_csma_custom_css_temp4 = $acx_csma_appearence_array['4']['acx_csma_custom_css_temp4']; ?>
|
2583 |
-
<textarea id="acx_csma_custom_css_temp4" name="acx_csma_custom_css_temp4" placeholder="CSS Code Here"><?php echo stripslashes($acx_csma_custom_css_temp4); ?></textarea>
|
2584 |
</div><!-- acx_qa_field -->
|
2585 |
<div class="f_w"></div>
|
2586 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
@@ -2597,13 +2859,13 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2597 |
|
2598 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2599 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2600 |
-
Background Settings
|
2601 |
</span>
|
2602 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2603 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2604 |
<div class="acx_csmap_q_and_a_inside">
|
2605 |
<label>
|
2606 |
-
Background Color
|
2607 |
</label>
|
2608 |
<div class="acx_qa_field">
|
2609 |
<input type="text" name="acx_csma_bgcolor5" id="acx_csma_bgcolor5" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['5']['acx_csma_bgcolor5']; ?>" size="20"/>
|
@@ -2617,7 +2879,7 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2617 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
2618 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2619 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2620 |
-
Logo Settings
|
2621 |
</span>
|
2622 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2623 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
@@ -2625,12 +2887,12 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2625 |
<div class="acx_csma_logo_main">
|
2626 |
<table cellspacing="10">
|
2627 |
<tr><td>
|
2628 |
-
<input type="radio" name="acx_csma_logo_choice5" class="acx_csma_logo" id="acx_csma_logo_image5" value="image" onclick="acx_csma_rdbtn_show_logo('image','5');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['5'])){if($acx_csma_appearence_array['5']['acx_csma_logo_choice'] == 'image' || $acx_csma_appearence_array['5']['acx_csma_logo_choice']==''){echo "checked='checked'";}}else{ echo "checked='checked'";}
|
2629 |
-
<input type="radio" name="acx_csma_logo_choice5" class="acx_csma_logo" id="acx_csma_logo_text5" value="text" onclick="acx_csma_rdbtn_show_logo('text','5');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['5'])){if($acx_csma_appearence_array['5']['acx_csma_logo_choice'] == 'text'){echo "checked='checked'";}}
|
2630 |
</div><!--acx_csma_logo_main -->
|
2631 |
<div id="acx_show_logo_image_5" class="acx_csma_logo_block acx_csma_logo_block_5" style="display:none;">
|
2632 |
<label>
|
2633 |
-
Logo: <span id="acx_csma_span">(Recommended size 315x94)</span>
|
2634 |
</label>
|
2635 |
<div class="acx_qa_field">
|
2636 |
<?php
|
@@ -2646,13 +2908,13 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2646 |
<img id="custom_uploader_template_5_logo_field_preview" src="<?php echo $logo5_url; ?>" style="width:100px;height:auto;">
|
2647 |
<input type="hidden" id="custom_uploader_template_5_logo_field" name="acx_csma_logo5" value="<?php echo $acx_csma_logo5_id ; ?>" size="20">
|
2648 |
<br>
|
2649 |
-
<a id="acx_upload_button_logo5" class="button">Pick a Logo
|
2650 |
-
<a id="acx_upload_button_reset_img1" onclick="acx_csma_restore_default('custom_uploader_template_5_logo_field_preview','<?php echo ACX_CSMA_BASE_LOCATION . 'templates/5/images/logo.png'; ?>','custom_uploader_template_5_logo_field');" class="button"
|
2651 |
</div> <!-- acx_qa_field -->
|
2652 |
</div> <!-- acx_show_logo_image -->
|
2653 |
<div id="acx_show_logo_text_5" class="acx_csma_logo_block acx_csma_logo_block_5" style="display:none;">
|
2654 |
<label>
|
2655 |
-
Logo Text:
|
2656 |
</label>
|
2657 |
<div class="acx_qa_field">
|
2658 |
<?php if(array_key_exists('acx_csma_logo_text5',$acx_csma_appearence_array['5'])){$acx_csma_logo_text5=$acx_csma_appearence_array['5']['acx_csma_logo_text5'];
|
@@ -2662,10 +2924,10 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2662 |
}}else{
|
2663 |
$acx_csma_logo_text5=get_bloginfo('name');
|
2664 |
}?>
|
2665 |
-
<input type="text" name="acx_csma_logo_text5" placeholder="Logo Text Here" value="<?php echo $acx_csma_logo_text5 = acx_csma_option_text_after_save_hook_fn($acx_csma_logo_text5); ?>" size="20"/>
|
2666 |
</div> <!-- acx_qa_field -->
|
2667 |
<label>
|
2668 |
-
Logo Text Color:
|
2669 |
</label>
|
2670 |
<div class="acx_qa_field">
|
2671 |
<?php if(array_key_exists('acx_csma_logo_text_color5',$acx_csma_appearence_array['5'])){$acx_csma_logo_text_color5=$acx_csma_appearence_array['5']['acx_csma_logo_text_color5'];
|
@@ -2685,13 +2947,13 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2685 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
2686 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2687 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2688 |
-
Inner Block Background Settings
|
2689 |
</span>
|
2690 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2691 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2692 |
<div class="acx_csmap_q_and_a_inside">
|
2693 |
<label>
|
2694 |
-
Background Color
|
2695 |
</label>
|
2696 |
<div class="acx_qa_field">
|
2697 |
<input type="text" name="acx_csma_inside_bg_color5" id="acx_csma_inside_bg_color5" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['5']['acx_csma_inside_bg_color5']; ?>" size="20"/>
|
@@ -2705,28 +2967,28 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2705 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
2706 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2707 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2708 |
-
Main Heading Settings
|
2709 |
</span>
|
2710 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2711 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2712 |
<div class="acx_csmap_q_and_a_inside">
|
2713 |
<label>
|
2714 |
-
Title Text:
|
2715 |
</label>
|
2716 |
<div class="acx_qa_field">
|
2717 |
<?php $acx_csma_title5 = $acx_csma_appearence_array['5']['acx_csma_title5'];?>
|
2718 |
<input type="text" name="acx_csma_title5" value="<?php echo $acx_csma_title5 = acx_csma_option_text_after_save_hook_fn($acx_csma_title5); ?>" size="20"/>
|
2719 |
</div> <!-- acx_qa_field -->
|
2720 |
<label>
|
2721 |
-
Custom HTML Block Above Countdown Timer
|
2722 |
</label>
|
2723 |
<div class="acx_qa_field">
|
2724 |
<?php $acx_csma_custom_html_top_temp5 =$acx_csma_appearence_array['5']['acx_csma_custom_html_top_temp5']; ?>
|
2725 |
-
<textarea id="acx_csma_custom_html_top_temp5" name="acx_csma_custom_html_top_temp5" placeholder="HTML Code Here"><?php echo $acx_csma_custom_html_top_temp5 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_temp5); ?></textarea>
|
2726 |
</div><!-- acx_qa_field -->
|
2727 |
<div class="f_w"></div>
|
2728 |
<label>
|
2729 |
-
Title Text Color
|
2730 |
</label>
|
2731 |
<div class="acx_qa_field">
|
2732 |
<input type="text" name="acx_csma_title_color5" id="acx_csma_title_color5" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['5']['acx_csma_title_color5']; ?>" size="20"/>
|
@@ -2740,56 +3002,70 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2740 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
2741 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2742 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2743 |
-
Countdown, Progress bar & Custom HTML Settings
|
2744 |
</span>
|
2745 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2746 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2747 |
<div class="acx_csmap_q_and_a_inside">
|
2748 |
<label>
|
2749 |
-
Would you like to show Timer?
|
2750 |
</label>
|
2751 |
<div class="acx_qa_field">
|
2752 |
<select name="acx_csma_show_timer5">
|
2753 |
-
<option value="1" <?php if ($acx_csma_appearence_array['5']['acx_csma_show_timer5'] == "1") { echo 'selected="selected"'; }
|
2754 |
-
<option value="0" <?php if ($acx_csma_appearence_array['5']['acx_csma_show_timer5'] == "0") { echo 'selected="selected"'; }
|
2755 |
</select>
|
2756 |
</div>
|
2757 |
<label>
|
2758 |
-
Input Text Color
|
2759 |
</label>
|
2760 |
<div class="acx_qa_field">
|
2761 |
<input type="text" name="acx_csma_timer_iptext_color5" id="acx_csma_timer_iptext_color5" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['5']['acx_csma_timer_iptext_color5']; ?>" size="20"/>
|
2762 |
<div style="position: absolute;" id="acx_csma_timer_iptext_color5_div"></div>
|
2763 |
</div> <!-- acx_qa_field -->
|
2764 |
<label>
|
2765 |
-
Heading Color
|
2766 |
</label>
|
2767 |
<div class="acx_qa_field">
|
2768 |
<input type="text" name="acx_csma_timer_head_color5" id="acx_csma_timer_head_color5" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['5']['acx_csma_timer_head_color5']; ?>" size="20"/>
|
2769 |
<div style="position: absolute;" id="acx_csma_timer_head_color5_div"></div>
|
2770 |
</div> <!-- acx_qa_field -->
|
2771 |
<label>
|
2772 |
-
Would you like to show Progress Bar ?
|
2773 |
</label>
|
2774 |
<div class="acx_qa_field">
|
2775 |
<select name="acx_csma_show_progressbar5">
|
2776 |
-
<option value="1" <?php if ($acx_csma_appearence_array['5']['acx_csma_show_progressbar5'] == "1") { echo 'selected="selected"'; }
|
2777 |
-
<option value="0" <?php if ($acx_csma_appearence_array['5']['acx_csma_show_progressbar5'] == "0") { echo 'selected="selected"'; }
|
2778 |
</select>
|
2779 |
</div>
|
2780 |
<label>
|
2781 |
-
Progress Bar
|
2782 |
</label>
|
2783 |
<div class="acx_qa_field">
|
2784 |
<input type="text" name="acx_csma_progress_bar_color5" id="acx_csma_progress_bar_color5" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['5']['acx_csma_progress_bar_color5']; ?>" size="20"/>
|
2785 |
<div style="position: absolute;" id="acx_csma_progress_bar_color5_div"></div>
|
2786 |
</div> <!-- acx_qa_field -->
|
2787 |
<label>
|
2788 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2789 |
</label>
|
2790 |
<div class="acx_qa_field">
|
2791 |
<?php $acx_csma_custom_html_bottom_temp5 =$acx_csma_appearence_array['5']['acx_csma_custom_html_bottom_temp5']; ?>
|
2792 |
-
<textarea id="acx_csma_custom_html_bottom_temp5" name="acx_csma_custom_html_bottom_temp5" placeholder="HTML Code Here"><?php echo $acx_csma_custom_html_bottom_temp5 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_bottom_temp5); ?></textarea>
|
2793 |
</div><!-- acx_qa_field -->
|
2794 |
</div><!-- acx_csmap_q_and_a_inside -->
|
2795 |
</div> <!-- acx_csmap_q_and_a -->
|
@@ -2799,82 +3075,90 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2799 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
2800 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2801 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2802 |
-
Subscription Form Settings
|
2803 |
</span>
|
2804 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2805 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2806 |
<div class="acx_csmap_q_and_a_inside">
|
2807 |
<label>
|
2808 |
-
Would you like to show Subscription form?
|
2809 |
</label>
|
2810 |
<div class="acx_qa_field">
|
2811 |
<select name="acx_csma_show_subscription5">
|
2812 |
-
<option value="1" <?php if ($acx_csma_appearence_array['5']['acx_csma_show_subscription5'] == "1") { echo 'selected="selected"'; }
|
2813 |
-
<option value="0" <?php if ($acx_csma_appearence_array['5']['acx_csma_show_subscription5'] == "0") { echo 'selected="selected"'; }
|
2814 |
</select>
|
2815 |
</div>
|
2816 |
-
|
2817 |
<label>
|
2818 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2819 |
</label>
|
2820 |
<div class="acx_qa_field">
|
2821 |
<?php $acx_csma_custom_html_top_sub = $acx_csma_appearence_array['5']['acx_csma_custom_html_top_sub']; ?>
|
2822 |
-
<textarea id="acx_csma_custom_html_top_sub" name="acx_csma_custom_html_top_sub" placeholder="HTML Code Here"><?php echo $acx_csma_custom_html_top_sub = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_sub); ?></textarea>
|
2823 |
</div><!-- acx_qa_field -->
|
2824 |
<div class="f_w"></div>
|
2825 |
|
2826 |
<label>
|
2827 |
-
Custom HTML Block Below Subscription form
|
2828 |
</label>
|
2829 |
<div class="acx_qa_field">
|
2830 |
<?php $acx_csma_custom_html_bottom_sub =$acx_csma_appearence_array['5']['acx_csma_custom_html_bottom_sub']; ?>
|
2831 |
-
<textarea id="acx_csma_custom_html_bottom_sub" name="acx_csma_custom_html_bottom_sub" placeholder="HTML Code Here"><?php echo $acx_csma_custom_html_bottom_sub = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_bottom_sub); ?></textarea>
|
2832 |
</div><!-- acx_qa_field -->
|
2833 |
<div class="f_w"></div>
|
2834 |
<label>
|
2835 |
-
Background Color
|
2836 |
</label>
|
2837 |
<div class="acx_qa_field">
|
2838 |
<input type="text" name="acx_csma_subscribe_bg_color5" id="acx_csma_subscribe_bg_color5" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['5']['acx_csma_subscribe_bg_color5']; ?>" size="20"/>
|
2839 |
<div style="position: absolute;" id="acx_csma_subscribe_bg_color5_div"></div>
|
2840 |
</div> <!-- acx_qa_field -->
|
2841 |
<label>
|
2842 |
-
Launch Title:
|
2843 |
</label>
|
2844 |
<div class="acx_qa_field">
|
2845 |
<?php $acx_csma_subscribe_main_title5 = $acx_csma_appearence_array['5']['acx_csma_subscribe_main_title5']; ?>
|
2846 |
<input type="text" name="acx_csma_subscribe_main_title5" value="<?php echo $acx_csma_subscribe_main_title5 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_main_title5); ?>" size="20"/>
|
2847 |
</div> <!-- acx_qa_field -->
|
2848 |
<label>
|
2849 |
-
Launch Title Text Color
|
2850 |
</label>
|
2851 |
<div class="acx_qa_field">
|
2852 |
<input type="text" name="acx_csma_launch_title_color5" id="acx_csma_launch_title_color5" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['5']['acx_csma_launch_title_color5']; ?>" size="20"/>
|
2853 |
<div style="position: absolute;" id="acx_csma_launch_title_color5_div"></div>
|
2854 |
</div> <!-- acx_qa_field -->
|
2855 |
<label>
|
2856 |
-
Title:
|
2857 |
</label>
|
2858 |
<div class="acx_qa_field">
|
2859 |
<?php $acx_csma_subscribe_title5 = $acx_csma_appearence_array['5']['acx_csma_subscribe_title5'];?>
|
2860 |
<input type="text" name="acx_csma_subscribe_title5" value="<?php echo $acx_csma_subscribe_title5 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_title5); ?>" size="20"/>
|
2861 |
</div> <!-- acx_qa_field -->
|
2862 |
<label>
|
2863 |
-
Subscribe Button Text:
|
2864 |
</label>
|
2865 |
<div class="acx_qa_field">
|
2866 |
<?php $acx_csma_subscribe_btn_text5 = $acx_csma_appearence_array['5']['acx_csma_subscribe_btn_text5']; ?>
|
2867 |
<input type="text" name="acx_csma_subscribe_btn_text5" value="<?php echo $acx_csma_subscribe_btn_text5 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_btn_text5); ?>" size="20"/>
|
2868 |
</div> <!-- acx_qa_field -->
|
2869 |
<label>
|
2870 |
-
Subscribe Success Message:
|
2871 |
</label>
|
2872 |
<div class="acx_qa_field">
|
2873 |
<?php $acx_csma_subscribe_success5 = $acx_csma_appearence_array['5']['acx_csma_subscribe_success5']; ?>
|
2874 |
<input type="text" name="acx_csma_subscribe_success5" value="<?php echo $acx_csma_subscribe_success5 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_success5); ?>" size="20"/>
|
2875 |
</div> <!-- acx_qa_field -->
|
2876 |
<label>
|
2877 |
-
Subscribe Invalid Message:
|
2878 |
</label>
|
2879 |
<div class="acx_qa_field">
|
2880 |
<?php $acx_csma_subscribe_invalid5 = $acx_csma_appearence_array['5']['acx_csma_subscribe_invalid5'];?>
|
@@ -2888,25 +3172,25 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2888 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
2889 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2890 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2891 |
-
Social Media Settings
|
2892 |
</span>
|
2893 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2894 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2895 |
<div class="acx_csmap_q_and_a_inside">
|
2896 |
<label>
|
2897 |
-
Facebook Link
|
2898 |
</label>
|
2899 |
<div class="acx_qa_field">
|
2900 |
<input type="text" name="acx_csma_fb_link5" id="acx_csma_fb_link5" value="<?php echo esc_url($acx_csma_appearence_array['5']['acx_csma_fb_link5']); ?>" size="20"/>
|
2901 |
</div> <!-- acx_qa_field -->
|
2902 |
<label>
|
2903 |
-
Twitter Link
|
2904 |
</label>
|
2905 |
<div class="acx_qa_field">
|
2906 |
<input type="text" name="acx_csma_twitter_link5" id="acx_csma_twitter_link5" value="<?php echo esc_url($acx_csma_appearence_array['5']['acx_csma_twitter_link5']); ?>" size="20"/>
|
2907 |
</div> <!-- acx_qa_field -->
|
2908 |
<label>
|
2909 |
-
LinkedIn Link
|
2910 |
</label>
|
2911 |
<div class="acx_qa_field">
|
2912 |
<input type="text" name="acx_csma_linkedin_link5" id="acx_csma_linkedin_link5" value="<?php echo esc_url($acx_csma_appearence_array['5']['acx_csma_linkedin_link5']); ?>" size="20"/>
|
@@ -2920,18 +3204,18 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2920 |
|
2921 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2922 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2923 |
-
Custom css Settings
|
2924 |
</span>
|
2925 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2926 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2927 |
<div class="acx_csmap_q_and_a_inside">
|
2928 |
|
2929 |
<label>
|
2930 |
-
Custom css
|
2931 |
</label>
|
2932 |
<div class="acx_qa_field">
|
2933 |
<?php $acx_csma_custom_css_temp5 = $acx_csma_appearence_array['5']['acx_csma_custom_css_temp5']; ?>
|
2934 |
-
<textarea id="acx_csma_custom_css_temp5" name="acx_csma_custom_css_temp5" placeholder="CSS Code Here"><?php echo stripslashes($acx_csma_custom_css_temp5); ?></textarea>
|
2935 |
</div><!-- acx_qa_field -->
|
2936 |
<div class="f_w"></div>
|
2937 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
@@ -2945,7 +3229,7 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2945 |
<table>
|
2946 |
<tr><td>
|
2947 |
<label>
|
2948 |
-
Custom HTML content
|
2949 |
</label></td>
|
2950 |
<td><?php $acx_csma_custom_html_val = get_option('acx_csma_custom_html_val'); ?>
|
2951 |
<textarea id="acx_csma_custom_html" name="acx_csma_custom_html_val" style="max-width: 80%; width: 500px; height: 180px;"><?php echo $acx_csma_custom_html_val = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_val); ?></textarea>
|
@@ -2955,7 +3239,7 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
|
|
2955 |
</div><!-- acx_csma_template_0-->
|
2956 |
</div><!--acx_csma_tab_block_2-->
|
2957 |
<table>
|
2958 |
-
<tr><td colspan="3"><p><a onclick="acx_csma_save_settings('acx_csma_ip_list1');" name="Submit" id="Submit" class="button button-primary" style="margin-left:20px;"><?php _e('Save Settings','
|
2959 |
<input name="acx_csma_save_config" type="hidden" value="<?php echo wp_create_nonce('acx_csma_save_config'); ?>" />
|
2960 |
</td></tr>
|
2961 |
</table>
|
@@ -3002,20 +3286,20 @@ if($acx_csma_template != "")
|
|
3002 |
//upload images and logos
|
3003 |
jQuery(document).ready(function()
|
3004 |
{
|
3005 |
-
acx_csma_upload_images_template_loader("acx_csma_favicon_button","Choose Favicon","Choose Image","acx_csma_favicon_field","acx_csma_favicon");
|
3006 |
|
3007 |
-
acx_csma_upload_images_template_loader("acx_upload_button_img1","Choose Background","Choose Image","custom_uploader_template_1_img_field","custom_uploader_template_1_img_field_preview");
|
3008 |
|
3009 |
-
acx_csma_upload_images_template_loader("acx_upload_button_logo1","Choose Logo","Choose Image","custom_uploader_template_1_logo_field","custom_uploader_template_1_logo_field_preview");
|
3010 |
|
3011 |
-
acx_csma_upload_images_template_loader("acx_upload_button_logo2","Choose Logo","Choose Image","custom_uploader_template_2_logo_field","custom_uploader_template_2_logo_field_preview");
|
3012 |
|
3013 |
-
acx_csma_upload_images_template_loader("acx_upload_button_logo3","Choose Logo","Choose Image","custom_uploader_template_3_logo_field","custom_uploader_template_3_logo_field_preview");
|
3014 |
|
3015 |
-
acx_csma_upload_images_template_loader("acx_upload_button_img4","Choose Background","Choose Image","custom_uploader_template_4_img_field","custom_uploader_template_4_img_field_preview");
|
3016 |
-
acx_csma_upload_images_template_loader("acx_upload_button_logo4","Choose Logo","Choose Image","custom_uploader_template_4_logo_field","custom_uploader_template_4_logo_field_preview");
|
3017 |
|
3018 |
-
acx_csma_upload_images_template_loader("acx_upload_button_logo5","Choose Logo","Choose Image","custom_uploader_template_5_logo_field","custom_uploader_template_5_logo_field_preview");
|
3019 |
});
|
3020 |
//show logo div
|
3021 |
function acx_csma_rdbtn_show_logo(value,id)
|
@@ -3043,7 +3327,7 @@ function acx_csma_validate(acx_csma_validate_color)
|
|
3043 |
}
|
3044 |
else
|
3045 |
{
|
3046 |
-
alert("You have entered an invalid color!");
|
3047 |
return false;
|
3048 |
}
|
3049 |
}
|
@@ -3065,13 +3349,14 @@ function acx_csma_addNewItem(listBox,txtvalue)
|
|
3065 |
var acx_csma_textbox_value = jQuery('#acx_csma_txt_ip').val();
|
3066 |
|
3067 |
var ipformat = /^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/; //ipv4 format
|
3068 |
-
|
|
|
3069 |
{
|
3070 |
for(var x=0;x<listBox.options.length;x++)
|
3071 |
{
|
3072 |
if(listBox.options[x].value==acx_csma_textbox_value || listBox.options[x].text==acx_csma_textbox_value)
|
3073 |
{
|
3074 |
-
alert("IP is already Added!");
|
3075 |
return false;
|
3076 |
}
|
3077 |
}
|
@@ -3079,7 +3364,7 @@ function acx_csma_addNewItem(listBox,txtvalue)
|
|
3079 |
}
|
3080 |
else
|
3081 |
{
|
3082 |
-
alert("You have entered an invalid IP address!");
|
3083 |
return false;
|
3084 |
}
|
3085 |
}
|
44 |
}
|
45 |
if($acx_csma_hidden == 'Y')
|
46 |
{
|
47 |
+
if (!isset($_POST['acx_csma_save_config'])) die("<br><br>".__("Unknown Error Occurred, Try Again... ","coming-soon-maintenance-mode-from-acurax")."<a href=''>".__("Click Here","coming-soon-maintenance-mode-from-acurax")."</a>");
|
48 |
+
if (!wp_verify_nonce($_POST['acx_csma_save_config'],'acx_csma_save_config')) die("<br><br>".__("Unknown Error Occurred, Try Again... ","coming-soon-maintenance-mode-from-acurax")."<a href=''>".__("Click Here","coming-soon-maintenance-mode-from-acurax")."</a>");
|
49 |
+
if(!current_user_can('manage_options')) die("<br><br>".__("Sorry, You have no permission to do this action...","coming-soon-maintenance-mode-from-acurax")."</a>");
|
50 |
//Form data sent
|
51 |
acx_csma_hook_function('acx_csma_hook_mainoptions_inside_if_submit');
|
52 |
$acx_csma_activation_status =$_POST['acx_csma_activate'];
|
164 |
$acx_csma_timer_iptext_color1=sanitize_text_field($_POST['acx_csma_timer_iptext_color1']);
|
165 |
$acx_csma_timer_iptext_color1 = acx_csma_text_before_save_hook_fn('acx_csma_timer_iptext_color1',$acx_csma_timer_iptext_color1);
|
166 |
if($acx_csma_timer_iptext_color1==""){$acx_csma_timer_iptext_color1=$acx_csma_appearence_array['1']['acx_csma_timer_iptext_color1'];}
|
167 |
+
$acx_csma_timer_input_bg_color1=sanitize_text_field($_POST['acx_csma_timer_input_bg_color1']);
|
168 |
+
$acx_csma_timer_input_bg_color1 = acx_csma_text_before_save_hook_fn('acx_csma_timer_input_bg_color1',$acx_csma_timer_input_bg_color1);
|
169 |
+
if($acx_csma_timer_input_bg_color1==""){$acx_csma_timer_input_bg_color1=$acx_csma_appearence_array['1']['acx_csma_timer_input_bg_color1'];}
|
170 |
$acx_csma_timer_head_color1=sanitize_text_field($_POST['acx_csma_timer_head_color1']);
|
171 |
$acx_csma_timer_head_color1 = acx_csma_text_before_save_hook_fn('acx_csma_timer_head_color1',$acx_csma_timer_head_color1);
|
172 |
if($acx_csma_timer_head_color1==""){$acx_csma_timer_head_color1=$acx_csma_appearence_array['1']['acx_csma_timer_head_color1'];}
|
174 |
$acx_csma_show_subscription=sanitize_text_field($_POST['acx_csma_show_subscription']);
|
175 |
|
176 |
if($acx_csma_show_subscription==""){ $acx_csma_show_subscription=$acx_csma_appearence_array['1']['acx_csma_show_subscription'];}
|
177 |
+
$acx_csma_show_subscription_name=sanitize_text_field($_POST['acx_csma_show_subscription_name']);
|
178 |
+
|
179 |
+
if($acx_csma_show_subscription_name==""){ $acx_csma_show_subscription_name=$acx_csma_appearence_array['1']['acx_csma_show_subscription_name'];}
|
180 |
|
181 |
$acx_csma_custom_html_top_sub1=$_POST['acx_csma_custom_html_top_sub1'];
|
182 |
$acx_csma_custom_html_top_sub1 = acx_csma_custom_html_before_save_hook_fn('acx_csma_custom_html_top_sub1', $acx_csma_custom_html_top_sub1);
|
266 |
$acx_csma_show_subscription2=$_POST['acx_csma_show_subscription2'];
|
267 |
$acx_csma_show_subscription2 = acx_csma_text_before_save_hook_fn('acx_csma_show_subscription2',$acx_csma_show_subscription2);
|
268 |
if($acx_csma_show_subscription2==""){ $acx_csma_show_subscription2=$acx_csma_appearence_array['2']['acx_csma_show_subscription2'];}
|
269 |
+
$acx_csma_show_subscription_name2=$_POST['acx_csma_show_subscription_name2'];
|
270 |
+
$acx_csma_show_subscription_name2 = acx_csma_text_before_save_hook_fn('acx_csma_show_subscription_name2',$acx_csma_show_subscription_name2);
|
271 |
+
if($acx_csma_show_subscription_name2==""){ $acx_csma_show_subscription_name2=$acx_csma_appearence_array['2']['acx_csma_show_subscription_name2'];}
|
272 |
+
|
273 |
$acx_csma_subscribe_btn_text2=$_POST['acx_csma_subscribe_btn_text2'];
|
274 |
$acx_csma_subscribe_btn_text2 = acx_csma_text_before_save_hook_fn('acx_csma_subscribe_btn_text2',$acx_csma_subscribe_btn_text2);
|
275 |
if($acx_csma_subscribe_btn_text2==""){$acx_csma_subscribe_btn_text2=$acx_csma_appearence_array['2']['acx_csma_subscribe_btn_text2'];}
|
276 |
$acx_csma_timer_title2=$_POST['acx_csma_timer_title2'];
|
277 |
$acx_csma_timer_title2 = acx_csma_text_before_save_hook_fn('acx_csma_timer_title2',$acx_csma_timer_title2);
|
278 |
|
279 |
+
$acx_csma_timer_title_color2=$_POST['acx_csma_timer_title_color2'];
|
280 |
+
$acx_csma_timer_title_color2 = acx_csma_text_before_save_hook_fn('acx_csma_timer_title_color2',$acx_csma_timer_title_color2);
|
281 |
+
if($acx_csma_timer_title_color2==""){$acx_csma_timer_title_color2=$acx_csma_appearence_array['2']['acx_csma_timer_title_color2'];}
|
282 |
$acx_csma_subscribe_btn_color2=$_POST['acx_csma_subscribe_btn_color2'];
|
283 |
$acx_csma_subscribe_btn_color2 = acx_csma_text_before_save_hook_fn('acx_csma_subscribe_btn_color2',$acx_csma_subscribe_btn_color2);
|
284 |
if($acx_csma_subscribe_btn_color2==""){$acx_csma_subscribe_btn_color2=$acx_csma_appearence_array['2']['acx_csma_subscribe_btn_color2'];}
|
312 |
$acx_csma_desc_text_color2=$_POST['acx_csma_desc_text_color2'];
|
313 |
$acx_csma_desc_text_color2 = acx_csma_text_before_save_hook_fn('acx_csma_desc_text_color2',$acx_csma_desc_text_color2);
|
314 |
if($acx_csma_desc_text_color2==""){$acx_csma_desc_text_color2=$acx_csma_appearence_array['2']['acx_csma_desc_text_color2'];}
|
315 |
+
$acx_csma_desc_content_color2=$_POST['acx_csma_desc_content_color2'];
|
316 |
+
$acx_csma_desc_content_color2 = acx_csma_text_before_save_hook_fn('acx_csma_desc_content_color2',$acx_csma_desc_content_color2);
|
317 |
+
if($acx_csma_desc_content_color2==""){$acx_csma_desc_content_color2=$acx_csma_appearence_array['2']['acx_csma_desc_content_color2'];}
|
318 |
+
$acx_csma_social_link_color2=$_POST['acx_csma_social_link_color2'];
|
319 |
+
$acx_csma_social_link_color2 = acx_csma_text_before_save_hook_fn('acx_csma_social_link_color2',$acx_csma_social_link_color2);
|
320 |
+
if($acx_csma_social_link_color2==""){$acx_csma_social_link_color2=$acx_csma_appearence_array['2']['acx_csma_social_link_color2'];}
|
321 |
+
$acx_csma_social_link_title2 = $_POST['acx_csma_social_link_title2'];
|
322 |
+
$acx_csma_social_link_title2 = acx_csma_text_before_save_hook_fn('acx_csma_social_link_title2',$acx_csma_social_link_title2);
|
323 |
+
|
324 |
$acx_csma_fb_link2=esc_url_raw($_POST['acx_csma_fb_link2']);
|
325 |
$acx_csma_twitter_link2=esc_url_raw($_POST['acx_csma_twitter_link2']);
|
326 |
$acx_csma_linkedin_link2=esc_url_raw($_POST['acx_csma_linkedin_link2']);
|
384 |
$acx_csma_show_subscription3=$_POST['acx_csma_show_subscription3'];
|
385 |
$acx_csma_show_subscription3 = acx_csma_text_before_save_hook_fn('acx_csma_show_subscription3',$acx_csma_show_subscription3);
|
386 |
if($acx_csma_show_subscription3==""){ $acx_csma_show_subscription3=$acx_csma_appearence_array['3']['acx_csma_show_subscription3'];}
|
387 |
+
$acx_csma_show_subscription_name3=sanitize_text_field($_POST['acx_csma_show_subscription_name3']);
|
388 |
+
|
389 |
+
if($acx_csma_show_subscription_name3==""){ $acx_csma_show_subscription_name3=$acx_csma_appearence_array['3']['acx_csma_show_subscription_name3'];}
|
390 |
$acx_csma_show_timer3=$_POST['acx_csma_show_timer3'];
|
391 |
$acx_csma_show_timer3 = acx_csma_text_before_save_hook_fn('acx_csma_show_timer3',$acx_csma_show_timer3);
|
392 |
if($acx_csma_show_timer3==""){ $acx_csma_show_timer3=$acx_csma_appearence_array['3']['acx_csma_show_timer3'];}
|
436 |
$acx_csma_desc_text_color3 = acx_csma_text_before_save_hook_fn('acx_csma_desc_text_color3',$acx_csma_desc_text_color3);
|
437 |
|
438 |
if($acx_csma_desc_text_color3==""){$acx_csma_desc_text_color3=$acx_csma_appearence_array['3']['acx_csma_desc_text_color3'];}
|
439 |
+
$acx_csma_desc_content_color3= $_POST['acx_csma_desc_content_color3'];
|
440 |
+
$acx_csma_desc_content_color3 = acx_csma_text_before_save_hook_fn('acx_csma_desc_content_color3',$acx_csma_desc_content_color3);
|
441 |
+
|
442 |
+
if($acx_csma_desc_content_color3==""){$acx_csma_desc_content_color3=$acx_csma_appearence_array['3']['acx_csma_desc_content_color3'];}
|
443 |
+
|
444 |
$acx_csma_footer_text3= $_POST['acx_csma_footer_text3'];
|
445 |
$acx_csma_footer_text3 = acx_csma_text_before_save_hook_fn('acx_csma_footer_text3',$acx_csma_footer_text3);
|
446 |
$acx_csma_footer_color3 = $_POST['acx_csma_footer_color3'];
|
504 |
$acx_csma_progress_bar_color4=$_POST['acx_csma_progress_bar_color4'];
|
505 |
$acx_csma_progress_bar_color4 = acx_csma_text_before_save_hook_fn('acx_csma_progress_bar_color4',$acx_csma_progress_bar_color4);
|
506 |
if($acx_csma_progress_bar_color4==""){$acx_csma_progress_bar_color4=$acx_csma_appearence_array['4']['acx_csma_progress_bar_color4'];}
|
507 |
+
$acx_csma_progress_bar_bg_color4=$_POST['acx_csma_progress_bar_bg_color4'];
|
508 |
+
$acx_csma_progress_bar_bg_color4 = acx_csma_text_before_save_hook_fn('acx_csma_progress_bar_bg_color4',$acx_csma_progress_bar_bg_color4);
|
509 |
+
if($acx_csma_progress_bar_bg_color4==""){$acx_csma_progress_bar_bg_color4=$acx_csma_appearence_array['4']['acx_csma_progress_bar_bg_color4'];}
|
510 |
+
$acx_csma_progress_bar_text_color4=$_POST['acx_csma_progress_bar_text_color4'];
|
511 |
+
$acx_csma_progress_bar_text_color4 = acx_csma_text_before_save_hook_fn('acx_csma_progress_bar_text_color4',$acx_csma_progress_bar_text_color4);
|
512 |
+
if($acx_csma_progress_bar_text_color4==""){$acx_csma_progress_bar_text_color4=$acx_csma_appearence_array['4']['acx_csma_progress_bar_text_color4'];}
|
513 |
$acx_csma_custom_html_bottom_temp4=$_POST['acx_csma_custom_html_bottom_temp4'];
|
514 |
$acx_csma_custom_html_bottom_temp4 = acx_csma_custom_html_before_save_hook_fn('acx_csma_custom_html_bottom_temp4', $acx_csma_custom_html_bottom_temp4);
|
515 |
+
$acx_csma_show_subscription4=$_POST['acx_csma_show_subscription4'];
|
516 |
+
$acx_csma_show_subscription4 = acx_csma_text_before_save_hook_fn('acx_csma_show_subscription4',$acx_csma_show_subscription4);
|
517 |
+
if($acx_csma_show_subscription4==""){ $acx_csma_show_subscription4=$acx_csma_appearence_array['4']['acx_csma_show_subscription4'];}
|
518 |
+
$acx_csma_show_subscription_name4=sanitize_text_field($_POST['acx_csma_show_subscription_name4']);
|
519 |
+
|
520 |
+
if($acx_csma_show_subscription_name4==""){ $acx_csma_show_subscription_name4=$acx_csma_appearence_array['4']['acx_csma_show_subscription_name4'];}
|
521 |
+
$acx_csma_show_timer3=$_POST['acx_csma_show_timer3'];
|
522 |
+
$acx_csma_subscription_title4=$_POST['acx_csma_subscription_title4'];
|
523 |
+
$acx_csma_subscription_title4 = acx_csma_text_before_save_hook_fn('acx_csma_subscription_title4',$acx_csma_subscription_title4);
|
524 |
+
$acx_csma_subscription_title_color4=$_POST['acx_csma_subscription_title_color4'];
|
525 |
+
$acx_csma_subscription_title_color4 = acx_csma_text_before_save_hook_fn('acx_csma_subscription_title_color4',$acx_csma_subscription_title_color4);
|
526 |
+
if($acx_csma_subscription_title_color4==""){$acx_csma_subscription_title_color4=$acx_csma_appearence_array['4']['acx_csma_subscription_title_color4'];}
|
527 |
+
$acx_csma_subscribe_success4=$_POST['acx_csma_subscribe_success4'];
|
528 |
+
$acx_csma_subscribe_success4 = acx_csma_text_before_save_hook_fn('acx_csma_subscribe_success4',$acx_csma_subscribe_success4);
|
529 |
+
if($acx_csma_subscribe_success4==""){$acx_csma_subscribe_success4=$acx_csma_appearence_array['4']['acx_csma_subscribe_success4'];}
|
530 |
+
$acx_csma_subscribe_invalid4=$_POST['acx_csma_subscribe_invalid4'];
|
531 |
+
$acx_csma_subscribe_invalid4 = acx_csma_text_before_save_hook_fn('acx_csma_subscribe_invalid4',$acx_csma_subscribe_invalid4);
|
532 |
+
if($acx_csma_subscribe_invalid4==""){$acx_csma_subscribe_invalid4=$acx_csma_appearence_array['4']['acx_csma_subscribe_invalid4'];}
|
533 |
+
$acx_csma_custom_html_subscrpt_below_sub4=$_POST['acx_csma_custom_html_subscrpt_below_sub4'];
|
534 |
+
$acx_csma_custom_html_subscrpt_below_sub4 = acx_csma_custom_html_before_save_hook_fn('acx_csma_custom_html_subscrpt_below_sub4', $acx_csma_custom_html_subscrpt_below_sub4);
|
535 |
+
$acx_csma_subscription_btn_text4=$_POST['acx_csma_subscription_btn_text4'];
|
536 |
+
$acx_csma_subscription_btn_text4 = acx_csma_text_before_save_hook_fn('acx_csma_subscription_btn_text4',$acx_csma_subscription_btn_text4);
|
537 |
+
$acx_csma_subscription_btn_color4=$_POST['acx_csma_subscription_btn_color4'];
|
538 |
+
$acx_csma_subscription_btn_color4 = acx_csma_text_before_save_hook_fn('acx_csma_subscription_btn_color4',$acx_csma_subscription_btn_color4);
|
539 |
+
if($acx_csma_subscription_btn_color4==""){$acx_csma_subscription_btn_color4=$acx_csma_appearence_array['4']['acx_csma_subscription_btn_color4'];}
|
540 |
+
$acx_csma_subscription_btn_bg_color4=$_POST['acx_csma_subscription_btn_bg_color4'];
|
541 |
+
$acx_csma_subscription_btn_bg_color4 = acx_csma_text_before_save_hook_fn('acx_csma_subscription_btn_bg_color4',$acx_csma_subscription_btn_bg_color4);
|
542 |
+
if($acx_csma_subscription_btn_bg_color4==""){$acx_csma_subscription_btn_bg_color4=$acx_csma_appearence_array['4']['acx_csma_subscription_btn_bg_color4'];}
|
543 |
+
|
544 |
$acx_csma_fb_link4=esc_url_raw($_POST['acx_csma_fb_link4']);
|
545 |
$acx_csma_twitter_link4=esc_url_raw($_POST['acx_csma_twitter_link4']);
|
546 |
$acx_csma_linkedin_link4=esc_url_raw($_POST['acx_csma_linkedin_link4']);
|
594 |
$acx_csma_progress_bar_color5=$_POST['acx_csma_progress_bar_color5'];
|
595 |
$acx_csma_progress_bar_color5 = acx_csma_text_before_save_hook_fn('acx_csma_progress_bar_color5',$acx_csma_progress_bar_color5);
|
596 |
if($acx_csma_progress_bar_color5==""){$acx_csma_progress_bar_color5=$acx_csma_appearence_array['5']['acx_csma_progress_bar_color5'];}
|
597 |
+
$acx_csma_progress_bar_bg_color5=$_POST['acx_csma_progress_bar_bg_color5'];
|
598 |
+
$acx_csma_progress_bar_bg_color5 = acx_csma_text_before_save_hook_fn('acx_csma_progress_bar_bg_color5',$acx_csma_progress_bar_bg_color5);
|
599 |
+
if($acx_csma_progress_bar_bg_color5==""){$acx_csma_progress_bar_bg_color5=$acx_csma_appearence_array['5']['acx_csma_progress_bar_bg_color5'];}
|
600 |
+
$acx_csma_progress_bar_text_color5=$_POST['acx_csma_progress_bar_text_color5'];
|
601 |
+
$acx_csma_progress_bar_text_color5 = acx_csma_text_before_save_hook_fn('acx_csma_progress_bar_text_color5',$acx_csma_progress_bar_text_color5);
|
602 |
+
if($acx_csma_progress_bar_text_color5==""){$acx_csma_progress_bar_text_color5=$acx_csma_appearence_array['5']['acx_csma_progress_bar_text_color5'];}
|
603 |
$acx_csma_custom_html_bottom_temp5=$_POST['acx_csma_custom_html_bottom_temp5'];
|
604 |
$acx_csma_custom_html_bottom_temp5 = acx_csma_custom_html_before_save_hook_fn('acx_csma_custom_html_bottom_temp5', $acx_csma_custom_html_bottom_temp5);
|
605 |
$acx_csma_subscribe_bg_color5=$_POST['acx_csma_subscribe_bg_color5'];
|
611 |
$acx_csma_show_subscription5=$_POST['acx_csma_show_subscription5'];
|
612 |
$acx_csma_show_subscription5 = acx_csma_text_before_save_hook_fn('acx_csma_show_subscription5',$acx_csma_show_subscription5);
|
613 |
if($acx_csma_show_subscription5==""){ $acx_csma_show_subscription5=$acx_csma_appearence_array['5']['acx_csma_show_subscription5'];}
|
614 |
+
$acx_csma_show_subscription_name5=sanitize_text_field($_POST['acx_csma_show_subscription_name5']);
|
615 |
+
|
616 |
+
if($acx_csma_show_subscription_name5==""){ $acx_csma_show_subscription_name5=$acx_csma_appearence_array['5']['acx_csma_show_subscription_name5'];}
|
617 |
$acx_csma_subscribe_btn_text5=$_POST['acx_csma_subscribe_btn_text5'];
|
618 |
$acx_csma_subscribe_btn_text5 = acx_csma_text_before_save_hook_fn('acx_csma_subscribe_btn_text5',$acx_csma_subscribe_btn_text5);
|
619 |
if($acx_csma_subscribe_btn_text5==""){ $acx_csma_subscribe_btn_text5=$acx_csma_appearence_array['5']['acx_csma_subscribe_btn_text5'];}
|
679 |
'acx_csma_timer_bg_color1'=>$acx_csma_timer_bg_color1,
|
680 |
'acx_csma_timer_iptext_color1'=>$acx_csma_timer_iptext_color1,
|
681 |
'acx_csma_timer_head_color1'=>$acx_csma_timer_head_color1,
|
682 |
+
'acx_csma_timer_input_bg_color1'=>$acx_csma_timer_input_bg_color1,
|
683 |
'acx_csma_show_subscription'=>$acx_csma_show_subscription,
|
684 |
+
'acx_csma_show_subscription_name'=>$acx_csma_show_subscription_name,
|
685 |
'acx_csma_custom_html_top_sub1'=>$acx_csma_custom_html_top_sub1,
|
686 |
'acx_csma_custom_html_bottom_sub1'=>$acx_csma_custom_html_bottom_sub1,
|
687 |
'acx_csma_subscribe_bg_color1'=>$acx_csma_subscribe_bg_color1,
|
721 |
'acx_csma_inside_bg_color2'=>$acx_csma_inside_bg_color2,
|
722 |
'acx_csma_custom_html_top_timer'=>$acx_csma_custom_html_top_timer,
|
723 |
'acx_csma_show_subscription2'=>$acx_csma_show_subscription2,
|
724 |
+
'acx_csma_show_subscription_name2'=>$acx_csma_show_subscription_name2,
|
725 |
'acx_csma_subscribe_btn_text2'=>$acx_csma_subscribe_btn_text2,
|
726 |
'acx_csma_custom_html_above_timer'=>$acx_csma_custom_html_above_timer,
|
727 |
'acx_csma_show_timer2'=>$acx_csma_show_timer2,
|
728 |
'acx_csma_timer_title2'=>$acx_csma_timer_title2,
|
729 |
+
'acx_csma_timer_title_color2'=>$acx_csma_timer_title_color2,
|
730 |
'acx_csma_subscribe_btn_color2'=>$acx_csma_subscribe_btn_color2,
|
731 |
'acx_csma_subscribe_success2'=>$acx_csma_subscribe_success2,
|
732 |
'acx_csma_subscribe_invalid2'=>$acx_csma_subscribe_invalid2,
|
737 |
'acx_csma_desc_title2'=>$acx_csma_desc_title2,
|
738 |
'acx_csma_desc_subtitle2'=>$acx_csma_desc_subtitle2,
|
739 |
'acx_csma_desc_text_color2'=>$acx_csma_desc_text_color2,
|
740 |
+
'acx_csma_desc_content_color2'=>$acx_csma_desc_content_color2,
|
741 |
+
'acx_csma_social_link_title2'=>$acx_csma_social_link_title2,
|
742 |
+
'acx_csma_social_link_color2'=>$acx_csma_social_link_color2,
|
743 |
'acx_csma_fb_link2'=>$acx_csma_fb_link2,
|
744 |
'acx_csma_twitter_link2'=>$acx_csma_twitter_link2,
|
745 |
'acx_csma_linkedin_link2'=>$acx_csma_linkedin_link2,
|
778 |
'acx_csma_subscribe_invalid3'=>$acx_csma_subscribe_invalid3,
|
779 |
'acx_csma_inside_title3'=>$acx_csma_inside_title3,
|
780 |
'acx_csma_show_subscription3'=>$acx_csma_show_subscription3,
|
781 |
+
'acx_csma_show_subscription_name3'=>$acx_csma_show_subscription_name3,
|
782 |
'acx_csma_show_timer3'=>$acx_csma_show_timer3,
|
783 |
'acx_csma_inside_title_color3'=>$acx_csma_inside_title_color3,
|
784 |
'acx_csma_timer_iptext_color3'=>$acx_csma_timer_iptext_color3,
|
789 |
'acx_csma_desc_title3'=>$acx_csma_desc_title3,
|
790 |
'acx_csma_desc_subtitle3'=>$acx_csma_desc_subtitle3,
|
791 |
'acx_csma_desc_text_color3'=>$acx_csma_desc_text_color3,
|
792 |
+
'acx_csma_desc_content_color3'=>$acx_csma_desc_content_color3,
|
793 |
'acx_csma_footer_text3'=>$acx_csma_footer_text3,
|
794 |
'acx_csma_footer_color3'=>$acx_csma_footer_color3,
|
795 |
'acx_csma_social_link_title3'=>$acx_csma_social_link_title3,
|
823 |
'acx_csma_timer_head_color4'=>$acx_csma_timer_head_color4,
|
824 |
'acx_csma_show_progressbar4'=>$acx_csma_show_progressbar4,
|
825 |
'acx_csma_progress_bar_color4'=>$acx_csma_progress_bar_color4,
|
826 |
+
'acx_csma_progress_bar_bg_color4'=>$acx_csma_progress_bar_bg_color4,
|
827 |
+
'acx_csma_progress_bar_text_color4'=>$acx_csma_progress_bar_text_color4,
|
828 |
'acx_csma_custom_html_bottom_temp4'=>$acx_csma_custom_html_bottom_temp4,
|
829 |
+
'acx_csma_show_subscription4'=>$acx_csma_show_subscription4,
|
830 |
+
'acx_csma_show_subscription_name4'=>$acx_csma_show_subscription_name4,
|
831 |
+
'acx_csma_subscription_title4'=>$acx_csma_subscription_title4,
|
832 |
+
'acx_csma_subscription_title_color4'=>$acx_csma_subscription_title_color4,
|
833 |
+
'acx_csma_subscription_btn_text4'=>$acx_csma_subscription_btn_text4,
|
834 |
+
'acx_csma_subscription_btn_color4'=>$acx_csma_subscription_btn_color4,
|
835 |
+
'acx_csma_subscription_btn_bg_color4'=>$acx_csma_subscription_btn_bg_color4,
|
836 |
+
'acx_csma_subscribe_invalid4'=>$acx_csma_subscribe_invalid4,
|
837 |
+
'acx_csma_custom_html_subscrpt_below_sub4'=>$acx_csma_custom_html_subscrpt_below_sub4,
|
838 |
+
'acx_csma_subscribe_success4'=>$acx_csma_subscribe_success4,
|
839 |
'acx_csma_fb_link4'=>$acx_csma_fb_link4,
|
840 |
'acx_csma_twitter_link4'=>$acx_csma_twitter_link4,
|
841 |
'acx_csma_linkedin_link4'=>$acx_csma_linkedin_link4,
|
865 |
'acx_csma_timer_head_color5'=>$acx_csma_timer_head_color5,
|
866 |
'acx_csma_show_progressbar5'=>$acx_csma_show_progressbar5,
|
867 |
'acx_csma_progress_bar_color5'=>$acx_csma_progress_bar_color5,
|
868 |
+
'acx_csma_progress_bar_bg_color5'=>$acx_csma_progress_bar_bg_color5,
|
869 |
+
'acx_csma_progress_bar_text_color5'=>$acx_csma_progress_bar_text_color5,
|
870 |
'acx_csma_custom_html_bottom_temp5'=>$acx_csma_custom_html_bottom_temp5,
|
871 |
'acx_csma_show_subscription5'=>$acx_csma_show_subscription5,
|
872 |
+
'acx_csma_show_subscription_name5'=>$acx_csma_show_subscription_name5,
|
873 |
'acx_csma_subscribe_btn_text5'=>$acx_csma_subscribe_btn_text5,
|
874 |
'acx_csma_custom_html_top_sub'=>$acx_csma_custom_html_top_sub,
|
875 |
'acx_csma_custom_html_bottom_sub'=>$acx_csma_custom_html_bottom_sub,
|
888 |
acx_csma_update_array_value($acx_csma_appearence_array);
|
889 |
}
|
890 |
?>
|
891 |
+
<div class="updated"><p><strong><?php _e('Coming Soon/Maintenance From Acurax Settings Saved!.','coming-soon-maintenance-mode-from-acurax'); ?></strong></p></div>
|
892 |
<script type="text/javascript">
|
893 |
setTimeout(function(){
|
894 |
jQuery('.updated').fadeOut('slow');
|
905 |
$acx_csma_meta_title =get_option('acx_csma_meta_title');
|
906 |
if($acx_csma_meta_title =="")
|
907 |
{
|
908 |
+
$acx_csma_meta_title =__("Under Construction","coming-soon-maintenance-mode-from-acurax");
|
909 |
update_option('acx_csma_meta_title',$acx_csma_meta_title);
|
910 |
}
|
911 |
$acx_csma_meta_description=get_option('acx_csma_meta_description');
|
936 |
update_option('acx_csma_date_time',$timestamp1);
|
937 |
}
|
938 |
$acx_csma_ga_trakng_code=get_option('acx_csma_ga_trakng_code');
|
|
|
|
|
|
|
|
|
|
|
939 |
|
940 |
$acx_csma_ip_list=get_option('acx_csma_ip_list');
|
941 |
if($acx_csma_ip_list=="")
|
980 |
}
|
981 |
if(get_option('acx_csma_custom_html_val')=="")
|
982 |
{
|
983 |
+
$acx_csma_custom_html_val = "<html><head><title>".__('Page Under Maintenance','coming-soon-maintenance-mode-from-acurax')."</title></head><body>".__('Sorry, This page is under maintenance.','coming-soon-maintenance-mode-from-acurax')."</body></html>";
|
984 |
$acx_csma_custom_html_val = trim($acx_csma_custom_html_val);
|
985 |
|
986 |
update_option('acx_csma_custom_html_val',$acx_csma_custom_html_val);
|
1011 |
<div class="wrap">
|
1012 |
<div style='background: white none repeat scroll 0% 0%; height: 100%; margin-top: 5px; border-radius: 15px; min-height: 450px; box-sizing: border-box; margin-left: auto; margin-right: auto; width: 98%; padding: 1%;display: table;'>
|
1013 |
<?php acx_csma_hook_function('acx_csma_hook_mainoptions_above_title'); ?>
|
1014 |
+
<?php echo "<h2 class='acx_csma_page_h2'>" . __( 'Acurax Coming Soon / Maintenance Options','coming-soon-maintenance-mode-from-acurax' ) . "</h2>"; ?>
|
1015 |
+
<form name="acx_csma_form" id="acx_csma_form" method="post" action="<?php echo esc_url(str_replace( '%7E', '~',$_SERVER['REQUEST_URI'])); ?>"><hr/>
|
1016 |
<table>
|
1017 |
<tr>
|
1018 |
<td><input type="hidden" name="acx_csma_hidden" value="Y"/></td>
|
1019 |
</tr>
|
1020 |
<tr>
|
1021 |
+
<td><a id="acx_csma_tab_1" class="acx_csma_tab" onclick="javascript:acx_csma_show_div(1);"><?php _e('General Settings','coming-soon-maintenance-mode-from-acurax'); ?></a></td>
|
1022 |
+
<td><a id="acx_csma_tab_2" class="acx_csma_tab" onclick="javascript:acx_csma_show_div(2);"><?php _e('Appearance Settings','coming-soon-maintenance-mode-from-acurax'); ?></a></td>
|
1023 |
<?php acx_csma_hook_function('acx_csma_hook_mainoptions_add_settings'); ?>
|
1024 |
</tr>
|
1025 |
</table><hr/>
|
1028 |
<tr>
|
1029 |
<?php $acx_csma_activation_status=get_option('acx_csma_activation_status');
|
1030 |
?>
|
1031 |
+
<td><?php _e('Status:', 'coming-soon-maintenance-mode-from-acurax'); ?></td>
|
1032 |
+
<td><input type="radio" id="acx_csma_activate" name="acx_csma_activate" value="1" <?php if($acx_csma_activation_status=="1"){echo "checked='checked'";}?> /> <?php _e('Activate', 'coming-soon-maintenance-mode-from-acurax'); ?> <input type="radio" id="acx_csma_activate" name="acx_csma_activate" value="0"<?php if($acx_csma_activation_status =="0"){echo "checked='checked'";}?>/> <?php _e('Deactivate', 'coming-soon-maintenance-mode-from-acurax'); ?></td></tr>
|
1033 |
+
<tr><td><p><?php _e("Page Meta Title: ","coming-soon-maintenance-mode-from-acurax" ); ?></p></td>
|
1034 |
<td><input type="text" name="acx_csma_meta_title" value="<?php echo stripslashes(esc_attr(get_option('acx_csma_meta_title'))); ?>" size="20"/></td>
|
1035 |
</tr>
|
1036 |
+
<tr><td><p><?php _e("Page Meta Description: ","coming-soon-maintenance-mode-from-acurax" ); ?></p></td>
|
1037 |
<td><input type="text" name="acx_csma_meta_description" value="<?php echo stripslashes(esc_attr(get_option('acx_csma_meta_description'))); ?>" size="20"/></td></tr>
|
1038 |
+
<tr><td><p><?php _e("Page Meta Keywords: ","coming-soon-maintenance-mode-from-acurax" ); ?></p></td>
|
1039 |
<td><input type="text" name="acx_csma_meta_keywords" value="<?php echo stripslashes(esc_attr(get_option('acx_csma_meta_keywords'))); ?>" size="20"/></td></tr>
|
1040 |
+
<tr><td><?php _e("Upload Favicon: ","coming-soon-maintenance-mode-from-acurax" ); ?></td>
|
1041 |
<td>
|
1042 |
<?php
|
1043 |
$favicon_attach_id = get_option('acx_csma_favicon');
|
1051 |
<img id="acx_csma_favicon" src="<?php echo $url; ?>" style="width:20px;height:auto;">
|
1052 |
<input type="hidden" id="acx_csma_favicon_field" name="acx_csma_favicon_field" value="<?php echo $favicon_attach_id; ?>" size="20">
|
1053 |
|
1054 |
+
<a id="acx_csma_favicon_button" class="button"><?php _e("Pick a Favicon","coming-soon-maintenance-mode-from-acurax" ); ?></a>
|
1055 |
+
<span><?php _e("Recommended size 16 X 16 ","coming-soon-maintenance-mode-from-acurax" ); ?> </span>
|
1056 |
</td>
|
1057 |
</tr>
|
1058 |
+
<tr><td><?php _e("Expected Date and Time to end Maintenance mode: ","coming-soon-maintenance-mode-from-acurax" ); $format = "Y/m/d H:i"; ?></td>
|
1059 |
<td>
|
1060 |
<?php
|
1061 |
$timestamp1=get_option('acx_csma_date_time');
|
1062 |
?>
|
1063 |
+
<input type="text" value="<?php print date_i18n($format, $timestamp1); ?>" id="datetimepicker" name="acx_csma_date_time"/> <?php _e("Current Wordpress Time:","coming-soon-maintenance-mode-from-acurax" );?>
|
1064 |
<?php print date_i18n($format, current_time('timestamp')); ?><br><br></td></tr>
|
1065 |
<tr>
|
1066 |
+
<td><?php _e("Would you like to end the maintenance mode automatically on the above specified time?: " ,"coming-soon-maintenance-mode-from-acurax" ); ?></td>
|
1067 |
<?php $acx_csma_auto_launch=get_option('acx_csma_auto_launch');
|
1068 |
?>
|
1069 |
+
<td><input type="radio" id="acx_csma_auto_launch" name="acx_csma_auto_launch" value="1" <?php if($acx_csma_auto_launch=="1"){echo "checked='checked'";}?> /> <?php _e('YES', 'coming-soon-maintenance-mode-from-acurax'); ?> <input type="radio" id="acx_csma_auto_launch" name="acx_csma_auto_launch" value="0"<?php if($acx_csma_auto_launch =="0"){echo "checked='checked'";}?>/> <?php _e('NO', 'coming-soon-maintenance-mode-from-acurax'); ?></td></tr>
|
1070 |
<tr>
|
1071 |
<td><?php _e("Google Analytics Tracking Code: " ); ?></td>
|
1072 |
+
<td><textarea id="acx_csma_ga_trakng_code" name="acx_csma_ga_trakng_code" placeholder="<?php _e("Google Analytics Tracking Code Here","coming-soon-maintenance-mode-from-acurax");?>"><?php echo stripslashes($acx_csma_ga_trakng_code); ?></textarea></td>
|
1073 |
</tr>
|
1074 |
</table>
|
1075 |
<hr />
|
1076 |
<table>
|
1077 |
+
<tr><td><b><?php echo "<h4>" . __( 'Access Settings', 'coming-soon-maintenance-mode-from-acurax' ) . "</h4>"; ?></b></td></tr>
|
1078 |
+
<tr><td><?php _e("Do not show maintenance page for the following IPs:","coming-soon-maintenance-mode-from-acurax"); ?></td></tr>
|
1079 |
<tr>
|
1080 |
<td><p><?php $acx_csma_ip_list=get_option('acx_csma_ip_list');if(is_serialized($acx_csma_ip_list)){$acx_csma_ip_list=unserialize($acx_csma_ip_list);}?>
|
1081 |
<select name="acx_csma_ip_list[]" id="acx_csma_ip_list1" multiple>
|
1085 |
</select><br/><br/>
|
1086 |
<?php $acx_csma_real_ip = acx_csma_getrealip(); ?>
|
1087 |
<input type="text" name="acx_csma_txt_ip" id="acx_csma_txt_ip" value="<?php echo $acx_csma_real_ip; ?>"/>
|
1088 |
+
<input type="button" name="acx_csma_add_list" id="acx_csma_add_list" class="button" value="<?php _e("Add","coming-soon-maintenance-mode-from-acurax"); ?>" onclick="acx_csma_addNewItem(acx_csma_ip_list1,acx_csma_txt_ip);"/>
|
1089 |
+
<input type="button" name="acx_csma_del_list" id="acx_csma_del_list" class="button" value="<?php _e("Delete","coming-soon-maintenance-mode-from-acurax"); ?>" onClick="acx_csma_removeItem(acx_csma_ip_list1);"/></p>
|
1090 |
</td></tr>
|
1091 |
</table>
|
1092 |
|
1093 |
<table>
|
1094 |
+
<tr><td><?php _e("Do not show maintenance page for the following Roles:","coming-soon-maintenance-mode-from-acurax"); ?></td></tr>
|
1095 |
<?php
|
1096 |
$acx_csma_restrict_role=get_option('acx_csma_restrict_role');
|
1097 |
if($acx_csma_restrict_role =="")
|
1120 |
|
1121 |
?>
|
1122 |
<div id="acx_csma_tab_block_2" class="acx_csma_tab_block acx_csma_appearence" style="display:none;">
|
1123 |
+
<h3><?php _e("Choose Your Template","coming-soon-maintenance-mode-from-acurax"); ?></h3>
|
1124 |
<div id="main">
|
1125 |
<?php $acx_csma_template = get_option('acx_csma_template');
|
1126 |
$acx_csma_base_template = get_option('acx_csma_base_template');
|
1142 |
?>
|
1143 |
<div id="img_holder">
|
1144 |
<label for="<?php echo $value['index']; ?>">
|
1145 |
+
<img src="<?php echo $value['thumb'].'images/template'.$value['id'].'.png'; ?>"></label><br /><input type="radio" name="acx_csma_template" id="<?php echo $value['index']; ?>" value="<?php echo $value['id']; ?>" <?php if ($acx_csma_template==$value['id']) {echo "checked=checked";} ?> onclick="acx_csma_rdbtn_show_div(<?php echo $value['id']; ?>);"/><?php echo $value['name']." "; ?><a href="<?php echo esc_url($value['path']."?acx_csma_preview=".$value['id']); ?>" target="_blank"><?php _e("Preview","coming-soon-maintenance-mode-from-acurax"); ?></a>
|
1146 |
</div>
|
1147 |
<?php
|
1148 |
}
|
1154 |
?>
|
1155 |
<div id="img_holder">
|
1156 |
<label for="<?php echo $value['index']; ?>">
|
1157 |
+
<img src="<?php echo $value['thumb'].'images/template'.$value['id'].'.png'; ?>"></label><br /><input type="radio" name="acx_csma_template" id="<?php echo $value['index']; ?>" value="<?php echo $value['id']; ?>" <?php if ($acx_csma_template==$value['id']) {echo "checked=checked";}?> onclick="acx_csma_rdbtn_show_div(<?php echo $value['id']; ?>);"/><?php echo $value['name']." "; ?><a href="<?php echo esc_url($value['path']."?acx_csma_preview=".$value['id']); ?>" target="_blank"><?php _e("Preview","coming-soon-maintenance-mode-from-acurax"); ?></a>
|
1158 |
</div>
|
1159 |
<?php
|
1160 |
}
|
1175 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
1176 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1177 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1178 |
+
<?php _e("Background Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
1179 |
</span>
|
1180 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1181 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1182 |
<div class="acx_csmap_q_and_a_inside">
|
1183 |
+
<label><?php _e("Background Image:","coming-soon-maintenance-mode-from-acurax"); ?></label>
|
1184 |
<div class="acx_qa_field">
|
1185 |
<?php
|
1186 |
$acx_csma_background_image1_id = $acx_csma_appearence_array['1']['acx_csma_background_image1'];
|
1195 |
<img id="custom_uploader_template_1_img_field_preview" src="<?php echo $bg_image1_url; ?>" style="width:100px;height:auto;">
|
1196 |
<input type="hidden" id="custom_uploader_template_1_img_field" name="acx_csma_background_image1" value="<?php echo $acx_csma_background_image1_id; ?>" size="20">
|
1197 |
<br>
|
1198 |
+
<a id="acx_upload_button_img1" class="button"><?php _e("Choose Image","coming-soon-maintenance-mode-from-acurax"); ?></a>
|
1199 |
+
<a id="acx_upload_button_reset_img1" onclick="acx_csma_restore_default('custom_uploader_template_1_img_field_preview','<?php echo ACX_CSMA_BASE_LOCATION . 'templates/1/images/body_bg.jpg'; ?>','custom_uploader_template_1_img_field');" class="button"><?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?></a>
|
1200 |
</div> <!-- acx_qa_field -->
|
1201 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
1202 |
</div> <!-- acx_csmap_q_and_a -->
|
1206 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
1207 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1208 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1209 |
+
<?php _e("Logo Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
1210 |
</span>
|
1211 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1212 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1215 |
<table cellspacing="10">
|
1216 |
<tr><td>
|
1217 |
|
1218 |
+
<input type="radio" name="acx_csma_logo_choice1" class="acx_csma_logo" id="acx_csma_logo_image1" value="image" onclick="acx_csma_rdbtn_show_logo('image','1');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['1'])){if($acx_csma_appearence_array['1']['acx_csma_logo_choice'] == 'image' || $acx_csma_appearence_array['1']['acx_csma_logo_choice']==''){echo "checked='checked'";}} else{ echo "checked='checked'";} ?>/><p><?php _e("Logo Image","coming-soon-maintenance-mode-from-acurax"); ?></p></td><td>
|
1219 |
+
<input type="radio" name="acx_csma_logo_choice1" class="acx_csma_logo" id="acx_csma_logo_text1" value="text" onclick="acx_csma_rdbtn_show_logo('text','1');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['1'])){if($acx_csma_appearence_array['1']['acx_csma_logo_choice'] == 'text'){echo "checked='checked'";}}?>/><p><?php _e("Logo Text","coming-soon-maintenance-mode-from-acurax"); ?></p></td></tr>
|
1220 |
</table>
|
1221 |
</div><!--acx_csma_logo_main -->
|
1222 |
<div id="acx_show_logo_image_1" class="acx_csma_logo_block acx_csma_logo_block_1">
|
1231 |
|
1232 |
?>
|
1233 |
<label>
|
1234 |
+
<?php _e("Logo Image:","coming-soon-maintenance-mode-from-acurax"); ?> <span id="acx_csma_span">(<?php _e("Recommended size 231x67","coming-soon-maintenance-mode-from-acurax"); ?>)</span>
|
1235 |
</label>
|
1236 |
<div class="acx_qa_field">
|
1237 |
<img id="custom_uploader_template_1_logo_field_preview" src="<?php echo $logo1_url; ?>" style="width:100px;height:auto;">
|
1238 |
+
<input type="hidden" id="custom_uploader_template_1_logo_field" name="acx_csma_logo1" value="<?php echo $acx_csma_logo1_id; ?>" size="20"><br><a id="acx_upload_button_logo1" class="button"><?php _e("Pick a Logo","coming-soon-maintenance-mode-from-acurax"); ?></a>
|
1239 |
+
<a id="acx_upload_button_reset_logo1" onclick="acx_csma_restore_default('custom_uploader_template_1_logo_field_preview','<?php echo ACX_CSMA_BASE_LOCATION . 'templates/1/images/logo.png'; ?>','custom_uploader_template_1_logo_field');" class="button"><?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?></a>
|
1240 |
</div> <!-- acx_qa_field -->
|
1241 |
</div> <!-- acx_show_logo_image-->
|
1242 |
<div id="acx_show_logo_text_1" class="acx_csma_logo_block acx_csma_logo_block_1">
|
1243 |
<label>
|
1244 |
+
<?php _e("Logo Text:","coming-soon-maintenance-mode-from-acurax"); ?>
|
1245 |
</label>
|
1246 |
<div class="acx_qa_field">
|
1247 |
<?php if(is_array($acx_csma_appearence_array['1']) && array_key_exists('acx_csma_logo_text1',$acx_csma_appearence_array['1'])){$acx_csma_logo_text1=$acx_csma_appearence_array['1']['acx_csma_logo_text1'];
|
1251 |
}}else{
|
1252 |
$acx_csma_logo_text1=get_bloginfo('name');
|
1253 |
}?>
|
1254 |
+
<input type="text" name="acx_csma_logo_text1" placeholder="<?php _e("Logo Text Here","coming-soon-maintenance-mode-from-acurax"); ?>" value="<?php echo $acx_csma_logo_text1 = acx_csma_option_text_after_save_hook_fn($acx_csma_logo_text1); ?>" size="20"/>
|
1255 |
</div> <!-- acx_qa_field -->
|
1256 |
<label>
|
1257 |
+
<?php _e("Logo Text Color:","coming-soon-maintenance-mode-from-acurax"); ?> <a onclick="acx_csma_restore_default('','#ffffff','acx_csma_logo_text_color1');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1258 |
</label>
|
1259 |
<div class="acx_qa_field">
|
1260 |
<?php if(is_array($acx_csma_appearence_array['1']) && array_key_exists('acx_csma_logo_text_color1',$acx_csma_appearence_array['1'])){$acx_csma_logo_text_color1=$acx_csma_appearence_array['1']['acx_csma_logo_text_color1'];
|
1274 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
1275 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1276 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1277 |
+
<?php _e("Configure Heading Under Logo ","coming-soon-maintenance-mode-from-acurax"); ?></span>
|
1278 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1279 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1280 |
<div class="acx_csmap_q_and_a_inside">
|
1281 |
<label>
|
1282 |
+
<?php _e("Title Text: ","coming-soon-maintenance-mode-from-acurax"); ?>
|
1283 |
</label>
|
1284 |
<div class="acx_qa_field">
|
1285 |
<?php $acx_csma_title1 = $acx_csma_appearence_array['1']['acx_csma_title1']; ?>
|
1286 |
<input type="text" name="acx_csma_title1" id="acx_csma_title1" value="<?php echo $acx_csma_title1 = acx_csma_option_text_after_save_hook_fn($acx_csma_title1); ?>" size="20"/>
|
1287 |
</div> <!-- acx_qa_field -->
|
1288 |
<label>
|
1289 |
+
<?php _e("Title Color: ","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffffff','acx_csma_title_color1');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1290 |
</label>
|
1291 |
<div class="acx_qa_field">
|
1292 |
<input type="text" name="acx_csma_title_color1" id="acx_csma_title_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_title_color1']; ?>" size="20" />
|
1293 |
<div style="position: absolute;" id="acx_csma_title_color1_div"></div>
|
1294 |
</div> <!-- acx_qa_field -->
|
1295 |
<label>
|
1296 |
+
<?php _e("Subtitle Text:","coming-soon-maintenance-mode-from-acurax"); ?>
|
1297 |
</label>
|
1298 |
<div class="acx_qa_field">
|
1299 |
<?php $acx_csma_subtitle_text1 = $acx_csma_appearence_array['1']['acx_csma_subtitle_text1']; ?>
|
1300 |
<input type="text" name="acx_csma_subtitle_text1" id="acx_csma_subtitle_text1" value="<?php echo $acx_csma_subtitle_text1 = acx_csma_option_text_after_save_hook_fn($acx_csma_subtitle_text1); ?>" size="20"/>
|
1301 |
</div> <!-- acx_qa_field -->
|
1302 |
<label>
|
1303 |
+
<?php _e("Subtitle Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#fffaa9','acx_csma_subtitle_color1');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1304 |
</label>
|
1305 |
<div class="acx_qa_field">
|
1306 |
<input type="text" name="acx_csma_subtitle_color1" id="acx_csma_subtitle_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_subtitle_color1']; ?>" size="20"/>
|
1315 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
1316 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1317 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1318 |
+
<?php _e("Countdown Timer Heading & Custom HTML Settings ","coming-soon-maintenance-mode-from-acurax"); ?></span>
|
1319 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1320 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1321 |
<div class="acx_csmap_q_and_a_inside">
|
1322 |
|
1323 |
<label>
|
1324 |
+
<?php _e("Custom HTML Block Above Countdown Timer","coming-soon-maintenance-mode-from-acurax"); ?>
|
1325 |
</label>
|
1326 |
<div class="acx_qa_field">
|
1327 |
<?php $acx_csma_custom_html_top_temp1 = $acx_csma_appearence_array['1']['acx_csma_custom_html_top_temp1']; ?>
|
1328 |
+
<textarea id="acx_csma_custom_html_top_temp1" name="acx_csma_custom_html_top_temp1" placeholder="<?php _e("HTML Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo $temp_html1 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_temp1); ?></textarea>
|
1329 |
</div><!-- acx_qa_field -->
|
1330 |
<div class="f_w"></div>
|
1331 |
<label>
|
1332 |
+
<?php _e("Background Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ff7800','acx_csma_inside_bg_color1');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1333 |
</label>
|
1334 |
<div class="acx_qa_field">
|
1335 |
<input type="text" name="acx_csma_inside_bg_color1" id="acx_csma_inside_bg_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_inside_bg_color1']; ?>" size="20"/>
|
1336 |
<div style="position: absolute;" id="acx_csma_inside_bg_color1_div"></div>
|
1337 |
</div> <!-- acx_qa_field -->
|
1338 |
<label>
|
1339 |
+
<?php _e("Title:","coming-soon-maintenance-mode-from-acurax"); ?>
|
1340 |
</label>
|
1341 |
<div class="acx_qa_field">
|
1342 |
<?php $acx_csma_inside_title1 = $acx_csma_appearence_array['1']['acx_csma_inside_title1']; ?>
|
1343 |
<input type="text" name="acx_csma_inside_title1" value="<?php echo $acx_csma_inside_title1 = acx_csma_option_text_after_save_hook_fn($acx_csma_inside_title1); ?>" size="20"/>
|
1344 |
</div> <!-- acx_qa_field -->
|
1345 |
<label>
|
1346 |
+
<?php _e("Custom HTML Block below the tittle","coming-soon-maintenance-mode-from-acurax"); ?>
|
1347 |
</label>
|
1348 |
<div class="acx_qa_field">
|
1349 |
<?php $acx_csma_custom_html_top_temp1_title = $acx_csma_appearence_array['1']['acx_csma_custom_html_top_temp1_title']; ?>
|
1350 |
+
<textarea id="acx_csma_custom_html_top_temp1_title" name="acx_csma_custom_html_top_temp1_title" placeholder="<?php _e("HTML Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo $acx_csma_custom_html_top_temp1_title = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_temp1_title); ?></textarea>
|
1351 |
</div><!-- acx_qa_field -->
|
1352 |
<div class="f_w"></div>
|
1353 |
<label>
|
1354 |
+
<?php _e("Title Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffffff','acx_csma_inside_title_color1');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1355 |
</label>
|
1356 |
<div class="acx_qa_field">
|
1357 |
<input type="text" name="acx_csma_inside_title_color1" id="acx_csma_inside_title_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_inside_title_color1']; ?>" size="20"/>
|
1358 |
<div style="position: absolute;" id="acx_csma_inside_title_color1_div"></div>
|
1359 |
</div> <!-- acx_qa_field -->
|
1360 |
<label>
|
1361 |
+
<?php _e("Custom HTML Block Below Countdown Timer","coming-soon-maintenance-mode-from-acurax"); ?>
|
1362 |
</label>
|
1363 |
<div class="acx_qa_field">
|
1364 |
<?php $acx_csma_custom_html_bottom_temp1 =$acx_csma_appearence_array['1']['acx_csma_custom_html_bottom_temp1']; ?>
|
1365 |
+
<textarea id="acx_csma_custom_html_bottom_temp1" name="acx_csma_custom_html_bottom_temp1" placeholder="<?php _e("HTML Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo $acx_csma_custom_html_bottom_temp1 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_bottom_temp1); ?></textarea>
|
1366 |
|
1367 |
</div><!-- acx_qa_field -->
|
1368 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
1375 |
|
1376 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1377 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1378 |
+
<?php _e("Countdown Timer Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
1379 |
</span>
|
1380 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1381 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1382 |
<div class="acx_csmap_q_and_a_inside">
|
1383 |
<label>
|
1384 |
+
<?php _e("Would you like to show Timer?","coming-soon-maintenance-mode-from-acurax"); ?>
|
1385 |
</label>
|
1386 |
<div class="acx_qa_field">
|
1387 |
<select name="acx_csma_show_timer1">
|
1388 |
+
<option value="1" <?php if ($acx_csma_appearence_array['1']['acx_csma_show_timer1'] == "1") { echo 'selected="selected"'; } ?>><?php _e("Yes ","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
1389 |
+
<option value="0" <?php if ($acx_csma_appearence_array['1']['acx_csma_show_timer1'] == "0") { echo 'selected="selected"'; } ?>><?php _e("No","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
1390 |
</select>
|
1391 |
</div>
|
1392 |
<label>
|
1393 |
+
<?php _e("Background Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffffff','acx_csma_timer_bg_color1');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1394 |
</label>
|
1395 |
<div class="acx_qa_field">
|
1396 |
<input type="text" name="acx_csma_timer_bg_color1" id="acx_csma_timer_bg_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_timer_bg_color1']; ?>" size="20"/></td>
|
1397 |
<td><div style="position: absolute;" id="acx_csma_timer_bg_color1_div"></div>
|
1398 |
</div> <!-- acx_qa_field -->
|
1399 |
<label>
|
1400 |
+
<?php _e("Input text Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffffff','acx_csma_timer_iptext_color1');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1401 |
</label>
|
1402 |
<div class="acx_qa_field">
|
1403 |
<input type="text" name="acx_csma_timer_iptext_color1" id="acx_csma_timer_iptext_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_timer_iptext_color1']; ?>" size="20"/>
|
1404 |
<div style="position: absolute;" id="acx_csma_timer_iptext_color1_div"></div>
|
1405 |
</div> <!-- acx_qa_field -->
|
1406 |
<label>
|
1407 |
+
<?php _e("Input BackgroundColor:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#0b1c2c','acx_csma_timer_input_bg_color1');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1408 |
+
</label>
|
1409 |
+
<div class="acx_qa_field">
|
1410 |
+
<input type="text" name="acx_csma_timer_input_bg_color1" id="acx_csma_timer_input_bg_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_timer_input_bg_color1']; ?>" size="20"/>
|
1411 |
+
<div style="position: absolute;" id="acx_csma_timer_input_bg_color1_div"></div>
|
1412 |
+
</div> <!-- acx_qa_field -->
|
1413 |
+
<label>
|
1414 |
+
<?php _e("Heading Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ff7800','acx_csma_timer_head_color1');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1415 |
</label>
|
1416 |
<div class="acx_qa_field">
|
1417 |
<input type="text" name="acx_csma_timer_head_color1" id="acx_csma_timer_head_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_timer_head_color1']; ?>" size="20"/>
|
1427 |
|
1428 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1429 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1430 |
+
<?php _e("Subscription Form Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
1431 |
</span>
|
1432 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1433 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1434 |
<div class="acx_csmap_q_and_a_inside">
|
1435 |
|
1436 |
<label>
|
1437 |
+
<?php _e("Would you like to show Subscription form?","coming-soon-maintenance-mode-from-acurax"); ?>
|
1438 |
</label>
|
1439 |
<div class="acx_qa_field">
|
1440 |
<select name="acx_csma_show_subscription">
|
1441 |
+
<option value="1" <?php if ($acx_csma_appearence_array['1']['acx_csma_show_subscription'] == "1") { echo 'selected="selected"'; } ?>><?php _e("Yes ","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
1442 |
+
<option value="0" <?php if ($acx_csma_appearence_array['1']['acx_csma_show_subscription'] == "0") { echo 'selected="selected"'; } ?>><?php _e("No","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
1443 |
+
</select>
|
1444 |
+
</div>
|
1445 |
+
<label>
|
1446 |
+
<?php _e("Would you like to show name field in Subscription form?","coming-soon-maintenance-mode-from-acurax"); ?>
|
1447 |
+
</label>
|
1448 |
+
<div class="acx_qa_field">
|
1449 |
+
<select name="acx_csma_show_subscription_name">
|
1450 |
+
<option value="1" <?php if ($acx_csma_appearence_array['1']['acx_csma_show_subscription_name'] == "1") { echo 'selected="selected"'; } ?>><?php _e("Yes","coming-soon-maintenance-mode-from-acurax"); ?> </option>
|
1451 |
+
<option value="0" <?php if ($acx_csma_appearence_array['1']['acx_csma_show_subscription_name'] == "0") { echo 'selected="selected"'; } ?>><?php _e("No","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
1452 |
</select>
|
1453 |
</div>
|
|
|
1454 |
<label>
|
1455 |
+
<?php _e("Custom HTML Block Above Subscription form","coming-soon-maintenance-mode-from-acurax"); ?>
|
1456 |
</label>
|
1457 |
<div class="acx_qa_field">
|
1458 |
<?php $acx_csma_custom_html_top_sub1 = $acx_csma_appearence_array['1']['acx_csma_custom_html_top_sub1']; ?>
|
1459 |
+
<textarea id="acx_csma_custom_html_top_sub1" name="acx_csma_custom_html_top_sub1" placeholder="<?php _e("HTML Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo $acx_csma_custom_html_top_sub1 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_sub1); ?></textarea>
|
1460 |
</div><!-- acx_qa_field -->
|
1461 |
<div class="f_w"></div>
|
1462 |
|
1463 |
<label>
|
1464 |
+
<?php _e("Custom HTML Block Below Subscription form","coming-soon-maintenance-mode-from-acurax"); ?>
|
1465 |
</label>
|
1466 |
<div class="acx_qa_field">
|
1467 |
<?php $acx_csma_custom_html_bottom_sub1 = $acx_csma_appearence_array['1']['acx_csma_custom_html_bottom_sub1']; ?>
|
1468 |
+
<textarea id="acx_csma_custom_html_bottom_sub1" name="acx_csma_custom_html_bottom_sub1" placeholder="<?php _e("HTML Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo $acx_csma_custom_html_bottom_sub1 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_bottom_sub1); ?></textarea>
|
1469 |
</div><!-- acx_qa_field -->
|
1470 |
<div class="f_w"></div>
|
1471 |
<!-- **********************************************************************-->
|
1475 |
|
1476 |
|
1477 |
<label>
|
1478 |
+
<?php _e("Background Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#0b1c2c','acx_csma_subscribe_bg_color1');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1479 |
</label>
|
1480 |
<div class="acx_qa_field">
|
1481 |
<input type="text" name="acx_csma_subscribe_bg_color1" id="acx_csma_subscribe_bg_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_subscribe_bg_color1']; ?>" size="20"/>
|
1482 |
<div style="position: absolute;" id="acx_csma_subscribe_bg_color1_div"></div>
|
1483 |
</div> <!-- acx_qa_field -->
|
1484 |
<label>
|
1485 |
+
<?php _e("Button Text","coming-soon-maintenance-mode-from-acurax"); ?>
|
1486 |
</label>
|
1487 |
<div class="acx_qa_field">
|
1488 |
<?php $acx_csma_subscribe_btn_text1 = $acx_csma_appearence_array['1']['acx_csma_subscribe_btn_text1']; ?>
|
1490 |
</div> <!-- acx_qa_field -->
|
1491 |
|
1492 |
<label>
|
1493 |
+
<?php _e("Button Text Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffffff','acx_csma_subscribe_btn_text_color1');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1494 |
</label>
|
1495 |
<div class="acx_qa_field">
|
1496 |
<input type="text" name="acx_csma_subscribe_btn_text_color1" id="acx_csma_subscribe_btn_text_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_subscribe_btn_text_color1']; ?>" size="20"/>
|
1497 |
<div style="position: absolute;" id="acx_csma_subscribe_btn_text_color1_div"></div>
|
1498 |
</div> <!-- acx_qa_field -->
|
1499 |
<label>
|
1500 |
+
<?php _e("Button Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ff7800','acx_csma_subscribe_btn_color1');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1501 |
</label>
|
1502 |
<div class="acx_qa_field">
|
1503 |
<input type="text" name="acx_csma_subscribe_btn_color1" id="acx_csma_subscribe_btn_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_subscribe_btn_color1']; ?>" size="20"/>
|
1504 |
<div style="position: absolute;" id="acx_csma_subscribe_btn_color1_div"></div>
|
1505 |
</div> <!-- acx_qa_field -->
|
1506 |
<label>
|
1507 |
+
<?php _e("Button Hover Text Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#0b1c2c','acx_csma_subscribe_btn_hover_color1');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1508 |
</label>
|
1509 |
<div class="acx_qa_field">
|
1510 |
<input type="text" name="acx_csma_subscribe_btn_hover_color1" id="acx_csma_subscribe_btn_hover_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_subscribe_btn_hover_color1']; ?>" size="20"/>
|
1511 |
<div style="position: absolute;" id="acx_csma_subscribe_btn_hover_color1_div"></div>
|
1512 |
</div> <!-- acx_qa_field -->
|
1513 |
<label>
|
1514 |
+
<?php _e("Button Hover Background Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ff881e','acx_csma_subscribe_btn_hover_bgcolor1');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1515 |
</label>
|
1516 |
<div class="acx_qa_field">
|
1517 |
<input type="text" name="acx_csma_subscribe_btn_hover_bgcolor1" id="acx_csma_subscribe_btn_hover_bgcolor1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_subscribe_btn_hover_bgcolor1']; ?>" size="20"/>
|
1518 |
<div style="position: absolute;" id="acx_csma_subscribe_btn_hover_bgcolor1_div"></div>
|
1519 |
</div> <!-- acx_qa_field -->
|
1520 |
<label>
|
1521 |
+
<?php _e("Subscribe Title:","coming-soon-maintenance-mode-from-acurax"); ?>
|
1522 |
</label>
|
1523 |
<div class="acx_qa_field">
|
1524 |
<?php $acx_csma_subscribe_title1 = $acx_csma_appearence_array['1']['acx_csma_subscribe_title1']; ?>
|
1525 |
<input type="text" name="acx_csma_subscribe_title1" value="<?php echo $acx_csma_subscribe_title1 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_title1); ?>" size="20"/>
|
1526 |
</div> <!-- acx_qa_field -->
|
1527 |
<label>
|
1528 |
+
<?php _e("Subscribe Title Color:","coming-soon-maintenance-mode-from-acurax");?><a onclick="acx_csma_restore_default('','#ff7800','acx_csma_subscribe_title_color1');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1529 |
</label>
|
1530 |
<div class="acx_qa_field">
|
1531 |
<input type="text" name="acx_csma_subscribe_title_color1" id="acx_csma_subscribe_title_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_subscribe_title_color1']; ?>" size="20"/>
|
1532 |
<div style="position: absolute;" id="acx_csma_subscribe_title_color1_div"></div>
|
1533 |
</div> <!-- acx_qa_field -->
|
1534 |
<label>
|
1535 |
+
<?php _e("Subscribe Success Message:","coming-soon-maintenance-mode-from-acurax"); ?>
|
1536 |
</label>
|
1537 |
<div class="acx_qa_field">
|
1538 |
<?php $acx_csma_subscribe_success1 = $acx_csma_appearence_array['1']['acx_csma_subscribe_success1']; ?>
|
1539 |
<input type="text" name="acx_csma_subscribe_success1" value="<?php echo $acx_csma_subscribe_success1 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_success1); ?>" size="20"/>
|
1540 |
</div> <!-- acx_qa_field -->
|
1541 |
<label>
|
1542 |
+
<?php _e("Subscribe Invalid Message:","coming-soon-maintenance-mode-from-acurax"); ?>
|
1543 |
</label>
|
1544 |
<div class="acx_qa_field">
|
1545 |
<?php $acx_csma_subscribe_invalid1 = $acx_csma_appearence_array['1']['acx_csma_subscribe_invalid1']; ?>
|
1556 |
|
1557 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1558 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1559 |
+
<?php _e("Footer Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
1560 |
</span>
|
1561 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1562 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1563 |
<div class="acx_csmap_q_and_a_inside">
|
1564 |
|
1565 |
<label>
|
1566 |
+
<?php _e("Footer Background:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ff7800','acx_csma_footer_bgcolor1');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1567 |
</label>
|
1568 |
<div class="acx_qa_field">
|
1569 |
<input type="text" name="acx_csma_footer_bgcolor1" id="acx_csma_footer_bgcolor1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_footer_bgcolor1']; ?>" size="20"/>
|
1570 |
<div style="position: absolute;" id="acx_csma_footer_bgcolor1_div"></div></div> <!-- acx_qa_field -->
|
1571 |
<label>
|
1572 |
+
<?php _e("Footer Text:","coming-soon-maintenance-mode-from-acurax"); ?>
|
1573 |
</label>
|
1574 |
<div class="acx_qa_field">
|
1575 |
<?php $acx_csma_footer_text1 = $acx_csma_appearence_array['1']['acx_csma_footer_text1']; ?>
|
1576 |
<input type="text" name="acx_csma_footer_text1" value="<?php echo $acx_csma_footer_text1 = acx_csma_option_text_after_save_hook_fn($acx_csma_footer_text1); ?>" size="20"/>
|
1577 |
</div> <!-- acx_qa_field -->
|
1578 |
<label>
|
1579 |
+
<?php _e("Footer Text Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffffff','acx_csma_footer_text_color1');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1580 |
</label>
|
1581 |
<div class="acx_qa_field">
|
1582 |
<input type="text" name="acx_csma_footer_text_color1" id="acx_csma_footer_text_color1" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['1']['acx_csma_footer_text_color1']; ?>" size="20"/>
|
1591 |
|
1592 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1593 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1594 |
+
<?php _e("Custom css Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
1595 |
</span>
|
1596 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1597 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1598 |
<div class="acx_csmap_q_and_a_inside">
|
1599 |
|
1600 |
<label>
|
1601 |
+
<?php _e("Custom css","coming-soon-maintenance-mode-from-acurax"); ?>
|
1602 |
</label>
|
1603 |
<div class="acx_qa_field">
|
1604 |
<?php $acx_csma_custom_css_temp1 = $acx_csma_appearence_array['1']['acx_csma_custom_css_temp1']; ?>
|
1605 |
+
<textarea id="acx_csma_custom_css_temp1" name="acx_csma_custom_css_temp1" placeholder="<?php _e("CSS Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo stripslashes($acx_csma_custom_css_temp1); ?></textarea>
|
1606 |
</div><!-- acx_qa_field -->
|
1607 |
<div class="f_w"></div>
|
1608 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
1627 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
1628 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1629 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1630 |
+
<?php _e("Background Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
1631 |
</span>
|
1632 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1633 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1634 |
<div class="acx_csmap_q_and_a_inside">
|
1635 |
+
<label><?php _e("Background Color:","coming-soon-maintenance-mode-from-acurax"); ?>
|
1636 |
+
<a onclick="acx_csma_restore_default('','#e4e4e4','acx_csma_bg_color2');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1637 |
</label>
|
1638 |
<div class="acx_qa_field">
|
1639 |
<input type="text" name="acx_csma_bg_color2" id="acx_csma_bg_color2" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_bg_color2']; ?>" onblur="acx_csma_validate(this.value);" size="20"/>
|
1649 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
1650 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1651 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1652 |
+
<?php _e("Logo Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
1653 |
</span>
|
1654 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1655 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1657 |
<div class="acx_csma_logo_main">
|
1658 |
<table cellspacing="10">
|
1659 |
<tr><td>
|
1660 |
+
<input type="radio" name="acx_csma_logo_choice2" class="acx_csma_logo" id="acx_csma_logo_image2" value="image" onclick="acx_csma_rdbtn_show_logo('image','2');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['2'])){if($acx_csma_appearence_array['2']['acx_csma_logo_choice'] == 'image' || $acx_csma_appearence_array['2']['acx_csma_logo_choice']==''){echo "checked='checked'";}}else{ echo "checked='checked'";} ?>/><?php _e("Logo Image","coming-soon-maintenance-mode-from-acurax"); ?></td><td>
|
1661 |
+
<input type="radio" name="acx_csma_logo_choice2" class="acx_csma_logo" id="acx_csma_logo_text2" value="text" onclick="acx_csma_rdbtn_show_logo('text','2');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['2'])){if($acx_csma_appearence_array['2']['acx_csma_logo_choice'] == 'text'){echo "checked='checked'";}}?>/><?php _e("Logo Text","coming-soon-maintenance-mode-from-acurax"); ?></td></tr></table>
|
1662 |
</div><!--acx_csma_logo_main -->
|
1663 |
<div id="acx_show_logo_image_2" class="acx_csma_logo_block acx_csma_logo_block_2" style="display:none;">
|
1664 |
<label>
|
1665 |
+
<?php _e("Logo:","coming-soon-maintenance-mode-from-acurax"); ?><span id="acx_csma_span">(<?php _e("Recommended size 99x27,Image must be png and transparent","coming-soon-maintenance-mode-from-acurax"); ?>)</span>
|
1666 |
</label>
|
1667 |
<div class="acx_qa_field">
|
1668 |
<?php
|
1678 |
<img id="custom_uploader_template_2_logo_field_preview" src="<?php echo $logo2_url; ?>" style="width:100px;height:auto;">
|
1679 |
<input type="hidden" id="custom_uploader_template_2_logo_field" name="acx_csma_logo2" value="<?php echo $acx_csma_logo2_id; ?>" size="20">
|
1680 |
<br>
|
1681 |
+
<a id="acx_upload_button_logo2" class="button">Pick a <?php _e("Logo","coming-soon-maintenance-mode-from-acurax"); ?></a>
|
1682 |
+
<a id="acx_upload_button_logo2" onclick="acx_csma_restore_default('custom_uploader_template_2_logo_field_preview','<?php echo ACX_CSMA_BASE_LOCATION . 'templates/2/images/logo.png'; ?>','custom_uploader_template_2_logo_field');" class="button"><?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?></a>
|
1683 |
</div> <!-- acx_qa_field -->
|
1684 |
</div><!--acx_show_logo_image-->
|
1685 |
<div id="acx_show_logo_text_2" class="acx_csma_logo_block acx_csma_logo_block_2" style="display:none;">
|
1686 |
<label>
|
1687 |
+
<?php _e("Logo Text:","coming-soon-maintenance-mode-from-acurax"); ?>
|
1688 |
</label>
|
1689 |
<div class="acx_qa_field">
|
1690 |
<?php if(array_key_exists('acx_csma_logo_text2',$acx_csma_appearence_array['2'])){$acx_csma_logo_text2=$acx_csma_appearence_array['2']['acx_csma_logo_text2'];
|
1694 |
}}else{
|
1695 |
$acx_csma_logo_text2=get_bloginfo('name');
|
1696 |
}?>
|
1697 |
+
<input type="text" name="acx_csma_logo_text2" placeholder="<?php _e("Logo Text Here","coming-soon-maintenance-mode-from-acurax"); ?>" value="<?php echo $acx_csma_logo_text2 = acx_csma_option_text_after_save_hook_fn($acx_csma_logo_text2); ?>" size="20"/>
|
1698 |
</div> <!-- acx_qa_field -->
|
1699 |
<label>
|
1700 |
+
<?php _e("Logo Text Color:","coming-soon-maintenance-mode-from-acurax"); ?> <a onclick="acx_csma_restore_default('','#ffffff','acx_csma_logo_text_color2');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1701 |
</label>
|
1702 |
<div class="acx_qa_field">
|
1703 |
<?php if(array_key_exists('acx_csma_logo_text_color2',$acx_csma_appearence_array['2'])){$acx_csma_logo_text_color2=$acx_csma_appearence_array['2']['acx_csma_logo_text_color2'];
|
1719 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
1720 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1721 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1722 |
+
<?php _e("Heading and Subheading Settings","coming-soon-maintenance-mode-from-acurax"); ?></span>
|
1723 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1724 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1725 |
<div class="acx_csmap_q_and_a_inside">
|
1726 |
<label>
|
1727 |
+
<?php _e("Title Text : ","coming-soon-maintenance-mode-from-acurax"); ?>
|
1728 |
</label>
|
1729 |
<div class="acx_qa_field">
|
1730 |
<?php $acx_csma_title2 = $acx_csma_appearence_array['2']['acx_csma_title2']; ?>
|
1731 |
<input type="text" name="acx_csma_title2" id="acx_csma_title2" value="<?php echo $acx_csma_title2 = acx_csma_option_text_after_save_hook_fn($acx_csma_title2); ?>" size="20"/>
|
1732 |
</div> <!-- acx_qa_field -->
|
1733 |
<label>
|
1734 |
+
<?php _e("Title Color:","coming-soon-maintenance-mode-from-acurax"); ?>
|
1735 |
+
<a onclick="acx_csma_restore_default('','#000000','acx_csma_title_color2');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1736 |
|
1737 |
</label>
|
1738 |
<div class="acx_qa_field">
|
1740 |
<div style="position: absolute;" id="acx_csma_title_color2_div"></div>
|
1741 |
</div> <!-- acx_qa_field -->
|
1742 |
<label>
|
1743 |
+
<?php _e("Subtitle Text:","coming-soon-maintenance-mode-from-acurax"); ?>
|
1744 |
</label>
|
1745 |
<div class="acx_qa_field">
|
1746 |
<?php $acx_csma_subtitle_text2 = $acx_csma_appearence_array['2']['acx_csma_subtitle_text2']; ?>
|
1747 |
<input type="text" name="acx_csma_subtitle_text2" id="acx_csma_subtitle_text2" value="<?php echo $acx_csma_subtitle_text2 = acx_csma_option_text_after_save_hook_fn($acx_csma_subtitle_text2); ?>" size="20"/>
|
1748 |
</div> <!-- acx_qa_field -->
|
1749 |
<label>
|
1750 |
+
<?php _e("Subtitle Color:","coming-soon-maintenance-mode-from-acurax"); ?>
|
1751 |
+
<a onclick="acx_csma_restore_default('','#000000','acx_csma_subtitle_color2');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1752 |
</label>
|
1753 |
<div class="acx_qa_field">
|
1754 |
<input type="text" name="acx_csma_subtitle_color2" id="acx_csma_subtitle_color2" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_subtitle_color2']; ?>" size="20"/>
|
1755 |
<div style="position: absolute;" id="acx_csma_subtitle_color2_div"></div>
|
1756 |
</div> <!-- acx_qa_field -->
|
1757 |
<label>
|
1758 |
+
<?php _e("Background Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffd800','acx_csma_inside_bg_color2');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1759 |
</label>
|
1760 |
<div class="acx_qa_field">
|
1761 |
<input type="text" name="acx_csma_inside_bg_color2" id="acx_csma_inside_bg_color2" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_inside_bg_color2']; ?>" size="20"/>
|
1770 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
1771 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1772 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1773 |
+
<?php _e("Countdown Timer, Subscription Form & Custom HTML Settings","coming-soon-maintenance-mode-from-acurax"); ?> </span>
|
1774 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1775 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1776 |
<div class="acx_csmap_q_and_a_inside">
|
1777 |
<label>
|
1778 |
+
<?php _e("Would you like to show Timer?","coming-soon-maintenance-mode-from-acurax"); ?>
|
1779 |
</label>
|
1780 |
<div class="acx_qa_field">
|
1781 |
<select name="acx_csma_show_timer2">
|
1782 |
+
<option value="1" <?php if ($acx_csma_appearence_array['2']['acx_csma_show_timer2'] == "1") { echo 'selected="selected"'; } ?>><?php _e("Yes","coming-soon-maintenance-mode-from-acurax"); ?> </option>
|
1783 |
+
<option value="0" <?php if ($acx_csma_appearence_array['2']['acx_csma_show_timer2'] == "0") { echo 'selected="selected"'; } ?>><?php _e("No","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
1784 |
</select>
|
1785 |
</div>
|
1786 |
<label>
|
1787 |
+
<?php _e("Custom HTML Block above Timer","coming-soon-maintenance-mode-from-acurax"); ?>
|
1788 |
</label>
|
1789 |
<div class="acx_qa_field">
|
1790 |
<?php $acx_csma_custom_html_above_timer =$acx_csma_appearence_array['2']['acx_csma_custom_html_above_timer']; ?>
|
1791 |
+
<textarea id="acx_csma_custom_html_above_timer" name="acx_csma_custom_html_above_timer" placeholder="<?php _e("HTML Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo $acx_csma_custom_html_above_timer = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_above_timer); ?></textarea>
|
1792 |
</div><!-- acx_qa_field -->
|
1793 |
<div class="f_w"></div>
|
1794 |
<label>
|
1795 |
+
<?php _e("Custom HTML Block below Timer","coming-soon-maintenance-mode-from-acurax"); ?>
|
1796 |
</label>
|
1797 |
<div class="acx_qa_field">
|
1798 |
<?php $acx_csma_custom_html_top_timer =$acx_csma_appearence_array['2']['acx_csma_custom_html_top_timer']; ?>
|
1799 |
+
<textarea id="acx_csma_custom_html_top_timer" name="acx_csma_custom_html_top_timer" placeholder="<?php _e("HTML Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo $acx_csma_custom_html_top_timer = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_timer); ?></textarea>
|
1800 |
</div><!-- acx_qa_field -->
|
1801 |
<div class="f_w"></div>
|
1802 |
<label>
|
1803 |
+
<?php _e("Timer Block Title","coming-soon-maintenance-mode-from-acurax"); ?>
|
1804 |
</label>
|
1805 |
<div class="acx_qa_field">
|
1806 |
<?php $acx_csma_timer_title2 = $acx_csma_appearence_array['2']['acx_csma_timer_title2']; ?>
|
1807 |
<input type="text" name="acx_csma_timer_title2" value="<?php echo $acx_csma_timer_title2 = acx_csma_option_text_after_save_hook_fn($acx_csma_timer_title2); ?>" size="20"/>
|
1808 |
</div> <!-- acx_qa_field -->
|
1809 |
<label>
|
1810 |
+
<?php _e("Timer Title Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#00000','acx_csma_timer_title_color2');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1811 |
+
</label>
|
1812 |
+
<div class="acx_qa_field">
|
1813 |
+
<input type="text" name="acx_csma_timer_title_color2" id="acx_csma_timer_title_color2" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_timer_title_color2']; ?>" size="20"/>
|
1814 |
+
<div style="position: absolute;" id="acx_csma_timer_title_color2_div"></div>
|
1815 |
+
</div> <!-- acx_qa_field -->
|
1816 |
+
<label>
|
1817 |
+
<?php _e("Would you like to show Subscription form?","coming-soon-maintenance-mode-from-acurax"); ?>
|
1818 |
</label>
|
1819 |
<div class="acx_qa_field">
|
1820 |
<select name="acx_csma_show_subscription2">
|
1821 |
+
<option value="1" <?php if ($acx_csma_appearence_array['2']['acx_csma_show_subscription2'] == "1") { echo 'selected="selected"'; } ?>><?php _e("Yes","coming-soon-maintenance-mode-from-acurax"); ?> </option>
|
1822 |
+
<option value="0" <?php if ($acx_csma_appearence_array['2']['acx_csma_show_subscription2'] == "0") { echo 'selected="selected"'; } ?>><?php _e("No","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
1823 |
+
</select>
|
1824 |
+
</div>
|
1825 |
+
<label>
|
1826 |
+
<?php _e("Would you like to show name field in Subscription form?","coming-soon-maintenance-mode-from-acurax"); ?>
|
1827 |
+
</label>
|
1828 |
+
<div class="acx_qa_field">
|
1829 |
+
<select name="acx_csma_show_subscription_name2">
|
1830 |
+
<option value="1" <?php if ($acx_csma_appearence_array['2']['acx_csma_show_subscription_name2'] == "1") { echo 'selected="selected"'; } ?>><?php _e("Yes","coming-soon-maintenance-mode-from-acurax"); ?> </option>
|
1831 |
+
<option value="0" <?php if ($acx_csma_appearence_array['2']['acx_csma_show_subscription_name2'] == "0") { echo 'selected="selected"'; } ?>><?php _e("No","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
1832 |
</select>
|
1833 |
</div>
|
1834 |
<label>
|
1835 |
+
<?php _e("Subscribe Button Text","coming-soon-maintenance-mode-from-acurax"); ?>
|
1836 |
</label>
|
1837 |
<div class="acx_qa_field">
|
1838 |
<?php $acx_csma_subscribe_btn_text2 = $acx_csma_appearence_array['2']['acx_csma_subscribe_btn_text2']; ?>
|
1839 |
<input type="text" name="acx_csma_subscribe_btn_text2" value="<?php echo $acx_csma_subscribe_btn_text2 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_btn_text2); ?>" size="20"/>
|
1840 |
</div> <!-- acx_qa_field -->
|
1841 |
+
<label><?php _e("Subscribe Button TextColor:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffd800','acx_csma_subscribe_btn_color2');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1842 |
</label>
|
1843 |
<div class="acx_qa_field">
|
1844 |
<input type="text" name="acx_csma_subscribe_btn_color2" id="acx_csma_subscribe_btn_color2" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_subscribe_btn_color2']; ?>" size="20"/>
|
1845 |
<div style="position: absolute;" id="acx_csma_subscribe_btn_color2_div"></div>
|
1846 |
</div> <!-- acx_qa_field -->
|
1847 |
<label>
|
1848 |
+
<?php _e("Subscribe Success Message:","coming-soon-maintenance-mode-from-acurax"); ?>
|
1849 |
</label>
|
1850 |
<div class="acx_qa_field">
|
1851 |
<?php $acx_csma_subscribe_success2 = $acx_csma_appearence_array['2']['acx_csma_subscribe_success2']; ?>
|
1852 |
<input type="text" name="acx_csma_subscribe_success2" value="<?php echo $acx_csma_subscribe_success2 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_success2); ?>" size="20"/>
|
1853 |
</div> <!-- acx_qa_field -->
|
1854 |
<label>
|
1855 |
+
<?php _e("Subscribe Invalid Message:","coming-soon-maintenance-mode-from-acurax"); ?>
|
1856 |
</label>
|
1857 |
<div class="acx_qa_field">
|
1858 |
<?php $acx_csma_subscribe_invalid2 = $acx_csma_appearence_array['2']['acx_csma_subscribe_invalid2'] ;?>
|
1860 |
</div> <!-- acx_qa_field -->
|
1861 |
|
1862 |
<label>
|
1863 |
+
<?php _e("Timer Input BackgroundColor:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffffff','acx_csma_timer_input_bg_color2');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1864 |
</label>
|
1865 |
<div class="acx_qa_field">
|
1866 |
<input type="text" name="acx_csma_timer_input_bg_color2" id="acx_csma_timer_input_bg_color2" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_timer_input_bg_color2']; ?>" size="20"/>
|
1867 |
<div style="position: absolute;" id="acx_csma_timer_input_bg_color2_div"></div>
|
1868 |
</div> <!-- acx_qa_field -->
|
1869 |
<label>
|
1870 |
+
<?php _e("Input TextColor:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#000000','acx_csma_timer_iptext_color2');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1871 |
</label>
|
1872 |
<div class="acx_qa_field">
|
1873 |
<input type="text" name="acx_csma_timer_iptext_color2" id="acx_csma_timer_iptext_color2" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_timer_iptext_color2']; ?>" size="20"/>
|
1874 |
<div style="position: absolute;" id="acx_csma_timer_iptext_color2_div"></div>
|
1875 |
</div> <!-- acx_qa_field -->
|
1876 |
<label>
|
1877 |
+
<?php _e("Heading Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#000000','acx_csma_timer_head_color2');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1878 |
</label>
|
1879 |
<div class="acx_qa_field">
|
1880 |
<input type="text" name="acx_csma_timer_head_color2" id="acx_csma_timer_head_color2" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_timer_head_color2']; ?>" size="20"/>
|
1881 |
<div style="position: absolute;" id="acx_csma_timer_head_color2_div"></div>
|
1882 |
</div> <!-- acx_qa_field -->
|
1883 |
<label>
|
1884 |
+
<?php _e("Custom HTML Block Above Description Block","coming-soon-maintenance-mode-from-acurax"); ?>
|
1885 |
</label>
|
1886 |
<div class="acx_qa_field">
|
1887 |
<?php $acx_csma_custom_html_top_temp2 =$acx_csma_appearence_array['2']['acx_csma_custom_html_top_temp2']; ?>
|
1888 |
+
<textarea id="acx_csma_custom_html_top_temp2" name="acx_csma_custom_html_top_temp2" placeholder="<?php _e("HTML Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo $acx_csma_custom_html_top_temp2 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_temp2); ?></textarea>
|
1889 |
</div><!-- acx_qa_field -->
|
1890 |
<div class="f_w"></div>
|
1891 |
<label>
|
1892 |
+
<?php _e("Description Title:","coming-soon-maintenance-mode-from-acurax"); ?>
|
1893 |
</label>
|
1894 |
<div class="acx_qa_field">
|
1895 |
<?php $acx_csma_desc_title2 = $acx_csma_appearence_array['2']['acx_csma_desc_title2']; ?>
|
1896 |
<input type="text" name="acx_csma_desc_title2" id="acx_csma_desc_title2" value="<?php echo $acx_csma_desc_title2 = acx_csma_option_text_after_save_hook_fn($acx_csma_desc_title2); ?>" size="20"/>
|
1897 |
</div> <!-- acx_qa_field -->
|
1898 |
<label>
|
1899 |
+
<?php _e("Description Content:","coming-soon-maintenance-mode-from-acurax"); ?>
|
1900 |
</label>
|
1901 |
<div class="acx_qa_field">
|
1902 |
<?php $acx_csma_desc_subtitle2 = $acx_csma_appearence_array['2']['acx_csma_desc_subtitle2'];?>
|
1904 |
</div> <!-- acx_qa_field -->
|
1905 |
<div class="f_w"></div>
|
1906 |
<label>
|
1907 |
+
<?php _e("Description Heading Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#000000','acx_csma_desc_text_color2');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1908 |
</label>
|
1909 |
<div class="acx_qa_field">
|
1910 |
<input type="text" name="acx_csma_desc_text_color2" id="acx_csma_desc_text_color2" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_desc_text_color2']; ?>" size="20"/>
|
1911 |
<div style="position: absolute;" id="acx_csma_desc_text_color2_div"></div>
|
1912 |
</div> <!-- acx_qa_field -->
|
1913 |
+
<label>
|
1914 |
+
<?php _e("Description TextColor:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#000000','acx_csma_desc_content_color2');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1915 |
+
</label>
|
1916 |
+
<div class="acx_qa_field">
|
1917 |
+
<input type="text" name="acx_csma_desc_content_color2" id="acx_csma_desc_content_color2" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_desc_content_color2']; ?>" size="20"/>
|
1918 |
+
<div style="position: absolute;" id="acx_csma_desc_content_color2_div"></div>
|
1919 |
+
</div> <!-- acx_qa_field -->
|
1920 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
1921 |
</div> <!-- acx_csmap_q_and_a -->
|
1922 |
</div> <!-- acx_csmap_q_and_a_h -->
|
1925 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
1926 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1927 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1928 |
+
<?php _e("Social Media Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
1929 |
</span>
|
1930 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1931 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1932 |
<div class="acx_csmap_q_and_a_inside">
|
1933 |
<label>
|
1934 |
+
<?php _e("Social Media Text:","coming-soon-maintenance-mode-from-acurax"); ?>
|
1935 |
+
</label>
|
1936 |
+
<div class="acx_qa_field">
|
1937 |
+
<?php $acx_csma_social_link_title2 = $acx_csma_appearence_array['2']['acx_csma_social_link_title2']; ?>
|
1938 |
+
<input type="text" name="acx_csma_social_link_title2" value="<?php echo $acx_csma_social_link_title2 = acx_csma_option_text_after_save_hook_fn($acx_csma_social_link_title2 ); ?>" size="20"/>
|
1939 |
+
</div> <!-- acx_qa_field -->
|
1940 |
+
<label>
|
1941 |
+
<?php _e("Social Media TextColor:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffffff','acx_csma_social_link_color2');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
1942 |
+
</label>
|
1943 |
+
<div class="acx_qa_field">
|
1944 |
+
<input type="text" name="acx_csma_social_link_color2" id="acx_csma_social_link_color2" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['2']['acx_csma_social_link_color2']; ?>" size="20"/>
|
1945 |
+
<div style="position: absolute;" id="acx_csma_social_link_color2_div"></div>
|
1946 |
+
</div> <!-- acx_qa_field -->
|
1947 |
+
<label>
|
1948 |
+
<?php _e("Facebook Link","coming-soon-maintenance-mode-from-acurax"); ?>
|
1949 |
</label>
|
1950 |
<div class="acx_qa_field">
|
1951 |
<input type="text" name="acx_csma_fb_link2" id="acx_csma_fb_link2" value="<?php echo esc_url($acx_csma_appearence_array['2']['acx_csma_fb_link2']); ?>" size="20"/>
|
1952 |
</div> <!-- acx_qa_field -->
|
1953 |
<label>
|
1954 |
+
<?php _e("Twitter Link","coming-soon-maintenance-mode-from-acurax"); ?>
|
1955 |
</label>
|
1956 |
<div class="acx_qa_field">
|
1957 |
<input type="text" name="acx_csma_twitter_link2" id="acx_csma_twitter_link2" value="<?php echo esc_url($acx_csma_appearence_array['2']['acx_csma_twitter_link2']); ?>" size="20"/>
|
1958 |
</div> <!-- acx_qa_field -->
|
1959 |
<label>
|
1960 |
+
<?php _e("LinkedIn Link","coming-soon-maintenance-mode-from-acurax"); ?>
|
1961 |
</label>
|
1962 |
<div class="acx_qa_field">
|
1963 |
<input type="text" name="acx_csma_linkedin_link2" id="acx_csma_linkedin_link2" value="<?php echo esc_url($acx_csma_appearence_array['2']['acx_csma_linkedin_link2']); ?>" size="20"/>
|
1971 |
|
1972 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
1973 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
1974 |
+
<?php _e("Custom css Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
1975 |
</span>
|
1976 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
1977 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
1978 |
<div class="acx_csmap_q_and_a_inside">
|
1979 |
|
1980 |
<label>
|
1981 |
+
<?php _e("Custom css","coming-soon-maintenance-mode-from-acurax"); ?>
|
1982 |
</label>
|
1983 |
<div class="acx_qa_field">
|
1984 |
<?php $acx_csma_custom_css_temp2 = $acx_csma_appearence_array['2']['acx_csma_custom_css_temp2']; ?>
|
1985 |
+
<textarea id="acx_csma_custom_css_temp2" name="acx_csma_custom_css_temp2" placeholder="<?php _e("CSS Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo stripslashes($acx_csma_custom_css_temp2); ?></textarea>
|
1986 |
</div><!-- acx_qa_field -->
|
1987 |
<div class="f_w"></div>
|
1988 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
2000 |
|
2001 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2002 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2003 |
+
<?php _e("Logo Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
2004 |
</span>
|
2005 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2006 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2008 |
<div class="acx_csma_logo_main">
|
2009 |
<table cellspacing="10">
|
2010 |
<tr><td>
|
2011 |
+
<input type="radio" name="acx_csma_logo_choice3" class="acx_csma_logo" id="acx_csma_logo_image3" value="image" onclick="acx_csma_rdbtn_show_logo('image','3');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['3'])){if($acx_csma_appearence_array['3']['acx_csma_logo_choice'] == 'image' || $acx_csma_appearence_array['3']['acx_csma_logo_choice']==''){echo "checked='checked'";}}else{ echo "checked='checked'";} ?>/><?php _e("Logo Image","coming-soon-maintenance-mode-from-acurax"); ?></td><td>
|
2012 |
+
<input type="radio" name="acx_csma_logo_choice3" class="acx_csma_logo" id="acx_csma_logo_text3" value="text" onclick="acx_csma_rdbtn_show_logo('text','3');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['3'])){ if($acx_csma_appearence_array['3']['acx_csma_logo_choice'] == 'text'){echo "checked='checked'";}}?>/><?php _e("Logo Text","coming-soon-maintenance-mode-from-acurax"); ?></td></tr></table>
|
2013 |
</div><!--acx_csma_logo_main -->
|
2014 |
<div id="acx_show_logo_image_3" class="acx_csma_logo_block acx_csma_logo_block_3" style="display:none;">
|
2015 |
<label>
|
2016 |
+
<?php _e("Logo:","coming-soon-maintenance-mode-from-acurax"); ?><span id="acx_csma_span">(<?php _e("Recommended size 161x38","coming-soon-maintenance-mode-from-acurax"); ?>)</span>
|
2017 |
</label>
|
2018 |
<div class="acx_qa_field">
|
2019 |
<?php
|
2028 |
?>
|
2029 |
|
2030 |
<img id="custom_uploader_template_3_logo_field_preview" src="<?php echo $logo3_url; ?>" style="width:100px;height:auto;">
|
2031 |
+
<input type="hidden" id="custom_uploader_template_3_logo_field" name="acx_csma_logo3" value="<?php echo $acx_csma_logo3_id; ?>" size="20"><br><a id="acx_upload_button_logo3" class="button"><?php _e("Pick a Logo","coming-soon-maintenance-mode-from-acurax"); ?></a>
|
2032 |
+
<a id="acx_upload_button_reset_img1" onclick="acx_csma_restore_default('custom_uploader_template_3_logo_field_preview','<?php echo ACX_CSMA_BASE_LOCATION . 'templates/3/images/logo.png'; ?>','custom_uploader_template_3_logo_field');" class="button"><?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?></a>
|
2033 |
|
2034 |
</div> <!-- acx_qa_field -->
|
2035 |
</div><!--acx_show_logo_image -->
|
2036 |
<div id="acx_show_logo_text_3" class="acx_csma_logo_block acx_csma_logo_block_3" style="display:none;">
|
2037 |
<label>
|
2038 |
+
<?php _e("Logo Text:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2039 |
</label>
|
2040 |
<div class="acx_qa_field">
|
2041 |
<?php if(array_key_exists('acx_csma_logo_text3',$acx_csma_appearence_array['3'])){ $acx_csma_logo_text3=$acx_csma_appearence_array['3']['acx_csma_logo_text3'];
|
2045 |
}}else{
|
2046 |
$acx_csma_logo_text3=get_bloginfo('name');
|
2047 |
}?>
|
2048 |
+
<input type="text" name="acx_csma_logo_text3" placeholder="<?php _e("Logo Text Here","coming-soon-maintenance-mode-from-acurax"); ?>" value="<?php echo $acx_csma_logo_text3 = acx_csma_option_text_after_save_hook_fn($acx_csma_logo_text3); ?>" size="20"/>
|
2049 |
</div> <!-- acx_qa_field -->
|
2050 |
<label>
|
2051 |
+
<?php _e("Logo Text Color:","coming-soon-maintenance-mode-from-acurax"); ?> <a onclick="acx_csma_restore_default('','#ffffff','acx_csma_logo_text_color3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2052 |
</label>
|
2053 |
<div class="acx_qa_field">
|
2054 |
<?php if(array_key_exists('acx_csma_logo_text_color3',$acx_csma_appearence_array['3'])){$acx_csma_logo_text_color3=$acx_csma_appearence_array['3']['acx_csma_logo_text_color3'];
|
2078 |
|
2079 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2080 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2081 |
+
<?php _e("Background Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
2082 |
</span>
|
2083 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2084 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2085 |
<div class="acx_csmap_q_and_a_inside">
|
2086 |
<label>
|
2087 |
+
<?php _e("Primary Background Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffffff','acx_csma_primary_color3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2088 |
</label>
|
2089 |
<div class="acx_qa_field">
|
2090 |
<input type="text" name="acx_csma_primary_color3" id="acx_csma_primary_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_primary_color3']; ?>" size="20" />
|
2091 |
<div style="position: absolute;" id="acx_csma_primary_color3_div"></div>
|
2092 |
</div> <!-- acx_qa_field -->
|
2093 |
<label>
|
2094 |
+
<?php _e("Secondary Background Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#fe7e01','acx_csma_secondary_color3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2095 |
</label>
|
2096 |
<div class="acx_qa_field">
|
2097 |
<input type="text" name="acx_csma_secondary_color3" id="acx_csma_secondary_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_secondary_color3']; ?>" size="20" />
|
2098 |
<div style="position: absolute;" id="acx_csma_secondary_color3_div"></div>
|
2099 |
</div> <!-- acx_qa_field -->
|
2100 |
<label>
|
2101 |
+
<?php _e("Left Side-bar Background Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#000000','acx_csma_left_bar_color3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2102 |
</label>
|
2103 |
<div class="acx_qa_field">
|
2104 |
<input type="text" name="acx_csma_left_bar_color3" id="acx_csma_left_bar_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_left_bar_color3']; ?>" size="20" />
|
2105 |
<div style="position: absolute;" id="acx_csma_left_bar_color3_div"></div>
|
2106 |
</div> <!-- acx_qa_field -->
|
2107 |
<label>
|
2108 |
+
<?php _e("Timer Background Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffffff','acx_csma_timer_color3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2109 |
</label>
|
2110 |
<div class="acx_qa_field">
|
2111 |
<input type="text" name="acx_csma_timer_color3" id="acx_csma_timer_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_timer_color3']; ?>" size="20" />
|
2124 |
|
2125 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2126 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2127 |
+
<?php _e("Heading and Subheading Settings - Left Side","coming-soon-maintenance-mode-from-acurax"); ?>
|
2128 |
</span>
|
2129 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2130 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2131 |
<div class="acx_csmap_q_and_a_inside">
|
2132 |
<label>
|
2133 |
+
<?php _e("Title:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2134 |
</label>
|
2135 |
<div class="acx_qa_field">
|
2136 |
<?php $acx_csma_title3 = $acx_csma_appearence_array['3']['acx_csma_title3'];?>
|
2137 |
<input type="text" name="acx_csma_title3" value="<?php echo $acx_csma_title3 = acx_csma_option_text_after_save_hook_fn($acx_csma_title3); ?>" size="20"/>
|
2138 |
</div> <!-- acx_qa_field -->
|
2139 |
<label>
|
2140 |
+
<?php _e("Title Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffffff','acx_csma_title_color3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2141 |
</label>
|
2142 |
<div class="acx_qa_field">
|
2143 |
<input type="text" name="acx_csma_title_color3" id="acx_csma_title_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_title_color3']; ?>" size="20" />
|
2144 |
<div style="position: absolute;" id="acx_csma_title_color3_div"></div>
|
2145 |
</div> <!-- acx_qa_field -->
|
2146 |
<label>
|
2147 |
+
<?php _e("Sub Title:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2148 |
</label>
|
2149 |
<div class="acx_qa_field">
|
2150 |
<?php $acx_csma_subtitle_text3 = $acx_csma_appearence_array['3']['acx_csma_subtitle_text3']; ?>
|
2151 |
<input type="text" name="acx_csma_subtitle_text3" value="<?php echo $acx_csma_subtitle_text3 = acx_csma_option_text_after_save_hook_fn($acx_csma_subtitle_text3); ?>" size="20"/>
|
2152 |
</div> <!-- acx_qa_field -->
|
2153 |
<label>
|
2154 |
+
<?php _e("SubTitle Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffffff','acx_csma_subtitle_color3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2155 |
</label>
|
2156 |
<div class="acx_qa_field">
|
2157 |
<input type="text" name="acx_csma_subtitle_color3" id="acx_csma_subtitle_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_subtitle_color3']; ?>" size="20" />
|
2166 |
|
2167 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2168 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2169 |
+
<?php _e("Subscription Form Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
2170 |
</span>
|
2171 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2172 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2173 |
<div class="acx_csmap_q_and_a_inside">
|
|
|
2174 |
<label>
|
2175 |
+
<?php _e("Would you like to show Subscription form?","coming-soon-maintenance-mode-from-acurax"); ?>
|
2176 |
</label>
|
2177 |
<div class="acx_qa_field">
|
2178 |
<select name="acx_csma_show_subscription3">
|
2179 |
+
<option value="1" <?php if ($acx_csma_appearence_array['3']['acx_csma_show_subscription3'] == "1") { echo 'selected="selected"'; } ?>><?php _e("Yes ","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
2180 |
+
<option value="0" <?php if ($acx_csma_appearence_array['3']['acx_csma_show_subscription3'] == "0") { echo 'selected="selected"'; } ?>><?php _e("No","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
2181 |
+
</select>
|
2182 |
+
</div>
|
2183 |
+
<label>
|
2184 |
+
<?php _e("Would you like to show name field in Subscription form?","coming-soon-maintenance-mode-from-acurax"); ?>
|
2185 |
+
</label>
|
2186 |
+
<div class="acx_qa_field">
|
2187 |
+
<select name="acx_csma_show_subscription_name3">
|
2188 |
+
<option value="1" <?php if ($acx_csma_appearence_array['3']['acx_csma_show_subscription_name3'] == "1") { echo 'selected="selected"'; } ?>><?php _e("Yes ","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
2189 |
+
<option value="0" <?php if ($acx_csma_appearence_array['3']['acx_csma_show_subscription_name3'] == "0") { echo 'selected="selected"'; } ?>><?php _e("No","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
2190 |
</select>
|
2191 |
</div>
|
2192 |
<label>
|
2193 |
+
<?php _e("Title:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2194 |
</label>
|
2195 |
<div class="acx_qa_field">
|
2196 |
<?php $acx_csma_subscribe_title3 = $acx_csma_appearence_array['3']['acx_csma_subscribe_title3'];?>
|
2197 |
<input type="text" name="acx_csma_subscribe_title3" value="<?php echo $acx_csma_subscribe_title3 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_title3); ?>" size="20"/>
|
2198 |
</div> <!-- acx_qa_field -->
|
2199 |
<label>
|
2200 |
+
<?php _e("Title Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#fe7e01','acx_csma_subscribe_title_color3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2201 |
</label>
|
2202 |
<div class="acx_qa_field">
|
2203 |
<input type="text" name="acx_csma_subscribe_title_color3" id="acx_csma_subscribe_title_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_subscribe_title_color3']; ?>" size="20"/>
|
2204 |
<div style="position: absolute;" id="acx_csma_subscribe_title_color3_div"></div>
|
2205 |
</div> <!-- acx_qa_field -->
|
2206 |
<label>
|
2207 |
+
<?php _e("Button Text","coming-soon-maintenance-mode-from-acurax"); ?>
|
2208 |
</label>
|
2209 |
<div class="acx_qa_field">
|
2210 |
<?php $acx_csma_subscribe_btn_text3 = $acx_csma_appearence_array['3']['acx_csma_subscribe_btn_text3']; ?>
|
2211 |
<input type="text" name="acx_csma_subscribe_btn_text3" value="<?php echo $acx_csma_subscribe_btn_text3 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_btn_text3); ?>" size="20"/>
|
2212 |
</div> <!-- acx_qa_field -->
|
2213 |
<label>
|
2214 |
+
<?php _e("Button Text Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffffff','acx_csma_subscribe_btn_text_color3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2215 |
</label>
|
2216 |
<div class="acx_qa_field">
|
2217 |
<input type="text" name="acx_csma_subscribe_btn_text_color3" id="acx_csma_subscribe_btn_text_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_subscribe_btn_text_color3']; ?>" size="20"/>
|
2218 |
<div style="position: absolute;" id="acx_csma_subscribe_btn_text_color3_div"></div>
|
2219 |
</div> <!-- acx_qa_field -->
|
2220 |
<label>
|
2221 |
+
<?php _e("Button Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#fe7e01','acx_csma_subscribe_btn_color3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2222 |
</label>
|
2223 |
<div class="acx_qa_field">
|
2224 |
<input type="text" name="acx_csma_subscribe_btn_color3" id="acx_csma_subscribe_btn_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_subscribe_btn_color3']; ?>" size="20"/>
|
2225 |
<div style="position: absolute;" id="acx_csma_subscribe_btn_color3_div"></div>
|
2226 |
</div> <!-- acx_qa_field -->
|
2227 |
<label>
|
2228 |
+
<?php _e("Button Hover Text Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#0b1c2c','acx_csma_subscribe_btn_hover_color3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2229 |
</label>
|
2230 |
<div class="acx_qa_field">
|
2231 |
<input type="text" name="acx_csma_subscribe_btn_hover_color3" id="acx_csma_subscribe_btn_hover_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_subscribe_btn_hover_color3']; ?>" size="20"/>
|
2232 |
<div style="position: absolute;" id="acx_csma_subscribe_btn_hover_color3_div"></div>
|
2233 |
</div> <!-- acx_qa_field -->
|
2234 |
<label>
|
2235 |
+
<?php _e("Button Hover Background Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#fe6001','acx_csma_subscribe_btn_hover_bgcolor3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2236 |
</label>
|
2237 |
<div class="acx_qa_field">
|
2238 |
<input type="text" name="acx_csma_subscribe_btn_hover_bgcolor3" id="acx_csma_subscribe_btn_hover_bgcolor3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_subscribe_btn_hover_bgcolor3']; ?>" size="20"/>
|
2239 |
<div style="position: absolute;" id="acx_csma_subscribe_btn_hover_bgcolor3_div"></div>
|
2240 |
</div> <!-- acx_qa_field -->
|
2241 |
<label>
|
2242 |
+
<?php _e("Subscribe Success Message:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2243 |
</label>
|
2244 |
<div class="acx_qa_field">
|
2245 |
<?php $acx_csma_subscribe_success3 = $acx_csma_appearence_array['3']['acx_csma_subscribe_success3']; ?>
|
2246 |
<input type="text" name="acx_csma_subscribe_success3" value="<?php echo $acx_csma_subscribe_success3 =acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_success3); ?>" size="20"/>
|
2247 |
</div> <!-- acx_qa_field -->
|
2248 |
<label>
|
2249 |
+
<?php _e("Subscribe Invalid Message:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2250 |
</label>
|
2251 |
<div class="acx_qa_field">
|
2252 |
<?php $acx_csma_subscribe_invalid3 = $acx_csma_appearence_array['3']['acx_csma_subscribe_invalid3']; ?>
|
2261 |
|
2262 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2263 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2264 |
+
<?php _e("Heading Settings - Right Side","coming-soon-maintenance-mode-from-acurax"); ?>
|
2265 |
</span>
|
2266 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2267 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2268 |
<div class="acx_csmap_q_and_a_inside">
|
2269 |
<label>
|
2270 |
+
<?php _e("Title:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2271 |
</label>
|
2272 |
<div class="acx_qa_field">
|
2273 |
<?php $acx_csma_inside_title3 = $acx_csma_appearence_array['3']['acx_csma_inside_title3']; ?>
|
2274 |
<input type="text" name="acx_csma_inside_title3" value="<?php echo acx_csma_option_text_after_save_hook_fn($acx_csma_appearence_array['3']['acx_csma_inside_title3']); ?>" size="20"/>
|
2275 |
</div> <!-- acx_qa_field -->
|
2276 |
<label>
|
2277 |
+
<?php _e("Title Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffffff','acx_csma_inside_title_color3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2278 |
</label>
|
2279 |
<div class="acx_qa_field">
|
2280 |
<input type="text" name="acx_csma_inside_title_color3" id="acx_csma_inside_title_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_inside_title_color3']; ?>" size="20"/>
|
2289 |
|
2290 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2291 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2292 |
+
<?php _e("Right Side Content & Custom HTML Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
2293 |
</span>
|
2294 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2295 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2296 |
<div class="acx_csmap_q_and_a_inside">
|
2297 |
|
2298 |
<label>
|
2299 |
+
<?php _e("Would you like to show Timer?","coming-soon-maintenance-mode-from-acurax"); ?>
|
2300 |
</label>
|
2301 |
<div class="acx_qa_field">
|
2302 |
<select name="acx_csma_show_timer3">
|
2303 |
+
<option value="1" <?php if ($acx_csma_appearence_array['3']['acx_csma_show_timer3'] == "1") { echo 'selected="selected"'; } ?>><?php _e("Yes ","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
2304 |
+
<option value="0" <?php if ($acx_csma_appearence_array['3']['acx_csma_show_timer3'] == "0") { echo 'selected="selected"'; } ?>><?php _e("No","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
2305 |
</select>
|
2306 |
</div>
|
2307 |
|
2308 |
<label>
|
2309 |
+
<?php _e("Custom HTML Block Above Timer","coming-soon-maintenance-mode-from-acurax"); ?>
|
2310 |
</label>
|
2311 |
<div class="acx_qa_field">
|
2312 |
<?php $acx_csma_custom_html_top_timer_temp3 = $acx_csma_appearence_array['3']['acx_csma_custom_html_top_timer_temp3']; ?>
|
2313 |
+
<textarea id="acx_csma_custom_html_top_timer_temp3" name="acx_csma_custom_html_top_timer_temp3" placeholder="<?php _e("HTML Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo $acx_csma_custom_html_top_timer_temp3 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_timer_temp3); ?></textarea>
|
2314 |
</div><!-- acx_qa_field -->
|
2315 |
<div class="f_w"></div>
|
2316 |
|
2317 |
<label>
|
2318 |
+
<?php _e("Custom HTML Block Below Description","coming-soon-maintenance-mode-from-acurax"); ?>
|
2319 |
</label>
|
2320 |
<div class="acx_qa_field">
|
2321 |
<?php $acx_csma_custom_html_bottom_temp3 =$acx_csma_appearence_array['3']['acx_csma_custom_html_bottom_temp3']; ?>
|
2322 |
+
<textarea id="acx_csma_custom_html_bottom_temp3" name="acx_csma_custom_html_bottom_temp3" placeholder="<?php _e("HTML Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo $acx_csma_custom_html_bottom_temp3 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_bottom_temp3); ?></textarea>
|
2323 |
</div><!-- acx_qa_field -->
|
2324 |
<div class="f_w"></div>
|
2325 |
|
2326 |
<label>
|
2327 |
+
<?php _e("Input Text Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#000000','acx_csma_timer_iptext_color3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2328 |
</label>
|
2329 |
<div class="acx_qa_field">
|
2330 |
<input type="text" name="acx_csma_timer_iptext_color3" id="acx_csma_timer_iptext_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_timer_iptext_color3']; ?>" size="20"/>
|
2331 |
<div style="position: absolute;" id="acx_csma_timer_iptext_color3_div"></div>
|
2332 |
</div> <!-- acx_qa_field -->
|
2333 |
<label>
|
2334 |
+
<?php _e("Heading Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#000000','acx_csma_timer_head_color3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2335 |
</label>
|
2336 |
<div class="acx_qa_field">
|
2337 |
<input type="text" name="acx_csma_timer_head_color3" id="acx_csma_timer_head_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_timer_head_color3']; ?>" size="20"/>
|
2338 |
<div style="position: absolute;" id="acx_csma_timer_head_color3_div"></div>
|
2339 |
</div> <!-- acx_qa_field -->
|
2340 |
<label>
|
2341 |
+
<?php _e("Custom HTML Block Above Description Block","coming-soon-maintenance-mode-from-acurax"); ?>
|
2342 |
</label>
|
2343 |
<div class="acx_qa_field">
|
2344 |
<?php $acx_csma_custom_html_top_temp3 =$acx_csma_appearence_array['3']['acx_csma_custom_html_top_temp3']; ?>
|
2345 |
+
<textarea id="acx_csma_custom_html_top_temp3" name="acx_csma_custom_html_top_temp3" placeholder="<?php _e("HTML Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo $acx_csma_custom_html_top_temp3 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_temp3); ?></textarea>
|
2346 |
</div><!-- acx_qa_field -->
|
2347 |
<div class="f_w"></div>
|
2348 |
<label>
|
2349 |
+
<?php _e("Description Title:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2350 |
</label>
|
2351 |
<div class="acx_qa_field">
|
2352 |
<?php $acx_csma_desc_title3 = $acx_csma_appearence_array['3']['acx_csma_desc_title3']; ?>
|
2353 |
<input type="text" name="acx_csma_desc_title3" value="<?php echo $acx_csma_desc_title3 = acx_csma_option_text_after_save_hook_fn($acx_csma_desc_title3); ?>" size="20"/>
|
2354 |
</div> <!-- acx_qa_field -->
|
2355 |
<label>
|
2356 |
+
<?php _e("Description Sub Title:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2357 |
</label>
|
2358 |
<div class="acx_qa_field">
|
2359 |
<?php $acx_csma_desc_subtitle3 = $acx_csma_appearence_array['3']['acx_csma_desc_subtitle3']; ?>
|
2361 |
</div> <!-- acx_qa_field -->
|
2362 |
<div class="f_w"></div>
|
2363 |
<label>
|
2364 |
+
<?php _e("Description Heading Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#000000','acx_csma_desc_text_color3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2365 |
</label>
|
2366 |
<div class="acx_qa_field">
|
2367 |
<input type="text" name="acx_csma_desc_text_color3" id="acx_csma_desc_text_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_desc_text_color3']; ?>" size="20"/>
|
2368 |
<div style="position: absolute;" id="acx_csma_desc_text_color3_div"></div>
|
2369 |
</div> <!-- acx_qa_field -->
|
2370 |
+
<label>
|
2371 |
+
<?php _e("Description Text Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#000000','acx_csma_desc_content_color3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2372 |
+
</label>
|
2373 |
+
<div class="acx_qa_field">
|
2374 |
+
<input type="text" name="acx_csma_desc_content_color3" id="acx_csma_desc_content_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_desc_content_color3']; ?>" size="20"/>
|
2375 |
+
<div style="position: absolute;" id="acx_csma_desc_content_color3_div"></div>
|
2376 |
+
</div> <!-- acx_qa_field -->
|
2377 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
2378 |
</div> <!-- acx_csmap_q_and_a -->
|
2379 |
</div> <!-- acx_csmap_q_and_a_h -->
|
2382 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
2383 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2384 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2385 |
+
<?php _e("Footer Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
2386 |
</span>
|
2387 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2388 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2389 |
<div class="acx_csmap_q_and_a_inside">
|
2390 |
<label>
|
2391 |
+
<?php _e("Footer Text:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2392 |
</label>
|
2393 |
<div class="acx_qa_field">
|
2394 |
<?php $acx_csma_footer_text3 = $acx_csma_appearence_array['3']['acx_csma_footer_text3']; ?>
|
2395 |
<input type="text" name="acx_csma_footer_text3" value="<?php echo $acx_csma_footer_text3 = acx_csma_option_text_after_save_hook_fn($acx_csma_footer_text3); ?>" size="20"/>
|
2396 |
</div> <!-- acx_qa_field -->
|
2397 |
<label>
|
2398 |
+
<?php _e("Footer Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#000000','acx_csma_footer_color3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2399 |
</label>
|
2400 |
<div class="acx_qa_field">
|
2401 |
<input type="text" name="acx_csma_footer_color3" id="acx_csma_footer_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_footer_color3']; ?>" size="20"/>
|
2411 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
2412 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2413 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2414 |
+
<?php _e("Social Media Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
2415 |
</span>
|
2416 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2417 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2418 |
<div class="acx_csmap_q_and_a_inside">
|
2419 |
<label>
|
2420 |
+
<?php _e("Social Media Text:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2421 |
</label>
|
2422 |
<div class="acx_qa_field">
|
2423 |
<?php $acx_csma_social_link_title3 = $acx_csma_appearence_array['3']['acx_csma_social_link_title3']; ?>
|
2424 |
<input type="text" name="acx_csma_social_link_title3" value="<?php echo $acx_csma_social_link_title3 = acx_csma_option_text_after_save_hook_fn($acx_csma_social_link_title3 ); ?>" size="20"/>
|
2425 |
</div> <!-- acx_qa_field -->
|
2426 |
<label>
|
2427 |
+
<?php _e("Social Media Text Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#000000','acx_csma_social_link_title_color3');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2428 |
</label>
|
2429 |
<div class="acx_qa_field">
|
2430 |
<input type="text" name="acx_csma_social_link_title_color3" id="acx_csma_social_link_title_color3" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['3']['acx_csma_social_link_title_color3']; ?>" size="20"/>
|
2431 |
<div style="position: absolute;" id="acx_csma_social_link_title_color3_div"></div>
|
2432 |
</div> <!-- acx_qa_field -->
|
2433 |
<label>
|
2434 |
+
<?php _e("Facebook Link:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2435 |
</label>
|
2436 |
<div class="acx_qa_field">
|
2437 |
<input type="text" name="acx_csma_fb_link3" id="acx_csma_fb_link3" value="<?php echo esc_url($acx_csma_appearence_array['3']['acx_csma_fb_link3']); ?>" size="20"/>
|
2438 |
</div> <!-- acx_qa_field -->
|
2439 |
<label>
|
2440 |
+
<?php _e("Twitter Link:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2441 |
</label>
|
2442 |
<div class="acx_qa_field">
|
2443 |
<input type="text" name="acx_csma_twitter_link3" id="acx_csma_twitter_link3" value="<?php echo esc_url($acx_csma_appearence_array['3']['acx_csma_twitter_link3']); ?>" size="20"/>
|
2444 |
</div> <!-- acx_qa_field -->
|
2445 |
<label>
|
2446 |
+
<?php _e("LinkedIn Link:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2447 |
</label>
|
2448 |
<div class="acx_qa_field">
|
2449 |
<input type="text" name="acx_csma_linkedin_link3" id="acx_csma_linkedin_link3" value="<?php echo esc_url($acx_csma_appearence_array['3']['acx_csma_linkedin_link3']); ?>" size="20"/>
|
2457 |
|
2458 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2459 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2460 |
+
<?php _e("Custom css Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
2461 |
</span>
|
2462 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2463 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2464 |
<div class="acx_csmap_q_and_a_inside">
|
2465 |
|
2466 |
<label>
|
2467 |
+
<?php _e("Custom css","coming-soon-maintenance-mode-from-acurax"); ?>
|
2468 |
</label>
|
2469 |
<div class="acx_qa_field">
|
2470 |
<?php $acx_csma_custom_css_temp3 = $acx_csma_appearence_array['3']['acx_csma_custom_css_temp3']; ?>
|
2471 |
+
<textarea id="acx_csma_custom_css_temp3" name="acx_csma_custom_css_temp3" placeholder="<?php _e("CSS Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo stripslashes($acx_csma_custom_css_temp3); ?></textarea>
|
2472 |
</div><!-- acx_qa_field -->
|
2473 |
<div class="f_w"></div>
|
2474 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
2486 |
|
2487 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2488 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2489 |
+
<?php _e("Background Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
2490 |
</span>
|
2491 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2492 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2493 |
<div class="acx_csmap_q_and_a_inside">
|
2494 |
<label>
|
2495 |
+
<?php _e("Background Image:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2496 |
</label>
|
2497 |
<div class="acx_qa_field">
|
2498 |
<?php
|
2508 |
<img id="custom_uploader_template_4_img_field_preview" src="<?php echo $bg4_url; ?>" style="width:100px;height:auto;">
|
2509 |
<input type="hidden" id="custom_uploader_template_4_img_field" name="acx_csma_background_image4" value="<?php echo $acx_csma_bg4_id; ?>" size="20">
|
2510 |
<br>
|
2511 |
+
<a id="acx_upload_button_img4" class="button"><?php _e("Choose Image","coming-soon-maintenance-mode-from-acurax"); ?></a>
|
2512 |
+
<a id="acx_upload_button_reset_img1" onclick="acx_csma_restore_default('custom_uploader_template_4_img_field_preview','<?php echo ACX_CSMA_BASE_LOCATION . 'templates/4/images/body_bg.jpg'; ?>','custom_uploader_template_4_img_field');" class="button"><?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?></a>
|
2513 |
</div> <!-- acx_qa_field -->
|
2514 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
2515 |
</div> <!-- acx_csmap_q_and_a -->
|
2520 |
|
2521 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2522 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2523 |
+
<?php _e("Logo Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
2524 |
</span>
|
2525 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2526 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2528 |
<div class="acx_csma_logo_main">
|
2529 |
<table cellspacing="10">
|
2530 |
<tr><td>
|
2531 |
+
<input type="radio" name="acx_csma_logo_choice4" class="acx_csma_logo" id="acx_csma_logo_image4" value="image" onclick="acx_csma_rdbtn_show_logo('image','4');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['4'])){if($acx_csma_appearence_array['4']['acx_csma_logo_choice'] == 'image' || $acx_csma_appearence_array['4']['acx_csma_logo_choice']==''){echo "checked='checked'";}}else{ echo "checked='checked'";} ?>/><?php _e("Logo Image","coming-soon-maintenance-mode-from-acurax"); ?></td><td>
|
2532 |
+
<input type="radio" name="acx_csma_logo_choice4" class="acx_csma_logo" id="acx_csma_logo_text4" value="text" onclick="acx_csma_rdbtn_show_logo('text','4');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['4'])){if($acx_csma_appearence_array['4']['acx_csma_logo_choice'] == 'text'){echo "checked='checked'";}}?>/><?php _e("Logo Text","coming-soon-maintenance-mode-from-acurax"); ?></td></tr></table>
|
2533 |
</div><!--acx_csma_logo_main -->
|
2534 |
<div id="acx_show_logo_image_4" class="acx_csma_logo_block acx_csma_logo_block_4" style="display:none;">
|
2535 |
<label>
|
2536 |
+
<?php _e("Logo:","coming-soon-maintenance-mode-from-acurax"); ?><span id="acx_csma_span">(<?php _e("Recommended size 326x138","coming-soon-maintenance-mode-from-acurax"); ?>)</span>
|
2537 |
</label>
|
2538 |
<div class="acx_qa_field">
|
2539 |
<?php
|
2550 |
<img id="custom_uploader_template_4_logo_field_preview" src="<?php echo $logo4_url; ?>" style="width:100px;height:auto;">
|
2551 |
<input type="hidden" id="custom_uploader_template_4_logo_field" name="acx_csma_logo4" value="<?php echo $acx_csma_logo4_id; ?>" size="20">
|
2552 |
<br>
|
2553 |
+
<a id="acx_upload_button_logo4" class="button"><?php _e("Pick a Logo","coming-soon-maintenance-mode-from-acurax"); ?></a>
|
2554 |
+
<a id="acx_upload_button_reset_img1" onclick="acx_csma_restore_default('custom_uploader_template_4_logo_field_preview','<?php echo ACX_CSMA_BASE_LOCATION . 'templates/4/images/logo.png'; ?>','custom_uploader_template_4_logo_field');" class="button"><?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?></a>
|
2555 |
</div> <!-- acx_qa_field -->
|
2556 |
</div><!--acx_show_logo_image-->
|
2557 |
<div id="acx_show_logo_text_4" class="acx_csma_logo_block acx_csma_logo_block_4" style="display:none;">
|
2558 |
<label>
|
2559 |
+
<?php _e("Logo Text:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2560 |
</label>
|
2561 |
<div class="acx_qa_field">
|
2562 |
<?php if(array_key_exists('acx_csma_logo_text4',$acx_csma_appearence_array['4'])){ $acx_csma_logo_text4=$acx_csma_appearence_array['4']['acx_csma_logo_text4'];
|
2567 |
else{
|
2568 |
$acx_csma_logo_text4=get_bloginfo('name');
|
2569 |
}?>
|
2570 |
+
<input type="text" name="acx_csma_logo_text4" placeholder="<?php _e("Logo Text Here","coming-soon-maintenance-mode-from-acurax"); ?>" value="<?php echo $acx_csma_logo_text4 = acx_csma_option_text_after_save_hook_fn($acx_csma_logo_text4); ?>" size="20"/>
|
2571 |
</div> <!-- acx_qa_field -->
|
2572 |
<label>
|
2573 |
+
<?php _e("Logo Text Color:","coming-soon-maintenance-mode-from-acurax"); ?> <a onclick="acx_csma_restore_default('','#ffffff','acx_csma_logo_text_color4');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2574 |
</label>
|
2575 |
<div class="acx_qa_field">
|
2576 |
<?php if(array_key_exists('acx_csma_logo_text_color4',$acx_csma_appearence_array['4'])){ $acx_csma_logo_text_color4=$acx_csma_appearence_array['4']['acx_csma_logo_text_color4'];
|
2592 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
2593 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2594 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2595 |
+
<?php _e("Main Heading & Custom HTML Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
2596 |
</span>
|
2597 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2598 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2599 |
<div class="acx_csmap_q_and_a_inside">
|
2600 |
<label>
|
2601 |
+
<?php _e("Background Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ebebeb','acx_csma_inside_bg_color4');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2602 |
</label>
|
2603 |
<div class="acx_qa_field">
|
2604 |
<input type="text" name="acx_csma_inside_bg_color4" id="acx_csma_inside_bg_color4" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['4']['acx_csma_inside_bg_color4']; ?>" size="20"/>
|
2605 |
<div style="position: absolute;" id="acx_csma_inside_bg_color4_div"></div>
|
2606 |
</div> <!-- acx_qa_field -->
|
2607 |
<label>
|
2608 |
+
<?php _e("Title Text:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2609 |
</label>
|
2610 |
<div class="acx_qa_field">
|
2611 |
<?php $acx_csma_title4 = $acx_csma_appearence_array['4']['acx_csma_title4']; ?>
|
2612 |
<input type="text" name="acx_csma_title4" value="<?php echo $acx_csma_title4 = acx_csma_option_text_after_save_hook_fn($acx_csma_title4); ?>" size="20"/>
|
2613 |
</div> <!-- acx_qa_field -->
|
2614 |
<label>
|
2615 |
+
<?php _e("Custom HTML Block Above Countdown Timer","coming-soon-maintenance-mode-from-acurax"); ?>
|
2616 |
</label>
|
2617 |
<div class="acx_qa_field">
|
2618 |
<?php $acx_csma_custom_html_top_temp4 =$acx_csma_appearence_array['4']['acx_csma_custom_html_top_temp4']; ?>
|
2619 |
+
<textarea id="acx_csma_custom_html_top_temp4" name="acx_csma_custom_html_top_temp4" placeholder="<?php _e("HTML Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo $acx_csma_custom_html_top_temp4 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_temp4); ?></textarea>
|
2620 |
</div><!-- acx_qa_field -->
|
2621 |
<div class="f_w"></div>
|
2622 |
<label>
|
2623 |
+
<?php _e("Title Text color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#717171','acx_csma_title_color4');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2624 |
</label>
|
2625 |
<div class="acx_qa_field">
|
2626 |
<input type="text" name="acx_csma_title_color4" id="acx_csma_title_color4" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['4']['acx_csma_title_color4']; ?>" size="20"/>
|
2635 |
|
2636 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2637 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2638 |
+
<?php _e("Countdown Timer, Progress Bar & Custom HTML Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
2639 |
</span>
|
2640 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2641 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2642 |
<div class="acx_csmap_q_and_a_inside">
|
2643 |
<label>
|
2644 |
+
<?php _e("Would you like to show Timer?","coming-soon-maintenance-mode-from-acurax"); ?>
|
2645 |
</label>
|
2646 |
<div class="acx_qa_field">
|
2647 |
<select name="acx_csma_show_timer4">
|
2648 |
+
<option value="1" <?php if ($acx_csma_appearence_array['4']['acx_csma_show_timer4'] == "1") { echo 'selected="selected"'; } ?>><?php _e("Yes ","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
2649 |
+
<option value="0" <?php if ($acx_csma_appearence_array['4']['acx_csma_show_timer4'] == "0") { echo 'selected="selected"'; } ?>><?php _e("No","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
2650 |
</select>
|
2651 |
</div>
|
2652 |
<label>
|
2653 |
+
<?php _e("Input Text Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#717171','acx_csma_timer_iptext_color4');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2654 |
</label>
|
2655 |
<div class="acx_qa_field">
|
2656 |
<input type="text" name="acx_csma_timer_iptext_color4" id="acx_csma_timer_iptext_color4" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['4']['acx_csma_timer_iptext_color4']; ?>" size="20"/>
|
2658 |
</div> <!-- acx_qa_field -->
|
2659 |
|
2660 |
<label>
|
2661 |
+
<?php _e("Heading Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#717171','acx_csma_timer_head_color4');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2662 |
</label>
|
2663 |
<div class="acx_qa_field">
|
2664 |
<input type="text" name="acx_csma_timer_head_color4" id="acx_csma_timer_head_color4" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['4']['acx_csma_timer_head_color4']; ?>" size="20"/>
|
2665 |
<div style="position: absolute;" id="acx_csma_timer_head_color4_div"></div>
|
2666 |
</div> <!-- acx_qa_field -->
|
2667 |
<label>
|
2668 |
+
<?php _e("Would you like to show Progress Bar?","coming-soon-maintenance-mode-from-acurax"); ?>
|
2669 |
</label>
|
2670 |
<div class="acx_qa_field">
|
2671 |
<select name="acx_csma_show_progressbar4">
|
2672 |
+
<option value="1" <?php if ($acx_csma_appearence_array['4']['acx_csma_show_progressbar4'] == "1") { echo 'selected="selected"'; } ?>><?php _e("Yes ","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
2673 |
+
<option value="0" <?php if ($acx_csma_appearence_array['4']['acx_csma_show_progressbar4'] == "0") { echo 'selected="selected"'; } ?>><?php _e("No","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
2674 |
</select>
|
2675 |
</div>
|
2676 |
<label>
|
2677 |
+
<?php _e("Progress Bar Border Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#717171','acx_csma_progress_bar_color4');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2678 |
</label>
|
2679 |
<div class="acx_qa_field">
|
2680 |
<input type="text" name="acx_csma_progress_bar_color4" id="acx_csma_progress_bar_color4" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['4']['acx_csma_progress_bar_color4']; ?>" size="20"/>
|
2681 |
<div style="position: absolute;" id="acx_csma_progress_bar_color4_div"></div>
|
2682 |
</div> <!-- acx_qa_field -->
|
2683 |
<label>
|
2684 |
+
<?php _e("Progress Bar BackgroundColor:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#000000','acx_csma_progress_bar_bg_color4');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2685 |
+
</label>
|
2686 |
+
<div class="acx_qa_field">
|
2687 |
+
<input type="text" name="acx_csma_progress_bar_bg_color4" id="acx_csma_progress_bar_bg_color4" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['4']['acx_csma_progress_bar_bg_color4']; ?>" size="20"/>
|
2688 |
+
<div style="position: absolute;" id="acx_csma_progress_bar_bg_color4_div"></div>
|
2689 |
+
</div> <!-- acx_qa_field -->
|
2690 |
+
<label>
|
2691 |
+
<?php _e("Progress Bar TextColor:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffffff','acx_csma_progress_bar_text_color4');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2692 |
+
</label>
|
2693 |
+
<div class="acx_qa_field">
|
2694 |
+
<input type="text" name="acx_csma_progress_bar_text_color4" id="acx_csma_progress_bar_text_color4" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['4']['acx_csma_progress_bar_text_color4']; ?>" size="20"/>
|
2695 |
+
<div style="position: absolute;" id="acx_csma_progress_bar_text_color4_div"></div>
|
2696 |
+
</div> <!-- acx_qa_field -->
|
2697 |
+
<label>
|
2698 |
+
<?php _e("Custom HTML Block Below Countdown Timer","coming-soon-maintenance-mode-from-acurax"); ?>
|
2699 |
</label>
|
2700 |
<div class="acx_qa_field">
|
2701 |
<?php $acx_csma_custom_html_bottom_temp4 =$acx_csma_appearence_array['4']['acx_csma_custom_html_bottom_temp4']; ?>
|
2702 |
+
<textarea id="acx_csma_custom_html_bottom_temp4" name="acx_csma_custom_html_bottom_temp4" placeholder="<?php _e("HTML Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo $acx_csma_custom_html_bottom_temp4 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_bottom_temp4); ?></textarea>
|
2703 |
</div><!-- acx_qa_field -->
|
2704 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
2705 |
</div> <!-- acx_csmap_q_and_a -->
|
2706 |
</div> <!-- acx_csmap_q_and_a_h -->
|
2707 |
<!-- ################################# QUESTION AND ANSWER SET ENDS HERE #############################################-->
|
2708 |
+
<!-- ################################ QUESTION AND ANSWER SET STARTS HERE ############################################-->
|
2709 |
+
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
2710 |
+
|
2711 |
+
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2712 |
+
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2713 |
+
<?php _e("Subscription Form & Custom HTML Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
2714 |
+
</span>
|
2715 |
+
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2716 |
+
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2717 |
+
<div class="acx_csmap_q_and_a_inside">
|
2718 |
+
<label>
|
2719 |
+
<?php _e("Would you like to show Subscription Form?","coming-soon-maintenance-mode-from-acurax"); ?>
|
2720 |
+
</label>
|
2721 |
+
<div class="acx_qa_field">
|
2722 |
+
<select name="acx_csma_show_subscription4">
|
2723 |
+
<option value="1" <?php if ($acx_csma_appearence_array['4']['acx_csma_show_subscription4'] == "1") { echo 'selected="selected"'; } ?>><?php _e("Yes ","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
2724 |
+
<option value="0" <?php if ($acx_csma_appearence_array['4']['acx_csma_show_subscription4'] == "0") { echo 'selected="selected"'; } ?>><?php _e("No","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
2725 |
+
</select>
|
2726 |
+
</div>
|
2727 |
+
<label>
|
2728 |
+
<?php _e("Would you like to show name field in Subscription form?","coming-soon-maintenance-mode-from-acurax"); ?>
|
2729 |
+
</label>
|
2730 |
+
<div class="acx_qa_field">
|
2731 |
+
<select name="acx_csma_show_subscription_name4">
|
2732 |
+
<option value="1" <?php if ($acx_csma_appearence_array['4']['acx_csma_show_subscription_name4'] == "1") { echo 'selected="selected"'; } ?>><?php _e("Yes ","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
2733 |
+
<option value="0" <?php if ($acx_csma_appearence_array['4']['acx_csma_show_subscription_name4'] == "0") { echo 'selected="selected"'; } ?>><?php _e("No","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
2734 |
+
</select>
|
2735 |
+
</div>
|
2736 |
+
<label>
|
2737 |
+
<?php _e("Subscription Title Text:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2738 |
+
</label>
|
2739 |
+
<div class="acx_qa_field">
|
2740 |
+
<?php $acx_csma_subscription_title4 = $acx_csma_appearence_array['4']['acx_csma_subscription_title4']; ?>
|
2741 |
+
<input type="text" name="acx_csma_subscription_title4" value="<?php echo $acx_csma_subscription_title4 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscription_title4); ?>" size="20"/>
|
2742 |
+
</div> <!-- acx_qa_field -->
|
2743 |
+
<label>
|
2744 |
+
<?php _e("Subscription Title TextColor:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#666666','acx_csma_subscription_title_color4');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2745 |
+
</label>
|
2746 |
+
<div class="acx_qa_field">
|
2747 |
+
<input type="text" name="acx_csma_subscription_title_color4" id="acx_csma_subscription_title_color4" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['4']['acx_csma_subscription_title_color4']; ?>" size="20"/>
|
2748 |
+
<div style="position: absolute;" id="acx_csma_subscription_title_color4_div"></div>
|
2749 |
+
</div> <!-- acx_qa_field -->
|
2750 |
+
<label>
|
2751 |
+
<?php _e("Subscription Button Text:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2752 |
+
</label>
|
2753 |
+
<div class="acx_qa_field">
|
2754 |
+
<?php $acx_csma_subscription_btn_text4 = $acx_csma_appearence_array['4']['acx_csma_subscription_btn_text4']; ?>
|
2755 |
+
<input type="text" name="acx_csma_subscription_btn_text4" value="<?php echo $acx_csma_subscription_btn_text4 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscription_btn_text4); ?>" size="20"/>
|
2756 |
+
</div> <!-- acx_qa_field -->
|
2757 |
+
<label>
|
2758 |
+
<?php _e("Subscription Button Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffffff','acx_csma_subscription_btn_color4');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2759 |
+
</label>
|
2760 |
+
<div class="acx_qa_field">
|
2761 |
+
<input type="text" name="acx_csma_subscription_btn_color4" id="acx_csma_subscription_btn_color4" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['4']['acx_csma_subscription_btn_color4']; ?>" size="20"/>
|
2762 |
+
<div style="position: absolute;" id="acx_csma_subscription_btn_color4_div"></div>
|
2763 |
+
</div> <!-- acx_qa_field -->
|
2764 |
+
<label>
|
2765 |
+
<?php _e("Subscription Button BackgroundColor:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#333333','acx_csma_subscription_btn_bg_color4');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2766 |
+
</label>
|
2767 |
+
<div class="acx_qa_field">
|
2768 |
+
<input type="text" name="acx_csma_subscription_btn_bg_color4" id="acx_csma_subscription_btn_bg_color4" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['4']['acx_csma_subscription_btn_bg_color4']; ?>" size="20"/>
|
2769 |
+
<div style="position: absolute;" id="acx_csma_subscription_btn_bg_color4_div"></div>
|
2770 |
+
</div> <!-- acx_qa_field -->
|
2771 |
+
<label>
|
2772 |
+
<?php _e("Subscribe Success Message:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2773 |
+
</label>
|
2774 |
+
<div class="acx_qa_field">
|
2775 |
+
<?php $acx_csma_subscribe_success4 = $acx_csma_appearence_array['4']['acx_csma_subscribe_success4']; ?>
|
2776 |
+
<input type="text" name="acx_csma_subscribe_success4" value="<?php echo $acx_csma_subscribe_success4 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_success4); ?>" size="20"/>
|
2777 |
+
</div> <!-- acx_qa_field -->
|
2778 |
+
<label>
|
2779 |
+
<?php _e("Subscribe Invalid Message:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2780 |
+
</label>
|
2781 |
+
<div class="acx_qa_field">
|
2782 |
+
<?php $acx_csma_subscribe_invalid4 = $acx_csma_appearence_array['4']['acx_csma_subscribe_invalid4'];?>
|
2783 |
+
<input type="text" name="acx_csma_subscribe_invalid4" value="<?php echo $acx_csma_subscribe_invalid4 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_invalid4); ?>" size="20"/>
|
2784 |
+
</div> <!-- acx_qa_field -->
|
2785 |
+
<label>
|
2786 |
+
<?php _e("Custom HTML Block Below Subscription form","coming-soon-maintenance-mode-from-acurax"); ?>
|
2787 |
+
</label>
|
2788 |
+
<div class="acx_qa_field">
|
2789 |
+
<?php $acx_csma_custom_html_subscrpt_below_sub4 = $acx_csma_appearence_array['4']['acx_csma_custom_html_subscrpt_below_sub4']; ?>
|
2790 |
+
<textarea id="acx_csma_custom_html_subscrpt_below_sub4" name="acx_csma_custom_html_subscrpt_below_sub4" placeholder="<?php _e("HTML Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo $acx_csma_custom_html_subscrpt_below_sub4 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_subscrpt_below_sub4); ?></textarea>
|
2791 |
+
</div><!-- acx_qa_field -->
|
2792 |
+
<div class="f_w"></div>
|
2793 |
+
</div> <!-- acx_csmap_q_and_a_inside -->
|
2794 |
+
</div> <!-- acx_csmap_q_and_a -->
|
2795 |
+
</div> <!-- acx_csmap_q_and_a_h -->
|
2796 |
+
<!-- ################################# QUESTION AND ANSWER SET ENDS HERE #############################################-->
|
2797 |
<!-- ################################ QUESTION AND ANSWER SET STARTS HERE ########################################### -->
|
2798 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
2799 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2800 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2801 |
+
<?php _e("Social Media Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
2802 |
</span>
|
2803 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2804 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2805 |
<div class="acx_csmap_q_and_a_inside">
|
2806 |
<label>
|
2807 |
+
<?php _e("Facebook Link","coming-soon-maintenance-mode-from-acurax"); ?>
|
2808 |
</label>
|
2809 |
<div class="acx_qa_field">
|
2810 |
<input type="text" name="acx_csma_fb_link4" id="acx_csma_fb_link4" value="<?php echo esc_url($acx_csma_appearence_array['4']['acx_csma_fb_link4']); ?>" size="20"/>
|
2811 |
</div> <!-- acx_qa_field -->
|
2812 |
<label>
|
2813 |
+
<?php _e("Twitter Link","coming-soon-maintenance-mode-from-acurax"); ?>
|
2814 |
</label>
|
2815 |
<div class="acx_qa_field">
|
2816 |
<input type="text" name="acx_csma_twitter_link4" id="acx_csma_twitter_link4" value="<?php echo esc_url($acx_csma_appearence_array['4']['acx_csma_twitter_link4']); ?>" size="20"/>
|
2817 |
</div> <!-- acx_qa_field -->
|
2818 |
<label>
|
2819 |
+
<?php _e("LinkedIn Link","coming-soon-maintenance-mode-from-acurax"); ?>
|
2820 |
</label>
|
2821 |
<div class="acx_qa_field">
|
2822 |
<input type="text" name="acx_csma_linkedin_link4" id="acx_csma_linkedin_link4" value="<?php echo esc_url($acx_csma_appearence_array['4']['acx_csma_linkedin_link4']); ?>" size="20"/>
|
2831 |
|
2832 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2833 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2834 |
+
<?php _e("Custom css Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
2835 |
</span>
|
2836 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2837 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2838 |
<div class="acx_csmap_q_and_a_inside">
|
2839 |
|
2840 |
<label>
|
2841 |
+
<?php _e("Custom css","coming-soon-maintenance-mode-from-acurax"); ?>
|
2842 |
</label>
|
2843 |
<div class="acx_qa_field">
|
2844 |
<?php $acx_csma_custom_css_temp4 = $acx_csma_appearence_array['4']['acx_csma_custom_css_temp4']; ?>
|
2845 |
+
<textarea id="acx_csma_custom_css_temp4" name="acx_csma_custom_css_temp4" placeholder="<?php _e("CSS Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo stripslashes($acx_csma_custom_css_temp4); ?></textarea>
|
2846 |
</div><!-- acx_qa_field -->
|
2847 |
<div class="f_w"></div>
|
2848 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
2859 |
|
2860 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2861 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2862 |
+
<?php _e("Background Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
2863 |
</span>
|
2864 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2865 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2866 |
<div class="acx_csmap_q_and_a_inside">
|
2867 |
<label>
|
2868 |
+
<?php _e("Background Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#e9eaec','acx_csma_bgcolor5');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2869 |
</label>
|
2870 |
<div class="acx_qa_field">
|
2871 |
<input type="text" name="acx_csma_bgcolor5" id="acx_csma_bgcolor5" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['5']['acx_csma_bgcolor5']; ?>" size="20"/>
|
2879 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
2880 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2881 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2882 |
+
<?php _e("Logo Settings ","coming-soon-maintenance-mode-from-acurax"); ?>
|
2883 |
</span>
|
2884 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2885 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2887 |
<div class="acx_csma_logo_main">
|
2888 |
<table cellspacing="10">
|
2889 |
<tr><td>
|
2890 |
+
<input type="radio" name="acx_csma_logo_choice5" class="acx_csma_logo" id="acx_csma_logo_image5" value="image" onclick="acx_csma_rdbtn_show_logo('image','5');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['5'])){if($acx_csma_appearence_array['5']['acx_csma_logo_choice'] == 'image' || $acx_csma_appearence_array['5']['acx_csma_logo_choice']==''){echo "checked='checked'";}}else{ echo "checked='checked'";} ?>/><?php _e("Logo Image","coming-soon-maintenance-mode-from-acurax"); ?></td><td>
|
2891 |
+
<input type="radio" name="acx_csma_logo_choice5" class="acx_csma_logo" id="acx_csma_logo_text5" value="text" onclick="acx_csma_rdbtn_show_logo('text','5');" <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array['5'])){if($acx_csma_appearence_array['5']['acx_csma_logo_choice'] == 'text'){echo "checked='checked'";}}?>/><?php _e("Logo Text","coming-soon-maintenance-mode-from-acurax"); ?></td></tr></table>
|
2892 |
</div><!--acx_csma_logo_main -->
|
2893 |
<div id="acx_show_logo_image_5" class="acx_csma_logo_block acx_csma_logo_block_5" style="display:none;">
|
2894 |
<label>
|
2895 |
+
<?php _e("Logo:","coming-soon-maintenance-mode-from-acurax"); ?> <span id="acx_csma_span">(<?php _e("Recommended size 315x94","coming-soon-maintenance-mode-from-acurax"); ?>)</span>
|
2896 |
</label>
|
2897 |
<div class="acx_qa_field">
|
2898 |
<?php
|
2908 |
<img id="custom_uploader_template_5_logo_field_preview" src="<?php echo $logo5_url; ?>" style="width:100px;height:auto;">
|
2909 |
<input type="hidden" id="custom_uploader_template_5_logo_field" name="acx_csma_logo5" value="<?php echo $acx_csma_logo5_id ; ?>" size="20">
|
2910 |
<br>
|
2911 |
+
<a id="acx_upload_button_logo5" class="button">Pick a <?php _e("Logo","coming-soon-maintenance-mode-from-acurax"); ?></a>
|
2912 |
+
<a id="acx_upload_button_reset_img1" onclick="acx_csma_restore_default('custom_uploader_template_5_logo_field_preview','<?php echo ACX_CSMA_BASE_LOCATION . 'templates/5/images/logo.png'; ?>','custom_uploader_template_5_logo_field');" class="button"><?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?></a>
|
2913 |
</div> <!-- acx_qa_field -->
|
2914 |
</div> <!-- acx_show_logo_image -->
|
2915 |
<div id="acx_show_logo_text_5" class="acx_csma_logo_block acx_csma_logo_block_5" style="display:none;">
|
2916 |
<label>
|
2917 |
+
<?php _e("Logo Text:","coming-soon-maintenance-mode-from-acurax"); ?>
|
2918 |
</label>
|
2919 |
<div class="acx_qa_field">
|
2920 |
<?php if(array_key_exists('acx_csma_logo_text5',$acx_csma_appearence_array['5'])){$acx_csma_logo_text5=$acx_csma_appearence_array['5']['acx_csma_logo_text5'];
|
2924 |
}}else{
|
2925 |
$acx_csma_logo_text5=get_bloginfo('name');
|
2926 |
}?>
|
2927 |
+
<input type="text" name="acx_csma_logo_text5" placeholder="<?php _e("Logo Text Here","coming-soon-maintenance-mode-from-acurax"); ?>" value="<?php echo $acx_csma_logo_text5 = acx_csma_option_text_after_save_hook_fn($acx_csma_logo_text5); ?>" size="20"/>
|
2928 |
</div> <!-- acx_qa_field -->
|
2929 |
<label>
|
2930 |
+
<?php _e("Logo Text Color: ","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#000000','acx_csma_logo_text_color5');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2931 |
</label>
|
2932 |
<div class="acx_qa_field">
|
2933 |
<?php if(array_key_exists('acx_csma_logo_text_color5',$acx_csma_appearence_array['5'])){$acx_csma_logo_text_color5=$acx_csma_appearence_array['5']['acx_csma_logo_text_color5'];
|
2947 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
2948 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2949 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2950 |
+
<?php _e("Inner Block Background Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
2951 |
</span>
|
2952 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2953 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2954 |
<div class="acx_csmap_q_and_a_inside">
|
2955 |
<label>
|
2956 |
+
<?php _e("Background Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#f5f5f5','acx_csma_inside_bg_color5');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2957 |
</label>
|
2958 |
<div class="acx_qa_field">
|
2959 |
<input type="text" name="acx_csma_inside_bg_color5" id="acx_csma_inside_bg_color5" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['5']['acx_csma_inside_bg_color5']; ?>" size="20"/>
|
2967 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
2968 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
2969 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
2970 |
+
<?php _e("Main Heading Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
2971 |
</span>
|
2972 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
2973 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
2974 |
<div class="acx_csmap_q_and_a_inside">
|
2975 |
<label>
|
2976 |
+
<?php _e("Title Text: ","coming-soon-maintenance-mode-from-acurax"); ?>
|
2977 |
</label>
|
2978 |
<div class="acx_qa_field">
|
2979 |
<?php $acx_csma_title5 = $acx_csma_appearence_array['5']['acx_csma_title5'];?>
|
2980 |
<input type="text" name="acx_csma_title5" value="<?php echo $acx_csma_title5 = acx_csma_option_text_after_save_hook_fn($acx_csma_title5); ?>" size="20"/>
|
2981 |
</div> <!-- acx_qa_field -->
|
2982 |
<label>
|
2983 |
+
<?php _e("Custom HTML Block Above Countdown Timer","coming-soon-maintenance-mode-from-acurax"); ?>
|
2984 |
</label>
|
2985 |
<div class="acx_qa_field">
|
2986 |
<?php $acx_csma_custom_html_top_temp5 =$acx_csma_appearence_array['5']['acx_csma_custom_html_top_temp5']; ?>
|
2987 |
+
<textarea id="acx_csma_custom_html_top_temp5" name="acx_csma_custom_html_top_temp5" placeholder="<?php _e("HTML Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo $acx_csma_custom_html_top_temp5 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_temp5); ?></textarea>
|
2988 |
</div><!-- acx_qa_field -->
|
2989 |
<div class="f_w"></div>
|
2990 |
<label>
|
2991 |
+
<?php _e("Title Text Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#4b4b4b','acx_csma_title_color5');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
2992 |
</label>
|
2993 |
<div class="acx_qa_field">
|
2994 |
<input type="text" name="acx_csma_title_color5" id="acx_csma_title_color5" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['5']['acx_csma_title_color5']; ?>" size="20"/>
|
3002 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
3003 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
3004 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
3005 |
+
<?php _e("Countdown, Progress bar & Custom HTML Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
3006 |
</span>
|
3007 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
3008 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
3009 |
<div class="acx_csmap_q_and_a_inside">
|
3010 |
<label>
|
3011 |
+
<?php _e("Would you like to show Timer?","coming-soon-maintenance-mode-from-acurax"); ?>
|
3012 |
</label>
|
3013 |
<div class="acx_qa_field">
|
3014 |
<select name="acx_csma_show_timer5">
|
3015 |
+
<option value="1" <?php if ($acx_csma_appearence_array['5']['acx_csma_show_timer5'] == "1") { echo 'selected="selected"'; } ?>><?php _e("Yes ","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
3016 |
+
<option value="0" <?php if ($acx_csma_appearence_array['5']['acx_csma_show_timer5'] == "0") { echo 'selected="selected"'; } ?>><?php _e("No","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
3017 |
</select>
|
3018 |
</div>
|
3019 |
<label>
|
3020 |
+
<?php _e("Input Text Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#000000','acx_csma_timer_iptext_color5');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
3021 |
</label>
|
3022 |
<div class="acx_qa_field">
|
3023 |
<input type="text" name="acx_csma_timer_iptext_color5" id="acx_csma_timer_iptext_color5" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['5']['acx_csma_timer_iptext_color5']; ?>" size="20"/>
|
3024 |
<div style="position: absolute;" id="acx_csma_timer_iptext_color5_div"></div>
|
3025 |
</div> <!-- acx_qa_field -->
|
3026 |
<label>
|
3027 |
+
<?php _e("Heading Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#000000','acx_csma_timer_head_color5');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
3028 |
</label>
|
3029 |
<div class="acx_qa_field">
|
3030 |
<input type="text" name="acx_csma_timer_head_color5" id="acx_csma_timer_head_color5" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['5']['acx_csma_timer_head_color5']; ?>" size="20"/>
|
3031 |
<div style="position: absolute;" id="acx_csma_timer_head_color5_div"></div>
|
3032 |
</div> <!-- acx_qa_field -->
|
3033 |
<label>
|
3034 |
+
<?php _e("Would you like to show Progress Bar ?","coming-soon-maintenance-mode-from-acurax"); ?>
|
3035 |
</label>
|
3036 |
<div class="acx_qa_field">
|
3037 |
<select name="acx_csma_show_progressbar5">
|
3038 |
+
<option value="1" <?php if ($acx_csma_appearence_array['5']['acx_csma_show_progressbar5'] == "1") { echo 'selected="selected"'; } ?>><?php _e("Yes","coming-soon-maintenance-mode-from-acurax"); ?> </option>
|
3039 |
+
<option value="0" <?php if ($acx_csma_appearence_array['5']['acx_csma_show_progressbar5'] == "0") { echo 'selected="selected"'; } ?>><?php _e("No","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
3040 |
</select>
|
3041 |
</div>
|
3042 |
<label>
|
3043 |
+
<?php _e("Progress Bar BorderColor:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#717171','acx_csma_progress_bar_color5');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
3044 |
</label>
|
3045 |
<div class="acx_qa_field">
|
3046 |
<input type="text" name="acx_csma_progress_bar_color5" id="acx_csma_progress_bar_color5" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['5']['acx_csma_progress_bar_color5']; ?>" size="20"/>
|
3047 |
<div style="position: absolute;" id="acx_csma_progress_bar_color5_div"></div>
|
3048 |
</div> <!-- acx_qa_field -->
|
3049 |
<label>
|
3050 |
+
<?php _e("Progress Bar BackgroundColor:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#000000','acx_csma_progress_bar_bg_color5');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
3051 |
+
</label>
|
3052 |
+
<div class="acx_qa_field">
|
3053 |
+
<input type="text" name="acx_csma_progress_bar_bg_color5" id="acx_csma_progress_bar_bg_color5" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['5']['acx_csma_progress_bar_bg_color5']; ?>" size="20"/>
|
3054 |
+
<div style="position: absolute;" id="acx_csma_progress_bar_bg_color5_div"></div>
|
3055 |
+
</div> <!-- acx_qa_field -->
|
3056 |
+
<label>
|
3057 |
+
<?php _e("Progress Bar TextColor:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#ffffff','acx_csma_progress_bar_text_color5');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
3058 |
+
</label>
|
3059 |
+
<div class="acx_qa_field">
|
3060 |
+
<input type="text" name="acx_csma_progress_bar_text_color5" id="acx_csma_progress_bar_text_color5" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['5']['acx_csma_progress_bar_text_color5']; ?>" size="20"/>
|
3061 |
+
<div style="position: absolute;" id="acx_csma_progress_bar_text_color5_div"></div>
|
3062 |
+
</div> <!-- acx_qa_field -->
|
3063 |
+
<label>
|
3064 |
+
<?php _e("Custom HTML Block Below Countdown Timer","coming-soon-maintenance-mode-from-acurax"); ?>
|
3065 |
</label>
|
3066 |
<div class="acx_qa_field">
|
3067 |
<?php $acx_csma_custom_html_bottom_temp5 =$acx_csma_appearence_array['5']['acx_csma_custom_html_bottom_temp5']; ?>
|
3068 |
+
<textarea id="acx_csma_custom_html_bottom_temp5" name="acx_csma_custom_html_bottom_temp5" placeholder="<?php _e("HTML Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo $acx_csma_custom_html_bottom_temp5 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_bottom_temp5); ?></textarea>
|
3069 |
</div><!-- acx_qa_field -->
|
3070 |
</div><!-- acx_csmap_q_and_a_inside -->
|
3071 |
</div> <!-- acx_csmap_q_and_a -->
|
3075 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
3076 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
3077 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
3078 |
+
<?php _e("Subscription Form Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
3079 |
</span>
|
3080 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
3081 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
3082 |
<div class="acx_csmap_q_and_a_inside">
|
3083 |
<label>
|
3084 |
+
<?php _e("Would you like to show Subscription form?","coming-soon-maintenance-mode-from-acurax"); ?>
|
3085 |
</label>
|
3086 |
<div class="acx_qa_field">
|
3087 |
<select name="acx_csma_show_subscription5">
|
3088 |
+
<option value="1" <?php if ($acx_csma_appearence_array['5']['acx_csma_show_subscription5'] == "1") { echo 'selected="selected"'; } ?>><?php _e("Yes ","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
3089 |
+
<option value="0" <?php if ($acx_csma_appearence_array['5']['acx_csma_show_subscription5'] == "0") { echo 'selected="selected"'; } ?>><?php _e("No","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
3090 |
</select>
|
3091 |
</div>
|
|
|
3092 |
<label>
|
3093 |
+
<?php _e("Would you like to show name field in Subscription form?","coming-soon-maintenance-mode-from-acurax"); ?>
|
3094 |
+
</label>
|
3095 |
+
<div class="acx_qa_field">
|
3096 |
+
<select name="acx_csma_show_subscription_name5">
|
3097 |
+
<option value="1" <?php if ($acx_csma_appearence_array['5']['acx_csma_show_subscription_name5'] == "1") { echo 'selected="selected"'; } ?>><?php _e("Yes ","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
3098 |
+
<option value="0" <?php if ($acx_csma_appearence_array['5']['acx_csma_show_subscription_name5'] == "0") { echo 'selected="selected"'; } ?>><?php _e("No","coming-soon-maintenance-mode-from-acurax"); ?></option>
|
3099 |
+
</select>
|
3100 |
+
</div>
|
3101 |
+
<label>
|
3102 |
+
<?php _e("Custom HTML Block Above Subscription form","coming-soon-maintenance-mode-from-acurax"); ?>
|
3103 |
</label>
|
3104 |
<div class="acx_qa_field">
|
3105 |
<?php $acx_csma_custom_html_top_sub = $acx_csma_appearence_array['5']['acx_csma_custom_html_top_sub']; ?>
|
3106 |
+
<textarea id="acx_csma_custom_html_top_sub" name="acx_csma_custom_html_top_sub" placeholder="<?php _e("HTML Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo $acx_csma_custom_html_top_sub = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_top_sub); ?></textarea>
|
3107 |
</div><!-- acx_qa_field -->
|
3108 |
<div class="f_w"></div>
|
3109 |
|
3110 |
<label>
|
3111 |
+
<?php _e("Custom HTML Block Below Subscription form","coming-soon-maintenance-mode-from-acurax"); ?>
|
3112 |
</label>
|
3113 |
<div class="acx_qa_field">
|
3114 |
<?php $acx_csma_custom_html_bottom_sub =$acx_csma_appearence_array['5']['acx_csma_custom_html_bottom_sub']; ?>
|
3115 |
+
<textarea id="acx_csma_custom_html_bottom_sub" name="acx_csma_custom_html_bottom_sub" placeholder="<?php _e("HTML Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo $acx_csma_custom_html_bottom_sub = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_bottom_sub); ?></textarea>
|
3116 |
</div><!-- acx_qa_field -->
|
3117 |
<div class="f_w"></div>
|
3118 |
<label>
|
3119 |
+
<?php _e("Background Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#2f2f2f','acx_csma_subscribe_bg_color5');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
3120 |
</label>
|
3121 |
<div class="acx_qa_field">
|
3122 |
<input type="text" name="acx_csma_subscribe_bg_color5" id="acx_csma_subscribe_bg_color5" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['5']['acx_csma_subscribe_bg_color5']; ?>" size="20"/>
|
3123 |
<div style="position: absolute;" id="acx_csma_subscribe_bg_color5_div"></div>
|
3124 |
</div> <!-- acx_qa_field -->
|
3125 |
<label>
|
3126 |
+
<?php _e("Launch Title:","coming-soon-maintenance-mode-from-acurax"); ?>
|
3127 |
</label>
|
3128 |
<div class="acx_qa_field">
|
3129 |
<?php $acx_csma_subscribe_main_title5 = $acx_csma_appearence_array['5']['acx_csma_subscribe_main_title5']; ?>
|
3130 |
<input type="text" name="acx_csma_subscribe_main_title5" value="<?php echo $acx_csma_subscribe_main_title5 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_main_title5); ?>" size="20"/>
|
3131 |
</div> <!-- acx_qa_field -->
|
3132 |
<label>
|
3133 |
+
<?php _e("Launch Title Text Color:","coming-soon-maintenance-mode-from-acurax"); ?><a onclick="acx_csma_restore_default('','#4b4b4b','acx_csma_launch_title_color5');" class="acx_csmap_button_reset">[<?php _e("Reset To Default","coming-soon-maintenance-mode-from-acurax"); ?>]</a>
|
3134 |
</label>
|
3135 |
<div class="acx_qa_field">
|
3136 |
<input type="text" name="acx_csma_launch_title_color5" id="acx_csma_launch_title_color5" onblur="acx_csma_validate(this.value);" value="<?php echo $acx_csma_appearence_array['5']['acx_csma_launch_title_color5']; ?>" size="20"/>
|
3137 |
<div style="position: absolute;" id="acx_csma_launch_title_color5_div"></div>
|
3138 |
</div> <!-- acx_qa_field -->
|
3139 |
<label>
|
3140 |
+
<?php _e("Title:","coming-soon-maintenance-mode-from-acurax"); ?>
|
3141 |
</label>
|
3142 |
<div class="acx_qa_field">
|
3143 |
<?php $acx_csma_subscribe_title5 = $acx_csma_appearence_array['5']['acx_csma_subscribe_title5'];?>
|
3144 |
<input type="text" name="acx_csma_subscribe_title5" value="<?php echo $acx_csma_subscribe_title5 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_title5); ?>" size="20"/>
|
3145 |
</div> <!-- acx_qa_field -->
|
3146 |
<label>
|
3147 |
+
<?php _e("Subscribe Button Text:","coming-soon-maintenance-mode-from-acurax"); ?>
|
3148 |
</label>
|
3149 |
<div class="acx_qa_field">
|
3150 |
<?php $acx_csma_subscribe_btn_text5 = $acx_csma_appearence_array['5']['acx_csma_subscribe_btn_text5']; ?>
|
3151 |
<input type="text" name="acx_csma_subscribe_btn_text5" value="<?php echo $acx_csma_subscribe_btn_text5 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_btn_text5); ?>" size="20"/>
|
3152 |
</div> <!-- acx_qa_field -->
|
3153 |
<label>
|
3154 |
+
<?php _e("Subscribe Success Message:","coming-soon-maintenance-mode-from-acurax"); ?>
|
3155 |
</label>
|
3156 |
<div class="acx_qa_field">
|
3157 |
<?php $acx_csma_subscribe_success5 = $acx_csma_appearence_array['5']['acx_csma_subscribe_success5']; ?>
|
3158 |
<input type="text" name="acx_csma_subscribe_success5" value="<?php echo $acx_csma_subscribe_success5 = acx_csma_option_text_after_save_hook_fn($acx_csma_subscribe_success5); ?>" size="20"/>
|
3159 |
</div> <!-- acx_qa_field -->
|
3160 |
<label>
|
3161 |
+
<?php _e("Subscribe Invalid Message:","coming-soon-maintenance-mode-from-acurax"); ?>
|
3162 |
</label>
|
3163 |
<div class="acx_qa_field">
|
3164 |
<?php $acx_csma_subscribe_invalid5 = $acx_csma_appearence_array['5']['acx_csma_subscribe_invalid5'];?>
|
3172 |
<?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
|
3173 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
3174 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
3175 |
+
<?php _e("Social Media Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
3176 |
</span>
|
3177 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
3178 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
3179 |
<div class="acx_csmap_q_and_a_inside">
|
3180 |
<label>
|
3181 |
+
<?php _e("Facebook Link","coming-soon-maintenance-mode-from-acurax"); ?>
|
3182 |
</label>
|
3183 |
<div class="acx_qa_field">
|
3184 |
<input type="text" name="acx_csma_fb_link5" id="acx_csma_fb_link5" value="<?php echo esc_url($acx_csma_appearence_array['5']['acx_csma_fb_link5']); ?>" size="20"/>
|
3185 |
</div> <!-- acx_qa_field -->
|
3186 |
<label>
|
3187 |
+
<?php _e("Twitter Link","coming-soon-maintenance-mode-from-acurax"); ?>
|
3188 |
</label>
|
3189 |
<div class="acx_qa_field">
|
3190 |
<input type="text" name="acx_csma_twitter_link5" id="acx_csma_twitter_link5" value="<?php echo esc_url($acx_csma_appearence_array['5']['acx_csma_twitter_link5']); ?>" size="20"/>
|
3191 |
</div> <!-- acx_qa_field -->
|
3192 |
<label>
|
3193 |
+
<?php _e("LinkedIn Link","coming-soon-maintenance-mode-from-acurax"); ?>
|
3194 |
</label>
|
3195 |
<div class="acx_qa_field">
|
3196 |
<input type="text" name="acx_csma_linkedin_link5" id="acx_csma_linkedin_link5" value="<?php echo esc_url($acx_csma_appearence_array['5']['acx_csma_linkedin_link5']); ?>" size="20"/>
|
3204 |
|
3205 |
<div id="acx_csmap_q_and_a_h" class="acx_csmap_q_and_a_h_common acx_csmap_q_and_a_h_<?php echo $acx_csmap_qa_id; ?>">
|
3206 |
<span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
|
3207 |
+
<?php _e("Custom css Settings","coming-soon-maintenance-mode-from-acurax"); ?>
|
3208 |
</span>
|
3209 |
<span class="acx_csma_toggle acx_csma_toggle_<?php echo $acx_csmap_qa_id; ?> plus" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);"></span>
|
3210 |
<div id="acx_csmap_q_and_a" class="acx_csmap_q_and_a_common acx_csmap_q_and_a_<?php echo $acx_csmap_qa_id; ?>" style="display:none;">
|
3211 |
<div class="acx_csmap_q_and_a_inside">
|
3212 |
|
3213 |
<label>
|
3214 |
+
<?php _e("Custom css","coming-soon-maintenance-mode-from-acurax"); ?>
|
3215 |
</label>
|
3216 |
<div class="acx_qa_field">
|
3217 |
<?php $acx_csma_custom_css_temp5 = $acx_csma_appearence_array['5']['acx_csma_custom_css_temp5']; ?>
|
3218 |
+
<textarea id="acx_csma_custom_css_temp5" name="acx_csma_custom_css_temp5" placeholder="<?php _e("CSS Code Here","coming-soon-maintenance-mode-from-acurax"); ?>"><?php echo stripslashes($acx_csma_custom_css_temp5); ?></textarea>
|
3219 |
</div><!-- acx_qa_field -->
|
3220 |
<div class="f_w"></div>
|
3221 |
</div> <!-- acx_csmap_q_and_a_inside -->
|
3229 |
<table>
|
3230 |
<tr><td>
|
3231 |
<label>
|
3232 |
+
<?php _e("Custom HTML content","coming-soon-maintenance-mode-from-acurax"); ?>
|
3233 |
</label></td>
|
3234 |
<td><?php $acx_csma_custom_html_val = get_option('acx_csma_custom_html_val'); ?>
|
3235 |
<textarea id="acx_csma_custom_html" name="acx_csma_custom_html_val" style="max-width: 80%; width: 500px; height: 180px;"><?php echo $acx_csma_custom_html_val = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_val); ?></textarea>
|
3239 |
</div><!-- acx_csma_template_0-->
|
3240 |
</div><!--acx_csma_tab_block_2-->
|
3241 |
<table>
|
3242 |
+
<tr><td colspan="3"><p><a onclick="acx_csma_save_settings('acx_csma_ip_list1');" name="Submit" id="Submit" class="button button-primary" style="margin-left:20px;"><?php _e('Save Settings','coming-soon-maintenance-mode-from-acurax'); ?></a></p>
|
3243 |
<input name="acx_csma_save_config" type="hidden" value="<?php echo wp_create_nonce('acx_csma_save_config'); ?>" />
|
3244 |
</td></tr>
|
3245 |
</table>
|
3286 |
//upload images and logos
|
3287 |
jQuery(document).ready(function()
|
3288 |
{
|
3289 |
+
acx_csma_upload_images_template_loader("acx_csma_favicon_button","<?php _e("Choose Favicon","coming-soon-maintenance-mode-from-acurax");?>","<?php _e("Choose Image","coming-soon-maintenance-mode-from-acurax");?>","acx_csma_favicon_field","acx_csma_favicon");
|
3290 |
|
3291 |
+
acx_csma_upload_images_template_loader("acx_upload_button_img1","<?php _e("Choose Background","coming-soon-maintenance-mode-from-acurax");?>","<?php _e("Choose Image","coming-soon-maintenance-mode-from-acurax");?>","custom_uploader_template_1_img_field","custom_uploader_template_1_img_field_preview");
|
3292 |
|
3293 |
+
acx_csma_upload_images_template_loader("acx_upload_button_logo1","<?php _e("Choose Logo","coming-soon-maintenance-mode-from-acurax");?>","<?php _e("Choose Image","coming-soon-maintenance-mode-from-acurax");?>","custom_uploader_template_1_logo_field","custom_uploader_template_1_logo_field_preview");
|
3294 |
|
3295 |
+
acx_csma_upload_images_template_loader("acx_upload_button_logo2","<?php _e("Choose Logo","coming-soon-maintenance-mode-from-acurax");?>","<?php _e("Choose Image","coming-soon-maintenance-mode-from-acurax");?>","custom_uploader_template_2_logo_field","custom_uploader_template_2_logo_field_preview");
|
3296 |
|
3297 |
+
acx_csma_upload_images_template_loader("acx_upload_button_logo3","<?php _e("Choose Logo","coming-soon-maintenance-mode-from-acurax");?>","<?php _e("Choose Image","coming-soon-maintenance-mode-from-acurax");?>","custom_uploader_template_3_logo_field","custom_uploader_template_3_logo_field_preview");
|
3298 |
|
3299 |
+
acx_csma_upload_images_template_loader("acx_upload_button_img4","<?php _e("Choose Background","coming-soon-maintenance-mode-from-acurax");?>","<?php _e("Choose Image","coming-soon-maintenance-mode-from-acurax");?>","custom_uploader_template_4_img_field","custom_uploader_template_4_img_field_preview");
|
3300 |
+
acx_csma_upload_images_template_loader("acx_upload_button_logo4","<?php _e("Choose Logo","coming-soon-maintenance-mode-from-acurax");?>","<?php _e("Choose Image","coming-soon-maintenance-mode-from-acurax");?>","custom_uploader_template_4_logo_field","custom_uploader_template_4_logo_field_preview");
|
3301 |
|
3302 |
+
acx_csma_upload_images_template_loader("acx_upload_button_logo5","<?php _e("Choose Logo","coming-soon-maintenance-mode-from-acurax");?>","<?php _e("Choose Image","coming-soon-maintenance-mode-from-acurax");?>","custom_uploader_template_5_logo_field","custom_uploader_template_5_logo_field_preview");
|
3303 |
});
|
3304 |
//show logo div
|
3305 |
function acx_csma_rdbtn_show_logo(value,id)
|
3327 |
}
|
3328 |
else
|
3329 |
{
|
3330 |
+
alert("<?php _e("You have entered an invalid color!","coming-soon-maintenance-mode-from-acurax");?>");
|
3331 |
return false;
|
3332 |
}
|
3333 |
}
|
3349 |
var acx_csma_textbox_value = jQuery('#acx_csma_txt_ip').val();
|
3350 |
|
3351 |
var ipformat = /^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/; //ipv4 format
|
3352 |
+
var ipv6_format = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/; //ipv6 format
|
3353 |
+
if(acx_csma_textbox_value.match(ipformat) || acx_csma_textbox_value.match(ipv6_format))
|
3354 |
{
|
3355 |
for(var x=0;x<listBox.options.length;x++)
|
3356 |
{
|
3357 |
if(listBox.options[x].value==acx_csma_textbox_value || listBox.options[x].text==acx_csma_textbox_value)
|
3358 |
{
|
3359 |
+
alert("<?php _e("IP is already Added!","coming-soon-maintenance-mode-from-acurax");?>");
|
3360 |
return false;
|
3361 |
}
|
3362 |
}
|
3364 |
}
|
3365 |
else
|
3366 |
{
|
3367 |
+
alert("<?php _e("You have entered an invalid IP address!","coming-soon-maintenance-mode-from-acurax");?>");
|
3368 |
return false;
|
3369 |
}
|
3370 |
}
|
includes/acx_csma_display_variables.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<div class="wrap">
|
2 |
<div style='background: white none repeat scroll 0% 0%; height: 100%; margin-top: 5px; border-radius: 15px; min-height: 450px; box-sizing: border-box; margin-left: auto; margin-right: auto; width: 98%; padding: 1%;display: table;'>
|
3 |
|
4 |
-
<?php echo "<h2 class='acx_csma_page_h2'>" . __( 'Display Variables', '
|
5 |
|
6 |
<div id="acx_csma_form">
|
7 |
<?php acx_csma_display_variables(); ?>
|
1 |
<div class="wrap">
|
2 |
<div style='background: white none repeat scroll 0% 0%; height: 100%; margin-top: 5px; border-radius: 15px; min-height: 450px; box-sizing: border-box; margin-left: auto; margin-right: auto; width: 98%; padding: 1%;display: table;'>
|
3 |
|
4 |
+
<?php echo "<h2 class='acx_csma_page_h2'>" . __( 'Display Variables', 'coming-soon-maintenance-mode-from-acurax' ) . "</h2>"; ?>
|
5 |
|
6 |
<div id="acx_csma_form">
|
7 |
<?php acx_csma_display_variables(); ?>
|
includes/acx_csma_expert_support.php
CHANGED
@@ -13,21 +13,21 @@ $acx_installation_url = "";
|
|
13 |
<div class="acx_csma_es_acx_content_area">
|
14 |
<div class="acx_csma_es_wp_left_area">
|
15 |
<div class="acx_csma_es_wp_left_content_inner">
|
16 |
-
<div class="acx_csma_es_wp_main_head"
|
17 |
-
<div class="acx_csma_es_wp_sub_para_des"
|
18 |
<div class="acx_csma_es_wp_acx_service_list">
|
19 |
<ul>
|
20 |
-
<li
|
21 |
-
<li
|
22 |
-
<li
|
23 |
-
<li
|
24 |
-
<li
|
25 |
-
<li
|
26 |
-
<li
|
27 |
</ul>
|
28 |
</div> <!-- acx_csma_es_wp_acx_service_list -->
|
29 |
|
30 |
-
<div class="acx_csma_es_wp_send_ylw_para"
|
31 |
|
32 |
</div> <!-- acx_csma_es_wp_left_content_inner -->
|
33 |
</div> <!-- acx_csma_es_wp_left_area -->
|
@@ -35,15 +35,15 @@ $acx_installation_url = "";
|
|
35 |
<div class="acx_csma_es_wp_right_area">
|
36 |
<div class="acx_csma_es_wp_right_inner_form_wrap">
|
37 |
<div class="acx_csma_es_wp_inner_wp_form">
|
38 |
-
<div class="acx_csma_es_wp_form_head"
|
39 |
<form class="acx_csma_es_wp_support_acx">
|
40 |
-
<span class="acx_csma_es_cnvas_input acx_csma_es_half_width_sec acx_csma_es_haif_marg_right"><input type="text" placeholder="Name" id="acx_name"></span> <!-- acx_csma_es_cnvas_input -->
|
41 |
-
<span class="acx_csma_es_cnvas_input acx_csma_es_half_width_sec acx_csma_es_haif_marg_left"><input type="email" placeholder="Email" id="acx_email"></span> <!-- acx_csma_es_cnvas_input -->
|
42 |
-
<span class="acx_csma_es_cnvas_input acx_csma_es_half_width_sec acx_csma_es_haif_marg_right"><input type="text" placeholder="Phone Number" id="acx_phone"></span> <!-- acx_csma_es_cnvas_input -->
|
43 |
-
<span class="acx_csma_es_cnvas_input acx_csma_es_half_width_sec acx_csma_es_haif_marg_left"><input type="text" placeholder="Website
|
44 |
-
<span class="acx_csma_es_cnvas_input"><input type="text" placeholder="Subject" id="acx_subject"></span> <!-- acx_csma_es_cnvas_input -->
|
45 |
-
<span class="acx_csma_es_cnvas_input"><textarea placeholder="Question" id="acx_question"></textarea></span> <!-- acx_csma_es_cnvas_input -->
|
46 |
-
<span class="acx_csma_es_cnvas_input"><input class="acx_csma_es_wp_acx_submit" type="button" value="SUBMIT
|
47 |
</form>
|
48 |
</div> <!-- acx_csma_es_wp_inner_wp_form -->
|
49 |
</div> <!-- acx_csma_es_wp_right_inner_form_wrap -->
|
@@ -51,7 +51,7 @@ $acx_installation_url = "";
|
|
51 |
</div> <!-- acx_csma_es_acx_content_area -->
|
52 |
|
53 |
<div class="acx_csma_es_footer_content_cvr">
|
54 |
-
<div class="acx_csma_es_wp_footer_area_desc"
|
55 |
</div> <!-- acx_csma_es_footer_content_cvr -->
|
56 |
|
57 |
</div> <!-- acx_csma_es_middle_section -->
|
@@ -80,23 +80,23 @@ jQuery.post(ajaxurl, order, function(quick_request_acx_response)
|
|
80 |
{
|
81 |
if(quick_request_acx_response == 1)
|
82 |
{
|
83 |
-
alert('Your Request Submitted Successfully!');
|
84 |
acx_quick_form_reset();
|
85 |
request_acx_form_status = 0;
|
86 |
} else if(quick_request_acx_response == 2)
|
87 |
{
|
88 |
-
alert('Please Fill Mandatory Fields.');
|
89 |
request_acx_form_status = 0;
|
90 |
} else
|
91 |
{
|
92 |
-
alert('There was an error processing the request, Please try again.');
|
93 |
acx_quick_form_reset();
|
94 |
request_acx_form_status = 0;
|
95 |
}
|
96 |
});
|
97 |
} else
|
98 |
{
|
99 |
-
alert('A request is already in progress.');
|
100 |
}
|
101 |
}
|
102 |
</script>
|
13 |
<div class="acx_csma_es_acx_content_area">
|
14 |
<div class="acx_csma_es_wp_left_area">
|
15 |
<div class="acx_csma_es_wp_left_content_inner">
|
16 |
+
<div class="acx_csma_es_wp_main_head"><?php _e("Do you Need Technical Support Services to Get the Best Out of Your Wordpress Site ?","coming-soon-maintenance-mode-from-acurax");?></div> <!-- wp_main_head -->
|
17 |
+
<div class="acx_csma_es_wp_sub_para_des"><?php _e("Acurax offer a number of WordPress related services: Form installing WordPress on your domain to offering support for existing WordPress sites.","coming-soon-maintenance-mode-from-acurax");?></div> <!-- acx_csma_es_wp_sub_para_des -->
|
18 |
<div class="acx_csma_es_wp_acx_service_list">
|
19 |
<ul>
|
20 |
+
<li><?php _e("Troubleshoot WordPress Site Issues","coming-soon-maintenance-mode-from-acurax");?></li>
|
21 |
+
<li><?php _e("Recommend & Install Plugins For Improved WordPress Performance","coming-soon-maintenance-mode-from-acurax");?></li>
|
22 |
+
<li><?php _e("Create, Modify, Or Customise, Themes","coming-soon-maintenance-mode-from-acurax");?></li>
|
23 |
+
<li><?php _e("Explain Errors And Recommend Solutions","coming-soon-maintenance-mode-from-acurax");?></li>
|
24 |
+
<li><?php _e("Custom Plugin Development According To Your Needs","coming-soon-maintenance-mode-from-acurax");?></li>
|
25 |
+
<li><?php _e("Plugin Integration Support","coming-soon-maintenance-mode-from-acurax");?></li>
|
26 |
+
<li><?php _e("Many ","coming-soon-maintenance-mode-from-acurax");?><a href="http://wordpress.acurax.com/?utm_source=csma&utm_campaign=expert_support" target="_blank"><?php _e("More...","coming-soon-maintenance-mode-from-acurax");?></a></li>
|
27 |
</ul>
|
28 |
</div> <!-- acx_csma_es_wp_acx_service_list -->
|
29 |
|
30 |
+
<div class="acx_csma_es_wp_send_ylw_para"><?php _e("We Have Extensive Experience in WordPress Troubleshooting,Theme Design & Plugin Development.","coming-soon-maintenance-mode-from-acurax");?></div> <!-- acx_csma_es_wp_secnd_ylw_para-->
|
31 |
|
32 |
</div> <!-- acx_csma_es_wp_left_content_inner -->
|
33 |
</div> <!-- acx_csma_es_wp_left_area -->
|
35 |
<div class="acx_csma_es_wp_right_area">
|
36 |
<div class="acx_csma_es_wp_right_inner_form_wrap">
|
37 |
<div class="acx_csma_es_wp_inner_wp_form">
|
38 |
+
<div class="acx_csma_es_wp_form_head"><?php _e("WE ARE DEDICATED TO HELP YOU. SUBMIT YOUR REQUEST NOW..!","coming-soon-maintenance-mode-from-acurax");?></div> <!-- acx_csma_es_wp_form_head -->
|
39 |
<form class="acx_csma_es_wp_support_acx">
|
40 |
+
<span class="acx_csma_es_cnvas_input acx_csma_es_half_width_sec acx_csma_es_haif_marg_right"><input type="text" placeholder="<?php _e('Name','coming-soon-maintenance-mode-from-acurax');?>" id="acx_name"></span> <!-- acx_csma_es_cnvas_input -->
|
41 |
+
<span class="acx_csma_es_cnvas_input acx_csma_es_half_width_sec acx_csma_es_haif_marg_left"><input type="email" placeholder="<?php _e('Email','coming-soon-maintenance-mode-from-acurax');?>" id="acx_email"></span> <!-- acx_csma_es_cnvas_input -->
|
42 |
+
<span class="acx_csma_es_cnvas_input acx_csma_es_half_width_sec acx_csma_es_haif_marg_right"><input type="text" placeholder="<?php _e('Phone Number','coming-soon-maintenance-mode-from-acurax');?>" id="acx_phone"></span> <!-- acx_csma_es_cnvas_input -->
|
43 |
+
<span class="acx_csma_es_cnvas_input acx_csma_es_half_width_sec acx_csma_es_haif_marg_left"><input type="text" placeholder="<?php _e('Website Url','coming-soon-maintenance-mode-from-acurax');?>" value="<?php echo $acx_installation_url; ?>" id="acx_weburl"></span> <!-- acx_csma_es_cnvas_input -->
|
44 |
+
<span class="acx_csma_es_cnvas_input"><input type="text" placeholder="<?php _e('Subject','coming-soon-maintenance-mode-from-acurax');?>" id="acx_subject"></span> <!-- acx_csma_es_cnvas_input -->
|
45 |
+
<span class="acx_csma_es_cnvas_input"><textarea placeholder="<?php _e('Question','coming-soon-maintenance-mode-from-acurax');?>" id="acx_question"></textarea></span> <!-- acx_csma_es_cnvas_input -->
|
46 |
+
<span class="acx_csma_es_cnvas_input"><input class="acx_csma_es_wp_acx_submit" type="button" value="<?php _e('SUBMIT RQUEST','coming-soon-maintenance-mode-from-acurax');?>" onclick="acx_csma_quick_request_submit();"></span> <!-- acx_csma_es_cnvas_input -->
|
47 |
</form>
|
48 |
</div> <!-- acx_csma_es_wp_inner_wp_form -->
|
49 |
</div> <!-- acx_csma_es_wp_right_inner_form_wrap -->
|
51 |
</div> <!-- acx_csma_es_acx_content_area -->
|
52 |
|
53 |
<div class="acx_csma_es_footer_content_cvr">
|
54 |
+
<div class="acx_csma_es_wp_footer_area_desc"><?php _e("Its our pleasure to thank you for using our plugin and being with us. We always do our best to help you on your needs. If you like to hide this menu, you can do so at ","coming-soon-maintenance-mode-from-acurax");?><a href="admin.php?page=Acurax-Coming-Soon-Maintenance-Mode-Misc"><?php _e("Misc","coming-soon-maintenance-mode-from-acurax");?></a><?php _e(" page which is under our plugin options.","coming-soon-maintenance-mode-from-acurax");?></div> <!--acx_csma_es_wp_footer_area_desc -->
|
55 |
</div> <!-- acx_csma_es_footer_content_cvr -->
|
56 |
|
57 |
</div> <!-- acx_csma_es_middle_section -->
|
80 |
{
|
81 |
if(quick_request_acx_response == 1)
|
82 |
{
|
83 |
+
alert('<?php _e("Your Request Submitted Successfully!","coming-soon-maintenance-mode-from-acurax");?>');
|
84 |
acx_quick_form_reset();
|
85 |
request_acx_form_status = 0;
|
86 |
} else if(quick_request_acx_response == 2)
|
87 |
{
|
88 |
+
alert('<?php _e("Please Fill Mandatory Fields.","coming-soon-maintenance-mode-from-acurax");?>');
|
89 |
request_acx_form_status = 0;
|
90 |
} else
|
91 |
{
|
92 |
+
alert('<?php _e("There was an error processing the request, Please try again.","coming-soon-maintenance-mode-from-acurax");?>');
|
93 |
acx_quick_form_reset();
|
94 |
request_acx_form_status = 0;
|
95 |
}
|
96 |
});
|
97 |
} else
|
98 |
{
|
99 |
+
alert('<?php _e("A request is already in progress.","coming-soon-maintenance-mode-from-acurax");?>');
|
100 |
}
|
101 |
}
|
102 |
</script>
|
includes/acx_csma_help.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<div id="acx_csma_help_page"><div style='background: none repeat scroll 0% 0% white; height: 100%; display: inline-block; padding: 8px; margin-top: 5px; border-radius: 15px; min-height: 450px; width: 98%;'>
|
2 |
-
<h2 style="text-align:center;"
|
3 |
-
<p style="text-align:center;"
|
4 |
-
<h3 style="text-align:center;"><a href="https://wordpress.org/plugins/coming-soon-maintenance-mode-from-acurax/faq/" target="_blank" class="button"
|
5 |
</div> <!-- acx_help_page -->
|
6 |
</div>
|
1 |
<div id="acx_csma_help_page"><div style='background: none repeat scroll 0% 0% white; height: 100%; display: inline-block; padding: 8px; margin-top: 5px; border-radius: 15px; min-height: 450px; width: 98%;'>
|
2 |
+
<h2 style="text-align:center;"><?php _e("Coming Soon/Maintenance From Acurax- Wordpress Plugin - Help/Support","coming-soon-maintenance-mode-from-acurax"); ?></h2>
|
3 |
+
<p style="text-align:center;"><?php _e("Thank you for using Coming Soon/Maintenance From Acurax Plugin","coming-soon-maintenance-mode-from-acurax"); ?></p>
|
4 |
+
<h3 style="text-align:center;"><a href="https://wordpress.org/plugins/coming-soon-maintenance-mode-from-acurax/faq/" target="_blank" class="button"><?php _e("Click here to open the FAQ and Help Page","coming-soon-maintenance-mode-from-acurax");?></a></h3>
|
5 |
</div> <!-- acx_help_page -->
|
6 |
</div>
|
includes/acx_csma_misc.php
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
-
<?php
|
|
|
2 |
if(ISSET($_POST['acx_csma_misc_hidden']))
|
3 |
{
|
4 |
$acx_csma_misc_hidden = $_POST['acx_csma_misc_hidden'];
|
@@ -8,69 +9,42 @@ else
|
|
8 |
$acx_csma_misc_hidden = "";
|
9 |
}
|
10 |
if($acx_csma_misc_hidden == 'Y')
|
11 |
-
{
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
?>
|
17 |
-
<div class="updated"><p><strong><?php _e('Misc Settings Saved!.' ); ?></strong></p></div>
|
18 |
-
<?php
|
19 |
}
|
20 |
-
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
-
$acx_csma_service_banners = get_option('acx_csma_service_banners');
|
24 |
-
$acx_csma_hide_expert_support_menu = get_option('acx_csma_hide_expert_support_menu');
|
25 |
|
26 |
-
// Setting Defaults
|
27 |
-
if ($acx_csma_service_banners == "") { $acx_csma_service_banners = "yes"; }
|
28 |
-
if ($acx_csma_hide_expert_support_menu == "") { $acx_csma_hide_expert_support_menu = "no"; }
|
29 |
-
} //Main else
|
30 |
-
?>
|
31 |
-
<div class="wrap">
|
32 |
-
<div style='background: white none repeat scroll 0% 0%; height: 100%; margin-top: 5px; border-radius: 15px; min-height: 450px; box-sizing: border-box; margin-left: auto; margin-right: auto; width: 98%; padding: 1%;display: table;'>
|
33 |
-
|
34 |
-
<?php echo "<h2 class='acx_csma_page_h2'>" . __( 'Misc Settings', 'acx_csma_config' ) . "</h2>"; ?>
|
35 |
-
|
36 |
-
<form name="acurax_csma_misc_form" id="acurax_csma_misc_form" method="post" action="<?php echo str_replace( '%7E', '~', $_SERVER['REQUEST_URI']); ?>">
|
37 |
-
<hr/>
|
38 |
-
|
39 |
-
<table class="form-table">
|
40 |
-
<tbody>
|
41 |
-
<tr>
|
42 |
-
<th scope="row">
|
43 |
-
<label for="blogname"><?php _e("Acurax Service Banners: " ); ?></label>
|
44 |
-
</th>
|
45 |
-
<td>
|
46 |
-
<input type="hidden" name="acx_csma_misc_hidden" value="Y">
|
47 |
-
<select name="acx_csma_service_banners">
|
48 |
-
<option value="yes" <?php if ($acx_csma_service_banners == "yes") { echo 'selected="selected"'; } ?>>Yes, Show Them </option>
|
49 |
-
<option value="no" <?php if ($acx_csma_service_banners == "no") { echo 'selected="selected"'; } ?>>No, Hide Them </option>
|
50 |
-
</select> <br/>
|
51 |
-
<?php _e("Show Acurax Service Banners On Plugin Settings Page?" ); ?>
|
52 |
-
</td>
|
53 |
-
</tr>
|
54 |
-
<tr>
|
55 |
-
<th scope="row">
|
56 |
-
<label for="blogname"><?php _e("Hide Expert Support Menu?: " ); ?></label>
|
57 |
-
</th>
|
58 |
-
<td>
|
59 |
-
<select name="acx_csma_hide_expert_support_menu">
|
60 |
-
<option value="yes" <?php if ($acx_csma_hide_expert_support_menu == "yes") { echo 'selected="selected"'; } ?>>Yes </option>
|
61 |
-
<option value="no" <?php if ($acx_csma_hide_expert_support_menu == "no") { echo 'selected="selected"'; } ?>>No </option>
|
62 |
-
</select> <br/>
|
63 |
-
<?php _e("Would you like to hide the expert support sub menu?" ); ?>
|
64 |
-
</td>
|
65 |
-
</tr>
|
66 |
-
</tbody>
|
67 |
-
</table>
|
68 |
-
<p class="submit">
|
69 |
-
<input type="submit" name="Submit" class="button button-primary" value="<?php _e('Save Settings', 'acx_csma_config' ) ?>" />
|
70 |
-
</p>
|
71 |
-
</form>
|
72 |
-
<div id="acx_csma_sidebar">
|
73 |
-
<?php acx_csma_hook_function('acx_csma_hook_sidebar_widget'); ?>
|
74 |
-
</div> <!-- acx_csma_sidebar -->
|
75 |
-
</div>
|
76 |
-
</div>
|
1 |
+
<?php
|
2 |
+
acx_csma_hook_function('acx_csma_misc_hook_option_above_ifpost');
|
3 |
if(ISSET($_POST['acx_csma_misc_hidden']))
|
4 |
{
|
5 |
$acx_csma_misc_hidden = $_POST['acx_csma_misc_hidden'];
|
9 |
$acx_csma_misc_hidden = "";
|
10 |
}
|
11 |
if($acx_csma_misc_hidden == 'Y')
|
12 |
+
{
|
13 |
+
acx_csma_hook_function('acx_csma_misc_hook_option_onpost');
|
14 |
+
} else
|
15 |
+
{
|
16 |
+
acx_csma_hook_function('acx_csma_misc_hook_option_postelse');
|
|
|
|
|
|
|
17 |
}
|
18 |
+
acx_csma_hook_function('acx_csma_misc_hook_option_after_else');
|
19 |
+
acx_csma_hook_function('acx_csma_misc_hook_option_form_head');
|
20 |
+
acx_csma_hook_function('acx_csma_misc_hook_option_fields');
|
21 |
+
acx_csma_hook_function('acx_csma_misc_hook_option_form_footer');
|
22 |
+
acx_csma_hook_function('acx_csma_misc_hook_option_sidebar');
|
23 |
+
?>
|
24 |
+
|
25 |
+
|
26 |
+
|
27 |
+
|
28 |
+
|
29 |
+
|
30 |
+
|
31 |
+
|
32 |
+
|
33 |
+
|
34 |
+
|
35 |
+
|
36 |
+
|
37 |
+
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
+
|
42 |
+
|
43 |
+
|
44 |
+
|
45 |
+
|
46 |
+
|
47 |
+
|
48 |
+
|
49 |
|
|
|
|
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/acx_csma_subscribers.php
CHANGED
@@ -51,7 +51,7 @@ if($del == "delete" && $id !="")
|
|
51 |
update_option('acx_csma_subscribe_user_details', $acx_csma_subscribe_details);
|
52 |
}
|
53 |
}
|
54 |
-
$acx_csma_message = "
|
55 |
}
|
56 |
$acx_csma_subscribe_details=get_option('acx_csma_subscribe_user_details');
|
57 |
if(is_serialized($acx_csma_subscribe_details ))
|
@@ -78,7 +78,7 @@ if ((ISSET( $_POST['action'] ) && $_POST['action'] == 'bulk_delete') || (ISSET(
|
|
78 |
$acx_csma_subscribe_details = serialize($acx_csma_subscribe_details);
|
79 |
}
|
80 |
update_option('acx_csma_subscribe_user_details', $acx_csma_subscribe_details);
|
81 |
-
$acx_csma_message = "
|
82 |
}
|
83 |
if($acx_csma_message != "")
|
84 |
{
|
@@ -150,11 +150,11 @@ class Acx_Csma_My_List_Table extends WP_List_Table
|
|
150 |
{
|
151 |
$columns = array(
|
152 |
'cb' => '<input type="checkbox" />',
|
153 |
-
'ID' => 'Sl No',
|
154 |
-
'NAME' => 'NAME',
|
155 |
-
'EMAIL' => 'EMAIL',
|
156 |
-
'IP' => 'IP',
|
157 |
-
'TIME' => 'TIME'
|
158 |
);
|
159 |
return $columns;
|
160 |
}
|
@@ -170,7 +170,7 @@ class Acx_Csma_My_List_Table extends WP_List_Table
|
|
170 |
function column_EMAIL($item)
|
171 |
{
|
172 |
$actions = array(
|
173 |
-
'delete' => sprintf('<a href="?page=%s&action=%s&ID=%s">Delete</a>',$_REQUEST['page'],'delete',$item['ID'])
|
174 |
);
|
175 |
return sprintf('%1$s %2$s', $item['EMAIL'], $this->row_actions($actions) );
|
176 |
}
|
@@ -208,7 +208,7 @@ class Acx_Csma_My_List_Table extends WP_List_Table
|
|
208 |
}
|
209 |
function no_items()
|
210 |
{
|
211 |
-
_e( 'No
|
212 |
}
|
213 |
function column_default( $item, $column_name )
|
214 |
{
|
@@ -237,13 +237,13 @@ function acx_csma_render_list_page()
|
|
237 |
|
238 |
<div class="main_wrap">
|
239 |
<?php
|
240 |
-
echo "<h2>" . __( 'Maintenance Mode Subscribers', '
|
241 |
$acx_csma = str_replace( '%7E', '~', $_SERVER['REQUEST_URI']);
|
242 |
if($acx_csma != "")
|
243 |
{
|
244 |
$acx_csma = str_replace("action=delete&ID","acurax",$acx_csma);
|
245 |
} ?>
|
246 |
-
<form name="acurax_popunder_subscribe_form" method="post" action="<?php echo $acx_csma; ?>">
|
247 |
<p>
|
248 |
<?php acx_csma_render_list_page(); ?>
|
249 |
</p>
|
@@ -251,7 +251,7 @@ if($acx_csma != "")
|
|
251 |
</div>
|
252 |
<script type="text/javascript">
|
253 |
jQuery( document ).ready(function() {
|
254 |
-
var new_button="<a onclick='acx_csma_subscribe_list();' class='button'
|
255 |
jQuery('.tablenav .bulkactions').append(new_button);
|
256 |
});
|
257 |
function acx_csma_subscribe_list()
|
51 |
update_option('acx_csma_subscribe_user_details', $acx_csma_subscribe_details);
|
52 |
}
|
53 |
}
|
54 |
+
$acx_csma_message = __("Email Deleted Successfully!.","coming-soon-maintenance-mode-from-acurax");
|
55 |
}
|
56 |
$acx_csma_subscribe_details=get_option('acx_csma_subscribe_user_details');
|
57 |
if(is_serialized($acx_csma_subscribe_details ))
|
78 |
$acx_csma_subscribe_details = serialize($acx_csma_subscribe_details);
|
79 |
}
|
80 |
update_option('acx_csma_subscribe_user_details', $acx_csma_subscribe_details);
|
81 |
+
$acx_csma_message = __("Email Deleted Successfully!.","coming-soon-maintenance-mode-from-acurax");
|
82 |
}
|
83 |
if($acx_csma_message != "")
|
84 |
{
|
150 |
{
|
151 |
$columns = array(
|
152 |
'cb' => '<input type="checkbox" />',
|
153 |
+
'ID' => __('Sl No','coming-soon-maintenance-mode-from-acurax'),
|
154 |
+
'NAME' => __('NAME','coming-soon-maintenance-mode-from-acurax'),
|
155 |
+
'EMAIL' => __('EMAIL','coming-soon-maintenance-mode-from-acurax'),
|
156 |
+
'IP' => __('IP','coming-soon-maintenance-mode-from-acurax'),
|
157 |
+
'TIME' => __('TIME','coming-soon-maintenance-mode-from-acurax')
|
158 |
);
|
159 |
return $columns;
|
160 |
}
|
170 |
function column_EMAIL($item)
|
171 |
{
|
172 |
$actions = array(
|
173 |
+
'delete' => sprintf('<a href="?page=%s&action=%s&ID=%s">'.__('Delete','coming-soon-maintenance-mode-from-acurax').'</a>',$_REQUEST['page'],'delete',$item['ID'])
|
174 |
);
|
175 |
return sprintf('%1$s %2$s', $item['EMAIL'], $this->row_actions($actions) );
|
176 |
}
|
208 |
}
|
209 |
function no_items()
|
210 |
{
|
211 |
+
_e( 'No Emails Found !!!!','coming-soon-maintenance-mode-from-acurax');
|
212 |
}
|
213 |
function column_default( $item, $column_name )
|
214 |
{
|
237 |
|
238 |
<div class="main_wrap">
|
239 |
<?php
|
240 |
+
echo "<h2>" . __( 'Maintenance Mode Subscribers', 'coming-soon-maintenance-mode-from-acurax' ) . "</h2>";
|
241 |
$acx_csma = str_replace( '%7E', '~', $_SERVER['REQUEST_URI']);
|
242 |
if($acx_csma != "")
|
243 |
{
|
244 |
$acx_csma = str_replace("action=delete&ID","acurax",$acx_csma);
|
245 |
} ?>
|
246 |
+
<form name="acurax_popunder_subscribe_form" method="post" action="<?php echo esc_url($acx_csma); ?>">
|
247 |
<p>
|
248 |
<?php acx_csma_render_list_page(); ?>
|
249 |
</p>
|
251 |
</div>
|
252 |
<script type="text/javascript">
|
253 |
jQuery( document ).ready(function() {
|
254 |
+
var new_button="<a onclick='acx_csma_subscribe_list();' class='button'><?php _e('Export Current Subscribers','coming-soon-maintenance-mode-from-acurax');?></a>";
|
255 |
jQuery('.tablenav .bulkactions').append(new_button);
|
256 |
});
|
257 |
function acx_csma_subscribe_list()
|
includes/defaults.php
CHANGED
@@ -8,13 +8,13 @@ function acx_csma_appearence_array_default_value_setting($acx_csma_appearence_ar
|
|
8 |
$acx_csma_logo_choice1="image";
|
9 |
$acx_csma_logo_text1=get_bloginfo('name');
|
10 |
$acx_csma_logo_text_color1="#ffffff";
|
11 |
-
$acx_csma_title1="Something New Is Coming";
|
12 |
$acx_csma_title_color1="#ffffff";
|
13 |
-
$acx_csma_subtitle_text1="We are Working on Our Website";
|
14 |
$acx_csma_subtitle_color1="#fffaa9";
|
15 |
$acx_csma_custom_html_top_temp1="";
|
16 |
$acx_csma_inside_bg_color1="#ff7800";
|
17 |
-
$acx_csma_inside_title1="Estimate Time Before Launching";
|
18 |
$acx_csma_custom_html_top_temp1_title="";
|
19 |
$acx_csma_inside_title_color1="#ffffff";
|
20 |
$acx_csma_custom_html_bottom_temp1="";
|
@@ -22,21 +22,23 @@ function acx_csma_appearence_array_default_value_setting($acx_csma_appearence_ar
|
|
22 |
$acx_csma_timer_bg_color1="#ffffff";
|
23 |
$acx_csma_timer_iptext_color1="#ffffff";
|
24 |
$acx_csma_timer_head_color1="#ff7800";
|
|
|
25 |
$acx_csma_show_subscription = 1;
|
|
|
26 |
$acx_csma_custom_html_top_sub1 = "";
|
27 |
$acx_csma_custom_html_bottom_sub1= "";
|
28 |
$acx_csma_subscribe_bg_color1="#0b1c2c";
|
29 |
-
$acx_csma_subscribe_btn_text1="submit"
|
30 |
$acx_csma_subscribe_btn_text_color1="#ffffff";
|
31 |
$acx_csma_subscribe_btn_color1="#ff7800";
|
32 |
$acx_csma_subscribe_btn_hover_color1="#0b1c2c";
|
33 |
$acx_csma_subscribe_btn_hover_bgcolor1="#ff881e";
|
34 |
-
$acx_csma_subscribe_title1="Subscribe For Updates";
|
35 |
$acx_csma_subscribe_title_color1="#ff7800";
|
36 |
-
$acx_csma_subscribe_success1="Successfully Subscribed";
|
37 |
-
$acx_csma_subscribe_invalid1="Invalid Email";
|
38 |
$acx_csma_footer_bgcolor1="#ff7800";
|
39 |
-
$acx_csma_footer_text1="©". date("Y")." All rights reserved";
|
40 |
$acx_csma_footer_text_color1="#ffffff";
|
41 |
$acx_csma_custom_css_temp1= "";
|
42 |
// *******************template2*********************
|
@@ -45,27 +47,32 @@ function acx_csma_appearence_array_default_value_setting($acx_csma_appearence_ar
|
|
45 |
$acx_csma_logo_choice2="image";
|
46 |
$acx_csma_logo_text2=get_bloginfo('name');
|
47 |
$acx_csma_logo_text_color2="#ffffff";
|
48 |
-
$acx_csma_title2="Hello";
|
49 |
$acx_csma_title_color2="#000000";
|
50 |
-
$acx_csma_subtitle_text2="We are Coming Very Soon";
|
51 |
$acx_csma_subtitle_color2="#000000";
|
52 |
$acx_csma_inside_bg_color2="#ffd800";
|
53 |
$acx_csma_custom_html_above_timer="";
|
54 |
$acx_csma_custom_html_top_timer="";
|
55 |
$acx_csma_show_subscription2 = 1;
|
56 |
-
$
|
|
|
57 |
$acx_csma_show_timer2 = 1;
|
58 |
-
$acx_csma_timer_title2="Estimate time for launching";
|
|
|
59 |
$acx_csma_subscribe_btn_color2="#ffd800";
|
60 |
-
$acx_csma_subscribe_success2="Successfully Subscribed";
|
61 |
-
$acx_csma_subscribe_invalid2="Invalid Email";
|
62 |
$acx_csma_timer_input_bg_color2="#ffffff";
|
63 |
$acx_csma_timer_iptext_color2="#000000";
|
64 |
$acx_csma_timer_head_color2="#000000";
|
65 |
$acx_csma_custom_html_top_temp2="";
|
66 |
-
$acx_csma_desc_title2="What is Coming";
|
67 |
-
$acx_csma_desc_subtitle2=stripslashes(trim("Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat."));
|
68 |
$acx_csma_desc_text_color2="#000000";
|
|
|
|
|
|
|
69 |
$acx_csma_fb_link2="";
|
70 |
$acx_csma_twitter_link2="";
|
71 |
$acx_csma_linkedin_link2="";
|
@@ -75,38 +82,40 @@ function acx_csma_appearence_array_default_value_setting($acx_csma_appearence_ar
|
|
75 |
$acx_csma_logo_choice3="image";
|
76 |
$acx_csma_logo_text3=get_bloginfo('name');
|
77 |
$acx_csma_logo_text_color3="#ffffff";
|
78 |
-
$acx_csma_title3="Hello";
|
79 |
$acx_csma_title_color3="#ffffff";
|
80 |
-
$acx_csma_subtitle_text3="We are Coming Very Soon";
|
81 |
$acx_csma_subtitle_color3="#ffffff";
|
82 |
$acx_csma_primary_color3="#ffffff";
|
83 |
$acx_csma_secondary_color3="#fe7e01";
|
84 |
$acx_csma_left_bar_color3="#000000";
|
85 |
$acx_csma_timer_color3="#ffffff";
|
86 |
-
$acx_csma_subscribe_title3="Subscribe Now";
|
87 |
$acx_csma_subscribe_title_color3="#fe7e01";
|
88 |
$acx_csma_show_subscription3 = 1;
|
|
|
89 |
$acx_csma_show_timer3 = 1;
|
90 |
-
$acx_csma_subscribe_btn_text3="submit";
|
91 |
$acx_csma_subscribe_btn_text_color3="#ffffff";
|
92 |
$acx_csma_subscribe_btn_color3="#fe7e01";
|
93 |
$acx_csma_subscribe_btn_hover_color3="#0b1c2c";
|
94 |
$acx_csma_subscribe_btn_hover_bgcolor3="#fe6001";
|
95 |
-
$acx_csma_subscribe_success3="Successfully Subscribed";
|
96 |
-
$acx_csma_subscribe_invalid3="Invalid Email";
|
97 |
-
$acx_csma_inside_title3="Estimate Time Before Launching";
|
98 |
$acx_csma_inside_title_color3="#ffffff";
|
99 |
$acx_csma_timer_iptext_color3="#000000";
|
100 |
$acx_csma_timer_head_color3="#000000";
|
101 |
$acx_csma_custom_html_top_temp3="";
|
102 |
$acx_csma_custom_html_top_timer_temp3="";
|
103 |
$acx_csma_custom_html_bottom_temp3="";
|
104 |
-
$acx_csma_desc_title3="What is Coming";
|
105 |
-
$acx_csma_desc_subtitle3=stripslashes(trim("Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat."));
|
106 |
$acx_csma_desc_text_color3="#000000";
|
107 |
-
$
|
|
|
108 |
$acx_csma_footer_color3="#000000";
|
109 |
-
$acx_csma_social_link_title3="Follow Us ON";
|
110 |
$acx_csma_social_link_title_color3="#000000";
|
111 |
$acx_csma_fb_link3="";
|
112 |
$acx_csma_twitter_link3="";
|
@@ -119,7 +128,7 @@ function acx_csma_appearence_array_default_value_setting($acx_csma_appearence_ar
|
|
119 |
$acx_csma_logo_text4=get_bloginfo('name');
|
120 |
$acx_csma_logo_text_color4="#ffffff";
|
121 |
$acx_csma_inside_bg_color4="#ebebeb";
|
122 |
-
$acx_csma_title4="Our Website is Under Construction";
|
123 |
$acx_csma_custom_html_top_temp4="";
|
124 |
$acx_csma_title_color4="#717171";
|
125 |
$acx_csma_show_timer4=1;
|
@@ -127,7 +136,19 @@ function acx_csma_appearence_array_default_value_setting($acx_csma_appearence_ar
|
|
127 |
$acx_csma_timer_head_color4="#717171";
|
128 |
$acx_csma_show_progressbar4=1;
|
129 |
$acx_csma_progress_bar_color4="#717171";
|
|
|
|
|
130 |
$acx_csma_custom_html_bottom_temp4="";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
$acx_csma_fb_link4="";
|
132 |
$acx_csma_twitter_link4="";
|
133 |
$acx_csma_linkedin_link4="";
|
@@ -139,7 +160,7 @@ function acx_csma_appearence_array_default_value_setting($acx_csma_appearence_ar
|
|
139 |
$acx_csma_logo_text5=get_bloginfo('name');
|
140 |
$acx_csma_logo_text_color5="#000000";
|
141 |
$acx_csma_inside_bg_color5="#f5f5f5";
|
142 |
-
$acx_csma_title5="Our Website is Under Construction";
|
143 |
$acx_csma_custom_html_top_temp5="";
|
144 |
$acx_csma_title_color5="#4b4b4b";
|
145 |
$acx_csma_show_timer5=1;
|
@@ -147,188 +168,214 @@ function acx_csma_appearence_array_default_value_setting($acx_csma_appearence_ar
|
|
147 |
$acx_csma_timer_head_color5="#000000";
|
148 |
$acx_csma_show_progressbar5=1;
|
149 |
$acx_csma_progress_bar_color5="#717171";
|
|
|
|
|
150 |
$acx_csma_custom_html_bottom_temp5="";
|
151 |
$acx_csma_show_subscription5 = 1;
|
152 |
-
$
|
|
|
153 |
$acx_csma_custom_html_top_sub = "";
|
154 |
$acx_csma_custom_html_bottom_sub= "";
|
155 |
$acx_csma_subscribe_bg_color5="#2f2f2f";
|
156 |
$acx_csma_launch_title_color5="#4b4b4b";
|
157 |
-
$acx_csma_subscribe_main_title5 = "Want to know when we launch?";
|
158 |
-
$acx_csma_subscribe_title5="Subscribe by entering your email below";
|
159 |
-
$acx_csma_subscribe_success5="Successfully Subscribed";
|
160 |
-
$acx_csma_subscribe_invalid5="Invalid Email";
|
161 |
$acx_csma_fb_link5="";
|
162 |
$acx_csma_twitter_link5="";
|
163 |
$acx_csma_linkedin_link5="";
|
164 |
$acx_csma_custom_css_temp5= "";
|
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 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
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 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
333 |
} add_filter('acx_csma_appearence_array_default_filter','acx_csma_appearence_array_default_value_setting');
|
334 |
?>
|
8 |
$acx_csma_logo_choice1="image";
|
9 |
$acx_csma_logo_text1=get_bloginfo('name');
|
10 |
$acx_csma_logo_text_color1="#ffffff";
|
11 |
+
$acx_csma_title1=__("Something New Is Coming","coming-soon-maintenance-mode-from-acurax");
|
12 |
$acx_csma_title_color1="#ffffff";
|
13 |
+
$acx_csma_subtitle_text1=__("We are Working on Our Website","coming-soon-maintenance-mode-from-acurax");
|
14 |
$acx_csma_subtitle_color1="#fffaa9";
|
15 |
$acx_csma_custom_html_top_temp1="";
|
16 |
$acx_csma_inside_bg_color1="#ff7800";
|
17 |
+
$acx_csma_inside_title1=__("Estimate Time Before Launching","coming-soon-maintenance-mode-from-acurax");
|
18 |
$acx_csma_custom_html_top_temp1_title="";
|
19 |
$acx_csma_inside_title_color1="#ffffff";
|
20 |
$acx_csma_custom_html_bottom_temp1="";
|
22 |
$acx_csma_timer_bg_color1="#ffffff";
|
23 |
$acx_csma_timer_iptext_color1="#ffffff";
|
24 |
$acx_csma_timer_head_color1="#ff7800";
|
25 |
+
$acx_csma_timer_input_bg_color1="#0b1c2c";
|
26 |
$acx_csma_show_subscription = 1;
|
27 |
+
$acx_csma_show_subscription_name = 1;
|
28 |
$acx_csma_custom_html_top_sub1 = "";
|
29 |
$acx_csma_custom_html_bottom_sub1= "";
|
30 |
$acx_csma_subscribe_bg_color1="#0b1c2c";
|
31 |
+
$acx_csma_subscribe_btn_text1=__("submit","coming-soon-maintenance-mode-from-acurax");;
|
32 |
$acx_csma_subscribe_btn_text_color1="#ffffff";
|
33 |
$acx_csma_subscribe_btn_color1="#ff7800";
|
34 |
$acx_csma_subscribe_btn_hover_color1="#0b1c2c";
|
35 |
$acx_csma_subscribe_btn_hover_bgcolor1="#ff881e";
|
36 |
+
$acx_csma_subscribe_title1=__("Subscribe For Updates","coming-soon-maintenance-mode-from-acurax");
|
37 |
$acx_csma_subscribe_title_color1="#ff7800";
|
38 |
+
$acx_csma_subscribe_success1=__("Successfully Subscribed","coming-soon-maintenance-mode-from-acurax");
|
39 |
+
$acx_csma_subscribe_invalid1=__("Invalid Email","coming-soon-maintenance-mode-from-acurax");
|
40 |
$acx_csma_footer_bgcolor1="#ff7800";
|
41 |
+
$acx_csma_footer_text1="©". date("Y").__(" All rights reserved","coming-soon-maintenance-mode-from-acurax");
|
42 |
$acx_csma_footer_text_color1="#ffffff";
|
43 |
$acx_csma_custom_css_temp1= "";
|
44 |
// *******************template2*********************
|
47 |
$acx_csma_logo_choice2="image";
|
48 |
$acx_csma_logo_text2=get_bloginfo('name');
|
49 |
$acx_csma_logo_text_color2="#ffffff";
|
50 |
+
$acx_csma_title2=__("Hello","coming-soon-maintenance-mode-from-acurax");
|
51 |
$acx_csma_title_color2="#000000";
|
52 |
+
$acx_csma_subtitle_text2=__("We are Coming Very Soon","coming-soon-maintenance-mode-from-acurax");
|
53 |
$acx_csma_subtitle_color2="#000000";
|
54 |
$acx_csma_inside_bg_color2="#ffd800";
|
55 |
$acx_csma_custom_html_above_timer="";
|
56 |
$acx_csma_custom_html_top_timer="";
|
57 |
$acx_csma_show_subscription2 = 1;
|
58 |
+
$acx_csma_show_subscription_name2 = 1;
|
59 |
+
$acx_csma_subscribe_btn_text2 = __("Submit","coming-soon-maintenance-mode-from-acurax");
|
60 |
$acx_csma_show_timer2 = 1;
|
61 |
+
$acx_csma_timer_title2=__("Estimate time for launching","coming-soon-maintenance-mode-from-acurax");
|
62 |
+
$acx_csma_timer_title_color2="#000000";
|
63 |
$acx_csma_subscribe_btn_color2="#ffd800";
|
64 |
+
$acx_csma_subscribe_success2=__("Successfully Subscribed","coming-soon-maintenance-mode-from-acurax");
|
65 |
+
$acx_csma_subscribe_invalid2=__("Invalid Email","coming-soon-maintenance-mode-from-acurax");
|
66 |
$acx_csma_timer_input_bg_color2="#ffffff";
|
67 |
$acx_csma_timer_iptext_color2="#000000";
|
68 |
$acx_csma_timer_head_color2="#000000";
|
69 |
$acx_csma_custom_html_top_temp2="";
|
70 |
+
$acx_csma_desc_title2=__("What is Coming","coming-soon-maintenance-mode-from-acurax");
|
71 |
+
$acx_csma_desc_subtitle2=stripslashes(trim(__("Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.","coming-soon-maintenance-mode-from-acurax")));
|
72 |
$acx_csma_desc_text_color2="#000000";
|
73 |
+
$acx_csma_social_link_color2="#ffffff";
|
74 |
+
$acx_csma_desc_content_color2="#000000";
|
75 |
+
$acx_csma_social_link_title2=__("Follow Us ON","coming-soon-maintenance-mode-from-acurax");
|
76 |
$acx_csma_fb_link2="";
|
77 |
$acx_csma_twitter_link2="";
|
78 |
$acx_csma_linkedin_link2="";
|
82 |
$acx_csma_logo_choice3="image";
|
83 |
$acx_csma_logo_text3=get_bloginfo('name');
|
84 |
$acx_csma_logo_text_color3="#ffffff";
|
85 |
+
$acx_csma_title3=__("Hello","coming-soon-maintenance-mode-from-acurax");
|
86 |
$acx_csma_title_color3="#ffffff";
|
87 |
+
$acx_csma_subtitle_text3=__("We are Coming Very Soon","coming-soon-maintenance-mode-from-acurax");
|
88 |
$acx_csma_subtitle_color3="#ffffff";
|
89 |
$acx_csma_primary_color3="#ffffff";
|
90 |
$acx_csma_secondary_color3="#fe7e01";
|
91 |
$acx_csma_left_bar_color3="#000000";
|
92 |
$acx_csma_timer_color3="#ffffff";
|
93 |
+
$acx_csma_subscribe_title3=__("Subscribe Now","coming-soon-maintenance-mode-from-acurax");
|
94 |
$acx_csma_subscribe_title_color3="#fe7e01";
|
95 |
$acx_csma_show_subscription3 = 1;
|
96 |
+
$acx_csma_show_subscription_name3 = 1;
|
97 |
$acx_csma_show_timer3 = 1;
|
98 |
+
$acx_csma_subscribe_btn_text3=__("submit","coming-soon-maintenance-mode-from-acurax");
|
99 |
$acx_csma_subscribe_btn_text_color3="#ffffff";
|
100 |
$acx_csma_subscribe_btn_color3="#fe7e01";
|
101 |
$acx_csma_subscribe_btn_hover_color3="#0b1c2c";
|
102 |
$acx_csma_subscribe_btn_hover_bgcolor3="#fe6001";
|
103 |
+
$acx_csma_subscribe_success3=__("Successfully Subscribed","coming-soon-maintenance-mode-from-acurax");
|
104 |
+
$acx_csma_subscribe_invalid3=__("Invalid Email","coming-soon-maintenance-mode-from-acurax");
|
105 |
+
$acx_csma_inside_title3=__("Estimate Time Before Launching","coming-soon-maintenance-mode-from-acurax");
|
106 |
$acx_csma_inside_title_color3="#ffffff";
|
107 |
$acx_csma_timer_iptext_color3="#000000";
|
108 |
$acx_csma_timer_head_color3="#000000";
|
109 |
$acx_csma_custom_html_top_temp3="";
|
110 |
$acx_csma_custom_html_top_timer_temp3="";
|
111 |
$acx_csma_custom_html_bottom_temp3="";
|
112 |
+
$acx_csma_desc_title3=__("What is Coming","coming-soon-maintenance-mode-from-acurax");
|
113 |
+
$acx_csma_desc_subtitle3=stripslashes(trim(__("Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat.","coming-soon-maintenance-mode-from-acurax")));
|
114 |
$acx_csma_desc_text_color3="#000000";
|
115 |
+
$acx_csma_desc_content_color3="#000000";
|
116 |
+
$acx_csma_footer_text3="©". date("Y").__(" All rights reserved","coming-soon-maintenance-mode-from-acurax");
|
117 |
$acx_csma_footer_color3="#000000";
|
118 |
+
$acx_csma_social_link_title3=__("Follow Us ON","coming-soon-maintenance-mode-from-acurax");
|
119 |
$acx_csma_social_link_title_color3="#000000";
|
120 |
$acx_csma_fb_link3="";
|
121 |
$acx_csma_twitter_link3="";
|
128 |
$acx_csma_logo_text4=get_bloginfo('name');
|
129 |
$acx_csma_logo_text_color4="#ffffff";
|
130 |
$acx_csma_inside_bg_color4="#ebebeb";
|
131 |
+
$acx_csma_title4=__("Our Website is Under Construction","coming-soon-maintenance-mode-from-acurax");
|
132 |
$acx_csma_custom_html_top_temp4="";
|
133 |
$acx_csma_title_color4="#717171";
|
134 |
$acx_csma_show_timer4=1;
|
136 |
$acx_csma_timer_head_color4="#717171";
|
137 |
$acx_csma_show_progressbar4=1;
|
138 |
$acx_csma_progress_bar_color4="#717171";
|
139 |
+
$acx_csma_progress_bar_bg_color4="#000000";
|
140 |
+
$acx_csma_progress_bar_text_color4="#ffffff";
|
141 |
$acx_csma_custom_html_bottom_temp4="";
|
142 |
+
$acx_csma_subscription_title4=__("Subscribe For Updates","coming-soon-maintenance-mode-from-acurax");
|
143 |
+
$acx_csma_subscription_title_color4 = "#666666";
|
144 |
+
$acx_csma_subscribe_success4 = __("Successfully Subscribed","coming-soon-maintenance-mode-from-acurax");
|
145 |
+
$acx_csma_subscribe_invalid4 = __("Invalid Email","coming-soon-maintenance-mode-from-acurax");
|
146 |
+
$acx_csma_custom_html_subscrpt_below_sub4 = "";
|
147 |
+
$acx_csma_subscription_btn_text4 = __("Subscribe","coming-soon-maintenance-mode-from-acurax");
|
148 |
+
$acx_csma_subscription_btn_color4 = "#ffffff";
|
149 |
+
$acx_csma_subscription_btn_bg_color4 = "#333333";
|
150 |
+
$acx_csma_show_subscription4 = 1;
|
151 |
+
$acx_csma_show_subscription_name4 = 1;
|
152 |
$acx_csma_fb_link4="";
|
153 |
$acx_csma_twitter_link4="";
|
154 |
$acx_csma_linkedin_link4="";
|
160 |
$acx_csma_logo_text5=get_bloginfo('name');
|
161 |
$acx_csma_logo_text_color5="#000000";
|
162 |
$acx_csma_inside_bg_color5="#f5f5f5";
|
163 |
+
$acx_csma_title5=__("Our Website is Under Construction","coming-soon-maintenance-mode-from-acurax");
|
164 |
$acx_csma_custom_html_top_temp5="";
|
165 |
$acx_csma_title_color5="#4b4b4b";
|
166 |
$acx_csma_show_timer5=1;
|
168 |
$acx_csma_timer_head_color5="#000000";
|
169 |
$acx_csma_show_progressbar5=1;
|
170 |
$acx_csma_progress_bar_color5="#717171";
|
171 |
+
$acx_csma_progress_bar_bg_color5 = "#000000";
|
172 |
+
$acx_csma_progress_bar_text_color5 = "#ffffff";
|
173 |
$acx_csma_custom_html_bottom_temp5="";
|
174 |
$acx_csma_show_subscription5 = 1;
|
175 |
+
$acx_csma_show_subscription_name5 = 1;
|
176 |
+
$acx_csma_subscribe_btn_text5 = __("Submit","coming-soon-maintenance-mode-from-acurax");
|
177 |
$acx_csma_custom_html_top_sub = "";
|
178 |
$acx_csma_custom_html_bottom_sub= "";
|
179 |
$acx_csma_subscribe_bg_color5="#2f2f2f";
|
180 |
$acx_csma_launch_title_color5="#4b4b4b";
|
181 |
+
$acx_csma_subscribe_main_title5 = __("Want to know when we launch?","coming-soon-maintenance-mode-from-acurax");
|
182 |
+
$acx_csma_subscribe_title5=__("Subscribe by entering your email below","coming-soon-maintenance-mode-from-acurax");
|
183 |
+
$acx_csma_subscribe_success5=__("Successfully Subscribed","coming-soon-maintenance-mode-from-acurax");
|
184 |
+
$acx_csma_subscribe_invalid5=__("Invalid Email","coming-soon-maintenance-mode-from-acurax");
|
185 |
$acx_csma_fb_link5="";
|
186 |
$acx_csma_twitter_link5="";
|
187 |
$acx_csma_linkedin_link5="";
|
188 |
$acx_csma_custom_css_temp5= "";
|
189 |
|
190 |
+
$acx_csma_appearence_array_default['1'] = array(
|
191 |
+
'acx_csma_background_image1'=>$acx_csma_background_image1,
|
192 |
+
'acx_csma_logo_choice'=>sanitize_text_field($acx_csma_logo_choice1),
|
193 |
+
'acx_csma_logo1'=>$acx_csma_logo1,
|
194 |
+
'acx_csma_logo_text1' =>sanitize_text_field($acx_csma_logo_text1),
|
195 |
+
'acx_csma_logo_text_color1' =>sanitize_text_field($acx_csma_logo_text_color1),
|
196 |
+
'acx_csma_title1'=>sanitize_text_field($acx_csma_title1),
|
197 |
+
'acx_csma_title_color1'=>sanitize_text_field($acx_csma_title_color1),
|
198 |
+
'acx_csma_subtitle_text1'=>sanitize_text_field($acx_csma_subtitle_text1),
|
199 |
+
'acx_csma_subtitle_color1'=>sanitize_text_field($acx_csma_subtitle_color1),
|
200 |
+
'acx_csma_custom_html_top_temp1'=>$acx_csma_custom_html_top_temp1,
|
201 |
+
'acx_csma_inside_bg_color1'=>sanitize_text_field($acx_csma_inside_bg_color1),
|
202 |
+
'acx_csma_inside_title1'=>sanitize_text_field($acx_csma_inside_title1),
|
203 |
+
'acx_csma_custom_html_top_temp1_title'=>$acx_csma_custom_html_top_temp1_title,
|
204 |
+
'acx_csma_inside_title_color1'=>sanitize_text_field($acx_csma_inside_title_color1),
|
205 |
+
'acx_csma_custom_html_bottom_temp1'=>$acx_csma_custom_html_bottom_temp1,
|
206 |
+
'acx_csma_show_timer1'=>sanitize_text_field($acx_csma_show_timer1),
|
207 |
+
'acx_csma_timer_bg_color1'=>sanitize_text_field($acx_csma_timer_bg_color1),
|
208 |
+
'acx_csma_timer_iptext_color1'=>sanitize_text_field($acx_csma_timer_iptext_color1),
|
209 |
+
'acx_csma_timer_head_color1'=>sanitize_text_field($acx_csma_timer_head_color1),
|
210 |
+
'acx_csma_timer_input_bg_color1'=>sanitize_text_field($acx_csma_timer_input_bg_color1),
|
211 |
+
'acx_csma_show_subscription'=>sanitize_text_field($acx_csma_show_subscription),
|
212 |
+
'acx_csma_show_subscription_name'=>sanitize_text_field($acx_csma_show_subscription_name),
|
213 |
+
'acx_csma_custom_html_top_sub1'=>sanitize_text_field($acx_csma_custom_html_top_sub1),
|
214 |
+
'acx_csma_custom_html_bottom_sub1'=>sanitize_text_field($acx_csma_custom_html_bottom_sub1),
|
215 |
+
'acx_csma_subscribe_bg_color1'=>sanitize_text_field($acx_csma_subscribe_bg_color1),
|
216 |
+
'acx_csma_subscribe_btn_text1'=>sanitize_text_field($acx_csma_subscribe_btn_text1),
|
217 |
+
'acx_csma_subscribe_btn_text_color1'=>sanitize_text_field($acx_csma_subscribe_btn_text_color1),
|
218 |
+
'acx_csma_subscribe_btn_color1'=>sanitize_text_field($acx_csma_subscribe_btn_color1),
|
219 |
+
'acx_csma_subscribe_btn_hover_color1'=>sanitize_text_field($acx_csma_subscribe_btn_hover_color1),
|
220 |
+
'acx_csma_subscribe_btn_hover_bgcolor1'=>sanitize_text_field($acx_csma_subscribe_btn_hover_bgcolor1),
|
221 |
+
'acx_csma_subscribe_title1'=>sanitize_text_field($acx_csma_subscribe_title1),
|
222 |
+
'acx_csma_subscribe_title_color1'=>sanitize_text_field($acx_csma_subscribe_title_color1),
|
223 |
+
'acx_csma_subscribe_success1'=>sanitize_text_field($acx_csma_subscribe_success1),
|
224 |
+
'acx_csma_subscribe_invalid1'=>sanitize_text_field($acx_csma_subscribe_invalid1),
|
225 |
+
'acx_csma_footer_bgcolor1'=>sanitize_text_field($acx_csma_footer_bgcolor1),
|
226 |
+
'acx_csma_footer_text1'=>sanitize_text_field($acx_csma_footer_text1),
|
227 |
+
'acx_csma_footer_text_color1'=>sanitize_text_field($acx_csma_footer_text_color1),
|
228 |
+
'acx_csma_custom_css_temp1'=>sanitize_text_field($acx_csma_custom_css_temp1)
|
229 |
+
);
|
230 |
+
$acx_csma_appearence_array_default['2'] = array(
|
231 |
+
'acx_csma_bg_color2'=>sanitize_text_field($acx_csma_bg_color2),
|
232 |
+
'acx_csma_logo_choice'=>sanitize_text_field($acx_csma_logo_choice2),
|
233 |
+
'acx_csma_logo2'=>$acx_csma_logo2,
|
234 |
+
'acx_csma_logo_text2' =>sanitize_text_field($acx_csma_logo_text2),
|
235 |
+
'acx_csma_logo_text_color2' =>sanitize_text_field($acx_csma_logo_text_color2),
|
236 |
+
'acx_csma_title2'=>sanitize_text_field($acx_csma_title2),
|
237 |
+
'acx_csma_title_color2'=>sanitize_text_field($acx_csma_title_color2),
|
238 |
+
'acx_csma_subtitle_text2'=>sanitize_text_field($acx_csma_subtitle_text2),
|
239 |
+
'acx_csma_subtitle_color2'=>sanitize_text_field($acx_csma_subtitle_color2),
|
240 |
+
'acx_csma_inside_bg_color2'=>sanitize_text_field($acx_csma_inside_bg_color2),
|
241 |
+
'acx_csma_custom_html_above_timer'=>$acx_csma_custom_html_above_timer,
|
242 |
+
'acx_csma_custom_html_top_timer'=>$acx_csma_custom_html_top_timer,
|
243 |
+
'acx_csma_show_subscription2'=>sanitize_text_field($acx_csma_show_subscription2),
|
244 |
+
'acx_csma_show_subscription_name2'=>sanitize_text_field($acx_csma_show_subscription_name2),
|
245 |
+
'acx_csma_subscribe_btn_text2'=>sanitize_text_field($acx_csma_subscribe_btn_text2),
|
246 |
+
'acx_csma_show_timer2'=>sanitize_text_field($acx_csma_show_timer2),
|
247 |
+
'acx_csma_timer_title2'=>sanitize_text_field($acx_csma_timer_title2),
|
248 |
+
'acx_csma_timer_title_color2'=>sanitize_text_field($acx_csma_timer_title_color2),
|
249 |
+
'acx_csma_subscribe_btn_color2'=>sanitize_text_field($acx_csma_subscribe_btn_color2),
|
250 |
+
'acx_csma_subscribe_success2'=>sanitize_text_field($acx_csma_subscribe_success2),
|
251 |
+
'acx_csma_subscribe_invalid2'=>sanitize_text_field($acx_csma_subscribe_invalid2),
|
252 |
+
'acx_csma_timer_input_bg_color2'=>sanitize_text_field($acx_csma_timer_input_bg_color2),
|
253 |
+
'acx_csma_timer_iptext_color2'=>sanitize_text_field($acx_csma_timer_iptext_color2),
|
254 |
+
'acx_csma_timer_head_color2'=>sanitize_text_field($acx_csma_timer_head_color2),
|
255 |
+
'acx_csma_custom_html_top_temp2'=>$acx_csma_custom_html_top_temp2,
|
256 |
+
'acx_csma_desc_title2'=>sanitize_text_field($acx_csma_desc_title2),
|
257 |
+
'acx_csma_desc_subtitle2'=>sanitize_text_field($acx_csma_desc_subtitle2),
|
258 |
+
'acx_csma_desc_text_color2'=>sanitize_text_field($acx_csma_desc_text_color2),
|
259 |
+
'acx_csma_social_link_color2'=>sanitize_text_field($acx_csma_social_link_color2),
|
260 |
+
'acx_csma_desc_content_color2'=>sanitize_text_field($acx_csma_desc_content_color2),
|
261 |
+
'acx_csma_social_link_title2'=>sanitize_text_field($acx_csma_social_link_title2),
|
262 |
+
'acx_csma_fb_link2'=>esc_url_raw($acx_csma_fb_link2),
|
263 |
+
'acx_csma_twitter_link2'=>esc_url_raw($acx_csma_twitter_link2),
|
264 |
+
'acx_csma_linkedin_link2'=>esc_url_raw($acx_csma_linkedin_link2),
|
265 |
+
'acx_csma_custom_css_temp2'=>$acx_csma_custom_css_temp2
|
266 |
+
);
|
267 |
+
$acx_csma_appearence_array_default['3'] =array(
|
268 |
+
'acx_csma_logo_choice'=>sanitize_text_field($acx_csma_logo_choice3),
|
269 |
+
'acx_csma_logo3'=>$acx_csma_logo3,
|
270 |
+
'acx_csma_logo_text3' =>sanitize_text_field($acx_csma_logo_text3),
|
271 |
+
'acx_csma_logo_text_color3' =>sanitize_text_field($acx_csma_logo_text_color3),
|
272 |
+
'acx_csma_title3'=>sanitize_text_field($acx_csma_title3),
|
273 |
+
'acx_csma_title_color3'=>sanitize_text_field($acx_csma_title_color3),
|
274 |
+
'acx_csma_subtitle_text3'=>sanitize_text_field($acx_csma_subtitle_text3),
|
275 |
+
'acx_csma_subtitle_color3'=>sanitize_text_field($acx_csma_subtitle_color3),
|
276 |
+
'acx_csma_primary_color3'=>sanitize_text_field($acx_csma_primary_color3),
|
277 |
+
'acx_csma_secondary_color3'=>sanitize_text_field($acx_csma_secondary_color3),
|
278 |
+
'acx_csma_left_bar_color3'=>sanitize_text_field($acx_csma_left_bar_color3),
|
279 |
+
'acx_csma_timer_color3'=>sanitize_text_field($acx_csma_timer_color3),
|
280 |
+
'acx_csma_subscribe_title3'=>sanitize_text_field($acx_csma_subscribe_title3),
|
281 |
+
'acx_csma_subscribe_title_color3'=>sanitize_text_field($acx_csma_subscribe_title_color3),
|
282 |
+
'acx_csma_subscribe_btn_text3'=>sanitize_text_field($acx_csma_subscribe_btn_text3),
|
283 |
+
'acx_csma_subscribe_btn_text_color3'=>sanitize_text_field($acx_csma_subscribe_btn_text_color3),
|
284 |
+
'acx_csma_subscribe_btn_color3'=>sanitize_text_field($acx_csma_subscribe_btn_color3),
|
285 |
+
'acx_csma_subscribe_btn_hover_color3'=>sanitize_text_field($acx_csma_subscribe_btn_hover_color3),
|
286 |
+
'acx_csma_subscribe_btn_hover_bgcolor3'=>sanitize_text_field($acx_csma_subscribe_btn_hover_bgcolor3),
|
287 |
+
'acx_csma_show_subscription3'=>sanitize_text_field($acx_csma_show_subscription3),
|
288 |
+
'acx_csma_show_subscription_name3'=>sanitize_text_field($acx_csma_show_subscription_name3),
|
289 |
+
'acx_csma_show_timer3'=>sanitize_text_field($acx_csma_show_timer3),
|
290 |
+
'acx_csma_subscribe_success3'=>sanitize_text_field($acx_csma_subscribe_success3),
|
291 |
+
'acx_csma_subscribe_invalid3'=>sanitize_text_field($acx_csma_subscribe_invalid3),
|
292 |
+
'acx_csma_inside_title3'=>sanitize_text_field($acx_csma_inside_title3),
|
293 |
+
'acx_csma_inside_title_color3'=>sanitize_text_field($acx_csma_inside_title_color3),
|
294 |
+
'acx_csma_timer_iptext_color3'=>sanitize_text_field($acx_csma_timer_iptext_color3),
|
295 |
+
'acx_csma_timer_head_color3'=>sanitize_text_field($acx_csma_timer_head_color3),
|
296 |
+
'acx_csma_custom_html_top_temp3'=>$acx_csma_custom_html_top_temp3,
|
297 |
+
'acx_csma_custom_html_top_timer_temp3'=>$acx_csma_custom_html_top_timer_temp3,
|
298 |
+
'acx_csma_custom_html_bottom_temp3'=>$acx_csma_custom_html_bottom_temp3,
|
299 |
+
'acx_csma_desc_title3'=>sanitize_text_field($acx_csma_desc_title3),
|
300 |
+
'acx_csma_desc_subtitle3'=>sanitize_text_field($acx_csma_desc_subtitle3),
|
301 |
+
'acx_csma_desc_text_color3'=>sanitize_text_field($acx_csma_desc_text_color3),
|
302 |
+
'acx_csma_desc_content_color3'=>sanitize_text_field($acx_csma_desc_content_color3),
|
303 |
+
'acx_csma_footer_text3'=>sanitize_text_field($acx_csma_footer_text3),
|
304 |
+
'acx_csma_footer_color3'=>sanitize_text_field($acx_csma_footer_color3),
|
305 |
+
'acx_csma_social_link_title3'=>sanitize_text_field($acx_csma_social_link_title3),
|
306 |
+
'acx_csma_social_link_title_color3'=>sanitize_text_field($acx_csma_social_link_title_color3),
|
307 |
+
'acx_csma_fb_link3'=>esc_url_raw($acx_csma_fb_link3),
|
308 |
+
'acx_csma_twitter_link3'=>esc_url_raw($acx_csma_twitter_link3),
|
309 |
+
'acx_csma_linkedin_link3'=>esc_url_raw($acx_csma_linkedin_link3),
|
310 |
+
'acx_csma_custom_css_temp3'=>$acx_csma_custom_css_temp3
|
311 |
+
);
|
312 |
+
$acx_csma_appearence_array_default['4'] =array(
|
313 |
+
'acx_csma_background_image4'=>$acx_csma_background_image4,
|
314 |
+
'acx_csma_logo_choice'=>sanitize_text_field($acx_csma_logo_choice4),
|
315 |
+
'acx_csma_logo4'=>$acx_csma_logo4,
|
316 |
+
'acx_csma_logo_text4' =>sanitize_text_field($acx_csma_logo_text4),
|
317 |
+
'acx_csma_logo_text_color4' =>sanitize_text_field($acx_csma_logo_text_color4),
|
318 |
+
'acx_csma_inside_bg_color4'=>sanitize_text_field($acx_csma_inside_bg_color4),
|
319 |
+
'acx_csma_title4'=>sanitize_text_field($acx_csma_title4),
|
320 |
+
'acx_csma_custom_html_top_temp4'=>$acx_csma_custom_html_top_temp4,
|
321 |
+
'acx_csma_title_color4'=>sanitize_text_field($acx_csma_title_color4),
|
322 |
+
'acx_csma_show_timer4'=>sanitize_text_field($acx_csma_show_timer4),
|
323 |
+
'acx_csma_timer_iptext_color4'=>sanitize_text_field($acx_csma_timer_iptext_color4),
|
324 |
+
'acx_csma_timer_head_color4'=>sanitize_text_field($acx_csma_timer_head_color4),
|
325 |
+
'acx_csma_show_progressbar4'=>$acx_csma_show_progressbar4,
|
326 |
+
'acx_csma_progress_bar_color4'=>sanitize_text_field($acx_csma_progress_bar_color4),
|
327 |
+
'acx_csma_progress_bar_bg_color4'=>sanitize_text_field($acx_csma_progress_bar_bg_color4),
|
328 |
+
'acx_csma_progress_bar_text_color4'=>sanitize_text_field($acx_csma_progress_bar_text_color4),
|
329 |
+
'acx_csma_custom_html_bottom_temp4'=>$acx_csma_custom_html_bottom_temp4,
|
330 |
+
'acx_csma_show_subscription4' => sanitize_text_field($acx_csma_show_subscription4) ,
|
331 |
+
'acx_csma_show_subscription_name4' => sanitize_text_field($acx_csma_show_subscription_name4) ,
|
332 |
+
'acx_csma_subscription_title4' => sanitize_text_field($acx_csma_subscription_title4),
|
333 |
+
'acx_csma_subscription_title_color4' => sanitize_text_field($acx_csma_subscription_title_color4) ,
|
334 |
+
'acx_csma_subscription_btn_text4' => sanitize_text_field($acx_csma_subscription_btn_text4) ,
|
335 |
+
'acx_csma_subscription_btn_color4' => sanitize_text_field($acx_csma_subscription_btn_color4) ,
|
336 |
+
'acx_csma_subscription_btn_bg_color4' => sanitize_text_field($acx_csma_subscription_btn_bg_color4) ,
|
337 |
+
'acx_csma_subscribe_success4' => sanitize_text_field($acx_csma_subscribe_success4) ,
|
338 |
+
'acx_csma_subscribe_invalid4' => sanitize_text_field($acx_csma_subscribe_invalid4) ,
|
339 |
+
'acx_csma_custom_html_subscrpt_below_sub4' => sanitize_text_field($acx_csma_custom_html_subscrpt_below_sub4) ,
|
340 |
+
'acx_csma_fb_link4'=>esc_url_raw($acx_csma_fb_link4),
|
341 |
+
'acx_csma_twitter_link4'=>esc_url_raw($acx_csma_twitter_link4),
|
342 |
+
'acx_csma_linkedin_link4'=>esc_url_raw($acx_csma_linkedin_link4),
|
343 |
+
'acx_csma_custom_css_temp4'=>sanitize_text_field($acx_csma_custom_css_temp4)
|
344 |
+
);
|
345 |
+
$acx_csma_appearence_array_default['5'] =array(
|
346 |
+
'acx_csma_bgcolor5'=>sanitize_text_field($acx_csma_bgcolor5),
|
347 |
+
'acx_csma_logo_choice'=>sanitize_text_field($acx_csma_logo_choice5),
|
348 |
+
'acx_csma_logo5'=>$acx_csma_logo5,
|
349 |
+
'acx_csma_logo_text5' =>sanitize_text_field($acx_csma_logo_text5),
|
350 |
+
'acx_csma_logo_text_color5' =>sanitize_text_field($acx_csma_logo_text_color5),
|
351 |
+
'acx_csma_inside_bg_color5'=>sanitize_text_field($acx_csma_inside_bg_color5),
|
352 |
+
'acx_csma_title5'=>sanitize_text_field($acx_csma_title5),
|
353 |
+
'acx_csma_custom_html_top_temp5'=>$acx_csma_custom_html_top_temp5,
|
354 |
+
'acx_csma_title_color5'=>sanitize_text_field($acx_csma_title_color5),
|
355 |
+
'acx_csma_show_timer5'=>sanitize_text_field($acx_csma_show_timer5),
|
356 |
+
'acx_csma_timer_iptext_color5'=>sanitize_text_field($acx_csma_timer_iptext_color5),
|
357 |
+
'acx_csma_timer_head_color5'=>sanitize_text_field($acx_csma_timer_head_color5),
|
358 |
+
'acx_csma_show_progressbar5'=>$acx_csma_show_progressbar5,
|
359 |
+
'acx_csma_progress_bar_color5'=>sanitize_text_field($acx_csma_progress_bar_color5),
|
360 |
+
'acx_csma_progress_bar_bg_color5'=>sanitize_text_field($acx_csma_progress_bar_bg_color5),
|
361 |
+
'acx_csma_progress_bar_text_color5'=>sanitize_text_field($acx_csma_progress_bar_text_color5),
|
362 |
+
'acx_csma_custom_html_bottom_temp5'=>$acx_csma_custom_html_bottom_temp5,
|
363 |
+
'acx_csma_show_subscription5'=>sanitize_text_field($acx_csma_show_subscription5),
|
364 |
+
'acx_csma_show_subscription_name5'=>sanitize_text_field($acx_csma_show_subscription_name5),
|
365 |
+
'acx_csma_subscribe_btn_text5'=>sanitize_text_field($acx_csma_subscribe_btn_text5),
|
366 |
+
'acx_csma_custom_html_top_sub'=>sanitize_text_field($acx_csma_custom_html_top_sub),
|
367 |
+
'acx_csma_custom_html_bottom_sub'=>sanitize_text_field($acx_csma_custom_html_bottom_sub),
|
368 |
+
'acx_csma_subscribe_bg_color5'=>sanitize_text_field($acx_csma_subscribe_bg_color5),
|
369 |
+
'acx_csma_launch_title_color5'=>sanitize_text_field($acx_csma_launch_title_color5),
|
370 |
+
'acx_csma_subscribe_main_title5' => sanitize_text_field($acx_csma_subscribe_main_title5),
|
371 |
+
'acx_csma_subscribe_title5'=>sanitize_text_field($acx_csma_subscribe_title5),
|
372 |
+
'acx_csma_subscribe_success5'=>sanitize_text_field($acx_csma_subscribe_success5),
|
373 |
+
'acx_csma_subscribe_invalid5'=>sanitize_text_field($acx_csma_subscribe_invalid5),
|
374 |
+
'acx_csma_fb_link5'=>esc_url_raw($acx_csma_fb_link5),
|
375 |
+
'acx_csma_twitter_link5'=>esc_url_raw($acx_csma_twitter_link5),
|
376 |
+
'acx_csma_linkedin_link5'=>esc_url_raw($acx_csma_linkedin_link5),
|
377 |
+
'acx_csma_custom_css_temp5'=>sanitize_text_field($acx_csma_custom_css_temp5)
|
378 |
+
);
|
379 |
+
return $acx_csma_appearence_array_default;
|
380 |
} add_filter('acx_csma_appearence_array_default_filter','acx_csma_appearence_array_default_value_setting');
|
381 |
?>
|
includes/hook_functions.php
CHANGED
@@ -8,24 +8,24 @@ $acx_csma_service_banners = get_option('acx_csma_service_banners');
|
|
8 |
if ($acx_csma_service_banners != "no") { ?>
|
9 |
<div id="acx_ad_banners_csma">
|
10 |
<a href="http://wordpress.acurax.com/partner-with-us/?utm_source=csma&utm_campaign=agency_banner" target="_blank" class="acx_ad_csma_1">
|
11 |
-
<div class="acx_ad_csma_title"
|
12 |
-
<div class="acx_ad_csma_desc_partner" style="padding-top: 0px; height: 32px; font-size: 13px; text-align: center;"
|
13 |
</a> <!-- acx_ad_csma_1 -->
|
14 |
|
15 |
|
16 |
<a href="http://wordpress.acurax.com/?utm_source=csma&utm_campaign=sidebar_banner_1" target="_blank" class="acx_ad_csma_1">
|
17 |
-
<div class="acx_ad_csma_title"
|
18 |
-
<div class="acx_ad_csma_desc"
|
19 |
</a> <!-- acx_ad_csma_1 -->
|
20 |
|
21 |
<a href="http://wordpress.acurax.com/?utm_source=csma&utm_campaign=sidebar_banner_2" target="_blank" class="acx_ad_csma_1">
|
22 |
-
<div class="acx_ad_csma_title"
|
23 |
-
<div class="acx_ad_csma_desc acx_ad_csma_desc2" style="padding-top: 0px; padding-left: 50px; height: 41px; font-size: 13px; text-align: center;"
|
24 |
</a> <!-- acx_ad_csma_1 -->
|
25 |
|
26 |
<a href="http://wordpress.acurax.com/?utm_source=csma&utm_campaign=sidebar_banner_3" target="_blank" class="acx_ad_csma_1">
|
27 |
-
<div class="acx_ad_csma_title"
|
28 |
-
<div class="acx_ad_csma_desc acx_ad_csma_desc3" style="padding-top: 0px; height: 32px; font-size: 13px; text-align: center;"
|
29 |
</a> <!-- acx_ad_csma_1 -->
|
30 |
|
31 |
</div> <!-- acx_ad_banners_csma -->
|
@@ -33,28 +33,29 @@ if ($acx_csma_service_banners != "no") { ?>
|
|
33 |
|
34 |
|
35 |
<div class="acx_csma_sidebar_widget">
|
36 |
-
<div class="acx_csma_sidebar_w_title"
|
37 |
<div class="acx_csma_sidebar_w_content">
|
38 |
-
Acurax offers a strong partnership program for agencies which has a strong sales channel. Our team of creative designers and developers will be surely an added value to your services. We can completely take care of the projects or can work with your existing team. <a href="http://wordpress.acurax.com/partner-with-us/?utm_source=csma&utm_campaign=agency_text" target="_blank"
|
39 |
</div>
|
40 |
</div> <!-- acx_csma_sidebar_widget -->
|
41 |
|
42 |
|
43 |
<div class="acx_csma_sidebar_widget">
|
44 |
-
<div class="acx_csma_sidebar_w_title"
|
45 |
<div class="acx_csma_sidebar_w_content">
|
46 |
-
We know you are in the process of improving your website, and we the team at Acurax is always available for any help or support that you need.
|
47 |
</div>
|
48 |
</div> <!-- acx_csma_sidebar_widget -->
|
49 |
|
50 |
|
51 |
<div class="acx_csma_sidebar_widget">
|
52 |
-
<div class="acx_csma_sidebar_w_title"
|
53 |
<div class="acx_csma_sidebar_w_content acx_csma_sidebar_w_content_p_slide">
|
54 |
</div>
|
55 |
</div> <!-- acx_csma_sidebar_widget -->
|
56 |
<script type="text/javascript">
|
57 |
-
var acx_csma = new Array("A professionally designed website is the most cost effective marketing tool available in the world today...","Personalizing your website can create a unique one to one experience and convert your visitors into customers.","70% of searches from mobile devices are followed up with an action within 1 hour.");
|
|
|
58 |
// jQuery(".acx_csma_sidebar_w_content_p_slide p").height('30px');
|
59 |
function acx_csma_t_rotate()
|
60 |
{
|
@@ -69,13 +70,13 @@ acx_csma_t_rotate();
|
|
69 |
});
|
70 |
</script>
|
71 |
<div class="acx_csma_sidebar_widget">
|
72 |
-
<div class="acx_csma_sidebar_w_title"
|
73 |
-
<div class="acx_csma_sidebar_w_content"
|
74 |
</div> <!-- acx_csma_sidebar_widget -->
|
75 |
<?php } ?>
|
76 |
<div class="acx_csma_sidebar_widget">
|
77 |
-
<div class="acx_csma_sidebar_w_title"
|
78 |
-
<div class="acx_csma_sidebar_w_content" style="text-align:center;font-size:13px;"><b
|
79 |
<a href="https://wordpress.org/support/view/plugin-reviews/coming-soon-maintenance-mode-from-acurax" target="_blank" style="text-decoration:none;">
|
80 |
<span id="acx_csma_stars">
|
81 |
<span class="dashicons dashicons-star-filled"></span>
|
@@ -84,9 +85,9 @@ acx_csma_t_rotate();
|
|
84 |
<span class="dashicons dashicons-star-filled"></span>
|
85 |
<span class="dashicons dashicons-star-filled"></span>
|
86 |
</span>
|
87 |
-
<span class="acx_csma_star_button button button-primary"
|
88 |
</a>
|
89 |
-
<p
|
90 |
</div>
|
91 |
</div> <!-- acx_csma_sidebar_widget -->
|
92 |
|
@@ -95,5 +96,80 @@ acx_csma_t_rotate();
|
|
95 |
</div> <!-- acx_ad_banners_csma -->
|
96 |
|
97 |
<?php
|
98 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
?>
|
8 |
if ($acx_csma_service_banners != "no") { ?>
|
9 |
<div id="acx_ad_banners_csma">
|
10 |
<a href="http://wordpress.acurax.com/partner-with-us/?utm_source=csma&utm_campaign=agency_banner" target="_blank" class="acx_ad_csma_1">
|
11 |
+
<div class="acx_ad_csma_title"><?php _e("Are You an Agency?","coming-soon-maintenance-mode-from-acurax");?></div> <!-- acx_ad_csma_title -->
|
12 |
+
<div class="acx_ad_csma_desc_partner" style="padding-top: 0px; height: 32px; font-size: 13px; text-align: center;"><?php _e("Outsourcing Solutions From Acurax Can Add Value to Your Business","coming-soon-maintenance-mode-from-acurax");?></div> <!-- acx_ad_csma_desc -->
|
13 |
</a> <!-- acx_ad_csma_1 -->
|
14 |
|
15 |
|
16 |
<a href="http://wordpress.acurax.com/?utm_source=csma&utm_campaign=sidebar_banner_1" target="_blank" class="acx_ad_csma_1">
|
17 |
+
<div class="acx_ad_csma_title"><?php _e("Need Help on Wordpress?","coming-soon-maintenance-mode-from-acurax");?></div> <!-- acx_ad_csma_title -->
|
18 |
+
<div class="acx_ad_csma_desc"><?php _e("Instant Solutions for your wordpress Issues","coming-soon-maintenance-mode-from-acurax");?></div> <!-- acx_ad_csma_desc -->
|
19 |
</a> <!-- acx_ad_csma_1 -->
|
20 |
|
21 |
<a href="http://wordpress.acurax.com/?utm_source=csma&utm_campaign=sidebar_banner_2" target="_blank" class="acx_ad_csma_1">
|
22 |
+
<div class="acx_ad_csma_title"><?php _e("Unique Design For Better Branding","coming-soon-maintenance-mode-from-acurax");?></div> <!-- acx_ad_csma_title -->
|
23 |
+
<div class="acx_ad_csma_desc acx_ad_csma_desc2" style="padding-top: 0px; padding-left: 50px; height: 41px; font-size: 13px; text-align: center;"><?php _e("Get Responsive Custom Designed Website For High Conversion","coming-soon-maintenance-mode-from-acurax");?></div> <!-- acx_ad_csma_desc -->
|
24 |
</a> <!-- acx_ad_csma_1 -->
|
25 |
|
26 |
<a href="http://wordpress.acurax.com/?utm_source=csma&utm_campaign=sidebar_banner_3" target="_blank" class="acx_ad_csma_1">
|
27 |
+
<div class="acx_ad_csma_title"><?php _e("Affordable Website Packages","coming-soon-maintenance-mode-from-acurax");?></div> <!-- acx_ad_csma_title -->
|
28 |
+
<div class="acx_ad_csma_desc acx_ad_csma_desc3" style="padding-top: 0px; height: 32px; font-size: 13px; text-align: center;"><?php _e("Get Feature Rich Packages For a Custom Designed Website","coming-soon-maintenance-mode-from-acurax");?></div> <!-- acx_ad_csma_desc -->
|
29 |
</a> <!-- acx_ad_csma_1 -->
|
30 |
|
31 |
</div> <!-- acx_ad_banners_csma -->
|
33 |
|
34 |
|
35 |
<div class="acx_csma_sidebar_widget">
|
36 |
+
<div class="acx_csma_sidebar_w_title"><?php _e("Partner With Us","coming-soon-maintenance-mode-from-acurax");?></div> <!-- acx_ad_csma_title -->
|
37 |
<div class="acx_csma_sidebar_w_content">
|
38 |
+
<?php _e("Acurax offers a strong partnership program for agencies which has a strong sales channel. Our team of creative designers and developers will be surely an added value to your services. We can completely take care of the projects or can work with your existing team.","coming-soon-maintenance-mode-from-acurax");?> <a href="http://wordpress.acurax.com/partner-with-us/?utm_source=csma&utm_campaign=agency_text" target="_blank"><?php _e("Get in touch","coming-soon-maintenance-mode-from-acurax");?></a>
|
39 |
</div>
|
40 |
</div> <!-- acx_csma_sidebar_widget -->
|
41 |
|
42 |
|
43 |
<div class="acx_csma_sidebar_widget">
|
44 |
+
<div class="acx_csma_sidebar_w_title"><?php _e("We Are Always Available","coming-soon-maintenance-mode-from-acurax");?></div> <!-- acx_ad_csma_title -->
|
45 |
<div class="acx_csma_sidebar_w_content">
|
46 |
+
<?php _e("We know you are in the process of improving your website, and we the team at Acurax is always available for any help or support that you need. ","coming-soon-maintenance-mode-from-acurax");?><a href="http://wordpress.acurax.com/?utm_source=csma&utm_campaign=sidebar_text_1" target="_blank"><?php _e("Get in touch","coming-soon-maintenance-mode-from-acurax");?></a>
|
47 |
</div>
|
48 |
</div> <!-- acx_csma_sidebar_widget -->
|
49 |
|
50 |
|
51 |
<div class="acx_csma_sidebar_widget">
|
52 |
+
<div class="acx_csma_sidebar_w_title"><?php _e("Do You Know?","coming-soon-maintenance-mode-from-acurax");?></div> <!-- acx_ad_csma_title -->
|
53 |
<div class="acx_csma_sidebar_w_content acx_csma_sidebar_w_content_p_slide">
|
54 |
</div>
|
55 |
</div> <!-- acx_csma_sidebar_widget -->
|
56 |
<script type="text/javascript">
|
57 |
+
var acx_csma = new Array("<?php _e('A professionally designed website is the most cost effective marketing tool available in the world today...','coming-soon-maintenance-mode-from-acurax'); ?>","<?php _e('Personalizing your website can create a unique one to one experience and convert your visitors into customers.','coming-soon-maintenance-mode-from-acurax'); ?>","<?php _e('70% of searches from mobile devices are followed up with an action within 1 hour.','coming-soon-maintenance-mode-from-acurax'); ?>");
|
58 |
+
|
59 |
// jQuery(".acx_csma_sidebar_w_content_p_slide p").height('30px');
|
60 |
function acx_csma_t_rotate()
|
61 |
{
|
70 |
});
|
71 |
</script>
|
72 |
<div class="acx_csma_sidebar_widget">
|
73 |
+
<div class="acx_csma_sidebar_w_title"><?php _e("Grab The Blending Creativity","coming-soon-maintenance-mode-from-acurax");?></div>
|
74 |
+
<div class="acx_csma_sidebar_w_content"><?php _e("Make your website user friendly and optimized for mobile devices for better user interaction and satisfaction ","coming-soon-maintenance-mode-from-acurax");?><a href="http://wordpress.acurax.com/?utm_source=csma&utm_campaign=sidebar_text_2" target="_blank"><?php _e("Click Here","coming-soon-maintenance-mode-from-acurax");?></a></div>
|
75 |
</div> <!-- acx_csma_sidebar_widget -->
|
76 |
<?php } ?>
|
77 |
<div class="acx_csma_sidebar_widget">
|
78 |
+
<div class="acx_csma_sidebar_w_title"><?php _e("Rate us on wordpress.org","coming-soon-maintenance-mode-from-acurax");?></div>
|
79 |
+
<div class="acx_csma_sidebar_w_content" style="text-align:center;font-size:13px;"><b><?php _e("Thank you for being with us... If you like our plugin then please show us some love ","coming-soon-maintenance-mode-from-acurax");?></b></br>
|
80 |
<a href="https://wordpress.org/support/view/plugin-reviews/coming-soon-maintenance-mode-from-acurax" target="_blank" style="text-decoration:none;">
|
81 |
<span id="acx_csma_stars">
|
82 |
<span class="dashicons dashicons-star-filled"></span>
|
85 |
<span class="dashicons dashicons-star-filled"></span>
|
86 |
<span class="dashicons dashicons-star-filled"></span>
|
87 |
</span>
|
88 |
+
<span class="acx_csma_star_button button button-primary"><?php _e("Click Here","coming-soon-maintenance-mode-from-acurax");?></span>
|
89 |
</a>
|
90 |
+
<p><?php _e("If you are facing any issues, kindly post them at plugins support forum ","coming-soon-maintenance-mode-from-acurax");?><a href="http://wordpress.org/support/plugin/coming-soon-maintenance-mode-from-acurax" target="_blank"><?php _e("here","coming-soon-maintenance-mode-from-acurax");?></a>
|
91 |
</div>
|
92 |
</div> <!-- acx_csma_sidebar_widget -->
|
93 |
|
96 |
</div> <!-- acx_ad_banners_csma -->
|
97 |
|
98 |
<?php
|
99 |
+
}
|
100 |
+
add_action('acx_csma_hook_sidebar_widget','acx_csma_service_banners',100);
|
101 |
+
add_action('acx_csma_misc_hook_option_sidebar','acx_csma_service_banners',100);
|
102 |
+
/********************************************************** MISC PAGE ************************************************************/
|
103 |
+
|
104 |
+
/********************************************** MISC Page*********************************************/
|
105 |
+
function acx_csma_misc_nonce_check()
|
106 |
+
{
|
107 |
+
if (!isset($_POST['acx_csma_misc_nonce'])) die("<br><br>".__('Unknown Error Occurred, Try Again... ','coming-soon-maintenance-mode-from-acurax')."<a href=''>Click Here</a>");
|
108 |
+
if (!wp_verify_nonce($_POST['acx_csma_misc_nonce'],'acx_csma_misc_nonce')) die("<br><br>".__('Unknown Error Occurred, Try Again... ','coming-soon-maintenance-mode-from-acurax')."<a href=''>Click Here</a>");
|
109 |
+
if(!current_user_can('manage_options')) die("<br><br>".__('Sorry, You have no permission to do this action...','coming-soon-maintenance-mode-from-acurax')."</a>");
|
110 |
+
} add_action('acx_csma_misc_hook_option_onpost','acx_csma_misc_nonce_check',1);
|
111 |
+
|
112 |
+
|
113 |
+
function acx_csma_misc_nonce_field()
|
114 |
+
{
|
115 |
+
echo "<input name='acx_csma_misc_nonce' type='hidden' value='".wp_create_nonce('acx_csma_misc_nonce')."' />";
|
116 |
+
echo "<input name='acx_csma_misc_hidden' type='hidden' value='Y' />";
|
117 |
+
} add_action('acx_csma_misc_hook_option_fields','acx_csma_misc_nonce_field',10);
|
118 |
+
|
119 |
+
function acx_csma_misc_option_form_start()
|
120 |
+
{
|
121 |
+
echo "<form name='acurax_csma_misc_form' id='acurax_csma_misc_form' method='post' action='".str_replace( '%7E', '~',$_SERVER['REQUEST_URI'])."'>";
|
122 |
+
} add_action('acx_csma_misc_hook_option_form_head','acx_csma_misc_option_form_start',100);
|
123 |
+
|
124 |
+
|
125 |
+
function acx_csma_misc_option_form_end()
|
126 |
+
{
|
127 |
+
echo "</form>";
|
128 |
+
} add_action('acx_csma_misc_hook_option_form_footer','acx_csma_misc_option_form_end',100);
|
129 |
+
|
130 |
+
function acx_csma_misc_option_div_start()
|
131 |
+
{
|
132 |
+
echo "<div id=\"acx_csma_option_page_holder\"> \n";
|
133 |
+
acx_csma_hook_function('acx_csma_misc_hook_option_above_page_left');
|
134 |
+
echo "<div class=\"acx_csma_option_page_left\"> \n";
|
135 |
+
} add_action('acx_csma_misc_hook_option_form_head','acx_csma_misc_option_div_start',30);
|
136 |
+
|
137 |
+
function acx_csma_misc_option_sidebar_start()
|
138 |
+
{
|
139 |
+
echo "</div> <!-- acx_csma_option_page_left --> \n";
|
140 |
+
echo "<div class=\"acx_csma_option_page_right\"> \n";
|
141 |
+
echo "<div id=\"acx_csma_sidebar\"> \n";
|
142 |
+
} add_action('acx_csma_misc_hook_option_sidebar','acx_csma_misc_option_sidebar_start',10);
|
143 |
+
|
144 |
+
|
145 |
+
function acx_csma_misc_option_sidebar_end()
|
146 |
+
{
|
147 |
+
echo "</div> <!-- acx_csma_sidebar --> \n";
|
148 |
+
echo "</div> <!-- acx_csma_option_page_right --> \n";
|
149 |
+
acx_csma_hook_function('acx_csma_misc_hook_option_footer');
|
150 |
+
echo "</div> <!-- acx_csma_option_page_holder --> \n";
|
151 |
+
} add_action('acx_csma_misc_hook_option_sidebar','acx_csma_misc_option_sidebar_end',500);
|
152 |
+
|
153 |
+
function acx_csma_misc_print_option_page_title()
|
154 |
+
{
|
155 |
+
$acx_string = __("Misc Settings","coming-soon-maintenance-mode-from-acurax");
|
156 |
+
echo print_acx_csma_option_heading($acx_string);
|
157 |
+
} add_action('acx_csma_misc_hook_option_form_head','acx_csma_misc_print_option_page_title',50);
|
158 |
+
|
159 |
+
function display_acx_csma_misc_saved_success()
|
160 |
+
{ ?>
|
161 |
+
<div class="updated"><p><strong><?php _e('Misc Settings Saved!.','coming-soon-maintenance-mode-from-acurax' ); ?></strong></p></div>
|
162 |
+
<script type="text/javascript">
|
163 |
+
setTimeout(function(){
|
164 |
+
jQuery('.updated').fadeOut('slow');
|
165 |
+
|
166 |
+
}, 4000);
|
167 |
+
|
168 |
+
</script>
|
169 |
+
|
170 |
+
<?php
|
171 |
+
} add_action('acx_csma_misc_hook_option_onpost','display_acx_csma_misc_saved_success',5000);
|
172 |
+
|
173 |
+
|
174 |
+
/********************************************************** MISC PAGE ************************************************************/
|
175 |
?>
|
includes/hooks.php
CHANGED
@@ -53,5 +53,42 @@ function acx_csma_hook_mainoptions_below_javascript()
|
|
53 |
{
|
54 |
do_action('acx_csma_hook_mainoptions_below_javascript');
|
55 |
}
|
|
|
56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
?>
|
53 |
{
|
54 |
do_action('acx_csma_hook_mainoptions_below_javascript');
|
55 |
}
|
56 |
+
/* Misc Page */
|
57 |
|
58 |
+
function acx_csma_misc_hook_option_onpost()
|
59 |
+
{
|
60 |
+
do_action('acx_csma_misc_hook_option_onpost');
|
61 |
+
}
|
62 |
+
function acx_csma_misc_hook_option_postelse()
|
63 |
+
{
|
64 |
+
do_action('acx_csma_misc_hook_option_postelse');
|
65 |
+
}
|
66 |
+
function acx_csma_misc_hook_option_after_else()
|
67 |
+
{
|
68 |
+
do_action('acx_csma_misc_hook_option_after_else');
|
69 |
+
}
|
70 |
+
function acx_csma_misc_hook_option_fields()
|
71 |
+
{
|
72 |
+
do_action('acx_csma_misc_hook_option_fields');
|
73 |
+
}
|
74 |
+
function acx_csma_misc_hook_option_above_page_left()
|
75 |
+
{
|
76 |
+
do_action('acx_csma_misc_hook_option_above_page_left');
|
77 |
+
}
|
78 |
+
function acx_csma_misc_hook_option_form_head()
|
79 |
+
{
|
80 |
+
do_action('acx_csma_misc_hook_option_form_head');
|
81 |
+
}
|
82 |
+
function acx_csma_misc_hook_option_form_footer()
|
83 |
+
{
|
84 |
+
do_action('acx_csma_misc_hook_option_form_footer');
|
85 |
+
}
|
86 |
+
function acx_csma_misc_hook_option_sidebar()
|
87 |
+
{
|
88 |
+
do_action('acx_csma_misc_hook_option_sidebar');
|
89 |
+
}
|
90 |
+
function acx_csma_misc_hook_option_footer()
|
91 |
+
{
|
92 |
+
do_action('acx_csma_misc_hook_option_footer');
|
93 |
+
}
|
94 |
?>
|
includes/updates.php
CHANGED
@@ -42,7 +42,7 @@ function acx_csma_update_content()
|
|
42 |
$acx_csma_inside_title1 = $acx_csma_appearence_array['1']['acx_csma_inside_title1'];
|
43 |
if(strcmp($acx_csma_inside_title1,"Estimate Time Before Lunching") === 0 )
|
44 |
{
|
45 |
-
$acx_csma_appearence_array['1']['acx_csma_inside_title1'] = "Estimate Time Before Launching";
|
46 |
update_option('acx_csma_appearence_array',$acx_csma_appearence_array);
|
47 |
}
|
48 |
}
|
@@ -129,7 +129,7 @@ function acx_csma_update_content()
|
|
129 |
}
|
130 |
if(array_key_exists('5',$acx_csma_appearence_array) && !array_key_exists('acx_csma_subscribe_main_title5',$acx_csma_appearence_array['5']))
|
131 |
{
|
132 |
-
$acx_csma_appearence_array['5']['acx_csma_subscribe_main_title5'] = "Want to know when we launch?";
|
133 |
update_option('acx_csma_appearence_array',$acx_csma_appearence_array);
|
134 |
}
|
135 |
}
|
42 |
$acx_csma_inside_title1 = $acx_csma_appearence_array['1']['acx_csma_inside_title1'];
|
43 |
if(strcmp($acx_csma_inside_title1,"Estimate Time Before Lunching") === 0 )
|
44 |
{
|
45 |
+
$acx_csma_appearence_array['1']['acx_csma_inside_title1'] = __("Estimate Time Before Launching","coming-soon-maintenance-mode-from-acurax");
|
46 |
update_option('acx_csma_appearence_array',$acx_csma_appearence_array);
|
47 |
}
|
48 |
}
|
129 |
}
|
130 |
if(array_key_exists('5',$acx_csma_appearence_array) && !array_key_exists('acx_csma_subscribe_main_title5',$acx_csma_appearence_array['5']))
|
131 |
{
|
132 |
+
$acx_csma_appearence_array['5']['acx_csma_subscribe_main_title5'] = __("Want to know when we launch?","coming-soon-maintenance-mode-from-acurax");
|
133 |
update_option('acx_csma_appearence_array',$acx_csma_appearence_array);
|
134 |
}
|
135 |
}
|
js/color.js
CHANGED
@@ -36,6 +36,12 @@ jQuery(document).ready(function($)
|
|
36 |
jQuery('#acx_csma_timer_iptext_color1').click(function(){jQuery('#acx_csma_timer_iptext_color1_div').slideDown()});
|
37 |
jQuery('#acx_csma_timer_iptext_color1').blur(function(){jQuery('#acx_csma_timer_iptext_color1_div').slideUp()});
|
38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
jQuery('#acx_csma_timer_head_color1_div').hide();
|
40 |
jQuery('#acx_csma_timer_head_color1_div').farbtastic('#acx_csma_timer_head_color1');
|
41 |
jQuery('#acx_csma_timer_head_color1').click(function(){jQuery('#acx_csma_timer_head_color1_div').slideDown()});
|
@@ -108,6 +114,11 @@ jQuery(document).ready(function($)
|
|
108 |
jQuery('#acx_csma_inside_bg_color2').click(function(){jQuery('#acx_csma_inside_bg_color2_div').slideDown()});
|
109 |
jQuery('#acx_csma_inside_bg_color2').blur(function(){jQuery('#acx_csma_inside_bg_color2_div').slideUp()});
|
110 |
|
|
|
|
|
|
|
|
|
|
|
111 |
jQuery('#acx_csma_subscribe_btn_color2_div').hide();
|
112 |
jQuery('#acx_csma_subscribe_btn_color2_div').farbtastic('#acx_csma_subscribe_btn_color2');
|
113 |
jQuery('#acx_csma_subscribe_btn_color2').click(function(){jQuery('#acx_csma_subscribe_btn_color2_div').slideDown()});
|
@@ -132,7 +143,16 @@ jQuery(document).ready(function($)
|
|
132 |
jQuery('#acx_csma_desc_text_color2_div').farbtastic('#acx_csma_desc_text_color2');
|
133 |
jQuery('#acx_csma_desc_text_color2').click(function(){jQuery('#acx_csma_desc_text_color2_div').slideDown()});
|
134 |
jQuery('#acx_csma_desc_text_color2').blur(function(){jQuery('#acx_csma_desc_text_color2_div').slideUp()});
|
|
|
|
|
|
|
|
|
|
|
135 |
|
|
|
|
|
|
|
|
|
136 |
// Template 3
|
137 |
jQuery('#acx_csma_logo_text_color3_div').hide();
|
138 |
jQuery('#acx_csma_logo_text_color3_div').farbtastic('#acx_csma_logo_text_color3');
|
@@ -195,6 +215,11 @@ jQuery(document).ready(function($)
|
|
195 |
jQuery('#acx_csma_desc_text_color3').click(function(){jQuery('#acx_csma_desc_text_color3_div').slideDown()});
|
196 |
jQuery('#acx_csma_desc_text_color3').blur(function(){jQuery('#acx_csma_desc_text_color3_div').slideUp()});
|
197 |
|
|
|
|
|
|
|
|
|
|
|
198 |
jQuery('#acx_csma_footer_color3_div').hide();
|
199 |
jQuery('#acx_csma_footer_color3_div').farbtastic('#acx_csma_footer_color3');
|
200 |
jQuery('#acx_csma_footer_color3').click(function(){jQuery('#acx_csma_footer_color3_div').slideDown()});
|
@@ -234,6 +259,31 @@ jQuery(document).ready(function($)
|
|
234 |
jQuery('#acx_csma_progress_bar_color4_div').farbtastic('#acx_csma_progress_bar_color4');
|
235 |
jQuery('#acx_csma_progress_bar_color4').click(function(){jQuery('#acx_csma_progress_bar_color4_div').slideDown()});
|
236 |
jQuery('#acx_csma_progress_bar_color4').blur(function(){jQuery('#acx_csma_progress_bar_color4_div').slideUp()});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
237 |
|
238 |
// Template 5
|
239 |
jQuery('#acx_csma_logo_text_color5_div').hide();
|
@@ -271,6 +321,16 @@ jQuery(document).ready(function($)
|
|
271 |
jQuery('#acx_csma_progress_bar_color5').click(function(){jQuery('#acx_csma_progress_bar_color5_div').slideDown()});
|
272 |
jQuery('#acx_csma_progress_bar_color5').blur(function(){jQuery('#acx_csma_progress_bar_color5_div').slideUp()});
|
273 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
274 |
jQuery('#acx_csma_subscribe_bg_color5_div').hide();
|
275 |
jQuery('#acx_csma_subscribe_bg_color5_div').farbtastic('#acx_csma_subscribe_bg_color5');
|
276 |
jQuery('#acx_csma_subscribe_bg_color5').click(function(){jQuery('#acx_csma_subscribe_bg_color5_div').slideDown()});
|
36 |
jQuery('#acx_csma_timer_iptext_color1').click(function(){jQuery('#acx_csma_timer_iptext_color1_div').slideDown()});
|
37 |
jQuery('#acx_csma_timer_iptext_color1').blur(function(){jQuery('#acx_csma_timer_iptext_color1_div').slideUp()});
|
38 |
|
39 |
+
|
40 |
+
jQuery('#acx_csma_timer_input_bg_color1_div').hide();
|
41 |
+
jQuery('#acx_csma_timer_input_bg_color1_div').farbtastic('#acx_csma_timer_input_bg_color1');
|
42 |
+
jQuery('#acx_csma_timer_input_bg_color1').click(function(){jQuery('#acx_csma_timer_input_bg_color1_div').slideDown()});
|
43 |
+
jQuery('#acx_csma_timer_input_bg_color1').blur(function(){jQuery('#acx_csma_timer_input_bg_color1_div').slideUp()});
|
44 |
+
|
45 |
jQuery('#acx_csma_timer_head_color1_div').hide();
|
46 |
jQuery('#acx_csma_timer_head_color1_div').farbtastic('#acx_csma_timer_head_color1');
|
47 |
jQuery('#acx_csma_timer_head_color1').click(function(){jQuery('#acx_csma_timer_head_color1_div').slideDown()});
|
114 |
jQuery('#acx_csma_inside_bg_color2').click(function(){jQuery('#acx_csma_inside_bg_color2_div').slideDown()});
|
115 |
jQuery('#acx_csma_inside_bg_color2').blur(function(){jQuery('#acx_csma_inside_bg_color2_div').slideUp()});
|
116 |
|
117 |
+
jQuery('#acx_csma_timer_title_color2_div').hide();
|
118 |
+
jQuery('#acx_csma_timer_title_color2_div').farbtastic('#acx_csma_timer_title_color2');
|
119 |
+
jQuery('#acx_csma_timer_title_color2').click(function(){jQuery('#acx_csma_timer_title_color2_div').slideDown()});
|
120 |
+
jQuery('#acx_csma_timer_title_color2').blur(function(){jQuery('#acx_csma_timer_title_color2_div').slideUp()});
|
121 |
+
|
122 |
jQuery('#acx_csma_subscribe_btn_color2_div').hide();
|
123 |
jQuery('#acx_csma_subscribe_btn_color2_div').farbtastic('#acx_csma_subscribe_btn_color2');
|
124 |
jQuery('#acx_csma_subscribe_btn_color2').click(function(){jQuery('#acx_csma_subscribe_btn_color2_div').slideDown()});
|
143 |
jQuery('#acx_csma_desc_text_color2_div').farbtastic('#acx_csma_desc_text_color2');
|
144 |
jQuery('#acx_csma_desc_text_color2').click(function(){jQuery('#acx_csma_desc_text_color2_div').slideDown()});
|
145 |
jQuery('#acx_csma_desc_text_color2').blur(function(){jQuery('#acx_csma_desc_text_color2_div').slideUp()});
|
146 |
+
|
147 |
+
jQuery('#acx_csma_desc_content_color2_div').hide();
|
148 |
+
jQuery('#acx_csma_desc_content_color2_div').farbtastic('#acx_csma_desc_content_color2');
|
149 |
+
jQuery('#acx_csma_desc_content_color2').click(function(){jQuery('#acx_csma_desc_content_color2_div').slideDown()});
|
150 |
+
jQuery('#acx_csma_desc_content_color2').blur(function(){jQuery('#acx_csma_desc_content_color2_div').slideUp()});
|
151 |
|
152 |
+
jQuery('#acx_csma_social_link_color2_div').hide();
|
153 |
+
jQuery('#acx_csma_social_link_color2_div').farbtastic('#acx_csma_social_link_color2');
|
154 |
+
jQuery('#acx_csma_social_link_color2').click(function(){jQuery('#acx_csma_social_link_color2_div').slideDown()});
|
155 |
+
jQuery('#acx_csma_social_link_color2').blur(function(){jQuery('#acx_csma_social_link_color2_div').slideUp()});
|
156 |
// Template 3
|
157 |
jQuery('#acx_csma_logo_text_color3_div').hide();
|
158 |
jQuery('#acx_csma_logo_text_color3_div').farbtastic('#acx_csma_logo_text_color3');
|
215 |
jQuery('#acx_csma_desc_text_color3').click(function(){jQuery('#acx_csma_desc_text_color3_div').slideDown()});
|
216 |
jQuery('#acx_csma_desc_text_color3').blur(function(){jQuery('#acx_csma_desc_text_color3_div').slideUp()});
|
217 |
|
218 |
+
jQuery('#acx_csma_desc_content_color3_div').hide();
|
219 |
+
jQuery('#acx_csma_desc_content_color3_div').farbtastic('#acx_csma_desc_content_color3');
|
220 |
+
jQuery('#acx_csma_desc_content_color3').click(function(){jQuery('#acx_csma_desc_content_color3_div').slideDown()});
|
221 |
+
jQuery('#acx_csma_desc_content_color3').blur(function(){jQuery('#acx_csma_desc_content_color3_div').slideUp()});
|
222 |
+
|
223 |
jQuery('#acx_csma_footer_color3_div').hide();
|
224 |
jQuery('#acx_csma_footer_color3_div').farbtastic('#acx_csma_footer_color3');
|
225 |
jQuery('#acx_csma_footer_color3').click(function(){jQuery('#acx_csma_footer_color3_div').slideDown()});
|
259 |
jQuery('#acx_csma_progress_bar_color4_div').farbtastic('#acx_csma_progress_bar_color4');
|
260 |
jQuery('#acx_csma_progress_bar_color4').click(function(){jQuery('#acx_csma_progress_bar_color4_div').slideDown()});
|
261 |
jQuery('#acx_csma_progress_bar_color4').blur(function(){jQuery('#acx_csma_progress_bar_color4_div').slideUp()});
|
262 |
+
|
263 |
+
jQuery('#acx_csma_progress_bar_bg_color4_div').hide();
|
264 |
+
jQuery('#acx_csma_progress_bar_bg_color4_div').farbtastic('#acx_csma_progress_bar_bg_color4');
|
265 |
+
jQuery('#acx_csma_progress_bar_bg_color4').click(function(){jQuery('#acx_csma_progress_bar_bg_color4_div').slideDown()});
|
266 |
+
jQuery('#acx_csma_progress_bar_bg_color4').blur(function(){jQuery('#acx_csma_progress_bar_bg_color4_div').slideUp()});
|
267 |
+
|
268 |
+
jQuery('#acx_csma_progress_bar_text_color4_div').hide();
|
269 |
+
jQuery('#acx_csma_progress_bar_text_color4_div').farbtastic('#acx_csma_progress_bar_text_color4');
|
270 |
+
jQuery('#acx_csma_progress_bar_text_color4').click(function(){jQuery('#acx_csma_progress_bar_text_color4_div').slideDown()});
|
271 |
+
jQuery('#acx_csma_progress_bar_text_color4').blur(function(){jQuery('#acx_csma_progress_bar_text_color4_div').slideUp()});
|
272 |
+
|
273 |
+
jQuery('#acx_csma_subscription_title_color4_div').hide();
|
274 |
+
jQuery('#acx_csma_subscription_title_color4_div').farbtastic('#acx_csma_subscription_title_color4');
|
275 |
+
jQuery('#acx_csma_subscription_title_color4').click(function(){jQuery('#acx_csma_subscription_title_color4_div').slideDown()});
|
276 |
+
jQuery('#acx_csma_subscription_title_color4').blur(function(){jQuery('#acx_csma_subscription_title_color4_div').slideUp()});
|
277 |
+
|
278 |
+
jQuery('#acx_csma_subscription_btn_color4_div').hide();
|
279 |
+
jQuery('#acx_csma_subscription_btn_color4_div').farbtastic('#acx_csma_subscription_btn_color4');
|
280 |
+
jQuery('#acx_csma_subscription_btn_color4').click(function(){jQuery('#acx_csma_subscription_btn_color4_div').slideDown()});
|
281 |
+
jQuery('#acx_csma_subscription_btn_color4').blur(function(){jQuery('#acx_csma_subscription_btn_color4_div').slideUp()});
|
282 |
+
|
283 |
+
jQuery('#acx_csma_subscription_btn_bg_color4_div').hide();
|
284 |
+
jQuery('#acx_csma_subscription_btn_bg_color4_div').farbtastic('#acx_csma_subscription_btn_bg_color4');
|
285 |
+
jQuery('#acx_csma_subscription_btn_bg_color4').click(function(){jQuery('#acx_csma_subscription_btn_bg_color4_div').slideDown()});
|
286 |
+
jQuery('#acx_csma_subscription_btn_bg_color4').blur(function(){jQuery('#acx_csma_subscription_btn_bg_color4_div').slideUp()});
|
287 |
|
288 |
// Template 5
|
289 |
jQuery('#acx_csma_logo_text_color5_div').hide();
|
321 |
jQuery('#acx_csma_progress_bar_color5').click(function(){jQuery('#acx_csma_progress_bar_color5_div').slideDown()});
|
322 |
jQuery('#acx_csma_progress_bar_color5').blur(function(){jQuery('#acx_csma_progress_bar_color5_div').slideUp()});
|
323 |
|
324 |
+
jQuery('#acx_csma_progress_bar_bg_color5_div').hide();
|
325 |
+
jQuery('#acx_csma_progress_bar_bg_color5_div').farbtastic('#acx_csma_progress_bar_bg_color5');
|
326 |
+
jQuery('#acx_csma_progress_bar_bg_color5').click(function(){jQuery('#acx_csma_progress_bar_bg_color5_div').slideDown()});
|
327 |
+
jQuery('#acx_csma_progress_bar_bg_color5').blur(function(){jQuery('#acx_csma_progress_bar_bg_color5_div').slideUp()});
|
328 |
+
|
329 |
+
jQuery('#acx_csma_progress_bar_text_color5_div').hide();
|
330 |
+
jQuery('#acx_csma_progress_bar_text_color5_div').farbtastic('#acx_csma_progress_bar_text_color5');
|
331 |
+
jQuery('#acx_csma_progress_bar_text_color5').click(function(){jQuery('#acx_csma_progress_bar_text_color5_div').slideDown()});
|
332 |
+
jQuery('#acx_csma_progress_bar_text_color5').blur(function(){jQuery('#acx_csma_progress_bar_text_color5_div').slideUp()});
|
333 |
+
|
334 |
jQuery('#acx_csma_subscribe_bg_color5_div').hide();
|
335 |
jQuery('#acx_csma_subscribe_bg_color5_div').farbtastic('#acx_csma_subscribe_bg_color5');
|
336 |
jQuery('#acx_csma_subscribe_bg_color5').click(function(){jQuery('#acx_csma_subscribe_bg_color5_div').slideDown()});
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.acurax.com/happy-clients.php
|
|
4 |
|
5 |
Tags: under construction,coming soon,under maintenance,maintenance mode,site offline,work in progress,website launch,launching page
|
6 |
Requires at least: 2.8
|
7 |
-
Tested up to: 4.
|
8 |
Stable tag: trunk
|
9 |
License: GPLv2 or later
|
10 |
|
@@ -12,7 +12,7 @@ The easiest and feature-rich plugin to show under construction, coming soon, mai
|
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
This Under Construction or Maintenance Mode Plugin is a simple and easy to configure Coming Soon Landing Page plugin with the best available features and customizable options.
|
16 |
|
17 |
Demo/Live Preview : [Template 1](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=1 "Template 1") | [Template 2](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=2 "Template 2") | [Template 3](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=3 "Template 3") | [Template 4](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=4 "Template 4") | [Template 5](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=5 "Template 5") | [Custom HTML](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=0 "Custom HTML")
|
18 |
|
@@ -63,7 +63,7 @@ Feature Highlights
|
|
63 |
|
64 |
* Advanced Access/Restriction Settings : Enabling Coming Soon or Under Construction Mode is a part of updating website or building your website, and we know, you may need to showcase the site to your contacts to get their review and inputs on progress. So we have included the Advanced access settings. You can white-list ip addresses so visit from those ip's will not see under construction page instead they see your live website. You can also configure access by user roles, for example: editors, authors...
|
65 |
|
66 |
-
* 503 Temporarily Unavailable Header : When you enable the Under Maintenance Mode or Under Construction Mode, and when search engine bots/crawlers crawls your website, the plugin will send header information as 503 Temporarily Unavailable, and so search engine know, its a temporary page, This helps you to keep your Search Engine Rankings unaffected.
|
67 |
|
68 |
* Custom HTML Page Support : We are always flexible, we never force to use what we designed, We know you may have a better design to showcase when your website is in offline or under construction mode. You have the easy option to define your own HTML code for the construction mode page. So when you activate the Temporary Unavailable mode, this will be shown.
|
69 |
|
@@ -162,92 +162,114 @@ Yes .Under All Templates Options, There is Option to Restore To Default Value, B
|
|
162 |
= The Maintenance Page Is Showing And The Timer Showing Zero Input Even After The End Date. Why Is It Showing Like This? =
|
163 |
Its Because You Selected The Option “Would You Like To End The Maintenance Mode Automatically On The Above Specified Time?” As “No”.If You Don't Want To See The Maintenance Page Again ,then Select It As “Yes” or Configure a Future Date For Expected Date of Launch.
|
164 |
|
|
|
|
|
165 |
|
166 |
== Screenshots ==
|
167 |
|
168 |
1. General Settings Page
|
169 |
-
2. Template 1 Preview
|
170 |
3. Template 1 Customization Options
|
171 |
-
4. Template 2 Preview
|
172 |
5. Template 2 Customization Options
|
173 |
-
6. Template 3 Preview
|
174 |
7. Template 3 Customization Options
|
175 |
-
8. Template 4 Preview
|
176 |
9. Template 4 Customization Options
|
177 |
-
10. Template 5 Preview
|
178 |
11. Template 5 Customization Options
|
179 |
12. Template Custom HTML Options
|
180 |
13. Maintenance Mode Subscribers List
|
|
|
|
|
|
|
|
|
181 |
|
182 |
== Upgrade Notice ==
|
183 |
|
|
|
|
|
|
|
184 |
= 2.5 =
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
|
193 |
= 2.4 =
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
|
206 |
= 2.3 =
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
|
214 |
= 2.2 =
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
|
221 |
= 2.1 =
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
|
226 |
= 2.0 =
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
|
239 |
= 1.1 =
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
|
249 |
== Changelog ==
|
250 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
251 |
= 2.5 =
|
252 |
* April 3, 2016
|
253 |
* Added More Customization Options for Templates
|
4 |
|
5 |
Tags: under construction,coming soon,under maintenance,maintenance mode,site offline,work in progress,website launch,launching page
|
6 |
Requires at least: 2.8
|
7 |
+
Tested up to: 4.7
|
8 |
Stable tag: trunk
|
9 |
License: GPLv2 or later
|
10 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
This [Under Construction or Maintenance Mode](http://www.acurax.com/products/under-construction-maintenance-mode-wordpress-plugin/ "Under Construction or Maintenance Mode") Plugin is a simple and easy to configure Coming Soon Landing Page plugin with the best available features and customizable options.
|
16 |
|
17 |
Demo/Live Preview : [Template 1](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=1 "Template 1") | [Template 2](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=2 "Template 2") | [Template 3](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=3 "Template 3") | [Template 4](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=4 "Template 4") | [Template 5](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=5 "Template 5") | [Custom HTML](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=0 "Custom HTML")
|
18 |
|
63 |
|
64 |
* Advanced Access/Restriction Settings : Enabling Coming Soon or Under Construction Mode is a part of updating website or building your website, and we know, you may need to showcase the site to your contacts to get their review and inputs on progress. So we have included the Advanced access settings. You can white-list ip addresses so visit from those ip's will not see under construction page instead they see your live website. You can also configure access by user roles, for example: editors, authors...
|
65 |
|
66 |
+
* 503 Temporarily Unavailable Header : When you enable the Under Maintenance Mode or Under Construction Mode, and when search engine bots/crawlers crawls your website, the plugin will send header information as 503 Temporarily Unavailable, and so search engine know, its a temporary page, This helps you to keep your Search Engine Rankings unaffected.(You can also disable the sending of 503 header at Misc Page - Enabled by Default)
|
67 |
|
68 |
* Custom HTML Page Support : We are always flexible, we never force to use what we designed, We know you may have a better design to showcase when your website is in offline or under construction mode. You have the easy option to define your own HTML code for the construction mode page. So when you activate the Temporary Unavailable mode, this will be shown.
|
69 |
|
162 |
= The Maintenance Page Is Showing And The Timer Showing Zero Input Even After The End Date. Why Is It Showing Like This? =
|
163 |
Its Because You Selected The Option “Would You Like To End The Maintenance Mode Automatically On The Above Specified Time?” As “No”.If You Don't Want To See The Maintenance Page Again ,then Select It As “Yes” or Configure a Future Date For Expected Date of Launch.
|
164 |
|
165 |
+
= Is there a way to disable sending 503 headers? =
|
166 |
+
Yes, From Version 2.5.1, you have the option in Misc page to enable/disable sending 503 Temporary Down/Maintenance Header.
|
167 |
|
168 |
== Screenshots ==
|
169 |
|
170 |
1. General Settings Page
|
171 |
+
2. Template 1 Preview - [Click Here for Live Preview](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=1 "Template 1 Live Preview")
|
172 |
3. Template 1 Customization Options
|
173 |
+
4. Template 2 Preview - [Click Here for Live Preview](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=2 "Template 2 Live Preview")
|
174 |
5. Template 2 Customization Options
|
175 |
+
6. Template 3 Preview - [Click Here for Live Preview](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=3 "Template 3 Live Preview")
|
176 |
7. Template 3 Customization Options
|
177 |
+
8. Template 4 Preview - [Click Here for Live Preview](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=4 "Template 4 Live Preview")
|
178 |
9. Template 4 Customization Options
|
179 |
+
10. Template 5 Preview - [Click Here for Live Preview](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=5 "Template 5 Live Preview")
|
180 |
11. Template 5 Customization Options
|
181 |
12. Template Custom HTML Options
|
182 |
13. Maintenance Mode Subscribers List
|
183 |
+
14. This is how Template A From Service Theme Pack 1 Premium Addon Looks Like - [Click Here for Live Preview](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=6 "Service Theme Pack 1 - Template A Live Preview")
|
184 |
+
15. This is how Template B From Service Theme Pack 1 Premium Addon Looks Like - [Click Here for Live Preview](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=7 "Service Theme Pack 1 - Template B Live Preview")
|
185 |
+
16. This is how Template C From Service Theme Pack 1 Premium Addon Looks Like - [Click Here for Live Preview](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=8 "Service Theme Pack 1 - Template C Live Preview")
|
186 |
+
17. This is how Template D From Service Theme Pack 1 Premium Addon Looks Like - [Click Here for Live Preview](http://www.acurax.com/construction-maintenance-mode-acurax-demo.php?acx_csma_preview=9 "Service Theme Pack 1 - Template D Live Preview")
|
187 |
|
188 |
== Upgrade Notice ==
|
189 |
|
190 |
+
= 2.5.1 =
|
191 |
+
Added option to enable/disable sending 503 header, Added more flexibility in customizing templates,Subscription form added to template 4, Several bugs fixed, Improved code, Translation supported. Check https://wordpress.org/plugins/coming-soon-maintenance-mode-from-acurax/changelog/ for more info.
|
192 |
+
|
193 |
= 2.5 =
|
194 |
+
April 3, 2016
|
195 |
+
Added More Customization Options for Templates
|
196 |
+
Option to Hide Countdown Timers
|
197 |
+
Added More Custom HTML Blocks
|
198 |
+
Added feature - Display Variables which helps you to have more flexibility on texts
|
199 |
+
Several Bug Fixes and Improvements
|
200 |
+
Stability Improvements
|
201 |
|
202 |
= 2.4 =
|
203 |
+
Feb 20, 2016
|
204 |
+
Added More Customization Options for Templates
|
205 |
+
Option to Hide Subscriber Forms
|
206 |
+
Fixed Bug on Role Selection
|
207 |
+
Twitter Icon Updated
|
208 |
+
Added More Custom HTML Blocks
|
209 |
+
Added Option to add Custom CSS for each template
|
210 |
+
Social Media Icon Display Logic Improvements
|
211 |
+
Several Bug Fixes and Improvements
|
212 |
+
Optimized Logics
|
213 |
+
Stability Improvements
|
214 |
|
215 |
= 2.3 =
|
216 |
+
Feb 06, 2016
|
217 |
+
Style Improvements on Templates
|
218 |
+
Fixed Bug and Removed Unused Files
|
219 |
+
Optimized Logics
|
220 |
+
Now Supports Addons
|
221 |
+
Stability Improvements
|
222 |
|
223 |
= 2.2 =
|
224 |
+
Jan 20, 2016
|
225 |
+
Fixed Progress Bar Bug
|
226 |
+
Fixed Countdown Timer Bug
|
227 |
+
Improved Subscription Form Logic
|
228 |
+
Fixed Style/Layout Issues on Mobile Devices
|
229 |
|
230 |
= 2.1 =
|
231 |
+
Dec 16, 2015
|
232 |
+
Code Optimization
|
233 |
+
Fixed Countdown Timer Bug
|
234 |
|
235 |
= 2.0 =
|
236 |
+
Nov 20, 2015
|
237 |
+
Code Optimization
|
238 |
+
UI Improvements
|
239 |
+
Image Saving Logic Improvements
|
240 |
+
Added More Customization Options
|
241 |
+
Added Google Analytics Support
|
242 |
+
Fixed Bug Custom HTML Save Issue
|
243 |
+
Fixed Issues With Calendar Date Pick
|
244 |
+
Security Improvements
|
245 |
+
Compatibility Fixes
|
246 |
+
Stable Release
|
247 |
|
248 |
= 1.1 =
|
249 |
+
Aug 26, 2015
|
250 |
+
Code Optimization
|
251 |
+
Now you can have text instead of Logo
|
252 |
+
Fixed time zone related issues
|
253 |
+
Fixed count down timer issues
|
254 |
+
Security Improvements
|
255 |
+
Compatibility Fixes
|
256 |
+
Stable Release
|
257 |
|
258 |
== Changelog ==
|
259 |
|
260 |
+
= 2.5.1 =
|
261 |
+
*Release Date - 1 August 2016*
|
262 |
+
|
263 |
+
* New Feature : Now can enable or disable sending 503 header when site is in maintenance mode at Misc page .
|
264 |
+
* New Feature : Now more flexibility in customizing templates - Template 1 now supports option to change the background color of timer, Template 2 now supports option to change color for description title and content,color for estimate time for launching,Option to change follow us on text, Template 4 and Template 5 now supports customization of progress bar colors.
|
265 |
+
* New Feature : Added subscription form support in template 4.
|
266 |
+
* New Feature : Added option to hide name field from optin form.
|
267 |
+
* Improvements : Display variables for javascript alerts.
|
268 |
+
* Improvements : Code Improvements.
|
269 |
+
* Improvements : Plugin is now translations ready.
|
270 |
+
* Bug Fix : Template 3 - Color not applying in responsive view - Fixed
|
271 |
+
* Bug Fix : Option form not working always - Fixed
|
272 |
+
|
273 |
= 2.5 =
|
274 |
* April 3, 2016
|
275 |
* Added More Customization Options for Templates
|
templates/1/index.php
CHANGED
@@ -45,7 +45,7 @@ if($acx_csma_meta_keywords!="")
|
|
45 |
?>
|
46 |
<style>
|
47 |
|
48 |
-
<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_custom_css_temp1'];
|
49 |
.submit:hover
|
50 |
{
|
51 |
color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_btn_hover_color1']; ?>;
|
@@ -55,6 +55,10 @@ if($acx_csma_meta_keywords!="")
|
|
55 |
background:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_btn_color1']; ?>;
|
56 |
color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_btn_text_color1']; ?>;
|
57 |
}
|
|
|
|
|
|
|
|
|
58 |
</style>
|
59 |
<link href="<?php echo plugins_url('style.css', __FILE__); ?>" rel="stylesheet" type="text/css" />
|
60 |
<link rel="icon" href="<?php echo esc_url($acx_csma_favicon); ?>" type="image/png">
|
@@ -179,35 +183,35 @@ else
|
|
179 |
$acx_day_arr=acx_csma_disp_var_to_show("day");
|
180 |
$acx_day_singular=$acx_day_arr['singular'];
|
181 |
$acx_day_plural=$acx_day_arr['plural'];
|
182 |
-
|
183 |
?>
|
184 |
<div class="timer_box days">
|
185 |
-
<p id="acx_day_disp" style="color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_timer_head_color1']; ?>"><?php echo $acx_day_singular; ?></p>
|
186 |
<ul>
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
</ul>
|
191 |
</div><!-- timer_box -->
|
192 |
<div class="timer_box">
|
193 |
-
<p id="acx_hour_disp" style="color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_timer_head_color1']; ?>"><?php echo $acx_hour_singular; ?></p>
|
194 |
<ul>
|
195 |
-
<li
|
196 |
-
<li
|
197 |
</ul>
|
198 |
</div><!-- timer_box -->
|
199 |
<div class="timer_box">
|
200 |
-
<p id="acx_min_disp" style="color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_timer_head_color1']; ?>"><?php echo $acx_minute_singular; ?></p>
|
201 |
<ul>
|
202 |
-
<li
|
203 |
-
<li
|
204 |
</ul>
|
205 |
</div><!-- timer_box -->
|
206 |
<div class="timer_box last_one">
|
207 |
-
<p id="acx_sec_disp" style="color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_timer_head_color1']; ?>"><?php echo $acx_sec_singular; ?></p>
|
208 |
<ul>
|
209 |
-
<li
|
210 |
-
<li
|
211 |
</ul>
|
212 |
</div><!-- timer_box -->
|
213 |
<?php }?>
|
@@ -249,16 +253,37 @@ else
|
|
249 |
$acx_csma_subscribe_invalid1 = $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_invalid1'];
|
250 |
$acx_csma_subscribe_invalid1 = acx_csma_text_after_save_hook_fn($acx_csma_subscribe_invalid1);
|
251 |
$acx_subs_next_arr=acx_csma_disp_var_to_show("next");
|
252 |
-
$acx_next_singular
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
253 |
?>
|
254 |
<h4><span style="color: <?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_title_color1']; ?>;"><?php echo $acx_csma_subscribe_title1; ?></span></h4>
|
255 |
-
<form name="acx_csma_form" method="post" action="<?php echo str_replace( '%7E', '~',$_SERVER['REQUEST_URI']); ?>">
|
256 |
-
<div id="acx_csma_success" name="acx_csma_success" style="display:none;
|
257 |
-
<div id="acx_csma_invalid" name="acx_csma_invalid" style="display:none;
|
258 |
-
<div id="acx_csma_error" style="
|
259 |
-
|
260 |
-
|
|
|
|
|
|
|
|
|
|
|
261 |
<input type="button" id="acx_csma_submit" onclick="acx_csma_validate_email();" value="<?php echo $acx_next_singular; ?>" class="submit" >
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
262 |
</form>
|
263 |
<?php
|
264 |
}
|
@@ -303,17 +328,104 @@ return false;
|
|
303 |
<?php
|
304 |
if($acx_csma_show_subscription == 1)
|
305 |
{
|
|
|
306 |
$acx_csma_subscribe_btn_text1 = $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_btn_text1'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
307 |
?>
|
308 |
var acx_csma_form_status=1;
|
309 |
function acx_csma_validate_email()
|
310 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
311 |
var acx_csma_name_hidden=document.getElementById('acx_csma_name_hidden').value;
|
312 |
if(acx_csma_form_status== 1)
|
313 |
{
|
314 |
if(acx_csma_name_hidden=="")
|
315 |
{
|
316 |
-
alert('
|
317 |
acx_csma_form_status=1;
|
318 |
return false;
|
319 |
}
|
@@ -332,7 +444,7 @@ function acx_csma_validate_email()
|
|
332 |
var expr = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
|
333 |
if (acx_csma_email=='')
|
334 |
{
|
335 |
-
|
336 |
return false;
|
337 |
}
|
338 |
else if (!expr.test(acx_csma_email))
|
@@ -390,7 +502,8 @@ function acx_csma_validate_email()
|
|
390 |
document.getElementById('acx_csma_name_hidden').value="";
|
391 |
jQuery("#acx_csma_email").hide();
|
392 |
jQuery("#acx_csma_submit").hide();
|
393 |
-
jQuery("#acx_csma_error").
|
|
|
394 |
setTimeout(function()
|
395 |
{
|
396 |
jQuery("#acx_csma_error").html('');
|
@@ -406,6 +519,8 @@ function acx_csma_validate_email()
|
|
406 |
});
|
407 |
}
|
408 |
}
|
|
|
|
|
409 |
}
|
410 |
<?php
|
411 |
}
|
45 |
?>
|
46 |
<style>
|
47 |
|
48 |
+
<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_custom_css_temp1']; ?>
|
49 |
.submit:hover
|
50 |
{
|
51 |
color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_btn_hover_color1']; ?>;
|
55 |
background:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_btn_color1']; ?>;
|
56 |
color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_btn_text_color1']; ?>;
|
57 |
}
|
58 |
+
.acx_csma_li_span
|
59 |
+
{
|
60 |
+
background-color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_timer_input_bg_color1']; ?>;
|
61 |
+
}
|
62 |
</style>
|
63 |
<link href="<?php echo plugins_url('style.css', __FILE__); ?>" rel="stylesheet" type="text/css" />
|
64 |
<link rel="icon" href="<?php echo esc_url($acx_csma_favicon); ?>" type="image/png">
|
183 |
$acx_day_arr=acx_csma_disp_var_to_show("day");
|
184 |
$acx_day_singular=$acx_day_arr['singular'];
|
185 |
$acx_day_plural=$acx_day_arr['plural'];
|
186 |
+
|
187 |
?>
|
188 |
<div class="timer_box days">
|
189 |
+
<p id="acx_day_disp" style="color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_timer_head_color1']; ?>"><?php echo acx_csma_text_after_save_hook_fn($acx_day_singular); ?></p>
|
190 |
<ul>
|
191 |
+
<li style="color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_timer_iptext_color1']; ?>"><span id="days_0" class="acx_csma_li_span">0</span></li>
|
192 |
+
<li style="color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_timer_iptext_color1']; ?>"><span id="days_1" class="acx_csma_li_span">0</span></li>
|
193 |
+
<li style="color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_timer_iptext_color1']; ?>"><span id="days_2" class="acx_csma_li_span">0</span></li>
|
194 |
</ul>
|
195 |
</div><!-- timer_box -->
|
196 |
<div class="timer_box">
|
197 |
+
<p id="acx_hour_disp" style="color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_timer_head_color1']; ?>"><?php echo acx_csma_text_after_save_hook_fn($acx_hour_singular); ?></p>
|
198 |
<ul>
|
199 |
+
<li style="color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_timer_iptext_color1']; ?>"><span id="hours_0" class="acx_csma_li_span">0</span></li>
|
200 |
+
<li style="color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_timer_iptext_color1']; ?>"><span id="hours_1" class="acx_csma_li_span">0</span></li>
|
201 |
</ul>
|
202 |
</div><!-- timer_box -->
|
203 |
<div class="timer_box">
|
204 |
+
<p id="acx_min_disp" style="color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_timer_head_color1']; ?>"><?php echo acx_csma_text_after_save_hook_fn($acx_minute_singular); ?></p>
|
205 |
<ul>
|
206 |
+
<li style="color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_timer_iptext_color1']; ?>"><span id="minutes_0" class="acx_csma_li_span">0</span></li>
|
207 |
+
<li style="color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_timer_iptext_color1']; ?>"><span id="minutes_1" class="acx_csma_li_span">0</span></li>
|
208 |
</ul>
|
209 |
</div><!-- timer_box -->
|
210 |
<div class="timer_box last_one">
|
211 |
+
<p id="acx_sec_disp" style="color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_timer_head_color1']; ?>"><?php echo acx_csma_text_after_save_hook_fn($acx_sec_singular); ?></p>
|
212 |
<ul>
|
213 |
+
<li style="color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_timer_iptext_color1']; ?>"><span id="seconds_0" class="acx_csma_li_span">0</span></li>
|
214 |
+
<li style="color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_timer_iptext_color1']; ?>"><span id="seconds_1" class="acx_csma_li_span">0</span></li>
|
215 |
</ul>
|
216 |
</div><!-- timer_box -->
|
217 |
<?php }?>
|
253 |
$acx_csma_subscribe_invalid1 = $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_invalid1'];
|
254 |
$acx_csma_subscribe_invalid1 = acx_csma_text_after_save_hook_fn($acx_csma_subscribe_invalid1);
|
255 |
$acx_subs_next_arr=acx_csma_disp_var_to_show("next");
|
256 |
+
$acx_next_singular=acx_csma_option_text_after_save_hook_fn($acx_subs_next_arr['singular']);
|
257 |
+
$acx_subs_name_arr=acx_csma_disp_var_to_show("Subscription Name Placeholder");
|
258 |
+
$acx_s_name_singular=acx_csma_option_text_after_save_hook_fn($acx_subs_name_arr['singular']);
|
259 |
+
$acx_subs_email_arr=acx_csma_disp_var_to_show("Subscription Email Placeholder");
|
260 |
+
$acx_s_email_singular=acx_csma_option_text_after_save_hook_fn($acx_subs_email_arr['singular']);
|
261 |
+
|
262 |
+
$acx_csma_show_subscription_name = $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_show_subscription_name'];
|
263 |
+
$acx_csma_show_subscription_name = acx_csma_text_after_save_hook_fn($acx_csma_show_subscription_name);
|
264 |
?>
|
265 |
<h4><span style="color: <?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_title_color1']; ?>;"><?php echo $acx_csma_subscribe_title1; ?></span></h4>
|
266 |
+
<form name="acx_csma_form" method="post" action="<?php echo esc_url(str_replace( '%7E', '~',$_SERVER['REQUEST_URI'])); ?>">
|
267 |
+
<div id="acx_csma_success" name="acx_csma_success" style="display:none;" ><?php echo $acx_csma_subscribe_success1; ?></div>
|
268 |
+
<div id="acx_csma_invalid" name="acx_csma_invalid" style="display:none;" ><?php echo $acx_csma_subscribe_invalid1; ?></div>
|
269 |
+
<div id="acx_csma_error" style="display:none;"></div>
|
270 |
+
<?php
|
271 |
+
if($acx_csma_show_subscription_name == 1)
|
272 |
+
{
|
273 |
+
?>
|
274 |
+
<input type="text" id="acx_csma_name_hidden" name="acx_csma_name_hidden" value="" placeholder="<?php echo $acx_s_name_singular; ?>">
|
275 |
+
<input type="hidden" id="acx_csma_email" name="email" placeholder="<?php echo $acx_s_email_singular; ?>" >
|
276 |
+
<br/>
|
277 |
<input type="button" id="acx_csma_submit" onclick="acx_csma_validate_email();" value="<?php echo $acx_next_singular; ?>" class="submit" >
|
278 |
+
<?php }
|
279 |
+
else if($acx_csma_show_subscription_name == 0){ ?>
|
280 |
+
<input type="text" id="acx_csma_email" name="email" placeholder="<?php echo $acx_s_email_singular; ?>" >
|
281 |
+
<br/>
|
282 |
+
<input type="button" id="acx_csma_submit" onclick="acx_csma_validate_email();" value="<?php echo acx_csma_option_text_after_save_hook_fn($acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_btn_text1']); ?>" class="submit" >
|
283 |
+
<?php
|
284 |
+
}
|
285 |
+
?>
|
286 |
+
|
287 |
</form>
|
288 |
<?php
|
289 |
}
|
328 |
<?php
|
329 |
if($acx_csma_show_subscription == 1)
|
330 |
{
|
331 |
+
$acx_csma_show_subscription_name = $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_show_subscription_name'];
|
332 |
$acx_csma_subscribe_btn_text1 = $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_btn_text1'];
|
333 |
+
$acx_name_val_arr=acx_csma_disp_var_to_show("Subscription Name Error Message");
|
334 |
+
$acx_name_val_singular=$acx_name_val_arr['singular'];
|
335 |
+
$acx_email_val_arr=acx_csma_disp_var_to_show("Subscription Email Error Message");
|
336 |
+
$acx_email_val_singular=$acx_email_val_arr['singular'];
|
337 |
+
$acx_email_exist_arr=acx_csma_disp_var_to_show("Subscription Email Exists Message");
|
338 |
+
$acx_email_singular=$acx_email_exist_arr['singular'];
|
339 |
+
$acx_subs_next_arr=acx_csma_disp_var_to_show("next");
|
340 |
+
$acx_next_singular=$acx_subs_next_arr['singular'];
|
341 |
?>
|
342 |
var acx_csma_form_status=1;
|
343 |
function acx_csma_validate_email()
|
344 |
{
|
345 |
+
<?php
|
346 |
+
if($acx_csma_show_subscription_name == 0)
|
347 |
+
{?>
|
348 |
+
|
349 |
+
var acx_csma_email = document.getElementById('acx_csma_email').value;
|
350 |
+
var expr = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
|
351 |
+
if (acx_csma_email=='')
|
352 |
+
{
|
353 |
+
alert('<?php echo $acx_email_val_singular; ?>');
|
354 |
+
return false;
|
355 |
+
}
|
356 |
+
else if (!expr.test(acx_csma_email))
|
357 |
+
{
|
358 |
+
document.getElementById('acx_csma_email').value="";
|
359 |
+
jQuery("#acx_csma_invalid").show();
|
360 |
+
jQuery("#acx_csma_email").hide();
|
361 |
+
jQuery("#acx_csma_submit").hide();
|
362 |
+
setTimeout(function()
|
363 |
+
{
|
364 |
+
jQuery("#acx_csma_invalid").hide();
|
365 |
+
jQuery("#acx_csma_email").show();
|
366 |
+
jQuery("#acx_csma_submit").show();
|
367 |
+
}, 3000);
|
368 |
+
|
369 |
+
|
370 |
+
return false;
|
371 |
+
}
|
372 |
+
else
|
373 |
+
{
|
374 |
+
var acx_load="<div id='acx_csma_loading'><div class='load_1'></div></div>";
|
375 |
+
jQuery('body').append(acx_load);
|
376 |
+
|
377 |
+
var timestamp = Math.floor(<?php echo current_time('timestamp'); ?>);
|
378 |
+
var ip="<?php echo $_SERVER['REMOTE_ADDR']; ?>";
|
379 |
+
var acx_csma_ajaxurl ="<?php echo admin_url('admin-ajax.php'); ?>";
|
380 |
+
var order = '&email='+acx_csma_email+'&ip='+ip+'×tamp='+timestamp+'&action=acx_csma_subscribe_email'+'&acx_csma_subscribe_es=<?php echo wp_create_nonce('acx_csma_subscribe_es'); ?>';
|
381 |
+
jQuery.post(acx_csma_ajaxurl, order, function(theResponse)
|
382 |
+
{
|
383 |
+
jQuery("#acx_csma_loading").remove();
|
384 |
+
if(theResponse == "success")
|
385 |
+
{
|
386 |
+
document.getElementById('acx_csma_email').value="";
|
387 |
+
jQuery("#acx_csma_success").show();
|
388 |
+
jQuery("#acx_csma_email").hide();
|
389 |
+
jQuery("#acx_csma_submit").hide();
|
390 |
+
setTimeout(function()
|
391 |
+
{
|
392 |
+
jQuery("#acx_csma_success").hide();
|
393 |
+
jQuery("#acx_csma_email").show();
|
394 |
+
jQuery("#acx_csma_submit").show();
|
395 |
+
// acx_csma_form_status=1;
|
396 |
+
|
397 |
+
}, 3000);
|
398 |
+
}
|
399 |
+
else{
|
400 |
+
document.getElementById('acx_csma_email').value="";
|
401 |
+
jQuery("#acx_csma_email").hide();
|
402 |
+
jQuery("#acx_csma_submit").hide();
|
403 |
+
jQuery("#acx_csma_error").show();
|
404 |
+
jQuery("#acx_csma_error").html("<?php echo $acx_email_singular; ?>");
|
405 |
+
setTimeout(function()
|
406 |
+
{
|
407 |
+
jQuery("#acx_csma_error").html('');
|
408 |
+
jQuery("#acx_csma_error").hide();
|
409 |
+
jQuery("#acx_csma_email").show();
|
410 |
+
jQuery("#acx_csma_submit").show();
|
411 |
+
//acx_csma_form_status=1;
|
412 |
+
|
413 |
+
}, 3000);
|
414 |
+
|
415 |
+
}
|
416 |
+
});
|
417 |
+
}
|
418 |
+
<?php
|
419 |
+
}
|
420 |
+
else
|
421 |
+
{
|
422 |
+
?>
|
423 |
var acx_csma_name_hidden=document.getElementById('acx_csma_name_hidden').value;
|
424 |
if(acx_csma_form_status== 1)
|
425 |
{
|
426 |
if(acx_csma_name_hidden=="")
|
427 |
{
|
428 |
+
alert('<?php echo $acx_name_val_singular; ?>');
|
429 |
acx_csma_form_status=1;
|
430 |
return false;
|
431 |
}
|
444 |
var expr = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
|
445 |
if (acx_csma_email=='')
|
446 |
{
|
447 |
+
alert('<?php echo $acx_email_val_singular; ?>');
|
448 |
return false;
|
449 |
}
|
450 |
else if (!expr.test(acx_csma_email))
|
502 |
document.getElementById('acx_csma_name_hidden').value="";
|
503 |
jQuery("#acx_csma_email").hide();
|
504 |
jQuery("#acx_csma_submit").hide();
|
505 |
+
jQuery("#acx_csma_error").show();
|
506 |
+
jQuery("#acx_csma_error").html("<?php echo $acx_email_singular; ?>");
|
507 |
setTimeout(function()
|
508 |
{
|
509 |
jQuery("#acx_csma_error").html('');
|
519 |
});
|
520 |
}
|
521 |
}
|
522 |
+
<?php
|
523 |
+
}?>
|
524 |
}
|
525 |
<?php
|
526 |
}
|
templates/1/style.css
CHANGED
@@ -127,6 +127,8 @@ height:auto;
|
|
127 |
margin: 14px -10px 0 0;
|
128 |
padding: 5px 0 0 25px;
|
129 |
width: 69px;
|
|
|
|
|
130 |
}
|
131 |
.last_one
|
132 |
{
|
@@ -236,4 +238,24 @@ media query
|
|
236 |
{
|
237 |
text-align: center;
|
238 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
}
|
127 |
margin: 14px -10px 0 0;
|
128 |
padding: 5px 0 0 25px;
|
129 |
width: 69px;
|
130 |
+
position:relative;
|
131 |
+
|
132 |
}
|
133 |
.last_one
|
134 |
{
|
238 |
{
|
239 |
text-align: center;
|
240 |
}
|
241 |
+
}
|
242 |
+
.acx_csma_li_span
|
243 |
+
{
|
244 |
+
display: block;
|
245 |
+
position: absolute;
|
246 |
+
left: 0px; top: 0px;
|
247 |
+
text-align: center;
|
248 |
+
width: 70px;
|
249 |
+
height: 70px;
|
250 |
+
box-sizing: border-box;
|
251 |
+
padding-top: 5px;
|
252 |
+
}
|
253 |
+
#acx_csma_success ,#acx_csma_invalid ,#acx_csma_error
|
254 |
+
{
|
255 |
+
background: #fff none repeat scroll 0 0;
|
256 |
+
padding: 10px 5px;
|
257 |
+
text-align: center;
|
258 |
+
border-radius: 4px;
|
259 |
+
max-width:400px;
|
260 |
+
margin:0 auto;
|
261 |
}
|
templates/2/index.php
CHANGED
@@ -114,15 +114,31 @@ else
|
|
114 |
$acx_csma_subscribe_invalid2 = $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_subscribe_invalid2'];
|
115 |
$acx_csma_subscribe_invalid2 = acx_csma_text_after_save_hook_fn($acx_csma_subscribe_invalid2);
|
116 |
$acx_subs_next_arr=acx_csma_disp_var_to_show("next");
|
117 |
-
$acx_next_singular
|
|
|
|
|
|
|
|
|
|
|
118 |
?>
|
119 |
-
<form name="acx_csma_form" method="post" action="<?php echo str_replace( '%7E', '~',$_SERVER['REQUEST_URI']); ?>">
|
120 |
-
<div id="acx_csma_success" name="acx_csma_success" style="display:none;
|
121 |
-
<div id="acx_csma_invalid" name="acx_csma_invalid" style="display:none;
|
122 |
-
<div id="acx_csma_error"
|
123 |
-
|
124 |
-
|
|
|
|
|
|
|
|
|
125 |
<input type="button" value="<?php echo $acx_next_singular; ?>" id="acx_csma_submit" onclick="acx_csma_validate_email();" class="submit" style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_subscribe_btn_color2']; ?>">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
</form>
|
127 |
<?php
|
128 |
}
|
@@ -165,13 +181,15 @@ else
|
|
165 |
$acx_day_arr=acx_csma_disp_var_to_show("day");
|
166 |
$acx_day_singular=$acx_day_arr['singular'];
|
167 |
$acx_day_plural=$acx_day_arr['plural'];
|
|
|
|
|
168 |
?>
|
169 |
|
170 |
-
<h3><?php echo $acx_csma_timer_title2; ?></h3>
|
171 |
<div class="timer_box days">
|
172 |
<ul>
|
173 |
<li id="days" style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_iptext_color2']; ?>">000</li>
|
174 |
-
<li id="acx_day_disp" class="day_text" style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_head_color2']; ?>"><?php echo $acx_day_singular; ?></li>
|
175 |
</ul>
|
176 |
</div><!-- timer_box -->
|
177 |
<div class="timer_box">
|
@@ -179,21 +197,21 @@ else
|
|
179 |
<li id="hours_0" style="background:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_input_bg_color2']; ?>;color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_iptext_color2']; ?>">0</li>
|
180 |
<li id="hours_1" style="background:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_input_bg_color2']; ?>;color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_iptext_color2']; ?>">0</li>
|
181 |
</ul>
|
182 |
-
<p id="acx_hour_disp" style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_head_color2']; ?>"><?php echo $acx_hour_singular; ?></p>
|
183 |
</div><!-- timer_box -->
|
184 |
<div class="timer_box">
|
185 |
<ul>
|
186 |
<li id="minutes_0" style="background:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_input_bg_color2']; ?>;color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_iptext_color2']; ?>">0</li>
|
187 |
<li id="minutes_1" style="background:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_input_bg_color2']; ?>;color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_iptext_color2']; ?>">0</li>
|
188 |
</ul>
|
189 |
-
<p id="acx_min_disp" style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_head_color2']; ?>"><?php echo $acx_minute_singular; ?></p>
|
190 |
</div><!-- timer_box -->
|
191 |
<div class="timer_box last_one">
|
192 |
<ul>
|
193 |
<li id="seconds_0" style="background:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_input_bg_color2']; ?>;color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_iptext_color2']; ?>">0</li>
|
194 |
<li id="seconds_1" style="background:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_input_bg_color2']; ?>;color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_iptext_color2']; ?>">0</li>
|
195 |
</ul>
|
196 |
-
<p id="acx_sec_disp" style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_head_color2']; ?>"><?php echo $acx_sec_singular; ?></p>
|
197 |
</div><!-- timer_box -->
|
198 |
<?php
|
199 |
}
|
@@ -221,10 +239,11 @@ else
|
|
221 |
$acx_csma_desc_subtitle2 = $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_desc_subtitle2'];
|
222 |
|
223 |
$acx_csma_desc_subtitle2 = acx_csma_textarea_after_save_hook_function($acx_csma_desc_subtitle2);
|
|
|
224 |
?>
|
225 |
|
226 |
<h4 style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_desc_text_color2']; ?>"><?php echo $acx_csma_desc_title2; ?></h4>
|
227 |
-
<p><?php echo $acx_csma_desc_subtitle2; ?></p>
|
228 |
</div><!-- inline_block -->
|
229 |
</div><!-- inline_block -->
|
230 |
<div class="footer">
|
@@ -234,9 +253,12 @@ else
|
|
234 |
$acx_csma_linkedin_link2=$acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_linkedin_link2'];
|
235 |
if($acx_csma_fb_link2 != "" || $acx_csma_twitter_link2 != "" || $acx_csma_linkedin_link2 != "")
|
236 |
{
|
|
|
|
|
|
|
237 |
?>
|
238 |
<ul>
|
239 |
-
<p
|
240 |
<?php
|
241 |
if($acx_csma_fb_link2 != "")
|
242 |
{
|
@@ -287,17 +309,105 @@ return false;
|
|
287 |
<?php
|
288 |
if($acx_csma_show_subscription2 == 1)
|
289 |
{
|
|
|
290 |
$acx_csma_subscribe_btn_text2 = $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_subscribe_btn_text2'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
291 |
?>
|
292 |
var acx_csma_form_status=1;
|
293 |
function acx_csma_validate_email()
|
294 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
295 |
var acx_csma_name_hidden=document.getElementById('acx_csma_name_hidden').value;
|
296 |
if(acx_csma_form_status== 1)
|
297 |
{
|
298 |
if(acx_csma_name_hidden=="")
|
299 |
{
|
300 |
-
alert('
|
301 |
acx_csma_form_status=1;
|
302 |
return false;
|
303 |
}
|
@@ -316,7 +426,7 @@ function acx_csma_validate_email()
|
|
316 |
var expr = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
|
317 |
if (acx_csma_email=='')
|
318 |
{
|
319 |
-
alert('
|
320 |
return false;
|
321 |
}
|
322 |
else if (!expr.test(acx_csma_email))
|
@@ -374,7 +484,8 @@ function acx_csma_validate_email()
|
|
374 |
document.getElementById('acx_csma_name_hidden').value="";
|
375 |
jQuery("#acx_csma_email").hide();
|
376 |
jQuery("#acx_csma_submit").hide();
|
377 |
-
jQuery("#acx_csma_error").
|
|
|
378 |
setTimeout(function()
|
379 |
{
|
380 |
jQuery("#acx_csma_error").html('');
|
@@ -389,7 +500,10 @@ function acx_csma_validate_email()
|
|
389 |
}
|
390 |
});
|
391 |
}
|
|
|
|
|
392 |
}
|
|
|
393 |
}
|
394 |
<?php
|
395 |
}
|
114 |
$acx_csma_subscribe_invalid2 = $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_subscribe_invalid2'];
|
115 |
$acx_csma_subscribe_invalid2 = acx_csma_text_after_save_hook_fn($acx_csma_subscribe_invalid2);
|
116 |
$acx_subs_next_arr=acx_csma_disp_var_to_show("next");
|
117 |
+
$acx_next_singular=acx_csma_option_text_after_save_hook_fn($acx_subs_next_arr['singular']);
|
118 |
+
$acx_subs_name_arr=acx_csma_disp_var_to_show("Subscription Name Placeholder");
|
119 |
+
$acx_s_name_singular=acx_csma_option_text_after_save_hook_fn($acx_subs_name_arr['singular']);
|
120 |
+
$acx_subs_email_arr=acx_csma_disp_var_to_show("Subscription Email Placeholder");
|
121 |
+
$acx_s_email_singular=acx_csma_option_text_after_save_hook_fn($acx_subs_email_arr['singular']);
|
122 |
+
$acx_csma_show_subscription_name2 = $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_show_subscription_name2'];
|
123 |
?>
|
124 |
+
<form name="acx_csma_form" method="post" action="<?php echo esc_url(str_replace( '%7E', '~',$_SERVER['REQUEST_URI'])); ?>">
|
125 |
+
<div id="acx_csma_success" name="acx_csma_success" style="display:none;" ><?php echo $acx_csma_subscribe_success2; ?></div>
|
126 |
+
<div id="acx_csma_invalid" name="acx_csma_invalid" style="display:none;" ><?php echo $acx_csma_subscribe_invalid2; ?></div>
|
127 |
+
<div id="acx_csma_error" style="display:none;"></div>
|
128 |
+
<?php
|
129 |
+
if($acx_csma_show_subscription_name2 == 1)
|
130 |
+
{
|
131 |
+
?>
|
132 |
+
<input type="text" id="acx_csma_name_hidden" name="acx_csma_name_hidden" value="" placeholder="<?php echo $acx_s_name_singular; ?>"/>
|
133 |
+
<input type="hidden" id="acx_csma_email" name="email" placeholder="<?php echo $acx_s_email_singular; ?>">
|
134 |
<input type="button" value="<?php echo $acx_next_singular; ?>" id="acx_csma_submit" onclick="acx_csma_validate_email();" class="submit" style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_subscribe_btn_color2']; ?>">
|
135 |
+
<?php }
|
136 |
+
else if($acx_csma_show_subscription_name2 == 0){ ?>
|
137 |
+
<input type="text" id="acx_csma_email" name="email" placeholder="<?php echo $acx_s_email_singular; ?>" >
|
138 |
+
<input type="button" value="<?php echo acx_csma_option_text_after_save_hook_fn($acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_subscribe_btn_text2']); ?>" id="acx_csma_submit" onclick="acx_csma_validate_email();" class="submit" style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_subscribe_btn_color2']; ?>">
|
139 |
+
<?php
|
140 |
+
}
|
141 |
+
?>
|
142 |
</form>
|
143 |
<?php
|
144 |
}
|
181 |
$acx_day_arr=acx_csma_disp_var_to_show("day");
|
182 |
$acx_day_singular=$acx_day_arr['singular'];
|
183 |
$acx_day_plural=$acx_day_arr['plural'];
|
184 |
+
|
185 |
+
$acx_csma_timer_title_color2 = $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_title_color2'];
|
186 |
?>
|
187 |
|
188 |
+
<h3 style="color:<?php echo $acx_csma_timer_title_color2; ?>"><?php echo $acx_csma_timer_title2; ?></h3>
|
189 |
<div class="timer_box days">
|
190 |
<ul>
|
191 |
<li id="days" style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_iptext_color2']; ?>">000</li>
|
192 |
+
<li id="acx_day_disp" class="day_text" style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_head_color2']; ?>"><?php echo acx_csma_text_after_save_hook_fn($acx_day_singular); ?></li>
|
193 |
</ul>
|
194 |
</div><!-- timer_box -->
|
195 |
<div class="timer_box">
|
197 |
<li id="hours_0" style="background:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_input_bg_color2']; ?>;color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_iptext_color2']; ?>">0</li>
|
198 |
<li id="hours_1" style="background:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_input_bg_color2']; ?>;color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_iptext_color2']; ?>">0</li>
|
199 |
</ul>
|
200 |
+
<p id="acx_hour_disp" style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_head_color2']; ?>"><?php echo acx_csma_text_after_save_hook_fn($acx_hour_singular); ?></p>
|
201 |
</div><!-- timer_box -->
|
202 |
<div class="timer_box">
|
203 |
<ul>
|
204 |
<li id="minutes_0" style="background:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_input_bg_color2']; ?>;color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_iptext_color2']; ?>">0</li>
|
205 |
<li id="minutes_1" style="background:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_input_bg_color2']; ?>;color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_iptext_color2']; ?>">0</li>
|
206 |
</ul>
|
207 |
+
<p id="acx_min_disp" style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_head_color2']; ?>"><?php echo acx_csma_text_after_save_hook_fn($acx_minute_singular); ?></p>
|
208 |
</div><!-- timer_box -->
|
209 |
<div class="timer_box last_one">
|
210 |
<ul>
|
211 |
<li id="seconds_0" style="background:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_input_bg_color2']; ?>;color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_iptext_color2']; ?>">0</li>
|
212 |
<li id="seconds_1" style="background:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_input_bg_color2']; ?>;color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_iptext_color2']; ?>">0</li>
|
213 |
</ul>
|
214 |
+
<p id="acx_sec_disp" style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_head_color2']; ?>"><?php echo acx_csma_text_after_save_hook_fn($acx_sec_singular); ?></p>
|
215 |
</div><!-- timer_box -->
|
216 |
<?php
|
217 |
}
|
239 |
$acx_csma_desc_subtitle2 = $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_desc_subtitle2'];
|
240 |
|
241 |
$acx_csma_desc_subtitle2 = acx_csma_textarea_after_save_hook_function($acx_csma_desc_subtitle2);
|
242 |
+
$acx_csma_desc_content_color2 = $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_desc_content_color2'];
|
243 |
?>
|
244 |
|
245 |
<h4 style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_desc_text_color2']; ?>"><?php echo $acx_csma_desc_title2; ?></h4>
|
246 |
+
<p style="color:<?php echo $acx_csma_desc_content_color2; ?>;"><?php echo $acx_csma_desc_subtitle2; ?></p>
|
247 |
</div><!-- inline_block -->
|
248 |
</div><!-- inline_block -->
|
249 |
<div class="footer">
|
253 |
$acx_csma_linkedin_link2=$acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_linkedin_link2'];
|
254 |
if($acx_csma_fb_link2 != "" || $acx_csma_twitter_link2 != "" || $acx_csma_linkedin_link2 != "")
|
255 |
{
|
256 |
+
$acx_csma_social_link_title2=$acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_social_link_title2'];
|
257 |
+
$acx_csma_social_link_title2 = acx_csma_text_after_save_hook_fn($acx_csma_social_link_title2);
|
258 |
+
$acx_csma_social_link_color2 = $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_social_link_color2'];
|
259 |
?>
|
260 |
<ul>
|
261 |
+
<p style="color:<?php echo $acx_csma_social_link_color2; ?>;"><?php echo $acx_csma_social_link_title2; ?></p>
|
262 |
<?php
|
263 |
if($acx_csma_fb_link2 != "")
|
264 |
{
|
309 |
<?php
|
310 |
if($acx_csma_show_subscription2 == 1)
|
311 |
{
|
312 |
+
$acx_csma_show_subscription_name2 = $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_show_subscription_name2'];
|
313 |
$acx_csma_subscribe_btn_text2 = $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_subscribe_btn_text2'];
|
314 |
+
$acx_name_val_arr=acx_csma_disp_var_to_show("Subscription Name Error Message");
|
315 |
+
$acx_name_val_singular=$acx_name_val_arr['singular'];
|
316 |
+
$acx_email_val_arr=acx_csma_disp_var_to_show("Subscription Email Error Message");
|
317 |
+
$acx_email_val_singular=$acx_email_val_arr['singular'];
|
318 |
+
|
319 |
+
$acx_email_exist_arr=acx_csma_disp_var_to_show("Subscription Email Exists Message");
|
320 |
+
$acx_email_singular=$acx_email_exist_arr['singular'];
|
321 |
+
$acx_subs_next_arr=acx_csma_disp_var_to_show("next");
|
322 |
+
$acx_next_singular=$acx_subs_next_arr['singular'];
|
323 |
?>
|
324 |
var acx_csma_form_status=1;
|
325 |
function acx_csma_validate_email()
|
326 |
{
|
327 |
+
<?php
|
328 |
+
if($acx_csma_show_subscription_name2 == 0)
|
329 |
+
{?>
|
330 |
+
|
331 |
+
var acx_csma_email = document.getElementById('acx_csma_email').value;
|
332 |
+
var expr = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
|
333 |
+
if (acx_csma_email=='')
|
334 |
+
{
|
335 |
+
alert('<?php echo $acx_email_val_singular; ?>');
|
336 |
+
return false;
|
337 |
+
}
|
338 |
+
else if (!expr.test(acx_csma_email))
|
339 |
+
{
|
340 |
+
document.getElementById('acx_csma_email').value="";
|
341 |
+
jQuery("#acx_csma_invalid").show();
|
342 |
+
jQuery("#acx_csma_email").hide();
|
343 |
+
jQuery("#acx_csma_submit").hide();
|
344 |
+
setTimeout(function()
|
345 |
+
{
|
346 |
+
jQuery("#acx_csma_invalid").hide();
|
347 |
+
jQuery("#acx_csma_email").show();
|
348 |
+
jQuery("#acx_csma_submit").show();
|
349 |
+
}, 3000);
|
350 |
+
|
351 |
+
|
352 |
+
return false;
|
353 |
+
}
|
354 |
+
else
|
355 |
+
{
|
356 |
+
var acx_load="<div id='acx_csma_loading'><div class='load_1'></div></div>";
|
357 |
+
jQuery('body').append(acx_load);
|
358 |
+
|
359 |
+
var timestamp = Math.floor(<?php echo current_time('timestamp'); ?>);
|
360 |
+
var ip="<?php echo $_SERVER['REMOTE_ADDR']; ?>";
|
361 |
+
var acx_csma_ajaxurl ="<?php echo admin_url('admin-ajax.php'); ?>";
|
362 |
+
var order = '&email='+acx_csma_email+'&ip='+ip+'×tamp='+timestamp+'&action=acx_csma_subscribe_email'+'&acx_csma_subscribe_es=<?php echo wp_create_nonce('acx_csma_subscribe_es'); ?>';
|
363 |
+
jQuery.post(acx_csma_ajaxurl, order, function(theResponse)
|
364 |
+
{
|
365 |
+
jQuery("#acx_csma_loading").remove();
|
366 |
+
if(theResponse == "success")
|
367 |
+
{
|
368 |
+
document.getElementById('acx_csma_email').value="";
|
369 |
+
jQuery("#acx_csma_success").show();
|
370 |
+
jQuery("#acx_csma_email").hide();
|
371 |
+
jQuery("#acx_csma_submit").hide();
|
372 |
+
setTimeout(function()
|
373 |
+
{
|
374 |
+
jQuery("#acx_csma_success").hide();
|
375 |
+
jQuery("#acx_csma_email").show();
|
376 |
+
jQuery("#acx_csma_submit").show();
|
377 |
+
// acx_csma_form_status=1;
|
378 |
+
|
379 |
+
}, 3000);
|
380 |
+
}
|
381 |
+
else{
|
382 |
+
document.getElementById('acx_csma_email').value="";
|
383 |
+
jQuery("#acx_csma_email").hide();
|
384 |
+
jQuery("#acx_csma_submit").hide();
|
385 |
+
jQuery("#acx_csma_error").show();
|
386 |
+
jQuery("#acx_csma_error").html("<?php echo $acx_email_singular; ?>");
|
387 |
+
setTimeout(function()
|
388 |
+
{
|
389 |
+
jQuery("#acx_csma_error").html('');
|
390 |
+
jQuery("#acx_csma_error").hide();
|
391 |
+
jQuery("#acx_csma_email").show();
|
392 |
+
jQuery("#acx_csma_submit").show();
|
393 |
+
//acx_csma_form_status=1;
|
394 |
+
|
395 |
+
}, 3000);
|
396 |
+
|
397 |
+
}
|
398 |
+
});
|
399 |
+
}
|
400 |
+
<?php
|
401 |
+
}
|
402 |
+
else
|
403 |
+
{
|
404 |
+
?>
|
405 |
var acx_csma_name_hidden=document.getElementById('acx_csma_name_hidden').value;
|
406 |
if(acx_csma_form_status== 1)
|
407 |
{
|
408 |
if(acx_csma_name_hidden=="")
|
409 |
{
|
410 |
+
alert('<?php echo $acx_name_val_singular; ?>');
|
411 |
acx_csma_form_status=1;
|
412 |
return false;
|
413 |
}
|
426 |
var expr = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
|
427 |
if (acx_csma_email=='')
|
428 |
{
|
429 |
+
alert('<?php echo $acx_email_val_singular; ?>');
|
430 |
return false;
|
431 |
}
|
432 |
else if (!expr.test(acx_csma_email))
|
484 |
document.getElementById('acx_csma_name_hidden').value="";
|
485 |
jQuery("#acx_csma_email").hide();
|
486 |
jQuery("#acx_csma_submit").hide();
|
487 |
+
jQuery("#acx_csma_error").show();
|
488 |
+
jQuery("#acx_csma_error").html("<?php echo $acx_email_singular; ?>");
|
489 |
setTimeout(function()
|
490 |
{
|
491 |
jQuery("#acx_csma_error").html('');
|
500 |
}
|
501 |
});
|
502 |
}
|
503 |
+
|
504 |
+
}<?php
|
505 |
}
|
506 |
+
?>
|
507 |
}
|
508 |
<?php
|
509 |
}
|
templates/2/style.css
CHANGED
@@ -229,7 +229,6 @@ form
|
|
229 |
}
|
230 |
.footer p
|
231 |
{
|
232 |
-
color: #ffffff;
|
233 |
margin: 0 0 4px;
|
234 |
text-transform: uppercase;
|
235 |
}
|
@@ -346,4 +345,13 @@ media query
|
|
346 |
{
|
347 |
margin: 0;
|
348 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
349 |
}
|
229 |
}
|
230 |
.footer p
|
231 |
{
|
|
|
232 |
margin: 0 0 4px;
|
233 |
text-transform: uppercase;
|
234 |
}
|
345 |
{
|
346 |
margin: 0;
|
347 |
}
|
348 |
+
}
|
349 |
+
#acx_csma_success ,#acx_csma_invalid ,#acx_csma_error
|
350 |
+
{
|
351 |
+
background: #fff none repeat scroll 0 0;
|
352 |
+
padding: 10px 5px;
|
353 |
+
text-align: center;
|
354 |
+
border-radius: 4px;
|
355 |
+
max-width:400px;
|
356 |
+
margin:0 auto;
|
357 |
}
|
templates/3/index.php
CHANGED
@@ -204,6 +204,7 @@ else
|
|
204 |
$acx_csma_show_subscription3 = $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_show_subscription3'];
|
205 |
if($acx_csma_show_subscription3 == 1)
|
206 |
{
|
|
|
207 |
$acx_csma_subscribe_title3 = $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_title3'];
|
208 |
$acx_csma_subscribe_title3 = acx_csma_text_after_save_hook_fn($acx_csma_subscribe_title3);
|
209 |
$acx_csma_subscribe_success3 = $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_success3'];
|
@@ -212,16 +213,32 @@ else
|
|
212 |
$acx_csma_subscribe_invalid3 = acx_csma_text_after_save_hook_fn($acx_csma_subscribe_invalid3);
|
213 |
$acx_subs_next_arr=acx_csma_disp_var_to_show("next");
|
214 |
$acx_next_singular=$acx_subs_next_arr['singular'];
|
|
|
|
|
|
|
|
|
215 |
?>
|
216 |
<h4 style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_title_color3']; ?>"><?php echo $acx_csma_subscribe_title3; ?></h4>
|
217 |
|
218 |
-
<form name="acx_csma_form" method="post" action="<?php echo str_replace( '%7E', '~',$_SERVER['REQUEST_URI']); ?>">
|
219 |
-
<div id="acx_csma_success" name="acx_csma_success" style="display:none;
|
220 |
-
<div id="acx_csma_invalid" name="acx_csma_invalid" style="display:none;
|
221 |
-
<div id="acx_csma_error" style="
|
222 |
-
|
223 |
-
|
224 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
</form>
|
226 |
<?php
|
227 |
}
|
@@ -311,7 +328,7 @@ else
|
|
311 |
<div id="acx_timer_heading" style="<?php echo $acx_class; ?>"><h3 style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_inside_title_color3']; ?>"><?php echo $acx_csma_inside_title3; ?></h3></div>
|
312 |
<div class="timer_box days">
|
313 |
<ul>
|
314 |
-
<li id="days" style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_iptext_color3']; ?>">000 </li><li id="acx_day_disp" class="day_text" style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_head_color3']; ?>"><?php echo $acx_day_singular; ?></li>
|
315 |
</ul>
|
316 |
</div><!-- timer_box -->
|
317 |
<div class="timer_box">
|
@@ -319,21 +336,21 @@ else
|
|
319 |
<li id="hours_0">0</li>
|
320 |
<li id="hours_1">0</li>
|
321 |
</ul>
|
322 |
-
<p id="acx_hour_disp" style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_head_color3']; ?>"><?php echo $acx_hour_singular; ?></p>
|
323 |
</div><!-- timer_box -->
|
324 |
<div class="timer_box">
|
325 |
<ul style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_iptext_color3']; ?>">
|
326 |
<li id="minutes_0">0</li>
|
327 |
<li id="minutes_1">0</li>
|
328 |
</ul>
|
329 |
-
<p id="acx_min_disp" style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_head_color3']; ?>"><?php echo $acx_minute_singular; ?></p>
|
330 |
</div><!-- timer_box -->
|
331 |
<div class="timer_box last_one">
|
332 |
<ul style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_iptext_color3']; ?>">
|
333 |
<li id="seconds_0">0</li>
|
334 |
<li id="seconds_1">0</li>
|
335 |
</ul>
|
336 |
-
<p id="acx_sec_disp" style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_head_color3']; ?>"><?php echo $acx_sec_singular; ?></p>
|
337 |
</div><!-- timer_box -->
|
338 |
|
339 |
<div class="clearfix" style="clear:both;"></div>
|
@@ -355,7 +372,9 @@ else
|
|
355 |
$acx_csma_desc_title3 = $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_desc_title3'];
|
356 |
$acx_csma_desc_title3 = acx_csma_text_after_save_hook_fn($acx_csma_desc_title3);
|
357 |
echo $acx_csma_desc_title3; ?></h5>
|
358 |
-
|
|
|
|
|
359 |
$acx_csma_desc_subtitle3 = $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_desc_subtitle3'];
|
360 |
$acx_csma_desc_subtitle3 = acx_csma_textarea_after_save_hook_function($acx_csma_desc_subtitle3);
|
361 |
echo $acx_csma_desc_subtitle3; ?></p>
|
@@ -408,58 +427,45 @@ return false;
|
|
408 |
<?php
|
409 |
if($acx_csma_show_subscription3 == 1)
|
410 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
411 |
?>
|
412 |
var acx_csma_form_status=1;
|
413 |
function acx_csma_validate_email()
|
414 |
{
|
415 |
-
|
416 |
-
if(
|
417 |
-
{
|
418 |
-
|
419 |
-
|
420 |
-
alert('ERROR : Please Enter Your Name !');
|
421 |
-
acx_csma_form_status=1;
|
422 |
-
return false;
|
423 |
-
}
|
424 |
-
else{
|
425 |
-
document.getElementById('acx_csma_name_hidden').type = 'hidden';
|
426 |
-
document.getElementById('acx_csma_email').type = 'email';
|
427 |
-
jQuery("#acx_csma_email").show();
|
428 |
-
document.getElementById('acx_csma_submit').value="<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_btn_text3']; ?>";
|
429 |
-
acx_csma_form_status=2;
|
430 |
-
return false;
|
431 |
-
}
|
432 |
-
}
|
433 |
-
else if(acx_csma_form_status==2)
|
434 |
-
{
|
435 |
-
var acx_csma_email = document.getElementById('acx_csma_email').value;
|
436 |
var expr = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
|
437 |
if (acx_csma_email=='')
|
438 |
{
|
439 |
-
|
440 |
return false;
|
441 |
}
|
442 |
else if (!expr.test(acx_csma_email))
|
443 |
{
|
444 |
document.getElementById('acx_csma_email').value="";
|
445 |
-
|
446 |
jQuery("#acx_csma_email").hide();
|
447 |
jQuery("#acx_csma_submit").hide();
|
448 |
-
jQuery("#acx_csma_invalid").show();
|
449 |
setTimeout(function()
|
450 |
{
|
451 |
-
jQuery("#acx_csma_invalid").hide();
|
452 |
-
|
453 |
-
|
454 |
-
jQuery("#acx_csma_submit").show();
|
455 |
-
acx_csma_form_status=1;
|
456 |
-
|
457 |
}, 3000);
|
458 |
|
459 |
|
460 |
return false;
|
461 |
}
|
462 |
-
|
463 |
{
|
464 |
var acx_load="<div id='acx_csma_loading'><div class='load_1'></div></div>";
|
465 |
jQuery('body').append(acx_load);
|
@@ -467,49 +473,151 @@ function acx_csma_validate_email()
|
|
467 |
var timestamp = Math.floor(<?php echo current_time('timestamp'); ?>);
|
468 |
var ip="<?php echo $_SERVER['REMOTE_ADDR']; ?>";
|
469 |
var acx_csma_ajaxurl ="<?php echo admin_url('admin-ajax.php'); ?>";
|
470 |
-
var order = '
|
471 |
jQuery.post(acx_csma_ajaxurl, order, function(theResponse)
|
472 |
{
|
473 |
jQuery("#acx_csma_loading").remove();
|
474 |
if(theResponse == "success")
|
475 |
{
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
480 |
|
481 |
-
|
482 |
-
setTimeout(function()
|
483 |
-
{
|
484 |
-
jQuery("#acx_csma_success").hide();
|
485 |
-
document.getElementById('acx_csma_name_hidden').type = 'text';
|
486 |
-
document.getElementById('acx_csma_submit').value="<?php echo $acx_next_singular; ?>";
|
487 |
-
jQuery("#acx_csma_submit").show();
|
488 |
-
acx_csma_form_status=1;
|
489 |
-
|
490 |
-
}, 3000);
|
491 |
}
|
492 |
else{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
493 |
document.getElementById('acx_csma_email').value="";
|
494 |
document.getElementById('acx_csma_name_hidden').value="";
|
495 |
jQuery("#acx_csma_email").hide();
|
496 |
jQuery("#acx_csma_submit").hide();
|
497 |
-
jQuery("#
|
498 |
setTimeout(function()
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
acx_csma_form_status=1;
|
506 |
-
|
507 |
-
}, 3000);
|
508 |
|
509 |
-
|
510 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
511 |
}
|
|
|
512 |
}
|
|
|
513 |
}
|
514 |
<?php
|
515 |
}
|
204 |
$acx_csma_show_subscription3 = $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_show_subscription3'];
|
205 |
if($acx_csma_show_subscription3 == 1)
|
206 |
{
|
207 |
+
$acx_csma_show_subscription_name3 = $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_show_subscription_name3'];
|
208 |
$acx_csma_subscribe_title3 = $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_title3'];
|
209 |
$acx_csma_subscribe_title3 = acx_csma_text_after_save_hook_fn($acx_csma_subscribe_title3);
|
210 |
$acx_csma_subscribe_success3 = $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_success3'];
|
213 |
$acx_csma_subscribe_invalid3 = acx_csma_text_after_save_hook_fn($acx_csma_subscribe_invalid3);
|
214 |
$acx_subs_next_arr=acx_csma_disp_var_to_show("next");
|
215 |
$acx_next_singular=$acx_subs_next_arr['singular'];
|
216 |
+
$acx_subs_name_arr=acx_csma_disp_var_to_show("Subscription Name Placeholder");
|
217 |
+
$acx_s_name_singular=$acx_subs_name_arr['singular'];
|
218 |
+
$acx_subs_email_arr=acx_csma_disp_var_to_show("Subscription Email Placeholder");
|
219 |
+
$acx_s_email_singular=$acx_subs_email_arr['singular'];
|
220 |
?>
|
221 |
<h4 style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_title_color3']; ?>"><?php echo $acx_csma_subscribe_title3; ?></h4>
|
222 |
|
223 |
+
<form name="acx_csma_form" method="post" action="<?php echo esc_url(str_replace( '%7E', '~',$_SERVER['REQUEST_URI'])); ?>">
|
224 |
+
<div id="acx_csma_success" name="acx_csma_success" style="display:none;" ><?php echo $acx_csma_subscribe_success3; ?></div>
|
225 |
+
<div id="acx_csma_invalid" name="acx_csma_invalid" style="display:none;" ><?php echo $acx_csma_subscribe_invalid3; ?></div>
|
226 |
+
<div id="acx_csma_error" style="display:none;"></div>
|
227 |
+
<?php
|
228 |
+
if($acx_csma_show_subscription_name3 == 0)
|
229 |
+
{
|
230 |
+
?>
|
231 |
+
|
232 |
+
<input type="text" id="acx_csma_email" name="email" placeholder="<?php echo acx_csma_option_text_after_save_hook_fn($acx_s_email_singular); ?>"><br/>
|
233 |
+
<input type="button" value="<?php echo acx_csma_option_text_after_save_hook_fn($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_btn_text3']); ?>" id="acx_csma_submit" onclick="acx_csma_validate_email();" class="submit">
|
234 |
+
<?php }
|
235 |
+
else if($acx_csma_show_subscription_name3 == 1){ ?>
|
236 |
+
<input type="text" id="acx_csma_name_hidden" name="acx_csma_name_hidden" value="" placeholder="<?php echo acx_csma_option_text_after_save_hook_fn($acx_s_name_singular); ?>"/>
|
237 |
+
<input type="hidden" id="acx_csma_email" name="email" placeholder="<?php echo acx_csma_option_text_after_save_hook_fn($acx_s_email_singular); ?>"><br/>
|
238 |
+
<input type="button" value="<?php echo acx_csma_option_text_after_save_hook_fn($acx_next_singular); ?>" id="acx_csma_submit" onclick="acx_csma_validate_email();" class="submit">
|
239 |
+
<?php
|
240 |
+
}
|
241 |
+
?>
|
242 |
</form>
|
243 |
<?php
|
244 |
}
|
328 |
<div id="acx_timer_heading" style="<?php echo $acx_class; ?>"><h3 style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_inside_title_color3']; ?>"><?php echo $acx_csma_inside_title3; ?></h3></div>
|
329 |
<div class="timer_box days">
|
330 |
<ul>
|
331 |
+
<li id="days" style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_iptext_color3']; ?>">000 </li><li id="acx_day_disp" class="day_text" style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_head_color3']; ?>"><?php echo acx_csma_text_after_save_hook_fn($acx_day_singular); ?></li>
|
332 |
</ul>
|
333 |
</div><!-- timer_box -->
|
334 |
<div class="timer_box">
|
336 |
<li id="hours_0">0</li>
|
337 |
<li id="hours_1">0</li>
|
338 |
</ul>
|
339 |
+
<p id="acx_hour_disp" style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_head_color3']; ?>"><?php echo acx_csma_text_after_save_hook_fn($acx_hour_singular); ?></p>
|
340 |
</div><!-- timer_box -->
|
341 |
<div class="timer_box">
|
342 |
<ul style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_iptext_color3']; ?>">
|
343 |
<li id="minutes_0">0</li>
|
344 |
<li id="minutes_1">0</li>
|
345 |
</ul>
|
346 |
+
<p id="acx_min_disp" style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_head_color3']; ?>"><?php echo acx_csma_text_after_save_hook_fn($acx_minute_singular); ?></p>
|
347 |
</div><!-- timer_box -->
|
348 |
<div class="timer_box last_one">
|
349 |
<ul style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_iptext_color3']; ?>">
|
350 |
<li id="seconds_0">0</li>
|
351 |
<li id="seconds_1">0</li>
|
352 |
</ul>
|
353 |
+
<p id="acx_sec_disp" style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_head_color3']; ?>"><?php echo acx_csma_text_after_save_hook_fn($acx_sec_singular); ?></p>
|
354 |
</div><!-- timer_box -->
|
355 |
|
356 |
<div class="clearfix" style="clear:both;"></div>
|
372 |
$acx_csma_desc_title3 = $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_desc_title3'];
|
373 |
$acx_csma_desc_title3 = acx_csma_text_after_save_hook_fn($acx_csma_desc_title3);
|
374 |
echo $acx_csma_desc_title3; ?></h5>
|
375 |
+
<?php $acx_csma_desc_content_color3 = $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_desc_content_color3'];
|
376 |
+
?>
|
377 |
+
<p style="color:<?php echo $acx_csma_desc_content_color3 ;?>;"> <?php
|
378 |
$acx_csma_desc_subtitle3 = $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_desc_subtitle3'];
|
379 |
$acx_csma_desc_subtitle3 = acx_csma_textarea_after_save_hook_function($acx_csma_desc_subtitle3);
|
380 |
echo $acx_csma_desc_subtitle3; ?></p>
|
427 |
<?php
|
428 |
if($acx_csma_show_subscription3 == 1)
|
429 |
{
|
430 |
+
$acx_csma_show_subscription_name3 = $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_show_subscription_name3'];
|
431 |
+
$acx_name_val_arr=acx_csma_disp_var_to_show("Subscription Name Error Message");
|
432 |
+
$acx_name_val_singular=$acx_name_val_arr['singular'];
|
433 |
+
$acx_email_val_arr=acx_csma_disp_var_to_show("Subscription Email Error Message");
|
434 |
+
$acx_email_val_singular=$acx_email_val_arr['singular'];
|
435 |
+
$acx_subs_next_arr=acx_csma_disp_var_to_show("next");
|
436 |
+
$acx_next_singular=$acx_subs_next_arr['singular'];
|
437 |
?>
|
438 |
var acx_csma_form_status=1;
|
439 |
function acx_csma_validate_email()
|
440 |
{
|
441 |
+
<?php
|
442 |
+
if($acx_csma_show_subscription_name3 == 0)
|
443 |
+
{?>
|
444 |
+
|
445 |
+
var acx_csma_email = document.getElementById('acx_csma_email').value;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
446 |
var expr = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
|
447 |
if (acx_csma_email=='')
|
448 |
{
|
449 |
+
alert('<?php echo $acx_email_val_singular; ?>');
|
450 |
return false;
|
451 |
}
|
452 |
else if (!expr.test(acx_csma_email))
|
453 |
{
|
454 |
document.getElementById('acx_csma_email').value="";
|
455 |
+
jQuery("#acx_csma_invalid").show();
|
456 |
jQuery("#acx_csma_email").hide();
|
457 |
jQuery("#acx_csma_submit").hide();
|
|
|
458 |
setTimeout(function()
|
459 |
{
|
460 |
+
jQuery("#acx_csma_invalid").hide();
|
461 |
+
jQuery("#acx_csma_email").show();
|
462 |
+
jQuery("#acx_csma_submit").show();
|
|
|
|
|
|
|
463 |
}, 3000);
|
464 |
|
465 |
|
466 |
return false;
|
467 |
}
|
468 |
+
else
|
469 |
{
|
470 |
var acx_load="<div id='acx_csma_loading'><div class='load_1'></div></div>";
|
471 |
jQuery('body').append(acx_load);
|
473 |
var timestamp = Math.floor(<?php echo current_time('timestamp'); ?>);
|
474 |
var ip="<?php echo $_SERVER['REMOTE_ADDR']; ?>";
|
475 |
var acx_csma_ajaxurl ="<?php echo admin_url('admin-ajax.php'); ?>";
|
476 |
+
var order = '&email='+acx_csma_email+'&ip='+ip+'×tamp='+timestamp+'&action=acx_csma_subscribe_email'+'&acx_csma_subscribe_es=<?php echo wp_create_nonce('acx_csma_subscribe_es'); ?>';
|
477 |
jQuery.post(acx_csma_ajaxurl, order, function(theResponse)
|
478 |
{
|
479 |
jQuery("#acx_csma_loading").remove();
|
480 |
if(theResponse == "success")
|
481 |
{
|
482 |
+
document.getElementById('acx_csma_email').value="";
|
483 |
+
jQuery("#acx_csma_success").show();
|
484 |
+
jQuery("#acx_csma_email").hide();
|
485 |
+
jQuery("#acx_csma_submit").hide();
|
486 |
+
setTimeout(function()
|
487 |
+
{
|
488 |
+
jQuery("#acx_csma_success").hide();
|
489 |
+
jQuery("#acx_csma_email").show();
|
490 |
+
jQuery("#acx_csma_submit").show();
|
491 |
+
// acx_csma_form_status=1;
|
492 |
|
493 |
+
}, 3000);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
494 |
}
|
495 |
else{
|
496 |
+
document.getElementById('acx_csma_email').value="";
|
497 |
+
jQuery("#acx_csma_email").hide();
|
498 |
+
jQuery("#acx_csma_submit").hide();
|
499 |
+
jQuery("#acx_csma_error").show();
|
500 |
+
jQuery("#acx_csma_error").html("<?php echo $acx_email_singular; ?>");
|
501 |
+
setTimeout(function()
|
502 |
+
{
|
503 |
+
jQuery("#acx_csma_error").html('');
|
504 |
+
jQuery("#acx_csma_error").hide();
|
505 |
+
jQuery("#acx_csma_email").show();
|
506 |
+
jQuery("#acx_csma_submit").show();
|
507 |
+
//acx_csma_form_status=1;
|
508 |
+
|
509 |
+
}, 3000);
|
510 |
+
|
511 |
+
}
|
512 |
+
});
|
513 |
+
}
|
514 |
+
<?php
|
515 |
+
}
|
516 |
+
else
|
517 |
+
{
|
518 |
+
?>
|
519 |
+
var acx_csma_name_hidden=document.getElementById('acx_csma_name_hidden').value;
|
520 |
+
if(acx_csma_form_status== 1)
|
521 |
+
{
|
522 |
+
if(acx_csma_name_hidden=="")
|
523 |
+
{
|
524 |
+
alert('<?php echo $acx_name_val_singular; ?>');
|
525 |
+
acx_csma_form_status=1;
|
526 |
+
return false;
|
527 |
+
}
|
528 |
+
else{
|
529 |
+
document.getElementById('acx_csma_name_hidden').type = 'hidden';
|
530 |
+
document.getElementById('acx_csma_email').type = 'email';
|
531 |
+
jQuery("#acx_csma_email").show();
|
532 |
+
document.getElementById('acx_csma_submit').value="<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_btn_text3']; ?>";
|
533 |
+
acx_csma_form_status=2;
|
534 |
+
return false;
|
535 |
+
}
|
536 |
+
}
|
537 |
+
else if(acx_csma_form_status==2)
|
538 |
+
{
|
539 |
+
var acx_csma_email = document.getElementById('acx_csma_email').value;
|
540 |
+
var expr = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
|
541 |
+
if (acx_csma_email=='')
|
542 |
+
{
|
543 |
+
alert('<?php echo $acx_email_val_singular; ?>');
|
544 |
+
return false;
|
545 |
+
}
|
546 |
+
else if (!expr.test(acx_csma_email))
|
547 |
+
{
|
548 |
document.getElementById('acx_csma_email').value="";
|
549 |
document.getElementById('acx_csma_name_hidden').value="";
|
550 |
jQuery("#acx_csma_email").hide();
|
551 |
jQuery("#acx_csma_submit").hide();
|
552 |
+
jQuery("#acx_csma_invalid").show();
|
553 |
setTimeout(function()
|
554 |
+
{
|
555 |
+
jQuery("#acx_csma_invalid").hide();
|
556 |
+
document.getElementById('acx_csma_name_hidden').type = 'text';
|
557 |
+
document.getElementById('acx_csma_submit').value="<?php echo $acx_next_singular; ?>";
|
558 |
+
jQuery("#acx_csma_submit").show();
|
559 |
+
acx_csma_form_status=1;
|
|
|
|
|
|
|
560 |
|
561 |
+
}, 3000);
|
562 |
+
|
563 |
+
|
564 |
+
return false;
|
565 |
+
}
|
566 |
+
else
|
567 |
+
{
|
568 |
+
var acx_load="<div id='acx_csma_loading'><div class='load_1'></div></div>";
|
569 |
+
jQuery('body').append(acx_load);
|
570 |
+
|
571 |
+
var timestamp = Math.floor(<?php echo current_time('timestamp'); ?>);
|
572 |
+
var ip="<?php echo $_SERVER['REMOTE_ADDR']; ?>";
|
573 |
+
var acx_csma_ajaxurl ="<?php echo admin_url('admin-ajax.php'); ?>";
|
574 |
+
var order = 'name='+acx_csma_name_hidden+'&email='+acx_csma_email+'&ip='+ip+'×tamp='+timestamp+'&action=acx_csma_subscribe_email'+'&acx_csma_subscribe_es=<?php echo wp_create_nonce('acx_csma_subscribe_es'); ?>';
|
575 |
+
jQuery.post(acx_csma_ajaxurl, order, function(theResponse)
|
576 |
+
{
|
577 |
+
jQuery("#acx_csma_loading").remove();
|
578 |
+
if(theResponse == "success")
|
579 |
+
{
|
580 |
+
document.getElementById('acx_csma_email').value="";
|
581 |
+
document.getElementById('acx_csma_name_hidden').value="";
|
582 |
+
jQuery("#acx_csma_email").hide();
|
583 |
+
jQuery("#acx_csma_submit").hide();
|
584 |
+
|
585 |
+
jQuery("#acx_csma_success").show();
|
586 |
+
setTimeout(function()
|
587 |
+
{
|
588 |
+
jQuery("#acx_csma_success").hide();
|
589 |
+
document.getElementById('acx_csma_name_hidden').type = 'text';
|
590 |
+
document.getElementById('acx_csma_submit').value="<?php echo $acx_next_singular; ?>";
|
591 |
+
jQuery("#acx_csma_submit").show();
|
592 |
+
acx_csma_form_status=1;
|
593 |
+
|
594 |
+
}, 3000);
|
595 |
+
}
|
596 |
+
else{
|
597 |
+
document.getElementById('acx_csma_email').value="";
|
598 |
+
document.getElementById('acx_csma_name_hidden').value="";
|
599 |
+
jQuery("#acx_csma_email").hide();
|
600 |
+
jQuery("#acx_csma_submit").hide();
|
601 |
+
jQuery("#acx_csma_error").show();
|
602 |
+
jQuery("#acx_csma_error").html("Email Already Exists !!");
|
603 |
+
setTimeout(function()
|
604 |
+
{
|
605 |
+
jQuery("#acx_csma_error").html('');
|
606 |
+
jQuery("#acx_csma_error").hide();
|
607 |
+
document.getElementById('acx_csma_name_hidden').type = 'text';
|
608 |
+
document.getElementById('acx_csma_submit').value="<?php echo $acx_next_singular; ?>";
|
609 |
+
jQuery("#acx_csma_submit").show();
|
610 |
+
acx_csma_form_status=1;
|
611 |
+
|
612 |
+
}, 3000);
|
613 |
+
|
614 |
+
}
|
615 |
+
});
|
616 |
+
}
|
617 |
}
|
618 |
+
<?php
|
619 |
}
|
620 |
+
?>
|
621 |
}
|
622 |
<?php
|
623 |
}
|
templates/3/style.css
CHANGED
@@ -365,7 +365,7 @@ media query
|
|
365 |
}
|
366 |
.timer_holder
|
367 |
{
|
368 |
-
background: #fe7e01;
|
369 |
margin: 0;
|
370 |
max-width: none;
|
371 |
padding: 5%;
|
@@ -410,4 +410,13 @@ media query
|
|
410 |
{
|
411 |
margin: 20px 0 0;
|
412 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
413 |
}
|
365 |
}
|
366 |
.timer_holder
|
367 |
{
|
368 |
+
/* background: #fe7e01; */
|
369 |
margin: 0;
|
370 |
max-width: none;
|
371 |
padding: 5%;
|
410 |
{
|
411 |
margin: 20px 0 0;
|
412 |
}
|
413 |
+
}
|
414 |
+
#acx_csma_success ,#acx_csma_invalid ,#acx_csma_error
|
415 |
+
{
|
416 |
+
background: #fff none repeat scroll 0 0;
|
417 |
+
padding: 10px 5px;
|
418 |
+
text-align: center;
|
419 |
+
border-radius: 4px;
|
420 |
+
max-width:400px;
|
421 |
+
margin:0 auto;
|
422 |
}
|
templates/4/index.php
CHANGED
@@ -43,6 +43,16 @@ if($acx_csma_meta_keywords!="")
|
|
43 |
?>
|
44 |
<style>
|
45 |
<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_custom_css_temp4']; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
</style>
|
47 |
<link href="<?php echo plugins_url('style.css', __FILE__); ?>" rel="stylesheet" type="text/css" />
|
48 |
<link rel="icon" href="<?php echo esc_url($acx_csma_favicon); ?>" type="image/png">
|
@@ -149,7 +159,7 @@ else
|
|
149 |
</ul>
|
150 |
</div><!-- timer_box -->
|
151 |
<div class="timer_box days">
|
152 |
-
<p id="acx_day_disp"><?php echo $acx_day_singular; ?></p>
|
153 |
<ul>
|
154 |
<li id="days_0" style="color:<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_timer_iptext_color4']; ?>"><span style="display:block;" class="animated">0</span></li>
|
155 |
<!-- li id="days_1" style="color:<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_timer_iptext_color4']; ?>">0</li>
|
@@ -157,21 +167,21 @@ else
|
|
157 |
</ul>
|
158 |
</div><!-- timer_box -->
|
159 |
<div class="timer_box">
|
160 |
-
<p id="acx_hour_disp"><?php echo $acx_hour_singular; ?></p>
|
161 |
<ul>
|
162 |
<li id="hours_0" style="color:<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_timer_iptext_color4']; ?>"><span style="display:block;" class="animated">0</span></li>
|
163 |
<li id="hours_1" style="color:<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_timer_iptext_color4']; ?>"><span style="display:block;" class="animated">0</span></li>
|
164 |
</ul>
|
165 |
</div><!-- timer_box -->
|
166 |
<div class="timer_box days">
|
167 |
-
<p id="acx_min_disp"><?php echo $acx_minute_singular; ?></p>
|
168 |
<ul>
|
169 |
<li id="minutes_0" style="color:<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_timer_iptext_color4']; ?>"><span style="display:block;" class="animated">0</span></li>
|
170 |
<li id="minutes_1" style="color:<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_timer_iptext_color4']; ?>"><span style="display:block;" class="animated">0</span></li>
|
171 |
</ul>
|
172 |
</div><!-- timer_box -->
|
173 |
<div class="timer_box last_one">
|
174 |
-
<p id="acx_sec_disp"><?php echo $acx_sec_singular; ?></p>
|
175 |
<ul>
|
176 |
<li id="seconds_0" style="color:<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_timer_iptext_color4']; ?>"><span style="display:block;" class="animated">0</span></li>
|
177 |
<li id="seconds_1" style="color:<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_timer_iptext_color4']; ?>"><span style="display:block;" class="animated">0</span></li>
|
@@ -182,9 +192,9 @@ else
|
|
182 |
<?php if($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_show_progressbar4']== 1)
|
183 |
{?>
|
184 |
<div class="pre_loader" style="border: 1px solid <?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_progress_bar_color4']; ?>">
|
185 |
-
<div class="pre_loader_inside" id="pre_loader_inside" style="background
|
186 |
</div><!-- pre_loader_inside -->
|
187 |
-
<div class="pre_loader_text" id="pre_loader_text" style=" z-index:10px;top: 0; left: 0; width: 100%; height: 100%; color:
|
188 |
</div><!-- pre_loader -->
|
189 |
<?php }?>
|
190 |
|
@@ -194,10 +204,61 @@ else
|
|
194 |
<div class="acx_csma_content_div acx_csma_bottom acx_csma_bottom_4" id="acx_csma_top_1">
|
195 |
<?php echo $acx_csma_custom_html_bottom_temp4 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_bottom_temp4); ?>
|
196 |
</div>
|
197 |
-
<?php }
|
198 |
|
199 |
|
200 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
<div class="scmi">
|
202 |
<ul>
|
203 |
<?php if($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_fb_link4']!="")
|
@@ -225,7 +286,221 @@ else
|
|
225 |
</div><!-- wrapper -->
|
226 |
|
227 |
<script>
|
228 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
if($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_show_progressbar4']==1)
|
230 |
{
|
231 |
if($acx_csma_timestamp < $acx_csma_date_time)
|
43 |
?>
|
44 |
<style>
|
45 |
<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_custom_css_temp4']; ?>
|
46 |
+
.acx_csma_subs_heading h1 {
|
47 |
+
color: <?php echo $acx_csma_subscription_title_color4 = $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_subscription_title_color4'];?>;
|
48 |
+
}
|
49 |
+
.acx_csma_subscript_cvr #acx_csma_submit {
|
50 |
+
background-color: <?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_subscription_btn_bg_color4'];?>;
|
51 |
+
color: <?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_subscription_btn_color4']; ?>;
|
52 |
+
}
|
53 |
+
|
54 |
+
|
55 |
+
|
56 |
</style>
|
57 |
<link href="<?php echo plugins_url('style.css', __FILE__); ?>" rel="stylesheet" type="text/css" />
|
58 |
<link rel="icon" href="<?php echo esc_url($acx_csma_favicon); ?>" type="image/png">
|
159 |
</ul>
|
160 |
</div><!-- timer_box -->
|
161 |
<div class="timer_box days">
|
162 |
+
<p id="acx_day_disp"><?php echo acx_csma_text_after_save_hook_fn($acx_day_singular); ?></p>
|
163 |
<ul>
|
164 |
<li id="days_0" style="color:<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_timer_iptext_color4']; ?>"><span style="display:block;" class="animated">0</span></li>
|
165 |
<!-- li id="days_1" style="color:<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_timer_iptext_color4']; ?>">0</li>
|
167 |
</ul>
|
168 |
</div><!-- timer_box -->
|
169 |
<div class="timer_box">
|
170 |
+
<p id="acx_hour_disp"><?php echo acx_csma_text_after_save_hook_fn($acx_hour_singular); ?></p>
|
171 |
<ul>
|
172 |
<li id="hours_0" style="color:<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_timer_iptext_color4']; ?>"><span style="display:block;" class="animated">0</span></li>
|
173 |
<li id="hours_1" style="color:<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_timer_iptext_color4']; ?>"><span style="display:block;" class="animated">0</span></li>
|
174 |
</ul>
|
175 |
</div><!-- timer_box -->
|
176 |
<div class="timer_box days">
|
177 |
+
<p id="acx_min_disp"><?php echo acx_csma_text_after_save_hook_fn($acx_minute_singular); ?></p>
|
178 |
<ul>
|
179 |
<li id="minutes_0" style="color:<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_timer_iptext_color4']; ?>"><span style="display:block;" class="animated">0</span></li>
|
180 |
<li id="minutes_1" style="color:<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_timer_iptext_color4']; ?>"><span style="display:block;" class="animated">0</span></li>
|
181 |
</ul>
|
182 |
</div><!-- timer_box -->
|
183 |
<div class="timer_box last_one">
|
184 |
+
<p id="acx_sec_disp"><?php echo acx_csma_text_after_save_hook_fn($acx_sec_singular); ?></p>
|
185 |
<ul>
|
186 |
<li id="seconds_0" style="color:<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_timer_iptext_color4']; ?>"><span style="display:block;" class="animated">0</span></li>
|
187 |
<li id="seconds_1" style="color:<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_timer_iptext_color4']; ?>"><span style="display:block;" class="animated">0</span></li>
|
192 |
<?php if($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_show_progressbar4']== 1)
|
193 |
{?>
|
194 |
<div class="pre_loader" style="border: 1px solid <?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_progress_bar_color4']; ?>">
|
195 |
+
<div class="pre_loader_inside" id="pre_loader_inside" style="background:<?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_progress_bar_bg_color4']; ?>;position:absolute;top: 0; left: 0; width:0%; height:inherit;">
|
196 |
</div><!-- pre_loader_inside -->
|
197 |
+
<div class="pre_loader_text" id="pre_loader_text" style=" z-index:10px;top: 0; left: 0; width: 100%; height: 100%; color: <?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_progress_bar_text_color4']; ?>; font-weight: bold; text-align: center;position:absolute;">0%</div><!-- pre_loader_text -->
|
198 |
</div><!-- pre_loader -->
|
199 |
<?php }?>
|
200 |
|
204 |
<div class="acx_csma_content_div acx_csma_bottom acx_csma_bottom_4" id="acx_csma_top_1">
|
205 |
<?php echo $acx_csma_custom_html_bottom_temp4 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_bottom_temp4); ?>
|
206 |
</div>
|
207 |
+
<?php }
|
208 |
|
209 |
|
210 |
+
$acx_csma_show_subscription4=$acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_show_subscription4'];
|
211 |
+
if($acx_csma_show_subscription4 == 1)
|
212 |
+
{
|
213 |
+
$acx_csma_subscription_title4 = $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_subscription_title4'];
|
214 |
+
$acx_csma_subscription_title4 = acx_csma_text_after_save_hook_fn($acx_csma_subscription_title4);
|
215 |
+
$acx_subs_next_arr=acx_csma_disp_var_to_show("next");
|
216 |
+
$acx_next_singular=$acx_subs_next_arr['singular'];
|
217 |
+
$acx_subs_name_arr=acx_csma_disp_var_to_show("Subscription Name Placeholder");
|
218 |
+
$acx_s_name_singular=$acx_subs_name_arr['singular'];
|
219 |
+
$acx_subs_email_arr=acx_csma_disp_var_to_show("Subscription Email Placeholder");
|
220 |
+
$acx_s_email_singular=$acx_subs_email_arr['singular'];
|
221 |
+
$acx_csma_subscribe_success4 = $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_subscribe_success4'];
|
222 |
+
$acx_csma_subscribe_success4 = acx_csma_text_after_save_hook_fn($acx_csma_subscribe_success4);
|
223 |
+
$acx_csma_subscribe_invalid4 = $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_subscribe_invalid4'];
|
224 |
+
$acx_csma_subscribe_invalid4 = acx_csma_text_after_save_hook_fn($acx_csma_subscribe_invalid4);
|
225 |
+
$acx_csma_show_subscription_name4 = $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_show_subscription_name4'];
|
226 |
+
?>
|
227 |
+
|
228 |
+
<div class="acx_csma_subscript_cvr">
|
229 |
+
<div class="acx_csma_subs_heading"><h1><?php echo $acx_csma_subscription_title4; ?></h1></div>
|
230 |
+
<form name="acx_csma_form" method="post" action="<?php echo esc_url(str_replace( '%7E', '~',$_SERVER['REQUEST_URI'])); ?>">
|
231 |
+
<div id="acx_csma_success" name="acx_csma_success" style="display:none;" ><?php echo $acx_csma_subscribe_success4; ?></div>
|
232 |
+
<div id="acx_csma_invalid" name="acx_csma_invalid" style="display:none;" ><?php echo $acx_csma_subscribe_invalid4; ?></div>
|
233 |
+
<div id="acx_csma_error" style="display:none;"></div>
|
234 |
+
<?php
|
235 |
+
if($acx_csma_show_subscription_name4 == 1)
|
236 |
+
{
|
237 |
+
?>
|
238 |
+
|
239 |
+
<input type="text" id="acx_csma_name_hidden" class="acx_input_class" name="acx_csma_name_hidden" value="" placeholder="<?php echo acx_csma_option_text_after_save_hook_fn($acx_s_name_singular); ?>"/>
|
240 |
+
<input type="hidden" id="acx_csma_email" class="acx_input_class" name="email" placeholder="<?php echo acx_csma_option_text_after_save_hook_fn($acx_s_email_singular); ?>" >
|
241 |
+
<div class="clear-spcl"></div>
|
242 |
+
<input type="button" value="<?php echo acx_csma_option_text_after_save_hook_fn($acx_next_singular); ?>" id="acx_csma_submit" onclick="acx_csma_validate_email();" class="submit">
|
243 |
+
<?php
|
244 |
+
}
|
245 |
+
else if($acx_csma_show_subscription_name4 == 0){ ?>
|
246 |
+
|
247 |
+
<input type="text" id="acx_csma_email" class="acx_input_class" name="email" placeholder="<?php echo acx_csma_option_text_after_save_hook_fn($acx_s_email_singular); ?>" >
|
248 |
+
<div class="clear-spcl"></div>
|
249 |
+
<input type="button" value="<?php echo acx_csma_option_text_after_save_hook_fn($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_subscription_btn_text4']); ?>" id="acx_csma_submit" onclick="acx_csma_validate_email();" class="submit">
|
250 |
+
<?php }?>
|
251 |
+
</form>
|
252 |
+
</div>
|
253 |
+
<?php
|
254 |
+
}
|
255 |
+
|
256 |
+
$acx_csma_custom_html_subscrpt_below_sub4 = $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_custom_html_subscrpt_below_sub4'];
|
257 |
+
if($acx_csma_custom_html_subscrpt_below_sub4 != "") { ?>
|
258 |
+
<div class="acx_csma_content_div acx_csma_bottom acx_csma_bottom_4" id="acx_csma_top_1">
|
259 |
+
<?php echo $acx_csma_custom_html_subscrpt_below_sub4 = acx_csma_custom_html_after_save_hook_fn($acx_csma_custom_html_subscrpt_below_sub4); ?>
|
260 |
+
</div>
|
261 |
+
<?php } ?>
|
262 |
<div class="scmi">
|
263 |
<ul>
|
264 |
<?php if($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_fb_link4']!="")
|
286 |
</div><!-- wrapper -->
|
287 |
|
288 |
<script>
|
289 |
+
jQuery(document).ready(function() {
|
290 |
+
jQuery(window).keydown(function(event){
|
291 |
+
if(event.keyCode == 13) {
|
292 |
+
<?php
|
293 |
+
if($acx_csma_show_subscription4 == 1)
|
294 |
+
{
|
295 |
+
?>
|
296 |
+
acx_csma_validate_email();
|
297 |
+
return false;
|
298 |
+
<?php
|
299 |
+
}
|
300 |
+
?>
|
301 |
+
}
|
302 |
+
});
|
303 |
+
});
|
304 |
+
<?php
|
305 |
+
if($acx_csma_show_subscription4 == 1)
|
306 |
+
{
|
307 |
+
$acx_csma_show_subscription_name4 = $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_show_subscription_name4'];
|
308 |
+
$acx_csma_subscription_btn_text4 = $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_subscription_btn_text4'];
|
309 |
+
$acx_name_val_arr=acx_csma_disp_var_to_show("Subscription Name Error Message");
|
310 |
+
$acx_name_val_singular=$acx_name_val_arr['singular'];
|
311 |
+
$acx_email_val_arr=acx_csma_disp_var_to_show("Subscription Email Error Message");
|
312 |
+
$acx_email_val_singular=$acx_email_val_arr['singular'];
|
313 |
+
$acx_email_exist_arr=acx_csma_disp_var_to_show("Subscription Email Exists Message");
|
314 |
+
$acx_email_singular=$acx_email_exist_arr['singular'];
|
315 |
+
$acx_subs_next_arr=acx_csma_disp_var_to_show("next");
|
316 |
+
$acx_next_singular=$acx_subs_next_arr['singular'];
|
317 |
+
?>
|
318 |
+
var acx_csma_form_status=1;
|
319 |
+
function acx_csma_validate_email()
|
320 |
+
{
|
321 |
+
<?php
|
322 |
+
if($acx_csma_show_subscription_name4 == 0)
|
323 |
+
{?>
|
324 |
+
|
325 |
+
var acx_csma_email = document.getElementById('acx_csma_email').value;
|
326 |
+
var expr = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
|
327 |
+
if (acx_csma_email=='')
|
328 |
+
{
|
329 |
+
alert('<?php echo $acx_email_val_singular; ?>');
|
330 |
+
return false;
|
331 |
+
}
|
332 |
+
else if (!expr.test(acx_csma_email))
|
333 |
+
{
|
334 |
+
document.getElementById('acx_csma_email').value="";
|
335 |
+
jQuery("#acx_csma_invalid").show();
|
336 |
+
jQuery("#acx_csma_email").hide();
|
337 |
+
jQuery("#acx_csma_submit").hide();
|
338 |
+
setTimeout(function()
|
339 |
+
{
|
340 |
+
jQuery("#acx_csma_invalid").hide();
|
341 |
+
jQuery("#acx_csma_email").show();
|
342 |
+
jQuery("#acx_csma_submit").show();
|
343 |
+
}, 3000);
|
344 |
+
|
345 |
+
|
346 |
+
return false;
|
347 |
+
}
|
348 |
+
else
|
349 |
+
{
|
350 |
+
var acx_load="<div id='acx_csma_loading'><div class='load_1'></div></div>";
|
351 |
+
jQuery('body').append(acx_load);
|
352 |
+
|
353 |
+
var timestamp = Math.floor(<?php echo current_time('timestamp'); ?>);
|
354 |
+
var ip="<?php echo $_SERVER['REMOTE_ADDR']; ?>";
|
355 |
+
var acx_csma_ajaxurl ="<?php echo admin_url('admin-ajax.php'); ?>";
|
356 |
+
var order = '&email='+acx_csma_email+'&ip='+ip+'×tamp='+timestamp+'&action=acx_csma_subscribe_email'+'&acx_csma_subscribe_es=<?php echo wp_create_nonce('acx_csma_subscribe_es'); ?>';
|
357 |
+
jQuery.post(acx_csma_ajaxurl, order, function(theResponse)
|
358 |
+
{
|
359 |
+
jQuery("#acx_csma_loading").remove();
|
360 |
+
if(theResponse == "success")
|
361 |
+
{
|
362 |
+
document.getElementById('acx_csma_email').value="";
|
363 |
+
jQuery("#acx_csma_success").show();
|
364 |
+
jQuery("#acx_csma_email").hide();
|
365 |
+
jQuery("#acx_csma_submit").hide();
|
366 |
+
setTimeout(function()
|
367 |
+
{
|
368 |
+
jQuery("#acx_csma_success").hide();
|
369 |
+
jQuery("#acx_csma_email").show();
|
370 |
+
jQuery("#acx_csma_submit").show();
|
371 |
+
// acx_csma_form_status=1;
|
372 |
+
|
373 |
+
}, 3000);
|
374 |
+
}
|
375 |
+
else{
|
376 |
+
document.getElementById('acx_csma_email').value="";
|
377 |
+
jQuery("#acx_csma_email").hide();
|
378 |
+
jQuery("#acx_csma_submit").hide();
|
379 |
+
jQuery("#acx_csma_error").show();
|
380 |
+
jQuery("#acx_csma_error").html("<?php echo $acx_email_singular; ?>");
|
381 |
+
setTimeout(function()
|
382 |
+
{
|
383 |
+
jQuery("#acx_csma_error").html('');
|
384 |
+
jQuery("#acx_csma_error").hide();
|
385 |
+
jQuery("#acx_csma_email").show();
|
386 |
+
jQuery("#acx_csma_submit").show();
|
387 |
+
//acx_csma_form_status=1;
|
388 |
+
|
389 |
+
}, 3000);
|
390 |
+
|
391 |
+
}
|
392 |
+
});
|
393 |
+
}
|
394 |
+
<?php
|
395 |
+
}
|
396 |
+
else
|
397 |
+
{
|
398 |
+
?>
|
399 |
+
var acx_csma_name_hidden=document.getElementById('acx_csma_name_hidden').value;
|
400 |
+
if(acx_csma_form_status== 1)
|
401 |
+
{
|
402 |
+
if(acx_csma_name_hidden=="")
|
403 |
+
{
|
404 |
+
alert('<?php echo $acx_name_val_singular; ?>');
|
405 |
+
acx_csma_form_status=1;
|
406 |
+
return false;
|
407 |
+
}
|
408 |
+
else{
|
409 |
+
document.getElementById('acx_csma_name_hidden').type = 'hidden';
|
410 |
+
document.getElementById('acx_csma_email').type = 'email';
|
411 |
+
jQuery("#acx_csma_email").show();
|
412 |
+
document.getElementById('acx_csma_submit').value="<?php echo $acx_csma_subscription_btn_text4; ?>";
|
413 |
+
acx_csma_form_status=2;
|
414 |
+
return false;
|
415 |
+
}
|
416 |
+
}
|
417 |
+
else if(acx_csma_form_status==2)
|
418 |
+
{
|
419 |
+
var acx_csma_email = document.getElementById('acx_csma_email').value;
|
420 |
+
var expr = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
|
421 |
+
if (acx_csma_email=='')
|
422 |
+
{
|
423 |
+
alert('<?php echo $acx_email_val_singular; ?>');
|
424 |
+
return false;
|
425 |
+
}
|
426 |
+
else if (!expr.test(acx_csma_email))
|
427 |
+
{
|
428 |
+
document.getElementById('acx_csma_email').value="";
|
429 |
+
document.getElementById('acx_csma_name_hidden').value="";
|
430 |
+
jQuery("#acx_csma_email").hide();
|
431 |
+
jQuery("#acx_csma_submit").hide();
|
432 |
+
jQuery("#acx_csma_invalid").show();
|
433 |
+
setTimeout(function()
|
434 |
+
{
|
435 |
+
jQuery("#acx_csma_invalid").hide();
|
436 |
+
document.getElementById('acx_csma_name_hidden').type = 'text';
|
437 |
+
document.getElementById('acx_csma_submit').value="<?php echo $acx_next_singular; ?>";
|
438 |
+
jQuery("#acx_csma_submit").show();
|
439 |
+
acx_csma_form_status=1;
|
440 |
+
|
441 |
+
}, 3000);
|
442 |
+
|
443 |
+
|
444 |
+
return false;
|
445 |
+
}
|
446 |
+
else
|
447 |
+
{
|
448 |
+
var acx_load="<div id='acx_csma_loading'><div class='load_1'></div></div>";
|
449 |
+
jQuery('body').append(acx_load);
|
450 |
+
|
451 |
+
var timestamp = Math.floor(<?php echo current_time('timestamp'); ?>);
|
452 |
+
var ip="<?php echo $_SERVER['REMOTE_ADDR']; ?>";
|
453 |
+
var acx_csma_ajaxurl ="<?php echo admin_url('admin-ajax.php'); ?>";
|
454 |
+
var order = 'name='+acx_csma_name_hidden+'&email='+acx_csma_email+'&ip='+ip+'×tamp='+timestamp+'&action=acx_csma_subscribe_email'+'&acx_csma_subscribe_es=<?php echo wp_create_nonce('acx_csma_subscribe_es'); ?>';
|
455 |
+
jQuery.post(acx_csma_ajaxurl, order, function(theResponse)
|
456 |
+
{
|
457 |
+
jQuery("#acx_csma_loading").remove();
|
458 |
+
if(theResponse == "success")
|
459 |
+
{
|
460 |
+
document.getElementById('acx_csma_email').value="";
|
461 |
+
document.getElementById('acx_csma_name_hidden').value="";
|
462 |
+
jQuery("#acx_csma_email").hide();
|
463 |
+
jQuery("#acx_csma_submit").hide();
|
464 |
+
|
465 |
+
jQuery("#acx_csma_success").show();
|
466 |
+
setTimeout(function()
|
467 |
+
{
|
468 |
+
jQuery("#acx_csma_success").hide();
|
469 |
+
document.getElementById('acx_csma_name_hidden').type = 'text';
|
470 |
+
document.getElementById('acx_csma_submit').value="<?php echo $acx_next_singular; ?>";
|
471 |
+
jQuery("#acx_csma_submit").show();
|
472 |
+
acx_csma_form_status=1;
|
473 |
+
|
474 |
+
}, 3000);
|
475 |
+
}
|
476 |
+
else{
|
477 |
+
document.getElementById('acx_csma_email').value="";
|
478 |
+
document.getElementById('acx_csma_name_hidden').value="";
|
479 |
+
jQuery("#acx_csma_email").hide();
|
480 |
+
jQuery("#acx_csma_submit").hide();
|
481 |
+
jQuery("#acx_csma_error").show();
|
482 |
+
jQuery("#acx_csma_error").html("<?php echo $acx_email_singular; ?>");
|
483 |
+
setTimeout(function()
|
484 |
+
{
|
485 |
+
jQuery("#acx_csma_error").html('');
|
486 |
+
jQuery("#acx_csma_error").hide();
|
487 |
+
document.getElementById('acx_csma_name_hidden').type = 'text';
|
488 |
+
document.getElementById('acx_csma_submit').value="<?php echo $acx_next_singular; ?>";
|
489 |
+
jQuery("#acx_csma_submit").show();
|
490 |
+
acx_csma_form_status=1;
|
491 |
+
|
492 |
+
}, 3000);
|
493 |
+
|
494 |
+
}
|
495 |
+
});
|
496 |
+
}
|
497 |
+
}
|
498 |
+
<?php
|
499 |
+
}
|
500 |
+
?>
|
501 |
+
}
|
502 |
+
<?php
|
503 |
+
}
|
504 |
if($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_show_progressbar4']==1)
|
505 |
{
|
506 |
if($acx_csma_timestamp < $acx_csma_date_time)
|
templates/4/style.css
CHANGED
@@ -212,4 +212,95 @@ img
|
|
212 |
{
|
213 |
width: 80%;
|
214 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
215 |
}
|
212 |
{
|
213 |
width: 80%;
|
214 |
}
|
215 |
+
}
|
216 |
+
|
217 |
+
.acx_csma_subscript_cvr::after,
|
218 |
+
.acx_csma_subscript_cvr::before
|
219 |
+
{
|
220 |
+
display:block;
|
221 |
+
content:"";
|
222 |
+
clear:both;
|
223 |
+
visibility:hidden;
|
224 |
+
height:0;
|
225 |
+
}
|
226 |
+
|
227 |
+
.acx_csma_subscript_cvr {
|
228 |
+
margin: 0 auto;
|
229 |
+
max-width: 450px;
|
230 |
+
padding: 20px 0;
|
231 |
+
width: 100%;
|
232 |
+
}
|
233 |
+
|
234 |
+
.acx_csma_subscript_cvr form {
|
235 |
+
float: left;
|
236 |
+
width: 100%;
|
237 |
+
}
|
238 |
+
.acx_csma_subscript_cvr .acx_input_class {
|
239 |
+
border: medium none;
|
240 |
+
-moz-box-sizing: border-box;
|
241 |
+
-o-box-sizing: border-box;
|
242 |
+
-webkit-box-sizing: border-box;
|
243 |
+
-ms-box-sizing: border-box;
|
244 |
+
box-sizing: border-box;
|
245 |
+
color: #333;
|
246 |
+
display: block;
|
247 |
+
float: left;
|
248 |
+
font-family: arial;
|
249 |
+
font-size: 16px;
|
250 |
+
padding: 10px 12px;
|
251 |
+
width: 65%;
|
252 |
+
}
|
253 |
+
.acx_csma_subscript_cvr #acx_csma_submit {
|
254 |
+
border: medium none;
|
255 |
+
-moz-box-sizing: border-box;
|
256 |
+
-o-box-sizing: border-box;
|
257 |
+
-webkit-box-sizing: border-box;
|
258 |
+
-ms-box-sizing: border-box;
|
259 |
+
box-sizing: border-box;
|
260 |
+
display: block;
|
261 |
+
float: left;
|
262 |
+
font-family: arial;
|
263 |
+
font-size: 17px;
|
264 |
+
padding: 9px 0;
|
265 |
+
width: 35%;
|
266 |
+
cursor:pointer;
|
267 |
+
}
|
268 |
+
|
269 |
+
@media screen and (max-width:500px)
|
270 |
+
{
|
271 |
+
.acx_csma_subscript_cvr .acx_input_class
|
272 |
+
{
|
273 |
+
width:100%;
|
274 |
+
}
|
275 |
+
.acx_csma_subscript_cvr {
|
276 |
+
max-width: 300px;
|
277 |
+
}
|
278 |
+
.acx_csma_subscript_cvr #acx_csma_submit {
|
279 |
+
float: none;
|
280 |
+
margin: 10px auto 0;
|
281 |
+
max-width: 100%;
|
282 |
+
min-width: 180px;
|
283 |
+
}
|
284 |
+
.clear-spcl
|
285 |
+
{
|
286 |
+
clear:both;
|
287 |
+
}
|
288 |
+
}
|
289 |
+
.acx_csma_subs_heading h1 {
|
290 |
+
font-size: 19px;
|
291 |
+
margin-bottom: 20px;
|
292 |
+
text-align: center;
|
293 |
+
}
|
294 |
+
#acx_csma_success ,#acx_csma_invalid ,#acx_csma_error
|
295 |
+
{
|
296 |
+
background: #fff none repeat scroll 0 0;
|
297 |
+
padding: 10px 5px;
|
298 |
+
text-align: center;
|
299 |
+
border-radius: 4px;
|
300 |
+
max-width:400px;
|
301 |
+
margin:0 auto;
|
302 |
+
}
|
303 |
+
.acx_csma_subscript_cvr #acx_csma_submit:hover
|
304 |
+
{
|
305 |
+
opacity:0.8;
|
306 |
}
|
templates/5/index.php
CHANGED
@@ -177,9 +177,9 @@ else
|
|
177 |
<?php if($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_show_progressbar5']==1)
|
178 |
{?>
|
179 |
<div class="pre_loader" style="<?php echo $acx_cls; ?>border: 1px solid <?php echo $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_progress_bar_color5']; ?>;clear:both;">
|
180 |
-
<div class="pre_loader_inside" id="pre_loader_inside" style="background
|
181 |
</div><!-- pre_loader_inside -->
|
182 |
-
<div class="pre_loader_text" id="pre_loader_text" style=" z-index:10px;top: 0; left: 0; width: 100%; height: 100%; color:
|
183 |
</div><!-- pre_loader -->
|
184 |
<?php }?>
|
185 |
<?php
|
@@ -228,15 +228,33 @@ else
|
|
228 |
$acx_csma_subscribe_invalid5 = acx_csma_text_after_save_hook_fn($acx_csma_subscribe_invalid5);
|
229 |
$acx_subs_next_arr=acx_csma_disp_var_to_show("next");
|
230 |
$acx_next_singular=$acx_subs_next_arr['singular'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
231 |
|
232 |
?>
|
233 |
-
<form name="acx_csma_form" method="post" action="<?php echo str_replace( '%7E', '~',$_SERVER['REQUEST_URI']); ?>">
|
234 |
-
<div id="acx_csma_success" name="acx_csma_success"style="display:none;color:white;" ><?php echo $acx_csma_subscribe_success5; ?></div>
|
235 |
-
<div id="acx_csma_invalid" name="acx_csma_invalid"style="display:none;color:white;" ><?php echo$acx_csma_subscribe_invalid5; ?></div>
|
236 |
-
<div id="acx_csma_error" style="color:white;"></div>
|
237 |
-
<input type="text" id="acx_csma_name_hidden" name="acx_csma_name_hidden" value="" placeholder="Enter Your Name Here"/>
|
238 |
-
<input type="hidden" id="acx_csma_email" name="email" placeholder="Enter your e-mail address" >
|
239 |
-
<input type="button" value="<?php echo $acx_next_singular; ?>" id="acx_csma_submit" onclick="acx_csma_validate_email();" class="submit">
|
240 |
</form>
|
241 |
<?php
|
242 |
}
|
@@ -297,59 +315,48 @@ return false;
|
|
297 |
<?php
|
298 |
if($acx_csma_show_subscription5 == 1)
|
299 |
{
|
|
|
300 |
$acx_csma_subscribe_btn_text5 = $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_subscribe_btn_text5'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
301 |
?>
|
302 |
var acx_csma_form_status=1;
|
303 |
function acx_csma_validate_email()
|
304 |
{
|
305 |
-
|
306 |
-
if(
|
307 |
-
{
|
308 |
-
|
309 |
-
|
310 |
-
alert('ERROR : Please Enter Your Name !');
|
311 |
-
acx_csma_form_status=1;
|
312 |
-
return false;
|
313 |
-
}
|
314 |
-
else{
|
315 |
-
document.getElementById('acx_csma_name_hidden').type = 'hidden';
|
316 |
-
document.getElementById('acx_csma_email').type = 'email';
|
317 |
-
jQuery("#acx_csma_email").show();
|
318 |
-
document.getElementById('acx_csma_submit').value="<?php echo $acx_csma_subscribe_btn_text5; ?>";
|
319 |
-
acx_csma_form_status=2;
|
320 |
-
return false;
|
321 |
-
}
|
322 |
-
}
|
323 |
-
else if(acx_csma_form_status==2)
|
324 |
-
{
|
325 |
-
var acx_csma_email = document.getElementById('acx_csma_email').value;
|
326 |
var expr = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
|
327 |
if (acx_csma_email=='')
|
328 |
{
|
329 |
-
|
330 |
return false;
|
331 |
}
|
332 |
else if (!expr.test(acx_csma_email))
|
333 |
{
|
334 |
document.getElementById('acx_csma_email').value="";
|
335 |
-
|
336 |
jQuery("#acx_csma_email").hide();
|
337 |
jQuery("#acx_csma_submit").hide();
|
338 |
-
jQuery("#acx_csma_invalid").show();
|
339 |
setTimeout(function()
|
340 |
{
|
341 |
-
jQuery("#acx_csma_invalid").hide();
|
342 |
-
|
343 |
-
|
344 |
-
jQuery("#acx_csma_submit").show();
|
345 |
-
acx_csma_form_status=1;
|
346 |
-
|
347 |
}, 3000);
|
348 |
|
349 |
|
350 |
return false;
|
351 |
}
|
352 |
-
|
353 |
{
|
354 |
var acx_load="<div id='acx_csma_loading'><div class='load_1'></div></div>";
|
355 |
jQuery('body').append(acx_load);
|
@@ -357,49 +364,151 @@ function acx_csma_validate_email()
|
|
357 |
var timestamp = Math.floor(<?php echo current_time('timestamp'); ?>);
|
358 |
var ip="<?php echo $_SERVER['REMOTE_ADDR']; ?>";
|
359 |
var acx_csma_ajaxurl ="<?php echo admin_url('admin-ajax.php'); ?>";
|
360 |
-
var order = '
|
361 |
jQuery.post(acx_csma_ajaxurl, order, function(theResponse)
|
362 |
{
|
363 |
jQuery("#acx_csma_loading").remove();
|
364 |
if(theResponse == "success")
|
365 |
{
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
370 |
|
371 |
-
|
372 |
-
setTimeout(function()
|
373 |
-
{
|
374 |
-
jQuery("#acx_csma_success").hide();
|
375 |
-
document.getElementById('acx_csma_name_hidden').type = 'text';
|
376 |
-
document.getElementById('acx_csma_submit').value="<?php echo $acx_next_singular; ?>";
|
377 |
-
jQuery("#acx_csma_submit").show();
|
378 |
-
acx_csma_form_status=1;
|
379 |
-
|
380 |
-
}, 3000);
|
381 |
}
|
382 |
else{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
383 |
document.getElementById('acx_csma_email').value="";
|
384 |
document.getElementById('acx_csma_name_hidden').value="";
|
385 |
jQuery("#acx_csma_email").hide();
|
386 |
jQuery("#acx_csma_submit").hide();
|
387 |
-
jQuery("#
|
388 |
setTimeout(function()
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
acx_csma_form_status=1;
|
396 |
-
|
397 |
-
}, 3000);
|
398 |
|
399 |
-
|
400 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
401 |
}
|
|
|
402 |
}
|
|
|
403 |
}
|
404 |
<?php
|
405 |
}
|
177 |
<?php if($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_show_progressbar5']==1)
|
178 |
{?>
|
179 |
<div class="pre_loader" style="<?php echo $acx_cls; ?>border: 1px solid <?php echo $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_progress_bar_color5']; ?>;clear:both;">
|
180 |
+
<div class="pre_loader_inside" id="pre_loader_inside" style="background:<?php echo $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_progress_bar_bg_color5']; ?>;position:absolute;top: 0; left: 0; width:0%; height:inherit;">
|
181 |
</div><!-- pre_loader_inside -->
|
182 |
+
<div class="pre_loader_text" id="pre_loader_text" style=" z-index:10px;top: 0; left: 0; width: 100%; height: 100%; color: <?php echo $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_progress_bar_text_color5']; ?>; font-weight: bold; text-align: center;position:absolute;">0%</div><!-- pre_loader_text -->
|
183 |
</div><!-- pre_loader -->
|
184 |
<?php }?>
|
185 |
<?php
|
228 |
$acx_csma_subscribe_invalid5 = acx_csma_text_after_save_hook_fn($acx_csma_subscribe_invalid5);
|
229 |
$acx_subs_next_arr=acx_csma_disp_var_to_show("next");
|
230 |
$acx_next_singular=$acx_subs_next_arr['singular'];
|
231 |
+
$acx_subs_name_arr=acx_csma_disp_var_to_show("Subscription Name Placeholder");
|
232 |
+
$acx_s_name_singular=$acx_subs_name_arr['singular'];
|
233 |
+
$acx_subs_email_arr=acx_csma_disp_var_to_show("Subscription Email Placeholder");
|
234 |
+
$acx_s_email_singular=$acx_subs_email_arr['singular'];
|
235 |
+
$acx_csma_show_subscription_name5 = $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_show_subscription_name5'];
|
236 |
+
?>
|
237 |
+
<form name="acx_csma_form" method="post" action="<?php echo esc_url(str_replace( '%7E', '~',$_SERVER['REQUEST_URI'])); ?>">
|
238 |
+
<div id="acx_csma_success" name="acx_csma_success" style="display:none;" ><?php echo $acx_csma_subscribe_success5; ?></div>
|
239 |
+
<div id="acx_csma_invalid" name="acx_csma_invalid" style="display:none;" ><?php echo $acx_csma_subscribe_invalid5; ?></div>
|
240 |
+
<div id="acx_csma_error" style="display:none;"></div>
|
241 |
+
<?php
|
242 |
+
if($acx_csma_show_subscription_name5 == 1)
|
243 |
+
{
|
244 |
+
?>
|
245 |
+
<input type="text" id="acx_csma_name_hidden" name="acx_csma_name_hidden" value="" placeholder="<?php echo acx_csma_option_text_after_save_hook_fn($acx_s_name_singular); ?>"/>
|
246 |
+
<input type="hidden" id="acx_csma_email" name="email" placeholder="<?php echo acx_csma_option_text_after_save_hook_fn($acx_s_email_singular); ?>" >
|
247 |
+
<input type="button" value="<?php echo acx_csma_option_text_after_save_hook_fn($acx_next_singular); ?>" id="acx_csma_submit" onclick="acx_csma_validate_email();" class="submit">
|
248 |
+
<?php
|
249 |
+
}
|
250 |
+
else if($acx_csma_show_subscription_name5 == 0){ ?>
|
251 |
+
|
252 |
+
<input type="text" id="acx_csma_email" name="email" placeholder="<?php echo acx_csma_option_text_after_save_hook_fn($acx_s_email_singular); ?>" >
|
253 |
+
<input type="button" value="<?php echo acx_csma_option_text_after_save_hook_fn($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_subscribe_btn_text5']); ?>" id="acx_csma_submit" onclick="acx_csma_validate_email();" class="submit">
|
254 |
+
<?php
|
255 |
+
}
|
256 |
|
257 |
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
258 |
</form>
|
259 |
<?php
|
260 |
}
|
315 |
<?php
|
316 |
if($acx_csma_show_subscription5 == 1)
|
317 |
{
|
318 |
+
$acx_csma_show_subscription_name5 = $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_show_subscription_name5'];
|
319 |
$acx_csma_subscribe_btn_text5 = $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_subscribe_btn_text5'];
|
320 |
+
$acx_name_val_arr=acx_csma_disp_var_to_show("Subscription Name Error Message");
|
321 |
+
$acx_name_val_singular=$acx_name_val_arr['singular'];
|
322 |
+
$acx_email_val_arr=acx_csma_disp_var_to_show("Subscription Email Error Message");
|
323 |
+
$acx_email_val_singular=$acx_email_val_arr['singular'];
|
324 |
+
$acx_email_exist_arr=acx_csma_disp_var_to_show("Subscription Email Exists Message");
|
325 |
+
$acx_email_singular=$acx_email_exist_arr['singular'];
|
326 |
+
$acx_subs_next_arr=acx_csma_disp_var_to_show("next");
|
327 |
+
$acx_next_singular=$acx_subs_next_arr['singular'];
|
328 |
?>
|
329 |
var acx_csma_form_status=1;
|
330 |
function acx_csma_validate_email()
|
331 |
{
|
332 |
+
<?php
|
333 |
+
if($acx_csma_show_subscription_name5 == 0)
|
334 |
+
{?>
|
335 |
+
|
336 |
+
var acx_csma_email = document.getElementById('acx_csma_email').value;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
337 |
var expr = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
|
338 |
if (acx_csma_email=='')
|
339 |
{
|
340 |
+
alert('<?php echo $acx_email_val_singular; ?>');
|
341 |
return false;
|
342 |
}
|
343 |
else if (!expr.test(acx_csma_email))
|
344 |
{
|
345 |
document.getElementById('acx_csma_email').value="";
|
346 |
+
jQuery("#acx_csma_invalid").show();
|
347 |
jQuery("#acx_csma_email").hide();
|
348 |
jQuery("#acx_csma_submit").hide();
|
|
|
349 |
setTimeout(function()
|
350 |
{
|
351 |
+
jQuery("#acx_csma_invalid").hide();
|
352 |
+
jQuery("#acx_csma_email").show();
|
353 |
+
jQuery("#acx_csma_submit").show();
|
|
|
|
|
|
|
354 |
}, 3000);
|
355 |
|
356 |
|
357 |
return false;
|
358 |
}
|
359 |
+
else
|
360 |
{
|
361 |
var acx_load="<div id='acx_csma_loading'><div class='load_1'></div></div>";
|
362 |
jQuery('body').append(acx_load);
|
364 |
var timestamp = Math.floor(<?php echo current_time('timestamp'); ?>);
|
365 |
var ip="<?php echo $_SERVER['REMOTE_ADDR']; ?>";
|
366 |
var acx_csma_ajaxurl ="<?php echo admin_url('admin-ajax.php'); ?>";
|
367 |
+
var order = '&email='+acx_csma_email+'&ip='+ip+'×tamp='+timestamp+'&action=acx_csma_subscribe_email'+'&acx_csma_subscribe_es=<?php echo wp_create_nonce('acx_csma_subscribe_es'); ?>';
|
368 |
jQuery.post(acx_csma_ajaxurl, order, function(theResponse)
|
369 |
{
|
370 |
jQuery("#acx_csma_loading").remove();
|
371 |
if(theResponse == "success")
|
372 |
{
|
373 |
+
document.getElementById('acx_csma_email').value="";
|
374 |
+
jQuery("#acx_csma_success").show();
|
375 |
+
jQuery("#acx_csma_email").hide();
|
376 |
+
jQuery("#acx_csma_submit").hide();
|
377 |
+
setTimeout(function()
|
378 |
+
{
|
379 |
+
jQuery("#acx_csma_success").hide();
|
380 |
+
jQuery("#acx_csma_email").show();
|
381 |
+
jQuery("#acx_csma_submit").show();
|
382 |
+
// acx_csma_form_status=1;
|
383 |
|
384 |
+
}, 3000);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
385 |
}
|
386 |
else{
|
387 |
+
document.getElementById('acx_csma_email').value="";
|
388 |
+
jQuery("#acx_csma_email").hide();
|
389 |
+
jQuery("#acx_csma_submit").hide();
|
390 |
+
jQuery("#acx_csma_error").show();
|
391 |
+
jQuery("#acx_csma_error").html("<?php echo $acx_email_singular; ?>");
|
392 |
+
setTimeout(function()
|
393 |
+
{
|
394 |
+
jQuery("#acx_csma_error").html('');
|
395 |
+
jQuery("#acx_csma_error").hide();
|
396 |
+
jQuery("#acx_csma_email").show();
|
397 |
+
jQuery("#acx_csma_submit").show();
|
398 |
+
//acx_csma_form_status=1;
|
399 |
+
|
400 |
+
}, 3000);
|
401 |
+
|
402 |
+
}
|
403 |
+
});
|
404 |
+
}
|
405 |
+
<?php
|
406 |
+
}
|
407 |
+
else
|
408 |
+
{
|
409 |
+
?>
|
410 |
+
var acx_csma_name_hidden=document.getElementById('acx_csma_name_hidden').value;
|
411 |
+
if(acx_csma_form_status== 1)
|
412 |
+
{
|
413 |
+
if(acx_csma_name_hidden=="")
|
414 |
+
{
|
415 |
+
alert('<?php echo $acx_name_val_singular; ?>');
|
416 |
+
acx_csma_form_status=1;
|
417 |
+
return false;
|
418 |
+
}
|
419 |
+
else{
|
420 |
+
document.getElementById('acx_csma_name_hidden').type = 'hidden';
|
421 |
+
document.getElementById('acx_csma_email').type = 'email';
|
422 |
+
jQuery("#acx_csma_email").show();
|
423 |
+
document.getElementById('acx_csma_submit').value="<?php echo $acx_csma_subscribe_btn_text5; ?>";
|
424 |
+
acx_csma_form_status=2;
|
425 |
+
return false;
|
426 |
+
}
|
427 |
+
}
|
428 |
+
else if(acx_csma_form_status==2)
|
429 |
+
{
|
430 |
+
var acx_csma_email = document.getElementById('acx_csma_email').value;
|
431 |
+
var expr = /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
|
432 |
+
if (acx_csma_email=='')
|
433 |
+
{
|
434 |
+
alert('<?php echo $acx_email_val_singular; ?>');
|
435 |
+
return false;
|
436 |
+
}
|
437 |
+
else if (!expr.test(acx_csma_email))
|
438 |
+
{
|
439 |
document.getElementById('acx_csma_email').value="";
|
440 |
document.getElementById('acx_csma_name_hidden').value="";
|
441 |
jQuery("#acx_csma_email").hide();
|
442 |
jQuery("#acx_csma_submit").hide();
|
443 |
+
jQuery("#acx_csma_invalid").show();
|
444 |
setTimeout(function()
|
445 |
+
{
|
446 |
+
jQuery("#acx_csma_invalid").hide();
|
447 |
+
document.getElementById('acx_csma_name_hidden').type = 'text';
|
448 |
+
document.getElementById('acx_csma_submit').value="<?php echo $acx_next_singular; ?>";
|
449 |
+
jQuery("#acx_csma_submit").show();
|
450 |
+
acx_csma_form_status=1;
|
|
|
|
|
|
|
451 |
|
452 |
+
}, 3000);
|
453 |
+
|
454 |
+
|
455 |
+
return false;
|
456 |
+
}
|
457 |
+
else
|
458 |
+
{
|
459 |
+
var acx_load="<div id='acx_csma_loading'><div class='load_1'></div></div>";
|
460 |
+
jQuery('body').append(acx_load);
|
461 |
+
|
462 |
+
var timestamp = Math.floor(<?php echo current_time('timestamp'); ?>);
|
463 |
+
var ip="<?php echo $_SERVER['REMOTE_ADDR']; ?>";
|
464 |
+
var acx_csma_ajaxurl ="<?php echo admin_url('admin-ajax.php'); ?>";
|
465 |
+
var order = 'name='+acx_csma_name_hidden+'&email='+acx_csma_email+'&ip='+ip+'×tamp='+timestamp+'&action=acx_csma_subscribe_email'+'&acx_csma_subscribe_es=<?php echo wp_create_nonce('acx_csma_subscribe_es'); ?>';
|
466 |
+
jQuery.post(acx_csma_ajaxurl, order, function(theResponse)
|
467 |
+
{
|
468 |
+
jQuery("#acx_csma_loading").remove();
|
469 |
+
if(theResponse == "success")
|
470 |
+
{
|
471 |
+
document.getElementById('acx_csma_email').value="";
|
472 |
+
document.getElementById('acx_csma_name_hidden').value="";
|
473 |
+
jQuery("#acx_csma_email").hide();
|
474 |
+
jQuery("#acx_csma_submit").hide();
|
475 |
+
|
476 |
+
jQuery("#acx_csma_success").show();
|
477 |
+
setTimeout(function()
|
478 |
+
{
|
479 |
+
jQuery("#acx_csma_success").hide();
|
480 |
+
document.getElementById('acx_csma_name_hidden').type = 'text';
|
481 |
+
document.getElementById('acx_csma_submit').value="<?php echo $acx_next_singular; ?>";
|
482 |
+
jQuery("#acx_csma_submit").show();
|
483 |
+
acx_csma_form_status=1;
|
484 |
+
|
485 |
+
}, 3000);
|
486 |
+
}
|
487 |
+
else{
|
488 |
+
document.getElementById('acx_csma_email').value="";
|
489 |
+
document.getElementById('acx_csma_name_hidden').value="";
|
490 |
+
jQuery("#acx_csma_email").hide();
|
491 |
+
jQuery("#acx_csma_submit").hide();
|
492 |
+
jQuery("#acx_csma_error").show();
|
493 |
+
jQuery("#acx_csma_error").html("<?php echo $acx_email_singular; ?>");
|
494 |
+
setTimeout(function()
|
495 |
+
{
|
496 |
+
jQuery("#acx_csma_error").html('');
|
497 |
+
jQuery("#acx_csma_error").hide();
|
498 |
+
document.getElementById('acx_csma_name_hidden').type = 'text';
|
499 |
+
document.getElementById('acx_csma_submit').value="<?php echo $acx_next_singular; ?>";
|
500 |
+
jQuery("#acx_csma_submit").show();
|
501 |
+
acx_csma_form_status=1;
|
502 |
+
|
503 |
+
}, 3000);
|
504 |
+
|
505 |
+
}
|
506 |
+
});
|
507 |
+
}
|
508 |
}
|
509 |
+
<?php
|
510 |
}
|
511 |
+
?>
|
512 |
}
|
513 |
<?php
|
514 |
}
|
templates/5/style.css
CHANGED
@@ -308,4 +308,13 @@ ul#countdown li
|
|
308 |
width:100%;
|
309 |
}
|
310 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
311 |
}
|
308 |
width:100%;
|
309 |
}
|
310 |
|
311 |
+
}
|
312 |
+
#acx_csma_success ,#acx_csma_invalid ,#acx_csma_error
|
313 |
+
{
|
314 |
+
background: #fff none repeat scroll 0 0;
|
315 |
+
padding: 10px 5px;
|
316 |
+
text-align: center;
|
317 |
+
border-radius: 4px;
|
318 |
+
max-width:400px;
|
319 |
+
margin:0 auto;
|
320 |
}
|