Under Construction / Maintenance Mode from Acurax - Version 2.4

Version Description

  • Feb 20, 2016
  • Added More Customization Options for Templates
  • Option to Hide Subscriber Forms
  • Fixed Bug on Role Selection
  • Twitter Icon Updated
  • Added More Custom HTML Blocks
  • Added Option to add Custom CSS for each template
  • Social Media Icon Display Logic Improvements
  • Several Bug Fixes and Improvements
  • Optimized Logics
  • Stability Improvements
Download this release

Release Info

Developer Acurax
Plugin Icon 128x128 Under Construction / Maintenance Mode from Acurax
Version 2.4
Comparing to
See all releases

Code changes from version 2.3 to 2.4

acx_csma.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Under Construction / Maintenance Mode From Acurax
4
  Plugin URI: http://www.acurax.com/Products/
5
  Description: Simple and the best Coming Soon or Maintenance Mode Plugin Which Supports Practically Unlimited Responsive Designs.
6
  Author: Acurax
7
- Version: 2.3
8
  Author URI: http://www.acurax.com
9
  License: GPLv2 or later
10
  */
@@ -26,7 +26,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.3");
30
  define("ACX_CSMA_TOTAL_THEMES",5);
31
  define("ACX_CSMA_BASE_LOCATION",plugin_dir_url( __FILE__ ));
32
 
4
  Plugin URI: http://www.acurax.com/Products/
5
  Description: Simple and the best Coming Soon or Maintenance Mode Plugin Which Supports Practically Unlimited Responsive Designs.
6
  Author: Acurax
7
+ Version: 2.4
8
  Author URI: http://www.acurax.com
9
  License: GPLv2 or later
10
  */
26
  ?>
27
  <?php
28
  /*************** Admin function ***************/
29
+ define("ACX_CSMA_CURRENT_VERSION","2.4");
30
  define("ACX_CSMA_TOTAL_THEMES",5);
31
  define("ACX_CSMA_BASE_LOCATION",plugin_dir_url( __FILE__ ));
32
 
function.php CHANGED
@@ -20,7 +20,7 @@ function acx_csma_colorpicker_scripts()
20
  wp_enqueue_style( 'farbtastic' );
21
  wp_enqueue_script( 'farbtastic','',array( 'jquery' ) );
22
  }
23
- $acx_csma_temp_array = get_option('$acx_csma_temp_array');
24
  if($acx_csma_temp_array != "")
25
  {
26
  if(is_array($acx_csma_temp_array))
@@ -520,4 +520,112 @@ jQuery( "#acx_csma_c_icon_p_info_lb_h" ).remove();
520
  <?php
521
  }
522
  add_action('acx_csma_hook_mainoptions_below_general_settings','acx_csm_info_lb');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
523
  ?>
20
  wp_enqueue_style( 'farbtastic' );
21
  wp_enqueue_script( 'farbtastic','',array( 'jquery' ) );
22
  }
23
+ $acx_csma_temp_array = get_option('acx_csma_temp_array');
24
  if($acx_csma_temp_array != "")
25
  {
26
  if(is_array($acx_csma_temp_array))
520
  <?php
521
  }
522
  add_action('acx_csma_hook_mainoptions_below_general_settings','acx_csm_info_lb');
523
+ function acx_csma_updated_fields_content()
524
+ {
525
+ $acx_csma_appearence_array=get_option('acx_csma_appearence_array');
526
+ if(is_serialized($acx_csma_appearence_array))
527
+ {
528
+ $acx_csma_appearence_array = unserialize($acx_csma_appearence_array);
529
+ }
530
+ if(is_array($acx_csma_appearence_array))
531
+ {
532
+
533
+ if(!array_key_exists('acx_csma_show_subscription',$acx_csma_appearence_array['1']))
534
+ {
535
+ $acx_csma_appearence_array['1']['acx_csma_show_subscription'] = 1;
536
+ }
537
+ if(!array_key_exists('acx_csma_custom_html_top_sub1',$acx_csma_appearence_array['1']))
538
+ {
539
+ $acx_csma_appearence_array['1']['acx_csma_custom_html_top_sub1'] = "";
540
+ }
541
+ if(!array_key_exists('acx_csma_custom_html_bottom_sub1',$acx_csma_appearence_array['1']))
542
+ {
543
+ $acx_csma_appearence_array['1']['acx_csma_custom_html_bottom_sub1'] = "";
544
+ }
545
+ if(!array_key_exists('acx_csma_custom_css_temp1',$acx_csma_appearence_array['1']))
546
+ {
547
+ $acx_csma_appearence_array['1']['acx_csma_custom_css_temp1'] = "";
548
+ }
549
+ if(!array_key_exists('acx_csma_custom_html_top_timer',$acx_csma_appearence_array['2']))
550
+ {
551
+ $acx_csma_appearence_array['2']['acx_csma_custom_html_top_timer'] = "";
552
+ }
553
+ if(!array_key_exists('acx_csma_show_subscription2',$acx_csma_appearence_array['2']))
554
+ {
555
+ $acx_csma_appearence_array['2']['acx_csma_show_subscription2'] = 1;
556
+ }
557
+ if(!array_key_exists('acx_csma_custom_css_temp2',$acx_csma_appearence_array['2']))
558
+ {
559
+ $acx_csma_appearence_array['2']['acx_csma_custom_css_temp2'] = "";
560
+ }
561
+ if(!array_key_exists('acx_csma_primary_color3',$acx_csma_appearence_array['3']))
562
+ {
563
+ $acx_csma_appearence_array['3']['acx_csma_primary_color3'] = "#ffffff";
564
+ }
565
+ if(!array_key_exists('acx_csma_secondary_color3',$acx_csma_appearence_array['3']))
566
+ {
567
+ $acx_csma_appearence_array['3']['acx_csma_secondary_color3'] = "#fe7e01";
568
+ }
569
+ if(!array_key_exists('acx_csma_left_bar_color3',$acx_csma_appearence_array['3']))
570
+ {
571
+ $acx_csma_appearence_array['3']['acx_csma_left_bar_color3'] = "#000000";
572
+ }
573
+ if(!array_key_exists('acx_csma_timer_color3',$acx_csma_appearence_array['3']))
574
+ {
575
+ $acx_csma_appearence_array['3']['acx_csma_timer_color3'] = "#ffffff";
576
+ }
577
+ if(!array_key_exists('acx_csma_show_subscription3',$acx_csma_appearence_array['3']))
578
+ {
579
+ $acx_csma_appearence_array['3']['acx_csma_show_subscription3'] = 1;
580
+ }
581
+ if(!array_key_exists('acx_csma_show_timer3',$acx_csma_appearence_array['3']))
582
+ {
583
+ $acx_csma_appearence_array['3']['acx_csma_show_timer3'] = 1;
584
+ }
585
+ if(!array_key_exists('acx_csma_custom_html_top_timer_temp3',$acx_csma_appearence_array['3']))
586
+ {
587
+ $acx_csma_appearence_array['3']['acx_csma_custom_html_top_timer_temp3'] = "";
588
+ }
589
+ if(!array_key_exists('acx_csma_custom_html_bottom_temp3',$acx_csma_appearence_array['3']))
590
+ {
591
+ $acx_csma_appearence_array['3']['acx_csma_custom_html_bottom_temp3'] = "";
592
+ }
593
+ if(!array_key_exists('acx_csma_custom_css_temp3',$acx_csma_appearence_array['3']))
594
+ {
595
+ $acx_csma_appearence_array['3']['acx_csma_custom_css_temp3'] = "";
596
+ }
597
+ if(!array_key_exists('acx_csma_custom_css_temp4',$acx_csma_appearence_array['4']))
598
+ {
599
+ $acx_csma_appearence_array['4']['acx_csma_custom_css_temp4'] = "";
600
+ }
601
+ if(!array_key_exists('acx_csma_show_subscription5',$acx_csma_appearence_array['5']))
602
+ {
603
+ $acx_csma_appearence_array['5']['acx_csma_show_subscription5'] = 1;
604
+ }
605
+ if(!array_key_exists('acx_csma_custom_html_top_sub',$acx_csma_appearence_array['5']))
606
+ {
607
+ $acx_csma_appearence_array['5']['acx_csma_custom_html_top_sub'] = "";
608
+ }
609
+ if(!array_key_exists('acx_csma_custom_html_bottom_sub',$acx_csma_appearence_array['5']))
610
+ {
611
+ $acx_csma_appearence_array['5']['acx_csma_custom_html_bottom_sub'] = "";
612
+ }
613
+ if(!array_key_exists('acx_csma_launch_title_color5',$acx_csma_appearence_array['5']))
614
+ {
615
+ $acx_csma_appearence_array['5']['acx_csma_launch_title_color5'] = "#4b4b4b";
616
+ }
617
+ if(!array_key_exists('acx_csma_custom_css_temp5',$acx_csma_appearence_array['5']))
618
+ {
619
+ $acx_csma_appearence_array['5']['acx_csma_custom_css_temp5'] = "";
620
+ }
621
+ if(!is_serialized($acx_csma_appearence_array))
622
+ {
623
+ $acx_csma_appearence_array = serialize($acx_csma_appearence_array);
624
+ }
625
+ update_option('acx_csma_appearence_array',$acx_csma_appearence_array);
626
+ }
627
+ }
628
+ add_action('acx_csma_hook_mainoptions_inside_else_submit','acx_csma_updated_fields_content')
629
+
630
+
631
  ?>
includes/acx_csma_admin.php CHANGED
@@ -60,6 +60,9 @@ $acx_csma_show_timer1 = 1;
60
  $acx_csma_timer_bg_color1="#ffffff";
61
  $acx_csma_timer_iptext_color1="#ffffff";
62
  $acx_csma_timer_head_color1="#ff7800";
 
 
 
63
  $acx_csma_subscribe_bg_color1="#0b1c2c";
64
  $acx_csma_subscribe_btn_text1="submit";
65
  $acx_csma_subscribe_btn_text_color1="#ffffff";
@@ -73,6 +76,7 @@ $acx_csma_subscribe_invalid1="Invalid Email";
73
  $acx_csma_footer_bgcolor1="#ff7800";
74
  $acx_csma_footer_text1="&copy;". date("Y")." All rights reserved";
75
  $acx_csma_footer_text_color1="#ffffff";
 
76
  acx_csma_hook_function('acx_csma_hook_mainoptions_set_default_template_1');
77
  // *******************template2*********************
78
  $acx_csma_bg_color2="#e4e4e4";
@@ -85,6 +89,8 @@ $acx_csma_title_color2="#000000";
85
  $acx_csma_subtitle_text2="We are Coming Very Soon";
86
  $acx_csma_subtitle_color2="#000000";
87
  $acx_csma_inside_bg_color2="#ffd800";
 
 
88
  $acx_csma_timer_title2="Estimate time for launching";
89
  $acx_csma_subscribe_btn_color2="#ffd800";
90
  $acx_csma_subscribe_success2="Successfully Subscribed";
@@ -99,6 +105,7 @@ $acx_csma_desc_text_color2="#000000";
99
  $acx_csma_fb_link2="";
100
  $acx_csma_twitter_link2="";
101
  $acx_csma_linkedin_link2="";
 
102
  acx_csma_hook_function('acx_csma_hook_mainoptions_set_default_template_2');
103
  //*******************template 3*******************
104
  $acx_csma_logo3= ACX_CSMA_BASE_LOCATION . 'templates/3/images/logo.png';
@@ -109,8 +116,14 @@ $acx_csma_title3="Hello";
109
  $acx_csma_title_color3="#ffffff";
110
  $acx_csma_subtitle_text3="We are Coming Very Soon";
111
  $acx_csma_subtitle_color3="#ffffff";
 
 
 
 
112
  $acx_csma_subscribe_title3="Subscribe Now";
113
  $acx_csma_subscribe_title_color3="#fe7e01";
 
 
114
  $acx_csma_subscribe_btn_text3="submit";
115
  $acx_csma_subscribe_btn_text_color3="#ffffff";
116
  $acx_csma_subscribe_btn_color3="#fe7e01";
@@ -123,6 +136,8 @@ $acx_csma_inside_title_color3="#ffffff";
123
  $acx_csma_timer_iptext_color3="#000000";
124
  $acx_csma_timer_head_color3="#000000";
125
  $acx_csma_custom_html_top_temp3="";
 
 
126
  $acx_csma_desc_title3="What is Coming";
127
  $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."));
128
  $acx_csma_desc_text_color3="#000000";
@@ -133,6 +148,7 @@ $acx_csma_social_link_title_color3="#000000";
133
  $acx_csma_fb_link3="";
134
  $acx_csma_twitter_link3="";
135
  $acx_csma_linkedin_link3="";
 
136
  acx_csma_hook_function('acx_csma_hook_mainoptions_set_default_template_3');
137
  // ******************template 4*******************
138
  $acx_csma_background_image4 = ACX_CSMA_BASE_LOCATION . 'templates/4/images/body_bg.jpg';
@@ -153,6 +169,7 @@ $acx_csma_custom_html_bottom_temp4="";
153
  $acx_csma_fb_link4="";
154
  $acx_csma_twitter_link4="";
155
  $acx_csma_linkedin_link4="";
 
156
  acx_csma_hook_function('acx_csma_hook_mainoptions_set_default_template_4');
157
  //*******************template 5********************
158
  $acx_csma_bgcolor5="#e9eaec";
@@ -170,7 +187,11 @@ $acx_csma_timer_head_color5="#000000";
170
  $acx_csma_show_progressbar5=1;
171
  $acx_csma_progress_bar_color5="#717171";
172
  $acx_csma_custom_html_bottom_temp5="";
 
 
 
173
  $acx_csma_subscribe_bg_color5="#2f2f2f";
 
174
  $acx_csma_subscribe_main_title5 = "Want to know when we launch?";
175
  $acx_csma_subscribe_title5="Subscribe by entering your email below";
176
  $acx_csma_subscribe_success5="Successfully Subscribed";
@@ -178,6 +199,7 @@ $acx_csma_subscribe_invalid5="Invalid Email";
178
  $acx_csma_fb_link5="";
179
  $acx_csma_twitter_link5="";
180
  $acx_csma_linkedin_link5="";
 
181
  acx_csma_hook_function('acx_csma_hook_mainoptions_set_default_template_5');
182
 
183
  if($acx_csma_appearence_array=="" || !is_array($acx_csma_appearence_array))
@@ -201,6 +223,9 @@ if($acx_csma_appearence_array=="" || !is_array($acx_csma_appearence_array))
201
  'acx_csma_timer_bg_color1'=>sanitize_text_field($acx_csma_timer_bg_color1),
202
  'acx_csma_timer_iptext_color1'=>sanitize_text_field($acx_csma_timer_iptext_color1),
203
  'acx_csma_timer_head_color1'=>sanitize_text_field($acx_csma_timer_head_color1),
 
 
 
204
  'acx_csma_subscribe_bg_color1'=>sanitize_text_field($acx_csma_subscribe_bg_color1),
205
  'acx_csma_subscribe_btn_text1'=>sanitize_text_field($acx_csma_subscribe_btn_text1),
206
  'acx_csma_subscribe_btn_text_color1'=>sanitize_text_field($acx_csma_subscribe_btn_text_color1),
@@ -213,7 +238,8 @@ if($acx_csma_appearence_array=="" || !is_array($acx_csma_appearence_array))
213
  'acx_csma_subscribe_invalid1'=>sanitize_text_field($acx_csma_subscribe_invalid1),
214
  'acx_csma_footer_bgcolor1'=>sanitize_text_field($acx_csma_footer_bgcolor1),
215
  'acx_csma_footer_text1'=>sanitize_text_field($acx_csma_footer_text1),
216
- 'acx_csma_footer_text_color1'=>sanitize_text_field($acx_csma_footer_text_color1)
 
217
  );
218
  $acx_csma_appearence_array['2'] = array(
219
  'acx_csma_bg_color2'=>sanitize_text_field($acx_csma_bg_color2),
@@ -226,6 +252,8 @@ if($acx_csma_appearence_array=="" || !is_array($acx_csma_appearence_array))
226
  'acx_csma_subtitle_text2'=>sanitize_text_field($acx_csma_subtitle_text2),
227
  'acx_csma_subtitle_color2'=>sanitize_text_field($acx_csma_subtitle_color2),
228
  'acx_csma_inside_bg_color2'=>sanitize_text_field($acx_csma_inside_bg_color2),
 
 
229
  'acx_csma_timer_title2'=>sanitize_text_field($acx_csma_timer_title2),
230
  'acx_csma_subscribe_btn_color2'=>sanitize_text_field($acx_csma_subscribe_btn_color2),
231
  'acx_csma_subscribe_success2'=>sanitize_text_field($acx_csma_subscribe_success2),
@@ -239,7 +267,8 @@ if($acx_csma_appearence_array=="" || !is_array($acx_csma_appearence_array))
239
  'acx_csma_desc_text_color2'=>sanitize_text_field($acx_csma_desc_text_color2),
240
  'acx_csma_fb_link2'=>esc_url_raw($acx_csma_fb_link2),
241
  'acx_csma_twitter_link2'=>esc_url_raw($acx_csma_twitter_link2),
242
- 'acx_csma_linkedin_link2'=>esc_url_raw($acx_csma_linkedin_link2)
 
243
  );
244
  $acx_csma_appearence_array['3'] =array(
245
  'acx_csma_logo_choice'=>sanitize_text_field($acx_csma_logo_choice3),
@@ -250,6 +279,10 @@ if($acx_csma_appearence_array=="" || !is_array($acx_csma_appearence_array))
250
  'acx_csma_title_color3'=>sanitize_text_field($acx_csma_title_color3),
251
  'acx_csma_subtitle_text3'=>sanitize_text_field($acx_csma_subtitle_text3),
252
  'acx_csma_subtitle_color3'=>sanitize_text_field($acx_csma_subtitle_color3),
 
 
 
 
253
  'acx_csma_subscribe_title3'=>sanitize_text_field($acx_csma_subscribe_title3),
254
  'acx_csma_subscribe_title_color3'=>sanitize_text_field($acx_csma_subscribe_title_color3),
255
  'acx_csma_subscribe_btn_text3'=>sanitize_text_field($acx_csma_subscribe_btn_text3),
@@ -257,6 +290,8 @@ if($acx_csma_appearence_array=="" || !is_array($acx_csma_appearence_array))
257
  'acx_csma_subscribe_btn_color3'=>sanitize_text_field($acx_csma_subscribe_btn_color3),
258
  'acx_csma_subscribe_btn_hover_color3'=>sanitize_text_field($acx_csma_subscribe_btn_hover_color3),
259
  'acx_csma_subscribe_btn_hover_bgcolor3'=>sanitize_text_field($acx_csma_subscribe_btn_hover_bgcolor3),
 
 
260
  'acx_csma_subscribe_success3'=>sanitize_text_field($acx_csma_subscribe_success3),
261
  'acx_csma_subscribe_invalid3'=>sanitize_text_field($acx_csma_subscribe_invalid3),
262
  'acx_csma_inside_title3'=>sanitize_text_field($acx_csma_inside_title3),
@@ -264,6 +299,9 @@ if($acx_csma_appearence_array=="" || !is_array($acx_csma_appearence_array))
264
  'acx_csma_timer_iptext_color3'=>sanitize_text_field($acx_csma_timer_iptext_color3),
265
  'acx_csma_timer_head_color3'=>sanitize_text_field($acx_csma_timer_head_color3),
266
  'acx_csma_custom_html_top_temp3'=>$acx_csma_custom_html_top_temp3,
 
 
 
267
  'acx_csma_desc_title3'=>sanitize_text_field($acx_csma_desc_title3),
268
  'acx_csma_desc_subtitle3'=>sanitize_text_field($acx_csma_desc_subtitle3),
269
  'acx_csma_desc_text_color3'=>sanitize_text_field($acx_csma_desc_text_color3),
@@ -273,7 +311,8 @@ if($acx_csma_appearence_array=="" || !is_array($acx_csma_appearence_array))
273
  'acx_csma_social_link_title_color3'=>sanitize_text_field($acx_csma_social_link_title_color3),
274
  'acx_csma_fb_link3'=>esc_url_raw($acx_csma_fb_link3),
275
  'acx_csma_twitter_link3'=>esc_url_raw($acx_csma_twitter_link3),
276
- 'acx_csma_linkedin_link3'=>esc_url_raw($acx_csma_linkedin_link3)
 
277
  );
278
  $acx_csma_appearence_array['4'] =array(
279
  'acx_csma_background_image4'=>$acx_csma_background_image4,
@@ -293,7 +332,8 @@ if($acx_csma_appearence_array=="" || !is_array($acx_csma_appearence_array))
293
  'acx_csma_custom_html_bottom_temp4'=>$acx_csma_custom_html_bottom_temp4,
294
  'acx_csma_fb_link4'=>esc_url_raw($acx_csma_fb_link4),
295
  'acx_csma_twitter_link4'=>esc_url_raw($acx_csma_twitter_link4),
296
- 'acx_csma_linkedin_link4'=>esc_url_raw($acx_csma_linkedin_link4)
 
297
  );
298
  $acx_csma_appearence_array['5'] =array(
299
  'acx_csma_bgcolor5'=>sanitize_text_field($acx_csma_bgcolor5),
@@ -311,14 +351,19 @@ if($acx_csma_appearence_array=="" || !is_array($acx_csma_appearence_array))
311
  'acx_csma_show_progressbar5'=>$acx_csma_show_progressbar5,
312
  'acx_csma_progress_bar_color5'=>sanitize_text_field($acx_csma_progress_bar_color5),
313
  'acx_csma_custom_html_bottom_temp5'=>$acx_csma_custom_html_bottom_temp5,
 
 
 
314
  'acx_csma_subscribe_bg_color5'=>sanitize_text_field($acx_csma_subscribe_bg_color5),
 
315
  'acx_csma_subscribe_main_title5' => sanitize_text_field($acx_csma_subscribe_main_title5),
316
  'acx_csma_subscribe_title5'=>sanitize_text_field($acx_csma_subscribe_title5),
317
  'acx_csma_subscribe_success5'=>sanitize_text_field($acx_csma_subscribe_success5),
318
  'acx_csma_subscribe_invalid5'=>sanitize_text_field($acx_csma_subscribe_invalid5),
319
  'acx_csma_fb_link5'=>esc_url_raw($acx_csma_fb_link5),
320
  'acx_csma_twitter_link5'=>esc_url_raw($acx_csma_twitter_link5),
321
- 'acx_csma_linkedin_link5'=>esc_url_raw($acx_csma_linkedin_link5)
 
322
  );
323
 
324
  if(!is_serialized($acx_csma_appearence_array))
@@ -328,6 +373,7 @@ if($acx_csma_appearence_array=="" || !is_array($acx_csma_appearence_array))
328
  update_option('acx_csma_appearence_array',$acx_csma_appearence_array);
329
  acx_csma_hook_function('acx_csma_hook_mainoptions_update_default_values');
330
  }
 
331
  if(ISSET($_POST['acx_csma_hidden']))
332
  {
333
  $acx_csma_hidden = $_POST['acx_csma_hidden'];
@@ -387,6 +433,15 @@ if($acx_csma_hidden == 'Y')
387
  }
388
  update_option('acx_csma_restrict_role', $acx_csma_restrict_role);
389
  }
 
 
 
 
 
 
 
 
 
390
 
391
  //************************************************template 1 ********************************************
392
  $acx_csma_appearence_array=get_option('acx_csma_appearence_array');
@@ -425,6 +480,12 @@ if(is_serialized($acx_csma_appearence_array))
425
  $acx_csma_timer_bg_color1=sanitize_text_field($_POST['acx_csma_timer_bg_color1']);if($acx_csma_timer_bg_color1==""){ $acx_csma_timer_bg_color1=$acx_csma_appearence_array['1']['acx_csma_timer_bg_color1'];}
426
  $acx_csma_timer_iptext_color1=sanitize_text_field($_POST['acx_csma_timer_iptext_color1']);if($acx_csma_timer_iptext_color1==""){$acx_csma_timer_iptext_color1=$acx_csma_appearence_array['1']['acx_csma_timer_iptext_color1'];}
427
  $acx_csma_timer_head_color1=sanitize_text_field($_POST['acx_csma_timer_head_color1']);if($acx_csma_timer_head_color1==""){$acx_csma_timer_head_color1=$acx_csma_appearence_array['1']['acx_csma_timer_head_color1'];}
 
 
 
 
 
 
428
  $acx_csma_subscribe_bg_color1=sanitize_text_field($_POST['acx_csma_subscribe_bg_color1']);if($acx_csma_subscribe_bg_color1==""){$acx_csma_subscribe_bg_color1=$acx_csma_appearence_array['1']['acx_csma_subscribe_bg_color1'];}
429
  $acx_csma_subscribe_btn_text1=sanitize_text_field($_POST['acx_csma_subscribe_btn_text1']);if($acx_csma_subscribe_btn_text1==""){$acx_csma_subscribe_btn_text1=$acx_csma_appearence_array['1']['acx_csma_subscribe_btn_text1'];}
430
  $acx_csma_subscribe_btn_text_color1=sanitize_text_field($_POST['acx_csma_subscribe_btn_text_color1']);if($acx_csma_subscribe_btn_text_color1==""){$acx_csma_subscribe_btn_text_color1=$acx_csma_appearence_array['1']['acx_csma_subscribe_btn_text_color1'];}
