Social Media Share Buttons & Social Sharing Icons - Version 2.6.9

Version Description

  • Update: Banners
  • Fixed: Optimize CSS/JS code
  • Fixed: Some minor fixes
Download this release

Release Info

Developer socialdude
Plugin Icon 128x128 Social Media Share Buttons & Social Sharing Icons
Version 2.6.9
Comparing to
See all releases

Code changes from version 2.6.8 to 2.6.9

css/images/new_intro_icons/any_question.png DELETED
Binary file
css/images/new_intro_icons/background.png DELETED
Binary file
css/sfsi-admin-style.css CHANGED
@@ -129,6 +129,7 @@ body {
129
  color: #1a1d20;
130
  font-family: helveticabold;
131
  font-size: 28px;
 
132
  }
133
  .main_contant p {
134
  padding: 0;
@@ -4103,9 +4104,6 @@ ul.sfsi_tab_3_icns li .radio {
4103
  .supportforum {
4104
  margin-top: 22px;
4105
  }
4106
- .main_contant h1 {
4107
- line-height: 35px;
4108
- }
4109
  #sfpageLoad {
4110
  width: 100% !important;
4111
  left: 0px !important;
@@ -4178,9 +4176,6 @@ ul.sfsi_tab_3_icns li .radio {
4178
  .supportforum {
4179
  margin-top: 22px;
4180
  }
4181
- .main_contant h1 {
4182
- line-height: 35px;
4183
- }
4184
  #sfpageLoad {
4185
  width: 100% !important;
4186
  }
@@ -5353,12 +5348,11 @@ input[type="number"] {
5353
  color: #eee !important;
5354
  }
5355
 
5356
-
5357
  .sfsi_disable_radio .radio{
5358
  background-position: 0px 0px !important;
5359
  opacity: 0.3;
5360
  }
5361
- .sfsi_disable_radio .labelhdng4{
5362
  opacity: 0.3;
5363
  }
5364
  #ui-id-6 .tab6{
@@ -5374,13 +5368,12 @@ input[type="number"] {
5374
  #ui-id-6 .tab6 .sfsi_toggleonlystndrshrng p{
5375
  padding-left:0!important;
5376
  }
5377
- .sfsi-top-banner-higligted-text{
5378
  border: 1px solid green;
5379
  border-radius: 10px;
5380
- padding: 15px!important;
5381
- padding-bottom: 5px !important;
5382
  background: white;
5383
- margin: 0!important;
5384
  }
5385
  .sfsi-top-banner-higligted-text a,.sfsi-top-banner-higligted-text span,.sfsi-top-banner-no-decoration{
5386
  text-decoration:none!important;
@@ -5397,7 +5390,7 @@ text-decoration:none!important;
5397
  color:green;
5398
  padding-right: 5px;
5399
  font-size: 22px;
5400
- top: 4px;
5401
  }
5402
  .sfsi-premium-btn:after{
5403
  border-width: 0.35em 0.45em 0.35em 0;
@@ -5493,165 +5486,6 @@ text-decoration:none!important;
5493
  .usually li{
5494
  font-family: helveticaneue-light;
5495
  }
5496
- /* New intro css */
5497
- /* .sfsi_intro_bg_white{
5498
- background-color: white;
5499
- } */
5500
- .sfsi_intro_section{
5501
- font-family:montserrat-medium;
5502
- background-image: url(images/new_intro_icons/background.png);
5503
- background-repeat: no-repeat, repeat;
5504
- background-position: center;
5505
- background-size: cover;
5506
- }
5507
- .sfsi_new_intro{
5508
- font-size: 17px !important;
5509
- }
5510
-
5511
- .sfsi_intro_sub_heading,.sfsi_intro_section2{
5512
- font-family: montserrat-extrabold !important;
5513
- }
5514
- #sfsi_new_intro_banner_counter,.sfsi_intro_premium_counter_hours,.sfsi_intro_premium_counter_min,.sfsi_intro_premium_counter_sec{
5515
- font-family: montserrat-bold;
5516
- }
5517
- .sfsi_intro_sub_heading{
5518
- margin-bottom: 4px;
5519
- color: black;
5520
- }
5521
-
5522
- .sfsi_intro_button{
5523
- background: #8A4983;
5524
- text-align: center;
5525
- font-size: 23px;
5526
- color: #FFF !important;
5527
- display: block;
5528
- text-decoration: none;
5529
- }
5530
- .sfsi_intro_button a{
5531
- color: #ffffff !important;
5532
- text-decoration: none;
5533
- }
5534
- .sfsi_intro_button a.btn-sm{
5535
- width: 154px;
5536
- }
5537
- .sfsi_intro_button a.btn-lg{
5538
- width: 228px;
5539
- }
5540
- #sfsi_new_intro_banner_counter,.sfsi_intro_premium_counter_hours,.sfsi_intro_premium_counter_min,.sfsi_intro_premium_counter_sec{
5541
- font-size: 36px;
5542
- font-weight: 600;
5543
- margin-top: 8px;
5544
-
5545
- }
5546
-
5547
- .sfsi_into_time_text_bottom span{
5548
- font-size: 11px;
5549
- line-height: 28px;
5550
- opacity: 0.5;
5551
- }
5552
- .sfsi_intro_sub_text {
5553
- line-height: 22px;
5554
- }
5555
- .sfsi_intro_text_section{
5556
- display: flex;
5557
- flex-direction: column;
5558
- justify-content: center;
5559
- }
5560
- .sfsi_intro_images{
5561
- height: 100px;
5562
- }
5563
- .sfsi_intro_btn_go_premium{
5564
- font-family: montserrat-medium;
5565
- width: 100%;
5566
- font-size: 17px;
5567
- text-decoration: none;
5568
- border-radius:0 !important;
5569
- }
5570
- .sfsi_intro_btn_go_premium:hover,.sfsi_intro_btn_question:hover,.sfsi_intro_button a:hover {
5571
- color: #ffffff;
5572
- cursor: pointer;
5573
- }
5574
- .sfsi_intro_btn_question{
5575
- font-family: montserrat-medium;
5576
- width:100%;
5577
- border-radius:0 !important;
5578
- text-decoration: none;
5579
- background-color: #717171 !important;
5580
- border-color: #717171 !important;
5581
- color: white !important;
5582
- margin-bottom: 6px;
5583
- }
5584
- .sfsi_intro_bg_question{
5585
- background-image: url(images/new_intro_icons/any_question.png);
5586
- background-repeat: no-repeat, repeat;
5587
- background-size: cover;
5588
- }
5589
- .sfsi_intro_tooltip {
5590
- display: inline;
5591
- position: relative;
5592
- }
5593
- .sfsi_intro_tooltip:hover:after{
5594
- display: -webkit-flex;
5595
- display: flex;
5596
- -webkit-justify-content: center;
5597
- justify-content: center;
5598
- background: #444;
5599
- border-radius: 8px;
5600
- color: #fff;
5601
- content: attr(custom-title);
5602
- margin: -230px auto 0;
5603
- font-size: 12px;
5604
- padding: 13px;
5605
- width: 248px;
5606
- }
5607
- .sfsi_intro_tooltip:hover:before{
5608
- border: solid;
5609
- border-color: #444 transparent;
5610
- border-width: 12px 6px 0 6px;
5611
- content: "";
5612
- left: 45%;
5613
- bottom: 14px;
5614
- position: absolute;
5615
- }
5616
- #sfsi_intro_btn_show_intro_id{
5617
- cursor: pointer;
5618
- color:#28a745;
5619
- font-size:17px;
5620
- display: inline;
5621
- font-family: montserrat-medium;
5622
- }
5623
- .sfsi_into_text_bold{
5624
- font-family: montserrat-extrabold !important;
5625
- }
5626
- .text-success-new{
5627
- color: #05C680 !important;
5628
- }
5629
- .btn-success-new{
5630
- color: white !important;
5631
- background-color: #05C680 !important;
5632
- border-color: #05C680 !important;
5633
- margin-bottom: 6px;
5634
- }
5635
- /* End New intro css */
5636
- .sfsi_intro_premium_counter_hours::after,.sfsi_intro_premium_counter_min::after {
5637
- content: ":";
5638
- margin-right: 10px;
5639
- margin-left: 10px;
5640
- }
5641
- .sfsi_intro_bg_xxl_white{
5642
- background-color: white;
5643
- }
5644
-
5645
- @media (min-width:950px) and (max-width:1312px) {
5646
- .sfsi_intro_premium_counter_hours::after,.sfsi_intro_premium_counter_min::after {
5647
- content: ":";
5648
- margin-right: 0px !important;
5649
- margin-left: 0px !important;
5650
- }
5651
- .sfsi_into_time_text_bottom_counter {
5652
- width: 81px;
5653
- }
5654
- }
5655
 
5656
  div#analyst-install-modal * {
5657
  box-sizing: unset;
@@ -6809,4 +6643,249 @@ ul.sfsi_icn_listing8.sfsi_closerli.popupDesktopMobileUl li label {
6809
  .tab7 .popup_containter {
6810
  margin-left: 62px;
6811
  width: 95%;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6812
  }
129
  color: #1a1d20;
130
  font-family: helveticabold;
131
  font-size: 28px;
132
+ line-height: 35px;
133
  }
134
  .main_contant p {
135
  padding: 0;
4104
  .supportforum {
4105
  margin-top: 22px;
4106
  }
 
 
 
4107
  #sfpageLoad {
4108
  width: 100% !important;
4109
  left: 0px !important;
4176
  .supportforum {
4177
  margin-top: 22px;
4178
  }
 
 
 
4179
  #sfpageLoad {
4180
  width: 100% !important;
4181
  }
5348
  color: #eee !important;
5349
  }
5350
 
 
5351
  .sfsi_disable_radio .radio{
5352
  background-position: 0px 0px !important;
5353
  opacity: 0.3;
5354
  }
5355
+ .sfsi_disable_radio .labelhdng4{
5356
  opacity: 0.3;
5357
  }
5358
  #ui-id-6 .tab6{
5368
  #ui-id-6 .tab6 .sfsi_toggleonlystndrshrng p{
5369
  padding-left:0!important;
5370
  }
5371
+ .main_contant p.sfsi-top-banner-higligted-text {
5372
  border: 1px solid green;
5373
  border-radius: 10px;
5374
+ padding: 15px;
 
5375
  background: white;
5376
+ margin: 0;
5377
  }
5378
  .sfsi-top-banner-higligted-text a,.sfsi-top-banner-higligted-text span,.sfsi-top-banner-no-decoration{
5379
  text-decoration:none!important;
5390
  color:green;
5391
  padding-right: 5px;
5392
  font-size: 22px;
5393
+ top: 2px;
5394
  }
