Social Login - Version 7.5.6

Version Description

  • Added Temporary login feature.
  • Added Hover, Custom hover, and Smart Theme for social login Icons.
  • Fixed Yahoo attribute mapping.
  • Updated Facebook setup instructions.
  • Updated Facebook and Google setup videos.
  • Published Christmas and EOSS.
  • Added Fitbit and Stackoverflow apps in Premium and all-inclusive app.
  • Added connect with messenger feature in Premium and all-inclusive app.
Download this release

Release Info

Developer unsolvedcontriver
Plugin Icon 128x128 Social Login
Version 7.5.6
Comparing to
See all releases

Code changes from version 7.5.5 to 7.5.6

CustomerOpenID.php CHANGED
@@ -55,7 +55,7 @@ class CustomerOpenID {
55
  $response = self::mo_openid_wp_remote_post($url, $args);
56
  if($response['body']==NULL)
57
  {
58
- if($_POST['action']=='mo_register_new_user')
59
  wp_send_json(["error" => 'There was an error creating an account for you. Please try again.']);
60
  else {
61
  update_option('mo_openid_message', 'There was an error creating an account for you. Please try again.');
@@ -528,7 +528,7 @@ class CustomerOpenID {
528
  if(!is_wp_error($response)){
529
  return $response;
530
  } else {
531
- if ($_POST['action'] == 'mo_register_new_user')
532
  wp_send_json(["error" => 'Unable to connect to the Internet. Please try again.']);
533
  else {
534
  update_option('mo_openid_message', 'Unable to connect to the Internet. Please try again.');
55
  $response = self::mo_openid_wp_remote_post($url, $args);
56
  if($response['body']==NULL)
57
  {
58
+ if(isset($_POST['action'])?$_POST['action']=='mo_register_new_user':0)
59
  wp_send_json(["error" => 'There was an error creating an account for you. Please try again.']);
60
  else {
61
  update_option('mo_openid_message', 'There was an error creating an account for you. Please try again.');
528
  if(!is_wp_error($response)){
529
  return $response;
530
  } else {
531
+ if (isset($_POST['action'])? $_POST['action']== 'mo_register_new_user':0)
532
  wp_send_json(["error" => 'Unable to connect to the Internet. Please try again.']);
533
  else {
534
  update_option('mo_openid_message', 'Unable to connect to the Internet. Please try again.');
class-mo-openid-login-widget.php CHANGED
@@ -1,5 +1,6 @@
1
  <?php
2
  include "mo-openid-social-login-functions.php";
 
3
  add_action( 'wp_login', 'mo_openid_link_account', 5, 2);
4
  add_action( 'mo_user_register', 'mo_openid_update_role', 1, 2);
5
  add_action( 'mo_user_register','mo_openid_send_email',1, 2 );
@@ -77,6 +78,9 @@ class mo_openid_login_wid extends WP_Widget {
77
  $customHeight = esc_attr(get_option('mo_login_icon_custom_height'));
78
  $customSize = esc_attr(get_option('mo_login_icon_custom_size'));
79
  $customBackground = esc_attr(get_option('mo_login_icon_custom_color'));
 
 
 
80
  $customTheme = esc_attr(get_option('mo_openid_login_custom_theme'));
81
  $customTextofTitle = esc_attr(get_option('mo_openid_login_button_customize_text'));
82
  $customBoundary = esc_attr(get_option('mo_login_icon_custom_boundary'));
@@ -84,6 +88,7 @@ class mo_openid_login_wid extends WP_Widget {
84
  $customLogoutLink = get_option('mo_openid_login_widget_customize_logout_text');
85
  $customTextColor=esc_attr(get_option('mo_login_openid_login_widget_customize_textcolor'));
86
  $customText=esc_html(get_option('mo_openid_login_widget_customize_text'));
 
87
  $application_pos = get_option('app_pos');
88
 
89
  if(get_option('mo_openid_gdpr_consent_enable')) {
@@ -137,7 +142,11 @@ class mo_openid_login_wid extends WP_Widget {
137
  'customSize' => $customSize,
138
  'html' => '',
139
  'customBackground' => $customBackground,
 
 
 
140
  'customTheme' => $customTheme,
 
141
  );
142
  $html=$this->display_apps($values);
143
  $html.='<br/>';
@@ -206,6 +215,10 @@ class mo_openid_login_wid extends WP_Widget {
206
  $customHeight = isset( $atts['height'] )? esc_attr(intval($atts['height'])) : esc_attr(intval(get_option('mo_login_icon_custom_height')));
207
  $customSize = isset( $atts['size'] )? esc_attr(intval($atts['size'])) : esc_attr(intval(get_option('mo_login_icon_custom_size')));
208
  $customBackground = isset( $atts['background'] )? esc_attr($atts['background']) : esc_attr(get_option('mo_login_icon_custom_color'));
 
 
 
 
209
  $customTheme = isset( $atts['theme'] )? esc_attr($atts['theme']) : esc_attr(get_option('mo_openid_login_custom_theme'));
210
  $buttonText = esc_html(get_option('mo_openid_login_button_customize_text'));
211
  $customTextofTitle = esc_attr(get_option('mo_openid_login_button_customize_text'));
@@ -267,6 +280,9 @@ class mo_openid_login_wid extends WP_Widget {
267
  'customWidth' => $customWidth,
268
  'customHeight' => $customHeight,
269
  'customBoundary' => $customBoundary,
 
 
 
270
  'buttonText' => $buttonText,
271
  'dis' => $dis,
272
  'customTextofTitle' => $customTextofTitle,
@@ -274,7 +290,8 @@ class mo_openid_login_wid extends WP_Widget {
274
  'html' => $html,
275
  'customBackground' => $customBackground,
276
  'customTheme' => $customTheme,
277
- 'appcnt' => $appcnt,
 
278
  );
279
  $html=$this->display_apps($values);
280
 
@@ -313,9 +330,12 @@ class mo_openid_login_wid extends WP_Widget {
313
  $html=$values['html'];
314
  $view=$values['view'];
315
  $customBackground=$values['customBackground'];
 
 
 
 
316
  $customTheme=$values['customTheme'];
317
  $appcnt=isset($values['appcnt'])?$values['appcnt']:'';
318
-
319
  if( $appsConfigured || $selected_apps!="") {
320
 
321
  if($selected_apps!="")
@@ -359,6 +379,10 @@ class mo_openid_login_wid extends WP_Widget {
359
  'html' => $html,
360
  'view' => $view,
361
  'customBackground' => $customBackground,
 
 
 
 
362
  'app_dis' => $app_dis,
363
  'customTheme' => $customTheme,
364
  'customer_register' => 'yes',
@@ -392,6 +416,10 @@ class mo_openid_login_wid extends WP_Widget {
392
  'html' => $html,
393
  'view' => $view,
394
  'customBackground' => $customBackground,
 
 
 
 
395
  'app_dis' => $app_dis,
396
  'customTheme' => $customTheme,
397
  'customer_register' => 'no',
@@ -427,6 +455,10 @@ class mo_openid_login_wid extends WP_Widget {
427
  'html' => $html,
428
  'view' => $view,
429
  'customBackground' => $customBackground,
 
 
 
 
430
  'app_dis' => $app_dis,
431
  'customTheme' => $customTheme,
432
  'customer_register' => 'yes',
@@ -450,7 +482,7 @@ class mo_openid_login_wid extends WP_Widget {
450
  public function select_app($select_apps,$app_values){
451
  if( get_option('mo_openid_fonawesome_load') == 1)
452
  wp_enqueue_style( 'mo-openid-sl-wp-font-awesome',plugins_url('includes/css/mo-font-awesome.min.css', __FILE__), false );
453
- wp_enqueue_style( 'mo-wp-style-icon',plugins_url('includes/css/mo_openid_login_icons.css?version=7.3.0', __FILE__), false );
454
  wp_enqueue_style( 'mo-wp-bootstrap-social',plugins_url('includes/css/bootstrap-social.css', __FILE__), false );
455
  if( get_option('mo_openid_bootstrap_load') == 1)
456
  wp_enqueue_style( 'mo-wp-bootstrap-main',plugins_url('includes/css/bootstrap.min-preview.css', __FILE__), false );
@@ -468,88 +500,26 @@ class mo_openid_login_wid extends WP_Widget {
468
  $html = $app_values['html'];
469
  $view = $app_values['view'];
470
  $customBackground = $app_values['customBackground'];
 
 
 
 
471
  $app_dis = $app_values['app_dis'];
472
  $customTheme = $app_values['customTheme'];
473
  $customer_register = $app_values['customer_register'];
474
- switch ($select_apps) {
475
- case 'facebook':
476
- case 'fb':
477
- $custom_app = esc_attr($this->if_custom_app_exists('facebook'));;
478
- $custom_app == "false" ? $app_dis = "disable" : $app_dis = "";
479
- $html = $this->add_apps("fb", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
480
- break;
481
- case 'google':
482
- $custom_app = esc_attr($this->if_custom_app_exists('google'));
483
- $app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
484
- $html = $this->add_apps("google", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
485
- break;
486
- case 'vkontakte':
487
- case 'vk':
488
- $custom_app = esc_attr($this->if_custom_app_exists('vkontakte'));
489
- $app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
490
- $html = $this->add_apps("vk", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
491
- break;
492
- case 'twitter':
493
- $custom_app = esc_attr($this->if_custom_app_exists('twitter'));
494
- $app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
495
- $html = $this->add_apps("twitter", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
496
- break;
497
- case 'linkedin':
498
- case 'linkin':
499
- $custom_app = esc_attr($this->if_custom_app_exists('linkedin'));
500
- $app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
501
- $html = $this->add_apps("linkin", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
502
- break;
503
- case 'instagram':
504
- case 'insta':
505
- $custom_app = esc_attr($this->if_custom_app_exists('instagram'));
506
- $app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
507
- $html = $this->add_apps("insta", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
508
- break;
509
- case 'amazon':
510
- $custom_app = esc_attr($this->if_custom_app_exists('amazon'));
511
- $app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
512
- $html = $this->add_apps("amazon", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
513
- break;
514
- case 'salesforce':
515
- case 'sforce':
516
- $custom_app = esc_attr($this->if_custom_app_exists('salesforce'));
517
- $app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
518
- $html = $this->add_apps("sforce", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
519
- break;
520
- case 'windowslive':
521
- case 'wlive':
522
- $custom_app = esc_attr($this->if_custom_app_exists('windowslive'));
523
- $app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
524
- $html = $this->add_apps("wlive", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
525
- break;
526
- case 'yahoo':
527
- $custom_app = esc_attr($this->if_custom_app_exists('yahoo'));
528
- $app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
529
- $html = $this->add_apps("yahoo", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
530
- break;
531
- case 'snapchat':
532
- $custom_app = esc_attr($this->if_custom_app_exists('snapchat'));
533
- $app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
534
- $html = $this->add_apps("snapchat", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
535
- break;
536
- case 'dribbble':
537
- $custom_app = esc_attr($this->if_custom_app_exists('dribbble'));
538
- $app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
539
- $html = $this->add_apps("dribbble", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
540
- break;
541
- case 'wordpress':
542
- case 'wpress':
543
- $custom_app = esc_attr($this->if_custom_app_exists('wordpress'));
544
- $app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
545
- $html = $this->add_apps("wpress", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
546
- break;
547
- case 'discord':
548
- $custom_app = esc_attr($this->if_custom_app_exists('discord'));
549
- $app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
550
- $html = $this->add_apps("discord", $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $app_dis);
551
- break;
552
  }
 
 
553
  return $html;
554
  }
555
 
@@ -559,438 +529,188 @@ class mo_openid_login_wid extends WP_Widget {
559
  return 'disable';
560
  }
561
  //for shortcode
562
- public function add_apps($app_name,$theme,$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view,$customBackground,$app_dis)
563
  {
564
- $default_color= array('facebook'=>'#1877F2','google'=>'#DB4437','vkontakte'=>'#466482','twitter'=>'#2795e9','yahoo'=>'#430297','yandex'=>'#2795e9','instagram'=>'#3f729b','linkedin'=>'#007bb6','amazon'=>'#ff9900','paypal'=>'#0d127a','salesforce'=>'#1ab7ea','windowslive'=>'#2672ec','apple'=>'#000000','steam'=>'#000000','wordpress'=>'#587ea3','pinterest'=>'#cb2027','spotify'=>'#19bf61','tumblr'=>'#2c4762','twitch'=>'#720e9e','github'=>'#000000','dribbble'=>'#ee66aa','flickr'=>'#ff0084','stackexchange'=>'0000ff','snapchat'=>'#fffc00','reddit'=>'#ff4301','odnoklassniki'=>'#f97400','foursquare'=>'#f94877','wechat'=>'#00c300','vimeo'=>'#1ab7ea','line'=>'#00c300','hubspot'=>'#fa7820','discord'=>'#7289da','meetup'=>'#e51937','stackexchange'=>'#0000FF','wiebo'=>'#df2029','kakao'=>'#ffe812','livejournal'=>'#3c1361','naver'=>'#3EAF0E','teamsnap'=>'#ff9a1a');
565
 
566
  if($customWidth!=='auto'||$customWidth=='Auto'||$customWidth=='AUTO')
567
  $customWidth.='px';
568
  if($theme=="default")
569
  {
570
- if($app_name=="fb")
571
- {
572
- if ($selected_theme == 'longbutton') {
573
- $html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
574
- if ($view == "horizontal") {
575
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-facebook mo_btn-custom-dec login-button'";
576
- } else {
577
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-facebook mo_btn-custom-dec login-button'";
578
- }
579
- if($app_dis!="disable")
580
- $html .= "onClick=\"moOpenIdLogin('facebook','" . $custom_app . "');\"";
581
- $html .= "> <img class='fa' style='padding-top:" . ($customHeight - 35) . "px !important; margin-top: 0' src='" . plugins_url('includes/images/icons/fb.png', __FILE__) . "'>" . $buttonText . " Facebook</a>";
582
- } else {
583
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Facebook'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('facebook','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " facebook'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['facebook'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-facebook mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
584
- }
585
- return $html;
586
- }
587
- else if($app_name=="google")
588
- {
589
- if ($selected_theme == 'longbutton') {
590
- $html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;background: rgb(255,255,255)!important; background:linear-gradient(90deg, rgba(255,255,255,1) 40px, rgb(79, 113, 232) 5%) !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;border-color: rgba(79, 113, 232, 1);border-bottom-width: thin;'";
591
- if ($view == "horizontal") {
592
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-google mo_btn-custom-dec login-button'";
593
- } else {
594
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-google mo_btn-custom-dec login-button'";
595
- }
596
- if($app_dis!="disable")
597
- $html .= "onClick=\"moOpenIdLogin('google','" . $custom_app . "');\"";
598
- $html.="> <img class='fa' style='padding-top:" . ($customHeight - 35) . "px !important; margin-top: 0' src='" . plugins_url('includes/images/icons/g.png', __FILE__) . "'>" . $buttonText . " Google</a>";
599
- } else {
600
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Google'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('google','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " google'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['google'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-google mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
601
- }
602
- return $html;
603
- }
604
- else if($app_name=="vk")
605
- {
606
- if ($selected_theme == 'longbutton') {
607
- $html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
608
- if ($view == "horizontal") {
609
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-vk mo_btn-custom-dec login-button'";
610
- } else {
611
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-vk mo_btn-custom-dec login-button'";
612
- }
613
- if($app_dis!="disable")
614
- $html .= "onClick=\"moOpenIdLogin('vkontakte','" . $custom_app . "');\"";
615
- $html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-vk'></i>" . $buttonText . " Vkontakte</a>";
616
- } else {
617
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Vkontakte'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('vkontakte','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " vkontakte'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['vkontakte'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-vk mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
618
- }
619
- return $html;
620
- }
621
- else if($app_name=="twitter")
622
- {
623
- if ($selected_theme == 'longbutton') {
624
- $html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
625
- if ($view == "horizontal") {
626
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-twitter mo_btn-custom-dec login-button'";
627
- } else {
628
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-twitter mo_btn-custom-dec login-button'";
629
- }
630
- if($app_dis!="disable")
631
- $html .= "onClick=\"moOpenIdLogin('twitter','" . $custom_app . "');\"";
632
- $html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-twitter'></i>" . $buttonText . " Twitter</a>";
633
- } else {
634
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Twitter'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('twitter','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " twitter'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['twitter'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-twitter mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
635
  }
636
- return $html;
637
- }
638
- else if($app_name=="linkin")
639
- {
640
- if ($selected_theme == 'longbutton') {
641
- $html .= "<a rel='nofollow' " . $gdpr_setting . "style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
642
- if ($view == "horizontal") {
643
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-linkedin mo_btn-custom-dec login-button'";
644
- } else {
645
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-linkedin mo_btn-custom-dec login-button'";
646
- }
647
- if($app_dis!="disable")
648
- $html .= "onClick=\"moOpenIdLogin('linkedin','" . $custom_app . "');\"";
649
- $html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-linkedin'></i>" . $buttonText . " LinkedIn</a>";
650
- } else {
651
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Linkedin'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('linkedin','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " linkedin'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['linkedin'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-linkedin mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
652
  }
653
- return $html;
654
- }
655
- else if($app_name=="insta")
656
- {
657
- if ($selected_theme == 'longbutton') {
658
- $html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
659
- if ($view == "horizontal") {
660
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-instagram mo_btn-custom-dec login-button'";
 
 
 
 
 
661
  } else {
662
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-instagram mo_btn-custom-dec login-button'";
663
  }
664
- if($app_dis!="disable")
665
- $html .= "onClick=\"moOpenIdLogin('instagram','" . $custom_app . "');\"";
666
- $html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-instagram'></i>" . $buttonText . " Instagram</a>";
667
- } else {
668
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Insta'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('instagram','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " amazon'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['instagram'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-instagram mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
669
- }
670
- return $html;
671
- }
672
- else if($app_name=="amazon")
673
- {
674
- if ($selected_theme == 'longbutton') {
675
- $html .= "<a rel='nofollow' " . $gdpr_setting . "style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
676
- if ($view == "horizontal") {
677
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-soundcloud mo_btn-custom-dec login-button'";
678
  } else {
679
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-soundcloud mo_btn-custom-dec login-button'";
680
  }
681
- if($app_dis!="disable")
682
- $html .= "onClick=\"moOpenIdLogin('amazon','" . $custom_app . "');\"";
683
- $html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-amazon'></i>" . $buttonText . " Amazon</a>";
684
- } else {
685
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Amazon'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('amazon','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " amazon'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['amazon'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-amazon mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
686
  }
687
- return $html;
688
  }
689
- else if($app_name=="sforce")
690
- {
691
- if(!mo_openid_is_customer_registered())
692
- $app_dis='disabled';
693
- else
694
- $app_dis='';
695
- if ($selected_theme == 'longbutton') {
696
- $html .= "<a rel='nofollow' " . $gdpr_setting . "style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
697
- if ($view == "horizontal") {
698
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-vimeo mo_btn-custom-dec login-button' ";
699
- } else {
700
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-vimeo mo_btn-custom-dec login-button' ";
701
  }
702
- if($app_dis!="disable")
703
- $html .= "onClick=\"moOpenIdLogin('salesforce','" . $custom_app . "');\"";
704
- $html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-salesforce'></i>" . $buttonText . " Salesforce</a>";
705
- } else {
706
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " salesforce'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('salesforce','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " salesforce'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['salesforce'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-salesforce mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
707
- }
708
- return $html;
709
- }
710
- else if($app_name=="wlive")
711
- {
712
- if ($selected_theme == 'longbutton') {
713
- $html .= "<a rel='nofollow' " . $gdpr_setting . "style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
714
- if ($view == "horizontal") {
715
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-microsoft mo_btn-custom-dec login-button'";
716
- } else {
717
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-microsoft mo_btn-custom-dec login-button'";
718
  }
719
- if($app_dis!="disable")
720
- $html .= " onClick=\"moOpenIdLogin('windowslive','" . $custom_app . "');\"";
721
- $html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-windows'></i>" . $buttonText . " Microsoft</a>";
722
- } else {
723
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " windowslive'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('windowslive','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " windowslive'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['windowslive'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-windows mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
724
- }
725
- return $html;
726
- }
727
- else if($app_name=="yahoo")
728
- {
729
- if ($selected_theme == 'longbutton') {
730
- $html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
731
- if ($view == "horizontal") {
732
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-yahoo mo_btn-custom-dec login-button'";
733
  } else {
734
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-yahoo mo_btn-custom-dec login-button'";
735
  }
736
- if($app_dis!="disable")
737
- $html .= "onClick=\"moOpenIdLogin('yaahoo','" . $custom_app . "');\"";
738
- $html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-yahoo'></i>" . $buttonText . " Yahoo</a>";
739
- } else {
740
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Yahoo'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('yahoo','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " Yahoo'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['yahoo'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-yahoo mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
741
  }
742
- return $html;
743
  }
744
- else if($app_name=="snapchat")
745
- {
746
- if ($selected_theme == 'longbutton') {
747
- $html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
748
- if ($view == "horizontal") {
749
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-snapchat mo_btn-custom-dec login-button'";
750
- } else {
751
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-snapchat mo_btn-custom-dec login-button'";
752
  }
753
- if($app_dis!="disable")
754
- $html .= "onClick=\"moOpenIdLogin('snapchat','" . $custom_app . "');\"";
755
- $html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-snapchat'></i>" . $buttonText . " Snapchat</a>";
756
- } else {
757
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " snapchat'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('snapchat','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " snapchat'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['snapchat'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-snapchat mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
758
- }
759
- return $html;
760
- }
761
- else if($app_name=="dribbble")
762
- {
763
- if ($selected_theme == 'longbutton') {
764
- $html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
765
- if ($view == "horizontal") {
766
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-dribbble mo_btn-custom-dec login-button'";
767
- } else {
768
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-dribbble mo_btn-custom-dec login-button'";
769
  }
770
- if($app_dis!="disable")
771
- $html .= "onClick=\"moOpenIdLogin('dribbble','" . $custom_app . "');\"";
772
- $html.="> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-dribbble'></i>" . $buttonText . " dribbble</a>";
773
- } else {
774
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " dribbble'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('dribbble','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " dribbble'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['dribbble'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-dribbble mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
775
- }
776
- return $html;
777
- }
778
- else if($app_name=="discord")
779
- {
780
- if ($selected_theme == 'longbutton') {
781
- $html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
782
- if ($view == "horizontal") {
783
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-discord mo_openid_mo_btn-custom-dec login-button'";
784
  } else {
785
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-discord mo_openid_mo_btn-custom-dec login-button'";
786
  }
787
- if($app_dis!="disable")
788
- $html .= "onClick=\"moOpenIdLogin('discord','" . $custom_app . "');\"";
789
- $html.="> <img class='fa' style='margin-top:" . ($customHeight - 35) . "px !important; margin-top: 0' src='" . plugins_url('includes/images/icons/discords.png', __FILE__) . "'>" . $buttonText . " Discord</a>";
790
- } else {
791
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Discord'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('discord','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " discord'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['discord'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-discord mo_btn-mo mo_openid-login-button login-button " . $selected_theme . "' ></i></a>";
792
  }
793
- return $html;
794
  }
795
- }
796
 
797
- else if($theme=="custom"){
798
- if($app_name=="fb")
799
- {
800
- if ($selected_theme == 'longbutton') {
801
- $html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('facebook','" . $custom_app . "');\"";$html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
802
- if ($view == "horizontal") {
803
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
804
- } else {
805
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
806
- }
807
- $html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-facebook'></i> " . $buttonText . " Facebook</a>";
808
- } else {
809
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Facebook'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('facebook','" . $custom_app . "');\"";$html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-facebook custom-login-button " . $selected_theme . "' ></i></a>";
810
- }
811
- return $html;
812
- }
813
- else if($app_name=="google") {
814
- if ($selected_theme == 'longbutton') {
815
- $html .= "<a rel='nofollow' " . $gdpr_setting . "";if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('google','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
816
- if ($view == "horizontal") {
817
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
818
- } else {
819
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
820
  }
821
- $html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-google'></i> " . $buttonText . " Google</a>";
822
- } else {
823
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Google'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('google','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " Google'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-google custom-login-button " . $selected_theme . "' ></i></a>";
824
- }
825
- return $html;
826
- }
827
- else if($app_name=="vk") {
828
- if ($selected_theme == 'longbutton') {
829
- $html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('vkontakte','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
830
- if ($view == "horizontal") {
831
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
832
- } else {
833
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
834
  }
835
- $html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-vk'></i> " . $buttonText . " Vkontakte</a>";
836
- } else {
837
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Vkontakte'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('vkontakte','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " Vkontakte'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-vk custom-login-button " . $selected_theme . "' ></i></a>";
838
- }
839
- return $html;
840
- }
841
- else if($app_name=="twitter") {
842
- if ($selected_theme == 'longbutton') {
843
- $html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.="onClick=\"moOpenIdLogin('twitter','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
844
- if ($view == "horizontal") {
845
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
846
  } else {
847
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
848
  }
849
- $html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-twitter'></i> " . $buttonText . " Twitter</a>";
850
- } else {
851
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Twitter'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('twitter','" . $custom_app . "');\""; $html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-twitter custom-login-button " . $selected_theme . "' ></i></a>";
852
  }
853
- return $html;
854
  }
855
- else if($app_name=="linkin") {
856
- if ($selected_theme == 'longbutton') {
857
- $html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.="onClick=\"moOpenIdLogin('linkedin','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
858
- if ($view == "horizontal") {
859
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
860
- } else {
861
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
862
- }
863
- $html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-linkedin'></i> " . $buttonText . " LinkedIn</a>";
864
- } else {
865
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " LinkedIn'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('linkedin','" . $custom_app . "');\""; $html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-linkedin custom-login-button " . $selected_theme . "' ></i></a>";
866
- }
867
 
868
- return $html;
869
- }
870
- else if($app_name=="insta") {
871
- if ($selected_theme == 'longbutton') {
872
- $html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.="onClick=\"moOpenIdLogin('instagram','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
873
- if ($view == "horizontal") {
874
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
875
- } else {
876
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
877
  }
878
- $html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-instagram'></i> " . $buttonText . " Instagram</a>";
879
- } else {
880
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Instagram'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('instagram','" . $custom_app . "');\""; $html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-instagram custom-login-button " . $selected_theme . "' ></i></a>";
881
- }
882
- return $html;
883
- }
884
- else if($app_name=="amazon") {
885
- if ($selected_theme == 'longbutton') {
886
- $html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('amazon','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
887
- if ($view == "horizontal") {
888
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
889
- } else {
890
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
891
- }
892
- $html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-amazon'></i> " . $buttonText . " Amazon</a>";
893
- } else {
894
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Amazon'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('amazon','" . $custom_app . "');\""; $html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-amazon custom-login-button " . $selected_theme . "' ></i></a>";
895
- }
896
-
897
- return $html;
898
- }
899
- else if($app_name=="sforce")
900
- {
901
- if(!mo_openid_is_customer_registered())
902
- $app_dis='disabled';
903
- else
904
- $app_dis='';
905
- if ($selected_theme == 'longbutton') {
906
- $html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('salesforce','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
907
- if ($view == "horizontal") {
908
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
909
- } else {
910
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
911
  }
912
- $html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-salesforce'></i> " . $buttonText . " Salesforce</a>";
913
- } else {
914
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Salesforce'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('salesforce','" . $custom_app . "');\""; $html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-salesforce custom-login-button " . $selected_theme . "' ></i></a>";
915
- }
916
- return $html;
917
- }
918
- else if($app_name=="wlive")
919
- {
920
- if ($selected_theme == 'longbutton') {
921
- $html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('windowslive','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
922
- if ($view == "horizontal") {
923
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
924
  } else {
925
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
 
926
  }
927
- $html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-windows'></i> " . $buttonText . " Microsoft</a>";
928
- } else {
929
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Microsoft'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('windowslive','" . $custom_app . "');\""; $html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-windows custom-login-button " . $selected_theme . "' ></i></a>";
930
  }
931
- return $html;
932
  }
933
- else if($app_name=="yahoo")
934
- {
935
- if ($selected_theme == 'longbutton') {
936
- $html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('yaahoo','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
937
- if ($view == "horizontal") {
938
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
939
- } else {
940
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
941
  }
942
- $html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-yahoo'></i> " . $buttonText . " Yahoo</a>";
943
- } else {
944
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Yahoo'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('yaahoo','" . $custom_app . "');\""; $html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-yahoo custom-login-button " . $selected_theme . "' ></i></a>";
945
- }
946
- return $html;
947
- }
948
- else if($app_name=="snapchat")
949
- {
950
- if ($selected_theme == 'longbutton') {
951
- $html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('snapchat','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
952
- if ($view == "horizontal") {
953
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
954
- } else {
955
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
956
  }
957
- $html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-snapchat'></i> " . $buttonText . " Snapchat</a>";
958
- } else {
959
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Snapchat'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('snapchat','" . $custom_app . "');\""; $html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-snapchat custom-login-button " . $selected_theme . "' ></i></a>";
960
- }
961
- return $html;
962
- }
963
- else if($app_name=="dribbble")
964
- {
965
- if ($selected_theme == 'longbutton') {
966
- $html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('dribbble','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
967
- if ($view == "horizontal") {
968
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
969
- } else {
970
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
971
- }
972
- $html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-dribbble'></i> " . $buttonText . " Dribbble</a>";
973
- } else {
974
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Dribbble'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('dribbble','" . $custom_app . "');\""; $html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-dribbble custom-login-button " . $selected_theme . "' ></i></a>";
975
- }
976
- return $html;
977
- }
978
- else if($app_name=="discord")
979
- {
980
- if ($selected_theme == 'longbutton') {
981
- $html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('discord','" . $custom_app . "');\""; $html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
982
- if ($view == "horizontal") {
983
- $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
984
  } else {
985
- $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button'";
986
  }
987
- $html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-discord'></i> " . $buttonText . " Discord</a>";
988
- } else {
989
- $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " Discord'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('discord','" . $custom_app . "');\""; $html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-discord custom-login-button " . $selected_theme . "' ></i></a>";
990
  }
991
- return $html;
992
  }
993
- }
994
 
995
  }
996
 
@@ -1337,6 +1057,245 @@ function mo_openid_redirect_after_logout($logout_url)
1337
 
1338
  }
1339
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1340
  function mo_openid_login_validate(){
1341
 
1342
 
@@ -1403,7 +1362,7 @@ function mo_openid_login_validate(){
1403
  'last_name' => $last_name,
1404
  'user_url' => $user_url,
1405
  );
1406
-
1407
  // Checking if username already exist
1408
  $user_name_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $userdata['user_login']));
1409
 
@@ -1430,7 +1389,7 @@ function mo_openid_login_validate(){
1430
  exit();
1431
  }
1432
  }
1433
-
1434
  $user_id = wp_insert_user( $userdata);
1435
  if(is_wp_error( $user_id )) {
1436
  print_r($user_id);
@@ -1685,7 +1644,7 @@ function get_current_customer(){
1685
  update_option( 'mo_openid_message', 'Your account has been retrieved successfully.' );
1686
  delete_option('mo_openid_verify_customer');
1687
  delete_option('mo_openid_new_registration');
1688
- if($_POST['action']=='mo_register_new_user')
1689
  wp_send_json(["success" => 'Your account has been retrieved successfully.']);
1690
  else
1691
  mo_openid_show_success_message();
@@ -1693,7 +1652,7 @@ function get_current_customer(){
1693
  update_option( 'mo_openid_message', 'You already have an account with miniOrange. Please enter a valid password.');
1694
  update_option('mo_openid_verify_customer', 'true');
1695
  delete_option('mo_openid_new_registration');
1696
- if($_POST['action']=='mo_register_new_user')
1697
  wp_send_json(["error" => 'You already have an account with miniOrange. Please enter a valid password.']);
1698
  else {
1699
  mo_openid_show_error_message();
1
  <?php
2
  include "mo-openid-social-login-functions.php";
3
+ require_once(ABSPATH.'wp-admin/includes/user.php' );
4
  add_action( 'wp_login', 'mo_openid_link_account', 5, 2);
5
  add_action( 'mo_user_register', 'mo_openid_update_role', 1, 2);
6
  add_action( 'mo_user_register','mo_openid_send_email',1, 2 );
78
  $customHeight = esc_attr(get_option('mo_login_icon_custom_height'));
79
  $customSize = esc_attr(get_option('mo_login_icon_custom_size'));
80
  $customBackground = esc_attr(get_option('mo_login_icon_custom_color'));
81
+ $customHoverBackground = esc_attr(get_option('mo_login_icon_custom_hover_color'));
82
+ $customSmartBackground1 = esc_attr(get_option('mo_login_icon_custom_smart_color1'));
83
+ $customSmartBackground2 = esc_attr(get_option('mo_login_icon_custom_smart_color2'));
84
  $customTheme = esc_attr(get_option('mo_openid_login_custom_theme'));
85
  $customTextofTitle = esc_attr(get_option('mo_openid_login_button_customize_text'));
86
  $customBoundary = esc_attr(get_option('mo_login_icon_custom_boundary'));
88
  $customLogoutLink = get_option('mo_openid_login_widget_customize_logout_text');
89
  $customTextColor=esc_attr(get_option('mo_login_openid_login_widget_customize_textcolor'));
90
  $customText=esc_html(get_option('mo_openid_login_widget_customize_text'));
91
+ $effectStatus =esc_html(get_option('mo_openid_button_theme_effect'));
92
  $application_pos = get_option('app_pos');
93
 
94
  if(get_option('mo_openid_gdpr_consent_enable')) {
142
  'customSize' => $customSize,
143
  'html' => '',
144
  'customBackground' => $customBackground,
145
+ 'customHoverBackground' => $customHoverBackground,
146
+ 'customSmartBackground1' => $customSmartBackground1,
147
+ 'customSmartBackground2' => $customSmartBackground2,
148
  'customTheme' => $customTheme,
149
+ 'effectStatus'=>$effectStatus
150
  );
151
  $html=$this->display_apps($values);
152
  $html.='<br/>';
215
  $customHeight = isset( $atts['height'] )? esc_attr(intval($atts['height'])) : esc_attr(intval(get_option('mo_login_icon_custom_height')));
216
  $customSize = isset( $atts['size'] )? esc_attr(intval($atts['size'])) : esc_attr(intval(get_option('mo_login_icon_custom_size')));
217
  $customBackground = isset( $atts['background'] )? esc_attr($atts['background']) : esc_attr(get_option('mo_login_icon_custom_color'));
218
+ $customHoverBackground = isset( $atts['background_hover'] )? esc_attr($atts['background_hover']) : esc_attr(get_option('mo_login_icon_custom_hover_color'));
219
+ $customSmartBackground1 = isset( $atts['background_smart1'] )? esc_attr($atts['background_smart1']) : esc_attr(get_option('mo_login_icon_custom_smart_color1'));
220
+ $customSmartBackground2 = isset( $atts['background_smart2'] )? esc_attr($atts['background_smart2']) : esc_attr(get_option('mo_login_icon_custom_smart_color2'));
221
+ $effectStatus = isset( $atts['effectStatus'] )? esc_attr($atts['effectStatus']) : esc_attr(get_option('mo_openid_button_theme_effect'));
222
  $customTheme = isset( $atts['theme'] )? esc_attr($atts['theme']) : esc_attr(get_option('mo_openid_login_custom_theme'));
223
  $buttonText = esc_html(get_option('mo_openid_login_button_customize_text'));
224
  $customTextofTitle = esc_attr(get_option('mo_openid_login_button_customize_text'));
280
  'customWidth' => $customWidth,
281
  'customHeight' => $customHeight,
282
  'customBoundary' => $customBoundary,
283
+ 'customHoverBackground' => $customHoverBackground,
284
+ 'customSmartBackground1' => $customSmartBackground1,
285
+ 'customSmartBackground2' => $customSmartBackground2,
286
  'buttonText' => $buttonText,
287
  'dis' => $dis,
288
  'customTextofTitle' => $customTextofTitle,
290
  'html' => $html,
291
  'customBackground' => $customBackground,
292
  'customTheme' => $customTheme,
293
+ 'effectStatus'=> $effectStatus,
294
+ 'appcnt' => $appcnt
295
  );
296
  $html=$this->display_apps($values);
297
 
330
  $html=$values['html'];
331
  $view=$values['view'];
332
  $customBackground=$values['customBackground'];
333
+ $customHoverBackground=$values['customHoverBackground'];
334
+ $customSmartBackground1=$values['customSmartBackground1'];
335
+ $customSmartBackground2=$values['customSmartBackground2'];
336
+ $effectStatus= $values['effectStatus'];
337
  $customTheme=$values['customTheme'];
338
  $appcnt=isset($values['appcnt'])?$values['appcnt']:'';
 
339
  if( $appsConfigured || $selected_apps!="") {
340
 
341
  if($selected_apps!="")
379
  'html' => $html,
380
  'view' => $view,
381
  'customBackground' => $customBackground,
382
+ 'customHoverBackground' => $customHoverBackground,
383
+ 'customSmartBackground1' => $customSmartBackground1,
384
+ 'customSamrtBackground2' => $customSmartBackground2,
385
+ 'effectStatus'=> $effectStatus,
386
  'app_dis' => $app_dis,
387
  'customTheme' => $customTheme,
388
  'customer_register' => 'yes',
416
  'html' => $html,
417
  'view' => $view,
418
  'customBackground' => $customBackground,
419
+ 'customHoverBackground' => $customHoverBackground,
420
+ 'customSmartBackground1' => $customSmartBackground1,
421
+ 'customSamrtBackground2' => $customSmartBackground2,
422
+ 'effectStatus'=> $effectStatus,
423
  'app_dis' => $app_dis,
424
  'customTheme' => $customTheme,
425
  'customer_register' => 'no',
455
  'html' => $html,
456
  'view' => $view,
457
  'customBackground' => $customBackground,
458
+ 'customHoverBackground' => $customHoverBackground,
459
+ 'customSmartBackground1' => $customSmartBackground1,
460
+ 'customSamrtBackground2' => $customSmartBackground2,
461
+ 'effectStatus'=> $effectStatus,
462
  'app_dis' => $app_dis,
463
  'customTheme' => $customTheme,
464
  'customer_register' => 'yes',
482
  public function select_app($select_apps,$app_values){
483
  if( get_option('mo_openid_fonawesome_load') == 1)
484
  wp_enqueue_style( 'mo-openid-sl-wp-font-awesome',plugins_url('includes/css/mo-font-awesome.min.css', __FILE__), false );
485
+ wp_enqueue_style( 'mo-wp-style-icon',plugins_url('includes/css/mo_openid_login_icons.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION, __FILE__), false );
486
  wp_enqueue_style( 'mo-wp-bootstrap-social',plugins_url('includes/css/bootstrap-social.css', __FILE__), false );
487
  if( get_option('mo_openid_bootstrap_load') == 1)
488
  wp_enqueue_style( 'mo-wp-bootstrap-main',plugins_url('includes/css/bootstrap.min-preview.css', __FILE__), false );
500
  $html = $app_values['html'];
501
  $view = $app_values['view'];
502
  $customBackground = $app_values['customBackground'];
503
+ $customHoverBackground = $app_values['customHoverBackground'];
504
+ $customSmartBackground1 = $app_values['customSmartBackground1'];
505
+ $customSmartBackground2 = $app_values['customSamrtBackground2'];
506
+ $effectStatus = $app_values['effectStatus'];
507
  $app_dis = $app_values['app_dis'];
508
  $customTheme = $app_values['customTheme'];
509
  $customer_register = $app_values['customer_register'];
510
+
511
+ if($select_apps == 'facebook' || $select_apps == 'fb' || $select_apps == 'dribbble' || $select_apps == 'snapchat' || $select_apps == 'discord'){
512
+ if($select_apps=='fb')
513
+ $select_apps='facebook';
514
+ $custom_app = esc_attr($this->if_custom_app_exists($select_apps));;
515
+ $app_dis == "false" ? $app_dis = "disable" : $app_dis = "";
516
+ }
517
+ else{
518
+ $custom_app = esc_attr($this->if_custom_app_exists($select_apps));
519
+ $app_dis = $this->check_capp_reg_cust($customer_register, $custom_app);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
520
  }
521
+
522
+ $html = $this->add_apps($select_apps, $customTheme, $gdpr_setting, $spacebetweenicons, $customWidth, $customHeight, $customBoundary, $buttonText, $dis, $customTextofTitle, $customSize, $selected_theme, $custom_app, $html, $view, $customBackground, $customHoverBackground,$customSmartBackground1,$customSmartBackground2,$effectStatus, $app_dis);
523
  return $html;
524
  }
525
 
529
  return 'disable';
530
  }
531
  //for shortcode
532
+ public function add_apps($app_name,$theme,$gdpr_setting,$spacebetweenicons,$customWidth,$customHeight,$customBoundary,$buttonText,$dis,$customTextofTitle,$customSize,$selected_theme,$custom_app,$html,$view,$customBackground,$customHoverBackground,$customSmartBackground1,$customSmartBackground2,$effectStatus,$app_dis)
533
  {
534
+ $default_color= array('facebook'=>'#1877F2','google'=>'#DB4437','vkontakte'=>'#466482','twitter'=>'#2795e9','yahoo'=>'#430297','yandex'=>'#2795e9','instagram'=>'#3f729b','linkedin'=>'#007bb6','amazon'=>'#ff9900','paypal'=>'#0d127a','salesforce'=>'#1ab7ea','windowslive'=>'#2672ec','apple'=>'#000000','steam'=>'#000000','wordpress'=>'#587ea3','pinterest'=>'#cb2027','spotify'=>'#19bf61','tumblr'=>'#2c4762','twitch'=>'#720e9e','github'=>'#000000','dribbble'=>'#ee66aa','flickr'=>'#ff0084','stackexchange'=>'0000ff','snapchat'=>'#fffc00','reddit'=>'#ff4301','odnoklassniki'=>'#f97400','foursquare'=>'#f94877','wechat'=>'#00c300','vimeo'=>'#1ab7ea','line'=>'#00c300','hubspot'=>'#fa7820','trello'=>'#0079bf','discord'=>'#7289da','meetup'=>'#e51937','stackexchange'=>'#0000FF','wiebo'=>'#df2029','kakao'=>'#ffe812','livejournal'=>'#3c1361','naver'=>'#3EAF0E','teamsnap'=>'#ff9a1a','slack'=>'#4c154d','gitlab'=>'#30353e','dropbox'=>'#0061ff','mailru'=>'#0000FF');
535
 
536
  if($customWidth!=='auto'||$customWidth=='Auto'||$customWidth=='AUTO')
537
  $customWidth.='px';
538
  if($theme=="default")
539
  {
540
+ $a[] = $app_name;
541
+ foreach($a as $app){
542
+ $icon = $app;
543
+ if($app == "vkontakte"){
544
+ $icon = "vk";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
545
  }
546
+ if($app == "windowslive"){
547
+ $icon = "windows";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
548
  }
549
+
550
+ if($app_name=="google")
551
+ {
552
+ if ($selected_theme == 'longbutton') {
553
+ $html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;background: rgb(255,255,255)!important; background:linear-gradient(90deg, rgba(255,255,255,1) 40px, rgb(79, 113, 232) 5%) !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;border-color: rgba(79, 113, 232, 1);border-bottom-width: thin;'";
554
+ if ($view == "horizontal") {
555
+ $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-google mo_btn-custom-dec login-button mo_btn_".$effectStatus."'";
556
+ } else {
557
+ $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-google mo_btn-custom-dec login-button mo_btn_".$effectStatus."'";
558
+ }
559
+ if($app_dis!="disable")
560
+ $html .= "onClick=\"moOpenIdLogin('google','" . $custom_app . "');\"";
561
+ $html.="> <img class='fa' style='padding-top:" . ($customHeight - 35) . "px !important; margin-top: 0' src='" . plugins_url('includes/images/icons/g.png', __FILE__) . "'>" . $buttonText . " Google</a>";
562
  } else {
563
+ $html .= "<a class='" . $dis . " login-button ' rel='nofollow' title= ' " . $customTextofTitle . " Google'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('google','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " google'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color['google'].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-google mo_btn-mo mo_openid-login-button login-button mo_btn_".$effectStatus."_i " . $selected_theme . "' ></i></a>";
564
  }
565
+ return $html;
566
+ }else{
567
+
568
+ if ($selected_theme == 'longbutton') {
569
+ $html .= "<a rel='nofollow' " . $gdpr_setting . " style='margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
570
+ if ($view == "horizontal") {
571
+ $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-".$icon." mo_btn-custom-dec login-button mo_btn_".$effectStatus." '";
572
+ } else {
573
+ $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-".$icon." mo_btn-custom-dec login-button mo_btn_".$effectStatus."_i '";
574
+ }
575
+ if($app_dis!="disable")
576
+ $html .= "onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";
577
+ $html .= "> <i class='fab fa-".$icon."' style='padding-top:" . ($customHeight - 35) . "px !important; margin-top: 0' src='" . plugins_url('includes/images/icons/'.$app.'.png', __FILE__) . "'></i>" . $buttonText . " ".ucfirst($app)."</a>";
 
578
  } else {
579
+ $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " ".$app."'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " ".$app."'><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:".$default_color[$app].";font-size: " . ($customSize - 16) . "px !important;text-align:center; padding-top: 8px;color:white' class='fab fa-".$icon." mo_btn-mo mo_openid-login-button login-button mo_btn_".$effectStatus."_i " . $selected_theme . "' ></i></a>";
580
  }
581
+ return $html;
 
 
 
 
582
  }
 
583
  }
584
+ }
585
+ else if($theme=="custom"){
586
+
587
+ $a[] = $app_name;
588
+ foreach($a as $app){
589
+ $icon = $app;
590
+ if($app == "vkontakte"){
591
+ $icon = "vk";
 
 
 
 
592
  }
593
+ if($app == "windowslive"){
594
+ $icon = "windows";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
595
  }
596
+ if ($selected_theme == 'longbutton') {
597
+ $html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";$html.=" style='margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; background:#" . $customBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
598
+ if ($view == "horizontal") {
599
+ $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button mo_btn_".$effectStatus."'";
600
+ } else {
601
+ $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-customtheme mo_btn-custom-dec login-button mo_btn_".$effectStatus."'";
602
+ }
603
+ $html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-".$icon."'></i> " . $buttonText . " ".ucfirst($app)."</a>";
 
 
 
 
 
 
604
  } else {
605
+ $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " ".$app."'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";$html.=" ><i style='margin-top:10px;width:" . $customSize . "px !important;height:" . $customSize . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;background:#" . $customBackground . " !important;font-size: " . ($customSize - 16) . "px !important;' class='fab mo_btn-mo fa-".$icon." custom-login-button mo_btn_".$effectStatus."_i " . $selected_theme . "' ></i></a>";
606
  }
607
+ return $html;
 
 
 
 
608
  }
 
609
  }
610
+ else if($theme=="white"){
611
+
612
+ $a[] = $app_name;
613
+ foreach($a as $app){
614
+ $icon = $app;
615
+ if($app == "vkontakte"){
616
+ $icon = "vk";
 
617
  }
618
+ if($app == "windowslive"){
619
+ $icon = "windows";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
620
  }
621
+ if ($selected_theme == 'longbutton') {
622
+ $html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";$html.=" style='border-color:#000000;margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; border-radius: " . $customBoundary . "px !important;color:#000000;background:#ffffff'";
623
+ if ($view == "horizontal") {
624
+ $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-".$app."-white mo_openid_mo_btn-custom-dec login-button mo_btn_".$effectStatus." '";
625
+ } else {
626
+ $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-".$app."-white mo_openid_mo_btn-custom-dec login-button mo_btn_".$effectStatus." '";
627
+ }
628
+ if ($app_dis != "disable")
629
+ $html .= "onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";
630
+ $html .= "> <i style='color:".$default_color[$app]."; border-right:#ffffff; padding-top:" . ($customHeight - 35) . "px !important;' class='fab fa-".$icon."'></i>" . $buttonText . " ".ucfirst($app)."</a>";
 
 
 
 
631
  } else {
632
+ $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " ".ucfirst($app)."'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " ".$app."'><i style='background:white;margin-top:10px;text-align:center;padding:7px 0px 1px 0px;box-sizing:initial;width:" . $customSize . "px !important;height:" . ($customSize-8) . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;color:" . $default_color[$app] . " !important;font-size: " . ($customSize - 14) . "px !important;border: 1px solid black;' class='fab fa-".$icon." mo_btn-mo mo_btn_".$effectStatus."_i " . $selected_theme . "' ></i></a>";
633
  }
634
+ return $html;
 
 
 
 
635
  }
 
636
  }
637
+ else if($theme=="hover"){
638
 
639
+ $a[] = $app_name;
640
+ foreach($a as $app){
641
+ $icon = $app;
642
+ if($app == "vkontakte"){
643
+ $icon = "vk";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
644
  }
645
+ if($app == "windowslive"){
646
+ $icon = "windows";
 
 
 
 
 
 
 
 
 
 
 
647
  }
648
+ if ($selected_theme == 'longbutton') {
649
+ $html .= "<a rel='nofollow' " . $gdpr_setting . " style='border-color:#000000; margin-left: " . $spacebetweenicons . "px !important;width: " . $customWidth . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom: " . ($spacebetweenicons - 5) . "px !important;border-radius: " . $customBoundary . "px !important;'";
650
+ if ($view == "horizontal") {
651
+ $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_btn-".$icon."-hov mo_openid_mo_btn-custom-dec login-button mo_btn_".$effectStatus." '";
652
+ } else {
653
+ $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_btn-".$icon."-hov mo_openid_mo_btn-custom-dec login-button mo_btn_".$effectStatus."'";
654
+ }
655
+ $html .= "onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";
656
+ $html .= "> <i style='color: ".$default_color[$app]."; border-right:#ffffff; padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-".$icon."'></i>" . $buttonText ." ".ucfirst($app_name)."</a>";
 
 
657
  } else {
658
+ $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " ".ucfirst($app)."'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\""; $html.=" title= ' " . $customTextofTitle . " " .ucfirst($app)."'><i style='background:white;margin-top:10px;text-align:center;padding:7px 0px 1px 0px;box-sizing:initial;width:" . $customSize . "px !important;height:" . ($customSize-8) . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;color:" . $default_color[$app] . ";font-size: " . ($customSize - 14) . "px !important;border: 1px solid black;' class='fab fa-".$icon." mo_openid_i".$icon."-hov mo_btn_".$effectStatus."_i " . $selected_theme . "' ></i></a>";
659
  }
660
+ return $html;
 
 
661
  }
 
662
  }
663
+ else if($theme=="custom_hover"){
 
 
 
 
 
 
 
 
 
 
 
664
 
665
+ $a[] = $app_name;
666
+ foreach($a as $app){
667
+ $icon = $app;
668
+ if($app == "vkontakte"){
669
+ $icon = "vk";
 
 
 
 
670
  }
671
+ if($app == "windowslive"){
672
+ $icon = "windows";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
673
  }
674
+ if ($selected_theme == 'longbutton') {
675
+ $html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onMouseOver=\"this.style.color= 'white';this.style.background= '#".$customHoverBackground."';\"
676
+ onMouseOut=\"this.style.color= '#".$customHoverBackground."';this.style.background= 'white';\" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";$html.=" style='background:white; margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; color:#" . $customHoverBackground . ";border-color:#" . $customHoverBackground . "!important;border-radius: " . $customBoundary . "px !important;'";
677
+ if ($view == "horizontal") {
678
+ $html .= "class='mo_btn mo_btn-mo mo_btn-block-inline mo_btn-social mo_openid_mo_btn-custom-dec login-button mo_btn_".$effectStatus." '";
679
+ } else {
680
+ $html .= "class='mo_btn mo_btn-mo mo_btn-block mo_btn-social mo_openid_mo_btn-custom-dec login-button mo_btn_".$effectStatus."'";
681
+ }
682
+ $html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important' class='fab fa-".$icon."'></i> " . $buttonText . " ".ucfirst($app)."</a>";
 
 
 
683
  } else {
684
+ $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " ".ucfirst($app)."'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";
685
+ $html.=" title= ' " . $customTextofTitle . " " .ucfirst($app)."'><i onMouseOver=\"this.style.color= 'white';this.style.background= '#".$customHoverBackground."';\" onMouseOut=\"this.style.color= '#".$customHoverBackground."';this.style.background= 'white';\" style='background:white;margin-top:10px;text-align:center;padding:7px 0px 1px 0px;box-sizing:initial;width:" . $customSize . "px !important;height:" . ($customSize-8) . "px !important;margin-left:" . ($spacebetweenicons) . "px !important;color:#" . $customHoverBackground . ";font-size: " . ($customSize - 14) . "px !important;border: 1px solid #" . $customHoverBackground . ";' class='fab fa-".$icon." " . $selected_theme . " mo_btn_".$effectStatus."_i ' ></i></a>";
686
  }
687
+ return $html;
 
 
688
  }
 
689
  }
690
+ else if($theme=="smart"){
691
+ $a[] = $app_name;
692
+ foreach($a as $app){
693
+ $icon = $app;
694
+ if($app == "vkontakte"){
695
+ $icon = "vk";
 
 
696
  }
697
+ if($app == "windowslive"){
698
+ $icon = "windows";
 
 
 
 
 
 
 
 
 
 
 
 
699
  }
700
+ if ($selected_theme == 'longbutton') {
701
+ $html .= "<a rel='nofollow' " . $gdpr_setting . ""; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";$html.=" style='color:#ffffff;background:linear-gradient(90deg,#$customSmartBackground1,#$customSmartBackground2);margin-left: " . $spacebetweenicons . "px !important;width:" . ($customWidth) . " !important;padding-top:" . ($customHeight - 29) . "px !important;padding-bottom:" . ($customHeight - 29) . "px !important;margin-bottom:" . ($spacebetweenicons - 5) . "px !important; border-radius: " . $customBoundary . "px !important;'";
702
+ if ($view == "horizontal") {
703
+ $html .= "class='mo_btn_smart mo_btn-mo mo_btn-block-inline mo_btn-social mo_openid_mo_btn-customtheme mo_openid_mo_btn-custom-dec login-button mo_btn_".$effectStatus."'";
704
+ } else {
705
+ $html .= "class='mo_btn_smart mo_btn-mo mo_btn-block mo_btn-social mo_openid_mo_btn-customtheme mo_openid_mo_btn-custom-dec login-button mo_btn_".$effectStatus."'";
706
+ }
707
+ $html .= "> <i style='padding-top:" . ($customHeight - 35) . "px !important;' class='fab fa-".$icon."'></i> " . $buttonText . " ".ucfirst($app)."</a>";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
708
  } else {
709
+ $html .= "<a class='" . $dis . " login-button' rel='nofollow' title= ' " . $customTextofTitle . " ".ucfirst($app)."'"; if($app_dis!="disable") $html.=" onClick=\"moOpenIdLogin('".$app."','" . $custom_app . "');\"";$html.=" ><i style='margin-top:10px;text-align:center;padding:7px 0px 1px 0px;box-sizing:initial;width:" . $customSize . "px !important;height:" . ($customSize-8) . "px !important;margin-left:" . ($spacebetweenicons+4) . "px !important; background:linear-gradient(90deg,#$customSmartBackground1,#$customSmartBackground2)!important;font-size: " . ($customSize - 16) . "px !important;color:white' class='fab mo_btn-mo fa-".$icon." mo_openid_custom-login-button mo_button_smart_i mo_btn_".$effectStatus."_i " . $selected_theme . "' ></i></a>";
710
  }
711
+ return $html;
 
 
712
  }
 
713
  }
 
714
 
715
  }
716
 
1057
 
1058
  }
1059
 
1060
+ function get_valid_user_based_on_mo_token( $token = '', $fields = 'all' ) {
1061
+ if ( empty( $token ) ) {
1062
+ return false;
1063
+ }
1064
+
1065
+ $args = array(
1066
+ 'fields' => $fields,
1067
+ 'meta_key' => 'mo_expire',
1068
+ 'order' => 'DESC',
1069
+ 'orderby' => 'meta_value',
1070
+ 'meta_query' => array(
1071
+ 0 => array(
1072
+ 'key' => 'mo_token',
1073
+ 'value' => sanitize_text_field( $token ),
1074
+ 'compare' => '=',
1075
+ ),
1076
+ ),
1077
+ );
1078
+
1079
+ $users = new WP_User_Query( $args );
1080
+
1081
+ $users_data = $users->get_results();
1082
+
1083
+
1084
+ if ( empty( $users_data ) ) {
1085
+ return false;
1086
+ }
1087
+
1088
+ // foreach ( $users_data as $key => $user ) {
1089
+ // $expire = get_user_meta( $user->ID, '_wtlwp_expire', true );
1090
+ //
1091
+ // if ( is_string( $expire ) && strpos( $expire, '_after_access' ) ) {
1092
+ // $expiry_options = get_expiry_options();
1093
+ // $timestamp = ! empty( $expiry_options[ $expire ] ) ? $expiry_options[ $expire ]['timestamp'] : 0;
1094
+ // $expire = get_current_gmt_timestamp() + $timestamp;
1095
+ // update_user_meta( $user->ID, '_wtlwp_expire', $expire );
1096
+ // } elseif ( $expire <= get_current_gmt_timestamp() ) {
1097
+ // unset( $users_data[ $key ] );
1098
+ // }
1099
+ // }
1100
+
1101
+ return $users_data;
1102
+
1103
+ }
1104
+
1105
+ function get_expiry_options() {
1106
+
1107
+ $expiry_options = array(
1108
+ 'hour' => array( 'group' => 'from_now', 'group_name' => __( 'From Now', 'temporary-login-without-password' ), 'label' => __( 'One Hour', 'temporary-login-without-password' ), 'timestamp' => HOUR_IN_SECONDS, 'order' => 5 ),
1109
+ 'min' => array( 'group' => 'from_now', 'group_name' => __( 'From Now', 'temporary-login-without-password' ), 'label' => __( 'One Hour', 'temporary-login-without-password' ), 'timestamp' => MINUTE_IN_SECONDS, 'order' => 6 ),
1110
+ '3_hours' => array( 'group' => 'from_now', 'group_name' => __( 'From Now', 'temporary-login-without-password' ), 'label' => __( 'Three Hours', 'temporary-login-without-password' ), 'timestamp' => HOUR_IN_SECONDS * 3, 'order' => 10 ),
1111
+ 'day' => array( 'group' => 'from_now', 'group_name' => __( 'From Now', 'temporary-login-without-password' ), 'label' => __( 'One Day', 'temporary-login-without-password' ), 'timestamp' => DAY_IN_SECONDS, 'order' => 15 ),
1112
+ '3_days' => array( 'group' => 'from_now', 'group_name' => __( 'From Now', 'temporary-login-without-password' ), 'label' => __( 'Three Days', 'temporary-login-without-password' ), 'timestamp' => DAY_IN_SECONDS * 3, 'order' => 20 ),
1113
+ 'week' => array( 'group' => 'from_now', 'group_name' => __( 'From Now', 'temporary-login-without-password' ), 'label' => __( 'One Week', 'temporary-login-without-password' ), 'timestamp' => WEEK_IN_SECONDS, 'order' => 25 ),
1114
+ 'month' => array( 'group' => 'from_now', 'group_name' => __( 'From Now', 'temporary-login-without-password' ), 'label' => __( 'One Month', 'temporary-login-without-password' ), 'timestamp' => MONTH_IN_SECONDS, 'order' => 30 ),
1115
+ 'hour_after_access' => array( 'group' => 'after_access', 'group_name' => __( 'After Access', 'temporary-login-without-password' ), 'label' => __( 'One Hour', 'temporary-login-without-password' ), 'expiry_label' => __( '1 hour after access', 'temporary-login-without-password' ), 'timestamp' => HOUR_IN_SECONDS, 'order' => 6 ),
1116
+ '3_hours_after_access' => array( 'group' => 'after_access', 'group_name' => __( 'After Access', 'temporary-login-without-password' ), 'label' => __( 'Three Hours', 'temporary-login-without-password' ), 'expiry_label' => __( '3 hours after access', 'temporary-login-without-password' ), 'timestamp' => HOUR_IN_SECONDS * 3, 'order' => 11 ),
1117
+ 'day_after_access' => array( 'group' => 'after_access', 'group_name' => __( 'After Access', 'temporary-login-without-password' ), 'label' => __( 'One Day', 'temporary-login-without-password' ), 'expiry_label' => __( '1 day after access', 'temporary-login-without-password' ), 'timestamp' => DAY_IN_SECONDS, 'order' => 16 ),
1118
+ '3_days_after_access' => array( 'group' => 'after_access', 'group_name' => __( 'After Access', 'temporary-login-without-password' ), 'label' => __( 'Three Days', 'temporary-login-without-password' ), 'expiry_label' => __( '3 days after access', 'temporary-login-without-password' ), 'timestamp' => DAY_IN_SECONDS * 3, 'order' => 21 ),
1119
+ 'week_after_access' => array( 'group' => 'after_access', 'group_name' => __( 'After Access', 'temporary-login-without-password' ), 'label' => __( 'One Week', 'temporary-login-without-password' ), 'expiry_label' => __( '1 week after access', 'temporary-login-without-password' ), 'timestamp' => WEEK_IN_SECONDS, 'order' => 26 ),
1120
+ 'month_after_access' => array( 'group' => 'after_access', 'group_name' => __( 'After Access', 'temporary-login-without-password' ), 'label' => __( 'One Month', 'temporary-login-without-password' ), 'expiry_label' => __( '1 month after access', 'temporary-login-without-password' ), 'timestamp' => MONTH_IN_SECONDS, 'order' => 31 ),
1121
+ 'custom_date' => array( 'group' => 'custom', 'group_name' => __( 'Custom', 'temporary-login-without-password' ), 'label' => __( 'Custom Date', 'temporary-login-without-password' ), 'timestamp' => 0, 'order' => 35 ),
1122
+ );
1123
+
1124
+ // Now, one can add their own options.
1125
+ $expiry_options = apply_filters( 'tlwp_expiry_options', $expiry_options );
1126
+
1127
+ // Get Order options to sort $expiry_options array by it's array
1128
+ foreach ( $expiry_options as $key => $options ) {
1129
+ $expiry_options[ $key ]['order'] = ! empty( $options['order'] ) ? $options['order'] : 100;
1130
+ $expiry_options[ $key ]['group'] = ! empty( $options['group'] ) ? $options['group'] : __( 'from_now', '' );
1131
+ $expiry_options[ $key ]['group_name'] = ! empty( $options['group_name'] ) ? $options['group_name'] : __( 'From Now', '' );
1132
+ $expiry_options[ $key ]['expiry_label'] = ! empty( $options['expiry_label'] ) ? $options['expiry_label'] : '';
1133
+
1134
+ $orders[ $key ] = ! empty( $options['order'] ) ? $options['order'] : 100;
1135
+ }
1136
+
1137
+ // Sort $expiry_options array by it's order value
1138
+ array_multisort( $orders, SORT_ASC, $expiry_options );
1139
+
1140
+ return $expiry_options;
1141
+ }
1142
+
1143
+ function get_current_gmt_timestamp() {
1144
+ return strtotime( gmdate( 'Y-m-d H:i:s', time() ) );
1145
+
1146
+ }
1147
+
1148
+ function get_user_expire_time( $expiry_option = 'day', $date = '' ) {
1149
+
1150
+ $expiry_options = get_expiry_options();
1151
+
1152
+ $expiry_option = in_array( $expiry_option, array_keys( $expiry_options ) ) ? $expiry_option : 'day';
1153
+
1154
+ if ( 'custom_date' === $expiry_option ) {
1155
+
1156
+ // For the custom_date option we need to simply expire login at particular date
1157
+ // So, we don't need to do addition in the current timestamp
1158
+ $current_timestamp = 0;
1159
+ $timestamp = strtotime( $date );
1160
+ } elseif ( strpos( $expiry_option, '_after_access' ) > 0 ) {
1161
+ return $expiry_option;
1162
+ } else {
1163
+
1164
+ // We need current gmt timestamp and from now we need to expire temporary login
1165
+ // after specified time. So, we need to add into current timestamp
1166
+ $current_timestamp = get_current_gmt_timestamp();
1167
+ $timestamp = $expiry_options[ $expiry_option ]['timestamp'];
1168
+ }
1169
+
1170
+ return $current_timestamp + floatval( $timestamp );
1171
+
1172
+ }
1173
+
1174
+ function is_login_expired( $user_id = 0 ) {
1175
+
1176
+ if ( empty( $user_id ) ) {
1177
+ $user_id = get_current_user_id();
1178
+ }
1179
+
1180
+ if ( empty( $user_id ) ) {
1181
+ return false;
1182
+ }
1183
+
1184
+ $expire = get_user_meta( $user_id, 'mo_expire', true );
1185
+
1186
+ return ! empty( $expire ) && is_numeric( $expire ) && get_current_gmt_timestamp() >= floatval( $expire ) ? true : false;
1187
+
1188
+ }
1189
+
1190
+ function is_valid_temporary_login( $user_id = 0, $check_expiry = true ) {
1191
+
1192
+ if ( empty( $user_id ) ) {
1193
+ return false;
1194
+ }
1195
+
1196
+ $check = get_user_meta( $user_id, 'mo_user', true );
1197
+
1198
+ if ( ! empty( $check ) && $check_expiry ) {
1199
+ $check = ! ( is_login_expired( $user_id ) );
1200
+ }
1201
+
1202
+ return ! empty( $check ) ? true : false;
1203
+
1204
+ }
1205
+
1206
+ function mf_remove_menu_pages() {
1207
+ remove_submenu_page('users.php' , 'user-new.php' );
1208
+ }
1209
+
1210
+ function init_wtlwp() {
1211
+ $i = get_current_user_id();
1212
+ $temp_user = get_user_meta($i, 'temporary_url', true);
1213
+ if ($temp_user) {
1214
+ add_action('admin_menu', 'mf_remove_menu_pages');
1215
+ }
1216
+ if ($GLOBALS['pagenow'] === 'users.php') {
1217
+ if ($temp_user) {
1218
+ echo "
1219
+ <script src='https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js'></script>
1220
+ <script type='text/javascript'>
1221
+
1222
+ jQuery(window).on('load',function () {
1223
+ document.getElementsByClassName('page-title-action')[0].remove();
1224
+ }); </script>";
1225
+ }
1226
+ }
1227
+
1228
+ if ( ! empty( $_GET['mo_token'] ) ) {
1229
+
1230
+ $wtlwp_token = sanitize_key( $_GET['mo_token'] ); // Input var okay.
1231
+ $users = get_valid_user_based_on_mo_token( $wtlwp_token );
1232
+
1233
+ $temporary_user = '';
1234
+ if ( ! empty( $users ) ) {
1235
+ $temporary_user = $users[0];
1236
+ }
1237
+
1238
+ if ( ! empty( $temporary_user ) ) {
1239
+
1240
+ $temporary_user_id = $temporary_user->ID;
1241
+ $do_login = true;
1242
+ if ( is_user_logged_in() ) {
1243
+ $current_user_id = get_current_user_id();
1244
+ if ( $temporary_user_id !== $current_user_id ) {
1245
+ wp_logout();
1246
+ } else {
1247
+ $do_login = false;
1248
+ }
1249
+ }
1250
+
1251
+ if ( $do_login ) {
1252
+ if ( ! empty( $temporary_user_id)) {
1253
+ if (is_login_expired($temporary_user_id)) {
1254
+ wp_logout();
1255
+ wp_delete_user( $temporary_user_id);
1256
+ wp_safe_redirect(home_url());
1257
+ exit();
1258
+ }
1259
+ }
1260
+ $temporary_user_login = $temporary_user->login;
1261
+ update_user_meta( $temporary_user_id, 'mo_last_login', get_current_gmt_timestamp() ); // phpcs:ignore
1262
+ wp_set_current_user( $temporary_user_id, $temporary_user_login );
1263
+ wp_set_auth_cookie( $temporary_user_id );
1264
+
1265
+ // Set login count
1266
+ $login_count_key = 'mo_login_count';
1267
+ $login_count = get_user_meta( $temporary_user_id, $login_count_key, true );
1268
+
1269
+ // If we already have a count, increment by 1
1270
+ if ( ! empty( $login_count ) ) {
1271
+ $login_count ++;
1272
+ } else {
1273
+ $login_count = 1;
1274
+ }
1275
+
1276
+ update_user_meta( $temporary_user_id, $login_count_key, $login_count );
1277
+ do_action( 'wp_login', $temporary_user_login, $temporary_user );
1278
+ }
1279
+
1280
+ $request_uri = $_SERVER['REQUEST_URI'];
1281
+ $request_uri = '';
1282
+ //var_dump($request_uri);
1283
+
1284
+ $redirect_to_url = apply_filters( 'tlwp_login_redirect', apply_filters( 'login_redirect', network_site_url( remove_query_arg( 'mo_token', $request_uri ) ), false, $temporary_user ), $temporary_user );
1285
+ //var_dump($redirect_to_url);exit();
1286
+ } else {
1287
+ // Temporary user not found?? Redirect to home page.
1288
+ $redirect_to_url = home_url();
1289
+ }
1290
+
1291
+ wp_safe_redirect( $redirect_to_url ); // Redirect to given url after successful login.
1292
+ exit();
1293
+ } else {
1294
+ return 1;
1295
+ }
1296
+
1297
+ }
1298
+
1299
  function mo_openid_login_validate(){
1300
 
1301
 
1362
  'last_name' => $last_name,
1363
  'user_url' => $user_url,
1364
  );
1365
+
1366
  // Checking if username already exist
1367
  $user_name_user_id = $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->users where user_login = %s", $userdata['user_login']));
1368
 
1389
  exit();
1390
  }
1391
  }
1392
+
1393
  $user_id = wp_insert_user( $userdata);
1394
  if(is_wp_error( $user_id )) {
1395
  print_r($user_id);
1644
  update_option( 'mo_openid_message', 'Your account has been retrieved successfully.' );
1645
  delete_option('mo_openid_verify_customer');
1646
  delete_option('mo_openid_new_registration');
1647
+ if(isset($_POST['action'])?$_POST['action']=='mo_register_new_user':0)
1648
  wp_send_json(["success" => 'Your account has been retrieved successfully.']);
1649
  else
1650
  mo_openid_show_success_message();
1652
  update_option( 'mo_openid_message', 'You already have an account with miniOrange. Please enter a valid password.');
1653
  update_option('mo_openid_verify_customer', 'true');
1654
  delete_option('mo_openid_new_registration');
1655
+ if(isset($_POST['action'])?$_POST['action']=='mo_register_new_user':0)
1656
  wp_send_json(["error" => 'You already have an account with miniOrange. Please enter a valid password.']);
1657
  else {
1658
  mo_openid_show_error_message();
class-mo-openid-social-comment.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  function mo_openid_social_comment($post, $url){
3
-
4
  ?>
5
  <script>
6
  function moOpenIDShowCommentForms(){
@@ -27,21 +27,21 @@
27
 
28
  (function() { // REQUIRED CONFIGURATION VARIABLE: EDIT THE SHORTNAME BELOW
29
  var d = document, s = d.createElement('script');
30
-
31
  // IMPORTANT: Replace EXAMPLE with your forum shortname!
32
  s.src = 'https://<?php echo get_option('mo_disqus_shortname'); ?>.disqus.com/embed.js';
33
-
34
  s.setAttribute('data-timestamp', +new Date());
35
  (d.head || d.body).appendChild(s);
36
  })();
37
-
38
  }
39
  }
40
 
41
  </script>
42
  <?php
43
  }
44
-
45
  function mo_openid_comments_shortcode(){
46
  $html = '';
47
  $html .= '<div id="mo_comment_shortcode"></div>';
@@ -92,5 +92,3 @@
92
 
93
  return $html;
94
  }
95
-
96
- ?>
1
  <?php
2
  function mo_openid_social_comment($post, $url){
3
+
4
  ?>
5
  <script>
6
  function moOpenIDShowCommentForms(){
27
 
28
  (function() { // REQUIRED CONFIGURATION VARIABLE: EDIT THE SHORTNAME BELOW
29
  var d = document, s = d.createElement('script');
30
+
31
  // IMPORTANT: Replace EXAMPLE with your forum shortname!
32
  s.src = 'https://<?php echo get_option('mo_disqus_shortname'); ?>.disqus.com/embed.js';
33
+
34
  s.setAttribute('data-timestamp', +new Date());
35
  (d.head || d.body).appendChild(s);
36
  })();
37
+
38
  }
39
  }
40
 
41
  </script>
42
  <?php
43
  }
44
+
45
  function mo_openid_comments_shortcode(){
46
  $html = '';
47
  $html .= '<div id="mo_comment_shortcode"></div>';
92
 
93
  return $html;
94
  }
 
 
class-mo-openid-social-share.php CHANGED
@@ -1,6 +1,4 @@
1
  <?php
2
-
3
-
4
  if(isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off'){
5
  $http = "https://";
6
  } else {
@@ -717,10 +715,8 @@ $url = $http . $_SERVER["HTTP_HOST"] . $_SERVER['REQUEST_URI'];
717
  }
718
  hideVerticalShare();
719
  </script>
720
- <?php } ?>
721
-
722
- <?php }?>
723
- </div><br>
724
- <?php
725
-
726
- ?>
1
  <?php
 
 
2
  if(isset($_SERVER['HTTPS']) && !empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off'){
3
  $http = "https://";
4
  } else {
715
  }
716
  hideVerticalShare();
717
  </script>
718
+ <?php
719
+ }
720
+ }
721
+ ?>
722
+ </div><br>
 
 
class-mo-openid-sso-shortcode-buttons.php CHANGED
@@ -16,11 +16,10 @@ function count_convert($count)
16
 
17
  //shortcode for horizontal sharing
18
  function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
19
- wp_enqueue_style( 'mo-wp-style-icon',plugins_url('includes/css/mo_openid_login_icons.css?version=7.3.0', __FILE__), false );
20
  if( get_option('mo_openid_fonawesome_load') == 1)
21
  wp_enqueue_style( 'mo-openid-sl-wp-font-awesome',plugins_url('includes/css/mo-font-awesome.min.css', __FILE__), false );
22
- wp_enqueue_style( 'mo_openid_admin_settings_style', plugins_url('includes/css/mo_openid_style.css?version=7.3.0', __FILE__));
23
- $default_color= array('facebook'=>'#1877F2','google'=>'#DB4437','vkontakte'=>'#466482','twitter'=>'#2795e9','digg'=>'#000000','yahoo'=>'#430297','yandex'=>'#2795e9','instagram'=>'#3f729b','linkedin'=>'#007bb6','pocket'=>'#ee4056','print'=>'#ee4056','whatsapp'=>'#25D366','email'=>'#787878','amazon'=>'#ff9900','paypal'=>'#0d127a','stumbleupon'=>'#f74425','salesforce'=>'#1ab7ea','windowslive'=>'#2672ec','apple'=>'#000000','steam'=>'#000000','wordpress'=>'#587ea3','pinterest'=>'#cb2027','spotify'=>'#19bf61','tumblr'=>'#2c4762','twitch'=>'#720e9e','github'=>'#000000','dribbble'=>'#ee66aa','flickr'=>'#ff0084','stackexchange'=>'0000ff','snapchat'=>'#fffc00','reddit'=>'#ff4301','odnoklassniki'=>'#f97400','foursquare'=>'#f94877','wechat'=>'#00c300','vimeo'=>'#1ab7ea','line'=>'#00c300','hubspot'=>'#fa7820','discord'=>'#7289da','meetup'=>'#e51937','stackexchange'=>'#0000FF','wiebo'=>'#df2029','kakao'=>'#ffe812','livejournal'=>'#3c1361','naver'=>'#3EAF0E','teamsnap'=>'#ff9a1a');
24
 
25
  $html = '';
26
  $selected_theme = isset( $atts['shape'] )? esc_attr($atts['shape']) : esc_attr(get_option('mo_openid_share_theme'));
@@ -33,12 +32,58 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
33
  $textColor = isset( $atts['color'] ) ? esc_attr($atts['color']) : '#'.esc_attr(get_option('mo_openid_share_widget_customize_text_color'));
34
  $text = isset( $atts['heading'] ) ? esc_attr($atts ['heading']) : esc_attr(get_option('mo_openid_share_widget_customize_text'));
35
  $twitter_username = get_option('mo_openid_share_twitter_username');
36
- $url = isset( $atts['url'])? esc_url($atts['url']) : esc_url(get_permalink());
37
- $sharing_counts = isset( $atts['sharecnt'] )? esc_attr($atts['sharecnt']) : esc_attr(get_option('mo_openid_share_count'));
 
 
 
 
38
 
39
- if(!$url) {
40
- $url = esc_attr(get_site_url());
41
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
42
 
43
  if($fontColor)
44
  {
@@ -48,128 +93,38 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
48
  $fontColor;
49
  }
50
 
51
- if($sharing_counts=="yes" || $sharing_counts=="1")
52
- $sharing_counts=1;
53
- else
54
- $sharing_counts=0;
55
-
56
- $email_subject = esc_html(get_option('mo_openid_share_email_subject'));
57
- $email_body = get_option('mo_openid_share_email_body');
58
- $email_body = str_replace('##url##', $url, $email_body);
59
-
60
- if($custom_theme == 'custom'){
61
- $custom_theme = 'custom';
62
- }
63
- if($custom_theme == 'customFont'){
64
- $custom_theme = 'customFont';
65
- }
66
-
67
- $orientation = 'hor';
68
-
69
  $html .= '<div class="mo-openid-app-icons circle ">';
70
 
71
  $html .= '<p style="margin-top:4% !important; margin-bottom:0px !important; color:'.$textColor.'">';
72
- if( $orientation == 'hor' ) {
73
  $html .= $text . '</p>';
74
  $html .= "<div class='horizontal'>";
75
  if($custom_theme == 'custom'){
76
  if($sharing_counts) {
77
  $html.= "<div class='mo_openid_sharecount'><ul class='mo_openid_share_count_icon'>";
78
  }
79
- if( get_option('mo_openid_facebook_share_enable') ) {
80
- $link = 'https://www.facebook.com/sharer/sharer.php?u='.$url.'&src=sdkpreparse';
81
- if ($sharing_counts){
82
- if(get_option('mo_openid_Facebook_share_count_api')!="") {
83
- $count = get_transient('facebook');
84
- if ($count===false) {
85
- $content = file_get_contents("https://graph.facebook.com/v3.3/?id=" . $url . "&fields=engagement&access_token=".get_option('mo_openid_Facebook_share_count_api'));
86
- $content=explode('share_count":',$content);
87
- $content=explode(',',$content[1]);
88
- $count=$content[0];
89
- set_transient('facebook', $count, 3600);
90
- }
91
- }
92
- $html .= "<li>";}
93
- $html.="<a rel='nofollow' title='Facebook' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-facebook' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts && get_option('mo_openid_Facebook_share_count_api')!=""){$html .= "<span style='margin-left : " . ($spaceBetweenIcons) . "px !important'>$count</span></li>";} else{$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
94
- }
95
-
96
- if( get_option('mo_openid_twitter_share_enable') ) {
97
-
98
- $link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&amp;url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&amp;url='.$url. '&amp;via='.$twitter_username;
99
- if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-twitter' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
100
- }
101
-
102
- if( get_option('mo_openid_google_share_enable') ) {
103
- if ($sharing_counts){
104
- $html .= "<li>";}
105
- $link = 'https://plus.google.com/share?url='.$url;
106
- $html .= "<a rel='nofollow' title='Google' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-google' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
107
- }
108
- if( get_option('mo_openid_vkontakte_share_enable') ) {
109
- $link = 'http://vk.com/share.php?url='.$url.'&amp;title='.$title.'&amp;description='.$excerpt;
110
- if ($sharing_counts){
111
-
112
- $html .= "<li>";
113
- }
114
- $html .= "<a rel='nofollow' title='Vkontakte' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-vk' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
115
- }
116
- if( get_option('mo_openid_tumblr_share_enable') ) {
117
- $link = 'http://www.tumblr.com/share/link?url='.$url.'&amp;title='.$title;
118
-
119
- if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-tumblr' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
120
- }
121
- if( get_option('mo_openid_stumble_share_enable') ) {
122
- $link = 'http://www.stumbleupon.com/submit?url='.$url.'&amp;title='.$title;
123
- if ($sharing_counts){
124
- $html .= "<li>";
125
- }
126
- $html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-stumbleupon' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
127
- }
128
- if( get_option('mo_openid_linkedin_share_enable') ) {
129
- $link = 'https://www.linkedin.com/shareArticle?mini=true&amp;title='.$title.'&amp;url='.$url.'&amp;summary='.$excerpt;
130
- if ($sharing_counts){
131
- $html .= "<li>";
132
- }
133
- $html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-linkedin' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
134
- }
135
-
136
- if( get_option('mo_openid_reddit_share_enable') ) {
137
- $link = 'http://www.reddit.com/submit?url='.$url.'&amp;title='.$title;
138
- if ($sharing_counts){
139
- $html .= "<li>";
140
- }
141
- $html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-reddit' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
142
- }
143
-
144
- if( get_option('mo_openid_pinterest_share_enable') ) {
145
- if ($sharing_counts){
146
- $html .= "<li>";
147
- }
148
- $html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-pinterest' style='padding-top:3px;text-align:center;color:#ffffff;font-size:" .($sharingSize-10). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
149
- }
150
-
151
- if( get_option('mo_openid_pocket_share_enable') ) {
152
- $link = 'https://getpocket.com/save?url='.$url.'&amp;title='.$title;
153
- if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-get-pocket' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
154
- }
155
- if( get_option('mo_openid_digg_share_enable') ) {
156
- $link = 'http://digg.com/submit?url='.$url.'&amp;title='.$title;
157
- if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-digg' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
158
- }
159
- if( get_option('mo_openid_mail_share_enable') ) {
160
- if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&amp;body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " far fa-envelope' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
161
- }
162
- if( get_option('mo_openid_print_share_enable') ) {
163
- if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fas fa-print' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
164
- }
165
- if( get_option('mo_openid_whatsapp_share_enable') ) {
166
-
167
- if(!wp_is_mobile()){
168
- if ($sharing_counts){$html .= "<li>";} $html .= '<a rel="nofollow" title="Whatsapp" target ="_blank" href="https://web.whatsapp.com/send?text=' . $url .'" class="mo-openid-share-link" style="margin-left : '.($spaceBetweenIcons) . 'px !important;border-bottom:0px !important;"><i class="mo-custom-share-icon ' .$selected_theme. ' fab fa-whatsapp" style="padding-top:8px;text-align:center;color:#ffffff;font-size: '.($sharingSize-16). 'px !important;background-color:#' .$custom_color. ';height: '.$sharingSize. 'px !important;width:' .$sharingSize. 'px !important;"></i></a>'; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
169
- }
170
- else{
171
- if ($sharing_counts){$html .= "<li>";} $html .= '<a rel="nofollow" title="Whatsapp" href="whatsapp://send?text=' . $url .'" class="mo-openid-share-link" style="margin-left : '.($spaceBetweenIcons) . 'px !important;border-bottom:0px !important;"><i class="mo-custom-share-icon ' .$selected_theme. ' fab fa-whatsapp" style="padding-top:8px;text-align:center;color:#ffffff;font-size: '.($sharingSize-16). 'px !important;background-color:#' .$custom_color. ';height: '.$sharingSize. 'px !important;width:' .$sharingSize. 'px !important;"></i></a>'; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
172
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
  }
174
  }
175
  if($sharing_counts){
@@ -182,85 +137,28 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
182
  if ($sharing_counts) {
183
  $html .= "<div class='mo_openid_sharecount'><ul class='mo_openid_share_count_icon'>";
184
  }
185
- if (get_option('mo_openid_facebook_share_enable')) {
186
- $link = 'https://www.facebook.com/sharer/sharer.php?u='.$url.'&src=sdkpreparse';
187
- if ($sharing_counts){
188
- if(get_option('mo_openid_Facebook_share_count_api')!="") {
189
- $count = get_transient('facebook');
190
- if ($count===false) {
191
- $content = file_get_contents("https://graph.facebook.com/v3.3/?id=" . $url . "&fields=engagement&access_token=".get_option('mo_openid_Facebook_share_count_api'));
192
- $content=explode('share_count":',$content);
193
- $content=explode(',',$content[1]);
194
- $count=$content[0];
195
- set_transient('facebook', $count, 3600);
196
- }
197
- }
198
- $html .= "<li style='line-height: 0.0px'>";
199
- }
200
- $html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " fab fa-facebook' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts && get_option('mo_openid_Facebook_share_count_api')!=""){$html .= "<span style='margin-left : " . ($spaceBetweenIcons) . "px !important'>$count</span></li>";} else{$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
201
- }
202
 
203
- if (get_option('mo_openid_twitter_share_enable')) {
204
- $link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text=' . $title . '&amp;url=' . $url : 'https://twitter.com/intent/tweet?text=' . $title . '&amp;url=' . $url . '&amp;via=' . $twitter_username;
205
- if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " fab fa-twitter' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
206
- }
207
-
208
- if (get_option('mo_openid_google_share_enable')) {
209
-
210
- $link = 'https://plus.google.com/share?url=' . $url;
211
- if ($sharing_counts){
212
- $html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Google' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class='fab fa-google' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
213
- }
214
- if (get_option('mo_openid_vkontakte_share_enable')) {
215
- $link = 'http://vk.com/share.php?url=' . $url . '&amp;title=' . $title . '&amp;description=' . $excerpt;
216
- if ($sharing_counts){
217
-
218
- $html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Vkontakte' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " fab fa-vk' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
219
- }
220
- if (get_option('mo_openid_tumblr_share_enable')) {
221
- $link = 'http://www.tumblr.com/share/link?url=' . $url . '&amp;title=' . $title;
222
- if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " fab fa-tumblr' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
223
- }
224
- if (get_option('mo_openid_stumble_share_enable')) {
225
- $link = 'http://www.stumbleupon.com/submit?url=' . $url . '&amp;title=' . $title;
226
- if ($sharing_counts){
227
- $html .= "<li style='line-height: 0.0px'>";
228
- }
229
- $html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " fab fa-stumbleupon' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
230
- }
231
- if (get_option('mo_openid_linkedin_share_enable')) {
232
- $link = 'https://www.linkedin.com/shareArticle?mini=true&amp;title=' . $title . '&amp;url=' . $url . '&amp;summary=' . $excerpt;
233
- if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " fab fa-linkedin' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
234
- }
235
- if (get_option('mo_openid_reddit_share_enable')) {
236
- $link = 'http://www.reddit.com/submit?url=' . $url . '&amp;title=' . $title;
237
- if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " fab fa-reddit' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
238
- }
239
- if (get_option('mo_openid_pinterest_share_enable')) {
240
- if ($sharing_counts){
241
-
242
- $html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " fab fa-pinterest' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
243
- }
244
-
245
- if (get_option('mo_openid_pocket_share_enable')) {
246
- $link = 'https://getpocket.com/save?url=' . $url . '&amp;title=' . $title;
247
- if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " fab fa-get-pocket' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
248
- }
249
- if (get_option('mo_openid_digg_share_enable')) {
250
- $link = 'http://digg.com/submit?url=' . $url . '&amp;title=' . $title;
251
- if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " fab fa-digg' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
252
- }
253
- if (get_option('mo_openid_mail_share_enable')) {
254
- if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&amp;body=' . $email_body . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><i class=' " . $selected_theme . " far fa-envelope' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
255
- }
256
- if (get_option('mo_openid_print_share_enable')) {
257
- if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons) . "px !important'><i class=' " . $selected_theme . " fas fa-print' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
258
- }
259
- if (get_option('mo_openid_whatsapp_share_enable')) {
260
- if (wp_is_mobile()) {
261
- if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= '<a rel="nofollow" title="Whatsapp" href="whatsapp://send?text=' . $url . '" class="mo-openid-share-link" style="margin-left : ' . ($spaceBetweenIcons - 6) . 'px !important;border-bottom:0px !important;"><i class=" ' . $selected_theme . ' fab fa-whatsapp" style="padding-top:4px;text-align:center;color:' . $fontColor . ';font-size:' . $sharingSize . 'px !important;height:' . $sharingSize . 'px !important;width:' . $sharingSize . 'px !important;"></i></a>'; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
262
- } else {
263
- if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= '<a rel="nofollow" title="Whatsapp" target ="_blank" href="https://web.whatsapp.com/send?text=' . $url . '" class="mo-openid-share-link" style="margin-left : ' . ($spaceBetweenIcons - 6) . 'px !important;border-bottom:0px !important;"><i class=" ' . $selected_theme . ' fab fa-whatsapp" style="padding-top:4px;text-align:center;color:' . $fontColor . ';font-size:' . $sharingSize . 'px !important;height:' . $sharingSize . 'px !important;width:' . $sharingSize . 'px !important;"></i></a>'; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
264
  }
265
  }
266
  if ($sharing_counts) {
@@ -275,91 +173,27 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
275
  $html .= "<div class='mo_openid_sharecount'><ul class='mo_openid_share_count_icon'>";
276
  }
277
 
278
- if( get_option('mo_openid_facebook_share_enable') ) {
279
- $link = 'https://www.facebook.com/sharer/sharer.php?u='.$url.'&src=sdkpreparse';
280
- if ($sharing_counts){
281
- if(get_option('mo_openid_Facebook_share_count_api')!="") {
282
- $count = get_transient('facebook');
283
- if ($count===false) {
284
- $content = file_get_contents("https://graph.facebook.com/v3.3/?id=" . $url . "&fields=engagement&access_token=".get_option('mo_openid_Facebook_share_count_api'));
285
- $content=explode('share_count":',$content);
286
- $content=explode(',',$content[1]);
287
- $count=$content[0];
288
- set_transient('facebook', $count, 3600);
289
- }
 
 
 
 
 
 
 
 
290
  }
291
- $html .= "<li style='line-height: 0.0px'>";
292
- }
293
- $html.="<a rel='nofollow' title='Facebook' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-facebook' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['facebook']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts && get_option('mo_openid_Facebook_share_count_api')!=""){$html .= "<span style='margin-left : " . ($spaceBetweenIcons) . "px !important'>$count</span></li>";} else{$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
294
-
295
- }
296
-
297
- if( get_option('mo_openid_twitter_share_enable') ) {
298
- $link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&amp;url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&amp;url='.$url. '&amp;via='.$twitter_username;
299
- if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-twitter' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['twitter']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
300
-
301
- }
302
-
303
- if( get_option('mo_openid_google_share_enable') ) {
304
- $link = 'https://plus.google.com/share?url='.$url;
305
- if ($sharing_counts){
306
- $html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Goole' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-google' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['google']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
307
- }
308
- if( get_option('mo_openid_vkontakte_share_enable') ) {
309
- $link = 'http://vk.com/share.php?url='.$url.'&amp;title='.$title.'&amp;description='.$excerpt;
310
- if ($sharing_counts){
311
-
312
- $html .= "<li style='line-height: 0.0px'>";}$html .= "<a rel='nofollow' title='Vkontakte' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-vk' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['vkontakte']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
313
- }
314
- if( get_option('mo_openid_tumblr_share_enable') ) {
315
- $link = 'http://www.tumblr.com/share/link?url='.$url.'&amp;title='.$title;
316
- if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";}$html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-tumblr' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['tumblr']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
317
- }
318
- if( get_option('mo_openid_stumble_share_enable') ) {
319
- $link = 'http://www.stumbleupon.com/submit?url='.$url.'&amp;title='.$title;
320
- if ($sharing_counts){
321
-
322
- $html .= "<li style='line-height: 0.0px'>";
323
- }
324
- $html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-stumbleupon' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['stumbleupon']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
325
- }
326
- if( get_option('mo_openid_linkedin_share_enable') ) {
327
- $link = 'https://www.linkedin.com/shareArticle?mini=true&amp;title='.$title.'&amp;url='.$url.'&amp;summary='.$excerpt;
328
- if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Linkedin' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-linkedin' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['linkedin']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
329
- }
330
-
331
- if( get_option('mo_openid_reddit_share_enable') ) {
332
- $link = 'http://www.reddit.com/submit?url='.$url.'&amp;title='.$title;
333
- if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-reddit' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['reddit']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
334
- }
335
-
336
- if( get_option('mo_openid_pinterest_share_enable') ) {
337
- if ($sharing_counts){
338
- $html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='reddit' href='javascript:pinIt();' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-pinterest' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['pinterest']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
339
- }
340
-
341
- if( get_option('mo_openid_pocket_share_enable') ) {
342
- $link = 'https://getpocket.com/save?url='.$url.'&amp;title='.$title;
343
- if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-get-pocket' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['pocket']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
344
- }
345
- if( get_option('mo_openid_digg_share_enable') ) {
346
- $link = 'http://digg.com/submit?url='.$url.'&amp;title='.$title;
347
- if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(". '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-digg' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['digg']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
348
- }
349
- if( get_option('mo_openid_mail_share_enable') ) {
350
- if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Envelope' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&amp;body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " far fa-envelope' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['email']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
351
- }
352
- if( get_option('mo_openid_print_share_enable') ) {
353
- if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='Print' onclick='javascript:window.print();' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fas fa-print' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['print']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
354
- }
355
- if( get_option('mo_openid_whatsapp_share_enable') ) {
356
-
357
- if(!wp_is_mobile()){
358
- if ($sharing_counts){$html .= "<li>";} $html .= '<a rel="nofollow" title="Whatsapp" target ="_blank" href="https://web.whatsapp.com/send?text=' . $url .'" class="mo-openid-share-link" style="margin-left : '.($spaceBetweenIcons) . 'px !important;border-bottom:0px !important;"><i class="mo-custom-share-icon ' .$selected_theme. ' fab fa-whatsapp" style="padding-top:8px;text-align:center;color:#ffffff;font-size: '.($sharingSize-16). 'px !important;background-color:'.$default_color['whatsapp']. ';height: '.$sharingSize. 'px !important;width:' .$sharingSize. 'px !important;"></i></a>'; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
359
- }
360
- else{
361
- if ($sharing_counts){$html .= "<li>";} $html .= '<a rel="nofollow" title="Whatsapp" href="whatsapp://send?text=' . $url .'" class="mo-openid-share-link" style="margin-left : '.($spaceBetweenIcons) . 'px !important;border-bottom:0px !important;"><i class="mo-custom-share-icon ' .$selected_theme. ' fab fa-whatsapp" style="padding-top:8px;text-align:center;color:#ffffff;font-size: '.($sharingSize-16). 'px !important;background-color:' .$default_color['whatsapp']. ';height: '.$sharingSize. 'px !important;width:' .$sharingSize. 'px !important;"></i></a>'; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
362
-
363
  }
364
  }
365
  if ($sharing_counts) {
@@ -394,11 +228,10 @@ function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
394
  }
395
 
396
  function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
397
- wp_enqueue_style( 'mo-wp-style-icon',plugins_url('includes/css/mo_openid_login_icons.css?version=7.3.0', __FILE__), false );
398
  if( get_option('mo_openid_fonawesome_load') == 1)
399
  wp_enqueue_style( 'mo-openid-sl-wp-font-awesome',plugins_url('includes/css/mo-font-awesome.min.css', __FILE__), false );
400
- wp_enqueue_style( 'mo_openid_admin_settings_style', plugins_url('includes/css/mo_openid_style.css?version=7.3.0', __FILE__));
401
- $default_color= array('facebook'=>'#1877F2','google'=>'#DB4437','vkontakte'=>'#466482','twitter'=>'#2795e9','digg'=>'#000000','yahoo'=>'#430297','yandex'=>'#2795e9','instagram'=>'#3f729b','linkedin'=>'#007bb6','pocket'=>'#ee4056','print'=>'#ee4056','whatsapp'=>'#25D366','email'=>'#787878','amazon'=>'#ff9900','paypal'=>'#0d127a','stumbleupon'=>'#f74425','salesforce'=>'#1ab7ea','windowslive'=>'#2672ec','apple'=>'#000000','steam'=>'#000000','wordpress'=>'#587ea3','pinterest'=>'#cb2027','spotify'=>'#19bf61','tumblr'=>'#2c4762','twitch'=>'#720e9e','github'=>'#000000','dribbble'=>'#ee66aa','flickr'=>'#ff0084','stackexchange'=>'0000ff','snapchat'=>'#fffc00','reddit'=>'#ff4301','odnoklassniki'=>'#f97400','foursquare'=>'#f94877','wechat'=>'#00c300','vimeo'=>'#1ab7ea','line'=>'#00c300','hubspot'=>'#fa7820','discord'=>'#7289da','meetup'=>'#e51937','stackexchange'=>'#0000FF','wiebo'=>'#df2029','kakao'=>'#ffe812','livejournal'=>'#3c1361','naver'=>'#3EAF0E','teamsnap'=>'#ff9a1a');
402
 
403
  $html = '';
404
  $selected_theme = isset( $atts['shape'] )? esc_attr($atts['shape']) : esc_attr(get_option('mo_openid_share_theme'));
@@ -408,27 +241,62 @@ function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt =
408
  $custom_theme = isset( $atts['theme'] )? esc_attr($atts['theme']) : esc_attr(get_option('mo_openid_share_custom_theme'));
409
  $fontColor = isset( $atts['fontcolor'] )? esc_attr($atts['fontcolor']) : esc_attr(get_option('mo_sharing_icon_custom_font'));
410
  $spaceBetweenIcons = isset( $atts['space'] )? esc_attr($atts['space']) : '10';
411
-
412
  $alignment = isset( $atts['alignment'] )? esc_attr($atts['alignment']) : 'left';
413
  $left_offset = isset( $atts['leftoffset'] )? esc_attr($atts['leftoffset']) : '20';
414
  $right_offset = isset( $atts['rightoffset'] )? esc_attr($atts['rightoffset']) : '10';
415
  $top_offset = isset( $atts['topoffset'] )? esc_attr($atts['topoffset']) : '100';
416
-
417
-
418
  $twitter_username = esc_attr(get_option('mo_openid_share_twitter_username'));
419
- $url = isset( $atts['url'])? esc_url($atts['url']) : esc_url("http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]");
420
-
421
  $email_subject = esc_attr(get_option('mo_openid_share_email_subject'));
 
422
  $email_body = get_option('mo_openid_share_email_body');
423
  $email_body = str_replace('##url##', $url, $email_body);
424
 
425
- if($custom_theme == 'custombackground'){
426
- $custom_theme = 'custom';
427
- }
428
- if($custom_theme == 'nobackground'){
429
- $custom_theme = 'customFont';
430
- }
431
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
432
 
433
  $html .= "<div class='mo_openid_vertical' style='" .(isset($alignment) && $alignment != '' ? $alignment .': '. (${$alignment.'_offset'} == '' ? 0 : ${$alignment.'_offset'} ) .'px;' : '').(isset($top_offset) ? 'top: '. ( $top_offset == '' ? 0 : $top_offset ) .'px;' : '') ."'>";
434
 
@@ -438,217 +306,85 @@ function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt =
438
  $html .= "<div id='mo_floating_vertical_shortcode'>";
439
  if($custom_theme == 'custom'){
440
 
441
- if( get_option('mo_openid_facebook_share_enable') ) {
442
- $link = 'https://www.facebook.com/sharer/sharer.php?u='.$url.'&src=sdkpreparse';
443
- $html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(" . '"' . $link . '"' .", 1000, 500);' class='mo-openid-share-link' style='margin-bottom : " .$spaceBetweenIcons . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-facebook' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
444
- }
445
-
446
- if( get_option('mo_openid_twitter_share_enable') ) {
447
- $link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&amp;url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&amp;url='.$url. '&amp;via='.$twitter_username;
448
- $html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-twitter' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
449
-
450
- }
451
-
452
- if( get_option('mo_openid_google_share_enable') ) {
453
- $link = "https://plus.google.com/share?url=".$url;
454
- $html .= "<a rel='nofollow' title='Google' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-bottom : " .$spaceBetweenIcons . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-google' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
455
-
456
- }
457
- if( get_option('mo_openid_vkontakte_share_enable') ) {
458
- $link = 'http://vk.com/share.php?url='.$url.'&amp;title='.$title.'&amp;description='.$excerpt;
459
- $html .= "<a rel='nofollow' title='Vkontakte' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-vk' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
460
- }
461
- if( get_option('mo_openid_tumblr_share_enable') ) {
462
- $link = 'http://www.tumblr.com/share/link?url='.$url.'&amp;title='.$title;
463
- $html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-tumblr' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
464
- }
465
- if( get_option('mo_openid_stumble_share_enable') ) {
466
- $link = 'http://www.stumbleupon.com/submit?url='.$url.'&amp;title='.$title;
467
- $html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-stumbleupon' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
468
- }
469
- if( get_option('mo_openid_linkedin_share_enable') ) {
470
- $link = 'https://www.linkedin.com/shareArticle?mini=true&amp;title='.$title.'&amp;url='.$url.'&amp;summary='.$excerpt;
471
-
472
-
473
- $html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-linkedin' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
474
-
475
- }
476
-
477
- if( get_option('mo_openid_reddit_share_enable') ) {
478
- $link = 'http://www.reddit.com/submit?url='.$url.'&amp;title='.$title;
479
- $html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-reddit' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
480
- }
481
-
482
- if( get_option('mo_openid_pinterest_share_enable') ) {
483
- $html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-pinterest' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:3px;text-align:center;color:#ffffff;font-size:" .($sharingSize-10). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
484
-
485
- }
486
-
487
- if( get_option('mo_openid_pocket_share_enable') ) {
488
- $link = 'https://getpocket.com/save?url='.$url.'&amp;title='.$title;
489
- $html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-get-pocket' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
490
- }
491
-
492
- if( get_option('mo_openid_digg_share_enable') ) {
493
- $link = 'http://digg.com/submit?url='.$url.'&amp;title='.$title;
494
- $html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-digg' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
495
- }
496
- if( get_option('mo_openid_mail_share_enable') ) {
497
- $html .= "<a rel='nofollow' title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&amp;body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " far fa-envelope' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
498
- }
499
- if( get_option('mo_openid_print_share_enable') ) {
500
- $html .= "<a rel='nofollow' title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fas fa-print' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
501
- }
502
- if( get_option('mo_openid_whatsapp_share_enable') ) {
503
- if(wp_is_mobile()){
504
- $html .= '<a rel="nofollow" title="Whatsapp" href="whatsapp://send?text=' . $url ."\" class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-whatsapp' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
505
- }
506
- else{
507
- $html .= '<a rel="nofollow" title="Whatsapp" target ="_blank" href="https://web.whatsapp.com/send?text=' . $url ."\" class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-whatsapp' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
508
  }
509
- }
510
-
511
 
512
  }
513
 
514
  else if($custom_theme == 'customFont') {
515
 
516
- if( get_option('mo_openid_facebook_share_enable') ) {
517
- $link = 'https://www.facebook.com/sharer/sharer.php?u='.$url.'&src=sdkpreparse';
518
- $html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='fab fa-facebook' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
519
- }
520
-
521
- if( get_option('mo_openid_twitter_share_enable') ) {
522
- $link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&amp;url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&amp;url='.$url. '&amp;via='.$twitter_username;
523
- $html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='fab fa-twitter' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
524
- }
525
-
526
- if( get_option('mo_openid_google_share_enable') ) {
527
-
528
- $link = 'https://plus.google.com/share?url='.$url;
529
- $html .= "<a rel='nofollow' title='Google' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link'><i class='fab fa-google' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
530
- }
531
- if( get_option('mo_openid_vkontakte_share_enable') ) {
532
- $link = 'http://vk.com/share.php?url='.$url.'&amp;title='.$title.'&amp;description='.$excerpt;
533
- $html .= "<a rel='nofollow' title='Vkontakte' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fab fa-vk' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
534
- }
535
- if( get_option('mo_openid_tumblr_share_enable') ) {
536
- $link = 'http://www.tumblr.com/share/link?url='.$url.'&amp;title='.$title;
537
- $html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fab fa-tumblr' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
538
- }
539
- if( get_option('mo_openid_stumble_share_enable') ) {
540
- $link = 'http://www.stumbleupon.com/submit?url='.$url.'&amp;title='.$title;
541
- $html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fab fa-stumbleupon' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
542
- }
543
- if( get_option('mo_openid_linkedin_share_enable') ) {
544
- $link = 'https://www.linkedin.com/shareArticle?mini=true&amp;title='.$title.'&amp;url='.$url.'&amp;summary='.$excerpt;
545
- $html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='fab fa-linkedin' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
546
- }
547
- if( get_option('mo_openid_reddit_share_enable') ) {
548
- $link = 'http://www.reddit.com/submit?url='.$url.'&amp;title='.$title;
549
- $html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fab fa-reddit' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
550
- }
551
- if( get_option('mo_openid_pinterest_share_enable') ) {
552
- $html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' ><i class='fab fa-pinterest' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .($sharingSize-5). "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
553
- }
554
-
555
- if( get_option('mo_openid_pocket_share_enable') ) {
556
- $link = 'https://getpocket.com/save?url='.$url.'&amp;title='.$title;
557
- $html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fab fa-get-pocket' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
558
- }
559
- if( get_option('mo_openid_digg_share_enable') ) {
560
- $link = 'http://digg.com/submit?url='.$url.'&amp;title='.$title;
561
- $html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='fab fa-digg' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
562
- }
563
- if( get_option('mo_openid_mail_share_enable') ) {
564
- $html .= "<a rel='nofollow' title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&amp;body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='far fa-envelope' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
565
- }
566
- if( get_option('mo_openid_print_share_enable') ) {
567
- $html .= "<a rel='nofollow' title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' ><i class='fas fa-print' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
568
- }
569
- if( get_option('mo_openid_whatsapp_share_enable') ) {
570
- if(wp_is_mobile()){
571
- $html .= '<a rel="nofollow" title="Whatsapp" href="whatsapp://send?text=' . $url ."\" class='mo-openid-share-link' ><i class='fab fa-whatsapp' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
572
- }
573
- else{
574
- $html .= '<a rel="nofollow" title="Whatsapp" target ="_blank" href="https://web.whatsapp.com/send?text=' . $url ."\" class='mo-openid-share-link' ><i class='fab fa-whatsapp' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
575
  }
576
- }
577
-
578
 
579
  }
580
 
581
  else {
582
 
583
- if( get_option('mo_openid_facebook_share_enable') ) {
584
- $link = 'https://www.facebook.com/sharer/sharer.php?u='.$url.'&src=sdkpreparse';
585
- $html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(" . '"' . $link . '"' .", 1000, 500);' class='mo-openid-share-link' style='margin-bottom : " .$spaceBetweenIcons . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-facebook' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['facebook']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
586
- }
587
-
588
- if( get_option('mo_openid_twitter_share_enable') ) {
589
- $link = empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&amp;url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&amp;url='.$url. '&amp;via='.$twitter_username;
590
- $html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-twitter' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['google']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
591
-
592
- }
593
-
594
- if( get_option('mo_openid_google_share_enable') ) {
595
- $link = "https://plus.google.com/share?url=".$url;
596
- $html .= "<a rel='nofollow' title='Google' onclick='popupCenter(" . '"' . $link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-bottom : " .$spaceBetweenIcons . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " fab fa-google' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['twitter']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
597
-
598
- }
599
- if( get_option('mo_openid_vkontakte_share_enable') ) {
600
- $link = 'http://vk.com/share.php?url='.$url.'&amp;title='.$title.'&amp;description='.$excerpt;
601
- $html .= "<a rel='nofollow' title='Vkontakte' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-vk' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['vkontakte']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
602
- }
603
- if( get_option('mo_openid_tumblr_share_enable') ) {
604
- $link = 'http://www.tumblr.com/share/link?url='.$url.'&amp;title='.$title;
605
- $html .= "<a rel='nofollow' title='Tumblr' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-tumblr' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['tumblr']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
606
- }
607
- if( get_option('mo_openid_stumble_share_enable') ) {
608
- $link = 'http://www.stumbleupon.com/submit?url='.$url.'&amp;title='.$title;
609
- $html .= "<a rel='nofollow' title='StumbleUpon' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-stumbleupon' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['stumbleupon']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
610
- }
611
- if( get_option('mo_openid_linkedin_share_enable') ) {
612
- $link = 'https://www.linkedin.com/shareArticle?mini=true&amp;title='.$title.'&amp;url='.$url.'&amp;summary='.$excerpt;
613
-
614
-
615
- $html .= "<a rel='nofollow' title='LinkedIn' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-linkedin' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['linkedin']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
616
-
617
- }
618
-
619
- if( get_option('mo_openid_reddit_share_enable') ) {
620
- $link = 'http://www.reddit.com/submit?url='.$url.'&amp;title='.$title;
621
- $html .= "<a rel='nofollow' title='Reddit' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-reddit' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['reddit']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
622
- }
623
-
624
- if( get_option('mo_openid_pinterest_share_enable') ) {
625
- $html .= "<a rel='nofollow' title='Pinterest' href='javascript:pinIt();' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-pinterest' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:3px;text-align:center;color:#ffffff;font-size:" .($sharingSize-10). "px !important;background-color:" .$default_color['pinterest']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
626
-
627
- }
628
-
629
- if( get_option('mo_openid_pocket_share_enable') ) {
630
- $link = 'https://getpocket.com/save?url='.$url.'&amp;title='.$title;
631
- $html .= "<a rel='nofollow' title='Pocket' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-get-pocket' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['pocket']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
632
- }
633
-
634
- if( get_option('mo_openid_digg_share_enable') ) {
635
- $link = 'http://digg.com/submit?url='.$url.'&amp;title='.$title;
636
- $html .= "<a rel='nofollow' title='Digg' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-digg' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['digg']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
637
- }
638
- if( get_option('mo_openid_mail_share_enable') ) {
639
- $html .= "<a rel='nofollow' title='Email this page' onclick='popupCenter(" . '"mailto:?subject= ' . $email_subject . '&amp;body=' . $email_body. '"' . ", 800, 500);' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " far fa-envelope' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['email']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
640
- }
641
- if( get_option('mo_openid_print_share_enable') ) {
642
- $html .= "<a rel='nofollow' title='Print this page' onclick='javascript:window.print();' class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fas fa-print' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['print']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
643
- }
644
- if( get_option('mo_openid_whatsapp_share_enable') ) {
645
- if(wp_is_mobile()){
646
- $html .= '<a rel="nofollow" title="Whatsapp" href="whatsapp://send?text=' . $url ."\" class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-whatsapp' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['whatsapp']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
647
- }
648
- else{
649
- $html .= '<a rel="nofollow" title="Whatsapp" target ="_blank" href="https://web.whatsapp.com/send?text=' . $url ."\" class='mo-openid-share-link' ><i class='mo-custom-share-icon " .$selected_theme. " fab fa-whatsapp' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$default_color['whatsapp']. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
650
- }
651
- }
652
 
653
  }
654
  $html .= "</div>";
@@ -691,5 +427,4 @@ function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt =
691
 
692
  return $html;
693
 
694
- }
695
- ?>
16
 
17
  //shortcode for horizontal sharing
18
  function mo_openid_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
19
+ wp_enqueue_style( 'mo-wp-style-icon',plugins_url('includes/css/mo_openid_login_icons.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION, __FILE__), false );
20
  if( get_option('mo_openid_fonawesome_load') == 1)
21
  wp_enqueue_style( 'mo-openid-sl-wp-font-awesome',plugins_url('includes/css/mo-font-awesome.min.css', __FILE__), false );
22
+ wp_enqueue_style( 'mo_openid_admin_settings_style', plugins_url('includes/css/mo_openid_style.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION, __FILE__));
 
23
 
24
  $html = '';
25
  $selected_theme = isset( $atts['shape'] )? esc_attr($atts['shape']) : esc_attr(get_option('mo_openid_share_theme'));
32
  $textColor = isset( $atts['color'] ) ? esc_attr($atts['color']) : '#'.esc_attr(get_option('mo_openid_share_widget_customize_text_color'));
33
  $text = isset( $atts['heading'] ) ? esc_attr($atts ['heading']) : esc_attr(get_option('mo_openid_share_widget_customize_text'));
34
  $twitter_username = get_option('mo_openid_share_twitter_username');
35
+ $url = isset( $atts['url'])? esc_url($atts['url']) : esc_url(get_site_url());
36
+ $title = esc_attr(get_the_title());
37
+ $sharing_counts = esc_attr(get_option('mo_openid_share_count'));
38
+ $email_subject = esc_html(get_option('mo_openid_share_email_subject'));
39
+ $email_body = get_option('mo_openid_share_email_body');
40
+ $email_body = str_replace('##url##', $url, $email_body);
41
 
42
+ global $share_apps;
43
+ $share_apps = array("facebook" => array( "#1877F2" => 'https://www.facebook.com/sharer/sharer.php?u='.$url.'&src=sdkpreparse'),
44
+ "twitter" => array( "#2795e9" => empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&amp;url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&amp;url='.$url. '&amp;via='.$twitter_username),
45
+ "google" => array( "#DB4437" => 'https://plus.google.com/share?url='.$url),
46
+ "vkontakte" => array( "#466482" => 'https://vk.com/share.php?url='.$url.'&amp;title='.$title.'&amp;description='.$excerpt),
47
+ "linkedin" => array( "#007bb6" => 'https://www.linkedin.com/shareArticle?mini=true&amp;title='.$title.'&amp;url='.$url.'&amp;summary='.$excerpt),
48
+ "tumblr" => array( "#34465d" => 'http://www.tumblr.com/share/link?url='.$url.'&amp;title='.$title.'&amp;description='.$title),
49
+ "stumble" => array( "#eb4924" => 'http://www.stumbleupon.com/submit?url='.$url.'&amp;title='.$title),
50
+ "reddit" => array( "#ff4301" => 'http://www.reddit.com/submit?url='.$url.'&amp;title='.$title),
51
+ "pinterest" => array( "#cb2027" => 'javascript:pinIt();'),
52
+ "pocket" => array( "#ff5700" => 'https://getpocket.com/save?url='.$url.'&amp;title='.$title),
53
+ "digg" => array( "#000000" => 'http://digg.com/submit?url='.$url.'&amp;title='.$title),
54
+ "delicious" => array( "#205cc0" => 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&amp;title='.$title),
55
+ "odnoklassniki" => array( "#ed812b" => 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$title.'&amp;st._surl='.$url),
56
+ "mail" => array( "#00acee" => "mailto:?subject=".$title."&amp;body=".$url),
57
+ "print" => array( "#e0205a" => "javascript:window.print()"),
58
+ "whatsapp" => array( "#25D366" => "https://web.whatsapp.com/send?text=".$url),
59
+ "amazon" => array( "#ff9900" => 'http://www.amazon.com/wishlist/add?u='.$url.'&title='.$title),
60
+ "telegram" => array( "#0088cc" => 'https://telegram.me/share/?url='.$url.'&amp;title='.$title),
61
+ "line" => array( "#329555" => 'https://social-plugins.line.me/lineit/share?u=%encoded_post_url=' .$url. '%&title='.$title),
62
+ "yahoo_mail" => array( "#430297" => '//compose.mail.yahoo.com/?subject='.$title.'&amp;body='.$url ),
63
+ "instapaper" => array( "#000000" => 'http://www.instapaper.com/edit?u='.$url. '&title='.$title),
64
+ "livejournal" => array( "#306599" => 'http://www.livejournal.com/update.bml?subject='.$title. '&amp;body='.$url),
65
+ "mix" => array( "#FF0000" => 'https://mix.com/mixit?url='.$url),
66
+ "aol_mail" => array( "#0060a3" => 'http://webmail.aol.com/25045/aol/en-us/Mail/compose-message.aspx?subject=' .$title. '&amp;body='.$url),
67
+ "mewe" => array( "#409d16" => 'https://mewe.com/share?link='.$url),
68
+ "qzone" => array( "#e8ff00" => 'http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?u=%encoded_post_url='.$url),
69
+ "google_gmail" => array( "#004f9f" => 'https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&su='.$title. '&body='.$url),
70
+ "typepad_post" => array( "#04800c" => 'https://www.typepad.com/services/quickpost/post?v=2&qp_show=ac&qp_title='.$title. '&qp_href='.$url),
71
+ "fark" => array( "#654321" => 'https://www.fark.com/submit?new_url='.$url),
72
+ "google_bookmark" => array( "#3b3b38" => 'https://www.google.com/bookmarks/mark?op=edit&bkmk='.$url. '&title='.$title),
73
+ "fintel" => array( "#24a0ed" => 'https://fintel.io/submit?url=' .$url),
74
+ "mendeley" => array( "#008080" => 'https://www.mendeley.com/sign-in/'),
75
+ "slashdot" => array( "#126A70" => '//slashdot.org/submission?url='.$url),
76
+ "wanelo" => array( "#FFF700" => '//wanelo.com/p/post?bookmarklet=&images%5B%5D=&url='.$url.'&title='.$title),
77
+ "google_classroom" => array( "#F5BA14" => 'https://classroom.google.com/u/0/share?url='.$url),
78
+ "yummly" => array( "#F0780E" => 'http://www.yummly.com/urb/verify?url='.$url.' &title='.$title),
79
+ "hacker_news" => array( "#FF6600" => 'https://news.ycombinator.com/submitlink?url='.$url.' &title='.$title),
80
+ "kakao" => array( "#ffe812" => 'https://story.kakao.com/share?url='.$url),
81
+ "plurk" => array( "#f00" => '//www.plurk.com/m?content='.$url. '&qualifier='.$title),
82
+ "trello" => array( "#0079bf" => 'https://trello.com/add-card?mode=popup&url='. $url. '&name='.$title. '&desc='),
83
+ "wykop" => array( "#266F" => '//www.wykop.pl/dodaj?url='.$url.'&title='.$title),
84
+ "sina_weibo" => array( "#df2029" => '//service.weibo.com/share/share.php?url='. $url. '&title='. $title),
85
+ "renren" => array( "#2500B8" => '//www.connect.renren.com/share/sharer?url='.$url. '&title='.$title),
86
+ "buffer" => array( "#000000" => 'https://buffer.com/add?url='.$url. '&title='.$title) );
87
 
88
  if($fontColor)
89
  {
93
  $fontColor;
94
  }
95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  $html .= '<div class="mo-openid-app-icons circle ">';
97
 
98
  $html .= '<p style="margin-top:4% !important; margin-bottom:0px !important; color:'.$textColor.'">';
99
+ if( 1 == 1 ) {
100
  $html .= $text . '</p>';
101
  $html .= "<div class='horizontal'>";
102
  if($custom_theme == 'custom'){
103
  if($sharing_counts) {
104
  $html.= "<div class='mo_openid_sharecount'><ul class='mo_openid_share_count_icon'>";
105
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
 
107
+ foreach($share_apps as $share_app => $share_colors){
108
+ foreach($share_colors as $share_color => $share_link){
109
+ $share_icon = "fab fa-".$share_app;
110
+ if($share_app == "vkontakte"){
111
+ $share_icon = "fab fa-vk";
112
+ }
113
+ if($share_app == "stumble"){
114
+ $share_icon = "fab fa-stumbleupon";
115
+ }
116
+ if($share_app == "pocket"){
117
+ $share_icon = "fab fa-get-pocket";
118
+ }
119
+ if($share_app == "mail"){
120
+ $share_icon = "far fa-envelope";
121
+ }
122
+ if($share_app == "print"){
123
+ $share_icon = "fas fa-print ";
124
+ }
125
+ if( get_option('mo_openid_'.$share_app.'_share_enable') ) {
126
+ if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='Twitter' onclick='popupCenter(". '"' . $share_link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " ".$share_icon."' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
127
+ }
128
  }
129
  }
130
  if($sharing_counts){
137
  if ($sharing_counts) {
138
  $html .= "<div class='mo_openid_sharecount'><ul class='mo_openid_share_count_icon'>";
139
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
 
141
+ foreach($share_apps as $share_app => $share_colors){
142
+ foreach($share_colors as $share_color => $share_link){
143
+ $share_icon = "fab fa-".$share_app;
144
+ if($share_app == "vkontakte"){
145
+ $share_icon = "fab fa-vk";
146
+ }
147
+ if($share_app == "stumble"){
148
+ $share_icon = "fab fa-stumbleupon";
149
+ }
150
+ if($share_app == "pocket"){
151
+ $share_icon = "fab fa-get-pocket";
152
+ }
153
+ if($share_app == "mail"){
154
+ $share_icon = "far fa-envelope";
155
+ }
156
+ if($share_app == "print"){
157
+ $share_icon = "fas fa-print ";
158
+ }
159
+ if( get_option('mo_openid_'.$share_app.'_share_enable') ) {
160
+ if ($sharing_counts){$html .= "<li style='line-height: 0.0px'>";} $html .= "<a rel='nofollow' title='".$share_app."' onclick='popupCenter(" . '"' . $share_link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " . ($spaceBetweenIcons - 6) . "px !important'><i class=' " . $selected_theme . " ".$share_icon."' style='padding-top:4px;text-align:center;color:" . $fontColor . ";font-size:" . $sharingSize . "px !important;height:" . $sharingSize . "px !important;width:" . $sharingSize . "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
161
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
  }
163
  }
164
  if ($sharing_counts) {
173
  $html .= "<div class='mo_openid_sharecount'><ul class='mo_openid_share_count_icon'>";
174
  }
175
 
176
+ foreach($share_apps as $share_app => $share_colors){
177
+ foreach($share_colors as $share_color => $share_link){
178
+ $share_icon = "fab fa-".$share_app;
179
+ if($share_app == "vkontakte"){
180
+ $share_icon = "fab fa-vk";
181
+ }
182
+ if($share_app == "stumble"){
183
+ $share_icon = "fab fa-stumbleupon";
184
+ }
185
+ if($share_app == "pocket"){
186
+ $share_icon = "fab fa-get-pocket";
187
+ }
188
+ if($share_app == "mail"){
189
+ $share_icon = "far fa-envelope";
190
+ }
191
+ if($share_app == "print"){
192
+ $share_icon = "fas fa-print ";
193
+ }
194
+ if( get_option('mo_openid_'.$share_app.'_share_enable') ) {
195
+ if ($sharing_counts){$html .= "<li>";} $html .= "<a rel='nofollow' title='".$share_app."' onclick='popupCenter(". '"' . $share_link . '"' . ", 800, 500);' class='mo-openid-share-link' style='margin-left : " .($spaceBetweenIcons) . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " ".$share_icon."' style='padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$share_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>"; if($sharing_counts){$html .= "<span2 style='margin-left : " . ($spaceBetweenIcons) . "px !important'></span2></li>";};
196
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
197
  }
198
  }
199
  if ($sharing_counts) {
228
  }
229
 
230
  function mo_openid_vertical_share_shortcode( $atts = '', $title = '', $excerpt = '' ) {
231
+ wp_enqueue_style( 'mo-wp-style-icon',plugins_url('includes/css/mo_openid_login_icons.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION, __FILE__), false );
232
  if( get_option('mo_openid_fonawesome_load') == 1)
233
  wp_enqueue_style( 'mo-openid-sl-wp-font-awesome',plugins_url('includes/css/mo-font-awesome.min.css', __FILE__), false );
234
+ wp_enqueue_style( 'mo_openid_admin_settings_style', plugins_url('includes/css/mo_openid_style.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION, __FILE__));
 
235
 
236
  $html = '';
237
  $selected_theme = isset( $atts['shape'] )? esc_attr($atts['shape']) : esc_attr(get_option('mo_openid_share_theme'));
241
  $custom_theme = isset( $atts['theme'] )? esc_attr($atts['theme']) : esc_attr(get_option('mo_openid_share_custom_theme'));
242
  $fontColor = isset( $atts['fontcolor'] )? esc_attr($atts['fontcolor']) : esc_attr(get_option('mo_sharing_icon_custom_font'));
243
  $spaceBetweenIcons = isset( $atts['space'] )? esc_attr($atts['space']) : '10';
 
244
  $alignment = isset( $atts['alignment'] )? esc_attr($atts['alignment']) : 'left';
245
  $left_offset = isset( $atts['leftoffset'] )? esc_attr($atts['leftoffset']) : '20';
246
  $right_offset = isset( $atts['rightoffset'] )? esc_attr($atts['rightoffset']) : '10';
247
  $top_offset = isset( $atts['topoffset'] )? esc_attr($atts['topoffset']) : '100';
 
 
248
  $twitter_username = esc_attr(get_option('mo_openid_share_twitter_username'));
249
+ $url = isset( $atts['url'])? esc_url($atts['url']) : esc_url(get_site_url());
 
250
  $email_subject = esc_attr(get_option('mo_openid_share_email_subject'));
251
+ $title = esc_attr(get_the_title());
252
  $email_body = get_option('mo_openid_share_email_body');
253
  $email_body = str_replace('##url##', $url, $email_body);
254
 
255
+ global $share_apps;
256
+ $share_apps = array("facebook" => array( "#1877F2" => 'https://www.facebook.com/sharer/sharer.php?u='.$url.'&src=sdkpreparse'),
257
+ "twitter" => array( "#2795e9" => empty($twitter_username) ? 'https://twitter.com/intent/tweet?text='.$title.'&amp;url='.$url : 'https://twitter.com/intent/tweet?text='.$title.'&amp;url='.$url. '&amp;via='.$twitter_username),
258
+ "google" => array( "#DB4437" => 'https://plus.google.com/share?url='.$url),
259
+ "vkontakte" => array( "#466482" => 'https://vk.com/share.php?url='.$url.'&amp;title='.$title.'&amp;description='.$excerpt),
260
+ "linkedin" => array( "#007bb6" => 'https://www.linkedin.com/shareArticle?mini=true&amp;title='.$title.'&amp;url='.$url.'&amp;summary='.$excerpt),
261
+ "tumblr" => array( "#34465d" => 'http://www.tumblr.com/share/link?url='.$url.'&amp;title='.$title.'&amp;description='.$title),
262
+ "stumble" => array( "#eb4924" => 'http://www.stumbleupon.com/submit?url='.$url.'&amp;title='.$title),
263
+ "reddit" => array( "#ff4301" => 'http://www.reddit.com/submit?url='.$url.'&amp;title='.$title),
264
+ "pinterest" => array( "#cb2027" => 'javascript:pinIt();'),
265
+ "pocket" => array( "#ff5700" => 'https://getpocket.com/save?url='.$url.'&amp;title='.$title),
266
+ "digg" => array( "#000000" => 'http://digg.com/submit?url='.$url.'&amp;title='.$title),
267
+ "delicious" => array( "#205cc0" => 'http://www.delicious.com/save?v=5&noui&jump=close&url='.$url.'&amp;title='.$title),
268
+ "odnoklassniki" => array( "#ed812b" => 'http://www.odnoklassniki.ru/dk?st.cmd=addShare&st.s=1&st.comments='.$title.'&amp;st._surl='.$url),
269
+ "mail" => array( "#00acee" => "mailto:?subject=".$title."&amp;body=".$url),
270
+ "print" => array( "#e0205a" => "javascript:window.print()"),
271
+ "whatsapp" => array( "#25D366" => "https://web.whatsapp.com/send?text=".$url),
272
+ "amazon" => array( "#ff9900" => 'http://www.amazon.com/wishlist/add?u='.$url.'&title='.$title),
273
+ "telegram" => array( "#0088cc" => 'https://telegram.me/share/?url='.$url.'&amp;title='.$title),
274
+ "line" => array( "#329555" => 'https://social-plugins.line.me/lineit/share?u=%encoded_post_url=' .$url. '%&title='.$title),
275
+ "yahoo_mail" => array( "#430297" => '//compose.mail.yahoo.com/?subject='.$title.'&amp;body='.$url ),
276
+ "instapaper" => array( "#000000" => 'http://www.instapaper.com/edit?u='.$url. '&title='.$title),
277
+ "livejournal" => array( "#306599" => 'http://www.livejournal.com/update.bml?subject='.$title. '&amp;body='.$url),
278
+ "mix" => array( "#FF0000" => 'https://mix.com/mixit?url='.$url),
279
+ "aol_mail" => array( "#0060a3" => 'http://webmail.aol.com/25045/aol/en-us/Mail/compose-message.aspx?subject=' .$title. '&amp;body='.$url),
280
+ "mewe" => array( "#409d16" => 'https://mewe.com/share?link='.$url),
281
+ "qzone" => array( "#e8ff00" => 'http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?u=%encoded_post_url='.$url),
282
+ "google_gmail" => array( "#004f9f" => 'https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&su='.$title. '&body='.$url),
283
+ "typepad_post" => array( "#04800c" => 'https://www.typepad.com/services/quickpost/post?v=2&qp_show=ac&qp_title='.$title. '&qp_href='.$url),
284
+ "fark" => array( "#654321" => 'https://www.fark.com/submit?new_url='.$url),
285
+ "google_bookmark" => array( "#3b3b38" => 'https://www.google.com/bookmarks/mark?op=edit&bkmk='.$url. '&title='.$title),
286
+ "fintel" => array( "#24a0ed" => 'https://fintel.io/submit?url=' .$url),
287
+ "mendeley" => array( "#008080" => 'https://www.mendeley.com/sign-in/'),
288
+ "slashdot" => array( "#126A70" => '//slashdot.org/submission?url='.$url),
289
+ "wanelo" => array( "#FFF700" => '//wanelo.com/p/post?bookmarklet=&images%5B%5D=&url='.$url.'&title='.$title),
290
+ "google_classroom" => array( "#F5BA14" => 'https://classroom.google.com/u/0/share?url='.$url),
291
+ "yummly" => array( "#F0780E" => 'http://www.yummly.com/urb/verify?url='.$url.' &title='.$title),
292
+ "hacker_news" => array( "#FF6600" => 'https://news.ycombinator.com/submitlink?url='.$url.' &title='.$title),
293
+ "kakao" => array( "#ffe812" => 'https://story.kakao.com/share?url='.$url),
294
+ "plurk" => array( "#f00" => '//www.plurk.com/m?content='.$url. '&qualifier='.$title),
295
+ "trello" => array( "#0079bf" => 'https://trello.com/add-card?mode=popup&url='. $url. '&name='.$title. '&desc='),
296
+ "wykop" => array( "#266F" => '//www.wykop.pl/dodaj?url='.$url.'&title='.$title),
297
+ "sina_weibo" => array( "#df2029" => '//service.weibo.com/share/share.php?url='. $url. '&title='. $title),
298
+ "renren" => array( "#2500B8" => '//www.connect.renren.com/share/sharer?url='.$url. '&title='.$title),
299
+ "buffer" => array( "#000000" => 'https://buffer.com/add?url='.$url. '&title='.$title) );
300
 
301
  $html .= "<div class='mo_openid_vertical' style='" .(isset($alignment) && $alignment != '' ? $alignment .': '. (${$alignment.'_offset'} == '' ? 0 : ${$alignment.'_offset'} ) .'px;' : '').(isset($top_offset) ? 'top: '. ( $top_offset == '' ? 0 : $top_offset ) .'px;' : '') ."'>";
302
 
306
  $html .= "<div id='mo_floating_vertical_shortcode'>";
307
  if($custom_theme == 'custom'){
308
 
309
+ foreach($share_apps as $share_app => $share_colors){
310
+ foreach($share_colors as $share_color => $share_link){
311
+ $share_icon = "fab fa-".$share_app;
312
+ if($share_app == "vkontakte"){
313
+ $share_icon = "fab fa-vk";
314
+ }
315
+ if($share_app == "stumble"){
316
+ $share_icon = "fab fa-stumbleupon";
317
+ }
318
+ if($share_app == "pocket"){
319
+ $share_icon = "fab fa-get-pocket";
320
+ }
321
+ if($share_app == "mail"){
322
+ $share_icon = "far fa-envelope";
323
+ }
324
+ if($share_app == "print"){
325
+ $share_icon = "fas fa-print ";
326
+ }
327
+ if( get_option('mo_openid_'.$share_app.'_share_enable') ) {
328
+ $html .= "<a rel='nofollow' title='".$share_app."' onclick='popupCenter(" . '"' . $share_link . '"' .", 1000, 500);' class='mo-openid-share-link' style='margin-bottom : " .$spaceBetweenIcons . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " ".$share_icon."' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:#" .$custom_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
329
+ }
330
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
331
  }
 
 
332
 
333
  }
334
 
335
  else if($custom_theme == 'customFont') {
336
 
337
+ foreach($share_apps as $share_app => $share_colors){
338
+ foreach($share_colors as $share_color => $share_link){
339
+ $share_icon = "fab fa-".$share_app;
340
+ if($share_app == "vkontakte"){
341
+ $share_icon = "fab fa-vk";
342
+ }
343
+ if($share_app == "stumble"){
344
+ $share_icon = "fab fa-stumbleupon";
345
+ }
346
+ if($share_app == "pocket"){
347
+ $share_icon = "fab fa-get-pocket";
348
+ }
349
+ if($share_app == "mail"){
350
+ $share_icon = "far fa-envelope";
351
+ }
352
+ if($share_app == "print"){
353
+ $share_icon = "fas fa-print ";
354
+ }
355
+ if( get_option('mo_openid_'.$share_app.'_share_enable') ) {
356
+ $html .= "<a rel='nofollow' title='".$share_app."' onclick='popupCenter(". '"' . $link . '"' .", 800, 500);' class='mo-openid-share-link' ><i class='".$share_icon."' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:4px;text-align:center;color:" .$fontColor . ";font-size:" .$sharingSize. "px !important;height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
357
+ }
358
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
359
  }
 
 
360
 
361
  }
362
 
363
  else {
364
 
365
+ foreach($share_apps as $share_app => $share_colors){
366
+ foreach($share_colors as $share_color => $share_link){
367
+ $share_icon = "fab fa-".$share_app;
368
+ if($share_app == "vkontakte"){
369
+ $share_icon = "fab fa-vk";
370
+ }
371
+ if($share_app == "stumble"){
372
+ $share_icon = "fab fa-stumbleupon";
373
+ }
374
+ if($share_app == "pocket"){
375
+ $share_icon = "fab fa-get-pocket";
376
+ }
377
+ if($share_app == "mail"){
378
+ $share_icon = "far fa-envelope";
379
+ }
380
+ if($share_app == "print"){
381
+ $share_icon = "fas fa-print ";
382
+ }
383
+ if( get_option('mo_openid_'.$share_app.'_share_enable') ) {
384
+ $html .= "<a rel='nofollow' title='Facebook' onclick='popupCenter(" . '"' . $share_link . '"' .", 1000, 500);' class='mo-openid-share-link' style='margin-bottom : " .$spaceBetweenIcons . "px !important'><i class='mo-custom-share-icon " .$selected_theme. " ".$share_icon."' style='margin-bottom : " . ($spaceBetweenIcons-4) . "px !important;padding-top:8px;text-align:center;color:#ffffff;font-size:" .($sharingSize-16). "px !important;background-color:" .$share_color. ";height:" .$sharingSize. "px !important;width:" .$sharingSize. "px !important;'></i></a>";
385
+ }
386
+ }
387
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
388
 
389
  }
390
  $html .= "</div>";
427
 
428
  return $html;
429
 
430
+ }
 
includes/css/bootstrap-social.css CHANGED
@@ -35,6 +35,9 @@
35
  .mo_btn-facebook:active,.mo_btn-facebook.active,.open>.dropdown-toggle.mo_btn-facebook{background-image:none}
36
  .mo_btn-facebook.disabled,.mo_btn-facebook[disabled],fieldset[disabled] .mo_btn-facebook,.mo_btn-facebook.disabled:hover,.mo_btn-facebook[disabled]:hover,fieldset[disabled] .mo_btn-facebook:hover,.mo_btn-facebook.disabled:focus,.mo_btn-facebook[disabled]:focus,fieldset[disabled] .mo_btn-facebook:focus,.mo_btn-facebook.disabled:active,.mo_btn-facebook[disabled]:active,fieldset[disabled] .mo_btn-facebook:active,.mo_btn-facebook.disabled.active,.mo_btn-facebook[disabled].active,fieldset[disabled] .mo_btn-facebook.active{background-color:#1877F2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1877F2,#1877F2) !important;}
37
  .mo_btn-facebook .badge{color:#1877F2;background-color:#fff}
 
 
 
38
  .mo_btn-flickr{color:#fff !important;background-color:#ff0084;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ff0084,#ff0084) !important;}.mo_btn-flickr:hover,.mo_btn-flickr:focus,.mo_btn-flickr:active,.mo_btn-flickr.active,.open>.dropdown-toggle.mo_btn-flickr{color:#fff;background-color:#cc006a;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#cc006a,#cc006a) !important;}
39
  .mo_btn-flickr:active,.mo_btn-flickr.active,.open>.dropdown-toggle.mo_btn-flickr{background-image:none}
40
  .mo_btn-flickr.disabled,.mo_btn-flickr[disabled],fieldset[disabled] .mo_btn-flickr,.mo_btn-flickr.disabled:hover,.mo_btn-flickr[disabled]:hover,fieldset[disabled] .mo_btn-flickr:hover,.mo_btn-flickr.disabled:focus,.mo_btn-flickr[disabled]:focus,fieldset[disabled] .mo_btn-flickr:focus,.mo_btn-flickr.disabled:active,.mo_btn-flickr[disabled]:active,fieldset[disabled] .mo_btn-flickr:active,.mo_btn-flickr.disabled.active,.mo_btn-flickr[disabled].active,fieldset[disabled] .mo_btn-flickr.active{background-color:#ff0084;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ff0084,#ff0084) !important;}
@@ -47,18 +50,27 @@
47
  .mo_btn-github:active,.mo_btn-github.active,.open>.dropdown-toggle.mo_btn-github{background-image:none}
48
  .mo_btn-github.disabled,.mo_btn-github[disabled],fieldset[disabled] .mo_btn-github,.mo_btn-github.disabled:hover,.mo_btn-github[disabled]:hover,fieldset[disabled] .mo_btn-github:hover,.mo_btn-github.disabled:focus,.mo_btn-github[disabled]:focus,fieldset[disabled] .mo_btn-github:focus,.mo_btn-github.disabled:active,.mo_btn-github[disabled]:active,fieldset[disabled] .mo_btn-github:active,.mo_btn-github.disabled.active,.mo_btn-github[disabled].active,fieldset[disabled] .mo_btn-github.active{background-color:#444;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#444,#444) !important;}
49
  .mo_btn-github .badge{color:#444;background-color:#fff}
50
- .mo_btn-google{color:#fff !important;background-color:#4285F4;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#4285F4,#4285F4) !important;}.mo_btn-google:hover,.mo_btn-google:focus,.mo_btn-google:active,.mo_btn-google.active,.open>.dropdown-toggle.mo_btn-google{color:#fff;background-color:#fff;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#fff,#fff) !important;}
51
  .mo_btn-google:active,.mo_btn-google.active,.open>.dropdown-toggle.mo_btn-google{background-image:none}
52
- .mo_btn-google.disabled,.mo_btn-google[disabled],fieldset[disabled] .mo_btn-google,.mo_btn-google.disabled:hover,.mo_btn-google[disabled]:hover,fieldset[disabled] .mo_btn-google:hover,.mo_btn-google.disabled:focus,.mo_btn-google[disabled]:focus,fieldset[disabled] .mo_btn-google:focus,.mo_btn-google.disabled:active,.mo_btn-google[disabled]:active,fieldset[disabled] .mo_btn-google:active,.mo_btn-google.disabled.active,.mo_btn-google[disabled].active,fieldset[disabled] .mo_btn-google.active{background-color:#4285F4;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#4285F4,#4285F4) !important;}
53
- .mo_btn-google .badge{color:#4285F4;background-color:#fff}
 
 
 
54
  .mo_btn-instagram{color:#fff!important;background-color:#3f729b;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#3f729b,#3f729b) !important;}.mo_btn-instagram:hover,.mo_btn-instagram:focus,.mo_btn-instagram:active,.mo_btn-instagram.active,.open>.dropdown-toggle.mo_btn-instagram{color:#fff;background-color:#305777;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#305777,#305777) !important;}
55
  .mo_btn-instagram:active,.mo_btn-instagram.active,.open>.dropdown-toggle.mo_btn-instagram{background-image:none}
56
  .mo_btn-instagram.disabled,.mo_btn-instagram[disabled],fieldset[disabled] .mo_btn-instagram,.mo_btn-instagram.disabled:hover,.mo_btn-instagram[disabled]:hover,fieldset[disabled] .mo_btn-instagram:hover,.mo_btn-instagram.disabled:focus,.mo_btn-instagram[disabled]:focus,fieldset[disabled] .mo_btn-instagram:focus,.mo_btn-instagram.disabled:active,.mo_btn-instagram[disabled]:active,fieldset[disabled] .mo_btn-instagram:active,.mo_btn-instagram.disabled.active,.mo_btn-instagram[disabled].active,fieldset[disabled] .mo_btn-instagram.active{background-color:#3f729b;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#3f729b,#3f729b) !important;}
57
  .mo_btn-instagram .badge{color:#3f729b;background-color:#fff}
 
 
 
58
  .mo_btn-linkedin{color:#fff !important;background-color:#007bb6;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#007bb6,#007bb6) !important;}.mo_btn-linkedin:hover,.mo_btn-linkedin:focus,.mo_btn-linkedin:active,.mo_btn-linkedin.active,.open>.dropdown-toggle.mo_btn-linkedin{color:#fff;background-color:#005983;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#005983,#005983) !important;}
59
  .mo_btn-linkedin:active,.mo_btn-linkedin.active,.open>.dropdown-toggle.mo_btn-linkedin{background-image:none}
60
  .mo_btn-linkedin.disabled,.mo_btn-linkedin[disabled],fieldset[disabled] .mo_btn-linkedin,.mo_btn-linkedin.disabled:hover,.mo_btn-linkedin[disabled]:hover,fieldset[disabled] .mo_btn-linkedin:hover,.mo_btn-linkedin.disabled:focus,.mo_btn-linkedin[disabled]:focus,fieldset[disabled] .mo_btn-linkedin:focus,.mo_btn-linkedin.disabled:active,.mo_btn-linkedin[disabled]:active,fieldset[disabled] .mo_btn-linkedin:active,.mo_btn-linkedin.disabled.active,.mo_btn-linkedin[disabled].active,fieldset[disabled] .mo_btn-linkedin.active{background-color:#007bb6;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#007bb6,#007bb6) !important;}
61
  .mo_btn-linkedin .badge{color:#007bb6;background-color:#fff}
 
 
 
62
  .mo_btn-microsoft{color:#fff !important;background-color:#2672ec;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2672ec,#2672ec) !important;}.mo_btn-microsoft:hover,.mo_btn-microsoft:focus,.mo_btn-microsoft:active,.mo_btn-microsoft.active,.open>.dropdown-toggle.mo_btn-microsoft{color:#fff;background-color:#125acd;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#125acd,#125acd) !important;}
63
  .mo_btn-microsoft:active,.mo_btn-microsoft.active,.open>.dropdown-toggle.mo_btn-microsoft{background-image:none}
64
  .mo_btn-microsoft.disabled,.mo_btn-microsoft[disabled],fieldset[disabled] .mo_btn-microsoft,.mo_btn-microsoft.disabled:hover,.mo_btn-microsoft[disabled]:hover,fieldset[disabled] .mo_btn-microsoft:hover,.mo_btn-microsoft.disabled:focus,.mo_btn-microsoft[disabled]:focus,fieldset[disabled] .mo_btn-microsoft:focus,.mo_btn-microsoft.disabled:active,.mo_btn-microsoft[disabled]:active,fieldset[disabled] .mo_btn-microsoft:active,.mo_btn-microsoft.disabled.active,.mo_btn-microsoft[disabled].active,fieldset[disabled] .mo_btn-microsoft.active{background-color:#2672ec;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2672ec,#2672ec) !important;}
@@ -75,18 +87,26 @@
75
  .mo_btn-reddit:active,.mo_btn-reddit.active,.open>.dropdown-toggle.mo_btn-reddit{background-image:none}
76
  .mo_btn-reddit.disabled,.mo_btn-reddit[disabled],fieldset[disabled] .mo_btn-reddit,.mo_btn-reddit.disabled:hover,.mo_btn-reddit[disabled]:hover,fieldset[disabled] .mo_btn-reddit:hover,.mo_btn-reddit.disabled:focus,.mo_btn-reddit[disabled]:focus,fieldset[disabled] .mo_btn-reddit:focus,.mo_btn-reddit.disabled:active,.mo_btn-reddit[disabled]:active,fieldset[disabled] .mo_btn-reddit:active,.mo_btn-reddit.disabled.active,.mo_btn-reddit[disabled].active,fieldset[disabled] .mo_btn-reddit.active{background-color:#CEE3F8;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#CEE3F8,#CEE3F8) !important;}
77
  .mo_btn-reddit .badge{color:#CEE3F8;background-color:#000}
78
- .mo_btn-soundcloud{color:#fff !important;background-color:#f50;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#f50,#f50) !important;}.mo_btn-soundcloud:hover,.mo_btn-soundcloud:focus,.mo_btn-soundcloud:active,.mo_btn-soundcloud.active,.open>.dropdown-toggle.mo_btn-soundcloud{color:#fff;background-color:#c40;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#c40,#c40) !important;}
79
- .mo_btn-soundcloud:active,.mo_btn-soundcloud.active,.open>.dropdown-toggle.mo_btn-soundcloud{background-image:none}
80
- .mo_btn-soundcloud.disabled,.mo_btn-soundcloud[disabled],fieldset[disabled] .mo_btn-soundcloud,.mo_btn-soundcloud.disabled:hover,.mo_btn-soundcloud[disabled]:hover,fieldset[disabled] .mo_btn-soundcloud:hover,.mo_btn-soundcloud.disabled:focus,.mo_btn-soundcloud[disabled]:focus,fieldset[disabled] .mo_btn-soundcloud:focus,.mo_btn-soundcloud.disabled:active,.mo_btn-soundcloud[disabled]:active,fieldset[disabled] .mo_btn-soundcloud:active,.mo_btn-soundcloud.disabled.active,.mo_btn-soundcloud[disabled].active,fieldset[disabled] .mo_btn-soundcloud.active{background-color:#f50;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#f50,#f50) !important;}
81
- .mo_btn-soundcloud .badge{color:#f50;background-color:#fff}
 
 
 
82
  .mo_btn-tumblr{color:#fff;background-color:#2c4762;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2c4762,#2c4762) !important;}.mo_btn-tumblr:hover,.mo_btn-tumblr:focus,.mo_btn-tumblr:active,.mo_btn-tumblr.active,.open>.dropdown-toggle.mo_btn-tumblr{color:#fff;background-color:#1c2d3f;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1c2d3f,#1c2d3f) !important;}
83
  .mo_btn-tumblr:active,.mo_btn-tumblr.active,.open>.dropdown-toggle.mo_btn-tumblr{background-image:none}
84
  .mo_btn-tumblr.disabled,.mo_btn-tumblr[disabled],fieldset[disabled] .mo_btn-tumblr,.mo_btn-tumblr.disabled:hover,.mo_btn-tumblr[disabled]:hover,fieldset[disabled] .mo_btn-tumblr:hover,.mo_btn-tumblr.disabled:focus,.mo_btn-tumblr[disabled]:focus,fieldset[disabled] .mo_btn-tumblr:focus,.mo_btn-tumblr.disabled:active,.mo_btn-tumblr[disabled]:active,fieldset[disabled] .mo_btn-tumblr:active,.mo_btn-tumblr.disabled.active,.mo_btn-tumblr[disabled].active,fieldset[disabled] .mo_btn-tumblr.active{background-color:#2c4762;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2c4762,#2c4762) !important;}
85
  .mo_btn-tumblr .badge{color:#2c4762;background-color:#fff}
 
86
  .mo_btn-twitter{color:#fff !important;background-color:#55acee;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#55acee,#55acee) !important;}.mo_btn-twitter:hover,.mo_btn-twitter:focus,.mo_btn-twitter:active,.mo_btn-twitter.active,.open>.dropdown-toggle.mo_btn-twitter{color:#fff;background-color:#2795e9;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2795e9,#2795e9) !important;}
87
  .mo_btn-twitter:active,.mo_btn-twitter.active,.open>.dropdown-toggle.mo_btn-twitter{background-image:none}
88
  .mo_btn-twitter.disabled,.mo_btn-twitter[disabled],fieldset[disabled] .mo_btn-twitter,.mo_btn-twitter.disabled:hover,.mo_btn-twitter[disabled]:hover,fieldset[disabled] .mo_btn-twitter:hover,.mo_btn-twitter.disabled:focus,.mo_btn-twitter[disabled]:focus,fieldset[disabled] .mo_btn-twitter:focus,.mo_btn-twitter.disabled:active,.mo_btn-twitter[disabled]:active,fieldset[disabled] .mo_btn-twitter:active,.mo_btn-twitter.disabled.active,.mo_btn-twitter[disabled].active,fieldset[disabled] .mo_btn-twitter.active{background-color:#55acee;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#55acee,#55acee) !important;}
89
  .mo_btn-twitter .badge{color:#55acee;background-color:#fff}
 
 
 
 
90
  .mo_btn-vimeo{color:#fff !important;background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}.mo_btn-vimeo:hover,.mo_btn-vimeo:focus,.mo_btn-vimeo:active,.mo_btn-vimeo.active,.open>.dropdown-toggle.mo_btn-vimeo{color:#fff;background-color:#1295bf;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1295bf,#1295bf) !important;}
91
  .mo_btn-vimeo:active,.mo_btn-vimeo.active,.open>.dropdown-toggle.mo_btn-vimeo{background-image:none}
92
  .mo_btn-vimeo.disabled,.mo_btn-vimeo[disabled],fieldset[disabled] .mo_btn-vimeo,.mo_btn-vimeo.disabled:hover,.mo_btn-vimeo[disabled]:hover,fieldset[disabled] .mo_btn-vimeo:hover,.mo_btn-vimeo.disabled:focus,.mo_btn-vimeo[disabled]:focus,fieldset[disabled] .mo_btn-vimeo:focus,.mo_btn-vimeo.disabled:active,.mo_btn-vimeo[disabled]:active,fieldset[disabled] .mo_btn-vimeo:active,.mo_btn-vimeo.disabled.active,.mo_btn-vimeo[disabled].active,fieldset[disabled] .mo_btn-vimeo.active{background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}
@@ -95,14 +115,23 @@
95
  .mo_btn-kakao:active,.mo_btn-kakao.active,.open>.dropdown-toggle.mo_btn-kakao{background-image:none}
96
  .mo_btn-kakao.disabled,.mo_btn-kakao[disabled],fieldset[disabled] .mo_btn-kakao,.mo_btn-kakao.disabled:hover,.mo_btn-kakao[disabled]:hover,fieldset[disabled] .mo_btn-kakao:hover,.mo_btn-kakao.disabled:focus,.mo_btn-kakao[disabled]:focus,fieldset[disabled] .mo_btn-kakao:focus,.mo_btn-kakao.disabled:active,.mo_btn-kakao[disabled]:active,fieldset[disabled] .mo_btn-kakao:active,.mo_btn-kakao.disabled.active,.mo_btn-kakao[disabled].active,fieldset[disabled] .mo_btn-kakao.active{background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}
97
  .mo_btn-kakao .badge{color:#1ab7ea;background-color:#fff}
 
98
  .mo_btn-vk{color:#fff !important;background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}.mo_btn-vk:hover,.mo_btn-vk:focus,.mo_btn-vk:active,.mo_btn-vk.active,.open>.dropdown-toggle.mo_btn-vk{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#466482,#466482) !important;}
99
  .mo_btn-vk:active,.mo_btn-vk.active,.open>.dropdown-toggle.mo_btn-vk{background-image:none}
100
  .mo_btn-vk.disabled,.mo_btn-vk[disabled],fieldset[disabled] .mo_btn-vk,.mo_btn-vk.disabled:hover,.mo_btn-vk[disabled]:hover,fieldset[disabled] .mo_btn-vk:hover,.mo_btn-vk.disabled:focus,.mo_btn-vk[disabled]:focus,fieldset[disabled] .mo_btn-vk:focus,.mo_btn-vk.disabled:active,.mo_btn-vk[disabled]:active,fieldset[disabled] .mo_btn-vk:active,.mo_btn-vk.disabled.active,.mo_btn-vk[disabled].active,fieldset[disabled] .mo_btn-vk.active{background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}
101
  .mo_btn-vk .badge{color:#587ea3;background-color:#fff}
 
 
 
 
102
  .mo_btn-yahoo{color:#fff !important;background-color:#720e9e;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#720e9e,#720e9e) !important;}.mo_btn-yahoo:hover,.mo_btn-yahoo:focus,.mo_btn-yahoo:active,.mo_btn-yahoo.active,.open>.dropdown-toggle.mo_btn-yahoo{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#500a6f,#500a6f) !important;}
103
  .mo_btn-yahoo:active,.mo_btn-yahoo.active,.open>.dropdown-toggle.mo_btn-yahoo{background-image:none}
104
  .mo_btn-yahoo.disabled,.mo_btn-yahoo[disabled],fieldset[disabled] .mo_btn-yahoo,.mo_btn-yahoo.disabled:hover,.mo_btn-yahoo[disabled]:hover,fieldset[disabled] .mo_btn-yahoo:hover,.mo_btn-yahoo.disabled:focus,.mo_btn-yahoo[disabled]:focus,fieldset[disabled] .mo_btn-yahoo:focus,.mo_btn-yahoo.disabled:active,.mo_btn-yahoo[disabled]:active,fieldset[disabled] .mo_btn-yahoo:active,.mo_btn-yahoo.disabled.active,.mo_btn-yahoo[disabled].active,fieldset[disabled] .mo_btn-yahoo.active{background-color:#720e9e;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#720e9e,#720e9e) !important;}
105
  .mo_btn-yahoo .badge{color:#720e9e;background-color:#fff}
 
 
 
 
106
  .mo_btn-wordpress{color:#fff !important;background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}.mo_btn-wordpress:hover,.mo_btn-wordpress:focus,.mo_btn-wordpress:active,.mo_btn-wordpress.active,.open>.dropdown-toggle.mo_btn-wordpress{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#466482,#466482) !important;}
107
  .mo_btn-wordpress:active,.mo_btn-wordpress.active,.open>.dropdown-toggle.mo_btn-wordpress{background-image:none}
108
  .mo_btn-wordpress.disabled,.mo_btn-wordpress[disabled],fieldset[disabled] .mo_btn-wordpress,.mo_btn-wordpress.disabled:hover,.mo_btn-wordpress[disabled]:hover,fieldset[disabled] .mo_btn-wordpress:hover,.mo_btn-wordpress.disabled:focus,.mo_btn-wordpress[disabled]:focus,fieldset[disabled] .mo_btn-wordpress:focus,.mo_btn-wordpress.disabled:active,.mo_btn-wordpress[disabled]:active,fieldset[disabled] .mo_btn-wordpress:active,.mo_btn-wordpress.disabled.active,.mo_btn-wordpress[disabled].active,fieldset[disabled] .mo_btn-wordpress.active{background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}
@@ -124,13 +153,38 @@
124
  .mo_btn-snapchat.disabled,.mo_btn-snapchat[disabled],fieldset[disabled] .mo_btn-snapchat,.mo_btn-snapchat.disabled:hover,.mo_btn-snapchat[disabled]:hover,fieldset[disabled] .mo_btn-snapchat:hover,.mo_btn-snapchat.disabled:focus,.mo_btn-snapchat[disabled]:focus,fieldset[disabled] .mo_btn-snapchat:focus,.mo_btn-snapchat.disabled:active,.mo_btn-snapchat[disabled]:active,fieldset[disabled] .mo_btn-snapchat:active,.mo_btn-snapchat.disabled.active,.mo_btn-snapchat[disabled].active,fieldset[disabled] .mo_btn-snapchat.active{background-color:#FFFC00;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#FFFC00,#FFFC00) !important;}
125
  .mo_btn-snapchat .badge{color:#FFFC00;background-color:#fff}
126
  .mo_btn-snapchat-white{color:#000000 !important;background-color:#FFFC00;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-snapchat-white:hover,.mo_btn-snapchat-white:focus,.mo_btn-snapchat-white:active,.mo_btn-snapchat-white.active,.open>.dropdown-toggle.mo_btn-snapchat-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
 
 
 
127
  .mo_btn-dribbble{color:#fff !important;background-color:#ee66aa;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ee66aa,#ee66aa) !important;}.mo_btn-dribbble:hover,.mo_btn-dribbble:focus,.mo_btn-dribbble:active,.mo_btn-dribbble.active,.open>.dropdown-toggle.mo_btn-dribbble{color:#fff;background-color:#ee66aa;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ee66aa,#ee66aa) !important;}
128
  .mo_btn-dribbble:active,.mo_btn-dribbble.active,.open>.dropdown-toggle.mo_btn-dribbble{background-image:none}
129
  .mo_btn-dribbble.disabled,.mo_btn-dribbble[disabled],fieldset[disabled].mo_btn-dribbble,.mo_btn-dribbble.disabled:hover,.mo_btn-dribbble[disabled]:hover,fieldset[disabled] .mo_btn-dribbble:hover,.mo_btn-dribbble.disabled:focus,.mo_btn-dribbble[disabled]:focus,fieldset[disabled] .mo_btn-dribbble:focus,.mo_btn-dribbble.disabled:active,.mo_btn-dribbble[disabled]:active,fieldset[disabled] .mo_btn-dribbble:active,.mo_btn-dribbble.disabled.active,.mo_btn-dribbble[disabled].active,fieldset[disabled] .mo_btn-dribbble.active{background-color:#ee66aa;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ee66aa,#ee66aa) !important;}
130
  .mo_btn-dribbble .badge{color:#ee66aa;background-color:#fff}
131
  .mo_btn-dribbble-white{color:#000000 !important;background-color:#ee66aa;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-dribbble-white:hover,.mo_btn-dribbble-white:focus,.mo_btn-dribbble-white:active,.mo_btn-dribbble-white.active,.open>.dropdown-toggle.mo_btn-dribbble-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
 
 
 
 
132
  .mo_btn-discord{color:#fff !important;background-color:#7289da;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#7289da,#7289da) !important;}.mo_btn-discord:hover,.mo_btn-discord:focus,.mo_btn-discord:active,.mo_btn-discord.active,.open>.dropdown-toggle.mo_btn-discord{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#500a6f,#500a6f) !important;}
133
  .mo_btn-discord:active,.mo_btn-discord.active,.open>.dropdown-toggle.mo_btn-discord{background-image:none}
134
  .mo_btn-discord.disabled,.mo_btn-discord[disabled],fieldset[disabled].mo_btn-discord,.mo_btn-discord.disabled:hover,.mo_btn-discord[disabled]:hover,fieldset[disabled] .mo_btn-discord:hover,.mo_btn-discord.disabled:focus,.mo_btn-discord[disabled]:focus,fieldset[disabled] .mo_btn-discord:focus,.mo_btn-discord.disabled:active,.mo_btn-discord[disabled]:active,fieldset[disabled] .mo_btn-discord:active,.mo_btn-discord.disabled.active,.mo_btn-discord[disabled].active,fieldset[disabled] .mo_btn-discord.active{background-color:#7289da;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#7289da,#7289da) !important;}
135
  .mo_btn-discord .badge{color:#7289da;background-color:#fff}
136
  .mo_btn-discord-white{color:#000000 !important;background-color:#7289da;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-discord-white:hover,.mo_btn-discord-white:focus,.mo_btn-discord-white:active,.mo_btn-discord-white.active,.open>.dropdown-toggle.mo_btn-discord-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  .mo_btn-facebook:active,.mo_btn-facebook.active,.open>.dropdown-toggle.mo_btn-facebook{background-image:none}
36
  .mo_btn-facebook.disabled,.mo_btn-facebook[disabled],fieldset[disabled] .mo_btn-facebook,.mo_btn-facebook.disabled:hover,.mo_btn-facebook[disabled]:hover,fieldset[disabled] .mo_btn-facebook:hover,.mo_btn-facebook.disabled:focus,.mo_btn-facebook[disabled]:focus,fieldset[disabled] .mo_btn-facebook:focus,.mo_btn-facebook.disabled:active,.mo_btn-facebook[disabled]:active,fieldset[disabled] .mo_btn-facebook:active,.mo_btn-facebook.disabled.active,.mo_btn-facebook[disabled].active,fieldset[disabled] .mo_btn-facebook.active{background-color:#1877F2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1877F2,#1877F2) !important;}
37
  .mo_btn-facebook .badge{color:#1877F2;background-color:#fff}
38
+ .mo_btn-facebook-white{color:#000000 !important;background-color:#1877F2;border-color:rgba(0,0,0,0);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-facebook-white:hover,.mo_btn-facebook-white:focus,.mo_btn-facebook-white:active,.mo_btn-facebook-white.active,.open>.dropdown-toggle.mo_btn-facebook-white{color:#000000;background-color:#1877F2;border-color:rgba(0,0,0,0);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
39
+ .mo_btn-facebook-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-facebook-hov:hover,.mo_btn-facebook-hov:hover i{color:#FFFFFF !important;background-color:#1877F2;border-color:#1877F2 !important;}.mo_openid_ifacebook-hov{color:#1877f2;}.mo_openid_ifacebook-hov:hover{color:#FFFFFF !important;background:#1877f2!important;border-color: #1877f2!important;}
40
+ .mo_btn-mo-facebook{color: #1877f2;background-color: #FFFFFF}.mo_btn-mo-facebook:hover{color: #FFFFFF;background-color: #1877f2}
41
  .mo_btn-flickr{color:#fff !important;background-color:#ff0084;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ff0084,#ff0084) !important;}.mo_btn-flickr:hover,.mo_btn-flickr:focus,.mo_btn-flickr:active,.mo_btn-flickr.active,.open>.dropdown-toggle.mo_btn-flickr{color:#fff;background-color:#cc006a;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#cc006a,#cc006a) !important;}
42
  .mo_btn-flickr:active,.mo_btn-flickr.active,.open>.dropdown-toggle.mo_btn-flickr{background-image:none}
43
  .mo_btn-flickr.disabled,.mo_btn-flickr[disabled],fieldset[disabled] .mo_btn-flickr,.mo_btn-flickr.disabled:hover,.mo_btn-flickr[disabled]:hover,fieldset[disabled] .mo_btn-flickr:hover,.mo_btn-flickr.disabled:focus,.mo_btn-flickr[disabled]:focus,fieldset[disabled] .mo_btn-flickr:focus,.mo_btn-flickr.disabled:active,.mo_btn-flickr[disabled]:active,fieldset[disabled] .mo_btn-flickr:active,.mo_btn-flickr.disabled.active,.mo_btn-flickr[disabled].active,fieldset[disabled] .mo_btn-flickr.active{background-color:#ff0084;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ff0084,#ff0084) !important;}
50
  .mo_btn-github:active,.mo_btn-github.active,.open>.dropdown-toggle.mo_btn-github{background-image:none}
51
  .mo_btn-github.disabled,.mo_btn-github[disabled],fieldset[disabled] .mo_btn-github,.mo_btn-github.disabled:hover,.mo_btn-github[disabled]:hover,fieldset[disabled] .mo_btn-github:hover,.mo_btn-github.disabled:focus,.mo_btn-github[disabled]:focus,fieldset[disabled] .mo_btn-github:focus,.mo_btn-github.disabled:active,.mo_btn-github[disabled]:active,fieldset[disabled] .mo_btn-github:active,.mo_btn-github.disabled.active,.mo_btn-github[disabled].active,fieldset[disabled] .mo_btn-github.active{background-color:#444;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#444,#444) !important;}
52
  .mo_btn-github .badge{color:#444;background-color:#fff}
53
+ .mo_btn-google{color:#fff !important;background-color:#4285F4;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#4285F4,#4285F4) !important;}.mo_btn-google:focus,.mo_btn-google:active,.mo_btn-google.active,>.dropdown-toggle.mo_btn-google{color:#fff;background-color:#fff;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#fff,#fff) !important;}
54
  .mo_btn-google:active,.mo_btn-google.active,.open>.dropdown-toggle.mo_btn-google{background-image:none}
55
+ .mo_btn-google.disabled,.mo_btn-google[disabled],fieldset[disabled] .mo_btn-google,.mo_btn-google.disabled:hover,.mo_btn-google[disabled]:hover,fieldset[disabled] .mo_btn-google:hover,.mo_btn-google.disabled:focus,.mo_btn-google[disabled]:focus,fieldset[disabled] .mo_btn-google:focus,.mo_btn-google.disabled:active,.mo_btn-google[disabled]:active,fieldset[disabled] .mo_btn-google:active,.mo_btn-google.disabled.active,.mo_btn-google[disabled].active,fieldset[disabled] .mo_btn-google.active{background-color:#ffffff;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}
56
+ .mo_btn-google .badge{color:#ffffff;background-color:#4285F4}
57
+ .mo_btn-google-white{color:#000000 !important; background-color:#ffffff;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-google-white:focus,.mo_btn-google-white:active,.mo_btn-google-white.active,>.dropdown-toggle.mo_btn-google-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
58
+ .mo_btn-google-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-google-hov:hover,.mo_btn-google-hov:hover i{color:#FFFFFF !important;background-color:#DB4437;border-color:#DB4437 !important;}.mo_openid_igoogle-hov{color:#DB4437;}.mo_openid_igoogle-hov:hover{color:#FFFFFF !important;background:#DB4437!important;border-color:#DB4437 !important }
59
+ .mo_btn-mo-google{color: #DB4437;background-color: #FFFFFF}.mo_btn-mo-google:hover{color: #FFFFFF;background-color: #DB4437}
60
  .mo_btn-instagram{color:#fff!important;background-color:#3f729b;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#3f729b,#3f729b) !important;}.mo_btn-instagram:hover,.mo_btn-instagram:focus,.mo_btn-instagram:active,.mo_btn-instagram.active,.open>.dropdown-toggle.mo_btn-instagram{color:#fff;background-color:#305777;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#305777,#305777) !important;}
61
  .mo_btn-instagram:active,.mo_btn-instagram.active,.open>.dropdown-toggle.mo_btn-instagram{background-image:none}
62
  .mo_btn-instagram.disabled,.mo_btn-instagram[disabled],fieldset[disabled] .mo_btn-instagram,.mo_btn-instagram.disabled:hover,.mo_btn-instagram[disabled]:hover,fieldset[disabled] .mo_btn-instagram:hover,.mo_btn-instagram.disabled:focus,.mo_btn-instagram[disabled]:focus,fieldset[disabled] .mo_btn-instagram:focus,.mo_btn-instagram.disabled:active,.mo_btn-instagram[disabled]:active,fieldset[disabled] .mo_btn-instagram:active,.mo_btn-instagram.disabled.active,.mo_btn-instagram[disabled].active,fieldset[disabled] .mo_btn-instagram.active{background-color:#3f729b;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#3f729b,#3f729b) !important;}
63
  .mo_btn-instagram .badge{color:#3f729b;background-color:#fff}
64
+ .mo_btn-instagram-white{color:#000000 !important;background-color:#3f729b;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-instagram-white:hover,.mo_btn-instagram-white:focus,.mo_btn-instagram-white:active,.mo_btn-instagram-white.active,.open>.dropdown-toggle.mo_btn-instagram-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
65
+ .mo_btn-instagram-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-instagram-hov:hover,.mo_btn-instagram-hov:hover i{color:#FFFFFF !important;background-color:#3f729b;border-color:#3f729b;}.mo_openid_iinstagram-hov{color:#3f729b;}.mo_openid_iinstagram-hov:hover{color:#FFFFFF !important;background:#3f729b!important;border-color:#3f729b !important}
66
+ .mo_btn-mo-instagram{color: #3f729b;background-color: #FFFFFF}.mo_btn-mo-instagram:hover{color: #FFFFFF;background-color: #3f729b}
67
  .mo_btn-linkedin{color:#fff !important;background-color:#007bb6;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#007bb6,#007bb6) !important;}.mo_btn-linkedin:hover,.mo_btn-linkedin:focus,.mo_btn-linkedin:active,.mo_btn-linkedin.active,.open>.dropdown-toggle.mo_btn-linkedin{color:#fff;background-color:#005983;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#005983,#005983) !important;}
68
  .mo_btn-linkedin:active,.mo_btn-linkedin.active,.open>.dropdown-toggle.mo_btn-linkedin{background-image:none}
69
  .mo_btn-linkedin.disabled,.mo_btn-linkedin[disabled],fieldset[disabled] .mo_btn-linkedin,.mo_btn-linkedin.disabled:hover,.mo_btn-linkedin[disabled]:hover,fieldset[disabled] .mo_btn-linkedin:hover,.mo_btn-linkedin.disabled:focus,.mo_btn-linkedin[disabled]:focus,fieldset[disabled] .mo_btn-linkedin:focus,.mo_btn-linkedin.disabled:active,.mo_btn-linkedin[disabled]:active,fieldset[disabled] .mo_btn-linkedin:active,.mo_btn-linkedin.disabled.active,.mo_btn-linkedin[disabled].active,fieldset[disabled] .mo_btn-linkedin.active{background-color:#007bb6;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#007bb6,#007bb6) !important;}
70
  .mo_btn-linkedin .badge{color:#007bb6;background-color:#fff}
71
+ .mo_btn-linkedin-white{color:#000000 !important;background-color:#007bb6;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-linkedin-white:hover,.mo_btn-linkedin-white:focus,.mo_btn-linkedin-white:active,.mo_btn-linkedin-white.active,.open>.dropdown-toggle.mo_btn-linkedin-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
72
+ .mo_btn-linkedin-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-linkedin-hov:hover,.mo_btn-linkedin-hov:hover i{color:#FFFFFF !important;background-color:#007bb6;border-color:#007bb6!important;}.mo_openid_ilinkedin-hov{color:#007bb6;}.mo_openid_ilinkedin-hov:hover{color:#FFFFFF !important;background:#007bb6!important;border-color: #007bb6!important;}
73
+ .mo_btn-mo-linkedin{color: #007bb6;background-color: #FFFFFF}.mo_btn-mo-linkedin:hover{color: #FFFFFF;background-color: #007bb6}
74
  .mo_btn-microsoft{color:#fff !important;background-color:#2672ec;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2672ec,#2672ec) !important;}.mo_btn-microsoft:hover,.mo_btn-microsoft:focus,.mo_btn-microsoft:active,.mo_btn-microsoft.active,.open>.dropdown-toggle.mo_btn-microsoft{color:#fff;background-color:#125acd;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#125acd,#125acd) !important;}
75
  .mo_btn-microsoft:active,.mo_btn-microsoft.active,.open>.dropdown-toggle.mo_btn-microsoft{background-image:none}
76
  .mo_btn-microsoft.disabled,.mo_btn-microsoft[disabled],fieldset[disabled] .mo_btn-microsoft,.mo_btn-microsoft.disabled:hover,.mo_btn-microsoft[disabled]:hover,fieldset[disabled] .mo_btn-microsoft:hover,.mo_btn-microsoft.disabled:focus,.mo_btn-microsoft[disabled]:focus,fieldset[disabled] .mo_btn-microsoft:focus,.mo_btn-microsoft.disabled:active,.mo_btn-microsoft[disabled]:active,fieldset[disabled] .mo_btn-microsoft:active,.mo_btn-microsoft.disabled.active,.mo_btn-microsoft[disabled].active,fieldset[disabled] .mo_btn-microsoft.active{background-color:#2672ec;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2672ec,#2672ec) !important;}
87
  .mo_btn-reddit:active,.mo_btn-reddit.active,.open>.dropdown-toggle.mo_btn-reddit{background-image:none}
88
  .mo_btn-reddit.disabled,.mo_btn-reddit[disabled],fieldset[disabled] .mo_btn-reddit,.mo_btn-reddit.disabled:hover,.mo_btn-reddit[disabled]:hover,fieldset[disabled] .mo_btn-reddit:hover,.mo_btn-reddit.disabled:focus,.mo_btn-reddit[disabled]:focus,fieldset[disabled] .mo_btn-reddit:focus,.mo_btn-reddit.disabled:active,.mo_btn-reddit[disabled]:active,fieldset[disabled] .mo_btn-reddit:active,.mo_btn-reddit.disabled.active,.mo_btn-reddit[disabled].active,fieldset[disabled] .mo_btn-reddit.active{background-color:#CEE3F8;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#CEE3F8,#CEE3F8) !important;}
89
  .mo_btn-reddit .badge{color:#CEE3F8;background-color:#000}
90
+ .mo_btn-amazon{color:#fff !important;background-color:#f50;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#f50,#f50) !important;}.mo_btn-amazon:hover,.mo_btn-amazon:focus,.mo_btn-amazon:active,.mo_btn-amazon.active,.open>.dropdown-toggle.mo_btn-amazon{color:#fff;background-color:#c40;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#c40,#c40) !important;}
91
+ .mo_btn-amazon:active,.mo_btn-amazon.active,.open>.dropdown-toggle.mo_btn-amazon{background-image:none}
92
+ .mo_btn-amazon.disabled,.mo_btn-amazon[disabled],fieldset[disabled] .mo_btn-amazon,.mo_btn-amazon.disabled:hover,.mo_btn-amazon[disabled]:hover,fieldset[disabled] .mo_btn-amazon:hover,.mo_btn-amazon.disabled:focus,.mo_btn-amazon[disabled]:focus,fieldset[disabled] .mo_btn-amazon:focus,.mo_btn-amazon.disabled:active,.mo_btn-amazon[disabled]:active,fieldset[disabled] .mo_btn-amazon:active,.mo_btn-amazon.disabled.active,.mo_btn-amazon[disabled].active,fieldset[disabled] .mo_btn-amazon.active{background-color:#f50;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#f50,#f50) !important;}
93
+ .mo_btn-amazon .badge{color:#f50;background-color:#fff}
94
+ .mo_btn-amazon-white{color:#000000 !important;background-color:#FFFFFF;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-amazon-white:hover,.mo_btn-amazon-white:focus,.mo_btn-amazon-white:active,.mo_btn-amazon-white.active,.open>.dropdown-toggle.mo_btn-amazon-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
95
+ .mo_btn-amazon-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-amazon-hov:hover,.mo_btn-amazon-hov:hover i{color:#FFFFFF !important;background-color:#f50;border-color:#f50!important;}.mo_openid_iamazon-hov{color:#f50;}.mo_openid_iamazon-hov:hover{color:#FFFFFF !important;background:#f50!important;border-color: #f50!important;}
96
+ .mo_btn-mo-amazon{color: #f50;background-color: #FFFFFF}.mo_btn-mo-amazon:hover{color: #FFFFFF;background-color: #f50}
97
  .mo_btn-tumblr{color:#fff;background-color:#2c4762;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2c4762,#2c4762) !important;}.mo_btn-tumblr:hover,.mo_btn-tumblr:focus,.mo_btn-tumblr:active,.mo_btn-tumblr.active,.open>.dropdown-toggle.mo_btn-tumblr{color:#fff;background-color:#1c2d3f;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1c2d3f,#1c2d3f) !important;}
98
  .mo_btn-tumblr:active,.mo_btn-tumblr.active,.open>.dropdown-toggle.mo_btn-tumblr{background-image:none}
99
  .mo_btn-tumblr.disabled,.mo_btn-tumblr[disabled],fieldset[disabled] .mo_btn-tumblr,.mo_btn-tumblr.disabled:hover,.mo_btn-tumblr[disabled]:hover,fieldset[disabled] .mo_btn-tumblr:hover,.mo_btn-tumblr.disabled:focus,.mo_btn-tumblr[disabled]:focus,fieldset[disabled] .mo_btn-tumblr:focus,.mo_btn-tumblr.disabled:active,.mo_btn-tumblr[disabled]:active,fieldset[disabled] .mo_btn-tumblr:active,.mo_btn-tumblr.disabled.active,.mo_btn-tumblr[disabled].active,fieldset[disabled] .mo_btn-tumblr.active{background-color:#2c4762;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2c4762,#2c4762) !important;}
100
  .mo_btn-tumblr .badge{color:#2c4762;background-color:#fff}
101
+
102
  .mo_btn-twitter{color:#fff !important;background-color:#55acee;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#55acee,#55acee) !important;}.mo_btn-twitter:hover,.mo_btn-twitter:focus,.mo_btn-twitter:active,.mo_btn-twitter.active,.open>.dropdown-toggle.mo_btn-twitter{color:#fff;background-color:#2795e9;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2795e9,#2795e9) !important;}
103
  .mo_btn-twitter:active,.mo_btn-twitter.active,.open>.dropdown-toggle.mo_btn-twitter{background-image:none}
104
  .mo_btn-twitter.disabled,.mo_btn-twitter[disabled],fieldset[disabled] .mo_btn-twitter,.mo_btn-twitter.disabled:hover,.mo_btn-twitter[disabled]:hover,fieldset[disabled] .mo_btn-twitter:hover,.mo_btn-twitter.disabled:focus,.mo_btn-twitter[disabled]:focus,fieldset[disabled] .mo_btn-twitter:focus,.mo_btn-twitter.disabled:active,.mo_btn-twitter[disabled]:active,fieldset[disabled] .mo_btn-twitter:active,.mo_btn-twitter.disabled.active,.mo_btn-twitter[disabled].active,fieldset[disabled] .mo_btn-twitter.active{background-color:#55acee;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#55acee,#55acee) !important;}
105
  .mo_btn-twitter .badge{color:#55acee;background-color:#fff}
106
+ .mo_btn-twitter-white{color:#000000 !important;background-color:#ffffff;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-twitter-white:hover,.mo_btn-twitter-white:focus,.mo_btn-twitter-white:active,.mo_btn-twitter-white.active,.open>.dropdown-toggle.mo_btn-twitter-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
107
+ .mo_btn-twitter-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-twitter-hov:hover,.mo_btn-twitter-hov:hover i{color:#FFFFFF !important;background-color:#55acee;border-color:#55acee !important;}.mo_openid_itwitter-hov{color:#55acee;}.mo_openid_itwitter-hov:hover{color:#FFFFFF !important;background:#55acee!important;border-color:#55acee!important; }
108
+ .mo_btn-mo-twitter{color: #55acee;background-color: #FFFFFF}.mo_btn-mo-twitter:hover{color: #FFFFFF;background-color: #55acee}
109
+
110
  .mo_btn-vimeo{color:#fff !important;background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}.mo_btn-vimeo:hover,.mo_btn-vimeo:focus,.mo_btn-vimeo:active,.mo_btn-vimeo.active,.open>.dropdown-toggle.mo_btn-vimeo{color:#fff;background-color:#1295bf;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1295bf,#1295bf) !important;}
111
  .mo_btn-vimeo:active,.mo_btn-vimeo.active,.open>.dropdown-toggle.mo_btn-vimeo{background-image:none}
112
  .mo_btn-vimeo.disabled,.mo_btn-vimeo[disabled],fieldset[disabled] .mo_btn-vimeo,.mo_btn-vimeo.disabled:hover,.mo_btn-vimeo[disabled]:hover,fieldset[disabled] .mo_btn-vimeo:hover,.mo_btn-vimeo.disabled:focus,.mo_btn-vimeo[disabled]:focus,fieldset[disabled] .mo_btn-vimeo:focus,.mo_btn-vimeo.disabled:active,.mo_btn-vimeo[disabled]:active,fieldset[disabled] .mo_btn-vimeo:active,.mo_btn-vimeo.disabled.active,.mo_btn-vimeo[disabled].active,fieldset[disabled] .mo_btn-vimeo.active{background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}
115
  .mo_btn-kakao:active,.mo_btn-kakao.active,.open>.dropdown-toggle.mo_btn-kakao{background-image:none}
116
  .mo_btn-kakao.disabled,.mo_btn-kakao[disabled],fieldset[disabled] .mo_btn-kakao,.mo_btn-kakao.disabled:hover,.mo_btn-kakao[disabled]:hover,fieldset[disabled] .mo_btn-kakao:hover,.mo_btn-kakao.disabled:focus,.mo_btn-kakao[disabled]:focus,fieldset[disabled] .mo_btn-kakao:focus,.mo_btn-kakao.disabled:active,.mo_btn-kakao[disabled]:active,fieldset[disabled] .mo_btn-kakao:active,.mo_btn-kakao.disabled.active,.mo_btn-kakao[disabled].active,fieldset[disabled] .mo_btn-kakao.active{background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}
117
  .mo_btn-kakao .badge{color:#1ab7ea;background-color:#fff}
118
+
119
  .mo_btn-vk{color:#fff !important;background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}.mo_btn-vk:hover,.mo_btn-vk:focus,.mo_btn-vk:active,.mo_btn-vk.active,.open>.dropdown-toggle.mo_btn-vk{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#466482,#466482) !important;}
120
  .mo_btn-vk:active,.mo_btn-vk.active,.open>.dropdown-toggle.mo_btn-vk{background-image:none}
121
  .mo_btn-vk.disabled,.mo_btn-vk[disabled],fieldset[disabled] .mo_btn-vk,.mo_btn-vk.disabled:hover,.mo_btn-vk[disabled]:hover,fieldset[disabled] .mo_btn-vk:hover,.mo_btn-vk.disabled:focus,.mo_btn-vk[disabled]:focus,fieldset[disabled] .mo_btn-vk:focus,.mo_btn-vk.disabled:active,.mo_btn-vk[disabled]:active,fieldset[disabled] .mo_btn-vk:active,.mo_btn-vk.disabled.active,.mo_btn-vk[disabled].active,fieldset[disabled] .mo_btn-vk.active{background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}
122
  .mo_btn-vk .badge{color:#587ea3;background-color:#fff}
123
+ .mo_btn-vk-white{color:#000000 !important;background-color:#ffffff;background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-vk-white:hover,.mo_btn-vk-white:focus,.mo_btn-vk-white:active,.mo_btn-vk-white.active,.open>.dropdown-toggle.mo_btn-vk-white{color:#000000;background-color:#4267B2;background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
124
+ .mo_btn-vk-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-vk-hov:hover,.mo_btn-vk-hov:hover i{color:#FFFFFF !important;background-color:#587ea3;border-color:#587ea3 !important;}.mo_openid_ivk-hov{color:#587ea3;}.mo_openid_ivk-hov:hover{color:#FFFFFF !important;background:#587ea3!important;border-color: #587ea3!important;}
125
+ .mo_btn-mo-vk{color: #587ea3;background-color: #FFFFFF}.mo_btn-mo-vk:hover{color: #FFFFFF;background-color: #587ea3}
126
+
127
  .mo_btn-yahoo{color:#fff !important;background-color:#720e9e;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#720e9e,#720e9e) !important;}.mo_btn-yahoo:hover,.mo_btn-yahoo:focus,.mo_btn-yahoo:active,.mo_btn-yahoo.active,.open>.dropdown-toggle.mo_btn-yahoo{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#500a6f,#500a6f) !important;}
128
  .mo_btn-yahoo:active,.mo_btn-yahoo.active,.open>.dropdown-toggle.mo_btn-yahoo{background-image:none}
129
  .mo_btn-yahoo.disabled,.mo_btn-yahoo[disabled],fieldset[disabled] .mo_btn-yahoo,.mo_btn-yahoo.disabled:hover,.mo_btn-yahoo[disabled]:hover,fieldset[disabled] .mo_btn-yahoo:hover,.mo_btn-yahoo.disabled:focus,.mo_btn-yahoo[disabled]:focus,fieldset[disabled] .mo_btn-yahoo:focus,.mo_btn-yahoo.disabled:active,.mo_btn-yahoo[disabled]:active,fieldset[disabled] .mo_btn-yahoo:active,.mo_btn-yahoo.disabled.active,.mo_btn-yahoo[disabled].active,fieldset[disabled] .mo_btn-yahoo.active{background-color:#720e9e;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#720e9e,#720e9e) !important;}
130
  .mo_btn-yahoo .badge{color:#720e9e;background-color:#fff}
131
+ .mo_btn-yahoo-white{color:#000000 !important;background-color:#720e9e;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-yahoo-white:hover,.mo_btn-yahoo-white:focus,.mo_btn-yahoo-white:active,.mo_btn-yahoo-white.active,.open>.dropdown-toggle.mo_btn-yahoo-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
132
+ .mo_btn-yahoo-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-yahoo-hov:hover,.mo_btn-yahoo-hov:hover i{color:#FFFFFF !important;background-color:#720e9e;border-color:#720e9e!important;}.mo_openid_iyahoo-hov{color:#720e9e;}.mo_openid_iyahoo-hov:hover{color:#FFFFFF !important;background:#720e9e!important;border-color: #720e9e!important;}
133
+ .mo_btn-mo-yahoo{color: #720e9e;background-color: #FFFFFF}.mo_btn-mo-yahoo:hover{color: #FFFFFF;background-color: #720e9e}
134
+
135
  .mo_btn-wordpress{color:#fff !important;background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}.mo_btn-wordpress:hover,.mo_btn-wordpress:focus,.mo_btn-wordpress:active,.mo_btn-wordpress.active,.open>.dropdown-toggle.mo_btn-wordpress{color:#fff;background-color:#466482;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#466482,#466482) !important;}
136
  .mo_btn-wordpress:active,.mo_btn-wordpress.active,.open>.dropdown-toggle.mo_btn-wordpress{background-image:none}
137
  .mo_btn-wordpress.disabled,.mo_btn-wordpress[disabled],fieldset[disabled] .mo_btn-wordpress,.mo_btn-wordpress.disabled:hover,.mo_btn-wordpress[disabled]:hover,fieldset[disabled] .mo_btn-wordpress:hover,.mo_btn-wordpress.disabled:focus,.mo_btn-wordpress[disabled]:focus,fieldset[disabled] .mo_btn-wordpress:focus,.mo_btn-wordpress.disabled:active,.mo_btn-wordpress[disabled]:active,fieldset[disabled] .mo_btn-wordpress:active,.mo_btn-wordpress.disabled.active,.mo_btn-wordpress[disabled].active,fieldset[disabled] .mo_btn-wordpress.active{background-color:#587ea3;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#587ea3,#587ea3) !important;}
153
  .mo_btn-snapchat.disabled,.mo_btn-snapchat[disabled],fieldset[disabled] .mo_btn-snapchat,.mo_btn-snapchat.disabled:hover,.mo_btn-snapchat[disabled]:hover,fieldset[disabled] .mo_btn-snapchat:hover,.mo_btn-snapchat.disabled:focus,.mo_btn-snapchat[disabled]:focus,fieldset[disabled] .mo_btn-snapchat:focus,.mo_btn-snapchat.disabled:active,.mo_btn-snapchat[disabled]:active,fieldset[disabled] .mo_btn-snapchat:active,.mo_btn-snapchat.disabled.active,.mo_btn-snapchat[disabled].active,fieldset[disabled] .mo_btn-snapchat.active{background-color:#FFFC00;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#FFFC00,#FFFC00) !important;}
154
  .mo_btn-snapchat .badge{color:#FFFC00;background-color:#fff}
155
  .mo_btn-snapchat-white{color:#000000 !important;background-color:#FFFC00;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-snapchat-white:hover,.mo_btn-snapchat-white:focus,.mo_btn-snapchat-white:active,.mo_btn-snapchat-white.active,.open>.dropdown-toggle.mo_btn-snapchat-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
156
+ .mo_btn-snapchat-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-snapchat-hov:hover,.mo_btn-snapchat-hov:hover i{color:#FFFFFF !important;background-color:#FFFC00;border-color:#FFFC00!important;}.mo_openid_isnapchat-hov{color:#FFFC00;}.mo_openid_isnapchat-hov:hover{color:#FFFFFF !important;background:#FFFC00!important;border-color: #FFFC00!important;}
157
+ .mo_btn-mo-snapchat{color: #FFFC00;background-color: #FFFFFF}.mo_btn-mo-snapchat:hover{color: #FFFFFF;background-color: #FFFC00}
158
+
159
  .mo_btn-dribbble{color:#fff !important;background-color:#ee66aa;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ee66aa,#ee66aa) !important;}.mo_btn-dribbble:hover,.mo_btn-dribbble:focus,.mo_btn-dribbble:active,.mo_btn-dribbble.active,.open>.dropdown-toggle.mo_btn-dribbble{color:#fff;background-color:#ee66aa;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ee66aa,#ee66aa) !important;}
160
  .mo_btn-dribbble:active,.mo_btn-dribbble.active,.open>.dropdown-toggle.mo_btn-dribbble{background-image:none}
161
  .mo_btn-dribbble.disabled,.mo_btn-dribbble[disabled],fieldset[disabled].mo_btn-dribbble,.mo_btn-dribbble.disabled:hover,.mo_btn-dribbble[disabled]:hover,fieldset[disabled] .mo_btn-dribbble:hover,.mo_btn-dribbble.disabled:focus,.mo_btn-dribbble[disabled]:focus,fieldset[disabled] .mo_btn-dribbble:focus,.mo_btn-dribbble.disabled:active,.mo_btn-dribbble[disabled]:active,fieldset[disabled] .mo_btn-dribbble:active,.mo_btn-dribbble.disabled.active,.mo_btn-dribbble[disabled].active,fieldset[disabled] .mo_btn-dribbble.active{background-color:#ee66aa;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ee66aa,#ee66aa) !important;}
162
  .mo_btn-dribbble .badge{color:#ee66aa;background-color:#fff}
163
  .mo_btn-dribbble-white{color:#000000 !important;background-color:#ee66aa;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-dribbble-white:hover,.mo_btn-dribbble-white:focus,.mo_btn-dribbble-white:active,.mo_btn-dribbble-white.active,.open>.dropdown-toggle.mo_btn-dribbble-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
164
+ .mo_btn-dribbble-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-dribbble-hov:hover,.mo_btn-dribbble-hov:hover i{color:#FFFFFF !important;background-color:#ee66aa;border-color:#ee66aa!important;}.mo_openid_idribbble-hov{color:#ee66aa;}.mo_openid_idribbble-hov:hover{color:#FFFFFF !important;background:#ee66aa!important;border-color: #ee66aa!important;}
165
+ .mo_btn-mo-dribbble{color: #ee66aa;background-color: #FFFFFF}.mo_btn-mo-dribbble:hover{color: #FFFFFF;background-color: #ee66aa}
166
+
167
+
168
  .mo_btn-discord{color:#fff !important;background-color:#7289da;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#7289da,#7289da) !important;}.mo_btn-discord:hover,.mo_btn-discord:focus,.mo_btn-discord:active,.mo_btn-discord.active,.open>.dropdown-toggle.mo_btn-discord{color:#fff;background-color:#500a6f;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#500a6f,#500a6f) !important;}
169
  .mo_btn-discord:active,.mo_btn-discord.active,.open>.dropdown-toggle.mo_btn-discord{background-image:none}
170
  .mo_btn-discord.disabled,.mo_btn-discord[disabled],fieldset[disabled].mo_btn-discord,.mo_btn-discord.disabled:hover,.mo_btn-discord[disabled]:hover,fieldset[disabled] .mo_btn-discord:hover,.mo_btn-discord.disabled:focus,.mo_btn-discord[disabled]:focus,fieldset[disabled] .mo_btn-discord:focus,.mo_btn-discord.disabled:active,.mo_btn-discord[disabled]:active,fieldset[disabled] .mo_btn-discord:active,.mo_btn-discord.disabled.active,.mo_btn-discord[disabled].active,fieldset[disabled] .mo_btn-discord.active{background-color:#7289da;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#7289da,#7289da) !important;}
171
  .mo_btn-discord .badge{color:#7289da;background-color:#fff}
172
  .mo_btn-discord-white{color:#000000 !important;background-color:#7289da;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-discord-white:hover,.mo_btn-discord-white:focus,.mo_btn-discord-white:active,.mo_btn-discord-white.active,.open>.dropdown-toggle.mo_btn-discord-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
173
+ .mo_btn-discord-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-discord-hov:hover,.mo_btn-discord-hov:hover i{color:#FFFFFF !important;background-color:#7289da;border-color:#7289da!important;}.mo_openid_idiscord-hov{color:#7289da;}.mo_openid_idiscord-hov:hover{color:#FFFFFF !important;background:#7289da!important;border-color: #7289da!important;}
174
+ .mo_btn-mo-discord{color: #7289da;background-color: #FFFFFF}.mo_btn-mo-discord:hover{color: #FFFFFF;background-color: #7289da}
175
+
176
+
177
+ .mo_btn-salesforce{color:#fff !important;background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}.mo_btn-salesforce:hover,.mo_btn-salesforce:focus,.mo_btn-salesforce:active,.mo_btn-salesforce.active,.open>.dropdown-toggle.mo_btn-salesforce{color:#fff;background-color:#c40;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#c40,#c40) !important;}
178
+ .mo_btn-salesforce:active,.mo_btn-salesforce.active,.open>.dropdown-toggle.mo_btn-salesforce{background-image:none}
179
+ .mo_btn-salesforce.disabled,.mo_btn-salesforce[disabled],fieldset[disabled] .mo_btn-salesforce,.mo_btn-salesforce.disabled:hover,.mo_btn-salesforce[disabled]:hover,fieldset[disabled] .mo_btn-salesforce:hover,.mo_btn-salesforce.disabled:focus,.mo_btn-salesforce[disabled]:focus,fieldset[disabled] .mo_btn-salesforce:focus,.mo_btn-salesforce.disabled:active,.mo_btn-salesforce[disabled]:active,fieldset[disabled] .mo_btn-salesforce:active,.mo_btn-salesforce.disabled.active,.mo_btn-salesforce[disabled].active,fieldset[disabled] .mo_btn-salesforce.active{background-color:#1ab7ea;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#1ab7ea,#1ab7ea) !important;}
180
+ .mo_btn-salesforce .badge{color:#1ab7ea;background-color:#fff}
181
+ .mo_btn-salesforce-white{color:#000000 !important;background-color:#FFFFFF;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-salesforce-white:hover,.mo_btn-salesforce-white:focus,.mo_btn-salesforce-white:active,.mo_btn-salesforce-white.active,.open>.dropdown-toggle.mo_btn-salesforce-white{color:#000000;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
182
+ .mo_btn-salesforce-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-salesforce-hov:hover,.mo_btn-salesforce-hov:hover i{color:#FFFFFF !important;background-color:#1ab7ea;border-color:#1ab7ea!important;}.mo_openid_isalesforce-hov{color:#1ab7ea;}.mo_openid_isalesforce-hov:hover{color:#FFFFFF !important;background:#1ab7ea!important;border-color: #1ab7ea!important;}
183
+ .mo_btn-mo-salesforce{color: #1ab7ea;background-color: #FFFFFF}.mo_btn-mo-salesforce:hover{color: #FFFFFF;background-color: #1ab7ea}
184
+ .mo_btn-windows{color:#fff !important;background-color:#2672ec;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2672ec,#2672ec) !important;}.mo_btn-windows:hover,.mo_btn-windows:focus,.mo_btn-windows:active,.mo_btn-windows.active,.open>.dropdown-toggle.mo_btn-windows{color:#fff;background-color:#125acd;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#125acd,#125acd) !important;}
185
+ .mo_btn-windows:active,.mo_btn-windows.active,.open>.dropdown-toggle.mo_btn-windows{background-image:none}
186
+ .mo_btn-windows.disabled,.mo_btn-windows[disabled],fieldset[disabled] .mo_btn-windows,.mo_btn-windows.disabled:hover,.mo_btn-windows[disabled]:hover,fieldset[disabled] .mo_btn-windows:hover,.mo_btn-windows.disabled:focus,.mo_btn-windows[disabled]:focus,fieldset[disabled] .mo_btn-windows:focus,.mo_btn-windows.disabled:active,.mo_btn-windows[disabled]:active,fieldset[disabled] .mo_btn-windows:active,.mo_btn-windows.disabled.active,.mo_btn-windows[disabled].active,fieldset[disabled] .mo_btn-windows.active{background-color:#2672ec;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#2672ec,#2672ec) !important;}
187
+ .mo_btn-windows .badge{color:#2672ec;background-color:#fff}
188
+ .mo_btn-windows-white{color:#2672ec !important;background-color:#FFFFFF;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#ffffff,#ffffff) !important;}.mo_btn-windows-white:hover,.mo_btn-windows-white:focus,.mo_btn-windows-white:active,.mo_btn-windows-white.active,.open>.dropdown-toggle.mo_btn-windows-white{color:#2672ec;background-color:#4267B2;border-color:rgba(0,0,0,0.2);background-image: linear-gradient(to bottom,#F8F8F8,#F8F8F8) !important;}
189
+ .mo_btn-windows-hov{color:#000000;background-color:#FFFFFF;border-color:rgba(0,0,0,0);}.mo_btn-windows-hov:hover,.mo_btn-windows-hov:hover i{color:#FFFFFF !important;background-color:#2672ec;border-color:#2672ec!important;}.mo_openid_iwindows-hov{color:#2672ec;}.mo_openid_iwindows-hov:hover{color:#FFFFFF !important;background:#2672ec!important; border-color: #2672ec!important; }
190
+ .mo_btn-mo-windows{color: #2672ec;background-color: #FFFFFF}.mo_btn-mo-windows:hover{color: #FFFFFF;background-color: #2672ec}
includes/css/bootstrap.min-preview.css CHANGED
@@ -33,7 +33,35 @@
33
  text-decoration: none
34
  }
35
 
36
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  .mo_btn:focus,.mo_btn:active:focus,.mo_btn.active:focus,.mo_btn.focus,.mo_btn:active.focus,.mo_btn.active.focus
38
  {
39
  outline: thin dotted;
33
  text-decoration: none
34
  }
35
 
36
+ .mo_btn_smart {
37
+ display: inline-block;
38
+ /*padding: 6px 12px;*/
39
+ margin-bottom: 0;
40
+ font-size: 14px;
41
+ font-weight: 400;
42
+ line-height: 1.42857143;
43
+ text-align: center;
44
+ white-space: nowrap;
45
+ vertical-align: middle;
46
+ -ms-touch-action: manipulation;
47
+ touch-action: manipulation;
48
+ cursor: pointer;
49
+ -webkit-user-select: none;
50
+ -moz-user-select: none;
51
+ -ms-user-select: none;
52
+ user-select: none;
53
+ background-image: none;
54
+ border-radius: 4px;
55
+ text-decoration: none;
56
+ }
57
+ .mo_btn_transform:hover{
58
+ transform: scale(1.1);
59
+ transition: 0.3s;
60
+ }
61
+ .mo_btn_transform_i:hover{
62
+ transform: scale(1.2);
63
+ transition: 0.5s;
64
+ }
65
  .mo_btn:focus,.mo_btn:active:focus,.mo_btn.active:focus,.mo_btn.focus,.mo_btn:active.focus,.mo_btn.active.focus
66
  {
67
  outline: thin dotted;
includes/css/font-awesome.min.css CHANGED
@@ -1,4 +1,4 @@
1
  /*!
2
  * Font Awesome 4.6.2 by @davegandy - http://fontawesome.io - @fontawesome
3
  * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4
- */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.6.2');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.6.2') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.6.2') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.6.2') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.6.2') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.6.2#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.mofa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mofa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.mofa-2x{font-size:2em}.mofa-3x{font-size:3em}.mofa-4x{font-size:4em}.mofa-5x{font-size:5em}.mofa-fw{width:1.28571429em;text-align:center}.mofa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.mofa-ul>li{position:relative}.mofa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.mofa-li.mofa-lg{left:-1.85714286em}.mofa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.mofa-pull-left{float:left}.mofa-pull-right{float:right}.mofa.mofa-pull-left{margin-right:.3em}.mofa.mofa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.mofa.pull-left{margin-right:.3em}.mofa.pull-right{margin-left:.3em}.mofa-spin{-webkit-animation:mofa-spin 2s infinite linear;animation:mofa-spin 2s infinite linear}.mofa-pulse{-webkit-animation:mofa-spin 1s infinite steps(8);animation:mofa-spin 1s infinite steps(8)}@-webkit-keyframes mofa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes mofa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.mofa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.mofa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.mofa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.mofa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.mofa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .mofa-rotate-90,:root .mofa-rotate-180,:root .mofa-rotate-270,:root .mofa-flip-horizontal,:root .mofa-flip-vertical{filter:none}.mofa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.mofa-stack-1x,.mofa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.mofa-stack-1x{line-height:inherit}.mofa-stack-2x{font-size:2em}.mofa-inverse{color:#fff}.mofa-glass:before{content:"\f000"}.mofa-music:before{content:"\f001"}.mofa-search:before{content:"\f002"}.mofa-envelope-o:before{content:"\f003"}.mofa-heart:before{content:"\f004"}.mofa-star:before{content:"\f005"}.mofa-star-o:before{content:"\f006"}.mofa-user:before{content:"\f007"}.mofa-film:before{content:"\f008"}.mofa-th-large:before{content:"\f009"}.mofa-th:before{content:"\f00a"}.mofa-th-list:before{content:"\f00b"}.mofa-check:before{content:"\f00c"}.mofa-remove:before,.mofa-close:before,.mofa-times:before{content:"\f00d"}.mofa-search-plus:before{content:"\f00e"}.mofa-search-minus:before{content:"\f010"}.mofa-power-off:before{content:"\f011"}.mofa-signal:before{content:"\f012"}.mofa-gear:before,.mofa-cog:before{content:"\f013"}.mofa-trash-o:before{content:"\f014"}.mofa-home:before{content:"\f015"}.mofa-file-o:before{content:"\f016"}.mofa-clock-o:before{content:"\f017"}.mofa-road:before{content:"\f018"}.mofa-download:before{content:"\f019"}.mofa-arrow-circle-o-down:before{content:"\f01a"}.mofa-arrow-circle-o-up:before{content:"\f01b"}.mofa-inbox:before{content:"\f01c"}.mofa-play-circle-o:before{content:"\f01d"}.mofa-rotate-right:before,.mofa-repeat:before{content:"\f01e"}.mofa-refresh:before{content:"\f021"}.mofa-list-alt:before{content:"\f022"}.mofa-lock:before{content:"\f023"}.mofa-flag:before{content:"\f024"}.mofa-headphones:before{content:"\f025"}.mofa-volume-off:before{content:"\f026"}.mofa-volume-down:before{content:"\f027"}.mofa-volume-up:before{content:"\f028"}.mofa-qrcode:before{content:"\f029"}.mofa-barcode:before{content:"\f02a"}.mofa-tag:before{content:"\f02b"}.mofa-tags:before{content:"\f02c"}.mofa-book:before{content:"\f02d"}.mofa-bookmark:before{content:"\f02e"}.mofa-print:before{content:"\f02f"}.mofa-camera:before{content:"\f030"}.mofa-font:before{content:"\f031"}.mofa-bold:before{content:"\f032"}.mofa-italic:before{content:"\f033"}.mofa-text-height:before{content:"\f034"}.mofa-text-width:before{content:"\f035"}.mofa-align-left:before{content:"\f036"}.mofa-align-center:before{content:"\f037"}.mofa-align-right:before{content:"\f038"}.mofa-align-justify:before{content:"\f039"}.mofa-list:before{content:"\f03a"}.mofa-dedent:before,.mofa-outdent:before{content:"\f03b"}.mofa-indent:before{content:"\f03c"}.mofa-video-camera:before{content:"\f03d"}.mofa-photo:before,.mofa-image:before,.mofa-picture-o:before{content:"\f03e"}.mofa-pencil:before{content:"\f040"}.mofa-map-marker:before{content:"\f041"}.mofa-adjust:before{content:"\f042"}.mofa-tint:before{content:"\f043"}.mofa-edit:before,.mofa-pencil-square-o:before{content:"\f044"}.mofa-share-square-o:before{content:"\f045"}.mofa-check-square-o:before{content:"\f046"}.mofa-arrows:before{content:"\f047"}.mofa-step-backward:before{content:"\f048"}.mofa-fast-backward:before{content:"\f049"}.mofa-backward:before{content:"\f04a"}.mofa-play:before{content:"\f04b"}.mofa-pause:before{content:"\f04c"}.mofa-stop:before{content:"\f04d"}.mofa-forward:before{content:"\f04e"}.mofa-fast-forward:before{content:"\f050"}.mofa-step-forward:before{content:"\f051"}.mofa-eject:before{content:"\f052"}.mofa-chevron-left:before{content:"\f053"}.mofa-chevron-right:before{content:"\f054"}.mofa-plus-circle:before{content:"\f055"}.mofa-minus-circle:before{content:"\f056"}.mofa-times-circle:before{content:"\f057"}.mofa-check-circle:before{content:"\f058"}.mofa-question-circle:before{content:"\f059"}.mofa-info-circle:before{content:"\f05a"}.mofa-crosshairs:before{content:"\f05b"}.mofa-times-circle-o:before{content:"\f05c"}.mofa-check-circle-o:before{content:"\f05d"}.mofa-ban:before{content:"\f05e"}.mofa-arrow-left:before{content:"\f060"}.mofa-arrow-right:before{content:"\f061"}.mofa-arrow-up:before{content:"\f062"}.mofa-arrow-down:before{content:"\f063"}.mofa-mail-forward:before,.mofa-share:before{content:"\f064"}.mofa-expand:before{content:"\f065"}.mofa-compress:before{content:"\f066"}.mofa-plus:before{content:"\f067"}.mofa-minus:before{content:"\f068"}.mofa-asterisk:before{content:"\f069"}.mofa-exclamation-circle:before{content:"\f06a"}.mofa-gift:before{content:"\f06b"}.mofa-leaf:before{content:"\f06c"}.mofa-fire:before{content:"\f06d"}.mofa-eye:before{content:"\f06e"}.mofa-eye-slash:before{content:"\f070"}.mofa-warning:before,.mofa-exclamation-triangle:before{content:"\f071"}.mofa-plane:before{content:"\f072"}.mofa-calendar:before{content:"\f073"}.mofa-random:before{content:"\f074"}.mofa-comment:before{content:"\f075"}.mofa-magnet:before{content:"\f076"}.mofa-chevron-up:before{content:"\f077"}.mofa-chevron-down:before{content:"\f078"}.mofa-retweet:before{content:"\f079"}.mofa-shopping-cart:before{content:"\f07a"}.mofa-folder:before{content:"\f07b"}.mofa-folder-open:before{content:"\f07c"}.mofa-arrows-v:before{content:"\f07d"}.mofa-arrows-h:before{content:"\f07e"}.mofa-bar-chart-o:before,.mofa-bar-chart:before{content:"\f080"}.mofa-twitter-square:before{content:"\f081"}.mofa-facebook-square:before{content:"\f082"}.mofa-camera-retro:before{content:"\f083"}.mofa-key:before{content:"\f084"}.mofa-gears:before,.mofa-cogs:before{content:"\f085"}.mofa-comments:before{content:"\f086"}.mofa-thumbs-o-up:before{content:"\f087"}.mofa-thumbs-o-down:before{content:"\f088"}.mofa-star-half:before{content:"\f089"}.mofa-heart-o:before{content:"\f08a"}.mofa-sign-out:before{content:"\f08b"}.mofa-linkedin-square:before{content:"\f08c"}.mofa-thumb-tack:before{content:"\f08d"}.mofa-external-link:before{content:"\f08e"}.mofa-sign-in:before{content:"\f090"}.mofa-trophy:before{content:"\f091"}.mofa-github-square:before{content:"\f092"}.mofa-upload:before{content:"\f093"}.mofa-lemon-o:before{content:"\f094"}.mofa-phone:before{content:"\f095"}.mofa-square-o:before{content:"\f096"}.mofa-bookmark-o:before{content:"\f097"}.mofa-phone-square:before{content:"\f098"}.mofa-twitter:before{content:"\f099"}.mofa-facebook-f:before,.mofa-facebook:before{content:"\f09a"}.mofa-github:before{content:"\f09b"}.mofa-unlock:before{content:"\f09c"}.mofa-credit-card:before{content:"\f09d"}.mofa-feed:before,.mofa-rss:before{content:"\f09e"}.mofa-hdd-o:before{content:"\f0a0"}.mofa-bullhorn:before{content:"\f0a1"}.mofa-bell:before{content:"\f0f3"}.mofa-certificate:before{content:"\f0a3"}.mofa-hand-o-right:before{content:"\f0a4"}.mofa-hand-o-left:before{content:"\f0a5"}.mofa-hand-o-up:before{content:"\f0a6"}.mofa-hand-o-down:before{content:"\f0a7"}.mofa-arrow-circle-left:before{content:"\f0a8"}.mofa-arrow-circle-right:before{content:"\f0a9"}.mofa-arrow-circle-up:before{content:"\f0aa"}.mofa-arrow-circle-down:before{content:"\f0ab"}.mofa-globe:before{content:"\f0ac"}.mofa-wrench:before{content:"\f0ad"}.mofa-tasks:before{content:"\f0ae"}.mofa-filter:before{content:"\f0b0"}.mofa-briefcase:before{content:"\f0b1"}.mofa-arrows-alt:before{content:"\f0b2"}.mofa-group:before,.mofa-users:before{content:"\f0c0"}.mofa-chain:before,.mofa-link:before{content:"\f0c1"}.mofa-cloud:before{content:"\f0c2"}.mofa-flask:before{content:"\f0c3"}.mofa-cut:before,.mofa-scissors:before{content:"\f0c4"}.mofa-copy:before,.mofa-files-o:before{content:"\f0c5"}.mofa-paperclip:before{content:"\f0c6"}.mofa-save:before,.mofa-floppy-o:before{content:"\f0c7"}.mofa-square:before{content:"\f0c8"}.mofa-navicon:before,.mofa-reorder:before,.mofa-bars:before{content:"\f0c9"}.mofa-list-ul:before{content:"\f0ca"}.mofa-list-ol:before{content:"\f0cb"}.mofa-strikethrough:before{content:"\f0cc"}.mofa-underline:before{content:"\f0cd"}.mofa-table:before{content:"\f0ce"}.mofa-magic:before{content:"\f0d0"}.mofa-truck:before{content:"\f0d1"}.mofa-pinterest:before{content:"\f0d2"}.mofa-pinterest-square:before{content:"\f0d3"}.mofa-google-plus-square:before{content:"\f0d4"}.mofa-google-plus:before{content:"\f0d5"}.mofa-money:before{content:"\f0d6"}.mofa-caret-down:before{content:"\f0d7"}.mofa-caret-up:before{content:"\f0d8"}.mofa-caret-left:before{content:"\f0d9"}.mofa-caret-right:before{content:"\f0da"}.mofa-columns:before{content:"\f0db"}.mofa-unsorted:before,.mofa-sort:before{content:"\f0dc"}.mofa-sort-down:before,.mofa-sort-desc:before{content:"\f0dd"}.mofa-sort-up:before,.mofa-sort-asc:before{content:"\f0de"}.mofa-envelope:before{content:"\f0e0"}.mofa-linkedin:before{content:"\f0e1"}.mofa-rotate-left:before,.mofa-undo:before{content:"\f0e2"}.mofa-legal:before,.mofa-gavel:before{content:"\f0e3"}.mofa-dashboard:before,.mofa-tachometer:before{content:"\f0e4"}.mofa-comment-o:before{content:"\f0e5"}.mofa-comments-o:before{content:"\f0e6"}.mofa-flash:before,.mofa-bolt:before{content:"\f0e7"}.mofa-sitemap:before{content:"\f0e8"}.mofa-umbrella:before{content:"\f0e9"}.mofa-paste:before,.mofa-clipboard:before{content:"\f0ea"}.mofa-lightbulb-o:before{content:"\f0eb"}.mofa-exchange:before{content:"\f0ec"}.mofa-cloud-download:before{content:"\f0ed"}.mofa-cloud-upload:before{content:"\f0ee"}.mofa-user-md:before{content:"\f0f0"}.mofa-stethoscope:before{content:"\f0f1"}.mofa-suitcase:before{content:"\f0f2"}.mofa-bell-o:before{content:"\f0a2"}.mofa-coffee:before{content:"\f0f4"}.mofa-cutlery:before{content:"\f0f5"}.mofa-file-text-o:before{content:"\f0f6"}.mofa-building-o:before{content:"\f0f7"}.mofa-hospital-o:before{content:"\f0f8"}.mofa-ambulance:before{content:"\f0f9"}.mofa-medkit:before{content:"\f0fa"}.mofa-fighter-jet:before{content:"\f0fb"}.mofa-beer:before{content:"\f0fc"}.mofa-h-square:before{content:"\f0fd"}.mofa-plus-square:before{content:"\f0fe"}.mofa-angle-double-left:before{content:"\f100"}.mofa-angle-double-right:before{content:"\f101"}.mofa-angle-double-up:before{content:"\f102"}.mofa-angle-double-down:before{content:"\f103"}.mofa-angle-left:before{content:"\f104"}.mofa-angle-right:before{content:"\f105"}.mofa-angle-up:before{content:"\f106"}.mofa-angle-down:before{content:"\f107"}.mofa-desktop:before{content:"\f108"}.mofa-laptop:before{content:"\f109"}.mofa-tablet:before{content:"\f10a"}.mofa-mobile-phone:before,.mofa-mobile:before{content:"\f10b"}.mofa-circle-o:before{content:"\f10c"}.mofa-quote-left:before{content:"\f10d"}.mofa-quote-right:before{content:"\f10e"}.mofa-spinner:before{content:"\f110"}.mofa-circle:before{content:"\f111"}.mofa-mail-reply:before,.mofa-reply:before{content:"\f112"}.mofa-github-alt:before{content:"\f113"}.mofa-folder-o:before{content:"\f114"}.mofa-folder-open-o:before{content:"\f115"}.mofa-smile-o:before{content:"\f118"}.mofa-frown-o:before{content:"\f119"}.mofa-meh-o:before{content:"\f11a"}.mofa-gamepad:before{content:"\f11b"}.mofa-keyboard-o:before{content:"\f11c"}.mofa-flag-o:before{content:"\f11d"}.mofa-flag-checkered:before{content:"\f11e"}.mofa-terminal:before{content:"\f120"}.mofa-code:before{content:"\f121"}.mofa-mail-reply-all:before,.mofa-reply-all:before{content:"\f122"}.mofa-star-half-empty:before,.mofa-star-half-full:before,.mofa-star-half-o:before{content:"\f123"}.mofa-location-arrow:before{content:"\f124"}.mofa-crop:before{content:"\f125"}.mofa-code-fork:before{content:"\f126"}.mofa-unlink:before,.mofa-chain-broken:before{content:"\f127"}.mofa-question:before{content:"\f128"}.mofa-info:before{content:"\f129"}.mofa-exclamation:before{content:"\f12a"}.mofa-superscript:before{content:"\f12b"}.mofa-subscript:before{content:"\f12c"}.mofa-eraser:before{content:"\f12d"}.mofa-puzzle-piece:before{content:"\f12e"}.mofa-microphone:before{content:"\f130"}.mofa-microphone-slash:before{content:"\f131"}.mofa-shield:before{content:"\f132"}.mofa-calendar-o:before{content:"\f133"}.mofa-fire-extinguisher:before{content:"\f134"}.mofa-rocket:before{content:"\f135"}.mofa-maxcdn:before{content:"\f136"}.mofa-chevron-circle-left:before{content:"\f137"}.mofa-chevron-circle-right:before{content:"\f138"}.mofa-chevron-circle-up:before{content:"\f139"}.mofa-chevron-circle-down:before{content:"\f13a"}.mofa-html5:before{content:"\f13b"}.mofa-css3:before{content:"\f13c"}.mofa-anchor:before{content:"\f13d"}.mofa-unlock-alt:before{content:"\f13e"}.mofa-bullseye:before{content:"\f140"}.mofa-ellipsis-h:before{content:"\f141"}.mofa-ellipsis-v:before{content:"\f142"}.mofa-rss-square:before{content:"\f143"}.mofa-play-circle:before{content:"\f144"}.mofa-ticket:before{content:"\f145"}.mofa-minus-square:before{content:"\f146"}.mofa-minus-square-o:before{content:"\f147"}.mofa-level-up:before{content:"\f148"}.mofa-level-down:before{content:"\f149"}.mofa-check-square:before{content:"\f14a"}.mofa-pencil-square:before{content:"\f14b"}.mofa-external-link-square:before{content:"\f14c"}.mofa-share-square:before{content:"\f14d"}.mofa-compass:before{content:"\f14e"}.mofa-toggle-down:before,.mofa-caret-square-o-down:before{content:"\f150"}.mofa-toggle-up:before,.mofa-caret-square-o-up:before{content:"\f151"}.mofa-toggle-right:before,.mofa-caret-square-o-right:before{content:"\f152"}.mofa-euro:before,.mofa-eur:before{content:"\f153"}.mofa-gbp:before{content:"\f154"}.mofa-dollar:before,.mofa-usd:before{content:"\f155"}.mofa-rupee:before,.mofa-inr:before{content:"\f156"}.mofa-cny:before,.mofa-rmb:before,.mofa-yen:before,.mofa-jpy:before{content:"\f157"}.mofa-ruble:before,.mofa-rouble:before,.mofa-rub:before{content:"\f158"}.mofa-won:before,.mofa-krw:before{content:"\f159"}.mofa-bitcoin:before,.mofa-btc:before{content:"\f15a"}.mofa-file:before{content:"\f15b"}.mofa-file-text:before{content:"\f15c"}.mofa-sort-alpha-asc:before{content:"\f15d"}.mofa-sort-alpha-desc:before{content:"\f15e"}.mofa-sort-amount-asc:before{content:"\f160"}.mofa-sort-amount-desc:before{content:"\f161"}.mofa-sort-numeric-asc:before{content:"\f162"}.mofa-sort-numeric-desc:before{content:"\f163"}.mofa-thumbs-up:before{content:"\f164"}.mofa-thumbs-down:before{content:"\f165"}.mofa-youtube-square:before{content:"\f166"}.mofa-youtube:before{content:"\f167"}.mofa-xing:before{content:"\f168"}.mofa-xing-square:before{content:"\f169"}.mofa-youtube-play:before{content:"\f16a"}.mofa-dropbox:before{content:"\f16b"}.mofa-stack-overflow:before{content:"\f16c"}.mofa-instagram:before{content:"\f16d"}.mofa-flickr:before{content:"\f16e"}.mofa-adn:before{content:"\f170"}.mofa-bitbucket:before{content:"\f171"}.mofa-bitbucket-square:before{content:"\f172"}.mofa-tumblr:before{content:"\f173"}.mofa-tumblr-square:before{content:"\f174"}.mofa-long-arrow-down:before{content:"\f175"}.mofa-long-arrow-up:before{content:"\f176"}.mofa-long-arrow-left:before{content:"\f177"}.mofa-long-arrow-right:before{content:"\f178"}.mofa-apple:before{content:"\f179"}.mofa-windows:before{content:"\f17a"}.mofa-android:before{content:"\f17b"}.mofa-linux:before{content:"\f17c"}.mofa-dribbble:before{content:"\f17d"}.mofa-skype:before{content:"\f17e"}.mofa-foursquare:before{content:"\f180"}.mofa-trello:before{content:"\f181"}.mofa-female:before{content:"\f182"}.mofa-male:before{content:"\f183"}.mofa-gittip:before,.mofa-gratipay:before{content:"\f184"}.mofa-sun-o:before{content:"\f185"}.mofa-moon-o:before{content:"\f186"}.mofa-archive:before{content:"\f187"}.mofa-bug:before{content:"\f188"}.mofa-vk:before{content:"\f189"}.mofa-weibo:before{content:"\f18a"}.mofa-renren:before{content:"\f18b"}.mofa-pagelines:before{content:"\f18c"}.mofa-stack-exchange:before{content:"\f18d"}.mofa-arrow-circle-o-right:before{content:"\f18e"}.mofa-arrow-circle-o-left:before{content:"\f190"}.mofa-toggle-left:before,.mofa-caret-square-o-left:before{content:"\f191"}.mofa-dot-circle-o:before{content:"\f192"}.mofa-wheelchair:before{content:"\f193"}.mofa-vimeo-square:before{content:"\f194"}.mofa-turkish-lira:before,.mofa-try:before{content:"\f195"}.mofa-plus-square-o:before{content:"\f196"}.mofa-space-shuttle:before{content:"\f197"}.mofa-slack:before{content:"\f198"}.mofa-envelope-square:before{content:"\f199"}.mofa-wordpress:before{content:"\f19a"}.mofa-openid:before{content:"\f19b"}.mofa-institution:before,.mofa-bank:before,.mofa-university:before{content:"\f19c"}.mofa-mortar-board:before,.mofa-graduation-cap:before{content:"\f19d"}.mofa-yahoo:before{content:"\f19e"}.mofa-google:before{content:"\f1a0"}.mofa-reddit:before{content:"\f1a1"}.mofa-reddit-square:before{content:"\f1a2"}.mofa-stumbleupon-circle:before{content:"\f1a3"}.mofa-stumbleupon:before{content:"\f1a4"}.mofa-delicious:before{content:"\f1a5"}.mofa-digg:before{content:"\f1a6"}.mofa-pied-piper-pp:before{content:"\f1a7"}.mofa-pied-piper-alt:before{content:"\f1a8"}.mofa-drupal:before{content:"\f1a9"}.mofa-joomla:before{content:"\f1aa"}.mofa-language:before{content:"\f1ab"}.mofa-fax:before{content:"\f1ac"}.mofa-building:before{content:"\f1ad"}.mofa-child:before{content:"\f1ae"}.mofa-paw:before{content:"\f1b0"}.mofa-spoon:before{content:"\f1b1"}.mofa-cube:before{content:"\f1b2"}.mofa-cubes:before{content:"\f1b3"}.mofa-behance:before{content:"\f1b4"}.mofa-behance-square:before{content:"\f1b5"}.mofa-steam:before{content:"\f1b6"}.mofa-steam-square:before{content:"\f1b7"}.mofa-recycle:before{content:"\f1b8"}.mofa-automobile:before,.mofa-car:before{content:"\f1b9"}.mofa-cab:before,.mofa-taxi:before{content:"\f1ba"}.mofa-tree:before{content:"\f1bb"}.mofa-spotify:before{content:"\f1bc"}.mofa-deviantart:before{content:"\f1bd"}.mofa-soundcloud:before{content:"\f1be"}.mofa-database:before{content:"\f1c0"}.mofa-file-pdf-o:before{content:"\f1c1"}.mofa-file-word-o:before{content:"\f1c2"}.mofa-file-excel-o:before{content:"\f1c3"}.mofa-file-powerpoint-o:before{content:"\f1c4"}.mofa-file-photo-o:before,.mofa-file-picture-o:before,.mofa-file-image-o:before{content:"\f1c5"}.mofa-file-zip-o:before,.mofa-file-archive-o:before{content:"\f1c6"}.mofa-file-sound-o:before,.mofa-file-audio-o:before{content:"\f1c7"}.mofa-file-movie-o:before,.mofa-file-video-o:before{content:"\f1c8"}.mofa-file-code-o:before{content:"\f1c9"}.mofa-vine:before{content:"\f1ca"}.mofa-codepen:before{content:"\f1cb"}.mofa-jsfiddle:before{content:"\f1cc"}.mofa-life-bouy:before,.mofa-life-buoy:before,.mofa-life-saver:before,.mofa-support:before,.mofa-life-ring:before{content:"\f1cd"}.mofa-circle-o-notch:before{content:"\f1ce"}.mofa-ra:before,.mofa-resistance:before,.mofa-rebel:before{content:"\f1d0"}.mofa-ge:before,.mofa-empire:before{content:"\f1d1"}.mofa-git-square:before{content:"\f1d2"}.mofa-git:before{content:"\f1d3"}.mofa-y-combinator-square:before,.mofa-yc-square:before,.mofa-hacker-news:before{content:"\f1d4"}.mofa-tencent-weibo:before{content:"\f1d5"}.mofa-qq:before{content:"\f1d6"}.mofa-wechat:before,.mofa-weixin:before{content:"\f1d7"}.mofa-send:before,.mofa-paper-plane:before{content:"\f1d8"}.mofa-send-o:before,.mofa-paper-plane-o:before{content:"\f1d9"}.mofa-history:before{content:"\f1da"}.mofa-circle-thin:before{content:"\f1db"}.mofa-header:before{content:"\f1dc"}.mofa-paragraph:before{content:"\f1dd"}.mofa-sliders:before{content:"\f1de"}.mofa-share-alt:before{content:"\f1e0"}.mofa-share-alt-square:before{content:"\f1e1"}.mofa-bomb:before{content:"\f1e2"}.mofa-soccer-ball-o:before,.mofa-futbol-o:before{content:"\f1e3"}.mofa-tty:before{content:"\f1e4"}.mofa-binoculars:before{content:"\f1e5"}.mofa-plug:before{content:"\f1e6"}.mofa-slideshare:before{content:"\f1e7"}.mofa-twitch:before{content:"\f1e8"}.mofa-yelp:before{content:"\f1e9"}.mofa-newspaper-o:before{content:"\f1ea"}.mofa-wifi:before{content:"\f1eb"}.mofa-calculator:before{content:"\f1ec"}.mofa-paypal:before{content:"\f1ed"}.mofa-google-wallet:before{content:"\f1ee"}.mofa-cc-visa:before{content:"\f1f0"}.mofa-cc-mastercard:before{content:"\f1f1"}.mofa-cc-discover:before{content:"\f1f2"}.mofa-cc-amex:before{content:"\f1f3"}.mofa-cc-paypal:before{content:"\f1f4"}.mofa-cc-stripe:before{content:"\f1f5"}.mofa-bell-slash:before{content:"\f1f6"}.mofa-bell-slash-o:before{content:"\f1f7"}.mofa-trash:before{content:"\f1f8"}.mofa-copyright:before{content:"\f1f9"}.mofa-at:before{content:"\f1fa"}.mofa-eyedropper:before{content:"\f1fb"}.mofa-paint-brush:before{content:"\f1fc"}.mofa-birthday-cake:before{content:"\f1fd"}.mofa-area-chart:before{content:"\f1fe"}.mofa-pie-chart:before{content:"\f200"}.mofa-line-chart:before{content:"\f201"}.mofa-lastfm:before{content:"\f202"}.mofa-lastfm-square:before{content:"\f203"}.mofa-toggle-off:before{content:"\f204"}.mofa-toggle-on:before{content:"\f205"}.mofa-bicycle:before{content:"\f206"}.mofa-bus:before{content:"\f207"}.mofa-ioxhost:before{content:"\f208"}.mofa-angellist:before{content:"\f209"}.mofa-cc:before{content:"\f20a"}.mofa-shekel:before,.mofa-sheqel:before,.mofa-ils:before{content:"\f20b"}.mofa-meanpath:before{content:"\f20c"}.mofa-buysellads:before{content:"\f20d"}.mofa-connectdevelop:before{content:"\f20e"}.mofa-dashcube:before{content:"\f210"}.mofa-forumbee:before{content:"\f211"}.mofa-leanpub:before{content:"\f212"}.mofa-sellsy:before{content:"\f213"}.mofa-shirtsinbulk:before{content:"\f214"}.mofa-simplybuilt:before{content:"\f215"}.mofa-skyatlas:before{content:"\f216"}.mofa-cart-plus:before{content:"\f217"}.mofa-cart-arrow-down:before{content:"\f218"}.mofa-diamond:before{content:"\f219"}.mofa-ship:before{content:"\f21a"}.mofa-user-secret:before{content:"\f21b"}.mofa-motorcycle:before{content:"\f21c"}.mofa-street-view:before{content:"\f21d"}.mofa-heartbeat:before{content:"\f21e"}.mofa-venus:before{content:"\f221"}.mofa-mars:before{content:"\f222"}.mofa-mercury:before{content:"\f223"}.mofa-intersex:before,.mofa-transgender:before{content:"\f224"}.mofa-transgender-alt:before{content:"\f225"}.mofa-venus-double:before{content:"\f226"}.mofa-mars-double:before{content:"\f227"}.mofa-venus-mars:before{content:"\f228"}.mofa-mars-stroke:before{content:"\f229"}.mofa-mars-stroke-v:before{content:"\f22a"}.mofa-mars-stroke-h:before{content:"\f22b"}.mofa-neuter:before{content:"\f22c"}.mofa-genderless:before{content:"\f22d"}.mofa-facebook-official:before{content:"\f230"}.mofa-pinterest-p:before{content:"\f231"}.mofa-whatsapp:before{content:"\f232"}.mofa-server:before{content:"\f233"}.mofa-user-plus:before{content:"\f234"}.mofa-user-times:before{content:"\f235"}.mofa-hotel:before,.mofa-bed:before{content:"\f236"}.mofa-viacoin:before{content:"\f237"}.mofa-train:before{content:"\f238"}.mofa-subway:before{content:"\f239"}.mofa-medium:before{content:"\f23a"}.mofa-yc:before,.mofa-y-combinator:before{content:"\f23b"}.mofa-optin-monster:before{content:"\f23c"}.mofa-opencart:before{content:"\f23d"}.mofa-expeditedssl:before{content:"\f23e"}.mofa-battery-4:before,.mofa-battery-full:before{content:"\f240"}.mofa-battery-3:before,.mofa-battery-three-quarters:before{content:"\f241"}.mofa-battery-2:before,.mofa-battery-half:before{content:"\f242"}.mofa-battery-1:before,.mofa-battery-quarter:before{content:"\f243"}.mofa-battery-0:before,.mofa-battery-empty:before{content:"\f244"}.mofa-mouse-pointer:before{content:"\f245"}.mofa-i-cursor:before{content:"\f246"}.mofa-object-group:before{content:"\f247"}.mofa-object-ungroup:before{content:"\f248"}.mofa-sticky-note:before{content:"\f249"}.mofa-sticky-note-o:before{content:"\f24a"}.mofa-cc-jcb:before{content:"\f24b"}.mofa-cc-diners-club:before{content:"\f24c"}.mofa-clone:before{content:"\f24d"}.mofa-balance-scale:before{content:"\f24e"}.mofa-hourglass-o:before{content:"\f250"}.mofa-hourglass-1:before,.mofa-hourglass-start:before{content:"\f251"}.mofa-hourglass-2:before,.mofa-hourglass-half:before{content:"\f252"}.mofa-hourglass-3:before,.mofa-hourglass-end:before{content:"\f253"}.mofa-hourglass:before{content:"\f254"}.mofa-hand-grab-o:before,.mofa-hand-rock-o:before{content:"\f255"}.mofa-hand-stop-o:before,.mofa-hand-paper-o:before{content:"\f256"}.mofa-hand-scissors-o:before{content:"\f257"}.mofa-hand-lizard-o:before{content:"\f258"}.mofa-hand-spock-o:before{content:"\f259"}.mofa-hand-pointer-o:before{content:"\f25a"}.mofa-hand-peace-o:before{content:"\f25b"}.mofa-trademark:before{content:"\f25c"}.mofa-registered:before{content:"\f25d"}.mofa-creative-commons:before{content:"\f25e"}.mofa-gg:before{content:"\f260"}.mofa-gg-circle:before{content:"\f261"}.mofa-tripadvisor:before{content:"\f262"}.mofa-odnoklassniki:before{content:"\f263"}.mofa-odnoklassniki-square:before{content:"\f264"}.mofa-get-pocket:before{content:"\f265"}.mofa-wikipedia-w:before{content:"\f266"}.mofa-safari:before{content:"\f267"}.mofa-chrome:before{content:"\f268"}.mofa-firefox:before{content:"\f269"}.mofa-opera:before{content:"\f26a"}.mofa-internet-explorer:before{content:"\f26b"}.mofa-tv:before,.mofa-television:before{content:"\f26c"}.mofa-contao:before{content:"\f26d"}.mofa-500px:before{content:"\f26e"}.mofa-amazon:before{content:"\f270"}.mofa-calendar-plus-o:before{content:"\f271"}.mofa-calendar-minus-o:before{content:"\f272"}.mofa-calendar-times-o:before{content:"\f273"}.mofa-calendar-check-o:before{content:"\f274"}.mofa-industry:before{content:"\f275"}.mofa-map-pin:before{content:"\f276"}.mofa-map-signs:before{content:"\f277"}.mofa-map-o:before{content:"\f278"}.mofa-map:before{content:"\f279"}.mofa-commenting:before{content:"\f27a"}.mofa-commenting-o:before{content:"\f27b"}.mofa-houzz:before{content:"\f27c"}.mofa-vimeo:before{content:"\f27d"}.mofa-black-tie:before{content:"\f27e"}.mofa-fonticons:before{content:"\f280"}.mofa-reddit-alien:before{content:"\f281"}.mofa-edge:before{content:"\f282"}.mofa-credit-card-alt:before{content:"\f283"}.mofa-codiepie:before{content:"\f284"}.mofa-modx:before{content:"\f285"}.mofa-fort-awesome:before{content:"\f286"}.mofa-usb:before{content:"\f287"}.mofa-product-hunt:before{content:"\f288"}.mofa-mixcloud:before{content:"\f289"}.mofa-scribd:before{content:"\f28a"}.mofa-pause-circle:before{content:"\f28b"}.mofa-pause-circle-o:before{content:"\f28c"}.mofa-stop-circle:before{content:"\f28d"}.mofa-stop-circle-o:before{content:"\f28e"}.mofa-shopping-bag:before{content:"\f290"}.mofa-shopping-basket:before{content:"\f291"}.mofa-hashtag:before{content:"\f292"}.mofa-bluetooth:before{content:"\f293"}.mofa-bluetooth-b:before{content:"\f294"}.mofa-percent:before{content:"\f295"}.mofa-gitlab:before{content:"\f296"}.mofa-wpbeginner:before{content:"\f297"}.mofa-wpforms:before{content:"\f298"}.mofa-envira:before{content:"\f299"}.mofa-universal-access:before{content:"\f29a"}.mofa-wheelchair-alt:before{content:"\f29b"}.mofa-question-circle-o:before{content:"\f29c"}.mofa-blind:before{content:"\f29d"}.mofa-audio-description:before{content:"\f29e"}.mofa-volume-control-phone:before{content:"\f2a0"}.mofa-braille:before{content:"\f2a1"}.mofa-assistive-listening-systems:before{content:"\f2a2"}.mofa-asl-interpreting:before,.mofa-american-sign-language-interpreting:before{content:"\f2a3"}.mofa-deafness:before,.mofa-hard-of-hearing:before,.mofa-deaf:before{content:"\f2a4"}.mofa-glide:before{content:"\f2a5"}.mofa-glide-g:before{content:"\f2a6"}.mofa-signing:before,.mofa-sign-language:before{content:"\f2a7"}.mofa-low-vision:before{content:"\f2a8"}.mofa-viadeo:before{content:"\f2a9"}.mofa-viadeo-square:before{content:"\f2aa"}.mofa-snapchat:before{content:"\f2ab"}.mofa-snapchat-ghost:before{content:"\f2ac"}.mofa-snapchat-square:before{content:"\f2ad"}.mofa-pied-piper:before{content:"\f2ae"}.mofa-first-order:before{content:"\f2b0"}.mofa-yoast:before{content:"\f2b1"}.mofa-themeisle:before{content:"\f2b2"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}
1
  /*!
2
  * Font Awesome 4.6.2 by @davegandy - http://fontawesome.io - @fontawesome
3
  * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4
+ */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.6.2');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.6.2') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.6.2') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.6.2') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.6.2') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.6.2#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.mofab{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.mofab-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.mofab-2x{font-size:2em}.mofab-3x{font-size:3em}.mofab-4x{font-size:4em}.mofab-5x{font-size:5em}.mofab-fw{width:1.28571429em;text-align:center}.mofab-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.mofab-ul>li{position:relative}.mofab-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.mofab-li.mofab-lg{left:-1.85714286em}.mofab-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.mofab-pull-left{float:left}.mofab-pull-right{float:right}.mofab.mofab-pull-left{margin-right:.3em}.mofab.mofab-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.mofab.pull-left{margin-right:.3em}.mofab.pull-right{margin-left:.3em}.mofab-spin{-webkit-animation:mofab-spin 2s infinite linear;animation:mofab-spin 2s infinite linear}.mofab-pulse{-webkit-animation:mofab-spin 1s infinite steps(8);animation:mofab-spin 1s infinite steps(8)}@-webkit-keyframes mofab-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes mofab-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.mofab-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.mofab-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.mofab-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.mofab-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.mofab-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .mofab-rotate-90,:root .mofab-rotate-180,:root .mofab-rotate-270,:root .mofab-flip-horizontal,:root .mofab-flip-vertical{filter:none}.mofab-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.mofab-stack-1x,.mofab-stack-2x{position:absolute;left:0;width:100%;text-align:center}.mofab-stack-1x{line-height:inherit}.mofab-stack-2x{font-size:2em}.mofab-inverse{color:#fff}.mofab-glass:before{content:"\f000"}.mofab-music:before{content:"\f001"}.mofab-search:before{content:"\f002"}.mofab-envelope-o:before{content:"\f003"}.mofab-heart:before{content:"\f004"}.mofab-star:before{content:"\f005"}.mofab-star-o:before{content:"\f006"}.mofab-user:before{content:"\f007"}.mofab-film:before{content:"\f008"}.mofab-th-large:before{content:"\f009"}.mofab-th:before{content:"\f00a"}.mofab-th-list:before{content:"\f00b"}.mofab-check:before{content:"\f00c"}.mofab-remove:before,.mofab-close:before,.mofab-times:before{content:"\f00d"}.mofab-search-plus:before{content:"\f00e"}.mofab-search-minus:before{content:"\f010"}.mofab-power-off:before{content:"\f011"}.mofab-signal:before{content:"\f012"}.mofab-gear:before,.mofab-cog:before{content:"\f013"}.mofab-trash-o:before{content:"\f014"}.mofab-home:before{content:"\f015"}.mofab-file-o:before{content:"\f016"}.mofab-clock-o:before{content:"\f017"}.mofab-road:before{content:"\f018"}.mofab-download:before{content:"\f019"}.mofab-arrow-circle-o-down:before{content:"\f01a"}.mofab-arrow-circle-o-up:before{content:"\f01b"}.mofab-inbox:before{content:"\f01c"}.mofab-play-circle-o:before{content:"\f01d"}.mofab-rotate-right:before,.mofab-repeat:before{content:"\f01e"}.mofab-refresh:before{content:"\f021"}.mofab-list-alt:before{content:"\f022"}.mofab-lock:before{content:"\f023"}.mofab-flag:before{content:"\f024"}.mofab-headphones:before{content:"\f025"}.mofab-volume-off:before{content:"\f026"}.mofab-volume-down:before{content:"\f027"}.mofab-volume-up:before{content:"\f028"}.mofab-qrcode:before{content:"\f029"}.mofab-barcode:before{content:"\f02a"}.mofab-tag:before{content:"\f02b"}.mofab-tags:before{content:"\f02c"}.mofab-book:before{content:"\f02d"}.mofab-bookmark:before{content:"\f02e"}.mofab-print:before{content:"\f02f"}.mofab-camera:before{content:"\f030"}.mofab-font:before{content:"\f031"}.mofab-bold:before{content:"\f032"}.mofab-italic:before{content:"\f033"}.mofab-text-height:before{content:"\f034"}.mofab-text-width:before{content:"\f035"}.mofab-align-left:before{content:"\f036"}.mofab-align-center:before{content:"\f037"}.mofab-align-right:before{content:"\f038"}.mofab-align-justify:before{content:"\f039"}.mofab-list:before{content:"\f03a"}.mofab-dedent:before,.mofab-outdent:before{content:"\f03b"}.mofab-indent:before{content:"\f03c"}.mofab-video-camera:before{content:"\f03d"}.mofab-photo:before,.mofab-image:before,.mofab-picture-o:before{content:"\f03e"}.mofab-pencil:before{content:"\f040"}.mofab-map-marker:before{content:"\f041"}.mofab-adjust:before{content:"\f042"}.mofab-tint:before{content:"\f043"}.mofab-edit:before,.mofab-pencil-square-o:before{content:"\f044"}.mofab-share-square-o:before{content:"\f045"}.mofab-check-square-o:before{content:"\f046"}.mofab-arrows:before{content:"\f047"}.mofab-step-backward:before{content:"\f048"}.mofab-fast-backward:before{content:"\f049"}.mofab-backward:before{content:"\f04a"}.mofab-play:before{content:"\f04b"}.mofab-pause:before{content:"\f04c"}.mofab-stop:before{content:"\f04d"}.mofab-forward:before{content:"\f04e"}.mofab-fast-forward:before{content:"\f050"}.mofab-step-forward:before{content:"\f051"}.mofab-eject:before{content:"\f052"}.mofab-chevron-left:before{content:"\f053"}.mofab-chevron-right:before{content:"\f054"}.mofab-plus-circle:before{content:"\f055"}.mofab-minus-circle:before{content:"\f056"}.mofab-times-circle:before{content:"\f057"}.mofab-check-circle:before{content:"\f058"}.mofab-question-circle:before{content:"\f059"}.mofab-info-circle:before{content:"\f05a"}.mofab-crosshairs:before{content:"\f05b"}.mofab-times-circle-o:before{content:"\f05c"}.mofab-check-circle-o:before{content:"\f05d"}.mofab-ban:before{content:"\f05e"}.mofab-arrow-left:before{content:"\f060"}.mofab-arrow-right:before{content:"\f061"}.mofab-arrow-up:before{content:"\f062"}.mofab-arrow-down:before{content:"\f063"}.mofab-mail-forward:before,.mofab-share:before{content:"\f064"}.mofab-expand:before{content:"\f065"}.mofab-compress:before{content:"\f066"}.mofab-plus:before{content:"\f067"}.mofab-minus:before{content:"\f068"}.mofab-asterisk:before{content:"\f069"}.mofab-exclamation-circle:before{content:"\f06a"}.mofab-gift:before{content:"\f06b"}.mofab-leaf:before{content:"\f06c"}.mofab-fire:before{content:"\f06d"}.mofab-eye:before{content:"\f06e"}.mofab-eye-slash:before{content:"\f070"}.mofab-warning:before,.mofab-exclamation-triangle:before{content:"\f071"}.mofab-plane:before{content:"\f072"}.mofab-calendar:before{content:"\f073"}.mofab-random:before{content:"\f074"}.mofab-comment:before{content:"\f075"}.mofab-magnet:before{content:"\f076"}.mofab-chevron-up:before{content:"\f077"}.mofab-chevron-down:before{content:"\f078"}.mofab-retweet:before{content:"\f079"}.mofab-shopping-cart:before{content:"\f07a"}.mofab-folder:before{content:"\f07b"}.mofab-folder-open:before{content:"\f07c"}.mofab-arrows-v:before{content:"\f07d"}.mofab-arrows-h:before{content:"\f07e"}.mofab-bar-chart-o:before,.mofab-bar-chart:before{content:"\f080"}.mofab-twitter-square:before{content:"\f081"}.mofab-facebook-square:before{content:"\f082"}.mofab-camera-retro:before{content:"\f083"}.mofab-key:before{content:"\f084"}.mofab-gears:before,.mofab-cogs:before{content:"\f085"}.mofab-comments:before{content:"\f086"}.mofab-thumbs-o-up:before{content:"\f087"}.mofab-thumbs-o-down:before{content:"\f088"}.mofab-star-half:before{content:"\f089"}.mofab-heart-o:before{content:"\f08a"}.mofab-sign-out:before{content:"\f08b"}.mofab-linkedin-square:before{content:"\f08c"}.mofab-thumb-tack:before{content:"\f08d"}.mofab-external-link:before{content:"\f08e"}.mofab-sign-in:before{content:"\f090"}.mofab-trophy:before{content:"\f091"}.mofab-github-square:before{content:"\f092"}.mofab-upload:before{content:"\f093"}.mofab-lemon-o:before{content:"\f094"}.mofab-phone:before{content:"\f095"}.mofab-square-o:before{content:"\f096"}.mofab-bookmark-o:before{content:"\f097"}.mofab-phone-square:before{content:"\f098"}.mofab-twitter:before{content:"\f099"}.mofab-facebook-f:before,.mofab-facebook:before{content:"\f09a"}.mofab-github:before{content:"\f09b"}.mofab-unlock:before{content:"\f09c"}.mofab-credit-card:before{content:"\f09d"}.mofab-feed:before,.mofab-rss:before{content:"\f09e"}.mofab-hdd-o:before{content:"\f0a0"}.mofab-bullhorn:before{content:"\f0a1"}.mofab-bell:before{content:"\f0f3"}.mofab-certificate:before{content:"\f0a3"}.mofab-hand-o-right:before{content:"\f0a4"}.mofab-hand-o-left:before{content:"\f0a5"}.mofab-hand-o-up:before{content:"\f0a6"}.mofab-hand-o-down:before{content:"\f0a7"}.mofab-arrow-circle-left:before{content:"\f0a8"}.mofab-arrow-circle-right:before{content:"\f0a9"}.mofab-arrow-circle-up:before{content:"\f0aa"}.mofab-arrow-circle-down:before{content:"\f0ab"}.mofab-globe:before{content:"\f0ac"}.mofab-wrench:before{content:"\f0ad"}.mofab-tasks:before{content:"\f0ae"}.mofab-filter:before{content:"\f0b0"}.mofab-briefcase:before{content:"\f0b1"}.mofab-arrows-alt:before{content:"\f0b2"}.mofab-group:before,.mofab-users:before{content:"\f0c0"}.mofab-chain:before,.mofab-link:before{content:"\f0c1"}.mofab-cloud:before{content:"\f0c2"}.mofab-flask:before{content:"\f0c3"}.mofab-cut:before,.mofab-scissors:before{content:"\f0c4"}.mofab-copy:before,.mofab-files-o:before{content:"\f0c5"}.mofab-paperclip:before{content:"\f0c6"}.mofab-save:before,.mofab-floppy-o:before{content:"\f0c7"}.mofab-square:before{content:"\f0c8"}.mofab-navicon:before,.mofab-reorder:before,.mofab-bars:before{content:"\f0c9"}.mofab-list-ul:before{content:"\f0ca"}.mofab-list-ol:before{content:"\f0cb"}.mofab-strikethrough:before{content:"\f0cc"}.mofab-underline:before{content:"\f0cd"}.mofab-table:before{content:"\f0ce"}.mofab-magic:before{content:"\f0d0"}.mofab-truck:before{content:"\f0d1"}.mofab-pinterest:before{content:"\f0d2"}.mofab-pinterest-square:before{content:"\f0d3"}.mofab-google-plus-square:before{content:"\f0d4"}.mofab-google-plus:before{content:"\f0d5"}.mofab-money:before{content:"\f0d6"}.mofab-caret-down:before{content:"\f0d7"}.mofab-caret-up:before{content:"\f0d8"}.mofab-caret-left:before{content:"\f0d9"}.mofab-caret-right:before{content:"\f0da"}.mofab-columns:before{content:"\f0db"}.mofab-unsorted:before,.mofab-sort:before{content:"\f0dc"}.mofab-sort-down:before,.mofab-sort-desc:before{content:"\f0dd"}.mofab-sort-up:before,.mofab-sort-asc:before{content:"\f0de"}.mofab-envelope:before{content:"\f0e0"}.mofab-linkedin:before{content:"\f0e1"}.mofab-rotate-left:before,.mofab-undo:before{content:"\f0e2"}.mofab-legal:before,.mofab-gavel:before{content:"\f0e3"}.mofab-dashboard:before,.mofab-tachometer:before{content:"\f0e4"}.mofab-comment-o:before{content:"\f0e5"}.mofab-comments-o:before{content:"\f0e6"}.mofab-flash:before,.mofab-bolt:before{content:"\f0e7"}.mofab-sitemap:before{content:"\f0e8"}.mofab-umbrella:before{content:"\f0e9"}.mofab-paste:before,.mofab-clipboard:before{content:"\f0ea"}.mofab-lightbulb-o:before{content:"\f0eb"}.mofab-exchange:before{content:"\f0ec"}.mofab-cloud-download:before{content:"\f0ed"}.mofab-cloud-upload:before{content:"\f0ee"}.mofab-user-md:before{content:"\f0f0"}.mofab-stethoscope:before{content:"\f0f1"}.mofab-suitcase:before{content:"\f0f2"}.mofab-bell-o:before{content:"\f0a2"}.mofab-coffee:before{content:"\f0f4"}.mofab-cutlery:before{content:"\f0f5"}.mofab-file-text-o:before{content:"\f0f6"}.mofab-building-o:before{content:"\f0f7"}.mofab-hospital-o:before{content:"\f0f8"}.mofab-ambulance:before{content:"\f0f9"}.mofab-medkit:before{content:"\f0fa"}.mofab-fighter-jet:before{content:"\f0fb"}.mofab-beer:before{content:"\f0fc"}.mofab-h-square:before{content:"\f0fd"}.mofab-plus-square:before{content:"\f0fe"}.mofab-angle-double-left:before{content:"\f100"}.mofab-angle-double-right:before{content:"\f101"}.mofab-angle-double-up:before{content:"\f102"}.mofab-angle-double-down:before{content:"\f103"}.mofab-angle-left:before{content:"\f104"}.mofab-angle-right:before{content:"\f105"}.mofab-angle-up:before{content:"\f106"}.mofab-angle-down:before{content:"\f107"}.mofab-desktop:before{content:"\f108"}.mofab-laptop:before{content:"\f109"}.mofab-tablet:before{content:"\f10a"}.mofab-mobile-phone:before,.mofab-mobile:before{content:"\f10b"}.mofab-circle-o:before{content:"\f10c"}.mofab-quote-left:before{content:"\f10d"}.mofab-quote-right:before{content:"\f10e"}.mofab-spinner:before{content:"\f110"}.mofab-circle:before{content:"\f111"}.mofab-mail-reply:before,.mofab-reply:before{content:"\f112"}.mofab-github-alt:before{content:"\f113"}.mofab-folder-o:before{content:"\f114"}.mofab-folder-open-o:before{content:"\f115"}.mofab-smile-o:before{content:"\f118"}.mofab-frown-o:before{content:"\f119"}.mofab-meh-o:before{content:"\f11a"}.mofab-gamepad:before{content:"\f11b"}.mofab-keyboard-o:before{content:"\f11c"}.mofab-flag-o:before{content:"\f11d"}.mofab-flag-checkered:before{content:"\f11e"}.mofab-terminal:before{content:"\f120"}.mofab-code:before{content:"\f121"}.mofab-mail-reply-all:before,.mofab-reply-all:before{content:"\f122"}.mofab-star-half-empty:before,.mofab-star-half-full:before,.mofab-star-half-o:before{content:"\f123"}.mofab-location-arrow:before{content:"\f124"}.mofab-crop:before{content:"\f125"}.mofab-code-fork:before{content:"\f126"}.mofab-unlink:before,.mofab-chain-broken:before{content:"\f127"}.mofab-question:before{content:"\f128"}.mofab-info:before{content:"\f129"}.mofab-exclamation:before{content:"\f12a"}.mofab-superscript:before{content:"\f12b"}.mofab-subscript:before{content:"\f12c"}.mofab-eraser:before{content:"\f12d"}.mofab-puzzle-piece:before{content:"\f12e"}.mofab-microphone:before{content:"\f130"}.mofab-microphone-slash:before{content:"\f131"}.mofab-shield:before{content:"\f132"}.mofab-calendar-o:before{content:"\f133"}.mofab-fire-extinguisher:before{content:"\f134"}.mofab-rocket:before{content:"\f135"}.mofab-maxcdn:before{content:"\f136"}.mofab-chevron-circle-left:before{content:"\f137"}.mofab-chevron-circle-right:before{content:"\f138"}.mofab-chevron-circle-up:before{content:"\f139"}.mofab-chevron-circle-down:before{content:"\f13a"}.mofab-html5:before{content:"\f13b"}.mofab-css3:before{content:"\f13c"}.mofab-anchor:before{content:"\f13d"}.mofab-unlock-alt:before{content:"\f13e"}.mofab-bullseye:before{content:"\f140"}.mofab-ellipsis-h:before{content:"\f141"}.mofab-ellipsis-v:before{content:"\f142"}.mofab-rss-square:before{content:"\f143"}.mofab-play-circle:before{content:"\f144"}.mofab-ticket:before{content:"\f145"}.mofab-minus-square:before{content:"\f146"}.mofab-minus-square-o:before{content:"\f147"}.mofab-level-up:before{content:"\f148"}.mofab-level-down:before{content:"\f149"}.mofab-check-square:before{content:"\f14a"}.mofab-pencil-square:before{content:"\f14b"}.mofab-external-link-square:before{content:"\f14c"}.mofab-share-square:before{content:"\f14d"}.mofab-compass:before{content:"\f14e"}.mofab-toggle-down:before,.mofab-caret-square-o-down:before{content:"\f150"}.mofab-toggle-up:before,.mofab-caret-square-o-up:before{content:"\f151"}.mofab-toggle-right:before,.mofab-caret-square-o-right:before{content:"\f152"}.mofab-euro:before,.mofab-eur:before{content:"\f153"}.mofab-gbp:before{content:"\f154"}.mofab-dollar:before,.mofab-usd:before{content:"\f155"}.mofab-rupee:before,.mofab-inr:before{content:"\f156"}.mofab-cny:before,.mofab-rmb:before,.mofab-yen:before,.mofab-jpy:before{content:"\f157"}.mofab-ruble:before,.mofab-rouble:before,.mofab-rub:before{content:"\f158"}.mofab-won:before,.mofab-krw:before{content:"\f159"}.mofab-bitcoin:before,.mofab-btc:before{content:"\f15a"}.mofab-file:before{content:"\f15b"}.mofab-file-text:before{content:"\f15c"}.mofab-sort-alpha-asc:before{content:"\f15d"}.mofab-sort-alpha-desc:before{content:"\f15e"}.mofab-sort-amount-asc:before{content:"\f160"}.mofab-sort-amount-desc:before{content:"\f161"}.mofab-sort-numeric-asc:before{content:"\f162"}.mofab-sort-numeric-desc:before{content:"\f163"}.mofab-thumbs-up:before{content:"\f164"}.mofab-thumbs-down:before{content:"\f165"}.mofab-youtube-square:before{content:"\f166"}.mofab-youtube:before{content:"\f167"}.mofab-xing:before{content:"\f168"}.mofab-xing-square:before{content:"\f169"}.mofab-youtube-play:before{content:"\f16a"}.mofab-dropbox:before{content:"\f16b"}.mofab-stack-overflow:before{content:"\f16c"}.mofab-instagram:before{content:"\f16d"}.mofab-flickr:before{content:"\f16e"}.mofab-adn:before{content:"\f170"}.mofab-bitbucket:before{content:"\f171"}.mofab-bitbucket-square:before{content:"\f172"}.mofab-tumblr:before{content:"\f173"}.mofab-tumblr-square:before{content:"\f174"}.mofab-long-arrow-down:before{content:"\f175"}.mofab-long-arrow-up:before{content:"\f176"}.mofab-long-arrow-left:before{content:"\f177"}.mofab-long-arrow-right:before{content:"\f178"}.mofab-apple:before{content:"\f179"}.mofab-windows:before{content:"\f17a"}.mofab-android:before{content:"\f17b"}.mofab-linux:before{content:"\f17c"}.mofab-dribbble:before{content:"\f17d"}.mofab-skype:before{content:"\f17e"}.mofab-foursquare:before{content:"\f180"}.mofab-trello:before{content:"\f181"}.mofab-female:before{content:"\f182"}.mofab-male:before{content:"\f183"}.mofab-gittip:before,.mofab-gratipay:before{content:"\f184"}.mofab-sun-o:before{content:"\f185"}.mofab-moon-o:before{content:"\f186"}.mofab-archive:before{content:"\f187"}.mofab-bug:before{content:"\f188"}.mofab-vk:before{content:"\f189"}.mofab-weibo:before{content:"\f18a"}.mofab-renren:before{content:"\f18b"}.mofab-pagelines:before{content:"\f18c"}.mofab-stack-exchange:before{content:"\f18d"}.mofab-arrow-circle-o-right:before{content:"\f18e"}.mofab-arrow-circle-o-left:before{content:"\f190"}.mofab-toggle-left:before,.mofab-caret-square-o-left:before{content:"\f191"}.mofab-dot-circle-o:before{content:"\f192"}.mofab-wheelchair:before{content:"\f193"}.mofab-vimeo-square:before{content:"\f194"}.mofab-turkish-lira:before,.mofab-try:before{content:"\f195"}.mofab-plus-square-o:before{content:"\f196"}.mofab-space-shuttle:before{content:"\f197"}.mofab-slack:before{content:"\f198"}.mofab-envelope-square:before{content:"\f199"}.mofab-wordpress:before{content:"\f19a"}.mofab-openid:before{content:"\f19b"}.mofab-institution:before,.mofab-bank:before,.mofab-university:before{content:"\f19c"}.mofab-mortar-board:before,.mofab-graduation-cap:before{content:"\f19d"}.mofab-yahoo:before{content:"\f19e"}.mofab-google:before{content:"\f1a0"}.mofab-reddit:before{content:"\f1a1"}.mofab-reddit-square:before{content:"\f1a2"}.mofab-stumbleupon-circle:before{content:"\f1a3"}.mofab-stumbleupon:before{content:"\f1a4"}.mofab-delicious:before{content:"\f1a5"}.mofab-digg:before{content:"\f1a6"}.mofab-pied-piper-pp:before{content:"\f1a7"}.mofab-pied-piper-alt:before{content:"\f1a8"}.mofab-drupal:before{content:"\f1a9"}.mofab-joomla:before{content:"\f1aa"}.mofab-language:before{content:"\f1ab"}.mofab-fax:before{content:"\f1ac"}.mofab-building:before{content:"\f1ad"}.mofab-child:before{content:"\f1ae"}.mofab-paw:before{content:"\f1b0"}.mofab-spoon:before{content:"\f1b1"}.mofab-cube:before{content:"\f1b2"}.mofab-cubes:before{content:"\f1b3"}.mofab-behance:before{content:"\f1b4"}.mofab-behance-square:before{content:"\f1b5"}.mofab-steam:before{content:"\f1b6"}.mofab-steam-square:before{content:"\f1b7"}.mofab-recycle:before{content:"\f1b8"}.mofab-automobile:before,.mofab-car:before{content:"\f1b9"}.mofab-cab:before,.mofab-taxi:before{content:"\f1ba"}.mofab-tree:before{content:"\f1bb"}.mofab-spotify:before{content:"\f1bc"}.mofab-deviantart:before{content:"\f1bd"}.mofab-soundcloud:before{content:"\f1be"}.mofab-database:before{content:"\f1c0"}.mofab-file-pdf-o:before{content:"\f1c1"}.mofab-file-word-o:before{content:"\f1c2"}.mofab-file-excel-o:before{content:"\f1c3"}.mofab-file-powerpoint-o:before{content:"\f1c4"}.mofab-file-photo-o:before,.mofab-file-picture-o:before,.mofab-file-image-o:before{content:"\f1c5"}.mofab-file-zip-o:before,.mofab-file-archive-o:before{content:"\f1c6"}.mofab-file-sound-o:before,.mofab-file-audio-o:before{content:"\f1c7"}.mofab-file-movie-o:before,.mofab-file-video-o:before{content:"\f1c8"}.mofab-file-code-o:before{content:"\f1c9"}.mofab-vine:before{content:"\f1ca"}.mofab-codepen:before{content:"\f1cb"}.mofab-jsfiddle:before{content:"\f1cc"}.mofab-life-bouy:before,.mofab-life-buoy:before,.mofab-life-saver:before,.mofab-support:before,.mofab-life-ring:before{content:"\f1cd"}.mofab-circle-o-notch:before{content:"\f1ce"}.mofab-ra:before,.mofab-resistance:before,.mofab-rebel:before{content:"\f1d0"}.mofab-ge:before,.mofab-empire:before{content:"\f1d1"}.mofab-git-square:before{content:"\f1d2"}.mofab-git:before{content:"\f1d3"}.mofab-y-combinator-square:before,.mofab-yc-square:before,.mofab-hacker-news:before{content:"\f1d4"}.mofab-tencent-weibo:before{content:"\f1d5"}.mofab-qq:before{content:"\f1d6"}.mofab-wechat:before,.mofab-weixin:before{content:"\f1d7"}.mofab-send:before,.mofab-paper-plane:before{content:"\f1d8"}.mofab-send-o:before,.mofab-paper-plane-o:before{content:"\f1d9"}.mofab-history:before{content:"\f1da"}.mofab-circle-thin:before{content:"\f1db"}.mofab-header:before{content:"\f1dc"}.mofab-paragraph:before{content:"\f1dd"}.mofab-sliders:before{content:"\f1de"}.mofab-share-alt:before{content:"\f1e0"}.mofab-share-alt-square:before{content:"\f1e1"}.mofab-bomb:before{content:"\f1e2"}.mofab-soccer-ball-o:before,.mofab-futbol-o:before{content:"\f1e3"}.mofab-tty:before{content:"\f1e4"}.mofab-binoculars:before{content:"\f1e5"}.mofab-plug:before{content:"\f1e6"}.mofab-slideshare:before{content:"\f1e7"}.mofab-twitch:before{content:"\f1e8"}.mofab-yelp:before{content:"\f1e9"}.mofab-newspaper-o:before{content:"\f1ea"}.mofab-wifi:before{content:"\f1eb"}.mofab-calculator:before{content:"\f1ec"}.mofab-paypal:before{content:"\f1ed"}.mofab-google-wallet:before{content:"\f1ee"}.mofab-cc-visa:before{content:"\f1f0"}.mofab-cc-mastercard:before{content:"\f1f1"}.mofab-cc-discover:before{content:"\f1f2"}.mofab-cc-amex:before{content:"\f1f3"}.mofab-cc-paypal:before{content:"\f1f4"}.mofab-cc-stripe:before{content:"\f1f5"}.mofab-bell-slash:before{content:"\f1f6"}.mofab-bell-slash-o:before{content:"\f1f7"}.mofab-trash:before{content:"\f1f8"}.mofab-copyright:before{content:"\f1f9"}.mofab-at:before{content:"\f1fa"}.mofab-eyedropper:before{content:"\f1fb"}.mofab-paint-brush:before{content:"\f1fc"}.mofab-birthday-cake:before{content:"\f1fd"}.mofab-area-chart:before{content:"\f1fe"}.mofab-pie-chart:before{content:"\f200"}.mofab-line-chart:before{content:"\f201"}.mofab-lastfm:before{content:"\f202"}.mofab-lastfm-square:before{content:"\f203"}.mofab-toggle-off:before{content:"\f204"}.mofab-toggle-on:before{content:"\f205"}.mofab-bicycle:before{content:"\f206"}.mofab-bus:before{content:"\f207"}.mofab-ioxhost:before{content:"\f208"}.mofab-angellist:before{content:"\f209"}.mofab-cc:before{content:"\f20a"}.mofab-shekel:before,.mofab-sheqel:before,.mofab-ils:before{content:"\f20b"}.mofab-meanpath:before{content:"\f20c"}.mofab-buysellads:before{content:"\f20d"}.mofab-connectdevelop:before{content:"\f20e"}.mofab-dashcube:before{content:"\f210"}.mofab-forumbee:before{content:"\f211"}.mofab-leanpub:before{content:"\f212"}.mofab-sellsy:before{content:"\f213"}.mofab-shirtsinbulk:before{content:"\f214"}.mofab-simplybuilt:before{content:"\f215"}.mofab-skyatlas:before{content:"\f216"}.mofab-cart-plus:before{content:"\f217"}.mofab-cart-arrow-down:before{content:"\f218"}.mofab-diamond:before{content:"\f219"}.mofab-ship:before{content:"\f21a"}.mofab-user-secret:before{content:"\f21b"}.mofab-motorcycle:before{content:"\f21c"}.mofab-street-view:before{content:"\f21d"}.mofab-heartbeat:before{content:"\f21e"}.mofab-venus:before{content:"\f221"}.mofab-mars:before{content:"\f222"}.mofab-mercury:before{content:"\f223"}.mofab-intersex:before,.mofab-transgender:before{content:"\f224"}.mofab-transgender-alt:before{content:"\f225"}.mofab-venus-double:before{content:"\f226"}.mofab-mars-double:before{content:"\f227"}.mofab-venus-mars:before{content:"\f228"}.mofab-mars-stroke:before{content:"\f229"}.mofab-mars-stroke-v:before{content:"\f22a"}.mofab-mars-stroke-h:before{content:"\f22b"}.mofab-neuter:before{content:"\f22c"}.mofab-genderless:before{content:"\f22d"}.mofab-facebook-official:before{content:"\f230"}.mofab-pinterest-p:before{content:"\f231"}.mofab-whatsapp:before{content:"\f232"}.mofab-server:before{content:"\f233"}.mofab-user-plus:before{content:"\f234"}.mofab-user-times:before{content:"\f235"}.mofab-hotel:before,.mofab-bed:before{content:"\f236"}.mofab-viacoin:before{content:"\f237"}.mofab-train:before{content:"\f238"}.mofab-subway:before{content:"\f239"}.mofab-medium:before{content:"\f23a"}.mofab-yc:before,.mofab-y-combinator:before{content:"\f23b"}.mofab-optin-monster:before{content:"\f23c"}.mofab-opencart:before{content:"\f23d"}.mofab-expeditedssl:before{content:"\f23e"}.mofab-battery-4:before,.mofab-battery-full:before{content:"\f240"}.mofab-battery-3:before,.mofab-battery-three-quarters:before{content:"\f241"}.mofab-battery-2:before,.mofab-battery-half:before{content:"\f242"}.mofab-battery-1:before,.mofab-battery-quarter:before{content:"\f243"}.mofab-battery-0:before,.mofab-battery-empty:before{content:"\f244"}.mofab-mouse-pointer:before{content:"\f245"}.mofab-i-cursor:before{content:"\f246"}.mofab-object-group:before{content:"\f247"}.mofab-object-ungroup:before{content:"\f248"}.mofab-sticky-note:before{content:"\f249"}.mofab-sticky-note-o:before{content:"\f24a"}.mofab-cc-jcb:before{content:"\f24b"}.mofab-cc-diners-club:before{content:"\f24c"}.mofab-clone:before{content:"\f24d"}.mofab-balance-scale:before{content:"\f24e"}.mofab-hourglass-o:before{content:"\f250"}.mofab-hourglass-1:before,.mofab-hourglass-start:before{content:"\f251"}.mofab-hourglass-2:before,.mofab-hourglass-half:before{content:"\f252"}.mofab-hourglass-3:before,.mofab-hourglass-end:before{content:"\f253"}.mofab-hourglass:before{content:"\f254"}.mofab-hand-grab-o:before,.mofab-hand-rock-o:before{content:"\f255"}.mofab-hand-stop-o:before,.mofab-hand-paper-o:before{content:"\f256"}.mofab-hand-scissors-o:before{content:"\f257"}.mofab-hand-lizard-o:before{content:"\f258"}.mofab-hand-spock-o:before{content:"\f259"}.mofab-hand-pointer-o:before{content:"\f25a"}.mofab-hand-peace-o:before{content:"\f25b"}.mofab-trademark:before{content:"\f25c"}.mofab-registered:before{content:"\f25d"}.mofab-creative-commons:before{content:"\f25e"}.mofab-gg:before{content:"\f260"}.mofab-gg-circle:before{content:"\f261"}.mofab-tripadvisor:before{content:"\f262"}.mofab-odnoklassniki:before{content:"\f263"}.mofab-odnoklassniki-square:before{content:"\f264"}.mofab-get-pocket:before{content:"\f265"}.mofab-wikipedia-w:before{content:"\f266"}.mofab-safari:before{content:"\f267"}.mofab-chrome:before{content:"\f268"}.mofab-firefox:before{content:"\f269"}.mofab-opera:before{content:"\f26a"}.mofab-internet-explorer:before{content:"\f26b"}.mofab-tv:before,.mofab-television:before{content:"\f26c"}.mofab-contao:before{content:"\f26d"}.mofab-500px:before{content:"\f26e"}.mofab-amazon:before{content:"\f270"}.mofab-calendar-plus-o:before{content:"\f271"}.mofab-calendar-minus-o:before{content:"\f272"}.mofab-calendar-times-o:before{content:"\f273"}.mofab-calendar-check-o:before{content:"\f274"}.mofab-industry:before{content:"\f275"}.mofab-map-pin:before{content:"\f276"}.mofab-map-signs:before{content:"\f277"}.mofab-map-o:before{content:"\f278"}.mofab-map:before{content:"\f279"}.mofab-commenting:before{content:"\f27a"}.mofab-commenting-o:before{content:"\f27b"}.mofab-houzz:before{content:"\f27c"}.mofab-vimeo:before{content:"\f27d"}.mofab-black-tie:before{content:"\f27e"}.mofab-fonticons:before{content:"\f280"}.mofab-reddit-alien:before{content:"\f281"}.mofab-edge:before{content:"\f282"}.mofab-credit-card-alt:before{content:"\f283"}.mofab-codiepie:before{content:"\f284"}.mofab-modx:before{content:"\f285"}.mofab-fort-awesome:before{content:"\f286"}.mofab-usb:before{content:"\f287"}.mofab-product-hunt:before{content:"\f288"}.mofab-mixcloud:before{content:"\f289"}.mofab-scribd:before{content:"\f28a"}.mofab-pause-circle:before{content:"\f28b"}.mofab-pause-circle-o:before{content:"\f28c"}.mofab-stop-circle:before{content:"\f28d"}.mofab-stop-circle-o:before{content:"\f28e"}.mofab-shopping-bag:before{content:"\f290"}.mofab-shopping-basket:before{content:"\f291"}.mofab-hashtag:before{content:"\f292"}.mofab-bluetooth:before{content:"\f293"}.mofab-bluetooth-b:before{content:"\f294"}.mofab-percent:before{content:"\f295"}.mofab-gitlab:before{content:"\f296"}.mofab-wpbeginner:before{content:"\f297"}.mofab-wpforms:before{content:"\f298"}.mofab-envira:before{content:"\f299"}.mofab-universal-access:before{content:"\f29a"}.mofab-wheelchair-alt:before{content:"\f29b"}.mofab-question-circle-o:before{content:"\f29c"}.mofab-blind:before{content:"\f29d"}.mofab-audio-description:before{content:"\f29e"}.mofab-volume-control-phone:before{content:"\f2a0"}.mofab-braille:before{content:"\f2a1"}.mofab-assistive-listening-systems:before{content:"\f2a2"}.mofab-asl-interpreting:before,.mofab-american-sign-language-interpreting:before{content:"\f2a3"}.mofab-deafness:before,.mofab-hard-of-hearing:before,.mofab-deaf:before{content:"\f2a4"}.mofab-glide:before{content:"\f2a5"}.mofab-glide-g:before{content:"\f2a6"}.mofab-signing:before,.mofab-sign-language:before{content:"\f2a7"}.mofab-low-vision:before{content:"\f2a8"}.mofab-viadeo:before{content:"\f2a9"}.mofab-viadeo-square:before{content:"\f2aa"}.mofab-snapchat:before{content:"\f2ab"}.mofab-snapchat-ghost:before{content:"\f2ac"}.mofab-snapchat-square:before{content:"\f2ad"}.mofab-pied-piper:before{content:"\f2ae"}.mofab-first-order:before{content:"\f2b0"}.mofab-yoast:before{content:"\f2b1"}.mofab-themeisle:before{content:"\f2b2"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:
includes/css/mo_openid_style.css CHANGED
@@ -1620,3 +1620,17 @@ input:checked + .slider:before {
1620
  .slider.round:before {
1621
  border-radius: 50%;
1622
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1620
  .slider.round:before {
1621
  border-radius: 50%;
1622
  }
1623
+ /* added for tlwp by Roshan*/
1624
+
1625
+ .mo_succ_notice {
1626
+ background: #e7fcd0;
1627
+ border: 1px solid #f6f3f4;
1628
+ border-left-color: rgb(195, 182, 182);
1629
+
1630
+ border-left-width: 6px;
1631
+ box-shadow: 0 1px 1px rgba(0,0,0,.04);
1632
+ margin: 5px 15px 2px;
1633
+ padding: 1px 12px;
1634
+ border-left-color: #427e05;
1635
+
1636
+ }
includes/css/mo_sl_banner.css ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ /*eoss start*/
2
+ .mo_sl_notice{background-image:url(../images/mo-sl-xmas.jpg)!important;color:#fff}
3
+ .mo_sl_notice_url{color:#ff0!important}
4
+ /*eoss end*/
includes/images/eosssale.gif ADDED
Binary file
includes/images/icons/fitbit.png ADDED
Binary file
includes/images/miniOrange_logo.png CHANGED
Binary file
includes/images/mo-sl-xmas.jpg ADDED
Binary file
includes/js/mo_openid_settings.js CHANGED
@@ -94,4 +94,17 @@ jQuery(document).ready(function () {
94
  jQuery("#openid_question_plugin").click(function () {
95
  jQuery("#openid_question_plugin_desc").slideToggle(400);
96
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  });
94
  jQuery("#openid_question_plugin").click(function () {
95
  jQuery("#openid_question_plugin_desc").slideToggle(400);
96
  });
97
+ jQuery(document.body).on("click",".mo_sl_notice .notice-dismiss",function(o){
98
+ jQuery.ajax({
99
+ url:"admin-ajax.php",
100
+ type:"POST",
101
+ data:{
102
+ action:"mo_sl_dismiss_notice"
103
+ },
104
+ crossDomain:!0,
105
+ dataType:"json",
106
+ success:function(){return!0},
107
+ error:function(){return!1}
108
+ })
109
+ });
110
  });
miniorange_openid_sso_settings.php CHANGED
@@ -4,14 +4,15 @@
4
  * Plugin Name: Social Login, Social Sharing by miniOrange
5
  * Plugin URI: https://www.miniorange.com
6
  * Description: Allow your users to login, comment and share with Facebook, Google, Apple, Twitter, LinkedIn etc using customizable buttons.
7
- * Version: 7.5.5
8
  * Author: miniOrange
9
  * License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
10
  */
11
 
12
- define('MO_OPENID_SOCIAL_LOGIN_VERSION', '7.5.5');
13
  define('plugin_url', plugin_dir_url(__FILE__) . "includes/images/icons/");
14
  define('MOSL_PLUGIN_DIR',str_replace('/','\\',plugin_dir_path(__FILE__)));
 
15
  require('miniorange_openid_sso_settings_page.php');
16
  require('view/config_apps/mo_openid_config_apps_funct.php');
17
  require('view/profile_completion/mo_openid_prof_comp_funct.php');
@@ -38,6 +39,7 @@ class miniorange_openid_sso_settings
38
  add_action('admin_menu', array($this, 'new_miniorange_openid_menu'));
39
  add_action( 'admin_init', array( $this, 'miniorange_openid_save_settings' ) );
40
  add_action('init', 'mo_openid_login_validate' );
 
41
  add_action( 'plugins_loaded', 'mo_openid_plugin_update' ,1 );
42
  add_action( 'admin_enqueue_scripts', array( $this, 'mo_openid_plugin_settings_script' ) );
43
  add_action( 'admin_enqueue_scripts', array( $this, 'mo_openid_plugin_settings_admin_style' ) );
@@ -62,6 +64,10 @@ class miniorange_openid_sso_settings
62
  add_action( 'admin_footer', array( $this,'mo_openid_feedback_request' ));
63
  add_action( 'wp_enqueue_scripts', array( $this, 'mo_openid_plugin_script' ) ,5);
64
 
 
 
 
 
65
  //for addon
66
  add_action('wp_ajax_verify_addon_licience', 'mo_openid_show_verify_addon_license_page');
67
 
@@ -91,18 +97,22 @@ class miniorange_openid_sso_settings
91
  delete_option('app_pos');
92
  add_option('app_pos','facebook#google#discord#twitter#vkontakte#instagram#linkedin#amazon#salesforce#windowslive#yahoo#snapchat#dribbble');
93
  }
94
- update_option('app_pos_premium','apple#paypal#wordpress#github#hubspot#mailru#gitlab#steam#slack#trello#disqus#pinterest#yandex#spotify#reddit#tumblr#twitch#vimeo#kakao#flickr#line#meetup#dropbox#stackexchange#livejournal#foursquare#teamsnap#naver#odnoklassniki#wiebo#wechat#baidu#renren#qq');
95
  add_option('mo_openid_default_login_enable',1);
96
  add_option('mo_openid_default_register_enable',1);
97
  add_option( 'mo_openid_login_theme', 'longbutton' );
98
  add_option( 'mo_openid_register_email_message', 'Hello,<br><br>##User Name## has registered to your site successfully.<br><br>Thanks,<br>miniOrange' );
99
 
100
 
101
- add_option( 'mo_login_icon_space','4' );
102
  add_option( 'mo_login_icon_custom_width','200' );
103
  add_option( 'mo_login_icon_custom_height','35' );
104
- add_option( 'mo_login_icon_custom_size','35' );
105
  add_option( 'mo_login_icon_custom_color', '2B41FF' );
 
 
 
 
106
  add_option( 'mo_openid_login_custom_theme', 'default' );
107
  add_option( 'mo_openid_login_button_customize_text', mo_sl('Login with' ));
108
  add_option('mo_login_icon_custom_boundary','4');
@@ -259,6 +269,7 @@ Thank you.';
259
 
260
  function mo_openid_plugin_settings_script() {
261
  if(strpos(get_current_screen()->id, 'miniorange-social-login-sharing_page') === false) return;
 
262
  wp_enqueue_script( 'mo_openid_admin_settings_jquery1_script', plugins_url('includes/js/mo-openid-config-jquery-ui.js', __FILE__ ));
263
  wp_enqueue_script( 'mo_openid_admin_settings_phone_script', plugins_url('includes/js/mo_openid_phone.js', __FILE__ ));
264
  wp_enqueue_script( 'mo_openid_admin_settings_color_script', plugins_url('includes/jscolor/jscolor.js', __FILE__ ));
@@ -273,13 +284,13 @@ Thank you.';
273
  wp_enqueue_style( 'mo-wp-bootstrap-social',plugins_url('includes/css/bootstrap-social.css', __FILE__), false );
274
  if( get_option('mo_openid_bootstrap_load') == 1)
275
  wp_enqueue_style( 'mo-wp-bootstrap-main',plugins_url('includes/css/bootstrap.min-preview.css', __FILE__), false );
276
- wp_enqueue_style( 'mo-wp-style-icon',plugins_url('includes/css/mo_openid_login_icons.css?version=7.3.0', __FILE__), false );
277
  if( get_option('mo_openid_fonawesome_load') == 1) {
278
  wp_enqueue_style('mo-openid-sl-wp-font-awesome', plugins_url('includes/css/mo-font-awesome.min.css', __FILE__), false);
279
  wp_enqueue_style('mo-openid-sl-wp-font-awesome', plugins_url('includes/css/mo-font-awesome.css', __FILE__), false);
280
  }
281
- wp_enqueue_style( 'mo_openid_admin_settings_style', plugins_url('includes/css/mo_openid_style.css?version=7.3.0', __FILE__));
282
- wp_enqueue_style( 'bootstrap_style_ass', plugins_url( 'includes/css/mo_openid_bootstrap-tour-standalone.css?version=5.1.4', __FILE__ ) );
283
  wp_enqueue_style( 'mo_openid_admin_settings_phone_style', plugins_url('includes/css/phone.css', __FILE__));
284
  }
285
 
@@ -298,6 +309,38 @@ Thank you.';
298
  add_option('mo_openid_amazon_enable','1');
299
  }
300
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
301
  function new_miniorange_openid_menu() {
302
  //Add miniOrange plugin to the menu
303
  $page = add_menu_page( 'MO OpenID Settings ' . __( 'Configure OpenID', 'mo_openid_settings' ), 'miniOrange Social Login, Sharing', 'administrator',
@@ -357,16 +400,20 @@ Thank you.';
357
  switch( $value )
358
  {
359
  case 'mo_openid_customise_social_icons':
360
- $nonce = sanitize_text_field($_POST['mo_openid_customise_social_icons_nonce']);
361
  if (!wp_verify_nonce($nonce, 'mo-openid-customise-social-icons-nonce')) {
362
- wp_die('<strong>ERROR</strong>: Please Go back and Refresh the page and try again!<br/>If you still face the same issue please contact your Administrator.');
363
  }
364
  else{
365
  update_option('mo_openid_fonawesome_load', isset($_POST['mo_openid_fonawesome_load']) ? sanitize_text_field($_POST['mo_openid_fonawesome_load']) : 0);
366
  update_option('mo_openid_bootstrap_load', isset($_POST['mo_openid_bootstrap_load']) ? sanitize_text_field($_POST['mo_openid_bootstrap_load']) : 0);
367
  update_option('mo_openid_login_theme',isset($_POST['mo_openid_login_theme'])? sanitize_text_field($_POST['mo_openid_login_theme']):"");
 
368
  update_option('mo_openid_login_custom_theme',isset($_POST['mo_openid_login_custom_theme'])? sanitize_text_field($_POST['mo_openid_login_custom_theme']):"");
369
  update_option('mo_login_icon_custom_color',isset($_POST['mo_login_icon_custom_color'])? sanitize_text_field($_POST['mo_login_icon_custom_color']):"");
 
 
 
370
  update_option('mo_login_icon_space',isset($_POST['mo_login_icon_space'])? sanitize_text_field($_POST['mo_login_icon_space']):"");
371
  update_option('mo_login_icon_custom_width', isset($_POST['mo_login_icon_custom_width'])?sanitize_text_field($_POST['mo_login_icon_custom_width']):"");
372
  update_option('mo_login_icon_custom_height',isset($_POST['mo_login_icon_custom_height'])? sanitize_text_field($_POST['mo_login_icon_custom_height']):"");
@@ -377,8 +424,9 @@ Thank you.';
377
  update_option('mo_openid_login_button_customize_text',isset($_POST['mo_openid_login_button_customize_text'])? sanitize_text_field($_POST['mo_openid_login_button_customize_text']):"");
378
  update_option('mo_openid_login_widget_customize_logout_name_text',isset($_POST['mo_openid_login_widget_customize_logout_name_text'])? sanitize_text_field($_POST['mo_openid_login_widget_customize_logout_name_text']):"");
379
  update_option('mo_openid_login_widget_customize_logout_text', isset($_POST['mo_openid_login_widget_customize_logout_text'])?sanitize_text_field($_POST['mo_openid_login_widget_customize_logout_text']):"");
 
380
  update_option('mo_openid_message', 'Your settings are saved successfully.');
381
- mo_openid_show_success_message();
382
  }
383
  break;
384
  case 'mo_openid_enable_gdpr':
4
  * Plugin Name: Social Login, Social Sharing by miniOrange
5
  * Plugin URI: https://www.miniorange.com
6
  * Description: Allow your users to login, comment and share with Facebook, Google, Apple, Twitter, LinkedIn etc using customizable buttons.
7
+ * Version: 7.5.6
8
  * Author: miniOrange
9
  * License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
10
  */
11
 
12
+ define('MO_OPENID_SOCIAL_LOGIN_VERSION', '7.5.6');
13
  define('plugin_url', plugin_dir_url(__FILE__) . "includes/images/icons/");
14
  define('MOSL_PLUGIN_DIR',str_replace('/','\\',plugin_dir_path(__FILE__)));
15
+ define('MO_SL_CSS_URL', plugin_dir_url(__FILE__) . 'includes/css/mo_sl_banner.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION);
16
  require('miniorange_openid_sso_settings_page.php');
17
  require('view/config_apps/mo_openid_config_apps_funct.php');
18
  require('view/profile_completion/mo_openid_prof_comp_funct.php');
39
  add_action('admin_menu', array($this, 'new_miniorange_openid_menu'));
40
  add_action( 'admin_init', array( $this, 'miniorange_openid_save_settings' ) );
41
  add_action('init', 'mo_openid_login_validate' );
42
+ add_action( 'init','init_wtlwp');
43
  add_action( 'plugins_loaded', 'mo_openid_plugin_update' ,1 );
44
  add_action( 'admin_enqueue_scripts', array( $this, 'mo_openid_plugin_settings_script' ) );
45
  add_action( 'admin_enqueue_scripts', array( $this, 'mo_openid_plugin_settings_admin_style' ) );
64
  add_action( 'admin_footer', array( $this,'mo_openid_feedback_request' ));
65
  add_action( 'wp_enqueue_scripts', array( $this, 'mo_openid_plugin_script' ) ,5);
66
 
67
+ //eoss
68
+ add_action( 'admin_notices', array( $this, 'mo_social_showNotice' ) );
69
+ add_action( 'wp_ajax_mo_sl_dismiss_notice', array( $this, 'mo_sl_dismiss_notice' ) );
70
+
71
  //for addon
72
  add_action('wp_ajax_verify_addon_licience', 'mo_openid_show_verify_addon_license_page');
73
 
97
  delete_option('app_pos');
98
  add_option('app_pos','facebook#google#discord#twitter#vkontakte#instagram#linkedin#amazon#salesforce#windowslive#yahoo#snapchat#dribbble');
99
  }
100
+ update_option('app_pos_premium','apple#paypal#wordpress#github#hubspot#mailru#gitlab#steam#slack#trello#disqus#pinterest#yandex#spotify#reddit#tumblr#twitch#vimeo#kakao#flickr#line#meetup#dropbox#stackexchange#livejournal#foursquare#teamsnap#naver#odnoklassniki#wiebo#wechat#baidu#renren#qq#fitbit#stackoverflow');
101
  add_option('mo_openid_default_login_enable',1);
102
  add_option('mo_openid_default_register_enable',1);
103
  add_option( 'mo_openid_login_theme', 'longbutton' );
104
  add_option( 'mo_openid_register_email_message', 'Hello,<br><br>##User Name## has registered to your site successfully.<br><br>Thanks,<br>miniOrange' );
105
 
106
 
107
+ add_option( 'mo_login_icon_space','8' );
108
  add_option( 'mo_login_icon_custom_width','200' );
109
  add_option( 'mo_login_icon_custom_height','35' );
110
+ add_option( 'mo_login_icon_custom_size','45' );
111
  add_option( 'mo_login_icon_custom_color', '2B41FF' );
112
+ add_option( 'mo_login_icon_custom_hover_color', '4AB8D4' );
113
+ add_option( 'mo_login_icon_custom_smart_color1', 'FF1F4B' );
114
+ add_option( 'mo_login_icon_custom_smart_color2', '2008FF' );
115
+ add_option( 'mo_openid_button_theme_effect', 'transform' );
116
  add_option( 'mo_openid_login_custom_theme', 'default' );
117
  add_option( 'mo_openid_login_button_customize_text', mo_sl('Login with' ));
118
  add_option('mo_login_icon_custom_boundary','4');
269
 
270
  function mo_openid_plugin_settings_script() {
271
  if(strpos(get_current_screen()->id, 'miniorange-social-login-sharing_page') === false) return;
272
+ wp_enqueue_style( 'mo_openid_banner_admin_settings_style' , MO_SL_CSS_URL);
273
  wp_enqueue_script( 'mo_openid_admin_settings_jquery1_script', plugins_url('includes/js/mo-openid-config-jquery-ui.js', __FILE__ ));
274
  wp_enqueue_script( 'mo_openid_admin_settings_phone_script', plugins_url('includes/js/mo_openid_phone.js', __FILE__ ));
275
  wp_enqueue_script( 'mo_openid_admin_settings_color_script', plugins_url('includes/jscolor/jscolor.js', __FILE__ ));
284
  wp_enqueue_style( 'mo-wp-bootstrap-social',plugins_url('includes/css/bootstrap-social.css', __FILE__), false );
285
  if( get_option('mo_openid_bootstrap_load') == 1)
286
  wp_enqueue_style( 'mo-wp-bootstrap-main',plugins_url('includes/css/bootstrap.min-preview.css', __FILE__), false );
287
+ wp_enqueue_style( 'mo-wp-style-icon',plugins_url('includes/css/mo_openid_login_icons.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION, __FILE__), false );
288
  if( get_option('mo_openid_fonawesome_load') == 1) {
289
  wp_enqueue_style('mo-openid-sl-wp-font-awesome', plugins_url('includes/css/mo-font-awesome.min.css', __FILE__), false);
290
  wp_enqueue_style('mo-openid-sl-wp-font-awesome', plugins_url('includes/css/mo-font-awesome.css', __FILE__), false);
291
  }
292
+ wp_enqueue_style( 'mo_openid_admin_settings_style', plugins_url('includes/css/mo_openid_style.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION, __FILE__));
293
+ wp_enqueue_style( 'bootstrap_style_ass', plugins_url( 'includes/css/mo_openid_bootstrap-tour-standalone.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION, __FILE__ ) );
294
  wp_enqueue_style( 'mo_openid_admin_settings_phone_style', plugins_url('includes/css/phone.css', __FILE__));
295
  }
296
 
309
  add_option('mo_openid_amazon_enable','1');
310
  }
311
 
312
+ function mo_social_showNotice(){
313
+ wp_enqueue_style( 'mo_openid_banner_admin_settings_style' , MO_SL_CSS_URL);
314
+ $licensePageUrl = admin_url().'admin.php?page=mo_openid_general_settings&tab=licensing_plans';
315
+ $current_url = admin_url().'admin.php?'.$_SERVER['QUERY_STRING'];
316
+ $isNoticeClosed = get_option("mo_social_hide_notice");
317
+ $rest_url=admin_url().'admin.php?page=mo_openid_general_settings&tab=rest_api_page';
318
+ if($isNoticeClosed == "mo_social_hide_notice"){
319
+ $time=time();
320
+ $date=get_option('eoss_banner_time');
321
+ if(date("Y-m-d",$time)>$date) {
322
+ update_option('mo_social_hide_notice', '');
323
+ }
324
+ }
325
+ $isNoticeClosed = get_option("mo_social_hide_notice");
326
+ if($isNoticeClosed !== "mo_social_hide_notice"){
327
+ if($current_url !== $licensePageUrl){
328
+ echo '<div class="mo_sl_notice updated notice is-dismissible" style="padding-bottom: 7px;background-color:#e0eeee99;">
329
+ <p style ="font-size:18px;"><img src="'.plugin_dir_url(__FILE__).'includes/images/miniOrange_logo.png'.'" class="show_mo_icon_form" style="width: 3%;margin-bottom: -1%;">&ensp;<b>Thank you for choosing miniOrange Social Login.<br><br> END OF YEAR SALE!<br>GET UPTO 70% OFF ON ALL PREMIUM PLANS & ADDON\'S. <a class="mo_sl_notice_url" href='.$licensePageUrl.'>CHECK OUR SALE OFFERS HERE</a></b></p>
330
+ <p style="font-size: initial"><b>Rest API / Mobile SSO:</b> Are you looking for rest API solution to authorize your users for your <i style="font-size: larger" class="fab fa-android"><b> Android</b></i> or <i style="font-size: larger" class="fab fa-apple"><b> iOS</b></i> app? <a class="mo_sl_notice_url" style="cursor: pointer" href="https://login.xecurify.com/moas/login?redirectUrl=https://login.xecurify.com/moas/initializepayment&requestOrigin=wp_social_login_rest_api_plan" target="_blank">Click here</a> to upgrade or <a class="mo_sl_notice_url" style="cursor: pointer" href='.$rest_url.'>Click here</a> for more details.</p>
331
+ <p style="font-size: initial"><b>Discord WordPress Integration:</b> Check out our <a class="mo_sl_notice_url" style="cursor: pointer" href="https://plugins.miniorange.com/discord-wordpress-add-on" target="_blank">Discord Add-on</a> if you\'re using Discord to manage your users for Membership, Role Mapping, Avatar Mapping, and more.</p>
332
+ </div>';
333
+ }
334
+ }
335
+ }
336
+
337
+ function mo_sl_dismiss_notice(){
338
+ update_option("mo_social_hide_notice","mo_social_hide_notice");
339
+ $time=time();
340
+ update_option('eoss_banner_time',date("Y-m-d",$time));
341
+
342
+ }
343
+
344
  function new_miniorange_openid_menu() {
345
  //Add miniOrange plugin to the menu
346
  $page = add_menu_page( 'MO OpenID Settings ' . __( 'Configure OpenID', 'mo_openid_settings' ), 'miniOrange Social Login, Sharing', 'administrator',
400
  switch( $value )
401
  {
402
  case 'mo_openid_customise_social_icons':
403
+ $nonce = $_POST['mo_openid_customise_social_icons_nonce'];
404
  if (!wp_verify_nonce($nonce, 'mo-openid-customise-social-icons-nonce')) {
405
+ wp_die('<strong>ERROR</strong>: Invalid Request.');
406
  }
407
  else{
408
  update_option('mo_openid_fonawesome_load', isset($_POST['mo_openid_fonawesome_load']) ? sanitize_text_field($_POST['mo_openid_fonawesome_load']) : 0);
409
  update_option('mo_openid_bootstrap_load', isset($_POST['mo_openid_bootstrap_load']) ? sanitize_text_field($_POST['mo_openid_bootstrap_load']) : 0);
410
  update_option('mo_openid_login_theme',isset($_POST['mo_openid_login_theme'])? sanitize_text_field($_POST['mo_openid_login_theme']):"");
411
+ update_option('mo_openid_button_theme_effect',isset($_POST['mo_openid_button_theme_effect'])? sanitize_text_field($_POST['mo_openid_button_theme_effect']):"");
412
  update_option('mo_openid_login_custom_theme',isset($_POST['mo_openid_login_custom_theme'])? sanitize_text_field($_POST['mo_openid_login_custom_theme']):"");
413
  update_option('mo_login_icon_custom_color',isset($_POST['mo_login_icon_custom_color'])? sanitize_text_field($_POST['mo_login_icon_custom_color']):"");
414
+ update_option('mo_login_icon_custom_hover_color',isset($_POST['mo_login_icon_custom_hover_color'])? sanitize_text_field($_POST['mo_login_icon_custom_hover_color']):"");
415
+ update_option('mo_login_icon_custom_smart_color1',isset($_POST['mo_login_icon_custom_smart_color1'])? sanitize_text_field($_POST['mo_login_icon_custom_smart_color1']):"");
416
+ update_option('mo_login_icon_custom_smart_color2',isset($_POST['mo_login_icon_custom_smart_color2'])? sanitize_text_field($_POST['mo_login_icon_custom_smart_color2']):"");
417
  update_option('mo_login_icon_space',isset($_POST['mo_login_icon_space'])? sanitize_text_field($_POST['mo_login_icon_space']):"");
418
  update_option('mo_login_icon_custom_width', isset($_POST['mo_login_icon_custom_width'])?sanitize_text_field($_POST['mo_login_icon_custom_width']):"");
419
  update_option('mo_login_icon_custom_height',isset($_POST['mo_login_icon_custom_height'])? sanitize_text_field($_POST['mo_login_icon_custom_height']):"");
424
  update_option('mo_openid_login_button_customize_text',isset($_POST['mo_openid_login_button_customize_text'])? sanitize_text_field($_POST['mo_openid_login_button_customize_text']):"");
425
  update_option('mo_openid_login_widget_customize_logout_name_text',isset($_POST['mo_openid_login_widget_customize_logout_name_text'])? sanitize_text_field($_POST['mo_openid_login_widget_customize_logout_name_text']):"");
426
  update_option('mo_openid_login_widget_customize_logout_text', isset($_POST['mo_openid_login_widget_customize_logout_text'])?sanitize_text_field($_POST['mo_openid_login_widget_customize_logout_text']):"");
427
+ update_option('mo_openid_custom_css',isset($_POST['mo_openid_custom_css'])? sanitize_text_field($_POST['mo_openid_custom_css']):"");
428
  update_option('mo_openid_message', 'Your settings are saved successfully.');
429
+ mo_openid_show_success_message();
430
  }
431
  break;
432
  case 'mo_openid_enable_gdpr':
miniorange_openid_sso_settings_page.php CHANGED
@@ -40,18 +40,9 @@ require('view/add_on/mo_discord_add_on.php');
40
  require('view/soc_sha/soc_med_cust/mo_openid_social_media_cust.php');
41
  require ('view/soc_sha/twitter_btn/mo_twitter_btn.php');
42
  require('view/soc_sha/soc_med_ser/mo_openid_social_media_services.php');
 
43
 
44
  function mo_register_openid() {
45
- if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_plans")) {
46
- ?>
47
- <div id="upgrade_notice" class="mo_openid_notice mo_openid_notice-warning" >
48
- <p style="font-size: larger"><b>Rest API / Mobile SSO:</b> Are you looking for rest API solution to authorize your users for your <i style="font-size: larger" class="fab fa-android"><b> Android</b></i> or <i style="font-size: larger" class="fab fa-apple"><b> iOS</b></i> app? <a style="cursor: pointer" href="https://login.xecurify.com/moas/login?redirectUrl=https://login.xecurify.com/moas/initializepayment&requestOrigin=wp_social_login_rest_api_plan" target="_blank">Click here</a> to upgrade or <a style="cursor: pointer" href=<?php echo site_url()."/wp-admin/admin.php?page=mo_openid_general_settings&tab=rest_api_page"; ?>>Click here</a> for more details.
49
- </p>
50
- <p style="font-size: larger"><b>Discord WordPress Integration:</b> Check out our <a style="cursor: pointer" href="https://plugins.miniorange.com/discord-wordpress-add-on" target="_blank">Discord Add-on</a> if you're using Discord to manage your users for Membership, Role Mapping, Avatar Mapping, and more.
51
- </p>
52
- </div>
53
- <?php
54
- }
55
  if (isset($_GET['tab']) && $_GET['tab'] !== 'register') {
56
  $active_tab = $_GET['tab'];
57
  } else {
@@ -147,6 +138,12 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
147
  <a id="disp_opt" class="tablinks<?php if($active_tab=="disp_opt") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'disp_opt'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Display Options');?></a>
148
  <a id="redirect_opt" class="tablinks<?php if($active_tab=="redirect_opt") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'redirect_opt'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Redirect Options');?></a>
149
  <a id="registration" class="tablinks<?php if($active_tab=="registration") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'registration'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Registration');?></a>
 
 
 
 
 
 
150
  <a id="integration" style="color: lightgreen" class="tablinks<?php if($active_tab=="integration") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'integration'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Popular Integrations');?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span></a>
151
  <a id="profile_completion" class="tablinks<?php if($active_tab=="profile_completion") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'profile_completion'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Profile Completion');?></a>
152
  <a id="email_settings" class="tablinks<?php if($active_tab=="email_settings") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'email_settings'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Email Notification');?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span></a>
@@ -186,6 +183,9 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
186
  case 'redirect_opt':
187
  mo_openid_redirect_opt();
188
  break;
 
 
 
189
  case 'registration':
190
  mo_openid_registration();
191
  break;
@@ -251,7 +251,7 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
251
  <script>
252
  jQuery("#contact_us_phone").intlTelInput();
253
  function mo_openid_support_form(abc) {
254
-
255
  var def = "It seems that you have shown interest. Please elaborate more on your requirements.";
256
  if (abc == '' || abc == "undefined")
257
  def = "Write your query here";
@@ -262,6 +262,7 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
262
  var mo_btn = document.getElementById("mymo_btn");
263
  mo_btn.style.display = "none";
264
  var span = document.getElementsByClassName("mo_support_close")[0];
 
265
 
266
  document.getElementById('mo_openid_support_msg').placeholder = def;
267
  document.getElementById("feature_plan").value= abc;
@@ -272,6 +273,7 @@ if(!strpos($_SERVER['REQUEST_URI'], "mo_openid_general_settings&tab=licensing_pl
272
  window.onclick = function (event) {
273
  if (event.target == modal) {
274
  modal.style.display = "none";
 
275
  mo_btn.style.display = "block";
276
  }
277
  }
@@ -755,7 +757,6 @@ function mo_register_sharing_openid()
755
  }
756
  </script>
757
  <?php
758
-
759
  }
760
 
761
  function mo_comment_openid() {
@@ -999,7 +1000,7 @@ function mo_comment_openid() {
999
  }
1000
 
1001
  function mo_openid_addon_desc_page() {
1002
-
1003
  if( isset( $_GET[ 'tab' ]) && $_GET[ 'tab' ] !== 'register' ) {
1004
  $active_tab = $_GET[ 'tab' ];
1005
  }
@@ -1258,5 +1259,4 @@ else
1258
  }
1259
  </script>
1260
  <?php
1261
-
1262
  }
40
  require('view/soc_sha/soc_med_cust/mo_openid_social_media_cust.php');
41
  require ('view/soc_sha/twitter_btn/mo_twitter_btn.php');
42
  require('view/soc_sha/soc_med_ser/mo_openid_social_media_services.php');
43
+ require('view/tlwp/mo_openid_tlwp.php');
44
 
45
  function mo_register_openid() {
 
 
 
 
 
 
 
 
 
 
46
  if (isset($_GET['tab']) && $_GET['tab'] !== 'register') {
47
  $active_tab = $_GET['tab'];
48
  } else {
138
  <a id="disp_opt" class="tablinks<?php if($active_tab=="disp_opt") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'disp_opt'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Display Options');?></a>
139
  <a id="redirect_opt" class="tablinks<?php if($active_tab=="redirect_opt") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'redirect_opt'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Redirect Options');?></a>
140
  <a id="registration" class="tablinks<?php if($active_tab=="registration") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'registration'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Registration');?></a>
141
+ <?php $i=get_current_user_id();
142
+ $temp_user=get_user_meta($i, 'temporary_url', true);
143
+ if( !$temp_user) {
144
+ ?>
145
+ <a id="tlwp" class="tablinks<?php if($active_tab=="tlwp") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'tlwp'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Create Temporaray Login');?></a>
146
+ <?php } ?>
147
  <a id="integration" style="color: lightgreen" class="tablinks<?php if($active_tab=="integration") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'integration'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Popular Integrations');?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span></a>
148
  <a id="profile_completion" class="tablinks<?php if($active_tab=="profile_completion") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'profile_completion'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Profile Completion');?></a>
149
  <a id="email_settings" class="tablinks<?php if($active_tab=="email_settings") echo '_active';?>" href="<?php echo add_query_arg( array('tab' => 'email_settings'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('Email Notification');?><span class="mo-openid-premium"><?php echo mo_sl('PRO');?></span></a>
183
  case 'redirect_opt':
184
  mo_openid_redirect_opt();
185
  break;
186
+ case 'tlwp':
187
+ mo_openid_tlwp();
188
+ break;
189
  case 'registration':
190
  mo_openid_registration();
191
  break;
251
  <script>
252
  jQuery("#contact_us_phone").intlTelInput();
253
  function mo_openid_support_form(abc) {
254
+
255
  var def = "It seems that you have shown interest. Please elaborate more on your requirements.";
256
  if (abc == '' || abc == "undefined")
257
  def = "Write your query here";
262
  var mo_btn = document.getElementById("mymo_btn");
263
  mo_btn.style.display = "none";
264
  var span = document.getElementsByClassName("mo_support_close")[0];
265
+ var modales = document.getElementById("myModalsss");
266
 
267
  document.getElementById('mo_openid_support_msg').placeholder = def;
268
  document.getElementById("feature_plan").value= abc;
273
  window.onclick = function (event) {
274
  if (event.target == modal) {
275
  modal.style.display = "none";
276
+ modales.style.display = "none";
277
  mo_btn.style.display = "block";
278
  }
279
  }
757
  }
758
  </script>
759
  <?php
 
760
  }
761
 
762
  function mo_comment_openid() {
1000
  }
1001
 
1002
  function mo_openid_addon_desc_page() {
1003
+
1004
  if( isset( $_GET[ 'tab' ]) && $_GET[ 'tab' ] !== 'register' ) {
1005
  $active_tab = $_GET[ 'tab' ];
1006
  }
1259
  }
1260
  </script>
1261
  <?php
 
1262
  }
mo-openid-social-login-functions.php CHANGED
@@ -338,7 +338,7 @@ function mo_create_new_user($user_val){
338
  );
339
  $user_id = wp_insert_user( $userdata);
340
 
341
-
342
 
343
  if(is_wp_error( $user_id )) {
344
  print_r($user_id);
@@ -638,12 +638,12 @@ function mo_openid_is_mailc_license_key_verified() {
638
  return 1;
639
  }
640
  }
641
- function mo_openid_show_addon_message_page()
642
  {
643
  ?>
644
  <div class="mo_openid_table_layout">
645
  <?php
646
- echo "<div style='text-align: center'><p>It seems <b>Extra Attributes Add On plugin</b> is not installed or activated. Please download or activate the addon.</p></div>";
647
  ?>
648
  <h2 align="center">How do I download or activate the Social Integration Registration Form Addon ?</h2>
649
  <p><b>Download:</b> Download addon and license key from xecurify Console
@@ -988,18 +988,11 @@ function mo_openid_registeration_modal(){
988
  </div>
989
  </form>
990
  <form method="post">
991
-
992
  <input id="pop_next" name="show_login" value="Existing Account" class="button button-primary button-large" style="margin-left: 35%;margin-top: -7.7%;" type="submit">
993
-
994
  </form>
995
-
996
-
997
-
998
  </div>
999
  </div>
1000
-
1001
  </div>
1002
-
1003
  <?php
1004
  }
1005
 
@@ -1010,7 +1003,7 @@ function create_customer(){
1010
  get_current_customer();
1011
  }
1012
  else if((strcasecmp( $customerKey['status'], 'INVALID_EMAIL_QUICK_EMAIL' ) == 0) && (strcasecmp( $customerKey['message'], 'This is not a valid email. please enter a valid email.' ) == 0) ){
1013
- if($_POST['action']=='mo_register_new_user')
1014
  wp_send_json(["error" => 'There was an error creating an account for you. You may have entered an invalid Email-Id. (We discourage the use of disposable emails) Please try again with a valid email.']);
1015
  else {
1016
  update_option('mo_openid_message', 'There was an error creating an account for you. You may have entered an invalid Email-Id. <b> (We discourage the use of disposable emails) </b> Please try again with a valid email.');
@@ -1023,7 +1016,7 @@ function create_customer(){
1023
  }
1024
  }
1025
  else if((strcasecmp( $customerKey['status'], 'FAILED' ) == 0) && (strcasecmp( $customerKey['message'], 'Email is not enterprise email.' ) == 0) ){
1026
- if($_POST['action']=='mo_register_new_user')
1027
  wp_send_json(["error" => 'There was an error creating an account for you. You may have entered an invalid Email-Id. (We discourage the use of disposable emails) Please try again with a valid email.']);
1028
  else {
1029
  update_option('mo_openid_message', 'There was an error creating an account for you. You may have entered an invalid Email-Id. <b> (We discourage the use of disposable emails) </b> Please try again with a valid email.');
@@ -1045,7 +1038,7 @@ function create_customer(){
1045
  update_option('mo_openid_registration_status','MO_OPENID_REGISTRATION_COMPLETE');
1046
  delete_option('mo_openid_verify_customer');
1047
  delete_option('mo_openid_new_registration');
1048
- if($_POST['action']=='mo_register_new_user')
1049
  wp_send_json(["success" => 'Registration complete!']);
1050
  else {
1051
  mo_openid_show_success_message();
@@ -1165,7 +1158,7 @@ function mo_register_old_user(){
1165
  update_option('mo_openid_admin_customer_key', $customerKey['id']);
1166
  update_option('mo_openid_admin_api_key', $customerKey['apiKey']);
1167
  update_option('mo_openid_customer_token', $customerKey['token']);
1168
- update_option('mo_openid_admin_phone', $customerKey['phone']);
1169
  update_option('mo_openid_admin_password', '');
1170
  update_option('mo_openid_message', 'Your account has been retrieved successfully.');
1171
  delete_option('mo_openid_verify_customer');
338
  );
339
  $user_id = wp_insert_user( $userdata);
340
 
341
+
342
 
343
  if(is_wp_error( $user_id )) {
344
  print_r($user_id);
638
  return 1;
639
  }
640
  }
641
+ function mo_openid_show_addon_message_page($add)
642
  {
643
  ?>
644
  <div class="mo_openid_table_layout">
645
  <?php
646
+ echo "<div style='text-align: center'><p>It seems <b>".$add."</b> is not installed or activated. Please download or activate the addon.</p></div>";
647
  ?>
648
  <h2 align="center">How do I download or activate the Social Integration Registration Form Addon ?</h2>
649
  <p><b>Download:</b> Download addon and license key from xecurify Console
988
  </div>
989
  </form>
990
  <form method="post">
 
991
  <input id="pop_next" name="show_login" value="Existing Account" class="button button-primary button-large" style="margin-left: 35%;margin-top: -7.7%;" type="submit">
 
992
  </form>
 
 
 
993
  </div>
994
  </div>
 
995
  </div>
 
996
  <?php
997
  }
998
 
1003
  get_current_customer();
1004
  }
1005
  else if((strcasecmp( $customerKey['status'], 'INVALID_EMAIL_QUICK_EMAIL' ) == 0) && (strcasecmp( $customerKey['message'], 'This is not a valid email. please enter a valid email.' ) == 0) ){
1006
+ if(isset($_POST['action'])?$_POST['action']=='mo_register_new_user':0)
1007
  wp_send_json(["error" => 'There was an error creating an account for you. You may have entered an invalid Email-Id. (We discourage the use of disposable emails) Please try again with a valid email.']);
1008
  else {
1009
  update_option('mo_openid_message', 'There was an error creating an account for you. You may have entered an invalid Email-Id. <b> (We discourage the use of disposable emails) </b> Please try again with a valid email.');
1016
  }
1017
  }
1018
  else if((strcasecmp( $customerKey['status'], 'FAILED' ) == 0) && (strcasecmp( $customerKey['message'], 'Email is not enterprise email.' ) == 0) ){
1019
+ if(isset($_POST['action'])?$_POST['action']=='mo_register_new_user':0)
1020
  wp_send_json(["error" => 'There was an error creating an account for you. You may have entered an invalid Email-Id. (We discourage the use of disposable emails) Please try again with a valid email.']);
1021
  else {
1022
  update_option('mo_openid_message', 'There was an error creating an account for you. You may have entered an invalid Email-Id. <b> (We discourage the use of disposable emails) </b> Please try again with a valid email.');
1038
  update_option('mo_openid_registration_status','MO_OPENID_REGISTRATION_COMPLETE');
1039
  delete_option('mo_openid_verify_customer');
1040
  delete_option('mo_openid_new_registration');
1041
+ if(isset($_POST['action'])?$_POST['action']=='mo_register_new_user':0)
1042
  wp_send_json(["success" => 'Registration complete!']);
1043
  else {
1044
  mo_openid_show_success_message();
1158
  update_option('mo_openid_admin_customer_key', $customerKey['id']);
1159
  update_option('mo_openid_admin_api_key', $customerKey['apiKey']);
1160
  update_option('mo_openid_customer_token', $customerKey['token']);
1161
+ update_option('mo_openid_admin_phone', isset($customerKey['phone'])?$customerKey['phone']:'');
1162
  update_option('mo_openid_admin_password', '');
1163
  update_option('mo_openid_message', 'Your account has been retrieved successfully.');
1164
  delete_option('mo_openid_verify_customer');
mo_openid_feedback_form.php CHANGED
@@ -185,6 +185,4 @@ function mo_openid_display_feedback_form(){
185
  return false;
186
  });
187
  </script><?php
188
-
189
- }
190
- ?>
185
  return false;
186
  });
187
  </script><?php
188
+ }
 
 
mo_openid_sso_encryption.php CHANGED
@@ -54,5 +54,4 @@ class MOAESEncryption {
54
  }
55
  return substr($text, 0, -1 * $pad);
56
  }
57
- }
58
- ?>
54
  }
55
  return substr($text, 0, -1 * $pad);
56
  }
57
+ }
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.miniorange.com
4
  Tags: social login, facebook login, google login, social sharing, twitter login, linkedIn, user login, vkontakte login, social comments, social commenting, woocommerce login, facebook, twitter, google, social connect, social network login, social plugin, windows, microsoft, discord login.
5
  Requires at least: 2.0.2
6
  Tested up to: 5.8
7
- Stable tag: 7.5.5
8
  License: GPLv2 or later
9
  License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
10
 
@@ -263,15 +263,29 @@ Please email us at info@miniorange.com. You can also submit your query from the
263
  3. Social Login display Options.
264
  4. Social Login redirection options.
265
  5. Advanced options for Social Login.
266
- 6. Profile Completion option for Social Login.
267
- 7. Icon preview for Social Sharing.
268
- 8. Social Login with square images.
269
- 9. Social Login with icon and text buttons.
270
- 10. Social Login with circle buttons.
271
- 11. Square Social share buttons - horizontal and vertical.
272
- 12. Social Sharing icons without background.
 
 
 
 
273
 
274
  ==Changelog==
 
 
 
 
 
 
 
 
 
 
275
  = 7.5.5 =
276
  * Added meeting scheduler in support section.
277
  * Fix the discord profile picture mapping issue.
@@ -955,6 +969,16 @@ SECURITY FIXES
955
  * First version of Social Login, Social Sharing plugin.
956
 
957
  == Upgrade Notice ==
 
 
 
 
 
 
 
 
 
 
958
  = 7.5.5 =
959
  * Added meeting scheduler in support section.
960
  * Fix the discord profile picture mapping issue.
4
  Tags: social login, facebook login, google login, social sharing, twitter login, linkedIn, user login, vkontakte login, social comments, social commenting, woocommerce login, facebook, twitter, google, social connect, social network login, social plugin, windows, microsoft, discord login.
5
  Requires at least: 2.0.2
6
  Tested up to: 5.8
7
+ Stable tag: 7.5.6
8
  License: GPLv2 or later
9
  License URI: http://miniorange.com/usecases/miniOrange_User_Agreement.pdf
10
 
263
  3. Social Login display Options.
264
  4. Social Login redirection options.
265
  5. Advanced options for Social Login.
266
+ 6. Temporary user for wp-login.
267
+ 7. Profile Completion option for Social Login.
268
+ 8. Icon preview for Social Sharing.
269
+ 9. Social Login with square images.
270
+ 10. Social Login with icon with default theme and long buttons.
271
+ 11. Social Login with icon with white background and long buttons.
272
+ 12. Social Login with icon with Hover theme, Transform effect and long buttons.
273
+ 13. Social Login with icon with smart theme, Transform effect and long buttons.
274
+ 14. Social Login with icon with Custom Hover theme, Transform effect and circle buttons.
275
+ 15. Square Social share buttons - horizontal and vertical.
276
+ 16. Social Sharing icons without background.
277
 
278
  ==Changelog==
279
+ = 7.5.6 =
280
+ * Added Temporary login feature.
281
+ * Added Hover, Custom hover, and Smart Theme for social login Icons.
282
+ * Fixed Yahoo attribute mapping.
283
+ * Updated Facebook setup instructions.
284
+ * Updated Facebook and Google setup videos.
285
+ * Published Christmas and EOSS.
286
+ * Added Fitbit and Stackoverflow apps in Premium and all-inclusive app.
287
+ * Added connect with messenger feature in Premium and all-inclusive app.
288
+
289
  = 7.5.5 =
290
  * Added meeting scheduler in support section.
291
  * Fix the discord profile picture mapping issue.
969
  * First version of Social Login, Social Sharing plugin.
970
 
971
  == Upgrade Notice ==
972
+ = 7.5.6 =
973
+ * Added Temporary login feature.
974
+ * Added Hover, Custom hover, and Smart Theme for social login Icons.
975
+ * Fixed Yahoo attribute mapping.
976
+ * Updated Facebook setup instructions.
977
+ * Updated Facebook and Google setup videos.
978
+ * Published Christmas and EOSS.
979
+ * Added Fitbit, Trello and Stackoverflow apps in Premium and all-inclusive app.
980
+ * Added connect with messenger feature in Premium and all-inclusive app.
981
+
982
  = 7.5.5 =
983
  * Added meeting scheduler in support section.
984
  * Fix the discord profile picture mapping issue.
social_apps/facebook.php CHANGED
@@ -4,7 +4,7 @@ class mo_facebook
4
  {
5
  public $color="#1877F2";
6
  public $scope="email, public_profile";
7
- public $video_url="https://www.youtube.com/embed/1hsLaT54XYM";
8
  public $instructions;
9
  public function __construct() {
10
  $this->site_url = get_option( 'siteurl' );
@@ -19,13 +19,14 @@ class mo_facebook
19
  ##Under <b>User Data Deletion</b> click on the drop down, Select <b>Data Deletion Instruction URl</b> (Enter the URL of your page with the instructions on how users can delete their accounts on your site).
20
  ##Select <b>Category</b> of your website. Then click on <b>Save Changes</b>.
21
  ##On the Left side panel, Click on <b>Facebook Login</b> and select <b>Settings</b> option.
22
- ##Scroll down and add the following URL to the <b>Valid OAuth redirect URIs</b> field <b><code id='222'>".mo_get_permalink('facebook')."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"far fa-fw fa-lg fa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#12', '#shortcode_url_copy3')\"><span id=\"shortcode_url_copy3\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> and click on <b>Save Changes</b> button.
23
  ##Click on the App review tab from the left hand side menu and click on Permissions and Request.
24
  ##Now click on Request Advance Access for public_profile and email. If you want any extra data to be returned you can request permission for those scopes.
25
  ##In the toolbar Change your app status from <b>In Development</b> to <b>Live</b> by clicking on the toggle button and further Click on <b>Switch Mode</b>.
26
  ##Go to <b>Settings > Basic</b>. Copy your <b>App ID</b> and <b>App Secret</b> provided by Facebook and paste them into the fields above.
27
  ##Input <b> email, public_profile </b>as scope.
28
  ##Click on the <b>Save settings</b> button.
 
29
  ##<b>[Optional: Extra attributes]</b> If you want to access the <b>user_birthday, user_hometown, user_location</b> of a Facebook user, you need to send your app for review to Facebook. For submitting an app for review, click <a target=\"_blank\" href=\"https://developers.facebook.com/docs/facebook-login/review/how-to-submit \">here</a>. After your app is reviewed, you can add the scopes you have sent for review in the scope above. If your app is not approved or is in the process of getting approved, let the scope be <b>email, public_profile</b>
30
  ##Go to Social Login tab to configure the display as well as other login settings.
31
  ##If you are facing any problem drop a mail on socialloginsupport@xecurify.com.";
4
  {
5
  public $color="#1877F2";
6
  public $scope="email, public_profile";
7
+ public $video_url="https://www.youtube.com/embed/ju21twD0uB0";
8
  public $instructions;
9
  public function __construct() {
10
  $this->site_url = get_option( 'siteurl' );
19
  ##Under <b>User Data Deletion</b> click on the drop down, Select <b>Data Deletion Instruction URl</b> (Enter the URL of your page with the instructions on how users can delete their accounts on your site).
20
  ##Select <b>Category</b> of your website. Then click on <b>Save Changes</b>.
21
  ##On the Left side panel, Click on <b>Facebook Login</b> and select <b>Settings</b> option.
22
+ ##Scroll down and add the following URL to the <b>Valid OAuth redirect URIs</b> field <b><code id='222'>".mo_get_permalink('facebook')."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"far fa-fw fa-lg fa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#222', '#shortcode_url_copy3')\"><span id=\"shortcode_url_copy3\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b> and click on <b>Save Changes</b> button.
23
  ##Click on the App review tab from the left hand side menu and click on Permissions and Request.
24
  ##Now click on Request Advance Access for public_profile and email. If you want any extra data to be returned you can request permission for those scopes.
25
  ##In the toolbar Change your app status from <b>In Development</b> to <b>Live</b> by clicking on the toggle button and further Click on <b>Switch Mode</b>.
26
  ##Go to <b>Settings > Basic</b>. Copy your <b>App ID</b> and <b>App Secret</b> provided by Facebook and paste them into the fields above.
27
  ##Input <b> email, public_profile </b>as scope.
28
  ##Click on the <b>Save settings</b> button.
29
+ ##<b>NOTE:</b> If you are asked to Complete Data Use Checkup. Click on the Start Checkup button. Certify Data Use for public_profile and email. Provide consent to Facebook Developer’s Policy and click on submit.
30
  ##<b>[Optional: Extra attributes]</b> If you want to access the <b>user_birthday, user_hometown, user_location</b> of a Facebook user, you need to send your app for review to Facebook. For submitting an app for review, click <a target=\"_blank\" href=\"https://developers.facebook.com/docs/facebook-login/review/how-to-submit \">here</a>. After your app is reviewed, you can add the scopes you have sent for review in the scope above. If your app is not approved or is in the process of getting approved, let the scope be <b>email, public_profile</b>
31
  ##Go to Social Login tab to configure the display as well as other login settings.
32
  ##If you are facing any problem drop a mail on socialloginsupport@xecurify.com.";
social_apps/fitbit.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ class mo_fitbit
5
+ {
6
+ public $color="#373B41";
7
+
8
+ }
social_apps/stackoverflow.php ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+ class mo_stackoverflow
5
+ {
6
+ public $color="#D93E06";
7
+
8
+ }
social_apps/yahoo.php CHANGED
@@ -55,9 +55,11 @@ class mo_yahoo
55
 
56
  if(isset($profile_json_output['name'])){
57
  $user_name = isset( $profile_json_output['name']) ? $profile_json_output['name'] : '';
58
- $full_name = explode(" ", $user_name);
59
- $first_name = isset( $full_name[0]) ? $full_name[0] : '';
60
- $last_name = isset( $full_name[1]) ? $full_name[1] : '';
 
 
61
  }
62
  $email = isset( $profile_json_output['email']) ? $profile_json_output['email'] : '';
63
  $social_user_id = isset( $profile_json_output['sub']) ? $profile_json_output['sub'] : '';
55
 
56
  if(isset($profile_json_output['name'])){
57
  $user_name = isset( $profile_json_output['name']) ? $profile_json_output['name'] : '';
58
+ $first_name = isset( $profile_json_output['given_name']) ? $profile_json_output['given_name'] : '';
59
+ $last_name = isset( $profile_json_output['family_name']) ? $profile_json_output['family_name'] : '';
60
+ $email = isset( $profile_json_output['email']) ? $profile_json_output['email'] : '';
61
+ $user_picture = isset( $profile_json_output['picture']) ? $profile_json_output['picture'] : '';
62
+ $gender = isset( $profile_json_output['gender']) ? $profile_json_output['gender'] : '';
63
  }
64
  $email = isset( $profile_json_output['email']) ? $profile_json_output['email'] : '';
65
  $social_user_id = isset( $profile_json_output['sub']) ? $profile_json_output['sub'] : '';
social_apps/yandex.php CHANGED
@@ -4,83 +4,4 @@
4
  class mo_yandex
5
  {
6
  public $color="#E52620";
7
- public $scope="";
8
- public $video_url="";
9
- public $instructions;
10
- public function __construct() {
11
- $this->site_url = get_option( 'siteurl' );
12
- $this->instructions="Go to Facebook developers console <a href=\"https://developers.facebook.com/apps/\" target=\"_blank\">https://developers.facebook.com/apps/</a>. Login with your facebook developer account.##Click on Create a New App/Add new App button.##Enter <b>Display Name</b> and click on Create App ID.##Click on <b>Products</b> from left pane of the page and select <b>Facebook Login</b> and click on <b>Set Up</b> button.##Click on <b>Web</b>. Enter <b><code id='9'>".get_option("siteurl")."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"far fa-fw fa-lg fa-copy mo_copy mo_openid_copytooltip\" onclick=\"copyToClipboard(this, '#9', '#shortcode_url9_copy')\"><span id=\"shortcode_url9_copy\" class=\"mo_openid_copytooltiptext\">Copy to Clipboard</span></i></b> into <b>Site URL</b> than click on <b> Save</b>.##Goto <b>Settings -> Basic</b> from left pane of the page, Enter <b><code id='10'>".$_SERVER['HTTP_HOST']."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"far fa-fw fa-lg fa-copy mo_copy mo_openid_copytooltip\" onclick=\"copyToClipboard(this, '#10', '#shortcode_url10_copy')\"><span id=\"shortcode_url10_copy\" class=\"mo_openid_copytooltiptext\">Copy to Clipboard</span></i></b> in <b>App Domain</b>, your privacy policy URL in <b>Privacy Policy URL</b> and select <b>Category</b> of your website. Then click on <b>Save Changes</b>.##From the left pane, select <b>Facebook Login -> Settings</b>.##Under Client OAuth Settings section, Enter <b><code id='11'>".mo_get_permalink('facebook')."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"far fa-fw fa-lg fa-copy mo_copy mo_openid_copytooltip\" onclick=\"copyToClipboard(this, '#11', '#shortcode_url11_copy')\"><span id=\"shortcode_url11_copy\" class=\"mo_openid_copytooltiptext\">Copy to Clipboard</span></i></b> in <b>Valid OAuth Redirect URIs</b> and click on <b>Save Changes</b> button.##Change your app status from In Development to Live by clicking on OFF (sliding button) beside Status option of the top right corner. Then, click on Confirm button.##Go to Settings > Basic. Paste your <b>App ID</b> and <b>App Secret</b> provided by Facebook into the fields above.##Input <b> email, public_profile </b>as scope.##If you want to access the <b>user_birthday, user_hometown, user_location</b> of a Facebook user, you need to send your app for review to Facebook. For submitting an app for review, click <a target=\"_blank\" href=\"https://developers.facebook.com/docs/facebook-login/review/how-to-submit \">here</a>. After your app is reviewed, you can add the scopes you have sent for review in the scope above. If your app is not approved or is in the process of getting approved, let the scope be <b>email, public_profile</b>##Click on the <b>Save settings</b> button.##Go to Social Login tab to configure the display as well as other login settings.";
13
- }
14
-
15
- function mo_openid_get_app_code()
16
- {
17
- $appslist = maybe_unserialize(get_option('mo_openid_apps_list'));
18
- mo_openid_start_session();
19
- $_SESSION["appname"] = 'yandex';
20
- $client_id = $appslist['yandex']['clientid'];
21
- $scope = $appslist['yandex']['scope'];
22
- $login_dialog_url = "https://oauth.yandex.com/authorize?response_type=code&client_id=".$client_id. '&scope='.$scope;
23
- header('Location:'. $login_dialog_url);
24
- exit;
25
- }
26
-
27
- function mo_openid_get_access_token()
28
- {
29
- $code=mo_openid_validate_code();
30
- $social_app_redirect_uri = get_social_app_redirect_uri('yandex');
31
- $appslist = maybe_unserialize(get_option('mo_openid_apps_list'));
32
- $client_id = $appslist['yandex']['clientid'];
33
- $client_secret = $appslist['yandex']['clientsecret'];
34
- $access_token_uri = 'https://oauth.yandex.com/token';
35
- $postData = 'grant_type=authorization_code&code=' . $code .'&client_id=' . $client_id . '&client_secret=' . $client_secret;
36
- $access_token_json_output=mo_openid_get_access_token($postData,$access_token_uri,'yandex');
37
- $access_token = isset( $access_token_json_output['access_token']) ? $access_token_json_output['access_token'] : '';
38
- mo_openid_start_session();
39
- // $profile_url ='https://graph.facebook.com/me/?fields=age_range,birthday,about,cover,currency,devices,education,email,favorite_athletes,favorite_teams,first_name,gender,hometown,inspirational_people,interested_in,is_verified,languages,last_name,link,locale,location,meeting_for,middle_name,name,name_format,political,public_key,quotes,relationship_status,religion,sports,timezone,updated_time,verified,website,work,friends,picture.height('.$px.')&access_token=' .$access_token;
40
- $profile_url ='https://login.yandex.ru/info?&oauth_token=' .$access_token. '&with_openid_identity=1';
41
- $profile_json_output = mo_openid_get_social_app_data($access_token,$profile_url,'yandex');
42
-
43
- //Test Configuration
44
- if( is_user_logged_in() && get_option('mo_openid_test_configuration') == 1 )
45
- {
46
- mo_openid_app_test_config($profile_json_output);
47
- }
48
- //set all profile details
49
- //Set User current app
50
- $first_name = $last_name = $email = $user_name = $user_url = $user_picture = $social_user_id = '';
51
- $location_city = $location_country = $about_me = $company_name = $age = $gender = $friend_nos = '';
52
-
53
- $first_name = isset( $profile_json_output['first_name']) ? $profile_json_output['first_name'] : '';
54
- $last_name = isset( $profile_json_output['last_name']) ? $profile_json_output['last_name'] : '';
55
- $email = isset( $profile_json_output['email']) ? $profile_json_output['email'] : '';
56
- $user_name = isset( $profile_json_output['name']) ? $profile_json_output['name'] : '';
57
- $user_url = isset( $profile_json_output['link']) ? $profile_json_output['link'] : '';
58
- $user_picture = isset( $profile_json_output['picture']['data']['url']) ? $profile_json_output['picture']['data']['url'] : '';
59
- $social_user_id = isset( $profile_json_output['id']) ? $profile_json_output['id'] : '';
60
- $location_city = isset( $profile_json_output['location']['name']) ? $profile_json_output['location']['name'] : '';
61
- $location_country = isset( $profile_json_output['location']['country']['code']) ? $profile_json_output['location']['country']['code'] : '';
62
- $about_me = isset( $profile_json_output['summary']) ? $profile_json_output['summary'] : '';
63
- $company_name = isset( $profile_json_output['positions']['values']['0']['company']['name']) ? $profile_json_output['positions']['values']['0']['company']['name'] : '';
64
- $friend_nos= isset( $profile_json_output['friends']['summary']['total_count']) ? $profile_json_output['friends']['summary']['total_count'] : '';
65
- $gender = isset( $profile_json_output['gender']) ? $profile_json_output['gender'] : '';
66
- $age= isset( $profile_json_output['age_range']['min']) ? $profile_json_output['age_range']['min'] : '';
67
-
68
- $appuserdetails = array(
69
- 'first_name' => $first_name,
70
- 'last_name' => $last_name,
71
- 'email' => $email,
72
- 'user_name' => $user_name,
73
- 'user_url' => $user_url,
74
- 'user_picture' => $user_picture,
75
- 'social_user_id' => $social_user_id,
76
- 'location_city' => $location_city,
77
- 'location_country' => $location_country,
78
- 'about_me' => $about_me,
79
- 'company_name' => $company_name,
80
- 'friend_nos' => $friend_nos,
81
- 'gender' => $gender,
82
- 'age' => $age,
83
- );
84
- return $appuserdetails;
85
- }
86
  }
4
  class mo_yandex
5
  {
6
  public $color="#E52620";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  }
uninstall.php CHANGED
@@ -197,5 +197,4 @@ delete_option('mo_openid_register_email_message');
197
 
198
 
199
  delete_option('mo_openid_bootstrap_load');
200
- delete_option('mo_openid_fonawesome_load');
201
- ?>
197
 
198
 
199
  delete_option('mo_openid_bootstrap_load');
200
+ delete_option('mo_openid_fonawesome_load');
 
view/add_on/mo_discord_add_on.php CHANGED
@@ -15,7 +15,7 @@ function mo_openid_discord_add_on_display()
15
  <input type="button" value="<?php echo mo_sl('Verify Key');?>"
16
  id="mosocial_purchase_dis_verify"
17
  class="button button-primary button-large"
18
- style="float: right;">
19
  </h3>
20
  <br>
21
  <b><?php echo mo_sl('Discord Integration add-on allows you to restrict the login/registration of user based on whether the user is present in the Discord server');?></b>
@@ -26,6 +26,19 @@ function mo_openid_discord_add_on_display()
26
 
27
  </div>
28
  <br>
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  <div class="mo_openid_highlight">
30
  <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('Discord Integration');?></h3>
31
  </div>
@@ -45,24 +58,24 @@ function mo_openid_discord_add_on_display()
45
  </div>
46
 
47
  <form>
48
-
49
- <input name="option" type="hidden" value="discord_role_creation_settings">
50
- <table class="form-table" role="presentation">
51
- <tbody>
52
- <tr class="form-field form-required">
53
- <th scope="row"><label for="">Guild ID\'s <span class="description">(required)</span></label></th>
54
- <td><input disabled type="text" placeholder="717473765117323473"><br><br>
55
- </td>
56
- </tr>
57
- <tr class="form-field form-required">
58
- <th scope="row"><label for="">Bot Token Key <span class="description">(required)</span></label></th>
59
- <td><input disabled type="text" placeholder="717473765117323473"/>
60
- </td>
61
- </tr>
62
- </tbody></table>
63
-
64
- <p class="submit"><input type="submit" name="discord_role_creation_submit" id="discord_role_creation_submit" class="button button-primary" disabled value="Save"></p>
65
- </form>
66
  </div>
67
  <td>
68
  <form style="display:none;" id="mosocial_loginform" action="<?php echo get_option( 'mo_openid_host_name' ) . '/moas/login'; ?>"
@@ -85,23 +98,7 @@ function mo_openid_discord_add_on_display()
85
  jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Discord Add On'); ?>');
86
  jQuery(document).ready(function($){
87
  jQuery("#mosocial_purchase_dis_verify").on("click",function(){
88
- jQuery.ajax({
89
- url: "<?php echo admin_url("admin-ajax.php");?>", //the page containing php script
90
- method: "POST", //request type,
91
- dataType: 'json',
92
- data: {
93
- action: 'mo_register_customer_toggle_update',
94
- },
95
- success: function (result){
96
- if (result.status){
97
- mo_verify_add_on_license_key();
98
- }
99
- else{
100
- alert("Please register/login with miniOrange to verify key and use the Custom Registration Form Add on");
101
- window.location.href="<?php echo site_url()?>".concat("/wp-admin/admin.php?page=mo_openid_general_settings&tab=profile");
102
- }
103
- }
104
- });
105
  });
106
  });
107
 
15
  <input type="button" value="<?php echo mo_sl('Verify Key');?>"
16
  id="mosocial_purchase_dis_verify"
17
  class="button button-primary button-large"
18
+ style="float: right;display: none">
19
  </h3>
20
  <br>
21
  <b><?php echo mo_sl('Discord Integration add-on allows you to restrict the login/registration of user based on whether the user is present in the Discord server');?></b>
26
 
27
  </div>
28
  <br>
29
+ <hr>
30
+ <h2 style="font-style: italic;font-size: 1.8em; text-align: center;">Customization Available With Discord Integration</h2>
31
+
32
+ <div class="mo_openid_note_style " style="border-left: 6px solid #2196F3;border-radius: 5px" >
33
+ <ul style="list-style: initial;margin-left: 2%; font-weight: bold;" >
34
+ <li>We provide <b>DISCORD ROLE MAPPING</b> based on WordPress role and membership/subscription of the end user. </li>
35
+ <li>Automate the process of adding user to the discord server when user register to website.</li>
36
+ <li>Kick the user from the discord server when user deleted from WordPress website.</li>
37
+ <li>Kick the user when the subscription/membership ended.</li>
38
+ <li> Other Use Case as per customers requirment. For more details <a style="cursor: pointer" onclick="mo_openid_support_form()">Contact Us</a></li>
39
+ </ul>
40
+ </div>
41
+ <br>
42
  <div class="mo_openid_highlight">
43
  <h3 style="margin-left: 2%;line-height: 210%;color: white;"><?php echo mo_sl('Discord Integration');?></h3>
44
  </div>
58
  </div>
59
 
60
  <form>
61
+
62
+ <input name="option" type="hidden" value="discord_role_creation_settings">
63
+ <table class="form-table" role="presentation">
64
+ <tbody>
65
+ <tr class="form-field form-required">
66
+ <th scope="row"><label for="">Guild ID\'s <span class="description">(required)</span></label></th>
67
+ <td><input disabled type="text" placeholder="717473765117323473"><br><br>
68
+ </td>
69
+ </tr>
70
+ <tr class="form-field form-required">
71
+ <th scope="row"><label for="">Bot Token Key <span class="description">(required)</span></label></th>
72
+ <td><input disabled type="text" placeholder="717473765117323473"/>
73
+ </td>
74
+ </tr>
75
+ </tbody></table>
76
+
77
+ <p class="submit"><input type="submit" name="discord_role_creation_submit" id="discord_role_creation_submit" class="button button-primary" disabled value="Save"></p>
78
+ </form>
79
  </div>
80
  <td>
81
  <form style="display:none;" id="mosocial_loginform" action="<?php echo get_option( 'mo_openid_host_name' ) . '/moas/login'; ?>"
98
  jQuery('#mo_openid_page_heading').text('<?php echo mo_sl('Discord Add On'); ?>');
99
  jQuery(document).ready(function($){
100
  jQuery("#mosocial_purchase_dis_verify").on("click",function(){
101
+ mo_verify_add_on_license_key();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
102
  });
103
  });
104
 
view/config_apps/mo_openid_config_apps.php CHANGED
@@ -2,6 +2,80 @@
2
  //configure apps menu page
3
  function mo_openid_show_apps()
4
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  if (isset($_POST['update_tour_status'])){
6
  update_option('mo_openid_tour_new','1');
7
  }
@@ -98,6 +172,9 @@ function mo_openid_show_apps()
98
  }elseif ($apps=='mailru'){
99
  $icons='at';
100
  }
 
 
 
101
  $dir=dirname(dirname(dirname( __FILE__ )));
102
  include_once($dir.'/social_apps/'.$apps.'.php');
103
  $mo_appname='mo_'.$apps;
@@ -106,7 +183,7 @@ function mo_openid_show_apps()
106
  ?>
107
  <div class="mo-openid-sort-apps-div mo-openid-hover-div-sett">
108
  <div class="mo-openid-sort-apps-i-div" style="background-color:<?php echo $blcolor?>;">
109
- <?php if($apps=='naver'||$apps=='disqus'||$apps=='teamsnap'||$apps=='livejournal'||$apps=='kakao'||$apps=='baidu'||$apps=='mailru'){ ?>
110
  <img style="float: right" src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/icons/<?php echo $apps?>.png" height="60px" width="60px"
111
  alt="<?php echo $apps?>"/>
112
  <?php }
@@ -115,7 +192,7 @@ function mo_openid_show_apps()
115
  <?php } ?>
116
  </div>
117
  <div id="mo-openid-hover-app-sett-show" style="display: block">
118
- <div style="display: inline-block; text-align: center;width: 100%;position: absolute;font-size: 13px;"><span style="color:black"><?php if($apps == 'mailru') $apps='mail.ru'; echo strtoupper($apps)?></span></div>
119
  </div>
120
  </div>
121
  <?php
2
  //configure apps menu page
3
  function mo_openid_show_apps()
4
  {
5
+ $time=get_option('sale_banner_time');
6
+ if (! $time) {
7
+ update_option('sale_banner_time',time());
8
+ $time=time();
9
+ }
10
+
11
+ if ($time+3600 < time() ) {
12
+ echo '<style>
13
+ .modal {
14
+ display: block; /* Hidden by default */
15
+ position: fixed; /* Stay in place */
16
+ z-index: 1; /* Sit on top */
17
+ padding-top: 100px; /* Location of the box */
18
+ left: 0;
19
+ top: 0;
20
+ width: 100%; /* Full width */
21
+ height: 100%; /* Full height */
22
+ overflow: auto; /* Enable scroll if needed */
23
+ background-color: rgb(0,0,0); /* Fallback color */
24
+ background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
25
+ }
26
+
27
+ /* Modal Content */
28
+ .modal-content {
29
+ background-color: transparent;
30
+ margin: auto;
31
+ padding: 0px;
32
+ height: 420px;
33
+ width: 380px;
34
+ }
35
+
36
+ /* The Close Button */
37
+ .close {
38
+ color: #7a7a7a;
39
+ float: right;
40
+ font-size: 28px;
41
+ font-weight: bold;
42
+ margin-left: 432px;
43
+ position: absolute;
44
+ }
45
+
46
+ .close:hover,
47
+ .close:focus {
48
+ color: #f6f4f4;
49
+ text-decoration: none;
50
+ cursor: pointer;
51
+ }
52
+
53
+ </style>
54
+ <div id="myModalsss" class="modal">
55
+
56
+ <div class="modal-content">
57
+ <span class="close">&times;</span>
58
+ <img height="500px" width="450px" src="' . plugin_dir_url(dirname(dirname(__FILE__))) . '/includes/images/eosssale.gif">
59
+
60
+ </div>
61
+
62
+ </div>
63
+ <script>
64
+ var modales = document.getElementById("myModalsss");
65
+
66
+ // Get the button that opens the modal
67
+
68
+ // Get the <span> element that closes the modal
69
+ var sp = document.getElementsByClassName("close")[0];
70
+ // When the user clicks on <span> (x), close the modal
71
+ sp.onclick = function() {
72
+ modales.style.display = "none";
73
+ }
74
+
75
+ </script>';
76
+ update_option('sale_banner_time',time());
77
+ }
78
+
79
  if (isset($_POST['update_tour_status'])){
80
  update_option('mo_openid_tour_new','1');
81
  }
172
  }elseif ($apps=='mailru'){
173
  $icons='at';
174
  }
175
+ elseif ($apps=='stackoverflow'){
176
+ $icons='stack-overflow';
177
+ }
178
  $dir=dirname(dirname(dirname( __FILE__ )));
179
  include_once($dir.'/social_apps/'.$apps.'.php');
180
  $mo_appname='mo_'.$apps;
183
  ?>
184
  <div class="mo-openid-sort-apps-div mo-openid-hover-div-sett">
185
  <div class="mo-openid-sort-apps-i-div" style="background-color:<?php echo $blcolor?>;">
186
+ <?php if($apps=='naver'||$apps=='disqus'||$apps=='teamsnap'||$apps=='livejournal'||$apps=='kakao'||$apps=='baidu'||$apps=='mailru'||$apps=='fitbit'){ ?>
187
  <img style="float: right" src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/icons/<?php echo $apps?>.png" height="60px" width="60px"
188
  alt="<?php echo $apps?>"/>
189
  <?php }
192
  <?php } ?>
193
  </div>
194
  <div id="mo-openid-hover-app-sett-show" style="display: block">
195
+ <div style="display: inline-block; text-align: center;width: 100%;position: absolute;font-size: 13px;"><span style="color:black"><?php if($apps == 'mailru') $apps='mail.ru'; if($apps == 'wiebo') $apps='weibo'; echo strtoupper($apps)?></span></div>
196
  </div>
197
  </div>
198
  <?php
view/customise_social_icons/mo_openid_cust_icons.php CHANGED
@@ -12,45 +12,73 @@ function mo_openid_customise_social_icons(){
12
  <div style="float:left;width:50%;">
13
  <label style="font-size: 1.2em;"><b><?php echo mo_sl('Shape');?></b><br></label>
14
  <label class="mo-openid-radio-container"><?php echo mo_sl('Round');?>
15
- <input type="radio" id="mo_openid_login_shape_round" name="mo_openid_login_theme" value="circle" onclick="shape_change();checkLoginButton();moLoginPreview(document.getElementById('mo_login_icon_size').value ,'circle',setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value)" <?php checked( get_option('mo_openid_login_theme') == 'circle' );?> /><br>
16
  <span class="mo-openid-radio-checkmark"></span></label>
17
  <label class="mo-openid-radio-container"><?php echo mo_sl('Rounded Edges');?>
18
- <input type="radio" id="mo_openid_login_shape_rounded_edges" name="mo_openid_login_theme" value="oval" onclick="shape_change();checkLoginButton();moLoginPreview(document.getElementById('mo_login_icon_size').value ,'oval',setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value)" <?php checked( get_option('mo_openid_login_theme') == 'oval' );?> /><br>
19
  <span class="mo-openid-radio-checkmark"></span></label>
20
 
21
  <label class="mo-openid-radio-container"><?php echo mo_sl('Square');?>
22
- <input type="radio" id="mo_openid_login_shape_square" name="mo_openid_login_theme" value="square" onclick="shape_change();checkLoginButton();moLoginPreview(document.getElementById('mo_login_icon_size').value ,'square',setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value)" <?php checked( get_option('mo_openid_login_theme') == 'square' );?> /><br>
23
  <span class="mo-openid-radio-checkmark"></span></label>
24
  <label class="mo-openid-radio-container"><?php echo mo_sl('Long Button');?>
25
- <input type="radio" id="mo_openid_login_shape_longbutton" name="mo_openid_login_theme" value="longbutton" onclick="shape_change();checkLoginButton();moLoginPreview(document.getElementById('mo_login_icon_width').value ,'longbutton',setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value)" <?php checked( get_option('mo_openid_login_theme') == 'longbutton' );?> /><br>
26
  <span class="mo-openid-radio-checkmark"></span></label>
 
 
 
 
 
 
 
 
 
27
  </div>
28
  <div style="float: right; width: 50%;">
29
  <label style="font-size: 1.2em;"><b><?php echo mo_sl('Theme');?></b><br></label>
30
  <label class="mo-openid-radio-container"><?php echo mo_sl('Default');?>
31
  <input type="radio" id="mo_openid_default_background_radio" name="mo_openid_login_custom_theme"
32
- value="default" onclick="whiteThemeAd();checkLoginButton();moLoginPreview(setSizeOfIcons(), setLoginTheme(),'default',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value)"
33
  <?php checked( get_option('mo_openid_login_custom_theme') == 'default' );?> /><br>
34
  <span class="mo-openid-radio-checkmark"></span></label>
35
 
 
 
 
 
 
 
 
36
  <label class="mo-openid-radio-container"><?php echo mo_sl('Custom background*');?>
37
- <input type="radio" id="mo_openid_custom_background_radio" name="mo_openid_login_custom_theme" value="custom" onclick="whiteThemeAd();checkLoginButton();moLoginPreview(setSizeOfIcons(), setLoginTheme(),'custom',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value)"
38
  <?php checked( get_option('mo_openid_login_custom_theme') == 'custom' );?> /><br>
39
  <span class="mo-openid-radio-checkmark"></span></label>
40
 
41
- <input id="mo_login_icon_custom_color" style="width:135px; margin-bottom: 3px" name="mo_login_icon_custom_color" class="color" value="<?php echo esc_attr(get_option('mo_login_icon_custom_color'))?>" onchange="moLoginPreview(setSizeOfIcons(), setLoginTheme(),'custom',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value)" >
 
42
 
43
- <label style="cursor: context-menu" class="mo-openid-radio-container"><?php echo mo_sl('White Background*');?> <a style="left: 1%; position: relative; text-decoration: none" class="mo-openid-premium" href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>"><?php echo mo_sl('PRO');?></a>
44
- <input type="radio" value="default" id="mo_openid_white_background_radio" name="mo_openid_login_custom_theme" style="padding-top:1%;" onclick="whiteThemeAd()">
 
 
45
  <span class="mo-openid-radio-checkmark"></span></label>
46
 
47
 
 
 
 
 
 
 
48
 
49
- </div>
50
- <div id="white_theme_ad">
51
 
52
- <h3>Example : </h3>
53
- <img style="display: block; margin-left: auto; margin-right: auto; height:360px; width=:360px;" src="<?php echo plugin_dir_url(dirname(dirname(__FILE__)));?>includes/images/white_theme_ad.png" alt="white theme ad"/>
 
 
 
 
 
54
 
55
  </div>
56
  </div>
@@ -72,15 +100,15 @@ function mo_openid_customise_social_icons(){
72
  </div>
73
  <div id="other_button_size">
74
  <input style="width:50px" id="mo_login_icon_size" onkeyup="moLoginSizeValidate(this)" name="mo_login_icon_custom_size" type="text" value="<?php echo esc_attr(get_option('mo_login_icon_custom_size'))?>">
75
- <input id="mo_login_size_plus" type="button" value="+" onmouseup="moLoginPreview(document.getElementById('mo_login_icon_size').value ,setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value)" />
76
- <input id="mo_login_size_minus" type="button" value="-" onmouseup="moLoginPreview(document.getElementById('mo_login_icon_size').value ,setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value)" />
77
  </div>
78
  </div>
79
  <div style="width: 50%;float: right;margin-top: 5%">
80
  <label style="font-size: 1.2em;"><b><?php echo mo_sl('Space between Icons');?></b></label><br/>
81
  <input class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2;width: 16%;margin-bottom: 3px" onkeyup="moLoginSpaceValidate(this)" id="mo_login_icon_space" name="mo_login_icon_space" type="text" value="<?php echo esc_attr(get_option('mo_login_icon_space'))?>"/>
82
- <input id="mo_login_space_plus" type="button" value="+" onmouseup="moLoginPreview(setSizeOfIcons() ,setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value)" />
83
- <input id="mo_login_space_minus" type="button" value="-" onmouseup="moLoginPreview(setSizeOfIcons() ,setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value)" />
84
  </div>
85
 
86
 
@@ -148,7 +176,7 @@ function mo_openid_customise_social_icons(){
148
  <b>Preview : </b><br/>
149
  <div style="padding-bottom: 1%; padding-top: 3%">
150
  <?php
151
- $default_color= array('facebook'=>'#1877F2','google'=>'#DB4437','vkontakte'=>'#466482','twitter'=>'#2795e9','yahoo'=>'#430297','yandex'=>'#2795e9','instagram'=>'#3f729b','linkedin'=>'#007bb6','amazon'=>'#ff9900','paypal'=>'#0d127a','salesforce'=>'#1ab7ea','windowslive'=>'#2672ec','apple'=>'#000000','steam'=>'#000000','wordpress'=>'#587ea3','pinterest'=>'#cb2027','spotify'=>'#19bf61','tumblr'=>'#2c4762','twitch'=>'#720e9e','github'=>'#000000','dribbble'=>'#ee66aa','flickr'=>'#ff0084','stackexchange'=>'0000ff','snapchat'=>'#fffc00','reddit'=>'#ff4301','odnoklassniki'=>'#f97400','foursquare'=>'#f94877','wechat'=>'#00c300','vimeo'=>'#1ab7ea','line'=>'#00c300','hubspot'=>'#fa7820','discord'=>'#7289da','meetup'=>'#e51937','stackexchange'=>'#0000FF','wiebo'=>'#df2029');
152
 
153
  $app_pos=get_option('app_pos');
154
  $app_pos=explode('#',$app_pos);
@@ -166,9 +194,6 @@ function mo_openid_customise_social_icons(){
166
  $class_app = 'vimeo';
167
  $icon = 'salesforce';
168
  }
169
- elseif ($active_app=='amazon') {
170
- $class_app = 'soundcloud';
171
- }
172
  elseif ($active_app=='windowslive'){
173
  $class_app='microsoft';
174
  $icon='windows';
@@ -177,32 +202,67 @@ function mo_openid_customise_social_icons(){
177
  $count_app++;
178
  ?>
179
  <i class="mo_login_icon_preview <?php echo $extra;?> fab fa-<?php echo $active_app;?>" id="mo_login_icon_preview_facebook" style="background:<?php echo $default_color[$active_app];?> !important;text-align:center;margin-top:5px;color: white" ></i>
180
- <a style="background: rgb(255,255,255)!important; background:linear-gradient(90deg, rgba(255,255,255,1) 38px, rgb(79, 113, 232) 5%) !important;border-color: rgba(79, 113, 232, 1);border-bottom-width: thin;" id="mo_login_button_preview_google" class="mo_btn mo_btn-block mo_btn-defaulttheme mo_btn-social mo_btn-google mo_btn-custom-size"> <img class="fa" src="<?php echo plugin_url.'/g.png'?>"><?php
181
- ?> <span style="color:#ffffff;"><?php echo esc_html(get_option('mo_openid_login_button_customize_text'));?> Google</span></a>
182
- <i class="mo_custom_login_icon_preview fab fa-google" id="mo_custom_login_icon_preview_google" style="color:#ffffff;text-align:center;margin-top:5px;"></i>
183
- <a id="mo_custom_login_button_preview_google" class="mo_btn mo_btn-block mo_btn-customtheme mo_btn-social mo_btn-custom-size"> <i class="fab fa-google"></i><?php
 
184
  echo esc_html(get_option('mo_openid_login_button_customize_text'));?> Google</a>
185
- <?php
186
- }
187
- else if($active_app=='disqus' || $active_app=='kakao'){
188
- $count_app++;
189
- ?>
190
- <img class="mo_login_icon_preview" id="mo_login_icon_preview_<?php echo $active_app ?>" src="<?php echo plugin_url.'/'.$active_app.'.png'?>" />
191
- <a id="mo_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_btn-defaulttheme mo_btn-social mo_btn-<?php echo $active_app ?> mo_btn-custom-size"> <img class="fa" src="<?php echo plugin_url.'/'.$app_img.'.png'?>"><?php
 
 
 
 
 
 
 
 
192
  echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
193
- <i class="mo_custom_login_icon_preview fa" id="mo_custom_login_icon_preview_<?php echo $active_app ?>" style="color:#ffffff;text-align:center;" ><img id="<?php echo $app_img ?>" src="<?php echo plugin_url.'/'.$app_img.'.png'?>"></i>
194
- <a id="mo_custom_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_btn-customtheme mo_btn-social mo_btn-custom-size"> <img class="fa" src="<?php echo plugin_url.'/'.$app_img.'.png'?>"><?php
195
- echo esc_html(get_option('mo_openid_login_button_customize_text')); ?> <?php echo $active_app ?></a>
 
 
 
 
196
  <?php
197
  }
198
  else{
199
  $count_app++;
200
  ?>
201
- <i class="mo_login_icon_preview fab fa-<?php echo $icon;?>" id="mo_login_icon_preview_facebook" style="background:<?php echo $default_color[$active_app];?>;text-align:center;margin-top:5px;color: #FFFFFF" ></i>
202
- <a id="mo_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_btn-defaulttheme mo_btn-social mo_btn-<?php echo $class_app ?> mo_btn-custom-size"> <i class="fab fa-<?php echo $icon ?>"></i><?php
203
  echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app?></a>
204
- <i class="mo_custom_login_icon_preview fab fa-<?php echo $icon ?>" id="mo_custom_login_icon_preview_<?php echo $active_app ?>" style="color:#ffffff;text-align:center;margin-top:5px;"></i>
205
- <a id="mo_custom_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_btn-customtheme mo_btn-social mo_btn-custom-size"> <i class="fab fa-<?php echo $icon ?>"></i><?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
206
  echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
207
  <?php
208
  }
@@ -240,25 +300,80 @@ function mo_openid_customise_social_icons(){
240
  </form>
241
  <script>
242
 
243
- jQuery("#white_theme_ad").hide();
244
- function whiteThemeAd(){
245
- if(jQuery('#mo_openid_white_background_radio').is(':checked')) {
246
- jQuery("#white_theme_ad").show();
 
 
 
 
 
 
 
 
 
 
 
 
 
247
  }
248
- else if (jQuery('#mo_openid_custom_background_radio').is(':checked'))
249
- {
250
- jQuery("#white_theme_ad").hide();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
  }
252
- else if (jQuery('#mo_openid_default_background_radio').is(':checked'))
253
- {
254
- jQuery("#white_theme_ad").hide();
 
 
 
 
 
 
 
 
 
 
 
 
 
255
  }
 
256
  }
257
 
258
- jQuery("#form-apps input[id=mo_openid_white_background_radio]:radio").removeClass("mo-openid-radio-checkmark");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
259
 
260
- //to set heading name
261
- jQuery('#mo_openid_page_heading').text('<?php echo mo_sl("Customize Login Icons"); ?>');
262
  window.onload=shape_change();
263
  function shape_change() {
264
  var y = document.getElementById('mo_openid_login_shape_longbutton').checked;
@@ -281,6 +396,10 @@ function mo_openid_customise_social_icons(){
281
  var tempHorSpace = '<?php echo esc_attr(get_option('mo_login_icon_space'))?>';
282
  var tempHorHeight = '<?php echo esc_attr(get_option('mo_login_icon_custom_height')) ?>';
283
  var tempHorBoundary='<?php echo esc_attr(get_option('mo_login_icon_custom_boundary'))?>';
 
 
 
 
284
 
285
  function moLoginSpaceValidate(e){
286
  var t=parseInt(e.value.trim());t>60?e.value=60:0>t&&(e.value=0)
@@ -331,6 +450,7 @@ function mo_openid_customise_social_icons(){
331
  moLoginBoundaryIncrement(document.getElementById('mo_login_boundary_minus'), "subtract", document.getElementById('mo_login_icon_custom_boundary'), 300, 0.7);
332
 
333
  function setLoginTheme(){return jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val();}
 
334
  function setLoginCustomTheme(){return jQuery('input[name=mo_openid_login_custom_theme]:checked', '#form-apps').val();}
335
  function setSizeOfIcons(){
336
  if((jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val()) == 'longbutton'){
@@ -339,9 +459,10 @@ function mo_openid_customise_social_icons(){
339
  return document.getElementById('mo_login_icon_size').value;
340
  }
341
  }
342
- moLoginPreview(setSizeOfIcons(),tempHorTheme,tempHorCustomTheme,tempHorCustomColor,tempHorSpace,tempHorHeight,tempHorBoundary);
343
 
344
- function moLoginPreview(t,r,l,p,n,h,k){
 
345
  if(l == 'default'){
346
  if(r == 'longbutton'){
347
  var a = "mo_btn-defaulttheme";
@@ -353,14 +474,124 @@ function mo_openid_customise_social_icons(){
353
  jQuery(this).css("margin-bottom",(n-5)+"px");
354
  jQuery(this).css("border-radius",k+"px");
355
  });
356
- jQuery(".fa").css("padding-top",(h-35)+"px");
357
-
 
 
 
 
358
  }else{
359
  var a="mo_login_icon_preview";
360
- jQuery("."+a).css("margin-left",(n-4)+"px");
361
  jQuery("."+a).css("cursor","pointer");
362
  jQuery("."+a).css({height:t-8,width:t});
363
  jQuery("."+a).css("padding-top","8px");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
364
  if(r=="circle"){
365
  jQuery("."+a).css("borderRadius","999px");
366
  }else if(r=="oval"){
@@ -368,13 +599,111 @@ function mo_openid_customise_social_icons(){
368
  }else if(r=="square"){
369
  jQuery("."+a).css("borderRadius","0px");
370
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
371
  jQuery("."+a).css("font-size",(t-16)+"px");
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
372
 
 
 
 
 
 
 
 
 
 
 
 
 
373
  }
374
  }
 
375
  else if(l == 'custom'){
376
  if(r == 'longbutton'){
377
- var a = "mo_btn-customtheme";
378
  jQuery("."+a).css("margin-top", "5px");
379
  jQuery("."+a).css("width",(t)+"px");
380
  jQuery("."+a).css("padding-top",(h-29)+"px");
@@ -383,8 +712,14 @@ function mo_openid_customise_social_icons(){
383
  jQuery("."+a).css("margin-bottom",(n-5)+"px");
384
  jQuery("."+a).css("background","#"+p);
385
  jQuery("."+a).css("border-radius",k+"px");
 
 
 
 
 
386
  }else{
387
  var a="mo_custom_login_icon_preview";
 
388
  jQuery("."+a).css({height:t-8,width:t});
389
  jQuery("."+a).css("padding-top","8px");
390
  jQuery("."+a).css("margin-left",(n-4)+"px");
@@ -400,6 +735,21 @@ function mo_openid_customise_social_icons(){
400
  jQuery("."+a).css("font-size",(t-16)+"px");
401
  jQuery("#disq").css({height:t-21});
402
  jQuery("#kaka").css({height:t-21});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
403
  }
404
  }
405
  previewLoginIcons();
@@ -410,26 +760,190 @@ function mo_openid_customise_social_icons(){
410
  if(setLoginCustomTheme() == 'default'){
411
  jQuery(".mo_login_icon_preview").hide();
412
  jQuery(".mo_custom_login_icon_preview").hide();
413
- jQuery(".mo_btn-customtheme").hide();
414
  jQuery(".mo_btn-defaulttheme").show();
415
- }else if(setLoginCustomTheme() == 'custom'){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
416
  jQuery(".mo_login_icon_preview").hide();
417
  jQuery(".mo_custom_login_icon_preview").hide();
418
  jQuery(".mo_btn-defaulttheme").hide();
419
- jQuery(".mo_btn-customtheme").show();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
420
  }
421
  }
422
  else {
423
  if(setLoginCustomTheme() == 'default'){
424
  jQuery(".mo_login_icon_preview").show();
425
  jQuery(".mo_btn-defaulttheme").hide();
426
- jQuery(".mo_btn-customtheme").hide();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
427
  jQuery(".mo_custom_login_icon_preview").hide();
428
- }else if(setLoginCustomTheme() == 'custom'){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
429
  jQuery(".mo_login_icon_preview").hide();
430
  jQuery(".mo_custom_login_icon_preview").show();
431
  jQuery(".mo_btn-defaulttheme").hide();
432
- jQuery(".mo_btn-customtheme").hide();
 
 
 
 
 
 
 
 
433
  }
434
  }
435
  previewLoginIcons();
@@ -447,6 +961,34 @@ function mo_openid_customise_social_icons(){
447
  else
448
  jQuery("#mo_login_icon_preview_"+apps[i]).show();
449
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
450
  else if(jQuery('input[name=mo_openid_login_custom_theme]:checked', '#form-apps').val() == 'custom')
451
  {
452
  if(jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val() == 'longbutton')
12
  <div style="float:left;width:50%;">
13
  <label style="font-size: 1.2em;"><b><?php echo mo_sl('Shape');?></b><br></label>
14
  <label class="mo-openid-radio-container"><?php echo mo_sl('Round');?>
15
+ <input type="radio" id="mo_openid_login_shape_round" name="mo_openid_login_theme" value="circle" onclick="shape_change();checkLoginButton();moLoginPreview(document.getElementById('mo_login_icon_size').value ,'circle',setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" <?php checked( get_option('mo_openid_login_theme') == 'circle' );?> /><br>
16
  <span class="mo-openid-radio-checkmark"></span></label>
17
  <label class="mo-openid-radio-container"><?php echo mo_sl('Rounded Edges');?>
18
+ <input type="radio" id="mo_openid_login_shape_rounded_edges" name="mo_openid_login_theme" value="oval" onclick="shape_change();checkLoginButton();moLoginPreview(document.getElementById('mo_login_icon_size').value ,'oval',setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" <?php checked( get_option('mo_openid_login_theme') == 'oval' );?> /><br>
19
  <span class="mo-openid-radio-checkmark"></span></label>
20
 
21
  <label class="mo-openid-radio-container"><?php echo mo_sl('Square');?>
22
+ <input type="radio" id="mo_openid_login_shape_square" name="mo_openid_login_theme" value="square" onclick="shape_change();checkLoginButton();moLoginPreview(document.getElementById('mo_login_icon_size').value ,'square',setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" <?php checked( get_option('mo_openid_login_theme') == 'square' );?> /><br>
23
  <span class="mo-openid-radio-checkmark"></span></label>
24
  <label class="mo-openid-radio-container"><?php echo mo_sl('Long Button');?>
25
+ <input type="radio" id="mo_openid_login_shape_longbutton" name="mo_openid_login_theme" value="longbutton" onclick="shape_change();checkLoginButton();moLoginPreview(document.getElementById('mo_login_icon_width').value ,'longbutton',setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" <?php checked( get_option('mo_openid_login_theme') == 'longbutton' );?> /><br>
26
  <span class="mo-openid-radio-checkmark"></span></label>
27
+ <hr>
28
+ <label style="font-size: 1.2em;"><b><?php echo mo_sl('Effects');?></b><br></label>
29
+ <label class="mo-openid-radio-container"><?php echo mo_sl('No Effect');?>
30
+ <input type="radio" id="mo_openid_button_theme_effect_no" name="mo_openid_button_theme_effect" value="noeffect" onclick="shape_change();checkLoginButton();moLoginPreview(setSizeOfIcons() ,setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,'noeffect')" <?php checked( get_option('mo_openid_button_theme_effect') == 'noeffect' );?>/><br>
31
+ <span class="mo-openid-radio-checkmark"></span></label>
32
+ <label class="mo-openid-radio-container"><?php echo mo_sl('Transform Effect');?>
33
+ <input type="radio" id="mo_openid_button_theme_effect_transform" name="mo_openid_button_theme_effect" value="transform" onclick="shape_change();checkLoginButton();moLoginPreview(setSizeOfIcons(), setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,'transform')" <?php checked( get_option('mo_openid_button_theme_effect') == 'transform' );?>/><br>
34
+ <span class="mo-openid-radio-checkmark" ></span></label>
35
+
36
  </div>
37
  <div style="float: right; width: 50%;">
38
  <label style="font-size: 1.2em;"><b><?php echo mo_sl('Theme');?></b><br></label>
39
  <label class="mo-openid-radio-container"><?php echo mo_sl('Default');?>
40
  <input type="radio" id="mo_openid_default_background_radio" name="mo_openid_login_custom_theme"
41
+ value="default" onclick="checkLoginButton();moLoginPreview(setSizeOfIcons(), setLoginTheme(),'default',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())"
42
  <?php checked( get_option('mo_openid_login_custom_theme') == 'default' );?> /><br>
43
  <span class="mo-openid-radio-checkmark"></span></label>
44
 
45
+
46
+ <label for="mo_openid_white_background_radio" class="mo-openid-radio-container"><?php echo mo_sl('White Background');?>
47
+ <input type="radio" id="mo_openid_white_background_radio" name="mo_openid_login_custom_theme"
48
+ value="white" onclick="checkLoginButton();moLoginPreview(setSizeOfIcons(), setLoginTheme(),'white',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())"
49
+ <?php checked( get_option('mo_openid_login_custom_theme') == 'white' );?> /><br>
50
+ <span class="mo-openid-radio-checkmark"></span></label>
51
+
52
  <label class="mo-openid-radio-container"><?php echo mo_sl('Custom background*');?>
53
+ <input type="radio" id="mo_openid_custom_background_radio" name="mo_openid_login_custom_theme" value="custom" onclick="checkLoginButton();moLoginPreview(setSizeOfIcons(), setLoginTheme(),'custom',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())"
54
  <?php checked( get_option('mo_openid_login_custom_theme') == 'custom' );?> /><br>
55
  <span class="mo-openid-radio-checkmark"></span></label>
56
 
57
+ <input id="mo_login_icon_custom_color" style="width:135px;margin-bottom: 5px;" name="mo_login_icon_custom_color" class="color" value="<?php echo esc_attr(get_option('mo_login_icon_custom_color'))?>" onchange="moLoginPreview(setSizeOfIcons(), setLoginTheme(),'custom',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value,'',document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" >
58
+
59
 
60
+ <label for="mo_openid_hover_radio" class="mo-openid-radio-container"><?php echo mo_sl('Hover');?>
61
+ <input type="radio" id="mo_openid_hover_radio" name="mo_openid_login_custom_theme"
62
+ value="hover" onclick="checkLoginButton();moLoginPreview(setSizeOfIcons(), setLoginTheme(),'hover',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())"
63
+ <?php checked( get_option('mo_openid_login_custom_theme') == 'hover' );?> /><br>
64
  <span class="mo-openid-radio-checkmark"></span></label>
65
 
66
 
67
+ <label for="mo_openid_custom_hover_radio" class="mo-openid-radio-container"><?php echo mo_sl('Custom Hover');?>
68
+ <input type="radio" id="mo_openid_custom_hover_radio" name="mo_openid_login_custom_theme"
69
+ value="custom_hover" onclick="checkLoginButton();moLoginPreview(setSizeOfIcons(), setLoginTheme(),'custom_hover',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())"
70
+ <?php checked( get_option('mo_openid_login_custom_theme') == 'custom_hover' );?> /><br>
71
+ <span class="mo-openid-radio-checkmark"></span></label>
72
+ <input id="mo_login_icon_custom_hover_color" style="width:135px;margin-bottom: 5px;" name="mo_login_icon_custom_hover_color" class="color" value="<?php echo esc_attr(get_option('mo_login_icon_custom_hover_color'))?>" onchange="moLoginPreview(setSizeOfIcons(), setLoginTheme(),'custom_hover',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value,'',document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" />
73
 
 
 
74
 
75
+ <label for="mo_openid_custom_smart_radio" class="mo-openid-radio-container"><?php echo mo_sl('Smart');?>
76
+ <input type="radio" id="mo_openid_custom_smart_radio" name="mo_openid_login_custom_theme"
77
+ value="smart" onclick="checkLoginButton();moLoginPreview(setSizeOfIcons(), setLoginTheme(),'smart',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_height').value,document.getElementById('mo_login_icon_custom_boundary').value,document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())"
78
+ <?php checked( get_option('mo_openid_login_custom_theme') == 'smart' );?> /><br>
79
+ <span class="mo-openid-radio-checkmark"></span></label>
80
+ <input id="mo_login_icon_custom_smart_color1" style="width:66px;margin-bottom: 5px;display: inline-block;" name="mo_login_icon_custom_smart_color1" class="color" value="<?php echo esc_attr(get_option('mo_login_icon_custom_smart_color1'))?>" onchange="moLoginPreview(setSizeOfIcons(), setLoginTheme(),'smart',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value,'',document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" />
81
+ <input id="mo_login_icon_custom_smart_color2" style="width:66px;margin-bottom: 5px;" name="mo_login_icon_custom_smart_color2" class="color" value="<?php echo esc_attr(get_option('mo_login_icon_custom_smart_color2'))?>" onchange="moLoginPreview(setSizeOfIcons(), setLoginTheme(),'smart',document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value,'',document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" />
82
 
83
  </div>
84
  </div>
100
  </div>
101
  <div id="other_button_size">
102
  <input style="width:50px" id="mo_login_icon_size" onkeyup="moLoginSizeValidate(this)" name="mo_login_icon_custom_size" type="text" value="<?php echo esc_attr(get_option('mo_login_icon_custom_size'))?>">
103
+ <input id="mo_login_size_plus" type="button" value="+" onmouseup="moLoginPreview(document.getElementById('mo_login_icon_size').value ,setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value,'',document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" />
104
+ <input id="mo_login_size_minus" type="button" value="-" onmouseup="moLoginPreview(document.getElementById('mo_login_icon_size').value ,setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value,'',document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" />
105
  </div>
106
  </div>
107
  <div style="width: 50%;float: right;margin-top: 5%">
108
  <label style="font-size: 1.2em;"><b><?php echo mo_sl('Space between Icons');?></b></label><br/>
109
  <input class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2;width: 16%;margin-bottom: 3px" onkeyup="moLoginSpaceValidate(this)" id="mo_login_icon_space" name="mo_login_icon_space" type="text" value="<?php echo esc_attr(get_option('mo_login_icon_space'))?>"/>
110
+ <input id="mo_login_space_plus" type="button" value="+" onmouseup="moLoginPreview(setSizeOfIcons() ,setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value,'',document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" />
111
+ <input id="mo_login_space_minus" type="button" value="-" onmouseup="moLoginPreview(setSizeOfIcons() ,setLoginTheme(),setLoginCustomTheme(),document.getElementById('mo_login_icon_custom_color').value,document.getElementById('mo_login_icon_space').value,document.getElementById('mo_login_icon_custom_boundary').value,'',document.getElementById('mo_login_icon_custom_hover_color').value,document.getElementById('mo_login_icon_custom_smart_color1').value,document.getElementById('mo_login_icon_custom_smart_color2').value,setLoginEffect())" />
112
  </div>
113
 
114
 
176
  <b>Preview : </b><br/>
177
  <div style="padding-bottom: 1%; padding-top: 3%">
178
  <?php
179
+ $default_color= array('facebook'=>'#1877F2','google'=>'#DB4437','vkontakte'=>'#466482','twitter'=>'#2795e9','yahoo'=>'#430297','yandex'=>'#2795e9','instagram'=>'#3f729b','linkedin'=>'#007bb6','amazon'=>'#ff9900','paypal'=>'#0d127a','salesforce'=>'#1ab7ea','windowslive'=>'#2672ec','apple'=>'#000000','steam'=>'#000000','wordpress'=>'#587ea3','pinterest'=>'#cb2027','spotify'=>'#19bf61','tumblr'=>'#2c4762','twitch'=>'#720e9e','github'=>'#000000','dribbble'=>'#ee66aa','flickr'=>'#ff0084','stackexchange'=>'0000ff','snapchat'=>'#fffc00','reddit'=>'#ff4301','odnoklassniki'=>'#f97400','foursquare'=>'#f94877','wechat'=>'#00c300','vimeo'=>'#1ab7ea','line'=>'#00c300','hubspot'=>'#fa7820','trello'=>'#0079bf','discord'=>'#7289da','meetup'=>'#e51937','stackexchange'=>'#0000FF','wiebo'=>'#df2029','gitlab'=>'#30353e','slack'=>'#4c154d','dropbox'=>'#0061ff','mailru'=>'#0000FF','kakao'=>'#ffe812');
180
 
181
  $app_pos=get_option('app_pos');
182
  $app_pos=explode('#',$app_pos);
194
  $class_app = 'vimeo';
195
  $icon = 'salesforce';
196
  }
 
 
 
197
  elseif ($active_app=='windowslive'){
198
  $class_app='microsoft';
199
  $icon='windows';
202
  $count_app++;
203
  ?>
204
  <i class="mo_login_icon_preview <?php echo $extra;?> fab fa-<?php echo $active_app;?>" id="mo_login_icon_preview_facebook" style="background:<?php echo $default_color[$active_app];?> !important;text-align:center;margin-top:5px;color: white" ></i>
205
+ <a style="background: rgb(255,255,255)!important; background:linear-gradient(90deg, rgba(255,255,255,1) 38px, rgb(79, 113, 232) 5%) !important;border-color: rgba(79, 113, 232, 1);border-bottom-width: thin;" id="mo_login_button_preview_google" class="mo_btn mo_btn-block mo_btn-defaulttheme mo_btn-social mo_btn-google mo_btn-custom-size mo_login_button mo_btn-<?php echo $active_app ?> <?php echo $extra;?>"> <img class="fa" src="<?php echo plugin_url.'/g.png'?>"><?php
206
+ ?> <span><?php echo esc_html(get_option('mo_openid_login_button_customize_text'));?> Google</span></a>
207
+
208
+ <i class="mo_white_login_icon_preview fab fa-google" id="mo_white_login_icon_preview_google" style="color:<?php echo $default_color[$active_app];?>;text-align:center;margin-top:5px;"></i>
209
+ <a id="mo_white_login_button_preview_google" class="mo_btn mo_btn-block mo_openid_mo_btn-whitetheme mo_btn-social mo_btn-custom-size "> <img class="fa" src="<?php echo plugin_url.'/g.png'?>"><?php
210
  echo esc_html(get_option('mo_openid_login_button_customize_text'));?> Google</a>
211
+
212
+ <div style="display: inline-block" id="mo_hover_div_google" class="mo_hover_div" onmouseover="mo_hover_on(this,'<?php echo $default_color[$active_app]?>','<?php echo $active_app; ?>')" onmouseout="mo_hover_off(this,'<?php echo $default_color[$active_app]?>','<?php echo $active_app; ?>')">
213
+ <i class="mo_hover_login_icon_preview fab fa-<?php echo $icon ?> " id="mo_hover_login_icon_preview_<?php echo $active_app ?>" style="color:<?php echo $default_color[$active_app];?>;text-align:center;margin-top:5px;"></i>
214
+ <a id="mo_hover_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_openid_mo_btn-hovertheme mo_btn-social mo_btn-custom-size "> <i id="mo_hover_long_button_<?php echo $active_app ?>" style="color:<?php echo $default_color[$active_app];?>;" class="fab fa-<?php echo $icon ?> mofab"></i><?php
215
+ echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
216
+ </div>
217
+
218
+ <div style="display: inline-block" id="mo_customhover_div_google" class="mo_customhover_div" onmouseover="mo_custom_hover_on(this,'<?php echo $active_app; ?>')" onmouseout="mo_custom_hover_off(this,'<?php echo $active_app; ?>')" >
219
+ <i class="mo_custom_hover_login_icon_preview fab fa-<?php echo $icon ?> " id="mo_custom_hover_login_icon_preview_<?php echo $active_app ?>" style="color:<?php echo get_option('mo_login_icon_custom_hover_color');?>;text-align:center;"></i>
220
+ <a id="mo_custom_hover_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_openid_mo_btn-customhovertheme mo_btn-social mo_btn-custom-size " style="color:#<?php echo get_option('mo_login_icon_custom_hover_color');?>;border-color:#<?php echo get_option('mo_login_icon_custom_hover_color');?>;"> <i id="mo_hover_long_button_<?php echo $active_app ?>" style="color:<?php echo get_option('mo_login_icon_custom_hover_color');?>;text-align:center;" class="fab mofab fa-<?php echo $icon ?>"></i><?php
221
+ echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
222
+ </div>
223
+
224
+ <i class="mo_custom_smart_login_icon_preview fab fa-google mo_button_smart_i " id="mo_custom_smart_login_icon_preview_google" style="background:linear-gradient(90deg,#<?php echo get_option('mo_login_icon_custom_smart_color1');?>,#<?php echo get_option('mo_login_icon_custom_smart_color2');?>);text-align:center;margin-top:5px;color:#FFFFFF"></i>
225
+ <a id="mo_custom_smart_login_button_preview_google" class="mo_btn_smart mo_btn-block mo_btn-social mo_btn-custom-size mo_openid_mo_btn-smarttheme mo_btn-social mo_btn-custom-size " style="background:linear-gradient(90deg,#<?php echo get_option('mo_login_icon_custom_smart_color1');?>,#<?php echo get_option('mo_login_icon_custom_smart_color2');?>);text-align:center;margin-top:5px;"> <i style="color:#FFFFFF" class="fab fa-google mofab"></i><?php
226
  echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
227
+
228
+
229
+ <i class="mo_custom_login_icon_preview fab fa-google" id="mo_custom_login_icon_preview_google" style="color:#ffffff;text-align:center;margin-top:5px;"></i>
230
+ <a id="mo_custom_login_button_preview_google" class="mo_btn mo_btn-block mo_openid_mo_btn-customtheme mo_btn-social mo_btn-custom-size " style="color: #FFFFFF"> <i class="fab fa-google mofab"></i><?php
231
+ echo esc_html(get_option('mo_openid_login_button_customize_text'));?> Google</a>
232
+
233
+
234
  <?php
235
  }
236
  else{
237
  $count_app++;
238
  ?>
239
+ <i class="mo_login_icon_preview <?php echo $extra;?> fab fa-<?php echo $icon;?>" id="mo_login_icon_preview_facebook" style="background:<?php echo $default_color[$active_app];?>;text-align:center;margin-top:5px;color: #FFFFFF" ></i>
240
+ <a id="mo_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_btn-defaulttheme mo_btn-social mo_btn-custom-size mo_login_button mo_btn-<?php echo $icon ?> <?php echo $extra;?>"> <i class="fab fa-<?php echo $icon ?> mo_login_button mofab"></i><?php
241
  echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app?></a>
242
+
243
+ <i class="mo_white_login_icon_preview fab fa-<?php echo $icon ?> " id="mo_white_login_icon_preview_<?php echo $active_app ?>" style="color:<?php echo $default_color[$active_app];?>;text-align:center;margin-top:5px;"></i>
244
+ <a id="mo_white_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_openid_mo_btn-whitetheme mo_btn-social mo_btn-custom-size "> <i style="color:<?php echo $default_color[$active_app];?>;" class="fab fa-<?php echo $icon ?> mofab"></i><?php
245
+ echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
246
+
247
+ <div style="display: inline-block" class="mo_hover_div" id="mo_hover_div" onmouseover="mo_hover_on(this,'<?php echo $default_color[$active_app]?>','<?php echo $active_app; ?>')" onmouseout="mo_hover_off(this,'<?php echo $default_color[$active_app]?>','<?php echo $active_app; ?>')">
248
+ <i class="mo_hover_login_icon_preview fab fa-<?php echo $icon ?> " id="mo_hover_login_icon_preview_<?php echo $active_app ?>" style="color:<?php echo $default_color[$active_app];?>;text-align:center;margin-top:5px;"></i>
249
+ <a id="mo_hover_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_openid_mo_btn-hovertheme mo_btn-social mo_btn-custom-size "> <i id="mo_hover_long_button_<?php echo $active_app ?>" style="color:<?php echo $default_color[$active_app];?>;" class="fab fa-<?php echo $icon ?> mofab"></i><?php
250
+ echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
251
+ </div>
252
+
253
+ <div style="display: inline-block" class="mo_customhover_div" id="mo_customhover_div_<?php echo $active_app ?>" onmouseover="mo_custom_hover_on(this,'<?php echo $active_app; ?>')" onmouseout="mo_custom_hover_off(this,'<?php echo $active_app; ?>')" >
254
+ <i class="mo_custom_hover_login_icon_preview fab fa-<?php echo $icon ?> " id="mo_custom_hover_login_icon_preview_<?php echo $active_app ?>" style="color:#<?php echo get_option('mo_login_icon_custom_hover_color');?>;text-align:center;"></i>
255
+ <a id="mo_custom_hover_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_openid_mo_btn-customhovertheme mo_btn-social mo_btn-custom-size " style="color:#<?php echo get_option('mo_login_icon_custom_hover_color');?>;border-color:#<?php echo get_option('mo_login_icon_custom_hover_color');?>;"> <i id="mo_hover_long_button_<?php echo $active_app ?>" style="text-align:center;" class="fab fa-<?php echo $icon ?> mofab"></i><?php
256
+ echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
257
+ </div>
258
+
259
+ <i class="mo_custom_smart_login_icon_preview fab fa-<?php echo $icon ?> " id="mo_custom_smart_login_icon_preview_<?php echo $active_app ?>" style="background:linear-gradient(90deg,#<?php echo get_option('mo_login_icon_custom_smart_color1');?>,#<?php echo get_option('mo_login_icon_custom_smart_color2');?>);text-align:center;margin-top:5px;color:#FFFFFF"></i>
260
+ <a id="mo_custom_smart_login_button_preview_<?php echo $active_app ?>" class=" mo_btn-block mo_btn-social mo_btn-custom-size mo_openid_mo_btn-smarttheme mo_btn-social mo_btn-custom-size " style="background:linear-gradient(90deg,#<?php echo get_option('mo_login_icon_custom_smart_color1');?>,#<?php echo get_option('mo_login_icon_custom_smart_color2');?>);text-align:center;margin-top:5px;"> <i style="color:#FFFFFF" class="fab fa-<?php echo $icon ?> mofab"></i><?php
261
+ echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
262
+
263
+
264
+ <i class="mo_custom_login_icon_preview fab fa-<?php echo $icon ?> " id="mo_custom_login_icon_preview_<?php echo $active_app ?>" style="color:#ffffff;text-align:center;margin-top:5px;"></i>
265
+ <a id="mo_custom_login_button_preview_<?php echo $active_app ?>" class="mo_btn mo_btn-block mo_openid_mo_btn-customtheme mo_btn-social mo_btn-custom-size " style="color: #FFFFFF"> <i class="fab fa-<?php echo $icon ?> mofab"></i><?php
266
  echo esc_html(get_option('mo_openid_login_button_customize_text'));?> <?php echo $active_app ?></a>
267
  <?php
268
  }
300
  </form>
301
  <script>
302
 
303
+ //to set heading name
304
+ jQuery('#mo_openid_page_heading').text('<?php echo mo_sl("Customize Login Icons"); ?>');
305
+
306
+ function mo_hover_on(x,y,z){
307
+ var check=jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val();
308
+ if(check == 'longbutton'){
309
+ var q = "mo_hover_login_button_preview_".concat(z);
310
+ var r = "mo_hover_long_button_".concat(z);
311
+ document.getElementById(q).style.borderColor= y;
312
+ document.getElementById(q).style.background = y;
313
+ document.getElementById(q).style.color= 'white';
314
+ document.getElementById(r).style.color= 'white';
315
+ } else {
316
+ var p = "mo_hover_login_icon_preview_".concat(z);
317
+ document.getElementById(p).style.background = y;
318
+ document.getElementById(p).style.color = 'white';
319
+ document.getElementById(p).style.borderColor = y;
320
  }
321
+
322
+ }
323
+
324
+ function mo_hover_off(x,y,z){
325
+ var check=jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val();
326
+ if(check == 'longbutton'){
327
+ var q = "mo_hover_login_button_preview_".concat(z);
328
+ var r = "mo_hover_long_button_".concat(z);
329
+ document.getElementById(q).style.borderColor= 'black';
330
+ document.getElementById(q).style.background = 'white';
331
+ document.getElementById(q).style.color= 'black';
332
+ document.getElementById(r).style.color= y;
333
+ }else {
334
+ var p = "mo_hover_login_icon_preview_".concat(z);
335
+ document.getElementById(p).style.background = 'white';
336
+ document.getElementById(p).style.color = y;
337
+ document.getElementById(p).style.borderColor = 'black';
338
  }
339
+ }
340
+ function mo_custom_hover_on(x,z) {
341
+ var check=jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val();
342
+ var color = document.getElementById('mo_login_icon_custom_hover_color').value;
343
+ if(check == 'longbutton') {
344
+ var ch_q = "mo_custom_hover_login_button_preview_".concat(z);
345
+ var ch_r = "mo__custom_hover_long_button_".concat(z);
346
+ document.getElementById(ch_q).style.borderColor= '#'+color;
347
+ document.getElementById(ch_q).style.background = '#'+color;
348
+ document.getElementById(ch_q).style.color= 'white';
349
+ document.getElementById(ch_r).style.color= 'white';
350
+ }else{
351
+ var ch_p = "mo_custom_hover_login_icon_preview_".concat(z);
352
+ document.getElementById(ch_p).style.background = '#'+ color;
353
+ document.getElementById(ch_p).style.color= 'white';
354
+ document.getElementById(ch_p).style.borderColor= '#'+color;
355
  }
356
+
357
  }
358
 
359
+ function mo_custom_hover_off(x,z) {
360
+ var check=jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val();
361
+ var color = document.getElementById('mo_login_icon_custom_hover_color').value;
362
+ if(check == 'longbutton') {
363
+ var ch_q = "mo_custom_hover_login_button_preview_".concat(z);
364
+ var ch_r = "mo__custom_hover_long_button_".concat(z);
365
+ document.getElementById(ch_q).style.borderColor= '#'+color;
366
+ document.getElementById(ch_q).style.background = 'white';
367
+ document.getElementById(ch_q).style.color= '#'+color;
368
+ document.getElementById(ch_r).style.color= '#'+color;
369
+ }else{
370
+ var ch_p = "mo_custom_hover_login_icon_preview_".concat(z);
371
+ document.getElementById(ch_p).style.background = 'white';
372
+ document.getElementById(ch_p).style.color='#'+color;
373
+ document.getElementById(ch_p).style.borderColor= '#'+color;
374
+ }
375
+ }
376
 
 
 
377
  window.onload=shape_change();
378
  function shape_change() {
379
  var y = document.getElementById('mo_openid_login_shape_longbutton').checked;
396
  var tempHorSpace = '<?php echo esc_attr(get_option('mo_login_icon_space'))?>';
397
  var tempHorHeight = '<?php echo esc_attr(get_option('mo_login_icon_custom_height')) ?>';
398
  var tempHorBoundary='<?php echo esc_attr(get_option('mo_login_icon_custom_boundary'))?>';
399
+ var tempcustomhovercolor= '<?php echo esc_attr(get_option('mo_login_icon_custom_hover_color'))?>';
400
+ var tempcustomSmartcolor1= '<?php echo esc_attr(get_option('mo_login_icon_custom_smart_color1'))?>';
401
+ var tempcustomSmartcolor2= '<?php echo esc_attr(get_option('mo_login_icon_custom_smart_color2'))?>';
402
+ var tempAllEffect= '<?php echo esc_attr(get_option('mo_openid_button_theme_effect'))?>';
403
 
404
  function moLoginSpaceValidate(e){
405
  var t=parseInt(e.value.trim());t>60?e.value=60:0>t&&(e.value=0)
450
  moLoginBoundaryIncrement(document.getElementById('mo_login_boundary_minus'), "subtract", document.getElementById('mo_login_icon_custom_boundary'), 300, 0.7);
451
 
452
  function setLoginTheme(){return jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val();}
453
+ function setLoginEffect(){return jQuery('input[name=mo_openid_button_theme_effect]:checked', '#form-apps').val();}
454
  function setLoginCustomTheme(){return jQuery('input[name=mo_openid_login_custom_theme]:checked', '#form-apps').val();}
455
  function setSizeOfIcons(){
456
  if((jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val()) == 'longbutton'){
459
  return document.getElementById('mo_login_icon_size').value;
460
  }
461
  }
462
+ moLoginPreview(setSizeOfIcons(),tempHorTheme,tempHorCustomTheme,tempHorCustomColor,tempHorSpace,tempHorHeight,tempHorBoundary,tempcustomhovercolor,tempcustomSmartcolor1,tempcustomSmartcolor2,tempAllEffect);
463
 
464
+ function moLoginPreview(t,r,l,p,n,h,k,x,y,z,b){
465
+ // alert('t='+t+', r='+r+', l='+l+', p='+p+', n='+n+', h='+h+', k='+k+', x='+x+', y='+y+', z='+z+', b='+b);
466
  if(l == 'default'){
467
  if(r == 'longbutton'){
468
  var a = "mo_btn-defaulttheme";
474
  jQuery(this).css("margin-bottom",(n-5)+"px");
475
  jQuery(this).css("border-radius",k+"px");
476
  });
477
+ jQuery(".mofab").css("padding-top",(h-35)+"px");
478
+ if(b == "transform"){
479
+ jQuery("."+a).addClass("mo_btn_transform");
480
+ }else {
481
+ jQuery("."+a).removeClass("mo_btn_transform");
482
+ }
483
  }else{
484
  var a="mo_login_icon_preview";
 
485
  jQuery("."+a).css("cursor","pointer");
486
  jQuery("."+a).css({height:t-8,width:t});
487
  jQuery("."+a).css("padding-top","8px");
488
+ jQuery("."+a).css("margin-left",(n-4)+"px");
489
+
490
+ if(r=="circle"){
491
+ jQuery("."+a).css("borderRadius","999px");
492
+ }else if(r=="oval"){
493
+ jQuery("."+a).css("borderRadius","5px");
494
+ }else if(r=="square"){
495
+ jQuery("."+a).css("borderRadius","0px");
496
+ }
497
+ jQuery("."+a).css("font-size",(t-16)+"px");
498
+ jQuery("#disq").css({height:t-21});
499
+ jQuery("#kaka").css({height:t-21});
500
+ jQuery("#lines").css({height:t-22});
501
+ jQuery("#meetups").css({height:t-21});
502
+ jQuery("#navers").css({height:t-21});
503
+ jQuery("#teamsnaps").css({height:t-21});
504
+ jQuery("#livejournals").css({height:t-21});
505
+ jQuery("#wiebos").css({height:t-21});
506
+ jQuery("#hubs3").css({height:t-21});
507
+ jQuery("#mailrus").css({height:t-17});
508
+ if(b == 'transform'){
509
+ jQuery("."+a).addClass("mo_btn_transform_i");
510
+ }else{
511
+ jQuery("."+a).removeClass("mo_btn_transform_i");
512
+ }
513
+
514
+ }
515
+ }
516
+ else if(l == 'white'){
517
+ p = 'ffffff';
518
+ if(r == 'longbutton'){
519
+ var a = "mo_openid_mo_btn-whitetheme";
520
+ jQuery("."+a).css("margin-top", "5px");
521
+ jQuery("."+a).css("width",(t)+"px");
522
+ jQuery("."+a).css("padding-top",(h-29)+"px");
523
+ jQuery("."+a).css("padding-bottom",(h-29)+"px");
524
+ jQuery("."+a).css("border-color", "#000000");
525
+ jQuery("."+a).css("color", "#000000");
526
+ jQuery(".fa").css("padding-top",(h-35)+"px");
527
+ jQuery("."+a).css("margin-bottom",(n-5)+"px");
528
+ jQuery("."+a).css("background","#"+p);
529
+ jQuery("."+a).css("border-radius",k+"px");
530
+ if(b == "transform"){
531
+ jQuery("."+a).addClass("mo_btn_transform");
532
+ }else {
533
+ jQuery("."+a).removeClass("mo_btn_transform");
534
+ }
535
+ }else{
536
+ var a = "mo_white_login_icon_preview";
537
+ jQuery("."+a).css("cursor","pointer");
538
+ jQuery("."+a).css({"height":t-8,width:t});
539
+ jQuery("."+a).css("padding-top","8px");
540
+ jQuery("."+a).css("font-size",(t-14)+"px");
541
+ jQuery("."+a).css("border-color","black");
542
+ jQuery("."+a).css("border-style","solid");
543
+ jQuery("."+a).css("border-width","1px");
544
+ jQuery("."+a).css("margin-left",(n-4)+"px");
545
+
546
+ if(r=="circle"){
547
+ jQuery("."+a).css("borderRadius","999px");
548
+ }else if(r=="oval"){
549
+ jQuery("."+a).css("borderRadius","5px");
550
+ }else if(r=="square"){
551
+ jQuery("."+a).css("borderRadius","0px");
552
+ }
553
+ if(b == 'transform'){
554
+ jQuery("."+a).addClass("mo_btn_transform_i");
555
+ }else{
556
+ jQuery("."+a).removeClass("mo_btn_transform_i");
557
+ }
558
+ }
559
+ }
560
+
561
+ else if(l == 'hover'){
562
+ p = 'ffffff';
563
+ if(r == 'longbutton'){
564
+ var a = "mo_openid_mo_btn-hovertheme";
565
+ jQuery("."+a).css("margin-top", "5px");
566
+ jQuery("."+a).css("width",(t)+"px");
567
+ jQuery("."+a).css("padding-top",(h-29)+"px");
568
+ jQuery("."+a).css("padding-bottom",(h-29)+"px");
569
+ jQuery("."+a).css("border-color", "#000000");
570
+ jQuery("."+a).css("color", "#000000");
571
+ jQuery(".fa").css("padding-top",(h-35)+"px");
572
+ jQuery("."+a).css("margin-bottom",(n-5)+"px");
573
+ jQuery("."+a).css("background","#"+p);
574
+ jQuery("."+a).css("border-radius",k+"px");
575
+ // jQuery(".mo_hover_div").css("display","block");
576
+ jQuery(".mofab").css("padding-top",(h-35)+"px");
577
+ if(b == "transform"){
578
+ jQuery("."+a).addClass("mo_btn_transform");
579
+ }else {
580
+ jQuery("."+a).removeClass("mo_btn_transform");
581
+ }
582
+
583
+ }else{
584
+ var a = "mo_hover_login_icon_preview";
585
+ jQuery("."+a).css("cursor","pointer");
586
+ jQuery("."+a).css({"height":t-8,width:t});
587
+ jQuery("."+a).css("padding-top","8px");
588
+ jQuery("."+a).css("font-size",(t-14)+"px");
589
+ jQuery("."+a).css("border-color","black");
590
+ jQuery("."+a).css("border-style","solid");
591
+ jQuery("."+a).css("border-width","1px");
592
+ jQuery("."+a).css("margin-left",(n-4)+"px");
593
+ // jQuery(".mo_hover_div").css("display","inline-block");
594
+
595
  if(r=="circle"){
596
  jQuery("."+a).css("borderRadius","999px");
597
  }else if(r=="oval"){
599
  }else if(r=="square"){
600
  jQuery("."+a).css("borderRadius","0px");
601
  }
602
+ if(b == 'transform'){
603
+ jQuery("."+a).addClass("mo_btn_transform_i");
604
+ }else{
605
+ jQuery("."+a).removeClass("mo_btn_transform_i");
606
+ }
607
+ }
608
+ }
609
+
610
+ else if(l == 'custom_hover'){
611
+ if(r == 'longbutton'){
612
+ var a = "mo_openid_mo_btn-customhovertheme";
613
+ jQuery("."+a).css("margin-top", "5px");
614
+ jQuery("."+a).css("width",(t)+"px");
615
+ jQuery("."+a).css("padding-top",(h-29)+"px");
616
+ jQuery("."+a).css("padding-bottom",(h-29)+"px");
617
+ jQuery("."+a).css("border-color", "#"+x);
618
+ // jQuery("."+a).css("color", "#000000");
619
+ jQuery(".fa").css("padding-top",(h-35)+"px");
620
+ jQuery("."+a).css("margin-bottom",(n-5)+"px");
621
+ jQuery("."+a).css("color","#"+x);
622
+ jQuery("."+a).css("border-radius",k+"px");
623
+ // jQuery(".mo_customhover_div").css("display","block");
624
+ jQuery(".mofab").css("padding-top",(h-35)+"px");
625
+ if(b == "transform"){
626
+ jQuery("."+a).addClass("mo_btn_transform");
627
+ }else {
628
+ jQuery("."+a).removeClass("mo_btn_transform");
629
+ }
630
+
631
+ }else{
632
+ var a = "mo_custom_hover_login_icon_preview";
633
+ jQuery("."+a).css("margin-top", "5px");
634
+ jQuery("."+a).css("cursor","pointer");
635
+ jQuery("."+a).css({"height":t-8,width:t});
636
+ jQuery("."+a).css("padding-top","8px");
637
  jQuery("."+a).css("font-size",(t-16)+"px");
638
+ jQuery("."+a).css("border-color","#"+x);
639
+ jQuery("."+a).css("border-style","solid");
640
+ jQuery("."+a).css("border-width","1px");
641
+ jQuery("."+a).css("margin-left",(n-4)+"px");
642
+ jQuery("."+a).css("color","#"+x);
643
+ // jQuery(".mo_customhover_div").css("display","inline-block");
644
+
645
+ if(r=="circle"){
646
+ jQuery("."+a).css("borderRadius","999px");
647
+ }else if(r=="oval"){
648
+ jQuery("."+a).css("borderRadius","5px");
649
+ }else if(r=="square"){
650
+ jQuery("."+a).css("borderRadius","0px");
651
+ }
652
+ if(b == 'transform'){
653
+ jQuery("."+a).addClass("mo_btn_transform_i");
654
+ }else{
655
+ jQuery("."+a).removeClass("mo_btn_transform_i");
656
+ }
657
+ }
658
+ }
659
+
660
+ else if(l == 'smart'){
661
+ if(r == 'longbutton'){
662
+ var a = "mo_openid_mo_btn-smarttheme";
663
+ jQuery("."+a).css("margin-top", "5px");
664
+ jQuery("."+a).css("width",(t)+"px");
665
+ jQuery("."+a).css("padding-top",(h-29)+"px");
666
+ jQuery("."+a).css("padding-bottom",(h-29)+"px");
667
+ jQuery("."+a).css("color", "#ffffff");
668
+ jQuery(".fa").css("padding-top",(h-35)+"px");
669
+ jQuery("."+a).css("margin-bottom",(n-5)+"px");
670
+ jQuery("."+a).css("background", "linear-gradient(45deg,#"+y+",#"+z+")");
671
+ jQuery("."+a).css("border-radius",k+"px");
672
+ jQuery(".mofab").css("padding-top",(h-35)+"px");
673
+ if(b == "transform"){
674
+ jQuery("."+a).addClass("mo_btn_transform");
675
+ }else {
676
+ jQuery("."+a).removeClass("mo_btn_transform");
677
+ }
678
+ }else{
679
+ var a = "mo_custom_smart_login_icon_preview";
680
+ jQuery("."+a).css("cursor","pointer");
681
+ jQuery("."+a).css({"height":t-8,width:t});
682
+ jQuery("."+a).css("padding-top","8px");
683
+ jQuery("."+a).css("font-size",(t-14)+"px");
684
+ jQuery("."+a).css("border-style","solid");
685
+ jQuery("."+a).css("border-width","1px");
686
+ jQuery("."+a).css("background", "linear-gradient(90deg,#"+y+",#"+z+")");
687
+ jQuery("."+a).css("margin-left",(n-4)+"px");
688
 
689
+ if(r=="circle"){
690
+ jQuery("."+a).css("borderRadius","999px");
691
+ }else if(r=="oval"){
692
+ jQuery("."+a).css("borderRadius","5px");
693
+ }else if(r=="square"){
694
+ jQuery("."+a).css("borderRadius","0px");
695
+ }
696
+ if(b == 'transform'){
697
+ jQuery("."+a).addClass("mo_btn_transform_i");
698
+ }else{
699
+ jQuery("."+a).removeClass("mo_btn_transform_i");
700
+ }
701
  }
702
  }
703
+
704
  else if(l == 'custom'){
705
  if(r == 'longbutton'){
706
+ var a = "mo_openid_mo_btn-customtheme";
707
  jQuery("."+a).css("margin-top", "5px");
708
  jQuery("."+a).css("width",(t)+"px");
709
  jQuery("."+a).css("padding-top",(h-29)+"px");
712
  jQuery("."+a).css("margin-bottom",(n-5)+"px");
713
  jQuery("."+a).css("background","#"+p);
714
  jQuery("."+a).css("border-radius",k+"px");
715
+ if(b == "transform"){
716
+ jQuery("."+a).addClass("mo_btn_transform");
717
+ }else {
718
+ jQuery("."+a).removeClass("mo_btn_transform");
719
+ }
720
  }else{
721
  var a="mo_custom_login_icon_preview";
722
+ jQuery("."+a).css("cursor","pointer");
723
  jQuery("."+a).css({height:t-8,width:t});
724
  jQuery("."+a).css("padding-top","8px");
725
  jQuery("."+a).css("margin-left",(n-4)+"px");
735
  jQuery("."+a).css("font-size",(t-16)+"px");
736
  jQuery("#disq").css({height:t-21});
737
  jQuery("#kaka").css({height:t-21});
738
+ jQuery("#lines").css({height:t-22});
739
+ jQuery("#meetups").css({height:t-21});
740
+ jQuery("#yandexs").css({height:t-21});
741
+ jQuery("#discords").css({height:t-21});
742
+ jQuery("#navers").css({height:t-21});
743
+ jQuery("#teamsnaps").css({height:t-21});
744
+ jQuery("#livejournals").css({height:t-21});
745
+ jQuery("#wiebos").css({height:t-21});
746
+ jQuery("#hubs3").css({height:t-21});
747
+ jQuery("#mailrus").css({height:t-21});
748
+ if(b == 'transform'){
749
+ jQuery("."+a).addClass("mo_btn_transform_i");
750
+ }else{
751
+ jQuery("."+a).removeClass("mo_btn_transform_i");
752
+ }
753
  }
754
  }
755
  previewLoginIcons();
760
  if(setLoginCustomTheme() == 'default'){
761
  jQuery(".mo_login_icon_preview").hide();
762
  jQuery(".mo_custom_login_icon_preview").hide();
763
+ jQuery(".mo_openid_mo_btn-customtheme").hide();
764
  jQuery(".mo_btn-defaulttheme").show();
765
+ jQuery(".mo_white_login_icon_preview").hide();
766
+ jQuery(".mo_openid_mo_btn-whitetheme").hide();
767
+ jQuery(".mo_hover_login_icon_preview").hide();
768
+ jQuery(".mo_openid_mo_btn-hovertheme").hide();
769
+ jQuery(".mo_custom_hover_login_icon_preview").hide();
770
+ jQuery(".mo_openid_mo_btn-customhovertheme").hide();
771
+ jQuery(".mo_custom_smart_login_icon_preview").hide();
772
+ jQuery(".mo_openid_mo_btn-smarttheme").hide();
773
+ }
774
+
775
+ else if(setLoginCustomTheme() == 'white'){
776
+ jQuery(".mo_login_icon_preview").hide();
777
+ jQuery(".mo_custom_login_icon_preview").hide();
778
+ jQuery(".mo_btn-defaulttheme").hide();
779
+ jQuery(".mo_openid_mo_btn-customtheme").hide();
780
+ jQuery(".mo_white_login_icon_preview").hide();
781
+ jQuery(".mo_openid_mo_btn-whitetheme").show();
782
+ jQuery(".mo_hover_login_icon_preview").hide();
783
+ jQuery(".mo_openid_mo_btn-hovertheme").hide();
784
+ jQuery(".mo_custom_hover_login_icon_preview").hide();
785
+ jQuery(".mo_openid_mo_btn-customhovertheme").hide();
786
+ jQuery(".mo_custom_smart_login_icon_preview").hide();
787
+ jQuery(".mo_openid_mo_btn-smarttheme").hide();
788
+ }
789
+
790
+ else if(setLoginCustomTheme() == 'hover'){
791
+ jQuery(".mo_login_icon_preview").hide();
792
+ jQuery(".mo_custom_login_icon_preview").hide();
793
+ jQuery(".mo_btn-defaulttheme").hide();
794
+ jQuery(".mo_openid_mo_btn-customtheme").hide();
795
+ jQuery(".mo_white_login_icon_preview").hide();
796
+ jQuery(".mo_openid_mo_btn-whitetheme").hide();
797
+ jQuery(".mo_hover_login_icon_preview").hide();
798
+ jQuery(".mo_openid_mo_btn-hovertheme").show();
799
+ jQuery(".mo_custom_hover_login_icon_preview").hide();
800
+ jQuery(".mo_openid_mo_btn-customhovertheme").hide();
801
+ jQuery(".mo_custom_smart_login_icon_preview").hide();
802
+ jQuery(".mo_openid_mo_btn-smarttheme").hide();
803
+ }
804
+
805
+ else if(setLoginCustomTheme() == 'custom_hover'){
806
+ jQuery(".mo_login_icon_preview").hide();
807
+ jQuery(".mo_custom_login_icon_preview").hide();
808
+ jQuery(".mo_btn-defaulttheme").hide();
809
+ jQuery(".mo_openid_mo_btn-customtheme").hide();
810
+ jQuery(".mo_white_login_icon_preview").hide();
811
+ jQuery(".mo_openid_mo_btn-whitetheme").hide();
812
+ jQuery(".mo_hover_login_icon_preview").hide();
813
+ jQuery(".mo_openid_mo_btn-hovertheme").hide();
814
+ jQuery(".mo_custom_hover_login_icon_preview").hide();
815
+ jQuery(".mo_openid_mo_btn-customhovertheme").show();
816
+ jQuery(".mo_custom_smart_login_icon_preview").hide();
817
+ jQuery(".mo_openid_mo_btn-smarttheme").hide();
818
+ }
819
+
820
+ else if(setLoginCustomTheme() == 'smart'){
821
  jQuery(".mo_login_icon_preview").hide();
822
  jQuery(".mo_custom_login_icon_preview").hide();
823
  jQuery(".mo_btn-defaulttheme").hide();
824
+ jQuery(".mo_openid_mo_btn-customtheme").hide();
825
+ jQuery(".mo_white_login_icon_preview").hide();
826
+ jQuery(".mo_openid_mo_btn-whitetheme").hide();
827
+ jQuery(".mo_hover_login_icon_preview").hide();
828
+ jQuery(".mo_openid_mo_btn-hovertheme").hide();
829
+ jQuery(".mo_custom_hover_login_icon_preview").hide();
830
+ jQuery(".mo_openid_mo_btn-customhovertheme").hide();
831
+ jQuery(".mo_custom_smart_login_icon_preview").hide();
832
+ jQuery(".mo_openid_mo_btn-smarttheme").show();
833
+ }
834
+
835
+ else if(setLoginCustomTheme() == 'custom'){
836
+ jQuery(".mo_login_icon_preview").hide();
837
+ jQuery(".mo_custom_login_icon_preview").hide();
838
+ jQuery(".mo_btn-defaulttheme").hide();
839
+ jQuery(".mo_openid_mo_btn-customtheme").show();
840
+ jQuery(".mo_white_login_icon_preview").hide();
841
+ jQuery(".mo_openid_mo_btn-whitetheme").hide();
842
+ jQuery(".mo_hover_login_icon_preview").hide();
843
+ jQuery(".mo_openid_mo_btn-hovertheme").hide();
844
+ jQuery(".mo_custom_hover_login_icon_preview").hide();
845
+ jQuery(".mo_openid_mo_btn-customhovertheme").hide();
846
+ jQuery(".mo_custom_smart_login_icon_preview").hide();
847
+ jQuery(".mo_openid_mo_btn-smarttheme").hide();
848
  }
849
  }
850
  else {
851
  if(setLoginCustomTheme() == 'default'){
852
  jQuery(".mo_login_icon_preview").show();
853
  jQuery(".mo_btn-defaulttheme").hide();
854
+ jQuery(".mo_openid_mo_btn-customtheme").hide();
855
+ jQuery(".mo_custom_login_icon_preview").hide();
856
+ jQuery(".mo_white_login_icon_preview").hide();
857
+ jQuery(".mo_openid_mo_btn-whitetheme").hide();
858
+ jQuery(".mo_hover_login_icon_preview").hide();
859
+ jQuery(".mo_openid_mo_btn-hovertheme").hide();
860
+ jQuery(".mo_custom_hover_login_icon_preview").hide();
861
+ jQuery(".mo_openid_mo_btn-customhovertheme").hide();
862
+ jQuery(".mo_custom_smart_login_icon_preview").hide();
863
+ jQuery(".mo_openid_mo_btn-smarttheme").hide();
864
+ }
865
+
866
+ else if(setLoginCustomTheme() == 'white'){
867
+ jQuery(".mo_login_icon_preview").hide();
868
+ jQuery(".mo_custom_login_icon_preview").hide();
869
+ jQuery(".mo_btn-defaulttheme").hide();
870
+ jQuery(".mo_openid_mo_btn-customtheme").hide();
871
+ jQuery(".mo_white_login_icon_preview").hide();
872
+ jQuery(".mo_openid_mo_btn-whitetheme").hide();
873
+ jQuery(".mo_white_login_icon_preview").show();
874
+ jQuery(".mo_hover_login_icon_preview").hide();
875
+ jQuery(".mo_openid_mo_btn-hovertheme").hide();
876
+ jQuery(".mo_custom_hover_login_icon_preview").hide();
877
+ jQuery(".mo_openid_mo_btn-customhovertheme").hide();
878
+ jQuery(".mo_custom_smart_login_icon_preview").hide();
879
+ jQuery(".mo_openid_mo_btn-smarttheme").hide();
880
+
881
+ }
882
+
883
+ else if(setLoginCustomTheme() == 'hover'){
884
+ jQuery(".mo_login_icon_preview").hide();
885
+ jQuery(".mo_custom_login_icon_preview").hide();
886
+ jQuery(".mo_btn-defaulttheme").hide();
887
+ jQuery(".mo_openid_mo_btn-customtheme").hide();
888
+ jQuery(".mo_white_login_icon_preview").hide();
889
+ jQuery(".mo_openid_mo_btn-whitetheme").hide();
890
+ jQuery(".mo_white_login_icon_preview").hide();
891
+ jQuery(".mo_hover_login_icon_preview").show();
892
+ jQuery(".mo_openid_mo_btn-hovertheme").hide();
893
+ jQuery(".mo_custom_hover_login_icon_preview").hide();
894
+ jQuery(".mo_openid_mo_btn-customhovertheme").hide();
895
+ jQuery(".mo_custom_smart_login_icon_preview").hide();
896
+ jQuery(".mo_openid_mo_btn-smarttheme").hide();
897
+
898
+ }
899
+
900
+ else if(setLoginCustomTheme() == 'custom_hover'){
901
+ jQuery(".mo_login_icon_preview").hide();
902
+ jQuery(".mo_custom_login_icon_preview").hide();
903
+ jQuery(".mo_btn-defaulttheme").hide();
904
+ jQuery(".mo_openid_mo_btn-customtheme").hide();
905
+ jQuery(".mo_white_login_icon_preview").hide();
906
+ jQuery(".mo_openid_mo_btn-whitetheme").hide();
907
+ jQuery(".mo_white_login_icon_preview").hide();
908
+ jQuery(".mo_hover_login_icon_preview").hide();
909
+ jQuery(".mo_openid_mo_btn-hovertheme").hide();
910
+ jQuery(".mo_custom_hover_login_icon_preview").show();
911
+ jQuery(".mo_openid_mo_btn-customhovertheme").hide();
912
+ jQuery(".mo_custom_smart_login_icon_preview").hide();
913
+ jQuery(".mo_openid_mo_btn-smarttheme").hide();
914
+
915
+ }
916
+
917
+ else if(setLoginCustomTheme() == 'smart'){
918
+ jQuery(".mo_login_icon_preview").hide();
919
  jQuery(".mo_custom_login_icon_preview").hide();
920
+ jQuery(".mo_btn-defaulttheme").hide();
921
+ jQuery(".mo_openid_mo_btn-customtheme").hide();
922
+ jQuery(".mo_white_login_icon_preview").hide();
923
+ jQuery(".mo_openid_mo_btn-whitetheme").hide();
924
+ jQuery(".mo_white_login_icon_preview").hide();
925
+ jQuery(".mo_hover_login_icon_preview").hide();
926
+ jQuery(".mo_openid_mo_btn-hovertheme").hide();
927
+ jQuery(".mo_custom_hover_login_icon_preview").hide();
928
+ jQuery(".mo_openid_mo_btn-customhovertheme").hide();
929
+ jQuery(".mo_custom_smart_login_icon_preview").show();
930
+ jQuery(".mo_openid_mo_btn-smarttheme").hide();
931
+
932
+ }
933
+
934
+ else if(setLoginCustomTheme() == 'custom'){
935
  jQuery(".mo_login_icon_preview").hide();
936
  jQuery(".mo_custom_login_icon_preview").show();
937
  jQuery(".mo_btn-defaulttheme").hide();
938
+ jQuery(".mo_openid_mo_btn-customtheme").hide();
939
+ jQuery(".mo_white_login_icon_preview").hide();
940
+ jQuery(".mo_openid_mo_btn-whitetheme").hide();
941
+ jQuery(".mo_hover_login_icon_preview").hide();
942
+ jQuery(".mo_openid_mo_btn-hovertheme").hide();
943
+ jQuery(".mo_custom_hover_login_icon_preview").hide();
944
+ jQuery(".mo_openid_mo_btn-customhovertheme").hide();
945
+ jQuery(".mo_custom_smart_login_icon_preview").hide();
946
+ jQuery(".mo_openid_mo_btn-smarttheme").hide();
947
  }
948
  }
949
  previewLoginIcons();
961
  else
962
  jQuery("#mo_login_icon_preview_"+apps[i]).show();
963
  }
964
+
965
+ else if(jQuery('input[name=mo_openid_login_custom_theme]:checked', '#form-apps').val() == 'white')
966
+ {
967
+ if(jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val() == 'longbutton')
968
+ jQuery("#mo_white_login_button_preview_"+apps[i]).show();
969
+ else
970
+ jQuery("#mo_white_login_icon_preview_"+apps[i]).show();
971
+ }
972
+
973
+
974
+ else if(jQuery('input[name=mo_openid_login_custom_theme]:checked', '#form-apps').val() == 'hover')
975
+ {
976
+ if(jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val() == 'longbutton')
977
+ jQuery("#mo_hover_login_button_preview_"+apps[i]).show();
978
+ else
979
+ jQuery("#mo_hover_login_icon_preview_"+apps[i]).show();
980
+ }
981
+
982
+
983
+
984
+ else if(jQuery('input[name=mo_openid_login_custom_theme]:checked', '#form-apps').val() == 'custom_hover')
985
+ {
986
+ if(jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val() == 'longbutton')
987
+ jQuery("#mo_custom_hover_login_button_preview_"+apps[i]).show();
988
+ else
989
+ jQuery("#mo_custom_hover_login_icon_preview_"+apps[i]).show();
990
+ }
991
+
992
  else if(jQuery('input[name=mo_openid_login_custom_theme]:checked', '#form-apps').val() == 'custom')
993
  {
994
  if(jQuery('input[name=mo_openid_login_theme]:checked', '#form-apps').val() == 'longbutton')
view/licensing_plans/mo_openid_lic_plans.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  function mo_openid_licensing_plans()
4
  {
5
- wp_enqueue_style( 'mo_openid_plugins_page_style', plugin_dir_url(dirname(dirname(__FILE__))).'includes/css/mo_openid_licensing_plan.css?version=7.4.7' );
6
  ?>
7
 
8
  <div style="text-align: center; font-size: 14px; background: forestgreen; color: white; padding-top: 4px; padding-bottom: 4px; border-radius: 16px;"></div>
@@ -55,9 +55,9 @@ function mo_openid_licensing_plans()
55
 
56
  <div class="cd-price" style="margin-top: 9%;">
57
  <span class="mo-openid-cd-currency">$</span>
58
- <span id="mo_openid_ap1" class="mo-openid-cd-value">25</span> &nbsp;&nbsp;
59
  <span class="mo-openid-cd-currency">$</span>
60
- <span id="mo_openid_ap2" class="mo-openid-cd-value"><s>29</s></span>
61
  </div>
62
  </header> <!-- .mo-openid-cd-pricing-header -->
63
  <footer class="mo-openid-cd-pricing-footer">
@@ -69,7 +69,7 @@ function mo_openid_licensing_plans()
69
  <li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
70
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
71
  <li>
72
- <div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Sharing Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
73
  <li>
74
  <div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Apple, Twitch, Discord, Facebook, Google, Twitter Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo, Instagram.</span></div></li>
75
  <li>Apple, Twitch, & Discord Login</li>
@@ -179,7 +179,7 @@ function mo_openid_licensing_plans()
179
  <li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
180
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
181
  <li>
182
- <div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Sharing Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
183
  <li>
184
  <div class="mo_openid_tooltip" style="padding-left: 40px;">10 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Google, Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo.</span></div></li>
185
  <li>
@@ -254,9 +254,9 @@ function mo_openid_licensing_plans()
254
 
255
  <div class="cd-price" style="margin-top: 9%;">
256
  <span class="mo-openid-cd-currency">$</span>
257
- <span id="mo_openid_cra1" class="mo-openid-cd-value">35</span> &nbsp;&nbsp;
258
  <span class="mo-openid-cd-currency">$</span>
259
- <span id="mo_openid_cra2" class="mo-openid-cd-value"><s>39</s></span>
260
 
261
  </div>
262
  </header>
@@ -285,9 +285,9 @@ function mo_openid_licensing_plans()
285
 
286
  <div class="cd-price" style="margin-top: 9%;">
287
  <span class="mo-openid-cd-currency">$</span>
288
- <span id="mo_openid_mca1" class="mo-openid-cd-value">25</span> &nbsp;&nbsp;
289
  <span class="mo-openid-cd-currency">$</span>
290
- <span id="mo_openid_mca2" class="mo-openid-cd-value"><s>29</s></span>
291
  </div>
292
  </header> <!-- .mo-openid-cd-pricing-header -->
293
  <footer class="mo-openid-cd-pricing-footer">
@@ -319,9 +319,9 @@ function mo_openid_licensing_plans()
319
 
320
  <div class="cd-price" style="margin-top: 9%;">
321
  <span class="mo-openid-cd-currency">$</span>
322
- <span id="mo_openid_std1" class="mo-openid-cd-value">29</span> &nbsp;&nbsp;
323
  <span class="mo-openid-cd-currency">$</span>
324
- <span id="mo_openid_std2" class="mo-openid-cd-value"><s>39</s></span>
325
  </div>
326
  </header> <!-- .mo-openid-cd-pricing-header -->
327
  <footer class="mo-openid-cd-pricing-footer">
@@ -332,7 +332,7 @@ function mo_openid_licensing_plans()
332
  <li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
333
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
334
  <li>
335
- <div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Sharing Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
336
  <li>
337
  <div class="mo_openid_tooltip" style="padding-left: 40px;">35 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo, <span id="mo_openid_dots4">...</span><span id="mo_openid_more4" style="display:none" >Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Line, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots4','mo_openid_more4','mo_openid_myBtn4')" id="mo_openid_myBtn4">Read more</button>
338
  </div>
@@ -440,7 +440,7 @@ function mo_openid_licensing_plans()
440
  <li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
441
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
442
  <li>
443
- <div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Sharing Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
444
  <li>
445
  <div class="mo_openid_tooltip" style="padding-left: 40px;">35 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo, <span id="mo_openid_dots4">...</span><span id="mo_openid_more4" style="display:none" >Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Line, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots4','mo_openid_more4','mo_openid_myBtn4')" id="mo_openid_myBtn4">Read more</button>
446
  </div>
@@ -510,9 +510,9 @@ function mo_openid_licensing_plans()
510
 
511
  <div class="cd-price" style="margin-top: 9%;">
512
  <span class="mo-openid-cd-currency">$</span>
513
- <span id="mo_openid_wca_in1" class="mo-openid-cd-value">25</span> &nbsp;&nbsp;
514
  <span class="mo-openid-cd-currency">$</span>
515
- <span id="mo_openid_wca_in2" class="mo-openid-cd-value"><s>29</s></span>
516
  </div>
517
  </header> <!-- .mo-openid-cd-pricing-header -->
518
  <footer class="mo-openid-cd-pricing-footer">
@@ -540,9 +540,9 @@ function mo_openid_licensing_plans()
540
 
541
  <div class="cd-price" style="margin-top: 9%;">
542
  <span class="mo-openid-cd-currency">$</span>
543
- <span id="mo_openid_dis1" class="mo-openid-cd-value">79</span> &nbsp;&nbsp;
544
  <span class="mo-openid-cd-currency">$</span>
545
- <span id="mo_openid_dis2" class="mo-openid-cd-value"><s>99</s></span>
546
  </div>
547
  </header> <!-- .mo-openid-cd-pricing-header -->
548
  <footer class="mo-openid-cd-pricing-footer">
@@ -572,9 +572,9 @@ function mo_openid_licensing_plans()
572
 
573
  <div class="cd-price" style="margin-top: 9%;">
574
  <span class="mo-openid-cd-currency">$</span>
575
- <span id="mo_openid_pre1" class="mo-openid-cd-value">49</span> &nbsp;&nbsp;
576
  <span class="mo-openid-cd-currency">$</span>
577
- <span id="mo_openid_pre2" class="mo-openid-cd-value"><s>59</s></span>
578
  </div>
579
  </header> <!-- .mo-openid-cd-pricing-header -->
580
  <footer class="mo-openid-cd-pricing-footer">
@@ -585,7 +585,7 @@ function mo_openid_licensing_plans()
585
  <li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
586
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
587
  <li>
588
- <div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Sharing Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
589
  <li>
590
  <div class="mo_openid_tooltip" style="padding-left: 40px;">42 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;">Apple, Discord, Twitch, Line, Hubspot, Paypal, Github, Dropbox, Wechat, Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo,<span id="mo_openid_dots6">...</span><span id="mo_openid_more6" style="display:none" > Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots6','mo_openid_more6','mo_openid_myBtn6')" id="mo_openid_myBtn6">Read more</button>
591
  </div>
@@ -692,7 +692,7 @@ function mo_openid_licensing_plans()
692
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
693
 
694
  <li>
695
- <div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Sharing Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
696
  <li>
697
  <div class="mo_openid_tooltip" style="padding-left: 40px;">42 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;">Apple, Discord, Twitch, Line, Hubspot, Paypal, Github, Dropbox, Wechat, Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo,<span id="mo_openid_dots6">...</span><span id="mo_openid_more6" style="display:none" > Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots6','mo_openid_more6','mo_openid_myBtn6')" id="mo_openid_myBtn6">Read more</button>
698
  </div>
@@ -764,9 +764,9 @@ function mo_openid_licensing_plans()
764
 
765
  <div class="cd-price" style="margin-top: 9%;">
766
  <span class="mo-openid-cd-currency">$</span>
767
- <span id="mo_openid_bpa1" class="mo-openid-cd-value">25</span> &nbsp;&nbsp;
768
  <span class="mo-openid-cd-currency">$</span>
769
- <span id="mo_openid_bpa2" class="mo-openid-cd-value"><s>29</s></span>
770
  </div>
771
  </header> <!-- .mo-openid-cd-pricing-header -->
772
  </a>
@@ -797,9 +797,9 @@ function mo_openid_licensing_plans()
797
 
798
  <div class="cd-price" style="margin-top: 9%;">
799
  <span class="mo-openid-cd-currency">$</span>
800
- <span id="mo_openid_ai1" class="mo-openid-cd-value">89</span> &nbsp;&nbsp;
801
  <span class="mo-openid-cd-currency">$</span>
802
- <span id="mo_openid_ai2" class="mo-openid-cd-value"><s>99</s></span>
803
  </div>
804
  </header> <!-- .mo-openid-cd-pricing-header -->
805
  <footer class="mo-openid-cd-pricing-footer">
@@ -985,9 +985,9 @@ function mo_openid_licensing_plans()
985
  </select>
986
  <div class="cd-price" style="margin-top: 9%;">
987
  <span class="mo-openid-cd-currency">$</span>
988
- <span id="mo_openid_hub1" class="mo-openid-cd-value">45</span> &nbsp;&nbsp;
989
  <span class="mo-openid-cd-currency">$</span>
990
- <span id="mo_openid_hub2" class="mo-openid-cd-value"><s>59</s></span>
991
  </div>
992
  </header>
993
  <footer class="mo-openid-cd-pricing-footer">
@@ -1033,45 +1033,45 @@ function mo_openid_licensing_plans()
1033
  //hubspot addon
1034
  jQuery('#mo_openid_hub').on('change', function () {
1035
  if (this.value === "1") {
1036
- jQuery('#mo_openid_hub1').html("45");
1037
- jQuery('#mo_openid_hub2').html("<s>59</s>");
1038
  } else if (this.value === "5") {
1039
  jQuery('#mo_openid_hub1').html("149");
1040
- jQuery('#mo_openid_hub2').html("<s>295</s>");
1041
  }
1042
  else if (this.value === "10") {
1043
  jQuery('#mo_openid_hub1').html("249");
1044
- jQuery('#mo_openid_hub2').html("<s>590</s>");
1045
  }
1046
  });
1047
 
1048
  //custom registration add on
1049
  jQuery('#mo_openid_cra').on('change', function () {
1050
  if (this.value === "1") {
1051
- jQuery('#mo_openid_cra1').html("35");
1052
- jQuery('#mo_openid_cra2').html("<s>39</s>");
1053
  } else if (this.value === "5") {
1054
  jQuery('#mo_openid_cra1').html("119");
1055
- jQuery('#mo_openid_cra2').html("<s>195</s>");
1056
  }
1057
  else if (this.value === "10") {
1058
  jQuery('#mo_openid_cra1').html("179");
1059
- jQuery('#mo_openid_cra2').html("<s>390</s>");
1060
  }
1061
  });
1062
 
1063
  //standard plan
1064
  jQuery('#mo_openid_std').on('change', function () {
1065
  if (this.value === "1") {
1066
- jQuery('#mo_openid_std1').html("29");
1067
- jQuery('#mo_openid_std2').html("<s>39</s>");
1068
  } else if (this.value === "5") {
1069
  jQuery('#mo_openid_std1').html("99");
1070
- jQuery('#mo_openid_std2').html("<s>195</s>");
1071
  }
1072
  else if (this.value === "10") {
1073
  jQuery('#mo_openid_std1').html("169");
1074
- jQuery('#mo_openid_std2').html("<s>390</s>");
1075
  }
1076
  });
1077
 
@@ -1210,30 +1210,30 @@ function mo_openid_licensing_plans()
1210
  //woocommerce addon/plan
1211
  jQuery('#mo_openid_wca_in').on('change', function () {
1212
  if (this.value === "1") {
1213
- jQuery('#mo_openid_wca_in1').html("25");
1214
- jQuery('#mo_openid_wca_in2').html("<s>29</s>");
1215
  } else if (this.value === "5") {
1216
  jQuery('#mo_openid_wca_in1').html("89");
1217
- jQuery('#mo_openid_wca_in2').html("<s>149</s>");
1218
  }
1219
  else if (this.value === "10") {
1220
  jQuery('#mo_openid_wca_in1').html("149");
1221
- jQuery('#mo_openid_wca_in2').html("<s>290</s>");
1222
  }
1223
  });
1224
 
1225
  //premium plugin
1226
  jQuery('#mo_openid_pre').on('change', function () {
1227
  if (this.value === "1") {
1228
- jQuery('#mo_openid_pre1').html("49");
1229
- jQuery('#mo_openid_pre2').html("<s>59</s>");
1230
  } else if (this.value === "5") {
1231
  jQuery('#mo_openid_pre1').html("149");
1232
- jQuery('#mo_openid_pre2').html("<s>295</s>");
1233
  }
1234
  else if (this.value === "10") {
1235
  jQuery('#mo_openid_pre1').html("199");
1236
- jQuery('#mo_openid_pre2').html("<s>590</s>");
1237
  }
1238
  });
1239
 
@@ -1306,30 +1306,30 @@ function mo_openid_licensing_plans()
1306
  //buddypress addon/plan
1307
  jQuery('#mo_openid_bpa').on('change', function () {
1308
  if (this.value === "1") {
1309
- jQuery('#mo_openid_bpa1').html("25");
1310
- jQuery('#mo_openid_bpa2').html("<s>29</s>");
1311
  } else if (this.value === "5") {
1312
  jQuery('#mo_openid_bpa1').html("89");
1313
- jQuery('#mo_openid_bpa2').html("<s>149</s>");
1314
  }
1315
  else if (this.value === "10") {
1316
  jQuery('#mo_openid_bpa1').html("149");
1317
- jQuery('#mo_openid_bpa2').html("<s>290</s>");
1318
  }
1319
  });
1320
 
1321
  //all-inclusive plan
1322
  jQuery('#mo_openid_ai').on('change', function () {
1323
  if (this.value === "1") {
1324
- jQuery('#mo_openid_ai1').html("89");
1325
- jQuery('#mo_openid_ai2').html("<s>99</s>");
1326
  } else if (this.value === "5") {
1327
  jQuery('#mo_openid_ai1').html("299");
1328
- jQuery('#mo_openid_ai2').html("<s>495</s>");
1329
  }
1330
  else if (this.value === "10") {
1331
  jQuery('#mo_openid_ai1').html("449");
1332
- jQuery('#mo_openid_ai2').html("<s>990</s>");
1333
  }
1334
  });
1335
 
@@ -1402,45 +1402,45 @@ function mo_openid_licensing_plans()
1402
  //mailchimp addon
1403
  jQuery('#mo_openid_mca').on('change', function () {
1404
  if (this.value === "1") {
1405
- jQuery('#mo_openid_mca1').html("25");
1406
- jQuery('#mo_openid_mca2').html("<s>29</s>");
1407
  } else if (this.value === "5") {
1408
  jQuery('#mo_openid_mca1').html("89");
1409
- jQuery('#mo_openid_mca2').html("<s>149</s>");
1410
  }
1411
  else if (this.value === "10") {
1412
  jQuery('#mo_openid_mca1').html("149");
1413
- jQuery('#mo_openid_mca2').html("<s>290</s>");
1414
  }
1415
  });
1416
 
1417
  //discord addon
1418
  jQuery('#mo_openid_dis').on('change', function () {
1419
  if (this.value === "1") {
1420
- jQuery('#mo_openid_dis1').html("79");
1421
- jQuery('#mo_openid_dis2').html("<s>99</s>");
1422
  } else if (this.value === "5") {
1423
  jQuery('#mo_openid_dis1').html("269");
1424
- jQuery('#mo_openid_dis2').html("<s>495</s>");
1425
  }
1426
  else if (this.value === "10") {
1427
  jQuery('#mo_openid_dis1').html("449");
1428
- jQuery('#mo_openid_dis2').html("<s>990</s>");
1429
  }
1430
  });
1431
 
1432
  //Apple plan
1433
  jQuery('#mo_openid_ap').on('change', function () {
1434
  if (this.value === "1") {
1435
- jQuery('#mo_openid_ap1').html("25");
1436
- jQuery('#mo_openid_ap2').html("<s>29</s>");
1437
  } else if (this.value === "5") {
1438
  jQuery('#mo_openid_ap1').html("99");
1439
- jQuery('#mo_openid_ap2').html("<s>145</s>");
1440
  }
1441
  else if (this.value === "10") {
1442
  jQuery('#mo_openid_ap1').html("179");
1443
- jQuery('#mo_openid_ap2').html("<s>290</s>");
1444
  }
1445
  });
1446
 
@@ -1458,13 +1458,7 @@ function mo_openid_licensing_plans()
1458
  jQuery('#mo_openid_ssm2').html("<s>250</s>");
1459
  }
1460
  });
1461
-
1462
- //var x="<?php //echo get_option('mo_openid_extension_tab'); ?>//";
1463
- //if(x==1){
1464
- // document.getElementById('singlesite').checked= false;
1465
- // //document.getElementById('multisite').checked= true;
1466
- // document.getElementById('mo_add-on').checked= true;
1467
- //}
1468
  var card1 = document.getElementById('col1');
1469
  var card2= document.getElementById('col2');
1470
  var card3= document.getElementById('col3');
2
 
3
  function mo_openid_licensing_plans()
4
  {
5
+ wp_enqueue_style( 'mo_openid_plugins_page_style', plugin_dir_url(dirname(dirname(__FILE__))).'includes/css/mo_openid_licensing_plan.css?version='.MO_OPENID_SOCIAL_LOGIN_VERSION );
6
  ?>
7
 
8
  <div style="text-align: center; font-size: 14px; background: forestgreen; color: white; padding-top: 4px; padding-bottom: 4px; border-radius: 16px;"></div>
55
 
56
  <div class="cd-price" style="margin-top: 9%;">
57
  <span class="mo-openid-cd-currency">$</span>
58
+ <span id="mo_openid_ap1" class="mo-openid-cd-value">19</span> &nbsp;&nbsp;
59
  <span class="mo-openid-cd-currency">$</span>
60
+ <span id="mo_openid_ap2" class="mo-openid-cd-value"><s>40</s></span>
61
  </div>
62
  </header> <!-- .mo-openid-cd-pricing-header -->
63
  <footer class="mo-openid-cd-pricing-footer">
69
  <li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
70
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
71
  <li>
72
+ <div class="mo_openid_tooltip" style="padding-left: 40px;">14 Social Sharing Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
73
  <li>
74
  <div class="mo_openid_tooltip" style="padding-left: 40px;">13 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Apple, Twitch, Discord, Facebook, Google, Twitter Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo, Instagram.</span></div></li>
75
  <li>Apple, Twitch, & Discord Login</li>
179
  <li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
180
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
181
  <li>
182
+ <div class="mo_openid_tooltip" style="padding-left: 40px;">14 Social Sharing Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
183
  <li>
184
  <div class="mo_openid_tooltip" style="padding-left: 40px;">10 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Google, Vkontakte, LinkedIn, Windows Live, Amazon, Salesforce, Yahoo.</span></div></li>
185
  <li>
254
 
255
  <div class="cd-price" style="margin-top: 9%;">
256
  <span class="mo-openid-cd-currency">$</span>
257
+ <span id="mo_openid_cra1" class="mo-openid-cd-value">29</span> &nbsp;&nbsp;
258
  <span class="mo-openid-cd-currency">$</span>
259
+ <span id="mo_openid_cra2" class="mo-openid-cd-value"><s>60</s></span>
260
 
261
  </div>
262
  </header>
285
 
286
  <div class="cd-price" style="margin-top: 9%;">
287
  <span class="mo-openid-cd-currency">$</span>
288
+ <span id="mo_openid_mca1" class="mo-openid-cd-value">19</span> &nbsp;&nbsp;
289
  <span class="mo-openid-cd-currency">$</span>
290
+ <span id="mo_openid_mca2" class="mo-openid-cd-value"><s>40</s></span>
291
  </div>
292
  </header> <!-- .mo-openid-cd-pricing-header -->
293
  <footer class="mo-openid-cd-pricing-footer">
319
 
320
  <div class="cd-price" style="margin-top: 9%;">
321
  <span class="mo-openid-cd-currency">$</span>
322
+ <span id="mo_openid_std1" class="mo-openid-cd-value">25</span> &nbsp;&nbsp;
323
  <span class="mo-openid-cd-currency">$</span>
324
+ <span id="mo_openid_std2" class="mo-openid-cd-value"><s>50</s></span>
325
  </div>
326
  </header> <!-- .mo-openid-cd-pricing-header -->
327
  <footer class="mo-openid-cd-pricing-footer">
332
  <li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
333
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
334
  <li>
335
+ <div class="mo_openid_tooltip" style="padding-left: 40px;">14 Social Sharing Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
336
  <li>
337
  <div class="mo_openid_tooltip" style="padding-left: 40px;">35 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo, <span id="mo_openid_dots4">...</span><span id="mo_openid_more4" style="display:none" >Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Line, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots4','mo_openid_more4','mo_openid_myBtn4')" id="mo_openid_myBtn4">Read more</button>
338
  </div>
440
  <li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
441
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
442
  <li>
443
+ <div class="mo_openid_tooltip" style="padding-left: 40px;">14 Social Sharing Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
444
  <li>
445
  <div class="mo_openid_tooltip" style="padding-left: 40px;">35 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo, <span id="mo_openid_dots4">...</span><span id="mo_openid_more4" style="display:none" >Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Line, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots4','mo_openid_more4','mo_openid_myBtn4')" id="mo_openid_myBtn4">Read more</button>
446
  </div>
510
 
511
  <div class="cd-price" style="margin-top: 9%;">
512
  <span class="mo-openid-cd-currency">$</span>
513
+ <span id="mo_openid_wca_in1" class="mo-openid-cd-value">19</span> &nbsp;&nbsp;
514
  <span class="mo-openid-cd-currency">$</span>
515
+ <span id="mo_openid_wca_in2" class="mo-openid-cd-value"><s>40</s></span>
516
  </div>
517
  </header> <!-- .mo-openid-cd-pricing-header -->
518
  <footer class="mo-openid-cd-pricing-footer">
540
 
541
  <div class="cd-price" style="margin-top: 9%;">
542
  <span class="mo-openid-cd-currency">$</span>
543
+ <span id="mo_openid_dis1" class="mo-openid-cd-value">65</span> &nbsp;&nbsp;
544
  <span class="mo-openid-cd-currency">$</span>
545
+ <span id="mo_openid_dis2" class="mo-openid-cd-value"><s>130</s></span>
546
  </div>
547
  </header> <!-- .mo-openid-cd-pricing-header -->
548
  <footer class="mo-openid-cd-pricing-footer">
572
 
573
  <div class="cd-price" style="margin-top: 9%;">
574
  <span class="mo-openid-cd-currency">$</span>
575
+ <span id="mo_openid_pre1" class="mo-openid-cd-value">39</span> &nbsp;&nbsp;
576
  <span class="mo-openid-cd-currency">$</span>
577
+ <span id="mo_openid_pre2" class="mo-openid-cd-value"><s>80</s></span>
578
  </div>
579
  </header> <!-- .mo-openid-cd-pricing-header -->
580
  <footer class="mo-openid-cd-pricing-footer">
585
  <li onclick="mo_all_features_clk('free_feature')" style="cursor:pointer;" title="Click here for Feature list" class="mo_openid-on-hover-free-fetr"><b>All Free Features +</b></li>
586
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
587
  <li>
588
+ <div class="mo_openid_tooltip" style="padding-left: 40px;">14 Social Sharing Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
589
  <li>
590
  <div class="mo_openid_tooltip" style="padding-left: 40px;">42 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;">Apple, Discord, Twitch, Line, Hubspot, Paypal, Github, Dropbox, Wechat, Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo,<span id="mo_openid_dots6">...</span><span id="mo_openid_more6" style="display:none" > Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots6','mo_openid_more6','mo_openid_myBtn6')" id="mo_openid_myBtn6">Read more</button>
591
  </div>
692
  <li class="mo-openid-lic-bold-cl" style="color: red">X</li>
693
 
694
  <li>
695
+ <div class="mo_openid_tooltip" style="padding-left: 40px;">14 Social Sharing Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;"> Facebook, Twitter, Vkontakte, WhatsApp, Tunmblr, StumbleUpon, LinkedIn, Reddit, Pinterest, Pocket, Digg, Email, Print.<br></span></div></li>
696
  <li>
697
  <div class="mo_openid_tooltip" style="padding-left: 40px;">42 Social Login Apps <i class="far fa-comment-dots " style="font-size:18px; color:#85929E"></i><span class="mo_openid_tooltiptext" style="width:100%;">Apple, Discord, Twitch, Line, Hubspot, Paypal, Github, Dropbox, Wechat, Google, Facebook, Twitter, Vkontakte, LinkedIn, Windows Live, Instagram, Amazon, Salesforce, Yahoo,<span id="mo_openid_dots6">...</span><span id="mo_openid_more6" style="display:none" > Wordpress, Mail.RU, Disqus, Pinterest, Yandex, Spotify, Reddit, Tumblr, Vimeo, Kakao, Dribbble, Flickr, MeetUp, Stackexchange, Livejournal, Snapchat, Foursquare, Teamsnap, Naver, Odnoklassniki, Wiebo, Baidu, Renren, QQ.</span><button style="border:transparent;background-color: transparent;color: tomato;" onclick="myFunction('mo_openid_dots6','mo_openid_more6','mo_openid_myBtn6')" id="mo_openid_myBtn6">Read more</button>
698
  </div>
764
 
765
  <div class="cd-price" style="margin-top: 9%;">
766
  <span class="mo-openid-cd-currency">$</span>
767
+ <span id="mo_openid_bpa1" class="mo-openid-cd-value">19</span> &nbsp;&nbsp;
768
  <span class="mo-openid-cd-currency">$</span>
769
+ <span id="mo_openid_bpa2" class="mo-openid-cd-value"><s>40</s></span>
770
  </div>
771
  </header> <!-- .mo-openid-cd-pricing-header -->
772
  </a>
797
 
798
  <div class="cd-price" style="margin-top: 9%;">
799
  <span class="mo-openid-cd-currency">$</span>
800
+ <span id="mo_openid_ai1" class="mo-openid-cd-value">69</span> &nbsp;&nbsp;
801
  <span class="mo-openid-cd-currency">$</span>
802
+ <span id="mo_openid_ai2" class="mo-openid-cd-value"><s>140</s></span>
803
  </div>
804
  </header> <!-- .mo-openid-cd-pricing-header -->
805
  <footer class="mo-openid-cd-pricing-footer">
985
  </select>
986
  <div class="cd-price" style="margin-top: 9%;">
987
  <span class="mo-openid-cd-currency">$</span>
988
+ <span id="mo_openid_hub1" class="mo-openid-cd-value">35</span> &nbsp;&nbsp;
989
  <span class="mo-openid-cd-currency">$</span>
990
+ <span id="mo_openid_hub2" class="mo-openid-cd-value"><s>70</s></span>
991
  </div>
992
  </header>
993
  <footer class="mo-openid-cd-pricing-footer">
1033
  //hubspot addon
1034
  jQuery('#mo_openid_hub').on('change', function () {
1035
  if (this.value === "1") {
1036
+ jQuery('#mo_openid_hub1').html("35");
1037
+ jQuery('#mo_openid_hub2').html("<s>70</s>");
1038
  } else if (this.value === "5") {
1039
  jQuery('#mo_openid_hub1').html("149");
1040
+ jQuery('#mo_openid_hub2').html("<s>350</s>");
1041
  }
1042
  else if (this.value === "10") {
1043
  jQuery('#mo_openid_hub1').html("249");
1044
+ jQuery('#mo_openid_hub2').html("<s>700</s>");
1045
  }
1046
  });
1047
 
1048
  //custom registration add on
1049
  jQuery('#mo_openid_cra').on('change', function () {
1050
  if (this.value === "1") {
1051
+ jQuery('#mo_openid_cra1').html("29");
1052
+ jQuery('#mo_openid_cra2').html("<s>60</s>");
1053
  } else if (this.value === "5") {
1054
  jQuery('#mo_openid_cra1').html("119");
1055
+ jQuery('#mo_openid_cra2').html("<s>300</s>");
1056
  }
1057
  else if (this.value === "10") {
1058
  jQuery('#mo_openid_cra1').html("179");
1059
+ jQuery('#mo_openid_cra2').html("<s>600</s>");
1060
  }
1061
  });
1062
 
1063
  //standard plan
1064
  jQuery('#mo_openid_std').on('change', function () {
1065
  if (this.value === "1") {
1066
+ jQuery('#mo_openid_std1').html("25");
1067
+ jQuery('#mo_openid_std2').html("<s>50</s>");
1068
  } else if (this.value === "5") {
1069
  jQuery('#mo_openid_std1').html("99");
1070
+ jQuery('#mo_openid_std2').html("<s>250</s>");
1071
  }
1072
  else if (this.value === "10") {
1073
  jQuery('#mo_openid_std1').html("169");
1074
+ jQuery('#mo_openid_std2').html("<s>500</s>");
1075
  }
1076
  });
1077
 
1210
  //woocommerce addon/plan
1211
  jQuery('#mo_openid_wca_in').on('change', function () {
1212
  if (this.value === "1") {
1213
+ jQuery('#mo_openid_wca_in1').html("19");
1214
+ jQuery('#mo_openid_wca_in2').html("<s>40</s>");
1215
  } else if (this.value === "5") {
1216
  jQuery('#mo_openid_wca_in1').html("89");
1217
+ jQuery('#mo_openid_wca_in2').html("<s>200</s>");
1218
  }
1219
  else if (this.value === "10") {
1220
  jQuery('#mo_openid_wca_in1').html("149");
1221
+ jQuery('#mo_openid_wca_in2').html("<s>400</s>");
1222
  }
1223
  });
1224
 
1225
  //premium plugin
1226
  jQuery('#mo_openid_pre').on('change', function () {
1227
  if (this.value === "1") {
1228
+ jQuery('#mo_openid_pre1').html("39");
1229
+ jQuery('#mo_openid_pre2').html("<s>80</s>");
1230
  } else if (this.value === "5") {
1231
  jQuery('#mo_openid_pre1').html("149");
1232
+ jQuery('#mo_openid_pre2').html("<s>400</s>");
1233
  }
1234
  else if (this.value === "10") {
1235
  jQuery('#mo_openid_pre1').html("199");
1236
+ jQuery('#mo_openid_pre2').html("<s>800</s>");
1237
  }
1238
  });
1239
 
1306
  //buddypress addon/plan
1307
  jQuery('#mo_openid_bpa').on('change', function () {
1308
  if (this.value === "1") {
1309
+ jQuery('#mo_openid_bpa1').html("19");
1310
+ jQuery('#mo_openid_bpa2').html("<s>40</s>");
1311
  } else if (this.value === "5") {
1312
  jQuery('#mo_openid_bpa1').html("89");
1313
+ jQuery('#mo_openid_bpa2').html("<s>200</s>");
1314
  }
1315
  else if (this.value === "10") {
1316
  jQuery('#mo_openid_bpa1').html("149");
1317
+ jQuery('#mo_openid_bpa2').html("<s>400</s>");
1318
  }
1319
  });
1320
 
1321
  //all-inclusive plan
1322
  jQuery('#mo_openid_ai').on('change', function () {
1323
  if (this.value === "1") {
1324
+ jQuery('#mo_openid_ai1').html("69");
1325
+ jQuery('#mo_openid_ai2').html("<s>140</s>");
1326
  } else if (this.value === "5") {
1327
  jQuery('#mo_openid_ai1').html("299");
1328
+ jQuery('#mo_openid_ai2').html("<s>700</s>");
1329
  }
1330
  else if (this.value === "10") {
1331
  jQuery('#mo_openid_ai1').html("449");
1332
+ jQuery('#mo_openid_ai2').html("<s>1400</s>");
1333
  }
1334
  });
1335
 
1402
  //mailchimp addon
1403
  jQuery('#mo_openid_mca').on('change', function () {
1404
  if (this.value === "1") {
1405
+ jQuery('#mo_openid_mca1').html("19");
1406
+ jQuery('#mo_openid_mca2').html("<s>40</s>");
1407
  } else if (this.value === "5") {
1408
  jQuery('#mo_openid_mca1').html("89");
1409
+ jQuery('#mo_openid_mca2').html("<s>200</s>");
1410
  }
1411
  else if (this.value === "10") {
1412
  jQuery('#mo_openid_mca1').html("149");
1413
+ jQuery('#mo_openid_mca2').html("<s>400</s>");
1414
  }
1415
  });
1416
 
1417
  //discord addon
1418
  jQuery('#mo_openid_dis').on('change', function () {
1419
  if (this.value === "1") {
1420
+ jQuery('#mo_openid_dis1').html("65");
1421
+ jQuery('#mo_openid_dis2').html("<s>130</s>");
1422
  } else if (this.value === "5") {
1423
  jQuery('#mo_openid_dis1').html("269");
1424
+ jQuery('#mo_openid_dis2').html("<s>650</s>");
1425
  }
1426
  else if (this.value === "10") {
1427
  jQuery('#mo_openid_dis1').html("449");
1428
+ jQuery('#mo_openid_dis2').html("<s>1300</s>");
1429
  }
1430
  });
1431
 
1432
  //Apple plan
1433
  jQuery('#mo_openid_ap').on('change', function () {
1434
  if (this.value === "1") {
1435
+ jQuery('#mo_openid_ap1').html("19");
1436
+ jQuery('#mo_openid_ap2').html("<s>40</s>");
1437
  } else if (this.value === "5") {
1438
  jQuery('#mo_openid_ap1').html("99");
1439
+ jQuery('#mo_openid_ap2').html("<s>200</s>");
1440
  }
1441
  else if (this.value === "10") {
1442
  jQuery('#mo_openid_ap1').html("179");
1443
+ jQuery('#mo_openid_ap2').html("<s>400</s>");
1444
  }
1445
  });
1446
 
1458
  jQuery('#mo_openid_ssm2').html("<s>250</s>");
1459
  }
1460
  });
1461
+
 
 
 
 
 
 
1462
  var card1 = document.getElementById('col1');
1463
  var card2= document.getElementById('col2');
1464
  var card3= document.getElementById('col3');
view/tlwp/mo_openid_tlwp.php ADDED
@@ -0,0 +1,313 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ function mo_openid_tlwp(){
4
+ $login_url="";
5
+ if (isset($_REQUEST['submit'])) {
6
+ //$str = $user_id . time() . uniqid( '', true );
7
+ try {
8
+ $email = $_POST['user_email'];
9
+ if (empty($email)) {
10
+ echo '<p class="mo_notice">Empty email field</p>';
11
+ } elseif (!is_email($email)) {
12
+ echo '<p class="mo_notice">Enter a valid email</p>';
13
+ } else {
14
+ $password = wp_generate_password(absint(15), true, false);
15
+ $first_name = sanitize_text_field($_POST['first_name']);
16
+ $last_name = sanitize_text_field($_POST['last_name']);
17
+ $role = isset($_POST['role']) ? $_POST['role'] :'administrator';
18
+ $expiry=isset($_POST['expiry']) ? $_POST['expiry'] :'oneweek';
19
+ $user_args = array(
20
+ 'first_name' => $first_name,
21
+ 'last_name' => $last_name,
22
+ 'user_login' => $email,
23
+ 'user_pass' => $password,
24
+ 'user_email' => sanitize_email($email),
25
+ 'expiry'=>$expiry,
26
+ 'role' => $role,
27
+ );
28
+
29
+ $user_id = wp_insert_user($user_args);
30
+ $redirect_link = admin_url('mo_openid_general_settings&tab=tlwp', 'admin');
31
+ $expiry_option = ! empty( $expiry ) ? $expiry : 'day';
32
+ $date = ! empty( $data['custom_date'] ) ? $data['custom_date'] : '';
33
+ //$user_id = get_current_user_id();//$_POST['user_email'];//get_current_user_id();
34
+ //$str = $user_id . time() . uniqid('', true);
35
+ $str = $user_id . microtime() . uniqid( '', true );
36
+ $salt = substr( md5( $str ), 0, 32 );
37
+ update_user_meta($user_id, 'mo_token', hash( "sha256", $str . $salt ));
38
+ $redirect_link = add_query_arg('user_email', $email, $redirect_link);
39
+ //$redirect_link = add_query_arg( 'user_email', $email, $redirect_link );
40
+ update_user_meta( $user_id, 'mo_created', get_current_gmt_timestamp() );
41
+ update_user_meta( $user_id, 'mo_expire', get_user_expire_time( $expiry_option, $date ) );
42
+ update_user_meta( $user_id, 'mo_redirect_to', 'wp_dashboard' );
43
+
44
+ $mo_token = get_user_meta($user_id, 'mo_token', true);
45
+ $login_url = add_query_arg('mo_token', $mo_token, trailingslashit(admin_url()));
46
+ $login_url = apply_filters('itsec_notify_admin_page_url', $login_url);
47
+ $login_url = apply_filters('tlwp_login_link', $login_url, $user_id);
48
+ update_user_meta ($user_id, "temporary_url", $login_url );
49
+ $count=get_option('count_temp_users');
50
+ if(!$count) {
51
+ $count=0;
52
+ }
53
+ $count++;
54
+ update_option('count_temp_users',$count);
55
+ }
56
+ } catch (Throwable $e) {
57
+ echo '<div id="snackbar">Please use a different email. User already exists!</div>
58
+ <style>
59
+ #snackbar {
60
+ visibility: hidden;
61
+ min-width: 250px;
62
+ margin-left: -125px;
63
+ background-color: #c02f2f;
64
+ color: #fff;
65
+ text-align: center;
66
+ border-radius: 2px;
67
+ padding: 16px;
68
+ position: fixed;
69
+ z-index: 1;
70
+ top: 8%;
71
+ right: 30px;
72
+ font-size: 17px;
73
+ }
74
+
75
+ #snackbar.show {
76
+ visibility: visible;
77
+ -webkit-animation: fadein 0.5s, fadeout 0.5s 3.5s;
78
+ animation: fadein 0.5s, fadeout 0.5s 3.5s;
79
+ }
80
+
81
+ @-webkit-keyframes fadein {
82
+ from {right: 0; opacity: 0;}
83
+ to {right: 30px; opacity: 1;}
84
+ }
85
+
86
+ @keyframes fadein {
87
+ from {right: 0; opacity: 0;}
88
+ to {right: 30px; opacity: 1;}
89
+ }
90
+
91
+ @-webkit-keyframes fadeout {
92
+ from {right: 30px; opacity: 1;}
93
+ to {right: 0; opacity: 0;}
94
+ }
95
+
96
+ @keyframes fadeout {
97
+ from {right: 30px; opacity: 1;}
98
+ to {right: 0; opacity: 0;}
99
+ }
100
+ </style>';
101
+
102
+ }
103
+ }
104
+ ?>
105
+ <script>
106
+ //to set heading name
107
+ jQuery('#mo_openid_page_heading').text('<?php echo mo_sl("Create a new Temporary Login"); ?>');
108
+ </script>
109
+ <div class="mo_openid_table_layout">
110
+ <form method="post" >
111
+ <br><br>
112
+ <table >
113
+ <tr >
114
+ <th >
115
+ <label>Email</label>
116
+ </th>
117
+ <td>
118
+ <input class="mo_openid_textfield_css" style="border: 1px solid ;border-color: #0867b2;width: 190%" name="user_email" type="email" required>
119
+ </td>
120
+ </tr>
121
+
122
+ <tr>
123
+ <td><br></td>
124
+ </tr>
125
+
126
+ <tr >
127
+ <th scope="row" >
128
+ <label >First Name</label>
129
+ </th>
130
+ <td>
131
+ <input name="first_name" type="text" id="user_first_name" value="" aria-required="true" style="border: 1px solid ;border-color: #0867b2;width: 190%" class="mo_openid_textfield_css" required>
132
+ </td>
133
+ </tr>
134
+
135
+ <tr>
136
+ <td><br></td>
137
+ </tr>
138
+
139
+ <tr >
140
+ <th scope="row" >
141
+ <label>Last Name</label>
142
+ </th>
143
+ <td>
144
+ <input name="last_name" type="text" id="user_last_name" value="" aria-required="true" style="border: 1px solid ;border-color: #0867b2;width: 190%" class="mo_openid_textfield_css" required>
145
+ </td>
146
+ </tr>
147
+
148
+ <tr>
149
+ <td><br></td>
150
+ </tr>
151
+
152
+ <tr>
153
+ <th>
154
+ <label>Role</label>
155
+ </th>
156
+ <td>
157
+ <select id="roles" name="role" style="margin-left: 2%; color: #000000;width:80%;font-size: 15px; background-color: #d4d7ee">
158
+ <option value="administrator">Administrator</option>
159
+ <option value="subscriber">Subscriber</option>
160
+ <option value="contributor">Contributor</option>
161
+ <option value="author">Author</option>
162
+ <option value="editor">Editor</option>
163
+ </select>
164
+ </td>
165
+ </tr>
166
+
167
+ <tr>
168
+ <td><br></td>
169
+ </tr>
170
+
171
+ <tr>
172
+ <th>
173
+ Expiry
174
+ </th>
175
+ <td>
176
+ <select id="roles" name="expiry" style="margin-left: 2%; color: #000000;width:80%;font-size: 15px; background-color: #d4d7ee">
177
+ <option value="hour">One Hour</option>
178
+ <option value="min">One minute</option>
179
+ <option value="3_hours">Three Hour</option>
180
+ <option value="day">One Day</option>
181
+ <option value="3_days">Three Day</option>
182
+ <option value="week">One Week</option>
183
+ <option value="month">One Month</option>
184
+ </select>
185
+ </td>
186
+ </tr>
187
+
188
+ <tr>
189
+ <td><br></td>
190
+ </tr>
191
+
192
+ <tr class="form-field">
193
+ <th></th>
194
+ <td>
195
+ <?php if(get_option('count_temp_users') <5) { ?>
196
+ <button type="submit" class="button button-primary button-large" name="submit">Submit</button>
197
+ <?php } else { ?>
198
+ <button type="submit" class="button button-primary button-large" disabled>Submit</button> <p style="font-size: smaller; color: darkred;">Please <a href="<?php echo add_query_arg( array('tab' => 'licensing_plans'), $_SERVER['REQUEST_URI'] ); ?>">upgrade</a> your plan to create more temporary users.</p>
199
+ <?php } ?>
200
+ </td>
201
+ </tr>
202
+ </table>
203
+ </div>
204
+ </form>
205
+
206
+ <?php $login_url = esc_url( $login_url );
207
+ if ( ! empty( $login_url ) ) { ?>
208
+
209
+ <div class="mo_succ_notice">
210
+ <p>
211
+ <?php esc_attr_e( "Here's a temporary login link"); ?>
212
+ </p>
213
+ <p>
214
+ <code><?php echo esc_url( $login_url ); ?>
215
+ </code>
216
+ </p>
217
+ <p>
218
+ <?php
219
+ esc_attr_e( 'User can directly login to WordPress admin panel without username and password by opening this link.' );
220
+
221
+ ?>
222
+ </p>
223
+
224
+ </div>
225
+
226
+ <?php }
227
+
228
+ echo '
229
+ <style>
230
+ .styled-table {
231
+ border-collapse: collapse;
232
+ border-radius: 15px;
233
+ margin: 25px 0;
234
+ font-size: 0.9em;
235
+ font-family: sans-serif;
236
+ min-width: 380px;
237
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
238
+ }
239
+ .styled-table thead tr {
240
+ background-color: #009879;
241
+ color: #ffffff;
242
+ text-align: left;
243
+ border-radius: 15px;
244
+ }
245
+ .styled-table th,
246
+ .styled-table td {
247
+ padding: 12px 15px;
248
+ }
249
+ .styled-table tbody tr {
250
+ border-bottom: 1px solid #dddddd;
251
+ }
252
+
253
+ .styled-table tbody tr:nth-of-type(even) {
254
+ background-color: #f3f3f3;
255
+ }
256
+
257
+ .styled-table tbody tr:last-of-type {
258
+ border-bottom: 4px solid #009879;
259
+ }
260
+
261
+ .styled-table tr:hover {
262
+ font-weight: bold;
263
+ color: #009879;
264
+ background-color: #f3f3f3;
265
+ }
266
+ </style>
267
+
268
+ <table class="styled-table">
269
+ <caption><h2>Temporary Users</h2></caption>
270
+ <thead>
271
+ <tr>
272
+ <th >
273
+ Sr No.
274
+ </th>
275
+ <th >
276
+ Email
277
+ </th>
278
+ <th >
279
+ Access URL
280
+ </th>
281
+ <th >
282
+ Expires In
283
+ </th>
284
+ </tr>
285
+ </thead>
286
+ ';
287
+
288
+ global $wpdb;
289
+ $id = $wpdb->get_var($wpdb->prepare("select max(ID) FROM wp_users where %s=%s;",'a','a'));
290
+ $x=0;
291
+ for ($i=1; $i<=$id; $i++) {
292
+ $name=get_user_meta($i, 'nickname', true);
293
+ $login_url=get_user_meta($i, 'temporary_url', true);
294
+ $epoch=get_user_meta($i, 'mo_expire', true);
295
+ $epoch=(int)$epoch;
296
+ $dt = new DateTime("@$epoch"); // convert UNIX timestamp to PHP DateTime
297
+ $tz = new DateTimeZone('Asia/Kolkata');
298
+ $dt->setTimeZone($tz);
299
+ $time= $dt->format('Y-m-d H:i:s');
300
+ //$time=gmdate('r', (int)$epoch);
301
+ if (!$login_url){
302
+ continue;
303
+ }
304
+ $x++;
305
+ echo "<tr> <td > $x <br> </td>";
306
+ echo "<td > $name <br> </td> ";
307
+ echo "<td > <br> <b><code id=$x>".$login_url."</code><i style= \"width: 11px;height: 9px;padding-left:2px;padding-top:3px\" class=\"far fa-fw fa-lg fa-copy mo_copy mo_copytooltip\" onclick=\"copyToClipboard(this, '#$x', '#shortcode_url_copy')\"><span id=\"shortcode_url_copy\" class=\"mo_copytooltiptext\">Copy to Clipboard</span></i></b></td>" ;
308
+ echo "<td > $time IST<br> </td> ";
309
+
310
+ echo "</tr>";
311
+ }
312
+ echo '</table>';
313
+ }