@@ -438,6 +499,9 @@ if(is_serialized($acx_csma_appearence_array))
438
  $acx_csma_footer_bgcolor1=sanitize_text_field($_POST['acx_csma_footer_bgcolor1']);if($acx_csma_footer_bgcolor1==""){$acx_csma_footer_bgcolor1=$acx_csma_appearence_array['1']['acx_csma_footer_bgcolor1'];}
439
  $acx_csma_footer_text1=sanitize_text_field($_POST['acx_csma_footer_text1']);if($acx_csma_footer_text1==""){$acx_csma_footer_text1=$acx_csma_appearence_array['1']['acx_csma_footer_text1'];}
440
  $acx_csma_footer_text_color1=sanitize_text_field($_POST['acx_csma_footer_text_color1']);if($acx_csma_footer_text_color1==""){$acx_csma_footer_text_color1=$acx_csma_appearence_array['1']['acx_csma_footer_text_color1'];}
 
 
 
441
  // **************************************template 2**************************************
442
  $acx_csma_bg_color2 = sanitize_text_field($_POST['acx_csma_bg_color2']);if($acx_csma_bg_color2==""){$acx_csma_bg_color2=$acx_csma_appearence_array['2']['acx_csma_bg_color2'];}
443
 
@@ -461,10 +525,15 @@ if(is_serialized($acx_csma_appearence_array))
461
  $acx_csma_subtitle_text2=sanitize_text_field($_POST['acx_csma_subtitle_text2']);if($acx_csma_subtitle_text2==""){$acx_csma_subtitle_text2=$acx_csma_appearence_array['2']['acx_csma_subtitle_text2'];}
462
  $acx_csma_subtitle_color2=sanitize_text_field($_POST['acx_csma_subtitle_color2']);if($acx_csma_subtitle_color2==""){$acx_csma_subtitle_color2=$acx_csma_appearence_array['2']['acx_csma_subtitle_color2'];}
463
  $acx_csma_inside_bg_color2=sanitize_text_field($_POST['acx_csma_inside_bg_color2']);if($acx_csma_inside_bg_color2==""){$acx_csma_inside_bg_color2=$acx_csma_appearence_array['2']['acx_csma_inside_bg_color2'];}
 
 
 
464
  $acx_csma_timer_title2=sanitize_text_field($_POST['acx_csma_timer_title2']);if($acx_csma_timer_title2==""){$acx_csma_timer_title2=$acx_csma_appearence_array['2']['acx_csma_timer_title2'];}
465
  $acx_csma_subscribe_btn_color2=sanitize_text_field($_POST['acx_csma_subscribe_btn_color2']);if($acx_csma_subscribe_btn_color2==""){$acx_csma_subscribe_btn_color2=$acx_csma_appearence_array['2']['acx_csma_subscribe_btn_color2'];}
466
  $acx_csma_subscribe_success2=sanitize_text_field($_POST['acx_csma_subscribe_success2']);if($acx_csma_subscribe_success2==""){$acx_csma_subscribe_success2=$acx_csma_appearence_array['2']['acx_csma_subscribe_success2'];}
467
  $acx_csma_subscribe_invalid2=sanitize_text_field($_POST['acx_csma_subscribe_invalid2']);if($acx_csma_subscribe_invalid2==""){$acx_csma_subscribe_invalid2=$acx_csma_appearence_array['2']['acx_csma_subscribe_invalid2'];}
 
 
468
  $acx_csma_timer_input_bg_color2=sanitize_text_field($_POST['acx_csma_timer_input_bg_color2']);if($acx_csma_timer_input_bg_color2==""){$acx_csma_timer_input_bg_color2=$acx_csma_appearence_array['2']['acx_csma_timer_input_bg_color2'];}
469
  $acx_csma_timer_iptext_color2=sanitize_text_field($_POST['acx_csma_timer_iptext_color2']);if($acx_csma_timer_iptext_color2==""){$acx_csma_timer_iptext_color2=$acx_csma_appearence_array['2']['acx_csma_timer_iptext_color2'];}
470
  $acx_csma_timer_head_color2=sanitize_text_field($_POST['acx_csma_timer_head_color2']);if($acx_csma_timer_head_color2==""){$acx_csma_timer_head_color2=$acx_csma_appearence_array['2']['acx_csma_timer_head_color2'];}
@@ -472,9 +541,10 @@ if(is_serialized($acx_csma_appearence_array))
472
  $acx_csma_desc_title2=sanitize_text_field($_POST['acx_csma_desc_title2']);
473
  $acx_csma_desc_subtitle2=stripslashes(trim($_POST['acx_csma_desc_subtitle2']));
474
  $acx_csma_desc_text_color2=sanitize_text_field($_POST['acx_csma_desc_text_color2']);if($acx_csma_desc_text_color2==""){$acx_csma_desc_text_color2=$acx_csma_appearence_array['2']['acx_csma_desc_text_color2'];}
475
- $acx_csma_fb_link2=esc_url_raw($_POST['acx_csma_fb_link2']);if($acx_csma_fb_link2==""){$acx_csma_fb_link2=$acx_csma_appearence_array['2']['acx_csma_fb_link2'];}
476
- $acx_csma_twitter_link2=esc_url_raw($_POST['acx_csma_twitter_link2']);if($acx_csma_twitter_link2==""){$acx_csma_twitter_link2=$acx_csma_appearence_array['2']['acx_csma_twitter_link2'];}
477
- $acx_csma_linkedin_link2=esc_url_raw($_POST['acx_csma_linkedin_link2']);if($acx_csma_linkedin_link2==""){$acx_csma_linkedin_link2=$acx_csma_appearence_array['2']['acx_csma_linkedin_link2'];}
 
478
  //***********************************template 3*************************
479
  if(ISSET($_POST['acx_csma_logo_choice3']))
480
  {
@@ -495,8 +565,19 @@ if(is_serialized($acx_csma_appearence_array))
495
  $acx_csma_title_color3= sanitize_text_field($_POST['acx_csma_title_color3']);if($acx_csma_title_color3==""){$acx_csma_title_color3=$acx_csma_appearence_array['3']['acx_csma_title_color3'];}
496
  $acx_csma_subtitle_text3= sanitize_text_field($_POST['acx_csma_subtitle_text3']);if($acx_csma_subtitle_text3==""){$acx_csma_subtitle_text3=$acx_csma_appearence_array['3']['acx_csma_subtitle_text3'];}
497
  $acx_csma_subtitle_color3= sanitize_text_field($_POST['acx_csma_subtitle_color3']);if($acx_csma_subtitle_color3==""){$acx_csma_subtitle_color3=$acx_csma_appearence_array['3']['acx_csma_subtitle_color3'];}
 
 
 
 
 
 
 
 
 
498
  $acx_csma_subscribe_title3= sanitize_text_field($_POST['acx_csma_subscribe_title3']);if($acx_csma_subscribe_title3==""){$acx_csma_subscribe_title3=$acx_csma_appearence_array['3']['acx_csma_subscribe_title3'];}
499
  $acx_csma_subscribe_title_color3= sanitize_text_field($_POST['acx_csma_subscribe_title_color3']);if($acx_csma_subscribe_title_color3==""){$acx_csma_subscribe_title_color3=$acx_csma_appearence_array['3']['acx_csma_subscribe_title_color3'];}
 
 
500
  $acx_csma_subscribe_btn_text3=sanitize_text_field($_POST['acx_csma_subscribe_btn_text3']);if($acx_csma_subscribe_btn_text3==""){$acx_csma_subscribe_btn_text3=$acx_csma_appearence_array['3']['acx_csma_subscribe_btn_text3'];}
501
  $acx_csma_subscribe_btn_text_color3=sanitize_text_field($_POST['acx_csma_subscribe_btn_text_color3']);if($acx_csma_subscribe_btn_text_color3==""){$acx_csma_subscribe_btn_text_color3=$acx_csma_appearence_array['3']['acx_csma_subscribe_btn_text_color3'];}
502
  $acx_csma_subscribe_btn_color3=sanitize_text_field($_POST['acx_csma_subscribe_btn_color3']);if($acx_csma_subscribe_btn_color3==""){$acx_csma_subscribe_btn_color3=$acx_csma_appearence_array['3']['acx_csma_subscribe_btn_color3'];}
@@ -509,6 +590,8 @@ if(is_serialized($acx_csma_appearence_array))
509
  $acx_csma_timer_iptext_color3= sanitize_text_field($_POST['acx_csma_timer_iptext_color3']);if($acx_csma_timer_iptext_color3==""){$acx_csma_timer_iptext_color3=$acx_csma_appearence_array['3']['acx_csma_timer_iptext_color3'];}
510
  $acx_csma_timer_head_color3= sanitize_text_field($_POST['acx_csma_timer_head_color3']);if($acx_csma_timer_head_color3==""){$acx_csma_timer_head_color3=$acx_csma_appearence_array['3']['acx_csma_timer_head_color3'];}
511
  $acx_csma_custom_html_top_temp3=stripslashes(trim($_POST['acx_csma_custom_html_top_temp3']));
 
 
512
  $acx_csma_desc_title3= sanitize_text_field($_POST['acx_csma_desc_title3']);
513
  $acx_csma_desc_subtitle3=stripslashes(trim($_POST['acx_csma_desc_subtitle3']));
514
  $acx_csma_desc_text_color3= sanitize_text_field($_POST['acx_csma_desc_text_color3']);if($acx_csma_desc_text_color3==""){$acx_csma_desc_text_color3=$acx_csma_appearence_array['3']['acx_csma_desc_text_color3'];}
@@ -516,10 +599,10 @@ if(is_serialized($acx_csma_appearence_array))
516
  $acx_csma_footer_color3=sanitize_text_field($_POST['acx_csma_footer_color3']);if($acx_csma_footer_color3==""){$acx_csma_footer_color3=$acx_csma_appearence_array['3']['acx_csma_footer_color3'];}
517
  $acx_csma_social_link_title3=sanitize_text_field($_POST['acx_csma_social_link_title3']);if($acx_csma_social_link_title3==""){$acx_csma_social_link_title3=$acx_csma_appearence_array['3']['acx_csma_social_link_title3'];}
518
  $acx_csma_social_link_title_color3=sanitize_text_field($_POST['acx_csma_social_link_title_color3']);if($acx_csma_social_link_title_color3==""){$acx_csma_social_link_title_color3=$acx_csma_appearence_array['3']['acx_csma_social_link_title_color3'];}
519
- $acx_csma_fb_link3=esc_url_raw($_POST['acx_csma_fb_link3']);if($acx_csma_fb_link3==""){$acx_csma_fb_link3=$acx_csma_appearence_array['3']['acx_csma_fb_link3'];}
520
- $acx_csma_twitter_link3=esc_url_raw($_POST['acx_csma_twitter_link3']);if($acx_csma_twitter_link3==""){$acx_csma_twitter_link3=$acx_csma_appearence_array['3']['acx_csma_twitter_link3'];}
521
- $acx_csma_linkedin_link3=esc_url_raw($_POST['acx_csma_linkedin_link3']);if($acx_csma_linkedin_link3==""){$acx_csma_linkedin_link3=$acx_csma_appearence_array['3']['acx_csma_linkedin_link3'];}
522
-
523
  //********************************template 4***********************************
524
  $acx_csma_background_image4=sanitize_text_field($_POST['acx_csma_background_image4']);if($acx_csma_background_image4==""){$acx_csma_background_image4=$acx_csma_appearence_array['4']['acx_csma_background_image4'];}
525
  if(ISSET($_POST['acx_csma_logo_choice4']))
@@ -546,10 +629,10 @@ if(is_serialized($acx_csma_appearence_array))
546
  $acx_csma_show_progressbar4=sanitize_text_field($_POST['acx_csma_show_progressbar4']);if($acx_csma_show_progressbar4==""){ $acx_csma_show_progressbar4=$acx_csma_appearence_array['4']['acx_csma_show_progressbar4'];}
547
  $acx_csma_progress_bar_color4=sanitize_text_field($_POST['acx_csma_progress_bar_color4']);if($acx_csma_progress_bar_color4==""){$acx_csma_progress_bar_color4=$acx_csma_appearence_array['4']['acx_csma_progress_bar_color4'];}
548
  $acx_csma_custom_html_bottom_temp4=stripslashes(trim($_POST['acx_csma_custom_html_bottom_temp4']));
549
- $acx_csma_fb_link4=esc_url_raw($_POST['acx_csma_fb_link4']);if($acx_csma_fb_link4==""){$acx_csma_fb_link4=$acx_csma_appearence_array['4']['acx_csma_fb_link4'];}
550
- $acx_csma_twitter_link4=esc_url_raw($_POST['acx_csma_twitter_link4']);if($acx_csma_twitter_link4==""){$acx_csma_twitter_link4=$acx_csma_appearence_array['4']['acx_csma_twitter_link4'];}
551
- $acx_csma_linkedin_link4=esc_url_raw($_POST['acx_csma_linkedin_link4']);if($acx_csma_linkedin_link4==""){$acx_csma_linkedin_link4=$acx_csma_appearence_array['4']['acx_csma_linkedin_link4'];}
552
-
553
  //********************************template5*********************************
554
  $acx_csma_bgcolor5=sanitize_text_field($_POST['acx_csma_bgcolor5']);if($acx_csma_bgcolor5==""){$acx_csma_bgcolor5=$acx_csma_appearence_array['5']['acx_csma_bgcolor5'];}
555
  if(ISSET($_POST['acx_csma_logo_choice5']))
@@ -577,15 +660,21 @@ if(is_serialized($acx_csma_appearence_array))
577
  $acx_csma_progress_bar_color5=sanitize_text_field($_POST['acx_csma_progress_bar_color5']);if($acx_csma_progress_bar_color5==""){$acx_csma_progress_bar_color5=$acx_csma_appearence_array['5']['acx_csma_progress_bar_color5'];}
578
  $acx_csma_custom_html_bottom_temp5=stripslashes(trim($_POST['acx_csma_custom_html_bottom_temp5']));
579
  $acx_csma_subscribe_bg_color5=sanitize_text_field($_POST['acx_csma_subscribe_bg_color5']);if($acx_csma_subscribe_bg_color5==""){$acx_csma_subscribe_bg_color5=$acx_csma_appearence_array['5']['acx_csma_subscribe_bg_color5'];}
 
 
 
 
580
 
581
  $acx_csma_subscribe_main_title5=sanitize_text_field($_POST['acx_csma_subscribe_main_title5']);if($acx_csma_subscribe_main_title5==""){$acx_csma_subscribe_main_title5=$acx_csma_appearence_array['5']['acx_csma_subscribe_main_title5'];}
582
 
583
  $acx_csma_subscribe_title5=sanitize_text_field($_POST['acx_csma_subscribe_title5']);if($acx_csma_subscribe_title5==""){$acx_csma_subscribe_title5=$acx_csma_appearence_array['5']['acx_csma_subscribe_title5'];}
584
  $acx_csma_subscribe_success5=sanitize_text_field($_POST['acx_csma_subscribe_success5']);if($acx_csma_subscribe_success5==""){$acx_csma_subscribe_success5=$acx_csma_appearence_array['5']['acx_csma_subscribe_success5'];}
585
  $acx_csma_subscribe_invalid5=sanitize_text_field($_POST['acx_csma_subscribe_invalid5']);if($acx_csma_subscribe_invalid5==""){$acx_csma_subscribe_invalid5=$acx_csma_appearence_array['5']['acx_csma_subscribe_invalid5'];}
586
- $acx_csma_fb_link5=esc_url_raw($_POST['acx_csma_fb_link5']);if($acx_csma_fb_link5==""){$acx_csma_fb_link5=$acx_csma_appearence_array['5']['acx_csma_fb_link5'];}
587
- $acx_csma_twitter_link5=esc_url_raw($_POST['acx_csma_twitter_link5']);if($acx_csma_twitter_link5==""){$acx_csma_twitter_link5=$acx_csma_appearence_array['5']['acx_csma_twitter_link5'];}
588
- $acx_csma_linkedin_link5=esc_url_raw($_POST['acx_csma_linkedin_link5']);if($acx_csma_linkedin_link5==""){$acx_csma_linkedin_link5=$acx_csma_appearence_array['5']['acx_csma_linkedin_link5'];}
 
 
589
 
590
  $acx_csma_template=$_POST['acx_csma_template'];
591
  if($acx_csma_template==""){$acx_csma_template=1;}
@@ -628,6 +717,9 @@ if(is_serialized($acx_csma_appearence_array))
628
  'acx_csma_timer_bg_color1'=>$acx_csma_timer_bg_color1,
629
  'acx_csma_timer_iptext_color1'=>$acx_csma_timer_iptext_color1,
630
  'acx_csma_timer_head_color1'=>$acx_csma_timer_head_color1,
 
 
 
631
  'acx_csma_subscribe_bg_color1'=>$acx_csma_subscribe_bg_color1,
632
  'acx_csma_subscribe_btn_text1'=>$acx_csma_subscribe_btn_text1,
633
  'acx_csma_subscribe_btn_text_color1'=>$acx_csma_subscribe_btn_text_color1,
@@ -640,7 +732,8 @@ if(is_serialized($acx_csma_appearence_array))
640
  'acx_csma_subscribe_invalid1'=>$acx_csma_subscribe_invalid1,
641
  'acx_csma_footer_bgcolor1'=>$acx_csma_footer_bgcolor1,
642
  'acx_csma_footer_text1'=>$acx_csma_footer_text1,
643
- 'acx_csma_footer_text_color1'=>$acx_csma_footer_text_color1
 
644
  );
645
  }
646
  if(!is_serialized($acx_csma_appearence_array))
@@ -670,6 +763,8 @@ if(is_serialized($acx_csma_appearence_array))
670
  'acx_csma_subtitle_text2'=>$acx_csma_subtitle_text2,
671
  'acx_csma_subtitle_color2'=>$acx_csma_subtitle_color2,
672
  'acx_csma_inside_bg_color2'=>$acx_csma_inside_bg_color2,
 
 
673
  'acx_csma_timer_title2'=>$acx_csma_timer_title2,
674
  'acx_csma_subscribe_btn_color2'=>$acx_csma_subscribe_btn_color2,
675
  'acx_csma_subscribe_success2'=>$acx_csma_subscribe_success2,
@@ -683,7 +778,8 @@ if(is_serialized($acx_csma_appearence_array))
683
  'acx_csma_desc_text_color2'=>$acx_csma_desc_text_color2,
684
  'acx_csma_fb_link2'=>$acx_csma_fb_link2,
685
  'acx_csma_twitter_link2'=>$acx_csma_twitter_link2,
686
- 'acx_csma_linkedin_link2'=>$acx_csma_linkedin_link2
 
687
  );
688
  }
689
  if(!is_serialized($acx_csma_appearence_array))
@@ -711,6 +807,10 @@ if(is_serialized($acx_csma_appearence_array))
711
  'acx_csma_title_color3'=>$acx_csma_title_color3,
712
  'acx_csma_subtitle_text3'=>$acx_csma_subtitle_text3,
713
  'acx_csma_subtitle_color3'=>$acx_csma_subtitle_color3,
 
 
 
 
714
  'acx_csma_subscribe_title3'=>$acx_csma_subscribe_title3,
715
  'acx_csma_subscribe_title_color3'=>$acx_csma_subscribe_title_color3,
716
  'acx_csma_subscribe_btn_text3'=>$acx_csma_subscribe_btn_text3,
@@ -721,10 +821,14 @@ if(is_serialized($acx_csma_appearence_array))
721
  'acx_csma_subscribe_success3'=>$acx_csma_subscribe_success3,
722
  'acx_csma_subscribe_invalid3'=>$acx_csma_subscribe_invalid3,
723
  'acx_csma_inside_title3'=>$acx_csma_inside_title3,
 
 
724
  'acx_csma_inside_title_color3'=>$acx_csma_inside_title_color3,
725
  'acx_csma_timer_iptext_color3'=>$acx_csma_timer_iptext_color3,
726
  'acx_csma_timer_head_color3'=>$acx_csma_timer_head_color3,
727
  'acx_csma_custom_html_top_temp3'=>$acx_csma_custom_html_top_temp3,
 
 
728
  'acx_csma_desc_title3'=>$acx_csma_desc_title3,
729
  'acx_csma_desc_subtitle3'=>$acx_csma_desc_subtitle3,
730
  'acx_csma_desc_text_color3'=>$acx_csma_desc_text_color3,
@@ -734,7 +838,8 @@ if(is_serialized($acx_csma_appearence_array))
734
  'acx_csma_social_link_title_color3'=>$acx_csma_social_link_title_color3,
735
  'acx_csma_fb_link3'=>$acx_csma_fb_link3,
736
  'acx_csma_twitter_link3'=>$acx_csma_twitter_link3,
737
- 'acx_csma_linkedin_link3'=>$acx_csma_linkedin_link3
 
738
  );
739
  }
740
  if(!is_serialized($acx_csma_appearence_array))
@@ -771,7 +876,8 @@ if(is_serialized($acx_csma_appearence_array))
771
  'acx_csma_custom_html_bottom_temp4'=>$acx_csma_custom_html_bottom_temp4,
772
  'acx_csma_fb_link4'=>$acx_csma_fb_link4,
773
  'acx_csma_twitter_link4'=>$acx_csma_twitter_link4,
774
- 'acx_csma_linkedin_link4'=>$acx_csma_linkedin_link4
 
775
  );
776
  }
777
  if(!is_serialized($acx_csma_appearence_array))
@@ -806,14 +912,19 @@ if(is_serialized($acx_csma_appearence_array))
806
  'acx_csma_show_progressbar5'=>$acx_csma_show_progressbar5,
807
  'acx_csma_progress_bar_color5'=>$acx_csma_progress_bar_color5,
808
  'acx_csma_custom_html_bottom_temp5'=>$acx_csma_custom_html_bottom_temp5,
 
 
 
809
  'acx_csma_subscribe_bg_color5'=>$acx_csma_subscribe_bg_color5,
 
810
  'acx_csma_subscribe_main_title5' =>$acx_csma_subscribe_main_title5,
811
  'acx_csma_subscribe_title5'=>$acx_csma_subscribe_title5,
812
  'acx_csma_subscribe_success5'=>$acx_csma_subscribe_success5,
813
  'acx_csma_subscribe_invalid5'=>$acx_csma_subscribe_invalid5,
814
  'acx_csma_fb_link5'=>$acx_csma_fb_link5,
815
  'acx_csma_twitter_link5'=>$acx_csma_twitter_link5,
816
- 'acx_csma_linkedin_link5'=>$acx_csma_linkedin_link5
 
817
  );
818
  }
819
  if(!is_serialized($acx_csma_appearence_array))
@@ -897,7 +1008,7 @@ else
897
  $acx_csma_restrict_role=get_option('acx_csma_restrict_role');
898
  if($acx_csma_restrict_role=="")