5395
  .sfsi-premium-btn:after{
5396
  border-width: 0.35em 0.45em 0.35em 0;
5486
  .usually li{
5487
  font-family: helveticaneue-light;
5488
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5489
 
5490
  div#analyst-install-modal * {
5491
  box-sizing: unset;
6643
  .tab7 .popup_containter {
6644
  margin-left: 62px;
6645
  width: 95%;
6646
+ }
6647
+
6648
+ /* Footer banner */
6649
+ .sfsi-footer-container {
6650
+ margin: 0 auto;
6651
+ text-align: center;
6652
+ width: 100%;
6653
+ display: inline-flex;
6654
+ justify-content: center;
6655
+ }
6656
+
6657
+ .sfsi-footer-pointing-to-premium-plugin {
6658
+ float: left;
6659
+ background: #fff;
6660
+ padding: 33px 0px;
6661
+ color: #414951 !important;
6662
+ width: 75%;
6663
+ margin-left: 10px;
6664
+ }
6665
+
6666
+ .sfsi-footer-pointing-heading {
6667
+ margin-top: 40px;
6668
+ text-align: center;
6669
+ padding-bottom: 15px;
6670
+ }
6671
+
6672
+ .sfsi-footer-pointing-heading p {
6673
+ font-size: 23px;
6674
+ font-weight: 600;
6675
+ }
6676
+
6677
+ .sfsi-footer-pointing-heading .sfsi-green-heading {
6678
+ color: #12a252;
6679
+ }
6680
+
6681
+ .sfsi-footer-pointing-content {
6682
+ display: flex;
6683
+ justify-content: center;
6684
+ flex-wrap: wrap;
6685
+ }
6686
+
6687
+ .sfsi-footer-left-section {
6688
+ width: 57%;
6689
+ position: relative;
6690
+ min-height: 1px;
6691
+ float: left;
6692
+ padding-right: 15px;
6693
+ padding-left: 15px;
6694
+ margin-left: 15px;
6695
+ }
6696
+
6697
+ .sfsi-footer-right-section {
6698
+ width: 34%;
6699
+ position: relative;
6700
+ min-height: 1px;
6701
+ float: left;
6702
+ padding-right: 15px;
6703
+ padding-left: 15px;
6704
+ text-align: center;
6705
+ }
6706
+
6707
+ .sfsi-equal-col-md-6 {
6708
+ width: 50%;
6709
+ position: relative;
6710
+ min-height: 1px;
6711
+ float: left;
6712
+ }
6713
+
6714
+ .sfsi-left-image-section {
6715
+ width: 52px;
6716
+ display: inline-block;
6717
+ text-align: center;
6718
+ height: 43px;
6719
+ vertical-align: middle;
6720
+ }
6721
+
6722
+ .sfsi-li-right-content {
6723
+ text-align: left;
6724
+ padding-left: 25px;
6725
+ font-size: 16px;
6726
+ font-weight: 600;
6727
+ vertical-align: middle;
6728
+ width: calc(100% - 95px);
6729
+ display: inline-block;
6730
+ }
6731
+
6732
+ .sfsi-footer-left-section ul li:not(:last-child) {
6733
+ margin-bottom: 20px;
6734
+ }
6735
+
6736
+ .sfsi-checkout-premium-plugin-button {
6737
+ font-size: 18px;
6738
+ text-align: center;
6739
+ background: #12a252;
6740
+ color: #FFF !important;
6741
+ padding: 11px 30px;
6742
+ text-decoration: none;
6743
+ display: inline-block;
6744
+ margin-top: 15px;
6745
+ font-weight: 700;
6746
+ }
6747
+
6748
+ .so-much-more {
6749
+ float: left;
6750
+ width: 100%;
6751
+ text-align: center;
6752
+ font-size: 17px;
6753
+ margin-top: 28px !important;
6754
+ font-weight: 700 !important;
6755
+ }
6756
+
6757
+ .so-much-more a {
6758
+ color: #12a252;
6759
+ }
6760
+
6761
+ .sfsi-footer-bottom-text {
6762
+ float: left;
6763
+ width: 99%;
6764
+ text-align: center;
6765
+ color: #414951 !important;
6766
+ padding-top: 15px !important;
6767
+ }
6768
+
6769
+ .sfsi-footer-bottom-text p {
6770
+ font-size: 18px;
6771
+ }
6772
+
6773
+ @media(min-width: 320px) and (max-width: 480px) {
6774
+
6775
+ .sfsi-footer-bottom-text {
6776
+ display: inline-block;
6777
+ float: left !important;
6778
+ width: 100% !important;
6779
+ }
6780
+ }
6781
+
6782
+ @media (min-width: 320px) and (max-width: 767px) {
6783
+ .sfsi-equal-col-xs-12 {
6784
+ width: 100%;
6785
+ }
6786
+
6787
+ .sfsi-footer-left-section {
6788
+ width: 76%;
6789
+ }
6790
+
6791
+ .sfsi-footer-right-section {
6792
+ width: 88%;
6793
+ padding-top: 30px;
6794
+ }
6795
+
6796
+ .sfsi-right-video iframe {
6797
+ height: 125px;
6798
+ }
6799
+
6800
+ .sfsi-checkout-premium-plugin-button {
6801
+ font-size: 16px;
6802
+ }
6803
+
6804
+ .sfsi-footer-bottom-text {
6805
+ float: unset !important;
6806
+ width: 65%;
6807
+ margin-left: auto;
6808
+ margin-right: auto;
6809
+ }
6810
+ }
6811
+
6812
+ @media(min-width: 768px) and (max-width: 1023px) {
6813
+
6814
+ .sfsi-footer-left-section {
6815
+ width: 95%;
6816
+ }
6817
+
6818
+ .sfsi-footer-right-section {
6819
+ width: 95%;
6820
+ margin-top: 20px;
6821
+ }
6822
+
6823
+ .sfsi-footer-pointing-heading p {
6824
+ font-size: 20px;
6825
+ }
6826
+ }
6827
+
6828
+ @media(min-width: 1024px) and (max-width: 1032px) {
6829
+ .sfsi-footer-container {
6830
+ width: 100%;
6831
+ }
6832
+
6833
+ .sfsi-footer-left-section {
6834
+ width: 56%;
6835
+ margin-left: 0px !important;
6836
+ }
6837
+
6838
+ .sfsi-footer-right-section {
6839
+ width: 34%;
6840
+ }
6841
+ }
6842
+
6843
+ @media(min-width: 1033px) and (max-width: 1050px) {
6844
+ .sfsi-footer-left-section {
6845
+ width: 56%;
6846
+ }
6847
+
6848
+ .sfsi-footer-right-section {
6849
+ width: 35%;
6850
+ }
6851
+ }
6852
+
6853
+ @media(min-width: 1051px) and (max-width: 1115px) {
6854
+ .sfsi-footer-left-section {
6855
+ width: 52%;
6856
+ }
6857
+
6858
+ .sfsi-footer-right-section {
6859
+ width: 39%;
6860
+ }
6861
+ }
6862
+
6863
+ @media(min-width: 1116px) and (max-width: 1223px) {
6864
+ .sfsi-footer-left-section {
6865
+ width: 52%;
6866
+ }
6867
+
6868
+ .sfsi-footer-right-section {
6869
+ width: 40%;
6870
+ }
6871
+ }
6872
+
6873
+ @media(min-width: 1224px) and (max-width: 1347px) {
6874
+ .sfsi-footer-left-section {
6875
+ width: 50%;
6876
+ }
6877
+
6878
+ .sfsi-footer-right-section {
6879
+ width: 43%;
6880
+ }
6881
+ }
6882
+
6883
+ @media(min-width: 1348px) and (max-width: 2300px) {
6884
+ .sfsi-footer-left-section {
6885
+ width: 51%;
6886
+ }
6887
+
6888
+ .sfsi-footer-right-section {
6889
+ width: 40%;
6890
+ }
6891
  }
css/sfsi-style.css CHANGED
@@ -1276,7 +1276,7 @@ ul.icn_listing li .right_info a {
1276
  }
1277
 
1278
  .main_contant h1 {
1279
- margin: 0 0 23px;
1280
  }
1281
 
1282
  .main_contant p {
1276
  }
1277
 
1278
  .main_contant h1 {
1279
+ margin: 0 0 18px;
1280
  }
1281
 
1282
  .main_contant p {
images/new_intro_icons/background.png DELETED
Binary file
images/new_intro_icons/discount.png DELETED
Binary file
images/new_intro_icons/get_started.png DELETED
Binary file
images/new_intro_icons/popup.png DELETED
Binary file
js/custom-admin.js CHANGED
@@ -262,64 +262,6 @@ function sfsi_newcustomicon_upload(s, nonce, nonce2) {
262
  }
263
  });
264
  }
265
- function sfsi_intro_banner_hide() {
266
- var nonce = SFSI("#sfsi_intro_btn_show_intro_id").attr("data-nonce");
267
- var d = true,
268
- I = {
269
- action: "introHide",
270
- sfsi_display_section: d,
271
- nonce: nonce
272
- };
273
- SFSI.ajax({
274
- url: sfsi_icon_ajax_object.ajax_url,
275
- type: "post",
276
- data: I,
277
- async: !0,
278
- dataType: "json",
279
- success: function (i) {
280
- if (i == "wrong_nonce") {
281
- showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 1);
282
- s = !1;
283
- afterLoad();
284
- } else {
285
- if("success" == i){
286
- SFSI(".sfsi_new_intro").show();
287
- console.log(SFSI("#sfsi_intro_btn_show_intro_id").hide(),'sdnfkndsf');
288
- SFSI("#sfsi_intro_btn_show_intro_id").hide()
289
- }
290
- }
291
- }
292
- });
293
- }
294
- function sfsi_intro_banner_show() {
295
- var nonce = SFSI("#sfsi_intro_btn_ok_got_it_id").attr("data-nonce");
296
- var d = false,
297
- I = {
298
- action: "introshow",
299
- sfsi_display_section: d,
300
- nonce: nonce
301
- };
302
- SFSI.ajax({
303
- url: sfsi_icon_ajax_object.ajax_url,
304
- type: "post",
305
- data: I,
306
- async: !0,
307
- dataType: "json",
308
- success: function (i) {
309
- if (i == "wrong_nonce") {
310
- showErrorSuc("error", "Unauthorised Request, Try again after refreshing page", 1);
311
- s = !1;
312
- afterLoad();
313
- } else {
314
- if("success" == i){
315
- SFSI(".sfsi_intro_section2").show();
316
- SFSI(".sfsi_new_intro").hide();
317
- SFSI("#sfsi_intro_btn_show_intro_id").show();
318
- }
319
- }
320
- }
321
- });
322
- }
323
 