899
  {
900
- $acx_csma_restrict_role=array("Administrator");
901
  if(!is_serialized($acx_csma_restrict_role ))
902
  {
903
  $acx_csma_restrict_role = serialize($acx_csma_restrict_role);
@@ -1343,6 +1454,40 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
1343
  <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>
1344
  <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;">
1345
  <div class="acx_csmap_q_and_a_inside">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1346
  <label>
1347
  Background Color:<a onclick="acx_csma_restore_default('','#0b1c2c','acx_csma_subscribe_bg_color1');" class="acx_csmap_button_reset">[Reset To Default]</a>
1348
  </label>
@@ -1449,7 +1594,40 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
1449
  </div> <!-- acx_csmap_q_and_a -->
1450
  </div> <!-- acx_csmap_q_and_a_h -->
1451
  <!-- ################################# QUESTION AND ANSWER SET ENDS HERE ############################################-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1452
  </div> <!-- acx_csma_1_p_q_and_a_h_main_holder -->
 
 
 
 
 
 
 
 
 
1453
  </div><!--acx_csma_template_1-->
1454
 
1455
  <div id="acx_csma_template_2" style="display:none;" class="acx_csma_template_option_holder">
@@ -1601,6 +1779,14 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
1601
  <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>
1602
  <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;">
1603
  <div class="acx_csmap_q_and_a_inside">
 
 
 
 
 
 
 
 
1604
  <label>
1605
  Timer Block Title
1606
  </label>
@@ -1608,8 +1794,15 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
1608
  <input type="text" name="acx_csma_timer_title2" value="<?php echo stripslashes(esc_attr($acx_csma_appearence_array['2']['acx_csma_timer_title2'])); ?>" size="20"/>
1609
  </div> <!-- acx_qa_field -->
1610
  <label>
1611
- Subscribe Button TextColor:<a onclick="acx_csma_restore_default('','#ffd800','acx_csma_subscribe_btn_color2');" class="acx_csmap_button_reset">[Reset To Default]</a>
1612
-
 
 
 
 
 
 
 
1613
  </label>
1614
  <div class="acx_qa_field">
1615
  <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"/>
@@ -1627,6 +1820,7 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
1627
  <div class="acx_qa_field">
1628
  <input type="text" name="acx_csma_subscribe_invalid2" value="<?php echo stripslashes(esc_attr($acx_csma_appearence_array['2']['acx_csma_subscribe_invalid2'])); ?>" size="20"/>
1629
  </div> <!-- acx_qa_field -->
 
1630
  <label>
1631
  Timer Input BackgroundColor:<a onclick="acx_csma_restore_default('','#ffffff','acx_csma_timer_input_bg_color2');" class="acx_csmap_button_reset">[Reset To Default]</a>
1632
  </label>
@@ -1712,6 +1906,29 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
1712
  </div> <!-- acx_csmap_q_and_a -->
1713
  </div> <!-- acx_csmap_q_and_a_h -->
1714
  <!-- ################################# QUESTION AND ANSWER SET ENDS HERE #############################################-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1715
 
1716
  </div> <!-- acx_csma_2_p_q_and_a_h_main_holder -->
1717
  </div><!--acx_csma_template_2-->
@@ -1790,6 +2007,58 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
1790
  </div> <!-- acx_csmap_q_and_a -->
1791
  </div> <!-- acx_csmap_q_and_a_h -->
1792
  <!-- ################################# QUESTION AND ANSWER SET ENDS HERE #############################################-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1793
  <!-- ################################ QUESTION AND ANSWER SET STARTS HERE ############################################-->
1794
  <?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
1795
 
@@ -1840,7 +2109,16 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
1840
  <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>
1841
  <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;">
1842
  <div class="acx_csmap_q_and_a_inside">
1843
-
 
 
 
 
 
 
 
 
 
1844
  <label>
1845
  Title:
1846
  </label>
@@ -1941,6 +2219,35 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
1941
  <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>
1942
  <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;">
1943
  <div class="acx_csmap_q_and_a_inside">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1944
  <label>
1945
  Input Text Color:<a onclick="acx_csma_restore_default('','#000000','acx_csma_timer_iptext_color3');" class="acx_csmap_button_reset">[Reset To Default]</a>
1946
  </label>
@@ -2059,6 +2366,29 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
2059
  </div> <!-- acx_csmap_q_and_a -->
2060
  </div> <!-- acx_csmap_q_and_a_h -->
2061
  <!-- ################################# QUESTION AND ANSWER SET ENDS HERE #############################################-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2062
 
2063
  </div> <!-- acx_csma_3_p_q_and_a_h_main_holder -->
2064
  </div><!--acx_csma_template_3-->
@@ -2302,6 +2632,30 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
2302
  </div> <!-- acx_csmap_q_and_a -->
2303
  </div> <!-- acx_csmap_q_and_a_h -->
2304
  <!-- ################################# QUESTION AND ANSWER SET ENDS HERE #############################################-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2305
  </div> <!-- acx_csma_4_p_q_and_a_h_main_holder -->
2306
  </div><!--acx_csma_template_4-->
2307
 
@@ -2516,6 +2870,32 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
2516
  <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>
2517
  <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;">
2518
  <div class="acx_csmap_q_and_a_inside">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2519
  <label>
2520
  Background Color:<a onclick="acx_csma_restore_default('','#2f2f2f','acx_csma_subscribe_bg_color5');" class="acx_csmap_button_reset">[Reset To Default]</a>
2521
  </label>
@@ -2530,6 +2910,13 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
2530
  <input type="text" name="acx_csma_subscribe_main_title5" value="<?php echo stripslashes(esc_attr($acx_csma_appearence_array['5']['acx_csma_subscribe_main_title5'])); ?>" size="20"/>
2531
  </div> <!-- acx_qa_field -->
2532
  <label>
 
 
 
 
 
 
 
2533
  Title:
2534
  </label>
2535
  <div class="acx_qa_field">
@@ -2582,7 +2969,29 @@ acx_csma_hook_function('acx_csma_hook_mainoptions_outside_if_submit');
2582
  </div> <!-- acx_csmap_q_and_a -->
2583
  </div> <!-- acx_csmap_q_and_a_h -->
2584
  <!-- ################################# QUESTION AND ANSWER SET ENDS HERE #############################################-->
 
 
2585
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2586
  </div> <!-- acx_csma_5_p_q_and_a_h_main_holder -->
2587
  </div><!--acx_csma_template_5-->
2588
  <?php acx_csma_hook_function('acx_csma_hook_mainoptions_below_appearence_settings'); ?>
60
  $acx_csma_timer_bg_color1="#ffffff";
61
  $acx_csma_timer_iptext_color1="#ffffff";
62
  $acx_csma_timer_head_color1="#ff7800";
63
+ $acx_csma_show_subscription = 1;
64
+ $acx_csma_custom_html_top_sub1 = "";
65
+ $acx_csma_custom_html_bottom_sub1= "";
66
  $acx_csma_subscribe_bg_color1="#0b1c2c";
67
  $acx_csma_subscribe_btn_text1="submit";
68
  $acx_csma_subscribe_btn_text_color1="#ffffff";
76
  $acx_csma_footer_bgcolor1="#ff7800";
77
  $acx_csma_footer_text1="&copy;". date("Y")." All rights reserved";
78
  $acx_csma_footer_text_color1="#ffffff";
79
+ $acx_csma_custom_css_temp1= "";
80
  acx_csma_hook_function('acx_csma_hook_mainoptions_set_default_template_1');
81
  // *******************template2*********************
82
  $acx_csma_bg_color2="#e4e4e4";
89
  $acx_csma_subtitle_text2="We are Coming Very Soon";
90
  $acx_csma_subtitle_color2="#000000";
91
  $acx_csma_inside_bg_color2="#ffd800";
92
+ $acx_csma_custom_html_top_timer="";
93
+ $acx_csma_show_subscription2 = 1;
94
  $acx_csma_timer_title2="Estimate time for launching";
95
  $acx_csma_subscribe_btn_color2="#ffd800";
96
  $acx_csma_subscribe_success2="Successfully Subscribed";
105
  $acx_csma_fb_link2="";
106
  $acx_csma_twitter_link2="";
107
  $acx_csma_linkedin_link2="";
108
+ $acx_csma_custom_css_temp2="";
109
  acx_csma_hook_function('acx_csma_hook_mainoptions_set_default_template_2');
110
  //*******************template 3*******************
111
  $acx_csma_logo3= ACX_CSMA_BASE_LOCATION . 'templates/3/images/logo.png';
116
  $acx_csma_title_color3="#ffffff";
117
  $acx_csma_subtitle_text3="We are Coming Very Soon";
118
  $acx_csma_subtitle_color3="#ffffff";
119
+ $acx_csma_primary_color3="#ffffff";
120
+ $acx_csma_secondary_color3="#fe7e01";
121
+ $acx_csma_left_bar_color3="#000000";
122
+ $acx_csma_timer_color3="#ffffff";
123
  $acx_csma_subscribe_title3="Subscribe Now";
124
  $acx_csma_subscribe_title_color3="#fe7e01";
125
+ $acx_csma_show_subscription3 = 1;
126
+ $acx_csma_show_timer3 = 1;
127
  $acx_csma_subscribe_btn_text3="submit";
128
  $acx_csma_subscribe_btn_text_color3="#ffffff";
129
  $acx_csma_subscribe_btn_color3="#fe7e01";
136
  $acx_csma_timer_iptext_color3="#000000";
137
  $acx_csma_timer_head_color3="#000000";
138
  $acx_csma_custom_html_top_temp3="";
139
+ $acx_csma_custom_html_top_timer_temp3="";
140
+ $acx_csma_custom_html_bottom_temp3="";
141
  $acx_csma_desc_title3="What is Coming";
142
  $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."));
143
  $acx_csma_desc_text_color3="#000000";
148
  $acx_csma_fb_link3="";
149
  $acx_csma_twitter_link3="";
150
  $acx_csma_linkedin_link3="";
151
+ $acx_csma_custom_css_temp3="";
152
  acx_csma_hook_function('acx_csma_hook_mainoptions_set_default_template_3');
153
  // ******************template 4*******************
154
  $acx_csma_background_image4 = ACX_CSMA_BASE_LOCATION . 'templates/4/images/body_bg.jpg';
169
  $acx_csma_fb_link4="";
170
  $acx_csma_twitter_link4="";
171
  $acx_csma_linkedin_link4="";
172
+ $acx_csma_custom_css_temp4= "";
173
  acx_csma_hook_function('acx_csma_hook_mainoptions_set_default_template_4');
174
  //*******************template 5********************
175
  $acx_csma_bgcolor5="#e9eaec";
187
  $acx_csma_show_progressbar5=1;
188
  $acx_csma_progress_bar_color5="#717171";
189
  $acx_csma_custom_html_bottom_temp5="";
190
+ $acx_csma_show_subscription5 = 1;
191
+ $acx_csma_custom_html_top_sub = "";
192
+ $acx_csma_custom_html_bottom_sub= "";
193
  $acx_csma_subscribe_bg_color5="#2f2f2f";
194
+ $acx_csma_launch_title_color5="#4b4b4b";
195
  $acx_csma_subscribe_main_title5 = "Want to know when we launch?";
196
  $acx_csma_subscribe_title5="Subscribe by entering your email below";
197
  $acx_csma_subscribe_success5="Successfully Subscribed";
199
  $acx_csma_fb_link5="";
200
  $acx_csma_twitter_link5="";
201
  $acx_csma_linkedin_link5="";
202
+ $acx_csma_custom_css_temp5= "";
203
  acx_csma_hook_function('acx_csma_hook_mainoptions_set_default_template_5');
204
 
205
  if($acx_csma_appearence_array=="" || !is_array($acx_csma_appearence_array))
223
  'acx_csma_timer_bg_color1'=>sanitize_text_field($acx_csma_timer_bg_color1),
224
  'acx_csma_timer_iptext_color1'=>sanitize_text_field($acx_csma_timer_iptext_color1),
225
  'acx_csma_timer_head_color1'=>sanitize_text_field($acx_csma_timer_head_color1),
226
+ 'acx_csma_show_subscription'=>sanitize_text_field($acx_csma_show_subscription),
227
+ 'acx_csma_custom_html_top_sub1'=>sanitize_text_field($acx_csma_custom_html_top_sub1),
228
+ 'acx_csma_custom_html_bottom_sub1'=>sanitize_text_field($acx_csma_custom_html_bottom_sub1),
229
  'acx_csma_subscribe_bg_color1'=>sanitize_text_field($acx_csma_subscribe_bg_color1),
230
  'acx_csma_subscribe_btn_text1'=>sanitize_text_field($acx_csma_subscribe_btn_text1),
231
  'acx_csma_subscribe_btn_text_color1'=>sanitize_text_field($acx_csma_subscribe_btn_text_color1),
238
  'acx_csma_subscribe_invalid1'=>sanitize_text_field($acx_csma_subscribe_invalid1),
239
  'acx_csma_footer_bgcolor1'=>sanitize_text_field($acx_csma_footer_bgcolor1),
240
  'acx_csma_footer_text1'=>sanitize_text_field($acx_csma_footer_text1),
241
+ 'acx_csma_footer_text_color1'=>sanitize_text_field($acx_csma_footer_text_color1),
242
+ 'acx_csma_custom_css_temp1'=>sanitize_text_field($acx_csma_custom_css_temp1)
243
  );
244
  $acx_csma_appearence_array['2'] = array(
245
  'acx_csma_bg_color2'=>sanitize_text_field($acx_csma_bg_color2),
252
  'acx_csma_subtitle_text2'=>sanitize_text_field($acx_csma_subtitle_text2),
253
  'acx_csma_subtitle_color2'=>sanitize_text_field($acx_csma_subtitle_color2),
254
  'acx_csma_inside_bg_color2'=>sanitize_text_field($acx_csma_inside_bg_color2),
255
+ 'acx_csma_custom_html_top_timer'=>$acx_csma_custom_html_top_timer,
256
+ 'acx_csma_show_subscription2'=>sanitize_text_field($acx_csma_show_subscription2),
257
  'acx_csma_timer_title2'=>sanitize_text_field($acx_csma_timer_title2),
258
  'acx_csma_subscribe_btn_color2'=>sanitize_text_field($acx_csma_subscribe_btn_color2),
259
  'acx_csma_subscribe_success2'=>sanitize_text_field($acx_csma_subscribe_success2),
267
  'acx_csma_desc_text_color2'=>sanitize_text_field($acx_csma_desc_text_color2),
268
  'acx_csma_fb_link2'=>esc_url_raw($acx_csma_fb_link2),
269
  'acx_csma_twitter_link2'=>esc_url_raw($acx_csma_twitter_link2),
270
+ 'acx_csma_linkedin_link2'=>esc_url_raw($acx_csma_linkedin_link2),
271
+ 'acx_csma_custom_css_temp2'=>$acx_csma_custom_css_temp2
272
  );
273
  $acx_csma_appearence_array['3'] =array(
274
  'acx_csma_logo_choice'=>sanitize_text_field($acx_csma_logo_choice3),
279
  'acx_csma_title_color3'=>sanitize_text_field($acx_csma_title_color3),
280
  'acx_csma_subtitle_text3'=>sanitize_text_field($acx_csma_subtitle_text3),
281
  'acx_csma_subtitle_color3'=>sanitize_text_field($acx_csma_subtitle_color3),
282
+ 'acx_csma_primary_color3'=>sanitize_text_field($acx_csma_primary_color3),
283
+ 'acx_csma_secondary_color3'=>sanitize_text_field($acx_csma_secondary_color3),
284
+ 'acx_csma_left_bar_color3'=>sanitize_text_field($acx_csma_left_bar_color3),
285
+ 'acx_csma_timer_color3'=>sanitize_text_field($acx_csma_timer_color3),
286
  'acx_csma_subscribe_title3'=>sanitize_text_field($acx_csma_subscribe_title3),
287
  'acx_csma_subscribe_title_color3'=>sanitize_text_field($acx_csma_subscribe_title_color3),
288
  'acx_csma_subscribe_btn_text3'=>sanitize_text_field($acx_csma_subscribe_btn_text3),
290
  'acx_csma_subscribe_btn_color3'=>sanitize_text_field($acx_csma_subscribe_btn_color3),
291
  'acx_csma_subscribe_btn_hover_color3'=>sanitize_text_field($acx_csma_subscribe_btn_hover_color3),
292
  'acx_csma_subscribe_btn_hover_bgcolor3'=>sanitize_text_field($acx_csma_subscribe_btn_hover_bgcolor3),
293
+ 'acx_csma_show_subscription3'=>sanitize_text_field($acx_csma_show_subscription3),
294
+ 'acx_csma_show_timer3'=>sanitize_text_field($acx_csma_show_timer3),
295
  'acx_csma_subscribe_success3'=>sanitize_text_field($acx_csma_subscribe_success3),
296
  'acx_csma_subscribe_invalid3'=>sanitize_text_field($acx_csma_subscribe_invalid3),
297
  'acx_csma_inside_title3'=>sanitize_text_field($acx_csma_inside_title3),
299
  'acx_csma_timer_iptext_color3'=>sanitize_text_field($acx_csma_timer_iptext_color3),
300
  'acx_csma_timer_head_color3'=>sanitize_text_field($acx_csma_timer_head_color3),
301
  'acx_csma_custom_html_top_temp3'=>$acx_csma_custom_html_top_temp3,
302
+ 'acx_csma_custom_html_top_timer_temp3'=>$acx_csma_custom_html_top_timer_temp3,
303
+ 'acx_csma_custom_html_bottom_temp3'=>$acx_csma_custom_html_bottom_temp3,
304
+
305
  'acx_csma_desc_title3'=>sanitize_text_field($acx_csma_desc_title3),
306
  'acx_csma_desc_subtitle3'=>sanitize_text_field($acx_csma_desc_subtitle3),
307
  'acx_csma_desc_text_color3'=>sanitize_text_field($acx_csma_desc_text_color3),
311
  'acx_csma_social_link_title_color3'=>sanitize_text_field($acx_csma_social_link_title_color3),
312
  'acx_csma_fb_link3'=>esc_url_raw($acx_csma_fb_link3),
313
  'acx_csma_twitter_link3'=>esc_url_raw($acx_csma_twitter_link3),
314
+ 'acx_csma_linkedin_link3'=>esc_url_raw($acx_csma_linkedin_link3),
315
+ 'acx_csma_custom_css_temp3'=>$acx_csma_custom_css_temp3
316
  );
317
  $acx_csma_appearence_array['4'] =array(
318
  'acx_csma_background_image4'=>$acx_csma_background_image4,
332
  'acx_csma_custom_html_bottom_temp4'=>$acx_csma_custom_html_bottom_temp4,
333
  'acx_csma_fb_link4'=>esc_url_raw($acx_csma_fb_link4),
334
  'acx_csma_twitter_link4'=>esc_url_raw($acx_csma_twitter_link4),
335
+ 'acx_csma_linkedin_link4'=>esc_url_raw($acx_csma_linkedin_link4),
336
+ 'acx_csma_custom_css_temp4'=>sanitize_text_field($acx_csma_custom_css_temp4)
337
  );
338
  $acx_csma_appearence_array['5'] =array(
339
  'acx_csma_bgcolor5'=>sanitize_text_field($acx_csma_bgcolor5),
351
  'acx_csma_show_progressbar5'=>$acx_csma_show_progressbar5,
352
  'acx_csma_progress_bar_color5'=>sanitize_text_field($acx_csma_progress_bar_color5),
353
  'acx_csma_custom_html_bottom_temp5'=>$acx_csma_custom_html_bottom_temp5,
354
+ 'acx_csma_show_subscription5'=>sanitize_text_field($acx_csma_show_subscription5),
355
+ 'acx_csma_custom_html_top_sub'=>sanitize_text_field($acx_csma_custom_html_top_sub),
356
+ 'acx_csma_custom_html_bottom_sub'=>sanitize_text_field($acx_csma_custom_html_bottom_sub),
357
  'acx_csma_subscribe_bg_color5'=>sanitize_text_field($acx_csma_subscribe_bg_color5),
358
+ 'acx_csma_launch_title_color5'=>sanitize_text_field($acx_csma_launch_title_color5),
359
  'acx_csma_subscribe_main_title5' => sanitize_text_field($acx_csma_subscribe_main_title5),
360
  'acx_csma_subscribe_title5'=>sanitize_text_field($acx_csma_subscribe_title5),
361
  'acx_csma_subscribe_success5'=>sanitize_text_field($acx_csma_subscribe_success5),
362
  'acx_csma_subscribe_invalid5'=>sanitize_text_field($acx_csma_subscribe_invalid5),
363
  'acx_csma_fb_link5'=>esc_url_raw($acx_csma_fb_link5),
364
  'acx_csma_twitter_link5'=>esc_url_raw($acx_csma_twitter_link5),
365
+ 'acx_csma_linkedin_link5'=>esc_url_raw($acx_csma_linkedin_link5),
366
+ 'acx_csma_custom_css_temp5'=>sanitize_text_field($acx_csma_custom_css_temp5)
367
  );
368
 
369
  if(!is_serialized($acx_csma_appearence_array))
373
  update_option('acx_csma_appearence_array',$acx_csma_appearence_array);
374
  acx_csma_hook_function('acx_csma_hook_mainoptions_update_default_values');
375
  }
376
+
377
  if(ISSET($_POST['acx_csma_hidden']))
378
  {
379
  $acx_csma_hidden = $_POST['acx_csma_hidden'];
433
  }
434
  update_option('acx_csma_restrict_role', $acx_csma_restrict_role);
435
  }
436
+ else
437
+ {
438
+ $acx_csma_restrict_role = array();
439
+ if(!is_serialized($acx_csma_restrict_role))
440
+ {
441
+ $acx_csma_restrict_role = serialize($acx_csma_restrict_role);
442
+ }
443
+ update_option('acx_csma_restrict_role', $acx_csma_restrict_role);
444
+ }
445
 
446
  //************************************************template 1 ********************************************
447
  $acx_csma_appearence_array=get_option('acx_csma_appearence_array');
480
  $acx_csma_timer_bg_color1=sanitize_text_field($_POST['acx_csma_timer_bg_color1']);if($acx_csma_timer_bg_color1==""){ $acx_csma_timer_bg_color1=$acx_csma_appearence_array['1']['acx_csma_timer_bg_color1'];}
481
  $acx_csma_timer_iptext_color1=sanitize_text_field($_POST['acx_csma_timer_iptext_color1']);if($acx_csma_timer_iptext_color1==""){$acx_csma_timer_iptext_color1=$acx_csma_appearence_array['1']['acx_csma_timer_iptext_color1'];}
482
  $acx_csma_timer_head_color1=sanitize_text_field($_POST['acx_csma_timer_head_color1']);if($acx_csma_timer_head_color1==""){$acx_csma_timer_head_color1=$acx_csma_appearence_array['1']['acx_csma_timer_head_color1'];}
483
+
484
+ $acx_csma_show_subscription=sanitize_text_field($_POST['acx_csma_show_subscription']);if($acx_csma_show_subscription==""){ $acx_csma_show_subscription=$acx_csma_appearence_array['1']['acx_csma_show_subscription'];}
485
+
486
+ $acx_csma_custom_html_top_sub1=stripslashes(trim($_POST['acx_csma_custom_html_top_sub1']));
487
+ $acx_csma_custom_html_bottom_sub1=stripslashes(trim($_POST['acx_csma_custom_html_bottom_sub1']));
488
+
489
  $acx_csma_subscribe_bg_color1=sanitize_text_field($_POST['acx_csma_subscribe_bg_color1']);if($acx_csma_subscribe_bg_color1==""){$acx_csma_subscribe_bg_color1=$acx_csma_appearence_array['1']['acx_csma_subscribe_bg_color1'];}
490
  $acx_csma_subscribe_btn_text1=sanitize_text_field($_POST['acx_csma_subscribe_btn_text1']);if($acx_csma_subscribe_btn_text1==""){$acx_csma_subscribe_btn_text1=$acx_csma_appearence_array['1']['acx_csma_subscribe_btn_text1'];}
491
  $acx_csma_subscribe_btn_text_color1=sanitize_text_field($_POST['acx_csma_subscribe_btn_text_color1']);if($acx_csma_subscribe_btn_text_color1==""){$acx_csma_subscribe_btn_text_color1=$acx_csma_appearence_array['1']['acx_csma_subscribe_btn_text_color1'];}
499
  $acx_csma_footer_bgcolor1=sanitize_text_field($_POST['acx_csma_footer_bgcolor1']);if($acx_csma_footer_bgcolor1==""){$acx_csma_footer_bgcolor1=$acx_csma_appearence_array['1']['acx_csma_footer_bgcolor1'];}
500
  $acx_csma_footer_text1=sanitize_text_field($_POST['acx_csma_footer_text1']);if($acx_csma_footer_text1==""){$acx_csma_footer_text1=$acx_csma_appearence_array['1']['acx_csma_footer_text1'];}
501
  $acx_csma_footer_text_color1=sanitize_text_field($_POST['acx_csma_footer_text_color1']);if($acx_csma_footer_text_color1==""){$acx_csma_footer_text_color1=$acx_csma_appearence_array['1']['acx_csma_footer_text_color1'];}
502
+
503
+ $acx_csma_custom_css_temp1=stripslashes(trim($_POST['acx_csma_custom_css_temp1']));
504
+
505
  // **************************************template 2**************************************
506
  $acx_csma_bg_color2 = sanitize_text_field($_POST['acx_csma_bg_color2']);if($acx_csma_bg_color2==""){$acx_csma_bg_color2=$acx_csma_appearence_array['2']['acx_csma_bg_color2'];}
507
 
525
  $acx_csma_subtitle_text2=sanitize_text_field($_POST['acx_csma_subtitle_text2']);if($acx_csma_subtitle_text2==""){$acx_csma_subtitle_text2=$acx_csma_appearence_array['2']['acx_csma_subtitle_text2'];}
526
  $acx_csma_subtitle_color2=sanitize_text_field($_POST['acx_csma_subtitle_color2']);if($acx_csma_subtitle_color2==""){$acx_csma_subtitle_color2=$acx_csma_appearence_array['2']['acx_csma_subtitle_color2'];}
527
  $acx_csma_inside_bg_color2=sanitize_text_field($_POST['acx_csma_inside_bg_color2']);if($acx_csma_inside_bg_color2==""){$acx_csma_inside_bg_color2=$acx_csma_appearence_array['2']['acx_csma_inside_bg_color2'];}
528
+
529
+ $acx_csma_show_subscription2=sanitize_text_field($_POST['acx_csma_show_subscription2']);if($acx_csma_show_subscription2==""){ $acx_csma_show_subscription2=$acx_csma_appearence_array['2']['acx_csma_show_subscription2'];}
530
+
531
  $acx_csma_timer_title2=sanitize_text_field($_POST['acx_csma_timer_title2']);if($acx_csma_timer_title2==""){$acx_csma_timer_title2=$acx_csma_appearence_array['2']['acx_csma_timer_title2'];}
532
  $acx_csma_subscribe_btn_color2=sanitize_text_field($_POST['acx_csma_subscribe_btn_color2']);if($acx_csma_subscribe_btn_color2==""){$acx_csma_subscribe_btn_color2=$acx_csma_appearence_array['2']['acx_csma_subscribe_btn_color2'];}
533
  $acx_csma_subscribe_success2=sanitize_text_field($_POST['acx_csma_subscribe_success2']);if($acx_csma_subscribe_success2==""){$acx_csma_subscribe_success2=$acx_csma_appearence_array['2']['acx_csma_subscribe_success2'];}
534
  $acx_csma_subscribe_invalid2=sanitize_text_field($_POST['acx_csma_subscribe_invalid2']);if($acx_csma_subscribe_invalid2==""){$acx_csma_subscribe_invalid2=$acx_csma_appearence_array['2']['acx_csma_subscribe_invalid2'];}
535
+
536
+ $acx_csma_custom_html_top_timer=stripslashes(trim($_POST['acx_csma_custom_html_top_timer']));
537
  $acx_csma_timer_input_bg_color2=sanitize_text_field($_POST['acx_csma_timer_input_bg_color2']);if($acx_csma_timer_input_bg_color2==""){$acx_csma_timer_input_bg_color2=$acx_csma_appearence_array['2']['acx_csma_timer_input_bg_color2'];}
538
  $acx_csma_timer_iptext_color2=sanitize_text_field($_POST['acx_csma_timer_iptext_color2']);if($acx_csma_timer_iptext_color2==""){$acx_csma_timer_iptext_color2=$acx_csma_appearence_array['2']['acx_csma_timer_iptext_color2'];}
539
  $acx_csma_timer_head_color2=sanitize_text_field($_POST['acx_csma_timer_head_color2']);if($acx_csma_timer_head_color2==""){$acx_csma_timer_head_color2=$acx_csma_appearence_array['2']['acx_csma_timer_head_color2'];}
541
  $acx_csma_desc_title2=sanitize_text_field($_POST['acx_csma_desc_title2']);
542
  $acx_csma_desc_subtitle2=stripslashes(trim($_POST['acx_csma_desc_subtitle2']));
543
  $acx_csma_desc_text_color2=sanitize_text_field($_POST['acx_csma_desc_text_color2']);if($acx_csma_desc_text_color2==""){$acx_csma_desc_text_color2=$acx_csma_appearence_array['2']['acx_csma_desc_text_color2'];}
544
+ $acx_csma_fb_link2=esc_url_raw($_POST['acx_csma_fb_link2']);
545
+ $acx_csma_twitter_link2=esc_url_raw($_POST['acx_csma_twitter_link2']);
546
+ $acx_csma_linkedin_link2=esc_url_raw($_POST['acx_csma_linkedin_link2']);
547
+ $acx_csma_custom_css_temp2=stripslashes(trim($_POST['acx_csma_custom_css_temp2']));
548
  //***********************************template 3*************************
549
  if(ISSET($_POST['acx_csma_logo_choice3']))
550
  {
565
  $acx_csma_title_color3= sanitize_text_field($_POST['acx_csma_title_color3']);if($acx_csma_title_color3==""){$acx_csma_title_color3=$acx_csma_appearence_array['3']['acx_csma_title_color3'];}
566
  $acx_csma_subtitle_text3= sanitize_text_field($_POST['acx_csma_subtitle_text3']);if($acx_csma_subtitle_text3==""){$acx_csma_subtitle_text3=$acx_csma_appearence_array['3']['acx_csma_subtitle_text3'];}
567
  $acx_csma_subtitle_color3= sanitize_text_field($_POST['acx_csma_subtitle_color3']);if($acx_csma_subtitle_color3==""){$acx_csma_subtitle_color3=$acx_csma_appearence_array['3']['acx_csma_subtitle_color3'];}
568
+
569
+ $acx_csma_primary_color3= sanitize_text_field($_POST['acx_csma_primary_color3']);if($acx_csma_primary_color3==""){$acx_csma_primary_color3=$acx_csma_appearence_array['3']['acx_csma_primary_color3'];}
570
+
571
+ $acx_csma_secondary_color3= sanitize_text_field($_POST['acx_csma_secondary_color3']);if($acx_csma_secondary_color3==""){$acx_csma_secondary_color3=$acx_csma_appearence_array['3']['acx_csma_secondary_color3'];}
572
+
573
+ $acx_csma_left_bar_color3= sanitize_text_field($_POST['acx_csma_left_bar_color3']);if($acx_csma_left_bar_color3==""){$acx_csma_left_bar_color3=$acx_csma_appearence_array['3']['acx_csma_left_bar_color3'];}
574
+
575
+ $acx_csma_timer_color3= sanitize_text_field($_POST['acx_csma_timer_color3']);if($acx_csma_timer_color3==""){$acx_csma_timer_color3=$acx_csma_appearence_array['3']['acx_csma_timer_color3'];}
576
+
577
  $acx_csma_subscribe_title3= sanitize_text_field($_POST['acx_csma_subscribe_title3']);if($acx_csma_subscribe_title3==""){$acx_csma_subscribe_title3=$acx_csma_appearence_array['3']['acx_csma_subscribe_title3'];}
578
  $acx_csma_subscribe_title_color3= sanitize_text_field($_POST['acx_csma_subscribe_title_color3']);if($acx_csma_subscribe_title_color3==""){$acx_csma_subscribe_title_color3=$acx_csma_appearence_array['3']['acx_csma_subscribe_title_color3'];}
579
+ $acx_csma_show_subscription3=sanitize_text_field($_POST['acx_csma_show_subscription3']);if($acx_csma_show_subscription3==""){ $acx_csma_show_subscription3=$acx_csma_appearence_array['3']['acx_csma_show_subscription3'];}
580
+ $acx_csma_show_timer3=sanitize_text_field($_POST['acx_csma_show_timer3']);if($acx_csma_show_timer3==""){ $acx_csma_show_timer3=$acx_csma_appearence_array['3']['acx_csma_show_timer3'];}
581
  $acx_csma_subscribe_btn_text3=sanitize_text_field($_POST['acx_csma_subscribe_btn_text3']);if($acx_csma_subscribe_btn_text3==""){$acx_csma_subscribe_btn_text3=$acx_csma_appearence_array['3']['acx_csma_subscribe_btn_text3'];}
582
  $acx_csma_subscribe_btn_text_color3=sanitize_text_field($_POST['acx_csma_subscribe_btn_text_color3']);if($acx_csma_subscribe_btn_text_color3==""){$acx_csma_subscribe_btn_text_color3=$acx_csma_appearence_array['3']['acx_csma_subscribe_btn_text_color3'];}
583
  $acx_csma_subscribe_btn_color3=sanitize_text_field($_POST['acx_csma_subscribe_btn_color3']);if($acx_csma_subscribe_btn_color3==""){$acx_csma_subscribe_btn_color3=$acx_csma_appearence_array['3']['acx_csma_subscribe_btn_color3'];}
590
  $acx_csma_timer_iptext_color3= sanitize_text_field($_POST['acx_csma_timer_iptext_color3']);if($acx_csma_timer_iptext_color3==""){$acx_csma_timer_iptext_color3=$acx_csma_appearence_array['3']['acx_csma_timer_iptext_color3'];}
591
  $acx_csma_timer_head_color3= sanitize_text_field($_POST['acx_csma_timer_head_color3']);if($acx_csma_timer_head_color3==""){$acx_csma_timer_head_color3=$acx_csma_appearence_array['3']['acx_csma_timer_head_color3'];}
592
  $acx_csma_custom_html_top_temp3=stripslashes(trim($_POST['acx_csma_custom_html_top_temp3']));
593
+ $acx_csma_custom_html_top_timer_temp3=stripslashes(trim($_POST['acx_csma_custom_html_top_timer_temp3']));
594
+ $acx_csma_custom_html_bottom_temp3=stripslashes(trim($_POST['acx_csma_custom_html_bottom_temp3']));
595
  $acx_csma_desc_title3= sanitize_text_field($_POST['acx_csma_desc_title3']);
596
  $acx_csma_desc_subtitle3=stripslashes(trim($_POST['acx_csma_desc_subtitle3']));
597
  $acx_csma_desc_text_color3= sanitize_text_field($_POST['acx_csma_desc_text_color3']);if($acx_csma_desc_text_color3==""){$acx_csma_desc_text_color3=$acx_csma_appearence_array['3']['acx_csma_desc_text_color3'];}
599
  $acx_csma_footer_color3=sanitize_text_field($_POST['acx_csma_footer_color3']);if($acx_csma_footer_color3==""){$acx_csma_footer_color3=$acx_csma_appearence_array['3']['acx_csma_footer_color3'];}
600
  $acx_csma_social_link_title3=sanitize_text_field($_POST['acx_csma_social_link_title3']);if($acx_csma_social_link_title3==""){$acx_csma_social_link_title3=$acx_csma_appearence_array['3']['acx_csma_social_link_title3'];}
601
  $acx_csma_social_link_title_color3=sanitize_text_field($_POST['acx_csma_social_link_title_color3']);if($acx_csma_social_link_title_color3==""){$acx_csma_social_link_title_color3=$acx_csma_appearence_array['3']['acx_csma_social_link_title_color3'];}
602
+ $acx_csma_fb_link3=esc_url_raw($_POST['acx_csma_fb_link3']);
603
+ $acx_csma_twitter_link3=esc_url_raw($_POST['acx_csma_twitter_link3']);
604
+ $acx_csma_linkedin_link3=esc_url_raw($_POST['acx_csma_linkedin_link3']);
605
+ $acx_csma_custom_css_temp3=stripslashes(trim($_POST['acx_csma_custom_css_temp3']));
606
  //********************************template 4***********************************
607
  $acx_csma_background_image4=sanitize_text_field($_POST['acx_csma_background_image4']);if($acx_csma_background_image4==""){$acx_csma_background_image4=$acx_csma_appearence_array['4']['acx_csma_background_image4'];}
608
  if(ISSET($_POST['acx_csma_logo_choice4']))
629
  $acx_csma_show_progressbar4=sanitize_text_field($_POST['acx_csma_show_progressbar4']);if($acx_csma_show_progressbar4==""){ $acx_csma_show_progressbar4=$acx_csma_appearence_array['4']['acx_csma_show_progressbar4'];}
630
  $acx_csma_progress_bar_color4=sanitize_text_field($_POST['acx_csma_progress_bar_color4']);if($acx_csma_progress_bar_color4==""){$acx_csma_progress_bar_color4=$acx_csma_appearence_array['4']['acx_csma_progress_bar_color4'];}
631
  $acx_csma_custom_html_bottom_temp4=stripslashes(trim($_POST['acx_csma_custom_html_bottom_temp4']));
632
+ $acx_csma_fb_link4=esc_url_raw($_POST['acx_csma_fb_link4']);
633
+ $acx_csma_twitter_link4=esc_url_raw($_POST['acx_csma_twitter_link4']);
634
+ $acx_csma_linkedin_link4=esc_url_raw($_POST['acx_csma_linkedin_link4']);
635
+ $acx_csma_custom_css_temp4=stripslashes(trim($_POST['acx_csma_custom_css_temp4']));
636
  //********************************template5*********************************
637
  $acx_csma_bgcolor5=sanitize_text_field($_POST['acx_csma_bgcolor5']);if($acx_csma_bgcolor5==""){$acx_csma_bgcolor5=$acx_csma_appearence_array['5']['acx_csma_bgcolor5'];}
638
  if(ISSET($_POST['acx_csma_logo_choice5']))
660
  $acx_csma_progress_bar_color5=sanitize_text_field($_POST['acx_csma_progress_bar_color5']);if($acx_csma_progress_bar_color5==""){$acx_csma_progress_bar_color5=$acx_csma_appearence_array['5']['acx_csma_progress_bar_color5'];}
661
  $acx_csma_custom_html_bottom_temp5=stripslashes(trim($_POST['acx_csma_custom_html_bottom_temp5']));
662
  $acx_csma_subscribe_bg_color5=sanitize_text_field($_POST['acx_csma_subscribe_bg_color5']);if($acx_csma_subscribe_bg_color5==""){$acx_csma_subscribe_bg_color5=$acx_csma_appearence_array['5']['acx_csma_subscribe_bg_color5'];}
663
+ $acx_csma_launch_title_color5=sanitize_text_field($_POST['acx_csma_launch_title_color5']);if($acx_csma_launch_title_color5==""){$acx_csma_launch_title_color5=$acx_csma_appearence_array['5']['acx_csma_launch_title_color5'];}
664
+ $acx_csma_show_subscription5=sanitize_text_field($_POST['acx_csma_show_subscription5']);if($acx_csma_show_subscription5==""){ $acx_csma_show_subscription5=$acx_csma_appearence_array['5']['acx_csma_show_subscription5'];}
665
+ $acx_csma_custom_html_top_sub=stripslashes(trim($_POST['acx_csma_custom_html_top_sub']));
666
+ $acx_csma_custom_html_bottom_sub=stripslashes(trim($_POST['acx_csma_custom_html_bottom_sub']));
667
 
668
  $acx_csma_subscribe_main_title5=sanitize_text_field($_POST['acx_csma_subscribe_main_title5']);if($acx_csma_subscribe_main_title5==""){$acx_csma_subscribe_main_title5=$acx_csma_appearence_array['5']['acx_csma_subscribe_main_title5'];}
669
 
670
  $acx_csma_subscribe_title5=sanitize_text_field($_POST['acx_csma_subscribe_title5']);if($acx_csma_subscribe_title5==""){$acx_csma_subscribe_title5=$acx_csma_appearence_array['5']['acx_csma_subscribe_title5'];}
671
  $acx_csma_subscribe_success5=sanitize_text_field($_POST['acx_csma_subscribe_success5']);if($acx_csma_subscribe_success5==""){$acx_csma_subscribe_success5=$acx_csma_appearence_array['5']['acx_csma_subscribe_success5'];}
672
  $acx_csma_subscribe_invalid5=sanitize_text_field($_POST['acx_csma_subscribe_invalid5']);if($acx_csma_subscribe_invalid5==""){$acx_csma_subscribe_invalid5=$acx_csma_appearence_array['5']['acx_csma_subscribe_invalid5'];}
673
+ $acx_csma_fb_link5=esc_url_raw($_POST['acx_csma_fb_link5']);
674
+ $acx_csma_twitter_link5=esc_url_raw($_POST['acx_csma_twitter_link5']);
675
+ $acx_csma_linkedin_link5=esc_url_raw($_POST['acx_csma_linkedin_link5']);
676
+ $acx_csma_custom_css_temp5=stripslashes(trim($_POST['acx_csma_custom_css_temp5']));
677
+
678
 
679
  $acx_csma_template=$_POST['acx_csma_template'];
680
  if($acx_csma_template==""){$acx_csma_template=1;}
717
  'acx_csma_timer_bg_color1'=>$acx_csma_timer_bg_color1,
718
  'acx_csma_timer_iptext_color1'=>$acx_csma_timer_iptext_color1,
719
  'acx_csma_timer_head_color1'=>$acx_csma_timer_head_color1,
720
+ 'acx_csma_show_subscription'=>$acx_csma_show_subscription,
721
+ 'acx_csma_custom_html_top_sub1'=>$acx_csma_custom_html_top_sub1,
722
+ 'acx_csma_custom_html_bottom_sub1'=>$acx_csma_custom_html_bottom_sub1,
723
  'acx_csma_subscribe_bg_color1'=>$acx_csma_subscribe_bg_color1,
724
  'acx_csma_subscribe_btn_text1'=>$acx_csma_subscribe_btn_text1,
725
  'acx_csma_subscribe_btn_text_color1'=>$acx_csma_subscribe_btn_text_color1,
732
  'acx_csma_subscribe_invalid1'=>$acx_csma_subscribe_invalid1,
733
  'acx_csma_footer_bgcolor1'=>$acx_csma_footer_bgcolor1,
734
  'acx_csma_footer_text1'=>$acx_csma_footer_text1,
735
+ 'acx_csma_footer_text_color1'=>$acx_csma_footer_text_color1,
736
+ 'acx_csma_custom_css_temp1'=>$acx_csma_custom_css_temp1
737
  );
738
  }
739
  if(!is_serialized($acx_csma_appearence_array))
763
  'acx_csma_subtitle_text2'=>$acx_csma_subtitle_text2,
764
  'acx_csma_subtitle_color2'=>$acx_csma_subtitle_color2,
765
  'acx_csma_inside_bg_color2'=>$acx_csma_inside_bg_color2,
766
+ 'acx_csma_custom_html_top_timer'=>$acx_csma_custom_html_top_timer,
767
+ 'acx_csma_show_subscription2'=>$acx_csma_show_subscription2,
768
  'acx_csma_timer_title2'=>$acx_csma_timer_title2,
769
  'acx_csma_subscribe_btn_color2'=>$acx_csma_subscribe_btn_color2,
770
  'acx_csma_subscribe_success2'=>$acx_csma_subscribe_success2,
778
  'acx_csma_desc_text_color2'=>$acx_csma_desc_text_color2,
779
  'acx_csma_fb_link2'=>$acx_csma_fb_link2,
780
  'acx_csma_twitter_link2'=>$acx_csma_twitter_link2,
781
+ 'acx_csma_linkedin_link2'=>$acx_csma_linkedin_link2,
782
+ 'acx_csma_custom_css_temp2'=>$acx_csma_custom_css_temp2
783
  );
784
  }
785
  if(!is_serialized($acx_csma_appearence_array))
807
  'acx_csma_title_color3'=>$acx_csma_title_color3,
808
  'acx_csma_subtitle_text3'=>$acx_csma_subtitle_text3,
809
  'acx_csma_subtitle_color3'=>$acx_csma_subtitle_color3,
810
+ 'acx_csma_primary_color3'=>$acx_csma_primary_color3,
811
+ 'acx_csma_secondary_color3'=>$acx_csma_secondary_color3,
812
+ 'acx_csma_left_bar_color3'=>$acx_csma_left_bar_color3,
813
+ 'acx_csma_timer_color3'=>$acx_csma_timer_color3,
814
  'acx_csma_subscribe_title3'=>$acx_csma_subscribe_title3,
815
  'acx_csma_subscribe_title_color3'=>$acx_csma_subscribe_title_color3,
816
  'acx_csma_subscribe_btn_text3'=>$acx_csma_subscribe_btn_text3,
821
  'acx_csma_subscribe_success3'=>$acx_csma_subscribe_success3,
822
  'acx_csma_subscribe_invalid3'=>$acx_csma_subscribe_invalid3,
823
  'acx_csma_inside_title3'=>$acx_csma_inside_title3,
824
+ 'acx_csma_show_subscription3'=>$acx_csma_show_subscription3,
825
+ 'acx_csma_show_timer3'=>$acx_csma_show_timer3,
826
  'acx_csma_inside_title_color3'=>$acx_csma_inside_title_color3,
827
  'acx_csma_timer_iptext_color3'=>$acx_csma_timer_iptext_color3,
828
  'acx_csma_timer_head_color3'=>$acx_csma_timer_head_color3,
829
  'acx_csma_custom_html_top_temp3'=>$acx_csma_custom_html_top_temp3,
830
+ 'acx_csma_custom_html_bottom_temp3'=>$acx_csma_custom_html_bottom_temp3,
831
+ 'acx_csma_custom_html_top_timer_temp3'=>$acx_csma_custom_html_top_timer_temp3,
832
  'acx_csma_desc_title3'=>$acx_csma_desc_title3,
833
  'acx_csma_desc_subtitle3'=>$acx_csma_desc_subtitle3,
834
  'acx_csma_desc_text_color3'=>$acx_csma_desc_text_color3,
838
  'acx_csma_social_link_title_color3'=>$acx_csma_social_link_title_color3,
839
  'acx_csma_fb_link3'=>$acx_csma_fb_link3,
840
  'acx_csma_twitter_link3'=>$acx_csma_twitter_link3,
841
+ 'acx_csma_linkedin_link3'=>$acx_csma_linkedin_link3,
842
+ 'acx_csma_custom_css_temp3'=>$acx_csma_custom_css_temp3
843
  );
844
  }
845
  if(!is_serialized($acx_csma_appearence_array))
876
  'acx_csma_custom_html_bottom_temp4'=>$acx_csma_custom_html_bottom_temp4,
877
  'acx_csma_fb_link4'=>$acx_csma_fb_link4,
878
  'acx_csma_twitter_link4'=>$acx_csma_twitter_link4,
879
+ 'acx_csma_linkedin_link4'=>$acx_csma_linkedin_link4,
880
+ 'acx_csma_custom_css_temp4'=>$acx_csma_custom_css_temp4
881
  );
882
  }
883
  if(!is_serialized($acx_csma_appearence_array))
912
  'acx_csma_show_progressbar5'=>$acx_csma_show_progressbar5,
913
  'acx_csma_progress_bar_color5'=>$acx_csma_progress_bar_color5,
914
  'acx_csma_custom_html_bottom_temp5'=>$acx_csma_custom_html_bottom_temp5,
915
+ 'acx_csma_show_subscription5'=>$acx_csma_show_subscription5,
916
+ 'acx_csma_custom_html_top_sub'=>$acx_csma_custom_html_top_sub,
917
+ 'acx_csma_custom_html_bottom_sub'=>$acx_csma_custom_html_bottom_sub,
918
  'acx_csma_subscribe_bg_color5'=>$acx_csma_subscribe_bg_color5,
919
+ 'acx_csma_launch_title_color5'=>$acx_csma_launch_title_color5,
920
  'acx_csma_subscribe_main_title5' =>$acx_csma_subscribe_main_title5,
921
  'acx_csma_subscribe_title5'=>$acx_csma_subscribe_title5,
922
  'acx_csma_subscribe_success5'=>$acx_csma_subscribe_success5,
923
  'acx_csma_subscribe_invalid5'=>$acx_csma_subscribe_invalid5,
924
  'acx_csma_fb_link5'=>$acx_csma_fb_link5,
925
  'acx_csma_twitter_link5'=>$acx_csma_twitter_link5,
926
+ 'acx_csma_linkedin_link5'=>$acx_csma_linkedin_link5,
927
+ 'acx_csma_custom_css_temp5'=>$acx_csma_custom_css_temp5
928
  );
929
  }
930
  if(!is_serialized($acx_csma_appearence_array))
1008
  $acx_csma_restrict_role=get_option('acx_csma_restrict_role');
1009
  if($acx_csma_restrict_role=="")