324
  function sfsi_update_step1() {
325
  var nonce = SFSI("#sfsi_save1").attr("data-nonce");
@@ -2487,12 +2429,6 @@ SFSI(document).ready(function (s) {
2487
  SFSI("#sfsi_banner_global_upgrade").on("click", function () {
2488
  sfsi_banner_global_upgrade_save();
2489
  }),
2490
- SFSI("#sfsi_intro_btn_show_intro_id").on("click", function () {
2491
- sfsi_intro_banner_hide();
2492
- }),
2493
- SFSI("#sfsi_intro_btn_ok_got_it_id").on("click", function () {
2494
- sfsi_intro_banner_show();
2495
- }),
2496
  SFSI("#save_all_settings").on("click", function () {
2497
  return SFSI("#save_all_settings").text("Saving.."), SFSI(".save_button >a").css("pointer-events", "none"),
2498
  sfsi_update_step1(), sfsi_update_step8(), 1 == global_error ? (showErrorSuc("error", 'Some Selection error in "Which icons do you want to show on your site?" tab.', 8),
262
  }
263
  });
264
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
265
 
266
  function sfsi_update_step1() {
267
  var nonce = SFSI("#sfsi_save1").attr("data-nonce");
2429
  SFSI("#sfsi_banner_global_upgrade").on("click", function () {
2430
  sfsi_banner_global_upgrade_save();
2431
  }),
 
 
 
 
 
 
2432
  SFSI("#save_all_settings").on("click", function () {
2433
  return SFSI("#save_all_settings").text("Saving.."), SFSI(".save_button >a").css("pointer-events", "none"),
2434
  sfsi_update_step1(), sfsi_update_step8(), 1 == global_error ? (showErrorSuc("error", 'Some Selection error in "Which icons do you want to show on your site?" tab.', 8),
libs/controllers/sfsi_buttons_controller.php CHANGED
@@ -66,39 +66,7 @@ function sfsi_options_updater1()
66
  echo json_encode(array("success"));
67
  exit;
68
  }
69
- add_action('wp_ajax_introHide', 'sfsi_new_intro_banner_hide');
70
- function sfsi_new_intro_banner_hide()
71
- {
72
- if (!wp_verify_nonce($_POST['nonce'], "hide_intro")) {
73
- echo json_encode(array("wrong_nonce"));
74
- exit;
75
- }
76
- $up_hide_option = array(
77
- 'sfsi_display_section' => true,
78
- 'sfsi_display_section2' => true,
79
- );
80
- update_option('sfsi_new_intro_banner_hide_option', serialize($up_hide_option));
81
- header('Content-Type: application/json');
82
- echo json_encode(array("success"));
83
- exit;
84
- }
85
 
86
- add_action('wp_ajax_introshow', 'sfsi_new_intro_banner_show');
87
- function sfsi_new_intro_banner_show()
88
- {
89
- if (!wp_verify_nonce($_POST['nonce'], "show_intro")) {
90
- echo json_encode(array("wrong_nonce"));
91
- exit;
92
- }
93
- $up_hide_option = array(
94
- 'sfsi_display_section' => $_POST["sfsi_display_section"],
95
- 'sfsi_display_section2' => true,
96
- );
97
- update_option('sfsi_new_intro_banner_hide_option', serialize($up_hide_option));
98
- header('Content-Type: application/json');
99
- echo json_encode(array("success"));
100
- exit;
101
- }
102
  /* save settings for section 2 */
103
  add_action('wp_ajax_updateSrcn2', 'sfsi_options_updater2');
104
  function sfsi_options_updater2()
66
  echo json_encode(array("success"));
67
  exit;
68
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  /* save settings for section 2 */
71
  add_action('wp_ajax_updateSrcn2', 'sfsi_options_updater2');
72
  function sfsi_options_updater2()
libs/sfsi_install_uninstall.php CHANGED
@@ -990,12 +990,7 @@ function sfsi_update_plugin()
990
  if (get_option('sfsi_showNextBannerDate') == "21 day") {
991
  update_option('sfsi_showNextBannerDate', '14 day');
992
  }
993
- $up_hide_option =array(
994
- 'sfsi_display_section' => 'true',
995
- 'sfsi_display_section2' => 'false',
996
- );
997
- add_option('sfsi_new_intro_banner_hide_option', serialize($up_hide_option));
998
-
999
  add_option('sfsi_cycleDate', "180 day");
1000
  add_option('sfsi_loyaltyDate', "180 day");
1001
  if (!get_option('sfsi_fb_count')) {
@@ -1493,17 +1488,9 @@ function sfsi_activate_plugin()
1493
  add_option('sfsi_cycleDate', "180 day");
1494
  add_option('sfsi_loyaltyDate', "180 day");
1495
 
1496
-
1497
-
1498
  add_option('sfsi_RatingDiv', 'no');
1499
  add_option('sfsi_footer_sec', 'no');
1500
 
1501
- $up_hide_option =array(
1502
- 'sfsi_display_section' => 'true',
1503
- 'sfsi_display_section2' => 'false',
1504
- );
1505
- add_option('sfsi_new_intro_banner_hide_option', serialize($up_hide_option));
1506
-
1507
  update_option('sfsi_activate', 1);
1508
 
1509
  $sfsi_dismiss_sharecount = maybe_unserialize(get_option('sfsi_dismiss_sharecount'));
@@ -1789,9 +1776,6 @@ function sfsi_Unistall_plugin()
1789
  delete_option("sfsi_fb_count");
1790
  delete_option("sfsi_banner_popups");
1791
  delete_option("sfsi_dismiss_copy_delete_post");
1792
-
1793
- delete_option("sfsi_new_intro_banner_hide_option");
1794
-
1795
  }
1796
  /* end function */
1797
 
990
  if (get_option('sfsi_showNextBannerDate') == "21 day") {
991
  update_option('sfsi_showNextBannerDate', '14 day');
992
  }
993
+
 
 
 
 
 
994
  add_option('sfsi_cycleDate', "180 day");
995
  add_option('sfsi_loyaltyDate', "180 day");
996
  if (!get_option('sfsi_fb_count')) {
1488
  add_option('sfsi_cycleDate', "180 day");
1489
  add_option('sfsi_loyaltyDate', "180 day");
1490
 
 
 
1491
  add_option('sfsi_RatingDiv', 'no');
1492
  add_option('sfsi_footer_sec', 'no');
1493
 
 
 
 
 
 
 
1494
  update_option('sfsi_activate', 1);
1495
 
1496
  $sfsi_dismiss_sharecount = maybe_unserialize(get_option('sfsi_dismiss_sharecount'));
1776
  delete_option("sfsi_fb_count");
1777
  delete_option("sfsi_banner_popups");
1778
  delete_option("sfsi_dismiss_copy_delete_post");
 
 
 
1779
  }
1780
  /* end function */
1781
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: socialdude, socialtech
3
  Tags: share, pop up, popup, share icons, share buttons, social media, social, popups, sharing icons, sharing buttons, social share, sharing
4
  Requires at least: 3.5
5
  Tested up to: 5.8.2
6
- Stable tag: 2.6.8
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -276,6 +276,11 @@ You cannot use the same plugin twice, however you can install both the USM as we
276
 
277
 
278
  == Changelog ==
 
 
 
 
 
279
  = 2.6.8 =
280
  * New: Added Snapchat, Reddit, Facebook Messenger, TikTok sharing platform.
281
  * New: Added VK sharing option in Q2
@@ -1007,5 +1012,5 @@ You cannot use the same plugin twice, however you can install both the USM as we
1007
 
1008
  == Upgrade Notice ==
1009
 
1010
- = 2.6.8 =
1011
  Please upgrade
3
  Tags: share, pop up, popup, share icons, share buttons, social media, social, popups, sharing icons, sharing buttons, social share, sharing
4
  Requires at least: 3.5
5
  Tested up to: 5.8.2
6
+ Stable tag: 2.6.9
7
  License: GPLv2
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
276
 
277
 
278
  == Changelog ==
279
+ = 2.6.9 =
280
+ * Update: Banners
281
+ * Fixed: Optimize CSS/JS code
282
+ * Fixed: Some minor fixes
283
+
284
  = 2.6.8 =
285
  * New: Added Snapchat, Reddit, Facebook Messenger, TikTok sharing platform.
286
  * New: Added VK sharing option in Q2
1012
 
1013
  == Upgrade Notice ==
1014
 
1015
+ = 2.6.9 =
1016
  Please upgrade
ultimate_social_media_icons.php CHANGED
@@ -7,7 +7,7 @@ Author: UltimatelySocial
7
  Author URI: http://ultimatelysocial.com
8
  Text Domain: ultimate-social-media-icons
9
  Domain Path: /languages
10
- Version: 2.6.8
11
  License: GPLv2 or later
12
  */
13
  require_once 'analyst/main.php';
@@ -22,7 +22,7 @@ analyst_init(array(
22
  sfsi_error_reporting();
23
  global $wpdb;
24
  /* define the Root for URL and Document */
25
- define( 'SFSI_PLUGIN_VERSION', '2.6.8' );
26
  define('SFSI_DOCROOT', dirname(__FILE__));
27
 
28
  define('SFSI_PLUGURL', plugin_dir_url(__FILE__));
7
  Author URI: http://ultimatelysocial.com
8
  Text Domain: ultimate-social-media-icons
9
  Domain Path: /languages
10
+ Version: 2.6.9
11
  License: GPLv2 or later
12
  */
13
  require_once 'analyst/main.php';
22
  sfsi_error_reporting();
23
  global $wpdb;
24
  /* define the Root for URL and Document */
25
+ define( 'SFSI_PLUGIN_VERSION', '2.6.9' );
26
  define('SFSI_DOCROOT', dirname(__FILE__));
27
 
28
  define('SFSI_PLUGURL', plugin_dir_url(__FILE__));
views/sfsi_option_view1.php CHANGED
@@ -5,80 +5,28 @@
5
  $option1 = maybe_unserialize(get_option('sfsi_section1_options', false));
6
 
7
  /*
8
- * Sanitize, escape and validate values
9
- */
10
-
11
- $option1['sfsi_rss_display'] = (isset($option1['sfsi_rss_display']))
12
-
13
- ? sanitize_text_field($option1['sfsi_rss_display'])
14
-
15
- : 'yes';
16
-
17
- $option1['sfsi_email_display'] = (isset($option1['sfsi_email_display']))
18
- ? sanitize_text_field($option1['sfsi_email_display'])
19
- : 'yes';
20
- $option1['sfsi_facebook_display'] = (isset($option1['sfsi_facebook_display']))
21
- ? sanitize_text_field($option1['sfsi_facebook_display'])
22
- : 'yes';
23
-
24
- $option1['sfsi_twitter_display'] = (isset($option1['sfsi_twitter_display']))
25
- ? sanitize_text_field($option1['sfsi_twitter_display'])
26
- : 'yes';
27
- $option1['sfsi_youtube_display'] = (isset($option1['sfsi_youtube_display']))
28
-
29
- ? sanitize_text_field($option1['sfsi_youtube_display'])
30
-
31
- : 'no';
32
-
33
- $option1['sfsi_pinterest_display'] = (isset($option1['sfsi_pinterest_display']))
34
- ? sanitize_text_field($option1['sfsi_pinterest_display'])
35
- : 'no';
36
-
37
- $option1['sfsi_telegram_display'] = (isset($option1['sfsi_telegram_display']))
38
- ? sanitize_text_field($option1['sfsi_telegram_display'])
39
- : 'no';
40
-
41
- $option1['sfsi_vk_display'] = (isset($option1['sfsi_vk_display']))
42
- ? sanitize_text_field($option1['sfsi_vk_display'])
43
- : 'no';
44
-
45
- $option1['sfsi_ok_display'] = (isset($option1['sfsi_ok_display']))
46
- ? sanitize_text_field($option1['sfsi_ok_display'])
47
- : 'no';
48
-
49
- $option1['sfsi_wechat_display'] = (isset($option1['sfsi_wechat_display']))
50
- ? sanitize_text_field($option1['sfsi_wechat_display'])
51
- : 'no';
52
-
53
- $option1['sfsi_weibo_display'] = (isset($option1['sfsi_weibo_display']))
54
- ? sanitize_text_field($option1['sfsi_weibo_display'])
55
- : 'no';
56
-
57
- $option1['sfsi_linkedin_display'] = (isset($option1['sfsi_linkedin_display']))
58
- ? sanitize_text_field($option1['sfsi_linkedin_display'])
59
- : 'no';
60
-
61
- $option1['sfsi_instagram_display'] = (isset($option1['sfsi_instagram_display']))
62
- ? sanitize_text_field($option1['sfsi_instagram_display'])
63
- : 'no';
64
- $option1['sfsi_whatsapp_display'] = (isset($option1['sfsi_whatsapp_display']))
65
- ? sanitize_text_field($option1['sfsi_whatsapp_display'])
66
- : 'no';
67
-
68
- $option1['sfsi_snapchat_display'] = (isset($option1['sfsi_snapchat_display']))
69
- ? sanitize_text_field($option1['sfsi_snapchat_display'])
70
- : 'no';
71
- $option1['sfsi_reddit_display'] = (isset($option1['sfsi_reddit_display']))
72
- ? sanitize_text_field($option1['sfsi_reddit_display'])
73
- : 'no';
74
- $option1['sfsi_fbmessenger_display'] = (isset($option1['sfsi_fbmessenger_display']))
75
- ? sanitize_text_field($option1['sfsi_fbmessenger_display'])
76
- : 'no';
77
- $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
78
- ? sanitize_text_field($option1['sfsi_tiktok_display'])
79
- : 'no';
80
  ?>
81
-
82
  <!-- Section 1 "Which icons do you want to show on your site? " main div Start -->
83
 
84
  <div class="tab1">
@@ -93,7 +41,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
93
  <li class="gary_bg">
94
 
95
  <div class="radio_section tb_4_ck">
96
- <input name="sfsi_rss_display" <?php echo ($option1['sfsi_rss_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_rss_display" type="checkbox" value="yes" class="styled" />
97
 
98
  </div>
99
 
@@ -118,7 +66,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
118
  <li class="gary_bg">
119
  <div class="radio_section tb_4_ck">
120
 
121
- <input name="sfsi_email_display" <?php echo ($option1['sfsi_email_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_email_display" type="checkbox" value="yes" class="styled" />
122
 
123
  </div>
124
 
@@ -154,7 +102,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
154
 
155
  <li class="gary_bg">
156
 
157
- <div class="radio_section tb_4_ck"><input name="sfsi_facebook_display" <?php echo ($option1['sfsi_facebook_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_facebook_display" type="checkbox" value="yes" class="styled" /></div>
158
 
159
  <span class="sfsicls_facebook"><?php _e('Facebook','ultimate-social-media-icons') ?></span>
160
 
@@ -178,7 +126,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
178
 
179
  <li class="gary_bg">
180
 
181
- <div class="radio_section tb_4_ck"><input name="sfsi_twitter_display" <?php echo ($option1['sfsi_twitter_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_twitter_display" type="checkbox" value="yes" class="styled" /></div>
182
 
183
  <span class="sfsicls_twt"><?php _e('Twitter','ultimate-social-media-icons') ?></span>
184
 
@@ -201,7 +149,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
201
 
202
  <li class="sfsi_vertically_center">
203
  <div>
204
- <div class="radio_section tb_4_ck"><input name="sfsi_youtube_display" <?php echo ($option1['sfsi_youtube_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_youtube_display" type="checkbox" value="yes" class="styled" /></div>
205
  <span class="sfsicls_utube"><?php _e('Youtube','ultimate-social-media-icons') ?></span>
206
  </div>
207
  <div class="right_info">
@@ -214,7 +162,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
214
  <!-- LINKEDIN ICON -->
215
  <li class="sfsi_vertically_center">
216
  <div>
217
- <div class="radio_section tb_4_ck"><input name="sfsi_linkedin_display" <?php echo ($option1['sfsi_linkedin_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_linkedin_display" type="checkbox" value="yes" class="styled" /></div>
218
 
219
  <span class="sfsicls_linkdin"><?php _e('LinkedIn','ultimate-social-media-icons') ?></span>
220
  </div>
@@ -231,7 +179,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
231
  <!-- PINTEREST ICON -->
232
  <li class="sfsi_vertically_center">
233
  <div>
234
- <div class="radio_section tb_4_ck"><input name="sfsi_pinterest_display" <?php echo ($option1['sfsi_pinterest_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_pinterest_display" type="checkbox" value="yes" class="styled" /></div>
235
 
236
  <span class="sfsicls_pinterest"><?php _e('Pinterest','ultimate-social-media-icons') ?></span>
237
 
@@ -249,7 +197,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
249
  <!-- INSTAGRAM ICON -->
250
  <li class="sfsi_vertically_center">
251
  <div>
252
- <div class="radio_section tb_4_ck"><input name="sfsi_instagram_display" <?php echo ($option1['sfsi_instagram_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_instagram_display" type="checkbox" value="yes" class="styled" /></div>
253
 
254
  <span class="sfsicls_instagram"><?php _e('Instagram','ultimate-social-media-icons') ?></span>
255
 
@@ -266,7 +214,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
266
  <!-- WHATSAPP ICON -->
267
  <li class="sfsi_vertically_center">
268
  <div>
269
- <div class="radio_section tb_4_ck"><input name="sfsi_whatsapp_display" <?php echo ($option1['sfsi_whatsapp_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_whatsapp_display" type="checkbox" value="yes" class="styled" /></div>
270
 
271
  <span class="sfsicls_whatsapp"><?php _e('WhatsApp','ultimate-social-media-icons') ?></span>
272
  </div>
@@ -281,7 +229,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
281
  <!-- TELEGRAM ICON -->
282
  <li class="sfsi_vertically_center">
283
  <div>
284
- <div class="radio_section tb_4_ck"><input name="sfsi_telegram_display" <?php echo ($option1['sfsi_telegram_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_telegram_display" type="checkbox" value="yes" class="styled" /></div>
285
 
286
  <span class="sfsicls_telegram"><?php _e('Telegram','ultimate-social-media-icons') ?></span>
287
 
@@ -299,7 +247,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
299
  <!-- VK ICON -->
300
  <li class="sfsi_vertically_center">
301
  <div>
302
- <div class="radio_section tb_4_ck"><input name="sfsi_vk_display" <?php echo ($option1['sfsi_vk_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_vk_display" type="checkbox" value="yes" class="styled" /></div>
303
 
304
  <span class="sfsicls_vk"><?php _e('VK','ultimate-social-media-icons') ?></span>
305
  </div>
@@ -316,7 +264,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
316
  <li class="sfsi_vertically_center">
317
  <div>
318
 
319
- <div class="radio_section tb_4_ck"><input name="sfsi_ok_display" <?php echo ($option1['sfsi_ok_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_ok_display" type="checkbox" value="yes" class="styled" /></div>
320
 
321
  <span class="sfsicls_ok"><?php _e('Ok','ultimate-social-media-icons') ?></span>
322
 
@@ -334,7 +282,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
334
  <!-- WECHAT ICON -->
335
  <li class="sfsi_vertically_center">
336
  <div>
337
- <div class="radio_section tb_4_ck"><input name="sfsi_wechat_display" <?php echo ($option1['sfsi_wechat_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_wechat_display" type="checkbox" value="yes" class="styled" /></div>
338
 
339
  <span class="sfsicls_wechat"><?php _e('WeChat','ultimate-social-media-icons') ?></span>
340
  </div>
@@ -350,7 +298,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
350
  <li class="sfsi_vertically_center">
351
  <div>
352
 
353
- <div class="radio_section tb_4_ck"><input name="sfsi_weibo_display" <?php echo ($option1['sfsi_weibo_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_weibo_display" type="checkbox" value="yes" class="styled" /></div>
354
 
355
  <span class="sfsicls_weibo"><?php _e('Weibo','ultimate-social-media-icons') ?></span>
356
 
@@ -368,7 +316,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
368
  <!-- SNAPCHAT ICON -->
369
  <li class="sfsi_vertically_center">
370
  <div>
371
- <div class="radio_section tb_4_ck"><input name="sfsi_snapchat_display" <?php echo ($option1['sfsi_snapchat_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_snapchat_display" type="checkbox" value="yes" class="styled" /></div>
372
  <span class="sfsicls_snapchat"><?php _e( 'Snapchat', 'ultimate-social-media-icons' ); ?></span>
373
  </div>
374
  <div class="right_info">
@@ -380,7 +328,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
380
  <!-- REDDIT ICON -->
381
  <li class="sfsi_vertically_center">
382
  <div>
383
- <div class="radio_section tb_4_ck"><input name="sfsi_reddit_display" <?php echo ($option1['sfsi_reddit_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_reddit_display" type="checkbox" value="yes" class="styled" /></div>
384
  <span class="sfsicls_reddit"><?php _e( 'Reddit', 'ultimate-social-media-icons' ); ?></span>
385
  </div>
386
  <div class="right_info">
@@ -392,7 +340,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
392
  <!-- FACEBOOK MESSENGER ICON -->
393
  <li class="sfsi_vertically_center">
394
  <div>
395
- <div class="radio_section tb_4_ck"><input name="sfsi_fbmessenger_display" <?php echo ($option1['sfsi_fbmessenger_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_fbmessenger_display" type="checkbox" value="yes" class="styled" /></div>
396
  <span class="sfsicls_fbmessenger"><?php _e( 'Facebook Messenger', 'ultimate-social-media-icons' ); ?></span>
397
  </div>
398
  <div class="right_info">
@@ -404,7 +352,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
404
  <!-- TIKTOK ICON -->
405
  <li class="sfsi_vertically_center">
406
  <div>
407
- <div class="radio_section tb_4_ck"><input name="sfsi_tiktok_display" <?php echo ($option1['sfsi_tiktok_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_tiktok_display" type="checkbox" value="yes" class="styled" /></div>
408
  <span class="sfsicls_tiktok"><?php _e( 'TikTok', 'ultimate-social-media-icons' ); ?></span>
409
  </div>
410
  <div class="right_info">
@@ -454,8 +402,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
454
  </div>
455
 
456
  <span class="custom-img" style="opacity:0.5">
457
- <img src="<?php echo SFSI_PLUGURL . 'images/custom.png'; ?>" id="CImg_<?php echo $new_element; ?> " alt="error" />
458
-
459
  </span>
460
 
461
  <span class="custom custom-txt" style="font-weight:normal;opacity:0.5;margin-left:4px"><?php _e('Custom Icon ','ultimate-social-media-icons') ?> </span>
@@ -757,7 +704,7 @@ $option1['sfsi_tiktok_display'] = (isset($option1['sfsi_tiktok_display']))
757
 
758
  <div class="save_button tab_1_sav">
759
 
760
- <img src="<?php echo SFSI_PLUGURL ?>images/ajax-loader.gif" class="loader-img" alt="error" />
761
 
762
  <?php $nonce = wp_create_nonce("update_step1"); ?>
763
 
5
  $option1 = maybe_unserialize(get_option('sfsi_section1_options', false));
6
 
7
  /*
8
+ * Sanitize, escape and validate values
9
+ */
10
+
11
+ $option1['sfsi_rss_display'] = isset( $option1['sfsi_rss_display'] ) ? sanitize_text_field( $option1['sfsi_rss_display'] ) : 'yes';
12
+ $option1['sfsi_email_display'] = isset( $option1['sfsi_email_display'] ) ? sanitize_text_field( $option1['sfsi_email_display'] ) : 'yes';
13
+ $option1['sfsi_facebook_display'] = isset( $option1['sfsi_facebook_display'] ) ? sanitize_text_field( $option1['sfsi_facebook_display'] ) : 'yes';
14
+ $option1['sfsi_twitter_display'] = isset( $option1['sfsi_twitter_display'] ) ? sanitize_text_field( $option1['sfsi_twitter_display'] ) : 'yes';
15
+ $option1['sfsi_youtube_display'] = isset( $option1['sfsi_youtube_display'] ) ? sanitize_text_field( $option1['sfsi_youtube_display'] ) : 'no';
16
+ $option1['sfsi_pinterest_display'] = isset( $option1['sfsi_pinterest_display'] ) ? sanitize_text_field( $option1['sfsi_pinterest_display'] ) : 'no';
17
+ $option1['sfsi_telegram_display'] = isset( $option1['sfsi_telegram_display'] ) ? sanitize_text_field( $option1['sfsi_telegram_display'] ) : 'no';
18
+ $option1['sfsi_vk_display'] = isset( $option1['sfsi_vk_display'] ) ? sanitize_text_field( $option1['sfsi_vk_display'] ) : 'no';
19
+ $option1['sfsi_ok_display'] = isset( $option1['sfsi_ok_display'] ) ? sanitize_text_field( $option1['sfsi_ok_display'] ) : 'no';
20
+ $option1['sfsi_wechat_display'] = isset( $option1['sfsi_wechat_display'] ) ? sanitize_text_field( $option1['sfsi_wechat_display'] ) : 'no';
21
+ $option1['sfsi_weibo_display'] = isset( $option1['sfsi_weibo_display'] ) ? sanitize_text_field( $option1['sfsi_weibo_display'] ) : 'no';
22
+ $option1['sfsi_linkedin_display'] = isset( $option1['sfsi_linkedin_display'] ) ? sanitize_text_field( $option1['sfsi_linkedin_display'] ) : 'no';
23
+ $option1['sfsi_instagram_display'] = isset( $option1['sfsi_instagram_display'] ) ? sanitize_text_field( $option1['sfsi_instagram_display'] ) : 'no';
24
+ $option1['sfsi_whatsapp_display'] = isset( $option1['sfsi_whatsapp_display'] ) ? sanitize_text_field( $option1['sfsi_whatsapp_display'] ) : 'no';
25
+ $option1['sfsi_snapchat_display'] = isset( $option1['sfsi_snapchat_display'] ) ? sanitize_text_field( $option1['sfsi_snapchat_display'] ) : 'no';
26
+ $option1['sfsi_reddit_display'] = isset( $option1['sfsi_reddit_display'] ) ? sanitize_text_field( $option1['sfsi_reddit_display'] ) : 'no';
27
+ $option1['sfsi_fbmessenger_display'] = isset( $option1['sfsi_fbmessenger_display'] ) ? sanitize_text_field( $option1['sfsi_fbmessenger_display'] ) : 'no';
28
+ $option1['sfsi_tiktok_display'] = isset( $option1['sfsi_tiktok_display'] ) ? sanitize_text_field( $option1['sfsi_tiktok_display'] ) : 'no';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  ?>
 
30
  <!-- Section 1 "Which icons do you want to show on your site? " main div Start -->
31
 
32
  <div class="tab1">
41
  <li class="gary_bg">
42
 
43
  <div class="radio_section tb_4_ck">
44
+ <input name="sfsi_rss_display" <?php echo ($option1['sfsi_rss_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_rss_display" type="checkbox" value="yes" class="styled" />
45
 
46
  </div>
47
 
66
  <li class="gary_bg">
67
  <div class="radio_section tb_4_ck">
68
 
69
+ <input name="sfsi_email_display" <?php echo ($option1['sfsi_email_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_email_display" type="checkbox" value="yes" class="styled" />
70
 
71
  </div>
72
 
102
 
103
  <li class="gary_bg">
104
 
105
+ <div class="radio_section tb_4_ck"><input name="sfsi_facebook_display" <?php echo ($option1['sfsi_facebook_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_facebook_display" type="checkbox" value="yes" class="styled" /></div>
106
 
107
  <span class="sfsicls_facebook"><?php _e('Facebook','ultimate-social-media-icons') ?></span>
108
 
126
 
127
  <li class="gary_bg">
128
 
129
+ <div class="radio_section tb_4_ck"><input name="sfsi_twitter_display" <?php echo ($option1['sfsi_twitter_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_twitter_display" type="checkbox" value="yes" class="styled" /></div>
130
 
131
  <span class="sfsicls_twt"><?php _e('Twitter','ultimate-social-media-icons') ?></span>
132
 
149
 
150
  <li class="sfsi_vertically_center">
151
  <div>
152
+ <div class="radio_section tb_4_ck"><input name="sfsi_youtube_display" <?php echo ($option1['sfsi_youtube_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_youtube_display" type="checkbox" value="yes" class="styled" /></div>
153
  <span class="sfsicls_utube"><?php _e('Youtube','ultimate-social-media-icons') ?></span>
154
  </div>
155
  <div class="right_info">
162
  <!-- LINKEDIN ICON -->
163
  <li class="sfsi_vertically_center">
164
  <div>
165
+ <div class="radio_section tb_4_ck"><input name="sfsi_linkedin_display" <?php echo ($option1['sfsi_linkedin_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_linkedin_display" type="checkbox" value="yes" class="styled" /></div>
166
 
167
  <span class="sfsicls_linkdin"><?php _e('LinkedIn','ultimate-social-media-icons') ?></span>
168
  </div>
179
  <!-- PINTEREST ICON -->
180
  <li class="sfsi_vertically_center">
181
  <div>
182
+ <div class="radio_section tb_4_ck"><input name="sfsi_pinterest_display" <?php echo ($option1['sfsi_pinterest_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_pinterest_display" type="checkbox" value="yes" class="styled" /></div>
183
 
184
  <span class="sfsicls_pinterest"><?php _e('Pinterest','ultimate-social-media-icons') ?></span>
185
 
197
  <!-- INSTAGRAM ICON -->
198
  <li class="sfsi_vertically_center">
199
  <div>
200
+ <div class="radio_section tb_4_ck"><input name="sfsi_instagram_display" <?php echo ($option1['sfsi_instagram_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_instagram_display" type="checkbox" value="yes" class="styled" /></div>
201
 
202
  <span class="sfsicls_instagram"><?php _e('Instagram','ultimate-social-media-icons') ?></span>
203
 
214
  <!-- WHATSAPP ICON -->
215
  <li class="sfsi_vertically_center">
216
  <div>
217
+ <div class="radio_section tb_4_ck"><input name="sfsi_whatsapp_display" <?php echo ($option1['sfsi_whatsapp_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_whatsapp_display" type="checkbox" value="yes" class="styled" /></div>
218
 
219
  <span class="sfsicls_whatsapp"><?php _e('WhatsApp','ultimate-social-media-icons') ?></span>
220
  </div>
229
  <!-- TELEGRAM ICON -->
230
  <li class="sfsi_vertically_center">
231
  <div>
232
+ <div class="radio_section tb_4_ck"><input name="sfsi_telegram_display" <?php echo ($option1['sfsi_telegram_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_telegram_display" type="checkbox" value="yes" class="styled" /></div>
233
 
234
  <span class="sfsicls_telegram"><?php _e('Telegram','ultimate-social-media-icons') ?></span>
235
 
247
  <!-- VK ICON -->
248
  <li class="sfsi_vertically_center">
249
  <div>
250
+ <div class="radio_section tb_4_ck"><input name="sfsi_vk_display" <?php echo ($option1['sfsi_vk_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_vk_display" type="checkbox" value="yes" class="styled" /></div>
251
 
252
  <span class="sfsicls_vk"><?php _e('VK','ultimate-social-media-icons') ?></span>
253
  </div>
264
  <li class="sfsi_vertically_center">
265
  <div>
266
 
267
+ <div class="radio_section tb_4_ck"><input name="sfsi_ok_display" <?php echo ($option1['sfsi_ok_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_ok_display" type="checkbox" value="yes" class="styled" /></div>
268
 
269
  <span class="sfsicls_ok"><?php _e('Ok','ultimate-social-media-icons') ?></span>
270
 
282
  <!-- WECHAT ICON -->
283
  <li class="sfsi_vertically_center">
284
  <div>
285
+ <div class="radio_section tb_4_ck"><input name="sfsi_wechat_display" <?php echo ($option1['sfsi_wechat_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_wechat_display" type="checkbox" value="yes" class="styled" /></div>
286
 
287
  <span class="sfsicls_wechat"><?php _e('WeChat','ultimate-social-media-icons') ?></span>
288
  </div>
298
  <li class="sfsi_vertically_center">
299
  <div>
300
 
301
+ <div class="radio_section tb_4_ck"><input name="sfsi_weibo_display" <?php echo ($option1['sfsi_weibo_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_weibo_display" type="checkbox" value="yes" class="styled" /></div>
302
 
303
  <span class="sfsicls_weibo"><?php _e('Weibo','ultimate-social-media-icons') ?></span>
304
 
316
  <!-- SNAPCHAT ICON -->
317
  <li class="sfsi_vertically_center">
318
  <div>
319
+ <div class="radio_section tb_4_ck"><input name="sfsi_snapchat_display" <?php echo ($option1['sfsi_snapchat_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_snapchat_display" type="checkbox" value="yes" class="styled" /></div>
320
  <span class="sfsicls_snapchat"><?php _e( 'Snapchat', 'ultimate-social-media-icons' ); ?></span>
321
  </div>
322
  <div class="right_info">
328
  <!-- REDDIT ICON -->
329
  <li class="sfsi_vertically_center">
330
  <div>
331
+ <div class="radio_section tb_4_ck"><input name="sfsi_reddit_display" <?php echo ($option1['sfsi_reddit_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_reddit_display" type="checkbox" value="yes" class="styled" /></div>
332
  <span class="sfsicls_reddit"><?php _e( 'Reddit', 'ultimate-social-media-icons' ); ?></span>
333
  </div>
334
  <div class="right_info">
340
  <!-- FACEBOOK MESSENGER ICON -->
341
  <li class="sfsi_vertically_center">
342
  <div>
343
+ <div class="radio_section tb_4_ck"><input name="sfsi_fbmessenger_display" <?php echo ($option1['sfsi_fbmessenger_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_fbmessenger_display" type="checkbox" value="yes" class="styled" /></div>
344
  <span class="sfsicls_fbmessenger"><?php _e( 'Facebook Messenger', 'ultimate-social-media-icons' ); ?></span>
345
  </div>
346
  <div class="right_info">
352
  <!-- TIKTOK ICON -->
353
  <li class="sfsi_vertically_center">
354
  <div>
355
+ <div class="radio_section tb_4_ck"><input name="sfsi_tiktok_display" <?php echo ($option1['sfsi_tiktok_display'] == 'yes') ? 'checked="true"' : ''; ?> id="sfsi_tiktok_display" type="checkbox" value="yes" class="styled" /></div>
356
  <span class="sfsicls_tiktok"><?php _e( 'TikTok', 'ultimate-social-media-icons' ); ?></span>
357
  </div>
358
  <div class="right_info">
402
  </div>
403
 
404
  <span class="custom-img" style="opacity:0.5">
405
+ <img src="<?php echo SFSI_PLUGURL . 'images/custom.png'; ?>" id="CImg_<?php echo $new_element; ?>" alt="" />
 
406
  </span>
407
 
408
  <span class="custom custom-txt" style="font-weight:normal;opacity:0.5;margin-left:4px"><?php _e('Custom Icon ','ultimate-social-media-icons') ?> </span>
704
 
705
  <div class="save_button tab_1_sav">
706
 
707
+ <img src="<?php echo SFSI_PLUGURL ?>images/ajax-loader.gif" class="loader-img" alt="loader" />
708
 
709
  <?php $nonce = wp_create_nonce("update_step1"); ?>
710
 
views/sfsi_options_view.php CHANGED
@@ -6,7 +6,7 @@
6
 
7
  <!-- javascript error loader -->
8
  <div class="error" id="sfsi_onload_errors" style="margin-left: 60px;display: none;">
9
- <p><?php _e("We found errors in your javascript which may cause the plugin to not work properly. Please fix the error:",'ultimate-social-media-icons') ?></p>
10
  <p id="sfsi_jerrors"></p>
11
  </div> <!-- END javascript error loader -->
12
 
@@ -80,226 +80,65 @@
80
  });
81
  </script>
82
 
83
- <?php
84
- $sfsi_install_date_time = date('Y-m-d H:i:s');
85
- $sfsi_install_time = strtotime(get_option('sfsi_installDate'));
86
- $sfsi_max_show_time = $sfsi_install_time + (120 * 60);
87
- $sfsi_current_date = strtotime(date('Y-m-d h:i:s'));
88
- $sfsi_intro_time_in_minutes = ceil(($sfsi_max_show_time - strtotime(date('Y-m-d h:i:s'))) / 60);
89
- $sfsi_intro_time_in_minutes = $sfsi_intro_time_in_minutes - 1;
90
- ?>
91
  <!-- Top content area of plugin -->
92
  <div class="main_contant">
93
- <?php
94
- $sfsi_new_intro_banner_hide_option = maybe_unserialize(get_option('sfsi_new_intro_banner_hide_option'));
95
- ?>
96
- <div class="sfsi_new_intro pb-4" style="<?php echo ($sfsi_new_intro_banner_hide_option['sfsi_display_section'] == "true") ? 'display:block !important;' : 'display:none!important;'; ?>">
97
- <div class="row justify-content-center">
98
- <div>
99
- <div class="px-2 py-5 sfsi_intro_bg_white sfsi_intro_section">
100
- <div class="text-center">
101
- <h1 style="color:#8A4983;font-family: montserrat-regular; "><b><?php _e("Welcome to the",'ultimate-social-media-icons') ?></b><b style="font-family: montserrat-extrabold "> <?php _e("Ultimate Social Media Plugin!",'ultimate-social-media-icons') ?></b></h1>
102
- </div>
103
- <div class="row py-3">
104
- <div class="col-12 col-md-2 col-lg-2 col-xxl-2 d-lg-flex justify-content-lg-end align-items-center pr-lg-0">
105
- <img src="<?php echo SFSI_PLUGURL . "images/new_intro_icons/get_started.png"; ?>" class="sfsi_intro_images" alt="get started" />
106
- </div>
107
- <div class="col-12 col-md-10 col-lg-10 col-xxl-10 py-lg-2 sfsi_intro_text_section px-sm-4 pl-lg-0">
108
- <div class="font-weight-bold sfsi_intro_sub_heading"><?php _e("Get started:",'ultimate-social-media-icons') ?></div>
109
- <div class="sfsi_intro_sub_text"><?php _e("Simply answer the questions below (at least the first 3) - that's it!",'ultimate-social-media-icons') ?></div>
110
- </div>
111
- </div>
112
- <?php
113
- if (
114
- $sfsi_max_show_time > strtotime(date('Y-m-d h:i:s'))
115
- ) {
116
- ?>
117
- <div class="sfsi_intro_special_discount row py-3">
118
- <div class="col-12 col-md-2 col-lg-2 col-xxl-2 d-lg-flex justify-content-lg-end align-items-center">
119
- <img src="<?php echo SFSI_PLUGURL . "images/new_intro_icons/discount.png"; ?>" class="sfsi_intro_images" alt="discount" />
120
- </div>
121
- <div class="col-12 col-md-10 col-lg-10 col-xxl-10 py-lg-2 sfsi_intro_text_section px-sm-4 pl-lg-0 pr-xl-0 pr-xl-3">
122
- <div class="font-weight-bold sfsi_intro_sub_heading"><?php _e("Special discount:",'ultimate-social-media-icons') ?></div>
123
- <div class="d-lg-flex justify-content-lg-between align-items-lg-start justify-content-xl-between">
124
- <div class="sfsi_intro_sub_text pb-sm-3">
125
- <div><?php _e("For newbies we offer a cool ",'ultimate-social-media-icons') ?><strong class="font-weight-bold sfsi_into_text_bold" style="font-size: 20px;color:black;"><?php _e("30% discount",'ultimate-social-media-icons') ?></strong></div>
126
- <div><?php _e("for the premium plugin which will expire in....",'ultimate-social-media-icons') ?></div>
127
- </div>
128
- <div class="d-flex sfsi_into_time_text_bottom pb-sm-3 pl-xl-3">
129
- <div class="sfsi_into_time_text_bottom_counter">
130
- <div class="sfsi_intro_premium_counter_hours">
131
-
132
- </div>
133
- <span style="margin-left: 4px;"><?php _e("Hours",'ultimate-social-media-icons') ?></span>
134
- </div>
135
- <div class="sfsi_into_time_text_bottom_counter">
136
- <div class="sfsi_intro_premium_counter_min">
137
-
138
- </div>
139
- <span><?php _e("Minutes",'ultimate-social-media-icons') ?></span>
140
- </div>
141
-
142
- <div>
143
- <div class="sfsi_intro_premium_counter_sec">
144
-
145
- </div>
146
- <span><?php _e("Seconds",'ultimate-social-media-icons') ?></span>
147
- </div>
148
-
149
- </div>
150
-
151
- <div>
152
- <div class="sfsi_intro_button ml-xl-3" style="margin-right: -8px;">
153
- <a class="btn btn-sm" href="https://www.ultimatelysocial.com/usm-premium/?withqp=1&discount=NEWINSTALL&utm_source=usmi_global&utm_campaign=new_installs&utm_medium=banner" target="_blank"><?php _e("Get it now >>",'ultimate-social-media-icons') ?></a>
154
- </div>
155
- </div>
156
- </div>
157
- </div>
158
- </div>
159
- <?php
160
- }
161
- ?>
162
- <div class="row py-3">
163
- <div class="col-12 col-md-2 col-lg-2 col-xxl-2 d-lg-flex justify-content-lg-end pr-lg-0">
164
- <img src="<?php echo SFSI_PLUGURL . "images/new_intro_icons/popup.png"; ?>" class="sfsi_intro_images" alt="popup" />
165
- </div>
166
- <div class="col-12 col-md-10 col-lg-10 col-xxl-10 py-lg-2 sfsi_intro_text_section px-sm-4 pl-lg-0 pr-xl-0 pr-xl-2">
167
- <div class="font-weight-bold sfsi_intro_sub_heading"><?php _e("Pop-ups:",'ultimate-social-media-icons') ?></div>
168
- <div class="d-lg-flex justify-content-lg-between justify-content-xl-between">
169
- <div class="sfsi_intro_sub_text pb-sm-3">
170
- <div><?php _e("For all your pop-up needs (to get subscribers, show discount ",'ultimate-social-media-icons') ?></div>
171
- <div><?php _e("codes, cookie notices etc.) we now have a separate service for it:",'ultimate-social-media-icons') ?></div>
172
- </div>
173
- <div>
174
- <div class="sfsi_intro_button ml-xl-3">
175
- <a class="btn btn-lg" href="https://sellcodes.com/s/3NmlIE" target="_blank"><?php _e("Check out MyPopUps >>",'ultimate-social-media-icons') ?></a>
176
- </div>
177
- </div>
178
- </div>
179
- </div>
180
- </div>
181
- <div class="text-center mt-3">
182
- <h4>
183
- <?php $nonce1 = wp_create_nonce("show_intro"); ?>
184
- <span style="font-weight: 600;cursor: pointer;" data-nonce="<?php echo $nonce1; ?>" id="sfsi_intro_btn_ok_got_it_id" class="sfsi_intro_btn_ok_got_it"><?php _e("Ok, Got it",'ultimate-social-media-icons') ?></span>
185
- </h4>
186
- </div>
187
- </div>
188
- </div>
189
- </div>
190
- </div>
191
-
192
- <script>
193
- function pad(d) {
194
- return (d < 10) ? '0' + d.toString() : d.toString();
195
- }
196
- window.countDownDate = <?php echo ($sfsi_max_show_time * 1000) ?>;
197
- window.difference = <?php echo (($sfsi_max_show_time - $sfsi_current_date)*1000) ?>;
198
- //console.log(window.difference)
199
- if( window.difference <= 0){
200
- if(!window.SFSI){
201
- window.SFSI=jQuery;
202
- }
203
- SFSI(".sfsi_intro_special_discount").hide();
204
- }else{
205
- window.countDownStopDate = new Date().getTime() + window.difference;
206
- var sfsi_firsttime_timerId = window.setInterval(function() {
207
- var d = new Date();
208
- var distance = window.countDownStopDate - (new Date().getTime());
209
- var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
210
- var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
211
- var seconds = Math.floor((distance % (1000 * 60)) / 1000);
212
- var counters_hour = document.getElementsByClassName("sfsi_intro_premium_counter_hours");
213
- var counters_sec = document.getElementsByClassName("sfsi_intro_premium_counter_sec");
214
- var counters_min = document.getElementsByClassName("sfsi_intro_premium_counter_min");
215
-
216
- if (counters_min.length > 0) {
217
- var counters_min = counters_min[0];
218
- window.sfsi_intro_time_in_min = pad(minutes);
219
- counters_min.innerText = window.sfsi_intro_time_in_min;
220
- }
221
- if (counters_sec.length > 0) {
222
- var counters_sec = counters_sec[0];
223
- window.sfsi_intro_premium_counter_sec = pad(seconds);
224
- counters_sec.innerText = window.sfsi_intro_premium_counter_sec;
225
- }
226
- if (counters_hour.length > 0) {
227
- var counters_hour = counters_hour[0];
228
- window.sfsi_intro_premium_counter_hours = pad(hours);
229
- counters_hour.innerText = window.sfsi_intro_premium_counter_hours;
230
- }
231
- if (distance < 0) {
232
- SFSI(".sfsi_intro_special_discount").hide();
233
- clearInterval(sfsi_firsttime_timerId);
234
- }
235
- }, 1000);
236
- }
237
-
238
- </script>
239
  <div class="row">
240
- <div class="col-12 col-md-9 col-lg-12 sfsi_intro_section2" style="<?php echo ($sfsi_new_intro_banner_hide_option['sfsi_display_section2'] == "true") ? 'display:block !important;' : 'display:none!important;'; ?>">
241
- <h1 class="d-inline-block"><?php _e("Ultimate Social Media plugin",'ultimate-social-media-icons') ?></h1>
242
- <?php $nonce = wp_create_nonce("hide_intro"); ?>
243
- <span class="sfsi_intro_btn_show_intro text-success-new pl-2" id="sfsi_intro_btn_show_intro_id" data-nonce="<?php echo $nonce; ?>" style="<?php echo ($sfsi_new_intro_banner_hide_option['sfsi_display_section'] == "true") ? 'display:none!important;' : 'display:inline-block !important;'; ?>"><?php _e("Show intro",'ultimate-social-media-icons') ?></span>
244
- <div class="">
245
  <div class="row">
246
- <div class="d-lg-flex col-12 col-lg-4 col-xxl-3 pr-lg-0 ">
247
- <div class='d-table sfsi_intro_bg_white' style='width:100%;height:100%'>
248
- <div class='d-table-row'>
249
- <div class='d-table-cell'>
250
- <a href="https://www.ultimatelysocial.com/usm-premium/?playvideo=1&utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" target="_blank"><img target="_blank" alt="video" src="<?php echo SFSI_PLUGURL; ?>images/sfsi-video-play.png" style='width:100%'></a>
251
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
252
  </div>
253
- </div>
254
- </div>
255
- <div class="col-12 col-lg-5 col-xxl-5 sfsi_intro_bg_xxl_white sfsi_intro_bg_xxl_white_check">
256
- <div class="sfsi_intro_bg_white" style="height: 100%;">
257
- <div class="d-lg-flex align-items-xl-center row" style="height: inherit;">
258
- <div class="col-12 col-xxl-12">
259
- <p class="sfsi-top-banner-higligted-text pr-2 line-h-30" style="border: 1px solid white;line-height: 23px;font-family: 'montserrat-regular';text-align: justify;min-height: 88px;"><?php _e("If you want",'ultimate-social-media-icons') ?>
260
- <span class='font-weight-bold sfsi_intro_sub_heading'><?php _e("more likes & shares",'ultimate-social-media-icons') ?></span><?php _e(", more placement options, better sharing features (eg: define the text and image that gets shared), optimization for mobile,",'ultimate-social-media-icons') ?>
261
- <a target="_blank" href="https://www.ultimatelysocial.com/extra-icon-styles/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" class=" text-success-new" style="font-family: 'montserrat-regular';"><?php _e("more icon design styles,",'ultimate-social-media-icons') ?></a>
262
- <a target="_blank" href="https://www.ultimatelysocial.com/animated-social-media-icons/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" class=" text-success-new " style="font-family:'montserrat-regular'"><?php _e("animated icons,",'ultimate-social-media-icons') ?></a>
263
- <a target="_blank" href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" class=' text-success-new ' style="font-family: 'montserrat-regular';"><?php _e("themed icons,",'ultimate-social-media-icons') ?></a> <?php _e("and",'ultimate-social-media-icons') ?>
264
- <a href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" target="_blank" class=" text-success-new " style="font-family: 'montserrat-regular';"><?php _e("much more",'ultimate-social-media-icons') ?></a><?php _e(", then,",'ultimate-social-media-icons') ?>
265
- <a href="https://www.ultimatelysocial.com/usm-premium/?withqp=1&utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" class="sfsi_intro_sub_heading text-success-new" style="cursor:pointer; text-decoration: none !important;font-weight: bold;" target="_blank">
266
- <?php _e("go premium",'ultimate-social-media-icons') ?></a>.</p>
267
- <div class="col-12 text-center col-xxl-12">
268
- <div class='d-table' style='width:100%;height:100%'>
269
- <div class='d-table-row'>
270
- <div class='d-table-cell align-middle'>
271
- <div>
272
- <a target="_blank" href="https://www.ultimatelysocial.com/usm-premium/?withqp=1&utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" class="btn btn-success-new sfsi_intro_btn_go_premium"><?php _e("Go Premium",'ultimate-social-media-icons') ?></a>
273
- </div>
274
- <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" style="text-decoration: none;color:#414951;font-family: 'montserrat-regular';opacity: 0.7;" target='_blank'><?php _e("Learn more",'ultimate-social-media-icons') ?></a>
275
- </div>
276
  </div>
 
277
  </div>
278
  </div>
279
  </div>
280
  </div>
281
  </div>
282
  </div>
283
- <div class="col-12 col-lg-3 col-xxl-3 d-lg-flex justify-content-lg-center align-items-lg-center">
284
- <div class="d-lg-flex row sfsi_intro_bg_question justify-content-lg-center" style="font-size: 17px;">
285
- <div class="col-12 col-xxl-12" style="min-height: 189px;">
286
- <div class="font-weight-bold sfsi_intro_sub_heading pt-3"><?php _e("Any Questions?",'ultimate-social-media-icons') ?></div>
287
- <div style="font-family:montserrat-medium;line-height: 23px;min-height: 88px;">
288
- <div><?php _e("Just ask us in the support forum",'ultimate-social-media-icons') ?>.</div>
289
- <div class="pr-2"><?php _e("We'll try to respond quickly",'ultimate-social-media-icons') ?> </div>
290
- <div class="pr-2 pb-3"><?php _e("& for free! :)",'ultimate-social-media-icons') ?></div>
291
- </div>
292
- <div class="col-12 text-center px-0 col-xxl-12">
293
- <div class='d-table' style='width:100%;height:100%'>
294
- <div class='d-table-row'>
295
- <div class="d-table-cell align-middle">
296
- <div>
297
- <a target="_blank" href="http://bit.ly/USM_SUPPORT_FORUM" class="btn btn-success sfsi_intro_btn_question"><?php _e("Open a support thread",'ultimate-social-media-icons') ?></a>
298
- </div>
299
- <a href="#" class="sfsi_intro_tooltip" custom-title="Your account on Wordpress.org (where you can give your review) is different to the one you login to your WordPress dashboard (where you are now). If you don’t have a WordPress.org account yet, please sign up at the top right on the Support Forum page, and then scroll down on that page. It only takes a minute :) Thank you!" style="font-size: 13px;text-decoration: none;color:#414951;font-family: 'montserrat-regular';opacity: 0.7;"><?php _e("Trouble logging in there?",'ultimate-social-media-icons') ?></a>
300
- </div>
301
- </div>
302
- </div>
303
  </div>
304
  </div>
305
  </div>
@@ -307,19 +146,39 @@
307
  </div>
308
  </div>
309
  </div>
310
- <div class="col-12 col-md-3 d-lg-none">
311
- <!-- <div style="position:relative;padding-top:56.25%;">
312
- <iframe src="https://video.inchev.com/videos/embed/c952d896-34be-45bc-8142-ba14694c1bd0" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="" style="position:absolute;top:0;left:0;width:100%;height:100%;"></iframe>
313
- </div> -->
314
- <!-- <div class="text-center mt-5">
315
- <div class='sfsi-premium-btn'>
316
- <button class="btn btn-success "><?php _e("Go Premium",'ultimate-social-media-icons') ?></button>
 
 
317
  </div>
318
- <span><?php _e("Learn more",'ultimate-social-media-icons') ?></span>
319
- </div> -->
320
  </div>
321
  </div>
322
- </div><!-- END Top content area of plugin -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
323
 
324
  <!-- step 1 end here -->
325
  <div id="accordion">
@@ -342,7 +201,7 @@
342
 
343
  </div>
344
 
345
- <h2 class="optional">Optional</h2>
346
 
347
  <div id="accordion1">
348
 
@@ -382,7 +241,7 @@
382
 
383
  <img src="<?php echo SFSI_PLUGURL; ?>images/ajax-loader.gif" class="loader-img" alt="error" />
384
 
385
- <a href="javascript:;" id="save_all_settings" title="Save All Settings"><?php _e("Save All Settings",'ultimate-social-media-icons') ?></a>
386
 
387
  </div>
388
  <?php $nonce = wp_create_nonce("sfsi_save_export"); ?>
6
 
7
  <!-- javascript error loader -->
8
  <div class="error" id="sfsi_onload_errors" style="margin-left: 60px;display: none;">
9
+ <p><?php _e( 'We found errors in your javascript which may cause the plugin to not work properly. Please fix the error:', 'ultimate-social-media-icons' ); ?></p>
10
  <p id="sfsi_jerrors"></p>
11
  </div> <!-- END javascript error loader -->
12
 
80
  });
81
  </script>
82
 
 
 
 
 
 
 
 
 
83
  <!-- Top content area of plugin -->
84
  <div class="main_contant">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
  <div class="row">
86
+ <div class="col-7 col-md-9 col-lg-12">
87
+ <h1><?php _e( 'Welcome to the Ultimate Social Icons and Share Plugin!', 'ultimate-social-media-icons' ); ?></h1>
88
+ <div>
 
 
89
  <div class="row">
90
+ <div class="col-12 col-lg-8 col-xxl-10">
91
+ <p class='sfsi-top-header-subheading font-italic'><?php
92
+ printf(
93
+ __( 'Simply answer the questions below %1$s(at least the first 3)%2$s - that`s it!', 'ultimate-social-media-icons' ),
94
+ '<span class="sfsi-top-banner-no-decoration">',
95
+ '</span>'
96
+ );
97
+ ?></p>
98
+ <p><?php
99
+ printf(
100
+ __( 'If you face any issue, please ask in %1$sSupport Forum%2$s. We\'ll try to respond quickly. Thank you!', 'ultimate-social-media-icons' ),
101
+ '<a target="_blank" href="http://bit.ly/USM_SUPPORT_FORUM" class="sfsi-top-banner-no-decoration text-success">',
102
+ '</a>'
103
+ );
104
+ ?></p>
105
+ <div class="d-none d-lg-flex row">
106
+ <div class="col-9 col-xxl-10">
107
+ <p class="sfsi-top-banner-higligted-text"><?php
108
+ printf(
109
+ __( 'If you want %1$smore likes & shares%2$s, more placement options, better sharing features (eg: define the text and image that gets shared), optimization for mobile, %3$smore icon design styles,%4$sanimated icons,%5$sthemed icons,%6$s and %7$smuch more%8$s, then %9$sgo premium%10$s.', 'ultimate-social-media-icons' ),
110
+ '<span class="font-weight-bold font-italic">',
111
+ '</span>',
112
+ '<a target="_blank" href="https://www.ultimatelysocial.com/extra-icon-styles/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" class="font-italic text-success" style="font-family: helvetica-light;">',
113
+ '</a> <a target="_blank" href="https://www.ultimatelysocial.com/animated-social-media-icons/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" class=" text-success font-italic" style="font-family:helvetica-light">',
114
+ '</a> <a target="_blank" href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" class="text-success font-italic" style="font-family: helvetica-light;">',
115
+ '</a>',
116
+ '<a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" target="_blank" class="text-success font-italic" style="font-family: helvetica-light;">',
117
+ '</a>',
118
+ '<a href="https://www.ultimatelysocial.com/usm-premium/?withqp=1&utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" style="cursor:pointer; color: #12a252 !important;border-bottom: 1px solid #12a252;text-decoration: none;font-weight: bold;" target="_blank">',
119
+ '</a>'
120
+ );
121
+ ?></p>
122
  </div>
123
+ <div class="col-3 text-center px-0 col-xxl-2">
124
+ <div class='d-table' style='width:100%;height:100%;'>
125
+ <div class='d-table-row'>
126
+ <div class='d-table-cell align-middle'>
127
+ <div class='sfsi-premium-btn'>
128
+ <a target="_blank" href="https://www.ultimatelysocial.com/usm-premium/?withqp=1&utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" class="btn btn-success" style="font-family:helveticabold;font-size: 17px;text-decoration: none;"><?php _e( 'Go Premium', 'ultimate-social-media-icons' ); ?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  </div>
130
+ <a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" style="text-decoration: none;color:#414951;font-family: helveticaneue-light;" target='_blank'><?php _e( 'Learn More', 'ultimate-social-media-icons' ); ?></a>
131
  </div>
132
  </div>
133
  </div>
134
  </div>
135
  </div>
136
  </div>
137
+ <div class="d-none d-lg-flex col-4 col-lg-4 col-xxl-2">
138
+ <div class='d-table' style='width:100%;height:100%;'>
139
+ <div class='d-table-row'>
140
+ <div class='d-table-cell align-bottom'>
141
+ <a href="https://www.ultimatelysocial.com/usm-premium/?playvideo=1&utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" target="_blank"><img alt="" src="<?php echo SFSI_PLUGURL; ?>images/sfsi-video-play.png" style='width:100%'></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
  </div>
143
  </div>
144
  </div>
146
  </div>
147
  </div>
148
  </div>
149
+ <div class="col-5 col-md-3 d-lg-none">
150
+ <div style="position:relative;padding-top:56.25%;">
151
+ <iframe src="https://video.inchev.com/videos/embed/c952d896-34be-45bc-8142-ba14694c1bd0" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="" style="position:absolute;top:0;left:0;width:100%;height:100%;"></iframe>
152
+ </div>
153
+ <div class="text-center mt-5">
154
+ <div class='sfsi-premium-btn'>
155
+ <button class="btn btn-success "><?php _e( 'Go Premium', 'ultimate-social-media-icons' ); ?></button>
156
+ </div>
157
+ <span><?php _e( 'Learn more', 'ultimate-social-media-icons' ); ?></span>
158
  </div>
 
 
159
  </div>
160
  </div>
161
+ <div class="d-lg-none row">
162
+ <div class="col">
163
+ <p class="sfsi-top-banner-higligted-text"><?php
164
+ printf(
165
+ __( 'If you want %1$smore likes & shares%2$s, more placement options, better sharing features (eg: define the text and image that gets shared), optimization for mobile, %3$smore icon design styles,%4$sanimated icons,%5$sthemed icons,%6$s and %7$smuch more%8$s, then %9$sgo premium%10$s.', 'ultimate-social-media-icons' ),
166
+ '<span class="font-weight-bold font-italic">',
167
+ '</span>',
168
+ '<a target="_blank" href="https://www.ultimatelysocial.com/extra-icon-styles/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" class="font-italic text-success" style="font-family: helvetica-light;">',
169
+ '</a> <a target="_blank" href="https://www.ultimatelysocial.com/animated-social-media-icons/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" class=" text-success font-italic" style="font-family:helvetica-light">',
170
+ '</a> <a target="_blank" href="https://www.ultimatelysocial.com/themed-icons-search/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" class="text-success font-italic" style="font-family: helvetica-light;">',
171
+ '</a>',
172
+ '<a href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" target="_blank" class="text-success font-italic" style="font-family: helvetica-light;">',
173
+ '</a>',
174
+ '<a href="https://www.ultimatelysocial.com/usm-premium/?withqp=1&utm_source=usmi_settings_page&utm_campaign=top_banner&utm_medium=link" style="cursor:pointer; color: #12a252 !important;border-bottom: 1px solid #12a252;text-decoration: none;font-weight: bold;" target="_blank">',
175
+ '</a>'
176
+ );
177
+ ?></p>
178
+ </div>
179
+ </div>
180
+ </div>
181
+ <!-- END Top content area of plugin -->
182
 
183
  <!-- step 1 end here -->
184
  <div id="accordion">
201
 
202
  </div>
203
 
204
+ <h2 class="optional"><?php _e( 'Optional', 'ultimate-social-media-icons' ); ?></h2>
205
 
206
  <div id="accordion1">
207
 
241
 
242
  <img src="<?php echo SFSI_PLUGURL; ?>images/ajax-loader.gif" class="loader-img" alt="error" />
243
 
244
+ <a href="javascript:;" id="save_all_settings" title="Save All Settings"><?php _e( 'Save All Settings', 'ultimate-social-media-icons' ); ?></a>
245
 
246
  </div>
247
  <?php $nonce = wp_create_nonce("sfsi_save_export"); ?>
views/sfsi_section_for_premium.php CHANGED
@@ -1,260 +1,12 @@
1
- <style>
2
- .sfsi-footer-container {
3
- margin: 0 auto;
4
- text-align: center;
5
- width: 75%;
6
- }
7
-
8
- .sfsi-footer-pointing-to-premium-plugin {
9
- float: left;
10
- background: #fff;
11
- padding: 33px 0px;
12
- color: #414951 !important;
13
- }
14
-
15
- .sfsi-footer-pointing-heading {
16
- margin-top: 40px;
17
- text-align: center;
18
- padding-bottom: 15px;
19
- }
20
-
21
- .sfsi-footer-pointing-heading p {
22
- font-size: 23px;
23
- font-weight: 600;
24
- }
25
-
26
- .sfsi-footer-pointing-heading .sfsi-green-heading {
27
- color: #12a252;
28
- }
29
-
30
- .sfsi-footer-pointing-content {
31
- background: #fff;
32
- }
33
-
34
- .sfsi-footer-left-section {
35
- width: 57%;
36
- position: relative;
37
- min-height: 1px;
38
- float: left;
39
- padding-right: 15px;
40
- padding-left: 15px;
41
- margin-left: 15px;
42
- }
43
-
44
- .sfsi-footer-right-section {
45
- width: 34%;
46
- position: relative;
47
- min-height: 1px;
48
- float: left;
49
- padding-right: 15px;
50
- padding-left: 15px;
51
- text-align: center;
52
- }
53
-
54
- .sfsi-equal-col-md-6 {
55
- width: 50%;
56
- position: relative;
57
- min-height: 1px;
58
- float: left;
59
- }
60
-
61
- .sfsi-left-image-section {
62
- width: 52px;
63
- display: inline-block;
64
- text-align: center;
65
- height: 43px;
66
- vertical-align: middle;
67
- }
68
-
69
- .sfsi-li-right-content {
70
- text-align: left;
71
- padding-left: 25px;
72
- font-size: 16px;
73
- font-weight: 600;
74
- vertical-align: middle;
75
- width: calc(100% - 95px);
76
- display: inline-block;
77
- }
78
-
79
- .sfsi-footer-left-section ul li:not(:last-child) {
80
- margin-bottom: 20px;
81
- }
82
-
83
- .sfsi-checkout-premium-plugin-button {
84
- font-size: 18px;
85
- text-align: center;
86
- background: #12a252;
87
- color: #FFF !important;
88
- padding: 11px 30px;
89
- text-decoration: none;
90
- display: inline-block;
91
- margin-top: 15px;
92
- font-weight: 700;
93
- }
94
-
95
- .so-much-more {
96
- float: left;
97
- width: 100%;
98
- text-align: center;
99
- font-size: 17px;
100
- margin-top: 28px !important;
101
- font-weight: 700 !important;
102
- }
103
-
104
- .so-much-more a {
105
- color: #12a252;
106
- }
107
-
108
- .sfsi-footer-bottom-text {
109
- float: left;
110
- width: 99%;
111
- text-align: center;
112
- color: #414951 !important;
113
- padding-top: 15px !important;
114
- }
115
-
116
- .sfsi-footer-bottom-text p {
117
- font-size: 18px;
118
- }
119
-
120
- @media(min-width: 320px) and (max-width: 480px) {
121
- .sfsi-footer-container {
122
- width: 100% !important;
123
- }
124
-
125
- .sfsi-footer-bottom-text {
126
- display: inline-block;
127
- float: left !important;
128
- width: 100% !important;
129
- }
130
- }
131
-
132
- @media (min-width: 320px) and (max-width: 767px) {
133
- .sfsi-equal-col-xs-12 {
134
- width: 100%;
135
- }
136
-
137
- .sfsi-footer-left-section {
138
- width: 76%;
139
- }
140
-
141
- .sfsi-footer-right-section {
142
- width: 88%;
143
- padding-top: 30px;
144
- }
145
-
146
- .sfsi-right-video iframe {
147
- height: 125px;
148
- }
149
-
150
- .sfsi-checkout-premium-plugin-button {
151
- font-size: 16px;
152
- }
153
-
154
- .sfsi-footer-bottom-text {
155
- float: unset !important;
156
- width: 65%;
157
- margin-left: auto;
158
- margin-right: auto;
159
- }
160
- }
161
-
162
- @media(min-width: 768px) and (max-width: 1023px) {
163
- .sfsi-footer-container {
164
- width: 100%;
165
- }
166
-
167
- .sfsi-footer-left-section {
168
- width: 95%;
169
- }
170
-
171
- .sfsi-footer-right-section {
172
- width: 95%;
173
- margin-top: 20px;
174
- }
175
-
176
- .sfsi-footer-pointing-heading p {
177
- font-size: 20px;
178
- }
179
- }
180
-
181
- @media(min-width: 1024px) and (max-width: 1032px) {
182
- .sfsi-footer-container {
183
- width: 100%;
184
- }
185
-
186
- .sfsi-footer-left-section {
187
- width: 56%;
188
- margin-left: 0px !important;
189
- }
190
-
191
- .sfsi-footer-right-section {
192
- width: 34%;
193
- }
194
- }
195
-
196
- @media(min-width: 1033px) and (max-width: 1050px) {
197
- .sfsi-footer-left-section {
198
- width: 56%;
199
- }
200
-
201
- .sfsi-footer-right-section {
202
- width: 35%;
203
- }
204
- }
205
-
206
- @media(min-width: 1051px) and (max-width: 1115px) {
207
- .sfsi-footer-left-section {
208
- width: 52%;
209
- }
210
-
211
- .sfsi-footer-right-section {
212
- width: 39%;
213
- }
214
- }
215
-
216
- @media(min-width: 1116px) and (max-width: 1223px) {
217
- .sfsi-footer-left-section {
218
- width: 52%;
219
- }
220
-
221
- .sfsi-footer-right-section {
222
- width: 40%;
223
- }
224
- }
225
-
226
- @media(min-width: 1224px) and (max-width: 1347px) {
227
- .sfsi-footer-left-section {
228
- width: 50%;
229
- }
230
-
231
- .sfsi-footer-right-section {
232
- width: 43%;
233
- }
234
- }
235
-
236
- @media(min-width: 1348px) and (max-width: 2300px) {
237
- .sfsi-footer-left-section {
238
- width: 51%;
239
- }
240
-
241
- .sfsi-footer-right-section {
242
- width: 40%;
243
- }
244
- }
245
- </style>
246
-
247
  <!-- Footer banner STARTS -->
248
- <!-- <div class="sfsi-footer-pointing-heading">
249
  <p>
250
- <span class="sfsi-green-heading"><?php _e("Like the free plugin?",'ultimate-social-media-icons') ?></span>
251
- <span class="sfsi-black-heading"><?php _e("See what the Premium Plugin has to offer...",'ultimate-social-media-icons') ?></span>
252
  </p>
253
  </div>
254
-
255
- <div class="sfsi-footer-container" style="display: inline-flex;justify-content: center;width: 100% !important;">
256
-
257
- <div class="sfsi-footer-pointing-to-premium-plugin" style="width:75%">
258
  <div class="sfsi-footer-pointing-content clearfix">
259
  <div class="sfsi-footer-left-section">
260
  <div class="row">
@@ -262,34 +14,34 @@
262
  <ul>
263
  <li>
264
  <span class="sfsi-left-image-section">
265
- <img src="<?php echo SFSI_PLUGURL ?>images/footer_banner/more_likes_shares.png" alt='error'>
266
  </span>
267
  <span class="sfsi-li-right-content">
268
- <?php _e("More Likes & Shares",'ultimate-social-media-icons') ?>
269
  </span>
270
  </li>
271
  <li>
272
  <span class="sfsi-left-image-section">
273
- <img src="<?php echo SFSI_PLUGURL ?>images/footer_banner/more_icon_designs.png" alt='error'>
274
  </span>
275
  <span class="sfsi-li-right-content">
276
- <?php _e("More icon designs",'ultimate-social-media-icons') ?>
277
  </span>
278
  </li>
279
  <li>
280
  <span class="sfsi-left-image-section">
281
- <img src="<?php echo SFSI_PLUGURL ?>images/footer_banner/themed_icons.png" alt='error'>
282
  </span>
283
  <span class="sfsi-li-right-content">
284
- <?php _e("Themed icons",'ultimate-social-media-icons') ?>
285
  </span>
286
  </li>
287
  <li>
288
  <span class="sfsi-left-image-section">
289
- <img src="<?php echo SFSI_PLUGURL ?>images/footer_banner/better_icon_placement.png" alt='error'>
290
  </span>
291
  <span class="sfsi-li-right-content">
292
- <?php _e("Better icon placement",'ultimate-social-media-icons') ?>
293
  </span>
294
  </li>
295
  </ul>
@@ -298,34 +50,34 @@
298
  <ul>
299
  <li>
300
  <span class="sfsi-left-image-section">
301
- <img src="<?php echo SFSI_PLUGURL ?>images/footer_banner/mobile_optimization.png" alt='error'>
302
  </span>
303
  <span class="sfsi-li-right-content">
304
- <?php _e("Mobile optimization",'ultimate-social-media-icons') ?>
305
  </span>
306
  </li>
307
  <li>
308
  <span class="sfsi-left-image-section">
309
- <img src="<?php echo SFSI_PLUGURL ?>images/footer_banner/faster_loading.png" alt='error'>
310
  </span>
311
  <span class="sfsi-li-right-content">
312
- <?php _e("Faster loading",'ultimate-social-media-icons') ?>
313
  </span>
314
  </li>
315
  <li>
316
  <span class="sfsi-left-image-section">
317
- <img src="<?php echo SFSI_PLUGURL ?>images/footer_banner/friendly_support.png" alt='error'>
318
  </span>
319
  <span class="sfsi-li-right-content">
320
- <?php _e("Friendly support",'ultimate-social-media-icons') ?>
321
  </span>
322
  </li>
323
  <li>
324
  <span class="sfsi-left-image-section">
325
- <img src="<?php echo SFSI_PLUGURL ?>images/footer_banner/more_platforms.png" alt='error'>
326
  </span>
327
  <span class="sfsi-li-right-content">
328
- <?php _e("More platforms",'ultimate-social-media-icons') ?>
329
  </span>
330
  </li>
331
  </ul>
@@ -333,7 +85,13 @@
333
  </div>
334
  <div class="row">
335
  <div class="col-md-12">
336
- <p class="so-much-more"><?php _e("...and ",'ultimate-social-media-icons') ?><a target="_blank" href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=new_bottom_banner_to_checkout&utm_medium=banner"><?php _e("so much more",'ultimate-social-media-icons') ?></a></p>
 
 
 
 
 
 
337
  </div>
338
  </div>
339
  </div>
@@ -343,7 +101,7 @@
343
  <iframe src="https://video.inchev.com/videos/embed/c952d896-34be-45bc-8142-ba14694c1bd0" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="" style="position:absolute;top:0;left:0;width:100%;height:100%;"></iframe>
344
  </div>
345
  </span>
346
- <a target="_blank" href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=new_bottom_banner_to_checkout&utm_medium=banner" class="sfsi-checkout-premium-plugin-button"><?php _e("Check out the Premium Plugin >>",'ultimate-social-media-icons') ?></a>
347
  </div>
348
  </div>
349
  </div>
@@ -351,107 +109,106 @@
351
  </div>
352
 
353
  <div class="sfsi-footer-bottom-text">
354
- <p>..only 29.98 USD (includes support and updates for six months, and after that it will not be deactivated, so you can just keep using it!)</p>
355
- </div> -->
356
 
357
  <!-- Footer banner CLOSES -->
358
-
359
-
360
- <!-- <div style="clear:both">
361
- <?php // $noncea = wp_create_nonce("sfsi_installDate"); ?>
362
  <label style="font-size: 17px;">Installed date: </label>
363
- <input type="text" name="sfsi_installDate" placeholder="date" value="<?php // echo get_option("sfsi_installDate"); ?>">
364
- <button type="button" id="sfsi_installDate" data-nonce="<?php // echo $noncea; ?>"> click</button>
365
- </div> -->
366
 
367
- <!-- <div style="clear:both">
368
- <?php // $noncec = wp_create_nonce("sfsi_currentDate"); ?>
369
  <label style="font-size: 17px;">Current date: </label>
370
- <input type="text" name="sfsi_currentDate" placeholder="date" value="<?php // echo get_option("sfsi_currentDate"); ?>">
371
- <button type="button" id="sfsi_currentDate" data-nonce="<?php // echo $noncec; ?>"> click</button>
372
- </div> -->
373
- <!-- <div style="clear:both">
374
- <?php // $noncec = wp_create_nonce("sfsi_showNextBannerDate"); ?>
375
  <label style="font-size: 17px;">show next banner in (ex: 1 seconds,1 minute,1 hour,1 day ): </label>
376
- <input type="text" name="sfsi_showNextBannerDate" placeholder="no of days" value="<?php // echo get_option("sfsi_showNextBannerDate"); ?>">
377
- <button type="button" id="sfsi_showNextBannerDate" data-nonce="<?php // echo $noncec; ?>"> click</button>
378
  </div>
379
  <div style="clear:both">
380
- <?php // $noncec = wp_create_nonce("sfsi_cycleDate"); ?>
381
  <label style="font-size: 17px;">Cycle in (ex: 1 seconds,1 minute,1 hour,1 day ): </label>
382
- <input type="text" name="sfsi_cycleDate" placeholder="no of days" value="<?php // echo get_option("sfsi_cycleDate"); ?>">
383
- <button type="button" id="sfsi_cycleDate" data-nonce="<?php // echo $noncec; ?>"> click</button>
384
  </div>
385
  <div style="clear:both">
386
- <?php // $noncec = wp_create_nonce("sfsi_loyaltyDate"); ?>
387
  <label style="font-size: 17px;">Loyalty in (ex: 1 seconds,1 minute,1 hour,1 day ): </label>
388
- <input type="text" name="sfsi_loyaltyDate" placeholder="no of days" value="<?php // echo get_option("sfsi_loyaltyDate"); ?>">
389
- <button type="button" id="sfsi_loyaltyDate" data-nonce="<?php // echo $noncec; ?>"> click</button>
390
  </div>
391
- <?php //
392
- // $sfsi_banner_global_firsttime_offer = maybe_unserialize(get_option('sfsi_banner_global_firsttime_offer', false));
393
- // $sfsi_banner_global_pinterest = maybe_unserialize(get_option('sfsi_banner_global_pinterest', false));
394
- // $sfsi_banner_global_social = maybe_unserialize(get_option('sfsi_banner_global_social', false));
395
- // $sfsi_banner_global_load_faster = maybe_unserialize(get_option('sfsi_banner_global_load_faster', false));
396
- // $sfsi_banner_global_shares = maybe_unserialize(get_option('sfsi_banner_global_shares', false));
397
- // $sfsi_banner_global_gdpr = maybe_unserialize(get_option('sfsi_banner_global_gdpr', false));
398
- // $sfsi_banner_global_http = maybe_unserialize(get_option('sfsi_banner_global_http', false));
399
- // $sfsi_banner_global_upgrade = maybe_unserialize(get_option('sfsi_banner_global_upgrade', false));
400
- ?>-->
401
- <!--
402
  <div style="clear:both">
403
- <?php // $noncef = wp_create_nonce("sfsi_banner_global_firsttime_offer"); ?>
404
  <label style="font-size: 17px;">Dismiss Firsttime offer time:</label>
405
- <input type="text" name="sfsi_banner_global_firsttime_offer" placeholder="date" value="<?php // echo $sfsi_banner_global_firsttime_offer['timestamp'] ?>">
406
- <button type="button" id="sfsi_banner_global_firsttime_offer" data-nonce="<?php // echo $noncef; ?>"style="display: <?php // echo $sfsi_banner_global_firsttime_offer['is_active'] == "yes" ? "inline-block": "none" ?>;"> This banner will appear</button>
407
- </div> -->
408
 
409
- <!--
410
  <div style="clear:both">
411
- <?php // $noncep = wp_create_nonce("sfsi_banner_global_pinterest"); ?>
412
  <label style="font-size: 17px;">Dismiss Pinterest time: </label>
413
- <input type="text" name="sfsi_banner_global_pinterest" placeholder="date" value="<?php // echo $sfsi_banner_global_pinterest['timestamp'] ?>">
414
- <button type="button" id="sfsi_banner_global_pinterest" data-nonce="<?php // echo $noncep; ?>" style="display: <?php // echo $sfsi_banner_global_pinterest['is_active'] == "yes" ? "inline-block": "none" ?>;"> This banner will appear</button>
415
  </div>
416
 
417
  <div style="clear:both">
418
- <?php // $noncem = wp_create_nonce("sfsi_banner_global_social"); ?>
419
  <label style="font-size: 17px;">Dismiss Mobile time: </label>
420
- <input type="text" name="sfsi_banner_global_social" placeholder="date" value="<?php // echo $sfsi_banner_global_social['timestamp'] ?>">
421
- <button type="button" id="sfsi_banner_global_social" data-nonce="<?php // echo $noncem; ?>" style="display: <?php // echo $sfsi_banner_global_social['is_active'] == "yes" ? "inline-block": "none" ?>;"> This banner will appear</button>
422
  </div>
423
 
424
  <div style="clear:both">
425
- <?php // $noncel = wp_create_nonce("sfsi_banner_global_load_faster"); ?>
426
  <label style="font-size: 17px;">Dismiss Load faster time: </label>
427
- <input type="text" name="sfsi_banner_global_load_faster" placeholder="date" value="<?php // echo $sfsi_banner_global_load_faster['timestamp'] ?>">
428
- <button type="button" id="sfsi_banner_global_load_faster" data-nonce="<?php // echo $noncel; ?>" style="display: <?php // echo $sfsi_banner_global_load_faster['is_active'] == "yes" ? "inline-block": "none" ?>;"> This banner will appear</button>
429
  </div>
430
 
431
  <div style="clear:both">
432
- <?php // $nonces = wp_create_nonce("sfsi_banner_global_shares"); ?>
433
  <label style="font-size: 17px;">Dismiss Shares time: </label>
434
- <input type="text" name="sfsi_banner_global_shares" placeholder="date" value="<?php // echo $sfsi_banner_global_shares['timestamp'] ?>">
435
- <button type="button" id="sfsi_banner_global_shares" data-nonce="<?php // echo $nonces; ?>" style="display: <?php // echo $sfsi_banner_global_shares['is_active'] == "yes" ? "inline-block": "none" ?>;"> This banner will appear</button>
436
  </div>
437
 
438
  <div style="clear:both">
439
- <?php // $nonceg = wp_create_nonce("sfsi_banner_global_gdpr"); ?>
440
  <label style="font-size: 17px;">Dismiss Gdpr time: </label>
441
- <input type="text" name="sfsi_banner_global_gdpr" placeholder="date" value="<?php // echo $sfsi_banner_global_gdpr['timestamp'] ?>">
442
- <button type="button" id="sfsi_banner_global_gdpr" data-nonce="<?php // echo $nonceg; ?>" style="display: <?php // echo $sfsi_banner_global_gdpr['is_active'] == "yes" ? "inline-block": "none" ?>;"> This banner will appear</button>
443
  </div>
444
 
445
  <div style="clear:both">
446
- <?php // $nonceh = wp_create_nonce("sfsi_banner_global_http"); ?>
447
  <label style="font-size: 17px;">Dismiss Http time: </label>
448
- <input type="text" name="sfsi_banner_global_http" placeholder="date" value="<?php // echo $sfsi_banner_global_http['timestamp'] ?>">
449
- <button type="button" id="sfsi_banner_global_http" data-nonce="<?php // echo $nonceh; ?>" style="display: <?php // echo $sfsi_banner_global_http['is_active'] == "yes" ? "inline-block": "none" ?>;"> This banner will appear</button>
450
  </div>
451
 
452
  <div style="clear:both">
453
- <?php // $nonceu = wp_create_nonce("sfsi_banner_global_upgrade"); ?>
454
  <label style="font-size: 17px;">Dismiss Loyalty time: </label>
455
- <input type="text" name="sfsi_banner_global_upgrade" placeholder="date" value="<?php // echo $sfsi_banner_global_upgrade['timestamp'] ?>">
456
- <button type="button" id="sfsi_banner_global_upgrade" data-nonce="<?php // echo $nonceu; ?>" style="display: <?php // echo $sfsi_banner_global_upgrade['is_active'] == "yes" ? "inline-block": "none" ?>;"> This banner will appear</button>
457
- </div> -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  <!-- Footer banner STARTS -->
2
+ <div class="sfsi-footer-pointing-heading">
3
  <p>
4
+ <span class="sfsi-green-heading"><?php _e( 'Like the free plugin?', 'ultimate-social-media-icons' ); ?></span>
5
+ <span class="sfsi-black-heading"><?php _e( 'See what the Premium Plugin has to offer...', 'ultimate-social-media-icons' ); ?></span>
6
  </p>
7
  </div>
8
+ <div class="sfsi-footer-container">
9
+ <div class="sfsi-footer-pointing-to-premium-plugin">
 
 
10
  <div class="sfsi-footer-pointing-content clearfix">
11
  <div class="sfsi-footer-left-section">
12
  <div class="row">
14
  <ul>
15
  <li>
16
  <span class="sfsi-left-image-section">
17
+ <img src="<?php echo SFSI_PLUGURL ?>images/footer_banner/more_likes_shares.png" alt="" />
18
  </span>
19
  <span class="sfsi-li-right-content">
20
+ <?php _e( 'More Likes & Shares', 'ultimate-social-media-icons' ); ?>
21
  </span>
22
  </li>
23
  <li>
24
  <span class="sfsi-left-image-section">
25
+ <img src="<?php echo SFSI_PLUGURL ?>images/footer_banner/more_icon_designs.png" alt="" />
26
  </span>
27
  <span class="sfsi-li-right-content">
28
+ <?php _e( 'More icon designs', 'ultimate-social-media-icons' ); ?>
29
  </span>
30
  </li>
31
  <li>
32
  <span class="sfsi-left-image-section">
33
+ <img src="<?php echo SFSI_PLUGURL ?>images/footer_banner/themed_icons.png" alt="" />
34
  </span>
35
  <span class="sfsi-li-right-content">
36
+ <?php _e( 'Themed icons', 'ultimate-social-media-icons' ); ?>
37
  </span>
38
  </li>
39
  <li>
40
  <span class="sfsi-left-image-section">
41
+ <img src="<?php echo SFSI_PLUGURL ?>images/footer_banner/better_icon_placement.png" alt="" />
42
  </span>
43
  <span class="sfsi-li-right-content">
44
+ <?php _e( 'Better icon placement', 'ultimate-social-media-icons' ); ?>
45
  </span>
46
  </li>
47
  </ul>
50
  <ul>
51
  <li>
52
  <span class="sfsi-left-image-section">
53
+ <img src="<?php echo SFSI_PLUGURL ?>images/footer_banner/mobile_optimization.png" alt="" />
54
  </span>
55
  <span class="sfsi-li-right-content">
56
+ <?php _e( 'Mobile optimization', 'ultimate-social-media-icons' ); ?>
57
  </span>
58
  </li>
59
  <li>
60
  <span class="sfsi-left-image-section">
61
+ <img src="<?php echo SFSI_PLUGURL ?>images/footer_banner/faster_loading.png" alt="" />
62
  </span>
63
  <span class="sfsi-li-right-content">
64
+ <?php _e( 'Faster loading', 'ultimate-social-media-icons' ); ?>
65
  </span>
66
  </li>
67
  <li>
68
  <span class="sfsi-left-image-section">
69
+ <img src="<?php echo SFSI_PLUGURL ?>images/footer_banner/friendly_support.png" alt="" />
70
  </span>
71
  <span class="sfsi-li-right-content">
72
+ <?php _e( 'Friendly support', 'ultimate-social-media-icons' ); ?>
73
  </span>
74
  </li>
75
  <li>
76
  <span class="sfsi-left-image-section">
77
+ <img src="<?php echo SFSI_PLUGURL ?>images/footer_banner/more_platforms.png" alt="" />
78
  </span>
79
  <span class="sfsi-li-right-content">
80
+ <?php _e( 'More platforms', 'ultimate-social-media-icons' ); ?>
81
  </span>
82
  </li>
83
  </ul>
85
  </div>
86
  <div class="row">
87
  <div class="col-md-12">
88
+ <p class='so-much-more'><?php
89
+ printf(
90
+ __( '...and %1$sso much more%2$s', 'ultimate-social-media-icons' ),
91
+ '<a target="_blank" href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=new_bottom_banner_to_checkout&utm_medium=banner">',
92
+ '</a>'
93
+ );
94
+ ?></p>
95
  </div>
96
  </div>
97
  </div>
101
  <iframe src="https://video.inchev.com/videos/embed/c952d896-34be-45bc-8142-ba14694c1bd0" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="" style="position:absolute;top:0;left:0;width:100%;height:100%;"></iframe>
102
  </div>
103
  </span>
104
+ <a target="_blank" href="https://www.ultimatelysocial.com/usm-premium/?utm_source=usmi_settings_page&utm_campaign=new_bottom_banner_to_checkout&utm_medium=banner" class="sfsi-checkout-premium-plugin-button"><?php _e( 'Check out the Premium Plugin >>', 'ultimate-social-media-icons' ); ?></a>
105
  </div>
106
  </div>
107
  </div>
109
  </div>
110
 
111
  <div class="sfsi-footer-bottom-text">
112
+ <p><?php _e( '..only 29.98 USD (includes support and updates for six months, and after that it will not be deactivated, so you can just keep using it!)', 'ultimate-social-media-icons' ); ?></p>
113
+ </div>
114
 
115
  <!-- Footer banner CLOSES -->
116
+ <?php /* ?>
117
+ <div style="clear:both">
118
+ <?php $noncea = wp_create_nonce("sfsi_installDate"); ?>
 
119
  <label style="font-size: 17px;">Installed date: </label>
120
+ <input type="text" name="sfsi_installDate" placeholder="date" value="<?php echo get_option("sfsi_installDate"); ?>">
121
+ <button type="button" id="sfsi_installDate" data-nonce="<?php echo $noncea; ?>"> click</button>
122
+ </div>
123
 
124
+ <div style="clear:both">
125
+ <?php $noncec = wp_create_nonce("sfsi_currentDate"); ?>
126
  <label style="font-size: 17px;">Current date: </label>
127
+ <input type="text" name="sfsi_currentDate" placeholder="date" value="<?php echo get_option("sfsi_currentDate"); ?>">
128
+ <button type="button" id="sfsi_currentDate" data-nonce="<?php echo $noncec; ?>"> click</button>
129
+ </div>
130
+ <div style="clear:both">
131
+ <?php $noncec = wp_create_nonce("sfsi_showNextBannerDate"); ?>
132
  <label style="font-size: 17px;">show next banner in (ex: 1 seconds,1 minute,1 hour,1 day ): </label>
133
+ <input type="text" name="sfsi_showNextBannerDate" placeholder="no of days" value="<?php echo get_option("sfsi_showNextBannerDate"); ?>">
134
+ <button type="button" id="sfsi_showNextBannerDate" data-nonce="<?php echo $noncec; ?>"> click</button>
135
  </div>
136
  <div style="clear:both">
137
+ <?php $noncec = wp_create_nonce("sfsi_cycleDate"); ?>
138
  <label style="font-size: 17px;">Cycle in (ex: 1 seconds,1 minute,1 hour,1 day ): </label>
139
+ <input type="text" name="sfsi_cycleDate" placeholder="no of days" value="<?php echo get_option("sfsi_cycleDate"); ?>">
140
+ <button type="button" id="sfsi_cycleDate" data-nonce="<?php echo $noncec; ?>"> click</button>
141
  </div>
142
  <div style="clear:both">
143
+ <?php $noncec = wp_create_nonce("sfsi_loyaltyDate"); ?>
144
  <label style="font-size: 17px;">Loyalty in (ex: 1 seconds,1 minute,1 hour,1 day ): </label>
145
+ <input type="text" name="sfsi_loyaltyDate" placeholder="no of days" value="<?php echo get_option("sfsi_loyaltyDate"); ?>">
146
+ <button type="button" id="sfsi_loyaltyDate" data-nonce="<?php echo $noncec; ?>"> click</button>
147
  </div>
148
+ <?php
149
+ $sfsi_banner_global_firsttime_offer = maybe_unserialize(get_option('sfsi_banner_global_firsttime_offer', false));
150
+ $sfsi_banner_global_pinterest = maybe_unserialize(get_option('sfsi_banner_global_pinterest', false));
151
+ $sfsi_banner_global_social = maybe_unserialize(get_option('sfsi_banner_global_social', false));
152
+ $sfsi_banner_global_load_faster = maybe_unserialize(get_option('sfsi_banner_global_load_faster', false));
153
+ $sfsi_banner_global_shares = maybe_unserialize(get_option('sfsi_banner_global_shares', false));
154
+ $sfsi_banner_global_gdpr = maybe_unserialize(get_option('sfsi_banner_global_gdpr', false));
155
+ $sfsi_banner_global_http = maybe_unserialize(get_option('sfsi_banner_global_http', false));
156
+ $sfsi_banner_global_upgrade = maybe_unserialize(get_option('sfsi_banner_global_upgrade', false));
157
+ ?>
158
+
159
  <div style="clear:both">
160
+ <?php $noncef = wp_create_nonce("sfsi_banner_global_firsttime_offer"); ?>
161
  <label style="font-size: 17px;">Dismiss Firsttime offer time:</label>
162
+ <input type="text" name="sfsi_banner_global_firsttime_offer" placeholder="date" value="<?php echo $sfsi_banner_global_firsttime_offer['timestamp'] ?>">
163
+ <button type="button" id="sfsi_banner_global_firsttime_offer" data-nonce="<?php echo $noncef; ?>"style="display: <?php echo $sfsi_banner_global_firsttime_offer['is_active'] == "yes" ? "inline-block": "none" ?>;"> This banner will appear</button>
164
+ </div>
165
 
 
166
  <div style="clear:both">
167
+ <?php $noncep = wp_create_nonce("sfsi_banner_global_pinterest"); ?>
168
  <label style="font-size: 17px;">Dismiss Pinterest time: </label>
169
+ <input type="text" name="sfsi_banner_global_pinterest" placeholder="date" value="<?php echo $sfsi_banner_global_pinterest['timestamp'] ?>">
170
+ <button type="button" id="sfsi_banner_global_pinterest" data-nonce="<?php echo $noncep; ?>" style="display: <?php echo $sfsi_banner_global_pinterest['is_active'] == "yes" ? "inline-block": "none" ?>;"> This banner will appear</button>
171
  </div>
172
 
173
  <div style="clear:both">
174
+ <?php $noncem = wp_create_nonce("sfsi_banner_global_social"); ?>
175
  <label style="font-size: 17px;">Dismiss Mobile time: </label>
176
+ <input type="text" name="sfsi_banner_global_social" placeholder="date" value="<?php echo $sfsi_banner_global_social['timestamp'] ?>">
177
+ <button type="button" id="sfsi_banner_global_social" data-nonce="<?php echo $noncem; ?>" style="display: <?php echo $sfsi_banner_global_social['is_active'] == "yes" ? "inline-block": "none" ?>;"> This banner will appear</button>
178
  </div>
179
 
180
  <div style="clear:both">
181
+ <?php $noncel = wp_create_nonce("sfsi_banner_global_load_faster"); ?>
182
  <label style="font-size: 17px;">Dismiss Load faster time: </label>
183
+ <input type="text" name="sfsi_banner_global_load_faster" placeholder="date" value="<?php echo $sfsi_banner_global_load_faster['timestamp'] ?>">
184
+ <button type="button" id="sfsi_banner_global_load_faster" data-nonce="<?php echo $noncel; ?>" style="display: <?php echo $sfsi_banner_global_load_faster['is_active'] == "yes" ? "inline-block": "none" ?>;"> This banner will appear</button>
185
  </div>
186
 
187
  <div style="clear:both">
188
+ <?php $nonces = wp_create_nonce("sfsi_banner_global_shares"); ?>
189
  <label style="font-size: 17px;">Dismiss Shares time: </label>
190
+ <input type="text" name="sfsi_banner_global_shares" placeholder="date" value="<?php echo $sfsi_banner_global_shares['timestamp'] ?>">
191
+ <button type="button" id="sfsi_banner_global_shares" data-nonce="<?php echo $nonces; ?>" style="display: <?php echo $sfsi_banner_global_shares['is_active'] == "yes" ? "inline-block": "none" ?>;"> This banner will appear</button>
192
  </div>
193
 
194
  <div style="clear:both">
195
+ <?php $nonceg = wp_create_nonce("sfsi_banner_global_gdpr"); ?>
196
  <label style="font-size: 17px;">Dismiss Gdpr time: </label>
197
+ <input type="text" name="sfsi_banner_global_gdpr" placeholder="date" value="<?php echo $sfsi_banner_global_gdpr['timestamp'] ?>">
198
+ <button type="button" id="sfsi_banner_global_gdpr" data-nonce="<?php echo $nonceg; ?>" style="display: <?php echo $sfsi_banner_global_gdpr['is_active'] == "yes" ? "inline-block": "none" ?>;"> This banner will appear</button>
199
  </div>
200
 
201
  <div style="clear:both">
202
+ <?php $nonceh = wp_create_nonce("sfsi_banner_global_http"); ?>
203
  <label style="font-size: 17px;">Dismiss Http time: </label>
204
+ <input type="text" name="sfsi_banner_global_http" placeholder="date" value="<?php echo $sfsi_banner_global_http['timestamp'] ?>">
205
+ <button type="button" id="sfsi_banner_global_http" data-nonce="<?php echo $nonceh; ?>" style="display: <?php echo $sfsi_banner_global_http['is_active'] == "yes" ? "inline-block": "none" ?>;"> This banner will appear</button>
206
  </div>
207
 
208
  <div style="clear:both">
209
+ <?php $nonceu = wp_create_nonce("sfsi_banner_global_upgrade"); ?>
210
  <label style="font-size: 17px;">Dismiss Loyalty time: </label>
211
+ <input type="text" name="sfsi_banner_global_upgrade" placeholder="date" value="<?php echo $sfsi_banner_global_upgrade['timestamp'] ?>">
212
+ <button type="button" id="sfsi_banner_global_upgrade" data-nonce="<?php echo $nonceu; ?>" style="display: <?php echo $sfsi_banner_global_upgrade['is_active'] == "yes" ? "inline-block": "none" ?>;"> This banner will appear</button>
213
+ </div>
214
+ <?php */