1010
  {
1011
+ $acx_csma_restrict_role=array();
1012
  if(!is_serialized($acx_csma_restrict_role ))
1013
  {
1014
  $acx_csma_restrict_role = serialize($acx_csma_restrict_role);
1454
  <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>
1455
  <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;">
1456
  <div class="acx_csmap_q_and_a_inside">
1457
+
1458
+ <label>
1459
+ Would you like to show Subscription form?
1460
+ </label>
1461
+ <div class="acx_qa_field">
1462
+ <select name="acx_csma_show_subscription">
1463
+ <option value="1" <?php if ($acx_csma_appearence_array['1']['acx_csma_show_subscription'] == "1") { echo 'selected="selected"'; } ?>>Yes </option>
1464
+ <option value="0" <?php if ($acx_csma_appearence_array['1']['acx_csma_show_subscription'] == "0") { echo 'selected="selected"'; } ?>>No</option>
1465
+ </select>
1466
+ </div>
1467
+
1468
+ <label>
1469
+ Custom HTML Block Above Subscription form
1470
+ </label>
1471
+ <div class="acx_qa_field">
1472
+ <?php $acx_csma_custom_html_top_sub1 = $acx_csma_appearence_array['1']['acx_csma_custom_html_top_sub1']; ?>
1473
+ <textarea id="acx_csma_custom_html_top_sub1" name="acx_csma_custom_html_top_sub1" placeholder="HTML Code Here"><?php echo stripslashes($acx_csma_custom_html_top_sub1); ?></textarea>
1474
+ </div><!-- acx_qa_field -->
1475
+ <div class="f_w"></div>
1476
+
1477
+ <label>
1478
+ Custom HTML Block Below Subscription form
1479
+ </label>
1480
+ <div class="acx_qa_field">
1481
+ <?php $acx_csma_custom_html_bottom_sub1 =$acx_csma_appearence_array['1']['acx_csma_custom_html_bottom_sub1']; ?>
1482
+ <textarea id="acx_csma_custom_html_bottom_sub1" name="acx_csma_custom_html_bottom_sub1" placeholder="HTML Code Here"><?php echo stripslashes($acx_csma_custom_html_bottom_sub1); ?></textarea>
1483
+ </div><!-- acx_qa_field -->
1484
+ <div class="f_w"></div>
1485
+ <!-- **********************************************************************-->
1486
+
1487
+
1488
+
1489
+
1490
+
1491
  <label>
1492
  Background Color:<a onclick="acx_csma_restore_default('','#0b1c2c','acx_csma_subscribe_bg_color1');" class="acx_csmap_button_reset">[Reset To Default]</a>
1493
  </label>
1594
  </div> <!-- acx_csmap_q_and_a -->
1595
  </div> <!-- acx_csmap_q_and_a_h -->
1596
  <!-- ################################# QUESTION AND ANSWER SET ENDS HERE ############################################-->
1597
+
1598
+ <!--################################ QUESTION AND ANSWER SET STARTS HERE ############################################ -->
1599
+ <?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
1600
+
1601
+ <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; ?>">
1602
+ <span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
1603
+ Custom css Settings
1604
+ </span>
1605
+ <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>
1606
+ <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;">
1607
+ <div class="acx_csmap_q_and_a_inside">
1608
+
1609
+ <label>
1610
+ Custom css
1611
+ </label>
1612
+ <div class="acx_qa_field">
1613
+ <?php $acx_csma_custom_css_temp1 = $acx_csma_appearence_array['1']['acx_csma_custom_css_temp1']; ?>
1614
+ <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>
1615
+ </div><!-- acx_qa_field -->
1616
+ <div class="f_w"></div>
1617
+ </div> <!-- acx_csmap_q_and_a_inside -->
1618
+ </div> <!-- acx_csmap_q_and_a -->
1619
+ </div> <!-- acx_csmap_q_and_a_h -->
1620
+ <!-- ################################# QUESTION AND ANSWER SET ENDS HERE ############################################-->
1621
  </div> <!-- acx_csma_1_p_q_and_a_h_main_holder -->
1622
+
1623
+
1624
+
1625
+
1626
+
1627
+
1628
+
1629
+
1630
+
1631
  </div><!--acx_csma_template_1-->
1632
 
1633
  <div id="acx_csma_template_2" style="display:none;" class="acx_csma_template_option_holder">
1779
  <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>
1780
  <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;">
1781
  <div class="acx_csmap_q_and_a_inside">
1782
+ <label>
1783
+ Custom HTML Block below Timer
1784
+ </label>
1785
+ <div class="acx_qa_field">
1786
+ <?php $acx_csma_custom_html_top_timer =$acx_csma_appearence_array['2']['acx_csma_custom_html_top_timer']; ?>
1787
+ <textarea id="acx_csma_custom_html_top_timer" name="acx_csma_custom_html_top_timer" placeholder="HTML Code Here"><?php echo stripslashes($acx_csma_custom_html_top_timer); ?></textarea>
1788
+ </div><!-- acx_qa_field -->
1789
+ <div class="f_w"></div>
1790
  <label>
1791
  Timer Block Title
1792
  </label>
1794
  <input type="text" name="acx_csma_timer_title2" value="<?php echo stripslashes(esc_attr($acx_csma_appearence_array['2']['acx_csma_timer_title2'])); ?>" size="20"/>
1795
  </div> <!-- acx_qa_field -->
1796
  <label>
1797
+ Would you like to show Subscription form?
1798
+ </label>
1799
+ <div class="acx_qa_field">
1800
+ <select name="acx_csma_show_subscription2">
1801
+ <option value="1" <?php if ($acx_csma_appearence_array['2']['acx_csma_show_subscription2'] == "1") { echo 'selected="selected"'; } ?>>Yes </option>
1802
+ <option value="0" <?php if ($acx_csma_appearence_array['2']['acx_csma_show_subscription2'] == "0") { echo 'selected="selected"'; } ?>>No</option>
1803
+ </select>
1804
+ </div>
1805
+ <label>Subscribe Button TextColor:<a onclick="acx_csma_restore_default('','#ffd800','acx_csma_subscribe_btn_color2');" class="acx_csmap_button_reset">[Reset To Default]</a>
1806
  </label>
1807
  <div class="acx_qa_field">
1808
  <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"/>
1820
  <div class="acx_qa_field">
1821
  <input type="text" name="acx_csma_subscribe_invalid2" value="<?php echo stripslashes(esc_attr($acx_csma_appearence_array['2']['acx_csma_subscribe_invalid2'])); ?>" size="20"/>
1822
  </div> <!-- acx_qa_field -->
1823
+
1824
  <label>
1825
  Timer Input BackgroundColor:<a onclick="acx_csma_restore_default('','#ffffff','acx_csma_timer_input_bg_color2');" class="acx_csmap_button_reset">[Reset To Default]</a>
1826
  </label>
1906
  </div> <!-- acx_csmap_q_and_a -->
1907
  </div> <!-- acx_csmap_q_and_a_h -->
1908
  <!-- ################################# QUESTION AND ANSWER SET ENDS HERE #############################################-->
1909
+ <!--################################ QUESTION AND ANSWER SET STARTS HERE ############################################ -->
1910
+ <?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
1911
+
1912
+ <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; ?>">
1913
+ <span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
1914
+ Custom css Settings
1915
+ </span>
1916
+ <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>
1917
+ <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;">
1918
+ <div class="acx_csmap_q_and_a_inside">
1919
+
1920
+ <label>
1921
+ Custom css
1922
+ </label>
1923
+ <div class="acx_qa_field">
1924
+ <?php $acx_csma_custom_css_temp2 = $acx_csma_appearence_array['2']['acx_csma_custom_css_temp2']; ?>
1925
+ <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>
1926
+ </div><!-- acx_qa_field -->
1927
+ <div class="f_w"></div>
1928
+ </div> <!-- acx_csmap_q_and_a_inside -->
1929
+ </div> <!-- acx_csmap_q_and_a -->
1930
+ </div> <!-- acx_csmap_q_and_a_h -->
1931
+ <!-- ################################# QUESTION AND ANSWER SET ENDS HERE ############################################-->
1932
 
1933
  </div> <!-- acx_csma_2_p_q_and_a_h_main_holder -->
1934
  </div><!--acx_csma_template_2-->
2007
  </div> <!-- acx_csmap_q_and_a -->
2008
  </div> <!-- acx_csmap_q_and_a_h -->
2009
  <!-- ################################# QUESTION AND ANSWER SET ENDS HERE #############################################-->
2010
+
2011
+
2012
+
2013
+
2014
+
2015
+
2016
+ <!-- ################################ QUESTION AND ANSWER SET STARTS HERE ############################################-->
2017
+ <?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
2018
+
2019
+ <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; ?>">
2020
+ <span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
2021
+ Background Settings
2022
+ </span>
2023
+ <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>
2024
+ <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;">
2025
+ <div class="acx_csmap_q_and_a_inside">
2026
+ <label>
2027
+ Primary Background Color:<a onclick="acx_csma_restore_default('','#ffffff','acx_csma_primary_color3');" class="acx_csmap_button_reset">[Reset To Default]</a>
2028
+ </label>
2029
+ <div class="acx_qa_field">
2030
+ <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" />
2031
+ <div style="position: absolute;" id="acx_csma_primary_color3_div"></div>
2032
+ </div> <!-- acx_qa_field -->
2033
+ <label>
2034
+ Secondary Background Color:<a onclick="acx_csma_restore_default('','#fe7e01','acx_csma_secondary_color3');" class="acx_csmap_button_reset">[Reset To Default]</a>
2035
+ </label>
2036
+ <div class="acx_qa_field">
2037
+ <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" />
2038
+ <div style="position: absolute;" id="acx_csma_secondary_color3_div"></div>
2039
+ </div> <!-- acx_qa_field -->
2040
+ <label>
2041
+ Left Side-bar Background Color:<a onclick="acx_csma_restore_default('','#000000','acx_csma_left_bar_color3');" class="acx_csmap_button_reset">[Reset To Default]</a>
2042
+ </label>
2043
+ <div class="acx_qa_field">
2044
+ <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" />
2045
+ <div style="position: absolute;" id="acx_csma_left_bar_color3_div"></div>
2046
+ </div> <!-- acx_qa_field -->
2047
+ <label>
2048
+ Timer Background Color:<a onclick="acx_csma_restore_default('','#ffffff','acx_csma_timer_color3');" class="acx_csmap_button_reset">[Reset To Default]</a>
2049
+ </label>
2050
+ <div class="acx_qa_field">
2051
+ <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" />
2052
+ <div style="position: absolute;" id="acx_csma_timer_color3_div"></div>
2053
+ </div> <!-- acx_qa_field -->
2054
+
2055
+ </div> <!-- acx_csmap_q_and_a_inside -->
2056
+ </div> <!-- acx_csmap_q_and_a -->
2057
+ </div> <!-- acx_csmap_q_and_a_h -->
2058
+ <!-- ################################# QUESTION AND ANSWER SET ENDS HERE #############################################-->
2059
+
2060
+
2061
+
2062
  <!-- ################################ QUESTION AND ANSWER SET STARTS HERE ############################################-->
2063
  <?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
2064
 
2109
  <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>
2110
  <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;">
2111
  <div class="acx_csmap_q_and_a_inside">
2112
+
2113
+ <label>
2114
+ Would you like to show Subscription form?
2115
+ </label>
2116
+ <div class="acx_qa_field">
2117
+ <select name="acx_csma_show_subscription3">
2118
+ <option value="1" <?php if ($acx_csma_appearence_array['3']['acx_csma_show_subscription3'] == "1") { echo 'selected="selected"'; } ?>>Yes </option>
2119
+ <option value="0" <?php if ($acx_csma_appearence_array['3']['acx_csma_show_subscription3'] == "0") { echo 'selected="selected"'; } ?>>No</option>
2120
+ </select>
2121
+ </div>
2122
  <label>
2123
  Title:
2124
  </label>
2219
  <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>
2220
  <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;">
2221
  <div class="acx_csmap_q_and_a_inside">
2222
+
2223
+ <label>
2224
+ Would you like to show Timer?
2225
+ </label>
2226
+ <div class="acx_qa_field">
2227
+ <select name="acx_csma_show_timer3">
2228
+ <option value="1" <?php if ($acx_csma_appearence_array['3']['acx_csma_show_timer3'] == "1") { echo 'selected="selected"'; } ?>>Yes </option>
2229
+ <option value="0" <?php if ($acx_csma_appearence_array['3']['acx_csma_show_timer3'] == "0") { echo 'selected="selected"'; } ?>>No</option>
2230
+ </select>
2231
+ </div>
2232
+
2233
+ <label>
2234
+ Custom HTML Block Above Timer
2235
+ </label>
2236
+ <div class="acx_qa_field">
2237
+ <?php $acx_csma_custom_html_top_timer_temp3 = $acx_csma_appearence_array['3']['acx_csma_custom_html_top_timer_temp3']; ?>
2238
+ <textarea id="acx_csma_custom_html_top_timer_temp3" name="acx_csma_custom_html_top_timer_temp3" placeholder="HTML Code Here"><?php echo stripslashes($acx_csma_custom_html_top_timer_temp3); ?></textarea>
2239
+ </div><!-- acx_qa_field -->
2240
+ <div class="f_w"></div>
2241
+
2242
+ <label>
2243
+ Custom HTML Block Below Description
2244
+ </label>
2245
+ <div class="acx_qa_field">
2246
+ <?php $acx_csma_custom_html_bottom_temp3 =$acx_csma_appearence_array['3']['acx_csma_custom_html_bottom_temp3']; ?>
2247
+ <textarea id="acx_csma_custom_html_bottom_temp3" name="acx_csma_custom_html_bottom_temp3" placeholder="HTML Code Here"><?php echo stripslashes($acx_csma_custom_html_bottom_temp3); ?></textarea>
2248
+ </div><!-- acx_qa_field -->
2249
+ <div class="f_w"></div>
2250
+
2251
  <label>
2252
  Input Text Color:<a onclick="acx_csma_restore_default('','#000000','acx_csma_timer_iptext_color3');" class="acx_csmap_button_reset">[Reset To Default]</a>
2253
  </label>
2366
  </div> <!-- acx_csmap_q_and_a -->
2367
  </div> <!-- acx_csmap_q_and_a_h -->
2368
  <!-- ################################# QUESTION AND ANSWER SET ENDS HERE #############################################-->
2369
+ <!--################################ QUESTION AND ANSWER SET STARTS HERE ############################################ -->
2370
+ <?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
2371
+
2372
+ <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; ?>">
2373
+ <span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
2374
+ Custom css Settings
2375
+ </span>
2376
+ <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>
2377
+ <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;">
2378
+ <div class="acx_csmap_q_and_a_inside">
2379
+
2380
+ <label>
2381
+ Custom css
2382
+ </label>
2383
+ <div class="acx_qa_field">
2384
+ <?php $acx_csma_custom_css_temp3 = $acx_csma_appearence_array['3']['acx_csma_custom_css_temp3']; ?>
2385
+ <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>
2386
+ </div><!-- acx_qa_field -->
2387
+ <div class="f_w"></div>
2388
+ </div> <!-- acx_csmap_q_and_a_inside -->
2389
+ </div> <!-- acx_csmap_q_and_a -->
2390
+ </div> <!-- acx_csmap_q_and_a_h -->
2391
+ <!-- ################################# QUESTION AND ANSWER SET ENDS HERE ############################################-->
2392
 
2393
  </div> <!-- acx_csma_3_p_q_and_a_h_main_holder -->
2394
  </div><!--acx_csma_template_3-->
2632
  </div> <!-- acx_csmap_q_and_a -->
2633
  </div> <!-- acx_csmap_q_and_a_h -->
2634
  <!-- ################################# QUESTION AND ANSWER SET ENDS HERE #############################################-->
2635
+
2636
+ <!--################################ QUESTION AND ANSWER SET STARTS HERE ############################################ -->
2637
+ <?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
2638
+
2639
+ <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; ?>">
2640
+ <span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
2641
+ Custom css Settings
2642
+ </span>
2643
+ <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>
2644
+ <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;">
2645
+ <div class="acx_csmap_q_and_a_inside">
2646
+
2647
+ <label>
2648
+ Custom css
2649
+ </label>
2650
+ <div class="acx_qa_field">
2651
+ <?php $acx_csma_custom_css_temp4 = $acx_csma_appearence_array['4']['acx_csma_custom_css_temp4']; ?>
2652
+ <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>
2653
+ </div><!-- acx_qa_field -->
2654
+ <div class="f_w"></div>
2655
+ </div> <!-- acx_csmap_q_and_a_inside -->
2656
+ </div> <!-- acx_csmap_q_and_a -->
2657
+ </div> <!-- acx_csmap_q_and_a_h -->
2658
+ <!-- ################################# QUESTION AND ANSWER SET ENDS HERE ############################################-->
2659
  </div> <!-- acx_csma_4_p_q_and_a_h_main_holder -->
2660
  </div><!--acx_csma_template_4-->
2661
 
2870
  <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>
2871
  <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;">
2872
  <div class="acx_csmap_q_and_a_inside">
2873
+ <label>
2874
+ Would you like to show Subscription form?
2875
+ </label>
2876
+ <div class="acx_qa_field">
2877
+ <select name="acx_csma_show_subscription5">
2878
+ <option value="1" <?php if ($acx_csma_appearence_array['5']['acx_csma_show_subscription5'] == "1") { echo 'selected="selected"'; } ?>>Yes </option>
2879
+ <option value="0" <?php if ($acx_csma_appearence_array['5']['acx_csma_show_subscription5'] == "0") { echo 'selected="selected"'; } ?>>No</option>
2880
+ </select>
2881
+ </div>
2882
+ <label>
2883
+ Custom HTML Block Above Subscription form
2884
+ </label>
2885
+ <div class="acx_qa_field">
2886
+ <?php $acx_csma_custom_html_top_sub = $acx_csma_appearence_array['5']['acx_csma_custom_html_top_sub']; ?>
2887
+ <textarea id="acx_csma_custom_html_top_sub" name="acx_csma_custom_html_top_sub" placeholder="HTML Code Here"><?php echo stripslashes($acx_csma_custom_html_top_sub); ?></textarea>
2888
+ </div><!-- acx_qa_field -->
2889
+ <div class="f_w"></div>
2890
+
2891
+ <label>
2892
+ Custom HTML Block Below Subscription form
2893
+ </label>
2894
+ <div class="acx_qa_field">
2895
+ <?php $acx_csma_custom_html_bottom_sub =$acx_csma_appearence_array['5']['acx_csma_custom_html_bottom_sub']; ?>
2896
+ <textarea id="acx_csma_custom_html_bottom_sub" name="acx_csma_custom_html_bottom_sub" placeholder="HTML Code Here"><?php echo stripslashes($acx_csma_custom_html_bottom_sub); ?></textarea>
2897
+ </div><!-- acx_qa_field -->
2898
+ <div class="f_w"></div>
2899
  <label>
2900
  Background Color:<a onclick="acx_csma_restore_default('','#2f2f2f','acx_csma_subscribe_bg_color5');" class="acx_csmap_button_reset">[Reset To Default]</a>
2901
  </label>
2910
  <input type="text" name="acx_csma_subscribe_main_title5" value="<?php echo stripslashes(esc_attr($acx_csma_appearence_array['5']['acx_csma_subscribe_main_title5'])); ?>" size="20"/>
2911
  </div> <!-- acx_qa_field -->
2912
  <label>
2913
+ Launch Title Text Color:<a onclick="acx_csma_restore_default('','#4b4b4b','acx_csma_launch_title_color5');" class="acx_csmap_button_reset">[Reset To Default]</a>
2914
+ </label>
2915
+ <div class="acx_qa_field">
2916
+ <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"/>
2917
+ <div style="position: absolute;" id="acx_csma_launch_title_color5_div"></div>
2918
+ </div> <!-- acx_qa_field -->
2919
+ <label>
2920
  Title:
2921
  </label>
2922
  <div class="acx_qa_field">
2969
  </div> <!-- acx_csmap_q_and_a -->
2970
  </div> <!-- acx_csmap_q_and_a_h -->
2971
  <!-- ################################# QUESTION AND ANSWER SET ENDS HERE #############################################-->
2972
+ <!--################################ QUESTION AND ANSWER SET STARTS HERE ############################################ -->
2973
+ <?php $acx_csmap_qa_id = $acx_csmap_qa_id+1; ?>
2974
 
2975
+ <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; ?>">
2976
+ <span class="acx_csma_q" onclick="acx_csmap_easy_qa_toggle(<?php echo $acx_csmap_qa_id; ?>);">
2977
+ Custom css Settings
2978
+ </span>
2979
+ <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>
2980
+ <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;">
2981
+ <div class="acx_csmap_q_and_a_inside">
2982
+
2983
+ <label>
2984
+ Custom css
2985
+ </label>
2986
+ <div class="acx_qa_field">
2987
+ <?php $acx_csma_custom_css_temp5 = $acx_csma_appearence_array['5']['acx_csma_custom_css_temp5']; ?>
2988
+ <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>
2989
+ </div><!-- acx_qa_field -->
2990
+ <div class="f_w"></div>
2991
+ </div> <!-- acx_csmap_q_and_a_inside -->
2992
+ </div> <!-- acx_csmap_q_and_a -->
2993
+ </div> <!-- acx_csmap_q_and_a_h -->
2994
+ <!-- ################################# QUESTION AND ANSWER SET ENDS HERE ############################################-->
2995
  </div> <!-- acx_csma_5_p_q_and_a_h_main_holder -->
2996
  </div><!--acx_csma_template_5-->
2997
  <?php acx_csma_hook_function('acx_csma_hook_mainoptions_below_appearence_settings'); ?>
includes/hooks.php CHANGED
@@ -73,20 +73,4 @@ function acx_csma_hook_mainoptions_below_javascript()
73
  {
74
  do_action('acx_csma_hook_mainoptions_below_javascript');
75
  }
76
- function acx_csma_above_template_html()
77
- {
78
- do_action('acx_csma_above_template_html');
79
- }
80
- function acx_csma_bottom_inside_head_tag()
81
- {
82
- do_action('acx_csma_bottom_inside_head_tag');
83
- }
84
- function acx_csma_top_inside_body_tag()
85
- {
86
- do_action('acx_csma_top_inside_body_tag');
87
- }
88
- function acx_csma_bottom_inside_body_tag()
89
- {
90
- do_action('acx_csma_bottom_inside_body_tag');
91
- }
92
  ?>
73
  {
74
  do_action('acx_csma_hook_mainoptions_below_javascript');
75
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  ?>
js/color.js CHANGED
@@ -276,4 +276,32 @@ jQuery(document).ready(function($)
276
  jQuery('#acx_csma_subscribe_bg_color5').click(function(){jQuery('#acx_csma_subscribe_bg_color5_div').slideDown()});
277
  jQuery('#acx_csma_subscribe_bg_color5').blur(function(){jQuery('#acx_csma_subscribe_bg_color5_div').slideUp()});
278
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
279
  });
276
  jQuery('#acx_csma_subscribe_bg_color5').click(function(){jQuery('#acx_csma_subscribe_bg_color5_div').slideDown()});
277
  jQuery('#acx_csma_subscribe_bg_color5').blur(function(){jQuery('#acx_csma_subscribe_bg_color5_div').slideUp()});
278
 
279
+ jQuery('#acx_csma_launch_title_color5_div').hide();
280
+ jQuery('#acx_csma_launch_title_color5_div').farbtastic('#acx_csma_launch_title_color5');
281
+ jQuery('#acx_csma_launch_title_color5').click(function(){jQuery('#acx_csma_launch_title_color5_div').slideDown()});
282
+ jQuery('#acx_csma_launch_title_color5').blur(function(){jQuery('#acx_csma_launch_title_color5_div').slideUp()});
283
+
284
+ jQuery('#acx_csma_primary_color3_div').hide();
285
+ jQuery('#acx_csma_primary_color3_div').farbtastic('#acx_csma_primary_color3');
286
+ jQuery('#acx_csma_primary_color3').click(function(){jQuery('#acx_csma_primary_color3_div').slideDown()});
287
+ jQuery('#acx_csma_primary_color3').blur(function(){jQuery('#acx_csma_primary_color3_div').slideUp()});
288
+
289
+ jQuery('#acx_csma_secondary_color3_div').hide();
290
+ jQuery('#acx_csma_secondary_color3_div').farbtastic('#acx_csma_secondary_color3');
291
+ jQuery('#acx_csma_secondary_color3').click(function(){jQuery('#acx_csma_secondary_color3_div').slideDown()});
292
+ jQuery('#acx_csma_secondary_color3').blur(function(){jQuery('#acx_csma_secondary_color3_div').slideUp()});
293
+
294
+ jQuery('#acx_csma_left_bar_color3_div').hide();
295
+ jQuery('#acx_csma_left_bar_color3_div').farbtastic('#acx_csma_left_bar_color3');
296
+ jQuery('#acx_csma_left_bar_color3').click(function(){jQuery('#acx_csma_left_bar_color3_div').slideDown()});
297
+ jQuery('#acx_csma_left_bar_color3').blur(function(){jQuery('#acx_csma_left_bar_color3_div').slideUp()});
298
+
299
+ jQuery('#acx_csma_timer_color3_div').hide();
300
+ jQuery('#acx_csma_timer_color3_div').farbtastic('#acx_csma_timer_color3');
301
+ jQuery('#acx_csma_timer_color3').click(function(){jQuery('#acx_csma_timer_color3_div').slideDown()});
302
+ jQuery('#acx_csma_timer_color3').blur(function(){jQuery('#acx_csma_timer_color3_div').slideUp()});
303
+
304
+
305
+
306
+
307
  });
readme.txt CHANGED
@@ -179,6 +179,19 @@ Its Because You Selected The Option “Would You Like To End The Maintenance Mod
179
 
180
  == Upgrade Notice ==
181
 
 
 
 
 
 
 
 
 
 
 
 
 
 
182
  = 2.3 =
183
  * Feb 06, 2016
184
  * Style Improvements on Templates
@@ -224,6 +237,19 @@ Its Because You Selected The Option “Would You Like To End The Maintenance Mod
224
 
225
  == Changelog ==
226
 
 
 
 
 
 
 
 
 
 
 
 
 
 
227
  = 2.3 =
228
  * Feb 06, 2016
229
  * Style Improvements on Templates
179
 
180
  == Upgrade Notice ==
181
 
182
+ = 2.4 =
183
+ * Feb 20, 2016
184
+ * Added More Customization Options for Templates
185
+ * Option to Hide Subscriber Forms
186
+ * Fixed Bug on Role Selection
187
+ * Twitter Icon Updated
188
+ * Added More Custom HTML Blocks
189
+ * Added Option to add Custom CSS for each template
190
+ * Social Media Icon Display Logic Improvements
191
+ * Several Bug Fixes and Improvements
192
+ * Optimized Logics
193
+ * Stability Improvements
194
+
195
  = 2.3 =
196
  * Feb 06, 2016
197
  * Style Improvements on Templates
237
 
238
  == Changelog ==
239
 
240
+ = 2.4 =
241
+ * Feb 20, 2016
242
+ * Added More Customization Options for Templates
243
+ * Option to Hide Subscriber Forms
244
+ * Fixed Bug on Role Selection
245
+ * Twitter Icon Updated
246
+ * Added More Custom HTML Blocks
247
+ * Added Option to add Custom CSS for each template
248
+ * Social Media Icon Display Logic Improvements
249
+ * Several Bug Fixes and Improvements
250
+ * Optimized Logics
251
+ * Stability Improvements
252
+
253
  = 2.3 =
254
  * Feb 06, 2016
255
  * Style Improvements on Templates
templates/1/index.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  $acx_csma_template_id = 1;
3
- acx_csma_hook_function('acx_csma_above_template_html');
4
  $acx_csma_appearence_array_1=get_option('acx_csma_appearence_array');
5
  if(is_serialized($acx_csma_appearence_array_1 ))
6
  {
@@ -48,6 +48,8 @@ if($acx_csma_meta_keywords!="")
48
  }
49
  ?>
50
  <style>
 
 
51
  .submit:hover
52
  {
53
  color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_btn_hover_color1']; ?>;
@@ -62,7 +64,7 @@ if($acx_csma_meta_keywords!="")
62
  <link rel="icon" href="<?php echo esc_url($acx_csma_favicon); ?>" type="image/png">
63
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
64
  <?php echo stripslashes(get_option('acx_csma_ga_trakng_code'));
65
- acx_csma_hook_function('acx_csma_bottom_inside_head_tag');
66
  ?>
67
  </head>
68
  <?php
@@ -79,7 +81,7 @@ if(is_numeric($acx_csma_background_image1_id))
79
  <body style="background: url('<?php echo $bg_image1_url; ?>') no-repeat fixed center center transparent; background-size:cover; ">
80
 
81
  <?php
82
- acx_csma_hook_function('acx_csma_top_inside_body_tag');
83
  if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array_1[$acx_csma_template_id])){
84
  if($acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_logo_choice']=="text")
85
  {
@@ -178,7 +180,32 @@ $new_class="";}
178
  { ?>
179
  </div><!-- timer_holder -->
180
  <?php } ?>
 
 
 
 
 
 
 
181
  <div class="inline_block form" style="background: none repeat scroll 0 0 <?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_bg_color1']; ?>">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
182
  <h4><span style="color: <?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_title_color1']; ?>;"><?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_title1']; ?></span></h4>
183
  <form name="acx_csma_form" method="post" action="<?php echo str_replace( '%7E', '~',$_SERVER['REQUEST_URI']); ?>">
184
  <div id="acx_csma_success" name="acx_csma_success" style="display:none; color:white;" ><?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_success1']; ?></div>
@@ -188,7 +215,27 @@ $new_class="";}
188
  <input type="hidden" id="acx_csma_email" name="email" placeholder="Enter Your Email Here" ><br/>
189
  <input type="button" id="acx_csma_submit" onclick="acx_csma_validate_email();" value="NEXT" class="submit" >
190
  </form>
191
- </div><!-- form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
  <div class="timer_head footer" style="background:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_footer_bgcolor1']; ?>;color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_footer_text_color1']; ?>"><?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_footer_text1']; ?></div><!-- timer_head -->
193
  </div><!-- inline_block -->
194
  </div><!-- canvas960 -->
@@ -198,11 +245,22 @@ $new_class="";}
198
  jQuery(document).ready(function() {
199
  jQuery(window).keydown(function(event){
200
  if(event.keyCode == 13) {
 
 
 
 
201
  acx_csma_validate_email();
202
  return false;
 
 
 
203
  }
204
  });
205
  });
 
 
 
 
206
  var acx_csma_form_status=1;
207
  function acx_csma_validate_email()
208
  {
@@ -305,7 +363,9 @@ function acx_csma_validate_email()
305
  }
306
  }
307
  }
308
-
 
 
309
  <?php if($acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_show_timer1']==1)
310
  {
311
  if($acx_csma_timestamp < $acx_csma_date_time)
@@ -424,6 +484,6 @@ function updateCounter()
424
  }
425
  ?>
426
  </script>
427
- <?php acx_csma_hook_function('acx_csma_bottom_inside_body_tag'); ?>
428
  </body>
429
  </html>
1
  <?php
2
  $acx_csma_template_id = 1;
3
+ do_action('acx_csma_above_template_html',$acx_csma_template_id);
4
  $acx_csma_appearence_array_1=get_option('acx_csma_appearence_array');
5
  if(is_serialized($acx_csma_appearence_array_1 ))
6
  {
48
  }
49
  ?>
50
  <style>
51
+
52
+ <?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_custom_css_temp1']; ?>;
53
  .submit:hover
54
  {
55
  color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_btn_hover_color1']; ?>;
64
  <link rel="icon" href="<?php echo esc_url($acx_csma_favicon); ?>" type="image/png">
65
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
66
  <?php echo stripslashes(get_option('acx_csma_ga_trakng_code'));
67
+ do_action('acx_csma_bottom_inside_head_tag',$acx_csma_template_id);
68
  ?>
69
  </head>
70
  <?php
81
  <body style="background: url('<?php echo $bg_image1_url; ?>') no-repeat fixed center center transparent; background-size:cover; ">
82
 
83
  <?php
84
+ do_action('acx_csma_top_inside_body_tag',$acx_csma_template_id);
85
  if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array_1[$acx_csma_template_id])){
86
  if($acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_logo_choice']=="text")
87
  {
180
  { ?>
181
  </div><!-- timer_holder -->
182
  <?php } ?>
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
  <div class="inline_block form" style="background: none repeat scroll 0 0 <?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_bg_color1']; ?>">
191
+ <?php
192
+ $acx_csma_custom_html_top_sub1 = $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_custom_html_top_sub1'];
193
+ $acx_csma_custom_html_bottom_sub1 = $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_custom_html_bottom_sub1'];
194
+ $acx_csma_show_subscription = $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_show_subscription'];
195
+ if($acx_csma_custom_html_top_sub1 != "" || $acx_csma_custom_html_bottom_sub1 != "" || $acx_csma_show_subscription == 1)
196
+ {
197
+
198
+ if($acx_csma_custom_html_top_sub1 != "")
199
+ { ?>
200
+ <div class="acx_csma_content_div acx_csma_top acx_csma_top_1" id="acx_csma_top_1">
201
+ <?php echo $acx_csma_custom_html_top_sub1; ?>
202
+ </div>
203
+ <?php
204
+ }
205
+
206
+ if($acx_csma_show_subscription == 1)
207
+ {
208
+ ?>
209
  <h4><span style="color: <?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_title_color1']; ?>;"><?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_title1']; ?></span></h4>
210
  <form name="acx_csma_form" method="post" action="<?php echo str_replace( '%7E', '~',$_SERVER['REQUEST_URI']); ?>">
211
  <div id="acx_csma_success" name="acx_csma_success" style="display:none; color:white;" ><?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_subscribe_success1']; ?></div>
215
  <input type="hidden" id="acx_csma_email" name="email" placeholder="Enter Your Email Here" ><br/>
216
  <input type="button" id="acx_csma_submit" onclick="acx_csma_validate_email();" value="NEXT" class="submit" >
217
  </form>
218
+ <?php
219
+ }
220
+
221
+ if($acx_csma_custom_html_bottom_sub1 != "")
222
+ { ?>
223
+ <div class="acx_csma_content_div acx_csma_bottom acx_csma_bottom_1" id="acx_csma_top_1">
224
+ <?php echo $acx_csma_custom_html_bottom_sub1; ?>
225
+ </div>
226
+ <?php
227
+ }
228
+ }
229
+ ?>
230
+
231
+ </div>
232
+
233
+
234
+
235
+
236
+
237
+
238
+ <!-- form -->
239
  <div class="timer_head footer" style="background:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_footer_bgcolor1']; ?>;color:<?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_footer_text_color1']; ?>"><?php echo $acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_footer_text1']; ?></div><!-- timer_head -->
240
  </div><!-- inline_block -->
241
  </div><!-- canvas960 -->
245
  jQuery(document).ready(function() {
246
  jQuery(window).keydown(function(event){
247
  if(event.keyCode == 13) {
248
+ <?php
249
+ if($acx_csma_show_subscription == 1)
250
+ {
251
+ ?>
252
  acx_csma_validate_email();
253
  return false;
254
+ <?php
255
+ }
256
+ ?>
257
  }
258
  });
259
  });
260
+ <?php
261
+ if($acx_csma_show_subscription == 1)
262
+ {
263
+ ?>
264
  var acx_csma_form_status=1;
265
  function acx_csma_validate_email()
266
  {
363
  }
364
  }
365
  }
366
+ <?php
367
+ }
368
+ ?>
369
  <?php if($acx_csma_appearence_array_1[$acx_csma_template_id]['acx_csma_show_timer1']==1)
370
  {
371
  if($acx_csma_timestamp < $acx_csma_date_time)
484
  }
485
  ?>
486
  </script>
487
+ <?php do_action('acx_csma_bottom_inside_body_tag',$acx_csma_template_id); ?>
488
  </body>
489
  </html>
templates/1/style.css CHANGED
@@ -168,6 +168,11 @@ input
168
  font-size: 12px;
169
  }
170
 
 
 
 
 
 
171
  #acx_csma_loading
172
  {
173
  background: rgba(1, 1, 1, 0.5);
168
  font-size: 12px;
169
  }
170
 
171
+ #acx_csma_top_1
172
+ {
173
+ margin-top: 10px;
174
+ margin-bottom: 10px;
175
+ }
176
  #acx_csma_loading
177
  {
178
  background: rgba(1, 1, 1, 0.5);
templates/2/images/facebook.png CHANGED
Binary file
templates/2/images/linkedin.png CHANGED
Binary file
templates/2/images/twitter.png CHANGED
Binary file
templates/2/index.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  $acx_csma_template_id = 2;
3
- acx_csma_hook_function('acx_csma_above_template_html');
4
  $acx_csma_meta_title =get_option('acx_csma_meta_title');
5
  $acx_csma_meta_description=get_option('acx_csma_meta_description');
6
  $acx_csma_meta_keywords=get_option('acx_csma_meta_keywords');
@@ -45,16 +45,22 @@ if($acx_csma_meta_keywords!="")
45
  <?php
46
  }
47
  ?>
 
 
 
 
 
48
  <link href="<?php echo plugins_url('style.css', __FILE__); ?>" rel="stylesheet" type="text/css" />
49
  <link rel="icon" href="<?php echo esc_url($acx_csma_favicon); ?>" type="image/png">
50
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
51
  <?php echo stripslashes(get_option('acx_csma_ga_trakng_code'));
52
- acx_csma_hook_function('acx_csma_bottom_inside_head_tag');
53
  ?>
 
54
  </head>
55
  <body style="background:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_bg_color2']; ?>">
56
- <?php
57
- acx_csma_hook_function('acx_csma_top_inside_body_tag');
58
  if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array_2[$acx_csma_template_id])){
59
  if($acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_logo_choice']=="text")
60
  {
@@ -87,8 +93,16 @@ $new_class="";
87
  <div class="logo_text" style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_logo_text_color2']; ?>"><?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_logo_text2']; ?></div><!-- logo_text-->
88
  <?php }} ?></div><!-- header -->
89
  <div class="inline_block yellow" style="background: none repeat scroll 0 0 <?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_inside_bg_color2']; ?>;">
90
- <div class="inline_block form">
 
 
 
 
91
  <h2 style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_subtitle_color2']; ?>"><span class="inline_main_title" style="font-size:72px; color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_title_color2']; ?>"><strong><?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_title2']; ?></strong></span><br> <?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_subtitle_text2']; ?> </h2>
 
 
 
 
92
  <form name="acx_csma_form" method="post" action="<?php echo str_replace( '%7E', '~',$_SERVER['REQUEST_URI']); ?>">
93
  <div id="acx_csma_success" name="acx_csma_success" style="display:none;color:white;" ><?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_subscribe_success2']; ?></div>
94
  <div id="acx_csma_invalid" name="acx_csma_invalid" style="display:none;color:white;" ><?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_subscribe_invalid2']; ?></div>
@@ -97,8 +111,16 @@ $new_class="";
97
  <input type="hidden" id="acx_csma_email" name="email" placeholder="Get Notified (Email)">
98
  <input type="button" value="NEXT" 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']; ?>">
99
  </form>
 
 
 
100
  </div><!-- form -->
101
- <div class="inline_block timer_holder">
 
 
 
 
 
102
  <h3><?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_title2']; ?></h3>
103
  <div class="timer_box days">
104
  <ul>
@@ -126,7 +148,15 @@ $new_class="";
126
  <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>
127
  </ul>
128
  <p style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_head_color2']; ?>">Seconds</p>
129
- </div><!-- timer_box -->
 
 
 
 
 
 
 
 
130
  </div><!-- timer_holder -->
131
 
132
  <div class="inline_block text_box">
@@ -143,15 +173,40 @@ $new_class="";
143
  </div><!-- inline_block -->
144
  </div><!-- inline_block -->
145
  <div class="footer">
 
 
 
 
 
 
 
146
  <ul>
147
  <p>FOLLOW US ON</p>
148
- <li><a href="<?php echo esc_url($acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_fb_link2']); ?>"><img src="<?php echo plugins_url('images/facebook.png', __FILE__); ?>" alt="Logo"></a></li>
149
-
150
- <li><a href="<?php echo esc_url($acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_twitter_link2']); ?>"><img src="<?php echo plugins_url('images/twitter.png', __FILE__); ?>" alt="Logo"></a></li>
151
-
152
- <li><a href="<?php echo esc_url($acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_linkedin_link2']); ?>"><img src="<?php echo plugins_url('images/linkedin.png', __FILE__); ?>" alt="Logo"></a></li>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
 
154
  </ul>
 
 
 
155
  </div><!-- footer -->
156
  </div><!-- inline_block -->
157
 
@@ -161,11 +216,22 @@ $new_class="";
161
  jQuery(document).ready(function() {
162
  jQuery(window).keydown(function(event){
163
  if(event.keyCode == 13) {
 
 
 
 
164
  acx_csma_validate_email();
165
  return false;
 
 
 
166
  }
167
  });
168
  });
 
 
 
 
169
  var acx_csma_form_status=1;
170
  function acx_csma_validate_email()
171
  {
@@ -268,7 +334,9 @@ function acx_csma_validate_email()
268
  }
269
  }
270
  }
271
- <?php
 
 
272
  if($acx_csma_timestamp < $acx_csma_date_time)
273
  {?>
274
  var start_date = <?php echo $acx_csma_start_date_time; ?>;
@@ -365,6 +433,6 @@ function updateCounter()
365
  }
366
  ?>
367
  </script>
368
- <?php acx_csma_hook_function('acx_csma_bottom_inside_body_tag'); ?>
369
  </body>
370
  </html>
1
  <?php
2
  $acx_csma_template_id = 2;
3
+ do_action('acx_csma_above_template_html',$acx_csma_template_id);
4
  $acx_csma_meta_title =get_option('acx_csma_meta_title');
5
  $acx_csma_meta_description=get_option('acx_csma_meta_description');
6
  $acx_csma_meta_keywords=get_option('acx_csma_meta_keywords');
45
  <?php
46
  }
47
  ?>
48
+
49
+ <style>
50
+ <?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_custom_css_temp2']; ?>
51
+ </style>
52
+
53
  <link href="<?php echo plugins_url('style.css', __FILE__); ?>" rel="stylesheet" type="text/css" />
54
  <link rel="icon" href="<?php echo esc_url($acx_csma_favicon); ?>" type="image/png">
55
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
56
  <?php echo stripslashes(get_option('acx_csma_ga_trakng_code'));
57
+ do_action('acx_csma_bottom_inside_head_tag',$acx_csma_template_id);
58
  ?>
59
+
60
  </head>
61
  <body style="background:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_bg_color2']; ?>">
62
+ <?php
63
+ do_action('acx_csma_top_inside_body_tag',$acx_csma_template_id);
64
  if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array_2[$acx_csma_template_id])){
65
  if($acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_logo_choice']=="text")
66
  {
93
  <div class="logo_text" style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_logo_text_color2']; ?>"><?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_logo_text2']; ?></div><!-- logo_text-->
94
  <?php }} ?></div><!-- header -->
95
  <div class="inline_block yellow" style="background: none repeat scroll 0 0 <?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_inside_bg_color2']; ?>;">
96
+ <div class="inline_block form">
97
+ <?php
98
+ $acx_csma_show_subscription2=$acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_show_subscription2'];
99
+ ?>
100
+
101
  <h2 style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_subtitle_color2']; ?>"><span class="inline_main_title" style="font-size:72px; color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_title_color2']; ?>"><strong><?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_title2']; ?></strong></span><br> <?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_subtitle_text2']; ?> </h2>
102
+ <?php
103
+ if($acx_csma_show_subscription2 == 1)
104
+ {
105
+ ?>
106
  <form name="acx_csma_form" method="post" action="<?php echo str_replace( '%7E', '~',$_SERVER['REQUEST_URI']); ?>">
107
  <div id="acx_csma_success" name="acx_csma_success" style="display:none;color:white;" ><?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_subscribe_success2']; ?></div>
108
  <div id="acx_csma_invalid" name="acx_csma_invalid" style="display:none;color:white;" ><?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_subscribe_invalid2']; ?></div>
111
  <input type="hidden" id="acx_csma_email" name="email" placeholder="Get Notified (Email)">
112
  <input type="button" value="NEXT" 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']; ?>">
113
  </form>
114
+ <?php
115
+ }
116
+ ?>
117
  </div><!-- form -->
118
+ <div class="inline_block timer_holder">
119
+
120
+ <?php
121
+ $acx_csma_custom_html_top_timer=$acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_custom_html_top_timer'];
122
+ ?>
123
+
124
  <h3><?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_title2']; ?></h3>
125
  <div class="timer_box days">
126
  <ul>
148
  <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>
149
  </ul>
150
  <p style="color:<?php echo $acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_timer_head_color2']; ?>">Seconds</p>
151
+ </div><!-- timer_box -->
152
+ <div id="acx_csma_content_below_timer">
153
+ <?php
154
+ if($acx_csma_custom_html_top_timer != "")
155
+ {
156
+ echo $acx_csma_custom_html_top_timer;
157
+ }
158
+ ?>
159
+ </div>
160
  </div><!-- timer_holder -->
161
 
162
  <div class="inline_block text_box">
173
  </div><!-- inline_block -->
174
  </div><!-- inline_block -->
175
  <div class="footer">
176
+ <?php
177
+ $acx_csma_fb_link2=$acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_fb_link2'];
178
+ $acx_csma_twitter_link2=$acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_twitter_link2'];
179
+ $acx_csma_linkedin_link2=$acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_linkedin_link2'];
180
+ if($acx_csma_fb_link2 != "" || $acx_csma_twitter_link2 != "" || $acx_csma_linkedin_link2 != "")
181
+ {
182
+ ?>
183
  <ul>
184
  <p>FOLLOW US ON</p>
185
+ <?php
186
+ if($acx_csma_fb_link2 != "")
187
+ {
188
+ ?>
189
+ <li><a class="acx_csma_social_icons csma_fb" href="<?php echo esc_url($acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_fb_link2']); ?>"><img src="<?php echo plugins_url('images/facebook.png', __FILE__); ?>" alt="Logo"></a></li>
190
+ <?php
191
+ }
192
+ if($acx_csma_twitter_link2 != "")
193
+ {
194
+ ?>
195
+ <li><a class="acx_csma_social_icons csma_twtr" href="<?php echo esc_url($acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_twitter_link2']); ?>"><img src="<?php echo plugins_url('images/twitter.png', __FILE__); ?>" alt="Logo"></a></li>
196
+ <?php
197
+ }
198
+ if($acx_csma_linkedin_link2 != "")
199
+ {
200
+ ?>
201
+ <li><a class="acx_csma_social_icons csma_lnkn" href="<?php echo esc_url($acx_csma_appearence_array_2[$acx_csma_template_id]['acx_csma_linkedin_link2']); ?>"><img src="<?php echo plugins_url('images/linkedin.png', __FILE__); ?>" alt="Logo"></a></li>
202
+ <?php
203
+ }
204
+ ?>
205
 
206
  </ul>
207
+ <?php
208
+ }
209
+ ?>
210
  </div><!-- footer -->
211
  </div><!-- inline_block -->
212
 
216
  jQuery(document).ready(function() {
217
  jQuery(window).keydown(function(event){
218
  if(event.keyCode == 13) {
219
+ <?php
220
+ if($acx_csma_show_subscription2 == 1)
221
+ {
222
+ ?>
223
  acx_csma_validate_email();
224
  return false;
225
+ <?php
226
+ }
227
+ ?>
228
  }
229
  });
230
  });
231
+ <?php
232
+ if($acx_csma_show_subscription2 == 1)
233
+ {
234
+ ?>
235
  var acx_csma_form_status=1;
236
  function acx_csma_validate_email()
237
  {
334
  }
335
  }
336
  }
337
+ <?php
338
+ }
339
+
340
  if($acx_csma_timestamp < $acx_csma_date_time)
341
  {?>
342
  var start_date = <?php echo $acx_csma_start_date_time; ?>;
433
  }
434
  ?>
435
  </script>
436
+ <?php do_action('acx_csma_bottom_inside_body_tag',$acx_csma_template_id);?>
437
  </body>
438
  </html>
templates/2/style.css CHANGED
@@ -74,16 +74,6 @@ h4
74
  {
75
  display: inline-block;
76
  }
77
- /* .header
78
- {
79
- background: url("images/corner_1.png") no-repeat scroll right center rgba(0, 0, 0, 0);
80
- height: 81px;
81
- margin: 0 0 -12px;
82
- max-width: 885px;
83
- padding: 0 60px 0 26px;
84
- position: relative;
85
- text-align: right;
86
- } */
87
 
88
  .header {
89
  background: rgba(0, 0, 0, 0) url("images/corner_1.png") no-repeat scroll right top;
@@ -97,10 +87,11 @@ h4
97
  text-align: right;
98
  }
99
 
100
- /* .header img
101
- {
102
- margin: 28px 0 0;
103
- } */
 
104
  #csma_master_logo {
105
  float: right;
106
  margin-top: 13px;
@@ -246,13 +237,41 @@ form
246
  margin-right: 5px;
247
  overflow: hidden;
248
  }
249
- .footer ul li a img:hover
250
- {
251
- margin-top: -16px;
252
- }
253
  .day_text {
254
  padding: 62px 0 0 !important;
255
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
256
  #acx_csma_loading
257
  {
258
  background: rgba(1, 1, 1, 0.5);
74
  {
75
  display: inline-block;
76
  }
 
 
 
 
 
 
 
 
 
 
77
 
78
  .header {
79
  background: rgba(0, 0, 0, 0) url("images/corner_1.png") no-repeat scroll right top;
87
  text-align: right;
88
  }
89
 
90
+ #acx_csma_content_below_timer {
91
+ float: left;
92
+ margin-top: 10px;
93
+ width: 100%;
94
+ }
95
  #csma_master_logo {
96
  float: right;
97
  margin-top: 13px;
237
  margin-right: 5px;
238
  overflow: hidden;
239
  }
240
+
 
 
 
241
  .day_text {
242
  padding: 62px 0 0 !important;
243
  }
244
+ .acx_csma_social_icons {
245
+ background: #333 none repeat scroll 0 0;
246
+ display: block;
247
+ float: left;
248
+ height: 16px;
249
+ width: 16px;
250
+ }
251
+
252
+ .acx_csma_social_icons > img
253
+ {
254
+ display:block;
255
+ margin:auto;
256
+ max-width:100%;
257
+ vertical-align:middle;
258
+ }
259
+ .csma_fb:hover
260
+ {
261
+ background:#3b5998;
262
+ }
263
+
264
+ .csma_twtr:hover
265
+ {
266
+ background:#55acee;
267
+ }
268
+
269
+ .csma_lnkn:hover
270
+ {
271
+ background:#0077b5;
272
+ }
273
+
274
+
275
  #acx_csma_loading
276
  {
277
  background: rgba(1, 1, 1, 0.5);
templates/3/images/divider.jpg DELETED
Binary file
templates/3/images/divider.png ADDED
Binary file
templates/3/images/facebook.png CHANGED
Binary file
templates/3/images/form_bottom_bg.png DELETED
Binary file
templates/3/images/form_top_bg.png DELETED
Binary file
templates/3/images/linkedin.png CHANGED
Binary file
templates/3/images/twitter.png CHANGED
Binary file
templates/3/images/wrapper_bg.png DELETED
Binary file
templates/3/index.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  $acx_csma_template_id = 3;
3
- acx_csma_hook_function('acx_csma_above_template_html');
4
  $acx_csma_meta_title =get_option('acx_csma_meta_title');
5
  $acx_csma_meta_description=get_option('acx_csma_meta_description');
6
  $acx_csma_meta_keywords=get_option('acx_csma_meta_keywords');
@@ -46,6 +46,8 @@ if($acx_csma_meta_keywords!="")
46
  }
47
  ?>
48
  <style>
 
 
49
  .submit:hover
50
  {
51
  color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_btn_hover_color3']; ?>;
@@ -56,17 +58,32 @@ if($acx_csma_meta_keywords!="")
56
  background:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_btn_color3']; ?>;
57
  color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_btn_text_color3']; ?>;
58
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  </style>
60
  <link href="<?php echo plugins_url('style.css', __FILE__); ?>" rel="stylesheet" type="text/css" />
61
  <link rel="icon" href="<?php echo esc_url($acx_csma_favicon); ?>" type="image/png">
62
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
63
  <?php echo stripslashes(get_option('acx_csma_ga_trakng_code'));
64
- acx_csma_hook_function('acx_csma_bottom_inside_head_tag');
65
  ?>
66
  </head>
67
  <body>
68
  <?php
69
- acx_csma_hook_function('acx_csma_top_inside_body_tag');
70
  if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array_3[$acx_csma_template_id])){if($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_logo_choice']=="text")
71
  {
72
  $new_class="text_logo";
@@ -78,11 +95,82 @@ $new_class="";
78
  $new_class="";
79
  }
80
  ?>
81
- <div class="wrapper <?php echo $new_class; ?>">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  <div class="canvas960">
83
  <div class="inline_block">
84
  <div class="inline_block form_holder">
85
  <div class="header">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
86
 
87
  <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array_3[$acx_csma_template_id])){ if($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_logo_choice']=="image" || $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_logo_choice']==""){
88
  $acx_csma_logo3_id = $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_logo3'];
@@ -101,7 +189,14 @@ $new_class="";
101
  </div><!-- header -->
102
  <div class="form">
103
  <h2 style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_title_color3']; ?>"><span style="font-size:74px; color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subtitle_color3']; ?>"><strong><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_title3']; ?></strong></span><br><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subtitle_text3']; ?></h2>
 
 
 
 
 
 
104
  <h4 style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_title_color3']; ?>"><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_title3']; ?></h4>
 
105
  <form name="acx_csma_form" method="post" action="<?php echo str_replace( '%7E', '~',$_SERVER['REQUEST_URI']); ?>">
106
  <div id="acx_csma_success" name="acx_csma_success" style="display:none;color:white;" ><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_success3']; ?></div>
107
  <div id="acx_csma_invalid" name="acx_csma_invalid" style="display:none;color:white;" ><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_invalid3']; ?></div>
@@ -110,45 +205,73 @@ $new_class="";
110
  <input type="hidden" id="acx_csma_email" name="email" placeholder="Get Notified (Email)"><br/>
111
  <input type="button" value="NEXT" id="acx_csma_submit" onclick="acx_csma_validate_email();" class="submit">
112
  </form>
113
- </div><!-- form -->
114
- <div class="form_footer"> </div><!-- form_footer -->
115
- </div><!-- form_holder -->
116
- <div class="inline_block timer_holder">
117
- <div class="scmi">
118
- <ul>
119
-
120
- <li>
121
- <?php if($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_fb_link3']!="" || $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_twitter_link3']!="" || $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_linkedin_link3']!="")
122
- { ?>
123
- <p style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_social_link_title_color3']; ?>"><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_social_link_title3']; ?></p>
124
- <?php } ?>
125
- </li>
126
- <?php
127
-
128
- if($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_fb_link3']!="")
129
- {
130
- ?>
131
- <li><a href="<?php echo esc_url($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_fb_link3']); ?>"><img src="<?php echo plugins_url('images/facebook.png', __FILE__); ?>" alt="Logo"></a></li>
132
  <?php
133
  }
134
- if($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_twitter_link3']!="")
135
- {
136
  ?>
137
- <li><a href="<?php echo esc_url($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_twitter_link3']); ?>"><img src="<?php echo plugins_url('images/twitter.png', __FILE__); ?>" alt="Logo"></a></li>
138
- <?php
139
- }
140
- if($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_linkedin_link3']!="")
141
- {
142
- ?>
143
- <li><a href="<?php echo esc_url($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_linkedin_link3']); ?>"><img src="<?php echo plugins_url('images/linkedin.png', __FILE__); ?>" alt="Logo"></a></li>
144
- <?php
145
- }
146
 
147
- ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
148
 
149
- </ul>
150
- </div><!-- scmi -->
151
- <h3 style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_inside_title_color3']; ?>"><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_inside_title3']; ?></h3>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
152
  <div class="timer_box days">
153
  <ul>
154
  <li id="days" style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_iptext_color3']; ?>">000 </li><li class="day_text" style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_head_color3']; ?>">Days</li>
@@ -176,35 +299,61 @@ $new_class="";
176
  <p style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_head_color3']; ?>">Seconds</p>
177
  </div><!-- timer_box -->
178
 
179
- <div class="inline_block text_box" style="background: rgb(254, 126, 1) none repeat scroll 0% 0%;padding: 12px; border-bottom-right-radius: 6px; border-bottom-left-radius: 6px;">
 
 
 
 
180
 
181
  <?php
182
  $acx_csma_custom_html_top_temp3 = $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_custom_html_top_temp3'];
183
  if($acx_csma_custom_html_top_temp3 != "") { ?>
184
- <div class="acx_csma_content_div acx_csma_top acx_csma_top_3">
185
  <?php echo $acx_csma_custom_html_top_temp3; ?>
186
  </div>
187
  <?php } ?>
188
  <h5 style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_desc_text_color3']; ?>"><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_desc_title3']; ?></h5>
189
  <p><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_desc_subtitle3']; ?></p>
190
- </div><!-- inline_block -->
191
-
192
- <div class="footer"> <p style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_footer_color3']; ?>"><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_footer_text3']; ?></p> </div><!-- footer -->
 
 
 
 
 
 
 
193
 
194
- </div><!-- timer_holder -->
 
 
 
 
195
  </div><!-- inline_block -->
196
 
197
  </div><!-- canvas960 -->
 
198
  </div><!-- wrapper -->
 
 
 
199
  <script type="text/javascript">
 
 
 
 
200
  jQuery(document).ready(function() {
201
  jQuery(window).keydown(function(event){
202
  if(event.keyCode == 13) {
 
203
  acx_csma_validate_email();
204
  return false;
 
205
  }
206
  });
207
  });
 
208
  var acx_csma_form_status=1;
209
  function acx_csma_validate_email()
210
  {
@@ -307,8 +456,10 @@ function acx_csma_validate_email()
307
  }
308
  }
309
  }
310
-
311
- <?php
 
 
312
  if($acx_csma_timestamp < $acx_csma_date_time)
313
  {?>
314
  var start_date = <?php echo $acx_csma_start_date_time; ?>;
@@ -401,8 +552,9 @@ function updateCounter()
401
  }, 1000 );
402
  }
403
  }
404
- <?php }?>
 
405
  </script>
406
- <?php acx_csma_hook_function('acx_csma_bottom_inside_body_tag'); ?>
407
  </body>
408
  </html>
1
  <?php
2
  $acx_csma_template_id = 3;
3
+ do_action('acx_csma_above_template_html',$acx_csma_template_id);
4
  $acx_csma_meta_title =get_option('acx_csma_meta_title');
5
  $acx_csma_meta_description=get_option('acx_csma_meta_description');
6
  $acx_csma_meta_keywords=get_option('acx_csma_meta_keywords');
46
  }
47
  ?>
48
  <style>
49
+ <?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_custom_css_temp3']; ?>
50
+
51
  .submit:hover
52
  {
53
  color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_btn_hover_color3']; ?>;
58
  background:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_btn_color3']; ?>;
59
  color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_btn_text_color3']; ?>;
60
  }
61
+ body
62
+ {
63
+ background: none repeat scroll 0 0 <?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_primary_color3']; ?>;
64
+ }
65
+ .acx_sq_001 {
66
+ background: <?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_secondary_color3']; ?> none repeat scroll 0 0;
67
+ }
68
+ .form_holder {
69
+ background: <?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_left_bar_color3']; ?>;
70
+ }
71
+ .timer_box ul li
72
+ {
73
+ background: <?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_color3']; ?> none repeat scroll 0 0;
74
+ }
75
+
76
  </style>
77
  <link href="<?php echo plugins_url('style.css', __FILE__); ?>" rel="stylesheet" type="text/css" />
78
  <link rel="icon" href="<?php echo esc_url($acx_csma_favicon); ?>" type="image/png">
79
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
80
  <?php echo stripslashes(get_option('acx_csma_ga_trakng_code'));
81
+ do_action('acx_csma_bottom_inside_head_tag',$acx_csma_template_id);
82
  ?>
83
  </head>
84
  <body>
85
  <?php
86
+ do_action('acx_csma_top_inside_body_tag',$acx_csma_template_id);
87
  if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array_3[$acx_csma_template_id])){if($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_logo_choice']=="text")
88
  {
89
  $new_class="text_logo";
95
  $new_class="";
96
  }
97
  ?>
98
+ <div class="wrapper <?php echo $new_class; ?>">
99
+ <div class="scmi">
100
+ <div class="canvas960">
101
+ <ul>
102
+
103
+ <li>
104
+ <?php if($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_fb_link3'] != "" || $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_twitter_link3'] != "" || $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_linkedin_link3'] != "")
105
+ { ?>
106
+ <p style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_social_link_title_color3']; ?>"><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_social_link_title3']; ?></p>
107
+ <?php } ?>
108
+ </li>
109
+ <?php
110
+
111
+ if($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_fb_link3']!="")
112
+ {
113
+ ?>
114
+ <li><a class="acx_csma_social_icons csma_fb" href="<?php echo esc_url($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_fb_link3']); ?>"><img src="<?php echo plugins_url('images/facebook.png', __FILE__); ?>" alt="Logo"></a></li>
115
+ <?php
116
+ }
117
+ if($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_twitter_link3']!="")
118
+ {
119
+ ?>
120
+ <li><a class="acx_csma_social_icons csma_twtr" href="<?php echo esc_url($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_twitter_link3']); ?>"><img src="<?php echo plugins_url('images/twitter.png', __FILE__); ?>" alt="Logo"></a></li>
121
+ <?php
122
+ }
123
+ if($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_linkedin_link3']!="")
124
+ {
125
+ ?>
126
+ <li><a class="acx_csma_social_icons csma_lnkn" href="<?php echo esc_url($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_linkedin_link3']); ?>"><img src="<?php echo plugins_url('images/linkedin.png', __FILE__); ?>" alt="Logo"></a></li>
127
+ <?php
128
+ }
129
+
130
+ ?>
131
+
132
+ </ul>
133
+ </div><!-- canvas960 -->
134
+ </div><!-- scmi -->
135
+ <div class="acx_aditnl_wrap" style="background-color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_secondary_color3']; ?>;">
136
  <div class="canvas960">
137
  <div class="inline_block">
138
  <div class="inline_block form_holder">
139
  <div class="header">
140
+ <div class="acx_header_top_sq">
141
+ <div class="acx_header_sq_in">
142
+ <span class="acx_sq_001"></span>
143
+ <span class="acx_sq_001"></span>
144
+ <span class="acx_sq_001"></span>
145
+ <span class="acx_sq_001"></span>
146
+ <span class="acx_sq_001"></span>
147
+ <span class="acx_sq_001"></span>
148
+ <span class="acx_sq_001"></span>
149
+ <span class="acx_sq_001"></span>
150
+ <span class="acx_sq_001"></span>
151
+ <span class="acx_sq_001"></span>
152
+ <span class="acx_sq_001"></span>
153
+ <span class="acx_sq_001"></span>
154
+ <span class="acx_sq_001"></span>
155
+ <span class="acx_sq_001"></span>
156
+ <span class="acx_sq_001"></span>
157
+ <span class="acx_sq_001"></span>
158
+ <span class="acx_sq_001"></span>
159
+ <span class="acx_sq_001"></span>
160
+ <span class="acx_sq_001"></span>
161
+ <span class="acx_sq_001"></span>
162
+ <span class="acx_sq_001"></span>
163
+ <span class="acx_sq_001"></span>
164
+ <span class="acx_sq_001"></span>
165
+ <span class="acx_sq_001"></span>
166
+ <span class="acx_sq_001"></span>
167
+ <span class="acx_sq_001"></span>
168
+ <span class="acx_sq_001"></span>
169
+ <span class="acx_sq_001"></span>
170
+ <span class="acx_sq_001"></span>
171
+ <span class="acx_sq_001"></span>
172
+ </div> <!-- acx_header_sq_in -->
173
+ </div> <!-- acx_header_top_sq -->
174
 
175
  <?php if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array_3[$acx_csma_template_id])){ if($acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_logo_choice']=="image" || $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_logo_choice']==""){
176
  $acx_csma_logo3_id = $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_logo3'];
189
  </div><!-- header -->
190
  <div class="form">
191
  <h2 style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_title_color3']; ?>"><span style="font-size:74px; color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subtitle_color3']; ?>"><strong><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_title3']; ?></strong></span><br><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subtitle_text3']; ?></h2>
192
+
193
+ <?php
194
+ $acx_csma_show_subscription3 = $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_show_subscription3'];
195
+ if($acx_csma_show_subscription3 == 1)
196
+ {
197
+ ?>
198
  <h4 style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_title_color3']; ?>"><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_title3']; ?></h4>
199
+
200
  <form name="acx_csma_form" method="post" action="<?php echo str_replace( '%7E', '~',$_SERVER['REQUEST_URI']); ?>">
201
  <div id="acx_csma_success" name="acx_csma_success" style="display:none;color:white;" ><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_success3']; ?></div>
202
  <div id="acx_csma_invalid" name="acx_csma_invalid" style="display:none;color:white;" ><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_subscribe_invalid3']; ?></div>
205
  <input type="hidden" id="acx_csma_email" name="email" placeholder="Get Notified (Email)"><br/>
206
  <input type="button" value="NEXT" id="acx_csma_submit" onclick="acx_csma_validate_email();" class="submit">
207
  </form>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
208
  <?php
209
  }
 
 
210
  ?>
211
+
212
+ </div><!-- form -->
 
 
 
 
 
 
 
213
 
214
+ <div class="acx_header_bottom_sq">
215
+ <div class="acx_header_sq_in">
216
+ <span class="acx_sq_001"></span>
217
+ <span class="acx_sq_001"></span>
218
+ <span class="acx_sq_001"></span>
219
+ <span class="acx_sq_001"></span>
220
+ <span class="acx_sq_001"></span>
221
+ <span class="acx_sq_001"></span>
222
+ <span class="acx_sq_001"></span>
223
+ <span class="acx_sq_001"></span>
224
+ <span class="acx_sq_001"></span>
225
+ <span class="acx_sq_001"></span>
226
+ <span class="acx_sq_001"></span>
227
+ <span class="acx_sq_001"></span>
228
+ <span class="acx_sq_001"></span>
229
+ <span class="acx_sq_001"></span>
230
+ <span class="acx_sq_001"></span>
231
+ <span class="acx_sq_001"></span>
232
+ <span class="acx_sq_001"></span>
233
+ <span class="acx_sq_001"></span>
234
+ <span class="acx_sq_001"></span>
235
+ <span class="acx_sq_001"></span>
236
+ <span class="acx_sq_001"></span>
237
+ <span class="acx_sq_001"></span>
238
+ <span class="acx_sq_001"></span>
239
+ <span class="acx_sq_001"></span>
240
+ <span class="acx_sq_001"></span>
241
+ <span class="acx_sq_001"></span>
242
+ <span class="acx_sq_001"></span>
243
+ <span class="acx_sq_001"></span>
244
+ <span class="acx_sq_001"></span>
245
+ <span class="acx_sq_001"></span>
246
+ </div> <!-- acx_header_sq_in -->
247
+ </div> <!-- acx_header_bottom_sq -->
248
 
249
+ </div><!-- form_holder -->
250
+ <div class="inline_block timer_holder">
251
+ <?php
252
+ $acx_csma_custom_html_top_timer_temp3=$acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_custom_html_top_timer_temp3'];
253
+ if($acx_csma_custom_html_top_timer_temp3 != "")
254
+ {
255
+ ?>
256
+ <div class="acx_csma_content_div acx_csma_top acx_csma_top_3" id="acx_csma_top_1">
257
+ <?php echo $acx_csma_custom_html_top_timer_temp3; ?>
258
+ </div>
259
+
260
+ <?php
261
+ }
262
+ if($acx_csma_custom_html_top_timer_temp3 == "")
263
+ {
264
+ $acx_class= "margin-top:30px;";
265
+ }
266
+ else
267
+ {
268
+ $acx_class= "";
269
+ }
270
+ $acx_csma_show_timer3=$acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_show_timer3'];
271
+ if($acx_csma_show_timer3 == 1)
272
+ {
273
+ ?>
274
+ <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_appearence_array_3[$acx_csma_template_id]['acx_csma_inside_title3']; ?></h3></div>
275
  <div class="timer_box days">
276
  <ul>
277
  <li id="days" style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_iptext_color3']; ?>">000 </li><li class="day_text" style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_head_color3']; ?>">Days</li>
299
  <p style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_timer_head_color3']; ?>">Seconds</p>
300
  </div><!-- timer_box -->
301
 
302
+ <div class="clearfix" style="clear:both;"></div>
303
+ <?php
304
+ }
305
+ ?>
306
+ <div class="inline_block text_box">
307
 
308
  <?php
309
  $acx_csma_custom_html_top_temp3 = $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_custom_html_top_temp3'];
310
  if($acx_csma_custom_html_top_temp3 != "") { ?>
311
+ <div class="acx_csma_content_div acx_csma_top acx_csma_top_3" id="acx_csma_top_1">
312
  <?php echo $acx_csma_custom_html_top_temp3; ?>
313
  </div>
314
  <?php } ?>
315
  <h5 style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_desc_text_color3']; ?>"><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_desc_title3']; ?></h5>
316
  <p><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_desc_subtitle3']; ?></p>
317
+ </div><!-- inline_block -->
318
+ <?php
319
+ $acx_csma_custom_html_bottom_temp3=$acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_custom_html_bottom_temp3'];
320
+ if($acx_csma_custom_html_bottom_temp3 != "")
321
+ {
322
+ ?>
323
+
324
+ <div class="acx_csma_content_div acx_csma_top acx_csma_top_3" id="acx_csma_top_1">
325
+ <?php echo $acx_csma_custom_html_bottom_temp3; ?>
326
+ </div>
327
 
328
+ <?php
329
+ }
330
+ ?>
331
+ </div><!-- timer_holder -->
332
+
333
  </div><!-- inline_block -->
334
 
335
  </div><!-- canvas960 -->
336
+ </div> <!-- acx_aditnl_wrap -->
337
  </div><!-- wrapper -->
338
+
339
+ <div class="footer"> <p style="color:<?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_footer_color3']; ?>"><?php echo $acx_csma_appearence_array_3[$acx_csma_template_id]['acx_csma_footer_text3']; ?></p> </div><!-- footer -->
340
+
341
  <script type="text/javascript">
342
+ <?php
343
+ if($acx_csma_show_subscription3 == 1)
344
+ {
345
+ ?>
346
  jQuery(document).ready(function() {
347
  jQuery(window).keydown(function(event){
348
  if(event.keyCode == 13) {
349
+
350
  acx_csma_validate_email();
351
  return false;
352
+
353
  }
354
  });
355
  });
356
+
357
  var acx_csma_form_status=1;
358
  function acx_csma_validate_email()
359
  {
456
  }
457
  }
458
  }
459
+ <?php
460
+ }
461
+ if($acx_csma_show_timer3 == 1)
462
+ {
463
  if($acx_csma_timestamp < $acx_csma_date_time)
464
  {?>
465
  var start_date = <?php echo $acx_csma_start_date_time; ?>;
552
  }, 1000 );
553
  }
554
  }
555
+ <?php }
556
+ } ?>
557
  </script>
558
+ <?php do_action('acx_csma_bottom_inside_body_tag',$acx_csma_template_id); ?>
559
  </body>
560
  </html>
templates/3/style.css CHANGED
@@ -4,8 +4,7 @@ body
4
  padding: 0;
5
  font-family: arial;
6
  color: #000000;
7
- font-size: 12px;
8
- background: none repeat scroll 0 0 #ececec;
9
  }
10
  .text_logo .logo_text {
11
  float: left;
@@ -67,9 +66,15 @@ h5
67
  }
68
  .wrapper
69
  {
70
- background: url("images/wrapper_bg.png") repeat-x scroll 0 0 transparent;
71
  margin: 50px 0;
72
  min-height: 518px;
 
 
 
 
 
 
 
73
  }
74
  .canvas960
75
  {
@@ -80,38 +85,63 @@ h5
80
  {
81
  display: inline-block;
82
  }
83
- /* .header
84
- {
85
- background: url("images/form_top_bg.png") repeat-x scroll 0 0 transparent;
86
- border-bottom: 1px solid #0d0d0d;
87
- height: 149px;
88
- position: relative;
89
- text-align: center;
90
- } */
91
- /* .header img
92
- {
93
- margin: 67px 0 0;
94
- } */
95
  .header {
96
- background: transparent url("images/form_top_bg.png") repeat-x scroll 0 0;
97
  border-bottom: 1px solid #0d0d0d;
98
  display: table;
99
  min-height: 149px;
100
  position: relative;
101
  text-align: center;
102
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
 
105
  #acx_csma_temp3_img_cvr {
106
- background: #000 none repeat scroll 0 0;
107
  margin: 0 auto;
108
  max-width: 100%;
109
  }
 
 
 
 
 
 
 
 
 
 
110
 
111
  #acx_csma_temp3_img_cvr img {
112
  display: block;
113
  margin: 80px auto 24px;
114
- max-width: 250px;
115
  vertical-align: middle;
116
  }
117
  .timer_holder
@@ -123,13 +153,15 @@ h5
123
  width:100%;
124
  height:auto;
125
  }
126
- .form_holder
127
- {
128
- float: left;
129
- max-width: 384px;
130
- position: relative;
131
- text-align: center;
132
- width: 100%;
 
 
133
  }
134
  .timer_holder
135
  {
@@ -139,15 +171,9 @@ height:auto;
139
  }
140
  .form
141
  {
142
- background: none repeat scroll 0 0 #000;
143
  padding: 40px 10% 71px;
144
  height:240px;
145
  }
146
- .form_footer
147
- {
148
- background: url("images/form_bottom_bg.png") repeat-x scroll 0 0 transparent;
149
- height: 19px;
150
- }
151
  input
152
  {
153
  border: 0 none;
@@ -158,10 +184,6 @@ input
158
  width: 82%;
159
  text-align: center;
160
  }
161
- form
162
- {
163
- background: none repeat scroll 0 0 #000000;
164
- }
165
  .submit
166
  {
167
  cursor: pointer;
@@ -175,7 +197,7 @@ form
175
  .scmi
176
  {
177
  height: 39px;
178
- margin: 0 0 41px;
179
  }
180
  .scmi p
181
  {
@@ -193,10 +215,37 @@ form
193
  margin-right: 5px;
194
  overflow: hidden;
195
  }
196
- .scmi ul li a img:hover
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  {
198
- margin-top: -16px;
199
  }
 
 
 
 
 
 
 
 
 
 
 
 
200
  .timer_box
201
  {
202
  float: left;
@@ -210,7 +259,6 @@ form
210
  }
211
  .timer_box ul li
212
  {
213
- background: none repeat scroll 0 0 #ffffff;
214
  display: block;
215
  float: left;
216
  font-size: 30px;
@@ -245,24 +293,31 @@ form
245
  }
246
  .text_box
247
  {
248
- background: url("images/divider.jpg") repeat-x scroll center top transparent;
249
- margin: 30px 0 54px;
250
  min-height: 98px;
 
 
 
251
  padding: 30px 0 0;
 
252
  -webkit-box-sizing:border-box;
253
  -moz-box-sizing:border-box;
254
  -ms-box-sizing:border-box;
255
  -0-box-sizing:border-box;
256
  box-sizing:border-box;
257
  }
 
 
258
  .text_box p
259
  {
260
  text-align: left;
261
  }
262
  .footer
263
  {
264
- height: 22px;
265
- text-align: right;
 
266
  }
267
  .footer p, .text_box p
268
  {
@@ -296,6 +351,13 @@ media query
296
  ********************************************/
297
  @media screen and (max-width: 960px)
298
  {
 
 
 
 
 
 
 
299
  .form_holder, h2
300
  {
301
  max-width: none;
4
  padding: 0;
5
  font-family: arial;
6
  color: #000000;
7
+ font-size: 12px;
 
8
  }
9
  .text_logo .logo_text {
10
  float: left;
66
  }
67
  .wrapper
68
  {
 
69
  margin: 50px 0;
70
  min-height: 518px;
71
+ float:left;
72
+ padding:40px 0px;
73
+ }
74
+ .acx_aditnl_wrap {
75
+ display: block;
76
+ float: left;
77
+ width: 100%;
78
  }
79
  .canvas960
80
  {
85
  {
86
  display: inline-block;
87
  }
88
+
 
 
 
 
 
 
 
 
 
 
 
89
  .header {
 
90
  border-bottom: 1px solid #0d0d0d;
91
  display: table;
92
  min-height: 149px;
93
  position: relative;
94
  text-align: center;
95
  }
96
+ /* Style for Square */
97
+ .acx_header_top_sq {
98
+ float: left;
99
+ left: 0;
100
+ position: absolute;
101
+ top: -8px;
102
+ width: 100%;
103
+ }
104
+ .acx_header_bottom_sq{
105
+ float: left;
106
+ left: 0;
107
+ position: absolute;
108
+ bottom: -8px;
109
+ width: 100%;
110
+ }
111
 
112
+ .acx_header_sq_in {
113
+ display: block;
114
+ overflow: hidden;
115
+ height:18px;
116
+ width:100%;
117
+ }
118
+ .acx_sq_001 {
119
+ display: block;
120
+ float: left;
121
+ height: 18px;
122
+ width: 18px;
123
+ margin:0px 8px 0px 6px;
124
+ }
125
 
126
  #acx_csma_temp3_img_cvr {
 
127
  margin: 0 auto;
128
  max-width: 100%;
129
  }
130
+ #acx_csma_top_1
131
+ {
132
+ margin: 10px auto;
133
+ width: 100%;
134
+ float:left;
135
+ }
136
+ #acx_timer_heading {
137
+ float: left;
138
+ width: 100%;
139
+ }
140
 
141
  #acx_csma_temp3_img_cvr img {
142
  display: block;
143
  margin: 80px auto 24px;
144
+ max-width: 100%;
145
  vertical-align: middle;
146
  }
147
  .timer_holder
153
  width:100%;
154
  height:auto;
155
  }
156
+ .form_holder {
157
+ float: left;
158
+ margin-bottom: -32px;
159
+ margin-top: -40px;
160
+ max-width: 384px;
161
+ min-height: 580px;
162
+ position: relative;
163
+ text-align: center;
164
+ width: 100%;
165
  }
166
  .timer_holder
167
  {
171
  }
172
  .form
173
  {
 
174
  padding: 40px 10% 71px;
175
  height:240px;
176
  }
 
 
 
 
 
177
  input
178
  {
179
  border: 0 none;
184
  width: 82%;
185
  text-align: center;
186
  }
 
 
 
 
187
  .submit
188
  {
189
  cursor: pointer;
197
  .scmi
198
  {
199
  height: 39px;
200
+
201
  }
202
  .scmi p
203
  {
215
  margin-right: 5px;
216
  overflow: hidden;
217
  }
218
+
219
+ .acx_csma_social_icons {
220
+ background: #333 none repeat scroll 0 0;
221
+ display: block;
222
+ float: left;
223
+ height: 16px;
224
+ width: 16px;
225
+ }
226
+ .acx_csma_social_icons > img
227
+ {
228
+ display:block;
229
+ margin:auto;
230
+ max-width:100%;
231
+ vertical-align:middle;
232
+ }
233
+ .csma_fb:hover
234
  {
235
+ background:#3b5998;
236
  }
237
+
238
+ .csma_twtr:hover
239
+ {
240
+ background:#55acee;
241
+ }
242
+
243
+ .csma_lnkn:hover
244
+ {
245
+ background:#0077b5;
246
+ }
247
+
248
+
249
  .timer_box
250
  {
251
  float: left;
259
  }
260
  .timer_box ul li
261
  {
 
262
  display: block;
263
  float: left;
264
  font-size: 30px;
293
  }
294
  .text_box
295
  {
296
+ background: url("images/divider.png") repeat-x scroll center top transparent;
297
+ margin: 30px 0 0px;
298
  min-height: 98px;
299
+ max-height:165px;
300
+ overflow-x: hidden;
301
+ overflow-y: auto;
302
  padding: 30px 0 0;
303
+ display:block;
304
  -webkit-box-sizing:border-box;
305
  -moz-box-sizing:border-box;
306
  -ms-box-sizing:border-box;
307
  -0-box-sizing:border-box;
308
  box-sizing:border-box;
309
  }
310
+
311
+
312
  .text_box p
313
  {
314
  text-align: left;
315
  }
316
  .footer
317
  {
318
+ text-align: center;
319
+ float:left;
320
+ width:100%;
321
  }
322
  .footer p, .text_box p
323
  {
351
  ********************************************/
352
  @media screen and (max-width: 960px)
353
  {
354
+
355
+ .form_holder {
356
+ margin-bottom:32px;
357
+ margin-top:0px;
358
+ min-height:auto;
359
+ }
360
+
361
  .form_holder, h2
362
  {
363
  max-width: none;
templates/4/images/facebook.png CHANGED
Binary file
templates/4/images/linkedin.png CHANGED
Binary file
templates/4/images/twitter.png CHANGED
Binary file
templates/4/index.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  $acx_csma_template_id = 4;
3
- acx_csma_hook_function('acx_csma_above_template_html');
4
  $acx_csma_meta_title =get_option('acx_csma_meta_title');
5
  $acx_csma_meta_description=get_option('acx_csma_meta_description');
6
  $acx_csma_meta_keywords=get_option('acx_csma_meta_keywords');
@@ -45,12 +45,15 @@ if($acx_csma_meta_keywords!="")
45
  <?php
46
  }
47
  ?>
 
 
 
48
  <link href="<?php echo plugins_url('style.css', __FILE__); ?>" rel="stylesheet" type="text/css" />
49
  <link rel="icon" href="<?php echo esc_url($acx_csma_favicon); ?>" type="image/png">
50
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
51
  <link href="<?php echo plugins_url('images/animate.min.css', __FILE__); ?>" rel="stylesheet" type="text/css" />
52
  <?php echo stripslashes(get_option('acx_csma_ga_trakng_code'));
53
- acx_csma_hook_function('acx_csma_bottom_inside_head_tag');
54
  ?>
55
  </head>
56
  <?php
@@ -66,7 +69,7 @@ if(is_numeric($acx_csma_background_image4_id))
66
  ?>
67
  <body style="background:url('<?php echo $bg_image4_url; ?>')no-repeat fixed center center transparent; background-size:cover; ">
68
  <?php
69
- acx_csma_hook_function('acx_csma_top_inside_body_tag');
70
  if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array_4[$acx_csma_template_id])){if($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_logo_choice']=="text")
71
  {
72
  $new_class="text_logo";
@@ -103,7 +106,7 @@ $new_class="";
103
  <?php
104
  $acx_csma_custom_html_top_temp4 = $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_custom_html_top_temp4'];
105
  if($acx_csma_custom_html_top_temp4 != "") { ?>
106
- <div class="acx_csma_content_div acx_csma_top acx_csma_top_4">
107
  <?php echo $acx_csma_custom_html_top_temp4; ?>
108
  </div>
109
  <?php } ?>
@@ -161,7 +164,7 @@ $new_class="";
161
  <?php
162
  $acx_csma_custom_html_bottom_temp4 = $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_custom_html_bottom_temp4'];
163
  if($acx_csma_custom_html_bottom_temp4 != "") { ?>
164
- <div class="acx_csma_content_div acx_csma_bottom acx_csma_bottom_4">
165
  <?php echo $acx_csma_custom_html_bottom_temp4; ?>
166
  </div>
167
  <?php } ?>
@@ -173,19 +176,19 @@ $new_class="";
173
  <?php if($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_fb_link4']!="")
174
  {
175
  ?>
176
- <li><a href="<?php echo esc_url($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_fb_link4']); ?>"><img src="<?php echo plugins_url('images/facebook.png', __FILE__); ?>" alt="Logo"></a></li>
177
  <?php
178
  }
179
  if($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_twitter_link4']!="")
180
  {
181
  ?>
182
- <li><a href="<?php echo esc_url($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_twitter_link4']); ?>"><img src="<?php echo plugins_url('images/twitter.png', __FILE__); ?>" alt="Logo"></a></li>
183
  <?php
184
  }
185
  if($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_linkedin_link4']!="")
186
  {
187
  ?>
188
- <li><a href="<?php echo esc_url($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_linkedin_link4']); ?>"><img src="<?php echo plugins_url('images/linkedin.png', __FILE__); ?>" alt="Logo"></a></li>
189
  <?php
190
  }?>
191
  </ul>
@@ -300,6 +303,6 @@ function updateCounter()
300
 
301
  }?>
302
  </script>
303
- <?php acx_csma_hook_function('acx_csma_bottom_inside_body_tag'); ?>
304
  </body>
305
  </html>
1
  <?php
2
  $acx_csma_template_id = 4;
3
+ do_action('acx_csma_above_template_html',$acx_csma_template_id);
4
  $acx_csma_meta_title =get_option('acx_csma_meta_title');
5
  $acx_csma_meta_description=get_option('acx_csma_meta_description');
6
  $acx_csma_meta_keywords=get_option('acx_csma_meta_keywords');
45
  <?php
46
  }
47
  ?>
48
+ <style>
49
+ <?php echo $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_custom_css_temp4']; ?>
50
+ </style>
51
  <link href="<?php echo plugins_url('style.css', __FILE__); ?>" rel="stylesheet" type="text/css" />
52
  <link rel="icon" href="<?php echo esc_url($acx_csma_favicon); ?>" type="image/png">
53
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
54
  <link href="<?php echo plugins_url('images/animate.min.css', __FILE__); ?>" rel="stylesheet" type="text/css" />
55
  <?php echo stripslashes(get_option('acx_csma_ga_trakng_code'));
56
+ do_action('acx_csma_bottom_inside_head_tag',$acx_csma_template_id);
57
  ?>
58
  </head>
59
  <?php
69
  ?>
70
  <body style="background:url('<?php echo $bg_image4_url; ?>')no-repeat fixed center center transparent; background-size:cover; ">
71
  <?php
72
+ do_action('acx_csma_top_inside_body_tag',$acx_csma_template_id);
73
  if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array_4[$acx_csma_template_id])){if($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_logo_choice']=="text")
74
  {
75
  $new_class="text_logo";
106
  <?php
107
  $acx_csma_custom_html_top_temp4 = $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_custom_html_top_temp4'];
108
  if($acx_csma_custom_html_top_temp4 != "") { ?>
109
+ <div class="acx_csma_content_div acx_csma_top acx_csma_top_4" id="acx_csma_top_1">
110
  <?php echo $acx_csma_custom_html_top_temp4; ?>
111
  </div>
112
  <?php } ?>
164
  <?php
165
  $acx_csma_custom_html_bottom_temp4 = $acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_custom_html_bottom_temp4'];
166
  if($acx_csma_custom_html_bottom_temp4 != "") { ?>
167
+ <div class="acx_csma_content_div acx_csma_bottom acx_csma_bottom_4" id="acx_csma_top_1">
168
  <?php echo $acx_csma_custom_html_bottom_temp4; ?>
169
  </div>
170
  <?php } ?>
176
  <?php if($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_fb_link4']!="")
177
  {
178
  ?>
179
+ <li><a class="acx_csma_social_icons csma_fb" href="<?php echo esc_url($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_fb_link4']); ?>"><img src="<?php echo plugins_url('images/facebook.png', __FILE__); ?>" alt="Logo"></a></li>
180
  <?php
181
  }
182
  if($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_twitter_link4']!="")
183
  {
184
  ?>
185
+ <li><a class="acx_csma_social_icons csma_twtr" href="<?php echo esc_url($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_twitter_link4']); ?>"><img src="<?php echo plugins_url('images/twitter.png', __FILE__); ?>" alt="Logo"></a></li>
186
  <?php
187
  }
188
  if($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_linkedin_link4']!="")
189
  {
190
  ?>
191
+ <li><a class="acx_csma_social_icons csma_lnkn" href="<?php echo esc_url($acx_csma_appearence_array_4[$acx_csma_template_id]['acx_csma_linkedin_link4']); ?>"><img src="<?php echo plugins_url('images/linkedin.png', __FILE__); ?>" alt="Logo"></a></li>
192
  <?php
193
  }?>
194
  </ul>
303
 
304
  }?>
305
  </script>
306
+ <?php do_action('acx_csma_bottom_inside_body_tag',$acx_csma_template_id);?>
307
  </body>
308
  </html>
templates/4/style.css CHANGED
@@ -54,6 +54,11 @@ h2
54
  margin: 0 auto;
55
  max-width: 326px;
56
  }
 
 
 
 
 
57
  .inline_block
58
  {
59
  display: inline-block;
@@ -131,10 +136,39 @@ height:auto;
131
  margin-right: 5px;
132
  overflow: hidden;
133
  }
134
- .scmi ul li a img:hover
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  {
136
- margin-top: -55px;
137
  }
 
 
 
 
 
 
 
 
 
 
 
138
  /********************************************
139
  media query
140
  ********************************************/
54
  margin: 0 auto;
55
  max-width: 326px;
56
  }
57
+ #acx_csma_top_1
58
+ {
59
+ margin-top: 10px;
60
+ margin-bottom: 10px;
61
+ }
62
  .inline_block
63
  {
64
  display: inline-block;
136
  margin-right: 5px;
137
  overflow: hidden;
138
  }
139
+ .acx_csma_social_icons {
140
+ display: block;
141
+ float: left;
142
+ height: 55px;
143
+ width: 55px;
144
+ border-radius:8px;
145
+ }
146
+ .acx_csma_social_icons:hover
147
+ {
148
+ background: #777;
149
+ }
150
+ .acx_csma_social_icons > img
151
+ {
152
+ display:block;
153
+ margin:auto;
154
+ max-width:100%;
155
+ vertical-align:middle;
156
+ }
157
+ .csma_fb
158
  {
159
+ background:#3b5998;
160
  }
161
+
162
+ .csma_twtr
163
+ {
164
+ background:#55acee;
165
+ }
166
+
167
+ .csma_lnkn
168
+ {
169
+ background:#0077b5;
170
+ }
171
+
172
  /********************************************
173
  media query
174
  ********************************************/
templates/5/images/facebook.png CHANGED
Binary file
templates/5/images/linkedin.png CHANGED
Binary file
templates/5/images/twitter.png CHANGED
Binary file
templates/5/index.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  $acx_csma_template_id = 5;
3
- acx_csma_hook_function('acx_csma_above_template_html');
4
  $acx_csma_meta_title =get_option('acx_csma_meta_title');
5
  $acx_csma_meta_description=get_option('acx_csma_meta_description');
6
  $acx_csma_meta_keywords=get_option('acx_csma_meta_keywords');
@@ -45,17 +45,20 @@ if($acx_csma_meta_keywords!="")
45
  <?php
46
  }
47
  ?>
 
 
 
48
  <link href="<?php echo plugins_url('style.css', __FILE__); ?>" rel="stylesheet" type="text/css" />
49
  <link rel="icon" href="<?php echo esc_url($acx_csma_favicon); ?>" type="image/png">
50
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
51
  <?php echo stripslashes(get_option('acx_csma_ga_trakng_code'));
52
- acx_csma_hook_function('acx_csma_bottom_inside_head_tag');
53
  ?>
54
  </head>
55
 
56
  <body style="background:<?php echo $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_bgcolor5']; ?>">
57
  <?php
58
- acx_csma_hook_function('acx_csma_top_inside_body_tag');
59
  if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array_5[$acx_csma_template_id])){ if($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_logo_choice']=="text")
60
  {
61
  $new_class="text_logo";
@@ -93,7 +96,7 @@ $new_class="";
93
  <?php
94
  $acx_csma_custom_html_top_temp5 = $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_custom_html_top_temp5'];
95
  if($acx_csma_custom_html_top_temp5 != "") { ?>
96
- <div class="acx_csma_content_div acx_csma_top acx_csma_top_5">
97
  <?php echo $acx_csma_custom_html_top_temp5; ?>
98
  </div>
99
  <?php } ?>
@@ -148,39 +151,72 @@ $new_class="";
148
  <?php
149
  $acx_csma_custom_html_bottom_temp5 = $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_custom_html_bottom_temp5'];
150
  if($acx_csma_custom_html_bottom_temp5 != "") { ?>
151
- <div class="acx_csma_content_div acx_csma_bottom acx_csma_bottom_5">
152
  <?php echo $acx_csma_custom_html_bottom_temp5; ?>
153
  </div>
154
  <?php } ?>
155
 
156
- <h3><?php echo $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_subscribe_main_title5']; ?> <br/> <?php echo $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_subscribe_title5']; ?></h3>
157
 
158
  </div><!-- inline_block -->
159
  <div class="footer" style="background:<?php echo $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_subscribe_bg_color5']; ?>">
160
- <form name="acx_csma_form" method="post" action="<?php echo str_replace( '%7E', '~',$_SERVER['REQUEST_URI']); ?>">
161
- <div id="acx_csma_success" name="acx_csma_success"style="display:none;color:white;" ><?php echo $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_subscribe_success5']; ?></div>
162
- <div id="acx_csma_invalid" name="acx_csma_invalid"style="display:none;color:white;" ><?php echo $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_subscribe_invalid5']; ?></div>
163
- <div id="acx_csma_error" style="color:white;"></div>
164
- <input type="text" id="acx_csma_name_hidden" name="acx_csma_name_hidden" value="" placeholder="Enter Your Name Here"/>
165
- <input type="hidden" id="acx_csma_email" name="email" placeholder="Enter your e-mail address" >
166
- <input type="button" value="NEXT" id="acx_csma_submit" onclick="acx_csma_validate_email();" class="submit">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  <div class="scmi">
168
  <ul>
169
  <?php if($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_fb_link5']!="")
170
  {
171
  ?>
172
- <li><a href="<?php echo esc_url($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_fb_link5']); ?>"><img src="<?php echo plugins_url('images/facebook.png', __FILE__); ?>" alt="Logo"></a></li>
173
  <?php
174
  }
175
  if($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_twitter_link5']!="")
176
  {
177
  ?>
178
- <li><a href="<?php echo esc_url($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_twitter_link5']); ?>"><img src="<?php echo plugins_url('images/twitter.png', __FILE__); ?>" alt="Logo"></a></li>
179
  <?php
180
  }
181
  if($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_linkedin_link5']!="")
182
  {?>
183
- <li style="margin-right: 0;"><a href="<?php echo esc_url($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_linkedin_link5']); ?>"><img src="<?php echo plugins_url('images/linkedin.png', __FILE__); ?>" alt="Logo"></a></li>
184
  <?php
185
  }?>
186
 
@@ -193,11 +229,22 @@ $new_class="";
193
  jQuery(document).ready(function() {
194
  jQuery(window).keydown(function(event){
195
  if(event.keyCode == 13) {
 
 
 
 
196
  acx_csma_validate_email();
197
  return false;
 
 
 
198
  }
199
  });
200
  });
 
 
 
 
201
  var acx_csma_form_status=1;
202
  function acx_csma_validate_email()
203
  {
@@ -300,7 +347,9 @@ function acx_csma_validate_email()
300
  }
301
  }
302
  }
303
-
 
 
304
  <?php if($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_show_progressbar5']==1)
305
  {
306
  if($acx_csma_timestamp < $acx_csma_date_time)
@@ -370,6 +419,6 @@ function updateCounter()
370
  <?php }
371
  }?>
372
  </script>
373
- <?php acx_csma_hook_function('acx_csma_bottom_inside_body_tag'); ?>
374
  </body>
375
  </html>
1
  <?php
2
  $acx_csma_template_id = 5;
3
+ do_action('acx_csma_above_template_html',$acx_csma_template_id);
4
  $acx_csma_meta_title =get_option('acx_csma_meta_title');
5
  $acx_csma_meta_description=get_option('acx_csma_meta_description');
6
  $acx_csma_meta_keywords=get_option('acx_csma_meta_keywords');
45
  <?php
46
  }
47
  ?>
48
+ <style>
49
+ <?php echo $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_custom_css_temp5']; ?>
50
+ </style>
51
  <link href="<?php echo plugins_url('style.css', __FILE__); ?>" rel="stylesheet" type="text/css" />
52
  <link rel="icon" href="<?php echo esc_url($acx_csma_favicon); ?>" type="image/png">
53
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
54
  <?php echo stripslashes(get_option('acx_csma_ga_trakng_code'));
55
+ do_action('acx_csma_bottom_inside_head_tag',$acx_csma_template_id);
56
  ?>
57
  </head>
58
 
59
  <body style="background:<?php echo $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_bgcolor5']; ?>">
60
  <?php
61
+ do_action('acx_csma_top_inside_body_tag',$acx_csma_template_id);
62
  if(array_key_exists('acx_csma_logo_choice',$acx_csma_appearence_array_5[$acx_csma_template_id])){ if($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_logo_choice']=="text")
63
  {
64
  $new_class="text_logo";
96
  <?php
97
  $acx_csma_custom_html_top_temp5 = $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_custom_html_top_temp5'];
98
  if($acx_csma_custom_html_top_temp5 != "") { ?>
99
+ <div class="acx_csma_content_div acx_csma_top acx_csma_top_5" id="acx_csma_top_1">
100
  <?php echo $acx_csma_custom_html_top_temp5; ?>
101
  </div>
102
  <?php } ?>
151
  <?php
152
  $acx_csma_custom_html_bottom_temp5 = $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_custom_html_bottom_temp5'];
153
  if($acx_csma_custom_html_bottom_temp5 != "") { ?>
154
+ <div class="acx_csma_content_div acx_csma_bottom acx_csma_bottom_5" id="acx_csma_top_1">
155
  <?php echo $acx_csma_custom_html_bottom_temp5; ?>
156
  </div>
157
  <?php } ?>
158
 
159
+ <h3 style="color:<?php echo $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_launch_title_color5']; ?>"><?php echo $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_subscribe_main_title5']; ?> <br/> <?php echo $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_subscribe_title5']; ?></h3>
160
 
161
  </div><!-- inline_block -->
162
  <div class="footer" style="background:<?php echo $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_subscribe_bg_color5']; ?>">
163
+ <?php
164
+ $acx_csma_show_subscription5 = $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_show_subscription5'];
165
+ $acx_csma_custom_html_top_sub = $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_custom_html_top_sub'];
166
+ $acx_csma_custom_html_bottom_sub = $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_custom_html_bottom_sub'];
167
+ if($acx_csma_custom_html_top_sub != "" || $acx_csma_custom_html_bottom_sub != "" || $acx_csma_show_subscription5 == 1)
168
+ {
169
+ if($acx_csma_custom_html_top_sub != "")
170
+ {
171
+ ?>
172
+ <div class="acx_csma_content_div acx_csma_bottom acx_csma_bottom_5" id="acx_csma_top_1">
173
+ <?php echo $acx_csma_custom_html_top_sub; ?>
174
+ </div>
175
+ <?php
176
+ }
177
+
178
+ if($acx_csma_show_subscription5 == 1)
179
+ {
180
+ ?>
181
+ <form name="acx_csma_form" method="post" action="<?php echo str_replace( '%7E', '~',$_SERVER['REQUEST_URI']); ?>">
182
+ <div id="acx_csma_success" name="acx_csma_success"style="display:none;color:white;" ><?php echo $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_subscribe_success5']; ?></div>
183
+ <div id="acx_csma_invalid" name="acx_csma_invalid"style="display:none;color:white;" ><?php echo $acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_subscribe_invalid5']; ?></div>
184
+ <div id="acx_csma_error" style="color:white;"></div>
185
+ <input type="text" id="acx_csma_name_hidden" name="acx_csma_name_hidden" value="" placeholder="Enter Your Name Here"/>
186
+ <input type="hidden" id="acx_csma_email" name="email" placeholder="Enter your e-mail address" >
187
+ <input type="button" value="NEXT" id="acx_csma_submit" onclick="acx_csma_validate_email();" class="submit">
188
+ </form>
189
+ <?php
190
+ }
191
+
192
+ if($acx_csma_custom_html_bottom_sub != "")
193
+ {
194
+ ?>
195
+ <div class="acx_csma_content_div acx_csma_bottom acx_csma_bottom_5" id="acx_csma_top_1">
196
+ <?php echo $acx_csma_custom_html_bottom_sub; ?>
197
+ </div>
198
+ <?php
199
+ }
200
+ }
201
+ ?>
202
+
203
  <div class="scmi">
204
  <ul>
205
  <?php if($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_fb_link5']!="")
206
  {
207
  ?>
208
+ <li><a class="acx_csma_social_icons csma_fb" href="<?php echo esc_url($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_fb_link5']); ?>"><img src="<?php echo plugins_url('images/facebook.png', __FILE__); ?>" alt="Logo"></a></li>
209
  <?php
210
  }
211
  if($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_twitter_link5']!="")
212
  {
213
  ?>
214
+ <li><a class="acx_csma_social_icons csma_twtr" href="<?php echo esc_url($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_twitter_link5']); ?>"><img src="<?php echo plugins_url('images/twitter.png', __FILE__); ?>" alt="Logo"></a></li>
215
  <?php
216
  }
217
  if($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_linkedin_link5']!="")
218
  {?>
219
+ <li style="margin-right: 0;"><a class="acx_csma_social_icons csma_lnkn" href="<?php echo esc_url($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_linkedin_link5']); ?>"><img src="<?php echo plugins_url('images/linkedin.png', __FILE__); ?>" alt="Logo"></a></li>
220
  <?php
221
  }?>
222
 
229
  jQuery(document).ready(function() {
230
  jQuery(window).keydown(function(event){
231
  if(event.keyCode == 13) {
232
+ <?php
233
+ if($acx_csma_show_subscription5 == 1)
234
+ {
235
+ ?>
236
  acx_csma_validate_email();
237
  return false;
238
+ <?php
239
+ }
240
+ ?>
241
  }
242
  });
243
  });
244
+ <?php
245
+ if($acx_csma_show_subscription5 == 1)
246
+ {
247
+ ?>
248
  var acx_csma_form_status=1;
249
  function acx_csma_validate_email()
250
  {
347
  }
348
  }
349
  }
350
+ <?php
351
+ }
352
+ ?>
353
  <?php if($acx_csma_appearence_array_5[$acx_csma_template_id]['acx_csma_show_progressbar5']==1)
354
  {
355
  if($acx_csma_timestamp < $acx_csma_date_time)
419
  <?php }
420
  }?>
421
  </script>
422
+ <?php do_action('acx_csma_bottom_inside_body_tag',$acx_csma_template_id); ?>
423
  </body>
424
  </html>
templates/5/style.css CHANGED
@@ -78,6 +78,10 @@ height:auto;
78
  float:left;
79
  max-width:1000px;
80
  }
 
 
 
 
81
 
82
  /*--------------*/
83
 
@@ -149,9 +153,38 @@ ul#countdown li
149
  margin-right: 10px;
150
  overflow: hidden;
151
  }
152
- .scmi ul li a img:hover
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
  {
154
- margin-top: -27px;
155
  }
156
  .footer
157
  {
78
  float:left;
79
  max-width:1000px;
80
  }
81
+ #acx_csma_top_1 {
82
+ margin: 10px auto;
83
+ width: 90%;
84
+ }
85
 
86
  /*--------------*/
87
 
153
  margin-right: 10px;
154
  overflow: hidden;
155
  }
156
+
157
+ .acx_csma_social_icons {
158
+ display: block;
159
+ float: left;
160
+ height: 26px;
161
+ width: 26px;
162
+ border-radius:3px;
163
+ }
164
+ .acx_csma_social_icons:hover
165
+ {
166
+ background: #777;
167
+ }
168
+ .acx_csma_social_icons > img
169
+ {
170
+ display:block;
171
+ margin:auto;
172
+ max-width:100%;
173
+ vertical-align:middle;
174
+ }
175
+ .csma_fb
176
+ {
177
+ background:#3b5998;
178
+ }
179
+
180
+ .csma_twtr
181
+ {
182
+ background:#55acee;
183
+ }
184
+
185
+ .csma_lnkn
186
  {
187
+ background:#0077b5;
188
  }
189
  .footer
190
  {